@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.
- package/dist/server.js +1 -1
- package/dist/web/assets/{abap-DsBKuouk.js → abap-jokb6lkK.js} +1 -1
- package/dist/web/assets/{abnfDiagram-N423BO3Z-BntXFWDC.js → abnfDiagram-N423BO3Z-5RMwP9tv.js} +1 -1
- package/dist/web/assets/{actionscript-3-D_z4Izcz.js → actionscript-3-BXYeDGJT.js} +1 -1
- package/dist/web/assets/{ada-727ZlQH0.js → ada-CBhgZKLz.js} +1 -1
- package/dist/web/assets/andromeeda-C6FuwQ60.js +1 -0
- package/dist/web/assets/{angular-html-LfdN0zeE.js → angular-html-1hX26BPZ.js} +1 -1
- package/dist/web/assets/angular-ts-NOFjJDBC.js +1 -0
- package/dist/web/assets/{apache-Dn00JSTd.js → apache-DZWQkMCk.js} +1 -1
- package/dist/web/assets/{apex-COJ4H7py.js → apex-yOx7_f90.js} +1 -1
- package/dist/web/assets/{apl-BBq3IX1j.js → apl-COek7QEF.js} +1 -1
- package/dist/web/assets/{applescript-Bu5BbsvL.js → applescript-DK6hSn4y.js} +1 -1
- package/dist/web/assets/{ara-7O62HKoU.js → ara-NyGvP6OL.js} +1 -1
- package/dist/web/assets/arc-DEuUsPX5.js +1 -0
- package/dist/web/assets/architectureDiagram-T3A2C74G-k4h0zktw.js +36 -0
- package/dist/web/assets/{asciidoc-BPT9niGB.js → asciidoc-DDMctdp3.js} +1 -1
- package/dist/web/assets/{asm-Dhn9LcZ4.js → asm-C-s1ZrQ8.js} +1 -1
- package/dist/web/assets/{astro-CqkE3fuf.js → astro-CNP7wUB9.js} +1 -1
- package/dist/web/assets/aurora-x-C0VKFdlO.js +1 -0
- package/dist/web/assets/{awk-eg146-Ew.js → awk-DUctW4RQ.js} +1 -1
- package/dist/web/assets/ayu-dark-_V__kATy.js +1 -0
- package/dist/web/assets/{ballerina-Du268qiB.js → ballerina-DCDyHuU_.js} +1 -1
- package/dist/web/assets/{bat-fje9CFhw.js → bat-CYJ1VtZ8.js} +1 -1
- package/dist/web/assets/{beancount-BwXTMy5W.js → beancount-DXz1TR4C.js} +1 -1
- package/dist/web/assets/{berry-3xVqZejG.js → berry-DSxfSjpQ.js} +1 -1
- package/dist/web/assets/{bibtex-xW4inM5L.js → bibtex-D3osIjO9.js} +1 -1
- package/dist/web/assets/{bicep-DHo0CJ0O.js → bicep-BJtoMy_l.js} +1 -1
- package/dist/web/assets/{blade-a8OxSdnT.js → blade-BrTmz5zY.js} +1 -1
- package/dist/web/assets/{blockDiagram-VBNYF7ZC-Brv9Aqj6.js → blockDiagram-VBNYF7ZC-qTl9ZS2k.js} +1 -1
- package/dist/web/assets/{bsl-Dgyn0ogV.js → bsl-BOq_oGzx.js} +1 -1
- package/dist/web/assets/{c-C3t2pwGQ.js → c-C7geQHiD.js} +1 -1
- package/dist/web/assets/{c4Diagram-5PPSVZJV-CsCCridM.js → c4Diagram-5PPSVZJV-R6o_zt-Q.js} +1 -1
- package/dist/web/assets/{cadence-DNquZEk8.js → cadence-B8exyrQ2.js} +1 -1
- package/dist/web/assets/{cairo--RitsXJZ.js → cairo-CvnV_g6b.js} +1 -1
- package/dist/web/assets/catppuccin-frappe-7hveN6gg.js +1 -0
- package/dist/web/assets/catppuccin-latte-CDftU3M4.js +1 -0
- package/dist/web/assets/catppuccin-macchiato-DVaPwPDs.js +1 -0
- package/dist/web/assets/catppuccin-mocha-CYOEdfgP.js +1 -0
- package/dist/web/assets/channel-BQC-40u0.js +1 -0
- package/dist/web/assets/{chunk-2GRJ4B5K-D_ANB_P2.js → chunk-2GRJ4B5K-CrJyVfhF.js} +1 -1
- package/dist/web/assets/{chunk-2Q5K7J3B-DW22WjpO.js → chunk-2Q5K7J3B-BvGurkBq.js} +1 -1
- package/dist/web/assets/{chunk-5RXB4S5H-wtOenker.js → chunk-5RXB4S5H-DuE267ol.js} +3 -3
- package/dist/web/assets/{chunk-5VM5RSS4-D1yDtOMG.js → chunk-5VM5RSS4-DAVY20oh.js} +1 -1
- package/dist/web/assets/{chunk-6Q2QTUOP-Bk0pf9ER.js → chunk-6Q2QTUOP-DvkSg8Wl.js} +3 -3
- package/dist/web/assets/{chunk-GF5L2VYU-DsdtNU_v.js → chunk-GF5L2VYU-B8KQ7FAJ.js} +1 -1
- package/dist/web/assets/{chunk-JWPE2WC7--SnlIo8Q.js → chunk-JWPE2WC7-D2J6xFCq.js} +1 -1
- package/dist/web/assets/{chunk-KBJHAD2P-DtWSCQMb.js → chunk-KBJHAD2P-BfgGkRN_.js} +1 -1
- package/dist/web/assets/{chunk-RYQCIY6F-Du4c_cV1.js → chunk-RYQCIY6F-C0uby4vT.js} +1 -1
- package/dist/web/assets/{chunk-XXDRQBXY-DZ8cNm58.js → chunk-XXDRQBXY-BAZLB2J1.js} +1 -1
- package/dist/web/assets/{clarity-BHOwM8T6.js → clarity-BspLniIr.js} +1 -1
- package/dist/web/assets/classDiagram-JCYQIIEL-9L45zm4i.js +1 -0
- package/dist/web/assets/classDiagram-v2-OCEON4UE-9L45zm4i.js +1 -0
- package/dist/web/assets/{clojure-DxSadP1t.js → clojure-TcMZRJXX.js} +1 -1
- package/dist/web/assets/{cmake-DbXoA79R.js → cmake-Cq1xYuce.js} +1 -1
- package/dist/web/assets/{cobol-PTqiYgYu.js → cobol-DQNJTdu9.js} +1 -1
- package/dist/web/assets/{codeowners-Bp6g37R7.js → codeowners-CtwIM3TN.js} +1 -1
- package/dist/web/assets/{codeql-sacFqUAJ.js → codeql-Dfnujan1.js} +1 -1
- package/dist/web/assets/{coffee-dyiR41kL.js → coffee-CvgfVqck.js} +1 -1
- package/dist/web/assets/{common-lisp-C7gG9l05.js → common-lisp-DdDwuCTO.js} +1 -1
- package/dist/web/assets/{coq-Dsg_Bt_b.js → coq-xi22SHg_.js} +1 -1
- package/dist/web/assets/{cose-bilkent-JH36ORCC-9Wf3tO4_.js → cose-bilkent-JH36ORCC-8FFjV-r2.js} +1 -1
- package/dist/web/assets/{cpp-BksuvNSY.js → cpp-CZnLxZIX.js} +1 -1
- package/dist/web/assets/{crystal-DtDmRg-F.js → crystal-DtOJ9C4F.js} +1 -1
- package/dist/web/assets/{csharp-D9R-vmeu.js → csharp-D5GhjuXM.js} +1 -1
- package/dist/web/assets/{css-BPhBrDlE.js → css-DsSsXWQB.js} +1 -1
- package/dist/web/assets/{csv-B0qRVHPH.js → csv-CXMJgpSL.js} +1 -1
- package/dist/web/assets/{cue-DtFQj3wx.js → cue-usmCabPr.js} +1 -1
- package/dist/web/assets/{cynefin-VYW2F7L2-DR-DJAgB.js → cynefin-VYW2F7L2-CDT1GZi_.js} +1 -1
- package/dist/web/assets/{cynefinDiagram-MW4NZA55-BN8dtb3y.js → cynefinDiagram-MW4NZA55-DMs5fXGJ.js} +2 -2
- package/dist/web/assets/{cypher-m2LEI-9-.js → cypher-CrL00TIU.js} +1 -1
- package/dist/web/assets/{d-BoXegm-a.js → d-CFhQIz9L.js} +1 -1
- package/dist/web/assets/{dagre-VZM6K2ZE-bEGuwESr.js → dagre-VZM6K2ZE-BUgnrG7T.js} +1 -1
- package/dist/web/assets/dark-plus-DLU5INA3.js +1 -0
- package/dist/web/assets/{dart-B9wLZaAG.js → dart-DMtosjLs.js} +1 -1
- package/dist/web/assets/{dax-ClGRhx96.js → dax-vckHzldx.js} +1 -1
- package/dist/web/assets/{desktop-DEIpsLCJ.js → desktop-B6eBibaS.js} +1 -1
- package/dist/web/assets/{diagram-7IWD3JNH-DY3RlWAl.js → diagram-7IWD3JNH-DUJeTMJj.js} +3 -3
- package/dist/web/assets/{diagram-B4RE2ZJO-P-8DDSKD.js → diagram-B4RE2ZJO-BsVTn5rU.js} +3 -3
- package/dist/web/assets/{diagram-LBJQPF4R-COyMwTD5.js → diagram-LBJQPF4R--uxNHPeF.js} +2 -2
- package/dist/web/assets/{diagram-Q27KOJAE-C9-App7G.js → diagram-Q27KOJAE-GYAROo1s.js} +1 -1
- package/dist/web/assets/{diagram-UB23O5K3-D5hjqgyv.js → diagram-UB23O5K3-CpJvxU_K.js} +1 -1
- package/dist/web/assets/{diff-BgYniUM_.js → diff-DSVZyKbn.js} +1 -1
- package/dist/web/assets/{docker-COcR7UxN.js → docker-CVy4PnLq.js} +1 -1
- package/dist/web/assets/{dotenv-BjQB5zDj.js → dotenv-Wk8gXVAW.js} +1 -1
- package/dist/web/assets/dracula-XcYHBZy6.js +1 -0
- package/dist/web/assets/dracula-soft-BPeX9gxW.js +1 -0
- package/dist/web/assets/{dream-maker-C-nORZOA.js → dream-maker-DSOBmQ4T.js} +1 -1
- package/dist/web/assets/{ebnfDiagram-BXEA7PRR-Cf_WxbBp.js → ebnfDiagram-BXEA7PRR-l3iEqoSP.js} +1 -1
- package/dist/web/assets/{edge-D5gP-w-T.js → edge-DV1oJ-z-.js} +1 -1
- package/dist/web/assets/{elixir-CLiX3zqd.js → elixir-BAy7E9hx.js} +1 -1
- package/dist/web/assets/{elm-CmHSxxaM.js → elm-DI0HhLqI.js} +1 -1
- package/dist/web/assets/{emacs-lisp-BX77sIaO.js → emacs-lisp-CNyc7xnE.js} +1 -1
- package/dist/web/assets/{erDiagram-JOGREHBK-BLpPP0gJ.js → erDiagram-JOGREHBK-BoFHrs3B.js} +5 -5
- package/dist/web/assets/{erb-BYTLMnw6.js → erb-C2MyKaut.js} +1 -1
- package/dist/web/assets/{erlang-B-DoSBHF.js → erlang-qdDNB3kS.js} +1 -1
- package/dist/web/assets/everforest-dark-WOub3wle.js +1 -0
- package/dist/web/assets/everforest-light-DCUg8VH8.js +1 -0
- package/dist/web/assets/{fennel-bCA53EVm.js → fennel-C169Wmtk.js} +1 -1
- package/dist/web/assets/{fish-w-ucz2PV.js → fish-DdzwuySR.js} +1 -1
- package/dist/web/assets/{flowDiagram-UKHOOZJN-M3Qk_Suq.js → flowDiagram-UKHOOZJN-CXMq4-uD.js} +10 -10
- package/dist/web/assets/{fluent-Dayu4EKP.js → fluent-e88iTpwM.js} +1 -1
- package/dist/web/assets/{fortran-fixed-form-TqA4NnZg.js → fortran-fixed-form-DOoUYCKo.js} +1 -1
- package/dist/web/assets/{fortran-free-form-DKXYxT9g.js → fortran-free-form-entkArVT.js} +1 -1
- package/dist/web/assets/{fsharp-XplgxFYe.js → fsharp-BnQYn4eh.js} +1 -1
- package/dist/web/assets/{ganttDiagram-PKOTCBZU-CngEKyD4.js → ganttDiagram-PKOTCBZU-YMv8lvSL.js} +1 -1
- package/dist/web/assets/{gdresource-BHYsBjWJ.js → gdresource-BBYl1svN.js} +1 -1
- package/dist/web/assets/{gdscript-DfxzS6Rs.js → gdscript-CN9EyWwI.js} +1 -1
- package/dist/web/assets/{gdshader-SKMF96pI.js → gdshader-Bs2FnG4i.js} +1 -1
- package/dist/web/assets/{genie-ajMbGru0.js → genie-LZ41QQzG.js} +1 -1
- package/dist/web/assets/{gherkin--30QC5Em.js → gherkin-DdFu5Ka3.js} +1 -1
- package/dist/web/assets/{git-commit-i4q6IMui.js → git-commit-C_Fd7mZn.js} +1 -1
- package/dist/web/assets/{git-rebase-B-v9cOL2.js → git-rebase-AtJUntN1.js} +1 -1
- package/dist/web/assets/{gitGraphDiagram-DS77QQ5N-DWTBtgDc.js → gitGraphDiagram-DS77QQ5N-BgrfufCE.js} +7 -7
- package/dist/web/assets/github-dark-BQV5ugrc.js +1 -0
- package/dist/web/assets/github-dark-default-DLWDM7FH.js +1 -0
- package/dist/web/assets/github-dark-dimmed-D1FmiR_p.js +1 -0
- package/dist/web/assets/github-dark-high-contrast-BilLoi0o.js +1 -0
- package/dist/web/assets/github-light-Rcb2q3L5.js +1 -0
- package/dist/web/assets/github-light-default-CQ75esMw.js +1 -0
- package/dist/web/assets/github-light-high-contrast-CRF1wyLy.js +1 -0
- package/dist/web/assets/{gleam-B430Bg39.js → gleam-Cuj-GTDu.js} +1 -1
- package/dist/web/assets/{glimmer-js-D-cwc0-E.js → glimmer-js-CQwQIxfr.js} +1 -1
- package/dist/web/assets/{glimmer-ts-pgjy16dm.js → glimmer-ts-DzkKMqPs.js} +1 -1
- package/dist/web/assets/{glsl-DBO2IWDn.js → glsl-B5tAdZD8.js} +1 -1
- package/dist/web/assets/{gnuplot-CM8KxXT1.js → gnuplot-CZzrWc6Z.js} +1 -1
- package/dist/web/assets/{go-B1SYOhNW.js → go-CAz2AAgI.js} +1 -1
- package/dist/web/assets/{graphql-cDcHW_If.js → graphql-CsbcjAOe.js} +1 -1
- package/dist/web/assets/{groovy-DkBy-JyN.js → groovy-BHAqdEGB.js} +1 -1
- package/dist/web/assets/{hack-D1yCygmZ.js → hack-D_TkyKTp.js} +1 -1
- package/dist/web/assets/{haml-B2EZWmdv.js → haml-BsJe1mlH.js} +1 -1
- package/dist/web/assets/{handlebars-BQGss363.js → handlebars-DzHj2frt.js} +1 -1
- package/dist/web/assets/{haskell-BILxekzW.js → haskell-DBZShPJZ.js} +1 -1
- package/dist/web/assets/{haxe-C5wWYbrZ.js → haxe-BnfKaULB.js} +1 -1
- package/dist/web/assets/{hcl-HzYwdGDm.js → hcl-DG6oviwm.js} +1 -1
- package/dist/web/assets/highlightWorker-DJp1Ce5p.js +1 -0
- package/dist/web/assets/{hjson-T-Tgc4AT.js → hjson-9x786Szp.js} +1 -1
- package/dist/web/assets/{hlsl-ifBTmRxC.js → hlsl-BIjXBe-u.js} +1 -1
- package/dist/web/assets/houston-RHIKkNfR.js +1 -0
- package/dist/web/assets/{html-C2L_23MC.js → html-BfEhAfys.js} +1 -1
- package/dist/web/assets/{html-derivative-CSfWNPLT.js → html-derivative-khQn7CEq.js} +1 -1
- package/dist/web/assets/{http-FRrOvY1W.js → http-CkaUdRI6.js} +1 -1
- package/dist/web/assets/{hxml-TIA70rKU.js → hxml-DEEAihpB.js} +1 -1
- package/dist/web/assets/{hy-BMj5Y0dO.js → hy-BhTqYOi9.js} +1 -1
- package/dist/web/assets/{imba-bv_oIlVt.js → imba-BN90XemW.js} +1 -1
- package/dist/web/assets/index-D7QnyK89.css +1 -0
- package/dist/web/assets/index-IBYN7wml.js +353 -0
- package/dist/web/assets/index-t_Fnpkbb.js +12 -0
- package/dist/web/assets/{infoDiagram-6WML65LV-BStJJxiK.js → infoDiagram-6WML65LV-DMpqFKuC.js} +1 -1
- package/dist/web/assets/{ini-BjABl1g7.js → ini-CNYq1Vbh.js} +1 -1
- package/dist/web/assets/{ishikawaDiagram-WSZJBQD7-CxPNb82h.js → ishikawaDiagram-WSZJBQD7-BKdkzZXu.js} +4 -4
- package/dist/web/assets/{java-xI-RfyKK.js → java-BOuFdpVK.js} +1 -1
- package/dist/web/assets/{javascript-ySlJ1b_l.js → javascript-C1WZzX5w.js} +1 -1
- package/dist/web/assets/jinja-CPlEC2oM.js +1 -0
- package/dist/web/assets/{jison-BqZprYcd.js → jison-_WNGvU9Z.js} +1 -1
- package/dist/web/assets/{journeyDiagram-NVQOT4AX-DI2FdYe2.js → journeyDiagram-NVQOT4AX-NPjJ9Fq8.js} +1 -1
- package/dist/web/assets/{json-BQoSv7ci.js → json-CG0XIpmU.js} +1 -1
- package/dist/web/assets/{json5-w8dY5SsB.js → json5-wmRZLYNM.js} +1 -1
- package/dist/web/assets/{jsonc-TU54ms6u.js → jsonc-CJ5AVGwp.js} +1 -1
- package/dist/web/assets/{jsonl-DREVFZK8.js → jsonl-BZ9Ocixn.js} +1 -1
- package/dist/web/assets/{jsonnet-BfivnA6A.js → jsonnet-C1k_anf1.js} +1 -1
- package/dist/web/assets/{jssm-P4WzXJd0.js → jssm-DPmvb5V-.js} +1 -1
- package/dist/web/assets/{jsx-BAng5TT0.js → jsx-CKOz0mFu.js} +1 -1
- package/dist/web/assets/{julia-BBuGR-5E.js → julia-C-s-RWKo.js} +1 -1
- package/dist/web/assets/kanagawa-dragon-BOvIHJVT.js +1 -0
- package/dist/web/assets/kanagawa-lotus-Bwcd7Bvx.js +1 -0
- package/dist/web/assets/kanagawa-wave-0SAlpf0s.js +1 -0
- package/dist/web/assets/{kanban-definition-27J2QSJJ-DdrpquL_.js → kanban-definition-27J2QSJJ-MSVfDvXb.js} +8 -8
- package/dist/web/assets/{kotlin-B5lbUyaz.js → kotlin-DCv8F5Dl.js} +1 -1
- package/dist/web/assets/{kusto-mebxcVVE.js → kusto-BzMM2K9O.js} +1 -1
- package/dist/web/assets/laserwave-si7wuSrt.js +1 -0
- package/dist/web/assets/{latex-C-cWTeAZ.js → latex-C6cEKF_r.js} +1 -1
- package/dist/web/assets/{lean-XBlWyCtg.js → lean-DlZiO-DR.js} +1 -1
- package/dist/web/assets/{less-BfCpw3nA.js → less-DPX9Q-iF.js} +1 -1
- package/dist/web/assets/light-plus-g_Fi9vkG.js +1 -0
- package/dist/web/assets/{linear-CClJBsYj.js → linear-Bugxdj26.js} +1 -1
- package/dist/web/assets/{liquid-D3W5UaiH.js → liquid-BKbSSNuo.js} +1 -1
- package/dist/web/assets/{log-Cc5clBb7.js → log-DlRS7YvK.js} +1 -1
- package/dist/web/assets/{logo-IuBKFhSY.js → logo-VN04mNZ6.js} +1 -1
- package/dist/web/assets/{lua-CvWAzNxB.js → lua-DanyZPH_.js} +1 -1
- package/dist/web/assets/{luau-Du5NY7AG.js → luau-D93ufwnm.js} +1 -1
- package/dist/web/assets/{make-Bvotw-X0.js → make-CL8frSFP.js} +1 -1
- package/dist/web/assets/{markdown-UIAJJxZW.js → markdown-ByrpALUI.js} +1 -1
- package/dist/web/assets/{marko-z0MBrx5-.js → marko-DRSg2OrD.js} +1 -1
- package/dist/web/assets/material-theme-CIJ3cGaW.js +1 -0
- package/dist/web/assets/material-theme-darker-BWg3m1GB.js +1 -0
- package/dist/web/assets/material-theme-lighter-DR8HWMN7.js +1 -0
- package/dist/web/assets/material-theme-ocean-CZf9pk28.js +1 -0
- package/dist/web/assets/material-theme-palenight-BF01YeZy.js +1 -0
- package/dist/web/assets/{matlab-D9-PGadD.js → matlab-BHcro1_y.js} +1 -1
- package/dist/web/assets/{mdc-DB_EDNY_.js → mdc-CVTKaK9l.js} +1 -1
- package/dist/web/assets/{mdx-sdHcTMYB.js → mdx-CCTQUHLn.js} +1 -1
- package/dist/web/assets/{mermaid-Ci6OQyBP.js → mermaid-QUEeqX1B.js} +1 -1
- package/dist/web/assets/{mermaid.core-ONfBNVRk.js → mermaid.core-BrC5_l7I.js} +6 -6
- package/dist/web/assets/min-dark-DhfaepVE.js +1 -0
- package/dist/web/assets/min-light-6xx0uMgm.js +1 -0
- package/dist/web/assets/{mindmap-definition-FAOFIHXS-CBQ7h3OO.js → mindmap-definition-FAOFIHXS-yB60YQKy.js} +3 -3
- package/dist/web/assets/{mipsasm-BC5c_5Pe.js → mipsasm-q9X1oIjH.js} +1 -1
- package/dist/web/assets/{mojo-Tz6hzZYG.js → mojo-XjOS2v-j.js} +1 -1
- package/dist/web/assets/monokai-BodnsaDQ.js +1 -0
- package/dist/web/assets/{move-DB_GagMm.js → move-BX9wJykM.js} +1 -1
- package/dist/web/assets/{narrat-DLbgOhZU.js → narrat-BIAE-JNJ.js} +1 -1
- package/dist/web/assets/{nextflow-B0XVJmRM.js → nextflow-C3Zpn0NH.js} +1 -1
- package/dist/web/assets/{nginx-D_VnBJ67.js → nginx-K8be3xw8.js} +1 -1
- package/dist/web/assets/night-owl-EdP2Hztp.js +1 -0
- package/dist/web/assets/{nim-ZlGxZxc3.js → nim-BXrdZEnW.js} +1 -1
- package/dist/web/assets/{nix-shcSOmrb.js → nix-BJFrXuto.js} +1 -1
- package/dist/web/assets/nord-BAu0wM6c.js +1 -0
- package/dist/web/assets/{nushell-D4Tzg5kh.js → nushell-DEgT14oF.js} +1 -1
- package/dist/web/assets/{objective-c-Deuh7S70.js → objective-c-CYCTDIQP.js} +1 -1
- package/dist/web/assets/{objective-cpp-BUEGK8hf.js → objective-cpp-CAecc67Z.js} +1 -1
- package/dist/web/assets/{ocaml-BNioltXt.js → ocaml-Bsxv_Kxh.js} +1 -1
- package/dist/web/assets/one-dark-pro-BsKIA8GN.js +1 -0
- package/dist/web/assets/one-light-s-s--efq.js +1 -0
- package/dist/web/assets/{pascal-JqZropPD.js → pascal-BDJShKAI.js} +1 -1
- package/dist/web/assets/{pegDiagram-VL7TDLO6-Buje72cq.js → pegDiagram-VL7TDLO6-BfdGiZwB.js} +1 -1
- package/dist/web/assets/{perl-CHQXSrWU.js → perl-C2vWUXWi.js} +1 -1
- package/dist/web/assets/{php-B5ebYQev.js → php-DK-qQ6uC.js} +1 -1
- package/dist/web/assets/pieDiagram-7S7Q4E2Y-BuJwU-QQ.js +39 -0
- package/dist/web/assets/plastic-CXnNNlFZ.js +1 -0
- package/dist/web/assets/{plsql-LKU2TuZ1.js → plsql-B9Xnh5qb.js} +1 -1
- package/dist/web/assets/{po-BFLt1xDp.js → po-DMjhmVbd.js} +1 -1
- package/dist/web/assets/poimandres-BrOVMvuE.js +1 -0
- package/dist/web/assets/{polar-DKykz6zU.js → polar-yYtLLj-r.js} +1 -1
- package/dist/web/assets/{postcss-B3ZDOciz.js → postcss-CJ1yqXqD.js} +1 -1
- package/dist/web/assets/{powerquery-CSHBycmS.js → powerquery-DC5VyW2x.js} +1 -1
- package/dist/web/assets/{powershell-BIEUsx6d.js → powershell-EzVS97da.js} +1 -1
- package/dist/web/assets/{prisma-B48N-Iqd.js → prisma-CHOHSoLN.js} +1 -1
- package/dist/web/assets/{prolog-BY-TUvya.js → prolog-DwYUCN91.js} +1 -1
- package/dist/web/assets/{proto-zocC4JxJ.js → proto-62gbbcWM.js} +1 -1
- package/dist/web/assets/{pug-CM9l7STV.js → pug-CkZF2A-M.js} +1 -1
- package/dist/web/assets/{puppet-Cza_XSSt.js → puppet-DBtA4RyP.js} +1 -1
- package/dist/web/assets/{purescript-Bg-kzb6g.js → purescript-CtNtlKn6.js} +1 -1
- package/dist/web/assets/{python-DhUJRlN_.js → python-Cmxmv3et.js} +1 -1
- package/dist/web/assets/{qml-D8XfuvdV.js → qml-Bp5NUdYD.js} +1 -1
- package/dist/web/assets/{qmldir-C8lEn-DE.js → qmldir-DXd9s5XC.js} +1 -1
- package/dist/web/assets/{qss-DhMKtDLN.js → qss-COHgjnFa.js} +1 -1
- package/dist/web/assets/{quadrantDiagram-CIZ2JOQS-DfjvRhwZ.js → quadrantDiagram-CIZ2JOQS-DvYy4rS6.js} +1 -1
- package/dist/web/assets/{r-CwjWoCRV.js → r-fEWCeYop.js} +1 -1
- package/dist/web/assets/{racket-CzouJOBO.js → racket-DeqZVGhA.js} +1 -1
- package/dist/web/assets/{railroadDiagram-AXF67PYL-CLC53cPk.js → railroadDiagram-AXF67PYL-D0Slzbqv.js} +1 -1
- package/dist/web/assets/{raku-B1bQXN8T.js → raku-2Ooz0w2a.js} +1 -1
- package/dist/web/assets/{razor-CNLDkMZG.js → razor-BSfiIh5a.js} +1 -1
- package/dist/web/assets/red-DR6ZwibK.js +1 -0
- package/dist/web/assets/{reg-5LuOXUq_.js → reg-B-dYDP6y.js} +1 -1
- package/dist/web/assets/{regexp-DWJ3fJO_.js → regexp-CZXE-O4g.js} +1 -1
- package/dist/web/assets/{rel-DJlmqQ1C.js → rel-CFc0GWi_.js} +1 -1
- package/dist/web/assets/{requirementDiagram-LRYGKXZP-Bh0xhzbL.js → requirementDiagram-LRYGKXZP-O1O4JCzu.js} +3 -3
- package/dist/web/assets/{riscv-QhoSD0DR.js → riscv-BXk1R-Oi.js} +1 -1
- package/dist/web/assets/rose-pine-BdvZjiDe.js +1 -0
- package/dist/web/assets/rose-pine-dawn-C0sjdsEC.js +1 -0
- package/dist/web/assets/rose-pine-moon-DYFWp_hT.js +1 -0
- package/dist/web/assets/{rst-4NLicBqY.js → rst-BLGbJK1H.js} +1 -1
- package/dist/web/assets/{ruby-DeZ3UC14.js → ruby-D2E7iJ0s.js} +1 -1
- package/dist/web/assets/{rust-Be6lgOlo.js → rust-BsY_F5cx.js} +1 -1
- package/dist/web/assets/{sankeyDiagram-W5VNT64P-KSOJwFOV.js → sankeyDiagram-W5VNT64P-WTewsL_K.js} +2 -2
- package/dist/web/assets/{sas-BmTFh92c.js → sas-DMLSfKIw.js} +1 -1
- package/dist/web/assets/{sass-BJ4Li9vH.js → sass-DmSX4WtY.js} +1 -1
- package/dist/web/assets/{scala-DQVVAn-B.js → scala-DYeJBAW8.js} +1 -1
- package/dist/web/assets/{scheme-BJGe-b2p.js → scheme-CCAsyj2s.js} +1 -1
- package/dist/web/assets/{scss-C31hgJw-.js → scss-0gJUc9a6.js} +1 -1
- package/dist/web/assets/{sdbl-BLhTXw86.js → sdbl-BxOweiR9.js} +1 -1
- package/dist/web/assets/{sequenceDiagram-SI44F4Z6-Brj5mw1M.js → sequenceDiagram-SI44F4Z6-BUoBi4kR.js} +4 -4
- package/dist/web/assets/{shaderlab-B7qAK45m.js → shaderlab-CbagduOQ.js} +1 -1
- package/dist/web/assets/{shellscript-atvbtKCR.js → shellscript-D3bMYZAJ.js} +1 -1
- package/dist/web/assets/{shellsession-C_rIy8kc.js → shellsession-BPnHQqN9.js} +1 -1
- package/dist/web/assets/{sizeCapture-X5ZJPWSS-CH05wdHR.js → sizeCapture-X5ZJPWSS-BV9d3RVn.js} +1 -1
- package/dist/web/assets/slack-dark-CWRQmTmo.js +1 -0
- package/dist/web/assets/slack-ochin-DO_ok7XK.js +1 -0
- package/dist/web/assets/{smalltalk-DkLiglaE.js → smalltalk-BMwf8jcw.js} +1 -1
- package/dist/web/assets/snazzy-light-B5llO_gK.js +1 -0
- package/dist/web/assets/solarized-dark-G9yBjKj_.js +1 -0
- package/dist/web/assets/solarized-light-DeSzljQz.js +1 -0
- package/dist/web/assets/{solidity-C1w2a3ep.js → solidity-BxZpkxtV.js} +1 -1
- package/dist/web/assets/{soy-C-lX7w71.js → soy-BtgE62v-.js} +1 -1
- package/dist/web/assets/{sparql-bYkjHRlG.js → sparql-_iLxUxfJ.js} +1 -1
- package/dist/web/assets/{splunk-Cf8iN4DR.js → splunk-CDXNg1TZ.js} +1 -1
- package/dist/web/assets/{sql-COK4E0Yg.js → sql-DWijR-2F.js} +1 -1
- package/dist/web/assets/{ssh-config-BknIz3MU.js → ssh-config-D_LcGZIn.js} +1 -1
- package/dist/web/assets/{stata-DorPZHa4.js → stata-4mZtT6ij.js} +1 -1
- package/dist/web/assets/stateDiagram-OKZ733FA-BqdAeMq4.js +1 -0
- package/dist/web/assets/stateDiagram-v2-UEYNNEHI-DQeB4eKD.js +1 -0
- package/dist/web/assets/{stylus-BeQkCIfX.js → stylus-DrmVbdhX.js} +1 -1
- package/dist/web/assets/{svelte-MSaWC3Je.js → svelte-ka6mjOzI.js} +1 -1
- package/dist/web/assets/{swift-BSxZ-RaX.js → swift-DkIjBhB-.js} +1 -1
- package/dist/web/assets/{swimlanes-SLNWSIFB-ELf6gJKu.js → swimlanes-SLNWSIFB-Dn0Z0yF4.js} +2 -2
- package/dist/web/assets/swimlanesDiagram-ULZ7WXOC-Dl6pHbTK.js +8 -0
- package/dist/web/assets/synthwave-84-DRVv-_m_.js +1 -0
- package/dist/web/assets/{system-verilog-C7L56vO4.js → system-verilog-CZLUg-Ri.js} +1 -1
- package/dist/web/assets/{systemd-CUnW07Te.js → systemd-BuJkd4yg.js} +1 -1
- package/dist/web/assets/{talonscript-C1XDQQGZ.js → talonscript-BMPZxVzx.js} +1 -1
- package/dist/web/assets/{tasl-CQjiPCtT.js → tasl-DVVRcRkA.js} +1 -1
- package/dist/web/assets/{tcl-DQ1-QYvQ.js → tcl-CA1YyYjY.js} +1 -1
- package/dist/web/assets/{templ-dwX3ZSMB.js → templ-bd1y3IAS.js} +1 -1
- package/dist/web/assets/{terraform-BbSNqyBO.js → terraform-Dz7t1_iL.js} +1 -1
- package/dist/web/assets/{tex-rYs2v40G.js → tex-Bvf-FxBj.js} +1 -1
- package/dist/web/assets/{timeline-definition-Z64GVDOM-DeaTiF-8.js → timeline-definition-Z64GVDOM-RXIqWmas.js} +3 -3
- package/dist/web/assets/tokyo-night-BpPvklgd.js +1 -0
- package/dist/web/assets/{toml-CB2ApiWb.js → toml-CghlGpNM.js} +1 -1
- package/dist/web/assets/ts-tags-27UfV0Yx.js +1 -0
- package/dist/web/assets/{tsv-B_m7g4N7.js → tsv-BFtm7NXx.js} +1 -1
- package/dist/web/assets/{tsx-B6W0miNI.js → tsx-CvLnrXoc.js} +1 -1
- package/dist/web/assets/{turtle-BMR_PYu6.js → turtle-CLj0zYni.js} +1 -1
- package/dist/web/assets/{twig-NC5TFiHP.js → twig-BEYz8PCZ.js} +1 -1
- package/dist/web/assets/{typescript-Dj6nwHGl.js → typescript-ChR4GJfA.js} +1 -1
- package/dist/web/assets/{typespec-BpWG_bgh.js → typespec-BsO-HK2h.js} +1 -1
- package/dist/web/assets/{typst-BVUVsWT6.js → typst-C9z_G1G3.js} +1 -1
- package/dist/web/assets/{v-CAQ2eGtk.js → v-UOp3PMQa.js} +1 -1
- package/dist/web/assets/{vala-BFOHcciG.js → vala-9t0Jazjg.js} +1 -1
- package/dist/web/assets/{vb-CdO5JTpU.js → vb-BjPFQNKy.js} +1 -1
- package/dist/web/assets/{vennDiagram-T6HMQDX7-B_pKKDwZ.js → vennDiagram-T6HMQDX7-Djv2Kody.js} +4 -4
- package/dist/web/assets/{verilog-CJaU5se_.js → verilog-3_G7wE-H.js} +1 -1
- package/dist/web/assets/vesper-DXVBNDlZ.js +1 -0
- package/dist/web/assets/{vhdl-DYoNaHQp.js → vhdl-KKKa5jXK.js} +1 -1
- package/dist/web/assets/{viml-m4uW47V2.js → viml-B0JfLneA.js} +1 -1
- package/dist/web/assets/vitesse-black-B_BYPdvp.js +1 -0
- package/dist/web/assets/vitesse-dark-DOSOf2Sz.js +1 -0
- package/dist/web/assets/vitesse-light-gUX51GpB.js +1 -0
- package/dist/web/assets/vue-Bvh4pc9M.js +1 -0
- package/dist/web/assets/{vue-html-xdeiXROB.js → vue-html-WOs3W6Bt.js} +1 -1
- package/dist/web/assets/{vyper-nyqBNV6O.js → vyper-CDIMwK9O.js} +1 -1
- package/dist/web/assets/{wardleyDiagram-T6FBY63Y-jLsFKv0C.js → wardleyDiagram-T6FBY63Y-k8z1iXMI.js} +1 -1
- package/dist/web/assets/{wasm-C6j12Q_x.js → wasm-DnnIR_xd.js} +1 -1
- package/dist/web/assets/{wenyan-7A4Fjokl.js → wenyan-BKvj6Muf.js} +1 -1
- package/dist/web/assets/{wgsl-CB0Krxn9.js → wgsl-DQkNTPT4.js} +1 -1
- package/dist/web/assets/{wikitext-DCE3LsBG.js → wikitext-Bx_2Gb24.js} +1 -1
- package/dist/web/assets/{wolfram-C3FkfJm5.js → wolfram-CfjDyZMz.js} +1 -1
- package/dist/web/assets/{xml-e3z08dGr.js → xml-D2mywr7C.js} +1 -1
- package/dist/web/assets/{xsl-Dd0NUgwM.js → xsl-BazRubtb.js} +1 -1
- package/dist/web/assets/{xychartDiagram-ELKLHX3M-BA6zkq4L.js → xychartDiagram-ELKLHX3M-DBRaiGnz.js} +1 -1
- package/dist/web/assets/{yaml-CVw76BM1.js → yaml-CcrPW8Jr.js} +1 -1
- package/dist/web/assets/{zenscript-HnGAYVZD.js → zenscript-C_cgpljH.js} +1 -1
- package/dist/web/assets/{zig-BVz_zdnA.js → zig-2aGeTlGI.js} +1 -1
- package/dist/web/index.html +2 -2
- package/dist/web/sw.js +1 -1
- package/package.json +1 -1
- package/dist/web/assets/andromeeda-C3khCPGq.js +0 -1
- package/dist/web/assets/angular-ts-CKsD7JZE.js +0 -1
- package/dist/web/assets/arc-PxLvJSnb.js +0 -1
- package/dist/web/assets/architectureDiagram-T3A2C74G-C3W7640R.js +0 -36
- package/dist/web/assets/aurora-x-D-2ljcwZ.js +0 -1
- package/dist/web/assets/ayu-dark-Cv9koXgw.js +0 -1
- package/dist/web/assets/catppuccin-frappe-CD_QflpE.js +0 -1
- package/dist/web/assets/catppuccin-latte-DRW-0cLl.js +0 -1
- package/dist/web/assets/catppuccin-macchiato-C-_shW-Y.js +0 -1
- package/dist/web/assets/catppuccin-mocha-LGGdnPYs.js +0 -1
- package/dist/web/assets/channel-BIucJZnb.js +0 -1
- package/dist/web/assets/classDiagram-JCYQIIEL-BGlLKBgl.js +0 -1
- package/dist/web/assets/classDiagram-v2-OCEON4UE-BGlLKBgl.js +0 -1
- package/dist/web/assets/dark-plus-C3mMm8J8.js +0 -1
- package/dist/web/assets/dracula-BzJJZx-M.js +0 -1
- package/dist/web/assets/dracula-soft-BXkSAIEj.js +0 -1
- package/dist/web/assets/everforest-dark-BgDCqdQA.js +0 -1
- package/dist/web/assets/everforest-light-C8M2exoo.js +0 -1
- package/dist/web/assets/github-dark-DHJKELXO.js +0 -1
- package/dist/web/assets/github-dark-default-Cuk6v7N8.js +0 -1
- package/dist/web/assets/github-dark-dimmed-DH5Ifo-i.js +0 -1
- package/dist/web/assets/github-dark-high-contrast-E3gJ1_iC.js +0 -1
- package/dist/web/assets/github-light-DAi9KRSo.js +0 -1
- package/dist/web/assets/github-light-default-D7oLnXFd.js +0 -1
- package/dist/web/assets/github-light-high-contrast-BfjtVDDH.js +0 -1
- package/dist/web/assets/houston-DnULxvSX.js +0 -1
- package/dist/web/assets/index-BHQqzlI6.js +0 -13
- package/dist/web/assets/index-BL8L2yQv.css +0 -1
- package/dist/web/assets/index-ouQFVkG-.js +0 -342
- package/dist/web/assets/jinja-DGy0s7-h.js +0 -1
- package/dist/web/assets/kanagawa-dragon-CkXjmgJE.js +0 -1
- package/dist/web/assets/kanagawa-lotus-CfQXZHmo.js +0 -1
- package/dist/web/assets/kanagawa-wave-DWedfzmr.js +0 -1
- package/dist/web/assets/laserwave-DUszq2jm.js +0 -1
- package/dist/web/assets/light-plus-B7mTdjB0.js +0 -1
- package/dist/web/assets/material-theme-D5KoaKCx.js +0 -1
- package/dist/web/assets/material-theme-darker-BfHTSMKl.js +0 -1
- package/dist/web/assets/material-theme-lighter-B0m2ddpp.js +0 -1
- package/dist/web/assets/material-theme-ocean-CyktbL80.js +0 -1
- package/dist/web/assets/material-theme-palenight-Csfq5Kiy.js +0 -1
- package/dist/web/assets/min-dark-CafNBF8u.js +0 -1
- package/dist/web/assets/min-light-CTRr51gU.js +0 -1
- package/dist/web/assets/monokai-D4h5O-jR.js +0 -1
- package/dist/web/assets/night-owl-C39BiMTA.js +0 -1
- package/dist/web/assets/nord-Ddv68eIx.js +0 -1
- package/dist/web/assets/one-dark-pro-GBQ2dnAY.js +0 -1
- package/dist/web/assets/one-light-PoHY5YXO.js +0 -1
- package/dist/web/assets/pieDiagram-7S7Q4E2Y-DNQc-yHW.js +0 -39
- package/dist/web/assets/plastic-3e1v2bzS.js +0 -1
- package/dist/web/assets/poimandres-CS3Unz2-.js +0 -1
- package/dist/web/assets/red-bN70gL4F.js +0 -1
- package/dist/web/assets/rose-pine-CmCqftbK.js +0 -1
- package/dist/web/assets/rose-pine-dawn-Ds-gbosJ.js +0 -1
- package/dist/web/assets/rose-pine-moon-CjDtw9vr.js +0 -1
- package/dist/web/assets/slack-dark-BthQWCQV.js +0 -1
- package/dist/web/assets/slack-ochin-DqwNpetd.js +0 -1
- package/dist/web/assets/snazzy-light-Bw305WKR.js +0 -1
- package/dist/web/assets/solarized-dark-DXbdFlpD.js +0 -1
- package/dist/web/assets/solarized-light-L9t79GZl.js +0 -1
- package/dist/web/assets/stateDiagram-OKZ733FA-B9AFHzH-.js +0 -1
- package/dist/web/assets/stateDiagram-v2-UEYNNEHI-DXjkPo3z.js +0 -1
- package/dist/web/assets/swimlanesDiagram-ULZ7WXOC-uM2fmMPE.js +0 -8
- package/dist/web/assets/synthwave-84-CbfX1IO0.js +0 -1
- package/dist/web/assets/tokyo-night-DBQeEorK.js +0 -1
- package/dist/web/assets/ts-tags-CipyTH0X.js +0 -1
- package/dist/web/assets/vesper-BEBZ7ncR.js +0 -1
- package/dist/web/assets/vitesse-black-Bkuqu6BP.js +0 -1
- package/dist/web/assets/vitesse-dark-D0r3Knsf.js +0 -1
- package/dist/web/assets/vitesse-light-CVO1_9PV.js +0 -1
- package/dist/web/assets/vue-BuYVFjOK.js +0 -1
|
@@ -0,0 +1,353 @@
|
|
|
1
|
+
var Q5=Object.defineProperty;var J5=(e,t,n)=>t in e?Q5(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Qr=(e,t,n)=>J5(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 o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).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 cf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Fu={exports:{}},pa={},Ou={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 H1;function Z5(){if(H1)return Ve;H1=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"),o=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),p=Symbol.iterator;function x(F){return F===null||typeof F!="object"?null:(F=p&&F[p]||F["@@iterator"],typeof F=="function"?F:null)}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E=Object.assign,N={};function A(F,K,j){this.props=F,this.context=K,this.refs=N,this.updater=j||w}A.prototype.isReactComponent={},A.prototype.setState=function(F,K){if(typeof F!="object"&&typeof F!="function"&&F!=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,F,K,"setState")},A.prototype.forceUpdate=function(F){this.updater.enqueueForceUpdate(this,F,"forceUpdate")};function z(){}z.prototype=A.prototype;function R(F,K,j){this.props=F,this.context=K,this.refs=N,this.updater=j||w}var _=R.prototype=new z;_.constructor=R,E(_,A.prototype),_.isPureReactComponent=!0;var X=Array.isArray,V=Object.prototype.hasOwnProperty,O={current:null},G={key:!0,ref:!0,__self:!0,__source:!0};function te(F,K,j){var Z,xe={},ke=null,be=null;if(K!=null)for(Z in K.ref!==void 0&&(be=K.ref),K.key!==void 0&&(ke=""+K.key),K)V.call(K,Z)&&!G.hasOwnProperty(Z)&&(xe[Z]=K[Z]);var Pe=arguments.length-2;if(Pe===1)xe.children=j;else if(1<Pe){for(var _e=Array(Pe),it=0;it<Pe;it++)_e[it]=arguments[it+2];xe.children=_e}if(F&&F.defaultProps)for(Z in Pe=F.defaultProps,Pe)xe[Z]===void 0&&(xe[Z]=Pe[Z]);return{$$typeof:e,type:F,key:ke,ref:be,props:xe,_owner:O.current}}function re(F,K){return{$$typeof:e,type:F.type,key:K,ref:F.ref,props:F.props,_owner:F._owner}}function H(F){return typeof F=="object"&&F!==null&&F.$$typeof===e}function he(F){var K={"=":"=0",":":"=2"};return"$"+F.replace(/[=:]/g,function(j){return K[j]})}var ne=/\/+/g;function Te(F,K){return typeof F=="object"&&F!==null&&F.key!=null?he(""+F.key):K.toString(36)}function ve(F,K,j,Z,xe){var ke=typeof F;(ke==="undefined"||ke==="boolean")&&(F=null);var be=!1;if(F===null)be=!0;else switch(ke){case"string":case"number":be=!0;break;case"object":switch(F.$$typeof){case e:case t:be=!0}}if(be)return be=F,xe=xe(be),F=Z===""?"."+Te(be,0):Z,X(xe)?(j="",F!=null&&(j=F.replace(ne,"$&/")+"/"),ve(xe,K,j,"",function(it){return it})):xe!=null&&(H(xe)&&(xe=re(xe,j+(!xe.key||be&&be.key===xe.key?"":(""+xe.key).replace(ne,"$&/")+"/")+F)),K.push(xe)),1;if(be=0,Z=Z===""?".":Z+":",X(F))for(var Pe=0;Pe<F.length;Pe++){ke=F[Pe];var _e=Z+Te(ke,Pe);be+=ve(ke,K,j,_e,xe)}else if(_e=x(F),typeof _e=="function")for(F=_e.call(F),Pe=0;!(ke=F.next()).done;)ke=ke.value,_e=Z+Te(ke,Pe++),be+=ve(ke,K,j,_e,xe);else if(ke==="object")throw K=String(F),Error("Objects are not valid as a React child (found: "+(K==="[object Object]"?"object with keys {"+Object.keys(F).join(", ")+"}":K)+"). If you meant to render a collection of children, use an array instead.");return be}function ie(F,K,j){if(F==null)return F;var Z=[],xe=0;return ve(F,Z,"","",function(ke){return K.call(j,ke,xe++)}),Z}function Q(F){if(F._status===-1){var K=F._result;K=K(),K.then(function(j){(F._status===0||F._status===-1)&&(F._status=1,F._result=j)},function(j){(F._status===0||F._status===-1)&&(F._status=2,F._result=j)}),F._status===-1&&(F._status=0,F._result=K)}if(F._status===1)return F._result.default;throw F._result}var Ee={current:null},oe={transition:null},J={ReactCurrentDispatcher:Ee,ReactCurrentBatchConfig:oe,ReactCurrentOwner:O};function M(){throw Error("act(...) is not supported in production builds of React.")}return Ve.Children={map:ie,forEach:function(F,K,j){ie(F,function(){K.apply(this,arguments)},j)},count:function(F){var K=0;return ie(F,function(){K++}),K},toArray:function(F){return ie(F,function(K){return K})||[]},only:function(F){if(!H(F))throw Error("React.Children.only expected to receive a single React element child.");return F}},Ve.Component=A,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=J,Ve.act=M,Ve.cloneElement=function(F,K,j){if(F==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+F+".");var Z=E({},F.props),xe=F.key,ke=F.ref,be=F._owner;if(K!=null){if(K.ref!==void 0&&(ke=K.ref,be=O.current),K.key!==void 0&&(xe=""+K.key),F.type&&F.type.defaultProps)var Pe=F.type.defaultProps;for(_e in K)V.call(K,_e)&&!G.hasOwnProperty(_e)&&(Z[_e]=K[_e]===void 0&&Pe!==void 0?Pe[_e]:K[_e])}var _e=arguments.length-2;if(_e===1)Z.children=j;else if(1<_e){Pe=Array(_e);for(var it=0;it<_e;it++)Pe[it]=arguments[it+2];Z.children=Pe}return{$$typeof:e,type:F.type,key:xe,ref:ke,props:Z,_owner:be}},Ve.createContext=function(F){return F={$$typeof:o,_currentValue:F,_currentValue2:F,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},F.Provider={$$typeof:s,_context:F},F.Consumer=F},Ve.createElement=te,Ve.createFactory=function(F){var K=te.bind(null,F);return K.type=F,K},Ve.createRef=function(){return{current:null}},Ve.forwardRef=function(F){return{$$typeof:c,render:F}},Ve.isValidElement=H,Ve.lazy=function(F){return{$$typeof:m,_payload:{_status:-1,_result:F},_init:Q}},Ve.memo=function(F,K){return{$$typeof:h,type:F,compare:K===void 0?null:K}},Ve.startTransition=function(F){var K=oe.transition;oe.transition={};try{F()}finally{oe.transition=K}},Ve.unstable_act=M,Ve.useCallback=function(F,K){return Ee.current.useCallback(F,K)},Ve.useContext=function(F){return Ee.current.useContext(F)},Ve.useDebugValue=function(){},Ve.useDeferredValue=function(F){return Ee.current.useDeferredValue(F)},Ve.useEffect=function(F,K){return Ee.current.useEffect(F,K)},Ve.useId=function(){return Ee.current.useId()},Ve.useImperativeHandle=function(F,K,j){return Ee.current.useImperativeHandle(F,K,j)},Ve.useInsertionEffect=function(F,K){return Ee.current.useInsertionEffect(F,K)},Ve.useLayoutEffect=function(F,K){return Ee.current.useLayoutEffect(F,K)},Ve.useMemo=function(F,K){return Ee.current.useMemo(F,K)},Ve.useReducer=function(F,K,j){return Ee.current.useReducer(F,K,j)},Ve.useRef=function(F){return Ee.current.useRef(F)},Ve.useState=function(F){return Ee.current.useState(F)},Ve.useSyncExternalStore=function(F,K,j){return Ee.current.useSyncExternalStore(F,K,j)},Ve.useTransition=function(){return Ee.current.useTransition()},Ve.version="18.3.1",Ve}var U1;function ff(){return U1||(U1=1,Ou.exports=Z5()),Ou.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 V1;function e6(){if(V1)return pa;V1=1;var e=ff(),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 o(c,f,h){var m,p={},x=null,w=null;h!==void 0&&(x=""+h),f.key!==void 0&&(x=""+f.key),f.ref!==void 0&&(w=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:x,ref:w,props:p,_owner:a.current}}return pa.Fragment=n,pa.jsx=o,pa.jsxs=o,pa}var W1;function t6(){return W1||(W1=1,Fu.exports=e6()),Fu.exports}var k=t6(),I=ff();const ka=cf(I);var Ks={},Bu={exports:{}},ln={},_u={exports:{}},qu={};/**
|
|
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 G1;function n6(){return G1||(G1=1,(function(e){function t(oe,J){var M=oe.length;oe.push(J);e:for(;0<M;){var F=M-1>>>1,K=oe[F];if(0<a(K,J))oe[F]=J,oe[M]=K,M=F;else break e}}function n(oe){return oe.length===0?null:oe[0]}function i(oe){if(oe.length===0)return null;var J=oe[0],M=oe.pop();if(M!==J){oe[0]=M;e:for(var F=0,K=oe.length,j=K>>>1;F<j;){var Z=2*(F+1)-1,xe=oe[Z],ke=Z+1,be=oe[ke];if(0>a(xe,M))ke<K&&0>a(be,xe)?(oe[F]=be,oe[ke]=M,F=ke):(oe[F]=xe,oe[Z]=M,F=Z);else if(ke<K&&0>a(be,M))oe[F]=be,oe[ke]=M,F=ke;else break e}}return J}function a(oe,J){var M=oe.sortIndex-J.sortIndex;return M!==0?M:oe.id-J.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var o=Date,c=o.now();e.unstable_now=function(){return o.now()-c}}var f=[],h=[],m=1,p=null,x=3,w=!1,E=!1,N=!1,A=typeof setTimeout=="function"?setTimeout:null,z=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 _(oe){for(var J=n(h);J!==null;){if(J.callback===null)i(h);else if(J.startTime<=oe)i(h),J.sortIndex=J.expirationTime,t(f,J);else break;J=n(h)}}function X(oe){if(N=!1,_(oe),!E)if(n(f)!==null)E=!0,Q(V);else{var J=n(h);J!==null&&Ee(X,J.startTime-oe)}}function V(oe,J){E=!1,N&&(N=!1,z(te),te=-1),w=!0;var M=x;try{for(_(J),p=n(f);p!==null&&(!(p.expirationTime>J)||oe&&!he());){var F=p.callback;if(typeof F=="function"){p.callback=null,x=p.priorityLevel;var K=F(p.expirationTime<=J);J=e.unstable_now(),typeof K=="function"?p.callback=K:p===n(f)&&i(f),_(J)}else i(f);p=n(f)}if(p!==null)var j=!0;else{var Z=n(h);Z!==null&&Ee(X,Z.startTime-J),j=!1}return j}finally{p=null,x=M,w=!1}}var O=!1,G=null,te=-1,re=5,H=-1;function he(){return!(e.unstable_now()-H<re)}function ne(){if(G!==null){var oe=e.unstable_now();H=oe;var J=!0;try{J=G(!0,oe)}finally{J?Te():(O=!1,G=null)}}else O=!1}var Te;if(typeof R=="function")Te=function(){R(ne)};else if(typeof MessageChannel<"u"){var ve=new MessageChannel,ie=ve.port2;ve.port1.onmessage=ne,Te=function(){ie.postMessage(null)}}else Te=function(){A(ne,0)};function Q(oe){G=oe,O||(O=!0,Te())}function Ee(oe,J){te=A(function(){oe(e.unstable_now())},J)}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(oe){oe.callback=null},e.unstable_continueExecution=function(){E||w||(E=!0,Q(V))},e.unstable_forceFrameRate=function(oe){0>oe||125<oe?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):re=0<oe?Math.floor(1e3/oe):5},e.unstable_getCurrentPriorityLevel=function(){return x},e.unstable_getFirstCallbackNode=function(){return n(f)},e.unstable_next=function(oe){switch(x){case 1:case 2:case 3:var J=3;break;default:J=x}var M=x;x=J;try{return oe()}finally{x=M}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(oe,J){switch(oe){case 1:case 2:case 3:case 4:case 5:break;default:oe=3}var M=x;x=oe;try{return J()}finally{x=M}},e.unstable_scheduleCallback=function(oe,J,M){var F=e.unstable_now();switch(typeof M=="object"&&M!==null?(M=M.delay,M=typeof M=="number"&&0<M?F+M:F):M=F,oe){case 1:var K=-1;break;case 2:K=250;break;case 5:K=1073741823;break;case 4:K=1e4;break;default:K=5e3}return K=M+K,oe={id:m++,callback:J,priorityLevel:oe,startTime:M,expirationTime:K,sortIndex:-1},M>F?(oe.sortIndex=M,t(h,oe),n(f)===null&&oe===n(h)&&(N?(z(te),te=-1):N=!0,Ee(X,M-F))):(oe.sortIndex=K,t(f,oe),E||w||(E=!0,Q(V))),oe},e.unstable_shouldYield=he,e.unstable_wrapCallback=function(oe){var J=x;return function(){var M=x;x=J;try{return oe.apply(this,arguments)}finally{x=M}}}})(qu)),qu}var Y1;function r6(){return Y1||(Y1=1,_u.exports=n6()),_u.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 X1;function i6(){if(X1)return ln;X1=1;var e=ff(),t=r6();function n(r){for(var l="https://reactjs.org/docs/error-decoder.html?invariant="+r,u=1;u<arguments.length;u++)l+="&args[]="+encodeURIComponent(arguments[u]);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){o(r,l),o(r+"Capture",l)}function o(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,h=/^[: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 x(r){return f.call(p,r)?!0:f.call(m,r)?!1:h.test(r)?p[r]=!0:(m[r]=!0,!1)}function w(r,l,u,d){if(u!==null&&u.type===0)return!1;switch(typeof l){case"function":case"symbol":return!0;case"boolean":return d?!1:u!==null?!u.acceptsBooleans:(r=r.toLowerCase().slice(0,5),r!=="data-"&&r!=="aria-");default:return!1}}function E(r,l,u,d){if(l===null||typeof l>"u"||w(r,l,u,d))return!0;if(d)return!1;if(u!==null)switch(u.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 N(r,l,u,d,g,y,C){this.acceptsBooleans=l===2||l===3||l===4,this.attributeName=d,this.attributeNamespace=g,this.mustUseProperty=u,this.propertyName=r,this.type=l,this.sanitizeURL=y,this.removeEmptyString=C}var A={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(r){A[r]=new N(r,0,!1,r,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(r){var l=r[0];A[l]=new N(l,1,!1,r[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(r){A[r]=new N(r,2,!1,r.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(r){A[r]=new N(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){A[r]=new N(r,3,!1,r.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(r){A[r]=new N(r,3,!0,r,null,!1,!1)}),["capture","download"].forEach(function(r){A[r]=new N(r,4,!1,r,null,!1,!1)}),["cols","rows","size","span"].forEach(function(r){A[r]=new N(r,6,!1,r,null,!1,!1)}),["rowSpan","start"].forEach(function(r){A[r]=new N(r,5,!1,r.toLowerCase(),null,!1,!1)});var z=/[\-:]([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(z,R);A[l]=new N(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(z,R);A[l]=new N(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(z,R);A[l]=new N(l,1,!1,r,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(r){A[r]=new N(r,1,!1,r.toLowerCase(),null,!1,!1)}),A.xlinkHref=new N("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(r){A[r]=new N(r,1,!1,r.toLowerCase(),null,!0,!0)});function _(r,l,u,d){var g=A.hasOwnProperty(l)?A[l]:null;(g!==null?g.type!==0:d||!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(E(l,u,g,d)&&(u=null),d||g===null?x(l)&&(u===null?r.removeAttribute(l):r.setAttribute(l,""+u)):g.mustUseProperty?r[g.propertyName]=u===null?g.type===3?!1:"":u:(l=g.attributeName,d=g.attributeNamespace,u===null?r.removeAttribute(l):(g=g.type,u=g===3||g===4&&u===!0?"":""+u,d?r.setAttributeNS(d,l,u):r.setAttribute(l,u))))}var X=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,V=Symbol.for("react.element"),O=Symbol.for("react.portal"),G=Symbol.for("react.fragment"),te=Symbol.for("react.strict_mode"),re=Symbol.for("react.profiler"),H=Symbol.for("react.provider"),he=Symbol.for("react.context"),ne=Symbol.for("react.forward_ref"),Te=Symbol.for("react.suspense"),ve=Symbol.for("react.suspense_list"),ie=Symbol.for("react.memo"),Q=Symbol.for("react.lazy"),Ee=Symbol.for("react.offscreen"),oe=Symbol.iterator;function J(r){return r===null||typeof r!="object"?null:(r=oe&&r[oe]||r["@@iterator"],typeof r=="function"?r:null)}var M=Object.assign,F;function K(r){if(F===void 0)try{throw Error()}catch(u){var l=u.stack.trim().match(/\n( *(at )?)/);F=l&&l[1]||""}return`
|
|
34
|
+
`+F+r}var j=!1;function Z(r,l){if(!r||j)return"";j=!0;var u=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(Y){var d=Y}Reflect.construct(r,[],l)}else{try{l.call()}catch(Y){d=Y}r.call(l.prototype)}else{try{throw Error()}catch(Y){d=Y}r()}}catch(Y){if(Y&&d&&typeof Y.stack=="string"){for(var g=Y.stack.split(`
|
|
35
|
+
`),y=d.stack.split(`
|
|
36
|
+
`),C=g.length-1,L=y.length-1;1<=C&&0<=L&&g[C]!==y[L];)L--;for(;1<=C&&0<=L;C--,L--)if(g[C]!==y[L]){if(C!==1||L!==1)do if(C--,L--,0>L||g[C]!==y[L]){var B=`
|
|
37
|
+
`+g[C].replace(" at new "," at ");return r.displayName&&B.includes("<anonymous>")&&(B=B.replace("<anonymous>",r.displayName)),B}while(1<=C&&0<=L);break}}}finally{j=!1,Error.prepareStackTrace=u}return(r=r?r.displayName||r.name:"")?K(r):""}function xe(r){switch(r.tag){case 5:return K(r.type);case 16:return K("Lazy");case 13:return K("Suspense");case 19:return K("SuspenseList");case 0:case 2:case 15:return r=Z(r.type,!1),r;case 11:return r=Z(r.type.render,!1),r;case 1:return r=Z(r.type,!0),r;default:return""}}function ke(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 G:return"Fragment";case O:return"Portal";case re:return"Profiler";case te:return"StrictMode";case Te:return"Suspense";case ve:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case he:return(r.displayName||"Context")+".Consumer";case H:return(r._context.displayName||"Context")+".Provider";case ne:var l=r.render;return r=r.displayName,r||(r=l.displayName||l.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case ie:return l=r.displayName||null,l!==null?l:ke(r.type)||"Memo";case Q:l=r._payload,r=r._init;try{return ke(r(l))}catch{}}return null}function be(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 ke(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 Pe(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 it(r){var l=_e(r)?"checked":"value",u=Object.getOwnPropertyDescriptor(r.constructor.prototype,l),d=""+r[l];if(!r.hasOwnProperty(l)&&typeof u<"u"&&typeof u.get=="function"&&typeof u.set=="function"){var g=u.get,y=u.set;return Object.defineProperty(r,l,{configurable:!0,get:function(){return g.call(this)},set:function(C){d=""+C,y.call(this,C)}}),Object.defineProperty(r,l,{enumerable:u.enumerable}),{getValue:function(){return d},setValue:function(C){d=""+C},stopTracking:function(){r._valueTracker=null,delete r[l]}}}}function bn(r){r._valueTracker||(r._valueTracker=it(r))}function fi(r){if(!r)return!1;var l=r._valueTracker;if(!l)return!0;var u=l.getValue(),d="";return r&&(d=_e(r)?r.checked?"true":"false":r.value),r=d,r!==u?(l.setValue(r),!0):!1}function Ln(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 Yn(r,l){var u=l.checked;return M({},l,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:u??r._wrapperState.initialChecked})}function hi(r,l){var u=l.defaultValue==null?"":l.defaultValue,d=l.checked!=null?l.checked:l.defaultChecked;u=Pe(l.value!=null?l.value:u),r._wrapperState={initialChecked:d,initialValue:u,controlled:l.type==="checkbox"||l.type==="radio"?l.checked!=null:l.value!=null}}function di(r,l){l=l.checked,l!=null&&_(r,"checked",l,!1)}function Ar(r,l){di(r,l);var u=Pe(l.value),d=l.type;if(u!=null)d==="number"?(u===0&&r.value===""||r.value!=u)&&(r.value=""+u):r.value!==""+u&&(r.value=""+u);else if(d==="submit"||d==="reset"){r.removeAttribute("value");return}l.hasOwnProperty("value")?cr(r,l.type,u):l.hasOwnProperty("defaultValue")&&cr(r,l.type,Pe(l.defaultValue)),l.checked==null&&l.defaultChecked!=null&&(r.defaultChecked=!!l.defaultChecked)}function mi(r,l,u){if(l.hasOwnProperty("value")||l.hasOwnProperty("defaultValue")){var d=l.type;if(!(d!=="submit"&&d!=="reset"||l.value!==void 0&&l.value!==null))return;l=""+r._wrapperState.initialValue,u||l===r.value||(r.value=l),r.defaultValue=l}u=r.name,u!==""&&(r.name=""),r.defaultChecked=!!r._wrapperState.initialChecked,u!==""&&(r.name=u)}function cr(r,l,u){(l!=="number"||Ln(r.ownerDocument)!==r)&&(u==null?r.defaultValue=""+r._wrapperState.initialValue:r.defaultValue!==""+u&&(r.defaultValue=""+u))}var un=Array.isArray;function Xn(r,l,u,d){if(r=r.options,l){l={};for(var g=0;g<u.length;g++)l["$"+u[g]]=!0;for(u=0;u<r.length;u++)g=l.hasOwnProperty("$"+r[u].value),r[u].selected!==g&&(r[u].selected=g),g&&d&&(r[u].defaultSelected=!0)}else{for(u=""+Pe(u),l=null,g=0;g<r.length;g++){if(r[g].value===u){r[g].selected=!0,d&&(r[g].defaultSelected=!0);return}l!==null||r[g].disabled||(l=r[g])}l!==null&&(l.selected=!0)}}function pi(r,l){if(l.dangerouslySetInnerHTML!=null)throw Error(n(91));return M({},l,{value:void 0,defaultValue:void 0,children:""+r._wrapperState.initialValue})}function Mr(r,l){var u=l.value;if(u==null){if(u=l.children,l=l.defaultValue,u!=null){if(l!=null)throw Error(n(92));if(un(u)){if(1<u.length)throw Error(n(93));u=u[0]}l=u}l==null&&(l=""),u=l}r._wrapperState={initialValue:Pe(u)}}function gi(r,l){var u=Pe(l.value),d=Pe(l.defaultValue);u!=null&&(u=""+u,u!==r.value&&(r.value=u),l.defaultValue==null&&r.defaultValue!==u&&(r.defaultValue=u)),d!=null&&(r.defaultValue=""+d)}function vi(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 ye(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 Ie,He=(function(r){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(l,u,d,g){MSApp.execUnsafeLocalFunction(function(){return r(l,u,d,g)})}:r})(function(r,l){if(r.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in r)r.innerHTML=l;else{for(Ie=Ie||document.createElement("div"),Ie.innerHTML="<svg>"+l.valueOf().toString()+"</svg>",l=Ie.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;l.firstChild;)r.appendChild(l.firstChild)}});function Ye(r,l){if(l){var u=r.firstChild;if(u&&u===r.lastChild&&u.nodeType===3){u.nodeValue=l;return}}r.textContent=l}var Rt={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},fr=["Webkit","ms","Moz","O"];Object.keys(Rt).forEach(function(r){fr.forEach(function(l){l=l+r.charAt(0).toUpperCase()+r.substring(1),Rt[l]=Rt[r]})});function Sn(r,l,u){return l==null||typeof l=="boolean"||l===""?"":u||typeof l!="number"||l===0||Rt.hasOwnProperty(r)&&Rt[r]?(""+l).trim():l+"px"}function jr(r,l){r=r.style;for(var u in l)if(l.hasOwnProperty(u)){var d=u.indexOf("--")===0,g=Sn(u,l[u],d);u==="float"&&(u="cssFloat"),d?r.setProperty(u,g):r[u]=g}}var yi=M({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 Lt(r,l){if(l){if(yi[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 Kn(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 cn=null;function Jo(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var Zo=null,Wi=null,Gi=null;function ah(r){if(r=ea(r)){if(typeof Zo!="function")throw Error(n(280));var l=r.stateNode;l&&(l=fs(l),Zo(r.stateNode,r.type,l))}}function sh(r){Wi?Gi?Gi.push(r):Gi=[r]:Wi=r}function oh(){if(Wi){var r=Wi,l=Gi;if(Gi=Wi=null,ah(r),l)for(r=0;r<l.length;r++)ah(l[r])}}function uh(r,l){return r(l)}function ch(){}var e0=!1;function fh(r,l,u){if(e0)return r(l,u);e0=!0;try{return uh(r,l,u)}finally{e0=!1,(Wi!==null||Gi!==null)&&(ch(),oh())}}function Rl(r,l){var u=r.stateNode;if(u===null)return null;var d=fs(u);if(d===null)return null;u=d[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":(d=!d.disabled)||(r=r.type,d=!(r==="button"||r==="input"||r==="select"||r==="textarea")),r=!d;break e;default:r=!1}if(r)return null;if(u&&typeof u!="function")throw Error(n(231,l,typeof u));return u}var t0=!1;if(c)try{var Ll={};Object.defineProperty(Ll,"passive",{get:function(){t0=!0}}),window.addEventListener("test",Ll,Ll),window.removeEventListener("test",Ll,Ll)}catch{t0=!1}function r3(r,l,u,d,g,y,C,L,B){var Y=Array.prototype.slice.call(arguments,3);try{l.apply(u,Y)}catch(se){this.onError(se)}}var Dl=!1,Ha=null,Ua=!1,n0=null,i3={onError:function(r){Dl=!0,Ha=r}};function l3(r,l,u,d,g,y,C,L,B){Dl=!1,Ha=null,r3.apply(i3,arguments)}function a3(r,l,u,d,g,y,C,L,B){if(l3.apply(this,arguments),Dl){if(Dl){var Y=Ha;Dl=!1,Ha=null}else throw Error(n(198));Ua||(Ua=!0,n0=Y)}}function xi(r){var l=r,u=r;if(r.alternate)for(;l.return;)l=l.return;else{r=l;do l=r,(l.flags&4098)!==0&&(u=l.return),r=l.return;while(r)}return l.tag===3?u:null}function hh(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 dh(r){if(xi(r)!==r)throw Error(n(188))}function s3(r){var l=r.alternate;if(!l){if(l=xi(r),l===null)throw Error(n(188));return l!==r?null:r}for(var u=r,d=l;;){var g=u.return;if(g===null)break;var y=g.alternate;if(y===null){if(d=g.return,d!==null){u=d;continue}break}if(g.child===y.child){for(y=g.child;y;){if(y===u)return dh(g),r;if(y===d)return dh(g),l;y=y.sibling}throw Error(n(188))}if(u.return!==d.return)u=g,d=y;else{for(var C=!1,L=g.child;L;){if(L===u){C=!0,u=g,d=y;break}if(L===d){C=!0,d=g,u=y;break}L=L.sibling}if(!C){for(L=y.child;L;){if(L===u){C=!0,u=y,d=g;break}if(L===d){C=!0,d=y,u=g;break}L=L.sibling}if(!C)throw Error(n(189))}}if(u.alternate!==d)throw Error(n(190))}if(u.tag!==3)throw Error(n(188));return u.stateNode.current===u?r:l}function mh(r){return r=s3(r),r!==null?ph(r):null}function ph(r){if(r.tag===5||r.tag===6)return r;for(r=r.child;r!==null;){var l=ph(r);if(l!==null)return l;r=r.sibling}return null}var gh=t.unstable_scheduleCallback,vh=t.unstable_cancelCallback,o3=t.unstable_shouldYield,u3=t.unstable_requestPaint,xt=t.unstable_now,c3=t.unstable_getCurrentPriorityLevel,r0=t.unstable_ImmediatePriority,yh=t.unstable_UserBlockingPriority,Va=t.unstable_NormalPriority,f3=t.unstable_LowPriority,xh=t.unstable_IdlePriority,Wa=null,Qn=null;function h3(r){if(Qn&&typeof Qn.onCommitFiberRoot=="function")try{Qn.onCommitFiberRoot(Wa,r,void 0,(r.current.flags&128)===128)}catch{}}var Dn=Math.clz32?Math.clz32:p3,d3=Math.log,m3=Math.LN2;function p3(r){return r>>>=0,r===0?32:31-(d3(r)/m3|0)|0}var Ga=64,Ya=4194304;function Pl(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 Xa(r,l){var u=r.pendingLanes;if(u===0)return 0;var d=0,g=r.suspendedLanes,y=r.pingedLanes,C=u&268435455;if(C!==0){var L=C&~g;L!==0?d=Pl(L):(y&=C,y!==0&&(d=Pl(y)))}else C=u&~g,C!==0?d=Pl(C):y!==0&&(d=Pl(y));if(d===0)return 0;if(l!==0&&l!==d&&(l&g)===0&&(g=d&-d,y=l&-l,g>=y||g===16&&(y&4194240)!==0))return l;if((d&4)!==0&&(d|=u&16),l=r.entangledLanes,l!==0)for(r=r.entanglements,l&=d;0<l;)u=31-Dn(l),g=1<<u,d|=r[u],l&=~g;return d}function g3(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 v3(r,l){for(var u=r.suspendedLanes,d=r.pingedLanes,g=r.expirationTimes,y=r.pendingLanes;0<y;){var C=31-Dn(y),L=1<<C,B=g[C];B===-1?((L&u)===0||(L&d)!==0)&&(g[C]=g3(L,l)):B<=l&&(r.expiredLanes|=L),y&=~L}}function i0(r){return r=r.pendingLanes&-1073741825,r!==0?r:r&1073741824?1073741824:0}function wh(){var r=Ga;return Ga<<=1,(Ga&4194240)===0&&(Ga=64),r}function l0(r){for(var l=[],u=0;31>u;u++)l.push(r);return l}function Fl(r,l,u){r.pendingLanes|=l,l!==536870912&&(r.suspendedLanes=0,r.pingedLanes=0),r=r.eventTimes,l=31-Dn(l),r[l]=u}function y3(r,l){var u=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 d=r.eventTimes;for(r=r.expirationTimes;0<u;){var g=31-Dn(u),y=1<<g;l[g]=0,d[g]=-1,r[g]=-1,u&=~y}}function a0(r,l){var u=r.entangledLanes|=l;for(r=r.entanglements;u;){var d=31-Dn(u),g=1<<d;g&l|r[d]&l&&(r[d]|=l),u&=~g}}var et=0;function kh(r){return r&=-r,1<r?4<r?(r&268435455)!==0?16:536870912:4:1}var bh,s0,Sh,Ch,Eh,o0=!1,Ka=[],Ir=null,Rr=null,Lr=null,Ol=new Map,Bl=new Map,Dr=[],x3="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 Th(r,l){switch(r){case"focusin":case"focusout":Ir=null;break;case"dragenter":case"dragleave":Rr=null;break;case"mouseover":case"mouseout":Lr=null;break;case"pointerover":case"pointerout":Ol.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":Bl.delete(l.pointerId)}}function _l(r,l,u,d,g,y){return r===null||r.nativeEvent!==y?(r={blockedOn:l,domEventName:u,eventSystemFlags:d,nativeEvent:y,targetContainers:[g]},l!==null&&(l=ea(l),l!==null&&s0(l)),r):(r.eventSystemFlags|=d,l=r.targetContainers,g!==null&&l.indexOf(g)===-1&&l.push(g),r)}function w3(r,l,u,d,g){switch(l){case"focusin":return Ir=_l(Ir,r,l,u,d,g),!0;case"dragenter":return Rr=_l(Rr,r,l,u,d,g),!0;case"mouseover":return Lr=_l(Lr,r,l,u,d,g),!0;case"pointerover":var y=g.pointerId;return Ol.set(y,_l(Ol.get(y)||null,r,l,u,d,g)),!0;case"gotpointercapture":return y=g.pointerId,Bl.set(y,_l(Bl.get(y)||null,r,l,u,d,g)),!0}return!1}function Nh(r){var l=wi(r.target);if(l!==null){var u=xi(l);if(u!==null){if(l=u.tag,l===13){if(l=hh(u),l!==null){r.blockedOn=l,Eh(r.priority,function(){Sh(u)});return}}else if(l===3&&u.stateNode.current.memoizedState.isDehydrated){r.blockedOn=u.tag===3?u.stateNode.containerInfo:null;return}}}r.blockedOn=null}function Qa(r){if(r.blockedOn!==null)return!1;for(var l=r.targetContainers;0<l.length;){var u=c0(r.domEventName,r.eventSystemFlags,l[0],r.nativeEvent);if(u===null){u=r.nativeEvent;var d=new u.constructor(u.type,u);cn=d,u.target.dispatchEvent(d),cn=null}else return l=ea(u),l!==null&&s0(l),r.blockedOn=u,!1;l.shift()}return!0}function zh(r,l,u){Qa(r)&&u.delete(l)}function k3(){o0=!1,Ir!==null&&Qa(Ir)&&(Ir=null),Rr!==null&&Qa(Rr)&&(Rr=null),Lr!==null&&Qa(Lr)&&(Lr=null),Ol.forEach(zh),Bl.forEach(zh)}function ql(r,l){r.blockedOn===l&&(r.blockedOn=null,o0||(o0=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,k3)))}function $l(r){function l(g){return ql(g,r)}if(0<Ka.length){ql(Ka[0],r);for(var u=1;u<Ka.length;u++){var d=Ka[u];d.blockedOn===r&&(d.blockedOn=null)}}for(Ir!==null&&ql(Ir,r),Rr!==null&&ql(Rr,r),Lr!==null&&ql(Lr,r),Ol.forEach(l),Bl.forEach(l),u=0;u<Dr.length;u++)d=Dr[u],d.blockedOn===r&&(d.blockedOn=null);for(;0<Dr.length&&(u=Dr[0],u.blockedOn===null);)Nh(u),u.blockedOn===null&&Dr.shift()}var Yi=X.ReactCurrentBatchConfig,Ja=!0;function b3(r,l,u,d){var g=et,y=Yi.transition;Yi.transition=null;try{et=1,u0(r,l,u,d)}finally{et=g,Yi.transition=y}}function S3(r,l,u,d){var g=et,y=Yi.transition;Yi.transition=null;try{et=4,u0(r,l,u,d)}finally{et=g,Yi.transition=y}}function u0(r,l,u,d){if(Ja){var g=c0(r,l,u,d);if(g===null)N0(r,l,d,Za,u),Th(r,d);else if(w3(g,r,l,u,d))d.stopPropagation();else if(Th(r,d),l&4&&-1<x3.indexOf(r)){for(;g!==null;){var y=ea(g);if(y!==null&&bh(y),y=c0(r,l,u,d),y===null&&N0(r,l,d,Za,u),y===g)break;g=y}g!==null&&d.stopPropagation()}else N0(r,l,d,null,u)}}var Za=null;function c0(r,l,u,d){if(Za=null,r=Jo(d),r=wi(r),r!==null)if(l=xi(r),l===null)r=null;else if(u=l.tag,u===13){if(r=hh(l),r!==null)return r;r=null}else if(u===3){if(l.stateNode.current.memoizedState.isDehydrated)return l.tag===3?l.stateNode.containerInfo:null;r=null}else l!==r&&(r=null);return Za=r,null}function Ah(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(c3()){case r0:return 1;case yh:return 4;case Va:case f3:return 16;case xh:return 536870912;default:return 16}default:return 16}}var Pr=null,f0=null,es=null;function Mh(){if(es)return es;var r,l=f0,u=l.length,d,g="value"in Pr?Pr.value:Pr.textContent,y=g.length;for(r=0;r<u&&l[r]===g[r];r++);var C=u-r;for(d=1;d<=C&&l[u-d]===g[y-d];d++);return es=g.slice(r,1<d?1-d:void 0)}function ts(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 ns(){return!0}function jh(){return!1}function fn(r){function l(u,d,g,y,C){this._reactName=u,this._targetInst=g,this.type=d,this.nativeEvent=y,this.target=C,this.currentTarget=null;for(var L in r)r.hasOwnProperty(L)&&(u=r[L],this[L]=u?u(y):y[L]);return this.isDefaultPrevented=(y.defaultPrevented!=null?y.defaultPrevented:y.returnValue===!1)?ns:jh,this.isPropagationStopped=jh,this}return M(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var u=this.nativeEvent;u&&(u.preventDefault?u.preventDefault():typeof u.returnValue!="unknown"&&(u.returnValue=!1),this.isDefaultPrevented=ns)},stopPropagation:function(){var u=this.nativeEvent;u&&(u.stopPropagation?u.stopPropagation():typeof u.cancelBubble!="unknown"&&(u.cancelBubble=!0),this.isPropagationStopped=ns)},persist:function(){},isPersistent:ns}),l}var Xi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},h0=fn(Xi),Hl=M({},Xi,{view:0,detail:0}),C3=fn(Hl),d0,m0,Ul,rs=M({},Hl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:g0,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!==Ul&&(Ul&&r.type==="mousemove"?(d0=r.screenX-Ul.screenX,m0=r.screenY-Ul.screenY):m0=d0=0,Ul=r),d0)},movementY:function(r){return"movementY"in r?r.movementY:m0}}),Ih=fn(rs),E3=M({},rs,{dataTransfer:0}),T3=fn(E3),N3=M({},Hl,{relatedTarget:0}),p0=fn(N3),z3=M({},Xi,{animationName:0,elapsedTime:0,pseudoElement:0}),A3=fn(z3),M3=M({},Xi,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),j3=fn(M3),I3=M({},Xi,{data:0}),Rh=fn(I3),R3={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},L3={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"},D3={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function P3(r){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(r):(r=D3[r])?!!l[r]:!1}function g0(){return P3}var F3=M({},Hl,{key:function(r){if(r.key){var l=R3[r.key]||r.key;if(l!=="Unidentified")return l}return r.type==="keypress"?(r=ts(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?L3[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:g0,charCode:function(r){return r.type==="keypress"?ts(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?ts(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),O3=fn(F3),B3=M({},rs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Lh=fn(B3),_3=M({},Hl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:g0}),q3=fn(_3),$3=M({},Xi,{propertyName:0,elapsedTime:0,pseudoElement:0}),H3=fn($3),U3=M({},rs,{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}),V3=fn(U3),W3=[9,13,27,32],v0=c&&"CompositionEvent"in window,Vl=null;c&&"documentMode"in document&&(Vl=document.documentMode);var G3=c&&"TextEvent"in window&&!Vl,Dh=c&&(!v0||Vl&&8<Vl&&11>=Vl),Ph=" ",Fh=!1;function Oh(r,l){switch(r){case"keyup":return W3.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bh(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var Ki=!1;function Y3(r,l){switch(r){case"compositionend":return Bh(l);case"keypress":return l.which!==32?null:(Fh=!0,Ph);case"textInput":return r=l.data,r===Ph&&Fh?null:r;default:return null}}function X3(r,l){if(Ki)return r==="compositionend"||!v0&&Oh(r,l)?(r=Mh(),es=f0=Pr=null,Ki=!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 Dh&&l.locale!=="ko"?null:l.data;default:return null}}var K3={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 _h(r){var l=r&&r.nodeName&&r.nodeName.toLowerCase();return l==="input"?!!K3[r.type]:l==="textarea"}function qh(r,l,u,d){sh(d),l=os(l,"onChange"),0<l.length&&(u=new h0("onChange","change",null,u,d),r.push({event:u,listeners:l}))}var Wl=null,Gl=null;function Q3(r){ld(r,0)}function is(r){var l=tl(r);if(fi(l))return r}function J3(r,l){if(r==="change")return l}var $h=!1;if(c){var y0;if(c){var x0="oninput"in document;if(!x0){var Hh=document.createElement("div");Hh.setAttribute("oninput","return;"),x0=typeof Hh.oninput=="function"}y0=x0}else y0=!1;$h=y0&&(!document.documentMode||9<document.documentMode)}function Uh(){Wl&&(Wl.detachEvent("onpropertychange",Vh),Gl=Wl=null)}function Vh(r){if(r.propertyName==="value"&&is(Gl)){var l=[];qh(l,Gl,r,Jo(r)),fh(Q3,l)}}function Z3(r,l,u){r==="focusin"?(Uh(),Wl=l,Gl=u,Wl.attachEvent("onpropertychange",Vh)):r==="focusout"&&Uh()}function e5(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return is(Gl)}function t5(r,l){if(r==="click")return is(l)}function n5(r,l){if(r==="input"||r==="change")return is(l)}function r5(r,l){return r===l&&(r!==0||1/r===1/l)||r!==r&&l!==l}var Pn=typeof Object.is=="function"?Object.is:r5;function Yl(r,l){if(Pn(r,l))return!0;if(typeof r!="object"||r===null||typeof l!="object"||l===null)return!1;var u=Object.keys(r),d=Object.keys(l);if(u.length!==d.length)return!1;for(d=0;d<u.length;d++){var g=u[d];if(!f.call(l,g)||!Pn(r[g],l[g]))return!1}return!0}function Wh(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function Gh(r,l){var u=Wh(r);r=0;for(var d;u;){if(u.nodeType===3){if(d=r+u.textContent.length,r<=l&&d>=l)return{node:u,offset:l-r};r=d}e:{for(;u;){if(u.nextSibling){u=u.nextSibling;break e}u=u.parentNode}u=void 0}u=Wh(u)}}function Yh(r,l){return r&&l?r===l?!0:r&&r.nodeType===3?!1:l&&l.nodeType===3?Yh(r,l.parentNode):"contains"in r?r.contains(l):r.compareDocumentPosition?!!(r.compareDocumentPosition(l)&16):!1:!1}function Xh(){for(var r=window,l=Ln();l instanceof r.HTMLIFrameElement;){try{var u=typeof l.contentWindow.location.href=="string"}catch{u=!1}if(u)r=l.contentWindow;else break;l=Ln(r.document)}return l}function w0(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 i5(r){var l=Xh(),u=r.focusedElem,d=r.selectionRange;if(l!==u&&u&&u.ownerDocument&&Yh(u.ownerDocument.documentElement,u)){if(d!==null&&w0(u)){if(l=d.start,r=d.end,r===void 0&&(r=l),"selectionStart"in u)u.selectionStart=l,u.selectionEnd=Math.min(r,u.value.length);else if(r=(l=u.ownerDocument||document)&&l.defaultView||window,r.getSelection){r=r.getSelection();var g=u.textContent.length,y=Math.min(d.start,g);d=d.end===void 0?y:Math.min(d.end,g),!r.extend&&y>d&&(g=d,d=y,y=g),g=Gh(u,y);var C=Gh(u,d);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>d?(r.addRange(l),r.extend(C.node,C.offset)):(l.setEnd(C.node,C.offset),r.addRange(l)))}}for(l=[],r=u;r=r.parentNode;)r.nodeType===1&&l.push({element:r,left:r.scrollLeft,top:r.scrollTop});for(typeof u.focus=="function"&&u.focus(),u=0;u<l.length;u++)r=l[u],r.element.scrollLeft=r.left,r.element.scrollTop=r.top}}var l5=c&&"documentMode"in document&&11>=document.documentMode,Qi=null,k0=null,Xl=null,b0=!1;function Kh(r,l,u){var d=u.window===u?u.document:u.nodeType===9?u:u.ownerDocument;b0||Qi==null||Qi!==Ln(d)||(d=Qi,"selectionStart"in d&&w0(d)?d={start:d.selectionStart,end:d.selectionEnd}:(d=(d.ownerDocument&&d.ownerDocument.defaultView||window).getSelection(),d={anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}),Xl&&Yl(Xl,d)||(Xl=d,d=os(k0,"onSelect"),0<d.length&&(l=new h0("onSelect","select",null,l,u),r.push({event:l,listeners:d}),l.target=Qi)))}function ls(r,l){var u={};return u[r.toLowerCase()]=l.toLowerCase(),u["Webkit"+r]="webkit"+l,u["Moz"+r]="moz"+l,u}var Ji={animationend:ls("Animation","AnimationEnd"),animationiteration:ls("Animation","AnimationIteration"),animationstart:ls("Animation","AnimationStart"),transitionend:ls("Transition","TransitionEnd")},S0={},Qh={};c&&(Qh=document.createElement("div").style,"AnimationEvent"in window||(delete Ji.animationend.animation,delete Ji.animationiteration.animation,delete Ji.animationstart.animation),"TransitionEvent"in window||delete Ji.transitionend.transition);function as(r){if(S0[r])return S0[r];if(!Ji[r])return r;var l=Ji[r],u;for(u in l)if(l.hasOwnProperty(u)&&u in Qh)return S0[r]=l[u];return r}var Jh=as("animationend"),Zh=as("animationiteration"),ed=as("animationstart"),td=as("transitionend"),nd=new Map,rd="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 Fr(r,l){nd.set(r,l),s(l,[r])}for(var C0=0;C0<rd.length;C0++){var E0=rd[C0],a5=E0.toLowerCase(),s5=E0[0].toUpperCase()+E0.slice(1);Fr(a5,"on"+s5)}Fr(Jh,"onAnimationEnd"),Fr(Zh,"onAnimationIteration"),Fr(ed,"onAnimationStart"),Fr("dblclick","onDoubleClick"),Fr("focusin","onFocus"),Fr("focusout","onBlur"),Fr(td,"onTransitionEnd"),o("onMouseEnter",["mouseout","mouseover"]),o("onMouseLeave",["mouseout","mouseover"]),o("onPointerEnter",["pointerout","pointerover"]),o("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 Kl="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(" "),o5=new Set("cancel close invalid load scroll toggle".split(" ").concat(Kl));function id(r,l,u){var d=r.type||"unknown-event";r.currentTarget=u,a3(d,l,void 0,r),r.currentTarget=null}function ld(r,l){l=(l&4)!==0;for(var u=0;u<r.length;u++){var d=r[u],g=d.event;d=d.listeners;e:{var y=void 0;if(l)for(var C=d.length-1;0<=C;C--){var L=d[C],B=L.instance,Y=L.currentTarget;if(L=L.listener,B!==y&&g.isPropagationStopped())break e;id(g,L,Y),y=B}else for(C=0;C<d.length;C++){if(L=d[C],B=L.instance,Y=L.currentTarget,L=L.listener,B!==y&&g.isPropagationStopped())break e;id(g,L,Y),y=B}}}if(Ua)throw r=n0,Ua=!1,n0=null,r}function at(r,l){var u=l[R0];u===void 0&&(u=l[R0]=new Set);var d=r+"__bubble";u.has(d)||(ad(l,r,2,!1),u.add(d))}function T0(r,l,u){var d=0;l&&(d|=4),ad(u,r,d,l)}var ss="_reactListening"+Math.random().toString(36).slice(2);function Ql(r){if(!r[ss]){r[ss]=!0,i.forEach(function(u){u!=="selectionchange"&&(o5.has(u)||T0(u,!1,r),T0(u,!0,r))});var l=r.nodeType===9?r:r.ownerDocument;l===null||l[ss]||(l[ss]=!0,T0("selectionchange",!1,l))}}function ad(r,l,u,d){switch(Ah(l)){case 1:var g=b3;break;case 4:g=S3;break;default:g=u0}u=g.bind(null,l,u,r),g=void 0,!t0||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(g=!0),d?g!==void 0?r.addEventListener(l,u,{capture:!0,passive:g}):r.addEventListener(l,u,!0):g!==void 0?r.addEventListener(l,u,{passive:g}):r.addEventListener(l,u,!1)}function N0(r,l,u,d,g){var y=d;if((l&1)===0&&(l&2)===0&&d!==null)e:for(;;){if(d===null)return;var C=d.tag;if(C===3||C===4){var L=d.stateNode.containerInfo;if(L===g||L.nodeType===8&&L.parentNode===g)break;if(C===4)for(C=d.return;C!==null;){var B=C.tag;if((B===3||B===4)&&(B=C.stateNode.containerInfo,B===g||B.nodeType===8&&B.parentNode===g))return;C=C.return}for(;L!==null;){if(C=wi(L),C===null)return;if(B=C.tag,B===5||B===6){d=y=C;continue e}L=L.parentNode}}d=d.return}fh(function(){var Y=y,se=Jo(u),ce=[];e:{var ae=nd.get(r);if(ae!==void 0){var Se=h0,ze=r;switch(r){case"keypress":if(ts(u)===0)break e;case"keydown":case"keyup":Se=O3;break;case"focusin":ze="focus",Se=p0;break;case"focusout":ze="blur",Se=p0;break;case"beforeblur":case"afterblur":Se=p0;break;case"click":if(u.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Se=Ih;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Se=T3;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Se=q3;break;case Jh:case Zh:case ed:Se=A3;break;case td:Se=H3;break;case"scroll":Se=C3;break;case"wheel":Se=V3;break;case"copy":case"cut":case"paste":Se=j3;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Se=Lh}var Ae=(l&4)!==0,wt=!Ae&&r==="scroll",U=Ae?ae!==null?ae+"Capture":null:ae;Ae=[];for(var $=Y,W;$!==null;){W=$;var pe=W.stateNode;if(W.tag===5&&pe!==null&&(W=pe,U!==null&&(pe=Rl($,U),pe!=null&&Ae.push(Jl($,pe,W)))),wt)break;$=$.return}0<Ae.length&&(ae=new Se(ae,ze,null,u,se),ce.push({event:ae,listeners:Ae}))}}if((l&7)===0){e:{if(ae=r==="mouseover"||r==="pointerover",Se=r==="mouseout"||r==="pointerout",ae&&u!==cn&&(ze=u.relatedTarget||u.fromElement)&&(wi(ze)||ze[hr]))break e;if((Se||ae)&&(ae=se.window===se?se:(ae=se.ownerDocument)?ae.defaultView||ae.parentWindow:window,Se?(ze=u.relatedTarget||u.toElement,Se=Y,ze=ze?wi(ze):null,ze!==null&&(wt=xi(ze),ze!==wt||ze.tag!==5&&ze.tag!==6)&&(ze=null)):(Se=null,ze=Y),Se!==ze)){if(Ae=Ih,pe="onMouseLeave",U="onMouseEnter",$="mouse",(r==="pointerout"||r==="pointerover")&&(Ae=Lh,pe="onPointerLeave",U="onPointerEnter",$="pointer"),wt=Se==null?ae:tl(Se),W=ze==null?ae:tl(ze),ae=new Ae(pe,$+"leave",Se,u,se),ae.target=wt,ae.relatedTarget=W,pe=null,wi(se)===Y&&(Ae=new Ae(U,$+"enter",ze,u,se),Ae.target=W,Ae.relatedTarget=wt,pe=Ae),wt=pe,Se&&ze)t:{for(Ae=Se,U=ze,$=0,W=Ae;W;W=Zi(W))$++;for(W=0,pe=U;pe;pe=Zi(pe))W++;for(;0<$-W;)Ae=Zi(Ae),$--;for(;0<W-$;)U=Zi(U),W--;for(;$--;){if(Ae===U||U!==null&&Ae===U.alternate)break t;Ae=Zi(Ae),U=Zi(U)}Ae=null}else Ae=null;Se!==null&&sd(ce,ae,Se,Ae,!1),ze!==null&&wt!==null&&sd(ce,wt,ze,Ae,!0)}}e:{if(ae=Y?tl(Y):window,Se=ae.nodeName&&ae.nodeName.toLowerCase(),Se==="select"||Se==="input"&&ae.type==="file")var Me=J3;else if(_h(ae))if($h)Me=n5;else{Me=e5;var Re=Z3}else(Se=ae.nodeName)&&Se.toLowerCase()==="input"&&(ae.type==="checkbox"||ae.type==="radio")&&(Me=t5);if(Me&&(Me=Me(r,Y))){qh(ce,Me,u,se);break e}Re&&Re(r,ae,Y),r==="focusout"&&(Re=ae._wrapperState)&&Re.controlled&&ae.type==="number"&&cr(ae,"number",ae.value)}switch(Re=Y?tl(Y):window,r){case"focusin":(_h(Re)||Re.contentEditable==="true")&&(Qi=Re,k0=Y,Xl=null);break;case"focusout":Xl=k0=Qi=null;break;case"mousedown":b0=!0;break;case"contextmenu":case"mouseup":case"dragend":b0=!1,Kh(ce,u,se);break;case"selectionchange":if(l5)break;case"keydown":case"keyup":Kh(ce,u,se)}var Le;if(v0)e:{switch(r){case"compositionstart":var Be="onCompositionStart";break e;case"compositionend":Be="onCompositionEnd";break e;case"compositionupdate":Be="onCompositionUpdate";break e}Be=void 0}else Ki?Oh(r,u)&&(Be="onCompositionEnd"):r==="keydown"&&u.keyCode===229&&(Be="onCompositionStart");Be&&(Dh&&u.locale!=="ko"&&(Ki||Be!=="onCompositionStart"?Be==="onCompositionEnd"&&Ki&&(Le=Mh()):(Pr=se,f0="value"in Pr?Pr.value:Pr.textContent,Ki=!0)),Re=os(Y,Be),0<Re.length&&(Be=new Rh(Be,r,null,u,se),ce.push({event:Be,listeners:Re}),Le?Be.data=Le:(Le=Bh(u),Le!==null&&(Be.data=Le)))),(Le=G3?Y3(r,u):X3(r,u))&&(Y=os(Y,"onBeforeInput"),0<Y.length&&(se=new Rh("onBeforeInput","beforeinput",null,u,se),ce.push({event:se,listeners:Y}),se.data=Le))}ld(ce,l)})}function Jl(r,l,u){return{instance:r,listener:l,currentTarget:u}}function os(r,l){for(var u=l+"Capture",d=[];r!==null;){var g=r,y=g.stateNode;g.tag===5&&y!==null&&(g=y,y=Rl(r,u),y!=null&&d.unshift(Jl(r,y,g)),y=Rl(r,l),y!=null&&d.push(Jl(r,y,g))),r=r.return}return d}function Zi(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5);return r||null}function sd(r,l,u,d,g){for(var y=l._reactName,C=[];u!==null&&u!==d;){var L=u,B=L.alternate,Y=L.stateNode;if(B!==null&&B===d)break;L.tag===5&&Y!==null&&(L=Y,g?(B=Rl(u,y),B!=null&&C.unshift(Jl(u,B,L))):g||(B=Rl(u,y),B!=null&&C.push(Jl(u,B,L)))),u=u.return}C.length!==0&&r.push({event:l,listeners:C})}var u5=/\r\n?/g,c5=/\u0000|\uFFFD/g;function od(r){return(typeof r=="string"?r:""+r).replace(u5,`
|
|
38
|
+
`).replace(c5,"")}function us(r,l,u){if(l=od(l),od(r)!==l&&u)throw Error(n(425))}function cs(){}var z0=null,A0=null;function M0(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 j0=typeof setTimeout=="function"?setTimeout:void 0,f5=typeof clearTimeout=="function"?clearTimeout:void 0,ud=typeof Promise=="function"?Promise:void 0,h5=typeof queueMicrotask=="function"?queueMicrotask:typeof ud<"u"?function(r){return ud.resolve(null).then(r).catch(d5)}:j0;function d5(r){setTimeout(function(){throw r})}function I0(r,l){var u=l,d=0;do{var g=u.nextSibling;if(r.removeChild(u),g&&g.nodeType===8)if(u=g.data,u==="/$"){if(d===0){r.removeChild(g),$l(l);return}d--}else u!=="$"&&u!=="$?"&&u!=="$!"||d++;u=g}while(u);$l(l)}function Or(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 cd(r){r=r.previousSibling;for(var l=0;r;){if(r.nodeType===8){var u=r.data;if(u==="$"||u==="$!"||u==="$?"){if(l===0)return r;l--}else u==="/$"&&l++}r=r.previousSibling}return null}var el=Math.random().toString(36).slice(2),Jn="__reactFiber$"+el,Zl="__reactProps$"+el,hr="__reactContainer$"+el,R0="__reactEvents$"+el,m5="__reactListeners$"+el,p5="__reactHandles$"+el;function wi(r){var l=r[Jn];if(l)return l;for(var u=r.parentNode;u;){if(l=u[hr]||u[Jn]){if(u=l.alternate,l.child!==null||u!==null&&u.child!==null)for(r=cd(r);r!==null;){if(u=r[Jn])return u;r=cd(r)}return l}r=u,u=r.parentNode}return null}function ea(r){return r=r[Jn]||r[hr],!r||r.tag!==5&&r.tag!==6&&r.tag!==13&&r.tag!==3?null:r}function tl(r){if(r.tag===5||r.tag===6)return r.stateNode;throw Error(n(33))}function fs(r){return r[Zl]||null}var L0=[],nl=-1;function Br(r){return{current:r}}function st(r){0>nl||(r.current=L0[nl],L0[nl]=null,nl--)}function lt(r,l){nl++,L0[nl]=r.current,r.current=l}var _r={},Ot=Br(_r),Zt=Br(!1),ki=_r;function rl(r,l){var u=r.type.contextTypes;if(!u)return _r;var d=r.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===l)return d.__reactInternalMemoizedMaskedChildContext;var g={},y;for(y in u)g[y]=l[y];return d&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=l,r.__reactInternalMemoizedMaskedChildContext=g),g}function en(r){return r=r.childContextTypes,r!=null}function hs(){st(Zt),st(Ot)}function fd(r,l,u){if(Ot.current!==_r)throw Error(n(168));lt(Ot,l),lt(Zt,u)}function hd(r,l,u){var d=r.stateNode;if(l=l.childContextTypes,typeof d.getChildContext!="function")return u;d=d.getChildContext();for(var g in d)if(!(g in l))throw Error(n(108,be(r)||"Unknown",g));return M({},u,d)}function ds(r){return r=(r=r.stateNode)&&r.__reactInternalMemoizedMergedChildContext||_r,ki=Ot.current,lt(Ot,r),lt(Zt,Zt.current),!0}function dd(r,l,u){var d=r.stateNode;if(!d)throw Error(n(169));u?(r=hd(r,l,ki),d.__reactInternalMemoizedMergedChildContext=r,st(Zt),st(Ot),lt(Ot,r)):st(Zt),lt(Zt,u)}var dr=null,ms=!1,D0=!1;function md(r){dr===null?dr=[r]:dr.push(r)}function g5(r){ms=!0,md(r)}function qr(){if(!D0&&dr!==null){D0=!0;var r=0,l=et;try{var u=dr;for(et=1;r<u.length;r++){var d=u[r];do d=d(!0);while(d!==null)}dr=null,ms=!1}catch(g){throw dr!==null&&(dr=dr.slice(r+1)),gh(r0,qr),g}finally{et=l,D0=!1}}return null}var il=[],ll=0,ps=null,gs=0,Cn=[],En=0,bi=null,mr=1,pr="";function Si(r,l){il[ll++]=gs,il[ll++]=ps,ps=r,gs=l}function pd(r,l,u){Cn[En++]=mr,Cn[En++]=pr,Cn[En++]=bi,bi=r;var d=mr;r=pr;var g=32-Dn(d)-1;d&=~(1<<g),u+=1;var y=32-Dn(l)+g;if(30<y){var C=g-g%5;y=(d&(1<<C)-1).toString(32),d>>=C,g-=C,mr=1<<32-Dn(l)+g|u<<g|d,pr=y+r}else mr=1<<y|u<<g|d,pr=r}function P0(r){r.return!==null&&(Si(r,1),pd(r,1,0))}function F0(r){for(;r===ps;)ps=il[--ll],il[ll]=null,gs=il[--ll],il[ll]=null;for(;r===bi;)bi=Cn[--En],Cn[En]=null,pr=Cn[--En],Cn[En]=null,mr=Cn[--En],Cn[En]=null}var hn=null,dn=null,ct=!1,Fn=null;function gd(r,l){var u=An(5,null,null,0);u.elementType="DELETED",u.stateNode=l,u.return=r,l=r.deletions,l===null?(r.deletions=[u],r.flags|=16):l.push(u)}function vd(r,l){switch(r.tag){case 5:var u=r.type;return l=l.nodeType!==1||u.toLowerCase()!==l.nodeName.toLowerCase()?null:l,l!==null?(r.stateNode=l,hn=r,dn=Or(l.firstChild),!0):!1;case 6:return l=r.pendingProps===""||l.nodeType!==3?null:l,l!==null?(r.stateNode=l,hn=r,dn=null,!0):!1;case 13:return l=l.nodeType!==8?null:l,l!==null?(u=bi!==null?{id:mr,overflow:pr}:null,r.memoizedState={dehydrated:l,treeContext:u,retryLane:1073741824},u=An(18,null,null,0),u.stateNode=l,u.return=r,r.child=u,hn=r,dn=null,!0):!1;default:return!1}}function O0(r){return(r.mode&1)!==0&&(r.flags&128)===0}function B0(r){if(ct){var l=dn;if(l){var u=l;if(!vd(r,l)){if(O0(r))throw Error(n(418));l=Or(u.nextSibling);var d=hn;l&&vd(r,l)?gd(d,u):(r.flags=r.flags&-4097|2,ct=!1,hn=r)}}else{if(O0(r))throw Error(n(418));r.flags=r.flags&-4097|2,ct=!1,hn=r}}}function yd(r){for(r=r.return;r!==null&&r.tag!==5&&r.tag!==3&&r.tag!==13;)r=r.return;hn=r}function vs(r){if(r!==hn)return!1;if(!ct)return yd(r),ct=!0,!1;var l;if((l=r.tag!==3)&&!(l=r.tag!==5)&&(l=r.type,l=l!=="head"&&l!=="body"&&!M0(r.type,r.memoizedProps)),l&&(l=dn)){if(O0(r))throw xd(),Error(n(418));for(;l;)gd(r,l),l=Or(l.nextSibling)}if(yd(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 u=r.data;if(u==="/$"){if(l===0){dn=Or(r.nextSibling);break e}l--}else u!=="$"&&u!=="$!"&&u!=="$?"||l++}r=r.nextSibling}dn=null}}else dn=hn?Or(r.stateNode.nextSibling):null;return!0}function xd(){for(var r=dn;r;)r=Or(r.nextSibling)}function al(){dn=hn=null,ct=!1}function _0(r){Fn===null?Fn=[r]:Fn.push(r)}var v5=X.ReactCurrentBatchConfig;function ta(r,l,u){if(r=u.ref,r!==null&&typeof r!="function"&&typeof r!="object"){if(u._owner){if(u=u._owner,u){if(u.tag!==1)throw Error(n(309));var d=u.stateNode}if(!d)throw Error(n(147,r));var g=d,y=""+r;return l!==null&&l.ref!==null&&typeof l.ref=="function"&&l.ref._stringRef===y?l.ref:(l=function(C){var L=g.refs;C===null?delete L[y]:L[y]=C},l._stringRef=y,l)}if(typeof r!="string")throw Error(n(284));if(!u._owner)throw Error(n(290,r))}return r}function ys(r,l){throw r=Object.prototype.toString.call(l),Error(n(31,r==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":r))}function wd(r){var l=r._init;return l(r._payload)}function kd(r){function l(U,$){if(r){var W=U.deletions;W===null?(U.deletions=[$],U.flags|=16):W.push($)}}function u(U,$){if(!r)return null;for(;$!==null;)l(U,$),$=$.sibling;return null}function d(U,$){for(U=new Map;$!==null;)$.key!==null?U.set($.key,$):U.set($.index,$),$=$.sibling;return U}function g(U,$){return U=Xr(U,$),U.index=0,U.sibling=null,U}function y(U,$,W){return U.index=W,r?(W=U.alternate,W!==null?(W=W.index,W<$?(U.flags|=2,$):W):(U.flags|=2,$)):(U.flags|=1048576,$)}function C(U){return r&&U.alternate===null&&(U.flags|=2),U}function L(U,$,W,pe){return $===null||$.tag!==6?($=ju(W,U.mode,pe),$.return=U,$):($=g($,W),$.return=U,$)}function B(U,$,W,pe){var Me=W.type;return Me===G?se(U,$,W.props.children,pe,W.key):$!==null&&($.elementType===Me||typeof Me=="object"&&Me!==null&&Me.$$typeof===Q&&wd(Me)===$.type)?(pe=g($,W.props),pe.ref=ta(U,$,W),pe.return=U,pe):(pe=$s(W.type,W.key,W.props,null,U.mode,pe),pe.ref=ta(U,$,W),pe.return=U,pe)}function Y(U,$,W,pe){return $===null||$.tag!==4||$.stateNode.containerInfo!==W.containerInfo||$.stateNode.implementation!==W.implementation?($=Iu(W,U.mode,pe),$.return=U,$):($=g($,W.children||[]),$.return=U,$)}function se(U,$,W,pe,Me){return $===null||$.tag!==7?($=ji(W,U.mode,pe,Me),$.return=U,$):($=g($,W),$.return=U,$)}function ce(U,$,W){if(typeof $=="string"&&$!==""||typeof $=="number")return $=ju(""+$,U.mode,W),$.return=U,$;if(typeof $=="object"&&$!==null){switch($.$$typeof){case V:return W=$s($.type,$.key,$.props,null,U.mode,W),W.ref=ta(U,null,$),W.return=U,W;case O:return $=Iu($,U.mode,W),$.return=U,$;case Q:var pe=$._init;return ce(U,pe($._payload),W)}if(un($)||J($))return $=ji($,U.mode,W,null),$.return=U,$;ys(U,$)}return null}function ae(U,$,W,pe){var Me=$!==null?$.key:null;if(typeof W=="string"&&W!==""||typeof W=="number")return Me!==null?null:L(U,$,""+W,pe);if(typeof W=="object"&&W!==null){switch(W.$$typeof){case V:return W.key===Me?B(U,$,W,pe):null;case O:return W.key===Me?Y(U,$,W,pe):null;case Q:return Me=W._init,ae(U,$,Me(W._payload),pe)}if(un(W)||J(W))return Me!==null?null:se(U,$,W,pe,null);ys(U,W)}return null}function Se(U,$,W,pe,Me){if(typeof pe=="string"&&pe!==""||typeof pe=="number")return U=U.get(W)||null,L($,U,""+pe,Me);if(typeof pe=="object"&&pe!==null){switch(pe.$$typeof){case V:return U=U.get(pe.key===null?W:pe.key)||null,B($,U,pe,Me);case O:return U=U.get(pe.key===null?W:pe.key)||null,Y($,U,pe,Me);case Q:var Re=pe._init;return Se(U,$,W,Re(pe._payload),Me)}if(un(pe)||J(pe))return U=U.get(W)||null,se($,U,pe,Me,null);ys($,pe)}return null}function ze(U,$,W,pe){for(var Me=null,Re=null,Le=$,Be=$=0,It=null;Le!==null&&Be<W.length;Be++){Le.index>Be?(It=Le,Le=null):It=Le.sibling;var Ke=ae(U,Le,W[Be],pe);if(Ke===null){Le===null&&(Le=It);break}r&&Le&&Ke.alternate===null&&l(U,Le),$=y(Ke,$,Be),Re===null?Me=Ke:Re.sibling=Ke,Re=Ke,Le=It}if(Be===W.length)return u(U,Le),ct&&Si(U,Be),Me;if(Le===null){for(;Be<W.length;Be++)Le=ce(U,W[Be],pe),Le!==null&&($=y(Le,$,Be),Re===null?Me=Le:Re.sibling=Le,Re=Le);return ct&&Si(U,Be),Me}for(Le=d(U,Le);Be<W.length;Be++)It=Se(Le,U,Be,W[Be],pe),It!==null&&(r&&It.alternate!==null&&Le.delete(It.key===null?Be:It.key),$=y(It,$,Be),Re===null?Me=It:Re.sibling=It,Re=It);return r&&Le.forEach(function(Kr){return l(U,Kr)}),ct&&Si(U,Be),Me}function Ae(U,$,W,pe){var Me=J(W);if(typeof Me!="function")throw Error(n(150));if(W=Me.call(W),W==null)throw Error(n(151));for(var Re=Me=null,Le=$,Be=$=0,It=null,Ke=W.next();Le!==null&&!Ke.done;Be++,Ke=W.next()){Le.index>Be?(It=Le,Le=null):It=Le.sibling;var Kr=ae(U,Le,Ke.value,pe);if(Kr===null){Le===null&&(Le=It);break}r&&Le&&Kr.alternate===null&&l(U,Le),$=y(Kr,$,Be),Re===null?Me=Kr:Re.sibling=Kr,Re=Kr,Le=It}if(Ke.done)return u(U,Le),ct&&Si(U,Be),Me;if(Le===null){for(;!Ke.done;Be++,Ke=W.next())Ke=ce(U,Ke.value,pe),Ke!==null&&($=y(Ke,$,Be),Re===null?Me=Ke:Re.sibling=Ke,Re=Ke);return ct&&Si(U,Be),Me}for(Le=d(U,Le);!Ke.done;Be++,Ke=W.next())Ke=Se(Le,U,Be,Ke.value,pe),Ke!==null&&(r&&Ke.alternate!==null&&Le.delete(Ke.key===null?Be:Ke.key),$=y(Ke,$,Be),Re===null?Me=Ke:Re.sibling=Ke,Re=Ke);return r&&Le.forEach(function(K5){return l(U,K5)}),ct&&Si(U,Be),Me}function wt(U,$,W,pe){if(typeof W=="object"&&W!==null&&W.type===G&&W.key===null&&(W=W.props.children),typeof W=="object"&&W!==null){switch(W.$$typeof){case V:e:{for(var Me=W.key,Re=$;Re!==null;){if(Re.key===Me){if(Me=W.type,Me===G){if(Re.tag===7){u(U,Re.sibling),$=g(Re,W.props.children),$.return=U,U=$;break e}}else if(Re.elementType===Me||typeof Me=="object"&&Me!==null&&Me.$$typeof===Q&&wd(Me)===Re.type){u(U,Re.sibling),$=g(Re,W.props),$.ref=ta(U,Re,W),$.return=U,U=$;break e}u(U,Re);break}else l(U,Re);Re=Re.sibling}W.type===G?($=ji(W.props.children,U.mode,pe,W.key),$.return=U,U=$):(pe=$s(W.type,W.key,W.props,null,U.mode,pe),pe.ref=ta(U,$,W),pe.return=U,U=pe)}return C(U);case O:e:{for(Re=W.key;$!==null;){if($.key===Re)if($.tag===4&&$.stateNode.containerInfo===W.containerInfo&&$.stateNode.implementation===W.implementation){u(U,$.sibling),$=g($,W.children||[]),$.return=U,U=$;break e}else{u(U,$);break}else l(U,$);$=$.sibling}$=Iu(W,U.mode,pe),$.return=U,U=$}return C(U);case Q:return Re=W._init,wt(U,$,Re(W._payload),pe)}if(un(W))return ze(U,$,W,pe);if(J(W))return Ae(U,$,W,pe);ys(U,W)}return typeof W=="string"&&W!==""||typeof W=="number"?(W=""+W,$!==null&&$.tag===6?(u(U,$.sibling),$=g($,W),$.return=U,U=$):(u(U,$),$=ju(W,U.mode,pe),$.return=U,U=$),C(U)):u(U,$)}return wt}var sl=kd(!0),bd=kd(!1),xs=Br(null),ws=null,ol=null,q0=null;function $0(){q0=ol=ws=null}function H0(r){var l=xs.current;st(xs),r._currentValue=l}function U0(r,l,u){for(;r!==null;){var d=r.alternate;if((r.childLanes&l)!==l?(r.childLanes|=l,d!==null&&(d.childLanes|=l)):d!==null&&(d.childLanes&l)!==l&&(d.childLanes|=l),r===u)break;r=r.return}}function ul(r,l){ws=r,q0=ol=null,r=r.dependencies,r!==null&&r.firstContext!==null&&((r.lanes&l)!==0&&(tn=!0),r.firstContext=null)}function Tn(r){var l=r._currentValue;if(q0!==r)if(r={context:r,memoizedValue:l,next:null},ol===null){if(ws===null)throw Error(n(308));ol=r,ws.dependencies={lanes:0,firstContext:r}}else ol=ol.next=r;return l}var Ci=null;function V0(r){Ci===null?Ci=[r]:Ci.push(r)}function Sd(r,l,u,d){var g=l.interleaved;return g===null?(u.next=u,V0(l)):(u.next=g.next,g.next=u),l.interleaved=u,gr(r,d)}function gr(r,l){r.lanes|=l;var u=r.alternate;for(u!==null&&(u.lanes|=l),u=r,r=r.return;r!==null;)r.childLanes|=l,u=r.alternate,u!==null&&(u.childLanes|=l),u=r,r=r.return;return u.tag===3?u.stateNode:null}var $r=!1;function W0(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Cd(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 vr(r,l){return{eventTime:r,lane:l,tag:0,payload:null,callback:null,next:null}}function Hr(r,l,u){var d=r.updateQueue;if(d===null)return null;if(d=d.shared,(Xe&2)!==0){var g=d.pending;return g===null?l.next=l:(l.next=g.next,g.next=l),d.pending=l,gr(r,u)}return g=d.interleaved,g===null?(l.next=l,V0(d)):(l.next=g.next,g.next=l),d.interleaved=l,gr(r,u)}function ks(r,l,u){if(l=l.updateQueue,l!==null&&(l=l.shared,(u&4194240)!==0)){var d=l.lanes;d&=r.pendingLanes,u|=d,l.lanes=u,a0(r,u)}}function Ed(r,l){var u=r.updateQueue,d=r.alternate;if(d!==null&&(d=d.updateQueue,u===d)){var g=null,y=null;if(u=u.firstBaseUpdate,u!==null){do{var C={eventTime:u.eventTime,lane:u.lane,tag:u.tag,payload:u.payload,callback:u.callback,next:null};y===null?g=y=C:y=y.next=C,u=u.next}while(u!==null);y===null?g=y=l:y=y.next=l}else g=y=l;u={baseState:d.baseState,firstBaseUpdate:g,lastBaseUpdate:y,shared:d.shared,effects:d.effects},r.updateQueue=u;return}r=u.lastBaseUpdate,r===null?u.firstBaseUpdate=l:r.next=l,u.lastBaseUpdate=l}function bs(r,l,u,d){var g=r.updateQueue;$r=!1;var y=g.firstBaseUpdate,C=g.lastBaseUpdate,L=g.shared.pending;if(L!==null){g.shared.pending=null;var B=L,Y=B.next;B.next=null,C===null?y=Y:C.next=Y,C=B;var se=r.alternate;se!==null&&(se=se.updateQueue,L=se.lastBaseUpdate,L!==C&&(L===null?se.firstBaseUpdate=Y:L.next=Y,se.lastBaseUpdate=B))}if(y!==null){var ce=g.baseState;C=0,se=Y=B=null,L=y;do{var ae=L.lane,Se=L.eventTime;if((d&ae)===ae){se!==null&&(se=se.next={eventTime:Se,lane:0,tag:L.tag,payload:L.payload,callback:L.callback,next:null});e:{var ze=r,Ae=L;switch(ae=l,Se=u,Ae.tag){case 1:if(ze=Ae.payload,typeof ze=="function"){ce=ze.call(Se,ce,ae);break e}ce=ze;break e;case 3:ze.flags=ze.flags&-65537|128;case 0:if(ze=Ae.payload,ae=typeof ze=="function"?ze.call(Se,ce,ae):ze,ae==null)break e;ce=M({},ce,ae);break e;case 2:$r=!0}}L.callback!==null&&L.lane!==0&&(r.flags|=64,ae=g.effects,ae===null?g.effects=[L]:ae.push(L))}else Se={eventTime:Se,lane:ae,tag:L.tag,payload:L.payload,callback:L.callback,next:null},se===null?(Y=se=Se,B=ce):se=se.next=Se,C|=ae;if(L=L.next,L===null){if(L=g.shared.pending,L===null)break;ae=L,L=ae.next,ae.next=null,g.lastBaseUpdate=ae,g.shared.pending=null}}while(!0);if(se===null&&(B=ce),g.baseState=B,g.firstBaseUpdate=Y,g.lastBaseUpdate=se,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);Ni|=C,r.lanes=C,r.memoizedState=ce}}function Td(r,l,u){if(r=l.effects,l.effects=null,r!==null)for(l=0;l<r.length;l++){var d=r[l],g=d.callback;if(g!==null){if(d.callback=null,d=u,typeof g!="function")throw Error(n(191,g));g.call(d)}}}var na={},Zn=Br(na),ra=Br(na),ia=Br(na);function Ei(r){if(r===na)throw Error(n(174));return r}function G0(r,l){switch(lt(ia,l),lt(ra,r),lt(Zn,na),r=l.nodeType,r){case 9:case 11:l=(l=l.documentElement)?l.namespaceURI:ye(null,"");break;default:r=r===8?l.parentNode:l,l=r.namespaceURI||null,r=r.tagName,l=ye(l,r)}st(Zn),lt(Zn,l)}function cl(){st(Zn),st(ra),st(ia)}function Nd(r){Ei(ia.current);var l=Ei(Zn.current),u=ye(l,r.type);l!==u&&(lt(ra,r),lt(Zn,u))}function Y0(r){ra.current===r&&(st(Zn),st(ra))}var dt=Br(0);function Ss(r){for(var l=r;l!==null;){if(l.tag===13){var u=l.memoizedState;if(u!==null&&(u=u.dehydrated,u===null||u.data==="$?"||u.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 X0=[];function K0(){for(var r=0;r<X0.length;r++)X0[r]._workInProgressVersionPrimary=null;X0.length=0}var Cs=X.ReactCurrentDispatcher,Q0=X.ReactCurrentBatchConfig,Ti=0,mt=null,Tt=null,Mt=null,Es=!1,la=!1,aa=0,y5=0;function Bt(){throw Error(n(321))}function J0(r,l){if(l===null)return!1;for(var u=0;u<l.length&&u<r.length;u++)if(!Pn(r[u],l[u]))return!1;return!0}function Z0(r,l,u,d,g,y){if(Ti=y,mt=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,Cs.current=r===null||r.memoizedState===null?b5:S5,r=u(d,g),la){y=0;do{if(la=!1,aa=0,25<=y)throw Error(n(301));y+=1,Mt=Tt=null,l.updateQueue=null,Cs.current=C5,r=u(d,g)}while(la)}if(Cs.current=zs,l=Tt!==null&&Tt.next!==null,Ti=0,Mt=Tt=mt=null,Es=!1,l)throw Error(n(300));return r}function eu(){var r=aa!==0;return aa=0,r}function er(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Mt===null?mt.memoizedState=Mt=r:Mt=Mt.next=r,Mt}function Nn(){if(Tt===null){var r=mt.alternate;r=r!==null?r.memoizedState:null}else r=Tt.next;var l=Mt===null?mt.memoizedState:Mt.next;if(l!==null)Mt=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},Mt===null?mt.memoizedState=Mt=r:Mt=Mt.next=r}return Mt}function sa(r,l){return typeof l=="function"?l(r):l}function tu(r){var l=Nn(),u=l.queue;if(u===null)throw Error(n(311));u.lastRenderedReducer=r;var d=Tt,g=d.baseQueue,y=u.pending;if(y!==null){if(g!==null){var C=g.next;g.next=y.next,y.next=C}d.baseQueue=g=y,u.pending=null}if(g!==null){y=g.next,d=d.baseState;var L=C=null,B=null,Y=y;do{var se=Y.lane;if((Ti&se)===se)B!==null&&(B=B.next={lane:0,action:Y.action,hasEagerState:Y.hasEagerState,eagerState:Y.eagerState,next:null}),d=Y.hasEagerState?Y.eagerState:r(d,Y.action);else{var ce={lane:se,action:Y.action,hasEagerState:Y.hasEagerState,eagerState:Y.eagerState,next:null};B===null?(L=B=ce,C=d):B=B.next=ce,mt.lanes|=se,Ni|=se}Y=Y.next}while(Y!==null&&Y!==y);B===null?C=d:B.next=L,Pn(d,l.memoizedState)||(tn=!0),l.memoizedState=d,l.baseState=C,l.baseQueue=B,u.lastRenderedState=d}if(r=u.interleaved,r!==null){g=r;do y=g.lane,mt.lanes|=y,Ni|=y,g=g.next;while(g!==r)}else g===null&&(u.lanes=0);return[l.memoizedState,u.dispatch]}function nu(r){var l=Nn(),u=l.queue;if(u===null)throw Error(n(311));u.lastRenderedReducer=r;var d=u.dispatch,g=u.pending,y=l.memoizedState;if(g!==null){u.pending=null;var C=g=g.next;do y=r(y,C.action),C=C.next;while(C!==g);Pn(y,l.memoizedState)||(tn=!0),l.memoizedState=y,l.baseQueue===null&&(l.baseState=y),u.lastRenderedState=y}return[y,d]}function zd(){}function Ad(r,l){var u=mt,d=Nn(),g=l(),y=!Pn(d.memoizedState,g);if(y&&(d.memoizedState=g,tn=!0),d=d.queue,ru(Id.bind(null,u,d,r),[r]),d.getSnapshot!==l||y||Mt!==null&&Mt.memoizedState.tag&1){if(u.flags|=2048,oa(9,jd.bind(null,u,d,g,l),void 0,null),jt===null)throw Error(n(349));(Ti&30)!==0||Md(u,l,g)}return g}function Md(r,l,u){r.flags|=16384,r={getSnapshot:l,value:u},l=mt.updateQueue,l===null?(l={lastEffect:null,stores:null},mt.updateQueue=l,l.stores=[r]):(u=l.stores,u===null?l.stores=[r]:u.push(r))}function jd(r,l,u,d){l.value=u,l.getSnapshot=d,Rd(l)&&Ld(r)}function Id(r,l,u){return u(function(){Rd(l)&&Ld(r)})}function Rd(r){var l=r.getSnapshot;r=r.value;try{var u=l();return!Pn(r,u)}catch{return!0}}function Ld(r){var l=gr(r,1);l!==null&&qn(l,r,1,-1)}function Dd(r){var l=er();return typeof r=="function"&&(r=r()),l.memoizedState=l.baseState=r,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:sa,lastRenderedState:r},l.queue=r,r=r.dispatch=k5.bind(null,mt,r),[l.memoizedState,r]}function oa(r,l,u,d){return r={tag:r,create:l,destroy:u,deps:d,next:null},l=mt.updateQueue,l===null?(l={lastEffect:null,stores:null},mt.updateQueue=l,l.lastEffect=r.next=r):(u=l.lastEffect,u===null?l.lastEffect=r.next=r:(d=u.next,u.next=r,r.next=d,l.lastEffect=r)),r}function Pd(){return Nn().memoizedState}function Ts(r,l,u,d){var g=er();mt.flags|=r,g.memoizedState=oa(1|l,u,void 0,d===void 0?null:d)}function Ns(r,l,u,d){var g=Nn();d=d===void 0?null:d;var y=void 0;if(Tt!==null){var C=Tt.memoizedState;if(y=C.destroy,d!==null&&J0(d,C.deps)){g.memoizedState=oa(l,u,y,d);return}}mt.flags|=r,g.memoizedState=oa(1|l,u,y,d)}function Fd(r,l){return Ts(8390656,8,r,l)}function ru(r,l){return Ns(2048,8,r,l)}function Od(r,l){return Ns(4,2,r,l)}function Bd(r,l){return Ns(4,4,r,l)}function _d(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 qd(r,l,u){return u=u!=null?u.concat([r]):null,Ns(4,4,_d.bind(null,l,r),u)}function iu(){}function $d(r,l){var u=Nn();l=l===void 0?null:l;var d=u.memoizedState;return d!==null&&l!==null&&J0(l,d[1])?d[0]:(u.memoizedState=[r,l],r)}function Hd(r,l){var u=Nn();l=l===void 0?null:l;var d=u.memoizedState;return d!==null&&l!==null&&J0(l,d[1])?d[0]:(r=r(),u.memoizedState=[r,l],r)}function Ud(r,l,u){return(Ti&21)===0?(r.baseState&&(r.baseState=!1,tn=!0),r.memoizedState=u):(Pn(u,l)||(u=wh(),mt.lanes|=u,Ni|=u,r.baseState=!0),l)}function x5(r,l){var u=et;et=u!==0&&4>u?u:4,r(!0);var d=Q0.transition;Q0.transition={};try{r(!1),l()}finally{et=u,Q0.transition=d}}function Vd(){return Nn().memoizedState}function w5(r,l,u){var d=Gr(r);if(u={lane:d,action:u,hasEagerState:!1,eagerState:null,next:null},Wd(r))Gd(l,u);else if(u=Sd(r,l,u,d),u!==null){var g=Gt();qn(u,r,d,g),Yd(u,l,d)}}function k5(r,l,u){var d=Gr(r),g={lane:d,action:u,hasEagerState:!1,eagerState:null,next:null};if(Wd(r))Gd(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,L=y(C,u);if(g.hasEagerState=!0,g.eagerState=L,Pn(L,C)){var B=l.interleaved;B===null?(g.next=g,V0(l)):(g.next=B.next,B.next=g),l.interleaved=g;return}}catch{}finally{}u=Sd(r,l,g,d),u!==null&&(g=Gt(),qn(u,r,d,g),Yd(u,l,d))}}function Wd(r){var l=r.alternate;return r===mt||l!==null&&l===mt}function Gd(r,l){la=Es=!0;var u=r.pending;u===null?l.next=l:(l.next=u.next,u.next=l),r.pending=l}function Yd(r,l,u){if((u&4194240)!==0){var d=l.lanes;d&=r.pendingLanes,u|=d,l.lanes=u,a0(r,u)}}var zs={readContext:Tn,useCallback:Bt,useContext:Bt,useEffect:Bt,useImperativeHandle:Bt,useInsertionEffect:Bt,useLayoutEffect:Bt,useMemo:Bt,useReducer:Bt,useRef:Bt,useState:Bt,useDebugValue:Bt,useDeferredValue:Bt,useTransition:Bt,useMutableSource:Bt,useSyncExternalStore:Bt,useId:Bt,unstable_isNewReconciler:!1},b5={readContext:Tn,useCallback:function(r,l){return er().memoizedState=[r,l===void 0?null:l],r},useContext:Tn,useEffect:Fd,useImperativeHandle:function(r,l,u){return u=u!=null?u.concat([r]):null,Ts(4194308,4,_d.bind(null,l,r),u)},useLayoutEffect:function(r,l){return Ts(4194308,4,r,l)},useInsertionEffect:function(r,l){return Ts(4,2,r,l)},useMemo:function(r,l){var u=er();return l=l===void 0?null:l,r=r(),u.memoizedState=[r,l],r},useReducer:function(r,l,u){var d=er();return l=u!==void 0?u(l):l,d.memoizedState=d.baseState=l,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:l},d.queue=r,r=r.dispatch=w5.bind(null,mt,r),[d.memoizedState,r]},useRef:function(r){var l=er();return r={current:r},l.memoizedState=r},useState:Dd,useDebugValue:iu,useDeferredValue:function(r){return er().memoizedState=r},useTransition:function(){var r=Dd(!1),l=r[0];return r=x5.bind(null,r[1]),er().memoizedState=r,[l,r]},useMutableSource:function(){},useSyncExternalStore:function(r,l,u){var d=mt,g=er();if(ct){if(u===void 0)throw Error(n(407));u=u()}else{if(u=l(),jt===null)throw Error(n(349));(Ti&30)!==0||Md(d,l,u)}g.memoizedState=u;var y={value:u,getSnapshot:l};return g.queue=y,Fd(Id.bind(null,d,y,r),[r]),d.flags|=2048,oa(9,jd.bind(null,d,y,u,l),void 0,null),u},useId:function(){var r=er(),l=jt.identifierPrefix;if(ct){var u=pr,d=mr;u=(d&~(1<<32-Dn(d)-1)).toString(32)+u,l=":"+l+"R"+u,u=aa++,0<u&&(l+="H"+u.toString(32)),l+=":"}else u=y5++,l=":"+l+"r"+u.toString(32)+":";return r.memoizedState=l},unstable_isNewReconciler:!1},S5={readContext:Tn,useCallback:$d,useContext:Tn,useEffect:ru,useImperativeHandle:qd,useInsertionEffect:Od,useLayoutEffect:Bd,useMemo:Hd,useReducer:tu,useRef:Pd,useState:function(){return tu(sa)},useDebugValue:iu,useDeferredValue:function(r){var l=Nn();return Ud(l,Tt.memoizedState,r)},useTransition:function(){var r=tu(sa)[0],l=Nn().memoizedState;return[r,l]},useMutableSource:zd,useSyncExternalStore:Ad,useId:Vd,unstable_isNewReconciler:!1},C5={readContext:Tn,useCallback:$d,useContext:Tn,useEffect:ru,useImperativeHandle:qd,useInsertionEffect:Od,useLayoutEffect:Bd,useMemo:Hd,useReducer:nu,useRef:Pd,useState:function(){return nu(sa)},useDebugValue:iu,useDeferredValue:function(r){var l=Nn();return Tt===null?l.memoizedState=r:Ud(l,Tt.memoizedState,r)},useTransition:function(){var r=nu(sa)[0],l=Nn().memoizedState;return[r,l]},useMutableSource:zd,useSyncExternalStore:Ad,useId:Vd,unstable_isNewReconciler:!1};function On(r,l){if(r&&r.defaultProps){l=M({},l),r=r.defaultProps;for(var u in r)l[u]===void 0&&(l[u]=r[u]);return l}return l}function lu(r,l,u,d){l=r.memoizedState,u=u(d,l),u=u==null?l:M({},l,u),r.memoizedState=u,r.lanes===0&&(r.updateQueue.baseState=u)}var As={isMounted:function(r){return(r=r._reactInternals)?xi(r)===r:!1},enqueueSetState:function(r,l,u){r=r._reactInternals;var d=Gt(),g=Gr(r),y=vr(d,g);y.payload=l,u!=null&&(y.callback=u),l=Hr(r,y,g),l!==null&&(qn(l,r,g,d),ks(l,r,g))},enqueueReplaceState:function(r,l,u){r=r._reactInternals;var d=Gt(),g=Gr(r),y=vr(d,g);y.tag=1,y.payload=l,u!=null&&(y.callback=u),l=Hr(r,y,g),l!==null&&(qn(l,r,g,d),ks(l,r,g))},enqueueForceUpdate:function(r,l){r=r._reactInternals;var u=Gt(),d=Gr(r),g=vr(u,d);g.tag=2,l!=null&&(g.callback=l),l=Hr(r,g,d),l!==null&&(qn(l,r,d,u),ks(l,r,d))}};function Xd(r,l,u,d,g,y,C){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(d,y,C):l.prototype&&l.prototype.isPureReactComponent?!Yl(u,d)||!Yl(g,y):!0}function Kd(r,l,u){var d=!1,g=_r,y=l.contextType;return typeof y=="object"&&y!==null?y=Tn(y):(g=en(l)?ki:Ot.current,d=l.contextTypes,y=(d=d!=null)?rl(r,g):_r),l=new l(u,y),r.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,l.updater=As,r.stateNode=l,l._reactInternals=r,d&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=g,r.__reactInternalMemoizedMaskedChildContext=y),l}function Qd(r,l,u,d){r=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(u,d),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(u,d),l.state!==r&&As.enqueueReplaceState(l,l.state,null)}function au(r,l,u,d){var g=r.stateNode;g.props=u,g.state=r.memoizedState,g.refs={},W0(r);var y=l.contextType;typeof y=="object"&&y!==null?g.context=Tn(y):(y=en(l)?ki:Ot.current,g.context=rl(r,y)),g.state=r.memoizedState,y=l.getDerivedStateFromProps,typeof y=="function"&&(lu(r,l,y,u),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&&As.enqueueReplaceState(g,g.state,null),bs(r,u,g,d),g.state=r.memoizedState),typeof g.componentDidMount=="function"&&(r.flags|=4194308)}function fl(r,l){try{var u="",d=l;do u+=xe(d),d=d.return;while(d);var g=u}catch(y){g=`
|
|
39
|
+
Error generating stack: `+y.message+`
|
|
40
|
+
`+y.stack}return{value:r,source:l,stack:g,digest:null}}function su(r,l,u){return{value:r,source:null,stack:u??null,digest:l??null}}function ou(r,l){try{console.error(l.value)}catch(u){setTimeout(function(){throw u})}}var E5=typeof WeakMap=="function"?WeakMap:Map;function Jd(r,l,u){u=vr(-1,u),u.tag=3,u.payload={element:null};var d=l.value;return u.callback=function(){Ps||(Ps=!0,Su=d),ou(r,l)},u}function Zd(r,l,u){u=vr(-1,u),u.tag=3;var d=r.type.getDerivedStateFromError;if(typeof d=="function"){var g=l.value;u.payload=function(){return d(g)},u.callback=function(){ou(r,l)}}var y=r.stateNode;return y!==null&&typeof y.componentDidCatch=="function"&&(u.callback=function(){ou(r,l),typeof d!="function"&&(Vr===null?Vr=new Set([this]):Vr.add(this));var C=l.stack;this.componentDidCatch(l.value,{componentStack:C!==null?C:""})}),u}function e1(r,l,u){var d=r.pingCache;if(d===null){d=r.pingCache=new E5;var g=new Set;d.set(l,g)}else g=d.get(l),g===void 0&&(g=new Set,d.set(l,g));g.has(u)||(g.add(u),r=B5.bind(null,r,l,u),l.then(r,r))}function t1(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 n1(r,l,u,d,g){return(r.mode&1)===0?(r===l?r.flags|=65536:(r.flags|=128,u.flags|=131072,u.flags&=-52805,u.tag===1&&(u.alternate===null?u.tag=17:(l=vr(-1,1),l.tag=2,Hr(u,l,1))),u.lanes|=1),r):(r.flags|=65536,r.lanes=g,r)}var T5=X.ReactCurrentOwner,tn=!1;function Wt(r,l,u,d){l.child=r===null?bd(l,null,u,d):sl(l,r.child,u,d)}function r1(r,l,u,d,g){u=u.render;var y=l.ref;return ul(l,g),d=Z0(r,l,u,d,y,g),u=eu(),r!==null&&!tn?(l.updateQueue=r.updateQueue,l.flags&=-2053,r.lanes&=~g,yr(r,l,g)):(ct&&u&&P0(l),l.flags|=1,Wt(r,l,d,g),l.child)}function i1(r,l,u,d,g){if(r===null){var y=u.type;return typeof y=="function"&&!Mu(y)&&y.defaultProps===void 0&&u.compare===null&&u.defaultProps===void 0?(l.tag=15,l.type=y,l1(r,l,y,d,g)):(r=$s(u.type,null,d,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(u=u.compare,u=u!==null?u:Yl,u(C,d)&&r.ref===l.ref)return yr(r,l,g)}return l.flags|=1,r=Xr(y,d),r.ref=l.ref,r.return=l,l.child=r}function l1(r,l,u,d,g){if(r!==null){var y=r.memoizedProps;if(Yl(y,d)&&r.ref===l.ref)if(tn=!1,l.pendingProps=d=y,(r.lanes&g)!==0)(r.flags&131072)!==0&&(tn=!0);else return l.lanes=r.lanes,yr(r,l,g)}return uu(r,l,u,d,g)}function a1(r,l,u){var d=l.pendingProps,g=d.children,y=r!==null?r.memoizedState:null;if(d.mode==="hidden")if((l.mode&1)===0)l.memoizedState={baseLanes:0,cachePool:null,transitions:null},lt(dl,mn),mn|=u;else{if((u&1073741824)===0)return r=y!==null?y.baseLanes|u:u,l.lanes=l.childLanes=1073741824,l.memoizedState={baseLanes:r,cachePool:null,transitions:null},l.updateQueue=null,lt(dl,mn),mn|=r,null;l.memoizedState={baseLanes:0,cachePool:null,transitions:null},d=y!==null?y.baseLanes:u,lt(dl,mn),mn|=d}else y!==null?(d=y.baseLanes|u,l.memoizedState=null):d=u,lt(dl,mn),mn|=d;return Wt(r,l,g,u),l.child}function s1(r,l){var u=l.ref;(r===null&&u!==null||r!==null&&r.ref!==u)&&(l.flags|=512,l.flags|=2097152)}function uu(r,l,u,d,g){var y=en(u)?ki:Ot.current;return y=rl(l,y),ul(l,g),u=Z0(r,l,u,d,y,g),d=eu(),r!==null&&!tn?(l.updateQueue=r.updateQueue,l.flags&=-2053,r.lanes&=~g,yr(r,l,g)):(ct&&d&&P0(l),l.flags|=1,Wt(r,l,u,g),l.child)}function o1(r,l,u,d,g){if(en(u)){var y=!0;ds(l)}else y=!1;if(ul(l,g),l.stateNode===null)js(r,l),Kd(l,u,d),au(l,u,d,g),d=!0;else if(r===null){var C=l.stateNode,L=l.memoizedProps;C.props=L;var B=C.context,Y=u.contextType;typeof Y=="object"&&Y!==null?Y=Tn(Y):(Y=en(u)?ki:Ot.current,Y=rl(l,Y));var se=u.getDerivedStateFromProps,ce=typeof se=="function"||typeof C.getSnapshotBeforeUpdate=="function";ce||typeof C.UNSAFE_componentWillReceiveProps!="function"&&typeof C.componentWillReceiveProps!="function"||(L!==d||B!==Y)&&Qd(l,C,d,Y),$r=!1;var ae=l.memoizedState;C.state=ae,bs(l,d,C,g),B=l.memoizedState,L!==d||ae!==B||Zt.current||$r?(typeof se=="function"&&(lu(l,u,se,d),B=l.memoizedState),(L=$r||Xd(l,u,L,d,ae,B,Y))?(ce||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=d,l.memoizedState=B),C.props=d,C.state=B,C.context=Y,d=L):(typeof C.componentDidMount=="function"&&(l.flags|=4194308),d=!1)}else{C=l.stateNode,Cd(r,l),L=l.memoizedProps,Y=l.type===l.elementType?L:On(l.type,L),C.props=Y,ce=l.pendingProps,ae=C.context,B=u.contextType,typeof B=="object"&&B!==null?B=Tn(B):(B=en(u)?ki:Ot.current,B=rl(l,B));var Se=u.getDerivedStateFromProps;(se=typeof Se=="function"||typeof C.getSnapshotBeforeUpdate=="function")||typeof C.UNSAFE_componentWillReceiveProps!="function"&&typeof C.componentWillReceiveProps!="function"||(L!==ce||ae!==B)&&Qd(l,C,d,B),$r=!1,ae=l.memoizedState,C.state=ae,bs(l,d,C,g);var ze=l.memoizedState;L!==ce||ae!==ze||Zt.current||$r?(typeof Se=="function"&&(lu(l,u,Se,d),ze=l.memoizedState),(Y=$r||Xd(l,u,Y,d,ae,ze,B)||!1)?(se||typeof C.UNSAFE_componentWillUpdate!="function"&&typeof C.componentWillUpdate!="function"||(typeof C.componentWillUpdate=="function"&&C.componentWillUpdate(d,ze,B),typeof C.UNSAFE_componentWillUpdate=="function"&&C.UNSAFE_componentWillUpdate(d,ze,B)),typeof C.componentDidUpdate=="function"&&(l.flags|=4),typeof C.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof C.componentDidUpdate!="function"||L===r.memoizedProps&&ae===r.memoizedState||(l.flags|=4),typeof C.getSnapshotBeforeUpdate!="function"||L===r.memoizedProps&&ae===r.memoizedState||(l.flags|=1024),l.memoizedProps=d,l.memoizedState=ze),C.props=d,C.state=ze,C.context=B,d=Y):(typeof C.componentDidUpdate!="function"||L===r.memoizedProps&&ae===r.memoizedState||(l.flags|=4),typeof C.getSnapshotBeforeUpdate!="function"||L===r.memoizedProps&&ae===r.memoizedState||(l.flags|=1024),d=!1)}return cu(r,l,u,d,y,g)}function cu(r,l,u,d,g,y){s1(r,l);var C=(l.flags&128)!==0;if(!d&&!C)return g&&dd(l,u,!1),yr(r,l,y);d=l.stateNode,T5.current=l;var L=C&&typeof u.getDerivedStateFromError!="function"?null:d.render();return l.flags|=1,r!==null&&C?(l.child=sl(l,r.child,null,y),l.child=sl(l,null,L,y)):Wt(r,l,L,y),l.memoizedState=d.state,g&&dd(l,u,!0),l.child}function u1(r){var l=r.stateNode;l.pendingContext?fd(r,l.pendingContext,l.pendingContext!==l.context):l.context&&fd(r,l.context,!1),G0(r,l.containerInfo)}function c1(r,l,u,d,g){return al(),_0(g),l.flags|=256,Wt(r,l,u,d),l.child}var fu={dehydrated:null,treeContext:null,retryLane:0};function hu(r){return{baseLanes:r,cachePool:null,transitions:null}}function f1(r,l,u){var d=l.pendingProps,g=dt.current,y=!1,C=(l.flags&128)!==0,L;if((L=C)||(L=r!==null&&r.memoizedState===null?!1:(g&2)!==0),L?(y=!0,l.flags&=-129):(r===null||r.memoizedState!==null)&&(g|=1),lt(dt,g&1),r===null)return B0(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=d.children,r=d.fallback,y?(d=l.mode,y=l.child,C={mode:"hidden",children:C},(d&1)===0&&y!==null?(y.childLanes=0,y.pendingProps=C):y=Hs(C,d,0,null),r=ji(r,d,u,null),y.return=l,r.return=l,y.sibling=r,l.child=y,l.child.memoizedState=hu(u),l.memoizedState=fu,r):du(l,C));if(g=r.memoizedState,g!==null&&(L=g.dehydrated,L!==null))return N5(r,l,C,d,L,g,u);if(y){y=d.fallback,C=l.mode,g=r.child,L=g.sibling;var B={mode:"hidden",children:d.children};return(C&1)===0&&l.child!==g?(d=l.child,d.childLanes=0,d.pendingProps=B,l.deletions=null):(d=Xr(g,B),d.subtreeFlags=g.subtreeFlags&14680064),L!==null?y=Xr(L,y):(y=ji(y,C,u,null),y.flags|=2),y.return=l,d.return=l,d.sibling=y,l.child=d,d=y,y=l.child,C=r.child.memoizedState,C=C===null?hu(u):{baseLanes:C.baseLanes|u,cachePool:null,transitions:C.transitions},y.memoizedState=C,y.childLanes=r.childLanes&~u,l.memoizedState=fu,d}return y=r.child,r=y.sibling,d=Xr(y,{mode:"visible",children:d.children}),(l.mode&1)===0&&(d.lanes=u),d.return=l,d.sibling=null,r!==null&&(u=l.deletions,u===null?(l.deletions=[r],l.flags|=16):u.push(r)),l.child=d,l.memoizedState=null,d}function du(r,l){return l=Hs({mode:"visible",children:l},r.mode,0,null),l.return=r,r.child=l}function Ms(r,l,u,d){return d!==null&&_0(d),sl(l,r.child,null,u),r=du(l,l.pendingProps.children),r.flags|=2,l.memoizedState=null,r}function N5(r,l,u,d,g,y,C){if(u)return l.flags&256?(l.flags&=-257,d=su(Error(n(422))),Ms(r,l,C,d)):l.memoizedState!==null?(l.child=r.child,l.flags|=128,null):(y=d.fallback,g=l.mode,d=Hs({mode:"visible",children:d.children},g,0,null),y=ji(y,g,C,null),y.flags|=2,d.return=l,y.return=l,d.sibling=y,l.child=d,(l.mode&1)!==0&&sl(l,r.child,null,C),l.child.memoizedState=hu(C),l.memoizedState=fu,y);if((l.mode&1)===0)return Ms(r,l,C,null);if(g.data==="$!"){if(d=g.nextSibling&&g.nextSibling.dataset,d)var L=d.dgst;return d=L,y=Error(n(419)),d=su(y,d,void 0),Ms(r,l,C,d)}if(L=(C&r.childLanes)!==0,tn||L){if(d=jt,d!==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&(d.suspendedLanes|C))!==0?0:g,g!==0&&g!==y.retryLane&&(y.retryLane=g,gr(r,g),qn(d,r,g,-1))}return Au(),d=su(Error(n(421))),Ms(r,l,C,d)}return g.data==="$?"?(l.flags|=128,l.child=r.child,l=_5.bind(null,r),g._reactRetry=l,null):(r=y.treeContext,dn=Or(g.nextSibling),hn=l,ct=!0,Fn=null,r!==null&&(Cn[En++]=mr,Cn[En++]=pr,Cn[En++]=bi,mr=r.id,pr=r.overflow,bi=l),l=du(l,d.children),l.flags|=4096,l)}function h1(r,l,u){r.lanes|=l;var d=r.alternate;d!==null&&(d.lanes|=l),U0(r.return,l,u)}function mu(r,l,u,d,g){var y=r.memoizedState;y===null?r.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:d,tail:u,tailMode:g}:(y.isBackwards=l,y.rendering=null,y.renderingStartTime=0,y.last=d,y.tail=u,y.tailMode=g)}function d1(r,l,u){var d=l.pendingProps,g=d.revealOrder,y=d.tail;if(Wt(r,l,d.children,u),d=dt.current,(d&2)!==0)d=d&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&&h1(r,u,l);else if(r.tag===19)h1(r,u,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}d&=1}if(lt(dt,d),(l.mode&1)===0)l.memoizedState=null;else switch(g){case"forwards":for(u=l.child,g=null;u!==null;)r=u.alternate,r!==null&&Ss(r)===null&&(g=u),u=u.sibling;u=g,u===null?(g=l.child,l.child=null):(g=u.sibling,u.sibling=null),mu(l,!1,g,u,y);break;case"backwards":for(u=null,g=l.child,l.child=null;g!==null;){if(r=g.alternate,r!==null&&Ss(r)===null){l.child=g;break}r=g.sibling,g.sibling=u,u=g,g=r}mu(l,!0,u,null,y);break;case"together":mu(l,!1,null,null,void 0);break;default:l.memoizedState=null}return l.child}function js(r,l){(l.mode&1)===0&&r!==null&&(r.alternate=null,l.alternate=null,l.flags|=2)}function yr(r,l,u){if(r!==null&&(l.dependencies=r.dependencies),Ni|=l.lanes,(u&l.childLanes)===0)return null;if(r!==null&&l.child!==r.child)throw Error(n(153));if(l.child!==null){for(r=l.child,u=Xr(r,r.pendingProps),l.child=u,u.return=l;r.sibling!==null;)r=r.sibling,u=u.sibling=Xr(r,r.pendingProps),u.return=l;u.sibling=null}return l.child}function z5(r,l,u){switch(l.tag){case 3:u1(l),al();break;case 5:Nd(l);break;case 1:en(l.type)&&ds(l);break;case 4:G0(l,l.stateNode.containerInfo);break;case 10:var d=l.type._context,g=l.memoizedProps.value;lt(xs,d._currentValue),d._currentValue=g;break;case 13:if(d=l.memoizedState,d!==null)return d.dehydrated!==null?(lt(dt,dt.current&1),l.flags|=128,null):(u&l.child.childLanes)!==0?f1(r,l,u):(lt(dt,dt.current&1),r=yr(r,l,u),r!==null?r.sibling:null);lt(dt,dt.current&1);break;case 19:if(d=(u&l.childLanes)!==0,(r.flags&128)!==0){if(d)return d1(r,l,u);l.flags|=128}if(g=l.memoizedState,g!==null&&(g.rendering=null,g.tail=null,g.lastEffect=null),lt(dt,dt.current),d)break;return null;case 22:case 23:return l.lanes=0,a1(r,l,u)}return yr(r,l,u)}var m1,pu,p1,g1;m1=function(r,l){for(var u=l.child;u!==null;){if(u.tag===5||u.tag===6)r.appendChild(u.stateNode);else if(u.tag!==4&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===l)break;for(;u.sibling===null;){if(u.return===null||u.return===l)return;u=u.return}u.sibling.return=u.return,u=u.sibling}},pu=function(){},p1=function(r,l,u,d){var g=r.memoizedProps;if(g!==d){r=l.stateNode,Ei(Zn.current);var y=null;switch(u){case"input":g=Yn(r,g),d=Yn(r,d),y=[];break;case"select":g=M({},g,{value:void 0}),d=M({},d,{value:void 0}),y=[];break;case"textarea":g=pi(r,g),d=pi(r,d),y=[];break;default:typeof g.onClick!="function"&&typeof d.onClick=="function"&&(r.onclick=cs)}Lt(u,d);var C;u=null;for(Y in g)if(!d.hasOwnProperty(Y)&&g.hasOwnProperty(Y)&&g[Y]!=null)if(Y==="style"){var L=g[Y];for(C in L)L.hasOwnProperty(C)&&(u||(u={}),u[C]="")}else Y!=="dangerouslySetInnerHTML"&&Y!=="children"&&Y!=="suppressContentEditableWarning"&&Y!=="suppressHydrationWarning"&&Y!=="autoFocus"&&(a.hasOwnProperty(Y)?y||(y=[]):(y=y||[]).push(Y,null));for(Y in d){var B=d[Y];if(L=g!=null?g[Y]:void 0,d.hasOwnProperty(Y)&&B!==L&&(B!=null||L!=null))if(Y==="style")if(L){for(C in L)!L.hasOwnProperty(C)||B&&B.hasOwnProperty(C)||(u||(u={}),u[C]="");for(C in B)B.hasOwnProperty(C)&&L[C]!==B[C]&&(u||(u={}),u[C]=B[C])}else u||(y||(y=[]),y.push(Y,u)),u=B;else Y==="dangerouslySetInnerHTML"?(B=B?B.__html:void 0,L=L?L.__html:void 0,B!=null&&L!==B&&(y=y||[]).push(Y,B)):Y==="children"?typeof B!="string"&&typeof B!="number"||(y=y||[]).push(Y,""+B):Y!=="suppressContentEditableWarning"&&Y!=="suppressHydrationWarning"&&(a.hasOwnProperty(Y)?(B!=null&&Y==="onScroll"&&at("scroll",r),y||L===B||(y=[])):(y=y||[]).push(Y,B))}u&&(y=y||[]).push("style",u);var Y=y;(l.updateQueue=Y)&&(l.flags|=4)}},g1=function(r,l,u,d){u!==d&&(l.flags|=4)};function ua(r,l){if(!ct)switch(r.tailMode){case"hidden":l=r.tail;for(var u=null;l!==null;)l.alternate!==null&&(u=l),l=l.sibling;u===null?r.tail=null:u.sibling=null;break;case"collapsed":u=r.tail;for(var d=null;u!==null;)u.alternate!==null&&(d=u),u=u.sibling;d===null?l||r.tail===null?r.tail=null:r.tail.sibling=null:d.sibling=null}}function _t(r){var l=r.alternate!==null&&r.alternate.child===r.child,u=0,d=0;if(l)for(var g=r.child;g!==null;)u|=g.lanes|g.childLanes,d|=g.subtreeFlags&14680064,d|=g.flags&14680064,g.return=r,g=g.sibling;else for(g=r.child;g!==null;)u|=g.lanes|g.childLanes,d|=g.subtreeFlags,d|=g.flags,g.return=r,g=g.sibling;return r.subtreeFlags|=d,r.childLanes=u,l}function A5(r,l,u){var d=l.pendingProps;switch(F0(l),l.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return _t(l),null;case 1:return en(l.type)&&hs(),_t(l),null;case 3:return d=l.stateNode,cl(),st(Zt),st(Ot),K0(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),(r===null||r.child===null)&&(vs(l)?l.flags|=4:r===null||r.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,Fn!==null&&(Tu(Fn),Fn=null))),pu(r,l),_t(l),null;case 5:Y0(l);var g=Ei(ia.current);if(u=l.type,r!==null&&l.stateNode!=null)p1(r,l,u,d,g),r.ref!==l.ref&&(l.flags|=512,l.flags|=2097152);else{if(!d){if(l.stateNode===null)throw Error(n(166));return _t(l),null}if(r=Ei(Zn.current),vs(l)){d=l.stateNode,u=l.type;var y=l.memoizedProps;switch(d[Jn]=l,d[Zl]=y,r=(l.mode&1)!==0,u){case"dialog":at("cancel",d),at("close",d);break;case"iframe":case"object":case"embed":at("load",d);break;case"video":case"audio":for(g=0;g<Kl.length;g++)at(Kl[g],d);break;case"source":at("error",d);break;case"img":case"image":case"link":at("error",d),at("load",d);break;case"details":at("toggle",d);break;case"input":hi(d,y),at("invalid",d);break;case"select":d._wrapperState={wasMultiple:!!y.multiple},at("invalid",d);break;case"textarea":Mr(d,y),at("invalid",d)}Lt(u,y),g=null;for(var C in y)if(y.hasOwnProperty(C)){var L=y[C];C==="children"?typeof L=="string"?d.textContent!==L&&(y.suppressHydrationWarning!==!0&&us(d.textContent,L,r),g=["children",L]):typeof L=="number"&&d.textContent!==""+L&&(y.suppressHydrationWarning!==!0&&us(d.textContent,L,r),g=["children",""+L]):a.hasOwnProperty(C)&&L!=null&&C==="onScroll"&&at("scroll",d)}switch(u){case"input":bn(d),mi(d,y,!0);break;case"textarea":bn(d),vi(d);break;case"select":case"option":break;default:typeof y.onClick=="function"&&(d.onclick=cs)}d=g,l.updateQueue=d,d!==null&&(l.flags|=4)}else{C=g.nodeType===9?g:g.ownerDocument,r==="http://www.w3.org/1999/xhtml"&&(r=ee(u)),r==="http://www.w3.org/1999/xhtml"?u==="script"?(r=C.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild)):typeof d.is=="string"?r=C.createElement(u,{is:d.is}):(r=C.createElement(u),u==="select"&&(C=r,d.multiple?C.multiple=!0:d.size&&(C.size=d.size))):r=C.createElementNS(r,u),r[Jn]=l,r[Zl]=d,m1(r,l,!1,!1),l.stateNode=r;e:{switch(C=Kn(u,d),u){case"dialog":at("cancel",r),at("close",r),g=d;break;case"iframe":case"object":case"embed":at("load",r),g=d;break;case"video":case"audio":for(g=0;g<Kl.length;g++)at(Kl[g],r);g=d;break;case"source":at("error",r),g=d;break;case"img":case"image":case"link":at("error",r),at("load",r),g=d;break;case"details":at("toggle",r),g=d;break;case"input":hi(r,d),g=Yn(r,d),at("invalid",r);break;case"option":g=d;break;case"select":r._wrapperState={wasMultiple:!!d.multiple},g=M({},d,{value:void 0}),at("invalid",r);break;case"textarea":Mr(r,d),g=pi(r,d),at("invalid",r);break;default:g=d}Lt(u,g),L=g;for(y in L)if(L.hasOwnProperty(y)){var B=L[y];y==="style"?jr(r,B):y==="dangerouslySetInnerHTML"?(B=B?B.__html:void 0,B!=null&&He(r,B)):y==="children"?typeof B=="string"?(u!=="textarea"||B!=="")&&Ye(r,B):typeof B=="number"&&Ye(r,""+B):y!=="suppressContentEditableWarning"&&y!=="suppressHydrationWarning"&&y!=="autoFocus"&&(a.hasOwnProperty(y)?B!=null&&y==="onScroll"&&at("scroll",r):B!=null&&_(r,y,B,C))}switch(u){case"input":bn(r),mi(r,d,!1);break;case"textarea":bn(r),vi(r);break;case"option":d.value!=null&&r.setAttribute("value",""+Pe(d.value));break;case"select":r.multiple=!!d.multiple,y=d.value,y!=null?Xn(r,!!d.multiple,y,!1):d.defaultValue!=null&&Xn(r,!!d.multiple,d.defaultValue,!0);break;default:typeof g.onClick=="function"&&(r.onclick=cs)}switch(u){case"button":case"input":case"select":case"textarea":d=!!d.autoFocus;break e;case"img":d=!0;break e;default:d=!1}}d&&(l.flags|=4)}l.ref!==null&&(l.flags|=512,l.flags|=2097152)}return _t(l),null;case 6:if(r&&l.stateNode!=null)g1(r,l,r.memoizedProps,d);else{if(typeof d!="string"&&l.stateNode===null)throw Error(n(166));if(u=Ei(ia.current),Ei(Zn.current),vs(l)){if(d=l.stateNode,u=l.memoizedProps,d[Jn]=l,(y=d.nodeValue!==u)&&(r=hn,r!==null))switch(r.tag){case 3:us(d.nodeValue,u,(r.mode&1)!==0);break;case 5:r.memoizedProps.suppressHydrationWarning!==!0&&us(d.nodeValue,u,(r.mode&1)!==0)}y&&(l.flags|=4)}else d=(u.nodeType===9?u:u.ownerDocument).createTextNode(d),d[Jn]=l,l.stateNode=d}return _t(l),null;case 13:if(st(dt),d=l.memoizedState,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if(ct&&dn!==null&&(l.mode&1)!==0&&(l.flags&128)===0)xd(),al(),l.flags|=98560,y=!1;else if(y=vs(l),d!==null&&d.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[Jn]=l}else al(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;_t(l),y=!1}else Fn!==null&&(Tu(Fn),Fn=null),y=!0;if(!y)return l.flags&65536?l:null}return(l.flags&128)!==0?(l.lanes=u,l):(d=d!==null,d!==(r!==null&&r.memoizedState!==null)&&d&&(l.child.flags|=8192,(l.mode&1)!==0&&(r===null||(dt.current&1)!==0?Nt===0&&(Nt=3):Au())),l.updateQueue!==null&&(l.flags|=4),_t(l),null);case 4:return cl(),pu(r,l),r===null&&Ql(l.stateNode.containerInfo),_t(l),null;case 10:return H0(l.type._context),_t(l),null;case 17:return en(l.type)&&hs(),_t(l),null;case 19:if(st(dt),y=l.memoizedState,y===null)return _t(l),null;if(d=(l.flags&128)!==0,C=y.rendering,C===null)if(d)ua(y,!1);else{if(Nt!==0||r!==null&&(r.flags&128)!==0)for(r=l.child;r!==null;){if(C=Ss(r),C!==null){for(l.flags|=128,ua(y,!1),d=C.updateQueue,d!==null&&(l.updateQueue=d,l.flags|=4),l.subtreeFlags=0,d=u,u=l.child;u!==null;)y=u,r=d,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}),u=u.sibling;return lt(dt,dt.current&1|2),l.child}r=r.sibling}y.tail!==null&&xt()>ml&&(l.flags|=128,d=!0,ua(y,!1),l.lanes=4194304)}else{if(!d)if(r=Ss(C),r!==null){if(l.flags|=128,d=!0,u=r.updateQueue,u!==null&&(l.updateQueue=u,l.flags|=4),ua(y,!0),y.tail===null&&y.tailMode==="hidden"&&!C.alternate&&!ct)return _t(l),null}else 2*xt()-y.renderingStartTime>ml&&u!==1073741824&&(l.flags|=128,d=!0,ua(y,!1),l.lanes=4194304);y.isBackwards?(C.sibling=l.child,l.child=C):(u=y.last,u!==null?u.sibling=C:l.child=C,y.last=C)}return y.tail!==null?(l=y.tail,y.rendering=l,y.tail=l.sibling,y.renderingStartTime=xt(),l.sibling=null,u=dt.current,lt(dt,d?u&1|2:u&1),l):(_t(l),null);case 22:case 23:return zu(),d=l.memoizedState!==null,r!==null&&r.memoizedState!==null!==d&&(l.flags|=8192),d&&(l.mode&1)!==0?(mn&1073741824)!==0&&(_t(l),l.subtreeFlags&6&&(l.flags|=8192)):_t(l),null;case 24:return null;case 25:return null}throw Error(n(156,l.tag))}function M5(r,l){switch(F0(l),l.tag){case 1:return en(l.type)&&hs(),r=l.flags,r&65536?(l.flags=r&-65537|128,l):null;case 3:return cl(),st(Zt),st(Ot),K0(),r=l.flags,(r&65536)!==0&&(r&128)===0?(l.flags=r&-65537|128,l):null;case 5:return Y0(l),null;case 13:if(st(dt),r=l.memoizedState,r!==null&&r.dehydrated!==null){if(l.alternate===null)throw Error(n(340));al()}return r=l.flags,r&65536?(l.flags=r&-65537|128,l):null;case 19:return st(dt),null;case 4:return cl(),null;case 10:return H0(l.type._context),null;case 22:case 23:return zu(),null;case 24:return null;default:return null}}var Is=!1,qt=!1,j5=typeof WeakSet=="function"?WeakSet:Set,Ne=null;function hl(r,l){var u=r.ref;if(u!==null)if(typeof u=="function")try{u(null)}catch(d){vt(r,l,d)}else u.current=null}function gu(r,l,u){try{u()}catch(d){vt(r,l,d)}}var v1=!1;function I5(r,l){if(z0=Ja,r=Xh(),w0(r)){if("selectionStart"in r)var u={start:r.selectionStart,end:r.selectionEnd};else e:{u=(u=r.ownerDocument)&&u.defaultView||window;var d=u.getSelection&&u.getSelection();if(d&&d.rangeCount!==0){u=d.anchorNode;var g=d.anchorOffset,y=d.focusNode;d=d.focusOffset;try{u.nodeType,y.nodeType}catch{u=null;break e}var C=0,L=-1,B=-1,Y=0,se=0,ce=r,ae=null;t:for(;;){for(var Se;ce!==u||g!==0&&ce.nodeType!==3||(L=C+g),ce!==y||d!==0&&ce.nodeType!==3||(B=C+d),ce.nodeType===3&&(C+=ce.nodeValue.length),(Se=ce.firstChild)!==null;)ae=ce,ce=Se;for(;;){if(ce===r)break t;if(ae===u&&++Y===g&&(L=C),ae===y&&++se===d&&(B=C),(Se=ce.nextSibling)!==null)break;ce=ae,ae=ce.parentNode}ce=Se}u=L===-1||B===-1?null:{start:L,end:B}}else u=null}u=u||{start:0,end:0}}else u=null;for(A0={focusedElem:r,selectionRange:u},Ja=!1,Ne=l;Ne!==null;)if(l=Ne,r=l.child,(l.subtreeFlags&1028)!==0&&r!==null)r.return=l,Ne=r;else for(;Ne!==null;){l=Ne;try{var ze=l.alternate;if((l.flags&1024)!==0)switch(l.tag){case 0:case 11:case 15:break;case 1:if(ze!==null){var Ae=ze.memoizedProps,wt=ze.memoizedState,U=l.stateNode,$=U.getSnapshotBeforeUpdate(l.elementType===l.type?Ae:On(l.type,Ae),wt);U.__reactInternalSnapshotBeforeUpdate=$}break;case 3:var W=l.stateNode.containerInfo;W.nodeType===1?W.textContent="":W.nodeType===9&&W.documentElement&&W.removeChild(W.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(pe){vt(l,l.return,pe)}if(r=l.sibling,r!==null){r.return=l.return,Ne=r;break}Ne=l.return}return ze=v1,v1=!1,ze}function ca(r,l,u){var d=l.updateQueue;if(d=d!==null?d.lastEffect:null,d!==null){var g=d=d.next;do{if((g.tag&r)===r){var y=g.destroy;g.destroy=void 0,y!==void 0&&gu(l,u,y)}g=g.next}while(g!==d)}}function Rs(r,l){if(l=l.updateQueue,l=l!==null?l.lastEffect:null,l!==null){var u=l=l.next;do{if((u.tag&r)===r){var d=u.create;u.destroy=d()}u=u.next}while(u!==l)}}function vu(r){var l=r.ref;if(l!==null){var u=r.stateNode;switch(r.tag){case 5:r=u;break;default:r=u}typeof l=="function"?l(r):l.current=r}}function y1(r){var l=r.alternate;l!==null&&(r.alternate=null,y1(l)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(l=r.stateNode,l!==null&&(delete l[Jn],delete l[Zl],delete l[R0],delete l[m5],delete l[p5])),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 x1(r){return r.tag===5||r.tag===3||r.tag===4}function w1(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||x1(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 yu(r,l,u){var d=r.tag;if(d===5||d===6)r=r.stateNode,l?u.nodeType===8?u.parentNode.insertBefore(r,l):u.insertBefore(r,l):(u.nodeType===8?(l=u.parentNode,l.insertBefore(r,u)):(l=u,l.appendChild(r)),u=u._reactRootContainer,u!=null||l.onclick!==null||(l.onclick=cs));else if(d!==4&&(r=r.child,r!==null))for(yu(r,l,u),r=r.sibling;r!==null;)yu(r,l,u),r=r.sibling}function xu(r,l,u){var d=r.tag;if(d===5||d===6)r=r.stateNode,l?u.insertBefore(r,l):u.appendChild(r);else if(d!==4&&(r=r.child,r!==null))for(xu(r,l,u),r=r.sibling;r!==null;)xu(r,l,u),r=r.sibling}var Dt=null,Bn=!1;function Ur(r,l,u){for(u=u.child;u!==null;)k1(r,l,u),u=u.sibling}function k1(r,l,u){if(Qn&&typeof Qn.onCommitFiberUnmount=="function")try{Qn.onCommitFiberUnmount(Wa,u)}catch{}switch(u.tag){case 5:qt||hl(u,l);case 6:var d=Dt,g=Bn;Dt=null,Ur(r,l,u),Dt=d,Bn=g,Dt!==null&&(Bn?(r=Dt,u=u.stateNode,r.nodeType===8?r.parentNode.removeChild(u):r.removeChild(u)):Dt.removeChild(u.stateNode));break;case 18:Dt!==null&&(Bn?(r=Dt,u=u.stateNode,r.nodeType===8?I0(r.parentNode,u):r.nodeType===1&&I0(r,u),$l(r)):I0(Dt,u.stateNode));break;case 4:d=Dt,g=Bn,Dt=u.stateNode.containerInfo,Bn=!0,Ur(r,l,u),Dt=d,Bn=g;break;case 0:case 11:case 14:case 15:if(!qt&&(d=u.updateQueue,d!==null&&(d=d.lastEffect,d!==null))){g=d=d.next;do{var y=g,C=y.destroy;y=y.tag,C!==void 0&&((y&2)!==0||(y&4)!==0)&&gu(u,l,C),g=g.next}while(g!==d)}Ur(r,l,u);break;case 1:if(!qt&&(hl(u,l),d=u.stateNode,typeof d.componentWillUnmount=="function"))try{d.props=u.memoizedProps,d.state=u.memoizedState,d.componentWillUnmount()}catch(L){vt(u,l,L)}Ur(r,l,u);break;case 21:Ur(r,l,u);break;case 22:u.mode&1?(qt=(d=qt)||u.memoizedState!==null,Ur(r,l,u),qt=d):Ur(r,l,u);break;default:Ur(r,l,u)}}function b1(r){var l=r.updateQueue;if(l!==null){r.updateQueue=null;var u=r.stateNode;u===null&&(u=r.stateNode=new j5),l.forEach(function(d){var g=q5.bind(null,r,d);u.has(d)||(u.add(d),d.then(g,g))})}}function _n(r,l){var u=l.deletions;if(u!==null)for(var d=0;d<u.length;d++){var g=u[d];try{var y=r,C=l,L=C;e:for(;L!==null;){switch(L.tag){case 5:Dt=L.stateNode,Bn=!1;break e;case 3:Dt=L.stateNode.containerInfo,Bn=!0;break e;case 4:Dt=L.stateNode.containerInfo,Bn=!0;break e}L=L.return}if(Dt===null)throw Error(n(160));k1(y,C,g),Dt=null,Bn=!1;var B=g.alternate;B!==null&&(B.return=null),g.return=null}catch(Y){vt(g,l,Y)}}if(l.subtreeFlags&12854)for(l=l.child;l!==null;)S1(l,r),l=l.sibling}function S1(r,l){var u=r.alternate,d=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:if(_n(l,r),tr(r),d&4){try{ca(3,r,r.return),Rs(3,r)}catch(Ae){vt(r,r.return,Ae)}try{ca(5,r,r.return)}catch(Ae){vt(r,r.return,Ae)}}break;case 1:_n(l,r),tr(r),d&512&&u!==null&&hl(u,u.return);break;case 5:if(_n(l,r),tr(r),d&512&&u!==null&&hl(u,u.return),r.flags&32){var g=r.stateNode;try{Ye(g,"")}catch(Ae){vt(r,r.return,Ae)}}if(d&4&&(g=r.stateNode,g!=null)){var y=r.memoizedProps,C=u!==null?u.memoizedProps:y,L=r.type,B=r.updateQueue;if(r.updateQueue=null,B!==null)try{L==="input"&&y.type==="radio"&&y.name!=null&&di(g,y),Kn(L,C);var Y=Kn(L,y);for(C=0;C<B.length;C+=2){var se=B[C],ce=B[C+1];se==="style"?jr(g,ce):se==="dangerouslySetInnerHTML"?He(g,ce):se==="children"?Ye(g,ce):_(g,se,ce,Y)}switch(L){case"input":Ar(g,y);break;case"textarea":gi(g,y);break;case"select":var ae=g._wrapperState.wasMultiple;g._wrapperState.wasMultiple=!!y.multiple;var Se=y.value;Se!=null?Xn(g,!!y.multiple,Se,!1):ae!==!!y.multiple&&(y.defaultValue!=null?Xn(g,!!y.multiple,y.defaultValue,!0):Xn(g,!!y.multiple,y.multiple?[]:"",!1))}g[Zl]=y}catch(Ae){vt(r,r.return,Ae)}}break;case 6:if(_n(l,r),tr(r),d&4){if(r.stateNode===null)throw Error(n(162));g=r.stateNode,y=r.memoizedProps;try{g.nodeValue=y}catch(Ae){vt(r,r.return,Ae)}}break;case 3:if(_n(l,r),tr(r),d&4&&u!==null&&u.memoizedState.isDehydrated)try{$l(l.containerInfo)}catch(Ae){vt(r,r.return,Ae)}break;case 4:_n(l,r),tr(r);break;case 13:_n(l,r),tr(r),g=r.child,g.flags&8192&&(y=g.memoizedState!==null,g.stateNode.isHidden=y,!y||g.alternate!==null&&g.alternate.memoizedState!==null||(bu=xt())),d&4&&b1(r);break;case 22:if(se=u!==null&&u.memoizedState!==null,r.mode&1?(qt=(Y=qt)||se,_n(l,r),qt=Y):_n(l,r),tr(r),d&8192){if(Y=r.memoizedState!==null,(r.stateNode.isHidden=Y)&&!se&&(r.mode&1)!==0)for(Ne=r,se=r.child;se!==null;){for(ce=Ne=se;Ne!==null;){switch(ae=Ne,Se=ae.child,ae.tag){case 0:case 11:case 14:case 15:ca(4,ae,ae.return);break;case 1:hl(ae,ae.return);var ze=ae.stateNode;if(typeof ze.componentWillUnmount=="function"){d=ae,u=ae.return;try{l=d,ze.props=l.memoizedProps,ze.state=l.memoizedState,ze.componentWillUnmount()}catch(Ae){vt(d,u,Ae)}}break;case 5:hl(ae,ae.return);break;case 22:if(ae.memoizedState!==null){T1(ce);continue}}Se!==null?(Se.return=ae,Ne=Se):T1(ce)}se=se.sibling}e:for(se=null,ce=r;;){if(ce.tag===5){if(se===null){se=ce;try{g=ce.stateNode,Y?(y=g.style,typeof y.setProperty=="function"?y.setProperty("display","none","important"):y.display="none"):(L=ce.stateNode,B=ce.memoizedProps.style,C=B!=null&&B.hasOwnProperty("display")?B.display:null,L.style.display=Sn("display",C))}catch(Ae){vt(r,r.return,Ae)}}}else if(ce.tag===6){if(se===null)try{ce.stateNode.nodeValue=Y?"":ce.memoizedProps}catch(Ae){vt(r,r.return,Ae)}}else if((ce.tag!==22&&ce.tag!==23||ce.memoizedState===null||ce===r)&&ce.child!==null){ce.child.return=ce,ce=ce.child;continue}if(ce===r)break e;for(;ce.sibling===null;){if(ce.return===null||ce.return===r)break e;se===ce&&(se=null),ce=ce.return}se===ce&&(se=null),ce.sibling.return=ce.return,ce=ce.sibling}}break;case 19:_n(l,r),tr(r),d&4&&b1(r);break;case 21:break;default:_n(l,r),tr(r)}}function tr(r){var l=r.flags;if(l&2){try{e:{for(var u=r.return;u!==null;){if(x1(u)){var d=u;break e}u=u.return}throw Error(n(160))}switch(d.tag){case 5:var g=d.stateNode;d.flags&32&&(Ye(g,""),d.flags&=-33);var y=w1(r);xu(r,y,g);break;case 3:case 4:var C=d.stateNode.containerInfo,L=w1(r);yu(r,L,C);break;default:throw Error(n(161))}}catch(B){vt(r,r.return,B)}r.flags&=-3}l&4096&&(r.flags&=-4097)}function R5(r,l,u){Ne=r,C1(r)}function C1(r,l,u){for(var d=(r.mode&1)!==0;Ne!==null;){var g=Ne,y=g.child;if(g.tag===22&&d){var C=g.memoizedState!==null||Is;if(!C){var L=g.alternate,B=L!==null&&L.memoizedState!==null||qt;L=Is;var Y=qt;if(Is=C,(qt=B)&&!Y)for(Ne=g;Ne!==null;)C=Ne,B=C.child,C.tag===22&&C.memoizedState!==null?N1(g):B!==null?(B.return=C,Ne=B):N1(g);for(;y!==null;)Ne=y,C1(y),y=y.sibling;Ne=g,Is=L,qt=Y}E1(r)}else(g.subtreeFlags&8772)!==0&&y!==null?(y.return=g,Ne=y):E1(r)}}function E1(r){for(;Ne!==null;){var l=Ne;if((l.flags&8772)!==0){var u=l.alternate;try{if((l.flags&8772)!==0)switch(l.tag){case 0:case 11:case 15:qt||Rs(5,l);break;case 1:var d=l.stateNode;if(l.flags&4&&!qt)if(u===null)d.componentDidMount();else{var g=l.elementType===l.type?u.memoizedProps:On(l.type,u.memoizedProps);d.componentDidUpdate(g,u.memoizedState,d.__reactInternalSnapshotBeforeUpdate)}var y=l.updateQueue;y!==null&&Td(l,y,d);break;case 3:var C=l.updateQueue;if(C!==null){if(u=null,l.child!==null)switch(l.child.tag){case 5:u=l.child.stateNode;break;case 1:u=l.child.stateNode}Td(l,C,u)}break;case 5:var L=l.stateNode;if(u===null&&l.flags&4){u=L;var B=l.memoizedProps;switch(l.type){case"button":case"input":case"select":case"textarea":B.autoFocus&&u.focus();break;case"img":B.src&&(u.src=B.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(l.memoizedState===null){var Y=l.alternate;if(Y!==null){var se=Y.memoizedState;if(se!==null){var ce=se.dehydrated;ce!==null&&$l(ce)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(n(163))}qt||l.flags&512&&vu(l)}catch(ae){vt(l,l.return,ae)}}if(l===r){Ne=null;break}if(u=l.sibling,u!==null){u.return=l.return,Ne=u;break}Ne=l.return}}function T1(r){for(;Ne!==null;){var l=Ne;if(l===r){Ne=null;break}var u=l.sibling;if(u!==null){u.return=l.return,Ne=u;break}Ne=l.return}}function N1(r){for(;Ne!==null;){var l=Ne;try{switch(l.tag){case 0:case 11:case 15:var u=l.return;try{Rs(4,l)}catch(B){vt(l,u,B)}break;case 1:var d=l.stateNode;if(typeof d.componentDidMount=="function"){var g=l.return;try{d.componentDidMount()}catch(B){vt(l,g,B)}}var y=l.return;try{vu(l)}catch(B){vt(l,y,B)}break;case 5:var C=l.return;try{vu(l)}catch(B){vt(l,C,B)}}}catch(B){vt(l,l.return,B)}if(l===r){Ne=null;break}var L=l.sibling;if(L!==null){L.return=l.return,Ne=L;break}Ne=l.return}}var L5=Math.ceil,Ls=X.ReactCurrentDispatcher,wu=X.ReactCurrentOwner,zn=X.ReactCurrentBatchConfig,Xe=0,jt=null,kt=null,Pt=0,mn=0,dl=Br(0),Nt=0,fa=null,Ni=0,Ds=0,ku=0,ha=null,nn=null,bu=0,ml=1/0,xr=null,Ps=!1,Su=null,Vr=null,Fs=!1,Wr=null,Os=0,da=0,Cu=null,Bs=-1,_s=0;function Gt(){return(Xe&6)!==0?xt():Bs!==-1?Bs:Bs=xt()}function Gr(r){return(r.mode&1)===0?1:(Xe&2)!==0&&Pt!==0?Pt&-Pt:v5.transition!==null?(_s===0&&(_s=wh()),_s):(r=et,r!==0||(r=window.event,r=r===void 0?16:Ah(r.type)),r)}function qn(r,l,u,d){if(50<da)throw da=0,Cu=null,Error(n(185));Fl(r,u,d),((Xe&2)===0||r!==jt)&&(r===jt&&((Xe&2)===0&&(Ds|=u),Nt===4&&Yr(r,Pt)),rn(r,d),u===1&&Xe===0&&(l.mode&1)===0&&(ml=xt()+500,ms&&qr()))}function rn(r,l){var u=r.callbackNode;v3(r,l);var d=Xa(r,r===jt?Pt:0);if(d===0)u!==null&&vh(u),r.callbackNode=null,r.callbackPriority=0;else if(l=d&-d,r.callbackPriority!==l){if(u!=null&&vh(u),l===1)r.tag===0?g5(A1.bind(null,r)):md(A1.bind(null,r)),h5(function(){(Xe&6)===0&&qr()}),u=null;else{switch(kh(d)){case 1:u=r0;break;case 4:u=yh;break;case 16:u=Va;break;case 536870912:u=xh;break;default:u=Va}u=F1(u,z1.bind(null,r))}r.callbackPriority=l,r.callbackNode=u}}function z1(r,l){if(Bs=-1,_s=0,(Xe&6)!==0)throw Error(n(327));var u=r.callbackNode;if(pl()&&r.callbackNode!==u)return null;var d=Xa(r,r===jt?Pt:0);if(d===0)return null;if((d&30)!==0||(d&r.expiredLanes)!==0||l)l=qs(r,d);else{l=d;var g=Xe;Xe|=2;var y=j1();(jt!==r||Pt!==l)&&(xr=null,ml=xt()+500,Ai(r,l));do try{F5();break}catch(L){M1(r,L)}while(!0);$0(),Ls.current=y,Xe=g,kt!==null?l=0:(jt=null,Pt=0,l=Nt)}if(l!==0){if(l===2&&(g=i0(r),g!==0&&(d=g,l=Eu(r,g))),l===1)throw u=fa,Ai(r,0),Yr(r,d),rn(r,xt()),u;if(l===6)Yr(r,d);else{if(g=r.current.alternate,(d&30)===0&&!D5(g)&&(l=qs(r,d),l===2&&(y=i0(r),y!==0&&(d=y,l=Eu(r,y))),l===1))throw u=fa,Ai(r,0),Yr(r,d),rn(r,xt()),u;switch(r.finishedWork=g,r.finishedLanes=d,l){case 0:case 1:throw Error(n(345));case 2:Mi(r,nn,xr);break;case 3:if(Yr(r,d),(d&130023424)===d&&(l=bu+500-xt(),10<l)){if(Xa(r,0)!==0)break;if(g=r.suspendedLanes,(g&d)!==d){Gt(),r.pingedLanes|=r.suspendedLanes&g;break}r.timeoutHandle=j0(Mi.bind(null,r,nn,xr),l);break}Mi(r,nn,xr);break;case 4:if(Yr(r,d),(d&4194240)===d)break;for(l=r.eventTimes,g=-1;0<d;){var C=31-Dn(d);y=1<<C,C=l[C],C>g&&(g=C),d&=~y}if(d=g,d=xt()-d,d=(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3e3>d?3e3:4320>d?4320:1960*L5(d/1960))-d,10<d){r.timeoutHandle=j0(Mi.bind(null,r,nn,xr),d);break}Mi(r,nn,xr);break;case 5:Mi(r,nn,xr);break;default:throw Error(n(329))}}}return rn(r,xt()),r.callbackNode===u?z1.bind(null,r):null}function Eu(r,l){var u=ha;return r.current.memoizedState.isDehydrated&&(Ai(r,l).flags|=256),r=qs(r,l),r!==2&&(l=nn,nn=u,l!==null&&Tu(l)),r}function Tu(r){nn===null?nn=r:nn.push.apply(nn,r)}function D5(r){for(var l=r;;){if(l.flags&16384){var u=l.updateQueue;if(u!==null&&(u=u.stores,u!==null))for(var d=0;d<u.length;d++){var g=u[d],y=g.getSnapshot;g=g.value;try{if(!Pn(y(),g))return!1}catch{return!1}}}if(u=l.child,l.subtreeFlags&16384&&u!==null)u.return=l,l=u;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 Yr(r,l){for(l&=~ku,l&=~Ds,r.suspendedLanes|=l,r.pingedLanes&=~l,r=r.expirationTimes;0<l;){var u=31-Dn(l),d=1<<u;r[u]=-1,l&=~d}}function A1(r){if((Xe&6)!==0)throw Error(n(327));pl();var l=Xa(r,0);if((l&1)===0)return rn(r,xt()),null;var u=qs(r,l);if(r.tag!==0&&u===2){var d=i0(r);d!==0&&(l=d,u=Eu(r,d))}if(u===1)throw u=fa,Ai(r,0),Yr(r,l),rn(r,xt()),u;if(u===6)throw Error(n(345));return r.finishedWork=r.current.alternate,r.finishedLanes=l,Mi(r,nn,xr),rn(r,xt()),null}function Nu(r,l){var u=Xe;Xe|=1;try{return r(l)}finally{Xe=u,Xe===0&&(ml=xt()+500,ms&&qr())}}function zi(r){Wr!==null&&Wr.tag===0&&(Xe&6)===0&&pl();var l=Xe;Xe|=1;var u=zn.transition,d=et;try{if(zn.transition=null,et=1,r)return r()}finally{et=d,zn.transition=u,Xe=l,(Xe&6)===0&&qr()}}function zu(){mn=dl.current,st(dl)}function Ai(r,l){r.finishedWork=null,r.finishedLanes=0;var u=r.timeoutHandle;if(u!==-1&&(r.timeoutHandle=-1,f5(u)),kt!==null)for(u=kt.return;u!==null;){var d=u;switch(F0(d),d.tag){case 1:d=d.type.childContextTypes,d!=null&&hs();break;case 3:cl(),st(Zt),st(Ot),K0();break;case 5:Y0(d);break;case 4:cl();break;case 13:st(dt);break;case 19:st(dt);break;case 10:H0(d.type._context);break;case 22:case 23:zu()}u=u.return}if(jt=r,kt=r=Xr(r.current,null),Pt=mn=l,Nt=0,fa=null,ku=Ds=Ni=0,nn=ha=null,Ci!==null){for(l=0;l<Ci.length;l++)if(u=Ci[l],d=u.interleaved,d!==null){u.interleaved=null;var g=d.next,y=u.pending;if(y!==null){var C=y.next;y.next=g,d.next=C}u.pending=d}Ci=null}return r}function M1(r,l){do{var u=kt;try{if($0(),Cs.current=zs,Es){for(var d=mt.memoizedState;d!==null;){var g=d.queue;g!==null&&(g.pending=null),d=d.next}Es=!1}if(Ti=0,Mt=Tt=mt=null,la=!1,aa=0,wu.current=null,u===null||u.return===null){Nt=1,fa=l,kt=null;break}e:{var y=r,C=u.return,L=u,B=l;if(l=Pt,L.flags|=32768,B!==null&&typeof B=="object"&&typeof B.then=="function"){var Y=B,se=L,ce=se.tag;if((se.mode&1)===0&&(ce===0||ce===11||ce===15)){var ae=se.alternate;ae?(se.updateQueue=ae.updateQueue,se.memoizedState=ae.memoizedState,se.lanes=ae.lanes):(se.updateQueue=null,se.memoizedState=null)}var Se=t1(C);if(Se!==null){Se.flags&=-257,n1(Se,C,L,y,l),Se.mode&1&&e1(y,Y,l),l=Se,B=Y;var ze=l.updateQueue;if(ze===null){var Ae=new Set;Ae.add(B),l.updateQueue=Ae}else ze.add(B);break e}else{if((l&1)===0){e1(y,Y,l),Au();break e}B=Error(n(426))}}else if(ct&&L.mode&1){var wt=t1(C);if(wt!==null){(wt.flags&65536)===0&&(wt.flags|=256),n1(wt,C,L,y,l),_0(fl(B,L));break e}}y=B=fl(B,L),Nt!==4&&(Nt=2),ha===null?ha=[y]:ha.push(y),y=C;do{switch(y.tag){case 3:y.flags|=65536,l&=-l,y.lanes|=l;var U=Jd(y,B,l);Ed(y,U);break e;case 1:L=B;var $=y.type,W=y.stateNode;if((y.flags&128)===0&&(typeof $.getDerivedStateFromError=="function"||W!==null&&typeof W.componentDidCatch=="function"&&(Vr===null||!Vr.has(W)))){y.flags|=65536,l&=-l,y.lanes|=l;var pe=Zd(y,L,l);Ed(y,pe);break e}}y=y.return}while(y!==null)}R1(u)}catch(Me){l=Me,kt===u&&u!==null&&(kt=u=u.return);continue}break}while(!0)}function j1(){var r=Ls.current;return Ls.current=zs,r===null?zs:r}function Au(){(Nt===0||Nt===3||Nt===2)&&(Nt=4),jt===null||(Ni&268435455)===0&&(Ds&268435455)===0||Yr(jt,Pt)}function qs(r,l){var u=Xe;Xe|=2;var d=j1();(jt!==r||Pt!==l)&&(xr=null,Ai(r,l));do try{P5();break}catch(g){M1(r,g)}while(!0);if($0(),Xe=u,Ls.current=d,kt!==null)throw Error(n(261));return jt=null,Pt=0,Nt}function P5(){for(;kt!==null;)I1(kt)}function F5(){for(;kt!==null&&!o3();)I1(kt)}function I1(r){var l=P1(r.alternate,r,mn);r.memoizedProps=r.pendingProps,l===null?R1(r):kt=l,wu.current=null}function R1(r){var l=r;do{var u=l.alternate;if(r=l.return,(l.flags&32768)===0){if(u=A5(u,l,mn),u!==null){kt=u;return}}else{if(u=M5(u,l),u!==null){u.flags&=32767,kt=u;return}if(r!==null)r.flags|=32768,r.subtreeFlags=0,r.deletions=null;else{Nt=6,kt=null;return}}if(l=l.sibling,l!==null){kt=l;return}kt=l=r}while(l!==null);Nt===0&&(Nt=5)}function Mi(r,l,u){var d=et,g=zn.transition;try{zn.transition=null,et=1,O5(r,l,u,d)}finally{zn.transition=g,et=d}return null}function O5(r,l,u,d){do pl();while(Wr!==null);if((Xe&6)!==0)throw Error(n(327));u=r.finishedWork;var g=r.finishedLanes;if(u===null)return null;if(r.finishedWork=null,r.finishedLanes=0,u===r.current)throw Error(n(177));r.callbackNode=null,r.callbackPriority=0;var y=u.lanes|u.childLanes;if(y3(r,y),r===jt&&(kt=jt=null,Pt=0),(u.subtreeFlags&2064)===0&&(u.flags&2064)===0||Fs||(Fs=!0,F1(Va,function(){return pl(),null})),y=(u.flags&15990)!==0,(u.subtreeFlags&15990)!==0||y){y=zn.transition,zn.transition=null;var C=et;et=1;var L=Xe;Xe|=4,wu.current=null,I5(r,u),S1(u,r),i5(A0),Ja=!!z0,A0=z0=null,r.current=u,R5(u),u3(),Xe=L,et=C,zn.transition=y}else r.current=u;if(Fs&&(Fs=!1,Wr=r,Os=g),y=r.pendingLanes,y===0&&(Vr=null),h3(u.stateNode),rn(r,xt()),l!==null)for(d=r.onRecoverableError,u=0;u<l.length;u++)g=l[u],d(g.value,{componentStack:g.stack,digest:g.digest});if(Ps)throw Ps=!1,r=Su,Su=null,r;return(Os&1)!==0&&r.tag!==0&&pl(),y=r.pendingLanes,(y&1)!==0?r===Cu?da++:(da=0,Cu=r):da=0,qr(),null}function pl(){if(Wr!==null){var r=kh(Os),l=zn.transition,u=et;try{if(zn.transition=null,et=16>r?16:r,Wr===null)var d=!1;else{if(r=Wr,Wr=null,Os=0,(Xe&6)!==0)throw Error(n(331));var g=Xe;for(Xe|=4,Ne=r.current;Ne!==null;){var y=Ne,C=y.child;if((Ne.flags&16)!==0){var L=y.deletions;if(L!==null){for(var B=0;B<L.length;B++){var Y=L[B];for(Ne=Y;Ne!==null;){var se=Ne;switch(se.tag){case 0:case 11:case 15:ca(8,se,y)}var ce=se.child;if(ce!==null)ce.return=se,Ne=ce;else for(;Ne!==null;){se=Ne;var ae=se.sibling,Se=se.return;if(y1(se),se===Y){Ne=null;break}if(ae!==null){ae.return=Se,Ne=ae;break}Ne=Se}}}var ze=y.alternate;if(ze!==null){var Ae=ze.child;if(Ae!==null){ze.child=null;do{var wt=Ae.sibling;Ae.sibling=null,Ae=wt}while(Ae!==null)}}Ne=y}}if((y.subtreeFlags&2064)!==0&&C!==null)C.return=y,Ne=C;else e:for(;Ne!==null;){if(y=Ne,(y.flags&2048)!==0)switch(y.tag){case 0:case 11:case 15:ca(9,y,y.return)}var U=y.sibling;if(U!==null){U.return=y.return,Ne=U;break e}Ne=y.return}}var $=r.current;for(Ne=$;Ne!==null;){C=Ne;var W=C.child;if((C.subtreeFlags&2064)!==0&&W!==null)W.return=C,Ne=W;else e:for(C=$;Ne!==null;){if(L=Ne,(L.flags&2048)!==0)try{switch(L.tag){case 0:case 11:case 15:Rs(9,L)}}catch(Me){vt(L,L.return,Me)}if(L===C){Ne=null;break e}var pe=L.sibling;if(pe!==null){pe.return=L.return,Ne=pe;break e}Ne=L.return}}if(Xe=g,qr(),Qn&&typeof Qn.onPostCommitFiberRoot=="function")try{Qn.onPostCommitFiberRoot(Wa,r)}catch{}d=!0}return d}finally{et=u,zn.transition=l}}return!1}function L1(r,l,u){l=fl(u,l),l=Jd(r,l,1),r=Hr(r,l,1),l=Gt(),r!==null&&(Fl(r,1,l),rn(r,l))}function vt(r,l,u){if(r.tag===3)L1(r,r,u);else for(;l!==null;){if(l.tag===3){L1(l,r,u);break}else if(l.tag===1){var d=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof d.componentDidCatch=="function"&&(Vr===null||!Vr.has(d))){r=fl(u,r),r=Zd(l,r,1),l=Hr(l,r,1),r=Gt(),l!==null&&(Fl(l,1,r),rn(l,r));break}}l=l.return}}function B5(r,l,u){var d=r.pingCache;d!==null&&d.delete(l),l=Gt(),r.pingedLanes|=r.suspendedLanes&u,jt===r&&(Pt&u)===u&&(Nt===4||Nt===3&&(Pt&130023424)===Pt&&500>xt()-bu?Ai(r,0):ku|=u),rn(r,l)}function D1(r,l){l===0&&((r.mode&1)===0?l=1:(l=Ya,Ya<<=1,(Ya&130023424)===0&&(Ya=4194304)));var u=Gt();r=gr(r,l),r!==null&&(Fl(r,l,u),rn(r,u))}function _5(r){var l=r.memoizedState,u=0;l!==null&&(u=l.retryLane),D1(r,u)}function q5(r,l){var u=0;switch(r.tag){case 13:var d=r.stateNode,g=r.memoizedState;g!==null&&(u=g.retryLane);break;case 19:d=r.stateNode;break;default:throw Error(n(314))}d!==null&&d.delete(l),D1(r,u)}var P1;P1=function(r,l,u){if(r!==null)if(r.memoizedProps!==l.pendingProps||Zt.current)tn=!0;else{if((r.lanes&u)===0&&(l.flags&128)===0)return tn=!1,z5(r,l,u);tn=(r.flags&131072)!==0}else tn=!1,ct&&(l.flags&1048576)!==0&&pd(l,gs,l.index);switch(l.lanes=0,l.tag){case 2:var d=l.type;js(r,l),r=l.pendingProps;var g=rl(l,Ot.current);ul(l,u),g=Z0(null,l,d,r,g,u);var y=eu();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,en(d)?(y=!0,ds(l)):y=!1,l.memoizedState=g.state!==null&&g.state!==void 0?g.state:null,W0(l),g.updater=As,l.stateNode=g,g._reactInternals=l,au(l,d,r,u),l=cu(null,l,d,!0,y,u)):(l.tag=0,ct&&y&&P0(l),Wt(null,l,g,u),l=l.child),l;case 16:d=l.elementType;e:{switch(js(r,l),r=l.pendingProps,g=d._init,d=g(d._payload),l.type=d,g=l.tag=H5(d),r=On(d,r),g){case 0:l=uu(null,l,d,r,u);break e;case 1:l=o1(null,l,d,r,u);break e;case 11:l=r1(null,l,d,r,u);break e;case 14:l=i1(null,l,d,On(d.type,r),u);break e}throw Error(n(306,d,""))}return l;case 0:return d=l.type,g=l.pendingProps,g=l.elementType===d?g:On(d,g),uu(r,l,d,g,u);case 1:return d=l.type,g=l.pendingProps,g=l.elementType===d?g:On(d,g),o1(r,l,d,g,u);case 3:e:{if(u1(l),r===null)throw Error(n(387));d=l.pendingProps,y=l.memoizedState,g=y.element,Cd(r,l),bs(l,d,null,u);var C=l.memoizedState;if(d=C.element,y.isDehydrated)if(y={element:d,isDehydrated:!1,cache:C.cache,pendingSuspenseBoundaries:C.pendingSuspenseBoundaries,transitions:C.transitions},l.updateQueue.baseState=y,l.memoizedState=y,l.flags&256){g=fl(Error(n(423)),l),l=c1(r,l,d,u,g);break e}else if(d!==g){g=fl(Error(n(424)),l),l=c1(r,l,d,u,g);break e}else for(dn=Or(l.stateNode.containerInfo.firstChild),hn=l,ct=!0,Fn=null,u=bd(l,null,d,u),l.child=u;u;)u.flags=u.flags&-3|4096,u=u.sibling;else{if(al(),d===g){l=yr(r,l,u);break e}Wt(r,l,d,u)}l=l.child}return l;case 5:return Nd(l),r===null&&B0(l),d=l.type,g=l.pendingProps,y=r!==null?r.memoizedProps:null,C=g.children,M0(d,g)?C=null:y!==null&&M0(d,y)&&(l.flags|=32),s1(r,l),Wt(r,l,C,u),l.child;case 6:return r===null&&B0(l),null;case 13:return f1(r,l,u);case 4:return G0(l,l.stateNode.containerInfo),d=l.pendingProps,r===null?l.child=sl(l,null,d,u):Wt(r,l,d,u),l.child;case 11:return d=l.type,g=l.pendingProps,g=l.elementType===d?g:On(d,g),r1(r,l,d,g,u);case 7:return Wt(r,l,l.pendingProps,u),l.child;case 8:return Wt(r,l,l.pendingProps.children,u),l.child;case 12:return Wt(r,l,l.pendingProps.children,u),l.child;case 10:e:{if(d=l.type._context,g=l.pendingProps,y=l.memoizedProps,C=g.value,lt(xs,d._currentValue),d._currentValue=C,y!==null)if(Pn(y.value,C)){if(y.children===g.children&&!Zt.current){l=yr(r,l,u);break e}}else for(y=l.child,y!==null&&(y.return=l);y!==null;){var L=y.dependencies;if(L!==null){C=y.child;for(var B=L.firstContext;B!==null;){if(B.context===d){if(y.tag===1){B=vr(-1,u&-u),B.tag=2;var Y=y.updateQueue;if(Y!==null){Y=Y.shared;var se=Y.pending;se===null?B.next=B:(B.next=se.next,se.next=B),Y.pending=B}}y.lanes|=u,B=y.alternate,B!==null&&(B.lanes|=u),U0(y.return,u,l),L.lanes|=u;break}B=B.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|=u,L=C.alternate,L!==null&&(L.lanes|=u),U0(C,u,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}Wt(r,l,g.children,u),l=l.child}return l;case 9:return g=l.type,d=l.pendingProps.children,ul(l,u),g=Tn(g),d=d(g),l.flags|=1,Wt(r,l,d,u),l.child;case 14:return d=l.type,g=On(d,l.pendingProps),g=On(d.type,g),i1(r,l,d,g,u);case 15:return l1(r,l,l.type,l.pendingProps,u);case 17:return d=l.type,g=l.pendingProps,g=l.elementType===d?g:On(d,g),js(r,l),l.tag=1,en(d)?(r=!0,ds(l)):r=!1,ul(l,u),Kd(l,d,g),au(l,d,g,u),cu(null,l,d,!0,r,u);case 19:return d1(r,l,u);case 22:return a1(r,l,u)}throw Error(n(156,l.tag))};function F1(r,l){return gh(r,l)}function $5(r,l,u,d){this.tag=r,this.key=u,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=d,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function An(r,l,u,d){return new $5(r,l,u,d)}function Mu(r){return r=r.prototype,!(!r||!r.isReactComponent)}function H5(r){if(typeof r=="function")return Mu(r)?1:0;if(r!=null){if(r=r.$$typeof,r===ne)return 11;if(r===ie)return 14}return 2}function Xr(r,l){var u=r.alternate;return u===null?(u=An(r.tag,l,r.key,r.mode),u.elementType=r.elementType,u.type=r.type,u.stateNode=r.stateNode,u.alternate=r,r.alternate=u):(u.pendingProps=l,u.type=r.type,u.flags=0,u.subtreeFlags=0,u.deletions=null),u.flags=r.flags&14680064,u.childLanes=r.childLanes,u.lanes=r.lanes,u.child=r.child,u.memoizedProps=r.memoizedProps,u.memoizedState=r.memoizedState,u.updateQueue=r.updateQueue,l=r.dependencies,u.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},u.sibling=r.sibling,u.index=r.index,u.ref=r.ref,u}function $s(r,l,u,d,g,y){var C=2;if(d=r,typeof r=="function")Mu(r)&&(C=1);else if(typeof r=="string")C=5;else e:switch(r){case G:return ji(u.children,g,y,l);case te:C=8,g|=8;break;case re:return r=An(12,u,l,g|2),r.elementType=re,r.lanes=y,r;case Te:return r=An(13,u,l,g),r.elementType=Te,r.lanes=y,r;case ve:return r=An(19,u,l,g),r.elementType=ve,r.lanes=y,r;case Ee:return Hs(u,g,y,l);default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case H:C=10;break e;case he:C=9;break e;case ne:C=11;break e;case ie:C=14;break e;case Q:C=16,d=null;break e}throw Error(n(130,r==null?r:typeof r,""))}return l=An(C,u,l,g),l.elementType=r,l.type=d,l.lanes=y,l}function ji(r,l,u,d){return r=An(7,r,d,l),r.lanes=u,r}function Hs(r,l,u,d){return r=An(22,r,d,l),r.elementType=Ee,r.lanes=u,r.stateNode={isHidden:!1},r}function ju(r,l,u){return r=An(6,r,null,l),r.lanes=u,r}function Iu(r,l,u){return l=An(4,r.children!==null?r.children:[],r.key,l),l.lanes=u,l.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},l}function U5(r,l,u,d,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=l0(0),this.expirationTimes=l0(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=l0(0),this.identifierPrefix=d,this.onRecoverableError=g,this.mutableSourceEagerHydrationData=null}function Ru(r,l,u,d,g,y,C,L,B){return r=new U5(r,l,u,L,B),l===1?(l=1,y===!0&&(l|=8)):l=0,y=An(3,null,null,l),r.current=y,y.stateNode=r,y.memoizedState={element:d,isDehydrated:u,cache:null,transitions:null,pendingSuspenseBoundaries:null},W0(y),r}function V5(r,l,u){var d=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:O,key:d==null?null:""+d,children:r,containerInfo:l,implementation:u}}function O1(r){if(!r)return _r;r=r._reactInternals;e:{if(xi(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(en(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break e}}l=l.return}while(l!==null);throw Error(n(171))}if(r.tag===1){var u=r.type;if(en(u))return hd(r,u,l)}return l}function B1(r,l,u,d,g,y,C,L,B){return r=Ru(u,d,!0,r,g,y,C,L,B),r.context=O1(null),u=r.current,d=Gt(),g=Gr(u),y=vr(d,g),y.callback=l??null,Hr(u,y,g),r.current.lanes=g,Fl(r,g,d),rn(r,d),r}function Us(r,l,u,d){var g=l.current,y=Gt(),C=Gr(g);return u=O1(u),l.context===null?l.context=u:l.pendingContext=u,l=vr(y,C),l.payload={element:r},d=d===void 0?null:d,d!==null&&(l.callback=d),r=Hr(g,l,C),r!==null&&(qn(r,g,C,y),ks(r,g,C)),C}function Vs(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 _1(r,l){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var u=r.retryLane;r.retryLane=u!==0&&u<l?u:l}}function Lu(r,l){_1(r,l),(r=r.alternate)&&_1(r,l)}function W5(){return null}var q1=typeof reportError=="function"?reportError:function(r){console.error(r)};function Du(r){this._internalRoot=r}Ws.prototype.render=Du.prototype.render=function(r){var l=this._internalRoot;if(l===null)throw Error(n(409));Us(r,l,null,null)},Ws.prototype.unmount=Du.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var l=r.containerInfo;zi(function(){Us(null,r,null,null)}),l[hr]=null}};function Ws(r){this._internalRoot=r}Ws.prototype.unstable_scheduleHydration=function(r){if(r){var l=Ch();r={blockedOn:null,target:r,priority:l};for(var u=0;u<Dr.length&&l!==0&&l<Dr[u].priority;u++);Dr.splice(u,0,r),u===0&&Nh(r)}};function Pu(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)}function Gs(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11&&(r.nodeType!==8||r.nodeValue!==" react-mount-point-unstable "))}function $1(){}function G5(r,l,u,d,g){if(g){if(typeof d=="function"){var y=d;d=function(){var Y=Vs(C);y.call(Y)}}var C=B1(l,d,r,0,null,!1,!1,"",$1);return r._reactRootContainer=C,r[hr]=C.current,Ql(r.nodeType===8?r.parentNode:r),zi(),C}for(;g=r.lastChild;)r.removeChild(g);if(typeof d=="function"){var L=d;d=function(){var Y=Vs(B);L.call(Y)}}var B=Ru(r,0,!1,null,null,!1,!1,"",$1);return r._reactRootContainer=B,r[hr]=B.current,Ql(r.nodeType===8?r.parentNode:r),zi(function(){Us(l,B,u,d)}),B}function Ys(r,l,u,d,g){var y=u._reactRootContainer;if(y){var C=y;if(typeof g=="function"){var L=g;g=function(){var B=Vs(C);L.call(B)}}Us(l,C,r,g)}else C=G5(u,l,r,g,d);return Vs(C)}bh=function(r){switch(r.tag){case 3:var l=r.stateNode;if(l.current.memoizedState.isDehydrated){var u=Pl(l.pendingLanes);u!==0&&(a0(l,u|1),rn(l,xt()),(Xe&6)===0&&(ml=xt()+500,qr()))}break;case 13:zi(function(){var d=gr(r,1);if(d!==null){var g=Gt();qn(d,r,1,g)}}),Lu(r,1)}},s0=function(r){if(r.tag===13){var l=gr(r,134217728);if(l!==null){var u=Gt();qn(l,r,134217728,u)}Lu(r,134217728)}},Sh=function(r){if(r.tag===13){var l=Gr(r),u=gr(r,l);if(u!==null){var d=Gt();qn(u,r,l,d)}Lu(r,l)}},Ch=function(){return et},Eh=function(r,l){var u=et;try{return et=r,l()}finally{et=u}},Zo=function(r,l,u){switch(l){case"input":if(Ar(r,u),l=u.name,u.type==="radio"&&l!=null){for(u=r;u.parentNode;)u=u.parentNode;for(u=u.querySelectorAll("input[name="+JSON.stringify(""+l)+'][type="radio"]'),l=0;l<u.length;l++){var d=u[l];if(d!==r&&d.form===r.form){var g=fs(d);if(!g)throw Error(n(90));fi(d),Ar(d,g)}}}break;case"textarea":gi(r,u);break;case"select":l=u.value,l!=null&&Xn(r,!!u.multiple,l,!1)}},uh=Nu,ch=zi;var Y5={usingClientEntryPoint:!1,Events:[ea,tl,fs,sh,oh,Nu]},ma={findFiberByHostInstance:wi,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},X5={bundleType:ma.bundleType,version:ma.version,rendererPackageName:ma.rendererPackageName,rendererConfig:ma.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:X.ReactCurrentDispatcher,findHostInstanceByFiber:function(r){return r=mh(r),r===null?null:r.stateNode},findFiberByHostInstance:ma.findFiberByHostInstance||W5,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 Xs=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Xs.isDisabled&&Xs.supportsFiber)try{Wa=Xs.inject(X5),Qn=Xs}catch{}}return ln.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Y5,ln.createPortal=function(r,l){var u=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Pu(l))throw Error(n(200));return V5(r,l,null,u)},ln.createRoot=function(r,l){if(!Pu(r))throw Error(n(299));var u=!1,d="",g=q1;return l!=null&&(l.unstable_strictMode===!0&&(u=!0),l.identifierPrefix!==void 0&&(d=l.identifierPrefix),l.onRecoverableError!==void 0&&(g=l.onRecoverableError)),l=Ru(r,1,!1,null,null,u,!1,d,g),r[hr]=l.current,Ql(r.nodeType===8?r.parentNode:r),new Du(l)},ln.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=mh(l),r=r===null?null:r.stateNode,r},ln.flushSync=function(r){return zi(r)},ln.hydrate=function(r,l,u){if(!Gs(l))throw Error(n(200));return Ys(null,r,l,!0,u)},ln.hydrateRoot=function(r,l,u){if(!Pu(r))throw Error(n(405));var d=u!=null&&u.hydratedSources||null,g=!1,y="",C=q1;if(u!=null&&(u.unstable_strictMode===!0&&(g=!0),u.identifierPrefix!==void 0&&(y=u.identifierPrefix),u.onRecoverableError!==void 0&&(C=u.onRecoverableError)),l=B1(l,null,r,1,u??null,g,!1,y,C),r[hr]=l.current,Ql(r),d)for(r=0;r<d.length;r++)u=d[r],g=u._getVersion,g=g(u._source),l.mutableSourceEagerHydrationData==null?l.mutableSourceEagerHydrationData=[u,g]:l.mutableSourceEagerHydrationData.push(u,g);return new Ws(l)},ln.render=function(r,l,u){if(!Gs(l))throw Error(n(200));return Ys(null,r,l,!1,u)},ln.unmountComponentAtNode=function(r){if(!Gs(r))throw Error(n(40));return r._reactRootContainer?(zi(function(){Ys(null,null,r,!1,function(){r._reactRootContainer=null,r[hr]=null})}),!0):!1},ln.unstable_batchedUpdates=Nu,ln.unstable_renderSubtreeIntoContainer=function(r,l,u,d){if(!Gs(u))throw Error(n(200));if(r==null||r._reactInternals===void 0)throw Error(n(38));return Ys(r,l,u,!1,d)},ln.version="18.3.1-next-f1338f8080-20240426",ln}var K1;function l6(){if(K1)return Bu.exports;K1=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(),Bu.exports=i6(),Bu.exports}var Q1;function a6(){if(Q1)return Ks;Q1=1;var e=l6();return Ks.createRoot=e.createRoot,Ks.hydrateRoot=e.hydrateRoot,Ks}var s6=a6();/**
|
|
41
|
+
* react-router v7.18.2
|
|
42
|
+
*
|
|
43
|
+
* Copyright (c) Remix Software Inc.
|
|
44
|
+
*
|
|
45
|
+
* This source code is licensed under the MIT license found in the
|
|
46
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
47
|
+
*
|
|
48
|
+
* @license MIT
|
|
49
|
+
*/var hf=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,i4=/^[\\/]{2}/;function o6(e,t){return t+e.replace(/\\/g,"/")}var J1="popstate";function Z1(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function u6(e={}){function t(i,a){var h;let s=(h=a.state)==null?void 0:h.masked,{pathname:o,search:c,hash:f}=s||i.location;return zc("",{pathname:o,search:c,hash:f},a.state&&a.state.usr||null,a.state&&a.state.key||"default",s?{pathname:i.location.pathname,search:i.location.search,hash:i.location.hash}:void 0)}function n(i,a){return typeof a=="string"?a:za(a)}return f6(t,n,null,e)}function ut(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Wn(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function c6(){return Math.random().toString(36).substring(2,10)}function em(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function zc(e,t,n=null,i,a){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?El(t):t,state:n,key:t&&t.key||i||c6(),mask:a}}function za({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function El(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let i=e.indexOf("?");i>=0&&(t.search=e.substring(i),e=e.substring(0,i)),e&&(t.pathname=e)}return t}function f6(e,t,n,i={}){let{window:a=document.defaultView,v5Compat:s=!1}=i,o=a.history,c="POP",f=null,h=m();h==null&&(h=0,o.replaceState({...o.state,idx:h},""));function m(){return(o.state||{idx:null}).idx}function p(){c="POP";let A=m(),z=A==null?null:A-h;h=A,f&&f({action:c,location:N.location,delta:z})}function x(A,z){c="PUSH";let R=Z1(A)?A:zc(N.location,A,z);h=m()+1;let _=em(R,h),X=N.createHref(R.mask||R);try{o.pushState(_,"",X)}catch(V){if(V instanceof DOMException&&V.name==="DataCloneError")throw V;a.location.assign(X)}s&&f&&f({action:c,location:N.location,delta:1})}function w(A,z){c="REPLACE";let R=Z1(A)?A:zc(N.location,A,z);h=m();let _=em(R,h),X=N.createHref(R.mask||R);o.replaceState(_,"",X),s&&f&&f({action:c,location:N.location,delta:0})}function E(A){return h6(a,A)}let N={get action(){return c},get location(){return e(a,o)},listen(A){if(f)throw new Error("A history only accepts one active listener");return a.addEventListener(J1,p),f=A,()=>{a.removeEventListener(J1,p),f=null}},createHref(A){return t(a,A)},createURL:E,encodeLocation(A){let z=E(A);return{pathname:z.pathname,search:z.search,hash:z.hash}},push:x,replace:w,go(A){return o.go(A)}};return N}function h6(e,t,n=!1){let i="http://localhost";e&&(i=e.location.origin!=="null"?e.location.origin:e.location.href),ut(i,"No window.location.(origin|href) available to create URL");let a=typeof t=="string"?t:za(t);return a=a.replace(/ $/,"%20"),!n&&i4.test(a)&&(a=i+a),new URL(a,i)}function l4(e,t,n="/"){return d6(e,t,n,!1)}function d6(e,t,n,i,a){let s=typeof t=="string"?El(t):t,o=Sr(s.pathname||"/",n);if(o==null)return null;let c=m6(e),f=null,h=c4(o);for(let m=0;f==null&&m<c.length;++m)f=C6(c[m],h,i);return f}function m6(e){let t=a4(e);return p6(t),t}function a4(e,t=[],n=[],i="",a=!1){let s=(o,c,f=a,h)=>{let m={relativePath:h===void 0?o.path||"":h,caseSensitive:o.caseSensitive===!0,childrenIndex:c,route:o};if(m.relativePath.startsWith("/")){if(!m.relativePath.startsWith(i)&&f)return;ut(m.relativePath.startsWith(i),`Absolute route path "${m.relativePath}" nested under path "${i}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),m.relativePath=m.relativePath.slice(i.length)}let p=Hn([i,m.relativePath]),x=n.concat(m);o.children&&o.children.length>0&&(ut(o.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${p}".`),a4(o.children,t,x,p,f)),!(o.path==null&&!o.index)&&t.push({path:p,score:b6(p,o.index),routesMeta:x.map((w,E)=>{let[N,A]=u4(w.relativePath,w.caseSensitive,E===x.length-1);return{...w,matcher:N,compiledParams:A}})})};return e.forEach((o,c)=>{var f;if(o.path===""||!((f=o.path)!=null&&f.includes("?")))s(o,c);else for(let h of s4(o.path))s(o,c,!0,h)}),t}function s4(e){let t=e.split("/");if(t.length===0)return[];let[n,...i]=t,a=n.endsWith("?"),s=n.replace(/\?$/,"");if(i.length===0)return a?[s,""]:[s];let o=s4(i.join("/")),c=[];return c.push(...o.map(f=>f===""?s:[s,f].join("/"))),a&&c.push(...o),c.map(f=>e.startsWith("/")&&f===""?"/":f)}function p6(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:S6(t.routesMeta.map(i=>i.childrenIndex),n.routesMeta.map(i=>i.childrenIndex)))}var g6=/^:[\w-]+$/,v6=3,y6=2,x6=1,w6=10,k6=-2,tm=e=>e==="*";function b6(e,t){let n=e.split("/"),i=n.length;return n.some(tm)&&(i+=k6),t&&(i+=y6),n.filter(a=>!tm(a)).reduce((a,s)=>a+(g6.test(s)?v6:s===""?x6:w6),i)}function S6(e,t){return e.length===t.length&&e.slice(0,-1).every((i,a)=>i===t[a])?e[e.length-1]-t[t.length-1]:0}function C6(e,t,n=!1){let{routesMeta:i}=e,a={},s="/",o=[];for(let c=0;c<i.length;++c){let f=i[c],h=c===i.length-1,m=s==="/"?t:t.slice(s.length)||"/",p={path:f.relativePath,caseSensitive:f.caseSensitive,end:h},x=f.matcher&&f.compiledParams?o4(p,m,f.matcher,f.compiledParams):Aa(p,m),w=f.route;if(!x&&h&&n&&!i[i.length-1].route.index&&(x=Aa({path:f.relativePath,caseSensitive:f.caseSensitive,end:!1},m)),!x)return null;Object.assign(a,x.params),o.push({params:a,pathname:Hn([s,x.pathname]),pathnameBase:N6(Hn([s,x.pathnameBase])),route:w}),x.pathnameBase!=="/"&&(s=Hn([s,x.pathnameBase]))}return o}function Aa(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,i]=u4(e.path,e.caseSensitive,e.end);return o4(e,t,n,i)}function o4(e,t,n,i){let a=t.match(n);if(!a)return null;let s=a[0],o=s.replace(/(.)\/+$/,"$1"),c=a.slice(1);return{params:i.reduce((h,{paramName:m,isOptional:p},x)=>{if(m==="*"){let E=c[x]||"";o=s.slice(0,s.length-E.length).replace(/(.)\/+$/,"$1")}const w=c[x];return p&&!w?h[m]=void 0:h[m]=(w||"").replace(/%2F/g,"/"),h},{}),pathname:s,pathnameBase:o,pattern:e}}function u4(e,t=!1,n=!0){Wn(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let i=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,c,f,h,m)=>{if(i.push({paramName:c,isOptional:f!=null}),f){let p=m.charAt(h+o.length);return p&&p!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(i.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),i]}function c4(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Wn(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Sr(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,i=e.charAt(n);return i&&i!=="/"?null:e.slice(n)||"/"}function E6(e,t="/"){let{pathname:n,search:i="",hash:a=""}=typeof e=="string"?El(e):e,s;return n?(n=f4(n),n.startsWith("/")?s=nm(n.substring(1),"/"):s=nm(n,t)):s=t,{pathname:s,search:z6(i),hash:A6(a)}}function nm(e,t){let n=go(t).split("/");return e.split("/").forEach(a=>{a===".."?n.length>1&&n.pop():a!=="."&&n.push(a)}),n.length>1?n.join("/"):"/"}function $u(e,t,n,i){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(i)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function T6(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function df(e){let t=T6(e);return t.map((n,i)=>i===t.length-1?n.pathname:n.pathnameBase)}function Ao(e,t,n,i=!1){let a;typeof e=="string"?a=El(e):(a={...e},ut(!a.pathname||!a.pathname.includes("?"),$u("?","pathname","search",a)),ut(!a.pathname||!a.pathname.includes("#"),$u("#","pathname","hash",a)),ut(!a.search||!a.search.includes("#"),$u("#","search","hash",a)));let s=e===""||a.pathname==="",o=s?"/":a.pathname,c;if(o==null)c=n;else{let p=t.length-1;if(!i&&o.startsWith("..")){let x=o.split("/");for(;x[0]==="..";)x.shift(),p-=1;a.pathname=x.join("/")}c=p>=0?t[p]:"/"}let f=E6(a,c),h=o&&o!=="/"&&o.endsWith("/"),m=(s||o===".")&&n.endsWith("/");return!f.pathname.endsWith("/")&&(h||m)&&(f.pathname+="/"),f}var f4=e=>e.replace(/[\\/]{2,}/g,"/"),Hn=e=>f4(e.join("/")),go=e=>e.replace(/\/+$/,""),N6=e=>go(e).replace(/^\/*/,"/"),z6=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,A6=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,M6=class{constructor(e,t,n,i=!1){this.status=e,this.statusText=t||"",this.internal=i,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function j6(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function I6(e){let t=e.map(n=>n.route.path).filter(Boolean);return Hn(t)||"/"}var h4=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function d4(e,t){let n=e;if(typeof n!="string"||!hf.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let i=n,a=!1;if(h4)try{let s=new URL(window.location.href),o=i4.test(n)?new URL(o6(n,s.protocol)):new URL(n),c=Sr(o.pathname,t);o.origin===s.origin&&c!=null?n=c+o.search+o.hash:a=!0}catch{Wn(!1,`<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:i,isExternal:a,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var m4=["POST","PUT","PATCH","DELETE"];new Set(m4);var R6=["GET",...m4];new Set(R6);var L6=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function D6(e){try{return L6.includes(new URL(e).protocol)}catch{return!1}}var Tl=I.createContext(null);Tl.displayName="DataRouter";var Mo=I.createContext(null);Mo.displayName="DataRouterState";var p4=I.createContext(!1);function P6(){return I.useContext(p4)}var g4=I.createContext({isTransitioning:!1});g4.displayName="ViewTransition";var F6=I.createContext(new Map);F6.displayName="Fetchers";var O6=I.createContext(null);O6.displayName="Await";var xn=I.createContext(null);xn.displayName="Navigation";var Da=I.createContext(null);Da.displayName="Location";var lr=I.createContext({outlet:null,matches:[],isDataRoute:!1});lr.displayName="Route";var mf=I.createContext(null);mf.displayName="RouteError";var v4="REACT_ROUTER_ERROR",B6="REDIRECT",_6="ROUTE_ERROR_RESPONSE";function q6(e){if(e.startsWith(`${v4}:${B6}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="string"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch{}}function $6(e){if(e.startsWith(`${v4}:${_6}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new M6(t.status,t.statusText,t.data)}catch{}}function H6(e,{relative:t}={}){ut(_i(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:i}=I.useContext(xn),{hash:a,pathname:s,search:o}=Pa(e,{relative:t}),c=s;return n!=="/"&&(c=s==="/"?n:Hn([n,s])),i.createHref({pathname:c,search:o,hash:a})}function _i(){return I.useContext(Da)!=null}function Gn(){return ut(_i(),"useLocation() may be used only in the context of a <Router> component."),I.useContext(Da).location}function U6(e){ut(_i(),"useMatch() may be used only in the context of a <Router> component.");let{pathname:t}=Gn();return I.useMemo(()=>Aa(e,c4(t)),[t,e])}var y4="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function x4(e){I.useContext(xn).static||I.useLayoutEffect(e)}function pf(){let{isDataRoute:e}=I.useContext(lr);return e?r7():V6()}function V6(){ut(_i(),"useNavigate() may be used only in the context of a <Router> component.");let e=I.useContext(Tl),{basename:t,navigator:n}=I.useContext(xn),{matches:i}=I.useContext(lr),{pathname:a}=Gn(),s=JSON.stringify(df(i)),o=I.useRef(!1);return x4(()=>{o.current=!0}),I.useCallback((f,h={})=>{if(Wn(o.current,y4),!o.current)return;if(typeof f=="number"){n.go(f);return}let m=Ao(f,JSON.parse(s),a,h.relative==="path");e==null&&t!=="/"&&(m.pathname=m.pathname==="/"?t:Hn([t,m.pathname])),(h.replace?n.replace:n.push)(m,h.state,h)},[t,n,s,a,e])}I.createContext(null);function Pa(e,{relative:t}={}){let{matches:n}=I.useContext(lr),{pathname:i}=Gn(),a=JSON.stringify(df(n));return I.useMemo(()=>Ao(e,JSON.parse(a),i,t==="path"),[e,a,i,t])}function W6(e,t){return w4(e,t)}function w4(e,t,n){var A;ut(_i(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:i}=I.useContext(xn),{matches:a}=I.useContext(lr),s=a[a.length-1],o=s?s.params:{},c=s?s.pathname:"/",f=s?s.pathnameBase:"/",h=s&&s.route;{let z=h&&h.path||"";b4(c,!h||z.endsWith("*")||z.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${c}" (under <Route path="${z}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
|
|
50
|
+
|
|
51
|
+
Please change the parent <Route path="${z}"> to <Route path="${z==="/"?"*":`${z}/*`}">.`)}let m=Gn(),p;if(t){let z=typeof t=="string"?El(t):t;ut(f==="/"||((A=z.pathname)==null?void 0:A.startsWith(f)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${f}" but pathname "${z.pathname}" was given in the \`location\` prop.`),p=z}else p=m;let x=p.pathname||"/",w=x;if(f!=="/"){let z=f.replace(/^\//,"").split("/");w="/"+x.replace(/^\//,"").split("/").slice(z.length).join("/")}let E=n&&n.state.matches.length?n.state.matches.map(z=>Object.assign(z,{route:n.manifest[z.route.id]||z.route})):l4(e,{pathname:w});Wn(h||E!=null,`No routes matched location "${p.pathname}${p.search}${p.hash}" `),Wn(E==null||E[E.length-1].route.element!==void 0||E[E.length-1].route.Component!==void 0||E[E.length-1].route.lazy!==void 0,`Matched leaf route at location "${p.pathname}${p.search}${p.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let N=Q6(E&&E.map(z=>Object.assign({},z,{params:Object.assign({},o,z.params),pathname:Hn([f,i.encodeLocation?i.encodeLocation(z.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:z.pathname]),pathnameBase:z.pathnameBase==="/"?f:Hn([f,i.encodeLocation?i.encodeLocation(z.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:z.pathnameBase])})),a,n);return t&&N?I.createElement(Da.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...p},navigationType:"POP"}},N):N}function G6(){let e=n7(),t=j6(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:i},s={padding:"2px 4px",backgroundColor:i},o=null;return console.error("Error handled by React Router default ErrorBoundary:",e),o=I.createElement(I.Fragment,null,I.createElement("p",null,"💿 Hey developer 👋"),I.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",I.createElement("code",{style:s},"ErrorBoundary")," or"," ",I.createElement("code",{style:s},"errorElement")," prop on your route.")),I.createElement(I.Fragment,null,I.createElement("h2",null,"Unexpected Application Error!"),I.createElement("h3",{style:{fontStyle:"italic"}},t),n?I.createElement("pre",{style:a},n):null,o)}var Y6=I.createElement(G6,null),k4=class extends I.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const n=$6(e.digest);n&&(e=n)}let t=e!==void 0?I.createElement(lr.Provider,{value:this.props.routeContext},I.createElement(mf.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?I.createElement(X6,{error:e},t):t}};k4.contextType=p4;var Hu=new WeakMap;function X6({children:e,error:t}){let{basename:n}=I.useContext(xn);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let i=q6(t.digest);if(i){let a=Hu.get(t);if(a)throw a;let s=d4(i.location,n),o=s.absoluteURL||s.to;if(D6(o))throw new Error("Invalid redirect location");if(h4&&!Hu.get(t))if(s.isExternal||i.reloadDocument)window.location.href=o;else{const c=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(s.to,{replace:i.replace}));throw Hu.set(t,c),c}return I.createElement("meta",{httpEquiv:"refresh",content:`0;url=${o}`})}}return e}function K6({routeContext:e,match:t,children:n}){let i=I.useContext(Tl);return i&&i.static&&i.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=t.route.id),I.createElement(lr.Provider,{value:e},n)}function Q6(e,t=[],n){let i=n==null?void 0:n.state;if(e==null){if(!i)return null;if(i.errors)e=i.matches;else if(t.length===0&&!i.initialized&&i.matches.length>0)e=i.matches;else return null}let a=e,s=i==null?void 0:i.errors;if(s!=null){let m=a.findIndex(p=>p.route.id&&(s==null?void 0:s[p.route.id])!==void 0);ut(m>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(s).join(",")}`),a=a.slice(0,Math.min(a.length,m+1))}let o=!1,c=-1;if(n&&i){o=i.renderFallback;for(let m=0;m<a.length;m++){let p=a[m];if((p.route.HydrateFallback||p.route.hydrateFallbackElement)&&(c=m),p.route.id){let{loaderData:x,errors:w}=i,E=p.route.loader&&!x.hasOwnProperty(p.route.id)&&(!w||w[p.route.id]===void 0);if(p.route.lazy||E){n.isStatic&&(o=!0),c>=0?a=a.slice(0,c+1):a=[a[0]];break}}}}let f=n==null?void 0:n.onError,h=i&&f?(m,p)=>{var x,w;f(m,{location:i.location,params:((w=(x=i.matches)==null?void 0:x[0])==null?void 0:w.params)??{},pattern:I6(i.matches),errorInfo:p})}:void 0;return a.reduceRight((m,p,x)=>{let w,E=!1,N=null,A=null;i&&(w=s&&p.route.id?s[p.route.id]:void 0,N=p.route.errorElement||Y6,o&&(c<0&&x===0?(b4("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),E=!0,A=null):c===x&&(E=!0,A=p.route.hydrateFallbackElement||null)));let z=t.concat(a.slice(0,x+1)),R=()=>{let _;return w?_=N:E?_=A:p.route.Component?_=I.createElement(p.route.Component,null):p.route.element?_=p.route.element:_=m,I.createElement(K6,{match:p,routeContext:{outlet:m,matches:z,isDataRoute:i!=null},children:_})};return i&&(p.route.ErrorBoundary||p.route.errorElement||x===0)?I.createElement(k4,{location:i.location,revalidation:i.revalidation,component:N,error:w,children:R(),routeContext:{outlet:null,matches:z,isDataRoute:!0},onError:h}):R()},null)}function gf(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function J6(e){let t=I.useContext(Tl);return ut(t,gf(e)),t}function Z6(e){let t=I.useContext(Mo);return ut(t,gf(e)),t}function e7(e){let t=I.useContext(lr);return ut(t,gf(e)),t}function vf(e){let t=e7(e),n=t.matches[t.matches.length-1];return ut(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function t7(){return vf("useRouteId")}function n7(){var i;let e=I.useContext(mf),t=Z6("useRouteError"),n=vf("useRouteError");return e!==void 0?e:(i=t.errors)==null?void 0:i[n]}function r7(){let{router:e}=J6("useNavigate"),t=vf("useNavigate"),n=I.useRef(!1);return x4(()=>{n.current=!0}),I.useCallback(async(a,s={})=>{Wn(n.current,y4),n.current&&(typeof a=="number"?await e.navigate(a):await e.navigate(a,{fromRouteId:t,...s}))},[e,t])}var rm={};function b4(e,t,n){!t&&!rm[e]&&(rm[e]=!0,Wn(!1,n))}I.memo(i7);function i7({routes:e,manifest:t,future:n,state:i,isStatic:a,onError:s}){return w4(e,void 0,{manifest:t,state:i,isStatic:a,onError:s})}function l7({to:e,replace:t,state:n,relative:i}){ut(_i(),"<Navigate> may be used only in the context of a <Router> component.");let{static:a}=I.useContext(xn);Wn(!a,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:s}=I.useContext(lr),{pathname:o}=Gn(),c=pf(),f=Ao(e,df(s),o,i==="path"),h=JSON.stringify(f);return I.useEffect(()=>{c(JSON.parse(h),{replace:t,state:n,relative:i})},[c,h,i,t,n]),null}function ba(e){ut(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function a7({basename:e="/",children:t=null,location:n,navigationType:i="POP",navigator:a,static:s=!1,useTransitions:o}){ut(!_i(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let c=e.replace(/^\/*/,"/"),f=I.useMemo(()=>({basename:c,navigator:a,static:s,useTransitions:o,future:{}}),[c,a,s,o]);typeof n=="string"&&(n=El(n));let{pathname:h="/",search:m="",hash:p="",state:x=null,key:w="default",mask:E}=n,N=I.useMemo(()=>{let A=Sr(h,c);return A==null?null:{location:{pathname:A,search:m,hash:p,state:x,key:w,mask:E},navigationType:i}},[c,h,m,p,x,w,i,E]);return Wn(N!=null,`<Router basename="${c}"> is not able to match the URL "${h}${m}${p}" because it does not start with the basename, so the <Router> won't render anything.`),N==null?null:I.createElement(xn.Provider,{value:f},I.createElement(Da.Provider,{children:t,value:N}))}function s7({children:e,location:t}){return W6(Ac(e),t)}function Ac(e,t=[]){let n=[];return I.Children.forEach(e,(i,a)=>{if(!I.isValidElement(i))return;let s=[...t,a];if(i.type===I.Fragment){n.push.apply(n,Ac(i.props.children,s));return}ut(i.type===ba,`[${typeof i.type=="string"?i.type:i.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),ut(!i.props.index||!i.props.children,"An index route cannot have child routes.");let o={id:i.props.id||s.join("-"),caseSensitive:i.props.caseSensitive,element:i.props.element,Component:i.props.Component,index:i.props.index,path:i.props.path,middleware:i.props.middleware,loader:i.props.loader,action:i.props.action,hydrateFallbackElement:i.props.hydrateFallbackElement,HydrateFallback:i.props.HydrateFallback,errorElement:i.props.errorElement,ErrorBoundary:i.props.ErrorBoundary,hasErrorBoundary:i.props.hasErrorBoundary===!0||i.props.ErrorBoundary!=null||i.props.errorElement!=null,shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle,lazy:i.props.lazy};i.props.children&&(o.children=Ac(i.props.children,s)),n.push(o)}),n}var co="get",fo="application/x-www-form-urlencoded";function jo(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function o7(e){return jo(e)&&e.tagName.toLowerCase()==="button"}function u7(e){return jo(e)&&e.tagName.toLowerCase()==="form"}function c7(e){return jo(e)&&e.tagName.toLowerCase()==="input"}function f7(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function h7(e,t){return e.button===0&&(!t||t==="_self")&&!f7(e)}var Qs=null;function d7(){if(Qs===null)try{new FormData(document.createElement("form"),0),Qs=!1}catch{Qs=!0}return Qs}var m7=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Uu(e){return e!=null&&!m7.has(e)?(Wn(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${fo}"`),null):e}function p7(e,t){let n,i,a,s,o;if(u7(e)){let c=e.getAttribute("action");i=c?Sr(c,t):null,n=e.getAttribute("method")||co,a=Uu(e.getAttribute("enctype"))||fo,s=new FormData(e)}else if(o7(e)||c7(e)&&(e.type==="submit"||e.type==="image")){let c=e.form;if(c==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let f=e.getAttribute("formaction")||c.getAttribute("action");if(i=f?Sr(f,t):null,n=e.getAttribute("formmethod")||c.getAttribute("method")||co,a=Uu(e.getAttribute("formenctype"))||Uu(c.getAttribute("enctype"))||fo,s=new FormData(c,e),!d7()){let{name:h,type:m,value:p}=e;if(m==="image"){let x=h?`${h}.`:"";s.append(`${x}x`,"0"),s.append(`${x}y`,"0")}else h&&s.append(h,p)}}else{if(jo(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=co,i=null,a=fo,o=e}return s&&a==="text/plain"&&(o=s,s=void 0),{action:i,method:n.toLowerCase(),encType:a,formData:s,body:o}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function yf(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function S4(e,t,n,i){let a=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return n?a.pathname.endsWith("/")?a.pathname=`${a.pathname}_.${i}`:a.pathname=`${a.pathname}.${i}`:a.pathname==="/"?a.pathname=`_root.${i}`:t&&Sr(a.pathname,t)==="/"?a.pathname=`${go(t)}/_root.${i}`:a.pathname=`${go(a.pathname)}.${i}`,a}async function g7(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(n){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function v7(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function y7(e,t,n){let i=await Promise.all(e.map(async a=>{let s=t.routes[a.route.id];if(s){let o=await g7(s,n);return o.links?o.links():[]}return[]}));return b7(i.flat(1).filter(v7).filter(a=>a.rel==="stylesheet"||a.rel==="preload").map(a=>a.rel==="stylesheet"?{...a,rel:"prefetch",as:"style"}:{...a,rel:"prefetch"}))}function im(e,t,n,i,a,s){let o=(f,h)=>n[h]?f.route.id!==n[h].route.id:!0,c=(f,h)=>{var m;return n[h].pathname!==f.pathname||((m=n[h].route.path)==null?void 0:m.endsWith("*"))&&n[h].params["*"]!==f.params["*"]};return s==="assets"?t.filter((f,h)=>o(f,h)||c(f,h)):s==="data"?t.filter((f,h)=>{var p;let m=i.routes[f.route.id];if(!m||!m.hasLoader)return!1;if(o(f,h)||c(f,h))return!0;if(f.route.shouldRevalidate){let x=f.route.shouldRevalidate({currentUrl:new URL(a.pathname+a.search+a.hash,window.origin),currentParams:((p=n[0])==null?void 0:p.params)||{},nextUrl:new URL(e,window.origin),nextParams:f.params,defaultShouldRevalidate:!0});if(typeof x=="boolean")return x}return!0}):[]}function x7(e,t,{includeHydrateFallback:n}={}){return w7(e.map(i=>{let a=t.routes[i.route.id];if(!a)return[];let s=[a.module];return a.clientActionModule&&(s=s.concat(a.clientActionModule)),a.clientLoaderModule&&(s=s.concat(a.clientLoaderModule)),n&&a.hydrateFallbackModule&&(s=s.concat(a.hydrateFallbackModule)),a.imports&&(s=s.concat(a.imports)),s}).flat(1))}function w7(e){return[...new Set(e)]}function k7(e){let t={},n=Object.keys(e).sort();for(let i of n)t[i]=e[i];return t}function b7(e,t){let n=new Set;return new Set(t),e.reduce((i,a)=>{let s=JSON.stringify(k7(a));return n.has(s)||(n.add(s),i.push({key:s,link:a})),i},[])}function xf(){let e=I.useContext(Tl);return yf(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function S7(){let e=I.useContext(Mo);return yf(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var wf=I.createContext(void 0);wf.displayName="FrameworkContext";function Io(){let e=I.useContext(wf);return yf(e,"You must render this element inside a <HydratedRouter> element"),e}function C7(e,t){let n=I.useContext(wf),[i,a]=I.useState(!1),[s,o]=I.useState(!1),{onFocus:c,onBlur:f,onMouseEnter:h,onMouseLeave:m,onTouchStart:p}=t,x=I.useRef(null);I.useEffect(()=>{if(e==="render"&&o(!0),e==="viewport"){let N=z=>{z.forEach(R=>{o(R.isIntersecting)})},A=new IntersectionObserver(N,{threshold:.5});return x.current&&A.observe(x.current),()=>{A.disconnect()}}},[e]),I.useEffect(()=>{if(i){let N=setTimeout(()=>{o(!0)},100);return()=>{clearTimeout(N)}}},[i]);let w=()=>{a(!0)},E=()=>{a(!1),o(!1)};return n?e!=="intent"?[s,x,{}]:[s,x,{onFocus:ga(c,w),onBlur:ga(f,E),onMouseEnter:ga(h,w),onMouseLeave:ga(m,E),onTouchStart:ga(p,w)}]:[!1,x,{}]}function ga(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function E7({page:e,...t}){let n=P6(),{nonce:i}=Io(),{router:a}=xf(),s=I.useMemo(()=>l4(a.routes,e,a.basename),[a.routes,e,a.basename]);return s?(t.nonce==null&&i&&(t={...t,nonce:i}),n?I.createElement(N7,{page:e,matches:s,...t}):I.createElement(z7,{page:e,matches:s,...t})):null}function T7(e){let{manifest:t,routeModules:n}=Io(),[i,a]=I.useState([]);return I.useEffect(()=>{let s=!1;return y7(e,t,n).then(o=>{s||a(o)}),()=>{s=!0}},[e,t,n]),i}function N7({page:e,matches:t,...n}){let i=Gn(),{future:a}=Io(),{basename:s}=xf(),o=I.useMemo(()=>{if(e===i.pathname+i.search+i.hash)return[];let c=S4(e,s,a.v8_trailingSlashAwareDataRequests,"rsc"),f=!1,h=[];for(let m of t)typeof m.route.shouldRevalidate=="function"?f=!0:h.push(m.route.id);return f&&h.length>0&&c.searchParams.set("_routes",h.join(",")),[c.pathname+c.search]},[s,a.v8_trailingSlashAwareDataRequests,e,i,t]);return I.createElement(I.Fragment,null,o.map(c=>I.createElement("link",{key:c,rel:"prefetch",as:"fetch",href:c,...n})))}function z7({page:e,matches:t,...n}){let i=Gn(),{future:a,manifest:s,routeModules:o}=Io(),{basename:c}=xf(),{loaderData:f,matches:h}=S7(),m=I.useMemo(()=>im(e,t,h,s,i,"data"),[e,t,h,s,i]),p=I.useMemo(()=>im(e,t,h,s,i,"assets"),[e,t,h,s,i]),x=I.useMemo(()=>{if(e===i.pathname+i.search+i.hash)return[];let N=new Set,A=!1;if(t.forEach(R=>{var X;let _=s.routes[R.route.id];!_||!_.hasLoader||(!m.some(V=>V.route.id===R.route.id)&&R.route.id in f&&((X=o[R.route.id])!=null&&X.shouldRevalidate)||_.hasClientLoader?A=!0:N.add(R.route.id))}),N.size===0)return[];let z=S4(e,c,a.v8_trailingSlashAwareDataRequests,"data");return A&&N.size>0&&z.searchParams.set("_routes",t.filter(R=>N.has(R.route.id)).map(R=>R.route.id).join(",")),[z.pathname+z.search]},[c,a.v8_trailingSlashAwareDataRequests,f,i,s,m,t,e,o]),w=I.useMemo(()=>x7(p,s),[p,s]),E=T7(p);return I.createElement(I.Fragment,null,x.map(N=>I.createElement("link",{key:N,rel:"prefetch",as:"fetch",href:N,...n})),w.map(N=>I.createElement("link",{key:N,rel:"modulepreload",href:N,...n})),E.map(({key:N,link:A})=>I.createElement("link",{key:N,nonce:n.nonce,...A,crossOrigin:A.crossOrigin??n.crossOrigin})))}function A7(...e){return t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})}}var M7=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{M7&&(window.__reactRouterVersion="7.18.2")}catch{}function j7({basename:e,children:t,useTransitions:n,window:i}){let a=I.useRef();a.current==null&&(a.current=u6({window:i,v5Compat:!0}));let s=a.current,[o,c]=I.useState({action:s.action,location:s.location}),f=I.useCallback(h=>{n===!1?c(h):I.startTransition(()=>c(h))},[n]);return I.useLayoutEffect(()=>s.listen(f),[s,f]),I.createElement(a7,{basename:e,children:t,location:o.location,navigationType:o.action,navigator:s,useTransitions:n})}var kf=I.forwardRef(function({onClick:t,discover:n="render",prefetch:i="none",relative:a,reloadDocument:s,replace:o,mask:c,state:f,target:h,to:m,preventScrollReset:p,viewTransition:x,defaultShouldRevalidate:w,...E},N){let{basename:A,navigator:z,useTransitions:R}=I.useContext(xn),_=typeof m=="string"&&hf.test(m),X=d4(m,A);m=X.to;let V=H6(m,{relative:a}),O=Gn(),G=null;if(c){let ie=Ao(c,[],O.mask?O.mask.pathname:"/",!0);A!=="/"&&(ie.pathname=ie.pathname==="/"?A:Hn([A,ie.pathname])),G=z.createHref(ie)}let[te,re,H]=C7(i,E),he=D7(m,{replace:o,mask:c,state:f,target:h,preventScrollReset:p,relative:a,viewTransition:x,defaultShouldRevalidate:w,useTransitions:R});function ne(ie){t&&t(ie),ie.defaultPrevented||he(ie)}let Te=!(X.isExternal||s),ve=I.createElement("a",{...E,...H,href:(Te?G:void 0)||X.absoluteURL||V,onClick:Te?ne:t,ref:A7(N,re),target:h,"data-discover":!_&&n==="render"?"true":void 0});return te&&!_?I.createElement(I.Fragment,null,ve,I.createElement(E7,{page:V})):ve});kf.displayName="Link";var I7=I.forwardRef(function({"aria-current":t="page",caseSensitive:n=!1,className:i="",end:a=!1,style:s,to:o,viewTransition:c,children:f,...h},m){let p=Pa(o,{relative:h.relative}),x=Gn(),w=I.useContext(Mo),{navigator:E,basename:N}=I.useContext(xn),A=w!=null&&_7(p)&&c===!0,z=E.encodeLocation?E.encodeLocation(p).pathname:p.pathname,R=x.pathname,_=w&&w.navigation&&w.navigation.location?w.navigation.location.pathname:null;n||(R=R.toLowerCase(),_=_?_.toLowerCase():null,z=z.toLowerCase()),_&&N&&(_=Sr(_,N)||_);const X=z!=="/"&&z.endsWith("/")?z.length-1:z.length;let V=R===z||!a&&R.startsWith(z)&&R.charAt(X)==="/",O=_!=null&&(_===z||!a&&_.startsWith(z)&&_.charAt(z.length)==="/"),G={isActive:V,isPending:O,isTransitioning:A},te=V?t:void 0,re;typeof i=="function"?re=i(G):re=[i,V?"active":null,O?"pending":null,A?"transitioning":null].filter(Boolean).join(" ");let H=typeof s=="function"?s(G):s;return I.createElement(kf,{...h,"aria-current":te,className:re,ref:m,style:H,to:o,viewTransition:c},typeof f=="function"?f(G):f)});I7.displayName="NavLink";var R7=I.forwardRef(({discover:e="render",fetcherKey:t,navigate:n,reloadDocument:i,replace:a,state:s,method:o=co,action:c,onSubmit:f,relative:h,preventScrollReset:m,viewTransition:p,defaultShouldRevalidate:x,...w},E)=>{let{useTransitions:N}=I.useContext(xn),A=O7(),z=B7(c,{relative:h}),R=o.toLowerCase()==="get"?"get":"post",_=typeof c=="string"&&hf.test(c),X=V=>{if(f&&f(V),V.defaultPrevented)return;V.preventDefault();let O=V.nativeEvent.submitter,G=(O==null?void 0:O.getAttribute("formmethod"))||o,te=()=>A(O||V.currentTarget,{fetcherKey:t,method:G,navigate:n,replace:a,state:s,relative:h,preventScrollReset:m,viewTransition:p,defaultShouldRevalidate:x});N&&n!==!1?I.startTransition(()=>te()):te()};return I.createElement("form",{ref:E,method:R,action:z,onSubmit:i?f:X,...w,"data-discover":!_&&e==="render"?"true":void 0})});R7.displayName="Form";function L7(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function C4(e){let t=I.useContext(Tl);return ut(t,L7(e)),t}function D7(e,{target:t,replace:n,mask:i,state:a,preventScrollReset:s,relative:o,viewTransition:c,defaultShouldRevalidate:f,useTransitions:h}={}){let m=pf(),p=Gn(),x=Pa(e,{relative:o});return I.useCallback(w=>{if(h7(w,t)){w.preventDefault();let E=n!==void 0?n:za(p)===za(x),N=()=>m(e,{replace:E,mask:i,state:a,preventScrollReset:s,relative:o,viewTransition:c,defaultShouldRevalidate:f});h?I.startTransition(()=>N()):N()}},[p,m,x,n,i,a,t,e,s,o,c,f,h])}var P7=0,F7=()=>`__${String(++P7)}__`;function O7(){let{router:e}=C4("useSubmit"),{basename:t}=I.useContext(xn),n=t7(),i=e.fetch,a=e.navigate;return I.useCallback(async(s,o={})=>{let{action:c,method:f,encType:h,formData:m,body:p}=p7(s,t);if(o.navigate===!1){let x=o.fetcherKey||F7();await i(x,n,o.action||c,{defaultShouldRevalidate:o.defaultShouldRevalidate,preventScrollReset:o.preventScrollReset,formData:m,body:p,formMethod:o.method||f,formEncType:o.encType||h,flushSync:o.flushSync})}else await a(o.action||c,{defaultShouldRevalidate:o.defaultShouldRevalidate,preventScrollReset:o.preventScrollReset,formData:m,body:p,formMethod:o.method||f,formEncType:o.encType||h,replace:o.replace,state:o.state,fromRouteId:n,flushSync:o.flushSync,viewTransition:o.viewTransition})},[i,a,t,n])}function B7(e,{relative:t}={}){let{basename:n}=I.useContext(xn),i=I.useContext(lr);ut(i,"useFormAction must be used inside a RouteContext");let[a]=i.matches.slice(-1),s={...Pa(e||".",{relative:t})},o=Gn();if(e==null){s.search=o.search;let c=new URLSearchParams(s.search),f=c.getAll("index");if(f.some(m=>m==="")){c.delete("index"),f.filter(p=>p).forEach(p=>c.append("index",p));let m=c.toString();s.search=m?`?${m}`:""}}return(!e||e===".")&&a.route.index&&(s.search=s.search?s.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(s.pathname=s.pathname==="/"?n:Hn([n,s.pathname])),za(s)}function _7(e,{relative:t}={}){let n=I.useContext(g4);ut(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:i}=C4("useViewTransitionState"),a=Pa(e,{relative:t});if(!n.isTransitioning)return!1;let s=Sr(n.currentLocation.pathname,i)||n.currentLocation.pathname,o=Sr(n.nextLocation.pathname,i)||n.nextLocation.pathname;return Aa(a.pathname,o)!=null||Aa(a.pathname,s)!=null}const vo="Attached files: ",q7=[".png",".jpg",".jpeg",".gif",".webp",".svg",".bmp",".ico",".avif"];function $7(e){const t=e.split(`
|
|
52
|
+
`).find(n=>n.startsWith(vo));return t?t.slice(vo.length).split(", ").map(n=>n.trim()).filter(Boolean):[]}function H7(e){return $7(e).filter(t=>{const n=t.toLowerCase();return q7.some(i=>n.endsWith(i))})}function E4(e){return e.split(`
|
|
53
|
+
`).filter(t=>!t.startsWith(vo)).join(`
|
|
54
|
+
`).trim()}function lm(){return{turnStatus:"idle",creditsSpent:0,lastTurnCredits:0,contextUsagePercentage:0,lastTurnDurationMs:0,subagents:[],pendingStages:[],mcpServers:[],availableCommands:[],oauthPrompts:[],compacting:!1}}const am=e=>{let t;const n=new Set,i=(h,m)=>{const p=typeof h=="function"?h(t):h;if(!Object.is(p,t)){const x=t;t=m??(typeof p!="object"||p===null)?p:Object.assign({},t,p),n.forEach(w=>w(t,x))}},a=()=>t,c={setState:i,getState:a,getInitialState:()=>f,subscribe:h=>(n.add(h),()=>n.delete(h))},f=t=e(i,a,c);return c},U7=(e=>e?am(e):am),V7=e=>e;function W7(e,t=V7){const n=ka.useSyncExternalStore(e.subscribe,ka.useCallback(()=>t(e.getState()),[e,t]),ka.useCallback(()=>t(e.getInitialState()),[e,t]));return ka.useDebugValue(n),n}const sm=e=>{const t=U7(e),n=i=>W7(t,i);return Object.assign(n,t),n},G7=(e=>e?sm(e):sm);function Y7(e,t,n){return e.map(i=>i.sessionId===t?{...i,updatedAt:n}:i).sort((i,a)=>a.updatedAt.localeCompare(i.updatedAt))}function T4(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 Oe=G7((e,t)=>({sessions:[],models:[],agents:[],defaultAgentId:"kiro_default",activeId:null,loadingSessionId:null,modes:[],items:[],appliedSeq:0,remainingOlder:0,observability:lm(),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:lm(),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,o,c,f;const i=t(),a=n.payload;if(!(n.seq<=i.appliedSeq))switch(e({appliedSeq:n.seq}),a.kind){case"turn_started":{const h=a.prompt.filter(N=>N.type==="text").map(N=>N.text).join(""),m=E4(h),p=H7(h),x=i.pending.findIndex(N=>N.status==="sending"),w=new Date(n.ts).toISOString(),E=Y7(i.sessions,n.sessionId,w);e({items:[...i.items,{type:"message",message:{id:`u-${n.seq}`,role:"user",text:m,timestamp:n.ts,imagePaths:p}}],pending:x===-1?i.pending:i.pending.filter((N,A)=>A!==x),sessions:E,streamingText:"",observability:{...i.observability,turnStatus:"running"}});break}case"session_update":{const h=a.update;if(h.sessionUpdate==="agent_message_chunk"){const m=((s=h.content)==null?void 0:s.text)??"";e({streamingText:i.streamingText+m})}else if(h.sessionUpdate==="agent_thought_chunk"){const m=((o=h.content)==null?void 0:o.text)??"";e({streamingThought:i.streamingThought+m})}else if(h.sessionUpdate==="tool_call"){const m=h,p=(f=(c=m._meta)==null?void 0:c.kiro)==null?void 0:f.toolName;e({items:[...Vu(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(h.sessionUpdate==="tool_call_update"){const m=h;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:Vu(i,`s-${n.seq}`,n.ts),sessionNotice:null,streamingText:"",streamingThought:"",observability:{...i.observability,turnStatus:"idle"}});break}case"turn_error":{const h=T4(a.message);e({items:[...Vu(i,`s-${n.seq}`,n.ts),{type:"turn_error",id:`err-${n.seq}`,message:a.message,timestamp:n.ts}],sessionNotice:h.sessionWide?{title:h.title,fix:h.fix,detail:a.message}:i.sessionNotice,streamingText:"",streamingThought:"",observability:{...i.observability,turnStatus:"idle"}});break}case"metadata":{const h=(a.params.meteringUsage??[]).reduce((m,p)=>m+p.value,0);e({observability:{...i.observability,contextUsagePercentage:a.params.contextUsagePercentage??i.observability.contextUsagePercentage,creditsSpent:h>0?i.observability.creditsSpent+h:i.observability.creditsSpent,lastTurnCredits:h>0?h: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 h=i.observability.mcpServers.filter(m=>m.serverName!==a.params.serverName);h.push({serverName:a.params.serverName,status:a.ok?"initialized":"failed",error:a.params.error,updatedAt:n.ts}),e({observability:{...i.observability,mcpServers:h}});break}case"commands_available":e({observability:{...i.observability,availableCommands:a.params.commands}});break;case"compaction":{const h=a.params.status.type!=="started",m=a.params.summary??"";e({observability:{...i.observability,compacting:!h},items:h&&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 Vu(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 $t(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 o=await a.text();throw new Error(`${e} ${t} failed (${a.status}): ${o}`)}const s=await a.text();return s?JSON.parse(s):{}}function X7(e){return $t("POST","/api/login",{token:e})}function K7(){return $t("POST","/api/logout")}const ot={devices:()=>$t("GET","/api/devices"),revokeDevice:e=>$t("DELETE",`/api/devices/${e}`),logoutAll:()=>$t("POST","/api/logout-all"),models:()=>$t("GET","/api/models"),agents:()=>$t("GET","/api/agents"),listDirs:e=>$t("GET",`/api/fs/dirs?path=${encodeURIComponent(e)}`),listSessions:()=>$t("GET","/api/sessions"),createSession:e=>$t("POST","/api/sessions",e),getSession:e=>$t("GET",`/api/sessions/${e}`),transcriptPage:(e,t,n)=>$t("GET",`/api/sessions/${e}/transcript?offset=${t}&limit=${n}`),deleteSession:e=>$t("DELETE",`/api/sessions/${e}`),renameSession:(e,t)=>$t("POST",`/api/sessions/${e}/rename`,{title:t}),setSessionCwd:(e,t)=>$t("POST",`/api/sessions/${e}/cwd`,{cwd:t}),tree:(e,t="")=>$t("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()}},Q7=1008;class J7{constructor(t,n,i=0){Qr(this,"ws",null);Qr(this,"cursor",0);Qr(this,"closedByUser",!1);Qr(this,"backoff",500);Qr(this,"reconnectTimer",null);Qr(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()});Qr(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,h,m;if(this.ws!==a)return;const o=JSON.parse(s.data);switch(o.type){case"event":o.event.seq>this.cursor&&(this.cursor=o.event.seq,this.handlers.onEvent(o.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,o.action,o.ok,o.error);break;case"error":console.warn("ws error:",o.message),(m=(h=this.handlers).onServerError)==null||m.call(h,o.message);break}},a.onclose=s=>{var o,c;if(this.ws===a){if(this.closedByUser){this.handlers.onStatus("closed");return}if(s.code===Q7){this.closedByUser=!0,this.handlers.onStatus("closed"),(c=(o=this.handlers).onUnauthorized)==null||c.call(o);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())}}const N4="/sessions",Z7=`${N4}/:sessionId`;function z4(e){return`${N4}/${encodeURIComponent(e)}`}function A4({size:e=14,className:t}){return k.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:k.jsx("polyline",{points:"6 9 12 15 18 9"})})}function M4({size:e=16,className:t}){return k.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:[k.jsx("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),k.jsx("line",{x1:"6",y1:"6",x2:"18",y2:"18"})]})}function ev({size:e=16,className:t}){return k.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:k.jsx("polyline",{points:"20 6 9 17 4 12"})})}function tv({size:e=18,className:t}){return k.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:[k.jsx("rect",{x:"4",y:"11",width:"16",height:"10",rx:"2"}),k.jsx("path",{d:"M8 11V7a4 4 0 0 1 8 0v4"})]})}function ni({size:e=28,className:t}){return k.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:k.jsx("path",{d:"M12 3a9 9 0 1 0 9 9"})})}function nv({size:e=16,className:t}){return k.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:[k.jsx("path",{d:"M12 19V5"}),k.jsx("path",{d:"m5 12 7-7 7 7"})]})}function om({size:e=16,className:t}){return k.jsx("svg",{className:t,width:e,height:e,viewBox:"0 0 24 24",fill:"currentColor",stroke:"none","aria-hidden":!0,children:k.jsx("rect",{x:"6",y:"6",width:"12",height:"12",rx:"2"})})}function j4({size:e=20,className:t}){return k.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:[k.jsx("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),k.jsx("line",{x1:"5",y1:"12",x2:"19",y2:"12"})]})}function I4({size:e=20,className:t}){return k.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:[k.jsx("circle",{cx:"11",cy:"11",r:"7"}),k.jsx("line",{x1:"21",y1:"21",x2:"16.5",y2:"16.5"})]})}function R4({size:e=16,className:t}){return k.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:k.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 rv({size:e=16,className:t}){return k.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:[k.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"}),k.jsx("path",{d:"M2 10l2.5 9h15l2.5-9H7.5"})]})}function iv({size:e=16,className:t}){return k.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:[k.jsx("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"}),k.jsx("polyline",{points:"14 2 14 8 20 8"})]})}function um({size:e=16,className:t}){return k.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:[k.jsx("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"}),k.jsx("polyline",{points:"14 2 14 8 20 8"}),k.jsx("polyline",{points:"9 15 7 13 9 11"}),k.jsx("polyline",{points:"15 11 17 13 15 15"})]})}function lv({size:e=16,className:t}){return k.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:[k.jsx("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"}),k.jsx("polyline",{points:"14 2 14 8 20 8"}),k.jsx("circle",{cx:"12",cy:"15",r:"2"}),k.jsx("path",{d:"M12 11v2"}),k.jsx("path",{d:"M12 17v1"})]})}function av({size:e=16,className:t}){return k.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:[k.jsx("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"}),k.jsx("polyline",{points:"14 2 14 8 20 8"}),k.jsx("line",{x1:"8",y1:"13",x2:"16",y2:"13"}),k.jsx("line",{x1:"8",y1:"17",x2:"14",y2:"17"})]})}function sv({size:e=16,className:t}){return k.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:[k.jsx("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"}),k.jsx("polyline",{points:"14 2 14 8 20 8"}),k.jsx("circle",{cx:"10",cy:"14",r:"2"}),k.jsx("path",{d:"M20 17l-3-3-5 5"})]})}function ov({size:e=16,className:t}){return k.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:[k.jsx("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"}),k.jsx("polyline",{points:"14 2 14 8 20 8"}),k.jsx("path",{d:"M8 13h3v3H8z"}),k.jsx("line",{x1:"14",y1:"13",x2:"16",y2:"13"}),k.jsx("line",{x1:"14",y1:"16",x2:"16",y2:"16"})]})}function uv({size:e=16,className:t}){return k.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:[k.jsx("path",{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"}),k.jsx("polyline",{points:"14 2 14 8 20 8"}),k.jsx("polyline",{points:"8 15 10 13 8 11"}),k.jsx("line",{x1:"12",y1:"16",x2:"16",y2:"16"})]})}function cv({size:e=16,className:t}){return k.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:[k.jsx("path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}),k.jsx("polyline",{points:"7 10 12 15 17 10"}),k.jsx("line",{x1:"12",y1:"15",x2:"12",y2:"3"})]})}function fv({size:e=16,className:t}){return k.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:[k.jsx("polyline",{points:"23 4 23 10 17 10"}),k.jsx("path",{d:"M20.49 15a9 9 0 1 1-2.12-9.36L23 10"})]})}function hv({size:e=16,className:t}){return k.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:[k.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"}),k.jsx("line",{x1:"9",y1:"14",x2:"15",y2:"14"}),k.jsx("line",{x1:"9",y1:"18",x2:"13",y2:"18"})]})}function dv({size:e=18,className:t}){return k.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:[k.jsx("polyline",{points:"4 14 10 14 10 20"}),k.jsx("polyline",{points:"20 10 14 10 14 4"}),k.jsx("line",{x1:"14",y1:"10",x2:"21",y2:"3"}),k.jsx("line",{x1:"3",y1:"21",x2:"10",y2:"14"})]})}function mv({size:e=16,className:t}){return k.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:[k.jsx("path",{d:"M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7-10-7-10-7Z"}),k.jsx("circle",{cx:"12",cy:"12",r:"3"})]})}function pv({size:e=16,className:t}){return k.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:[k.jsx("polyline",{points:"16 18 22 12 16 6"}),k.jsx("polyline",{points:"8 6 2 12 8 18"})]})}function gv({size:e=16,className:t}){return k.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:[k.jsx("polyline",{points:"15 3 21 3 21 9"}),k.jsx("polyline",{points:"9 21 3 21 3 15"}),k.jsx("line",{x1:"21",y1:"3",x2:"14",y2:"10"}),k.jsx("line",{x1:"3",y1:"21",x2:"10",y2:"14"})]})}function vv({size:e=16,className:t}){return k.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:[k.jsx("polyline",{points:"4 14 10 14 10 20"}),k.jsx("polyline",{points:"20 10 14 10 14 4"}),k.jsx("line",{x1:"14",y1:"10",x2:"21",y2:"3"}),k.jsx("line",{x1:"3",y1:"21",x2:"10",y2:"14"})]})}function yv(e,t){const n=e.trim().toLowerCase();if(!n)return 0;const i=t.toLowerCase();let a=0,s=0,o=-2;for(let c=0;c<n.length;c++){const f=n[c],h=i.indexOf(f,s);if(h===-1)return-1;a+=1,h===o+1&&(a+=3),(h===0||/\s|[-_/.]/.test(i[h-1]??""))&&(a+=2),o=h,s=h+1}return a}function xv({sessions:e,onOpen:t,onClose:n}){const[i,a]=I.useState(""),[s,o]=I.useState(0),c=I.useRef(null);I.useEffect(()=>{var p;(p=c.current)==null||p.focus()},[]);const f=I.useMemo(()=>i.trim()?e.map(p=>({s:p,score:yv(i,p.title)})).filter(p=>p.score>=0).sort((p,x)=>x.score-p.score).map(p=>p.s):e.slice(0,50),[e,i]);I.useEffect(()=>{o(0)},[i]);const h=p=>{t(p),n()},m=p=>{if(p.key==="Escape")n();else if(p.key==="ArrowDown")p.preventDefault(),o(x=>Math.min(x+1,f.length-1));else if(p.key==="ArrowUp")p.preventDefault(),o(x=>Math.max(x-1,0));else if(p.key==="Enter"){p.preventDefault();const x=f[s];x&&h(x.sessionId)}};return k.jsx("div",{className:"search-backdrop",onClick:n,children:k.jsxs("div",{className:"search-modal",role:"dialog","aria-label":"Search sessions",onClick:p=>p.stopPropagation(),children:[k.jsxs("div",{className:"search-field",children:[k.jsx(I4,{size:20,className:"search-field-icon"}),k.jsx("input",{ref:c,className:"search-modal-input",value:i,placeholder:"Search sessions…",onChange:p=>a(p.target.value),onKeyDown:m}),k.jsx("kbd",{className:"search-esc",children:"esc"})]}),k.jsx("div",{className:"search-results",children:f.length===0?k.jsx("p",{className:"search-empty",children:i.trim()?`No sessions match "${i}".`:"No sessions yet."}):f.map((p,x)=>k.jsxs("button",{className:`search-result ${x===s?"is-active":""}`,onMouseEnter:()=>o(x),onClick:()=>h(p.sessionId),children:[k.jsx("span",{className:"search-result-title",children:p.title}),k.jsx("span",{className:"search-result-agent",children:p.agentId??"kiro_default"})]},p.sessionId))})]})})}function wv(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 kv(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 bv({onClose:e,onSelfRevoked:t}){const[n,i]=I.useState(null),[a,s]=I.useState(!1),o=()=>ot.devices().then(h=>i(h.devices)).catch(()=>i([]));I.useEffect(()=>{o()},[]);const c=async h=>{s(!0);try{if(await ot.revokeDevice(h.id),h.current){t();return}await o()}finally{s(!1)}},f=async()=>{s(!0);try{await ot.logoutAll(),t()}finally{s(!1)}};return k.jsx("div",{className:"search-backdrop",onClick:e,children:k.jsxs("div",{className:"search-modal",role:"dialog","aria-label":"Logged-in devices",onClick:h=>h.stopPropagation(),children:[k.jsxs("div",{className:"devices-head",children:[k.jsx("span",{className:"devices-title",children:"Logged-in devices"}),k.jsx("button",{className:"btn-ghost",onClick:e,children:"Close"})]}),k.jsx("div",{className:"devices-list",children:n===null?k.jsx("p",{className:"search-empty",children:"Loading…"}):n.length===0?k.jsx("p",{className:"search-empty",children:"No active devices."}):n.map(h=>k.jsxs("div",{className:"device-row",children:[k.jsxs("span",{className:"device-main",children:[k.jsxs("span",{className:"device-name",children:[kv(h.userAgent),h.current&&k.jsx("span",{className:"device-badge",children:"This device"})]}),k.jsxs("span",{className:"device-sub",children:["Active ",wv(h.lastSeenAt)]})]}),k.jsx("button",{className:"btn-ghost device-revoke",disabled:a,onClick:()=>c(h),children:h.current?"Log out":"Revoke"})]},h.id))}),n&&n.length>1&&k.jsx("div",{className:"devices-foot",children:k.jsx("button",{className:"btn-ghost device-revoke",disabled:a,onClick:f,children:"Log out all devices"})})]})})}function Sv({title:e,message:t,confirmLabel:n="Confirm",cancelLabel:i="Cancel",danger:a=!1,onConfirm:s,onCancel:o}){return I.useEffect(()=>{const c=f=>{f.key==="Escape"&&o()};return document.addEventListener("keydown",c),()=>document.removeEventListener("keydown",c)},[o]),k.jsx("div",{className:"confirm-backdrop",onClick:c=>{c.target===c.currentTarget&&o()},children:k.jsxs("div",{className:"confirm-modal",role:"dialog","aria-modal":"true","aria-label":e,children:[k.jsx("h3",{className:"confirm-title",children:e}),t&&k.jsx("p",{className:"confirm-message",children:t}),k.jsxs("div",{className:"confirm-actions",children:[k.jsx("button",{className:"btn-ghost",onClick:o,children:i}),k.jsx("button",{className:a?"btn-danger":"btn-primary",onClick:s,autoFocus:!0,children:n})]})]})})}function Cv(e){const t=e.split("/").filter(Boolean);return t.length<=2?e:`…/${t.slice(-2).join("/")}`}function Ev(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 Tv({sessions:e,activeId:t,loadingId:n,onOpen:i,onNew:a,onDelete:s,onRename:o,onLock:c}){const[f,h]=I.useState(!1),[m,p]=I.useState(!1),[x,w]=I.useState(!1),[E,N]=I.useState(null),[A,z]=I.useState(null),[R,_]=I.useState(null),[X,V]=I.useState("");I.useEffect(()=>{if(!E)return;const G=()=>N(null);return document.addEventListener("click",G),()=>document.removeEventListener("click",G)},[E]),I.useEffect(()=>{if(!x)return;const G=()=>w(!1);return document.addEventListener("click",G),()=>document.removeEventListener("click",G)},[x]);const O=G=>{const te=X.trim();te&&o(G,te),_(null)};return k.jsxs("aside",{className:"sidebar",children:[k.jsxs("header",{className:"sidebar-head",children:[k.jsxs("span",{className:"brand",children:[k.jsx("img",{className:"brand-logo",src:"/logo.svg",alt:""}),k.jsx("span",{className:"wordmark",children:"Casper"})]}),k.jsxs("div",{className:"sidebar-actions",children:[k.jsxs("div",{className:"account-menu",children:[k.jsx("button",{className:"iconbtn iconbtn-lg","aria-label":"Account",title:"Account",onClick:G=>{G.stopPropagation(),w(te=>!te)},children:k.jsx(tv,{size:18})}),x&&k.jsxs("div",{className:"menu-list",onClick:G=>G.stopPropagation(),children:[k.jsx("button",{className:"menu-item",onClick:()=>{w(!1),p(!0)},children:"Devices"}),k.jsx("button",{className:"menu-item",onClick:()=>{w(!1),c()},children:"Lock app"})]})]}),k.jsx("button",{className:"iconbtn iconbtn-lg","aria-label":"Search sessions",onClick:()=>h(!0),children:k.jsx(I4,{size:20})}),k.jsx("button",{className:"iconbtn iconbtn-lg","aria-label":"New session",title:"New session",onClick:a,children:k.jsx(j4,{size:20})})]})]}),k.jsx("div",{className:"sidebar-list",children:e.length===0?k.jsx("p",{className:"sidebar-empty",children:"No sessions yet. Start one and it keeps running while you're away."}):e.map(G=>k.jsxs("div",{className:`srow ${G.sessionId===t?"is-active":""}`,children:[R===G.sessionId?k.jsx("input",{className:"srow-rename",autoFocus:!0,value:X,onChange:te=>V(te.target.value),onBlur:()=>O(G.sessionId),onKeyDown:te=>{te.key==="Enter"&&O(G.sessionId),te.key==="Escape"&&_(null)},onClick:te=>te.stopPropagation()}):k.jsx(kf,{className:"srow-open",to:z4(G.sessionId),onClick:te=>{te.metaKey||te.ctrlKey||te.shiftKey||te.altKey||i(G.sessionId)},children:k.jsxs("span",{className:"srow-main",children:[k.jsx("span",{className:"srow-title",title:G.title,children:G.title}),k.jsxs("span",{className:"srow-sub",children:[k.jsx("span",{className:"srow-agent",children:G.agentId??"kiro_default"}),k.jsx("span",{className:"srow-dot",children:"·"}),n===G.sessionId&&k.jsx(ni,{size:11,className:"srow-spinner"}),k.jsx("span",{className:"srow-when",children:Ev(G.updatedAt)})]}),G.cwd&&k.jsx("span",{className:"srow-cwd",title:G.cwd,children:Cv(G.cwd)})]})}),k.jsxs("div",{className:"srow-menu",children:[k.jsx("button",{className:"iconbtn srow-menu-btn","aria-label":"Session actions",onClick:te=>{te.stopPropagation(),N(E===G.sessionId?null:G.sessionId)},children:"⋮"}),E===G.sessionId&&k.jsxs("div",{className:"menu-list",onClick:te=>te.stopPropagation(),children:[k.jsx("button",{className:"menu-item",onClick:()=>{V(G.title),_(G.sessionId),N(null)},children:"Rename"}),k.jsx("button",{className:"menu-item menu-item-danger",onClick:()=>{N(null),z(G.sessionId)},children:"Delete"})]})]})]},G.sessionId))}),f&&k.jsx(xv,{sessions:e,onOpen:i,onClose:()=>h(!1)}),m&&k.jsx(bv,{onClose:()=>p(!1),onSelfRevoked:()=>{p(!1),c()}}),A&&k.jsx(Sv,{title:"Delete session?",message:"This session and its history will be permanently deleted. This can't be undone.",confirmLabel:"Delete",danger:!0,onConfirm:()=>{const G=A;z(null),s(G)},onCancel:()=>z(null)})]})}function Nv(e,t){if(e<=0)return{offset:0,limit:0};const n=Math.max(0,e-t);return{offset:n,limit:e-n}}function cm(e){const t=[],n=String(e||"");let i=n.indexOf(","),a=0,s=!1;for(;!s;){i===-1&&(i=n.length,s=!0);const o=n.slice(a,i).trim();(o||!s)&&t.push(o),a=i+1,i=n.indexOf(",",a)}return t}function zv(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const Av=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Mv=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,jv={};function fm(e,t){return(jv.jsx?Mv:Av).test(e)}const Iv=/[ \t\n\f\r]/g;function Rv(e){return typeof e=="object"?e.type==="text"?hm(e.value):!1:hm(e)}function hm(e){return e.replace(Iv,"")===""}class Fa{constructor(t,n,i){this.normal=n,this.property=t,i&&(this.space=i)}}Fa.prototype.normal={};Fa.prototype.property={};Fa.prototype.space=void 0;function L4(e,t){const n={},i={};for(const a of e)Object.assign(n,a.property),Object.assign(i,a.normal);return new Fa(n,i,t)}function Ma(e){return e.toLowerCase()}class on{constructor(t,n){this.attribute=n,this.property=t}}on.prototype.attribute="";on.prototype.booleanish=!1;on.prototype.boolean=!1;on.prototype.commaOrSpaceSeparated=!1;on.prototype.commaSeparated=!1;on.prototype.defined=!1;on.prototype.mustUseProperty=!1;on.prototype.number=!1;on.prototype.overloadedBoolean=!1;on.prototype.property="";on.prototype.spaceSeparated=!1;on.prototype.space=void 0;let Lv=0;const qe=qi(),bt=qi(),Mc=qi(),de=qi(),tt=qi(),Oi=qi(),pn=qi();function qi(){return 2**++Lv}const jc=Object.freeze(Object.defineProperty({__proto__:null,boolean:qe,booleanish:bt,commaOrSpaceSeparated:pn,commaSeparated:Oi,number:de,overloadedBoolean:Mc,spaceSeparated:tt},Symbol.toStringTag,{value:"Module"})),Wu=Object.keys(jc);class bf extends on{constructor(t,n,i,a){let s=-1;if(super(t,n),dm(this,"space",a),typeof i=="number")for(;++s<Wu.length;){const o=Wu[s];dm(this,Wu[s],(i&jc[o])===jc[o])}}}bf.prototype.defined=!0;function dm(e,t,n){n&&(e[t]=n)}function Nl(e){const t={},n={};for(const[i,a]of Object.entries(e.properties)){const s=new bf(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 Fa(t,n,e.space)}const D4=Nl({properties:{ariaActiveDescendant:null,ariaAtomic:bt,ariaAutoComplete:null,ariaBusy:bt,ariaChecked:bt,ariaColCount:de,ariaColIndex:de,ariaColSpan:de,ariaControls:tt,ariaCurrent:null,ariaDescribedBy:tt,ariaDetails:null,ariaDisabled:bt,ariaDropEffect:tt,ariaErrorMessage:null,ariaExpanded:bt,ariaFlowTo:tt,ariaGrabbed:bt,ariaHasPopup:null,ariaHidden:bt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:tt,ariaLevel:de,ariaLive:null,ariaModal:bt,ariaMultiLine:bt,ariaMultiSelectable:bt,ariaOrientation:null,ariaOwns:tt,ariaPlaceholder:null,ariaPosInSet:de,ariaPressed:bt,ariaReadOnly:bt,ariaRelevant:null,ariaRequired:bt,ariaRoleDescription:tt,ariaRowCount:de,ariaRowIndex:de,ariaRowSpan:de,ariaSelected:bt,ariaSetSize:de,ariaSort:null,ariaValueMax:de,ariaValueMin:de,ariaValueNow:de,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function P4(e,t){return t in e?e[t]:t}function F4(e,t){return P4(e,t.toLowerCase())}const Dv=Nl({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Oi,acceptCharset:tt,accessKey:tt,action:null,allow:null,allowFullScreen:qe,allowPaymentRequest:qe,allowUserMedia:qe,alpha:qe,alt:null,as:null,async:qe,autoCapitalize:null,autoComplete:tt,autoFocus:qe,autoPlay:qe,blocking:tt,capture:null,charSet:null,checked:qe,cite:null,className:tt,closedBy:null,colorSpace:null,cols:de,colSpan:de,command:null,commandFor:null,content:null,contentEditable:bt,controls:qe,controlsList:tt,coords:de|Oi,crossOrigin:null,data:null,dateTime:null,decoding:null,default:qe,defer:qe,dir:null,dirName:null,disabled:qe,download:Mc,draggable:bt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:qe,formTarget:null,headers:tt,height:de,hidden:Mc,high:de,href:null,hrefLang:null,htmlFor:tt,httpEquiv:tt,id:null,imageSizes:null,imageSrcSet:null,inert:qe,inputMode:null,integrity:null,is:null,isMap:qe,itemId:null,itemProp:tt,itemRef:tt,itemScope:qe,itemType:tt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:qe,low:de,manifest:null,max:null,maxLength:de,media:null,method:null,min:null,minLength:de,multiple:qe,muted:qe,name:null,nonce:null,noModule:qe,noValidate:qe,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:qe,optimum:de,pattern:null,ping:tt,placeholder:null,playsInline:qe,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:qe,referrerPolicy:null,rel:tt,required:qe,reversed:qe,rows:de,rowSpan:de,sandbox:tt,scope:null,scoped:qe,seamless:qe,selected:qe,shadowRootClonable:qe,shadowRootCustomElementRegistry:qe,shadowRootDelegatesFocus:qe,shadowRootMode:null,shadowRootSerializable:qe,shape:null,size:de,sizes:null,slot:null,span:de,spellCheck:bt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:de,step:null,style:null,tabIndex:de,target:null,title:null,translate:null,type:null,typeMustMatch:qe,useMap:null,value:bt,width:de,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:tt,axis:null,background:null,bgColor:null,border:de,borderColor:null,bottomMargin:de,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:qe,declare:qe,event:null,face:null,frame:null,frameBorder:null,hSpace:de,leftMargin:de,link:null,longDesc:null,lowSrc:null,marginHeight:de,marginWidth:de,noResize:qe,noHref:qe,noShade:qe,noWrap:qe,object:null,profile:null,prompt:null,rev:null,rightMargin:de,rules:null,scheme:null,scrolling:bt,standby:null,summary:null,text:null,topMargin:de,valueType:null,version:null,vAlign:null,vLink:null,vSpace:de,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:qe,disablePictureInPicture:qe,disableRemotePlayback:qe,exportParts:Oi,part:tt,prefix:null,property:null,results:de,security:null,unselectable:null},space:"html",transform:F4}),Pv=Nl({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:pn,accentHeight:de,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:de,amplitude:de,arabicForm:null,ascent:de,attributeName:null,attributeType:null,azimuth:de,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:de,by:null,calcMode:null,capHeight:de,className: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:de,diffuseConstant:de,direction:null,display:null,dur:null,divisor:de,dominantBaseline:null,download:qe,dx:null,dy:null,edgeMode:null,editable:null,elevation:de,enableBackground:null,end:null,event:null,exponent:de,externalResourcesRequired:null,fill:null,fillOpacity:de,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Oi,g2:Oi,glyphName:Oi,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:de,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:de,horizOriginX:de,horizOriginY:de,id:null,ideographic:de,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:de,k:de,k1:de,k2:de,k3:de,k4:de,kernelMatrix:pn,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:de,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:de,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:de,overlineThickness:de,paintOrder:null,panose1:null,path:null,pathLength:de,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:tt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:de,pointsAtY:de,pointsAtZ:de,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:pn,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:pn,rev:pn,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:pn,requiredFeatures:pn,requiredFonts:pn,requiredFormats:pn,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:de,specularExponent:de,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:de,strikethroughThickness:de,string:null,stroke:null,strokeDashArray:pn,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:de,strokeOpacity:de,strokeWidth:null,style:null,surfaceScale:de,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:pn,tabIndex:de,tableValues:null,target:null,targetX:de,targetY:de,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:pn,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:de,underlineThickness:de,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:de,values:null,vAlphabetic:de,vMathematical:de,vectorEffect:null,vHanging:de,vIdeographic:de,version:null,vertAdvY:de,vertOriginX:de,vertOriginY:de,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:de,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:P4}),O4=Nl({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()}}),B4=Nl({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:F4}),_4=Nl({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),Fv={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"},Ov=/[A-Z]/g,mm=/-[a-z]/g,Bv=/^data[-\w.:]+$/i;function q4(e,t){const n=Ma(t);let i=t,a=on;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Bv.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(mm,qv);i="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!mm.test(s)){let o=s.replace(Ov,_v);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}a=bf}return new a(i,t)}function _v(e){return"-"+e.toLowerCase()}function qv(e){return e.charAt(1).toUpperCase()}const $4=L4([D4,Dv,O4,B4,_4],"html"),Ro=L4([D4,Pv,O4,B4,_4],"svg");function pm(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function $v(e){return e.join(" ").trim()}var gl={},Gu,gm;function Hv(){if(gm)return Gu;gm=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,c=/^\s+|\s+$/g,f=`
|
|
55
|
+
`,h="/",m="*",p="",x="comment",w="declaration";function E(A,z){if(typeof A!="string")throw new TypeError("First argument must be a string");if(!A)return[];z=z||{};var R=1,_=1;function X(ve){var ie=ve.match(t);ie&&(R+=ie.length);var Q=ve.lastIndexOf(f);_=~Q?ve.length-Q:_+ve.length}function V(){var ve={line:R,column:_};return function(ie){return ie.position=new O(ve),re(),ie}}function O(ve){this.start=ve,this.end={line:R,column:_},this.source=z.source}O.prototype.content=A;function G(ve){var ie=new Error(z.source+":"+R+":"+_+": "+ve);if(ie.reason=ve,ie.filename=z.source,ie.line=R,ie.column=_,ie.source=A,!z.silent)throw ie}function te(ve){var ie=ve.exec(A);if(ie){var Q=ie[0];return X(Q),A=A.slice(Q.length),ie}}function re(){te(n)}function H(ve){var ie;for(ve=ve||[];ie=he();)ie!==!1&&ve.push(ie);return ve}function he(){var ve=V();if(!(h!=A.charAt(0)||m!=A.charAt(1))){for(var ie=2;p!=A.charAt(ie)&&(m!=A.charAt(ie)||h!=A.charAt(ie+1));)++ie;if(ie+=2,p===A.charAt(ie-1))return G("End of comment missing");var Q=A.slice(2,ie-2);return _+=2,X(Q),A=A.slice(ie),_+=2,ve({type:x,comment:Q})}}function ne(){var ve=V(),ie=te(i);if(ie){if(he(),!te(a))return G("property missing ':'");var Q=te(s),Ee=ve({type:w,property:N(ie[0].replace(e,p)),value:Q?N(Q[0].replace(e,p)):p});return te(o),Ee}}function Te(){var ve=[];H(ve);for(var ie;ie=ne();)ie!==!1&&(ve.push(ie),H(ve));return ve}return re(),Te()}function N(A){return A?A.replace(c,p):p}return Gu=E,Gu}var vm;function Uv(){if(vm)return gl;vm=1;var e=gl&&gl.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(gl,"__esModule",{value:!0}),gl.default=n;const t=e(Hv());function n(i,a){let s=null;if(!i||typeof i!="string")return s;const o=(0,t.default)(i),c=typeof a=="function";return o.forEach(f=>{if(f.type!=="declaration")return;const{property:h,value:m}=f;c?a(h,m,f):m&&(s=s||{},s[h]=m)}),s}return gl}var va={},ym;function Vv(){if(ym)return va;ym=1,Object.defineProperty(va,"__esModule",{value:!0}),va.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,s=function(h){return!h||n.test(h)||e.test(h)},o=function(h,m){return m.toUpperCase()},c=function(h,m){return"".concat(m,"-")},f=function(h,m){return m===void 0&&(m={}),s(h)?h:(h=h.toLowerCase(),m.reactCompat?h=h.replace(a,c):h=h.replace(i,c),h.replace(t,o))};return va.camelCase=f,va}var ya,xm;function Wv(){if(xm)return ya;xm=1;var e=ya&&ya.__importDefault||function(a){return a&&a.__esModule?a:{default:a}},t=e(Uv()),n=Vv();function i(a,s){var o={};return!a||typeof a!="string"||(0,t.default)(a,function(c,f){c&&f&&(o[(0,n.camelCase)(c,s)]=f)}),o}return i.default=i,ya=i,ya}var Gv=Wv();const Yv=cf(Gv),H4=U4("end"),Sf=U4("start");function U4(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 Xv(e){const t=Sf(e),n=H4(e);if(t&&n)return{start:t,end:n}}function Ca(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?wm(e.position):"start"in e||"end"in e?wm(e):"line"in e||"column"in e?Ic(e):""}function Ic(e){return km(e&&e.line)+":"+km(e&&e.column)}function wm(e){return Ic(e&&e.start)+"-"+Ic(e&&e.end)}function km(e){return e&&typeof e=="number"?e:1}class Vt extends Error{constructor(t,n,i){super(),typeof n=="string"&&(i=n,n=void 0);let a="",s={},o=!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&&(o=!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=o&&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}}Vt.prototype.file="";Vt.prototype.name="";Vt.prototype.reason="";Vt.prototype.message="";Vt.prototype.stack="";Vt.prototype.column=void 0;Vt.prototype.line=void 0;Vt.prototype.ancestors=void 0;Vt.prototype.cause=void 0;Vt.prototype.fatal=void 0;Vt.prototype.place=void 0;Vt.prototype.ruleId=void 0;Vt.prototype.source=void 0;const Cf={}.hasOwnProperty,Kv=new Map,Qv=/[A-Z]/g,Jv=new Set(["table","tbody","thead","tfoot","tr"]),Zv=new Set(["td","th"]),V4="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function e8(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=o8(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=s8(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"?Ro:$4,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},s=W4(a,e,void 0);return s&&typeof s!="string"?s:a.create(e,a.Fragment,{children:s||void 0},void 0)}function W4(e,t,n){if(t.type==="element")return t8(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return n8(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return i8(e,t,n);if(t.type==="mdxjsEsm")return r8(e,t);if(t.type==="root")return l8(e,t,n);if(t.type==="text")return a8(e,t)}function t8(e,t,n){const i=e.schema;let a=i;t.tagName.toLowerCase()==="svg"&&i.space==="html"&&(a=Ro,e.schema=a),e.ancestors.push(t);const s=Y4(e,t.tagName,!1),o=u8(e,t);let c=Tf(e,t);return Jv.has(t.tagName)&&(c=c.filter(function(f){return typeof f=="string"?!Rv(f):!0})),G4(e,o,s,t),Ef(o,c),e.ancestors.pop(),e.schema=i,e.create(t,s,o,n)}function n8(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)}ja(e,t.position)}function r8(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);ja(e,t.position)}function i8(e,t,n){const i=e.schema;let a=i;t.name==="svg"&&i.space==="html"&&(a=Ro,e.schema=a),e.ancestors.push(t);const s=t.name===null?e.Fragment:Y4(e,t.name,!0),o=c8(e,t),c=Tf(e,t);return G4(e,o,s,t),Ef(o,c),e.ancestors.pop(),e.schema=i,e.create(t,s,o,n)}function l8(e,t,n){const i={};return Ef(i,Tf(e,t)),e.create(t,e.Fragment,i,n)}function a8(e,t){return t.value}function G4(e,t,n,i){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=i)}function Ef(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function s8(e,t,n){return i;function i(a,s,o,c){const h=Array.isArray(o.children)?n:t;return c?h(s,o,c):h(s,o)}}function o8(e,t){return n;function n(i,a,s,o){const c=Array.isArray(s.children),f=Sf(i);return t(a,s,o,c,{columnNumber:f?f.column-1:void 0,fileName:e,lineNumber:f?f.line:void 0},void 0)}}function u8(e,t){const n={};let i,a;for(a in t.properties)if(a!=="children"&&Cf.call(t.properties,a)){const s=f8(e,a,t.properties[a]);if(s){const[o,c]=s;e.tableCellAlignToStyle&&o==="align"&&typeof c=="string"&&Zv.has(t.tagName)?i=c:n[o]=c}}if(i){const s=n.style||(n.style={});s[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=i}return n}function c8(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 o=s.expression;o.type;const c=o.properties[0];c.type,Object.assign(n,e.evaluater.evaluateExpression(c.argument))}else ja(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 ja(e,t.position);else s=i.value===null?!0:i.value;n[a]=s}return n}function Tf(e,t){const n=[];let i=-1;const a=e.passKeys?new Map:Kv;for(;++i<t.children.length;){const s=t.children[i];let o;if(e.passKeys){const f=s.type==="element"?s.tagName:s.type==="mdxJsxFlowElement"||s.type==="mdxJsxTextElement"?s.name:void 0;if(f){const h=a.get(f)||0;o=f+"-"+h,a.set(f,h+1)}}const c=W4(e,s,o);c!==void 0&&n.push(c)}return n}function f8(e,t,n){const i=q4(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=i.commaSeparated?zv(n):$v(n)),i.property==="style"){let a=typeof n=="object"?n:h8(e,String(n));return e.stylePropertyNameCase==="css"&&(a=d8(a)),["style",a]}return[e.elementAttributeNameCase==="react"&&i.space?Fv[i.property]||i.property:i.attribute,n]}}function h8(e,t){try{return Yv(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const i=n,a=new Vt("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=V4+"#cannot-parse-style-attribute",a}}function Y4(e,t,n){let i;if(!n)i={type:"Literal",value:t};else if(t.includes(".")){const a=t.split(".");let s=-1,o;for(;++s<a.length;){const c=fm(a[s])?{type:"Identifier",name:a[s]}:{type:"Literal",value:a[s]};o=o?{type:"MemberExpression",object:o,property:c,computed:!!(s&&c.type==="Literal"),optional:!1}:c}i=o}else i=fm(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(i.type==="Literal"){const a=i.value;return Cf.call(e.components,a)?e.components[a]:a}if(e.evaluater)return e.evaluater.evaluateExpression(i);ja(e)}function ja(e,t){const n=new Vt("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=V4+"#cannot-handle-mdx-estrees-without-createevaluater",n}function d8(e){const t={};let n;for(n in e)Cf.call(e,n)&&(t[m8(n)]=e[n]);return t}function m8(e){let t=e.replace(Qv,p8);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function p8(e){return"-"+e.toLowerCase()}const Yu={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"]},g8={};function Nf(e,t){const n=g8,i=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,a=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return X4(e,i,a)}function X4(e,t,n){if(v8(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 bm(e.children,t,n)}return Array.isArray(e)?bm(e,t,n):""}function bm(e,t,n){const i=[];let a=-1;for(;++a<e.length;)i[a]=X4(e[a],t,n);return i.join("")}function v8(e){return!!(e&&typeof e=="object")}const Sm=document.createElement("i");function zf(e){const t="&"+e+";";Sm.innerHTML=t;const n=Sm.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function gn(e,t,n,i){const a=e.length;let s=0,o;if(t<0?t=-t>a?0:a+t:t=t>a?a:t,n=n>0?n:0,i.length<1e4)o=Array.from(i),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);s<i.length;)o=i.slice(s,s+1e4),o.unshift(t,0),e.splice(...o),s+=1e4,t+=1e4}function Mn(e,t){return e.length>0?(gn(e,e.length,0,t),e):t}const Cm={}.hasOwnProperty;function K4(e){const t={};let n=-1;for(;++n<e.length;)y8(t,e[n]);return t}function y8(e,t){let n;for(n in t){const a=(Cm.call(e,n)?e[n]:void 0)||(e[n]={}),s=t[n];let o;if(s)for(o in s){Cm.call(a,o)||(a[o]=[]);const c=s[o];x8(a[o],Array.isArray(c)?c:c?[c]:[])}}}function x8(e,t){let n=-1;const i=[];for(;++n<t.length;)(t[n].add==="after"?e:i).push(t[n]);gn(e,0,0,i)}function Q4(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 Un(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Kt=si(/[A-Za-z]/),Ht=si(/[\dA-Za-z]/),w8=si(/[#-'*+\--9=?A-Z^-~]/);function yo(e){return e!==null&&(e<32||e===127)}const Rc=si(/\d/),k8=si(/[\dA-Fa-f]/),b8=si(/[!-/:-@[-`{-~]/);function je(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 Lo=si(new RegExp("\\p{P}|\\p{S}","u")),Bi=si(/\s/);function si(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function zl(e){const t=[];let n=-1,i=0,a=0;for(;++n<e.length;){const s=e.charCodeAt(n);let o="";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))||(o=String.fromCharCode(s));else if(s>55295&&s<57344){const c=e.charCodeAt(n+1);s<56320&&c>56319&&c<57344?(o=String.fromCharCode(s,c),a=1):o="�"}else o=String.fromCharCode(s);o&&(t.push(e.slice(i,n),encodeURIComponent(o)),i=n+a+1,o=""),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 o;function o(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 S8={tokenize:C8};function C8(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,o(c)}function o(c){if(c===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(c);return}return je(c)?(e.consume(c),e.exit("chunkText"),s):(e.consume(c),o)}}const E8={tokenize:T8},Em={tokenize:N8};function T8(e){const t=this,n=[];let i=0,a,s,o;return c;function c(_){if(i<n.length){const X=n[i];return t.containerState=X[1],e.attempt(X[0].continuation,f,h)(_)}return h(_)}function f(_){if(i++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,a&&R();const X=t.events.length;let V=X,O;for(;V--;)if(t.events[V][0]==="exit"&&t.events[V][1].type==="chunkFlow"){O=t.events[V][1].end;break}z(i);let G=X;for(;G<t.events.length;)t.events[G][1].end={...O},G++;return gn(t.events,V+1,0,t.events.slice(X)),t.events.length=G,h(_)}return c(_)}function h(_){if(i===n.length){if(!a)return x(_);if(a.currentConstruct&&a.currentConstruct.concrete)return E(_);t.interrupt=!!(a.currentConstruct&&!a._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Em,m,p)(_)}function m(_){return a&&R(),z(i),x(_)}function p(_){return t.parser.lazy[t.now().line]=i!==n.length,o=t.now().offset,E(_)}function x(_){return t.containerState={},e.attempt(Em,w,E)(_)}function w(_){return i++,n.push([t.currentConstruct,t.containerState]),x(_)}function E(_){if(_===null){a&&R(),z(0),e.consume(_);return}return a=a||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:a,contentType:"flow",previous:s}),N(_)}function N(_){if(_===null){A(e.exit("chunkFlow"),!0),z(0),e.consume(_);return}return je(_)?(e.consume(_),A(e.exit("chunkFlow")),i=0,t.interrupt=void 0,c):(e.consume(_),N)}function A(_,X){const V=t.sliceStream(_);if(X&&V.push(null),_.previous=s,s&&(s.next=_),s=_,a.defineSkip(_.start),a.write(V),t.parser.lazy[_.start.line]){let O=a.events.length;for(;O--;)if(a.events[O][1].start.offset<o&&(!a.events[O][1].end||a.events[O][1].end.offset>o))return;const G=t.events.length;let te=G,re,H;for(;te--;)if(t.events[te][0]==="exit"&&t.events[te][1].type==="chunkFlow"){if(re){H=t.events[te][1].end;break}re=!0}for(z(i),O=G;O<t.events.length;)t.events[O][1].end={...H},O++;gn(t.events,te+1,0,t.events.slice(G)),t.events.length=O}}function z(_){let X=n.length;for(;X-- >_;){const V=n[X];t.containerState=V[1],V[0].exit.call(t,e)}n.length=_}function R(){a.write([null]),s=void 0,a=void 0,t.containerState._closeFlow=void 0}}function N8(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 wl(e){if(e===null||nt(e)||Bi(e))return 1;if(Lo(e))return 2}function Do(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 Lc={name:"attention",resolveAll:z8,tokenize:A8};function z8(e,t){let n=-1,i,a,s,o,c,f,h,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},x={...e[n][1].start};Tm(p,-f),Tm(x,f),o={type:f>1?"strongSequence":"emphasisSequence",start:p,end:{...e[i][1].end}},c={type:f>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:x},s={type:f>1?"strongText":"emphasisText",start:{...e[i][1].end},end:{...e[n][1].start}},a={type:f>1?"strong":"emphasis",start:{...o.start},end:{...c.end}},e[i][1].end={...o.start},e[n][1].start={...c.end},h=[],e[i][1].end.offset-e[i][1].start.offset&&(h=Mn(h,[["enter",e[i][1],t],["exit",e[i][1],t]])),h=Mn(h,[["enter",a,t],["enter",o,t],["exit",o,t],["enter",s,t]]),h=Mn(h,Do(t.parser.constructs.insideSpan.null,e.slice(i+1,n),t)),h=Mn(h,[["exit",s,t],["enter",c,t],["exit",c,t],["exit",a,t]]),e[n][1].end.offset-e[n][1].start.offset?(m=2,h=Mn(h,[["enter",e[n][1],t],["exit",e[n][1],t]])):m=0,gn(e,i-1,n-i+3,h),n=i+h.length-m-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function A8(e,t){const n=this.parser.constructs.attentionMarkers.null,i=this.previous,a=wl(i);let s;return o;function o(f){return s=f,e.enter("attentionSequence"),c(f)}function c(f){if(f===s)return e.consume(f),c;const h=e.exit("attentionSequence"),m=wl(f),p=!m||m===2&&a||n.includes(f),x=!a||a===2&&m||n.includes(i);return h._open=!!(s===42?p:p&&(a||!x)),h._close=!!(s===42?x:x&&(m||!p)),t(f)}}function Tm(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const M8={name:"autolink",tokenize:j8};function j8(e,t,n){let i=0;return a;function a(w){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(w),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),s}function s(w){return Kt(w)?(e.consume(w),o):w===64?n(w):h(w)}function o(w){return w===43||w===45||w===46||Ht(w)?(i=1,c(w)):h(w)}function c(w){return w===58?(e.consume(w),i=0,f):(w===43||w===45||w===46||Ht(w))&&i++<32?(e.consume(w),c):(i=0,h(w))}function f(w){return w===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(w),e.exit("autolinkMarker"),e.exit("autolink"),t):w===null||w===32||w===60||yo(w)?n(w):(e.consume(w),f)}function h(w){return w===64?(e.consume(w),m):w8(w)?(e.consume(w),h):n(w)}function m(w){return Ht(w)?p(w):n(w)}function p(w){return w===46?(e.consume(w),i=0,m):w===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(w),e.exit("autolinkMarker"),e.exit("autolink"),t):x(w)}function x(w){if((w===45||Ht(w))&&i++<63){const E=w===45?x:p;return e.consume(w),E}return n(w)}}const Oa={partial:!0,tokenize:I8};function I8(e,t,n){return i;function i(s){return Ge(s)?We(e,a,"linePrefix")(s):a(s)}function a(s){return s===null||je(s)?t(s):n(s)}}const J4={continuation:{tokenize:L8},exit:D8,name:"blockQuote",tokenize:R8};function R8(e,t,n){const i=this;return a;function a(o){if(o===62){const c=i.containerState;return c.open||(e.enter("blockQuote",{_container:!0}),c.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),s}return n(o)}function s(o){return Ge(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}function L8(e,t,n){const i=this;return a;function a(o){return Ge(o)?We(e,s,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):s(o)}function s(o){return e.attempt(J4,t,n)(o)}}function D8(e){e.exit("blockQuote")}const Z4={name:"characterEscape",tokenize:P8};function P8(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 b8(s)?(e.enter("characterEscapeValue"),e.consume(s),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(s)}}const e2={name:"characterReference",tokenize:F8};function F8(e,t,n){const i=this;let a=0,s,o;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"),h):(e.enter("characterReferenceValue"),s=31,o=Ht,m(p))}function h(p){return p===88||p===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(p),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),s=6,o=k8,m):(e.enter("characterReferenceValue"),s=7,o=Rc,m(p))}function m(p){if(p===59&&a){const x=e.exit("characterReferenceValue");return o===Ht&&!zf(i.sliceSerialize(x))?n(p):(e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return o(p)&&a++<s?(e.consume(p),m):n(p)}}const Nm={partial:!0,tokenize:B8},zm={concrete:!0,name:"codeFenced",tokenize:O8};function O8(e,t,n){const i=this,a={partial:!0,tokenize:V};let s=0,o=0,c;return f;function f(O){return h(O)}function h(O){const G=i.events[i.events.length-1];return s=G&&G[1].type==="linePrefix"?G[2].sliceSerialize(G[1],!0).length:0,c=O,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),m(O)}function m(O){return O===c?(o++,e.consume(O),m):o<3?n(O):(e.exit("codeFencedFenceSequence"),Ge(O)?We(e,p,"whitespace")(O):p(O))}function p(O){return O===null||je(O)?(e.exit("codeFencedFence"),i.interrupt?t(O):e.check(Nm,N,X)(O)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),x(O))}function x(O){return O===null||je(O)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),p(O)):Ge(O)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),We(e,w,"whitespace")(O)):O===96&&O===c?n(O):(e.consume(O),x)}function w(O){return O===null||je(O)?p(O):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),E(O))}function E(O){return O===null||je(O)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),p(O)):O===96&&O===c?n(O):(e.consume(O),E)}function N(O){return e.attempt(a,X,A)(O)}function A(O){return e.enter("lineEnding"),e.consume(O),e.exit("lineEnding"),z}function z(O){return s>0&&Ge(O)?We(e,R,"linePrefix",s+1)(O):R(O)}function R(O){return O===null||je(O)?e.check(Nm,N,X)(O):(e.enter("codeFlowValue"),_(O))}function _(O){return O===null||je(O)?(e.exit("codeFlowValue"),R(O)):(e.consume(O),_)}function X(O){return e.exit("codeFenced"),t(O)}function V(O,G,te){let re=0;return H;function H(ie){return O.enter("lineEnding"),O.consume(ie),O.exit("lineEnding"),he}function he(ie){return O.enter("codeFencedFence"),Ge(ie)?We(O,ne,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ie):ne(ie)}function ne(ie){return ie===c?(O.enter("codeFencedFenceSequence"),Te(ie)):te(ie)}function Te(ie){return ie===c?(re++,O.consume(ie),Te):re>=o?(O.exit("codeFencedFenceSequence"),Ge(ie)?We(O,ve,"whitespace")(ie):ve(ie)):te(ie)}function ve(ie){return ie===null||je(ie)?(O.exit("codeFencedFence"),G(ie)):te(ie)}}}function B8(e,t,n){const i=this;return a;function a(o){return o===null?n(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),s)}function s(o){return i.parser.lazy[i.now().line]?n(o):t(o)}}const Xu={name:"codeIndented",tokenize:q8},_8={partial:!0,tokenize:$8};function q8(e,t,n){const i=this;return a;function a(h){return e.enter("codeIndented"),We(e,s,"linePrefix",5)(h)}function s(h){const m=i.events[i.events.length-1];return m&&m[1].type==="linePrefix"&&m[2].sliceSerialize(m[1],!0).length>=4?o(h):n(h)}function o(h){return h===null?f(h):je(h)?e.attempt(_8,o,f)(h):(e.enter("codeFlowValue"),c(h))}function c(h){return h===null||je(h)?(e.exit("codeFlowValue"),o(h)):(e.consume(h),c)}function f(h){return e.exit("codeIndented"),t(h)}}function $8(e,t,n){const i=this;return a;function a(o){return i.parser.lazy[i.now().line]?n(o):je(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a):We(e,s,"linePrefix",5)(o)}function s(o){const c=i.events[i.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?t(o):je(o)?a(o):n(o)}}const H8={name:"codeText",previous:V8,resolve:U8,tokenize:W8};function U8(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 V8(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function W8(e,t,n){let i=0,a,s;return o;function o(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)):je(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),f):(e.enter("codeTextData"),h(p))}function h(p){return p===null||p===32||p===96||je(p)?(e.exit("codeTextData"),f(p)):(e.consume(p),h)}function m(p){return p===96?(e.consume(p),a++,m):a===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(p)):(s.type="codeTextData",h(p))}}class G8{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&&xa(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),xa(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),xa(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);xa(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);xa(this.left,n.reverse())}}}function xa(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 t2(e){const t={};let n=-1,i,a,s,o,c,f,h;const m=new G8(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,Y8(m,n)),n=t[n],h=!0);else if(i[1]._container){for(s=n,a=void 0;s--;)if(o=m.get(s),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank")o[0]==="enter"&&(a&&(m.get(a)[1].type="lineEndingBlank"),o[1].type="lineEnding",a=s);else if(!(o[1].type==="linePrefix"||o[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 gn(e,0,Number.POSITIVE_INFINITY,m.slice(0)),!h}function Y8(e,t){const n=e.get(t)[1],i=e.get(t)[2];let a=t-1;const s=[];let o=n._tokenizer;o||(o=i.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));const c=o.events,f=[],h={};let m,p,x=-1,w=n,E=0,N=0;const A=[N];for(;w;){for(;e.get(++a)[1]!==w;);s.push(a),w._tokenizer||(m=i.sliceStream(w),w.next||m.push(null),p&&o.defineSkip(w.start),w._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(m),w._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),p=w,w=w.next}for(w=n;++x<c.length;)c[x][0]==="exit"&&c[x-1][0]==="enter"&&c[x][1].type===c[x-1][1].type&&c[x][1].start.line!==c[x][1].end.line&&(N=x+1,A.push(N),w._tokenizer=void 0,w.previous=void 0,w=w.next);for(o.events=[],w?(w._tokenizer=void 0,w.previous=void 0):A.pop(),x=A.length;x--;){const z=c.slice(A[x],A[x+1]),R=s.pop();f.push([R,R+z.length-1]),e.splice(R,2,z)}for(f.reverse(),x=-1;++x<f.length;)h[E+f[x][0]]=E+f[x][1],E+=f[x][1]-f[x][0]-1;return h}const X8={resolve:Q8,tokenize:J8},K8={partial:!0,tokenize:Z8};function Q8(e){return t2(e),e}function J8(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):je(c)?e.check(K8,o,s)(c):(e.consume(c),a)}function s(c){return e.exit("chunkContent"),e.exit("content"),t(c)}function o(c){return e.consume(c),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,a}}function Z8(e,t,n){const i=this;return a;function a(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),We(e,s,"linePrefix")}function s(o){if(o===null||je(o))return n(o);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(o):e.interrupt(i.parser.constructs.flow,n,t)(o)}}function n2(e,t,n,i,a,s,o,c,f){const h=f||Number.POSITIVE_INFINITY;let m=0;return p;function p(z){return z===60?(e.enter(i),e.enter(a),e.enter(s),e.consume(z),e.exit(s),x):z===null||z===32||z===41||yo(z)?n(z):(e.enter(i),e.enter(o),e.enter(c),e.enter("chunkString",{contentType:"string"}),N(z))}function x(z){return z===62?(e.enter(s),e.consume(z),e.exit(s),e.exit(a),e.exit(i),t):(e.enter(c),e.enter("chunkString",{contentType:"string"}),w(z))}function w(z){return z===62?(e.exit("chunkString"),e.exit(c),x(z)):z===null||z===60||je(z)?n(z):(e.consume(z),z===92?E:w)}function E(z){return z===60||z===62||z===92?(e.consume(z),w):w(z)}function N(z){return!m&&(z===null||z===41||nt(z))?(e.exit("chunkString"),e.exit(c),e.exit(o),e.exit(i),t(z)):m<h&&z===40?(e.consume(z),m++,N):z===41?(e.consume(z),m--,N):z===null||z===32||z===40||yo(z)?n(z):(e.consume(z),z===92?A:N)}function A(z){return z===40||z===41||z===92?(e.consume(z),N):N(z)}}function r2(e,t,n,i,a,s){const o=this;let c=0,f;return h;function h(w){return e.enter(i),e.enter(a),e.consume(w),e.exit(a),e.enter(s),m}function m(w){return c>999||w===null||w===91||w===93&&!f||w===94&&!c&&"_hiddenFootnoteSupport"in o.parser.constructs?n(w):w===93?(e.exit(s),e.enter(a),e.consume(w),e.exit(a),e.exit(i),t):je(w)?(e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),m):(e.enter("chunkString",{contentType:"string"}),p(w))}function p(w){return w===null||w===91||w===93||je(w)||c++>999?(e.exit("chunkString"),m(w)):(e.consume(w),f||(f=!Ge(w)),w===92?x:p)}function x(w){return w===91||w===92||w===93?(e.consume(w),c++,p):p(w)}}function i2(e,t,n,i,a,s){let o;return c;function c(x){return x===34||x===39||x===40?(e.enter(i),e.enter(a),e.consume(x),e.exit(a),o=x===40?41:x,f):n(x)}function f(x){return x===o?(e.enter(a),e.consume(x),e.exit(a),e.exit(i),t):(e.enter(s),h(x))}function h(x){return x===o?(e.exit(s),f(o)):x===null?n(x):je(x)?(e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),We(e,h,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),m(x))}function m(x){return x===o||x===null||je(x)?(e.exit("chunkString"),h(x)):(e.consume(x),x===92?p:m)}function p(x){return x===o||x===92?(e.consume(x),m):m(x)}}function Ea(e,t){let n;return i;function i(a){return je(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 ey={name:"definition",tokenize:ny},ty={partial:!0,tokenize:ry};function ny(e,t,n){const i=this;let a;return s;function s(w){return e.enter("definition"),o(w)}function o(w){return r2.call(i,e,c,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(w)}function c(w){return a=Un(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),w===58?(e.enter("definitionMarker"),e.consume(w),e.exit("definitionMarker"),f):n(w)}function f(w){return nt(w)?Ea(e,h)(w):h(w)}function h(w){return n2(e,m,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(w)}function m(w){return e.attempt(ty,p,p)(w)}function p(w){return Ge(w)?We(e,x,"whitespace")(w):x(w)}function x(w){return w===null||je(w)?(e.exit("definition"),i.parser.defined.push(a),t(w)):n(w)}}function ry(e,t,n){return i;function i(c){return nt(c)?Ea(e,a)(c):n(c)}function a(c){return i2(e,s,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(c)}function s(c){return Ge(c)?We(e,o,"whitespace")(c):o(c)}function o(c){return c===null||je(c)?t(c):n(c)}}const iy={name:"hardBreakEscape",tokenize:ly};function ly(e,t,n){return i;function i(s){return e.enter("hardBreakEscape"),e.consume(s),a}function a(s){return je(s)?(e.exit("hardBreakEscape"),t(s)):n(s)}}const ay={name:"headingAtx",resolve:sy,tokenize:oy};function sy(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"},gn(e,i,n-i+1,[["enter",a,t],["enter",s,t],["exit",s,t],["exit",a,t]])),e}function oy(e,t,n){let i=0;return a;function a(m){return e.enter("atxHeading"),s(m)}function s(m){return e.enter("atxHeadingSequence"),o(m)}function o(m){return m===35&&i++<6?(e.consume(m),o):m===null||nt(m)?(e.exit("atxHeadingSequence"),c(m)):n(m)}function c(m){return m===35?(e.enter("atxHeadingSequence"),f(m)):m===null||je(m)?(e.exit("atxHeading"),t(m)):Ge(m)?We(e,c,"whitespace")(m):(e.enter("atxHeadingText"),h(m))}function f(m){return m===35?(e.consume(m),f):(e.exit("atxHeadingSequence"),c(m))}function h(m){return m===null||m===35||nt(m)?(e.exit("atxHeadingText"),c(m)):(e.consume(m),h)}}const uy=["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"],Am=["pre","script","style","textarea"],cy={concrete:!0,name:"htmlFlow",resolveTo:dy,tokenize:my},fy={partial:!0,tokenize:gy},hy={partial:!0,tokenize:py};function dy(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 my(e,t,n){const i=this;let a,s,o,c,f;return h;function h(j){return m(j)}function m(j){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(j),p}function p(j){return j===33?(e.consume(j),x):j===47?(e.consume(j),s=!0,N):j===63?(e.consume(j),a=3,i.interrupt?t:M):Kt(j)?(e.consume(j),o=String.fromCharCode(j),A):n(j)}function x(j){return j===45?(e.consume(j),a=2,w):j===91?(e.consume(j),a=5,c=0,E):Kt(j)?(e.consume(j),a=4,i.interrupt?t:M):n(j)}function w(j){return j===45?(e.consume(j),i.interrupt?t:M):n(j)}function E(j){const Z="CDATA[";return j===Z.charCodeAt(c++)?(e.consume(j),c===Z.length?i.interrupt?t:ne:E):n(j)}function N(j){return Kt(j)?(e.consume(j),o=String.fromCharCode(j),A):n(j)}function A(j){if(j===null||j===47||j===62||nt(j)){const Z=j===47,xe=o.toLowerCase();return!Z&&!s&&Am.includes(xe)?(a=1,i.interrupt?t(j):ne(j)):uy.includes(o.toLowerCase())?(a=6,Z?(e.consume(j),z):i.interrupt?t(j):ne(j)):(a=7,i.interrupt&&!i.parser.lazy[i.now().line]?n(j):s?R(j):_(j))}return j===45||Ht(j)?(e.consume(j),o+=String.fromCharCode(j),A):n(j)}function z(j){return j===62?(e.consume(j),i.interrupt?t:ne):n(j)}function R(j){return Ge(j)?(e.consume(j),R):H(j)}function _(j){return j===47?(e.consume(j),H):j===58||j===95||Kt(j)?(e.consume(j),X):Ge(j)?(e.consume(j),_):H(j)}function X(j){return j===45||j===46||j===58||j===95||Ht(j)?(e.consume(j),X):V(j)}function V(j){return j===61?(e.consume(j),O):Ge(j)?(e.consume(j),V):_(j)}function O(j){return j===null||j===60||j===61||j===62||j===96?n(j):j===34||j===39?(e.consume(j),f=j,G):Ge(j)?(e.consume(j),O):te(j)}function G(j){return j===f?(e.consume(j),f=null,re):j===null||je(j)?n(j):(e.consume(j),G)}function te(j){return j===null||j===34||j===39||j===47||j===60||j===61||j===62||j===96||nt(j)?V(j):(e.consume(j),te)}function re(j){return j===47||j===62||Ge(j)?_(j):n(j)}function H(j){return j===62?(e.consume(j),he):n(j)}function he(j){return j===null||je(j)?ne(j):Ge(j)?(e.consume(j),he):n(j)}function ne(j){return j===45&&a===2?(e.consume(j),Q):j===60&&a===1?(e.consume(j),Ee):j===62&&a===4?(e.consume(j),F):j===63&&a===3?(e.consume(j),M):j===93&&a===5?(e.consume(j),J):je(j)&&(a===6||a===7)?(e.exit("htmlFlowData"),e.check(fy,K,Te)(j)):j===null||je(j)?(e.exit("htmlFlowData"),Te(j)):(e.consume(j),ne)}function Te(j){return e.check(hy,ve,K)(j)}function ve(j){return e.enter("lineEnding"),e.consume(j),e.exit("lineEnding"),ie}function ie(j){return j===null||je(j)?Te(j):(e.enter("htmlFlowData"),ne(j))}function Q(j){return j===45?(e.consume(j),M):ne(j)}function Ee(j){return j===47?(e.consume(j),o="",oe):ne(j)}function oe(j){if(j===62){const Z=o.toLowerCase();return Am.includes(Z)?(e.consume(j),F):ne(j)}return Kt(j)&&o.length<8?(e.consume(j),o+=String.fromCharCode(j),oe):ne(j)}function J(j){return j===93?(e.consume(j),M):ne(j)}function M(j){return j===62?(e.consume(j),F):j===45&&a===2?(e.consume(j),M):ne(j)}function F(j){return j===null||je(j)?(e.exit("htmlFlowData"),K(j)):(e.consume(j),F)}function K(j){return e.exit("htmlFlow"),t(j)}}function py(e,t,n){const i=this;return a;function a(o){return je(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),s):n(o)}function s(o){return i.parser.lazy[i.now().line]?n(o):t(o)}}function gy(e,t,n){return i;function i(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),e.attempt(Oa,t,n)}}const vy={name:"htmlText",tokenize:yy};function yy(e,t,n){const i=this;let a,s,o;return c;function c(M){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(M),f}function f(M){return M===33?(e.consume(M),h):M===47?(e.consume(M),V):M===63?(e.consume(M),_):Kt(M)?(e.consume(M),te):n(M)}function h(M){return M===45?(e.consume(M),m):M===91?(e.consume(M),s=0,E):Kt(M)?(e.consume(M),R):n(M)}function m(M){return M===45?(e.consume(M),w):n(M)}function p(M){return M===null?n(M):M===45?(e.consume(M),x):je(M)?(o=p,Ee(M)):(e.consume(M),p)}function x(M){return M===45?(e.consume(M),w):p(M)}function w(M){return M===62?Q(M):M===45?x(M):p(M)}function E(M){const F="CDATA[";return M===F.charCodeAt(s++)?(e.consume(M),s===F.length?N:E):n(M)}function N(M){return M===null?n(M):M===93?(e.consume(M),A):je(M)?(o=N,Ee(M)):(e.consume(M),N)}function A(M){return M===93?(e.consume(M),z):N(M)}function z(M){return M===62?Q(M):M===93?(e.consume(M),z):N(M)}function R(M){return M===null||M===62?Q(M):je(M)?(o=R,Ee(M)):(e.consume(M),R)}function _(M){return M===null?n(M):M===63?(e.consume(M),X):je(M)?(o=_,Ee(M)):(e.consume(M),_)}function X(M){return M===62?Q(M):_(M)}function V(M){return Kt(M)?(e.consume(M),O):n(M)}function O(M){return M===45||Ht(M)?(e.consume(M),O):G(M)}function G(M){return je(M)?(o=G,Ee(M)):Ge(M)?(e.consume(M),G):Q(M)}function te(M){return M===45||Ht(M)?(e.consume(M),te):M===47||M===62||nt(M)?re(M):n(M)}function re(M){return M===47?(e.consume(M),Q):M===58||M===95||Kt(M)?(e.consume(M),H):je(M)?(o=re,Ee(M)):Ge(M)?(e.consume(M),re):Q(M)}function H(M){return M===45||M===46||M===58||M===95||Ht(M)?(e.consume(M),H):he(M)}function he(M){return M===61?(e.consume(M),ne):je(M)?(o=he,Ee(M)):Ge(M)?(e.consume(M),he):re(M)}function ne(M){return M===null||M===60||M===61||M===62||M===96?n(M):M===34||M===39?(e.consume(M),a=M,Te):je(M)?(o=ne,Ee(M)):Ge(M)?(e.consume(M),ne):(e.consume(M),ve)}function Te(M){return M===a?(e.consume(M),a=void 0,ie):M===null?n(M):je(M)?(o=Te,Ee(M)):(e.consume(M),Te)}function ve(M){return M===null||M===34||M===39||M===60||M===61||M===96?n(M):M===47||M===62||nt(M)?re(M):(e.consume(M),ve)}function ie(M){return M===47||M===62||nt(M)?re(M):n(M)}function Q(M){return M===62?(e.consume(M),e.exit("htmlTextData"),e.exit("htmlText"),t):n(M)}function Ee(M){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(M),e.exit("lineEnding"),oe}function oe(M){return Ge(M)?We(e,J,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(M):J(M)}function J(M){return e.enter("htmlTextData"),o(M)}}const Af={name:"labelEnd",resolveAll:by,resolveTo:Sy,tokenize:Cy},xy={tokenize:Ey},wy={tokenize:Ty},ky={tokenize:Ny};function by(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&&gn(e,0,e.length,n),e}function Sy(e,t){let n=e.length,i=0,a,s,o,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(o){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"&&(o=n);const f={type:e[s][1].type==="labelLink"?"link":"image",start:{...e[s][1].start},end:{...e[e.length-1][1].end}},h={type:"label",start:{...e[s][1].start},end:{...e[o][1].end}},m={type:"labelText",start:{...e[s+i+2][1].end},end:{...e[o-2][1].start}};return c=[["enter",f,t],["enter",h,t]],c=Mn(c,e.slice(s+1,s+i+3)),c=Mn(c,[["enter",m,t]]),c=Mn(c,Do(t.parser.constructs.insideSpan.null,e.slice(s+i+4,o-3),t)),c=Mn(c,[["exit",m,t],e[o-2],e[o-1],["exit",h,t]]),c=Mn(c,e.slice(o+1)),c=Mn(c,[["exit",f,t]]),gn(e,s,e.length,c),e}function Cy(e,t,n){const i=this;let a=i.events.length,s,o;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(x){return s?s._inactive?p(x):(o=i.parser.defined.includes(Un(i.sliceSerialize({start:s.end,end:i.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(x),e.exit("labelMarker"),e.exit("labelEnd"),f):n(x)}function f(x){return x===40?e.attempt(xy,m,o?m:p)(x):x===91?e.attempt(wy,m,o?h:p)(x):o?m(x):p(x)}function h(x){return e.attempt(ky,m,p)(x)}function m(x){return t(x)}function p(x){return s._balanced=!0,n(x)}}function Ey(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)?Ea(e,s)(p):s(p)}function s(p){return p===41?m(p):n2(e,o,c,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(p)}function o(p){return nt(p)?Ea(e,f)(p):m(p)}function c(p){return n(p)}function f(p){return p===34||p===39||p===40?i2(e,h,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(p):m(p)}function h(p){return nt(p)?Ea(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 Ty(e,t,n){const i=this;return a;function a(c){return r2.call(i,e,s,o,"reference","referenceMarker","referenceString")(c)}function s(c){return i.parser.defined.includes(Un(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)))?t(c):n(c)}function o(c){return n(c)}}function Ny(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 zy={name:"labelStartImage",resolveAll:Af.resolveAll,tokenize:Ay};function Ay(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"),o):n(c)}function o(c){return c===94&&"_hiddenFootnoteSupport"in i.parser.constructs?n(c):t(c)}}const My={name:"labelStartLink",resolveAll:Af.resolveAll,tokenize:jy};function jy(e,t,n){const i=this;return a;function a(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),s}function s(o){return o===94&&"_hiddenFootnoteSupport"in i.parser.constructs?n(o):t(o)}}const Ku={name:"lineEnding",tokenize:Iy};function Iy(e,t){return n;function n(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),We(e,t,"linePrefix")}}const ho={name:"thematicBreak",tokenize:Ry};function Ry(e,t,n){let i=0,a;return s;function s(h){return e.enter("thematicBreak"),o(h)}function o(h){return a=h,c(h)}function c(h){return h===a?(e.enter("thematicBreakSequence"),f(h)):i>=3&&(h===null||je(h))?(e.exit("thematicBreak"),t(h)):n(h)}function f(h){return h===a?(e.consume(h),i++,f):(e.exit("thematicBreakSequence"),Ge(h)?We(e,c,"whitespace")(h):c(h))}}const an={continuation:{tokenize:Fy},exit:By,name:"list",tokenize:Py},Ly={partial:!0,tokenize:_y},Dy={partial:!0,tokenize:Oy};function Py(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,o=0;return c;function c(w){const E=i.containerState.type||(w===42||w===43||w===45?"listUnordered":"listOrdered");if(E==="listUnordered"?!i.containerState.marker||w===i.containerState.marker:Rc(w)){if(i.containerState.type||(i.containerState.type=E,e.enter(E,{_container:!0})),E==="listUnordered")return e.enter("listItemPrefix"),w===42||w===45?e.check(ho,n,h)(w):h(w);if(!i.interrupt||w===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),f(w)}return n(w)}function f(w){return Rc(w)&&++o<10?(e.consume(w),f):(!i.interrupt||o<2)&&(i.containerState.marker?w===i.containerState.marker:w===41||w===46)?(e.exit("listItemValue"),h(w)):n(w)}function h(w){return e.enter("listItemMarker"),e.consume(w),e.exit("listItemMarker"),i.containerState.marker=i.containerState.marker||w,e.check(Oa,i.interrupt?n:m,e.attempt(Ly,x,p))}function m(w){return i.containerState.initialBlankLine=!0,s++,x(w)}function p(w){return Ge(w)?(e.enter("listItemPrefixWhitespace"),e.consume(w),e.exit("listItemPrefixWhitespace"),x):n(w)}function x(w){return i.containerState.size=s+i.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(w)}}function Fy(e,t,n){const i=this;return i.containerState._closeFlow=void 0,e.check(Oa,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,o(c)):(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,e.attempt(Dy,t,o)(c))}function o(c){return i.containerState._closeFlow=!0,i.interrupt=void 0,We(e,e.attempt(an,t,n),"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(c)}}function Oy(e,t,n){const i=this;return We(e,a,"listItemIndent",i.containerState.size+1);function a(s){const o=i.events[i.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===i.containerState.size?t(s):n(s)}}function By(e){e.exit(this.containerState.type)}function _y(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 o=i.events[i.events.length-1];return!Ge(s)&&o&&o[1].type==="listItemPrefixWhitespace"?t(s):n(s)}}const Mm={name:"setextUnderline",resolveTo:qy,tokenize:$y};function qy(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 o={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",o,t]),e.splice(s+1,0,["exit",e[i][1],t]),e[i][1].end={...e[s][1].end}):e[i][1]=o,e.push(["exit",o,t]),e}function $y(e,t,n){const i=this;let a;return s;function s(h){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=h,o(h)):n(h)}function o(h){return e.enter("setextHeadingLineSequence"),c(h)}function c(h){return h===a?(e.consume(h),c):(e.exit("setextHeadingLineSequence"),Ge(h)?We(e,f,"lineSuffix")(h):f(h))}function f(h){return h===null||je(h)?(e.exit("setextHeadingLine"),t(h)):n(h)}}const Hy={tokenize:Uy};function Uy(e){const t=this,n=e.attempt(Oa,i,e.attempt(this.parser.constructs.flowInitial,a,We(e,e.attempt(this.parser.constructs.flow,a,e.attempt(X8,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 Vy={resolveAll:a2()},Wy=l2("string"),Gy=l2("text");function l2(e){return{resolveAll:a2(e==="text"?Yy:void 0),tokenize:t};function t(n){const i=this,a=this.parser.constructs[e],s=n.attempt(a,o,c);return o;function o(m){return h(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 h(m)?(n.exit("data"),s(m)):(n.consume(m),f)}function h(m){if(m===null)return!0;const p=a[m];let x=-1;if(p)for(;++x<p.length;){const w=p[x];if(!w.previous||w.previous.call(i,i.previous))return!0}return!1}}}function a2(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 Yy(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,o=-1,c=0,f;for(;s--;){const h=a[s];if(typeof h=="string"){for(o=h.length;h.charCodeAt(o-1)===32;)c++,o--;if(o)break;o=-1}else if(h===-2)f=!0,c++;else if(h!==-1){s++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(c=0),c){const h={type:n===e.length||f||c<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?o:i.start._bufferIndex+o,_index:i.start._index+s,line:i.end.line,column:i.end.column-c,offset:i.end.offset-c},end:{...i.end}};i.end={...h.start},i.start.offset===i.end.offset?Object.assign(i,h):(e.splice(n,0,["enter",h,t],["exit",h,t]),n+=2)}n++}return e}const Xy={42:an,43:an,45:an,48:an,49:an,50:an,51:an,52:an,53:an,54:an,55:an,56:an,57:an,62:J4},Ky={91:ey},Qy={[-2]:Xu,[-1]:Xu,32:Xu},Jy={35:ay,42:ho,45:[Mm,ho],60:cy,61:Mm,95:ho,96:zm,126:zm},Zy={38:e2,92:Z4},e9={[-5]:Ku,[-4]:Ku,[-3]:Ku,33:zy,38:e2,42:Lc,60:[M8,vy],91:My,92:[iy,Z4],93:Af,95:Lc,96:H8},t9={null:[Lc,Vy]},n9={null:[42,95]},r9={null:[]},i9=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:n9,contentInitial:Ky,disable:r9,document:Xy,flow:Jy,flowInitial:Qy,insideSpan:t9,string:Zy,text:e9},Symbol.toStringTag,{value:"Module"}));function l9(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 o=[],c=[];const f={attempt:G(V),check:G(O),consume:R,enter:_,exit:X,interrupt:G(O,{interrupt:!0})},h={code:null,containerState:{},defineSkip:N,events:[],now:E,parser:e,previous:null,sliceSerialize:x,sliceStream:w,write:p};let m=t.tokenize.call(h,f);return t.resolveAll&&s.push(t),h;function p(he){return o=Mn(o,he),A(),o[o.length-1]!==null?[]:(te(t,0),h.events=Do(s,h.events,h),h.events)}function x(he,ne){return s9(w(he),ne)}function w(he){return a9(o,he)}function E(){const{_bufferIndex:he,_index:ne,line:Te,column:ve,offset:ie}=i;return{_bufferIndex:he,_index:ne,line:Te,column:ve,offset:ie}}function N(he){a[he.line]=he.column,H()}function A(){let he;for(;i._index<o.length;){const ne=o[i._index];if(typeof ne=="string")for(he=i._index,i._bufferIndex<0&&(i._bufferIndex=0);i._index===he&&i._bufferIndex<ne.length;)z(ne.charCodeAt(i._bufferIndex));else z(ne)}}function z(he){m=m(he)}function R(he){je(he)?(i.line++,i.column=1,i.offset+=he===-3?2:1,H()):he!==-1&&(i.column++,i.offset++),i._bufferIndex<0?i._index++:(i._bufferIndex++,i._bufferIndex===o[i._index].length&&(i._bufferIndex=-1,i._index++)),h.previous=he}function _(he,ne){const Te=ne||{};return Te.type=he,Te.start=E(),h.events.push(["enter",Te,h]),c.push(Te),Te}function X(he){const ne=c.pop();return ne.end=E(),h.events.push(["exit",ne,h]),ne}function V(he,ne){te(he,ne.from)}function O(he,ne){ne.restore()}function G(he,ne){return Te;function Te(ve,ie,Q){let Ee,oe,J,M;return Array.isArray(ve)?K(ve):"tokenize"in ve?K([ve]):F(ve);function F(ke){return be;function be(Pe){const _e=Pe!==null&&ke[Pe],it=Pe!==null&&ke.null,bn=[...Array.isArray(_e)?_e:_e?[_e]:[],...Array.isArray(it)?it:it?[it]:[]];return K(bn)(Pe)}}function K(ke){return Ee=ke,oe=0,ke.length===0?Q:j(ke[oe])}function j(ke){return be;function be(Pe){return M=re(),J=ke,ke.partial||(h.currentConstruct=ke),ke.name&&h.parser.constructs.disable.null.includes(ke.name)?xe():ke.tokenize.call(ne?Object.assign(Object.create(h),ne):h,f,Z,xe)(Pe)}}function Z(ke){return he(J,M),ie}function xe(ke){return M.restore(),++oe<Ee.length?j(Ee[oe]):Q}}}function te(he,ne){he.resolveAll&&!s.includes(he)&&s.push(he),he.resolve&&gn(h.events,ne,h.events.length-ne,he.resolve(h.events.slice(ne),h)),he.resolveTo&&(h.events=he.resolveTo(h.events,h))}function re(){const he=E(),ne=h.previous,Te=h.currentConstruct,ve=h.events.length,ie=Array.from(c);return{from:ve,restore:Q};function Q(){i=he,h.previous=ne,h.currentConstruct=Te,h.events.length=ve,c=ie,H()}}function H(){i.line in a&&i.column<2&&(i.column=a[i.line],i.offset+=a[i.line]-1)}}function a9(e,t){const n=t.start._index,i=t.start._bufferIndex,a=t.end._index,s=t.end._bufferIndex;let o;if(n===a)o=[e[n].slice(i,s)];else{if(o=e.slice(n,a),i>-1){const c=o[0];typeof c=="string"?o[0]=c.slice(i):o.shift()}s>0&&o.push(e[a].slice(0,s))}return o}function s9(e,t){let n=-1;const i=[];let a;for(;++n<e.length;){const s=e[n];let o;if(typeof s=="string")o=s;else switch(s){case-5:{o="\r";break}case-4:{o=`
|
|
56
|
+
`;break}case-3:{o=`\r
|
|
57
|
+
`;break}case-2:{o=t?" ":" ";break}case-1:{if(!t&&a)continue;o=" ";break}default:o=String.fromCharCode(s)}a=s===-2,i.push(o)}return i.join("")}function o9(e){const i={constructs:K4([i9,...(e||{}).extensions||[]]),content:a(S8),defined:[],document:a(E8),flow:a(Hy),lazy:{},string:a(Wy),text:a(Gy)};return i;function a(s){return o;function o(c){return l9(i,s,c)}}}function u9(e){for(;!t2(e););return e}const jm=/[\0\t\n\r]/g;function c9(){let e=1,t="",n=!0,i;return a;function a(s,o,c){const f=[];let h,m,p,x,w;for(s=t+(typeof s=="string"?s.toString():new TextDecoder(o||void 0).decode(s)),p=0,t="",n&&(s.charCodeAt(0)===65279&&p++,n=void 0);p<s.length;){if(jm.lastIndex=p,h=jm.exec(s),x=h&&h.index!==void 0?h.index:s.length,w=s.charCodeAt(x),!h){t=s.slice(p);break}if(w===10&&p===x&&i)f.push(-3),i=void 0;else switch(i&&(f.push(-5),i=void 0),p<x&&(f.push(s.slice(p,x)),e+=x-p),w){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=x+1}return c&&(i&&f.push(-5),t&&f.push(t),f.push(null)),f}}const f9=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function h9(e){return e.replace(f9,d9)}function d9(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const a=n.charCodeAt(1),s=a===120||a===88;return Q4(n.slice(s?2:1),s?16:10)}return zf(n)||e}const s2={}.hasOwnProperty;function m9(e,t,n){return t&&typeof t=="object"&&(n=t,t=void 0),p9(n)(u9(o9(n).document().write(c9()(e,t,!0))))}function p9(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(cr),autolinkProtocol:re,autolinkEmail:re,atxHeading:s(hi),blockQuote:s(it),characterEscape:re,characterReference:re,codeFenced:s(bn),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:s(bn,o),codeText:s(fi,o),codeTextData:re,data:re,codeFlowValue:re,definition:s(Ln),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:s(Yn),hardBreakEscape:s(di),hardBreakTrailing:s(di),htmlFlow:s(Ar,o),htmlFlowData:re,htmlText:s(Ar,o),htmlTextData:re,image:s(mi),label:o,link:s(cr),listItem:s(Xn),listItemValue:x,listOrdered:s(un,p),listUnordered:s(un),paragraph:s(pi),reference:j,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:s(hi),strong:s(Mr),thematicBreak:s(vi)},exit:{atxHeading:f(),atxHeadingSequence:V,autolink:f(),autolinkEmail:_e,autolinkProtocol:Pe,blockQuote:f(),characterEscapeValue:H,characterReferenceMarkerHexadecimal:xe,characterReferenceMarkerNumeric:xe,characterReferenceValue:ke,characterReference:be,codeFenced:f(A),codeFencedFence:N,codeFencedFenceInfo:w,codeFencedFenceMeta:E,codeFlowValue:H,codeIndented:f(z),codeText:f(ie),codeTextData:H,data:H,definition:f(),definitionDestinationString:X,definitionLabelString:R,definitionTitleString:_,emphasis:f(),hardBreakEscape:f(ne),hardBreakTrailing:f(ne),htmlFlow:f(Te),htmlFlowData:H,htmlText:f(ve),htmlTextData:H,image:f(Ee),label:J,labelText:oe,lineEnding:he,link:f(Q),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:Z,resourceDestinationString:M,resourceTitleString:F,resource:K,setextHeading:f(te),setextHeadingLineSequence:G,setextHeadingText:O,strong:f(),thematicBreak:f()}};o2(t,(e||{}).mdastExtensions||[]);const n={};return i;function i(ee){let ye={type:"root",children:[]};const Ie={stack:[ye],tokenStack:[],config:t,enter:c,exit:h,buffer:o,resume:m,data:n},He=[];let Ye=-1;for(;++Ye<ee.length;)if(ee[Ye][1].type==="listOrdered"||ee[Ye][1].type==="listUnordered")if(ee[Ye][0]==="enter")He.push(Ye);else{const Rt=He.pop();Ye=a(ee,Rt,Ye)}for(Ye=-1;++Ye<ee.length;){const Rt=t[ee[Ye][0]];s2.call(Rt,ee[Ye][1].type)&&Rt[ee[Ye][1].type].call(Object.assign({sliceSerialize:ee[Ye][2].sliceSerialize},Ie),ee[Ye][1])}if(Ie.tokenStack.length>0){const Rt=Ie.tokenStack[Ie.tokenStack.length-1];(Rt[1]||Im).call(Ie,void 0,Rt[0])}for(ye.position={start:Jr(ee.length>0?ee[0][1].start:{line:1,column:1,offset:0}),end:Jr(ee.length>0?ee[ee.length-2][1].end:{line:1,column:1,offset:0})},Ye=-1;++Ye<t.transforms.length;)ye=t.transforms[Ye](ye)||ye;return ye}function a(ee,ye,Ie){let He=ye-1,Ye=-1,Rt=!1,fr,Sn,jr,yi;for(;++He<=Ie;){const Lt=ee[He];switch(Lt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Lt[0]==="enter"?Ye++:Ye--,yi=void 0;break}case"lineEndingBlank":{Lt[0]==="enter"&&(fr&&!yi&&!Ye&&!jr&&(jr=He),yi=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:yi=void 0}if(!Ye&&Lt[0]==="enter"&&Lt[1].type==="listItemPrefix"||Ye===-1&&Lt[0]==="exit"&&(Lt[1].type==="listUnordered"||Lt[1].type==="listOrdered")){if(fr){let Kn=He;for(Sn=void 0;Kn--;){const cn=ee[Kn];if(cn[1].type==="lineEnding"||cn[1].type==="lineEndingBlank"){if(cn[0]==="exit")continue;Sn&&(ee[Sn][1].type="lineEndingBlank",Rt=!0),cn[1].type="lineEnding",Sn=Kn}else if(!(cn[1].type==="linePrefix"||cn[1].type==="blockQuotePrefix"||cn[1].type==="blockQuotePrefixWhitespace"||cn[1].type==="blockQuoteMarker"||cn[1].type==="listItemIndent"))break}jr&&(!Sn||jr<Sn)&&(fr._spread=!0),fr.end=Object.assign({},Sn?ee[Sn][1].start:Lt[1].end),ee.splice(Sn||He,0,["exit",fr,Lt[2]]),He++,Ie++}if(Lt[1].type==="listItemPrefix"){const Kn={type:"listItem",_spread:!1,start:Object.assign({},Lt[1].start),end:void 0};fr=Kn,ee.splice(He,0,["enter",Kn,Lt[2]]),He++,Ie++,jr=void 0,yi=!0}}}return ee[ye][1]._spread=Rt,Ie}function s(ee,ye){return Ie;function Ie(He){c.call(this,ee(He),He),ye&&ye.call(this,He)}}function o(){this.stack.push({type:"fragment",children:[]})}function c(ee,ye,Ie){this.stack[this.stack.length-1].children.push(ee),this.stack.push(ee),this.tokenStack.push([ye,Ie||void 0]),ee.position={start:Jr(ye.start),end:void 0}}function f(ee){return ye;function ye(Ie){ee&&ee.call(this,Ie),h.call(this,Ie)}}function h(ee,ye){const Ie=this.stack.pop(),He=this.tokenStack.pop();if(He)He[0].type!==ee.type&&(ye?ye.call(this,ee,He[0]):(He[1]||Im).call(this,ee,He[0]));else throw new Error("Cannot close `"+ee.type+"` ("+Ca({start:ee.start,end:ee.end})+"): it’s not open");Ie.position.end=Jr(ee.end)}function m(){return Nf(this.stack.pop())}function p(){this.data.expectingFirstListItemValue=!0}function x(ee){if(this.data.expectingFirstListItemValue){const ye=this.stack[this.stack.length-2];ye.start=Number.parseInt(this.sliceSerialize(ee),10),this.data.expectingFirstListItemValue=void 0}}function w(){const ee=this.resume(),ye=this.stack[this.stack.length-1];ye.lang=ee}function E(){const ee=this.resume(),ye=this.stack[this.stack.length-1];ye.meta=ee}function N(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function A(){const ee=this.resume(),ye=this.stack[this.stack.length-1];ye.value=ee.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function z(){const ee=this.resume(),ye=this.stack[this.stack.length-1];ye.value=ee.replace(/(\r?\n|\r)$/g,"")}function R(ee){const ye=this.resume(),Ie=this.stack[this.stack.length-1];Ie.label=ye,Ie.identifier=Un(this.sliceSerialize(ee)).toLowerCase()}function _(){const ee=this.resume(),ye=this.stack[this.stack.length-1];ye.title=ee}function X(){const ee=this.resume(),ye=this.stack[this.stack.length-1];ye.url=ee}function V(ee){const ye=this.stack[this.stack.length-1];if(!ye.depth){const Ie=this.sliceSerialize(ee).length;ye.depth=Ie}}function O(){this.data.setextHeadingSlurpLineEnding=!0}function G(ee){const ye=this.stack[this.stack.length-1];ye.depth=this.sliceSerialize(ee).codePointAt(0)===61?1:2}function te(){this.data.setextHeadingSlurpLineEnding=void 0}function re(ee){const Ie=this.stack[this.stack.length-1].children;let He=Ie[Ie.length-1];(!He||He.type!=="text")&&(He=gi(),He.position={start:Jr(ee.start),end:void 0},Ie.push(He)),this.stack.push(He)}function H(ee){const ye=this.stack.pop();ye.value+=this.sliceSerialize(ee),ye.position.end=Jr(ee.end)}function he(ee){const ye=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Ie=ye.children[ye.children.length-1];Ie.position.end=Jr(ee.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(ye.type)&&(re.call(this,ee),H.call(this,ee))}function ne(){this.data.atHardBreak=!0}function Te(){const ee=this.resume(),ye=this.stack[this.stack.length-1];ye.value=ee}function ve(){const ee=this.resume(),ye=this.stack[this.stack.length-1];ye.value=ee}function ie(){const ee=this.resume(),ye=this.stack[this.stack.length-1];ye.value=ee}function Q(){const ee=this.stack[this.stack.length-1];if(this.data.inReference){const ye=this.data.referenceType||"shortcut";ee.type+="Reference",ee.referenceType=ye,delete ee.url,delete ee.title}else delete ee.identifier,delete ee.label;this.data.referenceType=void 0}function Ee(){const ee=this.stack[this.stack.length-1];if(this.data.inReference){const ye=this.data.referenceType||"shortcut";ee.type+="Reference",ee.referenceType=ye,delete ee.url,delete ee.title}else delete ee.identifier,delete ee.label;this.data.referenceType=void 0}function oe(ee){const ye=this.sliceSerialize(ee),Ie=this.stack[this.stack.length-2];Ie.label=h9(ye),Ie.identifier=Un(ye).toLowerCase()}function J(){const ee=this.stack[this.stack.length-1],ye=this.resume(),Ie=this.stack[this.stack.length-1];if(this.data.inReference=!0,Ie.type==="link"){const He=ee.children;Ie.children=He}else Ie.alt=ye}function M(){const ee=this.resume(),ye=this.stack[this.stack.length-1];ye.url=ee}function F(){const ee=this.resume(),ye=this.stack[this.stack.length-1];ye.title=ee}function K(){this.data.inReference=void 0}function j(){this.data.referenceType="collapsed"}function Z(ee){const ye=this.resume(),Ie=this.stack[this.stack.length-1];Ie.label=ye,Ie.identifier=Un(this.sliceSerialize(ee)).toLowerCase(),this.data.referenceType="full"}function xe(ee){this.data.characterReferenceType=ee.type}function ke(ee){const ye=this.sliceSerialize(ee),Ie=this.data.characterReferenceType;let He;Ie?(He=Q4(ye,Ie==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):He=zf(ye);const Ye=this.stack[this.stack.length-1];Ye.value+=He}function be(ee){const ye=this.stack.pop();ye.position.end=Jr(ee.end)}function Pe(ee){H.call(this,ee);const ye=this.stack[this.stack.length-1];ye.url=this.sliceSerialize(ee)}function _e(ee){H.call(this,ee);const ye=this.stack[this.stack.length-1];ye.url="mailto:"+this.sliceSerialize(ee)}function it(){return{type:"blockquote",children:[]}}function bn(){return{type:"code",lang:null,meta:null,value:""}}function fi(){return{type:"inlineCode",value:""}}function Ln(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Yn(){return{type:"emphasis",children:[]}}function hi(){return{type:"heading",depth:0,children:[]}}function di(){return{type:"break"}}function Ar(){return{type:"html",value:""}}function mi(){return{type:"image",title:null,url:"",alt:null}}function cr(){return{type:"link",title:null,url:"",children:[]}}function un(ee){return{type:"list",ordered:ee.type==="listOrdered",start:null,spread:ee._spread,children:[]}}function Xn(ee){return{type:"listItem",spread:ee._spread,checked:null,children:[]}}function pi(){return{type:"paragraph",children:[]}}function Mr(){return{type:"strong",children:[]}}function gi(){return{type:"text",value:""}}function vi(){return{type:"thematicBreak"}}}function Jr(e){return{line:e.line,column:e.column,offset:e.offset}}function o2(e,t){let n=-1;for(;++n<t.length;){const i=t[n];Array.isArray(i)?o2(e,i):g9(e,i)}}function g9(e,t){let n;for(n in t)if(s2.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 Im(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 v9(e){const t=this;t.parser=n;function n(i){return m9(i,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function y9(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 x9(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
|
|
58
|
+
`}]}function w9(e,t){const n=t.value?t.value+`
|
|
59
|
+
`:"",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 k9(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function b9(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function S9(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",i=String(t.identifier).toUpperCase(),a=zl(i.toLowerCase()),s=e.footnoteOrder.indexOf(i);let o,c=e.footnoteCounts.get(i);c===void 0?(c=0,e.footnoteOrder.push(i),o=e.footnoteOrder.length):o=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(o)}]};e.patch(t,f);const h={type:"element",tagName:"sup",properties:{},children:[f]};return e.patch(t,h),e.applyData(t,h)}function C9(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 E9(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function u2(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 o=a[a.length-1];return o&&o.type==="text"?o.value+=i:a.push({type:"text",value:i}),a}function T9(e,t){const n=String(t.identifier).toUpperCase(),i=e.definitionById.get(n);if(!i)return u2(e,t);const a={src:zl(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 N9(e,t){const n={src:zl(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 z9(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 A9(e,t){const n=String(t.identifier).toUpperCase(),i=e.definitionById.get(n);if(!i)return u2(e,t);const a={href:zl(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 M9(e,t){const n={href:zl(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 j9(e,t,n){const i=e.all(t),a=n?I9(n):c2(t),s={},o=[];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")&&o.push({type:"text",value:`
|
|
60
|
+
`}),m.type==="element"&&m.tagName==="p"&&!a?o.push(...m.children):o.push(m)}const f=i[i.length-1];f&&(a||f.type!=="element"||f.tagName!=="p")&&o.push({type:"text",value:`
|
|
61
|
+
`});const h={type:"element",tagName:"li",properties:s,children:o};return e.patch(t,h),e.applyData(t,h)}function I9(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=c2(n[i])}return t}function c2(e){const t=e.spread;return t??e.children.length>1}function R9(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 o=i[a];if(o.type==="element"&&o.tagName==="li"&&o.properties&&Array.isArray(o.properties.className)&&o.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 L9(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function D9(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function P9(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function F9(e,t){const n=e.all(t),i=n.shift(),a=[];if(i){const o={type:"element",tagName:"thead",properties:{},children:e.wrap([i],!0)};e.patch(t.children[0],o),a.push(o)}if(n.length>0){const o={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},c=Sf(t.children[1]),f=H4(t.children[t.children.length-1]);c&&f&&(o.position={start:c,end:f}),a.push(o)}const s={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,s),e.applyData(t,s)}function O9(e,t,n){const i=n?n.children:void 0,s=(i?i.indexOf(t):1)===0?"th":"td",o=n&&n.type==="table"?n.align:void 0,c=o?o.length:t.children.length;let f=-1;const h=[];for(;++f<c;){const p=t.children[f],x={},w=o?o[f]:void 0;w&&(x.align=w);let E={type:"element",tagName:s,properties:x,children:[]};p&&(E.children=e.all(p),e.patch(p,E),E=e.applyData(p,E)),h.push(E)}const m={type:"element",tagName:"tr",properties:{},children:e.wrap(h,!0)};return e.patch(t,m),e.applyData(t,m)}function B9(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const Rm=9,Lm=32;function _9(e){const t=String(e),n=/\r?\n|\r/g;let i=n.exec(t),a=0;const s=[];for(;i;)s.push(Dm(t.slice(a,i.index),a>0,!0),i[0]),a=i.index+i[0].length,i=n.exec(t);return s.push(Dm(t.slice(a),a>0,!1)),s.join("")}function Dm(e,t,n){let i=0,a=e.length;if(t){let s=e.codePointAt(i);for(;s===Rm||s===Lm;)i++,s=e.codePointAt(i)}if(n){let s=e.codePointAt(a-1);for(;s===Rm||s===Lm;)a--,s=e.codePointAt(a-1)}return a>i?e.slice(i,a):""}function q9(e,t){const n={type:"text",value:_9(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function $9(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const H9={blockquote:y9,break:x9,code:w9,delete:k9,emphasis:b9,footnoteReference:S9,heading:C9,html:E9,imageReference:T9,image:N9,inlineCode:z9,linkReference:A9,link:M9,listItem:j9,list:R9,paragraph:L9,root:D9,strong:P9,table:F9,tableCell:B9,tableRow:O9,text:q9,thematicBreak:$9,toml:Js,yaml:Js,definition:Js,footnoteDefinition:Js};function Js(){}const f2=-1,Po=0,Ta=1,xo=2,Mf=3,jf=4,If=5,Rf=6,h2=7,d2=8,U9=typeof self=="object"?self:globalThis,Pm=(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 U9[e](t)},V9=(e,t)=>{const n=(a,s)=>(e.set(s,a),a),i=a=>{if(e.has(a))return e.get(a);const[s,o]=t[a];switch(s){case Po:case f2:return n(o,a);case Ta:{const c=n([],a);for(const f of o)c.push(i(f));return c}case xo:{const c=n({},a);for(const[f,h]of o)c[i(f)]=i(h);return c}case Mf:return n(new Date(o),a);case jf:{const{source:c,flags:f}=o;return n(new RegExp(c,f),a)}case If:{const c=n(new Map,a);for(const[f,h]of o)c.set(i(f),i(h));return c}case Rf:{const c=n(new Set,a);for(const f of o)c.add(i(f));return c}case h2:{const{name:c,message:f}=o;return n(Pm(c,f),a)}case d2:return n(BigInt(o),a);case"BigInt":return n(Object(BigInt(o)),a);case"ArrayBuffer":return n(new Uint8Array(o).buffer,o);case"DataView":{const{buffer:c}=new Uint8Array(o);return n(new DataView(c),o)}}return n(Pm(s,o),a)};return i},Fm=e=>V9(new Map,e)(0),Pi="",{toString:W9}={},{keys:G9}=Object,wa=e=>{const t=typeof e;if(t!=="object"||!e)return[Po,t];const n=W9.call(e).slice(8,-1);switch(n){case"Array":return[Ta,Pi];case"Object":return[xo,Pi];case"Date":return[Mf,Pi];case"RegExp":return[jf,Pi];case"Map":return[If,Pi];case"Set":return[Rf,Pi];case"DataView":return[Ta,n]}return n.includes("Array")?[Ta,n]:n.includes("Error")?[h2,n]:[xo,n]},Zs=([e,t])=>e===Po&&(t==="function"||t==="symbol"),Y9=(e,t,n,i)=>{const a=(o,c)=>{const f=i.push(o)-1;return n.set(c,f),f},s=o=>{if(n.has(o))return n.get(o);let[c,f]=wa(o);switch(c){case Po:{let m=o;switch(f){case"bigint":c=d2,m=o.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+f);m=null;break;case"undefined":return a([f2],o)}return a([c,m],o)}case Ta:{if(f){let x=o;return f==="DataView"?x=new Uint8Array(o.buffer):f==="ArrayBuffer"&&(x=new Uint8Array(o)),a([f,[...x]],o)}const m=[],p=a([c,m],o);for(const x of o)m.push(s(x));return p}case xo:{if(f)switch(f){case"BigInt":return a([f,o.toString()],o);case"Boolean":case"Number":case"String":return a([f,o.valueOf()],o)}if(t&&"toJSON"in o)return s(o.toJSON());const m=[],p=a([c,m],o);for(const x of G9(o))(e||!Zs(wa(o[x])))&&m.push([s(x),s(o[x])]);return p}case Mf:return a([c,isNaN(o.getTime())?Pi:o.toISOString()],o);case jf:{const{source:m,flags:p}=o;return a([c,{source:m,flags:p}],o)}case If:{const m=[],p=a([c,m],o);for(const[x,w]of o)(e||!(Zs(wa(x))||Zs(wa(w))))&&m.push([s(x),s(w)]);return p}case Rf:{const m=[],p=a([c,m],o);for(const x of o)(e||!Zs(wa(x)))&&m.push(s(x));return p}}const{message:h}=o;return a([c,{name:f,message:h}],o)};return s},Om=(e,{json:t,lossy:n}={})=>{const i=[];return Y9(!(t||n),!!t,new Map,i)(e),i},wo=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Fm(Om(e,t)):structuredClone(e):(e,t)=>Fm(Om(e,t));function X9(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 K9(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function Q9(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||X9,i=e.options.footnoteBackLabel||K9,a=e.options.footnoteLabel||"Footnotes",s=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},c=[];let f=-1;for(;++f<e.footnoteOrder.length;){const h=e.footnoteById.get(e.footnoteOrder[f]);if(!h)continue;const m=e.all(h),p=String(h.identifier).toUpperCase(),x=zl(p.toLowerCase());let w=0;const E=[],N=e.footnoteCounts.get(p);for(;N!==void 0&&++w<=N;){E.length>0&&E.push({type:"text",value:" "});let R=typeof n=="string"?n:n(f,w);typeof R=="string"&&(R={type:"text",value:R}),E.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+x+(w>1?"-"+w:""),dataFootnoteBackref:"",ariaLabel:typeof i=="string"?i:i(f,w),className:["data-footnote-backref"]},children:Array.isArray(R)?R:[R]})}const A=m[m.length-1];if(A&&A.type==="element"&&A.tagName==="p"){const R=A.children[A.children.length-1];R&&R.type==="text"?R.value+=" ":A.children.push({type:"text",value:" "}),A.children.push(...E)}else m.push(...E);const z={type:"element",tagName:"li",properties:{id:t+"fn-"+x},children:e.wrap(m,!0)};e.patch(h,z),c.push(z)}if(c.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:s,properties:{...wo(o),id:"footnote-label"},children:[{type:"text",value:a}]},{type:"text",value:`
|
|
62
|
+
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(c,!0)},{type:"text",value:`
|
|
63
|
+
`}]}}const Ba=(function(e){if(e==null)return tx;if(typeof e=="function")return Fo(e);if(typeof e=="object")return Array.isArray(e)?J9(e):Z9(e);if(typeof e=="string")return ex(e);throw new Error("Expected function, string, or object as test")});function J9(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Ba(e[n]);return Fo(i);function i(...a){let s=-1;for(;++s<t.length;)if(t[s].apply(this,a))return!0;return!1}}function Z9(e){const t=e;return Fo(n);function n(i){const a=i;let s;for(s in e)if(a[s]!==t[s])return!1;return!0}}function ex(e){return Fo(t);function t(n){return n&&n.type===e}}function Fo(e){return t;function t(n,i,a){return!!(nx(n)&&e.call(this,n,typeof i=="number"?i:void 0,a||void 0))}}function tx(){return!0}function nx(e){return e!==null&&typeof e=="object"&&"type"in e}const m2=[],rx=!0,Dc=!1,p2="skip";function Lf(e,t,n,i){let a;typeof t=="function"&&typeof n!="function"?(i=n,n=t):a=t;const s=Ba(a),o=i?-1:1;c(e,void 0,[])();function c(f,h,m){const p=f&&typeof f=="object"?f:{};if(typeof p.type=="string"){const w=typeof p.tagName=="string"?p.tagName:typeof p.name=="string"?p.name:void 0;Object.defineProperty(x,"name",{value:"node ("+(f.type+(w?"<"+w+">":""))+")"})}return x;function x(){let w=m2,E,N,A;if((!t||s(f,h,m[m.length-1]||void 0))&&(w=ix(n(f,m)),w[0]===Dc))return w;if("children"in f&&f.children){const z=f;if(z.children&&w[0]!==p2)for(N=(i?z.children.length:-1)+o,A=m.concat(z);N>-1&&N<z.children.length;){const R=z.children[N];if(E=c(R,N,A)(),E[0]===Dc)return E;N=typeof E[1]=="number"?E[1]:N+o}}return w}}}function ix(e){return Array.isArray(e)?e:typeof e=="number"?[rx,e]:e==null?m2:[e]}function Df(e,t,n,i){let a,s,o;typeof t=="function"&&typeof n!="function"?(s=void 0,o=t,a=n):(s=t,o=n,a=i),Lf(e,s,c,a);function c(f,h){const m=h[h.length-1],p=m?m.children.indexOf(f):void 0;return o(f,p,m)}}const Pc={}.hasOwnProperty,lx={};function ax(e,t){const n=t||lx,i=new Map,a=new Map,s=new Map,o={...H9,...n.handlers},c={all:h,applyData:ox,definitionById:i,footnoteById:a,footnoteCounts:s,footnoteOrder:[],handlers:o,one:f,options:n,patch:sx,wrap:cx};return Df(e,function(m){if(m.type==="definition"||m.type==="footnoteDefinition"){const p=m.type==="definition"?i:a,x=String(m.identifier).toUpperCase();p.has(x)||p.set(x,m)}}),c;function f(m,p){const x=m.type,w=c.handlers[x];if(Pc.call(c.handlers,x)&&w)return w(c,m,p);if(c.options.passThrough&&c.options.passThrough.includes(x)){if("children"in m){const{children:N,...A}=m,z=wo(A);return z.children=c.all(m),z}return wo(m)}return(c.options.unknownHandler||ux)(c,m,p)}function h(m){const p=[];if("children"in m){const x=m.children;let w=-1;for(;++w<x.length;){const E=c.one(x[w],m);if(E){if(w&&x[w-1].type==="break"&&(!Array.isArray(E)&&E.type==="text"&&(E.value=Bm(E.value)),!Array.isArray(E)&&E.type==="element")){const N=E.children[0];N&&N.type==="text"&&(N.value=Bm(N.value))}Array.isArray(E)?p.push(...E):p.push(E)}}}return p}}function sx(e,t){e.position&&(t.position=Xv(e))}function ox(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 o="children"in n?n.children:[n];n={type:"element",tagName:i,properties:{},children:o}}n.type==="element"&&s&&Object.assign(n.properties,wo(s)),"children"in n&&n.children&&a!==null&&a!==void 0&&(n.children=a)}return n}function ux(e,t){const n=t.data||{},i="value"in t&&!(Pc.call(n,"hProperties")||Pc.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 cx(e,t){const n=[];let i=-1;for(t&&n.push({type:"text",value:`
|
|
64
|
+
`});++i<e.length;)i&&n.push({type:"text",value:`
|
|
65
|
+
`}),n.push(e[i]);return t&&e.length>0&&n.push({type:"text",value:`
|
|
66
|
+
`}),n}function Bm(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function _m(e,t){const n=ax(e,t),i=n.one(e,void 0),a=Q9(n),s=Array.isArray(i)?{type:"root",children:i}:i||{type:"root",children:[]};return a&&s.children.push({type:"text",value:`
|
|
67
|
+
`},a),s}function fx(e,t){return e&&"run"in e?async function(n,i){const a=_m(n,{file:i,...t});await e.run(a,i)}:function(n,i){return _m(n,{file:i,...e||t})}}function qm(e){if(e)throw e}var Qu,$m;function hx(){if($m)return Qu;$m=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=function(h){return typeof Array.isArray=="function"?Array.isArray(h):t.call(h)==="[object Array]"},s=function(h){if(!h||t.call(h)!=="[object Object]")return!1;var m=e.call(h,"constructor"),p=h.constructor&&h.constructor.prototype&&e.call(h.constructor.prototype,"isPrototypeOf");if(h.constructor&&!m&&!p)return!1;var x;for(x in h);return typeof x>"u"||e.call(h,x)},o=function(h,m){n&&m.name==="__proto__"?n(h,m.name,{enumerable:!0,configurable:!0,value:m.newValue,writable:!0}):h[m.name]=m.newValue},c=function(h,m){if(m==="__proto__")if(e.call(h,m)){if(i)return i(h,m).value}else return;return h[m]};return Qu=function f(){var h,m,p,x,w,E,N=arguments[0],A=1,z=arguments.length,R=!1;for(typeof N=="boolean"&&(R=N,N=arguments[1]||{},A=2),(N==null||typeof N!="object"&&typeof N!="function")&&(N={});A<z;++A)if(h=arguments[A],h!=null)for(m in h)p=c(N,m),x=c(h,m),N!==x&&(R&&x&&(s(x)||(w=a(x)))?(w?(w=!1,E=p&&a(p)?p:[]):E=p&&s(p)?p:{},o(N,{name:m,newValue:f(R,E,x)})):typeof x<"u"&&o(N,{name:m,newValue:x}));return N},Qu}var dx=hx();const Ju=cf(dx);function Fc(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 mx(){const e=[],t={run:n,use:i};return t;function n(...a){let s=-1;const o=a.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);c(null,...a);function c(f,...h){const m=e[++s];let p=-1;if(f){o(f);return}for(;++p<a.length;)(h[p]===null||h[p]===void 0)&&(h[p]=a[p]);a=h,m?px(m,c)(...h):o(null,...h)}}function i(a){if(typeof a!="function")throw new TypeError("Expected `middelware` to be a function, not "+a);return e.push(a),t}}function px(e,t){let n;return i;function i(...o){const c=e.length>o.length;let f;c&&o.push(a);try{f=e.apply(this,o)}catch(h){const m=h;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(o,...c){n||(n=!0,t(o,...c))}function s(o){a(null,o)}}const nr={basename:gx,dirname:vx,extname:yx,join:xx,sep:"/"};function gx(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');_a(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 o=-1,c=t.length-1;for(;a--;)if(e.codePointAt(a)===47){if(s){n=a+1;break}}else o<0&&(s=!0,o=a+1),c>-1&&(e.codePointAt(a)===t.codePointAt(c--)?c<0&&(i=a):(c=-1,i=o));return n===i?i=o:i<0&&(i=e.length),e.slice(n,i)}function vx(e){if(_a(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 yx(e){_a(e);let t=e.length,n=-1,i=0,a=-1,s=0,o;for(;t--;){const c=e.codePointAt(t);if(c===47){if(o){i=t+1;break}continue}n<0&&(o=!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 xx(...e){let t=-1,n;for(;++t<e.length;)_a(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":wx(n)}function wx(e){_a(e);const t=e.codePointAt(0)===47;let n=kx(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function kx(e,t){let n="",i=0,a=-1,s=0,o=-1,c,f;for(;++o<=e.length;){if(o<e.length)c=e.codePointAt(o);else{if(c===47)break;c=47}if(c===47){if(!(a===o-1||s===1))if(a!==o-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=o,s=0;continue}}else if(n.length>0){n="",i=0,a=o,s=0;continue}}t&&(n=n.length>0?n+"/..":"..",i=2)}else n.length>0?n+="/"+e.slice(a+1,o):n=e.slice(a+1,o),i=o-a-1;a=o,s=0}else c===46&&s>-1?s++:s=-1}return n}function _a(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const bx={cwd:Sx};function Sx(){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 Cx(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 Ex(e)}function Ex(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 Zu=["history","path","basename","stem","extname","dirname"];class g2{constructor(t){let n;t?Oc(t)?n={path:t}:typeof t=="string"||Tx(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":bx.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let i=-1;for(;++i<Zu.length;){const s=Zu[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)Zu.includes(a)||(this[a]=n[a])}get basename(){return typeof this.path=="string"?nr.basename(this.path):void 0}set basename(t){tc(t,"basename"),ec(t,"basename"),this.path=nr.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?nr.dirname(this.path):void 0}set dirname(t){Hm(this.basename,"dirname"),this.path=nr.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?nr.extname(this.path):void 0}set extname(t){if(ec(t,"extname"),Hm(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=nr.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Oc(t)&&(t=Cx(t)),tc(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?nr.basename(this.path,this.extname):void 0}set stem(t){tc(t,"stem"),ec(t,"stem"),this.path=nr.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 Vt(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 ec(e,t){if(e&&e.includes(nr.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+nr.sep+"`")}function tc(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Hm(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function Tx(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Nx=(function(e){const i=this.constructor.prototype,a=i[e],s=function(){return a.apply(s,arguments)};return Object.setPrototypeOf(s,i),s}),zx={}.hasOwnProperty;class Pf extends Nx{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=mx()}copy(){const t=new Pf;let n=-1;for(;++n<this.attachers.length;){const i=this.attachers[n];t.use(...i)}return t.data(Ju(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(ic("data",this.frozen),this.namespace[t]=n,this):zx.call(this.namespace,t)&&this.namespace[t]||void 0:t?(ic("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=eo(t),i=this.parser||this.Parser;return nc("parse",i),i(String(n),n)}process(t,n){const i=this;return this.freeze(),nc("process",this.parser||this.Parser),rc("process",this.compiler||this.Compiler),n?a(void 0,n):new Promise(a);function a(s,o){const c=eo(t),f=i.parse(c);i.run(f,c,function(m,p,x){if(m||!p||!x)return h(m);const w=p,E=i.stringify(w,x);jx(E)?x.value=E:x.result=E,h(m,x)});function h(m,p){m||!p?o(m):s?s(p):n(void 0,p)}}}processSync(t){let n=!1,i;return this.freeze(),nc("processSync",this.parser||this.Parser),rc("processSync",this.compiler||this.Compiler),this.process(t,a),Vm("processSync","process",n),i;function a(s,o){n=!0,qm(s),i=o}}run(t,n,i){Um(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(o,c){const f=eo(n);a.run(t,f,h);function h(m,p,x){const w=p||t;m?c(m):o?o(w):i(void 0,w,x)}}}runSync(t,n){let i=!1,a;return this.run(t,n,s),Vm("runSync","run",i),a;function s(o,c){qm(o),a=c,i=!0}}stringify(t,n){this.freeze();const i=eo(n),a=this.compiler||this.Compiler;return rc("stringify",a),Um(t),a(t,i)}use(t,...n){const i=this.attachers,a=this.namespace;if(ic("use",this.frozen),t!=null)if(typeof t=="function")f(t,n);else if(typeof t=="object")Array.isArray(t)?c(t):o(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function s(h){if(typeof h=="function")f(h,[]);else if(typeof h=="object")if(Array.isArray(h)){const[m,...p]=h;f(m,p)}else o(h);else throw new TypeError("Expected usable value, not `"+h+"`")}function o(h){if(!("plugins"in h)&&!("settings"in h))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(h.plugins),h.settings&&(a.settings=Ju(!0,a.settings,h.settings))}function c(h){let m=-1;if(h!=null)if(Array.isArray(h))for(;++m<h.length;){const p=h[m];s(p)}else throw new TypeError("Expected a list of plugins, not `"+h+"`")}function f(h,m){let p=-1,x=-1;for(;++p<i.length;)if(i[p][0]===h){x=p;break}if(x===-1)i.push([h,...m]);else if(m.length>0){let[w,...E]=m;const N=i[x][1];Fc(N)&&Fc(w)&&(w=Ju(!0,N,w)),i[x]=[h,w,...E]}}}}const Ax=new Pf().freeze();function nc(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function rc(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function ic(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 Um(e){if(!Fc(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Vm(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function eo(e){return Mx(e)?e:new g2(e)}function Mx(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function jx(e){return typeof e=="string"||Ix(e)}function Ix(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Rx="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Wm=[],Gm={allowDangerousHtml:!0},Lx=/^(https?|ircs?|mailto|xmpp)$/i,Dx=[{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 Px(e){const t=Fx(e),n=Ox(e);return Bx(t.runSync(t.parse(n),n),e)}function Fx(e){const t=e.rehypePlugins||Wm,n=e.remarkPlugins||Wm,i=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Gm}:Gm;return Ax().use(v9).use(n).use(fx,i).use(t)}function Ox(e){const t=e.children||"",n=new g2;return typeof t=="string"&&(n.value=t),n}function Bx(e,t){const n=t.allowedElements,i=t.allowElement,a=t.components,s=t.disallowedElements,o=t.skipHtml,c=t.unwrapDisallowed,f=t.urlTransform||_x;for(const m of Dx)Object.hasOwn(t,m.from)&&(""+m.from+(m.to?"use `"+m.to+"` instead":"remove it")+Rx+m.id,void 0);return t.className&&(e={type:"element",tagName:"div",properties:{className:t.className},children:e.type==="root"?e.children:[e]}),Df(e,h),e8(e,{Fragment:k.Fragment,components:a,ignoreInvalidStyle:!0,jsx:k.jsx,jsxs:k.jsxs,passKeys:!0,passNode:!0});function h(m,p,x){if(m.type==="raw"&&x&&typeof p=="number")return o?x.children.splice(p,1):x.children[p]={type:"text",value:m.value},p;if(m.type==="element"){let w;for(w in Yu)if(Object.hasOwn(Yu,w)&&Object.hasOwn(m.properties,w)){const E=m.properties[w],N=Yu[w];(N===null||N.includes(m.tagName))&&(m.properties[w]=f(String(E||""),w,m))}}if(m.type==="element"){let w=n?!n.includes(m.tagName):s?s.includes(m.tagName):!1;if(!w&&i&&typeof p=="number"&&(w=!i(m,p,x)),w&&x&&typeof p=="number")return c&&m.children?x.children.splice(p,1,...m.children):x.children.splice(p,1),p}}}function _x(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||Lx.test(e.slice(0,t))?e:""}function Ym(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 qx(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function $x(e,t,n){const a=Ba((n||{}).ignore||[]),s=Hx(t);let o=-1;for(;++o<s.length;)Lf(e,"text",c);function c(h,m){let p=-1,x;for(;++p<m.length;){const w=m[p],E=x?x.children:void 0;if(a(w,E?E.indexOf(w):void 0,x))return;x=w}if(x)return f(h,m)}function f(h,m){const p=m[m.length-1],x=s[o][0],w=s[o][1];let E=0;const A=p.children.indexOf(h);let z=!1,R=[];x.lastIndex=0;let _=x.exec(h.value);for(;_;){const X=_.index,V={index:_.index,input:_.input,stack:[...m,h]};let O=w(..._,V);if(typeof O=="string"&&(O=O.length>0?{type:"text",value:O}:void 0),O===!1?x.lastIndex=X+1:(E!==X&&R.push({type:"text",value:h.value.slice(E,X)}),Array.isArray(O)?R.push(...O):O&&R.push(O),E=X+_[0].length,z=!0),!x.global)break;_=x.exec(h.value)}return z?(E<h.value.length&&R.push({type:"text",value:h.value.slice(E)}),p.children.splice(A,1,...R)):R=[h],A+R.length}}function Hx(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([Ux(a[0]),Vx(a[1])])}return t}function Ux(e){return typeof e=="string"?new RegExp(qx(e),"g"):e}function Vx(e){return typeof e=="function"?e:function(){return e}}const lc="phrasing",ac=["autolink","link","image","label"];function Wx(){return{transforms:[Zx],enter:{literalAutolink:Yx,literalAutolinkEmail:sc,literalAutolinkHttp:sc,literalAutolinkWww:sc},exit:{literalAutolink:Jx,literalAutolinkEmail:Qx,literalAutolinkHttp:Xx,literalAutolinkWww:Kx}}}function Gx(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:lc,notInConstruct:ac},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:lc,notInConstruct:ac},{character:":",before:"[ps]",after:"\\/",inConstruct:lc,notInConstruct:ac}]}}function Yx(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function sc(e){this.config.enter.autolinkProtocol.call(this,e)}function Xx(e){this.config.exit.autolinkProtocol.call(this,e)}function Kx(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 Qx(e){this.config.exit.autolinkEmail.call(this,e)}function Jx(e){this.exit(e)}function Zx(e){$x(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,ew],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),tw]],{ignore:["link","linkReference"]})}function ew(e,t,n,i,a){let s="";if(!v2(a)||(/^w/i.test(t)&&(n=t+n,t="",s="http://"),!nw(n)))return!1;const o=rw(n+i);if(!o[0])return!1;const c={type:"link",title:null,url:s+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[c,{type:"text",value:o[1]}]:c}function tw(e,t,n,i){return!v2(i,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function nw(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 rw(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=Ym(e,"(");let s=Ym(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 v2(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||Bi(n)||Lo(n))&&(!t||n!==47)}y2.peek=hw;function iw(){this.buffer()}function lw(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function aw(){this.buffer()}function sw(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function ow(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Un(this.sliceSerialize(e)).toLowerCase(),n.label=t}function uw(e){this.exit(e)}function cw(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Un(this.sliceSerialize(e)).toLowerCase(),n.label=t}function fw(e){this.exit(e)}function hw(){return"["}function y2(e,t,n,i){const a=n.createTracker(i);let s=a.move("[^");const o=n.enter("footnoteReference"),c=n.enter("reference");return s+=a.move(n.safe(n.associationId(e),{after:"]",before:s})),c(),o(),s+=a.move("]"),s}function dw(){return{enter:{gfmFootnoteCallString:iw,gfmFootnoteCall:lw,gfmFootnoteDefinitionLabelString:aw,gfmFootnoteDefinition:sw},exit:{gfmFootnoteCallString:ow,gfmFootnoteCall:uw,gfmFootnoteDefinitionLabelString:cw,gfmFootnoteDefinition:fw}}}function mw(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:y2},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(i,a,s,o){const c=s.createTracker(o);let f=c.move("[^");const h=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?`
|
|
68
|
+
`:" ")+s.indentLines(s.containerFlow(i,c.current()),t?x2:pw))),h(),f}}function pw(e,t,n){return t===0?e:x2(e,t,n)}function x2(e,t,n){return(n?"":" ")+e}const gw=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];w2.peek=kw;function vw(){return{canContainEols:["delete"],enter:{strikethrough:xw},exit:{strikethrough:ww}}}function yw(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:gw}],handlers:{delete:w2}}}function xw(e){this.enter({type:"delete",children:[]},e)}function ww(e){this.exit(e)}function w2(e,t,n,i){const a=n.createTracker(i),s=n.enter("strikethrough");let o=a.move("~~");return o+=n.containerPhrasing(e,{...a.current(),before:o,after:"~"}),o+=a.move("~~"),s(),o}function kw(){return"~"}function bw(e){return e.length}function Sw(e,t){const n=t||{},i=(n.align||[]).concat(),a=n.stringLength||bw,s=[],o=[],c=[],f=[];let h=0,m=-1;for(;++m<e.length;){const N=[],A=[];let z=-1;for(e[m].length>h&&(h=e[m].length);++z<e[m].length;){const R=Cw(e[m][z]);if(n.alignDelimiters!==!1){const _=a(R);A[z]=_,(f[z]===void 0||_>f[z])&&(f[z]=_)}N.push(R)}o[m]=N,c[m]=A}let p=-1;if(typeof i=="object"&&"length"in i)for(;++p<h;)s[p]=Xm(i[p]);else{const N=Xm(i);for(;++p<h;)s[p]=N}p=-1;const x=[],w=[];for(;++p<h;){const N=s[p];let A="",z="";N===99?(A=":",z=":"):N===108?A=":":N===114&&(z=":");let R=n.alignDelimiters===!1?1:Math.max(1,f[p]-A.length-z.length);const _=A+"-".repeat(R)+z;n.alignDelimiters!==!1&&(R=A.length+R+z.length,R>f[p]&&(f[p]=R),w[p]=R),x[p]=_}o.splice(1,0,x),c.splice(1,0,w),m=-1;const E=[];for(;++m<o.length;){const N=o[m],A=c[m];p=-1;const z=[];for(;++p<h;){const R=N[p]||"";let _="",X="";if(n.alignDelimiters!==!1){const V=f[p]-(A[p]||0),O=s[p];O===114?_=" ".repeat(V):O===99?V%2?(_=" ".repeat(V/2+.5),X=" ".repeat(V/2-.5)):(_=" ".repeat(V/2),X=_):X=" ".repeat(V)}n.delimiterStart!==!1&&!p&&z.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&R==="")&&(n.delimiterStart!==!1||p)&&z.push(" "),n.alignDelimiters!==!1&&z.push(_),z.push(R),n.alignDelimiters!==!1&&z.push(X),n.padding!==!1&&z.push(" "),(n.delimiterEnd!==!1||p!==h-1)&&z.push("|")}E.push(n.delimiterEnd===!1?z.join("").replace(/ +$/,""):z.join(""))}return E.join(`
|
|
69
|
+
`)}function Cw(e){return e==null?"":String(e)}function Xm(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 Ew(e,t,n,i){const a=n.enter("blockquote"),s=n.createTracker(i);s.move("> "),s.shift(2);const o=n.indentLines(n.containerFlow(e,s.current()),Tw);return a(),o}function Tw(e,t,n){return">"+(n?"":" ")+e}function Nw(e,t){return Km(e,t.inConstruct,!0)&&!Km(e,t.notInConstruct,!1)}function Km(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 Qm(e,t,n,i){let a=-1;for(;++a<n.unsafe.length;)if(n.unsafe[a].character===`
|
|
70
|
+
`&&Nw(n.stack,n.unsafe[a]))return/[ \t]/.test(i.before)?"":" ";return`\\
|
|
71
|
+
`}function k2(e,t){const n=String(e);let i=n.indexOf(t),a=i,s=0,o=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;i!==-1;)i===a?++s>o&&(o=s):s=1,a=i+t.length,i=n.indexOf(t,a);return o}function zw(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 Aw(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 Mw(e,t,n,i){const a=Aw(n),s=e.value||"",o=a==="`"?"GraveAccent":"Tilde";if(zw(e,n)){const p=n.enter("codeIndented"),x=n.indentLines(s,jw);return p(),x}const c=n.createTracker(i),f=a.repeat(Math.max(k2(s,a)+1,3)),h=n.enter("codeFenced");let m=c.move(f);if(e.lang){const p=n.enter(`codeFencedLang${o}`);m+=c.move(n.safe(e.lang,{before:m,after:" ",encode:["`"],...c.current()})),p()}if(e.lang&&e.meta){const p=n.enter(`codeFencedMeta${o}`);m+=c.move(" "),m+=c.move(n.safe(e.meta,{before:m,after:`
|
|
72
|
+
`,encode:["`"],...c.current()})),p()}return m+=c.move(`
|
|
73
|
+
`),s&&(m+=c.move(s+`
|
|
74
|
+
`)),m+=c.move(f),h(),m}function jw(e,t,n){return(n?"":" ")+e}function Ff(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 Iw(e,t,n,i){const a=Ff(n),s=a==='"'?"Quote":"Apostrophe",o=n.enter("definition");let c=n.enter("label");const f=n.createTracker(i);let h=f.move("[");return h+=f.move(n.safe(n.associationId(e),{before:h,after:"]",...f.current()})),h+=f.move("]: "),c(),!e.url||/[\0- \u007F]/.test(e.url)?(c=n.enter("destinationLiteral"),h+=f.move("<"),h+=f.move(n.safe(e.url,{before:h,after:">",...f.current()})),h+=f.move(">")):(c=n.enter("destinationRaw"),h+=f.move(n.safe(e.url,{before:h,after:e.title?" ":`
|
|
75
|
+
`,...f.current()}))),c(),e.title&&(c=n.enter(`title${s}`),h+=f.move(" "+a),h+=f.move(n.safe(e.title,{before:h,after:a,...f.current()})),h+=f.move(a),c()),o(),h}function Rw(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 Ia(e){return"&#x"+e.toString(16).toUpperCase()+";"}function ko(e,t,n){const i=wl(e),a=wl(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}}b2.peek=Lw;function b2(e,t,n,i){const a=Rw(n),s=n.enter("emphasis"),o=n.createTracker(i),c=o.move(a);let f=o.move(n.containerPhrasing(e,{after:a,before:c,...o.current()}));const h=f.charCodeAt(0),m=ko(i.before.charCodeAt(i.before.length-1),h,a);m.inside&&(f=Ia(h)+f.slice(1));const p=f.charCodeAt(f.length-1),x=ko(i.after.charCodeAt(0),p,a);x.inside&&(f=f.slice(0,-1)+Ia(p));const w=o.move(a);return s(),n.attentionEncodeSurroundingInfo={after:x.outside,before:m.outside},c+f+w}function Lw(e,t,n){return n.options.emphasis||"*"}function Dw(e,t){let n=!1;return Df(e,function(i){if("value"in i&&/\r?\n|\r/.test(i.value)||i.type==="break")return n=!0,Dc}),!!((!e.depth||e.depth<3)&&Nf(e)&&(t.options.setext||n))}function Pw(e,t,n,i){const a=Math.max(Math.min(6,e.depth||1),1),s=n.createTracker(i);if(Dw(e,n)){const m=n.enter("headingSetext"),p=n.enter("phrasing"),x=n.containerPhrasing(e,{...s.current(),before:`
|
|
76
|
+
`,after:`
|
|
77
|
+
`});return p(),m(),x+`
|
|
78
|
+
`+(a===1?"=":"-").repeat(x.length-(Math.max(x.lastIndexOf("\r"),x.lastIndexOf(`
|
|
79
|
+
`))+1))}const o="#".repeat(a),c=n.enter("headingAtx"),f=n.enter("phrasing");s.move(o+" ");let h=n.containerPhrasing(e,{before:"# ",after:`
|
|
80
|
+
`,...s.current()});return/^[\t ]/.test(h)&&(h=Ia(h.charCodeAt(0))+h.slice(1)),h=h?o+" "+h:o,n.options.closeAtx&&(h+=" "+o),f(),c(),h}S2.peek=Fw;function S2(e){return e.value||""}function Fw(){return"<"}C2.peek=Ow;function C2(e,t,n,i){const a=Ff(n),s=a==='"'?"Quote":"Apostrophe",o=n.enter("image");let c=n.enter("label");const f=n.createTracker(i);let h=f.move("![");return h+=f.move(n.safe(e.alt,{before:h,after:"]",...f.current()})),h+=f.move("]("),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=n.enter("destinationLiteral"),h+=f.move("<"),h+=f.move(n.safe(e.url,{before:h,after:">",...f.current()})),h+=f.move(">")):(c=n.enter("destinationRaw"),h+=f.move(n.safe(e.url,{before:h,after:e.title?" ":")",...f.current()}))),c(),e.title&&(c=n.enter(`title${s}`),h+=f.move(" "+a),h+=f.move(n.safe(e.title,{before:h,after:a,...f.current()})),h+=f.move(a),c()),h+=f.move(")"),o(),h}function Ow(){return"!"}E2.peek=Bw;function E2(e,t,n,i){const a=e.referenceType,s=n.enter("imageReference");let o=n.enter("label");const c=n.createTracker(i);let f=c.move("![");const h=n.safe(e.alt,{before:f,after:"]",...c.current()});f+=c.move(h+"]["),o();const m=n.stack;n.stack=[],o=n.enter("reference");const p=n.safe(n.associationId(e),{before:f,after:"]",...c.current()});return o(),n.stack=m,s(),a==="full"||!h||h!==p?f+=c.move(p+"]"):a==="shortcut"?f=f.slice(0,-1):f+=c.move("]"),f}function Bw(){return"!"}T2.peek=_w;function T2(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 o=n.unsafe[s],c=n.compilePattern(o);let f;if(o.atBreak)for(;f=c.exec(i);){let h=f.index;i.charCodeAt(h)===10&&i.charCodeAt(h-1)===13&&h--,i=i.slice(0,h)+" "+i.slice(f.index+1)}}return a+i+a}function _w(){return"`"}function N2(e,t){const n=Nf(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))}z2.peek=qw;function z2(e,t,n,i){const a=Ff(n),s=a==='"'?"Quote":"Apostrophe",o=n.createTracker(i);let c,f;if(N2(e,n)){const m=n.stack;n.stack=[],c=n.enter("autolink");let p=o.move("<");return p+=o.move(n.containerPhrasing(e,{before:p,after:">",...o.current()})),p+=o.move(">"),c(),n.stack=m,p}c=n.enter("link"),f=n.enter("label");let h=o.move("[");return h+=o.move(n.containerPhrasing(e,{before:h,after:"](",...o.current()})),h+=o.move("]("),f(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(f=n.enter("destinationLiteral"),h+=o.move("<"),h+=o.move(n.safe(e.url,{before:h,after:">",...o.current()})),h+=o.move(">")):(f=n.enter("destinationRaw"),h+=o.move(n.safe(e.url,{before:h,after:e.title?" ":")",...o.current()}))),f(),e.title&&(f=n.enter(`title${s}`),h+=o.move(" "+a),h+=o.move(n.safe(e.title,{before:h,after:a,...o.current()})),h+=o.move(a),f()),h+=o.move(")"),c(),h}function qw(e,t,n){return N2(e,n)?"<":"["}A2.peek=$w;function A2(e,t,n,i){const a=e.referenceType,s=n.enter("linkReference");let o=n.enter("label");const c=n.createTracker(i);let f=c.move("[");const h=n.containerPhrasing(e,{before:f,after:"]",...c.current()});f+=c.move(h+"]["),o();const m=n.stack;n.stack=[],o=n.enter("reference");const p=n.safe(n.associationId(e),{before:f,after:"]",...c.current()});return o(),n.stack=m,s(),a==="full"||!h||h!==p?f+=c.move(p+"]"):a==="shortcut"?f=f.slice(0,-1):f+=c.move("]"),f}function $w(){return"["}function Of(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 Hw(e){const t=Of(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 Uw(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 M2(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 Vw(e,t,n,i){const a=n.enter("list"),s=n.bulletCurrent;let o=e.ordered?Uw(n):Of(n);const c=e.ordered?o==="."?")":".":Hw(n);let f=t&&n.bulletLastUsed?o===n.bulletLastUsed:!1;if(!e.ordered){const m=e.children?e.children[0]:void 0;if((o==="*"||o==="-")&&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),M2(n)===o&&m){let p=-1;for(;++p<e.children.length;){const x=e.children[p];if(x&&x.type==="listItem"&&x.children&&x.children[0]&&x.children[0].type==="thematicBreak"){f=!0;break}}}}f&&(o=c),n.bulletCurrent=o;const h=n.containerFlow(e,i);return n.bulletLastUsed=o,n.bulletCurrent=s,a(),h}function Ww(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 Gw(e,t,n,i){const a=Ww(n);let s=n.bulletCurrent||Of(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 o=s.length+1;(a==="tab"||a==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);const c=n.createTracker(i);c.move(s+" ".repeat(o-s.length)),c.shift(o);const f=n.enter("listItem"),h=n.indentLines(n.containerFlow(e,c.current()),m);return f(),h;function m(p,x,w){return x?(w?"":" ".repeat(o))+p:(w?s:s+" ".repeat(o-s.length))+p}}function Yw(e,t,n,i){const a=n.enter("paragraph"),s=n.enter("phrasing"),o=n.containerPhrasing(e,i);return s(),a(),o}const Xw=Ba(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function Kw(e,t,n,i){return(e.children.some(function(o){return Xw(o)})?n.containerPhrasing:n.containerFlow).call(n,e,i)}function Qw(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}j2.peek=Jw;function j2(e,t,n,i){const a=Qw(n),s=n.enter("strong"),o=n.createTracker(i),c=o.move(a+a);let f=o.move(n.containerPhrasing(e,{after:a,before:c,...o.current()}));const h=f.charCodeAt(0),m=ko(i.before.charCodeAt(i.before.length-1),h,a);m.inside&&(f=Ia(h)+f.slice(1));const p=f.charCodeAt(f.length-1),x=ko(i.after.charCodeAt(0),p,a);x.inside&&(f=f.slice(0,-1)+Ia(p));const w=o.move(a+a);return s(),n.attentionEncodeSurroundingInfo={after:x.outside,before:m.outside},c+f+w}function Jw(e,t,n){return n.options.strong||"*"}function Zw(e,t,n,i){return n.safe(e.value,i)}function ek(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 tk(e,t,n){const i=(M2(n)+(n.options.ruleSpaces?" ":"")).repeat(ek(n));return n.options.ruleSpaces?i.slice(0,-1):i}const I2={blockquote:Ew,break:Qm,code:Mw,definition:Iw,emphasis:b2,hardBreak:Qm,heading:Pw,html:S2,image:C2,imageReference:E2,inlineCode:T2,link:z2,linkReference:A2,list:Vw,listItem:Gw,paragraph:Yw,root:Kw,strong:j2,text:Zw,thematicBreak:tk};function nk(){return{enter:{table:rk,tableData:Jm,tableHeader:Jm,tableRow:lk},exit:{codeText:ak,table:ik,tableData:oc,tableHeader:oc,tableRow:oc}}}function rk(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 ik(e){this.exit(e),this.data.inTable=void 0}function lk(e){this.enter({type:"tableRow",children:[]},e)}function oc(e){this.exit(e)}function Jm(e){this.enter({type:"tableCell",children:[]},e)}function ak(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,sk));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function sk(e,t){return t==="|"?t:e}function ok(e){const t=e||{},n=t.tableCellPadding,i=t.tablePipeAlign,a=t.stringLength,s=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
81
|
+
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:x,table:o,tableCell:f,tableRow:c}};function o(w,E,N,A){return h(m(w,N,A),w.align)}function c(w,E,N,A){const z=p(w,N,A),R=h([z]);return R.slice(0,R.indexOf(`
|
|
82
|
+
`))}function f(w,E,N,A){const z=N.enter("tableCell"),R=N.enter("phrasing"),_=N.containerPhrasing(w,{...A,before:s,after:s});return R(),z(),_}function h(w,E){return Sw(w,{align:E,alignDelimiters:i,padding:n,stringLength:a})}function m(w,E,N){const A=w.children;let z=-1;const R=[],_=E.enter("table");for(;++z<A.length;)R[z]=p(A[z],E,N);return _(),R}function p(w,E,N){const A=w.children;let z=-1;const R=[],_=E.enter("tableRow");for(;++z<A.length;)R[z]=f(A[z],w,E,N);return _(),R}function x(w,E,N){let A=I2.inlineCode(w,E,N);return N.stack.includes("tableCell")&&(A=A.replace(/\|/g,"\\$&")),A}}function uk(){return{exit:{taskListCheckValueChecked:Zm,taskListCheckValueUnchecked:Zm,paragraph:fk}}}function ck(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:hk}}}function Zm(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function fk(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,o;for(;++s<a.length;){const c=a[s];if(c.type==="paragraph"){o=c;break}}o===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 hk(e,t,n,i){const a=e.children[0],s=typeof e.checked=="boolean"&&a&&a.type==="paragraph",o="["+(e.checked?"x":" ")+"] ",c=n.createTracker(i);s&&c.move(o);let f=I2.listItem(e,t,n,{...i,...c.current()});return s&&(f=f.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,h)),f;function h(m){return m+o}}function dk(){return[Wx(),dw(),vw(),nk(),uk()]}function mk(e){return{extensions:[Gx(),mw(e),yw(),ok(e),ck()]}}const pk={tokenize:kk,partial:!0},R2={tokenize:bk,partial:!0},L2={tokenize:Sk,partial:!0},D2={tokenize:Ck,partial:!0},gk={tokenize:Ek,partial:!0},P2={name:"wwwAutolink",tokenize:xk,previous:O2},F2={name:"protocolAutolink",tokenize:wk,previous:B2},Er={name:"emailAutolink",tokenize:yk,previous:_2},ar={};function vk(){return{text:ar}}let Ii=48;for(;Ii<123;)ar[Ii]=Er,Ii++,Ii===58?Ii=65:Ii===91&&(Ii=97);ar[43]=Er;ar[45]=Er;ar[46]=Er;ar[95]=Er;ar[72]=[Er,F2];ar[104]=[Er,F2];ar[87]=[Er,P2];ar[119]=[Er,P2];function yk(e,t,n){const i=this;let a,s;return o;function o(p){return!Bc(p)||!_2.call(i,i.previous)||Bf(i.events)?n(p):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),c(p))}function c(p){return Bc(p)?(e.consume(p),c):p===64?(e.consume(p),f):n(p)}function f(p){return p===46?e.check(gk,m,h)(p):p===45||p===95||Ht(p)?(s=!0,e.consume(p),f):m(p)}function h(p){return e.consume(p),a=!0,f}function m(p){return s&&a&&Kt(i.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(p)):n(p)}}function xk(e,t,n){const i=this;return a;function a(o){return o!==87&&o!==119||!O2.call(i,i.previous)||Bf(i.events)?n(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(pk,e.attempt(R2,e.attempt(L2,s),n),n)(o))}function s(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(o)}}function wk(e,t,n){const i=this;let a="",s=!1;return o;function o(p){return(p===72||p===104)&&B2.call(i,i.previous)&&!Bf(i.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),a+=String.fromCodePoint(p),e.consume(p),c):n(p)}function c(p){if(Kt(p)&&a.length<5)return a+=String.fromCodePoint(p),e.consume(p),c;if(p===58){const x=a.toLowerCase();if(x==="http"||x==="https")return e.consume(p),f}return n(p)}function f(p){return p===47?(e.consume(p),s?h:(s=!0,f)):n(p)}function h(p){return p===null||yo(p)||nt(p)||Bi(p)||Lo(p)?n(p):e.attempt(R2,e.attempt(L2,m),n)(p)}function m(p){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(p)}}function kk(e,t,n){let i=0;return a;function a(o){return(o===87||o===119)&&i<3?(i++,e.consume(o),a):o===46&&i===3?(e.consume(o),s):n(o)}function s(o){return o===null?n(o):t(o)}}function bk(e,t,n){let i,a,s;return o;function o(h){return h===46||h===95?e.check(D2,f,c)(h):h===null||nt(h)||Bi(h)||h!==45&&Lo(h)?f(h):(s=!0,e.consume(h),o)}function c(h){return h===95?i=!0:(a=i,i=void 0),e.consume(h),o}function f(h){return a||i||!s?n(h):t(h)}}function Sk(e,t){let n=0,i=0;return a;function a(o){return o===40?(n++,e.consume(o),a):o===41&&i<n?s(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(D2,t,s)(o):o===null||nt(o)||Bi(o)?t(o):(e.consume(o),a)}function s(o){return o===41&&i++,e.consume(o),a}}function Ck(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)||Bi(c)?t(c):n(c)}function a(c){return c===null||c===40||c===91||nt(c)||Bi(c)?t(c):i(c)}function s(c){return Kt(c)?o(c):n(c)}function o(c){return c===59?(e.consume(c),i):Kt(c)?(e.consume(c),o):n(c)}}function Ek(e,t,n){return i;function i(s){return e.consume(s),a}function a(s){return Ht(s)?n(s):t(s)}}function O2(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||nt(e)}function B2(e){return!Kt(e)}function _2(e){return!(e===47||Bc(e))}function Bc(e){return e===43||e===45||e===46||e===95||Ht(e)}function Bf(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 Tk={tokenize:Lk,partial:!0};function Nk(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:jk,continuation:{tokenize:Ik},exit:Rk}},text:{91:{name:"gfmFootnoteCall",tokenize:Mk},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:zk,resolveTo:Ak}}}}function zk(e,t,n){const i=this;let a=i.events.length;const s=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);let o;for(;a--;){const f=i.events[a][1];if(f.type==="labelImage"){o=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(!o||!o._balanced)return n(f);const h=Un(i.sliceSerialize({start:o.end,end:i.now()}));return h.codePointAt(0)!==94||!s.includes(h.slice(1))?n(f):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),t(f))}}function Ak(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)},o={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",o,t],["exit",o,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 Mk(e,t,n){const i=this,a=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);let s=0,o;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",h)}function h(p){if(s>999||p===93&&!o||p===null||p===91||nt(p))return n(p);if(p===93){e.exit("chunkString");const x=e.exit("gfmFootnoteCallString");return a.includes(Un(i.sliceSerialize(x)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(p),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(p)}return nt(p)||(o=!0),s++,e.consume(p),p===92?m:h}function m(p){return p===91||p===92||p===93?(e.consume(p),s++,h):h(p)}}function jk(e,t,n){const i=this,a=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);let s,o=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"),h}function h(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(o>999||E===93&&!c||E===null||E===91||nt(E))return n(E);if(E===93){e.exit("chunkString");const N=e.exit("gfmFootnoteDefinitionLabelString");return s=Un(i.sliceSerialize(N)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(E),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),x}return nt(E)||(c=!0),o++,e.consume(E),E===92?p:m}function p(E){return E===91||E===92||E===93?(e.consume(E),o++,m):m(E)}function x(E){return E===58?(e.enter("definitionMarker"),e.consume(E),e.exit("definitionMarker"),a.includes(s)||a.push(s),We(e,w,"gfmFootnoteDefinitionWhitespace")):n(E)}function w(E){return t(E)}}function Ik(e,t,n){return e.check(Oa,t,e.attempt(Tk,t,n))}function Rk(e){e.exit("gfmFootnoteDefinition")}function Lk(e,t,n){const i=this;return We(e,a,"gfmFootnoteDefinitionIndent",5);function a(s){const o=i.events[i.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(s):n(s)}}function Dk(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(o,c){let f=-1;for(;++f<o.length;)if(o[f][0]==="enter"&&o[f][1].type==="strikethroughSequenceTemporary"&&o[f][1]._close){let h=f;for(;h--;)if(o[h][0]==="exit"&&o[h][1].type==="strikethroughSequenceTemporary"&&o[h][1]._open&&o[f][1].end.offset-o[f][1].start.offset===o[h][1].end.offset-o[h][1].start.offset){o[f][1].type="strikethroughSequence",o[h][1].type="strikethroughSequence";const m={type:"strikethrough",start:Object.assign({},o[h][1].start),end:Object.assign({},o[f][1].end)},p={type:"strikethroughText",start:Object.assign({},o[h][1].end),end:Object.assign({},o[f][1].start)},x=[["enter",m,c],["enter",o[h][1],c],["exit",o[h][1],c],["enter",p,c]],w=c.parser.constructs.insideSpan.null;w&&gn(x,x.length,0,Do(w,o.slice(h+1,f),c)),gn(x,x.length,0,[["exit",p,c],["enter",o[f][1],c],["exit",o[f][1],c],["exit",m,c]]),gn(o,h-1,f-h+3,x),f=h+x.length-2;break}}for(f=-1;++f<o.length;)o[f][1].type==="strikethroughSequenceTemporary"&&(o[f][1].type="data");return o}function s(o,c,f){const h=this.previous,m=this.events;let p=0;return x;function x(E){return h===126&&m[m.length-1][1].type!=="characterEscape"?f(E):(o.enter("strikethroughSequenceTemporary"),w(E))}function w(E){const N=wl(h);if(E===126)return p>1?f(E):(o.consume(E),p++,w);if(p<2&&!n)return f(E);const A=o.exit("strikethroughSequenceTemporary"),z=wl(E);return A._open=!z||z===2&&!!N,A._close=!N||N===2&&!!z,c(E)}}}class Pk{constructor(){this.map=[]}add(t,n,i){Fk(this,t,n,i)}consume(t){if(this.map.sort(function(s,o){return s[0]-o[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 Fk(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 Ok(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 Bk(){return{flow:{null:{name:"table",tokenize:_k,resolveAll:qk}}}}function _k(e,t,n){const i=this;let a=0,s=0,o;return c;function c(H){let he=i.events.length-1;for(;he>-1;){const ve=i.events[he][1].type;if(ve==="lineEnding"||ve==="linePrefix")he--;else break}const ne=he>-1?i.events[he][1].type:null,Te=ne==="tableHead"||ne==="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"),h(H)}function h(H){return H===124||(o=!0,s+=1),m(H)}function m(H){return H===null?n(H):je(H)?s>1?(s=0,i.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(H),e.exit("lineEnding"),w):n(H):Ge(H)?We(e,m,"whitespace")(H):(s+=1,o&&(o=!1,a+=1),H===124?(e.enter("tableCellDivider"),e.consume(H),e.exit("tableCellDivider"),o=!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?x:p)}function x(H){return H===92||H===124?(e.consume(H),p):p(H)}function w(H){return i.interrupt=!1,i.parser.lazy[i.now().line]?n(H):(e.enter("tableDelimiterRow"),o=!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?A(H):H===124?(o=!0,e.enter("tableCellDivider"),e.consume(H),e.exit("tableCellDivider"),N):V(H)}function N(H){return Ge(H)?We(e,A,"whitespace")(H):A(H)}function A(H){return H===58?(s+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(H),e.exit("tableDelimiterMarker"),z):H===45?(s+=1,z(H)):H===null||je(H)?X(H):V(H)}function z(H){return H===45?(e.enter("tableDelimiterFiller"),R(H)):V(H)}function R(H){return H===45?(e.consume(H),R):H===58?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(H),e.exit("tableDelimiterMarker"),_):(e.exit("tableDelimiterFiller"),_(H))}function _(H){return Ge(H)?We(e,X,"whitespace")(H):X(H)}function X(H){return H===124?E(H):H===null||je(H)?!o||a!==s?V(H):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(H)):V(H)}function V(H){return n(H)}function O(H){return e.enter("tableRow"),G(H)}function G(H){return H===124?(e.enter("tableCellDivider"),e.consume(H),e.exit("tableCellDivider"),G):H===null||je(H)?(e.exit("tableRow"),t(H)):Ge(H)?We(e,G,"whitespace")(H):(e.enter("data"),te(H))}function te(H){return H===null||H===124||nt(H)?(e.exit("data"),G(H)):(e.consume(H),H===92?re:te)}function re(H){return H===92||H===124?(e.consume(H),te):te(H)}}function qk(e,t){let n=-1,i=!0,a=0,s=[0,0,0,0],o=[0,0,0,0],c=!1,f=0,h,m,p;const x=new Pk;for(;++n<e.length;){const w=e[n],E=w[1];w[0]==="enter"?E.type==="tableHead"?(c=!1,f!==0&&(ep(x,t,f,h,m),m=void 0,f=0),h={type:"table",start:Object.assign({},E.start),end:Object.assign({},E.end)},x.add(n,0,[["enter",h,t]])):E.type==="tableRow"||E.type==="tableDelimiterRow"?(i=!0,p=void 0,s=[0,0,0,0],o=[0,n+1,0,0],c&&(c=!1,m={type:"tableBody",start:Object.assign({},E.start),end:Object.assign({},E.end)},x.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,o[2]===0&&(s[1]!==0&&(o[0]=o[1],p=to(x,t,s,a,void 0,p),s=[0,0,0,0]),o[2]=n)):E.type==="tableCellDivider"&&(i?i=!1:(s[1]!==0&&(o[0]=o[1],p=to(x,t,s,a,void 0,p)),s=o,o=[s[1],n,0,0])):E.type==="tableHead"?(c=!0,f=n):E.type==="tableRow"||E.type==="tableDelimiterRow"?(f=n,s[1]!==0?(o[0]=o[1],p=to(x,t,s,a,n,p)):o[1]!==0&&(p=to(x,t,o,a,n,p)),a=0):a&&(E.type==="data"||E.type==="tableDelimiterMarker"||E.type==="tableDelimiterFiller")&&(o[3]=n)}for(f!==0&&ep(x,t,f,h,m),x.consume(t.events),n=-1;++n<t.events.length;){const w=t.events[n];w[0]==="enter"&&w[1].type==="table"&&(w[1]._align=Ok(t.events,n))}return e}function to(e,t,n,i,a,s){const o=i===1?"tableHeader":i===2?"tableDelimiter":"tableData",c="tableContent";n[0]!==0&&(s.end=Object.assign({},yl(t.events,n[0])),e.add(n[0],0,[["exit",s,t]]));const f=yl(t.events,n[1]);if(s={type:o,start:Object.assign({},f),end:Object.assign({},f)},e.add(n[1],0,[["enter",s,t]]),n[2]!==0){const h=yl(t.events,n[2]),m=yl(t.events,n[3]),p={type:c,start:Object.assign({},h),end:Object.assign({},m)};if(e.add(n[2],0,[["enter",p,t]]),i!==2){const x=t.events[n[2]],w=t.events[n[3]];if(x[1].end=Object.assign({},w[1].end),x[1].type="chunkText",x[1].contentType="text",n[3]>n[2]+1){const E=n[2]+1,N=n[3]-n[2]-1;e.add(E,N,[])}}e.add(n[3]+1,0,[["exit",p,t]])}return a!==void 0&&(s.end=Object.assign({},yl(t.events,a)),e.add(a,0,[["exit",s,t]]),s=void 0),s}function ep(e,t,n,i,a){const s=[],o=yl(t.events,n);a&&(a.end=Object.assign({},o),s.push(["exit",a,t])),i.end=Object.assign({},o),s.push(["exit",i,t]),e.add(n+1,0,s)}function yl(e,t){const n=e[t],i=n[0]==="enter"?"start":"end";return n[1][i]}const $k={name:"tasklistCheck",tokenize:Uk};function Hk(){return{text:{91:$k}}}function Uk(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"),o):f===88||f===120?(e.enter("taskListCheckValueChecked"),e.consume(f),e.exit("taskListCheckValueChecked"),o):n(f)}function o(f){return f===93?(e.enter("taskListCheckMarker"),e.consume(f),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),c):n(f)}function c(f){return je(f)?t(f):Ge(f)?e.check({tokenize:Vk},t,n)(f):n(f)}}function Vk(e,t,n){return We(e,i,"whitespace");function i(a){return a===null?n(a):t(a)}}function Wk(e){return K4([vk(),Nk(),Dk(e),Bk(),Hk()])}const Gk={};function Yk(e){const t=this,n=e||Gk,i=t.data(),a=i.micromarkExtensions||(i.micromarkExtensions=[]),s=i.fromMarkdownExtensions||(i.fromMarkdownExtensions=[]),o=i.toMarkdownExtensions||(i.toMarkdownExtensions=[]);a.push(Wk(n)),s.push(dk()),o.push(mk(n))}function Xk(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:s},exit:{mathFlow:a,mathFlowFence:i,mathFlowFenceMeta:n,mathFlowValue:c,mathText:o,mathTextData:c}};function e(f){const h={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[h]}},f)}function t(){this.buffer()}function n(){const f=this.resume(),h=this.stack[this.stack.length-1];h.type,h.meta=f}function i(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function a(f){const h=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),m=this.stack[this.stack.length-1];m.type,this.exit(f),m.value=h;const p=m.data.hChildren[0];p.type,p.tagName,p.children.push({type:"text",value:h}),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 o(f){const h=this.resume(),m=this.stack[this.stack.length-1];m.type,this.exit(f),m.value=h,m.data.hChildren.push({type:"text",value:h})}function c(f){this.config.enter.data.call(this,f),this.config.exit.data.call(this,f)}}function Kk(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),i.peek=a,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
|
|
83
|
+
`,inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:n,inlineMath:i}};function n(s,o,c,f){const h=s.value||"",m=c.createTracker(f),p="$".repeat(Math.max(k2(h,"$")+1,2)),x=c.enter("mathFlow");let w=m.move(p);if(s.meta){const E=c.enter("mathFlowMeta");w+=m.move(c.safe(s.meta,{after:`
|
|
84
|
+
`,before:w,encode:["$"],...m.current()})),E()}return w+=m.move(`
|
|
85
|
+
`),h&&(w+=m.move(h+`
|
|
86
|
+
`)),w+=m.move(p),x(),w}function i(s,o,c){let f=s.value||"",h=1;for(t||h++;new RegExp("(^|[^$])"+"\\$".repeat(h)+"([^$]|$)").test(f);)h++;const m="$".repeat(h);/[^ \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 x=c.unsafe[p];if(!x.atBreak)continue;const w=c.compilePattern(x);let E;for(;E=w.exec(f);){let N=E.index;f.codePointAt(N)===10&&f.codePointAt(N-1)===13&&N--,f=f.slice(0,N)+" "+f.slice(E.index+1)}}return m+f+m}function a(){return"$"}}const Qk={tokenize:Jk,concrete:!0,name:"mathFlow"},tp={tokenize:Zk,partial:!0};function Jk(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 o=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),o++,f):o<2?n(R):(e.exit("mathFlowFenceSequence"),We(e,h,"whitespace")(R))}function h(R){return R===null||je(R)?p(R):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),m(R))}function m(R){return R===null||je(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(tp,x,A)(R)}function x(R){return e.attempt({tokenize:z,partial:!0},A,w)(R)}function w(R){return(s?We(e,E,"linePrefix",s+1):E)(R)}function E(R){return R===null?A(R):je(R)?e.attempt(tp,x,A)(R):(e.enter("mathFlowValue"),N(R))}function N(R){return R===null||je(R)?(e.exit("mathFlowValue"),E(R)):(e.consume(R),N)}function A(R){return e.exit("mathFlow"),t(R)}function z(R,_,X){let V=0;return We(R,O,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function O(re){return R.enter("mathFlowFence"),R.enter("mathFlowFenceSequence"),G(re)}function G(re){return re===36?(V++,R.consume(re),G):V<o?X(re):(R.exit("mathFlowFenceSequence"),We(R,te,"whitespace")(re))}function te(re){return re===null||je(re)?(R.exit("mathFlowFence"),_(re)):X(re)}}}function Zk(e,t,n){const i=this;return a;function a(o){return o===null?t(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),s)}function s(o){return i.parser.lazy[i.now().line]?n(o):t(o)}}function eb(e){let n=(e||{}).singleDollarTextMath;return n==null&&(n=!0),{tokenize:i,resolve:tb,previous:nb,name:"mathText"};function i(a,s,o){let c=0,f,h;return m;function m(N){return a.enter("mathText"),a.enter("mathTextSequence"),p(N)}function p(N){return N===36?(a.consume(N),c++,p):c<2&&!n?o(N):(a.exit("mathTextSequence"),x(N))}function x(N){return N===null?o(N):N===36?(h=a.enter("mathTextSequence"),f=0,E(N)):N===32?(a.enter("space"),a.consume(N),a.exit("space"),x):je(N)?(a.enter("lineEnding"),a.consume(N),a.exit("lineEnding"),x):(a.enter("mathTextData"),w(N))}function w(N){return N===null||N===32||N===36||je(N)?(a.exit("mathTextData"),x(N)):(a.consume(N),w)}function E(N){return N===36?(a.consume(N),f++,E):f===c?(a.exit("mathTextSequence"),a.exit("mathText"),s(N)):(h.type="mathTextData",w(N))}}}function tb(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 nb(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function rb(e){return{flow:{36:Qk},text:{36:eb(e)}}}class fe extends Error{constructor(t,n){var i="KaTeX parse error: "+t,a,s,o=n&&n.loc;if(o&&o.start<=o.end){var c=o.lexer.input;a=o.start,s=o.end,a===c.length?i+=" at end of input: ":i+=" at position "+(a+1)+": ";var f=c.slice(a,s).replace(/[^]/g,"$&̲"),h;a>15?h="…"+c.slice(a-15,a):h=c.slice(0,a);var m;s+15<c.length?m=c.slice(s,s+15)+"…":m=c.slice(s),i+=h+f+m}super(i),this.name="ParseError",this.position=void 0,this.length=void 0,this.rawMessage=void 0,Object.setPrototypeOf(this,fe.prototype),this.position=a,a!=null&&s!=null&&(this.length=s-a),this.rawMessage=t}}var ib=/([A-Z])/g,lb=e=>e.replace(ib,"-$1").toLowerCase(),ab={"&":"&",">":">","<":"<",'"':""","'":"'"},sb=/[&><"']/g,Ut=e=>String(e).replace(sb,t=>ab[t]),mo=e=>e.type==="ordgroup"||e.type==="color"?e.body.length===1?mo(e.body[0]):e:e.type==="font"?mo(e.body):e,ob=new Set(["mathord","textord","atom"]),Tr=e=>ob.has(mo(e).type),ub=e=>{var t=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);return t?t[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?null:t[1].toLowerCase():"_relative"},bo={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 cb(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 fb(e){if(e.default!==void 0)return e.default;var t=Array.isArray(e.type)?e.type[0]:e.type;return cb(t)}function hb(e,t,n,i){var a=n[t];e[t]=a!==void 0?i.processor?i.processor(a):a:fb(i)}class _f{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(bo)){var i=bo[n];i&&hb(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 fe("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=ub(t.url);if(n==null)return!1;t.protocol=n}var i=typeof this.trust=="function"?this.trust(t):this.trust;return!!i}}class Zr{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 rr[db[this.id]]}sub(){return rr[mb[this.id]]}fracNum(){return rr[pb[this.id]]}fracDen(){return rr[gb[this.id]]}cramp(){return rr[vb[this.id]]}text(){return rr[yb[this.id]]}isTight(){return this.size>=2}}var qf=0,So=1,xl=2,br=3,Ra=4,jn=5,kl=6,Qt=7,rr=[new Zr(qf,0,!1),new Zr(So,0,!0),new Zr(xl,1,!1),new Zr(br,1,!0),new Zr(Ra,2,!1),new Zr(jn,2,!0),new Zr(kl,3,!1),new Zr(Qt,3,!0)],db=[Ra,jn,Ra,jn,kl,Qt,kl,Qt],mb=[jn,jn,jn,jn,Qt,Qt,Qt,Qt],pb=[xl,br,Ra,jn,kl,Qt,kl,Qt],gb=[br,br,jn,jn,Qt,Qt,Qt,Qt],vb=[So,So,br,br,jn,jn,Qt,Qt],yb=[qf,So,xl,br,xl,br,xl,br],$e={DISPLAY:rr[qf],TEXT:rr[xl],SCRIPT:rr[Ra],SCRIPTSCRIPT:rr[kl]},_c=[{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 xb(e){for(var t=0;t<_c.length;t++)for(var n=_c[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 po=[];_c.forEach(e=>e.blocks.forEach(t=>po.push(...t)));function q2(e){for(var t=0;t<po.length;t+=2)if(e>=po[t]&&e<=po[t+1])return!0;return!1}var zt=e=>e+" "+e,vl=80,wb=function(t,n){return"M95,"+(622+t+n)+`
|
|
87
|
+
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
|
|
88
|
+
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
|
|
89
|
+
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
|
|
90
|
+
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
|
|
91
|
+
c69,-144,104.5,-217.7,106.5,-221
|
|
92
|
+
l`+t/2.075+" -"+t+`
|
|
93
|
+
c5.3,-9.3,12,-14,20,-14
|
|
94
|
+
H400000v`+(40+t)+`H845.2724
|
|
95
|
+
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
|
|
96
|
+
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
|
|
97
|
+
M`+(834+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},kb=function(t,n){return"M263,"+(601+t+n)+`c0.7,0,18,39.7,52,119
|
|
98
|
+
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
|
|
99
|
+
c340,-704.7,510.7,-1060.3,512,-1067
|
|
100
|
+
l`+t/2.084+" -"+t+`
|
|
101
|
+
c4.7,-7.3,11,-11,19,-11
|
|
102
|
+
H40000v`+(40+t)+`H1012.3
|
|
103
|
+
s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
|
|
104
|
+
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
|
|
105
|
+
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
|
|
106
|
+
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
|
|
107
|
+
M`+(1001+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},bb=function(t,n){return"M983 "+(10+t+n)+`
|
|
108
|
+
l`+t/3.13+" -"+t+`
|
|
109
|
+
c4,-6.7,10,-10,18,-10 H400000v`+(40+t)+`
|
|
110
|
+
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
|
|
111
|
+
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
|
|
112
|
+
c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
|
|
113
|
+
c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
|
|
114
|
+
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
|
|
115
|
+
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
|
|
116
|
+
M`+(1001+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},Sb=function(t,n){return"M424,"+(2398+t+n)+`
|
|
117
|
+
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
|
|
118
|
+
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
|
|
119
|
+
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
|
|
120
|
+
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
|
|
121
|
+
l`+t/4.223+" -"+t+`c4,-6.7,10,-10,18,-10 H400000
|
|
122
|
+
v`+(40+t)+`H1014.6
|
|
123
|
+
s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
|
|
124
|
+
c-2,6,-10,9,-24,9
|
|
125
|
+
c-8,0,-12,-0.7,-12,-2z M`+(1001+t)+" "+n+`
|
|
126
|
+
h400000v`+(40+t)+"h-400000z"},Cb=function(t,n){return"M473,"+(2713+t+n)+`
|
|
127
|
+
c339.3,-1799.3,509.3,-2700,510,-2702 l`+t/5.298+" -"+t+`
|
|
128
|
+
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+t)+`H1017.7
|
|
129
|
+
s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
|
|
130
|
+
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
|
|
131
|
+
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
|
|
132
|
+
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
|
|
133
|
+
606zM`+(1001+t)+" "+n+"h400000v"+(40+t)+"H1017.7z"},Eb=function(t){var n=t/2;return"M400000 "+t+" H0 L"+n+" 0 l65 45 L145 "+(t-80)+" H400000z"},Tb=function(t,n,i){var a=i-54-n-t;return"M702 "+(t+n)+"H400000"+(40+t)+`
|
|
134
|
+
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
|
|
135
|
+
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
|
|
136
|
+
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
|
|
137
|
+
219 661 l218 661zM702 `+n+"H400000v"+(40+t)+"H742z"},Nb=function(t,n,i){n=1e3*n;var a="";switch(t){case"sqrtMain":a=wb(n,vl);break;case"sqrtSize1":a=kb(n,vl);break;case"sqrtSize2":a=bb(n,vl);break;case"sqrtSize3":a=Sb(n,vl);break;case"sqrtSize4":a=Cb(n,vl);break;case"sqrtTall":a=Tb(n,vl,i)}return a},zb=function(t,n){switch(t){case"⎜":return zt("M291 0 H417 V"+n+" H291z");case"∣":return zt("M145 0 H188 V"+n+" H145z");case"∥":return zt("M145 0 H188 V"+n+" H145z")+zt("M367 0 H410 V"+n+" H367z");case"⎟":return zt("M457 0 H583 V"+n+" H457z");case"⎢":return zt("M319 0 H403 V"+n+" H319z");case"⎥":return zt("M263 0 H347 V"+n+" H263z");case"⎪":return zt("M384 0 H504 V"+n+" H384z");case"⏐":return zt("M312 0 H355 V"+n+" H312z");case"‖":return zt("M257 0 H300 V"+n+" H257z")+zt("M478 0 H521 V"+n+" H478z");default:return""}},np={doubleleftarrow:`M262 157
|
|
138
|
+
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
|
|
139
|
+
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
|
|
140
|
+
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
|
|
141
|
+
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
|
|
142
|
+
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
|
|
143
|
+
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
|
|
144
|
+
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
|
|
145
|
+
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
|
|
146
|
+
-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
|
|
147
|
+
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
|
|
148
|
+
-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
|
|
149
|
+
-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
|
|
150
|
+
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
|
|
151
|
+
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
|
|
152
|
+
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
|
|
153
|
+
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
|
|
154
|
+
-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
|
|
155
|
+
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
|
|
156
|
+
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
|
|
157
|
+
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
|
|
158
|
+
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
|
|
159
|
+
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
|
|
160
|
+
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
|
|
161
|
+
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
|
|
162
|
+
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
|
|
163
|
+
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
|
|
164
|
+
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
|
|
165
|
+
435 0h399565z`,leftgroupunder:`M400000 262
|
|
166
|
+
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
|
|
167
|
+
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
|
|
168
|
+
-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
|
|
169
|
+
-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
|
|
170
|
+
-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
|
|
171
|
+
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
|
|
172
|
+
-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
|
|
173
|
+
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
|
|
174
|
+
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
|
|
175
|
+
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
|
|
176
|
+
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
|
|
177
|
+
-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
|
|
178
|
+
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
|
|
179
|
+
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
|
|
180
|
+
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
|
|
181
|
+
-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
|
|
182
|
+
-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
|
|
183
|
+
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:zt("M40 281 V428 H0 V94 H40 V241 H400000 v40z"),leftbracketunder:zt("M0 0 h120 V290 H399995 v120 H0z"),leftbracketover:zt("M0 440 h120 V150 H399995 v-120 H0z"),leftmapsto:zt("M40 281 V448H0V74H40V241H400000v40z"),leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
|
|
184
|
+
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
|
|
185
|
+
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
|
|
186
|
+
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:zt("M0 50 h400000 v40H0z m0 194h40000v40H0z"),midbrace:`M200428 334
|
|
187
|
+
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
|
|
188
|
+
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
|
|
189
|
+
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
|
|
190
|
+
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
|
|
191
|
+
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
|
|
192
|
+
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
|
|
193
|
+
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
|
|
194
|
+
-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
|
|
195
|
+
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
|
|
196
|
+
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
|
|
197
|
+
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
|
|
198
|
+
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
|
|
199
|
+
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
|
|
200
|
+
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
|
|
201
|
+
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
|
|
202
|
+
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
|
|
203
|
+
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
|
|
204
|
+
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
|
|
205
|
+
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
|
|
206
|
+
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
|
|
207
|
+
-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
|
|
208
|
+
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
|
|
209
|
+
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
|
|
210
|
+
-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
|
|
211
|
+
-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
|
|
212
|
+
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
|
|
213
|
+
-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
|
|
214
|
+
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
|
|
215
|
+
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
|
|
216
|
+
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
|
|
217
|
+
-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
|
|
218
|
+
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
|
|
219
|
+
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
|
|
220
|
+
-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
|
|
221
|
+
-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
|
|
222
|
+
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
|
|
223
|
+
-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
|
|
224
|
+
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
|
|
225
|
+
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
|
|
226
|
+
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
|
|
227
|
+
-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
|
|
228
|
+
-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
|
|
229
|
+
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
|
|
230
|
+
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
|
|
231
|
+
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
|
|
232
|
+
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
|
|
233
|
+
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
|
|
234
|
+
-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
|
|
235
|
+
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:zt("M399960 241 V94 h40 V428 h-40 V281 H0 v-40z"),rightbracketunder:zt("M399995 0 h-120 V290 H0 v120 H400000z"),rightbracketover:zt("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
|
|
236
|
+
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
|
|
237
|
+
-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
|
|
238
|
+
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
|
|
239
|
+
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
|
|
240
|
+
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
|
|
241
|
+
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
|
|
242
|
+
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
|
|
243
|
+
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
|
|
244
|
+
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
|
|
245
|
+
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
|
|
246
|
+
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
|
|
247
|
+
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
|
|
248
|
+
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
|
|
249
|
+
-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
|
|
250
|
+
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
|
|
251
|
+
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
|
|
252
|
+
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
|
|
253
|
+
-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
|
|
254
|
+
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
|
|
255
|
+
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
|
|
256
|
+
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
|
|
257
|
+
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
|
|
258
|
+
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
|
|
259
|
+
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
|
|
260
|
+
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
|
|
261
|
+
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
|
|
262
|
+
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
|
|
263
|
+
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
|
|
264
|
+
-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
|
|
265
|
+
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
|
|
266
|
+
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
|
|
267
|
+
-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
|
|
268
|
+
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
|
|
269
|
+
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
|
|
270
|
+
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
|
|
271
|
+
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
|
|
272
|
+
-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
|
|
273
|
+
-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
|
|
274
|
+
-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,
|
|
275
|
+
-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,
|
|
276
|
+
-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,
|
|
277
|
+
-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,
|
|
278
|
+
-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
|
|
279
|
+
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
|
|
280
|
+
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
|
|
281
|
+
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
|
|
282
|
+
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
|
|
283
|
+
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
|
|
284
|
+
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
|
|
285
|
+
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
|
|
286
|
+
-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
|
|
287
|
+
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
|
|
288
|
+
-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
|
|
289
|
+
-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
|
|
290
|
+
-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
|
|
291
|
+
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
292
|
+
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
|
|
293
|
+
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
|
|
294
|
+
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
|
|
295
|
+
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
|
|
296
|
+
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
|
|
297
|
+
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,
|
|
298
|
+
-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
|
|
299
|
+
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
|
|
300
|
+
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
|
|
301
|
+
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,
|
|
302
|
+
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,
|
|
303
|
+
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
|
|
304
|
+
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
|
|
305
|
+
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,
|
|
306
|
+
-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
|
|
307
|
+
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
|
|
308
|
+
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},Ab=function(t,n){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v1759 v84 h347 v-84
|
|
309
|
+
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
|
|
310
|
+
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
|
|
311
|
+
c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
312
|
+
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
|
|
313
|
+
c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
314
|
+
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+n+` v585 h43z
|
|
315
|
+
M367 15 v585 v`+n+` v585 c2.667,10,9.667,15,21,15
|
|
316
|
+
c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
317
|
+
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
|
|
318
|
+
MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+n+` v1799 H0 v-84 H319z
|
|
319
|
+
MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v602 h84z
|
|
320
|
+
M403 1759 V0 H319 V1759 v`+n+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+n+` v602 h84z
|
|
321
|
+
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
|
|
322
|
+
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,
|
|
323
|
+
-36,557 l0,`+(n+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
|
|
324
|
+
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
|
|
325
|
+
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,
|
|
326
|
+
-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
|
|
327
|
+
l0,-`+(n+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
|
|
328
|
+
-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,
|
|
329
|
+
63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
|
|
330
|
+
c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(n+9)+`
|
|
331
|
+
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
|
|
332
|
+
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
|
|
333
|
+
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
|
|
334
|
+
c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
|
|
335
|
+
l0,-`+(n+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
336
|
+
-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 Mb(e){return"toText"in e}class Al{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(Mb(t))return t.toText();throw new Error("Expected MathDomNode with toText, got "+t.constructor.name)}).join("")}}var qc={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},jb={ex:!0,em:!0,mu:!0},$2=function(t){return typeof t!="string"&&(t=t.unit),t in qc||t in jb||t==="ex"},gt=function(t,n){var i;if(t.unit in qc)i=qc[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 fe("Invalid unit: '"+t.unit+"'");a!==n&&(i*=a.sizeMultiplier/n.sizeMultiplier)}return Math.min(t.number*i,n.maxSize)},ge=function(t){return+t.toFixed(4)+"em"},ri=function(t){return t.filter(n=>n).join(" ")},$f=function(t){var n="";for(var i of Object.keys(t)){var a=t[i];a!==void 0&&(n+=lb(i)+":"+a+";")}return n},H2=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)}},U2=function(t){var n=document.createElement(t);n.className=ri(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},Ib=/[\s"'>/=\x00-\x1f]/,V2=function(t){var n="<"+t;this.classes.length&&(n+=' class="'+Ut(ri(this.classes))+'"');var i=$f(this.style);i&&(n+=' style="'+Ut(i)+'"');for(var a of Object.keys(this.attributes)){if(Ib.test(a))throw new fe("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 Ml{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,H2.call(this,t,i,a),this.children=n||[]}setAttribute(t,n){this.attributes[t]=n}hasClass(t){return this.classes.includes(t)}toNode(){return U2.call(this,"span")}toMarkup(){return V2.call(this,"span")}}class Oo{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,H2.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 U2.call(this,"a")}toMarkup(){return V2.call(this,"a")}}class Rb{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=$f(this.style);return n&&(t+=' style="'+Ut(n)+'"'),t+="'/>",t}}var Lb={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class yn{constructor(t,n,i,a,s,o,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=o||0,this.classes=c||[],this.style=f||{},this.maxFontSize=0;var h=xb(this.text.charCodeAt(0));h&&this.classes.push(h+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=Lb[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=ge(this.italic)),this.classes.length>0&&(n=n||document.createElement("span"),n.className=ri(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(ri(this.classes)),n+='"');var i="";this.italic>0&&(i+="margin-right:"+ge(this.italic)+";"),i+=$f(this.style),i&&(t=!0,n+=' style="'+Ut(i)+'"');var a=Ut(this.text);return t?(n+=">",n+=a,n+="</span>",n):a}}class Cr{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 ii{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",np[this.pathName]),n}toMarkup(){return this.alternate?'<path d="'+Ut(this.alternate)+'"/>':'<path d="'+Ut(np[this.pathName])+'"/>'}}class $c{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 Db(e){if(e instanceof yn)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function Pb(e){if(e instanceof Ml)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var Fb=e=>e instanceof Ml||e instanceof Oo||e instanceof Al,ir={"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]}},no={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]},rp={Å:"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 W2(e,t){ir[e]=t}function Hf(e,t,n){if(!ir[t])throw new Error("Font metrics not found for font: "+t+".");var i=e.charCodeAt(0),a=ir[t][i];if(!a&&e[0]in rp&&(i=rp[e[0]].charCodeAt(0),a=ir[t][i]),!a&&n==="text"&&q2(i)&&(a=ir[t][77]),a)return{depth:a[0],height:a[1],italic:a[2],skew:a[3],width:a[4]}}var uc={};function Ob(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!uc[t]){var n=uc[t]={cssEmPerMu:no.quad[t]/18};for(var i in no)no.hasOwnProperty(i)&&(n[i]=no[i][t])}return uc[t]}var ft={math:{},text:{}};function v(e,t,n,i,a,s){ft[e][a]={font:t,group:n,replace:i},s&&i&&(ft[e][i]=ft[e][a])}var b="math",le="text",S="main",D="ams",ht="accent-token",Ce="bin",Jt="close",jl="inner",De="mathord",Et="op-token",wn="open",qa="punct",P="rel",Nr="spacing",q="textord";v(b,S,P,"≡","\\equiv",!0);v(b,S,P,"≺","\\prec",!0);v(b,S,P,"≻","\\succ",!0);v(b,S,P,"∼","\\sim",!0);v(b,S,P,"⊥","\\perp");v(b,S,P,"⪯","\\preceq",!0);v(b,S,P,"⪰","\\succeq",!0);v(b,S,P,"≃","\\simeq",!0);v(b,S,P,"∣","\\mid",!0);v(b,S,P,"≪","\\ll",!0);v(b,S,P,"≫","\\gg",!0);v(b,S,P,"≍","\\asymp",!0);v(b,S,P,"∥","\\parallel");v(b,S,P,"⋈","\\bowtie",!0);v(b,S,P,"⌣","\\smile",!0);v(b,S,P,"⊑","\\sqsubseteq",!0);v(b,S,P,"⊒","\\sqsupseteq",!0);v(b,S,P,"≐","\\doteq",!0);v(b,S,P,"⌢","\\frown",!0);v(b,S,P,"∋","\\ni",!0);v(b,S,P,"∝","\\propto",!0);v(b,S,P,"⊢","\\vdash",!0);v(b,S,P,"⊣","\\dashv",!0);v(b,S,P,"∋","\\owns");v(b,S,qa,".","\\ldotp");v(b,S,qa,"⋅","\\cdotp");v(b,S,qa,"⋅","·");v(le,S,q,"⋅","·");v(b,S,q,"#","\\#");v(le,S,q,"#","\\#");v(b,S,q,"&","\\&");v(le,S,q,"&","\\&");v(b,S,q,"ℵ","\\aleph",!0);v(b,S,q,"∀","\\forall",!0);v(b,S,q,"ℏ","\\hbar",!0);v(b,S,q,"∃","\\exists",!0);v(b,S,q,"∇","\\nabla",!0);v(b,S,q,"♭","\\flat",!0);v(b,S,q,"ℓ","\\ell",!0);v(b,S,q,"♮","\\natural",!0);v(b,S,q,"♣","\\clubsuit",!0);v(b,S,q,"℘","\\wp",!0);v(b,S,q,"♯","\\sharp",!0);v(b,S,q,"♢","\\diamondsuit",!0);v(b,S,q,"ℜ","\\Re",!0);v(b,S,q,"♡","\\heartsuit",!0);v(b,S,q,"ℑ","\\Im",!0);v(b,S,q,"♠","\\spadesuit",!0);v(b,S,q,"§","\\S",!0);v(le,S,q,"§","\\S");v(b,S,q,"¶","\\P",!0);v(le,S,q,"¶","\\P");v(b,S,q,"†","\\dag");v(le,S,q,"†","\\dag");v(le,S,q,"†","\\textdagger");v(b,S,q,"‡","\\ddag");v(le,S,q,"‡","\\ddag");v(le,S,q,"‡","\\textdaggerdbl");v(b,S,Jt,"⎱","\\rmoustache",!0);v(b,S,wn,"⎰","\\lmoustache",!0);v(b,S,Jt,"⟯","\\rgroup",!0);v(b,S,wn,"⟮","\\lgroup",!0);v(b,S,Ce,"∓","\\mp",!0);v(b,S,Ce,"⊖","\\ominus",!0);v(b,S,Ce,"⊎","\\uplus",!0);v(b,S,Ce,"⊓","\\sqcap",!0);v(b,S,Ce,"∗","\\ast");v(b,S,Ce,"⊔","\\sqcup",!0);v(b,S,Ce,"◯","\\bigcirc",!0);v(b,S,Ce,"∙","\\bullet",!0);v(b,S,Ce,"‡","\\ddagger");v(b,S,Ce,"≀","\\wr",!0);v(b,S,Ce,"⨿","\\amalg");v(b,S,Ce,"&","\\And");v(b,S,P,"⟵","\\longleftarrow",!0);v(b,S,P,"⇐","\\Leftarrow",!0);v(b,S,P,"⟸","\\Longleftarrow",!0);v(b,S,P,"⟶","\\longrightarrow",!0);v(b,S,P,"⇒","\\Rightarrow",!0);v(b,S,P,"⟹","\\Longrightarrow",!0);v(b,S,P,"↔","\\leftrightarrow",!0);v(b,S,P,"⟷","\\longleftrightarrow",!0);v(b,S,P,"⇔","\\Leftrightarrow",!0);v(b,S,P,"⟺","\\Longleftrightarrow",!0);v(b,S,P,"↦","\\mapsto",!0);v(b,S,P,"⟼","\\longmapsto",!0);v(b,S,P,"↗","\\nearrow",!0);v(b,S,P,"↩","\\hookleftarrow",!0);v(b,S,P,"↪","\\hookrightarrow",!0);v(b,S,P,"↘","\\searrow",!0);v(b,S,P,"↼","\\leftharpoonup",!0);v(b,S,P,"⇀","\\rightharpoonup",!0);v(b,S,P,"↙","\\swarrow",!0);v(b,S,P,"↽","\\leftharpoondown",!0);v(b,S,P,"⇁","\\rightharpoondown",!0);v(b,S,P,"↖","\\nwarrow",!0);v(b,S,P,"⇌","\\rightleftharpoons",!0);v(b,D,P,"≮","\\nless",!0);v(b,D,P,"","\\@nleqslant");v(b,D,P,"","\\@nleqq");v(b,D,P,"⪇","\\lneq",!0);v(b,D,P,"≨","\\lneqq",!0);v(b,D,P,"","\\@lvertneqq");v(b,D,P,"⋦","\\lnsim",!0);v(b,D,P,"⪉","\\lnapprox",!0);v(b,D,P,"⊀","\\nprec",!0);v(b,D,P,"⋠","\\npreceq",!0);v(b,D,P,"⋨","\\precnsim",!0);v(b,D,P,"⪹","\\precnapprox",!0);v(b,D,P,"≁","\\nsim",!0);v(b,D,P,"","\\@nshortmid");v(b,D,P,"∤","\\nmid",!0);v(b,D,P,"⊬","\\nvdash",!0);v(b,D,P,"⊭","\\nvDash",!0);v(b,D,P,"⋪","\\ntriangleleft");v(b,D,P,"⋬","\\ntrianglelefteq",!0);v(b,D,P,"⊊","\\subsetneq",!0);v(b,D,P,"","\\@varsubsetneq");v(b,D,P,"⫋","\\subsetneqq",!0);v(b,D,P,"","\\@varsubsetneqq");v(b,D,P,"≯","\\ngtr",!0);v(b,D,P,"","\\@ngeqslant");v(b,D,P,"","\\@ngeqq");v(b,D,P,"⪈","\\gneq",!0);v(b,D,P,"≩","\\gneqq",!0);v(b,D,P,"","\\@gvertneqq");v(b,D,P,"⋧","\\gnsim",!0);v(b,D,P,"⪊","\\gnapprox",!0);v(b,D,P,"⊁","\\nsucc",!0);v(b,D,P,"⋡","\\nsucceq",!0);v(b,D,P,"⋩","\\succnsim",!0);v(b,D,P,"⪺","\\succnapprox",!0);v(b,D,P,"≆","\\ncong",!0);v(b,D,P,"","\\@nshortparallel");v(b,D,P,"∦","\\nparallel",!0);v(b,D,P,"⊯","\\nVDash",!0);v(b,D,P,"⋫","\\ntriangleright");v(b,D,P,"⋭","\\ntrianglerighteq",!0);v(b,D,P,"","\\@nsupseteqq");v(b,D,P,"⊋","\\supsetneq",!0);v(b,D,P,"","\\@varsupsetneq");v(b,D,P,"⫌","\\supsetneqq",!0);v(b,D,P,"","\\@varsupsetneqq");v(b,D,P,"⊮","\\nVdash",!0);v(b,D,P,"⪵","\\precneqq",!0);v(b,D,P,"⪶","\\succneqq",!0);v(b,D,P,"","\\@nsubseteqq");v(b,D,Ce,"⊴","\\unlhd");v(b,D,Ce,"⊵","\\unrhd");v(b,D,P,"↚","\\nleftarrow",!0);v(b,D,P,"↛","\\nrightarrow",!0);v(b,D,P,"⇍","\\nLeftarrow",!0);v(b,D,P,"⇏","\\nRightarrow",!0);v(b,D,P,"↮","\\nleftrightarrow",!0);v(b,D,P,"⇎","\\nLeftrightarrow",!0);v(b,D,P,"△","\\vartriangle");v(b,D,q,"ℏ","\\hslash");v(b,D,q,"▽","\\triangledown");v(b,D,q,"◊","\\lozenge");v(b,D,q,"Ⓢ","\\circledS");v(b,D,q,"®","\\circledR");v(le,D,q,"®","\\circledR");v(b,D,q,"∡","\\measuredangle",!0);v(b,D,q,"∄","\\nexists");v(b,D,q,"℧","\\mho");v(b,D,q,"Ⅎ","\\Finv",!0);v(b,D,q,"⅁","\\Game",!0);v(b,D,q,"‵","\\backprime");v(b,D,q,"▲","\\blacktriangle");v(b,D,q,"▼","\\blacktriangledown");v(b,D,q,"■","\\blacksquare");v(b,D,q,"⧫","\\blacklozenge");v(b,D,q,"★","\\bigstar");v(b,D,q,"∢","\\sphericalangle",!0);v(b,D,q,"∁","\\complement",!0);v(b,D,q,"ð","\\eth",!0);v(le,S,q,"ð","ð");v(b,D,q,"╱","\\diagup");v(b,D,q,"╲","\\diagdown");v(b,D,q,"□","\\square");v(b,D,q,"□","\\Box");v(b,D,q,"◊","\\Diamond");v(b,D,q,"¥","\\yen",!0);v(le,D,q,"¥","\\yen",!0);v(b,D,q,"✓","\\checkmark",!0);v(le,D,q,"✓","\\checkmark");v(b,D,q,"ℶ","\\beth",!0);v(b,D,q,"ℸ","\\daleth",!0);v(b,D,q,"ℷ","\\gimel",!0);v(b,D,q,"ϝ","\\digamma",!0);v(b,D,q,"ϰ","\\varkappa");v(b,D,wn,"┌","\\@ulcorner",!0);v(b,D,Jt,"┐","\\@urcorner",!0);v(b,D,wn,"└","\\@llcorner",!0);v(b,D,Jt,"┘","\\@lrcorner",!0);v(b,D,P,"≦","\\leqq",!0);v(b,D,P,"⩽","\\leqslant",!0);v(b,D,P,"⪕","\\eqslantless",!0);v(b,D,P,"≲","\\lesssim",!0);v(b,D,P,"⪅","\\lessapprox",!0);v(b,D,P,"≊","\\approxeq",!0);v(b,D,Ce,"⋖","\\lessdot");v(b,D,P,"⋘","\\lll",!0);v(b,D,P,"≶","\\lessgtr",!0);v(b,D,P,"⋚","\\lesseqgtr",!0);v(b,D,P,"⪋","\\lesseqqgtr",!0);v(b,D,P,"≑","\\doteqdot");v(b,D,P,"≓","\\risingdotseq",!0);v(b,D,P,"≒","\\fallingdotseq",!0);v(b,D,P,"∽","\\backsim",!0);v(b,D,P,"⋍","\\backsimeq",!0);v(b,D,P,"⫅","\\subseteqq",!0);v(b,D,P,"⋐","\\Subset",!0);v(b,D,P,"⊏","\\sqsubset",!0);v(b,D,P,"≼","\\preccurlyeq",!0);v(b,D,P,"⋞","\\curlyeqprec",!0);v(b,D,P,"≾","\\precsim",!0);v(b,D,P,"⪷","\\precapprox",!0);v(b,D,P,"⊲","\\vartriangleleft");v(b,D,P,"⊴","\\trianglelefteq");v(b,D,P,"⊨","\\vDash",!0);v(b,D,P,"⊪","\\Vvdash",!0);v(b,D,P,"⌣","\\smallsmile");v(b,D,P,"⌢","\\smallfrown");v(b,D,P,"≏","\\bumpeq",!0);v(b,D,P,"≎","\\Bumpeq",!0);v(b,D,P,"≧","\\geqq",!0);v(b,D,P,"⩾","\\geqslant",!0);v(b,D,P,"⪖","\\eqslantgtr",!0);v(b,D,P,"≳","\\gtrsim",!0);v(b,D,P,"⪆","\\gtrapprox",!0);v(b,D,Ce,"⋗","\\gtrdot");v(b,D,P,"⋙","\\ggg",!0);v(b,D,P,"≷","\\gtrless",!0);v(b,D,P,"⋛","\\gtreqless",!0);v(b,D,P,"⪌","\\gtreqqless",!0);v(b,D,P,"≖","\\eqcirc",!0);v(b,D,P,"≗","\\circeq",!0);v(b,D,P,"≜","\\triangleq",!0);v(b,D,P,"∼","\\thicksim");v(b,D,P,"≈","\\thickapprox");v(b,D,P,"⫆","\\supseteqq",!0);v(b,D,P,"⋑","\\Supset",!0);v(b,D,P,"⊐","\\sqsupset",!0);v(b,D,P,"≽","\\succcurlyeq",!0);v(b,D,P,"⋟","\\curlyeqsucc",!0);v(b,D,P,"≿","\\succsim",!0);v(b,D,P,"⪸","\\succapprox",!0);v(b,D,P,"⊳","\\vartriangleright");v(b,D,P,"⊵","\\trianglerighteq");v(b,D,P,"⊩","\\Vdash",!0);v(b,D,P,"∣","\\shortmid");v(b,D,P,"∥","\\shortparallel");v(b,D,P,"≬","\\between",!0);v(b,D,P,"⋔","\\pitchfork",!0);v(b,D,P,"∝","\\varpropto");v(b,D,P,"◀","\\blacktriangleleft");v(b,D,P,"∴","\\therefore",!0);v(b,D,P,"∍","\\backepsilon");v(b,D,P,"▶","\\blacktriangleright");v(b,D,P,"∵","\\because",!0);v(b,D,P,"⋘","\\llless");v(b,D,P,"⋙","\\gggtr");v(b,D,Ce,"⊲","\\lhd");v(b,D,Ce,"⊳","\\rhd");v(b,D,P,"≂","\\eqsim",!0);v(b,S,P,"⋈","\\Join");v(b,D,P,"≑","\\Doteq",!0);v(b,D,Ce,"∔","\\dotplus",!0);v(b,D,Ce,"∖","\\smallsetminus");v(b,D,Ce,"⋒","\\Cap",!0);v(b,D,Ce,"⋓","\\Cup",!0);v(b,D,Ce,"⩞","\\doublebarwedge",!0);v(b,D,Ce,"⊟","\\boxminus",!0);v(b,D,Ce,"⊞","\\boxplus",!0);v(b,D,Ce,"⋇","\\divideontimes",!0);v(b,D,Ce,"⋉","\\ltimes",!0);v(b,D,Ce,"⋊","\\rtimes",!0);v(b,D,Ce,"⋋","\\leftthreetimes",!0);v(b,D,Ce,"⋌","\\rightthreetimes",!0);v(b,D,Ce,"⋏","\\curlywedge",!0);v(b,D,Ce,"⋎","\\curlyvee",!0);v(b,D,Ce,"⊝","\\circleddash",!0);v(b,D,Ce,"⊛","\\circledast",!0);v(b,D,Ce,"⋅","\\centerdot");v(b,D,Ce,"⊺","\\intercal",!0);v(b,D,Ce,"⋒","\\doublecap");v(b,D,Ce,"⋓","\\doublecup");v(b,D,Ce,"⊠","\\boxtimes",!0);v(b,D,P,"⇢","\\dashrightarrow",!0);v(b,D,P,"⇠","\\dashleftarrow",!0);v(b,D,P,"⇇","\\leftleftarrows",!0);v(b,D,P,"⇆","\\leftrightarrows",!0);v(b,D,P,"⇚","\\Lleftarrow",!0);v(b,D,P,"↞","\\twoheadleftarrow",!0);v(b,D,P,"↢","\\leftarrowtail",!0);v(b,D,P,"↫","\\looparrowleft",!0);v(b,D,P,"⇋","\\leftrightharpoons",!0);v(b,D,P,"↶","\\curvearrowleft",!0);v(b,D,P,"↺","\\circlearrowleft",!0);v(b,D,P,"↰","\\Lsh",!0);v(b,D,P,"⇈","\\upuparrows",!0);v(b,D,P,"↿","\\upharpoonleft",!0);v(b,D,P,"⇃","\\downharpoonleft",!0);v(b,S,P,"⊶","\\origof",!0);v(b,S,P,"⊷","\\imageof",!0);v(b,D,P,"⊸","\\multimap",!0);v(b,D,P,"↭","\\leftrightsquigarrow",!0);v(b,D,P,"⇉","\\rightrightarrows",!0);v(b,D,P,"⇄","\\rightleftarrows",!0);v(b,D,P,"↠","\\twoheadrightarrow",!0);v(b,D,P,"↣","\\rightarrowtail",!0);v(b,D,P,"↬","\\looparrowright",!0);v(b,D,P,"↷","\\curvearrowright",!0);v(b,D,P,"↻","\\circlearrowright",!0);v(b,D,P,"↱","\\Rsh",!0);v(b,D,P,"⇊","\\downdownarrows",!0);v(b,D,P,"↾","\\upharpoonright",!0);v(b,D,P,"⇂","\\downharpoonright",!0);v(b,D,P,"⇝","\\rightsquigarrow",!0);v(b,D,P,"⇝","\\leadsto");v(b,D,P,"⇛","\\Rrightarrow",!0);v(b,D,P,"↾","\\restriction");v(b,S,q,"‘","`");v(b,S,q,"$","\\$");v(le,S,q,"$","\\$");v(le,S,q,"$","\\textdollar");v(b,S,q,"%","\\%");v(le,S,q,"%","\\%");v(b,S,q,"_","\\_");v(le,S,q,"_","\\_");v(le,S,q,"_","\\textunderscore");v(b,S,q,"∠","\\angle",!0);v(b,S,q,"∞","\\infty",!0);v(b,S,q,"′","\\prime");v(b,S,q,"△","\\triangle");v(b,S,q,"Γ","\\Gamma",!0);v(b,S,q,"Δ","\\Delta",!0);v(b,S,q,"Θ","\\Theta",!0);v(b,S,q,"Λ","\\Lambda",!0);v(b,S,q,"Ξ","\\Xi",!0);v(b,S,q,"Π","\\Pi",!0);v(b,S,q,"Σ","\\Sigma",!0);v(b,S,q,"Υ","\\Upsilon",!0);v(b,S,q,"Φ","\\Phi",!0);v(b,S,q,"Ψ","\\Psi",!0);v(b,S,q,"Ω","\\Omega",!0);v(b,S,q,"A","Α");v(b,S,q,"B","Β");v(b,S,q,"E","Ε");v(b,S,q,"Z","Ζ");v(b,S,q,"H","Η");v(b,S,q,"I","Ι");v(b,S,q,"K","Κ");v(b,S,q,"M","Μ");v(b,S,q,"N","Ν");v(b,S,q,"O","Ο");v(b,S,q,"P","Ρ");v(b,S,q,"T","Τ");v(b,S,q,"X","Χ");v(b,S,q,"¬","\\neg",!0);v(b,S,q,"¬","\\lnot");v(b,S,q,"⊤","\\top");v(b,S,q,"⊥","\\bot");v(b,S,q,"∅","\\emptyset");v(b,D,q,"∅","\\varnothing");v(b,S,De,"α","\\alpha",!0);v(b,S,De,"β","\\beta",!0);v(b,S,De,"γ","\\gamma",!0);v(b,S,De,"δ","\\delta",!0);v(b,S,De,"ϵ","\\epsilon",!0);v(b,S,De,"ζ","\\zeta",!0);v(b,S,De,"η","\\eta",!0);v(b,S,De,"θ","\\theta",!0);v(b,S,De,"ι","\\iota",!0);v(b,S,De,"κ","\\kappa",!0);v(b,S,De,"λ","\\lambda",!0);v(b,S,De,"μ","\\mu",!0);v(b,S,De,"ν","\\nu",!0);v(b,S,De,"ξ","\\xi",!0);v(b,S,De,"ο","\\omicron",!0);v(b,S,De,"π","\\pi",!0);v(b,S,De,"ρ","\\rho",!0);v(b,S,De,"σ","\\sigma",!0);v(b,S,De,"τ","\\tau",!0);v(b,S,De,"υ","\\upsilon",!0);v(b,S,De,"ϕ","\\phi",!0);v(b,S,De,"χ","\\chi",!0);v(b,S,De,"ψ","\\psi",!0);v(b,S,De,"ω","\\omega",!0);v(b,S,De,"ε","\\varepsilon",!0);v(b,S,De,"ϑ","\\vartheta",!0);v(b,S,De,"ϖ","\\varpi",!0);v(b,S,De,"ϱ","\\varrho",!0);v(b,S,De,"ς","\\varsigma",!0);v(b,S,De,"φ","\\varphi",!0);v(b,S,Ce,"∗","*",!0);v(b,S,Ce,"+","+");v(b,S,Ce,"−","-",!0);v(b,S,Ce,"⋅","\\cdot",!0);v(b,S,Ce,"∘","\\circ",!0);v(b,S,Ce,"÷","\\div",!0);v(b,S,Ce,"±","\\pm",!0);v(b,S,Ce,"×","\\times",!0);v(b,S,Ce,"∩","\\cap",!0);v(b,S,Ce,"∪","\\cup",!0);v(b,S,Ce,"∖","\\setminus",!0);v(b,S,Ce,"∧","\\land");v(b,S,Ce,"∨","\\lor");v(b,S,Ce,"∧","\\wedge",!0);v(b,S,Ce,"∨","\\vee",!0);v(b,S,q,"√","\\surd");v(b,S,wn,"⟨","\\langle",!0);v(b,S,wn,"∣","\\lvert");v(b,S,wn,"∥","\\lVert");v(b,S,Jt,"?","?");v(b,S,Jt,"!","!");v(b,S,Jt,"⟩","\\rangle",!0);v(b,S,Jt,"∣","\\rvert");v(b,S,Jt,"∥","\\rVert");v(b,S,P,"=","=");v(b,S,P,":",":");v(b,S,P,"≈","\\approx",!0);v(b,S,P,"≅","\\cong",!0);v(b,S,P,"≥","\\ge");v(b,S,P,"≥","\\geq",!0);v(b,S,P,"←","\\gets");v(b,S,P,">","\\gt",!0);v(b,S,P,"∈","\\in",!0);v(b,S,P,"","\\@not");v(b,S,P,"⊂","\\subset",!0);v(b,S,P,"⊃","\\supset",!0);v(b,S,P,"⊆","\\subseteq",!0);v(b,S,P,"⊇","\\supseteq",!0);v(b,D,P,"⊈","\\nsubseteq",!0);v(b,D,P,"⊉","\\nsupseteq",!0);v(b,S,P,"⊨","\\models");v(b,S,P,"←","\\leftarrow",!0);v(b,S,P,"≤","\\le");v(b,S,P,"≤","\\leq",!0);v(b,S,P,"<","\\lt",!0);v(b,S,P,"→","\\rightarrow",!0);v(b,S,P,"→","\\to");v(b,D,P,"≱","\\ngeq",!0);v(b,D,P,"≰","\\nleq",!0);v(b,S,Nr," ","\\ ");v(b,S,Nr," ","\\space");v(b,S,Nr," ","\\nobreakspace");v(le,S,Nr," ","\\ ");v(le,S,Nr," "," ");v(le,S,Nr," ","\\space");v(le,S,Nr," ","\\nobreakspace");v(b,S,Nr,"","\\nobreak");v(b,S,Nr,"","\\allowbreak");v(b,S,qa,",",",");v(b,S,qa,";",";");v(b,D,Ce,"⊼","\\barwedge",!0);v(b,D,Ce,"⊻","\\veebar",!0);v(b,S,Ce,"⊙","\\odot",!0);v(b,S,Ce,"⊕","\\oplus",!0);v(b,S,Ce,"⊗","\\otimes",!0);v(b,S,q,"∂","\\partial",!0);v(b,S,Ce,"⊘","\\oslash",!0);v(b,D,Ce,"⊚","\\circledcirc",!0);v(b,D,Ce,"⊡","\\boxdot",!0);v(b,S,Ce,"△","\\bigtriangleup");v(b,S,Ce,"▽","\\bigtriangledown");v(b,S,Ce,"†","\\dagger");v(b,S,Ce,"⋄","\\diamond");v(b,S,Ce,"⋆","\\star");v(b,S,Ce,"◃","\\triangleleft");v(b,S,Ce,"▹","\\triangleright");v(b,S,wn,"{","\\{");v(le,S,q,"{","\\{");v(le,S,q,"{","\\textbraceleft");v(b,S,Jt,"}","\\}");v(le,S,q,"}","\\}");v(le,S,q,"}","\\textbraceright");v(b,S,wn,"{","\\lbrace");v(b,S,Jt,"}","\\rbrace");v(b,S,wn,"[","\\lbrack",!0);v(le,S,q,"[","\\lbrack",!0);v(b,S,Jt,"]","\\rbrack",!0);v(le,S,q,"]","\\rbrack",!0);v(b,S,wn,"(","\\lparen",!0);v(b,S,Jt,")","\\rparen",!0);v(le,S,q,"<","\\textless",!0);v(le,S,q,">","\\textgreater",!0);v(b,S,wn,"⌊","\\lfloor",!0);v(b,S,Jt,"⌋","\\rfloor",!0);v(b,S,wn,"⌈","\\lceil",!0);v(b,S,Jt,"⌉","\\rceil",!0);v(b,S,q,"\\","\\backslash");v(b,S,q,"∣","|");v(b,S,q,"∣","\\vert");v(le,S,q,"|","\\textbar",!0);v(b,S,q,"∥","\\|");v(b,S,q,"∥","\\Vert");v(le,S,q,"∥","\\textbardbl");v(le,S,q,"~","\\textasciitilde");v(le,S,q,"\\","\\textbackslash");v(le,S,q,"^","\\textasciicircum");v(b,S,P,"↑","\\uparrow",!0);v(b,S,P,"⇑","\\Uparrow",!0);v(b,S,P,"↓","\\downarrow",!0);v(b,S,P,"⇓","\\Downarrow",!0);v(b,S,P,"↕","\\updownarrow",!0);v(b,S,P,"⇕","\\Updownarrow",!0);v(b,S,Et,"∐","\\coprod");v(b,S,Et,"⋁","\\bigvee");v(b,S,Et,"⋀","\\bigwedge");v(b,S,Et,"⨄","\\biguplus");v(b,S,Et,"⋂","\\bigcap");v(b,S,Et,"⋃","\\bigcup");v(b,S,Et,"∫","\\int");v(b,S,Et,"∫","\\intop");v(b,S,Et,"∬","\\iint");v(b,S,Et,"∭","\\iiint");v(b,S,Et,"∏","\\prod");v(b,S,Et,"∑","\\sum");v(b,S,Et,"⨂","\\bigotimes");v(b,S,Et,"⨁","\\bigoplus");v(b,S,Et,"⨀","\\bigodot");v(b,S,Et,"∮","\\oint");v(b,S,Et,"∯","\\oiint");v(b,S,Et,"∰","\\oiiint");v(b,S,Et,"⨆","\\bigsqcup");v(b,S,Et,"∫","\\smallint");v(le,S,jl,"…","\\textellipsis");v(b,S,jl,"…","\\mathellipsis");v(le,S,jl,"…","\\ldots",!0);v(b,S,jl,"…","\\ldots",!0);v(b,S,jl,"⋯","\\@cdots",!0);v(b,S,jl,"⋱","\\ddots",!0);v(b,S,q,"⋮","\\varvdots");v(le,S,q,"⋮","\\varvdots");v(b,S,ht,"ˊ","\\acute");v(b,S,ht,"ˋ","\\grave");v(b,S,ht,"¨","\\ddot");v(b,S,ht,"~","\\tilde");v(b,S,ht,"ˉ","\\bar");v(b,S,ht,"˘","\\breve");v(b,S,ht,"ˇ","\\check");v(b,S,ht,"^","\\hat");v(b,S,ht,"⃗","\\vec");v(b,S,ht,"˙","\\dot");v(b,S,ht,"˚","\\mathring");v(b,S,De,"","\\@imath");v(b,S,De,"","\\@jmath");v(b,S,q,"ı","ı");v(b,S,q,"ȷ","ȷ");v(le,S,q,"ı","\\i",!0);v(le,S,q,"ȷ","\\j",!0);v(le,S,q,"ß","\\ss",!0);v(le,S,q,"æ","\\ae",!0);v(le,S,q,"œ","\\oe",!0);v(le,S,q,"ø","\\o",!0);v(le,S,q,"Æ","\\AE",!0);v(le,S,q,"Œ","\\OE",!0);v(le,S,q,"Ø","\\O",!0);v(le,S,ht,"ˊ","\\'");v(le,S,ht,"ˋ","\\`");v(le,S,ht,"ˆ","\\^");v(le,S,ht,"˜","\\~");v(le,S,ht,"ˉ","\\=");v(le,S,ht,"˘","\\u");v(le,S,ht,"˙","\\.");v(le,S,ht,"¸","\\c");v(le,S,ht,"˚","\\r");v(le,S,ht,"ˇ","\\v");v(le,S,ht,"¨",'\\"');v(le,S,ht,"˝","\\H");v(le,S,ht,"◯","\\textcircled");var G2={"--":!0,"---":!0,"``":!0,"''":!0};v(le,S,q,"–","--",!0);v(le,S,q,"–","\\textendash");v(le,S,q,"—","---",!0);v(le,S,q,"—","\\textemdash");v(le,S,q,"‘","`",!0);v(le,S,q,"‘","\\textquoteleft");v(le,S,q,"’","'",!0);v(le,S,q,"’","\\textquoteright");v(le,S,q,"“","``",!0);v(le,S,q,"“","\\textquotedblleft");v(le,S,q,"”","''",!0);v(le,S,q,"”","\\textquotedblright");v(b,S,q,"°","\\degree",!0);v(le,S,q,"°","\\degree");v(le,S,q,"°","\\textdegree",!0);v(b,S,q,"£","\\pounds");v(b,S,q,"£","\\mathsterling",!0);v(le,S,q,"£","\\pounds");v(le,S,q,"£","\\textsterling",!0);v(b,D,q,"✠","\\maltese");v(le,D,q,"✠","\\maltese");var ip='0123456789/@."';for(var cc=0;cc<ip.length;cc++){var lp=ip.charAt(cc);v(b,S,q,lp,lp)}var ap='0123456789!@*()-=+";:?/.,';for(var fc=0;fc<ap.length;fc++){var sp=ap.charAt(fc);v(le,S,q,sp,sp)}var Co="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(var hc=0;hc<Co.length;hc++){var ro=Co.charAt(hc);v(b,S,De,ro,ro),v(le,S,q,ro,ro)}v(b,D,q,"C","ℂ");v(le,D,q,"C","ℂ");v(b,D,q,"H","ℍ");v(le,D,q,"H","ℍ");v(b,D,q,"N","ℕ");v(le,D,q,"N","ℕ");v(b,D,q,"P","ℙ");v(le,D,q,"P","ℙ");v(b,D,q,"Q","ℚ");v(le,D,q,"Q","ℚ");v(b,D,q,"R","ℝ");v(le,D,q,"R","ℝ");v(b,D,q,"Z","ℤ");v(le,D,q,"Z","ℤ");v(b,S,De,"h","ℎ");v(le,S,De,"h","ℎ");var Fe;for(var Yt=0;Yt<Co.length;Yt++){var yt=Co.charAt(Yt);Fe=String.fromCharCode(55349,56320+Yt),v(b,S,De,yt,Fe),v(le,S,q,yt,Fe),Fe=String.fromCharCode(55349,56372+Yt),v(b,S,De,yt,Fe),v(le,S,q,yt,Fe),Fe=String.fromCharCode(55349,56424+Yt),v(b,S,De,yt,Fe),v(le,S,q,yt,Fe),Fe=String.fromCharCode(55349,56580+Yt),v(b,S,De,yt,Fe),v(le,S,q,yt,Fe),Fe=String.fromCharCode(55349,56684+Yt),v(b,S,De,yt,Fe),v(le,S,q,yt,Fe),Fe=String.fromCharCode(55349,56736+Yt),v(b,S,De,yt,Fe),v(le,S,q,yt,Fe),Fe=String.fromCharCode(55349,56788+Yt),v(b,S,De,yt,Fe),v(le,S,q,yt,Fe),Fe=String.fromCharCode(55349,56840+Yt),v(b,S,De,yt,Fe),v(le,S,q,yt,Fe),Fe=String.fromCharCode(55349,56944+Yt),v(b,S,De,yt,Fe),v(le,S,q,yt,Fe),Yt<26&&(Fe=String.fromCharCode(55349,56632+Yt),v(b,S,De,yt,Fe),v(le,S,q,yt,Fe),Fe=String.fromCharCode(55349,56476+Yt),v(b,S,De,yt,Fe),v(le,S,q,yt,Fe))}Fe="𝕜";v(b,S,De,"k",Fe);v(le,S,q,"k",Fe);for(var Ri=0;Ri<10;Ri++){var ei=Ri.toString();Fe=String.fromCharCode(55349,57294+Ri),v(b,S,De,ei,Fe),v(le,S,q,ei,Fe),Fe=String.fromCharCode(55349,57314+Ri),v(b,S,De,ei,Fe),v(le,S,q,ei,Fe),Fe=String.fromCharCode(55349,57324+Ri),v(b,S,De,ei,Fe),v(le,S,q,ei,Fe),Fe=String.fromCharCode(55349,57334+Ri),v(b,S,De,ei,Fe),v(le,S,q,ei,Fe)}var Hc="ÐÞþ";for(var dc=0;dc<Hc.length;dc++){var io=Hc.charAt(dc);v(b,S,De,io,io),v(le,S,q,io,io)}var Uc={mathClass:"mathbf",textClass:"textbf",font:"Main-Bold"},op={mathClass:"mathnormal",textClass:"textit",font:"Math-Italic"},up={mathClass:"boldsymbol",textClass:"boldsymbol",font:"Main-BoldItalic"},Bb={mathClass:"mathscr",textClass:"textscr",font:"Script-Regular"},Fi={mathClass:"",textClass:"",font:""},cp={mathClass:"mathfrak",textClass:"textfrak",font:"Fraktur-Regular"},fp={mathClass:"mathbb",textClass:"textbb",font:"AMS-Regular"},hp={mathClass:"mathboldfrak",textClass:"textboldfrak",font:"Fraktur-Regular"},Vc={mathClass:"mathsf",textClass:"textsf",font:"SansSerif-Regular"},Wc={mathClass:"mathboldsf",textClass:"textboldsf",font:"SansSerif-Bold"},dp={mathClass:"mathitsf",textClass:"textitsf",font:"SansSerif-Italic"},Gc={mathClass:"mathtt",textClass:"texttt",font:"Typewriter-Regular"},mp=[Uc,Uc,op,op,up,up,Bb,Fi,Fi,Fi,cp,cp,fp,fp,hp,hp,Vc,Vc,Wc,Wc,dp,dp,Fi,Fi,Gc,Gc],_b=[Uc,Fi,Vc,Wc,Gc],qb=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 mp[a]}else if(120782<=i&&i<=120831){var s=Math.floor((i-120782)/10);return _b[s]}else{if(i===120485||i===120486)return mp[0];if(120486<i&&i<120782)return Fi;throw new fe("Unsupported character: "+e)}},Bo=function(t,n,i){if(ft[i][t]){var a=ft[i][t].replace;a&&(t=a)}return{value:t,metrics:Hf(t,n,i)}},Xt=function(t,n,i,a,s){var o=Bo(t,n,i),c=o.metrics;t=o.value;var f;if(c){var h=c.italic;(i==="text"||a&&a.font==="mathit")&&(h=0),f=new yn(t,c.height,c.depth,h,c.skew,c.width,s)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+t+"' in style '"+n+"' and mode '"+i+"'")),f=new yn(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},Uf=function(t,n,i,a){return a===void 0&&(a=[]),i.font==="boldsymbol"&&Bo(t,"Main-Bold",n).metrics?Xt(t,"Main-Bold",n,i,a.concat(["mathbf"])):t==="\\"||ft[n][t].font==="main"?Xt(t,"Main-Regular",n,i,a):Xt(t,"AMS-Regular",n,i,a.concat(["amsrm"]))},$b=function(t,n,i){return i!=="textord"&&Bo(t,"Math-BoldItalic",n).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},_o=function(t,n,i){var a=t.mode,s=t.text,o=["mord"],{font:c,fontFamily:f,fontWeight:h,fontShape:m}=n,p=a==="math"||a==="text"&&!!c,x=p?c:f,w="",E="";if(s.charCodeAt(0)===55349){var N=qb(s);w=N.font,E=N[a+"Class"]}if(w)return Xt(s,w,a,n,o.concat(E));if(x){var A,z;if(x==="boldsymbol"){var R=$b(s,a,i);A=R.fontName,z=[R.fontClass]}else p?(A=Yc[c].fontName,z=[c]):(A=lo(f,h,m),z=[f,h,m]);if(Bo(s,A,a).metrics)return Xt(s,A,a,n,o.concat(z));if(G2.hasOwnProperty(s)&&A.slice(0,10)==="Typewriter"){for(var _=[],X=0;X<s.length;X++)_.push(Xt(s[X],A,a,n,o.concat(z)));return zr(_)}}if(i==="mathord")return Xt(s,"Math-Italic",a,n,o.concat(["mathnormal"]));if(i==="textord"){var V=ft[a][s]&&ft[a][s].font;if(V==="ams"){var O=lo("amsrm",h,m);return Xt(s,O,a,n,o.concat("amsrm",h,m))}else if(V==="main"||!V){var G=lo("textrm",h,m);return Xt(s,G,a,n,o.concat(h,m))}else{var te=lo(V,h,m);return Xt(s,te,a,n,o.concat(te,h,m))}}else throw new Error("unexpected type: "+i+" in makeOrd")},Hb=(e,t)=>{if(ri(e.classes)!==ri(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},Y2=e=>{for(var t=0;t<e.length-1;t++){var n=e[t],i=e[t+1];n instanceof yn&&i instanceof yn&&Hb(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},Vf=function(t){for(var n=0,i=0,a=0,s=0;s<t.children.length;s++){var o=t.children[s];o.height>n&&(n=o.height),o.depth>i&&(i=o.depth),o.maxFontSize>a&&(a=o.maxFontSize)}t.height=n,t.depth=i,t.maxFontSize=a},ue=function(t,n,i,a){var s=new Ml(t,n,i,a);return Vf(s),s},li=(e,t,n,i)=>new Ml(e,t,n,i),bl=function(t,n,i){var a=ue([t],[],n);return a.height=Math.max(i||n.fontMetrics().defaultRuleThickness,n.minRuleThickness),a.style.borderBottomWidth=ge(a.height),a.maxFontSize=1,a},Ub=function(t,n,i,a){var s=new Oo(t,n,i,a);return Vf(s),s},zr=function(t){var n=new Al(t);return Vf(n),n},Sl=function(t,n){return t instanceof Al?ue([],[t],n):t},Vb=function(t){if(t.positionType==="individualShift"){for(var n=t.children,i=[n[0]],a=-n[0].shift-n[0].elem.depth,s=a,o=1;o<n.length;o++){var c=-n[o].shift-s-n[o].elem.depth,f=c-(n[o-1].elem.height+n[o-1].elem.depth);s=s+c,i.push({type:"kern",size:f}),i.push(n[o])}return{children:i,depth:a}}var h;if(t.positionType==="top"){for(var m=t.positionData,p=0;p<t.children.length;p++){var x=t.children[p];m-=x.type==="kern"?x.size:x.elem.height+x.elem.depth}h=m}else if(t.positionType==="bottom")h=-t.positionData;else{var w=t.children[0];if(w.type!=="elem")throw new Error('First child must have type "elem".');if(t.positionType==="shift")h=-w.elem.depth-t.positionData;else if(t.positionType==="firstBaseline")h=-w.elem.depth;else throw new Error("Invalid positionType "+t.positionType+".")}return{children:t.children,depth:h}},Je=function(t,n){for(var{children:i,depth:a}=Vb(t),s=0,o=0;o<i.length;o++){var c=i[o];if(c.type==="elem"){var f=c.elem;s=Math.max(s,f.maxFontSize,f.height)}}s+=2;var h=ue(["pstrut"],[]);h.style.height=ge(s);for(var m=[],p=a,x=a,w=a,E=0;E<i.length;E++){var N=i[E];if(N.type==="kern")w+=N.size;else{var A=N.elem,z=N.wrapperClasses||[],R=N.wrapperStyle||{},_=ue(z,[h,A],void 0,R);_.style.top=ge(-s-w-A.depth),N.marginLeft&&(_.style.marginLeft=N.marginLeft),N.marginRight&&(_.style.marginRight=N.marginRight),m.push(_),w+=A.height+A.depth}p=Math.min(p,w),x=Math.max(x,w)}var X=ue(["vlist"],m);X.style.height=ge(x);var V;if(p<0){var O=ue([],[]),G=ue(["vlist"],[O]);G.style.height=ge(-p);var te=ue(["vlist-s"],[new yn("")]);V=[ue(["vlist-r"],[X,te]),ue(["vlist-r"],[G])]}else V=[ue(["vlist-r"],[X])];var re=ue(["vlist-t"],V);return V.length===2&&re.classes.push("vlist-t2"),re.height=x,re.depth=-p,re},X2=(e,t)=>{var n=ue(["mspace"],[],t),i=gt(e,t);return n.style.marginRight=ge(i),n},lo=(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"}},K2={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Q2=function(t,n){var[i,a,s]=K2[t],o=new ii(i),c=new Cr([o],{width:ge(a),height:ge(s),style:"width:"+ge(a),viewBox:"0 0 "+1e3*a+" "+1e3*s,preserveAspectRatio:"xMinYMin"}),f=li(["overlay"],[c],n);return f.height=s,f.style.height=ge(s),f.style.width=ge(a),f},pt={number:3,unit:"mu"},Li={number:4,unit:"mu"},wr={number:5,unit:"mu"},Wb={mord:{mop:pt,mbin:Li,mrel:wr,minner:pt},mop:{mord:pt,mop:pt,mrel:wr,minner:pt},mbin:{mord:Li,mop:Li,mopen:Li,minner:Li},mrel:{mord:wr,mop:wr,mopen:wr,minner:wr},mopen:{},mclose:{mop:pt,mbin:Li,mrel:wr,minner:pt},mpunct:{mord:pt,mop:pt,mrel:wr,mopen:pt,mclose:pt,mpunct:pt,minner:pt},minner:{mord:pt,mop:pt,mbin:Li,mrel:wr,mopen:pt,mpunct:pt,minner:pt}},Gb={mord:{mop:pt},mop:{mord:pt,mop:pt},mbin:{},mrel:{},mopen:{},mclose:{mop:pt},mpunct:{},minner:{mop:pt}},J2={},Eo={},To={};function we(e){for(var{type:t,names:n,props:i,handler:a,htmlBuilder:s,mathmlBuilder:o}=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)J2[n[f]]=c;t&&(s&&(Eo[t]=s),o&&(To[t]=o))}function $i(e){var{type:t,htmlBuilder:n,mathmlBuilder:i}=e;we({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:n,mathmlBuilder:i})}var No=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},St=function(t){return t.type==="ordgroup"?t.body:[t]},Yb=new Set(["leftmost","mbin","mopen","mrel","mop","mpunct"]),Xb=new Set(["rightmost","mrel","mclose","mpunct"]),Kb={display:$e.DISPLAY,text:$e.TEXT,script:$e.SCRIPT,scriptscript:$e.SCRIPTSCRIPT},Qb={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},At=function(t,n,i,a){a===void 0&&(a=[null,null]);for(var s=[],o=0;o<t.length;o++){var c=Ze(t[o],n);if(c instanceof Al){var f=c.children;s.push(...f)}else s.push(c)}if(Y2(s),!i)return s;var h=n;if(t.length===1){var m=t[0];m.type==="sizing"?h=n.havingSize(m.size):m.type==="styling"&&(h=n.havingStyle(Kb[m.style]))}var p=ue([a[0]||"leftmost"],[],n),x=ue([a[1]||"rightmost"],[],n),w=i==="root";return Xc(s,(E,N)=>{var A=N.classes[0],z=E.classes[0];A==="mbin"&&Xb.has(z)?N.classes[0]="mord":z==="mbin"&&Yb.has(A)&&(E.classes[0]="mord")},{node:p},x,w),Xc(s,(E,N)=>{var A,z,R=Qc(N),_=Qc(E),X=R&&_?E.hasClass("mtight")?(A=Gb[R])==null?void 0:A[_]:(z=Wb[R])==null?void 0:z[_]:null;if(X)return X2(X,h)},{node:p},x,w),s},Xc=function(t,n,i,a,s){a&&t.push(a);for(var o=0;o<t.length;o++){var c=t[o],f=Z2(c);if(f){Xc(f.children,n,i,null,s);continue}var h=!c.hasClass("mspace");if(h){var m=n(c,i.node);m&&(i.insertAfter?i.insertAfter(m):(t.unshift(m),o++))}h?i.node=c:s&&c.hasClass("newline")&&(i.node=ue(["leftmost"])),i.insertAfter=(p=>x=>{t.splice(p+1,0,x),o++})(o)}a&&t.pop()},Z2=function(t){return t instanceof Al||t instanceof Oo||t instanceof Ml&&t.hasClass("enclosing")?t:null},Kc=function(t,n){var i=Z2(t);if(i){var a=i.children;if(a.length){if(n==="right")return Kc(a[a.length-1],"right");if(n==="left")return Kc(a[0],"left")}}return t},Qc=function(t,n){if(!t)return null;n&&(t=Kc(t,n));var i=t.classes[0];return Qb[i]||null},La=function(t,n){var i=["nulldelimiter"].concat(t.baseSizingClasses());return ue(n.concat(i))},Ze=function(t,n,i){if(!t)return ue();if(Eo[t.type]){var a=Eo[t.type](t,n);if(i&&n.size!==i.size){a=ue(n.sizingClasses(i),[a],n);var s=n.sizeMultiplier/i.sizeMultiplier;a.height*=s,a.depth*=s}return a}else throw new fe("Got group of unknown type: '"+t.type+"'")};function ao(e,t){var n=ue(["base"],e,t),i=ue(["strut"]);return i.style.height=ge(n.height+n.depth),n.depth&&(i.style.verticalAlign=ge(-n.depth)),n.children.unshift(i),n}function Jc(e,t){var n=null;e.length===1&&e[0].type==="tag"&&(n=e[0].tag,e=e[0].body);var i=At(e,t,"root"),a;i.length===2&&i[1].hasClass("tag")&&(a=i.pop());for(var s=[],o=[],c=0;c<i.length;c++)if(o.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++,o.push(i[c]),i[c].hasClass("nobreak")&&(f=!0);f||(s.push(ao(o,t)),o=[])}else i[c].hasClass("newline")&&(o.pop(),o.length>0&&(s.push(ao(o,t)),o=[]),s.push(i[c]));o.length>0&&s.push(ao(o,t));var h;n?(h=ao(At(n,t,!0),t),h.classes=["tag"],s.push(h)):a&&s.push(a);var m=ue(["katex-html"],s);if(m.setAttribute("aria-hidden","true"),h){var p=h.children[0];p.style.height=ge(m.height+m.depth),m.depth&&(p.style.verticalAlign=ge(-m.depth))}return m}function eg(e){return new Al(e)}class me{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=ri(this.classes));for(var i=0;i<this.children.length;i++)if(this.children[i]instanceof Ct&&this.children[i+1]instanceof Ct){for(var a=this.children[i].toText()+this.children[++i].toText();this.children[i+1]instanceof Ct;)a+=this.children[++i].toText();t.appendChild(new Ct(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(ri(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 Ct{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 tg{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",ge(this.width)),t}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+ge(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var Jb=new Set(["\\imath","\\jmath"]),Zb=new Set(["mrow","mtable"]),Rn=function(t,n,i){return ft[n][t]&&ft[n][t].replace&&t.charCodeAt(0)!==55349&&!(G2.hasOwnProperty(t)&&i&&(i.fontFamily&&i.fontFamily.slice(4,6)==="tt"||i.font&&i.font.slice(4,6)==="tt"))&&(t=ft[n][t].replace),new Ct(t)},Wf=function(t){return t.length===1?t[0]:new me("mrow",t)},eS={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"},Gf=(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=eS[n];if(a)return typeof a=="function"?a(e):a;var s=e.text;if(Jb.has(s))return null;if(ft[i][s]){var o=ft[i][s].replace;o&&(s=o)}var c=Yc[n].fontName;return Hf(s,c,i)?Yc[n].variant:null};function mc(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof Ct&&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 Ct&&n.text===","}else return!1}var kn=function(t,n,i){if(t.length===1){var a=rt(t[0],n);return i&&a instanceof me&&a.type==="mo"&&(a.setAttribute("lspace","0em"),a.setAttribute("rspace","0em")),[a]}for(var s=[],o,c=0;c<t.length;c++){var f=rt(t[c],n);if(f instanceof me&&o instanceof me){if(f.type==="mtext"&&o.type==="mtext"&&f.getAttribute("mathvariant")===o.getAttribute("mathvariant")){o.children.push(...f.children);continue}else if(f.type==="mn"&&o.type==="mn"){o.children.push(...f.children);continue}else if(mc(f)&&o.type==="mn"){o.children.push(...f.children);continue}else if(f.type==="mn"&&mc(o))f.children=[...o.children,...f.children],s.pop();else if((f.type==="msup"||f.type==="msub")&&f.children.length>=1&&(o.type==="mn"||mc(o))){var h=f.children[0];h instanceof me&&h.type==="mn"&&(h.children=[...o.children,...h.children],s.pop())}else if(o.type==="mi"&&o.children.length===1){var m=o.children[0];if(m instanceof Ct&&m.text==="̸"&&(f.type==="mo"||f.type==="mi"||f.type==="mn")){var p=f.children[0];p instanceof Ct&&p.text.length>0&&(p.text=p.text.slice(0,1)+"̸"+p.text.slice(1),s.pop())}}}s.push(f),o=f}return s},ai=function(t,n,i){return Wf(kn(t,n,i))},rt=function(t,n){if(!t)return new me("mrow");if(To[t.type])return To[t.type](t,n);throw new fe("Got group of unknown type: '"+t.type+"'")};function pp(e,t,n,i,a){var s=kn(e,n),o;s.length===1&&s[0]instanceof me&&Zb.has(s[0].type)?o=s[0]:o=new me("mrow",s);var c=new me("annotation",[new Ct(t)]);c.setAttribute("encoding","application/x-tex");var f=new me("semantics",[o,c]),h=new me("math",[f]);h.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),i&&h.setAttribute("display","block");var m=a?"katex":"katex-mathml";return ue([m],[h])}var tS=[[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]],gp=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],vp=function(t,n){return n.size<2?t:tS[t-1][n.size-1]};class kr{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||kr.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=gp[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 kr(n)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:vp(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:gp[t-1]})}havingBaseStyle(t){t=t||this.style.text();var n=vp(kr.BASESIZE,t);return this.size===n&&this.textSize===kr.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!==kr.BASESIZE?["sizing","reset-size"+this.size,"size"+kr.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=Ob(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}kr.BASESIZE=6;var ng=function(t){return new kr({style:t.displayMode?$e.DISPLAY:$e.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},rg=function(t,n){if(n.displayMode){var i=["katex-display"];n.leqno&&i.push("leqno"),n.fleqn&&i.push("fleqn"),t=ue(i,[t])}return t},nS=function(t,n,i){var a=ng(i),s;if(i.output==="mathml")return pp(t,n,a,i.displayMode,!0);if(i.output==="html"){var o=Jc(t,a);s=ue(["katex"],[o])}else{var c=pp(t,n,a,i.displayMode,!1),f=Jc(t,a);s=ue(["katex"],[c,f])}return rg(s,i)},rS=function(t,n,i){var a=ng(i),s=Jc(t,a),o=ue(["katex"],[s]);return rg(o,i)},iS={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":"="},qo=function(t){var n=new me("mo",[new Ct(iS[t.replace(/^\\/,"")])]);return n.setAttribute("stretchy","true"),n},lS={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]},aS=new Set(["widehat","widecheck","widetilde","utilde"]),$o=function(t,n){function i(){var c=4e5,f=t.label.slice(1);if(aS.has(f)&&"base"in t){var h=t.base.type==="ordgroup"?t.base.body.length:1,m,p,x;if(h>5)f==="widehat"||f==="widecheck"?(m=420,c=2364,x=.42,p=f+"4"):(m=312,c=2340,x=.34,p="tilde4");else{var w=[1,1,2,2,3,3][h];f==="widehat"||f==="widecheck"?(c=[0,1062,2364,2364,2364][w],m=[0,239,300,360,420][w],x=[0,.24,.3,.3,.36,.42][w],p=f+w):(c=[0,600,1033,2339,2340][w],m=[0,260,286,306,312][w],x=[0,.26,.286,.3,.306,.34][w],p="tilde"+w)}var E=new ii(p),N=new Cr([E],{width:"100%",height:ge(x),viewBox:"0 0 "+c+" "+m,preserveAspectRatio:"none"});return{span:li([],[N],n),minWidth:0,height:x}}else{var A=[],z=lS[f];if(!z)throw new Error('No SVG data for "'+f+'".');var[R,_,X]=z,V=X/1e3,O=R.length,G,te;if(O===1){if(z.length!==4)throw new Error('Expected 4-tuple for single-path SVG data "'+f+'".');G=["hide-tail"],te=[z[3]]}else if(O===2)G=["halfarrow-left","halfarrow-right"],te=["xMinYMin","xMaxYMin"];else if(O===3)G=["brace-left","brace-center","brace-right"],te=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
337
|
+
`+O+" children.");for(var re=0;re<O;re++){var H=new ii(R[re]),he=new Cr([H],{width:"400em",height:ge(V),viewBox:"0 0 "+c+" "+X,preserveAspectRatio:te[re]+" slice"}),ne=li([G[re]],[he],n);if(O===1)return{span:ne,minWidth:_,height:V};ne.style.height=ge(V),A.push(ne)}return{span:ue(["stretchy"],A,n),minWidth:_,height:V}}}var{span:a,minWidth:s,height:o}=i();return a.height=o,a.style.height=ge(o),s>0&&(a.style.minWidth=ge(s)),a},sS=function(t,n,i,a,s){var o,c=t.height+t.depth+i+a;if(/fbox|color|angl/.test(n)){if(o=ue(["stretchy",n],[],s),n==="fbox"){var f=s.color&&s.getColor();f&&(o.style.borderColor=f)}}else{var h=[];/^[bx]cancel$/.test(n)&&h.push(new $c({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(n)&&h.push(new $c({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var m=new Cr(h,{width:"100%",height:ge(c)});o=li([],[m],s)}return o.height=c,o.style.height=ge(c),o},oS={bin:1,close:1,inner:1,open:1,punct:1,rel:1},uS={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1};function cS(e){return e in oS}function Ue(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 Ho(e){var t=Uo(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 Uo(e){return e&&(e.type==="atom"||uS.hasOwnProperty(e.type))?e:null}var ig=e=>{if(e instanceof yn)return e;if(Fb(e)&&e.children.length===1)return ig(e.children[0])},Yf=(e,t)=>{var n,i,a;e&&e.type==="supsub"?(i=Ue(e.base,"accent"),n=i.base,e.base=n,a=Pb(Ze(e,t)),e.base=i):(i=Ue(e,"accent"),n=i.base);var s=Ze(n,t.havingCrampedStyle()),o=i.isShifty&&Tr(n),c=0;if(o){var f,h;c=(f=(h=ig(s))==null?void 0:h.skew)!=null?f:0}var m=i.label==="\\c",p=m?s.height+s.depth:Math.min(s.height,t.fontMetrics().xHeight),x;if(i.isStretchy)x=$o(i,t),x=Je({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"elem",elem:x,wrapperClasses:["svg-align"],wrapperStyle:c>0?{width:"calc(100% - "+ge(2*c)+")",marginLeft:ge(2*c)}:void 0}]});else{var w,E;i.label==="\\vec"?(w=Q2("vec",t),E=K2.vec[1]):(w=_o({mode:i.mode,text:i.label},t,"textord"),w=Db(w),w.italic=0,E=w.width,m&&(p+=w.depth)),x=ue(["accent-body"],[w]);var N=i.label==="\\textcircled";N&&(x.classes.push("accent-full"),p=s.height);var A=c;N||(A-=E/2),x.style.left=ge(A),i.label==="\\textcircled"&&(x.style.top=".2em"),x=Je({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:-p},{type:"elem",elem:x}]})}var z=ue(["mord","accent"],[x],t);return a?(a.children[0]=z,a.height=Math.max(z.height,a.height),a.classes[0]="mord",a):z},lg=(e,t)=>{var n=e.isStretchy?qo(e.label):new me("mo",[Rn(e.label,e.mode)]),i=new me("mover",[rt(e.base,t),n]);return i.setAttribute("accent","true"),i},fS=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));we({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=No(t[0]),i=!fS.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:Yf,mathmlBuilder:lg});we({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:Yf,mathmlBuilder:lg});we({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=Ze(e.base,t),i=$o(e,t),a=e.label==="\\utilde"?.12:0,s=Je({positionType:"top",positionData:n.height,children:[{type:"elem",elem:i,wrapperClasses:["svg-align"]},{type:"kern",size:a},{type:"elem",elem:n}]});return ue(["mord","accentunder"],[s],t)},mathmlBuilder:(e,t)=>{var n=qo(e.label),i=new me("munder",[rt(e.base,t),n]);return i.setAttribute("accentunder","true"),i}});var so=e=>{var t=new me("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};we({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=Sl(Ze(e.body,i,t),t),s=e.label.slice(0,2)==="\\x"?"x":"cd";a.classes.push(s+"-arrow-pad");var o;e.below&&(i=t.havingStyle(n.sub()),o=Sl(Ze(e.below,i,t),t),o.classes.push(s+"-arrow-pad"));var c=$o(e,t),f=-t.fontMetrics().axisHeight+.5*c.height,h=-t.fontMetrics().axisHeight-.5*c.height-.111;(a.depth>.25||e.label==="\\xleftequilibrium")&&(h-=a.depth);var m;if(o){var p=-t.fontMetrics().axisHeight+o.height+.5*c.height+.111;m=Je({positionType:"individualShift",children:[{type:"elem",elem:a,shift:h},{type:"elem",elem:c,shift:f,wrapperClasses:["svg-align"]},{type:"elem",elem:o,shift:p}]})}else m=Je({positionType:"individualShift",children:[{type:"elem",elem:a,shift:h},{type:"elem",elem:c,shift:f,wrapperClasses:["svg-align"]}]});return ue(["mrel","x-arrow"],[m],t)},mathmlBuilder(e,t){var n=qo(e.label);n.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var i;if(e.body){var a=so(rt(e.body,t));if(e.below){var s=so(rt(e.below,t));i=new me("munderover",[n,s,a])}else i=new me("mover",[n,a])}else if(e.below){var o=so(rt(e.below,t));i=new me("munder",[n,o])}else i=so(),i=new me("mover",[n,i]);return i}});function ag(e,t){var n=At(e.body,t,!0);return ue([e.mclass],n,t)}function sg(e,t){var n,i=kn(e.body,t);return e.mclass==="minner"?n=new me("mpadded",i):e.mclass==="mord"?e.isCharacterBox?(n=i[0],n.type="mi"):n=new me("mi",i):(e.isCharacterBox?(n=i[0],n.type="mo"):n=new me("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}we({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:St(a),isCharacterBox:Tr(a)}},htmlBuilder:ag,mathmlBuilder:sg});var Vo=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"};we({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:n}=e;return{type:"mclass",mode:n.mode,mclass:Vo(t[0]),body:St(t[1]),isCharacterBox:Tr(t[1])}}});we({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:n,funcName:i}=e,a=t[1],s=t[0],o;i!=="\\stackrel"?o=Vo(a):o="mrel";var c={type:"op",mode:a.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:i!=="\\stackrel",body:St(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:o,body:[f],isCharacterBox:Tr(f)}},htmlBuilder:ag,mathmlBuilder:sg});we({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"pmb",mode:n.mode,mclass:Vo(t[0]),body:St(t[0])}},htmlBuilder(e,t){var n=At(e.body,t,!0),i=ue([e.mclass],n,t);return i.style.textShadow="0.02em 0.01em 0.04px",i},mathmlBuilder(e,t){var n=kn(e.body,t),i=new me("mstyle",n);return i.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),i}});var hS={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},yp=()=>({type:"styling",body:[],mode:"math",style:"display",resetFont:!0}),xp=e=>e.type==="textord"&&e.text==="@",dS=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function mS(e,t,n){var i=hS[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"},o=n.callFunction("\\Big",[s],[]),c=n.callFunction("\\\\cdright",[t[1]],[]),f={type:"ordgroup",mode:"math",body:[a,o,c]};return n.callFunction("\\\\cdparent",[f],[])}case"\\\\cdlongequal":return n.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var h={type:"textord",text:"\\Vert",mode:"math"};return n.callFunction("\\Big",[h],[])}default:return{type:"textord",text:" ",mode:"math"}}}function pS(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 fe("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var i=[],a=[i],s=0;s<t.length;s++){for(var o=t[s],c=yp(),f=0;f<o.length;f++)if(!xp(o[f]))c.body.push(o[f]);else{i.push(c),f+=1;var h=Ho(o[f]).text,m=new Array(2);if(m[0]={type:"ordgroup",mode:"math",body:[]},m[1]={type:"ordgroup",mode:"math",body:[]},!"=|.".includes(h))if("<>AV".includes(h))for(var p=0;p<2;p++){for(var x=!0,w=f+1;w<o.length;w++){if(dS(o[w],h)){x=!1,f=w;break}if(xp(o[w]))throw new fe("Missing a "+h+" character to complete a CD arrow.",o[w]);m[p].body.push(o[w])}if(x)throw new fe("Missing a "+h+" character to complete a CD arrow.",o[f])}else throw new fe('Expected one of "<>AV=|." after @',o[f]);var E=mS(h,m,e),N={type:"styling",body:[E],mode:"math",style:"display",resetFont:!0};i.push(N),c=yp()}s%2===0?i.push(c):i.shift(),i=[],a.push(i)}e.gullet.endGroup(),e.gullet.endGroup();var A=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:A,colSeparationType:"CD",hLinesBeforeRow:new Array(a.length+1).fill([])}}we({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=Sl(Ze(e.label,n,t),t);return i.classes.push("cd-label-"+e.side),i.style.bottom=ge(.8-i.depth),i.height=0,i.depth=0,i},mathmlBuilder(e,t){var n=new me("mrow",[rt(e.label,t)]);return n=new me("mpadded",[n]),n.setAttribute("width","0"),e.side==="left"&&n.setAttribute("lspace","-1width"),n.setAttribute("voffset","0.7em"),n=new me("mstyle",[n]),n.setAttribute("displaystyle","false"),n.setAttribute("scriptlevel","1"),n}});we({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=Sl(Ze(e.fragment,t),t);return n.classes.push("cd-vert-arrow"),n},mathmlBuilder(e,t){return new me("mrow",[rt(e.fragment,t)])}});we({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:n}=e,i=Ue(t[0],"ordgroup"),a=i.body,s="",o=0;o<a.length;o++){var c=Ue(a[o],"textord");s+=c.text}var f=parseInt(s),h;if(isNaN(f))throw new fe("\\@char has non-numeric argument "+s);if(f<0||f>=1114111)throw new fe("\\@char with invalid code point "+s);return f<=65535?h=String.fromCharCode(f):(f-=65536,h=String.fromCharCode((f>>10)+55296,(f&1023)+56320)),{type:"textord",mode:n.mode,text:h}}});var og=(e,t)=>{var n=At(e.body,t.withColor(e.color),!1);return zr(n)},ug=(e,t)=>{var n=kn(e.body,t.withColor(e.color)),i=new me("mstyle",n);return i.setAttribute("mathcolor",e.color),i};we({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:n}=e,i=Ue(t[0],"color-token").color,a=t[1];return{type:"color",mode:n.mode,color:i,body:St(a)}},htmlBuilder:og,mathmlBuilder:ug});we({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:n,breakOnTokenText:i}=e,a=Ue(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:og,mathmlBuilder:ug});we({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&&Ue(a,"size").value}},htmlBuilder(e,t){var n=ue(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=ge(gt(e.size,t)))),n},mathmlBuilder(e,t){var n=new me("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",ge(gt(e.size,t)))),n}});var Zc={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},cg=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new fe("Expected a control sequence",e);return t},gS=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},fg=(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)};we({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(Zc[i.text])return(n==="\\global"||n==="\\\\globallong")&&(i.text=Zc[i.text]),Ue(t.parseFunction(),"internal");throw new fe("Invalid token after macro prefix",i)}});we({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 fe("Expected a control sequence",i);for(var s=0,o,c=[[]];t.gullet.future().text!=="{";)if(i=t.gullet.popToken(),i.text==="#"){if(t.gullet.future().text==="{"){o=t.gullet.future(),c[s].push("{");break}if(i=t.gullet.popToken(),!/^[1-9]$/.test(i.text))throw new fe('Invalid argument number "'+i.text+'"');if(parseInt(i.text)!==s+1)throw new fe('Argument number "'+i.text+'" out of order');s++,c.push([])}else{if(i.text==="EOF")throw new fe("Expected a macro definition");c[s].push(i.text)}var{tokens:f}=t.gullet.consumeArg();return o&&f.unshift(o),(n==="\\edef"||n==="\\xdef")&&(f=t.gullet.expandTokens(f),f.reverse()),t.gullet.macros.set(a,{tokens:f,numArgs:s,delimiters:c},n===Zc[n]),{type:"internal",mode:t.mode}}});we({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,i=cg(t.gullet.popToken());t.gullet.consumeSpaces();var a=gS(t);return fg(t,i,a,n==="\\\\globallet"),{type:"internal",mode:t.mode}}});we({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,i=cg(t.gullet.popToken()),a=t.gullet.popToken(),s=t.gullet.popToken();return fg(t,i,s,n==="\\\\globalfuture"),t.gullet.pushToken(s),t.gullet.pushToken(a),{type:"internal",mode:t.mode}}});var Sa=function(t,n,i){var a=ft.math[t]&&ft.math[t].replace,s=Hf(a||t,n,i);if(!s)throw new Error("Unsupported symbol "+t+" and font size "+n+".");return s},Xf=function(t,n,i,a){var s=i.havingBaseStyle(n),o=ue(a.concat(s.sizingClasses(i)),[t],i),c=s.sizeMultiplier/i.sizeMultiplier;return o.height*=c,o.depth*=c,o.maxFontSize=s.sizeMultiplier,o},hg=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=ge(s),t.height-=s,t.depth+=s},vS=function(t,n,i,a,s,o){var c=Xt(t,"Main-Regular",s,a),f=Xf(c,n,a,o);return hg(f,a,n),f},yS=function(t,n,i,a){return Xt(t,"Size"+n+"-Regular",i,a)},dg=function(t,n,i,a,s,o){var c=yS(t,n,s,a),f=Xf(ue(["delimsizing","size"+n],[c],a),$e.TEXT,a,o);return i&&hg(f,a,$e.TEXT),f},pc=function(t,n,i){var a;n==="Size1-Regular"?a="delim-size1":a="delim-size4";var s=ue(["delimsizinginner",a],[ue([],[Xt(t,n,i)])]);return{type:"elem",elem:s}},gc=function(t,n,i){var a=ir["Size4-Regular"][t.charCodeAt(0)]?ir["Size4-Regular"][t.charCodeAt(0)][4]:ir["Size1-Regular"][t.charCodeAt(0)][4],s=new ii("inner",zb(t,Math.round(1e3*n))),o=new Cr([s],{width:ge(a),height:ge(n),style:"width:"+ge(a),viewBox:"0 0 "+1e3*a+" "+Math.round(1e3*n),preserveAspectRatio:"xMinYMin"}),c=li([],[o],i);return c.height=n,c.style.height=ge(n),c.style.width=ge(a),{type:"elem",elem:c}},ef=.008,oo={type:"kern",size:-1*ef},xS=new Set(["|","\\lvert","\\rvert","\\vert"]),wS=new Set(["\\|","\\lVert","\\rVert","\\Vert"]),mg=function(t,n,i,a,s,o){var c,f,h,m,p="",x=0;c=h=m=t,f=null;var w="Size1-Regular";t==="\\uparrow"?h=m="⏐":t==="\\Uparrow"?h=m="‖":t==="\\downarrow"?c=h="⏐":t==="\\Downarrow"?c=h="‖":t==="\\updownarrow"?(c="\\uparrow",h="⏐",m="\\downarrow"):t==="\\Updownarrow"?(c="\\Uparrow",h="‖",m="\\Downarrow"):xS.has(t)?(h="∣",p="vert",x=333):wS.has(t)?(h="∥",p="doublevert",x=556):t==="["||t==="\\lbrack"?(c="⎡",h="⎢",m="⎣",w="Size4-Regular",p="lbrack",x=667):t==="]"||t==="\\rbrack"?(c="⎤",h="⎥",m="⎦",w="Size4-Regular",p="rbrack",x=667):t==="\\lfloor"||t==="⌊"?(h=c="⎢",m="⎣",w="Size4-Regular",p="lfloor",x=667):t==="\\lceil"||t==="⌈"?(c="⎡",h=m="⎢",w="Size4-Regular",p="lceil",x=667):t==="\\rfloor"||t==="⌋"?(h=c="⎥",m="⎦",w="Size4-Regular",p="rfloor",x=667):t==="\\rceil"||t==="⌉"?(c="⎤",h=m="⎥",w="Size4-Regular",p="rceil",x=667):t==="("||t==="\\lparen"?(c="⎛",h="⎜",m="⎝",w="Size4-Regular",p="lparen",x=875):t===")"||t==="\\rparen"?(c="⎞",h="⎟",m="⎠",w="Size4-Regular",p="rparen",x=875):t==="\\{"||t==="\\lbrace"?(c="⎧",f="⎨",m="⎩",h="⎪",w="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(c="⎫",f="⎬",m="⎭",h="⎪",w="Size4-Regular"):t==="\\lgroup"||t==="⟮"?(c="⎧",m="⎩",h="⎪",w="Size4-Regular"):t==="\\rgroup"||t==="⟯"?(c="⎫",m="⎭",h="⎪",w="Size4-Regular"):t==="\\lmoustache"||t==="⎰"?(c="⎧",m="⎭",h="⎪",w="Size4-Regular"):(t==="\\rmoustache"||t==="⎱")&&(c="⎫",m="⎩",h="⎪",w="Size4-Regular");var E=Sa(c,w,s),N=E.height+E.depth,A=Sa(h,w,s),z=A.height+A.depth,R=Sa(m,w,s),_=R.height+R.depth,X=0,V=1;if(f!==null){var O=Sa(f,w,s);X=O.height+O.depth,V=2}var G=N+_+X,te=Math.max(0,Math.ceil((n-G)/(V*z))),re=G+te*V*z,H=a.fontMetrics().axisHeight;i&&(H*=a.sizeMultiplier);var he=re/2-H,ne=[];if(p.length>0){var Te=re-N-_,ve=Math.round(re*1e3),ie=Ab(p,Math.round(Te*1e3)),Q=new ii(p,ie),Ee=ge(x/1e3),oe=ge(ve/1e3),J=new Cr([Q],{width:Ee,height:oe,viewBox:"0 0 "+x+" "+ve}),M=li([],[J],a);M.height=ve/1e3,M.style.width=Ee,M.style.height=oe,ne.push({type:"elem",elem:M})}else{if(ne.push(pc(m,w,s)),ne.push(oo),f===null){var F=re-N-_+2*ef;ne.push(gc(h,F,a))}else{var K=(re-N-_-X)/2+2*ef;ne.push(gc(h,K,a)),ne.push(oo),ne.push(pc(f,w,s)),ne.push(oo),ne.push(gc(h,K,a))}ne.push(oo),ne.push(pc(c,w,s))}var j=a.havingBaseStyle($e.TEXT),Z=Je({positionType:"bottom",positionData:he,children:ne});return Xf(ue(["delimsizing","mult"],[Z],j),$e.TEXT,a,o)},vc=80,yc=.08,xc=function(t,n,i,a,s){var o=Nb(t,a,i),c=new ii(t,o),f=new Cr([c],{width:"400em",height:ge(n),viewBox:"0 0 400000 "+i,preserveAspectRatio:"xMinYMin slice"});return li(["hide-tail"],[f],s)},kS=function(t,n){var i=n.havingBaseSizing(),a=xg("\\surd",t*i.sizeMultiplier,yg,i),s=i.sizeMultiplier,o=Math.max(0,n.minRuleThickness-n.fontMetrics().sqrtRuleThickness),c,f,h,m,p;return a.type==="small"?(m=1e3+1e3*o+vc,t<1?s=1:t<1.4&&(s=.7),f=(1+o+yc)/s,h=(1+o)/s,c=xc("sqrtMain",f,m,o,n),c.style.minWidth="0.853em",p=.833/s):a.type==="large"?(m=(1e3+vc)*Na[a.size],h=(Na[a.size]+o)/s,f=(Na[a.size]+o+yc)/s,c=xc("sqrtSize"+a.size,f,m,o,n),c.style.minWidth="1.02em",p=1/s):(f=t+o+yc,h=t+o,m=Math.floor(1e3*t+o)+vc,c=xc("sqrtTall",f,m,o,n),c.style.minWidth="0.742em",p=1.056),c.height=h,c.style.height=ge(f),{span:c,advanceWidth:p,ruleWidth:(n.fontMetrics().sqrtRuleThickness+o)*s}},pg=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"]),bS=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"]),gg=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),Na=[0,1.2,1.8,2.4,3],vg=function(t,n,i,a,s){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),pg.has(t)||gg.has(t))return dg(t,n,!1,i,a,s);if(bS.has(t))return mg(t,Na[n],!1,i,a,s);throw new fe("Illegal delimiter: '"+t+"'")},SS=[{type:"small",style:$e.SCRIPTSCRIPT},{type:"small",style:$e.SCRIPT},{type:"small",style:$e.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],CS=[{type:"small",style:$e.SCRIPTSCRIPT},{type:"small",style:$e.SCRIPT},{type:"small",style:$e.TEXT},{type:"stack"}],yg=[{type:"small",style:$e.SCRIPTSCRIPT},{type:"small",style:$e.SCRIPT},{type:"small",style:$e.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],ES=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.")},xg=function(t,n,i,a){for(var s=Math.min(2,3-a.style.size),o=s;o<i.length;o++){var c=i[o];if(c.type==="stack")break;var f=Sa(t,ES(c),"math"),h=f.height+f.depth;if(c.type==="small"){var m=a.havingBaseStyle(c.style);h*=m.sizeMultiplier}if(h>n)return c}return i[i.length-1]},tf=function(t,n,i,a,s,o){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var c;gg.has(t)?c=SS:pg.has(t)?c=yg:c=CS;var f=xg(t,n,c,a);return f.type==="small"?vS(t,f.style,i,a,s,o):f.type==="large"?dg(t,f.size,i,a,s,o):mg(t,n,i,a,s,o)},wc=function(t,n,i,a,s,o){var c=a.fontMetrics().axisHeight*a.sizeMultiplier,f=901,h=5/a.fontMetrics().ptPerEm,m=Math.max(n-c,i+c),p=Math.max(m/500*f,2*m-h);return tf(t,p,!0,a,s,o)},wp={"\\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}},TS=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 kp(e){return"isMiddle"in e}function Wo(e,t){var n=Uo(e);if(n&&TS.has(n.text))return n;throw n?new fe("Invalid delimiter '"+n.text+"' after '"+t.funcName+"'",e):new fe("Invalid delimiter type '"+e.type+"'",e)}we({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:wp[e.funcName].size,mclass:wp[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>e.delim==="."?ue([e.mclass]):vg(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(Rn(e.delim,e.mode));var n=new me("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");var i=ge(Na[e.size]);return n.setAttribute("minsize",i),n.setAttribute("maxsize",i),n}});function bp(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}we({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 fe("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:Wo(t[0],e).text,color:n}}});we({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=Ue(i.parseFunction(),"leftright-right");return{type:"leftright",mode:i.mode,body:a,left:n.text,right:s.delim,rightColor:s.color}},htmlBuilder:(e,t)=>{bp(e);for(var n=At(e.body,t,!0,["mopen","mclose"]),i=0,a=0,s=!1,o=0;o<n.length;o++){var c=n[o];kp(c)?s=!0:(i=Math.max(n[o].height,i),a=Math.max(n[o].depth,a))}i*=t.sizeMultiplier,a*=t.sizeMultiplier;var f;if(e.left==="."?f=La(t,["mopen"]):f=wc(e.left,i,a,t,e.mode,["mopen"]),n.unshift(f),s)for(var h=1;h<n.length;h++){var m=n[h];if(kp(m)){var p=m.isMiddle;n[h]=wc(p.delim,i,a,p.options,e.mode,[])}}var x;if(e.right===".")x=La(t,["mclose"]);else{var w=e.rightColor?t.withColor(e.rightColor):t;x=wc(e.right,i,a,w,e.mode,["mclose"])}return n.push(x),ue(["minner"],n,t)},mathmlBuilder:(e,t)=>{bp(e);var n=kn(e.body,t);if(e.left!=="."){var i=new me("mo",[Rn(e.left,e.mode)]);i.setAttribute("fence","true"),n.unshift(i)}if(e.right!=="."){var a=new me("mo",[Rn(e.right,e.mode)]);a.setAttribute("fence","true"),e.rightColor&&a.setAttribute("mathcolor",e.rightColor),n.push(a)}return Wf(n)}});we({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=Wo(t[0],e);if(!e.parser.leftrightDepth)throw new fe("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},htmlBuilder:(e,t)=>{var n;return e.delim==="."?n=La(t,[]):(n=vg(e.delim,1,t,e.mode,[]),n.isMiddle={delim:e.delim,options:t}),n},mathmlBuilder:(e,t)=>{var n=e.delim==="\\vert"||e.delim==="|"?Rn("|","text"):Rn(e.delim,e.mode),i=new me("mo",[n]);return i.setAttribute("fence","true"),i.setAttribute("lspace","0.05em"),i.setAttribute("rspace","0.05em"),i}});var Go=(e,t)=>{var n=Sl(Ze(e.body,t),t),i=e.label.slice(1),a=t.sizeMultiplier,s,o,c=Tr(e.body);if(i==="sout")s=ue(["stretchy","sout"]),s.height=t.fontMetrics().defaultRuleThickness/a,o=-.5*t.fontMetrics().xHeight;else if(i==="phase"){var f=gt({number:.6,unit:"pt"},t),h=gt({number:.35,unit:"ex"},t),m=t.havingBaseSizing();a=a/m.sizeMultiplier;var p=n.height+n.depth+f+h;n.style.paddingLeft=ge(p/2+f);var x=Math.floor(1e3*p*a),w=Eb(x),E=new Cr([new ii("phase",w)],{width:"400em",height:ge(x/1e3),viewBox:"0 0 400000 "+x,preserveAspectRatio:"xMinYMin slice"});s=li(["hide-tail"],[E],t),s.style.height=ge(p),o=n.depth+f+h}else{/cancel/.test(i)?c||n.classes.push("cancel-pad"):i==="angl"?n.classes.push("anglpad"):n.classes.push("boxpad");var N,A,z=0;/box/.test(i)?(z=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),N=t.fontMetrics().fboxsep+(i==="colorbox"?0:z),A=N):i==="angl"?(z=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),N=4*z,A=Math.max(0,.25-n.depth)):(N=c?.2:0,A=N),s=sS(n,i,N,A,t),/fbox|boxed|fcolorbox/.test(i)?(s.style.borderStyle="solid",s.style.borderWidth=ge(z)):i==="angl"&&z!==.049&&(s.style.borderTopWidth=ge(z),s.style.borderRightWidth=ge(z)),o=n.depth+A,e.backgroundColor&&(s.style.backgroundColor=e.backgroundColor,e.borderColor&&(s.style.borderColor=e.borderColor))}var R;if(e.backgroundColor)R=Je({positionType:"individualShift",children:[{type:"elem",elem:s,shift:o},{type:"elem",elem:n,shift:0}]});else{var _=/cancel|phase/.test(i)?["svg-align"]:[];R=Je({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:s,shift:o,wrapperClasses:_}]})}return/cancel/.test(i)&&(R.height=n.height,R.depth=n.depth),/cancel/.test(i)&&!c?ue(["mord","cancel-lap"],[R],t):ue(["mord"],[R],t)},Yo=(e,t)=>{var n,i=new me(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: "+ge(a)+" solid "+e.borderColor)}break;case"\\xcancel":i.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&i.setAttribute("mathbackground",e.backgroundColor),i};we({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","hbox"]},handler(e,t,n){var{parser:i,funcName:a}=e,s=Ue(t[0],"color-token").color,o=t[1];return{type:"enclose",mode:i.mode,label:a,backgroundColor:s,body:o}},htmlBuilder:Go,mathmlBuilder:Yo});we({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","hbox"]},handler(e,t,n){var{parser:i,funcName:a}=e,s=Ue(t[0],"color-token").color,o=Ue(t[1],"color-token").color,c=t[2];return{type:"enclose",mode:i.mode,label:a,backgroundColor:o,borderColor:s,body:c}},htmlBuilder:Go,mathmlBuilder:Yo});we({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]}}});we({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:Go,mathmlBuilder:Yo});we({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:Go,mathmlBuilder:Yo});we({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 wg={};function sr(e){for(var{type:t,names:n,props:i,handler:a,htmlBuilder:s,mathmlBuilder:o}=e,c={type:t,numArgs:i.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:a},f=0;f<n.length;++f)wg[n[f]]=c;s&&(Eo[t]=s),o&&(To[t]=o)}var kg={};function T(e,t){kg[e]=t}class sn{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 sn(t.loc.lexer,t.loc.start,n.loc.end):t&&t.loc}}class vn{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 vn(n,sn.range(this,t))}}function Sp(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 Xo=e=>{var t=e.parser.settings;if(!t.displayMode)throw new fe("{"+e.envName+"} can be used only in display mode.")},NS=new Set(["gather","gather*"]);function Kf(e){if(!e.includes("ed"))return!e.includes("*")}function oi(e,t,n){var{hskipBeforeAndAfter:i,addJot:a,cols:s,arraystretch:o,colSeparationType:c,autoTag:f,singleRow:h,emptySingleRow:m,maxNumCols:p,leqno:x}=t;if(e.gullet.beginGroup(),h||e.gullet.macros.set("\\cr","\\\\\\relax"),!o){var w=e.gullet.expandMacroAsText("\\arraystretch");if(w==null)o=1;else if(o=parseFloat(w),!o||o<0)throw new fe("Invalid \\arraystretch: "+w)}e.gullet.beginGroup();var E=[],N=[E],A=[],z=[],R=f!=null?[]:void 0;function _(){f&&e.gullet.macros.set("\\@eqnsw","1",!0)}function X(){R&&(e.gullet.macros.get("\\df@tag")?(R.push(e.subparse([new vn("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):R.push(!!f&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(_(),z.push(Sp(e));;){var V=e.parseExpression(!1,h?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup();var O={type:"ordgroup",mode:e.mode,body:V};n&&(O={type:"styling",mode:e.mode,style:n,resetFont:!0,body:[O]}),E.push(O);var G=e.fetch().text;if(G==="&"){if(p&&E.length===p){if(h||c)throw new fe("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(G==="\\end"){X(),E.length===1&&O.type==="styling"&&O.body.length===1&&O.body[0].type==="ordgroup"&&O.body[0].body.length===0&&(N.length>1||!m)&&N.pop(),z.length<N.length+1&&z.push([]);break}else if(G==="\\\\"){e.consume();var te=void 0;e.gullet.future().text!==" "&&(te=e.parseSizeGroup(!0)),A.push(te?te.value:null),X(),z.push(Sp(e)),E=[],N.push(E),_()}else throw new fe("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:a,arraystretch:o,body:N,cols:s,rowGaps:A,hskipBeforeAndAfter:i,hLinesBeforeRow:z,colSeparationType:c,tags:R,leqno:x}}function Qf(e){return e.slice(0,1)==="d"?"display":"text"}var or=function(t,n){var i,a,s=t.body.length,o=t.hLinesBeforeRow,c=0,f=new Array(s),h=[],m=Math.max(n.fontMetrics().arrayRuleWidth,n.minRuleThickness),p=1/n.fontMetrics().ptPerEm,x=5*p;if(t.colSeparationType&&t.colSeparationType==="small"){var w=n.havingStyle($e.SCRIPT).sizeMultiplier;x=.2778*(w/n.sizeMultiplier)}var E=t.colSeparationType==="CD"?gt({number:3,unit:"ex"},n):12*p,N=3*p,A=t.arraystretch*E,z=.7*A,R=.3*A,_=0;function X(Ie){for(var He=0;He<Ie.length;++He)He>0&&(_+=.25),h.push({pos:_,isDashed:Ie[He]})}for(X(o[0]),i=0;i<t.body.length;++i){var V=t.body[i],O=z,G=R;c<V.length&&(c=V.length);var te={cells:new Array(V.length),height:0,depth:0,pos:0};for(a=0;a<V.length;++a){var re=Ze(V[a],n);G<re.depth&&(G=re.depth),O<re.height&&(O=re.height),te.cells[a]=re}var H=t.rowGaps[i],he=0;H&&(he=gt(H,n),he>0&&(he+=R,G<he&&(G=he),he=0)),t.addJot&&i<t.body.length-1&&(G+=N),te.height=O,te.depth=G,_+=O,te.pos=_,_+=G+he,f[i]=te,X(o[i+1])}var ne=_/2+n.fontMetrics().axisHeight,Te=t.cols||[],ve=[],ie,Q,Ee=[];if(t.tags&&t.tags.some(Ie=>Ie))for(i=0;i<s;++i){var oe=f[i],J=oe.pos-ne,M=t.tags[i],F=void 0;M===!0?F=ue(["eqn-num"],[],n):M===!1?F=ue([],[],n):F=ue([],At(M,n,!0),n),F.depth=oe.depth,F.height=oe.height,Ee.push({type:"elem",elem:F,shift:J})}for(a=0,Q=0;a<c||Q<Te.length;++a,++Q){for(var K,j=Te[Q],Z=!0;((xe=j)==null?void 0:xe.type)==="separator";){var xe;if(Z||(ie=ue(["arraycolsep"],[]),ie.style.width=ge(n.fontMetrics().doubleRuleSep),ve.push(ie)),j.separator==="|"||j.separator===":"){var ke=j.separator==="|"?"solid":"dashed",be=ue(["vertical-separator"],[],n);be.style.height=ge(_),be.style.borderRightWidth=ge(m),be.style.borderRightStyle=ke,be.style.margin="0 "+ge(-m/2);var Pe=_-ne;Pe&&(be.style.verticalAlign=ge(-Pe)),ve.push(be)}else throw new fe("Invalid separator type: "+j.separator);Q++,j=Te[Q],Z=!1}if(!(a>=c)){var _e=void 0;if(a>0||t.hskipBeforeAndAfter){var it,bn;_e=(it=(bn=j)==null?void 0:bn.pregap)!=null?it:x,_e!==0&&(ie=ue(["arraycolsep"],[]),ie.style.width=ge(_e),ve.push(ie))}var fi=[];for(i=0;i<s;++i){var Ln=f[i],Yn=Ln.cells[a];if(Yn){var hi=Ln.pos-ne;Yn.depth=Ln.depth,Yn.height=Ln.height,fi.push({type:"elem",elem:Yn,shift:hi})}}var di=Je({positionType:"individualShift",children:fi}),Ar=ue(["col-align-"+(((K=j)==null?void 0:K.align)||"c")],[di]);if(ve.push(Ar),a<c-1||t.hskipBeforeAndAfter){var mi,cr;_e=(mi=(cr=j)==null?void 0:cr.postgap)!=null?mi:x,_e!==0&&(ie=ue(["arraycolsep"],[]),ie.style.width=ge(_e),ve.push(ie))}}}var un=ue(["mtable"],ve);if(h.length>0){for(var Xn=bl("hline",n,m),pi=bl("hdashline",n,m),Mr=[{type:"elem",elem:un,shift:0}];h.length>0;){var gi=h.pop(),vi=gi.pos-ne;gi.isDashed?Mr.push({type:"elem",elem:pi,shift:vi}):Mr.push({type:"elem",elem:Xn,shift:vi})}un=Je({positionType:"individualShift",children:Mr})}if(Ee.length===0)return ue(["mord"],[un],n);var ee=Je({positionType:"individualShift",children:Ee}),ye=ue(["tag"],[ee],n);return zr([un,ye])},zS={c:"center ",l:"left ",r:"right "},ur=function(t,n){for(var i=[],a=new me("mtd",[],["mtr-glue"]),s=new me("mtd",[],["mml-eqn-num"]),o=0;o<t.body.length;o++){for(var c=t.body[o],f=[],h=0;h<c.length;h++)f.push(new me("mtd",[rt(c[h],n)]));t.tags&&t.tags[o]&&(f.unshift(a),f.push(a),t.leqno?f.unshift(s):f.push(s)),i.push(new me("mtr",f))}var m=new me("mtable",i),p=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);m.setAttribute("rowspacing",ge(p));var x="",w="";if(t.cols&&t.cols.length>0){var E=t.cols,N="",A=!1,z=0,R=E.length;E[0].type==="separator"&&(x+="top ",z=1),E[E.length-1].type==="separator"&&(x+="bottom ",R-=1);for(var _=z;_<R;_++){var X=E[_];X.type==="align"?(w+=zS[X.align],A&&(N+="none "),A=!0):X.type==="separator"&&A&&(N+=X.separator==="|"?"solid ":"dashed ",A=!1)}m.setAttribute("columnalign",w.trim()),/[sd]/.test(N)&&m.setAttribute("columnlines",N.trim())}if(t.colSeparationType==="align"){for(var V=t.cols||[],O="",G=1;G<V.length;G++)O+=G%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="",re=t.hLinesBeforeRow;x+=re[0].length>0?"left ":"",x+=re[re.length-1].length>0?"right ":"";for(var H=1;H<re.length-1;H++)te+=re[H].length===0?"none ":re[H][0]?"dashed ":"solid ";return/[sd]/.test(te)&&m.setAttribute("rowlines",te.trim()),x!==""&&(m=new me("menclose",[m]),m.setAttribute("notation",x.trim())),t.arraystretch&&t.arraystretch<1&&(m=new me("mstyle",[m]),m.setAttribute("scriptlevel","1")),m},bg=function(t,n){t.envName.includes("ed")||Xo(t);var i=[],a=t.envName.includes("at")?"alignat":"align",s=t.envName==="split",o=oi(t.parser,{cols:i,addJot:!0,autoTag:s?void 0:Kf(t.envName),emptySingleRow:!0,colSeparationType:a,maxNumCols:s?2:void 0,leqno:t.parser.settings.leqno},"display"),c=0,f=0,h={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 x=Ue(n[0].body[p],"textord");m+=x.text}c=Number(m),f=c*2}var w=!f;o.body.forEach(function(z){for(var R=1;R<z.length;R+=2){var _=Ue(z[R],"styling"),X=Ue(_.body[0],"ordgroup");X.body.unshift(h)}if(w)f<z.length&&(f=z.length);else{var V=z.length/2;if(c<V)throw new fe("Too many math in a row: "+("expected "+c+", but got "+V),z[0])}});for(var E=0;E<f;++E){var N="r",A=0;E%2===1?N="l":E>0&&w&&(A=1),i[E]={type:"align",align:N,pregap:A,postgap:0}}return o.colSeparationType=w?"align":"alignat",o};sr({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var n=Uo(t[0]),i=n?[t[0]]:Ue(t[0],"ordgroup").body,a=i.map(function(o){var c=Ho(o),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 fe("Unknown column alignment: "+f,o)}),s={cols:a,hskipBeforeAndAfter:!0,maxNumCols:a.length};return oi(e.parser,s,Qf(e.envName))},htmlBuilder:or,mathmlBuilder:ur});sr({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 fe("Expected l or c or r",a.nextToken);a.consume(),a.consumeSpaces(),a.expect("]"),a.consume(),i.cols=[{type:"align",align:n}]}}var s=oi(e.parser,i,Qf(e.envName)),o=Math.max(0,...s.body.map(c=>c.length));return s.cols=new Array(o).fill({type:"align",align:n}),t?{type:"leftright",mode:e.mode,body:[s],left:t[0],right:t[1],rightColor:void 0}:s},htmlBuilder:or,mathmlBuilder:ur});sr({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},n=oi(e.parser,t,"script");return n.colSeparationType="small",n},htmlBuilder:or,mathmlBuilder:ur});sr({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var n=Uo(t[0]),i=n?[t[0]]:Ue(t[0],"ordgroup").body,a=i.map(function(c){var f=Ho(c),h=f.text;if("lc".includes(h))return{type:"align",align:h};throw new fe("Unknown column alignment: "+h,c)});if(a.length>1)throw new fe("{subarray} can contain only one column");var s={cols:a,hskipBeforeAndAfter:!1,arraystretch:.5},o=oi(e.parser,s,"script");if(o.body.length>0&&o.body[0].length>1)throw new fe("{subarray} can contain only one column");return o},htmlBuilder:or,mathmlBuilder:ur});sr({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=oi(e.parser,t,Qf(e.envName));return{type:"leftright",mode:e.mode,body:[n],left:e.envName.includes("r")?".":"\\{",right:e.envName.includes("r")?"\\}":".",rightColor:void 0}},htmlBuilder:or,mathmlBuilder:ur});sr({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:bg,htmlBuilder:or,mathmlBuilder:ur});sr({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){NS.has(e.envName)&&Xo(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Kf(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return oi(e.parser,t,"display")},htmlBuilder:or,mathmlBuilder:ur});sr({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:bg,htmlBuilder:or,mathmlBuilder:ur});sr({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){Xo(e);var t={autoTag:Kf(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return oi(e.parser,t,"display")},htmlBuilder:or,mathmlBuilder:ur});sr({type:"array",names:["CD"],props:{numArgs:0},handler(e){return Xo(e),pS(e.parser)},htmlBuilder:or,mathmlBuilder:ur});T("\\nonumber","\\gdef\\@eqnsw{0}");T("\\notag","\\nonumber");we({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new fe(e.funcName+" valid only within array environment")}});var Cp=wg;we({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 fe("Invalid environment name",a);for(var s="",o=0;o<a.body.length;++o)s+=Ue(a.body[o],"textord").text;if(i==="\\begin"){if(!Cp.hasOwnProperty(s))throw new fe("No such environment: "+s,a);var c=Cp[s],{args:f,optArgs:h}=n.parseArguments("\\begin{"+s+"}",c),m={mode:n.mode,envName:s,parser:n},p=c.handler(m,f,h);n.expect("\\end",!1);var x=n.nextToken,w=Ue(n.parseFunction(),"environment");if(w.name!==s)throw new fe("Mismatch: \\begin{"+s+"} matched by \\end{"+w.name+"}",x);return p}return{type:"environment",mode:n.mode,name:s,nameGroup:a}}});var Sg=(e,t)=>{var n=e.font,i=t.withFont(n);return Ze(e.body,i)},Cg=(e,t)=>{var n=e.font,i=t.withFont(n);return rt(e.body,i)},Ep={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak"};we({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=No(t[0]),s=i;return s in Ep&&(s=Ep[s]),{type:"font",mode:n.mode,font:s.slice(1),body:a}},htmlBuilder:Sg,mathmlBuilder:Cg});we({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:Vo(i),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:i}],isCharacterBox:Tr(i)}}});we({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,o=n.parseExpression(!0,a);return{type:"font",mode:s,font:"math"+i.slice(1),body:{type:"ordgroup",mode:n.mode,body:o}}},htmlBuilder:Sg,mathmlBuilder:Cg});var AS=(e,t)=>{var n=t.style,i=n.fracNum(),a=n.fracDen(),s;s=t.havingStyle(i);var o=Ze(e.numer,s,t);if(e.continued){var c=8.5/t.fontMetrics().ptPerEm,f=3.5/t.fontMetrics().ptPerEm;o.height=o.height<c?c:o.height,o.depth=o.depth<f?f:o.depth}s=t.havingStyle(a);var h=Ze(e.denom,s,t),m,p,x;e.hasBarLine?(e.barSize?(p=gt(e.barSize,t),m=bl("frac-line",t,p)):m=bl("frac-line",t),p=m.height,x=m.height):(m=null,p=0,x=t.fontMetrics().defaultRuleThickness);var w,E,N;n.size===$e.DISPLAY.size?(w=t.fontMetrics().num1,p>0?E=3*x:E=7*x,N=t.fontMetrics().denom1):(p>0?(w=t.fontMetrics().num2,E=x):(w=t.fontMetrics().num3,E=3*x),N=t.fontMetrics().denom2);var A;if(m){var R=t.fontMetrics().axisHeight;w-o.depth-(R+.5*p)<E&&(w+=E-(w-o.depth-(R+.5*p))),R-.5*p-(h.height-N)<E&&(N+=E-(R-.5*p-(h.height-N)));var _=-(R-.5*p);A=Je({positionType:"individualShift",children:[{type:"elem",elem:h,shift:N},{type:"elem",elem:m,shift:_},{type:"elem",elem:o,shift:-w}]})}else{var z=w-o.depth-(h.height-N);z<E&&(w+=.5*(E-z),N+=.5*(E-z)),A=Je({positionType:"individualShift",children:[{type:"elem",elem:h,shift:N},{type:"elem",elem:o,shift:-w}]})}s=t.havingStyle(n),A.height*=s.sizeMultiplier/t.sizeMultiplier,A.depth*=s.sizeMultiplier/t.sizeMultiplier;var X;n.size===$e.DISPLAY.size?X=t.fontMetrics().delim1:n.size===$e.SCRIPTSCRIPT.size?X=t.havingStyle($e.SCRIPT).fontMetrics().delim2:X=t.fontMetrics().delim2;var V,O;return e.leftDelim==null?V=La(t,["mopen"]):V=tf(e.leftDelim,X,!0,t.havingStyle(n),e.mode,["mopen"]),e.continued?O=ue([]):e.rightDelim==null?O=La(t,["mclose"]):O=tf(e.rightDelim,X,!0,t.havingStyle(n),e.mode,["mclose"]),ue(["mord"].concat(s.sizingClasses(t)),[V,ue(["mfrac"],[A]),O],t)},MS=(e,t)=>{var n=new me("mfrac",[rt(e.numer,t),rt(e.denom,t)]);if(!e.hasBarLine)n.setAttribute("linethickness","0px");else if(e.barSize){var i=gt(e.barSize,t);n.setAttribute("linethickness",ge(i))}if(e.leftDelim!=null||e.rightDelim!=null){var a=[];if(e.leftDelim!=null){var s=new me("mo",[new Ct(e.leftDelim.replace("\\",""))]);s.setAttribute("fence","true"),a.push(s)}if(a.push(n),e.rightDelim!=null){var o=new me("mo",[new Ct(e.rightDelim.replace("\\",""))]);o.setAttribute("fence","true"),a.push(o)}return Wf(a)}return n},Eg=(e,t)=>{if(!t)return e;var n={type:"styling",mode:e.mode,style:t,body:[e]};return n};we({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],o,c=null,f=null;switch(i){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":o=!0;break;case"\\\\atopfrac":o=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":o=!1,c="(",f=")";break;case"\\\\bracefrac":o=!1,c="\\{",f="\\}";break;case"\\\\brackfrac":o=!1,c="[",f="]";break;default:throw new Error("Unrecognized genfrac command")}var h=i==="\\cfrac",m=null;return h||i.startsWith("\\d")?m="display":i.startsWith("\\t")&&(m="text"),Eg({type:"genfrac",mode:n.mode,numer:a,denom:s,continued:h,hasBarLine:o,leftDelim:c,rightDelim:f,barSize:null},m)},htmlBuilder:AS,mathmlBuilder:MS});we({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 Tp=["display","text","script","scriptscript"],Np=function(t){var n=null;return t.length>0&&(n=t,n=n==="."?null:n),n};we({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=No(t[0]),o=s.type==="atom"&&s.family==="open"?Np(s.text):null,c=No(t[1]),f=c.type==="atom"&&c.family==="close"?Np(c.text):null,h=Ue(t[2],"size"),m,p=null;h.isBlank?m=!0:(p=h.value,m=p.number>0);var x=null,w=t[3];if(w.type==="ordgroup"){if(w.body.length>0){var E=Ue(w.body[0],"textord");x=Tp[Number(E.text)]}}else w=Ue(w,"textord"),x=Tp[Number(w.text)];return Eg({type:"genfrac",mode:n.mode,numer:i,denom:a,continued:!1,hasBarLine:m,barSize:p,leftDelim:o,rightDelim:f},x)}});we({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:Ue(t[0],"size").value,token:a}}});we({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:n,funcName:i}=e,a=t[0],s=Ue(t[1],"infix").size;if(!s)throw new Error("\\\\abovefrac expected size, but got "+String(s));var o=t[2],c=s.number>0;return{type:"genfrac",mode:n.mode,numer:a,denom:o,continued:!1,hasBarLine:c,barSize:s,leftDelim:null,rightDelim:null}}});var Tg=(e,t)=>{var n=t.style,i,a;e.type==="supsub"?(i=e.sup?Ze(e.sup,t.havingStyle(n.sup()),t):Ze(e.sub,t.havingStyle(n.sub()),t),a=Ue(e.base,"horizBrace")):a=Ue(e,"horizBrace");var s=Ze(a.base,t.havingBaseStyle($e.DISPLAY)),o=$o(a,t),c;if(a.isOver?c=Je({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:o,wrapperClasses:["svg-align"]}]}):c=Je({positionType:"bottom",positionData:s.depth+.1+o.height,children:[{type:"elem",elem:o,wrapperClasses:["svg-align"]},{type:"kern",size:.1},{type:"elem",elem:s}]}),i){var f=ue(["minner",a.isOver?"mover":"munder"],[c],t);a.isOver?c=Je({positionType:"firstBaseline",children:[{type:"elem",elem:f},{type:"kern",size:.2},{type:"elem",elem:i}]}):c=Je({positionType:"bottom",positionData:f.depth+.2+i.height+i.depth,children:[{type:"elem",elem:i},{type:"kern",size:.2},{type:"elem",elem:f}]})}return ue(["minner",a.isOver?"mover":"munder"],[c],t)},jS=(e,t)=>{var n=qo(e.label);return new me(e.isOver?"mover":"munder",[rt(e.base,t),n])};we({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:Tg,mathmlBuilder:jS});we({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,i=t[1],a=Ue(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:a})?{type:"href",mode:n.mode,href:a,body:St(i)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var n=At(e.body,t,!1);return Ub(e.href,[],n,t)},mathmlBuilder:(e,t)=>{var n=ai(e.body,t);return n instanceof me||(n=new me("mrow",[n])),n.setAttribute("href",e.href),n}});we({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,i=Ue(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 o=i[s];o==="~"&&(o="\\textasciitilde"),a.push({type:"textord",mode:"text",text:o})}var c={type:"text",mode:n.mode,font:"\\texttt",body:a};return{type:"href",mode:n.mode,href:i,body:St(c)}}});we({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:St(t[0])}},htmlBuilder(e,t){var n=At(e.body,t.withFont(""),!1);return zr(n)},mathmlBuilder(e,t){return new me("mrow",kn(e.body,t.withFont("")))}});we({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=Ue(t[0],"raw").string,o=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 h=s.split(","),m=0;m<h.length;m++){var p=h[m],x=p.indexOf("=");if(x<0)throw new fe("\\htmlData key/value '"+p+"' missing equals sign");var w=p.slice(0,x),E=p.slice(x+1);f["data-"+w.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:St(o)}:n.formatUnsupportedCmd(i)},htmlBuilder:(e,t)=>{var n=At(e.body,t,!1),i=["enclosing"];e.attributes.class&&i.push(...e.attributes.class.trim().split(/\s+/));var a=ue(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)=>ai(e.body,t)});we({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:St(t[0]),mathml:St(t[1])}},htmlBuilder:(e,t)=>{var n=At(e.html,t,!1);return zr(n)},mathmlBuilder:(e,t)=>ai(e.mathml,t)});var kc=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 fe("Invalid size: '"+t+"' in \\includegraphics");var i={number:+(n[1]+n[2]),unit:n[3]};if(!$2(i))throw new fe("Invalid unit: '"+i.unit+"' in \\includegraphics.");return i};we({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"},o={number:0,unit:"em"},c="";if(n[0])for(var f=Ue(n[0],"raw").string,h=f.split(","),m=0;m<h.length;m++){var p=h[m].split("=");if(p.length===2){var x=p[1].trim();switch(p[0].trim()){case"alt":c=x;break;case"width":a=kc(x);break;case"height":s=kc(x);break;case"totalheight":o=kc(x);break;default:throw new fe("Invalid key: '"+p[0]+"' in \\includegraphics.")}}}var w=Ue(t[0],"url").url;return c===""&&(c=w,c=c.replace(/^.*[\\/]/,""),c=c.substring(0,c.lastIndexOf("."))),i.settings.isTrusted({command:"\\includegraphics",url:w})?{type:"includegraphics",mode:i.mode,alt:c,width:a,height:s,totalheight:o,src:w}:i.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var n=gt(e.height,t),i=0;e.totalheight.number>0&&(i=gt(e.totalheight,t)-n);var a=0;e.width.number>0&&(a=gt(e.width,t));var s={height:ge(n+i)};a>0&&(s.width=ge(a)),i>0&&(s.verticalAlign=ge(-i));var o=new Rb(e.src,e.alt,s);return o.height=n,o.depth=i,o},mathmlBuilder:(e,t)=>{var n=new me("mglyph",[]);n.setAttribute("alt",e.alt);var i=gt(e.height,t),a=0;if(e.totalheight.number>0&&(a=gt(e.totalheight,t)-i,n.setAttribute("valign",ge(-a))),n.setAttribute("height",ge(i+a)),e.width.number>0){var s=gt(e.width,t);n.setAttribute("width",ge(s))}return n.setAttribute("src",e.src),n}});we({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=Ue(t[0],"size");if(n.settings.strict){var s=i[1]==="m",o=a.value.unit==="mu";s?(o||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")):o&&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 X2(e.dimension,t)},mathmlBuilder(e,t){var n=gt(e.dimension,t);return new tg(n)}});we({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=ue([],[Ze(e.body,t)]),n=ue(["inner"],[n],t)):n=ue(["inner"],[Ze(e.body,t)]);var i=ue(["fix"],[]),a=ue([e.alignment],[n,i],t),s=ue(["strut"]);return s.style.height=ge(a.height+a.depth),a.depth&&(s.style.verticalAlign=ge(-a.depth)),a.children.unshift(s),a=ue(["thinbox"],[a],t),ue(["mord","vbox"],[a],t)},mathmlBuilder:(e,t)=>{var n=new me("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}});we({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==="\\("?"\\)":"$",o=i.parseExpression(!1,s);return i.expect(s),i.switchMode(a),{type:"styling",mode:i.mode,style:"text",resetFont:!0,body:o}}});we({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new fe("Mismatched "+e.funcName)}});var zp=(e,t)=>{switch(t.style.size){case $e.DISPLAY.size:return e.display;case $e.TEXT.size:return e.text;case $e.SCRIPT.size:return e.script;case $e.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};we({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"mathchoice",mode:n.mode,display:St(t[0]),text:St(t[1]),script:St(t[2]),scriptscript:St(t[3])}},htmlBuilder:(e,t)=>{var n=zp(e,t),i=At(n,t,!1);return zr(i)},mathmlBuilder:(e,t)=>{var n=zp(e,t);return ai(n,t)}});var Ng=(e,t,n,i,a,s,o)=>{e=ue([],[e]);var c=n&&Tr(n),f,h;if(t){var m=Ze(t,i.havingStyle(a.sup()),i);h={elem:m,kern:Math.max(i.fontMetrics().bigOpSpacing1,i.fontMetrics().bigOpSpacing3-m.depth)}}if(n){var p=Ze(n,i.havingStyle(a.sub()),i);f={elem:p,kern:Math.max(i.fontMetrics().bigOpSpacing2,i.fontMetrics().bigOpSpacing4-p.height)}}var x;if(h&&f){var w=i.fontMetrics().bigOpSpacing5+f.elem.height+f.elem.depth+f.kern+e.depth+o;x=Je({positionType:"bottom",positionData:w,children:[{type:"kern",size:i.fontMetrics().bigOpSpacing5},{type:"elem",elem:f.elem,marginLeft:ge(-s)},{type:"kern",size:f.kern},{type:"elem",elem:e},{type:"kern",size:h.kern},{type:"elem",elem:h.elem,marginLeft:ge(s)},{type:"kern",size:i.fontMetrics().bigOpSpacing5}]})}else if(f){var E=e.height-o;x=Je({positionType:"top",positionData:E,children:[{type:"kern",size:i.fontMetrics().bigOpSpacing5},{type:"elem",elem:f.elem,marginLeft:ge(-s)},{type:"kern",size:f.kern},{type:"elem",elem:e}]})}else if(h){var N=e.depth+o;x=Je({positionType:"bottom",positionData:N,children:[{type:"elem",elem:e},{type:"kern",size:h.kern},{type:"elem",elem:h.elem,marginLeft:ge(s)},{type:"kern",size:i.fontMetrics().bigOpSpacing5}]})}else return e;var A=[x];if(f&&s!==0&&!c){var z=ue(["mspace"],[],i);z.style.marginRight=ge(s),A.unshift(z)}return ue(["mop","op-limits"],A,i)},zg=new Set(["\\smallint"]),Il=(e,t)=>{var n,i,a=!1,s;e.type==="supsub"?(n=e.sup,i=e.sub,s=Ue(e.base,"op"),a=!0):s=Ue(e,"op");var o=t.style,c=!1;o.size===$e.DISPLAY.size&&s.symbol&&!zg.has(s.name)&&(c=!0);var f,h;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"]),h=f.italic,p.length>0){var x=Q2(p+"Size"+(c?"2":"1"),t);f=Je({positionType:"individualShift",children:[{type:"elem",elem:f,shift:0},{type:"elem",elem:x,shift:c?.08:0}]}),s.name="\\"+p,f.classes.unshift("mop"),f.italic=h}}else if(s.body){var w=At(s.body,t,!0);w.length===1&&w[0]instanceof yn?(f=w[0],f.classes[0]="mop"):f=ue(["mop"],w,t)}else{for(var E=[],N=1;N<s.name.length;N++)E.push(Uf(s.name[N],s.mode,t));f=ue(["mop"],E,t)}var A=0,z=0;if((f instanceof yn||s.name==="\\oiint"||s.name==="\\oiiint")&&!s.suppressBaseShift){var R;A=(f.height-f.depth)/2-t.fontMetrics().axisHeight,z=(R=f.italic)!=null?R:0}return a?Ng(f,n,i,t,o,z,A):(A&&(f.style.position="relative",f.style.top=ge(A)),f)},$a=(e,t)=>{var n;if(e.symbol)n=new me("mo",[Rn(e.name,e.mode)]),zg.has(e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new me("mo",kn(e.body,t));else{n=new me("mi",[new Ct(e.name.slice(1))]);var i=new me("mo",[Rn("","text")]);e.parentIsSupSub?n=new me("mrow",[n,i]):n=eg([n,i])}return n},IS={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};we({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=IS[a]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:Il,mathmlBuilder:$a});we({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:St(i)}},htmlBuilder:Il,mathmlBuilder:$a});var RS={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};we({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:Il,mathmlBuilder:$a});we({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:Il,mathmlBuilder:$a});we({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=RS[i]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:Il,mathmlBuilder:$a});var Ag=(e,t)=>{var n,i,a=!1,s;e.type==="supsub"?(n=e.sup,i=e.sub,s=Ue(e.base,"operatorname"),a=!0):s=Ue(e,"operatorname");var o;if(s.body.length>0){for(var c=s.body.map(p=>{var x="text"in p?p.text:void 0;return typeof x=="string"?{type:"textord",mode:p.mode,text:x}:p}),f=At(c,t.withFont("mathrm"),!0),h=0;h<f.length;h++){var m=f[h];m instanceof yn&&(m.text=m.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}o=ue(["mop"],f,t)}else o=ue(["mop"],[],t);return a?Ng(o,n,i,t,t.style,0,0):o},LS=(e,t)=>{for(var n=kn(e.body,t.withFont("mathrm")),i=!0,a=0;a<n.length;a++){var s=n[a];if(!(s instanceof tg))if(s instanceof me)switch(s.type){case"mi":case"mn":case"mspace":case"mtext":break;case"mo":{var o=s.children[0];s.children.length===1&&o instanceof Ct?o.text=o.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 Ct(c)]}var f=new me("mi",n);f.setAttribute("mathvariant","normal");var h=new me("mo",[Rn("","text")]);return e.parentIsSupSub?new me("mrow",[f,h]):eg([f,h])};we({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:St(a),alwaysHandleSupSub:i==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:Ag,mathmlBuilder:LS});T("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");$i({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?zr(At(e.body,t,!1)):ue(["mord"],At(e.body,t,!0),t)},mathmlBuilder(e,t){return ai(e.body,t,!0)}});we({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=Ze(e.body,t.havingCrampedStyle()),i=bl("overline-line",t),a=t.fontMetrics().defaultRuleThickness,s=Je({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*a},{type:"elem",elem:i},{type:"kern",size:a}]});return ue(["mord","overline"],[s],t)},mathmlBuilder(e,t){var n=new me("mo",[new Ct("‾")]);n.setAttribute("stretchy","true");var i=new me("mover",[rt(e.body,t),n]);return i.setAttribute("accent","true"),i}});we({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:St(i)}},htmlBuilder:(e,t)=>{var n=At(e.body,t.withPhantom(),!1);return zr(n)},mathmlBuilder:(e,t)=>{var n=kn(e.body,t);return new me("mphantom",n)}});T("\\hphantom","\\smash{\\phantom{#1}}");we({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=ue(["inner"],[Ze(e.body,t.withPhantom())]),i=ue(["fix"],[]);return ue(["mord","rlap"],[n,i],t)},mathmlBuilder:(e,t)=>{var n=kn(St(e.body),t),i=new me("mphantom",n),a=new me("mpadded",[i]);return a.setAttribute("width","0px"),a}});we({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:n}=e,i=Ue(t[0],"size").value,a=t[1];return{type:"raisebox",mode:n.mode,dy:i,body:a}},htmlBuilder(e,t){var n=Ze(e.body,t),i=gt(e.dy,t);return Je({positionType:"shift",positionData:-i,children:[{type:"elem",elem:n}]})},mathmlBuilder(e,t){var n=new me("mpadded",[rt(e.body,t)]),i=e.dy.number+e.dy.unit;return n.setAttribute("voffset",i),n}});we({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}});we({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=Ue(t[0],"size"),o=Ue(t[1],"size");return{type:"rule",mode:i.mode,shift:a&&Ue(a,"size").value,width:s.value,height:o.value}},htmlBuilder(e,t){var n=ue(["mord","rule"],[],t),i=gt(e.width,t),a=gt(e.height,t),s=e.shift?gt(e.shift,t):0;return n.style.borderRightWidth=ge(i),n.style.borderTopWidth=ge(a),n.style.bottom=ge(s),n.width=i,n.height=a+s,n.depth=-s,n.maxFontSize=a*1.125*t.sizeMultiplier,n},mathmlBuilder(e,t){var n=gt(e.width,t),i=gt(e.height,t),a=e.shift?gt(e.shift,t):0,s=t.color&&t.getColor()||"black",o=new me("mspace");o.setAttribute("mathbackground",s),o.setAttribute("width",ge(n)),o.setAttribute("height",ge(i));var c=new me("mpadded",[o]);return a>=0?c.setAttribute("height",ge(a)):(c.setAttribute("height",ge(a)),c.setAttribute("depth",ge(-a))),c.setAttribute("voffset",ge(a)),c}});function Mg(e,t,n){for(var i=At(e,t,!1),a=t.sizeMultiplier/n.sizeMultiplier,s=0;s<i.length;s++){var o=i[s].classes.indexOf("sizing");o<0?Array.prototype.push.apply(i[s].classes,t.sizingClasses(n)):i[s].classes[o+1]==="reset-size"+t.size&&(i[s].classes[o+1]="reset-size"+n.size),i[s].height*=a,i[s].depth*=a}return zr(i)}var Ap=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],DS=(e,t)=>{var n=t.havingSize(e.size);return Mg(e.body,n,t)};we({type:"sizing",names:Ap,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:Ap.indexOf(i)+1,body:s}},htmlBuilder:DS,mathmlBuilder:(e,t)=>{var n=t.havingSize(e.size),i=kn(e.body,n),a=new me("mstyle",i);return a.setAttribute("mathsize",ge(n.sizeMultiplier)),a}});we({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,n)=>{var{parser:i}=e,a=!1,s=!1,o=n[0]&&Ue(n[0],"ordgroup");if(o)for(var c,f=0;f<o.body.length;++f){var h=o.body[f];if(c=Ho(h).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=ue([],[Ze(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 ue(["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=Je({positionType:"firstBaseline",children:[{type:"elem",elem:n}]});return ue(["mord"],[a],t)},mathmlBuilder:(e,t)=>{var n=new me("mpadded",[rt(e.body,t)]);return e.smashHeight&&n.setAttribute("height","0px"),e.smashDepth&&n.setAttribute("depth","0px"),n}});we({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=Ze(e.body,t.havingCrampedStyle());n.height===0&&(n.height=t.fontMetrics().xHeight),n=Sl(n,t);var i=t.fontMetrics(),a=i.defaultRuleThickness,s=a;t.style.id<$e.TEXT.id&&(s=t.fontMetrics().xHeight);var o=a+s/4,c=n.height+n.depth+o+a,{span:f,ruleWidth:h,advanceWidth:m}=kS(c,t),p=f.height-h;p>n.height+n.depth+o&&(o=(o+p-n.height-n.depth)/2);var x=f.height-n.height-o-h;n.style.paddingLeft=ge(m);var w=Je({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+x)},{type:"elem",elem:f},{type:"kern",size:h}]});if(e.index){var E=t.havingStyle($e.SCRIPTSCRIPT),N=Ze(e.index,E,t),A=.6*(w.height-w.depth),z=Je({positionType:"shift",positionData:-A,children:[{type:"elem",elem:N}]}),R=ue(["root"],[z]);return ue(["mord","sqrt"],[R,w],t)}else return ue(["mord","sqrt"],[w],t)},mathmlBuilder(e,t){var{body:n,index:i}=e;return i?new me("mroot",[rt(n,t),rt(i,t)]):new me("msqrt",[rt(n,t)])}});var nf={display:$e.DISPLAY,text:$e.TEXT,script:$e.SCRIPT,scriptscript:$e.SCRIPTSCRIPT};function PS(e){return e in nf}we({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),o=i.slice(1,i.length-5);if(!PS(o))throw new Error("Unknown style: "+o);return{type:"styling",mode:a.mode,style:o,body:s}},htmlBuilder(e,t){var n=nf[e.style],i=t.havingStyle(n);return e.resetFont&&(i=i.withFont("")),Mg(e.body,i,t)},mathmlBuilder(e,t){var n=nf[e.style],i=t.havingStyle(n);e.resetFont&&(i=i.withFont(""));var a=kn(e.body,i),s=new me("mstyle",a),o={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},c=o[e.style];return s.setAttribute("scriptlevel",c[0]),s.setAttribute("displaystyle",c[1]),s}});var FS=function(t,n){var i=t.base;if(i)if(i.type==="op"){var a=i.limits&&(n.style.size===$e.DISPLAY.size||i.alwaysHandleSupSub);return a?Il:null}else if(i.type==="operatorname"){var s=i.alwaysHandleSupSub&&(n.style.size===$e.DISPLAY.size||i.limits);return s?Ag:null}else{if(i.type==="accent")return Tr(i.base)?Yf:null;if(i.type==="horizBrace"){var o=!t.sub;return o===i.isOver?Tg:null}else return null}else return null};$i({type:"supsub",htmlBuilder(e,t){var n=FS(e,t);if(n)return n(e,t);var{base:i,sup:a,sub:s}=e,o=Ze(i,t),c,f,h=t.fontMetrics(),m=0,p=0,x=i&&Tr(i);if(a){var w=t.havingStyle(t.style.sup());c=Ze(a,w,t),x||(m=o.height-w.fontMetrics().supDrop*w.sizeMultiplier/t.sizeMultiplier)}if(s){var E=t.havingStyle(t.style.sub());f=Ze(s,E,t),x||(p=o.depth+E.fontMetrics().subDrop*E.sizeMultiplier/t.sizeMultiplier)}var N;t.style===$e.DISPLAY?N=h.sup1:t.style.cramped?N=h.sup3:N=h.sup2;var A=t.sizeMultiplier,z=ge(.5/h.ptPerEm/A),R=null;if(f){var _=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");if(o instanceof yn||_){var X;R=ge(-((X=o.italic)!=null?X:0))}}var V;if(c&&f){m=Math.max(m,N,c.depth+.25*h.xHeight),p=Math.max(p,h.sub2);var O=h.defaultRuleThickness,G=4*O;if(m-c.depth-(f.height-p)<G){p=G-(m-c.depth)+f.height;var te=.8*h.xHeight-(m-c.depth);te>0&&(m+=te,p-=te)}var re=[{type:"elem",elem:f,shift:p,marginRight:z,marginLeft:R},{type:"elem",elem:c,shift:-m,marginRight:z}];V=Je({positionType:"individualShift",children:re})}else if(f){p=Math.max(p,h.sub1,f.height-.8*h.xHeight);var H=[{type:"elem",elem:f,marginLeft:R,marginRight:z}];V=Je({positionType:"shift",positionData:p,children:H})}else if(c)m=Math.max(m,N,c.depth+.25*h.xHeight),V=Je({positionType:"shift",positionData:-m,children:[{type:"elem",elem:c,marginRight:z}]});else throw new Error("supsub must have either sup or sub.");var he=Qc(o,"right")||"mord";return ue([he],[o,ue(["msupsub"],[V])],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 o;if(n)o=i?"mover":"munder";else if(e.sub)if(e.sup){var h=e.base;h&&h.type==="op"&&h.limits&&t.style===$e.DISPLAY||h&&h.type==="operatorname"&&h.alwaysHandleSupSub&&(t.style===$e.DISPLAY||h.limits)?o="munderover":o="msubsup"}else{var f=e.base;f&&f.type==="op"&&f.limits&&(t.style===$e.DISPLAY||f.alwaysHandleSupSub)||f&&f.type==="operatorname"&&f.alwaysHandleSupSub&&(f.limits||t.style===$e.DISPLAY)?o="munder":o="msub"}else{var c=e.base;c&&c.type==="op"&&c.limits&&(t.style===$e.DISPLAY||c.alwaysHandleSupSub)||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(c.limits||t.style===$e.DISPLAY)?o="mover":o="msup"}return new me(o,s)}});$i({type:"atom",htmlBuilder(e,t){return Uf(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var n=new me("mo",[Rn(e.text,e.mode)]);if(e.family==="bin"){var i=Gf(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 jg={mi:"italic",mn:"normal",mtext:"normal"};$i({type:"mathord",htmlBuilder(e,t){return _o(e,t,"mathord")},mathmlBuilder(e,t){var n=new me("mi",[Rn(e.text,e.mode,t)]),i=Gf(e,t)||"italic";return i!==jg[n.type]&&n.setAttribute("mathvariant",i),n}});$i({type:"textord",htmlBuilder(e,t){return _o(e,t,"textord")},mathmlBuilder(e,t){var n=Rn(e.text,e.mode,t),i=Gf(e,t)||"normal",a;return e.mode==="text"?a=new me("mtext",[n]):/[0-9]/.test(e.text)?a=new me("mn",[n]):e.text==="\\prime"?a=new me("mo",[n]):a=new me("mi",[n]),i!==jg[a.type]&&a.setAttribute("mathvariant",i),a}});var bc={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Sc={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};$i({type:"spacing",htmlBuilder(e,t){if(Sc.hasOwnProperty(e.text)){var n=Sc[e.text].className||"";if(e.mode==="text"){var i=_o(e,t,"textord");return i.classes.push(n),i}else return ue(["mspace",n],[Uf(e.text,e.mode,t)],t)}else{if(bc.hasOwnProperty(e.text))return ue(["mspace",bc[e.text]],[],t);throw new fe('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var n;if(Sc.hasOwnProperty(e.text))n=new me("mtext",[new Ct(" ")]);else{if(bc.hasOwnProperty(e.text))return new me("mspace");throw new fe('Unknown type of space "'+e.text+'"')}return n}});var Mp=()=>{var e=new me("mtd",[]);return e.setAttribute("width","50%"),e};$i({type:"tag",mathmlBuilder(e,t){var n=new me("mtable",[new me("mtr",[Mp(),new me("mtd",[ai(e.body,t)]),Mp(),new me("mtd",[ai(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});var jp={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Ip={"\\textbf":"textbf","\\textmd":"textmd"},OS={"\\textit":"textit","\\textup":"textup"},Rp=(e,t)=>{var n=e.font;if(n){if(jp[n])return t.withTextFontFamily(jp[n]);if(Ip[n])return t.withTextFontWeight(Ip[n]);if(n==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(OS[n])};we({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:St(a),font:i}},htmlBuilder(e,t){var n=Rp(e,t),i=At(e.body,n,!0);return ue(["mord","text"],i,n)},mathmlBuilder(e,t){var n=Rp(e,t);return ai(e.body,n)}});we({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=Ze(e.body,t),i=bl("underline-line",t),a=t.fontMetrics().defaultRuleThickness,s=Je({positionType:"top",positionData:n.height,children:[{type:"kern",size:a},{type:"elem",elem:i},{type:"kern",size:3*a},{type:"elem",elem:n}]});return ue(["mord","underline"],[s],t)},mathmlBuilder(e,t){var n=new me("mo",[new Ct("‾")]);n.setAttribute("stretchy","true");var i=new me("munder",[rt(e.body,t),n]);return i.setAttribute("accentunder","true"),i}});we({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=Ze(e.body,t),i=t.fontMetrics().axisHeight,a=.5*(n.height-i-(n.depth+i));return Je({positionType:"shift",positionData:a,children:[{type:"elem",elem:n}]})},mathmlBuilder(e,t){var n=new me("mpadded",[rt(e.body,t)],["vcenter"]);return new me("mrow",[n])}});we({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,n){throw new fe("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var n=Lp(e),i=[],a=t.havingStyle(t.style.text()),s=0;s<n.length;s++){var o=n[s];o==="~"&&(o="\\textasciitilde"),i.push(Xt(o,"Typewriter-Regular",e.mode,a,["mord","texttt"]))}return ue(["mord","text"].concat(a.sizingClasses(t)),Y2(i),a)},mathmlBuilder(e,t){var n=new Ct(Lp(e)),i=new me("mtext",[n]);return i.setAttribute("mathvariant","monospace"),i}});var Lp=e=>e.body.replace(/ /g,e.star?"␣":" "),ti=J2,Ig=`[ \r
|
|
338
|
+
]`,BS="\\\\[a-zA-Z@]+",_S="\\\\[^\uD800-\uDFFF]",qS="("+BS+")"+Ig+"*",$S=`\\\\(
|
|
339
|
+
|[ \r ]+
|
|
340
|
+
?)[ \r ]*`,rf="[̀-ͯ]",HS=new RegExp(rf+"+$"),US="("+Ig+"+)|"+($S+"|")+"([!-\\[\\]-‧-豈-]"+(rf+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(rf+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+qS)+("|"+_S+")");class Dp{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(US,"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 vn("EOF",new sn(this,n,n));var i=this.tokenRegex.exec(t);if(i===null||i.index!==n)throw new fe("Unexpected character: '"+t[n]+"'",new vn(t[n],new sn(this,n,n+1)));var a=i[6]||i[3]||(i[2]?"\\ ":" ");if(this.catcodes[a]===14){var s=t.indexOf(`
|
|
341
|
+
`,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 vn(a,new sn(this,n,this.tokenRegex.lastIndex))}}class VS{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 fe("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 WS=kg;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 Pp={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 fe("\\char` missing argument");i=t.text.charCodeAt(0)}else n=10;if(n){if(i=Pp[t.text],i==null||i>=n)throw new fe("Invalid base-"+n+" digit "+t.text);for(var a;(a=Pp[e.future().text])!=null&&a<n;)i*=n,i+=a,e.popToken()}return"\\@char{"+i+"}"});var Jf=(e,t,n,i)=>{var a=e.consumeArg().tokens;if(a.length!==1)throw new fe("\\newcommand's first argument must be a macro name");var s=a[0].text,o=e.isDefined(s);if(o&&!t)throw new fe("\\newcommand{"+s+"} attempting to redefine "+(s+"; use \\renewcommand"));if(!o&&!n)throw new fe("\\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="",h=e.expandNextToken();h.text!=="]"&&h.text!=="EOF";)f+=h.text,h=e.expandNextToken();if(!f.match(/^\s*[0-9]+\s*$/))throw new fe("Invalid number of arguments: "+f);c=parseInt(f),a=e.consumeArg().tokens}return o&&i||e.macros.set(s,{tokens:a,numArgs:c}),""};T("\\newcommand",e=>Jf(e,!1,!0,!1));T("\\renewcommand",e=>Jf(e,!0,!1,!1));T("\\providecommand",e=>Jf(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),ti[n],ft.math[n],ft.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 Fp={",":"\\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"},GS=new Set(["bin","rel"]);T("\\dots",function(e){var t="\\dotso",n=e.expandAfterFuture().text;return n in Fp?t=Fp[n]:(n.slice(0,4)==="\\not"||n in ft.math&&GS.has(ft.math[n].group))&&(t="\\dotsb"),t});var Zf={")":!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 Zf?"\\ldots\\,":"\\ldots"});T("\\dotsc",function(e){var t=e.future().text;return t in Zf&&t!==","?"\\ldots\\,":"\\ldots"});T("\\cdots",function(e){var t=e.future().text;return t in Zf?"\\@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 fe("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 Rg=ge(ir["Main-Regular"][84][1]-.7*ir["Main-Regular"][65][1]);T("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Rg+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");T("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Rg+"}{\\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 Lg=e=>t=>{var n=t.consumeArg().tokens,i=t.consumeArg().tokens,a=t.consumeArg().tokens,s=t.consumeArg().tokens,o=t.macros.get("|"),c=t.macros.get("\\|");t.macros.beginGroup();var f=p=>x=>{e&&(x.macros.set("|",o),a.length&&x.macros.set("\\|",c));var w=p;if(!p&&a.length){var E=x.future();E.text==="|"&&(x.popToken(),w=!0)}return{tokens:w?a:i,numArgs:0}};t.macros.set("|",f(!1)),a.length&&t.macros.set("\\|",f(!0));var h=t.consumeArg().tokens,m=t.expandTokens([...s,...h,...n]);return t.macros.endGroup(),{tokens:m.reverse(),numArgs:0}};T("\\bra@ket",Lg(!1));T("\\bra@set",Lg(!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 Dg={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class YS{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 VS(WS,n.macros),this.mode=i,this.stack=[]}feed(t){this.lexer=new Dp(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 vn("EOF",i.loc)),this.pushTokens(a),new vn("",sn.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,o=0,c=0;do{if(s=this.popToken(),n.push(s),s.text==="{")++o;else if(s.text==="}"){if(--o,o===-1)throw new fe("Extra }",s)}else if(s.text==="EOF")throw new fe("Unexpected end of input in a macro argument, expected '"+(t&&i?t[c]:"}")+"'",s);if(t&&i)if((o===0||o===1&&t[c]==="{")&&s.text===t[c]){if(++c,c===t.length){n.splice(-c,c);break}}else c=0}while(o!==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 fe("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 fe("Use of the macro doesn't match its definition",s)}}for(var o=[],c=0;c<t;c++)o.push(this.consumeArg(n&&n[c+1]).tokens);return o}countExpansion(t){if(this.expansionCount+=t,this.expansionCount>this.settings.maxExpand)throw new fe("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(t){var 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 fe("Undefined control sequence: "+i);return this.pushToken(n),!1}this.countExpansion(1);var s=a.tokens,o=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 fe("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,...o[+f.text-1]);else throw new fe("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 vn(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 o=a.replace(/##/g,"");o.includes("#"+(s+1));)++s;for(var c=new Dp(a,this.settings),f=[],h=c.lex();h.text!=="EOF";)f.push(h),h=c.lex();f.reverse();var m={tokens:f,numArgs:s};return m}return a}isDefined(t){return this.macros.has(t)||ti.hasOwnProperty(t)||ft.math.hasOwnProperty(t)||ft.text.hasOwnProperty(t)||Dg.hasOwnProperty(t)}isExpandable(t){var n=this.macros.get(t);return n!=null?typeof n=="string"||typeof n=="function"||!n.unexpandable:ti.hasOwnProperty(t)&&!ti[t].primitive}}var Op=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,uo=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),Cc={"́":{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"}},Bp={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class Ko{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 YS(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 fe("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 vn("}")),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(Ko.endOfExpression.has(a.text)||n&&a.text===n||t&&ti[a.text]&&ti[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 fe("only one infix operator per group",s.token);n=a,i=s.replaceWith}}if(n!==-1&&i){var o,c,f=t.slice(0,n),h=t.slice(n+1);f.length===1&&f[0].type==="ordgroup"?o=f[0]:o={type:"ordgroup",mode:this.mode,body:f},h.length===1&&h[0].type==="ordgroup"?c=h[0]:c={type:"ordgroup",mode:this.mode,body:h};var m;return i==="\\\\abovefrac"?m=this.callFunction(i,[o,t[n],c],[]):m=this.callFunction(i,[o,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 fe("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 o=s.text==="\\limits";n.limits=o,n.alwaysHandleSupSub=!0}else if(n&&n.type==="operatorname")n.alwaysHandleSupSub&&(n.limits=s.text==="\\limits");else throw new fe("Limit controls must follow a math operator",s);this.consume()}else if(s.text==="^"){if(i)throw new fe("Double superscript",s);i=this.handleSupSubscript("superscript")}else if(s.text==="_"){if(a)throw new fe("Double subscript",s);a=this.handleSupSubscript("subscript")}else if(s.text==="'"){if(i)throw new fe("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(uo[s.text]){var h=Op.test(s.text),m=[];for(m.push(new vn(uo[s.text])),this.consume();;){var p=this.fetch().text;if(!uo[p]||Op.test(p)!==h)break;m.unshift(new vn(uo[p])),this.consume()}var x=this.subparse(m);h?a={type:"ordgroup",mode:"math",body:x}:i={type:"ordgroup",mode:"math",body:x}}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=ti[a];if(!s)return null;if(this.consume(),n&&n!=="atom"&&!s.allowedInArgument)throw new fe("Got function '"+a+"' with no arguments"+(n?" as "+n:""),i);if(this.mode==="text"&&!s.allowedInText)throw new fe("Can't use function '"+a+"' in text mode",i);if(this.mode==="math"&&s.allowedInMath===!1)throw new fe("Can't use function '"+a+"' in math mode",i);var{args:o,optArgs:c}=this.parseArguments(a,s);return this.callFunction(a,o,c,i,t)}callFunction(t,n,i,a,s){var o={funcName:t,parser:this,token:a,breakOnTokenText:s},c=ti[t];if(c&&c.handler)return c.handler(o,n,i);throw new fe("No function handler for "+t)}parseArguments(t,n){var i=n.numArgs+n.numOptionalArgs;if(i===0)return{args:[],optArgs:[]};for(var a=[],s=[],o=0;o<i;o++){var c=n.argTypes&&n.argTypes[o],f=o<n.numOptionalArgs;("primitive"in n&&n.primitive&&c==null||n.type==="sqrt"&&o===1&&s[0]==null)&&(c="primitive");var h=this.parseGroupOfType("argument to '"+t+"'",c,f);if(f)s.push(h);else if(h!=null)a.push(h);else throw new fe("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 fe("A primitive argument cannot be optional");var o=this.parseGroup(t);if(o==null)throw new fe("Expected group as "+t,this.fetch());return o}case"original":case null:case void 0:return this.parseArgumentGroup(i);default:throw new fe("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="",o;(o=this.fetch()).text!=="EOF"&&t.test(s+o.text);)a=o,s+=a.text,this.consume();if(s==="")throw new fe("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 fe("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 fe("Invalid size: '"+n.text+"'",n);var s={number:+(a[1]+a[2]),unit:a[3]};if(!$2(s))throw new fe("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 o={type:"ordgroup",mode:this.mode,loc:i.loc,body:s};return n&&this.switchMode(a),o}parseGroup(t,n){var i=this.fetch(),a=i.text,s;if(a==="{"||a==="\\begingroup"){this.consume();var o=a==="{"?"}":"\\endgroup";this.gullet.beginGroup();var c=this.parseExpression(!1,o),f=this.fetch();this.expect(o),this.gullet.endGroup(),s={type:"ordgroup",mode:this.mode,loc:sn.range(i,f),body:c,semisimple:a==="\\begingroup"||void 0}}else if(s=this.parseFunction(n,t)||this.parseSymbol(),s==null&&a[0]==="\\"&&!Dg.hasOwnProperty(a)){if(this.settings.throwOnError)throw new fe("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,o=t[i+1];if(!(!o||o.type!=="textord")){if(s==="-"&&o.text==="-"){var c=t[i+2];i+1<n&&c&&c.type==="textord"&&c.text==="-"?(t.splice(i,3,{type:"textord",mode:"text",loc:sn.range(a,c),text:"---"}),n-=2):(t.splice(i,2,{type:"textord",mode:"text",loc:sn.range(a,o),text:"--"}),n-=1)}(s==="'"||s==="`")&&o.text===s&&(t.splice(i,2,{type:"textord",mode:"text",loc:sn.range(a,o),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 fe(`\\verb assertion failed --
|
|
342
|
+
please report what input caused this bug`);return i=i.slice(1,-1),{type:"verb",mode:"text",body:i,star:a}}Bp.hasOwnProperty(n[0])&&!ft[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=Bp[n[0]]+n.slice(1));var s=HS.exec(n);s&&(n=n.substring(0,s.index),n==="i"?n="ı":n==="j"&&(n="ȷ"));var o;if(ft[this.mode][n]){this.settings.strict&&this.mode==="math"&&Hc.includes(n)&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+n[0]+'" used in math mode',t);var c=ft[this.mode][n].group,f=sn.range(t),h;cS(c)?h={type:"atom",mode:this.mode,family:c,loc:f,text:n}:h={type:c,mode:this.mode,loc:f,text:n},o=h}else if(n.charCodeAt(0)>=128)this.settings.strict&&(q2(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)),o={type:"textord",mode:"text",loc:sn.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(!Cc[p])throw new fe("Unknown accent ' "+p+"'",t);var x=Cc[p][this.mode]||Cc[p].text;if(!x)throw new fe("Accent "+p+" unsupported in "+this.mode+" mode",t);o={type:"accent",mode:this.mode,loc:sn.range(t),label:x,isStretchy:!1,isShifty:!0,base:o}}return o}}Ko.endOfExpression=new Set(["}","\\endgroup","\\end","\\right","&"]);var eh=function(t,n){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var i=new Ko(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 fe("\\tag works only in display equations");a=[{type:"tag",mode:"text",body:a,tag:i.subparse([new vn("\\df@tag")])}]}return a},th=function(t,n,i){n.textContent="";var a=Qo(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."),th=function(){throw new fe("KaTeX doesn't work in quirks mode.")});var Pg=function(t,n){var i=Qo(t,n).toMarkup();return i},Fg=function(t,n){var i=new _f(n);return eh(t,i)},Og=function(t,n,i){if(i.throwOnError||!(t instanceof fe))throw t;var a=ue(["katex-error"],[new yn(n)]);return a.setAttribute("title",t.toString()),a.setAttribute("style","color:"+i.errorColor),a},Qo=function(t,n){var i=new _f(n);try{var a=eh(t,i);return nS(a,t,i)}catch(s){return Og(s,t,i)}},Bg=function(t,n){var i=new _f(n);try{var a=eh(t,i);return rS(a,t,i)}catch(s){return Og(s,t,i)}},_g="0.16.47",qg={Span:Ml,Anchor:Oo,SymbolNode:yn,SvgNode:Cr,PathNode:ii,LineNode:$c},lf={version:_g,render:th,renderToString:Pg,ParseError:fe,SETTINGS_SCHEMA:bo,__parse:Fg,__renderToDomTree:Qo,__renderToHTMLTree:Bg,__setFontMetrics:W2,__defineSymbol:v,__defineFunction:we,__defineMacro:T,__domTree:qg};const jE=Object.freeze(Object.defineProperty({__proto__:null,ParseError:fe,SETTINGS_SCHEMA:bo,__defineFunction:we,__defineMacro:T,__defineSymbol:v,__domTree:qg,__parse:Fg,__renderToDomTree:Qo,__renderToHTMLTree:Bg,__setFontMetrics:W2,default:lf,get render(){return th},renderToString:Pg,version:_g},Symbol.toStringTag,{value:"Module"})),XS={};function KS(e){const t=this,n=e||XS,i=t.data(),a=i.micromarkExtensions||(i.micromarkExtensions=[]),s=i.fromMarkdownExtensions||(i.fromMarkdownExtensions=[]),o=i.toMarkdownExtensions||(i.toMarkdownExtensions=[]);a.push(rb(n)),s.push(Xk()),o.push(Kk(n))}const _p=/[#.]/g;function QS(e,t){const n=e||"",i={};let a=0,s,o;for(;a<n.length;){_p.lastIndex=a;const c=_p.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]:o=f,a+=f.length),c&&(s=c[0],a++)}return{type:"element",tagName:o||t||"div",properties:i,children:[]}}function $g(e,t,n){const i=n?tC(n):void 0;function a(s,o,...c){let f;if(s==null){f={type:"root",children:[]};const h=o;c.unshift(h)}else{f=QS(s,t);const h=f.tagName.toLowerCase(),m=i?i.get(h):void 0;if(f.tagName=m||h,JS(o))c.unshift(o);else for(const[p,x]of Object.entries(o))ZS(e,f.properties,p,x)}for(const h of c)af(f.children,h);return f.type==="element"&&f.tagName==="template"&&(f.content={type:"root",children:f.children},f.children=[]),f}return a}function JS(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 o of s)if(typeof o!="number"&&typeof o!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function ZS(e,t,n,i){const a=q4(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=pm(i):a.commaSeparated?s=cm(i):a.commaOrSpaceSeparated?s=pm(cm(i).join(" ")):s=qp(a,a.property,i):Array.isArray(i)?s=[...i]:s=a.property==="style"?eC(i):String(i);if(Array.isArray(s)){const o=[];for(const c of s)o.push(qp(a,a.property,c));s=o}a.property==="className"&&Array.isArray(t.className)&&(s=t.className.concat(s)),t[a.property]=s}}function af(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)af(e,n);else if(typeof t=="object"&&"type"in t)t.type==="root"?af(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function qp(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 eC(e){const t=[];for(const[n,i]of Object.entries(e))t.push([n,i].join(": "));return t.join("; ")}function tC(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}const nC=["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"],rC=$g($4,"div"),iC=$g(Ro,"g",nC),Ec={html:"http://www.w3.org/1999/xhtml",svg:"http://www.w3.org/2000/svg"};function lC(e,t){return Hg(e,{})||{type:"root",children:[]}}function Hg(e,t){const n=aC(e,t);return n&&t.afterTransform&&t.afterTransform(e,n),n}function aC(e,t){switch(e.nodeType){case 1:return cC(e,t);case 3:return oC(e);case 8:return uC(e);case 9:return $p(e,t);case 10:return sC();case 11:return $p(e,t);default:return}}function $p(e,t){return{type:"root",children:Ug(e,t)}}function sC(){return{type:"doctype"}}function oC(e){return{type:"text",value:e.nodeValue||""}}function uC(e){return{type:"comment",value:e.nodeValue||""}}function cC(e,t){const n=e.namespaceURI,i=n===Ec.svg?iC:rC,a=n===Ec.html?e.tagName.toLowerCase():e.tagName,s=n===Ec.html&&a==="template"?e.content:e,o=e.getAttributeNames(),c={};let f=-1;for(;++f<o.length;)c[o[f]]=e.getAttribute(o[f])||"";return i(a,c,Ug(s,t))}function Ug(e,t){const n=e.childNodes,i=[];let a=-1;for(;++a<n.length;){const s=Hg(n[a],t);s!==void 0&&i.push(s)}return i}new DOMParser;function fC(e,t){const n=hC(e);return lC(n)}function hC(e){const t=document.createElement("template");return t.innerHTML=e,t.content}const Hp=(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]}),Hi=(function(e){if(e==null)return pC;if(typeof e=="string")return mC(e);if(typeof e=="object")return dC(e);if(typeof e=="function")return nh(e);throw new Error("Expected function, string, or array as `test`")});function dC(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Hi(e[n]);return nh(i);function i(...a){let s=-1;for(;++s<t.length;)if(t[s].apply(this,a))return!0;return!1}}function mC(e){return nh(t);function t(n){return n.tagName===e}}function nh(e){return t;function t(n,i,a){return!!(gC(n)&&e.call(this,n,typeof i=="number"?i:void 0,a||void 0))}}function pC(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function gC(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const Up=/\n/g,Vp=/[\t ]+/g,sf=Hi("br"),Wp=Hi(CC),vC=Hi("p"),Gp=Hi("tr"),yC=Hi(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",SC,EC]),Vg=Hi(["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 xC(e,t){const n=t||{},i="children"in e?e.children:[],a=Vg(e),s=Yg(e,{whitespace:n.whitespace||"normal"}),o=[];(e.type==="text"||e.type==="comment")&&o.push(...Gg(e,{breakBefore:!0,breakAfter:!0}));let c=-1;for(;++c<i.length;)o.push(...Wg(i[c],e,{whitespace:s,breakBefore:c?void 0:a,breakAfter:c<i.length-1?sf(i[c+1]):a}));const f=[];let h;for(c=-1;++c<o.length;){const m=o[c];typeof m=="number"?h!==void 0&&m>h&&(h=m):m&&(h!==void 0&&h>-1&&f.push(`
|
|
343
|
+
`.repeat(h)||" "),h=-1,f.push(m))}return f.join("")}function Wg(e,t,n){return e.type==="element"?wC(e,t,n):e.type==="text"?n.whitespace==="normal"?Gg(e,n):kC(e):[]}function wC(e,t,n){const i=Yg(e,n),a=e.children||[];let s=-1,o=[];if(yC(e))return o;let c,f;for(sf(e)||Gp(e)&&Hp(t,e,Gp)?f=`
|
|
344
|
+
`:vC(e)?(c=2,f=2):Vg(e)&&(c=1,f=1);++s<a.length;)o=o.concat(Wg(a[s],e,{whitespace:i,breakBefore:s?void 0:c,breakAfter:s<a.length-1?sf(a[s+1]):f}));return Wp(e)&&Hp(t,e,Wp)&&o.push(" "),c&&o.unshift(c),f&&o.push(f),o}function Gg(e,t){const n=String(e.value),i=[],a=[];let s=0;for(;s<=n.length;){Up.lastIndex=s;const f=Up.exec(n),h=f&&"index"in f?f.index:n.length;i.push(bC(n.slice(s,h).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),s===0?t.breakBefore:!0,h===n.length?t.breakAfter:!0)),s=h+1}let o=-1,c;for(;++o<i.length;)i[o].charCodeAt(i[o].length-1)===8203||o<i.length-1&&i[o+1].charCodeAt(0)===8203?(a.push(i[o]),c=void 0):i[o]?(typeof c=="number"&&a.push(c),a.push(i[o]),c=0):(o===0||o===i.length-1)&&a.push(0);return a}function kC(e){return[String(e.value)]}function bC(e,t,n){const i=[];let a=0,s;for(;a<e.length;){Vp.lastIndex=a;const o=Vp.exec(e);s=o?o.index:e.length,!a&&!s&&o&&!t&&i.push(""),a!==s&&i.push(e.slice(a,s)),a=o?s+o[0].length:s}return a!==s&&!n&&i.push(""),i.join(" ")}function Yg(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 SC(e){return!!(e.properties||{}).hidden}function CC(e){return e.tagName==="td"||e.tagName==="th"}function EC(e){return e.tagName==="dialog"&&!(e.properties||{}).open}const TC={},NC=[];function zC(e){const t=e||TC;return function(n,i){Lf(n,"element",function(a,s){const o=Array.isArray(a.properties.className)?a.properties.className:NC,c=o.includes("language-math"),f=o.includes("math-display"),h=o.includes("math-inline");let m=f;if(!c&&!f&&!h)return;let p=s[s.length-1],x=a;if(a.tagName==="code"&&c&&p&&p.type==="element"&&p.tagName==="pre"&&(x=p,p=s[s.length-2],m=!0),!p)return;const w=xC(x,{whitespace:"pre"});let E;try{E=lf.renderToString(w,{...t,displayMode:m,throwOnError:!0})}catch(A){const z=A,R=z.name.toLowerCase();i.message("Could not render math with KaTeX",{ancestors:[...s,a],cause:z,place:a.position,ruleId:R,source:"rehype-katex"});try{E=lf.renderToString(w,{...t,displayMode:m,strict:"ignore",throwOnError:!1})}catch{E=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(A)},children:[{type:"text",value:w}]}]}}typeof E=="string"&&(E=fC(E).children);const N=p.children.indexOf(x);return p.children.splice(N,1,...E),p2})}}const AC=256*1024;let Di=null,MC=0;const zo=new Map;function Yp(e,t){var n;(n=zo.get(e))==null||n(t),zo.delete(e)}function jC(){if(Di)return Di;try{Di=new Worker(new URL("/assets/highlightWorker-DJp1Ce5p.js",import.meta.url),{type:"module"}),Di.addEventListener("message",e=>Yp(e.data.id,e.data.html)),Di.addEventListener("error",()=>{for(const e of[...zo.keys()])Yp(e,null);Di=null})}catch{return null}return Di}async function rh(e,t){if(e.length>AC)return null;const n=jC();if(!n)return null;const i=++MC;return new Promise(a=>{zo.set(i,a),n.postMessage({id:i,code:e,lang:t})})}function IC({code:e,lang:t}){const[n,i]=I.useState(null);I.useEffect(()=>{let s=!1;return rh(e,t).then(o=>{s||i(o)}).catch(()=>{s||i(null)}),()=>{s=!0}},[e,t]);const a=()=>{var s;return void((s=navigator.clipboard)==null?void 0:s.writeText(e))};return k.jsxs("div",{className:"codeblock",children:[k.jsxs("div",{className:"codeblock-bar",children:[k.jsx("span",{className:"codeblock-lang",children:t||"text"}),k.jsx("button",{className:"codeblock-copy",onClick:a,"aria-label":"Copy code",children:"copy"})]}),n?k.jsx("div",{className:"codeblock-body",dangerouslySetInnerHTML:{__html:n}}):k.jsx("pre",{className:"codeblock-body codeblock-plain",children:k.jsx("code",{children:e})})]})}const RC="modulepreload",LC=function(e){return"/"+e},Xp={},DC=function(t,n,i){let a=Promise.resolve();if(n&&n.length>0){let o=function(h){return Promise.all(h.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=o(n.map(h=>{if(h=LC(h),h in Xp)return;Xp[h]=!0;const m=h.endsWith(".css"),p=m?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${h}"]${p}`))return;const x=document.createElement("link");if(x.rel=m?"stylesheet":RC,m||(x.as="script"),x.crossOrigin="",x.href=h,f&&x.setAttribute("nonce",f),document.head.appendChild(x),m)return new Promise((w,E)=>{x.addEventListener("load",w),x.addEventListener("error",()=>E(new Error(`Unable to preload CSS for ${h}`)))})}))}function s(o){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=o,window.dispatchEvent(c),!c.defaultPrevented)throw o}return a.then(o=>{for(const c of o||[])c.status==="rejected"&&s(c.reason);return t().catch(s)})};let Tc=null;function PC(){return Tc||(Tc=DC(()=>import("./mermaid.core-BrC5_l7I.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))),Tc}let FC=0;function OC({code:e}){const t=I.useRef(null),[n,i]=I.useState(!1);return I.useEffect(()=>{let a=!1;i(!1);const s=e.trim();if(s)return PC().then(async o=>{const c=await o.parse(s,{suppressErrors:!0});if(a||!c)return;const{svg:f}=await o.render(`mermaid-${FC++}`,s);a||!t.current||(t.current.innerHTML=f,i(!0))}).catch(()=>{}),()=>{a=!0}},[e]),k.jsxs("div",{className:"mermaid-wrap",children:[k.jsx("div",{className:`mermaid-block ${n?"":"is-hidden"}`,ref:t}),!n&&k.jsxs("div",{className:"codeblock",children:[k.jsx("div",{className:"codeblock-bar",children:k.jsx("span",{className:"codeblock-lang",children:"mermaid"})}),k.jsx("pre",{className:"codeblock-body codeblock-plain",children:k.jsx("code",{children:e})})]})]})}const BC={code(e){const{className:t,children:n}=e,i=/language-(\w+)/.exec(t??""),a=String(n).replace(/\n$/,"");if(!t&&!a.includes(`
|
|
345
|
+
`))return k.jsx("code",{className:"md-inline-code",children:a});const o=(i==null?void 0:i[1])??"";return o==="mermaid"?k.jsx(OC,{code:a}):k.jsx(IC,{code:a,lang:o})},a(e){return k.jsx("a",{...e,target:"_blank",rel:"noreferrer noopener"})}},Cl=I.memo(function({text:t}){return k.jsx("div",{className:"md",children:k.jsx(Px,{remarkPlugins:[Yk,KS],rehypePlugins:[zC],components:BC,children:t})})}),_C=4e5;function Kp(e,t){const n=e.split(`
|
|
346
|
+
`),i=t.split(`
|
|
347
|
+
`),a=n.length,s=i.length;if(a*s>_C)return[...n.map(m=>({type:"del",text:m})),...i.map(m=>({type:"add",text:m}))];const o=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--)o[m][p]=n[m]===i[p]?o[m+1][p+1]+1:Math.max(o[m+1][p],o[m][p+1]);const c=[];let f=0,h=0;for(;f<a&&h<s;)n[f]===i[h]?(c.push({type:"ctx",text:n[f]}),f++,h++):o[f+1][h]>=o[f][h+1]?(c.push({type:"del",text:n[f]}),f++):(c.push({type:"add",text:i[h]}),h++);for(;f<a;)c.push({type:"del",text:n[f++]});for(;h<s;)c.push({type:"add",text:i[h++]});return c}const Xg={loading:"lazy",decoding:"async",ref:e=>{e!=null&&e.complete&&(e.dataset.loaded="")},onLoad:e=>{e.currentTarget.dataset.loaded=""}},Vn=e=>!!e&&typeof e=="object";function ih(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=Vn(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 qC={shell:"shell",write:"write",read:"read",grep:"grep",todo:"todo_list",webfetch:"web_fetch",websearch:"web_search",introspect:"introspect",generic:void 0};function $C(e){if(e.name)return e.name;const t=qC[ih(e)];if(t)return t;const n=e.title??"";return n&&!/\s/.test(n)?n:"tool"}function Kg(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 Ui(e){const t=[];for(const n of e)Vn(n)&&(n.type==="content"&&Vn(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 Vi(e){for(const t of e)if(Vn(t)&&t.kind==="json"&&Vn(t.data))return t.data;return null}function lh(e){const t=Object.keys(e);return t.length===1&&typeof e[t[0]]=="string"?e[t[0]]:null}function HC(e){if(e==null)return[];if(typeof e=="string")return e?[{kind:"text",data:e}]:[];if(Vn(e)&&Array.isArray(e.items)){const t=[];for(const n of e.items)Vn(n)&&(typeof n.Text=="string"?t.push({kind:"text",data:n.Text}):Vn(n.Json)&&t.push({kind:"json",data:n.Json}));return t}return[]}function ui(e){return[...Array.isArray(e.content)?e.content:[],...HC(e.output)]}function UC(e){for(const t of e)if(Vn(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 VC(e){let t=Vi(e);if(!t||!Array.isArray(t.tasks)){const n=Ui(e).trim();if(n.startsWith("{"))try{const i=JSON.parse(n);t=Vn(i)?i:null}catch{t=null}}return t&&Array.isArray(t.tasks)?t.tasks.map(n=>{const i=Vn(n)?n:{};return{desc:typeof i.task_description=="string"?i.task_description:"",done:i.completed===!0}}):null}const WC={pending:"queued",in_progress:"running",completed:"done",failed:"failed"},Ft=e=>e&&typeof e=="object"?e:null,Qe=e=>typeof e=="string"?e:void 0,Qp=e=>e.split("/").pop()||e;function GC(e){const t=Array.isArray(e.operations)?e.operations:[];for(const n of t){const i=Ft(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 YC(e){const t=Ft(e.input);if(!t)return null;const n=Qe(t.__tool_use_purpose);if(n)return{text:n};switch(ih(e)){case"write":{const i=Qe(t.path);return i?{text:Qp(i),title:i}:null}case"read":{const i=GC(t);return i?{text:Qp(i),title:i}:null}case"grep":{const i=Qe(t.pattern);return i?{text:i}:null}case"websearch":case"introspect":{const i=Qe(t.query)??Qe(t.doc_path);return i?{text:i}:null}case"webfetch":{const i=Qe(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 Qg(e){const t=Ft(e);if(!t||!Array.isArray(t.operations))return[];const n=[];for(const i of t.operations){const a=Ft(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 Jp=e=>`/api/fs/image?path=${encodeURIComponent(e)}`;function XC({tool:e}){const t=e.status,[n,i]=I.useState(t==="failed"),a=YC(e),s=Qg(e.input);return k.jsxs("div",{className:`toolcall toolcall-${t}`,children:[k.jsxs("button",{className:"toolcall-head",onClick:()=>i(o=>!o),children:[k.jsx("span",{className:`toolcall-dot dot-${t}`}),k.jsx("span",{className:"toolcall-title",children:$C(e)}),a&&k.jsx("span",{className:"toolcall-summary",title:a.title??a.text,children:a.text}),k.jsx("span",{className:"toolcall-status",children:WC[t]??t}),k.jsx("span",{className:`toolcall-chevron ${n?"is-open":""}`,children:"▸"})]}),s.length>0&&k.jsx("div",{className:"toolcall-images",children:s.map(o=>k.jsx("a",{href:Jp(o),target:"_blank",rel:"noopener noreferrer",className:"toolcall-image-link",children:k.jsx("img",{src:Jp(o),alt:o.split("/").pop()??"image",className:"toolcall-image",...Xg})},o))}),k.jsx(KC,{open:n,children:k.jsx("div",{className:"toolcall-body",children:QC(e)})})]})}function KC({open:e,children:t}){const[n,i]=I.useState(e);I.useEffect(()=>{e&&i(!0)},[e]);const a=s=>{s.propertyName==="grid-template-rows"&&!e&&i(!1)};return k.jsx("div",{className:`collapse ${e?"is-open":""}`,onTransitionEnd:a,children:k.jsx("div",{className:"collapse-inner",children:n?t:null})})}function QC(e){switch(ih(e)){case"shell":return JC(e);case"write":return ZC(e);case"read":return eE(e);case"grep":return tE(e);case"todo":return nE(e);case"webfetch":return iE(e);case"websearch":return aE(e);case"introspect":return rE(e);default:return ci(e)}}function JC(e){const t=Ft(e.input),n=Qe(t==null?void 0:t.command)??"",i=ui(e),a=Vi(i),s=a?Qe(a.stdout)??"":Ui(i),o=a?Qe(a.stderr)??"":"",c=a?String(a.exit_status??""):"",f=c!==""&&!/\b0$/.test(c);return k.jsxs(k.Fragment,{children:[n&&k.jsx(In,{code:n,lang:"bash"}),s.trim()&&k.jsx(In,{code:s,lang:"text"}),o.trim()&&k.jsxs("div",{className:"toolcall-section",children:[k.jsx("div",{className:"toolcall-label",children:"stderr"}),k.jsx(In,{code:o,lang:"text"})]}),f&&k.jsx("div",{className:"toolcall-exit",children:c})]})}function ZC(e){const t=Ft(e.input),n=Qe(t==null?void 0:t.path)??"",i=Qe(t==null?void 0:t.command);if(i==="create"||i==="insert"){const c=Qe(t==null?void 0:t.content);if(c!==void 0)return k.jsx(In,{code:c,lang:Kg(n)})}const a=Qe(t==null?void 0:t.oldStr),s=Qe(t==null?void 0:t.newStr);if(a!==void 0&&s!==void 0)return k.jsx(Zp,{diff:Kp(a,s)});const o=UC(e.content);return o?k.jsx(Zp,{diff:Kp(o.oldText,o.newText)}):ci(e)}function eE(e){const t=Ft(e.input),n=t&&Array.isArray(t.operations)?t.operations:[],i=Ui(ui(e));if(!i.trim())return Qg(e.input).length>0?null:ci(e);const a=n.map(Ft).find(c=>c&&c.mode!=="Image"),s=a&&typeof a.path=="string"?a.path:"",o=(a==null?void 0:a.mode)==="Line"?Kg(s):"text";return k.jsx(In,{code:i,lang:o})}function tE(e){const t=ui(e),n=Vi(t),i=n&&Array.isArray(n.results)?n.results.filter(s=>{const o=Ft(s);return!!o&&(Array.isArray(o.matches)||typeof o.file=="string")}):null;if(i&&i.length>0)return k.jsx("div",{className:"grep",children:i.map((s,o)=>{const c=Ft(s),f=c&&typeof c.file=="string"?c.file:"",h=c&&Array.isArray(c.matches)?c.matches.map(String):[];return k.jsxs("div",{className:"grep-file",children:[k.jsx("div",{className:"grep-fname",children:f}),k.jsx("pre",{className:"grep-matches",children:h.join(`
|
|
348
|
+
`)})]},o)})});const a=Ui(t);return a.trim()?k.jsx(In,{code:a,lang:"text"}):ci(e)}function nE(e){const t=VC(ui(e));return!t||t.length===0?ci(e):k.jsx("div",{className:"todo",children:t.map((n,i)=>k.jsxs("div",{className:`todo-item ${n.done?"is-done":""}`,children:[k.jsx("span",{className:"todo-check","aria-hidden":!0,children:n.done?"☑":"☐"}),k.jsx("span",{className:"todo-text",children:n.desc})]},i))})}function rE(e){const t=Ft(e.input),n=Qe(t==null?void 0:t.query)??Qe(t==null?void 0:t.doc_path),i=ui(e),a=Vi(i),s=(a?Qe(a.documentation)??lh(a):null)??Ui(i);return k.jsxs(k.Fragment,{children:[n&&k.jsxs("div",{className:"toolcall-section",children:[k.jsx("div",{className:"toolcall-label",children:"query"}),k.jsx(In,{code:n,lang:"text"})]}),s.trim()?k.jsx("div",{className:"toolcall-doc",children:k.jsx(Cl,{text:s})}):ci(e)]})}function iE(e){const t=Ft(e.input),n=Qe(t==null?void 0:t.url),i=Qe(t==null?void 0:t.mode),a=Qe(t==null?void 0:t.search_terms),s=ui(e),o=Vi(s),c=o?lh(o)??Qe(o.content)??JSON.stringify(o,null,2):Ui(s);return k.jsxs(k.Fragment,{children:[n&&k.jsxs("div",{className:"toolcall-meta",children:[k.jsx("a",{className:"toolcall-link",href:n,target:"_blank",rel:"noopener noreferrer",children:n}),i&&k.jsx("span",{className:"toolcall-tag",children:i})]}),a&&k.jsxs("div",{className:"toolcall-section",children:[k.jsx("div",{className:"toolcall-label",children:"search terms"}),k.jsx(In,{code:a,lang:"text"})]}),c.trim()?k.jsx(In,{code:c,lang:"markdown"}):ci(e)]})}function lE(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=Ft(i);a&&n.push({title:Qe(a.title)??Qe(a.name),url:Qe(a.url)??Qe(a.link)??Qe(a.href),snippet:Qe(a.snippet)??Qe(a.description)??Qe(a.content)??Qe(a.text)})}return n.length?n:null}function aE(e){var a;const t=ui(e),n=lE(Vi(t));if(!n)return ci(e);const i=Qe((a=Ft(e.input))==null?void 0:a.query);return k.jsxs(k.Fragment,{children:[i&&k.jsxs("div",{className:"toolcall-section",children:[k.jsx("div",{className:"toolcall-label",children:"query"}),k.jsx(In,{code:i,lang:"text"})]}),k.jsx("ol",{className:"websearch",children:n.map((s,o)=>k.jsxs("li",{className:"websearch-item",children:[s.url?k.jsx("a",{className:"websearch-title",href:s.url,target:"_blank",rel:"noopener noreferrer",children:s.title??s.url}):k.jsx("span",{className:"websearch-title",children:s.title??"(untitled)"}),s.url&&k.jsx("div",{className:"websearch-url",children:s.url}),s.snippet&&k.jsx("p",{className:"websearch-snippet",children:s.snippet})]},o))})]})}function ci(e){const t=e.input;let n="";if(typeof t=="string")n=t;else if(Ft(t)){const{__tool_use_purpose:f,...h}=Ft(t);n=JSON.stringify(h,null,2)}const i=ui(e),a=Vi(i),s=a?lh(a):null,o=s??(a?JSON.stringify(a,null,2):Ui(i)),c=s?"text":/^\s*[[{]/.test(o)?"json":"text";return k.jsxs(k.Fragment,{children:[n&&n!=="{}"&&k.jsxs("div",{className:"toolcall-section",children:[k.jsx("div",{className:"toolcall-label",children:"input"}),k.jsx(In,{code:n,lang:Ft(t)?"json":"text"})]}),o.trim()&&k.jsxs("div",{className:"toolcall-section",children:[k.jsx("div",{className:"toolcall-label",children:"output"}),k.jsx(In,{code:o,lang:c})]})]})}function In({code:e,lang:t}){const[n,i]=I.useState(null);return I.useEffect(()=>{let a=!1;return rh(e,t).then(s=>!a&&i(s)).catch(()=>!a&&i(null)),()=>{a=!0}},[e,t]),n?k.jsx("div",{className:"toolcode",dangerouslySetInnerHTML:{__html:n}}):k.jsx("pre",{className:"toolcode toolcode-plain",children:e})}function Zp({diff:e}){return k.jsx("div",{className:"diff-body",children:e.map((t,n)=>k.jsxs("div",{className:`diff-line diff-${t.type}`,children:[k.jsx("span",{className:"diff-sign","aria-hidden":!0,children:t.type==="add"?"+":t.type==="del"?"-":" "}),k.jsx("span",{className:"diff-code",children:t.text||" "})]},n))})}const Nc=typeof window<"u"?window.matchMedia("(prefers-reduced-motion: reduce)"):null,sE=I.memo(function({onRetry:t,onRetryTurn:n}){const i=Oe(Q=>Q.items),a=Oe(Q=>Q.streamingText),s=Oe(Q=>Q.streamingThought),o=Oe(Q=>Q.pending),c=Oe(Q=>Q.observability.turnStatus),f=Oe(Q=>Q.observability.compacting),h=Oe(Q=>Q.activeId),m=Oe(Q=>Q.remainingOlder),p=Oe(Q=>Q.prependItems),x=I.useRef(null),w=I.useRef(null),E=I.useRef(!1),N=I.useRef(null),[A,z]=I.useState(!1),R=I.useRef(!1),_=I.useRef(0),X=I.useRef(null),V=I.useRef(0),O=I.useRef(0),[G,te]=I.useState(!1);I.useEffect(()=>(R.current=!1,V.current=0,E.current=!1,N.current=null,z(!1),te(!1),()=>{O.current&&cancelAnimationFrame(O.current),O.current=0}),[h]);const re=()=>{const Q=w.current;if(!Q||!h||E.current||m<=0)return;E.current=!0,z(!0);const{offset:Ee,limit:oe}=Nv(m,80);N.current=Q.scrollHeight-Q.scrollTop,ot.transcriptPage(h,Ee,oe).then(J=>{J.items.length>0?p(J.items):(N.current=null,E.current=!1,z(!1))}).catch(()=>{N.current=null,E.current=!1,z(!1),console.error("could not load earlier transcript page")})};I.useLayoutEffect(()=>{if(N.current==null)return;const Q=w.current;Q&&(Q.scrollTop=Q.scrollHeight-N.current),N.current=null,E.current=!1,z(!1)},[i]);const H=Q=>{const Ee=Q.scrollHeight-Q.scrollTop-Q.clientHeight;te(Ee>240)},he=()=>{O.current=0;const Q=w.current;if(!Q||!R.current)return;const Ee=Q.scrollHeight-Q.clientHeight,oe=Ee-Q.scrollTop;if(oe<=1||Nc!=null&&Nc.matches){Q.scrollTop=Ee,_.current=Q.scrollTop;return}Q.scrollTop+=Math.max(10,Math.ceil(oe*.3)),_.current=Q.scrollTop,O.current=requestAnimationFrame(he)},ne=()=>{O.current||(O.current=requestAnimationFrame(he))};I.useEffect(()=>{var Ee;const Q=w.current;if(Q){if(X.current!==h&&i.length>0){X.current=h,R.current=!1,(Ee=x.current)==null||Ee.scrollIntoView({block:"end"}),_.current=Q.scrollTop,V.current=o.length,te(!1);return}o.length>V.current&&(R.current=!0),V.current=o.length,R.current?ne():H(Q)}},[i,a,s,o,h,f]);const Te=()=>{const Q=w.current;Q&&(Q.scrollTop<_.current-4&&(R.current=!1),_.current=Q.scrollTop,H(Q),Q.scrollTop<300&&!E.current&&m>0&&re())},ve=()=>{R.current=!0,te(!1),ne()},ie=i.length===0&&!a&&!s&&o.length===0;return k.jsxs("div",{className:"transcript-wrap",children:[A&&k.jsxs("div",{className:"loading-older",role:"status",children:[k.jsx(ni,{size:14}),k.jsx("span",{children:"Loading earlier messages…"})]}),k.jsxs("div",{className:"transcript",ref:w,onScroll:Te,children:[ie&&k.jsxs("div",{className:"transcript-empty",children:[k.jsx("p",{className:"empty-title",children:"Casper is here."}),k.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(Q=>Q.type==="message"?Q.message.role==="thinking"?k.jsx(e4,{text:Q.message.text},Q.message.id):k.jsx("div",{className:`msg msg-${Q.message.role}`,children:Q.message.role==="assistant"?k.jsx(Cl,{text:Q.message.text}):k.jsxs(k.Fragment,{children:[h&&Q.message.imagePaths&&Q.message.imagePaths.length>0&&k.jsx("div",{className:"msg-images",children:Q.message.imagePaths.map(Ee=>k.jsx("a",{href:ot.attachmentUrl(h,Ee),target:"_blank",rel:"noopener noreferrer",className:"msg-image-link",children:k.jsx("img",{src:ot.attachmentUrl(h,Ee),alt:Ee.split("/").pop()??"image",className:"msg-image",...Xg})},Ee))}),Q.message.text&&k.jsx("div",{className:"msg-user-text",children:Q.message.text})]})},Q.message.id):Q.type==="tool_call"?k.jsx(XC,{tool:Q.tool},Q.tool.id):Q.type==="turn_error"?k.jsx(oE,{message:Q.message,onRetry:n},Q.id):k.jsx(uE,{summary:Q.summary},Q.id)),o.map(Q=>k.jsxs("div",{className:`msg msg-user msg-pending ${Q.status==="failed"?"is-failed":""}`,children:[k.jsx("div",{className:"msg-user-text",children:Q.text}),Q.status==="failed"&&k.jsxs("div",{className:"msg-failed",children:[k.jsx("span",{className:"msg-failed-why",children:Q.error??"Failed to send."}),k.jsx("button",{className:"msg-retry",onClick:()=>t(Q.id,Q.text),children:"Retry"})]})]},Q.id)),s&&k.jsx(e4,{text:s,live:!0}),a&&k.jsx("div",{className:"msg msg-assistant",children:k.jsx(Cl,{text:a})}),c==="running"&&!a&&!s&&k.jsxs("div",{className:"thinking",children:[k.jsx("span",{className:"thinking-dot"}),k.jsx("span",{className:"thinking-dot"}),k.jsx("span",{className:"thinking-dot"})]}),f&&k.jsx("div",{className:"compaction compaction-live",children:k.jsx("div",{className:"compaction-rule",children:k.jsxs("span",{className:"compaction-head",children:[k.jsx(ni,{size:13,className:"compaction-icon"}),k.jsx("span",{className:"compaction-label",children:"Compacting conversation…"})]})})}),k.jsx("div",{ref:x})]}),G&&k.jsx("button",{className:"scroll-to-bottom",onClick:ve,"aria-label":"Scroll to latest",title:"Scroll to latest",children:k.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:k.jsx("polyline",{points:"6 9 12 15 18 9"})})})]})});function e4({text:e,live:t=!1}){const[n,i]=I.useState(t);return k.jsxs("div",{className:`thought ${t?"is-live":""}`,children:[k.jsxs("button",{className:"thought-head",onClick:()=>i(a=>!a),children:[k.jsx("span",{className:"thought-chevron",children:n?"▾":"▸"}),k.jsx("span",{className:"thought-label",children:"Thinking"})]}),n&&k.jsx("div",{className:"thought-body",children:k.jsx(Cl,{text:e})})]})}function oE({message:e,onRetry:t}){const[n,i]=I.useState(!1),[a,s]=I.useState(!1),o=T4(e),c=Oe(h=>{for(let m=h.items.length-1;m>=0;m--){const p=h.items[m];if(p.type==="message"&&p.message.role==="user")return p.message.text}return""}),f=()=>{var h;(h=navigator.clipboard)==null||h.writeText(e).then(()=>{s(!0),setTimeout(()=>s(!1),1500)},()=>{})};return k.jsxs("div",{className:"sysnote",children:[k.jsx("div",{className:"sysnote-rule",children:k.jsxs("button",{className:"sysnote-head",onClick:()=>i(h=>!h),"aria-expanded":n,children:[k.jsx("span",{"aria-hidden":!0,children:"⚠"}),k.jsx("span",{className:"sysnote-label",children:o.title}),k.jsx("span",{className:"sysnote-toggle",children:n?"Hide details":"Show details"})]})}),n&&k.jsxs("div",{className:"sysnote-body",children:[o.fix&&k.jsx("p",{className:"sysnote-fix",children:o.fix}),k.jsx("pre",{className:"sysnote-raw",children:e}),k.jsxs("div",{className:"sysnote-actions",children:[t&&c&&k.jsx("button",{className:"btn-sm is-danger",onClick:()=>t(c),children:"Retry turn"}),k.jsx("button",{className:"btn-sm",onClick:f,children:a?"Copied":"Copy details"})]})]})]})}function uE({summary:e}){const[t,n]=I.useState(!1);return k.jsxs("div",{className:"compaction",children:[k.jsx("div",{className:"compaction-rule",children:k.jsxs("button",{className:"compaction-head",onClick:()=>n(i=>!i),"aria-expanded":t,children:[k.jsx(dv,{size:14,className:"compaction-icon"}),k.jsx("span",{className:"compaction-label",children:"Conversation compacted"}),k.jsx("span",{className:"compaction-toggle",children:t?"Hide summary":"Show summary"})]})}),t&&k.jsx("div",{className:"compaction-body",children:k.jsx(Cl,{text:e})})]})}function Jg({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[o,c]=I.useState([]),[f,h]=I.useState(!1),[m,p]=I.useState(null),x=I.useRef("");I.useEffect(()=>{const A=e;x.current=A;const z=setTimeout(()=>{ot.listDirs(A).then(R=>{x.current===A&&(c(R.entries),p({path:R.target,kind:R.targetKind}))}).catch(()=>{x.current===A&&(c([]),p(null))})},150);return()=>clearTimeout(z)},[e]);const w=e.trim()!=="",E=w&&(m==null?void 0:m.kind)==="missing",N=w&&(m==null?void 0:m.kind)==="file";return k.jsxs("label",{className:"picker cwd-field",children:[k.jsx("span",{className:"picker-label",children:n}),k.jsx("input",{className:"picker-input",value:e,placeholder:i,autoComplete:"off",spellCheck:!1,autoFocus:s,onFocus:()=>h(!0),onChange:A=>{t(A.target.value),h(!0)},onBlur:()=>setTimeout(()=>h(!1),120)}),f&&o.length>0&&k.jsx("div",{className:"cwd-suggestions",children:o.map(A=>k.jsx("button",{type:"button",className:"cwd-suggestion",onMouseDown:z=>z.preventDefault(),onClick:()=>{t(A),c([])},children:A},A))}),E&&k.jsxs("span",{className:"picker-hint cwd-will-create",children:["Doesn't exist yet - this folder will be created: ",k.jsx("code",{children:m.path})]}),N&&k.jsxs("span",{className:"picker-hint cwd-is-file",children:["That path is a file, not a folder: ",k.jsx("code",{children:m.path})]}),!E&&!N&&k.jsx("span",{className:"picker-hint",children:a})]})}function cE({sessionId:e,currentCwd:t,onChanged:n,onClose:i}){const[a,s]=I.useState(t??""),[o,c]=I.useState(!1),[f,h]=I.useState(null),m=async()=>{const p=a.trim();if(!(!p||o)){c(!0),h(null);try{const x=await ot.setSessionCwd(e,p);n(x.cwd),i()}catch(x){h(x.message)}finally{c(!1)}}};return k.jsx("div",{className:"sheet-backdrop",onClick:i,children:k.jsxs("div",{className:"sheet",onClick:p=>p.stopPropagation(),children:[k.jsx("div",{className:"sheet-handle"}),k.jsx("h2",{className:"sheet-title",children:"Change working directory"}),k.jsx(Jg,{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&&k.jsx("div",{className:"sheet-error",children:f}),k.jsxs("div",{className:"sheet-actions",children:[k.jsx("button",{className:"btn-ghost",onClick:i,disabled:o,children:"Cancel"}),k.jsx("button",{className:"btn-primary",onClick:m,disabled:o||!a.trim(),children:o?"Saving…":"Change folder"})]})]})})}function fE(e){return e<1024?`${e} B`:e<1024*1024?`${(e/1024).toFixed(1)} KB`:`${(e/(1024*1024)).toFixed(1)} MB`}function hE({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 k.jsx(um,{size:15,className:"ftree-icon-svg ftree-icon-code"});case"json":case"yaml":case"yml":case"toml":case"ini":case"env":case"lock":return k.jsx(lv,{size:15,className:"ftree-icon-svg ftree-icon-config"});case"md":case"txt":case"rst":case"log":case"csv":return k.jsx(av,{size:15,className:"ftree-icon-svg ftree-icon-text"});case"css":case"scss":case"less":case"sass":return k.jsx(ov,{size:15,className:"ftree-icon-svg ftree-icon-style"});case"html":case"svg":case"xml":return k.jsx(um,{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 k.jsx(sv,{size:15,className:"ftree-icon-svg ftree-icon-image"});case"sh":case"bash":case"zsh":case"fish":case"bat":case"ps1":return k.jsx(uv,{size:15,className:"ftree-icon-svg ftree-icon-terminal"});default:return k.jsx(iv,{size:15,className:"ftree-icon-svg"})}}const dE=new Set(["png","jpg","jpeg","gif","webp","svg","bmp","ico","avif"]);function mE(e){const t=e.toLowerCase(),n=t.lastIndexOf("."),i=n>0?t.slice(n+1):"";return dE.has(i)?"image":i==="pdf"?"pdf":i==="html"||i==="htm"?"html":i==="md"||i==="markdown"?"markdown":"text"}const pE={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 gE(e){const t=e.toLowerCase();if(t==="dockerfile")return"dockerfile";if(t==="makefile")return"make";const n=t.split(".").pop()??"";return pE[n]??""}function Zg({entry:e,sessionId:t,depth:n,onPreview:i}){const[a,s]=I.useState({expanded:!1,children:null,loading:!1}),o=I.useCallback(async()=>{if(e.type==="directory"&&!a.loading){if(a.expanded){s(h=>({...h,expanded:!1}));return}if(a.children===null){s(h=>({...h,loading:!0}));try{const h=await ot.tree(t,e.path);s({expanded:!0,children:h.entries,loading:!1})}catch{s(h=>({...h,loading:!1}))}}else s(h=>({...h,expanded:!0}))}},[e,t,a.expanded,a.children,a.loading]),c=I.useCallback(()=>{e.type==="file"&&i(e)},[e,i]),f=n*16;return e.type==="directory"?k.jsxs(k.Fragment,{children:[k.jsxs("button",{className:"ftree-row ftree-dir",onClick:o,style:{paddingLeft:`${f+8}px`},children:[k.jsx("span",{className:`ftree-chevron ${a.expanded?"is-open":""}`,children:a.loading?k.jsx(ni,{size:12}):k.jsx(A4,{size:12,className:"ftree-chevron-icon"})}),k.jsx("span",{className:"ftree-icon",children:a.expanded?k.jsx(rv,{size:15,className:"ftree-icon-svg ftree-icon-folder"}):k.jsx(R4,{size:15,className:"ftree-icon-svg ftree-icon-folder"})}),k.jsx("span",{className:"ftree-name",children:e.name})]}),a.expanded&&a.children&&k.jsxs("div",{className:"ftree-children",children:[a.children.map(h=>k.jsx(Zg,{entry:h,sessionId:t,depth:n+1,onPreview:i},h.path)),a.children.length===0&&k.jsx("div",{className:"ftree-empty",style:{paddingLeft:`${f+24}px`},children:"Empty"})]})]}):k.jsxs("div",{className:"ftree-row ftree-file",style:{paddingLeft:`${f+8}px`},onClick:c,children:[k.jsx("span",{className:"ftree-chevron ftree-chevron-spacer","aria-hidden":"true"}),k.jsx("span",{className:"ftree-icon",children:k.jsx(hE,{name:e.name})}),k.jsx("span",{className:"ftree-name",children:e.name}),e.size!=null&&k.jsx("span",{className:"ftree-size",children:fE(e.size)})]})}function vE({preview:e,sessionId:t,onClose:n}){const[i,a]=I.useState(!1),[s,o]=I.useState({}),c=()=>{window.open(ot.downloadUrl(t,e.path),"_blank")},f=w=>{w.target===w.currentTarget&&n()};I.useEffect(()=>{const w=E=>{E.key==="Escape"&&n()};return document.addEventListener("keydown",w),()=>document.removeEventListener("keydown",w)},[n]);const h=s[e.path]??!1,m=e.kind==="html"||e.kind==="markdown",p=m&&!h,x=e.kind!=="image"&&e.kind!=="pdf"&&!p;return k.jsx("div",{className:"fpreview-backdrop",onClick:f,children:k.jsxs("div",{className:`fpreview-modal${i?" fpreview-full":""}`,children:[k.jsxs("div",{className:"fpreview-header",children:[m&&!e.error&&k.jsxs("div",{className:"fpreview-seg",role:"group","aria-label":"Preview mode",children:[k.jsx("button",{className:`fpreview-seg-btn${h?"":" is-active"}`,onClick:()=>o(w=>({...w,[e.path]:!1})),title:"Rendered","aria-label":"Rendered","aria-pressed":!h,children:k.jsx(mv,{size:17})}),k.jsx("button",{className:`fpreview-seg-btn${h?" is-active":""}`,onClick:()=>o(w=>({...w,[e.path]:!0})),title:"Source","aria-label":"Source","aria-pressed":h,children:k.jsx(pv,{size:17})})]}),k.jsx("span",{className:"fpreview-name",title:e.path,children:e.name}),k.jsx("button",{className:"fpreview-dl",onClick:c,title:"Download file","aria-label":"Download file",children:k.jsx(cv,{size:18})}),k.jsx("button",{className:"fpreview-full-btn",onClick:()=>a(w=>!w),title:i?"Exit fullscreen":"Fullscreen","aria-label":i?"Exit fullscreen":"Fullscreen",children:i?k.jsx(vv,{size:18}):k.jsx(gv,{size:18})}),k.jsx("button",{className:"fpreview-close",onClick:n,"aria-label":"Close preview",children:k.jsx(M4,{size:18})})]}),k.jsxs("div",{className:"fpreview-body",children:[e.loading&&k.jsx("div",{className:"fpreview-loading",children:k.jsx(ni,{size:48})}),e.error&&k.jsx("div",{className:"ftree-error",children:e.error}),!e.loading&&!e.error&&e.kind==="image"&&k.jsx("img",{src:ot.previewUrl(t,e.path),alt:e.name,className:"fpreview-image"}),!e.error&&e.kind==="pdf"&&k.jsx("iframe",{src:ot.previewUrl(t,e.path),title:e.name,className:"fpreview-pdf"}),!e.error&&e.kind==="html"&&p&&k.jsx("iframe",{src:`${ot.previewUrl(t,e.path)}&raw=1`,title:e.name,className:"fpreview-html",sandbox:"allow-scripts allow-forms"}),!e.loading&&!e.error&&e.kind==="markdown"&&p&&e.content!==null&&k.jsx("div",{className:"fpreview-md",children:k.jsx(Cl,{text:e.content})}),!e.loading&&!e.error&&x&&e.highlightedHtml&&k.jsx("div",{className:"fpreview-highlighted",dangerouslySetInnerHTML:{__html:e.highlightedHtml}}),!e.loading&&!e.error&&x&&!e.highlightedHtml&&e.content!==null&&k.jsx("pre",{className:"fpreview-code",children:e.content})]})]})})}function yE({sessionId:e,onClose:t}){var X;const[n,i]=I.useState([]),[a,s]=I.useState(""),[o,c]=I.useState(!0),[f,h]=I.useState(null),[m,p]=I.useState(null),[x,w]=I.useState(!1),E=Oe(V=>V.sessions),N=Oe(V=>V.setSessions),A=(X=E.find(V=>V.sessionId===e))==null?void 0:X.cwd,z=I.useCallback(async()=>{c(!0),h(null);try{const V=await ot.tree(e);i(V.entries),s(V.cwd)}catch(V){h(V.message)}finally{c(!1)}},[e]);I.useEffect(()=>{z()},[z]);const R=I.useCallback(async V=>{const O=mE(V.name),G=O!=="image"&&O!=="pdf";if(p({path:V.path,name:V.name,content:null,highlightedHtml:null,kind:O,loading:G,error:null}),G)try{const te=ot.previewUrl(e,V.path),re=await fetch(te,{credentials:"same-origin"});if(!re.ok){const ne=await re.text();throw new Error(ne||`HTTP ${re.status}`)}const H=await re.text();p(ne=>ne&&ne.path===V.path?{...ne,content:H,loading:!1}:ne);const he=gE(V.name);if(he){const ne=await rh(H,he);ne&&p(Te=>Te&&Te.path===V.path?{...Te,highlightedHtml:ne}:Te)}}catch(te){p(re=>re&&re.path===V.path?{...re,error:te.message,loading:!1}:re)}},[e]),_=I.useCallback(()=>p(null),[]);return k.jsxs("div",{className:"ftree-panel",children:[k.jsxs("div",{className:"ftree-header",children:[k.jsx("span",{className:"ftree-title",title:a,children:a?a.split("/").pop():"Files"}),k.jsx("button",{className:"ftree-refresh",onClick:()=>w(!0),title:"Change working directory","aria-label":"Change working directory",children:k.jsx(R4,{size:14})}),k.jsx("button",{className:"ftree-refresh",onClick:z,title:"Refresh file tree","aria-label":"Refresh file tree",children:k.jsx(fv,{size:14})}),t&&k.jsx("button",{className:"ftree-close",onClick:t,title:"Close file tree","aria-label":"Close file tree",children:k.jsx(M4,{size:15})})]}),a&&k.jsx("div",{className:"ftree-cwd",title:a,children:a}),k.jsxs("div",{className:"ftree-list",children:[o&&k.jsx("div",{className:"ftree-loading",children:"Loading…"}),f&&k.jsxs("div",{className:"ftree-error",children:[f,k.jsx("button",{className:"ftree-repoint",onClick:()=>w(!0),children:"Change folder…"})]}),!o&&!f&&n.length===0&&k.jsx("div",{className:"ftree-empty",children:"No files"}),!o&&!f&&n.map(V=>k.jsx(Zg,{entry:V,sessionId:e,depth:0,onPreview:R},V.path))]}),m&&k.jsx(vE,{preview:m,sessionId:e,onClose:_}),x&&k.jsx(cE,{sessionId:e,currentCwd:a||A,onChanged:V=>{N(E.map(O=>O.sessionId===e?{...O,cwd:V}:O)),z()},onClose:()=>w(!1)})]})}function e3({ariaLabel:e,value:t,options:n,onChange:i}){const[a,s]=I.useState(!1),[o,c]=I.useState(0),f=I.useRef(null),h=n.find(x=>x.value===t);I.useEffect(()=>{if(!a)return;const x=w=>{f.current&&!f.current.contains(w.target)&&s(!1)};return document.addEventListener("mousedown",x),()=>document.removeEventListener("mousedown",x)},[a]),I.useEffect(()=>{if(a){const x=n.findIndex(w=>w.value===t);c(x>=0?x:0)}},[a,n,t]);const m=x=>{i(x),s(!1)},p=x=>{if(!a){(x.key==="Enter"||x.key===" "||x.key==="ArrowDown")&&(x.preventDefault(),s(!0));return}if(x.key==="Escape")s(!1);else if(x.key==="ArrowDown")x.preventDefault(),c(w=>Math.min(w+1,n.length-1));else if(x.key==="ArrowUp")x.preventDefault(),c(w=>Math.max(w-1,0));else if(x.key==="Enter"){x.preventDefault();const w=n[o];w&&m(w.value)}};return k.jsxs("div",{className:"dd",ref:f,children:[k.jsxs("button",{type:"button",className:`dd-trigger ${a?"is-open":""}`,"aria-haspopup":"listbox","aria-expanded":a,onClick:()=>s(x=>!x),onKeyDown:p,"aria-label":e,children:[k.jsx("span",{className:"dd-value",children:(h==null?void 0:h.label)??t??"Select…"}),k.jsx(A4,{size:13,className:"dd-chevron"})]}),a&&k.jsx("div",{className:"dd-panel",role:"listbox",children:n.map((x,w)=>k.jsxs("button",{type:"button",role:"option","aria-selected":x.value===t,className:`dd-option ${w===o?"is-active":""} ${x.value===t?"is-selected":""}`,onMouseEnter:()=>c(w),onClick:()=>m(x.value),children:[k.jsx("span",{className:"dd-check",children:x.value===t&&k.jsx(ev,{size:15})}),k.jsx("span",{className:"dd-option-label",children:x.label}),x.hint&&k.jsx("span",{className:"dd-option-hint",children:x.hint})]},x.value))})]})}function t3({value:e,onChange:t}){const n=Oe(i=>i.models);return k.jsx(e3,{ariaLabel:"Model",value:e,onChange:t,options:n.map(i=>({value:i.modelId,label:i.modelName,hint:`${i.rateMultiplier}x`}))})}function n3({value:e,onChange:t}){const n=Oe(s=>s.modes),i=Oe(s=>s.agents),a=n.length>0?n:i;return k.jsx(e3,{ariaLabel:"Agent",value:e,onChange:t,options:a.map(s=>({value:s.id,label:s.name}))})}const $n=18,of=2.5,uf=($n-of)/2,t4=2*Math.PI*uf;function xE(e){return e>85?"var(--aurora-red)":e>60?"var(--aurora-orange)":"var(--frost)"}const n4=new Intl.NumberFormat;function wE({onCompact:e}){var N;const t=Oe(A=>A.observability.contextUsagePercentage),n=Oe(A=>A.observability.compacting),i=Oe(A=>A.observability.turnStatus),a=Oe(A=>A.activeId),s=Oe(A=>A.currentModelId),o=Oe(A=>A.models),[c,f]=I.useState(!1),h=I.useRef(null);I.useEffect(()=>{if(!c)return;const A=R=>{h.current&&!h.current.contains(R.target)&&f(!1)},z=R=>{R.key==="Escape"&&f(!1)};return document.addEventListener("mousedown",A),document.addEventListener("keydown",z),()=>{document.removeEventListener("mousedown",A),document.removeEventListener("keydown",z)}},[c]);const m=Math.max(0,Math.min(100,t)),p=xE(m),x=m/100*t4,w=(N=o.find(A=>A.modelId===s))==null?void 0:N.contextWindowTokens,E=w?Math.round(m/100*w):void 0;return k.jsxs("div",{className:"ctx",ref:h,children:[k.jsx("button",{type:"button",className:"ctx-btn",onClick:()=>f(A=>!A),"aria-haspopup":"dialog","aria-expanded":c,"aria-label":`Context ${m.toFixed(0)}% used`,title:`Context ${m.toFixed(0)}% used`,children:k.jsx("svg",{width:$n,height:$n,viewBox:`0 0 ${$n} ${$n}`,"aria-hidden":!0,children:k.jsxs("g",{transform:`rotate(-90 ${$n/2} ${$n/2})`,children:[k.jsx("circle",{cx:$n/2,cy:$n/2,r:uf,fill:"none",stroke:"var(--n2)",strokeWidth:of}),k.jsx("circle",{cx:$n/2,cy:$n/2,r:uf,fill:"none",stroke:p,strokeWidth:of,strokeLinecap:"round",strokeDasharray:`${x} ${t4-x}`})]})})}),c&&k.jsxs("div",{className:"ctx-pop",role:"dialog","aria-label":"Context usage",children:[k.jsxs("div",{className:"ctx-pop-head",children:[k.jsx("span",{className:"ctx-pop-title",children:"Context used"}),k.jsxs("span",{className:"ctx-pop-pct",style:{color:p},children:[m.toFixed(1),"%"]})]}),k.jsx("div",{className:"ctx-pop-bar",children:k.jsx("span",{className:"ctx-pop-bar-fill",style:{width:`${m}%`,background:p}})}),w?k.jsxs("dl",{className:"ctx-pop-rows",children:[k.jsxs("div",{className:"ctx-pop-row",children:[k.jsx("dt",{children:"Used"}),k.jsxs("dd",{children:[n4.format(E??0)," tokens"]})]}),k.jsxs("div",{className:"ctx-pop-row",children:[k.jsx("dt",{children:"Window"}),k.jsxs("dd",{children:[n4.format(w)," tokens"]})]})]}):k.jsx("p",{className:"ctx-pop-note",children:"Token counts need a selected model’s window size."}),k.jsx("button",{type:"button",className:"ctx-pop-compact",disabled:!a||n||i!=="idle",onClick:()=>{f(!1),e()},children:n?"Compacting…":"Compact conversation"})]})]})}const r4=new Set(["image/png","image/jpeg","image/gif","image/webp","image/svg+xml"]);function kE({sessionId:e,onSend:t,onCancel:n,onCompact:i,onChangeModel:a,onChangeAgent:s,connStatus:o}){const[c,f]=I.useState(""),[h,m]=I.useState([]),[p,x]=I.useState(!1),[w,E]=I.useState(null),N=Oe(J=>J.observability.turnStatus),A=Oe(J=>J.observability.compacting),z=Oe(J=>J.currentModeId),R=Oe(J=>J.currentModelId),_=N==="running",X=N==="cancelling",V=o==="connected",O=I.useRef(null),G=I.useRef(null),te=J=>new Promise((M,F)=>{const K=new FileReader;K.onload=()=>M(K.result.split(",")[1]??""),K.onerror=()=>F(new Error("Failed to read file")),K.readAsDataURL(J)}),re=I.useCallback(()=>{const J=G.current;J&&(J.style.height="auto",J.style.height=`${Math.min(J.scrollHeight,200)}px`)},[]);I.useEffect(()=>{re()},[c,re]);const H=I.useCallback(J=>{const M=J.map(F=>{const K=r4.has(F.type);return{id:`att-${Date.now()}-${Math.random().toString(36).slice(2,8)}`,file:F,isImage:K,previewUrl:K?URL.createObjectURL(F):void 0}});m(F=>[...F,...M])},[]),he=async(J,M,F)=>{const K=[];J.length>0&&K.push({type:"text",text:vo+J.map(j=>j.path).join(", ")+`
|
|
349
|
+
`});for(let j=0;j<J.length;j++){const Z=J[j],xe=M[j];if(Z){if(Z.kind==="image"&&xe)try{const ke=await te(xe.file);K.push({type:"image",data:ke,mimeType:xe.file.type})}catch{}else if(Z.kind==="text"&&xe)try{const ke=await xe.file.text();K.push({type:"text",text:`[File: ${Z.path}]
|
|
350
|
+
\`\`\`
|
|
351
|
+
${ke}
|
|
352
|
+
\`\`\``})}catch{}}}return F&&K.push({type:"text",text:F}),K},ne=async()=>{const J=c.trim();if(!J&&h.length===0||_||X||A||!V||p)return;let M=[];const F=h;if(F.length>0){if(!e){E("No active session to upload to.");return}x(!0),E(null);try{M=(await ot.uploadFiles(e,F.map(Z=>Z.file))).files}catch(j){E(j.message),x(!1);return}x(!1)}const K=await he(M,F,J);K.length!==0&&(t(K),f(""),F.forEach(j=>j.previewUrl&&URL.revokeObjectURL(j.previewUrl)),m([]),requestAnimationFrame(()=>{G.current&&(G.current.style.height="auto")}))},Te=J=>{J.key==="Enter"&&!J.shiftKey&&(J.preventDefault(),ne())},ve=I.useCallback(J=>{var K;const M=(K=J.clipboardData)==null?void 0:K.items;if(!M)return;const F=[];for(const j of Array.from(M))if(j.kind==="file"&&r4.has(j.type)){const Z=j.getAsFile();Z&&F.push(Z)}F.length>0&&(J.preventDefault(),H(F))},[H]),ie=J=>{J.target.files&&H(Array.from(J.target.files)),J.target.value=""},Q=J=>{m(M=>{const F=M.find(K=>K.id===J);return F!=null&&F.previewUrl&&URL.revokeObjectURL(F.previewUrl),M.filter(K=>K.id!==J)})};I.useEffect(()=>()=>{m(J=>(J.forEach(M=>M.previewUrl&&URL.revokeObjectURL(M.previewUrl)),J))},[]);const Ee=o==="closed"?"Offline - reconnecting when possible":o==="reconnecting"?"Reconnecting…":o==="resyncing"?"Resyncing…":V?p?"Uploading…":X?"Stopping…":A?"Compacting conversation…":_?"Casper is working…":"Ask Casper to build something…":"Connecting…",oe=(c.trim()||h.length>0)&&!_&&!X&&!A&&!p&&V;return k.jsxs("div",{className:"composer",children:[w&&k.jsx("div",{className:"composer-error",children:w}),h.length>0&&k.jsx("div",{className:"composer-attachments",children:h.map(J=>k.jsxs("div",{className:"composer-att",children:[J.isImage&&J.previewUrl?k.jsx("img",{src:J.previewUrl,alt:J.file.name,className:"composer-att-img"}):k.jsxs("div",{className:"composer-att-file",title:J.file.name,children:[k.jsx("span",{className:"composer-att-file-icon",children:"📄"}),k.jsx("span",{className:"composer-att-file-name",children:J.file.name})]}),k.jsx("button",{className:"composer-att-remove",onClick:()=>Q(J.id),"aria-label":`Remove ${J.file.name}`,children:"×"})]},J.id))}),k.jsxs("div",{className:"composer-box",children:[k.jsx("textarea",{ref:G,className:"composer-input",value:c,onChange:J=>f(J.target.value),onKeyDown:Te,onPaste:ve,placeholder:Ee,rows:1}),k.jsxs("div",{className:"composer-actions",children:[k.jsx("button",{className:"composer-plus",onClick:()=>{var J;return(J=O.current)==null?void 0:J.click()},disabled:!V||p,title:"Add photos & files","aria-label":"Add photos and files",children:k.jsx(j4,{size:18})}),k.jsxs("div",{className:"composer-actions-right",children:[k.jsx(wE,{onCompact:i}),k.jsx(n3,{value:z,onChange:s}),k.jsx(t3,{value:R,onChange:a}),_?k.jsx("button",{className:"composer-btn composer-stop",onClick:n,title:"Stop","aria-label":"Stop",children:k.jsx(om,{size:15})}):X?k.jsx("button",{className:"composer-btn composer-stop",disabled:!0,title:"Stopping…","aria-label":"Stopping",children:k.jsx(om,{size:15})}):k.jsx("button",{className:"composer-btn composer-send",onClick:ne,disabled:!oe,title:p?"Uploading…":"Send","aria-label":p?"Uploading":"Send",children:p?k.jsx(ni,{size:15}):k.jsx(nv,{size:17})})]})]})]}),k.jsx("input",{ref:O,type:"file",multiple:!0,onChange:ie,className:"composer-file-input"})]})}const bE={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 SE({status:e}){const{cls:t,label:n}=bE[e];return k.jsxs("span",{className:`conndot conndot-${t}`,children:[k.jsx("span",{className:"conndot-blip"}),k.jsx("span",{className:"conndot-label",children:n})]})}function CE({hasActive:e,loadingSessionId:t,connStatus:n,creating:i,createError:a,onRetryCreate:s,onDismissError:o,onBack:c,onSend:f,onRetry:h,onRetryTurn:m,onCancel:p,onNew:x,onChangeModel:w,onChangeAgent:E,onCompact:N}){const A=Oe(O=>{var G;return(G=O.sessions.find(te=>te.sessionId===O.activeId))==null?void 0:G.title}),z=Oe(O=>O.activeId),R=Oe(O=>O.sessionNotice),_=Oe(O=>O.dismissSessionNotice),[X,V]=I.useState(!1);return t?k.jsxs("main",{className:"chatpane",children:[k.jsxs("header",{className:"chat-head",children:[k.jsx("button",{className:"backbtn",onClick:c,"aria-label":"Back to sessions",children:"‹"}),k.jsx("span",{className:"chat-title",children:"Opening session…"})]}),k.jsx("div",{className:"chat-blank",children:k.jsx(ni,{size:48,className:"chat-spinner"})})]}):e?i?k.jsxs("main",{className:"chatpane",children:[k.jsx("header",{className:"chat-head",children:k.jsx("span",{className:"chat-title",children:"New session"})}),k.jsxs("div",{className:"chat-blank",children:[k.jsx(ni,{size:32,className:"chat-spinner"}),k.jsx("p",{className:"chat-blank-title",children:"Starting session"}),k.jsx("p",{className:"chat-blank-sub",children:"Spinning up Kiro and connecting. This can take a few seconds."})]})]}):a?k.jsxs("main",{className:"chatpane",children:[k.jsxs("header",{className:"chat-head",children:[k.jsx("button",{className:"backbtn",onClick:c,"aria-label":"Back to sessions",children:"‹"}),k.jsx("span",{className:"chat-title",children:"New session"})]}),k.jsxs("div",{className:"chat-blank",children:[k.jsx("p",{className:"chat-blank-title",children:"Couldn't start the session"}),k.jsx("p",{className:"chat-blank-sub",children:a}),k.jsxs("div",{className:"chat-error-actions",children:[k.jsx("button",{className:"btn-primary",onClick:s,children:"Try again"}),k.jsx("button",{className:"btn-ghost",onClick:o,children:"Back to sessions"})]})]})]}):k.jsxs("main",{className:`chatpane chatpane-split ${X?"has-tree":""}`,children:[k.jsxs("div",{className:"chat-col",children:[k.jsxs("header",{className:"chat-head",children:[k.jsx("button",{className:"backbtn",onClick:c,"aria-label":"Back to sessions",children:"‹"}),k.jsx("span",{className:"chat-title",title:A,children:A??"Session"}),k.jsx(SE,{status:n}),k.jsx("button",{className:`ftree-toggle ${X?"is-active":""}`,onClick:()=>V(O=>!O),title:"Toggle file tree","aria-label":"Toggle file tree","aria-pressed":X,children:k.jsx(hv,{size:18})})]}),k.jsx("div",{className:"chat-body",children:k.jsx(sE,{onRetry:h,onRetryTurn:m})}),k.jsxs("div",{className:"composer-wrap",children:[R&&k.jsxs("div",{className:"notice-banner",role:"alert",children:[k.jsx("span",{className:"notice-icon","aria-hidden":!0,children:"⚠"}),k.jsxs("div",{className:"notice-text",children:[k.jsx("p",{className:"notice-title",children:R.title}),R.fix&&k.jsx("p",{className:"notice-sub",children:R.fix})]}),k.jsx("button",{className:"notice-x",onClick:_,"aria-label":"Dismiss",children:"×"})]}),k.jsx(kE,{sessionId:z,onSend:f,onCancel:p,onCompact:N,onChangeModel:w,onChangeAgent:E,connStatus:n})]})]}),z&&k.jsx("aside",{className:`ftree-aside ${X?"is-open":""}`,children:X&&k.jsx(yE,{sessionId:z,onClose:()=>V(!1)})}),z&&X&&k.jsx("div",{className:"ftree-backdrop",onClick:()=>V(!1),"aria-hidden":!0})]}):k.jsx("main",{className:"chatpane",children:k.jsxs("div",{className:"chat-blank",children:[k.jsx("p",{className:"chat-blank-title",children:"Pick a session"}),k.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."}),k.jsx("button",{className:"btn-primary",onClick:x,children:"New session"})]})})}function EE({onCreate:e,onClose:t}){var x;const n=Oe(w=>w.models),i=Oe(w=>w.defaultAgentId),[a,s]=I.useState(""),[o,c]=I.useState(),[f,h]=I.useState(),m=o??i,p=f??((x=n.find(w=>w.isDefault))==null?void 0:x.modelId)??"auto";return k.jsx("div",{className:"sheet-backdrop",onClick:t,children:k.jsxs("div",{className:"sheet",onClick:w=>w.stopPropagation(),children:[k.jsx("div",{className:"sheet-handle"}),k.jsx("h2",{className:"sheet-title",children:"New session"}),k.jsx(Jg,{value:a,onChange:s}),k.jsx(n3,{value:m,onChange:c}),k.jsx(t3,{value:p,onChange:h}),k.jsxs("div",{className:"sheet-actions",children:[k.jsx("button",{className:"btn-ghost",onClick:t,children:"Cancel"}),k.jsx("button",{className:"btn-primary",onClick:()=>e({cwd:a.trim(),agentId:m,modelId:p}),children:"Start session"})]})]})})}function TE({onReady:e}){const[t,n]=I.useState(""),[i,a]=I.useState(null),[s,o]=I.useState(!1),c=async()=>{o(!0),a(null);try{await X7(t.trim()),e()}catch(f){a(f.message)}finally{o(!1)}};return k.jsxs("div",{className:"gate",children:[k.jsx("img",{className:"gate-logo",src:"/logo.svg",alt:""}),k.jsx("h1",{className:"gate-title",children:"Casper"}),k.jsx("p",{className:"gate-sub",children:"Enter your access token to continue."}),k.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&&k.jsx("p",{className:"gate-error",children:i}),k.jsx("button",{className:"btn-primary gate-btn",onClick:c,disabled:s,children:s?"Checking…":"Continue"}),k.jsxs("p",{className:"gate-hint",children:["Don't have it? On the machine running Casper, run ",k.jsx("code",{children:"casper token"}),"."]})]})}const NE={prompt:"Message",cancel:"Stop",set_mode:"Agent change",set_model:"Model change",exec_command:"Command"};function zE(){const[e,t]=I.useState("checking");return I.useEffect(()=>{e==="checking"&&ot.listSessions().then(()=>t("ready")).catch(()=>t("gate"))},[e]),e==="checking"?k.jsx("div",{className:"app-splash"}):e==="gate"?k.jsx(TE,{onReady:()=>t("ready")}):k.jsx(j7,{children:k.jsxs(s7,{children:[k.jsxs(ba,{element:k.jsx(AE,{onLock:()=>t("gate")}),children:[k.jsx(ba,{index:!0,element:null}),k.jsx(ba,{path:"sessions/:sessionId",element:null})]}),k.jsx(ba,{path:"*",element:k.jsx(l7,{to:"/",replace:!0})})]})})}function AE({onLock:e}){var j;const t=Oe(),n=pf(),i=((j=U6(Z7))==null?void 0:j.params.sessionId)??null,[a,s]=I.useState(!1),[o,c]=I.useState("closed"),[f,h]=I.useState(!1),[m,p]=I.useState(null),x=I.useRef(null),w=I.useRef(null),E=I.useRef(null),N=I.useRef(0),A=I.useCallback(()=>{ot.listSessions().then(Z=>t.setSessions(Z.sessions)).catch(()=>{})},[t]);I.useEffect(()=>{ot.models().then(Z=>t.setModels(Z.models)).catch(()=>{}),ot.agents().then(Z=>t.setAgents(Z.agents,Z.defaultAgentId)).catch(()=>{}),A()},[]);const z=I.useCallback(()=>{var Z;(Z=w.current)==null||Z.close(),w.current=null},[]),R=I.useCallback(()=>{z(),t.clearActive(),e()},[z,e,t]),_=I.useCallback(async Z=>{if(t.activeId===Z)return;z(),c("connecting"),Oe.getState().setLoadingSession(Z);let xe;try{xe=await ot.getSession(Z)}catch(be){c("closed"),Oe.getState().setLoadingSession(null),console.error("open session failed:",be),n("/",{replace:!0});return}t.loadDetail(xe);const ke=new J7(Z,{onEvent:be=>{Oe.getState().applyEvent(be),be.payload.kind==="turn_ended"&&setTimeout(A,1200)},onStatus:c,onResync:async()=>{var Pe;const be=await ot.getSession(Z);Oe.getState().loadDetail(be),(Pe=w.current)==null||Pe.reset(be.head)},onAck:(be,Pe,_e)=>{if(Pe)return;const it=_e??"The server rejected the request.";if(be==="prompt"){E.current&&Oe.getState().markPendingFailed(E.current,it);return}console.error(`${NE[be]??be} rejected:`,it)},onUnauthorized:R,onServerError:be=>{console.error("server error:",be)}},xe.head);w.current=ke,ke.connect()},[z,R,n,A,t]),X=I.useCallback(()=>n("/"),[n]),V=I.useCallback(Z=>{Z!==Oe.getState().activeId&&Oe.getState().setLoadingSession(Z)},[]),O=I.useCallback(Z=>{V(Z),n(z4(Z))},[V,n]),G=I.useRef(void 0);I.useEffect(()=>{G.current!==i&&(G.current=i,i?_(i):(z(),t.clearActive(),A()))},[i,_,z,A,t]);const te=I.useCallback(async Z=>{s(!1),z(),c("connecting"),p(null),h(!0),x.current=Z;try{const xe=await ot.createSession({cwd:Z.cwd||void 0,agentId:Z.agentId,modelId:Z.modelId});A(),O(xe.summary.sessionId)}catch(xe){c("closed"),p(xe instanceof Error?xe.message:"Failed to create session")}finally{h(!1)}},[z,O,A]),re=I.useCallback(()=>{x.current&&te(x.current)},[te]),H=I.useCallback(()=>{p(null),X()},[X]),he=I.useCallback(async Z=>{try{await ot.deleteSession(Z)}catch{console.error("delete session failed"),A();return}t.activeId===Z?X():A()},[X,A,t]),ne=I.useCallback(async(Z,xe)=>{Oe.setState(ke=>({sessions:ke.sessions.map(be=>be.sessionId===Z?{...be,title:xe}:be)})),await ot.renameSession(Z,xe).catch(()=>{console.error("rename session failed")}),A()},[A]),Te=I.useCallback((Z,xe)=>{var be;if(E.current=Z,!(((be=w.current)==null?void 0:be.prompt(xe))??!1)){const Pe=w.current?"Not connected to the server - reconnecting. Retry once the status dot is green.":"No active session socket.";Oe.getState().markPendingFailed(Z,Pe)}},[]),ve=I.useCallback(Z=>{const xe=`pending-${N.current++}`,ke=E4(Z.filter(_e=>_e.type==="text").map(_e=>_e.text).join(`
|
|
353
|
+
`)),be=Z.some(_e=>_e.type==="image"),Pe=ke||(be?"[image]":"[attachment]");Oe.getState().addPending(xe,Pe),Te(xe,Z)},[Te]),ie=I.useCallback((Z,xe)=>{Oe.setState(ke=>({pending:ke.pending.map(be=>be.id===Z?{...be,status:"sending",error:void 0}:be)})),Te(Z,[{type:"text",text:xe}])},[Te]),Q=I.useCallback(Z=>{ve([{type:"text",text:Z}])},[ve]),Ee=I.useCallback(()=>{var Z;(Z=w.current)==null||Z.cancel(),Oe.setState(xe=>xe.observability.turnStatus==="running"?{observability:{...xe.observability,turnStatus:"cancelling"}}:{})},[]),oe=I.useCallback(Z=>{var xe;(xe=w.current)==null||xe.setModel(Z),Oe.setState({currentModelId:Z})},[]),J=I.useCallback(Z=>{var xe;(xe=w.current)==null||xe.setMode(Z),Oe.setState(ke=>({currentModeId:Z,sessions:ke.activeId?ke.sessions.map(be=>be.sessionId===ke.activeId?{...be,agentId:Z}:be):ke.sessions}))},[]),M=I.useCallback(()=>{var Z;(Z=w.current)==null||Z.execCommand("compact"),Oe.setState(xe=>({observability:{...xe.observability,compacting:!0}})),setTimeout(()=>{Oe.setState(xe=>xe.observability.compacting?{observability:{...xe.observability,compacting:!1}}:{})},12e4)},[]),F=I.useCallback(()=>{K7(),z(),t.clearActive(),n("/",{replace:!0}),e()},[z,e,t]),K=t.activeId!==null||t.loadingSessionId!==null||f||m!==null;return k.jsxs("div",{className:`layout ${K?"has-active":""}`,children:[k.jsx(Tv,{sessions:t.sessions,activeId:t.activeId,loadingId:t.loadingSessionId,onOpen:V,onNew:()=>s(!0),onDelete:he,onRename:ne,onLock:F}),k.jsx(CE,{hasActive:K,loadingSessionId:t.loadingSessionId,connStatus:o,creating:f,createError:m,onRetryCreate:re,onDismissError:H,onBack:X,onSend:ve,onRetry:ie,onRetryTurn:Q,onCancel:Ee,onNew:()=>s(!0),onChangeModel:oe,onChangeAgent:J,onCompact:M}),a&&k.jsx(EE,{onCreate:te,onClose:()=>s(!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(()=>{})}s6.createRoot(document.getElementById("root")).render(k.jsx(ka.StrictMode,{children:k.jsx(zE,{})}));export{DC as _,cf as g,jE as k};
|