@joeyshi12/casper 0.7.2 → 0.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (405) hide show
  1. package/dist/server.js +1 -1
  2. package/dist/web/assets/{abap-DsBKuouk.js → abap-jokb6lkK.js} +1 -1
  3. package/dist/web/assets/{abnfDiagram-N423BO3Z-BntXFWDC.js → abnfDiagram-N423BO3Z-5RMwP9tv.js} +1 -1
  4. package/dist/web/assets/{actionscript-3-D_z4Izcz.js → actionscript-3-BXYeDGJT.js} +1 -1
  5. package/dist/web/assets/{ada-727ZlQH0.js → ada-CBhgZKLz.js} +1 -1
  6. package/dist/web/assets/andromeeda-C6FuwQ60.js +1 -0
  7. package/dist/web/assets/{angular-html-LfdN0zeE.js → angular-html-1hX26BPZ.js} +1 -1
  8. package/dist/web/assets/angular-ts-NOFjJDBC.js +1 -0
  9. package/dist/web/assets/{apache-Dn00JSTd.js → apache-DZWQkMCk.js} +1 -1
  10. package/dist/web/assets/{apex-COJ4H7py.js → apex-yOx7_f90.js} +1 -1
  11. package/dist/web/assets/{apl-BBq3IX1j.js → apl-COek7QEF.js} +1 -1
  12. package/dist/web/assets/{applescript-Bu5BbsvL.js → applescript-DK6hSn4y.js} +1 -1
  13. package/dist/web/assets/{ara-7O62HKoU.js → ara-NyGvP6OL.js} +1 -1
  14. package/dist/web/assets/arc-DEuUsPX5.js +1 -0
  15. package/dist/web/assets/architectureDiagram-T3A2C74G-k4h0zktw.js +36 -0
  16. package/dist/web/assets/{asciidoc-BPT9niGB.js → asciidoc-DDMctdp3.js} +1 -1
  17. package/dist/web/assets/{asm-Dhn9LcZ4.js → asm-C-s1ZrQ8.js} +1 -1
  18. package/dist/web/assets/{astro-CqkE3fuf.js → astro-CNP7wUB9.js} +1 -1
  19. package/dist/web/assets/aurora-x-C0VKFdlO.js +1 -0
  20. package/dist/web/assets/{awk-eg146-Ew.js → awk-DUctW4RQ.js} +1 -1
  21. package/dist/web/assets/ayu-dark-_V__kATy.js +1 -0
  22. package/dist/web/assets/{ballerina-Du268qiB.js → ballerina-DCDyHuU_.js} +1 -1
  23. package/dist/web/assets/{bat-fje9CFhw.js → bat-CYJ1VtZ8.js} +1 -1
  24. package/dist/web/assets/{beancount-BwXTMy5W.js → beancount-DXz1TR4C.js} +1 -1
  25. package/dist/web/assets/{berry-3xVqZejG.js → berry-DSxfSjpQ.js} +1 -1
  26. package/dist/web/assets/{bibtex-xW4inM5L.js → bibtex-D3osIjO9.js} +1 -1
  27. package/dist/web/assets/{bicep-DHo0CJ0O.js → bicep-BJtoMy_l.js} +1 -1
  28. package/dist/web/assets/{blade-a8OxSdnT.js → blade-BrTmz5zY.js} +1 -1
  29. package/dist/web/assets/{blockDiagram-VBNYF7ZC-Brv9Aqj6.js → blockDiagram-VBNYF7ZC-qTl9ZS2k.js} +1 -1
  30. package/dist/web/assets/{bsl-Dgyn0ogV.js → bsl-BOq_oGzx.js} +1 -1
  31. package/dist/web/assets/{c-C3t2pwGQ.js → c-C7geQHiD.js} +1 -1
  32. package/dist/web/assets/{c4Diagram-5PPSVZJV-CsCCridM.js → c4Diagram-5PPSVZJV-R6o_zt-Q.js} +1 -1
  33. package/dist/web/assets/{cadence-DNquZEk8.js → cadence-B8exyrQ2.js} +1 -1
  34. package/dist/web/assets/{cairo--RitsXJZ.js → cairo-CvnV_g6b.js} +1 -1
  35. package/dist/web/assets/catppuccin-frappe-7hveN6gg.js +1 -0
  36. package/dist/web/assets/catppuccin-latte-CDftU3M4.js +1 -0
  37. package/dist/web/assets/catppuccin-macchiato-DVaPwPDs.js +1 -0
  38. package/dist/web/assets/catppuccin-mocha-CYOEdfgP.js +1 -0
  39. package/dist/web/assets/channel-BQC-40u0.js +1 -0
  40. package/dist/web/assets/{chunk-2GRJ4B5K-D_ANB_P2.js → chunk-2GRJ4B5K-CrJyVfhF.js} +1 -1
  41. package/dist/web/assets/{chunk-2Q5K7J3B-DW22WjpO.js → chunk-2Q5K7J3B-BvGurkBq.js} +1 -1
  42. package/dist/web/assets/{chunk-5RXB4S5H-wtOenker.js → chunk-5RXB4S5H-DuE267ol.js} +3 -3
  43. package/dist/web/assets/{chunk-5VM5RSS4-D1yDtOMG.js → chunk-5VM5RSS4-DAVY20oh.js} +1 -1
  44. package/dist/web/assets/{chunk-6Q2QTUOP-Bk0pf9ER.js → chunk-6Q2QTUOP-DvkSg8Wl.js} +3 -3
  45. package/dist/web/assets/{chunk-GF5L2VYU-DsdtNU_v.js → chunk-GF5L2VYU-B8KQ7FAJ.js} +1 -1
  46. package/dist/web/assets/{chunk-JWPE2WC7--SnlIo8Q.js → chunk-JWPE2WC7-D2J6xFCq.js} +1 -1
  47. package/dist/web/assets/{chunk-KBJHAD2P-DtWSCQMb.js → chunk-KBJHAD2P-BfgGkRN_.js} +1 -1
  48. package/dist/web/assets/{chunk-RYQCIY6F-Du4c_cV1.js → chunk-RYQCIY6F-C0uby4vT.js} +1 -1
  49. package/dist/web/assets/{chunk-XXDRQBXY-DZ8cNm58.js → chunk-XXDRQBXY-BAZLB2J1.js} +1 -1
  50. package/dist/web/assets/{clarity-BHOwM8T6.js → clarity-BspLniIr.js} +1 -1
  51. package/dist/web/assets/classDiagram-JCYQIIEL-9L45zm4i.js +1 -0
  52. package/dist/web/assets/classDiagram-v2-OCEON4UE-9L45zm4i.js +1 -0
  53. package/dist/web/assets/{clojure-DxSadP1t.js → clojure-TcMZRJXX.js} +1 -1
  54. package/dist/web/assets/{cmake-DbXoA79R.js → cmake-Cq1xYuce.js} +1 -1
  55. package/dist/web/assets/{cobol-PTqiYgYu.js → cobol-DQNJTdu9.js} +1 -1
  56. package/dist/web/assets/{codeowners-Bp6g37R7.js → codeowners-CtwIM3TN.js} +1 -1
  57. package/dist/web/assets/{codeql-sacFqUAJ.js → codeql-Dfnujan1.js} +1 -1
  58. package/dist/web/assets/{coffee-dyiR41kL.js → coffee-CvgfVqck.js} +1 -1
  59. package/dist/web/assets/{common-lisp-C7gG9l05.js → common-lisp-DdDwuCTO.js} +1 -1
  60. package/dist/web/assets/{coq-Dsg_Bt_b.js → coq-xi22SHg_.js} +1 -1
  61. package/dist/web/assets/{cose-bilkent-JH36ORCC-9Wf3tO4_.js → cose-bilkent-JH36ORCC-8FFjV-r2.js} +1 -1
  62. package/dist/web/assets/{cpp-BksuvNSY.js → cpp-CZnLxZIX.js} +1 -1
  63. package/dist/web/assets/{crystal-DtDmRg-F.js → crystal-DtOJ9C4F.js} +1 -1
  64. package/dist/web/assets/{csharp-D9R-vmeu.js → csharp-D5GhjuXM.js} +1 -1
  65. package/dist/web/assets/{css-BPhBrDlE.js → css-DsSsXWQB.js} +1 -1
  66. package/dist/web/assets/{csv-B0qRVHPH.js → csv-CXMJgpSL.js} +1 -1
  67. package/dist/web/assets/{cue-DtFQj3wx.js → cue-usmCabPr.js} +1 -1
  68. package/dist/web/assets/{cynefin-VYW2F7L2-DR-DJAgB.js → cynefin-VYW2F7L2-CDT1GZi_.js} +1 -1
  69. package/dist/web/assets/{cynefinDiagram-MW4NZA55-BN8dtb3y.js → cynefinDiagram-MW4NZA55-DMs5fXGJ.js} +2 -2
  70. package/dist/web/assets/{cypher-m2LEI-9-.js → cypher-CrL00TIU.js} +1 -1
  71. package/dist/web/assets/{d-BoXegm-a.js → d-CFhQIz9L.js} +1 -1
  72. package/dist/web/assets/{dagre-VZM6K2ZE-bEGuwESr.js → dagre-VZM6K2ZE-BUgnrG7T.js} +1 -1
  73. package/dist/web/assets/dark-plus-DLU5INA3.js +1 -0
  74. package/dist/web/assets/{dart-B9wLZaAG.js → dart-DMtosjLs.js} +1 -1
  75. package/dist/web/assets/{dax-ClGRhx96.js → dax-vckHzldx.js} +1 -1
  76. package/dist/web/assets/{desktop-DEIpsLCJ.js → desktop-B6eBibaS.js} +1 -1
  77. package/dist/web/assets/{diagram-7IWD3JNH-DY3RlWAl.js → diagram-7IWD3JNH-DUJeTMJj.js} +3 -3
  78. package/dist/web/assets/{diagram-B4RE2ZJO-P-8DDSKD.js → diagram-B4RE2ZJO-BsVTn5rU.js} +3 -3
  79. package/dist/web/assets/{diagram-LBJQPF4R-COyMwTD5.js → diagram-LBJQPF4R--uxNHPeF.js} +2 -2
  80. package/dist/web/assets/{diagram-Q27KOJAE-C9-App7G.js → diagram-Q27KOJAE-GYAROo1s.js} +1 -1
  81. package/dist/web/assets/{diagram-UB23O5K3-D5hjqgyv.js → diagram-UB23O5K3-CpJvxU_K.js} +1 -1
  82. package/dist/web/assets/{diff-BgYniUM_.js → diff-DSVZyKbn.js} +1 -1
  83. package/dist/web/assets/{docker-COcR7UxN.js → docker-CVy4PnLq.js} +1 -1
  84. package/dist/web/assets/{dotenv-BjQB5zDj.js → dotenv-Wk8gXVAW.js} +1 -1
  85. package/dist/web/assets/dracula-XcYHBZy6.js +1 -0
  86. package/dist/web/assets/dracula-soft-BPeX9gxW.js +1 -0
  87. package/dist/web/assets/{dream-maker-C-nORZOA.js → dream-maker-DSOBmQ4T.js} +1 -1
  88. package/dist/web/assets/{ebnfDiagram-BXEA7PRR-Cf_WxbBp.js → ebnfDiagram-BXEA7PRR-l3iEqoSP.js} +1 -1
  89. package/dist/web/assets/{edge-D5gP-w-T.js → edge-DV1oJ-z-.js} +1 -1
  90. package/dist/web/assets/{elixir-CLiX3zqd.js → elixir-BAy7E9hx.js} +1 -1
  91. package/dist/web/assets/{elm-CmHSxxaM.js → elm-DI0HhLqI.js} +1 -1
  92. package/dist/web/assets/{emacs-lisp-BX77sIaO.js → emacs-lisp-CNyc7xnE.js} +1 -1
  93. package/dist/web/assets/{erDiagram-JOGREHBK-BLpPP0gJ.js → erDiagram-JOGREHBK-BoFHrs3B.js} +5 -5
  94. package/dist/web/assets/{erb-BYTLMnw6.js → erb-C2MyKaut.js} +1 -1
  95. package/dist/web/assets/{erlang-B-DoSBHF.js → erlang-qdDNB3kS.js} +1 -1
  96. package/dist/web/assets/everforest-dark-WOub3wle.js +1 -0
  97. package/dist/web/assets/everforest-light-DCUg8VH8.js +1 -0
  98. package/dist/web/assets/{fennel-bCA53EVm.js → fennel-C169Wmtk.js} +1 -1
  99. package/dist/web/assets/{fish-w-ucz2PV.js → fish-DdzwuySR.js} +1 -1
  100. package/dist/web/assets/{flowDiagram-UKHOOZJN-M3Qk_Suq.js → flowDiagram-UKHOOZJN-CXMq4-uD.js} +10 -10
  101. package/dist/web/assets/{fluent-Dayu4EKP.js → fluent-e88iTpwM.js} +1 -1
  102. package/dist/web/assets/{fortran-fixed-form-TqA4NnZg.js → fortran-fixed-form-DOoUYCKo.js} +1 -1
  103. package/dist/web/assets/{fortran-free-form-DKXYxT9g.js → fortran-free-form-entkArVT.js} +1 -1
  104. package/dist/web/assets/{fsharp-XplgxFYe.js → fsharp-BnQYn4eh.js} +1 -1
  105. package/dist/web/assets/{ganttDiagram-PKOTCBZU-CngEKyD4.js → ganttDiagram-PKOTCBZU-YMv8lvSL.js} +1 -1
  106. package/dist/web/assets/{gdresource-BHYsBjWJ.js → gdresource-BBYl1svN.js} +1 -1
  107. package/dist/web/assets/{gdscript-DfxzS6Rs.js → gdscript-CN9EyWwI.js} +1 -1
  108. package/dist/web/assets/{gdshader-SKMF96pI.js → gdshader-Bs2FnG4i.js} +1 -1
  109. package/dist/web/assets/{genie-ajMbGru0.js → genie-LZ41QQzG.js} +1 -1
  110. package/dist/web/assets/{gherkin--30QC5Em.js → gherkin-DdFu5Ka3.js} +1 -1
  111. package/dist/web/assets/{git-commit-i4q6IMui.js → git-commit-C_Fd7mZn.js} +1 -1
  112. package/dist/web/assets/{git-rebase-B-v9cOL2.js → git-rebase-AtJUntN1.js} +1 -1
  113. package/dist/web/assets/{gitGraphDiagram-DS77QQ5N-DWTBtgDc.js → gitGraphDiagram-DS77QQ5N-BgrfufCE.js} +7 -7
  114. package/dist/web/assets/github-dark-BQV5ugrc.js +1 -0
  115. package/dist/web/assets/github-dark-default-DLWDM7FH.js +1 -0
  116. package/dist/web/assets/github-dark-dimmed-D1FmiR_p.js +1 -0
  117. package/dist/web/assets/github-dark-high-contrast-BilLoi0o.js +1 -0
  118. package/dist/web/assets/github-light-Rcb2q3L5.js +1 -0
  119. package/dist/web/assets/github-light-default-CQ75esMw.js +1 -0
  120. package/dist/web/assets/github-light-high-contrast-CRF1wyLy.js +1 -0
  121. package/dist/web/assets/{gleam-B430Bg39.js → gleam-Cuj-GTDu.js} +1 -1
  122. package/dist/web/assets/{glimmer-js-D-cwc0-E.js → glimmer-js-CQwQIxfr.js} +1 -1
  123. package/dist/web/assets/{glimmer-ts-pgjy16dm.js → glimmer-ts-DzkKMqPs.js} +1 -1
  124. package/dist/web/assets/{glsl-DBO2IWDn.js → glsl-B5tAdZD8.js} +1 -1
  125. package/dist/web/assets/{gnuplot-CM8KxXT1.js → gnuplot-CZzrWc6Z.js} +1 -1
  126. package/dist/web/assets/{go-B1SYOhNW.js → go-CAz2AAgI.js} +1 -1
  127. package/dist/web/assets/{graphql-cDcHW_If.js → graphql-CsbcjAOe.js} +1 -1
  128. package/dist/web/assets/{groovy-DkBy-JyN.js → groovy-BHAqdEGB.js} +1 -1
  129. package/dist/web/assets/{hack-D1yCygmZ.js → hack-D_TkyKTp.js} +1 -1
  130. package/dist/web/assets/{haml-B2EZWmdv.js → haml-BsJe1mlH.js} +1 -1
  131. package/dist/web/assets/{handlebars-BQGss363.js → handlebars-DzHj2frt.js} +1 -1
  132. package/dist/web/assets/{haskell-BILxekzW.js → haskell-DBZShPJZ.js} +1 -1
  133. package/dist/web/assets/{haxe-C5wWYbrZ.js → haxe-BnfKaULB.js} +1 -1
  134. package/dist/web/assets/{hcl-HzYwdGDm.js → hcl-DG6oviwm.js} +1 -1
  135. package/dist/web/assets/highlightWorker-DJp1Ce5p.js +1 -0
  136. package/dist/web/assets/{hjson-T-Tgc4AT.js → hjson-9x786Szp.js} +1 -1
  137. package/dist/web/assets/{hlsl-ifBTmRxC.js → hlsl-BIjXBe-u.js} +1 -1
  138. package/dist/web/assets/houston-RHIKkNfR.js +1 -0
  139. package/dist/web/assets/{html-C2L_23MC.js → html-BfEhAfys.js} +1 -1
  140. package/dist/web/assets/{html-derivative-CSfWNPLT.js → html-derivative-khQn7CEq.js} +1 -1
  141. package/dist/web/assets/{http-FRrOvY1W.js → http-CkaUdRI6.js} +1 -1
  142. package/dist/web/assets/{hxml-TIA70rKU.js → hxml-DEEAihpB.js} +1 -1
  143. package/dist/web/assets/{hy-BMj5Y0dO.js → hy-BhTqYOi9.js} +1 -1
  144. package/dist/web/assets/{imba-bv_oIlVt.js → imba-BN90XemW.js} +1 -1
  145. package/dist/web/assets/index-D7QnyK89.css +1 -0
  146. package/dist/web/assets/index-IBYN7wml.js +353 -0
  147. package/dist/web/assets/index-t_Fnpkbb.js +12 -0
  148. package/dist/web/assets/{infoDiagram-6WML65LV-BStJJxiK.js → infoDiagram-6WML65LV-DMpqFKuC.js} +1 -1
  149. package/dist/web/assets/{ini-BjABl1g7.js → ini-CNYq1Vbh.js} +1 -1
  150. package/dist/web/assets/{ishikawaDiagram-WSZJBQD7-CxPNb82h.js → ishikawaDiagram-WSZJBQD7-BKdkzZXu.js} +4 -4
  151. package/dist/web/assets/{java-xI-RfyKK.js → java-BOuFdpVK.js} +1 -1
  152. package/dist/web/assets/{javascript-ySlJ1b_l.js → javascript-C1WZzX5w.js} +1 -1
  153. package/dist/web/assets/jinja-CPlEC2oM.js +1 -0
  154. package/dist/web/assets/{jison-BqZprYcd.js → jison-_WNGvU9Z.js} +1 -1
  155. package/dist/web/assets/{journeyDiagram-NVQOT4AX-DI2FdYe2.js → journeyDiagram-NVQOT4AX-NPjJ9Fq8.js} +1 -1
  156. package/dist/web/assets/{json-BQoSv7ci.js → json-CG0XIpmU.js} +1 -1
  157. package/dist/web/assets/{json5-w8dY5SsB.js → json5-wmRZLYNM.js} +1 -1
  158. package/dist/web/assets/{jsonc-TU54ms6u.js → jsonc-CJ5AVGwp.js} +1 -1
  159. package/dist/web/assets/{jsonl-DREVFZK8.js → jsonl-BZ9Ocixn.js} +1 -1
  160. package/dist/web/assets/{jsonnet-BfivnA6A.js → jsonnet-C1k_anf1.js} +1 -1
  161. package/dist/web/assets/{jssm-P4WzXJd0.js → jssm-DPmvb5V-.js} +1 -1
  162. package/dist/web/assets/{jsx-BAng5TT0.js → jsx-CKOz0mFu.js} +1 -1
  163. package/dist/web/assets/{julia-BBuGR-5E.js → julia-C-s-RWKo.js} +1 -1
  164. package/dist/web/assets/kanagawa-dragon-BOvIHJVT.js +1 -0
  165. package/dist/web/assets/kanagawa-lotus-Bwcd7Bvx.js +1 -0
  166. package/dist/web/assets/kanagawa-wave-0SAlpf0s.js +1 -0
  167. package/dist/web/assets/{kanban-definition-27J2QSJJ-DdrpquL_.js → kanban-definition-27J2QSJJ-MSVfDvXb.js} +8 -8
  168. package/dist/web/assets/{kotlin-B5lbUyaz.js → kotlin-DCv8F5Dl.js} +1 -1
  169. package/dist/web/assets/{kusto-mebxcVVE.js → kusto-BzMM2K9O.js} +1 -1
  170. package/dist/web/assets/laserwave-si7wuSrt.js +1 -0
  171. package/dist/web/assets/{latex-C-cWTeAZ.js → latex-C6cEKF_r.js} +1 -1
  172. package/dist/web/assets/{lean-XBlWyCtg.js → lean-DlZiO-DR.js} +1 -1
  173. package/dist/web/assets/{less-BfCpw3nA.js → less-DPX9Q-iF.js} +1 -1
  174. package/dist/web/assets/light-plus-g_Fi9vkG.js +1 -0
  175. package/dist/web/assets/{linear-CClJBsYj.js → linear-Bugxdj26.js} +1 -1
  176. package/dist/web/assets/{liquid-D3W5UaiH.js → liquid-BKbSSNuo.js} +1 -1
  177. package/dist/web/assets/{log-Cc5clBb7.js → log-DlRS7YvK.js} +1 -1
  178. package/dist/web/assets/{logo-IuBKFhSY.js → logo-VN04mNZ6.js} +1 -1
  179. package/dist/web/assets/{lua-CvWAzNxB.js → lua-DanyZPH_.js} +1 -1
  180. package/dist/web/assets/{luau-Du5NY7AG.js → luau-D93ufwnm.js} +1 -1
  181. package/dist/web/assets/{make-Bvotw-X0.js → make-CL8frSFP.js} +1 -1
  182. package/dist/web/assets/{markdown-UIAJJxZW.js → markdown-ByrpALUI.js} +1 -1
  183. package/dist/web/assets/{marko-z0MBrx5-.js → marko-DRSg2OrD.js} +1 -1
  184. package/dist/web/assets/material-theme-CIJ3cGaW.js +1 -0
  185. package/dist/web/assets/material-theme-darker-BWg3m1GB.js +1 -0
  186. package/dist/web/assets/material-theme-lighter-DR8HWMN7.js +1 -0
  187. package/dist/web/assets/material-theme-ocean-CZf9pk28.js +1 -0
  188. package/dist/web/assets/material-theme-palenight-BF01YeZy.js +1 -0
  189. package/dist/web/assets/{matlab-D9-PGadD.js → matlab-BHcro1_y.js} +1 -1
  190. package/dist/web/assets/{mdc-DB_EDNY_.js → mdc-CVTKaK9l.js} +1 -1
  191. package/dist/web/assets/{mdx-sdHcTMYB.js → mdx-CCTQUHLn.js} +1 -1
  192. package/dist/web/assets/{mermaid-Ci6OQyBP.js → mermaid-QUEeqX1B.js} +1 -1
  193. package/dist/web/assets/{mermaid.core-ONfBNVRk.js → mermaid.core-BrC5_l7I.js} +6 -6
  194. package/dist/web/assets/min-dark-DhfaepVE.js +1 -0
  195. package/dist/web/assets/min-light-6xx0uMgm.js +1 -0
  196. package/dist/web/assets/{mindmap-definition-FAOFIHXS-CBQ7h3OO.js → mindmap-definition-FAOFIHXS-yB60YQKy.js} +3 -3
  197. package/dist/web/assets/{mipsasm-BC5c_5Pe.js → mipsasm-q9X1oIjH.js} +1 -1
  198. package/dist/web/assets/{mojo-Tz6hzZYG.js → mojo-XjOS2v-j.js} +1 -1
  199. package/dist/web/assets/monokai-BodnsaDQ.js +1 -0
  200. package/dist/web/assets/{move-DB_GagMm.js → move-BX9wJykM.js} +1 -1
  201. package/dist/web/assets/{narrat-DLbgOhZU.js → narrat-BIAE-JNJ.js} +1 -1
  202. package/dist/web/assets/{nextflow-B0XVJmRM.js → nextflow-C3Zpn0NH.js} +1 -1
  203. package/dist/web/assets/{nginx-D_VnBJ67.js → nginx-K8be3xw8.js} +1 -1
  204. package/dist/web/assets/night-owl-EdP2Hztp.js +1 -0
  205. package/dist/web/assets/{nim-ZlGxZxc3.js → nim-BXrdZEnW.js} +1 -1
  206. package/dist/web/assets/{nix-shcSOmrb.js → nix-BJFrXuto.js} +1 -1
  207. package/dist/web/assets/nord-BAu0wM6c.js +1 -0
  208. package/dist/web/assets/{nushell-D4Tzg5kh.js → nushell-DEgT14oF.js} +1 -1
  209. package/dist/web/assets/{objective-c-Deuh7S70.js → objective-c-CYCTDIQP.js} +1 -1
  210. package/dist/web/assets/{objective-cpp-BUEGK8hf.js → objective-cpp-CAecc67Z.js} +1 -1
  211. package/dist/web/assets/{ocaml-BNioltXt.js → ocaml-Bsxv_Kxh.js} +1 -1
  212. package/dist/web/assets/one-dark-pro-BsKIA8GN.js +1 -0
  213. package/dist/web/assets/one-light-s-s--efq.js +1 -0
  214. package/dist/web/assets/{pascal-JqZropPD.js → pascal-BDJShKAI.js} +1 -1
  215. package/dist/web/assets/{pegDiagram-VL7TDLO6-Buje72cq.js → pegDiagram-VL7TDLO6-BfdGiZwB.js} +1 -1
  216. package/dist/web/assets/{perl-CHQXSrWU.js → perl-C2vWUXWi.js} +1 -1
  217. package/dist/web/assets/{php-B5ebYQev.js → php-DK-qQ6uC.js} +1 -1
  218. package/dist/web/assets/pieDiagram-7S7Q4E2Y-BuJwU-QQ.js +39 -0
  219. package/dist/web/assets/plastic-CXnNNlFZ.js +1 -0
  220. package/dist/web/assets/{plsql-LKU2TuZ1.js → plsql-B9Xnh5qb.js} +1 -1
  221. package/dist/web/assets/{po-BFLt1xDp.js → po-DMjhmVbd.js} +1 -1
  222. package/dist/web/assets/poimandres-BrOVMvuE.js +1 -0
  223. package/dist/web/assets/{polar-DKykz6zU.js → polar-yYtLLj-r.js} +1 -1
  224. package/dist/web/assets/{postcss-B3ZDOciz.js → postcss-CJ1yqXqD.js} +1 -1
  225. package/dist/web/assets/{powerquery-CSHBycmS.js → powerquery-DC5VyW2x.js} +1 -1
  226. package/dist/web/assets/{powershell-BIEUsx6d.js → powershell-EzVS97da.js} +1 -1
  227. package/dist/web/assets/{prisma-B48N-Iqd.js → prisma-CHOHSoLN.js} +1 -1
  228. package/dist/web/assets/{prolog-BY-TUvya.js → prolog-DwYUCN91.js} +1 -1
  229. package/dist/web/assets/{proto-zocC4JxJ.js → proto-62gbbcWM.js} +1 -1
  230. package/dist/web/assets/{pug-CM9l7STV.js → pug-CkZF2A-M.js} +1 -1
  231. package/dist/web/assets/{puppet-Cza_XSSt.js → puppet-DBtA4RyP.js} +1 -1
  232. package/dist/web/assets/{purescript-Bg-kzb6g.js → purescript-CtNtlKn6.js} +1 -1
  233. package/dist/web/assets/{python-DhUJRlN_.js → python-Cmxmv3et.js} +1 -1
  234. package/dist/web/assets/{qml-D8XfuvdV.js → qml-Bp5NUdYD.js} +1 -1
  235. package/dist/web/assets/{qmldir-C8lEn-DE.js → qmldir-DXd9s5XC.js} +1 -1
  236. package/dist/web/assets/{qss-DhMKtDLN.js → qss-COHgjnFa.js} +1 -1
  237. package/dist/web/assets/{quadrantDiagram-CIZ2JOQS-DfjvRhwZ.js → quadrantDiagram-CIZ2JOQS-DvYy4rS6.js} +1 -1
  238. package/dist/web/assets/{r-CwjWoCRV.js → r-fEWCeYop.js} +1 -1
  239. package/dist/web/assets/{racket-CzouJOBO.js → racket-DeqZVGhA.js} +1 -1
  240. package/dist/web/assets/{railroadDiagram-AXF67PYL-CLC53cPk.js → railroadDiagram-AXF67PYL-D0Slzbqv.js} +1 -1
  241. package/dist/web/assets/{raku-B1bQXN8T.js → raku-2Ooz0w2a.js} +1 -1
  242. package/dist/web/assets/{razor-CNLDkMZG.js → razor-BSfiIh5a.js} +1 -1
  243. package/dist/web/assets/red-DR6ZwibK.js +1 -0
  244. package/dist/web/assets/{reg-5LuOXUq_.js → reg-B-dYDP6y.js} +1 -1
  245. package/dist/web/assets/{regexp-DWJ3fJO_.js → regexp-CZXE-O4g.js} +1 -1
  246. package/dist/web/assets/{rel-DJlmqQ1C.js → rel-CFc0GWi_.js} +1 -1
  247. package/dist/web/assets/{requirementDiagram-LRYGKXZP-Bh0xhzbL.js → requirementDiagram-LRYGKXZP-O1O4JCzu.js} +3 -3
  248. package/dist/web/assets/{riscv-QhoSD0DR.js → riscv-BXk1R-Oi.js} +1 -1
  249. package/dist/web/assets/rose-pine-BdvZjiDe.js +1 -0
  250. package/dist/web/assets/rose-pine-dawn-C0sjdsEC.js +1 -0
  251. package/dist/web/assets/rose-pine-moon-DYFWp_hT.js +1 -0
  252. package/dist/web/assets/{rst-4NLicBqY.js → rst-BLGbJK1H.js} +1 -1
  253. package/dist/web/assets/{ruby-DeZ3UC14.js → ruby-D2E7iJ0s.js} +1 -1
  254. package/dist/web/assets/{rust-Be6lgOlo.js → rust-BsY_F5cx.js} +1 -1
  255. package/dist/web/assets/{sankeyDiagram-W5VNT64P-KSOJwFOV.js → sankeyDiagram-W5VNT64P-WTewsL_K.js} +2 -2
  256. package/dist/web/assets/{sas-BmTFh92c.js → sas-DMLSfKIw.js} +1 -1
  257. package/dist/web/assets/{sass-BJ4Li9vH.js → sass-DmSX4WtY.js} +1 -1
  258. package/dist/web/assets/{scala-DQVVAn-B.js → scala-DYeJBAW8.js} +1 -1
  259. package/dist/web/assets/{scheme-BJGe-b2p.js → scheme-CCAsyj2s.js} +1 -1
  260. package/dist/web/assets/{scss-C31hgJw-.js → scss-0gJUc9a6.js} +1 -1
  261. package/dist/web/assets/{sdbl-BLhTXw86.js → sdbl-BxOweiR9.js} +1 -1
  262. package/dist/web/assets/{sequenceDiagram-SI44F4Z6-Brj5mw1M.js → sequenceDiagram-SI44F4Z6-BUoBi4kR.js} +4 -4
  263. package/dist/web/assets/{shaderlab-B7qAK45m.js → shaderlab-CbagduOQ.js} +1 -1
  264. package/dist/web/assets/{shellscript-atvbtKCR.js → shellscript-D3bMYZAJ.js} +1 -1
  265. package/dist/web/assets/{shellsession-C_rIy8kc.js → shellsession-BPnHQqN9.js} +1 -1
  266. package/dist/web/assets/{sizeCapture-X5ZJPWSS-CH05wdHR.js → sizeCapture-X5ZJPWSS-BV9d3RVn.js} +1 -1
  267. package/dist/web/assets/slack-dark-CWRQmTmo.js +1 -0
  268. package/dist/web/assets/slack-ochin-DO_ok7XK.js +1 -0
  269. package/dist/web/assets/{smalltalk-DkLiglaE.js → smalltalk-BMwf8jcw.js} +1 -1
  270. package/dist/web/assets/snazzy-light-B5llO_gK.js +1 -0
  271. package/dist/web/assets/solarized-dark-G9yBjKj_.js +1 -0
  272. package/dist/web/assets/solarized-light-DeSzljQz.js +1 -0
  273. package/dist/web/assets/{solidity-C1w2a3ep.js → solidity-BxZpkxtV.js} +1 -1
  274. package/dist/web/assets/{soy-C-lX7w71.js → soy-BtgE62v-.js} +1 -1
  275. package/dist/web/assets/{sparql-bYkjHRlG.js → sparql-_iLxUxfJ.js} +1 -1
  276. package/dist/web/assets/{splunk-Cf8iN4DR.js → splunk-CDXNg1TZ.js} +1 -1
  277. package/dist/web/assets/{sql-COK4E0Yg.js → sql-DWijR-2F.js} +1 -1
  278. package/dist/web/assets/{ssh-config-BknIz3MU.js → ssh-config-D_LcGZIn.js} +1 -1
  279. package/dist/web/assets/{stata-DorPZHa4.js → stata-4mZtT6ij.js} +1 -1
  280. package/dist/web/assets/stateDiagram-OKZ733FA-BqdAeMq4.js +1 -0
  281. package/dist/web/assets/stateDiagram-v2-UEYNNEHI-DQeB4eKD.js +1 -0
  282. package/dist/web/assets/{stylus-BeQkCIfX.js → stylus-DrmVbdhX.js} +1 -1
  283. package/dist/web/assets/{svelte-MSaWC3Je.js → svelte-ka6mjOzI.js} +1 -1
  284. package/dist/web/assets/{swift-BSxZ-RaX.js → swift-DkIjBhB-.js} +1 -1
  285. package/dist/web/assets/{swimlanes-SLNWSIFB-ELf6gJKu.js → swimlanes-SLNWSIFB-Dn0Z0yF4.js} +2 -2
  286. package/dist/web/assets/swimlanesDiagram-ULZ7WXOC-Dl6pHbTK.js +8 -0
  287. package/dist/web/assets/synthwave-84-DRVv-_m_.js +1 -0
  288. package/dist/web/assets/{system-verilog-C7L56vO4.js → system-verilog-CZLUg-Ri.js} +1 -1
  289. package/dist/web/assets/{systemd-CUnW07Te.js → systemd-BuJkd4yg.js} +1 -1
  290. package/dist/web/assets/{talonscript-C1XDQQGZ.js → talonscript-BMPZxVzx.js} +1 -1
  291. package/dist/web/assets/{tasl-CQjiPCtT.js → tasl-DVVRcRkA.js} +1 -1
  292. package/dist/web/assets/{tcl-DQ1-QYvQ.js → tcl-CA1YyYjY.js} +1 -1
  293. package/dist/web/assets/{templ-dwX3ZSMB.js → templ-bd1y3IAS.js} +1 -1
  294. package/dist/web/assets/{terraform-BbSNqyBO.js → terraform-Dz7t1_iL.js} +1 -1
  295. package/dist/web/assets/{tex-rYs2v40G.js → tex-Bvf-FxBj.js} +1 -1
  296. package/dist/web/assets/{timeline-definition-Z64GVDOM-DeaTiF-8.js → timeline-definition-Z64GVDOM-RXIqWmas.js} +3 -3
  297. package/dist/web/assets/tokyo-night-BpPvklgd.js +1 -0
  298. package/dist/web/assets/{toml-CB2ApiWb.js → toml-CghlGpNM.js} +1 -1
  299. package/dist/web/assets/ts-tags-27UfV0Yx.js +1 -0
  300. package/dist/web/assets/{tsv-B_m7g4N7.js → tsv-BFtm7NXx.js} +1 -1
  301. package/dist/web/assets/{tsx-B6W0miNI.js → tsx-CvLnrXoc.js} +1 -1
  302. package/dist/web/assets/{turtle-BMR_PYu6.js → turtle-CLj0zYni.js} +1 -1
  303. package/dist/web/assets/{twig-NC5TFiHP.js → twig-BEYz8PCZ.js} +1 -1
  304. package/dist/web/assets/{typescript-Dj6nwHGl.js → typescript-ChR4GJfA.js} +1 -1
  305. package/dist/web/assets/{typespec-BpWG_bgh.js → typespec-BsO-HK2h.js} +1 -1
  306. package/dist/web/assets/{typst-BVUVsWT6.js → typst-C9z_G1G3.js} +1 -1
  307. package/dist/web/assets/{v-CAQ2eGtk.js → v-UOp3PMQa.js} +1 -1
  308. package/dist/web/assets/{vala-BFOHcciG.js → vala-9t0Jazjg.js} +1 -1
  309. package/dist/web/assets/{vb-CdO5JTpU.js → vb-BjPFQNKy.js} +1 -1
  310. package/dist/web/assets/{vennDiagram-T6HMQDX7-B_pKKDwZ.js → vennDiagram-T6HMQDX7-Djv2Kody.js} +4 -4
  311. package/dist/web/assets/{verilog-CJaU5se_.js → verilog-3_G7wE-H.js} +1 -1
  312. package/dist/web/assets/vesper-DXVBNDlZ.js +1 -0
  313. package/dist/web/assets/{vhdl-DYoNaHQp.js → vhdl-KKKa5jXK.js} +1 -1
  314. package/dist/web/assets/{viml-m4uW47V2.js → viml-B0JfLneA.js} +1 -1
  315. package/dist/web/assets/vitesse-black-B_BYPdvp.js +1 -0
  316. package/dist/web/assets/vitesse-dark-DOSOf2Sz.js +1 -0
  317. package/dist/web/assets/vitesse-light-gUX51GpB.js +1 -0
  318. package/dist/web/assets/vue-Bvh4pc9M.js +1 -0
  319. package/dist/web/assets/{vue-html-xdeiXROB.js → vue-html-WOs3W6Bt.js} +1 -1
  320. package/dist/web/assets/{vyper-nyqBNV6O.js → vyper-CDIMwK9O.js} +1 -1
  321. package/dist/web/assets/{wardleyDiagram-T6FBY63Y-jLsFKv0C.js → wardleyDiagram-T6FBY63Y-k8z1iXMI.js} +1 -1
  322. package/dist/web/assets/{wasm-C6j12Q_x.js → wasm-DnnIR_xd.js} +1 -1
  323. package/dist/web/assets/{wenyan-7A4Fjokl.js → wenyan-BKvj6Muf.js} +1 -1
  324. package/dist/web/assets/{wgsl-CB0Krxn9.js → wgsl-DQkNTPT4.js} +1 -1
  325. package/dist/web/assets/{wikitext-DCE3LsBG.js → wikitext-Bx_2Gb24.js} +1 -1
  326. package/dist/web/assets/{wolfram-C3FkfJm5.js → wolfram-CfjDyZMz.js} +1 -1
  327. package/dist/web/assets/{xml-e3z08dGr.js → xml-D2mywr7C.js} +1 -1
  328. package/dist/web/assets/{xsl-Dd0NUgwM.js → xsl-BazRubtb.js} +1 -1
  329. package/dist/web/assets/{xychartDiagram-ELKLHX3M-BA6zkq4L.js → xychartDiagram-ELKLHX3M-DBRaiGnz.js} +1 -1
  330. package/dist/web/assets/{yaml-CVw76BM1.js → yaml-CcrPW8Jr.js} +1 -1
  331. package/dist/web/assets/{zenscript-HnGAYVZD.js → zenscript-C_cgpljH.js} +1 -1
  332. package/dist/web/assets/{zig-BVz_zdnA.js → zig-2aGeTlGI.js} +1 -1
  333. package/dist/web/index.html +2 -2
  334. package/dist/web/sw.js +1 -1
  335. package/package.json +1 -1
  336. package/dist/web/assets/andromeeda-C3khCPGq.js +0 -1
  337. package/dist/web/assets/angular-ts-CKsD7JZE.js +0 -1
  338. package/dist/web/assets/arc-PxLvJSnb.js +0 -1
  339. package/dist/web/assets/architectureDiagram-T3A2C74G-C3W7640R.js +0 -36
  340. package/dist/web/assets/aurora-x-D-2ljcwZ.js +0 -1
  341. package/dist/web/assets/ayu-dark-Cv9koXgw.js +0 -1
  342. package/dist/web/assets/catppuccin-frappe-CD_QflpE.js +0 -1
  343. package/dist/web/assets/catppuccin-latte-DRW-0cLl.js +0 -1
  344. package/dist/web/assets/catppuccin-macchiato-C-_shW-Y.js +0 -1
  345. package/dist/web/assets/catppuccin-mocha-LGGdnPYs.js +0 -1
  346. package/dist/web/assets/channel-BIucJZnb.js +0 -1
  347. package/dist/web/assets/classDiagram-JCYQIIEL-BGlLKBgl.js +0 -1
  348. package/dist/web/assets/classDiagram-v2-OCEON4UE-BGlLKBgl.js +0 -1
  349. package/dist/web/assets/dark-plus-C3mMm8J8.js +0 -1
  350. package/dist/web/assets/dracula-BzJJZx-M.js +0 -1
  351. package/dist/web/assets/dracula-soft-BXkSAIEj.js +0 -1
  352. package/dist/web/assets/everforest-dark-BgDCqdQA.js +0 -1
  353. package/dist/web/assets/everforest-light-C8M2exoo.js +0 -1
  354. package/dist/web/assets/github-dark-DHJKELXO.js +0 -1
  355. package/dist/web/assets/github-dark-default-Cuk6v7N8.js +0 -1
  356. package/dist/web/assets/github-dark-dimmed-DH5Ifo-i.js +0 -1
  357. package/dist/web/assets/github-dark-high-contrast-E3gJ1_iC.js +0 -1
  358. package/dist/web/assets/github-light-DAi9KRSo.js +0 -1
  359. package/dist/web/assets/github-light-default-D7oLnXFd.js +0 -1
  360. package/dist/web/assets/github-light-high-contrast-BfjtVDDH.js +0 -1
  361. package/dist/web/assets/houston-DnULxvSX.js +0 -1
  362. package/dist/web/assets/index-BHQqzlI6.js +0 -13
  363. package/dist/web/assets/index-BL8L2yQv.css +0 -1
  364. package/dist/web/assets/index-ouQFVkG-.js +0 -342
  365. package/dist/web/assets/jinja-DGy0s7-h.js +0 -1
  366. package/dist/web/assets/kanagawa-dragon-CkXjmgJE.js +0 -1
  367. package/dist/web/assets/kanagawa-lotus-CfQXZHmo.js +0 -1
  368. package/dist/web/assets/kanagawa-wave-DWedfzmr.js +0 -1
  369. package/dist/web/assets/laserwave-DUszq2jm.js +0 -1
  370. package/dist/web/assets/light-plus-B7mTdjB0.js +0 -1
  371. package/dist/web/assets/material-theme-D5KoaKCx.js +0 -1
  372. package/dist/web/assets/material-theme-darker-BfHTSMKl.js +0 -1
  373. package/dist/web/assets/material-theme-lighter-B0m2ddpp.js +0 -1
  374. package/dist/web/assets/material-theme-ocean-CyktbL80.js +0 -1
  375. package/dist/web/assets/material-theme-palenight-Csfq5Kiy.js +0 -1
  376. package/dist/web/assets/min-dark-CafNBF8u.js +0 -1
  377. package/dist/web/assets/min-light-CTRr51gU.js +0 -1
  378. package/dist/web/assets/monokai-D4h5O-jR.js +0 -1
  379. package/dist/web/assets/night-owl-C39BiMTA.js +0 -1
  380. package/dist/web/assets/nord-Ddv68eIx.js +0 -1
  381. package/dist/web/assets/one-dark-pro-GBQ2dnAY.js +0 -1
  382. package/dist/web/assets/one-light-PoHY5YXO.js +0 -1
  383. package/dist/web/assets/pieDiagram-7S7Q4E2Y-DNQc-yHW.js +0 -39
  384. package/dist/web/assets/plastic-3e1v2bzS.js +0 -1
  385. package/dist/web/assets/poimandres-CS3Unz2-.js +0 -1
  386. package/dist/web/assets/red-bN70gL4F.js +0 -1
  387. package/dist/web/assets/rose-pine-CmCqftbK.js +0 -1
  388. package/dist/web/assets/rose-pine-dawn-Ds-gbosJ.js +0 -1
  389. package/dist/web/assets/rose-pine-moon-CjDtw9vr.js +0 -1
  390. package/dist/web/assets/slack-dark-BthQWCQV.js +0 -1
  391. package/dist/web/assets/slack-ochin-DqwNpetd.js +0 -1
  392. package/dist/web/assets/snazzy-light-Bw305WKR.js +0 -1
  393. package/dist/web/assets/solarized-dark-DXbdFlpD.js +0 -1
  394. package/dist/web/assets/solarized-light-L9t79GZl.js +0 -1
  395. package/dist/web/assets/stateDiagram-OKZ733FA-B9AFHzH-.js +0 -1
  396. package/dist/web/assets/stateDiagram-v2-UEYNNEHI-DXjkPo3z.js +0 -1
  397. package/dist/web/assets/swimlanesDiagram-ULZ7WXOC-uM2fmMPE.js +0 -8
  398. package/dist/web/assets/synthwave-84-CbfX1IO0.js +0 -1
  399. package/dist/web/assets/tokyo-night-DBQeEorK.js +0 -1
  400. package/dist/web/assets/ts-tags-CipyTH0X.js +0 -1
  401. package/dist/web/assets/vesper-BEBZ7ncR.js +0 -1
  402. package/dist/web/assets/vitesse-black-Bkuqu6BP.js +0 -1
  403. package/dist/web/assets/vitesse-dark-D0r3Knsf.js +0 -1
  404. package/dist/web/assets/vitesse-light-CVO1_9PV.js +0 -1
  405. package/dist/web/assets/vue-BuYVFjOK.js +0 -1
@@ -1,342 +0,0 @@
1
- var F5=Object.defineProperty;var O5=(e,t,n)=>t in e?F5(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var $r=(e,t,n)=>O5(e,typeof t!="symbol"?t+"":t,n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))i(a);new MutationObserver(a=>{for(const s of a)if(s.type==="childList")for(const u of s.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&i(u)}).observe(document,{childList:!0,subtree:!0});function n(a){const s={};return a.integrity&&(s.integrity=a.integrity),a.referrerPolicy&&(s.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?s.credentials="include":a.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function i(a){if(a.ep)return;a.ep=!0;const s=n(a);fetch(a.href,s)}})();function Dc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var hu={exports:{}},ra={},fu={exports:{}},Ve={};/**
2
- * @license React
3
- * react.production.min.js
4
- *
5
- * Copyright (c) Facebook, Inc. and its affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */var rd;function B5(){if(rd)return Ve;rd=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),p=Symbol.iterator;function k(L){return L===null||typeof L!="object"?null:(L=p&&L[p]||L["@@iterator"],typeof L=="function"?L:null)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E=Object.assign,z={};function j(L,G,A){this.props=L,this.context=G,this.refs=z,this.updater=A||b}j.prototype.isReactComponent={},j.prototype.setState=function(L,G){if(typeof L!="object"&&typeof L!="function"&&L!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,L,G,"setState")},j.prototype.forceUpdate=function(L){this.updater.enqueueForceUpdate(this,L,"forceUpdate")};function M(){}M.prototype=j.prototype;function R(L,G,A){this.props=L,this.context=G,this.refs=z,this.updater=A||b}var q=R.prototype=new M;q.constructor=R,E(q,j.prototype),q.isPureReactComponent=!0;var J=Array.isArray,Y=Object.prototype.hasOwnProperty,O={current:null},Q={key:!0,ref:!0,__self:!0,__source:!0};function te(L,G,A){var be,Le={},Ae=null,Ue=null;if(G!=null)for(be in G.ref!==void 0&&(Ue=G.ref),G.key!==void 0&&(Ae=""+G.key),G)Y.call(G,be)&&!Q.hasOwnProperty(be)&&(Le[be]=G[be]);var qe=arguments.length-2;if(qe===1)Le.children=A;else if(1<qe){for(var $e=Array(qe),ht=0;ht<qe;ht++)$e[ht]=arguments[ht+2];Le.children=$e}if(L&&L.defaultProps)for(be in qe=L.defaultProps,qe)Le[be]===void 0&&(Le[be]=qe[be]);return{$$typeof:e,type:L,key:Ae,ref:Ue,props:Le,_owner:O.current}}function ne(L,G){return{$$typeof:e,type:L.type,key:G,ref:L.ref,props:L.props,_owner:L._owner}}function H(L){return typeof L=="object"&&L!==null&&L.$$typeof===e}function de(L){var G={"=":"=0",":":"=2"};return"$"+L.replace(/[=:]/g,function(A){return G[A]})}var ae=/\/+/g;function Te(L,G){return typeof L=="object"&&L!==null&&L.key!=null?de(""+L.key):G.toString(36)}function ve(L,G,A,be,Le){var Ae=typeof L;(Ae==="undefined"||Ae==="boolean")&&(L=null);var Ue=!1;if(L===null)Ue=!0;else switch(Ae){case"string":case"number":Ue=!0;break;case"object":switch(L.$$typeof){case e:case t:Ue=!0}}if(Ue)return Ue=L,Le=Le(Ue),L=be===""?"."+Te(Ue,0):be,J(Le)?(A="",L!=null&&(A=L.replace(ae,"$&/")+"/"),ve(Le,G,A,"",function(ht){return ht})):Le!=null&&(H(Le)&&(Le=ne(Le,A+(!Le.key||Ue&&Ue.key===Le.key?"":(""+Le.key).replace(ae,"$&/")+"/")+L)),G.push(Le)),1;if(Ue=0,be=be===""?".":be+":",J(L))for(var qe=0;qe<L.length;qe++){Ae=L[qe];var $e=be+Te(Ae,qe);Ue+=ve(Ae,G,A,$e,Le)}else if($e=k(L),typeof $e=="function")for(L=$e.call(L),qe=0;!(Ae=L.next()).done;)Ae=Ae.value,$e=be+Te(Ae,qe++),Ue+=ve(Ae,G,A,$e,Le);else if(Ae==="object")throw G=String(L),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys(L).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.");return Ue}function se(L,G,A){if(L==null)return L;var be=[],Le=0;return ve(L,be,"","",function(Ae){return G.call(A,Ae,Le++)}),be}function K(L){if(L._status===-1){var G=L._result;G=G(),G.then(function(A){(L._status===0||L._status===-1)&&(L._status=1,L._result=A)},function(A){(L._status===0||L._status===-1)&&(L._status=2,L._result=A)}),L._status===-1&&(L._status=0,L._result=G)}if(L._status===1)return L._result.default;throw L._result}var we={current:null},W={transition:null},$={ReactCurrentDispatcher:we,ReactCurrentBatchConfig:W,ReactCurrentOwner:O};function N(){throw Error("act(...) is not supported in production builds of React.")}return Ve.Children={map:se,forEach:function(L,G,A){se(L,function(){G.apply(this,arguments)},A)},count:function(L){var G=0;return se(L,function(){G++}),G},toArray:function(L){return se(L,function(G){return G})||[]},only:function(L){if(!H(L))throw Error("React.Children.only expected to receive a single React element child.");return L}},Ve.Component=j,Ve.Fragment=n,Ve.Profiler=a,Ve.PureComponent=R,Ve.StrictMode=i,Ve.Suspense=f,Ve.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$,Ve.act=N,Ve.cloneElement=function(L,G,A){if(L==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+L+".");var be=E({},L.props),Le=L.key,Ae=L.ref,Ue=L._owner;if(G!=null){if(G.ref!==void 0&&(Ae=G.ref,Ue=O.current),G.key!==void 0&&(Le=""+G.key),L.type&&L.type.defaultProps)var qe=L.type.defaultProps;for($e in G)Y.call(G,$e)&&!Q.hasOwnProperty($e)&&(be[$e]=G[$e]===void 0&&qe!==void 0?qe[$e]:G[$e])}var $e=arguments.length-2;if($e===1)be.children=A;else if(1<$e){qe=Array($e);for(var ht=0;ht<$e;ht++)qe[ht]=arguments[ht+2];be.children=qe}return{$$typeof:e,type:L.type,key:Le,ref:Ae,props:be,_owner:Ue}},Ve.createContext=function(L){return L={$$typeof:u,_currentValue:L,_currentValue2:L,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},L.Provider={$$typeof:s,_context:L},L.Consumer=L},Ve.createElement=te,Ve.createFactory=function(L){var G=te.bind(null,L);return G.type=L,G},Ve.createRef=function(){return{current:null}},Ve.forwardRef=function(L){return{$$typeof:c,render:L}},Ve.isValidElement=H,Ve.lazy=function(L){return{$$typeof:m,_payload:{_status:-1,_result:L},_init:K}},Ve.memo=function(L,G){return{$$typeof:d,type:L,compare:G===void 0?null:G}},Ve.startTransition=function(L){var G=W.transition;W.transition={};try{L()}finally{W.transition=G}},Ve.unstable_act=N,Ve.useCallback=function(L,G){return we.current.useCallback(L,G)},Ve.useContext=function(L){return we.current.useContext(L)},Ve.useDebugValue=function(){},Ve.useDeferredValue=function(L){return we.current.useDeferredValue(L)},Ve.useEffect=function(L,G){return we.current.useEffect(L,G)},Ve.useId=function(){return we.current.useId()},Ve.useImperativeHandle=function(L,G,A){return we.current.useImperativeHandle(L,G,A)},Ve.useInsertionEffect=function(L,G){return we.current.useInsertionEffect(L,G)},Ve.useLayoutEffect=function(L,G){return we.current.useLayoutEffect(L,G)},Ve.useMemo=function(L,G){return we.current.useMemo(L,G)},Ve.useReducer=function(L,G,A){return we.current.useReducer(L,G,A)},Ve.useRef=function(L){return we.current.useRef(L)},Ve.useState=function(L){return we.current.useState(L)},Ve.useSyncExternalStore=function(L,G,A){return we.current.useSyncExternalStore(L,G,A)},Ve.useTransition=function(){return we.current.useTransition()},Ve.version="18.3.1",Ve}var id;function Lc(){return id||(id=1,fu.exports=B5()),fu.exports}/**
10
- * @license React
11
- * react-jsx-runtime.production.min.js
12
- *
13
- * Copyright (c) Facebook, Inc. and its affiliates.
14
- *
15
- * This source code is licensed under the MIT license found in the
16
- * LICENSE file in the root directory of this source tree.
17
- */var ld;function _5(){if(ld)return ra;ld=1;var e=Lc(),t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function u(c,f,d){var m,p={},k=null,b=null;d!==void 0&&(k=""+d),f.key!==void 0&&(k=""+f.key),f.ref!==void 0&&(b=f.ref);for(m in f)i.call(f,m)&&!s.hasOwnProperty(m)&&(p[m]=f[m]);if(c&&c.defaultProps)for(m in f=c.defaultProps,f)p[m]===void 0&&(p[m]=f[m]);return{$$typeof:t,type:c,key:k,ref:b,props:p,_owner:a.current}}return ra.Fragment=n,ra.jsx=u,ra.jsxs=u,ra}var ad;function q5(){return ad||(ad=1,hu.exports=_5()),hu.exports}var x=q5(),Z=Lc();const oa=Dc(Z);var Ds={},du={exports:{}},rn={},mu={exports:{}},pu={};/**
18
- * @license React
19
- * scheduler.production.min.js
20
- *
21
- * Copyright (c) Facebook, Inc. and its affiliates.
22
- *
23
- * This source code is licensed under the MIT license found in the
24
- * LICENSE file in the root directory of this source tree.
25
- */var sd;function H5(){return sd||(sd=1,(function(e){function t(W,$){var N=W.length;W.push($);e:for(;0<N;){var L=N-1>>>1,G=W[L];if(0<a(G,$))W[L]=$,W[N]=G,N=L;else break e}}function n(W){return W.length===0?null:W[0]}function i(W){if(W.length===0)return null;var $=W[0],N=W.pop();if(N!==$){W[0]=N;e:for(var L=0,G=W.length,A=G>>>1;L<A;){var be=2*(L+1)-1,Le=W[be],Ae=be+1,Ue=W[Ae];if(0>a(Le,N))Ae<G&&0>a(Ue,Le)?(W[L]=Ue,W[Ae]=N,L=Ae):(W[L]=Le,W[be]=N,L=be);else if(Ae<G&&0>a(Ue,N))W[L]=Ue,W[Ae]=N,L=Ae;else break e}}return $}function a(W,$){var N=W.sortIndex-$.sortIndex;return N!==0?N:W.id-$.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var u=Date,c=u.now();e.unstable_now=function(){return u.now()-c}}var f=[],d=[],m=1,p=null,k=3,b=!1,E=!1,z=!1,j=typeof setTimeout=="function"?setTimeout:null,M=typeof clearTimeout=="function"?clearTimeout:null,R=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function q(W){for(var $=n(d);$!==null;){if($.callback===null)i(d);else if($.startTime<=W)i(d),$.sortIndex=$.expirationTime,t(f,$);else break;$=n(d)}}function J(W){if(z=!1,q(W),!E)if(n(f)!==null)E=!0,K(Y);else{var $=n(d);$!==null&&we(J,$.startTime-W)}}function Y(W,$){E=!1,z&&(z=!1,M(te),te=-1),b=!0;var N=k;try{for(q($),p=n(f);p!==null&&(!(p.expirationTime>$)||W&&!de());){var L=p.callback;if(typeof L=="function"){p.callback=null,k=p.priorityLevel;var G=L(p.expirationTime<=$);$=e.unstable_now(),typeof G=="function"?p.callback=G:p===n(f)&&i(f),q($)}else i(f);p=n(f)}if(p!==null)var A=!0;else{var be=n(d);be!==null&&we(J,be.startTime-$),A=!1}return A}finally{p=null,k=N,b=!1}}var O=!1,Q=null,te=-1,ne=5,H=-1;function de(){return!(e.unstable_now()-H<ne)}function ae(){if(Q!==null){var W=e.unstable_now();H=W;var $=!0;try{$=Q(!0,W)}finally{$?Te():(O=!1,Q=null)}}else O=!1}var Te;if(typeof R=="function")Te=function(){R(ae)};else if(typeof MessageChannel<"u"){var ve=new MessageChannel,se=ve.port2;ve.port1.onmessage=ae,Te=function(){se.postMessage(null)}}else Te=function(){j(ae,0)};function K(W){Q=W,O||(O=!0,Te())}function we(W,$){te=j(function(){W(e.unstable_now())},$)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(W){W.callback=null},e.unstable_continueExecution=function(){E||b||(E=!0,K(Y))},e.unstable_forceFrameRate=function(W){0>W||125<W?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ne=0<W?Math.floor(1e3/W):5},e.unstable_getCurrentPriorityLevel=function(){return k},e.unstable_getFirstCallbackNode=function(){return n(f)},e.unstable_next=function(W){switch(k){case 1:case 2:case 3:var $=3;break;default:$=k}var N=k;k=$;try{return W()}finally{k=N}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(W,$){switch(W){case 1:case 2:case 3:case 4:case 5:break;default:W=3}var N=k;k=W;try{return $()}finally{k=N}},e.unstable_scheduleCallback=function(W,$,N){var L=e.unstable_now();switch(typeof N=="object"&&N!==null?(N=N.delay,N=typeof N=="number"&&0<N?L+N:L):N=L,W){case 1:var G=-1;break;case 2:G=250;break;case 5:G=1073741823;break;case 4:G=1e4;break;default:G=5e3}return G=N+G,W={id:m++,callback:$,priorityLevel:W,startTime:N,expirationTime:G,sortIndex:-1},N>L?(W.sortIndex=N,t(d,W),n(f)===null&&W===n(d)&&(z?(M(te),te=-1):z=!0,we(J,N-L))):(W.sortIndex=G,t(f,W),E||b||(E=!0,K(Y))),W},e.unstable_shouldYield=de,e.unstable_wrapCallback=function(W){var $=k;return function(){var N=k;k=$;try{return W.apply(this,arguments)}finally{k=N}}}})(pu)),pu}var od;function U5(){return od||(od=1,mu.exports=H5()),mu.exports}/**
26
- * @license React
27
- * react-dom.production.min.js
28
- *
29
- * Copyright (c) Facebook, Inc. and its affiliates.
30
- *
31
- * This source code is licensed under the MIT license found in the
32
- * LICENSE file in the root directory of this source tree.
33
- */var ud;function $5(){if(ud)return rn;ud=1;var e=Lc(),t=U5();function n(r){for(var l="https://reactjs.org/docs/error-decoder.html?invariant="+r,o=1;o<arguments.length;o++)l+="&args[]="+encodeURIComponent(arguments[o]);return"Minified React error #"+r+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,a={};function s(r,l){u(r,l),u(r+"Capture",l)}function u(r,l){for(a[r]=l,r=0;r<l.length;r++)i.add(l[r])}var c=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),f=Object.prototype.hasOwnProperty,d=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,m={},p={};function k(r){return f.call(p,r)?!0:f.call(m,r)?!1:d.test(r)?p[r]=!0:(m[r]=!0,!1)}function b(r,l,o,h){if(o!==null&&o.type===0)return!1;switch(typeof l){case"function":case"symbol":return!0;case"boolean":return h?!1:o!==null?!o.acceptsBooleans:(r=r.toLowerCase().slice(0,5),r!=="data-"&&r!=="aria-");default:return!1}}function E(r,l,o,h){if(l===null||typeof l>"u"||b(r,l,o,h))return!0;if(h)return!1;if(o!==null)switch(o.type){case 3:return!l;case 4:return l===!1;case 5:return isNaN(l);case 6:return isNaN(l)||1>l}return!1}function z(r,l,o,h,g,y,C){this.acceptsBooleans=l===2||l===3||l===4,this.attributeName=h,this.attributeNamespace=g,this.mustUseProperty=o,this.propertyName=r,this.type=l,this.sanitizeURL=y,this.removeEmptyString=C}var j={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(r){j[r]=new z(r,0,!1,r,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(r){var l=r[0];j[l]=new z(l,1,!1,r[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(r){j[r]=new z(r,2,!1,r.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(r){j[r]=new z(r,2,!1,r,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(r){j[r]=new z(r,3,!1,r.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(r){j[r]=new z(r,3,!0,r,null,!1,!1)}),["capture","download"].forEach(function(r){j[r]=new z(r,4,!1,r,null,!1,!1)}),["cols","rows","size","span"].forEach(function(r){j[r]=new z(r,6,!1,r,null,!1,!1)}),["rowSpan","start"].forEach(function(r){j[r]=new z(r,5,!1,r.toLowerCase(),null,!1,!1)});var M=/[\-:]([a-z])/g;function R(r){return r[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(r){var l=r.replace(M,R);j[l]=new z(l,1,!1,r,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(r){var l=r.replace(M,R);j[l]=new z(l,1,!1,r,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(r){var l=r.replace(M,R);j[l]=new z(l,1,!1,r,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(r){j[r]=new z(r,1,!1,r.toLowerCase(),null,!1,!1)}),j.xlinkHref=new z("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(r){j[r]=new z(r,1,!1,r.toLowerCase(),null,!0,!0)});function q(r,l,o,h){var g=j.hasOwnProperty(l)?j[l]:null;(g!==null?g.type!==0:h||!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(E(l,o,g,h)&&(o=null),h||g===null?k(l)&&(o===null?r.removeAttribute(l):r.setAttribute(l,""+o)):g.mustUseProperty?r[g.propertyName]=o===null?g.type===3?!1:"":o:(l=g.attributeName,h=g.attributeNamespace,o===null?r.removeAttribute(l):(g=g.type,o=g===3||g===4&&o===!0?"":""+o,h?r.setAttributeNS(h,l,o):r.setAttribute(l,o))))}var J=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Y=Symbol.for("react.element"),O=Symbol.for("react.portal"),Q=Symbol.for("react.fragment"),te=Symbol.for("react.strict_mode"),ne=Symbol.for("react.profiler"),H=Symbol.for("react.provider"),de=Symbol.for("react.context"),ae=Symbol.for("react.forward_ref"),Te=Symbol.for("react.suspense"),ve=Symbol.for("react.suspense_list"),se=Symbol.for("react.memo"),K=Symbol.for("react.lazy"),we=Symbol.for("react.offscreen"),W=Symbol.iterator;function $(r){return r===null||typeof r!="object"?null:(r=W&&r[W]||r["@@iterator"],typeof r=="function"?r:null)}var N=Object.assign,L;function G(r){if(L===void 0)try{throw Error()}catch(o){var l=o.stack.trim().match(/\n( *(at )?)/);L=l&&l[1]||""}return`
34
- `+L+r}var A=!1;function be(r,l){if(!r||A)return"";A=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(l)if(l=function(){throw Error()},Object.defineProperty(l.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(l,[])}catch(X){var h=X}Reflect.construct(r,[],l)}else{try{l.call()}catch(X){h=X}r.call(l.prototype)}else{try{throw Error()}catch(X){h=X}r()}}catch(X){if(X&&h&&typeof X.stack=="string"){for(var g=X.stack.split(`
35
- `),y=h.stack.split(`
36
- `),C=g.length-1,I=y.length-1;1<=C&&0<=I&&g[C]!==y[I];)I--;for(;1<=C&&0<=I;C--,I--)if(g[C]!==y[I]){if(C!==1||I!==1)do if(C--,I--,0>I||g[C]!==y[I]){var F=`
37
- `+g[C].replace(" at new "," at ");return r.displayName&&F.includes("<anonymous>")&&(F=F.replace("<anonymous>",r.displayName)),F}while(1<=C&&0<=I);break}}}finally{A=!1,Error.prepareStackTrace=o}return(r=r?r.displayName||r.name:"")?G(r):""}function Le(r){switch(r.tag){case 5:return G(r.type);case 16:return G("Lazy");case 13:return G("Suspense");case 19:return G("SuspenseList");case 0:case 2:case 15:return r=be(r.type,!1),r;case 11:return r=be(r.type.render,!1),r;case 1:return r=be(r.type,!0),r;default:return""}}function Ae(r){if(r==null)return null;if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case Q:return"Fragment";case O:return"Portal";case ne:return"Profiler";case te:return"StrictMode";case Te:return"Suspense";case ve:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case de:return(r.displayName||"Context")+".Consumer";case H:return(r._context.displayName||"Context")+".Provider";case ae:var l=r.render;return r=r.displayName,r||(r=l.displayName||l.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case se:return l=r.displayName||null,l!==null?l:Ae(r.type)||"Memo";case K:l=r._payload,r=r._init;try{return Ae(r(l))}catch{}}return null}function Ue(r){var l=r.type;switch(r.tag){case 24:return"Cache";case 9:return(l.displayName||"Context")+".Consumer";case 10:return(l._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return r=l.render,r=r.displayName||r.name||"",l.displayName||(r!==""?"ForwardRef("+r+")":"ForwardRef");case 7:return"Fragment";case 5:return l;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ae(l);case 8:return l===te?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l}return null}function qe(r){switch(typeof r){case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function $e(r){var l=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function ht(r){var l=$e(r)?"checked":"value",o=Object.getOwnPropertyDescriptor(r.constructor.prototype,l),h=""+r[l];if(!r.hasOwnProperty(l)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var g=o.get,y=o.set;return Object.defineProperty(r,l,{configurable:!0,get:function(){return g.call(this)},set:function(C){h=""+C,y.call(this,C)}}),Object.defineProperty(r,l,{enumerable:o.enumerable}),{getValue:function(){return h},setValue:function(C){h=""+C},stopTracking:function(){r._valueTracker=null,delete r[l]}}}}function wn(r){r._valueTracker||(r._valueTracker=ht(r))}function ri(r){if(!r)return!1;var l=r._valueTracker;if(!l)return!0;var o=l.getValue(),h="";return r&&(h=$e(r)?r.checked?"true":"false":r.value),r=h,r!==o?(l.setValue(r),!0):!1}function In(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}function Un(r,l){var o=l.checked;return N({},l,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:o??r._wrapperState.initialChecked})}function ii(r,l){var o=l.defaultValue==null?"":l.defaultValue,h=l.checked!=null?l.checked:l.defaultChecked;o=qe(l.value!=null?l.value:o),r._wrapperState={initialChecked:h,initialValue:o,controlled:l.type==="checkbox"||l.type==="radio"?l.checked!=null:l.value!=null}}function li(r,l){l=l.checked,l!=null&&q(r,"checked",l,!1)}function br(r,l){li(r,l);var o=qe(l.value),h=l.type;if(o!=null)h==="number"?(o===0&&r.value===""||r.value!=o)&&(r.value=""+o):r.value!==""+o&&(r.value=""+o);else if(h==="submit"||h==="reset"){r.removeAttribute("value");return}l.hasOwnProperty("value")?ir(r,l.type,o):l.hasOwnProperty("defaultValue")&&ir(r,l.type,qe(l.defaultValue)),l.checked==null&&l.defaultChecked!=null&&(r.defaultChecked=!!l.defaultChecked)}function ai(r,l,o){if(l.hasOwnProperty("value")||l.hasOwnProperty("defaultValue")){var h=l.type;if(!(h!=="submit"&&h!=="reset"||l.value!==void 0&&l.value!==null))return;l=""+r._wrapperState.initialValue,o||l===r.value||(r.value=l),r.defaultValue=l}o=r.name,o!==""&&(r.name=""),r.defaultChecked=!!r._wrapperState.initialChecked,o!==""&&(r.name=o)}function ir(r,l,o){(l!=="number"||In(r.ownerDocument)!==r)&&(o==null?r.defaultValue=""+r._wrapperState.initialValue:r.defaultValue!==""+o&&(r.defaultValue=""+o))}var on=Array.isArray;function $n(r,l,o,h){if(r=r.options,l){l={};for(var g=0;g<o.length;g++)l["$"+o[g]]=!0;for(o=0;o<r.length;o++)g=l.hasOwnProperty("$"+r[o].value),r[o].selected!==g&&(r[o].selected=g),g&&h&&(r[o].defaultSelected=!0)}else{for(o=""+qe(o),l=null,g=0;g<r.length;g++){if(r[g].value===o){r[g].selected=!0,h&&(r[g].defaultSelected=!0);return}l!==null||r[g].disabled||(l=r[g])}l!==null&&(l.selected=!0)}}function si(r,l){if(l.dangerouslySetInnerHTML!=null)throw Error(n(91));return N({},l,{value:void 0,defaultValue:void 0,children:""+r._wrapperState.initialValue})}function Sr(r,l){var o=l.value;if(o==null){if(o=l.children,l=l.defaultValue,o!=null){if(l!=null)throw Error(n(92));if(on(o)){if(1<o.length)throw Error(n(93));o=o[0]}l=o}l==null&&(l=""),o=l}r._wrapperState={initialValue:qe(o)}}function oi(r,l){var o=qe(l.value),h=qe(l.defaultValue);o!=null&&(o=""+o,o!==r.value&&(r.value=o),l.defaultValue==null&&r.defaultValue!==o&&(r.defaultValue=o)),h!=null&&(r.defaultValue=""+h)}function ui(r){var l=r.textContent;l===r._wrapperState.initialValue&&l!==""&&l!==null&&(r.value=l)}function ee(r){switch(r){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ge(r,l){return r==null||r==="http://www.w3.org/1999/xhtml"?ee(l):r==="http://www.w3.org/2000/svg"&&l==="foreignObject"?"http://www.w3.org/1999/xhtml":r}var Me,_e=(function(r){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(l,o,h,g){MSApp.execUnsafeLocalFunction(function(){return r(l,o,h,g)})}:r})(function(r,l){if(r.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in r)r.innerHTML=l;else{for(Me=Me||document.createElement("div"),Me.innerHTML="<svg>"+l.valueOf().toString()+"</svg>",l=Me.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;l.firstChild;)r.appendChild(l.firstChild)}});function Xe(r,l){if(l){var o=r.firstChild;if(o&&o===r.lastChild&&o.nodeType===3){o.nodeValue=l;return}}r.textContent=l}var It={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},lr=["Webkit","ms","Moz","O"];Object.keys(It).forEach(function(r){lr.forEach(function(l){l=l+r.charAt(0).toUpperCase()+r.substring(1),It[l]=It[r]})});function kn(r,l,o){return l==null||typeof l=="boolean"||l===""?"":o||typeof l!="number"||l===0||It.hasOwnProperty(r)&&It[r]?(""+l).trim():l+"px"}function Cr(r,l){r=r.style;for(var o in l)if(l.hasOwnProperty(o)){var h=o.indexOf("--")===0,g=kn(o,l[o],h);o==="float"&&(o="cssFloat"),h?r.setProperty(o,g):r[o]=g}}var ci=N({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Dt(r,l){if(l){if(ci[r]&&(l.children!=null||l.dangerouslySetInnerHTML!=null))throw Error(n(137,r));if(l.dangerouslySetInnerHTML!=null){if(l.children!=null)throw Error(n(60));if(typeof l.dangerouslySetInnerHTML!="object"||!("__html"in l.dangerouslySetInnerHTML))throw Error(n(61))}if(l.style!=null&&typeof l.style!="object")throw Error(n(62))}}function Vn(r,l){if(r.indexOf("-")===-1)return typeof l.is=="string";switch(r){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var un=null;function Eo(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var No=null,Fi=null,Oi=null;function x1(r){if(r=Hl(r)){if(typeof No!="function")throw Error(n(280));var l=r.stateNode;l&&(l=Xa(l),No(r.stateNode,r.type,l))}}function w1(r){Fi?Oi?Oi.push(r):Oi=[r]:Fi=r}function k1(){if(Fi){var r=Fi,l=Oi;if(Oi=Fi=null,x1(r),l)for(r=0;r<l.length;r++)x1(l[r])}}function b1(r,l){return r(l)}function S1(){}var zo=!1;function C1(r,l,o){if(zo)return r(l,o);zo=!0;try{return b1(r,l,o)}finally{zo=!1,(Fi!==null||Oi!==null)&&(S1(),k1())}}function kl(r,l){var o=r.stateNode;if(o===null)return null;var h=Xa(o);if(h===null)return null;o=h[l];e:switch(l){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(h=!h.disabled)||(r=r.type,h=!(r==="button"||r==="input"||r==="select"||r==="textarea")),r=!h;break e;default:r=!1}if(r)return null;if(o&&typeof o!="function")throw Error(n(231,l,typeof o));return o}var Ao=!1;if(c)try{var bl={};Object.defineProperty(bl,"passive",{get:function(){Ao=!0}}),window.addEventListener("test",bl,bl),window.removeEventListener("test",bl,bl)}catch{Ao=!1}function U2(r,l,o,h,g,y,C,I,F){var X=Array.prototype.slice.call(arguments,3);try{l.apply(o,X)}catch(le){this.onError(le)}}var Sl=!1,Ea=null,Na=!1,Mo=null,$2={onError:function(r){Sl=!0,Ea=r}};function V2(r,l,o,h,g,y,C,I,F){Sl=!1,Ea=null,U2.apply($2,arguments)}function W2(r,l,o,h,g,y,C,I,F){if(V2.apply(this,arguments),Sl){if(Sl){var X=Ea;Sl=!1,Ea=null}else throw Error(n(198));Na||(Na=!0,Mo=X)}}function hi(r){var l=r,o=r;if(r.alternate)for(;l.return;)l=l.return;else{r=l;do l=r,(l.flags&4098)!==0&&(o=l.return),r=l.return;while(r)}return l.tag===3?o:null}function T1(r){if(r.tag===13){var l=r.memoizedState;if(l===null&&(r=r.alternate,r!==null&&(l=r.memoizedState)),l!==null)return l.dehydrated}return null}function E1(r){if(hi(r)!==r)throw Error(n(188))}function G2(r){var l=r.alternate;if(!l){if(l=hi(r),l===null)throw Error(n(188));return l!==r?null:r}for(var o=r,h=l;;){var g=o.return;if(g===null)break;var y=g.alternate;if(y===null){if(h=g.return,h!==null){o=h;continue}break}if(g.child===y.child){for(y=g.child;y;){if(y===o)return E1(g),r;if(y===h)return E1(g),l;y=y.sibling}throw Error(n(188))}if(o.return!==h.return)o=g,h=y;else{for(var C=!1,I=g.child;I;){if(I===o){C=!0,o=g,h=y;break}if(I===h){C=!0,h=g,o=y;break}I=I.sibling}if(!C){for(I=y.child;I;){if(I===o){C=!0,o=y,h=g;break}if(I===h){C=!0,h=y,o=g;break}I=I.sibling}if(!C)throw Error(n(189))}}if(o.alternate!==h)throw Error(n(190))}if(o.tag!==3)throw Error(n(188));return o.stateNode.current===o?r:l}function N1(r){return r=G2(r),r!==null?z1(r):null}function z1(r){if(r.tag===5||r.tag===6)return r;for(r=r.child;r!==null;){var l=z1(r);if(l!==null)return l;r=r.sibling}return null}var A1=t.unstable_scheduleCallback,M1=t.unstable_cancelCallback,X2=t.unstable_shouldYield,Y2=t.unstable_requestPaint,yt=t.unstable_now,Q2=t.unstable_getCurrentPriorityLevel,jo=t.unstable_ImmediatePriority,j1=t.unstable_UserBlockingPriority,za=t.unstable_NormalPriority,K2=t.unstable_LowPriority,I1=t.unstable_IdlePriority,Aa=null,Wn=null;function Z2(r){if(Wn&&typeof Wn.onCommitFiberRoot=="function")try{Wn.onCommitFiberRoot(Aa,r,void 0,(r.current.flags&128)===128)}catch{}}var Dn=Math.clz32?Math.clz32:t3,J2=Math.log,e3=Math.LN2;function t3(r){return r>>>=0,r===0?32:31-(J2(r)/e3|0)|0}var Ma=64,ja=4194304;function Cl(r){switch(r&-r){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return r&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return r}}function Ia(r,l){var o=r.pendingLanes;if(o===0)return 0;var h=0,g=r.suspendedLanes,y=r.pingedLanes,C=o&268435455;if(C!==0){var I=C&~g;I!==0?h=Cl(I):(y&=C,y!==0&&(h=Cl(y)))}else C=o&~g,C!==0?h=Cl(C):y!==0&&(h=Cl(y));if(h===0)return 0;if(l!==0&&l!==h&&(l&g)===0&&(g=h&-h,y=l&-l,g>=y||g===16&&(y&4194240)!==0))return l;if((h&4)!==0&&(h|=o&16),l=r.entangledLanes,l!==0)for(r=r.entanglements,l&=h;0<l;)o=31-Dn(l),g=1<<o,h|=r[o],l&=~g;return h}function n3(r,l){switch(r){case 1:case 2:case 4:return l+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return l+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function r3(r,l){for(var o=r.suspendedLanes,h=r.pingedLanes,g=r.expirationTimes,y=r.pendingLanes;0<y;){var C=31-Dn(y),I=1<<C,F=g[C];F===-1?((I&o)===0||(I&h)!==0)&&(g[C]=n3(I,l)):F<=l&&(r.expiredLanes|=I),y&=~I}}function Io(r){return r=r.pendingLanes&-1073741825,r!==0?r:r&1073741824?1073741824:0}function D1(){var r=Ma;return Ma<<=1,(Ma&4194240)===0&&(Ma=64),r}function Do(r){for(var l=[],o=0;31>o;o++)l.push(r);return l}function Tl(r,l,o){r.pendingLanes|=l,l!==536870912&&(r.suspendedLanes=0,r.pingedLanes=0),r=r.eventTimes,l=31-Dn(l),r[l]=o}function i3(r,l){var o=r.pendingLanes&~l;r.pendingLanes=l,r.suspendedLanes=0,r.pingedLanes=0,r.expiredLanes&=l,r.mutableReadLanes&=l,r.entangledLanes&=l,l=r.entanglements;var h=r.eventTimes;for(r=r.expirationTimes;0<o;){var g=31-Dn(o),y=1<<g;l[g]=0,h[g]=-1,r[g]=-1,o&=~y}}function Lo(r,l){var o=r.entangledLanes|=l;for(r=r.entanglements;o;){var h=31-Dn(o),g=1<<h;g&l|r[h]&l&&(r[h]|=l),o&=~g}}var et=0;function L1(r){return r&=-r,1<r?4<r?(r&268435455)!==0?16:536870912:4:1}var P1,Po,R1,F1,O1,Ro=!1,Da=[],Tr=null,Er=null,Nr=null,El=new Map,Nl=new Map,zr=[],l3="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function B1(r,l){switch(r){case"focusin":case"focusout":Tr=null;break;case"dragenter":case"dragleave":Er=null;break;case"mouseover":case"mouseout":Nr=null;break;case"pointerover":case"pointerout":El.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":Nl.delete(l.pointerId)}}function zl(r,l,o,h,g,y){return r===null||r.nativeEvent!==y?(r={blockedOn:l,domEventName:o,eventSystemFlags:h,nativeEvent:y,targetContainers:[g]},l!==null&&(l=Hl(l),l!==null&&Po(l)),r):(r.eventSystemFlags|=h,l=r.targetContainers,g!==null&&l.indexOf(g)===-1&&l.push(g),r)}function a3(r,l,o,h,g){switch(l){case"focusin":return Tr=zl(Tr,r,l,o,h,g),!0;case"dragenter":return Er=zl(Er,r,l,o,h,g),!0;case"mouseover":return Nr=zl(Nr,r,l,o,h,g),!0;case"pointerover":var y=g.pointerId;return El.set(y,zl(El.get(y)||null,r,l,o,h,g)),!0;case"gotpointercapture":return y=g.pointerId,Nl.set(y,zl(Nl.get(y)||null,r,l,o,h,g)),!0}return!1}function _1(r){var l=fi(r.target);if(l!==null){var o=hi(l);if(o!==null){if(l=o.tag,l===13){if(l=T1(o),l!==null){r.blockedOn=l,O1(r.priority,function(){R1(o)});return}}else if(l===3&&o.stateNode.current.memoizedState.isDehydrated){r.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}r.blockedOn=null}function La(r){if(r.blockedOn!==null)return!1;for(var l=r.targetContainers;0<l.length;){var o=Oo(r.domEventName,r.eventSystemFlags,l[0],r.nativeEvent);if(o===null){o=r.nativeEvent;var h=new o.constructor(o.type,o);un=h,o.target.dispatchEvent(h),un=null}else return l=Hl(o),l!==null&&Po(l),r.blockedOn=o,!1;l.shift()}return!0}function q1(r,l,o){La(r)&&o.delete(l)}function s3(){Ro=!1,Tr!==null&&La(Tr)&&(Tr=null),Er!==null&&La(Er)&&(Er=null),Nr!==null&&La(Nr)&&(Nr=null),El.forEach(q1),Nl.forEach(q1)}function Al(r,l){r.blockedOn===l&&(r.blockedOn=null,Ro||(Ro=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,s3)))}function Ml(r){function l(g){return Al(g,r)}if(0<Da.length){Al(Da[0],r);for(var o=1;o<Da.length;o++){var h=Da[o];h.blockedOn===r&&(h.blockedOn=null)}}for(Tr!==null&&Al(Tr,r),Er!==null&&Al(Er,r),Nr!==null&&Al(Nr,r),El.forEach(l),Nl.forEach(l),o=0;o<zr.length;o++)h=zr[o],h.blockedOn===r&&(h.blockedOn=null);for(;0<zr.length&&(o=zr[0],o.blockedOn===null);)_1(o),o.blockedOn===null&&zr.shift()}var Bi=J.ReactCurrentBatchConfig,Pa=!0;function o3(r,l,o,h){var g=et,y=Bi.transition;Bi.transition=null;try{et=1,Fo(r,l,o,h)}finally{et=g,Bi.transition=y}}function u3(r,l,o,h){var g=et,y=Bi.transition;Bi.transition=null;try{et=4,Fo(r,l,o,h)}finally{et=g,Bi.transition=y}}function Fo(r,l,o,h){if(Pa){var g=Oo(r,l,o,h);if(g===null)t0(r,l,h,Ra,o),B1(r,h);else if(a3(g,r,l,o,h))h.stopPropagation();else if(B1(r,h),l&4&&-1<l3.indexOf(r)){for(;g!==null;){var y=Hl(g);if(y!==null&&P1(y),y=Oo(r,l,o,h),y===null&&t0(r,l,h,Ra,o),y===g)break;g=y}g!==null&&h.stopPropagation()}else t0(r,l,h,null,o)}}var Ra=null;function Oo(r,l,o,h){if(Ra=null,r=Eo(h),r=fi(r),r!==null)if(l=hi(r),l===null)r=null;else if(o=l.tag,o===13){if(r=T1(l),r!==null)return r;r=null}else if(o===3){if(l.stateNode.current.memoizedState.isDehydrated)return l.tag===3?l.stateNode.containerInfo:null;r=null}else l!==r&&(r=null);return Ra=r,null}function H1(r){switch(r){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Q2()){case jo:return 1;case j1:return 4;case za:case K2:return 16;case I1:return 536870912;default:return 16}default:return 16}}var Ar=null,Bo=null,Fa=null;function U1(){if(Fa)return Fa;var r,l=Bo,o=l.length,h,g="value"in Ar?Ar.value:Ar.textContent,y=g.length;for(r=0;r<o&&l[r]===g[r];r++);var C=o-r;for(h=1;h<=C&&l[o-h]===g[y-h];h++);return Fa=g.slice(r,1<h?1-h:void 0)}function Oa(r){var l=r.keyCode;return"charCode"in r?(r=r.charCode,r===0&&l===13&&(r=13)):r=l,r===10&&(r=13),32<=r||r===13?r:0}function Ba(){return!0}function $1(){return!1}function cn(r){function l(o,h,g,y,C){this._reactName=o,this._targetInst=g,this.type=h,this.nativeEvent=y,this.target=C,this.currentTarget=null;for(var I in r)r.hasOwnProperty(I)&&(o=r[I],this[I]=o?o(y):y[I]);return this.isDefaultPrevented=(y.defaultPrevented!=null?y.defaultPrevented:y.returnValue===!1)?Ba:$1,this.isPropagationStopped=$1,this}return N(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=Ba)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=Ba)},persist:function(){},isPersistent:Ba}),l}var _i={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},_o=cn(_i),jl=N({},_i,{view:0,detail:0}),c3=cn(jl),qo,Ho,Il,_a=N({},jl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:$o,button:0,buttons:0,relatedTarget:function(r){return r.relatedTarget===void 0?r.fromElement===r.srcElement?r.toElement:r.fromElement:r.relatedTarget},movementX:function(r){return"movementX"in r?r.movementX:(r!==Il&&(Il&&r.type==="mousemove"?(qo=r.screenX-Il.screenX,Ho=r.screenY-Il.screenY):Ho=qo=0,Il=r),qo)},movementY:function(r){return"movementY"in r?r.movementY:Ho}}),V1=cn(_a),h3=N({},_a,{dataTransfer:0}),f3=cn(h3),d3=N({},jl,{relatedTarget:0}),Uo=cn(d3),m3=N({},_i,{animationName:0,elapsedTime:0,pseudoElement:0}),p3=cn(m3),g3=N({},_i,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),v3=cn(g3),y3=N({},_i,{data:0}),W1=cn(y3),x3={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},w3={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},k3={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function b3(r){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(r):(r=k3[r])?!!l[r]:!1}function $o(){return b3}var S3=N({},jl,{key:function(r){if(r.key){var l=x3[r.key]||r.key;if(l!=="Unidentified")return l}return r.type==="keypress"?(r=Oa(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?w3[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:$o,charCode:function(r){return r.type==="keypress"?Oa(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?Oa(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),C3=cn(S3),T3=N({},_a,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),G1=cn(T3),E3=N({},jl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:$o}),N3=cn(E3),z3=N({},_i,{propertyName:0,elapsedTime:0,pseudoElement:0}),A3=cn(z3),M3=N({},_a,{deltaX:function(r){return"deltaX"in r?r.deltaX:"wheelDeltaX"in r?-r.wheelDeltaX:0},deltaY:function(r){return"deltaY"in r?r.deltaY:"wheelDeltaY"in r?-r.wheelDeltaY:"wheelDelta"in r?-r.wheelDelta:0},deltaZ:0,deltaMode:0}),j3=cn(M3),I3=[9,13,27,32],Vo=c&&"CompositionEvent"in window,Dl=null;c&&"documentMode"in document&&(Dl=document.documentMode);var D3=c&&"TextEvent"in window&&!Dl,X1=c&&(!Vo||Dl&&8<Dl&&11>=Dl),Y1=" ",Q1=!1;function K1(r,l){switch(r){case"keyup":return I3.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Z1(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var qi=!1;function L3(r,l){switch(r){case"compositionend":return Z1(l);case"keypress":return l.which!==32?null:(Q1=!0,Y1);case"textInput":return r=l.data,r===Y1&&Q1?null:r;default:return null}}function P3(r,l){if(qi)return r==="compositionend"||!Vo&&K1(r,l)?(r=U1(),Fa=Bo=Ar=null,qi=!1,r):null;switch(r){case"paste":return null;case"keypress":if(!(l.ctrlKey||l.altKey||l.metaKey)||l.ctrlKey&&l.altKey){if(l.char&&1<l.char.length)return l.char;if(l.which)return String.fromCharCode(l.which)}return null;case"compositionend":return X1&&l.locale!=="ko"?null:l.data;default:return null}}var R3={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function J1(r){var l=r&&r.nodeName&&r.nodeName.toLowerCase();return l==="input"?!!R3[r.type]:l==="textarea"}function eh(r,l,o,h){w1(h),l=Va(l,"onChange"),0<l.length&&(o=new _o("onChange","change",null,o,h),r.push({event:o,listeners:l}))}var Ll=null,Pl=null;function F3(r){yh(r,0)}function qa(r){var l=Wi(r);if(ri(l))return r}function O3(r,l){if(r==="change")return l}var th=!1;if(c){var Wo;if(c){var Go="oninput"in document;if(!Go){var nh=document.createElement("div");nh.setAttribute("oninput","return;"),Go=typeof nh.oninput=="function"}Wo=Go}else Wo=!1;th=Wo&&(!document.documentMode||9<document.documentMode)}function rh(){Ll&&(Ll.detachEvent("onpropertychange",ih),Pl=Ll=null)}function ih(r){if(r.propertyName==="value"&&qa(Pl)){var l=[];eh(l,Pl,r,Eo(r)),C1(F3,l)}}function B3(r,l,o){r==="focusin"?(rh(),Ll=l,Pl=o,Ll.attachEvent("onpropertychange",ih)):r==="focusout"&&rh()}function _3(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return qa(Pl)}function q3(r,l){if(r==="click")return qa(l)}function H3(r,l){if(r==="input"||r==="change")return qa(l)}function U3(r,l){return r===l&&(r!==0||1/r===1/l)||r!==r&&l!==l}var Ln=typeof Object.is=="function"?Object.is:U3;function Rl(r,l){if(Ln(r,l))return!0;if(typeof r!="object"||r===null||typeof l!="object"||l===null)return!1;var o=Object.keys(r),h=Object.keys(l);if(o.length!==h.length)return!1;for(h=0;h<o.length;h++){var g=o[h];if(!f.call(l,g)||!Ln(r[g],l[g]))return!1}return!0}function lh(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function ah(r,l){var o=lh(r);r=0;for(var h;o;){if(o.nodeType===3){if(h=r+o.textContent.length,r<=l&&h>=l)return{node:o,offset:l-r};r=h}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=lh(o)}}function sh(r,l){return r&&l?r===l?!0:r&&r.nodeType===3?!1:l&&l.nodeType===3?sh(r,l.parentNode):"contains"in r?r.contains(l):r.compareDocumentPosition?!!(r.compareDocumentPosition(l)&16):!1:!1}function oh(){for(var r=window,l=In();l instanceof r.HTMLIFrameElement;){try{var o=typeof l.contentWindow.location.href=="string"}catch{o=!1}if(o)r=l.contentWindow;else break;l=In(r.document)}return l}function Xo(r){var l=r&&r.nodeName&&r.nodeName.toLowerCase();return l&&(l==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||l==="textarea"||r.contentEditable==="true")}function $3(r){var l=oh(),o=r.focusedElem,h=r.selectionRange;if(l!==o&&o&&o.ownerDocument&&sh(o.ownerDocument.documentElement,o)){if(h!==null&&Xo(o)){if(l=h.start,r=h.end,r===void 0&&(r=l),"selectionStart"in o)o.selectionStart=l,o.selectionEnd=Math.min(r,o.value.length);else if(r=(l=o.ownerDocument||document)&&l.defaultView||window,r.getSelection){r=r.getSelection();var g=o.textContent.length,y=Math.min(h.start,g);h=h.end===void 0?y:Math.min(h.end,g),!r.extend&&y>h&&(g=h,h=y,y=g),g=ah(o,y);var C=ah(o,h);g&&C&&(r.rangeCount!==1||r.anchorNode!==g.node||r.anchorOffset!==g.offset||r.focusNode!==C.node||r.focusOffset!==C.offset)&&(l=l.createRange(),l.setStart(g.node,g.offset),r.removeAllRanges(),y>h?(r.addRange(l),r.extend(C.node,C.offset)):(l.setEnd(C.node,C.offset),r.addRange(l)))}}for(l=[],r=o;r=r.parentNode;)r.nodeType===1&&l.push({element:r,left:r.scrollLeft,top:r.scrollTop});for(typeof o.focus=="function"&&o.focus(),o=0;o<l.length;o++)r=l[o],r.element.scrollLeft=r.left,r.element.scrollTop=r.top}}var V3=c&&"documentMode"in document&&11>=document.documentMode,Hi=null,Yo=null,Fl=null,Qo=!1;function uh(r,l,o){var h=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;Qo||Hi==null||Hi!==In(h)||(h=Hi,"selectionStart"in h&&Xo(h)?h={start:h.selectionStart,end:h.selectionEnd}:(h=(h.ownerDocument&&h.ownerDocument.defaultView||window).getSelection(),h={anchorNode:h.anchorNode,anchorOffset:h.anchorOffset,focusNode:h.focusNode,focusOffset:h.focusOffset}),Fl&&Rl(Fl,h)||(Fl=h,h=Va(Yo,"onSelect"),0<h.length&&(l=new _o("onSelect","select",null,l,o),r.push({event:l,listeners:h}),l.target=Hi)))}function Ha(r,l){var o={};return o[r.toLowerCase()]=l.toLowerCase(),o["Webkit"+r]="webkit"+l,o["Moz"+r]="moz"+l,o}var Ui={animationend:Ha("Animation","AnimationEnd"),animationiteration:Ha("Animation","AnimationIteration"),animationstart:Ha("Animation","AnimationStart"),transitionend:Ha("Transition","TransitionEnd")},Ko={},ch={};c&&(ch=document.createElement("div").style,"AnimationEvent"in window||(delete Ui.animationend.animation,delete Ui.animationiteration.animation,delete Ui.animationstart.animation),"TransitionEvent"in window||delete Ui.transitionend.transition);function Ua(r){if(Ko[r])return Ko[r];if(!Ui[r])return r;var l=Ui[r],o;for(o in l)if(l.hasOwnProperty(o)&&o in ch)return Ko[r]=l[o];return r}var hh=Ua("animationend"),fh=Ua("animationiteration"),dh=Ua("animationstart"),mh=Ua("transitionend"),ph=new Map,gh="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Mr(r,l){ph.set(r,l),s(l,[r])}for(var Zo=0;Zo<gh.length;Zo++){var Jo=gh[Zo],W3=Jo.toLowerCase(),G3=Jo[0].toUpperCase()+Jo.slice(1);Mr(W3,"on"+G3)}Mr(hh,"onAnimationEnd"),Mr(fh,"onAnimationIteration"),Mr(dh,"onAnimationStart"),Mr("dblclick","onDoubleClick"),Mr("focusin","onFocus"),Mr("focusout","onBlur"),Mr(mh,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),s("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),s("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),s("onBeforeInput",["compositionend","keypress","textInput","paste"]),s("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),s("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ol="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),X3=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ol));function vh(r,l,o){var h=r.type||"unknown-event";r.currentTarget=o,W2(h,l,void 0,r),r.currentTarget=null}function yh(r,l){l=(l&4)!==0;for(var o=0;o<r.length;o++){var h=r[o],g=h.event;h=h.listeners;e:{var y=void 0;if(l)for(var C=h.length-1;0<=C;C--){var I=h[C],F=I.instance,X=I.currentTarget;if(I=I.listener,F!==y&&g.isPropagationStopped())break e;vh(g,I,X),y=F}else for(C=0;C<h.length;C++){if(I=h[C],F=I.instance,X=I.currentTarget,I=I.listener,F!==y&&g.isPropagationStopped())break e;vh(g,I,X),y=F}}}if(Na)throw r=Mo,Na=!1,Mo=null,r}function lt(r,l){var o=l[s0];o===void 0&&(o=l[s0]=new Set);var h=r+"__bubble";o.has(h)||(xh(l,r,2,!1),o.add(h))}function e0(r,l,o){var h=0;l&&(h|=4),xh(o,r,h,l)}var $a="_reactListening"+Math.random().toString(36).slice(2);function Bl(r){if(!r[$a]){r[$a]=!0,i.forEach(function(o){o!=="selectionchange"&&(X3.has(o)||e0(o,!1,r),e0(o,!0,r))});var l=r.nodeType===9?r:r.ownerDocument;l===null||l[$a]||(l[$a]=!0,e0("selectionchange",!1,l))}}function xh(r,l,o,h){switch(H1(l)){case 1:var g=o3;break;case 4:g=u3;break;default:g=Fo}o=g.bind(null,l,o,r),g=void 0,!Ao||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(g=!0),h?g!==void 0?r.addEventListener(l,o,{capture:!0,passive:g}):r.addEventListener(l,o,!0):g!==void 0?r.addEventListener(l,o,{passive:g}):r.addEventListener(l,o,!1)}function t0(r,l,o,h,g){var y=h;if((l&1)===0&&(l&2)===0&&h!==null)e:for(;;){if(h===null)return;var C=h.tag;if(C===3||C===4){var I=h.stateNode.containerInfo;if(I===g||I.nodeType===8&&I.parentNode===g)break;if(C===4)for(C=h.return;C!==null;){var F=C.tag;if((F===3||F===4)&&(F=C.stateNode.containerInfo,F===g||F.nodeType===8&&F.parentNode===g))return;C=C.return}for(;I!==null;){if(C=fi(I),C===null)return;if(F=C.tag,F===5||F===6){h=y=C;continue e}I=I.parentNode}}h=h.return}C1(function(){var X=y,le=Eo(o),ue=[];e:{var ie=ph.get(r);if(ie!==void 0){var xe=_o,Ce=r;switch(r){case"keypress":if(Oa(o)===0)break e;case"keydown":case"keyup":xe=C3;break;case"focusin":Ce="focus",xe=Uo;break;case"focusout":Ce="blur",xe=Uo;break;case"beforeblur":case"afterblur":xe=Uo;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":xe=V1;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":xe=f3;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":xe=N3;break;case hh:case fh:case dh:xe=p3;break;case mh:xe=A3;break;case"scroll":xe=c3;break;case"wheel":xe=j3;break;case"copy":case"cut":case"paste":xe=v3;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":xe=G1}var Ee=(l&4)!==0,xt=!Ee&&r==="scroll",U=Ee?ie!==null?ie+"Capture":null:ie;Ee=[];for(var _=X,V;_!==null;){V=_;var me=V.stateNode;if(V.tag===5&&me!==null&&(V=me,U!==null&&(me=kl(_,U),me!=null&&Ee.push(_l(_,me,V)))),xt)break;_=_.return}0<Ee.length&&(ie=new xe(ie,Ce,null,o,le),ue.push({event:ie,listeners:Ee}))}}if((l&7)===0){e:{if(ie=r==="mouseover"||r==="pointerover",xe=r==="mouseout"||r==="pointerout",ie&&o!==un&&(Ce=o.relatedTarget||o.fromElement)&&(fi(Ce)||Ce[ar]))break e;if((xe||ie)&&(ie=le.window===le?le:(ie=le.ownerDocument)?ie.defaultView||ie.parentWindow:window,xe?(Ce=o.relatedTarget||o.toElement,xe=X,Ce=Ce?fi(Ce):null,Ce!==null&&(xt=hi(Ce),Ce!==xt||Ce.tag!==5&&Ce.tag!==6)&&(Ce=null)):(xe=null,Ce=X),xe!==Ce)){if(Ee=V1,me="onMouseLeave",U="onMouseEnter",_="mouse",(r==="pointerout"||r==="pointerover")&&(Ee=G1,me="onPointerLeave",U="onPointerEnter",_="pointer"),xt=xe==null?ie:Wi(xe),V=Ce==null?ie:Wi(Ce),ie=new Ee(me,_+"leave",xe,o,le),ie.target=xt,ie.relatedTarget=V,me=null,fi(le)===X&&(Ee=new Ee(U,_+"enter",Ce,o,le),Ee.target=V,Ee.relatedTarget=xt,me=Ee),xt=me,xe&&Ce)t:{for(Ee=xe,U=Ce,_=0,V=Ee;V;V=$i(V))_++;for(V=0,me=U;me;me=$i(me))V++;for(;0<_-V;)Ee=$i(Ee),_--;for(;0<V-_;)U=$i(U),V--;for(;_--;){if(Ee===U||U!==null&&Ee===U.alternate)break t;Ee=$i(Ee),U=$i(U)}Ee=null}else Ee=null;xe!==null&&wh(ue,ie,xe,Ee,!1),Ce!==null&&xt!==null&&wh(ue,xt,Ce,Ee,!0)}}e:{if(ie=X?Wi(X):window,xe=ie.nodeName&&ie.nodeName.toLowerCase(),xe==="select"||xe==="input"&&ie.type==="file")var Ne=O3;else if(J1(ie))if(th)Ne=H3;else{Ne=_3;var je=B3}else(xe=ie.nodeName)&&xe.toLowerCase()==="input"&&(ie.type==="checkbox"||ie.type==="radio")&&(Ne=q3);if(Ne&&(Ne=Ne(r,X))){eh(ue,Ne,o,le);break e}je&&je(r,ie,X),r==="focusout"&&(je=ie._wrapperState)&&je.controlled&&ie.type==="number"&&ir(ie,"number",ie.value)}switch(je=X?Wi(X):window,r){case"focusin":(J1(je)||je.contentEditable==="true")&&(Hi=je,Yo=X,Fl=null);break;case"focusout":Fl=Yo=Hi=null;break;case"mousedown":Qo=!0;break;case"contextmenu":case"mouseup":case"dragend":Qo=!1,uh(ue,o,le);break;case"selectionchange":if(V3)break;case"keydown":case"keyup":uh(ue,o,le)}var Ie;if(Vo)e:{switch(r){case"compositionstart":var Re="onCompositionStart";break e;case"compositionend":Re="onCompositionEnd";break e;case"compositionupdate":Re="onCompositionUpdate";break e}Re=void 0}else qi?K1(r,o)&&(Re="onCompositionEnd"):r==="keydown"&&o.keyCode===229&&(Re="onCompositionStart");Re&&(X1&&o.locale!=="ko"&&(qi||Re!=="onCompositionStart"?Re==="onCompositionEnd"&&qi&&(Ie=U1()):(Ar=le,Bo="value"in Ar?Ar.value:Ar.textContent,qi=!0)),je=Va(X,Re),0<je.length&&(Re=new W1(Re,r,null,o,le),ue.push({event:Re,listeners:je}),Ie?Re.data=Ie:(Ie=Z1(o),Ie!==null&&(Re.data=Ie)))),(Ie=D3?L3(r,o):P3(r,o))&&(X=Va(X,"onBeforeInput"),0<X.length&&(le=new W1("onBeforeInput","beforeinput",null,o,le),ue.push({event:le,listeners:X}),le.data=Ie))}yh(ue,l)})}function _l(r,l,o){return{instance:r,listener:l,currentTarget:o}}function Va(r,l){for(var o=l+"Capture",h=[];r!==null;){var g=r,y=g.stateNode;g.tag===5&&y!==null&&(g=y,y=kl(r,o),y!=null&&h.unshift(_l(r,y,g)),y=kl(r,l),y!=null&&h.push(_l(r,y,g))),r=r.return}return h}function $i(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5);return r||null}function wh(r,l,o,h,g){for(var y=l._reactName,C=[];o!==null&&o!==h;){var I=o,F=I.alternate,X=I.stateNode;if(F!==null&&F===h)break;I.tag===5&&X!==null&&(I=X,g?(F=kl(o,y),F!=null&&C.unshift(_l(o,F,I))):g||(F=kl(o,y),F!=null&&C.push(_l(o,F,I)))),o=o.return}C.length!==0&&r.push({event:l,listeners:C})}var Y3=/\r\n?/g,Q3=/\u0000|\uFFFD/g;function kh(r){return(typeof r=="string"?r:""+r).replace(Y3,`
38
- `).replace(Q3,"")}function Wa(r,l,o){if(l=kh(l),kh(r)!==l&&o)throw Error(n(425))}function Ga(){}var n0=null,r0=null;function i0(r,l){return r==="textarea"||r==="noscript"||typeof l.children=="string"||typeof l.children=="number"||typeof l.dangerouslySetInnerHTML=="object"&&l.dangerouslySetInnerHTML!==null&&l.dangerouslySetInnerHTML.__html!=null}var l0=typeof setTimeout=="function"?setTimeout:void 0,K3=typeof clearTimeout=="function"?clearTimeout:void 0,bh=typeof Promise=="function"?Promise:void 0,Z3=typeof queueMicrotask=="function"?queueMicrotask:typeof bh<"u"?function(r){return bh.resolve(null).then(r).catch(J3)}:l0;function J3(r){setTimeout(function(){throw r})}function a0(r,l){var o=l,h=0;do{var g=o.nextSibling;if(r.removeChild(o),g&&g.nodeType===8)if(o=g.data,o==="/$"){if(h===0){r.removeChild(g),Ml(l);return}h--}else o!=="$"&&o!=="$?"&&o!=="$!"||h++;o=g}while(o);Ml(l)}function jr(r){for(;r!=null;r=r.nextSibling){var l=r.nodeType;if(l===1||l===3)break;if(l===8){if(l=r.data,l==="$"||l==="$!"||l==="$?")break;if(l==="/$")return null}}return r}function Sh(r){r=r.previousSibling;for(var l=0;r;){if(r.nodeType===8){var o=r.data;if(o==="$"||o==="$!"||o==="$?"){if(l===0)return r;l--}else o==="/$"&&l++}r=r.previousSibling}return null}var Vi=Math.random().toString(36).slice(2),Gn="__reactFiber$"+Vi,ql="__reactProps$"+Vi,ar="__reactContainer$"+Vi,s0="__reactEvents$"+Vi,e5="__reactListeners$"+Vi,t5="__reactHandles$"+Vi;function fi(r){var l=r[Gn];if(l)return l;for(var o=r.parentNode;o;){if(l=o[ar]||o[Gn]){if(o=l.alternate,l.child!==null||o!==null&&o.child!==null)for(r=Sh(r);r!==null;){if(o=r[Gn])return o;r=Sh(r)}return l}r=o,o=r.parentNode}return null}function Hl(r){return r=r[Gn]||r[ar],!r||r.tag!==5&&r.tag!==6&&r.tag!==13&&r.tag!==3?null:r}function Wi(r){if(r.tag===5||r.tag===6)return r.stateNode;throw Error(n(33))}function Xa(r){return r[ql]||null}var o0=[],Gi=-1;function Ir(r){return{current:r}}function at(r){0>Gi||(r.current=o0[Gi],o0[Gi]=null,Gi--)}function it(r,l){Gi++,o0[Gi]=r.current,r.current=l}var Dr={},Ft=Ir(Dr),Zt=Ir(!1),di=Dr;function Xi(r,l){var o=r.type.contextTypes;if(!o)return Dr;var h=r.stateNode;if(h&&h.__reactInternalMemoizedUnmaskedChildContext===l)return h.__reactInternalMemoizedMaskedChildContext;var g={},y;for(y in o)g[y]=l[y];return h&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=l,r.__reactInternalMemoizedMaskedChildContext=g),g}function Jt(r){return r=r.childContextTypes,r!=null}function Ya(){at(Zt),at(Ft)}function Ch(r,l,o){if(Ft.current!==Dr)throw Error(n(168));it(Ft,l),it(Zt,o)}function Th(r,l,o){var h=r.stateNode;if(l=l.childContextTypes,typeof h.getChildContext!="function")return o;h=h.getChildContext();for(var g in h)if(!(g in l))throw Error(n(108,Ue(r)||"Unknown",g));return N({},o,h)}function Qa(r){return r=(r=r.stateNode)&&r.__reactInternalMemoizedMergedChildContext||Dr,di=Ft.current,it(Ft,r),it(Zt,Zt.current),!0}function Eh(r,l,o){var h=r.stateNode;if(!h)throw Error(n(169));o?(r=Th(r,l,di),h.__reactInternalMemoizedMergedChildContext=r,at(Zt),at(Ft),it(Ft,r)):at(Zt),it(Zt,o)}var sr=null,Ka=!1,u0=!1;function Nh(r){sr===null?sr=[r]:sr.push(r)}function n5(r){Ka=!0,Nh(r)}function Lr(){if(!u0&&sr!==null){u0=!0;var r=0,l=et;try{var o=sr;for(et=1;r<o.length;r++){var h=o[r];do h=h(!0);while(h!==null)}sr=null,Ka=!1}catch(g){throw sr!==null&&(sr=sr.slice(r+1)),A1(jo,Lr),g}finally{et=l,u0=!1}}return null}var Yi=[],Qi=0,Za=null,Ja=0,bn=[],Sn=0,mi=null,or=1,ur="";function pi(r,l){Yi[Qi++]=Ja,Yi[Qi++]=Za,Za=r,Ja=l}function zh(r,l,o){bn[Sn++]=or,bn[Sn++]=ur,bn[Sn++]=mi,mi=r;var h=or;r=ur;var g=32-Dn(h)-1;h&=~(1<<g),o+=1;var y=32-Dn(l)+g;if(30<y){var C=g-g%5;y=(h&(1<<C)-1).toString(32),h>>=C,g-=C,or=1<<32-Dn(l)+g|o<<g|h,ur=y+r}else or=1<<y|o<<g|h,ur=r}function c0(r){r.return!==null&&(pi(r,1),zh(r,1,0))}function h0(r){for(;r===Za;)Za=Yi[--Qi],Yi[Qi]=null,Ja=Yi[--Qi],Yi[Qi]=null;for(;r===mi;)mi=bn[--Sn],bn[Sn]=null,ur=bn[--Sn],bn[Sn]=null,or=bn[--Sn],bn[Sn]=null}var hn=null,fn=null,ot=!1,Pn=null;function Ah(r,l){var o=Nn(5,null,null,0);o.elementType="DELETED",o.stateNode=l,o.return=r,l=r.deletions,l===null?(r.deletions=[o],r.flags|=16):l.push(o)}function Mh(r,l){switch(r.tag){case 5:var o=r.type;return l=l.nodeType!==1||o.toLowerCase()!==l.nodeName.toLowerCase()?null:l,l!==null?(r.stateNode=l,hn=r,fn=jr(l.firstChild),!0):!1;case 6:return l=r.pendingProps===""||l.nodeType!==3?null:l,l!==null?(r.stateNode=l,hn=r,fn=null,!0):!1;case 13:return l=l.nodeType!==8?null:l,l!==null?(o=mi!==null?{id:or,overflow:ur}:null,r.memoizedState={dehydrated:l,treeContext:o,retryLane:1073741824},o=Nn(18,null,null,0),o.stateNode=l,o.return=r,r.child=o,hn=r,fn=null,!0):!1;default:return!1}}function f0(r){return(r.mode&1)!==0&&(r.flags&128)===0}function d0(r){if(ot){var l=fn;if(l){var o=l;if(!Mh(r,l)){if(f0(r))throw Error(n(418));l=jr(o.nextSibling);var h=hn;l&&Mh(r,l)?Ah(h,o):(r.flags=r.flags&-4097|2,ot=!1,hn=r)}}else{if(f0(r))throw Error(n(418));r.flags=r.flags&-4097|2,ot=!1,hn=r}}}function jh(r){for(r=r.return;r!==null&&r.tag!==5&&r.tag!==3&&r.tag!==13;)r=r.return;hn=r}function es(r){if(r!==hn)return!1;if(!ot)return jh(r),ot=!0,!1;var l;if((l=r.tag!==3)&&!(l=r.tag!==5)&&(l=r.type,l=l!=="head"&&l!=="body"&&!i0(r.type,r.memoizedProps)),l&&(l=fn)){if(f0(r))throw Ih(),Error(n(418));for(;l;)Ah(r,l),l=jr(l.nextSibling)}if(jh(r),r.tag===13){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(n(317));e:{for(r=r.nextSibling,l=0;r;){if(r.nodeType===8){var o=r.data;if(o==="/$"){if(l===0){fn=jr(r.nextSibling);break e}l--}else o!=="$"&&o!=="$!"&&o!=="$?"||l++}r=r.nextSibling}fn=null}}else fn=hn?jr(r.stateNode.nextSibling):null;return!0}function Ih(){for(var r=fn;r;)r=jr(r.nextSibling)}function Ki(){fn=hn=null,ot=!1}function m0(r){Pn===null?Pn=[r]:Pn.push(r)}var r5=J.ReactCurrentBatchConfig;function Ul(r,l,o){if(r=o.ref,r!==null&&typeof r!="function"&&typeof r!="object"){if(o._owner){if(o=o._owner,o){if(o.tag!==1)throw Error(n(309));var h=o.stateNode}if(!h)throw Error(n(147,r));var g=h,y=""+r;return l!==null&&l.ref!==null&&typeof l.ref=="function"&&l.ref._stringRef===y?l.ref:(l=function(C){var I=g.refs;C===null?delete I[y]:I[y]=C},l._stringRef=y,l)}if(typeof r!="string")throw Error(n(284));if(!o._owner)throw Error(n(290,r))}return r}function ts(r,l){throw r=Object.prototype.toString.call(l),Error(n(31,r==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":r))}function Dh(r){var l=r._init;return l(r._payload)}function Lh(r){function l(U,_){if(r){var V=U.deletions;V===null?(U.deletions=[_],U.flags|=16):V.push(_)}}function o(U,_){if(!r)return null;for(;_!==null;)l(U,_),_=_.sibling;return null}function h(U,_){for(U=new Map;_!==null;)_.key!==null?U.set(_.key,_):U.set(_.index,_),_=_.sibling;return U}function g(U,_){return U=Hr(U,_),U.index=0,U.sibling=null,U}function y(U,_,V){return U.index=V,r?(V=U.alternate,V!==null?(V=V.index,V<_?(U.flags|=2,_):V):(U.flags|=2,_)):(U.flags|=1048576,_)}function C(U){return r&&U.alternate===null&&(U.flags|=2),U}function I(U,_,V,me){return _===null||_.tag!==6?(_=lu(V,U.mode,me),_.return=U,_):(_=g(_,V),_.return=U,_)}function F(U,_,V,me){var Ne=V.type;return Ne===Q?le(U,_,V.props.children,me,V.key):_!==null&&(_.elementType===Ne||typeof Ne=="object"&&Ne!==null&&Ne.$$typeof===K&&Dh(Ne)===_.type)?(me=g(_,V.props),me.ref=Ul(U,_,V),me.return=U,me):(me=Ts(V.type,V.key,V.props,null,U.mode,me),me.ref=Ul(U,_,V),me.return=U,me)}function X(U,_,V,me){return _===null||_.tag!==4||_.stateNode.containerInfo!==V.containerInfo||_.stateNode.implementation!==V.implementation?(_=au(V,U.mode,me),_.return=U,_):(_=g(_,V.children||[]),_.return=U,_)}function le(U,_,V,me,Ne){return _===null||_.tag!==7?(_=Si(V,U.mode,me,Ne),_.return=U,_):(_=g(_,V),_.return=U,_)}function ue(U,_,V){if(typeof _=="string"&&_!==""||typeof _=="number")return _=lu(""+_,U.mode,V),_.return=U,_;if(typeof _=="object"&&_!==null){switch(_.$$typeof){case Y:return V=Ts(_.type,_.key,_.props,null,U.mode,V),V.ref=Ul(U,null,_),V.return=U,V;case O:return _=au(_,U.mode,V),_.return=U,_;case K:var me=_._init;return ue(U,me(_._payload),V)}if(on(_)||$(_))return _=Si(_,U.mode,V,null),_.return=U,_;ts(U,_)}return null}function ie(U,_,V,me){var Ne=_!==null?_.key:null;if(typeof V=="string"&&V!==""||typeof V=="number")return Ne!==null?null:I(U,_,""+V,me);if(typeof V=="object"&&V!==null){switch(V.$$typeof){case Y:return V.key===Ne?F(U,_,V,me):null;case O:return V.key===Ne?X(U,_,V,me):null;case K:return Ne=V._init,ie(U,_,Ne(V._payload),me)}if(on(V)||$(V))return Ne!==null?null:le(U,_,V,me,null);ts(U,V)}return null}function xe(U,_,V,me,Ne){if(typeof me=="string"&&me!==""||typeof me=="number")return U=U.get(V)||null,I(_,U,""+me,Ne);if(typeof me=="object"&&me!==null){switch(me.$$typeof){case Y:return U=U.get(me.key===null?V:me.key)||null,F(_,U,me,Ne);case O:return U=U.get(me.key===null?V:me.key)||null,X(_,U,me,Ne);case K:var je=me._init;return xe(U,_,V,je(me._payload),Ne)}if(on(me)||$(me))return U=U.get(V)||null,le(_,U,me,Ne,null);ts(_,me)}return null}function Ce(U,_,V,me){for(var Ne=null,je=null,Ie=_,Re=_=0,jt=null;Ie!==null&&Re<V.length;Re++){Ie.index>Re?(jt=Ie,Ie=null):jt=Ie.sibling;var Qe=ie(U,Ie,V[Re],me);if(Qe===null){Ie===null&&(Ie=jt);break}r&&Ie&&Qe.alternate===null&&l(U,Ie),_=y(Qe,_,Re),je===null?Ne=Qe:je.sibling=Qe,je=Qe,Ie=jt}if(Re===V.length)return o(U,Ie),ot&&pi(U,Re),Ne;if(Ie===null){for(;Re<V.length;Re++)Ie=ue(U,V[Re],me),Ie!==null&&(_=y(Ie,_,Re),je===null?Ne=Ie:je.sibling=Ie,je=Ie);return ot&&pi(U,Re),Ne}for(Ie=h(U,Ie);Re<V.length;Re++)jt=xe(Ie,U,Re,V[Re],me),jt!==null&&(r&&jt.alternate!==null&&Ie.delete(jt.key===null?Re:jt.key),_=y(jt,_,Re),je===null?Ne=jt:je.sibling=jt,je=jt);return r&&Ie.forEach(function(Ur){return l(U,Ur)}),ot&&pi(U,Re),Ne}function Ee(U,_,V,me){var Ne=$(V);if(typeof Ne!="function")throw Error(n(150));if(V=Ne.call(V),V==null)throw Error(n(151));for(var je=Ne=null,Ie=_,Re=_=0,jt=null,Qe=V.next();Ie!==null&&!Qe.done;Re++,Qe=V.next()){Ie.index>Re?(jt=Ie,Ie=null):jt=Ie.sibling;var Ur=ie(U,Ie,Qe.value,me);if(Ur===null){Ie===null&&(Ie=jt);break}r&&Ie&&Ur.alternate===null&&l(U,Ie),_=y(Ur,_,Re),je===null?Ne=Ur:je.sibling=Ur,je=Ur,Ie=jt}if(Qe.done)return o(U,Ie),ot&&pi(U,Re),Ne;if(Ie===null){for(;!Qe.done;Re++,Qe=V.next())Qe=ue(U,Qe.value,me),Qe!==null&&(_=y(Qe,_,Re),je===null?Ne=Qe:je.sibling=Qe,je=Qe);return ot&&pi(U,Re),Ne}for(Ie=h(U,Ie);!Qe.done;Re++,Qe=V.next())Qe=xe(Ie,U,Re,Qe.value,me),Qe!==null&&(r&&Qe.alternate!==null&&Ie.delete(Qe.key===null?Re:Qe.key),_=y(Qe,_,Re),je===null?Ne=Qe:je.sibling=Qe,je=Qe);return r&&Ie.forEach(function(R5){return l(U,R5)}),ot&&pi(U,Re),Ne}function xt(U,_,V,me){if(typeof V=="object"&&V!==null&&V.type===Q&&V.key===null&&(V=V.props.children),typeof V=="object"&&V!==null){switch(V.$$typeof){case Y:e:{for(var Ne=V.key,je=_;je!==null;){if(je.key===Ne){if(Ne=V.type,Ne===Q){if(je.tag===7){o(U,je.sibling),_=g(je,V.props.children),_.return=U,U=_;break e}}else if(je.elementType===Ne||typeof Ne=="object"&&Ne!==null&&Ne.$$typeof===K&&Dh(Ne)===je.type){o(U,je.sibling),_=g(je,V.props),_.ref=Ul(U,je,V),_.return=U,U=_;break e}o(U,je);break}else l(U,je);je=je.sibling}V.type===Q?(_=Si(V.props.children,U.mode,me,V.key),_.return=U,U=_):(me=Ts(V.type,V.key,V.props,null,U.mode,me),me.ref=Ul(U,_,V),me.return=U,U=me)}return C(U);case O:e:{for(je=V.key;_!==null;){if(_.key===je)if(_.tag===4&&_.stateNode.containerInfo===V.containerInfo&&_.stateNode.implementation===V.implementation){o(U,_.sibling),_=g(_,V.children||[]),_.return=U,U=_;break e}else{o(U,_);break}else l(U,_);_=_.sibling}_=au(V,U.mode,me),_.return=U,U=_}return C(U);case K:return je=V._init,xt(U,_,je(V._payload),me)}if(on(V))return Ce(U,_,V,me);if($(V))return Ee(U,_,V,me);ts(U,V)}return typeof V=="string"&&V!==""||typeof V=="number"?(V=""+V,_!==null&&_.tag===6?(o(U,_.sibling),_=g(_,V),_.return=U,U=_):(o(U,_),_=lu(V,U.mode,me),_.return=U,U=_),C(U)):o(U,_)}return xt}var Zi=Lh(!0),Ph=Lh(!1),ns=Ir(null),rs=null,Ji=null,p0=null;function g0(){p0=Ji=rs=null}function v0(r){var l=ns.current;at(ns),r._currentValue=l}function y0(r,l,o){for(;r!==null;){var h=r.alternate;if((r.childLanes&l)!==l?(r.childLanes|=l,h!==null&&(h.childLanes|=l)):h!==null&&(h.childLanes&l)!==l&&(h.childLanes|=l),r===o)break;r=r.return}}function el(r,l){rs=r,p0=Ji=null,r=r.dependencies,r!==null&&r.firstContext!==null&&((r.lanes&l)!==0&&(en=!0),r.firstContext=null)}function Cn(r){var l=r._currentValue;if(p0!==r)if(r={context:r,memoizedValue:l,next:null},Ji===null){if(rs===null)throw Error(n(308));Ji=r,rs.dependencies={lanes:0,firstContext:r}}else Ji=Ji.next=r;return l}var gi=null;function x0(r){gi===null?gi=[r]:gi.push(r)}function Rh(r,l,o,h){var g=l.interleaved;return g===null?(o.next=o,x0(l)):(o.next=g.next,g.next=o),l.interleaved=o,cr(r,h)}function cr(r,l){r.lanes|=l;var o=r.alternate;for(o!==null&&(o.lanes|=l),o=r,r=r.return;r!==null;)r.childLanes|=l,o=r.alternate,o!==null&&(o.childLanes|=l),o=r,r=r.return;return o.tag===3?o.stateNode:null}var Pr=!1;function w0(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Fh(r,l){r=r.updateQueue,l.updateQueue===r&&(l.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,effects:r.effects})}function hr(r,l){return{eventTime:r,lane:l,tag:0,payload:null,callback:null,next:null}}function Rr(r,l,o){var h=r.updateQueue;if(h===null)return null;if(h=h.shared,(Ye&2)!==0){var g=h.pending;return g===null?l.next=l:(l.next=g.next,g.next=l),h.pending=l,cr(r,o)}return g=h.interleaved,g===null?(l.next=l,x0(h)):(l.next=g.next,g.next=l),h.interleaved=l,cr(r,o)}function is(r,l,o){if(l=l.updateQueue,l!==null&&(l=l.shared,(o&4194240)!==0)){var h=l.lanes;h&=r.pendingLanes,o|=h,l.lanes=o,Lo(r,o)}}function Oh(r,l){var o=r.updateQueue,h=r.alternate;if(h!==null&&(h=h.updateQueue,o===h)){var g=null,y=null;if(o=o.firstBaseUpdate,o!==null){do{var C={eventTime:o.eventTime,lane:o.lane,tag:o.tag,payload:o.payload,callback:o.callback,next:null};y===null?g=y=C:y=y.next=C,o=o.next}while(o!==null);y===null?g=y=l:y=y.next=l}else g=y=l;o={baseState:h.baseState,firstBaseUpdate:g,lastBaseUpdate:y,shared:h.shared,effects:h.effects},r.updateQueue=o;return}r=o.lastBaseUpdate,r===null?o.firstBaseUpdate=l:r.next=l,o.lastBaseUpdate=l}function ls(r,l,o,h){var g=r.updateQueue;Pr=!1;var y=g.firstBaseUpdate,C=g.lastBaseUpdate,I=g.shared.pending;if(I!==null){g.shared.pending=null;var F=I,X=F.next;F.next=null,C===null?y=X:C.next=X,C=F;var le=r.alternate;le!==null&&(le=le.updateQueue,I=le.lastBaseUpdate,I!==C&&(I===null?le.firstBaseUpdate=X:I.next=X,le.lastBaseUpdate=F))}if(y!==null){var ue=g.baseState;C=0,le=X=F=null,I=y;do{var ie=I.lane,xe=I.eventTime;if((h&ie)===ie){le!==null&&(le=le.next={eventTime:xe,lane:0,tag:I.tag,payload:I.payload,callback:I.callback,next:null});e:{var Ce=r,Ee=I;switch(ie=l,xe=o,Ee.tag){case 1:if(Ce=Ee.payload,typeof Ce=="function"){ue=Ce.call(xe,ue,ie);break e}ue=Ce;break e;case 3:Ce.flags=Ce.flags&-65537|128;case 0:if(Ce=Ee.payload,ie=typeof Ce=="function"?Ce.call(xe,ue,ie):Ce,ie==null)break e;ue=N({},ue,ie);break e;case 2:Pr=!0}}I.callback!==null&&I.lane!==0&&(r.flags|=64,ie=g.effects,ie===null?g.effects=[I]:ie.push(I))}else xe={eventTime:xe,lane:ie,tag:I.tag,payload:I.payload,callback:I.callback,next:null},le===null?(X=le=xe,F=ue):le=le.next=xe,C|=ie;if(I=I.next,I===null){if(I=g.shared.pending,I===null)break;ie=I,I=ie.next,ie.next=null,g.lastBaseUpdate=ie,g.shared.pending=null}}while(!0);if(le===null&&(F=ue),g.baseState=F,g.firstBaseUpdate=X,g.lastBaseUpdate=le,l=g.shared.interleaved,l!==null){g=l;do C|=g.lane,g=g.next;while(g!==l)}else y===null&&(g.shared.lanes=0);xi|=C,r.lanes=C,r.memoizedState=ue}}function Bh(r,l,o){if(r=l.effects,l.effects=null,r!==null)for(l=0;l<r.length;l++){var h=r[l],g=h.callback;if(g!==null){if(h.callback=null,h=o,typeof g!="function")throw Error(n(191,g));g.call(h)}}}var $l={},Xn=Ir($l),Vl=Ir($l),Wl=Ir($l);function vi(r){if(r===$l)throw Error(n(174));return r}function k0(r,l){switch(it(Wl,l),it(Vl,r),it(Xn,$l),r=l.nodeType,r){case 9:case 11:l=(l=l.documentElement)?l.namespaceURI:ge(null,"");break;default:r=r===8?l.parentNode:l,l=r.namespaceURI||null,r=r.tagName,l=ge(l,r)}at(Xn),it(Xn,l)}function tl(){at(Xn),at(Vl),at(Wl)}function _h(r){vi(Wl.current);var l=vi(Xn.current),o=ge(l,r.type);l!==o&&(it(Vl,r),it(Xn,o))}function b0(r){Vl.current===r&&(at(Xn),at(Vl))}var ft=Ir(0);function as(r){for(var l=r;l!==null;){if(l.tag===13){var o=l.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||o.data==="$?"||o.data==="$!"))return l}else if(l.tag===19&&l.memoizedProps.revealOrder!==void 0){if((l.flags&128)!==0)return l}else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===r)break;for(;l.sibling===null;){if(l.return===null||l.return===r)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}var S0=[];function C0(){for(var r=0;r<S0.length;r++)S0[r]._workInProgressVersionPrimary=null;S0.length=0}var ss=J.ReactCurrentDispatcher,T0=J.ReactCurrentBatchConfig,yi=0,dt=null,Tt=null,At=null,os=!1,Gl=!1,Xl=0,i5=0;function Ot(){throw Error(n(321))}function E0(r,l){if(l===null)return!1;for(var o=0;o<l.length&&o<r.length;o++)if(!Ln(r[o],l[o]))return!1;return!0}function N0(r,l,o,h,g,y){if(yi=y,dt=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,ss.current=r===null||r.memoizedState===null?o5:u5,r=o(h,g),Gl){y=0;do{if(Gl=!1,Xl=0,25<=y)throw Error(n(301));y+=1,At=Tt=null,l.updateQueue=null,ss.current=c5,r=o(h,g)}while(Gl)}if(ss.current=hs,l=Tt!==null&&Tt.next!==null,yi=0,At=Tt=dt=null,os=!1,l)throw Error(n(300));return r}function z0(){var r=Xl!==0;return Xl=0,r}function Yn(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return At===null?dt.memoizedState=At=r:At=At.next=r,At}function Tn(){if(Tt===null){var r=dt.alternate;r=r!==null?r.memoizedState:null}else r=Tt.next;var l=At===null?dt.memoizedState:At.next;if(l!==null)At=l,Tt=r;else{if(r===null)throw Error(n(310));Tt=r,r={memoizedState:Tt.memoizedState,baseState:Tt.baseState,baseQueue:Tt.baseQueue,queue:Tt.queue,next:null},At===null?dt.memoizedState=At=r:At=At.next=r}return At}function Yl(r,l){return typeof l=="function"?l(r):l}function A0(r){var l=Tn(),o=l.queue;if(o===null)throw Error(n(311));o.lastRenderedReducer=r;var h=Tt,g=h.baseQueue,y=o.pending;if(y!==null){if(g!==null){var C=g.next;g.next=y.next,y.next=C}h.baseQueue=g=y,o.pending=null}if(g!==null){y=g.next,h=h.baseState;var I=C=null,F=null,X=y;do{var le=X.lane;if((yi&le)===le)F!==null&&(F=F.next={lane:0,action:X.action,hasEagerState:X.hasEagerState,eagerState:X.eagerState,next:null}),h=X.hasEagerState?X.eagerState:r(h,X.action);else{var ue={lane:le,action:X.action,hasEagerState:X.hasEagerState,eagerState:X.eagerState,next:null};F===null?(I=F=ue,C=h):F=F.next=ue,dt.lanes|=le,xi|=le}X=X.next}while(X!==null&&X!==y);F===null?C=h:F.next=I,Ln(h,l.memoizedState)||(en=!0),l.memoizedState=h,l.baseState=C,l.baseQueue=F,o.lastRenderedState=h}if(r=o.interleaved,r!==null){g=r;do y=g.lane,dt.lanes|=y,xi|=y,g=g.next;while(g!==r)}else g===null&&(o.lanes=0);return[l.memoizedState,o.dispatch]}function M0(r){var l=Tn(),o=l.queue;if(o===null)throw Error(n(311));o.lastRenderedReducer=r;var h=o.dispatch,g=o.pending,y=l.memoizedState;if(g!==null){o.pending=null;var C=g=g.next;do y=r(y,C.action),C=C.next;while(C!==g);Ln(y,l.memoizedState)||(en=!0),l.memoizedState=y,l.baseQueue===null&&(l.baseState=y),o.lastRenderedState=y}return[y,h]}function qh(){}function Hh(r,l){var o=dt,h=Tn(),g=l(),y=!Ln(h.memoizedState,g);if(y&&(h.memoizedState=g,en=!0),h=h.queue,j0(Vh.bind(null,o,h,r),[r]),h.getSnapshot!==l||y||At!==null&&At.memoizedState.tag&1){if(o.flags|=2048,Ql(9,$h.bind(null,o,h,g,l),void 0,null),Mt===null)throw Error(n(349));(yi&30)!==0||Uh(o,l,g)}return g}function Uh(r,l,o){r.flags|=16384,r={getSnapshot:l,value:o},l=dt.updateQueue,l===null?(l={lastEffect:null,stores:null},dt.updateQueue=l,l.stores=[r]):(o=l.stores,o===null?l.stores=[r]:o.push(r))}function $h(r,l,o,h){l.value=o,l.getSnapshot=h,Wh(l)&&Gh(r)}function Vh(r,l,o){return o(function(){Wh(l)&&Gh(r)})}function Wh(r){var l=r.getSnapshot;r=r.value;try{var o=l();return!Ln(r,o)}catch{return!0}}function Gh(r){var l=cr(r,1);l!==null&&Bn(l,r,1,-1)}function Xh(r){var l=Yn();return typeof r=="function"&&(r=r()),l.memoizedState=l.baseState=r,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Yl,lastRenderedState:r},l.queue=r,r=r.dispatch=s5.bind(null,dt,r),[l.memoizedState,r]}function Ql(r,l,o,h){return r={tag:r,create:l,destroy:o,deps:h,next:null},l=dt.updateQueue,l===null?(l={lastEffect:null,stores:null},dt.updateQueue=l,l.lastEffect=r.next=r):(o=l.lastEffect,o===null?l.lastEffect=r.next=r:(h=o.next,o.next=r,r.next=h,l.lastEffect=r)),r}function Yh(){return Tn().memoizedState}function us(r,l,o,h){var g=Yn();dt.flags|=r,g.memoizedState=Ql(1|l,o,void 0,h===void 0?null:h)}function cs(r,l,o,h){var g=Tn();h=h===void 0?null:h;var y=void 0;if(Tt!==null){var C=Tt.memoizedState;if(y=C.destroy,h!==null&&E0(h,C.deps)){g.memoizedState=Ql(l,o,y,h);return}}dt.flags|=r,g.memoizedState=Ql(1|l,o,y,h)}function Qh(r,l){return us(8390656,8,r,l)}function j0(r,l){return cs(2048,8,r,l)}function Kh(r,l){return cs(4,2,r,l)}function Zh(r,l){return cs(4,4,r,l)}function Jh(r,l){if(typeof l=="function")return r=r(),l(r),function(){l(null)};if(l!=null)return r=r(),l.current=r,function(){l.current=null}}function ef(r,l,o){return o=o!=null?o.concat([r]):null,cs(4,4,Jh.bind(null,l,r),o)}function I0(){}function tf(r,l){var o=Tn();l=l===void 0?null:l;var h=o.memoizedState;return h!==null&&l!==null&&E0(l,h[1])?h[0]:(o.memoizedState=[r,l],r)}function nf(r,l){var o=Tn();l=l===void 0?null:l;var h=o.memoizedState;return h!==null&&l!==null&&E0(l,h[1])?h[0]:(r=r(),o.memoizedState=[r,l],r)}function rf(r,l,o){return(yi&21)===0?(r.baseState&&(r.baseState=!1,en=!0),r.memoizedState=o):(Ln(o,l)||(o=D1(),dt.lanes|=o,xi|=o,r.baseState=!0),l)}function l5(r,l){var o=et;et=o!==0&&4>o?o:4,r(!0);var h=T0.transition;T0.transition={};try{r(!1),l()}finally{et=o,T0.transition=h}}function lf(){return Tn().memoizedState}function a5(r,l,o){var h=_r(r);if(o={lane:h,action:o,hasEagerState:!1,eagerState:null,next:null},af(r))sf(l,o);else if(o=Rh(r,l,o,h),o!==null){var g=Wt();Bn(o,r,h,g),of(o,l,h)}}function s5(r,l,o){var h=_r(r),g={lane:h,action:o,hasEagerState:!1,eagerState:null,next:null};if(af(r))sf(l,g);else{var y=r.alternate;if(r.lanes===0&&(y===null||y.lanes===0)&&(y=l.lastRenderedReducer,y!==null))try{var C=l.lastRenderedState,I=y(C,o);if(g.hasEagerState=!0,g.eagerState=I,Ln(I,C)){var F=l.interleaved;F===null?(g.next=g,x0(l)):(g.next=F.next,F.next=g),l.interleaved=g;return}}catch{}finally{}o=Rh(r,l,g,h),o!==null&&(g=Wt(),Bn(o,r,h,g),of(o,l,h))}}function af(r){var l=r.alternate;return r===dt||l!==null&&l===dt}function sf(r,l){Gl=os=!0;var o=r.pending;o===null?l.next=l:(l.next=o.next,o.next=l),r.pending=l}function of(r,l,o){if((o&4194240)!==0){var h=l.lanes;h&=r.pendingLanes,o|=h,l.lanes=o,Lo(r,o)}}var hs={readContext:Cn,useCallback:Ot,useContext:Ot,useEffect:Ot,useImperativeHandle:Ot,useInsertionEffect:Ot,useLayoutEffect:Ot,useMemo:Ot,useReducer:Ot,useRef:Ot,useState:Ot,useDebugValue:Ot,useDeferredValue:Ot,useTransition:Ot,useMutableSource:Ot,useSyncExternalStore:Ot,useId:Ot,unstable_isNewReconciler:!1},o5={readContext:Cn,useCallback:function(r,l){return Yn().memoizedState=[r,l===void 0?null:l],r},useContext:Cn,useEffect:Qh,useImperativeHandle:function(r,l,o){return o=o!=null?o.concat([r]):null,us(4194308,4,Jh.bind(null,l,r),o)},useLayoutEffect:function(r,l){return us(4194308,4,r,l)},useInsertionEffect:function(r,l){return us(4,2,r,l)},useMemo:function(r,l){var o=Yn();return l=l===void 0?null:l,r=r(),o.memoizedState=[r,l],r},useReducer:function(r,l,o){var h=Yn();return l=o!==void 0?o(l):l,h.memoizedState=h.baseState=l,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:l},h.queue=r,r=r.dispatch=a5.bind(null,dt,r),[h.memoizedState,r]},useRef:function(r){var l=Yn();return r={current:r},l.memoizedState=r},useState:Xh,useDebugValue:I0,useDeferredValue:function(r){return Yn().memoizedState=r},useTransition:function(){var r=Xh(!1),l=r[0];return r=l5.bind(null,r[1]),Yn().memoizedState=r,[l,r]},useMutableSource:function(){},useSyncExternalStore:function(r,l,o){var h=dt,g=Yn();if(ot){if(o===void 0)throw Error(n(407));o=o()}else{if(o=l(),Mt===null)throw Error(n(349));(yi&30)!==0||Uh(h,l,o)}g.memoizedState=o;var y={value:o,getSnapshot:l};return g.queue=y,Qh(Vh.bind(null,h,y,r),[r]),h.flags|=2048,Ql(9,$h.bind(null,h,y,o,l),void 0,null),o},useId:function(){var r=Yn(),l=Mt.identifierPrefix;if(ot){var o=ur,h=or;o=(h&~(1<<32-Dn(h)-1)).toString(32)+o,l=":"+l+"R"+o,o=Xl++,0<o&&(l+="H"+o.toString(32)),l+=":"}else o=i5++,l=":"+l+"r"+o.toString(32)+":";return r.memoizedState=l},unstable_isNewReconciler:!1},u5={readContext:Cn,useCallback:tf,useContext:Cn,useEffect:j0,useImperativeHandle:ef,useInsertionEffect:Kh,useLayoutEffect:Zh,useMemo:nf,useReducer:A0,useRef:Yh,useState:function(){return A0(Yl)},useDebugValue:I0,useDeferredValue:function(r){var l=Tn();return rf(l,Tt.memoizedState,r)},useTransition:function(){var r=A0(Yl)[0],l=Tn().memoizedState;return[r,l]},useMutableSource:qh,useSyncExternalStore:Hh,useId:lf,unstable_isNewReconciler:!1},c5={readContext:Cn,useCallback:tf,useContext:Cn,useEffect:j0,useImperativeHandle:ef,useInsertionEffect:Kh,useLayoutEffect:Zh,useMemo:nf,useReducer:M0,useRef:Yh,useState:function(){return M0(Yl)},useDebugValue:I0,useDeferredValue:function(r){var l=Tn();return Tt===null?l.memoizedState=r:rf(l,Tt.memoizedState,r)},useTransition:function(){var r=M0(Yl)[0],l=Tn().memoizedState;return[r,l]},useMutableSource:qh,useSyncExternalStore:Hh,useId:lf,unstable_isNewReconciler:!1};function Rn(r,l){if(r&&r.defaultProps){l=N({},l),r=r.defaultProps;for(var o in r)l[o]===void 0&&(l[o]=r[o]);return l}return l}function D0(r,l,o,h){l=r.memoizedState,o=o(h,l),o=o==null?l:N({},l,o),r.memoizedState=o,r.lanes===0&&(r.updateQueue.baseState=o)}var fs={isMounted:function(r){return(r=r._reactInternals)?hi(r)===r:!1},enqueueSetState:function(r,l,o){r=r._reactInternals;var h=Wt(),g=_r(r),y=hr(h,g);y.payload=l,o!=null&&(y.callback=o),l=Rr(r,y,g),l!==null&&(Bn(l,r,g,h),is(l,r,g))},enqueueReplaceState:function(r,l,o){r=r._reactInternals;var h=Wt(),g=_r(r),y=hr(h,g);y.tag=1,y.payload=l,o!=null&&(y.callback=o),l=Rr(r,y,g),l!==null&&(Bn(l,r,g,h),is(l,r,g))},enqueueForceUpdate:function(r,l){r=r._reactInternals;var o=Wt(),h=_r(r),g=hr(o,h);g.tag=2,l!=null&&(g.callback=l),l=Rr(r,g,h),l!==null&&(Bn(l,r,h,o),is(l,r,h))}};function uf(r,l,o,h,g,y,C){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(h,y,C):l.prototype&&l.prototype.isPureReactComponent?!Rl(o,h)||!Rl(g,y):!0}function cf(r,l,o){var h=!1,g=Dr,y=l.contextType;return typeof y=="object"&&y!==null?y=Cn(y):(g=Jt(l)?di:Ft.current,h=l.contextTypes,y=(h=h!=null)?Xi(r,g):Dr),l=new l(o,y),r.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,l.updater=fs,r.stateNode=l,l._reactInternals=r,h&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=g,r.__reactInternalMemoizedMaskedChildContext=y),l}function hf(r,l,o,h){r=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(o,h),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(o,h),l.state!==r&&fs.enqueueReplaceState(l,l.state,null)}function L0(r,l,o,h){var g=r.stateNode;g.props=o,g.state=r.memoizedState,g.refs={},w0(r);var y=l.contextType;typeof y=="object"&&y!==null?g.context=Cn(y):(y=Jt(l)?di:Ft.current,g.context=Xi(r,y)),g.state=r.memoizedState,y=l.getDerivedStateFromProps,typeof y=="function"&&(D0(r,l,y,o),g.state=r.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof g.getSnapshotBeforeUpdate=="function"||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(l=g.state,typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount(),l!==g.state&&fs.enqueueReplaceState(g,g.state,null),ls(r,o,g,h),g.state=r.memoizedState),typeof g.componentDidMount=="function"&&(r.flags|=4194308)}function nl(r,l){try{var o="",h=l;do o+=Le(h),h=h.return;while(h);var g=o}catch(y){g=`
39
- Error generating stack: `+y.message+`
40
- `+y.stack}return{value:r,source:l,stack:g,digest:null}}function P0(r,l,o){return{value:r,source:null,stack:o??null,digest:l??null}}function R0(r,l){try{console.error(l.value)}catch(o){setTimeout(function(){throw o})}}var h5=typeof WeakMap=="function"?WeakMap:Map;function ff(r,l,o){o=hr(-1,o),o.tag=3,o.payload={element:null};var h=l.value;return o.callback=function(){xs||(xs=!0,K0=h),R0(r,l)},o}function df(r,l,o){o=hr(-1,o),o.tag=3;var h=r.type.getDerivedStateFromError;if(typeof h=="function"){var g=l.value;o.payload=function(){return h(g)},o.callback=function(){R0(r,l)}}var y=r.stateNode;return y!==null&&typeof y.componentDidCatch=="function"&&(o.callback=function(){R0(r,l),typeof h!="function"&&(Or===null?Or=new Set([this]):Or.add(this));var C=l.stack;this.componentDidCatch(l.value,{componentStack:C!==null?C:""})}),o}function mf(r,l,o){var h=r.pingCache;if(h===null){h=r.pingCache=new h5;var g=new Set;h.set(l,g)}else g=h.get(l),g===void 0&&(g=new Set,h.set(l,g));g.has(o)||(g.add(o),r=T5.bind(null,r,l,o),l.then(r,r))}function pf(r){do{var l;if((l=r.tag===13)&&(l=r.memoizedState,l=l!==null?l.dehydrated!==null:!0),l)return r;r=r.return}while(r!==null);return null}function gf(r,l,o,h,g){return(r.mode&1)===0?(r===l?r.flags|=65536:(r.flags|=128,o.flags|=131072,o.flags&=-52805,o.tag===1&&(o.alternate===null?o.tag=17:(l=hr(-1,1),l.tag=2,Rr(o,l,1))),o.lanes|=1),r):(r.flags|=65536,r.lanes=g,r)}var f5=J.ReactCurrentOwner,en=!1;function Vt(r,l,o,h){l.child=r===null?Ph(l,null,o,h):Zi(l,r.child,o,h)}function vf(r,l,o,h,g){o=o.render;var y=l.ref;return el(l,g),h=N0(r,l,o,h,y,g),o=z0(),r!==null&&!en?(l.updateQueue=r.updateQueue,l.flags&=-2053,r.lanes&=~g,fr(r,l,g)):(ot&&o&&c0(l),l.flags|=1,Vt(r,l,h,g),l.child)}function yf(r,l,o,h,g){if(r===null){var y=o.type;return typeof y=="function"&&!iu(y)&&y.defaultProps===void 0&&o.compare===null&&o.defaultProps===void 0?(l.tag=15,l.type=y,xf(r,l,y,h,g)):(r=Ts(o.type,null,h,l,l.mode,g),r.ref=l.ref,r.return=l,l.child=r)}if(y=r.child,(r.lanes&g)===0){var C=y.memoizedProps;if(o=o.compare,o=o!==null?o:Rl,o(C,h)&&r.ref===l.ref)return fr(r,l,g)}return l.flags|=1,r=Hr(y,h),r.ref=l.ref,r.return=l,l.child=r}function xf(r,l,o,h,g){if(r!==null){var y=r.memoizedProps;if(Rl(y,h)&&r.ref===l.ref)if(en=!1,l.pendingProps=h=y,(r.lanes&g)!==0)(r.flags&131072)!==0&&(en=!0);else return l.lanes=r.lanes,fr(r,l,g)}return F0(r,l,o,h,g)}function wf(r,l,o){var h=l.pendingProps,g=h.children,y=r!==null?r.memoizedState:null;if(h.mode==="hidden")if((l.mode&1)===0)l.memoizedState={baseLanes:0,cachePool:null,transitions:null},it(il,dn),dn|=o;else{if((o&1073741824)===0)return r=y!==null?y.baseLanes|o:o,l.lanes=l.childLanes=1073741824,l.memoizedState={baseLanes:r,cachePool:null,transitions:null},l.updateQueue=null,it(il,dn),dn|=r,null;l.memoizedState={baseLanes:0,cachePool:null,transitions:null},h=y!==null?y.baseLanes:o,it(il,dn),dn|=h}else y!==null?(h=y.baseLanes|o,l.memoizedState=null):h=o,it(il,dn),dn|=h;return Vt(r,l,g,o),l.child}function kf(r,l){var o=l.ref;(r===null&&o!==null||r!==null&&r.ref!==o)&&(l.flags|=512,l.flags|=2097152)}function F0(r,l,o,h,g){var y=Jt(o)?di:Ft.current;return y=Xi(l,y),el(l,g),o=N0(r,l,o,h,y,g),h=z0(),r!==null&&!en?(l.updateQueue=r.updateQueue,l.flags&=-2053,r.lanes&=~g,fr(r,l,g)):(ot&&h&&c0(l),l.flags|=1,Vt(r,l,o,g),l.child)}function bf(r,l,o,h,g){if(Jt(o)){var y=!0;Qa(l)}else y=!1;if(el(l,g),l.stateNode===null)ms(r,l),cf(l,o,h),L0(l,o,h,g),h=!0;else if(r===null){var C=l.stateNode,I=l.memoizedProps;C.props=I;var F=C.context,X=o.contextType;typeof X=="object"&&X!==null?X=Cn(X):(X=Jt(o)?di:Ft.current,X=Xi(l,X));var le=o.getDerivedStateFromProps,ue=typeof le=="function"||typeof C.getSnapshotBeforeUpdate=="function";ue||typeof C.UNSAFE_componentWillReceiveProps!="function"&&typeof C.componentWillReceiveProps!="function"||(I!==h||F!==X)&&hf(l,C,h,X),Pr=!1;var ie=l.memoizedState;C.state=ie,ls(l,h,C,g),F=l.memoizedState,I!==h||ie!==F||Zt.current||Pr?(typeof le=="function"&&(D0(l,o,le,h),F=l.memoizedState),(I=Pr||uf(l,o,I,h,ie,F,X))?(ue||typeof C.UNSAFE_componentWillMount!="function"&&typeof C.componentWillMount!="function"||(typeof C.componentWillMount=="function"&&C.componentWillMount(),typeof C.UNSAFE_componentWillMount=="function"&&C.UNSAFE_componentWillMount()),typeof C.componentDidMount=="function"&&(l.flags|=4194308)):(typeof C.componentDidMount=="function"&&(l.flags|=4194308),l.memoizedProps=h,l.memoizedState=F),C.props=h,C.state=F,C.context=X,h=I):(typeof C.componentDidMount=="function"&&(l.flags|=4194308),h=!1)}else{C=l.stateNode,Fh(r,l),I=l.memoizedProps,X=l.type===l.elementType?I:Rn(l.type,I),C.props=X,ue=l.pendingProps,ie=C.context,F=o.contextType,typeof F=="object"&&F!==null?F=Cn(F):(F=Jt(o)?di:Ft.current,F=Xi(l,F));var xe=o.getDerivedStateFromProps;(le=typeof xe=="function"||typeof C.getSnapshotBeforeUpdate=="function")||typeof C.UNSAFE_componentWillReceiveProps!="function"&&typeof C.componentWillReceiveProps!="function"||(I!==ue||ie!==F)&&hf(l,C,h,F),Pr=!1,ie=l.memoizedState,C.state=ie,ls(l,h,C,g);var Ce=l.memoizedState;I!==ue||ie!==Ce||Zt.current||Pr?(typeof xe=="function"&&(D0(l,o,xe,h),Ce=l.memoizedState),(X=Pr||uf(l,o,X,h,ie,Ce,F)||!1)?(le||typeof C.UNSAFE_componentWillUpdate!="function"&&typeof C.componentWillUpdate!="function"||(typeof C.componentWillUpdate=="function"&&C.componentWillUpdate(h,Ce,F),typeof C.UNSAFE_componentWillUpdate=="function"&&C.UNSAFE_componentWillUpdate(h,Ce,F)),typeof C.componentDidUpdate=="function"&&(l.flags|=4),typeof C.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof C.componentDidUpdate!="function"||I===r.memoizedProps&&ie===r.memoizedState||(l.flags|=4),typeof C.getSnapshotBeforeUpdate!="function"||I===r.memoizedProps&&ie===r.memoizedState||(l.flags|=1024),l.memoizedProps=h,l.memoizedState=Ce),C.props=h,C.state=Ce,C.context=F,h=X):(typeof C.componentDidUpdate!="function"||I===r.memoizedProps&&ie===r.memoizedState||(l.flags|=4),typeof C.getSnapshotBeforeUpdate!="function"||I===r.memoizedProps&&ie===r.memoizedState||(l.flags|=1024),h=!1)}return O0(r,l,o,h,y,g)}function O0(r,l,o,h,g,y){kf(r,l);var C=(l.flags&128)!==0;if(!h&&!C)return g&&Eh(l,o,!1),fr(r,l,y);h=l.stateNode,f5.current=l;var I=C&&typeof o.getDerivedStateFromError!="function"?null:h.render();return l.flags|=1,r!==null&&C?(l.child=Zi(l,r.child,null,y),l.child=Zi(l,null,I,y)):Vt(r,l,I,y),l.memoizedState=h.state,g&&Eh(l,o,!0),l.child}function Sf(r){var l=r.stateNode;l.pendingContext?Ch(r,l.pendingContext,l.pendingContext!==l.context):l.context&&Ch(r,l.context,!1),k0(r,l.containerInfo)}function Cf(r,l,o,h,g){return Ki(),m0(g),l.flags|=256,Vt(r,l,o,h),l.child}var B0={dehydrated:null,treeContext:null,retryLane:0};function _0(r){return{baseLanes:r,cachePool:null,transitions:null}}function Tf(r,l,o){var h=l.pendingProps,g=ft.current,y=!1,C=(l.flags&128)!==0,I;if((I=C)||(I=r!==null&&r.memoizedState===null?!1:(g&2)!==0),I?(y=!0,l.flags&=-129):(r===null||r.memoizedState!==null)&&(g|=1),it(ft,g&1),r===null)return d0(l),r=l.memoizedState,r!==null&&(r=r.dehydrated,r!==null)?((l.mode&1)===0?l.lanes=1:r.data==="$!"?l.lanes=8:l.lanes=1073741824,null):(C=h.children,r=h.fallback,y?(h=l.mode,y=l.child,C={mode:"hidden",children:C},(h&1)===0&&y!==null?(y.childLanes=0,y.pendingProps=C):y=Es(C,h,0,null),r=Si(r,h,o,null),y.return=l,r.return=l,y.sibling=r,l.child=y,l.child.memoizedState=_0(o),l.memoizedState=B0,r):q0(l,C));if(g=r.memoizedState,g!==null&&(I=g.dehydrated,I!==null))return d5(r,l,C,h,I,g,o);if(y){y=h.fallback,C=l.mode,g=r.child,I=g.sibling;var F={mode:"hidden",children:h.children};return(C&1)===0&&l.child!==g?(h=l.child,h.childLanes=0,h.pendingProps=F,l.deletions=null):(h=Hr(g,F),h.subtreeFlags=g.subtreeFlags&14680064),I!==null?y=Hr(I,y):(y=Si(y,C,o,null),y.flags|=2),y.return=l,h.return=l,h.sibling=y,l.child=h,h=y,y=l.child,C=r.child.memoizedState,C=C===null?_0(o):{baseLanes:C.baseLanes|o,cachePool:null,transitions:C.transitions},y.memoizedState=C,y.childLanes=r.childLanes&~o,l.memoizedState=B0,h}return y=r.child,r=y.sibling,h=Hr(y,{mode:"visible",children:h.children}),(l.mode&1)===0&&(h.lanes=o),h.return=l,h.sibling=null,r!==null&&(o=l.deletions,o===null?(l.deletions=[r],l.flags|=16):o.push(r)),l.child=h,l.memoizedState=null,h}function q0(r,l){return l=Es({mode:"visible",children:l},r.mode,0,null),l.return=r,r.child=l}function ds(r,l,o,h){return h!==null&&m0(h),Zi(l,r.child,null,o),r=q0(l,l.pendingProps.children),r.flags|=2,l.memoizedState=null,r}function d5(r,l,o,h,g,y,C){if(o)return l.flags&256?(l.flags&=-257,h=P0(Error(n(422))),ds(r,l,C,h)):l.memoizedState!==null?(l.child=r.child,l.flags|=128,null):(y=h.fallback,g=l.mode,h=Es({mode:"visible",children:h.children},g,0,null),y=Si(y,g,C,null),y.flags|=2,h.return=l,y.return=l,h.sibling=y,l.child=h,(l.mode&1)!==0&&Zi(l,r.child,null,C),l.child.memoizedState=_0(C),l.memoizedState=B0,y);if((l.mode&1)===0)return ds(r,l,C,null);if(g.data==="$!"){if(h=g.nextSibling&&g.nextSibling.dataset,h)var I=h.dgst;return h=I,y=Error(n(419)),h=P0(y,h,void 0),ds(r,l,C,h)}if(I=(C&r.childLanes)!==0,en||I){if(h=Mt,h!==null){switch(C&-C){case 4:g=2;break;case 16:g=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:g=32;break;case 536870912:g=268435456;break;default:g=0}g=(g&(h.suspendedLanes|C))!==0?0:g,g!==0&&g!==y.retryLane&&(y.retryLane=g,cr(r,g),Bn(h,r,g,-1))}return ru(),h=P0(Error(n(421))),ds(r,l,C,h)}return g.data==="$?"?(l.flags|=128,l.child=r.child,l=E5.bind(null,r),g._reactRetry=l,null):(r=y.treeContext,fn=jr(g.nextSibling),hn=l,ot=!0,Pn=null,r!==null&&(bn[Sn++]=or,bn[Sn++]=ur,bn[Sn++]=mi,or=r.id,ur=r.overflow,mi=l),l=q0(l,h.children),l.flags|=4096,l)}function Ef(r,l,o){r.lanes|=l;var h=r.alternate;h!==null&&(h.lanes|=l),y0(r.return,l,o)}function H0(r,l,o,h,g){var y=r.memoizedState;y===null?r.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:h,tail:o,tailMode:g}:(y.isBackwards=l,y.rendering=null,y.renderingStartTime=0,y.last=h,y.tail=o,y.tailMode=g)}function Nf(r,l,o){var h=l.pendingProps,g=h.revealOrder,y=h.tail;if(Vt(r,l,h.children,o),h=ft.current,(h&2)!==0)h=h&1|2,l.flags|=128;else{if(r!==null&&(r.flags&128)!==0)e:for(r=l.child;r!==null;){if(r.tag===13)r.memoizedState!==null&&Ef(r,o,l);else if(r.tag===19)Ef(r,o,l);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===l)break e;for(;r.sibling===null;){if(r.return===null||r.return===l)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}h&=1}if(it(ft,h),(l.mode&1)===0)l.memoizedState=null;else switch(g){case"forwards":for(o=l.child,g=null;o!==null;)r=o.alternate,r!==null&&as(r)===null&&(g=o),o=o.sibling;o=g,o===null?(g=l.child,l.child=null):(g=o.sibling,o.sibling=null),H0(l,!1,g,o,y);break;case"backwards":for(o=null,g=l.child,l.child=null;g!==null;){if(r=g.alternate,r!==null&&as(r)===null){l.child=g;break}r=g.sibling,g.sibling=o,o=g,g=r}H0(l,!0,o,null,y);break;case"together":H0(l,!1,null,null,void 0);break;default:l.memoizedState=null}return l.child}function ms(r,l){(l.mode&1)===0&&r!==null&&(r.alternate=null,l.alternate=null,l.flags|=2)}function fr(r,l,o){if(r!==null&&(l.dependencies=r.dependencies),xi|=l.lanes,(o&l.childLanes)===0)return null;if(r!==null&&l.child!==r.child)throw Error(n(153));if(l.child!==null){for(r=l.child,o=Hr(r,r.pendingProps),l.child=o,o.return=l;r.sibling!==null;)r=r.sibling,o=o.sibling=Hr(r,r.pendingProps),o.return=l;o.sibling=null}return l.child}function m5(r,l,o){switch(l.tag){case 3:Sf(l),Ki();break;case 5:_h(l);break;case 1:Jt(l.type)&&Qa(l);break;case 4:k0(l,l.stateNode.containerInfo);break;case 10:var h=l.type._context,g=l.memoizedProps.value;it(ns,h._currentValue),h._currentValue=g;break;case 13:if(h=l.memoizedState,h!==null)return h.dehydrated!==null?(it(ft,ft.current&1),l.flags|=128,null):(o&l.child.childLanes)!==0?Tf(r,l,o):(it(ft,ft.current&1),r=fr(r,l,o),r!==null?r.sibling:null);it(ft,ft.current&1);break;case 19:if(h=(o&l.childLanes)!==0,(r.flags&128)!==0){if(h)return Nf(r,l,o);l.flags|=128}if(g=l.memoizedState,g!==null&&(g.rendering=null,g.tail=null,g.lastEffect=null),it(ft,ft.current),h)break;return null;case 22:case 23:return l.lanes=0,wf(r,l,o)}return fr(r,l,o)}var zf,U0,Af,Mf;zf=function(r,l){for(var o=l.child;o!==null;){if(o.tag===5||o.tag===6)r.appendChild(o.stateNode);else if(o.tag!==4&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===l)break;for(;o.sibling===null;){if(o.return===null||o.return===l)return;o=o.return}o.sibling.return=o.return,o=o.sibling}},U0=function(){},Af=function(r,l,o,h){var g=r.memoizedProps;if(g!==h){r=l.stateNode,vi(Xn.current);var y=null;switch(o){case"input":g=Un(r,g),h=Un(r,h),y=[];break;case"select":g=N({},g,{value:void 0}),h=N({},h,{value:void 0}),y=[];break;case"textarea":g=si(r,g),h=si(r,h),y=[];break;default:typeof g.onClick!="function"&&typeof h.onClick=="function"&&(r.onclick=Ga)}Dt(o,h);var C;o=null;for(X in g)if(!h.hasOwnProperty(X)&&g.hasOwnProperty(X)&&g[X]!=null)if(X==="style"){var I=g[X];for(C in I)I.hasOwnProperty(C)&&(o||(o={}),o[C]="")}else X!=="dangerouslySetInnerHTML"&&X!=="children"&&X!=="suppressContentEditableWarning"&&X!=="suppressHydrationWarning"&&X!=="autoFocus"&&(a.hasOwnProperty(X)?y||(y=[]):(y=y||[]).push(X,null));for(X in h){var F=h[X];if(I=g!=null?g[X]:void 0,h.hasOwnProperty(X)&&F!==I&&(F!=null||I!=null))if(X==="style")if(I){for(C in I)!I.hasOwnProperty(C)||F&&F.hasOwnProperty(C)||(o||(o={}),o[C]="");for(C in F)F.hasOwnProperty(C)&&I[C]!==F[C]&&(o||(o={}),o[C]=F[C])}else o||(y||(y=[]),y.push(X,o)),o=F;else X==="dangerouslySetInnerHTML"?(F=F?F.__html:void 0,I=I?I.__html:void 0,F!=null&&I!==F&&(y=y||[]).push(X,F)):X==="children"?typeof F!="string"&&typeof F!="number"||(y=y||[]).push(X,""+F):X!=="suppressContentEditableWarning"&&X!=="suppressHydrationWarning"&&(a.hasOwnProperty(X)?(F!=null&&X==="onScroll"&&lt("scroll",r),y||I===F||(y=[])):(y=y||[]).push(X,F))}o&&(y=y||[]).push("style",o);var X=y;(l.updateQueue=X)&&(l.flags|=4)}},Mf=function(r,l,o,h){o!==h&&(l.flags|=4)};function Kl(r,l){if(!ot)switch(r.tailMode){case"hidden":l=r.tail;for(var o=null;l!==null;)l.alternate!==null&&(o=l),l=l.sibling;o===null?r.tail=null:o.sibling=null;break;case"collapsed":o=r.tail;for(var h=null;o!==null;)o.alternate!==null&&(h=o),o=o.sibling;h===null?l||r.tail===null?r.tail=null:r.tail.sibling=null:h.sibling=null}}function Bt(r){var l=r.alternate!==null&&r.alternate.child===r.child,o=0,h=0;if(l)for(var g=r.child;g!==null;)o|=g.lanes|g.childLanes,h|=g.subtreeFlags&14680064,h|=g.flags&14680064,g.return=r,g=g.sibling;else for(g=r.child;g!==null;)o|=g.lanes|g.childLanes,h|=g.subtreeFlags,h|=g.flags,g.return=r,g=g.sibling;return r.subtreeFlags|=h,r.childLanes=o,l}function p5(r,l,o){var h=l.pendingProps;switch(h0(l),l.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Bt(l),null;case 1:return Jt(l.type)&&Ya(),Bt(l),null;case 3:return h=l.stateNode,tl(),at(Zt),at(Ft),C0(),h.pendingContext&&(h.context=h.pendingContext,h.pendingContext=null),(r===null||r.child===null)&&(es(l)?l.flags|=4:r===null||r.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,Pn!==null&&(eu(Pn),Pn=null))),U0(r,l),Bt(l),null;case 5:b0(l);var g=vi(Wl.current);if(o=l.type,r!==null&&l.stateNode!=null)Af(r,l,o,h,g),r.ref!==l.ref&&(l.flags|=512,l.flags|=2097152);else{if(!h){if(l.stateNode===null)throw Error(n(166));return Bt(l),null}if(r=vi(Xn.current),es(l)){h=l.stateNode,o=l.type;var y=l.memoizedProps;switch(h[Gn]=l,h[ql]=y,r=(l.mode&1)!==0,o){case"dialog":lt("cancel",h),lt("close",h);break;case"iframe":case"object":case"embed":lt("load",h);break;case"video":case"audio":for(g=0;g<Ol.length;g++)lt(Ol[g],h);break;case"source":lt("error",h);break;case"img":case"image":case"link":lt("error",h),lt("load",h);break;case"details":lt("toggle",h);break;case"input":ii(h,y),lt("invalid",h);break;case"select":h._wrapperState={wasMultiple:!!y.multiple},lt("invalid",h);break;case"textarea":Sr(h,y),lt("invalid",h)}Dt(o,y),g=null;for(var C in y)if(y.hasOwnProperty(C)){var I=y[C];C==="children"?typeof I=="string"?h.textContent!==I&&(y.suppressHydrationWarning!==!0&&Wa(h.textContent,I,r),g=["children",I]):typeof I=="number"&&h.textContent!==""+I&&(y.suppressHydrationWarning!==!0&&Wa(h.textContent,I,r),g=["children",""+I]):a.hasOwnProperty(C)&&I!=null&&C==="onScroll"&&lt("scroll",h)}switch(o){case"input":wn(h),ai(h,y,!0);break;case"textarea":wn(h),ui(h);break;case"select":case"option":break;default:typeof y.onClick=="function"&&(h.onclick=Ga)}h=g,l.updateQueue=h,h!==null&&(l.flags|=4)}else{C=g.nodeType===9?g:g.ownerDocument,r==="http://www.w3.org/1999/xhtml"&&(r=ee(o)),r==="http://www.w3.org/1999/xhtml"?o==="script"?(r=C.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild)):typeof h.is=="string"?r=C.createElement(o,{is:h.is}):(r=C.createElement(o),o==="select"&&(C=r,h.multiple?C.multiple=!0:h.size&&(C.size=h.size))):r=C.createElementNS(r,o),r[Gn]=l,r[ql]=h,zf(r,l,!1,!1),l.stateNode=r;e:{switch(C=Vn(o,h),o){case"dialog":lt("cancel",r),lt("close",r),g=h;break;case"iframe":case"object":case"embed":lt("load",r),g=h;break;case"video":case"audio":for(g=0;g<Ol.length;g++)lt(Ol[g],r);g=h;break;case"source":lt("error",r),g=h;break;case"img":case"image":case"link":lt("error",r),lt("load",r),g=h;break;case"details":lt("toggle",r),g=h;break;case"input":ii(r,h),g=Un(r,h),lt("invalid",r);break;case"option":g=h;break;case"select":r._wrapperState={wasMultiple:!!h.multiple},g=N({},h,{value:void 0}),lt("invalid",r);break;case"textarea":Sr(r,h),g=si(r,h),lt("invalid",r);break;default:g=h}Dt(o,g),I=g;for(y in I)if(I.hasOwnProperty(y)){var F=I[y];y==="style"?Cr(r,F):y==="dangerouslySetInnerHTML"?(F=F?F.__html:void 0,F!=null&&_e(r,F)):y==="children"?typeof F=="string"?(o!=="textarea"||F!=="")&&Xe(r,F):typeof F=="number"&&Xe(r,""+F):y!=="suppressContentEditableWarning"&&y!=="suppressHydrationWarning"&&y!=="autoFocus"&&(a.hasOwnProperty(y)?F!=null&&y==="onScroll"&&lt("scroll",r):F!=null&&q(r,y,F,C))}switch(o){case"input":wn(r),ai(r,h,!1);break;case"textarea":wn(r),ui(r);break;case"option":h.value!=null&&r.setAttribute("value",""+qe(h.value));break;case"select":r.multiple=!!h.multiple,y=h.value,y!=null?$n(r,!!h.multiple,y,!1):h.defaultValue!=null&&$n(r,!!h.multiple,h.defaultValue,!0);break;default:typeof g.onClick=="function"&&(r.onclick=Ga)}switch(o){case"button":case"input":case"select":case"textarea":h=!!h.autoFocus;break e;case"img":h=!0;break e;default:h=!1}}h&&(l.flags|=4)}l.ref!==null&&(l.flags|=512,l.flags|=2097152)}return Bt(l),null;case 6:if(r&&l.stateNode!=null)Mf(r,l,r.memoizedProps,h);else{if(typeof h!="string"&&l.stateNode===null)throw Error(n(166));if(o=vi(Wl.current),vi(Xn.current),es(l)){if(h=l.stateNode,o=l.memoizedProps,h[Gn]=l,(y=h.nodeValue!==o)&&(r=hn,r!==null))switch(r.tag){case 3:Wa(h.nodeValue,o,(r.mode&1)!==0);break;case 5:r.memoizedProps.suppressHydrationWarning!==!0&&Wa(h.nodeValue,o,(r.mode&1)!==0)}y&&(l.flags|=4)}else h=(o.nodeType===9?o:o.ownerDocument).createTextNode(h),h[Gn]=l,l.stateNode=h}return Bt(l),null;case 13:if(at(ft),h=l.memoizedState,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if(ot&&fn!==null&&(l.mode&1)!==0&&(l.flags&128)===0)Ih(),Ki(),l.flags|=98560,y=!1;else if(y=es(l),h!==null&&h.dehydrated!==null){if(r===null){if(!y)throw Error(n(318));if(y=l.memoizedState,y=y!==null?y.dehydrated:null,!y)throw Error(n(317));y[Gn]=l}else Ki(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;Bt(l),y=!1}else Pn!==null&&(eu(Pn),Pn=null),y=!0;if(!y)return l.flags&65536?l:null}return(l.flags&128)!==0?(l.lanes=o,l):(h=h!==null,h!==(r!==null&&r.memoizedState!==null)&&h&&(l.child.flags|=8192,(l.mode&1)!==0&&(r===null||(ft.current&1)!==0?Et===0&&(Et=3):ru())),l.updateQueue!==null&&(l.flags|=4),Bt(l),null);case 4:return tl(),U0(r,l),r===null&&Bl(l.stateNode.containerInfo),Bt(l),null;case 10:return v0(l.type._context),Bt(l),null;case 17:return Jt(l.type)&&Ya(),Bt(l),null;case 19:if(at(ft),y=l.memoizedState,y===null)return Bt(l),null;if(h=(l.flags&128)!==0,C=y.rendering,C===null)if(h)Kl(y,!1);else{if(Et!==0||r!==null&&(r.flags&128)!==0)for(r=l.child;r!==null;){if(C=as(r),C!==null){for(l.flags|=128,Kl(y,!1),h=C.updateQueue,h!==null&&(l.updateQueue=h,l.flags|=4),l.subtreeFlags=0,h=o,o=l.child;o!==null;)y=o,r=h,y.flags&=14680066,C=y.alternate,C===null?(y.childLanes=0,y.lanes=r,y.child=null,y.subtreeFlags=0,y.memoizedProps=null,y.memoizedState=null,y.updateQueue=null,y.dependencies=null,y.stateNode=null):(y.childLanes=C.childLanes,y.lanes=C.lanes,y.child=C.child,y.subtreeFlags=0,y.deletions=null,y.memoizedProps=C.memoizedProps,y.memoizedState=C.memoizedState,y.updateQueue=C.updateQueue,y.type=C.type,r=C.dependencies,y.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext}),o=o.sibling;return it(ft,ft.current&1|2),l.child}r=r.sibling}y.tail!==null&&yt()>ll&&(l.flags|=128,h=!0,Kl(y,!1),l.lanes=4194304)}else{if(!h)if(r=as(C),r!==null){if(l.flags|=128,h=!0,o=r.updateQueue,o!==null&&(l.updateQueue=o,l.flags|=4),Kl(y,!0),y.tail===null&&y.tailMode==="hidden"&&!C.alternate&&!ot)return Bt(l),null}else 2*yt()-y.renderingStartTime>ll&&o!==1073741824&&(l.flags|=128,h=!0,Kl(y,!1),l.lanes=4194304);y.isBackwards?(C.sibling=l.child,l.child=C):(o=y.last,o!==null?o.sibling=C:l.child=C,y.last=C)}return y.tail!==null?(l=y.tail,y.rendering=l,y.tail=l.sibling,y.renderingStartTime=yt(),l.sibling=null,o=ft.current,it(ft,h?o&1|2:o&1),l):(Bt(l),null);case 22:case 23:return nu(),h=l.memoizedState!==null,r!==null&&r.memoizedState!==null!==h&&(l.flags|=8192),h&&(l.mode&1)!==0?(dn&1073741824)!==0&&(Bt(l),l.subtreeFlags&6&&(l.flags|=8192)):Bt(l),null;case 24:return null;case 25:return null}throw Error(n(156,l.tag))}function g5(r,l){switch(h0(l),l.tag){case 1:return Jt(l.type)&&Ya(),r=l.flags,r&65536?(l.flags=r&-65537|128,l):null;case 3:return tl(),at(Zt),at(Ft),C0(),r=l.flags,(r&65536)!==0&&(r&128)===0?(l.flags=r&-65537|128,l):null;case 5:return b0(l),null;case 13:if(at(ft),r=l.memoizedState,r!==null&&r.dehydrated!==null){if(l.alternate===null)throw Error(n(340));Ki()}return r=l.flags,r&65536?(l.flags=r&-65537|128,l):null;case 19:return at(ft),null;case 4:return tl(),null;case 10:return v0(l.type._context),null;case 22:case 23:return nu(),null;case 24:return null;default:return null}}var ps=!1,_t=!1,v5=typeof WeakSet=="function"?WeakSet:Set,Se=null;function rl(r,l){var o=r.ref;if(o!==null)if(typeof o=="function")try{o(null)}catch(h){gt(r,l,h)}else o.current=null}function $0(r,l,o){try{o()}catch(h){gt(r,l,h)}}var jf=!1;function y5(r,l){if(n0=Pa,r=oh(),Xo(r)){if("selectionStart"in r)var o={start:r.selectionStart,end:r.selectionEnd};else e:{o=(o=r.ownerDocument)&&o.defaultView||window;var h=o.getSelection&&o.getSelection();if(h&&h.rangeCount!==0){o=h.anchorNode;var g=h.anchorOffset,y=h.focusNode;h=h.focusOffset;try{o.nodeType,y.nodeType}catch{o=null;break e}var C=0,I=-1,F=-1,X=0,le=0,ue=r,ie=null;t:for(;;){for(var xe;ue!==o||g!==0&&ue.nodeType!==3||(I=C+g),ue!==y||h!==0&&ue.nodeType!==3||(F=C+h),ue.nodeType===3&&(C+=ue.nodeValue.length),(xe=ue.firstChild)!==null;)ie=ue,ue=xe;for(;;){if(ue===r)break t;if(ie===o&&++X===g&&(I=C),ie===y&&++le===h&&(F=C),(xe=ue.nextSibling)!==null)break;ue=ie,ie=ue.parentNode}ue=xe}o=I===-1||F===-1?null:{start:I,end:F}}else o=null}o=o||{start:0,end:0}}else o=null;for(r0={focusedElem:r,selectionRange:o},Pa=!1,Se=l;Se!==null;)if(l=Se,r=l.child,(l.subtreeFlags&1028)!==0&&r!==null)r.return=l,Se=r;else for(;Se!==null;){l=Se;try{var Ce=l.alternate;if((l.flags&1024)!==0)switch(l.tag){case 0:case 11:case 15:break;case 1:if(Ce!==null){var Ee=Ce.memoizedProps,xt=Ce.memoizedState,U=l.stateNode,_=U.getSnapshotBeforeUpdate(l.elementType===l.type?Ee:Rn(l.type,Ee),xt);U.__reactInternalSnapshotBeforeUpdate=_}break;case 3:var V=l.stateNode.containerInfo;V.nodeType===1?V.textContent="":V.nodeType===9&&V.documentElement&&V.removeChild(V.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(me){gt(l,l.return,me)}if(r=l.sibling,r!==null){r.return=l.return,Se=r;break}Se=l.return}return Ce=jf,jf=!1,Ce}function Zl(r,l,o){var h=l.updateQueue;if(h=h!==null?h.lastEffect:null,h!==null){var g=h=h.next;do{if((g.tag&r)===r){var y=g.destroy;g.destroy=void 0,y!==void 0&&$0(l,o,y)}g=g.next}while(g!==h)}}function gs(r,l){if(l=l.updateQueue,l=l!==null?l.lastEffect:null,l!==null){var o=l=l.next;do{if((o.tag&r)===r){var h=o.create;o.destroy=h()}o=o.next}while(o!==l)}}function V0(r){var l=r.ref;if(l!==null){var o=r.stateNode;switch(r.tag){case 5:r=o;break;default:r=o}typeof l=="function"?l(r):l.current=r}}function If(r){var l=r.alternate;l!==null&&(r.alternate=null,If(l)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(l=r.stateNode,l!==null&&(delete l[Gn],delete l[ql],delete l[s0],delete l[e5],delete l[t5])),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}function Df(r){return r.tag===5||r.tag===3||r.tag===4}function Lf(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||Df(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function W0(r,l,o){var h=r.tag;if(h===5||h===6)r=r.stateNode,l?o.nodeType===8?o.parentNode.insertBefore(r,l):o.insertBefore(r,l):(o.nodeType===8?(l=o.parentNode,l.insertBefore(r,o)):(l=o,l.appendChild(r)),o=o._reactRootContainer,o!=null||l.onclick!==null||(l.onclick=Ga));else if(h!==4&&(r=r.child,r!==null))for(W0(r,l,o),r=r.sibling;r!==null;)W0(r,l,o),r=r.sibling}function G0(r,l,o){var h=r.tag;if(h===5||h===6)r=r.stateNode,l?o.insertBefore(r,l):o.appendChild(r);else if(h!==4&&(r=r.child,r!==null))for(G0(r,l,o),r=r.sibling;r!==null;)G0(r,l,o),r=r.sibling}var Lt=null,Fn=!1;function Fr(r,l,o){for(o=o.child;o!==null;)Pf(r,l,o),o=o.sibling}function Pf(r,l,o){if(Wn&&typeof Wn.onCommitFiberUnmount=="function")try{Wn.onCommitFiberUnmount(Aa,o)}catch{}switch(o.tag){case 5:_t||rl(o,l);case 6:var h=Lt,g=Fn;Lt=null,Fr(r,l,o),Lt=h,Fn=g,Lt!==null&&(Fn?(r=Lt,o=o.stateNode,r.nodeType===8?r.parentNode.removeChild(o):r.removeChild(o)):Lt.removeChild(o.stateNode));break;case 18:Lt!==null&&(Fn?(r=Lt,o=o.stateNode,r.nodeType===8?a0(r.parentNode,o):r.nodeType===1&&a0(r,o),Ml(r)):a0(Lt,o.stateNode));break;case 4:h=Lt,g=Fn,Lt=o.stateNode.containerInfo,Fn=!0,Fr(r,l,o),Lt=h,Fn=g;break;case 0:case 11:case 14:case 15:if(!_t&&(h=o.updateQueue,h!==null&&(h=h.lastEffect,h!==null))){g=h=h.next;do{var y=g,C=y.destroy;y=y.tag,C!==void 0&&((y&2)!==0||(y&4)!==0)&&$0(o,l,C),g=g.next}while(g!==h)}Fr(r,l,o);break;case 1:if(!_t&&(rl(o,l),h=o.stateNode,typeof h.componentWillUnmount=="function"))try{h.props=o.memoizedProps,h.state=o.memoizedState,h.componentWillUnmount()}catch(I){gt(o,l,I)}Fr(r,l,o);break;case 21:Fr(r,l,o);break;case 22:o.mode&1?(_t=(h=_t)||o.memoizedState!==null,Fr(r,l,o),_t=h):Fr(r,l,o);break;default:Fr(r,l,o)}}function Rf(r){var l=r.updateQueue;if(l!==null){r.updateQueue=null;var o=r.stateNode;o===null&&(o=r.stateNode=new v5),l.forEach(function(h){var g=N5.bind(null,r,h);o.has(h)||(o.add(h),h.then(g,g))})}}function On(r,l){var o=l.deletions;if(o!==null)for(var h=0;h<o.length;h++){var g=o[h];try{var y=r,C=l,I=C;e:for(;I!==null;){switch(I.tag){case 5:Lt=I.stateNode,Fn=!1;break e;case 3:Lt=I.stateNode.containerInfo,Fn=!0;break e;case 4:Lt=I.stateNode.containerInfo,Fn=!0;break e}I=I.return}if(Lt===null)throw Error(n(160));Pf(y,C,g),Lt=null,Fn=!1;var F=g.alternate;F!==null&&(F.return=null),g.return=null}catch(X){gt(g,l,X)}}if(l.subtreeFlags&12854)for(l=l.child;l!==null;)Ff(l,r),l=l.sibling}function Ff(r,l){var o=r.alternate,h=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:if(On(l,r),Qn(r),h&4){try{Zl(3,r,r.return),gs(3,r)}catch(Ee){gt(r,r.return,Ee)}try{Zl(5,r,r.return)}catch(Ee){gt(r,r.return,Ee)}}break;case 1:On(l,r),Qn(r),h&512&&o!==null&&rl(o,o.return);break;case 5:if(On(l,r),Qn(r),h&512&&o!==null&&rl(o,o.return),r.flags&32){var g=r.stateNode;try{Xe(g,"")}catch(Ee){gt(r,r.return,Ee)}}if(h&4&&(g=r.stateNode,g!=null)){var y=r.memoizedProps,C=o!==null?o.memoizedProps:y,I=r.type,F=r.updateQueue;if(r.updateQueue=null,F!==null)try{I==="input"&&y.type==="radio"&&y.name!=null&&li(g,y),Vn(I,C);var X=Vn(I,y);for(C=0;C<F.length;C+=2){var le=F[C],ue=F[C+1];le==="style"?Cr(g,ue):le==="dangerouslySetInnerHTML"?_e(g,ue):le==="children"?Xe(g,ue):q(g,le,ue,X)}switch(I){case"input":br(g,y);break;case"textarea":oi(g,y);break;case"select":var ie=g._wrapperState.wasMultiple;g._wrapperState.wasMultiple=!!y.multiple;var xe=y.value;xe!=null?$n(g,!!y.multiple,xe,!1):ie!==!!y.multiple&&(y.defaultValue!=null?$n(g,!!y.multiple,y.defaultValue,!0):$n(g,!!y.multiple,y.multiple?[]:"",!1))}g[ql]=y}catch(Ee){gt(r,r.return,Ee)}}break;case 6:if(On(l,r),Qn(r),h&4){if(r.stateNode===null)throw Error(n(162));g=r.stateNode,y=r.memoizedProps;try{g.nodeValue=y}catch(Ee){gt(r,r.return,Ee)}}break;case 3:if(On(l,r),Qn(r),h&4&&o!==null&&o.memoizedState.isDehydrated)try{Ml(l.containerInfo)}catch(Ee){gt(r,r.return,Ee)}break;case 4:On(l,r),Qn(r);break;case 13:On(l,r),Qn(r),g=r.child,g.flags&8192&&(y=g.memoizedState!==null,g.stateNode.isHidden=y,!y||g.alternate!==null&&g.alternate.memoizedState!==null||(Q0=yt())),h&4&&Rf(r);break;case 22:if(le=o!==null&&o.memoizedState!==null,r.mode&1?(_t=(X=_t)||le,On(l,r),_t=X):On(l,r),Qn(r),h&8192){if(X=r.memoizedState!==null,(r.stateNode.isHidden=X)&&!le&&(r.mode&1)!==0)for(Se=r,le=r.child;le!==null;){for(ue=Se=le;Se!==null;){switch(ie=Se,xe=ie.child,ie.tag){case 0:case 11:case 14:case 15:Zl(4,ie,ie.return);break;case 1:rl(ie,ie.return);var Ce=ie.stateNode;if(typeof Ce.componentWillUnmount=="function"){h=ie,o=ie.return;try{l=h,Ce.props=l.memoizedProps,Ce.state=l.memoizedState,Ce.componentWillUnmount()}catch(Ee){gt(h,o,Ee)}}break;case 5:rl(ie,ie.return);break;case 22:if(ie.memoizedState!==null){_f(ue);continue}}xe!==null?(xe.return=ie,Se=xe):_f(ue)}le=le.sibling}e:for(le=null,ue=r;;){if(ue.tag===5){if(le===null){le=ue;try{g=ue.stateNode,X?(y=g.style,typeof y.setProperty=="function"?y.setProperty("display","none","important"):y.display="none"):(I=ue.stateNode,F=ue.memoizedProps.style,C=F!=null&&F.hasOwnProperty("display")?F.display:null,I.style.display=kn("display",C))}catch(Ee){gt(r,r.return,Ee)}}}else if(ue.tag===6){if(le===null)try{ue.stateNode.nodeValue=X?"":ue.memoizedProps}catch(Ee){gt(r,r.return,Ee)}}else if((ue.tag!==22&&ue.tag!==23||ue.memoizedState===null||ue===r)&&ue.child!==null){ue.child.return=ue,ue=ue.child;continue}if(ue===r)break e;for(;ue.sibling===null;){if(ue.return===null||ue.return===r)break e;le===ue&&(le=null),ue=ue.return}le===ue&&(le=null),ue.sibling.return=ue.return,ue=ue.sibling}}break;case 19:On(l,r),Qn(r),h&4&&Rf(r);break;case 21:break;default:On(l,r),Qn(r)}}function Qn(r){var l=r.flags;if(l&2){try{e:{for(var o=r.return;o!==null;){if(Df(o)){var h=o;break e}o=o.return}throw Error(n(160))}switch(h.tag){case 5:var g=h.stateNode;h.flags&32&&(Xe(g,""),h.flags&=-33);var y=Lf(r);G0(r,y,g);break;case 3:case 4:var C=h.stateNode.containerInfo,I=Lf(r);W0(r,I,C);break;default:throw Error(n(161))}}catch(F){gt(r,r.return,F)}r.flags&=-3}l&4096&&(r.flags&=-4097)}function x5(r,l,o){Se=r,Of(r)}function Of(r,l,o){for(var h=(r.mode&1)!==0;Se!==null;){var g=Se,y=g.child;if(g.tag===22&&h){var C=g.memoizedState!==null||ps;if(!C){var I=g.alternate,F=I!==null&&I.memoizedState!==null||_t;I=ps;var X=_t;if(ps=C,(_t=F)&&!X)for(Se=g;Se!==null;)C=Se,F=C.child,C.tag===22&&C.memoizedState!==null?qf(g):F!==null?(F.return=C,Se=F):qf(g);for(;y!==null;)Se=y,Of(y),y=y.sibling;Se=g,ps=I,_t=X}Bf(r)}else(g.subtreeFlags&8772)!==0&&y!==null?(y.return=g,Se=y):Bf(r)}}function Bf(r){for(;Se!==null;){var l=Se;if((l.flags&8772)!==0){var o=l.alternate;try{if((l.flags&8772)!==0)switch(l.tag){case 0:case 11:case 15:_t||gs(5,l);break;case 1:var h=l.stateNode;if(l.flags&4&&!_t)if(o===null)h.componentDidMount();else{var g=l.elementType===l.type?o.memoizedProps:Rn(l.type,o.memoizedProps);h.componentDidUpdate(g,o.memoizedState,h.__reactInternalSnapshotBeforeUpdate)}var y=l.updateQueue;y!==null&&Bh(l,y,h);break;case 3:var C=l.updateQueue;if(C!==null){if(o=null,l.child!==null)switch(l.child.tag){case 5:o=l.child.stateNode;break;case 1:o=l.child.stateNode}Bh(l,C,o)}break;case 5:var I=l.stateNode;if(o===null&&l.flags&4){o=I;var F=l.memoizedProps;switch(l.type){case"button":case"input":case"select":case"textarea":F.autoFocus&&o.focus();break;case"img":F.src&&(o.src=F.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(l.memoizedState===null){var X=l.alternate;if(X!==null){var le=X.memoizedState;if(le!==null){var ue=le.dehydrated;ue!==null&&Ml(ue)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}_t||l.flags&512&&V0(l)}catch(ie){gt(l,l.return,ie)}}if(l===r){Se=null;break}if(o=l.sibling,o!==null){o.return=l.return,Se=o;break}Se=l.return}}function _f(r){for(;Se!==null;){var l=Se;if(l===r){Se=null;break}var o=l.sibling;if(o!==null){o.return=l.return,Se=o;break}Se=l.return}}function qf(r){for(;Se!==null;){var l=Se;try{switch(l.tag){case 0:case 11:case 15:var o=l.return;try{gs(4,l)}catch(F){gt(l,o,F)}break;case 1:var h=l.stateNode;if(typeof h.componentDidMount=="function"){var g=l.return;try{h.componentDidMount()}catch(F){gt(l,g,F)}}var y=l.return;try{V0(l)}catch(F){gt(l,y,F)}break;case 5:var C=l.return;try{V0(l)}catch(F){gt(l,C,F)}}}catch(F){gt(l,l.return,F)}if(l===r){Se=null;break}var I=l.sibling;if(I!==null){I.return=l.return,Se=I;break}Se=l.return}}var w5=Math.ceil,vs=J.ReactCurrentDispatcher,X0=J.ReactCurrentOwner,En=J.ReactCurrentBatchConfig,Ye=0,Mt=null,wt=null,Pt=0,dn=0,il=Ir(0),Et=0,Jl=null,xi=0,ys=0,Y0=0,ea=null,tn=null,Q0=0,ll=1/0,dr=null,xs=!1,K0=null,Or=null,ws=!1,Br=null,ks=0,ta=0,Z0=null,bs=-1,Ss=0;function Wt(){return(Ye&6)!==0?yt():bs!==-1?bs:bs=yt()}function _r(r){return(r.mode&1)===0?1:(Ye&2)!==0&&Pt!==0?Pt&-Pt:r5.transition!==null?(Ss===0&&(Ss=D1()),Ss):(r=et,r!==0||(r=window.event,r=r===void 0?16:H1(r.type)),r)}function Bn(r,l,o,h){if(50<ta)throw ta=0,Z0=null,Error(n(185));Tl(r,o,h),((Ye&2)===0||r!==Mt)&&(r===Mt&&((Ye&2)===0&&(ys|=o),Et===4&&qr(r,Pt)),nn(r,h),o===1&&Ye===0&&(l.mode&1)===0&&(ll=yt()+500,Ka&&Lr()))}function nn(r,l){var o=r.callbackNode;r3(r,l);var h=Ia(r,r===Mt?Pt:0);if(h===0)o!==null&&M1(o),r.callbackNode=null,r.callbackPriority=0;else if(l=h&-h,r.callbackPriority!==l){if(o!=null&&M1(o),l===1)r.tag===0?n5(Uf.bind(null,r)):Nh(Uf.bind(null,r)),Z3(function(){(Ye&6)===0&&Lr()}),o=null;else{switch(L1(h)){case 1:o=jo;break;case 4:o=j1;break;case 16:o=za;break;case 536870912:o=I1;break;default:o=za}o=Kf(o,Hf.bind(null,r))}r.callbackPriority=l,r.callbackNode=o}}function Hf(r,l){if(bs=-1,Ss=0,(Ye&6)!==0)throw Error(n(327));var o=r.callbackNode;if(al()&&r.callbackNode!==o)return null;var h=Ia(r,r===Mt?Pt:0);if(h===0)return null;if((h&30)!==0||(h&r.expiredLanes)!==0||l)l=Cs(r,h);else{l=h;var g=Ye;Ye|=2;var y=Vf();(Mt!==r||Pt!==l)&&(dr=null,ll=yt()+500,ki(r,l));do try{S5();break}catch(I){$f(r,I)}while(!0);g0(),vs.current=y,Ye=g,wt!==null?l=0:(Mt=null,Pt=0,l=Et)}if(l!==0){if(l===2&&(g=Io(r),g!==0&&(h=g,l=J0(r,g))),l===1)throw o=Jl,ki(r,0),qr(r,h),nn(r,yt()),o;if(l===6)qr(r,h);else{if(g=r.current.alternate,(h&30)===0&&!k5(g)&&(l=Cs(r,h),l===2&&(y=Io(r),y!==0&&(h=y,l=J0(r,y))),l===1))throw o=Jl,ki(r,0),qr(r,h),nn(r,yt()),o;switch(r.finishedWork=g,r.finishedLanes=h,l){case 0:case 1:throw Error(n(345));case 2:bi(r,tn,dr);break;case 3:if(qr(r,h),(h&130023424)===h&&(l=Q0+500-yt(),10<l)){if(Ia(r,0)!==0)break;if(g=r.suspendedLanes,(g&h)!==h){Wt(),r.pingedLanes|=r.suspendedLanes&g;break}r.timeoutHandle=l0(bi.bind(null,r,tn,dr),l);break}bi(r,tn,dr);break;case 4:if(qr(r,h),(h&4194240)===h)break;for(l=r.eventTimes,g=-1;0<h;){var C=31-Dn(h);y=1<<C,C=l[C],C>g&&(g=C),h&=~y}if(h=g,h=yt()-h,h=(120>h?120:480>h?480:1080>h?1080:1920>h?1920:3e3>h?3e3:4320>h?4320:1960*w5(h/1960))-h,10<h){r.timeoutHandle=l0(bi.bind(null,r,tn,dr),h);break}bi(r,tn,dr);break;case 5:bi(r,tn,dr);break;default:throw Error(n(329))}}}return nn(r,yt()),r.callbackNode===o?Hf.bind(null,r):null}function J0(r,l){var o=ea;return r.current.memoizedState.isDehydrated&&(ki(r,l).flags|=256),r=Cs(r,l),r!==2&&(l=tn,tn=o,l!==null&&eu(l)),r}function eu(r){tn===null?tn=r:tn.push.apply(tn,r)}function k5(r){for(var l=r;;){if(l.flags&16384){var o=l.updateQueue;if(o!==null&&(o=o.stores,o!==null))for(var h=0;h<o.length;h++){var g=o[h],y=g.getSnapshot;g=g.value;try{if(!Ln(y(),g))return!1}catch{return!1}}}if(o=l.child,l.subtreeFlags&16384&&o!==null)o.return=l,l=o;else{if(l===r)break;for(;l.sibling===null;){if(l.return===null||l.return===r)return!0;l=l.return}l.sibling.return=l.return,l=l.sibling}}return!0}function qr(r,l){for(l&=~Y0,l&=~ys,r.suspendedLanes|=l,r.pingedLanes&=~l,r=r.expirationTimes;0<l;){var o=31-Dn(l),h=1<<o;r[o]=-1,l&=~h}}function Uf(r){if((Ye&6)!==0)throw Error(n(327));al();var l=Ia(r,0);if((l&1)===0)return nn(r,yt()),null;var o=Cs(r,l);if(r.tag!==0&&o===2){var h=Io(r);h!==0&&(l=h,o=J0(r,h))}if(o===1)throw o=Jl,ki(r,0),qr(r,l),nn(r,yt()),o;if(o===6)throw Error(n(345));return r.finishedWork=r.current.alternate,r.finishedLanes=l,bi(r,tn,dr),nn(r,yt()),null}function tu(r,l){var o=Ye;Ye|=1;try{return r(l)}finally{Ye=o,Ye===0&&(ll=yt()+500,Ka&&Lr())}}function wi(r){Br!==null&&Br.tag===0&&(Ye&6)===0&&al();var l=Ye;Ye|=1;var o=En.transition,h=et;try{if(En.transition=null,et=1,r)return r()}finally{et=h,En.transition=o,Ye=l,(Ye&6)===0&&Lr()}}function nu(){dn=il.current,at(il)}function ki(r,l){r.finishedWork=null,r.finishedLanes=0;var o=r.timeoutHandle;if(o!==-1&&(r.timeoutHandle=-1,K3(o)),wt!==null)for(o=wt.return;o!==null;){var h=o;switch(h0(h),h.tag){case 1:h=h.type.childContextTypes,h!=null&&Ya();break;case 3:tl(),at(Zt),at(Ft),C0();break;case 5:b0(h);break;case 4:tl();break;case 13:at(ft);break;case 19:at(ft);break;case 10:v0(h.type._context);break;case 22:case 23:nu()}o=o.return}if(Mt=r,wt=r=Hr(r.current,null),Pt=dn=l,Et=0,Jl=null,Y0=ys=xi=0,tn=ea=null,gi!==null){for(l=0;l<gi.length;l++)if(o=gi[l],h=o.interleaved,h!==null){o.interleaved=null;var g=h.next,y=o.pending;if(y!==null){var C=y.next;y.next=g,h.next=C}o.pending=h}gi=null}return r}function $f(r,l){do{var o=wt;try{if(g0(),ss.current=hs,os){for(var h=dt.memoizedState;h!==null;){var g=h.queue;g!==null&&(g.pending=null),h=h.next}os=!1}if(yi=0,At=Tt=dt=null,Gl=!1,Xl=0,X0.current=null,o===null||o.return===null){Et=1,Jl=l,wt=null;break}e:{var y=r,C=o.return,I=o,F=l;if(l=Pt,I.flags|=32768,F!==null&&typeof F=="object"&&typeof F.then=="function"){var X=F,le=I,ue=le.tag;if((le.mode&1)===0&&(ue===0||ue===11||ue===15)){var ie=le.alternate;ie?(le.updateQueue=ie.updateQueue,le.memoizedState=ie.memoizedState,le.lanes=ie.lanes):(le.updateQueue=null,le.memoizedState=null)}var xe=pf(C);if(xe!==null){xe.flags&=-257,gf(xe,C,I,y,l),xe.mode&1&&mf(y,X,l),l=xe,F=X;var Ce=l.updateQueue;if(Ce===null){var Ee=new Set;Ee.add(F),l.updateQueue=Ee}else Ce.add(F);break e}else{if((l&1)===0){mf(y,X,l),ru();break e}F=Error(n(426))}}else if(ot&&I.mode&1){var xt=pf(C);if(xt!==null){(xt.flags&65536)===0&&(xt.flags|=256),gf(xt,C,I,y,l),m0(nl(F,I));break e}}y=F=nl(F,I),Et!==4&&(Et=2),ea===null?ea=[y]:ea.push(y),y=C;do{switch(y.tag){case 3:y.flags|=65536,l&=-l,y.lanes|=l;var U=ff(y,F,l);Oh(y,U);break e;case 1:I=F;var _=y.type,V=y.stateNode;if((y.flags&128)===0&&(typeof _.getDerivedStateFromError=="function"||V!==null&&typeof V.componentDidCatch=="function"&&(Or===null||!Or.has(V)))){y.flags|=65536,l&=-l,y.lanes|=l;var me=df(y,I,l);Oh(y,me);break e}}y=y.return}while(y!==null)}Gf(o)}catch(Ne){l=Ne,wt===o&&o!==null&&(wt=o=o.return);continue}break}while(!0)}function Vf(){var r=vs.current;return vs.current=hs,r===null?hs:r}function ru(){(Et===0||Et===3||Et===2)&&(Et=4),Mt===null||(xi&268435455)===0&&(ys&268435455)===0||qr(Mt,Pt)}function Cs(r,l){var o=Ye;Ye|=2;var h=Vf();(Mt!==r||Pt!==l)&&(dr=null,ki(r,l));do try{b5();break}catch(g){$f(r,g)}while(!0);if(g0(),Ye=o,vs.current=h,wt!==null)throw Error(n(261));return Mt=null,Pt=0,Et}function b5(){for(;wt!==null;)Wf(wt)}function S5(){for(;wt!==null&&!X2();)Wf(wt)}function Wf(r){var l=Qf(r.alternate,r,dn);r.memoizedProps=r.pendingProps,l===null?Gf(r):wt=l,X0.current=null}function Gf(r){var l=r;do{var o=l.alternate;if(r=l.return,(l.flags&32768)===0){if(o=p5(o,l,dn),o!==null){wt=o;return}}else{if(o=g5(o,l),o!==null){o.flags&=32767,wt=o;return}if(r!==null)r.flags|=32768,r.subtreeFlags=0,r.deletions=null;else{Et=6,wt=null;return}}if(l=l.sibling,l!==null){wt=l;return}wt=l=r}while(l!==null);Et===0&&(Et=5)}function bi(r,l,o){var h=et,g=En.transition;try{En.transition=null,et=1,C5(r,l,o,h)}finally{En.transition=g,et=h}return null}function C5(r,l,o,h){do al();while(Br!==null);if((Ye&6)!==0)throw Error(n(327));o=r.finishedWork;var g=r.finishedLanes;if(o===null)return null;if(r.finishedWork=null,r.finishedLanes=0,o===r.current)throw Error(n(177));r.callbackNode=null,r.callbackPriority=0;var y=o.lanes|o.childLanes;if(i3(r,y),r===Mt&&(wt=Mt=null,Pt=0),(o.subtreeFlags&2064)===0&&(o.flags&2064)===0||ws||(ws=!0,Kf(za,function(){return al(),null})),y=(o.flags&15990)!==0,(o.subtreeFlags&15990)!==0||y){y=En.transition,En.transition=null;var C=et;et=1;var I=Ye;Ye|=4,X0.current=null,y5(r,o),Ff(o,r),$3(r0),Pa=!!n0,r0=n0=null,r.current=o,x5(o),Y2(),Ye=I,et=C,En.transition=y}else r.current=o;if(ws&&(ws=!1,Br=r,ks=g),y=r.pendingLanes,y===0&&(Or=null),Z2(o.stateNode),nn(r,yt()),l!==null)for(h=r.onRecoverableError,o=0;o<l.length;o++)g=l[o],h(g.value,{componentStack:g.stack,digest:g.digest});if(xs)throw xs=!1,r=K0,K0=null,r;return(ks&1)!==0&&r.tag!==0&&al(),y=r.pendingLanes,(y&1)!==0?r===Z0?ta++:(ta=0,Z0=r):ta=0,Lr(),null}function al(){if(Br!==null){var r=L1(ks),l=En.transition,o=et;try{if(En.transition=null,et=16>r?16:r,Br===null)var h=!1;else{if(r=Br,Br=null,ks=0,(Ye&6)!==0)throw Error(n(331));var g=Ye;for(Ye|=4,Se=r.current;Se!==null;){var y=Se,C=y.child;if((Se.flags&16)!==0){var I=y.deletions;if(I!==null){for(var F=0;F<I.length;F++){var X=I[F];for(Se=X;Se!==null;){var le=Se;switch(le.tag){case 0:case 11:case 15:Zl(8,le,y)}var ue=le.child;if(ue!==null)ue.return=le,Se=ue;else for(;Se!==null;){le=Se;var ie=le.sibling,xe=le.return;if(If(le),le===X){Se=null;break}if(ie!==null){ie.return=xe,Se=ie;break}Se=xe}}}var Ce=y.alternate;if(Ce!==null){var Ee=Ce.child;if(Ee!==null){Ce.child=null;do{var xt=Ee.sibling;Ee.sibling=null,Ee=xt}while(Ee!==null)}}Se=y}}if((y.subtreeFlags&2064)!==0&&C!==null)C.return=y,Se=C;else e:for(;Se!==null;){if(y=Se,(y.flags&2048)!==0)switch(y.tag){case 0:case 11:case 15:Zl(9,y,y.return)}var U=y.sibling;if(U!==null){U.return=y.return,Se=U;break e}Se=y.return}}var _=r.current;for(Se=_;Se!==null;){C=Se;var V=C.child;if((C.subtreeFlags&2064)!==0&&V!==null)V.return=C,Se=V;else e:for(C=_;Se!==null;){if(I=Se,(I.flags&2048)!==0)try{switch(I.tag){case 0:case 11:case 15:gs(9,I)}}catch(Ne){gt(I,I.return,Ne)}if(I===C){Se=null;break e}var me=I.sibling;if(me!==null){me.return=I.return,Se=me;break e}Se=I.return}}if(Ye=g,Lr(),Wn&&typeof Wn.onPostCommitFiberRoot=="function")try{Wn.onPostCommitFiberRoot(Aa,r)}catch{}h=!0}return h}finally{et=o,En.transition=l}}return!1}function Xf(r,l,o){l=nl(o,l),l=ff(r,l,1),r=Rr(r,l,1),l=Wt(),r!==null&&(Tl(r,1,l),nn(r,l))}function gt(r,l,o){if(r.tag===3)Xf(r,r,o);else for(;l!==null;){if(l.tag===3){Xf(l,r,o);break}else if(l.tag===1){var h=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof h.componentDidCatch=="function"&&(Or===null||!Or.has(h))){r=nl(o,r),r=df(l,r,1),l=Rr(l,r,1),r=Wt(),l!==null&&(Tl(l,1,r),nn(l,r));break}}l=l.return}}function T5(r,l,o){var h=r.pingCache;h!==null&&h.delete(l),l=Wt(),r.pingedLanes|=r.suspendedLanes&o,Mt===r&&(Pt&o)===o&&(Et===4||Et===3&&(Pt&130023424)===Pt&&500>yt()-Q0?ki(r,0):Y0|=o),nn(r,l)}function Yf(r,l){l===0&&((r.mode&1)===0?l=1:(l=ja,ja<<=1,(ja&130023424)===0&&(ja=4194304)));var o=Wt();r=cr(r,l),r!==null&&(Tl(r,l,o),nn(r,o))}function E5(r){var l=r.memoizedState,o=0;l!==null&&(o=l.retryLane),Yf(r,o)}function N5(r,l){var o=0;switch(r.tag){case 13:var h=r.stateNode,g=r.memoizedState;g!==null&&(o=g.retryLane);break;case 19:h=r.stateNode;break;default:throw Error(n(314))}h!==null&&h.delete(l),Yf(r,o)}var Qf;Qf=function(r,l,o){if(r!==null)if(r.memoizedProps!==l.pendingProps||Zt.current)en=!0;else{if((r.lanes&o)===0&&(l.flags&128)===0)return en=!1,m5(r,l,o);en=(r.flags&131072)!==0}else en=!1,ot&&(l.flags&1048576)!==0&&zh(l,Ja,l.index);switch(l.lanes=0,l.tag){case 2:var h=l.type;ms(r,l),r=l.pendingProps;var g=Xi(l,Ft.current);el(l,o),g=N0(null,l,h,r,g,o);var y=z0();return l.flags|=1,typeof g=="object"&&g!==null&&typeof g.render=="function"&&g.$$typeof===void 0?(l.tag=1,l.memoizedState=null,l.updateQueue=null,Jt(h)?(y=!0,Qa(l)):y=!1,l.memoizedState=g.state!==null&&g.state!==void 0?g.state:null,w0(l),g.updater=fs,l.stateNode=g,g._reactInternals=l,L0(l,h,r,o),l=O0(null,l,h,!0,y,o)):(l.tag=0,ot&&y&&c0(l),Vt(null,l,g,o),l=l.child),l;case 16:h=l.elementType;e:{switch(ms(r,l),r=l.pendingProps,g=h._init,h=g(h._payload),l.type=h,g=l.tag=A5(h),r=Rn(h,r),g){case 0:l=F0(null,l,h,r,o);break e;case 1:l=bf(null,l,h,r,o);break e;case 11:l=vf(null,l,h,r,o);break e;case 14:l=yf(null,l,h,Rn(h.type,r),o);break e}throw Error(n(306,h,""))}return l;case 0:return h=l.type,g=l.pendingProps,g=l.elementType===h?g:Rn(h,g),F0(r,l,h,g,o);case 1:return h=l.type,g=l.pendingProps,g=l.elementType===h?g:Rn(h,g),bf(r,l,h,g,o);case 3:e:{if(Sf(l),r===null)throw Error(n(387));h=l.pendingProps,y=l.memoizedState,g=y.element,Fh(r,l),ls(l,h,null,o);var C=l.memoizedState;if(h=C.element,y.isDehydrated)if(y={element:h,isDehydrated:!1,cache:C.cache,pendingSuspenseBoundaries:C.pendingSuspenseBoundaries,transitions:C.transitions},l.updateQueue.baseState=y,l.memoizedState=y,l.flags&256){g=nl(Error(n(423)),l),l=Cf(r,l,h,o,g);break e}else if(h!==g){g=nl(Error(n(424)),l),l=Cf(r,l,h,o,g);break e}else for(fn=jr(l.stateNode.containerInfo.firstChild),hn=l,ot=!0,Pn=null,o=Ph(l,null,h,o),l.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling;else{if(Ki(),h===g){l=fr(r,l,o);break e}Vt(r,l,h,o)}l=l.child}return l;case 5:return _h(l),r===null&&d0(l),h=l.type,g=l.pendingProps,y=r!==null?r.memoizedProps:null,C=g.children,i0(h,g)?C=null:y!==null&&i0(h,y)&&(l.flags|=32),kf(r,l),Vt(r,l,C,o),l.child;case 6:return r===null&&d0(l),null;case 13:return Tf(r,l,o);case 4:return k0(l,l.stateNode.containerInfo),h=l.pendingProps,r===null?l.child=Zi(l,null,h,o):Vt(r,l,h,o),l.child;case 11:return h=l.type,g=l.pendingProps,g=l.elementType===h?g:Rn(h,g),vf(r,l,h,g,o);case 7:return Vt(r,l,l.pendingProps,o),l.child;case 8:return Vt(r,l,l.pendingProps.children,o),l.child;case 12:return Vt(r,l,l.pendingProps.children,o),l.child;case 10:e:{if(h=l.type._context,g=l.pendingProps,y=l.memoizedProps,C=g.value,it(ns,h._currentValue),h._currentValue=C,y!==null)if(Ln(y.value,C)){if(y.children===g.children&&!Zt.current){l=fr(r,l,o);break e}}else for(y=l.child,y!==null&&(y.return=l);y!==null;){var I=y.dependencies;if(I!==null){C=y.child;for(var F=I.firstContext;F!==null;){if(F.context===h){if(y.tag===1){F=hr(-1,o&-o),F.tag=2;var X=y.updateQueue;if(X!==null){X=X.shared;var le=X.pending;le===null?F.next=F:(F.next=le.next,le.next=F),X.pending=F}}y.lanes|=o,F=y.alternate,F!==null&&(F.lanes|=o),y0(y.return,o,l),I.lanes|=o;break}F=F.next}}else if(y.tag===10)C=y.type===l.type?null:y.child;else if(y.tag===18){if(C=y.return,C===null)throw Error(n(341));C.lanes|=o,I=C.alternate,I!==null&&(I.lanes|=o),y0(C,o,l),C=y.sibling}else C=y.child;if(C!==null)C.return=y;else for(C=y;C!==null;){if(C===l){C=null;break}if(y=C.sibling,y!==null){y.return=C.return,C=y;break}C=C.return}y=C}Vt(r,l,g.children,o),l=l.child}return l;case 9:return g=l.type,h=l.pendingProps.children,el(l,o),g=Cn(g),h=h(g),l.flags|=1,Vt(r,l,h,o),l.child;case 14:return h=l.type,g=Rn(h,l.pendingProps),g=Rn(h.type,g),yf(r,l,h,g,o);case 15:return xf(r,l,l.type,l.pendingProps,o);case 17:return h=l.type,g=l.pendingProps,g=l.elementType===h?g:Rn(h,g),ms(r,l),l.tag=1,Jt(h)?(r=!0,Qa(l)):r=!1,el(l,o),cf(l,h,g),L0(l,h,g,o),O0(null,l,h,!0,r,o);case 19:return Nf(r,l,o);case 22:return wf(r,l,o)}throw Error(n(156,l.tag))};function Kf(r,l){return A1(r,l)}function z5(r,l,o,h){this.tag=r,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=l,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=h,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Nn(r,l,o,h){return new z5(r,l,o,h)}function iu(r){return r=r.prototype,!(!r||!r.isReactComponent)}function A5(r){if(typeof r=="function")return iu(r)?1:0;if(r!=null){if(r=r.$$typeof,r===ae)return 11;if(r===se)return 14}return 2}function Hr(r,l){var o=r.alternate;return o===null?(o=Nn(r.tag,l,r.key,r.mode),o.elementType=r.elementType,o.type=r.type,o.stateNode=r.stateNode,o.alternate=r,r.alternate=o):(o.pendingProps=l,o.type=r.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=r.flags&14680064,o.childLanes=r.childLanes,o.lanes=r.lanes,o.child=r.child,o.memoizedProps=r.memoizedProps,o.memoizedState=r.memoizedState,o.updateQueue=r.updateQueue,l=r.dependencies,o.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},o.sibling=r.sibling,o.index=r.index,o.ref=r.ref,o}function Ts(r,l,o,h,g,y){var C=2;if(h=r,typeof r=="function")iu(r)&&(C=1);else if(typeof r=="string")C=5;else e:switch(r){case Q:return Si(o.children,g,y,l);case te:C=8,g|=8;break;case ne:return r=Nn(12,o,l,g|2),r.elementType=ne,r.lanes=y,r;case Te:return r=Nn(13,o,l,g),r.elementType=Te,r.lanes=y,r;case ve:return r=Nn(19,o,l,g),r.elementType=ve,r.lanes=y,r;case we:return Es(o,g,y,l);default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case H:C=10;break e;case de:C=9;break e;case ae:C=11;break e;case se:C=14;break e;case K:C=16,h=null;break e}throw Error(n(130,r==null?r:typeof r,""))}return l=Nn(C,o,l,g),l.elementType=r,l.type=h,l.lanes=y,l}function Si(r,l,o,h){return r=Nn(7,r,h,l),r.lanes=o,r}function Es(r,l,o,h){return r=Nn(22,r,h,l),r.elementType=we,r.lanes=o,r.stateNode={isHidden:!1},r}function lu(r,l,o){return r=Nn(6,r,null,l),r.lanes=o,r}function au(r,l,o){return l=Nn(4,r.children!==null?r.children:[],r.key,l),l.lanes=o,l.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},l}function M5(r,l,o,h,g){this.tag=l,this.containerInfo=r,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Do(0),this.expirationTimes=Do(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Do(0),this.identifierPrefix=h,this.onRecoverableError=g,this.mutableSourceEagerHydrationData=null}function su(r,l,o,h,g,y,C,I,F){return r=new M5(r,l,o,I,F),l===1?(l=1,y===!0&&(l|=8)):l=0,y=Nn(3,null,null,l),r.current=y,y.stateNode=r,y.memoizedState={element:h,isDehydrated:o,cache:null,transitions:null,pendingSuspenseBoundaries:null},w0(y),r}function j5(r,l,o){var h=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:O,key:h==null?null:""+h,children:r,containerInfo:l,implementation:o}}function Zf(r){if(!r)return Dr;r=r._reactInternals;e:{if(hi(r)!==r||r.tag!==1)throw Error(n(170));var l=r;do{switch(l.tag){case 3:l=l.stateNode.context;break e;case 1:if(Jt(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break e}}l=l.return}while(l!==null);throw Error(n(171))}if(r.tag===1){var o=r.type;if(Jt(o))return Th(r,o,l)}return l}function Jf(r,l,o,h,g,y,C,I,F){return r=su(o,h,!0,r,g,y,C,I,F),r.context=Zf(null),o=r.current,h=Wt(),g=_r(o),y=hr(h,g),y.callback=l??null,Rr(o,y,g),r.current.lanes=g,Tl(r,g,h),nn(r,h),r}function Ns(r,l,o,h){var g=l.current,y=Wt(),C=_r(g);return o=Zf(o),l.context===null?l.context=o:l.pendingContext=o,l=hr(y,C),l.payload={element:r},h=h===void 0?null:h,h!==null&&(l.callback=h),r=Rr(g,l,C),r!==null&&(Bn(r,g,C,y),is(r,g,C)),C}function zs(r){if(r=r.current,!r.child)return null;switch(r.child.tag){case 5:return r.child.stateNode;default:return r.child.stateNode}}function ed(r,l){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var o=r.retryLane;r.retryLane=o!==0&&o<l?o:l}}function ou(r,l){ed(r,l),(r=r.alternate)&&ed(r,l)}function I5(){return null}var td=typeof reportError=="function"?reportError:function(r){console.error(r)};function uu(r){this._internalRoot=r}As.prototype.render=uu.prototype.render=function(r){var l=this._internalRoot;if(l===null)throw Error(n(409));Ns(r,l,null,null)},As.prototype.unmount=uu.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var l=r.containerInfo;wi(function(){Ns(null,r,null,null)}),l[ar]=null}};function As(r){this._internalRoot=r}As.prototype.unstable_scheduleHydration=function(r){if(r){var l=F1();r={blockedOn:null,target:r,priority:l};for(var o=0;o<zr.length&&l!==0&&l<zr[o].priority;o++);zr.splice(o,0,r),o===0&&_1(r)}};function cu(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)}function Ms(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11&&(r.nodeType!==8||r.nodeValue!==" react-mount-point-unstable "))}function nd(){}function D5(r,l,o,h,g){if(g){if(typeof h=="function"){var y=h;h=function(){var X=zs(C);y.call(X)}}var C=Jf(l,h,r,0,null,!1,!1,"",nd);return r._reactRootContainer=C,r[ar]=C.current,Bl(r.nodeType===8?r.parentNode:r),wi(),C}for(;g=r.lastChild;)r.removeChild(g);if(typeof h=="function"){var I=h;h=function(){var X=zs(F);I.call(X)}}var F=su(r,0,!1,null,null,!1,!1,"",nd);return r._reactRootContainer=F,r[ar]=F.current,Bl(r.nodeType===8?r.parentNode:r),wi(function(){Ns(l,F,o,h)}),F}function js(r,l,o,h,g){var y=o._reactRootContainer;if(y){var C=y;if(typeof g=="function"){var I=g;g=function(){var F=zs(C);I.call(F)}}Ns(l,C,r,g)}else C=D5(o,l,r,g,h);return zs(C)}P1=function(r){switch(r.tag){case 3:var l=r.stateNode;if(l.current.memoizedState.isDehydrated){var o=Cl(l.pendingLanes);o!==0&&(Lo(l,o|1),nn(l,yt()),(Ye&6)===0&&(ll=yt()+500,Lr()))}break;case 13:wi(function(){var h=cr(r,1);if(h!==null){var g=Wt();Bn(h,r,1,g)}}),ou(r,1)}},Po=function(r){if(r.tag===13){var l=cr(r,134217728);if(l!==null){var o=Wt();Bn(l,r,134217728,o)}ou(r,134217728)}},R1=function(r){if(r.tag===13){var l=_r(r),o=cr(r,l);if(o!==null){var h=Wt();Bn(o,r,l,h)}ou(r,l)}},F1=function(){return et},O1=function(r,l){var o=et;try{return et=r,l()}finally{et=o}},No=function(r,l,o){switch(l){case"input":if(br(r,o),l=o.name,o.type==="radio"&&l!=null){for(o=r;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll("input[name="+JSON.stringify(""+l)+'][type="radio"]'),l=0;l<o.length;l++){var h=o[l];if(h!==r&&h.form===r.form){var g=Xa(h);if(!g)throw Error(n(90));ri(h),br(h,g)}}}break;case"textarea":oi(r,o);break;case"select":l=o.value,l!=null&&$n(r,!!o.multiple,l,!1)}},b1=tu,S1=wi;var L5={usingClientEntryPoint:!1,Events:[Hl,Wi,Xa,w1,k1,tu]},na={findFiberByHostInstance:fi,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},P5={bundleType:na.bundleType,version:na.version,rendererPackageName:na.rendererPackageName,rendererConfig:na.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:J.ReactCurrentDispatcher,findHostInstanceByFiber:function(r){return r=N1(r),r===null?null:r.stateNode},findFiberByHostInstance:na.findFiberByHostInstance||I5,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Is=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Is.isDisabled&&Is.supportsFiber)try{Aa=Is.inject(P5),Wn=Is}catch{}}return rn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L5,rn.createPortal=function(r,l){var o=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!cu(l))throw Error(n(200));return j5(r,l,null,o)},rn.createRoot=function(r,l){if(!cu(r))throw Error(n(299));var o=!1,h="",g=td;return l!=null&&(l.unstable_strictMode===!0&&(o=!0),l.identifierPrefix!==void 0&&(h=l.identifierPrefix),l.onRecoverableError!==void 0&&(g=l.onRecoverableError)),l=su(r,1,!1,null,null,o,!1,h,g),r[ar]=l.current,Bl(r.nodeType===8?r.parentNode:r),new uu(l)},rn.findDOMNode=function(r){if(r==null)return null;if(r.nodeType===1)return r;var l=r._reactInternals;if(l===void 0)throw typeof r.render=="function"?Error(n(188)):(r=Object.keys(r).join(","),Error(n(268,r)));return r=N1(l),r=r===null?null:r.stateNode,r},rn.flushSync=function(r){return wi(r)},rn.hydrate=function(r,l,o){if(!Ms(l))throw Error(n(200));return js(null,r,l,!0,o)},rn.hydrateRoot=function(r,l,o){if(!cu(r))throw Error(n(405));var h=o!=null&&o.hydratedSources||null,g=!1,y="",C=td;if(o!=null&&(o.unstable_strictMode===!0&&(g=!0),o.identifierPrefix!==void 0&&(y=o.identifierPrefix),o.onRecoverableError!==void 0&&(C=o.onRecoverableError)),l=Jf(l,null,r,1,o??null,g,!1,y,C),r[ar]=l.current,Bl(r),h)for(r=0;r<h.length;r++)o=h[r],g=o._getVersion,g=g(o._source),l.mutableSourceEagerHydrationData==null?l.mutableSourceEagerHydrationData=[o,g]:l.mutableSourceEagerHydrationData.push(o,g);return new As(l)},rn.render=function(r,l,o){if(!Ms(l))throw Error(n(200));return js(null,r,l,!1,o)},rn.unmountComponentAtNode=function(r){if(!Ms(r))throw Error(n(40));return r._reactRootContainer?(wi(function(){js(null,null,r,!1,function(){r._reactRootContainer=null,r[ar]=null})}),!0):!1},rn.unstable_batchedUpdates=tu,rn.unstable_renderSubtreeIntoContainer=function(r,l,o,h){if(!Ms(o))throw Error(n(200));if(r==null||r._reactInternals===void 0)throw Error(n(38));return js(r,l,o,!1,h)},rn.version="18.3.1-next-f1338f8080-20240426",rn}var cd;function V5(){if(cd)return du.exports;cd=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),du.exports=$5(),du.exports}var hd;function W5(){if(hd)return Ds;hd=1;var e=V5();return Ds.createRoot=e.createRoot,Ds.hydrateRoot=e.hydrateRoot,Ds}var G5=W5();const Ys="Attached files: ",X5=[".png",".jpg",".jpeg",".gif",".webp",".svg",".bmp",".ico",".avif"];function Y5(e){const t=e.split(`
41
- `).find(n=>n.startsWith(Ys));return t?t.slice(Ys.length).split(", ").map(n=>n.trim()).filter(Boolean):[]}function Q5(e){return Y5(e).filter(t=>{const n=t.toLowerCase();return X5.some(i=>n.endsWith(i))})}function fp(e){return e.split(`
42
- `).filter(t=>!t.startsWith(Ys)).join(`
43
- `).trim()}function fd(){return{turnStatus:"idle",creditsSpent:0,lastTurnCredits:0,contextUsagePercentage:0,lastTurnDurationMs:0,subagents:[],pendingStages:[],mcpServers:[],availableCommands:[],oauthPrompts:[],compacting:!1}}const dd=e=>{let t;const n=new Set,i=(d,m)=>{const p=typeof d=="function"?d(t):d;if(!Object.is(p,t)){const k=t;t=m??(typeof p!="object"||p===null)?p:Object.assign({},t,p),n.forEach(b=>b(t,k))}},a=()=>t,c={setState:i,getState:a,getInitialState:()=>f,subscribe:d=>(n.add(d),()=>n.delete(d))},f=t=e(i,a,c);return c},K5=(e=>e?dd(e):dd),Z5=e=>e;function J5(e,t=Z5){const n=oa.useSyncExternalStore(e.subscribe,oa.useCallback(()=>t(e.getState()),[e,t]),oa.useCallback(()=>t(e.getInitialState()),[e,t]));return oa.useDebugValue(n),n}const md=e=>{const t=K5(e),n=i=>J5(t,i);return Object.assign(n,t),n},e6=(e=>e?md(e):md);function t6(e,t,n){return e.map(i=>i.sessionId===t?{...i,updatedAt:n}:i).sort((i,a)=>a.updatedAt.localeCompare(i.updatedAt))}function dp(e){const t=e.toLowerCase();return t.includes("credential")||t.includes("expired")||t.includes("not authenticated")||t.includes("unauthorized")||t.includes("kiro-cli login")?{title:"Kiro isn't authenticated",fix:"Run `kiro-cli login` on the server, then retry.",sessionWide:!0}:t.includes("a turn is already running")?{title:"A turn is already running",fix:"Wait for the current turn to finish, or stop it first."}:t.includes("enoent")||t.includes("spawn")||t.includes("command not found")?{title:"Couldn't start kiro-cli",fix:"Check that KIRO_BIN points at an executable kiro-cli.",sessionWide:!0}:t.includes("timed out")?{title:"The request timed out"}:{title:"Turn failed"}}const Fe=e6((e,t)=>({sessions:[],models:[],agents:[],defaultAgentId:"kiro_default",activeId:null,loadingSessionId:null,modes:[],items:[],appliedSeq:0,remainingOlder:0,observability:fd(),streamingText:"",streamingThought:"",pending:[],sessionNotice:null,setSessions:n=>e({sessions:n}),setModels:n=>e({models:n}),setAgents:(n,i)=>e({agents:n,defaultAgentId:i}),setLoadingSession:n=>e({loadingSessionId:n}),loadDetail:n=>e({activeId:n.summary.sessionId,loadingSessionId:null,modes:n.modes,currentModeId:n.currentModeId,currentModelId:n.summary.modelId,observability:n.observability,items:n.transcript,appliedSeq:n.head,remainingOlder:Math.max(0,n.transcriptTotal-n.transcript.length),streamingText:"",streamingThought:"",pending:[],sessionNotice:null}),prependItems:n=>e(i=>({items:[...n,...i.items],remainingOlder:Math.max(0,i.remainingOlder-n.length)})),clearActive:()=>e({activeId:null,loadingSessionId:null,modes:[],items:[],appliedSeq:0,remainingOlder:0,observability:fd(),streamingText:"",streamingThought:"",pending:[],sessionNotice:null}),dismissSessionNotice:()=>e({sessionNotice:null}),addPending:(n,i)=>e(a=>({pending:[...a.pending,{id:n,text:i,status:"sending"}]})),markPendingFailed:(n,i)=>e(a=>({pending:a.pending.map(s=>s.id===n?{...s,status:"failed",error:i}:s)})),applyEvent:n=>{var s,u,c,f;const i=t(),a=n.payload;if(!(n.seq<=i.appliedSeq))switch(e({appliedSeq:n.seq}),a.kind){case"turn_started":{const d=a.prompt.filter(z=>z.type==="text").map(z=>z.text).join(""),m=fp(d),p=Q5(d),k=i.pending.findIndex(z=>z.status==="sending"),b=new Date(n.ts).toISOString(),E=t6(i.sessions,n.sessionId,b);e({items:[...i.items,{type:"message",message:{id:`u-${n.seq}`,role:"user",text:m,timestamp:n.ts,imagePaths:p}}],pending:k===-1?i.pending:i.pending.filter((z,j)=>j!==k),sessions:E,streamingText:"",observability:{...i.observability,turnStatus:"running"}});break}case"session_update":{const d=a.update;if(d.sessionUpdate==="agent_message_chunk"){const m=((s=d.content)==null?void 0:s.text)??"";e({streamingText:i.streamingText+m})}else if(d.sessionUpdate==="agent_thought_chunk"){const m=((u=d.content)==null?void 0:u.text)??"";e({streamingThought:i.streamingThought+m})}else if(d.sessionUpdate==="tool_call"){const m=d,p=(f=(c=m._meta)==null?void 0:c.kiro)==null?void 0:f.toolName;e({items:[...gu(i,`s-${n.seq}`,n.ts),{type:"tool_call",tool:{id:m.toolCallId,name:p,title:m.title??m.toolCallId,kind:m.kind,status:m.status??"pending",input:m.rawInput,content:m.content??[]}}],streamingText:"",streamingThought:""})}else if(d.sessionUpdate==="tool_call_update"){const m=d;e({items:i.items.map(p=>p.type==="tool_call"&&p.tool.id===m.toolCallId?{type:"tool_call",tool:{...p.tool,status:m.status??p.tool.status,output:m.rawOutput??p.tool.output,content:m.content??p.tool.content}}:p)})}break}case"turn_ended":{e({items:gu(i,`s-${n.seq}`,n.ts),sessionNotice:null,streamingText:"",streamingThought:"",observability:{...i.observability,turnStatus:"idle"}});break}case"turn_error":{const d=dp(a.message);e({items:[...gu(i,`s-${n.seq}`,n.ts),{type:"turn_error",id:`err-${n.seq}`,message:a.message,timestamp:n.ts}],sessionNotice:d.sessionWide?{title:d.title,fix:d.fix,detail:a.message}:i.sessionNotice,streamingText:"",streamingThought:"",observability:{...i.observability,turnStatus:"idle"}});break}case"metadata":{const d=(a.params.meteringUsage??[]).reduce((m,p)=>m+p.value,0);e({observability:{...i.observability,contextUsagePercentage:a.params.contextUsagePercentage??i.observability.contextUsagePercentage,creditsSpent:d>0?i.observability.creditsSpent+d:i.observability.creditsSpent,lastTurnCredits:d>0?d:i.observability.lastTurnCredits,lastTurnDurationMs:a.params.turnDurationMs??i.observability.lastTurnDurationMs}});break}case"subagent_update":e({observability:{...i.observability,subagents:a.params.subagents,pendingStages:a.params.pendingStages}});break;case"mcp_health":{const d=i.observability.mcpServers.filter(m=>m.serverName!==a.params.serverName);d.push({serverName:a.params.serverName,status:a.ok?"initialized":"failed",error:a.params.error,updatedAt:n.ts}),e({observability:{...i.observability,mcpServers:d}});break}case"commands_available":e({observability:{...i.observability,availableCommands:a.params.commands}});break;case"compaction":{const d=a.params.status.type!=="started",m=a.params.summary??"";e({observability:{...i.observability,compacting:!d},items:d&&m.trim()?[...i.items,{type:"compaction",id:`c-${n.seq}`,summary:m,timestamp:n.ts}]:i.items});break}case"oauth_request":e({observability:{...i.observability,oauthPrompts:[...i.observability.oauthPrompts,{serverName:a.params.serverName,url:a.params.url,createdAt:n.ts}]}});break;case"process_exited":e({observability:{...i.observability,turnStatus:"idle"}});break}}}));function gu(e,t,n=Date.now()){const i=[...e.items];return e.streamingThought.trim()&&i.push({type:"message",message:{id:`t-${t}`,role:"thinking",text:e.streamingThought,timestamp:n}}),e.streamingText.trim()&&i.push({type:"message",message:{id:`a-${t}`,role:"assistant",text:e.streamingText,timestamp:n}}),i}async function qt(e,t,n){const i={};n!==void 0&&(i["content-type"]="application/json");const a=await fetch(t,{method:e,headers:i,credentials:"same-origin",body:n!==void 0?JSON.stringify(n):void 0});if(a.status===401)throw new Error("Unauthorized");if(!a.ok){const u=await a.text();throw new Error(`${e} ${t} failed (${a.status}): ${u}`)}const s=await a.text();return s?JSON.parse(s):{}}function n6(e){return qt("POST","/api/login",{token:e})}function r6(){return qt("POST","/api/logout")}const st={devices:()=>qt("GET","/api/devices"),revokeDevice:e=>qt("DELETE",`/api/devices/${e}`),logoutAll:()=>qt("POST","/api/logout-all"),models:()=>qt("GET","/api/models"),agents:()=>qt("GET","/api/agents"),listDirs:e=>qt("GET",`/api/fs/dirs?path=${encodeURIComponent(e)}`),listSessions:()=>qt("GET","/api/sessions"),createSession:e=>qt("POST","/api/sessions",e),getSession:e=>qt("GET",`/api/sessions/${e}`),transcriptPage:(e,t,n)=>qt("GET",`/api/sessions/${e}/transcript?offset=${t}&limit=${n}`),deleteSession:e=>qt("DELETE",`/api/sessions/${e}`),renameSession:(e,t)=>qt("POST",`/api/sessions/${e}/rename`,{title:t}),setSessionCwd:(e,t)=>qt("POST",`/api/sessions/${e}/cwd`,{cwd:t}),tree:(e,t="")=>qt("GET",`/api/sessions/${e}/tree?path=${encodeURIComponent(t)}`),downloadUrl:(e,t)=>`/api/sessions/${e}/download?path=${encodeURIComponent(t)}`,previewUrl:(e,t)=>`/api/sessions/${e}/preview?path=${encodeURIComponent(t)}`,attachmentUrl:(e,t)=>t.startsWith("/")?`/api/fs/image?path=${encodeURIComponent(t)}`:`/api/sessions/${e}/preview?path=${encodeURIComponent(t)}`,uploadFiles:async(e,t)=>{const n=new FormData;for(const a of t)n.append("files",a,a.name);const i=await fetch(`/api/sessions/${e}/uploads`,{method:"POST",credentials:"same-origin",body:n});if(i.status===401)throw new Error("Unauthorized");if(!i.ok){const a=await i.text();throw new Error(`Upload failed (${i.status}): ${a}`)}return await i.json()}},i6=1008;class l6{constructor(t,n,i=0){$r(this,"ws",null);$r(this,"cursor",0);$r(this,"closedByUser",!1);$r(this,"backoff",500);$r(this,"reconnectTimer",null);$r(this,"eager",()=>{var n;if(this.closedByUser)return;const t=(n=this.ws)==null?void 0:n.readyState;t===WebSocket.OPEN||t===WebSocket.CONNECTING||this.connect()});$r(this,"onVisibility",()=>{document.visibilityState==="visible"&&this.eager()});this.sessionId=t,this.handlers=n,this.cursor=i,window.addEventListener("online",this.eager),document.addEventListener("visibilitychange",this.onVisibility)}reset(t){this.cursor=t}connect(){this.reconnectTimer&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=null);const t=this.ws;t&&(this.ws=null,t.onopen=null,t.onmessage=null,t.onclose=null,t.onerror=null,(t.readyState===WebSocket.OPEN||t.readyState===WebSocket.CONNECTING)&&t.close()),this.handlers.onStatus(this.cursor>0?"reconnecting":"connecting");const i=`${location.protocol==="https:"?"wss":"ws"}://${location.host}/ws?sessionId=${encodeURIComponent(this.sessionId)}&cursor=${this.cursor}`,a=new WebSocket(i);this.ws=a,a.onopen=()=>{this.ws===a&&(this.backoff=500,this.handlers.onStatus("replaying"),this.send({type:"hello",sessionId:this.sessionId,cursor:this.cursor}))},a.onmessage=s=>{var c,f,d,m;if(this.ws!==a)return;const u=JSON.parse(s.data);switch(u.type){case"event":u.event.seq>this.cursor&&(this.cursor=u.event.seq,this.handlers.onEvent(u.event));break;case"replay_complete":this.handlers.onStatus("connected");break;case"resync":this.handlers.onStatus("resyncing"),this.handlers.onResync();break;case"ack":(f=(c=this.handlers).onAck)==null||f.call(c,u.action,u.ok,u.error);break;case"error":console.warn("ws error:",u.message),(m=(d=this.handlers).onServerError)==null||m.call(d,u.message);break}},a.onclose=s=>{var u,c;if(this.ws===a){if(this.closedByUser){this.handlers.onStatus("closed");return}if(s.code===i6){this.closedByUser=!0,this.handlers.onStatus("closed"),(c=(u=this.handlers).onUnauthorized)==null||c.call(u);return}this.handlers.onStatus("reconnecting"),this.reconnectTimer=window.setTimeout(()=>this.connect(),this.backoff),this.backoff=Math.min(this.backoff*1.7,1e4)}},a.onerror=()=>{this.ws===a&&a.close()}}send(t){var n;return((n=this.ws)==null?void 0:n.readyState)===WebSocket.OPEN?(this.ws.send(JSON.stringify(t)),!0):!1}prompt(t){return this.send({type:"prompt",content:t})}cancel(){this.send({type:"cancel"})}setMode(t){this.send({type:"set_mode",modeId:t})}setModel(t){this.send({type:"set_model",modelId:t})}execCommand(t,n){this.send({type:"exec_command",command:t,args:n})}close(){this.closedByUser=!0,window.removeEventListener("online",this.eager),document.removeEventListener("visibilitychange",this.onVisibility),this.reconnectTimer&&clearTimeout(this.reconnectTimer);const t=this.ws;this.ws=null,t&&(t.onopen=null,t.onmessage=null,t.onclose=null,t.onerror=null,t.close())}}function mp({size:e=14,className:t}){return x.jsx("svg",{className:t,width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:x.jsx("polyline",{points:"6 9 12 15 18 9"})})}function pp({size:e=16,className:t}){return x.jsxs("svg",{className:t,width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[x.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),x.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})}function a6({size:e=16,className:t}){return x.jsx("svg",{className:t,width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.4",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:x.jsx("polyline",{points:"20 6 9 17 4 12"})})}function s6({size:e=18,className:t}){return x.jsxs("svg",{className:t,width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[x.jsx("rect",{x:"4",y:"11",width:"16",height:"10",rx:"2"}),x.jsx("path",{d:"M8 11V7a4 4 0 0 1 8 0v4"})]})}function Mi({size:e=28,className:t}){return x.jsx("svg",{className:`spinner ${t??""}`,width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.4",strokeLinecap:"round","aria-hidden":!0,children:x.jsx("path",{d:"M12 3a9 9 0 1 0 9 9"})})}function o6({size:e=16,className:t}){return x.jsxs("svg",{className:t,width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.4",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[x.jsx("path",{d:"M12 19V5"}),x.jsx("path",{d:"m5 12 7-7 7 7"})]})}function pd({size:e=16,className:t}){return x.jsx("svg",{className:t,width:e,height:e,viewBox:"0 0 24 24",fill:"currentColor",stroke:"none","aria-hidden":!0,children:x.jsx("rect",{x:"6",y:"6",width:"12",height:"12",rx:"2"})})}function gp({size:e=20,className:t}){return x.jsxs("svg",{className:t,width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[x.jsx("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),x.jsx("line",{x1:"5",y1:"12",x2:"19",y2:"12"})]})}function vp({size:e=20,className:t}){return x.jsxs("svg",{className:t,width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[x.jsx("circle",{cx:"11",cy:"11",r:"7"}),x.jsx("line",{x1:"21",y1:"21",x2:"16.5",y2:"16.5"})]})}function yp({size:e=16,className:t}){return x.jsx("svg",{className:t,width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:x.jsx("path",{d:"M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"})})}function u6({size:e=16,className:t}){return x.jsxs("svg",{className:t,width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[x.jsx("path",{d:"M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2v1"}),x.jsx("path",{d:"M2 10l2.5 9h15l2.5-9H7.5"})]})}function c6({size:e=16,className:t}){return x.jsxs("svg",{className:t,width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[x.jsx("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"}),x.jsx("polyline",{points:"14 2 14 8 20 8"})]})}function gd({size:e=16,className:t}){return x.jsxs("svg",{className:t,width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[x.jsx("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"}),x.jsx("polyline",{points:"14 2 14 8 20 8"}),x.jsx("polyline",{points:"9 15 7 13 9 11"}),x.jsx("polyline",{points:"15 11 17 13 15 15"})]})}function h6({size:e=16,className:t}){return x.jsxs("svg",{className:t,width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[x.jsx("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"}),x.jsx("polyline",{points:"14 2 14 8 20 8"}),x.jsx("circle",{cx:"12",cy:"15",r:"2"}),x.jsx("path",{d:"M12 11v2"}),x.jsx("path",{d:"M12 17v1"})]})}function f6({size:e=16,className:t}){return x.jsxs("svg",{className:t,width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[x.jsx("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"}),x.jsx("polyline",{points:"14 2 14 8 20 8"}),x.jsx("line",{x1:"8",y1:"13",x2:"16",y2:"13"}),x.jsx("line",{x1:"8",y1:"17",x2:"14",y2:"17"})]})}function d6({size:e=16,className:t}){return x.jsxs("svg",{className:t,width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[x.jsx("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"}),x.jsx("polyline",{points:"14 2 14 8 20 8"}),x.jsx("circle",{cx:"10",cy:"14",r:"2"}),x.jsx("path",{d:"M20 17l-3-3-5 5"})]})}function m6({size:e=16,className:t}){return x.jsxs("svg",{className:t,width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[x.jsx("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"}),x.jsx("polyline",{points:"14 2 14 8 20 8"}),x.jsx("path",{d:"M8 13h3v3H8z"}),x.jsx("line",{x1:"14",y1:"13",x2:"16",y2:"13"}),x.jsx("line",{x1:"14",y1:"16",x2:"16",y2:"16"})]})}function p6({size:e=16,className:t}){return x.jsxs("svg",{className:t,width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[x.jsx("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"}),x.jsx("polyline",{points:"14 2 14 8 20 8"}),x.jsx("polyline",{points:"8 15 10 13 8 11"}),x.jsx("line",{x1:"12",y1:"16",x2:"16",y2:"16"})]})}function g6({size:e=16,className:t}){return x.jsxs("svg",{className:t,width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[x.jsx("path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}),x.jsx("polyline",{points:"7 10 12 15 17 10"}),x.jsx("line",{x1:"12",y1:"15",x2:"12",y2:"3"})]})}function v6({size:e=16,className:t}){return x.jsxs("svg",{className:t,width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[x.jsx("polyline",{points:"23 4 23 10 17 10"}),x.jsx("path",{d:"M20.49 15a9 9 0 1 1-2.12-9.36L23 10"})]})}function y6({size:e=16,className:t}){return x.jsxs("svg",{className:t,width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[x.jsx("path",{d:"M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"}),x.jsx("line",{x1:"9",y1:"14",x2:"15",y2:"14"}),x.jsx("line",{x1:"9",y1:"18",x2:"13",y2:"18"})]})}function x6({size:e=18,className:t}){return x.jsxs("svg",{className:t,width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[x.jsx("polyline",{points:"4 14 10 14 10 20"}),x.jsx("polyline",{points:"20 10 14 10 14 4"}),x.jsx("line",{x1:"14",y1:"10",x2:"21",y2:"3"}),x.jsx("line",{x1:"3",y1:"21",x2:"10",y2:"14"})]})}function w6({size:e=16,className:t}){return x.jsxs("svg",{className:t,width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[x.jsx("path",{d:"M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7-10-7-10-7Z"}),x.jsx("circle",{cx:"12",cy:"12",r:"3"})]})}function k6({size:e=16,className:t}){return x.jsxs("svg",{className:t,width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[x.jsx("polyline",{points:"16 18 22 12 16 6"}),x.jsx("polyline",{points:"8 6 2 12 8 18"})]})}function b6({size:e=16,className:t}){return x.jsxs("svg",{className:t,width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[x.jsx("polyline",{points:"15 3 21 3 21 9"}),x.jsx("polyline",{points:"9 21 3 21 3 15"}),x.jsx("line",{x1:"21",y1:"3",x2:"14",y2:"10"}),x.jsx("line",{x1:"3",y1:"21",x2:"10",y2:"14"})]})}function S6({size:e=16,className:t}){return x.jsxs("svg",{className:t,width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[x.jsx("polyline",{points:"4 14 10 14 10 20"}),x.jsx("polyline",{points:"20 10 14 10 14 4"}),x.jsx("line",{x1:"14",y1:"10",x2:"21",y2:"3"}),x.jsx("line",{x1:"3",y1:"21",x2:"10",y2:"14"})]})}function C6(e,t){const n=e.trim().toLowerCase();if(!n)return 0;const i=t.toLowerCase();let a=0,s=0,u=-2;for(let c=0;c<n.length;c++){const f=n[c],d=i.indexOf(f,s);if(d===-1)return-1;a+=1,d===u+1&&(a+=3),(d===0||/\s|[-_/.]/.test(i[d-1]??""))&&(a+=2),u=d,s=d+1}return a}function T6({sessions:e,onOpen:t,onClose:n}){const[i,a]=Z.useState(""),[s,u]=Z.useState(0),c=Z.useRef(null);Z.useEffect(()=>{var p;(p=c.current)==null||p.focus()},[]);const f=Z.useMemo(()=>i.trim()?e.map(p=>({s:p,score:C6(i,p.title)})).filter(p=>p.score>=0).sort((p,k)=>k.score-p.score).map(p=>p.s):e.slice(0,50),[e,i]);Z.useEffect(()=>{u(0)},[i]);const d=p=>{t(p),n()},m=p=>{if(p.key==="Escape")n();else if(p.key==="ArrowDown")p.preventDefault(),u(k=>Math.min(k+1,f.length-1));else if(p.key==="ArrowUp")p.preventDefault(),u(k=>Math.max(k-1,0));else if(p.key==="Enter"){p.preventDefault();const k=f[s];k&&d(k.sessionId)}};return x.jsx("div",{className:"search-backdrop",onClick:n,children:x.jsxs("div",{className:"search-modal",role:"dialog","aria-label":"Search sessions",onClick:p=>p.stopPropagation(),children:[x.jsxs("div",{className:"search-field",children:[x.jsx(vp,{size:20,className:"search-field-icon"}),x.jsx("input",{ref:c,className:"search-modal-input",value:i,placeholder:"Search sessions…",onChange:p=>a(p.target.value),onKeyDown:m}),x.jsx("kbd",{className:"search-esc",children:"esc"})]}),x.jsx("div",{className:"search-results",children:f.length===0?x.jsx("p",{className:"search-empty",children:i.trim()?`No sessions match "${i}".`:"No sessions yet."}):f.map((p,k)=>x.jsxs("button",{className:`search-result ${k===s?"is-active":""}`,onMouseEnter:()=>u(k),onClick:()=>d(p.sessionId),children:[x.jsx("span",{className:"search-result-title",children:p.title}),x.jsx("span",{className:"search-result-agent",children:p.agentId??"kiro_default"})]},p.sessionId))})]})})}function E6(e){const t=Math.round((Date.now()-Date.parse(e))/6e4);if(t<1)return"just now";if(t<60)return`${t}m ago`;const n=Math.round(t/60);return n<24?`${n}h ago`:`${Math.round(n/24)}d ago`}function N6(e){if(!e)return"Unknown device";const t=/iPhone|iPad/.test(e)?"iOS":/Android/.test(e)?"Android":/Macintosh|Mac OS/.test(e)?"macOS":/Windows/.test(e)?"Windows":/Linux/.test(e)?"Linux":"Device",n=/Firefox/.test(e)?"Firefox":/Edg\//.test(e)?"Edge":/Chrome/.test(e)?"Chrome":/Safari/.test(e)?"Safari":"";return n?`${t} · ${n}`:t}function z6({onClose:e,onSelfRevoked:t}){const[n,i]=Z.useState(null),[a,s]=Z.useState(!1),u=()=>st.devices().then(d=>i(d.devices)).catch(()=>i([]));Z.useEffect(()=>{u()},[]);const c=async d=>{s(!0);try{if(await st.revokeDevice(d.id),d.current){t();return}await u()}finally{s(!1)}},f=async()=>{s(!0);try{await st.logoutAll(),t()}finally{s(!1)}};return x.jsx("div",{className:"search-backdrop",onClick:e,children:x.jsxs("div",{className:"search-modal",role:"dialog","aria-label":"Logged-in devices",onClick:d=>d.stopPropagation(),children:[x.jsxs("div",{className:"devices-head",children:[x.jsx("span",{className:"devices-title",children:"Logged-in devices"}),x.jsx("button",{className:"btn-ghost",onClick:e,children:"Close"})]}),x.jsx("div",{className:"devices-list",children:n===null?x.jsx("p",{className:"search-empty",children:"Loading…"}):n.length===0?x.jsx("p",{className:"search-empty",children:"No active devices."}):n.map(d=>x.jsxs("div",{className:"device-row",children:[x.jsxs("span",{className:"device-main",children:[x.jsxs("span",{className:"device-name",children:[N6(d.userAgent),d.current&&x.jsx("span",{className:"device-badge",children:"This device"})]}),x.jsxs("span",{className:"device-sub",children:["Active ",E6(d.lastSeenAt)]})]}),x.jsx("button",{className:"btn-ghost device-revoke",disabled:a,onClick:()=>c(d),children:d.current?"Log out":"Revoke"})]},d.id))}),n&&n.length>1&&x.jsx("div",{className:"devices-foot",children:x.jsx("button",{className:"btn-ghost device-revoke",disabled:a,onClick:f,children:"Log out all devices"})})]})})}function A6({title:e,message:t,confirmLabel:n="Confirm",cancelLabel:i="Cancel",danger:a=!1,onConfirm:s,onCancel:u}){return Z.useEffect(()=>{const c=f=>{f.key==="Escape"&&u()};return document.addEventListener("keydown",c),()=>document.removeEventListener("keydown",c)},[u]),x.jsx("div",{className:"confirm-backdrop",onClick:c=>{c.target===c.currentTarget&&u()},children:x.jsxs("div",{className:"confirm-modal",role:"dialog","aria-modal":"true","aria-label":e,children:[x.jsx("h3",{className:"confirm-title",children:e}),t&&x.jsx("p",{className:"confirm-message",children:t}),x.jsxs("div",{className:"confirm-actions",children:[x.jsx("button",{className:"btn-ghost",onClick:u,children:i}),x.jsx("button",{className:a?"btn-danger":"btn-primary",onClick:s,autoFocus:!0,children:n})]})]})})}function M6(e){const t=e.split("/").filter(Boolean);return t.length<=2?e:`…/${t.slice(-2).join("/")}`}function j6(e){const t=Date.parse(e);if(Number.isNaN(t))return"";const n=Math.round((Date.now()-t)/6e4);if(n<1)return"now";if(n<60)return`${n}m`;const i=Math.round(n/60);return i<24?`${i}h`:`${Math.round(i/24)}d`}function I6({sessions:e,activeId:t,loadingId:n,onOpen:i,onNew:a,onDelete:s,onRename:u,onLock:c}){const[f,d]=Z.useState(!1),[m,p]=Z.useState(!1),[k,b]=Z.useState(!1),[E,z]=Z.useState(null),[j,M]=Z.useState(null),[R,q]=Z.useState(null),[J,Y]=Z.useState("");Z.useEffect(()=>{if(!E)return;const Q=()=>z(null);return document.addEventListener("click",Q),()=>document.removeEventListener("click",Q)},[E]),Z.useEffect(()=>{if(!k)return;const Q=()=>b(!1);return document.addEventListener("click",Q),()=>document.removeEventListener("click",Q)},[k]);const O=Q=>{const te=J.trim();te&&u(Q,te),q(null)};return x.jsxs("aside",{className:"sidebar",children:[x.jsxs("header",{className:"sidebar-head",children:[x.jsxs("span",{className:"brand",children:[x.jsx("img",{className:"brand-logo",src:"/logo.svg",alt:""}),x.jsx("span",{className:"wordmark",children:"Casper"})]}),x.jsxs("div",{className:"sidebar-actions",children:[x.jsxs("div",{className:"account-menu",children:[x.jsx("button",{className:"iconbtn iconbtn-lg","aria-label":"Account",title:"Account",onClick:Q=>{Q.stopPropagation(),b(te=>!te)},children:x.jsx(s6,{size:18})}),k&&x.jsxs("div",{className:"menu-list",onClick:Q=>Q.stopPropagation(),children:[x.jsx("button",{className:"menu-item",onClick:()=>{b(!1),p(!0)},children:"Devices"}),x.jsx("button",{className:"menu-item",onClick:()=>{b(!1),c()},children:"Lock app"})]})]}),x.jsx("button",{className:"iconbtn iconbtn-lg","aria-label":"Search sessions",onClick:()=>d(!0),children:x.jsx(vp,{size:20})}),x.jsx("button",{className:"iconbtn iconbtn-lg","aria-label":"New session",title:"New session",onClick:a,children:x.jsx(gp,{size:20})})]})]}),x.jsx("div",{className:"sidebar-list",children:e.length===0?x.jsx("p",{className:"sidebar-empty",children:"No sessions yet. Start one and it keeps running while you're away."}):e.map(Q=>x.jsxs("div",{className:`srow ${Q.sessionId===t?"is-active":""}`,children:[R===Q.sessionId?x.jsx("input",{className:"srow-rename",autoFocus:!0,value:J,onChange:te=>Y(te.target.value),onBlur:()=>O(Q.sessionId),onKeyDown:te=>{te.key==="Enter"&&O(Q.sessionId),te.key==="Escape"&&q(null)},onClick:te=>te.stopPropagation()}):x.jsx("button",{className:"srow-open",onClick:()=>i(Q.sessionId),children:x.jsxs("span",{className:"srow-main",children:[x.jsx("span",{className:"srow-title",title:Q.title,children:Q.title}),x.jsxs("span",{className:"srow-sub",children:[x.jsx("span",{className:"srow-agent",children:Q.agentId??"kiro_default"}),x.jsx("span",{className:"srow-dot",children:"·"}),n===Q.sessionId&&x.jsx(Mi,{size:11,className:"srow-spinner"}),x.jsx("span",{className:"srow-when",children:j6(Q.updatedAt)})]}),Q.cwd&&x.jsx("span",{className:"srow-cwd",title:Q.cwd,children:M6(Q.cwd)})]})}),x.jsxs("div",{className:"srow-menu",children:[x.jsx("button",{className:"iconbtn srow-menu-btn","aria-label":"Session actions",onClick:te=>{te.stopPropagation(),z(E===Q.sessionId?null:Q.sessionId)},children:"⋮"}),E===Q.sessionId&&x.jsxs("div",{className:"menu-list",onClick:te=>te.stopPropagation(),children:[x.jsx("button",{className:"menu-item",onClick:()=>{Y(Q.title),q(Q.sessionId),z(null)},children:"Rename"}),x.jsx("button",{className:"menu-item menu-item-danger",onClick:()=>{z(null),M(Q.sessionId)},children:"Delete"})]})]})]},Q.sessionId))}),f&&x.jsx(T6,{sessions:e,onOpen:i,onClose:()=>d(!1)}),m&&x.jsx(z6,{onClose:()=>p(!1),onSelfRevoked:()=>{p(!1),c()}}),j&&x.jsx(A6,{title:"Delete session?",message:"This session and its history will be permanently deleted. This can't be undone.",confirmLabel:"Delete",danger:!0,onConfirm:()=>{const Q=j;M(null),s(Q)},onCancel:()=>M(null)})]})}function D6(e,t){if(e<=0)return{offset:0,limit:0};const n=Math.max(0,e-t);return{offset:n,limit:e-n}}function vd(e){const t=[],n=String(e||"");let i=n.indexOf(","),a=0,s=!1;for(;!s;){i===-1&&(i=n.length,s=!0);const u=n.slice(a,i).trim();(u||!s)&&t.push(u),a=i+1,i=n.indexOf(",",a)}return t}function L6(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const P6=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,R6=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,F6={};function yd(e,t){return(F6.jsx?R6:P6).test(e)}const O6=/[ \t\n\f\r]/g;function B6(e){return typeof e=="object"?e.type==="text"?xd(e.value):!1:xd(e)}function xd(e){return e.replace(O6,"")===""}class wa{constructor(t,n,i){this.normal=n,this.property=t,i&&(this.space=i)}}wa.prototype.normal={};wa.prototype.property={};wa.prototype.space=void 0;function xp(e,t){const n={},i={};for(const a of e)Object.assign(n,a.property),Object.assign(i,a.normal);return new wa(n,i,t)}function ma(e){return e.toLowerCase()}class sn{constructor(t,n){this.attribute=n,this.property=t}}sn.prototype.attribute="";sn.prototype.booleanish=!1;sn.prototype.boolean=!1;sn.prototype.commaOrSpaceSeparated=!1;sn.prototype.commaSeparated=!1;sn.prototype.defined=!1;sn.prototype.mustUseProperty=!1;sn.prototype.number=!1;sn.prototype.overloadedBoolean=!1;sn.prototype.property="";sn.prototype.spaceSeparated=!1;sn.prototype.space=void 0;let _6=0;const Oe=Ii(),kt=Ii(),ec=Ii(),he=Ii(),tt=Ii(),Ai=Ii(),mn=Ii();function Ii(){return 2**++_6}const tc=Object.freeze(Object.defineProperty({__proto__:null,boolean:Oe,booleanish:kt,commaOrSpaceSeparated:mn,commaSeparated:Ai,number:he,overloadedBoolean:ec,spaceSeparated:tt},Symbol.toStringTag,{value:"Module"})),vu=Object.keys(tc);class Pc extends sn{constructor(t,n,i,a){let s=-1;if(super(t,n),wd(this,"space",a),typeof i=="number")for(;++s<vu.length;){const u=vu[s];wd(this,vu[s],(i&tc[u])===tc[u])}}}Pc.prototype.defined=!0;function wd(e,t,n){n&&(e[t]=n)}function pl(e){const t={},n={};for(const[i,a]of Object.entries(e.properties)){const s=new Pc(i,e.transform(e.attributes||{},i),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(i)&&(s.mustUseProperty=!0),t[i]=s,n[ma(i)]=i,n[ma(s.attribute)]=i}return new wa(t,n,e.space)}const wp=pl({properties:{ariaActiveDescendant:null,ariaAtomic:kt,ariaAutoComplete:null,ariaBusy:kt,ariaChecked:kt,ariaColCount:he,ariaColIndex:he,ariaColSpan:he,ariaControls:tt,ariaCurrent:null,ariaDescribedBy:tt,ariaDetails:null,ariaDisabled:kt,ariaDropEffect:tt,ariaErrorMessage:null,ariaExpanded:kt,ariaFlowTo:tt,ariaGrabbed:kt,ariaHasPopup:null,ariaHidden:kt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:tt,ariaLevel:he,ariaLive:null,ariaModal:kt,ariaMultiLine:kt,ariaMultiSelectable:kt,ariaOrientation:null,ariaOwns:tt,ariaPlaceholder:null,ariaPosInSet:he,ariaPressed:kt,ariaReadOnly:kt,ariaRelevant:null,ariaRequired:kt,ariaRoleDescription:tt,ariaRowCount:he,ariaRowIndex:he,ariaRowSpan:he,ariaSelected:kt,ariaSetSize:he,ariaSort:null,ariaValueMax:he,ariaValueMin:he,ariaValueNow:he,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function kp(e,t){return t in e?e[t]:t}function bp(e,t){return kp(e,t.toLowerCase())}const q6=pl({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Ai,acceptCharset:tt,accessKey:tt,action:null,allow:null,allowFullScreen:Oe,allowPaymentRequest:Oe,allowUserMedia:Oe,alpha:Oe,alt:null,as:null,async:Oe,autoCapitalize:null,autoComplete:tt,autoFocus:Oe,autoPlay:Oe,blocking:tt,capture:null,charSet:null,checked:Oe,cite:null,className:tt,closedBy:null,colorSpace:null,cols:he,colSpan:he,command:null,commandFor:null,content:null,contentEditable:kt,controls:Oe,controlsList:tt,coords:he|Ai,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Oe,defer:Oe,dir:null,dirName:null,disabled:Oe,download:ec,draggable:kt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Oe,formTarget:null,headers:tt,height:he,hidden:ec,high:he,href:null,hrefLang:null,htmlFor:tt,httpEquiv:tt,id:null,imageSizes:null,imageSrcSet:null,inert:Oe,inputMode:null,integrity:null,is:null,isMap:Oe,itemId:null,itemProp:tt,itemRef:tt,itemScope:Oe,itemType:tt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Oe,low:he,manifest:null,max:null,maxLength:he,media:null,method:null,min:null,minLength:he,multiple:Oe,muted:Oe,name:null,nonce:null,noModule:Oe,noValidate:Oe,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:Oe,optimum:he,pattern:null,ping:tt,placeholder:null,playsInline:Oe,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Oe,referrerPolicy:null,rel:tt,required:Oe,reversed:Oe,rows:he,rowSpan:he,sandbox:tt,scope:null,scoped:Oe,seamless:Oe,selected:Oe,shadowRootClonable:Oe,shadowRootCustomElementRegistry:Oe,shadowRootDelegatesFocus:Oe,shadowRootMode:null,shadowRootSerializable:Oe,shape:null,size:he,sizes:null,slot:null,span:he,spellCheck:kt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:he,step:null,style:null,tabIndex:he,target:null,title:null,translate:null,type:null,typeMustMatch:Oe,useMap:null,value:kt,width:he,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:tt,axis:null,background:null,bgColor:null,border:he,borderColor:null,bottomMargin:he,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Oe,declare:Oe,event:null,face:null,frame:null,frameBorder:null,hSpace:he,leftMargin:he,link:null,longDesc:null,lowSrc:null,marginHeight:he,marginWidth:he,noResize:Oe,noHref:Oe,noShade:Oe,noWrap:Oe,object:null,profile:null,prompt:null,rev:null,rightMargin:he,rules:null,scheme:null,scrolling:kt,standby:null,summary:null,text:null,topMargin:he,valueType:null,version:null,vAlign:null,vLink:null,vSpace:he,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:Oe,disablePictureInPicture:Oe,disableRemotePlayback:Oe,exportParts:Ai,part:tt,prefix:null,property:null,results:he,security:null,unselectable:null},space:"html",transform:bp}),H6=pl({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",maskType:"mask-type",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:mn,accentHeight:he,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:he,amplitude:he,arabicForm:null,ascent:he,attributeName:null,attributeType:null,azimuth:he,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:he,by:null,calcMode:null,capHeight:he,className:tt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:he,diffuseConstant:he,direction:null,display:null,dur:null,divisor:he,dominantBaseline:null,download:Oe,dx:null,dy:null,edgeMode:null,editable:null,elevation:he,enableBackground:null,end:null,event:null,exponent:he,externalResourcesRequired:null,fill:null,fillOpacity:he,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:Ai,g2:Ai,glyphName:Ai,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:he,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:he,horizOriginX:he,horizOriginY:he,id:null,ideographic:he,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:he,k:he,k1:he,k2:he,k3:he,k4:he,kernelMatrix:mn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:he,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:he,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:he,overlineThickness:he,paintOrder:null,panose1:null,path:null,pathLength:he,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:tt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:he,pointsAtY:he,pointsAtZ:he,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:mn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:mn,rev:mn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:mn,requiredFeatures:mn,requiredFonts:mn,requiredFormats:mn,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:he,specularExponent:he,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:he,strikethroughThickness:he,string:null,stroke:null,strokeDashArray:mn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:he,strokeOpacity:he,strokeWidth:null,style:null,surfaceScale:he,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:mn,tabIndex:he,tableValues:null,target:null,targetX:he,targetY:he,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:mn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:he,underlineThickness:he,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:he,values:null,vAlphabetic:he,vMathematical:he,vectorEffect:null,vHanging:he,vIdeographic:he,version:null,vertAdvY:he,vertOriginX:he,vertOriginY:he,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:he,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:kp}),Sp=pl({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()}}),Cp=pl({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:bp}),Tp=pl({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),U6={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"},$6=/[A-Z]/g,kd=/-[a-z]/g,V6=/^data[-\w.:]+$/i;function Ep(e,t){const n=ma(t);let i=t,a=sn;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&V6.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(kd,G6);i="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!kd.test(s)){let u=s.replace($6,W6);u.charAt(0)!=="-"&&(u="-"+u),t="data"+u}}a=Pc}return new a(i,t)}function W6(e){return"-"+e.toLowerCase()}function G6(e){return e.charAt(1).toUpperCase()}const Np=xp([wp,q6,Sp,Cp,Tp],"html"),ao=xp([wp,H6,Sp,Cp,Tp],"svg");function bd(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function X6(e){return e.join(" ").trim()}var sl={},yu,Sd;function Y6(){if(Sd)return yu;Sd=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,u=/^[;\s]*/,c=/^\s+|\s+$/g,f=`
44
- `,d="/",m="*",p="",k="comment",b="declaration";function E(j,M){if(typeof j!="string")throw new TypeError("First argument must be a string");if(!j)return[];M=M||{};var R=1,q=1;function J(ve){var se=ve.match(t);se&&(R+=se.length);var K=ve.lastIndexOf(f);q=~K?ve.length-K:q+ve.length}function Y(){var ve={line:R,column:q};return function(se){return se.position=new O(ve),ne(),se}}function O(ve){this.start=ve,this.end={line:R,column:q},this.source=M.source}O.prototype.content=j;function Q(ve){var se=new Error(M.source+":"+R+":"+q+": "+ve);if(se.reason=ve,se.filename=M.source,se.line=R,se.column=q,se.source=j,!M.silent)throw se}function te(ve){var se=ve.exec(j);if(se){var K=se[0];return J(K),j=j.slice(K.length),se}}function ne(){te(n)}function H(ve){var se;for(ve=ve||[];se=de();)se!==!1&&ve.push(se);return ve}function de(){var ve=Y();if(!(d!=j.charAt(0)||m!=j.charAt(1))){for(var se=2;p!=j.charAt(se)&&(m!=j.charAt(se)||d!=j.charAt(se+1));)++se;if(se+=2,p===j.charAt(se-1))return Q("End of comment missing");var K=j.slice(2,se-2);return q+=2,J(K),j=j.slice(se),q+=2,ve({type:k,comment:K})}}function ae(){var ve=Y(),se=te(i);if(se){if(de(),!te(a))return Q("property missing ':'");var K=te(s),we=ve({type:b,property:z(se[0].replace(e,p)),value:K?z(K[0].replace(e,p)):p});return te(u),we}}function Te(){var ve=[];H(ve);for(var se;se=ae();)se!==!1&&(ve.push(se),H(ve));return ve}return ne(),Te()}function z(j){return j?j.replace(c,p):p}return yu=E,yu}var Cd;function Q6(){if(Cd)return sl;Cd=1;var e=sl&&sl.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(sl,"__esModule",{value:!0}),sl.default=n;const t=e(Y6());function n(i,a){let s=null;if(!i||typeof i!="string")return s;const u=(0,t.default)(i),c=typeof a=="function";return u.forEach(f=>{if(f.type!=="declaration")return;const{property:d,value:m}=f;c?a(d,m,f):m&&(s=s||{},s[d]=m)}),s}return sl}var ia={},Td;function K6(){if(Td)return ia;Td=1,Object.defineProperty(ia,"__esModule",{value:!0}),ia.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,s=function(d){return!d||n.test(d)||e.test(d)},u=function(d,m){return m.toUpperCase()},c=function(d,m){return"".concat(m,"-")},f=function(d,m){return m===void 0&&(m={}),s(d)?d:(d=d.toLowerCase(),m.reactCompat?d=d.replace(a,c):d=d.replace(i,c),d.replace(t,u))};return ia.camelCase=f,ia}var la,Ed;function Z6(){if(Ed)return la;Ed=1;var e=la&&la.__importDefault||function(a){return a&&a.__esModule?a:{default:a}},t=e(Q6()),n=K6();function i(a,s){var u={};return!a||typeof a!="string"||(0,t.default)(a,function(c,f){c&&f&&(u[(0,n.camelCase)(c,s)]=f)}),u}return i.default=i,la=i,la}var J6=Z6();const eg=Dc(J6),zp=Ap("end"),Rc=Ap("start");function Ap(e){return t;function t(n){const i=n&&n.position&&n.position[e]||{};if(typeof i.line=="number"&&i.line>0&&typeof i.column=="number"&&i.column>0)return{line:i.line,column:i.column,offset:typeof i.offset=="number"&&i.offset>-1?i.offset:void 0}}}function tg(e){const t=Rc(e),n=zp(e);if(t&&n)return{start:t,end:n}}function ca(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Nd(e.position):"start"in e||"end"in e?Nd(e):"line"in e||"column"in e?nc(e):""}function nc(e){return zd(e&&e.line)+":"+zd(e&&e.column)}function Nd(e){return nc(e&&e.start)+"-"+nc(e&&e.end)}function zd(e){return e&&typeof e=="number"?e:1}class $t extends Error{constructor(t,n,i){super(),typeof n=="string"&&(i=n,n=void 0);let a="",s={},u=!1;if(n&&("line"in n&&"column"in n?s={place:n}:"start"in n&&"end"in n?s={place:n}:"type"in n?s={ancestors:[n],place:n.position}:s={...n}),typeof t=="string"?a=t:!s.cause&&t&&(u=!0,a=t.message,s.cause=t),!s.ruleId&&!s.source&&typeof i=="string"){const f=i.indexOf(":");f===-1?s.ruleId=i:(s.source=i.slice(0,f),s.ruleId=i.slice(f+1))}if(!s.place&&s.ancestors&&s.ancestors){const f=s.ancestors[s.ancestors.length-1];f&&(s.place=f.position)}const c=s.place&&"start"in s.place?s.place.start:s.place;this.ancestors=s.ancestors||void 0,this.cause=s.cause||void 0,this.column=c?c.column:void 0,this.fatal=void 0,this.file="",this.message=a,this.line=c?c.line:void 0,this.name=ca(s.place)||"1:1",this.place=s.place||void 0,this.reason=this.message,this.ruleId=s.ruleId||void 0,this.source=s.source||void 0,this.stack=u&&s.cause&&typeof s.cause.stack=="string"?s.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}$t.prototype.file="";$t.prototype.name="";$t.prototype.reason="";$t.prototype.message="";$t.prototype.stack="";$t.prototype.column=void 0;$t.prototype.line=void 0;$t.prototype.ancestors=void 0;$t.prototype.cause=void 0;$t.prototype.fatal=void 0;$t.prototype.place=void 0;$t.prototype.ruleId=void 0;$t.prototype.source=void 0;const Fc={}.hasOwnProperty,ng=new Map,rg=/[A-Z]/g,ig=new Set(["table","tbody","thead","tfoot","tr"]),lg=new Set(["td","th"]),Mp="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function ag(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let i;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");i=mg(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");i=dg(n,t.jsx,t.jsxs)}const a={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:i,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"?ao:Np,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},s=jp(a,e,void 0);return s&&typeof s!="string"?s:a.create(e,a.Fragment,{children:s||void 0},void 0)}function jp(e,t,n){if(t.type==="element")return sg(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return og(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return cg(e,t,n);if(t.type==="mdxjsEsm")return ug(e,t);if(t.type==="root")return hg(e,t,n);if(t.type==="text")return fg(e,t)}function sg(e,t,n){const i=e.schema;let a=i;t.tagName.toLowerCase()==="svg"&&i.space==="html"&&(a=ao,e.schema=a),e.ancestors.push(t);const s=Dp(e,t.tagName,!1),u=pg(e,t);let c=Bc(e,t);return ig.has(t.tagName)&&(c=c.filter(function(f){return typeof f=="string"?!B6(f):!0})),Ip(e,u,s,t),Oc(u,c),e.ancestors.pop(),e.schema=i,e.create(t,s,u,n)}function og(e,t){if(t.data&&t.data.estree&&e.evaluater){const i=t.data.estree.body[0];return i.type,e.evaluater.evaluateExpression(i.expression)}pa(e,t.position)}function ug(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);pa(e,t.position)}function cg(e,t,n){const i=e.schema;let a=i;t.name==="svg"&&i.space==="html"&&(a=ao,e.schema=a),e.ancestors.push(t);const s=t.name===null?e.Fragment:Dp(e,t.name,!0),u=gg(e,t),c=Bc(e,t);return Ip(e,u,s,t),Oc(u,c),e.ancestors.pop(),e.schema=i,e.create(t,s,u,n)}function hg(e,t,n){const i={};return Oc(i,Bc(e,t)),e.create(t,e.Fragment,i,n)}function fg(e,t){return t.value}function Ip(e,t,n,i){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=i)}function Oc(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function dg(e,t,n){return i;function i(a,s,u,c){const d=Array.isArray(u.children)?n:t;return c?d(s,u,c):d(s,u)}}function mg(e,t){return n;function n(i,a,s,u){const c=Array.isArray(s.children),f=Rc(i);return t(a,s,u,c,{columnNumber:f?f.column-1:void 0,fileName:e,lineNumber:f?f.line:void 0},void 0)}}function pg(e,t){const n={};let i,a;for(a in t.properties)if(a!=="children"&&Fc.call(t.properties,a)){const s=vg(e,a,t.properties[a]);if(s){const[u,c]=s;e.tableCellAlignToStyle&&u==="align"&&typeof c=="string"&&lg.has(t.tagName)?i=c:n[u]=c}}if(i){const s=n.style||(n.style={});s[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=i}return n}function gg(e,t){const n={};for(const i of t.attributes)if(i.type==="mdxJsxExpressionAttribute")if(i.data&&i.data.estree&&e.evaluater){const s=i.data.estree.body[0];s.type;const u=s.expression;u.type;const c=u.properties[0];c.type,Object.assign(n,e.evaluater.evaluateExpression(c.argument))}else pa(e,t.position);else{const a=i.name;let s;if(i.value&&typeof i.value=="object")if(i.value.data&&i.value.data.estree&&e.evaluater){const c=i.value.data.estree.body[0];c.type,s=e.evaluater.evaluateExpression(c.expression)}else pa(e,t.position);else s=i.value===null?!0:i.value;n[a]=s}return n}function Bc(e,t){const n=[];let i=-1;const a=e.passKeys?new Map:ng;for(;++i<t.children.length;){const s=t.children[i];let u;if(e.passKeys){const f=s.type==="element"?s.tagName:s.type==="mdxJsxFlowElement"||s.type==="mdxJsxTextElement"?s.name:void 0;if(f){const d=a.get(f)||0;u=f+"-"+d,a.set(f,d+1)}}const c=jp(e,s,u);c!==void 0&&n.push(c)}return n}function vg(e,t,n){const i=Ep(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=i.commaSeparated?L6(n):X6(n)),i.property==="style"){let a=typeof n=="object"?n:yg(e,String(n));return e.stylePropertyNameCase==="css"&&(a=xg(a)),["style",a]}return[e.elementAttributeNameCase==="react"&&i.space?U6[i.property]||i.property:i.attribute,n]}}function yg(e,t){try{return eg(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const i=n,a=new $t("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:i,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw a.file=e.filePath||void 0,a.url=Mp+"#cannot-parse-style-attribute",a}}function Dp(e,t,n){let i;if(!n)i={type:"Literal",value:t};else if(t.includes(".")){const a=t.split(".");let s=-1,u;for(;++s<a.length;){const c=yd(a[s])?{type:"Identifier",name:a[s]}:{type:"Literal",value:a[s]};u=u?{type:"MemberExpression",object:u,property:c,computed:!!(s&&c.type==="Literal"),optional:!1}:c}i=u}else i=yd(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(i.type==="Literal"){const a=i.value;return Fc.call(e.components,a)?e.components[a]:a}if(e.evaluater)return e.evaluater.evaluateExpression(i);pa(e)}function pa(e,t){const n=new $t("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=Mp+"#cannot-handle-mdx-estrees-without-createevaluater",n}function xg(e){const t={};let n;for(n in e)Fc.call(e,n)&&(t[wg(n)]=e[n]);return t}function wg(e){let t=e.replace(rg,kg);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function kg(e){return"-"+e.toLowerCase()}const xu={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"]},bg={};function _c(e,t){const n=bg,i=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,a=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Lp(e,i,a)}function Lp(e,t,n){if(Sg(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 Ad(e.children,t,n)}return Array.isArray(e)?Ad(e,t,n):""}function Ad(e,t,n){const i=[];let a=-1;for(;++a<e.length;)i[a]=Lp(e[a],t,n);return i.join("")}function Sg(e){return!!(e&&typeof e=="object")}const Md=document.createElement("i");function qc(e){const t="&"+e+";";Md.innerHTML=t;const n=Md.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function pn(e,t,n,i){const a=e.length;let s=0,u;if(t<0?t=-t>a?0:a+t:t=t>a?a:t,n=n>0?n:0,i.length<1e4)u=Array.from(i),u.unshift(t,n),e.splice(...u);else for(n&&e.splice(t,n);s<i.length;)u=i.slice(s,s+1e4),u.unshift(t,0),e.splice(...u),s+=1e4,t+=1e4}function zn(e,t){return e.length>0?(pn(e,e.length,0,t),e):t}const jd={}.hasOwnProperty;function Pp(e){const t={};let n=-1;for(;++n<e.length;)Cg(t,e[n]);return t}function Cg(e,t){let n;for(n in t){const a=(jd.call(e,n)?e[n]:void 0)||(e[n]={}),s=t[n];let u;if(s)for(u in s){jd.call(a,u)||(a[u]=[]);const c=s[u];Tg(a[u],Array.isArray(c)?c:c?[c]:[])}}}function Tg(e,t){let n=-1;const i=[];for(;++n<t.length;)(t[n].add==="after"?e:i).push(t[n]);pn(e,0,0,i)}function Rp(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 qn(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Yt=Jr(/[A-Za-z]/),Ht=Jr(/[\dA-Za-z]/),Eg=Jr(/[#-'*+\--9=?A-Z^-~]/);function Qs(e){return e!==null&&(e<32||e===127)}const rc=Jr(/\d/),Ng=Jr(/[\dA-Fa-f]/),zg=Jr(/[!-/:-@[-`{-~]/);function ze(e){return e!==null&&e<-2}function nt(e){return e!==null&&(e<0||e===32)}function Ge(e){return e===-2||e===-1||e===32}const so=Jr(new RegExp("\\p{P}|\\p{S}","u")),ji=Jr(/\s/);function Jr(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function gl(e){const t=[];let n=-1,i=0,a=0;for(;++n<e.length;){const s=e.charCodeAt(n);let u="";if(s===37&&Ht(e.charCodeAt(n+1))&&Ht(e.charCodeAt(n+2)))a=2;else if(s<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(s))||(u=String.fromCharCode(s));else if(s>55295&&s<57344){const c=e.charCodeAt(n+1);s<56320&&c>56319&&c<57344?(u=String.fromCharCode(s,c),a=1):u="�"}else u=String.fromCharCode(s);u&&(t.push(e.slice(i,n),encodeURIComponent(u)),i=n+a+1,u=""),a&&(n+=a,a=0)}return t.join("")+e.slice(i)}function We(e,t,n,i){const a=i?i-1:Number.POSITIVE_INFINITY;let s=0;return u;function u(f){return Ge(f)?(e.enter(n),c(f)):t(f)}function c(f){return Ge(f)&&s++<a?(e.consume(f),c):(e.exit(n),t(f))}}const Ag={tokenize:Mg};function Mg(e){const t=e.attempt(this.parser.constructs.contentInitial,i,a);let n;return t;function i(c){if(c===null){e.consume(c);return}return e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),We(e,t,"linePrefix")}function a(c){return e.enter("paragraph"),s(c)}function s(c){const f=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=f),n=f,u(c)}function u(c){if(c===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(c);return}return ze(c)?(e.consume(c),e.exit("chunkText"),s):(e.consume(c),u)}}const jg={tokenize:Ig},Id={tokenize:Dg};function Ig(e){const t=this,n=[];let i=0,a,s,u;return c;function c(q){if(i<n.length){const J=n[i];return t.containerState=J[1],e.attempt(J[0].continuation,f,d)(q)}return d(q)}function f(q){if(i++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,a&&R();const J=t.events.length;let Y=J,O;for(;Y--;)if(t.events[Y][0]==="exit"&&t.events[Y][1].type==="chunkFlow"){O=t.events[Y][1].end;break}M(i);let Q=J;for(;Q<t.events.length;)t.events[Q][1].end={...O},Q++;return pn(t.events,Y+1,0,t.events.slice(J)),t.events.length=Q,d(q)}return c(q)}function d(q){if(i===n.length){if(!a)return k(q);if(a.currentConstruct&&a.currentConstruct.concrete)return E(q);t.interrupt=!!(a.currentConstruct&&!a._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Id,m,p)(q)}function m(q){return a&&R(),M(i),k(q)}function p(q){return t.parser.lazy[t.now().line]=i!==n.length,u=t.now().offset,E(q)}function k(q){return t.containerState={},e.attempt(Id,b,E)(q)}function b(q){return i++,n.push([t.currentConstruct,t.containerState]),k(q)}function E(q){if(q===null){a&&R(),M(0),e.consume(q);return}return a=a||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:a,contentType:"flow",previous:s}),z(q)}function z(q){if(q===null){j(e.exit("chunkFlow"),!0),M(0),e.consume(q);return}return ze(q)?(e.consume(q),j(e.exit("chunkFlow")),i=0,t.interrupt=void 0,c):(e.consume(q),z)}function j(q,J){const Y=t.sliceStream(q);if(J&&Y.push(null),q.previous=s,s&&(s.next=q),s=q,a.defineSkip(q.start),a.write(Y),t.parser.lazy[q.start.line]){let O=a.events.length;for(;O--;)if(a.events[O][1].start.offset<u&&(!a.events[O][1].end||a.events[O][1].end.offset>u))return;const Q=t.events.length;let te=Q,ne,H;for(;te--;)if(t.events[te][0]==="exit"&&t.events[te][1].type==="chunkFlow"){if(ne){H=t.events[te][1].end;break}ne=!0}for(M(i),O=Q;O<t.events.length;)t.events[O][1].end={...H},O++;pn(t.events,te+1,0,t.events.slice(Q)),t.events.length=O}}function M(q){let J=n.length;for(;J-- >q;){const Y=n[J];t.containerState=Y[1],Y[0].exit.call(t,e)}n.length=q}function R(){a.write([null]),s=void 0,a=void 0,t.containerState._closeFlow=void 0}}function Dg(e,t,n){return We(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function hl(e){if(e===null||nt(e)||ji(e))return 1;if(so(e))return 2}function oo(e,t,n){const i=[];let a=-1;for(;++a<e.length;){const s=e[a].resolveAll;s&&!i.includes(s)&&(t=s(t,n),i.push(s))}return t}const ic={name:"attention",resolveAll:Lg,tokenize:Pg};function Lg(e,t){let n=-1,i,a,s,u,c,f,d,m;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(i=n;i--;)if(e[i][0]==="exit"&&e[i][1].type==="attentionSequence"&&e[i][1]._open&&t.sliceSerialize(e[i][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[i][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[i][1].end.offset-e[i][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;f=e[i][1].end.offset-e[i][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const p={...e[i][1].end},k={...e[n][1].start};Dd(p,-f),Dd(k,f),u={type:f>1?"strongSequence":"emphasisSequence",start:p,end:{...e[i][1].end}},c={type:f>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:k},s={type:f>1?"strongText":"emphasisText",start:{...e[i][1].end},end:{...e[n][1].start}},a={type:f>1?"strong":"emphasis",start:{...u.start},end:{...c.end}},e[i][1].end={...u.start},e[n][1].start={...c.end},d=[],e[i][1].end.offset-e[i][1].start.offset&&(d=zn(d,[["enter",e[i][1],t],["exit",e[i][1],t]])),d=zn(d,[["enter",a,t],["enter",u,t],["exit",u,t],["enter",s,t]]),d=zn(d,oo(t.parser.constructs.insideSpan.null,e.slice(i+1,n),t)),d=zn(d,[["exit",s,t],["enter",c,t],["exit",c,t],["exit",a,t]]),e[n][1].end.offset-e[n][1].start.offset?(m=2,d=zn(d,[["enter",e[n][1],t],["exit",e[n][1],t]])):m=0,pn(e,i-1,n-i+3,d),n=i+d.length-m-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function Pg(e,t){const n=this.parser.constructs.attentionMarkers.null,i=this.previous,a=hl(i);let s;return u;function u(f){return s=f,e.enter("attentionSequence"),c(f)}function c(f){if(f===s)return e.consume(f),c;const d=e.exit("attentionSequence"),m=hl(f),p=!m||m===2&&a||n.includes(f),k=!a||a===2&&m||n.includes(i);return d._open=!!(s===42?p:p&&(a||!k)),d._close=!!(s===42?k:k&&(m||!p)),t(f)}}function Dd(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Rg={name:"autolink",tokenize:Fg};function Fg(e,t,n){let i=0;return a;function a(b){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(b),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),s}function s(b){return Yt(b)?(e.consume(b),u):b===64?n(b):d(b)}function u(b){return b===43||b===45||b===46||Ht(b)?(i=1,c(b)):d(b)}function c(b){return b===58?(e.consume(b),i=0,f):(b===43||b===45||b===46||Ht(b))&&i++<32?(e.consume(b),c):(i=0,d(b))}function f(b){return b===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(b),e.exit("autolinkMarker"),e.exit("autolink"),t):b===null||b===32||b===60||Qs(b)?n(b):(e.consume(b),f)}function d(b){return b===64?(e.consume(b),m):Eg(b)?(e.consume(b),d):n(b)}function m(b){return Ht(b)?p(b):n(b)}function p(b){return b===46?(e.consume(b),i=0,m):b===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(b),e.exit("autolinkMarker"),e.exit("autolink"),t):k(b)}function k(b){if((b===45||Ht(b))&&i++<63){const E=b===45?k:p;return e.consume(b),E}return n(b)}}const ka={partial:!0,tokenize:Og};function Og(e,t,n){return i;function i(s){return Ge(s)?We(e,a,"linePrefix")(s):a(s)}function a(s){return s===null||ze(s)?t(s):n(s)}}const Fp={continuation:{tokenize:_g},exit:qg,name:"blockQuote",tokenize:Bg};function Bg(e,t,n){const i=this;return a;function a(u){if(u===62){const c=i.containerState;return c.open||(e.enter("blockQuote",{_container:!0}),c.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(u),e.exit("blockQuoteMarker"),s}return n(u)}function s(u){return Ge(u)?(e.enter("blockQuotePrefixWhitespace"),e.consume(u),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(u))}}function _g(e,t,n){const i=this;return a;function a(u){return Ge(u)?We(e,s,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u):s(u)}function s(u){return e.attempt(Fp,t,n)(u)}}function qg(e){e.exit("blockQuote")}const Op={name:"characterEscape",tokenize:Hg};function Hg(e,t,n){return i;function i(s){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(s),e.exit("escapeMarker"),a}function a(s){return zg(s)?(e.enter("characterEscapeValue"),e.consume(s),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(s)}}const Bp={name:"characterReference",tokenize:Ug};function Ug(e,t,n){const i=this;let a=0,s,u;return c;function c(p){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),f}function f(p){return p===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(p),e.exit("characterReferenceMarkerNumeric"),d):(e.enter("characterReferenceValue"),s=31,u=Ht,m(p))}function d(p){return p===88||p===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(p),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),s=6,u=Ng,m):(e.enter("characterReferenceValue"),s=7,u=rc,m(p))}function m(p){if(p===59&&a){const k=e.exit("characterReferenceValue");return u===Ht&&!qc(i.sliceSerialize(k))?n(p):(e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return u(p)&&a++<s?(e.consume(p),m):n(p)}}const Ld={partial:!0,tokenize:Vg},Pd={concrete:!0,name:"codeFenced",tokenize:$g};function $g(e,t,n){const i=this,a={partial:!0,tokenize:Y};let s=0,u=0,c;return f;function f(O){return d(O)}function d(O){const Q=i.events[i.events.length-1];return s=Q&&Q[1].type==="linePrefix"?Q[2].sliceSerialize(Q[1],!0).length:0,c=O,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),m(O)}function m(O){return O===c?(u++,e.consume(O),m):u<3?n(O):(e.exit("codeFencedFenceSequence"),Ge(O)?We(e,p,"whitespace")(O):p(O))}function p(O){return O===null||ze(O)?(e.exit("codeFencedFence"),i.interrupt?t(O):e.check(Ld,z,J)(O)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),k(O))}function k(O){return O===null||ze(O)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),p(O)):Ge(O)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),We(e,b,"whitespace")(O)):O===96&&O===c?n(O):(e.consume(O),k)}function b(O){return O===null||ze(O)?p(O):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),E(O))}function E(O){return O===null||ze(O)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),p(O)):O===96&&O===c?n(O):(e.consume(O),E)}function z(O){return e.attempt(a,J,j)(O)}function j(O){return e.enter("lineEnding"),e.consume(O),e.exit("lineEnding"),M}function M(O){return s>0&&Ge(O)?We(e,R,"linePrefix",s+1)(O):R(O)}function R(O){return O===null||ze(O)?e.check(Ld,z,J)(O):(e.enter("codeFlowValue"),q(O))}function q(O){return O===null||ze(O)?(e.exit("codeFlowValue"),R(O)):(e.consume(O),q)}function J(O){return e.exit("codeFenced"),t(O)}function Y(O,Q,te){let ne=0;return H;function H(se){return O.enter("lineEnding"),O.consume(se),O.exit("lineEnding"),de}function de(se){return O.enter("codeFencedFence"),Ge(se)?We(O,ae,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(se):ae(se)}function ae(se){return se===c?(O.enter("codeFencedFenceSequence"),Te(se)):te(se)}function Te(se){return se===c?(ne++,O.consume(se),Te):ne>=u?(O.exit("codeFencedFenceSequence"),Ge(se)?We(O,ve,"whitespace")(se):ve(se)):te(se)}function ve(se){return se===null||ze(se)?(O.exit("codeFencedFence"),Q(se)):te(se)}}}function Vg(e,t,n){const i=this;return a;function a(u){return u===null?n(u):(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),s)}function s(u){return i.parser.lazy[i.now().line]?n(u):t(u)}}const wu={name:"codeIndented",tokenize:Gg},Wg={partial:!0,tokenize:Xg};function Gg(e,t,n){const i=this;return a;function a(d){return e.enter("codeIndented"),We(e,s,"linePrefix",5)(d)}function s(d){const m=i.events[i.events.length-1];return m&&m[1].type==="linePrefix"&&m[2].sliceSerialize(m[1],!0).length>=4?u(d):n(d)}function u(d){return d===null?f(d):ze(d)?e.attempt(Wg,u,f)(d):(e.enter("codeFlowValue"),c(d))}function c(d){return d===null||ze(d)?(e.exit("codeFlowValue"),u(d)):(e.consume(d),c)}function f(d){return e.exit("codeIndented"),t(d)}}function Xg(e,t,n){const i=this;return a;function a(u){return i.parser.lazy[i.now().line]?n(u):ze(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),a):We(e,s,"linePrefix",5)(u)}function s(u){const c=i.events[i.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?t(u):ze(u)?a(u):n(u)}}const Yg={name:"codeText",previous:Kg,resolve:Qg,tokenize:Zg};function Qg(e){let t=e.length-4,n=3,i,a;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(i=n;++i<t;)if(e[i][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(i=n-1,t++;++i<=t;)a===void 0?i!==t&&e[i][1].type!=="lineEnding"&&(a=i):(i===t||e[i][1].type==="lineEnding")&&(e[a][1].type="codeTextData",i!==a+2&&(e[a][1].end=e[i-1][1].end,e.splice(a+2,i-a-2),t-=i-a-2,i=a+2),a=void 0);return e}function Kg(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Zg(e,t,n){let i=0,a,s;return u;function u(p){return e.enter("codeText"),e.enter("codeTextSequence"),c(p)}function c(p){return p===96?(e.consume(p),i++,c):(e.exit("codeTextSequence"),f(p))}function f(p){return p===null?n(p):p===32?(e.enter("space"),e.consume(p),e.exit("space"),f):p===96?(s=e.enter("codeTextSequence"),a=0,m(p)):ze(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),f):(e.enter("codeTextData"),d(p))}function d(p){return p===null||p===32||p===96||ze(p)?(e.exit("codeTextData"),f(p)):(e.consume(p),d)}function m(p){return p===96?(e.consume(p),a++,m):a===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(p)):(s.type="codeTextData",d(p))}}class Jg{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 i=n??Number.POSITIVE_INFINITY;return i<this.left.length?this.left.slice(t,i):t>this.left.length?this.right.slice(this.right.length-i+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-i+this.left.length).reverse())}splice(t,n,i){const a=n||0;this.setCursor(Math.trunc(t));const s=this.right.splice(this.right.length-a,Number.POSITIVE_INFINITY);return i&&aa(this.left,i),s.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),aa(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),aa(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);aa(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);aa(this.left,n.reverse())}}}function aa(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 _p(e){const t={};let n=-1,i,a,s,u,c,f,d;const m=new Jg(e);for(;++n<m.length;){for(;n in t;)n=t[n];if(i=m.get(n),n&&i[1].type==="chunkFlow"&&m.get(n-1)[1].type==="listItemPrefix"&&(f=i[1]._tokenizer.events,s=0,s<f.length&&f[s][1].type==="lineEndingBlank"&&(s+=2),s<f.length&&f[s][1].type==="content"))for(;++s<f.length&&f[s][1].type!=="content";)f[s][1].type==="chunkText"&&(f[s][1]._isInFirstContentOfListItem=!0,s++);if(i[0]==="enter")i[1].contentType&&(Object.assign(t,e7(m,n)),n=t[n],d=!0);else if(i[1]._container){for(s=n,a=void 0;s--;)if(u=m.get(s),u[1].type==="lineEnding"||u[1].type==="lineEndingBlank")u[0]==="enter"&&(a&&(m.get(a)[1].type="lineEndingBlank"),u[1].type="lineEnding",a=s);else if(!(u[1].type==="linePrefix"||u[1].type==="listItemIndent"))break;a&&(i[1].end={...m.get(a)[1].start},c=m.slice(a,n),c.unshift(i),m.splice(a,n-a+1,c))}}return pn(e,0,Number.POSITIVE_INFINITY,m.slice(0)),!d}function e7(e,t){const n=e.get(t)[1],i=e.get(t)[2];let a=t-1;const s=[];let u=n._tokenizer;u||(u=i.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(u._contentTypeTextTrailing=!0));const c=u.events,f=[],d={};let m,p,k=-1,b=n,E=0,z=0;const j=[z];for(;b;){for(;e.get(++a)[1]!==b;);s.push(a),b._tokenizer||(m=i.sliceStream(b),b.next||m.push(null),p&&u.defineSkip(b.start),b._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=!0),u.write(m),b._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=void 0)),p=b,b=b.next}for(b=n;++k<c.length;)c[k][0]==="exit"&&c[k-1][0]==="enter"&&c[k][1].type===c[k-1][1].type&&c[k][1].start.line!==c[k][1].end.line&&(z=k+1,j.push(z),b._tokenizer=void 0,b.previous=void 0,b=b.next);for(u.events=[],b?(b._tokenizer=void 0,b.previous=void 0):j.pop(),k=j.length;k--;){const M=c.slice(j[k],j[k+1]),R=s.pop();f.push([R,R+M.length-1]),e.splice(R,2,M)}for(f.reverse(),k=-1;++k<f.length;)d[E+f[k][0]]=E+f[k][1],E+=f[k][1]-f[k][0]-1;return d}const t7={resolve:r7,tokenize:i7},n7={partial:!0,tokenize:l7};function r7(e){return _p(e),e}function i7(e,t){let n;return i;function i(c){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),a(c)}function a(c){return c===null?s(c):ze(c)?e.check(n7,u,s)(c):(e.consume(c),a)}function s(c){return e.exit("chunkContent"),e.exit("content"),t(c)}function u(c){return e.consume(c),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,a}}function l7(e,t,n){const i=this;return a;function a(u){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),We(e,s,"linePrefix")}function s(u){if(u===null||ze(u))return n(u);const c=i.events[i.events.length-1];return!i.parser.constructs.disable.null.includes("codeIndented")&&c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?t(u):e.interrupt(i.parser.constructs.flow,n,t)(u)}}function qp(e,t,n,i,a,s,u,c,f){const d=f||Number.POSITIVE_INFINITY;let m=0;return p;function p(M){return M===60?(e.enter(i),e.enter(a),e.enter(s),e.consume(M),e.exit(s),k):M===null||M===32||M===41||Qs(M)?n(M):(e.enter(i),e.enter(u),e.enter(c),e.enter("chunkString",{contentType:"string"}),z(M))}function k(M){return M===62?(e.enter(s),e.consume(M),e.exit(s),e.exit(a),e.exit(i),t):(e.enter(c),e.enter("chunkString",{contentType:"string"}),b(M))}function b(M){return M===62?(e.exit("chunkString"),e.exit(c),k(M)):M===null||M===60||ze(M)?n(M):(e.consume(M),M===92?E:b)}function E(M){return M===60||M===62||M===92?(e.consume(M),b):b(M)}function z(M){return!m&&(M===null||M===41||nt(M))?(e.exit("chunkString"),e.exit(c),e.exit(u),e.exit(i),t(M)):m<d&&M===40?(e.consume(M),m++,z):M===41?(e.consume(M),m--,z):M===null||M===32||M===40||Qs(M)?n(M):(e.consume(M),M===92?j:z)}function j(M){return M===40||M===41||M===92?(e.consume(M),z):z(M)}}function Hp(e,t,n,i,a,s){const u=this;let c=0,f;return d;function d(b){return e.enter(i),e.enter(a),e.consume(b),e.exit(a),e.enter(s),m}function m(b){return c>999||b===null||b===91||b===93&&!f||b===94&&!c&&"_hiddenFootnoteSupport"in u.parser.constructs?n(b):b===93?(e.exit(s),e.enter(a),e.consume(b),e.exit(a),e.exit(i),t):ze(b)?(e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),m):(e.enter("chunkString",{contentType:"string"}),p(b))}function p(b){return b===null||b===91||b===93||ze(b)||c++>999?(e.exit("chunkString"),m(b)):(e.consume(b),f||(f=!Ge(b)),b===92?k:p)}function k(b){return b===91||b===92||b===93?(e.consume(b),c++,p):p(b)}}function Up(e,t,n,i,a,s){let u;return c;function c(k){return k===34||k===39||k===40?(e.enter(i),e.enter(a),e.consume(k),e.exit(a),u=k===40?41:k,f):n(k)}function f(k){return k===u?(e.enter(a),e.consume(k),e.exit(a),e.exit(i),t):(e.enter(s),d(k))}function d(k){return k===u?(e.exit(s),f(u)):k===null?n(k):ze(k)?(e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),We(e,d,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),m(k))}function m(k){return k===u||k===null||ze(k)?(e.exit("chunkString"),d(k)):(e.consume(k),k===92?p:m)}function p(k){return k===u||k===92?(e.consume(k),m):m(k)}}function ha(e,t){let n;return i;function i(a){return ze(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n=!0,i):Ge(a)?We(e,i,n?"linePrefix":"lineSuffix")(a):t(a)}}const a7={name:"definition",tokenize:o7},s7={partial:!0,tokenize:u7};function o7(e,t,n){const i=this;let a;return s;function s(b){return e.enter("definition"),u(b)}function u(b){return Hp.call(i,e,c,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(b)}function c(b){return a=qn(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),b===58?(e.enter("definitionMarker"),e.consume(b),e.exit("definitionMarker"),f):n(b)}function f(b){return nt(b)?ha(e,d)(b):d(b)}function d(b){return qp(e,m,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(b)}function m(b){return e.attempt(s7,p,p)(b)}function p(b){return Ge(b)?We(e,k,"whitespace")(b):k(b)}function k(b){return b===null||ze(b)?(e.exit("definition"),i.parser.defined.push(a),t(b)):n(b)}}function u7(e,t,n){return i;function i(c){return nt(c)?ha(e,a)(c):n(c)}function a(c){return Up(e,s,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(c)}function s(c){return Ge(c)?We(e,u,"whitespace")(c):u(c)}function u(c){return c===null||ze(c)?t(c):n(c)}}const c7={name:"hardBreakEscape",tokenize:h7};function h7(e,t,n){return i;function i(s){return e.enter("hardBreakEscape"),e.consume(s),a}function a(s){return ze(s)?(e.exit("hardBreakEscape"),t(s)):n(s)}}const f7={name:"headingAtx",resolve:d7,tokenize:m7};function d7(e,t){let n=e.length-2,i=3,a,s;return e[i][1].type==="whitespace"&&(i+=2),n-2>i&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(i===n-1||n-4>i&&e[n-2][1].type==="whitespace")&&(n-=i+1===n?2:4),n>i&&(a={type:"atxHeadingText",start:e[i][1].start,end:e[n][1].end},s={type:"chunkText",start:e[i][1].start,end:e[n][1].end,contentType:"text"},pn(e,i,n-i+1,[["enter",a,t],["enter",s,t],["exit",s,t],["exit",a,t]])),e}function m7(e,t,n){let i=0;return a;function a(m){return e.enter("atxHeading"),s(m)}function s(m){return e.enter("atxHeadingSequence"),u(m)}function u(m){return m===35&&i++<6?(e.consume(m),u):m===null||nt(m)?(e.exit("atxHeadingSequence"),c(m)):n(m)}function c(m){return m===35?(e.enter("atxHeadingSequence"),f(m)):m===null||ze(m)?(e.exit("atxHeading"),t(m)):Ge(m)?We(e,c,"whitespace")(m):(e.enter("atxHeadingText"),d(m))}function f(m){return m===35?(e.consume(m),f):(e.exit("atxHeadingSequence"),c(m))}function d(m){return m===null||m===35||nt(m)?(e.exit("atxHeadingText"),c(m)):(e.consume(m),d)}}const p7=["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"],Rd=["pre","script","style","textarea"],g7={concrete:!0,name:"htmlFlow",resolveTo:x7,tokenize:w7},v7={partial:!0,tokenize:b7},y7={partial:!0,tokenize:k7};function x7(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 w7(e,t,n){const i=this;let a,s,u,c,f;return d;function d(A){return m(A)}function m(A){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(A),p}function p(A){return A===33?(e.consume(A),k):A===47?(e.consume(A),s=!0,z):A===63?(e.consume(A),a=3,i.interrupt?t:N):Yt(A)?(e.consume(A),u=String.fromCharCode(A),j):n(A)}function k(A){return A===45?(e.consume(A),a=2,b):A===91?(e.consume(A),a=5,c=0,E):Yt(A)?(e.consume(A),a=4,i.interrupt?t:N):n(A)}function b(A){return A===45?(e.consume(A),i.interrupt?t:N):n(A)}function E(A){const be="CDATA[";return A===be.charCodeAt(c++)?(e.consume(A),c===be.length?i.interrupt?t:ae:E):n(A)}function z(A){return Yt(A)?(e.consume(A),u=String.fromCharCode(A),j):n(A)}function j(A){if(A===null||A===47||A===62||nt(A)){const be=A===47,Le=u.toLowerCase();return!be&&!s&&Rd.includes(Le)?(a=1,i.interrupt?t(A):ae(A)):p7.includes(u.toLowerCase())?(a=6,be?(e.consume(A),M):i.interrupt?t(A):ae(A)):(a=7,i.interrupt&&!i.parser.lazy[i.now().line]?n(A):s?R(A):q(A))}return A===45||Ht(A)?(e.consume(A),u+=String.fromCharCode(A),j):n(A)}function M(A){return A===62?(e.consume(A),i.interrupt?t:ae):n(A)}function R(A){return Ge(A)?(e.consume(A),R):H(A)}function q(A){return A===47?(e.consume(A),H):A===58||A===95||Yt(A)?(e.consume(A),J):Ge(A)?(e.consume(A),q):H(A)}function J(A){return A===45||A===46||A===58||A===95||Ht(A)?(e.consume(A),J):Y(A)}function Y(A){return A===61?(e.consume(A),O):Ge(A)?(e.consume(A),Y):q(A)}function O(A){return A===null||A===60||A===61||A===62||A===96?n(A):A===34||A===39?(e.consume(A),f=A,Q):Ge(A)?(e.consume(A),O):te(A)}function Q(A){return A===f?(e.consume(A),f=null,ne):A===null||ze(A)?n(A):(e.consume(A),Q)}function te(A){return A===null||A===34||A===39||A===47||A===60||A===61||A===62||A===96||nt(A)?Y(A):(e.consume(A),te)}function ne(A){return A===47||A===62||Ge(A)?q(A):n(A)}function H(A){return A===62?(e.consume(A),de):n(A)}function de(A){return A===null||ze(A)?ae(A):Ge(A)?(e.consume(A),de):n(A)}function ae(A){return A===45&&a===2?(e.consume(A),K):A===60&&a===1?(e.consume(A),we):A===62&&a===4?(e.consume(A),L):A===63&&a===3?(e.consume(A),N):A===93&&a===5?(e.consume(A),$):ze(A)&&(a===6||a===7)?(e.exit("htmlFlowData"),e.check(v7,G,Te)(A)):A===null||ze(A)?(e.exit("htmlFlowData"),Te(A)):(e.consume(A),ae)}function Te(A){return e.check(y7,ve,G)(A)}function ve(A){return e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),se}function se(A){return A===null||ze(A)?Te(A):(e.enter("htmlFlowData"),ae(A))}function K(A){return A===45?(e.consume(A),N):ae(A)}function we(A){return A===47?(e.consume(A),u="",W):ae(A)}function W(A){if(A===62){const be=u.toLowerCase();return Rd.includes(be)?(e.consume(A),L):ae(A)}return Yt(A)&&u.length<8?(e.consume(A),u+=String.fromCharCode(A),W):ae(A)}function $(A){return A===93?(e.consume(A),N):ae(A)}function N(A){return A===62?(e.consume(A),L):A===45&&a===2?(e.consume(A),N):ae(A)}function L(A){return A===null||ze(A)?(e.exit("htmlFlowData"),G(A)):(e.consume(A),L)}function G(A){return e.exit("htmlFlow"),t(A)}}function k7(e,t,n){const i=this;return a;function a(u){return ze(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),s):n(u)}function s(u){return i.parser.lazy[i.now().line]?n(u):t(u)}}function b7(e,t,n){return i;function i(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),e.attempt(ka,t,n)}}const S7={name:"htmlText",tokenize:C7};function C7(e,t,n){const i=this;let a,s,u;return c;function c(N){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(N),f}function f(N){return N===33?(e.consume(N),d):N===47?(e.consume(N),Y):N===63?(e.consume(N),q):Yt(N)?(e.consume(N),te):n(N)}function d(N){return N===45?(e.consume(N),m):N===91?(e.consume(N),s=0,E):Yt(N)?(e.consume(N),R):n(N)}function m(N){return N===45?(e.consume(N),b):n(N)}function p(N){return N===null?n(N):N===45?(e.consume(N),k):ze(N)?(u=p,we(N)):(e.consume(N),p)}function k(N){return N===45?(e.consume(N),b):p(N)}function b(N){return N===62?K(N):N===45?k(N):p(N)}function E(N){const L="CDATA[";return N===L.charCodeAt(s++)?(e.consume(N),s===L.length?z:E):n(N)}function z(N){return N===null?n(N):N===93?(e.consume(N),j):ze(N)?(u=z,we(N)):(e.consume(N),z)}function j(N){return N===93?(e.consume(N),M):z(N)}function M(N){return N===62?K(N):N===93?(e.consume(N),M):z(N)}function R(N){return N===null||N===62?K(N):ze(N)?(u=R,we(N)):(e.consume(N),R)}function q(N){return N===null?n(N):N===63?(e.consume(N),J):ze(N)?(u=q,we(N)):(e.consume(N),q)}function J(N){return N===62?K(N):q(N)}function Y(N){return Yt(N)?(e.consume(N),O):n(N)}function O(N){return N===45||Ht(N)?(e.consume(N),O):Q(N)}function Q(N){return ze(N)?(u=Q,we(N)):Ge(N)?(e.consume(N),Q):K(N)}function te(N){return N===45||Ht(N)?(e.consume(N),te):N===47||N===62||nt(N)?ne(N):n(N)}function ne(N){return N===47?(e.consume(N),K):N===58||N===95||Yt(N)?(e.consume(N),H):ze(N)?(u=ne,we(N)):Ge(N)?(e.consume(N),ne):K(N)}function H(N){return N===45||N===46||N===58||N===95||Ht(N)?(e.consume(N),H):de(N)}function de(N){return N===61?(e.consume(N),ae):ze(N)?(u=de,we(N)):Ge(N)?(e.consume(N),de):ne(N)}function ae(N){return N===null||N===60||N===61||N===62||N===96?n(N):N===34||N===39?(e.consume(N),a=N,Te):ze(N)?(u=ae,we(N)):Ge(N)?(e.consume(N),ae):(e.consume(N),ve)}function Te(N){return N===a?(e.consume(N),a=void 0,se):N===null?n(N):ze(N)?(u=Te,we(N)):(e.consume(N),Te)}function ve(N){return N===null||N===34||N===39||N===60||N===61||N===96?n(N):N===47||N===62||nt(N)?ne(N):(e.consume(N),ve)}function se(N){return N===47||N===62||nt(N)?ne(N):n(N)}function K(N){return N===62?(e.consume(N),e.exit("htmlTextData"),e.exit("htmlText"),t):n(N)}function we(N){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(N),e.exit("lineEnding"),W}function W(N){return Ge(N)?We(e,$,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(N):$(N)}function $(N){return e.enter("htmlTextData"),u(N)}}const Hc={name:"labelEnd",resolveAll:z7,resolveTo:A7,tokenize:M7},T7={tokenize:j7},E7={tokenize:I7},N7={tokenize:D7};function z7(e){let t=-1;const n=[];for(;++t<e.length;){const i=e[t][1];if(n.push(e[t]),i.type==="labelImage"||i.type==="labelLink"||i.type==="labelEnd"){const a=i.type==="labelImage"?4:2;i.type="data",t+=a}}return e.length!==n.length&&pn(e,0,e.length,n),e}function A7(e,t){let n=e.length,i=0,a,s,u,c;for(;n--;)if(a=e[n][1],s){if(a.type==="link"||a.type==="labelLink"&&a._inactive)break;e[n][0]==="enter"&&a.type==="labelLink"&&(a._inactive=!0)}else if(u){if(e[n][0]==="enter"&&(a.type==="labelImage"||a.type==="labelLink")&&!a._balanced&&(s=n,a.type!=="labelLink")){i=2;break}}else a.type==="labelEnd"&&(u=n);const f={type:e[s][1].type==="labelLink"?"link":"image",start:{...e[s][1].start},end:{...e[e.length-1][1].end}},d={type:"label",start:{...e[s][1].start},end:{...e[u][1].end}},m={type:"labelText",start:{...e[s+i+2][1].end},end:{...e[u-2][1].start}};return c=[["enter",f,t],["enter",d,t]],c=zn(c,e.slice(s+1,s+i+3)),c=zn(c,[["enter",m,t]]),c=zn(c,oo(t.parser.constructs.insideSpan.null,e.slice(s+i+4,u-3),t)),c=zn(c,[["exit",m,t],e[u-2],e[u-1],["exit",d,t]]),c=zn(c,e.slice(u+1)),c=zn(c,[["exit",f,t]]),pn(e,s,e.length,c),e}function M7(e,t,n){const i=this;let a=i.events.length,s,u;for(;a--;)if((i.events[a][1].type==="labelImage"||i.events[a][1].type==="labelLink")&&!i.events[a][1]._balanced){s=i.events[a][1];break}return c;function c(k){return s?s._inactive?p(k):(u=i.parser.defined.includes(qn(i.sliceSerialize({start:s.end,end:i.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(k),e.exit("labelMarker"),e.exit("labelEnd"),f):n(k)}function f(k){return k===40?e.attempt(T7,m,u?m:p)(k):k===91?e.attempt(E7,m,u?d:p)(k):u?m(k):p(k)}function d(k){return e.attempt(N7,m,p)(k)}function m(k){return t(k)}function p(k){return s._balanced=!0,n(k)}}function j7(e,t,n){return i;function i(p){return e.enter("resource"),e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),a}function a(p){return nt(p)?ha(e,s)(p):s(p)}function s(p){return p===41?m(p):qp(e,u,c,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(p)}function u(p){return nt(p)?ha(e,f)(p):m(p)}function c(p){return n(p)}function f(p){return p===34||p===39||p===40?Up(e,d,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(p):m(p)}function d(p){return nt(p)?ha(e,m)(p):m(p)}function m(p){return p===41?(e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),e.exit("resource"),t):n(p)}}function I7(e,t,n){const i=this;return a;function a(c){return Hp.call(i,e,s,u,"reference","referenceMarker","referenceString")(c)}function s(c){return i.parser.defined.includes(qn(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)))?t(c):n(c)}function u(c){return n(c)}}function D7(e,t,n){return i;function i(s){return e.enter("reference"),e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),a}function a(s){return s===93?(e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),e.exit("reference"),t):n(s)}}const L7={name:"labelStartImage",resolveAll:Hc.resolveAll,tokenize:P7};function P7(e,t,n){const i=this;return a;function a(c){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(c),e.exit("labelImageMarker"),s}function s(c){return c===91?(e.enter("labelMarker"),e.consume(c),e.exit("labelMarker"),e.exit("labelImage"),u):n(c)}function u(c){return c===94&&"_hiddenFootnoteSupport"in i.parser.constructs?n(c):t(c)}}const R7={name:"labelStartLink",resolveAll:Hc.resolveAll,tokenize:F7};function F7(e,t,n){const i=this;return a;function a(u){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),e.exit("labelLink"),s}function s(u){return u===94&&"_hiddenFootnoteSupport"in i.parser.constructs?n(u):t(u)}}const ku={name:"lineEnding",tokenize:O7};function O7(e,t){return n;function n(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),We(e,t,"linePrefix")}}const Ws={name:"thematicBreak",tokenize:B7};function B7(e,t,n){let i=0,a;return s;function s(d){return e.enter("thematicBreak"),u(d)}function u(d){return a=d,c(d)}function c(d){return d===a?(e.enter("thematicBreakSequence"),f(d)):i>=3&&(d===null||ze(d))?(e.exit("thematicBreak"),t(d)):n(d)}function f(d){return d===a?(e.consume(d),i++,f):(e.exit("thematicBreakSequence"),Ge(d)?We(e,c,"whitespace")(d):c(d))}}const ln={continuation:{tokenize:U7},exit:V7,name:"list",tokenize:H7},_7={partial:!0,tokenize:W7},q7={partial:!0,tokenize:$7};function H7(e,t,n){const i=this,a=i.events[i.events.length-1];let s=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0,u=0;return c;function c(b){const E=i.containerState.type||(b===42||b===43||b===45?"listUnordered":"listOrdered");if(E==="listUnordered"?!i.containerState.marker||b===i.containerState.marker:rc(b)){if(i.containerState.type||(i.containerState.type=E,e.enter(E,{_container:!0})),E==="listUnordered")return e.enter("listItemPrefix"),b===42||b===45?e.check(Ws,n,d)(b):d(b);if(!i.interrupt||b===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),f(b)}return n(b)}function f(b){return rc(b)&&++u<10?(e.consume(b),f):(!i.interrupt||u<2)&&(i.containerState.marker?b===i.containerState.marker:b===41||b===46)?(e.exit("listItemValue"),d(b)):n(b)}function d(b){return e.enter("listItemMarker"),e.consume(b),e.exit("listItemMarker"),i.containerState.marker=i.containerState.marker||b,e.check(ka,i.interrupt?n:m,e.attempt(_7,k,p))}function m(b){return i.containerState.initialBlankLine=!0,s++,k(b)}function p(b){return Ge(b)?(e.enter("listItemPrefixWhitespace"),e.consume(b),e.exit("listItemPrefixWhitespace"),k):n(b)}function k(b){return i.containerState.size=s+i.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(b)}}function U7(e,t,n){const i=this;return i.containerState._closeFlow=void 0,e.check(ka,a,s);function a(c){return i.containerState.furtherBlankLines=i.containerState.furtherBlankLines||i.containerState.initialBlankLine,We(e,t,"listItemIndent",i.containerState.size+1)(c)}function s(c){return i.containerState.furtherBlankLines||!Ge(c)?(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,u(c)):(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,e.attempt(q7,t,u)(c))}function u(c){return i.containerState._closeFlow=!0,i.interrupt=void 0,We(e,e.attempt(ln,t,n),"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(c)}}function $7(e,t,n){const i=this;return We(e,a,"listItemIndent",i.containerState.size+1);function a(s){const u=i.events[i.events.length-1];return u&&u[1].type==="listItemIndent"&&u[2].sliceSerialize(u[1],!0).length===i.containerState.size?t(s):n(s)}}function V7(e){e.exit(this.containerState.type)}function W7(e,t,n){const i=this;return We(e,a,"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function a(s){const u=i.events[i.events.length-1];return!Ge(s)&&u&&u[1].type==="listItemPrefixWhitespace"?t(s):n(s)}}const Fd={name:"setextUnderline",resolveTo:G7,tokenize:X7};function G7(e,t){let n=e.length,i,a,s;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){i=n;break}e[n][1].type==="paragraph"&&(a=n)}else e[n][1].type==="content"&&e.splice(n,1),!s&&e[n][1].type==="definition"&&(s=n);const u={type:"setextHeading",start:{...e[i][1].start},end:{...e[e.length-1][1].end}};return e[a][1].type="setextHeadingText",s?(e.splice(a,0,["enter",u,t]),e.splice(s+1,0,["exit",e[i][1],t]),e[i][1].end={...e[s][1].end}):e[i][1]=u,e.push(["exit",u,t]),e}function X7(e,t,n){const i=this;let a;return s;function s(d){let m=i.events.length,p;for(;m--;)if(i.events[m][1].type!=="lineEnding"&&i.events[m][1].type!=="linePrefix"&&i.events[m][1].type!=="content"){p=i.events[m][1].type==="paragraph";break}return!i.parser.lazy[i.now().line]&&(i.interrupt||p)?(e.enter("setextHeadingLine"),a=d,u(d)):n(d)}function u(d){return e.enter("setextHeadingLineSequence"),c(d)}function c(d){return d===a?(e.consume(d),c):(e.exit("setextHeadingLineSequence"),Ge(d)?We(e,f,"lineSuffix")(d):f(d))}function f(d){return d===null||ze(d)?(e.exit("setextHeadingLine"),t(d)):n(d)}}const Y7={tokenize:Q7};function Q7(e){const t=this,n=e.attempt(ka,i,e.attempt(this.parser.constructs.flowInitial,a,We(e,e.attempt(this.parser.constructs.flow,a,e.attempt(t7,a)),"linePrefix")));return n;function i(s){if(s===null){e.consume(s);return}return e.enter("lineEndingBlank"),e.consume(s),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function a(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const K7={resolveAll:Vp()},Z7=$p("string"),J7=$p("text");function $p(e){return{resolveAll:Vp(e==="text"?e8:void 0),tokenize:t};function t(n){const i=this,a=this.parser.constructs[e],s=n.attempt(a,u,c);return u;function u(m){return d(m)?s(m):c(m)}function c(m){if(m===null){n.consume(m);return}return n.enter("data"),n.consume(m),f}function f(m){return d(m)?(n.exit("data"),s(m)):(n.consume(m),f)}function d(m){if(m===null)return!0;const p=a[m];let k=-1;if(p)for(;++k<p.length;){const b=p[k];if(!b.previous||b.previous.call(i,i.previous))return!0}return!1}}}function Vp(e){return t;function t(n,i){let a=-1,s;for(;++a<=n.length;)s===void 0?n[a]&&n[a][1].type==="data"&&(s=a,a++):(!n[a]||n[a][1].type!=="data")&&(a!==s+2&&(n[s][1].end=n[a-1][1].end,n.splice(s+2,a-s-2),a=s+2),s=void 0);return e?e(n,i):n}}function e8(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 i=e[n-1][1],a=t.sliceStream(i);let s=a.length,u=-1,c=0,f;for(;s--;){const d=a[s];if(typeof d=="string"){for(u=d.length;d.charCodeAt(u-1)===32;)c++,u--;if(u)break;u=-1}else if(d===-2)f=!0,c++;else if(d!==-1){s++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(c=0),c){const d={type:n===e.length||f||c<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?u:i.start._bufferIndex+u,_index:i.start._index+s,line:i.end.line,column:i.end.column-c,offset:i.end.offset-c},end:{...i.end}};i.end={...d.start},i.start.offset===i.end.offset?Object.assign(i,d):(e.splice(n,0,["enter",d,t],["exit",d,t]),n+=2)}n++}return e}const t8={42:ln,43:ln,45:ln,48:ln,49:ln,50:ln,51:ln,52:ln,53:ln,54:ln,55:ln,56:ln,57:ln,62:Fp},n8={91:a7},r8={[-2]:wu,[-1]:wu,32:wu},i8={35:f7,42:Ws,45:[Fd,Ws],60:g7,61:Fd,95:Ws,96:Pd,126:Pd},l8={38:Bp,92:Op},a8={[-5]:ku,[-4]:ku,[-3]:ku,33:L7,38:Bp,42:ic,60:[Rg,S7],91:R7,92:[c7,Op],93:Hc,95:ic,96:Yg},s8={null:[ic,K7]},o8={null:[42,95]},u8={null:[]},c8=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:o8,contentInitial:n8,disable:u8,document:t8,flow:i8,flowInitial:r8,insideSpan:s8,string:l8,text:a8},Symbol.toStringTag,{value:"Module"}));function h8(e,t,n){let i={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const a={},s=[];let u=[],c=[];const f={attempt:Q(Y),check:Q(O),consume:R,enter:q,exit:J,interrupt:Q(O,{interrupt:!0})},d={code:null,containerState:{},defineSkip:z,events:[],now:E,parser:e,previous:null,sliceSerialize:k,sliceStream:b,write:p};let m=t.tokenize.call(d,f);return t.resolveAll&&s.push(t),d;function p(de){return u=zn(u,de),j(),u[u.length-1]!==null?[]:(te(t,0),d.events=oo(s,d.events,d),d.events)}function k(de,ae){return d8(b(de),ae)}function b(de){return f8(u,de)}function E(){const{_bufferIndex:de,_index:ae,line:Te,column:ve,offset:se}=i;return{_bufferIndex:de,_index:ae,line:Te,column:ve,offset:se}}function z(de){a[de.line]=de.column,H()}function j(){let de;for(;i._index<u.length;){const ae=u[i._index];if(typeof ae=="string")for(de=i._index,i._bufferIndex<0&&(i._bufferIndex=0);i._index===de&&i._bufferIndex<ae.length;)M(ae.charCodeAt(i._bufferIndex));else M(ae)}}function M(de){m=m(de)}function R(de){ze(de)?(i.line++,i.column=1,i.offset+=de===-3?2:1,H()):de!==-1&&(i.column++,i.offset++),i._bufferIndex<0?i._index++:(i._bufferIndex++,i._bufferIndex===u[i._index].length&&(i._bufferIndex=-1,i._index++)),d.previous=de}function q(de,ae){const Te=ae||{};return Te.type=de,Te.start=E(),d.events.push(["enter",Te,d]),c.push(Te),Te}function J(de){const ae=c.pop();return ae.end=E(),d.events.push(["exit",ae,d]),ae}function Y(de,ae){te(de,ae.from)}function O(de,ae){ae.restore()}function Q(de,ae){return Te;function Te(ve,se,K){let we,W,$,N;return Array.isArray(ve)?G(ve):"tokenize"in ve?G([ve]):L(ve);function L(Ae){return Ue;function Ue(qe){const $e=qe!==null&&Ae[qe],ht=qe!==null&&Ae.null,wn=[...Array.isArray($e)?$e:$e?[$e]:[],...Array.isArray(ht)?ht:ht?[ht]:[]];return G(wn)(qe)}}function G(Ae){return we=Ae,W=0,Ae.length===0?K:A(Ae[W])}function A(Ae){return Ue;function Ue(qe){return N=ne(),$=Ae,Ae.partial||(d.currentConstruct=Ae),Ae.name&&d.parser.constructs.disable.null.includes(Ae.name)?Le():Ae.tokenize.call(ae?Object.assign(Object.create(d),ae):d,f,be,Le)(qe)}}function be(Ae){return de($,N),se}function Le(Ae){return N.restore(),++W<we.length?A(we[W]):K}}}function te(de,ae){de.resolveAll&&!s.includes(de)&&s.push(de),de.resolve&&pn(d.events,ae,d.events.length-ae,de.resolve(d.events.slice(ae),d)),de.resolveTo&&(d.events=de.resolveTo(d.events,d))}function ne(){const de=E(),ae=d.previous,Te=d.currentConstruct,ve=d.events.length,se=Array.from(c);return{from:ve,restore:K};function K(){i=de,d.previous=ae,d.currentConstruct=Te,d.events.length=ve,c=se,H()}}function H(){i.line in a&&i.column<2&&(i.column=a[i.line],i.offset+=a[i.line]-1)}}function f8(e,t){const n=t.start._index,i=t.start._bufferIndex,a=t.end._index,s=t.end._bufferIndex;let u;if(n===a)u=[e[n].slice(i,s)];else{if(u=e.slice(n,a),i>-1){const c=u[0];typeof c=="string"?u[0]=c.slice(i):u.shift()}s>0&&u.push(e[a].slice(0,s))}return u}function d8(e,t){let n=-1;const i=[];let a;for(;++n<e.length;){const s=e[n];let u;if(typeof s=="string")u=s;else switch(s){case-5:{u="\r";break}case-4:{u=`
45
- `;break}case-3:{u=`\r
46
- `;break}case-2:{u=t?" ":" ";break}case-1:{if(!t&&a)continue;u=" ";break}default:u=String.fromCharCode(s)}a=s===-2,i.push(u)}return i.join("")}function m8(e){const i={constructs:Pp([c8,...(e||{}).extensions||[]]),content:a(Ag),defined:[],document:a(jg),flow:a(Y7),lazy:{},string:a(Z7),text:a(J7)};return i;function a(s){return u;function u(c){return h8(i,s,c)}}}function p8(e){for(;!_p(e););return e}const Od=/[\0\t\n\r]/g;function g8(){let e=1,t="",n=!0,i;return a;function a(s,u,c){const f=[];let d,m,p,k,b;for(s=t+(typeof s=="string"?s.toString():new TextDecoder(u||void 0).decode(s)),p=0,t="",n&&(s.charCodeAt(0)===65279&&p++,n=void 0);p<s.length;){if(Od.lastIndex=p,d=Od.exec(s),k=d&&d.index!==void 0?d.index:s.length,b=s.charCodeAt(k),!d){t=s.slice(p);break}if(b===10&&p===k&&i)f.push(-3),i=void 0;else switch(i&&(f.push(-5),i=void 0),p<k&&(f.push(s.slice(p,k)),e+=k-p),b){case 0:{f.push(65533),e++;break}case 9:{for(m=Math.ceil(e/4)*4,f.push(-2);e++<m;)f.push(-1);break}case 10:{f.push(-4),e=1;break}default:i=!0,e=1}p=k+1}return c&&(i&&f.push(-5),t&&f.push(t),f.push(null)),f}}const v8=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function y8(e){return e.replace(v8,x8)}function x8(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const a=n.charCodeAt(1),s=a===120||a===88;return Rp(n.slice(s?2:1),s?16:10)}return qc(n)||e}const Wp={}.hasOwnProperty;function w8(e,t,n){return t&&typeof t=="object"&&(n=t,t=void 0),k8(n)(p8(m8(n).document().write(g8()(e,t,!0))))}function k8(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(ir),autolinkProtocol:ne,autolinkEmail:ne,atxHeading:s(ii),blockQuote:s(ht),characterEscape:ne,characterReference:ne,codeFenced:s(wn),codeFencedFenceInfo:u,codeFencedFenceMeta:u,codeIndented:s(wn,u),codeText:s(ri,u),codeTextData:ne,data:ne,codeFlowValue:ne,definition:s(In),definitionDestinationString:u,definitionLabelString:u,definitionTitleString:u,emphasis:s(Un),hardBreakEscape:s(li),hardBreakTrailing:s(li),htmlFlow:s(br,u),htmlFlowData:ne,htmlText:s(br,u),htmlTextData:ne,image:s(ai),label:u,link:s(ir),listItem:s($n),listItemValue:k,listOrdered:s(on,p),listUnordered:s(on),paragraph:s(si),reference:A,referenceString:u,resourceDestinationString:u,resourceTitleString:u,setextHeading:s(ii),strong:s(Sr),thematicBreak:s(ui)},exit:{atxHeading:f(),atxHeadingSequence:Y,autolink:f(),autolinkEmail:$e,autolinkProtocol:qe,blockQuote:f(),characterEscapeValue:H,characterReferenceMarkerHexadecimal:Le,characterReferenceMarkerNumeric:Le,characterReferenceValue:Ae,characterReference:Ue,codeFenced:f(j),codeFencedFence:z,codeFencedFenceInfo:b,codeFencedFenceMeta:E,codeFlowValue:H,codeIndented:f(M),codeText:f(se),codeTextData:H,data:H,definition:f(),definitionDestinationString:J,definitionLabelString:R,definitionTitleString:q,emphasis:f(),hardBreakEscape:f(ae),hardBreakTrailing:f(ae),htmlFlow:f(Te),htmlFlowData:H,htmlText:f(ve),htmlTextData:H,image:f(we),label:$,labelText:W,lineEnding:de,link:f(K),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:be,resourceDestinationString:N,resourceTitleString:L,resource:G,setextHeading:f(te),setextHeadingLineSequence:Q,setextHeadingText:O,strong:f(),thematicBreak:f()}};Gp(t,(e||{}).mdastExtensions||[]);const n={};return i;function i(ee){let ge={type:"root",children:[]};const Me={stack:[ge],tokenStack:[],config:t,enter:c,exit:d,buffer:u,resume:m,data:n},_e=[];let Xe=-1;for(;++Xe<ee.length;)if(ee[Xe][1].type==="listOrdered"||ee[Xe][1].type==="listUnordered")if(ee[Xe][0]==="enter")_e.push(Xe);else{const It=_e.pop();Xe=a(ee,It,Xe)}for(Xe=-1;++Xe<ee.length;){const It=t[ee[Xe][0]];Wp.call(It,ee[Xe][1].type)&&It[ee[Xe][1].type].call(Object.assign({sliceSerialize:ee[Xe][2].sliceSerialize},Me),ee[Xe][1])}if(Me.tokenStack.length>0){const It=Me.tokenStack[Me.tokenStack.length-1];(It[1]||Bd).call(Me,void 0,It[0])}for(ge.position={start:Vr(ee.length>0?ee[0][1].start:{line:1,column:1,offset:0}),end:Vr(ee.length>0?ee[ee.length-2][1].end:{line:1,column:1,offset:0})},Xe=-1;++Xe<t.transforms.length;)ge=t.transforms[Xe](ge)||ge;return ge}function a(ee,ge,Me){let _e=ge-1,Xe=-1,It=!1,lr,kn,Cr,ci;for(;++_e<=Me;){const Dt=ee[_e];switch(Dt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Dt[0]==="enter"?Xe++:Xe--,ci=void 0;break}case"lineEndingBlank":{Dt[0]==="enter"&&(lr&&!ci&&!Xe&&!Cr&&(Cr=_e),ci=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:ci=void 0}if(!Xe&&Dt[0]==="enter"&&Dt[1].type==="listItemPrefix"||Xe===-1&&Dt[0]==="exit"&&(Dt[1].type==="listUnordered"||Dt[1].type==="listOrdered")){if(lr){let Vn=_e;for(kn=void 0;Vn--;){const un=ee[Vn];if(un[1].type==="lineEnding"||un[1].type==="lineEndingBlank"){if(un[0]==="exit")continue;kn&&(ee[kn][1].type="lineEndingBlank",It=!0),un[1].type="lineEnding",kn=Vn}else if(!(un[1].type==="linePrefix"||un[1].type==="blockQuotePrefix"||un[1].type==="blockQuotePrefixWhitespace"||un[1].type==="blockQuoteMarker"||un[1].type==="listItemIndent"))break}Cr&&(!kn||Cr<kn)&&(lr._spread=!0),lr.end=Object.assign({},kn?ee[kn][1].start:Dt[1].end),ee.splice(kn||_e,0,["exit",lr,Dt[2]]),_e++,Me++}if(Dt[1].type==="listItemPrefix"){const Vn={type:"listItem",_spread:!1,start:Object.assign({},Dt[1].start),end:void 0};lr=Vn,ee.splice(_e,0,["enter",Vn,Dt[2]]),_e++,Me++,Cr=void 0,ci=!0}}}return ee[ge][1]._spread=It,Me}function s(ee,ge){return Me;function Me(_e){c.call(this,ee(_e),_e),ge&&ge.call(this,_e)}}function u(){this.stack.push({type:"fragment",children:[]})}function c(ee,ge,Me){this.stack[this.stack.length-1].children.push(ee),this.stack.push(ee),this.tokenStack.push([ge,Me||void 0]),ee.position={start:Vr(ge.start),end:void 0}}function f(ee){return ge;function ge(Me){ee&&ee.call(this,Me),d.call(this,Me)}}function d(ee,ge){const Me=this.stack.pop(),_e=this.tokenStack.pop();if(_e)_e[0].type!==ee.type&&(ge?ge.call(this,ee,_e[0]):(_e[1]||Bd).call(this,ee,_e[0]));else throw new Error("Cannot close `"+ee.type+"` ("+ca({start:ee.start,end:ee.end})+"): it’s not open");Me.position.end=Vr(ee.end)}function m(){return _c(this.stack.pop())}function p(){this.data.expectingFirstListItemValue=!0}function k(ee){if(this.data.expectingFirstListItemValue){const ge=this.stack[this.stack.length-2];ge.start=Number.parseInt(this.sliceSerialize(ee),10),this.data.expectingFirstListItemValue=void 0}}function b(){const ee=this.resume(),ge=this.stack[this.stack.length-1];ge.lang=ee}function E(){const ee=this.resume(),ge=this.stack[this.stack.length-1];ge.meta=ee}function z(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function j(){const ee=this.resume(),ge=this.stack[this.stack.length-1];ge.value=ee.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function M(){const ee=this.resume(),ge=this.stack[this.stack.length-1];ge.value=ee.replace(/(\r?\n|\r)$/g,"")}function R(ee){const ge=this.resume(),Me=this.stack[this.stack.length-1];Me.label=ge,Me.identifier=qn(this.sliceSerialize(ee)).toLowerCase()}function q(){const ee=this.resume(),ge=this.stack[this.stack.length-1];ge.title=ee}function J(){const ee=this.resume(),ge=this.stack[this.stack.length-1];ge.url=ee}function Y(ee){const ge=this.stack[this.stack.length-1];if(!ge.depth){const Me=this.sliceSerialize(ee).length;ge.depth=Me}}function O(){this.data.setextHeadingSlurpLineEnding=!0}function Q(ee){const ge=this.stack[this.stack.length-1];ge.depth=this.sliceSerialize(ee).codePointAt(0)===61?1:2}function te(){this.data.setextHeadingSlurpLineEnding=void 0}function ne(ee){const Me=this.stack[this.stack.length-1].children;let _e=Me[Me.length-1];(!_e||_e.type!=="text")&&(_e=oi(),_e.position={start:Vr(ee.start),end:void 0},Me.push(_e)),this.stack.push(_e)}function H(ee){const ge=this.stack.pop();ge.value+=this.sliceSerialize(ee),ge.position.end=Vr(ee.end)}function de(ee){const ge=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Me=ge.children[ge.children.length-1];Me.position.end=Vr(ee.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(ge.type)&&(ne.call(this,ee),H.call(this,ee))}function ae(){this.data.atHardBreak=!0}function Te(){const ee=this.resume(),ge=this.stack[this.stack.length-1];ge.value=ee}function ve(){const ee=this.resume(),ge=this.stack[this.stack.length-1];ge.value=ee}function se(){const ee=this.resume(),ge=this.stack[this.stack.length-1];ge.value=ee}function K(){const ee=this.stack[this.stack.length-1];if(this.data.inReference){const ge=this.data.referenceType||"shortcut";ee.type+="Reference",ee.referenceType=ge,delete ee.url,delete ee.title}else delete ee.identifier,delete ee.label;this.data.referenceType=void 0}function we(){const ee=this.stack[this.stack.length-1];if(this.data.inReference){const ge=this.data.referenceType||"shortcut";ee.type+="Reference",ee.referenceType=ge,delete ee.url,delete ee.title}else delete ee.identifier,delete ee.label;this.data.referenceType=void 0}function W(ee){const ge=this.sliceSerialize(ee),Me=this.stack[this.stack.length-2];Me.label=y8(ge),Me.identifier=qn(ge).toLowerCase()}function $(){const ee=this.stack[this.stack.length-1],ge=this.resume(),Me=this.stack[this.stack.length-1];if(this.data.inReference=!0,Me.type==="link"){const _e=ee.children;Me.children=_e}else Me.alt=ge}function N(){const ee=this.resume(),ge=this.stack[this.stack.length-1];ge.url=ee}function L(){const ee=this.resume(),ge=this.stack[this.stack.length-1];ge.title=ee}function G(){this.data.inReference=void 0}function A(){this.data.referenceType="collapsed"}function be(ee){const ge=this.resume(),Me=this.stack[this.stack.length-1];Me.label=ge,Me.identifier=qn(this.sliceSerialize(ee)).toLowerCase(),this.data.referenceType="full"}function Le(ee){this.data.characterReferenceType=ee.type}function Ae(ee){const ge=this.sliceSerialize(ee),Me=this.data.characterReferenceType;let _e;Me?(_e=Rp(ge,Me==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):_e=qc(ge);const Xe=this.stack[this.stack.length-1];Xe.value+=_e}function Ue(ee){const ge=this.stack.pop();ge.position.end=Vr(ee.end)}function qe(ee){H.call(this,ee);const ge=this.stack[this.stack.length-1];ge.url=this.sliceSerialize(ee)}function $e(ee){H.call(this,ee);const ge=this.stack[this.stack.length-1];ge.url="mailto:"+this.sliceSerialize(ee)}function ht(){return{type:"blockquote",children:[]}}function wn(){return{type:"code",lang:null,meta:null,value:""}}function ri(){return{type:"inlineCode",value:""}}function In(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Un(){return{type:"emphasis",children:[]}}function ii(){return{type:"heading",depth:0,children:[]}}function li(){return{type:"break"}}function br(){return{type:"html",value:""}}function ai(){return{type:"image",title:null,url:"",alt:null}}function ir(){return{type:"link",title:null,url:"",children:[]}}function on(ee){return{type:"list",ordered:ee.type==="listOrdered",start:null,spread:ee._spread,children:[]}}function $n(ee){return{type:"listItem",spread:ee._spread,checked:null,children:[]}}function si(){return{type:"paragraph",children:[]}}function Sr(){return{type:"strong",children:[]}}function oi(){return{type:"text",value:""}}function ui(){return{type:"thematicBreak"}}}function Vr(e){return{line:e.line,column:e.column,offset:e.offset}}function Gp(e,t){let n=-1;for(;++n<t.length;){const i=t[n];Array.isArray(i)?Gp(e,i):b8(e,i)}}function b8(e,t){let n;for(n in t)if(Wp.call(t,n))switch(n){case"canContainEols":{const i=t[n];i&&e[n].push(...i);break}case"transforms":{const i=t[n];i&&e[n].push(...i);break}case"enter":case"exit":{const i=t[n];i&&Object.assign(e[n],i);break}}}function Bd(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+ca({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+ca({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+ca({start:t.start,end:t.end})+") is still open")}function S8(e){const t=this;t.parser=n;function n(i){return w8(i,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function C8(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 T8(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
47
- `}]}function E8(e,t){const n=t.value?t.value+`
48
- `:"",i={},a=t.lang?t.lang.split(/\s+/):[];a.length>0&&(i.className=["language-"+a[0]]);let s={type:"element",tagName:"code",properties:i,children:[{type:"text",value:n}]};return t.meta&&(s.data={meta:t.meta}),e.patch(t,s),s=e.applyData(t,s),s={type:"element",tagName:"pre",properties:{},children:[s]},e.patch(t,s),s}function N8(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function z8(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function A8(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",i=String(t.identifier).toUpperCase(),a=gl(i.toLowerCase()),s=e.footnoteOrder.indexOf(i);let u,c=e.footnoteCounts.get(i);c===void 0?(c=0,e.footnoteOrder.push(i),u=e.footnoteOrder.length):u=s+1,c+=1,e.footnoteCounts.set(i,c);const f={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+a,id:n+"fnref-"+a+(c>1?"-"+c:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(u)}]};e.patch(t,f);const d={type:"element",tagName:"sup",properties:{},children:[f]};return e.patch(t,d),e.applyData(t,d)}function M8(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 j8(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function Xp(e,t){const n=t.referenceType;let i="]";if(n==="collapsed"?i+="[]":n==="full"&&(i+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+i}];const a=e.all(t),s=a[0];s&&s.type==="text"?s.value="["+s.value:a.unshift({type:"text",value:"["});const u=a[a.length-1];return u&&u.type==="text"?u.value+=i:a.push({type:"text",value:i}),a}function I8(e,t){const n=String(t.identifier).toUpperCase(),i=e.definitionById.get(n);if(!i)return Xp(e,t);const a={src:gl(i.url||""),alt:t.alt};i.title!==null&&i.title!==void 0&&(a.title=i.title);const s={type:"element",tagName:"img",properties:a,children:[]};return e.patch(t,s),e.applyData(t,s)}function D8(e,t){const n={src:gl(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 i={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,i),e.applyData(t,i)}function L8(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const i={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,i),e.applyData(t,i)}function P8(e,t){const n=String(t.identifier).toUpperCase(),i=e.definitionById.get(n);if(!i)return Xp(e,t);const a={href:gl(i.url||"")};i.title!==null&&i.title!==void 0&&(a.title=i.title);const s={type:"element",tagName:"a",properties:a,children:e.all(t)};return e.patch(t,s),e.applyData(t,s)}function R8(e,t){const n={href:gl(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const i={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function F8(e,t,n){const i=e.all(t),a=n?O8(n):Yp(t),s={},u=[];if(typeof t.checked=="boolean"){const m=i[0];let p;m&&m.type==="element"&&m.tagName==="p"?p=m:(p={type:"element",tagName:"p",properties:{},children:[]},i.unshift(p)),p.children.length>0&&p.children.unshift({type:"text",value:" "}),p.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),s.className=["task-list-item"]}let c=-1;for(;++c<i.length;){const m=i[c];(a||c!==0||m.type!=="element"||m.tagName!=="p")&&u.push({type:"text",value:`
49
- `}),m.type==="element"&&m.tagName==="p"&&!a?u.push(...m.children):u.push(m)}const f=i[i.length-1];f&&(a||f.type!=="element"||f.tagName!=="p")&&u.push({type:"text",value:`
50
- `});const d={type:"element",tagName:"li",properties:s,children:u};return e.patch(t,d),e.applyData(t,d)}function O8(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let i=-1;for(;!t&&++i<n.length;)t=Yp(n[i])}return t}function Yp(e){const t=e.spread;return t??e.children.length>1}function B8(e,t){const n={},i=e.all(t);let a=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++a<i.length;){const u=i[a];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 s={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(i,!0)};return e.patch(t,s),e.applyData(t,s)}function _8(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function q8(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function H8(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function U8(e,t){const n=e.all(t),i=n.shift(),a=[];if(i){const u={type:"element",tagName:"thead",properties:{},children:e.wrap([i],!0)};e.patch(t.children[0],u),a.push(u)}if(n.length>0){const u={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},c=Rc(t.children[1]),f=zp(t.children[t.children.length-1]);c&&f&&(u.position={start:c,end:f}),a.push(u)}const s={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,s),e.applyData(t,s)}function $8(e,t,n){const i=n?n.children:void 0,s=(i?i.indexOf(t):1)===0?"th":"td",u=n&&n.type==="table"?n.align:void 0,c=u?u.length:t.children.length;let f=-1;const d=[];for(;++f<c;){const p=t.children[f],k={},b=u?u[f]:void 0;b&&(k.align=b);let E={type:"element",tagName:s,properties:k,children:[]};p&&(E.children=e.all(p),e.patch(p,E),E=e.applyData(p,E)),d.push(E)}const m={type:"element",tagName:"tr",properties:{},children:e.wrap(d,!0)};return e.patch(t,m),e.applyData(t,m)}function V8(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const _d=9,qd=32;function W8(e){const t=String(e),n=/\r?\n|\r/g;let i=n.exec(t),a=0;const s=[];for(;i;)s.push(Hd(t.slice(a,i.index),a>0,!0),i[0]),a=i.index+i[0].length,i=n.exec(t);return s.push(Hd(t.slice(a),a>0,!1)),s.join("")}function Hd(e,t,n){let i=0,a=e.length;if(t){let s=e.codePointAt(i);for(;s===_d||s===qd;)i++,s=e.codePointAt(i)}if(n){let s=e.codePointAt(a-1);for(;s===_d||s===qd;)a--,s=e.codePointAt(a-1)}return a>i?e.slice(i,a):""}function G8(e,t){const n={type:"text",value:W8(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function X8(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const Y8={blockquote:C8,break:T8,code:E8,delete:N8,emphasis:z8,footnoteReference:A8,heading:M8,html:j8,imageReference:I8,image:D8,inlineCode:L8,linkReference:P8,link:R8,listItem:F8,list:B8,paragraph:_8,root:q8,strong:H8,table:U8,tableCell:V8,tableRow:$8,text:G8,thematicBreak:X8,toml:Ls,yaml:Ls,definition:Ls,footnoteDefinition:Ls};function Ls(){}const Qp=-1,uo=0,fa=1,Ks=2,Uc=3,$c=4,Vc=5,Wc=6,Kp=7,Zp=8,Q8=typeof self=="object"?self:globalThis,Ud=(e,t)=>{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw new TypeError("unable to deserialize "+e)}return new Q8[e](t)},K8=(e,t)=>{const n=(a,s)=>(e.set(s,a),a),i=a=>{if(e.has(a))return e.get(a);const[s,u]=t[a];switch(s){case uo:case Qp:return n(u,a);case fa:{const c=n([],a);for(const f of u)c.push(i(f));return c}case Ks:{const c=n({},a);for(const[f,d]of u)c[i(f)]=i(d);return c}case Uc:return n(new Date(u),a);case $c:{const{source:c,flags:f}=u;return n(new RegExp(c,f),a)}case Vc:{const c=n(new Map,a);for(const[f,d]of u)c.set(i(f),i(d));return c}case Wc:{const c=n(new Set,a);for(const f of u)c.add(i(f));return c}case Kp:{const{name:c,message:f}=u;return n(Ud(c,f),a)}case Zp:return n(BigInt(u),a);case"BigInt":return n(Object(BigInt(u)),a);case"ArrayBuffer":return n(new Uint8Array(u).buffer,u);case"DataView":{const{buffer:c}=new Uint8Array(u);return n(new DataView(c),u)}}return n(Ud(s,u),a)};return i},$d=e=>K8(new Map,e)(0),Ni="",{toString:Z8}={},{keys:J8}=Object,sa=e=>{const t=typeof e;if(t!=="object"||!e)return[uo,t];const n=Z8.call(e).slice(8,-1);switch(n){case"Array":return[fa,Ni];case"Object":return[Ks,Ni];case"Date":return[Uc,Ni];case"RegExp":return[$c,Ni];case"Map":return[Vc,Ni];case"Set":return[Wc,Ni];case"DataView":return[fa,n]}return n.includes("Array")?[fa,n]:n.includes("Error")?[Kp,n]:[Ks,n]},Ps=([e,t])=>e===uo&&(t==="function"||t==="symbol"),ev=(e,t,n,i)=>{const a=(u,c)=>{const f=i.push(u)-1;return n.set(c,f),f},s=u=>{if(n.has(u))return n.get(u);let[c,f]=sa(u);switch(c){case uo:{let m=u;switch(f){case"bigint":c=Zp,m=u.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+f);m=null;break;case"undefined":return a([Qp],u)}return a([c,m],u)}case fa:{if(f){let k=u;return f==="DataView"?k=new Uint8Array(u.buffer):f==="ArrayBuffer"&&(k=new Uint8Array(u)),a([f,[...k]],u)}const m=[],p=a([c,m],u);for(const k of u)m.push(s(k));return p}case Ks:{if(f)switch(f){case"BigInt":return a([f,u.toString()],u);case"Boolean":case"Number":case"String":return a([f,u.valueOf()],u)}if(t&&"toJSON"in u)return s(u.toJSON());const m=[],p=a([c,m],u);for(const k of J8(u))(e||!Ps(sa(u[k])))&&m.push([s(k),s(u[k])]);return p}case Uc:return a([c,isNaN(u.getTime())?Ni:u.toISOString()],u);case $c:{const{source:m,flags:p}=u;return a([c,{source:m,flags:p}],u)}case Vc:{const m=[],p=a([c,m],u);for(const[k,b]of u)(e||!(Ps(sa(k))||Ps(sa(b))))&&m.push([s(k),s(b)]);return p}case Wc:{const m=[],p=a([c,m],u);for(const k of u)(e||!Ps(sa(k)))&&m.push(s(k));return p}}const{message:d}=u;return a([c,{name:f,message:d}],u)};return s},Vd=(e,{json:t,lossy:n}={})=>{const i=[];return ev(!(t||n),!!t,new Map,i)(e),i},Zs=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?$d(Vd(e,t)):structuredClone(e):(e,t)=>$d(Vd(e,t));function tv(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 nv(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function rv(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||tv,i=e.options.footnoteBackLabel||nv,a=e.options.footnoteLabel||"Footnotes",s=e.options.footnoteLabelTagName||"h2",u=e.options.footnoteLabelProperties||{className:["sr-only"]},c=[];let f=-1;for(;++f<e.footnoteOrder.length;){const d=e.footnoteById.get(e.footnoteOrder[f]);if(!d)continue;const m=e.all(d),p=String(d.identifier).toUpperCase(),k=gl(p.toLowerCase());let b=0;const E=[],z=e.footnoteCounts.get(p);for(;z!==void 0&&++b<=z;){E.length>0&&E.push({type:"text",value:" "});let R=typeof n=="string"?n:n(f,b);typeof R=="string"&&(R={type:"text",value:R}),E.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+k+(b>1?"-"+b:""),dataFootnoteBackref:"",ariaLabel:typeof i=="string"?i:i(f,b),className:["data-footnote-backref"]},children:Array.isArray(R)?R:[R]})}const j=m[m.length-1];if(j&&j.type==="element"&&j.tagName==="p"){const R=j.children[j.children.length-1];R&&R.type==="text"?R.value+=" ":j.children.push({type:"text",value:" "}),j.children.push(...E)}else m.push(...E);const M={type:"element",tagName:"li",properties:{id:t+"fn-"+k},children:e.wrap(m,!0)};e.patch(d,M),c.push(M)}if(c.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:s,properties:{...Zs(u),id:"footnote-label"},children:[{type:"text",value:a}]},{type:"text",value:`
51
- `},{type:"element",tagName:"ol",properties:{},children:e.wrap(c,!0)},{type:"text",value:`
52
- `}]}}const ba=(function(e){if(e==null)return sv;if(typeof e=="function")return co(e);if(typeof e=="object")return Array.isArray(e)?iv(e):lv(e);if(typeof e=="string")return av(e);throw new Error("Expected function, string, or object as test")});function iv(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=ba(e[n]);return co(i);function i(...a){let s=-1;for(;++s<t.length;)if(t[s].apply(this,a))return!0;return!1}}function lv(e){const t=e;return co(n);function n(i){const a=i;let s;for(s in e)if(a[s]!==t[s])return!1;return!0}}function av(e){return co(t);function t(n){return n&&n.type===e}}function co(e){return t;function t(n,i,a){return!!(ov(n)&&e.call(this,n,typeof i=="number"?i:void 0,a||void 0))}}function sv(){return!0}function ov(e){return e!==null&&typeof e=="object"&&"type"in e}const Jp=[],uv=!0,lc=!1,e4="skip";function Gc(e,t,n,i){let a;typeof t=="function"&&typeof n!="function"?(i=n,n=t):a=t;const s=ba(a),u=i?-1:1;c(e,void 0,[])();function c(f,d,m){const p=f&&typeof f=="object"?f:{};if(typeof p.type=="string"){const b=typeof p.tagName=="string"?p.tagName:typeof p.name=="string"?p.name:void 0;Object.defineProperty(k,"name",{value:"node ("+(f.type+(b?"<"+b+">":""))+")"})}return k;function k(){let b=Jp,E,z,j;if((!t||s(f,d,m[m.length-1]||void 0))&&(b=cv(n(f,m)),b[0]===lc))return b;if("children"in f&&f.children){const M=f;if(M.children&&b[0]!==e4)for(z=(i?M.children.length:-1)+u,j=m.concat(M);z>-1&&z<M.children.length;){const R=M.children[z];if(E=c(R,z,j)(),E[0]===lc)return E;z=typeof E[1]=="number"?E[1]:z+u}}return b}}}function cv(e){return Array.isArray(e)?e:typeof e=="number"?[uv,e]:e==null?Jp:[e]}function Xc(e,t,n,i){let a,s,u;typeof t=="function"&&typeof n!="function"?(s=void 0,u=t,a=n):(s=t,u=n,a=i),Gc(e,s,c,a);function c(f,d){const m=d[d.length-1],p=m?m.children.indexOf(f):void 0;return u(f,p,m)}}const ac={}.hasOwnProperty,hv={};function fv(e,t){const n=t||hv,i=new Map,a=new Map,s=new Map,u={...Y8,...n.handlers},c={all:d,applyData:mv,definitionById:i,footnoteById:a,footnoteCounts:s,footnoteOrder:[],handlers:u,one:f,options:n,patch:dv,wrap:gv};return Xc(e,function(m){if(m.type==="definition"||m.type==="footnoteDefinition"){const p=m.type==="definition"?i:a,k=String(m.identifier).toUpperCase();p.has(k)||p.set(k,m)}}),c;function f(m,p){const k=m.type,b=c.handlers[k];if(ac.call(c.handlers,k)&&b)return b(c,m,p);if(c.options.passThrough&&c.options.passThrough.includes(k)){if("children"in m){const{children:z,...j}=m,M=Zs(j);return M.children=c.all(m),M}return Zs(m)}return(c.options.unknownHandler||pv)(c,m,p)}function d(m){const p=[];if("children"in m){const k=m.children;let b=-1;for(;++b<k.length;){const E=c.one(k[b],m);if(E){if(b&&k[b-1].type==="break"&&(!Array.isArray(E)&&E.type==="text"&&(E.value=Wd(E.value)),!Array.isArray(E)&&E.type==="element")){const z=E.children[0];z&&z.type==="text"&&(z.value=Wd(z.value))}Array.isArray(E)?p.push(...E):p.push(E)}}}return p}}function dv(e,t){e.position&&(t.position=tg(e))}function mv(e,t){let n=t;if(e&&e.data){const i=e.data.hName,a=e.data.hChildren,s=e.data.hProperties;if(typeof i=="string")if(n.type==="element")n.tagName=i;else{const u="children"in n?n.children:[n];n={type:"element",tagName:i,properties:{},children:u}}n.type==="element"&&s&&Object.assign(n.properties,Zs(s)),"children"in n&&n.children&&a!==null&&a!==void 0&&(n.children=a)}return n}function pv(e,t){const n=t.data||{},i="value"in t&&!(ac.call(n,"hProperties")||ac.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function gv(e,t){const n=[];let i=-1;for(t&&n.push({type:"text",value:`
53
- `});++i<e.length;)i&&n.push({type:"text",value:`
54
- `}),n.push(e[i]);return t&&e.length>0&&n.push({type:"text",value:`
55
- `}),n}function Wd(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function Gd(e,t){const n=fv(e,t),i=n.one(e,void 0),a=rv(n),s=Array.isArray(i)?{type:"root",children:i}:i||{type:"root",children:[]};return a&&s.children.push({type:"text",value:`
56
- `},a),s}function vv(e,t){return e&&"run"in e?async function(n,i){const a=Gd(n,{file:i,...t});await e.run(a,i)}:function(n,i){return Gd(n,{file:i,...e||t})}}function Xd(e){if(e)throw e}var bu,Yd;function yv(){if(Yd)return bu;Yd=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=function(d){return typeof Array.isArray=="function"?Array.isArray(d):t.call(d)==="[object Array]"},s=function(d){if(!d||t.call(d)!=="[object Object]")return!1;var m=e.call(d,"constructor"),p=d.constructor&&d.constructor.prototype&&e.call(d.constructor.prototype,"isPrototypeOf");if(d.constructor&&!m&&!p)return!1;var k;for(k in d);return typeof k>"u"||e.call(d,k)},u=function(d,m){n&&m.name==="__proto__"?n(d,m.name,{enumerable:!0,configurable:!0,value:m.newValue,writable:!0}):d[m.name]=m.newValue},c=function(d,m){if(m==="__proto__")if(e.call(d,m)){if(i)return i(d,m).value}else return;return d[m]};return bu=function f(){var d,m,p,k,b,E,z=arguments[0],j=1,M=arguments.length,R=!1;for(typeof z=="boolean"&&(R=z,z=arguments[1]||{},j=2),(z==null||typeof z!="object"&&typeof z!="function")&&(z={});j<M;++j)if(d=arguments[j],d!=null)for(m in d)p=c(z,m),k=c(d,m),z!==k&&(R&&k&&(s(k)||(b=a(k)))?(b?(b=!1,E=p&&a(p)?p:[]):E=p&&s(p)?p:{},u(z,{name:m,newValue:f(R,E,k)})):typeof k<"u"&&u(z,{name:m,newValue:k}));return z},bu}var xv=yv();const Su=Dc(xv);function sc(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 wv(){const e=[],t={run:n,use:i};return t;function n(...a){let s=-1;const u=a.pop();if(typeof u!="function")throw new TypeError("Expected function as last argument, not "+u);c(null,...a);function c(f,...d){const m=e[++s];let p=-1;if(f){u(f);return}for(;++p<a.length;)(d[p]===null||d[p]===void 0)&&(d[p]=a[p]);a=d,m?kv(m,c)(...d):u(null,...d)}}function i(a){if(typeof a!="function")throw new TypeError("Expected `middelware` to be a function, not "+a);return e.push(a),t}}function kv(e,t){let n;return i;function i(...u){const c=e.length>u.length;let f;c&&u.push(a);try{f=e.apply(this,u)}catch(d){const m=d;if(c&&n)throw m;return a(m)}c||(f&&f.then&&typeof f.then=="function"?f.then(s,a):f instanceof Error?a(f):s(f))}function a(u,...c){n||(n=!0,t(u,...c))}function s(u){a(null,u)}}const Kn={basename:bv,dirname:Sv,extname:Cv,join:Tv,sep:"/"};function bv(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Sa(e);let n=0,i=-1,a=e.length,s;if(t===void 0||t.length===0||t.length>e.length){for(;a--;)if(e.codePointAt(a)===47){if(s){n=a+1;break}}else i<0&&(s=!0,i=a+1);return i<0?"":e.slice(n,i)}if(t===e)return"";let u=-1,c=t.length-1;for(;a--;)if(e.codePointAt(a)===47){if(s){n=a+1;break}}else u<0&&(s=!0,u=a+1),c>-1&&(e.codePointAt(a)===t.codePointAt(c--)?c<0&&(i=a):(c=-1,i=u));return n===i?i=u:i<0&&(i=e.length),e.slice(n,i)}function Sv(e){if(Sa(e),e.length===0)return".";let t=-1,n=e.length,i;for(;--n;)if(e.codePointAt(n)===47){if(i){t=n;break}}else i||(i=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function Cv(e){Sa(e);let t=e.length,n=-1,i=0,a=-1,s=0,u;for(;t--;){const c=e.codePointAt(t);if(c===47){if(u){i=t+1;break}continue}n<0&&(u=!0,n=t+1),c===46?a<0?a=t:s!==1&&(s=1):a>-1&&(s=-1)}return a<0||n<0||s===0||s===1&&a===n-1&&a===i+1?"":e.slice(a,n)}function Tv(...e){let t=-1,n;for(;++t<e.length;)Sa(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":Ev(n)}function Ev(e){Sa(e);const t=e.codePointAt(0)===47;let n=Nv(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function Nv(e,t){let n="",i=0,a=-1,s=0,u=-1,c,f;for(;++u<=e.length;){if(u<e.length)c=e.codePointAt(u);else{if(c===47)break;c=47}if(c===47){if(!(a===u-1||s===1))if(a!==u-1&&s===2){if(n.length<2||i!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(f=n.lastIndexOf("/"),f!==n.length-1){f<0?(n="",i=0):(n=n.slice(0,f),i=n.length-1-n.lastIndexOf("/")),a=u,s=0;continue}}else if(n.length>0){n="",i=0,a=u,s=0;continue}}t&&(n=n.length>0?n+"/..":"..",i=2)}else n.length>0?n+="/"+e.slice(a+1,u):n=e.slice(a+1,u),i=u-a-1;a=u,s=0}else c===46&&s>-1?s++:s=-1}return n}function Sa(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const zv={cwd:Av};function Av(){return"/"}function oc(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function Mv(e){if(typeof e=="string")e=new URL(e);else if(!oc(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 jv(e)}function jv(e){if(e.hostname!==""){const i=new TypeError('File URL host must be "localhost" or empty on darwin');throw i.code="ERR_INVALID_FILE_URL_HOST",i}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const i=t.codePointAt(n+2);if(i===70||i===102){const a=new TypeError("File URL path must not include encoded / characters");throw a.code="ERR_INVALID_FILE_URL_PATH",a}}return decodeURIComponent(t)}const Cu=["history","path","basename","stem","extname","dirname"];class t4{constructor(t){let n;t?oc(t)?n={path:t}:typeof t=="string"||Iv(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":zv.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let i=-1;for(;++i<Cu.length;){const s=Cu[i];s in n&&n[s]!==void 0&&n[s]!==null&&(this[s]=s==="history"?[...n[s]]:n[s])}let a;for(a in n)Cu.includes(a)||(this[a]=n[a])}get basename(){return typeof this.path=="string"?Kn.basename(this.path):void 0}set basename(t){Eu(t,"basename"),Tu(t,"basename"),this.path=Kn.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Kn.dirname(this.path):void 0}set dirname(t){Qd(this.basename,"dirname"),this.path=Kn.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Kn.extname(this.path):void 0}set extname(t){if(Tu(t,"extname"),Qd(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=Kn.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){oc(t)&&(t=Mv(t)),Eu(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Kn.basename(this.path,this.extname):void 0}set stem(t){Eu(t,"stem"),Tu(t,"stem"),this.path=Kn.join(this.dirname||"",t+(this.extname||""))}fail(t,n,i){const a=this.message(t,n,i);throw a.fatal=!0,a}info(t,n,i){const a=this.message(t,n,i);return a.fatal=void 0,a}message(t,n,i){const a=new $t(t,n,i);return this.path&&(a.name=this.path+":"+a.name,a.file=this.path),a.fatal=!1,this.messages.push(a),a}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function Tu(e,t){if(e&&e.includes(Kn.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Kn.sep+"`")}function Eu(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Qd(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function Iv(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Dv=(function(e){const i=this.constructor.prototype,a=i[e],s=function(){return a.apply(s,arguments)};return Object.setPrototypeOf(s,i),s}),Lv={}.hasOwnProperty;class Yc extends Dv{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=wv()}copy(){const t=new Yc;let n=-1;for(;++n<this.attachers.length;){const i=this.attachers[n];t.use(...i)}return t.data(Su(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Au("data",this.frozen),this.namespace[t]=n,this):Lv.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Au("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,...i]=this.attachers[this.freezeIndex];if(i[0]===!1)continue;i[0]===!0&&(i[0]=void 0);const a=n.call(t,...i);typeof a=="function"&&this.transformers.use(a)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=Rs(t),i=this.parser||this.Parser;return Nu("parse",i),i(String(n),n)}process(t,n){const i=this;return this.freeze(),Nu("process",this.parser||this.Parser),zu("process",this.compiler||this.Compiler),n?a(void 0,n):new Promise(a);function a(s,u){const c=Rs(t),f=i.parse(c);i.run(f,c,function(m,p,k){if(m||!p||!k)return d(m);const b=p,E=i.stringify(b,k);Fv(E)?k.value=E:k.result=E,d(m,k)});function d(m,p){m||!p?u(m):s?s(p):n(void 0,p)}}}processSync(t){let n=!1,i;return this.freeze(),Nu("processSync",this.parser||this.Parser),zu("processSync",this.compiler||this.Compiler),this.process(t,a),Zd("processSync","process",n),i;function a(s,u){n=!0,Xd(s),i=u}}run(t,n,i){Kd(t),this.freeze();const a=this.transformers;return!i&&typeof n=="function"&&(i=n,n=void 0),i?s(void 0,i):new Promise(s);function s(u,c){const f=Rs(n);a.run(t,f,d);function d(m,p,k){const b=p||t;m?c(m):u?u(b):i(void 0,b,k)}}}runSync(t,n){let i=!1,a;return this.run(t,n,s),Zd("runSync","run",i),a;function s(u,c){Xd(u),a=c,i=!0}}stringify(t,n){this.freeze();const i=Rs(n),a=this.compiler||this.Compiler;return zu("stringify",a),Kd(t),a(t,i)}use(t,...n){const i=this.attachers,a=this.namespace;if(Au("use",this.frozen),t!=null)if(typeof t=="function")f(t,n);else if(typeof t=="object")Array.isArray(t)?c(t):u(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function s(d){if(typeof d=="function")f(d,[]);else if(typeof d=="object")if(Array.isArray(d)){const[m,...p]=d;f(m,p)}else u(d);else throw new TypeError("Expected usable value, not `"+d+"`")}function u(d){if(!("plugins"in d)&&!("settings"in d))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");c(d.plugins),d.settings&&(a.settings=Su(!0,a.settings,d.settings))}function c(d){let m=-1;if(d!=null)if(Array.isArray(d))for(;++m<d.length;){const p=d[m];s(p)}else throw new TypeError("Expected a list of plugins, not `"+d+"`")}function f(d,m){let p=-1,k=-1;for(;++p<i.length;)if(i[p][0]===d){k=p;break}if(k===-1)i.push([d,...m]);else if(m.length>0){let[b,...E]=m;const z=i[k][1];sc(z)&&sc(b)&&(b=Su(!0,z,b)),i[k]=[d,b,...E]}}}}const Pv=new Yc().freeze();function Nu(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function zu(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Au(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 Kd(e){if(!sc(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Zd(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Rs(e){return Rv(e)?e:new t4(e)}function Rv(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Fv(e){return typeof e=="string"||Ov(e)}function Ov(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Bv="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Jd=[],em={allowDangerousHtml:!0},_v=/^(https?|ircs?|mailto|xmpp)$/i,qv=[{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:"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 Hv(e){const t=Uv(e),n=$v(e);return Vv(t.runSync(t.parse(n),n),e)}function Uv(e){const t=e.rehypePlugins||Jd,n=e.remarkPlugins||Jd,i=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...em}:em;return Pv().use(S8).use(n).use(vv,i).use(t)}function $v(e){const t=e.children||"",n=new t4;return typeof t=="string"&&(n.value=t),n}function Vv(e,t){const n=t.allowedElements,i=t.allowElement,a=t.components,s=t.disallowedElements,u=t.skipHtml,c=t.unwrapDisallowed,f=t.urlTransform||Wv;for(const m of qv)Object.hasOwn(t,m.from)&&(""+m.from+(m.to?"use `"+m.to+"` instead":"remove it")+Bv+m.id,void 0);return t.className&&(e={type:"element",tagName:"div",properties:{className:t.className},children:e.type==="root"?e.children:[e]}),Xc(e,d),ag(e,{Fragment:x.Fragment,components:a,ignoreInvalidStyle:!0,jsx:x.jsx,jsxs:x.jsxs,passKeys:!0,passNode:!0});function d(m,p,k){if(m.type==="raw"&&k&&typeof p=="number")return u?k.children.splice(p,1):k.children[p]={type:"text",value:m.value},p;if(m.type==="element"){let b;for(b in xu)if(Object.hasOwn(xu,b)&&Object.hasOwn(m.properties,b)){const E=m.properties[b],z=xu[b];(z===null||z.includes(m.tagName))&&(m.properties[b]=f(String(E||""),b,m))}}if(m.type==="element"){let b=n?!n.includes(m.tagName):s?s.includes(m.tagName):!1;if(!b&&i&&typeof p=="number"&&(b=!i(m,p,k)),b&&k&&typeof p=="number")return c&&m.children?k.children.splice(p,1,...m.children):k.children.splice(p,1),p}}}function Wv(e){const t=e.indexOf(":"),n=e.indexOf("?"),i=e.indexOf("#"),a=e.indexOf("/");return t===-1||a!==-1&&t>a||n!==-1&&t>n||i!==-1&&t>i||_v.test(e.slice(0,t))?e:""}function tm(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let i=0,a=n.indexOf(t);for(;a!==-1;)i++,a=n.indexOf(t,a+t.length);return i}function Gv(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Xv(e,t,n){const a=ba((n||{}).ignore||[]),s=Yv(t);let u=-1;for(;++u<s.length;)Gc(e,"text",c);function c(d,m){let p=-1,k;for(;++p<m.length;){const b=m[p],E=k?k.children:void 0;if(a(b,E?E.indexOf(b):void 0,k))return;k=b}if(k)return f(d,m)}function f(d,m){const p=m[m.length-1],k=s[u][0],b=s[u][1];let E=0;const j=p.children.indexOf(d);let M=!1,R=[];k.lastIndex=0;let q=k.exec(d.value);for(;q;){const J=q.index,Y={index:q.index,input:q.input,stack:[...m,d]};let O=b(...q,Y);if(typeof O=="string"&&(O=O.length>0?{type:"text",value:O}:void 0),O===!1?k.lastIndex=J+1:(E!==J&&R.push({type:"text",value:d.value.slice(E,J)}),Array.isArray(O)?R.push(...O):O&&R.push(O),E=J+q[0].length,M=!0),!k.global)break;q=k.exec(d.value)}return M?(E<d.value.length&&R.push({type:"text",value:d.value.slice(E)}),p.children.splice(j,1,...R)):R=[d],j+R.length}}function Yv(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 i=-1;for(;++i<n.length;){const a=n[i];t.push([Qv(a[0]),Kv(a[1])])}return t}function Qv(e){return typeof e=="string"?new RegExp(Gv(e),"g"):e}function Kv(e){return typeof e=="function"?e:function(){return e}}const Mu="phrasing",ju=["autolink","link","image","label"];function Zv(){return{transforms:[ly],enter:{literalAutolink:ey,literalAutolinkEmail:Iu,literalAutolinkHttp:Iu,literalAutolinkWww:Iu},exit:{literalAutolink:iy,literalAutolinkEmail:ry,literalAutolinkHttp:ty,literalAutolinkWww:ny}}}function Jv(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Mu,notInConstruct:ju},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Mu,notInConstruct:ju},{character:":",before:"[ps]",after:"\\/",inConstruct:Mu,notInConstruct:ju}]}}function ey(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Iu(e){this.config.enter.autolinkProtocol.call(this,e)}function ty(e){this.config.exit.autolinkProtocol.call(this,e)}function ny(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 ry(e){this.config.exit.autolinkEmail.call(this,e)}function iy(e){this.exit(e)}function ly(e){Xv(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,ay],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),sy]],{ignore:["link","linkReference"]})}function ay(e,t,n,i,a){let s="";if(!n4(a)||(/^w/i.test(t)&&(n=t+n,t="",s="http://"),!oy(n)))return!1;const u=uy(n+i);if(!u[0])return!1;const c={type:"link",title:null,url:s+t+u[0],children:[{type:"text",value:t+u[0]}]};return u[1]?[c,{type:"text",value:u[1]}]:c}function sy(e,t,n,i){return!n4(i,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function oy(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 uy(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],i=n.indexOf(")");const a=tm(e,"(");let s=tm(e,")");for(;i!==-1&&a>s;)e+=n.slice(0,i+1),n=n.slice(i+1),i=n.indexOf(")"),s++;return[e,n]}function n4(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||ji(n)||so(n))&&(!t||n!==47)}r4.peek=yy;function cy(){this.buffer()}function hy(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function fy(){this.buffer()}function dy(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function my(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=qn(this.sliceSerialize(e)).toLowerCase(),n.label=t}function py(e){this.exit(e)}function gy(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=qn(this.sliceSerialize(e)).toLowerCase(),n.label=t}function vy(e){this.exit(e)}function yy(){return"["}function r4(e,t,n,i){const a=n.createTracker(i);let s=a.move("[^");const u=n.enter("footnoteReference"),c=n.enter("reference");return s+=a.move(n.safe(n.associationId(e),{after:"]",before:s})),c(),u(),s+=a.move("]"),s}function xy(){return{enter:{gfmFootnoteCallString:cy,gfmFootnoteCall:hy,gfmFootnoteDefinitionLabelString:fy,gfmFootnoteDefinition:dy},exit:{gfmFootnoteCallString:my,gfmFootnoteCall:py,gfmFootnoteDefinitionLabelString:gy,gfmFootnoteDefinition:vy}}}function wy(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:r4},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(i,a,s,u){const c=s.createTracker(u);let f=c.move("[^");const d=s.enter("footnoteDefinition"),m=s.enter("label");return f+=c.move(s.safe(s.associationId(i),{before:f,after:"]"})),m(),f+=c.move("]:"),i.children&&i.children.length>0&&(c.shift(4),f+=c.move((t?`
57
- `:" ")+s.indentLines(s.containerFlow(i,c.current()),t?i4:ky))),d(),f}}function ky(e,t,n){return t===0?e:i4(e,t,n)}function i4(e,t,n){return(n?"":" ")+e}const by=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];l4.peek=Ny;function Sy(){return{canContainEols:["delete"],enter:{strikethrough:Ty},exit:{strikethrough:Ey}}}function Cy(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:by}],handlers:{delete:l4}}}function Ty(e){this.enter({type:"delete",children:[]},e)}function Ey(e){this.exit(e)}function l4(e,t,n,i){const a=n.createTracker(i),s=n.enter("strikethrough");let u=a.move("~~");return u+=n.containerPhrasing(e,{...a.current(),before:u,after:"~"}),u+=a.move("~~"),s(),u}function Ny(){return"~"}function zy(e){return e.length}function Ay(e,t){const n=t||{},i=(n.align||[]).concat(),a=n.stringLength||zy,s=[],u=[],c=[],f=[];let d=0,m=-1;for(;++m<e.length;){const z=[],j=[];let M=-1;for(e[m].length>d&&(d=e[m].length);++M<e[m].length;){const R=My(e[m][M]);if(n.alignDelimiters!==!1){const q=a(R);j[M]=q,(f[M]===void 0||q>f[M])&&(f[M]=q)}z.push(R)}u[m]=z,c[m]=j}let p=-1;if(typeof i=="object"&&"length"in i)for(;++p<d;)s[p]=nm(i[p]);else{const z=nm(i);for(;++p<d;)s[p]=z}p=-1;const k=[],b=[];for(;++p<d;){const z=s[p];let j="",M="";z===99?(j=":",M=":"):z===108?j=":":z===114&&(M=":");let R=n.alignDelimiters===!1?1:Math.max(1,f[p]-j.length-M.length);const q=j+"-".repeat(R)+M;n.alignDelimiters!==!1&&(R=j.length+R+M.length,R>f[p]&&(f[p]=R),b[p]=R),k[p]=q}u.splice(1,0,k),c.splice(1,0,b),m=-1;const E=[];for(;++m<u.length;){const z=u[m],j=c[m];p=-1;const M=[];for(;++p<d;){const R=z[p]||"";let q="",J="";if(n.alignDelimiters!==!1){const Y=f[p]-(j[p]||0),O=s[p];O===114?q=" ".repeat(Y):O===99?Y%2?(q=" ".repeat(Y/2+.5),J=" ".repeat(Y/2-.5)):(q=" ".repeat(Y/2),J=q):J=" ".repeat(Y)}n.delimiterStart!==!1&&!p&&M.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&R==="")&&(n.delimiterStart!==!1||p)&&M.push(" "),n.alignDelimiters!==!1&&M.push(q),M.push(R),n.alignDelimiters!==!1&&M.push(J),n.padding!==!1&&M.push(" "),(n.delimiterEnd!==!1||p!==d-1)&&M.push("|")}E.push(n.delimiterEnd===!1?M.join("").replace(/ +$/,""):M.join(""))}return E.join(`
58
- `)}function My(e){return e==null?"":String(e)}function nm(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function jy(e,t,n,i){const a=n.enter("blockquote"),s=n.createTracker(i);s.move("> "),s.shift(2);const u=n.indentLines(n.containerFlow(e,s.current()),Iy);return a(),u}function Iy(e,t,n){return">"+(n?"":" ")+e}function Dy(e,t){return rm(e,t.inConstruct,!0)&&!rm(e,t.notInConstruct,!1)}function rm(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let i=-1;for(;++i<t.length;)if(e.includes(t[i]))return!0;return!1}function im(e,t,n,i){let a=-1;for(;++a<n.unsafe.length;)if(n.unsafe[a].character===`
59
- `&&Dy(n.stack,n.unsafe[a]))return/[ \t]/.test(i.before)?"":" ";return`\\
60
- `}function a4(e,t){const n=String(e);let i=n.indexOf(t),a=i,s=0,u=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;i!==-1;)i===a?++s>u&&(u=s):s=1,a=i+t.length,i=n.indexOf(t,a);return u}function Ly(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 Py(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 Ry(e,t,n,i){const a=Py(n),s=e.value||"",u=a==="`"?"GraveAccent":"Tilde";if(Ly(e,n)){const p=n.enter("codeIndented"),k=n.indentLines(s,Fy);return p(),k}const c=n.createTracker(i),f=a.repeat(Math.max(a4(s,a)+1,3)),d=n.enter("codeFenced");let m=c.move(f);if(e.lang){const p=n.enter(`codeFencedLang${u}`);m+=c.move(n.safe(e.lang,{before:m,after:" ",encode:["`"],...c.current()})),p()}if(e.lang&&e.meta){const p=n.enter(`codeFencedMeta${u}`);m+=c.move(" "),m+=c.move(n.safe(e.meta,{before:m,after:`
61
- `,encode:["`"],...c.current()})),p()}return m+=c.move(`
62
- `),s&&(m+=c.move(s+`
63
- `)),m+=c.move(f),d(),m}function Fy(e,t,n){return(n?"":" ")+e}function Qc(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 Oy(e,t,n,i){const a=Qc(n),s=a==='"'?"Quote":"Apostrophe",u=n.enter("definition");let c=n.enter("label");const f=n.createTracker(i);let d=f.move("[");return d+=f.move(n.safe(n.associationId(e),{before:d,after:"]",...f.current()})),d+=f.move("]: "),c(),!e.url||/[\0- \u007F]/.test(e.url)?(c=n.enter("destinationLiteral"),d+=f.move("<"),d+=f.move(n.safe(e.url,{before:d,after:">",...f.current()})),d+=f.move(">")):(c=n.enter("destinationRaw"),d+=f.move(n.safe(e.url,{before:d,after:e.title?" ":`
64
- `,...f.current()}))),c(),e.title&&(c=n.enter(`title${s}`),d+=f.move(" "+a),d+=f.move(n.safe(e.title,{before:d,after:a,...f.current()})),d+=f.move(a),c()),u(),d}function By(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 ga(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Js(e,t,n){const i=hl(e),a=hl(t);return i===void 0?a===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:a===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:i===1?a===void 0?{inside:!1,outside:!1}:a===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:a===void 0?{inside:!1,outside:!1}:a===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}s4.peek=_y;function s4(e,t,n,i){const a=By(n),s=n.enter("emphasis"),u=n.createTracker(i),c=u.move(a);let f=u.move(n.containerPhrasing(e,{after:a,before:c,...u.current()}));const d=f.charCodeAt(0),m=Js(i.before.charCodeAt(i.before.length-1),d,a);m.inside&&(f=ga(d)+f.slice(1));const p=f.charCodeAt(f.length-1),k=Js(i.after.charCodeAt(0),p,a);k.inside&&(f=f.slice(0,-1)+ga(p));const b=u.move(a);return s(),n.attentionEncodeSurroundingInfo={after:k.outside,before:m.outside},c+f+b}function _y(e,t,n){return n.options.emphasis||"*"}function qy(e,t){let n=!1;return Xc(e,function(i){if("value"in i&&/\r?\n|\r/.test(i.value)||i.type==="break")return n=!0,lc}),!!((!e.depth||e.depth<3)&&_c(e)&&(t.options.setext||n))}function Hy(e,t,n,i){const a=Math.max(Math.min(6,e.depth||1),1),s=n.createTracker(i);if(qy(e,n)){const m=n.enter("headingSetext"),p=n.enter("phrasing"),k=n.containerPhrasing(e,{...s.current(),before:`
65
- `,after:`
66
- `});return p(),m(),k+`
67
- `+(a===1?"=":"-").repeat(k.length-(Math.max(k.lastIndexOf("\r"),k.lastIndexOf(`
68
- `))+1))}const u="#".repeat(a),c=n.enter("headingAtx"),f=n.enter("phrasing");s.move(u+" ");let d=n.containerPhrasing(e,{before:"# ",after:`
69
- `,...s.current()});return/^[\t ]/.test(d)&&(d=ga(d.charCodeAt(0))+d.slice(1)),d=d?u+" "+d:u,n.options.closeAtx&&(d+=" "+u),f(),c(),d}o4.peek=Uy;function o4(e){return e.value||""}function Uy(){return"<"}u4.peek=$y;function u4(e,t,n,i){const a=Qc(n),s=a==='"'?"Quote":"Apostrophe",u=n.enter("image");let c=n.enter("label");const f=n.createTracker(i);let d=f.move("![");return d+=f.move(n.safe(e.alt,{before:d,after:"]",...f.current()})),d+=f.move("]("),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=n.enter("destinationLiteral"),d+=f.move("<"),d+=f.move(n.safe(e.url,{before:d,after:">",...f.current()})),d+=f.move(">")):(c=n.enter("destinationRaw"),d+=f.move(n.safe(e.url,{before:d,after:e.title?" ":")",...f.current()}))),c(),e.title&&(c=n.enter(`title${s}`),d+=f.move(" "+a),d+=f.move(n.safe(e.title,{before:d,after:a,...f.current()})),d+=f.move(a),c()),d+=f.move(")"),u(),d}function $y(){return"!"}c4.peek=Vy;function c4(e,t,n,i){const a=e.referenceType,s=n.enter("imageReference");let u=n.enter("label");const c=n.createTracker(i);let f=c.move("![");const d=n.safe(e.alt,{before:f,after:"]",...c.current()});f+=c.move(d+"]["),u();const m=n.stack;n.stack=[],u=n.enter("reference");const p=n.safe(n.associationId(e),{before:f,after:"]",...c.current()});return u(),n.stack=m,s(),a==="full"||!d||d!==p?f+=c.move(p+"]"):a==="shortcut"?f=f.slice(0,-1):f+=c.move("]"),f}function Vy(){return"!"}h4.peek=Wy;function h4(e,t,n){let i=e.value||"",a="`",s=-1;for(;new RegExp("(^|[^`])"+a+"([^`]|$)").test(i);)a+="`";for(/[^ \r\n]/.test(i)&&(/^[ \r\n]/.test(i)&&/[ \r\n]$/.test(i)||/^`|`$/.test(i))&&(i=" "+i+" ");++s<n.unsafe.length;){const u=n.unsafe[s],c=n.compilePattern(u);let f;if(u.atBreak)for(;f=c.exec(i);){let d=f.index;i.charCodeAt(d)===10&&i.charCodeAt(d-1)===13&&d--,i=i.slice(0,d)+" "+i.slice(f.index+1)}}return a+i+a}function Wy(){return"`"}function f4(e,t){const n=_c(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))}d4.peek=Gy;function d4(e,t,n,i){const a=Qc(n),s=a==='"'?"Quote":"Apostrophe",u=n.createTracker(i);let c,f;if(f4(e,n)){const m=n.stack;n.stack=[],c=n.enter("autolink");let p=u.move("<");return p+=u.move(n.containerPhrasing(e,{before:p,after:">",...u.current()})),p+=u.move(">"),c(),n.stack=m,p}c=n.enter("link"),f=n.enter("label");let d=u.move("[");return d+=u.move(n.containerPhrasing(e,{before:d,after:"](",...u.current()})),d+=u.move("]("),f(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(f=n.enter("destinationLiteral"),d+=u.move("<"),d+=u.move(n.safe(e.url,{before:d,after:">",...u.current()})),d+=u.move(">")):(f=n.enter("destinationRaw"),d+=u.move(n.safe(e.url,{before:d,after:e.title?" ":")",...u.current()}))),f(),e.title&&(f=n.enter(`title${s}`),d+=u.move(" "+a),d+=u.move(n.safe(e.title,{before:d,after:a,...u.current()})),d+=u.move(a),f()),d+=u.move(")"),c(),d}function Gy(e,t,n){return f4(e,n)?"<":"["}m4.peek=Xy;function m4(e,t,n,i){const a=e.referenceType,s=n.enter("linkReference");let u=n.enter("label");const c=n.createTracker(i);let f=c.move("[");const d=n.containerPhrasing(e,{before:f,after:"]",...c.current()});f+=c.move(d+"]["),u();const m=n.stack;n.stack=[],u=n.enter("reference");const p=n.safe(n.associationId(e),{before:f,after:"]",...c.current()});return u(),n.stack=m,s(),a==="full"||!d||d!==p?f+=c.move(p+"]"):a==="shortcut"?f=f.slice(0,-1):f+=c.move("]"),f}function Xy(){return"["}function Kc(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 Yy(e){const t=Kc(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 Qy(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 p4(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 Ky(e,t,n,i){const a=n.enter("list"),s=n.bulletCurrent;let u=e.ordered?Qy(n):Kc(n);const c=e.ordered?u==="."?")":".":Yy(n);let f=t&&n.bulletLastUsed?u===n.bulletLastUsed:!1;if(!e.ordered){const m=e.children?e.children[0]:void 0;if((u==="*"||u==="-")&&m&&(!m.children||!m.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&&(f=!0),p4(n)===u&&m){let p=-1;for(;++p<e.children.length;){const k=e.children[p];if(k&&k.type==="listItem"&&k.children&&k.children[0]&&k.children[0].type==="thematicBreak"){f=!0;break}}}}f&&(u=c),n.bulletCurrent=u;const d=n.containerFlow(e,i);return n.bulletLastUsed=u,n.bulletCurrent=s,a(),d}function Zy(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 Jy(e,t,n,i){const a=Zy(n);let s=n.bulletCurrent||Kc(n);t&&t.type==="list"&&t.ordered&&(s=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+s);let u=s.length+1;(a==="tab"||a==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(u=Math.ceil(u/4)*4);const c=n.createTracker(i);c.move(s+" ".repeat(u-s.length)),c.shift(u);const f=n.enter("listItem"),d=n.indentLines(n.containerFlow(e,c.current()),m);return f(),d;function m(p,k,b){return k?(b?"":" ".repeat(u))+p:(b?s:s+" ".repeat(u-s.length))+p}}function e9(e,t,n,i){const a=n.enter("paragraph"),s=n.enter("phrasing"),u=n.containerPhrasing(e,i);return s(),a(),u}const t9=ba(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function n9(e,t,n,i){return(e.children.some(function(u){return t9(u)})?n.containerPhrasing:n.containerFlow).call(n,e,i)}function r9(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}g4.peek=i9;function g4(e,t,n,i){const a=r9(n),s=n.enter("strong"),u=n.createTracker(i),c=u.move(a+a);let f=u.move(n.containerPhrasing(e,{after:a,before:c,...u.current()}));const d=f.charCodeAt(0),m=Js(i.before.charCodeAt(i.before.length-1),d,a);m.inside&&(f=ga(d)+f.slice(1));const p=f.charCodeAt(f.length-1),k=Js(i.after.charCodeAt(0),p,a);k.inside&&(f=f.slice(0,-1)+ga(p));const b=u.move(a+a);return s(),n.attentionEncodeSurroundingInfo={after:k.outside,before:m.outside},c+f+b}function i9(e,t,n){return n.options.strong||"*"}function l9(e,t,n,i){return n.safe(e.value,i)}function a9(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 s9(e,t,n){const i=(p4(n)+(n.options.ruleSpaces?" ":"")).repeat(a9(n));return n.options.ruleSpaces?i.slice(0,-1):i}const v4={blockquote:jy,break:im,code:Ry,definition:Oy,emphasis:s4,hardBreak:im,heading:Hy,html:o4,image:u4,imageReference:c4,inlineCode:h4,link:d4,linkReference:m4,list:Ky,listItem:Jy,paragraph:e9,root:n9,strong:g4,text:l9,thematicBreak:s9};function o9(){return{enter:{table:u9,tableData:lm,tableHeader:lm,tableRow:h9},exit:{codeText:f9,table:c9,tableData:Du,tableHeader:Du,tableRow:Du}}}function u9(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 c9(e){this.exit(e),this.data.inTable=void 0}function h9(e){this.enter({type:"tableRow",children:[]},e)}function Du(e){this.exit(e)}function lm(e){this.enter({type:"tableCell",children:[]},e)}function f9(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,d9));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function d9(e,t){return t==="|"?t:e}function m9(e){const t=e||{},n=t.tableCellPadding,i=t.tablePipeAlign,a=t.stringLength,s=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
70
- `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:k,table:u,tableCell:f,tableRow:c}};function u(b,E,z,j){return d(m(b,z,j),b.align)}function c(b,E,z,j){const M=p(b,z,j),R=d([M]);return R.slice(0,R.indexOf(`
71
- `))}function f(b,E,z,j){const M=z.enter("tableCell"),R=z.enter("phrasing"),q=z.containerPhrasing(b,{...j,before:s,after:s});return R(),M(),q}function d(b,E){return Ay(b,{align:E,alignDelimiters:i,padding:n,stringLength:a})}function m(b,E,z){const j=b.children;let M=-1;const R=[],q=E.enter("table");for(;++M<j.length;)R[M]=p(j[M],E,z);return q(),R}function p(b,E,z){const j=b.children;let M=-1;const R=[],q=E.enter("tableRow");for(;++M<j.length;)R[M]=f(j[M],b,E,z);return q(),R}function k(b,E,z){let j=v4.inlineCode(b,E,z);return z.stack.includes("tableCell")&&(j=j.replace(/\|/g,"\\$&")),j}}function p9(){return{exit:{taskListCheckValueChecked:am,taskListCheckValueUnchecked:am,paragraph:v9}}}function g9(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:y9}}}function am(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function v9(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 i=n.children[0];if(i&&i.type==="text"){const a=t.children;let s=-1,u;for(;++s<a.length;){const c=a[s];if(c.type==="paragraph"){u=c;break}}u===n&&(i.value=i.value.slice(1),i.value.length===0?n.children.shift():n.position&&i.position&&typeof i.position.start.offset=="number"&&(i.position.start.column++,i.position.start.offset++,n.position.start=Object.assign({},i.position.start)))}}this.exit(e)}function y9(e,t,n,i){const a=e.children[0],s=typeof e.checked=="boolean"&&a&&a.type==="paragraph",u="["+(e.checked?"x":" ")+"] ",c=n.createTracker(i);s&&c.move(u);let f=v4.listItem(e,t,n,{...i,...c.current()});return s&&(f=f.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,d)),f;function d(m){return m+u}}function x9(){return[Zv(),xy(),Sy(),o9(),p9()]}function w9(e){return{extensions:[Jv(),wy(e),Cy(),m9(e),g9()]}}const k9={tokenize:N9,partial:!0},y4={tokenize:z9,partial:!0},x4={tokenize:A9,partial:!0},w4={tokenize:M9,partial:!0},b9={tokenize:j9,partial:!0},k4={name:"wwwAutolink",tokenize:T9,previous:S4},b4={name:"protocolAutolink",tokenize:E9,previous:C4},yr={name:"emailAutolink",tokenize:C9,previous:T4},er={};function S9(){return{text:er}}let Ci=48;for(;Ci<123;)er[Ci]=yr,Ci++,Ci===58?Ci=65:Ci===91&&(Ci=97);er[43]=yr;er[45]=yr;er[46]=yr;er[95]=yr;er[72]=[yr,b4];er[104]=[yr,b4];er[87]=[yr,k4];er[119]=[yr,k4];function C9(e,t,n){const i=this;let a,s;return u;function u(p){return!uc(p)||!T4.call(i,i.previous)||Zc(i.events)?n(p):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),c(p))}function c(p){return uc(p)?(e.consume(p),c):p===64?(e.consume(p),f):n(p)}function f(p){return p===46?e.check(b9,m,d)(p):p===45||p===95||Ht(p)?(s=!0,e.consume(p),f):m(p)}function d(p){return e.consume(p),a=!0,f}function m(p){return s&&a&&Yt(i.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(p)):n(p)}}function T9(e,t,n){const i=this;return a;function a(u){return u!==87&&u!==119||!S4.call(i,i.previous)||Zc(i.events)?n(u):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(k9,e.attempt(y4,e.attempt(x4,s),n),n)(u))}function s(u){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(u)}}function E9(e,t,n){const i=this;let a="",s=!1;return u;function u(p){return(p===72||p===104)&&C4.call(i,i.previous)&&!Zc(i.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),a+=String.fromCodePoint(p),e.consume(p),c):n(p)}function c(p){if(Yt(p)&&a.length<5)return a+=String.fromCodePoint(p),e.consume(p),c;if(p===58){const k=a.toLowerCase();if(k==="http"||k==="https")return e.consume(p),f}return n(p)}function f(p){return p===47?(e.consume(p),s?d:(s=!0,f)):n(p)}function d(p){return p===null||Qs(p)||nt(p)||ji(p)||so(p)?n(p):e.attempt(y4,e.attempt(x4,m),n)(p)}function m(p){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(p)}}function N9(e,t,n){let i=0;return a;function a(u){return(u===87||u===119)&&i<3?(i++,e.consume(u),a):u===46&&i===3?(e.consume(u),s):n(u)}function s(u){return u===null?n(u):t(u)}}function z9(e,t,n){let i,a,s;return u;function u(d){return d===46||d===95?e.check(w4,f,c)(d):d===null||nt(d)||ji(d)||d!==45&&so(d)?f(d):(s=!0,e.consume(d),u)}function c(d){return d===95?i=!0:(a=i,i=void 0),e.consume(d),u}function f(d){return a||i||!s?n(d):t(d)}}function A9(e,t){let n=0,i=0;return a;function a(u){return u===40?(n++,e.consume(u),a):u===41&&i<n?s(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(w4,t,s)(u):u===null||nt(u)||ji(u)?t(u):(e.consume(u),a)}function s(u){return u===41&&i++,e.consume(u),a}}function M9(e,t,n){return i;function i(c){return c===33||c===34||c===39||c===41||c===42||c===44||c===46||c===58||c===59||c===63||c===95||c===126?(e.consume(c),i):c===38?(e.consume(c),s):c===93?(e.consume(c),a):c===60||c===null||nt(c)||ji(c)?t(c):n(c)}function a(c){return c===null||c===40||c===91||nt(c)||ji(c)?t(c):i(c)}function s(c){return Yt(c)?u(c):n(c)}function u(c){return c===59?(e.consume(c),i):Yt(c)?(e.consume(c),u):n(c)}}function j9(e,t,n){return i;function i(s){return e.consume(s),a}function a(s){return Ht(s)?n(s):t(s)}}function S4(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||nt(e)}function C4(e){return!Yt(e)}function T4(e){return!(e===47||uc(e))}function uc(e){return e===43||e===45||e===46||e===95||Ht(e)}function Zc(e){let t=e.length,n=!1;for(;t--;){const i=e[t][1];if((i.type==="labelLink"||i.type==="labelImage")&&!i._balanced){n=!0;break}if(i._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const I9={tokenize:_9,partial:!0};function D9(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:F9,continuation:{tokenize:O9},exit:B9}},text:{91:{name:"gfmFootnoteCall",tokenize:R9},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:L9,resolveTo:P9}}}}function L9(e,t,n){const i=this;let a=i.events.length;const s=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);let u;for(;a--;){const f=i.events[a][1];if(f.type==="labelImage"){u=f;break}if(f.type==="gfmFootnoteCall"||f.type==="labelLink"||f.type==="label"||f.type==="image"||f.type==="link")break}return c;function c(f){if(!u||!u._balanced)return n(f);const d=qn(i.sliceSerialize({start:u.end,end:i.now()}));return d.codePointAt(0)!==94||!s.includes(d.slice(1))?n(f):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),t(f))}}function P9(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 i={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;const s={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},u={type:"chunkString",contentType:"string",start:Object.assign({},s.start),end:Object.assign({},s.end)},c=[e[n+1],e[n+2],["enter",i,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",s,t],["enter",u,t],["exit",u,t],["exit",s,t],e[e.length-2],e[e.length-1],["exit",i,t]];return e.splice(n,e.length-n+1,...c),e}function R9(e,t,n){const i=this,a=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);let s=0,u;return c;function c(p){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(p),e.exit("gfmFootnoteCallLabelMarker"),f}function f(p){return p!==94?n(p):(e.enter("gfmFootnoteCallMarker"),e.consume(p),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",d)}function d(p){if(s>999||p===93&&!u||p===null||p===91||nt(p))return n(p);if(p===93){e.exit("chunkString");const k=e.exit("gfmFootnoteCallString");return a.includes(qn(i.sliceSerialize(k)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(p),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(p)}return nt(p)||(u=!0),s++,e.consume(p),p===92?m:d}function m(p){return p===91||p===92||p===93?(e.consume(p),s++,d):d(p)}}function F9(e,t,n){const i=this,a=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);let s,u=0,c;return f;function f(E){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(E),e.exit("gfmFootnoteDefinitionLabelMarker"),d}function d(E){return E===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(E),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",m):n(E)}function m(E){if(u>999||E===93&&!c||E===null||E===91||nt(E))return n(E);if(E===93){e.exit("chunkString");const z=e.exit("gfmFootnoteDefinitionLabelString");return s=qn(i.sliceSerialize(z)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(E),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),k}return nt(E)||(c=!0),u++,e.consume(E),E===92?p:m}function p(E){return E===91||E===92||E===93?(e.consume(E),u++,m):m(E)}function k(E){return E===58?(e.enter("definitionMarker"),e.consume(E),e.exit("definitionMarker"),a.includes(s)||a.push(s),We(e,b,"gfmFootnoteDefinitionWhitespace")):n(E)}function b(E){return t(E)}}function O9(e,t,n){return e.check(ka,t,e.attempt(I9,t,n))}function B9(e){e.exit("gfmFootnoteDefinition")}function _9(e,t,n){const i=this;return We(e,a,"gfmFootnoteDefinitionIndent",5);function a(s){const u=i.events[i.events.length-1];return u&&u[1].type==="gfmFootnoteDefinitionIndent"&&u[2].sliceSerialize(u[1],!0).length===4?t(s):n(s)}}function q9(e){let n=(e||{}).singleTilde;const i={name:"strikethrough",tokenize:s,resolveAll:a};return n==null&&(n=!0),{text:{126:i},insideSpan:{null:[i]},attentionMarkers:{null:[126]}};function a(u,c){let f=-1;for(;++f<u.length;)if(u[f][0]==="enter"&&u[f][1].type==="strikethroughSequenceTemporary"&&u[f][1]._close){let d=f;for(;d--;)if(u[d][0]==="exit"&&u[d][1].type==="strikethroughSequenceTemporary"&&u[d][1]._open&&u[f][1].end.offset-u[f][1].start.offset===u[d][1].end.offset-u[d][1].start.offset){u[f][1].type="strikethroughSequence",u[d][1].type="strikethroughSequence";const m={type:"strikethrough",start:Object.assign({},u[d][1].start),end:Object.assign({},u[f][1].end)},p={type:"strikethroughText",start:Object.assign({},u[d][1].end),end:Object.assign({},u[f][1].start)},k=[["enter",m,c],["enter",u[d][1],c],["exit",u[d][1],c],["enter",p,c]],b=c.parser.constructs.insideSpan.null;b&&pn(k,k.length,0,oo(b,u.slice(d+1,f),c)),pn(k,k.length,0,[["exit",p,c],["enter",u[f][1],c],["exit",u[f][1],c],["exit",m,c]]),pn(u,d-1,f-d+3,k),f=d+k.length-2;break}}for(f=-1;++f<u.length;)u[f][1].type==="strikethroughSequenceTemporary"&&(u[f][1].type="data");return u}function s(u,c,f){const d=this.previous,m=this.events;let p=0;return k;function k(E){return d===126&&m[m.length-1][1].type!=="characterEscape"?f(E):(u.enter("strikethroughSequenceTemporary"),b(E))}function b(E){const z=hl(d);if(E===126)return p>1?f(E):(u.consume(E),p++,b);if(p<2&&!n)return f(E);const j=u.exit("strikethroughSequenceTemporary"),M=hl(E);return j._open=!M||M===2&&!!z,j._close=!z||z===2&&!!M,c(E)}}}class H9{constructor(){this.map=[]}add(t,n,i){U9(this,t,n,i)}consume(t){if(this.map.sort(function(s,u){return s[0]-u[0]}),this.map.length===0)return;let n=this.map.length;const i=[];for(;n>0;)n-=1,i.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];i.push(t.slice()),t.length=0;let a=i.pop();for(;a;){for(const s of a)t.push(s);a=i.pop()}this.map.length=0}}function U9(e,t,n,i){let a=0;if(!(n===0&&i.length===0)){for(;a<e.map.length;){if(e.map[a][0]===t){e.map[a][1]+=n,e.map[a][2].push(...i);return}a+=1}e.map.push([t,n,i])}}function $9(e,t){let n=!1;const i=[];for(;t<e.length;){const a=e[t];if(n){if(a[0]==="enter")a[1].type==="tableContent"&&i.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(a[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const s=i.length-1;i[s]=i[s]==="left"?"center":"right"}}else if(a[1].type==="tableDelimiterRow")break}else a[0]==="enter"&&a[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return i}function V9(){return{flow:{null:{name:"table",tokenize:W9,resolveAll:G9}}}}function W9(e,t,n){const i=this;let a=0,s=0,u;return c;function c(H){let de=i.events.length-1;for(;de>-1;){const ve=i.events[de][1].type;if(ve==="lineEnding"||ve==="linePrefix")de--;else break}const ae=de>-1?i.events[de][1].type:null,Te=ae==="tableHead"||ae==="tableRow"?O:f;return Te===O&&i.parser.lazy[i.now().line]?n(H):Te(H)}function f(H){return e.enter("tableHead"),e.enter("tableRow"),d(H)}function d(H){return H===124||(u=!0,s+=1),m(H)}function m(H){return H===null?n(H):ze(H)?s>1?(s=0,i.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(H),e.exit("lineEnding"),b):n(H):Ge(H)?We(e,m,"whitespace")(H):(s+=1,u&&(u=!1,a+=1),H===124?(e.enter("tableCellDivider"),e.consume(H),e.exit("tableCellDivider"),u=!0,m):(e.enter("data"),p(H)))}function p(H){return H===null||H===124||nt(H)?(e.exit("data"),m(H)):(e.consume(H),H===92?k:p)}function k(H){return H===92||H===124?(e.consume(H),p):p(H)}function b(H){return i.interrupt=!1,i.parser.lazy[i.now().line]?n(H):(e.enter("tableDelimiterRow"),u=!1,Ge(H)?We(e,E,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(H):E(H))}function E(H){return H===45||H===58?j(H):H===124?(u=!0,e.enter("tableCellDivider"),e.consume(H),e.exit("tableCellDivider"),z):Y(H)}function z(H){return Ge(H)?We(e,j,"whitespace")(H):j(H)}function j(H){return H===58?(s+=1,u=!0,e.enter("tableDelimiterMarker"),e.consume(H),e.exit("tableDelimiterMarker"),M):H===45?(s+=1,M(H)):H===null||ze(H)?J(H):Y(H)}function M(H){return H===45?(e.enter("tableDelimiterFiller"),R(H)):Y(H)}function R(H){return H===45?(e.consume(H),R):H===58?(u=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(H),e.exit("tableDelimiterMarker"),q):(e.exit("tableDelimiterFiller"),q(H))}function q(H){return Ge(H)?We(e,J,"whitespace")(H):J(H)}function J(H){return H===124?E(H):H===null||ze(H)?!u||a!==s?Y(H):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(H)):Y(H)}function Y(H){return n(H)}function O(H){return e.enter("tableRow"),Q(H)}function Q(H){return H===124?(e.enter("tableCellDivider"),e.consume(H),e.exit("tableCellDivider"),Q):H===null||ze(H)?(e.exit("tableRow"),t(H)):Ge(H)?We(e,Q,"whitespace")(H):(e.enter("data"),te(H))}function te(H){return H===null||H===124||nt(H)?(e.exit("data"),Q(H)):(e.consume(H),H===92?ne:te)}function ne(H){return H===92||H===124?(e.consume(H),te):te(H)}}function G9(e,t){let n=-1,i=!0,a=0,s=[0,0,0,0],u=[0,0,0,0],c=!1,f=0,d,m,p;const k=new H9;for(;++n<e.length;){const b=e[n],E=b[1];b[0]==="enter"?E.type==="tableHead"?(c=!1,f!==0&&(sm(k,t,f,d,m),m=void 0,f=0),d={type:"table",start:Object.assign({},E.start),end:Object.assign({},E.end)},k.add(n,0,[["enter",d,t]])):E.type==="tableRow"||E.type==="tableDelimiterRow"?(i=!0,p=void 0,s=[0,0,0,0],u=[0,n+1,0,0],c&&(c=!1,m={type:"tableBody",start:Object.assign({},E.start),end:Object.assign({},E.end)},k.add(n,0,[["enter",m,t]])),a=E.type==="tableDelimiterRow"?2:m?3:1):a&&(E.type==="data"||E.type==="tableDelimiterMarker"||E.type==="tableDelimiterFiller")?(i=!1,u[2]===0&&(s[1]!==0&&(u[0]=u[1],p=Fs(k,t,s,a,void 0,p),s=[0,0,0,0]),u[2]=n)):E.type==="tableCellDivider"&&(i?i=!1:(s[1]!==0&&(u[0]=u[1],p=Fs(k,t,s,a,void 0,p)),s=u,u=[s[1],n,0,0])):E.type==="tableHead"?(c=!0,f=n):E.type==="tableRow"||E.type==="tableDelimiterRow"?(f=n,s[1]!==0?(u[0]=u[1],p=Fs(k,t,s,a,n,p)):u[1]!==0&&(p=Fs(k,t,u,a,n,p)),a=0):a&&(E.type==="data"||E.type==="tableDelimiterMarker"||E.type==="tableDelimiterFiller")&&(u[3]=n)}for(f!==0&&sm(k,t,f,d,m),k.consume(t.events),n=-1;++n<t.events.length;){const b=t.events[n];b[0]==="enter"&&b[1].type==="table"&&(b[1]._align=$9(t.events,n))}return e}function Fs(e,t,n,i,a,s){const u=i===1?"tableHeader":i===2?"tableDelimiter":"tableData",c="tableContent";n[0]!==0&&(s.end=Object.assign({},ul(t.events,n[0])),e.add(n[0],0,[["exit",s,t]]));const f=ul(t.events,n[1]);if(s={type:u,start:Object.assign({},f),end:Object.assign({},f)},e.add(n[1],0,[["enter",s,t]]),n[2]!==0){const d=ul(t.events,n[2]),m=ul(t.events,n[3]),p={type:c,start:Object.assign({},d),end:Object.assign({},m)};if(e.add(n[2],0,[["enter",p,t]]),i!==2){const k=t.events[n[2]],b=t.events[n[3]];if(k[1].end=Object.assign({},b[1].end),k[1].type="chunkText",k[1].contentType="text",n[3]>n[2]+1){const E=n[2]+1,z=n[3]-n[2]-1;e.add(E,z,[])}}e.add(n[3]+1,0,[["exit",p,t]])}return a!==void 0&&(s.end=Object.assign({},ul(t.events,a)),e.add(a,0,[["exit",s,t]]),s=void 0),s}function sm(e,t,n,i,a){const s=[],u=ul(t.events,n);a&&(a.end=Object.assign({},u),s.push(["exit",a,t])),i.end=Object.assign({},u),s.push(["exit",i,t]),e.add(n+1,0,s)}function ul(e,t){const n=e[t],i=n[0]==="enter"?"start":"end";return n[1][i]}const X9={name:"tasklistCheck",tokenize:Q9};function Y9(){return{text:{91:X9}}}function Q9(e,t,n){const i=this;return a;function a(f){return i.previous!==null||!i._gfmTasklistFirstContentOfListItem?n(f):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(f),e.exit("taskListCheckMarker"),s)}function s(f){return nt(f)?(e.enter("taskListCheckValueUnchecked"),e.consume(f),e.exit("taskListCheckValueUnchecked"),u):f===88||f===120?(e.enter("taskListCheckValueChecked"),e.consume(f),e.exit("taskListCheckValueChecked"),u):n(f)}function u(f){return f===93?(e.enter("taskListCheckMarker"),e.consume(f),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),c):n(f)}function c(f){return ze(f)?t(f):Ge(f)?e.check({tokenize:K9},t,n)(f):n(f)}}function K9(e,t,n){return We(e,i,"whitespace");function i(a){return a===null?n(a):t(a)}}function Z9(e){return Pp([S9(),D9(),q9(e),V9(),Y9()])}const J9={};function ex(e){const t=this,n=e||J9,i=t.data(),a=i.micromarkExtensions||(i.micromarkExtensions=[]),s=i.fromMarkdownExtensions||(i.fromMarkdownExtensions=[]),u=i.toMarkdownExtensions||(i.toMarkdownExtensions=[]);a.push(Z9(n)),s.push(x9()),u.push(w9(n))}function tx(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:s},exit:{mathFlow:a,mathFlowFence:i,mathFlowFenceMeta:n,mathFlowValue:c,mathText:u,mathTextData:c}};function e(f){const d={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[d]}},f)}function t(){this.buffer()}function n(){const f=this.resume(),d=this.stack[this.stack.length-1];d.type,d.meta=f}function i(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function a(f){const d=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),m=this.stack[this.stack.length-1];m.type,this.exit(f),m.value=d;const p=m.data.hChildren[0];p.type,p.tagName,p.children.push({type:"text",value:d}),this.data.mathFlowInside=void 0}function s(f){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},f),this.buffer()}function u(f){const d=this.resume(),m=this.stack[this.stack.length-1];m.type,this.exit(f),m.value=d,m.data.hChildren.push({type:"text",value:d})}function c(f){this.config.enter.data.call(this,f),this.config.exit.data.call(this,f)}}function nx(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),i.peek=a,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
72
- `,inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:n,inlineMath:i}};function n(s,u,c,f){const d=s.value||"",m=c.createTracker(f),p="$".repeat(Math.max(a4(d,"$")+1,2)),k=c.enter("mathFlow");let b=m.move(p);if(s.meta){const E=c.enter("mathFlowMeta");b+=m.move(c.safe(s.meta,{after:`
73
- `,before:b,encode:["$"],...m.current()})),E()}return b+=m.move(`
74
- `),d&&(b+=m.move(d+`
75
- `)),b+=m.move(p),k(),b}function i(s,u,c){let f=s.value||"",d=1;for(t||d++;new RegExp("(^|[^$])"+"\\$".repeat(d)+"([^$]|$)").test(f);)d++;const m="$".repeat(d);/[^ \r\n]/.test(f)&&(/^[ \r\n]/.test(f)&&/[ \r\n]$/.test(f)||/^\$|\$$/.test(f))&&(f=" "+f+" ");let p=-1;for(;++p<c.unsafe.length;){const k=c.unsafe[p];if(!k.atBreak)continue;const b=c.compilePattern(k);let E;for(;E=b.exec(f);){let z=E.index;f.codePointAt(z)===10&&f.codePointAt(z-1)===13&&z--,f=f.slice(0,z)+" "+f.slice(E.index+1)}}return m+f+m}function a(){return"$"}}const rx={tokenize:ix,concrete:!0,name:"mathFlow"},om={tokenize:lx,partial:!0};function ix(e,t,n){const i=this,a=i.events[i.events.length-1],s=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0;let u=0;return c;function c(R){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),f(R)}function f(R){return R===36?(e.consume(R),u++,f):u<2?n(R):(e.exit("mathFlowFenceSequence"),We(e,d,"whitespace")(R))}function d(R){return R===null||ze(R)?p(R):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),m(R))}function m(R){return R===null||ze(R)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),p(R)):R===36?n(R):(e.consume(R),m)}function p(R){return e.exit("mathFlowFence"),i.interrupt?t(R):e.attempt(om,k,j)(R)}function k(R){return e.attempt({tokenize:M,partial:!0},j,b)(R)}function b(R){return(s?We(e,E,"linePrefix",s+1):E)(R)}function E(R){return R===null?j(R):ze(R)?e.attempt(om,k,j)(R):(e.enter("mathFlowValue"),z(R))}function z(R){return R===null||ze(R)?(e.exit("mathFlowValue"),E(R)):(e.consume(R),z)}function j(R){return e.exit("mathFlow"),t(R)}function M(R,q,J){let Y=0;return We(R,O,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function O(ne){return R.enter("mathFlowFence"),R.enter("mathFlowFenceSequence"),Q(ne)}function Q(ne){return ne===36?(Y++,R.consume(ne),Q):Y<u?J(ne):(R.exit("mathFlowFenceSequence"),We(R,te,"whitespace")(ne))}function te(ne){return ne===null||ze(ne)?(R.exit("mathFlowFence"),q(ne)):J(ne)}}}function lx(e,t,n){const i=this;return a;function a(u){return u===null?t(u):(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),s)}function s(u){return i.parser.lazy[i.now().line]?n(u):t(u)}}function ax(e){let n=(e||{}).singleDollarTextMath;return n==null&&(n=!0),{tokenize:i,resolve:sx,previous:ox,name:"mathText"};function i(a,s,u){let c=0,f,d;return m;function m(z){return a.enter("mathText"),a.enter("mathTextSequence"),p(z)}function p(z){return z===36?(a.consume(z),c++,p):c<2&&!n?u(z):(a.exit("mathTextSequence"),k(z))}function k(z){return z===null?u(z):z===36?(d=a.enter("mathTextSequence"),f=0,E(z)):z===32?(a.enter("space"),a.consume(z),a.exit("space"),k):ze(z)?(a.enter("lineEnding"),a.consume(z),a.exit("lineEnding"),k):(a.enter("mathTextData"),b(z))}function b(z){return z===null||z===32||z===36||ze(z)?(a.exit("mathTextData"),k(z)):(a.consume(z),b)}function E(z){return z===36?(a.consume(z),f++,E):f===c?(a.exit("mathTextSequence"),a.exit("mathText"),s(z)):(d.type="mathTextData",b(z))}}}function sx(e){let t=e.length-4,n=3,i,a;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(i=n;++i<t;)if(e[i][1].type==="mathTextData"){e[t][1].type="mathTextPadding",e[n][1].type="mathTextPadding",n+=2,t-=2;break}}for(i=n-1,t++;++i<=t;)a===void 0?i!==t&&e[i][1].type!=="lineEnding"&&(a=i):(i===t||e[i][1].type==="lineEnding")&&(e[a][1].type="mathTextData",i!==a+2&&(e[a][1].end=e[i-1][1].end,e.splice(a+2,i-a-2),t-=i-a-2,i=a+2),a=void 0);return e}function ox(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function ux(e){return{flow:{36:rx},text:{36:ax(e)}}}class ce extends Error{constructor(t,n){var i="KaTeX parse error: "+t,a,s,u=n&&n.loc;if(u&&u.start<=u.end){var c=u.lexer.input;a=u.start,s=u.end,a===c.length?i+=" at end of input: ":i+=" at position "+(a+1)+": ";var f=c.slice(a,s).replace(/[^]/g,"$&̲"),d;a>15?d="…"+c.slice(a-15,a):d=c.slice(0,a);var m;s+15<c.length?m=c.slice(s,s+15)+"…":m=c.slice(s),i+=d+f+m}super(i),this.name="ParseError",this.position=void 0,this.length=void 0,this.rawMessage=void 0,Object.setPrototypeOf(this,ce.prototype),this.position=a,a!=null&&s!=null&&(this.length=s-a),this.rawMessage=t}}var cx=/([A-Z])/g,hx=e=>e.replace(cx,"-$1").toLowerCase(),fx={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},dx=/[&><"']/g,Ut=e=>String(e).replace(dx,t=>fx[t]),Gs=e=>e.type==="ordgroup"||e.type==="color"?e.body.length===1?Gs(e.body[0]):e:e.type==="font"?Gs(e.body):e,mx=new Set(["mathord","textord","atom"]),xr=e=>mx.has(Gs(e).type),px=e=>{var t=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(e);return t?t[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?null:t[1].toLowerCase():"_relative"},eo={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 gx(e){if(typeof e!="string")return e.enum[0];switch(e){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{};default:throw new Error("Unexpected schema type; settings must declare an explicit default.")}}function vx(e){if(e.default!==void 0)return e.default;var t=Array.isArray(e.type)?e.type[0]:e.type;return gx(t)}function yx(e,t,n,i){var a=n[t];e[t]=a!==void 0?i.processor?i.processor(a):a:vx(i)}class Jc{constructor(t){t===void 0&&(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 of Object.keys(eo)){var i=eo[n];i&&yx(this,n,t,i)}}reportNonstrict(t,n,i){var a=this.strict;if(typeof a=="function"&&(a=a(t,n,i)),!(!a||a==="ignore")){if(a===!0||a==="error")throw new ce("LaTeX-incompatible input and strict mode is set to 'error': "+(n+" ["+t+"]"),i);a==="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 '"+a+"': "+n+" ["+t+"]"))}}useStrictBehavior(t,n,i){var a=this.strict;if(typeof a=="function")try{a=a(t,n,i)}catch{a="error"}return!a||a==="ignore"?!1:a===!0||a==="error"?!0:a==="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 '"+a+"': "+n+" ["+t+"]")),!1)}isTrusted(t){if("url"in t&&t.url&&!t.protocol){var n=px(t.url);if(n==null)return!1;t.protocol=n}var i=typeof this.trust=="function"?this.trust(t):this.trust;return!!i}}class Wr{constructor(t,n,i){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=n,this.cramped=i}sup(){return Zn[xx[this.id]]}sub(){return Zn[wx[this.id]]}fracNum(){return Zn[kx[this.id]]}fracDen(){return Zn[bx[this.id]]}cramp(){return Zn[Sx[this.id]]}text(){return Zn[Cx[this.id]]}isTight(){return this.size>=2}}var e1=0,to=1,cl=2,gr=3,va=4,An=5,fl=6,Qt=7,Zn=[new Wr(e1,0,!1),new Wr(to,0,!0),new Wr(cl,1,!1),new Wr(gr,1,!0),new Wr(va,2,!1),new Wr(An,2,!0),new Wr(fl,3,!1),new Wr(Qt,3,!0)],xx=[va,An,va,An,fl,Qt,fl,Qt],wx=[An,An,An,An,Qt,Qt,Qt,Qt],kx=[cl,gr,va,An,fl,Qt,fl,Qt],bx=[gr,gr,An,An,Qt,Qt,Qt,Qt],Sx=[to,to,gr,gr,An,An,Qt,Qt],Cx=[e1,to,cl,gr,cl,gr,cl,gr],Be={DISPLAY:Zn[e1],TEXT:Zn[cl],SCRIPT:Zn[va],SCRIPTSCRIPT:Zn[fl]},cc=[{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 Tx(e){for(var t=0;t<cc.length;t++)for(var n=cc[t],i=0;i<n.blocks.length;i++){var a=n.blocks[i];if(e>=a[0]&&e<=a[1])return n.name}return null}var Xs=[];cc.forEach(e=>e.blocks.forEach(t=>Xs.push(...t)));function E4(e){for(var t=0;t<Xs.length;t+=2)if(e>=Xs[t]&&e<=Xs[t+1])return!0;return!1}var Nt=e=>e+" "+e,ol=80,Ex=function(t,n){return"M95,"+(622+t+n)+`
76
- c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
77
- c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
78
- 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
79
- s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
80
- c69,-144,104.5,-217.7,106.5,-221
81
- l`+t/2.075+" -"+t+`
82
- c5.3,-9.3,12,-14,20,-14
83
- H400000v`+(40+t)+`H845.2724
84
- s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
85
- c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
86
- M`+(834+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},Nx=function(t,n){return"M263,"+(601+t+n)+`c0.7,0,18,39.7,52,119
87
- c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
88
- c340,-704.7,510.7,-1060.3,512,-1067
89
- l`+t/2.084+" -"+t+`
90
- c4.7,-7.3,11,-11,19,-11
91
- H40000v`+(40+t)+`H1012.3
92
- s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
93
- 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
94
- s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
95
- c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
96
- M`+(1001+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},zx=function(t,n){return"M983 "+(10+t+n)+`
97
- l`+t/3.13+" -"+t+`
98
- c4,-6.7,10,-10,18,-10 H400000v`+(40+t)+`
99
- 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
100
- 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
101
- c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
102
- c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
103
- c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
104
- c53.7,-170.3,84.5,-266.8,92.5,-289.5z
105
- M`+(1001+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},Ax=function(t,n){return"M424,"+(2398+t+n)+`
106
- c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
107
- 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
108
- s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
109
- s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
110
- l`+t/4.223+" -"+t+`c4,-6.7,10,-10,18,-10 H400000
111
- v`+(40+t)+`H1014.6
112
- s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
113
- c-2,6,-10,9,-24,9
114
- c-8,0,-12,-0.7,-12,-2z M`+(1001+t)+" "+n+`
115
- h400000v`+(40+t)+"h-400000z"},Mx=function(t,n){return"M473,"+(2713+t+n)+`
116
- c339.3,-1799.3,509.3,-2700,510,-2702 l`+t/5.298+" -"+t+`
117
- c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+t)+`H1017.7
118
- s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
119
- 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
120
- 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
121
- s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
122
- 606zM`+(1001+t)+" "+n+"h400000v"+(40+t)+"H1017.7z"},jx=function(t){var n=t/2;return"M400000 "+t+" H0 L"+n+" 0 l65 45 L145 "+(t-80)+" H400000z"},Ix=function(t,n,i){var a=i-54-n-t;return"M702 "+(t+n)+"H400000"+(40+t)+`
123
- H742v`+a+`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
124
- h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
125
- c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
126
- 219 661 l218 661zM702 `+n+"H400000v"+(40+t)+"H742z"},Dx=function(t,n,i){n=1e3*n;var a="";switch(t){case"sqrtMain":a=Ex(n,ol);break;case"sqrtSize1":a=Nx(n,ol);break;case"sqrtSize2":a=zx(n,ol);break;case"sqrtSize3":a=Ax(n,ol);break;case"sqrtSize4":a=Mx(n,ol);break;case"sqrtTall":a=Ix(n,ol,i)}return a},Lx=function(t,n){switch(t){case"⎜":return Nt("M291 0 H417 V"+n+" H291z");case"∣":return Nt("M145 0 H188 V"+n+" H145z");case"∥":return Nt("M145 0 H188 V"+n+" H145z")+Nt("M367 0 H410 V"+n+" H367z");case"⎟":return Nt("M457 0 H583 V"+n+" H457z");case"⎢":return Nt("M319 0 H403 V"+n+" H319z");case"⎥":return Nt("M263 0 H347 V"+n+" H263z");case"⎪":return Nt("M384 0 H504 V"+n+" H384z");case"⏐":return Nt("M312 0 H355 V"+n+" H312z");case"‖":return Nt("M257 0 H300 V"+n+" H257z")+Nt("M478 0 H521 V"+n+" H478z");default:return""}},um={doubleleftarrow:`M262 157
127
- 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
128
- 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
129
- 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
130
- 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
131
- 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
132
- -86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
133
- -2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
134
- m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
135
- -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
136
- 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
137
- -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
138
- -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
139
- -13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
140
- 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
141
- -107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
142
- 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
143
- -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
144
- 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
145
- 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
146
- 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
147
- l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
148
- -45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
149
- 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
150
- 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
151
- 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
152
- -331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
153
- 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
154
- 435 0h399565z`,leftgroupunder:`M400000 262
155
- 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
156
- 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
157
- -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
158
- -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
159
- -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
160
- 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
161
- -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
162
- -10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
163
- m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
164
- 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
165
- 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
166
- -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
167
- 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
168
- -2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
169
- 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
170
- -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
171
- -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
172
- 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:Nt("M40 281 V428 H0 V94 H40 V241 H400000 v40z"),leftbracketunder:Nt("M0 0 h120 V290 H399995 v120 H0z"),leftbracketover:Nt("M0 440 h120 V150 H399995 v-120 H0z"),leftmapsto:Nt("M40 281 V448H0V74H40V241H400000v40z"),leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
173
- -.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
174
- 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
175
- 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:Nt("M0 50 h400000 v40H0z m0 194h40000v40H0z"),midbrace:`M200428 334
176
- 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
177
- -53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
178
- 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
179
- 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
180
- 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
181
- 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
182
- 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
183
- -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
184
- -320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
185
- 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
186
- 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
187
- -451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
188
- m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
189
- 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
190
- -480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
191
- 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
192
- 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
193
- -707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
194
- m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
195
- 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
196
- -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
197
- 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
198
- 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
199
- -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
200
- -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
201
- 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
202
- -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
203
- 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
204
- 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
205
- 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
206
- -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
207
- 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
208
- 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
209
- -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
210
- -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
211
- 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
212
- -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
213
- 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
214
- 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
215
- 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
216
- -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
217
- -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
218
- 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
219
- 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
220
- -64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
221
- 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
222
- 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
223
- -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
224
- 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:Nt("M399960 241 V94 h40 V428 h-40 V281 H0 v-40z"),rightbracketunder:Nt("M399995 0 h-120 V290 H0 v120 H400000z"),rightbracketover:Nt("M399995 440 h-120 V150 H0 v-120 H399995z"),rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
225
- 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
226
- -52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
227
- -167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
228
- 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
229
- -70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
230
- -40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
231
- -37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
232
- 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
233
- c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
234
- 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
235
- 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
236
- -19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
237
- 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
238
- -2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
239
- 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
240
- 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
241
- -68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
242
- -8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
243
- 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
244
- c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
245
- 181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
246
- -11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
247
- 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
248
- 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
249
- -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
250
- -11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
251
- 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
252
- 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
253
- -175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
254
- 3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
255
- 10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
256
- -1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
257
- -7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
258
- H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
259
- c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
260
- c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
261
- -11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
262
- -11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
263
- -11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
264
- -5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
265
- -11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
266
- -11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
267
- -11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
268
- c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
269
- c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
270
- s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
271
- 121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
272
- s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
273
- c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
274
- M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
275
- -27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
276
- 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
277
- -84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
278
- -119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
279
- -12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
280
- 151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
281
- c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
282
- c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
283
- c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
284
- c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
285
- M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
286
- c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
287
- -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
288
- c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
289
- M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
290
- c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
291
- 1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
292
- -152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
293
- M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
294
- c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
295
- -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
296
- c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
297
- M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},Px=function(t,n){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v1759 v84 h347 v-84
298
- H403z M403 1759 V0 H319 V1759 v`+n+" v1759 v84 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+n+` v1759 H0 v84 H347z
299
- 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
300
- c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
301
- c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+n+" v585 h43z";case"doublevert":return"M145 15 v585 v"+n+` v585 c2.667,10,9.667,15,21,15
302
- c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
303
- c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+n+` v585 h43z
304
- M367 15 v585 v`+n+` v585 c2.667,10,9.667,15,21,15
305
- c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
306
- c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+n+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+n+` v1715 h263 v84 H319z
307
- MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+n+` v1799 H0 v-84 H319z
308
- MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v602 h84z
309
- M403 1759 V0 H319 V1759 v`+n+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+n+` v602 h84z
310
- 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
311
- c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,
312
- -36,557 l0,`+(n+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
313
- 949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9
314
- c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,
315
- -544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
316
- l0,-`+(n+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
317
- -210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,
318
- 63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
319
- c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(n+9)+`
320
- c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664
321
- c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11
322
- c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17
323
- c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
324
- l0,-`+(n+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
325
- -470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};function Rx(e){return"toText"in e}class vl{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(){return this.children.map(t=>{if(Rx(t))return t.toText();throw new Error("Expected MathDomNode with toText, got "+t.constructor.name)}).join("")}}var hc={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},Fx={ex:!0,em:!0,mu:!0},N4=function(t){return typeof t!="string"&&(t=t.unit),t in hc||t in Fx||t==="ex"},pt=function(t,n){var i;if(t.unit in hc)i=hc[t.unit]/n.fontMetrics().ptPerEm/n.sizeMultiplier;else if(t.unit==="mu")i=n.fontMetrics().cssEmPerMu;else{var a;if(n.style.isTight()?a=n.havingStyle(n.style.text()):a=n,t.unit==="ex")i=a.fontMetrics().xHeight;else if(t.unit==="em")i=a.fontMetrics().quad;else throw new ce("Invalid unit: '"+t.unit+"'");a!==n&&(i*=a.sizeMultiplier/n.sizeMultiplier)}return Math.min(t.number*i,n.maxSize)},pe=function(t){return+t.toFixed(4)+"em"},Yr=function(t){return t.filter(n=>n).join(" ")},t1=function(t){var n="";for(var i of Object.keys(t)){var a=t[i];a!==void 0&&(n+=hx(i)+":"+a+";")}return n},z4=function(t,n,i){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=i||{},n){n.style.isTight()&&this.classes.push("mtight");var a=n.getColor();a&&(this.style.color=a)}},A4=function(t){var n=document.createElement(t);n.className=Yr(this.classes),Object.assign(n.style,this.style);for(var i of Object.keys(this.attributes))n.setAttribute(i,this.attributes[i]);for(var a=0;a<this.children.length;a++)n.appendChild(this.children[a].toNode());return n},Ox=/[\s"'>/=\x00-\x1f]/,M4=function(t){var n="<"+t;this.classes.length&&(n+=' class="'+Ut(Yr(this.classes))+'"');var i=t1(this.style);i&&(n+=' style="'+Ut(i)+'"');for(var a of Object.keys(this.attributes)){if(Ox.test(a))throw new ce("Invalid attribute name '"+a+"'");n+=" "+a+'="'+Ut(this.attributes[a])+'"'}n+=">";for(var s=0;s<this.children.length;s++)n+=this.children[s].toMarkup();return n+="</"+t+">",n};class yl{constructor(t,n,i,a){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,this.italic=void 0,z4.call(this,t,i,a),this.children=n||[]}setAttribute(t,n){this.attributes[t]=n}hasClass(t){return this.classes.includes(t)}toNode(){return A4.call(this,"span")}toMarkup(){return M4.call(this,"span")}}class ho{constructor(t,n,i,a){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,z4.call(this,n,a),this.children=i||[],this.setAttribute("href",t)}setAttribute(t,n){this.attributes[t]=n}hasClass(t){return this.classes.includes(t)}toNode(){return A4.call(this,"a")}toMarkup(){return M4.call(this,"a")}}class Bx{constructor(t,n,i){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.height=0,this.depth=0,this.maxFontSize=0,this.style=i}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createElement("img");return t.src=this.src,t.alt=this.alt,t.className="mord",Object.assign(t.style,this.style),t}toMarkup(){var t='<img src="'+Ut(this.src)+'"'+(' alt="'+Ut(this.alt)+'"'),n=t1(this.style);return n&&(t+=' style="'+Ut(n)+'"'),t+="'/>",t}}var _x={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class vn{constructor(t,n,i,a,s,u,c,f){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=i||0,this.italic=a||0,this.skew=s||0,this.width=u||0,this.classes=c||[],this.style=f||{},this.maxFontSize=0;var d=Tx(this.text.charCodeAt(0));d&&this.classes.push(d+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=_x[this.text])}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createTextNode(this.text),n=null;return this.italic>0&&(n=document.createElement("span"),n.style.marginRight=pe(this.italic)),this.classes.length>0&&(n=n||document.createElement("span"),n.className=Yr(this.classes)),Object.keys(this.style).length>0&&(n=n||document.createElement("span"),Object.assign(n.style,this.style)),n?(n.appendChild(t),n):t}toMarkup(){var t=!1,n="<span";this.classes.length&&(t=!0,n+=' class="',n+=Ut(Yr(this.classes)),n+='"');var i="";this.italic>0&&(i+="margin-right:"+pe(this.italic)+";"),i+=t1(this.style),i&&(t=!0,n+=' style="'+Ut(i)+'"');var a=Ut(this.text);return t?(n+=">",n+=a,n+="</span>",n):a}}class vr{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 i of Object.keys(this.attributes))n.setAttribute(i,this.attributes[i]);for(var a=0;a<this.children.length;a++)n.appendChild(this.children[a].toNode());return n}toMarkup(){var t='<svg xmlns="http://www.w3.org/2000/svg"';for(var n of Object.keys(this.attributes))t+=" "+n+'="'+Ut(this.attributes[n])+'"';t+=">";for(var i=0;i<this.children.length;i++)t+=this.children[i].toMarkup();return t+="</svg>",t}}class Qr{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",um[this.pathName]),n}toMarkup(){return this.alternate?'<path d="'+Ut(this.alternate)+'"/>':'<path d="'+Ut(um[this.pathName])+'"/>'}}class fc{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 i of Object.keys(this.attributes))n.setAttribute(i,this.attributes[i]);return n}toMarkup(){var t="<line";for(var n of Object.keys(this.attributes))t+=" "+n+'="'+Ut(this.attributes[n])+'"';return t+="/>",t}}function qx(e){if(e instanceof vn)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function Hx(e){if(e instanceof yl)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var Ux=e=>e instanceof yl||e instanceof ho||e instanceof vl,Jn={"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]}},Os={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]},cm={Å:"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 j4(e,t){Jn[e]=t}function n1(e,t,n){if(!Jn[t])throw new Error("Font metrics not found for font: "+t+".");var i=e.charCodeAt(0),a=Jn[t][i];if(!a&&e[0]in cm&&(i=cm[e[0]].charCodeAt(0),a=Jn[t][i]),!a&&n==="text"&&E4(i)&&(a=Jn[t][77]),a)return{depth:a[0],height:a[1],italic:a[2],skew:a[3],width:a[4]}}var Lu={};function $x(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!Lu[t]){var n=Lu[t]={cssEmPerMu:Os.quad[t]/18};for(var i in Os)Os.hasOwnProperty(i)&&(n[i]=Os[i][t])}return Lu[t]}var ut={math:{},text:{}};function v(e,t,n,i,a,s){ut[e][a]={font:t,group:n,replace:i},s&&i&&(ut[e][i]=ut[e][a])}var w="math",re="text",S="main",D="ams",ct="accent-token",ke="bin",Kt="close",xl="inner",De="mathord",Ct="op-token",yn="open",Ca="punct",P="rel",wr="spacing",B="textord";v(w,S,P,"≡","\\equiv",!0);v(w,S,P,"≺","\\prec",!0);v(w,S,P,"≻","\\succ",!0);v(w,S,P,"∼","\\sim",!0);v(w,S,P,"⊥","\\perp");v(w,S,P,"⪯","\\preceq",!0);v(w,S,P,"⪰","\\succeq",!0);v(w,S,P,"≃","\\simeq",!0);v(w,S,P,"∣","\\mid",!0);v(w,S,P,"≪","\\ll",!0);v(w,S,P,"≫","\\gg",!0);v(w,S,P,"≍","\\asymp",!0);v(w,S,P,"∥","\\parallel");v(w,S,P,"⋈","\\bowtie",!0);v(w,S,P,"⌣","\\smile",!0);v(w,S,P,"⊑","\\sqsubseteq",!0);v(w,S,P,"⊒","\\sqsupseteq",!0);v(w,S,P,"≐","\\doteq",!0);v(w,S,P,"⌢","\\frown",!0);v(w,S,P,"∋","\\ni",!0);v(w,S,P,"∝","\\propto",!0);v(w,S,P,"⊢","\\vdash",!0);v(w,S,P,"⊣","\\dashv",!0);v(w,S,P,"∋","\\owns");v(w,S,Ca,".","\\ldotp");v(w,S,Ca,"⋅","\\cdotp");v(w,S,Ca,"⋅","·");v(re,S,B,"⋅","·");v(w,S,B,"#","\\#");v(re,S,B,"#","\\#");v(w,S,B,"&","\\&");v(re,S,B,"&","\\&");v(w,S,B,"ℵ","\\aleph",!0);v(w,S,B,"∀","\\forall",!0);v(w,S,B,"ℏ","\\hbar",!0);v(w,S,B,"∃","\\exists",!0);v(w,S,B,"∇","\\nabla",!0);v(w,S,B,"♭","\\flat",!0);v(w,S,B,"ℓ","\\ell",!0);v(w,S,B,"♮","\\natural",!0);v(w,S,B,"♣","\\clubsuit",!0);v(w,S,B,"℘","\\wp",!0);v(w,S,B,"♯","\\sharp",!0);v(w,S,B,"♢","\\diamondsuit",!0);v(w,S,B,"ℜ","\\Re",!0);v(w,S,B,"♡","\\heartsuit",!0);v(w,S,B,"ℑ","\\Im",!0);v(w,S,B,"♠","\\spadesuit",!0);v(w,S,B,"§","\\S",!0);v(re,S,B,"§","\\S");v(w,S,B,"¶","\\P",!0);v(re,S,B,"¶","\\P");v(w,S,B,"†","\\dag");v(re,S,B,"†","\\dag");v(re,S,B,"†","\\textdagger");v(w,S,B,"‡","\\ddag");v(re,S,B,"‡","\\ddag");v(re,S,B,"‡","\\textdaggerdbl");v(w,S,Kt,"⎱","\\rmoustache",!0);v(w,S,yn,"⎰","\\lmoustache",!0);v(w,S,Kt,"⟯","\\rgroup",!0);v(w,S,yn,"⟮","\\lgroup",!0);v(w,S,ke,"∓","\\mp",!0);v(w,S,ke,"⊖","\\ominus",!0);v(w,S,ke,"⊎","\\uplus",!0);v(w,S,ke,"⊓","\\sqcap",!0);v(w,S,ke,"∗","\\ast");v(w,S,ke,"⊔","\\sqcup",!0);v(w,S,ke,"◯","\\bigcirc",!0);v(w,S,ke,"∙","\\bullet",!0);v(w,S,ke,"‡","\\ddagger");v(w,S,ke,"≀","\\wr",!0);v(w,S,ke,"⨿","\\amalg");v(w,S,ke,"&","\\And");v(w,S,P,"⟵","\\longleftarrow",!0);v(w,S,P,"⇐","\\Leftarrow",!0);v(w,S,P,"⟸","\\Longleftarrow",!0);v(w,S,P,"⟶","\\longrightarrow",!0);v(w,S,P,"⇒","\\Rightarrow",!0);v(w,S,P,"⟹","\\Longrightarrow",!0);v(w,S,P,"↔","\\leftrightarrow",!0);v(w,S,P,"⟷","\\longleftrightarrow",!0);v(w,S,P,"⇔","\\Leftrightarrow",!0);v(w,S,P,"⟺","\\Longleftrightarrow",!0);v(w,S,P,"↦","\\mapsto",!0);v(w,S,P,"⟼","\\longmapsto",!0);v(w,S,P,"↗","\\nearrow",!0);v(w,S,P,"↩","\\hookleftarrow",!0);v(w,S,P,"↪","\\hookrightarrow",!0);v(w,S,P,"↘","\\searrow",!0);v(w,S,P,"↼","\\leftharpoonup",!0);v(w,S,P,"⇀","\\rightharpoonup",!0);v(w,S,P,"↙","\\swarrow",!0);v(w,S,P,"↽","\\leftharpoondown",!0);v(w,S,P,"⇁","\\rightharpoondown",!0);v(w,S,P,"↖","\\nwarrow",!0);v(w,S,P,"⇌","\\rightleftharpoons",!0);v(w,D,P,"≮","\\nless",!0);v(w,D,P,"","\\@nleqslant");v(w,D,P,"","\\@nleqq");v(w,D,P,"⪇","\\lneq",!0);v(w,D,P,"≨","\\lneqq",!0);v(w,D,P,"","\\@lvertneqq");v(w,D,P,"⋦","\\lnsim",!0);v(w,D,P,"⪉","\\lnapprox",!0);v(w,D,P,"⊀","\\nprec",!0);v(w,D,P,"⋠","\\npreceq",!0);v(w,D,P,"⋨","\\precnsim",!0);v(w,D,P,"⪹","\\precnapprox",!0);v(w,D,P,"≁","\\nsim",!0);v(w,D,P,"","\\@nshortmid");v(w,D,P,"∤","\\nmid",!0);v(w,D,P,"⊬","\\nvdash",!0);v(w,D,P,"⊭","\\nvDash",!0);v(w,D,P,"⋪","\\ntriangleleft");v(w,D,P,"⋬","\\ntrianglelefteq",!0);v(w,D,P,"⊊","\\subsetneq",!0);v(w,D,P,"","\\@varsubsetneq");v(w,D,P,"⫋","\\subsetneqq",!0);v(w,D,P,"","\\@varsubsetneqq");v(w,D,P,"≯","\\ngtr",!0);v(w,D,P,"","\\@ngeqslant");v(w,D,P,"","\\@ngeqq");v(w,D,P,"⪈","\\gneq",!0);v(w,D,P,"≩","\\gneqq",!0);v(w,D,P,"","\\@gvertneqq");v(w,D,P,"⋧","\\gnsim",!0);v(w,D,P,"⪊","\\gnapprox",!0);v(w,D,P,"⊁","\\nsucc",!0);v(w,D,P,"⋡","\\nsucceq",!0);v(w,D,P,"⋩","\\succnsim",!0);v(w,D,P,"⪺","\\succnapprox",!0);v(w,D,P,"≆","\\ncong",!0);v(w,D,P,"","\\@nshortparallel");v(w,D,P,"∦","\\nparallel",!0);v(w,D,P,"⊯","\\nVDash",!0);v(w,D,P,"⋫","\\ntriangleright");v(w,D,P,"⋭","\\ntrianglerighteq",!0);v(w,D,P,"","\\@nsupseteqq");v(w,D,P,"⊋","\\supsetneq",!0);v(w,D,P,"","\\@varsupsetneq");v(w,D,P,"⫌","\\supsetneqq",!0);v(w,D,P,"","\\@varsupsetneqq");v(w,D,P,"⊮","\\nVdash",!0);v(w,D,P,"⪵","\\precneqq",!0);v(w,D,P,"⪶","\\succneqq",!0);v(w,D,P,"","\\@nsubseteqq");v(w,D,ke,"⊴","\\unlhd");v(w,D,ke,"⊵","\\unrhd");v(w,D,P,"↚","\\nleftarrow",!0);v(w,D,P,"↛","\\nrightarrow",!0);v(w,D,P,"⇍","\\nLeftarrow",!0);v(w,D,P,"⇏","\\nRightarrow",!0);v(w,D,P,"↮","\\nleftrightarrow",!0);v(w,D,P,"⇎","\\nLeftrightarrow",!0);v(w,D,P,"△","\\vartriangle");v(w,D,B,"ℏ","\\hslash");v(w,D,B,"▽","\\triangledown");v(w,D,B,"◊","\\lozenge");v(w,D,B,"Ⓢ","\\circledS");v(w,D,B,"®","\\circledR");v(re,D,B,"®","\\circledR");v(w,D,B,"∡","\\measuredangle",!0);v(w,D,B,"∄","\\nexists");v(w,D,B,"℧","\\mho");v(w,D,B,"Ⅎ","\\Finv",!0);v(w,D,B,"⅁","\\Game",!0);v(w,D,B,"‵","\\backprime");v(w,D,B,"▲","\\blacktriangle");v(w,D,B,"▼","\\blacktriangledown");v(w,D,B,"■","\\blacksquare");v(w,D,B,"⧫","\\blacklozenge");v(w,D,B,"★","\\bigstar");v(w,D,B,"∢","\\sphericalangle",!0);v(w,D,B,"∁","\\complement",!0);v(w,D,B,"ð","\\eth",!0);v(re,S,B,"ð","ð");v(w,D,B,"╱","\\diagup");v(w,D,B,"╲","\\diagdown");v(w,D,B,"□","\\square");v(w,D,B,"□","\\Box");v(w,D,B,"◊","\\Diamond");v(w,D,B,"¥","\\yen",!0);v(re,D,B,"¥","\\yen",!0);v(w,D,B,"✓","\\checkmark",!0);v(re,D,B,"✓","\\checkmark");v(w,D,B,"ℶ","\\beth",!0);v(w,D,B,"ℸ","\\daleth",!0);v(w,D,B,"ℷ","\\gimel",!0);v(w,D,B,"ϝ","\\digamma",!0);v(w,D,B,"ϰ","\\varkappa");v(w,D,yn,"┌","\\@ulcorner",!0);v(w,D,Kt,"┐","\\@urcorner",!0);v(w,D,yn,"└","\\@llcorner",!0);v(w,D,Kt,"┘","\\@lrcorner",!0);v(w,D,P,"≦","\\leqq",!0);v(w,D,P,"⩽","\\leqslant",!0);v(w,D,P,"⪕","\\eqslantless",!0);v(w,D,P,"≲","\\lesssim",!0);v(w,D,P,"⪅","\\lessapprox",!0);v(w,D,P,"≊","\\approxeq",!0);v(w,D,ke,"⋖","\\lessdot");v(w,D,P,"⋘","\\lll",!0);v(w,D,P,"≶","\\lessgtr",!0);v(w,D,P,"⋚","\\lesseqgtr",!0);v(w,D,P,"⪋","\\lesseqqgtr",!0);v(w,D,P,"≑","\\doteqdot");v(w,D,P,"≓","\\risingdotseq",!0);v(w,D,P,"≒","\\fallingdotseq",!0);v(w,D,P,"∽","\\backsim",!0);v(w,D,P,"⋍","\\backsimeq",!0);v(w,D,P,"⫅","\\subseteqq",!0);v(w,D,P,"⋐","\\Subset",!0);v(w,D,P,"⊏","\\sqsubset",!0);v(w,D,P,"≼","\\preccurlyeq",!0);v(w,D,P,"⋞","\\curlyeqprec",!0);v(w,D,P,"≾","\\precsim",!0);v(w,D,P,"⪷","\\precapprox",!0);v(w,D,P,"⊲","\\vartriangleleft");v(w,D,P,"⊴","\\trianglelefteq");v(w,D,P,"⊨","\\vDash",!0);v(w,D,P,"⊪","\\Vvdash",!0);v(w,D,P,"⌣","\\smallsmile");v(w,D,P,"⌢","\\smallfrown");v(w,D,P,"≏","\\bumpeq",!0);v(w,D,P,"≎","\\Bumpeq",!0);v(w,D,P,"≧","\\geqq",!0);v(w,D,P,"⩾","\\geqslant",!0);v(w,D,P,"⪖","\\eqslantgtr",!0);v(w,D,P,"≳","\\gtrsim",!0);v(w,D,P,"⪆","\\gtrapprox",!0);v(w,D,ke,"⋗","\\gtrdot");v(w,D,P,"⋙","\\ggg",!0);v(w,D,P,"≷","\\gtrless",!0);v(w,D,P,"⋛","\\gtreqless",!0);v(w,D,P,"⪌","\\gtreqqless",!0);v(w,D,P,"≖","\\eqcirc",!0);v(w,D,P,"≗","\\circeq",!0);v(w,D,P,"≜","\\triangleq",!0);v(w,D,P,"∼","\\thicksim");v(w,D,P,"≈","\\thickapprox");v(w,D,P,"⫆","\\supseteqq",!0);v(w,D,P,"⋑","\\Supset",!0);v(w,D,P,"⊐","\\sqsupset",!0);v(w,D,P,"≽","\\succcurlyeq",!0);v(w,D,P,"⋟","\\curlyeqsucc",!0);v(w,D,P,"≿","\\succsim",!0);v(w,D,P,"⪸","\\succapprox",!0);v(w,D,P,"⊳","\\vartriangleright");v(w,D,P,"⊵","\\trianglerighteq");v(w,D,P,"⊩","\\Vdash",!0);v(w,D,P,"∣","\\shortmid");v(w,D,P,"∥","\\shortparallel");v(w,D,P,"≬","\\between",!0);v(w,D,P,"⋔","\\pitchfork",!0);v(w,D,P,"∝","\\varpropto");v(w,D,P,"◀","\\blacktriangleleft");v(w,D,P,"∴","\\therefore",!0);v(w,D,P,"∍","\\backepsilon");v(w,D,P,"▶","\\blacktriangleright");v(w,D,P,"∵","\\because",!0);v(w,D,P,"⋘","\\llless");v(w,D,P,"⋙","\\gggtr");v(w,D,ke,"⊲","\\lhd");v(w,D,ke,"⊳","\\rhd");v(w,D,P,"≂","\\eqsim",!0);v(w,S,P,"⋈","\\Join");v(w,D,P,"≑","\\Doteq",!0);v(w,D,ke,"∔","\\dotplus",!0);v(w,D,ke,"∖","\\smallsetminus");v(w,D,ke,"⋒","\\Cap",!0);v(w,D,ke,"⋓","\\Cup",!0);v(w,D,ke,"⩞","\\doublebarwedge",!0);v(w,D,ke,"⊟","\\boxminus",!0);v(w,D,ke,"⊞","\\boxplus",!0);v(w,D,ke,"⋇","\\divideontimes",!0);v(w,D,ke,"⋉","\\ltimes",!0);v(w,D,ke,"⋊","\\rtimes",!0);v(w,D,ke,"⋋","\\leftthreetimes",!0);v(w,D,ke,"⋌","\\rightthreetimes",!0);v(w,D,ke,"⋏","\\curlywedge",!0);v(w,D,ke,"⋎","\\curlyvee",!0);v(w,D,ke,"⊝","\\circleddash",!0);v(w,D,ke,"⊛","\\circledast",!0);v(w,D,ke,"⋅","\\centerdot");v(w,D,ke,"⊺","\\intercal",!0);v(w,D,ke,"⋒","\\doublecap");v(w,D,ke,"⋓","\\doublecup");v(w,D,ke,"⊠","\\boxtimes",!0);v(w,D,P,"⇢","\\dashrightarrow",!0);v(w,D,P,"⇠","\\dashleftarrow",!0);v(w,D,P,"⇇","\\leftleftarrows",!0);v(w,D,P,"⇆","\\leftrightarrows",!0);v(w,D,P,"⇚","\\Lleftarrow",!0);v(w,D,P,"↞","\\twoheadleftarrow",!0);v(w,D,P,"↢","\\leftarrowtail",!0);v(w,D,P,"↫","\\looparrowleft",!0);v(w,D,P,"⇋","\\leftrightharpoons",!0);v(w,D,P,"↶","\\curvearrowleft",!0);v(w,D,P,"↺","\\circlearrowleft",!0);v(w,D,P,"↰","\\Lsh",!0);v(w,D,P,"⇈","\\upuparrows",!0);v(w,D,P,"↿","\\upharpoonleft",!0);v(w,D,P,"⇃","\\downharpoonleft",!0);v(w,S,P,"⊶","\\origof",!0);v(w,S,P,"⊷","\\imageof",!0);v(w,D,P,"⊸","\\multimap",!0);v(w,D,P,"↭","\\leftrightsquigarrow",!0);v(w,D,P,"⇉","\\rightrightarrows",!0);v(w,D,P,"⇄","\\rightleftarrows",!0);v(w,D,P,"↠","\\twoheadrightarrow",!0);v(w,D,P,"↣","\\rightarrowtail",!0);v(w,D,P,"↬","\\looparrowright",!0);v(w,D,P,"↷","\\curvearrowright",!0);v(w,D,P,"↻","\\circlearrowright",!0);v(w,D,P,"↱","\\Rsh",!0);v(w,D,P,"⇊","\\downdownarrows",!0);v(w,D,P,"↾","\\upharpoonright",!0);v(w,D,P,"⇂","\\downharpoonright",!0);v(w,D,P,"⇝","\\rightsquigarrow",!0);v(w,D,P,"⇝","\\leadsto");v(w,D,P,"⇛","\\Rrightarrow",!0);v(w,D,P,"↾","\\restriction");v(w,S,B,"‘","`");v(w,S,B,"$","\\$");v(re,S,B,"$","\\$");v(re,S,B,"$","\\textdollar");v(w,S,B,"%","\\%");v(re,S,B,"%","\\%");v(w,S,B,"_","\\_");v(re,S,B,"_","\\_");v(re,S,B,"_","\\textunderscore");v(w,S,B,"∠","\\angle",!0);v(w,S,B,"∞","\\infty",!0);v(w,S,B,"′","\\prime");v(w,S,B,"△","\\triangle");v(w,S,B,"Γ","\\Gamma",!0);v(w,S,B,"Δ","\\Delta",!0);v(w,S,B,"Θ","\\Theta",!0);v(w,S,B,"Λ","\\Lambda",!0);v(w,S,B,"Ξ","\\Xi",!0);v(w,S,B,"Π","\\Pi",!0);v(w,S,B,"Σ","\\Sigma",!0);v(w,S,B,"Υ","\\Upsilon",!0);v(w,S,B,"Φ","\\Phi",!0);v(w,S,B,"Ψ","\\Psi",!0);v(w,S,B,"Ω","\\Omega",!0);v(w,S,B,"A","Α");v(w,S,B,"B","Β");v(w,S,B,"E","Ε");v(w,S,B,"Z","Ζ");v(w,S,B,"H","Η");v(w,S,B,"I","Ι");v(w,S,B,"K","Κ");v(w,S,B,"M","Μ");v(w,S,B,"N","Ν");v(w,S,B,"O","Ο");v(w,S,B,"P","Ρ");v(w,S,B,"T","Τ");v(w,S,B,"X","Χ");v(w,S,B,"¬","\\neg",!0);v(w,S,B,"¬","\\lnot");v(w,S,B,"⊤","\\top");v(w,S,B,"⊥","\\bot");v(w,S,B,"∅","\\emptyset");v(w,D,B,"∅","\\varnothing");v(w,S,De,"α","\\alpha",!0);v(w,S,De,"β","\\beta",!0);v(w,S,De,"γ","\\gamma",!0);v(w,S,De,"δ","\\delta",!0);v(w,S,De,"ϵ","\\epsilon",!0);v(w,S,De,"ζ","\\zeta",!0);v(w,S,De,"η","\\eta",!0);v(w,S,De,"θ","\\theta",!0);v(w,S,De,"ι","\\iota",!0);v(w,S,De,"κ","\\kappa",!0);v(w,S,De,"λ","\\lambda",!0);v(w,S,De,"μ","\\mu",!0);v(w,S,De,"ν","\\nu",!0);v(w,S,De,"ξ","\\xi",!0);v(w,S,De,"ο","\\omicron",!0);v(w,S,De,"π","\\pi",!0);v(w,S,De,"ρ","\\rho",!0);v(w,S,De,"σ","\\sigma",!0);v(w,S,De,"τ","\\tau",!0);v(w,S,De,"υ","\\upsilon",!0);v(w,S,De,"ϕ","\\phi",!0);v(w,S,De,"χ","\\chi",!0);v(w,S,De,"ψ","\\psi",!0);v(w,S,De,"ω","\\omega",!0);v(w,S,De,"ε","\\varepsilon",!0);v(w,S,De,"ϑ","\\vartheta",!0);v(w,S,De,"ϖ","\\varpi",!0);v(w,S,De,"ϱ","\\varrho",!0);v(w,S,De,"ς","\\varsigma",!0);v(w,S,De,"φ","\\varphi",!0);v(w,S,ke,"∗","*",!0);v(w,S,ke,"+","+");v(w,S,ke,"−","-",!0);v(w,S,ke,"⋅","\\cdot",!0);v(w,S,ke,"∘","\\circ",!0);v(w,S,ke,"÷","\\div",!0);v(w,S,ke,"±","\\pm",!0);v(w,S,ke,"×","\\times",!0);v(w,S,ke,"∩","\\cap",!0);v(w,S,ke,"∪","\\cup",!0);v(w,S,ke,"∖","\\setminus",!0);v(w,S,ke,"∧","\\land");v(w,S,ke,"∨","\\lor");v(w,S,ke,"∧","\\wedge",!0);v(w,S,ke,"∨","\\vee",!0);v(w,S,B,"√","\\surd");v(w,S,yn,"⟨","\\langle",!0);v(w,S,yn,"∣","\\lvert");v(w,S,yn,"∥","\\lVert");v(w,S,Kt,"?","?");v(w,S,Kt,"!","!");v(w,S,Kt,"⟩","\\rangle",!0);v(w,S,Kt,"∣","\\rvert");v(w,S,Kt,"∥","\\rVert");v(w,S,P,"=","=");v(w,S,P,":",":");v(w,S,P,"≈","\\approx",!0);v(w,S,P,"≅","\\cong",!0);v(w,S,P,"≥","\\ge");v(w,S,P,"≥","\\geq",!0);v(w,S,P,"←","\\gets");v(w,S,P,">","\\gt",!0);v(w,S,P,"∈","\\in",!0);v(w,S,P,"","\\@not");v(w,S,P,"⊂","\\subset",!0);v(w,S,P,"⊃","\\supset",!0);v(w,S,P,"⊆","\\subseteq",!0);v(w,S,P,"⊇","\\supseteq",!0);v(w,D,P,"⊈","\\nsubseteq",!0);v(w,D,P,"⊉","\\nsupseteq",!0);v(w,S,P,"⊨","\\models");v(w,S,P,"←","\\leftarrow",!0);v(w,S,P,"≤","\\le");v(w,S,P,"≤","\\leq",!0);v(w,S,P,"<","\\lt",!0);v(w,S,P,"→","\\rightarrow",!0);v(w,S,P,"→","\\to");v(w,D,P,"≱","\\ngeq",!0);v(w,D,P,"≰","\\nleq",!0);v(w,S,wr," ","\\ ");v(w,S,wr," ","\\space");v(w,S,wr," ","\\nobreakspace");v(re,S,wr," ","\\ ");v(re,S,wr," "," ");v(re,S,wr," ","\\space");v(re,S,wr," ","\\nobreakspace");v(w,S,wr,"","\\nobreak");v(w,S,wr,"","\\allowbreak");v(w,S,Ca,",",",");v(w,S,Ca,";",";");v(w,D,ke,"⊼","\\barwedge",!0);v(w,D,ke,"⊻","\\veebar",!0);v(w,S,ke,"⊙","\\odot",!0);v(w,S,ke,"⊕","\\oplus",!0);v(w,S,ke,"⊗","\\otimes",!0);v(w,S,B,"∂","\\partial",!0);v(w,S,ke,"⊘","\\oslash",!0);v(w,D,ke,"⊚","\\circledcirc",!0);v(w,D,ke,"⊡","\\boxdot",!0);v(w,S,ke,"△","\\bigtriangleup");v(w,S,ke,"▽","\\bigtriangledown");v(w,S,ke,"†","\\dagger");v(w,S,ke,"⋄","\\diamond");v(w,S,ke,"⋆","\\star");v(w,S,ke,"◃","\\triangleleft");v(w,S,ke,"▹","\\triangleright");v(w,S,yn,"{","\\{");v(re,S,B,"{","\\{");v(re,S,B,"{","\\textbraceleft");v(w,S,Kt,"}","\\}");v(re,S,B,"}","\\}");v(re,S,B,"}","\\textbraceright");v(w,S,yn,"{","\\lbrace");v(w,S,Kt,"}","\\rbrace");v(w,S,yn,"[","\\lbrack",!0);v(re,S,B,"[","\\lbrack",!0);v(w,S,Kt,"]","\\rbrack",!0);v(re,S,B,"]","\\rbrack",!0);v(w,S,yn,"(","\\lparen",!0);v(w,S,Kt,")","\\rparen",!0);v(re,S,B,"<","\\textless",!0);v(re,S,B,">","\\textgreater",!0);v(w,S,yn,"⌊","\\lfloor",!0);v(w,S,Kt,"⌋","\\rfloor",!0);v(w,S,yn,"⌈","\\lceil",!0);v(w,S,Kt,"⌉","\\rceil",!0);v(w,S,B,"\\","\\backslash");v(w,S,B,"∣","|");v(w,S,B,"∣","\\vert");v(re,S,B,"|","\\textbar",!0);v(w,S,B,"∥","\\|");v(w,S,B,"∥","\\Vert");v(re,S,B,"∥","\\textbardbl");v(re,S,B,"~","\\textasciitilde");v(re,S,B,"\\","\\textbackslash");v(re,S,B,"^","\\textasciicircum");v(w,S,P,"↑","\\uparrow",!0);v(w,S,P,"⇑","\\Uparrow",!0);v(w,S,P,"↓","\\downarrow",!0);v(w,S,P,"⇓","\\Downarrow",!0);v(w,S,P,"↕","\\updownarrow",!0);v(w,S,P,"⇕","\\Updownarrow",!0);v(w,S,Ct,"∐","\\coprod");v(w,S,Ct,"⋁","\\bigvee");v(w,S,Ct,"⋀","\\bigwedge");v(w,S,Ct,"⨄","\\biguplus");v(w,S,Ct,"⋂","\\bigcap");v(w,S,Ct,"⋃","\\bigcup");v(w,S,Ct,"∫","\\int");v(w,S,Ct,"∫","\\intop");v(w,S,Ct,"∬","\\iint");v(w,S,Ct,"∭","\\iiint");v(w,S,Ct,"∏","\\prod");v(w,S,Ct,"∑","\\sum");v(w,S,Ct,"⨂","\\bigotimes");v(w,S,Ct,"⨁","\\bigoplus");v(w,S,Ct,"⨀","\\bigodot");v(w,S,Ct,"∮","\\oint");v(w,S,Ct,"∯","\\oiint");v(w,S,Ct,"∰","\\oiiint");v(w,S,Ct,"⨆","\\bigsqcup");v(w,S,Ct,"∫","\\smallint");v(re,S,xl,"…","\\textellipsis");v(w,S,xl,"…","\\mathellipsis");v(re,S,xl,"…","\\ldots",!0);v(w,S,xl,"…","\\ldots",!0);v(w,S,xl,"⋯","\\@cdots",!0);v(w,S,xl,"⋱","\\ddots",!0);v(w,S,B,"⋮","\\varvdots");v(re,S,B,"⋮","\\varvdots");v(w,S,ct,"ˊ","\\acute");v(w,S,ct,"ˋ","\\grave");v(w,S,ct,"¨","\\ddot");v(w,S,ct,"~","\\tilde");v(w,S,ct,"ˉ","\\bar");v(w,S,ct,"˘","\\breve");v(w,S,ct,"ˇ","\\check");v(w,S,ct,"^","\\hat");v(w,S,ct,"⃗","\\vec");v(w,S,ct,"˙","\\dot");v(w,S,ct,"˚","\\mathring");v(w,S,De,"","\\@imath");v(w,S,De,"","\\@jmath");v(w,S,B,"ı","ı");v(w,S,B,"ȷ","ȷ");v(re,S,B,"ı","\\i",!0);v(re,S,B,"ȷ","\\j",!0);v(re,S,B,"ß","\\ss",!0);v(re,S,B,"æ","\\ae",!0);v(re,S,B,"œ","\\oe",!0);v(re,S,B,"ø","\\o",!0);v(re,S,B,"Æ","\\AE",!0);v(re,S,B,"Œ","\\OE",!0);v(re,S,B,"Ø","\\O",!0);v(re,S,ct,"ˊ","\\'");v(re,S,ct,"ˋ","\\`");v(re,S,ct,"ˆ","\\^");v(re,S,ct,"˜","\\~");v(re,S,ct,"ˉ","\\=");v(re,S,ct,"˘","\\u");v(re,S,ct,"˙","\\.");v(re,S,ct,"¸","\\c");v(re,S,ct,"˚","\\r");v(re,S,ct,"ˇ","\\v");v(re,S,ct,"¨",'\\"');v(re,S,ct,"˝","\\H");v(re,S,ct,"◯","\\textcircled");var I4={"--":!0,"---":!0,"``":!0,"''":!0};v(re,S,B,"–","--",!0);v(re,S,B,"–","\\textendash");v(re,S,B,"—","---",!0);v(re,S,B,"—","\\textemdash");v(re,S,B,"‘","`",!0);v(re,S,B,"‘","\\textquoteleft");v(re,S,B,"’","'",!0);v(re,S,B,"’","\\textquoteright");v(re,S,B,"“","``",!0);v(re,S,B,"“","\\textquotedblleft");v(re,S,B,"”","''",!0);v(re,S,B,"”","\\textquotedblright");v(w,S,B,"°","\\degree",!0);v(re,S,B,"°","\\degree");v(re,S,B,"°","\\textdegree",!0);v(w,S,B,"£","\\pounds");v(w,S,B,"£","\\mathsterling",!0);v(re,S,B,"£","\\pounds");v(re,S,B,"£","\\textsterling",!0);v(w,D,B,"✠","\\maltese");v(re,D,B,"✠","\\maltese");var hm='0123456789/@."';for(var Pu=0;Pu<hm.length;Pu++){var fm=hm.charAt(Pu);v(w,S,B,fm,fm)}var dm='0123456789!@*()-=+";:?/.,';for(var Ru=0;Ru<dm.length;Ru++){var mm=dm.charAt(Ru);v(re,S,B,mm,mm)}var no="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(var Fu=0;Fu<no.length;Fu++){var Bs=no.charAt(Fu);v(w,S,De,Bs,Bs),v(re,S,B,Bs,Bs)}v(w,D,B,"C","ℂ");v(re,D,B,"C","ℂ");v(w,D,B,"H","ℍ");v(re,D,B,"H","ℍ");v(w,D,B,"N","ℕ");v(re,D,B,"N","ℕ");v(w,D,B,"P","ℙ");v(re,D,B,"P","ℙ");v(w,D,B,"Q","ℚ");v(re,D,B,"Q","ℚ");v(w,D,B,"R","ℝ");v(re,D,B,"R","ℝ");v(w,D,B,"Z","ℤ");v(re,D,B,"Z","ℤ");v(w,S,De,"h","ℎ");v(re,S,De,"h","ℎ");var Pe;for(var Gt=0;Gt<no.length;Gt++){var vt=no.charAt(Gt);Pe=String.fromCharCode(55349,56320+Gt),v(w,S,De,vt,Pe),v(re,S,B,vt,Pe),Pe=String.fromCharCode(55349,56372+Gt),v(w,S,De,vt,Pe),v(re,S,B,vt,Pe),Pe=String.fromCharCode(55349,56424+Gt),v(w,S,De,vt,Pe),v(re,S,B,vt,Pe),Pe=String.fromCharCode(55349,56580+Gt),v(w,S,De,vt,Pe),v(re,S,B,vt,Pe),Pe=String.fromCharCode(55349,56684+Gt),v(w,S,De,vt,Pe),v(re,S,B,vt,Pe),Pe=String.fromCharCode(55349,56736+Gt),v(w,S,De,vt,Pe),v(re,S,B,vt,Pe),Pe=String.fromCharCode(55349,56788+Gt),v(w,S,De,vt,Pe),v(re,S,B,vt,Pe),Pe=String.fromCharCode(55349,56840+Gt),v(w,S,De,vt,Pe),v(re,S,B,vt,Pe),Pe=String.fromCharCode(55349,56944+Gt),v(w,S,De,vt,Pe),v(re,S,B,vt,Pe),Gt<26&&(Pe=String.fromCharCode(55349,56632+Gt),v(w,S,De,vt,Pe),v(re,S,B,vt,Pe),Pe=String.fromCharCode(55349,56476+Gt),v(w,S,De,vt,Pe),v(re,S,B,vt,Pe))}Pe="𝕜";v(w,S,De,"k",Pe);v(re,S,B,"k",Pe);for(var Ti=0;Ti<10;Ti++){var Gr=Ti.toString();Pe=String.fromCharCode(55349,57294+Ti),v(w,S,De,Gr,Pe),v(re,S,B,Gr,Pe),Pe=String.fromCharCode(55349,57314+Ti),v(w,S,De,Gr,Pe),v(re,S,B,Gr,Pe),Pe=String.fromCharCode(55349,57324+Ti),v(w,S,De,Gr,Pe),v(re,S,B,Gr,Pe),Pe=String.fromCharCode(55349,57334+Ti),v(w,S,De,Gr,Pe),v(re,S,B,Gr,Pe)}var dc="ÐÞþ";for(var Ou=0;Ou<dc.length;Ou++){var _s=dc.charAt(Ou);v(w,S,De,_s,_s),v(re,S,B,_s,_s)}var mc={mathClass:"mathbf",textClass:"textbf",font:"Main-Bold"},pm={mathClass:"mathnormal",textClass:"textit",font:"Math-Italic"},gm={mathClass:"boldsymbol",textClass:"boldsymbol",font:"Main-BoldItalic"},Vx={mathClass:"mathscr",textClass:"textscr",font:"Script-Regular"},zi={mathClass:"",textClass:"",font:""},vm={mathClass:"mathfrak",textClass:"textfrak",font:"Fraktur-Regular"},ym={mathClass:"mathbb",textClass:"textbb",font:"AMS-Regular"},xm={mathClass:"mathboldfrak",textClass:"textboldfrak",font:"Fraktur-Regular"},pc={mathClass:"mathsf",textClass:"textsf",font:"SansSerif-Regular"},gc={mathClass:"mathboldsf",textClass:"textboldsf",font:"SansSerif-Bold"},wm={mathClass:"mathitsf",textClass:"textitsf",font:"SansSerif-Italic"},vc={mathClass:"mathtt",textClass:"texttt",font:"Typewriter-Regular"},km=[mc,mc,pm,pm,gm,gm,Vx,zi,zi,zi,vm,vm,ym,ym,xm,xm,pc,pc,gc,gc,wm,wm,zi,zi,vc,vc],Wx=[mc,zi,pc,gc,vc],Gx=e=>{var t=e.charCodeAt(0),n=e.charCodeAt(1),i=(t-55296)*1024+(n-56320)+65536;if(119808<=i&&i<120484){var a=Math.floor((i-119808)/26);return km[a]}else if(120782<=i&&i<=120831){var s=Math.floor((i-120782)/10);return Wx[s]}else{if(i===120485||i===120486)return km[0];if(120486<i&&i<120782)return zi;throw new ce("Unsupported character: "+e)}},fo=function(t,n,i){if(ut[i][t]){var a=ut[i][t].replace;a&&(t=a)}return{value:t,metrics:n1(t,n,i)}},Xt=function(t,n,i,a,s){var u=fo(t,n,i),c=u.metrics;t=u.value;var f;if(c){var d=c.italic;(i==="text"||a&&a.font==="mathit")&&(d=0),f=new vn(t,c.height,c.depth,d,c.skew,c.width,s)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+t+"' in style '"+n+"' and mode '"+i+"'")),f=new vn(t,0,0,0,0,0,s);if(a){f.maxFontSize=a.sizeMultiplier,a.style.isTight()&&f.classes.push("mtight");var m=a.getColor();m&&(f.style.color=m)}return f},r1=function(t,n,i,a){return a===void 0&&(a=[]),i.font==="boldsymbol"&&fo(t,"Main-Bold",n).metrics?Xt(t,"Main-Bold",n,i,a.concat(["mathbf"])):t==="\\"||ut[n][t].font==="main"?Xt(t,"Main-Regular",n,i,a):Xt(t,"AMS-Regular",n,i,a.concat(["amsrm"]))},Xx=function(t,n,i){return i!=="textord"&&fo(t,"Math-BoldItalic",n).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},mo=function(t,n,i){var a=t.mode,s=t.text,u=["mord"],{font:c,fontFamily:f,fontWeight:d,fontShape:m}=n,p=a==="math"||a==="text"&&!!c,k=p?c:f,b="",E="";if(s.charCodeAt(0)===55349){var z=Gx(s);b=z.font,E=z[a+"Class"]}if(b)return Xt(s,b,a,n,u.concat(E));if(k){var j,M;if(k==="boldsymbol"){var R=Xx(s,a,i);j=R.fontName,M=[R.fontClass]}else p?(j=yc[c].fontName,M=[c]):(j=qs(f,d,m),M=[f,d,m]);if(fo(s,j,a).metrics)return Xt(s,j,a,n,u.concat(M));if(I4.hasOwnProperty(s)&&j.slice(0,10)==="Typewriter"){for(var q=[],J=0;J<s.length;J++)q.push(Xt(s[J],j,a,n,u.concat(M)));return kr(q)}}if(i==="mathord")return Xt(s,"Math-Italic",a,n,u.concat(["mathnormal"]));if(i==="textord"){var Y=ut[a][s]&&ut[a][s].font;if(Y==="ams"){var O=qs("amsrm",d,m);return Xt(s,O,a,n,u.concat("amsrm",d,m))}else if(Y==="main"||!Y){var Q=qs("textrm",d,m);return Xt(s,Q,a,n,u.concat(d,m))}else{var te=qs(Y,d,m);return Xt(s,te,a,n,u.concat(te,d,m))}}else throw new Error("unexpected type: "+i+" in makeOrd")},Yx=(e,t)=>{if(Yr(e.classes)!==Yr(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize||e.italic!==0&&e.hasClass("mathnormal"))return!1;if(e.classes.length===1){var n=e.classes[0];if(n==="mbin"||n==="mord")return!1}for(var i of Object.keys(e.style))if(e.style[i]!==t.style[i])return!1;for(var a of Object.keys(t.style))if(e.style[a]!==t.style[a])return!1;return!0},D4=e=>{for(var t=0;t<e.length-1;t++){var n=e[t],i=e[t+1];n instanceof vn&&i instanceof vn&&Yx(n,i)&&(n.text+=i.text,n.height=Math.max(n.height,i.height),n.depth=Math.max(n.depth,i.depth),n.italic=i.italic,e.splice(t+1,1),t--)}return e},i1=function(t){for(var n=0,i=0,a=0,s=0;s<t.children.length;s++){var u=t.children[s];u.height>n&&(n=u.height),u.depth>i&&(i=u.depth),u.maxFontSize>a&&(a=u.maxFontSize)}t.height=n,t.depth=i,t.maxFontSize=a},oe=function(t,n,i,a){var s=new yl(t,n,i,a);return i1(s),s},Kr=(e,t,n,i)=>new yl(e,t,n,i),dl=function(t,n,i){var a=oe([t],[],n);return a.height=Math.max(i||n.fontMetrics().defaultRuleThickness,n.minRuleThickness),a.style.borderBottomWidth=pe(a.height),a.maxFontSize=1,a},Qx=function(t,n,i,a){var s=new ho(t,n,i,a);return i1(s),s},kr=function(t){var n=new vl(t);return i1(n),n},ml=function(t,n){return t instanceof vl?oe([],[t],n):t},Kx=function(t){if(t.positionType==="individualShift"){for(var n=t.children,i=[n[0]],a=-n[0].shift-n[0].elem.depth,s=a,u=1;u<n.length;u++){var c=-n[u].shift-s-n[u].elem.depth,f=c-(n[u-1].elem.height+n[u-1].elem.depth);s=s+c,i.push({type:"kern",size:f}),i.push(n[u])}return{children:i,depth:a}}var d;if(t.positionType==="top"){for(var m=t.positionData,p=0;p<t.children.length;p++){var k=t.children[p];m-=k.type==="kern"?k.size:k.elem.height+k.elem.depth}d=m}else if(t.positionType==="bottom")d=-t.positionData;else{var b=t.children[0];if(b.type!=="elem")throw new Error('First child must have type "elem".');if(t.positionType==="shift")d=-b.elem.depth-t.positionData;else if(t.positionType==="firstBaseline")d=-b.elem.depth;else throw new Error("Invalid positionType "+t.positionType+".")}return{children:t.children,depth:d}},Ze=function(t,n){for(var{children:i,depth:a}=Kx(t),s=0,u=0;u<i.length;u++){var c=i[u];if(c.type==="elem"){var f=c.elem;s=Math.max(s,f.maxFontSize,f.height)}}s+=2;var d=oe(["pstrut"],[]);d.style.height=pe(s);for(var m=[],p=a,k=a,b=a,E=0;E<i.length;E++){var z=i[E];if(z.type==="kern")b+=z.size;else{var j=z.elem,M=z.wrapperClasses||[],R=z.wrapperStyle||{},q=oe(M,[d,j],void 0,R);q.style.top=pe(-s-b-j.depth),z.marginLeft&&(q.style.marginLeft=z.marginLeft),z.marginRight&&(q.style.marginRight=z.marginRight),m.push(q),b+=j.height+j.depth}p=Math.min(p,b),k=Math.max(k,b)}var J=oe(["vlist"],m);J.style.height=pe(k);var Y;if(p<0){var O=oe([],[]),Q=oe(["vlist"],[O]);Q.style.height=pe(-p);var te=oe(["vlist-s"],[new vn("​")]);Y=[oe(["vlist-r"],[J,te]),oe(["vlist-r"],[Q])]}else Y=[oe(["vlist-r"],[J])];var ne=oe(["vlist-t"],Y);return Y.length===2&&ne.classes.push("vlist-t2"),ne.height=k,ne.depth=-p,ne},L4=(e,t)=>{var n=oe(["mspace"],[],t),i=pt(e,t);return n.style.marginRight=pe(i),n},qs=(e,t,n)=>{var i,a;switch(e){case"amsrm":i="AMS";break;case"textrm":i="Main";break;case"textsf":i="SansSerif";break;case"texttt":i="Typewriter";break;default:i=e}return t==="textbf"&&n==="textit"?a="BoldItalic":t==="textbf"?a="Bold":n==="textit"?a="Italic":a="Regular",i+"-"+a},yc={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"}},P4={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},R4=function(t,n){var[i,a,s]=P4[t],u=new Qr(i),c=new vr([u],{width:pe(a),height:pe(s),style:"width:"+pe(a),viewBox:"0 0 "+1e3*a+" "+1e3*s,preserveAspectRatio:"xMinYMin"}),f=Kr(["overlay"],[c],n);return f.height=s,f.style.height=pe(s),f.style.width=pe(a),f},mt={number:3,unit:"mu"},Ei={number:4,unit:"mu"},mr={number:5,unit:"mu"},Zx={mord:{mop:mt,mbin:Ei,mrel:mr,minner:mt},mop:{mord:mt,mop:mt,mrel:mr,minner:mt},mbin:{mord:Ei,mop:Ei,mopen:Ei,minner:Ei},mrel:{mord:mr,mop:mr,mopen:mr,minner:mr},mopen:{},mclose:{mop:mt,mbin:Ei,mrel:mr,minner:mt},mpunct:{mord:mt,mop:mt,mrel:mr,mopen:mt,mclose:mt,mpunct:mt,minner:mt},minner:{mord:mt,mop:mt,mbin:Ei,mrel:mr,mopen:mt,mpunct:mt,minner:mt}},Jx={mord:{mop:mt},mop:{mord:mt,mop:mt},mbin:{},mrel:{},mopen:{},mclose:{mop:mt},mpunct:{},minner:{mop:mt}},F4={},ro={},io={};function ye(e){for(var{type:t,names:n,props:i,handler:a,htmlBuilder:s,mathmlBuilder:u}=e,c={type:t,numArgs:i.numArgs,argTypes:i.argTypes,allowedInArgument:!!i.allowedInArgument,allowedInText:!!i.allowedInText,allowedInMath:i.allowedInMath===void 0?!0:i.allowedInMath,numOptionalArgs:i.numOptionalArgs||0,infix:!!i.infix,primitive:!!i.primitive,handler:a},f=0;f<n.length;++f)F4[n[f]]=c;t&&(s&&(ro[t]=s),u&&(io[t]=u))}function Di(e){var{type:t,htmlBuilder:n,mathmlBuilder:i}=e;ye({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:n,mathmlBuilder:i})}var lo=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},bt=function(t){return t.type==="ordgroup"?t.body:[t]},ew=new Set(["leftmost","mbin","mopen","mrel","mop","mpunct"]),tw=new Set(["rightmost","mrel","mclose","mpunct"]),nw={display:Be.DISPLAY,text:Be.TEXT,script:Be.SCRIPT,scriptscript:Be.SCRIPTSCRIPT},rw={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},zt=function(t,n,i,a){a===void 0&&(a=[null,null]);for(var s=[],u=0;u<t.length;u++){var c=Je(t[u],n);if(c instanceof vl){var f=c.children;s.push(...f)}else s.push(c)}if(D4(s),!i)return s;var d=n;if(t.length===1){var m=t[0];m.type==="sizing"?d=n.havingSize(m.size):m.type==="styling"&&(d=n.havingStyle(nw[m.style]))}var p=oe([a[0]||"leftmost"],[],n),k=oe([a[1]||"rightmost"],[],n),b=i==="root";return xc(s,(E,z)=>{var j=z.classes[0],M=E.classes[0];j==="mbin"&&tw.has(M)?z.classes[0]="mord":M==="mbin"&&ew.has(j)&&(E.classes[0]="mord")},{node:p},k,b),xc(s,(E,z)=>{var j,M,R=kc(z),q=kc(E),J=R&&q?E.hasClass("mtight")?(j=Jx[R])==null?void 0:j[q]:(M=Zx[R])==null?void 0:M[q]:null;if(J)return L4(J,d)},{node:p},k,b),s},xc=function(t,n,i,a,s){a&&t.push(a);for(var u=0;u<t.length;u++){var c=t[u],f=O4(c);if(f){xc(f.children,n,i,null,s);continue}var d=!c.hasClass("mspace");if(d){var m=n(c,i.node);m&&(i.insertAfter?i.insertAfter(m):(t.unshift(m),u++))}d?i.node=c:s&&c.hasClass("newline")&&(i.node=oe(["leftmost"])),i.insertAfter=(p=>k=>{t.splice(p+1,0,k),u++})(u)}a&&t.pop()},O4=function(t){return t instanceof vl||t instanceof ho||t instanceof yl&&t.hasClass("enclosing")?t:null},wc=function(t,n){var i=O4(t);if(i){var a=i.children;if(a.length){if(n==="right")return wc(a[a.length-1],"right");if(n==="left")return wc(a[0],"left")}}return t},kc=function(t,n){if(!t)return null;n&&(t=wc(t,n));var i=t.classes[0];return rw[i]||null},ya=function(t,n){var i=["nulldelimiter"].concat(t.baseSizingClasses());return oe(n.concat(i))},Je=function(t,n,i){if(!t)return oe();if(ro[t.type]){var a=ro[t.type](t,n);if(i&&n.size!==i.size){a=oe(n.sizingClasses(i),[a],n);var s=n.sizeMultiplier/i.sizeMultiplier;a.height*=s,a.depth*=s}return a}else throw new ce("Got group of unknown type: '"+t.type+"'")};function Hs(e,t){var n=oe(["base"],e,t),i=oe(["strut"]);return i.style.height=pe(n.height+n.depth),n.depth&&(i.style.verticalAlign=pe(-n.depth)),n.children.unshift(i),n}function bc(e,t){var n=null;e.length===1&&e[0].type==="tag"&&(n=e[0].tag,e=e[0].body);var i=zt(e,t,"root"),a;i.length===2&&i[1].hasClass("tag")&&(a=i.pop());for(var s=[],u=[],c=0;c<i.length;c++)if(u.push(i[c]),i[c].hasClass("mbin")||i[c].hasClass("mrel")||i[c].hasClass("allowbreak")){for(var f=!1;c<i.length-1&&i[c+1].hasClass("mspace")&&!i[c+1].hasClass("newline");)c++,u.push(i[c]),i[c].hasClass("nobreak")&&(f=!0);f||(s.push(Hs(u,t)),u=[])}else i[c].hasClass("newline")&&(u.pop(),u.length>0&&(s.push(Hs(u,t)),u=[]),s.push(i[c]));u.length>0&&s.push(Hs(u,t));var d;n?(d=Hs(zt(n,t,!0),t),d.classes=["tag"],s.push(d)):a&&s.push(a);var m=oe(["katex-html"],s);if(m.setAttribute("aria-hidden","true"),d){var p=d.children[0];p.style.height=pe(m.height+m.depth),m.depth&&(p.style.verticalAlign=pe(-m.depth))}return m}function B4(e){return new vl(e)}class fe{constructor(t,n,i){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=i||[]}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=Yr(this.classes));for(var i=0;i<this.children.length;i++)if(this.children[i]instanceof St&&this.children[i+1]instanceof St){for(var a=this.children[i].toText()+this.children[++i].toText();this.children[i+1]instanceof St;)a+=this.children[++i].toText();t.appendChild(new St(a).toNode())}else t.appendChild(this.children[i].toNode());return t}toMarkup(){var t="<"+this.type;for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(t+=" "+n+'="',t+=Ut(this.attributes[n]),t+='"');this.classes.length>0&&(t+=' class ="'+Ut(Yr(this.classes))+'"'),t+=">";for(var i=0;i<this.children.length;i++)t+=this.children[i].toMarkup();return t+="</"+this.type+">",t}toText(){return this.children.map(t=>t.toText()).join("")}}class St{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return Ut(this.toText())}toText(){return this.text}}class _4{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",pe(this.width)),t}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+pe(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var iw=new Set(["\\imath","\\jmath"]),lw=new Set(["mrow","mtable"]),jn=function(t,n,i){return ut[n][t]&&ut[n][t].replace&&t.charCodeAt(0)!==55349&&!(I4.hasOwnProperty(t)&&i&&(i.fontFamily&&i.fontFamily.slice(4,6)==="tt"||i.font&&i.font.slice(4,6)==="tt"))&&(t=ut[n][t].replace),new St(t)},l1=function(t){return t.length===1?t[0]:new fe("mrow",t)},aw={mathit:"italic",boldsymbol:e=>e.type==="textord"?"bold":"bold-italic",mathbf:"bold",mathbb:"double-struck",mathsfit:"sans-serif-italic",mathfrak:"fraktur",mathscr:"script",mathcal:"script",mathsf:"sans-serif",mathtt:"monospace"},a1=(e,t)=>{if(e.mode==="text"){if(t.fontFamily==="texttt")return"monospace";if(t.fontFamily==="textsf")return t.fontShape==="textit"&&t.fontWeight==="textbf"?"sans-serif-bold-italic":t.fontShape==="textit"?"sans-serif-italic":t.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(t.fontShape==="textit"&&t.fontWeight==="textbf")return"bold-italic";if(t.fontShape==="textit")return"italic";if(t.fontWeight==="textbf")return"bold"}var n=t.font;if(!n||n==="mathnormal")return null;var i=e.mode,a=aw[n];if(a)return typeof a=="function"?a(e):a;var s=e.text;if(iw.has(s))return null;if(ut[i][s]){var u=ut[i][s].replace;u&&(s=u)}var c=yc[n].fontName;return n1(s,c,i)?yc[n].variant:null};function Bu(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof St&&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 St&&n.text===","}else return!1}var xn=function(t,n,i){if(t.length===1){var a=rt(t[0],n);return i&&a instanceof fe&&a.type==="mo"&&(a.setAttribute("lspace","0em"),a.setAttribute("rspace","0em")),[a]}for(var s=[],u,c=0;c<t.length;c++){var f=rt(t[c],n);if(f instanceof fe&&u instanceof fe){if(f.type==="mtext"&&u.type==="mtext"&&f.getAttribute("mathvariant")===u.getAttribute("mathvariant")){u.children.push(...f.children);continue}else if(f.type==="mn"&&u.type==="mn"){u.children.push(...f.children);continue}else if(Bu(f)&&u.type==="mn"){u.children.push(...f.children);continue}else if(f.type==="mn"&&Bu(u))f.children=[...u.children,...f.children],s.pop();else if((f.type==="msup"||f.type==="msub")&&f.children.length>=1&&(u.type==="mn"||Bu(u))){var d=f.children[0];d instanceof fe&&d.type==="mn"&&(d.children=[...u.children,...d.children],s.pop())}else if(u.type==="mi"&&u.children.length===1){var m=u.children[0];if(m instanceof St&&m.text==="̸"&&(f.type==="mo"||f.type==="mi"||f.type==="mn")){var p=f.children[0];p instanceof St&&p.text.length>0&&(p.text=p.text.slice(0,1)+"̸"+p.text.slice(1),s.pop())}}}s.push(f),u=f}return s},Zr=function(t,n,i){return l1(xn(t,n,i))},rt=function(t,n){if(!t)return new fe("mrow");if(io[t.type])return io[t.type](t,n);throw new ce("Got group of unknown type: '"+t.type+"'")};function bm(e,t,n,i,a){var s=xn(e,n),u;s.length===1&&s[0]instanceof fe&&lw.has(s[0].type)?u=s[0]:u=new fe("mrow",s);var c=new fe("annotation",[new St(t)]);c.setAttribute("encoding","application/x-tex");var f=new fe("semantics",[u,c]),d=new fe("math",[f]);d.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),i&&d.setAttribute("display","block");var m=a?"katex":"katex-mathml";return oe([m],[d])}var sw=[[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]],Sm=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Cm=function(t,n){return n.size<2?t:sw[t-1][n.size-1]};class pr{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||pr.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=Sm[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};return Object.assign(n,t),new pr(n)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:Cm(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:Sm[t-1]})}havingBaseStyle(t){t=t||this.style.text();var n=Cm(pr.BASESIZE,t);return this.size===n&&this.textSize===pr.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!==pr.BASESIZE?["sizing","reset-size"+this.size,"size"+pr.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=$x(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}pr.BASESIZE=6;var q4=function(t){return new pr({style:t.displayMode?Be.DISPLAY:Be.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},H4=function(t,n){if(n.displayMode){var i=["katex-display"];n.leqno&&i.push("leqno"),n.fleqn&&i.push("fleqn"),t=oe(i,[t])}return t},ow=function(t,n,i){var a=q4(i),s;if(i.output==="mathml")return bm(t,n,a,i.displayMode,!0);if(i.output==="html"){var u=bc(t,a);s=oe(["katex"],[u])}else{var c=bm(t,n,a,i.displayMode,!1),f=bc(t,a);s=oe(["katex"],[c,f])}return H4(s,i)},uw=function(t,n,i){var a=q4(i),s=bc(t,a),u=oe(["katex"],[s]);return H4(u,i)},cw={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",underbracket:"⎵",overbracket:"⎴",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":"="},po=function(t){var n=new fe("mo",[new St(cw[t.replace(/^\\/,"")])]);return n.setAttribute("stretchy","true"),n},hw={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],overbracket:[["leftbracketover","rightbracketover"],1.6,440],underbracket:[["leftbracketunder","rightbracketunder"],1.6,410],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]},fw=new Set(["widehat","widecheck","widetilde","utilde"]),go=function(t,n){function i(){var c=4e5,f=t.label.slice(1);if(fw.has(f)&&"base"in t){var d=t.base.type==="ordgroup"?t.base.body.length:1,m,p,k;if(d>5)f==="widehat"||f==="widecheck"?(m=420,c=2364,k=.42,p=f+"4"):(m=312,c=2340,k=.34,p="tilde4");else{var b=[1,1,2,2,3,3][d];f==="widehat"||f==="widecheck"?(c=[0,1062,2364,2364,2364][b],m=[0,239,300,360,420][b],k=[0,.24,.3,.3,.36,.42][b],p=f+b):(c=[0,600,1033,2339,2340][b],m=[0,260,286,306,312][b],k=[0,.26,.286,.3,.306,.34][b],p="tilde"+b)}var E=new Qr(p),z=new vr([E],{width:"100%",height:pe(k),viewBox:"0 0 "+c+" "+m,preserveAspectRatio:"none"});return{span:Kr([],[z],n),minWidth:0,height:k}}else{var j=[],M=hw[f];if(!M)throw new Error('No SVG data for "'+f+'".');var[R,q,J]=M,Y=J/1e3,O=R.length,Q,te;if(O===1){if(M.length!==4)throw new Error('Expected 4-tuple for single-path SVG data "'+f+'".');Q=["hide-tail"],te=[M[3]]}else if(O===2)Q=["halfarrow-left","halfarrow-right"],te=["xMinYMin","xMaxYMin"];else if(O===3)Q=["brace-left","brace-center","brace-right"],te=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
326
- `+O+" children.");for(var ne=0;ne<O;ne++){var H=new Qr(R[ne]),de=new vr([H],{width:"400em",height:pe(Y),viewBox:"0 0 "+c+" "+J,preserveAspectRatio:te[ne]+" slice"}),ae=Kr([Q[ne]],[de],n);if(O===1)return{span:ae,minWidth:q,height:Y};ae.style.height=pe(Y),j.push(ae)}return{span:oe(["stretchy"],j,n),minWidth:q,height:Y}}}var{span:a,minWidth:s,height:u}=i();return a.height=u,a.style.height=pe(u),s>0&&(a.style.minWidth=pe(s)),a},dw=function(t,n,i,a,s){var u,c=t.height+t.depth+i+a;if(/fbox|color|angl/.test(n)){if(u=oe(["stretchy",n],[],s),n==="fbox"){var f=s.color&&s.getColor();f&&(u.style.borderColor=f)}}else{var d=[];/^[bx]cancel$/.test(n)&&d.push(new fc({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(n)&&d.push(new fc({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var m=new vr(d,{width:"100%",height:pe(c)});u=Kr([],[m],s)}return u.height=c,u.style.height=pe(c),u},mw={bin:1,close:1,inner:1,open:1,punct:1,rel:1},pw={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1};function gw(e){return e in mw}function He(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 vo(e){var t=yo(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 yo(e){return e&&(e.type==="atom"||pw.hasOwnProperty(e.type))?e:null}var U4=e=>{if(e instanceof vn)return e;if(Ux(e)&&e.children.length===1)return U4(e.children[0])},s1=(e,t)=>{var n,i,a;e&&e.type==="supsub"?(i=He(e.base,"accent"),n=i.base,e.base=n,a=Hx(Je(e,t)),e.base=i):(i=He(e,"accent"),n=i.base);var s=Je(n,t.havingCrampedStyle()),u=i.isShifty&&xr(n),c=0;if(u){var f,d;c=(f=(d=U4(s))==null?void 0:d.skew)!=null?f:0}var m=i.label==="\\c",p=m?s.height+s.depth:Math.min(s.height,t.fontMetrics().xHeight),k;if(i.isStretchy)k=go(i,t),k=Ze({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"elem",elem:k,wrapperClasses:["svg-align"],wrapperStyle:c>0?{width:"calc(100% - "+pe(2*c)+")",marginLeft:pe(2*c)}:void 0}]});else{var b,E;i.label==="\\vec"?(b=R4("vec",t),E=P4.vec[1]):(b=mo({mode:i.mode,text:i.label},t,"textord"),b=qx(b),b.italic=0,E=b.width,m&&(p+=b.depth)),k=oe(["accent-body"],[b]);var z=i.label==="\\textcircled";z&&(k.classes.push("accent-full"),p=s.height);var j=c;z||(j-=E/2),k.style.left=pe(j),i.label==="\\textcircled"&&(k.style.top=".2em"),k=Ze({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:-p},{type:"elem",elem:k}]})}var M=oe(["mord","accent"],[k],t);return a?(a.children[0]=M,a.height=Math.max(M.height,a.height),a.classes[0]="mord",a):M},$4=(e,t)=>{var n=e.isStretchy?po(e.label):new fe("mo",[jn(e.label,e.mode)]),i=new fe("mover",[rt(e.base,t),n]);return i.setAttribute("accent","true"),i},vw=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));ye({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=lo(t[0]),i=!vw.test(e.funcName),a=!i||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:i,isShifty:a,base:n}},htmlBuilder:s1,mathmlBuilder:$4});ye({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],i=e.parser.mode;return i==="math"&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),i="text"),{type:"accent",mode:i,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:s1,mathmlBuilder:$4});ye({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:i}=e,a=t[0];return{type:"accentUnder",mode:n.mode,label:i,base:a}},htmlBuilder:(e,t)=>{var n=Je(e.base,t),i=go(e,t),a=e.label==="\\utilde"?.12:0,s=Ze({positionType:"top",positionData:n.height,children:[{type:"elem",elem:i,wrapperClasses:["svg-align"]},{type:"kern",size:a},{type:"elem",elem:n}]});return oe(["mord","accentunder"],[s],t)},mathmlBuilder:(e,t)=>{var n=po(e.label),i=new fe("munder",[rt(e.base,t),n]);return i.setAttribute("accentunder","true"),i}});var Us=e=>{var t=new fe("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};ye({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:i,funcName:a}=e;return{type:"xArrow",mode:i.mode,label:a,body:t[0],below:n[0]}},htmlBuilder(e,t){var n=t.style,i=t.havingStyle(n.sup()),a=ml(Je(e.body,i,t),t),s=e.label.slice(0,2)==="\\x"?"x":"cd";a.classes.push(s+"-arrow-pad");var u;e.below&&(i=t.havingStyle(n.sub()),u=ml(Je(e.below,i,t),t),u.classes.push(s+"-arrow-pad"));var c=go(e,t),f=-t.fontMetrics().axisHeight+.5*c.height,d=-t.fontMetrics().axisHeight-.5*c.height-.111;(a.depth>.25||e.label==="\\xleftequilibrium")&&(d-=a.depth);var m;if(u){var p=-t.fontMetrics().axisHeight+u.height+.5*c.height+.111;m=Ze({positionType:"individualShift",children:[{type:"elem",elem:a,shift:d},{type:"elem",elem:c,shift:f,wrapperClasses:["svg-align"]},{type:"elem",elem:u,shift:p}]})}else m=Ze({positionType:"individualShift",children:[{type:"elem",elem:a,shift:d},{type:"elem",elem:c,shift:f,wrapperClasses:["svg-align"]}]});return oe(["mrel","x-arrow"],[m],t)},mathmlBuilder(e,t){var n=po(e.label);n.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var i;if(e.body){var a=Us(rt(e.body,t));if(e.below){var s=Us(rt(e.below,t));i=new fe("munderover",[n,s,a])}else i=new fe("mover",[n,a])}else if(e.below){var u=Us(rt(e.below,t));i=new fe("munder",[n,u])}else i=Us(),i=new fe("mover",[n,i]);return i}});function V4(e,t){var n=zt(e.body,t,!0);return oe([e.mclass],n,t)}function W4(e,t){var n,i=xn(e.body,t);return e.mclass==="minner"?n=new fe("mpadded",i):e.mclass==="mord"?e.isCharacterBox?(n=i[0],n.type="mi"):n=new fe("mi",i):(e.isCharacterBox?(n=i[0],n.type="mo"):n=new fe("mo",i),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}ye({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:n,funcName:i}=e,a=t[0];return{type:"mclass",mode:n.mode,mclass:"m"+i.slice(5),body:bt(a),isCharacterBox:xr(a)}},htmlBuilder:V4,mathmlBuilder:W4});var xo=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"};ye({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:n}=e;return{type:"mclass",mode:n.mode,mclass:xo(t[0]),body:bt(t[1]),isCharacterBox:xr(t[1])}}});ye({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:n,funcName:i}=e,a=t[1],s=t[0],u;i!=="\\stackrel"?u=xo(a):u="mrel";var c={type:"op",mode:a.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:i!=="\\stackrel",body:bt(a)},f={type:"supsub",mode:s.mode,base:c,sup:i==="\\underset"?null:s,sub:i==="\\underset"?s:null};return{type:"mclass",mode:n.mode,mclass:u,body:[f],isCharacterBox:xr(f)}},htmlBuilder:V4,mathmlBuilder:W4});ye({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"pmb",mode:n.mode,mclass:xo(t[0]),body:bt(t[0])}},htmlBuilder(e,t){var n=zt(e.body,t,!0),i=oe([e.mclass],n,t);return i.style.textShadow="0.02em 0.01em 0.04px",i},mathmlBuilder(e,t){var n=xn(e.body,t),i=new fe("mstyle",n);return i.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),i}});var yw={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Tm=()=>({type:"styling",body:[],mode:"math",style:"display",resetFont:!0}),Em=e=>e.type==="textord"&&e.text==="@",xw=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function ww(e,t,n){var i=yw[e];switch(i){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return n.callFunction(i,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var a=n.callFunction("\\\\cdleft",[t[0]],[]),s={type:"atom",text:i,mode:"math",family:"rel"},u=n.callFunction("\\Big",[s],[]),c=n.callFunction("\\\\cdright",[t[1]],[]),f={type:"ordgroup",mode:"math",body:[a,u,c]};return n.callFunction("\\\\cdparent",[f],[])}case"\\\\cdlongequal":return n.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var d={type:"textord",text:"\\Vert",mode:"math"};return n.callFunction("\\Big",[d],[])}default:return{type:"textord",text:" ",mode:"math"}}}function kw(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 ce("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var i=[],a=[i],s=0;s<t.length;s++){for(var u=t[s],c=Tm(),f=0;f<u.length;f++)if(!Em(u[f]))c.body.push(u[f]);else{i.push(c),f+=1;var d=vo(u[f]).text,m=new Array(2);if(m[0]={type:"ordgroup",mode:"math",body:[]},m[1]={type:"ordgroup",mode:"math",body:[]},!"=|.".includes(d))if("<>AV".includes(d))for(var p=0;p<2;p++){for(var k=!0,b=f+1;b<u.length;b++){if(xw(u[b],d)){k=!1,f=b;break}if(Em(u[b]))throw new ce("Missing a "+d+" character to complete a CD arrow.",u[b]);m[p].body.push(u[b])}if(k)throw new ce("Missing a "+d+" character to complete a CD arrow.",u[f])}else throw new ce('Expected one of "<>AV=|." after @',u[f]);var E=ww(d,m,e),z={type:"styling",body:[E],mode:"math",style:"display",resetFont:!0};i.push(z),c=Tm()}s%2===0?i.push(c):i.shift(),i=[],a.push(i)}e.gullet.endGroup(),e.gullet.endGroup();var j=new Array(a[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:a,arraystretch:1,addJot:!0,rowGaps:[null],cols:j,colSeparationType:"CD",hLinesBeforeRow:new Array(a.length+1).fill([])}}ye({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:i}=e;return{type:"cdlabel",mode:n.mode,side:i.slice(4),label:t[0]}},htmlBuilder(e,t){var n=t.havingStyle(t.style.sup()),i=ml(Je(e.label,n,t),t);return i.classes.push("cd-label-"+e.side),i.style.bottom=pe(.8-i.depth),i.height=0,i.depth=0,i},mathmlBuilder(e,t){var n=new fe("mrow",[rt(e.label,t)]);return n=new fe("mpadded",[n]),n.setAttribute("width","0"),e.side==="left"&&n.setAttribute("lspace","-1width"),n.setAttribute("voffset","0.7em"),n=new fe("mstyle",[n]),n.setAttribute("displaystyle","false"),n.setAttribute("scriptlevel","1"),n}});ye({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=ml(Je(e.fragment,t),t);return n.classes.push("cd-vert-arrow"),n},mathmlBuilder(e,t){return new fe("mrow",[rt(e.fragment,t)])}});ye({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:n}=e,i=He(t[0],"ordgroup"),a=i.body,s="",u=0;u<a.length;u++){var c=He(a[u],"textord");s+=c.text}var f=parseInt(s),d;if(isNaN(f))throw new ce("\\@char has non-numeric argument "+s);if(f<0||f>=1114111)throw new ce("\\@char with invalid code point "+s);return f<=65535?d=String.fromCharCode(f):(f-=65536,d=String.fromCharCode((f>>10)+55296,(f&1023)+56320)),{type:"textord",mode:n.mode,text:d}}});var G4=(e,t)=>{var n=zt(e.body,t.withColor(e.color),!1);return kr(n)},X4=(e,t)=>{var n=xn(e.body,t.withColor(e.color)),i=new fe("mstyle",n);return i.setAttribute("mathcolor",e.color),i};ye({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:n}=e,i=He(t[0],"color-token").color,a=t[1];return{type:"color",mode:n.mode,color:i,body:bt(a)}},htmlBuilder:G4,mathmlBuilder:X4});ye({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:n,breakOnTokenText:i}=e,a=He(t[0],"color-token").color;n.gullet.macros.set("\\current@color",a);var s=n.parseExpression(!0,i);return{type:"color",mode:n.mode,color:a,body:s}},htmlBuilder:G4,mathmlBuilder:X4});ye({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,n){var{parser:i}=e,a=i.gullet.future().text==="["?i.parseSizeGroup(!0):null,s=!i.settings.displayMode||!i.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:i.mode,newLine:s,size:a&&He(a,"size").value}},htmlBuilder(e,t){var n=oe(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=pe(pt(e.size,t)))),n},mathmlBuilder(e,t){var n=new fe("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",pe(pt(e.size,t)))),n}});var Sc={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Y4=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new ce("Expected a control sequence",e);return t},bw=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},Q4=(e,t,n,i)=>{var a=e.gullet.macros.get(n.text);a==null&&(n.noexpand=!0,a={tokens:[n],numArgs:0,unexpandable:!e.gullet.isExpandable(n.text)}),e.gullet.macros.set(t,a,i)};ye({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:n}=e;t.consumeSpaces();var i=t.fetch();if(Sc[i.text])return(n==="\\global"||n==="\\\\globallong")&&(i.text=Sc[i.text]),He(t.parseFunction(),"internal");throw new ce("Invalid token after macro prefix",i)}});ye({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,i=t.gullet.popToken(),a=i.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(a))throw new ce("Expected a control sequence",i);for(var s=0,u,c=[[]];t.gullet.future().text!=="{";)if(i=t.gullet.popToken(),i.text==="#"){if(t.gullet.future().text==="{"){u=t.gullet.future(),c[s].push("{");break}if(i=t.gullet.popToken(),!/^[1-9]$/.test(i.text))throw new ce('Invalid argument number "'+i.text+'"');if(parseInt(i.text)!==s+1)throw new ce('Argument number "'+i.text+'" out of order');s++,c.push([])}else{if(i.text==="EOF")throw new ce("Expected a macro definition");c[s].push(i.text)}var{tokens:f}=t.gullet.consumeArg();return u&&f.unshift(u),(n==="\\edef"||n==="\\xdef")&&(f=t.gullet.expandTokens(f),f.reverse()),t.gullet.macros.set(a,{tokens:f,numArgs:s,delimiters:c},n===Sc[n]),{type:"internal",mode:t.mode}}});ye({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,i=Y4(t.gullet.popToken());t.gullet.consumeSpaces();var a=bw(t);return Q4(t,i,a,n==="\\\\globallet"),{type:"internal",mode:t.mode}}});ye({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,i=Y4(t.gullet.popToken()),a=t.gullet.popToken(),s=t.gullet.popToken();return Q4(t,i,s,n==="\\\\globalfuture"),t.gullet.pushToken(s),t.gullet.pushToken(a),{type:"internal",mode:t.mode}}});var ua=function(t,n,i){var a=ut.math[t]&&ut.math[t].replace,s=n1(a||t,n,i);if(!s)throw new Error("Unsupported symbol "+t+" and font size "+n+".");return s},o1=function(t,n,i,a){var s=i.havingBaseStyle(n),u=oe(a.concat(s.sizingClasses(i)),[t],i),c=s.sizeMultiplier/i.sizeMultiplier;return u.height*=c,u.depth*=c,u.maxFontSize=s.sizeMultiplier,u},K4=function(t,n,i){var a=n.havingBaseStyle(i),s=(1-n.sizeMultiplier/a.sizeMultiplier)*n.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=pe(s),t.height-=s,t.depth+=s},Sw=function(t,n,i,a,s,u){var c=Xt(t,"Main-Regular",s,a),f=o1(c,n,a,u);return K4(f,a,n),f},Cw=function(t,n,i,a){return Xt(t,"Size"+n+"-Regular",i,a)},Z4=function(t,n,i,a,s,u){var c=Cw(t,n,s,a),f=o1(oe(["delimsizing","size"+n],[c],a),Be.TEXT,a,u);return i&&K4(f,a,Be.TEXT),f},_u=function(t,n,i){var a;n==="Size1-Regular"?a="delim-size1":a="delim-size4";var s=oe(["delimsizinginner",a],[oe([],[Xt(t,n,i)])]);return{type:"elem",elem:s}},qu=function(t,n,i){var a=Jn["Size4-Regular"][t.charCodeAt(0)]?Jn["Size4-Regular"][t.charCodeAt(0)][4]:Jn["Size1-Regular"][t.charCodeAt(0)][4],s=new Qr("inner",Lx(t,Math.round(1e3*n))),u=new vr([s],{width:pe(a),height:pe(n),style:"width:"+pe(a),viewBox:"0 0 "+1e3*a+" "+Math.round(1e3*n),preserveAspectRatio:"xMinYMin"}),c=Kr([],[u],i);return c.height=n,c.style.height=pe(n),c.style.width=pe(a),{type:"elem",elem:c}},Cc=.008,$s={type:"kern",size:-1*Cc},Tw=new Set(["|","\\lvert","\\rvert","\\vert"]),Ew=new Set(["\\|","\\lVert","\\rVert","\\Vert"]),J4=function(t,n,i,a,s,u){var c,f,d,m,p="",k=0;c=d=m=t,f=null;var b="Size1-Regular";t==="\\uparrow"?d=m="⏐":t==="\\Uparrow"?d=m="‖":t==="\\downarrow"?c=d="⏐":t==="\\Downarrow"?c=d="‖":t==="\\updownarrow"?(c="\\uparrow",d="⏐",m="\\downarrow"):t==="\\Updownarrow"?(c="\\Uparrow",d="‖",m="\\Downarrow"):Tw.has(t)?(d="∣",p="vert",k=333):Ew.has(t)?(d="∥",p="doublevert",k=556):t==="["||t==="\\lbrack"?(c="⎡",d="⎢",m="⎣",b="Size4-Regular",p="lbrack",k=667):t==="]"||t==="\\rbrack"?(c="⎤",d="⎥",m="⎦",b="Size4-Regular",p="rbrack",k=667):t==="\\lfloor"||t==="⌊"?(d=c="⎢",m="⎣",b="Size4-Regular",p="lfloor",k=667):t==="\\lceil"||t==="⌈"?(c="⎡",d=m="⎢",b="Size4-Regular",p="lceil",k=667):t==="\\rfloor"||t==="⌋"?(d=c="⎥",m="⎦",b="Size4-Regular",p="rfloor",k=667):t==="\\rceil"||t==="⌉"?(c="⎤",d=m="⎥",b="Size4-Regular",p="rceil",k=667):t==="("||t==="\\lparen"?(c="⎛",d="⎜",m="⎝",b="Size4-Regular",p="lparen",k=875):t===")"||t==="\\rparen"?(c="⎞",d="⎟",m="⎠",b="Size4-Regular",p="rparen",k=875):t==="\\{"||t==="\\lbrace"?(c="⎧",f="⎨",m="⎩",d="⎪",b="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(c="⎫",f="⎬",m="⎭",d="⎪",b="Size4-Regular"):t==="\\lgroup"||t==="⟮"?(c="⎧",m="⎩",d="⎪",b="Size4-Regular"):t==="\\rgroup"||t==="⟯"?(c="⎫",m="⎭",d="⎪",b="Size4-Regular"):t==="\\lmoustache"||t==="⎰"?(c="⎧",m="⎭",d="⎪",b="Size4-Regular"):(t==="\\rmoustache"||t==="⎱")&&(c="⎫",m="⎩",d="⎪",b="Size4-Regular");var E=ua(c,b,s),z=E.height+E.depth,j=ua(d,b,s),M=j.height+j.depth,R=ua(m,b,s),q=R.height+R.depth,J=0,Y=1;if(f!==null){var O=ua(f,b,s);J=O.height+O.depth,Y=2}var Q=z+q+J,te=Math.max(0,Math.ceil((n-Q)/(Y*M))),ne=Q+te*Y*M,H=a.fontMetrics().axisHeight;i&&(H*=a.sizeMultiplier);var de=ne/2-H,ae=[];if(p.length>0){var Te=ne-z-q,ve=Math.round(ne*1e3),se=Px(p,Math.round(Te*1e3)),K=new Qr(p,se),we=pe(k/1e3),W=pe(ve/1e3),$=new vr([K],{width:we,height:W,viewBox:"0 0 "+k+" "+ve}),N=Kr([],[$],a);N.height=ve/1e3,N.style.width=we,N.style.height=W,ae.push({type:"elem",elem:N})}else{if(ae.push(_u(m,b,s)),ae.push($s),f===null){var L=ne-z-q+2*Cc;ae.push(qu(d,L,a))}else{var G=(ne-z-q-J)/2+2*Cc;ae.push(qu(d,G,a)),ae.push($s),ae.push(_u(f,b,s)),ae.push($s),ae.push(qu(d,G,a))}ae.push($s),ae.push(_u(c,b,s))}var A=a.havingBaseStyle(Be.TEXT),be=Ze({positionType:"bottom",positionData:de,children:ae});return o1(oe(["delimsizing","mult"],[be],A),Be.TEXT,a,u)},Hu=80,Uu=.08,$u=function(t,n,i,a,s){var u=Dx(t,a,i),c=new Qr(t,u),f=new vr([c],{width:"400em",height:pe(n),viewBox:"0 0 400000 "+i,preserveAspectRatio:"xMinYMin slice"});return Kr(["hide-tail"],[f],s)},Nw=function(t,n){var i=n.havingBaseSizing(),a=i2("\\surd",t*i.sizeMultiplier,r2,i),s=i.sizeMultiplier,u=Math.max(0,n.minRuleThickness-n.fontMetrics().sqrtRuleThickness),c,f,d,m,p;return a.type==="small"?(m=1e3+1e3*u+Hu,t<1?s=1:t<1.4&&(s=.7),f=(1+u+Uu)/s,d=(1+u)/s,c=$u("sqrtMain",f,m,u,n),c.style.minWidth="0.853em",p=.833/s):a.type==="large"?(m=(1e3+Hu)*da[a.size],d=(da[a.size]+u)/s,f=(da[a.size]+u+Uu)/s,c=$u("sqrtSize"+a.size,f,m,u,n),c.style.minWidth="1.02em",p=1/s):(f=t+u+Uu,d=t+u,m=Math.floor(1e3*t+u)+Hu,c=$u("sqrtTall",f,m,u,n),c.style.minWidth="0.742em",p=1.056),c.height=d,c.style.height=pe(f),{span:c,advanceWidth:p,ruleWidth:(n.fontMetrics().sqrtRuleThickness+u)*s}},e2=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"]),zw=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"]),t2=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),da=[0,1.2,1.8,2.4,3],n2=function(t,n,i,a,s){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),e2.has(t)||t2.has(t))return Z4(t,n,!1,i,a,s);if(zw.has(t))return J4(t,da[n],!1,i,a,s);throw new ce("Illegal delimiter: '"+t+"'")},Aw=[{type:"small",style:Be.SCRIPTSCRIPT},{type:"small",style:Be.SCRIPT},{type:"small",style:Be.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Mw=[{type:"small",style:Be.SCRIPTSCRIPT},{type:"small",style:Be.SCRIPT},{type:"small",style:Be.TEXT},{type:"stack"}],r2=[{type:"small",style:Be.SCRIPTSCRIPT},{type:"small",style:Be.SCRIPT},{type:"small",style:Be.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],jw=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";var n=t.type;throw new Error("Add support for delim type '"+n+"' here.")},i2=function(t,n,i,a){for(var s=Math.min(2,3-a.style.size),u=s;u<i.length;u++){var c=i[u];if(c.type==="stack")break;var f=ua(t,jw(c),"math"),d=f.height+f.depth;if(c.type==="small"){var m=a.havingBaseStyle(c.style);d*=m.sizeMultiplier}if(d>n)return c}return i[i.length-1]},Tc=function(t,n,i,a,s,u){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var c;t2.has(t)?c=Aw:e2.has(t)?c=r2:c=Mw;var f=i2(t,n,c,a);return f.type==="small"?Sw(t,f.style,i,a,s,u):f.type==="large"?Z4(t,f.size,i,a,s,u):J4(t,n,i,a,s,u)},Vu=function(t,n,i,a,s,u){var c=a.fontMetrics().axisHeight*a.sizeMultiplier,f=901,d=5/a.fontMetrics().ptPerEm,m=Math.max(n-c,i+c),p=Math.max(m/500*f,2*m-d);return Tc(t,p,!0,a,s,u)},Nm={"\\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}},Iw=new Set(["(","\\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 zm(e){return"isMiddle"in e}function wo(e,t){var n=yo(e);if(n&&Iw.has(n.text))return n;throw n?new ce("Invalid delimiter '"+n.text+"' after '"+t.funcName+"'",e):new ce("Invalid delimiter type '"+e.type+"'",e)}ye({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=wo(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:Nm[e.funcName].size,mclass:Nm[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>e.delim==="."?oe([e.mclass]):n2(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(jn(e.delim,e.mode));var n=new fe("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");var i=pe(da[e.size]);return n.setAttribute("minsize",i),n.setAttribute("maxsize",i),n}});function Am(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}ye({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 ce("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:wo(t[0],e).text,color:n}}});ye({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=wo(t[0],e),i=e.parser;++i.leftrightDepth;var a=i.parseExpression(!1);--i.leftrightDepth,i.expect("\\right",!1);var s=He(i.parseFunction(),"leftright-right");return{type:"leftright",mode:i.mode,body:a,left:n.text,right:s.delim,rightColor:s.color}},htmlBuilder:(e,t)=>{Am(e);for(var n=zt(e.body,t,!0,["mopen","mclose"]),i=0,a=0,s=!1,u=0;u<n.length;u++){var c=n[u];zm(c)?s=!0:(i=Math.max(n[u].height,i),a=Math.max(n[u].depth,a))}i*=t.sizeMultiplier,a*=t.sizeMultiplier;var f;if(e.left==="."?f=ya(t,["mopen"]):f=Vu(e.left,i,a,t,e.mode,["mopen"]),n.unshift(f),s)for(var d=1;d<n.length;d++){var m=n[d];if(zm(m)){var p=m.isMiddle;n[d]=Vu(p.delim,i,a,p.options,e.mode,[])}}var k;if(e.right===".")k=ya(t,["mclose"]);else{var b=e.rightColor?t.withColor(e.rightColor):t;k=Vu(e.right,i,a,b,e.mode,["mclose"])}return n.push(k),oe(["minner"],n,t)},mathmlBuilder:(e,t)=>{Am(e);var n=xn(e.body,t);if(e.left!=="."){var i=new fe("mo",[jn(e.left,e.mode)]);i.setAttribute("fence","true"),n.unshift(i)}if(e.right!=="."){var a=new fe("mo",[jn(e.right,e.mode)]);a.setAttribute("fence","true"),e.rightColor&&a.setAttribute("mathcolor",e.rightColor),n.push(a)}return l1(n)}});ye({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=wo(t[0],e);if(!e.parser.leftrightDepth)throw new ce("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},htmlBuilder:(e,t)=>{var n;return e.delim==="."?n=ya(t,[]):(n=n2(e.delim,1,t,e.mode,[]),n.isMiddle={delim:e.delim,options:t}),n},mathmlBuilder:(e,t)=>{var n=e.delim==="\\vert"||e.delim==="|"?jn("|","text"):jn(e.delim,e.mode),i=new fe("mo",[n]);return i.setAttribute("fence","true"),i.setAttribute("lspace","0.05em"),i.setAttribute("rspace","0.05em"),i}});var ko=(e,t)=>{var n=ml(Je(e.body,t),t),i=e.label.slice(1),a=t.sizeMultiplier,s,u,c=xr(e.body);if(i==="sout")s=oe(["stretchy","sout"]),s.height=t.fontMetrics().defaultRuleThickness/a,u=-.5*t.fontMetrics().xHeight;else if(i==="phase"){var f=pt({number:.6,unit:"pt"},t),d=pt({number:.35,unit:"ex"},t),m=t.havingBaseSizing();a=a/m.sizeMultiplier;var p=n.height+n.depth+f+d;n.style.paddingLeft=pe(p/2+f);var k=Math.floor(1e3*p*a),b=jx(k),E=new vr([new Qr("phase",b)],{width:"400em",height:pe(k/1e3),viewBox:"0 0 400000 "+k,preserveAspectRatio:"xMinYMin slice"});s=Kr(["hide-tail"],[E],t),s.style.height=pe(p),u=n.depth+f+d}else{/cancel/.test(i)?c||n.classes.push("cancel-pad"):i==="angl"?n.classes.push("anglpad"):n.classes.push("boxpad");var z,j,M=0;/box/.test(i)?(M=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),z=t.fontMetrics().fboxsep+(i==="colorbox"?0:M),j=z):i==="angl"?(M=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),z=4*M,j=Math.max(0,.25-n.depth)):(z=c?.2:0,j=z),s=dw(n,i,z,j,t),/fbox|boxed|fcolorbox/.test(i)?(s.style.borderStyle="solid",s.style.borderWidth=pe(M)):i==="angl"&&M!==.049&&(s.style.borderTopWidth=pe(M),s.style.borderRightWidth=pe(M)),u=n.depth+j,e.backgroundColor&&(s.style.backgroundColor=e.backgroundColor,e.borderColor&&(s.style.borderColor=e.borderColor))}var R;if(e.backgroundColor)R=Ze({positionType:"individualShift",children:[{type:"elem",elem:s,shift:u},{type:"elem",elem:n,shift:0}]});else{var q=/cancel|phase/.test(i)?["svg-align"]:[];R=Ze({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:s,shift:u,wrapperClasses:q}]})}return/cancel/.test(i)&&(R.height=n.height,R.depth=n.depth),/cancel/.test(i)&&!c?oe(["mord","cancel-lap"],[R],t):oe(["mord"],[R],t)},bo=(e,t)=>{var n,i=new fe(e.label.includes("colorbox")?"mpadded":"menclose",[rt(e.body,t)]);switch(e.label){case"\\cancel":i.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":i.setAttribute("notation","downdiagonalstrike");break;case"\\phase":i.setAttribute("notation","phasorangle");break;case"\\sout":i.setAttribute("notation","horizontalstrike");break;case"\\fbox":i.setAttribute("notation","box");break;case"\\angl":i.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,i.setAttribute("width","+"+2*n+"pt"),i.setAttribute("height","+"+2*n+"pt"),i.setAttribute("lspace",n+"pt"),i.setAttribute("voffset",n+"pt"),e.label==="\\fcolorbox"){var a=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);i.setAttribute("style","border: "+pe(a)+" solid "+e.borderColor)}break;case"\\xcancel":i.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&i.setAttribute("mathbackground",e.backgroundColor),i};ye({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","hbox"]},handler(e,t,n){var{parser:i,funcName:a}=e,s=He(t[0],"color-token").color,u=t[1];return{type:"enclose",mode:i.mode,label:a,backgroundColor:s,body:u}},htmlBuilder:ko,mathmlBuilder:bo});ye({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","hbox"]},handler(e,t,n){var{parser:i,funcName:a}=e,s=He(t[0],"color-token").color,u=He(t[1],"color-token").color,c=t[2];return{type:"enclose",mode:i.mode,label:a,backgroundColor:u,borderColor:s,body:c}},htmlBuilder:ko,mathmlBuilder:bo});ye({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]}}});ye({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\phase"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:i}=e,a=t[0];return{type:"enclose",mode:n.mode,label:i,body:a}},htmlBuilder:ko,mathmlBuilder:bo});ye({type:"enclose",names:["\\sout"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n,funcName:i}=e;n.mode==="math"&&n.settings.reportNonstrict("mathVsSout","LaTeX's \\sout works only in text mode");var a=t[0];return{type:"enclose",mode:n.mode,label:i,body:a}},htmlBuilder:ko,mathmlBuilder:bo});ye({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 l2={};function tr(e){for(var{type:t,names:n,props:i,handler:a,htmlBuilder:s,mathmlBuilder:u}=e,c={type:t,numArgs:i.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:a},f=0;f<n.length;++f)l2[n[f]]=c;s&&(ro[t]=s),u&&(io[t]=u)}var a2={};function T(e,t){a2[e]=t}class an{constructor(t,n,i){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=t,this.start=n,this.end=i}static range(t,n){return n?!t||!t.loc||!n.loc||t.loc.lexer!==n.loc.lexer?null:new an(t.loc.lexer,t.loc.start,n.loc.end):t&&t.loc}}class gn{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 gn(n,an.range(this,t))}}function Mm(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 So=e=>{var t=e.parser.settings;if(!t.displayMode)throw new ce("{"+e.envName+"} can be used only in display mode.")},Dw=new Set(["gather","gather*"]);function u1(e){if(!e.includes("ed"))return!e.includes("*")}function ei(e,t,n){var{hskipBeforeAndAfter:i,addJot:a,cols:s,arraystretch:u,colSeparationType:c,autoTag:f,singleRow:d,emptySingleRow:m,maxNumCols:p,leqno:k}=t;if(e.gullet.beginGroup(),d||e.gullet.macros.set("\\cr","\\\\\\relax"),!u){var b=e.gullet.expandMacroAsText("\\arraystretch");if(b==null)u=1;else if(u=parseFloat(b),!u||u<0)throw new ce("Invalid \\arraystretch: "+b)}e.gullet.beginGroup();var E=[],z=[E],j=[],M=[],R=f!=null?[]:void 0;function q(){f&&e.gullet.macros.set("\\@eqnsw","1",!0)}function J(){R&&(e.gullet.macros.get("\\df@tag")?(R.push(e.subparse([new gn("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):R.push(!!f&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(q(),M.push(Mm(e));;){var Y=e.parseExpression(!1,d?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup();var O={type:"ordgroup",mode:e.mode,body:Y};n&&(O={type:"styling",mode:e.mode,style:n,resetFont:!0,body:[O]}),E.push(O);var Q=e.fetch().text;if(Q==="&"){if(p&&E.length===p){if(d||c)throw new ce("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(Q==="\\end"){J(),E.length===1&&O.type==="styling"&&O.body.length===1&&O.body[0].type==="ordgroup"&&O.body[0].body.length===0&&(z.length>1||!m)&&z.pop(),M.length<z.length+1&&M.push([]);break}else if(Q==="\\\\"){e.consume();var te=void 0;e.gullet.future().text!==" "&&(te=e.parseSizeGroup(!0)),j.push(te?te.value:null),J(),M.push(Mm(e)),E=[],z.push(E),q()}else throw new ce("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:a,arraystretch:u,body:z,cols:s,rowGaps:j,hskipBeforeAndAfter:i,hLinesBeforeRow:M,colSeparationType:c,tags:R,leqno:k}}function c1(e){return e.slice(0,1)==="d"?"display":"text"}var nr=function(t,n){var i,a,s=t.body.length,u=t.hLinesBeforeRow,c=0,f=new Array(s),d=[],m=Math.max(n.fontMetrics().arrayRuleWidth,n.minRuleThickness),p=1/n.fontMetrics().ptPerEm,k=5*p;if(t.colSeparationType&&t.colSeparationType==="small"){var b=n.havingStyle(Be.SCRIPT).sizeMultiplier;k=.2778*(b/n.sizeMultiplier)}var E=t.colSeparationType==="CD"?pt({number:3,unit:"ex"},n):12*p,z=3*p,j=t.arraystretch*E,M=.7*j,R=.3*j,q=0;function J(Me){for(var _e=0;_e<Me.length;++_e)_e>0&&(q+=.25),d.push({pos:q,isDashed:Me[_e]})}for(J(u[0]),i=0;i<t.body.length;++i){var Y=t.body[i],O=M,Q=R;c<Y.length&&(c=Y.length);var te={cells:new Array(Y.length),height:0,depth:0,pos:0};for(a=0;a<Y.length;++a){var ne=Je(Y[a],n);Q<ne.depth&&(Q=ne.depth),O<ne.height&&(O=ne.height),te.cells[a]=ne}var H=t.rowGaps[i],de=0;H&&(de=pt(H,n),de>0&&(de+=R,Q<de&&(Q=de),de=0)),t.addJot&&i<t.body.length-1&&(Q+=z),te.height=O,te.depth=Q,q+=O,te.pos=q,q+=Q+de,f[i]=te,J(u[i+1])}var ae=q/2+n.fontMetrics().axisHeight,Te=t.cols||[],ve=[],se,K,we=[];if(t.tags&&t.tags.some(Me=>Me))for(i=0;i<s;++i){var W=f[i],$=W.pos-ae,N=t.tags[i],L=void 0;N===!0?L=oe(["eqn-num"],[],n):N===!1?L=oe([],[],n):L=oe([],zt(N,n,!0),n),L.depth=W.depth,L.height=W.height,we.push({type:"elem",elem:L,shift:$})}for(a=0,K=0;a<c||K<Te.length;++a,++K){for(var G,A=Te[K],be=!0;((Le=A)==null?void 0:Le.type)==="separator";){var Le;if(be||(se=oe(["arraycolsep"],[]),se.style.width=pe(n.fontMetrics().doubleRuleSep),ve.push(se)),A.separator==="|"||A.separator===":"){var Ae=A.separator==="|"?"solid":"dashed",Ue=oe(["vertical-separator"],[],n);Ue.style.height=pe(q),Ue.style.borderRightWidth=pe(m),Ue.style.borderRightStyle=Ae,Ue.style.margin="0 "+pe(-m/2);var qe=q-ae;qe&&(Ue.style.verticalAlign=pe(-qe)),ve.push(Ue)}else throw new ce("Invalid separator type: "+A.separator);K++,A=Te[K],be=!1}if(!(a>=c)){var $e=void 0;if(a>0||t.hskipBeforeAndAfter){var ht,wn;$e=(ht=(wn=A)==null?void 0:wn.pregap)!=null?ht:k,$e!==0&&(se=oe(["arraycolsep"],[]),se.style.width=pe($e),ve.push(se))}var ri=[];for(i=0;i<s;++i){var In=f[i],Un=In.cells[a];if(Un){var ii=In.pos-ae;Un.depth=In.depth,Un.height=In.height,ri.push({type:"elem",elem:Un,shift:ii})}}var li=Ze({positionType:"individualShift",children:ri}),br=oe(["col-align-"+(((G=A)==null?void 0:G.align)||"c")],[li]);if(ve.push(br),a<c-1||t.hskipBeforeAndAfter){var ai,ir;$e=(ai=(ir=A)==null?void 0:ir.postgap)!=null?ai:k,$e!==0&&(se=oe(["arraycolsep"],[]),se.style.width=pe($e),ve.push(se))}}}var on=oe(["mtable"],ve);if(d.length>0){for(var $n=dl("hline",n,m),si=dl("hdashline",n,m),Sr=[{type:"elem",elem:on,shift:0}];d.length>0;){var oi=d.pop(),ui=oi.pos-ae;oi.isDashed?Sr.push({type:"elem",elem:si,shift:ui}):Sr.push({type:"elem",elem:$n,shift:ui})}on=Ze({positionType:"individualShift",children:Sr})}if(we.length===0)return oe(["mord"],[on],n);var ee=Ze({positionType:"individualShift",children:we}),ge=oe(["tag"],[ee],n);return kr([on,ge])},Lw={c:"center ",l:"left ",r:"right "},rr=function(t,n){for(var i=[],a=new fe("mtd",[],["mtr-glue"]),s=new fe("mtd",[],["mml-eqn-num"]),u=0;u<t.body.length;u++){for(var c=t.body[u],f=[],d=0;d<c.length;d++)f.push(new fe("mtd",[rt(c[d],n)]));t.tags&&t.tags[u]&&(f.unshift(a),f.push(a),t.leqno?f.unshift(s):f.push(s)),i.push(new fe("mtr",f))}var m=new fe("mtable",i),p=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);m.setAttribute("rowspacing",pe(p));var k="",b="";if(t.cols&&t.cols.length>0){var E=t.cols,z="",j=!1,M=0,R=E.length;E[0].type==="separator"&&(k+="top ",M=1),E[E.length-1].type==="separator"&&(k+="bottom ",R-=1);for(var q=M;q<R;q++){var J=E[q];J.type==="align"?(b+=Lw[J.align],j&&(z+="none "),j=!0):J.type==="separator"&&j&&(z+=J.separator==="|"?"solid ":"dashed ",j=!1)}m.setAttribute("columnalign",b.trim()),/[sd]/.test(z)&&m.setAttribute("columnlines",z.trim())}if(t.colSeparationType==="align"){for(var Y=t.cols||[],O="",Q=1;Q<Y.length;Q++)O+=Q%2?"0em ":"1em ";m.setAttribute("columnspacing",O.trim())}else t.colSeparationType==="alignat"||t.colSeparationType==="gather"?m.setAttribute("columnspacing","0em"):t.colSeparationType==="small"?m.setAttribute("columnspacing","0.2778em"):t.colSeparationType==="CD"?m.setAttribute("columnspacing","0.5em"):m.setAttribute("columnspacing","1em");var te="",ne=t.hLinesBeforeRow;k+=ne[0].length>0?"left ":"",k+=ne[ne.length-1].length>0?"right ":"";for(var H=1;H<ne.length-1;H++)te+=ne[H].length===0?"none ":ne[H][0]?"dashed ":"solid ";return/[sd]/.test(te)&&m.setAttribute("rowlines",te.trim()),k!==""&&(m=new fe("menclose",[m]),m.setAttribute("notation",k.trim())),t.arraystretch&&t.arraystretch<1&&(m=new fe("mstyle",[m]),m.setAttribute("scriptlevel","1")),m},s2=function(t,n){t.envName.includes("ed")||So(t);var i=[],a=t.envName.includes("at")?"alignat":"align",s=t.envName==="split",u=ei(t.parser,{cols:i,addJot:!0,autoTag:s?void 0:u1(t.envName),emptySingleRow:!0,colSeparationType:a,maxNumCols:s?2:void 0,leqno:t.parser.settings.leqno},"display"),c=0,f=0,d={type:"ordgroup",mode:t.mode,body:[]};if(n[0]&&n[0].type==="ordgroup"){for(var m="",p=0;p<n[0].body.length;p++){var k=He(n[0].body[p],"textord");m+=k.text}c=Number(m),f=c*2}var b=!f;u.body.forEach(function(M){for(var R=1;R<M.length;R+=2){var q=He(M[R],"styling"),J=He(q.body[0],"ordgroup");J.body.unshift(d)}if(b)f<M.length&&(f=M.length);else{var Y=M.length/2;if(c<Y)throw new ce("Too many math in a row: "+("expected "+c+", but got "+Y),M[0])}});for(var E=0;E<f;++E){var z="r",j=0;E%2===1?z="l":E>0&&b&&(j=1),i[E]={type:"align",align:z,pregap:j,postgap:0}}return u.colSeparationType=b?"align":"alignat",u};tr({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var n=yo(t[0]),i=n?[t[0]]:He(t[0],"ordgroup").body,a=i.map(function(u){var c=vo(u),f=c.text;if("lcr".includes(f))return{type:"align",align:f};if(f==="|")return{type:"separator",separator:"|"};if(f===":")return{type:"separator",separator:":"};throw new ce("Unknown column alignment: "+f,u)}),s={cols:a,hskipBeforeAndAfter:!0,maxNumCols:a.length};return ei(e.parser,s,c1(e.envName))},htmlBuilder:nr,mathmlBuilder:rr});tr({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",i={hskipBeforeAndAfter:!1,cols:[{type:"align",align:n}]};if(e.envName.charAt(e.envName.length-1)==="*"){var a=e.parser;if(a.consumeSpaces(),a.fetch().text==="["){if(a.consume(),a.consumeSpaces(),n=a.fetch().text,!"lcr".includes(n))throw new ce("Expected l or c or r",a.nextToken);a.consume(),a.consumeSpaces(),a.expect("]"),a.consume(),i.cols=[{type:"align",align:n}]}}var s=ei(e.parser,i,c1(e.envName)),u=Math.max(0,...s.body.map(c=>c.length));return s.cols=new Array(u).fill({type:"align",align:n}),t?{type:"leftright",mode:e.mode,body:[s],left:t[0],right:t[1],rightColor:void 0}:s},htmlBuilder:nr,mathmlBuilder:rr});tr({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},n=ei(e.parser,t,"script");return n.colSeparationType="small",n},htmlBuilder:nr,mathmlBuilder:rr});tr({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var n=yo(t[0]),i=n?[t[0]]:He(t[0],"ordgroup").body,a=i.map(function(c){var f=vo(c),d=f.text;if("lc".includes(d))return{type:"align",align:d};throw new ce("Unknown column alignment: "+d,c)});if(a.length>1)throw new ce("{subarray} can contain only one column");var s={cols:a,hskipBeforeAndAfter:!1,arraystretch:.5},u=ei(e.parser,s,"script");if(u.body.length>0&&u.body[0].length>1)throw new ce("{subarray} can contain only one column");return u},htmlBuilder:nr,mathmlBuilder:rr});tr({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=ei(e.parser,t,c1(e.envName));return{type:"leftright",mode:e.mode,body:[n],left:e.envName.includes("r")?".":"\\{",right:e.envName.includes("r")?"\\}":".",rightColor:void 0}},htmlBuilder:nr,mathmlBuilder:rr});tr({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:s2,htmlBuilder:nr,mathmlBuilder:rr});tr({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){Dw.has(e.envName)&&So(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:u1(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return ei(e.parser,t,"display")},htmlBuilder:nr,mathmlBuilder:rr});tr({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:s2,htmlBuilder:nr,mathmlBuilder:rr});tr({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){So(e);var t={autoTag:u1(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return ei(e.parser,t,"display")},htmlBuilder:nr,mathmlBuilder:rr});tr({type:"array",names:["CD"],props:{numArgs:0},handler(e){return So(e),kw(e.parser)},htmlBuilder:nr,mathmlBuilder:rr});T("\\nonumber","\\gdef\\@eqnsw{0}");T("\\notag","\\nonumber");ye({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new ce(e.funcName+" valid only within array environment")}});var jm=l2;ye({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:n,funcName:i}=e,a=t[0];if(a.type!=="ordgroup")throw new ce("Invalid environment name",a);for(var s="",u=0;u<a.body.length;++u)s+=He(a.body[u],"textord").text;if(i==="\\begin"){if(!jm.hasOwnProperty(s))throw new ce("No such environment: "+s,a);var c=jm[s],{args:f,optArgs:d}=n.parseArguments("\\begin{"+s+"}",c),m={mode:n.mode,envName:s,parser:n},p=c.handler(m,f,d);n.expect("\\end",!1);var k=n.nextToken,b=He(n.parseFunction(),"environment");if(b.name!==s)throw new ce("Mismatch: \\begin{"+s+"} matched by \\end{"+b.name+"}",k);return p}return{type:"environment",mode:n.mode,name:s,nameGroup:a}}});var o2=(e,t)=>{var n=e.font,i=t.withFont(n);return Je(e.body,i)},u2=(e,t)=>{var n=e.font,i=t.withFont(n);return rt(e.body,i)},Im={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak"};ye({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:i}=e,a=lo(t[0]),s=i;return s in Im&&(s=Im[s]),{type:"font",mode:n.mode,font:s.slice(1),body:a}},htmlBuilder:o2,mathmlBuilder:u2});ye({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:n}=e,i=t[0];return{type:"mclass",mode:n.mode,mclass:xo(i),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:i}],isCharacterBox:xr(i)}}});ye({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:i,breakOnTokenText:a}=e,{mode:s}=n,u=n.parseExpression(!0,a);return{type:"font",mode:s,font:"math"+i.slice(1),body:{type:"ordgroup",mode:n.mode,body:u}}},htmlBuilder:o2,mathmlBuilder:u2});var Pw=(e,t)=>{var n=t.style,i=n.fracNum(),a=n.fracDen(),s;s=t.havingStyle(i);var u=Je(e.numer,s,t);if(e.continued){var c=8.5/t.fontMetrics().ptPerEm,f=3.5/t.fontMetrics().ptPerEm;u.height=u.height<c?c:u.height,u.depth=u.depth<f?f:u.depth}s=t.havingStyle(a);var d=Je(e.denom,s,t),m,p,k;e.hasBarLine?(e.barSize?(p=pt(e.barSize,t),m=dl("frac-line",t,p)):m=dl("frac-line",t),p=m.height,k=m.height):(m=null,p=0,k=t.fontMetrics().defaultRuleThickness);var b,E,z;n.size===Be.DISPLAY.size?(b=t.fontMetrics().num1,p>0?E=3*k:E=7*k,z=t.fontMetrics().denom1):(p>0?(b=t.fontMetrics().num2,E=k):(b=t.fontMetrics().num3,E=3*k),z=t.fontMetrics().denom2);var j;if(m){var R=t.fontMetrics().axisHeight;b-u.depth-(R+.5*p)<E&&(b+=E-(b-u.depth-(R+.5*p))),R-.5*p-(d.height-z)<E&&(z+=E-(R-.5*p-(d.height-z)));var q=-(R-.5*p);j=Ze({positionType:"individualShift",children:[{type:"elem",elem:d,shift:z},{type:"elem",elem:m,shift:q},{type:"elem",elem:u,shift:-b}]})}else{var M=b-u.depth-(d.height-z);M<E&&(b+=.5*(E-M),z+=.5*(E-M)),j=Ze({positionType:"individualShift",children:[{type:"elem",elem:d,shift:z},{type:"elem",elem:u,shift:-b}]})}s=t.havingStyle(n),j.height*=s.sizeMultiplier/t.sizeMultiplier,j.depth*=s.sizeMultiplier/t.sizeMultiplier;var J;n.size===Be.DISPLAY.size?J=t.fontMetrics().delim1:n.size===Be.SCRIPTSCRIPT.size?J=t.havingStyle(Be.SCRIPT).fontMetrics().delim2:J=t.fontMetrics().delim2;var Y,O;return e.leftDelim==null?Y=ya(t,["mopen"]):Y=Tc(e.leftDelim,J,!0,t.havingStyle(n),e.mode,["mopen"]),e.continued?O=oe([]):e.rightDelim==null?O=ya(t,["mclose"]):O=Tc(e.rightDelim,J,!0,t.havingStyle(n),e.mode,["mclose"]),oe(["mord"].concat(s.sizingClasses(t)),[Y,oe(["mfrac"],[j]),O],t)},Rw=(e,t)=>{var n=new fe("mfrac",[rt(e.numer,t),rt(e.denom,t)]);if(!e.hasBarLine)n.setAttribute("linethickness","0px");else if(e.barSize){var i=pt(e.barSize,t);n.setAttribute("linethickness",pe(i))}if(e.leftDelim!=null||e.rightDelim!=null){var a=[];if(e.leftDelim!=null){var s=new fe("mo",[new St(e.leftDelim.replace("\\",""))]);s.setAttribute("fence","true"),a.push(s)}if(a.push(n),e.rightDelim!=null){var u=new fe("mo",[new St(e.rightDelim.replace("\\",""))]);u.setAttribute("fence","true"),a.push(u)}return l1(a)}return n},c2=(e,t)=>{if(!t)return e;var n={type:"styling",mode:e.mode,style:t,body:[e]};return n};ye({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:n,funcName:i}=e,a=t[0],s=t[1],u,c=null,f=null;switch(i){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":u=!0;break;case"\\\\atopfrac":u=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":u=!1,c="(",f=")";break;case"\\\\bracefrac":u=!1,c="\\{",f="\\}";break;case"\\\\brackfrac":u=!1,c="[",f="]";break;default:throw new Error("Unrecognized genfrac command")}var d=i==="\\cfrac",m=null;return d||i.startsWith("\\d")?m="display":i.startsWith("\\t")&&(m="text"),c2({type:"genfrac",mode:n.mode,numer:a,denom:s,continued:d,hasBarLine:u,leftDelim:c,rightDelim:f,barSize:null},m)},htmlBuilder:Pw,mathmlBuilder:Rw});ye({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:n,token:i}=e,a;switch(n){case"\\over":a="\\frac";break;case"\\choose":a="\\binom";break;case"\\atop":a="\\\\atopfrac";break;case"\\brace":a="\\\\bracefrac";break;case"\\brack":a="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:a,token:i}}});var Dm=["display","text","script","scriptscript"],Lm=function(t){var n=null;return t.length>0&&(n=t,n=n==="."?null:n),n};ye({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var{parser:n}=e,i=t[4],a=t[5],s=lo(t[0]),u=s.type==="atom"&&s.family==="open"?Lm(s.text):null,c=lo(t[1]),f=c.type==="atom"&&c.family==="close"?Lm(c.text):null,d=He(t[2],"size"),m,p=null;d.isBlank?m=!0:(p=d.value,m=p.number>0);var k=null,b=t[3];if(b.type==="ordgroup"){if(b.body.length>0){var E=He(b.body[0],"textord");k=Dm[Number(E.text)]}}else b=He(b,"textord"),k=Dm[Number(b.text)];return c2({type:"genfrac",mode:n.mode,numer:i,denom:a,continued:!1,hasBarLine:m,barSize:p,leftDelim:u,rightDelim:f},k)}});ye({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:n,funcName:i,token:a}=e;return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:He(t[0],"size").value,token:a}}});ye({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:n,funcName:i}=e,a=t[0],s=He(t[1],"infix").size;if(!s)throw new Error("\\\\abovefrac expected size, but got "+String(s));var u=t[2],c=s.number>0;return{type:"genfrac",mode:n.mode,numer:a,denom:u,continued:!1,hasBarLine:c,barSize:s,leftDelim:null,rightDelim:null}}});var h2=(e,t)=>{var n=t.style,i,a;e.type==="supsub"?(i=e.sup?Je(e.sup,t.havingStyle(n.sup()),t):Je(e.sub,t.havingStyle(n.sub()),t),a=He(e.base,"horizBrace")):a=He(e,"horizBrace");var s=Je(a.base,t.havingBaseStyle(Be.DISPLAY)),u=go(a,t),c;if(a.isOver?c=Ze({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:u,wrapperClasses:["svg-align"]}]}):c=Ze({positionType:"bottom",positionData:s.depth+.1+u.height,children:[{type:"elem",elem:u,wrapperClasses:["svg-align"]},{type:"kern",size:.1},{type:"elem",elem:s}]}),i){var f=oe(["minner",a.isOver?"mover":"munder"],[c],t);a.isOver?c=Ze({positionType:"firstBaseline",children:[{type:"elem",elem:f},{type:"kern",size:.2},{type:"elem",elem:i}]}):c=Ze({positionType:"bottom",positionData:f.depth+.2+i.height+i.depth,children:[{type:"elem",elem:i},{type:"kern",size:.2},{type:"elem",elem:f}]})}return oe(["minner",a.isOver?"mover":"munder"],[c],t)},Fw=(e,t)=>{var n=po(e.label);return new fe(e.isOver?"mover":"munder",[rt(e.base,t),n])};ye({type:"horizBrace",names:["\\overbrace","\\underbrace","\\overbracket","\\underbracket"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:i}=e;return{type:"horizBrace",mode:n.mode,label:i,isOver:i.includes("\\over"),base:t[0]}},htmlBuilder:h2,mathmlBuilder:Fw});ye({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,i=t[1],a=He(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:a})?{type:"href",mode:n.mode,href:a,body:bt(i)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var n=zt(e.body,t,!1);return Qx(e.href,[],n,t)},mathmlBuilder:(e,t)=>{var n=Zr(e.body,t);return n instanceof fe||(n=new fe("mrow",[n])),n.setAttribute("href",e.href),n}});ye({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,i=He(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:i}))return n.formatUnsupportedCmd("\\url");for(var a=[],s=0;s<i.length;s++){var u=i[s];u==="~"&&(u="\\textasciitilde"),a.push({type:"textord",mode:"text",text:u})}var c={type:"text",mode:n.mode,font:"\\texttt",body:a};return{type:"href",mode:n.mode,href:i,body:bt(c)}}});ye({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:bt(t[0])}},htmlBuilder(e,t){var n=zt(e.body,t.withFont(""),!1);return kr(n)},mathmlBuilder(e,t){return new fe("mrow",xn(e.body,t.withFont("")))}});ye({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:i,token:a}=e,s=He(t[0],"raw").string,u=t[1];n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var c,f={};switch(i){case"\\htmlClass":f.class=s,c={command:"\\htmlClass",class:s};break;case"\\htmlId":f.id=s,c={command:"\\htmlId",id:s};break;case"\\htmlStyle":f.style=s,c={command:"\\htmlStyle",style:s};break;case"\\htmlData":{for(var d=s.split(","),m=0;m<d.length;m++){var p=d[m],k=p.indexOf("=");if(k<0)throw new ce("\\htmlData key/value '"+p+"' missing equals sign");var b=p.slice(0,k),E=p.slice(k+1);f["data-"+b.trim()]=E}c={command:"\\htmlData",attributes:f};break}default:throw new Error("Unrecognized html command")}return n.settings.isTrusted(c)?{type:"html",mode:n.mode,attributes:f,body:bt(u)}:n.formatUnsupportedCmd(i)},htmlBuilder:(e,t)=>{var n=zt(e.body,t,!1),i=["enclosing"];e.attributes.class&&i.push(...e.attributes.class.trim().split(/\s+/));var a=oe(i,n,t);for(var s in e.attributes)s!=="class"&&e.attributes.hasOwnProperty(s)&&a.setAttribute(s,e.attributes[s]);return a},mathmlBuilder:(e,t)=>Zr(e.body,t)});ye({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInArgument:!0,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"htmlmathml",mode:n.mode,html:bt(t[0]),mathml:bt(t[1])}},htmlBuilder:(e,t)=>{var n=zt(e.html,t,!1);return kr(n)},mathmlBuilder:(e,t)=>Zr(e.mathml,t)});var Wu=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 ce("Invalid size: '"+t+"' in \\includegraphics");var i={number:+(n[1]+n[2]),unit:n[3]};if(!N4(i))throw new ce("Invalid unit: '"+i.unit+"' in \\includegraphics.");return i};ye({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,n)=>{var{parser:i}=e,a={number:0,unit:"em"},s={number:.9,unit:"em"},u={number:0,unit:"em"},c="";if(n[0])for(var f=He(n[0],"raw").string,d=f.split(","),m=0;m<d.length;m++){var p=d[m].split("=");if(p.length===2){var k=p[1].trim();switch(p[0].trim()){case"alt":c=k;break;case"width":a=Wu(k);break;case"height":s=Wu(k);break;case"totalheight":u=Wu(k);break;default:throw new ce("Invalid key: '"+p[0]+"' in \\includegraphics.")}}}var b=He(t[0],"url").url;return c===""&&(c=b,c=c.replace(/^.*[\\/]/,""),c=c.substring(0,c.lastIndexOf("."))),i.settings.isTrusted({command:"\\includegraphics",url:b})?{type:"includegraphics",mode:i.mode,alt:c,width:a,height:s,totalheight:u,src:b}:i.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var n=pt(e.height,t),i=0;e.totalheight.number>0&&(i=pt(e.totalheight,t)-n);var a=0;e.width.number>0&&(a=pt(e.width,t));var s={height:pe(n+i)};a>0&&(s.width=pe(a)),i>0&&(s.verticalAlign=pe(-i));var u=new Bx(e.src,e.alt,s);return u.height=n,u.depth=i,u},mathmlBuilder:(e,t)=>{var n=new fe("mglyph",[]);n.setAttribute("alt",e.alt);var i=pt(e.height,t),a=0;if(e.totalheight.number>0&&(a=pt(e.totalheight,t)-i,n.setAttribute("valign",pe(-a))),n.setAttribute("height",pe(i+a)),e.width.number>0){var s=pt(e.width,t);n.setAttribute("width",pe(s))}return n.setAttribute("src",e.src),n}});ye({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:i}=e,a=He(t[0],"size");if(n.settings.strict){var s=i[1]==="m",u=a.value.unit==="mu";s?(u||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+i+" supports only mu units, "+("not "+a.value.unit+" units")),n.mode!=="math"&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+i+" works only in math mode")):u&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+i+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:a.value}},htmlBuilder(e,t){return L4(e.dimension,t)},mathmlBuilder(e,t){var n=pt(e.dimension,t);return new _4(n)}});ye({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:i}=e,a=t[0];return{type:"lap",mode:n.mode,alignment:i.slice(5),body:a}},htmlBuilder:(e,t)=>{var n;e.alignment==="clap"?(n=oe([],[Je(e.body,t)]),n=oe(["inner"],[n],t)):n=oe(["inner"],[Je(e.body,t)]);var i=oe(["fix"],[]),a=oe([e.alignment],[n,i],t),s=oe(["strut"]);return s.style.height=pe(a.height+a.depth),a.depth&&(s.style.verticalAlign=pe(-a.depth)),a.children.unshift(s),a=oe(["thinbox"],[a],t),oe(["mord","vbox"],[a],t)},mathmlBuilder:(e,t)=>{var n=new fe("mpadded",[rt(e.body,t)]);if(e.alignment!=="rlap"){var i=e.alignment==="llap"?"-1":"-0.5";n.setAttribute("lspace",i+"width")}return n.setAttribute("width","0px"),n}});ye({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:n,parser:i}=e,a=i.mode;i.switchMode("math");var s=n==="\\("?"\\)":"$",u=i.parseExpression(!1,s);return i.expect(s),i.switchMode(a),{type:"styling",mode:i.mode,style:"text",resetFont:!0,body:u}}});ye({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new ce("Mismatched "+e.funcName)}});var Pm=(e,t)=>{switch(t.style.size){case Be.DISPLAY.size:return e.display;case Be.TEXT.size:return e.text;case Be.SCRIPT.size:return e.script;case Be.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};ye({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"mathchoice",mode:n.mode,display:bt(t[0]),text:bt(t[1]),script:bt(t[2]),scriptscript:bt(t[3])}},htmlBuilder:(e,t)=>{var n=Pm(e,t),i=zt(n,t,!1);return kr(i)},mathmlBuilder:(e,t)=>{var n=Pm(e,t);return Zr(n,t)}});var f2=(e,t,n,i,a,s,u)=>{e=oe([],[e]);var c=n&&xr(n),f,d;if(t){var m=Je(t,i.havingStyle(a.sup()),i);d={elem:m,kern:Math.max(i.fontMetrics().bigOpSpacing1,i.fontMetrics().bigOpSpacing3-m.depth)}}if(n){var p=Je(n,i.havingStyle(a.sub()),i);f={elem:p,kern:Math.max(i.fontMetrics().bigOpSpacing2,i.fontMetrics().bigOpSpacing4-p.height)}}var k;if(d&&f){var b=i.fontMetrics().bigOpSpacing5+f.elem.height+f.elem.depth+f.kern+e.depth+u;k=Ze({positionType:"bottom",positionData:b,children:[{type:"kern",size:i.fontMetrics().bigOpSpacing5},{type:"elem",elem:f.elem,marginLeft:pe(-s)},{type:"kern",size:f.kern},{type:"elem",elem:e},{type:"kern",size:d.kern},{type:"elem",elem:d.elem,marginLeft:pe(s)},{type:"kern",size:i.fontMetrics().bigOpSpacing5}]})}else if(f){var E=e.height-u;k=Ze({positionType:"top",positionData:E,children:[{type:"kern",size:i.fontMetrics().bigOpSpacing5},{type:"elem",elem:f.elem,marginLeft:pe(-s)},{type:"kern",size:f.kern},{type:"elem",elem:e}]})}else if(d){var z=e.depth+u;k=Ze({positionType:"bottom",positionData:z,children:[{type:"elem",elem:e},{type:"kern",size:d.kern},{type:"elem",elem:d.elem,marginLeft:pe(s)},{type:"kern",size:i.fontMetrics().bigOpSpacing5}]})}else return e;var j=[k];if(f&&s!==0&&!c){var M=oe(["mspace"],[],i);M.style.marginRight=pe(s),j.unshift(M)}return oe(["mop","op-limits"],j,i)},d2=new Set(["\\smallint"]),wl=(e,t)=>{var n,i,a=!1,s;e.type==="supsub"?(n=e.sup,i=e.sub,s=He(e.base,"op"),a=!0):s=He(e,"op");var u=t.style,c=!1;u.size===Be.DISPLAY.size&&s.symbol&&!d2.has(s.name)&&(c=!0);var f,d;if(s.symbol){var m=c?"Size2-Regular":"Size1-Regular",p="";if((s.name==="\\oiint"||s.name==="\\oiiint")&&(p=s.name.slice(1),s.name=p==="oiint"?"\\iint":"\\iiint"),f=Xt(s.name,m,"math",t,["mop","op-symbol",c?"large-op":"small-op"]),d=f.italic,p.length>0){var k=R4(p+"Size"+(c?"2":"1"),t);f=Ze({positionType:"individualShift",children:[{type:"elem",elem:f,shift:0},{type:"elem",elem:k,shift:c?.08:0}]}),s.name="\\"+p,f.classes.unshift("mop"),f.italic=d}}else if(s.body){var b=zt(s.body,t,!0);b.length===1&&b[0]instanceof vn?(f=b[0],f.classes[0]="mop"):f=oe(["mop"],b,t)}else{for(var E=[],z=1;z<s.name.length;z++)E.push(r1(s.name[z],s.mode,t));f=oe(["mop"],E,t)}var j=0,M=0;if((f instanceof vn||s.name==="\\oiint"||s.name==="\\oiiint")&&!s.suppressBaseShift){var R;j=(f.height-f.depth)/2-t.fontMetrics().axisHeight,M=(R=f.italic)!=null?R:0}return a?f2(f,n,i,t,u,M,j):(j&&(f.style.position="relative",f.style.top=pe(j)),f)},Ta=(e,t)=>{var n;if(e.symbol)n=new fe("mo",[jn(e.name,e.mode)]),d2.has(e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new fe("mo",xn(e.body,t));else{n=new fe("mi",[new St(e.name.slice(1))]);var i=new fe("mo",[jn("⁡","text")]);e.parentIsSupSub?n=new fe("mrow",[n,i]):n=B4([n,i])}return n},Ow={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};ye({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:i}=e,a=i;return a.length===1&&(a=Ow[a]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:wl,mathmlBuilder:Ta});ye({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:n}=e,i=t[0];return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:bt(i)}},htmlBuilder:wl,mathmlBuilder:Ta});var Bw={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};ye({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:wl,mathmlBuilder:Ta});ye({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:wl,mathmlBuilder:Ta});ye({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0,allowedInArgument:!0},handler(e){var{parser:t,funcName:n}=e,i=n;return i.length===1&&(i=Bw[i]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:wl,mathmlBuilder:Ta});var m2=(e,t)=>{var n,i,a=!1,s;e.type==="supsub"?(n=e.sup,i=e.sub,s=He(e.base,"operatorname"),a=!0):s=He(e,"operatorname");var u;if(s.body.length>0){for(var c=s.body.map(p=>{var k="text"in p?p.text:void 0;return typeof k=="string"?{type:"textord",mode:p.mode,text:k}:p}),f=zt(c,t.withFont("mathrm"),!0),d=0;d<f.length;d++){var m=f[d];m instanceof vn&&(m.text=m.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}u=oe(["mop"],f,t)}else u=oe(["mop"],[],t);return a?f2(u,n,i,t,t.style,0,0):u},_w=(e,t)=>{for(var n=xn(e.body,t.withFont("mathrm")),i=!0,a=0;a<n.length;a++){var s=n[a];if(!(s instanceof _4))if(s instanceof fe)switch(s.type){case"mi":case"mn":case"mspace":case"mtext":break;case"mo":{var u=s.children[0];s.children.length===1&&u instanceof St?u.text=u.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):i=!1;break}default:i=!1}else i=!1}if(i){var c=n.map(m=>m.toText()).join("");n=[new St(c)]}var f=new fe("mi",n);f.setAttribute("mathvariant","normal");var d=new fe("mo",[jn("⁡","text")]);return e.parentIsSupSub?new fe("mrow",[f,d]):B4([f,d])};ye({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:i}=e,a=t[0];return{type:"operatorname",mode:n.mode,body:bt(a),alwaysHandleSupSub:i==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:m2,mathmlBuilder:_w});T("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");Di({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?kr(zt(e.body,t,!1)):oe(["mord"],zt(e.body,t,!0),t)},mathmlBuilder(e,t){return Zr(e.body,t,!0)}});ye({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:n}=e,i=t[0];return{type:"overline",mode:n.mode,body:i}},htmlBuilder(e,t){var n=Je(e.body,t.havingCrampedStyle()),i=dl("overline-line",t),a=t.fontMetrics().defaultRuleThickness,s=Ze({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*a},{type:"elem",elem:i},{type:"kern",size:a}]});return oe(["mord","overline"],[s],t)},mathmlBuilder(e,t){var n=new fe("mo",[new St("‾")]);n.setAttribute("stretchy","true");var i=new fe("mover",[rt(e.body,t),n]);return i.setAttribute("accent","true"),i}});ye({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,i=t[0];return{type:"phantom",mode:n.mode,body:bt(i)}},htmlBuilder:(e,t)=>{var n=zt(e.body,t.withPhantom(),!1);return kr(n)},mathmlBuilder:(e,t)=>{var n=xn(e.body,t);return new fe("mphantom",n)}});T("\\hphantom","\\smash{\\phantom{#1}}");ye({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,i=t[0];return{type:"vphantom",mode:n.mode,body:i}},htmlBuilder:(e,t)=>{var n=oe(["inner"],[Je(e.body,t.withPhantom())]),i=oe(["fix"],[]);return oe(["mord","rlap"],[n,i],t)},mathmlBuilder:(e,t)=>{var n=xn(bt(e.body),t),i=new fe("mphantom",n),a=new fe("mpadded",[i]);return a.setAttribute("width","0px"),a}});ye({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:n}=e,i=He(t[0],"size").value,a=t[1];return{type:"raisebox",mode:n.mode,dy:i,body:a}},htmlBuilder(e,t){var n=Je(e.body,t),i=pt(e.dy,t);return Ze({positionType:"shift",positionData:-i,children:[{type:"elem",elem:n}]})},mathmlBuilder(e,t){var n=new fe("mpadded",[rt(e.body,t)]),i=e.dy.number+e.dy.unit;return n.setAttribute("voffset",i),n}});ye({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}});ye({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,t,n){var{parser:i}=e,a=n[0],s=He(t[0],"size"),u=He(t[1],"size");return{type:"rule",mode:i.mode,shift:a&&He(a,"size").value,width:s.value,height:u.value}},htmlBuilder(e,t){var n=oe(["mord","rule"],[],t),i=pt(e.width,t),a=pt(e.height,t),s=e.shift?pt(e.shift,t):0;return n.style.borderRightWidth=pe(i),n.style.borderTopWidth=pe(a),n.style.bottom=pe(s),n.width=i,n.height=a+s,n.depth=-s,n.maxFontSize=a*1.125*t.sizeMultiplier,n},mathmlBuilder(e,t){var n=pt(e.width,t),i=pt(e.height,t),a=e.shift?pt(e.shift,t):0,s=t.color&&t.getColor()||"black",u=new fe("mspace");u.setAttribute("mathbackground",s),u.setAttribute("width",pe(n)),u.setAttribute("height",pe(i));var c=new fe("mpadded",[u]);return a>=0?c.setAttribute("height",pe(a)):(c.setAttribute("height",pe(a)),c.setAttribute("depth",pe(-a))),c.setAttribute("voffset",pe(a)),c}});function p2(e,t,n){for(var i=zt(e,t,!1),a=t.sizeMultiplier/n.sizeMultiplier,s=0;s<i.length;s++){var u=i[s].classes.indexOf("sizing");u<0?Array.prototype.push.apply(i[s].classes,t.sizingClasses(n)):i[s].classes[u+1]==="reset-size"+t.size&&(i[s].classes[u+1]="reset-size"+n.size),i[s].height*=a,i[s].depth*=a}return kr(i)}var Rm=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],qw=(e,t)=>{var n=t.havingSize(e.size);return p2(e.body,n,t)};ye({type:"sizing",names:Rm,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:n,funcName:i,parser:a}=e,s=a.parseExpression(!1,n);return{type:"sizing",mode:a.mode,size:Rm.indexOf(i)+1,body:s}},htmlBuilder:qw,mathmlBuilder:(e,t)=>{var n=t.havingSize(e.size),i=xn(e.body,n),a=new fe("mstyle",i);return a.setAttribute("mathsize",pe(n.sizeMultiplier)),a}});ye({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,n)=>{var{parser:i}=e,a=!1,s=!1,u=n[0]&&He(n[0],"ordgroup");if(u)for(var c,f=0;f<u.body.length;++f){var d=u.body[f];if(c=vo(d).text,c==="t")a=!0;else if(c==="b")s=!0;else{a=!1,s=!1;break}}else a=!0,s=!0;var m=t[0];return{type:"smash",mode:i.mode,body:m,smashHeight:a,smashDepth:s}},htmlBuilder:(e,t)=>{var n=oe([],[Je(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0),e.smashDepth&&(n.depth=0),e.smashHeight&&e.smashDepth)return oe(["mord","smash"],[n],t);if(n.children)for(var i=0;i<n.children.length;i++)e.smashHeight&&(n.children[i].height=0),e.smashDepth&&(n.children[i].depth=0);var a=Ze({positionType:"firstBaseline",children:[{type:"elem",elem:n}]});return oe(["mord"],[a],t)},mathmlBuilder:(e,t)=>{var n=new fe("mpadded",[rt(e.body,t)]);return e.smashHeight&&n.setAttribute("height","0px"),e.smashDepth&&n.setAttribute("depth","0px"),n}});ye({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:i}=e,a=n[0],s=t[0];return{type:"sqrt",mode:i.mode,body:s,index:a}},htmlBuilder(e,t){var n=Je(e.body,t.havingCrampedStyle());n.height===0&&(n.height=t.fontMetrics().xHeight),n=ml(n,t);var i=t.fontMetrics(),a=i.defaultRuleThickness,s=a;t.style.id<Be.TEXT.id&&(s=t.fontMetrics().xHeight);var u=a+s/4,c=n.height+n.depth+u+a,{span:f,ruleWidth:d,advanceWidth:m}=Nw(c,t),p=f.height-d;p>n.height+n.depth+u&&(u=(u+p-n.height-n.depth)/2);var k=f.height-n.height-u-d;n.style.paddingLeft=pe(m);var b=Ze({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+k)},{type:"elem",elem:f},{type:"kern",size:d}]});if(e.index){var E=t.havingStyle(Be.SCRIPTSCRIPT),z=Je(e.index,E,t),j=.6*(b.height-b.depth),M=Ze({positionType:"shift",positionData:-j,children:[{type:"elem",elem:z}]}),R=oe(["root"],[M]);return oe(["mord","sqrt"],[R,b],t)}else return oe(["mord","sqrt"],[b],t)},mathmlBuilder(e,t){var{body:n,index:i}=e;return i?new fe("mroot",[rt(n,t),rt(i,t)]):new fe("msqrt",[rt(n,t)])}});var Ec={display:Be.DISPLAY,text:Be.TEXT,script:Be.SCRIPT,scriptscript:Be.SCRIPTSCRIPT};function Hw(e){return e in Ec}ye({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:n,funcName:i,parser:a}=e,s=a.parseExpression(!0,n),u=i.slice(1,i.length-5);if(!Hw(u))throw new Error("Unknown style: "+u);return{type:"styling",mode:a.mode,style:u,body:s}},htmlBuilder(e,t){var n=Ec[e.style],i=t.havingStyle(n);return e.resetFont&&(i=i.withFont("")),p2(e.body,i,t)},mathmlBuilder(e,t){var n=Ec[e.style],i=t.havingStyle(n);e.resetFont&&(i=i.withFont(""));var a=xn(e.body,i),s=new fe("mstyle",a),u={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},c=u[e.style];return s.setAttribute("scriptlevel",c[0]),s.setAttribute("displaystyle",c[1]),s}});var Uw=function(t,n){var i=t.base;if(i)if(i.type==="op"){var a=i.limits&&(n.style.size===Be.DISPLAY.size||i.alwaysHandleSupSub);return a?wl:null}else if(i.type==="operatorname"){var s=i.alwaysHandleSupSub&&(n.style.size===Be.DISPLAY.size||i.limits);return s?m2:null}else{if(i.type==="accent")return xr(i.base)?s1:null;if(i.type==="horizBrace"){var u=!t.sub;return u===i.isOver?h2:null}else return null}else return null};Di({type:"supsub",htmlBuilder(e,t){var n=Uw(e,t);if(n)return n(e,t);var{base:i,sup:a,sub:s}=e,u=Je(i,t),c,f,d=t.fontMetrics(),m=0,p=0,k=i&&xr(i);if(a){var b=t.havingStyle(t.style.sup());c=Je(a,b,t),k||(m=u.height-b.fontMetrics().supDrop*b.sizeMultiplier/t.sizeMultiplier)}if(s){var E=t.havingStyle(t.style.sub());f=Je(s,E,t),k||(p=u.depth+E.fontMetrics().subDrop*E.sizeMultiplier/t.sizeMultiplier)}var z;t.style===Be.DISPLAY?z=d.sup1:t.style.cramped?z=d.sup3:z=d.sup2;var j=t.sizeMultiplier,M=pe(.5/d.ptPerEm/j),R=null;if(f){var q=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");if(u instanceof vn||q){var J;R=pe(-((J=u.italic)!=null?J:0))}}var Y;if(c&&f){m=Math.max(m,z,c.depth+.25*d.xHeight),p=Math.max(p,d.sub2);var O=d.defaultRuleThickness,Q=4*O;if(m-c.depth-(f.height-p)<Q){p=Q-(m-c.depth)+f.height;var te=.8*d.xHeight-(m-c.depth);te>0&&(m+=te,p-=te)}var ne=[{type:"elem",elem:f,shift:p,marginRight:M,marginLeft:R},{type:"elem",elem:c,shift:-m,marginRight:M}];Y=Ze({positionType:"individualShift",children:ne})}else if(f){p=Math.max(p,d.sub1,f.height-.8*d.xHeight);var H=[{type:"elem",elem:f,marginLeft:R,marginRight:M}];Y=Ze({positionType:"shift",positionData:p,children:H})}else if(c)m=Math.max(m,z,c.depth+.25*d.xHeight),Y=Ze({positionType:"shift",positionData:-m,children:[{type:"elem",elem:c,marginRight:M}]});else throw new Error("supsub must have either sup or sub.");var de=kc(u,"right")||"mord";return oe([de],[u,oe(["msupsub"],[Y])],t)},mathmlBuilder(e,t){var n=!1,i,a;e.base&&e.base.type==="horizBrace"&&(a=!!e.sup,a===e.base.isOver&&(n=!0,i=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var s=[rt(e.base,t)];e.sub&&s.push(rt(e.sub,t)),e.sup&&s.push(rt(e.sup,t));var u;if(n)u=i?"mover":"munder";else if(e.sub)if(e.sup){var d=e.base;d&&d.type==="op"&&d.limits&&t.style===Be.DISPLAY||d&&d.type==="operatorname"&&d.alwaysHandleSupSub&&(t.style===Be.DISPLAY||d.limits)?u="munderover":u="msubsup"}else{var f=e.base;f&&f.type==="op"&&f.limits&&(t.style===Be.DISPLAY||f.alwaysHandleSupSub)||f&&f.type==="operatorname"&&f.alwaysHandleSupSub&&(f.limits||t.style===Be.DISPLAY)?u="munder":u="msub"}else{var c=e.base;c&&c.type==="op"&&c.limits&&(t.style===Be.DISPLAY||c.alwaysHandleSupSub)||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(c.limits||t.style===Be.DISPLAY)?u="mover":u="msup"}return new fe(u,s)}});Di({type:"atom",htmlBuilder(e,t){return r1(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var n=new fe("mo",[jn(e.text,e.mode)]);if(e.family==="bin"){var i=a1(e,t);i==="bold-italic"&&n.setAttribute("mathvariant",i)}else e.family==="punct"?n.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&n.setAttribute("stretchy","false");return n}});var g2={mi:"italic",mn:"normal",mtext:"normal"};Di({type:"mathord",htmlBuilder(e,t){return mo(e,t,"mathord")},mathmlBuilder(e,t){var n=new fe("mi",[jn(e.text,e.mode,t)]),i=a1(e,t)||"italic";return i!==g2[n.type]&&n.setAttribute("mathvariant",i),n}});Di({type:"textord",htmlBuilder(e,t){return mo(e,t,"textord")},mathmlBuilder(e,t){var n=jn(e.text,e.mode,t),i=a1(e,t)||"normal",a;return e.mode==="text"?a=new fe("mtext",[n]):/[0-9]/.test(e.text)?a=new fe("mn",[n]):e.text==="\\prime"?a=new fe("mo",[n]):a=new fe("mi",[n]),i!==g2[a.type]&&a.setAttribute("mathvariant",i),a}});var Gu={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Xu={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Di({type:"spacing",htmlBuilder(e,t){if(Xu.hasOwnProperty(e.text)){var n=Xu[e.text].className||"";if(e.mode==="text"){var i=mo(e,t,"textord");return i.classes.push(n),i}else return oe(["mspace",n],[r1(e.text,e.mode,t)],t)}else{if(Gu.hasOwnProperty(e.text))return oe(["mspace",Gu[e.text]],[],t);throw new ce('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var n;if(Xu.hasOwnProperty(e.text))n=new fe("mtext",[new St(" ")]);else{if(Gu.hasOwnProperty(e.text))return new fe("mspace");throw new ce('Unknown type of space "'+e.text+'"')}return n}});var Fm=()=>{var e=new fe("mtd",[]);return e.setAttribute("width","50%"),e};Di({type:"tag",mathmlBuilder(e,t){var n=new fe("mtable",[new fe("mtr",[Fm(),new fe("mtd",[Zr(e.body,t)]),Fm(),new fe("mtd",[Zr(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});var Om={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Bm={"\\textbf":"textbf","\\textmd":"textmd"},$w={"\\textit":"textit","\\textup":"textup"},_m=(e,t)=>{var n=e.font;if(n){if(Om[n])return t.withTextFontFamily(Om[n]);if(Bm[n])return t.withTextFontWeight(Bm[n]);if(n==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape($w[n])};ye({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:i}=e,a=t[0];return{type:"text",mode:n.mode,body:bt(a),font:i}},htmlBuilder(e,t){var n=_m(e,t),i=zt(e.body,n,!0);return oe(["mord","text"],i,n)},mathmlBuilder(e,t){var n=_m(e,t);return Zr(e.body,n)}});ye({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=Je(e.body,t),i=dl("underline-line",t),a=t.fontMetrics().defaultRuleThickness,s=Ze({positionType:"top",positionData:n.height,children:[{type:"kern",size:a},{type:"elem",elem:i},{type:"kern",size:3*a},{type:"elem",elem:n}]});return oe(["mord","underline"],[s],t)},mathmlBuilder(e,t){var n=new fe("mo",[new St("‾")]);n.setAttribute("stretchy","true");var i=new fe("munder",[rt(e.body,t),n]);return i.setAttribute("accentunder","true"),i}});ye({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=Je(e.body,t),i=t.fontMetrics().axisHeight,a=.5*(n.height-i-(n.depth+i));return Ze({positionType:"shift",positionData:a,children:[{type:"elem",elem:n}]})},mathmlBuilder(e,t){var n=new fe("mpadded",[rt(e.body,t)],["vcenter"]);return new fe("mrow",[n])}});ye({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,n){throw new ce("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var n=qm(e),i=[],a=t.havingStyle(t.style.text()),s=0;s<n.length;s++){var u=n[s];u==="~"&&(u="\\textasciitilde"),i.push(Xt(u,"Typewriter-Regular",e.mode,a,["mord","texttt"]))}return oe(["mord","text"].concat(a.sizingClasses(t)),D4(i),a)},mathmlBuilder(e,t){var n=new St(qm(e)),i=new fe("mtext",[n]);return i.setAttribute("mathvariant","monospace"),i}});var qm=e=>e.body.replace(/ /g,e.star?"␣":" "),Xr=F4,v2=`[ \r
327
- ]`,Vw="\\\\[a-zA-Z@]+",Ww="\\\\[^\uD800-\uDFFF]",Gw="("+Vw+")"+v2+"*",Xw=`\\\\(
328
- |[ \r ]+
329
- ?)[ \r ]*`,Nc="[̀-ͯ]",Yw=new RegExp(Nc+"+$"),Qw="("+v2+"+)|"+(Xw+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(Nc+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Nc+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+Gw)+("|"+Ww+")");class Hm{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(Qw,"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 gn("EOF",new an(this,n,n));var i=this.tokenRegex.exec(t);if(i===null||i.index!==n)throw new ce("Unexpected character: '"+t[n]+"'",new gn(t[n],new an(this,n,n+1)));var a=i[6]||i[3]||(i[2]?"\\ ":" ");if(this.catcodes[a]===14){var s=t.indexOf(`
330
- `,this.tokenRegex.lastIndex);return s===-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=s+1,this.lex()}return new gn(a,new an(this,n,this.tokenRegex.lastIndex))}}class Kw{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 ce("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,i){if(i===void 0&&(i=!1),i){for(var a=0;a<this.undefStack.length;a++)delete this.undefStack[a][t];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][t]=n)}else{var s=this.undefStack[this.undefStack.length-1];s&&!s.hasOwnProperty(t)&&(s[t]=this.current[t])}n==null?delete this.current[t]:this.current[t]=n}}var Zw=a2;T("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}});T("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}});T("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}});T("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}});T("\\@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}});T("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");T("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var Um={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};T("\\char",function(e){var t=e.popToken(),n,i=0;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]==="\\")i=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new ce("\\char` missing argument");i=t.text.charCodeAt(0)}else n=10;if(n){if(i=Um[t.text],i==null||i>=n)throw new ce("Invalid base-"+n+" digit "+t.text);for(var a;(a=Um[e.future().text])!=null&&a<n;)i*=n,i+=a,e.popToken()}return"\\@char{"+i+"}"});var h1=(e,t,n,i)=>{var a=e.consumeArg().tokens;if(a.length!==1)throw new ce("\\newcommand's first argument must be a macro name");var s=a[0].text,u=e.isDefined(s);if(u&&!t)throw new ce("\\newcommand{"+s+"} attempting to redefine "+(s+"; use \\renewcommand"));if(!u&&!n)throw new ce("\\renewcommand{"+s+"} when command "+s+" does not yet exist; use \\newcommand");var c=0;if(a=e.consumeArg().tokens,a.length===1&&a[0].text==="["){for(var f="",d=e.expandNextToken();d.text!=="]"&&d.text!=="EOF";)f+=d.text,d=e.expandNextToken();if(!f.match(/^\s*[0-9]+\s*$/))throw new ce("Invalid number of arguments: "+f);c=parseInt(f),a=e.consumeArg().tokens}return u&&i||e.macros.set(s,{tokens:a,numArgs:c}),""};T("\\newcommand",e=>h1(e,!1,!0,!1));T("\\renewcommand",e=>h1(e,!0,!1,!1));T("\\providecommand",e=>h1(e,!0,!0,!0));T("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(n=>n.text).join("")),""});T("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(n=>n.text).join("")),""});T("\\show",e=>{var t=e.popToken(),n=t.text;return console.log(t,e.macros.get(n),Xr[n],ut.math[n],ut.text[n]),""});T("\\bgroup","{");T("\\egroup","}");T("~","\\nobreakspace");T("\\lq","`");T("\\rq","'");T("\\aa","\\r a");T("\\AA","\\r A");T("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");T("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");T("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");T("ℬ","\\mathscr{B}");T("ℰ","\\mathscr{E}");T("ℱ","\\mathscr{F}");T("ℋ","\\mathscr{H}");T("ℐ","\\mathscr{I}");T("ℒ","\\mathscr{L}");T("ℳ","\\mathscr{M}");T("ℛ","\\mathscr{R}");T("ℭ","\\mathfrak{C}");T("ℌ","\\mathfrak{H}");T("ℨ","\\mathfrak{Z}");T("\\Bbbk","\\Bbb{k}");T("\\llap","\\mathllap{\\textrm{#1}}");T("\\rlap","\\mathrlap{\\textrm{#1}}");T("\\clap","\\mathclap{\\textrm{#1}}");T("\\mathstrut","\\vphantom{(}");T("\\underbar","\\underline{\\text{#1}}");T("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}\\nobreak}{\\char"338}');T("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");T("\\ne","\\neq");T("≠","\\neq");T("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");T("∉","\\notin");T("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");T("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");T("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");T("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");T("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");T("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");T("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");T("⟂","\\perp");T("‼","\\mathclose{!\\mkern-0.8mu!}");T("∌","\\notni");T("⌜","\\ulcorner");T("⌝","\\urcorner");T("⌞","\\llcorner");T("⌟","\\lrcorner");T("©","\\copyright");T("®","\\textregistered");T("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');T("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');T("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');T("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');T("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");T("⋮","\\vdots");T("\\varGamma","\\mathit{\\Gamma}");T("\\varDelta","\\mathit{\\Delta}");T("\\varTheta","\\mathit{\\Theta}");T("\\varLambda","\\mathit{\\Lambda}");T("\\varXi","\\mathit{\\Xi}");T("\\varPi","\\mathit{\\Pi}");T("\\varSigma","\\mathit{\\Sigma}");T("\\varUpsilon","\\mathit{\\Upsilon}");T("\\varPhi","\\mathit{\\Phi}");T("\\varPsi","\\mathit{\\Psi}");T("\\varOmega","\\mathit{\\Omega}");T("\\substack","\\begin{subarray}{c}#1\\end{subarray}");T("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");T("\\boxed","\\fbox{$\\displaystyle{#1}$}");T("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");T("\\implies","\\DOTSB\\;\\Longrightarrow\\;");T("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");T("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");T("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var $m={",":"\\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"},Jw=new Set(["bin","rel"]);T("\\dots",function(e){var t="\\dotso",n=e.expandAfterFuture().text;return n in $m?t=$m[n]:(n.slice(0,4)==="\\not"||n in ut.math&&Jw.has(ut.math[n].group))&&(t="\\dotsb"),t});var f1={")":!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};T("\\dotso",function(e){var t=e.future().text;return t in f1?"\\ldots\\,":"\\ldots"});T("\\dotsc",function(e){var t=e.future().text;return t in f1&&t!==","?"\\ldots\\,":"\\ldots"});T("\\cdots",function(e){var t=e.future().text;return t in f1?"\\@cdots\\,":"\\@cdots"});T("\\dotsb","\\cdots");T("\\dotsm","\\cdots");T("\\dotsi","\\!\\cdots");T("\\dotsx","\\ldots\\,");T("\\DOTSI","\\relax");T("\\DOTSB","\\relax");T("\\DOTSX","\\relax");T("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");T("\\,","\\tmspace+{3mu}{.1667em}");T("\\thinspace","\\,");T("\\>","\\mskip{4mu}");T("\\:","\\tmspace+{4mu}{.2222em}");T("\\medspace","\\:");T("\\;","\\tmspace+{5mu}{.2777em}");T("\\thickspace","\\;");T("\\!","\\tmspace-{3mu}{.1667em}");T("\\negthinspace","\\!");T("\\negmedspace","\\tmspace-{4mu}{.2222em}");T("\\negthickspace","\\tmspace-{5mu}{.277em}");T("\\enspace","\\kern.5em ");T("\\enskip","\\hskip.5em\\relax");T("\\quad","\\hskip1em\\relax");T("\\qquad","\\hskip2em\\relax");T("\\tag","\\@ifstar\\tag@literal\\tag@paren");T("\\tag@paren","\\tag@literal{({#1})}");T("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new ce("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});T("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");T("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");T("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");T("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");T("\\newline","\\\\\\relax");T("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var y2=pe(Jn["Main-Regular"][84][1]-.7*Jn["Main-Regular"][65][1]);T("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+y2+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");T("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+y2+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");T("\\hspace","\\@ifstar\\@hspacer\\@hspace");T("\\@hspace","\\hskip #1\\relax");T("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");T("\\ordinarycolon",":");T("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");T("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');T("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');T("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');T("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');T("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');T("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');T("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');T("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');T("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');T("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');T("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');T("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');T("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');T("∷","\\dblcolon");T("∹","\\eqcolon");T("≔","\\coloneqq");T("≕","\\eqqcolon");T("⩴","\\Coloneqq");T("\\ratio","\\vcentcolon");T("\\coloncolon","\\dblcolon");T("\\colonequals","\\coloneqq");T("\\coloncolonequals","\\Coloneqq");T("\\equalscolon","\\eqqcolon");T("\\equalscoloncolon","\\Eqqcolon");T("\\colonminus","\\coloneq");T("\\coloncolonminus","\\Coloneq");T("\\minuscolon","\\eqcolon");T("\\minuscoloncolon","\\Eqcolon");T("\\coloncolonapprox","\\Colonapprox");T("\\coloncolonsim","\\Colonsim");T("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");T("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");T("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");T("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");T("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");T("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");T("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");T("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");T("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");T("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");T("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");T("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");T("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");T("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");T("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");T("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");T("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");T("\\nleqq","\\html@mathml{\\@nleqq}{≰}");T("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");T("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");T("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");T("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");T("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");T("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");T("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");T("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");T("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");T("\\imath","\\html@mathml{\\@imath}{ı}");T("\\jmath","\\html@mathml{\\@jmath}{ȷ}");T("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");T("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");T("⟦","\\llbracket");T("⟧","\\rrbracket");T("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");T("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");T("⦃","\\lBrace");T("⦄","\\rBrace");T("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");T("⦵","\\minuso");T("\\darr","\\downarrow");T("\\dArr","\\Downarrow");T("\\Darr","\\Downarrow");T("\\lang","\\langle");T("\\rang","\\rangle");T("\\uarr","\\uparrow");T("\\uArr","\\Uparrow");T("\\Uarr","\\Uparrow");T("\\N","\\mathbb{N}");T("\\R","\\mathbb{R}");T("\\Z","\\mathbb{Z}");T("\\alef","\\aleph");T("\\alefsym","\\aleph");T("\\Alpha","\\mathrm{A}");T("\\Beta","\\mathrm{B}");T("\\bull","\\bullet");T("\\Chi","\\mathrm{X}");T("\\clubs","\\clubsuit");T("\\cnums","\\mathbb{C}");T("\\Complex","\\mathbb{C}");T("\\Dagger","\\ddagger");T("\\diamonds","\\diamondsuit");T("\\empty","\\emptyset");T("\\Epsilon","\\mathrm{E}");T("\\Eta","\\mathrm{H}");T("\\exist","\\exists");T("\\harr","\\leftrightarrow");T("\\hArr","\\Leftrightarrow");T("\\Harr","\\Leftrightarrow");T("\\hearts","\\heartsuit");T("\\image","\\Im");T("\\infin","\\infty");T("\\Iota","\\mathrm{I}");T("\\isin","\\in");T("\\Kappa","\\mathrm{K}");T("\\larr","\\leftarrow");T("\\lArr","\\Leftarrow");T("\\Larr","\\Leftarrow");T("\\lrarr","\\leftrightarrow");T("\\lrArr","\\Leftrightarrow");T("\\Lrarr","\\Leftrightarrow");T("\\Mu","\\mathrm{M}");T("\\natnums","\\mathbb{N}");T("\\Nu","\\mathrm{N}");T("\\Omicron","\\mathrm{O}");T("\\plusmn","\\pm");T("\\rarr","\\rightarrow");T("\\rArr","\\Rightarrow");T("\\Rarr","\\Rightarrow");T("\\real","\\Re");T("\\reals","\\mathbb{R}");T("\\Reals","\\mathbb{R}");T("\\Rho","\\mathrm{P}");T("\\sdot","\\cdot");T("\\sect","\\S");T("\\spades","\\spadesuit");T("\\sub","\\subset");T("\\sube","\\subseteq");T("\\supe","\\supseteq");T("\\Tau","\\mathrm{T}");T("\\thetasym","\\vartheta");T("\\weierp","\\wp");T("\\Zeta","\\mathrm{Z}");T("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");T("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");T("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");T("\\bra","\\mathinner{\\langle{#1}|}");T("\\ket","\\mathinner{|{#1}\\rangle}");T("\\braket","\\mathinner{\\langle{#1}\\rangle}");T("\\Bra","\\left\\langle#1\\right|");T("\\Ket","\\left|#1\\right\\rangle");var x2=e=>t=>{var n=t.consumeArg().tokens,i=t.consumeArg().tokens,a=t.consumeArg().tokens,s=t.consumeArg().tokens,u=t.macros.get("|"),c=t.macros.get("\\|");t.macros.beginGroup();var f=p=>k=>{e&&(k.macros.set("|",u),a.length&&k.macros.set("\\|",c));var b=p;if(!p&&a.length){var E=k.future();E.text==="|"&&(k.popToken(),b=!0)}return{tokens:b?a:i,numArgs:0}};t.macros.set("|",f(!1)),a.length&&t.macros.set("\\|",f(!0));var d=t.consumeArg().tokens,m=t.expandTokens([...s,...d,...n]);return t.macros.endGroup(),{tokens:m.reverse(),numArgs:0}};T("\\bra@ket",x2(!1));T("\\bra@set",x2(!0));T("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");T("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");T("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");T("\\angln","{\\angl n}");T("\\blue","\\textcolor{##6495ed}{#1}");T("\\orange","\\textcolor{##ffa500}{#1}");T("\\pink","\\textcolor{##ff00af}{#1}");T("\\red","\\textcolor{##df0030}{#1}");T("\\green","\\textcolor{##28ae7b}{#1}");T("\\gray","\\textcolor{gray}{#1}");T("\\purple","\\textcolor{##9d38bd}{#1}");T("\\blueA","\\textcolor{##ccfaff}{#1}");T("\\blueB","\\textcolor{##80f6ff}{#1}");T("\\blueC","\\textcolor{##63d9ea}{#1}");T("\\blueD","\\textcolor{##11accd}{#1}");T("\\blueE","\\textcolor{##0c7f99}{#1}");T("\\tealA","\\textcolor{##94fff5}{#1}");T("\\tealB","\\textcolor{##26edd5}{#1}");T("\\tealC","\\textcolor{##01d1c1}{#1}");T("\\tealD","\\textcolor{##01a995}{#1}");T("\\tealE","\\textcolor{##208170}{#1}");T("\\greenA","\\textcolor{##b6ffb0}{#1}");T("\\greenB","\\textcolor{##8af281}{#1}");T("\\greenC","\\textcolor{##74cf70}{#1}");T("\\greenD","\\textcolor{##1fab54}{#1}");T("\\greenE","\\textcolor{##0d923f}{#1}");T("\\goldA","\\textcolor{##ffd0a9}{#1}");T("\\goldB","\\textcolor{##ffbb71}{#1}");T("\\goldC","\\textcolor{##ff9c39}{#1}");T("\\goldD","\\textcolor{##e07d10}{#1}");T("\\goldE","\\textcolor{##a75a05}{#1}");T("\\redA","\\textcolor{##fca9a9}{#1}");T("\\redB","\\textcolor{##ff8482}{#1}");T("\\redC","\\textcolor{##f9685d}{#1}");T("\\redD","\\textcolor{##e84d39}{#1}");T("\\redE","\\textcolor{##bc2612}{#1}");T("\\maroonA","\\textcolor{##ffbde0}{#1}");T("\\maroonB","\\textcolor{##ff92c6}{#1}");T("\\maroonC","\\textcolor{##ed5fa6}{#1}");T("\\maroonD","\\textcolor{##ca337c}{#1}");T("\\maroonE","\\textcolor{##9e034e}{#1}");T("\\purpleA","\\textcolor{##ddd7ff}{#1}");T("\\purpleB","\\textcolor{##c6b9fc}{#1}");T("\\purpleC","\\textcolor{##aa87ff}{#1}");T("\\purpleD","\\textcolor{##7854ab}{#1}");T("\\purpleE","\\textcolor{##543b78}{#1}");T("\\mintA","\\textcolor{##f5f9e8}{#1}");T("\\mintB","\\textcolor{##edf2df}{#1}");T("\\mintC","\\textcolor{##e0e5cc}{#1}");T("\\grayA","\\textcolor{##f6f7f7}{#1}");T("\\grayB","\\textcolor{##f0f1f2}{#1}");T("\\grayC","\\textcolor{##e3e5e6}{#1}");T("\\grayD","\\textcolor{##d6d8da}{#1}");T("\\grayE","\\textcolor{##babec2}{#1}");T("\\grayF","\\textcolor{##888d93}{#1}");T("\\grayG","\\textcolor{##626569}{#1}");T("\\grayH","\\textcolor{##3b3e40}{#1}");T("\\grayI","\\textcolor{##21242c}{#1}");T("\\kaBlue","\\textcolor{##314453}{#1}");T("\\kaGreen","\\textcolor{##71B307}{#1}");var w2={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class ek{constructor(t,n,i){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 Kw(Zw,n.macros),this.mode=i,this.stack=[]}feed(t){this.lexer=new Hm(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,i,a;if(t){if(this.consumeSpaces(),this.future().text!=="[")return null;n=this.popToken(),{tokens:a,end:i}=this.consumeArg(["]"])}else({tokens:a,start:n,end:i}=this.consumeArg());return this.pushToken(new gn("EOF",i.loc)),this.pushTokens(a),new gn("",an.range(n,i))}consumeSpaces(){for(;;){var t=this.future();if(t.text===" ")this.stack.pop();else break}}consumeArg(t){var n=[],i=t&&t.length>0;i||this.consumeSpaces();var a=this.future(),s,u=0,c=0;do{if(s=this.popToken(),n.push(s),s.text==="{")++u;else if(s.text==="}"){if(--u,u===-1)throw new ce("Extra }",s)}else if(s.text==="EOF")throw new ce("Unexpected end of input in a macro argument, expected '"+(t&&i?t[c]:"}")+"'",s);if(t&&i)if((u===0||u===1&&t[c]==="{")&&s.text===t[c]){if(++c,c===t.length){n.splice(-c,c);break}}else c=0}while(u!==0||i);return a.text==="{"&&n[n.length-1].text==="}"&&(n.pop(),n.shift()),n.reverse(),{tokens:n,start:a,end:s}}consumeArgs(t,n){if(n){if(n.length!==t+1)throw new ce("The length of delimiters doesn't match the number of args!");for(var i=n[0],a=0;a<i.length;a++){var s=this.popToken();if(i[a]!==s.text)throw new ce("Use of the macro doesn't match its definition",s)}}for(var u=[],c=0;c<t;c++)u.push(this.consumeArg(n&&n[c+1]).tokens);return u}countExpansion(t){if(this.expansionCount+=t,this.expansionCount>this.settings.maxExpand)throw new ce("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(t){var n=this.popToken(),i=n.text,a=n.noexpand?null:this._getExpansion(i);if(a==null||t&&a.unexpandable){if(t&&a==null&&i[0]==="\\"&&!this.isDefined(i))throw new ce("Undefined control sequence: "+i);return this.pushToken(n),!1}this.countExpansion(1);var s=a.tokens,u=this.consumeArgs(a.numArgs,a.delimiters);if(a.numArgs){s=s.slice();for(var c=s.length-1;c>=0;--c){var f=s[c];if(f.text==="#"){if(c===0)throw new ce("Incomplete placeholder at end of macro body",f);if(f=s[--c],f.text==="#")s.splice(c+1,1);else if(/^[1-9]$/.test(f.text))s.splice(c,2,...u[+f.text-1]);else throw new ce("Not a valid argument number",f)}}}return this.pushTokens(s),s.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}}expandMacro(t){return this.macros.has(t)?this.expandTokens([new gn(t)]):void 0}expandTokens(t){var n=[],i=this.stack.length;for(this.pushTokens(t);this.stack.length>i;)if(this.expandOnce(!0)===!1){var a=this.stack.pop();a.treatAsRelax&&(a.noexpand=!1,a.treatAsRelax=!1),n.push(a)}return this.countExpansion(n.length),n}expandMacroAsText(t){var n=this.expandMacro(t);return n&&n.map(i=>i.text).join("")}_getExpansion(t){var n=this.macros.get(t);if(n==null)return n;if(t.length===1){var i=this.lexer.catcodes[t];if(i!=null&&i!==13)return}var a=typeof n=="function"?n(this):n;if(typeof a=="string"){var s=0;if(a.includes("#"))for(var u=a.replace(/##/g,"");u.includes("#"+(s+1));)++s;for(var c=new Hm(a,this.settings),f=[],d=c.lex();d.text!=="EOF";)f.push(d),d=c.lex();f.reverse();var m={tokens:f,numArgs:s};return m}return a}isDefined(t){return this.macros.has(t)||Xr.hasOwnProperty(t)||ut.math.hasOwnProperty(t)||ut.text.hasOwnProperty(t)||w2.hasOwnProperty(t)}isExpandable(t){var n=this.macros.get(t);return n!=null?typeof n=="string"||typeof n=="function"||!n.unexpandable:Xr.hasOwnProperty(t)&&!Xr[t].primitive}}var Vm=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Vs=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),Yu={"́":{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"}},Wm={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class Co{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 ek(t,n,this.mode),this.settings=n,this.leftrightDepth=0,this.nextToken=null}expect(t,n){if(n===void 0&&(n=!0),this.fetch().text!==t)throw new ce("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 gn("}")),this.gullet.pushTokens(t);var i=this.parseExpression(!1);return this.expect("}"),this.nextToken=n,i}parseExpression(t,n){for(var i=[];;){this.mode==="math"&&this.consumeSpaces();var a=this.fetch();if(Co.endOfExpression.has(a.text)||n&&a.text===n||t&&Xr[a.text]&&Xr[a.text].infix)break;var s=this.parseAtom(n);if(s){if(s.type==="internal")continue}else break;i.push(s)}return this.mode==="text"&&this.formLigatures(i),this.handleInfixNodes(i)}handleInfixNodes(t){for(var n=-1,i,a=0;a<t.length;a++){var s=t[a];if(s.type==="infix"){if(n!==-1)throw new ce("only one infix operator per group",s.token);n=a,i=s.replaceWith}}if(n!==-1&&i){var u,c,f=t.slice(0,n),d=t.slice(n+1);f.length===1&&f[0].type==="ordgroup"?u=f[0]:u={type:"ordgroup",mode:this.mode,body:f},d.length===1&&d[0].type==="ordgroup"?c=d[0]:c={type:"ordgroup",mode:this.mode,body:d};var m;return i==="\\\\abovefrac"?m=this.callFunction(i,[u,t[n],c],[]):m=this.callFunction(i,[u,c],[]),[m]}else return t}handleSupSubscript(t){var n=this.fetch(),i=n.text;this.consume(),this.consumeSpaces();var a;do{var s;a=this.parseGroup(t)}while(((s=a)==null?void 0:s.type)==="internal");if(!a)throw new ce("Expected group after '"+i+"'",n);return a}formatUnsupportedCmd(t){for(var n=[],i=0;i<t.length;i++)n.push({type:"textord",mode:"text",text:t[i]});var a={type:"text",mode:this.mode,body:n},s={type:"color",mode:this.mode,color:this.settings.errorColor,body:[a]};return s}parseAtom(t){var n=this.parseGroup("atom",t);if((n==null?void 0:n.type)==="internal"||this.mode==="text")return n;for(var i,a;;){this.consumeSpaces();var s=this.fetch();if(s.text==="\\limits"||s.text==="\\nolimits"){if(n&&n.type==="op"){var u=s.text==="\\limits";n.limits=u,n.alwaysHandleSupSub=!0}else if(n&&n.type==="operatorname")n.alwaysHandleSupSub&&(n.limits=s.text==="\\limits");else throw new ce("Limit controls must follow a math operator",s);this.consume()}else if(s.text==="^"){if(i)throw new ce("Double superscript",s);i=this.handleSupSubscript("superscript")}else if(s.text==="_"){if(a)throw new ce("Double subscript",s);a=this.handleSupSubscript("subscript")}else if(s.text==="'"){if(i)throw new ce("Double superscript",s);var c={type:"textord",mode:this.mode,text:"\\prime"},f=[c];for(this.consume();this.fetch().text==="'";)f.push(c),this.consume();this.fetch().text==="^"&&f.push(this.handleSupSubscript("superscript")),i={type:"ordgroup",mode:this.mode,body:f}}else if(Vs[s.text]){var d=Vm.test(s.text),m=[];for(m.push(new gn(Vs[s.text])),this.consume();;){var p=this.fetch().text;if(!Vs[p]||Vm.test(p)!==d)break;m.unshift(new gn(Vs[p])),this.consume()}var k=this.subparse(m);d?a={type:"ordgroup",mode:"math",body:k}:i={type:"ordgroup",mode:"math",body:k}}else break}return i||a?{type:"supsub",mode:this.mode,base:n,sup:i,sub:a}:n}parseFunction(t,n){var i=this.fetch(),a=i.text,s=Xr[a];if(!s)return null;if(this.consume(),n&&n!=="atom"&&!s.allowedInArgument)throw new ce("Got function '"+a+"' with no arguments"+(n?" as "+n:""),i);if(this.mode==="text"&&!s.allowedInText)throw new ce("Can't use function '"+a+"' in text mode",i);if(this.mode==="math"&&s.allowedInMath===!1)throw new ce("Can't use function '"+a+"' in math mode",i);var{args:u,optArgs:c}=this.parseArguments(a,s);return this.callFunction(a,u,c,i,t)}callFunction(t,n,i,a,s){var u={funcName:t,parser:this,token:a,breakOnTokenText:s},c=Xr[t];if(c&&c.handler)return c.handler(u,n,i);throw new ce("No function handler for "+t)}parseArguments(t,n){var i=n.numArgs+n.numOptionalArgs;if(i===0)return{args:[],optArgs:[]};for(var a=[],s=[],u=0;u<i;u++){var c=n.argTypes&&n.argTypes[u],f=u<n.numOptionalArgs;("primitive"in n&&n.primitive&&c==null||n.type==="sqrt"&&u===1&&s[0]==null)&&(c="primitive");var d=this.parseGroupOfType("argument to '"+t+"'",c,f);if(f)s.push(d);else if(d!=null)a.push(d);else throw new ce("Null argument, please report this as a bug")}return{args:a,optArgs:s}}parseGroupOfType(t,n,i){switch(n){case"color":return this.parseColorGroup(i);case"size":return this.parseSizeGroup(i);case"url":return this.parseUrlGroup(i);case"math":case"text":return this.parseArgumentGroup(i,n);case"hbox":{var a=this.parseArgumentGroup(i,"text");return a!=null?{type:"styling",mode:a.mode,body:[a],style:"text",resetFont:!0}:null}case"raw":{var s=this.parseStringGroup("raw",i);return s!=null?{type:"raw",mode:"text",string:s.text}:null}case"primitive":{if(i)throw new ce("A primitive argument cannot be optional");var u=this.parseGroup(t);if(u==null)throw new ce("Expected group as "+t,this.fetch());return u}case"original":case null:case void 0:return this.parseArgumentGroup(i);default:throw new ce("Unknown group type as "+t,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(t,n){var i=this.gullet.scanArgument(n);if(i==null)return null;for(var a="",s;(s=this.fetch()).text!=="EOF";)a+=s.text,this.consume();return this.consume(),i.text=a,i}parseRegexGroup(t,n){for(var i=this.fetch(),a=i,s="",u;(u=this.fetch()).text!=="EOF"&&t.test(s+u.text);)a=u,s+=a.text,this.consume();if(s==="")throw new ce("Invalid "+n+": '"+i.text+"'",i);return i.range(a,s)}parseColorGroup(t){var n=this.parseStringGroup("color",t);if(n==null)return null;var i=/^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(n.text);if(!i)throw new ce("Invalid color: '"+n.text+"'",n);var a=i[0];return/^[0-9a-f]{6}$/i.test(a)&&(a="#"+a),{type:"color-token",mode:this.mode,color:a}}parseSizeGroup(t){var n,i=!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",i=!0);var a=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(n.text);if(!a)throw new ce("Invalid size: '"+n.text+"'",n);var s={number:+(a[1]+a[2]),unit:a[3]};if(!N4(s))throw new ce("Invalid unit: '"+s.unit+"'",n);return{type:"size",mode:this.mode,value:s,isBlank:i}}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 i=n.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:i}}parseArgumentGroup(t,n){var i=this.gullet.scanArgument(t);if(i==null)return null;var a=this.mode;n&&this.switchMode(n),this.gullet.beginGroup();var s=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var u={type:"ordgroup",mode:this.mode,loc:i.loc,body:s};return n&&this.switchMode(a),u}parseGroup(t,n){var i=this.fetch(),a=i.text,s;if(a==="{"||a==="\\begingroup"){this.consume();var u=a==="{"?"}":"\\endgroup";this.gullet.beginGroup();var c=this.parseExpression(!1,u),f=this.fetch();this.expect(u),this.gullet.endGroup(),s={type:"ordgroup",mode:this.mode,loc:an.range(i,f),body:c,semisimple:a==="\\begingroup"||void 0}}else if(s=this.parseFunction(n,t)||this.parseSymbol(),s==null&&a[0]==="\\"&&!w2.hasOwnProperty(a)){if(this.settings.throwOnError)throw new ce("Undefined control sequence: "+a,i);s=this.formatUnsupportedCmd(a),this.consume()}return s}formLigatures(t){for(var n=t.length-1,i=0;i<n;++i){var a=t[i];if(a.type==="textord"){var s=a.text,u=t[i+1];if(!(!u||u.type!=="textord")){if(s==="-"&&u.text==="-"){var c=t[i+2];i+1<n&&c&&c.type==="textord"&&c.text==="-"?(t.splice(i,3,{type:"textord",mode:"text",loc:an.range(a,c),text:"---"}),n-=2):(t.splice(i,2,{type:"textord",mode:"text",loc:an.range(a,u),text:"--"}),n-=1)}(s==="'"||s==="`")&&u.text===s&&(t.splice(i,2,{type:"textord",mode:"text",loc:an.range(a,u),text:s+s}),n-=1)}}}}parseSymbol(){var t=this.fetch(),n=t.text;if(/^\\verb[^a-zA-Z]/.test(n)){this.consume();var i=n.slice(5),a=i.charAt(0)==="*";if(a&&(i=i.slice(1)),i.length<2||i.charAt(0)!==i.slice(-1))throw new ce(`\\verb assertion failed --
331
- please report what input caused this bug`);return i=i.slice(1,-1),{type:"verb",mode:"text",body:i,star:a}}Wm.hasOwnProperty(n[0])&&!ut[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=Wm[n[0]]+n.slice(1));var s=Yw.exec(n);s&&(n=n.substring(0,s.index),n==="i"?n="ı":n==="j"&&(n="ȷ"));var u;if(ut[this.mode][n]){this.settings.strict&&this.mode==="math"&&dc.includes(n)&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+n[0]+'" used in math mode',t);var c=ut[this.mode][n].group,f=an.range(t),d;gw(c)?d={type:"atom",mode:this.mode,family:c,loc:f,text:n}:d={type:c,mode:this.mode,loc:f,text:n},u=d}else if(n.charCodeAt(0)>=128)this.settings.strict&&(E4(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:an.range(t),text:n};else return null;if(this.consume(),s)for(var m=0;m<s[0].length;m++){var p=s[0][m];if(!Yu[p])throw new ce("Unknown accent ' "+p+"'",t);var k=Yu[p][this.mode]||Yu[p].text;if(!k)throw new ce("Accent "+p+" unsupported in "+this.mode+" mode",t);u={type:"accent",mode:this.mode,loc:an.range(t),label:k,isStretchy:!1,isShifty:!0,base:u}}return u}}Co.endOfExpression=new Set(["}","\\endgroup","\\end","\\right","&"]);var d1=function(t,n){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var i=new Co(t,n);delete i.gullet.macros.current["\\df@tag"];var a=i.parse();if(delete i.gullet.macros.current["\\current@color"],delete i.gullet.macros.current["\\color"],i.gullet.macros.get("\\df@tag")){if(!n.displayMode)throw new ce("\\tag works only in display equations");a=[{type:"tag",mode:"text",body:a,tag:i.subparse([new gn("\\df@tag")])}]}return a},m1=function(t,n,i){n.textContent="";var a=To(t,i).toNode();n.appendChild(a)};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."),m1=function(){throw new ce("KaTeX doesn't work in quirks mode.")});var k2=function(t,n){var i=To(t,n).toMarkup();return i},b2=function(t,n){var i=new Jc(n);return d1(t,i)},S2=function(t,n,i){if(i.throwOnError||!(t instanceof ce))throw t;var a=oe(["katex-error"],[new vn(n)]);return a.setAttribute("title",t.toString()),a.setAttribute("style","color:"+i.errorColor),a},To=function(t,n){var i=new Jc(n);try{var a=d1(t,i);return ow(a,t,i)}catch(s){return S2(s,t,i)}},C2=function(t,n){var i=new Jc(n);try{var a=d1(t,i);return uw(a,t,i)}catch(s){return S2(s,t,i)}},T2="0.16.47",E2={Span:yl,Anchor:ho,SymbolNode:vn,SvgNode:vr,PathNode:Qr,LineNode:fc},zc={version:T2,render:m1,renderToString:k2,ParseError:ce,SETTINGS_SCHEMA:eo,__parse:b2,__renderToDomTree:To,__renderToHTMLTree:C2,__setFontMetrics:j4,__defineSymbol:v,__defineFunction:ye,__defineMacro:T,__domTree:E2};const Rb=Object.freeze(Object.defineProperty({__proto__:null,ParseError:ce,SETTINGS_SCHEMA:eo,__defineFunction:ye,__defineMacro:T,__defineSymbol:v,__domTree:E2,__parse:b2,__renderToDomTree:To,__renderToHTMLTree:C2,__setFontMetrics:j4,default:zc,get render(){return m1},renderToString:k2,version:T2},Symbol.toStringTag,{value:"Module"})),tk={};function nk(e){const t=this,n=e||tk,i=t.data(),a=i.micromarkExtensions||(i.micromarkExtensions=[]),s=i.fromMarkdownExtensions||(i.fromMarkdownExtensions=[]),u=i.toMarkdownExtensions||(i.toMarkdownExtensions=[]);a.push(ux(n)),s.push(tx()),u.push(nx(n))}const Gm=/[#.]/g;function rk(e,t){const n=e||"",i={};let a=0,s,u;for(;a<n.length;){Gm.lastIndex=a;const c=Gm.exec(n),f=n.slice(a,c?c.index:n.length);f&&(s?s==="#"?i.id=f:Array.isArray(i.className)?i.className.push(f):i.className=[f]:u=f,a+=f.length),c&&(s=c[0],a++)}return{type:"element",tagName:u||t||"div",properties:i,children:[]}}function N2(e,t,n){const i=n?sk(n):void 0;function a(s,u,...c){let f;if(s==null){f={type:"root",children:[]};const d=u;c.unshift(d)}else{f=rk(s,t);const d=f.tagName.toLowerCase(),m=i?i.get(d):void 0;if(f.tagName=m||d,ik(u))c.unshift(u);else for(const[p,k]of Object.entries(u))lk(e,f.properties,p,k)}for(const d of c)Ac(f.children,d);return f.type==="element"&&f.tagName==="template"&&(f.content={type:"root",children:f.children},f.children=[]),f}return a}function ik(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 i of n){const a=t[i];if(a&&typeof a=="object"){if(!Array.isArray(a))return!0;const s=a;for(const u of s)if(typeof u!="number"&&typeof u!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function lk(e,t,n,i){const a=Ep(e,n);let s;if(i!=null){if(typeof i=="number"){if(Number.isNaN(i))return;s=i}else typeof i=="boolean"?s=i:typeof i=="string"?a.spaceSeparated?s=bd(i):a.commaSeparated?s=vd(i):a.commaOrSpaceSeparated?s=bd(vd(i).join(" ")):s=Xm(a,a.property,i):Array.isArray(i)?s=[...i]:s=a.property==="style"?ak(i):String(i);if(Array.isArray(s)){const u=[];for(const c of s)u.push(Xm(a,a.property,c));s=u}a.property==="className"&&Array.isArray(t.className)&&(s=t.className.concat(s)),t[a.property]=s}}function Ac(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)Ac(e,n);else if(typeof t=="object"&&"type"in t)t.type==="root"?Ac(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function Xm(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||ma(n)===ma(t)))return!0}return n}function ak(e){const t=[];for(const[n,i]of Object.entries(e))t.push([n,i].join(": "));return t.join("; ")}function sk(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}const ok=["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"],uk=N2(Np,"div"),ck=N2(ao,"g",ok),Qu={html:"http://www.w3.org/1999/xhtml",svg:"http://www.w3.org/2000/svg"};function hk(e,t){return z2(e,{})||{type:"root",children:[]}}function z2(e,t){const n=fk(e,t);return n&&t.afterTransform&&t.afterTransform(e,n),n}function fk(e,t){switch(e.nodeType){case 1:return gk(e,t);case 3:return mk(e);case 8:return pk(e);case 9:return Ym(e,t);case 10:return dk();case 11:return Ym(e,t);default:return}}function Ym(e,t){return{type:"root",children:A2(e,t)}}function dk(){return{type:"doctype"}}function mk(e){return{type:"text",value:e.nodeValue||""}}function pk(e){return{type:"comment",value:e.nodeValue||""}}function gk(e,t){const n=e.namespaceURI,i=n===Qu.svg?ck:uk,a=n===Qu.html?e.tagName.toLowerCase():e.tagName,s=n===Qu.html&&a==="template"?e.content:e,u=e.getAttributeNames(),c={};let f=-1;for(;++f<u.length;)c[u[f]]=e.getAttribute(u[f])||"";return i(a,c,A2(s,t))}function A2(e,t){const n=e.childNodes,i=[];let a=-1;for(;++a<n.length;){const s=z2(n[a],t);s!==void 0&&i.push(s)}return i}new DOMParser;function vk(e,t){const n=yk(e);return hk(n)}function yk(e){const t=document.createElement("template");return t.innerHTML=e,t.content}const Qm=(function(e,t,n){const i=ba(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(i(e.children[t],t,e))return e.children[t]}),Li=(function(e){if(e==null)return kk;if(typeof e=="string")return wk(e);if(typeof e=="object")return xk(e);if(typeof e=="function")return p1(e);throw new Error("Expected function, string, or array as `test`")});function xk(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Li(e[n]);return p1(i);function i(...a){let s=-1;for(;++s<t.length;)if(t[s].apply(this,a))return!0;return!1}}function wk(e){return p1(t);function t(n){return n.tagName===e}}function p1(e){return t;function t(n,i,a){return!!(bk(n)&&e.call(this,n,typeof i=="number"?i:void 0,a||void 0))}}function kk(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function bk(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const Km=/\n/g,Zm=/[\t ]+/g,Mc=Li("br"),Jm=Li(Mk),Sk=Li("p"),ep=Li("tr"),Ck=Li(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",Ak,jk]),M2=Li(["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 Tk(e,t){const n=t||{},i="children"in e?e.children:[],a=M2(e),s=D2(e,{whitespace:n.whitespace||"normal"}),u=[];(e.type==="text"||e.type==="comment")&&u.push(...I2(e,{breakBefore:!0,breakAfter:!0}));let c=-1;for(;++c<i.length;)u.push(...j2(i[c],e,{whitespace:s,breakBefore:c?void 0:a,breakAfter:c<i.length-1?Mc(i[c+1]):a}));const f=[];let d;for(c=-1;++c<u.length;){const m=u[c];typeof m=="number"?d!==void 0&&m>d&&(d=m):m&&(d!==void 0&&d>-1&&f.push(`
332
- `.repeat(d)||" "),d=-1,f.push(m))}return f.join("")}function j2(e,t,n){return e.type==="element"?Ek(e,t,n):e.type==="text"?n.whitespace==="normal"?I2(e,n):Nk(e):[]}function Ek(e,t,n){const i=D2(e,n),a=e.children||[];let s=-1,u=[];if(Ck(e))return u;let c,f;for(Mc(e)||ep(e)&&Qm(t,e,ep)?f=`
333
- `:Sk(e)?(c=2,f=2):M2(e)&&(c=1,f=1);++s<a.length;)u=u.concat(j2(a[s],e,{whitespace:i,breakBefore:s?void 0:c,breakAfter:s<a.length-1?Mc(a[s+1]):f}));return Jm(e)&&Qm(t,e,Jm)&&u.push(" "),c&&u.unshift(c),f&&u.push(f),u}function I2(e,t){const n=String(e.value),i=[],a=[];let s=0;for(;s<=n.length;){Km.lastIndex=s;const f=Km.exec(n),d=f&&"index"in f?f.index:n.length;i.push(zk(n.slice(s,d).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),s===0?t.breakBefore:!0,d===n.length?t.breakAfter:!0)),s=d+1}let u=-1,c;for(;++u<i.length;)i[u].charCodeAt(i[u].length-1)===8203||u<i.length-1&&i[u+1].charCodeAt(0)===8203?(a.push(i[u]),c=void 0):i[u]?(typeof c=="number"&&a.push(c),a.push(i[u]),c=0):(u===0||u===i.length-1)&&a.push(0);return a}function Nk(e){return[String(e.value)]}function zk(e,t,n){const i=[];let a=0,s;for(;a<e.length;){Zm.lastIndex=a;const u=Zm.exec(e);s=u?u.index:e.length,!a&&!s&&u&&!t&&i.push(""),a!==s&&i.push(e.slice(a,s)),a=u?s+u[0].length:s}return a!==s&&!n&&i.push(""),i.join(" ")}function D2(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 Ak(e){return!!(e.properties||{}).hidden}function Mk(e){return e.tagName==="td"||e.tagName==="th"}function jk(e){return e.tagName==="dialog"&&!(e.properties||{}).open}const Ik={},Dk=[];function Lk(e){const t=e||Ik;return function(n,i){Gc(n,"element",function(a,s){const u=Array.isArray(a.properties.className)?a.properties.className:Dk,c=u.includes("language-math"),f=u.includes("math-display"),d=u.includes("math-inline");let m=f;if(!c&&!f&&!d)return;let p=s[s.length-1],k=a;if(a.tagName==="code"&&c&&p&&p.type==="element"&&p.tagName==="pre"&&(k=p,p=s[s.length-2],m=!0),!p)return;const b=Tk(k,{whitespace:"pre"});let E;try{E=zc.renderToString(b,{...t,displayMode:m,throwOnError:!0})}catch(j){const M=j,R=M.name.toLowerCase();i.message("Could not render math with KaTeX",{ancestors:[...s,a],cause:M,place:a.position,ruleId:R,source:"rehype-katex"});try{E=zc.renderToString(b,{...t,displayMode:m,strict:"ignore",throwOnError:!1})}catch{E=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(j)},children:[{type:"text",value:b}]}]}}typeof E=="string"&&(E=vk(E).children);const z=p.children.indexOf(k);return p.children.splice(z,1,...E),e4})}}const Pk="modulepreload",Rk=function(e){return"/"+e},tp={},L2=function(t,n,i){let a=Promise.resolve();if(n&&n.length>0){let u=function(d){return Promise.all(d.map(m=>Promise.resolve(m).then(p=>({status:"fulfilled",value:p}),p=>({status:"rejected",reason:p}))))};document.getElementsByTagName("link");const c=document.querySelector("meta[property=csp-nonce]"),f=(c==null?void 0:c.nonce)||(c==null?void 0:c.getAttribute("nonce"));a=u(n.map(d=>{if(d=Rk(d),d in tp)return;tp[d]=!0;const m=d.endsWith(".css"),p=m?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${d}"]${p}`))return;const k=document.createElement("link");if(k.rel=m?"stylesheet":Pk,m||(k.as="script"),k.crossOrigin="",k.href=d,f&&k.setAttribute("nonce",f),document.head.appendChild(k),m)return new Promise((b,E)=>{k.addEventListener("load",b),k.addEventListener("error",()=>E(new Error(`Unable to preload CSS for ${d}`)))})}))}function s(u){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=u,window.dispatchEvent(c),!c.defaultPrevented)throw u}return a.then(u=>{for(const c of u||[])c.status==="rejected"&&s(c.reason);return t().catch(s)})};let Ku=null;function Fk(){return Ku||(Ku=L2(async()=>{const{createHighlighter:e}=await import("./index-BHQqzlI6.js");return{createHighlighter:e}},[]).then(({createHighlighter:e})=>e({themes:["dracula"],langs:[]}))),Ku}const np=new Set,rp=new Set;async function g1(e,t){try{const n=await Fk();let i="text";if(t&&t!=="text"&&!rp.has(t)){if(!np.has(t))try{await n.loadLanguage(t),np.add(t)}catch{rp.add(t)}n.getLoadedLanguages().includes(t)&&(i=t)}return n.codeToHtml(e,{lang:i,theme:"dracula"})}catch{return null}}function Ok({code:e,lang:t}){const[n,i]=Z.useState(null);Z.useEffect(()=>{let s=!1;return g1(e,t).then(u=>{s||i(u)}).catch(()=>{s||i(null)}),()=>{s=!0}},[e,t]);const a=()=>{var s;return void((s=navigator.clipboard)==null?void 0:s.writeText(e))};return x.jsxs("div",{className:"codeblock",children:[x.jsxs("div",{className:"codeblock-bar",children:[x.jsx("span",{className:"codeblock-lang",children:t||"text"}),x.jsx("button",{className:"codeblock-copy",onClick:a,"aria-label":"Copy code",children:"copy"})]}),n?x.jsx("div",{className:"codeblock-body",dangerouslySetInnerHTML:{__html:n}}):x.jsx("pre",{className:"codeblock-body codeblock-plain",children:x.jsx("code",{children:e})})]})}let Zu=null;function Bk(){return Zu||(Zu=L2(()=>import("./mermaid.core-ONfBNVRk.js").then(e=>e.bp),[]).then(e=>(e.default.initialize({startOnLoad:!1,theme:"dark",securityLevel:"strict",themeVariables:{primaryColor:"#44475a",primaryTextColor:"#f8f8f2",primaryBorderColor:"#bd93f9",lineColor:"#8be9fd",fontFamily:"Inter, sans-serif"}}),e.default))),Zu}let _k=0;function qk({code:e}){const t=Z.useRef(null),[n,i]=Z.useState(!1);return Z.useEffect(()=>{let a=!1;i(!1);const s=e.trim();if(s)return Bk().then(async u=>{const c=await u.parse(s,{suppressErrors:!0});if(a||!c)return;const{svg:f}=await u.render(`mermaid-${_k++}`,s);a||!t.current||(t.current.innerHTML=f,i(!0))}).catch(()=>{}),()=>{a=!0}},[e]),x.jsxs("div",{className:"mermaid-wrap",children:[x.jsx("div",{className:`mermaid-block ${n?"":"is-hidden"}`,ref:t}),!n&&x.jsxs("div",{className:"codeblock",children:[x.jsx("div",{className:"codeblock-bar",children:x.jsx("span",{className:"codeblock-lang",children:"mermaid"})}),x.jsx("pre",{className:"codeblock-body codeblock-plain",children:x.jsx("code",{children:e})})]})]})}const Hk={code(e){const{className:t,children:n}=e,i=/language-(\w+)/.exec(t??""),a=String(n).replace(/\n$/,"");if(!t&&!a.includes(`
334
- `))return x.jsx("code",{className:"md-inline-code",children:a});const u=(i==null?void 0:i[1])??"";return u==="mermaid"?x.jsx(qk,{code:a}):x.jsx(Ok,{code:a,lang:u})},a(e){return x.jsx("a",{...e,target:"_blank",rel:"noreferrer noopener"})}},xa=Z.memo(function({text:t}){return x.jsx("div",{className:"md",children:x.jsx(Hv,{remarkPlugins:[ex,nk],rehypePlugins:[Lk],components:Hk,children:t})})}),Uk=4e5;function ip(e,t){const n=e.split(`
335
- `),i=t.split(`
336
- `),a=n.length,s=i.length;if(a*s>Uk)return[...n.map(m=>({type:"del",text:m})),...i.map(m=>({type:"add",text:m}))];const u=Array.from({length:a+1},()=>new Array(s+1).fill(0));for(let m=a-1;m>=0;m--)for(let p=s-1;p>=0;p--)u[m][p]=n[m]===i[p]?u[m+1][p+1]+1:Math.max(u[m+1][p],u[m][p+1]);const c=[];let f=0,d=0;for(;f<a&&d<s;)n[f]===i[d]?(c.push({type:"ctx",text:n[f]}),f++,d++):u[f+1][d]>=u[f][d+1]?(c.push({type:"del",text:n[f]}),f++):(c.push({type:"add",text:i[d]}),d++);for(;f<a;)c.push({type:"del",text:n[f++]});for(;d<s;)c.push({type:"add",text:i[d++]});return c}const P2={loading:"lazy",decoding:"async",ref:e=>{e!=null&&e.complete&&(e.dataset.loaded="")},onLoad:e=>{e.currentTarget.dataset.loaded=""}},Hn=e=>!!e&&typeof e=="object";function v1(e){switch(e.name){case"shell":return"shell";case"write":case"strReplace":return"write";case"read":return"read";case"grep":return"grep";case"todo_list":return"todo";case"web_fetch":return"webfetch";case"web_search":return"websearch";case"introspect":return"introspect"}if(e.name)return"generic";const t=Hn(e.input)?e.input:{},n=e.kind,i=typeof t.command=="string"?t.command:void 0,a=s=>Object.prototype.hasOwnProperty.call(t,s);return e.title==="todo_list"||a("tasks")||a("task_list_description")||a("completed_task_ids")||a("remove_task_ids")||i!==void 0&&["complete","add","remove","list"].includes(i)?"todo":n==="read"||Array.isArray(t.operations)||e.title==="read"?"read":e.title==="grep"||typeof t.pattern=="string"&&!a("operations")?"grep":n==="edit"||e.title==="write"||e.title==="strReplace"||(i==="create"||i==="strReplace"||i==="insert")&&typeof t.path=="string"||typeof t.oldStr=="string"&&typeof t.newStr=="string"?"write":n==="execute"||e.title==="shell"||typeof t.command=="string"?"shell":typeof t.url=="string"?"webfetch":typeof t.query=="string"&&(n==="search"||e.title==="web_search")?"websearch":e.title==="introspect"||typeof t.doc_path=="string"?"introspect":"generic"}const $k={shell:"shell",write:"write",read:"read",grep:"grep",todo:"todo_list",webfetch:"web_fetch",websearch:"web_search",introspect:"introspect",generic:void 0};function Vk(e){if(e.name)return e.name;const t=$k[v1(e)];if(t)return t;const n=e.title??"";return n&&!/\s/.test(n)?n:"tool"}function R2(e){const t=e.trim().split("/").pop()??"",n=t.includes(".")?t.split(".").pop().toLowerCase():t.toLowerCase();return{ts:"typescript",tsx:"tsx",js:"javascript",jsx:"jsx",mjs:"javascript",cjs:"javascript",json:"json",jsonc:"json",css:"css",scss:"scss",less:"less",html:"html",htm:"html",xml:"xml",svg:"xml",vue:"vue",svelte:"svelte",md:"markdown",markdown:"markdown",py:"python",rb:"ruby",rs:"rust",go:"go",java:"java",kt:"kotlin",c:"c",h:"c",cpp:"cpp",cc:"cpp",hpp:"cpp",cs:"csharp",sh:"bash",bash:"bash",zsh:"bash",yml:"yaml",yaml:"yaml",toml:"toml",sql:"sql",php:"php",swift:"swift",lua:"lua",dockerfile:"docker",ini:"ini",conf:"ini",env:"ini",proto:"proto",graphql:"graphql"}[n]??"text"}function Pi(e){const t=[];for(const n of e)Hn(n)&&(n.type==="content"&&Hn(n.content)&&typeof n.content.text=="string"?t.push(n.content.text):n.type==="text"&&typeof n.text=="string"?t.push(n.text):n.kind==="text"&&typeof n.data=="string"&&t.push(n.data));return t.join("")}function Ri(e){for(const t of e)if(Hn(t)&&t.kind==="json"&&Hn(t.data))return t.data;return null}function y1(e){const t=Object.keys(e);return t.length===1&&typeof e[t[0]]=="string"?e[t[0]]:null}function Wk(e){if(e==null)return[];if(typeof e=="string")return e?[{kind:"text",data:e}]:[];if(Hn(e)&&Array.isArray(e.items)){const t=[];for(const n of e.items)Hn(n)&&(typeof n.Text=="string"?t.push({kind:"text",data:n.Text}):Hn(n.Json)&&t.push({kind:"json",data:n.Json}));return t}return[]}function ti(e){return[...Array.isArray(e.content)?e.content:[],...Wk(e.output)]}function Gk(e){for(const t of e)if(Hn(t)&&t.type==="diff"&&typeof t.oldText=="string"&&typeof t.newText=="string")return{path:typeof t.path=="string"?t.path:void 0,oldText:t.oldText,newText:t.newText};return null}function Xk(e){let t=Ri(e);if(!t||!Array.isArray(t.tasks)){const n=Pi(e).trim();if(n.startsWith("{"))try{const i=JSON.parse(n);t=Hn(i)?i:null}catch{t=null}}return t&&Array.isArray(t.tasks)?t.tasks.map(n=>{const i=Hn(n)?n:{};return{desc:typeof i.task_description=="string"?i.task_description:"",done:i.completed===!0}}):null}const Yk={pending:"queued",in_progress:"running",completed:"done",failed:"failed"},Rt=e=>e&&typeof e=="object"?e:null,Ke=e=>typeof e=="string"?e:void 0,lp=e=>e.split("/").pop()||e;function Qk(e){const t=Array.isArray(e.operations)?e.operations:[];for(const n of t){const i=Rt(n);if(i&&typeof i.path=="string")return i.path;if(i&&Array.isArray(i.image_paths)&&typeof i.image_paths[0]=="string")return i.image_paths[0]}}function Kk(e){const t=Rt(e.input);if(!t)return null;const n=Ke(t.__tool_use_purpose);if(n)return{text:n};switch(v1(e)){case"write":{const i=Ke(t.path);return i?{text:lp(i),title:i}:null}case"read":{const i=Qk(t);return i?{text:lp(i),title:i}:null}case"grep":{const i=Ke(t.pattern);return i?{text:i}:null}case"websearch":case"introspect":{const i=Ke(t.query)??Ke(t.doc_path);return i?{text:i}:null}case"webfetch":{const i=Ke(t.url);if(!i)return null;let a=i;try{a=new URL(i).hostname||i}catch{}return{text:a,title:i}}default:return null}}function F2(e){const t=Rt(e);if(!t||!Array.isArray(t.operations))return[];const n=[];for(const i of t.operations){const a=Rt(i);if(a&&a.mode==="Image"&&Array.isArray(a.image_paths))for(const s of a.image_paths)typeof s=="string"&&n.push(s)}return n}const ap=e=>`/api/fs/image?path=${encodeURIComponent(e)}`;function Zk({tool:e}){const t=e.status,[n,i]=Z.useState(t==="failed"),a=Kk(e),s=F2(e.input);return x.jsxs("div",{className:`toolcall toolcall-${t}`,children:[x.jsxs("button",{className:"toolcall-head",onClick:()=>i(u=>!u),children:[x.jsx("span",{className:`toolcall-dot dot-${t}`}),x.jsx("span",{className:"toolcall-title",children:Vk(e)}),a&&x.jsx("span",{className:"toolcall-summary",title:a.title??a.text,children:a.text}),x.jsx("span",{className:"toolcall-status",children:Yk[t]??t}),x.jsx("span",{className:`toolcall-chevron ${n?"is-open":""}`,children:"▸"})]}),s.length>0&&x.jsx("div",{className:"toolcall-images",children:s.map(u=>x.jsx("a",{href:ap(u),target:"_blank",rel:"noopener noreferrer",className:"toolcall-image-link",children:x.jsx("img",{src:ap(u),alt:u.split("/").pop()??"image",className:"toolcall-image",...P2})},u))}),x.jsx(Jk,{open:n,children:x.jsx("div",{className:"toolcall-body",children:eb(e)})})]})}function Jk({open:e,children:t}){const[n,i]=Z.useState(e);Z.useEffect(()=>{e&&i(!0)},[e]);const a=s=>{s.propertyName==="grid-template-rows"&&!e&&i(!1)};return x.jsx("div",{className:`collapse ${e?"is-open":""}`,onTransitionEnd:a,children:x.jsx("div",{className:"collapse-inner",children:n?t:null})})}function eb(e){switch(v1(e)){case"shell":return tb(e);case"write":return nb(e);case"read":return rb(e);case"grep":return ib(e);case"todo":return lb(e);case"webfetch":return sb(e);case"websearch":return ub(e);case"introspect":return ab(e);default:return ni(e)}}function tb(e){const t=Rt(e.input),n=Ke(t==null?void 0:t.command)??"",i=ti(e),a=Ri(i),s=a?Ke(a.stdout)??"":Pi(i),u=a?Ke(a.stderr)??"":"",c=a?String(a.exit_status??""):"",f=c!==""&&!/\b0$/.test(c);return x.jsxs(x.Fragment,{children:[n&&x.jsx(Mn,{code:n,lang:"bash"}),s.trim()&&x.jsx(Mn,{code:s,lang:"text"}),u.trim()&&x.jsxs("div",{className:"toolcall-section",children:[x.jsx("div",{className:"toolcall-label",children:"stderr"}),x.jsx(Mn,{code:u,lang:"text"})]}),f&&x.jsx("div",{className:"toolcall-exit",children:c})]})}function nb(e){const t=Rt(e.input),n=Ke(t==null?void 0:t.path)??"",i=Ke(t==null?void 0:t.command);if(i==="create"||i==="insert"){const c=Ke(t==null?void 0:t.content);if(c!==void 0)return x.jsx(Mn,{code:c,lang:R2(n)})}const a=Ke(t==null?void 0:t.oldStr),s=Ke(t==null?void 0:t.newStr);if(a!==void 0&&s!==void 0)return x.jsx(sp,{diff:ip(a,s)});const u=Gk(e.content);return u?x.jsx(sp,{diff:ip(u.oldText,u.newText)}):ni(e)}function rb(e){const t=Rt(e.input),n=t&&Array.isArray(t.operations)?t.operations:[],i=Pi(ti(e));if(!i.trim())return F2(e.input).length>0?null:ni(e);const a=n.map(Rt).find(c=>c&&c.mode!=="Image"),s=a&&typeof a.path=="string"?a.path:"",u=(a==null?void 0:a.mode)==="Line"?R2(s):"text";return x.jsx(Mn,{code:i,lang:u})}function ib(e){const t=ti(e),n=Ri(t),i=n&&Array.isArray(n.results)?n.results.filter(s=>{const u=Rt(s);return!!u&&(Array.isArray(u.matches)||typeof u.file=="string")}):null;if(i&&i.length>0)return x.jsx("div",{className:"grep",children:i.map((s,u)=>{const c=Rt(s),f=c&&typeof c.file=="string"?c.file:"",d=c&&Array.isArray(c.matches)?c.matches.map(String):[];return x.jsxs("div",{className:"grep-file",children:[x.jsx("div",{className:"grep-fname",children:f}),x.jsx("pre",{className:"grep-matches",children:d.join(`
337
- `)})]},u)})});const a=Pi(t);return a.trim()?x.jsx(Mn,{code:a,lang:"text"}):ni(e)}function lb(e){const t=Xk(ti(e));return!t||t.length===0?ni(e):x.jsx("div",{className:"todo",children:t.map((n,i)=>x.jsxs("div",{className:`todo-item ${n.done?"is-done":""}`,children:[x.jsx("span",{className:"todo-check","aria-hidden":!0,children:n.done?"☑":"☐"}),x.jsx("span",{className:"todo-text",children:n.desc})]},i))})}function ab(e){const t=Rt(e.input),n=Ke(t==null?void 0:t.query)??Ke(t==null?void 0:t.doc_path),i=ti(e),a=Ri(i),s=(a?Ke(a.documentation)??y1(a):null)??Pi(i);return x.jsxs(x.Fragment,{children:[n&&x.jsxs("div",{className:"toolcall-section",children:[x.jsx("div",{className:"toolcall-label",children:"query"}),x.jsx(Mn,{code:n,lang:"text"})]}),s.trim()?x.jsx("div",{className:"toolcall-doc",children:x.jsx(xa,{text:s})}):ni(e)]})}function sb(e){const t=Rt(e.input),n=Ke(t==null?void 0:t.url),i=Ke(t==null?void 0:t.mode),a=Ke(t==null?void 0:t.search_terms),s=ti(e),u=Ri(s),c=u?y1(u)??Ke(u.content)??JSON.stringify(u,null,2):Pi(s);return x.jsxs(x.Fragment,{children:[n&&x.jsxs("div",{className:"toolcall-meta",children:[x.jsx("a",{className:"toolcall-link",href:n,target:"_blank",rel:"noopener noreferrer",children:n}),i&&x.jsx("span",{className:"toolcall-tag",children:i})]}),a&&x.jsxs("div",{className:"toolcall-section",children:[x.jsx("div",{className:"toolcall-label",children:"search terms"}),x.jsx(Mn,{code:a,lang:"text"})]}),c.trim()?x.jsx(Mn,{code:c,lang:"markdown"}):ni(e)]})}function ob(e){if(!e)return null;const t=Array.isArray(e.results)?e.results:Array.isArray(e.items)?e.items:Array.isArray(e.data)?e.data:null;if(!t)return null;const n=[];for(const i of t){const a=Rt(i);a&&n.push({title:Ke(a.title)??Ke(a.name),url:Ke(a.url)??Ke(a.link)??Ke(a.href),snippet:Ke(a.snippet)??Ke(a.description)??Ke(a.content)??Ke(a.text)})}return n.length?n:null}function ub(e){var a;const t=ti(e),n=ob(Ri(t));if(!n)return ni(e);const i=Ke((a=Rt(e.input))==null?void 0:a.query);return x.jsxs(x.Fragment,{children:[i&&x.jsxs("div",{className:"toolcall-section",children:[x.jsx("div",{className:"toolcall-label",children:"query"}),x.jsx(Mn,{code:i,lang:"text"})]}),x.jsx("ol",{className:"websearch",children:n.map((s,u)=>x.jsxs("li",{className:"websearch-item",children:[s.url?x.jsx("a",{className:"websearch-title",href:s.url,target:"_blank",rel:"noopener noreferrer",children:s.title??s.url}):x.jsx("span",{className:"websearch-title",children:s.title??"(untitled)"}),s.url&&x.jsx("div",{className:"websearch-url",children:s.url}),s.snippet&&x.jsx("p",{className:"websearch-snippet",children:s.snippet})]},u))})]})}function ni(e){const t=e.input;let n="";if(typeof t=="string")n=t;else if(Rt(t)){const{__tool_use_purpose:f,...d}=Rt(t);n=JSON.stringify(d,null,2)}const i=ti(e),a=Ri(i),s=a?y1(a):null,u=s??(a?JSON.stringify(a,null,2):Pi(i)),c=s?"text":/^\s*[[{]/.test(u)?"json":"text";return x.jsxs(x.Fragment,{children:[n&&n!=="{}"&&x.jsxs("div",{className:"toolcall-section",children:[x.jsx("div",{className:"toolcall-label",children:"input"}),x.jsx(Mn,{code:n,lang:Rt(t)?"json":"text"})]}),u.trim()&&x.jsxs("div",{className:"toolcall-section",children:[x.jsx("div",{className:"toolcall-label",children:"output"}),x.jsx(Mn,{code:u,lang:c})]})]})}function Mn({code:e,lang:t}){const[n,i]=Z.useState(null);return Z.useEffect(()=>{let a=!1;return g1(e,t).then(s=>!a&&i(s)).catch(()=>!a&&i(null)),()=>{a=!0}},[e,t]),n?x.jsx("div",{className:"toolcode",dangerouslySetInnerHTML:{__html:n}}):x.jsx("pre",{className:"toolcode toolcode-plain",children:e})}function sp({diff:e}){return x.jsx("div",{className:"diff-body",children:e.map((t,n)=>x.jsxs("div",{className:`diff-line diff-${t.type}`,children:[x.jsx("span",{className:"diff-sign","aria-hidden":!0,children:t.type==="add"?"+":t.type==="del"?"-":" "}),x.jsx("span",{className:"diff-code",children:t.text||" "})]},n))})}const Ju=typeof window<"u"?window.matchMedia("(prefers-reduced-motion: reduce)"):null,cb=Z.memo(function({onRetry:t,onRetryTurn:n}){const i=Fe(K=>K.items),a=Fe(K=>K.streamingText),s=Fe(K=>K.streamingThought),u=Fe(K=>K.pending),c=Fe(K=>K.observability.turnStatus),f=Fe(K=>K.observability.compacting),d=Fe(K=>K.activeId),m=Fe(K=>K.remainingOlder),p=Fe(K=>K.prependItems),k=Z.useRef(null),b=Z.useRef(null),E=Z.useRef(!1),z=Z.useRef(null),[j,M]=Z.useState(!1),R=Z.useRef(!1),q=Z.useRef(0),J=Z.useRef(null),Y=Z.useRef(0),O=Z.useRef(0),[Q,te]=Z.useState(!1);Z.useEffect(()=>(R.current=!1,Y.current=0,E.current=!1,z.current=null,M(!1),te(!1),()=>{O.current&&cancelAnimationFrame(O.current),O.current=0}),[d]);const ne=()=>{const K=b.current;if(!K||!d||E.current||m<=0)return;E.current=!0,M(!0);const{offset:we,limit:W}=D6(m,80);z.current=K.scrollHeight-K.scrollTop,st.transcriptPage(d,we,W).then($=>{$.items.length>0?p($.items):(z.current=null,E.current=!1,M(!1))}).catch(()=>{z.current=null,E.current=!1,M(!1),console.error("could not load earlier transcript page")})};Z.useLayoutEffect(()=>{if(z.current==null)return;const K=b.current;K&&(K.scrollTop=K.scrollHeight-z.current),z.current=null,E.current=!1,M(!1)},[i]);const H=K=>{const we=K.scrollHeight-K.scrollTop-K.clientHeight;te(we>240)},de=()=>{O.current=0;const K=b.current;if(!K||!R.current)return;const we=K.scrollHeight-K.clientHeight,W=we-K.scrollTop;if(W<=1||Ju!=null&&Ju.matches){K.scrollTop=we,q.current=K.scrollTop;return}K.scrollTop+=Math.max(10,Math.ceil(W*.3)),q.current=K.scrollTop,O.current=requestAnimationFrame(de)},ae=()=>{O.current||(O.current=requestAnimationFrame(de))};Z.useEffect(()=>{var we;const K=b.current;if(K){if(J.current!==d&&i.length>0){J.current=d,R.current=!1,(we=k.current)==null||we.scrollIntoView({block:"end"}),q.current=K.scrollTop,Y.current=u.length,te(!1);return}u.length>Y.current&&(R.current=!0),Y.current=u.length,R.current?ae():H(K)}},[i,a,s,u,d,f]);const Te=()=>{const K=b.current;K&&(K.scrollTop<q.current-4&&(R.current=!1),q.current=K.scrollTop,H(K),K.scrollTop<300&&!E.current&&m>0&&ne())},ve=()=>{R.current=!0,te(!1),ae()},se=i.length===0&&!a&&!s&&u.length===0;return x.jsxs("div",{className:"transcript-wrap",children:[j&&x.jsxs("div",{className:"loading-older",role:"status",children:[x.jsx(Mi,{size:14}),x.jsx("span",{children:"Loading earlier messages…"})]}),x.jsxs("div",{className:"transcript",ref:b,onScroll:Te,children:[se&&x.jsxs("div",{className:"transcript-empty",children:[x.jsx("p",{className:"empty-title",children:"Casper is here."}),x.jsx("p",{className:"empty-sub",children:"Hand off a task. Casper keeps working server-side and has it ready when you get back."})]}),i.map(K=>K.type==="message"?K.message.role==="thinking"?x.jsx(op,{text:K.message.text},K.message.id):x.jsx("div",{className:`msg msg-${K.message.role}`,children:K.message.role==="assistant"?x.jsx(xa,{text:K.message.text}):x.jsxs(x.Fragment,{children:[d&&K.message.imagePaths&&K.message.imagePaths.length>0&&x.jsx("div",{className:"msg-images",children:K.message.imagePaths.map(we=>x.jsx("a",{href:st.attachmentUrl(d,we),target:"_blank",rel:"noopener noreferrer",className:"msg-image-link",children:x.jsx("img",{src:st.attachmentUrl(d,we),alt:we.split("/").pop()??"image",className:"msg-image",...P2})},we))}),K.message.text&&x.jsx("div",{className:"msg-user-text",children:K.message.text})]})},K.message.id):K.type==="tool_call"?x.jsx(Zk,{tool:K.tool},K.tool.id):K.type==="turn_error"?x.jsx(hb,{message:K.message,onRetry:n},K.id):x.jsx(fb,{summary:K.summary},K.id)),u.map(K=>x.jsxs("div",{className:`msg msg-user msg-pending ${K.status==="failed"?"is-failed":""}`,children:[x.jsx("div",{className:"msg-user-text",children:K.text}),K.status==="failed"&&x.jsxs("div",{className:"msg-failed",children:[x.jsx("span",{className:"msg-failed-why",children:K.error??"Failed to send."}),x.jsx("button",{className:"msg-retry",onClick:()=>t(K.id,K.text),children:"Retry"})]})]},K.id)),s&&x.jsx(op,{text:s,live:!0}),a&&x.jsx("div",{className:"msg msg-assistant",children:x.jsx(xa,{text:a})}),c==="running"&&!a&&!s&&x.jsxs("div",{className:"thinking",children:[x.jsx("span",{className:"thinking-dot"}),x.jsx("span",{className:"thinking-dot"}),x.jsx("span",{className:"thinking-dot"})]}),f&&x.jsx("div",{className:"compaction compaction-live",children:x.jsx("div",{className:"compaction-rule",children:x.jsxs("span",{className:"compaction-head",children:[x.jsx(Mi,{size:13,className:"compaction-icon"}),x.jsx("span",{className:"compaction-label",children:"Compacting conversation…"})]})})}),x.jsx("div",{ref:k})]}),Q&&x.jsx("button",{className:"scroll-to-bottom",onClick:ve,"aria-label":"Scroll to latest",title:"Scroll to latest",children:x.jsx("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:x.jsx("polyline",{points:"6 9 12 15 18 9"})})})]})});function op({text:e,live:t=!1}){const[n,i]=Z.useState(t);return x.jsxs("div",{className:`thought ${t?"is-live":""}`,children:[x.jsxs("button",{className:"thought-head",onClick:()=>i(a=>!a),children:[x.jsx("span",{className:"thought-chevron",children:n?"▾":"▸"}),x.jsx("span",{className:"thought-label",children:"Thinking"})]}),n&&x.jsx("div",{className:"thought-body",children:x.jsx(xa,{text:e})})]})}function hb({message:e,onRetry:t}){const[n,i]=Z.useState(!1),[a,s]=Z.useState(!1),u=dp(e),c=Fe(d=>{for(let m=d.items.length-1;m>=0;m--){const p=d.items[m];if(p.type==="message"&&p.message.role==="user")return p.message.text}return""}),f=()=>{var d;(d=navigator.clipboard)==null||d.writeText(e).then(()=>{s(!0),setTimeout(()=>s(!1),1500)},()=>{})};return x.jsxs("div",{className:"sysnote",children:[x.jsx("div",{className:"sysnote-rule",children:x.jsxs("button",{className:"sysnote-head",onClick:()=>i(d=>!d),"aria-expanded":n,children:[x.jsx("span",{"aria-hidden":!0,children:"⚠"}),x.jsx("span",{className:"sysnote-label",children:u.title}),x.jsx("span",{className:"sysnote-toggle",children:n?"Hide details":"Show details"})]})}),n&&x.jsxs("div",{className:"sysnote-body",children:[u.fix&&x.jsx("p",{className:"sysnote-fix",children:u.fix}),x.jsx("pre",{className:"sysnote-raw",children:e}),x.jsxs("div",{className:"sysnote-actions",children:[t&&c&&x.jsx("button",{className:"btn-sm is-danger",onClick:()=>t(c),children:"Retry turn"}),x.jsx("button",{className:"btn-sm",onClick:f,children:a?"Copied":"Copy details"})]})]})]})}function fb({summary:e}){const[t,n]=Z.useState(!1);return x.jsxs("div",{className:"compaction",children:[x.jsx("div",{className:"compaction-rule",children:x.jsxs("button",{className:"compaction-head",onClick:()=>n(i=>!i),"aria-expanded":t,children:[x.jsx(x6,{size:14,className:"compaction-icon"}),x.jsx("span",{className:"compaction-label",children:"Conversation compacted"}),x.jsx("span",{className:"compaction-toggle",children:t?"Hide summary":"Show summary"})]})}),t&&x.jsx("div",{className:"compaction-body",children:x.jsx(xa,{text:e})})]})}function O2({value:e,onChange:t,label:n="Working directory",placeholder:i="leave blank for server default",hint:a="A folder that doesn't exist yet will be created.",autoFocus:s=!1}){const[u,c]=Z.useState([]),[f,d]=Z.useState(!1),[m,p]=Z.useState(null),k=Z.useRef("");Z.useEffect(()=>{const j=e;k.current=j;const M=setTimeout(()=>{st.listDirs(j).then(R=>{k.current===j&&(c(R.entries),p({path:R.target,kind:R.targetKind}))}).catch(()=>{k.current===j&&(c([]),p(null))})},150);return()=>clearTimeout(M)},[e]);const b=e.trim()!=="",E=b&&(m==null?void 0:m.kind)==="missing",z=b&&(m==null?void 0:m.kind)==="file";return x.jsxs("label",{className:"picker cwd-field",children:[x.jsx("span",{className:"picker-label",children:n}),x.jsx("input",{className:"picker-input",value:e,placeholder:i,autoComplete:"off",spellCheck:!1,autoFocus:s,onFocus:()=>d(!0),onChange:j=>{t(j.target.value),d(!0)},onBlur:()=>setTimeout(()=>d(!1),120)}),f&&u.length>0&&x.jsx("div",{className:"cwd-suggestions",children:u.map(j=>x.jsx("button",{type:"button",className:"cwd-suggestion",onMouseDown:M=>M.preventDefault(),onClick:()=>{t(j),c([])},children:j},j))}),E&&x.jsxs("span",{className:"picker-hint cwd-will-create",children:["Doesn't exist yet - this folder will be created: ",x.jsx("code",{children:m.path})]}),z&&x.jsxs("span",{className:"picker-hint cwd-is-file",children:["That path is a file, not a folder: ",x.jsx("code",{children:m.path})]}),!E&&!z&&x.jsx("span",{className:"picker-hint",children:a})]})}function db({sessionId:e,currentCwd:t,onChanged:n,onClose:i}){const[a,s]=Z.useState(t??""),[u,c]=Z.useState(!1),[f,d]=Z.useState(null),m=async()=>{const p=a.trim();if(!(!p||u)){c(!0),d(null);try{const k=await st.setSessionCwd(e,p);n(k.cwd),i()}catch(k){d(k.message)}finally{c(!1)}}};return x.jsx("div",{className:"sheet-backdrop",onClick:i,children:x.jsxs("div",{className:"sheet",onClick:p=>p.stopPropagation(),children:[x.jsx("div",{className:"sheet-handle"}),x.jsx("h2",{className:"sheet-title",children:"Change working directory"}),x.jsx(O2,{value:a,onChange:s,placeholder:"/path/to/folder",hint:"The session keeps its transcript. A folder that doesn't exist yet will be created.",autoFocus:!0}),f&&x.jsx("div",{className:"sheet-error",children:f}),x.jsxs("div",{className:"sheet-actions",children:[x.jsx("button",{className:"btn-ghost",onClick:i,disabled:u,children:"Cancel"}),x.jsx("button",{className:"btn-primary",onClick:m,disabled:u||!a.trim(),children:u?"Saving…":"Change folder"})]})]})})}function mb(e){return e<1024?`${e} B`:e<1024*1024?`${(e/1024).toFixed(1)} KB`:`${(e/(1024*1024)).toFixed(1)} MB`}function pb({name:e}){var n;switch((n=e.split(".").pop())==null?void 0:n.toLowerCase()){case"ts":case"tsx":case"js":case"jsx":case"mjs":case"py":case"rb":case"go":case"rs":case"java":case"c":case"cpp":case"h":case"hpp":case"vue":case"svelte":return x.jsx(gd,{size:15,className:"ftree-icon-svg ftree-icon-code"});case"json":case"yaml":case"yml":case"toml":case"ini":case"env":case"lock":return x.jsx(h6,{size:15,className:"ftree-icon-svg ftree-icon-config"});case"md":case"txt":case"rst":case"log":case"csv":return x.jsx(f6,{size:15,className:"ftree-icon-svg ftree-icon-text"});case"css":case"scss":case"less":case"sass":return x.jsx(m6,{size:15,className:"ftree-icon-svg ftree-icon-style"});case"html":case"svg":case"xml":return x.jsx(gd,{size:15,className:"ftree-icon-svg ftree-icon-markup"});case"png":case"jpg":case"jpeg":case"gif":case"webp":case"bmp":case"ico":case"avif":return x.jsx(d6,{size:15,className:"ftree-icon-svg ftree-icon-image"});case"sh":case"bash":case"zsh":case"fish":case"bat":case"ps1":return x.jsx(p6,{size:15,className:"ftree-icon-svg ftree-icon-terminal"});default:return x.jsx(c6,{size:15,className:"ftree-icon-svg"})}}const gb=new Set(["png","jpg","jpeg","gif","webp","svg","bmp","ico","avif"]);function vb(e){var n;const t=((n=e.split(".").pop())==null?void 0:n.toLowerCase())??"";return gb.has(t)}function yb(e){return e.toLowerCase().endsWith(".pdf")}function xb(e){const t=e.toLowerCase();return t.endsWith(".html")||t.endsWith(".htm")}const wb={ts:"typescript",tsx:"tsx",js:"javascript",jsx:"jsx",mjs:"javascript",cjs:"javascript",json:"json",jsonl:"json",yaml:"yaml",yml:"yaml",md:"markdown",markdown:"markdown",html:"html",htm:"html",xml:"xml",css:"css",scss:"css",less:"css",py:"python",rs:"rust",go:"go",java:"java",c:"c",h:"c",cpp:"cpp",cc:"cpp",cxx:"cpp",hpp:"cpp",cs:"csharp",rb:"ruby",php:"php",kt:"kotlin",kts:"kotlin",swift:"swift",zig:"zig",lua:"lua",tex:"latex",toml:"toml",ini:"ini",cfg:"ini",conf:"ini",sh:"bash",bash:"bash",zsh:"bash",fish:"bash",dockerfile:"dockerfile",sql:"sql",diff:"diff",patch:"diff"};function kb(e){const t=e.toLowerCase();if(t==="dockerfile")return"dockerfile";if(t==="makefile")return"make";const n=t.split(".").pop()??"";return wb[n]??""}function B2({entry:e,sessionId:t,depth:n,onPreview:i}){const[a,s]=Z.useState({expanded:!1,children:null,loading:!1}),u=Z.useCallback(async()=>{if(e.type==="directory"&&!a.loading){if(a.expanded){s(d=>({...d,expanded:!1}));return}if(a.children===null){s(d=>({...d,loading:!0}));try{const d=await st.tree(t,e.path);s({expanded:!0,children:d.entries,loading:!1})}catch{s(d=>({...d,loading:!1}))}}else s(d=>({...d,expanded:!0}))}},[e,t,a.expanded,a.children,a.loading]),c=Z.useCallback(()=>{e.type==="file"&&i(e)},[e,i]),f=n*16;return e.type==="directory"?x.jsxs(x.Fragment,{children:[x.jsxs("button",{className:"ftree-row ftree-dir",onClick:u,style:{paddingLeft:`${f+8}px`},children:[x.jsx("span",{className:`ftree-chevron ${a.expanded?"is-open":""}`,children:a.loading?x.jsx(Mi,{size:12}):x.jsx(mp,{size:12,className:"ftree-chevron-icon"})}),x.jsx("span",{className:"ftree-icon",children:a.expanded?x.jsx(u6,{size:15,className:"ftree-icon-svg ftree-icon-folder"}):x.jsx(yp,{size:15,className:"ftree-icon-svg ftree-icon-folder"})}),x.jsx("span",{className:"ftree-name",children:e.name})]}),a.expanded&&a.children&&x.jsxs("div",{className:"ftree-children",children:[a.children.map(d=>x.jsx(B2,{entry:d,sessionId:t,depth:n+1,onPreview:i},d.path)),a.children.length===0&&x.jsx("div",{className:"ftree-empty",style:{paddingLeft:`${f+24}px`},children:"Empty"})]})]}):x.jsxs("div",{className:"ftree-row ftree-file",style:{paddingLeft:`${f+8}px`},onClick:c,children:[x.jsx("span",{className:"ftree-chevron ftree-chevron-spacer","aria-hidden":"true"}),x.jsx("span",{className:"ftree-icon",children:x.jsx(pb,{name:e.name})}),x.jsx("span",{className:"ftree-name",children:e.name}),e.size!=null&&x.jsx("span",{className:"ftree-size",children:mb(e.size)})]})}function bb({preview:e,sessionId:t,onClose:n}){const[i,a]=Z.useState(!1),[s,u]=Z.useState({}),c=()=>{window.open(st.downloadUrl(t,e.path),"_blank")},f=m=>{m.target===m.currentTarget&&n()};Z.useEffect(()=>{const m=p=>{p.key==="Escape"&&n()};return document.addEventListener("keydown",m),()=>document.removeEventListener("keydown",m)},[n]);const d=s[e.path]??!1;return x.jsx("div",{className:"fpreview-backdrop",onClick:f,children:x.jsxs("div",{className:`fpreview-modal${i?" fpreview-full":""}`,children:[x.jsxs("div",{className:"fpreview-header",children:[e.isHtml&&!e.error&&x.jsxs("div",{className:"fpreview-seg",role:"group","aria-label":"Preview mode",children:[x.jsx("button",{className:`fpreview-seg-btn${d?"":" is-active"}`,onClick:()=>u(m=>({...m,[e.path]:!1})),title:"Rendered","aria-label":"Rendered","aria-pressed":!d,children:x.jsx(w6,{size:17})}),x.jsx("button",{className:`fpreview-seg-btn${d?" is-active":""}`,onClick:()=>u(m=>({...m,[e.path]:!0})),title:"Source","aria-label":"Source","aria-pressed":d,children:x.jsx(k6,{size:17})})]}),x.jsx("span",{className:"fpreview-name",title:e.path,children:e.name}),x.jsx("button",{className:"fpreview-dl",onClick:c,title:"Download file","aria-label":"Download file",children:x.jsx(g6,{size:18})}),x.jsx("button",{className:"fpreview-full-btn",onClick:()=>a(m=>!m),title:i?"Exit fullscreen":"Fullscreen","aria-label":i?"Exit fullscreen":"Fullscreen",children:i?x.jsx(S6,{size:18}):x.jsx(b6,{size:18})}),x.jsx("button",{className:"fpreview-close",onClick:n,"aria-label":"Close preview",children:x.jsx(pp,{size:18})})]}),x.jsxs("div",{className:"fpreview-body",children:[e.loading&&x.jsx("div",{className:"ftree-loading",children:"Loading…"}),e.error&&x.jsx("div",{className:"ftree-error",children:e.error}),!e.loading&&!e.error&&e.isImage&&x.jsx("img",{src:st.previewUrl(t,e.path),alt:e.name,className:"fpreview-image"}),!e.error&&e.isPdf&&x.jsx("iframe",{src:st.previewUrl(t,e.path),title:e.name,className:"fpreview-pdf"}),!e.error&&e.isHtml&&!d&&x.jsx("iframe",{src:`${st.previewUrl(t,e.path)}&raw=1`,title:e.name,className:"fpreview-html",sandbox:"allow-scripts allow-forms"}),!e.loading&&!e.error&&!e.isImage&&!e.isPdf&&(!e.isHtml||d)&&e.highlightedHtml&&x.jsx("div",{className:"fpreview-highlighted",dangerouslySetInnerHTML:{__html:e.highlightedHtml}}),!e.loading&&!e.error&&!e.isImage&&!e.isPdf&&(!e.isHtml||d)&&!e.highlightedHtml&&e.content!==null&&x.jsx("pre",{className:"fpreview-code",children:e.content})]})]})})}function Sb({sessionId:e,onClose:t}){var J;const[n,i]=Z.useState([]),[a,s]=Z.useState(""),[u,c]=Z.useState(!0),[f,d]=Z.useState(null),[m,p]=Z.useState(null),[k,b]=Z.useState(!1),E=Fe(Y=>Y.sessions),z=Fe(Y=>Y.setSessions),j=(J=E.find(Y=>Y.sessionId===e))==null?void 0:J.cwd,M=Z.useCallback(async()=>{c(!0),d(null);try{const Y=await st.tree(e);i(Y.entries),s(Y.cwd)}catch(Y){d(Y.message)}finally{c(!1)}},[e]);Z.useEffect(()=>{M()},[M]);const R=Z.useCallback(async Y=>{const O=vb(Y.name),Q=yb(Y.name);if(p({path:Y.path,name:Y.name,content:null,highlightedHtml:null,isImage:O,isPdf:Q,isHtml:xb(Y.name),loading:!O&&!Q,error:null}),!O&&!Q)try{const te=st.previewUrl(e,Y.path),ne=await fetch(te,{credentials:"same-origin"});if(!ne.ok){const Te=await ne.text();throw new Error(Te||`HTTP ${ne.status}`)}const H=await ne.text();let de=null;const ae=kb(Y.name);ae&&(de=await g1(H,ae)),p(Te=>Te&&Te.path===Y.path?{...Te,content:H,highlightedHtml:de,loading:!1}:Te)}catch(te){p(ne=>ne&&ne.path===Y.path?{...ne,error:te.message,loading:!1}:ne)}},[e]),q=Z.useCallback(()=>p(null),[]);return x.jsxs("div",{className:"ftree-panel",children:[x.jsxs("div",{className:"ftree-header",children:[x.jsx("span",{className:"ftree-title",title:a,children:a?a.split("/").pop():"Files"}),x.jsx("button",{className:"ftree-refresh",onClick:()=>b(!0),title:"Change working directory","aria-label":"Change working directory",children:x.jsx(yp,{size:14})}),x.jsx("button",{className:"ftree-refresh",onClick:M,title:"Refresh file tree","aria-label":"Refresh file tree",children:x.jsx(v6,{size:14})}),t&&x.jsx("button",{className:"ftree-close",onClick:t,title:"Close file tree","aria-label":"Close file tree",children:x.jsx(pp,{size:15})})]}),a&&x.jsx("div",{className:"ftree-cwd",title:a,children:a}),x.jsxs("div",{className:"ftree-list",children:[u&&x.jsx("div",{className:"ftree-loading",children:"Loading…"}),f&&x.jsxs("div",{className:"ftree-error",children:[f,x.jsx("button",{className:"ftree-repoint",onClick:()=>b(!0),children:"Change folder…"})]}),!u&&!f&&n.length===0&&x.jsx("div",{className:"ftree-empty",children:"No files"}),!u&&!f&&n.map(Y=>x.jsx(B2,{entry:Y,sessionId:e,depth:0,onPreview:R},Y.path))]}),m&&x.jsx(bb,{preview:m,sessionId:e,onClose:q}),k&&x.jsx(db,{sessionId:e,currentCwd:a||j,onChanged:Y=>{z(E.map(O=>O.sessionId===e?{...O,cwd:Y}:O)),M()},onClose:()=>b(!1)})]})}function _2({ariaLabel:e,value:t,options:n,onChange:i}){const[a,s]=Z.useState(!1),[u,c]=Z.useState(0),f=Z.useRef(null),d=n.find(k=>k.value===t);Z.useEffect(()=>{if(!a)return;const k=b=>{f.current&&!f.current.contains(b.target)&&s(!1)};return document.addEventListener("mousedown",k),()=>document.removeEventListener("mousedown",k)},[a]),Z.useEffect(()=>{if(a){const k=n.findIndex(b=>b.value===t);c(k>=0?k:0)}},[a,n,t]);const m=k=>{i(k),s(!1)},p=k=>{if(!a){(k.key==="Enter"||k.key===" "||k.key==="ArrowDown")&&(k.preventDefault(),s(!0));return}if(k.key==="Escape")s(!1);else if(k.key==="ArrowDown")k.preventDefault(),c(b=>Math.min(b+1,n.length-1));else if(k.key==="ArrowUp")k.preventDefault(),c(b=>Math.max(b-1,0));else if(k.key==="Enter"){k.preventDefault();const b=n[u];b&&m(b.value)}};return x.jsxs("div",{className:"dd",ref:f,children:[x.jsxs("button",{type:"button",className:`dd-trigger ${a?"is-open":""}`,"aria-haspopup":"listbox","aria-expanded":a,onClick:()=>s(k=>!k),onKeyDown:p,"aria-label":e,children:[x.jsx("span",{className:"dd-value",children:(d==null?void 0:d.label)??t??"Select…"}),x.jsx(mp,{size:13,className:"dd-chevron"})]}),a&&x.jsx("div",{className:"dd-panel",role:"listbox",children:n.map((k,b)=>x.jsxs("button",{type:"button",role:"option","aria-selected":k.value===t,className:`dd-option ${b===u?"is-active":""} ${k.value===t?"is-selected":""}`,onMouseEnter:()=>c(b),onClick:()=>m(k.value),children:[x.jsx("span",{className:"dd-check",children:k.value===t&&x.jsx(a6,{size:15})}),x.jsx("span",{className:"dd-option-label",children:k.label}),k.hint&&x.jsx("span",{className:"dd-option-hint",children:k.hint})]},k.value))})]})}function q2({value:e,onChange:t}){const n=Fe(i=>i.models);return x.jsx(_2,{ariaLabel:"Model",value:e,onChange:t,options:n.map(i=>({value:i.modelId,label:i.modelName,hint:`${i.rateMultiplier}x`}))})}function H2({value:e,onChange:t}){const n=Fe(s=>s.modes),i=Fe(s=>s.agents),a=n.length>0?n:i;return x.jsx(_2,{ariaLabel:"Agent",value:e,onChange:t,options:a.map(s=>({value:s.id,label:s.name}))})}const _n=18,jc=2.5,Ic=(_n-jc)/2,up=2*Math.PI*Ic;function Cb(e){return e>85?"var(--aurora-red)":e>60?"var(--aurora-orange)":"var(--frost)"}const cp=new Intl.NumberFormat;function Tb({onCompact:e}){var z;const t=Fe(j=>j.observability.contextUsagePercentage),n=Fe(j=>j.observability.compacting),i=Fe(j=>j.observability.turnStatus),a=Fe(j=>j.activeId),s=Fe(j=>j.currentModelId),u=Fe(j=>j.models),[c,f]=Z.useState(!1),d=Z.useRef(null);Z.useEffect(()=>{if(!c)return;const j=R=>{d.current&&!d.current.contains(R.target)&&f(!1)},M=R=>{R.key==="Escape"&&f(!1)};return document.addEventListener("mousedown",j),document.addEventListener("keydown",M),()=>{document.removeEventListener("mousedown",j),document.removeEventListener("keydown",M)}},[c]);const m=Math.max(0,Math.min(100,t)),p=Cb(m),k=m/100*up,b=(z=u.find(j=>j.modelId===s))==null?void 0:z.contextWindowTokens,E=b?Math.round(m/100*b):void 0;return x.jsxs("div",{className:"ctx",ref:d,children:[x.jsx("button",{type:"button",className:"ctx-btn",onClick:()=>f(j=>!j),"aria-haspopup":"dialog","aria-expanded":c,"aria-label":`Context ${m.toFixed(0)}% used`,title:`Context ${m.toFixed(0)}% used`,children:x.jsx("svg",{width:_n,height:_n,viewBox:`0 0 ${_n} ${_n}`,"aria-hidden":!0,children:x.jsxs("g",{transform:`rotate(-90 ${_n/2} ${_n/2})`,children:[x.jsx("circle",{cx:_n/2,cy:_n/2,r:Ic,fill:"none",stroke:"var(--n2)",strokeWidth:jc}),x.jsx("circle",{cx:_n/2,cy:_n/2,r:Ic,fill:"none",stroke:p,strokeWidth:jc,strokeLinecap:"round",strokeDasharray:`${k} ${up-k}`})]})})}),c&&x.jsxs("div",{className:"ctx-pop",role:"dialog","aria-label":"Context usage",children:[x.jsxs("div",{className:"ctx-pop-head",children:[x.jsx("span",{className:"ctx-pop-title",children:"Context used"}),x.jsxs("span",{className:"ctx-pop-pct",style:{color:p},children:[m.toFixed(1),"%"]})]}),x.jsx("div",{className:"ctx-pop-bar",children:x.jsx("span",{className:"ctx-pop-bar-fill",style:{width:`${m}%`,background:p}})}),b?x.jsxs("dl",{className:"ctx-pop-rows",children:[x.jsxs("div",{className:"ctx-pop-row",children:[x.jsx("dt",{children:"Used"}),x.jsxs("dd",{children:[cp.format(E??0)," tokens"]})]}),x.jsxs("div",{className:"ctx-pop-row",children:[x.jsx("dt",{children:"Window"}),x.jsxs("dd",{children:[cp.format(b)," tokens"]})]})]}):x.jsx("p",{className:"ctx-pop-note",children:"Token counts need a selected model’s window size."}),x.jsx("button",{type:"button",className:"ctx-pop-compact",disabled:!a||n||i!=="idle",onClick:()=>{f(!1),e()},children:n?"Compacting…":"Compact conversation"})]})]})}const hp=new Set(["image/png","image/jpeg","image/gif","image/webp","image/svg+xml"]);function Eb({sessionId:e,onSend:t,onCancel:n,onCompact:i,onChangeModel:a,onChangeAgent:s,connStatus:u}){const[c,f]=Z.useState(""),[d,m]=Z.useState([]),[p,k]=Z.useState(!1),[b,E]=Z.useState(null),z=Fe($=>$.observability.turnStatus),j=Fe($=>$.observability.compacting),M=Fe($=>$.currentModeId),R=Fe($=>$.currentModelId),q=z==="running",J=z==="cancelling",Y=u==="connected",O=Z.useRef(null),Q=Z.useRef(null),te=$=>new Promise((N,L)=>{const G=new FileReader;G.onload=()=>N(G.result.split(",")[1]??""),G.onerror=()=>L(new Error("Failed to read file")),G.readAsDataURL($)}),ne=Z.useCallback(()=>{const $=Q.current;$&&($.style.height="auto",$.style.height=`${Math.min($.scrollHeight,200)}px`)},[]);Z.useEffect(()=>{ne()},[c,ne]);const H=Z.useCallback($=>{const N=$.map(L=>{const G=hp.has(L.type);return{id:`att-${Date.now()}-${Math.random().toString(36).slice(2,8)}`,file:L,isImage:G,previewUrl:G?URL.createObjectURL(L):void 0}});m(L=>[...L,...N])},[]),de=async($,N,L)=>{const G=[];$.length>0&&G.push({type:"text",text:Ys+$.map(A=>A.path).join(", ")+`
338
- `});for(let A=0;A<$.length;A++){const be=$[A],Le=N[A];if(be){if(be.kind==="image"&&Le)try{const Ae=await te(Le.file);G.push({type:"image",data:Ae,mimeType:Le.file.type})}catch{}else if(be.kind==="text"&&Le)try{const Ae=await Le.file.text();G.push({type:"text",text:`[File: ${be.path}]
339
- \`\`\`
340
- ${Ae}
341
- \`\`\``})}catch{}}}return L&&G.push({type:"text",text:L}),G},ae=async()=>{const $=c.trim();if(!$&&d.length===0||q||J||j||!Y||p)return;let N=[];const L=d;if(L.length>0){if(!e){E("No active session to upload to.");return}k(!0),E(null);try{N=(await st.uploadFiles(e,L.map(be=>be.file))).files}catch(A){E(A.message),k(!1);return}k(!1)}const G=await de(N,L,$);G.length!==0&&(t(G),f(""),L.forEach(A=>A.previewUrl&&URL.revokeObjectURL(A.previewUrl)),m([]),requestAnimationFrame(()=>{Q.current&&(Q.current.style.height="auto")}))},Te=$=>{$.key==="Enter"&&!$.shiftKey&&($.preventDefault(),ae())},ve=Z.useCallback($=>{var G;const N=(G=$.clipboardData)==null?void 0:G.items;if(!N)return;const L=[];for(const A of Array.from(N))if(A.kind==="file"&&hp.has(A.type)){const be=A.getAsFile();be&&L.push(be)}L.length>0&&($.preventDefault(),H(L))},[H]),se=$=>{$.target.files&&H(Array.from($.target.files)),$.target.value=""},K=$=>{m(N=>{const L=N.find(G=>G.id===$);return L!=null&&L.previewUrl&&URL.revokeObjectURL(L.previewUrl),N.filter(G=>G.id!==$)})};Z.useEffect(()=>()=>{m($=>($.forEach(N=>N.previewUrl&&URL.revokeObjectURL(N.previewUrl)),$))},[]);const we=u==="closed"?"Offline - reconnecting when possible":u==="reconnecting"?"Reconnecting…":u==="resyncing"?"Resyncing…":Y?p?"Uploading…":J?"Stopping…":j?"Compacting conversation…":q?"Casper is working…":"Ask Casper to build something…":"Connecting…",W=(c.trim()||d.length>0)&&!q&&!J&&!j&&!p&&Y;return x.jsxs("div",{className:"composer",children:[b&&x.jsx("div",{className:"composer-error",children:b}),d.length>0&&x.jsx("div",{className:"composer-attachments",children:d.map($=>x.jsxs("div",{className:"composer-att",children:[$.isImage&&$.previewUrl?x.jsx("img",{src:$.previewUrl,alt:$.file.name,className:"composer-att-img"}):x.jsxs("div",{className:"composer-att-file",title:$.file.name,children:[x.jsx("span",{className:"composer-att-file-icon",children:"📄"}),x.jsx("span",{className:"composer-att-file-name",children:$.file.name})]}),x.jsx("button",{className:"composer-att-remove",onClick:()=>K($.id),"aria-label":`Remove ${$.file.name}`,children:"×"})]},$.id))}),x.jsxs("div",{className:"composer-box",children:[x.jsx("textarea",{ref:Q,className:"composer-input",value:c,onChange:$=>f($.target.value),onKeyDown:Te,onPaste:ve,placeholder:we,rows:1}),x.jsxs("div",{className:"composer-actions",children:[x.jsx("button",{className:"composer-plus",onClick:()=>{var $;return($=O.current)==null?void 0:$.click()},disabled:!Y||p,title:"Add photos & files","aria-label":"Add photos and files",children:x.jsx(gp,{size:18})}),x.jsxs("div",{className:"composer-actions-right",children:[x.jsx(Tb,{onCompact:i}),x.jsx(H2,{value:M,onChange:s}),x.jsx(q2,{value:R,onChange:a}),q?x.jsx("button",{className:"composer-btn composer-stop",onClick:n,title:"Stop","aria-label":"Stop",children:x.jsx(pd,{size:15})}):J?x.jsx("button",{className:"composer-btn composer-stop",disabled:!0,title:"Stopping…","aria-label":"Stopping",children:x.jsx(pd,{size:15})}):x.jsx("button",{className:"composer-btn composer-send",onClick:ae,disabled:!W,title:p?"Uploading…":"Send","aria-label":p?"Uploading":"Send",children:p?x.jsx(Mi,{size:15}):x.jsx(o6,{size:17})})]})]})]}),x.jsx("input",{ref:O,type:"file",multiple:!0,onChange:se,className:"composer-file-input"})]})}const Nb={connecting:{cls:"busy",label:"Connecting"},replaying:{cls:"busy",label:"Catching up"},connected:{cls:"ok",label:"Live"},reconnecting:{cls:"busy",label:"Reconnecting"},resyncing:{cls:"busy",label:"Resyncing"},closed:{cls:"down",label:"Offline"}};function zb({status:e}){const{cls:t,label:n}=Nb[e];return x.jsxs("span",{className:`conndot conndot-${t}`,children:[x.jsx("span",{className:"conndot-blip"}),x.jsx("span",{className:"conndot-label",children:n})]})}function Ab({hasActive:e,loadingSessionId:t,connStatus:n,creating:i,createError:a,onRetryCreate:s,onDismissError:u,onBack:c,onSend:f,onRetry:d,onRetryTurn:m,onCancel:p,onNew:k,onChangeModel:b,onChangeAgent:E,onCompact:z}){const j=Fe(O=>{var Q;return(Q=O.sessions.find(te=>te.sessionId===O.activeId))==null?void 0:Q.title}),M=Fe(O=>O.activeId),R=Fe(O=>O.sessionNotice),q=Fe(O=>O.dismissSessionNotice),[J,Y]=Z.useState(!1);return t?x.jsxs("main",{className:"chatpane",children:[x.jsxs("header",{className:"chat-head",children:[x.jsx("button",{className:"backbtn",onClick:c,"aria-label":"Back to sessions",children:"‹"}),x.jsx("span",{className:"chat-title",children:"Opening session…"})]}),x.jsx("div",{className:"chat-blank",children:x.jsx(Mi,{size:48,className:"chat-spinner"})})]}):e?i?x.jsxs("main",{className:"chatpane",children:[x.jsx("header",{className:"chat-head",children:x.jsx("span",{className:"chat-title",children:"New session"})}),x.jsxs("div",{className:"chat-blank",children:[x.jsx(Mi,{size:32,className:"chat-spinner"}),x.jsx("p",{className:"chat-blank-title",children:"Starting session"}),x.jsx("p",{className:"chat-blank-sub",children:"Spinning up Kiro and connecting. This can take a few seconds."})]})]}):a?x.jsxs("main",{className:"chatpane",children:[x.jsxs("header",{className:"chat-head",children:[x.jsx("button",{className:"backbtn",onClick:c,"aria-label":"Back to sessions",children:"‹"}),x.jsx("span",{className:"chat-title",children:"New session"})]}),x.jsxs("div",{className:"chat-blank",children:[x.jsx("p",{className:"chat-blank-title",children:"Couldn't start the session"}),x.jsx("p",{className:"chat-blank-sub",children:a}),x.jsxs("div",{className:"chat-error-actions",children:[x.jsx("button",{className:"btn-primary",onClick:s,children:"Try again"}),x.jsx("button",{className:"btn-ghost",onClick:u,children:"Back to sessions"})]})]})]}):x.jsxs("main",{className:`chatpane chatpane-split ${J?"has-tree":""}`,children:[x.jsxs("div",{className:"chat-col",children:[x.jsxs("header",{className:"chat-head",children:[x.jsx("button",{className:"backbtn",onClick:c,"aria-label":"Back to sessions",children:"‹"}),x.jsx("span",{className:"chat-title",title:j,children:j??"Session"}),x.jsx(zb,{status:n}),x.jsx("button",{className:`ftree-toggle ${J?"is-active":""}`,onClick:()=>Y(O=>!O),title:"Toggle file tree","aria-label":"Toggle file tree","aria-pressed":J,children:x.jsx(y6,{size:18})})]}),x.jsx("div",{className:"chat-body",children:x.jsx(cb,{onRetry:d,onRetryTurn:m})}),x.jsxs("div",{className:"composer-wrap",children:[R&&x.jsxs("div",{className:"notice-banner",role:"alert",children:[x.jsx("span",{className:"notice-icon","aria-hidden":!0,children:"⚠"}),x.jsxs("div",{className:"notice-text",children:[x.jsx("p",{className:"notice-title",children:R.title}),R.fix&&x.jsx("p",{className:"notice-sub",children:R.fix})]}),x.jsx("button",{className:"notice-x",onClick:q,"aria-label":"Dismiss",children:"×"})]}),x.jsx(Eb,{sessionId:M,onSend:f,onCancel:p,onCompact:z,onChangeModel:b,onChangeAgent:E,connStatus:n})]})]}),M&&x.jsx("aside",{className:`ftree-aside ${J?"is-open":""}`,children:J&&x.jsx(Sb,{sessionId:M,onClose:()=>Y(!1)})}),M&&J&&x.jsx("div",{className:"ftree-backdrop",onClick:()=>Y(!1),"aria-hidden":!0})]}):x.jsx("main",{className:"chatpane",children:x.jsxs("div",{className:"chat-blank",children:[x.jsx("p",{className:"chat-blank-title",children:"Pick a session"}),x.jsx("p",{className:"chat-blank-sub",children:"Choose one on the left, or start a new one. Casper keeps working even after you close the app."}),x.jsx("button",{className:"btn-primary",onClick:k,children:"New session"})]})})}function Mb({onCreate:e,onClose:t}){var k;const n=Fe(b=>b.models),i=Fe(b=>b.defaultAgentId),[a,s]=Z.useState(""),[u,c]=Z.useState(),[f,d]=Z.useState(),m=u??i,p=f??((k=n.find(b=>b.isDefault))==null?void 0:k.modelId)??"auto";return x.jsx("div",{className:"sheet-backdrop",onClick:t,children:x.jsxs("div",{className:"sheet",onClick:b=>b.stopPropagation(),children:[x.jsx("div",{className:"sheet-handle"}),x.jsx("h2",{className:"sheet-title",children:"New session"}),x.jsx(O2,{value:a,onChange:s}),x.jsx(H2,{value:m,onChange:c}),x.jsx(q2,{value:p,onChange:d}),x.jsxs("div",{className:"sheet-actions",children:[x.jsx("button",{className:"btn-ghost",onClick:t,children:"Cancel"}),x.jsx("button",{className:"btn-primary",onClick:()=>e({cwd:a.trim(),agentId:m,modelId:p}),children:"Start session"})]})]})})}function jb({onReady:e}){const[t,n]=Z.useState(""),[i,a]=Z.useState(null),[s,u]=Z.useState(!1),c=async()=>{u(!0),a(null);try{await n6(t.trim()),e()}catch(f){a(f.message)}finally{u(!1)}};return x.jsxs("div",{className:"gate",children:[x.jsx("img",{className:"gate-logo",src:"/logo.svg",alt:""}),x.jsx("h1",{className:"gate-title",children:"Casper"}),x.jsx("p",{className:"gate-sub",children:"Enter your access token to continue."}),x.jsx("input",{className:"gate-input",type:"password",value:t,placeholder:"access token",onChange:f=>n(f.target.value),onKeyDown:f=>f.key==="Enter"&&c()}),i&&x.jsx("p",{className:"gate-error",children:i}),x.jsx("button",{className:"btn-primary gate-btn",onClick:c,disabled:s,children:s?"Checking…":"Continue"}),x.jsxs("p",{className:"gate-hint",children:["Don't have it? On the machine running Casper, run ",x.jsx("code",{children:"casper token"}),"."]})]})}const Ib={prompt:"Message",cancel:"Stop",set_mode:"Agent change",set_model:"Model change",exec_command:"Command"};function Db(){const[e,t]=Z.useState("checking");return Z.useEffect(()=>{e==="checking"&&st.listSessions().then(()=>t("ready")).catch(()=>t("gate"))},[e]),e==="checking"?x.jsx("div",{className:"app-splash"}):e==="gate"?x.jsx(jb,{onReady:()=>t("ready")}):x.jsx(Lb,{onLock:()=>t("gate")})}function Lb({onLock:e}){const t=Fe(),[n,i]=Z.useState(!1),[a,s]=Z.useState("closed"),[u,c]=Z.useState(!1),[f,d]=Z.useState(null),m=Z.useRef(null),p=Z.useRef(null),k=Z.useRef(null),b=Z.useRef(0),E=Z.useCallback(()=>{st.listSessions().then(W=>t.setSessions(W.sessions)).catch(()=>{})},[t]);Z.useEffect(()=>{st.models().then(W=>t.setModels(W.models)).catch(()=>{}),st.agents().then(W=>t.setAgents(W.agents,W.defaultAgentId)).catch(()=>{}),E()},[]);const z=Z.useCallback(()=>{var W;(W=p.current)==null||W.close(),p.current=null},[]),j=Z.useCallback(()=>{z(),t.clearActive(),e()},[z,e,t]),M=Z.useCallback(async W=>{if(t.activeId===W)return;z(),s("connecting"),Fe.getState().setLoadingSession(W);let $;try{$=await st.getSession(W)}catch(L){s("closed"),Fe.getState().setLoadingSession(null),console.error("open session failed:",L);return}t.loadDetail($);const N=new l6(W,{onEvent:L=>{Fe.getState().applyEvent(L),L.payload.kind==="turn_ended"&&setTimeout(E,1200)},onStatus:s,onResync:async()=>{var G;const L=await st.getSession(W);Fe.getState().loadDetail(L),(G=p.current)==null||G.reset(L.head)},onAck:(L,G,A)=>{if(G)return;const be=A??"The server rejected the request.";if(L==="prompt"){k.current&&Fe.getState().markPendingFailed(k.current,be);return}console.error(`${Ib[L]??L} rejected:`,be)},onUnauthorized:j,onServerError:L=>{console.error("server error:",L)}},$.head);p.current=N,N.connect()},[z,j,E,t]),R=Z.useCallback(()=>{z(),t.clearActive(),E()},[z,E,t]),q=Z.useCallback(async W=>{i(!1),z(),s("connecting"),d(null),c(!0),m.current=W;try{const $=await st.createSession({cwd:W.cwd||void 0,agentId:W.agentId,modelId:W.modelId});E(),await M($.summary.sessionId)}catch($){s("closed"),d($ instanceof Error?$.message:"Failed to create session")}finally{c(!1)}},[z,M,E]),J=Z.useCallback(()=>{m.current&&q(m.current)},[q]),Y=Z.useCallback(()=>{d(null),R()},[R]),O=Z.useCallback(async W=>{try{await st.deleteSession(W)}catch{console.error("delete session failed"),E();return}t.activeId===W?R():E()},[R,E,t]),Q=Z.useCallback(async(W,$)=>{Fe.setState(N=>({sessions:N.sessions.map(L=>L.sessionId===W?{...L,title:$}:L)})),await st.renameSession(W,$).catch(()=>{console.error("rename session failed")}),E()},[E]),te=Z.useCallback((W,$)=>{var L;if(k.current=W,!(((L=p.current)==null?void 0:L.prompt($))??!1)){const G=p.current?"Not connected to the server - reconnecting. Retry once the status dot is green.":"No active session socket.";Fe.getState().markPendingFailed(W,G)}},[]),ne=Z.useCallback(W=>{const $=`pending-${b.current++}`,N=fp(W.filter(A=>A.type==="text").map(A=>A.text).join(`
342
- `)),L=W.some(A=>A.type==="image"),G=N||(L?"[image]":"[attachment]");Fe.getState().addPending($,G),te($,W)},[te]),H=Z.useCallback((W,$)=>{Fe.setState(N=>({pending:N.pending.map(L=>L.id===W?{...L,status:"sending",error:void 0}:L)})),te(W,[{type:"text",text:$}])},[te]),de=Z.useCallback(W=>{ne([{type:"text",text:W}])},[ne]),ae=Z.useCallback(()=>{var W;(W=p.current)==null||W.cancel(),Fe.setState($=>$.observability.turnStatus==="running"?{observability:{...$.observability,turnStatus:"cancelling"}}:{})},[]),Te=Z.useCallback(W=>{var $;($=p.current)==null||$.setModel(W),Fe.setState({currentModelId:W})},[]),ve=Z.useCallback(W=>{var $;($=p.current)==null||$.setMode(W),Fe.setState(N=>({currentModeId:W,sessions:N.activeId?N.sessions.map(L=>L.sessionId===N.activeId?{...L,agentId:W}:L):N.sessions}))},[]),se=Z.useCallback(()=>{var W;(W=p.current)==null||W.execCommand("compact"),Fe.setState($=>({observability:{...$.observability,compacting:!0}})),setTimeout(()=>{Fe.setState($=>$.observability.compacting?{observability:{...$.observability,compacting:!1}}:{})},12e4)},[]),K=Z.useCallback(()=>{r6(),z(),t.clearActive(),e()},[z,e,t]),we=t.activeId!==null||t.loadingSessionId!==null||u||f!==null;return x.jsxs("div",{className:`layout ${we?"has-active":""}`,children:[x.jsx(I6,{sessions:t.sessions,activeId:t.activeId,loadingId:t.loadingSessionId,onOpen:M,onNew:()=>i(!0),onDelete:O,onRename:Q,onLock:K}),x.jsx(Ab,{hasActive:we,loadingSessionId:t.loadingSessionId,connStatus:a,creating:u,createError:f,onRetryCreate:J,onDismissError:Y,onBack:R,onSend:ne,onRetry:H,onRetryTurn:de,onCancel:ae,onNew:()=>i(!0),onChangeModel:Te,onChangeAgent:ve,onCompact:se}),n&&x.jsx(Mb,{onCreate:q,onClose:()=>i(!1)})]})}if("serviceWorker"in navigator){const e=!!navigator.serviceWorker.controller;let t=!1;navigator.serviceWorker.addEventListener("controllerchange",()=>{t||!e||(t=!0,window.location.reload())}),navigator.serviceWorker.ready.then(n=>{n.update().catch(()=>{}),document.addEventListener("visibilitychange",()=>{document.visibilityState==="visible"&&n.update().catch(()=>{})})}).catch(()=>{})}G5.createRoot(document.getElementById("root")).render(x.jsx(oa.StrictMode,{children:x.jsx(Db,{})}));export{L2 as _,L6 as a,X6 as b,tm as c,Ep as f,Dc as g,Np as h,Rb as k,ao as s,B6 as w};