@wildo-ai/application-creation-workbench 1.1.5
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/LICENSE +34 -0
- package/bin/companion-proxy.d.mts +10 -0
- package/bin/companion-proxy.mjs +92 -0
- package/bin/wildo-workbench-serve.mjs +76 -0
- package/bin/workbench-server.d.mts +9 -0
- package/bin/workbench-server.mjs +225 -0
- package/dist/.vite/manifest.json +4671 -0
- package/dist/assets/ApplicationLevel_Toolbar-BddtfgIS.js +1 -0
- package/dist/assets/ChartEmptyState-lsMuirLh.js +1 -0
- package/dist/assets/ChartView-BTIzMUoU.js +56 -0
- package/dist/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
- package/dist/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
- package/dist/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
- package/dist/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
- package/dist/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
- package/dist/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
- package/dist/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
- package/dist/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
- package/dist/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
- package/dist/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
- package/dist/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
- package/dist/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
- package/dist/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
- package/dist/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
- package/dist/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
- package/dist/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
- package/dist/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
- package/dist/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
- package/dist/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
- package/dist/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
- package/dist/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
- package/dist/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
- package/dist/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
- package/dist/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
- package/dist/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
- package/dist/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
- package/dist/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
- package/dist/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
- package/dist/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
- package/dist/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
- package/dist/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
- package/dist/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
- package/dist/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
- package/dist/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
- package/dist/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
- package/dist/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
- package/dist/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
- package/dist/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
- package/dist/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
- package/dist/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
- package/dist/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
- package/dist/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
- package/dist/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
- package/dist/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
- package/dist/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
- package/dist/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
- package/dist/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
- package/dist/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
- package/dist/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
- package/dist/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
- package/dist/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
- package/dist/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
- package/dist/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
- package/dist/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
- package/dist/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
- package/dist/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
- package/dist/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
- package/dist/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
- package/dist/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
- package/dist/assets/_basePickBy-Br6YuOAk.js +1 -0
- package/dist/assets/_baseUniq-K10bxMjs.js +1 -0
- package/dist/assets/abap-BdImnpbu.js +1 -0
- package/dist/assets/actionscript-3-CoDkCxhg.js +1 -0
- package/dist/assets/ada-bCR0ucgS.js +1 -0
- package/dist/assets/andromeeda-C4gqWexZ.js +1 -0
- package/dist/assets/angular-html-BibvgTKn.js +1 -0
- package/dist/assets/angular-ts-DSBE9URv.js +1 -0
- package/dist/assets/apache-lxgVPsR9.js +1 -0
- package/dist/assets/apex-D8_7TLub.js +1 -0
- package/dist/assets/apl-B4CMkyY2.js +1 -0
- package/dist/assets/apl-C1AdydMG.js +1 -0
- package/dist/assets/applescript-Co6uUVPk.js +1 -0
- package/dist/assets/ara-BRHolxvo.js +1 -0
- package/dist/assets/arc-hTvUi_Jd.js +1 -0
- package/dist/assets/architectureDiagram-VXUJARFQ-DTNeQb21.js +36 -0
- package/dist/assets/asciiarmor-Df11BRmG.js +1 -0
- package/dist/assets/asciidoc-Dv7Oe6Be.js +1 -0
- package/dist/assets/asm-D_Q5rh1f.js +1 -0
- package/dist/assets/asn1-EdZsLKOL.js +1 -0
- package/dist/assets/asterisk-B-8jnY81.js +1 -0
- package/dist/assets/astro-BfIczeRD.js +1 -0
- package/dist/assets/aurora-x-D-2ljcwZ.js +1 -0
- package/dist/assets/awk-DMzUqQB5.js +1 -0
- package/dist/assets/ayu-dark-CMjwMIkn.js +1 -0
- package/dist/assets/ayu-light-C47S-Tmv.js +1 -0
- package/dist/assets/ayu-mirage-CjoLj4QM.js +1 -0
- package/dist/assets/ballerina-BFfxhgS-.js +1 -0
- package/dist/assets/bat-BkioyH1T.js +1 -0
- package/dist/assets/beancount-k_qm7-4y.js +1 -0
- package/dist/assets/berry-uYugtg8r.js +1 -0
- package/dist/assets/bibtex-CHM0blh-.js +1 -0
- package/dist/assets/bicep-Bmn6On1c.js +1 -0
- package/dist/assets/blade-rVcPaKug.js +1 -0
- package/dist/assets/blockDiagram-VD42YOAC-CMGydNsH.js +122 -0
- package/dist/assets/brainfuck-C4LP7Hcl.js +1 -0
- package/dist/assets/bsl-BO_Y6i37.js +1 -0
- package/dist/assets/c-C1AIvcHK.js +1 -0
- package/dist/assets/c3-VCDPK7BO.js +1 -0
- package/dist/assets/c4Diagram-YG6GDRKO-CTiIMIz5.js +10 -0
- package/dist/assets/cadence-Bv_4Rxtq.js +1 -0
- package/dist/assets/cairo-Cm-xO6tP.js +1 -0
- package/dist/assets/catppuccin-frappe-DFWUc33u.js +1 -0
- package/dist/assets/catppuccin-latte-C9dUb6Cb.js +1 -0
- package/dist/assets/catppuccin-macchiato-DQyhUUbL.js +1 -0
- package/dist/assets/catppuccin-mocha-D87Tk5Gz.js +1 -0
- package/dist/assets/channel-DlvOdQcG.js +1 -0
- package/dist/assets/chunk-4BX2VUAB-CBDMQNPS.js +1 -0
- package/dist/assets/chunk-55IACEB6-CEmaVN-l.js +1 -0
- package/dist/assets/chunk-B4BG7PRW-BuRJMfnQ.js +165 -0
- package/dist/assets/chunk-DI55MBZ5-DTEvZEyn.js +220 -0
- package/dist/assets/chunk-FMBD7UC4-CQL6IezS.js +15 -0
- package/dist/assets/chunk-QN33PNHL-DIt1i8tt.js +1 -0
- package/dist/assets/chunk-QZHKN3VN-C8CdhpgW.js +1 -0
- package/dist/assets/chunk-TZMSLE5B-2nOqyQPZ.js +1 -0
- package/dist/assets/clarity-D53aC0YG.js +1 -0
- package/dist/assets/classDiagram-2ON5EDUG-CJonpGbc.js +1 -0
- package/dist/assets/classDiagram-v2-WZHVMYZB-CJonpGbc.js +1 -0
- package/dist/assets/clike-B9uivgTg.js +1 -0
- package/dist/assets/clojure-BMjYHr_A.js +1 -0
- package/dist/assets/clojure-P80f7IUj.js +1 -0
- package/dist/assets/clone-B5BftoQk.js +1 -0
- package/dist/assets/cm6-editor-C1am2PUt.js +13 -0
- package/dist/assets/cmake-BQqOBYOt.js +1 -0
- package/dist/assets/cmake-D1j8_8rp.js +1 -0
- package/dist/assets/cobol-C7Z7w_7P.js +1 -0
- package/dist/assets/cobol-CWcv1MsR.js +1 -0
- package/dist/assets/code-block-IT6T5CEO-rvNI7Npg.js +3 -0
- package/dist/assets/codeowners-Bp6g37R7.js +1 -0
- package/dist/assets/codeql-DsOJ9woJ.js +1 -0
- package/dist/assets/coffee-EZ7qTA2h.js +1 -0
- package/dist/assets/coffeescript-S37ZYGWr.js +1 -0
- package/dist/assets/common-lisp-Cg-RD9OK.js +1 -0
- package/dist/assets/commonlisp-DBKNyK5s.js +1 -0
- package/dist/assets/context-CjDY9wk7.js +1 -0
- package/dist/assets/coq-DkFqJrB1.js +1 -0
- package/dist/assets/cose-bilkent-S5V4N54A-Bs72jpo-.js +1 -0
- package/dist/assets/cpp-Cw-Qy0wQ.js +1 -0
- package/dist/assets/crystal-B7GPGo2j.js +1 -0
- package/dist/assets/crystal-SjHAIU92.js +1 -0
- package/dist/assets/csharp-B4XBOl5S.js +1 -0
- package/dist/assets/css-2F-grhOV.js +1 -0
- package/dist/assets/css-BnMrqG3P.js +1 -0
- package/dist/assets/csv-fuZLfV_i.js +1 -0
- package/dist/assets/cue-D82EKSYY.js +1 -0
- package/dist/assets/cypher-COkxafJQ.js +1 -0
- package/dist/assets/cypher-C_CwsFkJ.js +1 -0
- package/dist/assets/cytoscape.esm-YEldwGKK.js +331 -0
- package/dist/assets/d-85-TOEBH.js +1 -0
- package/dist/assets/d-pRatUO7H.js +1 -0
- package/dist/assets/dagre-6UL2VRFP-e0N82ZeJ.js +4 -0
- package/dist/assets/dark-plus-C3mMm8J8.js +1 -0
- package/dist/assets/dart-CF10PKvl.js +1 -0
- package/dist/assets/dax-CEL-wOlO.js +1 -0
- package/dist/assets/defaultLocale-DX6XiGOO.js +1 -0
- package/dist/assets/desktop-BmXAJ9_W.js +1 -0
- package/dist/assets/diagram-PSM6KHXK-Wp6Xds16.js +24 -0
- package/dist/assets/diagram-QEK2KX5R-DrkkEGhC.js +43 -0
- package/dist/assets/diagram-S2PKOQOG-C3M-VMYn.js +24 -0
- package/dist/assets/diff-D97Zzqfu.js +1 -0
- package/dist/assets/diff-DbItnlRl.js +1 -0
- package/dist/assets/docker-BCahEMMT.js +1 -0
- package/dist/assets/dockerfile-BKs6k2Af.js +1 -0
- package/dist/assets/dotenv-Da5cRb03.js +1 -0
- package/dist/assets/dracula-BzJJZx-M.js +1 -0
- package/dist/assets/dracula-soft-BXkSAIEj.js +1 -0
- package/dist/assets/dream-maker-BtqSS_iP.js +1 -0
- package/dist/assets/dropbox-picker-BcRq4q-0.js +1 -0
- package/dist/assets/dtd-DF_7sFjM.js +1 -0
- package/dist/assets/dylan-DwRh75JA.js +1 -0
- package/dist/assets/ebnf-CDyGwa7X.js +1 -0
- package/dist/assets/ecl-Cabwm37j.js +1 -0
- package/dist/assets/edge-D9RNxeM6.js +1 -0
- package/dist/assets/eiffel-CnydiIhH.js +1 -0
- package/dist/assets/elixir-DY-rJNf_.js +1 -0
- package/dist/assets/elm-BpNGpWvw.js +1 -0
- package/dist/assets/elm-vLlmbW-K.js +1 -0
- package/dist/assets/emacs-lisp-C9XAeP06.js +1 -0
- package/dist/assets/engine-compile-BvZd6IhL.js +152 -0
- package/dist/assets/erDiagram-Q2GNP2WA-Dg-rHIsN.js +60 -0
- package/dist/assets/erb-CCmIx0ZV.js +1 -0
- package/dist/assets/erlang-BNw1qcRV.js +1 -0
- package/dist/assets/erlang-DtoCRGpr.js +1 -0
- package/dist/assets/everforest-dark-BgDCqdQA.js +1 -0
- package/dist/assets/everforest-light-C8M2exoo.js +1 -0
- package/dist/assets/factor-kuTfRLto.js +1 -0
- package/dist/assets/fcl-Kvtd6kyn.js +1 -0
- package/dist/assets/fennel-BYunw83y.js +1 -0
- package/dist/assets/fish-BvzEVeQv.js +1 -0
- package/dist/assets/flowDiagram-NV44I4VS-BP-XXSqP.js +162 -0
- package/dist/assets/flows-actors-graph-runtime-C8pD81-m.js +1 -0
- package/dist/assets/fluent-C4IJs8-o.js +1 -0
- package/dist/assets/forth-Ffai-XNe.js +1 -0
- package/dist/assets/fortran-DYz_wnZ1.js +1 -0
- package/dist/assets/fortran-fixed-form-CkoXwp7k.js +1 -0
- package/dist/assets/fortran-free-form-BxgE0vQu.js +1 -0
- package/dist/assets/fsharp-pDgLt1ed.js +1 -0
- package/dist/assets/ganttDiagram-JELNMOA3-CroPqWYF.js +267 -0
- package/dist/assets/gas-Bneqetm1.js +1 -0
- package/dist/assets/gdresource-BOOCDP_w.js +1 -0
- package/dist/assets/gdscript-C5YyOfLZ.js +1 -0
- package/dist/assets/gdshader-DkwncUOv.js +1 -0
- package/dist/assets/genie-D0YGMca9.js +1 -0
- package/dist/assets/gherkin-DyxjwDmM.js +1 -0
- package/dist/assets/gherkin-heZmZLOM.js +1 -0
- package/dist/assets/git-commit-F4YmCXRG.js +1 -0
- package/dist/assets/git-rebase-CXlyqdRO.js +1 -0
- package/dist/assets/gitGraphDiagram-V2S2FVAM-DC9FCbno.js +65 -0
- package/dist/assets/github-dark-default-Cuk6v7N8.js +1 -0
- package/dist/assets/github-dark-dimmed-DH5Ifo-i.js +1 -0
- package/dist/assets/github-dark-high-contrast-E3gJ1_iC.js +1 -0
- package/dist/assets/github-dark-nz1Ug7wa.js +1 -0
- package/dist/assets/github-light-default-D7oLnXFd.js +1 -0
- package/dist/assets/github-light-hIqfNsk6.js +1 -0
- package/dist/assets/github-light-high-contrast-6z6OUpro.js +1 -0
- package/dist/assets/gleam-BspZqrRM.js +1 -0
- package/dist/assets/glimmer-js-4PGhN-7r.js +1 -0
- package/dist/assets/glimmer-ts-kVLhaHhe.js +1 -0
- package/dist/assets/glsl-CX9owe7H.js +1 -0
- package/dist/assets/gn-n2N0HUVH.js +1 -0
- package/dist/assets/gnuplot-DdkO51Og.js +1 -0
- package/dist/assets/go-By8Zikic.js +1 -0
- package/dist/assets/google-drive-picker-B7-UtQYR.js +1 -0
- package/dist/assets/graph-C0dMcX0W.js +1 -0
- package/dist/assets/graph-runtime-BZV40eAE.css +1 -0
- package/dist/assets/graph-runtime-CWiE-wtz.js +1 -0
- package/dist/assets/graphql-Ezmk7T_o.js +1 -0
- package/dist/assets/groovy-D9Dt4D0W.js +1 -0
- package/dist/assets/groovy-gcz8RCvz.js +1 -0
- package/dist/assets/gruvbox-dark-hard-CFHQjOhq.js +1 -0
- package/dist/assets/gruvbox-dark-medium-GsRaNv29.js +1 -0
- package/dist/assets/gruvbox-dark-soft-CVdnzihN.js +1 -0
- package/dist/assets/gruvbox-light-hard-CH1njM8p.js +1 -0
- package/dist/assets/gruvbox-light-medium-DRw_LuNl.js +1 -0
- package/dist/assets/gruvbox-light-soft-hJgmCMqR.js +1 -0
- package/dist/assets/hack-maT9pS_L.js +1 -0
- package/dist/assets/haml-BrME_4GE.js +1 -0
- package/dist/assets/handlebars-iR92xn-S.js +1 -0
- package/dist/assets/haskell-Cw1EW3IL.js +1 -0
- package/dist/assets/haskell-Df6bDoY_.js +1 -0
- package/dist/assets/haxe-CzTSHFRz.js +1 -0
- package/dist/assets/haxe-H-WmDvRZ.js +1 -0
- package/dist/assets/hcl-BWvSN4gD.js +1 -0
- package/dist/assets/hjson-D5-asLiD.js +1 -0
- package/dist/assets/hlsl-D3lLCCz7.js +1 -0
- package/dist/assets/horizon-BUw7H-hv.js +1 -0
- package/dist/assets/houston-DnULxvSX.js +1 -0
- package/dist/assets/html-CGdhS0W0.js +1 -0
- package/dist/assets/html-derivative-BEJpVzmk.js +1 -0
- package/dist/assets/http-Bb_wsZIK.js +1 -0
- package/dist/assets/http-DBlCnlav.js +1 -0
- package/dist/assets/hurl-Crl3N93z.js +1 -0
- package/dist/assets/hxml-Bvhsp5Yf.js +1 -0
- package/dist/assets/hy-DFXneXwc.js +1 -0
- package/dist/assets/idl-BEugSyMb.js +1 -0
- package/dist/assets/imba-DGztddWO.js +1 -0
- package/dist/assets/index-9s27iSag.js +13 -0
- package/dist/assets/index-B4dr2goB.js +1 -0
- package/dist/assets/index-BOiBO34F.js +1 -0
- package/dist/assets/index-BOxxilol.js +1 -0
- package/dist/assets/index-Be7Kt732.js +1 -0
- package/dist/assets/index-Bgs_pC_Y.js +1 -0
- package/dist/assets/index-BkvM_lMh.js +1 -0
- package/dist/assets/index-COFqdHy-.js +7 -0
- package/dist/assets/index-Cey0RnOC.js +2 -0
- package/dist/assets/index-Cl_eCn7w.js +1 -0
- package/dist/assets/index-Cn1WDMib.js +1 -0
- package/dist/assets/index-D2Lcurso.js +994 -0
- package/dist/assets/index-D5kqp6s0.js +1 -0
- package/dist/assets/index-D7UJLb5I.js +1 -0
- package/dist/assets/index-D9v8TSci.js +1 -0
- package/dist/assets/index-DKCAweKx.js +1 -0
- package/dist/assets/index-DPnXh7rr.js +6 -0
- package/dist/assets/index-DPuqBa_G.js +499 -0
- package/dist/assets/index-DZopo5F6.js +1 -0
- package/dist/assets/index-Df0eJHBm.js +6 -0
- package/dist/assets/index-DlJDBjRm.js +1 -0
- package/dist/assets/index-Dq0jp-Om.js +1 -0
- package/dist/assets/index-Dq_EnMVo.js +1 -0
- package/dist/assets/index-DrKP8dhg.js +1 -0
- package/dist/assets/index-DvFC4HED.js +1 -0
- package/dist/assets/index-ZpEoSVCX.js +1 -0
- package/dist/assets/index-e-4cSkrt.js +1 -0
- package/dist/assets/index-nHF1ekZC.css +1 -0
- package/dist/assets/index-t42UNDS6.js +3 -0
- package/dist/assets/index-wtSklh0n.js +367 -0
- package/dist/assets/index.es-OTtV-Qaj.js +11 -0
- package/dist/assets/infoDiagram-HS3SLOUP-BumgayY_.js +2 -0
- package/dist/assets/ini-BEwlwnbL.js +1 -0
- package/dist/assets/init-Gi6I4Gst.js +1 -0
- package/dist/assets/java-B1ZIgn8J.js +1 -0
- package/dist/assets/javascript-DB3RxkHZ.js +1 -0
- package/dist/assets/javascript-iXu5QeM3.js +1 -0
- package/dist/assets/jinja-CExX7mQY.js +1 -0
- package/dist/assets/jison-ByLJaaPa.js +1 -0
- package/dist/assets/journeyDiagram-XKPGCS4Q-C5l-W_D3.js +139 -0
- package/dist/assets/json-BHNwtY8x.js +1 -0
- package/dist/assets/json5-C9tS-k6U.js +1 -0
- package/dist/assets/jsonc-Des-eS-w.js +1 -0
- package/dist/assets/jsonl-DcaNXYhu.js +1 -0
- package/dist/assets/jsonnet-DFQXde-d.js +1 -0
- package/dist/assets/jssm-C2t-YnRu.js +1 -0
- package/dist/assets/jsx-g9-lgVsj.js +1 -0
- package/dist/assets/julia-Cp2WDBBU.js +1 -0
- package/dist/assets/julia-DuME0IfC.js +1 -0
- package/dist/assets/kanagawa-dragon-CkXjmgJE.js +1 -0
- package/dist/assets/kanagawa-lotus-CfQXZHmo.js +1 -0
- package/dist/assets/kanagawa-wave-DWedfzmr.js +1 -0
- package/dist/assets/kanban-definition-3W4ZIXB7-B__BbWoq.js +89 -0
- package/dist/assets/katex-mBojCVha.css +1 -0
- package/dist/assets/kdl-DV7GczEv.js +1 -0
- package/dist/assets/kotlin-sgMXoC0-.js +1 -0
- package/dist/assets/kusto-DZf3V79B.js +1 -0
- package/dist/assets/laserwave-DUszq2jm.js +1 -0
- package/dist/assets/latex-DGMBWnxU.js +1 -0
- package/dist/assets/layout-Ct3mCMS9.js +1 -0
- package/dist/assets/lean-BZvkOJ9d.js +1 -0
- package/dist/assets/less-DdoiPXMy.js +1 -0
- package/dist/assets/light-plus-B7mTdjB0.js +1 -0
- package/dist/assets/linear-Dz3rN3XM.js +1 -0
- package/dist/assets/liquid-Bgq501XT.js +1 -0
- package/dist/assets/livescript-BwQOo05w.js +1 -0
- package/dist/assets/llvm-BtvRca6l.js +1 -0
- package/dist/assets/log-2UxHyX5q.js +1 -0
- package/dist/assets/logo-BtOb2qkB.js +1 -0
- package/dist/assets/lua-Bs6SvAw9.js +1 -0
- package/dist/assets/lua-VAEuO923.js +1 -0
- package/dist/assets/luau-C-HG3fhB.js +1 -0
- package/dist/assets/make-CHLpvVh8.js +1 -0
- package/dist/assets/markdown-Dt3v3XWf.js +1 -0
- package/dist/assets/marko-CKEO3SBW.js +1 -0
- package/dist/assets/material-theme-D5KoaKCx.js +1 -0
- package/dist/assets/material-theme-darker-BfHTSMKl.js +1 -0
- package/dist/assets/material-theme-lighter-B0m2ddpp.js +1 -0
- package/dist/assets/material-theme-ocean-CyktbL80.js +1 -0
- package/dist/assets/material-theme-palenight-Csfq5Kiy.js +1 -0
- package/dist/assets/mathematica-DTrFuWx2.js +1 -0
- package/dist/assets/matlab-D7o27uSR.js +1 -0
- package/dist/assets/mbox-CNhZ1qSd.js +1 -0
- package/dist/assets/mdc-BCNxBr-G.js +1 -0
- package/dist/assets/mdx-Cmh6b_Ma.js +1 -0
- package/dist/assets/mermaid-VLURNSYL-C4UDY296.js +386 -0
- package/dist/assets/mermaid-mWjccvbQ.js +1 -0
- package/dist/assets/mermaid.core-CRNTw-K2.js +197 -0
- package/dist/assets/min-dark-CafNBF8u.js +1 -0
- package/dist/assets/min-light-CTRr51gU.js +1 -0
- package/dist/assets/mindmap-definition-VGOIOE7T-Dns6Jp-h.js +68 -0
- package/dist/assets/mipsasm-CKIfxQSi.js +1 -0
- package/dist/assets/mirc-CjQqDB4T.js +1 -0
- package/dist/assets/mllike-CXdrOF99.js +1 -0
- package/dist/assets/modelica-Dc1JOy9r.js +1 -0
- package/dist/assets/mojo-B93PlW-d.js +1 -0
- package/dist/assets/monokai-D4h5O-jR.js +1 -0
- package/dist/assets/moonbit-Ba13S78F.js +1 -0
- package/dist/assets/move-IF9eRakj.js +1 -0
- package/dist/assets/mscgen-BA5vi2Kp.js +1 -0
- package/dist/assets/mumps-BT43cFF4.js +1 -0
- package/dist/assets/narrat-DRg8JJMk.js +1 -0
- package/dist/assets/nextflow-BrzmwbiE.js +1 -0
- package/dist/assets/nginx-DMb6Hdes.js +1 -0
- package/dist/assets/nginx-DdIZxoE0.js +1 -0
- package/dist/assets/night-owl-C39BiMTA.js +1 -0
- package/dist/assets/night-owl-light-CMTm3GFP.js +1 -0
- package/dist/assets/nim-DIRWUau3.js +1 -0
- package/dist/assets/nix-CwoSXNpI.js +1 -0
- package/dist/assets/nord-Ddv68eIx.js +1 -0
- package/dist/assets/nsis-LdVXkNf5.js +1 -0
- package/dist/assets/ntriples-BfvgReVJ.js +1 -0
- package/dist/assets/nushell-C-sUppwS.js +1 -0
- package/dist/assets/objective-c-DXmwc3jG.js +1 -0
- package/dist/assets/objective-cpp-CLxacb5B.js +1 -0
- package/dist/assets/ocaml-C0hk2d4L.js +1 -0
- package/dist/assets/octave-Ck1zUtKM.js +1 -0
- package/dist/assets/odin-BBf5iR-q.js +1 -0
- package/dist/assets/one-dark-pro-D285M-o5.js +1 -0
- package/dist/assets/one-light-C3Wv6jpd.js +1 -0
- package/dist/assets/onedrive-picker-ClfxORZE.js +1 -0
- package/dist/assets/openscad-C4EeE6gA.js +1 -0
- package/dist/assets/ordinal-Cboi1Yqb.js +1 -0
- package/dist/assets/oz-BzwKVEFT.js +1 -0
- package/dist/assets/pascal--L3eBynH.js +1 -0
- package/dist/assets/pascal-D93ZcfNL.js +1 -0
- package/dist/assets/pdf-viewer-BSApg-uG.js +55 -0
- package/dist/assets/pdf-viewer-worker-jo3vTKcN.js +2 -0
- package/dist/assets/pdf-viewer-worker.vite-B-r9dkPE.js +1 -0
- package/dist/assets/pdf.worker.min-C2fI36uq.js +53 -0
- package/dist/assets/perl-CdXCOZ3F.js +1 -0
- package/dist/assets/perl-D3Vg76T_.js +1 -0
- package/dist/assets/php-DT7n7RcQ.js +1 -0
- package/dist/assets/pieDiagram-ADFJNKIX-B8Jsapz3.js +30 -0
- package/dist/assets/pig-CevX1Tat.js +1 -0
- package/dist/assets/pkl-u5AG7uiY.js +1 -0
- package/dist/assets/plastic-3e1v2bzS.js +1 -0
- package/dist/assets/plsql-ChMvpjG-.js +1 -0
- package/dist/assets/po-BTJTHyun.js +1 -0
- package/dist/assets/poimandres-CS3Unz2-.js +1 -0
- package/dist/assets/polar-C0HS_06l.js +1 -0
- package/dist/assets/postcss-CXtECtnM.js +1 -0
- package/dist/assets/powerquery-CEu0bR-o.js +1 -0
- package/dist/assets/powershell-CFHJl5sT.js +1 -0
- package/dist/assets/powershell-DBcoQAf-.js +1 -0
- package/dist/assets/prisma-Dd19v3D-.js +1 -0
- package/dist/assets/prolog-CbFg5uaA.js +1 -0
- package/dist/assets/properties-C78fOPTZ.js +1 -0
- package/dist/assets/proto-C7zT0LnQ.js +1 -0
- package/dist/assets/protobuf-ChK-085T.js +1 -0
- package/dist/assets/pug-DJeKe7bg.js +1 -0
- package/dist/assets/pug-DeIclll2.js +1 -0
- package/dist/assets/puppet-BMWR74SV.js +1 -0
- package/dist/assets/puppet-DMA9R1ak.js +1 -0
- package/dist/assets/purescript-CklMAg4u.js +1 -0
- package/dist/assets/python-BuPzkPfP.js +1 -0
- package/dist/assets/python-DWrqmXJp.js +1 -0
- package/dist/assets/q-pXgVlZs6.js +1 -0
- package/dist/assets/qml-BRuqEUvJ.js +1 -0
- package/dist/assets/qmldir-C8lEn-DE.js +1 -0
- package/dist/assets/qss-IeuSbFQv.js +1 -0
- package/dist/assets/quadrantDiagram-AYHSOK5B-C-kQhqve.js +7 -0
- package/dist/assets/r-B6wPVr8A.js +1 -0
- package/dist/assets/r-Dspwwk_N.js +1 -0
- package/dist/assets/racket-BqYA7rlc.js +1 -0
- package/dist/assets/raku-DXvB9xmW.js +1 -0
- package/dist/assets/razor-CzA984p4.js +1 -0
- package/dist/assets/red-bN70gL4F.js +1 -0
- package/dist/assets/reg-C-SQnVFl.js +1 -0
- package/dist/assets/regexp-CDVJQ6XC.js +1 -0
- package/dist/assets/rel-C3B-1QV4.js +1 -0
- package/dist/assets/requirementDiagram-UZGBJVZJ-CCFa12OF.js +64 -0
- package/dist/assets/riscv-BM1_JUlF.js +1 -0
- package/dist/assets/ron-BhRPY-oY.js +1 -0
- package/dist/assets/rose-pine-dawn-DHQR4-dF.js +1 -0
- package/dist/assets/rose-pine-moon-D4_iv3hh.js +1 -0
- package/dist/assets/rose-pine-qdsjHGoJ.js +1 -0
- package/dist/assets/rosmsg-BJDFO7_C.js +1 -0
- package/dist/assets/rpm-CTu-6PCP.js +1 -0
- package/dist/assets/rst-2zNva11Y.js +1 -0
- package/dist/assets/ruby-B2Rjki9n.js +1 -0
- package/dist/assets/ruby-DmXPWWCu.js +1 -0
- package/dist/assets/rust-BBYK4zRa.js +1 -0
- package/dist/assets/sankeyDiagram-TZEHDZUN-COr9DFuT.js +10 -0
- package/dist/assets/sas-B4kiWyti.js +1 -0
- package/dist/assets/sas-DmZASBe0.js +1 -0
- package/dist/assets/sass-Cj5Yp3dK.js +1 -0
- package/dist/assets/scala-SE1iKWUP.js +1 -0
- package/dist/assets/scheme-C41bIUwD.js +1 -0
- package/dist/assets/scheme-C98Dy4si.js +1 -0
- package/dist/assets/scss-DsF9DJKc.js +1 -0
- package/dist/assets/sdbl-DVxCFoDh.js +1 -0
- package/dist/assets/sequenceDiagram-WL72ISMW-B6sTQliE.js +145 -0
- package/dist/assets/shaderlab-Dg9Lc6iA.js +1 -0
- package/dist/assets/shell-CjFT_Tl9.js +1 -0
- package/dist/assets/shellscript-SHvotRv0.js +1 -0
- package/dist/assets/shellsession-Dtw7k0Yt.js +1 -0
- package/dist/assets/shiki-highlighter-runtime-D7okHLco.js +2 -0
- package/dist/assets/sieve-C3Gn_uJK.js +1 -0
- package/dist/assets/simple-mode-GW_nhZxv.js +1 -0
- package/dist/assets/slack-dark-BthQWCQV.js +1 -0
- package/dist/assets/slack-ochin-DqwNpetd.js +1 -0
- package/dist/assets/smalltalk-BERRCDM3.js +1 -0
- package/dist/assets/smalltalk-CnHTOXQT.js +1 -0
- package/dist/assets/snazzy-light-Bw305WKR.js +1 -0
- package/dist/assets/solarized-dark-DXbdFlpD.js +1 -0
- package/dist/assets/solarized-light-L9t79GZl.js +1 -0
- package/dist/assets/solidity-rGO070M0.js +1 -0
- package/dist/assets/solr-DehyRSwq.js +1 -0
- package/dist/assets/soy-uR-UO2eq.js +1 -0
- package/dist/assets/sparql-DkYu6x3z.js +1 -0
- package/dist/assets/sparql-rVzFXLq3.js +1 -0
- package/dist/assets/splunk-BtCnVYZw.js +1 -0
- package/dist/assets/spreadsheet-BCZA_wO0.js +1 -0
- package/dist/assets/sql-CkNxgkeS.js +1 -0
- package/dist/assets/sql-D0XecflT.js +1 -0
- package/dist/assets/ssh-config-_ykCGR6B.js +1 -0
- package/dist/assets/stata-DVBxQR2G.js +1 -0
- package/dist/assets/stateDiagram-FKZM4ZOC-Dpg3xi0D.js +1 -0
- package/dist/assets/stateDiagram-v2-4FDKWEC3-CK1yFthu.js +1 -0
- package/dist/assets/stex-C3f8Ysf7.js +1 -0
- package/dist/assets/stylus-B533Al4x.js +1 -0
- package/dist/assets/stylus-BEDo0Tqx.js +1 -0
- package/dist/assets/surrealql-CId8jo-x.js +1 -0
- package/dist/assets/svelte-B5J3Hg63.js +1 -0
- package/dist/assets/swift-B0ofQ8RM.js +1 -0
- package/dist/assets/swift-BzpIVaGY.js +1 -0
- package/dist/assets/synthwave-84-CbfX1IO0.js +1 -0
- package/dist/assets/system-verilog-CnnmHF94.js +1 -0
- package/dist/assets/systemd-4A_iFExJ.js +1 -0
- package/dist/assets/talonscript-CkByrt1z.js +1 -0
- package/dist/assets/tasl-QIJgUcNo.js +1 -0
- package/dist/assets/tcl-DVfN8rqt.js +1 -0
- package/dist/assets/tcl-dwOrl1Do.js +1 -0
- package/dist/assets/templ--uRs7fp8.js +1 -0
- package/dist/assets/terraform-BETggiCN.js +1 -0
- package/dist/assets/tex-CvyZ59Mk.js +1 -0
- package/dist/assets/textile-CnDTJFAw.js +1 -0
- package/dist/assets/tiddlywiki-DO-Gjzrf.js +1 -0
- package/dist/assets/tiki-DGYXhP31.js +1 -0
- package/dist/assets/timeline-definition-IT6M3QCI-DZBb9YJX.js +61 -0
- package/dist/assets/tokyo-night-hegEt444.js +1 -0
- package/dist/assets/toml-Bm5Em-hy.js +1 -0
- package/dist/assets/toml-vGWfd6FD.js +1 -0
- package/dist/assets/treemap-GDKQZRPO-Oo1I1edJ.js +160 -0
- package/dist/assets/troff-wAsdV37c.js +1 -0
- package/dist/assets/ts-tags-D4tKSV7t.js +1 -0
- package/dist/assets/tsv-B_m7g4N7.js +1 -0
- package/dist/assets/tsx-COt5Ahok.js +1 -0
- package/dist/assets/ttcn-CfJYG6tj.js +1 -0
- package/dist/assets/ttcn-cfg-B9xdYoR4.js +1 -0
- package/dist/assets/turtle-B1tBg_DP.js +1 -0
- package/dist/assets/turtle-BsS91CYL.js +1 -0
- package/dist/assets/twig-BbcE4EvC.js +1 -0
- package/dist/assets/typescript-CCfADO3_.js +1 -0
- package/dist/assets/typespec-BGHnOYBU.js +1 -0
- package/dist/assets/typst-DHCkPAjA.js +1 -0
- package/dist/assets/v-BcVCzyr7.js +1 -0
- package/dist/assets/vala-CsfeWuGM.js +1 -0
- package/dist/assets/vb-CmGdzxic.js +1 -0
- package/dist/assets/vb-D17OF-Vu.js +1 -0
- package/dist/assets/vbscript-BuJXcnF6.js +1 -0
- package/dist/assets/velocity-D8B20fx6.js +1 -0
- package/dist/assets/verilog-BQ8w6xss.js +1 -0
- package/dist/assets/verilog-C6RDOZhf.js +1 -0
- package/dist/assets/vesper-DU1UobuO.js +1 -0
- package/dist/assets/vhdl-CeAyd5Ju.js +1 -0
- package/dist/assets/vhdl-lSbBsy5d.js +1 -0
- package/dist/assets/viml-CJc9bBzg.js +1 -0
- package/dist/assets/vitesse-black-Bkuqu6BP.js +1 -0
- package/dist/assets/vitesse-dark-D0r3Knsf.js +1 -0
- package/dist/assets/vitesse-light-CVO1_9PV.js +1 -0
- package/dist/assets/vue-_y7Uqjzm.js +1 -0
- package/dist/assets/vue-html-DwslK3cu.js +1 -0
- package/dist/assets/vue-vine-BZmWytvS.js +1 -0
- package/dist/assets/vyper-CDx5xZoG.js +1 -0
- package/dist/assets/wasm-CG6Dc4jp.js +1 -0
- package/dist/assets/wasm-MzD3tlZU.js +1 -0
- package/dist/assets/webidl-ZXfAyPTL.js +1 -0
- package/dist/assets/wenyan-BV7otONQ.js +1 -0
- package/dist/assets/wgsl-Dx-B1_4e.js +1 -0
- package/dist/assets/wikitext-BhOHFoWU.js +1 -0
- package/dist/assets/wit-5i3qLPDT.js +1 -0
- package/dist/assets/wolfram-lXgVvXCa.js +1 -0
- package/dist/assets/x-CHMqFUz-.js +21 -0
- package/dist/assets/xml-DF_Bs8cR.js +1 -0
- package/dist/assets/xquery-DzFWVndE.js +1 -0
- package/dist/assets/xsl-i061jk2d.js +1 -0
- package/dist/assets/xychartDiagram-PRI3JC2R-BhTbi7nd.js +7 -0
- package/dist/assets/yacas-BJ4BC0dw.js +1 -0
- package/dist/assets/yaml-DbVfSbck.js +1 -0
- package/dist/assets/z80-Hz9HOZM7.js +1 -0
- package/dist/assets/zenscript-DVFEvuxE.js +1 -0
- package/dist/assets/zig-VOosw3JB.js +1 -0
- package/dist/brand/wildo-symbol.png +0 -0
- package/dist/index.html +84 -0
- package/package.json +57 -0
|
@@ -0,0 +1,386 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/mermaid.core-CRNTw-K2.js","assets/index-D2Lcurso.js","assets/index-nHF1ekZC.css","assets/code-block-IT6T5CEO-rvNI7Npg.js","assets/engine-compile-BvZd6IhL.js","assets/index-e-4cSkrt.js","assets/x-CHMqFUz-.js","assets/katex-mBojCVha.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{a9 as Wl,a as T0,g as Xl,r as $,_ as M0,j as B,Is as Kh,It as Zh,CT as P0,CW as Jh,CY as ed}from"./index-D2Lcurso.js";import{f as B0,p as Ds,e as Rs,n as Ls,h as Pn,s as hr,z as Ql,a as Kl,b as Zl,d as td,c as Os,w as rd}from"./index-e-4cSkrt.js";import{a as Jl,C as eo,M as nd,X as ad}from"./x-CHMqFUz-.js";/**
|
|
3
|
+
* @license lucide-react v1.39.0 - ISC
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the ISC license.
|
|
6
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/const id=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]],sd=Wl("zoom-in",id);/**
|
|
8
|
+
* @license lucide-react v1.39.0 - ISC
|
|
9
|
+
*
|
|
10
|
+
* This source code is licensed under the ISC license.
|
|
11
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
12
|
+
*/const ud=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]],ld=Wl("zoom-out",ud),Bn=(function(e){if(e==null)return dd;if(typeof e=="function")return F0(e);if(typeof e=="object")return Array.isArray(e)?od(e):cd(e);if(typeof e=="string")return hd(e);throw new Error("Expected function, string, or object as test")});function od(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=Bn(e[r]);return F0(n);function n(...a){let i=-1;for(;++i<t.length;)if(t[i].apply(this,a))return!0;return!1}}function cd(e){const t=e;return F0(r);function r(n){const a=n;let i;for(i in e)if(a[i]!==t[i])return!1;return!0}}function hd(e){return F0(t);function t(r){return r&&r.type===e}}function F0(e){return t;function t(r,n,a){return!!(fd(r)&&e.call(this,r,typeof n=="number"?n:void 0,a||void 0))}}function dd(){return!0}function fd(e){return e!==null&&typeof e=="object"&&"type"in e}const to=[],fn=!0,Ga=!1,Br="skip";function _i(e,t,r,n){let a;typeof t=="function"&&typeof r!="function"?(n=r,r=t):a=t;const i=Bn(a),s=n?-1:1;u(e,void 0,[])();function u(l,o,h){const d=l&&typeof l=="object"?l:{};if(typeof d.type=="string"){const g=typeof d.tagName=="string"?d.tagName:typeof d.name=="string"?d.name:void 0;Object.defineProperty(p,"name",{value:"node ("+(l.type+(g?"<"+g+">":""))+")"})}return p;function p(){let g=to,E,y,N;if((!t||i(l,o,h[h.length-1]||void 0))&&(g=md(r(l,h)),g[0]===Ga))return g;if("children"in l&&l.children){const S=l;if(S.children&&g[0]!==Br)for(y=(n?S.children.length:-1)+s,N=h.concat(S);y>-1&&y<S.children.length;){const D=S.children[y];if(E=u(D,y,N)(),E[0]===Ga)return E;y=typeof E[1]=="number"?E[1]:y+s}}return g}}}function md(e){return Array.isArray(e)?e:typeof e=="number"?[fn,e]:e==null?to:[e]}function qr(e,t,r,n){let a,i,s;typeof t=="function"&&typeof r!="function"?(i=void 0,s=t,a=r):(i=t,s=r,a=n),_i(e,i,u,a);function u(l,o){const h=o[o.length-1],d=h?h.children.indexOf(l):void 0;return s(l,d,h)}}const $r={indicator:"indicator",textOnly:"text-only",remove:"remove"};function pd({defaultOrigin:e="",allowedLinkPrefixes:t=[],allowedImagePrefixes:r=[],allowDataImages:n=!1,allowedProtocols:a=[],blockedImageClass:i="inline-block bg-gray-200 dark:bg-gray-700 text-gray-600 dark:text-gray-400 px-3 py-1 rounded text-sm",blockedLinkClass:s="text-gray-500",linkBlockPolicy:u=$r.indicator,imageBlockPolicy:l=$r.indicator}){const o=t.length&&!t.every(d=>d==="*"),h=r.length&&!r.every(d=>d==="*");if(!e&&(o||h))throw new Error("defaultOrigin is required when allowedLinkPrefixes or allowedImagePrefixes are provided");return d=>{const p=yd(e,t,r,n,a,i,s,u,l);ro(d),qr(d,p)}}function Ms(e,t){if(typeof e!="string")return null;try{return new URL(e)}catch{if(t)try{return new URL(e,t)}catch{return null}if(e.startsWith("/")||e.startsWith("./")||e.startsWith("../"))try{return new URL(e,"http://example.com")}catch{return null}return null}}function gd(e){return typeof e!="string"?!1:e.startsWith("/")||e.startsWith("./")||e.startsWith("../")}const bd=new Set(["https:","http:","irc:","ircs:","mailto:","xmpp:","blob:"]),Ed=new Set(["javascript:","data:","file:","vbscript:"]);function Ps(e,t,r,n=!1,a=!1,i=[]){if(!e)return null;if(typeof e=="string"&&e.startsWith("#")&&!a)try{if(new URL(e,"http://example.com").hash===e)return e}catch{}if(typeof e=="string"&&e.startsWith("data:"))return a&&n&&e.startsWith("data:image/")?e:null;if(typeof e=="string"&&e.startsWith("blob:")){try{if(new URL(e).protocol==="blob:"&&e.length>5){const h=e.substring(5);if(h&&h.length>0&&h!=="invalid")return e}}catch{return null}return null}const s=Ms(e,r);if(!s||Ed.has(s.protocol)||!(bd.has(s.protocol)||i.includes(s.protocol)||i.includes("*")))return null;if(s.protocol==="mailto:"||!s.protocol.match(/^https?:$/))return s.href;const l=gd(e);return s&&t.some(o=>{const h=Ms(o,r);return!h||h.origin!==s.origin?!1:s.href.startsWith(h.href)})?l?s.pathname+s.search+s.hash:s.href:t.includes("*")?s.protocol!=="https:"&&s.protocol!=="http:"?null:l?s.pathname+s.search+s.hash:s.href:null}function ro(e){if("children"in e&&Array.isArray(e.children)){e.children=e.children.filter(t=>t!=null);for(const t of e.children)ro(t)}}const ca=Symbol("node-seen");function Td(e,t,r){return t===$r.remove?{type:"remove"}:t===$r.textOnly?{type:"replace",element:{type:"element",tagName:"span",properties:{},children:[...e.children]}}:{type:"replace",element:{type:"element",tagName:"span",properties:{title:"Blocked URL: "+String(e.properties.href),class:r},children:[...e.children,{type:"text",value:" [blocked]"}]}}}function xd(e,t,r){if(t===$r.remove)return{type:"remove"};if(t===$r.textOnly){const n=String(e.properties.alt||"");return n?{type:"replace",element:{type:"element",tagName:"span",properties:{},children:[{type:"text",value:n}]}}:{type:"remove"}}return{type:"replace",element:{type:"element",tagName:"span",properties:{class:r},children:[{type:"text",value:"[Image blocked: "+String(e.properties.alt||"No description")+"]"}]}}}const yd=(e,t,r,n,a,i,s,u,l)=>{const o=(h,d,p)=>{if(h.type!=="element"||h[ca])return fn;if(h.tagName==="a"){const g=Ps(h.properties.href,t,e,!1,!1,a);if(g===null){if(h[ca]=!0,qr(h,o),p&&typeof d=="number"){const E=Td(h,u,s);if(E.type==="remove")return p.children.splice(d,1),[Br,d];p.children[d]=E.element}return Br}else return h.properties.href=g,h.properties.target="_blank",h.properties.rel="noopener noreferrer",fn}if(h.tagName==="img"){const g=Ps(h.properties.src,r,e,n,!0,a);if(g===null){if(h[ca]=!0,qr(h,o),p&&typeof d=="number"){const E=xd(h,l,i);if(E.type==="remove")return p.children.splice(d,1),[Br,d];p.children[d]=E.element}return Br}else return h.properties.src=g,fn}return fn};return o},vd={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"},Bs=/[#.]/g;function kd(e,t){const r=e||"",n={};let a=0,i,s;for(;a<r.length;){Bs.lastIndex=a;const u=Bs.exec(r),l=r.slice(a,u?u.index:r.length);l&&(i?i==="#"?n.id=l:Array.isArray(n.className)?n.className.push(l):n.className=[l]:s=l,a+=l.length),u&&(i=u[0],a++)}return{type:"element",tagName:s||t||"div",properties:n,children:[]}}function no(e,t,r){const n=r?Cd(r):void 0;function a(i,s,...u){let l;if(i==null){l={type:"root",children:[]};const o=s;u.unshift(o)}else{l=kd(i,t);const o=l.tagName.toLowerCase(),h=n?n.get(o):void 0;if(l.tagName=h||o,Ad(s))u.unshift(s);else for(const[d,p]of Object.entries(s))wd(e,l.properties,d,p)}for(const o of u)Va(l.children,o);return l.type==="element"&&l.tagName==="template"&&(l.content={type:"root",children:l.children},l.children=[]),l}return a}function Ad(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,r=Object.keys(e);for(const n of r){const a=t[n];if(a&&typeof a=="object"){if(!Array.isArray(a))return!0;const i=a;for(const s of i)if(typeof s!="number"&&typeof s!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function wd(e,t,r,n){const a=B0(e,r);let i;if(n!=null){if(typeof n=="number"){if(Number.isNaN(n))return;i=n}else typeof n=="boolean"?i=n:typeof n=="string"?a.spaceSeparated?i=Ds(n):a.commaSeparated?i=Rs(n):a.commaOrSpaceSeparated?i=Ds(Rs(n).join(" ")):i=Fs(a,a.property,n):Array.isArray(n)?i=[...n]:i=a.property==="style"?Sd(n):String(n);if(Array.isArray(i)){const s=[];for(const u of i)s.push(Fs(a,a.property,u));i=s}a.property==="className"&&Array.isArray(t.className)&&(i=t.className.concat(i)),t[a.property]=i}}function Va(e,t){if(t!=null)if(typeof t=="number"||typeof t=="string")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const r of t)Va(e,r);else if(typeof t=="object"&&"type"in t)t.type==="root"?Va(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function Fs(e,t,r){if(typeof r=="string"){if(e.number&&r&&!Number.isNaN(Number(r)))return Number(r);if((e.boolean||e.overloadedBoolean)&&(r===""||Ls(r)===Ls(t)))return!0}return r}function Sd(e){const t=[];for(const[r,n]of Object.entries(e))t.push([r,n].join(": "));return t.join("; ")}function Cd(e){const t=new Map;for(const r of e)t.set(r.toLowerCase(),r);return t}const _d=["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"],ao=no(Pn,"div"),io=no(hr,"g",_d),Rt={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Nd(e,t){return so(e,{})||{type:"root",children:[]}}function so(e,t){const r=Id(e,t);return r&&t.afterTransform&&t.afterTransform(e,r),r}function Id(e,t){switch(e.nodeType){case 1:return Od(e,t);case 3:return Rd(e);case 8:return Ld(e);case 9:return zs(e,t);case 10:return Dd();case 11:return zs(e,t);default:return}}function zs(e,t){return{type:"root",children:uo(e,t)}}function Dd(){return{type:"doctype"}}function Rd(e){return{type:"text",value:e.nodeValue||""}}function Ld(e){return{type:"comment",value:e.nodeValue||""}}function Od(e,t){const r=e.namespaceURI,n=r===Rt.svg?io:ao,a=r===Rt.html?e.tagName.toLowerCase():e.tagName,i=r===Rt.html&&a==="template"?e.content:e,s=e.getAttributeNames(),u={};let l=-1;for(;++l<s.length;)u[s[l]]=e.getAttribute(s[l])||"";return n(a,u,uo(i,t))}function uo(e,t){const r=e.childNodes,n=[];let a=-1;for(;++a<r.length;){const i=so(r[a],t);i!==void 0&&n.push(i)}return n}new DOMParser;function Md(e,t){const r=Pd(e);return Nd(r)}function Pd(e){const t=document.createElement("template");return t.innerHTML=e,t.content}const Hs=(function(e,t,r){const n=Bn(r);if(!e||!e.type||!e.children)throw new Error("Expected parent node");if(typeof t=="number"){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(t=e.children.indexOf(t),t<0)throw new Error("Expected child node or index");for(;++t<e.children.length;)if(n(e.children[t],t,e))return e.children[t]}),wr=(function(e){if(e==null)return zd;if(typeof e=="string")return Fd(e);if(typeof e=="object")return Bd(e);if(typeof e=="function")return Ni(e);throw new Error("Expected function, string, or array as `test`")});function Bd(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=wr(e[r]);return Ni(n);function n(...a){let i=-1;for(;++i<t.length;)if(t[i].apply(this,a))return!0;return!1}}function Fd(e){return Ni(t);function t(r){return r.tagName===e}}function Ni(e){return t;function t(r,n,a){return!!(Hd(r)&&e.call(this,r,typeof n=="number"?n:void 0,a||void 0))}}function zd(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function Hd(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const Us=/\n/g,qs=/[\t ]+/g,Wa=wr("br"),$s=wr(Wd),Ud=wr("p"),js=wr("tr"),qd=wr(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",Vd,Xd]),lo=wr(["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 $d(e,t){const r=t||{},n="children"in e?e.children:[],a=lo(e),i=ho(e,{whitespace:r.whitespace||"normal"}),s=[];(e.type==="text"||e.type==="comment")&&s.push(...co(e,{breakBefore:!0,breakAfter:!0}));let u=-1;for(;++u<n.length;)s.push(...oo(n[u],e,{whitespace:i,breakBefore:u?void 0:a,breakAfter:u<n.length-1?Wa(n[u+1]):a}));const l=[];let o;for(u=-1;++u<s.length;){const h=s[u];typeof h=="number"?o!==void 0&&h>o&&(o=h):h&&(o!==void 0&&o>-1&&l.push(`
|
|
13
|
+
`.repeat(o)||" "),o=-1,l.push(h))}return l.join("")}function oo(e,t,r){return e.type==="element"?jd(e,t,r):e.type==="text"?r.whitespace==="normal"?co(e,r):Yd(e):[]}function jd(e,t,r){const n=ho(e,r),a=e.children||[];let i=-1,s=[];if(qd(e))return s;let u,l;for(Wa(e)||js(e)&&Hs(t,e,js)?l=`
|
|
14
|
+
`:Ud(e)?(u=2,l=2):lo(e)&&(u=1,l=1);++i<a.length;)s=s.concat(oo(a[i],e,{whitespace:n,breakBefore:i?void 0:u,breakAfter:i<a.length-1?Wa(a[i+1]):l}));return $s(e)&&Hs(t,e,$s)&&s.push(" "),u&&s.unshift(u),l&&s.push(l),s}function co(e,t){const r=String(e.value),n=[],a=[];let i=0;for(;i<=r.length;){Us.lastIndex=i;const l=Us.exec(r),o=l&&"index"in l?l.index:r.length;n.push(Gd(r.slice(i,o).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),i===0?t.breakBefore:!0,o===r.length?t.breakAfter:!0)),i=o+1}let s=-1,u;for(;++s<n.length;)n[s].charCodeAt(n[s].length-1)===8203||s<n.length-1&&n[s+1].charCodeAt(0)===8203?(a.push(n[s]),u=void 0):n[s]?(typeof u=="number"&&a.push(u),a.push(n[s]),u=0):(s===0||s===n.length-1)&&a.push(0);return a}function Yd(e){return[String(e.value)]}function Gd(e,t,r){const n=[];let a=0,i;for(;a<e.length;){qs.lastIndex=a;const s=qs.exec(e);i=s?s.index:e.length,!a&&!i&&s&&!t&&n.push(""),a!==i&&n.push(e.slice(a,i)),a=s?i+s[0].length:i}return a!==i&&!r&&n.push(""),n.join(" ")}function ho(e,t){if(e.type==="element"){const r=e.properties||{};switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return r.wrap?"pre-wrap":"pre";case"td":case"th":return r.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}}return t.whitespace}function Vd(e){return!!(e.properties||{}).hidden}function Wd(e){return e.tagName==="td"||e.tagName==="th"}function Xd(e){return e.tagName==="dialog"&&!(e.properties||{}).open}class st{constructor(t,r,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=t,this.start=r,this.end=n}static range(t,r){return r?!t||!t.loc||!r.loc||t.loc.lexer!==r.loc.lexer?null:new st(t.loc.lexer,t.loc.start,r.loc.end):t&&t.loc}}class ht{constructor(t,r){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=t,this.loc=r}range(t,r){return new ht(r,st.range(this,t))}}class V{constructor(t,r){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var n="KaTeX parse error: "+t,a,i,s=r&&r.loc;if(s&&s.start<=s.end){var u=s.lexer.input;a=s.start,i=s.end,a===u.length?n+=" at end of input: ":n+=" at position "+(a+1)+": ";var l=u.slice(a,i).replace(/[^]/g,"$&̲"),o;a>15?o="…"+u.slice(a-15,a):o=u.slice(0,a);var h;i+15<u.length?h=u.slice(i,i+15)+"…":h=u.slice(i),n+=o+l+h}var d=new Error(n);return d.name="ParseError",d.__proto__=V.prototype,d.position=a,a!=null&&i!=null&&(d.length=i-a),d.rawMessage=t,d}}V.prototype.__proto__=Error.prototype;var Qd=/([A-Z])/g,Ii=e=>e.replace(Qd,"-$1").toLowerCase(),Kd={"&":"&",">":">","<":"<",'"':""","'":"'"},Zd=/[&><"']/g,Ve=e=>String(e).replace(Zd,t=>Kd[t]),bn=e=>e.type==="ordgroup"||e.type==="color"?e.body.length===1?bn(e.body[0]):e:e.type==="font"?bn(e.body):e,Jd=new Set(["mathord","textord","atom"]),Wt=e=>Jd.has(bn(e).type),ef=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"},En={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 tf(e){if(e.default)return e.default;var t=e.type,r=Array.isArray(t)?t[0]:t;if(typeof r!="string")return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class Di{constructor(t){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,t=t||{};for(var r in En)if(En.hasOwnProperty(r)){var n=En[r];this[r]=t[r]!==void 0?n.processor?n.processor(t[r]):t[r]:tf(n)}}reportNonstrict(t,r,n){var a=this.strict;if(typeof a=="function"&&(a=a(t,r,n)),!(!a||a==="ignore")){if(a===!0||a==="error")throw new V("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+t+"]"),n);a==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+t+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+r+" ["+t+"]"))}}useStrictBehavior(t,r,n){var a=this.strict;if(typeof a=="function")try{a=a(t,r,n)}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': "+(r+" ["+t+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+r+" ["+t+"]")),!1)}isTrusted(t){if(t.url&&!t.protocol){var r=ef(t.url);if(r==null)return!1;t.protocol=r}var n=typeof this.trust=="function"?this.trust(t):this.trust;return!!n}}class Zt{constructor(t,r,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=r,this.cramped=n}sup(){return It[rf[this.id]]}sub(){return It[nf[this.id]]}fracNum(){return It[af[this.id]]}fracDen(){return It[sf[this.id]]}cramp(){return It[uf[this.id]]}text(){return It[lf[this.id]]}isTight(){return this.size>=2}}var Ri=0,x0=1,zr=2,Gt=3,In=4,bt=5,jr=6,et=7,It=[new Zt(Ri,0,!1),new Zt(x0,0,!0),new Zt(zr,1,!1),new Zt(Gt,1,!0),new Zt(In,2,!1),new Zt(bt,2,!0),new Zt(jr,3,!1),new Zt(et,3,!0)],rf=[In,bt,In,bt,jr,et,jr,et],nf=[bt,bt,bt,bt,et,et,et,et],af=[zr,Gt,In,bt,jr,et,jr,et],sf=[Gt,Gt,bt,bt,et,et,et,et],uf=[x0,x0,Gt,Gt,bt,bt,et,et],lf=[Ri,x0,zr,Gt,zr,Gt,zr,Gt],le={DISPLAY:It[Ri],TEXT:It[zr],SCRIPT:It[In],SCRIPTSCRIPT:It[jr]},Xa=[{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 of(e){for(var t=0;t<Xa.length;t++)for(var r=Xa[t],n=0;n<r.blocks.length;n++){var a=r.blocks[n];if(e>=a[0]&&e<=a[1])return r.name}return null}var m0=[];Xa.forEach(e=>e.blocks.forEach(t=>m0.push(...t)));function fo(e){for(var t=0;t<m0.length;t+=2)if(e>=m0[t]&&e<=m0[t+1])return!0;return!1}var Or=80,cf=function(t,r){return"M95,"+(622+t+r)+`
|
|
15
|
+
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
|
|
16
|
+
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
|
|
17
|
+
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
|
|
18
|
+
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
|
|
19
|
+
c69,-144,104.5,-217.7,106.5,-221
|
|
20
|
+
l`+t/2.075+" -"+t+`
|
|
21
|
+
c5.3,-9.3,12,-14,20,-14
|
|
22
|
+
H400000v`+(40+t)+`H845.2724
|
|
23
|
+
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
|
|
24
|
+
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
|
|
25
|
+
M`+(834+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},hf=function(t,r){return"M263,"+(601+t+r)+`c0.7,0,18,39.7,52,119
|
|
26
|
+
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
|
|
27
|
+
c340,-704.7,510.7,-1060.3,512,-1067
|
|
28
|
+
l`+t/2.084+" -"+t+`
|
|
29
|
+
c4.7,-7.3,11,-11,19,-11
|
|
30
|
+
H40000v`+(40+t)+`H1012.3
|
|
31
|
+
s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
|
|
32
|
+
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
|
|
33
|
+
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
|
|
34
|
+
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
|
|
35
|
+
M`+(1001+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},df=function(t,r){return"M983 "+(10+t+r)+`
|
|
36
|
+
l`+t/3.13+" -"+t+`
|
|
37
|
+
c4,-6.7,10,-10,18,-10 H400000v`+(40+t)+`
|
|
38
|
+
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
|
|
39
|
+
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
|
|
40
|
+
c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
|
|
41
|
+
c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
|
|
42
|
+
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
|
|
43
|
+
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
|
|
44
|
+
M`+(1001+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},ff=function(t,r){return"M424,"+(2398+t+r)+`
|
|
45
|
+
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
|
|
46
|
+
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
|
|
47
|
+
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
|
|
48
|
+
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
|
|
49
|
+
l`+t/4.223+" -"+t+`c4,-6.7,10,-10,18,-10 H400000
|
|
50
|
+
v`+(40+t)+`H1014.6
|
|
51
|
+
s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
|
|
52
|
+
c-2,6,-10,9,-24,9
|
|
53
|
+
c-8,0,-12,-0.7,-12,-2z M`+(1001+t)+" "+r+`
|
|
54
|
+
h400000v`+(40+t)+"h-400000z"},mf=function(t,r){return"M473,"+(2713+t+r)+`
|
|
55
|
+
c339.3,-1799.3,509.3,-2700,510,-2702 l`+t/5.298+" -"+t+`
|
|
56
|
+
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+t)+`H1017.7
|
|
57
|
+
s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
|
|
58
|
+
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
|
|
59
|
+
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
|
|
60
|
+
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
|
|
61
|
+
606zM`+(1001+t)+" "+r+"h400000v"+(40+t)+"H1017.7z"},pf=function(t){var r=t/2;return"M400000 "+t+" H0 L"+r+" 0 l65 45 L145 "+(t-80)+" H400000z"},gf=function(t,r,n){var a=n-54-r-t;return"M702 "+(t+r)+"H400000"+(40+t)+`
|
|
62
|
+
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
|
|
63
|
+
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
|
|
64
|
+
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
|
|
65
|
+
219 661 l218 661zM702 `+r+"H400000v"+(40+t)+"H742z"},bf=function(t,r,n){r=1e3*r;var a="";switch(t){case"sqrtMain":a=cf(r,Or);break;case"sqrtSize1":a=hf(r,Or);break;case"sqrtSize2":a=df(r,Or);break;case"sqrtSize3":a=ff(r,Or);break;case"sqrtSize4":a=mf(r,Or);break;case"sqrtTall":a=gf(r,Or,n)}return a},Ef=function(t,r){switch(t){case"⎜":return"M291 0 H417 V"+r+" H291z M291 0 H417 V"+r+" H291z";case"∣":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z";case"∥":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z"+("M367 0 H410 V"+r+" H367z M367 0 H410 V"+r+" H367z");case"⎟":return"M457 0 H583 V"+r+" H457z M457 0 H583 V"+r+" H457z";case"⎢":return"M319 0 H403 V"+r+" H319z M319 0 H403 V"+r+" H319z";case"⎥":return"M263 0 H347 V"+r+" H263z M263 0 H347 V"+r+" H263z";case"⎪":return"M384 0 H504 V"+r+" H384z M384 0 H504 V"+r+" H384z";case"⏐":return"M312 0 H355 V"+r+" H312z M312 0 H355 V"+r+" H312z";case"‖":return"M257 0 H300 V"+r+" H257z M257 0 H300 V"+r+" H257z"+("M478 0 H521 V"+r+" H478z M478 0 H521 V"+r+" H478z");default:return""}},Ys={doubleleftarrow:`M262 157
|
|
66
|
+
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
|
|
67
|
+
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
|
|
68
|
+
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
|
|
69
|
+
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
|
|
70
|
+
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
|
|
71
|
+
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
|
|
72
|
+
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
|
|
73
|
+
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
|
|
74
|
+
-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
|
|
75
|
+
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
|
|
76
|
+
-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
|
|
77
|
+
-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
|
|
78
|
+
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
|
|
79
|
+
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
|
|
80
|
+
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
|
|
81
|
+
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
|
|
82
|
+
-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
|
|
83
|
+
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
|
|
84
|
+
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
|
|
85
|
+
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
|
|
86
|
+
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
|
|
87
|
+
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
|
|
88
|
+
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
|
|
89
|
+
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
|
|
90
|
+
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
|
|
91
|
+
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
|
|
92
|
+
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
|
|
93
|
+
435 0h399565z`,leftgroupunder:`M400000 262
|
|
94
|
+
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
|
|
95
|
+
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
|
|
96
|
+
-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
|
|
97
|
+
-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
|
|
98
|
+
-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
|
|
99
|
+
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
|
|
100
|
+
-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
|
|
101
|
+
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
|
|
102
|
+
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
|
|
103
|
+
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
|
|
104
|
+
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
|
|
105
|
+
-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
|
|
106
|
+
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
|
|
107
|
+
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
|
|
108
|
+
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
|
|
109
|
+
-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
|
|
110
|
+
-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
|
|
111
|
+
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
|
|
112
|
+
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
|
|
113
|
+
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
|
|
114
|
+
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
|
|
115
|
+
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
|
|
116
|
+
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
|
|
117
|
+
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
|
|
118
|
+
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
|
|
119
|
+
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
|
|
120
|
+
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
|
|
121
|
+
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
|
|
122
|
+
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
|
|
123
|
+
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
|
|
124
|
+
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
|
|
125
|
+
-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
|
|
126
|
+
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
|
|
127
|
+
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
|
|
128
|
+
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
|
|
129
|
+
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
|
|
130
|
+
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
|
|
131
|
+
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
|
|
132
|
+
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
|
|
133
|
+
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
|
|
134
|
+
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
|
|
135
|
+
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
|
|
136
|
+
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
|
|
137
|
+
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
|
|
138
|
+
-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
|
|
139
|
+
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
|
|
140
|
+
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
|
|
141
|
+
-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
|
|
142
|
+
-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
|
|
143
|
+
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
|
|
144
|
+
-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
|
|
145
|
+
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
|
|
146
|
+
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
|
|
147
|
+
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
|
|
148
|
+
-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
|
|
149
|
+
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
|
|
150
|
+
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
|
|
151
|
+
-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
|
|
152
|
+
-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
|
|
153
|
+
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
|
|
154
|
+
-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
|
|
155
|
+
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
|
|
156
|
+
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
|
|
157
|
+
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
|
|
158
|
+
-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
|
|
159
|
+
-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
|
|
160
|
+
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
|
|
161
|
+
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
|
|
162
|
+
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
|
|
163
|
+
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
|
|
164
|
+
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
|
|
165
|
+
-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
|
|
166
|
+
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
|
|
167
|
+
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
|
|
168
|
+
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
|
|
169
|
+
-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
|
|
170
|
+
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
|
|
171
|
+
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
|
|
172
|
+
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
|
|
173
|
+
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
|
|
174
|
+
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
|
|
175
|
+
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
|
|
176
|
+
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
|
|
177
|
+
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
|
|
178
|
+
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
|
|
179
|
+
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
|
|
180
|
+
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
|
|
181
|
+
-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
|
|
182
|
+
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
|
|
183
|
+
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
|
|
184
|
+
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
|
|
185
|
+
-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
|
|
186
|
+
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
|
|
187
|
+
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
|
|
188
|
+
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
|
|
189
|
+
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
|
|
190
|
+
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
|
|
191
|
+
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
|
|
192
|
+
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
|
|
193
|
+
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
|
|
194
|
+
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
|
|
195
|
+
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
|
|
196
|
+
-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
|
|
197
|
+
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
|
|
198
|
+
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
|
|
199
|
+
-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
|
|
200
|
+
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
|
|
201
|
+
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
|
|
202
|
+
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
|
|
203
|
+
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
|
|
204
|
+
-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
|
|
205
|
+
-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
|
|
206
|
+
-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,
|
|
207
|
+
-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,
|
|
208
|
+
-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,
|
|
209
|
+
-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,
|
|
210
|
+
-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
|
|
211
|
+
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
|
|
212
|
+
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
|
|
213
|
+
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
|
|
214
|
+
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
|
|
215
|
+
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
|
|
216
|
+
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
|
|
217
|
+
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
|
|
218
|
+
-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
|
|
219
|
+
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
|
|
220
|
+
-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
|
|
221
|
+
-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
|
|
222
|
+
-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
|
|
223
|
+
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
224
|
+
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
|
|
225
|
+
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
|
|
226
|
+
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
|
|
227
|
+
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
|
|
228
|
+
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
|
|
229
|
+
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,
|
|
230
|
+
-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
|
|
231
|
+
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
|
|
232
|
+
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
|
|
233
|
+
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,
|
|
234
|
+
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,
|
|
235
|
+
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
|
|
236
|
+
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
|
|
237
|
+
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,
|
|
238
|
+
-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
|
|
239
|
+
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
|
|
240
|
+
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},Tf=function(t,r){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v1759 h347 v-84
|
|
241
|
+
H403z M403 1759 V0 H319 V1759 v`+r+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v1759 H0 v84 H347z
|
|
242
|
+
M347 1759 V0 H263 V1759 v`+r+" v1759 h84z";case"vert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15
|
|
243
|
+
c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
244
|
+
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+" v585 h43z";case"doublevert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15
|
|
245
|
+
c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
246
|
+
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+` v585 h43z
|
|
247
|
+
M367 15 v585 v`+r+` v585 c2.667,10,9.667,15,21,15
|
|
248
|
+
c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
249
|
+
c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+r+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+r+` v1715 h263 v84 H319z
|
|
250
|
+
MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+r+` v1799 H0 v-84 H319z
|
|
251
|
+
MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v602 h84z
|
|
252
|
+
M403 1759 V0 H319 V1759 v`+r+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v602 h84z
|
|
253
|
+
M347 1759 V0 h-84 V1759 v`+r+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1
|
|
254
|
+
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,
|
|
255
|
+
-36,557 l0,`+(r+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
|
|
256
|
+
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
|
|
257
|
+
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,
|
|
258
|
+
-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
|
|
259
|
+
l0,-`+(r+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
|
|
260
|
+
-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,
|
|
261
|
+
63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
|
|
262
|
+
c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(r+9)+`
|
|
263
|
+
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
|
|
264
|
+
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
|
|
265
|
+
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
|
|
266
|
+
c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
|
|
267
|
+
l0,-`+(r+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
268
|
+
-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class Fn{constructor(t){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(t){return this.classes.includes(t)}toNode(){for(var t=document.createDocumentFragment(),r=0;r<this.children.length;r++)t.appendChild(this.children[r].toNode());return t}toMarkup(){for(var t="",r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t}toText(){var t=r=>r.toText();return this.children.map(t).join("")}}var Lt={"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]}},Kn={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]},Gs={Å:"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 mo(e,t){Lt[e]=t}function Li(e,t,r){if(!Lt[t])throw new Error("Font metrics not found for font: "+t+".");var n=e.charCodeAt(0),a=Lt[t][n];if(!a&&e[0]in Gs&&(n=Gs[e[0]].charCodeAt(0),a=Lt[t][n]),!a&&r==="text"&&fo(n)&&(a=Lt[t][77]),a)return{depth:a[0],height:a[1],italic:a[2],skew:a[3],width:a[4]}}var ha={};function xf(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!ha[t]){var r=ha[t]={cssEmPerMu:Kn.quad[t]/18};for(var n in Kn)Kn.hasOwnProperty(n)&&(r[n]=Kn[n][t])}return ha[t]}var yf=[[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]],Vs=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Ws=function(t,r){return r.size<2?t:yf[t-1][r.size-1]};class $t{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||$t.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=Vs[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var r={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n]);return new $t(r)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:Ws(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:Vs[t-1]})}havingBaseStyle(t){t=t||this.style.text();var r=Ws($t.BASESIZE,t);return this.size===r&&this.textSize===$t.BASESIZE&&this.style===t?this:this.extend({style:t,size:r})}havingBaseSizing(){var t;switch(this.style.id){case 4:case 5:t=3;break;case 6:case 7:t=1;break;default:t=6}return this.extend({style:this.style.text(),size:t})}withColor(t){return this.extend({color:t})}withPhantom(){return this.extend({phantom:!0})}withFont(t){return this.extend({font:t})}withTextFontFamily(t){return this.extend({fontFamily:t,font:""})}withTextFontWeight(t){return this.extend({fontWeight:t,font:""})}withTextFontShape(t){return this.extend({fontShape:t,font:""})}sizingClasses(t){return t.size!==this.size?["sizing","reset-size"+t.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==$t.BASESIZE?["sizing","reset-size"+this.size,"size"+$t.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=xf(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}$t.BASESIZE=6;var Qa={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},vf={ex:!0,em:!0,mu:!0},po=function(t){return typeof t!="string"&&(t=t.unit),t in Qa||t in vf||t==="ex"},Ie=function(t,r){var n;if(t.unit in Qa)n=Qa[t.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(t.unit==="mu")n=r.fontMetrics().cssEmPerMu;else{var a;if(r.style.isTight()?a=r.havingStyle(r.style.text()):a=r,t.unit==="ex")n=a.fontMetrics().xHeight;else if(t.unit==="em")n=a.fontMetrics().quad;else throw new V("Invalid unit: '"+t.unit+"'");a!==r&&(n*=a.sizeMultiplier/r.sizeMultiplier)}return Math.min(t.number*n,r.maxSize)},K=function(t){return+t.toFixed(4)+"em"},sr=function(t){return t.filter(r=>r).join(" ")},go=function(t,r,n){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},r){r.style.isTight()&&this.classes.push("mtight");var a=r.getColor();a&&(this.style.color=a)}},bo=function(t){var r=document.createElement(t);r.className=sr(this.classes);for(var n in this.style)this.style.hasOwnProperty(n)&&(r.style[n]=this.style[n]);for(var a in this.attributes)this.attributes.hasOwnProperty(a)&&r.setAttribute(a,this.attributes[a]);for(var i=0;i<this.children.length;i++)r.appendChild(this.children[i].toNode());return r},kf=/[\s"'>/=\x00-\x1f]/,Eo=function(t){var r="<"+t;this.classes.length&&(r+=' class="'+Ve(sr(this.classes))+'"');var n="";for(var a in this.style)this.style.hasOwnProperty(a)&&(n+=Ii(a)+":"+this.style[a]+";");n&&(r+=' style="'+Ve(n)+'"');for(var i in this.attributes)if(this.attributes.hasOwnProperty(i)){if(kf.test(i))throw new V("Invalid attribute name '"+i+"'");r+=" "+i+'="'+Ve(this.attributes[i])+'"'}r+=">";for(var s=0;s<this.children.length;s++)r+=this.children[s].toMarkup();return r+="</"+t+">",r};class zn{constructor(t,r,n,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,go.call(this,t,n,a),this.children=r||[]}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return this.classes.includes(t)}toNode(){return bo.call(this,"span")}toMarkup(){return Eo.call(this,"span")}}class Oi{constructor(t,r,n,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,go.call(this,r,a),this.children=n||[],this.setAttribute("href",t)}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return this.classes.includes(t)}toNode(){return bo.call(this,"a")}toMarkup(){return Eo.call(this,"a")}}class Af{constructor(t,r,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=r,this.src=t,this.classes=["mord"],this.style=n}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createElement("img");t.src=this.src,t.alt=this.alt,t.className="mord";for(var r in this.style)this.style.hasOwnProperty(r)&&(t.style[r]=this.style[r]);return t}toMarkup(){var t='<img src="'+Ve(this.src)+'"'+(' alt="'+Ve(this.alt)+'"'),r="";for(var n in this.style)this.style.hasOwnProperty(n)&&(r+=Ii(n)+":"+this.style[n]+";");return r&&(t+=' style="'+Ve(r)+'"'),t+="'/>",t}}var wf={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class Et{constructor(t,r,n,a,i,s,u,l){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=t,this.height=r||0,this.depth=n||0,this.italic=a||0,this.skew=i||0,this.width=s||0,this.classes=u||[],this.style=l||{},this.maxFontSize=0;var o=of(this.text.charCodeAt(0));o&&this.classes.push(o+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=wf[this.text])}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createTextNode(this.text),r=null;this.italic>0&&(r=document.createElement("span"),r.style.marginRight=K(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=sr(this.classes));for(var n in this.style)this.style.hasOwnProperty(n)&&(r=r||document.createElement("span"),r.style[n]=this.style[n]);return r?(r.appendChild(t),r):t}toMarkup(){var t=!1,r="<span";this.classes.length&&(t=!0,r+=' class="',r+=Ve(sr(this.classes)),r+='"');var n="";this.italic>0&&(n+="margin-right:"+this.italic+"em;");for(var a in this.style)this.style.hasOwnProperty(a)&&(n+=Ii(a)+":"+this.style[a]+";");n&&(t=!0,r+=' style="'+Ve(n)+'"');var i=Ve(this.text);return t?(r+=">",r+=i,r+="</span>",r):i}}class Vt{constructor(t,r){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=r||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"svg");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);for(var a=0;a<this.children.length;a++)r.appendChild(this.children[a].toNode());return r}toMarkup(){var t='<svg xmlns="http://www.w3.org/2000/svg"';for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="'+Ve(this.attributes[r])+'"');t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</svg>",t}}class ur{constructor(t,r){this.pathName=void 0,this.alternate=void 0,this.pathName=t,this.alternate=r}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"path");return this.alternate?r.setAttribute("d",this.alternate):r.setAttribute("d",Ys[this.pathName]),r}toMarkup(){return this.alternate?'<path d="'+Ve(this.alternate)+'"/>':'<path d="'+Ve(Ys[this.pathName])+'"/>'}}class Ka{constructor(t){this.attributes=void 0,this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"line");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);return r}toMarkup(){var t="<line";for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="'+Ve(this.attributes[r])+'"');return t+="/>",t}}function Xs(e){if(e instanceof Et)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function Sf(e){if(e instanceof zn)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var Cf={bin:1,close:1,inner:1,open:1,punct:1,rel:1},_f={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Ae={math:{},text:{}};function f(e,t,r,n,a,i){Ae[e][a]={font:t,group:r,replace:n},i&&n&&(Ae[e][n]=Ae[e][a])}var m="math",U="text",b="main",k="ams",_e="accent-token",te="bin",rt="close",Qr="inner",ie="mathord",ze="op-token",ft="open",z0="punct",A="rel",Xt="spacing",I="textord";f(m,b,A,"≡","\\equiv",!0);f(m,b,A,"≺","\\prec",!0);f(m,b,A,"≻","\\succ",!0);f(m,b,A,"∼","\\sim",!0);f(m,b,A,"⊥","\\perp");f(m,b,A,"⪯","\\preceq",!0);f(m,b,A,"⪰","\\succeq",!0);f(m,b,A,"≃","\\simeq",!0);f(m,b,A,"∣","\\mid",!0);f(m,b,A,"≪","\\ll",!0);f(m,b,A,"≫","\\gg",!0);f(m,b,A,"≍","\\asymp",!0);f(m,b,A,"∥","\\parallel");f(m,b,A,"⋈","\\bowtie",!0);f(m,b,A,"⌣","\\smile",!0);f(m,b,A,"⊑","\\sqsubseteq",!0);f(m,b,A,"⊒","\\sqsupseteq",!0);f(m,b,A,"≐","\\doteq",!0);f(m,b,A,"⌢","\\frown",!0);f(m,b,A,"∋","\\ni",!0);f(m,b,A,"∝","\\propto",!0);f(m,b,A,"⊢","\\vdash",!0);f(m,b,A,"⊣","\\dashv",!0);f(m,b,A,"∋","\\owns");f(m,b,z0,".","\\ldotp");f(m,b,z0,"⋅","\\cdotp");f(m,b,I,"#","\\#");f(U,b,I,"#","\\#");f(m,b,I,"&","\\&");f(U,b,I,"&","\\&");f(m,b,I,"ℵ","\\aleph",!0);f(m,b,I,"∀","\\forall",!0);f(m,b,I,"ℏ","\\hbar",!0);f(m,b,I,"∃","\\exists",!0);f(m,b,I,"∇","\\nabla",!0);f(m,b,I,"♭","\\flat",!0);f(m,b,I,"ℓ","\\ell",!0);f(m,b,I,"♮","\\natural",!0);f(m,b,I,"♣","\\clubsuit",!0);f(m,b,I,"℘","\\wp",!0);f(m,b,I,"♯","\\sharp",!0);f(m,b,I,"♢","\\diamondsuit",!0);f(m,b,I,"ℜ","\\Re",!0);f(m,b,I,"♡","\\heartsuit",!0);f(m,b,I,"ℑ","\\Im",!0);f(m,b,I,"♠","\\spadesuit",!0);f(m,b,I,"§","\\S",!0);f(U,b,I,"§","\\S");f(m,b,I,"¶","\\P",!0);f(U,b,I,"¶","\\P");f(m,b,I,"†","\\dag");f(U,b,I,"†","\\dag");f(U,b,I,"†","\\textdagger");f(m,b,I,"‡","\\ddag");f(U,b,I,"‡","\\ddag");f(U,b,I,"‡","\\textdaggerdbl");f(m,b,rt,"⎱","\\rmoustache",!0);f(m,b,ft,"⎰","\\lmoustache",!0);f(m,b,rt,"⟯","\\rgroup",!0);f(m,b,ft,"⟮","\\lgroup",!0);f(m,b,te,"∓","\\mp",!0);f(m,b,te,"⊖","\\ominus",!0);f(m,b,te,"⊎","\\uplus",!0);f(m,b,te,"⊓","\\sqcap",!0);f(m,b,te,"∗","\\ast");f(m,b,te,"⊔","\\sqcup",!0);f(m,b,te,"◯","\\bigcirc",!0);f(m,b,te,"∙","\\bullet",!0);f(m,b,te,"‡","\\ddagger");f(m,b,te,"≀","\\wr",!0);f(m,b,te,"⨿","\\amalg");f(m,b,te,"&","\\And");f(m,b,A,"⟵","\\longleftarrow",!0);f(m,b,A,"⇐","\\Leftarrow",!0);f(m,b,A,"⟸","\\Longleftarrow",!0);f(m,b,A,"⟶","\\longrightarrow",!0);f(m,b,A,"⇒","\\Rightarrow",!0);f(m,b,A,"⟹","\\Longrightarrow",!0);f(m,b,A,"↔","\\leftrightarrow",!0);f(m,b,A,"⟷","\\longleftrightarrow",!0);f(m,b,A,"⇔","\\Leftrightarrow",!0);f(m,b,A,"⟺","\\Longleftrightarrow",!0);f(m,b,A,"↦","\\mapsto",!0);f(m,b,A,"⟼","\\longmapsto",!0);f(m,b,A,"↗","\\nearrow",!0);f(m,b,A,"↩","\\hookleftarrow",!0);f(m,b,A,"↪","\\hookrightarrow",!0);f(m,b,A,"↘","\\searrow",!0);f(m,b,A,"↼","\\leftharpoonup",!0);f(m,b,A,"⇀","\\rightharpoonup",!0);f(m,b,A,"↙","\\swarrow",!0);f(m,b,A,"↽","\\leftharpoondown",!0);f(m,b,A,"⇁","\\rightharpoondown",!0);f(m,b,A,"↖","\\nwarrow",!0);f(m,b,A,"⇌","\\rightleftharpoons",!0);f(m,k,A,"≮","\\nless",!0);f(m,k,A,"","\\@nleqslant");f(m,k,A,"","\\@nleqq");f(m,k,A,"⪇","\\lneq",!0);f(m,k,A,"≨","\\lneqq",!0);f(m,k,A,"","\\@lvertneqq");f(m,k,A,"⋦","\\lnsim",!0);f(m,k,A,"⪉","\\lnapprox",!0);f(m,k,A,"⊀","\\nprec",!0);f(m,k,A,"⋠","\\npreceq",!0);f(m,k,A,"⋨","\\precnsim",!0);f(m,k,A,"⪹","\\precnapprox",!0);f(m,k,A,"≁","\\nsim",!0);f(m,k,A,"","\\@nshortmid");f(m,k,A,"∤","\\nmid",!0);f(m,k,A,"⊬","\\nvdash",!0);f(m,k,A,"⊭","\\nvDash",!0);f(m,k,A,"⋪","\\ntriangleleft");f(m,k,A,"⋬","\\ntrianglelefteq",!0);f(m,k,A,"⊊","\\subsetneq",!0);f(m,k,A,"","\\@varsubsetneq");f(m,k,A,"⫋","\\subsetneqq",!0);f(m,k,A,"","\\@varsubsetneqq");f(m,k,A,"≯","\\ngtr",!0);f(m,k,A,"","\\@ngeqslant");f(m,k,A,"","\\@ngeqq");f(m,k,A,"⪈","\\gneq",!0);f(m,k,A,"≩","\\gneqq",!0);f(m,k,A,"","\\@gvertneqq");f(m,k,A,"⋧","\\gnsim",!0);f(m,k,A,"⪊","\\gnapprox",!0);f(m,k,A,"⊁","\\nsucc",!0);f(m,k,A,"⋡","\\nsucceq",!0);f(m,k,A,"⋩","\\succnsim",!0);f(m,k,A,"⪺","\\succnapprox",!0);f(m,k,A,"≆","\\ncong",!0);f(m,k,A,"","\\@nshortparallel");f(m,k,A,"∦","\\nparallel",!0);f(m,k,A,"⊯","\\nVDash",!0);f(m,k,A,"⋫","\\ntriangleright");f(m,k,A,"⋭","\\ntrianglerighteq",!0);f(m,k,A,"","\\@nsupseteqq");f(m,k,A,"⊋","\\supsetneq",!0);f(m,k,A,"","\\@varsupsetneq");f(m,k,A,"⫌","\\supsetneqq",!0);f(m,k,A,"","\\@varsupsetneqq");f(m,k,A,"⊮","\\nVdash",!0);f(m,k,A,"⪵","\\precneqq",!0);f(m,k,A,"⪶","\\succneqq",!0);f(m,k,A,"","\\@nsubseteqq");f(m,k,te,"⊴","\\unlhd");f(m,k,te,"⊵","\\unrhd");f(m,k,A,"↚","\\nleftarrow",!0);f(m,k,A,"↛","\\nrightarrow",!0);f(m,k,A,"⇍","\\nLeftarrow",!0);f(m,k,A,"⇏","\\nRightarrow",!0);f(m,k,A,"↮","\\nleftrightarrow",!0);f(m,k,A,"⇎","\\nLeftrightarrow",!0);f(m,k,A,"△","\\vartriangle");f(m,k,I,"ℏ","\\hslash");f(m,k,I,"▽","\\triangledown");f(m,k,I,"◊","\\lozenge");f(m,k,I,"Ⓢ","\\circledS");f(m,k,I,"®","\\circledR");f(U,k,I,"®","\\circledR");f(m,k,I,"∡","\\measuredangle",!0);f(m,k,I,"∄","\\nexists");f(m,k,I,"℧","\\mho");f(m,k,I,"Ⅎ","\\Finv",!0);f(m,k,I,"⅁","\\Game",!0);f(m,k,I,"‵","\\backprime");f(m,k,I,"▲","\\blacktriangle");f(m,k,I,"▼","\\blacktriangledown");f(m,k,I,"■","\\blacksquare");f(m,k,I,"⧫","\\blacklozenge");f(m,k,I,"★","\\bigstar");f(m,k,I,"∢","\\sphericalangle",!0);f(m,k,I,"∁","\\complement",!0);f(m,k,I,"ð","\\eth",!0);f(U,b,I,"ð","ð");f(m,k,I,"╱","\\diagup");f(m,k,I,"╲","\\diagdown");f(m,k,I,"□","\\square");f(m,k,I,"□","\\Box");f(m,k,I,"◊","\\Diamond");f(m,k,I,"¥","\\yen",!0);f(U,k,I,"¥","\\yen",!0);f(m,k,I,"✓","\\checkmark",!0);f(U,k,I,"✓","\\checkmark");f(m,k,I,"ℶ","\\beth",!0);f(m,k,I,"ℸ","\\daleth",!0);f(m,k,I,"ℷ","\\gimel",!0);f(m,k,I,"ϝ","\\digamma",!0);f(m,k,I,"ϰ","\\varkappa");f(m,k,ft,"┌","\\@ulcorner",!0);f(m,k,rt,"┐","\\@urcorner",!0);f(m,k,ft,"└","\\@llcorner",!0);f(m,k,rt,"┘","\\@lrcorner",!0);f(m,k,A,"≦","\\leqq",!0);f(m,k,A,"⩽","\\leqslant",!0);f(m,k,A,"⪕","\\eqslantless",!0);f(m,k,A,"≲","\\lesssim",!0);f(m,k,A,"⪅","\\lessapprox",!0);f(m,k,A,"≊","\\approxeq",!0);f(m,k,te,"⋖","\\lessdot");f(m,k,A,"⋘","\\lll",!0);f(m,k,A,"≶","\\lessgtr",!0);f(m,k,A,"⋚","\\lesseqgtr",!0);f(m,k,A,"⪋","\\lesseqqgtr",!0);f(m,k,A,"≑","\\doteqdot");f(m,k,A,"≓","\\risingdotseq",!0);f(m,k,A,"≒","\\fallingdotseq",!0);f(m,k,A,"∽","\\backsim",!0);f(m,k,A,"⋍","\\backsimeq",!0);f(m,k,A,"⫅","\\subseteqq",!0);f(m,k,A,"⋐","\\Subset",!0);f(m,k,A,"⊏","\\sqsubset",!0);f(m,k,A,"≼","\\preccurlyeq",!0);f(m,k,A,"⋞","\\curlyeqprec",!0);f(m,k,A,"≾","\\precsim",!0);f(m,k,A,"⪷","\\precapprox",!0);f(m,k,A,"⊲","\\vartriangleleft");f(m,k,A,"⊴","\\trianglelefteq");f(m,k,A,"⊨","\\vDash",!0);f(m,k,A,"⊪","\\Vvdash",!0);f(m,k,A,"⌣","\\smallsmile");f(m,k,A,"⌢","\\smallfrown");f(m,k,A,"≏","\\bumpeq",!0);f(m,k,A,"≎","\\Bumpeq",!0);f(m,k,A,"≧","\\geqq",!0);f(m,k,A,"⩾","\\geqslant",!0);f(m,k,A,"⪖","\\eqslantgtr",!0);f(m,k,A,"≳","\\gtrsim",!0);f(m,k,A,"⪆","\\gtrapprox",!0);f(m,k,te,"⋗","\\gtrdot");f(m,k,A,"⋙","\\ggg",!0);f(m,k,A,"≷","\\gtrless",!0);f(m,k,A,"⋛","\\gtreqless",!0);f(m,k,A,"⪌","\\gtreqqless",!0);f(m,k,A,"≖","\\eqcirc",!0);f(m,k,A,"≗","\\circeq",!0);f(m,k,A,"≜","\\triangleq",!0);f(m,k,A,"∼","\\thicksim");f(m,k,A,"≈","\\thickapprox");f(m,k,A,"⫆","\\supseteqq",!0);f(m,k,A,"⋑","\\Supset",!0);f(m,k,A,"⊐","\\sqsupset",!0);f(m,k,A,"≽","\\succcurlyeq",!0);f(m,k,A,"⋟","\\curlyeqsucc",!0);f(m,k,A,"≿","\\succsim",!0);f(m,k,A,"⪸","\\succapprox",!0);f(m,k,A,"⊳","\\vartriangleright");f(m,k,A,"⊵","\\trianglerighteq");f(m,k,A,"⊩","\\Vdash",!0);f(m,k,A,"∣","\\shortmid");f(m,k,A,"∥","\\shortparallel");f(m,k,A,"≬","\\between",!0);f(m,k,A,"⋔","\\pitchfork",!0);f(m,k,A,"∝","\\varpropto");f(m,k,A,"◀","\\blacktriangleleft");f(m,k,A,"∴","\\therefore",!0);f(m,k,A,"∍","\\backepsilon");f(m,k,A,"▶","\\blacktriangleright");f(m,k,A,"∵","\\because",!0);f(m,k,A,"⋘","\\llless");f(m,k,A,"⋙","\\gggtr");f(m,k,te,"⊲","\\lhd");f(m,k,te,"⊳","\\rhd");f(m,k,A,"≂","\\eqsim",!0);f(m,b,A,"⋈","\\Join");f(m,k,A,"≑","\\Doteq",!0);f(m,k,te,"∔","\\dotplus",!0);f(m,k,te,"∖","\\smallsetminus");f(m,k,te,"⋒","\\Cap",!0);f(m,k,te,"⋓","\\Cup",!0);f(m,k,te,"⩞","\\doublebarwedge",!0);f(m,k,te,"⊟","\\boxminus",!0);f(m,k,te,"⊞","\\boxplus",!0);f(m,k,te,"⋇","\\divideontimes",!0);f(m,k,te,"⋉","\\ltimes",!0);f(m,k,te,"⋊","\\rtimes",!0);f(m,k,te,"⋋","\\leftthreetimes",!0);f(m,k,te,"⋌","\\rightthreetimes",!0);f(m,k,te,"⋏","\\curlywedge",!0);f(m,k,te,"⋎","\\curlyvee",!0);f(m,k,te,"⊝","\\circleddash",!0);f(m,k,te,"⊛","\\circledast",!0);f(m,k,te,"⋅","\\centerdot");f(m,k,te,"⊺","\\intercal",!0);f(m,k,te,"⋒","\\doublecap");f(m,k,te,"⋓","\\doublecup");f(m,k,te,"⊠","\\boxtimes",!0);f(m,k,A,"⇢","\\dashrightarrow",!0);f(m,k,A,"⇠","\\dashleftarrow",!0);f(m,k,A,"⇇","\\leftleftarrows",!0);f(m,k,A,"⇆","\\leftrightarrows",!0);f(m,k,A,"⇚","\\Lleftarrow",!0);f(m,k,A,"↞","\\twoheadleftarrow",!0);f(m,k,A,"↢","\\leftarrowtail",!0);f(m,k,A,"↫","\\looparrowleft",!0);f(m,k,A,"⇋","\\leftrightharpoons",!0);f(m,k,A,"↶","\\curvearrowleft",!0);f(m,k,A,"↺","\\circlearrowleft",!0);f(m,k,A,"↰","\\Lsh",!0);f(m,k,A,"⇈","\\upuparrows",!0);f(m,k,A,"↿","\\upharpoonleft",!0);f(m,k,A,"⇃","\\downharpoonleft",!0);f(m,b,A,"⊶","\\origof",!0);f(m,b,A,"⊷","\\imageof",!0);f(m,k,A,"⊸","\\multimap",!0);f(m,k,A,"↭","\\leftrightsquigarrow",!0);f(m,k,A,"⇉","\\rightrightarrows",!0);f(m,k,A,"⇄","\\rightleftarrows",!0);f(m,k,A,"↠","\\twoheadrightarrow",!0);f(m,k,A,"↣","\\rightarrowtail",!0);f(m,k,A,"↬","\\looparrowright",!0);f(m,k,A,"↷","\\curvearrowright",!0);f(m,k,A,"↻","\\circlearrowright",!0);f(m,k,A,"↱","\\Rsh",!0);f(m,k,A,"⇊","\\downdownarrows",!0);f(m,k,A,"↾","\\upharpoonright",!0);f(m,k,A,"⇂","\\downharpoonright",!0);f(m,k,A,"⇝","\\rightsquigarrow",!0);f(m,k,A,"⇝","\\leadsto");f(m,k,A,"⇛","\\Rrightarrow",!0);f(m,k,A,"↾","\\restriction");f(m,b,I,"‘","`");f(m,b,I,"$","\\$");f(U,b,I,"$","\\$");f(U,b,I,"$","\\textdollar");f(m,b,I,"%","\\%");f(U,b,I,"%","\\%");f(m,b,I,"_","\\_");f(U,b,I,"_","\\_");f(U,b,I,"_","\\textunderscore");f(m,b,I,"∠","\\angle",!0);f(m,b,I,"∞","\\infty",!0);f(m,b,I,"′","\\prime");f(m,b,I,"△","\\triangle");f(m,b,I,"Γ","\\Gamma",!0);f(m,b,I,"Δ","\\Delta",!0);f(m,b,I,"Θ","\\Theta",!0);f(m,b,I,"Λ","\\Lambda",!0);f(m,b,I,"Ξ","\\Xi",!0);f(m,b,I,"Π","\\Pi",!0);f(m,b,I,"Σ","\\Sigma",!0);f(m,b,I,"Υ","\\Upsilon",!0);f(m,b,I,"Φ","\\Phi",!0);f(m,b,I,"Ψ","\\Psi",!0);f(m,b,I,"Ω","\\Omega",!0);f(m,b,I,"A","Α");f(m,b,I,"B","Β");f(m,b,I,"E","Ε");f(m,b,I,"Z","Ζ");f(m,b,I,"H","Η");f(m,b,I,"I","Ι");f(m,b,I,"K","Κ");f(m,b,I,"M","Μ");f(m,b,I,"N","Ν");f(m,b,I,"O","Ο");f(m,b,I,"P","Ρ");f(m,b,I,"T","Τ");f(m,b,I,"X","Χ");f(m,b,I,"¬","\\neg",!0);f(m,b,I,"¬","\\lnot");f(m,b,I,"⊤","\\top");f(m,b,I,"⊥","\\bot");f(m,b,I,"∅","\\emptyset");f(m,k,I,"∅","\\varnothing");f(m,b,ie,"α","\\alpha",!0);f(m,b,ie,"β","\\beta",!0);f(m,b,ie,"γ","\\gamma",!0);f(m,b,ie,"δ","\\delta",!0);f(m,b,ie,"ϵ","\\epsilon",!0);f(m,b,ie,"ζ","\\zeta",!0);f(m,b,ie,"η","\\eta",!0);f(m,b,ie,"θ","\\theta",!0);f(m,b,ie,"ι","\\iota",!0);f(m,b,ie,"κ","\\kappa",!0);f(m,b,ie,"λ","\\lambda",!0);f(m,b,ie,"μ","\\mu",!0);f(m,b,ie,"ν","\\nu",!0);f(m,b,ie,"ξ","\\xi",!0);f(m,b,ie,"ο","\\omicron",!0);f(m,b,ie,"π","\\pi",!0);f(m,b,ie,"ρ","\\rho",!0);f(m,b,ie,"σ","\\sigma",!0);f(m,b,ie,"τ","\\tau",!0);f(m,b,ie,"υ","\\upsilon",!0);f(m,b,ie,"ϕ","\\phi",!0);f(m,b,ie,"χ","\\chi",!0);f(m,b,ie,"ψ","\\psi",!0);f(m,b,ie,"ω","\\omega",!0);f(m,b,ie,"ε","\\varepsilon",!0);f(m,b,ie,"ϑ","\\vartheta",!0);f(m,b,ie,"ϖ","\\varpi",!0);f(m,b,ie,"ϱ","\\varrho",!0);f(m,b,ie,"ς","\\varsigma",!0);f(m,b,ie,"φ","\\varphi",!0);f(m,b,te,"∗","*",!0);f(m,b,te,"+","+");f(m,b,te,"−","-",!0);f(m,b,te,"⋅","\\cdot",!0);f(m,b,te,"∘","\\circ",!0);f(m,b,te,"÷","\\div",!0);f(m,b,te,"±","\\pm",!0);f(m,b,te,"×","\\times",!0);f(m,b,te,"∩","\\cap",!0);f(m,b,te,"∪","\\cup",!0);f(m,b,te,"∖","\\setminus",!0);f(m,b,te,"∧","\\land");f(m,b,te,"∨","\\lor");f(m,b,te,"∧","\\wedge",!0);f(m,b,te,"∨","\\vee",!0);f(m,b,I,"√","\\surd");f(m,b,ft,"⟨","\\langle",!0);f(m,b,ft,"∣","\\lvert");f(m,b,ft,"∥","\\lVert");f(m,b,rt,"?","?");f(m,b,rt,"!","!");f(m,b,rt,"⟩","\\rangle",!0);f(m,b,rt,"∣","\\rvert");f(m,b,rt,"∥","\\rVert");f(m,b,A,"=","=");f(m,b,A,":",":");f(m,b,A,"≈","\\approx",!0);f(m,b,A,"≅","\\cong",!0);f(m,b,A,"≥","\\ge");f(m,b,A,"≥","\\geq",!0);f(m,b,A,"←","\\gets");f(m,b,A,">","\\gt",!0);f(m,b,A,"∈","\\in",!0);f(m,b,A,"","\\@not");f(m,b,A,"⊂","\\subset",!0);f(m,b,A,"⊃","\\supset",!0);f(m,b,A,"⊆","\\subseteq",!0);f(m,b,A,"⊇","\\supseteq",!0);f(m,k,A,"⊈","\\nsubseteq",!0);f(m,k,A,"⊉","\\nsupseteq",!0);f(m,b,A,"⊨","\\models");f(m,b,A,"←","\\leftarrow",!0);f(m,b,A,"≤","\\le");f(m,b,A,"≤","\\leq",!0);f(m,b,A,"<","\\lt",!0);f(m,b,A,"→","\\rightarrow",!0);f(m,b,A,"→","\\to");f(m,k,A,"≱","\\ngeq",!0);f(m,k,A,"≰","\\nleq",!0);f(m,b,Xt," ","\\ ");f(m,b,Xt," ","\\space");f(m,b,Xt," ","\\nobreakspace");f(U,b,Xt," ","\\ ");f(U,b,Xt," "," ");f(U,b,Xt," ","\\space");f(U,b,Xt," ","\\nobreakspace");f(m,b,Xt,null,"\\nobreak");f(m,b,Xt,null,"\\allowbreak");f(m,b,z0,",",",");f(m,b,z0,";",";");f(m,k,te,"⊼","\\barwedge",!0);f(m,k,te,"⊻","\\veebar",!0);f(m,b,te,"⊙","\\odot",!0);f(m,b,te,"⊕","\\oplus",!0);f(m,b,te,"⊗","\\otimes",!0);f(m,b,I,"∂","\\partial",!0);f(m,b,te,"⊘","\\oslash",!0);f(m,k,te,"⊚","\\circledcirc",!0);f(m,k,te,"⊡","\\boxdot",!0);f(m,b,te,"△","\\bigtriangleup");f(m,b,te,"▽","\\bigtriangledown");f(m,b,te,"†","\\dagger");f(m,b,te,"⋄","\\diamond");f(m,b,te,"⋆","\\star");f(m,b,te,"◃","\\triangleleft");f(m,b,te,"▹","\\triangleright");f(m,b,ft,"{","\\{");f(U,b,I,"{","\\{");f(U,b,I,"{","\\textbraceleft");f(m,b,rt,"}","\\}");f(U,b,I,"}","\\}");f(U,b,I,"}","\\textbraceright");f(m,b,ft,"{","\\lbrace");f(m,b,rt,"}","\\rbrace");f(m,b,ft,"[","\\lbrack",!0);f(U,b,I,"[","\\lbrack",!0);f(m,b,rt,"]","\\rbrack",!0);f(U,b,I,"]","\\rbrack",!0);f(m,b,ft,"(","\\lparen",!0);f(m,b,rt,")","\\rparen",!0);f(U,b,I,"<","\\textless",!0);f(U,b,I,">","\\textgreater",!0);f(m,b,ft,"⌊","\\lfloor",!0);f(m,b,rt,"⌋","\\rfloor",!0);f(m,b,ft,"⌈","\\lceil",!0);f(m,b,rt,"⌉","\\rceil",!0);f(m,b,I,"\\","\\backslash");f(m,b,I,"∣","|");f(m,b,I,"∣","\\vert");f(U,b,I,"|","\\textbar",!0);f(m,b,I,"∥","\\|");f(m,b,I,"∥","\\Vert");f(U,b,I,"∥","\\textbardbl");f(U,b,I,"~","\\textasciitilde");f(U,b,I,"\\","\\textbackslash");f(U,b,I,"^","\\textasciicircum");f(m,b,A,"↑","\\uparrow",!0);f(m,b,A,"⇑","\\Uparrow",!0);f(m,b,A,"↓","\\downarrow",!0);f(m,b,A,"⇓","\\Downarrow",!0);f(m,b,A,"↕","\\updownarrow",!0);f(m,b,A,"⇕","\\Updownarrow",!0);f(m,b,ze,"∐","\\coprod");f(m,b,ze,"⋁","\\bigvee");f(m,b,ze,"⋀","\\bigwedge");f(m,b,ze,"⨄","\\biguplus");f(m,b,ze,"⋂","\\bigcap");f(m,b,ze,"⋃","\\bigcup");f(m,b,ze,"∫","\\int");f(m,b,ze,"∫","\\intop");f(m,b,ze,"∬","\\iint");f(m,b,ze,"∭","\\iiint");f(m,b,ze,"∏","\\prod");f(m,b,ze,"∑","\\sum");f(m,b,ze,"⨂","\\bigotimes");f(m,b,ze,"⨁","\\bigoplus");f(m,b,ze,"⨀","\\bigodot");f(m,b,ze,"∮","\\oint");f(m,b,ze,"∯","\\oiint");f(m,b,ze,"∰","\\oiiint");f(m,b,ze,"⨆","\\bigsqcup");f(m,b,ze,"∫","\\smallint");f(U,b,Qr,"…","\\textellipsis");f(m,b,Qr,"…","\\mathellipsis");f(U,b,Qr,"…","\\ldots",!0);f(m,b,Qr,"…","\\ldots",!0);f(m,b,Qr,"⋯","\\@cdots",!0);f(m,b,Qr,"⋱","\\ddots",!0);f(m,b,I,"⋮","\\varvdots");f(U,b,I,"⋮","\\varvdots");f(m,b,_e,"ˊ","\\acute");f(m,b,_e,"ˋ","\\grave");f(m,b,_e,"¨","\\ddot");f(m,b,_e,"~","\\tilde");f(m,b,_e,"ˉ","\\bar");f(m,b,_e,"˘","\\breve");f(m,b,_e,"ˇ","\\check");f(m,b,_e,"^","\\hat");f(m,b,_e,"⃗","\\vec");f(m,b,_e,"˙","\\dot");f(m,b,_e,"˚","\\mathring");f(m,b,ie,"","\\@imath");f(m,b,ie,"","\\@jmath");f(m,b,I,"ı","ı");f(m,b,I,"ȷ","ȷ");f(U,b,I,"ı","\\i",!0);f(U,b,I,"ȷ","\\j",!0);f(U,b,I,"ß","\\ss",!0);f(U,b,I,"æ","\\ae",!0);f(U,b,I,"œ","\\oe",!0);f(U,b,I,"ø","\\o",!0);f(U,b,I,"Æ","\\AE",!0);f(U,b,I,"Œ","\\OE",!0);f(U,b,I,"Ø","\\O",!0);f(U,b,_e,"ˊ","\\'");f(U,b,_e,"ˋ","\\`");f(U,b,_e,"ˆ","\\^");f(U,b,_e,"˜","\\~");f(U,b,_e,"ˉ","\\=");f(U,b,_e,"˘","\\u");f(U,b,_e,"˙","\\.");f(U,b,_e,"¸","\\c");f(U,b,_e,"˚","\\r");f(U,b,_e,"ˇ","\\v");f(U,b,_e,"¨",'\\"');f(U,b,_e,"˝","\\H");f(U,b,_e,"◯","\\textcircled");var To={"--":!0,"---":!0,"``":!0,"''":!0};f(U,b,I,"–","--",!0);f(U,b,I,"–","\\textendash");f(U,b,I,"—","---",!0);f(U,b,I,"—","\\textemdash");f(U,b,I,"‘","`",!0);f(U,b,I,"‘","\\textquoteleft");f(U,b,I,"’","'",!0);f(U,b,I,"’","\\textquoteright");f(U,b,I,"“","``",!0);f(U,b,I,"“","\\textquotedblleft");f(U,b,I,"”","''",!0);f(U,b,I,"”","\\textquotedblright");f(m,b,I,"°","\\degree",!0);f(U,b,I,"°","\\degree");f(U,b,I,"°","\\textdegree",!0);f(m,b,I,"£","\\pounds");f(m,b,I,"£","\\mathsterling",!0);f(U,b,I,"£","\\pounds");f(U,b,I,"£","\\textsterling",!0);f(m,k,I,"✠","\\maltese");f(U,k,I,"✠","\\maltese");var Qs='0123456789/@."';for(var da=0;da<Qs.length;da++){var Ks=Qs.charAt(da);f(m,b,I,Ks,Ks)}var Zs='0123456789!@*()-=+";:?/.,';for(var fa=0;fa<Zs.length;fa++){var Js=Zs.charAt(fa);f(U,b,I,Js,Js)}var y0="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(var ma=0;ma<y0.length;ma++){var Zn=y0.charAt(ma);f(m,b,ie,Zn,Zn),f(U,b,I,Zn,Zn)}f(m,k,I,"C","ℂ");f(U,k,I,"C","ℂ");f(m,k,I,"H","ℍ");f(U,k,I,"H","ℍ");f(m,k,I,"N","ℕ");f(U,k,I,"N","ℕ");f(m,k,I,"P","ℙ");f(U,k,I,"P","ℙ");f(m,k,I,"Q","ℚ");f(U,k,I,"Q","ℚ");f(m,k,I,"R","ℝ");f(U,k,I,"R","ℝ");f(m,k,I,"Z","ℤ");f(U,k,I,"Z","ℤ");f(m,b,ie,"h","ℎ");f(U,b,ie,"h","ℎ");var se="";for(var Ke=0;Ke<y0.length;Ke++){var Re=y0.charAt(Ke);se=String.fromCharCode(55349,56320+Ke),f(m,b,ie,Re,se),f(U,b,I,Re,se),se=String.fromCharCode(55349,56372+Ke),f(m,b,ie,Re,se),f(U,b,I,Re,se),se=String.fromCharCode(55349,56424+Ke),f(m,b,ie,Re,se),f(U,b,I,Re,se),se=String.fromCharCode(55349,56580+Ke),f(m,b,ie,Re,se),f(U,b,I,Re,se),se=String.fromCharCode(55349,56684+Ke),f(m,b,ie,Re,se),f(U,b,I,Re,se),se=String.fromCharCode(55349,56736+Ke),f(m,b,ie,Re,se),f(U,b,I,Re,se),se=String.fromCharCode(55349,56788+Ke),f(m,b,ie,Re,se),f(U,b,I,Re,se),se=String.fromCharCode(55349,56840+Ke),f(m,b,ie,Re,se),f(U,b,I,Re,se),se=String.fromCharCode(55349,56944+Ke),f(m,b,ie,Re,se),f(U,b,I,Re,se),Ke<26&&(se=String.fromCharCode(55349,56632+Ke),f(m,b,ie,Re,se),f(U,b,I,Re,se),se=String.fromCharCode(55349,56476+Ke),f(m,b,ie,Re,se),f(U,b,I,Re,se))}se="𝕜";f(m,b,ie,"k",se);f(U,b,I,"k",se);for(var gr=0;gr<10;gr++){var Jt=gr.toString();se=String.fromCharCode(55349,57294+gr),f(m,b,ie,Jt,se),f(U,b,I,Jt,se),se=String.fromCharCode(55349,57314+gr),f(m,b,ie,Jt,se),f(U,b,I,Jt,se),se=String.fromCharCode(55349,57324+gr),f(m,b,ie,Jt,se),f(U,b,I,Jt,se),se=String.fromCharCode(55349,57334+gr),f(m,b,ie,Jt,se),f(U,b,I,Jt,se)}var Za="ÐÞþ";for(var pa=0;pa<Za.length;pa++){var Jn=Za.charAt(pa);f(m,b,ie,Jn,Jn),f(U,b,I,Jn,Jn)}var e0=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],eu=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Nf=function(t,r){var n=t.charCodeAt(0),a=t.charCodeAt(1),i=(n-55296)*1024+(a-56320)+65536,s=r==="math"?0:1;if(119808<=i&&i<120484){var u=Math.floor((i-119808)/26);return[e0[u][2],e0[u][s]]}else if(120782<=i&&i<=120831){var l=Math.floor((i-120782)/10);return[eu[l][2],eu[l][s]]}else{if(i===120485||i===120486)return[e0[0][2],e0[0][s]];if(120486<i&&i<120782)return["",""];throw new V("Unsupported character: "+t)}},H0=function(t,r,n){return Ae[n][t]&&Ae[n][t].replace&&(t=Ae[n][t].replace),{value:t,metrics:Li(t,r,n)}},Ze=function(t,r,n,a,i){var s=H0(t,r,n),u=s.metrics;t=s.value;var l;if(u){var o=u.italic;(n==="text"||a&&a.font==="mathit")&&(o=0),l=new Et(t,u.height,u.depth,o,u.skew,u.width,i)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+t+"' in style '"+r+"' and mode '"+n+"'")),l=new Et(t,0,0,0,0,0,i);if(a){l.maxFontSize=a.sizeMultiplier,a.style.isTight()&&l.classes.push("mtight");var h=a.getColor();h&&(l.style.color=h)}return l},Mi=function(t,r,n,a){return a===void 0&&(a=[]),n.font==="boldsymbol"&&H0(t,"Main-Bold",r).metrics?Ze(t,"Main-Bold",r,n,a.concat(["mathbf"])):t==="\\"||Ae[r][t].font==="main"?Ze(t,"Main-Regular",r,n,a):Ze(t,"AMS-Regular",r,n,a.concat(["amsrm"]))},If=function(t,r,n,a,i){return i!=="textord"&&H0(t,"Math-BoldItalic",r).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},U0=function(t,r,n){var a=t.mode,i=t.text,s=["mord"],u=a==="math"||a==="text"&&r.font,l=u?r.font:r.fontFamily,o="",h="";if(i.charCodeAt(0)===55349&&([o,h]=Nf(i,a)),o.length>0)return Ze(i,o,a,r,s.concat(h));if(l){var d,p;if(l==="boldsymbol"){var g=If(i,a,r,s,n);d=g.fontName,p=[g.fontClass]}else u?(d=Ja[l].fontName,p=[l]):(d=t0(l,r.fontWeight,r.fontShape),p=[l,r.fontWeight,r.fontShape]);if(H0(i,d,a).metrics)return Ze(i,d,a,r,s.concat(p));if(To.hasOwnProperty(i)&&d.slice(0,10)==="Typewriter"){for(var E=[],y=0;y<i.length;y++)E.push(Ze(i[y],d,a,r,s.concat(p)));return Qt(E)}}if(n==="mathord")return Ze(i,"Math-Italic",a,r,s.concat(["mathnormal"]));if(n==="textord"){var N=Ae[a][i]&&Ae[a][i].font;if(N==="ams"){var S=t0("amsrm",r.fontWeight,r.fontShape);return Ze(i,S,a,r,s.concat("amsrm",r.fontWeight,r.fontShape))}else if(N==="main"||!N){var D=t0("textrm",r.fontWeight,r.fontShape);return Ze(i,D,a,r,s.concat(r.fontWeight,r.fontShape))}else{var O=t0(N,r.fontWeight,r.fontShape);return Ze(i,O,a,r,s.concat(O,r.fontWeight,r.fontShape))}}else throw new Error("unexpected type: "+n+" in makeOrd")},Df=(e,t)=>{if(sr(e.classes)!==sr(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize||e.italic!==0&&e.hasClass("mathnormal"))return!1;if(e.classes.length===1){var r=e.classes[0];if(r==="mbin"||r==="mord")return!1}for(var n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;for(var a in t.style)if(t.style.hasOwnProperty(a)&&e.style[a]!==t.style[a])return!1;return!0},xo=e=>{for(var t=0;t<e.length-1;t++){var r=e[t],n=e[t+1];r instanceof Et&&n instanceof Et&&Df(r,n)&&(r.text+=n.text,r.height=Math.max(r.height,n.height),r.depth=Math.max(r.depth,n.depth),r.italic=n.italic,e.splice(t+1,1),t--)}return e},Pi=function(t){for(var r=0,n=0,a=0,i=0;i<t.children.length;i++){var s=t.children[i];s.height>r&&(r=s.height),s.depth>n&&(n=s.depth),s.maxFontSize>a&&(a=s.maxFontSize)}t.height=r,t.depth=n,t.maxFontSize=a},j=function(t,r,n,a){var i=new zn(t,r,n,a);return Pi(i),i},lr=(e,t,r,n)=>new zn(e,t,r,n),Yr=function(t,r,n){var a=j([t],[],r);return a.height=Math.max(n||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),a.style.borderBottomWidth=K(a.height),a.maxFontSize=1,a},Rf=function(t,r,n,a){var i=new Oi(t,r,n,a);return Pi(i),i},Qt=function(t){var r=new Fn(t);return Pi(r),r},Gr=function(t,r){return t instanceof Fn?j([],[t],r):t},Lf=function(t){if(t.positionType==="individualShift"){for(var r=t.children,n=[r[0]],a=-r[0].shift-r[0].elem.depth,i=a,s=1;s<r.length;s++){var u=-r[s].shift-i-r[s].elem.depth,l=u-(r[s-1].elem.height+r[s-1].elem.depth);i=i+u,n.push({type:"kern",size:l}),n.push(r[s])}return{children:n,depth:a}}var o;if(t.positionType==="top"){for(var h=t.positionData,d=0;d<t.children.length;d++){var p=t.children[d];h-=p.type==="kern"?p.size:p.elem.height+p.elem.depth}o=h}else if(t.positionType==="bottom")o=-t.positionData;else{var g=t.children[0];if(g.type!=="elem")throw new Error('First child must have type "elem".');if(t.positionType==="shift")o=-g.elem.depth-t.positionData;else if(t.positionType==="firstBaseline")o=-g.elem.depth;else throw new Error("Invalid positionType "+t.positionType+".")}return{children:t.children,depth:o}},Ee=function(t,r){for(var{children:n,depth:a}=Lf(t),i=0,s=0;s<n.length;s++){var u=n[s];if(u.type==="elem"){var l=u.elem;i=Math.max(i,l.maxFontSize,l.height)}}i+=2;var o=j(["pstrut"],[]);o.style.height=K(i);for(var h=[],d=a,p=a,g=a,E=0;E<n.length;E++){var y=n[E];if(y.type==="kern")g+=y.size;else{var N=y.elem,S=y.wrapperClasses||[],D=y.wrapperStyle||{},O=j(S,[o,N],void 0,D);O.style.top=K(-i-g-N.depth),y.marginLeft&&(O.style.marginLeft=y.marginLeft),y.marginRight&&(O.style.marginRight=y.marginRight),h.push(O),g+=N.height+N.depth}d=Math.min(d,g),p=Math.max(p,g)}var H=j(["vlist"],h);H.style.height=K(p);var G;if(d<0){var R=j([],[]),X=j(["vlist"],[R]);X.style.height=K(-d);var re=j(["vlist-s"],[new Et("")]);G=[j(["vlist-r"],[H,re]),j(["vlist-r"],[X])]}else G=[j(["vlist-r"],[H])];var Q=j(["vlist-t"],G);return G.length===2&&Q.classes.push("vlist-t2"),Q.height=p,Q.depth=-d,Q},yo=(e,t)=>{var r=j(["mspace"],[],t),n=Ie(e,t);return r.style.marginRight=K(n),r},t0=function(t,r,n){var a="";switch(t){case"amsrm":a="AMS";break;case"textrm":a="Main";break;case"textsf":a="SansSerif";break;case"texttt":a="Typewriter";break;default:a=t}var i;return r==="textbf"&&n==="textit"?i="BoldItalic":r==="textbf"?i="Bold":r==="textit"?i="Italic":i="Regular",a+"-"+i},Ja={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"}},vo={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},ko=function(t,r){var[n,a,i]=vo[t],s=new ur(n),u=new Vt([s],{width:K(a),height:K(i),style:"width:"+K(a),viewBox:"0 0 "+1e3*a+" "+1e3*i,preserveAspectRatio:"xMinYMin"}),l=lr(["overlay"],[u],r);return l.height=i,l.style.height=K(i),l.style.width=K(a),l},Ne={number:3,unit:"mu"},br={number:4,unit:"mu"},qt={number:5,unit:"mu"},Of={mord:{mop:Ne,mbin:br,mrel:qt,minner:Ne},mop:{mord:Ne,mop:Ne,mrel:qt,minner:Ne},mbin:{mord:br,mop:br,mopen:br,minner:br},mrel:{mord:qt,mop:qt,mopen:qt,minner:qt},mopen:{},mclose:{mop:Ne,mbin:br,mrel:qt,minner:Ne},mpunct:{mord:Ne,mop:Ne,mrel:qt,mopen:Ne,mclose:Ne,mpunct:Ne,minner:Ne},minner:{mord:Ne,mop:Ne,mbin:br,mrel:qt,mopen:Ne,mpunct:Ne,minner:Ne}},Mf={mord:{mop:Ne},mop:{mord:Ne,mop:Ne},mbin:{},mrel:{},mopen:{},mclose:{mop:Ne},mpunct:{},minner:{mop:Ne}},Ao={},v0={},k0={};function ee(e){for(var{type:t,names:r,props:n,handler:a,htmlBuilder:i,mathmlBuilder:s}=e,u={type:t,numArgs:n.numArgs,argTypes:n.argTypes,allowedInArgument:!!n.allowedInArgument,allowedInText:!!n.allowedInText,allowedInMath:n.allowedInMath===void 0?!0:n.allowedInMath,numOptionalArgs:n.numOptionalArgs||0,infix:!!n.infix,primitive:!!n.primitive,handler:a},l=0;l<r.length;++l)Ao[r[l]]=u;t&&(i&&(v0[t]=i),s&&(k0[t]=s))}function Sr(e){var{type:t,htmlBuilder:r,mathmlBuilder:n}=e;ee({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:n})}var A0=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},Me=function(t){return t.type==="ordgroup"?t.body:[t]},Pf=new Set(["leftmost","mbin","mopen","mrel","mop","mpunct"]),Bf=new Set(["rightmost","mrel","mclose","mpunct"]),Ff={display:le.DISPLAY,text:le.TEXT,script:le.SCRIPT,scriptscript:le.SCRIPTSCRIPT},zf={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},He=function(t,r,n,a){a===void 0&&(a=[null,null]);for(var i=[],s=0;s<t.length;s++){var u=be(t[s],r);if(u instanceof Fn){var l=u.children;i.push(...l)}else i.push(u)}if(xo(i),!n)return i;var o=r;if(t.length===1){var h=t[0];h.type==="sizing"?o=r.havingSize(h.size):h.type==="styling"&&(o=r.havingStyle(Ff[h.style]))}var d=j([a[0]||"leftmost"],[],r),p=j([a[1]||"rightmost"],[],r),g=n==="root";return tu(i,(E,y)=>{var N=y.classes[0],S=E.classes[0];N==="mbin"&&Bf.has(S)?y.classes[0]="mord":S==="mbin"&&Pf.has(N)&&(E.classes[0]="mord")},{node:d},p,g),tu(i,(E,y)=>{var N=ei(y),S=ei(E),D=N&&S?E.hasClass("mtight")?Mf[N][S]:Of[N][S]:null;if(D)return yo(D,o)},{node:d},p,g),i},tu=function e(t,r,n,a,i){a&&t.push(a);for(var s=0;s<t.length;s++){var u=t[s],l=wo(u);if(l){e(l.children,r,n,null,i);continue}var o=!u.hasClass("mspace");if(o){var h=r(u,n.node);h&&(n.insertAfter?n.insertAfter(h):(t.unshift(h),s++))}o?n.node=u:i&&u.hasClass("newline")&&(n.node=j(["leftmost"])),n.insertAfter=(d=>p=>{t.splice(d+1,0,p),s++})(s)}a&&t.pop()},wo=function(t){return t instanceof Fn||t instanceof Oi||t instanceof zn&&t.hasClass("enclosing")?t:null},Hf=function e(t,r){var n=wo(t);if(n){var a=n.children;if(a.length){if(r==="right")return e(a[a.length-1],"right");if(r==="left")return e(a[0],"left")}}return t},ei=function(t,r){return t?(r&&(t=Hf(t,r)),zf[t.classes[0]]||null):null},Dn=function(t,r){var n=["nulldelimiter"].concat(t.baseSizingClasses());return j(r.concat(n))},be=function(t,r,n){if(!t)return j();if(v0[t.type]){var a=v0[t.type](t,r);if(n&&r.size!==n.size){a=j(r.sizingClasses(n),[a],r);var i=r.sizeMultiplier/n.sizeMultiplier;a.height*=i,a.depth*=i}return a}else throw new V("Got group of unknown type: '"+t.type+"'")};function r0(e,t){var r=j(["base"],e,t),n=j(["strut"]);return n.style.height=K(r.height+r.depth),r.depth&&(n.style.verticalAlign=K(-r.depth)),r.children.unshift(n),r}function ti(e,t){var r=null;e.length===1&&e[0].type==="tag"&&(r=e[0].tag,e=e[0].body);var n=He(e,t,"root"),a;n.length===2&&n[1].hasClass("tag")&&(a=n.pop());for(var i=[],s=[],u=0;u<n.length;u++)if(s.push(n[u]),n[u].hasClass("mbin")||n[u].hasClass("mrel")||n[u].hasClass("allowbreak")){for(var l=!1;u<n.length-1&&n[u+1].hasClass("mspace")&&!n[u+1].hasClass("newline");)u++,s.push(n[u]),n[u].hasClass("nobreak")&&(l=!0);l||(i.push(r0(s,t)),s=[])}else n[u].hasClass("newline")&&(s.pop(),s.length>0&&(i.push(r0(s,t)),s=[]),i.push(n[u]));s.length>0&&i.push(r0(s,t));var o;r?(o=r0(He(r,t,!0)),o.classes=["tag"],i.push(o)):a&&i.push(a);var h=j(["katex-html"],i);if(h.setAttribute("aria-hidden","true"),o){var d=o.children[0];d.style.height=K(h.height+h.depth),h.depth&&(d.style.verticalAlign=K(-h.depth))}return h}function So(e){return new Fn(e)}class W{constructor(t,r,n){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=r||[],this.classes=n||[]}setAttribute(t,r){this.attributes[t]=r}getAttribute(t){return this.attributes[t]}toNode(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&t.setAttribute(r,this.attributes[r]);this.classes.length>0&&(t.className=sr(this.classes));for(var n=0;n<this.children.length;n++)if(this.children[n]instanceof Fe&&this.children[n+1]instanceof Fe){for(var a=this.children[n].toText()+this.children[++n].toText();this.children[n+1]instanceof Fe;)a+=this.children[++n].toText();t.appendChild(new Fe(a).toNode())}else t.appendChild(this.children[n].toNode());return t}toMarkup(){var t="<"+this.type;for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="',t+=Ve(this.attributes[r]),t+='"');this.classes.length>0&&(t+=' class ="'+Ve(sr(this.classes))+'"'),t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</"+this.type+">",t}toText(){return this.children.map(t=>t.toText()).join("")}}class Fe{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return Ve(this.toText())}toText(){return this.text}}class Co{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",K(this.width)),t}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+K(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var Uf=new Set(["\\imath","\\jmath"]),qf=new Set(["mrow","mtable"]),Tt=function(t,r,n){return Ae[r][t]&&Ae[r][t].replace&&t.charCodeAt(0)!==55349&&!(To.hasOwnProperty(t)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(t=Ae[r][t].replace),new Fe(t)},Bi=function(t){return t.length===1?t[0]:new W("mrow",t)},Fi=function(t,r){if(r.fontFamily==="texttt")return"monospace";if(r.fontFamily==="textsf")return r.fontShape==="textit"&&r.fontWeight==="textbf"?"sans-serif-bold-italic":r.fontShape==="textit"?"sans-serif-italic":r.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(r.fontShape==="textit"&&r.fontWeight==="textbf")return"bold-italic";if(r.fontShape==="textit")return"italic";if(r.fontWeight==="textbf")return"bold";var n=r.font;if(!n||n==="mathnormal")return null;var a=t.mode;if(n==="mathit")return"italic";if(n==="boldsymbol")return t.type==="textord"?"bold":"bold-italic";if(n==="mathbf")return"bold";if(n==="mathbb")return"double-struck";if(n==="mathsfit")return"sans-serif-italic";if(n==="mathfrak")return"fraktur";if(n==="mathscr"||n==="mathcal")return"script";if(n==="mathsf")return"sans-serif";if(n==="mathtt")return"monospace";var i=t.text;if(Uf.has(i))return null;Ae[a][i]&&Ae[a][i].replace&&(i=Ae[a][i].replace);var s=Ja[n].fontName;return Li(i,s,a)?Ja[n].variant:null};function ga(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof Fe&&t.text==="."}else if(e.type==="mo"&&e.children.length===1&&e.getAttribute("separator")==="true"&&e.getAttribute("lspace")==="0em"&&e.getAttribute("rspace")==="0em"){var r=e.children[0];return r instanceof Fe&&r.text===","}else return!1}var ut=function(t,r,n){if(t.length===1){var a=ke(t[0],r);return n&&a instanceof W&&a.type==="mo"&&(a.setAttribute("lspace","0em"),a.setAttribute("rspace","0em")),[a]}for(var i=[],s,u=0;u<t.length;u++){var l=ke(t[u],r);if(l instanceof W&&s instanceof W){if(l.type==="mtext"&&s.type==="mtext"&&l.getAttribute("mathvariant")===s.getAttribute("mathvariant")){s.children.push(...l.children);continue}else if(l.type==="mn"&&s.type==="mn"){s.children.push(...l.children);continue}else if(ga(l)&&s.type==="mn"){s.children.push(...l.children);continue}else if(l.type==="mn"&&ga(s))l.children=[...s.children,...l.children],i.pop();else if((l.type==="msup"||l.type==="msub")&&l.children.length>=1&&(s.type==="mn"||ga(s))){var o=l.children[0];o instanceof W&&o.type==="mn"&&(o.children=[...s.children,...o.children],i.pop())}else if(s.type==="mi"&&s.children.length===1){var h=s.children[0];if(h instanceof Fe&&h.text==="̸"&&(l.type==="mo"||l.type==="mi"||l.type==="mn")){var d=l.children[0];d instanceof Fe&&d.text.length>0&&(d.text=d.text.slice(0,1)+"̸"+d.text.slice(1),i.pop())}}}i.push(l),s=l}return i},or=function(t,r,n){return Bi(ut(t,r,n))},ke=function(t,r){if(!t)return new W("mrow");if(k0[t.type]){var n=k0[t.type](t,r);return n}else throw new V("Got group of unknown type: '"+t.type+"'")};function ru(e,t,r,n,a){var i=ut(e,r),s;i.length===1&&i[0]instanceof W&&qf.has(i[0].type)?s=i[0]:s=new W("mrow",i);var u=new W("annotation",[new Fe(t)]);u.setAttribute("encoding","application/x-tex");var l=new W("semantics",[s,u]),o=new W("math",[l]);o.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&o.setAttribute("display","block");var h=a?"katex":"katex-mathml";return j([h],[o])}var _o=function(t){return new $t({style:t.displayMode?le.DISPLAY:le.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},No=function(t,r){if(r.displayMode){var n=["katex-display"];r.leqno&&n.push("leqno"),r.fleqn&&n.push("fleqn"),t=j(n,[t])}return t},$f=function(t,r,n){var a=_o(n),i;if(n.output==="mathml")return ru(t,r,a,n.displayMode,!0);if(n.output==="html"){var s=ti(t,a);i=j(["katex"],[s])}else{var u=ru(t,r,a,n.displayMode,!1),l=ti(t,a);i=j(["katex"],[u,l])}return No(i,n)},jf=function(t,r,n){var a=_o(n),i=ti(t,a),s=j(["katex"],[i]);return No(s,n)},Yf={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},q0=function(t){var r=new W("mo",[new Fe(Yf[t.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},Gf={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Vf=new Set(["widehat","widecheck","widetilde","utilde"]),$0=function(t,r){function n(){var u=4e5,l=t.label.slice(1);if(Vf.has(l)){var o=t,h=o.base.type==="ordgroup"?o.base.body.length:1,d,p,g;if(h>5)l==="widehat"||l==="widecheck"?(d=420,u=2364,g=.42,p=l+"4"):(d=312,u=2340,g=.34,p="tilde4");else{var E=[1,1,2,2,3,3][h];l==="widehat"||l==="widecheck"?(u=[0,1062,2364,2364,2364][E],d=[0,239,300,360,420][E],g=[0,.24,.3,.3,.36,.42][E],p=l+E):(u=[0,600,1033,2339,2340][E],d=[0,260,286,306,312][E],g=[0,.26,.286,.3,.306,.34][E],p="tilde"+E)}var y=new ur(p),N=new Vt([y],{width:"100%",height:K(g),viewBox:"0 0 "+u+" "+d,preserveAspectRatio:"none"});return{span:lr([],[N],r),minWidth:0,height:g}}else{var S=[],D=Gf[l],[O,H,G]=D,R=G/1e3,X=O.length,re,Q;if(X===1){var M=D[3];re=["hide-tail"],Q=[M]}else if(X===2)re=["halfarrow-left","halfarrow-right"],Q=["xMinYMin","xMaxYMin"];else if(X===3)re=["brace-left","brace-center","brace-right"],Q=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
269
|
+
`+X+" children.");for(var Z=0;Z<X;Z++){var F=new ur(O[Z]),ae=new Vt([F],{width:"400em",height:K(R),viewBox:"0 0 "+u+" "+G,preserveAspectRatio:Q[Z]+" slice"}),de=lr([re[Z]],[ae],r);if(X===1)return{span:de,minWidth:H,height:R};de.style.height=K(R),S.push(de)}return{span:j(["stretchy"],S,r),minWidth:H,height:R}}}var{span:a,minWidth:i,height:s}=n();return a.height=s,a.style.height=K(s),i>0&&(a.style.minWidth=K(i)),a},Wf=function(t,r,n,a,i){var s,u=t.height+t.depth+n+a;if(/fbox|color|angl/.test(r)){if(s=j(["stretchy",r],[],i),r==="fbox"){var l=i.color&&i.getColor();l&&(s.style.borderColor=l)}}else{var o=[];/^[bx]cancel$/.test(r)&&o.push(new Ka({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&o.push(new Ka({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var h=new Vt(o,{width:"100%",height:K(u)});s=lr([],[h],i)}return s.height=u,s.style.height=K(u),s};function he(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function zi(e){var t=j0(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 j0(e){return e&&(e.type==="atom"||_f.hasOwnProperty(e.type))?e:null}var Hi=(e,t)=>{var r,n,a;e&&e.type==="supsub"?(n=he(e.base,"accent"),r=n.base,e.base=r,a=Sf(be(e,t)),e.base=n):(n=he(e,"accent"),r=n.base);var i=be(r,t.havingCrampedStyle()),s=n.isShifty&&Wt(r),u=0;if(s){var l=bn(r),o=be(l,t.havingCrampedStyle());u=Xs(o).skew}var h=n.label==="\\c",d=h?i.height+i.depth:Math.min(i.height,t.fontMetrics().xHeight),p;if(n.isStretchy)p=$0(n,t),p=Ee({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"elem",elem:p,wrapperClasses:["svg-align"],wrapperStyle:u>0?{width:"calc(100% - "+K(2*u)+")",marginLeft:K(2*u)}:void 0}]});else{var g,E;n.label==="\\vec"?(g=ko("vec",t),E=vo.vec[1]):(g=U0({mode:n.mode,text:n.label},t,"textord"),g=Xs(g),g.italic=0,E=g.width,h&&(d+=g.depth)),p=j(["accent-body"],[g]);var y=n.label==="\\textcircled";y&&(p.classes.push("accent-full"),d=i.height);var N=u;y||(N-=E/2),p.style.left=K(N),n.label==="\\textcircled"&&(p.style.top=".2em"),p=Ee({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:-d},{type:"elem",elem:p}]})}var S=j(["mord","accent"],[p],t);return a?(a.children[0]=S,a.height=Math.max(S.height,a.height),a.classes[0]="mord",a):S},Io=(e,t)=>{var r=e.isStretchy?q0(e.label):new W("mo",[Tt(e.label,e.mode)]),n=new W("mover",[ke(e.base,t),r]);return n.setAttribute("accent","true"),n},Xf=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));ee({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var r=A0(t[0]),n=!Xf.test(e.funcName),a=!n||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:n,isShifty:a,base:r}},htmlBuilder:Hi,mathmlBuilder:Io});ee({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var r=t[0],n=e.parser.mode;return n==="math"&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),n="text"),{type:"accent",mode:n,label:e.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:Hi,mathmlBuilder:Io});ee({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0];return{type:"accentUnder",mode:r.mode,label:n,base:a}},htmlBuilder:(e,t)=>{var r=be(e.base,t),n=$0(e,t),a=e.label==="\\utilde"?.12:0,i=Ee({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:a},{type:"elem",elem:r}]});return j(["mord","accentunder"],[i],t)},mathmlBuilder:(e,t)=>{var r=q0(e.label),n=new W("munder",[ke(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var n0=e=>{var t=new W("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};ee({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n,funcName:a}=e;return{type:"xArrow",mode:n.mode,label:a,body:t[0],below:r[0]}},htmlBuilder(e,t){var r=t.style,n=t.havingStyle(r.sup()),a=Gr(be(e.body,n,t),t),i=e.label.slice(0,2)==="\\x"?"x":"cd";a.classes.push(i+"-arrow-pad");var s;e.below&&(n=t.havingStyle(r.sub()),s=Gr(be(e.below,n,t),t),s.classes.push(i+"-arrow-pad"));var u=$0(e,t),l=-t.fontMetrics().axisHeight+.5*u.height,o=-t.fontMetrics().axisHeight-.5*u.height-.111;(a.depth>.25||e.label==="\\xleftequilibrium")&&(o-=a.depth);var h;if(s){var d=-t.fontMetrics().axisHeight+s.height+.5*u.height+.111;h=Ee({positionType:"individualShift",children:[{type:"elem",elem:a,shift:o},{type:"elem",elem:u,shift:l},{type:"elem",elem:s,shift:d}]})}else h=Ee({positionType:"individualShift",children:[{type:"elem",elem:a,shift:o},{type:"elem",elem:u,shift:l}]});return h.children[0].children[0].children[1].classes.push("svg-align"),j(["mrel","x-arrow"],[h],t)},mathmlBuilder(e,t){var r=q0(e.label);r.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var n;if(e.body){var a=n0(ke(e.body,t));if(e.below){var i=n0(ke(e.below,t));n=new W("munderover",[r,i,a])}else n=new W("mover",[r,a])}else if(e.below){var s=n0(ke(e.below,t));n=new W("munder",[r,s])}else n=n0(),n=new W("mover",[r,n]);return n}});function Do(e,t){var r=He(e.body,t,!0);return j([e.mclass],r,t)}function Ro(e,t){var r,n=ut(e.body,t);return e.mclass==="minner"?r=new W("mpadded",n):e.mclass==="mord"?e.isCharacterBox?(r=n[0],r.type="mi"):r=new W("mi",n):(e.isCharacterBox?(r=n[0],r.type="mo"):r=new W("mo",n),e.mclass==="mbin"?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):e.mclass==="mpunct"?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(r.attributes.lspace="0em",r.attributes.rspace="0em"):e.mclass==="minner"&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}ee({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:Me(a),isCharacterBox:Wt(a)}},htmlBuilder:Do,mathmlBuilder:Ro});var Y0=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"};ee({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:Y0(t[0]),body:Me(t[1]),isCharacterBox:Wt(t[1])}}});ee({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:r,funcName:n}=e,a=t[1],i=t[0],s;n!=="\\stackrel"?s=Y0(a):s="mrel";var u={type:"op",mode:a.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:n!=="\\stackrel",body:Me(a)},l={type:"supsub",mode:i.mode,base:u,sup:n==="\\underset"?null:i,sub:n==="\\underset"?i:null};return{type:"mclass",mode:r.mode,mclass:s,body:[l],isCharacterBox:Wt(l)}},htmlBuilder:Do,mathmlBuilder:Ro});ee({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:Y0(t[0]),body:Me(t[0])}},htmlBuilder(e,t){var r=He(e.body,t,!0),n=j([e.mclass],r,t);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(e,t){var r=ut(e.body,t),n=new W("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var Qf={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},nu=()=>({type:"styling",body:[],mode:"math",style:"display"}),au=e=>e.type==="textord"&&e.text==="@",Kf=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function Zf(e,t,r){var n=Qf[e];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var a=r.callFunction("\\\\cdleft",[t[0]],[]),i={type:"atom",text:n,mode:"math",family:"rel"},s=r.callFunction("\\Big",[i],[]),u=r.callFunction("\\\\cdright",[t[1]],[]),l={type:"ordgroup",mode:"math",body:[a,s,u]};return r.callFunction("\\\\cdparent",[l],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var o={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[o],[])}default:return{type:"textord",text:" ",mode:"math"}}}function Jf(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var r=e.fetch().text;if(r==="&"||r==="\\\\")e.consume();else if(r==="\\end"){t[t.length-1].length===0&&t.pop();break}else throw new V("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var n=[],a=[n],i=0;i<t.length;i++){for(var s=t[i],u=nu(),l=0;l<s.length;l++)if(!au(s[l]))u.body.push(s[l]);else{n.push(u),l+=1;var o=zi(s[l]).text,h=new Array(2);if(h[0]={type:"ordgroup",mode:"math",body:[]},h[1]={type:"ordgroup",mode:"math",body:[]},!"=|.".includes(o))if("<>AV".includes(o))for(var d=0;d<2;d++){for(var p=!0,g=l+1;g<s.length;g++){if(Kf(s[g],o)){p=!1,l=g;break}if(au(s[g]))throw new V("Missing a "+o+" character to complete a CD arrow.",s[g]);h[d].body.push(s[g])}if(p)throw new V("Missing a "+o+" character to complete a CD arrow.",s[l])}else throw new V('Expected one of "<>AV=|." after @',s[l]);var E=Zf(o,h,e),y={type:"styling",body:[E],mode:"math",style:"display"};n.push(y),u=nu()}i%2===0?n.push(u):n.shift(),n=[],a.push(n)}e.gullet.endGroup(),e.gullet.endGroup();var N=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:N,colSeparationType:"CD",hLinesBeforeRow:new Array(a.length+1).fill([])}}ee({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"cdlabel",mode:r.mode,side:n.slice(4),label:t[0]}},htmlBuilder(e,t){var r=t.havingStyle(t.style.sup()),n=Gr(be(e.label,r,t),t);return n.classes.push("cd-label-"+e.side),n.style.bottom=K(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(e,t){var r=new W("mrow",[ke(e.label,t)]);return r=new W("mpadded",[r]),r.setAttribute("width","0"),e.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new W("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}});ee({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:r}=e;return{type:"cdlabelparent",mode:r.mode,fragment:t[0]}},htmlBuilder(e,t){var r=Gr(be(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(e,t){return new W("mrow",[ke(e.fragment,t)])}});ee({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:r}=e,n=he(t[0],"ordgroup"),a=n.body,i="",s=0;s<a.length;s++){var u=he(a[s],"textord");i+=u.text}var l=parseInt(i),o;if(isNaN(l))throw new V("\\@char has non-numeric argument "+i);if(l<0||l>=1114111)throw new V("\\@char with invalid code point "+i);return l<=65535?o=String.fromCharCode(l):(l-=65536,o=String.fromCharCode((l>>10)+55296,(l&1023)+56320)),{type:"textord",mode:r.mode,text:o}}});var Lo=(e,t)=>{var r=He(e.body,t.withColor(e.color),!1);return Qt(r)},Oo=(e,t)=>{var r=ut(e.body,t.withColor(e.color)),n=new W("mstyle",r);return n.setAttribute("mathcolor",e.color),n};ee({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,n=he(t[0],"color-token").color,a=t[1];return{type:"color",mode:r.mode,color:n,body:Me(a)}},htmlBuilder:Lo,mathmlBuilder:Oo});ee({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:n}=e,a=he(t[0],"color-token").color;r.gullet.macros.set("\\current@color",a);var i=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:a,body:i}},htmlBuilder:Lo,mathmlBuilder:Oo});ee({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:n}=e,a=n.gullet.future().text==="["?n.parseSizeGroup(!0):null,i=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:i,size:a&&he(a,"size").value}},htmlBuilder(e,t){var r=j(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=K(Ie(e.size,t)))),r},mathmlBuilder(e,t){var r=new W("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",K(Ie(e.size,t)))),r}});var ri={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Mo=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new V("Expected a control sequence",e);return t},em=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},Po=(e,t,r,n)=>{var a=e.gullet.macros.get(r.text);a==null&&(r.noexpand=!0,a={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,a,n)};ee({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:r}=e;t.consumeSpaces();var n=t.fetch();if(ri[n.text])return(r==="\\global"||r==="\\\\globallong")&&(n.text=ri[n.text]),he(t.parseFunction(),"internal");throw new V("Invalid token after macro prefix",n)}});ee({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=t.gullet.popToken(),a=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(a))throw new V("Expected a control sequence",n);for(var i=0,s,u=[[]];t.gullet.future().text!=="{";)if(n=t.gullet.popToken(),n.text==="#"){if(t.gullet.future().text==="{"){s=t.gullet.future(),u[i].push("{");break}if(n=t.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new V('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==i+1)throw new V('Argument number "'+n.text+'" out of order');i++,u.push([])}else{if(n.text==="EOF")throw new V("Expected a macro definition");u[i].push(n.text)}var{tokens:l}=t.gullet.consumeArg();return s&&l.unshift(s),(r==="\\edef"||r==="\\xdef")&&(l=t.gullet.expandTokens(l),l.reverse()),t.gullet.macros.set(a,{tokens:l,numArgs:i,delimiters:u},r===ri[r]),{type:"internal",mode:t.mode}}});ee({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=Mo(t.gullet.popToken());t.gullet.consumeSpaces();var a=em(t);return Po(t,n,a,r==="\\\\globallet"),{type:"internal",mode:t.mode}}});ee({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=Mo(t.gullet.popToken()),a=t.gullet.popToken(),i=t.gullet.popToken();return Po(t,n,i,r==="\\\\globalfuture"),t.gullet.pushToken(i),t.gullet.pushToken(a),{type:"internal",mode:t.mode}}});var mn=function(t,r,n){var a=Ae.math[t]&&Ae.math[t].replace,i=Li(a||t,r,n);if(!i)throw new Error("Unsupported symbol "+t+" and font size "+r+".");return i},Ui=function(t,r,n,a){var i=n.havingBaseStyle(r),s=j(a.concat(i.sizingClasses(n)),[t],n),u=i.sizeMultiplier/n.sizeMultiplier;return s.height*=u,s.depth*=u,s.maxFontSize=i.sizeMultiplier,s},Bo=function(t,r,n){var a=r.havingBaseStyle(n),i=(1-r.sizeMultiplier/a.sizeMultiplier)*r.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=K(i),t.height-=i,t.depth+=i},tm=function(t,r,n,a,i,s){var u=Ze(t,"Main-Regular",i,a),l=Ui(u,r,a,s);return Bo(l,a,r),l},rm=function(t,r,n,a){return Ze(t,"Size"+r+"-Regular",n,a)},Fo=function(t,r,n,a,i,s){var u=rm(t,r,i,a),l=Ui(j(["delimsizing","size"+r],[u],a),le.TEXT,a,s);return n&&Bo(l,a,le.TEXT),l},ba=function(t,r,n){var a;r==="Size1-Regular"?a="delim-size1":a="delim-size4";var i=j(["delimsizinginner",a],[j([],[Ze(t,r,n)])]);return{type:"elem",elem:i}},Ea=function(t,r,n){var a=Lt["Size4-Regular"][t.charCodeAt(0)]?Lt["Size4-Regular"][t.charCodeAt(0)][4]:Lt["Size1-Regular"][t.charCodeAt(0)][4],i=new ur("inner",Ef(t,Math.round(1e3*r))),s=new Vt([i],{width:K(a),height:K(r),style:"width:"+K(a),viewBox:"0 0 "+1e3*a+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),u=lr([],[s],n);return u.height=r,u.style.height=K(r),u.style.width=K(a),{type:"elem",elem:u}},ni=.008,a0={type:"kern",size:-1*ni},nm=new Set(["|","\\lvert","\\rvert","\\vert"]),am=new Set(["\\|","\\lVert","\\rVert","\\Vert"]),zo=function(t,r,n,a,i,s){var u,l,o,h,d="",p=0;u=o=h=t,l=null;var g="Size1-Regular";t==="\\uparrow"?o=h="⏐":t==="\\Uparrow"?o=h="‖":t==="\\downarrow"?u=o="⏐":t==="\\Downarrow"?u=o="‖":t==="\\updownarrow"?(u="\\uparrow",o="⏐",h="\\downarrow"):t==="\\Updownarrow"?(u="\\Uparrow",o="‖",h="\\Downarrow"):nm.has(t)?(o="∣",d="vert",p=333):am.has(t)?(o="∥",d="doublevert",p=556):t==="["||t==="\\lbrack"?(u="⎡",o="⎢",h="⎣",g="Size4-Regular",d="lbrack",p=667):t==="]"||t==="\\rbrack"?(u="⎤",o="⎥",h="⎦",g="Size4-Regular",d="rbrack",p=667):t==="\\lfloor"||t==="⌊"?(o=u="⎢",h="⎣",g="Size4-Regular",d="lfloor",p=667):t==="\\lceil"||t==="⌈"?(u="⎡",o=h="⎢",g="Size4-Regular",d="lceil",p=667):t==="\\rfloor"||t==="⌋"?(o=u="⎥",h="⎦",g="Size4-Regular",d="rfloor",p=667):t==="\\rceil"||t==="⌉"?(u="⎤",o=h="⎥",g="Size4-Regular",d="rceil",p=667):t==="("||t==="\\lparen"?(u="⎛",o="⎜",h="⎝",g="Size4-Regular",d="lparen",p=875):t===")"||t==="\\rparen"?(u="⎞",o="⎟",h="⎠",g="Size4-Regular",d="rparen",p=875):t==="\\{"||t==="\\lbrace"?(u="⎧",l="⎨",h="⎩",o="⎪",g="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(u="⎫",l="⎬",h="⎭",o="⎪",g="Size4-Regular"):t==="\\lgroup"||t==="⟮"?(u="⎧",h="⎩",o="⎪",g="Size4-Regular"):t==="\\rgroup"||t==="⟯"?(u="⎫",h="⎭",o="⎪",g="Size4-Regular"):t==="\\lmoustache"||t==="⎰"?(u="⎧",h="⎭",o="⎪",g="Size4-Regular"):(t==="\\rmoustache"||t==="⎱")&&(u="⎫",h="⎩",o="⎪",g="Size4-Regular");var E=mn(u,g,i),y=E.height+E.depth,N=mn(o,g,i),S=N.height+N.depth,D=mn(h,g,i),O=D.height+D.depth,H=0,G=1;if(l!==null){var R=mn(l,g,i);H=R.height+R.depth,G=2}var X=y+O+H,re=Math.max(0,Math.ceil((r-X)/(G*S))),Q=X+re*G*S,M=a.fontMetrics().axisHeight;n&&(M*=a.sizeMultiplier);var Z=Q/2-M,F=[];if(d.length>0){var ae=Q-y-O,de=Math.round(Q*1e3),ue=Tf(d,Math.round(ae*1e3)),we=new ur(d,ue),Se=(p/1e3).toFixed(3)+"em",Ue=(de/1e3).toFixed(3)+"em",lt=new Vt([we],{width:Se,height:Ue,viewBox:"0 0 "+p+" "+de}),C=lr([],[lt],a);C.height=de/1e3,C.style.width=Se,C.style.height=Ue,F.push({type:"elem",elem:C})}else{if(F.push(ba(h,g,i)),F.push(a0),l===null){var Pe=Q-y-O+2*ni;F.push(Ea(o,Pe,a))}else{var De=(Q-y-O-H)/2+2*ni;F.push(Ea(o,De,a)),F.push(a0),F.push(ba(l,g,i)),F.push(a0),F.push(Ea(o,De,a))}F.push(a0),F.push(ba(u,g,i))}var _=a.havingBaseStyle(le.TEXT),Qe=Ee({positionType:"bottom",positionData:Z,children:F});return Ui(j(["delimsizing","mult"],[Qe],_),le.TEXT,a,s)},Ta=80,xa=.08,ya=function(t,r,n,a,i){var s=bf(t,a,n),u=new ur(t,s),l=new Vt([u],{width:"400em",height:K(r),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return lr(["hide-tail"],[l],i)},im=function(t,r){var n=r.havingBaseSizing(),a=jo("\\surd",t*n.sizeMultiplier,$o,n),i=n.sizeMultiplier,s=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),u,l=0,o=0,h=0,d;return a.type==="small"?(h=1e3+1e3*s+Ta,t<1?i=1:t<1.4&&(i=.7),l=(1+s+xa)/i,o=(1+s)/i,u=ya("sqrtMain",l,h,s,r),u.style.minWidth="0.853em",d=.833/i):a.type==="large"?(h=(1e3+Ta)*Tn[a.size],o=(Tn[a.size]+s)/i,l=(Tn[a.size]+s+xa)/i,u=ya("sqrtSize"+a.size,l,h,s,r),u.style.minWidth="1.02em",d=1/i):(l=t+s+xa,o=t+s,h=Math.floor(1e3*t+s)+Ta,u=ya("sqrtTall",l,h,s,r),u.style.minWidth="0.742em",d=1.056),u.height=o,u.style.height=K(l),{span:u,advanceWidth:d,ruleWidth:(r.fontMetrics().sqrtRuleThickness+s)*i}},Ho=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"]),sm=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"]),Uo=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),Tn=[0,1.2,1.8,2.4,3],qo=function(t,r,n,a,i){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),Ho.has(t)||Uo.has(t))return Fo(t,r,!1,n,a,i);if(sm.has(t))return zo(t,Tn[r],!1,n,a,i);throw new V("Illegal delimiter: '"+t+"'")},um=[{type:"small",style:le.SCRIPTSCRIPT},{type:"small",style:le.SCRIPT},{type:"small",style:le.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],lm=[{type:"small",style:le.SCRIPTSCRIPT},{type:"small",style:le.SCRIPT},{type:"small",style:le.TEXT},{type:"stack"}],$o=[{type:"small",style:le.SCRIPTSCRIPT},{type:"small",style:le.SCRIPT},{type:"small",style:le.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],om=function(t){if(t.type==="small")return"Main-Regular";if(t.type==="large")return"Size"+t.size+"-Regular";if(t.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+t.type+"' here.")},jo=function(t,r,n,a){for(var i=Math.min(2,3-a.style.size),s=i;s<n.length&&n[s].type!=="stack";s++){var u=mn(t,om(n[s]),"math"),l=u.height+u.depth;if(n[s].type==="small"){var o=a.havingBaseStyle(n[s].style);l*=o.sizeMultiplier}if(l>r)return n[s]}return n[n.length-1]},ai=function(t,r,n,a,i,s){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var u;Uo.has(t)?u=um:Ho.has(t)?u=$o:u=lm;var l=jo(t,r,u,a);return l.type==="small"?tm(t,l.style,n,a,i,s):l.type==="large"?Fo(t,l.size,n,a,i,s):zo(t,r,n,a,i,s)},va=function(t,r,n,a,i,s){var u=a.fontMetrics().axisHeight*a.sizeMultiplier,l=901,o=5/a.fontMetrics().ptPerEm,h=Math.max(r-u,n+u),d=Math.max(h/500*l,2*h-o);return ai(t,d,!0,a,i,s)},iu={"\\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}},cm=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 G0(e,t){var r=j0(e);if(r&&cm.has(r.text))return r;throw r?new V("Invalid delimiter '"+r.text+"' after '"+t.funcName+"'",e):new V("Invalid delimiter type '"+e.type+"'",e)}ee({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var r=G0(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:iu[e.funcName].size,mclass:iu[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>e.delim==="."?j([e.mclass]):qo(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(Tt(e.delim,e.mode));var r=new W("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=K(Tn[e.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}});function su(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}ee({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=e.parser.gullet.macros.get("\\current@color");if(r&&typeof r!="string")throw new V("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:G0(t[0],e).text,color:r}}});ee({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=G0(t[0],e),n=e.parser;++n.leftrightDepth;var a=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var i=he(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:a,left:r.text,right:i.delim,rightColor:i.color}},htmlBuilder:(e,t)=>{su(e);for(var r=He(e.body,t,!0,["mopen","mclose"]),n=0,a=0,i=!1,s=0;s<r.length;s++)r[s].isMiddle?i=!0:(n=Math.max(r[s].height,n),a=Math.max(r[s].depth,a));n*=t.sizeMultiplier,a*=t.sizeMultiplier;var u;if(e.left==="."?u=Dn(t,["mopen"]):u=va(e.left,n,a,t,e.mode,["mopen"]),r.unshift(u),i)for(var l=1;l<r.length;l++){var o=r[l],h=o.isMiddle;h&&(r[l]=va(h.delim,n,a,h.options,e.mode,[]))}var d;if(e.right===".")d=Dn(t,["mclose"]);else{var p=e.rightColor?t.withColor(e.rightColor):t;d=va(e.right,n,a,p,e.mode,["mclose"])}return r.push(d),j(["minner"],r,t)},mathmlBuilder:(e,t)=>{su(e);var r=ut(e.body,t);if(e.left!=="."){var n=new W("mo",[Tt(e.left,e.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if(e.right!=="."){var a=new W("mo",[Tt(e.right,e.mode)]);a.setAttribute("fence","true"),e.rightColor&&a.setAttribute("mathcolor",e.rightColor),r.push(a)}return Bi(r)}});ee({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=G0(t[0],e);if(!e.parser.leftrightDepth)throw new V("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if(e.delim===".")r=Dn(t,[]);else{r=qo(e.delim,1,t,e.mode,[]);var n={delim:e.delim,options:t};r.isMiddle=n}return r},mathmlBuilder:(e,t)=>{var r=e.delim==="\\vert"||e.delim==="|"?Tt("|","text"):Tt(e.delim,e.mode),n=new W("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var qi=(e,t)=>{var r=Gr(be(e.body,t),t),n=e.label.slice(1),a=t.sizeMultiplier,i,s=0,u=Wt(e.body);if(n==="sout")i=j(["stretchy","sout"]),i.height=t.fontMetrics().defaultRuleThickness/a,s=-.5*t.fontMetrics().xHeight;else if(n==="phase"){var l=Ie({number:.6,unit:"pt"},t),o=Ie({number:.35,unit:"ex"},t),h=t.havingBaseSizing();a=a/h.sizeMultiplier;var d=r.height+r.depth+l+o;r.style.paddingLeft=K(d/2+l);var p=Math.floor(1e3*d*a),g=pf(p),E=new Vt([new ur("phase",g)],{width:"400em",height:K(p/1e3),viewBox:"0 0 400000 "+p,preserveAspectRatio:"xMinYMin slice"});i=lr(["hide-tail"],[E],t),i.style.height=K(d),s=r.depth+l+o}else{/cancel/.test(n)?u||r.classes.push("cancel-pad"):n==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var y=0,N=0,S=0;/box/.test(n)?(S=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),y=t.fontMetrics().fboxsep+(n==="colorbox"?0:S),N=y):n==="angl"?(S=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),y=4*S,N=Math.max(0,.25-r.depth)):(y=u?.2:0,N=y),i=Wf(r,n,y,N,t),/fbox|boxed|fcolorbox/.test(n)?(i.style.borderStyle="solid",i.style.borderWidth=K(S)):n==="angl"&&S!==.049&&(i.style.borderTopWidth=K(S),i.style.borderRightWidth=K(S)),s=r.depth+N,e.backgroundColor&&(i.style.backgroundColor=e.backgroundColor,e.borderColor&&(i.style.borderColor=e.borderColor))}var D;if(e.backgroundColor)D=Ee({positionType:"individualShift",children:[{type:"elem",elem:i,shift:s},{type:"elem",elem:r,shift:0}]});else{var O=/cancel|phase/.test(n)?["svg-align"]:[];D=Ee({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:i,shift:s,wrapperClasses:O}]})}return/cancel/.test(n)&&(D.height=r.height,D.depth=r.depth),/cancel/.test(n)&&!u?j(["mord","cancel-lap"],[D],t):j(["mord"],[D],t)},$i=(e,t)=>{var r=0,n=new W(e.label.includes("colorbox")?"mpadded":"menclose",[ke(e.body,t)]);switch(e.label){case"\\cancel":n.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":n.setAttribute("notation","downdiagonalstrike");break;case"\\phase":n.setAttribute("notation","phasorangle");break;case"\\sout":n.setAttribute("notation","horizontalstrike");break;case"\\fbox":n.setAttribute("notation","box");break;case"\\angl":n.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,n.setAttribute("width","+"+2*r+"pt"),n.setAttribute("height","+"+2*r+"pt"),n.setAttribute("lspace",r+"pt"),n.setAttribute("voffset",r+"pt"),e.label==="\\fcolorbox"){var a=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);n.setAttribute("style","border: "+a+"em solid "+String(e.borderColor))}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&n.setAttribute("mathbackground",e.backgroundColor),n};ee({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:n,funcName:a}=e,i=he(t[0],"color-token").color,s=t[1];return{type:"enclose",mode:n.mode,label:a,backgroundColor:i,body:s}},htmlBuilder:qi,mathmlBuilder:$i});ee({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:n,funcName:a}=e,i=he(t[0],"color-token").color,s=he(t[1],"color-token").color,u=t[2];return{type:"enclose",mode:n.mode,label:a,backgroundColor:s,borderColor:i,body:u}},htmlBuilder:qi,mathmlBuilder:$i});ee({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\fbox",body:t[0]}}});ee({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];return{type:"enclose",mode:r.mode,label:n,body:a}},htmlBuilder:qi,mathmlBuilder:$i});ee({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\angl",body:t[0]}}});var Yo={};function Ot(e){for(var{type:t,names:r,props:n,handler:a,htmlBuilder:i,mathmlBuilder:s}=e,u={type:t,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:a},l=0;l<r.length;++l)Yo[r[l]]=u;i&&(v0[t]=i),s&&(k0[t]=s)}var Go={};function T(e,t){Go[e]=t}function uu(e){var t=[];e.consumeSpaces();var r=e.fetch().text;for(r==="\\relax"&&(e.consume(),e.consumeSpaces(),r=e.fetch().text);r==="\\hline"||r==="\\hdashline";)e.consume(),t.push(r==="\\hdashline"),e.consumeSpaces(),r=e.fetch().text;return t}var V0=e=>{var t=e.parser.settings;if(!t.displayMode)throw new V("{"+e.envName+"} can be used only in display mode.")},hm=new Set(["gather","gather*"]);function ji(e){if(!e.includes("ed"))return!e.includes("*")}function dr(e,t,r){var{hskipBeforeAndAfter:n,addJot:a,cols:i,arraystretch:s,colSeparationType:u,autoTag:l,singleRow:o,emptySingleRow:h,maxNumCols:d,leqno:p}=t;if(e.gullet.beginGroup(),o||e.gullet.macros.set("\\cr","\\\\\\relax"),!s){var g=e.gullet.expandMacroAsText("\\arraystretch");if(g==null)s=1;else if(s=parseFloat(g),!s||s<0)throw new V("Invalid \\arraystretch: "+g)}e.gullet.beginGroup();var E=[],y=[E],N=[],S=[],D=l!=null?[]:void 0;function O(){l&&e.gullet.macros.set("\\@eqnsw","1",!0)}function H(){D&&(e.gullet.macros.get("\\df@tag")?(D.push(e.subparse([new ht("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):D.push(!!l&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(O(),S.push(uu(e));;){var G=e.parseExpression(!1,o?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),G={type:"ordgroup",mode:e.mode,body:G},r&&(G={type:"styling",mode:e.mode,style:r,body:[G]}),E.push(G);var R=e.fetch().text;if(R==="&"){if(d&&E.length===d){if(o||u)throw new V("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(R==="\\end"){H(),E.length===1&&G.type==="styling"&&G.body[0].body.length===0&&(y.length>1||!h)&&y.pop(),S.length<y.length+1&&S.push([]);break}else if(R==="\\\\"){e.consume();var X=void 0;e.gullet.future().text!==" "&&(X=e.parseSizeGroup(!0)),N.push(X?X.value:null),H(),S.push(uu(e)),E=[],y.push(E),O()}else throw new V("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:a,arraystretch:s,body:y,cols:i,rowGaps:N,hskipBeforeAndAfter:n,hLinesBeforeRow:S,colSeparationType:u,tags:D,leqno:p}}function Yi(e){return e.slice(0,1)==="d"?"display":"text"}var Mt=function(t,r){var n,a,i=t.body.length,s=t.hLinesBeforeRow,u=0,l=new Array(i),o=[],h=Math.max(r.fontMetrics().arrayRuleWidth,r.minRuleThickness),d=1/r.fontMetrics().ptPerEm,p=5*d;if(t.colSeparationType&&t.colSeparationType==="small"){var g=r.havingStyle(le.SCRIPT).sizeMultiplier;p=.2778*(g/r.sizeMultiplier)}var E=t.colSeparationType==="CD"?Ie({number:3,unit:"ex"},r):12*d,y=3*d,N=t.arraystretch*E,S=.7*N,D=.3*N,O=0;function H(mr){for(var Rr=0;Rr<mr.length;++Rr)Rr>0&&(O+=.25),o.push({pos:O,isDashed:mr[Rr]})}for(H(s[0]),n=0;n<t.body.length;++n){var G=t.body[n],R=S,X=D;u<G.length&&(u=G.length);var re=new Array(G.length);for(a=0;a<G.length;++a){var Q=be(G[a],r);X<Q.depth&&(X=Q.depth),R<Q.height&&(R=Q.height),re[a]=Q}var M=t.rowGaps[n],Z=0;M&&(Z=Ie(M,r),Z>0&&(Z+=D,X<Z&&(X=Z),Z=0)),t.addJot&&(X+=y),re.height=R,re.depth=X,O+=R,re.pos=O,O+=X+Z,l[n]=re,H(s[n+1])}var F=O/2+r.fontMetrics().axisHeight,ae=t.cols||[],de=[],ue,we,Se=[];if(t.tags&&t.tags.some(mr=>mr))for(n=0;n<i;++n){var Ue=l[n],lt=Ue.pos-F,C=t.tags[n],Pe=void 0;C===!0?Pe=j(["eqn-num"],[],r):C===!1?Pe=j([],[],r):Pe=j([],He(C,r,!0),r),Pe.depth=Ue.depth,Pe.height=Ue.height,Se.push({type:"elem",elem:Pe,shift:lt})}for(a=0,we=0;a<u||we<ae.length;++a,++we){for(var De=ae[we]||{},_=!0;De.type==="separator";){if(_||(ue=j(["arraycolsep"],[]),ue.style.width=K(r.fontMetrics().doubleRuleSep),de.push(ue)),De.separator==="|"||De.separator===":"){var Qe=De.separator==="|"?"solid":"dashed",nt=j(["vertical-separator"],[],r);nt.style.height=K(O),nt.style.borderRightWidth=K(h),nt.style.borderRightStyle=Qe,nt.style.margin="0 "+K(-h/2);var Be=O-F;Be&&(nt.style.verticalAlign=K(-Be)),de.push(nt)}else throw new V("Invalid separator type: "+De.separator);we++,De=ae[we]||{},_=!1}if(!(a>=u)){var mt=void 0;if(a>0||t.hskipBeforeAndAfter){var xt;mt=(xt=De.pregap)!=null?xt:p,mt!==0&&(ue=j(["arraycolsep"],[]),ue.style.width=K(mt),de.push(ue))}var ot=[];for(n=0;n<i;++n){var yt=l[n],zt=yt[a];if(zt){var la=yt.pos-F;zt.depth=yt.depth,zt.height=yt.height,ot.push({type:"elem",elem:zt,shift:la})}}if(ot=Ee({positionType:"individualShift",children:ot}),ot=j(["col-align-"+(De.align||"c")],[ot]),de.push(ot),a<u-1||t.hskipBeforeAndAfter){var Wn;mt=(Wn=De.postgap)!=null?Wn:p,mt!==0&&(ue=j(["arraycolsep"],[]),ue.style.width=K(mt),de.push(ue))}}}if(l=j(["mtable"],de),o.length>0){for(var oa=Yr("hline",r,h),Xn=Yr("hdashline",r,h),Ir=[{type:"elem",elem:l,shift:0}];o.length>0;){var nn=o.pop(),Qn=nn.pos-F;nn.isDashed?Ir.push({type:"elem",elem:Xn,shift:Qn}):Ir.push({type:"elem",elem:oa,shift:Qn})}l=Ee({positionType:"individualShift",children:Ir})}if(Se.length===0)return j(["mord"],[l],r);var Dr=Ee({positionType:"individualShift",children:Se});return Dr=j(["tag"],[Dr],r),Qt([l,Dr])},dm={c:"center ",l:"left ",r:"right "},Pt=function(t,r){for(var n=[],a=new W("mtd",[],["mtr-glue"]),i=new W("mtd",[],["mml-eqn-num"]),s=0;s<t.body.length;s++){for(var u=t.body[s],l=[],o=0;o<u.length;o++)l.push(new W("mtd",[ke(u[o],r)]));t.tags&&t.tags[s]&&(l.unshift(a),l.push(a),t.leqno?l.unshift(i):l.push(i)),n.push(new W("mtr",l))}var h=new W("mtable",n),d=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);h.setAttribute("rowspacing",K(d));var p="",g="";if(t.cols&&t.cols.length>0){var E=t.cols,y="",N=!1,S=0,D=E.length;E[0].type==="separator"&&(p+="top ",S=1),E[E.length-1].type==="separator"&&(p+="bottom ",D-=1);for(var O=S;O<D;O++)E[O].type==="align"?(g+=dm[E[O].align],N&&(y+="none "),N=!0):E[O].type==="separator"&&N&&(y+=E[O].separator==="|"?"solid ":"dashed ",N=!1);h.setAttribute("columnalign",g.trim()),/[sd]/.test(y)&&h.setAttribute("columnlines",y.trim())}if(t.colSeparationType==="align"){for(var H=t.cols||[],G="",R=1;R<H.length;R++)G+=R%2?"0em ":"1em ";h.setAttribute("columnspacing",G.trim())}else t.colSeparationType==="alignat"||t.colSeparationType==="gather"?h.setAttribute("columnspacing","0em"):t.colSeparationType==="small"?h.setAttribute("columnspacing","0.2778em"):t.colSeparationType==="CD"?h.setAttribute("columnspacing","0.5em"):h.setAttribute("columnspacing","1em");var X="",re=t.hLinesBeforeRow;p+=re[0].length>0?"left ":"",p+=re[re.length-1].length>0?"right ":"";for(var Q=1;Q<re.length-1;Q++)X+=re[Q].length===0?"none ":re[Q][0]?"dashed ":"solid ";return/[sd]/.test(X)&&h.setAttribute("rowlines",X.trim()),p!==""&&(h=new W("menclose",[h]),h.setAttribute("notation",p.trim())),t.arraystretch&&t.arraystretch<1&&(h=new W("mstyle",[h]),h.setAttribute("scriptlevel","1")),h},Vo=function(t,r){t.envName.includes("ed")||V0(t);var n=[],a=t.envName.includes("at")?"alignat":"align",i=t.envName==="split",s=dr(t.parser,{cols:n,addJot:!0,autoTag:i?void 0:ji(t.envName),emptySingleRow:!0,colSeparationType:a,maxNumCols:i?2:void 0,leqno:t.parser.settings.leqno},"display"),u,l=0,o={type:"ordgroup",mode:t.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var h="",d=0;d<r[0].body.length;d++){var p=he(r[0].body[d],"textord");h+=p.text}u=Number(h),l=u*2}var g=!l;s.body.forEach(function(S){for(var D=1;D<S.length;D+=2){var O=he(S[D],"styling"),H=he(O.body[0],"ordgroup");H.body.unshift(o)}if(g)l<S.length&&(l=S.length);else{var G=S.length/2;if(u<G)throw new V("Too many math in a row: "+("expected "+u+", but got "+G),S[0])}});for(var E=0;E<l;++E){var y="r",N=0;E%2===1?y="l":E>0&&g&&(N=1),n[E]={type:"align",align:y,pregap:N,postgap:0}}return s.colSeparationType=g?"align":"alignat",s};Ot({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=j0(t[0]),n=r?[t[0]]:he(t[0],"ordgroup").body,a=n.map(function(s){var u=zi(s),l=u.text;if("lcr".includes(l))return{type:"align",align:l};if(l==="|")return{type:"separator",separator:"|"};if(l===":")return{type:"separator",separator:":"};throw new V("Unknown column alignment: "+l,s)}),i={cols:a,hskipBeforeAndAfter:!0,maxNumCols:a.length};return dr(e.parser,i,Yi(e.envName))},htmlBuilder:Mt,mathmlBuilder:Pt});Ot({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],r="c",n={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if(e.envName.charAt(e.envName.length-1)==="*"){var a=e.parser;if(a.consumeSpaces(),a.fetch().text==="["){if(a.consume(),a.consumeSpaces(),r=a.fetch().text,!"lcr".includes(r))throw new V("Expected l or c or r",a.nextToken);a.consume(),a.consumeSpaces(),a.expect("]"),a.consume(),n.cols=[{type:"align",align:r}]}}var i=dr(e.parser,n,Yi(e.envName)),s=Math.max(0,...i.body.map(u=>u.length));return i.cols=new Array(s).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[i],left:t[0],right:t[1],rightColor:void 0}:i},htmlBuilder:Mt,mathmlBuilder:Pt});Ot({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},r=dr(e.parser,t,"script");return r.colSeparationType="small",r},htmlBuilder:Mt,mathmlBuilder:Pt});Ot({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=j0(t[0]),n=r?[t[0]]:he(t[0],"ordgroup").body,a=n.map(function(s){var u=zi(s),l=u.text;if("lc".includes(l))return{type:"align",align:l};throw new V("Unknown column alignment: "+l,s)});if(a.length>1)throw new V("{subarray} can contain only one column");var i={cols:a,hskipBeforeAndAfter:!1,arraystretch:.5};if(i=dr(e.parser,i,"script"),i.body.length>0&&i.body[0].length>1)throw new V("{subarray} can contain only one column");return i},htmlBuilder:Mt,mathmlBuilder:Pt});Ot({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},r=dr(e.parser,t,Yi(e.envName));return{type:"leftright",mode:e.mode,body:[r],left:e.envName.includes("r")?".":"\\{",right:e.envName.includes("r")?"\\}":".",rightColor:void 0}},htmlBuilder:Mt,mathmlBuilder:Pt});Ot({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Vo,htmlBuilder:Mt,mathmlBuilder:Pt});Ot({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){hm.has(e.envName)&&V0(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:ji(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return dr(e.parser,t,"display")},htmlBuilder:Mt,mathmlBuilder:Pt});Ot({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Vo,htmlBuilder:Mt,mathmlBuilder:Pt});Ot({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){V0(e);var t={autoTag:ji(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return dr(e.parser,t,"display")},htmlBuilder:Mt,mathmlBuilder:Pt});Ot({type:"array",names:["CD"],props:{numArgs:0},handler(e){return V0(e),Jf(e.parser)},htmlBuilder:Mt,mathmlBuilder:Pt});T("\\nonumber","\\gdef\\@eqnsw{0}");T("\\notag","\\nonumber");ee({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new V(e.funcName+" valid only within array environment")}});var lu=Yo;ee({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];if(a.type!=="ordgroup")throw new V("Invalid environment name",a);for(var i="",s=0;s<a.body.length;++s)i+=he(a.body[s],"textord").text;if(n==="\\begin"){if(!lu.hasOwnProperty(i))throw new V("No such environment: "+i,a);var u=lu[i],{args:l,optArgs:o}=r.parseArguments("\\begin{"+i+"}",u),h={mode:r.mode,envName:i,parser:r},d=u.handler(h,l,o);r.expect("\\end",!1);var p=r.nextToken,g=he(r.parseFunction(),"environment");if(g.name!==i)throw new V("Mismatch: \\begin{"+i+"} matched by \\end{"+g.name+"}",p);return d}return{type:"environment",mode:r.mode,name:i,nameGroup:a}}});var Wo=(e,t)=>{var r=e.font,n=t.withFont(r);return be(e.body,n)},Xo=(e,t)=>{var r=e.font,n=t.withFont(r);return ke(e.body,n)},ou={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};ee({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=A0(t[0]),i=n;return i in ou&&(i=ou[i]),{type:"font",mode:r.mode,font:i.slice(1),body:a}},htmlBuilder:Wo,mathmlBuilder:Xo});ee({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"mclass",mode:r.mode,mclass:Y0(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:Wt(n)}}});ee({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,breakOnTokenText:a}=e,{mode:i}=r,s=r.parseExpression(!0,a),u="math"+n.slice(1);return{type:"font",mode:i,font:u,body:{type:"ordgroup",mode:r.mode,body:s}}},htmlBuilder:Wo,mathmlBuilder:Xo});var fm=(e,t)=>{var r=t.style,n=r.fracNum(),a=r.fracDen(),i;i=t.havingStyle(n);var s=be(e.numer,i,t);if(e.continued){var u=8.5/t.fontMetrics().ptPerEm,l=3.5/t.fontMetrics().ptPerEm;s.height=s.height<u?u:s.height,s.depth=s.depth<l?l:s.depth}i=t.havingStyle(a);var o=be(e.denom,i,t),h,d,p;e.hasBarLine?(e.barSize?(d=Ie(e.barSize,t),h=Yr("frac-line",t,d)):h=Yr("frac-line",t),d=h.height,p=h.height):(h=null,d=0,p=t.fontMetrics().defaultRuleThickness);var g,E,y;r.size===le.DISPLAY.size?(g=t.fontMetrics().num1,d>0?E=3*p:E=7*p,y=t.fontMetrics().denom1):(d>0?(g=t.fontMetrics().num2,E=p):(g=t.fontMetrics().num3,E=3*p),y=t.fontMetrics().denom2);var N;if(h){var D=t.fontMetrics().axisHeight;g-s.depth-(D+.5*d)<E&&(g+=E-(g-s.depth-(D+.5*d))),D-.5*d-(o.height-y)<E&&(y+=E-(D-.5*d-(o.height-y)));var O=-(D-.5*d);N=Ee({positionType:"individualShift",children:[{type:"elem",elem:o,shift:y},{type:"elem",elem:h,shift:O},{type:"elem",elem:s,shift:-g}]})}else{var S=g-s.depth-(o.height-y);S<E&&(g+=.5*(E-S),y+=.5*(E-S)),N=Ee({positionType:"individualShift",children:[{type:"elem",elem:o,shift:y},{type:"elem",elem:s,shift:-g}]})}i=t.havingStyle(r),N.height*=i.sizeMultiplier/t.sizeMultiplier,N.depth*=i.sizeMultiplier/t.sizeMultiplier;var H;r.size===le.DISPLAY.size?H=t.fontMetrics().delim1:r.size===le.SCRIPTSCRIPT.size?H=t.havingStyle(le.SCRIPT).fontMetrics().delim2:H=t.fontMetrics().delim2;var G,R;return e.leftDelim==null?G=Dn(t,["mopen"]):G=ai(e.leftDelim,H,!0,t.havingStyle(r),e.mode,["mopen"]),e.continued?R=j([]):e.rightDelim==null?R=Dn(t,["mclose"]):R=ai(e.rightDelim,H,!0,t.havingStyle(r),e.mode,["mclose"]),j(["mord"].concat(i.sizingClasses(t)),[G,j(["mfrac"],[N]),R],t)},mm=(e,t)=>{var r=new W("mfrac",[ke(e.numer,t),ke(e.denom,t)]);if(!e.hasBarLine)r.setAttribute("linethickness","0px");else if(e.barSize){var n=Ie(e.barSize,t);r.setAttribute("linethickness",K(n))}if(e.leftDelim!=null||e.rightDelim!=null){var a=[];if(e.leftDelim!=null){var i=new W("mo",[new Fe(e.leftDelim.replace("\\",""))]);i.setAttribute("fence","true"),a.push(i)}if(a.push(r),e.rightDelim!=null){var s=new W("mo",[new Fe(e.rightDelim.replace("\\",""))]);s.setAttribute("fence","true"),a.push(s)}return Bi(a)}return r},Qo=(e,t)=>{if(!t)return e;var r={type:"styling",mode:e.mode,style:t,body:[e]};return r};ee({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0],i=t[1],s,u=null,l=null;switch(n){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":s=!0;break;case"\\\\atopfrac":s=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":s=!1,u="(",l=")";break;case"\\\\bracefrac":s=!1,u="\\{",l="\\}";break;case"\\\\brackfrac":s=!1,u="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}var o=n==="\\cfrac",h=null;return o||n.startsWith("\\d")?h="display":n.startsWith("\\t")&&(h="text"),Qo({type:"genfrac",mode:r.mode,numer:a,denom:i,continued:o,hasBarLine:s,leftDelim:u,rightDelim:l,barSize:null},h)},htmlBuilder:fm,mathmlBuilder:mm});ee({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:r,token:n}=e,a;switch(r){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:n}}});var cu=["display","text","script","scriptscript"],hu=function(t){var r=null;return t.length>0&&(r=t,r=r==="."?null:r),r};ee({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var{parser:r}=e,n=t[4],a=t[5],i=A0(t[0]),s=i.type==="atom"&&i.family==="open"?hu(i.text):null,u=A0(t[1]),l=u.type==="atom"&&u.family==="close"?hu(u.text):null,o=he(t[2],"size"),h,d=null;o.isBlank?h=!0:(d=o.value,h=d.number>0);var p=null,g=t[3];if(g.type==="ordgroup"){if(g.body.length>0){var E=he(g.body[0],"textord");p=cu[Number(E.text)]}}else g=he(g,"textord"),p=cu[Number(g.text)];return Qo({type:"genfrac",mode:r.mode,numer:n,denom:a,continued:!1,hasBarLine:h,barSize:d,leftDelim:s,rightDelim:l},p)}});ee({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:n,token:a}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:he(t[0],"size").value,token:a}}});ee({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0],i=he(t[1],"infix").size;if(!i)throw new Error("\\\\abovefrac expected size, but got "+String(i));var s=t[2],u=i.number>0;return{type:"genfrac",mode:r.mode,numer:a,denom:s,continued:!1,hasBarLine:u,barSize:i,leftDelim:null,rightDelim:null}}});var Ko=(e,t)=>{var r=t.style,n,a;e.type==="supsub"?(n=e.sup?be(e.sup,t.havingStyle(r.sup()),t):be(e.sub,t.havingStyle(r.sub()),t),a=he(e.base,"horizBrace")):a=he(e,"horizBrace");var i=be(a.base,t.havingBaseStyle(le.DISPLAY)),s=$0(a,t),u;if(a.isOver?(u=Ee({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:.1},{type:"elem",elem:s}]}),u.children[0].children[0].children[1].classes.push("svg-align")):(u=Ee({positionType:"bottom",positionData:i.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:i}]}),u.children[0].children[0].children[0].classes.push("svg-align")),n){var l=j(["mord",a.isOver?"mover":"munder"],[u],t);a.isOver?u=Ee({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:n}]}):u=Ee({positionType:"bottom",positionData:l.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:l}]})}return j(["mord",a.isOver?"mover":"munder"],[u],t)},pm=(e,t)=>{var r=q0(e.label);return new W(e.isOver?"mover":"munder",[ke(e.base,t),r])};ee({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"horizBrace",mode:r.mode,label:n,isOver:/^\\over/.test(n),base:t[0]}},htmlBuilder:Ko,mathmlBuilder:pm});ee({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[1],a=he(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:a})?{type:"href",mode:r.mode,href:a,body:Me(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=He(e.body,t,!1);return Rf(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=or(e.body,t);return r instanceof W||(r=new W("mrow",[r])),r.setAttribute("href",e.href),r}});ee({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=he(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var a=[],i=0;i<n.length;i++){var s=n[i];s==="~"&&(s="\\textasciitilde"),a.push({type:"textord",mode:"text",text:s})}var u={type:"text",mode:r.mode,font:"\\texttt",body:a};return{type:"href",mode:r.mode,href:n,body:Me(u)}}});ee({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(e,t){var{parser:r}=e;return{type:"hbox",mode:r.mode,body:Me(t[0])}},htmlBuilder(e,t){var r=He(e.body,t,!1);return Qt(r)},mathmlBuilder(e,t){return new W("mrow",ut(e.body,t))}});ee({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,token:a}=e,i=he(t[0],"raw").string,s=t[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var u,l={};switch(n){case"\\htmlClass":l.class=i,u={command:"\\htmlClass",class:i};break;case"\\htmlId":l.id=i,u={command:"\\htmlId",id:i};break;case"\\htmlStyle":l.style=i,u={command:"\\htmlStyle",style:i};break;case"\\htmlData":{for(var o=i.split(","),h=0;h<o.length;h++){var d=o[h],p=d.indexOf("=");if(p<0)throw new V("\\htmlData key/value '"+d+"' missing equals sign");var g=d.slice(0,p),E=d.slice(p+1);l["data-"+g.trim()]=E}u={command:"\\htmlData",attributes:l};break}default:throw new Error("Unrecognized html command")}return r.settings.isTrusted(u)?{type:"html",mode:r.mode,attributes:l,body:Me(s)}:r.formatUnsupportedCmd(n)},htmlBuilder:(e,t)=>{var r=He(e.body,t,!1),n=["enclosing"];e.attributes.class&&n.push(...e.attributes.class.trim().split(/\s+/));var a=j(n,r,t);for(var i in e.attributes)i!=="class"&&e.attributes.hasOwnProperty(i)&&a.setAttribute(i,e.attributes[i]);return a},mathmlBuilder:(e,t)=>or(e.body,t)});ee({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInArgument:!0,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:Me(t[0]),mathml:Me(t[1])}},htmlBuilder:(e,t)=>{var r=He(e.html,t,!1);return Qt(r)},mathmlBuilder:(e,t)=>or(e.mathml,t)});var ka=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!r)throw new V("Invalid size: '"+t+"' in \\includegraphics");var n={number:+(r[1]+r[2]),unit:r[3]};if(!po(n))throw new V("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};ee({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:n}=e,a={number:0,unit:"em"},i={number:.9,unit:"em"},s={number:0,unit:"em"},u="";if(r[0])for(var l=he(r[0],"raw").string,o=l.split(","),h=0;h<o.length;h++){var d=o[h].split("=");if(d.length===2){var p=d[1].trim();switch(d[0].trim()){case"alt":u=p;break;case"width":a=ka(p);break;case"height":i=ka(p);break;case"totalheight":s=ka(p);break;default:throw new V("Invalid key: '"+d[0]+"' in \\includegraphics.")}}}var g=he(t[0],"url").url;return u===""&&(u=g,u=u.replace(/^.*[\\/]/,""),u=u.substring(0,u.lastIndexOf("."))),n.settings.isTrusted({command:"\\includegraphics",url:g})?{type:"includegraphics",mode:n.mode,alt:u,width:a,height:i,totalheight:s,src:g}:n.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var r=Ie(e.height,t),n=0;e.totalheight.number>0&&(n=Ie(e.totalheight,t)-r);var a=0;e.width.number>0&&(a=Ie(e.width,t));var i={height:K(r+n)};a>0&&(i.width=K(a)),n>0&&(i.verticalAlign=K(-n));var s=new Af(e.src,e.alt,i);return s.height=r,s.depth=n,s},mathmlBuilder:(e,t)=>{var r=new W("mglyph",[]);r.setAttribute("alt",e.alt);var n=Ie(e.height,t),a=0;if(e.totalheight.number>0&&(a=Ie(e.totalheight,t)-n,r.setAttribute("valign",K(-a))),r.setAttribute("height",K(n+a)),e.width.number>0){var i=Ie(e.width,t);r.setAttribute("width",K(i))}return r.setAttribute("src",e.src),r}});ee({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,a=he(t[0],"size");if(r.settings.strict){var i=n[1]==="m",s=a.value.unit==="mu";i?(s||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, "+("not "+a.value.unit+" units")),r.mode!=="math"&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):s&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:a.value}},htmlBuilder(e,t){return yo(e.dimension,t)},mathmlBuilder(e,t){var r=Ie(e.dimension,t);return new Co(r)}});ee({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:a}},htmlBuilder:(e,t)=>{var r;e.alignment==="clap"?(r=j([],[be(e.body,t)]),r=j(["inner"],[r],t)):r=j(["inner"],[be(e.body,t)]);var n=j(["fix"],[]),a=j([e.alignment],[r,n],t),i=j(["strut"]);return i.style.height=K(a.height+a.depth),a.depth&&(i.style.verticalAlign=K(-a.depth)),a.children.unshift(i),a=j(["thinbox"],[a],t),j(["mord","vbox"],[a],t)},mathmlBuilder:(e,t)=>{var r=new W("mpadded",[ke(e.body,t)]);if(e.alignment!=="rlap"){var n=e.alignment==="llap"?"-1":"-0.5";r.setAttribute("lspace",n+"width")}return r.setAttribute("width","0px"),r}});ee({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:n}=e,a=n.mode;n.switchMode("math");var i=r==="\\("?"\\)":"$",s=n.parseExpression(!1,i);return n.expect(i),n.switchMode(a),{type:"styling",mode:n.mode,style:"text",body:s}}});ee({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new V("Mismatched "+e.funcName)}});var du=(e,t)=>{switch(t.style.size){case le.DISPLAY.size:return e.display;case le.TEXT.size:return e.text;case le.SCRIPT.size:return e.script;case le.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};ee({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:Me(t[0]),text:Me(t[1]),script:Me(t[2]),scriptscript:Me(t[3])}},htmlBuilder:(e,t)=>{var r=du(e,t),n=He(r,t,!1);return Qt(n)},mathmlBuilder:(e,t)=>{var r=du(e,t);return or(r,t)}});var Zo=(e,t,r,n,a,i,s)=>{e=j([],[e]);var u=r&&Wt(r),l,o;if(t){var h=be(t,n.havingStyle(a.sup()),n);o={elem:h,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-h.depth)}}if(r){var d=be(r,n.havingStyle(a.sub()),n);l={elem:d,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-d.height)}}var p;if(o&&l){var g=n.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+e.depth+s;p=Ee({positionType:"bottom",positionData:g,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:K(-i)},{type:"kern",size:l.kern},{type:"elem",elem:e},{type:"kern",size:o.kern},{type:"elem",elem:o.elem,marginLeft:K(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]})}else if(l){var E=e.height-s;p=Ee({positionType:"top",positionData:E,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:K(-i)},{type:"kern",size:l.kern},{type:"elem",elem:e}]})}else if(o){var y=e.depth+s;p=Ee({positionType:"bottom",positionData:y,children:[{type:"elem",elem:e},{type:"kern",size:o.kern},{type:"elem",elem:o.elem,marginLeft:K(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]})}else return e;var N=[p];if(l&&i!==0&&!u){var S=j(["mspace"],[],n);S.style.marginRight=K(i),N.unshift(S)}return j(["mop","op-limits"],N,n)},Jo=new Set(["\\smallint"]),Kr=(e,t)=>{var r,n,a=!1,i;e.type==="supsub"?(r=e.sup,n=e.sub,i=he(e.base,"op"),a=!0):i=he(e,"op");var s=t.style,u=!1;s.size===le.DISPLAY.size&&i.symbol&&!Jo.has(i.name)&&(u=!0);var l;if(i.symbol){var o=u?"Size2-Regular":"Size1-Regular",h="";if((i.name==="\\oiint"||i.name==="\\oiiint")&&(h=i.name.slice(1),i.name=h==="oiint"?"\\iint":"\\iiint"),l=Ze(i.name,o,"math",t,["mop","op-symbol",u?"large-op":"small-op"]),h.length>0){var d=l.italic,p=ko(h+"Size"+(u?"2":"1"),t);l=Ee({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:p,shift:u?.08:0}]}),i.name="\\"+h,l.classes.unshift("mop"),l.italic=d}}else if(i.body){var g=He(i.body,t,!0);g.length===1&&g[0]instanceof Et?(l=g[0],l.classes[0]="mop"):l=j(["mop"],g,t)}else{for(var E=[],y=1;y<i.name.length;y++)E.push(Mi(i.name[y],i.mode,t));l=j(["mop"],E,t)}var N=0,S=0;return(l instanceof Et||i.name==="\\oiint"||i.name==="\\oiiint")&&!i.suppressBaseShift&&(N=(l.height-l.depth)/2-t.fontMetrics().axisHeight,S=l.italic),a?Zo(l,r,n,t,s,S,N):(N&&(l.style.position="relative",l.style.top=K(N)),l)},Hn=(e,t)=>{var r;if(e.symbol)r=new W("mo",[Tt(e.name,e.mode)]),Jo.has(e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new W("mo",ut(e.body,t));else{r=new W("mi",[new Fe(e.name.slice(1))]);var n=new W("mo",[Tt("","text")]);e.parentIsSupSub?r=new W("mrow",[r,n]):r=So([r,n])}return r},gm={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};ee({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=n;return a.length===1&&(a=gm[a]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:Kr,mathmlBuilder:Hn});ee({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Me(n)}},htmlBuilder:Kr,mathmlBuilder:Hn});var bm={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};ee({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:Kr,mathmlBuilder:Hn});ee({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:Kr,mathmlBuilder:Hn});ee({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0,allowedInArgument:!0},handler(e){var{parser:t,funcName:r}=e,n=r;return n.length===1&&(n=bm[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:Kr,mathmlBuilder:Hn});var ec=(e,t)=>{var r,n,a=!1,i;e.type==="supsub"?(r=e.sup,n=e.sub,i=he(e.base,"operatorname"),a=!0):i=he(e,"operatorname");var s;if(i.body.length>0){for(var u=i.body.map(d=>{var p=d.text;return typeof p=="string"?{type:"textord",mode:d.mode,text:p}:d}),l=He(u,t.withFont("mathrm"),!0),o=0;o<l.length;o++){var h=l[o];h instanceof Et&&(h.text=h.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}s=j(["mop"],l,t)}else s=j(["mop"],[],t);return a?Zo(s,r,n,t,t.style,0,0):s},Em=(e,t)=>{for(var r=ut(e.body,t.withFont("mathrm")),n=!0,a=0;a<r.length;a++){var i=r[a];if(!(i instanceof Co))if(i instanceof W)switch(i.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var s=i.children[0];i.children.length===1&&s instanceof Fe?s.text=s.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):n=!1;break}default:n=!1}else n=!1}if(n){var u=r.map(h=>h.toText()).join("");r=[new Fe(u)]}var l=new W("mi",r);l.setAttribute("mathvariant","normal");var o=new W("mo",[Tt("","text")]);return e.parentIsSupSub?new W("mrow",[l,o]):So([l,o])};ee({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0];return{type:"operatorname",mode:r.mode,body:Me(a),alwaysHandleSupSub:n==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:ec,mathmlBuilder:Em});T("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");Sr({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?Qt(He(e.body,t,!1)):j(["mord"],He(e.body,t,!0),t)},mathmlBuilder(e,t){return or(e.body,t,!0)}});ee({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:r}=e,n=t[0];return{type:"overline",mode:r.mode,body:n}},htmlBuilder(e,t){var r=be(e.body,t.havingCrampedStyle()),n=Yr("overline-line",t),a=t.fontMetrics().defaultRuleThickness,i=Ee({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*a},{type:"elem",elem:n},{type:"kern",size:a}]});return j(["mord","overline"],[i],t)},mathmlBuilder(e,t){var r=new W("mo",[new Fe("‾")]);r.setAttribute("stretchy","true");var n=new W("mover",[ke(e.body,t),r]);return n.setAttribute("accent","true"),n}});ee({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"phantom",mode:r.mode,body:Me(n)}},htmlBuilder:(e,t)=>{var r=He(e.body,t.withPhantom(),!1);return Qt(r)},mathmlBuilder:(e,t)=>{var r=ut(e.body,t);return new W("mphantom",r)}});ee({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"hphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=j([],[be(e.body,t.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var n=0;n<r.children.length;n++)r.children[n].height=0,r.children[n].depth=0;return r=Ee({positionType:"firstBaseline",children:[{type:"elem",elem:r}]}),j(["mord"],[r],t)},mathmlBuilder:(e,t)=>{var r=ut(Me(e.body),t),n=new W("mphantom",r),a=new W("mpadded",[n]);return a.setAttribute("height","0px"),a.setAttribute("depth","0px"),a}});ee({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"vphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=j(["inner"],[be(e.body,t.withPhantom())]),n=j(["fix"],[]);return j(["mord","rlap"],[r,n],t)},mathmlBuilder:(e,t)=>{var r=ut(Me(e.body),t),n=new W("mphantom",r),a=new W("mpadded",[n]);return a.setAttribute("width","0px"),a}});ee({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,n=he(t[0],"size").value,a=t[1];return{type:"raisebox",mode:r.mode,dy:n,body:a}},htmlBuilder(e,t){var r=be(e.body,t),n=Ie(e.dy,t);return Ee({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]})},mathmlBuilder(e,t){var r=new W("mpadded",[ke(e.body,t)]),n=e.dy.number+e.dy.unit;return r.setAttribute("voffset",n),r}});ee({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}});ee({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,t,r){var{parser:n}=e,a=r[0],i=he(t[0],"size"),s=he(t[1],"size");return{type:"rule",mode:n.mode,shift:a&&he(a,"size").value,width:i.value,height:s.value}},htmlBuilder(e,t){var r=j(["mord","rule"],[],t),n=Ie(e.width,t),a=Ie(e.height,t),i=e.shift?Ie(e.shift,t):0;return r.style.borderRightWidth=K(n),r.style.borderTopWidth=K(a),r.style.bottom=K(i),r.width=n,r.height=a+i,r.depth=-i,r.maxFontSize=a*1.125*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=Ie(e.width,t),n=Ie(e.height,t),a=e.shift?Ie(e.shift,t):0,i=t.color&&t.getColor()||"black",s=new W("mspace");s.setAttribute("mathbackground",i),s.setAttribute("width",K(r)),s.setAttribute("height",K(n));var u=new W("mpadded",[s]);return a>=0?u.setAttribute("height",K(a)):(u.setAttribute("height",K(a)),u.setAttribute("depth",K(-a))),u.setAttribute("voffset",K(a)),u}});function tc(e,t,r){for(var n=He(e,t,!1),a=t.sizeMultiplier/r.sizeMultiplier,i=0;i<n.length;i++){var s=n[i].classes.indexOf("sizing");s<0?Array.prototype.push.apply(n[i].classes,t.sizingClasses(r)):n[i].classes[s+1]==="reset-size"+t.size&&(n[i].classes[s+1]="reset-size"+r.size),n[i].height*=a,n[i].depth*=a}return Qt(n)}var fu=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Tm=(e,t)=>{var r=t.havingSize(e.size);return tc(e.body,r,t)};ee({type:"sizing",names:fu,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:r,funcName:n,parser:a}=e,i=a.parseExpression(!1,r);return{type:"sizing",mode:a.mode,size:fu.indexOf(n)+1,body:i}},htmlBuilder:Tm,mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),n=ut(e.body,r),a=new W("mstyle",n);return a.setAttribute("mathsize",K(r.sizeMultiplier)),a}});ee({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var{parser:n}=e,a=!1,i=!1,s=r[0]&&he(r[0],"ordgroup");if(s)for(var u="",l=0;l<s.body.length;++l){var o=s.body[l];if(u=o.text,u==="t")a=!0;else if(u==="b")i=!0;else{a=!1,i=!1;break}}else a=!0,i=!0;var h=t[0];return{type:"smash",mode:n.mode,body:h,smashHeight:a,smashDepth:i}},htmlBuilder:(e,t)=>{var r=j([],[be(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0,r.children))for(var n=0;n<r.children.length;n++)r.children[n].height=0;if(e.smashDepth&&(r.depth=0,r.children))for(var a=0;a<r.children.length;a++)r.children[a].depth=0;var i=Ee({positionType:"firstBaseline",children:[{type:"elem",elem:r}]});return j(["mord"],[i],t)},mathmlBuilder:(e,t)=>{var r=new W("mpadded",[ke(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}});ee({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n}=e,a=r[0],i=t[0];return{type:"sqrt",mode:n.mode,body:i,index:a}},htmlBuilder(e,t){var r=be(e.body,t.havingCrampedStyle());r.height===0&&(r.height=t.fontMetrics().xHeight),r=Gr(r,t);var n=t.fontMetrics(),a=n.defaultRuleThickness,i=a;t.style.id<le.TEXT.id&&(i=t.fontMetrics().xHeight);var s=a+i/4,u=r.height+r.depth+s+a,{span:l,ruleWidth:o,advanceWidth:h}=im(u,t),d=l.height-o;d>r.height+r.depth+s&&(s=(s+d-r.height-r.depth)/2);var p=l.height-r.height-s-o;r.style.paddingLeft=K(h);var g=Ee({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+p)},{type:"elem",elem:l},{type:"kern",size:o}]});if(e.index){var E=t.havingStyle(le.SCRIPTSCRIPT),y=be(e.index,E,t),N=.6*(g.height-g.depth),S=Ee({positionType:"shift",positionData:-N,children:[{type:"elem",elem:y}]}),D=j(["root"],[S]);return j(["mord","sqrt"],[D,g],t)}else return j(["mord","sqrt"],[g],t)},mathmlBuilder(e,t){var{body:r,index:n}=e;return n?new W("mroot",[ke(r,t),ke(n,t)]):new W("msqrt",[ke(r,t)])}});var mu={display:le.DISPLAY,text:le.TEXT,script:le.SCRIPT,scriptscript:le.SCRIPTSCRIPT};ee({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:n,parser:a}=e,i=a.parseExpression(!0,r),s=n.slice(1,n.length-5);return{type:"styling",mode:a.mode,style:s,body:i}},htmlBuilder(e,t){var r=mu[e.style],n=t.havingStyle(r).withFont("");return tc(e.body,n,t)},mathmlBuilder(e,t){var r=mu[e.style],n=t.havingStyle(r),a=ut(e.body,n),i=new W("mstyle",a),s={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},u=s[e.style];return i.setAttribute("scriptlevel",u[0]),i.setAttribute("displaystyle",u[1]),i}});var xm=function(t,r){var n=t.base;if(n)if(n.type==="op"){var a=n.limits&&(r.style.size===le.DISPLAY.size||n.alwaysHandleSupSub);return a?Kr:null}else if(n.type==="operatorname"){var i=n.alwaysHandleSupSub&&(r.style.size===le.DISPLAY.size||n.limits);return i?ec:null}else{if(n.type==="accent")return Wt(n.base)?Hi:null;if(n.type==="horizBrace"){var s=!t.sub;return s===n.isOver?Ko:null}else return null}else return null};Sr({type:"supsub",htmlBuilder(e,t){var r=xm(e,t);if(r)return r(e,t);var{base:n,sup:a,sub:i}=e,s=be(n,t),u,l,o=t.fontMetrics(),h=0,d=0,p=n&&Wt(n);if(a){var g=t.havingStyle(t.style.sup());u=be(a,g,t),p||(h=s.height-g.fontMetrics().supDrop*g.sizeMultiplier/t.sizeMultiplier)}if(i){var E=t.havingStyle(t.style.sub());l=be(i,E,t),p||(d=s.depth+E.fontMetrics().subDrop*E.sizeMultiplier/t.sizeMultiplier)}var y;t.style===le.DISPLAY?y=o.sup1:t.style.cramped?y=o.sup3:y=o.sup2;var N=t.sizeMultiplier,S=K(.5/o.ptPerEm/N),D=null;if(l){var O=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(s instanceof Et||O)&&(D=K(-s.italic))}var H;if(u&&l){h=Math.max(h,y,u.depth+.25*o.xHeight),d=Math.max(d,o.sub2);var G=o.defaultRuleThickness,R=4*G;if(h-u.depth-(l.height-d)<R){d=R-(h-u.depth)+l.height;var X=.8*o.xHeight-(h-u.depth);X>0&&(h+=X,d-=X)}var re=[{type:"elem",elem:l,shift:d,marginRight:S,marginLeft:D},{type:"elem",elem:u,shift:-h,marginRight:S}];H=Ee({positionType:"individualShift",children:re})}else if(l){d=Math.max(d,o.sub1,l.height-.8*o.xHeight);var Q=[{type:"elem",elem:l,marginLeft:D,marginRight:S}];H=Ee({positionType:"shift",positionData:d,children:Q})}else if(u)h=Math.max(h,y,u.depth+.25*o.xHeight),H=Ee({positionType:"shift",positionData:-h,children:[{type:"elem",elem:u,marginRight:S}]});else throw new Error("supsub must have either sup or sub.");var M=ei(s,"right")||"mord";return j([M],[s,j(["msupsub"],[H])],t)},mathmlBuilder(e,t){var r=!1,n,a;e.base&&e.base.type==="horizBrace"&&(a=!!e.sup,a===e.base.isOver&&(r=!0,n=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var i=[ke(e.base,t)];e.sub&&i.push(ke(e.sub,t)),e.sup&&i.push(ke(e.sup,t));var s;if(r)s=n?"mover":"munder";else if(e.sub)if(e.sup){var o=e.base;o&&o.type==="op"&&o.limits&&t.style===le.DISPLAY||o&&o.type==="operatorname"&&o.alwaysHandleSupSub&&(t.style===le.DISPLAY||o.limits)?s="munderover":s="msubsup"}else{var l=e.base;l&&l.type==="op"&&l.limits&&(t.style===le.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||t.style===le.DISPLAY)?s="munder":s="msub"}else{var u=e.base;u&&u.type==="op"&&u.limits&&(t.style===le.DISPLAY||u.alwaysHandleSupSub)||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(u.limits||t.style===le.DISPLAY)?s="mover":s="msup"}return new W(s,i)}});Sr({type:"atom",htmlBuilder(e,t){return Mi(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var r=new W("mo",[Tt(e.text,e.mode)]);if(e.family==="bin"){var n=Fi(e,t);n==="bold-italic"&&r.setAttribute("mathvariant",n)}else e.family==="punct"?r.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&r.setAttribute("stretchy","false");return r}});var rc={mi:"italic",mn:"normal",mtext:"normal"};Sr({type:"mathord",htmlBuilder(e,t){return U0(e,t,"mathord")},mathmlBuilder(e,t){var r=new W("mi",[Tt(e.text,e.mode,t)]),n=Fi(e,t)||"italic";return n!==rc[r.type]&&r.setAttribute("mathvariant",n),r}});Sr({type:"textord",htmlBuilder(e,t){return U0(e,t,"textord")},mathmlBuilder(e,t){var r=Tt(e.text,e.mode,t),n=Fi(e,t)||"normal",a;return e.mode==="text"?a=new W("mtext",[r]):/[0-9]/.test(e.text)?a=new W("mn",[r]):e.text==="\\prime"?a=new W("mo",[r]):a=new W("mi",[r]),n!==rc[a.type]&&a.setAttribute("mathvariant",n),a}});var Aa={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},wa={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Sr({type:"spacing",htmlBuilder(e,t){if(wa.hasOwnProperty(e.text)){var r=wa[e.text].className||"";if(e.mode==="text"){var n=U0(e,t,"textord");return n.classes.push(r),n}else return j(["mspace",r],[Mi(e.text,e.mode,t)],t)}else{if(Aa.hasOwnProperty(e.text))return j(["mspace",Aa[e.text]],[],t);throw new V('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var r;if(wa.hasOwnProperty(e.text))r=new W("mtext",[new Fe(" ")]);else{if(Aa.hasOwnProperty(e.text))return new W("mspace");throw new V('Unknown type of space "'+e.text+'"')}return r}});var pu=()=>{var e=new W("mtd",[]);return e.setAttribute("width","50%"),e};Sr({type:"tag",mathmlBuilder(e,t){var r=new W("mtable",[new W("mtr",[pu(),new W("mtd",[or(e.body,t)]),pu(),new W("mtd",[or(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var gu={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},bu={"\\textbf":"textbf","\\textmd":"textmd"},ym={"\\textit":"textit","\\textup":"textup"},Eu=(e,t)=>{var r=e.font;if(r){if(gu[r])return t.withTextFontFamily(gu[r]);if(bu[r])return t.withTextFontWeight(bu[r]);if(r==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(ym[r])};ee({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];return{type:"text",mode:r.mode,body:Me(a),font:n}},htmlBuilder(e,t){var r=Eu(e,t),n=He(e.body,r,!0);return j(["mord","text"],n,r)},mathmlBuilder(e,t){var r=Eu(e,t);return or(e.body,r)}});ee({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"underline",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=be(e.body,t),n=Yr("underline-line",t),a=t.fontMetrics().defaultRuleThickness,i=Ee({positionType:"top",positionData:r.height,children:[{type:"kern",size:a},{type:"elem",elem:n},{type:"kern",size:3*a},{type:"elem",elem:r}]});return j(["mord","underline"],[i],t)},mathmlBuilder(e,t){var r=new W("mo",[new Fe("‾")]);r.setAttribute("stretchy","true");var n=new W("munder",[ke(e.body,t),r]);return n.setAttribute("accentunder","true"),n}});ee({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"vcenter",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=be(e.body,t),n=t.fontMetrics().axisHeight,a=.5*(r.height-n-(r.depth+n));return Ee({positionType:"shift",positionData:a,children:[{type:"elem",elem:r}]})},mathmlBuilder(e,t){return new W("mpadded",[ke(e.body,t)],["vcenter"])}});ee({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new V("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=Tu(e),n=[],a=t.havingStyle(t.style.text()),i=0;i<r.length;i++){var s=r[i];s==="~"&&(s="\\textasciitilde"),n.push(Ze(s,"Typewriter-Regular",e.mode,a,["mord","texttt"]))}return j(["mord","text"].concat(a.sizingClasses(t)),xo(n),a)},mathmlBuilder(e,t){var r=new Fe(Tu(e)),n=new W("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});var Tu=e=>e.body.replace(/ /g,e.star?"␣":" "),ar=Ao,nc=`[ \r
|
|
270
|
+
]`,vm="\\\\[a-zA-Z@]+",km="\\\\[^\uD800-\uDFFF]",Am="("+vm+")"+nc+"*",wm=`\\\\(
|
|
271
|
+
|[ \r ]+
|
|
272
|
+
?)[ \r ]*`,ii="[̀-ͯ]",Sm=new RegExp(ii+"+$"),Cm="("+nc+"+)|"+(wm+"|")+"([!-\\[\\]-‧-豈-]"+(ii+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(ii+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+Am)+("|"+km+")");class xu{constructor(t,r){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=t,this.settings=r,this.tokenRegex=new RegExp(Cm,"g"),this.catcodes={"%":14,"~":13}}setCatcode(t,r){this.catcodes[t]=r}lex(){var t=this.input,r=this.tokenRegex.lastIndex;if(r===t.length)return new ht("EOF",new st(this,r,r));var n=this.tokenRegex.exec(t);if(n===null||n.index!==r)throw new V("Unexpected character: '"+t[r]+"'",new ht(t[r],new st(this,r,r+1)));var a=n[6]||n[3]||(n[2]?"\\ ":" ");if(this.catcodes[a]===14){var i=t.indexOf(`
|
|
273
|
+
`,this.tokenRegex.lastIndex);return i===-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=i+1,this.lex()}return new ht(a,new st(this,r,this.tokenRegex.lastIndex))}}class _m{constructor(t,r){t===void 0&&(t={}),r===void 0&&(r={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=r,this.builtins=t,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new V("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var t=this.undefStack.pop();for(var r in t)t.hasOwnProperty(r)&&(t[r]==null?delete this.current[r]:this.current[r]=t[r])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)}get(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]}set(t,r,n){if(n===void 0&&(n=!1),n){for(var a=0;a<this.undefStack.length;a++)delete this.undefStack[a][t];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][t]=r)}else{var i=this.undefStack[this.undefStack.length-1];i&&!i.hasOwnProperty(t)&&(i[t]=this.current[t])}r==null?delete this.current[t]:this.current[t]=r}}var Nm=Go;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 r=e.future();return t[0].length===1&&t[0][0].text===r.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 yu={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(),r,n="";if(t.text==="'")r=8,t=e.popToken();else if(t.text==='"')r=16,t=e.popToken();else if(t.text==="`")if(t=e.popToken(),t.text[0]==="\\")n=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new V("\\char` missing argument");n=t.text.charCodeAt(0)}else r=10;if(r){if(n=yu[t.text],n==null||n>=r)throw new V("Invalid base-"+r+" digit "+t.text);for(var a;(a=yu[e.future().text])!=null&&a<r;)n*=r,n+=a,e.popToken()}return"\\@char{"+n+"}"});var Gi=(e,t,r,n)=>{var a=e.consumeArg().tokens;if(a.length!==1)throw new V("\\newcommand's first argument must be a macro name");var i=a[0].text,s=e.isDefined(i);if(s&&!t)throw new V("\\newcommand{"+i+"} attempting to redefine "+(i+"; use \\renewcommand"));if(!s&&!r)throw new V("\\renewcommand{"+i+"} when command "+i+" does not yet exist; use \\newcommand");var u=0;if(a=e.consumeArg().tokens,a.length===1&&a[0].text==="["){for(var l="",o=e.expandNextToken();o.text!=="]"&&o.text!=="EOF";)l+=o.text,o=e.expandNextToken();if(!l.match(/^\s*[0-9]+\s*$/))throw new V("Invalid number of arguments: "+l);u=parseInt(l),a=e.consumeArg().tokens}return s&&n||e.macros.set(i,{tokens:a,numArgs:u}),""};T("\\newcommand",e=>Gi(e,!1,!0,!1));T("\\renewcommand",e=>Gi(e,!0,!1,!1));T("\\providecommand",e=>Gi(e,!0,!0,!0));T("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(r=>r.text).join("")),""});T("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(r=>r.text).join("")),""});T("\\show",e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),ar[r],Ae.math[r],Ae.text[r]),""});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("·","\\cdotp");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("️","\\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 vu={",":"\\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"},Im=new Set(["bin","rel"]);T("\\dots",function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in vu?t=vu[r]:(r.slice(0,4)==="\\not"||r in Ae.math&&Im.has(Ae.math[r].group))&&(t="\\dotsb"),t});var Vi={")":!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 Vi?"\\ldots\\,":"\\ldots"});T("\\dotsc",function(e){var t=e.future().text;return t in Vi&&t!==","?"\\ldots\\,":"\\ldots"});T("\\cdots",function(e){var t=e.future().text;return t in Vi?"\\@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 V("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 ac=K(Lt["Main-Regular"][84][1]-.7*Lt["Main-Regular"][65][1]);T("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+ac+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");T("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+ac+"}{\\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 ic=e=>t=>{var r=t.consumeArg().tokens,n=t.consumeArg().tokens,a=t.consumeArg().tokens,i=t.consumeArg().tokens,s=t.macros.get("|"),u=t.macros.get("\\|");t.macros.beginGroup();var l=d=>p=>{e&&(p.macros.set("|",s),a.length&&p.macros.set("\\|",u));var g=d;if(!d&&a.length){var E=p.future();E.text==="|"&&(p.popToken(),g=!0)}return{tokens:g?a:n,numArgs:0}};t.macros.set("|",l(!1)),a.length&&t.macros.set("\\|",l(!0));var o=t.consumeArg().tokens,h=t.expandTokens([...i,...o,...r]);return t.macros.endGroup(),{tokens:h.reverse(),numArgs:0}};T("\\bra@ket",ic(!1));T("\\bra@set",ic(!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 sc={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class Dm{constructor(t,r,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=r,this.expansionCount=0,this.feed(t),this.macros=new _m(Nm,r.macros),this.mode=n,this.stack=[]}feed(t){this.lexer=new xu(t,this.settings)}switchMode(t){this.mode=t}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(t){this.stack.push(t)}pushTokens(t){this.stack.push(...t)}scanArgument(t){var r,n,a;if(t){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken(),{tokens:a,end:n}=this.consumeArg(["]"])}else({tokens:a,start:r,end:n}=this.consumeArg());return this.pushToken(new ht("EOF",n.loc)),this.pushTokens(a),new ht("",st.range(r,n))}consumeSpaces(){for(;;){var t=this.future();if(t.text===" ")this.stack.pop();else break}}consumeArg(t){var r=[],n=t&&t.length>0;n||this.consumeSpaces();var a=this.future(),i,s=0,u=0;do{if(i=this.popToken(),r.push(i),i.text==="{")++s;else if(i.text==="}"){if(--s,s===-1)throw new V("Extra }",i)}else if(i.text==="EOF")throw new V("Unexpected end of input in a macro argument, expected '"+(t&&n?t[u]:"}")+"'",i);if(t&&n)if((s===0||s===1&&t[u]==="{")&&i.text===t[u]){if(++u,u===t.length){r.splice(-u,u);break}}else u=0}while(s!==0||n);return a.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:a,end:i}}consumeArgs(t,r){if(r){if(r.length!==t+1)throw new V("The length of delimiters doesn't match the number of args!");for(var n=r[0],a=0;a<n.length;a++){var i=this.popToken();if(n[a]!==i.text)throw new V("Use of the macro doesn't match its definition",i)}}for(var s=[],u=0;u<t;u++)s.push(this.consumeArg(r&&r[u+1]).tokens);return s}countExpansion(t){if(this.expansionCount+=t,this.expansionCount>this.settings.maxExpand)throw new V("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(t){var r=this.popToken(),n=r.text,a=r.noexpand?null:this._getExpansion(n);if(a==null||t&&a.unexpandable){if(t&&a==null&&n[0]==="\\"&&!this.isDefined(n))throw new V("Undefined control sequence: "+n);return this.pushToken(r),!1}this.countExpansion(1);var i=a.tokens,s=this.consumeArgs(a.numArgs,a.delimiters);if(a.numArgs){i=i.slice();for(var u=i.length-1;u>=0;--u){var l=i[u];if(l.text==="#"){if(u===0)throw new V("Incomplete placeholder at end of macro body",l);if(l=i[--u],l.text==="#")i.splice(u+1,1);else if(/^[1-9]$/.test(l.text))i.splice(u,2,...s[+l.text-1]);else throw new V("Not a valid argument number",l)}}}return this.pushTokens(i),i.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var t=this.stack.pop();return t.treatAsRelax&&(t.text="\\relax"),t}throw new Error}expandMacro(t){return this.macros.has(t)?this.expandTokens([new ht(t)]):void 0}expandTokens(t){var r=[],n=this.stack.length;for(this.pushTokens(t);this.stack.length>n;)if(this.expandOnce(!0)===!1){var a=this.stack.pop();a.treatAsRelax&&(a.noexpand=!1,a.treatAsRelax=!1),r.push(a)}return this.countExpansion(r.length),r}expandMacroAsText(t){var r=this.expandMacro(t);return r&&r.map(n=>n.text).join("")}_getExpansion(t){var r=this.macros.get(t);if(r==null)return r;if(t.length===1){var n=this.lexer.catcodes[t];if(n!=null&&n!==13)return}var a=typeof r=="function"?r(this):r;if(typeof a=="string"){var i=0;if(a.includes("#"))for(var s=a.replace(/##/g,"");s.includes("#"+(i+1));)++i;for(var u=new xu(a,this.settings),l=[],o=u.lex();o.text!=="EOF";)l.push(o),o=u.lex();l.reverse();var h={tokens:l,numArgs:i};return h}return a}isDefined(t){return this.macros.has(t)||ar.hasOwnProperty(t)||Ae.math.hasOwnProperty(t)||Ae.text.hasOwnProperty(t)||sc.hasOwnProperty(t)}isExpandable(t){var r=this.macros.get(t);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:ar.hasOwnProperty(t)&&!ar[t].primitive}}var ku=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,i0=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),Sa={"́":{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"}},Au={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};let uc=class lc{constructor(t,r){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Dm(t,r,this.mode),this.settings=r,this.leftrightDepth=0}expect(t,r){if(r===void 0&&(r=!0),this.fetch().text!==t)throw new V("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());r&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(t){this.mode=t,this.gullet.switchMode(t)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t}finally{this.gullet.endGroups()}}subparse(t){var r=this.nextToken;this.consume(),this.gullet.pushToken(new ht("}")),this.gullet.pushTokens(t);var n=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,n}parseExpression(t,r){for(var n=[];;){this.mode==="math"&&this.consumeSpaces();var a=this.fetch();if(lc.endOfExpression.has(a.text)||r&&a.text===r||t&&ar[a.text]&&ar[a.text].infix)break;var i=this.parseAtom(r);if(i){if(i.type==="internal")continue}else break;n.push(i)}return this.mode==="text"&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(t){for(var r=-1,n,a=0;a<t.length;a++)if(t[a].type==="infix"){if(r!==-1)throw new V("only one infix operator per group",t[a].token);r=a,n=t[a].replaceWith}if(r!==-1&&n){var i,s,u=t.slice(0,r),l=t.slice(r+1);u.length===1&&u[0].type==="ordgroup"?i=u[0]:i={type:"ordgroup",mode:this.mode,body:u},l.length===1&&l[0].type==="ordgroup"?s=l[0]:s={type:"ordgroup",mode:this.mode,body:l};var o;return n==="\\\\abovefrac"?o=this.callFunction(n,[i,t[r],s],[]):o=this.callFunction(n,[i,s],[]),[o]}else return t}handleSupSubscript(t){var r=this.fetch(),n=r.text;this.consume(),this.consumeSpaces();var a;do{var i;a=this.parseGroup(t)}while(((i=a)==null?void 0:i.type)==="internal");if(!a)throw new V("Expected group after '"+n+"'",r);return a}formatUnsupportedCmd(t){for(var r=[],n=0;n<t.length;n++)r.push({type:"textord",mode:"text",text:t[n]});var a={type:"text",mode:this.mode,body:r},i={type:"color",mode:this.mode,color:this.settings.errorColor,body:[a]};return i}parseAtom(t){var r=this.parseGroup("atom",t);if(r?.type==="internal"||this.mode==="text")return r;for(var n,a;;){this.consumeSpaces();var i=this.fetch();if(i.text==="\\limits"||i.text==="\\nolimits"){if(r&&r.type==="op"){var s=i.text==="\\limits";r.limits=s,r.alwaysHandleSupSub=!0}else if(r&&r.type==="operatorname")r.alwaysHandleSupSub&&(r.limits=i.text==="\\limits");else throw new V("Limit controls must follow a math operator",i);this.consume()}else if(i.text==="^"){if(n)throw new V("Double superscript",i);n=this.handleSupSubscript("superscript")}else if(i.text==="_"){if(a)throw new V("Double subscript",i);a=this.handleSupSubscript("subscript")}else if(i.text==="'"){if(n)throw new V("Double superscript",i);var u={type:"textord",mode:this.mode,text:"\\prime"},l=[u];for(this.consume();this.fetch().text==="'";)l.push(u),this.consume();this.fetch().text==="^"&&l.push(this.handleSupSubscript("superscript")),n={type:"ordgroup",mode:this.mode,body:l}}else if(i0[i.text]){var o=ku.test(i.text),h=[];for(h.push(new ht(i0[i.text])),this.consume();;){var d=this.fetch().text;if(!i0[d]||ku.test(d)!==o)break;h.unshift(new ht(i0[d])),this.consume()}var p=this.subparse(h);o?a={type:"ordgroup",mode:"math",body:p}:n={type:"ordgroup",mode:"math",body:p}}else break}return n||a?{type:"supsub",mode:this.mode,base:r,sup:n,sub:a}:r}parseFunction(t,r){var n=this.fetch(),a=n.text,i=ar[a];if(!i)return null;if(this.consume(),r&&r!=="atom"&&!i.allowedInArgument)throw new V("Got function '"+a+"' with no arguments"+(r?" as "+r:""),n);if(this.mode==="text"&&!i.allowedInText)throw new V("Can't use function '"+a+"' in text mode",n);if(this.mode==="math"&&i.allowedInMath===!1)throw new V("Can't use function '"+a+"' in math mode",n);var{args:s,optArgs:u}=this.parseArguments(a,i);return this.callFunction(a,s,u,n,t)}callFunction(t,r,n,a,i){var s={funcName:t,parser:this,token:a,breakOnTokenText:i},u=ar[t];if(u&&u.handler)return u.handler(s,r,n);throw new V("No function handler for "+t)}parseArguments(t,r){var n=r.numArgs+r.numOptionalArgs;if(n===0)return{args:[],optArgs:[]};for(var a=[],i=[],s=0;s<n;s++){var u=r.argTypes&&r.argTypes[s],l=s<r.numOptionalArgs;(r.primitive&&u==null||r.type==="sqrt"&&s===1&&i[0]==null)&&(u="primitive");var o=this.parseGroupOfType("argument to '"+t+"'",u,l);if(l)i.push(o);else if(o!=null)a.push(o);else throw new V("Null argument, please report this as a bug")}return{args:a,optArgs:i}}parseGroupOfType(t,r,n){switch(r){case"color":return this.parseColorGroup(n);case"size":return this.parseSizeGroup(n);case"url":return this.parseUrlGroup(n);case"math":case"text":return this.parseArgumentGroup(n,r);case"hbox":{var a=this.parseArgumentGroup(n,"text");return a!=null?{type:"styling",mode:a.mode,body:[a],style:"text"}:null}case"raw":{var i=this.parseStringGroup("raw",n);return i!=null?{type:"raw",mode:"text",string:i.text}:null}case"primitive":{if(n)throw new V("A primitive argument cannot be optional");var s=this.parseGroup(t);if(s==null)throw new V("Expected group as "+t,this.fetch());return s}case"original":case null:case void 0:return this.parseArgumentGroup(n);default:throw new V("Unknown group type as "+t,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(t,r){var n=this.gullet.scanArgument(r);if(n==null)return null;for(var a="",i;(i=this.fetch()).text!=="EOF";)a+=i.text,this.consume();return this.consume(),n.text=a,n}parseRegexGroup(t,r){for(var n=this.fetch(),a=n,i="",s;(s=this.fetch()).text!=="EOF"&&t.test(i+s.text);)a=s,i+=a.text,this.consume();if(i==="")throw new V("Invalid "+r+": '"+n.text+"'",n);return n.range(a,i)}parseColorGroup(t){var r=this.parseStringGroup("color",t);if(r==null)return null;var n=/^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(r.text);if(!n)throw new V("Invalid color: '"+r.text+"'",r);var a=n[0];return/^[0-9a-f]{6}$/i.test(a)&&(a="#"+a),{type:"color-token",mode:this.mode,color:a}}parseSizeGroup(t){var r,n=!1;if(this.gullet.consumeSpaces(),!t&&this.gullet.future().text!=="{"?r=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):r=this.parseStringGroup("size",t),!r)return null;!t&&r.text.length===0&&(r.text="0pt",n=!0);var a=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r.text);if(!a)throw new V("Invalid size: '"+r.text+"'",r);var i={number:+(a[1]+a[2]),unit:a[3]};if(!po(i))throw new V("Invalid unit: '"+i.unit+"'",r);return{type:"size",mode:this.mode,value:i,isBlank:n}}parseUrlGroup(t){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var r=this.parseStringGroup("url",t);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),r==null)return null;var n=r.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:n}}parseArgumentGroup(t,r){var n=this.gullet.scanArgument(t);if(n==null)return null;var a=this.mode;r&&this.switchMode(r),this.gullet.beginGroup();var i=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var s={type:"ordgroup",mode:this.mode,loc:n.loc,body:i};return r&&this.switchMode(a),s}parseGroup(t,r){var n=this.fetch(),a=n.text,i;if(a==="{"||a==="\\begingroup"){this.consume();var s=a==="{"?"}":"\\endgroup";this.gullet.beginGroup();var u=this.parseExpression(!1,s),l=this.fetch();this.expect(s),this.gullet.endGroup(),i={type:"ordgroup",mode:this.mode,loc:st.range(n,l),body:u,semisimple:a==="\\begingroup"||void 0}}else if(i=this.parseFunction(r,t)||this.parseSymbol(),i==null&&a[0]==="\\"&&!sc.hasOwnProperty(a)){if(this.settings.throwOnError)throw new V("Undefined control sequence: "+a,n);i=this.formatUnsupportedCmd(a),this.consume()}return i}formLigatures(t){for(var r=t.length-1,n=0;n<r;++n){var a=t[n],i=a.text;i==="-"&&t[n+1].text==="-"&&(n+1<r&&t[n+2].text==="-"?(t.splice(n,3,{type:"textord",mode:"text",loc:st.range(a,t[n+2]),text:"---"}),r-=2):(t.splice(n,2,{type:"textord",mode:"text",loc:st.range(a,t[n+1]),text:"--"}),r-=1)),(i==="'"||i==="`")&&t[n+1].text===i&&(t.splice(n,2,{type:"textord",mode:"text",loc:st.range(a,t[n+1]),text:i+i}),r-=1)}}parseSymbol(){var t=this.fetch(),r=t.text;if(/^\\verb[^a-zA-Z]/.test(r)){this.consume();var n=r.slice(5),a=n.charAt(0)==="*";if(a&&(n=n.slice(1)),n.length<2||n.charAt(0)!==n.slice(-1))throw new V(`\\verb assertion failed --
|
|
274
|
+
please report what input caused this bug`);return n=n.slice(1,-1),{type:"verb",mode:"text",body:n,star:a}}Au.hasOwnProperty(r[0])&&!Ae[this.mode][r[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+r[0]+'" used in math mode',t),r=Au[r[0]]+r.slice(1));var i=Sm.exec(r);i&&(r=r.substring(0,i.index),r==="i"?r="ı":r==="j"&&(r="ȷ"));var s;if(Ae[this.mode][r]){this.settings.strict&&this.mode==="math"&&Za.includes(r)&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',t);var u=Ae[this.mode][r].group,l=st.range(t),o;if(Cf.hasOwnProperty(u)){var h=u;o={type:"atom",mode:this.mode,family:h,loc:l,text:r}}else o={type:u,mode:this.mode,loc:l,text:r};s=o}else if(r.charCodeAt(0)>=128)this.settings.strict&&(fo(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),t)),s={type:"textord",mode:"text",loc:st.range(t),text:r};else return null;if(this.consume(),i)for(var d=0;d<i[0].length;d++){var p=i[0][d];if(!Sa[p])throw new V("Unknown accent ' "+p+"'",t);var g=Sa[p][this.mode]||Sa[p].text;if(!g)throw new V("Accent "+p+" unsupported in "+this.mode+" mode",t);s={type:"accent",mode:this.mode,loc:st.range(t),label:g,isStretchy:!1,isShifty:!0,base:s}}return s}};uc.endOfExpression=new Set(["}","\\endgroup","\\end","\\right","&"]);var Wi=function(t,r){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new uc(t,r);delete n.gullet.macros.current["\\df@tag"];var a=n.parse();if(delete n.gullet.macros.current["\\current@color"],delete n.gullet.macros.current["\\color"],n.gullet.macros.get("\\df@tag")){if(!r.displayMode)throw new V("\\tag works only in display equations");a=[{type:"tag",mode:"text",body:a,tag:n.subparse([new ht("\\df@tag")])}]}return a},Xi=function(t,r,n){r.textContent="";var a=W0(t,n).toNode();r.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."),Xi=function(){throw new V("KaTeX doesn't work in quirks mode.")});var oc=function(t,r){var n=W0(t,r).toMarkup();return n},cc=function(t,r){var n=new Di(r);return Wi(t,n)},hc=function(t,r,n){if(n.throwOnError||!(t instanceof V))throw t;var a=j(["katex-error"],[new Et(r)]);return a.setAttribute("title",t.toString()),a.setAttribute("style","color:"+n.errorColor),a},W0=function(t,r){var n=new Di(r);try{var a=Wi(t,n);return $f(a,t,n)}catch(i){return hc(i,t,n)}},dc=function(t,r){var n=new Di(r);try{var a=Wi(t,n);return jf(a,t,n)}catch(i){return hc(i,t,n)}},fc="0.16.32",mc={Span:zn,Anchor:Oi,SymbolNode:Et,SvgNode:Vt,PathNode:ur,LineNode:Ka},si={version:fc,render:Xi,renderToString:oc,ParseError:V,SETTINGS_SCHEMA:En,__parse:cc,__renderToDomTree:W0,__renderToHTMLTree:dc,__setFontMetrics:mo,__defineSymbol:f,__defineFunction:ee,__defineMacro:T,__domTree:mc};const dT=Object.freeze(Object.defineProperty({__proto__:null,ParseError:V,SETTINGS_SCHEMA:En,__defineFunction:ee,__defineMacro:T,__defineSymbol:f,__domTree:mc,__parse:cc,__renderToDomTree:W0,__renderToHTMLTree:dc,__setFontMetrics:mo,default:si,get render(){return Xi},renderToString:oc,version:fc},Symbol.toStringTag,{value:"Module"})),Rm={},Lm=[];function ui(e){const t=e||Rm;return function(r,n){_i(r,"element",function(a,i){const s=Array.isArray(a.properties.className)?a.properties.className:Lm,u=s.includes("language-math"),l=s.includes("math-display"),o=s.includes("math-inline");let h=l;if(!u&&!l&&!o)return;let d=i[i.length-1],p=a;if(a.tagName==="code"&&u&&d&&d.type==="element"&&d.tagName==="pre"&&(p=d,d=i[i.length-2],h=!0),!d)return;const g=$d(p,{whitespace:"pre"});let E;try{E=si.renderToString(g,{...t,displayMode:h,throwOnError:!0})}catch(N){const S=N,D=S.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...i,a],cause:S,place:a.position,ruleId:D,source:"rehype-katex"});try{E=si.renderToString(g,{...t,displayMode:h,strict:"ignore",throwOnError:!1})}catch{E=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(N)},children:[{type:"text",value:g}]}]}}typeof E=="string"&&(E=Md(E).children);const y=d.children.indexOf(p);return d.children.splice(y,1,...E),Br})}}const pc=-1,X0=0,xn=1,w0=2,Qi=3,Ki=4,Zi=5,Ji=6,gc=7,bc=8,wu=typeof self=="object"?self:globalThis,Om=(e,t)=>{const r=(a,i)=>(e.set(i,a),a),n=a=>{if(e.has(a))return e.get(a);const[i,s]=t[a];switch(i){case X0:case pc:return r(s,a);case xn:{const u=r([],a);for(const l of s)u.push(n(l));return u}case w0:{const u=r({},a);for(const[l,o]of s)u[n(l)]=n(o);return u}case Qi:return r(new Date(s),a);case Ki:{const{source:u,flags:l}=s;return r(new RegExp(u,l),a)}case Zi:{const u=r(new Map,a);for(const[l,o]of s)u.set(n(l),n(o));return u}case Ji:{const u=r(new Set,a);for(const l of s)u.add(n(l));return u}case gc:{const{name:u,message:l}=s;return r(new wu[u](l),a)}case bc:return r(BigInt(s),a);case"BigInt":return r(Object(BigInt(s)),a);case"ArrayBuffer":return r(new Uint8Array(s).buffer,s);case"DataView":{const{buffer:u}=new Uint8Array(s);return r(new DataView(u),s)}}return r(new wu[i](s),a)};return n},Su=e=>Om(new Map,e)(0),Mr="",{toString:Mm}={},{keys:Pm}=Object,un=e=>{const t=typeof e;if(t!=="object"||!e)return[X0,t];const r=Mm.call(e).slice(8,-1);switch(r){case"Array":return[xn,Mr];case"Object":return[w0,Mr];case"Date":return[Qi,Mr];case"RegExp":return[Ki,Mr];case"Map":return[Zi,Mr];case"Set":return[Ji,Mr];case"DataView":return[xn,r]}return r.includes("Array")?[xn,r]:r.includes("Error")?[gc,r]:[w0,r]},s0=([e,t])=>e===X0&&(t==="function"||t==="symbol"),Bm=(e,t,r,n)=>{const a=(s,u)=>{const l=n.push(s)-1;return r.set(u,l),l},i=s=>{if(r.has(s))return r.get(s);let[u,l]=un(s);switch(u){case X0:{let h=s;switch(l){case"bigint":u=bc,h=s.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);h=null;break;case"undefined":return a([pc],s)}return a([u,h],s)}case xn:{if(l){let p=s;return l==="DataView"?p=new Uint8Array(s.buffer):l==="ArrayBuffer"&&(p=new Uint8Array(s)),a([l,[...p]],s)}const h=[],d=a([u,h],s);for(const p of s)h.push(i(p));return d}case w0:{if(l)switch(l){case"BigInt":return a([l,s.toString()],s);case"Boolean":case"Number":case"String":return a([l,s.valueOf()],s)}if(t&&"toJSON"in s)return i(s.toJSON());const h=[],d=a([u,h],s);for(const p of Pm(s))(e||!s0(un(s[p])))&&h.push([i(p),i(s[p])]);return d}case Qi:return a([u,s.toISOString()],s);case Ki:{const{source:h,flags:d}=s;return a([u,{source:h,flags:d}],s)}case Zi:{const h=[],d=a([u,h],s);for(const[p,g]of s)(e||!(s0(un(p))||s0(un(g))))&&h.push([i(p),i(g)]);return d}case Ji:{const h=[],d=a([u,h],s);for(const p of s)(e||!s0(un(p)))&&h.push(i(p));return d}}const{message:o}=s;return a([u,{name:l,message:o}],s)};return i},Cu=(e,{json:t,lossy:r}={})=>{const n=[];return Bm(!(t||r),!!t,new Map,n)(e),n},vr=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Su(Cu(e,t)):structuredClone(e):(e,t)=>Su(Cu(e,t));function Fm(e){const t=String(e),r=[];return{toOffset:a,toPoint:n};function n(i){if(typeof i=="number"&&i>-1&&i<=t.length){let s=0;for(;;){let u=r[s];if(u===void 0){const l=_u(t,r[s-1]);u=l===-1?t.length+1:l+1,r[s]=u}if(u>i)return{line:s+1,column:i-(s>0?r[s-1]:0)+1,offset:i};s++}}}function a(i){if(i&&typeof i.line=="number"&&typeof i.column=="number"&&!Number.isNaN(i.line)&&!Number.isNaN(i.column)){for(;r.length<i.line;){const u=r[r.length-1],l=_u(t,u),o=l===-1?t.length+1:l+1;if(u===o)break;r.push(o)}const s=(i.line>1?r[i.line-2]:0)+i.column-1;if(s<r[i.line-1])return s}}}function _u(e,t){const r=e.indexOf("\r",t),n=e.indexOf(`
|
|
275
|
+
`,t);return n===-1?r:r===-1||r+1===n?n:r<n?r:n}const Ec={}.hasOwnProperty,zm=Object.prototype;function Hm(e,t){const r=t||{};return es({file:r.file||void 0,location:!1,schema:r.space==="svg"?hr:Pn,verbose:r.verbose||!1},e)}function es(e,t){let r;switch(t.nodeName){case"#comment":{const n=t;return r={type:"comment",value:n.data},p0(e,n,r),r}case"#document":case"#document-fragment":{const n=t,a="mode"in n?n.mode==="quirks"||n.mode==="limited-quirks":!1;if(r={type:"root",children:Tc(e,t.childNodes),data:{quirksMode:a}},e.file&&e.location){const i=String(e.file),s=Fm(i),u=s.toPoint(0),l=s.toPoint(i.length);r.position={start:u,end:l}}return r}case"#documentType":{const n=t;return r={type:"doctype"},p0(e,n,r),r}case"#text":{const n=t;return r={type:"text",value:n.value},p0(e,n,r),r}default:return r=Um(e,t),r}}function Tc(e,t){let r=-1;const n=[];for(;++r<t.length;){const a=es(e,t[r]);n.push(a)}return n}function Um(e,t){const r=e.schema;e.schema=t.namespaceURI===Rt.svg?hr:Pn;let n=-1;const a={};for(;++n<t.attrs.length;){const u=t.attrs[n],l=(u.prefix?u.prefix+":":"")+u.name;Ec.call(zm,l)||(a[l]=u.value)}const s=(e.schema.space==="svg"?io:ao)(t.tagName,a,Tc(e,t.childNodes));if(p0(e,t,s),s.tagName==="template"){const u=t,l=u.sourceCodeLocation,o=l&&l.startTag&&Fr(l.startTag),h=l&&l.endTag&&Fr(l.endTag),d=es(e,u.content);o&&h&&e.file&&(d.position={start:o.end,end:h.start}),s.content=d}return e.schema=r,s}function p0(e,t,r){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const n=qm(e,r,t.sourceCodeLocation);n&&(e.location=!0,r.position=n)}}function qm(e,t,r){const n=Fr(r);if(t.type==="element"){const a=t.children[t.children.length-1];if(n&&!r.endTag&&a&&a.position&&a.position.end&&(n.end=Object.assign({},a.position.end)),e.verbose){const i={};let s;if(r.attrs)for(s in r.attrs)Ec.call(r.attrs,s)&&(i[B0(e.schema,s).property]=Fr(r.attrs[s]));r.startTag;const u=Fr(r.startTag),l=r.endTag?Fr(r.endTag):void 0,o={opening:u};l&&(o.closing=l),o.properties=i,t.data={position:o}}}return n}function Fr(e){const t=Nu({line:e.startLine,column:e.startCol,offset:e.startOffset}),r=Nu({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||r?{start:t,end:r}:void 0}function Nu(e){return e.line&&e.column?e:void 0}const $m={},jm={}.hasOwnProperty,xc=Ql("type",{handlers:{root:Gm,element:Km,text:Xm,comment:Qm,doctype:Wm}});function Ym(e,t){const n=(t||$m).space;return xc(e,n==="svg"?hr:Pn)}function Gm(e,t){const r={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return r.childNodes=ts(e.children,r,t),Zr(e,r),r}function Vm(e,t){const r={nodeName:"#document-fragment",childNodes:[]};return r.childNodes=ts(e.children,r,t),Zr(e,r),r}function Wm(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return Zr(e,t),t}function Xm(e){const t={nodeName:"#text",value:e.value,parentNode:null};return Zr(e,t),t}function Qm(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return Zr(e,t),t}function Km(e,t){const r=t;let n=r;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&r.space==="html"&&(n=hr);const a=[];let i;if(e.properties){for(i in e.properties)if(i!=="children"&&jm.call(e.properties,i)){const l=Zm(n,i,e.properties[i]);l&&a.push(l)}}const s=n.space,u={nodeName:e.tagName,tagName:e.tagName,attrs:a,namespaceURI:Rt[s],childNodes:[],parentNode:null};return u.childNodes=ts(e.children,u,n),Zr(e,u),e.tagName==="template"&&e.content&&(u.content=Vm(e.content,n)),u}function Zm(e,t,r){const n=B0(e,t);if(r===!1||r===null||r===void 0||typeof r=="number"&&Number.isNaN(r)||!r&&n.boolean)return;Array.isArray(r)&&(r=n.commaSeparated?Kl(r):Zl(r));const a={name:n.attribute,value:r===!0?"":String(r)};if(n.space&&n.space!=="html"&&n.space!=="svg"){const i=a.name.indexOf(":");i<0?a.prefix="":(a.name=a.name.slice(i+1),a.prefix=n.attribute.slice(0,i)),a.namespace=Rt[n.space]}return a}function ts(e,t,r){let n=-1;const a=[];if(e)for(;++n<e.length;){const i=xc(e[n],r);i.parentNode=t,a.push(i)}return a}function Zr(e,t){const r=e.position;r&&r.start&&r.end&&(r.start.offset,r.end.offset,t.sourceCodeLocation={startLine:r.start.line,startCol:r.start.column,startOffset:r.start.offset,endLine:r.end.line,endCol:r.end.column,endOffset:r.end.offset})}const Jm=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),Ce="�";var x;(function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(x||(x={}));const at={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function yc(e){return e>=55296&&e<=57343}function e2(e){return e>=56320&&e<=57343}function t2(e,t){return(e-55296)*1024+9216+t}function vc(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function kc(e){return e>=64976&&e<=65007||Jm.has(e)}var P;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(P||(P={}));const r2=65536;class n2{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=r2,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t,r){const{line:n,col:a,offset:i}=this,s=a+r,u=i+r;return{code:t,startLine:n,endLine:n,startCol:s,endCol:s,startOffset:u,endOffset:u}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const r=this.html.charCodeAt(this.pos+1);if(e2(r))return this.pos++,this._addGap(),t2(t,r)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,x.EOF;return this._err(P.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,r){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=r}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,r){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(r)return this.html.startsWith(t,this.pos);for(let n=0;n<t.length;n++)if((this.html.charCodeAt(this.pos+n)|32)!==t.charCodeAt(n))return!1;return!0}peek(t){const r=this.pos+t;if(r>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,x.EOF;const n=this.html.charCodeAt(r);return n===x.CARRIAGE_RETURN?x.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,x.EOF;let t=this.html.charCodeAt(this.pos);return t===x.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,x.LINE_FEED):t===x.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,yc(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===x.LINE_FEED||t===x.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){vc(t)?this._err(P.controlCharacterInInputStream):kc(t)&&this._err(P.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var fe;(function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"})(fe||(fe={}));function Ac(e,t){for(let r=e.attrs.length-1;r>=0;r--)if(e.attrs[r].name===t)return e.attrs[r].value;return null}const a2=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),i2=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function s2(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=i2.get(e))!==null&&t!==void 0?t:e}var $e;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})($e||($e={}));const u2=32;var ir;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(ir||(ir={}));function li(e){return e>=$e.ZERO&&e<=$e.NINE}function l2(e){return e>=$e.UPPER_A&&e<=$e.UPPER_F||e>=$e.LOWER_A&&e<=$e.LOWER_F}function o2(e){return e>=$e.UPPER_A&&e<=$e.UPPER_Z||e>=$e.LOWER_A&&e<=$e.LOWER_Z||li(e)}function c2(e){return e===$e.EQUALS||o2(e)}var qe;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(qe||(qe={}));var jt;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(jt||(jt={}));class h2{constructor(t,r,n){this.decodeTree=t,this.emitCodePoint=r,this.errors=n,this.state=qe.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=jt.Strict}startEntity(t){this.decodeMode=t,this.state=qe.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,r){switch(this.state){case qe.EntityStart:return t.charCodeAt(r)===$e.NUM?(this.state=qe.NumericStart,this.consumed+=1,this.stateNumericStart(t,r+1)):(this.state=qe.NamedEntity,this.stateNamedEntity(t,r));case qe.NumericStart:return this.stateNumericStart(t,r);case qe.NumericDecimal:return this.stateNumericDecimal(t,r);case qe.NumericHex:return this.stateNumericHex(t,r);case qe.NamedEntity:return this.stateNamedEntity(t,r)}}stateNumericStart(t,r){return r>=t.length?-1:(t.charCodeAt(r)|u2)===$e.LOWER_X?(this.state=qe.NumericHex,this.consumed+=1,this.stateNumericHex(t,r+1)):(this.state=qe.NumericDecimal,this.stateNumericDecimal(t,r))}addToNumericResult(t,r,n,a){if(r!==n){const i=n-r;this.result=this.result*Math.pow(a,i)+Number.parseInt(t.substr(r,i),a),this.consumed+=i}}stateNumericHex(t,r){const n=r;for(;r<t.length;){const a=t.charCodeAt(r);if(li(a)||l2(a))r+=1;else return this.addToNumericResult(t,n,r,16),this.emitNumericEntity(a,3)}return this.addToNumericResult(t,n,r,16),-1}stateNumericDecimal(t,r){const n=r;for(;r<t.length;){const a=t.charCodeAt(r);if(li(a))r+=1;else return this.addToNumericResult(t,n,r,10),this.emitNumericEntity(a,2)}return this.addToNumericResult(t,n,r,10),-1}emitNumericEntity(t,r){var n;if(this.consumed<=r)return(n=this.errors)===null||n===void 0||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===$e.SEMI)this.consumed+=1;else if(this.decodeMode===jt.Strict)return 0;return this.emitCodePoint(s2(this.result),this.consumed),this.errors&&(t!==$e.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,r){const{decodeTree:n}=this;let a=n[this.treeIndex],i=(a&ir.VALUE_LENGTH)>>14;for(;r<t.length;r++,this.excess++){const s=t.charCodeAt(r);if(this.treeIndex=d2(n,a,this.treeIndex+Math.max(1,i),s),this.treeIndex<0)return this.result===0||this.decodeMode===jt.Attribute&&(i===0||c2(s))?0:this.emitNotTerminatedNamedEntity();if(a=n[this.treeIndex],i=(a&ir.VALUE_LENGTH)>>14,i!==0){if(s===$e.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==jt.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:r,decodeTree:n}=this,a=(n[r]&ir.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,a,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,r,n){const{decodeTree:a}=this;return this.emitCodePoint(r===1?a[t]&~ir.VALUE_LENGTH:a[t+1],n),r===3&&this.emitCodePoint(a[t+2],n),n}end(){var t;switch(this.state){case qe.NamedEntity:return this.result!==0&&(this.decodeMode!==jt.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case qe.NumericDecimal:return this.emitNumericEntity(0,2);case qe.NumericHex:return this.emitNumericEntity(0,3);case qe.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case qe.EntityStart:return 0}}}function d2(e,t,r,n){const a=(t&ir.BRANCH_LENGTH)>>7,i=t&ir.JUMP_TABLE;if(a===0)return i!==0&&n===i?r:-1;if(i){const l=n-i;return l<0||l>=a?-1:e[r+l]-1}let s=r,u=s+a-1;for(;s<=u;){const l=s+u>>>1,o=e[l];if(o<n)s=l+1;else if(o>n)u=l-1;else return e[l+a]}return-1}var q;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(q||(q={}));var yr;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(yr||(yr={}));var pt;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(pt||(pt={}));var L;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(L||(L={}));var c;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(c||(c={}));const f2=new Map([[L.A,c.A],[L.ADDRESS,c.ADDRESS],[L.ANNOTATION_XML,c.ANNOTATION_XML],[L.APPLET,c.APPLET],[L.AREA,c.AREA],[L.ARTICLE,c.ARTICLE],[L.ASIDE,c.ASIDE],[L.B,c.B],[L.BASE,c.BASE],[L.BASEFONT,c.BASEFONT],[L.BGSOUND,c.BGSOUND],[L.BIG,c.BIG],[L.BLOCKQUOTE,c.BLOCKQUOTE],[L.BODY,c.BODY],[L.BR,c.BR],[L.BUTTON,c.BUTTON],[L.CAPTION,c.CAPTION],[L.CENTER,c.CENTER],[L.CODE,c.CODE],[L.COL,c.COL],[L.COLGROUP,c.COLGROUP],[L.DD,c.DD],[L.DESC,c.DESC],[L.DETAILS,c.DETAILS],[L.DIALOG,c.DIALOG],[L.DIR,c.DIR],[L.DIV,c.DIV],[L.DL,c.DL],[L.DT,c.DT],[L.EM,c.EM],[L.EMBED,c.EMBED],[L.FIELDSET,c.FIELDSET],[L.FIGCAPTION,c.FIGCAPTION],[L.FIGURE,c.FIGURE],[L.FONT,c.FONT],[L.FOOTER,c.FOOTER],[L.FOREIGN_OBJECT,c.FOREIGN_OBJECT],[L.FORM,c.FORM],[L.FRAME,c.FRAME],[L.FRAMESET,c.FRAMESET],[L.H1,c.H1],[L.H2,c.H2],[L.H3,c.H3],[L.H4,c.H4],[L.H5,c.H5],[L.H6,c.H6],[L.HEAD,c.HEAD],[L.HEADER,c.HEADER],[L.HGROUP,c.HGROUP],[L.HR,c.HR],[L.HTML,c.HTML],[L.I,c.I],[L.IMG,c.IMG],[L.IMAGE,c.IMAGE],[L.INPUT,c.INPUT],[L.IFRAME,c.IFRAME],[L.KEYGEN,c.KEYGEN],[L.LABEL,c.LABEL],[L.LI,c.LI],[L.LINK,c.LINK],[L.LISTING,c.LISTING],[L.MAIN,c.MAIN],[L.MALIGNMARK,c.MALIGNMARK],[L.MARQUEE,c.MARQUEE],[L.MATH,c.MATH],[L.MENU,c.MENU],[L.META,c.META],[L.MGLYPH,c.MGLYPH],[L.MI,c.MI],[L.MO,c.MO],[L.MN,c.MN],[L.MS,c.MS],[L.MTEXT,c.MTEXT],[L.NAV,c.NAV],[L.NOBR,c.NOBR],[L.NOFRAMES,c.NOFRAMES],[L.NOEMBED,c.NOEMBED],[L.NOSCRIPT,c.NOSCRIPT],[L.OBJECT,c.OBJECT],[L.OL,c.OL],[L.OPTGROUP,c.OPTGROUP],[L.OPTION,c.OPTION],[L.P,c.P],[L.PARAM,c.PARAM],[L.PLAINTEXT,c.PLAINTEXT],[L.PRE,c.PRE],[L.RB,c.RB],[L.RP,c.RP],[L.RT,c.RT],[L.RTC,c.RTC],[L.RUBY,c.RUBY],[L.S,c.S],[L.SCRIPT,c.SCRIPT],[L.SEARCH,c.SEARCH],[L.SECTION,c.SECTION],[L.SELECT,c.SELECT],[L.SOURCE,c.SOURCE],[L.SMALL,c.SMALL],[L.SPAN,c.SPAN],[L.STRIKE,c.STRIKE],[L.STRONG,c.STRONG],[L.STYLE,c.STYLE],[L.SUB,c.SUB],[L.SUMMARY,c.SUMMARY],[L.SUP,c.SUP],[L.TABLE,c.TABLE],[L.TBODY,c.TBODY],[L.TEMPLATE,c.TEMPLATE],[L.TEXTAREA,c.TEXTAREA],[L.TFOOT,c.TFOOT],[L.TD,c.TD],[L.TH,c.TH],[L.THEAD,c.THEAD],[L.TITLE,c.TITLE],[L.TR,c.TR],[L.TRACK,c.TRACK],[L.TT,c.TT],[L.U,c.U],[L.UL,c.UL],[L.SVG,c.SVG],[L.VAR,c.VAR],[L.WBR,c.WBR],[L.XMP,c.XMP]]);function Jr(e){var t;return(t=f2.get(e))!==null&&t!==void 0?t:c.UNKNOWN}const Y=c,m2={[q.HTML]:new Set([Y.ADDRESS,Y.APPLET,Y.AREA,Y.ARTICLE,Y.ASIDE,Y.BASE,Y.BASEFONT,Y.BGSOUND,Y.BLOCKQUOTE,Y.BODY,Y.BR,Y.BUTTON,Y.CAPTION,Y.CENTER,Y.COL,Y.COLGROUP,Y.DD,Y.DETAILS,Y.DIR,Y.DIV,Y.DL,Y.DT,Y.EMBED,Y.FIELDSET,Y.FIGCAPTION,Y.FIGURE,Y.FOOTER,Y.FORM,Y.FRAME,Y.FRAMESET,Y.H1,Y.H2,Y.H3,Y.H4,Y.H5,Y.H6,Y.HEAD,Y.HEADER,Y.HGROUP,Y.HR,Y.HTML,Y.IFRAME,Y.IMG,Y.INPUT,Y.LI,Y.LINK,Y.LISTING,Y.MAIN,Y.MARQUEE,Y.MENU,Y.META,Y.NAV,Y.NOEMBED,Y.NOFRAMES,Y.NOSCRIPT,Y.OBJECT,Y.OL,Y.P,Y.PARAM,Y.PLAINTEXT,Y.PRE,Y.SCRIPT,Y.SECTION,Y.SELECT,Y.SOURCE,Y.STYLE,Y.SUMMARY,Y.TABLE,Y.TBODY,Y.TD,Y.TEMPLATE,Y.TEXTAREA,Y.TFOOT,Y.TH,Y.THEAD,Y.TITLE,Y.TR,Y.TRACK,Y.UL,Y.WBR,Y.XMP]),[q.MATHML]:new Set([Y.MI,Y.MO,Y.MN,Y.MS,Y.MTEXT,Y.ANNOTATION_XML]),[q.SVG]:new Set([Y.TITLE,Y.FOREIGN_OBJECT,Y.DESC]),[q.XLINK]:new Set,[q.XML]:new Set,[q.XMLNS]:new Set},oi=new Set([Y.H1,Y.H2,Y.H3,Y.H4,Y.H5,Y.H6]);L.STYLE,L.SCRIPT,L.XMP,L.IFRAME,L.NOEMBED,L.NOFRAMES,L.PLAINTEXT;var v;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(v||(v={}));const Oe={DATA:v.DATA,RCDATA:v.RCDATA,RAWTEXT:v.RAWTEXT,SCRIPT_DATA:v.SCRIPT_DATA,PLAINTEXT:v.PLAINTEXT,CDATA_SECTION:v.CDATA_SECTION};function p2(e){return e>=x.DIGIT_0&&e<=x.DIGIT_9}function pn(e){return e>=x.LATIN_CAPITAL_A&&e<=x.LATIN_CAPITAL_Z}function g2(e){return e>=x.LATIN_SMALL_A&&e<=x.LATIN_SMALL_Z}function tr(e){return g2(e)||pn(e)}function Iu(e){return tr(e)||p2(e)}function u0(e){return e+32}function wc(e){return e===x.SPACE||e===x.LINE_FEED||e===x.TABULATION||e===x.FORM_FEED}function Du(e){return wc(e)||e===x.SOLIDUS||e===x.GREATER_THAN_SIGN}function b2(e){return e===x.NULL?P.nullCharacterReference:e>1114111?P.characterReferenceOutsideUnicodeRange:yc(e)?P.surrogateCharacterReference:kc(e)?P.noncharacterCharacterReference:vc(e)||e===x.CARRIAGE_RETURN?P.controlCharacterReference:null}class E2{constructor(t,r){this.options=t,this.handler=r,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=v.DATA,this.returnState=v.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new n2(r),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new h2(a2,(n,a)=>{this.preprocessor.pos=this.entityStartPos+a-1,this._flushCodePointConsumedAsCharacterReference(n)},r.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(P.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:n=>{this._err(P.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+n)},validateNumericCharacterReference:n=>{const a=b2(n);a&&this._err(a,1)}}:void 0)}_err(t,r=0){var n,a;(a=(n=this.handler).onParseError)===null||a===void 0||a.call(n,this.preprocessor.getError(t,r))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t?.())}write(t,r,n){this.active=!0,this.preprocessor.write(t,r),this._runParsingLoop(),this.paused||n?.()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let r=0;r<t;r++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,r){return this.preprocessor.startsWith(t,r)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:fe.START_TAG,tagName:"",tagID:c.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:fe.END_TAG,tagName:"",tagID:c.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:fe.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:fe.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,r){this.currentCharacterToken={type:t,chars:r,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,r;const n=this.currentToken;if(Ac(n,this.currentAttr.name)===null){if(n.attrs.push(this.currentAttr),n.location&&this.currentLocation){const a=(t=(r=n.location).attrs)!==null&&t!==void 0?t:r.attrs=Object.create(null);a[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(P.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=Jr(t.tagName),t.type===fe.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(P.endTagWithAttributes),t.selfClosing&&this._err(P.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case fe.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case fe.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case fe.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:fe.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,r){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=r;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,r)}_emitCodePoint(t){const r=wc(t)?fe.WHITESPACE_CHARACTER:t===x.NULL?fe.NULL_CHARACTER:fe.CHARACTER;this._appendCharToCurrentCharacterToken(r,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(fe.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=v.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?jt.Attribute:jt.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===v.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===v.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===v.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case v.DATA:{this._stateData(t);break}case v.RCDATA:{this._stateRcdata(t);break}case v.RAWTEXT:{this._stateRawtext(t);break}case v.SCRIPT_DATA:{this._stateScriptData(t);break}case v.PLAINTEXT:{this._statePlaintext(t);break}case v.TAG_OPEN:{this._stateTagOpen(t);break}case v.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case v.TAG_NAME:{this._stateTagName(t);break}case v.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case v.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case v.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case v.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case v.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case v.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case v.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case v.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case v.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case v.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case v.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case v.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case v.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case v.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case v.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case v.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case v.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case v.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case v.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case v.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case v.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case v.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case v.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case v.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case v.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case v.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case v.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case v.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case v.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case v.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case v.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case v.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case v.BOGUS_COMMENT:{this._stateBogusComment(t);break}case v.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case v.COMMENT_START:{this._stateCommentStart(t);break}case v.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case v.COMMENT:{this._stateComment(t);break}case v.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case v.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case v.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case v.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case v.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case v.COMMENT_END:{this._stateCommentEnd(t);break}case v.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case v.DOCTYPE:{this._stateDoctype(t);break}case v.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case v.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case v.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case v.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case v.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case v.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case v.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case v.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case v.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case v.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case v.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case v.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case v.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case v.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case v.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case v.CDATA_SECTION:{this._stateCdataSection(t);break}case v.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case v.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case v.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case v.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case x.LESS_THAN_SIGN:{this.state=v.TAG_OPEN;break}case x.AMPERSAND:{this._startCharacterReference();break}case x.NULL:{this._err(P.unexpectedNullCharacter),this._emitCodePoint(t);break}case x.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case x.AMPERSAND:{this._startCharacterReference();break}case x.LESS_THAN_SIGN:{this.state=v.RCDATA_LESS_THAN_SIGN;break}case x.NULL:{this._err(P.unexpectedNullCharacter),this._emitChars(Ce);break}case x.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case x.LESS_THAN_SIGN:{this.state=v.RAWTEXT_LESS_THAN_SIGN;break}case x.NULL:{this._err(P.unexpectedNullCharacter),this._emitChars(Ce);break}case x.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case x.LESS_THAN_SIGN:{this.state=v.SCRIPT_DATA_LESS_THAN_SIGN;break}case x.NULL:{this._err(P.unexpectedNullCharacter),this._emitChars(Ce);break}case x.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case x.NULL:{this._err(P.unexpectedNullCharacter),this._emitChars(Ce);break}case x.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(tr(t))this._createStartTagToken(),this.state=v.TAG_NAME,this._stateTagName(t);else switch(t){case x.EXCLAMATION_MARK:{this.state=v.MARKUP_DECLARATION_OPEN;break}case x.SOLIDUS:{this.state=v.END_TAG_OPEN;break}case x.QUESTION_MARK:{this._err(P.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=v.BOGUS_COMMENT,this._stateBogusComment(t);break}case x.EOF:{this._err(P.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(P.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=v.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(tr(t))this._createEndTagToken(),this.state=v.TAG_NAME,this._stateTagName(t);else switch(t){case x.GREATER_THAN_SIGN:{this._err(P.missingEndTagName),this.state=v.DATA;break}case x.EOF:{this._err(P.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(P.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=v.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const r=this.currentToken;switch(t){case x.SPACE:case x.LINE_FEED:case x.TABULATION:case x.FORM_FEED:{this.state=v.BEFORE_ATTRIBUTE_NAME;break}case x.SOLIDUS:{this.state=v.SELF_CLOSING_START_TAG;break}case x.GREATER_THAN_SIGN:{this.state=v.DATA,this.emitCurrentTagToken();break}case x.NULL:{this._err(P.unexpectedNullCharacter),r.tagName+=Ce;break}case x.EOF:{this._err(P.eofInTag),this._emitEOFToken();break}default:r.tagName+=String.fromCodePoint(pn(t)?u0(t):t)}}_stateRcdataLessThanSign(t){t===x.SOLIDUS?this.state=v.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=v.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){tr(t)?(this.state=v.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=v.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const r=this.currentToken;switch(r.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case x.SPACE:case x.LINE_FEED:case x.TABULATION:case x.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=v.BEFORE_ATTRIBUTE_NAME,!1;case x.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=v.SELF_CLOSING_START_TAG,!1;case x.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=v.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=v.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===x.SOLIDUS?this.state=v.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=v.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){tr(t)?(this.state=v.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=v.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=v.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case x.SOLIDUS:{this.state=v.SCRIPT_DATA_END_TAG_OPEN;break}case x.EXCLAMATION_MARK:{this.state=v.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=v.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){tr(t)?(this.state=v.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=v.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=v.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===x.HYPHEN_MINUS?(this.state=v.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=v.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===x.HYPHEN_MINUS?(this.state=v.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=v.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case x.HYPHEN_MINUS:{this.state=v.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case x.LESS_THAN_SIGN:{this.state=v.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case x.NULL:{this._err(P.unexpectedNullCharacter),this._emitChars(Ce);break}case x.EOF:{this._err(P.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case x.HYPHEN_MINUS:{this.state=v.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case x.LESS_THAN_SIGN:{this.state=v.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case x.NULL:{this._err(P.unexpectedNullCharacter),this.state=v.SCRIPT_DATA_ESCAPED,this._emitChars(Ce);break}case x.EOF:{this._err(P.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=v.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case x.HYPHEN_MINUS:{this._emitChars("-");break}case x.LESS_THAN_SIGN:{this.state=v.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case x.GREATER_THAN_SIGN:{this.state=v.SCRIPT_DATA,this._emitChars(">");break}case x.NULL:{this._err(P.unexpectedNullCharacter),this.state=v.SCRIPT_DATA_ESCAPED,this._emitChars(Ce);break}case x.EOF:{this._err(P.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=v.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===x.SOLIDUS?this.state=v.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:tr(t)?(this._emitChars("<"),this.state=v.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=v.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){tr(t)?(this.state=v.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=v.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=v.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(at.SCRIPT,!1)&&Du(this.preprocessor.peek(at.SCRIPT.length))){this._emitCodePoint(t);for(let r=0;r<at.SCRIPT.length;r++)this._emitCodePoint(this._consume());this.state=v.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=v.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case x.HYPHEN_MINUS:{this.state=v.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case x.LESS_THAN_SIGN:{this.state=v.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case x.NULL:{this._err(P.unexpectedNullCharacter),this._emitChars(Ce);break}case x.EOF:{this._err(P.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case x.HYPHEN_MINUS:{this.state=v.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case x.LESS_THAN_SIGN:{this.state=v.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case x.NULL:{this._err(P.unexpectedNullCharacter),this.state=v.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Ce);break}case x.EOF:{this._err(P.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=v.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case x.HYPHEN_MINUS:{this._emitChars("-");break}case x.LESS_THAN_SIGN:{this.state=v.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case x.GREATER_THAN_SIGN:{this.state=v.SCRIPT_DATA,this._emitChars(">");break}case x.NULL:{this._err(P.unexpectedNullCharacter),this.state=v.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Ce);break}case x.EOF:{this._err(P.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=v.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===x.SOLIDUS?(this.state=v.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=v.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(at.SCRIPT,!1)&&Du(this.preprocessor.peek(at.SCRIPT.length))){this._emitCodePoint(t);for(let r=0;r<at.SCRIPT.length;r++)this._emitCodePoint(this._consume());this.state=v.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=v.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case x.SPACE:case x.LINE_FEED:case x.TABULATION:case x.FORM_FEED:break;case x.SOLIDUS:case x.GREATER_THAN_SIGN:case x.EOF:{this.state=v.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case x.EQUALS_SIGN:{this._err(P.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=v.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=v.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case x.SPACE:case x.LINE_FEED:case x.TABULATION:case x.FORM_FEED:case x.SOLIDUS:case x.GREATER_THAN_SIGN:case x.EOF:{this._leaveAttrName(),this.state=v.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case x.EQUALS_SIGN:{this._leaveAttrName(),this.state=v.BEFORE_ATTRIBUTE_VALUE;break}case x.QUOTATION_MARK:case x.APOSTROPHE:case x.LESS_THAN_SIGN:{this._err(P.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case x.NULL:{this._err(P.unexpectedNullCharacter),this.currentAttr.name+=Ce;break}default:this.currentAttr.name+=String.fromCodePoint(pn(t)?u0(t):t)}}_stateAfterAttributeName(t){switch(t){case x.SPACE:case x.LINE_FEED:case x.TABULATION:case x.FORM_FEED:break;case x.SOLIDUS:{this.state=v.SELF_CLOSING_START_TAG;break}case x.EQUALS_SIGN:{this.state=v.BEFORE_ATTRIBUTE_VALUE;break}case x.GREATER_THAN_SIGN:{this.state=v.DATA,this.emitCurrentTagToken();break}case x.EOF:{this._err(P.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=v.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case x.SPACE:case x.LINE_FEED:case x.TABULATION:case x.FORM_FEED:break;case x.QUOTATION_MARK:{this.state=v.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case x.APOSTROPHE:{this.state=v.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case x.GREATER_THAN_SIGN:{this._err(P.missingAttributeValue),this.state=v.DATA,this.emitCurrentTagToken();break}default:this.state=v.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case x.QUOTATION_MARK:{this.state=v.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case x.AMPERSAND:{this._startCharacterReference();break}case x.NULL:{this._err(P.unexpectedNullCharacter),this.currentAttr.value+=Ce;break}case x.EOF:{this._err(P.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case x.APOSTROPHE:{this.state=v.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case x.AMPERSAND:{this._startCharacterReference();break}case x.NULL:{this._err(P.unexpectedNullCharacter),this.currentAttr.value+=Ce;break}case x.EOF:{this._err(P.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case x.SPACE:case x.LINE_FEED:case x.TABULATION:case x.FORM_FEED:{this._leaveAttrValue(),this.state=v.BEFORE_ATTRIBUTE_NAME;break}case x.AMPERSAND:{this._startCharacterReference();break}case x.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=v.DATA,this.emitCurrentTagToken();break}case x.NULL:{this._err(P.unexpectedNullCharacter),this.currentAttr.value+=Ce;break}case x.QUOTATION_MARK:case x.APOSTROPHE:case x.LESS_THAN_SIGN:case x.EQUALS_SIGN:case x.GRAVE_ACCENT:{this._err(P.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case x.EOF:{this._err(P.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case x.SPACE:case x.LINE_FEED:case x.TABULATION:case x.FORM_FEED:{this._leaveAttrValue(),this.state=v.BEFORE_ATTRIBUTE_NAME;break}case x.SOLIDUS:{this._leaveAttrValue(),this.state=v.SELF_CLOSING_START_TAG;break}case x.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=v.DATA,this.emitCurrentTagToken();break}case x.EOF:{this._err(P.eofInTag),this._emitEOFToken();break}default:this._err(P.missingWhitespaceBetweenAttributes),this.state=v.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case x.GREATER_THAN_SIGN:{const r=this.currentToken;r.selfClosing=!0,this.state=v.DATA,this.emitCurrentTagToken();break}case x.EOF:{this._err(P.eofInTag),this._emitEOFToken();break}default:this._err(P.unexpectedSolidusInTag),this.state=v.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const r=this.currentToken;switch(t){case x.GREATER_THAN_SIGN:{this.state=v.DATA,this.emitCurrentComment(r);break}case x.EOF:{this.emitCurrentComment(r),this._emitEOFToken();break}case x.NULL:{this._err(P.unexpectedNullCharacter),r.data+=Ce;break}default:r.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(at.DASH_DASH,!0)?(this._createCommentToken(at.DASH_DASH.length+1),this.state=v.COMMENT_START):this._consumeSequenceIfMatch(at.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(at.DOCTYPE.length+1),this.state=v.DOCTYPE):this._consumeSequenceIfMatch(at.CDATA_START,!0)?this.inForeignNode?this.state=v.CDATA_SECTION:(this._err(P.cdataInHtmlContent),this._createCommentToken(at.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=v.BOGUS_COMMENT):this._ensureHibernation()||(this._err(P.incorrectlyOpenedComment),this._createCommentToken(2),this.state=v.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case x.HYPHEN_MINUS:{this.state=v.COMMENT_START_DASH;break}case x.GREATER_THAN_SIGN:{this._err(P.abruptClosingOfEmptyComment),this.state=v.DATA;const r=this.currentToken;this.emitCurrentComment(r);break}default:this.state=v.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const r=this.currentToken;switch(t){case x.HYPHEN_MINUS:{this.state=v.COMMENT_END;break}case x.GREATER_THAN_SIGN:{this._err(P.abruptClosingOfEmptyComment),this.state=v.DATA,this.emitCurrentComment(r);break}case x.EOF:{this._err(P.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="-",this.state=v.COMMENT,this._stateComment(t)}}_stateComment(t){const r=this.currentToken;switch(t){case x.HYPHEN_MINUS:{this.state=v.COMMENT_END_DASH;break}case x.LESS_THAN_SIGN:{r.data+="<",this.state=v.COMMENT_LESS_THAN_SIGN;break}case x.NULL:{this._err(P.unexpectedNullCharacter),r.data+=Ce;break}case x.EOF:{this._err(P.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const r=this.currentToken;switch(t){case x.EXCLAMATION_MARK:{r.data+="!",this.state=v.COMMENT_LESS_THAN_SIGN_BANG;break}case x.LESS_THAN_SIGN:{r.data+="<";break}default:this.state=v.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===x.HYPHEN_MINUS?this.state=v.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=v.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===x.HYPHEN_MINUS?this.state=v.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=v.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==x.GREATER_THAN_SIGN&&t!==x.EOF&&this._err(P.nestedComment),this.state=v.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const r=this.currentToken;switch(t){case x.HYPHEN_MINUS:{this.state=v.COMMENT_END;break}case x.EOF:{this._err(P.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="-",this.state=v.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const r=this.currentToken;switch(t){case x.GREATER_THAN_SIGN:{this.state=v.DATA,this.emitCurrentComment(r);break}case x.EXCLAMATION_MARK:{this.state=v.COMMENT_END_BANG;break}case x.HYPHEN_MINUS:{r.data+="-";break}case x.EOF:{this._err(P.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="--",this.state=v.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const r=this.currentToken;switch(t){case x.HYPHEN_MINUS:{r.data+="--!",this.state=v.COMMENT_END_DASH;break}case x.GREATER_THAN_SIGN:{this._err(P.incorrectlyClosedComment),this.state=v.DATA,this.emitCurrentComment(r);break}case x.EOF:{this._err(P.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="--!",this.state=v.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case x.SPACE:case x.LINE_FEED:case x.TABULATION:case x.FORM_FEED:{this.state=v.BEFORE_DOCTYPE_NAME;break}case x.GREATER_THAN_SIGN:{this.state=v.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case x.EOF:{this._err(P.eofInDoctype),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(P.missingWhitespaceBeforeDoctypeName),this.state=v.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(pn(t))this._createDoctypeToken(String.fromCharCode(u0(t))),this.state=v.DOCTYPE_NAME;else switch(t){case x.SPACE:case x.LINE_FEED:case x.TABULATION:case x.FORM_FEED:break;case x.NULL:{this._err(P.unexpectedNullCharacter),this._createDoctypeToken(Ce),this.state=v.DOCTYPE_NAME;break}case x.GREATER_THAN_SIGN:{this._err(P.missingDoctypeName),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=v.DATA;break}case x.EOF:{this._err(P.eofInDoctype),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=v.DOCTYPE_NAME}}_stateDoctypeName(t){const r=this.currentToken;switch(t){case x.SPACE:case x.LINE_FEED:case x.TABULATION:case x.FORM_FEED:{this.state=v.AFTER_DOCTYPE_NAME;break}case x.GREATER_THAN_SIGN:{this.state=v.DATA,this.emitCurrentDoctype(r);break}case x.NULL:{this._err(P.unexpectedNullCharacter),r.name+=Ce;break}case x.EOF:{this._err(P.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.name+=String.fromCodePoint(pn(t)?u0(t):t)}}_stateAfterDoctypeName(t){const r=this.currentToken;switch(t){case x.SPACE:case x.LINE_FEED:case x.TABULATION:case x.FORM_FEED:break;case x.GREATER_THAN_SIGN:{this.state=v.DATA,this.emitCurrentDoctype(r);break}case x.EOF:{this._err(P.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(at.PUBLIC,!1)?this.state=v.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(at.SYSTEM,!1)?this.state=v.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(P.invalidCharacterSequenceAfterDoctypeName),r.forceQuirks=!0,this.state=v.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const r=this.currentToken;switch(t){case x.SPACE:case x.LINE_FEED:case x.TABULATION:case x.FORM_FEED:{this.state=v.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case x.QUOTATION_MARK:{this._err(P.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=v.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case x.APOSTROPHE:{this._err(P.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=v.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case x.GREATER_THAN_SIGN:{this._err(P.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=v.DATA,this.emitCurrentDoctype(r);break}case x.EOF:{this._err(P.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(P.missingQuoteBeforeDoctypePublicIdentifier),r.forceQuirks=!0,this.state=v.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const r=this.currentToken;switch(t){case x.SPACE:case x.LINE_FEED:case x.TABULATION:case x.FORM_FEED:break;case x.QUOTATION_MARK:{r.publicId="",this.state=v.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case x.APOSTROPHE:{r.publicId="",this.state=v.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case x.GREATER_THAN_SIGN:{this._err(P.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=v.DATA,this.emitCurrentDoctype(r);break}case x.EOF:{this._err(P.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(P.missingQuoteBeforeDoctypePublicIdentifier),r.forceQuirks=!0,this.state=v.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const r=this.currentToken;switch(t){case x.QUOTATION_MARK:{this.state=v.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case x.NULL:{this._err(P.unexpectedNullCharacter),r.publicId+=Ce;break}case x.GREATER_THAN_SIGN:{this._err(P.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=v.DATA;break}case x.EOF:{this._err(P.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const r=this.currentToken;switch(t){case x.APOSTROPHE:{this.state=v.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case x.NULL:{this._err(P.unexpectedNullCharacter),r.publicId+=Ce;break}case x.GREATER_THAN_SIGN:{this._err(P.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=v.DATA;break}case x.EOF:{this._err(P.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const r=this.currentToken;switch(t){case x.SPACE:case x.LINE_FEED:case x.TABULATION:case x.FORM_FEED:{this.state=v.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case x.GREATER_THAN_SIGN:{this.state=v.DATA,this.emitCurrentDoctype(r);break}case x.QUOTATION_MARK:{this._err(P.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=v.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case x.APOSTROPHE:{this._err(P.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=v.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case x.EOF:{this._err(P.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(P.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=v.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const r=this.currentToken;switch(t){case x.SPACE:case x.LINE_FEED:case x.TABULATION:case x.FORM_FEED:break;case x.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=v.DATA;break}case x.QUOTATION_MARK:{r.systemId="",this.state=v.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case x.APOSTROPHE:{r.systemId="",this.state=v.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case x.EOF:{this._err(P.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(P.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=v.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const r=this.currentToken;switch(t){case x.SPACE:case x.LINE_FEED:case x.TABULATION:case x.FORM_FEED:{this.state=v.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case x.QUOTATION_MARK:{this._err(P.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=v.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case x.APOSTROPHE:{this._err(P.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=v.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case x.GREATER_THAN_SIGN:{this._err(P.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=v.DATA,this.emitCurrentDoctype(r);break}case x.EOF:{this._err(P.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(P.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=v.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const r=this.currentToken;switch(t){case x.SPACE:case x.LINE_FEED:case x.TABULATION:case x.FORM_FEED:break;case x.QUOTATION_MARK:{r.systemId="",this.state=v.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case x.APOSTROPHE:{r.systemId="",this.state=v.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case x.GREATER_THAN_SIGN:{this._err(P.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=v.DATA,this.emitCurrentDoctype(r);break}case x.EOF:{this._err(P.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(P.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=v.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const r=this.currentToken;switch(t){case x.QUOTATION_MARK:{this.state=v.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case x.NULL:{this._err(P.unexpectedNullCharacter),r.systemId+=Ce;break}case x.GREATER_THAN_SIGN:{this._err(P.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=v.DATA;break}case x.EOF:{this._err(P.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const r=this.currentToken;switch(t){case x.APOSTROPHE:{this.state=v.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case x.NULL:{this._err(P.unexpectedNullCharacter),r.systemId+=Ce;break}case x.GREATER_THAN_SIGN:{this._err(P.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=v.DATA;break}case x.EOF:{this._err(P.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const r=this.currentToken;switch(t){case x.SPACE:case x.LINE_FEED:case x.TABULATION:case x.FORM_FEED:break;case x.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=v.DATA;break}case x.EOF:{this._err(P.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(P.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=v.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const r=this.currentToken;switch(t){case x.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=v.DATA;break}case x.NULL:{this._err(P.unexpectedNullCharacter);break}case x.EOF:{this.emitCurrentDoctype(r),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case x.RIGHT_SQUARE_BRACKET:{this.state=v.CDATA_SECTION_BRACKET;break}case x.EOF:{this._err(P.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===x.RIGHT_SQUARE_BRACKET?this.state=v.CDATA_SECTION_END:(this._emitChars("]"),this.state=v.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case x.GREATER_THAN_SIGN:{this.state=v.DATA;break}case x.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=v.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(){let t=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(t<0)if(this.preprocessor.lastChunkWritten)t=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}t===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(x.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&Iu(this.preprocessor.peek(1))?v.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){Iu(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===x.SEMICOLON&&this._err(P.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const Sc=new Set([c.DD,c.DT,c.LI,c.OPTGROUP,c.OPTION,c.P,c.RB,c.RP,c.RT,c.RTC]),Ru=new Set([...Sc,c.CAPTION,c.COLGROUP,c.TBODY,c.TD,c.TFOOT,c.TH,c.THEAD,c.TR]),S0=new Set([c.APPLET,c.CAPTION,c.HTML,c.MARQUEE,c.OBJECT,c.TABLE,c.TD,c.TEMPLATE,c.TH]),T2=new Set([...S0,c.OL,c.UL]),x2=new Set([...S0,c.BUTTON]),Lu=new Set([c.ANNOTATION_XML,c.MI,c.MN,c.MO,c.MS,c.MTEXT]),Ou=new Set([c.DESC,c.FOREIGN_OBJECT,c.TITLE]),y2=new Set([c.TR,c.TEMPLATE,c.HTML]),v2=new Set([c.TBODY,c.TFOOT,c.THEAD,c.TEMPLATE,c.HTML]),k2=new Set([c.TABLE,c.TEMPLATE,c.HTML]),A2=new Set([c.TD,c.TH]);class w2{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,r,n){this.treeAdapter=r,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=c.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===c.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===q.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,r){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=r,this.currentTagId=r,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,r,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,r){const n=this._indexOf(t);this.items[n]=r,n===this.stackTop&&(this.current=r)}insertAfter(t,r,n){const a=this._indexOf(t)+1;this.items.splice(a,0,r),this.tagIDs.splice(a,0,n),this.stackTop++,a===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,a===this.stackTop)}popUntilTagNamePopped(t){let r=this.stackTop+1;do r=this.tagIDs.lastIndexOf(t,r-1);while(r>0&&this.treeAdapter.getNamespaceURI(this.items[r])!==q.HTML);this.shortenToLength(Math.max(r,0))}shortenToLength(t){for(;this.stackTop>=t;){const r=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(r,this.stackTop<t)}}popUntilElementPopped(t){const r=this._indexOf(t);this.shortenToLength(Math.max(r,0))}popUntilPopped(t,r){const n=this._indexOfTagNames(t,r);this.shortenToLength(Math.max(n,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(oi,q.HTML)}popUntilTableCellPopped(){this.popUntilPopped(A2,q.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,r){for(let n=this.stackTop;n>=0;n--)if(t.has(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===r)return n;return-1}clearBackTo(t,r){const n=this._indexOfTagNames(t,r);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(k2,q.HTML)}clearBackToTableBodyContext(){this.clearBackTo(v2,q.HTML)}clearBackToTableRowContext(){this.clearBackTo(y2,q.HTML)}remove(t){const r=this._indexOf(t);r>=0&&(r===this.stackTop?this.pop():(this.items.splice(r,1),this.tagIDs.splice(r,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===c.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const r=this._indexOf(t)-1;return r>=0?this.items[r]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===c.HTML}hasInDynamicScope(t,r){for(let n=this.stackTop;n>=0;n--){const a=this.tagIDs[n];switch(this.treeAdapter.getNamespaceURI(this.items[n])){case q.HTML:{if(a===t)return!0;if(r.has(a))return!1;break}case q.SVG:{if(Ou.has(a))return!1;break}case q.MATHML:{if(Lu.has(a))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,S0)}hasInListItemScope(t){return this.hasInDynamicScope(t,T2)}hasInButtonScope(t){return this.hasInDynamicScope(t,x2)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const r=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case q.HTML:{if(oi.has(r))return!0;if(S0.has(r))return!1;break}case q.SVG:{if(Ou.has(r))return!1;break}case q.MATHML:{if(Lu.has(r))return!1;break}}}return!0}hasInTableScope(t){for(let r=this.stackTop;r>=0;r--)if(this.treeAdapter.getNamespaceURI(this.items[r])===q.HTML)switch(this.tagIDs[r]){case t:return!0;case c.TABLE:case c.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===q.HTML)switch(this.tagIDs[t]){case c.TBODY:case c.THEAD:case c.TFOOT:return!0;case c.TABLE:case c.HTML:return!1}return!0}hasInSelectScope(t){for(let r=this.stackTop;r>=0;r--)if(this.treeAdapter.getNamespaceURI(this.items[r])===q.HTML)switch(this.tagIDs[r]){case t:return!0;case c.OPTION:case c.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&Sc.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&Ru.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&Ru.has(this.currentTagId);)this.pop()}}const Ca=3;var Dt;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Dt||(Dt={}));const Mu={type:Dt.Marker};class S2{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,r){const n=[],a=r.length,i=this.treeAdapter.getTagName(t),s=this.treeAdapter.getNamespaceURI(t);for(let u=0;u<this.entries.length;u++){const l=this.entries[u];if(l.type===Dt.Marker)break;const{element:o}=l;if(this.treeAdapter.getTagName(o)===i&&this.treeAdapter.getNamespaceURI(o)===s){const h=this.treeAdapter.getAttrList(o);h.length===a&&n.push({idx:u,attrs:h})}}return n}_ensureNoahArkCondition(t){if(this.entries.length<Ca)return;const r=this.treeAdapter.getAttrList(t),n=this._getNoahArkConditionCandidates(t,r);if(n.length<Ca)return;const a=new Map(r.map(s=>[s.name,s.value]));let i=0;for(let s=0;s<n.length;s++){const u=n[s];u.attrs.every(l=>a.get(l.name)===l.value)&&(i+=1,i>=Ca&&this.entries.splice(u.idx,1))}}insertMarker(){this.entries.unshift(Mu)}pushElement(t,r){this._ensureNoahArkCondition(t),this.entries.unshift({type:Dt.Element,element:t,token:r})}insertElementAfterBookmark(t,r){const n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:Dt.Element,element:t,token:r})}removeEntry(t){const r=this.entries.indexOf(t);r!==-1&&this.entries.splice(r,1)}clearToLastMarker(){const t=this.entries.indexOf(Mu);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const r=this.entries.find(n=>n.type===Dt.Marker||this.treeAdapter.getTagName(n.element)===t);return r&&r.type===Dt.Element?r:null}getElementEntry(t){return this.entries.find(r=>r.type===Dt.Element&&r.element===t)}}const rr={createDocument(){return{nodeName:"#document",mode:pt.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,r){return{nodeName:e,tagName:e,attrs:r,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,r){const n=e.childNodes.indexOf(r);e.childNodes.splice(n,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,r,n){const a=e.childNodes.find(i=>i.nodeName==="#documentType");if(a)a.name=t,a.publicId=r,a.systemId=n;else{const i={nodeName:"#documentType",name:t,publicId:r,systemId:n,parentNode:null};rr.appendChild(e,i)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const r=e.childNodes[e.childNodes.length-1];if(rr.isTextNode(r)){r.value+=t;return}}rr.appendChild(e,rr.createTextNode(t))},insertTextBefore(e,t,r){const n=e.childNodes[e.childNodes.indexOf(r)-1];n&&rr.isTextNode(n)?n.value+=t:rr.insertBefore(e,rr.createTextNode(t),r)},adoptAttributes(e,t){const r=new Set(e.attrs.map(n=>n.name));for(let n=0;n<t.length;n++)r.has(t[n].name)||e.attrs.push(t[n])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},Cc="html",C2="about:legacy-compat",_2="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",_c=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],N2=[..._c,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],I2=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),Nc=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],D2=[...Nc,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function Pu(e,t){return t.some(r=>e.startsWith(r))}function R2(e){return e.name===Cc&&e.publicId===null&&(e.systemId===null||e.systemId===C2)}function L2(e){if(e.name!==Cc)return pt.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===_2)return pt.QUIRKS;let{publicId:r}=e;if(r!==null){if(r=r.toLowerCase(),I2.has(r))return pt.QUIRKS;let n=t===null?N2:_c;if(Pu(r,n))return pt.QUIRKS;if(n=t===null?Nc:D2,Pu(r,n))return pt.LIMITED_QUIRKS}return pt.NO_QUIRKS}const Bu={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},O2="definitionurl",M2="definitionURL",P2=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),B2=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:q.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:q.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:q.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:q.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:q.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:q.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:q.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:q.XML}],["xml:space",{prefix:"xml",name:"space",namespace:q.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:q.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:q.XMLNS}]]),F2=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),z2=new Set([c.B,c.BIG,c.BLOCKQUOTE,c.BODY,c.BR,c.CENTER,c.CODE,c.DD,c.DIV,c.DL,c.DT,c.EM,c.EMBED,c.H1,c.H2,c.H3,c.H4,c.H5,c.H6,c.HEAD,c.HR,c.I,c.IMG,c.LI,c.LISTING,c.MENU,c.META,c.NOBR,c.OL,c.P,c.PRE,c.RUBY,c.S,c.SMALL,c.SPAN,c.STRONG,c.STRIKE,c.SUB,c.SUP,c.TABLE,c.TT,c.U,c.UL,c.VAR]);function H2(e){const t=e.tagID;return t===c.FONT&&e.attrs.some(({name:n})=>n===yr.COLOR||n===yr.SIZE||n===yr.FACE)||z2.has(t)}function Ic(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===O2){e.attrs[t].name=M2;break}}function Dc(e){for(let t=0;t<e.attrs.length;t++){const r=P2.get(e.attrs[t].name);r!=null&&(e.attrs[t].name=r)}}function rs(e){for(let t=0;t<e.attrs.length;t++){const r=B2.get(e.attrs[t].name);r&&(e.attrs[t].prefix=r.prefix,e.attrs[t].name=r.name,e.attrs[t].namespace=r.namespace)}}function U2(e){const t=F2.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=Jr(e.tagName))}function q2(e,t){return t===q.MATHML&&(e===c.MI||e===c.MO||e===c.MN||e===c.MS||e===c.MTEXT)}function $2(e,t,r){if(t===q.MATHML&&e===c.ANNOTATION_XML){for(let n=0;n<r.length;n++)if(r[n].name===yr.ENCODING){const a=r[n].value.toLowerCase();return a===Bu.TEXT_HTML||a===Bu.APPLICATION_XML}}return t===q.SVG&&(e===c.FOREIGN_OBJECT||e===c.DESC||e===c.TITLE)}function j2(e,t,r,n){return(!n||n===q.HTML)&&$2(e,t,r)||(!n||n===q.MATHML)&&q2(e,t)}const Y2="hidden",G2=8,V2=3;var w;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(w||(w={}));const W2={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},Rc=new Set([c.TABLE,c.TBODY,c.TFOOT,c.THEAD,c.TR]),Fu={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:rr,onParseError:null};class zu{constructor(t,r,n=null,a=null){this.fragmentContext=n,this.scriptHandler=a,this.currentToken=null,this.stopped=!1,this.insertionMode=w.INITIAL,this.originalInsertionMode=w.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...Fu,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=r??this.treeAdapter.createDocument(),this.tokenizer=new E2(this.options,this),this.activeFormattingElements=new S2(this.treeAdapter),this.fragmentContextID=n?Jr(this.treeAdapter.getTagName(n)):c.UNKNOWN,this._setContextModes(n??this.document,this.fragmentContextID),this.openElements=new w2(this.document,this.treeAdapter,this)}static parse(t,r){const n=new this(r);return n.tokenizer.write(t,!0),n.document}static getFragmentParser(t,r){const n={...Fu,...r};t??(t=n.treeAdapter.createElement(L.TEMPLATE,q.HTML,[]));const a=n.treeAdapter.createElement("documentmock",q.HTML,[]),i=new this(n,a,t);return i.fragmentContextID===c.TEMPLATE&&i.tmplInsertionModeStack.unshift(w.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),r=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,r),r}_err(t,r,n){var a;if(!this.onParseError)return;const i=(a=t.location)!==null&&a!==void 0?a:W2,s={code:r,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:n?i.startLine:i.endLine,endCol:n?i.startCol:i.endCol,endOffset:n?i.startOffset:i.endOffset};this.onParseError(s)}onItemPush(t,r,n){var a,i;(i=(a=this.treeAdapter).onItemPush)===null||i===void 0||i.call(a,t),n&&this.openElements.stackTop>0&&this._setContextModes(t,r)}onItemPop(t,r){var n,a;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(a=(n=this.treeAdapter).onItemPop)===null||a===void 0||a.call(n,t,this.openElements.current),r){let i,s;this.openElements.stackTop===0&&this.fragmentContext?(i=this.fragmentContext,s=this.fragmentContextID):{current:i,currentTagId:s}=this.openElements,this._setContextModes(i,s)}}_setContextModes(t,r){const n=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===q.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&t!==void 0&&r!==void 0&&!this._isIntegrationPoint(r,t)}_switchToTextParsing(t,r){this._insertElement(t,q.HTML),this.tokenizer.state=r,this.originalInsertionMode=this.insertionMode,this.insertionMode=w.TEXT}switchToPlaintextParsing(){this.insertionMode=w.TEXT,this.originalInsertionMode=w.IN_BODY,this.tokenizer.state=Oe.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===L.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==q.HTML))switch(this.fragmentContextID){case c.TITLE:case c.TEXTAREA:{this.tokenizer.state=Oe.RCDATA;break}case c.STYLE:case c.XMP:case c.IFRAME:case c.NOEMBED:case c.NOFRAMES:case c.NOSCRIPT:{this.tokenizer.state=Oe.RAWTEXT;break}case c.SCRIPT:{this.tokenizer.state=Oe.SCRIPT_DATA;break}case c.PLAINTEXT:{this.tokenizer.state=Oe.PLAINTEXT;break}}}_setDocumentType(t){const r=t.name||"",n=t.publicId||"",a=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,r,n,a),t.location){const s=this.treeAdapter.getChildNodes(this.document).find(u=>this.treeAdapter.isDocumentTypeNode(u));s&&this.treeAdapter.setNodeSourceCodeLocation(s,t.location)}}_attachElementToTree(t,r){if(this.options.sourceCodeLocationInfo){const n=r&&{...r,startTag:r};this.treeAdapter.setNodeSourceCodeLocation(t,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const n=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(n??this.document,t)}}_appendElement(t,r){const n=this.treeAdapter.createElement(t.tagName,r,t.attrs);this._attachElementToTree(n,t.location)}_insertElement(t,r){const n=this.treeAdapter.createElement(t.tagName,r,t.attrs);this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID)}_insertFakeElement(t,r){const n=this.treeAdapter.createElement(t,q.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,r)}_insertTemplate(t){const r=this.treeAdapter.createElement(t.tagName,q.HTML,t.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(r,n),this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(L.HTML,q.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,c.HTML)}_appendCommentNode(t,r){const n=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(r,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,t.location)}_insertCharacters(t){let r,n;if(this._shouldFosterParentOnInsertion()?({parent:r,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(r,t.chars,n):this.treeAdapter.insertText(r,t.chars)):(r=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(r,t.chars)),!t.location)return;const a=this.treeAdapter.getChildNodes(r),i=n?a.lastIndexOf(n):a.length,s=a[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(s)){const{endLine:l,endCol:o,endOffset:h}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(s,{endLine:l,endCol:o,endOffset:h})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(s,t.location)}_adoptNodes(t,r){for(let n=this.treeAdapter.getFirstChild(t);n;n=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(r,n)}_setEndLocation(t,r){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&r.location){const n=r.location,a=this.treeAdapter.getTagName(t),i=r.type===fe.END_TAG&&a===r.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,i)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let r,n;return this.openElements.stackTop===0&&this.fragmentContext?(r=this.fragmentContext,n=this.fragmentContextID):{current:r,currentTagId:n}=this.openElements,t.tagID===c.SVG&&this.treeAdapter.getTagName(r)===L.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(r)===q.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===c.MGLYPH||t.tagID===c.MALIGNMARK)&&n!==void 0&&!this._isIntegrationPoint(n,r,q.HTML)}_processToken(t){switch(t.type){case fe.CHARACTER:{this.onCharacter(t);break}case fe.NULL_CHARACTER:{this.onNullCharacter(t);break}case fe.COMMENT:{this.onComment(t);break}case fe.DOCTYPE:{this.onDoctype(t);break}case fe.START_TAG:{this._processStartTag(t);break}case fe.END_TAG:{this.onEndTag(t);break}case fe.EOF:{this.onEof(t);break}case fe.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,r,n){const a=this.treeAdapter.getNamespaceURI(r),i=this.treeAdapter.getAttrList(r);return j2(t,a,i,n)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const r=this.activeFormattingElements.entries.findIndex(a=>a.type===Dt.Marker||this.openElements.contains(a.element)),n=r===-1?t-1:r-1;for(let a=n;a>=0;a--){const i=this.activeFormattingElements.entries[a];this._insertElement(i.token,this.treeAdapter.getNamespaceURI(i.element)),i.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=w.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(c.P),this.openElements.popUntilTagNamePopped(c.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case c.TR:{this.insertionMode=w.IN_ROW;return}case c.TBODY:case c.THEAD:case c.TFOOT:{this.insertionMode=w.IN_TABLE_BODY;return}case c.CAPTION:{this.insertionMode=w.IN_CAPTION;return}case c.COLGROUP:{this.insertionMode=w.IN_COLUMN_GROUP;return}case c.TABLE:{this.insertionMode=w.IN_TABLE;return}case c.BODY:{this.insertionMode=w.IN_BODY;return}case c.FRAMESET:{this.insertionMode=w.IN_FRAMESET;return}case c.SELECT:{this._resetInsertionModeForSelect(t);return}case c.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case c.HTML:{this.insertionMode=this.headElement?w.AFTER_HEAD:w.BEFORE_HEAD;return}case c.TD:case c.TH:{if(t>0){this.insertionMode=w.IN_CELL;return}break}case c.HEAD:{if(t>0){this.insertionMode=w.IN_HEAD;return}break}}this.insertionMode=w.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let r=t-1;r>0;r--){const n=this.openElements.tagIDs[r];if(n===c.TEMPLATE)break;if(n===c.TABLE){this.insertionMode=w.IN_SELECT_IN_TABLE;return}}this.insertionMode=w.IN_SELECT}_isElementCausesFosterParenting(t){return Rc.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const r=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case c.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(r)===q.HTML)return{parent:this.treeAdapter.getTemplateContent(r),beforeElement:null};break}case c.TABLE:{const n=this.treeAdapter.getParentNode(r);return n?{parent:n,beforeElement:r}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const r=this._findFosterParentingLocation();r.beforeElement?this.treeAdapter.insertBefore(r.parent,t,r.beforeElement):this.treeAdapter.appendChild(r.parent,t)}_isSpecialElement(t,r){const n=this.treeAdapter.getNamespaceURI(t);return m2[n].has(r)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Ap(this,t);return}switch(this.insertionMode){case w.INITIAL:{ln(this,t);break}case w.BEFORE_HTML:{yn(this,t);break}case w.BEFORE_HEAD:{vn(this,t);break}case w.IN_HEAD:{kn(this,t);break}case w.IN_HEAD_NO_SCRIPT:{An(this,t);break}case w.AFTER_HEAD:{wn(this,t);break}case w.IN_BODY:case w.IN_CAPTION:case w.IN_CELL:case w.IN_TEMPLATE:{Oc(this,t);break}case w.TEXT:case w.IN_SELECT:case w.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case w.IN_TABLE:case w.IN_TABLE_BODY:case w.IN_ROW:{_a(this,t);break}case w.IN_TABLE_TEXT:{Hc(this,t);break}case w.IN_COLUMN_GROUP:{C0(this,t);break}case w.AFTER_BODY:{_0(this,t);break}case w.AFTER_AFTER_BODY:{g0(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){kp(this,t);return}switch(this.insertionMode){case w.INITIAL:{ln(this,t);break}case w.BEFORE_HTML:{yn(this,t);break}case w.BEFORE_HEAD:{vn(this,t);break}case w.IN_HEAD:{kn(this,t);break}case w.IN_HEAD_NO_SCRIPT:{An(this,t);break}case w.AFTER_HEAD:{wn(this,t);break}case w.TEXT:{this._insertCharacters(t);break}case w.IN_TABLE:case w.IN_TABLE_BODY:case w.IN_ROW:{_a(this,t);break}case w.IN_COLUMN_GROUP:{C0(this,t);break}case w.AFTER_BODY:{_0(this,t);break}case w.AFTER_AFTER_BODY:{g0(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){ci(this,t);return}switch(this.insertionMode){case w.INITIAL:case w.BEFORE_HTML:case w.BEFORE_HEAD:case w.IN_HEAD:case w.IN_HEAD_NO_SCRIPT:case w.AFTER_HEAD:case w.IN_BODY:case w.IN_TABLE:case w.IN_CAPTION:case w.IN_COLUMN_GROUP:case w.IN_TABLE_BODY:case w.IN_ROW:case w.IN_CELL:case w.IN_SELECT:case w.IN_SELECT_IN_TABLE:case w.IN_TEMPLATE:case w.IN_FRAMESET:case w.AFTER_FRAMESET:{ci(this,t);break}case w.IN_TABLE_TEXT:{on(this,t);break}case w.AFTER_BODY:{t4(this,t);break}case w.AFTER_AFTER_BODY:case w.AFTER_AFTER_FRAMESET:{r4(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case w.INITIAL:{n4(this,t);break}case w.BEFORE_HEAD:case w.IN_HEAD:case w.IN_HEAD_NO_SCRIPT:case w.AFTER_HEAD:{this._err(t,P.misplacedDoctype);break}case w.IN_TABLE_TEXT:{on(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,P.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?wp(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case w.INITIAL:{ln(this,t);break}case w.BEFORE_HTML:{a4(this,t);break}case w.BEFORE_HEAD:{s4(this,t);break}case w.IN_HEAD:{St(this,t);break}case w.IN_HEAD_NO_SCRIPT:{o4(this,t);break}case w.AFTER_HEAD:{h4(this,t);break}case w.IN_BODY:{We(this,t);break}case w.IN_TABLE:{Vr(this,t);break}case w.IN_TABLE_TEXT:{on(this,t);break}case w.IN_CAPTION:{up(this,t);break}case w.IN_COLUMN_GROUP:{is(this,t);break}case w.IN_TABLE_BODY:{Z0(this,t);break}case w.IN_ROW:{J0(this,t);break}case w.IN_CELL:{cp(this,t);break}case w.IN_SELECT:{$c(this,t);break}case w.IN_SELECT_IN_TABLE:{dp(this,t);break}case w.IN_TEMPLATE:{mp(this,t);break}case w.AFTER_BODY:{gp(this,t);break}case w.IN_FRAMESET:{bp(this,t);break}case w.AFTER_FRAMESET:{Tp(this,t);break}case w.AFTER_AFTER_BODY:{yp(this,t);break}case w.AFTER_AFTER_FRAMESET:{vp(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?Sp(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case w.INITIAL:{ln(this,t);break}case w.BEFORE_HTML:{i4(this,t);break}case w.BEFORE_HEAD:{u4(this,t);break}case w.IN_HEAD:{l4(this,t);break}case w.IN_HEAD_NO_SCRIPT:{c4(this,t);break}case w.AFTER_HEAD:{d4(this,t);break}case w.IN_BODY:{K0(this,t);break}case w.TEXT:{K4(this,t);break}case w.IN_TABLE:{Rn(this,t);break}case w.IN_TABLE_TEXT:{on(this,t);break}case w.IN_CAPTION:{lp(this,t);break}case w.IN_COLUMN_GROUP:{op(this,t);break}case w.IN_TABLE_BODY:{hi(this,t);break}case w.IN_ROW:{qc(this,t);break}case w.IN_CELL:{hp(this,t);break}case w.IN_SELECT:{jc(this,t);break}case w.IN_SELECT_IN_TABLE:{fp(this,t);break}case w.IN_TEMPLATE:{pp(this,t);break}case w.AFTER_BODY:{Gc(this,t);break}case w.IN_FRAMESET:{Ep(this,t);break}case w.AFTER_FRAMESET:{xp(this,t);break}case w.AFTER_AFTER_BODY:{g0(this,t);break}}}onEof(t){switch(this.insertionMode){case w.INITIAL:{ln(this,t);break}case w.BEFORE_HTML:{yn(this,t);break}case w.BEFORE_HEAD:{vn(this,t);break}case w.IN_HEAD:{kn(this,t);break}case w.IN_HEAD_NO_SCRIPT:{An(this,t);break}case w.AFTER_HEAD:{wn(this,t);break}case w.IN_BODY:case w.IN_TABLE:case w.IN_CAPTION:case w.IN_COLUMN_GROUP:case w.IN_TABLE_BODY:case w.IN_ROW:case w.IN_CELL:case w.IN_SELECT:case w.IN_SELECT_IN_TABLE:{Fc(this,t);break}case w.TEXT:{Z4(this,t);break}case w.IN_TABLE_TEXT:{on(this,t);break}case w.IN_TEMPLATE:{Yc(this,t);break}case w.AFTER_BODY:case w.IN_FRAMESET:case w.AFTER_FRAMESET:case w.AFTER_AFTER_BODY:case w.AFTER_AFTER_FRAMESET:{as(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===x.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case w.IN_HEAD:case w.IN_HEAD_NO_SCRIPT:case w.AFTER_HEAD:case w.TEXT:case w.IN_COLUMN_GROUP:case w.IN_SELECT:case w.IN_SELECT_IN_TABLE:case w.IN_FRAMESET:case w.AFTER_FRAMESET:{this._insertCharacters(t);break}case w.IN_BODY:case w.IN_CAPTION:case w.IN_CELL:case w.IN_TEMPLATE:case w.AFTER_BODY:case w.AFTER_AFTER_BODY:case w.AFTER_AFTER_FRAMESET:{Lc(this,t);break}case w.IN_TABLE:case w.IN_TABLE_BODY:case w.IN_ROW:{_a(this,t);break}case w.IN_TABLE_TEXT:{zc(this,t);break}}}}function X2(e,t){let r=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return r?e.openElements.contains(r.element)?e.openElements.hasInScope(t.tagID)||(r=null):(e.activeFormattingElements.removeEntry(r),r=null):Bc(e,t),r}function Q2(e,t){let r=null,n=e.openElements.stackTop;for(;n>=0;n--){const a=e.openElements.items[n];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[n])&&(r=a)}return r||(e.openElements.shortenToLength(Math.max(n,0)),e.activeFormattingElements.removeEntry(t)),r}function K2(e,t,r){let n=t,a=e.openElements.getCommonAncestor(t);for(let i=0,s=a;s!==r;i++,s=a){a=e.openElements.getCommonAncestor(s);const u=e.activeFormattingElements.getElementEntry(s),l=u&&i>=V2;!u||l?(l&&e.activeFormattingElements.removeEntry(u),e.openElements.remove(s)):(s=Z2(e,u),n===t&&(e.activeFormattingElements.bookmark=u),e.treeAdapter.detachNode(n),e.treeAdapter.appendChild(s,n),n=s)}return n}function Z2(e,t){const r=e.treeAdapter.getNamespaceURI(t.element),n=e.treeAdapter.createElement(t.token.tagName,r,t.token.attrs);return e.openElements.replace(t.element,n),t.element=n,n}function J2(e,t,r){const n=e.treeAdapter.getTagName(t),a=Jr(n);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(r);else{const i=e.treeAdapter.getNamespaceURI(t);a===c.TEMPLATE&&i===q.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,r)}}function e4(e,t,r){const n=e.treeAdapter.getNamespaceURI(r.element),{token:a}=r,i=e.treeAdapter.createElement(a.tagName,n,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(r),e.openElements.remove(r.element),e.openElements.insertAfter(t,i,a.tagID)}function ns(e,t){for(let r=0;r<G2;r++){const n=X2(e,t);if(!n)break;const a=Q2(e,n);if(!a)break;e.activeFormattingElements.bookmark=n;const i=K2(e,a,n.element),s=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(i),s&&J2(e,s,i),e4(e,a,n)}}function ci(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function t4(e,t){e._appendCommentNode(t,e.openElements.items[0])}function r4(e,t){e._appendCommentNode(t,e.document)}function as(e,t){if(e.stopped=!0,t.location){const r=e.fragmentContext?0:2;for(let n=e.openElements.stackTop;n>=r;n--)e._setEndLocation(e.openElements.items[n],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const n=e.openElements.items[0],a=e.treeAdapter.getNodeSourceCodeLocation(n);if(a&&!a.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){const i=e.openElements.items[1],s=e.treeAdapter.getNodeSourceCodeLocation(i);s&&!s.endTag&&e._setEndLocation(i,t)}}}}function n4(e,t){e._setDocumentType(t);const r=t.forceQuirks?pt.QUIRKS:L2(t);R2(t)||e._err(t,P.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,r),e.insertionMode=w.BEFORE_HTML}function ln(e,t){e._err(t,P.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,pt.QUIRKS),e.insertionMode=w.BEFORE_HTML,e._processToken(t)}function a4(e,t){t.tagID===c.HTML?(e._insertElement(t,q.HTML),e.insertionMode=w.BEFORE_HEAD):yn(e,t)}function i4(e,t){const r=t.tagID;(r===c.HTML||r===c.HEAD||r===c.BODY||r===c.BR)&&yn(e,t)}function yn(e,t){e._insertFakeRootElement(),e.insertionMode=w.BEFORE_HEAD,e._processToken(t)}function s4(e,t){switch(t.tagID){case c.HTML:{We(e,t);break}case c.HEAD:{e._insertElement(t,q.HTML),e.headElement=e.openElements.current,e.insertionMode=w.IN_HEAD;break}default:vn(e,t)}}function u4(e,t){const r=t.tagID;r===c.HEAD||r===c.BODY||r===c.HTML||r===c.BR?vn(e,t):e._err(t,P.endTagWithoutMatchingOpenElement)}function vn(e,t){e._insertFakeElement(L.HEAD,c.HEAD),e.headElement=e.openElements.current,e.insertionMode=w.IN_HEAD,e._processToken(t)}function St(e,t){switch(t.tagID){case c.HTML:{We(e,t);break}case c.BASE:case c.BASEFONT:case c.BGSOUND:case c.LINK:case c.META:{e._appendElement(t,q.HTML),t.ackSelfClosing=!0;break}case c.TITLE:{e._switchToTextParsing(t,Oe.RCDATA);break}case c.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,Oe.RAWTEXT):(e._insertElement(t,q.HTML),e.insertionMode=w.IN_HEAD_NO_SCRIPT);break}case c.NOFRAMES:case c.STYLE:{e._switchToTextParsing(t,Oe.RAWTEXT);break}case c.SCRIPT:{e._switchToTextParsing(t,Oe.SCRIPT_DATA);break}case c.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=w.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(w.IN_TEMPLATE);break}case c.HEAD:{e._err(t,P.misplacedStartTagForHeadElement);break}default:kn(e,t)}}function l4(e,t){switch(t.tagID){case c.HEAD:{e.openElements.pop(),e.insertionMode=w.AFTER_HEAD;break}case c.BODY:case c.BR:case c.HTML:{kn(e,t);break}case c.TEMPLATE:{Cr(e,t);break}default:e._err(t,P.endTagWithoutMatchingOpenElement)}}function Cr(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==c.TEMPLATE&&e._err(t,P.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(c.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,P.endTagWithoutMatchingOpenElement)}function kn(e,t){e.openElements.pop(),e.insertionMode=w.AFTER_HEAD,e._processToken(t)}function o4(e,t){switch(t.tagID){case c.HTML:{We(e,t);break}case c.BASEFONT:case c.BGSOUND:case c.HEAD:case c.LINK:case c.META:case c.NOFRAMES:case c.STYLE:{St(e,t);break}case c.NOSCRIPT:{e._err(t,P.nestedNoscriptInHead);break}default:An(e,t)}}function c4(e,t){switch(t.tagID){case c.NOSCRIPT:{e.openElements.pop(),e.insertionMode=w.IN_HEAD;break}case c.BR:{An(e,t);break}default:e._err(t,P.endTagWithoutMatchingOpenElement)}}function An(e,t){const r=t.type===fe.EOF?P.openElementsLeftAfterEof:P.disallowedContentInNoscriptInHead;e._err(t,r),e.openElements.pop(),e.insertionMode=w.IN_HEAD,e._processToken(t)}function h4(e,t){switch(t.tagID){case c.HTML:{We(e,t);break}case c.BODY:{e._insertElement(t,q.HTML),e.framesetOk=!1,e.insertionMode=w.IN_BODY;break}case c.FRAMESET:{e._insertElement(t,q.HTML),e.insertionMode=w.IN_FRAMESET;break}case c.BASE:case c.BASEFONT:case c.BGSOUND:case c.LINK:case c.META:case c.NOFRAMES:case c.SCRIPT:case c.STYLE:case c.TEMPLATE:case c.TITLE:{e._err(t,P.abandonedHeadElementChild),e.openElements.push(e.headElement,c.HEAD),St(e,t),e.openElements.remove(e.headElement);break}case c.HEAD:{e._err(t,P.misplacedStartTagForHeadElement);break}default:wn(e,t)}}function d4(e,t){switch(t.tagID){case c.BODY:case c.HTML:case c.BR:{wn(e,t);break}case c.TEMPLATE:{Cr(e,t);break}default:e._err(t,P.endTagWithoutMatchingOpenElement)}}function wn(e,t){e._insertFakeElement(L.BODY,c.BODY),e.insertionMode=w.IN_BODY,Q0(e,t)}function Q0(e,t){switch(t.type){case fe.CHARACTER:{Oc(e,t);break}case fe.WHITESPACE_CHARACTER:{Lc(e,t);break}case fe.COMMENT:{ci(e,t);break}case fe.START_TAG:{We(e,t);break}case fe.END_TAG:{K0(e,t);break}case fe.EOF:{Fc(e,t);break}}}function Lc(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function Oc(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function f4(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function m4(e,t){const r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(r,t.attrs))}function p4(e,t){const r=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&r&&(e.treeAdapter.detachNode(r),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,q.HTML),e.insertionMode=w.IN_FRAMESET)}function g4(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,q.HTML)}function b4(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&oi.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,q.HTML)}function E4(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,q.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function T4(e,t){const r=e.openElements.tmplCount>0;(!e.formElement||r)&&(e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,q.HTML),r||(e.formElement=e.openElements.current))}function x4(e,t){e.framesetOk=!1;const r=t.tagID;for(let n=e.openElements.stackTop;n>=0;n--){const a=e.openElements.tagIDs[n];if(r===c.LI&&a===c.LI||(r===c.DD||r===c.DT)&&(a===c.DD||a===c.DT)){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a);break}if(a!==c.ADDRESS&&a!==c.DIV&&a!==c.P&&e._isSpecialElement(e.openElements.items[n],a))break}e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,q.HTML)}function y4(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,q.HTML),e.tokenizer.state=Oe.PLAINTEXT}function v4(e,t){e.openElements.hasInScope(c.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(c.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,q.HTML),e.framesetOk=!1}function k4(e,t){const r=e.activeFormattingElements.getElementEntryInScopeWithTagName(L.A);r&&(ns(e,t),e.openElements.remove(r.element),e.activeFormattingElements.removeEntry(r)),e._reconstructActiveFormattingElements(),e._insertElement(t,q.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function A4(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,q.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function w4(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(c.NOBR)&&(ns(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,q.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function S4(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,q.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function C4(e,t){e.treeAdapter.getDocumentMode(e.document)!==pt.QUIRKS&&e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._insertElement(t,q.HTML),e.framesetOk=!1,e.insertionMode=w.IN_TABLE}function Mc(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,q.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Pc(e){const t=Ac(e,yr.TYPE);return t!=null&&t.toLowerCase()===Y2}function _4(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,q.HTML),Pc(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function N4(e,t){e._appendElement(t,q.HTML),t.ackSelfClosing=!0}function I4(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._appendElement(t,q.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function D4(e,t){t.tagName=L.IMG,t.tagID=c.IMG,Mc(e,t)}function R4(e,t){e._insertElement(t,q.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Oe.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=w.TEXT}function L4(e,t){e.openElements.hasInButtonScope(c.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,Oe.RAWTEXT)}function O4(e,t){e.framesetOk=!1,e._switchToTextParsing(t,Oe.RAWTEXT)}function Hu(e,t){e._switchToTextParsing(t,Oe.RAWTEXT)}function M4(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,q.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===w.IN_TABLE||e.insertionMode===w.IN_CAPTION||e.insertionMode===w.IN_TABLE_BODY||e.insertionMode===w.IN_ROW||e.insertionMode===w.IN_CELL?w.IN_SELECT_IN_TABLE:w.IN_SELECT}function P4(e,t){e.openElements.currentTagId===c.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,q.HTML)}function B4(e,t){e.openElements.hasInScope(c.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,q.HTML)}function F4(e,t){e.openElements.hasInScope(c.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(c.RTC),e._insertElement(t,q.HTML)}function z4(e,t){e._reconstructActiveFormattingElements(),Ic(t),rs(t),t.selfClosing?e._appendElement(t,q.MATHML):e._insertElement(t,q.MATHML),t.ackSelfClosing=!0}function H4(e,t){e._reconstructActiveFormattingElements(),Dc(t),rs(t),t.selfClosing?e._appendElement(t,q.SVG):e._insertElement(t,q.SVG),t.ackSelfClosing=!0}function Uu(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,q.HTML)}function We(e,t){switch(t.tagID){case c.I:case c.S:case c.B:case c.U:case c.EM:case c.TT:case c.BIG:case c.CODE:case c.FONT:case c.SMALL:case c.STRIKE:case c.STRONG:{A4(e,t);break}case c.A:{k4(e,t);break}case c.H1:case c.H2:case c.H3:case c.H4:case c.H5:case c.H6:{b4(e,t);break}case c.P:case c.DL:case c.OL:case c.UL:case c.DIV:case c.DIR:case c.NAV:case c.MAIN:case c.MENU:case c.ASIDE:case c.CENTER:case c.FIGURE:case c.FOOTER:case c.HEADER:case c.HGROUP:case c.DIALOG:case c.DETAILS:case c.ADDRESS:case c.ARTICLE:case c.SEARCH:case c.SECTION:case c.SUMMARY:case c.FIELDSET:case c.BLOCKQUOTE:case c.FIGCAPTION:{g4(e,t);break}case c.LI:case c.DD:case c.DT:{x4(e,t);break}case c.BR:case c.IMG:case c.WBR:case c.AREA:case c.EMBED:case c.KEYGEN:{Mc(e,t);break}case c.HR:{I4(e,t);break}case c.RB:case c.RTC:{B4(e,t);break}case c.RT:case c.RP:{F4(e,t);break}case c.PRE:case c.LISTING:{E4(e,t);break}case c.XMP:{L4(e,t);break}case c.SVG:{H4(e,t);break}case c.HTML:{f4(e,t);break}case c.BASE:case c.LINK:case c.META:case c.STYLE:case c.TITLE:case c.SCRIPT:case c.BGSOUND:case c.BASEFONT:case c.TEMPLATE:{St(e,t);break}case c.BODY:{m4(e,t);break}case c.FORM:{T4(e,t);break}case c.NOBR:{w4(e,t);break}case c.MATH:{z4(e,t);break}case c.TABLE:{C4(e,t);break}case c.INPUT:{_4(e,t);break}case c.PARAM:case c.TRACK:case c.SOURCE:{N4(e,t);break}case c.IMAGE:{D4(e,t);break}case c.BUTTON:{v4(e,t);break}case c.APPLET:case c.OBJECT:case c.MARQUEE:{S4(e,t);break}case c.IFRAME:{O4(e,t);break}case c.SELECT:{M4(e,t);break}case c.OPTION:case c.OPTGROUP:{P4(e,t);break}case c.NOEMBED:case c.NOFRAMES:{Hu(e,t);break}case c.FRAMESET:{p4(e,t);break}case c.TEXTAREA:{R4(e,t);break}case c.NOSCRIPT:{e.options.scriptingEnabled?Hu(e,t):Uu(e,t);break}case c.PLAINTEXT:{y4(e,t);break}case c.COL:case c.TH:case c.TD:case c.TR:case c.HEAD:case c.FRAME:case c.TBODY:case c.TFOOT:case c.THEAD:case c.CAPTION:case c.COLGROUP:break;default:Uu(e,t)}}function U4(e,t){if(e.openElements.hasInScope(c.BODY)&&(e.insertionMode=w.AFTER_BODY,e.options.sourceCodeLocationInfo)){const r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e._setEndLocation(r,t)}}function q4(e,t){e.openElements.hasInScope(c.BODY)&&(e.insertionMode=w.AFTER_BODY,Gc(e,t))}function $4(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r))}function j4(e){const t=e.openElements.tmplCount>0,{formElement:r}=e;t||(e.formElement=null),(r||t)&&e.openElements.hasInScope(c.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(c.FORM):r&&e.openElements.remove(r))}function Y4(e){e.openElements.hasInButtonScope(c.P)||e._insertFakeElement(L.P,c.P),e._closePElement()}function G4(e){e.openElements.hasInListItemScope(c.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(c.LI),e.openElements.popUntilTagNamePopped(c.LI))}function V4(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r))}function W4(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function X4(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker())}function Q4(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(L.BR,c.BR),e.openElements.pop(),e.framesetOk=!1}function Bc(e,t){const r=t.tagName,n=t.tagID;for(let a=e.openElements.stackTop;a>0;a--){const i=e.openElements.items[a],s=e.openElements.tagIDs[a];if(n===s&&(n!==c.UNKNOWN||e.treeAdapter.getTagName(i)===r)){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.stackTop>=a&&e.openElements.shortenToLength(a);break}if(e._isSpecialElement(i,s))break}}function K0(e,t){switch(t.tagID){case c.A:case c.B:case c.I:case c.S:case c.U:case c.EM:case c.TT:case c.BIG:case c.CODE:case c.FONT:case c.NOBR:case c.SMALL:case c.STRIKE:case c.STRONG:{ns(e,t);break}case c.P:{Y4(e);break}case c.DL:case c.UL:case c.OL:case c.DIR:case c.DIV:case c.NAV:case c.PRE:case c.MAIN:case c.MENU:case c.ASIDE:case c.BUTTON:case c.CENTER:case c.FIGURE:case c.FOOTER:case c.HEADER:case c.HGROUP:case c.DIALOG:case c.ADDRESS:case c.ARTICLE:case c.DETAILS:case c.SEARCH:case c.SECTION:case c.SUMMARY:case c.LISTING:case c.FIELDSET:case c.BLOCKQUOTE:case c.FIGCAPTION:{$4(e,t);break}case c.LI:{G4(e);break}case c.DD:case c.DT:{V4(e,t);break}case c.H1:case c.H2:case c.H3:case c.H4:case c.H5:case c.H6:{W4(e);break}case c.BR:{Q4(e);break}case c.BODY:{U4(e,t);break}case c.HTML:{q4(e,t);break}case c.FORM:{j4(e);break}case c.APPLET:case c.OBJECT:case c.MARQUEE:{X4(e,t);break}case c.TEMPLATE:{Cr(e,t);break}default:Bc(e,t)}}function Fc(e,t){e.tmplInsertionModeStack.length>0?Yc(e,t):as(e,t)}function K4(e,t){var r;t.tagID===c.SCRIPT&&((r=e.scriptHandler)===null||r===void 0||r.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function Z4(e,t){e._err(t,P.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function _a(e,t){if(e.openElements.currentTagId!==void 0&&Rc.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=w.IN_TABLE_TEXT,t.type){case fe.CHARACTER:{Hc(e,t);break}case fe.WHITESPACE_CHARACTER:{zc(e,t);break}}else Un(e,t)}function J4(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,q.HTML),e.insertionMode=w.IN_CAPTION}function ep(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,q.HTML),e.insertionMode=w.IN_COLUMN_GROUP}function tp(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(L.COLGROUP,c.COLGROUP),e.insertionMode=w.IN_COLUMN_GROUP,is(e,t)}function rp(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,q.HTML),e.insertionMode=w.IN_TABLE_BODY}function np(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(L.TBODY,c.TBODY),e.insertionMode=w.IN_TABLE_BODY,Z0(e,t)}function ap(e,t){e.openElements.hasInTableScope(c.TABLE)&&(e.openElements.popUntilTagNamePopped(c.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function ip(e,t){Pc(t)?e._appendElement(t,q.HTML):Un(e,t),t.ackSelfClosing=!0}function sp(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,q.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Vr(e,t){switch(t.tagID){case c.TD:case c.TH:case c.TR:{np(e,t);break}case c.STYLE:case c.SCRIPT:case c.TEMPLATE:{St(e,t);break}case c.COL:{tp(e,t);break}case c.FORM:{sp(e,t);break}case c.TABLE:{ap(e,t);break}case c.TBODY:case c.TFOOT:case c.THEAD:{rp(e,t);break}case c.INPUT:{ip(e,t);break}case c.CAPTION:{J4(e,t);break}case c.COLGROUP:{ep(e,t);break}default:Un(e,t)}}function Rn(e,t){switch(t.tagID){case c.TABLE:{e.openElements.hasInTableScope(c.TABLE)&&(e.openElements.popUntilTagNamePopped(c.TABLE),e._resetInsertionMode());break}case c.TEMPLATE:{Cr(e,t);break}case c.BODY:case c.CAPTION:case c.COL:case c.COLGROUP:case c.HTML:case c.TBODY:case c.TD:case c.TFOOT:case c.TH:case c.THEAD:case c.TR:break;default:Un(e,t)}}function Un(e,t){const r=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,Q0(e,t),e.fosterParentingEnabled=r}function zc(e,t){e.pendingCharacterTokens.push(t)}function Hc(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function on(e,t){let r=0;if(e.hasNonWhitespacePendingCharacterToken)for(;r<e.pendingCharacterTokens.length;r++)Un(e,e.pendingCharacterTokens[r]);else for(;r<e.pendingCharacterTokens.length;r++)e._insertCharacters(e.pendingCharacterTokens[r]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const Uc=new Set([c.CAPTION,c.COL,c.COLGROUP,c.TBODY,c.TD,c.TFOOT,c.TH,c.THEAD,c.TR]);function up(e,t){const r=t.tagID;Uc.has(r)?e.openElements.hasInTableScope(c.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(c.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=w.IN_TABLE,Vr(e,t)):We(e,t)}function lp(e,t){const r=t.tagID;switch(r){case c.CAPTION:case c.TABLE:{e.openElements.hasInTableScope(c.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(c.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=w.IN_TABLE,r===c.TABLE&&Rn(e,t));break}case c.BODY:case c.COL:case c.COLGROUP:case c.HTML:case c.TBODY:case c.TD:case c.TFOOT:case c.TH:case c.THEAD:case c.TR:break;default:K0(e,t)}}function is(e,t){switch(t.tagID){case c.HTML:{We(e,t);break}case c.COL:{e._appendElement(t,q.HTML),t.ackSelfClosing=!0;break}case c.TEMPLATE:{St(e,t);break}default:C0(e,t)}}function op(e,t){switch(t.tagID){case c.COLGROUP:{e.openElements.currentTagId===c.COLGROUP&&(e.openElements.pop(),e.insertionMode=w.IN_TABLE);break}case c.TEMPLATE:{Cr(e,t);break}case c.COL:break;default:C0(e,t)}}function C0(e,t){e.openElements.currentTagId===c.COLGROUP&&(e.openElements.pop(),e.insertionMode=w.IN_TABLE,e._processToken(t))}function Z0(e,t){switch(t.tagID){case c.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,q.HTML),e.insertionMode=w.IN_ROW;break}case c.TH:case c.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(L.TR,c.TR),e.insertionMode=w.IN_ROW,J0(e,t);break}case c.CAPTION:case c.COL:case c.COLGROUP:case c.TBODY:case c.TFOOT:case c.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=w.IN_TABLE,Vr(e,t));break}default:Vr(e,t)}}function hi(e,t){const r=t.tagID;switch(t.tagID){case c.TBODY:case c.TFOOT:case c.THEAD:{e.openElements.hasInTableScope(r)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=w.IN_TABLE);break}case c.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=w.IN_TABLE,Rn(e,t));break}case c.BODY:case c.CAPTION:case c.COL:case c.COLGROUP:case c.HTML:case c.TD:case c.TH:case c.TR:break;default:Rn(e,t)}}function J0(e,t){switch(t.tagID){case c.TH:case c.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,q.HTML),e.insertionMode=w.IN_CELL,e.activeFormattingElements.insertMarker();break}case c.CAPTION:case c.COL:case c.COLGROUP:case c.TBODY:case c.TFOOT:case c.THEAD:case c.TR:{e.openElements.hasInTableScope(c.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=w.IN_TABLE_BODY,Z0(e,t));break}default:Vr(e,t)}}function qc(e,t){switch(t.tagID){case c.TR:{e.openElements.hasInTableScope(c.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=w.IN_TABLE_BODY);break}case c.TABLE:{e.openElements.hasInTableScope(c.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=w.IN_TABLE_BODY,hi(e,t));break}case c.TBODY:case c.TFOOT:case c.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(c.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=w.IN_TABLE_BODY,hi(e,t));break}case c.BODY:case c.CAPTION:case c.COL:case c.COLGROUP:case c.HTML:case c.TD:case c.TH:break;default:Rn(e,t)}}function cp(e,t){const r=t.tagID;Uc.has(r)?(e.openElements.hasInTableScope(c.TD)||e.openElements.hasInTableScope(c.TH))&&(e._closeTableCell(),J0(e,t)):We(e,t)}function hp(e,t){const r=t.tagID;switch(r){case c.TD:case c.TH:{e.openElements.hasInTableScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=w.IN_ROW);break}case c.TABLE:case c.TBODY:case c.TFOOT:case c.THEAD:case c.TR:{e.openElements.hasInTableScope(r)&&(e._closeTableCell(),qc(e,t));break}case c.BODY:case c.CAPTION:case c.COL:case c.COLGROUP:case c.HTML:break;default:K0(e,t)}}function $c(e,t){switch(t.tagID){case c.HTML:{We(e,t);break}case c.OPTION:{e.openElements.currentTagId===c.OPTION&&e.openElements.pop(),e._insertElement(t,q.HTML);break}case c.OPTGROUP:{e.openElements.currentTagId===c.OPTION&&e.openElements.pop(),e.openElements.currentTagId===c.OPTGROUP&&e.openElements.pop(),e._insertElement(t,q.HTML);break}case c.HR:{e.openElements.currentTagId===c.OPTION&&e.openElements.pop(),e.openElements.currentTagId===c.OPTGROUP&&e.openElements.pop(),e._appendElement(t,q.HTML),t.ackSelfClosing=!0;break}case c.INPUT:case c.KEYGEN:case c.TEXTAREA:case c.SELECT:{e.openElements.hasInSelectScope(c.SELECT)&&(e.openElements.popUntilTagNamePopped(c.SELECT),e._resetInsertionMode(),t.tagID!==c.SELECT&&e._processStartTag(t));break}case c.SCRIPT:case c.TEMPLATE:{St(e,t);break}}}function jc(e,t){switch(t.tagID){case c.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===c.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===c.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===c.OPTGROUP&&e.openElements.pop();break}case c.OPTION:{e.openElements.currentTagId===c.OPTION&&e.openElements.pop();break}case c.SELECT:{e.openElements.hasInSelectScope(c.SELECT)&&(e.openElements.popUntilTagNamePopped(c.SELECT),e._resetInsertionMode());break}case c.TEMPLATE:{Cr(e,t);break}}}function dp(e,t){const r=t.tagID;r===c.CAPTION||r===c.TABLE||r===c.TBODY||r===c.TFOOT||r===c.THEAD||r===c.TR||r===c.TD||r===c.TH?(e.openElements.popUntilTagNamePopped(c.SELECT),e._resetInsertionMode(),e._processStartTag(t)):$c(e,t)}function fp(e,t){const r=t.tagID;r===c.CAPTION||r===c.TABLE||r===c.TBODY||r===c.TFOOT||r===c.THEAD||r===c.TR||r===c.TD||r===c.TH?e.openElements.hasInTableScope(r)&&(e.openElements.popUntilTagNamePopped(c.SELECT),e._resetInsertionMode(),e.onEndTag(t)):jc(e,t)}function mp(e,t){switch(t.tagID){case c.BASE:case c.BASEFONT:case c.BGSOUND:case c.LINK:case c.META:case c.NOFRAMES:case c.SCRIPT:case c.STYLE:case c.TEMPLATE:case c.TITLE:{St(e,t);break}case c.CAPTION:case c.COLGROUP:case c.TBODY:case c.TFOOT:case c.THEAD:{e.tmplInsertionModeStack[0]=w.IN_TABLE,e.insertionMode=w.IN_TABLE,Vr(e,t);break}case c.COL:{e.tmplInsertionModeStack[0]=w.IN_COLUMN_GROUP,e.insertionMode=w.IN_COLUMN_GROUP,is(e,t);break}case c.TR:{e.tmplInsertionModeStack[0]=w.IN_TABLE_BODY,e.insertionMode=w.IN_TABLE_BODY,Z0(e,t);break}case c.TD:case c.TH:{e.tmplInsertionModeStack[0]=w.IN_ROW,e.insertionMode=w.IN_ROW,J0(e,t);break}default:e.tmplInsertionModeStack[0]=w.IN_BODY,e.insertionMode=w.IN_BODY,We(e,t)}}function pp(e,t){t.tagID===c.TEMPLATE&&Cr(e,t)}function Yc(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(c.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):as(e,t)}function gp(e,t){t.tagID===c.HTML?We(e,t):_0(e,t)}function Gc(e,t){var r;if(t.tagID===c.HTML){if(e.fragmentContext||(e.insertionMode=w.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===c.HTML){e._setEndLocation(e.openElements.items[0],t);const n=e.openElements.items[1];n&&!(!((r=e.treeAdapter.getNodeSourceCodeLocation(n))===null||r===void 0)&&r.endTag)&&e._setEndLocation(n,t)}}else _0(e,t)}function _0(e,t){e.insertionMode=w.IN_BODY,Q0(e,t)}function bp(e,t){switch(t.tagID){case c.HTML:{We(e,t);break}case c.FRAMESET:{e._insertElement(t,q.HTML);break}case c.FRAME:{e._appendElement(t,q.HTML),t.ackSelfClosing=!0;break}case c.NOFRAMES:{St(e,t);break}}}function Ep(e,t){t.tagID===c.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==c.FRAMESET&&(e.insertionMode=w.AFTER_FRAMESET))}function Tp(e,t){switch(t.tagID){case c.HTML:{We(e,t);break}case c.NOFRAMES:{St(e,t);break}}}function xp(e,t){t.tagID===c.HTML&&(e.insertionMode=w.AFTER_AFTER_FRAMESET)}function yp(e,t){t.tagID===c.HTML?We(e,t):g0(e,t)}function g0(e,t){e.insertionMode=w.IN_BODY,Q0(e,t)}function vp(e,t){switch(t.tagID){case c.HTML:{We(e,t);break}case c.NOFRAMES:{St(e,t);break}}}function kp(e,t){t.chars=Ce,e._insertCharacters(t)}function Ap(e,t){e._insertCharacters(t),e.framesetOk=!1}function Vc(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==q.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function wp(e,t){if(H2(t))Vc(e),e._startTagOutsideForeignContent(t);else{const r=e._getAdjustedCurrentElement(),n=e.treeAdapter.getNamespaceURI(r);n===q.MATHML?Ic(t):n===q.SVG&&(U2(t),Dc(t)),rs(t),t.selfClosing?e._appendElement(t,n):e._insertElement(t,n),t.ackSelfClosing=!0}}function Sp(e,t){if(t.tagID===c.P||t.tagID===c.BR){Vc(e),e._endTagOutsideForeignContent(t);return}for(let r=e.openElements.stackTop;r>0;r--){const n=e.openElements.items[r];if(e.treeAdapter.getNamespaceURI(n)===q.HTML){e._endTagOutsideForeignContent(t);break}const a=e.treeAdapter.getTagName(n);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(r);break}}}L.AREA,L.BASE,L.BASEFONT,L.BGSOUND,L.BR,L.COL,L.EMBED,L.FRAME,L.HR,L.IMG,L.INPUT,L.KEYGEN,L.LINK,L.META,L.PARAM,L.SOURCE,L.TRACK,L.WBR;const ea=Wc("end"),Bt=Wc("start");function Wc(e){return t;function t(r){const n=r&&r.position&&r.position[e]||{};if(typeof n.line=="number"&&n.line>0&&typeof n.column=="number"&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset=="number"&&n.offset>-1?n.offset:void 0}}}function Xc(e){const t=Bt(e),r=ea(e);if(t&&r)return{start:t,end:r}}const Cp=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,_p=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),qu={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function Qc(e,t){const r=Fp(e),n=Ql("type",{handlers:{root:Np,element:Ip,text:Dp,comment:Zc,doctype:Rp,raw:Op},unknown:Mp}),a={parser:r?new zu(qu):zu.getFragmentParser(void 0,qu),handle(u){n(u,a)},stitches:!1,options:t||{}};n(e,a),en(a,Bt());const i=r?a.parser.document:a.parser.getFragment(),s=Hm(i,{file:a.options.file});return a.stitches&&qr(s,"comment",function(u,l,o){const h=u;if(h.value.stitch&&o&&l!==void 0){const d=o.children;return d[l]=h.value.stitch,l}}),s.type==="root"&&s.children.length===1&&s.children[0].type===e.type?s.children[0]:s}function Kc(e,t){let r=-1;if(e)for(;++r<e.length;)t.handle(e[r])}function Np(e,t){Kc(e.children,t)}function Ip(e,t){Pp(e,t),Kc(e.children,t),Bp(e,t)}function Dp(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const r={type:fe.CHARACTER,chars:e.value,location:qn(e)};en(t,Bt(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function Rp(e,t){const r={type:fe.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:qn(e)};en(t,Bt(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function Lp(e,t){t.stitches=!0;const r=zp(e);if("children"in e&&"children"in r){const n=Qc({type:"root",children:e.children},t.options);r.children=n.children}Zc({type:"comment",value:{stitch:r}},t)}function Zc(e,t){const r=e.value,n={type:fe.COMMENT,data:r,location:qn(e)};en(t,Bt(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function Op(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,Jc(t,Bt(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(Cp,"<$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const r=t.parser.tokenizer._consume();t.parser.tokenizer._callState(r)}}function Mp(e,t){const r=e;if(t.options.passThrough&&t.options.passThrough.includes(r.type))Lp(r,t);else{let n="";throw _p.has(r.type)&&(n=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+r.type+"` node"+n)}}function en(e,t){Jc(e,t);const r=e.parser.tokenizer.currentCharacterToken;r&&r.location&&(r.location.endLine=e.parser.tokenizer.preprocessor.line,r.location.endCol=e.parser.tokenizer.preprocessor.col+1,r.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=r,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=Oe.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function Jc(e,t){if(t&&t.offset!==void 0){const r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=r}}function Pp(e,t){const r=e.tagName.toLowerCase();if(t.parser.tokenizer.state===Oe.PLAINTEXT)return;en(t,Bt(e));const n=t.parser.openElements.current;let a="namespaceURI"in n?n.namespaceURI:Rt.html;a===Rt.html&&r==="svg"&&(a=Rt.svg);const i=Ym({...e,children:[]},{space:a===Rt.svg?"svg":"html"}),s={type:fe.START_TAG,tagName:r,tagID:Jr(r),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in i?i.attrs:[],location:qn(e)};t.parser.currentToken=s,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=r}function Bp(e,t){const r=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&td.includes(r)||t.parser.tokenizer.state===Oe.PLAINTEXT)return;en(t,ea(e));const n={type:fe.END_TAG,tagName:r,tagID:Jr(r),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:qn(e)};t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken),r===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===Oe.RCDATA||t.parser.tokenizer.state===Oe.RAWTEXT||t.parser.tokenizer.state===Oe.SCRIPT_DATA)&&(t.parser.tokenizer.state=Oe.DATA)}function Fp(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function qn(e){const t=Bt(e)||{line:void 0,column:void 0,offset:void 0},r=ea(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:r.line,endCol:r.column,endOffset:r.offset}}function zp(e){return"children"in e?vr({...e,children:[]}):vr(e)}function Hp(e){return function(t,r){return Qc(t,{...e,file:r})}}const Er=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],$u={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...Er,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...Er],h2:[["className","sr-only"]],img:[...Er,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...Er,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...Er],table:[...Er],ul:[...Er,["className","contains-task-list"]],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","colSpan","color","cols","compact","coords","dateTime","dir","encType","frame","hSpace","headers","height","hrefLang","htmlFor","id","isMap","itemProp","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rev","rowSpan","rows","rules","scope","selected","shape","size","span","start","summary","tabIndex","title","useMap","vAlign","value","width"]},clobber:["ariaDescribedBy","ariaLabelledBy","id","name"],clobberPrefix:"user-content-",protocols:{cite:["http","https"],href:["http","https","irc","ircs","mailto","xmpp"],longDesc:["http","https"],src:["http","https"]},required:{input:{disabled:!0,type:"checkbox"}},strip:["script"],tagNames:["a","b","blockquote","br","code","dd","del","details","div","dl","dt","em","h1","h2","h3","h4","h5","h6","hr","i","img","input","ins","kbd","li","ol","p","picture","pre","q","rp","rt","ruby","s","samp","section","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","tr","tt","ul","var"]},nr={}.hasOwnProperty;function Up(e,t){let r={type:"root",children:[]};const n={schema:t?{...$u,...t}:$u,stack:[]},a=e1(n,e);return a&&(Array.isArray(a)?a.length===1?r=a[0]:r.children=a:r=a),r}function e1(e,t){if(t&&typeof t=="object"){const r=t;switch(typeof r.type=="string"?r.type:""){case"comment":return qp(e,r);case"doctype":return $p(e,r);case"element":return jp(e,r);case"root":return Yp(e,r);case"text":return Gp(e,r)}}}function qp(e,t){if(e.schema.allowComments){const r=typeof t.value=="string"?t.value:"",n=r.indexOf("-->"),i={type:"comment",value:n<0?r:r.slice(0,n)};return $n(i,t),i}}function $p(e,t){if(e.schema.allowDoctypes){const r={type:"doctype"};return $n(r,t),r}}function jp(e,t){const r=typeof t.tagName=="string"?t.tagName:"";e.stack.push(r);const n=t1(e,t.children),a=Vp(e,t.properties);e.stack.pop();let i=!1;if(r&&r!=="*"&&(!e.schema.tagNames||e.schema.tagNames.includes(r))&&(i=!0,e.schema.ancestors&&nr.call(e.schema.ancestors,r))){const u=e.schema.ancestors[r];let l=-1;for(i=!1;++l<u.length;)e.stack.includes(u[l])&&(i=!0)}if(!i)return e.schema.strip&&!e.schema.strip.includes(r)?n:void 0;const s={type:"element",tagName:r,properties:a,children:n};return $n(s,t),s}function Yp(e,t){const n={type:"root",children:t1(e,t.children)};return $n(n,t),n}function Gp(e,t){const n={type:"text",value:typeof t.value=="string"?t.value:""};return $n(n,t),n}function t1(e,t){const r=[];if(Array.isArray(t)){const n=t;let a=-1;for(;++a<n.length;){const i=e1(e,n[a]);i&&(Array.isArray(i)?r.push(...i):r.push(i))}}return r}function Vp(e,t){const r=e.stack[e.stack.length-1],n=e.schema.attributes,a=e.schema.required,i=n&&nr.call(n,r)?n[r]:void 0,s=n&&nr.call(n,"*")?n["*"]:void 0,u=t&&typeof t=="object"?t:{},l={};let o;for(o in u)if(nr.call(u,o)){const h=u[o];let d=ju(e,Yu(i,o),o,h);d==null&&(d=ju(e,Yu(s,o),o,h)),d!=null&&(l[o]=d)}if(a&&nr.call(a,r)){const h=a[r];for(o in h)nr.call(h,o)&&!nr.call(l,o)&&(l[o]=h[o])}return l}function ju(e,t,r,n){return t?Array.isArray(n)?Wp(e,t,r,n):r1(e,t,r,n):void 0}function Wp(e,t,r,n){let a=-1;const i=[];for(;++a<n.length;){const s=r1(e,t,r,n[a]);(typeof s=="number"||typeof s=="string")&&i.push(s)}return i}function r1(e,t,r,n){if(!(typeof n!="boolean"&&typeof n!="number"&&typeof n!="string")&&Xp(e,r,n)){if(typeof t=="object"&&t.length>1){let a=!1,i=0;for(;++i<t.length;){const s=t[i];if(s&&typeof s=="object"&&"flags"in s){if(s.test(String(n))){a=!0;break}}else if(s===n){a=!0;break}}if(!a)return}return e.schema.clobber&&e.schema.clobberPrefix&&e.schema.clobber.includes(r)?e.schema.clobberPrefix+n:n}}function Xp(e,t,r){const n=e.schema.protocols&&nr.call(e.schema.protocols,t)?e.schema.protocols[t]:void 0;if(!n||n.length===0)return!0;const a=String(r),i=a.indexOf(":"),s=a.indexOf("?"),u=a.indexOf("#"),l=a.indexOf("/");if(i<0||l>-1&&i>l||s>-1&&i>s||u>-1&&i>u)return!0;let o=-1;for(;++o<n.length;){const h=n[o];if(i===h.length&&a.slice(0,h.length)===h)return!0}return!1}function $n(e,t){const r=Xc(t);t.data&&(e.data=vr(t.data)),r&&(e.position=r)}function Yu(e,t){let r,n=-1;if(e)for(;++n<e.length;){const a=e[n],i=typeof a=="string"?a:a[0];if(i===t)return a;i==="data*"&&(r=a)}if(t.length>4&&t.slice(0,4).toLowerCase()==="data")return r}function Qp(e){return function(t){return Up(t,e)}}const Yt={eof:null,asterisk:42,underscore:95,tilde:126},Wr={attentionSideAfter:2,characterGroupPunctuation:2,characterGroupWhitespace:1},_t={data:"data",characterEscape:"characterEscape",emphasis:"emphasis",emphasisSequence:"emphasisSequence",emphasisText:"emphasisText",strong:"strong",strongSequence:"strongSequence",strongText:"strongText"},Je=fr(/[A-Za-z]/),Ge=fr(/[\dA-Za-z]/),Kp=fr(/[#-'*+\--9=?A-Z^-~]/);function N0(e){return e!==null&&(e<32||e===127)}const di=fr(/\d/),Zp=fr(/[\dA-Fa-f]/),Jp=fr(/[!-/:-@[-`{-~]/);function ne(e){return e!==null&&e<-2}function ye(e){return e!==null&&(e<0||e===32)}function pe(e){return e===-2||e===-1||e===32}const ta=fr(/\p{P}|\p{S}/u),kr=fr(/\s/);function fr(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}const ss=[161,161,164,164,167,168,170,170,173,174,176,180,182,186,188,191,198,198,208,208,215,216,222,225,230,230,232,234,236,237,240,240,242,243,247,250,252,252,254,254,257,257,273,273,275,275,283,283,294,295,299,299,305,307,312,312,319,322,324,324,328,331,333,333,338,339,358,359,363,363,462,462,464,464,466,466,468,468,470,470,472,472,474,474,476,476,593,593,609,609,708,708,711,711,713,715,717,717,720,720,728,731,733,733,735,735,768,879,913,929,931,937,945,961,963,969,1025,1025,1040,1103,1105,1105,8208,8208,8211,8214,8216,8217,8220,8221,8224,8226,8228,8231,8240,8240,8242,8243,8245,8245,8251,8251,8254,8254,8308,8308,8319,8319,8321,8324,8364,8364,8451,8451,8453,8453,8457,8457,8467,8467,8470,8470,8481,8482,8486,8486,8491,8491,8531,8532,8539,8542,8544,8555,8560,8569,8585,8585,8592,8601,8632,8633,8658,8658,8660,8660,8679,8679,8704,8704,8706,8707,8711,8712,8715,8715,8719,8719,8721,8721,8725,8725,8730,8730,8733,8736,8739,8739,8741,8741,8743,8748,8750,8750,8756,8759,8764,8765,8776,8776,8780,8780,8786,8786,8800,8801,8804,8807,8810,8811,8814,8815,8834,8835,8838,8839,8853,8853,8857,8857,8869,8869,8895,8895,8978,8978,9312,9449,9451,9547,9552,9587,9600,9615,9618,9621,9632,9633,9635,9641,9650,9651,9654,9655,9660,9661,9664,9665,9670,9672,9675,9675,9678,9681,9698,9701,9711,9711,9733,9734,9737,9737,9742,9743,9756,9756,9758,9758,9792,9792,9794,9794,9824,9825,9827,9829,9831,9834,9836,9837,9839,9839,9886,9887,9919,9919,9926,9933,9935,9939,9941,9953,9955,9955,9960,9961,9963,9969,9972,9972,9974,9977,9979,9980,9982,9983,10045,10045,10102,10111,11094,11097,12872,12879,57344,63743,65024,65039,65533,65533,127232,127242,127248,127277,127280,127337,127344,127373,127375,127376,127387,127404,917760,917999,983040,1048573,1048576,1114109],us=[12288,12288,65281,65376,65504,65510],ls=[8361,8361,65377,65470,65474,65479,65482,65487,65490,65495,65498,65500,65512,65518],os=[32,126,162,163,165,166,172,172,175,175,10214,10221,10629,10630],ra=[4352,4447,8986,8987,9001,9002,9193,9196,9200,9200,9203,9203,9725,9726,9748,9749,9776,9783,9800,9811,9855,9855,9866,9871,9875,9875,9889,9889,9898,9899,9917,9918,9924,9925,9934,9934,9940,9940,9962,9962,9970,9971,9973,9973,9978,9978,9981,9981,9989,9989,9994,9995,10024,10024,10060,10060,10062,10062,10067,10069,10071,10071,10133,10135,10160,10160,10175,10175,11035,11036,11088,11088,11093,11093,11904,11929,11931,12019,12032,12245,12272,12287,12289,12350,12353,12438,12441,12543,12549,12591,12593,12686,12688,12773,12783,12830,12832,12871,12880,42124,42128,42182,43360,43388,44032,55203,63744,64255,65040,65049,65072,65106,65108,65126,65128,65131,94176,94180,94192,94198,94208,101589,101631,101662,101760,101874,110576,110579,110581,110587,110589,110590,110592,110882,110898,110898,110928,110930,110933,110933,110948,110951,110960,111355,119552,119638,119648,119670,126980,126980,127183,127183,127374,127374,127377,127386,127488,127490,127504,127547,127552,127560,127568,127569,127584,127589,127744,127776,127789,127797,127799,127868,127870,127891,127904,127946,127951,127955,127968,127984,127988,127988,127992,128062,128064,128064,128066,128252,128255,128317,128331,128334,128336,128359,128378,128378,128405,128406,128420,128420,128507,128591,128640,128709,128716,128716,128720,128722,128725,128728,128732,128735,128747,128748,128756,128764,128992,129003,129008,129008,129292,129338,129340,129349,129351,129535,129648,129660,129664,129674,129678,129734,129736,129736,129741,129756,129759,129770,129775,129784,131072,196605,196608,262141],jn=(e,t)=>{let r=0,n=Math.floor(e.length/2)-1;for(;r<=n;){const a=Math.floor((r+n)/2),i=a*2;if(t<e[i])n=a-1;else if(t>e[i+1])r=a+1;else return!0}return!1},e3=ss[0],t3=ss.at(-1),r3=us[0],n3=us.at(-1),a3=ls[0],i3=ls.at(-1),s3=os[0],u3=os.at(-1),l3=ra[0],o3=ra.at(-1),Gu=19968,[c3,h3]=d3(ra);function d3(e){let t=e[0],r=e[1];for(let n=0;n<e.length;n+=2){const a=e[n],i=e[n+1];if(Gu>=a&&Gu<=i)return[a,i];i-a>r-t&&(t=a,r=i)}return[t,r]}const f3=e=>e<e3||e>t3?!1:jn(ss,e),m3=e=>e<r3||e>n3?!1:jn(us,e),p3=e=>e<a3||e>i3?!1:jn(ls,e),g3=e=>e<s3||e>u3?!1:jn(os,e),b3=e=>e>=c3&&e<=h3?!0:e<l3||e>o3?!1:jn(ra,e);function E3(e){return f3(e)?"ambiguous":m3(e)?"fullwidth":p3(e)?"halfwidth":g3(e)?"narrow":b3(e)?"wide":"neutral"}function T3(e){if(!Number.isSafeInteger(e))throw new TypeError(`Expected a code point, got \`${typeof e}\`.`)}function x3(e){return T3(e),E3(e)}var y3=Object.defineProperty,v3=(e,t,r)=>t in e?y3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,k3=(e,t,r)=>v3(e,t+"",r);function A3(e){return/^\p{Emoji_Presentation}/u.test(String.fromCodePoint(e))}function w3(e){if(!e||e<4352)return!1;switch(x3(e)){case"fullwidth":case"halfwidth":return!0;case"wide":return!A3(e);case"narrow":return!1;case"ambiguous":return 917760<=e&&e<=917999?null:!1;case"neutral":return/^\p{sc=Hangul}/u.test(String.fromCodePoint(e))}}function S3(e,t){return t!==65025||!e||e<8216?!1:e===8216||e===8217||e===8220||e===8221}function C3(e){return e!==null&&e>=65024&&e<=65038}var _3=n1(/\p{P}|\p{S}/u),N3=n1(/\s/);function n1(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCodePoint(r))}}var dt;(e=>{e.spaceOrPunctuation=3,e.cjk=4096,e.cjkPunctuation=4098,e.ivs=8192,e.cjkOrIvs=12288,e.nonEmojiGeneralUseVS=16384,e.variationSelector=24576,e.ivsToCjkRightShift=1})(dt||(dt={}));function Hr(e){if(e===Yt.eof||ye(e)||N3(e))return Wr.characterGroupWhitespace;let t=0;if(e>=4352){if(C3(e))return dt.nonEmojiGeneralUseVS;switch(w3(e)){case null:return dt.ivs;case!0:t|=dt.cjk;break}}return _3(e)&&(t|=Wr.characterGroupPunctuation),t}function a1(e,t,r){if(!L3(e))return e;const n=t(),a=Hr(n);return!n||Ln(a)?e:S3(n,r)?dt.cjkPunctuation:I3(a)}function I3(e){return e&~dt.ivs}function Ln(e){return!!(e&Wr.characterGroupWhitespace)}function I0(e){return(e&dt.cjkPunctuation)===Wr.characterGroupPunctuation}function fi(e){return!!(e&dt.cjk)}function D3(e){return e===dt.ivs}function R3(e){return!!(e&dt.cjkOrIvs)}function L3(e){return e===dt.nonEmojiGeneralUseVS}function Vu(e){return!!(e&dt.spaceOrPunctuation)}function i1(e){return!!(e&&e>=55296&&e<=56319)}function s1(e){return!!(e&&e>=56320&&e<=57343)}function u1(e,t,r){if(t._bufferIndex<2)return e;const a=r({start:{...t,_bufferIndex:t._bufferIndex-2},end:t}).codePointAt(0);return a&&a>=65536?a:e}function O3(e,t,r){const n=e>=65536?2:1;if(t._bufferIndex<1+n)return null;const a=t._bufferIndex-n-2,i=r({start:{...t,_bufferIndex:a>=0?a:0},end:{...t,_bufferIndex:t._bufferIndex-n}}),s=i.charCodeAt(i.length-1);if(Number.isNaN(s))return null;if(i.length<2||s<56320||57343<s)return s;const u=i.codePointAt(0);return u&&u>=65536?u:s}var l1=class{constructor(e,t,r){this.previousCode=e,this.nowPoint=t,this.sliceSerialize=r,k3(this,"cachedValue")}value(){return this.cachedValue===void 0&&(this.cachedValue=O3(this.previousCode,this.nowPoint,this.sliceSerialize)),this.cachedValue}};function o1(e,t,r){const n=r({start:t,end:{...t,_bufferIndex:t._bufferIndex+2}}).codePointAt(0);return n&&n>=65536?n:e}function Ye(e,t,r,n){const a=e.length;let i=0,s;if(t<0?t=-t>a?0:a+t:t=t>a?a:t,r=r>0?r:0,n.length<1e4)s=Array.from(n),s.unshift(t,r),e.splice(...s);else for(r&&e.splice(t,r);i<n.length;)s=n.slice(i,i+1e4),s.unshift(t,0),e.splice(...s),i+=1e4,t+=1e4}function je(e,t){return e.length>0?(Ye(e,e.length,0,t),e):t}function tn(e,t,r){const n=[];let a=-1;for(;++a<e.length;){const i=e[a].resolveAll;i&&!n.includes(i)&&(t=i(t,r),n.push(i))}return t}var Na={name:"attention",resolveAll:M3,tokenize:P3};function M3(e,t){let r=-1,n,a,i,s,u,l,o,h;for(;++r<e.length;)if(e[r][0]==="enter"&&e[r][1].type==="attentionSequence"&&e[r][1]._close){for(n=r;n--;)if(e[n][0]==="exit"&&e[n][1].type==="attentionSequence"&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[n][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;l=e[n][1].end.offset-e[n][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1;const d={...e[n][1].end},p={...e[r][1].start};Wu(d,-l),Wu(p,l),s={type:l>1?_t.strongSequence:_t.emphasisSequence,start:d,end:{...e[n][1].end}},u={type:l>1?_t.strongSequence:_t.emphasisSequence,start:{...e[r][1].start},end:p},i={type:l>1?_t.strongText:_t.emphasisText,start:{...e[n][1].end},end:{...e[r][1].start}},a={type:l>1?_t.strong:_t.emphasis,start:{...s.start},end:{...u.end}},e[n][1].end={...s.start},e[r][1].start={...u.end},o=[],e[n][1].end.offset-e[n][1].start.offset&&(o=je(o,[["enter",e[n][1],t],["exit",e[n][1],t]])),o=je(o,[["enter",a,t],["enter",s,t],["exit",s,t],["enter",i,t]]),t.parser.constructs.insideSpan.null,o=je(o,tn(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),o=je(o,[["exit",i,t],["enter",u,t],["exit",u,t],["exit",a,t]]),e[r][1].end.offset-e[r][1].start.offset?(h=2,o=je(o,[["enter",e[r][1],t],["exit",e[r][1],t]])):h=0,Ye(e,n-1,r-n+3,o),r=n+o.length-h-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}function P3(e,t){const r=this.parser.constructs.attentionMarkers.null,{now:n,sliceSerialize:a,previous:i}=this,s=s1(i)?u1(i,n(),a):i,u=Hr(s),l=new l1(s,n(),a),o=a1(u,l.value.bind(l),s);let h;return d;function d(g){return h=g,e.enter("attentionSequence"),p(g)}function p(g){if(g===h)return e.consume(g),p;const E=e.exit("attentionSequence"),y=i1(g)?o1(g,n(),a):g,N=Hr(y),S=I0(o),D=S||Ln(o),O=I0(N),H=O||Ln(N),G=R3(o),R=!H||O&&(D||G)||r.includes(g),X=!D||S&&(H||fi(N))||r.includes(s);return E._open=!!(h===Yt.asterisk?R:R&&(Vu(o)||!X)),E._close=!!(h===Yt.asterisk?X:X&&(Vu(N)||!R)),t(g)}}function Wu(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}function B3(){return{text:{[Yt.asterisk]:Na,[Yt.underscore]:Na},insideSpan:{null:[Na]}}}function F3(){const e=this.data();(e.micromarkExtensions||(e.micromarkExtensions=[])).push(B3())}function z3(e){let r=(e||{}).singleTilde;const n={name:"strikethrough",tokenize:i,resolveAll:a};return r==null&&(r=!0),{text:{[Yt.tilde]:n},insideSpan:{null:[n]},attentionMarkers:{null:[Yt.tilde]}};function a(s,u){let l=-1;for(;++l<s.length;)if(s[l][0]==="enter"&&s[l][1].type==="strikethroughSequenceTemporary"&&s[l][1]._close){let o=l;for(;o--;)if(s[o][0]==="exit"&&s[o][1].type==="strikethroughSequenceTemporary"&&s[o][1]._open&&s[l][1].end.offset-s[l][1].start.offset===s[o][1].end.offset-s[o][1].start.offset){s[l][1].type="strikethroughSequence",s[o][1].type="strikethroughSequence";const h={type:"strikethrough",start:Object.assign({},s[o][1].start),end:Object.assign({},s[l][1].end)},d={type:"strikethroughText",start:Object.assign({},s[o][1].end),end:Object.assign({},s[l][1].start)},p=[["enter",h,u],["enter",s[o][1],u],["exit",s[o][1],u],["enter",d,u]],g=u.parser.constructs.insideSpan.null;g&&Ye(p,p.length,0,tn(g,s.slice(o+1,l),u)),Ye(p,p.length,0,[["exit",d,u],["enter",s[l][1],u],["exit",s[l][1],u],["exit",h,u]]),Ye(s,o-1,l-o+3,p),l=o+p.length-2;break}}for(l=-1;++l<s.length;)s[l][1].type==="strikethroughSequenceTemporary"&&(s[l][1].type=_t.data);return s}function i(s,u,l){const{now:o,sliceSerialize:h,previous:d}=this,p=s1(d)?u1(d,o(),h):d,g=Hr(p),E=new l1(p,o(),h),y=a1(g,E.value.bind(E),p),N=this.events;let S=0;return D;function D(H){return p===Yt.tilde&&N[N.length-1][1].type!==_t.characterEscape?l(H):(s.enter("strikethroughSequenceTemporary"),O(H))}function O(H){const G=Hr(p);if(H===Yt.tilde)return S>1?l(H):(s.consume(H),S++,O);if(S<2&&!r)return l(H);const R=s.exit("strikethroughSequenceTemporary"),X=i1(H)?o1(H,o(),h):H,re=Hr(X),M=I0(y)||Ln(y),F=I0(re)||Ln(re),ae=fi(y)||D3(G);return R._open=!F||re===Wr.attentionSideAfter&&(M||ae),R._close=!M||G===Wr.attentionSideAfter&&(F||fi(re)),u(H)}}}function H3(e){const t=this.data();(t.micromarkExtensions||(t.micromarkExtensions=[])).push(z3(e))}function U3(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function q3(e,t,r){const a=Bn((r||{}).ignore||[]),i=$3(t);let s=-1;for(;++s<i.length;)_i(e,"text",u);function u(o,h){let d=-1,p;for(;++d<h.length;){const g=h[d],E=p?p.children:void 0;if(a(g,E?E.indexOf(g):void 0,p))return;p=g}if(p)return l(o,h)}function l(o,h){const d=h[h.length-1],p=i[s][0],g=i[s][1];let E=0;const N=d.children.indexOf(o);let S=!1,D=[];p.lastIndex=0;let O=p.exec(o.value);for(;O;){const H=O.index,G={index:O.index,input:O.input,stack:[...h,o]};let R=g(...O,G);if(typeof R=="string"&&(R=R.length>0?{type:"text",value:R}:void 0),R===!1?p.lastIndex=H+1:(E!==H&&D.push({type:"text",value:o.value.slice(E,H)}),Array.isArray(R)?D.push(...R):R&&D.push(R),E=H+O[0].length,S=!0),!p.global)break;O=p.exec(o.value)}return S?(E<o.value.length&&D.push({type:"text",value:o.value.slice(E)}),d.children.splice(N,1,...D)):D=[o],N+D.length}}function $3(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const r=!e[0]||Array.isArray(e[0])?e:[e];let n=-1;for(;++n<r.length;){const a=r[n];t.push([j3(a[0]),Y3(a[1])])}return t}function j3(e){return typeof e=="string"?new RegExp(U3(e),"g"):e}function Y3(e){return typeof e=="function"?e:function(){return e}}const Ia="phrasing",Da=["autolink","link","image","label"];function G3(){return{transforms:[J3],enter:{literalAutolink:W3,literalAutolinkEmail:Ra,literalAutolinkHttp:Ra,literalAutolinkWww:Ra},exit:{literalAutolink:Z3,literalAutolinkEmail:K3,literalAutolinkHttp:X3,literalAutolinkWww:Q3}}}function V3(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Ia,notInConstruct:Da},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Ia,notInConstruct:Da},{character:":",before:"[ps]",after:"\\/",inConstruct:Ia,notInConstruct:Da}]}}function W3(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Ra(e){this.config.enter.autolinkProtocol.call(this,e)}function X3(e){this.config.exit.autolinkProtocol.call(this,e)}function Q3(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 K3(e){this.config.exit.autolinkEmail.call(this,e)}function Z3(e){this.exit(e)}function J3(e){q3(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,e6],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,t6]],{ignore:["link","linkReference"]})}function e6(e,t,r,n,a){let i="";if(!c1(a)||(/^w/i.test(t)&&(r=t+r,t="",i="http://"),!r6(r)))return!1;const s=n6(r+n);if(!s[0])return!1;const u={type:"link",title:null,url:i+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[u,{type:"text",value:s[1]}]:u}function t6(e,t,r,n){return!c1(n,!0)||/[-\d_]$/.test(r)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+r,children:[{type:"text",value:t+"@"+r}]}}function r6(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 n6(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let r=t[0],n=r.indexOf(")");const a=Os(e,"(");let i=Os(e,")");for(;n!==-1&&a>i;)e+=r.slice(0,n+1),r=r.slice(n+1),n=r.indexOf(")"),i++;return[e,r]}function c1(e,t){const r=e.input.charCodeAt(e.index-1);return(e.index===0||kr(r)||ta(r))&&(!t||r!==47)}function At(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}h1.peek=d6;function a6(){this.buffer()}function i6(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function s6(){this.buffer()}function u6(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function l6(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=At(this.sliceSerialize(e)).toLowerCase(),r.label=t}function o6(e){this.exit(e)}function c6(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=At(this.sliceSerialize(e)).toLowerCase(),r.label=t}function h6(e){this.exit(e)}function d6(){return"["}function h1(e,t,r,n){const a=r.createTracker(n);let i=a.move("[^");const s=r.enter("footnoteReference"),u=r.enter("reference");return i+=a.move(r.safe(r.associationId(e),{after:"]",before:i})),u(),s(),i+=a.move("]"),i}function f6(){return{enter:{gfmFootnoteCallString:a6,gfmFootnoteCall:i6,gfmFootnoteDefinitionLabelString:s6,gfmFootnoteDefinition:u6},exit:{gfmFootnoteCallString:l6,gfmFootnoteCall:o6,gfmFootnoteDefinitionLabelString:c6,gfmFootnoteDefinition:h6}}}function m6(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:r,footnoteReference:h1},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function r(n,a,i,s){const u=i.createTracker(s);let l=u.move("[^");const o=i.enter("footnoteDefinition"),h=i.enter("label");return l+=u.move(i.safe(i.associationId(n),{before:l,after:"]"})),h(),l+=u.move("]:"),n.children&&n.children.length>0&&(u.shift(4),l+=u.move((t?`
|
|
276
|
+
`:" ")+i.indentLines(i.containerFlow(n,u.current()),t?d1:p6))),o(),l}}function p6(e,t,r){return t===0?e:d1(e,t,r)}function d1(e,t,r){return(r?"":" ")+e}const g6=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];f1.peek=y6;function b6(){return{canContainEols:["delete"],enter:{strikethrough:T6},exit:{strikethrough:x6}}}function E6(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:g6}],handlers:{delete:f1}}}function T6(e){this.enter({type:"delete",children:[]},e)}function x6(e){this.exit(e)}function f1(e,t,r,n){const a=r.createTracker(n),i=r.enter("strikethrough");let s=a.move("~~");return s+=r.containerPhrasing(e,{...a.current(),before:s,after:"~"}),s+=a.move("~~"),i(),s}function y6(){return"~"}function v6(e){return e.length}function k6(e,t){const r=t||{},n=(r.align||[]).concat(),a=r.stringLength||v6,i=[],s=[],u=[],l=[];let o=0,h=-1;for(;++h<e.length;){const y=[],N=[];let S=-1;for(e[h].length>o&&(o=e[h].length);++S<e[h].length;){const D=A6(e[h][S]);if(r.alignDelimiters!==!1){const O=a(D);N[S]=O,(l[S]===void 0||O>l[S])&&(l[S]=O)}y.push(D)}s[h]=y,u[h]=N}let d=-1;if(typeof n=="object"&&"length"in n)for(;++d<o;)i[d]=Xu(n[d]);else{const y=Xu(n);for(;++d<o;)i[d]=y}d=-1;const p=[],g=[];for(;++d<o;){const y=i[d];let N="",S="";y===99?(N=":",S=":"):y===108?N=":":y===114&&(S=":");let D=r.alignDelimiters===!1?1:Math.max(1,l[d]-N.length-S.length);const O=N+"-".repeat(D)+S;r.alignDelimiters!==!1&&(D=N.length+D+S.length,D>l[d]&&(l[d]=D),g[d]=D),p[d]=O}s.splice(1,0,p),u.splice(1,0,g),h=-1;const E=[];for(;++h<s.length;){const y=s[h],N=u[h];d=-1;const S=[];for(;++d<o;){const D=y[d]||"";let O="",H="";if(r.alignDelimiters!==!1){const G=l[d]-(N[d]||0),R=i[d];R===114?O=" ".repeat(G):R===99?G%2?(O=" ".repeat(G/2+.5),H=" ".repeat(G/2-.5)):(O=" ".repeat(G/2),H=O):H=" ".repeat(G)}r.delimiterStart!==!1&&!d&&S.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&D==="")&&(r.delimiterStart!==!1||d)&&S.push(" "),r.alignDelimiters!==!1&&S.push(O),S.push(D),r.alignDelimiters!==!1&&S.push(H),r.padding!==!1&&S.push(" "),(r.delimiterEnd!==!1||d!==o-1)&&S.push("|")}E.push(r.delimiterEnd===!1?S.join("").replace(/ +$/,""):S.join(""))}return E.join(`
|
|
277
|
+
`)}function A6(e){return e==null?"":String(e)}function Xu(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 w6(e,t,r,n){const a=r.enter("blockquote"),i=r.createTracker(n);i.move("> "),i.shift(2);const s=r.indentLines(r.containerFlow(e,i.current()),S6);return a(),s}function S6(e,t,r){return">"+(r?"":" ")+e}function C6(e,t){return Qu(e,t.inConstruct,!0)&&!Qu(e,t.notInConstruct,!1)}function Qu(e,t,r){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return r;let n=-1;for(;++n<t.length;)if(e.includes(t[n]))return!0;return!1}function Ku(e,t,r,n){let a=-1;for(;++a<r.unsafe.length;)if(r.unsafe[a].character===`
|
|
278
|
+
`&&C6(r.stack,r.unsafe[a]))return/[ \t]/.test(n.before)?"":" ";return`\\
|
|
279
|
+
`}function m1(e,t){const r=String(e);let n=r.indexOf(t),a=n,i=0,s=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;n!==-1;)n===a?++i>s&&(s=i):i=1,a=n+t.length,n=r.indexOf(t,a);return s}function _6(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 N6(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 I6(e,t,r,n){const a=N6(r),i=e.value||"",s=a==="`"?"GraveAccent":"Tilde";if(_6(e,r)){const d=r.enter("codeIndented"),p=r.indentLines(i,D6);return d(),p}const u=r.createTracker(n),l=a.repeat(Math.max(m1(i,a)+1,3)),o=r.enter("codeFenced");let h=u.move(l);if(e.lang){const d=r.enter(`codeFencedLang${s}`);h+=u.move(r.safe(e.lang,{before:h,after:" ",encode:["`"],...u.current()})),d()}if(e.lang&&e.meta){const d=r.enter(`codeFencedMeta${s}`);h+=u.move(" "),h+=u.move(r.safe(e.meta,{before:h,after:`
|
|
280
|
+
`,encode:["`"],...u.current()})),d()}return h+=u.move(`
|
|
281
|
+
`),i&&(h+=u.move(i+`
|
|
282
|
+
`)),h+=u.move(l),o(),h}function D6(e,t,r){return(r?"":" ")+e}function cs(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 R6(e,t,r,n){const a=cs(r),i=a==='"'?"Quote":"Apostrophe",s=r.enter("definition");let u=r.enter("label");const l=r.createTracker(n);let o=l.move("[");return o+=l.move(r.safe(r.associationId(e),{before:o,after:"]",...l.current()})),o+=l.move("]: "),u(),!e.url||/[\0- \u007F]/.test(e.url)?(u=r.enter("destinationLiteral"),o+=l.move("<"),o+=l.move(r.safe(e.url,{before:o,after:">",...l.current()})),o+=l.move(">")):(u=r.enter("destinationRaw"),o+=l.move(r.safe(e.url,{before:o,after:e.title?" ":`
|
|
283
|
+
`,...l.current()}))),u(),e.title&&(u=r.enter(`title${i}`),o+=l.move(" "+a),o+=l.move(r.safe(e.title,{before:o,after:a,...l.current()})),o+=l.move(a),u()),s(),o}function L6(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 On(e){return"&#x"+e.toString(16).toUpperCase()+";"}function Xr(e){if(e===null||ye(e)||kr(e))return 1;if(ta(e))return 2}function D0(e,t,r){const n=Xr(e),a=Xr(t);return n===void 0?a===void 0?r==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:a===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:n===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}}p1.peek=O6;function p1(e,t,r,n){const a=L6(r),i=r.enter("emphasis"),s=r.createTracker(n),u=s.move(a);let l=s.move(r.containerPhrasing(e,{after:a,before:u,...s.current()}));const o=l.charCodeAt(0),h=D0(n.before.charCodeAt(n.before.length-1),o,a);h.inside&&(l=On(o)+l.slice(1));const d=l.charCodeAt(l.length-1),p=D0(n.after.charCodeAt(0),d,a);p.inside&&(l=l.slice(0,-1)+On(d));const g=s.move(a);return i(),r.attentionEncodeSurroundingInfo={after:p.outside,before:h.outside},u+l+g}function O6(e,t,r){return r.options.emphasis||"*"}const M6={};function hs(e,t){const r=M6,n=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,a=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return g1(e,n,a)}function g1(e,t,r){if(P6(e)){if("value"in e)return e.type==="html"&&!r?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Zu(e.children,t,r)}return Array.isArray(e)?Zu(e,t,r):""}function Zu(e,t,r){const n=[];let a=-1;for(;++a<e.length;)n[a]=g1(e[a],t,r);return n.join("")}function P6(e){return!!(e&&typeof e=="object")}function B6(e,t){let r=!1;return qr(e,function(n){if("value"in n&&/\r?\n|\r/.test(n.value)||n.type==="break")return r=!0,Ga}),!!((!e.depth||e.depth<3)&&hs(e)&&(t.options.setext||r))}function F6(e,t,r,n){const a=Math.max(Math.min(6,e.depth||1),1),i=r.createTracker(n);if(B6(e,r)){const h=r.enter("headingSetext"),d=r.enter("phrasing"),p=r.containerPhrasing(e,{...i.current(),before:`
|
|
284
|
+
`,after:`
|
|
285
|
+
`});return d(),h(),p+`
|
|
286
|
+
`+(a===1?"=":"-").repeat(p.length-(Math.max(p.lastIndexOf("\r"),p.lastIndexOf(`
|
|
287
|
+
`))+1))}const s="#".repeat(a),u=r.enter("headingAtx"),l=r.enter("phrasing");i.move(s+" ");let o=r.containerPhrasing(e,{before:"# ",after:`
|
|
288
|
+
`,...i.current()});return/^[\t ]/.test(o)&&(o=On(o.charCodeAt(0))+o.slice(1)),o=o?s+" "+o:s,r.options.closeAtx&&(o+=" "+s),l(),u(),o}b1.peek=z6;function b1(e){return e.value||""}function z6(){return"<"}E1.peek=H6;function E1(e,t,r,n){const a=cs(r),i=a==='"'?"Quote":"Apostrophe",s=r.enter("image");let u=r.enter("label");const l=r.createTracker(n);let o=l.move("![");return o+=l.move(r.safe(e.alt,{before:o,after:"]",...l.current()})),o+=l.move("]("),u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=r.enter("destinationLiteral"),o+=l.move("<"),o+=l.move(r.safe(e.url,{before:o,after:">",...l.current()})),o+=l.move(">")):(u=r.enter("destinationRaw"),o+=l.move(r.safe(e.url,{before:o,after:e.title?" ":")",...l.current()}))),u(),e.title&&(u=r.enter(`title${i}`),o+=l.move(" "+a),o+=l.move(r.safe(e.title,{before:o,after:a,...l.current()})),o+=l.move(a),u()),o+=l.move(")"),s(),o}function H6(){return"!"}T1.peek=U6;function T1(e,t,r,n){const a=e.referenceType,i=r.enter("imageReference");let s=r.enter("label");const u=r.createTracker(n);let l=u.move("![");const o=r.safe(e.alt,{before:l,after:"]",...u.current()});l+=u.move(o+"]["),s();const h=r.stack;r.stack=[],s=r.enter("reference");const d=r.safe(r.associationId(e),{before:l,after:"]",...u.current()});return s(),r.stack=h,i(),a==="full"||!o||o!==d?l+=u.move(d+"]"):a==="shortcut"?l=l.slice(0,-1):l+=u.move("]"),l}function U6(){return"!"}x1.peek=q6;function x1(e,t,r){let n=e.value||"",a="`",i=-1;for(;new RegExp("(^|[^`])"+a+"([^`]|$)").test(n);)a+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++i<r.unsafe.length;){const s=r.unsafe[i],u=r.compilePattern(s);let l;if(s.atBreak)for(;l=u.exec(n);){let o=l.index;n.charCodeAt(o)===10&&n.charCodeAt(o-1)===13&&o--,n=n.slice(0,o)+" "+n.slice(l.index+1)}}return a+n+a}function q6(){return"`"}function y1(e,t){const r=hs(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(r===e.url||"mailto:"+r===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}v1.peek=$6;function v1(e,t,r,n){const a=cs(r),i=a==='"'?"Quote":"Apostrophe",s=r.createTracker(n);let u,l;if(y1(e,r)){const h=r.stack;r.stack=[],u=r.enter("autolink");let d=s.move("<");return d+=s.move(r.containerPhrasing(e,{before:d,after:">",...s.current()})),d+=s.move(">"),u(),r.stack=h,d}u=r.enter("link"),l=r.enter("label");let o=s.move("[");return o+=s.move(r.containerPhrasing(e,{before:o,after:"](",...s.current()})),o+=s.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=r.enter("destinationLiteral"),o+=s.move("<"),o+=s.move(r.safe(e.url,{before:o,after:">",...s.current()})),o+=s.move(">")):(l=r.enter("destinationRaw"),o+=s.move(r.safe(e.url,{before:o,after:e.title?" ":")",...s.current()}))),l(),e.title&&(l=r.enter(`title${i}`),o+=s.move(" "+a),o+=s.move(r.safe(e.title,{before:o,after:a,...s.current()})),o+=s.move(a),l()),o+=s.move(")"),u(),o}function $6(e,t,r){return y1(e,r)?"<":"["}k1.peek=j6;function k1(e,t,r,n){const a=e.referenceType,i=r.enter("linkReference");let s=r.enter("label");const u=r.createTracker(n);let l=u.move("[");const o=r.containerPhrasing(e,{before:l,after:"]",...u.current()});l+=u.move(o+"]["),s();const h=r.stack;r.stack=[],s=r.enter("reference");const d=r.safe(r.associationId(e),{before:l,after:"]",...u.current()});return s(),r.stack=h,i(),a==="full"||!o||o!==d?l+=u.move(d+"]"):a==="shortcut"?l=l.slice(0,-1):l+=u.move("]"),l}function j6(){return"["}function ds(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 Y6(e){const t=ds(e),r=e.options.bulletOther;if(!r)return t==="*"?"-":"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(r===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+r+"`) to be different");return r}function G6(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 A1(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 V6(e,t,r,n){const a=r.enter("list"),i=r.bulletCurrent;let s=e.ordered?G6(r):ds(r);const u=e.ordered?s==="."?")":".":Y6(r);let l=t&&r.bulletLastUsed?s===r.bulletLastUsed:!1;if(!e.ordered){const h=e.children?e.children[0]:void 0;if((s==="*"||s==="-")&&h&&(!h.children||!h.children[0])&&r.stack[r.stack.length-1]==="list"&&r.stack[r.stack.length-2]==="listItem"&&r.stack[r.stack.length-3]==="list"&&r.stack[r.stack.length-4]==="listItem"&&r.indexStack[r.indexStack.length-1]===0&&r.indexStack[r.indexStack.length-2]===0&&r.indexStack[r.indexStack.length-3]===0&&(l=!0),A1(r)===s&&h){let d=-1;for(;++d<e.children.length;){const p=e.children[d];if(p&&p.type==="listItem"&&p.children&&p.children[0]&&p.children[0].type==="thematicBreak"){l=!0;break}}}}l&&(s=u),r.bulletCurrent=s;const o=r.containerFlow(e,n);return r.bulletLastUsed=s,r.bulletCurrent=i,a(),o}function W6(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 X6(e,t,r,n){const a=W6(r);let i=r.bulletCurrent||ds(r);t&&t.type==="list"&&t.ordered&&(i=(typeof t.start=="number"&&t.start>-1?t.start:1)+(r.options.incrementListMarker===!1?0:t.children.indexOf(e))+i);let s=i.length+1;(a==="tab"||a==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(s=Math.ceil(s/4)*4);const u=r.createTracker(n);u.move(i+" ".repeat(s-i.length)),u.shift(s);const l=r.enter("listItem"),o=r.indentLines(r.containerFlow(e,u.current()),h);return l(),o;function h(d,p,g){return p?(g?"":" ".repeat(s))+d:(g?i:i+" ".repeat(s-i.length))+d}}function Q6(e,t,r,n){const a=r.enter("paragraph"),i=r.enter("phrasing"),s=r.containerPhrasing(e,n);return i(),a(),s}const K6=Bn(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function Z6(e,t,r,n){return(e.children.some(function(s){return K6(s)})?r.containerPhrasing:r.containerFlow).call(r,e,n)}function J6(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}w1.peek=e5;function w1(e,t,r,n){const a=J6(r),i=r.enter("strong"),s=r.createTracker(n),u=s.move(a+a);let l=s.move(r.containerPhrasing(e,{after:a,before:u,...s.current()}));const o=l.charCodeAt(0),h=D0(n.before.charCodeAt(n.before.length-1),o,a);h.inside&&(l=On(o)+l.slice(1));const d=l.charCodeAt(l.length-1),p=D0(n.after.charCodeAt(0),d,a);p.inside&&(l=l.slice(0,-1)+On(d));const g=s.move(a+a);return i(),r.attentionEncodeSurroundingInfo={after:p.outside,before:h.outside},u+l+g}function e5(e,t,r){return r.options.strong||"*"}function t5(e,t,r,n){return r.safe(e.value,n)}function r5(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 n5(e,t,r){const n=(A1(r)+(r.options.ruleSpaces?" ":"")).repeat(r5(r));return r.options.ruleSpaces?n.slice(0,-1):n}const S1={blockquote:w6,break:Ku,code:I6,definition:R6,emphasis:p1,hardBreak:Ku,heading:F6,html:b1,image:E1,imageReference:T1,inlineCode:x1,link:v1,linkReference:k1,list:V6,listItem:X6,paragraph:Q6,root:Z6,strong:w1,text:t5,thematicBreak:n5},Ju=document.createElement("i");function fs(e){const t="&"+e+";";Ju.innerHTML=t;const r=Ju.textContent;return r.charCodeAt(r.length-1)===59&&e!=="semi"||r===t?!1:r}function C1(e,t){const r=Number.parseInt(e,t);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"�":String.fromCodePoint(r)}const a5=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function i5(e){return e.replace(a5,s5)}function s5(e,t,r){if(t)return t;if(r.charCodeAt(0)===35){const a=r.charCodeAt(1),i=a===120||a===88;return C1(r.slice(i?2:1),i?16:10)}return fs(r)||e}function u5(){return{enter:{table:l5,tableData:el,tableHeader:el,tableRow:c5},exit:{codeText:h5,table:o5,tableData:La,tableHeader:La,tableRow:La}}}function l5(e){const t=e._align;this.enter({type:"table",align:t.map(function(r){return r==="none"?null:r}),children:[]},e),this.data.inTable=!0}function o5(e){this.exit(e),this.data.inTable=void 0}function c5(e){this.enter({type:"tableRow",children:[]},e)}function La(e){this.exit(e)}function el(e){this.enter({type:"tableCell",children:[]},e)}function h5(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,d5));const r=this.stack[this.stack.length-1];r.type,r.value=t,this.exit(e)}function d5(e,t){return t==="|"?t:e}function f5(e){const t=e||{},r=t.tableCellPadding,n=t.tablePipeAlign,a=t.stringLength,i=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
289
|
+
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:p,table:s,tableCell:l,tableRow:u}};function s(g,E,y,N){return o(h(g,y,N),g.align)}function u(g,E,y,N){const S=d(g,y,N),D=o([S]);return D.slice(0,D.indexOf(`
|
|
290
|
+
`))}function l(g,E,y,N){const S=y.enter("tableCell"),D=y.enter("phrasing"),O=y.containerPhrasing(g,{...N,before:i,after:i});return D(),S(),O}function o(g,E){return k6(g,{align:E,alignDelimiters:n,padding:r,stringLength:a})}function h(g,E,y){const N=g.children;let S=-1;const D=[],O=E.enter("table");for(;++S<N.length;)D[S]=d(N[S],E,y);return O(),D}function d(g,E,y){const N=g.children;let S=-1;const D=[],O=E.enter("tableRow");for(;++S<N.length;)D[S]=l(N[S],g,E,y);return O(),D}function p(g,E,y){let N=S1.inlineCode(g,E,y);return y.stack.includes("tableCell")&&(N=N.replace(/\|/g,"\\$&")),N}}function m5(){return{exit:{taskListCheckValueChecked:tl,taskListCheckValueUnchecked:tl,paragraph:g5}}}function p5(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:b5}}}function tl(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function g5(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const r=this.stack[this.stack.length-1];r.type;const n=r.children[0];if(n&&n.type==="text"){const a=t.children;let i=-1,s;for(;++i<a.length;){const u=a[i];if(u.type==="paragraph"){s=u;break}}s===r&&(n.value=n.value.slice(1),n.value.length===0?r.children.shift():r.position&&n.position&&typeof n.position.start.offset=="number"&&(n.position.start.column++,n.position.start.offset++,r.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function b5(e,t,r,n){const a=e.children[0],i=typeof e.checked=="boolean"&&a&&a.type==="paragraph",s="["+(e.checked?"x":" ")+"] ",u=r.createTracker(n);i&&u.move(s);let l=S1.listItem(e,t,r,{...n,...u.current()});return i&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,o)),l;function o(h){return h+s}}function E5(){return[G3(),f6(),b6(),u5(),m5()]}function T5(e){return{extensions:[V3(),m6(e),E6(),f5(e),p5()]}}const rl={}.hasOwnProperty;function _1(e){const t={};let r=-1;for(;++r<e.length;)x5(t,e[r]);return t}function x5(e,t){let r;for(r in t){const a=(rl.call(e,r)?e[r]:void 0)||(e[r]={}),i=t[r];let s;if(i)for(s in i){rl.call(a,s)||(a[s]=[]);const u=i[s];y5(a[s],Array.isArray(u)?u:u?[u]:[])}}}function y5(e,t){let r=-1;const n=[];for(;++r<t.length;)(t[r].add==="after"?e:n).push(t[r]);Ye(e,0,0,n)}const v5={tokenize:_5,partial:!0},N1={tokenize:N5,partial:!0},I1={tokenize:I5,partial:!0},D1={tokenize:D5,partial:!0},k5={tokenize:R5,partial:!0},R1={name:"wwwAutolink",tokenize:S5,previous:O1},L1={name:"protocolAutolink",tokenize:C5,previous:M1},Kt={name:"emailAutolink",tokenize:w5,previous:P1},Ft={};function A5(){return{text:Ft}}let Tr=48;for(;Tr<123;)Ft[Tr]=Kt,Tr++,Tr===58?Tr=65:Tr===91&&(Tr=97);Ft[43]=Kt;Ft[45]=Kt;Ft[46]=Kt;Ft[95]=Kt;Ft[72]=[Kt,L1];Ft[104]=[Kt,L1];Ft[87]=[Kt,R1];Ft[119]=[Kt,R1];function w5(e,t,r){const n=this;let a,i;return s;function s(d){return!mi(d)||!P1.call(n,n.previous)||ms(n.events)?r(d):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),u(d))}function u(d){return mi(d)?(e.consume(d),u):d===64?(e.consume(d),l):r(d)}function l(d){return d===46?e.check(k5,h,o)(d):d===45||d===95||Ge(d)?(i=!0,e.consume(d),l):h(d)}function o(d){return e.consume(d),a=!0,l}function h(d){return i&&a&&Je(n.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(d)):r(d)}}function S5(e,t,r){const n=this;return a;function a(s){return s!==87&&s!==119||!O1.call(n,n.previous)||ms(n.events)?r(s):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(v5,e.attempt(N1,e.attempt(I1,i),r),r)(s))}function i(s){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(s)}}function C5(e,t,r){const n=this;let a="",i=!1;return s;function s(d){return(d===72||d===104)&&M1.call(n,n.previous)&&!ms(n.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),a+=String.fromCodePoint(d),e.consume(d),u):r(d)}function u(d){if(Je(d)&&a.length<5)return a+=String.fromCodePoint(d),e.consume(d),u;if(d===58){const p=a.toLowerCase();if(p==="http"||p==="https")return e.consume(d),l}return r(d)}function l(d){return d===47?(e.consume(d),i?o:(i=!0,l)):r(d)}function o(d){return d===null||N0(d)||ye(d)||kr(d)||ta(d)?r(d):e.attempt(N1,e.attempt(I1,h),r)(d)}function h(d){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(d)}}function _5(e,t,r){let n=0;return a;function a(s){return(s===87||s===119)&&n<3?(n++,e.consume(s),a):s===46&&n===3?(e.consume(s),i):r(s)}function i(s){return s===null?r(s):t(s)}}function N5(e,t,r){let n,a,i;return s;function s(o){return o===46||o===95?e.check(D1,l,u)(o):o===null||ye(o)||kr(o)||o!==45&&ta(o)?l(o):(i=!0,e.consume(o),s)}function u(o){return o===95?n=!0:(a=n,n=void 0),e.consume(o),s}function l(o){return a||n||!i?r(o):t(o)}}function I5(e,t){let r=0,n=0;return a;function a(s){return s===40?(r++,e.consume(s),a):s===41&&n<r?i(s):s===33||s===34||s===38||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===60||s===63||s===93||s===95||s===126?e.check(D1,t,i)(s):s===null||ye(s)||kr(s)?t(s):(e.consume(s),a)}function i(s){return s===41&&n++,e.consume(s),a}}function D5(e,t,r){return n;function n(u){return u===33||u===34||u===39||u===41||u===42||u===44||u===46||u===58||u===59||u===63||u===95||u===126?(e.consume(u),n):u===38?(e.consume(u),i):u===93?(e.consume(u),a):u===60||u===null||ye(u)||kr(u)?t(u):r(u)}function a(u){return u===null||u===40||u===91||ye(u)||kr(u)?t(u):n(u)}function i(u){return Je(u)?s(u):r(u)}function s(u){return u===59?(e.consume(u),n):Je(u)?(e.consume(u),s):r(u)}}function R5(e,t,r){return n;function n(i){return e.consume(i),a}function a(i){return Ge(i)?r(i):t(i)}}function O1(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||ye(e)}function M1(e){return!Je(e)}function P1(e){return!(e===47||mi(e))}function mi(e){return e===43||e===45||e===46||e===95||Ge(e)}function ms(e){let t=e.length,r=!1;for(;t--;){const n=e[t][1];if((n.type==="labelLink"||n.type==="labelImage")&&!n._balanced){r=!0;break}if(n._gfmAutolinkLiteralWalkedInto){r=!1;break}}return e.length>0&&!r&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}function rn(e){const t=[];let r=-1,n=0,a=0;for(;++r<e.length;){const i=e.charCodeAt(r);let s="";if(i===37&&Ge(e.charCodeAt(r+1))&&Ge(e.charCodeAt(r+2)))a=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(s=String.fromCharCode(i));else if(i>55295&&i<57344){const u=e.charCodeAt(r+1);i<56320&&u>56319&&u<57344?(s=String.fromCharCode(i,u),a=1):s="�"}else s=String.fromCharCode(i);s&&(t.push(e.slice(n,r),encodeURIComponent(s)),n=r+a+1,s=""),a&&(r+=a,a=0)}return t.join("")+e.slice(n)}const pi={name:"attention",resolveAll:L5,tokenize:O5};function L5(e,t){let r=-1,n,a,i,s,u,l,o,h;for(;++r<e.length;)if(e[r][0]==="enter"&&e[r][1].type==="attentionSequence"&&e[r][1]._close){for(n=r;n--;)if(e[n][0]==="exit"&&e[n][1].type==="attentionSequence"&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[n][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;l=e[n][1].end.offset-e[n][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1;const d={...e[n][1].end},p={...e[r][1].start};nl(d,-l),nl(p,l),s={type:l>1?"strongSequence":"emphasisSequence",start:d,end:{...e[n][1].end}},u={type:l>1?"strongSequence":"emphasisSequence",start:{...e[r][1].start},end:p},i={type:l>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[r][1].start}},a={type:l>1?"strong":"emphasis",start:{...s.start},end:{...u.end}},e[n][1].end={...s.start},e[r][1].start={...u.end},o=[],e[n][1].end.offset-e[n][1].start.offset&&(o=je(o,[["enter",e[n][1],t],["exit",e[n][1],t]])),o=je(o,[["enter",a,t],["enter",s,t],["exit",s,t],["enter",i,t]]),o=je(o,tn(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),o=je(o,[["exit",i,t],["enter",u,t],["exit",u,t],["exit",a,t]]),e[r][1].end.offset-e[r][1].start.offset?(h=2,o=je(o,[["enter",e[r][1],t],["exit",e[r][1],t]])):h=0,Ye(e,n-1,r-n+3,o),r=n+o.length-h-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}function O5(e,t){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,a=Xr(n);let i;return s;function s(l){return i=l,e.enter("attentionSequence"),u(l)}function u(l){if(l===i)return e.consume(l),u;const o=e.exit("attentionSequence"),h=Xr(l),d=!h||h===2&&a||r.includes(l),p=!a||a===2&&h||r.includes(n);return o._open=!!(i===42?d:d&&(a||!p)),o._close=!!(i===42?p:p&&(h||!d)),t(l)}}function nl(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const M5={name:"autolink",tokenize:P5};function P5(e,t,r){let n=0;return a;function a(g){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(g),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i}function i(g){return Je(g)?(e.consume(g),s):g===64?r(g):o(g)}function s(g){return g===43||g===45||g===46||Ge(g)?(n=1,u(g)):o(g)}function u(g){return g===58?(e.consume(g),n=0,l):(g===43||g===45||g===46||Ge(g))&&n++<32?(e.consume(g),u):(n=0,o(g))}function l(g){return g===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(g),e.exit("autolinkMarker"),e.exit("autolink"),t):g===null||g===32||g===60||N0(g)?r(g):(e.consume(g),l)}function o(g){return g===64?(e.consume(g),h):Kp(g)?(e.consume(g),o):r(g)}function h(g){return Ge(g)?d(g):r(g)}function d(g){return g===46?(e.consume(g),n=0,h):g===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(g),e.exit("autolinkMarker"),e.exit("autolink"),t):p(g)}function p(g){if((g===45||Ge(g))&&n++<63){const E=g===45?p:d;return e.consume(g),E}return r(g)}}function me(e,t,r,n){const a=n?n-1:Number.POSITIVE_INFINITY;let i=0;return s;function s(l){return pe(l)?(e.enter(r),u(l)):t(l)}function u(l){return pe(l)&&i++<a?(e.consume(l),u):(e.exit(r),t(l))}}const Yn={partial:!0,tokenize:B5};function B5(e,t,r){return n;function n(i){return pe(i)?me(e,a,"linePrefix")(i):a(i)}function a(i){return i===null||ne(i)?t(i):r(i)}}const B1={continuation:{tokenize:z5},exit:H5,name:"blockQuote",tokenize:F5};function F5(e,t,r){const n=this;return a;function a(s){if(s===62){const u=n.containerState;return u.open||(e.enter("blockQuote",{_container:!0}),u.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(s),e.exit("blockQuoteMarker"),i}return r(s)}function i(s){return pe(s)?(e.enter("blockQuotePrefixWhitespace"),e.consume(s),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(s))}}function z5(e,t,r){const n=this;return a;function a(s){return pe(s)?me(e,i,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):i(s)}function i(s){return e.attempt(B1,t,r)(s)}}function H5(e){e.exit("blockQuote")}const F1={name:"characterEscape",tokenize:U5};function U5(e,t,r){return n;function n(i){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(i),e.exit("escapeMarker"),a}function a(i){return Jp(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(i)}}const z1={name:"characterReference",tokenize:q5};function q5(e,t,r){const n=this;let a=0,i,s;return u;function u(d){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),l}function l(d){return d===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(d),e.exit("characterReferenceMarkerNumeric"),o):(e.enter("characterReferenceValue"),i=31,s=Ge,h(d))}function o(d){return d===88||d===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(d),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,s=Zp,h):(e.enter("characterReferenceValue"),i=7,s=di,h(d))}function h(d){if(d===59&&a){const p=e.exit("characterReferenceValue");return s===Ge&&!fs(n.sliceSerialize(p))?r(d):(e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return s(d)&&a++<i?(e.consume(d),h):r(d)}}const al={partial:!0,tokenize:j5},il={concrete:!0,name:"codeFenced",tokenize:$5};function $5(e,t,r){const n=this,a={partial:!0,tokenize:G};let i=0,s=0,u;return l;function l(R){return o(R)}function o(R){const X=n.events[n.events.length-1];return i=X&&X[1].type==="linePrefix"?X[2].sliceSerialize(X[1],!0).length:0,u=R,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),h(R)}function h(R){return R===u?(s++,e.consume(R),h):s<3?r(R):(e.exit("codeFencedFenceSequence"),pe(R)?me(e,d,"whitespace")(R):d(R))}function d(R){return R===null||ne(R)?(e.exit("codeFencedFence"),n.interrupt?t(R):e.check(al,y,H)(R)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),p(R))}function p(R){return R===null||ne(R)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),d(R)):pe(R)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),me(e,g,"whitespace")(R)):R===96&&R===u?r(R):(e.consume(R),p)}function g(R){return R===null||ne(R)?d(R):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),E(R))}function E(R){return R===null||ne(R)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),d(R)):R===96&&R===u?r(R):(e.consume(R),E)}function y(R){return e.attempt(a,H,N)(R)}function N(R){return e.enter("lineEnding"),e.consume(R),e.exit("lineEnding"),S}function S(R){return i>0&&pe(R)?me(e,D,"linePrefix",i+1)(R):D(R)}function D(R){return R===null||ne(R)?e.check(al,y,H)(R):(e.enter("codeFlowValue"),O(R))}function O(R){return R===null||ne(R)?(e.exit("codeFlowValue"),D(R)):(e.consume(R),O)}function H(R){return e.exit("codeFenced"),t(R)}function G(R,X,re){let Q=0;return M;function M(ue){return R.enter("lineEnding"),R.consume(ue),R.exit("lineEnding"),Z}function Z(ue){return R.enter("codeFencedFence"),pe(ue)?me(R,F,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ue):F(ue)}function F(ue){return ue===u?(R.enter("codeFencedFenceSequence"),ae(ue)):re(ue)}function ae(ue){return ue===u?(Q++,R.consume(ue),ae):Q>=s?(R.exit("codeFencedFenceSequence"),pe(ue)?me(R,de,"whitespace")(ue):de(ue)):re(ue)}function de(ue){return ue===null||ne(ue)?(R.exit("codeFencedFence"),X(ue)):re(ue)}}}function j5(e,t,r){const n=this;return a;function a(s){return s===null?r(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i)}function i(s){return n.parser.lazy[n.now().line]?r(s):t(s)}}const Oa={name:"codeIndented",tokenize:G5},Y5={partial:!0,tokenize:V5};function G5(e,t,r){const n=this;return a;function a(o){return e.enter("codeIndented"),me(e,i,"linePrefix",5)(o)}function i(o){const h=n.events[n.events.length-1];return h&&h[1].type==="linePrefix"&&h[2].sliceSerialize(h[1],!0).length>=4?s(o):r(o)}function s(o){return o===null?l(o):ne(o)?e.attempt(Y5,s,l)(o):(e.enter("codeFlowValue"),u(o))}function u(o){return o===null||ne(o)?(e.exit("codeFlowValue"),s(o)):(e.consume(o),u)}function l(o){return e.exit("codeIndented"),t(o)}}function V5(e,t,r){const n=this;return a;function a(s){return n.parser.lazy[n.now().line]?r(s):ne(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a):me(e,i,"linePrefix",5)(s)}function i(s){const u=n.events[n.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?t(s):ne(s)?a(s):r(s)}}const W5={name:"codeText",previous:Q5,resolve:X5,tokenize:K5};function X5(e){let t=e.length-4,r=3,n,a;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="codeTextData"){e[r][1].type="codeTextPadding",e[t][1].type="codeTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)a===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(a=n):(n===t||e[n][1].type==="lineEnding")&&(e[a][1].type="codeTextData",n!==a+2&&(e[a][1].end=e[n-1][1].end,e.splice(a+2,n-a-2),t-=n-a-2,n=a+2),a=void 0);return e}function Q5(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function K5(e,t,r){let n=0,a,i;return s;function s(d){return e.enter("codeText"),e.enter("codeTextSequence"),u(d)}function u(d){return d===96?(e.consume(d),n++,u):(e.exit("codeTextSequence"),l(d))}function l(d){return d===null?r(d):d===32?(e.enter("space"),e.consume(d),e.exit("space"),l):d===96?(i=e.enter("codeTextSequence"),a=0,h(d)):ne(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),l):(e.enter("codeTextData"),o(d))}function o(d){return d===null||d===32||d===96||ne(d)?(e.exit("codeTextData"),l(d)):(e.consume(d),o)}function h(d){return d===96?(e.consume(d),a++,h):a===n?(e.exit("codeTextSequence"),e.exit("codeText"),t(d)):(i.type="codeTextData",o(d))}}class Z5{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,r){const n=r??Number.POSITIVE_INFINITY;return n<this.left.length?this.left.slice(t,n):t>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(t,r,n){const a=r||0;this.setCursor(Math.trunc(t));const i=this.right.splice(this.right.length-a,Number.POSITIVE_INFINITY);return n&&cn(this.left,n),i.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),cn(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),cn(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const r=this.left.splice(t,Number.POSITIVE_INFINITY);cn(this.right,r.reverse())}else{const r=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);cn(this.left,r.reverse())}}}function cn(e,t){let r=0;if(t.length<1e4)e.push(...t);else for(;r<t.length;)e.push(...t.slice(r,r+1e4)),r+=1e4}function H1(e){const t={};let r=-1,n,a,i,s,u,l,o;const h=new Z5(e);for(;++r<h.length;){for(;r in t;)r=t[r];if(n=h.get(r),r&&n[1].type==="chunkFlow"&&h.get(r-1)[1].type==="listItemPrefix"&&(l=n[1]._tokenizer.events,i=0,i<l.length&&l[i][1].type==="lineEndingBlank"&&(i+=2),i<l.length&&l[i][1].type==="content"))for(;++i<l.length&&l[i][1].type!=="content";)l[i][1].type==="chunkText"&&(l[i][1]._isInFirstContentOfListItem=!0,i++);if(n[0]==="enter")n[1].contentType&&(Object.assign(t,J5(h,r)),r=t[r],o=!0);else if(n[1]._container){for(i=r,a=void 0;i--;)if(s=h.get(i),s[1].type==="lineEnding"||s[1].type==="lineEndingBlank")s[0]==="enter"&&(a&&(h.get(a)[1].type="lineEndingBlank"),s[1].type="lineEnding",a=i);else if(!(s[1].type==="linePrefix"||s[1].type==="listItemIndent"))break;a&&(n[1].end={...h.get(a)[1].start},u=h.slice(a,r),u.unshift(n),h.splice(a,r-a+1,u))}}return Ye(e,0,Number.POSITIVE_INFINITY,h.slice(0)),!o}function J5(e,t){const r=e.get(t)[1],n=e.get(t)[2];let a=t-1;const i=[];let s=r._tokenizer;s||(s=n.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(s._contentTypeTextTrailing=!0));const u=s.events,l=[],o={};let h,d,p=-1,g=r,E=0,y=0;const N=[y];for(;g;){for(;e.get(++a)[1]!==g;);i.push(a),g._tokenizer||(h=n.sliceStream(g),g.next||h.push(null),d&&s.defineSkip(g.start),g._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(h),g._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),d=g,g=g.next}for(g=r;++p<u.length;)u[p][0]==="exit"&&u[p-1][0]==="enter"&&u[p][1].type===u[p-1][1].type&&u[p][1].start.line!==u[p][1].end.line&&(y=p+1,N.push(y),g._tokenizer=void 0,g.previous=void 0,g=g.next);for(s.events=[],g?(g._tokenizer=void 0,g.previous=void 0):N.pop(),p=N.length;p--;){const S=u.slice(N[p],N[p+1]),D=i.pop();l.push([D,D+S.length-1]),e.splice(D,2,S)}for(l.reverse(),p=-1;++p<l.length;)o[E+l[p][0]]=E+l[p][1],E+=l[p][1]-l[p][0]-1;return o}const e8={resolve:r8,tokenize:n8},t8={partial:!0,tokenize:a8};function r8(e){return H1(e),e}function n8(e,t){let r;return n;function n(u){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),a(u)}function a(u){return u===null?i(u):ne(u)?e.check(t8,s,i)(u):(e.consume(u),a)}function i(u){return e.exit("chunkContent"),e.exit("content"),t(u)}function s(u){return e.consume(u),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,a}}function a8(e,t,r){const n=this;return a;function a(s){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),me(e,i,"linePrefix")}function i(s){if(s===null||ne(s))return r(s);const u=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?t(s):e.interrupt(n.parser.constructs.flow,r,t)(s)}}function U1(e,t,r,n,a,i,s,u,l){const o=l||Number.POSITIVE_INFINITY;let h=0;return d;function d(S){return S===60?(e.enter(n),e.enter(a),e.enter(i),e.consume(S),e.exit(i),p):S===null||S===32||S===41||N0(S)?r(S):(e.enter(n),e.enter(s),e.enter(u),e.enter("chunkString",{contentType:"string"}),y(S))}function p(S){return S===62?(e.enter(i),e.consume(S),e.exit(i),e.exit(a),e.exit(n),t):(e.enter(u),e.enter("chunkString",{contentType:"string"}),g(S))}function g(S){return S===62?(e.exit("chunkString"),e.exit(u),p(S)):S===null||S===60||ne(S)?r(S):(e.consume(S),S===92?E:g)}function E(S){return S===60||S===62||S===92?(e.consume(S),g):g(S)}function y(S){return!h&&(S===null||S===41||ye(S))?(e.exit("chunkString"),e.exit(u),e.exit(s),e.exit(n),t(S)):h<o&&S===40?(e.consume(S),h++,y):S===41?(e.consume(S),h--,y):S===null||S===32||S===40||N0(S)?r(S):(e.consume(S),S===92?N:y)}function N(S){return S===40||S===41||S===92?(e.consume(S),y):y(S)}}function q1(e,t,r,n,a,i){const s=this;let u=0,l;return o;function o(g){return e.enter(n),e.enter(a),e.consume(g),e.exit(a),e.enter(i),h}function h(g){return u>999||g===null||g===91||g===93&&!l||g===94&&!u&&"_hiddenFootnoteSupport"in s.parser.constructs?r(g):g===93?(e.exit(i),e.enter(a),e.consume(g),e.exit(a),e.exit(n),t):ne(g)?(e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),h):(e.enter("chunkString",{contentType:"string"}),d(g))}function d(g){return g===null||g===91||g===93||ne(g)||u++>999?(e.exit("chunkString"),h(g)):(e.consume(g),l||(l=!pe(g)),g===92?p:d)}function p(g){return g===91||g===92||g===93?(e.consume(g),u++,d):d(g)}}function $1(e,t,r,n,a,i){let s;return u;function u(p){return p===34||p===39||p===40?(e.enter(n),e.enter(a),e.consume(p),e.exit(a),s=p===40?41:p,l):r(p)}function l(p){return p===s?(e.enter(a),e.consume(p),e.exit(a),e.exit(n),t):(e.enter(i),o(p))}function o(p){return p===s?(e.exit(i),l(s)):p===null?r(p):ne(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),me(e,o,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),h(p))}function h(p){return p===s||p===null||ne(p)?(e.exit("chunkString"),o(p)):(e.consume(p),p===92?d:h)}function d(p){return p===s||p===92?(e.consume(p),h):h(p)}}function Sn(e,t){let r;return n;function n(a){return ne(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),r=!0,n):pe(a)?me(e,n,r?"linePrefix":"lineSuffix")(a):t(a)}}const i8={name:"definition",tokenize:u8},s8={partial:!0,tokenize:l8};function u8(e,t,r){const n=this;let a;return i;function i(g){return e.enter("definition"),s(g)}function s(g){return q1.call(n,e,u,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(g)}function u(g){return a=At(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),g===58?(e.enter("definitionMarker"),e.consume(g),e.exit("definitionMarker"),l):r(g)}function l(g){return ye(g)?Sn(e,o)(g):o(g)}function o(g){return U1(e,h,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(g)}function h(g){return e.attempt(s8,d,d)(g)}function d(g){return pe(g)?me(e,p,"whitespace")(g):p(g)}function p(g){return g===null||ne(g)?(e.exit("definition"),n.parser.defined.push(a),t(g)):r(g)}}function l8(e,t,r){return n;function n(u){return ye(u)?Sn(e,a)(u):r(u)}function a(u){return $1(e,i,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(u)}function i(u){return pe(u)?me(e,s,"whitespace")(u):s(u)}function s(u){return u===null||ne(u)?t(u):r(u)}}const o8={name:"hardBreakEscape",tokenize:c8};function c8(e,t,r){return n;function n(i){return e.enter("hardBreakEscape"),e.consume(i),a}function a(i){return ne(i)?(e.exit("hardBreakEscape"),t(i)):r(i)}}const h8={name:"headingAtx",resolve:d8,tokenize:f8};function d8(e,t){let r=e.length-2,n=3,a,i;return e[n][1].type==="whitespace"&&(n+=2),r-2>n&&e[r][1].type==="whitespace"&&(r-=2),e[r][1].type==="atxHeadingSequence"&&(n===r-1||r-4>n&&e[r-2][1].type==="whitespace")&&(r-=n+1===r?2:4),r>n&&(a={type:"atxHeadingText",start:e[n][1].start,end:e[r][1].end},i={type:"chunkText",start:e[n][1].start,end:e[r][1].end,contentType:"text"},Ye(e,n,r-n+1,[["enter",a,t],["enter",i,t],["exit",i,t],["exit",a,t]])),e}function f8(e,t,r){let n=0;return a;function a(h){return e.enter("atxHeading"),i(h)}function i(h){return e.enter("atxHeadingSequence"),s(h)}function s(h){return h===35&&n++<6?(e.consume(h),s):h===null||ye(h)?(e.exit("atxHeadingSequence"),u(h)):r(h)}function u(h){return h===35?(e.enter("atxHeadingSequence"),l(h)):h===null||ne(h)?(e.exit("atxHeading"),t(h)):pe(h)?me(e,u,"whitespace")(h):(e.enter("atxHeadingText"),o(h))}function l(h){return h===35?(e.consume(h),l):(e.exit("atxHeadingSequence"),u(h))}function o(h){return h===null||h===35||ye(h)?(e.exit("atxHeadingText"),u(h)):(e.consume(h),o)}}const m8=["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"],sl=["pre","script","style","textarea"],p8={concrete:!0,name:"htmlFlow",resolveTo:E8,tokenize:T8},g8={partial:!0,tokenize:y8},b8={partial:!0,tokenize:x8};function E8(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 T8(e,t,r){const n=this;let a,i,s,u,l;return o;function o(_){return h(_)}function h(_){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(_),d}function d(_){return _===33?(e.consume(_),p):_===47?(e.consume(_),i=!0,y):_===63?(e.consume(_),a=3,n.interrupt?t:C):Je(_)?(e.consume(_),s=String.fromCharCode(_),N):r(_)}function p(_){return _===45?(e.consume(_),a=2,g):_===91?(e.consume(_),a=5,u=0,E):Je(_)?(e.consume(_),a=4,n.interrupt?t:C):r(_)}function g(_){return _===45?(e.consume(_),n.interrupt?t:C):r(_)}function E(_){const Qe="CDATA[";return _===Qe.charCodeAt(u++)?(e.consume(_),u===Qe.length?n.interrupt?t:F:E):r(_)}function y(_){return Je(_)?(e.consume(_),s=String.fromCharCode(_),N):r(_)}function N(_){if(_===null||_===47||_===62||ye(_)){const Qe=_===47,nt=s.toLowerCase();return!Qe&&!i&&sl.includes(nt)?(a=1,n.interrupt?t(_):F(_)):m8.includes(s.toLowerCase())?(a=6,Qe?(e.consume(_),S):n.interrupt?t(_):F(_)):(a=7,n.interrupt&&!n.parser.lazy[n.now().line]?r(_):i?D(_):O(_))}return _===45||Ge(_)?(e.consume(_),s+=String.fromCharCode(_),N):r(_)}function S(_){return _===62?(e.consume(_),n.interrupt?t:F):r(_)}function D(_){return pe(_)?(e.consume(_),D):M(_)}function O(_){return _===47?(e.consume(_),M):_===58||_===95||Je(_)?(e.consume(_),H):pe(_)?(e.consume(_),O):M(_)}function H(_){return _===45||_===46||_===58||_===95||Ge(_)?(e.consume(_),H):G(_)}function G(_){return _===61?(e.consume(_),R):pe(_)?(e.consume(_),G):O(_)}function R(_){return _===null||_===60||_===61||_===62||_===96?r(_):_===34||_===39?(e.consume(_),l=_,X):pe(_)?(e.consume(_),R):re(_)}function X(_){return _===l?(e.consume(_),l=null,Q):_===null||ne(_)?r(_):(e.consume(_),X)}function re(_){return _===null||_===34||_===39||_===47||_===60||_===61||_===62||_===96||ye(_)?G(_):(e.consume(_),re)}function Q(_){return _===47||_===62||pe(_)?O(_):r(_)}function M(_){return _===62?(e.consume(_),Z):r(_)}function Z(_){return _===null||ne(_)?F(_):pe(_)?(e.consume(_),Z):r(_)}function F(_){return _===45&&a===2?(e.consume(_),we):_===60&&a===1?(e.consume(_),Se):_===62&&a===4?(e.consume(_),Pe):_===63&&a===3?(e.consume(_),C):_===93&&a===5?(e.consume(_),lt):ne(_)&&(a===6||a===7)?(e.exit("htmlFlowData"),e.check(g8,De,ae)(_)):_===null||ne(_)?(e.exit("htmlFlowData"),ae(_)):(e.consume(_),F)}function ae(_){return e.check(b8,de,De)(_)}function de(_){return e.enter("lineEnding"),e.consume(_),e.exit("lineEnding"),ue}function ue(_){return _===null||ne(_)?ae(_):(e.enter("htmlFlowData"),F(_))}function we(_){return _===45?(e.consume(_),C):F(_)}function Se(_){return _===47?(e.consume(_),s="",Ue):F(_)}function Ue(_){if(_===62){const Qe=s.toLowerCase();return sl.includes(Qe)?(e.consume(_),Pe):F(_)}return Je(_)&&s.length<8?(e.consume(_),s+=String.fromCharCode(_),Ue):F(_)}function lt(_){return _===93?(e.consume(_),C):F(_)}function C(_){return _===62?(e.consume(_),Pe):_===45&&a===2?(e.consume(_),C):F(_)}function Pe(_){return _===null||ne(_)?(e.exit("htmlFlowData"),De(_)):(e.consume(_),Pe)}function De(_){return e.exit("htmlFlow"),t(_)}}function x8(e,t,r){const n=this;return a;function a(s){return ne(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i):r(s)}function i(s){return n.parser.lazy[n.now().line]?r(s):t(s)}}function y8(e,t,r){return n;function n(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),e.attempt(Yn,t,r)}}const v8={name:"htmlText",tokenize:k8};function k8(e,t,r){const n=this;let a,i,s;return u;function u(C){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(C),l}function l(C){return C===33?(e.consume(C),o):C===47?(e.consume(C),G):C===63?(e.consume(C),O):Je(C)?(e.consume(C),re):r(C)}function o(C){return C===45?(e.consume(C),h):C===91?(e.consume(C),i=0,E):Je(C)?(e.consume(C),D):r(C)}function h(C){return C===45?(e.consume(C),g):r(C)}function d(C){return C===null?r(C):C===45?(e.consume(C),p):ne(C)?(s=d,Se(C)):(e.consume(C),d)}function p(C){return C===45?(e.consume(C),g):d(C)}function g(C){return C===62?we(C):C===45?p(C):d(C)}function E(C){const Pe="CDATA[";return C===Pe.charCodeAt(i++)?(e.consume(C),i===Pe.length?y:E):r(C)}function y(C){return C===null?r(C):C===93?(e.consume(C),N):ne(C)?(s=y,Se(C)):(e.consume(C),y)}function N(C){return C===93?(e.consume(C),S):y(C)}function S(C){return C===62?we(C):C===93?(e.consume(C),S):y(C)}function D(C){return C===null||C===62?we(C):ne(C)?(s=D,Se(C)):(e.consume(C),D)}function O(C){return C===null?r(C):C===63?(e.consume(C),H):ne(C)?(s=O,Se(C)):(e.consume(C),O)}function H(C){return C===62?we(C):O(C)}function G(C){return Je(C)?(e.consume(C),R):r(C)}function R(C){return C===45||Ge(C)?(e.consume(C),R):X(C)}function X(C){return ne(C)?(s=X,Se(C)):pe(C)?(e.consume(C),X):we(C)}function re(C){return C===45||Ge(C)?(e.consume(C),re):C===47||C===62||ye(C)?Q(C):r(C)}function Q(C){return C===47?(e.consume(C),we):C===58||C===95||Je(C)?(e.consume(C),M):ne(C)?(s=Q,Se(C)):pe(C)?(e.consume(C),Q):we(C)}function M(C){return C===45||C===46||C===58||C===95||Ge(C)?(e.consume(C),M):Z(C)}function Z(C){return C===61?(e.consume(C),F):ne(C)?(s=Z,Se(C)):pe(C)?(e.consume(C),Z):Q(C)}function F(C){return C===null||C===60||C===61||C===62||C===96?r(C):C===34||C===39?(e.consume(C),a=C,ae):ne(C)?(s=F,Se(C)):pe(C)?(e.consume(C),F):(e.consume(C),de)}function ae(C){return C===a?(e.consume(C),a=void 0,ue):C===null?r(C):ne(C)?(s=ae,Se(C)):(e.consume(C),ae)}function de(C){return C===null||C===34||C===39||C===60||C===61||C===96?r(C):C===47||C===62||ye(C)?Q(C):(e.consume(C),de)}function ue(C){return C===47||C===62||ye(C)?Q(C):r(C)}function we(C){return C===62?(e.consume(C),e.exit("htmlTextData"),e.exit("htmlText"),t):r(C)}function Se(C){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(C),e.exit("lineEnding"),Ue}function Ue(C){return pe(C)?me(e,lt,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(C):lt(C)}function lt(C){return e.enter("htmlTextData"),s(C)}}const ps={name:"labelEnd",resolveAll:C8,resolveTo:_8,tokenize:N8},A8={tokenize:I8},w8={tokenize:D8},S8={tokenize:R8};function C8(e){let t=-1;const r=[];for(;++t<e.length;){const n=e[t][1];if(r.push(e[t]),n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd"){const a=n.type==="labelImage"?4:2;n.type="data",t+=a}}return e.length!==r.length&&Ye(e,0,e.length,r),e}function _8(e,t){let r=e.length,n=0,a,i,s,u;for(;r--;)if(a=e[r][1],i){if(a.type==="link"||a.type==="labelLink"&&a._inactive)break;e[r][0]==="enter"&&a.type==="labelLink"&&(a._inactive=!0)}else if(s){if(e[r][0]==="enter"&&(a.type==="labelImage"||a.type==="labelLink")&&!a._balanced&&(i=r,a.type!=="labelLink")){n=2;break}}else a.type==="labelEnd"&&(s=r);const l={type:e[i][1].type==="labelLink"?"link":"image",start:{...e[i][1].start},end:{...e[e.length-1][1].end}},o={type:"label",start:{...e[i][1].start},end:{...e[s][1].end}},h={type:"labelText",start:{...e[i+n+2][1].end},end:{...e[s-2][1].start}};return u=[["enter",l,t],["enter",o,t]],u=je(u,e.slice(i+1,i+n+3)),u=je(u,[["enter",h,t]]),u=je(u,tn(t.parser.constructs.insideSpan.null,e.slice(i+n+4,s-3),t)),u=je(u,[["exit",h,t],e[s-2],e[s-1],["exit",o,t]]),u=je(u,e.slice(s+1)),u=je(u,[["exit",l,t]]),Ye(e,i,e.length,u),e}function N8(e,t,r){const n=this;let a=n.events.length,i,s;for(;a--;)if((n.events[a][1].type==="labelImage"||n.events[a][1].type==="labelLink")&&!n.events[a][1]._balanced){i=n.events[a][1];break}return u;function u(p){return i?i._inactive?d(p):(s=n.parser.defined.includes(At(n.sliceSerialize({start:i.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(p),e.exit("labelMarker"),e.exit("labelEnd"),l):r(p)}function l(p){return p===40?e.attempt(A8,h,s?h:d)(p):p===91?e.attempt(w8,h,s?o:d)(p):s?h(p):d(p)}function o(p){return e.attempt(S8,h,d)(p)}function h(p){return t(p)}function d(p){return i._balanced=!0,r(p)}}function I8(e,t,r){return n;function n(d){return e.enter("resource"),e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),a}function a(d){return ye(d)?Sn(e,i)(d):i(d)}function i(d){return d===41?h(d):U1(e,s,u,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(d)}function s(d){return ye(d)?Sn(e,l)(d):h(d)}function u(d){return r(d)}function l(d){return d===34||d===39||d===40?$1(e,o,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(d):h(d)}function o(d){return ye(d)?Sn(e,h)(d):h(d)}function h(d){return d===41?(e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),e.exit("resource"),t):r(d)}}function D8(e,t,r){const n=this;return a;function a(u){return q1.call(n,e,i,s,"reference","referenceMarker","referenceString")(u)}function i(u){return n.parser.defined.includes(At(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(u):r(u)}function s(u){return r(u)}}function R8(e,t,r){return n;function n(i){return e.enter("reference"),e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),a}function a(i){return i===93?(e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),e.exit("reference"),t):r(i)}}const L8={name:"labelStartImage",resolveAll:ps.resolveAll,tokenize:O8};function O8(e,t,r){const n=this;return a;function a(u){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(u),e.exit("labelImageMarker"),i}function i(u){return u===91?(e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),e.exit("labelImage"),s):r(u)}function s(u){return u===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(u):t(u)}}const M8={name:"labelStartLink",resolveAll:ps.resolveAll,tokenize:P8};function P8(e,t,r){const n=this;return a;function a(s){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelLink"),i}function i(s){return s===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(s):t(s)}}const Ma={name:"lineEnding",tokenize:B8};function B8(e,t){return r;function r(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),me(e,t,"linePrefix")}}const b0={name:"thematicBreak",tokenize:F8};function F8(e,t,r){let n=0,a;return i;function i(o){return e.enter("thematicBreak"),s(o)}function s(o){return a=o,u(o)}function u(o){return o===a?(e.enter("thematicBreakSequence"),l(o)):n>=3&&(o===null||ne(o))?(e.exit("thematicBreak"),t(o)):r(o)}function l(o){return o===a?(e.consume(o),n++,l):(e.exit("thematicBreakSequence"),pe(o)?me(e,u,"whitespace")(o):u(o))}}const it={continuation:{tokenize:q8},exit:j8,name:"list",tokenize:U8},z8={partial:!0,tokenize:Y8},H8={partial:!0,tokenize:$8};function U8(e,t,r){const n=this,a=n.events[n.events.length-1];let i=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0,s=0;return u;function u(g){const E=n.containerState.type||(g===42||g===43||g===45?"listUnordered":"listOrdered");if(E==="listUnordered"?!n.containerState.marker||g===n.containerState.marker:di(g)){if(n.containerState.type||(n.containerState.type=E,e.enter(E,{_container:!0})),E==="listUnordered")return e.enter("listItemPrefix"),g===42||g===45?e.check(b0,r,o)(g):o(g);if(!n.interrupt||g===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(g)}return r(g)}function l(g){return di(g)&&++s<10?(e.consume(g),l):(!n.interrupt||s<2)&&(n.containerState.marker?g===n.containerState.marker:g===41||g===46)?(e.exit("listItemValue"),o(g)):r(g)}function o(g){return e.enter("listItemMarker"),e.consume(g),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||g,e.check(Yn,n.interrupt?r:h,e.attempt(z8,p,d))}function h(g){return n.containerState.initialBlankLine=!0,i++,p(g)}function d(g){return pe(g)?(e.enter("listItemPrefixWhitespace"),e.consume(g),e.exit("listItemPrefixWhitespace"),p):r(g)}function p(g){return n.containerState.size=i+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(g)}}function q8(e,t,r){const n=this;return n.containerState._closeFlow=void 0,e.check(Yn,a,i);function a(u){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,me(e,t,"listItemIndent",n.containerState.size+1)(u)}function i(u){return n.containerState.furtherBlankLines||!pe(u)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,s(u)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,e.attempt(H8,t,s)(u))}function s(u){return n.containerState._closeFlow=!0,n.interrupt=void 0,me(e,e.attempt(it,t,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u)}}function $8(e,t,r){const n=this;return me(e,a,"listItemIndent",n.containerState.size+1);function a(i){const s=n.events[n.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===n.containerState.size?t(i):r(i)}}function j8(e){e.exit(this.containerState.type)}function Y8(e,t,r){const n=this;return me(e,a,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function a(i){const s=n.events[n.events.length-1];return!pe(i)&&s&&s[1].type==="listItemPrefixWhitespace"?t(i):r(i)}}const ul={name:"setextUnderline",resolveTo:G8,tokenize:V8};function G8(e,t){let r=e.length,n,a,i;for(;r--;)if(e[r][0]==="enter"){if(e[r][1].type==="content"){n=r;break}e[r][1].type==="paragraph"&&(a=r)}else e[r][1].type==="content"&&e.splice(r,1),!i&&e[r][1].type==="definition"&&(i=r);const s={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[a][1].type="setextHeadingText",i?(e.splice(a,0,["enter",s,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end={...e[i][1].end}):e[n][1]=s,e.push(["exit",s,t]),e}function V8(e,t,r){const n=this;let a;return i;function i(o){let h=n.events.length,d;for(;h--;)if(n.events[h][1].type!=="lineEnding"&&n.events[h][1].type!=="linePrefix"&&n.events[h][1].type!=="content"){d=n.events[h][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||d)?(e.enter("setextHeadingLine"),a=o,s(o)):r(o)}function s(o){return e.enter("setextHeadingLineSequence"),u(o)}function u(o){return o===a?(e.consume(o),u):(e.exit("setextHeadingLineSequence"),pe(o)?me(e,l,"lineSuffix")(o):l(o))}function l(o){return o===null||ne(o)?(e.exit("setextHeadingLine"),t(o)):r(o)}}const W8={tokenize:r7,partial:!0};function X8(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:J8,continuation:{tokenize:e7},exit:t7}},text:{91:{name:"gfmFootnoteCall",tokenize:Z8},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Q8,resolveTo:K8}}}}function Q8(e,t,r){const n=this;let a=n.events.length;const i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let s;for(;a--;){const l=n.events[a][1];if(l.type==="labelImage"){s=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return u;function u(l){if(!s||!s._balanced)return r(l);const o=At(n.sliceSerialize({start:s.end,end:n.now()}));return o.codePointAt(0)!==94||!i.includes(o.slice(1))?r(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function K8(e,t){let r=e.length;for(;r--;)if(e[r][1].type==="labelImage"&&e[r][0]==="enter"){e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";const n={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},u=[e[r+1],e[r+2],["enter",n,t],e[r+3],e[r+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",s,t],["exit",s,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",n,t]];return e.splice(r,e.length-r+1,...u),e}function Z8(e,t,r){const n=this,a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let i=0,s;return u;function u(d){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),l}function l(d){return d!==94?r(d):(e.enter("gfmFootnoteCallMarker"),e.consume(d),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",o)}function o(d){if(i>999||d===93&&!s||d===null||d===91||ye(d))return r(d);if(d===93){e.exit("chunkString");const p=e.exit("gfmFootnoteCallString");return a.includes(At(n.sliceSerialize(p)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):r(d)}return ye(d)||(s=!0),i++,e.consume(d),d===92?h:o}function h(d){return d===91||d===92||d===93?(e.consume(d),i++,o):o(d)}}function J8(e,t,r){const n=this,a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let i,s=0,u;return l;function l(E){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(E),e.exit("gfmFootnoteDefinitionLabelMarker"),o}function o(E){return E===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(E),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",h):r(E)}function h(E){if(s>999||E===93&&!u||E===null||E===91||ye(E))return r(E);if(E===93){e.exit("chunkString");const y=e.exit("gfmFootnoteDefinitionLabelString");return i=At(n.sliceSerialize(y)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(E),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return ye(E)||(u=!0),s++,e.consume(E),E===92?d:h}function d(E){return E===91||E===92||E===93?(e.consume(E),s++,h):h(E)}function p(E){return E===58?(e.enter("definitionMarker"),e.consume(E),e.exit("definitionMarker"),a.includes(i)||a.push(i),me(e,g,"gfmFootnoteDefinitionWhitespace")):r(E)}function g(E){return t(E)}}function e7(e,t,r){return e.check(Yn,t,e.attempt(W8,t,r))}function t7(e){e.exit("gfmFootnoteDefinition")}function r7(e,t,r){const n=this;return me(e,a,"gfmFootnoteDefinitionIndent",5);function a(i){const s=n.events[n.events.length-1];return s&&s[1].type==="gfmFootnoteDefinitionIndent"&&s[2].sliceSerialize(s[1],!0).length===4?t(i):r(i)}}function n7(e){let r=(e||{}).singleTilde;const n={name:"strikethrough",tokenize:i,resolveAll:a};return r==null&&(r=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function a(s,u){let l=-1;for(;++l<s.length;)if(s[l][0]==="enter"&&s[l][1].type==="strikethroughSequenceTemporary"&&s[l][1]._close){let o=l;for(;o--;)if(s[o][0]==="exit"&&s[o][1].type==="strikethroughSequenceTemporary"&&s[o][1]._open&&s[l][1].end.offset-s[l][1].start.offset===s[o][1].end.offset-s[o][1].start.offset){s[l][1].type="strikethroughSequence",s[o][1].type="strikethroughSequence";const h={type:"strikethrough",start:Object.assign({},s[o][1].start),end:Object.assign({},s[l][1].end)},d={type:"strikethroughText",start:Object.assign({},s[o][1].end),end:Object.assign({},s[l][1].start)},p=[["enter",h,u],["enter",s[o][1],u],["exit",s[o][1],u],["enter",d,u]],g=u.parser.constructs.insideSpan.null;g&&Ye(p,p.length,0,tn(g,s.slice(o+1,l),u)),Ye(p,p.length,0,[["exit",d,u],["enter",s[l][1],u],["exit",s[l][1],u],["exit",h,u]]),Ye(s,o-1,l-o+3,p),l=o+p.length-2;break}}for(l=-1;++l<s.length;)s[l][1].type==="strikethroughSequenceTemporary"&&(s[l][1].type="data");return s}function i(s,u,l){const o=this.previous,h=this.events;let d=0;return p;function p(E){return o===126&&h[h.length-1][1].type!=="characterEscape"?l(E):(s.enter("strikethroughSequenceTemporary"),g(E))}function g(E){const y=Xr(o);if(E===126)return d>1?l(E):(s.consume(E),d++,g);if(d<2&&!r)return l(E);const N=s.exit("strikethroughSequenceTemporary"),S=Xr(E);return N._open=!S||S===2&&!!y,N._close=!y||y===2&&!!S,u(E)}}}class a7{constructor(){this.map=[]}add(t,r,n){i7(this,t,r,n)}consume(t){if(this.map.sort(function(i,s){return i[0]-s[0]}),this.map.length===0)return;let r=this.map.length;const n=[];for(;r>0;)r-=1,n.push(t.slice(this.map[r][0]+this.map[r][1]),this.map[r][2]),t.length=this.map[r][0];n.push(t.slice()),t.length=0;let a=n.pop();for(;a;){for(const i of a)t.push(i);a=n.pop()}this.map.length=0}}function i7(e,t,r,n){let a=0;if(!(r===0&&n.length===0)){for(;a<e.map.length;){if(e.map[a][0]===t){e.map[a][1]+=r,e.map[a][2].push(...n);return}a+=1}e.map.push([t,r,n])}}function s7(e,t){let r=!1;const n=[];for(;t<e.length;){const a=e[t];if(r){if(a[0]==="enter")a[1].type==="tableContent"&&n.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(a[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const i=n.length-1;n[i]=n[i]==="left"?"center":"right"}}else if(a[1].type==="tableDelimiterRow")break}else a[0]==="enter"&&a[1].type==="tableDelimiterRow"&&(r=!0);t+=1}return n}function u7(){return{flow:{null:{name:"table",tokenize:l7,resolveAll:o7}}}}function l7(e,t,r){const n=this;let a=0,i=0,s;return u;function u(M){let Z=n.events.length-1;for(;Z>-1;){const de=n.events[Z][1].type;if(de==="lineEnding"||de==="linePrefix")Z--;else break}const F=Z>-1?n.events[Z][1].type:null,ae=F==="tableHead"||F==="tableRow"?R:l;return ae===R&&n.parser.lazy[n.now().line]?r(M):ae(M)}function l(M){return e.enter("tableHead"),e.enter("tableRow"),o(M)}function o(M){return M===124||(s=!0,i+=1),h(M)}function h(M){return M===null?r(M):ne(M)?i>1?(i=0,n.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(M),e.exit("lineEnding"),g):r(M):pe(M)?me(e,h,"whitespace")(M):(i+=1,s&&(s=!1,a+=1),M===124?(e.enter("tableCellDivider"),e.consume(M),e.exit("tableCellDivider"),s=!0,h):(e.enter("data"),d(M)))}function d(M){return M===null||M===124||ye(M)?(e.exit("data"),h(M)):(e.consume(M),M===92?p:d)}function p(M){return M===92||M===124?(e.consume(M),d):d(M)}function g(M){return n.interrupt=!1,n.parser.lazy[n.now().line]?r(M):(e.enter("tableDelimiterRow"),s=!1,pe(M)?me(e,E,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(M):E(M))}function E(M){return M===45||M===58?N(M):M===124?(s=!0,e.enter("tableCellDivider"),e.consume(M),e.exit("tableCellDivider"),y):G(M)}function y(M){return pe(M)?me(e,N,"whitespace")(M):N(M)}function N(M){return M===58?(i+=1,s=!0,e.enter("tableDelimiterMarker"),e.consume(M),e.exit("tableDelimiterMarker"),S):M===45?(i+=1,S(M)):M===null||ne(M)?H(M):G(M)}function S(M){return M===45?(e.enter("tableDelimiterFiller"),D(M)):G(M)}function D(M){return M===45?(e.consume(M),D):M===58?(s=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(M),e.exit("tableDelimiterMarker"),O):(e.exit("tableDelimiterFiller"),O(M))}function O(M){return pe(M)?me(e,H,"whitespace")(M):H(M)}function H(M){return M===124?E(M):M===null||ne(M)?!s||a!==i?G(M):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(M)):G(M)}function G(M){return r(M)}function R(M){return e.enter("tableRow"),X(M)}function X(M){return M===124?(e.enter("tableCellDivider"),e.consume(M),e.exit("tableCellDivider"),X):M===null||ne(M)?(e.exit("tableRow"),t(M)):pe(M)?me(e,X,"whitespace")(M):(e.enter("data"),re(M))}function re(M){return M===null||M===124||ye(M)?(e.exit("data"),X(M)):(e.consume(M),M===92?Q:re)}function Q(M){return M===92||M===124?(e.consume(M),re):re(M)}}function o7(e,t){let r=-1,n=!0,a=0,i=[0,0,0,0],s=[0,0,0,0],u=!1,l=0,o,h,d;const p=new a7;for(;++r<e.length;){const g=e[r],E=g[1];g[0]==="enter"?E.type==="tableHead"?(u=!1,l!==0&&(ll(p,t,l,o,h),h=void 0,l=0),o={type:"table",start:Object.assign({},E.start),end:Object.assign({},E.end)},p.add(r,0,[["enter",o,t]])):E.type==="tableRow"||E.type==="tableDelimiterRow"?(n=!0,d=void 0,i=[0,0,0,0],s=[0,r+1,0,0],u&&(u=!1,h={type:"tableBody",start:Object.assign({},E.start),end:Object.assign({},E.end)},p.add(r,0,[["enter",h,t]])),a=E.type==="tableDelimiterRow"?2:h?3:1):a&&(E.type==="data"||E.type==="tableDelimiterMarker"||E.type==="tableDelimiterFiller")?(n=!1,s[2]===0&&(i[1]!==0&&(s[0]=s[1],d=l0(p,t,i,a,void 0,d),i=[0,0,0,0]),s[2]=r)):E.type==="tableCellDivider"&&(n?n=!1:(i[1]!==0&&(s[0]=s[1],d=l0(p,t,i,a,void 0,d)),i=s,s=[i[1],r,0,0])):E.type==="tableHead"?(u=!0,l=r):E.type==="tableRow"||E.type==="tableDelimiterRow"?(l=r,i[1]!==0?(s[0]=s[1],d=l0(p,t,i,a,r,d)):s[1]!==0&&(d=l0(p,t,s,a,r,d)),a=0):a&&(E.type==="data"||E.type==="tableDelimiterMarker"||E.type==="tableDelimiterFiller")&&(s[3]=r)}for(l!==0&&ll(p,t,l,o,h),p.consume(t.events),r=-1;++r<t.events.length;){const g=t.events[r];g[0]==="enter"&&g[1].type==="table"&&(g[1]._align=s7(t.events,r))}return e}function l0(e,t,r,n,a,i){const s=n===1?"tableHeader":n===2?"tableDelimiter":"tableData",u="tableContent";r[0]!==0&&(i.end=Object.assign({},Pr(t.events,r[0])),e.add(r[0],0,[["exit",i,t]]));const l=Pr(t.events,r[1]);if(i={type:s,start:Object.assign({},l),end:Object.assign({},l)},e.add(r[1],0,[["enter",i,t]]),r[2]!==0){const o=Pr(t.events,r[2]),h=Pr(t.events,r[3]),d={type:u,start:Object.assign({},o),end:Object.assign({},h)};if(e.add(r[2],0,[["enter",d,t]]),n!==2){const p=t.events[r[2]],g=t.events[r[3]];if(p[1].end=Object.assign({},g[1].end),p[1].type="chunkText",p[1].contentType="text",r[3]>r[2]+1){const E=r[2]+1,y=r[3]-r[2]-1;e.add(E,y,[])}}e.add(r[3]+1,0,[["exit",d,t]])}return a!==void 0&&(i.end=Object.assign({},Pr(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function ll(e,t,r,n,a){const i=[],s=Pr(t.events,r);a&&(a.end=Object.assign({},s),i.push(["exit",a,t])),n.end=Object.assign({},s),i.push(["exit",n,t]),e.add(r+1,0,i)}function Pr(e,t){const r=e[t],n=r[0]==="enter"?"start":"end";return r[1][n]}const c7={name:"tasklistCheck",tokenize:d7};function h7(){return{text:{91:c7}}}function d7(e,t,r){const n=this;return a;function a(l){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?r(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),i)}function i(l){return ye(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),s):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),s):r(l)}function s(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),u):r(l)}function u(l){return ne(l)?t(l):pe(l)?e.check({tokenize:f7},t,r)(l):r(l)}}function f7(e,t,r){return me(e,n,"whitespace");function n(a){return a===null?r(a):t(a)}}function m7(e){return _1([A5(),X8(),n7(e),u7(),h7()])}const p7={};function g7(e){const t=this,r=e||p7,n=t.data(),a=n.micromarkExtensions||(n.micromarkExtensions=[]),i=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);a.push(m7(r)),i.push(E5()),s.push(T5(r))}function b7(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:i},exit:{mathFlow:a,mathFlowFence:n,mathFlowFenceMeta:r,mathFlowValue:u,mathText:s,mathTextData:u}};function e(l){const o={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[o]}},l)}function t(){this.buffer()}function r(){const l=this.resume(),o=this.stack[this.stack.length-1];o.type,o.meta=l}function n(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function a(l){const o=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),h=this.stack[this.stack.length-1];h.type,this.exit(l),h.value=o;const d=h.data.hChildren[0];d.type,d.tagName,d.children.push({type:"text",value:o}),this.data.mathFlowInside=void 0}function i(l){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},l),this.buffer()}function s(l){const o=this.resume(),h=this.stack[this.stack.length-1];h.type,this.exit(l),h.value=o,h.data.hChildren.push({type:"text",value:o})}function u(l){this.config.enter.data.call(this,l),this.config.exit.data.call(this,l)}}function E7(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),n.peek=a,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
|
|
291
|
+
`,inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:r,inlineMath:n}};function r(i,s,u,l){const o=i.value||"",h=u.createTracker(l),d="$".repeat(Math.max(m1(o,"$")+1,2)),p=u.enter("mathFlow");let g=h.move(d);if(i.meta){const E=u.enter("mathFlowMeta");g+=h.move(u.safe(i.meta,{after:`
|
|
292
|
+
`,before:g,encode:["$"],...h.current()})),E()}return g+=h.move(`
|
|
293
|
+
`),o&&(g+=h.move(o+`
|
|
294
|
+
`)),g+=h.move(d),p(),g}function n(i,s,u){let l=i.value||"",o=1;for(t||o++;new RegExp("(^|[^$])"+"\\$".repeat(o)+"([^$]|$)").test(l);)o++;const h="$".repeat(o);/[^ \r\n]/.test(l)&&(/^[ \r\n]/.test(l)&&/[ \r\n]$/.test(l)||/^\$|\$$/.test(l))&&(l=" "+l+" ");let d=-1;for(;++d<u.unsafe.length;){const p=u.unsafe[d];if(!p.atBreak)continue;const g=u.compilePattern(p);let E;for(;E=g.exec(l);){let y=E.index;l.codePointAt(y)===10&&l.codePointAt(y-1)===13&&y--,l=l.slice(0,y)+" "+l.slice(E.index+1)}}return h+l+h}function a(){return"$"}}const T7={tokenize:x7,concrete:!0,name:"mathFlow"},ol={tokenize:y7,partial:!0};function x7(e,t,r){const n=this,a=n.events[n.events.length-1],i=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0;let s=0;return u;function u(D){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),l(D)}function l(D){return D===36?(e.consume(D),s++,l):s<2?r(D):(e.exit("mathFlowFenceSequence"),me(e,o,"whitespace")(D))}function o(D){return D===null||ne(D)?d(D):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),h(D))}function h(D){return D===null||ne(D)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),d(D)):D===36?r(D):(e.consume(D),h)}function d(D){return e.exit("mathFlowFence"),n.interrupt?t(D):e.attempt(ol,p,N)(D)}function p(D){return e.attempt({tokenize:S,partial:!0},N,g)(D)}function g(D){return(i?me(e,E,"linePrefix",i+1):E)(D)}function E(D){return D===null?N(D):ne(D)?e.attempt(ol,p,N)(D):(e.enter("mathFlowValue"),y(D))}function y(D){return D===null||ne(D)?(e.exit("mathFlowValue"),E(D)):(e.consume(D),y)}function N(D){return e.exit("mathFlow"),t(D)}function S(D,O,H){let G=0;return me(D,R,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function R(Q){return D.enter("mathFlowFence"),D.enter("mathFlowFenceSequence"),X(Q)}function X(Q){return Q===36?(G++,D.consume(Q),X):G<s?H(Q):(D.exit("mathFlowFenceSequence"),me(D,re,"whitespace")(Q))}function re(Q){return Q===null||ne(Q)?(D.exit("mathFlowFence"),O(Q)):H(Q)}}}function y7(e,t,r){const n=this;return a;function a(s){return s===null?t(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i)}function i(s){return n.parser.lazy[n.now().line]?r(s):t(s)}}function v7(e){let r=(e||{}).singleDollarTextMath;return r==null&&(r=!0),{tokenize:n,resolve:k7,previous:A7,name:"mathText"};function n(a,i,s){let u=0,l,o;return h;function h(y){return a.enter("mathText"),a.enter("mathTextSequence"),d(y)}function d(y){return y===36?(a.consume(y),u++,d):u<2&&!r?s(y):(a.exit("mathTextSequence"),p(y))}function p(y){return y===null?s(y):y===36?(o=a.enter("mathTextSequence"),l=0,E(y)):y===32?(a.enter("space"),a.consume(y),a.exit("space"),p):ne(y)?(a.enter("lineEnding"),a.consume(y),a.exit("lineEnding"),p):(a.enter("mathTextData"),g(y))}function g(y){return y===null||y===32||y===36||ne(y)?(a.exit("mathTextData"),p(y)):(a.consume(y),g)}function E(y){return y===36?(a.consume(y),l++,E):l===u?(a.exit("mathTextSequence"),a.exit("mathText"),i(y)):(o.type="mathTextData",g(y))}}}function k7(e){let t=e.length-4,r=3,n,a;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="mathTextData"){e[t][1].type="mathTextPadding",e[r][1].type="mathTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)a===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(a=n):(n===t||e[n][1].type==="lineEnding")&&(e[a][1].type="mathTextData",n!==a+2&&(e[a][1].end=e[n-1][1].end,e.splice(a+2,n-a-2),t-=n-a-2,n=a+2),a=void 0);return e}function A7(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function w7(e){return{flow:{36:T7},text:{36:v7(e)}}}const S7={};function gi(e){const t=this,r=e||S7,n=t.data(),a=n.micromarkExtensions||(n.micromarkExtensions=[]),i=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);a.push(w7(r)),i.push(b7()),s.push(E7(r))}var C7=/(\*\*)([^*]*?)$/,_7=/(__)([^_]*?)$/,N7=/(\*\*\*)([^*]*?)$/,I7=/(\*)([^*]*?)$/,D7=/(_)([^_]*?)$/,R7=/(`)([^`]*?)$/,L7=/(~~)([^~]*?)$/,_r=/^[\s_~*`]*$/,j1=/^[\s]*[-*+][\s]+$/,O7=/[\p{L}\p{N}_]/u,M7=/^```[^`\n]*```?$/,P7=/^\*{4,}$/,cr=e=>{if(!e)return!1;let t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122||t===95?!0:O7.test(e)},na=e=>{let t=(e.match(/```/g)||[]).length;return t>0&&t%2===0&&e.includes(`
|
|
295
|
+
`)},B7=(e,t)=>{let r=1;for(let n=t-1;n>=0;n-=1)if(e[n]==="]")r+=1;else if(e[n]==="["&&(r-=1,r===0))return n;return-1},F7=(e,t)=>{let r=1;for(let n=t+1;n<e.length;n+=1)if(e[n]==="[")r+=1;else if(e[n]==="]"&&(r-=1,r===0))return n;return-1},Y1=(e,t)=>{let r=!1,n=!1;for(let a=0;a<e.length&&a<t;a+=1){if(e[a]==="\\"&&e[a+1]==="$"){a+=1;continue}e[a]==="$"&&(e[a+1]==="$"?(n=!n,a+=1,r=!1):n||(r=!r))}return r||n},z7=(e,t,r)=>{if(r!==" "&&r!==" ")return!1;let n=0;for(let a=t-1;a>=0;a-=1)if(e[a]===`
|
|
296
|
+
`){n=a+1;break}for(let a=n;a<t;a+=1)if(e[a]!==" "&&e[a]!==" ")return!1;return!0},H7=(e,t,r,n)=>!!(r==="\\"||r==="*"||n==="*"||r&&n&&cr(r)&&cr(n)||z7(e,t,n)),U7=e=>{let t=0,r=e.length;for(let n=0;n<r;n+=1){if(e[n]!=="*")continue;let a=n>0?e[n-1]:"",i=n<r-1?e[n+1]:"";H7(e,n,a,i)||(t+=1)}return t},q7=(e,t,r,n)=>!!(r==="\\"||e.includes("$")&&Y1(e,t)||r==="_"||n==="_"||r&&n&&cr(r)&&cr(n)),$7=e=>{let t=0,r=e.length;for(let n=0;n<r;n+=1){if(e[n]!=="_")continue;let a=n>0?e[n-1]:"",i=n<r-1?e[n+1]:"";q7(e,n,a,i)||(t+=1)}return t},j7=e=>{let t=0,r=0;for(let n=0;n<e.length;n+=1)e[n]==="*"?r+=1:(r>=3&&(t+=Math.floor(r/3)),r=0);return r>=3&&(t+=Math.floor(r/3)),t},Y7=e=>{if(na(e))return e;let t=e.match(C7);if(t){let r=t[2];if(!r||_r.test(r))return e;let n=e.lastIndexOf(t[1]),a=e.substring(0,n).lastIndexOf(`
|
|
297
|
+
`),i=a===-1?0:a+1,s=e.substring(i,n);if(j1.test(s)&&r.includes(`
|
|
298
|
+
`))return e;if((e.match(/\*\*/g)||[]).length%2===1)return`${e}**`}return e},G7=e=>{let t=e.match(_7);if(t){let r=t[2];if(!r||_r.test(r))return e;let n=e.lastIndexOf(t[1]),a=e.substring(0,n).lastIndexOf(`
|
|
299
|
+
`),i=a===-1?0:a+1,s=e.substring(i,n);if(j1.test(s)&&r.includes(`
|
|
300
|
+
`))return e;if((e.match(/__/g)||[]).length%2===1)return`${e}__`}return e},V7=e=>{for(let t=0;t<e.length;t+=1)if(e[t]==="*"&&e[t-1]!=="*"&&e[t+1]!=="*"&&e[t-1]!=="\\"){let r=t>0?e[t-1]:"",n=t<e.length-1?e[t+1]:"";if(r&&n&&cr(r)&&cr(n))continue;return t}return-1},W7=e=>{if(na(e)||!e.match(I7))return e;let t=V7(e);if(t===-1)return e;let r=e.substring(t+1);return!r||_r.test(r)?e:U7(e)%2===1?`${e}*`:e},X7=e=>{for(let t=0;t<e.length;t+=1)if(e[t]==="_"&&e[t-1]!=="_"&&e[t+1]!=="_"&&e[t-1]!=="\\"&&!Y1(e,t)){let r=t>0?e[t-1]:"",n=t<e.length-1?e[t+1]:"";if(r&&n&&cr(r)&&cr(n))continue;return t}return-1},Q7=e=>{let t=e.length;for(;t>0&&e[t-1]===`
|
|
301
|
+
`;)t-=1;if(t<e.length){let r=e.slice(0,t),n=e.slice(t);return`${r}_${n}`}return`${e}_`},K7=e=>{if(na(e)||!e.match(D7))return e;let t=X7(e);if(t===-1)return e;let r=e.substring(t+1);return!r||_r.test(r)?e:$7(e)%2===1?Q7(e):e},Z7=e=>{if(na(e)||P7.test(e))return e;let t=e.match(N7);if(t){let r=t[2];if(!r||_r.test(r))return e;if(j7(e)%2===1)return`${e}***`}return e},bi=(e,t)=>{let r=!1,n=!1;for(let a=0;a<t;a+=1){if(e.substring(a,a+3)==="```"){n=!n,a+=2;continue}!n&&e[a]==="`"&&(r=!r)}return r||n},J7=(e,t)=>{let r=e.substring(t,t+3)==="```",n=t>0&&e.substring(t-1,t+2)==="```",a=t>1&&e.substring(t-2,t+1)==="```";return r||n||a},eg=e=>{let t=0;for(let r=0;r<e.length;r+=1)e[r]==="`"&&!J7(e,r)&&(t+=1);return t},tg=e=>!e.match(M7)||e.includes(`
|
|
302
|
+
`)?null:e.endsWith("``")&&!e.endsWith("```")?`${e}\``:e,rg=e=>{let t=(e.match(/```/g)||[]).length;return!!(t>0&&t%2===0&&e.includes(`
|
|
303
|
+
`)||(e.endsWith("```\n")||e.endsWith("```"))&&t%2===0)},ng=e=>(e.match(/```/g)||[]).length%2===1,ag=e=>{let t=tg(e);if(t!==null)return t;if(rg(e))return e;let r=e.match(R7);if(r&&!ng(e)){let n=r[2];if(!n||_r.test(n))return e;if(eg(e)%2===1)return`${e}\``}return e},ig=e=>{if((e.match(/\$\$/g)||[]).length%2===0)return e;let t=e.indexOf("$$");return t!==-1&&e.indexOf(`
|
|
304
|
+
`,t)!==-1&&!e.endsWith(`
|
|
305
|
+
`)?`${e}
|
|
306
|
+
$$`:`${e}$$`},sg=(e,t)=>{if(e.substring(t+2).includes(")"))return null;let r=B7(e,t);if(r===-1||bi(e,r))return null;let n=r>0&&e[r-1]==="!",a=n?r-1:r,i=e.substring(0,a);if(n)return i;let s=e.substring(r+1,t);return`${i}[${s}](streamdown:incomplete-link)`},ug=(e,t)=>{let r=t>0&&e[t-1]==="!",n=r?t-1:t;if(!e.substring(t+1).includes("]")){let a=e.substring(0,n);return r?a:`${e}](streamdown:incomplete-link)`}if(F7(e,t)===-1){let a=e.substring(0,n);return r?a:`${e}](streamdown:incomplete-link)`}return null},lg=e=>{let t=e.lastIndexOf("](");if(t!==-1&&!bi(e,t)){let r=sg(e,t);if(r!==null)return r}for(let r=e.length-1;r>=0;r-=1)if(e[r]==="["&&!bi(e,r)){let n=ug(e,r);if(n!==null)return n}return e},og=e=>{let t=e.match(L7);if(t){let r=t[2];if(!r||_r.test(r))return e;if((e.match(/~~/g)||[]).length%2===1)return`${e}~~`}return e},cg=e=>{if(!e||typeof e!="string")return e;let t=e,r=lg(t);return r.endsWith("](streamdown:incomplete-link)")?r:(t=r,t=Z7(t),t=Y7(t),t=G7(t),t=W7(t),t=K7(t),t=ag(t),t=og(t),t=ig(t),t)},hg=cg;const dg=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,fg=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,mg={};function cl(e,t){return(mg.jsx?fg:dg).test(e)}var gs={},hl=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,pg=/\n/g,gg=/^\s*/,bg=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Eg=/^:\s*/,Tg=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,xg=/^[;\s]*/,yg=/^\s+|\s+$/g,vg=`
|
|
307
|
+
`,dl="/",fl="*",xr="",kg="comment",Ag="declaration";function wg(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var r=1,n=1;function a(E){var y=E.match(pg);y&&(r+=y.length);var N=E.lastIndexOf(vg);n=~N?E.length-N:n+E.length}function i(){var E={line:r,column:n};return function(y){return y.position=new s(E),o(),y}}function s(E){this.start=E,this.end={line:r,column:n},this.source=t.source}s.prototype.content=e;function u(E){var y=new Error(t.source+":"+r+":"+n+": "+E);if(y.reason=E,y.filename=t.source,y.line=r,y.column=n,y.source=e,!t.silent)throw y}function l(E){var y=E.exec(e);if(y){var N=y[0];return a(N),e=e.slice(N.length),y}}function o(){l(gg)}function h(E){var y;for(E=E||[];y=d();)y!==!1&&E.push(y);return E}function d(){var E=i();if(!(dl!=e.charAt(0)||fl!=e.charAt(1))){for(var y=2;xr!=e.charAt(y)&&(fl!=e.charAt(y)||dl!=e.charAt(y+1));)++y;if(y+=2,xr===e.charAt(y-1))return u("End of comment missing");var N=e.slice(2,y-2);return n+=2,a(N),e=e.slice(y),n+=2,E({type:kg,comment:N})}}function p(){var E=i(),y=l(bg);if(y){if(d(),!l(Eg))return u("property missing ':'");var N=l(Tg),S=E({type:Ag,property:ml(y[0].replace(hl,xr)),value:N?ml(N[0].replace(hl,xr)):xr});return l(xg),S}}function g(){var E=[];h(E);for(var y;y=p();)y!==!1&&(E.push(y),h(E));return E}return o(),g()}function ml(e){return e?e.replace(yg,xr):xr}var Sg=wg,Cg=T0&&T0.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(gs,"__esModule",{value:!0});gs.default=Ng;const _g=Cg(Sg);function Ng(e,t){let r=null;if(!e||typeof e!="string")return r;const n=(0,_g.default)(e),a=typeof t=="function";return n.forEach(i=>{if(i.type!=="declaration")return;const{property:s,value:u}=i;a?t(s,u,i):u&&(r=r||{},r[s]=u)}),r}var aa={};Object.defineProperty(aa,"__esModule",{value:!0});aa.camelCase=void 0;var Ig=/^--[a-zA-Z0-9_-]+$/,Dg=/-([a-z])/g,Rg=/^[^-]+$/,Lg=/^-(webkit|moz|ms|o|khtml)-/,Og=/^-(ms)-/,Mg=function(e){return!e||Rg.test(e)||Ig.test(e)},Pg=function(e,t){return t.toUpperCase()},pl=function(e,t){return"".concat(t,"-")},Bg=function(e,t){return t===void 0&&(t={}),Mg(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(Og,pl):e=e.replace(Lg,pl),e.replace(Dg,Pg))};aa.camelCase=Bg;var Fg=T0&&T0.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},zg=Fg(gs),Hg=aa;function Ei(e,t){var r={};return!e||typeof e!="string"||(0,zg.default)(e,function(n,a){n&&a&&(r[(0,Hg.camelCase)(n,t)]=a)}),r}Ei.default=Ei;var Ug=Ei;const qg=Xl(Ug);function Cn(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?gl(e.position):"start"in e||"end"in e?gl(e):"line"in e||"column"in e?Ti(e):""}function Ti(e){return bl(e&&e.line)+":"+bl(e&&e.column)}function gl(e){return Ti(e&&e.start)+"-"+Ti(e&&e.end)}function bl(e){return e&&typeof e=="number"?e:1}class Xe extends Error{constructor(t,r,n){super(),typeof r=="string"&&(n=r,r=void 0);let a="",i={},s=!1;if(r&&("line"in r&&"column"in r?i={place:r}:"start"in r&&"end"in r?i={place:r}:"type"in r?i={ancestors:[r],place:r.position}:i={...r}),typeof t=="string"?a=t:!i.cause&&t&&(s=!0,a=t.message,i.cause=t),!i.ruleId&&!i.source&&typeof n=="string"){const l=n.indexOf(":");l===-1?i.ruleId=n:(i.source=n.slice(0,l),i.ruleId=n.slice(l+1))}if(!i.place&&i.ancestors&&i.ancestors){const l=i.ancestors[i.ancestors.length-1];l&&(i.place=l.position)}const u=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=u?u.column:void 0,this.fatal=void 0,this.file="",this.message=a,this.line=u?u.line:void 0,this.name=Cn(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=s&&i.cause&&typeof i.cause.stack=="string"?i.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Xe.prototype.file="";Xe.prototype.name="";Xe.prototype.reason="";Xe.prototype.message="";Xe.prototype.stack="";Xe.prototype.column=void 0;Xe.prototype.line=void 0;Xe.prototype.ancestors=void 0;Xe.prototype.cause=void 0;Xe.prototype.fatal=void 0;Xe.prototype.place=void 0;Xe.prototype.ruleId=void 0;Xe.prototype.source=void 0;const bs={}.hasOwnProperty,$g=new Map,jg=/[A-Z]/g,Yg=new Set(["table","tbody","thead","tfoot","tr"]),Gg=new Set(["td","th"]),G1="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Vg(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const r=t.filePath||void 0;let n;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");n=tb(r,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");n=eb(r,t.jsx,t.jsxs)}const a={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:n,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?hr:Pn,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},i=V1(a,e,void 0);return i&&typeof i!="string"?i:a.create(e,a.Fragment,{children:i||void 0},void 0)}function V1(e,t,r){if(t.type==="element")return Wg(e,t,r);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return Xg(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return Kg(e,t,r);if(t.type==="mdxjsEsm")return Qg(e,t);if(t.type==="root")return Zg(e,t,r);if(t.type==="text")return Jg(e,t)}function Wg(e,t,r){const n=e.schema;let a=n;t.tagName.toLowerCase()==="svg"&&n.space==="html"&&(a=hr,e.schema=a),e.ancestors.push(t);const i=X1(e,t.tagName,!1),s=rb(e,t);let u=Ts(e,t);return Yg.has(t.tagName)&&(u=u.filter(function(l){return typeof l=="string"?!rd(l):!0})),W1(e,s,i,t),Es(s,u),e.ancestors.pop(),e.schema=n,e.create(t,i,s,r)}function Xg(e,t){if(t.data&&t.data.estree&&e.evaluater){const n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}Mn(e,t.position)}function Qg(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Mn(e,t.position)}function Kg(e,t,r){const n=e.schema;let a=n;t.name==="svg"&&n.space==="html"&&(a=hr,e.schema=a),e.ancestors.push(t);const i=t.name===null?e.Fragment:X1(e,t.name,!0),s=nb(e,t),u=Ts(e,t);return W1(e,s,i,t),Es(s,u),e.ancestors.pop(),e.schema=n,e.create(t,i,s,r)}function Zg(e,t,r){const n={};return Es(n,Ts(e,t)),e.create(t,e.Fragment,n,r)}function Jg(e,t){return t.value}function W1(e,t,r,n){typeof r!="string"&&r!==e.Fragment&&e.passNode&&(t.node=n)}function Es(e,t){if(t.length>0){const r=t.length>1?t:t[0];r&&(e.children=r)}}function eb(e,t,r){return n;function n(a,i,s,u){const o=Array.isArray(s.children)?r:t;return u?o(i,s,u):o(i,s)}}function tb(e,t){return r;function r(n,a,i,s){const u=Array.isArray(i.children),l=Bt(n);return t(a,i,s,u,{columnNumber:l?l.column-1:void 0,fileName:e,lineNumber:l?l.line:void 0},void 0)}}function rb(e,t){const r={};let n,a;for(a in t.properties)if(a!=="children"&&bs.call(t.properties,a)){const i=ab(e,a,t.properties[a]);if(i){const[s,u]=i;e.tableCellAlignToStyle&&s==="align"&&typeof u=="string"&&Gg.has(t.tagName)?n=u:r[s]=u}}if(n){const i=r.style||(r.style={});i[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=n}return r}function nb(e,t){const r={};for(const n of t.attributes)if(n.type==="mdxJsxExpressionAttribute")if(n.data&&n.data.estree&&e.evaluater){const i=n.data.estree.body[0];i.type;const s=i.expression;s.type;const u=s.properties[0];u.type,Object.assign(r,e.evaluater.evaluateExpression(u.argument))}else Mn(e,t.position);else{const a=n.name;let i;if(n.value&&typeof n.value=="object")if(n.value.data&&n.value.data.estree&&e.evaluater){const u=n.value.data.estree.body[0];u.type,i=e.evaluater.evaluateExpression(u.expression)}else Mn(e,t.position);else i=n.value===null?!0:n.value;r[a]=i}return r}function Ts(e,t){const r=[];let n=-1;const a=e.passKeys?new Map:$g;for(;++n<t.children.length;){const i=t.children[n];let s;if(e.passKeys){const l=i.type==="element"?i.tagName:i.type==="mdxJsxFlowElement"||i.type==="mdxJsxTextElement"?i.name:void 0;if(l){const o=a.get(l)||0;s=l+"-"+o,a.set(l,o+1)}}const u=V1(e,i,s);u!==void 0&&r.push(u)}return r}function ab(e,t,r){const n=B0(e.schema,t);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=n.commaSeparated?Kl(r):Zl(r)),n.property==="style"){let a=typeof r=="object"?r:ib(e,String(r));return e.stylePropertyNameCase==="css"&&(a=sb(a)),["style",a]}return[e.elementAttributeNameCase==="react"&&n.space?vd[n.property]||n.property:n.attribute,r]}}function ib(e,t){try{return qg(t,{reactCompat:!0})}catch(r){if(e.ignoreInvalidStyle)return{};const n=r,a=new Xe("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw a.file=e.filePath||void 0,a.url=G1+"#cannot-parse-style-attribute",a}}function X1(e,t,r){let n;if(!r)n={type:"Literal",value:t};else if(t.includes(".")){const a=t.split(".");let i=-1,s;for(;++i<a.length;){const u=cl(a[i])?{type:"Identifier",name:a[i]}:{type:"Literal",value:a[i]};s=s?{type:"MemberExpression",object:s,property:u,computed:!!(i&&u.type==="Literal"),optional:!1}:u}n=s}else n=cl(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(n.type==="Literal"){const a=n.value;return bs.call(e.components,a)?e.components[a]:a}if(e.evaluater)return e.evaluater.evaluateExpression(n);Mn(e)}function Mn(e,t){const r=new Xe("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=G1+"#cannot-handle-mdx-estrees-without-createevaluater",r}function sb(e){const t={};let r;for(r in e)bs.call(e,r)&&(t[ub(r)]=e[r]);return t}function ub(e){let t=e.replace(jg,lb);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function lb(e){return"-"+e.toLowerCase()}const ob={tokenize:cb};function cb(e){const t=e.attempt(this.parser.constructs.contentInitial,n,a);let r;return t;function n(u){if(u===null){e.consume(u);return}return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),me(e,t,"linePrefix")}function a(u){return e.enter("paragraph"),i(u)}function i(u){const l=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=l),r=l,s(u)}function s(u){if(u===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(u);return}return ne(u)?(e.consume(u),e.exit("chunkText"),i):(e.consume(u),s)}}const hb={tokenize:db},El={tokenize:fb};function db(e){const t=this,r=[];let n=0,a,i,s;return u;function u(O){if(n<r.length){const H=r[n];return t.containerState=H[1],e.attempt(H[0].continuation,l,o)(O)}return o(O)}function l(O){if(n++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,a&&D();const H=t.events.length;let G=H,R;for(;G--;)if(t.events[G][0]==="exit"&&t.events[G][1].type==="chunkFlow"){R=t.events[G][1].end;break}S(n);let X=H;for(;X<t.events.length;)t.events[X][1].end={...R},X++;return Ye(t.events,G+1,0,t.events.slice(H)),t.events.length=X,o(O)}return u(O)}function o(O){if(n===r.length){if(!a)return p(O);if(a.currentConstruct&&a.currentConstruct.concrete)return E(O);t.interrupt=!!(a.currentConstruct&&!a._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(El,h,d)(O)}function h(O){return a&&D(),S(n),p(O)}function d(O){return t.parser.lazy[t.now().line]=n!==r.length,s=t.now().offset,E(O)}function p(O){return t.containerState={},e.attempt(El,g,E)(O)}function g(O){return n++,r.push([t.currentConstruct,t.containerState]),p(O)}function E(O){if(O===null){a&&D(),S(0),e.consume(O);return}return a=a||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:a,contentType:"flow",previous:i}),y(O)}function y(O){if(O===null){N(e.exit("chunkFlow"),!0),S(0),e.consume(O);return}return ne(O)?(e.consume(O),N(e.exit("chunkFlow")),n=0,t.interrupt=void 0,u):(e.consume(O),y)}function N(O,H){const G=t.sliceStream(O);if(H&&G.push(null),O.previous=i,i&&(i.next=O),i=O,a.defineSkip(O.start),a.write(G),t.parser.lazy[O.start.line]){let R=a.events.length;for(;R--;)if(a.events[R][1].start.offset<s&&(!a.events[R][1].end||a.events[R][1].end.offset>s))return;const X=t.events.length;let re=X,Q,M;for(;re--;)if(t.events[re][0]==="exit"&&t.events[re][1].type==="chunkFlow"){if(Q){M=t.events[re][1].end;break}Q=!0}for(S(n),R=X;R<t.events.length;)t.events[R][1].end={...M},R++;Ye(t.events,re+1,0,t.events.slice(X)),t.events.length=R}}function S(O){let H=r.length;for(;H-- >O;){const G=r[H];t.containerState=G[1],G[0].exit.call(t,e)}r.length=O}function D(){a.write([null]),i=void 0,a=void 0,t.containerState._closeFlow=void 0}}function fb(e,t,r){return me(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}const mb={tokenize:pb};function pb(e){const t=this,r=e.attempt(Yn,n,e.attempt(this.parser.constructs.flowInitial,a,me(e,e.attempt(this.parser.constructs.flow,a,e.attempt(e8,a)),"linePrefix")));return r;function n(i){if(i===null){e.consume(i);return}return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}function a(i){if(i===null){e.consume(i);return}return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t.currentConstruct=void 0,r}}const gb={resolveAll:K1()},bb=Q1("string"),Eb=Q1("text");function Q1(e){return{resolveAll:K1(e==="text"?Tb:void 0),tokenize:t};function t(r){const n=this,a=this.parser.constructs[e],i=r.attempt(a,s,u);return s;function s(h){return o(h)?i(h):u(h)}function u(h){if(h===null){r.consume(h);return}return r.enter("data"),r.consume(h),l}function l(h){return o(h)?(r.exit("data"),i(h)):(r.consume(h),l)}function o(h){if(h===null)return!0;const d=a[h];let p=-1;if(d)for(;++p<d.length;){const g=d[p];if(!g.previous||g.previous.call(n,n.previous))return!0}return!1}}}function K1(e){return t;function t(r,n){let a=-1,i;for(;++a<=r.length;)i===void 0?r[a]&&r[a][1].type==="data"&&(i=a,a++):(!r[a]||r[a][1].type!=="data")&&(a!==i+2&&(r[i][1].end=r[a-1][1].end,r.splice(i+2,a-i-2),a=i+2),i=void 0);return e?e(r,n):r}}function Tb(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||e[r][1].type==="lineEnding")&&e[r-1][1].type==="data"){const n=e[r-1][1],a=t.sliceStream(n);let i=a.length,s=-1,u=0,l;for(;i--;){const o=a[i];if(typeof o=="string"){for(s=o.length;o.charCodeAt(s-1)===32;)u++,s--;if(s)break;s=-1}else if(o===-2)l=!0,u++;else if(o!==-1){i++;break}}if(t._contentTypeTextTrailing&&r===e.length&&(u=0),u){const o={type:r===e.length||l||u<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:i?s:n.start._bufferIndex+s,_index:n.start._index+i,line:n.end.line,column:n.end.column-u,offset:n.end.offset-u},end:{...n.end}};n.end={...o.start},n.start.offset===n.end.offset?Object.assign(n,o):(e.splice(r,0,["enter",o,t],["exit",o,t]),r+=2)}r++}return e}const xb={42:it,43:it,45:it,48:it,49:it,50:it,51:it,52:it,53:it,54:it,55:it,56:it,57:it,62:B1},yb={91:i8},vb={[-2]:Oa,[-1]:Oa,32:Oa},kb={35:h8,42:b0,45:[ul,b0],60:p8,61:ul,95:b0,96:il,126:il},Ab={38:z1,92:F1},wb={[-5]:Ma,[-4]:Ma,[-3]:Ma,33:L8,38:z1,42:pi,60:[M5,v8],91:M8,92:[o8,F1],93:ps,95:pi,96:W5},Sb={null:[pi,gb]},Cb={null:[42,95]},_b={null:[]},Nb=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:Cb,contentInitial:yb,disable:_b,document:xb,flow:kb,flowInitial:vb,insideSpan:Sb,string:Ab,text:wb},Symbol.toStringTag,{value:"Module"}));function Ib(e,t,r){let n={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0};const a={},i=[];let s=[],u=[];const l={attempt:X(G),check:X(R),consume:D,enter:O,exit:H,interrupt:X(R,{interrupt:!0})},o={code:null,containerState:{},defineSkip:y,events:[],now:E,parser:e,previous:null,sliceSerialize:p,sliceStream:g,write:d};let h=t.tokenize.call(o,l);return t.resolveAll&&i.push(t),o;function d(Z){return s=je(s,Z),N(),s[s.length-1]!==null?[]:(re(t,0),o.events=tn(i,o.events,o),o.events)}function p(Z,F){return Rb(g(Z),F)}function g(Z){return Db(s,Z)}function E(){const{_bufferIndex:Z,_index:F,line:ae,column:de,offset:ue}=n;return{_bufferIndex:Z,_index:F,line:ae,column:de,offset:ue}}function y(Z){a[Z.line]=Z.column,M()}function N(){let Z;for(;n._index<s.length;){const F=s[n._index];if(typeof F=="string")for(Z=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===Z&&n._bufferIndex<F.length;)S(F.charCodeAt(n._bufferIndex));else S(F)}}function S(Z){h=h(Z)}function D(Z){ne(Z)?(n.line++,n.column=1,n.offset+=Z===-3?2:1,M()):Z!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===s[n._index].length&&(n._bufferIndex=-1,n._index++)),o.previous=Z}function O(Z,F){const ae=F||{};return ae.type=Z,ae.start=E(),o.events.push(["enter",ae,o]),u.push(ae),ae}function H(Z){const F=u.pop();return F.end=E(),o.events.push(["exit",F,o]),F}function G(Z,F){re(Z,F.from)}function R(Z,F){F.restore()}function X(Z,F){return ae;function ae(de,ue,we){let Se,Ue,lt,C;return Array.isArray(de)?De(de):"tokenize"in de?De([de]):Pe(de);function Pe(Be){return mt;function mt(xt){const ot=xt!==null&&Be[xt],yt=xt!==null&&Be.null,zt=[...Array.isArray(ot)?ot:ot?[ot]:[],...Array.isArray(yt)?yt:yt?[yt]:[]];return De(zt)(xt)}}function De(Be){return Se=Be,Ue=0,Be.length===0?we:_(Be[Ue])}function _(Be){return mt;function mt(xt){return C=Q(),lt=Be,Be.partial||(o.currentConstruct=Be),Be.name&&o.parser.constructs.disable.null.includes(Be.name)?nt():Be.tokenize.call(F?Object.assign(Object.create(o),F):o,l,Qe,nt)(xt)}}function Qe(Be){return Z(lt,C),ue}function nt(Be){return C.restore(),++Ue<Se.length?_(Se[Ue]):we}}}function re(Z,F){Z.resolveAll&&!i.includes(Z)&&i.push(Z),Z.resolve&&Ye(o.events,F,o.events.length-F,Z.resolve(o.events.slice(F),o)),Z.resolveTo&&(o.events=Z.resolveTo(o.events,o))}function Q(){const Z=E(),F=o.previous,ae=o.currentConstruct,de=o.events.length,ue=Array.from(u);return{from:de,restore:we};function we(){n=Z,o.previous=F,o.currentConstruct=ae,o.events.length=de,u=ue,M()}}function M(){n.line in a&&n.column<2&&(n.column=a[n.line],n.offset+=a[n.line]-1)}}function Db(e,t){const r=t.start._index,n=t.start._bufferIndex,a=t.end._index,i=t.end._bufferIndex;let s;if(r===a)s=[e[r].slice(n,i)];else{if(s=e.slice(r,a),n>-1){const u=s[0];typeof u=="string"?s[0]=u.slice(n):s.shift()}i>0&&s.push(e[a].slice(0,i))}return s}function Rb(e,t){let r=-1;const n=[];let a;for(;++r<e.length;){const i=e[r];let s;if(typeof i=="string")s=i;else switch(i){case-5:{s="\r";break}case-4:{s=`
|
|
308
|
+
`;break}case-3:{s=`\r
|
|
309
|
+
`;break}case-2:{s=t?" ":" ";break}case-1:{if(!t&&a)continue;s=" ";break}default:s=String.fromCharCode(i)}a=i===-2,n.push(s)}return n.join("")}function Lb(e){const n={constructs:_1([Nb,...(e||{}).extensions||[]]),content:a(ob),defined:[],document:a(hb),flow:a(mb),lazy:{},string:a(bb),text:a(Eb)};return n;function a(i){return s;function s(u){return Ib(n,i,u)}}}function Ob(e){for(;!H1(e););return e}const Tl=/[\0\t\n\r]/g;function Mb(){let e=1,t="",r=!0,n;return a;function a(i,s,u){const l=[];let o,h,d,p,g;for(i=t+(typeof i=="string"?i.toString():new TextDecoder(s||void 0).decode(i)),d=0,t="",r&&(i.charCodeAt(0)===65279&&d++,r=void 0);d<i.length;){if(Tl.lastIndex=d,o=Tl.exec(i),p=o&&o.index!==void 0?o.index:i.length,g=i.charCodeAt(p),!o){t=i.slice(d);break}if(g===10&&d===p&&n)l.push(-3),n=void 0;else switch(n&&(l.push(-5),n=void 0),d<p&&(l.push(i.slice(d,p)),e+=p-d),g){case 0:{l.push(65533),e++;break}case 9:{for(h=Math.ceil(e/4)*4,l.push(-2);e++<h;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:n=!0,e=1}d=p+1}return u&&(n&&l.push(-5),t&&l.push(t),l.push(null)),l}}const Z1={}.hasOwnProperty;function Pb(e,t,r){return t&&typeof t=="object"&&(r=t,t=void 0),Bb(r)(Ob(Lb(r).document().write(Mb()(e,t,!0))))}function Bb(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(Dr),autolinkProtocol:Q,autolinkEmail:Q,atxHeading:i(Xn),blockQuote:i(yt),characterEscape:Q,characterReference:Q,codeFenced:i(zt),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:i(zt,s),codeText:i(la,s),codeTextData:Q,data:Q,codeFlowValue:Q,definition:i(Wn),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:i(oa),hardBreakEscape:i(Ir),hardBreakTrailing:i(Ir),htmlFlow:i(nn,s),htmlFlowData:Q,htmlText:i(nn,s),htmlTextData:Q,image:i(Qn),label:s,link:i(Dr),listItem:i(Rr),listItemValue:p,listOrdered:i(mr,d),listUnordered:i(mr),paragraph:i(Vh),reference:_,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:i(Xn),strong:i(Wh),thematicBreak:i(Qh)},exit:{atxHeading:l(),atxHeadingSequence:G,autolink:l(),autolinkEmail:ot,autolinkProtocol:xt,blockQuote:l(),characterEscapeValue:M,characterReferenceMarkerHexadecimal:nt,characterReferenceMarkerNumeric:nt,characterReferenceValue:Be,characterReference:mt,codeFenced:l(N),codeFencedFence:y,codeFencedFenceInfo:g,codeFencedFenceMeta:E,codeFlowValue:M,codeIndented:l(S),codeText:l(ue),codeTextData:M,data:M,definition:l(),definitionDestinationString:H,definitionLabelString:D,definitionTitleString:O,emphasis:l(),hardBreakEscape:l(F),hardBreakTrailing:l(F),htmlFlow:l(ae),htmlFlowData:M,htmlText:l(de),htmlTextData:M,image:l(Se),label:lt,labelText:Ue,lineEnding:Z,link:l(we),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:Qe,resourceDestinationString:C,resourceTitleString:Pe,resource:De,setextHeading:l(re),setextHeadingLineSequence:X,setextHeadingText:R,strong:l(),thematicBreak:l()}};J1(t,(e||{}).mdastExtensions||[]);const r={};return n;function n(z){let J={type:"root",children:[]};const oe={stack:[J],tokenStack:[],config:t,enter:u,exit:o,buffer:s,resume:h,data:r},ge=[];let ve=-1;for(;++ve<z.length;)if(z[ve][1].type==="listOrdered"||z[ve][1].type==="listUnordered")if(z[ve][0]==="enter")ge.push(ve);else{const vt=ge.pop();ve=a(z,vt,ve)}for(ve=-1;++ve<z.length;){const vt=t[z[ve][0]];Z1.call(vt,z[ve][1].type)&&vt[z[ve][1].type].call(Object.assign({sliceSerialize:z[ve][2].sliceSerialize},oe),z[ve][1])}if(oe.tokenStack.length>0){const vt=oe.tokenStack[oe.tokenStack.length-1];(vt[1]||xl).call(oe,void 0,vt[0])}for(J.position={start:er(z.length>0?z[0][1].start:{line:1,column:1,offset:0}),end:er(z.length>0?z[z.length-2][1].end:{line:1,column:1,offset:0})},ve=-1;++ve<t.transforms.length;)J=t.transforms[ve](J)||J;return J}function a(z,J,oe){let ge=J-1,ve=-1,vt=!1,pr,Ht,an,sn;for(;++ge<=oe;){const ct=z[ge];switch(ct[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{ct[0]==="enter"?ve++:ve--,sn=void 0;break}case"lineEndingBlank":{ct[0]==="enter"&&(pr&&!sn&&!ve&&!an&&(an=ge),sn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:sn=void 0}if(!ve&&ct[0]==="enter"&&ct[1].type==="listItemPrefix"||ve===-1&&ct[0]==="exit"&&(ct[1].type==="listUnordered"||ct[1].type==="listOrdered")){if(pr){let Lr=ge;for(Ht=void 0;Lr--;){const Ut=z[Lr];if(Ut[1].type==="lineEnding"||Ut[1].type==="lineEndingBlank"){if(Ut[0]==="exit")continue;Ht&&(z[Ht][1].type="lineEndingBlank",vt=!0),Ut[1].type="lineEnding",Ht=Lr}else if(!(Ut[1].type==="linePrefix"||Ut[1].type==="blockQuotePrefix"||Ut[1].type==="blockQuotePrefixWhitespace"||Ut[1].type==="blockQuoteMarker"||Ut[1].type==="listItemIndent"))break}an&&(!Ht||an<Ht)&&(pr._spread=!0),pr.end=Object.assign({},Ht?z[Ht][1].start:ct[1].end),z.splice(Ht||ge,0,["exit",pr,ct[2]]),ge++,oe++}if(ct[1].type==="listItemPrefix"){const Lr={type:"listItem",_spread:!1,start:Object.assign({},ct[1].start),end:void 0};pr=Lr,z.splice(ge,0,["enter",Lr,ct[2]]),ge++,oe++,an=void 0,sn=!0}}}return z[J][1]._spread=vt,oe}function i(z,J){return oe;function oe(ge){u.call(this,z(ge),ge),J&&J.call(this,ge)}}function s(){this.stack.push({type:"fragment",children:[]})}function u(z,J,oe){this.stack[this.stack.length-1].children.push(z),this.stack.push(z),this.tokenStack.push([J,oe||void 0]),z.position={start:er(J.start),end:void 0}}function l(z){return J;function J(oe){z&&z.call(this,oe),o.call(this,oe)}}function o(z,J){const oe=this.stack.pop(),ge=this.tokenStack.pop();if(ge)ge[0].type!==z.type&&(J?J.call(this,z,ge[0]):(ge[1]||xl).call(this,z,ge[0]));else throw new Error("Cannot close `"+z.type+"` ("+Cn({start:z.start,end:z.end})+"): it’s not open");oe.position.end=er(z.end)}function h(){return hs(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function p(z){if(this.data.expectingFirstListItemValue){const J=this.stack[this.stack.length-2];J.start=Number.parseInt(this.sliceSerialize(z),10),this.data.expectingFirstListItemValue=void 0}}function g(){const z=this.resume(),J=this.stack[this.stack.length-1];J.lang=z}function E(){const z=this.resume(),J=this.stack[this.stack.length-1];J.meta=z}function y(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function N(){const z=this.resume(),J=this.stack[this.stack.length-1];J.value=z.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function S(){const z=this.resume(),J=this.stack[this.stack.length-1];J.value=z.replace(/(\r?\n|\r)$/g,"")}function D(z){const J=this.resume(),oe=this.stack[this.stack.length-1];oe.label=J,oe.identifier=At(this.sliceSerialize(z)).toLowerCase()}function O(){const z=this.resume(),J=this.stack[this.stack.length-1];J.title=z}function H(){const z=this.resume(),J=this.stack[this.stack.length-1];J.url=z}function G(z){const J=this.stack[this.stack.length-1];if(!J.depth){const oe=this.sliceSerialize(z).length;J.depth=oe}}function R(){this.data.setextHeadingSlurpLineEnding=!0}function X(z){const J=this.stack[this.stack.length-1];J.depth=this.sliceSerialize(z).codePointAt(0)===61?1:2}function re(){this.data.setextHeadingSlurpLineEnding=void 0}function Q(z){const oe=this.stack[this.stack.length-1].children;let ge=oe[oe.length-1];(!ge||ge.type!=="text")&&(ge=Xh(),ge.position={start:er(z.start),end:void 0},oe.push(ge)),this.stack.push(ge)}function M(z){const J=this.stack.pop();J.value+=this.sliceSerialize(z),J.position.end=er(z.end)}function Z(z){const J=this.stack[this.stack.length-1];if(this.data.atHardBreak){const oe=J.children[J.children.length-1];oe.position.end=er(z.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(J.type)&&(Q.call(this,z),M.call(this,z))}function F(){this.data.atHardBreak=!0}function ae(){const z=this.resume(),J=this.stack[this.stack.length-1];J.value=z}function de(){const z=this.resume(),J=this.stack[this.stack.length-1];J.value=z}function ue(){const z=this.resume(),J=this.stack[this.stack.length-1];J.value=z}function we(){const z=this.stack[this.stack.length-1];if(this.data.inReference){const J=this.data.referenceType||"shortcut";z.type+="Reference",z.referenceType=J,delete z.url,delete z.title}else delete z.identifier,delete z.label;this.data.referenceType=void 0}function Se(){const z=this.stack[this.stack.length-1];if(this.data.inReference){const J=this.data.referenceType||"shortcut";z.type+="Reference",z.referenceType=J,delete z.url,delete z.title}else delete z.identifier,delete z.label;this.data.referenceType=void 0}function Ue(z){const J=this.sliceSerialize(z),oe=this.stack[this.stack.length-2];oe.label=i5(J),oe.identifier=At(J).toLowerCase()}function lt(){const z=this.stack[this.stack.length-1],J=this.resume(),oe=this.stack[this.stack.length-1];if(this.data.inReference=!0,oe.type==="link"){const ge=z.children;oe.children=ge}else oe.alt=J}function C(){const z=this.resume(),J=this.stack[this.stack.length-1];J.url=z}function Pe(){const z=this.resume(),J=this.stack[this.stack.length-1];J.title=z}function De(){this.data.inReference=void 0}function _(){this.data.referenceType="collapsed"}function Qe(z){const J=this.resume(),oe=this.stack[this.stack.length-1];oe.label=J,oe.identifier=At(this.sliceSerialize(z)).toLowerCase(),this.data.referenceType="full"}function nt(z){this.data.characterReferenceType=z.type}function Be(z){const J=this.sliceSerialize(z),oe=this.data.characterReferenceType;let ge;oe?(ge=C1(J,oe==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):ge=fs(J);const ve=this.stack[this.stack.length-1];ve.value+=ge}function mt(z){const J=this.stack.pop();J.position.end=er(z.end)}function xt(z){M.call(this,z);const J=this.stack[this.stack.length-1];J.url=this.sliceSerialize(z)}function ot(z){M.call(this,z);const J=this.stack[this.stack.length-1];J.url="mailto:"+this.sliceSerialize(z)}function yt(){return{type:"blockquote",children:[]}}function zt(){return{type:"code",lang:null,meta:null,value:""}}function la(){return{type:"inlineCode",value:""}}function Wn(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function oa(){return{type:"emphasis",children:[]}}function Xn(){return{type:"heading",depth:0,children:[]}}function Ir(){return{type:"break"}}function nn(){return{type:"html",value:""}}function Qn(){return{type:"image",title:null,url:"",alt:null}}function Dr(){return{type:"link",title:null,url:"",children:[]}}function mr(z){return{type:"list",ordered:z.type==="listOrdered",start:null,spread:z._spread,children:[]}}function Rr(z){return{type:"listItem",spread:z._spread,checked:null,children:[]}}function Vh(){return{type:"paragraph",children:[]}}function Wh(){return{type:"strong",children:[]}}function Xh(){return{type:"text",value:""}}function Qh(){return{type:"thematicBreak"}}}function er(e){return{line:e.line,column:e.column,offset:e.offset}}function J1(e,t){let r=-1;for(;++r<t.length;){const n=t[r];Array.isArray(n)?J1(e,n):Fb(e,n)}}function Fb(e,t){let r;for(r in t)if(Z1.call(t,r))switch(r){case"canContainEols":{const n=t[r];n&&e[r].push(...n);break}case"transforms":{const n=t[r];n&&e[r].push(...n);break}case"enter":case"exit":{const n=t[r];n&&Object.assign(e[r],n);break}}}function xl(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Cn({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Cn({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Cn({start:t.start,end:t.end})+") is still open")}function zb(e){const t=this;t.parser=r;function r(n){return Pb(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Hb(e,t){const r={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,r),e.applyData(t,r)}function Ub(e,t){const r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:`
|
|
310
|
+
`}]}function qb(e,t){const r=t.value?t.value+`
|
|
311
|
+
`:"",n={},a=t.lang?t.lang.split(/\s+/):[];a.length>0&&(n.className=["language-"+a[0]]);let i={type:"element",tagName:"code",properties:n,children:[{type:"text",value:r}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i}function $b(e,t){const r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function jb(e,t){const r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Yb(e,t){const r=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=String(t.identifier).toUpperCase(),a=rn(n.toLowerCase()),i=e.footnoteOrder.indexOf(n);let s,u=e.footnoteCounts.get(n);u===void 0?(u=0,e.footnoteOrder.push(n),s=e.footnoteOrder.length):s=i+1,u+=1,e.footnoteCounts.set(n,u);const l={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+a,id:r+"fnref-"+a+(u>1?"-"+u:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(s)}]};e.patch(t,l);const o={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,o),e.applyData(t,o)}function Gb(e,t){const r={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Vb(e,t){if(e.options.allowDangerousHtml){const r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}}function eh(e,t){const r=t.referenceType;let n="]";if(r==="collapsed"?n+="[]":r==="full"&&(n+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+n}];const a=e.all(t),i=a[0];i&&i.type==="text"?i.value="["+i.value:a.unshift({type:"text",value:"["});const s=a[a.length-1];return s&&s.type==="text"?s.value+=n:a.push({type:"text",value:n}),a}function Wb(e,t){const r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return eh(e,t);const a={src:rn(n.url||""),alt:t.alt};n.title!==null&&n.title!==void 0&&(a.title=n.title);const i={type:"element",tagName:"img",properties:a,children:[]};return e.patch(t,i),e.applyData(t,i)}function Xb(e,t){const r={src:rn(t.url)};t.alt!==null&&t.alt!==void 0&&(r.alt=t.alt),t.title!==null&&t.title!==void 0&&(r.title=t.title);const n={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,n),e.applyData(t,n)}function Qb(e,t){const r={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,r);const n={type:"element",tagName:"code",properties:{},children:[r]};return e.patch(t,n),e.applyData(t,n)}function Kb(e,t){const r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return eh(e,t);const a={href:rn(n.url||"")};n.title!==null&&n.title!==void 0&&(a.title=n.title);const i={type:"element",tagName:"a",properties:a,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function Zb(e,t){const r={href:rn(t.url)};t.title!==null&&t.title!==void 0&&(r.title=t.title);const n={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Jb(e,t,r){const n=e.all(t),a=r?e9(r):th(t),i={},s=[];if(typeof t.checked=="boolean"){const h=n[0];let d;h&&h.type==="element"&&h.tagName==="p"?d=h:(d={type:"element",tagName:"p",properties:{},children:[]},n.unshift(d)),d.children.length>0&&d.children.unshift({type:"text",value:" "}),d.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let u=-1;for(;++u<n.length;){const h=n[u];(a||u!==0||h.type!=="element"||h.tagName!=="p")&&s.push({type:"text",value:`
|
|
312
|
+
`}),h.type==="element"&&h.tagName==="p"&&!a?s.push(...h.children):s.push(h)}const l=n[n.length-1];l&&(a||l.type!=="element"||l.tagName!=="p")&&s.push({type:"text",value:`
|
|
313
|
+
`});const o={type:"element",tagName:"li",properties:i,children:s};return e.patch(t,o),e.applyData(t,o)}function e9(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const r=e.children;let n=-1;for(;!t&&++n<r.length;)t=th(r[n])}return t}function th(e){const t=e.spread;return t??e.children.length>1}function t9(e,t){const r={},n=e.all(t);let a=-1;for(typeof t.start=="number"&&t.start!==1&&(r.start=t.start);++a<n.length;){const s=n[a];if(s.type==="element"&&s.tagName==="li"&&s.properties&&Array.isArray(s.properties.className)&&s.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:r,children:e.wrap(n,!0)};return e.patch(t,i),e.applyData(t,i)}function r9(e,t){const r={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function n9(e,t){const r={type:"root",children:e.wrap(e.all(t))};return e.patch(t,r),e.applyData(t,r)}function a9(e,t){const r={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function i9(e,t){const r=e.all(t),n=r.shift(),a=[];if(n){const s={type:"element",tagName:"thead",properties:{},children:e.wrap([n],!0)};e.patch(t.children[0],s),a.push(s)}if(r.length>0){const s={type:"element",tagName:"tbody",properties:{},children:e.wrap(r,!0)},u=Bt(t.children[1]),l=ea(t.children[t.children.length-1]);u&&l&&(s.position={start:u,end:l}),a.push(s)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,i),e.applyData(t,i)}function s9(e,t,r){const n=r?r.children:void 0,i=(n?n.indexOf(t):1)===0?"th":"td",s=r&&r.type==="table"?r.align:void 0,u=s?s.length:t.children.length;let l=-1;const o=[];for(;++l<u;){const d=t.children[l],p={},g=s?s[l]:void 0;g&&(p.align=g);let E={type:"element",tagName:i,properties:p,children:[]};d&&(E.children=e.all(d),e.patch(d,E),E=e.applyData(d,E)),o.push(E)}const h={type:"element",tagName:"tr",properties:{},children:e.wrap(o,!0)};return e.patch(t,h),e.applyData(t,h)}function u9(e,t){const r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}const yl=9,vl=32;function l9(e){const t=String(e),r=/\r?\n|\r/g;let n=r.exec(t),a=0;const i=[];for(;n;)i.push(kl(t.slice(a,n.index),a>0,!0),n[0]),a=n.index+n[0].length,n=r.exec(t);return i.push(kl(t.slice(a),a>0,!1)),i.join("")}function kl(e,t,r){let n=0,a=e.length;if(t){let i=e.codePointAt(n);for(;i===yl||i===vl;)n++,i=e.codePointAt(n)}if(r){let i=e.codePointAt(a-1);for(;i===yl||i===vl;)a--,i=e.codePointAt(a-1)}return a>n?e.slice(n,a):""}function o9(e,t){const r={type:"text",value:l9(String(t.value))};return e.patch(t,r),e.applyData(t,r)}function c9(e,t){const r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,r),e.applyData(t,r)}const h9={blockquote:Hb,break:Ub,code:qb,delete:$b,emphasis:jb,footnoteReference:Yb,heading:Gb,html:Vb,imageReference:Wb,image:Xb,inlineCode:Qb,linkReference:Kb,link:Zb,listItem:Jb,list:t9,paragraph:r9,root:n9,strong:a9,table:i9,tableCell:u9,tableRow:s9,text:o9,thematicBreak:c9,toml:o0,yaml:o0,definition:o0,footnoteDefinition:o0};function o0(){}function d9(e,t){const r=[{type:"text",value:"↩"}];return t>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),r}function f9(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function m9(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=e.options.footnoteBackContent||d9,n=e.options.footnoteBackLabel||f9,a=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",s=e.options.footnoteLabelProperties||{className:["sr-only"]},u=[];let l=-1;for(;++l<e.footnoteOrder.length;){const o=e.footnoteById.get(e.footnoteOrder[l]);if(!o)continue;const h=e.all(o),d=String(o.identifier).toUpperCase(),p=rn(d.toLowerCase());let g=0;const E=[],y=e.footnoteCounts.get(d);for(;y!==void 0&&++g<=y;){E.length>0&&E.push({type:"text",value:" "});let D=typeof r=="string"?r:r(l,g);typeof D=="string"&&(D={type:"text",value:D}),E.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+p+(g>1?"-"+g:""),dataFootnoteBackref:"",ariaLabel:typeof n=="string"?n:n(l,g),className:["data-footnote-backref"]},children:Array.isArray(D)?D:[D]})}const N=h[h.length-1];if(N&&N.type==="element"&&N.tagName==="p"){const D=N.children[N.children.length-1];D&&D.type==="text"?D.value+=" ":N.children.push({type:"text",value:" "}),N.children.push(...E)}else h.push(...E);const S={type:"element",tagName:"li",properties:{id:t+"fn-"+p},children:e.wrap(h,!0)};e.patch(o,S),u.push(S)}if(u.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...vr(s),id:"footnote-label"},children:[{type:"text",value:a}]},{type:"text",value:`
|
|
314
|
+
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(u,!0)},{type:"text",value:`
|
|
315
|
+
`}]}}const xi={}.hasOwnProperty,p9={};function g9(e,t){const r=t||p9,n=new Map,a=new Map,i=new Map,s={...h9,...r.handlers},u={all:o,applyData:E9,definitionById:n,footnoteById:a,footnoteCounts:i,footnoteOrder:[],handlers:s,one:l,options:r,patch:b9,wrap:x9};return qr(e,function(h){if(h.type==="definition"||h.type==="footnoteDefinition"){const d=h.type==="definition"?n:a,p=String(h.identifier).toUpperCase();d.has(p)||d.set(p,h)}}),u;function l(h,d){const p=h.type,g=u.handlers[p];if(xi.call(u.handlers,p)&&g)return g(u,h,d);if(u.options.passThrough&&u.options.passThrough.includes(p)){if("children"in h){const{children:y,...N}=h,S=vr(N);return S.children=u.all(h),S}return vr(h)}return(u.options.unknownHandler||T9)(u,h,d)}function o(h){const d=[];if("children"in h){const p=h.children;let g=-1;for(;++g<p.length;){const E=u.one(p[g],h);if(E){if(g&&p[g-1].type==="break"&&(!Array.isArray(E)&&E.type==="text"&&(E.value=Al(E.value)),!Array.isArray(E)&&E.type==="element")){const y=E.children[0];y&&y.type==="text"&&(y.value=Al(y.value))}Array.isArray(E)?d.push(...E):d.push(E)}}}return d}}function b9(e,t){e.position&&(t.position=Xc(e))}function E9(e,t){let r=t;if(e&&e.data){const n=e.data.hName,a=e.data.hChildren,i=e.data.hProperties;if(typeof n=="string")if(r.type==="element")r.tagName=n;else{const s="children"in r?r.children:[r];r={type:"element",tagName:n,properties:{},children:s}}r.type==="element"&&i&&Object.assign(r.properties,vr(i)),"children"in r&&r.children&&a!==null&&a!==void 0&&(r.children=a)}return r}function T9(e,t){const r=t.data||{},n="value"in t&&!(xi.call(r,"hProperties")||xi.call(r,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function x9(e,t){const r=[];let n=-1;for(t&&r.push({type:"text",value:`
|
|
316
|
+
`});++n<e.length;)n&&r.push({type:"text",value:`
|
|
317
|
+
`}),r.push(e[n]);return t&&e.length>0&&r.push({type:"text",value:`
|
|
318
|
+
`}),r}function Al(e){let t=0,r=e.charCodeAt(t);for(;r===9||r===32;)t++,r=e.charCodeAt(t);return e.slice(t)}function wl(e,t){const r=g9(e,t),n=r.one(e,void 0),a=m9(r),i=Array.isArray(n)?{type:"root",children:n}:n||{type:"root",children:[]};return a&&i.children.push({type:"text",value:`
|
|
319
|
+
`},a),i}function y9(e,t){return e&&"run"in e?async function(r,n){const a=wl(r,{file:n,...t});await e.run(a,n)}:function(r,n){return wl(r,{file:n,...e||t})}}function Sl(e){if(e)throw e}var E0=Object.prototype.hasOwnProperty,rh=Object.prototype.toString,Cl=Object.defineProperty,_l=Object.getOwnPropertyDescriptor,Nl=function(t){return typeof Array.isArray=="function"?Array.isArray(t):rh.call(t)==="[object Array]"},Il=function(t){if(!t||rh.call(t)!=="[object Object]")return!1;var r=E0.call(t,"constructor"),n=t.constructor&&t.constructor.prototype&&E0.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!r&&!n)return!1;var a;for(a in t);return typeof a>"u"||E0.call(t,a)},Dl=function(t,r){Cl&&r.name==="__proto__"?Cl(t,r.name,{enumerable:!0,configurable:!0,value:r.newValue,writable:!0}):t[r.name]=r.newValue},Rl=function(t,r){if(r==="__proto__")if(E0.call(t,r)){if(_l)return _l(t,r).value}else return;return t[r]},v9=function e(){var t,r,n,a,i,s,u=arguments[0],l=1,o=arguments.length,h=!1;for(typeof u=="boolean"&&(h=u,u=arguments[1]||{},l=2),(u==null||typeof u!="object"&&typeof u!="function")&&(u={});l<o;++l)if(t=arguments[l],t!=null)for(r in t)n=Rl(u,r),a=Rl(t,r),u!==a&&(h&&a&&(Il(a)||(i=Nl(a)))?(i?(i=!1,s=n&&Nl(n)?n:[]):s=n&&Il(n)?n:{},Dl(u,{name:r,newValue:e(h,s,a)})):typeof a<"u"&&Dl(u,{name:r,newValue:a}));return u};const Pa=Xl(v9);function yi(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 k9(){const e=[],t={run:r,use:n};return t;function r(...a){let i=-1;const s=a.pop();if(typeof s!="function")throw new TypeError("Expected function as last argument, not "+s);u(null,...a);function u(l,...o){const h=e[++i];let d=-1;if(l){s(l);return}for(;++d<a.length;)(o[d]===null||o[d]===void 0)&&(o[d]=a[d]);a=o,h?A9(h,u)(...o):s(null,...o)}}function n(a){if(typeof a!="function")throw new TypeError("Expected `middelware` to be a function, not "+a);return e.push(a),t}}function A9(e,t){let r;return n;function n(...s){const u=e.length>s.length;let l;u&&s.push(a);try{l=e.apply(this,s)}catch(o){const h=o;if(u&&r)throw h;return a(h)}u||(l&&l.then&&typeof l.then=="function"?l.then(i,a):l instanceof Error?a(l):i(l))}function a(s,...u){r||(r=!0,t(s,...u))}function i(s){a(null,s)}}const Nt={basename:w9,dirname:S9,extname:C9,join:_9,sep:"/"};function w9(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Gn(e);let r=0,n=-1,a=e.length,i;if(t===void 0||t.length===0||t.length>e.length){for(;a--;)if(e.codePointAt(a)===47){if(i){r=a+1;break}}else n<0&&(i=!0,n=a+1);return n<0?"":e.slice(r,n)}if(t===e)return"";let s=-1,u=t.length-1;for(;a--;)if(e.codePointAt(a)===47){if(i){r=a+1;break}}else s<0&&(i=!0,s=a+1),u>-1&&(e.codePointAt(a)===t.codePointAt(u--)?u<0&&(n=a):(u=-1,n=s));return r===n?n=s:n<0&&(n=e.length),e.slice(r,n)}function S9(e){if(Gn(e),e.length===0)return".";let t=-1,r=e.length,n;for(;--r;)if(e.codePointAt(r)===47){if(n){t=r;break}}else n||(n=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function C9(e){Gn(e);let t=e.length,r=-1,n=0,a=-1,i=0,s;for(;t--;){const u=e.codePointAt(t);if(u===47){if(s){n=t+1;break}continue}r<0&&(s=!0,r=t+1),u===46?a<0?a=t:i!==1&&(i=1):a>-1&&(i=-1)}return a<0||r<0||i===0||i===1&&a===r-1&&a===n+1?"":e.slice(a,r)}function _9(...e){let t=-1,r;for(;++t<e.length;)Gn(e[t]),e[t]&&(r=r===void 0?e[t]:r+"/"+e[t]);return r===void 0?".":N9(r)}function N9(e){Gn(e);const t=e.codePointAt(0)===47;let r=I9(e,!t);return r.length===0&&!t&&(r="."),r.length>0&&e.codePointAt(e.length-1)===47&&(r+="/"),t?"/"+r:r}function I9(e,t){let r="",n=0,a=-1,i=0,s=-1,u,l;for(;++s<=e.length;){if(s<e.length)u=e.codePointAt(s);else{if(u===47)break;u=47}if(u===47){if(!(a===s-1||i===1))if(a!==s-1&&i===2){if(r.length<2||n!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(l=r.lastIndexOf("/"),l!==r.length-1){l<0?(r="",n=0):(r=r.slice(0,l),n=r.length-1-r.lastIndexOf("/")),a=s,i=0;continue}}else if(r.length>0){r="",n=0,a=s,i=0;continue}}t&&(r=r.length>0?r+"/..":"..",n=2)}else r.length>0?r+="/"+e.slice(a+1,s):r=e.slice(a+1,s),n=s-a-1;a=s,i=0}else u===46&&i>-1?i++:i=-1}return r}function Gn(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const D9={cwd:R9};function R9(){return"/"}function vi(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function L9(e){if(typeof e=="string")e=new URL(e);else if(!vi(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 O9(e)}function O9(e){if(e.hostname!==""){const n=new TypeError('File URL host must be "localhost" or empty on darwin');throw n.code="ERR_INVALID_FILE_URL_HOST",n}const t=e.pathname;let r=-1;for(;++r<t.length;)if(t.codePointAt(r)===37&&t.codePointAt(r+1)===50){const n=t.codePointAt(r+2);if(n===70||n===102){const a=new TypeError("File URL path must not include encoded / characters");throw a.code="ERR_INVALID_FILE_URL_PATH",a}}return decodeURIComponent(t)}const Ba=["history","path","basename","stem","extname","dirname"];class M9{constructor(t){let r;t?vi(t)?r={path:t}:typeof t=="string"||P9(t)?r={value:t}:r=t:r={},this.cwd="cwd"in r?"":D9.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<Ba.length;){const i=Ba[n];i in r&&r[i]!==void 0&&r[i]!==null&&(this[i]=i==="history"?[...r[i]]:r[i])}let a;for(a in r)Ba.includes(a)||(this[a]=r[a])}get basename(){return typeof this.path=="string"?Nt.basename(this.path):void 0}set basename(t){za(t,"basename"),Fa(t,"basename"),this.path=Nt.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Nt.dirname(this.path):void 0}set dirname(t){Ll(this.basename,"dirname"),this.path=Nt.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Nt.extname(this.path):void 0}set extname(t){if(Fa(t,"extname"),Ll(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=Nt.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){vi(t)&&(t=L9(t)),za(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Nt.basename(this.path,this.extname):void 0}set stem(t){za(t,"stem"),Fa(t,"stem"),this.path=Nt.join(this.dirname||"",t+(this.extname||""))}fail(t,r,n){const a=this.message(t,r,n);throw a.fatal=!0,a}info(t,r,n){const a=this.message(t,r,n);return a.fatal=void 0,a}message(t,r,n){const a=new Xe(t,r,n);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 Fa(e,t){if(e&&e.includes(Nt.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Nt.sep+"`")}function za(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Ll(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function P9(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const B9=(function(e){const n=this.constructor.prototype,a=n[e],i=function(){return a.apply(i,arguments)};return Object.setPrototypeOf(i,n),i}),F9={}.hasOwnProperty;class xs extends B9{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=k9()}copy(){const t=new xs;let r=-1;for(;++r<this.attachers.length;){const n=this.attachers[r];t.use(...n)}return t.data(Pa(!0,{},this.namespace)),t}data(t,r){return typeof t=="string"?arguments.length===2?(qa("data",this.frozen),this.namespace[t]=r,this):F9.call(this.namespace,t)&&this.namespace[t]||void 0:t?(qa("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[r,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);const a=r.call(t,...n);typeof a=="function"&&this.transformers.use(a)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const r=c0(t),n=this.parser||this.Parser;return Ha("parse",n),n(String(r),r)}process(t,r){const n=this;return this.freeze(),Ha("process",this.parser||this.Parser),Ua("process",this.compiler||this.Compiler),r?a(void 0,r):new Promise(a);function a(i,s){const u=c0(t),l=n.parse(u);n.run(l,u,function(h,d,p){if(h||!d||!p)return o(h);const g=d,E=n.stringify(g,p);U9(E)?p.value=E:p.result=E,o(h,p)});function o(h,d){h||!d?s(h):i?i(d):r(void 0,d)}}}processSync(t){let r=!1,n;return this.freeze(),Ha("processSync",this.parser||this.Parser),Ua("processSync",this.compiler||this.Compiler),this.process(t,a),Ml("processSync","process",r),n;function a(i,s){r=!0,Sl(i),n=s}}run(t,r,n){Ol(t),this.freeze();const a=this.transformers;return!n&&typeof r=="function"&&(n=r,r=void 0),n?i(void 0,n):new Promise(i);function i(s,u){const l=c0(r);a.run(t,l,o);function o(h,d,p){const g=d||t;h?u(h):s?s(g):n(void 0,g,p)}}}runSync(t,r){let n=!1,a;return this.run(t,r,i),Ml("runSync","run",n),a;function i(s,u){Sl(s),a=u,n=!0}}stringify(t,r){this.freeze();const n=c0(r),a=this.compiler||this.Compiler;return Ua("stringify",a),Ol(t),a(t,n)}use(t,...r){const n=this.attachers,a=this.namespace;if(qa("use",this.frozen),t!=null)if(typeof t=="function")l(t,r);else if(typeof t=="object")Array.isArray(t)?u(t):s(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function i(o){if(typeof o=="function")l(o,[]);else if(typeof o=="object")if(Array.isArray(o)){const[h,...d]=o;l(h,d)}else s(o);else throw new TypeError("Expected usable value, not `"+o+"`")}function s(o){if(!("plugins"in o)&&!("settings"in o))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");u(o.plugins),o.settings&&(a.settings=Pa(!0,a.settings,o.settings))}function u(o){let h=-1;if(o!=null)if(Array.isArray(o))for(;++h<o.length;){const d=o[h];i(d)}else throw new TypeError("Expected a list of plugins, not `"+o+"`")}function l(o,h){let d=-1,p=-1;for(;++d<n.length;)if(n[d][0]===o){p=d;break}if(p===-1)n.push([o,...h]);else if(h.length>0){let[g,...E]=h;const y=n[p][1];yi(y)&&yi(g)&&(g=Pa(!0,y,g)),n[p]=[o,g,...E]}}}}const z9=new xs().freeze();function Ha(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Ua(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function qa(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 Ol(e){if(!yi(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Ml(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function c0(e){return H9(e)?e:new M9(e)}function H9(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function U9(e){return typeof e=="string"||q9(e)}function q9(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}function ys(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var Nr=ys();function nh(e){Nr=e}var _n={exec:()=>null};function Te(e,t=""){let r=typeof e=="string"?e:e.source,n={replace:(a,i)=>{let s=typeof i=="string"?i:i.source;return s=s.replace(tt.caret,"$1"),r=r.replace(a,s),n},getRegex:()=>new RegExp(r,t)};return n}var $9=(()=>{try{return!!new RegExp("(?<=1)(?<!1)")}catch{return!1}})(),tt={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i")},j9=/^(?:[ \t]*(?:\n|$))+/,Y9=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,G9=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Vn=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,V9=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,vs=/(?:[*+-]|\d{1,9}[.)])/,ah=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,ih=Te(ah).replace(/bull/g,vs).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),W9=Te(ah).replace(/bull/g,vs).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),ks=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,X9=/^[^\n]+/,As=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,Q9=Te(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",As).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),K9=Te(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,vs).getRegex(),ia="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|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",ws=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Z9=Te("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",ws).replace("tag",ia).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),sh=Te(ks).replace("hr",Vn).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ia).getRegex(),J9=Te(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",sh).getRegex(),Ss={blockquote:J9,code:Y9,def:Q9,fences:G9,heading:V9,hr:Vn,html:Z9,lheading:ih,list:K9,newline:j9,paragraph:sh,table:_n,text:X9},Pl=Te("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Vn).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ia).getRegex(),eE={...Ss,lheading:W9,table:Pl,paragraph:Te(ks).replace("hr",Vn).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Pl).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",ia).getRegex()},tE={...Ss,html:Te(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",ws).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:_n,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Te(ks).replace("hr",Vn).replace("heading",` *#{1,6} *[^
|
|
320
|
+
]`).replace("lheading",ih).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},rE=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,nE=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,uh=/^( {2,}|\\)\n(?!\s*$)/,aE=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,sa=/[\p{P}\p{S}]/u,Cs=/[\s\p{P}\p{S}]/u,lh=/[^\s\p{P}\p{S}]/u,iE=Te(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,Cs).getRegex(),oh=/(?!~)[\p{P}\p{S}]/u,sE=/(?!~)[\s\p{P}\p{S}]/u,uE=/(?:[^\s\p{P}\p{S}]|~)/u,lE=Te(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",$9?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),ch=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,oE=Te(ch,"u").replace(/punct/g,sa).getRegex(),cE=Te(ch,"u").replace(/punct/g,oh).getRegex(),hh="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",hE=Te(hh,"gu").replace(/notPunctSpace/g,lh).replace(/punctSpace/g,Cs).replace(/punct/g,sa).getRegex(),dE=Te(hh,"gu").replace(/notPunctSpace/g,uE).replace(/punctSpace/g,sE).replace(/punct/g,oh).getRegex(),fE=Te("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,lh).replace(/punctSpace/g,Cs).replace(/punct/g,sa).getRegex(),mE=Te(/\\(punct)/,"gu").replace(/punct/g,sa).getRegex(),pE=Te(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),gE=Te(ws).replace("(?:-->|$)","-->").getRegex(),bE=Te("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",gE).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),R0=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,EE=Te(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",R0).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),dh=Te(/^!?\[(label)\]\[(ref)\]/).replace("label",R0).replace("ref",As).getRegex(),fh=Te(/^!?\[(ref)\](?:\[\])?/).replace("ref",As).getRegex(),TE=Te("reflink|nolink(?!\\()","g").replace("reflink",dh).replace("nolink",fh).getRegex(),Bl=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,_s={_backpedal:_n,anyPunctuation:mE,autolink:pE,blockSkip:lE,br:uh,code:nE,del:_n,emStrongLDelim:oE,emStrongRDelimAst:hE,emStrongRDelimUnd:fE,escape:rE,link:EE,nolink:fh,punctuation:iE,reflink:dh,reflinkSearch:TE,tag:bE,text:aE,url:_n},xE={..._s,link:Te(/^!?\[(label)\]\((.*?)\)/).replace("label",R0).getRegex(),reflink:Te(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",R0).getRegex()},ki={..._s,emStrongRDelimAst:dE,emStrongLDelim:cE,url:Te(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",Bl).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:Te(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",Bl).getRegex()},yE={...ki,br:Te(uh).replace("{2,}","*").getRegex(),text:Te(ki.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},h0={normal:Ss,gfm:eE,pedantic:tE},hn={normal:_s,gfm:ki,breaks:yE,pedantic:xE},vE={"&":"&","<":"<",">":">",'"':""","'":"'"},Fl=e=>vE[e];function Ct(e,t){if(t){if(tt.escapeTest.test(e))return e.replace(tt.escapeReplace,Fl)}else if(tt.escapeTestNoEncode.test(e))return e.replace(tt.escapeReplaceNoEncode,Fl);return e}function zl(e){try{e=encodeURI(e).replace(tt.percentDecode,"%")}catch{return null}return e}function Hl(e,t){let r=e.replace(tt.findPipe,(i,s,u)=>{let l=!1,o=s;for(;--o>=0&&u[o]==="\\";)l=!l;return l?"|":" |"}),n=r.split(tt.splitPipe),a=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),t)if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;a<n.length;a++)n[a]=n[a].trim().replace(tt.slashPipe,"|");return n}function dn(e,t,r){let n=e.length;if(n===0)return"";let a=0;for(;a<n&&e.charAt(n-a-1)===t;)a++;return e.slice(0,n-a)}function kE(e,t){if(e.indexOf(t[1])===-1)return-1;let r=0;for(let n=0;n<e.length;n++)if(e[n]==="\\")n++;else if(e[n]===t[0])r++;else if(e[n]===t[1]&&(r--,r<0))return n;return r>0?-2:-1}function Ul(e,t,r,n,a){let i=t.href,s=t.title||null,u=e[1].replace(a.other.outputLinkReplace,"$1");n.state.inLink=!0;let l={type:e[0].charAt(0)==="!"?"image":"link",raw:r,href:i,title:s,text:u,tokens:n.inlineTokens(u)};return n.state.inLink=!1,l}function AE(e,t,r){let n=e.match(r.other.indentCodeCompensation);if(n===null)return t;let a=n[1];return t.split(`
|
|
321
|
+
`).map(i=>{let s=i.match(r.other.beginningSpace);if(s===null)return i;let[u]=s;return u.length>=a.length?i.slice(a.length):i}).join(`
|
|
322
|
+
`)}var L0=class{options;rules;lexer;constructor(e){this.options=e||Nr}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let r=t[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?r:dn(r,`
|
|
323
|
+
`)}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let r=t[0],n=AE(r,t[3]||"",this.rules);return{type:"code",raw:r,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:n}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let r=t[2].trim();if(this.rules.other.endingHash.test(r)){let n=dn(r,"#");(this.options.pedantic||!n||this.rules.other.endingSpaceChar.test(n))&&(r=n.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:r,tokens:this.lexer.inline(r)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:dn(t[0],`
|
|
324
|
+
`)}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let r=dn(t[0],`
|
|
325
|
+
`).split(`
|
|
326
|
+
`),n="",a="",i=[];for(;r.length>0;){let s=!1,u=[],l;for(l=0;l<r.length;l++)if(this.rules.other.blockquoteStart.test(r[l]))u.push(r[l]),s=!0;else if(!s)u.push(r[l]);else break;r=r.slice(l);let o=u.join(`
|
|
327
|
+
`),h=o.replace(this.rules.other.blockquoteSetextReplace,`
|
|
328
|
+
$1`).replace(this.rules.other.blockquoteSetextReplace2,"");n=n?`${n}
|
|
329
|
+
${o}`:o,a=a?`${a}
|
|
330
|
+
${h}`:h;let d=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(h,i,!0),this.lexer.state.top=d,r.length===0)break;let p=i.at(-1);if(p?.type==="code")break;if(p?.type==="blockquote"){let g=p,E=g.raw+`
|
|
331
|
+
`+r.join(`
|
|
332
|
+
`),y=this.blockquote(E);i[i.length-1]=y,n=n.substring(0,n.length-g.raw.length)+y.raw,a=a.substring(0,a.length-g.text.length)+y.text;break}else if(p?.type==="list"){let g=p,E=g.raw+`
|
|
333
|
+
`+r.join(`
|
|
334
|
+
`),y=this.list(E);i[i.length-1]=y,n=n.substring(0,n.length-p.raw.length)+y.raw,a=a.substring(0,a.length-g.raw.length)+y.raw,r=E.substring(i.at(-1).raw.length).split(`
|
|
335
|
+
`);continue}}return{type:"blockquote",raw:n,tokens:i,text:a}}}list(e){let t=this.rules.block.list.exec(e);if(t){let r=t[1].trim(),n=r.length>1,a={type:"list",raw:"",ordered:n,start:n?+r.slice(0,-1):"",loose:!1,items:[]};r=n?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=n?r:"[*+-]");let i=this.rules.other.listItemRegex(r),s=!1;for(;e;){let l=!1,o="",h="";if(!(t=i.exec(e))||this.rules.block.hr.test(e))break;o=t[0],e=e.substring(o.length);let d=t[2].split(`
|
|
336
|
+
`,1)[0].replace(this.rules.other.listReplaceTabs,S=>" ".repeat(3*S.length)),p=e.split(`
|
|
337
|
+
`,1)[0],g=!d.trim(),E=0;if(this.options.pedantic?(E=2,h=d.trimStart()):g?E=t[1].length+1:(E=t[2].search(this.rules.other.nonSpaceChar),E=E>4?1:E,h=d.slice(E),E+=t[1].length),g&&this.rules.other.blankLine.test(p)&&(o+=p+`
|
|
338
|
+
`,e=e.substring(p.length+1),l=!0),!l){let S=this.rules.other.nextBulletRegex(E),D=this.rules.other.hrRegex(E),O=this.rules.other.fencesBeginRegex(E),H=this.rules.other.headingBeginRegex(E),G=this.rules.other.htmlBeginRegex(E);for(;e;){let R=e.split(`
|
|
339
|
+
`,1)[0],X;if(p=R,this.options.pedantic?(p=p.replace(this.rules.other.listReplaceNesting," "),X=p):X=p.replace(this.rules.other.tabCharGlobal," "),O.test(p)||H.test(p)||G.test(p)||S.test(p)||D.test(p))break;if(X.search(this.rules.other.nonSpaceChar)>=E||!p.trim())h+=`
|
|
340
|
+
`+X.slice(E);else{if(g||d.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||O.test(d)||H.test(d)||D.test(d))break;h+=`
|
|
341
|
+
`+p}!g&&!p.trim()&&(g=!0),o+=R+`
|
|
342
|
+
`,e=e.substring(R.length+1),d=X.slice(E)}}a.loose||(s?a.loose=!0:this.rules.other.doubleBlankLine.test(o)&&(s=!0));let y=null,N;this.options.gfm&&(y=this.rules.other.listIsTask.exec(h),y&&(N=y[0]!=="[ ] ",h=h.replace(this.rules.other.listReplaceTask,""))),a.items.push({type:"list_item",raw:o,task:!!y,checked:N,loose:!1,text:h,tokens:[]}),a.raw+=o}let u=a.items.at(-1);if(u)u.raw=u.raw.trimEnd(),u.text=u.text.trimEnd();else return;a.raw=a.raw.trimEnd();for(let l=0;l<a.items.length;l++)if(this.lexer.state.top=!1,a.items[l].tokens=this.lexer.blockTokens(a.items[l].text,[]),!a.loose){let o=a.items[l].tokens.filter(d=>d.type==="space"),h=o.length>0&&o.some(d=>this.rules.other.anyLine.test(d.raw));a.loose=h}if(a.loose)for(let l=0;l<a.items.length;l++)a.items[l].loose=!0;return a}}html(e){let t=this.rules.block.html.exec(e);if(t)return{type:"html",block:!0,raw:t[0],pre:t[1]==="pre"||t[1]==="script"||t[1]==="style",text:t[0]}}def(e){let t=this.rules.block.def.exec(e);if(t){let r=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),n=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",a=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:r,raw:t[0],href:n,title:a}}}table(e){let t=this.rules.block.table.exec(e);if(!t||!this.rules.other.tableDelimiter.test(t[2]))return;let r=Hl(t[1]),n=t[2].replace(this.rules.other.tableAlignChars,"").split("|"),a=t[3]?.trim()?t[3].replace(this.rules.other.tableRowBlankLine,"").split(`
|
|
343
|
+
`):[],i={type:"table",raw:t[0],header:[],align:[],rows:[]};if(r.length===n.length){for(let s of n)this.rules.other.tableAlignRight.test(s)?i.align.push("right"):this.rules.other.tableAlignCenter.test(s)?i.align.push("center"):this.rules.other.tableAlignLeft.test(s)?i.align.push("left"):i.align.push(null);for(let s=0;s<r.length;s++)i.header.push({text:r[s],tokens:this.lexer.inline(r[s]),header:!0,align:i.align[s]});for(let s of a)i.rows.push(Hl(s,i.header.length).map((u,l)=>({text:u,tokens:this.lexer.inline(u),header:!1,align:i.align[l]})));return i}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:t[2].charAt(0)==="="?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let r=t[1].charAt(t[1].length-1)===`
|
|
344
|
+
`?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:r,tokens:this.lexer.inline(r)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let r=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(r)){if(!this.rules.other.endAngleBracket.test(r))return;let i=dn(r.slice(0,-1),"\\");if((r.length-i.length)%2===0)return}else{let i=kE(t[2],"()");if(i===-2)return;if(i>-1){let s=(t[0].indexOf("!")===0?5:4)+t[1].length+i;t[2]=t[2].substring(0,i),t[0]=t[0].substring(0,s).trim(),t[3]=""}}let n=t[2],a="";if(this.options.pedantic){let i=this.rules.other.pedanticHrefTitle.exec(n);i&&(n=i[1],a=i[3])}else a=t[3]?t[3].slice(1,-1):"";return n=n.trim(),this.rules.other.startAngleBracket.test(n)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(r)?n=n.slice(1):n=n.slice(1,-1)),Ul(t,{href:n&&n.replace(this.rules.inline.anyPunctuation,"$1"),title:a&&a.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}reflink(e,t){let r;if((r=this.rules.inline.reflink.exec(e))||(r=this.rules.inline.nolink.exec(e))){let n=(r[2]||r[1]).replace(this.rules.other.multipleSpaceGlobal," "),a=t[n.toLowerCase()];if(!a){let i=r[0].charAt(0);return{type:"text",raw:i,text:i}}return Ul(r,a,r[0],this.lexer,this.rules)}}emStrong(e,t,r=""){let n=this.rules.inline.emStrongLDelim.exec(e);if(!(!n||n[3]&&r.match(this.rules.other.unicodeAlphaNumeric))&&(!(n[1]||n[2])||!r||this.rules.inline.punctuation.exec(r))){let a=[...n[0]].length-1,i,s,u=a,l=0,o=n[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(o.lastIndex=0,t=t.slice(-1*e.length+a);(n=o.exec(t))!=null;){if(i=n[1]||n[2]||n[3]||n[4]||n[5]||n[6],!i)continue;if(s=[...i].length,n[3]||n[4]){u+=s;continue}else if((n[5]||n[6])&&a%3&&!((a+s)%3)){l+=s;continue}if(u-=s,u>0)continue;s=Math.min(s,s+u+l);let h=[...n[0]][0].length,d=e.slice(0,a+n.index+h+s);if(Math.min(a,s)%2){let g=d.slice(1,-1);return{type:"em",raw:d,text:g,tokens:this.lexer.inlineTokens(g)}}let p=d.slice(2,-2);return{type:"strong",raw:d,text:p,tokens:this.lexer.inlineTokens(p)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let r=t[2].replace(this.rules.other.newLineCharGlobal," "),n=this.rules.other.nonSpaceChar.test(r),a=this.rules.other.startingSpaceChar.test(r)&&this.rules.other.endingSpaceChar.test(r);return n&&a&&(r=r.substring(1,r.length-1)),{type:"codespan",raw:t[0],text:r}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){let t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let r,n;return t[2]==="@"?(r=t[1],n="mailto:"+r):(r=t[1],n=r),{type:"link",raw:t[0],text:r,href:n,tokens:[{type:"text",raw:r,text:r}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let r,n;if(t[2]==="@")r=t[0],n="mailto:"+r;else{let a;do a=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??"";while(a!==t[0]);r=t[0],t[1]==="www."?n="http://"+t[0]:n=t[0]}return{type:"link",raw:t[0],text:r,href:n,tokens:[{type:"text",raw:r,text:r}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let r=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:r}}}},gt=class Ai{tokens;options;state;tokenizer;inlineQueue;constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||Nr,this.options.tokenizer=this.options.tokenizer||new L0,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let r={other:tt,block:h0.normal,inline:hn.normal};this.options.pedantic?(r.block=h0.pedantic,r.inline=hn.pedantic):this.options.gfm&&(r.block=h0.gfm,this.options.breaks?r.inline=hn.breaks:r.inline=hn.gfm),this.tokenizer.rules=r}static get rules(){return{block:h0,inline:hn}}static lex(t,r){return new Ai(r).lex(t)}static lexInline(t,r){return new Ai(r).inlineTokens(t)}lex(t){t=t.replace(tt.carriageReturn,`
|
|
345
|
+
`),this.blockTokens(t,this.tokens);for(let r=0;r<this.inlineQueue.length;r++){let n=this.inlineQueue[r];this.inlineTokens(n.src,n.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(t,r=[],n=!1){for(this.options.pedantic&&(t=t.replace(tt.tabCharGlobal," ").replace(tt.spaceLine,""));t;){let a;if(this.options.extensions?.block?.some(s=>(a=s.call({lexer:this},t,r))?(t=t.substring(a.raw.length),r.push(a),!0):!1))continue;if(a=this.tokenizer.space(t)){t=t.substring(a.raw.length);let s=r.at(-1);a.raw.length===1&&s!==void 0?s.raw+=`
|
|
346
|
+
`:r.push(a);continue}if(a=this.tokenizer.code(t)){t=t.substring(a.raw.length);let s=r.at(-1);s?.type==="paragraph"||s?.type==="text"?(s.raw+=(s.raw.endsWith(`
|
|
347
|
+
`)?"":`
|
|
348
|
+
`)+a.raw,s.text+=`
|
|
349
|
+
`+a.text,this.inlineQueue.at(-1).src=s.text):r.push(a);continue}if(a=this.tokenizer.fences(t)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.heading(t)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.hr(t)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.blockquote(t)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.list(t)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.html(t)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.def(t)){t=t.substring(a.raw.length);let s=r.at(-1);s?.type==="paragraph"||s?.type==="text"?(s.raw+=(s.raw.endsWith(`
|
|
350
|
+
`)?"":`
|
|
351
|
+
`)+a.raw,s.text+=`
|
|
352
|
+
`+a.raw,this.inlineQueue.at(-1).src=s.text):this.tokens.links[a.tag]||(this.tokens.links[a.tag]={href:a.href,title:a.title},r.push(a));continue}if(a=this.tokenizer.table(t)){t=t.substring(a.raw.length),r.push(a);continue}if(a=this.tokenizer.lheading(t)){t=t.substring(a.raw.length),r.push(a);continue}let i=t;if(this.options.extensions?.startBlock){let s=1/0,u=t.slice(1),l;this.options.extensions.startBlock.forEach(o=>{l=o.call({lexer:this},u),typeof l=="number"&&l>=0&&(s=Math.min(s,l))}),s<1/0&&s>=0&&(i=t.substring(0,s+1))}if(this.state.top&&(a=this.tokenizer.paragraph(i))){let s=r.at(-1);n&&s?.type==="paragraph"?(s.raw+=(s.raw.endsWith(`
|
|
353
|
+
`)?"":`
|
|
354
|
+
`)+a.raw,s.text+=`
|
|
355
|
+
`+a.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=s.text):r.push(a),n=i.length!==t.length,t=t.substring(a.raw.length);continue}if(a=this.tokenizer.text(t)){t=t.substring(a.raw.length);let s=r.at(-1);s?.type==="text"?(s.raw+=(s.raw.endsWith(`
|
|
356
|
+
`)?"":`
|
|
357
|
+
`)+a.raw,s.text+=`
|
|
358
|
+
`+a.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=s.text):r.push(a);continue}if(t){let s="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(s);break}else throw new Error(s)}}return this.state.top=!0,r}inline(t,r=[]){return this.inlineQueue.push({src:t,tokens:r}),r}inlineTokens(t,r=[]){let n=t,a=null;if(this.tokens.links){let l=Object.keys(this.tokens.links);if(l.length>0)for(;(a=this.tokenizer.rules.inline.reflinkSearch.exec(n))!=null;)l.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(n=n.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(a=this.tokenizer.rules.inline.anyPunctuation.exec(n))!=null;)n=n.slice(0,a.index)+"++"+n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let i;for(;(a=this.tokenizer.rules.inline.blockSkip.exec(n))!=null;)i=a[2]?a[2].length:0,n=n.slice(0,a.index+i)+"["+"a".repeat(a[0].length-i-2)+"]"+n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);n=this.options.hooks?.emStrongMask?.call({lexer:this},n)??n;let s=!1,u="";for(;t;){s||(u=""),s=!1;let l;if(this.options.extensions?.inline?.some(h=>(l=h.call({lexer:this},t,r))?(t=t.substring(l.raw.length),r.push(l),!0):!1))continue;if(l=this.tokenizer.escape(t)){t=t.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.tag(t)){t=t.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.link(t)){t=t.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(l.raw.length);let h=r.at(-1);l.type==="text"&&h?.type==="text"?(h.raw+=l.raw,h.text+=l.text):r.push(l);continue}if(l=this.tokenizer.emStrong(t,n,u)){t=t.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.codespan(t)){t=t.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.br(t)){t=t.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.del(t)){t=t.substring(l.raw.length),r.push(l);continue}if(l=this.tokenizer.autolink(t)){t=t.substring(l.raw.length),r.push(l);continue}if(!this.state.inLink&&(l=this.tokenizer.url(t))){t=t.substring(l.raw.length),r.push(l);continue}let o=t;if(this.options.extensions?.startInline){let h=1/0,d=t.slice(1),p;this.options.extensions.startInline.forEach(g=>{p=g.call({lexer:this},d),typeof p=="number"&&p>=0&&(h=Math.min(h,p))}),h<1/0&&h>=0&&(o=t.substring(0,h+1))}if(l=this.tokenizer.inlineText(o)){t=t.substring(l.raw.length),l.raw.slice(-1)!=="_"&&(u=l.raw.slice(-1)),s=!0;let h=r.at(-1);h?.type==="text"?(h.raw+=l.raw,h.text+=l.text):r.push(l);continue}if(t){let h="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(h);break}else throw new Error(h)}}return r}},O0=class{options;parser;constructor(e){this.options=e||Nr}space(e){return""}code({text:e,lang:t,escaped:r}){let n=(t||"").match(tt.notSpaceStart)?.[0],a=e.replace(tt.endingNewline,"")+`
|
|
359
|
+
`;return n?'<pre><code class="language-'+Ct(n)+'">'+(r?a:Ct(a,!0))+`</code></pre>
|
|
360
|
+
`:"<pre><code>"+(r?a:Ct(a,!0))+`</code></pre>
|
|
361
|
+
`}blockquote({tokens:e}){return`<blockquote>
|
|
362
|
+
${this.parser.parse(e)}</blockquote>
|
|
363
|
+
`}html({text:e}){return e}def(e){return""}heading({tokens:e,depth:t}){return`<h${t}>${this.parser.parseInline(e)}</h${t}>
|
|
364
|
+
`}hr(e){return`<hr>
|
|
365
|
+
`}list(e){let t=e.ordered,r=e.start,n="";for(let s=0;s<e.items.length;s++){let u=e.items[s];n+=this.listitem(u)}let a=t?"ol":"ul",i=t&&r!==1?' start="'+r+'"':"";return"<"+a+i+`>
|
|
366
|
+
`+n+"</"+a+`>
|
|
367
|
+
`}listitem(e){let t="";if(e.task){let r=this.checkbox({checked:!!e.checked});e.loose?e.tokens[0]?.type==="paragraph"?(e.tokens[0].text=r+" "+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&e.tokens[0].tokens[0].type==="text"&&(e.tokens[0].tokens[0].text=r+" "+Ct(e.tokens[0].tokens[0].text),e.tokens[0].tokens[0].escaped=!0)):e.tokens.unshift({type:"text",raw:r+" ",text:r+" ",escaped:!0}):t+=r+" "}return t+=this.parser.parse(e.tokens,!!e.loose),`<li>${t}</li>
|
|
368
|
+
`}checkbox({checked:e}){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p>
|
|
369
|
+
`}table(e){let t="",r="";for(let a=0;a<e.header.length;a++)r+=this.tablecell(e.header[a]);t+=this.tablerow({text:r});let n="";for(let a=0;a<e.rows.length;a++){let i=e.rows[a];r="";for(let s=0;s<i.length;s++)r+=this.tablecell(i[s]);n+=this.tablerow({text:r})}return n&&(n=`<tbody>${n}</tbody>`),`<table>
|
|
370
|
+
<thead>
|
|
371
|
+
`+t+`</thead>
|
|
372
|
+
`+n+`</table>
|
|
373
|
+
`}tablerow({text:e}){return`<tr>
|
|
374
|
+
${e}</tr>
|
|
375
|
+
`}tablecell(e){let t=this.parser.parseInline(e.tokens),r=e.header?"th":"td";return(e.align?`<${r} align="${e.align}">`:`<${r}>`)+t+`</${r}>
|
|
376
|
+
`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${Ct(e,!0)}</code>`}br(e){return"<br>"}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,tokens:r}){let n=this.parser.parseInline(r),a=zl(e);if(a===null)return n;e=a;let i='<a href="'+e+'"';return t&&(i+=' title="'+Ct(t)+'"'),i+=">"+n+"</a>",i}image({href:e,title:t,text:r,tokens:n}){n&&(r=this.parser.parseInline(n,this.parser.textRenderer));let a=zl(e);if(a===null)return Ct(r);e=a;let i=`<img src="${e}" alt="${r}"`;return t&&(i+=` title="${Ct(t)}"`),i+=">",i}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:Ct(e.text)}},Ns=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}},kt=class wi{options;renderer;textRenderer;constructor(t){this.options=t||Nr,this.options.renderer=this.options.renderer||new O0,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new Ns}static parse(t,r){return new wi(r).parse(t)}static parseInline(t,r){return new wi(r).parseInline(t)}parse(t,r=!0){let n="";for(let a=0;a<t.length;a++){let i=t[a];if(this.options.extensions?.renderers?.[i.type]){let u=i,l=this.options.extensions.renderers[u.type].call({parser:this},u);if(l!==!1||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(u.type)){n+=l||"";continue}}let s=i;switch(s.type){case"space":{n+=this.renderer.space(s);continue}case"hr":{n+=this.renderer.hr(s);continue}case"heading":{n+=this.renderer.heading(s);continue}case"code":{n+=this.renderer.code(s);continue}case"table":{n+=this.renderer.table(s);continue}case"blockquote":{n+=this.renderer.blockquote(s);continue}case"list":{n+=this.renderer.list(s);continue}case"html":{n+=this.renderer.html(s);continue}case"def":{n+=this.renderer.def(s);continue}case"paragraph":{n+=this.renderer.paragraph(s);continue}case"text":{let u=s,l=this.renderer.text(u);for(;a+1<t.length&&t[a+1].type==="text";)u=t[++a],l+=`
|
|
377
|
+
`+this.renderer.text(u);r?n+=this.renderer.paragraph({type:"paragraph",raw:l,text:l,tokens:[{type:"text",raw:l,text:l,escaped:!0}]}):n+=l;continue}default:{let u='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(u),"";throw new Error(u)}}}return n}parseInline(t,r=this.renderer){let n="";for(let a=0;a<t.length;a++){let i=t[a];if(this.options.extensions?.renderers?.[i.type]){let u=this.options.extensions.renderers[i.type].call({parser:this},i);if(u!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type)){n+=u||"";continue}}let s=i;switch(s.type){case"escape":{n+=r.text(s);break}case"html":{n+=r.html(s);break}case"link":{n+=r.link(s);break}case"image":{n+=r.image(s);break}case"strong":{n+=r.strong(s);break}case"em":{n+=r.em(s);break}case"codespan":{n+=r.codespan(s);break}case"br":{n+=r.br(s);break}case"del":{n+=r.del(s);break}case"text":{n+=r.text(s);break}default:{let u='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(u),"";throw new Error(u)}}}return n}},gn=class{options;block;constructor(e){this.options=e||Nr}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}emStrongMask(e){return e}provideLexer(){return this.block?gt.lex:gt.lexInline}provideParser(){return this.block?kt.parse:kt.parseInline}},wE=class{defaults=ys();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=kt;Renderer=O0;TextRenderer=Ns;Lexer=gt;Tokenizer=L0;Hooks=gn;constructor(...e){this.use(...e)}walkTokens(e,t){let r=[];for(let n of e)switch(r=r.concat(t.call(this,n)),n.type){case"table":{let a=n;for(let i of a.header)r=r.concat(this.walkTokens(i.tokens,t));for(let i of a.rows)for(let s of i)r=r.concat(this.walkTokens(s.tokens,t));break}case"list":{let a=n;r=r.concat(this.walkTokens(a.items,t));break}default:{let a=n;this.defaults.extensions?.childTokens?.[a.type]?this.defaults.extensions.childTokens[a.type].forEach(i=>{let s=a[i].flat(1/0);r=r.concat(this.walkTokens(s,t))}):a.tokens&&(r=r.concat(this.walkTokens(a.tokens,t)))}}return r}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(r=>{let n={...r};if(n.async=this.defaults.async||n.async||!1,r.extensions&&(r.extensions.forEach(a=>{if(!a.name)throw new Error("extension name required");if("renderer"in a){let i=t.renderers[a.name];i?t.renderers[a.name]=function(...s){let u=a.renderer.apply(this,s);return u===!1&&(u=i.apply(this,s)),u}:t.renderers[a.name]=a.renderer}if("tokenizer"in a){if(!a.level||a.level!=="block"&&a.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let i=t[a.level];i?i.unshift(a.tokenizer):t[a.level]=[a.tokenizer],a.start&&(a.level==="block"?t.startBlock?t.startBlock.push(a.start):t.startBlock=[a.start]:a.level==="inline"&&(t.startInline?t.startInline.push(a.start):t.startInline=[a.start]))}"childTokens"in a&&a.childTokens&&(t.childTokens[a.name]=a.childTokens)}),n.extensions=t),r.renderer){let a=this.defaults.renderer||new O0(this.defaults);for(let i in r.renderer){if(!(i in a))throw new Error(`renderer '${i}' does not exist`);if(["options","parser"].includes(i))continue;let s=i,u=r.renderer[s],l=a[s];a[s]=(...o)=>{let h=u.apply(a,o);return h===!1&&(h=l.apply(a,o)),h||""}}n.renderer=a}if(r.tokenizer){let a=this.defaults.tokenizer||new L0(this.defaults);for(let i in r.tokenizer){if(!(i in a))throw new Error(`tokenizer '${i}' does not exist`);if(["options","rules","lexer"].includes(i))continue;let s=i,u=r.tokenizer[s],l=a[s];a[s]=(...o)=>{let h=u.apply(a,o);return h===!1&&(h=l.apply(a,o)),h}}n.tokenizer=a}if(r.hooks){let a=this.defaults.hooks||new gn;for(let i in r.hooks){if(!(i in a))throw new Error(`hook '${i}' does not exist`);if(["options","block"].includes(i))continue;let s=i,u=r.hooks[s],l=a[s];gn.passThroughHooks.has(i)?a[s]=o=>{if(this.defaults.async&&gn.passThroughHooksRespectAsync.has(i))return(async()=>{let d=await u.call(a,o);return l.call(a,d)})();let h=u.call(a,o);return l.call(a,h)}:a[s]=(...o)=>{if(this.defaults.async)return(async()=>{let d=await u.apply(a,o);return d===!1&&(d=await l.apply(a,o)),d})();let h=u.apply(a,o);return h===!1&&(h=l.apply(a,o)),h}}n.hooks=a}if(r.walkTokens){let a=this.defaults.walkTokens,i=r.walkTokens;n.walkTokens=function(s){let u=[];return u.push(i.call(this,s)),a&&(u=u.concat(a.call(this,s))),u}}this.defaults={...this.defaults,...n}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return gt.lex(e,t??this.defaults)}parser(e,t){return kt.parse(e,t??this.defaults)}parseMarkdown(e){return(t,r)=>{let n={...r},a={...this.defaults,...n},i=this.onError(!!a.silent,!!a.async);if(this.defaults.async===!0&&n.async===!1)return i(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof t>"u"||t===null)return i(new Error("marked(): input parameter is undefined or null"));if(typeof t!="string")return i(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(a.hooks&&(a.hooks.options=a,a.hooks.block=e),a.async)return(async()=>{let s=a.hooks?await a.hooks.preprocess(t):t,u=await(a.hooks?await a.hooks.provideLexer():e?gt.lex:gt.lexInline)(s,a),l=a.hooks?await a.hooks.processAllTokens(u):u;a.walkTokens&&await Promise.all(this.walkTokens(l,a.walkTokens));let o=await(a.hooks?await a.hooks.provideParser():e?kt.parse:kt.parseInline)(l,a);return a.hooks?await a.hooks.postprocess(o):o})().catch(i);try{a.hooks&&(t=a.hooks.preprocess(t));let s=(a.hooks?a.hooks.provideLexer():e?gt.lex:gt.lexInline)(t,a);a.hooks&&(s=a.hooks.processAllTokens(s)),a.walkTokens&&this.walkTokens(s,a.walkTokens);let u=(a.hooks?a.hooks.provideParser():e?kt.parse:kt.parseInline)(s,a);return a.hooks&&(u=a.hooks.postprocess(u)),u}catch(s){return i(s)}}}onError(e,t){return r=>{if(r.message+=`
|
|
378
|
+
Please report this to https://github.com/markedjs/marked.`,e){let n="<p>An error occurred:</p><pre>"+Ct(r.message+"",!0)+"</pre>";return t?Promise.resolve(n):n}if(t)return Promise.reject(r);throw r}}},Ar=new wE;function xe(e,t){return Ar.parse(e,t)}xe.options=xe.setOptions=function(e){return Ar.setOptions(e),xe.defaults=Ar.defaults,nh(xe.defaults),xe};xe.getDefaults=ys;xe.defaults=Nr;xe.use=function(...e){return Ar.use(...e),xe.defaults=Ar.defaults,nh(xe.defaults),xe};xe.walkTokens=function(e,t){return Ar.walkTokens(e,t)};xe.parseInline=Ar.parseInline;xe.Parser=kt;xe.parser=kt.parse;xe.Renderer=O0;xe.TextRenderer=Ns;xe.Lexer=gt;xe.lexer=gt.lex;xe.Tokenizer=L0;xe.Hooks=gn;xe.parse=xe;xe.options;xe.setOptions;xe.use;xe.walkTokens;xe.parseInline;kt.parse;gt.lex;var ce=(...e)=>Kh(Zh(e)),Ur=(e,t,r)=>{let n=typeof t=="string"?new Blob([t],{type:r}):t,a=URL.createObjectURL(n),i=document.createElement("a");i.href=a,i.download=e,document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL(a)},SE=$.createContext({code:""}),mh=()=>$.useContext(SE),ql=({onCopy:e,onError:t,timeout:r=2e3,children:n,className:a,code:i,...s})=>{let[u,l]=$.useState(!1),o=$.useRef(0),{code:h}=mh(),{isAnimating:d}=$.useContext(wt),p=i??h,g=async()=>{var y;if(typeof window>"u"||!((y=navigator?.clipboard)!=null&&y.writeText)){t?.(new Error("Clipboard API not available"));return}try{u||(await navigator.clipboard.writeText(p),l(!0),e?.(),o.current=window.setTimeout(()=>l(!1),r))}catch(N){t?.(N)}};$.useEffect(()=>()=>{window.clearTimeout(o.current)},[]);let E=u?Jl:eo;return B.jsx("button",{className:ce("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",a),"data-streamdown":"code-block-copy-button",disabled:d,onClick:g,title:"Copy Code",type:"button",...s,children:n??B.jsx(E,{size:14})})},$l={"1c":"1c","1c-query":"1cq",abap:"abap","actionscript-3":"as",ada:"ada",adoc:"adoc","angular-html":"html","angular-ts":"ts",apache:"conf",apex:"cls",apl:"apl",applescript:"applescript",ara:"ara",asciidoc:"adoc",asm:"asm",astro:"astro",awk:"awk",ballerina:"bal",bash:"sh",bat:"bat",batch:"bat",be:"be",beancount:"beancount",berry:"berry",bibtex:"bib",bicep:"bicep",blade:"blade.php",bsl:"bsl",c:"c","c#":"cs","c++":"cpp",cadence:"cdc",cairo:"cairo",cdc:"cdc",clarity:"clar",clj:"clj",clojure:"clj","closure-templates":"soy",cmake:"cmake",cmd:"cmd",cobol:"cob",codeowners:"CODEOWNERS",codeql:"ql",coffee:"coffee",coffeescript:"coffee","common-lisp":"lisp",console:"sh",coq:"v",cpp:"cpp",cql:"cql",crystal:"cr",cs:"cs",csharp:"cs",css:"css",csv:"csv",cue:"cue",cypher:"cql",d:"d",dart:"dart",dax:"dax",desktop:"desktop",diff:"diff",docker:"dockerfile",dockerfile:"dockerfile",dotenv:"env","dream-maker":"dm",edge:"edge",elisp:"el",elixir:"ex",elm:"elm","emacs-lisp":"el",erb:"erb",erl:"erl",erlang:"erl",f:"f","f#":"fs",f03:"f03",f08:"f08",f18:"f18",f77:"f77",f90:"f90",f95:"f95",fennel:"fnl",fish:"fish",fluent:"ftl",for:"for","fortran-fixed-form":"f","fortran-free-form":"f90",fs:"fs",fsharp:"fs",fsl:"fsl",ftl:"ftl",gdresource:"tres",gdscript:"gd",gdshader:"gdshader",genie:"gs",gherkin:"feature","git-commit":"gitcommit","git-rebase":"gitrebase",gjs:"js",gleam:"gleam","glimmer-js":"js","glimmer-ts":"ts",glsl:"glsl",gnuplot:"plt",go:"go",gql:"gql",graphql:"graphql",groovy:"groovy",gts:"gts",hack:"hack",haml:"haml",handlebars:"hbs",haskell:"hs",haxe:"hx",hbs:"hbs",hcl:"hcl",hjson:"hjson",hlsl:"hlsl",hs:"hs",html:"html","html-derivative":"html",http:"http",hxml:"hxml",hy:"hy",imba:"imba",ini:"ini",jade:"jade",java:"java",javascript:"js",jinja:"jinja",jison:"jison",jl:"jl",js:"js",json:"json",json5:"json5",jsonc:"jsonc",jsonl:"jsonl",jsonnet:"jsonnet",jssm:"jssm",jsx:"jsx",julia:"jl",kotlin:"kt",kql:"kql",kt:"kt",kts:"kts",kusto:"kql",latex:"tex",lean:"lean",lean4:"lean",less:"less",liquid:"liquid",lisp:"lisp",lit:"lit",llvm:"ll",log:"log",logo:"logo",lua:"lua",luau:"luau",make:"mak",makefile:"mak",markdown:"md",marko:"marko",matlab:"m",md:"md",mdc:"mdc",mdx:"mdx",mediawiki:"wiki",mermaid:"mmd",mips:"s",mipsasm:"s",mmd:"mmd",mojo:"mojo",move:"move",nar:"nar",narrat:"narrat",nextflow:"nf",nf:"nf",nginx:"conf",nim:"nim",nix:"nix",nu:"nu",nushell:"nu",objc:"m","objective-c":"m","objective-cpp":"mm",ocaml:"ml",pascal:"pas",perl:"pl",perl6:"p6",php:"php",plsql:"pls",po:"po",polar:"polar",postcss:"pcss",pot:"pot",potx:"potx",powerquery:"pq",powershell:"ps1",prisma:"prisma",prolog:"pl",properties:"properties",proto:"proto",protobuf:"proto",ps:"ps",ps1:"ps1",pug:"pug",puppet:"pp",purescript:"purs",py:"py",python:"py",ql:"ql",qml:"qml",qmldir:"qmldir",qss:"qss",r:"r",racket:"rkt",raku:"raku",razor:"cshtml",rb:"rb",reg:"reg",regex:"regex",regexp:"regexp",rel:"rel",riscv:"s",rs:"rs",rst:"rst",ruby:"rb",rust:"rs",sas:"sas",sass:"sass",scala:"scala",scheme:"scm",scss:"scss",sdbl:"sdbl",sh:"sh",shader:"shader",shaderlab:"shader",shell:"sh",shellscript:"sh",shellsession:"sh",smalltalk:"st",solidity:"sol",soy:"soy",sparql:"rq",spl:"spl",splunk:"spl",sql:"sql","ssh-config":"config",stata:"do",styl:"styl",stylus:"styl",svelte:"svelte",swift:"swift","system-verilog":"sv",systemd:"service",talon:"talon",talonscript:"talon",tasl:"tasl",tcl:"tcl",templ:"templ",terraform:"tf",tex:"tex",tf:"tf",tfvars:"tfvars",toml:"toml",ts:"ts","ts-tags":"ts",tsp:"tsp",tsv:"tsv",tsx:"tsx",turtle:"ttl",twig:"twig",typ:"typ",typescript:"ts",typespec:"tsp",typst:"typ",v:"v",vala:"vala",vb:"vb",verilog:"v",vhdl:"vhdl",vim:"vim",viml:"vim",vimscript:"vim",vue:"vue","vue-html":"html","vue-vine":"vine",vy:"vy",vyper:"vy",wasm:"wasm",wenyan:"wy",wgsl:"wgsl",wiki:"wiki",wikitext:"wiki",wit:"wit",wl:"wl",wolfram:"wl",xml:"xml",xsl:"xsl",yaml:"yaml",yml:"yml",zenscript:"zs",zig:"zig",zsh:"zsh",文言:"wy"},CE=({onDownload:e,onError:t,language:r,children:n,className:a,code:i,...s})=>{let{code:u}=mh(),{isAnimating:l}=$.useContext(wt),o=i??u,h=`file.${r&&r in $l?$l[r]:"txt"}`,d="text/plain",p=()=>{try{Ur(h,o,d),e?.()}catch(g){t?.(g)}};return B.jsx("button",{className:ce("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",a),"data-streamdown":"code-block-download-button",disabled:l,onClick:p,title:"Download file",type:"button",...s,children:n??B.jsx(P0,{size:14})})},jl=()=>B.jsxs("div",{className:"w-full divide-y divide-border overflow-hidden rounded-xl border border-border",children:[B.jsx("div",{className:"h-[46px] w-full bg-muted/80"}),B.jsx("div",{className:"flex w-full items-center justify-center p-4",children:B.jsx(Jh,{className:"size-4 animate-spin"})})]}),_E=/\.[^/.]+$/,NE=({node:e,className:t,src:r,alt:n,...a})=>{let i=async()=>{if(r)try{let s=await(await fetch(r)).blob(),u=new URL(r,window.location.origin).pathname.split("/").pop()||"",l=u.split(".").pop(),o=u.includes(".")&&l!==void 0&&l.length<=4,h="";if(o)h=u;else{let d=s.type,p="png";d.includes("jpeg")||d.includes("jpg")?p="jpg":d.includes("png")?p="png":d.includes("svg")?p="svg":d.includes("gif")?p="gif":d.includes("webp")&&(p="webp"),h=`${(n||u||"image").replace(_E,"")}.${p}`}Ur(h,s,s.type)}catch(s){console.error("Failed to download image:",s)}};return r?B.jsxs("div",{className:"group relative my-4 inline-block","data-streamdown":"image-wrapper",children:[B.jsx("img",{alt:n,className:ce("max-w-full rounded-lg",t),"data-streamdown":"image",src:r,...a}),B.jsx("div",{className:"pointer-events-none absolute inset-0 hidden rounded-lg bg-black/10 group-hover:block"}),B.jsx("button",{className:ce("absolute right-2 bottom-2 flex h-8 w-8 cursor-pointer items-center justify-center rounded-md border border-border bg-background/90 shadow-sm backdrop-blur-sm transition-all duration-200 hover:bg-background","opacity-0 group-hover:opacity-100"),onClick:i,title:"Download image",type:"button",children:B.jsx(P0,{size:14})})]}):null},ph=async e=>{let t={startOnLoad:!1,theme:"default",securityLevel:"strict",fontFamily:"monospace",suppressErrorRendering:!0,...e},r=(await M0(async()=>{const{default:n}=await import("./mermaid.core-CRNTw-K2.js").then(a=>a.bp);return{default:n}},__vite__mapDeps([0,1,2]))).default;return r.initialize(t),r},IE=(e,t)=>{var r;let n=(r=void 0)!=null?r:5;return new Promise((a,i)=>{let s="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(e))),u=new Image;u.crossOrigin="anonymous",u.onload=()=>{let l=document.createElement("canvas"),o=u.width*n,h=u.height*n;l.width=o,l.height=h;let d=l.getContext("2d");if(!d){i(new Error("Failed to create 2D canvas context for PNG export"));return}d.drawImage(u,0,0,o,h),l.toBlob(p=>{if(!p){i(new Error("Failed to create PNG blob"));return}a(p)},"image/png")},u.onerror=()=>i(new Error("Failed to load SVG image")),u.src=s})},DE=({chart:e,children:t,className:r,onDownload:n,config:a,onError:i})=>{let[s,u]=$.useState(!1),l=$.useRef(null),{isAnimating:o}=$.useContext(wt),h=async d=>{try{if(d==="mmd"){Ur("diagram.mmd",e,"text/plain"),u(!1),n?.(d);return}let p=await ph(a),g=e.split("").reduce((N,S)=>(N<<5)-N+S.charCodeAt(0)|0,0),E=`mermaid-${Math.abs(g)}-${Date.now()}-${Math.random().toString(36).substring(2,9)}`,{svg:y}=await p.render(E,e);if(!y){i?.(new Error("SVG not found. Please wait for the diagram to render."));return}if(d==="svg"){Ur("diagram.svg",y,"image/svg+xml"),u(!1),n?.(d);return}if(d==="png"){let N=await IE(y);Ur("diagram.png",N,"image/png"),n?.(d),u(!1);return}}catch(p){i?.(p)}};return $.useEffect(()=>{let d=p=>{l.current&&!l.current.contains(p.target)&&u(!1)};return document.addEventListener("mousedown",d),()=>{document.removeEventListener("mousedown",d)}},[]),B.jsxs("div",{className:"relative",ref:l,children:[B.jsx("button",{className:ce("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",r),disabled:o,onClick:()=>u(!s),title:"Download diagram",type:"button",children:t??B.jsx(P0,{size:14})}),s&&B.jsxs("div",{className:"absolute top-full right-0 z-10 mt-1 min-w-[120px] overflow-hidden rounded-md border border-border bg-background shadow-lg",children:[B.jsx("button",{className:"w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40",onClick:()=>h("svg"),title:"Download diagram as SVG",type:"button",children:"SVG"}),B.jsx("button",{className:"w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40",onClick:()=>h("png"),title:"Download diagram as PNG",type:"button",children:"PNG"}),B.jsx("button",{className:"w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40",onClick:()=>h("mmd"),title:"Download diagram as MMD",type:"button",children:"MMD"})]})]})},Nn=0,RE=()=>{Nn+=1,Nn===1&&(document.body.style.overflow="hidden")},LE=()=>{Nn=Math.max(0,Nn-1),Nn===0&&(document.body.style.overflow="")},OE=({chart:e,config:t,onFullscreen:r,onExit:n,className:a,...i})=>{let[s,u]=$.useState(!1),{isAnimating:l,controls:o}=$.useContext(wt),h=(()=>{if(typeof o=="boolean")return o;let p=o.mermaid;return p===!1?!1:p===!0||p===void 0?!0:p.panZoom!==!1})(),d=()=>{u(!s)};return $.useEffect(()=>{if(s){RE();let p=g=>{g.key==="Escape"&&u(!1)};return document.addEventListener("keydown",p),()=>{document.removeEventListener("keydown",p),LE()}}},[s]),$.useEffect(()=>{s?r?.():n&&n()},[s,r,n]),B.jsxs(B.Fragment,{children:[B.jsx("button",{className:ce("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",a),disabled:l,onClick:d,title:"View fullscreen",type:"button",...i,children:B.jsx(nd,{size:14})}),s&&B.jsxs("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-background/95 backdrop-blur-sm",onClick:d,onKeyDown:p=>{p.key==="Escape"&&d()},role:"button",tabIndex:0,children:[B.jsx("button",{className:"absolute top-4 right-4 z-10 rounded-md p-2 text-muted-foreground transition-all hover:bg-muted hover:text-foreground",onClick:d,title:"Exit fullscreen",type:"button",children:B.jsx(ad,{size:20})}),B.jsx("div",{className:"flex h-full w-full items-center justify-center p-4",onClick:p=>p.stopPropagation(),onKeyDown:p=>p.stopPropagation(),role:"presentation",children:B.jsx(Yh,{chart:e,className:"h-full w-full [&>div]:h-full [&>div]:overflow-hidden [&_svg]:h-auto [&_svg]:w-auto",config:t,fullscreen:!0,showControls:h})})]})]})},gh=e=>{var t,r;let n=[],a=[],i=e.querySelectorAll("thead th");for(let u of i)n.push(((t=u.textContent)==null?void 0:t.trim())||"");let s=e.querySelectorAll("tbody tr");for(let u of s){let l=[],o=u.querySelectorAll("td");for(let h of o)l.push(((r=h.textContent)==null?void 0:r.trim())||"");a.push(l)}return{headers:n,rows:a}},bh=e=>{let{headers:t,rows:r}=e,n=u=>{let l=!1,o=!1;for(let h=0;h<u.length;h+=1){let d=u[h];if(d==='"'){l=!0,o=!0;break}(d===","||d===`
|
|
379
|
+
`)&&(l=!0)}return l?o?`"${u.replace(/"/g,'""')}"`:`"${u}"`:u},a=t.length>0?r.length+1:r.length,i=new Array(a),s=0;t.length>0&&(i[s]=t.map(n).join(","),s+=1);for(let u of r)i[s]=u.map(n).join(","),s+=1;return i.join(`
|
|
380
|
+
`)},ME=e=>{let{headers:t,rows:r}=e,n=u=>{let l=!1;for(let h=0;h<u.length;h+=1){let d=u[h];if(d===" "||d===`
|
|
381
|
+
`||d==="\r"){l=!0;break}}if(!l)return u;let o=[];for(let h=0;h<u.length;h+=1){let d=u[h];d===" "?o.push("\\t"):d===`
|
|
382
|
+
`?o.push("\\n"):d==="\r"?o.push("\\r"):o.push(d)}return o.join("")},a=t.length>0?r.length+1:r.length,i=new Array(a),s=0;t.length>0&&(i[s]=t.map(n).join(" "),s+=1);for(let u of r)i[s]=u.map(n).join(" "),s+=1;return i.join(`
|
|
383
|
+
`)},$a=e=>{let t=!1;for(let n=0;n<e.length;n+=1){let a=e[n];if(a==="\\"||a==="|"){t=!0;break}}if(!t)return e;let r=[];for(let n=0;n<e.length;n+=1){let a=e[n];a==="\\"?r.push("\\\\"):a==="|"?r.push("\\|"):r.push(a)}return r.join("")},PE=e=>{let{headers:t,rows:r}=e;if(t.length===0)return"";let n=new Array(r.length+2),a=0,i=t.map(u=>$a(u));n[a]=`| ${i.join(" | ")} |`,a+=1;let s=new Array(t.length);for(let u=0;u<t.length;u+=1)s[u]="---";n[a]=`| ${s.join(" | ")} |`,a+=1;for(let u of r)if(u.length<t.length){let l=new Array(t.length);for(let o=0;o<t.length;o+=1)l[o]=o<u.length?$a(u[o]):"";n[a]=`| ${l.join(" | ")} |`,a+=1}else{let l=u.map(o=>$a(o));n[a]=`| ${l.join(" | ")} |`,a+=1}return n.join(`
|
|
384
|
+
`)},BE=({children:e,className:t,onCopy:r,onError:n,timeout:a=2e3})=>{let[i,s]=$.useState(!1),[u,l]=$.useState(!1),o=$.useRef(null),h=$.useRef(0),{isAnimating:d}=$.useContext(wt),p=async E=>{var y,N;if(typeof window>"u"||!((y=navigator?.clipboard)!=null&&y.write)){n?.(new Error("Clipboard API not available"));return}try{let S=(N=o.current)==null?void 0:N.closest('[data-streamdown="table-wrapper"]'),D=S?.querySelector("table");if(!D){n?.(new Error("Table not found"));return}let O=gh(D),H=E==="csv"?bh(O):ME(O),G=new ClipboardItem({"text/plain":new Blob([H],{type:"text/plain"}),"text/html":new Blob([D.outerHTML],{type:"text/html"})});await navigator.clipboard.write([G]),l(!0),s(!1),r?.(E),h.current=window.setTimeout(()=>l(!1),a)}catch(S){n?.(S)}};$.useEffect(()=>{let E=y=>{o.current&&!o.current.contains(y.target)&&s(!1)};return document.addEventListener("mousedown",E),()=>{document.removeEventListener("mousedown",E),window.clearTimeout(h.current)}},[]);let g=u?Jl:eo;return B.jsxs("div",{className:"relative",ref:o,children:[B.jsx("button",{className:ce("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",t),disabled:d,onClick:()=>s(!i),title:"Copy table",type:"button",children:e??B.jsx(g,{size:14})}),i&&B.jsxs("div",{className:"absolute top-full right-0 z-10 mt-1 min-w-[120px] overflow-hidden rounded-md border border-border bg-background shadow-lg",children:[B.jsx("button",{className:"w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40",onClick:()=>p("csv"),title:"Copy table as CSV",type:"button",children:"CSV"}),B.jsx("button",{className:"w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40",onClick:()=>p("tsv"),title:"Copy table as TSV",type:"button",children:"TSV"})]})]})},FE=({children:e,className:t,onDownload:r,onError:n})=>{let[a,i]=$.useState(!1),s=$.useRef(null),{isAnimating:u}=$.useContext(wt),l=o=>{var h;try{let d=(h=s.current)==null?void 0:h.closest('[data-streamdown="table-wrapper"]'),p=d?.querySelector("table");if(!p){n?.(new Error("Table not found"));return}let g=gh(p),E=o==="csv"?bh(g):PE(g);Ur(`table.${o==="csv"?"csv":"md"}`,E,o==="csv"?"text/csv":"text/markdown"),i(!1),r?.(o)}catch(d){n?.(d)}};return $.useEffect(()=>{let o=h=>{s.current&&!s.current.contains(h.target)&&i(!1)};return document.addEventListener("mousedown",o),()=>{document.removeEventListener("mousedown",o)}},[]),B.jsxs("div",{className:"relative",ref:s,children:[B.jsx("button",{className:ce("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",t),disabled:u,onClick:()=>i(!a),title:"Download table",type:"button",children:e??B.jsx(P0,{size:14})}),a&&B.jsxs("div",{className:"absolute top-full right-0 z-10 mt-1 min-w-[120px] overflow-hidden rounded-md border border-border bg-background shadow-lg",children:[B.jsx("button",{className:"w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40",onClick:()=>l("csv"),title:"Download table as CSV",type:"button",children:"CSV"}),B.jsx("button",{className:"w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40",onClick:()=>l("markdown"),title:"Download table as Markdown",type:"button",children:"Markdown"})]})]})},zE=({children:e,className:t,showControls:r,...n})=>B.jsxs("div",{className:"my-4 flex flex-col space-y-2","data-streamdown":"table-wrapper",children:[r&&B.jsxs("div",{className:"flex items-center justify-end gap-1",children:[B.jsx(BE,{}),B.jsx(FE,{})]}),B.jsx("div",{className:"overflow-x-auto",children:B.jsx("table",{className:ce("w-full border-collapse border border-border",t),"data-streamdown":"table",...n,children:e})})]}),HE=$.lazy(()=>M0(()=>import("./code-block-IT6T5CEO-rvNI7Npg.js"),__vite__mapDeps([3,1,2,4,5,6])).then(e=>({default:e.CodeBlock}))),UE=$.lazy(()=>M0(()=>Promise.resolve().then(()=>lT),void 0).then(e=>({default:e.Mermaid}))),qE=/language-([^\s]+)/;function ua(e,t){if(!(e!=null&&e.position||t!=null&&t.position))return!0;if(!(e!=null&&e.position&&t!=null&&t.position))return!1;let r=e.position.start,n=t.position.start,a=e.position.end,i=t.position.end;return r?.line===n?.line&&r?.column===n?.column&&a?.line===i?.line&&a?.column===i?.column}function Le(e,t){return e.className===t.className&&ua(e.node,t.node)}var Si=(e,t)=>typeof e=="boolean"?e:e[t]!==!1,d0=(e,t)=>{if(typeof e=="boolean")return e;let r=e.mermaid;return r===!1?!1:r===!0||r===void 0?!0:r[t]!==!1},Is=$.memo(({children:e,className:t,node:r,...n})=>B.jsx("ol",{className:ce("list-inside list-decimal whitespace-normal",t),"data-streamdown":"ordered-list",...n,children:e}),(e,t)=>Le(e,t));Is.displayName="MarkdownOl";var Eh=$.memo(({children:e,className:t,node:r,...n})=>B.jsx("li",{className:ce("py-1 [&>p]:inline",t),"data-streamdown":"list-item",...n,children:e}),(e,t)=>e.className===t.className&&ua(e.node,t.node));Eh.displayName="MarkdownLi";var Th=$.memo(({children:e,className:t,node:r,...n})=>B.jsx("ul",{className:ce("list-inside list-disc whitespace-normal",t),"data-streamdown":"unordered-list",...n,children:e}),(e,t)=>Le(e,t));Th.displayName="MarkdownUl";var xh=$.memo(({className:e,node:t,...r})=>B.jsx("hr",{className:ce("my-6 border-border",e),"data-streamdown":"horizontal-rule",...r}),(e,t)=>Le(e,t));xh.displayName="MarkdownHr";var yh=$.memo(({children:e,className:t,node:r,...n})=>B.jsx("span",{className:ce("font-semibold",t),"data-streamdown":"strong",...n,children:e}),(e,t)=>Le(e,t));yh.displayName="MarkdownStrong";var vh=$.memo(({children:e,className:t,href:r,node:n,...a})=>{let i=r==="streamdown:incomplete-link";return B.jsx("a",{className:ce("wrap-anywhere font-medium text-primary underline",t),"data-incomplete":i,"data-streamdown":"link",href:r,rel:"noreferrer",target:"_blank",...a,children:e})},(e,t)=>Le(e,t)&&e.href===t.href);vh.displayName="MarkdownA";var kh=$.memo(({children:e,className:t,node:r,...n})=>B.jsx("h1",{className:ce("mt-6 mb-2 font-semibold text-3xl",t),"data-streamdown":"heading-1",...n,children:e}),(e,t)=>Le(e,t));kh.displayName="MarkdownH1";var Ah=$.memo(({children:e,className:t,node:r,...n})=>B.jsx("h2",{className:ce("mt-6 mb-2 font-semibold text-2xl",t),"data-streamdown":"heading-2",...n,children:e}),(e,t)=>Le(e,t));Ah.displayName="MarkdownH2";var wh=$.memo(({children:e,className:t,node:r,...n})=>B.jsx("h3",{className:ce("mt-6 mb-2 font-semibold text-xl",t),"data-streamdown":"heading-3",...n,children:e}),(e,t)=>Le(e,t));wh.displayName="MarkdownH3";var Sh=$.memo(({children:e,className:t,node:r,...n})=>B.jsx("h4",{className:ce("mt-6 mb-2 font-semibold text-lg",t),"data-streamdown":"heading-4",...n,children:e}),(e,t)=>Le(e,t));Sh.displayName="MarkdownH4";var Ch=$.memo(({children:e,className:t,node:r,...n})=>B.jsx("h5",{className:ce("mt-6 mb-2 font-semibold text-base",t),"data-streamdown":"heading-5",...n,children:e}),(e,t)=>Le(e,t));Ch.displayName="MarkdownH5";var _h=$.memo(({children:e,className:t,node:r,...n})=>B.jsx("h6",{className:ce("mt-6 mb-2 font-semibold text-sm",t),"data-streamdown":"heading-6",...n,children:e}),(e,t)=>Le(e,t));_h.displayName="MarkdownH6";var Nh=$.memo(({children:e,className:t,node:r,...n})=>{let{controls:a}=$.useContext(wt),i=Si(a,"table");return B.jsx(zE,{className:t,"data-streamdown":"table-wrapper",showControls:i,...n,children:e})},(e,t)=>Le(e,t));Nh.displayName="MarkdownTable";var Ih=$.memo(({children:e,className:t,node:r,...n})=>B.jsx("thead",{className:ce("bg-muted/80",t),"data-streamdown":"table-header",...n,children:e}),(e,t)=>Le(e,t));Ih.displayName="MarkdownThead";var Dh=$.memo(({children:e,className:t,node:r,...n})=>B.jsx("tbody",{className:ce("divide-y divide-border bg-muted/40",t),"data-streamdown":"table-body",...n,children:e}),(e,t)=>Le(e,t));Dh.displayName="MarkdownTbody";var Rh=$.memo(({children:e,className:t,node:r,...n})=>B.jsx("tr",{className:ce("border-border border-b",t),"data-streamdown":"table-row",...n,children:e}),(e,t)=>Le(e,t));Rh.displayName="MarkdownTr";var Lh=$.memo(({children:e,className:t,node:r,...n})=>B.jsx("th",{className:ce("whitespace-nowrap px-4 py-2 text-left font-semibold text-sm",t),"data-streamdown":"table-header-cell",...n,children:e}),(e,t)=>Le(e,t));Lh.displayName="MarkdownTh";var Oh=$.memo(({children:e,className:t,node:r,...n})=>B.jsx("td",{className:ce("px-4 py-2 text-sm",t),"data-streamdown":"table-cell",...n,children:e}),(e,t)=>Le(e,t));Oh.displayName="MarkdownTd";var Mh=$.memo(({children:e,className:t,node:r,...n})=>B.jsx("blockquote",{className:ce("my-4 border-muted-foreground/30 border-l-4 pl-4 text-muted-foreground italic",t),"data-streamdown":"blockquote",...n,children:e}),(e,t)=>Le(e,t));Mh.displayName="MarkdownBlockquote";var Ph=$.memo(({children:e,className:t,node:r,...n})=>B.jsx("sup",{className:ce("text-sm",t),"data-streamdown":"superscript",...n,children:e}),(e,t)=>Le(e,t));Ph.displayName="MarkdownSup";var Bh=$.memo(({children:e,className:t,node:r,...n})=>B.jsx("sub",{className:ce("text-sm",t),"data-streamdown":"subscript",...n,children:e}),(e,t)=>Le(e,t));Bh.displayName="MarkdownSub";var Fh=$.memo(({children:e,className:t,node:r,...n})=>{if("data-footnotes"in n){let a=s=>{var u,l;if(!$.isValidElement(s))return!1;let o=Array.isArray(s.props.children)?s.props.children:[s.props.children],h=!1,d=!1;for(let p of o)if(p){if(typeof p=="string")p.trim()!==""&&(h=!0);else if($.isValidElement(p))if(((u=p.props)==null?void 0:u["data-footnote-backref"])!==void 0)d=!0;else{let g=Array.isArray(p.props.children)?p.props.children:[p.props.children];for(let E of g){if(typeof E=="string"&&E.trim()!==""){h=!0;break}if($.isValidElement(E)&&((l=E.props)==null?void 0:l["data-footnote-backref"])===void 0){h=!0;break}}}}return d&&!h},i=Array.isArray(e)?e.map(s=>{if(!$.isValidElement(s))return s;if(s.type===Is){let u=(Array.isArray(s.props.children)?s.props.children:[s.props.children]).filter(l=>!a(l));return u.length===0?null:{...s,props:{...s.props,children:u}}}return s}):e;return(Array.isArray(i)?i.some(s=>s!==null):i!==null)?B.jsx("section",{className:t,...n,children:i}):null}return B.jsx("section",{className:t,...n,children:e})},(e,t)=>Le(e,t));Fh.displayName="MarkdownSection";var $E=({node:e,className:t,children:r,...n})=>{var a,i,s;let u=((a=e?.position)==null?void 0:a.start.line)===((i=e?.position)==null?void 0:i.end.line),{mermaid:l,controls:o}=$.useContext(wt);if(u)return B.jsx("code",{className:ce("rounded bg-muted px-1.5 py-0.5 font-mono text-sm",t),"data-streamdown":"inline-code",...n,children:r});let h=t?.match(qE),d=(s=h?.at(1))!=null?s:"",p="";if($.isValidElement(r)&&r.props&&typeof r.props=="object"&&"children"in r.props&&typeof r.props.children=="string"?p=r.props.children:typeof r=="string"&&(p=r),d==="mermaid"){let E=Si(o,"mermaid"),y=d0(o,"download"),N=d0(o,"copy"),S=d0(o,"fullscreen"),D=d0(o,"panZoom");return B.jsx($.Suspense,{fallback:B.jsx(jl,{}),children:B.jsxs("div",{className:ce("group relative my-4 h-auto rounded-xl border p-4",t),"data-streamdown":"mermaid-block",children:[E&&(y||N||S)&&B.jsxs("div",{className:"flex items-center justify-end gap-2",children:[y&&B.jsx(DE,{chart:p,config:l?.config}),N&&B.jsx(ql,{code:p}),S&&B.jsx(OE,{chart:p,config:l?.config})]}),B.jsx(UE,{chart:p,config:l?.config,showControls:D})]})})}let g=Si(o,"code");return B.jsx($.Suspense,{fallback:B.jsx(jl,{}),children:B.jsx(HE,{className:ce("overflow-x-auto border-border border-t",t),code:p,language:d,children:g&&B.jsxs(B.Fragment,{children:[B.jsx(CE,{code:p,language:d}),B.jsx(ql,{})]})})})},zh=$.memo($E,(e,t)=>e.className===t.className&&ua(e.node,t.node));zh.displayName="MarkdownCode";var Hh=$.memo(NE,(e,t)=>e.className===t.className&&ua(e.node,t.node));Hh.displayName="MarkdownImg";var Uh=$.memo(({children:e,className:t,node:r,...n})=>{var a;let i=(Array.isArray(e)?e:[e]).filter(s=>s!=null&&s!=="");return i.length===1&&$.isValidElement(i[0])&&((a=i[0].props.node)==null?void 0:a.tagName)==="img"?B.jsx(B.Fragment,{children:e}):B.jsx("p",{className:t,...n,children:e})},(e,t)=>Le(e,t));Uh.displayName="MarkdownParagraph";var jE={ol:Is,li:Eh,ul:Th,hr:xh,strong:yh,a:vh,h1:kh,h2:Ah,h3:wh,h4:Sh,h5:Ch,h6:_h,table:Nh,thead:Ih,tbody:Dh,tr:Rh,th:Lh,td:Oh,blockquote:Mh,code:zh,img:Hh,pre:({children:e})=>e,sup:Ph,sub:Bh,p:Uh,section:Fh},Yl=[],Gl={allowDangerousHtml:!0},f0=new WeakMap,YE=class{constructor(){this.cache=new Map,this.keyCache=new WeakMap,this.maxSize=100}generateCacheKey(e){let t=this.keyCache.get(e);if(t)return t;let r=e.rehypePlugins,n=e.remarkPlugins,a=e.remarkRehypeOptions;if(!(r||n||a)){let h="default";return this.keyCache.set(e,h),h}let i=h=>{if(!h||h.length===0)return"";let d="";for(let p=0;p<h.length;p+=1){let g=h[p];if(p>0&&(d+=","),Array.isArray(g)){let[E,y]=g;if(typeof E=="function"){let N=f0.get(E);N||(N=E.name,f0.set(E,N)),d+=N}else d+=String(E);d+=":",d+=JSON.stringify(y)}else if(typeof g=="function"){let E=f0.get(g);E||(E=g.name,f0.set(g,E)),d+=E}else d+=String(g)}return d},s=i(r),u=i(n),l=a?JSON.stringify(a):"",o=`${u}::${s}::${l}`;return this.keyCache.set(e,o),o}get(e){let t=this.generateCacheKey(e),r=this.cache.get(t);return r&&(this.cache.delete(t),this.cache.set(t,r)),r}set(e,t){let r=this.generateCacheKey(e);if(this.cache.size>=this.maxSize){let n=this.cache.keys().next().value;n&&this.cache.delete(n)}this.cache.set(r,t)}clear(){this.cache.clear()}},Vl=new YE,qh=e=>{let t=GE(e),r=e.children||"";return WE(t.runSync(t.parse(r),r),e)},GE=e=>{let t=Vl.get(e);if(t)return t;let r=VE(e);return Vl.set(e,r),r},VE=e=>{let t=e.rehypePlugins||Yl,r=e.remarkPlugins||Yl,n=e.remarkRehypeOptions?{...Gl,...e.remarkRehypeOptions}:Gl;return z9().use(zb).use(r).use(y9,n).use(t)},WE=(e,t)=>Vg(e,{Fragment:B.Fragment,components:t.components,ignoreInvalidStyle:!0,jsx:B.jsx,jsxs:B.jsxs,passKeys:!0,passNode:!0}),XE=/\[\^[^\]\s]{1,200}\](?!:)/,QE=/\[\^[^\]\s]{1,200}\]:/,KE=/<\/(\w+)>/,ZE=/<(\w+)[\s>]/,ja=e=>{let t=0;for(;t<e.length&&(e[t]===" "||e[t]===" "||e[t]===`
|
|
385
|
+
`||e[t]==="\r");)t+=1;return t+1<e.length&&e[t]==="$"&&e[t+1]==="$"},JE=e=>{let t=e.length-1;for(;t>=0&&(e[t]===" "||e[t]===" "||e[t]===`
|
|
386
|
+
`||e[t]==="\r");)t-=1;return t>=1&&e[t]==="$"&&e[t-1]==="$"},Ya=e=>{let t=0;for(let r=0;r<e.length-1;r+=1)e[r]==="$"&&e[r+1]==="$"&&(t+=1,r+=1);return t},eT=e=>{let t=XE.test(e),r=QE.test(e);if(t||r)return[e];let n=gt.lex(e,{gfm:!0}),a=[],i=[];for(let s of n){let u=s.raw,l=a.length;if(i.length>0){if(a[l-1]+=u,s.type==="html"){let o=u.match(KE);if(o){let h=o[1];i.at(-1)===h&&i.pop()}}continue}if(s.type==="html"&&s.block){let o=u.match(ZE);if(o){let h=o[1];u.includes(`</${h}>`)||i.push(h)}}if(u.trim()==="$$"&&l>0){let o=a[l-1],h=ja(o),d=Ya(o);if(h&&d%2===1){a[l-1]=o+u;continue}}if(l>0&&JE(u)){let o=a[l-1],h=ja(o),d=Ya(o),p=Ya(u);if(h&&d%2===1&&!ja(u)&&p===1){a[l-1]=o+u;continue}}a.push(u)}return a},Ci={raw:Hp,katex:[ui,{errorColor:"var(--color-muted-foreground)"}],sanitize:[Qp,{}],harden:[pd,{allowedImagePrefixes:["*"],allowedLinkPrefixes:["*"],allowedProtocols:["*"],defaultOrigin:void 0,allowDataImages:!0}]},tT={gfm:[g7,{}],math:[gi,{singleDollarTextMath:!1}],cjkFriendly:[F3,{}],cjkFriendlyGfmStrikethrough:[H3,{}]},rT=Object.values(Ci),nT=Object.values(tT),aT={shikiTheme:["github-light","github-dark"],controls:!0,isAnimating:!1,mode:"streaming",mermaid:void 0},wt=$.createContext(aT),$h=$.memo(({content:e,shouldParseIncompleteMarkdown:t,...r})=>{let n=$.useMemo(()=>typeof e=="string"&&t?hg(e.trim()):e,[e,t]);return B.jsx(qh,{...r,children:n})},(e,t)=>{if(e.content!==t.content||e.shouldParseIncompleteMarkdown!==t.shouldParseIncompleteMarkdown||e.index!==t.index)return!1;if(e.components!==t.components){let r=Object.keys(e.components||{}),n=Object.keys(t.components||{});if(r.length!==n.length||r.some(a=>{var i,s;return((i=e.components)==null?void 0:i[a])!==((s=t.components)==null?void 0:s[a])}))return!1}return!(e.rehypePlugins!==t.rehypePlugins||e.remarkPlugins!==t.remarkPlugins)});$h.displayName="Block";var iT=["github-light","github-dark"],jh=$.memo(({children:e,mode:t="streaming",parseIncompleteMarkdown:r=!0,components:n,rehypePlugins:a=rT,remarkPlugins:i=nT,className:s,shikiTheme:u=iT,mermaid:l,controls:o=!0,isAnimating:h=!1,BlockComponent:d=$h,parseMarkdownIntoBlocksFn:p=eT,...g})=>{let E=$.useId(),[y,N]=$.useTransition(),[S,D]=$.useState([]),O=$.useMemo(()=>p(typeof e=="string"?e:""),[e,p]);$.useEffect(()=>{t==="streaming"?N(()=>{D(O)}):D(O)},[O,t]);let H=t==="streaming"?S:O,G=$.useMemo(()=>H.map((re,Q)=>`${E}-${Q}`),[H.length,E]),R=$.useMemo(()=>({shikiTheme:u,controls:o,isAnimating:h,mode:t,mermaid:l}),[u,o,h,t,l]),X=$.useMemo(()=>({...jE,...n}),[n]);return $.useEffect(()=>{if(!(Array.isArray(a)&&a.some(F=>Array.isArray(F)?F[0]===ui:F===ui)))return;let re=!1;if(Array.isArray(i)){let F=i.find(ae=>Array.isArray(ae)?ae[0]===gi:ae===gi);F&&Array.isArray(F)&&F[1]&&(re=F[1].singleDollarTextMath===!0)}let Q=typeof e=="string"?e:"",M=Q.includes("$$"),Z=re&&(/[^$]\$[^$]/.test(Q)||/^\$[^$]/.test(Q)||/[^$]\$$/.test(Q));(M||Z)&&M0(()=>Promise.resolve({}),__vite__mapDeps([7]))},[a,i,e]),t==="static"?B.jsx(wt.Provider,{value:R,children:B.jsx("div",{className:ce("space-y-4 whitespace-normal",s),children:B.jsx(qh,{components:X,rehypePlugins:a,remarkPlugins:i,...g,children:e})})}):B.jsx(wt.Provider,{value:R,children:B.jsx("div",{className:ce("space-y-4 whitespace-normal",s),children:H.map((re,Q)=>B.jsx(d,{components:X,content:re,index:Q,rehypePlugins:a,remarkPlugins:i,shouldParseIncompleteMarkdown:r,...g},G[Q]))})})},(e,t)=>e.children===t.children&&e.shikiTheme===t.shikiTheme&&e.isAnimating===t.isAnimating&&e.mode===t.mode);jh.displayName="Streamdown";var sT=({children:e,className:t,minZoom:r=.5,maxZoom:n=3,zoomStep:a=.1,showControls:i=!0,initialZoom:s=1,fullscreen:u=!1})=>{let l=$.useRef(null),o=$.useRef(null),[h,d]=$.useState(s),[p,g]=$.useState({x:0,y:0}),[E,y]=$.useState(!1),[N,S]=$.useState({x:0,y:0}),[D,O]=$.useState({x:0,y:0}),H=$.useCallback(F=>{d(ae=>Math.max(r,Math.min(n,ae+F)))},[r,n]),G=$.useCallback(()=>{H(a)},[H,a]),R=$.useCallback(()=>{H(-a)},[H,a]),X=$.useCallback(()=>{d(s),g({x:0,y:0})},[s]),re=$.useCallback(F=>{F.preventDefault();let ae=F.deltaY>0?-a:a;H(ae)},[H,a]),Q=$.useCallback(F=>{if(F.button!==0||F.isPrimary===!1)return;y(!0),S({x:F.clientX,y:F.clientY}),O(p);let ae=F.currentTarget;ae instanceof HTMLElement&&ae.setPointerCapture(F.pointerId)},[p]),M=$.useCallback(F=>{if(!E)return;F.preventDefault();let ae=F.clientX-N.x,de=F.clientY-N.y;g({x:D.x+ae,y:D.y+de})},[E,N,D]),Z=$.useCallback(F=>{y(!1);let ae=F.currentTarget;ae instanceof HTMLElement&&ae.releasePointerCapture(F.pointerId)},[]);return $.useEffect(()=>{let F=l.current;if(F)return F.addEventListener("wheel",re,{passive:!1}),()=>{F.removeEventListener("wheel",re)}},[re]),$.useEffect(()=>{let F=o.current;if(F&&E)return document.body.style.userSelect="none",F.addEventListener("pointermove",M,{passive:!1}),F.addEventListener("pointerup",Z),F.addEventListener("pointercancel",Z),()=>{document.body.style.userSelect="",F.removeEventListener("pointermove",M),F.removeEventListener("pointerup",Z),F.removeEventListener("pointercancel",Z)}},[E,M,Z]),B.jsxs("div",{className:ce("relative",u?"h-full w-full":"w-full",t),ref:l,style:{cursor:E?"grabbing":"grab"},children:[i&&B.jsxs("div",{className:ce("absolute z-10 flex flex-col gap-1 rounded-md border border-border bg-background/90 p-1 shadow-sm backdrop-blur-sm",u?"bottom-4 left-4":"bottom-2 left-2"),children:[B.jsx("button",{className:"flex items-center justify-center rounded p-1.5 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",disabled:h>=n,onClick:G,title:"Zoom in",type:"button",children:B.jsx(sd,{size:16})}),B.jsx("button",{className:"flex items-center justify-center rounded p-1.5 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",disabled:h<=r,onClick:R,title:"Zoom out",type:"button",children:B.jsx(ld,{size:16})}),B.jsx("button",{className:"flex items-center justify-center rounded p-1.5 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground",onClick:X,title:"Reset zoom and pan",type:"button",children:B.jsx(ed,{size:16})})]}),B.jsx("div",{className:ce("origin-center transition-transform duration-150 ease-out",u&&"flex w-full items-center justify-center"),onPointerDown:Q,ref:o,role:"application",style:{transform:`translate(${p.x}px, ${p.y}px) scale(${h})`,transformOrigin:"center center",touchAction:"none",willChange:"transform"},children:e})]})},Yh=({chart:e,className:t,config:r,fullscreen:n=!1,showControls:a=!0})=>{let[i,s]=$.useState(null),[u,l]=$.useState(!0),[o,h]=$.useState(""),[d,p]=$.useState(""),[g,E]=$.useState(0),{mermaid:y}=$.useContext(wt),N=y?.errorComponent;if($.useEffect(()=>{(async()=>{try{s(null),l(!0);let D=await ph(r),O=e.split("").reduce((R,X)=>(R<<5)-R+X.charCodeAt(0)|0,0),H=`mermaid-${Math.abs(O)}-${Date.now()}-${Math.random().toString(36).substring(2,9)}`,{svg:G}=await D.render(H,e);h(G),p(G)}catch(D){if(!(d||o)){let O=D instanceof Error?D.message:"Failed to render Mermaid chart";s(O)}}finally{l(!1)}})()},[e,r,g]),u&&!o&&!d)return B.jsx("div",{className:ce("my-4 flex justify-center p-4",t),children:B.jsxs("div",{className:"flex items-center space-x-2 text-muted-foreground",children:[B.jsx("div",{className:"h-4 w-4 animate-spin rounded-full border-current border-b-2"}),B.jsx("span",{className:"text-sm",children:"Loading diagram..."})]})});if(i&&!o&&!d){let D=()=>E(O=>O+1);return N?B.jsx(N,{chart:e,error:i,retry:D}):B.jsxs("div",{className:ce("rounded-lg border border-red-200 bg-red-50 p-4",t),children:[B.jsxs("p",{className:"font-mono text-red-700 text-sm",children:["Mermaid Error: ",i]}),B.jsxs("details",{className:"mt-2",children:[B.jsx("summary",{className:"cursor-pointer text-red-600 text-xs",children:"Show Code"}),B.jsx("pre",{className:"mt-2 overflow-x-auto rounded bg-red-100 p-2 text-red-800 text-xs",children:e})]})]})}let S=o||d;return B.jsx(sT,{className:ce(n?"h-full w-full overflow-hidden":"my-4 overflow-hidden",t),fullscreen:n,maxZoom:3,minZoom:.5,showControls:a,zoomStep:.1,children:B.jsx("div",{"aria-label":"Mermaid chart",className:ce("flex justify-center",n&&"h-full w-full items-center"),dangerouslySetInnerHTML:{__html:S},role:"img"})})};const Gh=(()=>{const{katex:e,...t}=Ci;if(!e)return Object.values(Ci);const[r,n]=Array.isArray(e)?e:[e,{}];return[...Object.values(t),[r,{...n,trust:!1}]]})();function uT(e){return $.createElement(jh,{rehypePlugins:Gh,...e})}const fT=Object.freeze(Object.defineProperty({__proto__:null,DEFAULT_REHYPE_PLUGINS:Gh,MarkdownStreamRuntime:uT},Symbol.toStringTag,{value:"Module"})),lT=Object.freeze(Object.defineProperty({__proto__:null,Mermaid:Yh},Symbol.toStringTag,{value:"Module"}));export{wt as C,SE as D,dT as a,xe as k,fT as m,ce as u};
|