docmedown 0.1.7 → 0.9.0
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 +201 -21
- package/README.md +86 -37
- package/dist/architecture-7GRP2DOG-B8Xs9IfY.mjs +2 -0
- package/dist/architecture-7GRP2DOG-Vdsw7WC7.js +1 -0
- package/dist/cli.js +672 -1294
- package/dist/cynefin-OW5HDTMX-DU6kwwck.js +1 -0
- package/dist/cynefin-OW5HDTMX-F0P2M_lQ.mjs +2 -0
- package/dist/docmedown-compiler.js +228 -0
- package/dist/docmedown-mermaid.js +3588 -0
- package/dist/docmedown.cjs +7264 -80
- package/dist/docmedown.iife.js +7624 -424
- package/dist/docmedown.mjs +15531 -15009
- package/dist/docmedown.web.js +7628 -0
- package/dist/eventmodeling-NTZA5JFV-D58ICByZ.js +1 -0
- package/dist/eventmodeling-NTZA5JFV-SxxTo5cJ.mjs +2 -0
- package/dist/gitGraph-4MIJSDKK-C_R2a4aQ.mjs +2 -0
- package/dist/gitGraph-4MIJSDKK-CdMj8HJ8.js +1 -0
- package/dist/info-A6RAGUB7-CG4UBCfn.js +1 -0
- package/dist/info-A6RAGUB7-DmjQlHTj.mjs +2 -0
- package/dist/mermaid-BvOI3ZSW.js +3334 -0
- package/dist/mermaid-Cx9uSfoz.mjs +116948 -0
- package/dist/packet-AYTQ26CC-CMuoEJn0.js +1 -0
- package/dist/packet-AYTQ26CC-tdMo_iPL.mjs +2 -0
- package/dist/pie-WAS4IAKB-C1hjX8y0.js +1 -0
- package/dist/pie-WAS4IAKB-DG2Bio1G.mjs +2 -0
- package/dist/prism-CeBRmKvl.js +2 -0
- package/dist/prism-CummdiZX.mjs +1588 -0
- package/dist/radar-RG4KPBEZ-DHxYOB0f.mjs +2 -0
- package/dist/radar-RG4KPBEZ-Dvyo3gdA.js +1 -0
- package/dist/railroad-74A4TZTK-1sb9Z_QQ.js +1 -0
- package/dist/railroad-74A4TZTK-CwztrSkE.mjs +2 -0
- package/dist/railroad-abnf-HS5TGJTU-4264fZjH.js +1 -0
- package/dist/railroad-abnf-HS5TGJTU-BKCsR9iC.mjs +2 -0
- package/dist/railroad-ebnf-LZEXJU2U-BXErl5kO.js +1 -0
- package/dist/railroad-ebnf-LZEXJU2U-DzDOfuxK.mjs +2 -0
- package/dist/railroad-peg-WCYAUIDC-B6gNHamV.mjs +2 -0
- package/dist/railroad-peg-WCYAUIDC-D7pSwRGa.js +1 -0
- package/dist/rolldown-runtime-B0aSnxlc.mjs +20 -0
- package/dist/rolldown-runtime-DF3sbh8G.js +1 -0
- package/dist/svelte-compiler-loader-Deqbdbvf.js +1 -0
- package/dist/svelte-compiler-loader-DtYQgEKV.mjs +50 -0
- package/dist/svelte-runtime-Brc440dp.js +5 -0
- package/dist/svelte-runtime-CgCk_bw1.mjs +40 -0
- package/dist/treeView-Q6P3EWNA-DArM8kFH.mjs +2 -0
- package/dist/treeView-Q6P3EWNA-JstiGzov.js +1 -0
- package/dist/treemap-WGGIJYW6-CMIcmEVN.mjs +2 -0
- package/dist/treemap-WGGIJYW6-Dq6fFckz.js +1 -0
- package/dist/ts-compiler-BMDmcNn5.mjs +93 -0
- package/dist/ts-compiler-U7pTMJjY.js +3 -0
- package/dist/types/runtime/bridges/dynamic-component.d.ts +43 -0
- package/dist/types/runtime/bridges/element-bridge.d.ts +24 -0
- package/dist/types/runtime/bridges/index.d.ts +3 -0
- package/dist/types/runtime/bridges/react-bridge.d.ts +35 -0
- package/dist/types/runtime/compiler-cache.d.ts +18 -0
- package/dist/types/runtime/config-schema.d.ts +2 -0
- package/dist/types/runtime/favicons.d.ts +28 -0
- package/dist/types/runtime/loader/local-loader.d.ts +13 -0
- package/dist/types/runtime/markdown/component-body.d.ts +7 -0
- package/dist/types/runtime/markdown/escape.d.ts +1 -0
- package/dist/types/runtime/markdown/highlighter.d.ts +32 -6
- package/dist/types/runtime/markdown/katex.d.ts +5 -0
- package/dist/types/runtime/markdown/mermaid-engine.d.ts +1 -0
- package/dist/types/runtime/markdown/mermaid-loader.d.ts +19 -0
- package/dist/types/runtime/markdown/mermaid.d.ts +6 -0
- package/dist/types/runtime/markdown/tables.d.ts +68 -0
- package/dist/types/runtime/media.d.ts +30 -0
- package/dist/types/runtime/motion.d.ts +134 -0
- package/dist/types/runtime/offline-export.d.ts +9 -2
- package/dist/types/runtime/router.d.ts +40 -2
- package/dist/types/runtime/splash.d.ts +90 -0
- package/dist/types/runtime/svelte-compiler-engine.d.ts +1 -0
- package/dist/types/runtime/svelte-compiler-loader.d.ts +14 -0
- package/dist/types/runtime/svelte-runtime.d.ts +29 -0
- package/dist/types/runtime/svelte-tag.d.ts +7 -0
- package/dist/types/runtime/ts-compiler.d.ts +24 -0
- package/dist/types/runtime/types.d.ts +1 -0
- package/dist/types/ui/doc-context.svelte.d.ts +198 -0
- package/dist/types/ui/index.d.ts +33 -0
- package/dist/types/ui/registry.d.ts +52 -0
- package/dist/types/ui/theme.svelte.d.ts +32 -0
- package/dist/wardley-WFR3VGLG-BK9BA6h6.mjs +2 -0
- package/dist/wardley-WFR3VGLG-Cbs7W-dU.js +1 -0
- package/package.json +61 -48
- package/schemas/docs.schema.json +186 -181
- package/templates/.dmd/CounterWidget.svelte +29 -0
- package/templates/README.md +2 -2
- package/templates/favicon.svg +12 -0
- package/templates/favicons/favicon-book.svg +11 -0
- package/templates/favicons/favicon-markdown.svg +11 -0
- package/templates/favicons/favicon-minimal.svg +15 -0
- package/templates/favicons/favicon-terminal.svg +14 -0
- package/templates/favicons/favicon.svg +12 -0
- package/templates/guides/custom-components.md +82 -22
- package/templates/index.html +6 -3
- package/dist/abnfDiagram-VCTEODGH-CtQBp0Qv.mjs +0 -89
- package/dist/abnfDiagram-VCTEODGH-mccrzlD_.js +0 -1
- package/dist/arc-DgPKXEdT.mjs +0 -82
- package/dist/arc-n7TW7Bis.js +0 -1
- package/dist/architecture-7GRP2DOG-B7myQ46f.js +0 -1
- package/dist/architecture-7GRP2DOG-Cxj1ussQ.mjs +0 -3
- package/dist/architectureDiagram-5GKGNRK7-BdTCu5T3.js +0 -36
- package/dist/architectureDiagram-5GKGNRK7-CkgZa-G1.mjs +0 -4154
- package/dist/array-CApNbSU9.mjs +0 -6
- package/dist/array-DZSRzHA_.js +0 -1
- package/dist/blockDiagram-I7D4REHJ-CSYvpxQw.js +0 -129
- package/dist/blockDiagram-I7D4REHJ-CYngfPD9.mjs +0 -1922
- package/dist/c4Diagram-7LVT6UL2-B-sz5MUK.js +0 -38
- package/dist/c4Diagram-7LVT6UL2-DEzxFf2b.mjs +0 -3010
- package/dist/channel-LgHproiI.mjs +0 -5
- package/dist/channel-yqu0m4cl.js +0 -1
- package/dist/chunk-2E4U76K2-BOyeRQsI.js +0 -1
- package/dist/chunk-2E4U76K2-CoTrgtfg.mjs +0 -348
- package/dist/chunk-2Q5K7J3B-D4EgYPOq.mjs +0 -15
- package/dist/chunk-2Q5K7J3B-DhjCNjaM.js +0 -1
- package/dist/chunk-4HAMMTFA-GFyfmcSO.js +0 -62
- package/dist/chunk-4HAMMTFA-VgWPe1ng.mjs +0 -4188
- package/dist/chunk-5VM5RSS4-GINalzIv.js +0 -15
- package/dist/chunk-5VM5RSS4-TqxtqrwE.mjs +0 -5
- package/dist/chunk-75Z2AOVW-DYouz5MZ.js +0 -2
- package/dist/chunk-75Z2AOVW-Dz0Sko9Y.mjs +0 -1330
- package/dist/chunk-CLGD4ZFX-C5J-e2io.js +0 -1
- package/dist/chunk-CLGD4ZFX-DBkwyMMv.mjs +0 -14
- package/dist/chunk-DU6HZSFF-BEQZSmUu.mjs +0 -3836
- package/dist/chunk-DU6HZSFF-CWc5ewtb.js +0 -127
- package/dist/chunk-F27PBJKO-8jvY_jJK.js +0 -1
- package/dist/chunk-F27PBJKO-DFH3sRZG.mjs +0 -61
- package/dist/chunk-FOHPRMQF-LRqOLsSw.mjs +0 -21456
- package/dist/chunk-FOHPRMQF-tmTlwTeH.js +0 -161
- package/dist/chunk-GMAD6QVW-BZeZ4fdb.mjs +0 -1863
- package/dist/chunk-GMAD6QVW-DEQiTa0c.js +0 -72
- package/dist/chunk-GVQU2GXP-B1D3J05J.mjs +0 -37
- package/dist/chunk-GVQU2GXP-CdJIWN41.js +0 -1
- package/dist/chunk-IMKFNOWR-BmZb9U1f.mjs +0 -2042
- package/dist/chunk-IMKFNOWR-CPJsszGN.js +0 -231
- package/dist/chunk-JWPE2WC7-DIKiF5cm.mjs +0 -8
- package/dist/chunk-JWPE2WC7-p1fYVdYc.js +0 -1
- package/dist/chunk-L3NEJ4N5-TzDiVs78.js +0 -1
- package/dist/chunk-L3NEJ4N5-lal8wUID.mjs +0 -245
- package/dist/chunk-LNGE3PJU-BQX75wkM.js +0 -34
- package/dist/chunk-LNGE3PJU-DJ9JuXV6.mjs +0 -1521
- package/dist/chunk-OSK3NFVY-9AWK88m1.mjs +0 -672
- package/dist/chunk-OSK3NFVY-CHzvVe8m.js +0 -10
- package/dist/chunk-P2QGCYS3-6q3AXPt5.mjs +0 -67
- package/dist/chunk-P2QGCYS3-DKZzpRQW.js +0 -1
- package/dist/chunk-POPQ4Y6H-Dd7J9tx3.mjs +0 -26
- package/dist/chunk-POPQ4Y6H-T5C7wpjf.js +0 -1
- package/dist/chunk-PWAF6VOD-BYG76tEe.mjs +0 -275
- package/dist/chunk-PWAF6VOD-DxZLuCEw.js +0 -1
- package/dist/chunk-SHT3W25Y-B2Wes8jn.mjs +0 -4183
- package/dist/chunk-SHT3W25Y-BQjHSn5K.js +0 -168
- package/dist/chunk-SVP7TREG-BFMd615E.js +0 -88
- package/dist/chunk-SVP7TREG-CynckzeF.mjs +0 -490
- package/dist/chunk-TICWLB2K-BfCuoR1V.mjs +0 -3357
- package/dist/chunk-TICWLB2K-agcyBfUp.js +0 -206
- package/dist/chunk-TLUHSLCS-CUrWaKDG.mjs +0 -59
- package/dist/chunk-TLUHSLCS-Drx_a7am.js +0 -1
- package/dist/chunk-XXDRQBXY-AAk1-Cyg.js +0 -1
- package/dist/chunk-XXDRQBXY-DpR8eYzz.mjs +0 -9
- package/dist/chunk-Y2CYZVJY-CnmLqFtv.js +0 -1
- package/dist/chunk-Y2CYZVJY-i11wjrBe.mjs +0 -12
- package/dist/classDiagram-ZZMXUADV-B7IN9zcX.js +0 -1
- package/dist/classDiagram-ZZMXUADV-tcy6gxSB.mjs +0 -30
- package/dist/classDiagram-v2-VYDZK3BY-B7IN9zcX.js +0 -1
- package/dist/classDiagram-v2-VYDZK3BY-D5wM6Acp.mjs +0 -30
- package/dist/cose-bilkent-JH36ORCC-DBUPO3qJ.js +0 -1
- package/dist/cose-bilkent-JH36ORCC-Slpx4WIt.mjs +0 -2253
- package/dist/cynefin-OW5HDTMX--QVnfGi1.mjs +0 -3
- package/dist/cynefin-OW5HDTMX-lNKysi7S.js +0 -1
- package/dist/cynefinDiagram-5FMLGOSQ-CsFONYqx.js +0 -62
- package/dist/cynefinDiagram-5FMLGOSQ-DsrxYBcg.mjs +0 -355
- package/dist/cytoscape.esm-C5TvPYYm.mjs +0 -18148
- package/dist/cytoscape.esm-CBmWJr5M.js +0 -321
- package/dist/dagre-CZ6P9L_h.js +0 -1
- package/dist/dagre-GXQ25YYZ-CQszk-7P.js +0 -4
- package/dist/dagre-GXQ25YYZ-ecYByRSn.mjs +0 -425
- package/dist/dagre-J_1oH0eY.mjs +0 -1934
- package/dist/defaultLocale-N-0uLSyg.mjs +0 -198
- package/dist/defaultLocale-ybN1Vtvg.js +0 -1
- package/dist/diagram-S7CK7UJ4-CTMvxX__.js +0 -30
- package/dist/diagram-S7CK7UJ4-DxCghfa-.mjs +0 -301
- package/dist/diagram-UQ7AKVKN-1viEkqlG.js +0 -41
- package/dist/diagram-UQ7AKVKN-BA7Z_oB7.mjs +0 -214
- package/dist/diagram-VSXAHHWV-DgVT19mq.js +0 -3
- package/dist/diagram-VSXAHHWV-Dtqo03M5.mjs +0 -432
- package/dist/diagram-VX7I27RA-CNw0pOX_.js +0 -24
- package/dist/diagram-VX7I27RA-GMPRt8Zh.mjs +0 -527
- package/dist/diagram-Z3DM3KII-C6XdQK_Q.mjs +0 -134
- package/dist/diagram-Z3DM3KII-CPkBr3FT.js +0 -24
- package/dist/dist-CXWJafG_.js +0 -1
- package/dist/dist-DNdLIC8h.mjs +0 -59
- package/dist/ebnfDiagram-PWID7BFC-CseVsyL3.js +0 -1
- package/dist/ebnfDiagram-PWID7BFC-D_dBDXWC.mjs +0 -100
- package/dist/erDiagram-RLTQ6QDP-DFwfQTRS.js +0 -99
- package/dist/erDiagram-RLTQ6QDP-DP7ddGMH.mjs +0 -1966
- package/dist/eventmodeling-NTZA5JFV-CzxVg0l5.js +0 -1
- package/dist/eventmodeling-NTZA5JFV-Djsy__5n.mjs +0 -3
- package/dist/flowDiagram-HODETNUW-7hSJfI3W.js +0 -1
- package/dist/flowDiagram-HODETNUW-Dqu5Lr19.mjs +0 -17
- package/dist/ganttDiagram-EL5Y4UJY-KNL3tzTD.mjs +0 -3072
- package/dist/ganttDiagram-EL5Y4UJY-aiLqNWgi.js +0 -292
- package/dist/gitGraph-4MIJSDKK-DnElfqX7.js +0 -1
- package/dist/gitGraph-4MIJSDKK-xuKJBT2e.mjs +0 -3
- package/dist/gitGraphDiagram-WWUBYQGX-D4gSo_-e.js +0 -106
- package/dist/gitGraphDiagram-WWUBYQGX-Dooss5fG.mjs +0 -733
- package/dist/graphlib-BaETKKSa.js +0 -1
- package/dist/graphlib-XW-Jr8pF.mjs +0 -1267
- package/dist/info-A6RAGUB7-ClYskpn6.mjs +0 -3
- package/dist/info-A6RAGUB7-DDvvt-fW.js +0 -1
- package/dist/infoDiagram-27XIBGKW-B2-y2mdQ.mjs +0 -20
- package/dist/infoDiagram-27XIBGKW-DYQ9NzfL.js +0 -2
- package/dist/init-BJdqMO10.js +0 -1
- package/dist/init-CsQUQz36.mjs +0 -13
- package/dist/ishikawaDiagram-5VMMS53U-ULIhoYO5.js +0 -70
- package/dist/ishikawaDiagram-5VMMS53U-xAArNh-1.mjs +0 -719
- package/dist/journeyDiagram-3NMN7TZE-BBMYNZRL.js +0 -139
- package/dist/journeyDiagram-3NMN7TZE-BH-uKqP7.mjs +0 -884
- package/dist/kanban-definition-UXKFOSKX-Be49llXr.mjs +0 -976
- package/dist/kanban-definition-UXKFOSKX-CDL5yJkq.js +0 -89
- package/dist/line-BEwhHSLl.js +0 -1
- package/dist/line-CiXRog8O.mjs +0 -34
- package/dist/linear-75tfjrny.js +0 -1
- package/dist/linear-Ncx_RuON.mjs +0 -288
- package/dist/mermaid-parser.core-BBApyu_y.js +0 -6
- package/dist/mermaid-parser.core-BRHibdUE.mjs +0 -638
- package/dist/mindmap-definition-YA3MSWOX-Chy7XP_5.mjs +0 -1006
- package/dist/mindmap-definition-YA3MSWOX-DOda-fkL.js +0 -96
- package/dist/ordinal-B1BNQwUR.mjs +0 -65
- package/dist/ordinal-B9aFWmF9.js +0 -1
- package/dist/packet-AYTQ26CC-CorIy9Ul.js +0 -1
- package/dist/packet-AYTQ26CC-DWH8gXJK.mjs +0 -3
- package/dist/path-CnWkkRiY.mjs +0 -84
- package/dist/path-DIS6ck99.js +0 -1
- package/dist/pegDiagram-XKGWAZYB-Cdw6MeON.js +0 -1
- package/dist/pegDiagram-XKGWAZYB-uNfxRaq1.mjs +0 -94
- package/dist/pie-WAS4IAKB-Cn5eK-5P.mjs +0 -3
- package/dist/pie-WAS4IAKB-D84xrSoY.js +0 -1
- package/dist/pieDiagram-E7YTZNPT-Bd6mvpJw.js +0 -39
- package/dist/pieDiagram-E7YTZNPT-Cczo96a2.mjs +0 -203
- package/dist/quadrantDiagram-AXDQQJYC-BPfgvMsS.js +0 -7
- package/dist/quadrantDiagram-AXDQQJYC-eqRNtVRl.mjs +0 -2001
- package/dist/radar-RG4KPBEZ-DvkxGdO6.mjs +0 -3
- package/dist/radar-RG4KPBEZ-R2sQOLL9.js +0 -1
- package/dist/railroad-74A4TZTK-BOZIf6ts.js +0 -1
- package/dist/railroad-74A4TZTK-CrQzn8Nm.mjs +0 -3
- package/dist/railroad-abnf-HS5TGJTU-BZYetxLz.mjs +0 -3
- package/dist/railroad-abnf-HS5TGJTU-CXU1aC4B.js +0 -1
- package/dist/railroad-ebnf-LZEXJU2U-D29kI3YW.js +0 -1
- package/dist/railroad-ebnf-LZEXJU2U-qgzTOmN6.mjs +0 -3
- package/dist/railroad-peg-WCYAUIDC-Bjs9Ws3P.mjs +0 -3
- package/dist/railroad-peg-WCYAUIDC-CXviP0hz.js +0 -1
- package/dist/railroadDiagram-O6MQD6OU-58kvwt7H.mjs +0 -76
- package/dist/railroadDiagram-O6MQD6OU-CKY3uzTc.js +0 -1
- package/dist/requirementDiagram-BXWQKSXE-0hZ04Q6h.js +0 -84
- package/dist/requirementDiagram-BXWQKSXE-CS673B5n.mjs +0 -2224
- package/dist/rough.esm-ChRLLRha.js +0 -1
- package/dist/rough.esm-DXYGHN3m.mjs +0 -1361
- package/dist/sankeyDiagram-P5KCCOFB-D1D6HfAM.mjs +0 -972
- package/dist/sankeyDiagram-P5KCCOFB-ciJb9Zr8.js +0 -40
- package/dist/sequenceDiagram-WJ2MYXX4-BXEznuI6.js +0 -162
- package/dist/sequenceDiagram-WJ2MYXX4-CI1VT8AG.mjs +0 -4156
- package/dist/sizeCapture-INFHLROL-BihkCH-7.js +0 -1
- package/dist/sizeCapture-INFHLROL-BmxqyOLj.mjs +0 -46
- package/dist/src-B4mN2BMl.js +0 -1
- package/dist/src-D_hsMyeP.mjs +0 -2154
- package/dist/stateDiagram-D77RDMKH-BQrSs72W.mjs +0 -220
- package/dist/stateDiagram-D77RDMKH-D2PtkW2U.js +0 -1
- package/dist/stateDiagram-v2-MP3YSRHH-CCbvNfk-.mjs +0 -30
- package/dist/stateDiagram-v2-MP3YSRHH-Dq1QuPeN.js +0 -1
- package/dist/swimlanes-42K2YHIH-CA316NPm.mjs +0 -4979
- package/dist/swimlanes-42K2YHIH-DlggBCTy.js +0 -1
- package/dist/swimlanesDiagram-VR7AAH4N-BV9PEIoG.js +0 -8
- package/dist/swimlanesDiagram-VR7AAH4N-BfrOCfdf.mjs +0 -31
- package/dist/timeline-definition-24CTP7MA-Bkd8rWNJ.js +0 -120
- package/dist/timeline-definition-24CTP7MA-BvkqNYt1.mjs +0 -1069
- package/dist/treeView-Q6P3EWNA-Aof3Cp1M.mjs +0 -3
- package/dist/treeView-Q6P3EWNA-BTzvdwbb.js +0 -1
- package/dist/treemap-WGGIJYW6-BNXGg99p.mjs +0 -3
- package/dist/treemap-WGGIJYW6-DfR4P2Hh.js +0 -1
- package/dist/types/runtime/app.d.ts +0 -9
- package/dist/types/runtime/components/AppearanceMenu.d.ts +0 -2
- package/dist/types/runtime/components/Builtins.d.ts +0 -44
- package/dist/types/runtime/components/Content.d.ts +0 -2
- package/dist/types/runtime/components/DmdRegistry.d.ts +0 -19
- package/dist/types/runtime/components/Layout.d.ts +0 -2
- package/dist/types/runtime/components/MermaidDiagram.d.ts +0 -16
- package/dist/types/runtime/components/Navbar.d.ts +0 -2
- package/dist/types/runtime/components/OfflineDownloadButton.d.ts +0 -2
- package/dist/types/runtime/components/OfflineNotice.d.ts +0 -6
- package/dist/types/runtime/components/Sidebar.d.ts +0 -2
- package/dist/types/runtime/components/TableOfContents.d.ts +0 -8
- package/dist/types/runtime/index.d.ts +0 -8
- package/dist/types/runtime/markdown/renderer.d.ts +0 -7
- package/dist/types/runtime/provider/DocProvider.d.ts +0 -40
- package/dist/types/runtime/provider/ThemeProvider.d.ts +0 -25
- package/dist/types/runtime/search/SearchModal.d.ts +0 -11
- package/dist/vennDiagram-4TSXK5OY-BOUFXjso.js +0 -34
- package/dist/vennDiagram-4TSXK5OY-CeOg3-hU.mjs +0 -1880
- package/dist/wardley-WFR3VGLG-BOYcSLd1.mjs +0 -3
- package/dist/wardley-WFR3VGLG-DWDqJSgm.js +0 -1
- package/dist/wardleyDiagram-VM6X3IG4-BhWgMjFr.js +0 -78
- package/dist/wardleyDiagram-VM6X3IG4-C31KoRmF.mjs +0 -645
- package/dist/xychartDiagram-S5SC5T6Z-1yU8zz6I.js +0 -7
- package/dist/xychartDiagram-S5SC5T6Z-BK7upFom.mjs +0 -2210
- package/templates/.dmd/components.js +0 -25
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
"use strict";var DocMeDownCompiler=(()=>{var wR=Object.create;var Ud=Object.defineProperty;var kR=Object.getOwnPropertyDescriptor;var CR=Object.getOwnPropertyNames;var SR=Object.getPrototypeOf,ER=Object.prototype.hasOwnProperty;var A=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}},TR=(e,t)=>{for(var r in t)Ud(e,r,{get:t[r],enumerable:!0})},AR=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of CR(t))!ER.call(e,s)&&s!==r&&Ud(e,s,{get:()=>t[s],enumerable:!(i=kR(t,s))||i.enumerable});return e};var qs=(e,t,r)=>(r=e!=null?wR(SR(e)):{},AR(t||!e||!e.__esModule?Ud(r,"default",{value:e,enumerable:!0}):r,e));var i1=A(Bn=>{"use strict";Object.defineProperty(Bn,"__esModule",{value:!0});Bn.default=void 0;function z$(){var e=this,t=0,r={"@@iterator":function(){return r},next:function(){if(t<e.length){var s=e[t];return t=t+1,{done:!1,value:s}}else return{done:!0}}};return r}var TG=Bn.default=z$});var bs=A(Rm=>{"use strict";Object.defineProperty(Rm,"__esModule",{value:!0});Rm.default=K$;var G$=W$(i1());function W$(e){return e&&e.__esModule?e:{default:e}}function Pm(e){"@babel/helpers - typeof";return Pm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pm(e)}function K$(e,t){return typeof Symbol=="function"&&Pm(Symbol.iterator)==="symbol"&&Object.defineProperty(e,Symbol.iterator,{value:G$.default.bind(t)}),e}});var a1=A(jn=>{"use strict";Object.defineProperty(jn,"__esModule",{value:!0});jn.default=void 0;var X$=Y$(bs());function Y$(e){return e&&e.__esModule?e:{default:e}}function $m(e,t){return eI(e)||Z$(e,t)||Q$(e,t)||J$()}function J$(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Q$(e,t){if(e){if(typeof e=="string")return s1(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s1(e,t):void 0}}function s1(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,i=Array(t);r<t;r++)i[r]=e[r];return i}function Z$(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var i,s,a,n,u=[],p=!0,d=!1;try{if(a=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;p=!1}else for(;!(p=(i=a.call(r)).done)&&(u.push(i.value),u.length!==t);p=!0);}catch(f){d=!0,s=f}finally{try{if(!p&&r.return!=null&&(n=r.return(),Object(n)!==n))return}finally{if(d)throw s}}return u}}function eI(e){if(Array.isArray(e))return e}var vs=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],Im={entries:function(){return vs},forEach:function(t){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,i=0,s=vs;i<s.length;i++){var a=$m(s[i],2),n=a[0],u=a[1];t.call(r,u,n,vs)}},get:function(t){var r=vs.find(function(i){return i[0]===t});return r&&r[1]},has:function(t){return!!Im.get(t)},keys:function(){return vs.map(function(t){var r=$m(t,1),i=r[0];return i})},values:function(){return vs.map(function(t){var r=$m(t,2),i=r[1];return i})}},RG=jn.default=(0,X$.default)(Im,Im.entries())});var o1=A(Fn=>{"use strict";Object.defineProperty(Fn,"__esModule",{value:!0});Fn.default=void 0;var tI=rI(bs());function rI(e){return e&&e.__esModule?e:{default:e}}function qm(e,t){return nI(e)||aI(e,t)||sI(e,t)||iI()}function iI(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function sI(e,t){if(e){if(typeof e=="string")return n1(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n1(e,t):void 0}}function n1(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,i=Array(t);r<t;r++)i[r]=e[r];return i}function aI(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var i,s,a,n,u=[],p=!0,d=!1;try{if(a=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;p=!1}else for(;!(p=(i=a.call(r)).done)&&(u.push(i.value),u.length!==t);p=!0);}catch(f){d=!0,s=f}finally{try{if(!p&&r.return!=null&&(n=r.return(),Object(n)!==n))return}finally{if(d)throw s}}return u}}function nI(e){if(Array.isArray(e))return e}var ys=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],Mm={entries:function(){return ys},forEach:function(t){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,i=0,s=ys;i<s.length;i++){var a=qm(s[i],2),n=a[0],u=a[1];t.call(r,u,n,ys)}},get:function(t){var r=ys.find(function(i){return i[0]===t});return r&&r[1]},has:function(t){return!!Mm.get(t)},keys:function(){return ys.map(function(t){var r=qm(t,1),i=r[0];return i})},values:function(){return ys.map(function(t){var r=qm(t,2),i=r[1];return i})}},IG=Fn.default=(0,tI.default)(Mm,Mm.entries())});var l1=A(Vn=>{"use strict";Object.defineProperty(Vn,"__esModule",{value:!0});Vn.default=void 0;var oI={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},MG=Vn.default=oI});var u1=A(Un=>{"use strict";Object.defineProperty(Un,"__esModule",{value:!0});Un.default=void 0;var lI={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},NG=Un.default=lI});var c1=A(Hn=>{"use strict";Object.defineProperty(Hn,"__esModule",{value:!0});Hn.default=void 0;var uI={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},DG=Hn.default=uI});var p1=A(zn=>{"use strict";Object.defineProperty(zn,"__esModule",{value:!0});zn.default=void 0;var cI={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},jG=zn.default=cI});var d1=A(Gn=>{"use strict";Object.defineProperty(Gn,"__esModule",{value:!0});Gn.default=void 0;var pI={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},VG=Gn.default=pI});var f1=A(Wn=>{"use strict";Object.defineProperty(Wn,"__esModule",{value:!0});Wn.default=void 0;var dI={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},HG=Wn.default=dI});var m1=A(Kn=>{"use strict";Object.defineProperty(Kn,"__esModule",{value:!0});Kn.default=void 0;var fI={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},GG=Kn.default=fI});var h1=A(Xn=>{"use strict";Object.defineProperty(Xn,"__esModule",{value:!0});Xn.default=void 0;var mI={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},KG=Xn.default=mI});var _1=A(Yn=>{"use strict";Object.defineProperty(Yn,"__esModule",{value:!0});Yn.default=void 0;var hI={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]},YG=Yn.default=hI});var b1=A(Jn=>{"use strict";Object.defineProperty(Jn,"__esModule",{value:!0});Jn.default=void 0;var _I={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},QG=Jn.default=_I});var v1=A(Qn=>{"use strict";Object.defineProperty(Qn,"__esModule",{value:!0});Qn.default=void 0;var bI={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},eW=Qn.default=bI});var y1=A(Zn=>{"use strict";Object.defineProperty(Zn,"__esModule",{value:!0});Zn.default=void 0;var vI={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},rW=Zn.default=vI});var g1=A(eo=>{"use strict";Object.defineProperty(eo,"__esModule",{value:!0});eo.default=void 0;var yI=Nt(l1()),gI=Nt(u1()),xI=Nt(c1()),wI=Nt(p1()),kI=Nt(d1()),CI=Nt(f1()),SI=Nt(m1()),EI=Nt(h1()),TI=Nt(_1()),AI=Nt(b1()),PI=Nt(v1()),RI=Nt(y1());function Nt(e){return e&&e.__esModule?e:{default:e}}var $I=[["command",yI.default],["composite",gI.default],["input",xI.default],["landmark",wI.default],["range",kI.default],["roletype",CI.default],["section",SI.default],["sectionhead",EI.default],["select",TI.default],["structure",AI.default],["widget",PI.default],["window",RI.default]],sW=eo.default=$I});var x1=A(to=>{"use strict";Object.defineProperty(to,"__esModule",{value:!0});to.default=void 0;var II={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},nW=to.default=II});var w1=A(ro=>{"use strict";Object.defineProperty(ro,"__esModule",{value:!0});ro.default=void 0;var qI={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]},lW=ro.default=qI});var k1=A(io=>{"use strict";Object.defineProperty(io,"__esModule",{value:!0});io.default=void 0;var MI={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},cW=io.default=MI});var C1=A(so=>{"use strict";Object.defineProperty(so,"__esModule",{value:!0});so.default=void 0;var LI={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},dW=so.default=LI});var S1=A(ao=>{"use strict";Object.defineProperty(ao,"__esModule",{value:!0});ao.default=void 0;var NI={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},mW=ao.default=NI});var E1=A(no=>{"use strict";Object.defineProperty(no,"__esModule",{value:!0});no.default=void 0;var OI={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},_W=no.default=OI});var T1=A(oo=>{"use strict";Object.defineProperty(oo,"__esModule",{value:!0});oo.default=void 0;var DI={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},vW=oo.default=DI});var A1=A(lo=>{"use strict";Object.defineProperty(lo,"__esModule",{value:!0});lo.default=void 0;var BI={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},gW=lo.default=BI});var P1=A(uo=>{"use strict";Object.defineProperty(uo,"__esModule",{value:!0});uo.default=void 0;var jI={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},wW=uo.default=jI});var R1=A(co=>{"use strict";Object.defineProperty(co,"__esModule",{value:!0});co.default=void 0;var FI={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},CW=co.default=FI});var $1=A(po=>{"use strict";Object.defineProperty(po,"__esModule",{value:!0});po.default=void 0;var VI={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},EW=po.default=VI});var I1=A(fo=>{"use strict";Object.defineProperty(fo,"__esModule",{value:!0});fo.default=void 0;var UI={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},AW=fo.default=UI});var q1=A(mo=>{"use strict";Object.defineProperty(mo,"__esModule",{value:!0});mo.default=void 0;var HI={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]},RW=mo.default=HI});var M1=A(ho=>{"use strict";Object.defineProperty(ho,"__esModule",{value:!0});ho.default=void 0;var zI={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element","scoped to the main element"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},IW=ho.default=zI});var L1=A(_o=>{"use strict";Object.defineProperty(_o,"__esModule",{value:!0});_o.default=void 0;var GI={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},MW=_o.default=GI});var N1=A(bo=>{"use strict";Object.defineProperty(bo,"__esModule",{value:!0});bo.default=void 0;var WI={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},NW=bo.default=WI});var O1=A(vo=>{"use strict";Object.defineProperty(vo,"__esModule",{value:!0});vo.default=void 0;var KI={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},DW=vo.default=KI});var D1=A(yo=>{"use strict";Object.defineProperty(yo,"__esModule",{value:!0});yo.default=void 0;var XI={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},jW=yo.default=XI});var B1=A(go=>{"use strict";Object.defineProperty(go,"__esModule",{value:!0});go.default=void 0;var YI={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},VW=go.default=YI});var j1=A(xo=>{"use strict";Object.defineProperty(xo,"__esModule",{value:!0});xo.default=void 0;var JI={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},HW=xo.default=JI});var F1=A(wo=>{"use strict";Object.defineProperty(wo,"__esModule",{value:!0});wo.default=void 0;var QI={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},GW=wo.default=QI});var V1=A(ko=>{"use strict";Object.defineProperty(ko,"__esModule",{value:!0});ko.default=void 0;var ZI={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},KW=ko.default=ZI});var U1=A(Co=>{"use strict";Object.defineProperty(Co,"__esModule",{value:!0});Co.default=void 0;var eq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},YW=Co.default=eq});var H1=A(So=>{"use strict";Object.defineProperty(So,"__esModule",{value:!0});So.default=void 0;var tq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},QW=So.default=tq});var z1=A(Eo=>{"use strict";Object.defineProperty(Eo,"__esModule",{value:!0});Eo.default=void 0;var rq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},eK=Eo.default=rq});var G1=A(To=>{"use strict";Object.defineProperty(To,"__esModule",{value:!0});To.default=void 0;var iq={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]},rK=To.default=iq});var W1=A(Ao=>{"use strict";Object.defineProperty(Ao,"__esModule",{value:!0});Ao.default=void 0;var sq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]},sK=Ao.default=sq});var K1=A(Po=>{"use strict";Object.defineProperty(Po,"__esModule",{value:!0});Po.default=void 0;var aq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},nK=Po.default=aq});var X1=A(Ro=>{"use strict";Object.defineProperty(Ro,"__esModule",{value:!0});Ro.default=void 0;var nq={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]},lK=Ro.default=nq});var Y1=A($o=>{"use strict";Object.defineProperty($o,"__esModule",{value:!0});$o.default=void 0;var oq={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},cK=$o.default=oq});var J1=A(Io=>{"use strict";Object.defineProperty(Io,"__esModule",{value:!0});Io.default=void 0;var lq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},dK=Io.default=lq});var Q1=A(qo=>{"use strict";Object.defineProperty(qo,"__esModule",{value:!0});qo.default=void 0;var uq={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},mK=qo.default=uq});var Z1=A(Mo=>{"use strict";Object.defineProperty(Mo,"__esModule",{value:!0});Mo.default=void 0;var cq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]},_K=Mo.default=cq});var ew=A(Lo=>{"use strict";Object.defineProperty(Lo,"__esModule",{value:!0});Lo.default=void 0;var pq={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},vK=Lo.default=pq});var tw=A(No=>{"use strict";Object.defineProperty(No,"__esModule",{value:!0});No.default=void 0;var dq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},gK=No.default=dq});var rw=A(Oo=>{"use strict";Object.defineProperty(Oo,"__esModule",{value:!0});Oo.default=void 0;var fq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},wK=Oo.default=fq});var iw=A(Do=>{"use strict";Object.defineProperty(Do,"__esModule",{value:!0});Do.default=void 0;var mq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},CK=Do.default=mq});var sw=A(Bo=>{"use strict";Object.defineProperty(Bo,"__esModule",{value:!0});Bo.default=void 0;var hq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},EK=Bo.default=hq});var aw=A(jo=>{"use strict";Object.defineProperty(jo,"__esModule",{value:!0});jo.default=void 0;var _q={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},AK=jo.default=_q});var nw=A(Fo=>{"use strict";Object.defineProperty(Fo,"__esModule",{value:!0});Fo.default=void 0;var bq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},RK=Fo.default=bq});var ow=A(Vo=>{"use strict";Object.defineProperty(Vo,"__esModule",{value:!0});Vo.default=void 0;var vq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},IK=Vo.default=vq});var lw=A(Uo=>{"use strict";Object.defineProperty(Uo,"__esModule",{value:!0});Uo.default=void 0;var yq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]},MK=Uo.default=yq});var uw=A(Ho=>{"use strict";Object.defineProperty(Ho,"__esModule",{value:!0});Ho.default=void 0;var gq={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},NK=Ho.default=gq});var cw=A(zo=>{"use strict";Object.defineProperty(zo,"__esModule",{value:!0});zo.default=void 0;var xq={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]},DK=zo.default=xq});var pw=A(Go=>{"use strict";Object.defineProperty(Go,"__esModule",{value:!0});Go.default=void 0;var wq={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]},jK=Go.default=wq});var dw=A(Wo=>{"use strict";Object.defineProperty(Wo,"__esModule",{value:!0});Wo.default=void 0;var kq={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]},VK=Wo.default=kq});var fw=A(Ko=>{"use strict";Object.defineProperty(Ko,"__esModule",{value:!0});Ko.default=void 0;var Cq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},HK=Ko.default=Cq});var mw=A(Xo=>{"use strict";Object.defineProperty(Xo,"__esModule",{value:!0});Xo.default=void 0;var Sq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},GK=Xo.default=Sq});var hw=A(Yo=>{"use strict";Object.defineProperty(Yo,"__esModule",{value:!0});Yo.default=void 0;var Eq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},KK=Yo.default=Eq});var _w=A(Jo=>{"use strict";Object.defineProperty(Jo,"__esModule",{value:!0});Jo.default=void 0;var Tq={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]},YK=Jo.default=Tq});var bw=A(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});Qo.default=void 0;var Aq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},QK=Qo.default=Aq});var vw=A(Zo=>{"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});Zo.default=void 0;var Pq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},eX=Zo.default=Pq});var yw=A(el=>{"use strict";Object.defineProperty(el,"__esModule",{value:!0});el.default=void 0;var Rq={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]},rX=el.default=Rq});var gw=A(tl=>{"use strict";Object.defineProperty(tl,"__esModule",{value:!0});tl.default=void 0;var $q={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},sX=tl.default=$q});var xw=A(rl=>{"use strict";Object.defineProperty(rl,"__esModule",{value:!0});rl.default=void 0;var Iq={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},nX=rl.default=Iq});var ww=A(il=>{"use strict";Object.defineProperty(il,"__esModule",{value:!0});il.default=void 0;var qq={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},lX=il.default=qq});var kw=A(sl=>{"use strict";Object.defineProperty(sl,"__esModule",{value:!0});sl.default=void 0;var Mq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]},cX=sl.default=Mq});var Cw=A(al=>{"use strict";Object.defineProperty(al,"__esModule",{value:!0});al.default=void 0;var Lq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]},dX=al.default=Lq});var Sw=A(nl=>{"use strict";Object.defineProperty(nl,"__esModule",{value:!0});nl.default=void 0;var Nq={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},mX=nl.default=Nq});var Ew=A(ol=>{"use strict";Object.defineProperty(ol,"__esModule",{value:!0});ol.default=void 0;var Oq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]},_X=ol.default=Oq});var Tw=A(ll=>{"use strict";Object.defineProperty(ll,"__esModule",{value:!0});ll.default=void 0;var Dq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},vX=ll.default=Dq});var Aw=A(ul=>{"use strict";Object.defineProperty(ul,"__esModule",{value:!0});ul.default=void 0;var Bq={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]},gX=ul.default=Bq});var Pw=A(cl=>{"use strict";Object.defineProperty(cl,"__esModule",{value:!0});cl.default=void 0;var jq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},wX=cl.default=jq});var Rw=A(pl=>{"use strict";Object.defineProperty(pl,"__esModule",{value:!0});pl.default=void 0;var Fq={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]},CX=pl.default=Fq});var $w=A(dl=>{"use strict";Object.defineProperty(dl,"__esModule",{value:!0});dl.default=void 0;var Vq={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]},EX=dl.default=Vq});var Iw=A(fl=>{"use strict";Object.defineProperty(fl,"__esModule",{value:!0});fl.default=void 0;var Uq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},AX=fl.default=Uq});var qw=A(ml=>{"use strict";Object.defineProperty(ml,"__esModule",{value:!0});ml.default=void 0;var Hq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},RX=ml.default=Hq});var Mw=A(hl=>{"use strict";Object.defineProperty(hl,"__esModule",{value:!0});hl.default=void 0;var zq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},IX=hl.default=zq});var Lw=A(_l=>{"use strict";Object.defineProperty(_l,"__esModule",{value:!0});_l.default=void 0;var Gq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},MX=_l.default=Gq});var Nw=A(bl=>{"use strict";Object.defineProperty(bl,"__esModule",{value:!0});bl.default=void 0;var Wq={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]},NX=bl.default=Wq});var Ow=A(vl=>{"use strict";Object.defineProperty(vl,"__esModule",{value:!0});vl.default=void 0;var Kq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]},DX=vl.default=Kq});var Dw=A(yl=>{"use strict";Object.defineProperty(yl,"__esModule",{value:!0});yl.default=void 0;var Xq={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]},jX=yl.default=Xq});var Bw=A(gl=>{"use strict";Object.defineProperty(gl,"__esModule",{value:!0});gl.default=void 0;var Yq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]},VX=gl.default=Yq});var jw=A(xl=>{"use strict";Object.defineProperty(xl,"__esModule",{value:!0});xl.default=void 0;var Jq={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},HX=xl.default=Jq});var Fw=A(wl=>{"use strict";Object.defineProperty(wl,"__esModule",{value:!0});wl.default=void 0;var Qq={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},GX=wl.default=Qq});var Vw=A(kl=>{"use strict";Object.defineProperty(kl,"__esModule",{value:!0});kl.default=void 0;var Zq={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]},KX=kl.default=Zq});var Uw=A(Cl=>{"use strict";Object.defineProperty(Cl,"__esModule",{value:!0});Cl.default=void 0;var eM={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},YX=Cl.default=eM});var Hw=A(Sl=>{"use strict";Object.defineProperty(Sl,"__esModule",{value:!0});Sl.default=void 0;var tM={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},QX=Sl.default=tM});var zw=A(El=>{"use strict";Object.defineProperty(El,"__esModule",{value:!0});El.default=void 0;var rM={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},eY=El.default=rM});var Gw=A(Tl=>{"use strict";Object.defineProperty(Tl,"__esModule",{value:!0});Tl.default=void 0;var iM={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},rY=Tl.default=iM});var Ww=A(Al=>{"use strict";Object.defineProperty(Al,"__esModule",{value:!0});Al.default=void 0;var sM={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},sY=Al.default=sM});var Kw=A(Pl=>{"use strict";Object.defineProperty(Pl,"__esModule",{value:!0});Pl.default=void 0;var aM={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]},nY=Pl.default=aM});var Xw=A(Rl=>{"use strict";Object.defineProperty(Rl,"__esModule",{value:!0});Rl.default=void 0;var nM={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]},lY=Rl.default=nM});var Yw=A($l=>{"use strict";Object.defineProperty($l,"__esModule",{value:!0});$l.default=void 0;var oM=K(x1()),lM=K(w1()),uM=K(k1()),cM=K(C1()),pM=K(S1()),dM=K(E1()),fM=K(T1()),mM=K(A1()),hM=K(P1()),_M=K(R1()),bM=K($1()),vM=K(I1()),yM=K(q1()),gM=K(M1()),xM=K(L1()),wM=K(N1()),kM=K(O1()),CM=K(D1()),SM=K(B1()),EM=K(j1()),TM=K(F1()),AM=K(V1()),PM=K(U1()),RM=K(H1()),$M=K(z1()),IM=K(G1()),qM=K(W1()),MM=K(K1()),LM=K(X1()),NM=K(Y1()),OM=K(J1()),DM=K(Q1()),BM=K(Z1()),jM=K(ew()),FM=K(tw()),VM=K(rw()),UM=K(iw()),HM=K(sw()),zM=K(aw()),GM=K(nw()),WM=K(ow()),KM=K(lw()),XM=K(uw()),YM=K(cw()),JM=K(pw()),QM=K(dw()),ZM=K(fw()),eL=K(mw()),tL=K(hw()),rL=K(_w()),iL=K(bw()),sL=K(vw()),aL=K(yw()),nL=K(gw()),oL=K(xw()),lL=K(ww()),uL=K(kw()),cL=K(Cw()),pL=K(Sw()),dL=K(Ew()),fL=K(Tw()),mL=K(Aw()),hL=K(Pw()),_L=K(Rw()),bL=K($w()),vL=K(Iw()),yL=K(qw()),gL=K(Mw()),xL=K(Lw()),wL=K(Nw()),kL=K(Ow()),CL=K(Dw()),SL=K(Bw()),EL=K(jw()),TL=K(Fw()),AL=K(Vw()),PL=K(Uw()),RL=K(Hw()),$L=K(zw()),IL=K(Gw()),qL=K(Ww()),ML=K(Kw()),LL=K(Xw());function K(e){return e&&e.__esModule?e:{default:e}}var NL=[["alert",oM.default],["alertdialog",lM.default],["application",uM.default],["article",cM.default],["banner",pM.default],["blockquote",dM.default],["button",fM.default],["caption",mM.default],["cell",hM.default],["checkbox",_M.default],["code",bM.default],["columnheader",vM.default],["combobox",yM.default],["complementary",gM.default],["contentinfo",xM.default],["definition",wM.default],["deletion",kM.default],["dialog",CM.default],["directory",SM.default],["document",EM.default],["emphasis",TM.default],["feed",AM.default],["figure",PM.default],["form",RM.default],["generic",$M.default],["grid",IM.default],["gridcell",qM.default],["group",MM.default],["heading",LM.default],["img",NM.default],["insertion",OM.default],["link",DM.default],["list",BM.default],["listbox",jM.default],["listitem",FM.default],["log",VM.default],["main",UM.default],["mark",HM.default],["marquee",zM.default],["math",GM.default],["menu",WM.default],["menubar",KM.default],["menuitem",XM.default],["menuitemcheckbox",YM.default],["menuitemradio",JM.default],["meter",QM.default],["navigation",ZM.default],["none",eL.default],["note",tL.default],["option",rL.default],["paragraph",iL.default],["presentation",sL.default],["progressbar",aL.default],["radio",nL.default],["radiogroup",oL.default],["region",lL.default],["row",uL.default],["rowgroup",cL.default],["rowheader",pL.default],["scrollbar",dL.default],["search",fL.default],["searchbox",mL.default],["separator",hL.default],["slider",_L.default],["spinbutton",bL.default],["status",vL.default],["strong",yL.default],["subscript",gL.default],["superscript",xL.default],["switch",wL.default],["tab",kL.default],["table",CL.default],["tablist",SL.default],["tabpanel",EL.default],["term",TL.default],["textbox",AL.default],["time",PL.default],["timer",RL.default],["toolbar",$L.default],["tooltip",IL.default],["tree",qL.default],["treegrid",ML.default],["treeitem",LL.default]],cY=$l.default=NL});var Jw=A(Il=>{"use strict";Object.defineProperty(Il,"__esModule",{value:!0});Il.default=void 0;var OL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},dY=Il.default=OL});var Qw=A(ql=>{"use strict";Object.defineProperty(ql,"__esModule",{value:!0});ql.default=void 0;var DL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},mY=ql.default=DL});var Zw=A(Ml=>{"use strict";Object.defineProperty(Ml,"__esModule",{value:!0});Ml.default=void 0;var BL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},_Y=Ml.default=BL});var ek=A(Ll=>{"use strict";Object.defineProperty(Ll,"__esModule",{value:!0});Ll.default=void 0;var jL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},vY=Ll.default=jL});var tk=A(Nl=>{"use strict";Object.defineProperty(Nl,"__esModule",{value:!0});Nl.default=void 0;var FL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},gY=Nl.default=FL});var rk=A(Ol=>{"use strict";Object.defineProperty(Ol,"__esModule",{value:!0});Ol.default=void 0;var VL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},wY=Ol.default=VL});var ik=A(Dl=>{"use strict";Object.defineProperty(Dl,"__esModule",{value:!0});Dl.default=void 0;var UL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},CY=Dl.default=UL});var sk=A(Bl=>{"use strict";Object.defineProperty(Bl,"__esModule",{value:!0});Bl.default=void 0;var HL={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},EY=Bl.default=HL});var ak=A(jl=>{"use strict";Object.defineProperty(jl,"__esModule",{value:!0});jl.default=void 0;var zL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},AY=jl.default=zL});var nk=A(Fl=>{"use strict";Object.defineProperty(Fl,"__esModule",{value:!0});Fl.default=void 0;var GL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},RY=Fl.default=GL});var ok=A(Vl=>{"use strict";Object.defineProperty(Vl,"__esModule",{value:!0});Vl.default=void 0;var WL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},IY=Vl.default=WL});var lk=A(Ul=>{"use strict";Object.defineProperty(Ul,"__esModule",{value:!0});Ul.default=void 0;var KL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},MY=Ul.default=KL});var uk=A(Hl=>{"use strict";Object.defineProperty(Hl,"__esModule",{value:!0});Hl.default=void 0;var XL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},NY=Hl.default=XL});var ck=A(zl=>{"use strict";Object.defineProperty(zl,"__esModule",{value:!0});zl.default=void 0;var YL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},DY=zl.default=YL});var pk=A(Gl=>{"use strict";Object.defineProperty(Gl,"__esModule",{value:!0});Gl.default=void 0;var JL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},jY=Gl.default=JL});var dk=A(Wl=>{"use strict";Object.defineProperty(Wl,"__esModule",{value:!0});Wl.default=void 0;var QL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},VY=Wl.default=QL});var fk=A(Kl=>{"use strict";Object.defineProperty(Kl,"__esModule",{value:!0});Kl.default=void 0;var ZL={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},HY=Kl.default=ZL});var mk=A(Xl=>{"use strict";Object.defineProperty(Xl,"__esModule",{value:!0});Xl.default=void 0;var eN={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},GY=Xl.default=eN});var hk=A(Yl=>{"use strict";Object.defineProperty(Yl,"__esModule",{value:!0});Yl.default=void 0;var tN={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},KY=Yl.default=tN});var _k=A(Jl=>{"use strict";Object.defineProperty(Jl,"__esModule",{value:!0});Jl.default=void 0;var rN={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},YY=Jl.default=rN});var bk=A(Ql=>{"use strict";Object.defineProperty(Ql,"__esModule",{value:!0});Ql.default=void 0;var iN={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},QY=Ql.default=iN});var vk=A(Zl=>{"use strict";Object.defineProperty(Zl,"__esModule",{value:!0});Zl.default=void 0;var sN={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},eJ=Zl.default=sN});var yk=A(eu=>{"use strict";Object.defineProperty(eu,"__esModule",{value:!0});eu.default=void 0;var aN={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},rJ=eu.default=aN});var gk=A(tu=>{"use strict";Object.defineProperty(tu,"__esModule",{value:!0});tu.default=void 0;var nN={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},sJ=tu.default=nN});var xk=A(ru=>{"use strict";Object.defineProperty(ru,"__esModule",{value:!0});ru.default=void 0;var oN={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},nJ=ru.default=oN});var wk=A(iu=>{"use strict";Object.defineProperty(iu,"__esModule",{value:!0});iu.default=void 0;var lN={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},lJ=iu.default=lN});var kk=A(su=>{"use strict";Object.defineProperty(su,"__esModule",{value:!0});su.default=void 0;var uN={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},cJ=su.default=uN});var Ck=A(au=>{"use strict";Object.defineProperty(au,"__esModule",{value:!0});au.default=void 0;var cN={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},dJ=au.default=cN});var Sk=A(nu=>{"use strict";Object.defineProperty(nu,"__esModule",{value:!0});nu.default=void 0;var pN={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},mJ=nu.default=pN});var Ek=A(ou=>{"use strict";Object.defineProperty(ou,"__esModule",{value:!0});ou.default=void 0;var dN={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]},_J=ou.default=dN});var Tk=A(lu=>{"use strict";Object.defineProperty(lu,"__esModule",{value:!0});lu.default=void 0;var fN={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},vJ=lu.default=fN});var Ak=A(uu=>{"use strict";Object.defineProperty(uu,"__esModule",{value:!0});uu.default=void 0;var mN={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},gJ=uu.default=mN});var Pk=A(cu=>{"use strict";Object.defineProperty(cu,"__esModule",{value:!0});cu.default=void 0;var hN={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},wJ=cu.default=hN});var Rk=A(pu=>{"use strict";Object.defineProperty(pu,"__esModule",{value:!0});pu.default=void 0;var _N={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},CJ=pu.default=_N});var $k=A(du=>{"use strict";Object.defineProperty(du,"__esModule",{value:!0});du.default=void 0;var bN={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},EJ=du.default=bN});var Ik=A(fu=>{"use strict";Object.defineProperty(fu,"__esModule",{value:!0});fu.default=void 0;var vN={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},AJ=fu.default=vN});var qk=A(mu=>{"use strict";Object.defineProperty(mu,"__esModule",{value:!0});mu.default=void 0;var yN={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]},RJ=mu.default=yN});var Mk=A(hu=>{"use strict";Object.defineProperty(hu,"__esModule",{value:!0});hu.default=void 0;var gN={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},IJ=hu.default=gN});var Lk=A(_u=>{"use strict";Object.defineProperty(_u,"__esModule",{value:!0});_u.default=void 0;var xN={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]},MJ=_u.default=xN});var Nk=A(bu=>{"use strict";Object.defineProperty(bu,"__esModule",{value:!0});bu.default=void 0;var wN={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},NJ=bu.default=wN});var Ok=A(vu=>{"use strict";Object.defineProperty(vu,"__esModule",{value:!0});vu.default=void 0;var kN={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},DJ=vu.default=kN});var Dk=A(yu=>{"use strict";Object.defineProperty(yu,"__esModule",{value:!0});yu.default=void 0;var CN=be(Jw()),SN=be(Qw()),EN=be(Zw()),TN=be(ek()),AN=be(tk()),PN=be(rk()),RN=be(ik()),$N=be(sk()),IN=be(ak()),qN=be(nk()),MN=be(ok()),LN=be(lk()),NN=be(uk()),ON=be(ck()),DN=be(pk()),BN=be(dk()),jN=be(fk()),FN=be(mk()),VN=be(hk()),UN=be(_k()),HN=be(bk()),zN=be(vk()),GN=be(yk()),WN=be(gk()),KN=be(xk()),XN=be(wk()),YN=be(kk()),JN=be(Ck()),QN=be(Sk()),ZN=be(Ek()),e9=be(Tk()),t9=be(Ak()),r9=be(Pk()),i9=be(Rk()),s9=be($k()),a9=be(Ik()),n9=be(qk()),o9=be(Mk()),l9=be(Lk()),u9=be(Nk()),c9=be(Ok());function be(e){return e&&e.__esModule?e:{default:e}}var p9=[["doc-abstract",CN.default],["doc-acknowledgments",SN.default],["doc-afterword",EN.default],["doc-appendix",TN.default],["doc-backlink",AN.default],["doc-biblioentry",PN.default],["doc-bibliography",RN.default],["doc-biblioref",$N.default],["doc-chapter",IN.default],["doc-colophon",qN.default],["doc-conclusion",MN.default],["doc-cover",LN.default],["doc-credit",NN.default],["doc-credits",ON.default],["doc-dedication",DN.default],["doc-endnote",BN.default],["doc-endnotes",jN.default],["doc-epigraph",FN.default],["doc-epilogue",VN.default],["doc-errata",UN.default],["doc-example",HN.default],["doc-footnote",zN.default],["doc-foreword",GN.default],["doc-glossary",WN.default],["doc-glossref",KN.default],["doc-index",XN.default],["doc-introduction",YN.default],["doc-noteref",JN.default],["doc-notice",QN.default],["doc-pagebreak",ZN.default],["doc-pagefooter",e9.default],["doc-pageheader",t9.default],["doc-pagelist",r9.default],["doc-part",i9.default],["doc-preface",s9.default],["doc-prologue",a9.default],["doc-pullquote",n9.default],["doc-qna",o9.default],["doc-subtitle",l9.default],["doc-tip",u9.default],["doc-toc",c9.default]],jJ=yu.default=p9});var Bk=A(gu=>{"use strict";Object.defineProperty(gu,"__esModule",{value:!0});gu.default=void 0;var d9={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},VJ=gu.default=d9});var jk=A(xu=>{"use strict";Object.defineProperty(xu,"__esModule",{value:!0});xu.default=void 0;var f9={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},HJ=xu.default=f9});var Fk=A(wu=>{"use strict";Object.defineProperty(wu,"__esModule",{value:!0});wu.default=void 0;var m9={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},GJ=wu.default=m9});var Vk=A(ku=>{"use strict";Object.defineProperty(ku,"__esModule",{value:!0});ku.default=void 0;var h9=Lm(Bk()),_9=Lm(jk()),b9=Lm(Fk());function Lm(e){return e&&e.__esModule?e:{default:e}}var v9=[["graphics-document",h9.default],["graphics-object",_9.default],["graphics-symbol",b9.default]],KJ=ku.default=v9});var Su=A(Cu=>{"use strict";function pa(e){"@babel/helpers - typeof";return pa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},pa(e)}Object.defineProperty(Cu,"__esModule",{value:!0});Cu.default=void 0;var y9=da(g1()),g9=da(Yw()),x9=da(Dk()),w9=da(Vk()),k9=da(bs());function da(e){return e&&e.__esModule?e:{default:e}}function C9(e,t,r){return(t=S9(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function S9(e){var t=E9(e,"string");return pa(t)=="symbol"?t:t+""}function E9(e,t){if(pa(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var i=r.call(e,t||"default");if(pa(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Nm(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Hk(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var i=0,s=function(){};return{s,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(d){throw d},f:s}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
4
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,n=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var d=r.next();return n=d.done,d},e:function(d){u=!0,a=d},f:function(){try{n||r.return==null||r.return()}finally{if(u)throw a}}}}function ca(e,t){return P9(e)||A9(e,t)||Hk(e,t)||T9()}function T9(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
5
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Hk(e,t){if(e){if(typeof e=="string")return Uk(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Uk(e,t):void 0}}function Uk(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,i=Array(t);r<t;r++)i[r]=e[r];return i}function A9(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var i,s,a,n,u=[],p=!0,d=!1;try{if(a=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;p=!1}else for(;!(p=(i=a.call(r)).done)&&(u.push(i.value),u.length!==t);p=!0);}catch(f){d=!0,s=f}finally{try{if(!p&&r.return!=null&&(n=r.return(),Object(n)!==n))return}finally{if(d)throw s}}return u}}function P9(e){if(Array.isArray(e))return e}var li=[].concat(y9.default,g9.default,x9.default,w9.default);li.forEach(function(e){var t=ca(e,2),r=t[1],i=Nm(r.superClass),s;try{for(i.s();!(s=i.n()).done;){var a=s.value,n=Nm(a),u;try{var p=function(){var f=u.value,h=li.find(function(o){var l=ca(o,1),y=l[0];return y===f});if(h)for(var _=h[1],g=0,E=Object.keys(_.props);g<E.length;g++){var S=E[g];Object.prototype.hasOwnProperty.call(r.props,S)||Object.assign(r.props,C9({},S,_.props[S]))}};for(n.s();!(u=n.n()).done;)p()}catch(d){n.e(d)}finally{n.f()}}}catch(d){i.e(d)}finally{i.f()}});var Om={entries:function(){return li},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,i=Nm(li),s;try{for(i.s();!(s=i.n()).done;){var a=ca(s.value,2),n=a[0],u=a[1];t.call(r,u,n,li)}}catch(p){i.e(p)}finally{i.f()}},get:function(t){var r=li.find(function(i){return i[0]===t});return r&&r[1]},has:function(t){return!!Om.get(t)},keys:function(){return li.map(function(t){var r=ca(t,1),i=r[0];return i})},values:function(){return li.map(function(t){var r=ca(t,2),i=r[1];return i})}},YJ=Cu.default=(0,k9.default)(Om,Om.entries())});var Yk=A(Ru=>{"use strict";Object.defineProperty(Ru,"__esModule",{value:!0});Ru.default=void 0;var R9=Kk(bs()),Wk=Kk(Su());function Kk(e){return e&&e.__esModule?e:{default:e}}function Dm(e,t){return M9(e)||q9(e,t)||I9(e,t)||$9()}function $9(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
6
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function I9(e,t){if(e){if(typeof e=="string")return zk(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?zk(e,t):void 0}}function zk(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,i=Array(t);r<t;r++)i[r]=e[r];return i}function q9(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var i,s,a,n,u=[],p=!0,d=!1;try{if(a=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;p=!1}else for(;!(p=(i=a.call(r)).done)&&(u.push(i.value),u.length!==t);p=!0);}catch(f){d=!0,s=f}finally{try{if(!p&&r.return!=null&&(n=r.return(),Object(n)!==n))return}finally{if(d)throw s}}return u}}function M9(e){if(Array.isArray(e))return e}var ui=[],Gk=Wk.default.keys();for(Eu=0;Eu<Gk.length;Eu++)if(Tu=Gk[Eu],Au=Wk.default.get(Tu),Au)for(Bm=[].concat(Au.baseConcepts,Au.relatedConcepts),Pu=0;Pu<Bm.length;Pu++)jm=Bm[Pu],jm.module==="HTML"&&(function(){var e=jm.concept;if(e){var t=ui.find(function(a){return L9(a[0],e)}),r;t?r=t[1]:r=[];for(var i=!0,s=0;s<r.length;s++)if(r[s]===Tu){i=!1;break}i&&r.push(Tu),t||ui.push([e,r])}})();var Tu,Au,Bm,jm,Pu,Eu,Fm={entries:function(){return ui},forEach:function(t){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,i=0,s=ui;i<s.length;i++){var a=Dm(s[i],2),n=a[0],u=a[1];t.call(r,u,n,ui)}},get:function(t){var r=ui.find(function(i){return t.name===i[0].name&&Xk(t.attributes,i[0].attributes)});return r&&r[1]},has:function(t){return!!Fm.get(t)},keys:function(){return ui.map(function(t){var r=Dm(t,1),i=r[0];return i})},values:function(){return ui.map(function(t){var r=Dm(t,2),i=r[1];return i})}};function L9(e,t){return e.name===t.name&&N9(e.constraints,t.constraints)&&Xk(e.attributes,t.attributes)}function N9(e,t){if(e===void 0&&t!==void 0||e!==void 0&&t===void 0)return!1;if(e!==void 0&&t!==void 0){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1}return!0}function Xk(e,t){if(e===void 0&&t!==void 0||e!==void 0&&t===void 0)return!1;if(e!==void 0&&t!==void 0){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++){if(e[r].name!==t[r].name||e[r].value!==t[r].value||e[r].constraints===void 0&&t[r].constraints!==void 0||e[r].constraints!==void 0&&t[r].constraints===void 0)return!1;if(e[r].constraints!==void 0&&t[r].constraints!==void 0){if(e[r].constraints.length!==t[r].constraints.length)return!1;for(var i=0;i<e[r].constraints.length;i++)if(e[r].constraints[i]!==t[r].constraints[i])return!1}}}return!0}var QJ=Ru.default=(0,R9.default)(Fm,Fm.entries())});var tC=A(Lu=>{"use strict";Object.defineProperty(Lu,"__esModule",{value:!0});Lu.default=void 0;var O9=eC(bs()),Zk=eC(Su());function eC(e){return e&&e.__esModule?e:{default:e}}function Vm(e,t){return F9(e)||j9(e,t)||B9(e,t)||D9()}function D9(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
7
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function B9(e,t){if(e){if(typeof e=="string")return Jk(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Jk(e,t):void 0}}function Jk(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,i=Array(t);r<t;r++)i[r]=e[r];return i}function j9(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var i,s,a,n,u=[],p=!0,d=!1;try{if(a=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;p=!1}else for(;!(p=(i=a.call(r)).done)&&(u.push(i.value),u.length!==t);p=!0);}catch(f){d=!0,s=f}finally{try{if(!p&&r.return!=null&&(n=r.return(),Object(n)!==n))return}finally{if(d)throw s}}return u}}function F9(e){if(Array.isArray(e))return e}var Mi=[],Qk=Zk.default.keys();for($u=0;$u<Qk.length;$u++)if(Um=Qk[$u],Iu=Zk.default.get(Um),qu=[],Iu){for(Hm=[].concat(Iu.baseConcepts,Iu.relatedConcepts),Mu=0;Mu<Hm.length;Mu++)zm=Hm[Mu],zm.module==="HTML"&&(Gm=zm.concept,Gm!=null&&qu.push(Gm));qu.length>0&&Mi.push([Um,qu])}var Um,Iu,qu,Hm,zm,Gm,Mu,$u,Wm={entries:function(){return Mi},forEach:function(t){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,i=0,s=Mi;i<s.length;i++){var a=Vm(s[i],2),n=a[0],u=a[1];t.call(r,u,n,Mi)}},get:function(t){var r=Mi.find(function(i){return i[0]===t});return r&&r[1]},has:function(t){return!!Wm.get(t)},keys:function(){return Mi.map(function(t){var r=Vm(t,1),i=r[0];return i})},values:function(){return Mi.map(function(t){var r=Vm(t,2),i=r[1];return i})}},eQ=Lu.default=(0,O9.default)(Wm,Wm.entries())});var Km=A(Ot=>{"use strict";Object.defineProperty(Ot,"__esModule",{value:!0});Ot.roles=Ot.roleElements=Ot.elementRoles=Ot.dom=Ot.aria=void 0;var V9=fa(a1()),U9=fa(o1()),H9=fa(Su()),z9=fa(Yk()),G9=fa(tC());function fa(e){return e&&e.__esModule?e:{default:e}}var rQ=Ot.aria=V9.default,iQ=Ot.dom=U9.default,sQ=Ot.roles=H9.default,aQ=Ot.elementRoles=z9.default,nQ=Ot.roleElements=G9.default});var rC=A(Nu=>{"use strict";Object.defineProperty(Nu,"__esModule",{value:!0});Nu.default=void 0;function W9(){var e=this,t=0,r={"@@iterator":function(){return r},next:function(){if(t<e.length){var s=e[t];return t=t+1,{done:!1,value:s}}else return{done:!0}}};return r}var K9=W9;Nu.default=K9});var ma=A(Ym=>{"use strict";Object.defineProperty(Ym,"__esModule",{value:!0});Ym.default=J9;var X9=Y9(rC());function Y9(e){return e&&e.__esModule?e:{default:e}}function Xm(e){"@babel/helpers - typeof";return Xm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xm(e)}function J9(e,t){return typeof Symbol=="function"&&Xm(Symbol.iterator)==="symbol"&&Object.defineProperty(e,Symbol.iterator,{value:X9.default.bind(t)}),e}});var iC=A(Ou=>{"use strict";Object.defineProperty(Ou,"__esModule",{value:!0});Ou.default=void 0;var Q9={relatedConcepts:[{module:"HTML",concept:{name:"abbr"}}],type:"structure"},Z9=Q9;Ou.default=Z9});var sC=A(Du=>{"use strict";Object.defineProperty(Du,"__esModule",{value:!0});Du.default=void 0;var eO={relatedConcepts:[{module:"ARIA",concept:{name:"alertdialog"}}],type:"window"},tO=eO;Du.default=tO});var aC=A(Bu=>{"use strict";Object.defineProperty(Bu,"__esModule",{value:!0});Bu.default=void 0;var rO={relatedConcepts:[{module:"ARIA",concept:{name:"alert"}}],type:"structure"},iO=rO;Bu.default=iO});var nC=A(ju=>{"use strict";Object.defineProperty(ju,"__esModule",{value:!0});ju.default=void 0;var sO={relatedConcepts:[],type:"structure"},aO=sO;ju.default=aO});var oC=A(Fu=>{"use strict";Object.defineProperty(Fu,"__esModule",{value:!0});Fu.default=void 0;var nO={relatedConcepts:[{module:"ARIA",concept:{name:"application"}}],type:"window"},oO=nO;Fu.default=oO});var lC=A(Vu=>{"use strict";Object.defineProperty(Vu,"__esModule",{value:!0});Vu.default=void 0;var lO={relatedConcepts:[{module:"ARIA",concept:{name:"article"}},{module:"HTML",concept:{name:"article"}}],type:"structure"},uO=lO;Vu.default=uO});var uC=A(Uu=>{"use strict";Object.defineProperty(Uu,"__esModule",{value:!0});Uu.default=void 0;var cO={relatedConcepts:[{module:"HTML",concept:{name:"audio"}}],type:"widget"},pO=cO;Uu.default=pO});var cC=A(Hu=>{"use strict";Object.defineProperty(Hu,"__esModule",{value:!0});Hu.default=void 0;var dO={relatedConcepts:[{module:"ARIA",concept:{name:"banner"}}],type:"structure"},fO=dO;Hu.default=fO});var pC=A(zu=>{"use strict";Object.defineProperty(zu,"__esModule",{value:!0});zu.default=void 0;var mO={relatedConcepts:[{module:"HTML",concept:{name:"blockquote"}}],type:"structure"},hO=mO;zu.default=hO});var dC=A(Gu=>{"use strict";Object.defineProperty(Gu,"__esModule",{value:!0});Gu.default=void 0;var _O={relatedConcepts:[{module:"ARIA",concept:{attributes:[{name:"aria-busy",value:"true"}]}}],type:"widget"},bO=_O;Gu.default=bO});var fC=A(Wu=>{"use strict";Object.defineProperty(Wu,"__esModule",{value:!0});Wu.default=void 0;var vO={relatedConcepts:[{module:"ARIA",concept:{name:"button"}},{module:"HTML",concept:{name:"button"}}],type:"widget"},yO=vO;Wu.default=yO});var mC=A(Ku=>{"use strict";Object.defineProperty(Ku,"__esModule",{value:!0});Ku.default=void 0;var gO={relatedConcepts:[{module:"HTML",concept:{name:"canvas"}}],type:"widget"},xO=gO;Ku.default=xO});var hC=A(Xu=>{"use strict";Object.defineProperty(Xu,"__esModule",{value:!0});Xu.default=void 0;var wO={relatedConcepts:[{module:"HTML",concept:{name:"caption"}}],type:"structure"},kO=wO;Xu.default=kO});var _C=A(Yu=>{"use strict";Object.defineProperty(Yu,"__esModule",{value:!0});Yu.default=void 0;var CO={relatedConcepts:[{module:"ARIA",concept:{name:"cell"}},{module:"ARIA",concept:{name:"gridcell"}},{module:"HTML",concept:{name:"td"}}],type:"widget"},SO=CO;Yu.default=SO});var bC=A(Ju=>{"use strict";Object.defineProperty(Ju,"__esModule",{value:!0});Ju.default=void 0;var EO={relatedConcepts:[{module:"ARIA",concept:{name:"checkbox"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"checkbox"}]}}],type:"widget"},TO=EO;Ju.default=TO});var vC=A(Qu=>{"use strict";Object.defineProperty(Qu,"__esModule",{value:!0});Qu.default=void 0;var AO={relatedConcepts:[{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"color"}]}}],type:"widget"},PO=AO;Qu.default=PO});var yC=A(Zu=>{"use strict";Object.defineProperty(Zu,"__esModule",{value:!0});Zu.default=void 0;var RO={relatedConcepts:[{module:"ARIA",concept:{name:"columnheader"}},{module:"HTML",concept:{name:"th"}}],type:"widget"},$O=RO;Zu.default=$O});var gC=A(ec=>{"use strict";Object.defineProperty(ec,"__esModule",{value:!0});ec.default=void 0;var IO={relatedConcepts:[],type:"structure"},qO=IO;ec.default=qO});var xC=A(tc=>{"use strict";Object.defineProperty(tc,"__esModule",{value:!0});tc.default=void 0;var MO={relatedConcepts:[{module:"ARIA",concept:{name:"combobox"}},{module:"HTML",concept:{name:"select"}}],type:"widget"},LO=MO;tc.default=LO});var wC=A(rc=>{"use strict";Object.defineProperty(rc,"__esModule",{value:!0});rc.default=void 0;var NO={relatedConcepts:[{module:"ARIA",concept:{name:"complementary"}}],type:"structure"},OO=NO;rc.default=OO});var kC=A(ic=>{"use strict";Object.defineProperty(ic,"__esModule",{value:!0});ic.default=void 0;var DO={relatedConcepts:[{module:"ARIA",concept:{name:"structureinfo"}}],type:"structure"},BO=DO;ic.default=BO});var CC=A(sc=>{"use strict";Object.defineProperty(sc,"__esModule",{value:!0});sc.default=void 0;var jO={relatedConcepts:[{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"date"}]}}],type:"widget"},FO=jO;sc.default=FO});var SC=A(ac=>{"use strict";Object.defineProperty(ac,"__esModule",{value:!0});ac.default=void 0;var VO={relatedConcepts:[{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"datetime"}]}}],type:"widget"},UO=VO;ac.default=UO});var EC=A(nc=>{"use strict";Object.defineProperty(nc,"__esModule",{value:!0});nc.default=void 0;var HO={relatedConcepts:[{module:"HTML",concept:{name:"dfn"}}],type:"structure"},zO=HO;nc.default=zO});var TC=A(oc=>{"use strict";Object.defineProperty(oc,"__esModule",{value:!0});oc.default=void 0;var GO={relatedConcepts:[{module:"HTML",concept:{name:"dd"}}],type:"structure"},WO=GO;oc.default=WO});var AC=A(lc=>{"use strict";Object.defineProperty(lc,"__esModule",{value:!0});lc.default=void 0;var KO={relatedConcepts:[{module:"HTML",concept:{name:"dl"}}],type:"structure"},XO=KO;lc.default=XO});var PC=A(uc=>{"use strict";Object.defineProperty(uc,"__esModule",{value:!0});uc.default=void 0;var YO={relatedConcepts:[{module:"HTML",concept:{name:"dt"}}],type:"structure"},JO=YO;uc.default=JO});var RC=A(cc=>{"use strict";Object.defineProperty(cc,"__esModule",{value:!0});cc.default=void 0;var QO={relatedConcepts:[{module:"HTML",concept:{name:"details"}}],type:"structure"},ZO=QO;cc.default=ZO});var $C=A(pc=>{"use strict";Object.defineProperty(pc,"__esModule",{value:!0});pc.default=void 0;var e6={relatedConcepts:[{module:"ARIA",concept:{name:"dialog"}},{module:"HTML",concept:{name:"dialog"}}],type:"window"},t6=e6;pc.default=t6});var IC=A(dc=>{"use strict";Object.defineProperty(dc,"__esModule",{value:!0});dc.default=void 0;var r6={relatedConcepts:[{module:"ARIA",concept:{name:"directory"}},{module:"HTML",concept:{name:"dir"}}],type:"structure"},i6=r6;dc.default=i6});var qC=A(fc=>{"use strict";Object.defineProperty(fc,"__esModule",{value:!0});fc.default=void 0;var s6={relatedConcepts:[{module:"HTML",concept:{constraints:["scoped to a details element"],name:"summary"}}],type:"widget"},a6=s6;fc.default=a6});var MC=A(mc=>{"use strict";Object.defineProperty(mc,"__esModule",{value:!0});mc.default=void 0;var n6={relatedConcepts:[{module:"HTML",concept:{name:"div"}}],type:"generic"},o6=n6;mc.default=o6});var LC=A(hc=>{"use strict";Object.defineProperty(hc,"__esModule",{value:!0});hc.default=void 0;var l6={relatedConcepts:[{module:"ARIA",concept:{name:"document"}}],type:"structure"},u6=l6;hc.default=u6});var NC=A(_c=>{"use strict";Object.defineProperty(_c,"__esModule",{value:!0});_c.default=void 0;var c6={relatedConcepts:[{module:"HTML",concept:{name:"embed"}}],type:"widget"},p6=c6;_c.default=p6});var OC=A(bc=>{"use strict";Object.defineProperty(bc,"__esModule",{value:!0});bc.default=void 0;var d6={relatedConcepts:[{module:"ARIA",concept:{name:"feed"}}],type:"structure"},f6=d6;bc.default=f6});var DC=A(vc=>{"use strict";Object.defineProperty(vc,"__esModule",{value:!0});vc.default=void 0;var m6={relatedConcepts:[{module:"HTML",concept:{name:"figcaption"}}],type:"structure"},h6=m6;vc.default=h6});var BC=A(yc=>{"use strict";Object.defineProperty(yc,"__esModule",{value:!0});yc.default=void 0;var _6={relatedConcepts:[{module:"ARIA",concept:{name:"figure"}},{module:"HTML",concept:{name:"figure"}}],type:"structure"},b6=_6;yc.default=b6});var jC=A(gc=>{"use strict";Object.defineProperty(gc,"__esModule",{value:!0});gc.default=void 0;var v6={relatedConcepts:[{module:"HTML",concept:{name:"footer"}}],type:"structure"},y6=v6;gc.default=y6});var FC=A(xc=>{"use strict";Object.defineProperty(xc,"__esModule",{value:!0});xc.default=void 0;var g6={relatedConcepts:[{module:"ARIA",concept:{name:"form"}},{module:"HTML",concept:{name:"form"}}],type:"structure"},x6=g6;xc.default=x6});var VC=A(wc=>{"use strict";Object.defineProperty(wc,"__esModule",{value:!0});wc.default=void 0;var w6={relatedConcepts:[{module:"ARIA",concept:{name:"grid"}}],type:"widget"},k6=w6;wc.default=k6});var UC=A(kc=>{"use strict";Object.defineProperty(kc,"__esModule",{value:!0});kc.default=void 0;var C6={relatedConcepts:[{module:"ARIA",concept:{name:"group"}}],type:"structure"},S6=C6;kc.default=S6});var HC=A(Cc=>{"use strict";Object.defineProperty(Cc,"__esModule",{value:!0});Cc.default=void 0;var E6={relatedConcepts:[{module:"ARIA",concept:{name:"heading"}},{module:"HTML",concept:{name:"h1"}},{module:"HTML",concept:{name:"h2"}},{module:"HTML",concept:{name:"h3"}},{module:"HTML",concept:{name:"h4"}},{module:"HTML",concept:{name:"h5"}},{module:"HTML",concept:{name:"h6"}}],type:"structure"},T6=E6;Cc.default=T6});var zC=A(Sc=>{"use strict";Object.defineProperty(Sc,"__esModule",{value:!0});Sc.default=void 0;var A6={relatedConcepts:[],type:"window"},P6=A6;Sc.default=P6});var GC=A(Ec=>{"use strict";Object.defineProperty(Ec,"__esModule",{value:!0});Ec.default=void 0;var R6={relatedConcepts:[{module:"HTML",concept:{name:"iframe"}}],type:"window"},$6=R6;Ec.default=$6});var WC=A(Tc=>{"use strict";Object.defineProperty(Tc,"__esModule",{value:!0});Tc.default=void 0;var I6={relatedConcepts:[],type:"structure"},q6=I6;Tc.default=q6});var KC=A(Ac=>{"use strict";Object.defineProperty(Ac,"__esModule",{value:!0});Ac.default=void 0;var M6={relatedConcepts:[],type:"widget"},L6=M6;Ac.default=L6});var XC=A(Pc=>{"use strict";Object.defineProperty(Pc,"__esModule",{value:!0});Pc.default=void 0;var N6={relatedConcepts:[{module:"HTML",concept:{name:"img",attributes:[{name:"usemap"}]}}],type:"structure"},O6=N6;Pc.default=O6});var YC=A(Rc=>{"use strict";Object.defineProperty(Rc,"__esModule",{value:!0});Rc.default=void 0;var D6={relatedConcepts:[{module:"ARIA",concept:{name:"img"}},{module:"HTML",concept:{name:"img"}}],type:"structure"},B6=D6;Rc.default=B6});var JC=A($c=>{"use strict";Object.defineProperty($c,"__esModule",{value:!0});$c.default=void 0;var j6={relatedConcepts:[{module:"HTML",concept:{name:"input"}}],type:"widget"},F6=j6;$c.default=F6});var QC=A(Ic=>{"use strict";Object.defineProperty(Ic,"__esModule",{value:!0});Ic.default=void 0;var V6={relatedConcepts:[{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"time"}]}}],type:"widget"},U6=V6;Ic.default=U6});var ZC=A(qc=>{"use strict";Object.defineProperty(qc,"__esModule",{value:!0});qc.default=void 0;var H6={relatedConcepts:[{module:"HTML",concept:{name:"label"}}],type:"structure"},z6=H6;qc.default=z6});var eS=A(Mc=>{"use strict";Object.defineProperty(Mc,"__esModule",{value:!0});Mc.default=void 0;var G6={relatedConcepts:[{module:"HTML",concept:{name:"legend"}}],type:"structure"},W6=G6;Mc.default=W6});var tS=A(Lc=>{"use strict";Object.defineProperty(Lc,"__esModule",{value:!0});Lc.default=void 0;var K6={relatedConcepts:[{module:"HTML",concept:{name:"br"}}],type:"structure"},X6=K6;Lc.default=X6});var rS=A(Nc=>{"use strict";Object.defineProperty(Nc,"__esModule",{value:!0});Nc.default=void 0;var Y6={relatedConcepts:[{module:"ARIA",concept:{name:"link"}},{module:"HTML",concept:{name:"a",attributes:[{name:"href"}]}}],type:"widget"},J6=Y6;Nc.default=J6});var iS=A(Oc=>{"use strict";Object.defineProperty(Oc,"__esModule",{value:!0});Oc.default=void 0;var Q6={relatedConcepts:[{module:"ARIA",concept:{name:"option"}},{module:"HTML",concept:{name:"option"}}],type:"widget"},Z6=Q6;Oc.default=Z6});var sS=A(Dc=>{"use strict";Object.defineProperty(Dc,"__esModule",{value:!0});Dc.default=void 0;var e3={relatedConcepts:[{module:"ARIA",concept:{name:"listbox"}},{module:"HTML",concept:{name:"datalist"}},{module:"HTML",concept:{name:"select"}}],type:"widget"},t3=e3;Dc.default=t3});var aS=A(Bc=>{"use strict";Object.defineProperty(Bc,"__esModule",{value:!0});Bc.default=void 0;var r3={relatedConcepts:[{module:"ARIA",concept:{name:"listitem"}},{module:"HTML",concept:{name:"li"}}],type:"structure"},i3=r3;Bc.default=i3});var nS=A(jc=>{"use strict";Object.defineProperty(jc,"__esModule",{value:!0});jc.default=void 0;var s3={relatedConcepts:[],type:"structure"},a3=s3;jc.default=a3});var oS=A(Fc=>{"use strict";Object.defineProperty(Fc,"__esModule",{value:!0});Fc.default=void 0;var n3={relatedConcepts:[{module:"ARIA",concept:{name:"list"}},{module:"HTML",concept:{name:"ul"}},{module:"HTML",concept:{name:"ol"}}],type:"structure"},o3=n3;Fc.default=o3});var lS=A(Vc=>{"use strict";Object.defineProperty(Vc,"__esModule",{value:!0});Vc.default=void 0;var l3={relatedConcepts:[{module:"ARIA",concept:{name:"log"}}],type:"structure"},u3=l3;Vc.default=u3});var uS=A(Uc=>{"use strict";Object.defineProperty(Uc,"__esModule",{value:!0});Uc.default=void 0;var c3={relatedConcepts:[{module:"ARIA",concept:{name:"main"}},{module:"HTML",concept:{name:"main"}}],type:"structure"},p3=c3;Uc.default=p3});var cS=A(Hc=>{"use strict";Object.defineProperty(Hc,"__esModule",{value:!0});Hc.default=void 0;var d3={relatedConcepts:[{module:"HTML",concept:{name:"mark"}}],type:"structure"},f3=d3;Hc.default=f3});var pS=A(zc=>{"use strict";Object.defineProperty(zc,"__esModule",{value:!0});zc.default=void 0;var m3={relatedConcepts:[{module:"ARIA",concept:{name:"marquee"}},{module:"HTML",concept:{name:"marquee"}}],type:"structure"},h3=m3;zc.default=h3});var dS=A(Gc=>{"use strict";Object.defineProperty(Gc,"__esModule",{value:!0});Gc.default=void 0;var _3={relatedConcepts:[{module:"ARIA",concept:{name:"math"}}],type:"structure"},b3=_3;Gc.default=b3});var fS=A(Wc=>{"use strict";Object.defineProperty(Wc,"__esModule",{value:!0});Wc.default=void 0;var v3={relatedConcepts:[{module:"ARIA",concept:{name:"menubar"}}],type:"structure"},y3=v3;Wc.default=y3});var mS=A(Kc=>{"use strict";Object.defineProperty(Kc,"__esModule",{value:!0});Kc.default=void 0;var g3={relatedConcepts:[],type:"widget"},x3=g3;Kc.default=x3});var hS=A(Xc=>{"use strict";Object.defineProperty(Xc,"__esModule",{value:!0});Xc.default=void 0;var w3={relatedConcepts:[{module:"ARIA",concept:{name:"menuitem"}},{module:"HTML",concept:{name:"menuitem"}}],type:"widget"},k3=w3;Xc.default=k3});var _S=A(Yc=>{"use strict";Object.defineProperty(Yc,"__esModule",{value:!0});Yc.default=void 0;var C3={relatedConcepts:[{module:"ARIA",concept:{name:"menuitemcheckbox"}}],type:"widget"},S3=C3;Yc.default=S3});var bS=A(Jc=>{"use strict";Object.defineProperty(Jc,"__esModule",{value:!0});Jc.default=void 0;var E3={relatedConcepts:[{module:"ARIA",concept:{name:"menuitemradio"}}],type:"widget"},T3=E3;Jc.default=T3});var vS=A(Qc=>{"use strict";Object.defineProperty(Qc,"__esModule",{value:!0});Qc.default=void 0;var A3={relatedConcepts:[],type:"widget"},P3=A3;Qc.default=P3});var yS=A(Zc=>{"use strict";Object.defineProperty(Zc,"__esModule",{value:!0});Zc.default=void 0;var R3={relatedConcepts:[],type:"widget"},$3=R3;Zc.default=$3});var gS=A(ep=>{"use strict";Object.defineProperty(ep,"__esModule",{value:!0});ep.default=void 0;var I3={relatedConcepts:[{module:"ARIA",concept:{name:"menu"}},{module:"HTML",concept:{name:"menu"}}],type:"structure"},q3=I3;ep.default=q3});var xS=A(tp=>{"use strict";Object.defineProperty(tp,"__esModule",{value:!0});tp.default=void 0;var M3={relatedConcepts:[{module:"HTML",concept:{name:"meter"}}],type:"structure"},L3=M3;tp.default=L3});var wS=A(rp=>{"use strict";Object.defineProperty(rp,"__esModule",{value:!0});rp.default=void 0;var N3={relatedConcepts:[{module:"ARIA",concept:{name:"navigation"}},{module:"HTML",concept:{name:"nav"}}],type:"structure"},O3=N3;rp.default=O3});var kS=A(ip=>{"use strict";Object.defineProperty(ip,"__esModule",{value:!0});ip.default=void 0;var D3={relatedConcepts:[{module:"ARIA",concept:{name:"none"}}],type:"structure"},B3=D3;ip.default=B3});var CS=A(sp=>{"use strict";Object.defineProperty(sp,"__esModule",{value:!0});sp.default=void 0;var j3={relatedConcepts:[{module:"ARIA",concept:{name:"note"}}],type:"structure"},F3=j3;sp.default=F3});var SS=A(ap=>{"use strict";Object.defineProperty(ap,"__esModule",{value:!0});ap.default=void 0;var V3={relatedConcepts:[],type:"structure"},U3=V3;ap.default=U3});var ES=A(np=>{"use strict";Object.defineProperty(np,"__esModule",{value:!0});np.default=void 0;var H3={relatedConcepts:[{module:"HTML",concept:{name:"p"}}],type:"structure"},z3=H3;np.default=z3});var TS=A(op=>{"use strict";Object.defineProperty(op,"__esModule",{value:!0});op.default=void 0;var G3={relatedConcepts:[],type:"widget"},W3=G3;op.default=W3});var AS=A(lp=>{"use strict";Object.defineProperty(lp,"__esModule",{value:!0});lp.default=void 0;var K3={relatedConcepts:[{module:"HTML",concept:{name:"pre"}}],type:"structure"},X3=K3;lp.default=X3});var PS=A(up=>{"use strict";Object.defineProperty(up,"__esModule",{value:!0});up.default=void 0;var Y3={relatedConcepts:[{module:"ARIA",concept:{name:"presentation"}}],type:"structure"},J3=Y3;up.default=J3});var RS=A(cp=>{"use strict";Object.defineProperty(cp,"__esModule",{value:!0});cp.default=void 0;var Q3={relatedConcepts:[{module:"ARIA",concept:{name:"progressbar"}},{module:"HTML",concept:{name:"progress"}}],type:"structure"},Z3=Q3;cp.default=Z3});var $S=A(pp=>{"use strict";Object.defineProperty(pp,"__esModule",{value:!0});pp.default=void 0;var eD={relatedConcepts:[{module:"ARIA",concept:{name:"radio"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"radio"}]}}],type:"widget"},tD=eD;pp.default=tD});var IS=A(dp=>{"use strict";Object.defineProperty(dp,"__esModule",{value:!0});dp.default=void 0;var rD={relatedConcepts:[{module:"ARIA",concept:{name:"radiogroup"}}],type:"structure"},iD=rD;dp.default=iD});var qS=A(fp=>{"use strict";Object.defineProperty(fp,"__esModule",{value:!0});fp.default=void 0;var sD={relatedConcepts:[{module:"ARIA",concept:{name:"region"}}],type:"structure"},aD=sD;fp.default=aD});var MS=A(mp=>{"use strict";Object.defineProperty(mp,"__esModule",{value:!0});mp.default=void 0;var nD={relatedConcepts:[],type:"structure"},oD=nD;mp.default=oD});var LS=A(hp=>{"use strict";Object.defineProperty(hp,"__esModule",{value:!0});hp.default=void 0;var lD={relatedConcepts:[{module:"ARIA",concept:{name:"rowheader"}},{module:"HTML",concept:{name:"th",attributes:[{name:"scope",value:"row"}]}}],type:"widget"},uD=lD;hp.default=uD});var NS=A(_p=>{"use strict";Object.defineProperty(_p,"__esModule",{value:!0});_p.default=void 0;var cD={relatedConcepts:[{module:"ARIA",concept:{name:"row"}},{module:"HTML",concept:{name:"tr"}}],type:"structure"},pD=cD;_p.default=pD});var OS=A(bp=>{"use strict";Object.defineProperty(bp,"__esModule",{value:!0});bp.default=void 0;var dD={relatedConcepts:[{module:"HTML",concept:{name:"ruby"}}],type:"structure"},fD=dD;bp.default=fD});var DS=A(vp=>{"use strict";Object.defineProperty(vp,"__esModule",{value:!0});vp.default=void 0;var mD={relatedConcepts:[],type:"structure"},hD=mD;vp.default=hD});var BS=A(yp=>{"use strict";Object.defineProperty(yp,"__esModule",{value:!0});yp.default=void 0;var _D={relatedConcepts:[],type:"structure"},bD=_D;yp.default=bD});var jS=A(gp=>{"use strict";Object.defineProperty(gp,"__esModule",{value:!0});gp.default=void 0;var vD={relatedConcepts:[{module:"ARIA",concept:{name:"scrollbar"}}],type:"widget"},yD=vD;gp.default=yD});var FS=A(xp=>{"use strict";Object.defineProperty(xp,"__esModule",{value:!0});xp.default=void 0;var gD={relatedConcepts:[],type:"structure"},xD=gD;xp.default=xD});var VS=A(wp=>{"use strict";Object.defineProperty(wp,"__esModule",{value:!0});wp.default=void 0;var wD={relatedConcepts:[{module:"ARIA",concept:{name:"search"}}],type:"structure"},kD=wD;wp.default=kD});var US=A(kp=>{"use strict";Object.defineProperty(kp,"__esModule",{value:!0});kp.default=void 0;var CD={relatedConcepts:[{module:"ARIA",concept:{name:"searchbox"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"search"}]}}],type:"widget"},SD=CD;kp.default=SD});var HS=A(Cp=>{"use strict";Object.defineProperty(Cp,"__esModule",{value:!0});Cp.default=void 0;var ED={relatedConcepts:[{module:"ARIA",concept:{name:"slider"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"range"}]}}],type:"widget"},TD=ED;Cp.default=TD});var zS=A(Sp=>{"use strict";Object.defineProperty(Sp,"__esModule",{value:!0});Sp.default=void 0;var AD={relatedConcepts:[],type:"structure"},PD=AD;Sp.default=PD});var GS=A(Ep=>{"use strict";Object.defineProperty(Ep,"__esModule",{value:!0});Ep.default=void 0;var RD={relatedConcepts:[{module:"ARIA",concept:{name:"spinbutton"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"number"}]}}],type:"widget"},$D=RD;Ep.default=$D});var WS=A(Tp=>{"use strict";Object.defineProperty(Tp,"__esModule",{value:!0});Tp.default=void 0;var ID={relatedConcepts:[],type:"structure"},qD=ID;Tp.default=qD});var KS=A(Ap=>{"use strict";Object.defineProperty(Ap,"__esModule",{value:!0});Ap.default=void 0;var MD={relatedConcepts:[{module:"ARIA",concept:{name:"separator"}}],type:"widget"},LD=MD;Ap.default=LD});var XS=A(Pp=>{"use strict";Object.defineProperty(Pp,"__esModule",{value:!0});Pp.default=void 0;var ND={relatedConcepts:[],type:"structure"},OD=ND;Pp.default=OD});var YS=A(Rp=>{"use strict";Object.defineProperty(Rp,"__esModule",{value:!0});Rp.default=void 0;var DD={relatedConcepts:[{module:"ARIA",concept:{name:"status"}}],type:"structure"},BD=DD;Rp.default=BD});var JS=A($p=>{"use strict";Object.defineProperty($p,"__esModule",{value:!0});$p.default=void 0;var jD={relatedConcepts:[],type:"structure"},FD=jD;$p.default=FD});var QS=A(Ip=>{"use strict";Object.defineProperty(Ip,"__esModule",{value:!0});Ip.default=void 0;var VD={relatedConcepts:[{module:"ARIA",concept:{name:"switch"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"checkbox"}]}}],type:"widget"},UD=VD;Ip.default=UD});var ZS=A(qp=>{"use strict";Object.defineProperty(qp,"__esModule",{value:!0});qp.default=void 0;var HD={relatedConcepts:[{module:"ARIA",concept:{name:"tablist"}}],type:"structure"},zD=HD;qp.default=zD});var eE=A(Mp=>{"use strict";Object.defineProperty(Mp,"__esModule",{value:!0});Mp.default=void 0;var GD={relatedConcepts:[{module:"ARIA",concept:{name:"tab"}}],type:"widget"},WD=GD;Mp.default=WD});var tE=A(Lp=>{"use strict";Object.defineProperty(Lp,"__esModule",{value:!0});Lp.default=void 0;var KD={relatedConcepts:[],type:"structure"},XD=KD;Lp.default=XD});var rE=A(Np=>{"use strict";Object.defineProperty(Np,"__esModule",{value:!0});Np.default=void 0;var YD={relatedConcepts:[{module:"ARIA",concept:{name:"table"}},{module:"HTML",concept:{name:"table"}}],type:"structure"},JD=YD;Np.default=JD});var iE=A(Op=>{"use strict";Object.defineProperty(Op,"__esModule",{value:!0});Op.default=void 0;var QD={relatedConcepts:[{module:"ARIA",concept:{name:"tablist"}}],type:"structure"},ZD=QD;Op.default=ZD});var sE=A(Dp=>{"use strict";Object.defineProperty(Dp,"__esModule",{value:!0});Dp.default=void 0;var e7={relatedConcepts:[{module:"ARIA",concept:{name:"tabpanel"}}],type:"structure"},t7=e7;Dp.default=t7});var aE=A(Bp=>{"use strict";Object.defineProperty(Bp,"__esModule",{value:!0});Bp.default=void 0;var r7={relatedConcepts:[{module:"ARIA",concept:{name:"term"}}],type:"structure"},i7=r7;Bp.default=i7});var nE=A(jp=>{"use strict";Object.defineProperty(jp,"__esModule",{value:!0});jp.default=void 0;var s7={relatedConcepts:[{module:"ARIA",concept:{attributes:[{name:"aria-multiline",value:"true"}],name:"textbox"}},{module:"HTML",concept:{name:"textarea"}}],type:"widget"},a7=s7;jp.default=a7});var oE=A(Fp=>{"use strict";Object.defineProperty(Fp,"__esModule",{value:!0});Fp.default=void 0;var n7={relatedConcepts:[{module:"ARIA",concept:{name:"textbox"}},{module:"HTML",concept:{name:"input"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"text"}]}}],type:"widget"},o7=n7;Fp.default=o7});var lE=A(Vp=>{"use strict";Object.defineProperty(Vp,"__esModule",{value:!0});Vp.default=void 0;var l7={relatedConcepts:[{module:"HTML",concept:{name:"time"}}],type:"structure"},u7=l7;Vp.default=u7});var uE=A(Up=>{"use strict";Object.defineProperty(Up,"__esModule",{value:!0});Up.default=void 0;var c7={relatedConcepts:[{module:"ARIA",concept:{name:"timer"}}],type:"structure"},p7=c7;Up.default=p7});var cE=A(Hp=>{"use strict";Object.defineProperty(Hp,"__esModule",{value:!0});Hp.default=void 0;var d7={relatedConcepts:[{module:"ARIA",concept:{attributes:[{name:"aria-pressed"}]}}],type:"widget"},f7=d7;Hp.default=f7});var pE=A(zp=>{"use strict";Object.defineProperty(zp,"__esModule",{value:!0});zp.default=void 0;var m7={relatedConcepts:[{module:"ARIA",concept:{name:"toolbar"}}],type:"structure"},h7=m7;zp.default=h7});var dE=A(Gp=>{"use strict";Object.defineProperty(Gp,"__esModule",{value:!0});Gp.default=void 0;var _7={relatedConcepts:[{module:"ARIA",concept:{name:"tree"}}],type:"widget"},b7=_7;Gp.default=b7});var fE=A(Wp=>{"use strict";Object.defineProperty(Wp,"__esModule",{value:!0});Wp.default=void 0;var v7={relatedConcepts:[{module:"ARIA",concept:{name:"treegrid"}}],type:"widget"},y7=v7;Wp.default=y7});var mE=A(Kp=>{"use strict";Object.defineProperty(Kp,"__esModule",{value:!0});Kp.default=void 0;var g7={relatedConcepts:[{module:"ARIA",concept:{name:"treeitem"}}],type:"widget"},x7=g7;Kp.default=x7});var hE=A(Xp=>{"use strict";Object.defineProperty(Xp,"__esModule",{value:!0});Xp.default=void 0;var w7={relatedConcepts:[{module:"ARIA",concept:{name:"tooltip"}}],type:"structure"},k7=w7;Xp.default=k7});var _E=A(Yp=>{"use strict";Object.defineProperty(Yp,"__esModule",{value:!0});Yp.default=void 0;var C7={relatedConcepts:[{module:"HTML",concept:{name:"video"}}],type:"widget"},S7=C7;Yp.default=S7});var bE=A(Jp=>{"use strict";Object.defineProperty(Jp,"__esModule",{value:!0});Jp.default=void 0;var E7={relatedConcepts:[],type:"structure"},T7=E7;Jp.default=T7});var vE=A(Qp=>{"use strict";Object.defineProperty(Qp,"__esModule",{value:!0});Qp.default=void 0;var A7={relatedConcepts:[],type:"window"},P7=A7;Qp.default=P7});var ha=A(Zp=>{"use strict";Object.defineProperty(Zp,"__esModule",{value:!0});Zp.default=void 0;var R7=j(ma()),$7=j(iC()),I7=j(sC()),q7=j(aC()),M7=j(nC()),L7=j(oC()),N7=j(lC()),O7=j(uC()),D7=j(cC()),B7=j(pC()),j7=j(dC()),F7=j(fC()),V7=j(mC()),U7=j(hC()),H7=j(_C()),z7=j(bC()),G7=j(vC()),W7=j(yC()),K7=j(gC()),X7=j(xC()),Y7=j(wC()),J7=j(kC()),Q7=j(CC()),Z7=j(SC()),e5=j(EC()),t5=j(TC()),r5=j(AC()),i5=j(PC()),s5=j(RC()),a5=j($C()),n5=j(IC()),o5=j(qC()),l5=j(MC()),u5=j(LC()),c5=j(NC()),p5=j(OC()),d5=j(DC()),f5=j(BC()),m5=j(jC()),h5=j(FC()),_5=j(VC()),b5=j(UC()),v5=j(HC()),y5=j(zC()),g5=j(GC()),x5=j(WC()),w5=j(KC()),k5=j(XC()),C5=j(YC()),S5=j(JC()),E5=j(QC()),T5=j(ZC()),A5=j(eS()),P5=j(tS()),R5=j(rS()),$5=j(iS()),I5=j(sS()),q5=j(aS()),M5=j(nS()),L5=j(oS()),N5=j(lS()),O5=j(uS()),D5=j(cS()),B5=j(pS()),j5=j(dS()),F5=j(fS()),V5=j(mS()),U5=j(hS()),H5=j(_S()),z5=j(bS()),G5=j(vS()),W5=j(yS()),K5=j(gS()),X5=j(xS()),Y5=j(wS()),J5=j(kS()),Q5=j(CS()),Z5=j(SS()),e4=j(ES()),t4=j(TS()),r4=j(AS()),i4=j(PS()),s4=j(RS()),a4=j($S()),n4=j(IS()),o4=j(qS()),l4=j(MS()),u4=j(LS()),c4=j(NS()),p4=j(OS()),d4=j(DS()),f4=j(BS()),m4=j(jS()),h4=j(FS()),_4=j(VS()),b4=j(US()),v4=j(HS()),y4=j(zS()),g4=j(GS()),x4=j(WS()),w4=j(KS()),k4=j(XS()),C4=j(YS()),S4=j(JS()),E4=j(QS()),T4=j(ZS()),A4=j(eE()),P4=j(tE()),R4=j(rE()),$4=j(iE()),I4=j(sE()),q4=j(aE()),M4=j(nE()),L4=j(oE()),N4=j(lE()),O4=j(uE()),D4=j(cE()),B4=j(pE()),j4=j(dE()),F4=j(fE()),V4=j(mE()),U4=j(hE()),H4=j(_E()),z4=j(bE()),G4=j(vE());function j(e){return e&&e.__esModule?e:{default:e}}function Jm(e,t){return Y4(e)||X4(e,t)||K4(e,t)||W4()}function W4(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
8
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function K4(e,t){if(e){if(typeof e=="string")return yE(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return yE(e,t)}}function yE(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r<t;r++)i[r]=e[r];return i}function X4(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var i=[],s=!0,a=!1,n,u;try{for(r=r.call(e);!(s=(n=r.next()).done)&&(i.push(n.value),!(t&&i.length===t));s=!0);}catch(p){a=!0,u=p}finally{try{!s&&r.return!=null&&r.return()}finally{if(a)throw u}}return i}}function Y4(e){if(Array.isArray(e))return e}var gs=[["AbbrRole",$7.default],["AlertDialogRole",I7.default],["AlertRole",q7.default],["AnnotationRole",M7.default],["ApplicationRole",L7.default],["ArticleRole",N7.default],["AudioRole",O7.default],["BannerRole",D7.default],["BlockquoteRole",B7.default],["BusyIndicatorRole",j7.default],["ButtonRole",F7.default],["CanvasRole",V7.default],["CaptionRole",U7.default],["CellRole",H7.default],["CheckBoxRole",z7.default],["ColorWellRole",G7.default],["ColumnHeaderRole",W7.default],["ColumnRole",K7.default],["ComboBoxRole",X7.default],["ComplementaryRole",Y7.default],["ContentInfoRole",J7.default],["DateRole",Q7.default],["DateTimeRole",Z7.default],["DefinitionRole",e5.default],["DescriptionListDetailRole",t5.default],["DescriptionListRole",r5.default],["DescriptionListTermRole",i5.default],["DetailsRole",s5.default],["DialogRole",a5.default],["DirectoryRole",n5.default],["DisclosureTriangleRole",o5.default],["DivRole",l5.default],["DocumentRole",u5.default],["EmbeddedObjectRole",c5.default],["FeedRole",p5.default],["FigcaptionRole",d5.default],["FigureRole",f5.default],["FooterRole",m5.default],["FormRole",h5.default],["GridRole",_5.default],["GroupRole",b5.default],["HeadingRole",v5.default],["IframePresentationalRole",y5.default],["IframeRole",g5.default],["IgnoredRole",x5.default],["ImageMapLinkRole",w5.default],["ImageMapRole",k5.default],["ImageRole",C5.default],["InlineTextBoxRole",S5.default],["InputTimeRole",E5.default],["LabelRole",T5.default],["LegendRole",A5.default],["LineBreakRole",P5.default],["LinkRole",R5.default],["ListBoxOptionRole",$5.default],["ListBoxRole",I5.default],["ListItemRole",q5.default],["ListMarkerRole",M5.default],["ListRole",L5.default],["LogRole",N5.default],["MainRole",O5.default],["MarkRole",D5.default],["MarqueeRole",B5.default],["MathRole",j5.default],["MenuBarRole",F5.default],["MenuButtonRole",V5.default],["MenuItemRole",U5.default],["MenuItemCheckBoxRole",H5.default],["MenuItemRadioRole",z5.default],["MenuListOptionRole",G5.default],["MenuListPopupRole",W5.default],["MenuRole",K5.default],["MeterRole",X5.default],["NavigationRole",Y5.default],["NoneRole",J5.default],["NoteRole",Q5.default],["OutlineRole",Z5.default],["ParagraphRole",e4.default],["PopUpButtonRole",t4.default],["PreRole",r4.default],["PresentationalRole",i4.default],["ProgressIndicatorRole",s4.default],["RadioButtonRole",a4.default],["RadioGroupRole",n4.default],["RegionRole",o4.default],["RootWebAreaRole",l4.default],["RowHeaderRole",u4.default],["RowRole",c4.default],["RubyRole",p4.default],["RulerRole",d4.default],["ScrollAreaRole",f4.default],["ScrollBarRole",m4.default],["SeamlessWebAreaRole",h4.default],["SearchRole",_4.default],["SearchBoxRole",b4.default],["SliderRole",v4.default],["SliderThumbRole",y4.default],["SpinButtonRole",g4.default],["SpinButtonPartRole",x4.default],["SplitterRole",w4.default],["StaticTextRole",k4.default],["StatusRole",C4.default],["SVGRootRole",S4.default],["SwitchRole",E4.default],["TabGroupRole",T4.default],["TabRole",A4.default],["TableHeaderContainerRole",P4.default],["TableRole",R4.default],["TabListRole",$4.default],["TabPanelRole",I4.default],["TermRole",q4.default],["TextAreaRole",M4.default],["TextFieldRole",L4.default],["TimeRole",N4.default],["TimerRole",O4.default],["ToggleButtonRole",D4.default],["ToolbarRole",B4.default],["TreeRole",j4.default],["TreeGridRole",F4.default],["TreeItemRole",V4.default],["UserInterfaceTooltipRole",U4.default],["VideoRole",H4.default],["WebAreaRole",z4.default],["WindowRole",G4.default]],Qm={entries:function(){return gs},forEach:function(t){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,i=0,s=gs;i<s.length;i++){var a=Jm(s[i],2),n=a[0],u=a[1];t.call(r,u,n,gs)}},get:function(t){var r=gs.find(function(i){return i[0]===t});return r&&r[1]},has:function(t){return!!Qm.get(t)},keys:function(){return gs.map(function(t){var r=Jm(t,1),i=r[0];return i})},values:function(){return gs.map(function(t){var r=Jm(t,2),i=r[1];return i})}},J4=(0,R7.default)(Qm,Qm.entries());Zp.default=J4});var SE=A(td=>{"use strict";Object.defineProperty(td,"__esModule",{value:!0});td.default=void 0;var Q4=kE(ma()),Z4=kE(ha());function kE(e){return e&&e.__esModule?e:{default:e}}function _a(e,t){return rB(e)||tB(e,t)||CE(e,t)||eB()}function eB(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
9
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function tB(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var i=[],s=!0,a=!1,n,u;try{for(r=r.call(e);!(s=(n=r.next()).done)&&(i.push(n.value),!(t&&i.length===t));s=!0);}catch(p){a=!0,u=p}finally{try{!s&&r.return!=null&&r.return()}finally{if(a)throw u}}return i}}function rB(e){if(Array.isArray(e))return e}function iB(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=CE(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var i=0,s=function(){};return{s,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(d){throw d},f:s}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
10
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,n=!1,u;return{s:function(){r=r.call(e)},n:function(){var d=r.next();return a=d.done,d},e:function(d){n=!0,u=d},f:function(){try{!a&&r.return!=null&&r.return()}finally{if(n)throw u}}}}function CE(e,t){if(e){if(typeof e=="string")return gE(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return gE(e,t)}}function gE(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r<t;r++)i[r]=e[r];return i}var mr=[],ed=iB(Z4.default.entries()),xE;try{for(wE=function(){var t=_a(xE.value,2),r=t[0],i=t[1],s=i.relatedConcepts;Array.isArray(s)&&s.forEach(function(a){if(a.module==="HTML"){var n=a.concept;if(n){var u=mr.findIndex(function(p){var d=_a(p,1),f=d[0];return f===r});u===-1&&(mr.push([r,[]]),u=mr.length-1),mr[u][1].push(n)}}})},ed.s();!(xE=ed.n()).done;)wE()}catch(e){ed.e(e)}finally{ed.f()}var wE,Zm={entries:function(){return mr},forEach:function(t){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,i=0,s=mr;i<s.length;i++){var a=_a(s[i],2),n=a[0],u=a[1];t.call(r,u,n,mr)}},get:function(t){var r=mr.find(function(i){return i[0]===t});return r&&r[1]},has:function(t){return!!Zm.get(t)},keys:function(){return mr.map(function(t){var r=_a(t,1),i=r[0];return i})},values:function(){return mr.map(function(t){var r=_a(t,2),i=r[1];return i})}},sB=(0,Q4.default)(Zm,Zm.entries());td.default=sB});var $E=A(id=>{"use strict";Object.defineProperty(id,"__esModule",{value:!0});id.default=void 0;var aB=PE(ma()),nB=PE(ha());function PE(e){return e&&e.__esModule?e:{default:e}}function ba(e,t){return uB(e)||lB(e,t)||RE(e,t)||oB()}function oB(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
11
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function lB(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var i=[],s=!0,a=!1,n,u;try{for(r=r.call(e);!(s=(n=r.next()).done)&&(i.push(n.value),!(t&&i.length===t));s=!0);}catch(p){a=!0,u=p}finally{try{!s&&r.return!=null&&r.return()}finally{if(a)throw u}}return i}}function uB(e){if(Array.isArray(e))return e}function cB(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=RE(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var i=0,s=function(){};return{s,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(d){throw d},f:s}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
12
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,n=!1,u;return{s:function(){r=r.call(e)},n:function(){var d=r.next();return a=d.done,d},e:function(d){n=!0,u=d},f:function(){try{!a&&r.return!=null&&r.return()}finally{if(n)throw u}}}}function RE(e,t){if(e){if(typeof e=="string")return EE(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return EE(e,t)}}function EE(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r<t;r++)i[r]=e[r];return i}var hr=[],rd=cB(nB.default.entries()),TE;try{for(AE=function(){var t=ba(TE.value,2),r=t[0],i=t[1],s=i.relatedConcepts;Array.isArray(s)&&s.forEach(function(a){if(a.module==="ARIA"){var n=a.concept;if(n){var u=hr.findIndex(function(p){var d=ba(p,1),f=d[0];return f===r});u===-1&&(hr.push([r,[]]),u=hr.length-1),hr[u][1].push(n)}}})},rd.s();!(TE=rd.n()).done;)AE()}catch(e){rd.e(e)}finally{rd.f()}var AE,eh={entries:function(){return hr},forEach:function(t){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,i=0,s=hr;i<s.length;i++){var a=ba(s[i],2),n=a[0],u=a[1];t.call(r,u,n,hr)}},get:function(t){var r=hr.find(function(i){return i[0]===t});return r&&r[1]},has:function(t){return!!eh.get(t)},keys:function(){return hr.map(function(t){var r=ba(t,1),i=r[0];return i})},values:function(){return hr.map(function(t){var r=ba(t,2),i=r[1];return i})}},pB=(0,aB.default)(eh,eh.entries());id.default=pB});var OE=A(nd=>{"use strict";Object.defineProperty(nd,"__esModule",{value:!0});nd.default=void 0;var dB=LE(ha()),fB=LE(ma());function LE(e){return e&&e.__esModule?e:{default:e}}function ad(e,t){return _B(e)||hB(e,t)||NE(e,t)||mB()}function mB(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
13
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function hB(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var i=[],s=!0,a=!1,n,u;try{for(r=r.call(e);!(s=(n=r.next()).done)&&(i.push(n.value),!(t&&i.length===t));s=!0);}catch(p){a=!0,u=p}finally{try{!s&&r.return!=null&&r.return()}finally{if(a)throw u}}return i}}function _B(e){if(Array.isArray(e))return e}function bB(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=NE(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var i=0,s=function(){};return{s,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(d){throw d},f:s}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
14
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,n=!1,u;return{s:function(){r=r.call(e)},n:function(){var d=r.next();return a=d.done,d},e:function(d){n=!0,u=d},f:function(){try{!a&&r.return!=null&&r.return()}finally{if(n)throw u}}}}function NE(e,t){if(e){if(typeof e=="string")return IE(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return IE(e,t)}}function IE(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r<t;r++)i[r]=e[r];return i}var Dt=[],sd=bB(dB.default.entries()),qE;try{for(ME=function(){var t=ad(qE.value,2),r=t[0],i=t[1],s=i.relatedConcepts;Array.isArray(s)&&s.forEach(function(a){if(a.module==="HTML"){var n=a.concept;if(n!=null){for(var u=JSON.stringify(n),p,d=0;d<Dt.length;d++){var f=Dt[d][0];if(JSON.stringify(f)===u){p=Dt[d][1];break}}Array.isArray(p)||(p=[]);var h=p.findIndex(function(_){return _===r});h===-1&&p.push(r),d<Dt.length?Dt.splice(d,1,[n,p]):Dt.push([n,p])}}})},sd.s();!(qE=sd.n()).done;)ME()}catch(e){sd.e(e)}finally{sd.f()}var ME;function vB(e,t){if(e===void 0&&t!==void 0||e!==void 0&&t===void 0)return!1;if(e!==void 0&&t!==void 0){if(e.length!=t.length)return!1;for(var r=0;r<e.length;r++)if(t[r].name!==e[r].name||t[r].value!==e[r].value)return!1}return!0}var th={entries:function(){return Dt},forEach:function(t){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,i=0,s=Dt;i<s.length;i++){var a=ad(s[i],2),n=a[0],u=a[1];t.call(r,u,n,Dt)}},get:function(t){var r=Dt.find(function(i){return t.name===i[0].name&&vB(t.attributes,i[0].attributes)});return r&&r[1]},has:function(t){return!!th.get(t)},keys:function(){return Dt.map(function(t){var r=ad(t,1),i=r[0];return i})},values:function(){return Dt.map(function(t){var r=ad(t,2),i=r[1];return i})}},yB=(0,fB.default)(th,th.entries());nd.default=yB});var rh=A(_r=>{"use strict";Object.defineProperty(_r,"__esModule",{value:!0});_r.elementAXObjects=_r.AXObjects=_r.AXObjectRoles=_r.AXObjectElements=void 0;var gB=od(SE()),xB=od($E()),wB=od(ha()),kB=od(OE());function od(e){return e&&e.__esModule?e:{default:e}}var CB=gB.default;_r.AXObjectElements=CB;var SB=xB.default;_r.AXObjectRoles=SB;var EB=wB.default;_r.AXObjects=EB;var TB=kB.default;_r.elementAXObjects=TB});var HT=A((Rh,$h)=>{(function(e,t){typeof Rh=="object"&&typeof $h<"u"?$h.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis<"u"?globalThis:e||self,e.resolveURI=t())})(Rh,(function(){"use strict";let e=/^[\w+.-]+:\/\//,t=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,r=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function i(o){return e.test(o)}function s(o){return o.startsWith("//")}function a(o){return o.startsWith("/")}function n(o){return o.startsWith("file:")}function u(o){return/^[.?#]/.test(o)}function p(o){let l=t.exec(o);return f(l[1],l[2]||"",l[3],l[4]||"",l[5]||"/",l[6]||"",l[7]||"")}function d(o){let l=r.exec(o),y=l[2];return f("file:","",l[1]||"","",a(y)?y:"/"+y,l[3]||"",l[4]||"")}function f(o,l,y,x,T,P,q){return{scheme:o,user:l,host:y,port:x,path:T,query:P,hash:q,type:7}}function h(o){if(s(o)){let y=p("http:"+o);return y.scheme="",y.type=6,y}if(a(o)){let y=p("http://foo.com"+o);return y.scheme="",y.host="",y.type=5,y}if(n(o))return d(o);if(i(o))return p(o);let l=p("http://foo.com/"+o);return l.scheme="",l.host="",l.type=o?o.startsWith("?")?3:o.startsWith("#")?2:4:1,l}function _(o){if(o.endsWith("/.."))return o;let l=o.lastIndexOf("/");return o.slice(0,l+1)}function g(o,l){E(l,l.type),o.path==="/"?o.path=l.path:o.path=_(l.path)+o.path}function E(o,l){let y=l<=4,x=o.path.split("/"),T=1,P=0,q=!1;for(let F=1;F<x.length;F++){let ne=x[F];if(!ne){q=!0;continue}if(q=!1,ne!=="."){if(ne===".."){P?(q=!0,P--,T--):y&&(x[T++]=ne);continue}x[T++]=ne,P++}}let N="";for(let F=1;F<T;F++)N+="/"+x[F];(!N||q&&!N.endsWith("/.."))&&(N+="/"),o.path=N}function S(o,l){if(!o&&!l)return"";let y=h(o),x=y.type;if(l&&x!==7){let P=h(l),q=P.type;switch(x){case 1:y.hash=P.hash;case 2:y.query=P.query;case 3:case 4:g(y,P);case 5:y.user=P.user,y.host=P.host,y.port=P.port;case 6:y.scheme=P.scheme}q>x&&(x=q)}E(y,x);let T=y.query+y.hash;switch(x){case 2:case 3:return T;case 4:{let P=y.path.slice(1);return P?u(l||o)&&!u(P)?"./"+P+T:P+T:T||"."}case 5:return y.path+T;default:return y.scheme+"//"+y.user+y.host+y.port+y.path+T}}return S}))});function oe(e,t,r){let i=r._,s=!1,a=()=>{s=!0};function n(p,d,f){let h=null;d.push(p);for(let _ in p){if(_==="type"||_==="__proto__")continue;let g=p[_];if(g&&typeof g=="object")if(Array.isArray(g)){let E=null,S=g.length;for(let o=0;o<S;o++){let l=g[o];if(l&&typeof l=="object"){let y=u(l,d,f);y&&((E??=g.slice())[o]=y)}}E&&((h??={})[_]=E)}else{let E=u(g,d,f);E&&((h??={})[_]=E)}}if(d.pop(),h)return PR(p,h)}function u(p,d,f){if(s||!p.type)return;let h=r[p.type];if(!i&&!h)return n(p,d,f);let _,g,E=(o=f)=>g=n(p,d,o),S=(o,l=f)=>{d.push(p);let y=u(o,d,l)??o;return d.pop(),y};if(i){let o;_=i(p,{path:d,state:f,next:(l=f)=>(f=l,o=h?h(p,{path:d,state:l,next:E,stop:a,visit:S}):E(l),o),stop:a,visit:S}),!_&&o&&(_=o)}else _=h(p,{path:d,state:f,next:E,stop:a,visit:S});if(!_&&g&&(_=g),_)return _}return u(e,[],t)??e}function PR(e,t){let r={},i=Object.getOwnPropertyDescriptors(e);for(let s in i)Object.defineProperty(r,s,i[s]);for(let s in t)r[s]=t[s];return r}var Aa=/\s+/,hi=/^\r?\n/,r_=/^\s/,_i=/^[ \t\r\n]+/,Hd=/\s$/,Fr=/[ \t\r\n]+$/,sr=/[^ \t\r\n]/,zd=/[ \t\n\r\f]+/g,i_=/^[ \t\n\r\f]+$/,Pa=/[^\n]/g,Ms=/^[a-zA-Z_$][a-zA-Z_$0-9]*$/,s_=/(^[^a-zA-Z_$]|[^a-zA-Z0-9_$])/g,a_=/^[aeiou]/,n_=/^h[1-6]$/,o_=/(^[0-9-.])|[\^$@%&#?!|()[\]{}^*+~;]/,bi=/[\u202a\u202b\u202c\u202d\u202e\u2066\u2067\u2068\u2069]+/g,l_=/^\W*javascript:/i,u_=/\b(image|picture|photo)\b/i;var Ra="http://www.w3.org/2000/svg",$a="http://www.w3.org/1998/Math/MathML",c_=["await_waterfall","await_reactivity_loss","state_snapshot_uncloneable","binding_property_non_reactive","hydration_attribute_changed","hydration_html_changed","ownership_invalid_binding","ownership_invalid_mutation"];function Vr(e,t){if(t.length===0)return null;let i=new Kd(t).get(e);return i&&i[0][0]>.7?i[0][1]:null}var Gd=2,Wd=3;function RR(e,t){if(e===null&&t===null)throw"Trying to compare two null values";return e===null||t===null?0:(e=String(e),t=String(t),1-$R(e,t)/Math.max(e.length,t.length))}function $R(e,t){let r=[],i=0;for(let s=0;s<=t.length;s++)for(let a=0;a<=e.length;a++){let n;s&&a?e.charAt(a-1)===t.charAt(s-1)?n=i:n=Math.min(r[a],r[a-1],i)+1:n=s+a,i=r[a],r[a]=n}return r.pop()}var IR=/[^\w, ]+/;function qR(e,t=2){let r="-"+e.toLowerCase().replace(IR,"")+"-",i=t-r.length,s=[];if(i>0)for(let a=0;a<i;++a)e+="-";for(let a=0;a<r.length-t+1;++a)s.push(r.slice(a,a+t));return s}function p_(e,t=2){let r={},i=qR(e,t),s=0;for(s;s<i.length;++s)i[s]in r?r[i[s]]+=1:r[i[s]]=1;return r}function d_(e,t){return t[0]-e[0]}var Kd=class{exact_set={};match_dict={};items={};constructor(t){for(let r=Gd;r<Wd+1;++r)this.items[r]=[];for(let r=0;r<t.length;++r)this.add(t[r])}add(t){if(t.toLowerCase()in this.exact_set)return!1;let i=Gd;for(i;i<Wd+1;++i)this._add(t,i)}_add(t,r){let i=t.toLowerCase(),s=this.items[r]||[],a=s.length;s.push(0);let n=p_(i,r),u=0,p,d;for(p in n)d=n[p],u+=Math.pow(d,2),p in this.match_dict?this.match_dict[p].push([a,d]):this.match_dict[p]=[[a,d]];let f=Math.sqrt(u);s[a]=[f,i],this.items[r]=s,this.exact_set[i]=t}get(t){let r=t.toLowerCase(),i=this.exact_set[r];if(i)return[[1,i]];for(let s=Wd;s>=Gd;--s){let a=this.__get(t,s);if(a.length>0)return a}return null}__get(t,r){let i=t.toLowerCase(),s={},a=p_(i,r),n=this.items[r],u=0,p,d,f,h,_;for(p in a)if(d=a[p],u+=Math.pow(d,2),p in this.match_dict)for(f=0;f<this.match_dict[p].length;++f)h=this.match_dict[p][f][0],_=this.match_dict[p][f][1],h in s?s[h]+=d*_:s[h]=d*_;let g=Math.sqrt(u),E=[],S;for(let y in s)S=s[y],E.push([S/(g*n[y][0]),n[y][1]]);E.sort(d_);let o=[],l=Math.min(50,E.length);for(let y=0;y<l;++y)o.push([RR(E[y][1],i),E[y][1]]);E=o,E.sort(d_),o=[];for(let y=0;y<E.length;++y)E[y][0]===E[0][0]&&o.push([E[y][0],this.exact_set[E[y][1]]]);return o}};function MR(e,t){return e.start<=t&&t<e.end}function Xd(e,t={}){let{offsetLine:r=0,offsetColumn:i=0}=t,s=0,a=e.split(`
|
|
15
|
+
`).map((p,d)=>{let f=s+p.length+1,h={start:s,end:f,line:d};return s=f,h}),n=0;function u(p,d){if(typeof p=="string"&&(p=e.indexOf(p,d??0)),p===-1)return;let f=a[n],h=p>=f.end?1:-1;for(;f;){if(MR(f,p))return{line:r+f.line,column:i+p-f.start,character:p};n+=h,f=a[n]}}return u}var LR=/\r/g;function Vi(e){e=e.replace(LR,"");let t=5381,r=e.length;for(;r--;)t=(t<<5)-t^e.charCodeAt(r);return(t>>>0).toString(36)}var NR=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"];function Vt(e){return NR.includes(e)||e.toLowerCase()==="!doctype"}var OR=["arguments","await","break","case","catch","class","const","continue","debugger","default","delete","do","else","enum","eval","export","extends","false","finally","for","function","if","implements","import","in","instanceof","interface","let","new","null","package","private","protected","public","return","static","super","switch","this","throw","true","try","typeof","var","void","while","with","yield"];function Ls(e){return OR.includes(e)}function f_(e){return e.endsWith("capture")&&e!=="gotpointercapture"&&e!=="lostpointercapture"}var DR=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function m_(e){return DR.includes(e)}var h_=["allowfullscreen","async","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","indeterminate","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected","webkitdirectory","defer","disablepictureinpicture","disableremoteplayback"];function Yd(e){return h_.includes(e)}var BR={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function Jd(e){return e=e.toLowerCase(),BR[e]??e}var jR=[...h_,"formNoValidate","isMap","noModule","playsInline","readOnly","value","volume","defaultValue","defaultChecked","srcObject","noValidate","allowFullscreen","disablePictureInPicture","disableRemotePlayback"];function __(e){return jR.includes(e)}var FR=["autofocus","muted","defaultValue","defaultChecked"];function Ui(e){return FR.includes(e)}var VR=["touchstart","touchmove"];function b_(e){return VR.includes(e)}var UR=["textContent","innerHTML","innerText"];function Hi(e){return UR.includes(e)}var HR=["body","embed","iframe","img","link","object","script","style","track"];function zi(e){return HR.includes(e)}var zR=["altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","discard","ellipse","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","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hatch","hatchpath","hkern","image","line","linearGradient","marker","mask","mesh","meshgradient","meshpatch","meshrow","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","solidcolor","stop","svg","switch","symbol","text","textPath","tref","tspan","unknown","use","view","vkern"];function Gi(e){return zR.includes(e)}var GR=["annotation","annotation-xml","maction","math","merror","mfrac","mi","mmultiscripts","mn","mo","mover","mpadded","mphantom","mprescripts","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msubsup","msup","mtable","mtd","mtext","mtr","munder","munderover","semantics"];function Qd(e){return GR.includes(e)}var v_=["$state","$state.raw","$derived","$derived.by"],WR=[...v_,"$state.eager","$state.snapshot","$props","$props.id","$bindable","$effect","$effect.pre","$effect.tracking","$effect.root","$effect.pending","$inspect","$inspect().with","$inspect.trace","$host"];function ar(e){return WR.includes(e)}function y_(e){return v_.includes(e)}var g_=/^[a-zA-Z][a-zA-Z0-9]*(-[a-zA-Z0-9.\-_\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u{10000}-\u{EFFFF}]*)?$/u;function x_(e){return e?.replace(/\//g,"/\u200B")}var Xi=[],Be,gr="(unknown)",Hr="<unknown>",Wi,Ia=[],H,qa=!1,Te;function Ma(e){Wi=e,Ia=Wi.split(`
|
|
16
|
+
`);let t=Xd(Wi,{offsetLine:1});Te=r=>{let i=t(r);if(!i)throw new Error("An impossible situation occurred");return i}}function vi(e){let t=Te(e.start);return`${x_(Be)}:${t?.line}:${t.column}`}var Zd,Ur=[],xr=new Map,Ki=null;function w_(){return Ki===null&&(Ki=Ur.map(e=>new Set(e))),Ki}function k_(e){let t=new Set([...Ur.at(-1)||[],...e]);Ur.push(t),Ki=null}function C_(){Ur.pop(),Ki=null}function Le(e,t){return H&&!!xr.get(e)?.some(r=>r.has(t))}function ef(e){H=!1,qa=!1,Hr=gr,Wi="",Ia=[],Be=(e.filename??gr).replace(/\\/g,"/"),Zd=e.warning??(()=>!0),Xi=[]}function S_(e){let t=e.rootDir?.replace(/\\/g,"/");H=e.dev,qa=e.runes,Hr=e.component_name??gr,typeof t=="string"&&Be.startsWith(t)&&(Be=Be.replace(t,"").replace(/^[/\\]/,"")),Ur=[],xr.clear(),Ki=null}var KR=/^\t+/;function tf(e){return e.replace(KR,t=>t.split(" ").join(" "))}function XR(e,t){let r=Ia,i=Math.max(0,e-2),s=Math.min(e+3,r.length),a=String(s+1).length;return r.slice(i,s).map((n,u)=>{let p=i+u===e,d=String(u+i+1).padStart(a," ");if(p){let f=" ".repeat(a+2+tf(n.slice(0,t)).length)+"^";return`${d}: ${tf(n)}
|
|
17
|
+
${f}`}return`${d}: ${tf(n)}`}).join(`
|
|
18
|
+
`)}var Yi=class{name="CompileDiagnostic";constructor(t,r,i){this.code=t,this.message=r,Be!==gr&&(this.filename=Be),i&&(this.position=i,this.start=Te(i[0]),this.end=Te(i[1]),this.start&&this.end&&(this.frame=XR(this.start.line-1,this.end.column)))}toString(){let t=`${this.code}: ${this.message}`;return this.filename&&(t+=`
|
|
19
|
+
${this.filename}`,this.start&&(t+=`:${this.start.line}:${this.start.column}`)),this.frame&&(t+=`
|
|
20
|
+
${this.frame}`),t}toJSON(){return{code:this.code,message:this.message,filename:this.filename,start:this.start,end:this.end,position:this.position,frame:this.frame}}};var rf=class extends Yi{name="CompileWarning";constructor(t,r,i){super(t,r,i)}};function Y(e,t,r){let i=Ur;if(e&&(i=xr.get(e)??Ur),i&&i.at(-1)?.has(t))return;let s=new rf(t,r,e&&e.start!==void 0?[e.start,e.end??e.start]:void 0);Zd(s)&&Xi.push(s)}var E_=["a11y_accesskey","a11y_aria_activedescendant_has_tabindex","a11y_aria_attributes","a11y_autocomplete_valid","a11y_autofocus","a11y_click_events_have_key_events","a11y_consider_explicit_label","a11y_distracting_elements","a11y_figcaption_index","a11y_figcaption_parent","a11y_hidden","a11y_img_redundant_alt","a11y_incorrect_aria_attribute_type","a11y_incorrect_aria_attribute_type_boolean","a11y_incorrect_aria_attribute_type_id","a11y_incorrect_aria_attribute_type_idlist","a11y_incorrect_aria_attribute_type_integer","a11y_incorrect_aria_attribute_type_token","a11y_incorrect_aria_attribute_type_tokenlist","a11y_incorrect_aria_attribute_type_tristate","a11y_interactive_supports_focus","a11y_invalid_attribute","a11y_label_has_associated_control","a11y_media_has_caption","a11y_misplaced_role","a11y_misplaced_scope","a11y_missing_attribute","a11y_missing_content","a11y_mouse_events_have_key_events","a11y_no_abstract_role","a11y_no_interactive_element_to_noninteractive_role","a11y_no_noninteractive_element_interactions","a11y_no_noninteractive_element_to_interactive_role","a11y_no_noninteractive_tabindex","a11y_no_redundant_roles","a11y_no_static_element_interactions","a11y_positive_tabindex","a11y_role_has_required_aria_props","a11y_role_supports_aria_props","a11y_role_supports_aria_props_implicit","a11y_unknown_aria_attribute","a11y_unknown_role","bidirectional_control_characters","legacy_code","unknown_code","options_deprecated_accessors","options_deprecated_immutable","options_missing_custom_element","options_removed_enable_sourcemap","options_removed_hydratable","options_removed_loop_guard_timeout","options_renamed_ssr_dom","custom_element_props_identifier","export_let_unused","legacy_component_creation","non_reactive_update","perf_avoid_inline_class","perf_avoid_nested_class","reactive_declaration_invalid_placement","reactive_declaration_module_script_dependency","state_referenced_locally","store_rune_conflict","css_unused_selector","attribute_avoid_is","attribute_global_event_reference","attribute_illegal_colon","attribute_invalid_property_name","attribute_quoted","bind_invalid_each_rest","block_empty","component_name_lowercase","element_implicitly_closed","element_invalid_self_closing_tag","event_directive_deprecated","node_invalid_placement_ssr","script_context_deprecated","script_unknown_attribute","slot_element_deprecated","svelte_component_deprecated","svelte_element_invalid_this","svelte_self_deprecated"];function T_(e){Y(e,"a11y_accesskey",`Avoid using accesskey
|
|
21
|
+
https://svelte.dev/e/a11y_accesskey`)}function A_(e){Y(e,"a11y_aria_activedescendant_has_tabindex",`An element with an aria-activedescendant attribute should have a tabindex value
|
|
22
|
+
https://svelte.dev/e/a11y_aria_activedescendant_has_tabindex`)}function P_(e,t){Y(e,"a11y_aria_attributes",`\`<${t}>\` should not have aria-* attributes
|
|
23
|
+
https://svelte.dev/e/a11y_aria_attributes`)}function R_(e,t,r){Y(e,"a11y_autocomplete_valid",`'${t}' is an invalid value for 'autocomplete' on \`<input type="${r}">\`
|
|
24
|
+
https://svelte.dev/e/a11y_autocomplete_valid`)}function $_(e){Y(e,"a11y_autofocus",`Avoid using autofocus
|
|
25
|
+
https://svelte.dev/e/a11y_autofocus`)}function I_(e,t){Y(e,"a11y_click_events_have_key_events",`Visible, non-interactive element \`<${t}>\` with a click event must be accompanied by a keyboard event handler. Consider whether an interactive element such as \`<button type="button">\` or \`<a>\` might be more appropriate
|
|
26
|
+
https://svelte.dev/e/a11y_click_events_have_key_events`)}function q_(e){Y(e,"a11y_consider_explicit_label","Buttons and links should either contain text or have an `aria-label`, `aria-labelledby` or `title` attribute\nhttps://svelte.dev/e/a11y_consider_explicit_label")}function M_(e,t){Y(e,"a11y_distracting_elements",`Avoid \`<${t}>\` elements
|
|
27
|
+
https://svelte.dev/e/a11y_distracting_elements`)}function L_(e){Y(e,"a11y_figcaption_index","`<figcaption>` must be first or last child of `<figure>`\nhttps://svelte.dev/e/a11y_figcaption_index")}function N_(e){Y(e,"a11y_figcaption_parent","`<figcaption>` must be an immediate child of `<figure>`\nhttps://svelte.dev/e/a11y_figcaption_parent")}function O_(e,t){Y(e,"a11y_hidden",`\`<${t}>\` element should not be hidden
|
|
28
|
+
https://svelte.dev/e/a11y_hidden`)}function D_(e){Y(e,"a11y_img_redundant_alt","Screenreaders already announce `<img>` elements as an image\nhttps://svelte.dev/e/a11y_img_redundant_alt")}function sf(e,t,r){Y(e,"a11y_incorrect_aria_attribute_type",`The value of '${t}' must be a ${r}
|
|
29
|
+
https://svelte.dev/e/a11y_incorrect_aria_attribute_type`)}function B_(e,t){Y(e,"a11y_incorrect_aria_attribute_type_boolean",`The value of '${t}' must be either 'true' or 'false'. It cannot be empty
|
|
30
|
+
https://svelte.dev/e/a11y_incorrect_aria_attribute_type_boolean`)}function j_(e,t){Y(e,"a11y_incorrect_aria_attribute_type_idlist",`The value of '${t}' must be a space-separated list of strings that represent DOM element IDs
|
|
31
|
+
https://svelte.dev/e/a11y_incorrect_aria_attribute_type_idlist`)}function F_(e,t){Y(e,"a11y_incorrect_aria_attribute_type_integer",`The value of '${t}' must be an integer
|
|
32
|
+
https://svelte.dev/e/a11y_incorrect_aria_attribute_type_integer`)}function V_(e,t,r){Y(e,"a11y_incorrect_aria_attribute_type_token",`The value of '${t}' must be exactly one of ${r}
|
|
33
|
+
https://svelte.dev/e/a11y_incorrect_aria_attribute_type_token`)}function U_(e,t,r){Y(e,"a11y_incorrect_aria_attribute_type_tokenlist",`The value of '${t}' must be a space-separated list of one or more of ${r}
|
|
34
|
+
https://svelte.dev/e/a11y_incorrect_aria_attribute_type_tokenlist`)}function H_(e,t){Y(e,"a11y_incorrect_aria_attribute_type_tristate",`The value of '${t}' must be exactly one of true, false, or mixed
|
|
35
|
+
https://svelte.dev/e/a11y_incorrect_aria_attribute_type_tristate`)}function z_(e,t){Y(e,"a11y_interactive_supports_focus",`Elements with the '${t}' interactive role must have a tabindex value
|
|
36
|
+
https://svelte.dev/e/a11y_interactive_supports_focus`)}function G_(e,t,r){Y(e,"a11y_invalid_attribute",`'${t}' is not a valid ${r} attribute
|
|
37
|
+
https://svelte.dev/e/a11y_invalid_attribute`)}function W_(e){Y(e,"a11y_label_has_associated_control",`A form label must be associated with a control
|
|
38
|
+
https://svelte.dev/e/a11y_label_has_associated_control`)}function K_(e){Y(e,"a11y_media_has_caption",'`<video>` elements must have a `<track kind="captions">`\nhttps://svelte.dev/e/a11y_media_has_caption')}function X_(e,t){Y(e,"a11y_misplaced_role",`\`<${t}>\` should not have role attribute
|
|
39
|
+
https://svelte.dev/e/a11y_misplaced_role`)}function Y_(e){Y(e,"a11y_misplaced_scope","The scope attribute should only be used with `<th>` elements\nhttps://svelte.dev/e/a11y_misplaced_scope")}function J_(e,t,r,i){Y(e,"a11y_missing_attribute",`\`<${t}>\` element should have ${r} ${i} attribute
|
|
40
|
+
https://svelte.dev/e/a11y_missing_attribute`)}function Q_(e,t){Y(e,"a11y_missing_content",`\`<${t}>\` element should contain text
|
|
41
|
+
https://svelte.dev/e/a11y_missing_content`)}function af(e,t,r){Y(e,"a11y_mouse_events_have_key_events",`'${t}' event must be accompanied by '${r}' event
|
|
42
|
+
https://svelte.dev/e/a11y_mouse_events_have_key_events`)}function Z_(e,t){Y(e,"a11y_no_abstract_role",`Abstract role '${t}' is forbidden
|
|
43
|
+
https://svelte.dev/e/a11y_no_abstract_role`)}function eb(e,t,r){Y(e,"a11y_no_interactive_element_to_noninteractive_role",`\`<${t}>\` cannot have role '${r}'
|
|
44
|
+
https://svelte.dev/e/a11y_no_interactive_element_to_noninteractive_role`)}function tb(e,t){Y(e,"a11y_no_noninteractive_element_interactions",`Non-interactive element \`<${t}>\` should not be assigned mouse or keyboard event listeners
|
|
45
|
+
https://svelte.dev/e/a11y_no_noninteractive_element_interactions`)}function rb(e,t,r){Y(e,"a11y_no_noninteractive_element_to_interactive_role",`Non-interactive element \`<${t}>\` cannot have interactive role '${r}'
|
|
46
|
+
https://svelte.dev/e/a11y_no_noninteractive_element_to_interactive_role`)}function ib(e){Y(e,"a11y_no_noninteractive_tabindex",`noninteractive element cannot have nonnegative tabIndex value
|
|
47
|
+
https://svelte.dev/e/a11y_no_noninteractive_tabindex`)}function nf(e,t){Y(e,"a11y_no_redundant_roles",`Redundant role '${t}'
|
|
48
|
+
https://svelte.dev/e/a11y_no_redundant_roles`)}function sb(e,t,r){Y(e,"a11y_no_static_element_interactions",`\`<${t}>\` with a ${r} handler must have an ARIA role
|
|
49
|
+
https://svelte.dev/e/a11y_no_static_element_interactions`)}function ab(e){Y(e,"a11y_positive_tabindex",`Avoid tabindex values above zero
|
|
50
|
+
https://svelte.dev/e/a11y_positive_tabindex`)}function nb(e,t,r){Y(e,"a11y_role_has_required_aria_props",`Elements with the ARIA role "${t}" must have the following attributes defined: ${r}
|
|
51
|
+
https://svelte.dev/e/a11y_role_has_required_aria_props`)}function ob(e,t,r){Y(e,"a11y_role_supports_aria_props",`The attribute '${t}' is not supported by the role '${r}'
|
|
52
|
+
https://svelte.dev/e/a11y_role_supports_aria_props`)}function lb(e,t,r,i){Y(e,"a11y_role_supports_aria_props_implicit",`The attribute '${t}' is not supported by the role '${r}'. This role is implicit on the element \`<${i}>\`
|
|
53
|
+
https://svelte.dev/e/a11y_role_supports_aria_props_implicit`)}function ub(e,t,r){Y(e,"a11y_unknown_aria_attribute",`${r?`Unknown aria attribute 'aria-${t}'. Did you mean '${r}'?`:`Unknown aria attribute 'aria-${t}'`}
|
|
54
|
+
https://svelte.dev/e/a11y_unknown_aria_attribute`)}function cb(e,t,r){Y(e,"a11y_unknown_role",`${r?`Unknown role '${t}'. Did you mean '${r}'?`:`Unknown role '${t}'`}
|
|
55
|
+
https://svelte.dev/e/a11y_unknown_role`)}function Ji(e){Y(e,"bidirectional_control_characters",`A bidirectional control character was detected in your code. These characters can be used to alter the visual direction of your code and could have unintended consequences
|
|
56
|
+
https://svelte.dev/e/bidirectional_control_characters`)}function pb(e,t,r){Y(e,"legacy_code",`\`${t}\` is no longer valid \u2014 please use \`${r}\` instead
|
|
57
|
+
https://svelte.dev/e/legacy_code`)}function db(e,t,r){Y(e,"unknown_code",`${r?`\`${t}\` is not a recognised code (did you mean \`${r}\`?)`:`\`${t}\` is not a recognised code`}
|
|
58
|
+
https://svelte.dev/e/unknown_code`)}function La(e){Y(e,"options_deprecated_accessors","The `accessors` option has been deprecated. It will have no effect in runes mode\nhttps://svelte.dev/e/options_deprecated_accessors")}function Na(e){Y(e,"options_deprecated_immutable","The `immutable` option has been deprecated. It will have no effect in runes mode\nhttps://svelte.dev/e/options_deprecated_immutable")}function fb(e){Y(e,"options_missing_custom_element","The `customElement` option is used when generating a custom element. Did you forget the `customElement: true` compile option?\nhttps://svelte.dev/e/options_missing_custom_element")}function mb(e){Y(e,"options_removed_enable_sourcemap","The `enableSourcemap` option has been removed. Source maps are always generated now, and tooling can choose to ignore them\nhttps://svelte.dev/e/options_removed_enable_sourcemap")}function hb(e){Y(e,"options_removed_hydratable","The `hydratable` option has been removed. Svelte components are always hydratable now\nhttps://svelte.dev/e/options_removed_hydratable")}function _b(e){Y(e,"options_removed_loop_guard_timeout","The `loopGuardTimeout` option has been removed\nhttps://svelte.dev/e/options_removed_loop_guard_timeout")}function bb(e){Y(e,"options_renamed_ssr_dom",'`generate: "dom"` and `generate: "ssr"` options have been renamed to "client" and "server" respectively\nhttps://svelte.dev/e/options_renamed_ssr_dom')}function vb(e){Y(e,"custom_element_props_identifier","Using a rest element or a non-destructured declaration with `$props()` means that Svelte can't infer what properties to expose when creating a custom element. Consider destructuring all the props or explicitly specifying the `customElement.props` option.\nhttps://svelte.dev/e/custom_element_props_identifier")}function yb(e,t){Y(e,"export_let_unused",`Component has unused export property '${t}'. If it is for external reference only, please consider using \`export const ${t}\`
|
|
59
|
+
https://svelte.dev/e/export_let_unused`)}function gb(e){Y(e,"legacy_component_creation","Svelte 5 components are no longer classes. Instantiate them using `mount` or `hydrate` (imported from 'svelte') instead.\nhttps://svelte.dev/e/legacy_component_creation")}function of(e,t){Y(e,"non_reactive_update",`\`${t}\` is updated, but is not declared with \`$state(...)\`. Changing its value will not correctly trigger updates
|
|
60
|
+
https://svelte.dev/e/non_reactive_update`)}function xb(e){Y(e,"perf_avoid_inline_class",`Avoid 'new class' \u2014 instead, declare the class at the top level scope
|
|
61
|
+
https://svelte.dev/e/perf_avoid_inline_class`)}function wb(e){Y(e,"perf_avoid_nested_class",`Avoid declaring classes below the top level scope
|
|
62
|
+
https://svelte.dev/e/perf_avoid_nested_class`)}function kb(e){Y(e,"reactive_declaration_invalid_placement",`Reactive declarations only exist at the top level of the instance script
|
|
63
|
+
https://svelte.dev/e/reactive_declaration_invalid_placement`)}function Cb(e){Y(e,"reactive_declaration_module_script_dependency",`Reassignments of module-level declarations will not cause reactive statements to update
|
|
64
|
+
https://svelte.dev/e/reactive_declaration_module_script_dependency`)}function Sb(e,t,r){Y(e,"state_referenced_locally",`This reference only captures the initial value of \`${t}\`. Did you mean to reference it inside a ${r} instead?
|
|
65
|
+
https://svelte.dev/e/state_referenced_locally`)}function Eb(e,t){Y(e,"store_rune_conflict",`It looks like you're using the \`$${t}\` rune, but there is a local binding called \`${t}\`. Referencing a local variable with a \`$\` prefix will create a store subscription. Please rename \`${t}\` to avoid the ambiguity
|
|
66
|
+
https://svelte.dev/e/store_rune_conflict`)}function Tb(e,t){Y(e,"css_unused_selector",`Unused CSS selector "${t}"
|
|
67
|
+
https://svelte.dev/e/css_unused_selector`)}function Ab(e){Y(e,"attribute_avoid_is",`The "is" attribute is not supported cross-browser and should be avoided
|
|
68
|
+
https://svelte.dev/e/attribute_avoid_is`)}function Pb(e,t){Y(e,"attribute_global_event_reference",`You are referencing \`globalThis.${t}\`. Did you forget to declare a variable with that name?
|
|
69
|
+
https://svelte.dev/e/attribute_global_event_reference`)}function Rb(e){Y(e,"attribute_illegal_colon",`Attributes should not contain ':' characters to prevent ambiguity with Svelte directives
|
|
70
|
+
https://svelte.dev/e/attribute_illegal_colon`)}function $b(e,t,r){Y(e,"attribute_invalid_property_name",`'${t}' is not a valid HTML attribute. Did you mean '${r}'?
|
|
71
|
+
https://svelte.dev/e/attribute_invalid_property_name`)}function Ib(e){Y(e,"attribute_quoted",`Quoted attributes on components and custom elements will be stringified in a future version of Svelte. If this isn't what you want, remove the quotes
|
|
72
|
+
https://svelte.dev/e/attribute_quoted`)}function qb(e,t){Y(e,"bind_invalid_each_rest",`The rest operator (...) will create a new object and binding '${t}' with the original object will not work
|
|
73
|
+
https://svelte.dev/e/bind_invalid_each_rest`)}function Mb(e){Y(e,"block_empty",`Empty block
|
|
74
|
+
https://svelte.dev/e/block_empty`)}function Lb(e,t){Y(e,"component_name_lowercase",`\`<${t}>\` will be treated as an HTML element unless it begins with a capital letter
|
|
75
|
+
https://svelte.dev/e/component_name_lowercase`)}function lf(e,t,r){Y(e,"element_implicitly_closed",`This element is implicitly closed by the following \`${t}\`, which can cause an unexpected DOM structure. Add an explicit \`${r}\` to avoid surprises.
|
|
76
|
+
https://svelte.dev/e/element_implicitly_closed`)}function Nb(e,t){Y(e,"element_invalid_self_closing_tag",`Self-closing HTML tags for non-void elements are ambiguous \u2014 use \`<${t} ...></${t}>\` rather than \`<${t} ... />\`
|
|
77
|
+
https://svelte.dev/e/element_invalid_self_closing_tag`)}function Ob(e,t){Y(e,"event_directive_deprecated",`Using \`on:${t}\` to listen to the ${t} event is deprecated. Use the event attribute \`on${t}\` instead
|
|
78
|
+
https://svelte.dev/e/event_directive_deprecated`)}function uf(e,t){Y(e,"node_invalid_placement_ssr",`${t}. When rendering this component on the server, the resulting HTML will be modified by the browser (by moving, removing, or inserting elements), likely resulting in a \`hydration_mismatch\` warning
|
|
79
|
+
https://svelte.dev/e/node_invalid_placement_ssr`)}function Db(e){Y(e,"script_context_deprecated",'`context="module"` is deprecated, use the `module` attribute instead\nhttps://svelte.dev/e/script_context_deprecated')}function Bb(e){Y(e,"script_unknown_attribute","Unrecognised attribute \u2014 should be one of `generics`, `lang` or `module`. If this exists for a preprocessor, ensure that the preprocessor removes it\nhttps://svelte.dev/e/script_unknown_attribute")}function jb(e){Y(e,"slot_element_deprecated","Using `<slot>` to render parent content is deprecated. Use `{@render ...}` tags instead\nhttps://svelte.dev/e/slot_element_deprecated")}function Fb(e){Y(e,"svelte_component_deprecated","`<svelte:component>` is deprecated in runes mode \u2014 components are dynamic by default\nhttps://svelte.dev/e/svelte_component_deprecated")}function Vb(e){Y(e,"svelte_element_invalid_this","`this` should be an `{expression}`. Using a string attribute value will cause an error in future versions of Svelte\nhttps://svelte.dev/e/svelte_element_invalid_this")}function Ub(e,t,r){Y(e,"svelte_self_deprecated",`\`<svelte:self>\` is deprecated \u2014 use self-imports (e.g. \`import ${t} from './${r}'\`) instead
|
|
80
|
+
https://svelte.dev/e/svelte_self_deprecated`)}var YR=/^\s*svelte-ignore\s/,Hb={"non-top-level-reactive-declaration":"reactive_declaration_invalid_placement","module-script-reactive-declaration":"reactive_declaration_module_script","empty-block":"block_empty","avoid-is":"attribute_avoid_is","invalid-html-attribute":"attribute_invalid_property_name","a11y-structure":"a11y_figcaption_parent","illegal-attribute-character":"attribute_illegal_colon","invalid-rest-eachblock-binding":"bind_invalid_each_rest","unused-export-let":"export_let_unused"},Os=E_.concat(c_);function zr(e,t,r){let i=YR.exec(t);if(!i)return[];let s=i[0].length;e+=s;let a=[];if(r)for(let n of t.slice(s).matchAll(/([\w$-]+)(,)?/gm)){let u=n[1];if(Os.includes(u))a.push(u);else{let p=Hb[u]??u.replace(/-/g,"_"),d=e+n.index,f=d+u.length;if(Os.includes(p))pb({start:d,end:f},u,p);else{let h=Vr(u,Os);db({start:d,end:f},u,h)}}if(!n[2])break}else for(let n of t.slice(s).matchAll(/[\w$-]+/gm)){let u=n[0];if(a.push(u),!Os.includes(u)){let p=Hb[u]??u.replace(/-/g,"_");Os.includes(p)&&a.push(p)}}return a}function yi(e){let t=e.at(0),r=e.at(-1);t?.type==="Text"&&(sr.test(t.data)?t.data=t.data.replace(_i,""):e.shift()),r?.type==="Text"&&(sr.test(r.data)?r.data=r.data.replace(Fr,""):e.pop())}function zb(e,t){return oe(t,null,{_(i,{next:s}){delete i.metadata,s()},Root(i,{visit:s}){let{instance:a,module:n,options:u}=i;if(u?.__raw__){let f=i.fragment.nodes.findIndex(h=>u.end<=h.start);f===-1&&(f=i.fragment.nodes.length),i.fragment.nodes.splice(f,0,u.__raw__)}let p=null,d=null;if(i.fragment.nodes.length>0){let f=i.fragment.nodes.at(0),h=i.fragment.nodes.at(-1);for(p=f.start,d=h.end;/\s/.test(e[p]);)p+=1;for(;/\s/.test(e[d-1]);)d-=1}return a&&delete a.attributes,n&&delete n.attributes,{html:{type:"Fragment",start:p,end:d,children:i.fragment.nodes.map(f=>s(f))},instance:a,module:n,css:t.css?s(t.css):void 0,_comments:t.comments?.length>0?t.comments:void 0}},AnimateDirective(i){return{...i,type:"Animation"}},AwaitBlock(i,{visit:s}){let a={type:"PendingBlock",start:null,end:null,children:i.pending?.nodes.map(p=>s(p))??[],skip:!0},n={type:"ThenBlock",start:null,end:null,children:i.then?.nodes.map(p=>s(p))??[],skip:!0},u={type:"CatchBlock",start:null,end:null,children:i.catch?.nodes.map(p=>s(p))??[],skip:!0};if(i.pending){let p=i.pending.nodes.at(0),d=i.pending.nodes.at(-1);a.start=p?.start??e.indexOf("}",i.expression.end)+1,a.end=d?.end??a.start,a.skip=!1}if(i.then){let p=i.then.nodes.at(0),d=i.then.nodes.at(-1);n.start=a.end??p?.start??e.indexOf("}",i.expression.end)+1,n.end=d?.end??e.lastIndexOf("}",a.end??i.expression.end)+1,n.skip=!1}if(i.catch){let p=i.catch.nodes.at(0),d=i.catch.nodes.at(-1);u.start=n.end??a.end??p?.start??e.indexOf("}",i.expression.end)+1,u.end=d?.end??e.lastIndexOf("}",n.end??a.end??i.expression.end)+1,u.skip=!1}return{type:"AwaitBlock",start:i.start,end:i.end,expression:i.expression,value:i.value,error:i.error,pending:a,then:n,catch:u}},BindDirective(i){return{...i,type:"Binding"}},ClassDirective(i){return{...i,type:"Class"}},Comment(i){return{...i,ignores:zr(i.start,i.data,!1)}},ComplexSelector(i,{next:s}){s();let a=[];for(let n of i.children)n.combinator&&a.push(n.combinator),a.push(...n.selectors);return{type:"Selector",start:i.start,end:i.end,children:a}},Component(i,{visit:s}){return{type:"InlineComponent",start:i.start,end:i.end,name:i.name,attributes:i.attributes.map(a=>s(a)),children:i.fragment.nodes.map(a=>s(a))}},ConstTag(i){if(i.expression!==void 0)return i;let s=i,{id:a}={...s.declaration.declarations[0]};return delete a.typeAnnotation,{type:"ConstTag",start:s.start,end:i.end,expression:{type:"AssignmentExpression",start:(s.declaration.start??0)+6,end:s.declaration.end??0,operator:"=",left:a,right:s.declaration.declarations[0].init}}},DeclarationTag(i){return i},KeyBlock(i,{visit:s}){return yi(i.fragment.nodes),{type:"KeyBlock",start:i.start,end:i.end,expression:i.expression,children:i.fragment.nodes.map(a=>s(a))}},EachBlock(i,{visit:s}){let a;if(i.fallback){let n=i.fallback.nodes.at(0),u=e.lastIndexOf("{",i.end-1),p=n?.start??u;yi(i.fallback.nodes),a={type:"ElseBlock",start:p,end:u,children:i.fallback.nodes.map(d=>s(d))}}return yi(i.body.nodes),{type:"EachBlock",start:i.start,end:i.end,children:i.body.nodes.map(n=>s(n)),context:i.context,expression:i.expression,index:i.index,key:i.key,else:a}},ExpressionTag(i,{path:s}){let a=s.at(-1);return a?.type==="Attribute"&&e[a.start]==="{"?{type:"AttributeShorthand",start:i.start,end:i.end,expression:i.expression}:{type:"MustacheTag",start:i.start,end:i.end,expression:i.expression}},HtmlTag(i){return{...i,type:"RawMustacheTag"}},IfBlock(i,{visit:s}){let a;if(i.alternate){let u=i.alternate.nodes;u.length===1&&u[0].type==="IfBlock"&&u[0].elseif&&(u=u[0].consequent.nodes);let p=e.lastIndexOf("{",i.end-1),d=u.at(0)?.start??p;yi(i.alternate.nodes),a={type:"ElseBlock",start:d,end:p,children:i.alternate.nodes.map(f=>s(f))}}let n=i.elseif?i.consequent.nodes[0]?.start??e.lastIndexOf("{",i.end-1):i.start;return yi(i.consequent.nodes),{type:"IfBlock",start:n,end:i.end,expression:i.test,children:i.consequent.nodes.map(u=>s(u)),else:a,elseif:i.elseif?!0:void 0}},OnDirective(i){return{...i,type:"EventHandler"}},SnippetBlock(i,{visit:s}){return yi(i.body.nodes),{type:"SnippetBlock",start:i.start,end:i.end,expression:i.expression,parameters:i.parameters,children:i.body.nodes.map(a=>s(a)),typeParams:i.typeParams}},SvelteBoundary(i,{visit:s}){return yi(i.fragment.nodes),{type:"SvelteBoundary",name:"svelte:boundary",start:i.start,end:i.end,attributes:i.attributes.map(a=>s(a)),children:i.fragment.nodes.map(a=>s(a))}},RegularElement(i,{visit:s}){return{type:"Element",start:i.start,end:i.end,name:i.name,attributes:i.attributes.map(a=>s(a)),children:i.fragment.nodes.map(a=>s(a))}},SlotElement(i,{visit:s}){return{type:"Slot",start:i.start,end:i.end,name:i.name,attributes:i.attributes.map(a=>s(a)),children:i.fragment.nodes.map(a=>s(a))}},Attribute(i,{visit:s,next:a,path:n}){if(i.value!==!0&&!Array.isArray(i.value)){n.push(i);let u=[s(i.value)];return n.pop(),{...i,value:u}}else return a()},StyleDirective(i,{visit:s,next:a,path:n}){if(i.value!==!0&&!Array.isArray(i.value)){n.push(i);let u=[s(i.value)];return n.pop(),{...i,value:u}}else return a()},SpreadAttribute(i){return{...i,type:"Spread"}},StyleSheet(i,s){return{...i,...s.next(),type:"Style"}},SvelteBody(i,{visit:s}){return{type:"Body",name:"svelte:body",start:i.start,end:i.end,attributes:i.attributes.map(a=>s(a)),children:i.fragment.nodes.map(a=>s(a))}},SvelteComponent(i,{visit:s}){return{type:"InlineComponent",name:"svelte:component",start:i.start,end:i.end,expression:i.expression,attributes:i.attributes.map(a=>s(a)),children:i.fragment.nodes.map(a=>s(a))}},SvelteDocument(i,{visit:s}){return{type:"Document",name:"svelte:document",start:i.start,end:i.end,attributes:i.attributes.map(a=>s(a)),children:i.fragment.nodes.map(a=>s(a))}},SvelteElement(i,{visit:s}){let a=i.tag;return a.type==="Literal"&&typeof a.value=="string"&&e[i.tag.start-1]!=="{"&&(a=a.value),{type:"Element",name:"svelte:element",start:i.start,end:i.end,tag:a,attributes:i.attributes.map(n=>s(n)),children:i.fragment.nodes.map(n=>s(n))}},SvelteFragment(i,{visit:s}){return{type:"SlotTemplate",name:"svelte:fragment",start:i.start,end:i.end,attributes:i.attributes.map(a=>s(a)),children:i.fragment.nodes.map(a=>s(a))}},SvelteHead(i,{visit:s}){return{type:"Head",name:"svelte:head",start:i.start,end:i.end,attributes:i.attributes.map(a=>s(a)),children:i.fragment.nodes.map(a=>s(a))}},SvelteOptions(i,{visit:s}){return{type:"Options",name:"svelte:options",start:i.start,end:i.end,attributes:i.attributes.map(a=>s(a))}},SvelteSelf(i,{visit:s}){return{type:"InlineComponent",name:"svelte:self",start:i.start,end:i.end,attributes:i.attributes.map(a=>s(a)),children:i.fragment.nodes.map(a=>s(a))}},SvelteWindow(i,{visit:s}){return{type:"Window",name:"svelte:window",start:i.start,end:i.end,attributes:i.attributes.map(a=>s(a)),children:i.fragment.nodes.map(a=>s(a))}},Text(i,{path:s}){let a=s.at(-1);if(a?.type==="RegularElement"&&a.name==="style")return{type:"Text",start:i.start,end:i.end,data:i.data}},TitleElement(i,{visit:s}){return{type:"Title",name:"title",start:i.start,end:i.end,attributes:i.attributes.map(a=>s(a)),children:i.fragment.nodes.map(a=>s(a))}},TransitionDirective(i){return{...i,type:"Transition"}},UseDirective(i){return{...i,type:"Action"}},LetDirective(i){return{...i,type:"Let"}}})}var Xa={};TR(Xa,{Node:()=>Fs,Parser:()=>Ne,Position:()=>Qi,SourceLocation:()=>Bs,TokContext:()=>Pt,Token:()=>Ka,TokenType:()=>Ee,defaultOptions:()=>Da,getLineInfo:()=>bf,isIdentifierChar:()=>Ut,isIdentifierStart:()=>xt,isNewLine:()=>xi,keywordTypes:()=>Ua,lineBreak:()=>dt,lineBreakG:()=>ev,nonASCIIwhitespace:()=>_f,parse:()=>I8,parseExpressionAt:()=>q8,tokContexts:()=>Me,tokTypes:()=>C,tokenizer:()=>M8,version:()=>qv});var JR=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,78,5,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,199,7,137,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,55,9,266,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,233,0,3,0,8,1,6,0,475,6,110,6,6,9,4759,9,787719,239],Jb=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,7,25,39,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,5,57,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,24,43,261,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,33,24,3,24,45,74,6,0,67,12,65,1,2,0,15,4,10,7381,42,31,98,114,8702,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,208,30,2,2,2,1,2,6,3,4,10,1,225,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4381,3,5773,3,7472,16,621,2467,541,1507,4938,6,8489],QR="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ADD\u1AE0-\u1AEB\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",Qb="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088F\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5C\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDC-\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7DC\uA7F1-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",cf={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},pf="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",ZR={5:pf,"5module":pf+" export import",6:pf+" const class extends export import super"},Zb=/^in(stanceof)?$/,e8=new RegExp("["+Qb+"]"),t8=new RegExp("["+Qb+QR+"]");function ff(e,t){for(var r=65536,i=0;i<t.length;i+=2){if(r+=t[i],r>e)return!1;if(r+=t[i+1],r>=e)return!0}return!1}function xt(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&e8.test(String.fromCharCode(e)):t===!1?!1:ff(e,Jb)}function Ut(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&t8.test(String.fromCharCode(e)):t===!1?!1:ff(e,Jb)||ff(e,JR)}var Ee=function(t,r){r===void 0&&(r={}),this.label=t,this.keyword=r.keyword,this.beforeExpr=!!r.beforeExpr,this.startsExpr=!!r.startsExpr,this.isLoop=!!r.isLoop,this.isAssign=!!r.isAssign,this.prefix=!!r.prefix,this.postfix=!!r.postfix,this.binop=r.binop||null,this.updateContext=null};function Tt(e,t){return new Ee(e,{beforeExpr:!0,binop:t})}var At={beforeExpr:!0},ht={startsExpr:!0},Ua={};function ke(e,t){return t===void 0&&(t={}),t.keyword=e,Ua[e]=new Ee(e,t)}var C={num:new Ee("num",ht),regexp:new Ee("regexp",ht),string:new Ee("string",ht),name:new Ee("name",ht),privateId:new Ee("privateId",ht),eof:new Ee("eof"),bracketL:new Ee("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new Ee("]"),braceL:new Ee("{",{beforeExpr:!0,startsExpr:!0}),braceR:new Ee("}"),parenL:new Ee("(",{beforeExpr:!0,startsExpr:!0}),parenR:new Ee(")"),comma:new Ee(",",At),semi:new Ee(";",At),colon:new Ee(":",At),dot:new Ee("."),question:new Ee("?",At),questionDot:new Ee("?."),arrow:new Ee("=>",At),template:new Ee("template"),invalidTemplate:new Ee("invalidTemplate"),ellipsis:new Ee("...",At),backQuote:new Ee("`",ht),dollarBraceL:new Ee("${",{beforeExpr:!0,startsExpr:!0}),eq:new Ee("=",{beforeExpr:!0,isAssign:!0}),assign:new Ee("_=",{beforeExpr:!0,isAssign:!0}),incDec:new Ee("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new Ee("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:Tt("||",1),logicalAND:Tt("&&",2),bitwiseOR:Tt("|",3),bitwiseXOR:Tt("^",4),bitwiseAND:Tt("&",5),equality:Tt("==/!=/===/!==",6),relational:Tt("</>/<=/>=",7),bitShift:Tt("<</>>/>>>",8),plusMin:new Ee("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:Tt("%",10),star:Tt("*",10),slash:Tt("/",10),starstar:new Ee("**",{beforeExpr:!0}),coalesce:Tt("??",1),_break:ke("break"),_case:ke("case",At),_catch:ke("catch"),_continue:ke("continue"),_debugger:ke("debugger"),_default:ke("default",At),_do:ke("do",{isLoop:!0,beforeExpr:!0}),_else:ke("else",At),_finally:ke("finally"),_for:ke("for",{isLoop:!0}),_function:ke("function",ht),_if:ke("if"),_return:ke("return",At),_switch:ke("switch"),_throw:ke("throw",At),_try:ke("try"),_var:ke("var"),_const:ke("const"),_while:ke("while",{isLoop:!0}),_with:ke("with"),_new:ke("new",{beforeExpr:!0,startsExpr:!0}),_this:ke("this",ht),_super:ke("super",ht),_class:ke("class",ht),_extends:ke("extends",At),_export:ke("export"),_import:ke("import",ht),_null:ke("null",ht),_true:ke("true",ht),_false:ke("false",ht),_in:ke("in",{beforeExpr:!0,binop:7}),_instanceof:ke("instanceof",{beforeExpr:!0,binop:7}),_typeof:ke("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:ke("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:ke("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},dt=/\r\n?|\n|\u2028|\u2029/,ev=new RegExp(dt.source,"g");function xi(e){return e===10||e===13||e===8232||e===8233}function tv(e,t,r){r===void 0&&(r=e.length);for(var i=t;i<r;i++){var s=e.charCodeAt(i);if(xi(s))return i<r-1&&s===13&&e.charCodeAt(i+1)===10?i+2:i+1}return-1}var _f=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Je=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,rv=Object.prototype,r8=rv.hasOwnProperty,i8=rv.toString,Zi=Object.hasOwn||(function(e,t){return r8.call(e,t)}),Gb=Array.isArray||(function(e){return i8.call(e)==="[object Array]"}),Wb=Object.create(null);function Gr(e){return Wb[e]||(Wb[e]=new RegExp("^(?:"+e.replace(/ /g,"|")+")$"))}function wr(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}var s8=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,Qi=function(t,r){this.line=t,this.column=r};Qi.prototype.offset=function(t){return new Qi(this.line,this.column+t)};var Bs=function(t,r,i){this.start=r,this.end=i,t.sourceFile!==null&&(this.source=t.sourceFile)};function bf(e,t){for(var r=1,i=0;;){var s=tv(e,i,t);if(s<0)return new Qi(r,t-i);++r,i=s}}var Da={ecmaVersion:null,sourceType:"script",strict:!1,onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,startLocation:null,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},Kb=!1;function a8(e){var t={};for(var r in Da)t[r]=e&&Zi(e,r)?e[r]:Da[r];if(t.ecmaVersion==="latest"?t.ecmaVersion=1e8:t.ecmaVersion==null?(!Kb&&typeof console=="object"&&console.warn&&(Kb=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
|
|
81
|
+
Defaulting to 2020, but this will stop working in the future.`)),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),(!e||e.allowHashBang==null)&&(t.allowHashBang=t.ecmaVersion>=14),Gb(t.onToken)){var i=t.onToken;t.onToken=function(s){return i.push(s)}}if(Gb(t.onComment)&&(t.onComment=n8(t,t.onComment)),t.sourceType==="commonjs"&&t.allowAwaitOutsideFunction)throw new Error("Cannot use allowAwaitOutsideFunction with sourceType: commonjs");return t}function n8(e,t){return function(r,i,s,a,n,u){var p={type:r?"Block":"Line",value:i,start:s,end:a};e.locations&&(p.loc=new Bs(this,n,u)),e.ranges&&(p.range=[s,a]),t.push(p)}}var gi=1,wi=2,vf=4,iv=8,yf=16,sv=32,Ha=64,av=128,ki=256,js=512,nv=1024,za=gi|wi|ki;function gf(e,t){return wi|(e?vf:0)|(t?iv:0)}var Ba=0,xf=1,Cr=2,ov=3,lv=4,uv=5,Ne=function(t,r,i){this.options=t=a8(t),this.sourceFile=t.sourceFile,this.keywords=Gr(ZR[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var s="";t.allowReserved!==!0&&(s=cf[t.ecmaVersion>=6?6:t.ecmaVersion===5?5:3],t.sourceType==="module"&&(s+=" await")),this.reservedWords=Gr(s);var a=(s?s+" ":"")+cf.strict;this.reservedWordsStrict=Gr(a),this.reservedWordsStrictBind=Gr(a+" "+cf.strictBind),this.input=String(r),this.containsEsc=!1,this.pos=i||0,this.curLine=1,t.startLocation?(this.lineStart=this.pos-t.startLocation.column,this.curLine=t.startLocation.line):i?(this.lineStart=this.input.lastIndexOf(`
|
|
82
|
+
`,i-1)+1,this.options.locations&&(this.curLine=this.input.slice(0,this.lineStart).split(dt).length)):this.lineStart=0,this.type=C.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=t.sourceType==="module",this.strict=this.inModule||t.strict===!0||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(this.options.sourceType==="commonjs"?wi:gi),this.regexpState=null,this.privateNameStack=[]},$t={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowReturn:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},allowUsing:{configurable:!0},inClassStaticBlock:{configurable:!0}};Ne.prototype.parse=function(){var t=this,r=this.options.program||this.startNode();return this.nextToken(),this.catchStackOverflow(function(){return t.parseTopLevel(r)})};$t.inFunction.get=function(){return(this.currentVarScope().flags&wi)>0};$t.inGenerator.get=function(){return(this.currentVarScope().flags&iv)>0};$t.inAsync.get=function(){return(this.currentVarScope().flags&vf)>0};$t.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e],r=t.flags;if(r&(ki|js))return!1;if(r&wi)return(r&vf)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};$t.allowReturn.get=function(){return!!(this.inFunction||this.options.allowReturnOutsideFunction&&this.currentVarScope().flags&gi)};$t.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags;return(t&Ha)>0||this.options.allowSuperOutsideMethod};$t.allowDirectSuper.get=function(){return(this.currentThisScope().flags&av)>0};$t.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};$t.allowNewDotTarget.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e],r=t.flags;if(r&(ki|js)||r&wi&&!(r&yf))return!0}return!1};$t.allowUsing.get=function(){var e=this.currentScope(),t=e.flags;return!(t&nv||!this.inModule&&t&gi)};$t.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&ki)>0};Ne.extend=function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];for(var i=this,s=0;s<t.length;s++)i=t[s](i);return i};Ne.parse=function(t,r){return new this(r,t).parse()};Ne.parseExpressionAt=function(t,r,i){var s=new this(i,t,r);return s.nextToken(),s.parseExpression()};Ne.tokenizer=function(t,r){return new this(r,t)};Object.defineProperties(Ne.prototype,$t);var lt=Ne.prototype,o8=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;lt.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){Je.lastIndex=e,e+=Je.exec(this.input)[0].length;var t=o8.exec(this.input.slice(e));if(!t)return!1;if((t[1]||t[2])==="use strict"){Je.lastIndex=e+t[0].length;var r=Je.exec(this.input),i=r.index+r[0].length,s=this.input.charAt(i);return s===";"||s==="}"||dt.test(r[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(s)||s==="!"&&this.input.charAt(i+1)==="=")}e+=t[0].length,Je.lastIndex=e,e+=Je.exec(this.input)[0].length,this.input[e]===";"&&e++}};lt.eat=function(e){return this.type===e?(this.next(),!0):!1};lt.isContextual=function(e){return this.type===C.name&&this.value===e&&!this.containsEsc};lt.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1};lt.catchStackOverflow=function(e){try{return e()}catch(t){if(t instanceof Error&&(/\bstack\b.*\b(exceeded|overflow)\b/i.test(t.message)||/\btoo much recursion\b/i.test(t.message)))this.raise(this.start,"Not enough stack space to parse input");else throw t}};lt.expectContextual=function(e){this.eatContextual(e)||this.unexpected()};lt.canInsertSemicolon=function(){return this.type===C.eof||this.type===C.braceR||dt.test(this.input.slice(this.lastTokEnd,this.start))};lt.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0};lt.semicolon=function(){!this.eat(C.semi)&&!this.insertSemicolon()&&this.unexpected()};lt.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0};lt.expect=function(e){this.eat(e)||this.unexpected()};lt.unexpected=function(e){this.raise(e??this.start,"Unexpected token")};var Ga=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};lt.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var r=t?e.parenthesizedAssign:e.parenthesizedBind;r>-1&&this.raiseRecoverable(r,t?"Assigning to rvalue":"Parenthesized pattern")}};lt.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,i=e.doubleProto;if(!t)return r>=0||i>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),i>=0&&this.raiseRecoverable(i,"Redefinition of __proto__ property")};lt.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")};lt.isSimpleAssignTarget=function(e){return e.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(e.expression):e.type==="Identifier"||e.type==="MemberExpression"};var se=Ne.prototype;se.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==C.eof;){var r=this.parseStatement(null,!0,t);e.body.push(r)}if(this.inModule)for(var i=0,s=Object.keys(this.undefinedExports);i<s.length;i+=1){var a=s[i];this.raiseRecoverable(this.undefinedExports[a].start,"Export '"+a+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType==="commonjs"?"script":this.options.sourceType,this.finishNode(e,"Program")};var wf={kind:"loop"},l8={kind:"switch"};se.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;Je.lastIndex=this.pos;var t=Je.exec(this.input),r=this.pos+t[0].length,i=this.fullCharCodeAt(r);if(i===91||i===92)return!0;if(e)return!1;if(i===123)return!0;if(xt(i)){var s=r;do r+=i<=65535?1:2;while(Ut(i=this.fullCharCodeAt(r)));if(i===92)return!0;var a=this.input.slice(s,r);if(!Zb.test(a))return!0}return!1};se.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;Je.lastIndex=this.pos;var e=Je.exec(this.input),t=this.pos+e[0].length,r;return!dt.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(Ut(r=this.fullCharCodeAt(t+8))||r===92))};se.isUsingKeyword=function(e,t){if(this.options.ecmaVersion<17||!this.isContextual(e?"await":"using"))return!1;Je.lastIndex=this.pos;var r=Je.exec(this.input),i=this.pos+r[0].length;if(dt.test(this.input.slice(this.pos,i)))return!1;if(e){var s=i+5,a;if(this.input.slice(i,s)!=="using"||s===this.input.length||Ut(a=this.fullCharCodeAt(s))||a===92)return!1;Je.lastIndex=s;var n=Je.exec(this.input);if(i=s+n[0].length,n&&dt.test(this.input.slice(s,i)))return!1}var u=this.fullCharCodeAt(i);if(!xt(u)&&u!==92)return!1;var p=i;do i+=u<=65535?1:2;while(Ut(u=this.fullCharCodeAt(i)));if(u===92)return!0;var d=this.input.slice(p,i);if(Zb.test(d))return!1;if(t&&!e&&d==="of"){Je.lastIndex=i;var f=Je.exec(this.input);if(i=i+f[0].length,this.input.charCodeAt(i)!==61||(u=this.input.charCodeAt(i+1))===61||u===62)return!1}return!0};se.isAwaitUsing=function(e){return this.isUsingKeyword(!0,e)};se.isUsing=function(e){return this.isUsingKeyword(!1,e)};se.parseStatement=function(e,t,r){var i=this.type,s=this.startNode(),a;switch(this.isLet(e)&&(i=C._var,a="let"),i){case C._break:case C._continue:return this.parseBreakContinueStatement(s,i.keyword);case C._debugger:return this.parseDebuggerStatement(s);case C._do:return this.parseDoStatement(s);case C._for:return this.parseForStatement(s);case C._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(s,!1,!e);case C._class:return e&&this.unexpected(),this.parseClass(s,!0);case C._if:return this.parseIfStatement(s);case C._return:return this.parseReturnStatement(s);case C._switch:return this.parseSwitchStatement(s);case C._throw:return this.parseThrowStatement(s);case C._try:return this.parseTryStatement(s);case C._const:case C._var:return a=a||this.value,e&&a!=="var"&&this.unexpected(),this.parseVarStatement(s,a);case C._while:return this.parseWhileStatement(s);case C._with:return this.parseWithStatement(s);case C.braceL:return this.parseBlock(!0,s);case C.semi:return this.parseEmptyStatement(s);case C._export:case C._import:if(this.options.ecmaVersion>10&&i===C._import){Je.lastIndex=this.pos;var n=Je.exec(this.input),u=this.pos+n[0].length,p=this.input.charCodeAt(u);if(p===40||p===46)return this.parseExpressionStatement(s,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===C._import?this.parseImport(s):this.parseExport(s,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(s,!0,!e);var d=this.isAwaitUsing(!1)?"await using":this.isUsing(!1)?"using":null;if(d)return this.allowUsing||this.raise(this.start,"Using declaration cannot appear in the top level when source type is `script` or in the bare case statement"),e&&this.raise(this.start,"Using declaration is not allowed in single-statement positions"),d==="await using"&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.next(),this.parseVar(s,!1,d),this.semicolon(),this.finishNode(s,"VariableDeclaration");var f=this.value,h=this.parseExpression();return i===C.name&&h.type==="Identifier"&&this.eat(C.colon)?this.parseLabeledStatement(s,f,h,e):this.parseExpressionStatement(s,h)}};se.parseBreakContinueStatement=function(e,t){var r=t==="break";this.next(),this.eat(C.semi)||this.insertSemicolon()?e.label=null:this.type!==C.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var i=0;i<this.labels.length;++i){var s=this.labels[i];if((e.label==null||s.name===e.label.name)&&(s.kind!=null&&(r||s.kind==="loop")||e.label&&r))break}return i===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,r?"BreakStatement":"ContinueStatement")};se.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")};se.parseDoStatement=function(e){return this.next(),this.labels.push(wf),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(C._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(C.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")};se.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(wf),this.enterScope(0),this.expect(C.parenL),this.type===C.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===C._var||this.type===C._const||r){var i=this.startNode(),s=r?"let":this.value;return this.next(),this.parseVar(i,!0,s),this.finishNode(i,"VariableDeclaration"),this.parseForAfterInit(e,i,t)}var a=this.isContextual("let"),n=!1,u=this.isUsing(!0)?"using":this.isAwaitUsing(!0)?"await using":null;if(u){var p=this.startNode();return this.next(),u==="await using"&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.parseVar(p,!0,u),this.finishNode(p,"VariableDeclaration"),this.parseForAfterInit(e,p,t)}var d=this.containsEsc,f=new Ga,h=this.start,_=t>-1?this.parseExprSubscripts(f,"await"):this.parseExpression(!0,f);return this.type===C._in||(n=this.options.ecmaVersion>=6&&this.isContextual("of"))?(t>-1?(this.type===C._in&&this.unexpected(t),e.await=!0):n&&this.options.ecmaVersion>=8&&(_.start===h&&!d&&_.type==="Identifier"&&_.name==="async"?this.unexpected():this.options.ecmaVersion>=9&&(e.await=!1)),a&&n&&this.raise(_.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(_,!1,f),this.checkLValPattern(_),this.parseForIn(e,_)):(this.checkExpressionErrors(f,!0),t>-1&&this.unexpected(t),this.parseFor(e,_))};se.parseForAfterInit=function(e,t,r){return(this.type===C._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&t.declarations.length===1?(this.type===C._in?((t.kind==="using"||t.kind==="await using")&&!t.declarations[0].init&&this.raise(this.start,"Using declaration is not allowed in for-in loops"),this.options.ecmaVersion>=9&&r>-1&&this.unexpected(r)):this.options.ecmaVersion>=9&&(e.await=r>-1),this.parseForIn(e,t)):(r>-1&&this.unexpected(r),this.parseFor(e,t))};se.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,Ds|(r?0:mf),!1,t)};se.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(C._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")};se.parseReturnStatement=function(e){return this.allowReturn||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(C.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")};se.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(C.braceL),this.labels.push(l8),this.enterScope(nv);for(var t,r=!1;this.type!==C.braceR;)if(this.type===C._case||this.type===C._default){var i=this.type===C._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),i?t.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!0,t.test=null),this.expect(C.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")};se.parseThrowStatement=function(e){return this.next(),dt.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var u8=[];se.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t=e.type==="Identifier";return this.enterScope(t?sv:0),this.checkLValPattern(e,t?lv:Cr),this.expect(C.parenR),e};se.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===C._catch){var t=this.startNode();this.next(),this.eat(C.parenL)?t.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0)),t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(C._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")};se.parseVarStatement=function(e,t,r){return this.next(),this.parseVar(e,!1,t,r),this.semicolon(),this.finishNode(e,"VariableDeclaration")};se.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(wf),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")};se.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")};se.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")};se.parseLabeledStatement=function(e,t,r,i){for(var s=0,a=this.labels;s<a.length;s+=1){var n=a[s];n.name===t&&this.raise(r.start,"Label '"+t+"' is already declared")}for(var u=this.type.isLoop?"loop":this.type===C._switch?"switch":null,p=this.labels.length-1;p>=0;p--){var d=this.labels[p];if(d.statementStart===e.start)d.statementStart=this.start,d.kind=u;else break}return this.labels.push({name:t,kind:u,statementStart:this.start}),e.body=this.parseStatement(i?i.indexOf("label")===-1?i+"label":i:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")};se.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")};se.parseBlock=function(e,t,r){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(C.braceL),e&&this.enterScope(0);this.type!==C.braceR;){var i=this.parseStatement(null);t.body.push(i)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")};se.parseFor=function(e,t){return e.init=t,this.expect(C.semi),e.test=this.type===C.semi?null:this.parseExpression(),this.expect(C.semi),e.update=this.type===C.parenR?null:this.parseExpression(),this.expect(C.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")};se.parseForIn=function(e,t){var r=this.type===C._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")&&this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(C.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")};se.parseVar=function(e,t,r,i){for(e.declarations=[],e.kind=r;;){var s=this.startNode();if(this.parseVarId(s,r),this.eat(C.eq)?s.init=this.parseMaybeAssign(t):!i&&r==="const"&&!(this.type===C._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!i&&(r==="using"||r==="await using")&&this.options.ecmaVersion>=17&&this.type!==C._in&&!this.isContextual("of")?this.raise(this.lastTokEnd,"Missing initializer in "+r+" declaration"):!i&&s.id.type!=="Identifier"&&!(t&&(this.type===C._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):s.init=null,e.declarations.push(this.finishNode(s,"VariableDeclarator")),!this.eat(C.comma))break}return e};se.parseVarId=function(e,t){e.id=t==="using"||t==="await using"?this.parseIdent():this.parseBindingAtom(),this.checkLValPattern(e.id,t==="var"?xf:Cr,!1)};var Ds=1,mf=2,cv=4;se.parseFunction=function(e,t,r,i,s){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!i)&&(this.type===C.star&&t&mf&&this.unexpected(),e.generator=this.eat(C.star)),this.options.ecmaVersion>=8&&(e.async=!!i),t&Ds&&(e.id=t&cv&&this.type!==C.name?null:this.parseIdent(),e.id&&!(t&mf)&&this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?xf:Cr:ov));var a=this.yieldPos,n=this.awaitPos,u=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(gf(e.async,e.generator)),t&Ds||(e.id=this.type===C.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1,s),this.yieldPos=a,this.awaitPos=n,this.awaitIdentPos=u,this.finishNode(e,t&Ds?"FunctionDeclaration":"FunctionExpression")};se.parseFunctionParams=function(e){this.expect(C.parenL),e.params=this.parseBindingList(C.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()};se.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var i=this.enterClassBody(),s=this.startNode(),a=!1;for(s.body=[],this.expect(C.braceL);this.type!==C.braceR;){var n=this.parseClassElement(e.superClass!==null);n&&(s.body.push(n),n.type==="MethodDefinition"&&n.kind==="constructor"?(a&&this.raiseRecoverable(n.start,"Duplicate constructor in the same class"),a=!0):n.key&&n.key.type==="PrivateIdentifier"&&c8(i,n)&&this.raiseRecoverable(n.key.start,"Identifier '#"+n.key.name+"' has already been declared"))}return this.strict=r,this.next(),e.body=this.finishNode(s,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};se.parseClassElement=function(e){if(this.eat(C.semi))return null;var t=this.options.ecmaVersion,r=this.startNode(),i="",s=!1,a=!1,n="method",u=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(C.braceL))return this.parseClassStaticBlock(r),r;this.isClassElementNameStart()||this.type===C.star?u=!0:i="static"}if(r.static=u,!i&&t>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===C.star)&&!this.canInsertSemicolon()?a=!0:i="async"),!i&&(t>=9||!a)&&this.eat(C.star)&&(s=!0),!i&&!a&&!s){var p=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?n=p:i=p)}if(i?(r.computed=!1,r.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),r.key.name=i,this.finishNode(r.key,"Identifier")):this.parseClassElementName(r),t<13||this.type===C.parenL||n!=="method"||s||a){var d=!r.static&&ja(r,"constructor"),f=d&&e;d&&n!=="method"&&this.raise(r.key.start,"Constructor can't have get/set modifier"),r.kind=d?"constructor":n,this.parseClassMethod(r,s,a,f)}else this.parseClassField(r);return r};se.isClassElementNameStart=function(){return this.type===C.name||this.type===C.privateId||this.type===C.num||this.type===C.string||this.type===C.bracketL||this.type.keyword};se.parseClassElementName=function(e){this.type===C.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)};se.parseClassMethod=function(e,t,r,i){var s=e.key;e.kind==="constructor"?(t&&this.raise(s.start,"Constructor can't be a generator"),r&&this.raise(s.start,"Constructor can't be an async method")):e.static&&ja(e,"prototype")&&this.raise(s.start,"Classes may not have a static property named prototype");var a=e.value=this.parseMethod(t,r,i);return e.kind==="get"&&a.params.length!==0&&this.raiseRecoverable(a.start,"getter should have no params"),e.kind==="set"&&a.params.length!==1&&this.raiseRecoverable(a.start,"setter should have exactly one param"),e.kind==="set"&&a.params[0].type==="RestElement"&&this.raiseRecoverable(a.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")};se.parseClassField=function(e){return ja(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&ja(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(C.eq)?(this.enterScope(js|Ha),e.value=this.parseMaybeAssign(),this.exitScope()):e.value=null,this.semicolon(),this.finishNode(e,"PropertyDefinition")};se.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(ki|Ha);this.type!==C.braceR;){var r=this.parseStatement(null);e.body.push(r)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")};se.parseClassId=function(e,t){this.type===C.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,Cr,!1)):(t===!0&&this.unexpected(),e.id=null)};se.parseClassSuper=function(e){e.superClass=this.eat(C._extends)?this.parseExprSubscripts(null,!1):null};se.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared};se.exitClassBody=function(){var e=this.privateNameStack.pop(),t=e.declared,r=e.used;if(this.options.checkPrivateFields)for(var i=this.privateNameStack.length,s=i===0?null:this.privateNameStack[i-1],a=0;a<r.length;++a){var n=r[a];Zi(t,n.name)||(s?s.used.push(n):this.raiseRecoverable(n.start,"Private field '#"+n.name+"' must be declared in an enclosing class"))}};function c8(e,t){var r=t.key.name,i=e[r],s="true";return t.type==="MethodDefinition"&&(t.kind==="get"||t.kind==="set")&&(s=(t.static?"s":"i")+t.kind),i==="iget"&&s==="iset"||i==="iset"&&s==="iget"||i==="sget"&&s==="sset"||i==="sset"&&s==="sget"?(e[r]="true",!1):i?!0:(e[r]=s,!1)}function ja(e,t){var r=e.computed,i=e.key;return!r&&(i.type==="Identifier"&&i.name===t||i.type==="Literal"&&i.value===t)}se.parseExportAllDeclaration=function(e,t){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==C.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")};se.parseExport=function(e,t){if(this.next(),this.eat(C.star))return this.parseExportAllDeclaration(e,t);if(this.eat(C._default))return this.checkExport(t,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[]);else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==C.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause());else{for(var r=0,i=e.specifiers;r<i.length;r+=1){var s=i[r];this.checkUnreserved(s.local),this.checkLocalExport(s.local),s.local.type==="Literal"&&this.raise(s.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[])}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")};se.parseExportDeclaration=function(e){return this.parseStatement(null)};se.parseExportDefaultDeclaration=function(){var e;if(this.type===C._function||(e=this.isAsyncFunction())){var t=this.startNode();return this.next(),e&&this.next(),this.parseFunction(t,Ds|cv,!1,e)}else if(this.type===C._class){var r=this.startNode();return this.parseClass(r,"nullableID")}else{var i=this.parseMaybeAssign();return this.semicolon(),i}};se.checkExport=function(e,t,r){e&&(typeof t!="string"&&(t=t.type==="Identifier"?t.name:t.value),Zi(e,t)&&this.raiseRecoverable(r,"Duplicate export '"+t+"'"),e[t]=!0)};se.checkPatternExport=function(e,t){var r=t.type;if(r==="Identifier")this.checkExport(e,t,t.start);else if(r==="ObjectPattern")for(var i=0,s=t.properties;i<s.length;i+=1){var a=s[i];this.checkPatternExport(e,a)}else if(r==="ArrayPattern")for(var n=0,u=t.elements;n<u.length;n+=1){var p=u[n];p&&this.checkPatternExport(e,p)}else r==="Property"?this.checkPatternExport(e,t.value):r==="AssignmentPattern"?this.checkPatternExport(e,t.left):r==="RestElement"&&this.checkPatternExport(e,t.argument)};se.checkVariableExport=function(e,t){if(e)for(var r=0,i=t;r<i.length;r+=1){var s=i[r];this.checkPatternExport(e,s.id)}};se.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()};se.parseExportSpecifier=function(e){var t=this.startNode();return t.local=this.parseModuleExportName(),t.exported=this.eatContextual("as")?this.parseModuleExportName():t.local,this.checkExport(e,t.exported,t.exported.start),this.finishNode(t,"ExportSpecifier")};se.parseExportSpecifiers=function(e){var t=[],r=!0;for(this.expect(C.braceL);!this.eat(C.braceR);){if(r)r=!1;else if(this.expect(C.comma),this.afterTrailingComma(C.braceR))break;t.push(this.parseExportSpecifier(e))}return t};se.parseImport=function(e){return this.next(),this.type===C.string?(e.specifiers=u8,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===C.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ImportDeclaration")};se.parseImportSpecifier=function(){var e=this.startNode();return e.imported=this.parseModuleExportName(),this.eatContextual("as")?e.local=this.parseIdent():(this.checkUnreserved(e.imported),e.local=e.imported),this.checkLValSimple(e.local,Cr),this.finishNode(e,"ImportSpecifier")};se.parseImportDefaultSpecifier=function(){var e=this.startNode();return e.local=this.parseIdent(),this.checkLValSimple(e.local,Cr),this.finishNode(e,"ImportDefaultSpecifier")};se.parseImportNamespaceSpecifier=function(){var e=this.startNode();return this.next(),this.expectContextual("as"),e.local=this.parseIdent(),this.checkLValSimple(e.local,Cr),this.finishNode(e,"ImportNamespaceSpecifier")};se.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===C.name&&(e.push(this.parseImportDefaultSpecifier()),!this.eat(C.comma)))return e;if(this.type===C.star)return e.push(this.parseImportNamespaceSpecifier()),e;for(this.expect(C.braceL);!this.eat(C.braceR);){if(t)t=!1;else if(this.expect(C.comma),this.afterTrailingComma(C.braceR))break;e.push(this.parseImportSpecifier())}return e};se.parseWithClause=function(){var e=[];if(!this.eat(C._with))return e;this.expect(C.braceL);for(var t={},r=!0;!this.eat(C.braceR);){if(r)r=!1;else if(this.expect(C.comma),this.afterTrailingComma(C.braceR))break;var i=this.parseImportAttribute(),s=i.key.type==="Identifier"?i.key.name:i.key.value;Zi(t,s)&&this.raiseRecoverable(i.key.start,"Duplicate attribute key '"+s+"'"),t[s]=!0,e.push(i)}return e};se.parseImportAttribute=function(){var e=this.startNode();return e.key=this.type===C.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(C.colon),this.type!==C.string&&this.unexpected(),e.value=this.parseExprAtom(),this.finishNode(e,"ImportAttribute")};se.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===C.string){var e=this.parseLiteral(this.value);return s8.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)};se.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)};se.isDirectiveCandidate=function(e){return this.options.ecmaVersion>=5&&e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var It=Ne.prototype;It.toAssignable=function(e,t,r){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var i=0,s=e.properties;i<s.length;i+=1){var a=s[i];this.toAssignable(a,t),a.type==="RestElement"&&(a.argument.type==="ArrayPattern"||a.argument.type==="ObjectPattern")&&this.raise(a.argument.start,"Unexpected token")}break;case"Property":e.kind!=="init"&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",r&&this.checkPatternErrors(r,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),e.argument.type==="AssignmentPattern"&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":e.operator!=="="&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,r);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else r&&this.checkPatternErrors(r,!0);return e};It.toAssignableList=function(e,t){for(var r=e.length,i=0;i<r;i++){var s=e[i];s&&this.toAssignable(s,t)}if(r){var a=e[r-1];this.options.ecmaVersion===6&&t&&a&&a.type==="RestElement"&&a.argument.type!=="Identifier"&&this.unexpected(a.argument.start)}return e};It.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")};It.parseRestBinding=function(){var e=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==C.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")};It.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case C.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(C.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case C.braceL:return this.parseObj(!0)}return this.parseIdent()};It.parseBindingList=function(e,t,r,i){for(var s=[],a=!0;!this.eat(e);)if(a?a=!1:this.expect(C.comma),t&&this.type===C.comma)s.push(null);else{if(r&&this.afterTrailingComma(e))break;if(this.type===C.ellipsis){var n=this.parseRestBinding();this.parseBindingListItem(n),s.push(n),this.type===C.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else s.push(this.parseAssignableListItem(i))}return s};It.parseAssignableListItem=function(e){var t=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(t),t};It.parseBindingListItem=function(e){return e};It.parseMaybeDefault=function(e,t,r){if(r=r||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(C.eq))return r;var i=this.startNodeAt(e,t);return i.left=r,i.right=this.parseMaybeAssign(),this.finishNode(i,"AssignmentPattern")};It.checkLValSimple=function(e,t,r){t===void 0&&(t=Ba);var i=t!==Ba;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(i?"Binding ":"Assigning to ")+e.name+" in strict mode"),i&&(t===Cr&&e.name==="let"&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),r&&(Zi(r,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),r[e.name]=!0),t!==uv&&this.declareName(e.name,t,e.start));break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":i&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":return i&&this.raiseRecoverable(e.start,"Binding parenthesized expression"),this.checkLValSimple(e.expression,t,r);default:this.raise(e.start,(i?"Binding":"Assigning to")+" rvalue")}};It.checkLValPattern=function(e,t,r){switch(t===void 0&&(t=Ba),e.type){case"ObjectPattern":for(var i=0,s=e.properties;i<s.length;i+=1){var a=s[i];this.checkLValInnerPattern(a,t,r)}break;case"ArrayPattern":for(var n=0,u=e.elements;n<u.length;n+=1){var p=u[n];p&&this.checkLValInnerPattern(p,t,r)}break;default:this.checkLValSimple(e,t,r)}};It.checkLValInnerPattern=function(e,t,r){switch(t===void 0&&(t=Ba),e.type){case"Property":this.checkLValInnerPattern(e.value,t,r);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,r);break;case"RestElement":this.checkLValPattern(e.argument,t,r);break;default:this.checkLValPattern(e,t,r)}};var Pt=function(t,r,i,s,a){this.token=t,this.isExpr=!!r,this.preserveSpace=!!i,this.override=s,this.generator=!!a},Me={b_stat:new Pt("{",!1),b_expr:new Pt("{",!0),b_tmpl:new Pt("${",!1),p_stat:new Pt("(",!1),p_expr:new Pt("(",!0),q_tmpl:new Pt("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new Pt("function",!1),f_expr:new Pt("function",!0),f_expr_gen:new Pt("function",!0,!1,null,!0),f_gen:new Pt("function",!1,!1,null,!0)},es=Ne.prototype;es.initialContext=function(){return[Me.b_stat]};es.curContext=function(){return this.context[this.context.length-1]};es.braceIsBlock=function(e){var t=this.curContext();return t===Me.f_expr||t===Me.f_stat?!0:e===C.colon&&(t===Me.b_stat||t===Me.b_expr)?!t.isExpr:e===C._return||e===C.name&&this.exprAllowed?dt.test(this.input.slice(this.lastTokEnd,this.start)):e===C._else||e===C.semi||e===C.eof||e===C.parenR||e===C.arrow?!0:e===C.braceL?t===Me.b_stat:e===C._var||e===C._const||e===C.name?!1:!this.exprAllowed};es.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function")return t.generator}return!1};es.updateContext=function(e){var t,r=this.type;r.keyword&&e===C.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr};es.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)};C.parenR.updateContext=C.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===Me.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr};C.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?Me.b_stat:Me.b_expr),this.exprAllowed=!0};C.dollarBraceL.updateContext=function(){this.context.push(Me.b_tmpl),this.exprAllowed=!0};C.parenL.updateContext=function(e){var t=e===C._if||e===C._for||e===C._with||e===C._while;this.context.push(t?Me.p_stat:Me.p_expr),this.exprAllowed=!0};C.incDec.updateContext=function(){};C._function.updateContext=C._class.updateContext=function(e){e.beforeExpr&&e!==C._else&&!(e===C.semi&&this.curContext()!==Me.p_stat)&&!(e===C._return&&dt.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===C.colon||e===C.braceL)&&this.curContext()===Me.b_stat)?this.context.push(Me.f_expr):this.context.push(Me.f_stat),this.exprAllowed=!1};C.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0};C.backQuote.updateContext=function(){this.curContext()===Me.q_tmpl?this.context.pop():this.context.push(Me.q_tmpl),this.exprAllowed=!1};C.star.updateContext=function(e){if(e===C._function){var t=this.context.length-1;this.context[t]===Me.f_expr?this.context[t]=Me.f_expr_gen:this.context[t]=Me.f_gen}this.exprAllowed=!0};C.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==C.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var fe=Ne.prototype;fe.checkPropClash=function(e,t,r){if(!(this.options.ecmaVersion>=9&&e.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var i=e.key,s;switch(i.type){case"Identifier":s=i.name;break;case"Literal":s=String(i.value);break;default:return}var a=e.kind;if(this.options.ecmaVersion>=6){s==="__proto__"&&a==="init"&&(t.proto&&(r?r.doubleProto<0&&(r.doubleProto=i.start):this.raiseRecoverable(i.start,"Redefinition of __proto__ property")),t.proto=!0);return}s="$"+s;var n=t[s];if(n){var u;a==="init"?u=this.strict&&n.init||n.get||n.set:u=n.init||n[a],u&&this.raiseRecoverable(i.start,"Redefinition of property")}else n=t[s]={init:!1,get:!1,set:!1};n[a]=!0}};fe.parseExpression=function(e,t){var r=this;return this.catchStackOverflow(function(){var i=r.start,s=r.startLoc,a=r.parseMaybeAssign(e,t);if(r.type===C.comma){var n=r.startNodeAt(i,s);for(n.expressions=[a];r.eat(C.comma);)n.expressions.push(r.parseMaybeAssign(e,t));return r.finishNode(n,"SequenceExpression")}return a})};fe.parseMaybeAssign=function(e,t,r){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var i=!1,s=-1,a=-1,n=-1;t?(s=t.parenthesizedAssign,a=t.trailingComma,n=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new Ga,i=!0);var u=this.start,p=this.startLoc;(this.type===C.parenL||this.type===C.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=e==="await");var d=this.parseMaybeConditional(e,t);if(r&&(d=r.call(this,d,u,p)),this.type.isAssign){var f=this.startNodeAt(u,p);return f.operator=this.value,this.type===C.eq&&(d=this.toAssignable(d,!1,t)),i||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=d.start&&(t.shorthandAssign=-1),this.type===C.eq?this.checkLValPattern(d):this.checkLValSimple(d),f.left=d,this.next(),f.right=this.parseMaybeAssign(e),n>-1&&(t.doubleProto=n),this.finishNode(f,"AssignmentExpression")}else i&&this.checkExpressionErrors(t,!0);return s>-1&&(t.parenthesizedAssign=s),a>-1&&(t.trailingComma=a),d};fe.parseMaybeConditional=function(e,t){var r=this.start,i=this.startLoc,s=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return s;if(!(s.type==="ArrowFunctionExpression"&&s.start===r)&&this.eat(C.question)){var a=this.startNodeAt(r,i);return a.test=s,a.consequent=this.parseMaybeAssign(),this.expect(C.colon),a.alternate=this.parseMaybeAssign(e),this.finishNode(a,"ConditionalExpression")}return s};fe.parseExprOps=function(e,t){var r=this.start,i=this.startLoc,s=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||s.start===r&&s.type==="ArrowFunctionExpression"?s:this.parseExprOp(s,r,i,-1,e)};fe.parseExprOp=function(e,t,r,i,s){var a=this.type.binop;if(a!=null&&(!s||this.type!==C._in)&&a>i){var n=this.type===C.logicalOR||this.type===C.logicalAND,u=this.type===C.coalesce;u&&(a=C.logicalAND.binop);var p=this.value;this.next();var d=this.start,f=this.startLoc,h=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,s),d,f,a,s),_=this.buildBinary(t,r,e,h,p,n||u);return(n&&this.type===C.coalesce||u&&(this.type===C.logicalOR||this.type===C.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(_,t,r,i,s)}return e};fe.buildBinary=function(e,t,r,i,s,a){i.type==="PrivateIdentifier"&&this.raise(i.start,"Private identifier can only be left side of binary expression");var n=this.startNodeAt(e,t);return n.left=r,n.operator=s,n.right=i,this.finishNode(n,a?"LogicalExpression":"BinaryExpression")};fe.parseMaybeUnary=function(e,t,r,i){var s=this.start,a=this.startLoc,n;if(this.isContextual("await")&&this.canAwait)n=this.parseAwait(i),t=!0;else if(this.type.prefix){var u=this.startNode(),p=this.type===C.incDec;u.operator=this.value,u.prefix=!0,this.next(),u.argument=this.parseMaybeUnary(null,!0,p,i),this.checkExpressionErrors(e,!0),p?this.checkLValSimple(u.argument):this.strict&&u.operator==="delete"&&pv(u.argument)?this.raiseRecoverable(u.start,"Deleting local variable in strict mode"):u.operator==="delete"&&hf(u.argument)?this.raiseRecoverable(u.start,"Private fields can not be deleted"):t=!0,n=this.finishNode(u,p?"UpdateExpression":"UnaryExpression")}else if(!t&&this.type===C.privateId)(i||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),n=this.parsePrivateIdent(),this.type!==C._in&&this.unexpected();else{if(n=this.parseExprSubscripts(e,i),this.checkExpressionErrors(e))return n;for(;this.type.postfix&&!this.canInsertSemicolon();){var d=this.startNodeAt(s,a);d.operator=this.value,d.prefix=!1,d.argument=n,this.checkLValSimple(n),this.next(),n=this.finishNode(d,"UpdateExpression")}}if(!r&&!(n.type==="ArrowFunctionExpression"&&n.start===s)&&this.eat(C.starstar))if(t)this.unexpected(this.lastTokStart);else return this.buildBinary(s,a,n,this.parseMaybeUnary(null,!1,!1,i),"**",!1);else return n};function pv(e){return e.type==="Identifier"||e.type==="ParenthesizedExpression"&&pv(e.expression)}function hf(e){return e.type==="MemberExpression"&&e.property.type==="PrivateIdentifier"||e.type==="ChainExpression"&&hf(e.expression)||e.type==="ParenthesizedExpression"&&hf(e.expression)}fe.parseExprSubscripts=function(e,t){var r=this.start,i=this.startLoc,s=this.parseExprAtom(e,t);if(s.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return s;var a=this.parseSubscripts(s,r,i,!1,t);return e&&a.type==="MemberExpression"&&(e.parenthesizedAssign>=a.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=a.start&&(e.parenthesizedBind=-1),e.trailingComma>=a.start&&(e.trailingComma=-1)),a};fe.parseSubscripts=function(e,t,r,i,s){for(var a=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start,n=!1;;){var u=this.parseSubscript(e,t,r,i,a,n,s);if(u.optional&&(n=!0),u===e||u.type==="ArrowFunctionExpression"){if(n){var p=this.startNodeAt(t,r);p.expression=u,u=this.finishNode(p,"ChainExpression")}return u}e=u}};fe.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(C.arrow)};fe.parseSubscriptAsyncArrow=function(e,t,r,i){return this.parseArrowExpression(this.startNodeAt(e,t),r,!0,i)};fe.parseSubscript=function(e,t,r,i,s,a,n){var u=this.options.ecmaVersion>=11,p=u&&this.eat(C.questionDot);i&&p&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var d=this.eat(C.bracketL);if(d||p&&this.type!==C.parenL&&this.type!==C.backQuote||this.eat(C.dot)){var f=this.startNodeAt(t,r);f.object=e,d?(f.property=this.parseExpression(),this.expect(C.bracketR)):this.type===C.privateId&&e.type!=="Super"?f.property=this.parsePrivateIdent():f.property=this.parseIdent(this.options.allowReserved!=="never"),f.computed=!!d,u&&(f.optional=p),e=this.finishNode(f,"MemberExpression")}else if(!i&&this.eat(C.parenL)){var h=new Ga,_=this.yieldPos,g=this.awaitPos,E=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var S=this.parseExprList(C.parenR,this.options.ecmaVersion>=8,!1,h);if(s&&!p&&this.shouldParseAsyncArrow())return this.checkPatternErrors(h,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=_,this.awaitPos=g,this.awaitIdentPos=E,this.parseSubscriptAsyncArrow(t,r,S,n);this.checkExpressionErrors(h,!0),this.yieldPos=_||this.yieldPos,this.awaitPos=g||this.awaitPos,this.awaitIdentPos=E||this.awaitIdentPos;var o=this.startNodeAt(t,r);o.callee=e,o.arguments=S,u&&(o.optional=p),e=this.finishNode(o,"CallExpression")}else if(this.type===C.backQuote){(p||a)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var l=this.startNodeAt(t,r);l.tag=e,l.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(l,"TaggedTemplateExpression")}return e};fe.parseExprAtom=function(e,t,r){this.type===C.slash&&this.readRegexp();var i,s=this.potentialArrowAt===this.start;switch(this.type){case C._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),i=this.startNode(),this.next(),this.type===C.parenL&&!this.allowDirectSuper&&this.raise(i.start,"super() call outside constructor of a subclass"),this.type!==C.dot&&this.type!==C.bracketL&&this.type!==C.parenL&&this.unexpected(),this.finishNode(i,"Super");case C._this:return i=this.startNode(),this.next(),this.finishNode(i,"ThisExpression");case C.name:var a=this.start,n=this.startLoc,u=this.containsEsc,p=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!u&&p.name==="async"&&!this.canInsertSemicolon()&&this.eat(C._function))return this.overrideContext(Me.f_expr),this.parseFunction(this.startNodeAt(a,n),0,!1,!0,t);if(s&&!this.canInsertSemicolon()){if(this.eat(C.arrow))return this.parseArrowExpression(this.startNodeAt(a,n),[p],!1,t);if(this.options.ecmaVersion>=8&&p.name==="async"&&this.type===C.name&&!u&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return p=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(C.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(a,n),[p],!0,t)}return p;case C.regexp:var d=this.value;return i=this.parseLiteral(d.value),i.regex={pattern:d.pattern,flags:d.flags},i;case C.num:case C.string:return this.parseLiteral(this.value);case C._null:case C._true:case C._false:return i=this.startNode(),i.value=this.type===C._null?null:this.type===C._true,i.raw=this.type.keyword,this.next(),this.finishNode(i,"Literal");case C.parenL:var f=this.start,h=this.parseParenAndDistinguishExpression(s,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(h)&&(e.parenthesizedAssign=f),e.parenthesizedBind<0&&(e.parenthesizedBind=f)),h;case C.bracketL:return i=this.startNode(),this.next(),i.elements=this.parseExprList(C.bracketR,!0,!0,e),this.finishNode(i,"ArrayExpression");case C.braceL:return this.overrideContext(Me.b_expr),this.parseObj(!1,e);case C._function:return i=this.startNode(),this.next(),this.parseFunction(i,0);case C._class:return this.parseClass(this.startNode(),!1);case C._new:return this.parseNew();case C.backQuote:return this.parseTemplate();case C._import:return this.options.ecmaVersion>=11?this.parseExprImport(r):this.unexpected();default:return this.parseExprAtomDefault()}};fe.parseExprAtomDefault=function(){this.unexpected()};fe.parseExprImport=function(e){var t=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===C.parenL&&!e)return this.parseDynamicImport(t);if(this.type===C.dot){var r=this.startNodeAt(t.start,t.loc&&t.loc.start);return r.name="import",t.meta=this.finishNode(r,"Identifier"),this.parseImportMeta(t)}else this.unexpected()};fe.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(C.parenR)?e.options=null:(this.expect(C.comma),this.afterTrailingComma(C.parenR)?e.options=null:(e.options=this.parseMaybeAssign(),this.eat(C.parenR)||(this.expect(C.comma),this.afterTrailingComma(C.parenR)||this.unexpected())));else if(!this.eat(C.parenR)){var t=this.start;this.eat(C.comma)&&this.eat(C.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")};fe.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")};fe.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.value!=null?t.value.toString():t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")};fe.parseParenExpression=function(){this.expect(C.parenL);var e=this.parseExpression();return this.expect(C.parenR),e};fe.shouldParseArrow=function(e){return!this.canInsertSemicolon()};fe.parseParenAndDistinguishExpression=function(e,t){var r=this.start,i=this.startLoc,s,a=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var n=this.start,u=this.startLoc,p=[],d=!0,f=!1,h=new Ga,_=this.yieldPos,g=this.awaitPos,E;for(this.yieldPos=0,this.awaitPos=0;this.type!==C.parenR;)if(d?d=!1:this.expect(C.comma),a&&this.afterTrailingComma(C.parenR,!0)){f=!0;break}else if(this.type===C.ellipsis){E=this.start,p.push(this.parseParenItem(this.parseRestBinding())),this.type===C.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else p.push(this.parseMaybeAssign(!1,h,this.parseParenItem));var S=this.lastTokEnd,o=this.lastTokEndLoc;if(this.expect(C.parenR),e&&this.shouldParseArrow(p)&&this.eat(C.arrow))return this.checkPatternErrors(h,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=_,this.awaitPos=g,this.parseParenArrowList(r,i,p,t);(!p.length||f)&&this.unexpected(this.lastTokStart),E&&this.unexpected(E),this.checkExpressionErrors(h,!0),this.yieldPos=_||this.yieldPos,this.awaitPos=g||this.awaitPos,p.length>1?(s=this.startNodeAt(n,u),s.expressions=p,this.finishNodeAt(s,"SequenceExpression",S,o)):s=p[0]}else s=this.parseParenExpression();if(this.options.preserveParens){var l=this.startNodeAt(r,i);return l.expression=s,this.finishNode(l,"ParenthesizedExpression")}else return s};fe.parseParenItem=function(e){return e};fe.parseParenArrowList=function(e,t,r,i){return this.parseArrowExpression(this.startNodeAt(e,t),r,!1,i)};var p8=[];fe.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===C.dot){var t=this.startNodeAt(e.start,e.loc&&e.loc.start);t.name="new",e.meta=this.finishNode(t,"Identifier"),this.next();var r=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),r&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var i=this.start,s=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),i,s,!0,!1),e.callee.type==="Super"&&this.raiseRecoverable(i,"Invalid use of 'super'"),this.eat(C.parenL)?e.arguments=this.parseExprList(C.parenR,this.options.ecmaVersion>=8,!1):e.arguments=p8,this.finishNode(e,"NewExpression")};fe.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===C.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value.replace(/\r\n?/g,`
|
|
83
|
+
`),cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
|
|
84
|
+
`),cooked:this.value},this.next(),r.tail=this.type===C.backQuote,this.finishNode(r,"TemplateElement")};fe.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var i=this.parseTemplateElement({isTagged:t});for(r.quasis=[i];!i.tail;)this.type===C.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(C.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(C.braceR),r.quasis.push(i=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")};fe.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===C.name||this.type===C.num||this.type===C.string||this.type===C.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===C.star)&&!dt.test(this.input.slice(this.lastTokEnd,this.start))};fe.parseObj=function(e,t){var r=this.startNode(),i=!0,s={};for(r.properties=[],this.next();!this.eat(C.braceR);){if(i)i=!1;else if(this.expect(C.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(C.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,s,t),r.properties.push(a)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")};fe.parseProperty=function(e,t){var r=this.startNode(),i,s,a,n;if(this.options.ecmaVersion>=9&&this.eat(C.ellipsis))return e?(r.argument=this.parseIdent(!1),this.type===C.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(r,"RestElement")):(r.argument=this.parseMaybeAssign(!1,t),this.type===C.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(r,"SpreadElement"));this.options.ecmaVersion>=6&&(r.method=!1,r.shorthand=!1,(e||t)&&(a=this.start,n=this.startLoc),e||(i=this.eat(C.star)));var u=this.containsEsc;return this.parsePropertyName(r),!e&&!u&&this.options.ecmaVersion>=8&&!i&&this.isAsyncProp(r)?(s=!0,i=this.options.ecmaVersion>=9&&this.eat(C.star),this.parsePropertyName(r)):s=!1,this.parsePropertyValue(r,e,i,s,a,n,t,u),this.finishNode(r,"Property")};fe.parseGetterSetter=function(e){var t=e.key.name;this.parsePropertyName(e),e.value=this.parseMethod(!1),e.kind=t;var r=e.kind==="get"?0:1;if(e.value.params.length!==r){var i=e.value.start;e.kind==="get"?this.raiseRecoverable(i,"getter should have no params"):this.raiseRecoverable(i,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")};fe.parsePropertyValue=function(e,t,r,i,s,a,n,u){(r||i)&&this.type===C.colon&&this.unexpected(),this.eat(C.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,n),e.kind="init"):this.options.ecmaVersion>=6&&this.type===C.parenL?(t&&this.unexpected(),e.method=!0,e.value=this.parseMethod(r,i),e.kind="init"):!t&&!u&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==C.comma&&this.type!==C.braceR&&this.type!==C.eq?((r||i)&&this.unexpected(),this.parseGetterSetter(e)):this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((r||i)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=s),t?e.value=this.parseMaybeDefault(s,a,this.copyNode(e.key)):this.type===C.eq&&n?(n.shorthandAssign<0&&(n.shorthandAssign=this.start),e.value=this.parseMaybeDefault(s,a,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.kind="init",e.shorthand=!0):this.unexpected()};fe.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(C.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(C.bracketR),e.key;e.computed=!1}return e.key=this.type===C.num||this.type===C.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};fe.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)};fe.parseMethod=function(e,t,r){var i=this.startNode(),s=this.yieldPos,a=this.awaitPos,n=this.awaitIdentPos;return this.initFunction(i),this.options.ecmaVersion>=6&&(i.generator=e),this.options.ecmaVersion>=8&&(i.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(gf(t,i.generator)|Ha|(r?av:0)),this.expect(C.parenL),i.params=this.parseBindingList(C.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(i,!1,!0,!1),this.yieldPos=s,this.awaitPos=a,this.awaitIdentPos=n,this.finishNode(i,"FunctionExpression")};fe.parseArrowExpression=function(e,t,r,i){var s=this.yieldPos,a=this.awaitPos,n=this.awaitIdentPos;return this.enterScope(gf(r,!1)|yf),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,i),this.yieldPos=s,this.awaitPos=a,this.awaitIdentPos=n,this.finishNode(e,"ArrowFunctionExpression")};fe.parseFunctionBody=function(e,t,r,i){var s=t&&this.type!==C.braceL,a=this.strict,n=!1;if(s)e.body=this.parseMaybeAssign(i),e.expression=!0,this.checkParams(e,!1);else{var u=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!a||u)&&(n=this.strictDirective(this.end),n&&u&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var p=this.labels;this.labels=[],n&&(this.strict=!0),this.checkParams(e,!a&&!n&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,uv),e.body=this.parseBlock(!1,void 0,n&&!a),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=p}this.exitScope()};fe.isSimpleParamList=function(e){for(var t=0,r=e;t<r.length;t+=1){var i=r[t];if(i.type!=="Identifier")return!1}return!0};fe.checkParams=function(e,t){for(var r=Object.create(null),i=0,s=e.params;i<s.length;i+=1){var a=s[i];this.checkLValInnerPattern(a,xf,t?null:r)}};fe.parseExprList=function(e,t,r,i){for(var s=[],a=!0;!this.eat(e);){if(a)a=!1;else if(this.expect(C.comma),t&&this.afterTrailingComma(e))break;var n=void 0;r&&this.type===C.comma?n=null:this.type===C.ellipsis?(n=this.parseSpread(i),i&&this.type===C.comma&&i.trailingComma<0&&(i.trailingComma=this.start)):n=this.parseMaybeAssign(!1,i),s.push(n)}return s};fe.checkUnreserved=function(e){var t=e.start,r=e.end,i=e.name;if(this.inGenerator&&i==="yield"&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&i==="await"&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),!(this.currentThisScope().flags&za)&&i==="arguments"&&this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(i==="arguments"||i==="await")&&this.raise(t,"Cannot use "+i+" in class static initialization block"),this.keywords.test(i)&&this.raise(t,"Unexpected keyword '"+i+"'"),!(this.options.ecmaVersion<6&&this.input.slice(t,r).indexOf("\\")!==-1)){var s=this.strict?this.reservedWordsStrict:this.reservedWords;s.test(i)&&(!this.inAsync&&i==="await"&&this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+i+"' is reserved"))}};fe.parseIdent=function(e){var t=this.parseIdentNode();return this.next(!!e),this.finishNode(t,"Identifier"),e||(this.checkUnreserved(t),t.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=t.start)),t};fe.parseIdentNode=function(){var e=this.startNode();return this.type===C.name?e.name=this.value:this.type.keyword?(e.name=this.type.keyword,(e.name==="class"||e.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop(),this.type=C.name):this.unexpected(),e};fe.parsePrivateIdent=function(){var e=this.startNode();return this.type===C.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(e)),e};fe.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===C.semi||this.canInsertSemicolon()||this.type!==C.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(C.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")};fe.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")};var Fa=Ne.prototype;Fa.raise=function(e,t){var r=bf(this.input,e);t+=" ("+r.line+":"+r.column+")",this.sourceFile&&(t+=" in "+this.sourceFile);var i=new SyntaxError(t);throw i.pos=e,i.loc=r,i.raisedAt=this.pos,i};Fa.raiseRecoverable=Fa.raise;Fa.curPosition=function(){if(this.options.locations)return new Qi(this.curLine,this.pos-this.lineStart)};var Wr=Ne.prototype,d8=function(t){this.flags=t,this.var=[],this.lexical=[],this.functions=[]};Wr.enterScope=function(e){this.scopeStack.push(new d8(e))};Wr.exitScope=function(){this.scopeStack.pop()};Wr.treatFunctionsAsVarInScope=function(e){return e.flags&wi||!this.inModule&&e.flags&gi};Wr.declareName=function(e,t,r){var i=!1;if(t===Cr){var s=this.currentScope();i=s.lexical.indexOf(e)>-1||s.functions.indexOf(e)>-1||s.var.indexOf(e)>-1,s.lexical.push(e),this.inModule&&s.flags&gi&&delete this.undefinedExports[e]}else if(t===lv){var a=this.currentScope();a.lexical.push(e)}else if(t===ov){var n=this.currentScope();this.treatFunctionsAsVar?i=n.lexical.indexOf(e)>-1:i=n.lexical.indexOf(e)>-1||n.var.indexOf(e)>-1,n.functions.push(e)}else for(var u=this.scopeStack.length-1;u>=0;--u){var p=this.scopeStack[u];if(p.lexical.indexOf(e)>-1&&!(p.flags&sv&&p.lexical[0]===e)||!this.treatFunctionsAsVarInScope(p)&&p.functions.indexOf(e)>-1){i=!0;break}if(p.var.push(e),this.inModule&&p.flags&gi&&delete this.undefinedExports[e],p.flags&za)break}i&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")};Wr.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)};Wr.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};Wr.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&(za|js|ki))return t}};Wr.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&(za|js|ki)&&!(t.flags&yf))return t}};var Fs=function(t,r,i){this.type="",this.start=r,this.end=0,t.options.locations&&(this.loc=new Bs(t,i)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[r,0])},Vs=Ne.prototype;Vs.startNode=function(){return new Fs(this,this.start,this.startLoc)};Vs.startNodeAt=function(e,t){return new Fs(this,e,t)};function dv(e,t,r,i){return e.type=t,e.end=r,this.options.locations&&(e.loc.end=i),this.options.ranges&&(e.range[1]=r),e}Vs.finishNode=function(e,t){return dv.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};Vs.finishNodeAt=function(e,t,r,i){return dv.call(this,e,t,r,i)};Vs.copyNode=function(e){var t=new Fs(this,e.start,this.startLoc);for(var r in e)t[r]=e[r];return t};var f8="Berf Beria_Erfe Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sidetic Sidt Sunu Sunuwar Tai_Yo Tayo Todhri Todr Tolong_Siki Tols Tulu_Tigalari Tutg Unknown Zzzz",fv="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",mv=fv+" Extended_Pictographic",hv=mv,_v=hv+" EBase EComp EMod EPres ExtPict",bv=_v,m8=bv,h8={9:fv,10:mv,11:hv,12:_v,13:bv,14:m8},_8="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",b8={9:"",10:"",11:"",12:"",13:"",14:_8},Xb="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",vv="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",yv=vv+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",gv=yv+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",xv=gv+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",wv=xv+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",v8=wv+" "+f8,y8={9:vv,10:yv,11:gv,12:xv,13:wv,14:v8},kv={};function g8(e){var t=kv[e]={binary:Gr(h8[e]+" "+Xb),binaryOfStrings:Gr(b8[e]),nonBinary:{General_Category:Gr(Xb),Script:Gr(y8[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}for(Oa=0,df=[9,10,11,12,13,14];Oa<df.length;Oa+=1)Yb=df[Oa],g8(Yb);var Yb,Oa,df,te=Ne.prototype,Va=function(t,r){this.parent=t,this.base=r||this};Va.prototype.separatedFrom=function(t){for(var r=this;r;r=r.parent)for(var i=t;i;i=i.parent)if(r.base===i.base&&r!==i)return!0;return!1};Va.prototype.sibling=function(){return new Va(this.parent,this.base)};var nr=function(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":"")+(t.options.ecmaVersion>=13?"d":"")+(t.options.ecmaVersion>=15?"v":""),this.unicodeProperties=kv[t.options.ecmaVersion>=14?14:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};nr.prototype.reset=function(t,r,i){var s=i.indexOf("v")!==-1,a=i.indexOf("u")!==-1;this.start=t|0,this.source=r+"",this.flags=i,s&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=a&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=a&&this.parser.options.ecmaVersion>=9)};nr.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)};nr.prototype.at=function(t,r){r===void 0&&(r=!1);var i=this.source,s=i.length;if(t>=s)return-1;var a=i.charCodeAt(t);if(!(r||this.switchU)||a<=55295||a>=57344||t+1>=s)return a;var n=i.charCodeAt(t+1);return n>=56320&&n<=57343?(a<<10)+n-56613888:a};nr.prototype.nextIndex=function(t,r){r===void 0&&(r=!1);var i=this.source,s=i.length;if(t>=s)return s;var a=i.charCodeAt(t),n;return!(r||this.switchU)||a<=55295||a>=57344||t+1>=s||(n=i.charCodeAt(t+1))<56320||n>57343?t+1:t+2};nr.prototype.current=function(t){return t===void 0&&(t=!1),this.at(this.pos,t)};nr.prototype.lookahead=function(t){return t===void 0&&(t=!1),this.at(this.nextIndex(this.pos,t),t)};nr.prototype.advance=function(t){t===void 0&&(t=!1),this.pos=this.nextIndex(this.pos,t)};nr.prototype.eat=function(t,r){return r===void 0&&(r=!1),this.current(r)===t?(this.advance(r),!0):!1};nr.prototype.eatChars=function(t,r){r===void 0&&(r=!1);for(var i=this.pos,s=0,a=t;s<a.length;s+=1){var n=a[s],u=this.at(i,r);if(u===-1||u!==n)return!1;i=this.nextIndex(i,r)}return this.pos=i,!0};te.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,i=!1,s=!1,a=0;a<r.length;a++){var n=r.charAt(a);t.indexOf(n)===-1&&this.raise(e.start,"Invalid regular expression flag"),r.indexOf(n,a+1)>-1&&this.raise(e.start,"Duplicate regular expression flag"),n==="u"&&(i=!0),n==="v"&&(s=!0)}this.options.ecmaVersion>=15&&i&&s&&this.raise(e.start,"Invalid regular expression flag")};function x8(e){for(var t in e)return!0;return!1}te.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&x8(e.groupNames)&&(e.switchN=!0,this.regexp_pattern(e))};te.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames=Object.create(null),e.backReferenceNames.length=0,e.branchID=null,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t<r.length;t+=1){var i=r[t];e.groupNames[i]||e.raise("Invalid named capture referenced")}};te.regexp_disjunction=function(e){var t=this.options.ecmaVersion>=16;for(t&&(e.branchID=new Va(e.branchID,null)),this.regexp_alternative(e);e.eat(124);)t&&(e.branchID=e.branchID.sibling()),this.regexp_alternative(e);t&&(e.branchID=e.branchID.parent),this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")};te.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););};te.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e))?(this.regexp_eatQuantifier(e),!0):!1};te.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var r=!1;if(this.options.ecmaVersion>=9&&(r=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!r,!0}return e.pos=t,!1};te.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1};te.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};te.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var i=0,s=-1;if(this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(s=e.lastIntValue),e.eat(125)))return s!==-1&&s<i&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=r}return!1};te.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)};te.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1};te.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)){if(this.options.ecmaVersion>=16){var r=this.regexp_eatModifiers(e),i=e.eat(45);if(r||i){for(var s=0;s<r.length;s++){var a=r.charAt(s);r.indexOf(a,s+1)>-1&&e.raise("Duplicate regular expression modifiers")}if(i){var n=this.regexp_eatModifiers(e);!r&&!n&&e.current()===58&&e.raise("Invalid regular expression modifiers");for(var u=0;u<n.length;u++){var p=n.charAt(u);(n.indexOf(p,u+1)>-1||r.indexOf(p)>-1)&&e.raise("Duplicate regular expression modifiers")}}}}if(e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}}e.pos=t}return!1};te.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1};te.regexp_eatModifiers=function(e){for(var t="",r=0;(r=e.current())!==-1&&w8(r);)t+=wr(r),e.advance();return t};function w8(e){return e===105||e===109||e===115}te.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)};te.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1};te.regexp_eatSyntaxCharacter=function(e){var t=e.current();return Cv(t)?(e.lastIntValue=t,e.advance(),!0):!1};function Cv(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}te.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;(r=e.current())!==-1&&!Cv(r);)e.advance();return e.pos!==t};te.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1};te.regexp_groupSpecifier=function(e){if(e.eat(63)){this.regexp_eatGroupName(e)||e.raise("Invalid group");var t=this.options.ecmaVersion>=16,r=e.groupNames[e.lastStringValue];if(r)if(t)for(var i=0,s=r;i<s.length;i+=1){var a=s[i];a.separatedFrom(e.branchID)||e.raise("Duplicate capture group name")}else e.raise("Duplicate capture group name");t?(r||(e.groupNames[e.lastStringValue]=[])).push(e.branchID):e.groupNames[e.lastStringValue]=!0}};te.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1};te.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=wr(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=wr(e.lastIntValue);return!0}return!1};te.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,i=e.current(r);return e.advance(r),i===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(i=e.lastIntValue),k8(i)?(e.lastIntValue=i,!0):(e.pos=t,!1)};function k8(e){return xt(e,!0)||e===36||e===95}te.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,i=e.current(r);return e.advance(r),i===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(i=e.lastIntValue),C8(i)?(e.lastIntValue=i,!0):(e.pos=t,!1)};function C8(e){return Ut(e,!0)||e===36||e===95||e===8204||e===8205}te.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)};te.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU)return r>e.maxBackReference&&(e.maxBackReference=r),!0;if(r<=e.numCapturingParens)return!0;e.pos=t}return!1};te.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1};te.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};te.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1};te.regexp_eatZero=function(e){return e.current()===48&&!Wa(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1};te.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1};te.regexp_eatControlLetter=function(e){var t=e.current();return Sv(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function Sv(e){return e>=65&&e<=90||e>=97&&e<=122}te.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var r=e.pos,i=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var s=e.lastIntValue;if(i&&s>=55296&&s<=56319){var a=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var n=e.lastIntValue;if(n>=56320&&n<=57343)return e.lastIntValue=(s-55296)*1024+(n-56320)+65536,!0}e.pos=a,e.lastIntValue=s}return!0}if(i&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&S8(e.lastIntValue))return!0;i&&e.raise("Invalid unicode escape"),e.pos=r}return!1};function S8(e){return e>=0&&e<=1114111}te.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1};te.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1};var Ev=0,kr=1,Rt=2;te.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(E8(t))return e.lastIntValue=-1,e.advance(),kr;var r=!1;if(e.switchU&&this.options.ecmaVersion>=9&&((r=t===80)||t===112)){e.lastIntValue=-1,e.advance();var i;if(e.eat(123)&&(i=this.regexp_eatUnicodePropertyValueExpression(e))&&e.eat(125))return r&&i===Rt&&e.raise("Invalid property name"),i;e.raise("Invalid property name")}return Ev};function E8(e){return e===100||e===68||e===115||e===83||e===119||e===87}te.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,r,i),kr}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var s=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,s)}return Ev};te.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){Zi(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")};te.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(e.unicodeProperties.binary.test(t))return kr;if(e.switchV&&e.unicodeProperties.binaryOfStrings.test(t))return Rt;e.raise("Invalid property name")};te.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";Tv(t=e.current());)e.lastStringValue+=wr(t),e.advance();return e.lastStringValue!==""};function Tv(e){return Sv(e)||e===95}te.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";T8(t=e.current());)e.lastStringValue+=wr(t),e.advance();return e.lastStringValue!==""};function T8(e){return Tv(e)||Wa(e)}te.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};te.regexp_eatCharacterClass=function(e){if(e.eat(91)){var t=e.eat(94),r=this.regexp_classContents(e);return e.eat(93)||e.raise("Unterminated character class"),t&&r===Rt&&e.raise("Negated character class may contain strings"),!0}return!1};te.regexp_classContents=function(e){return e.current()===93?kr:e.switchV?this.regexp_classSetExpression(e):(this.regexp_nonEmptyClassRanges(e),kr)};te.regexp_nonEmptyClassRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;e.switchU&&(t===-1||r===-1)&&e.raise("Invalid character class"),t!==-1&&r!==-1&&t>r&&e.raise("Range out of order in character class")}}};te.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var r=e.current();(r===99||Rv(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var i=e.current();return i!==93?(e.lastIntValue=i,e.advance(),!0):!1};te.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};te.regexp_classSetExpression=function(e){var t=kr,r;if(!this.regexp_eatClassSetRange(e))if(r=this.regexp_eatClassSetOperand(e)){r===Rt&&(t=Rt);for(var i=e.pos;e.eatChars([38,38]);){if(e.current()!==38&&(r=this.regexp_eatClassSetOperand(e))){r!==Rt&&(t=kr);continue}e.raise("Invalid character in character class")}if(i!==e.pos)return t;for(;e.eatChars([45,45]);)this.regexp_eatClassSetOperand(e)||e.raise("Invalid character in character class");if(i!==e.pos)return t}else e.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(e)){if(r=this.regexp_eatClassSetOperand(e),!r)return t;r===Rt&&(t=Rt)}};te.regexp_eatClassSetRange=function(e){var t=e.pos;if(this.regexp_eatClassSetCharacter(e)){var r=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassSetCharacter(e)){var i=e.lastIntValue;return r!==-1&&i!==-1&&r>i&&e.raise("Range out of order in character class"),!0}e.pos=t}return!1};te.regexp_eatClassSetOperand=function(e){return this.regexp_eatClassSetCharacter(e)?kr:this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)};te.regexp_eatNestedClass=function(e){var t=e.pos;if(e.eat(91)){var r=e.eat(94),i=this.regexp_classContents(e);if(e.eat(93))return r&&i===Rt&&e.raise("Negated character class may contain strings"),i;e.pos=t}if(e.eat(92)){var s=this.regexp_eatCharacterClassEscape(e);if(s)return s;e.pos=t}return null};te.regexp_eatClassStringDisjunction=function(e){var t=e.pos;if(e.eatChars([92,113])){if(e.eat(123)){var r=this.regexp_classStringDisjunctionContents(e);if(e.eat(125))return r}else e.raise("Invalid escape");e.pos=t}return null};te.regexp_classStringDisjunctionContents=function(e){for(var t=this.regexp_classString(e);e.eat(124);)this.regexp_classString(e)===Rt&&(t=Rt);return t};te.regexp_classString=function(e){for(var t=0;this.regexp_eatClassSetCharacter(e);)t++;return t===1?kr:Rt};te.regexp_eatClassSetCharacter=function(e){var t=e.pos;if(e.eat(92))return this.regexp_eatCharacterEscape(e)||this.regexp_eatClassSetReservedPunctuator(e)?!0:e.eat(98)?(e.lastIntValue=8,!0):(e.pos=t,!1);var r=e.current();return r<0||r===e.lookahead()&&A8(r)||P8(r)?!1:(e.advance(),e.lastIntValue=r,!0)};function A8(e){return e===33||e>=35&&e<=38||e>=42&&e<=44||e===46||e>=58&&e<=64||e===94||e===96||e===126}function P8(e){return e===40||e===41||e===45||e===47||e>=91&&e<=93||e>=123&&e<=125}te.regexp_eatClassSetReservedPunctuator=function(e){var t=e.current();return R8(t)?(e.lastIntValue=t,e.advance(),!0):!1};function R8(e){return e===33||e===35||e===37||e===38||e===44||e===45||e>=58&&e<=62||e===64||e===96||e===126}te.regexp_eatClassControlLetter=function(e){var t=e.current();return Wa(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1};te.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1};te.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;Wa(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t};function Wa(e){return e>=48&&e<=57}te.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;Av(r=e.current());)e.lastIntValue=16*e.lastIntValue+Pv(r),e.advance();return e.pos!==t};function Av(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Pv(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}te.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+r*8+e.lastIntValue:e.lastIntValue=t*8+r}else e.lastIntValue=t;return!0}return!1};te.regexp_eatOctalDigit=function(e){var t=e.current();return Rv(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function Rv(e){return e>=48&&e<=55}te.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var i=0;i<t;++i){var s=e.current();if(!Av(s))return e.pos=r,!1;e.lastIntValue=16*e.lastIntValue+Pv(s),e.advance()}return!0};var Ka=function(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,t.options.locations&&(this.loc=new Bs(t,t.startLoc,t.endLoc)),t.options.ranges&&(this.range=[t.start,t.end])},ge=Ne.prototype;ge.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Ka(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()};ge.getToken=function(){return this.next(),new Ka(this)};typeof Symbol<"u"&&(ge[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===C.eof,value:t}}}});ge.nextToken=function(){var e=this.curContext();if((!e||!e.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(C.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())};ge.readToken=function(e){return xt(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)};ge.fullCharCodeAt=function(e){var t=this.input.charCodeAt(e);if(t<=55295||t>=56320)return t;var r=this.input.charCodeAt(e+1);return r<=56319||r>=57344?t:(t<<10)+r-56613888};ge.fullCharCodeAtPos=function(){return this.fullCharCodeAt(this.pos)};ge.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(r===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(var i=void 0,s=t;(i=tv(this.input,s,this.pos))>-1;)++this.curLine,s=this.lineStart=i;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,r),t,this.pos,e,this.curPosition())};ge.skipLineComment=function(e){for(var t=this.pos,r=this.options.onComment&&this.curPosition(),i=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!xi(i);)i=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,r,this.curPosition())};ge.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(e>8&&e<14||e>=5760&&_f.test(String.fromCharCode(e)))++this.pos;else break e}}};ge.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.updateContext(r)};ge.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(C.ellipsis)):(++this.pos,this.finishToken(C.dot))};ge.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(C.assign,2):this.finishOp(C.slash,1)};ge.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,i=e===42?C.star:C.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++r,i=C.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(C.assign,r+1):this.finishOp(i,r)};ge.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(C.assign,3)}return this.finishOp(e===124?C.logicalOR:C.logicalAND,2)}return t===61?this.finishOp(C.assign,2):this.finishOp(e===124?C.bitwiseOR:C.bitwiseAND,1)};ge.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(C.assign,2):this.finishOp(C.bitwiseXOR,1)};ge.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||dt.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(C.incDec,2):t===61?this.finishOp(C.assign,2):this.finishOp(C.plusMin,1)};ge.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+r)===61?this.finishOp(C.assign,r+1):this.finishOp(C.bitShift,r)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(r=2),this.finishOp(C.relational,r))};ge.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(C.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(C.arrow)):this.finishOp(e===61?C.eq:C.prefix,1)};ge.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57)return this.finishOp(C.questionDot,2)}if(t===63){if(e>=12){var i=this.input.charCodeAt(this.pos+2);if(i===61)return this.finishOp(C.assign,3)}return this.finishOp(C.coalesce,2)}}return this.finishOp(C.question,1)};ge.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(e>=13&&(++this.pos,t=this.fullCharCodeAtPos(),xt(t,!0)||t===92))return this.finishToken(C.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+wr(t)+"'")};ge.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(C.parenL);case 41:return++this.pos,this.finishToken(C.parenR);case 59:return++this.pos,this.finishToken(C.semi);case 44:return++this.pos,this.finishToken(C.comma);case 91:return++this.pos,this.finishToken(C.bracketL);case 93:return++this.pos,this.finishToken(C.bracketR);case 123:return++this.pos,this.finishToken(C.braceL);case 125:return++this.pos,this.finishToken(C.braceR);case 58:return++this.pos,this.finishToken(C.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(C.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(C.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+wr(e)+"'")};ge.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)};ge.readRegexp=function(){for(var e,t,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var i=this.input.charAt(this.pos);if(dt.test(i)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if(i==="[")t=!0;else if(i==="]"&&t)t=!1;else if(i==="/"&&!t)break;e=i==="\\"}++this.pos}var s=this.input.slice(r,this.pos);++this.pos;var a=this.pos,n=this.readWord1();this.containsEsc&&this.unexpected(a);var u=this.regexpState||(this.regexpState=new nr(this));u.reset(r,s,n),this.validateRegExpFlags(u),this.validateRegExpPattern(u);var p=null;try{p=new RegExp(s,n)}catch{}return this.finishToken(C.regexp,{pattern:s,flags:n,value:p})};ge.readInt=function(e,t,r){for(var i=this.options.ecmaVersion>=12&&t===void 0,s=r&&this.input.charCodeAt(this.pos)===48,a=this.pos,n=0,u=0,p=0,d=t??1/0;p<d;++p,++this.pos){var f=this.input.charCodeAt(this.pos),h=void 0;if(i&&f===95){s&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),u===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),p===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),u=f;continue}if(f>=97?h=f-97+10:f>=65?h=f-65+10:f>=48&&f<=57?h=f-48:h=1/0,h>=e)break;u=f,n=n*e+h}return i&&u===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===a||t!=null&&this.pos-a!==t?null:n};function $8(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function $v(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}ge.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);return r==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(r=$v(this.input.slice(t,this.pos)),++this.pos):xt(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(C.num,r)};ge.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var r=this.pos-t>=2&&this.input.charCodeAt(t)===48;r&&this.strict&&this.raise(t,"Invalid number");var i=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&i===110){var s=$v(this.input.slice(t,this.pos));return++this.pos,xt(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(C.num,s)}r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),i===46&&!r&&(++this.pos,this.readInt(10),i=this.input.charCodeAt(this.pos)),(i===69||i===101)&&!r&&(i=this.input.charCodeAt(++this.pos),(i===43||i===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),xt(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var a=$8(this.input.slice(t,this.pos),r);return this.finishToken(C.num,a)};ge.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var r=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(r,"Code point out of bounds")}else t=this.readHexChar(4);return t};ge.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var i=this.input.charCodeAt(this.pos);if(i===e)break;i===92?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):i===8232||i===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(xi(i)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(C.string,t)};var Iv={};ge.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===Iv)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1};ge.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Iv;this.raise(e,t)};ge.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(r===96||r===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===C.template||this.type===C.invalidTemplate)?r===36?(this.pos+=2,this.finishToken(C.dollarBraceL)):(++this.pos,this.finishToken(C.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(C.template,e));if(r===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(xi(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=`
|
|
85
|
+
`;break;default:e+=String.fromCharCode(r);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}};ge.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(C.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":this.input[this.pos+1]===`
|
|
86
|
+
`&&++this.pos;case`
|
|
87
|
+
`:case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1;break}this.raise(this.start,"Unterminated template")};ge.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return`
|
|
88
|
+
`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return wr(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),e){var r=this.pos-1;this.invalidStringToken(r,"Invalid escape sequence in template string")}default:if(t>=48&&t<=55){var i=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],s=parseInt(i,8);return s>255&&(i=i.slice(0,-1),s=parseInt(i,8)),this.pos+=i.length-1,t=this.input.charCodeAt(this.pos),(i!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-i.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(s)}return xi(t)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(t)}};ge.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return r===null&&this.invalidStringToken(t,"Bad character escape sequence"),r};ge.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,i=this.options.ecmaVersion>=6;this.pos<this.input.length;){var s=this.fullCharCodeAtPos();if(Ut(s,i))this.pos+=s<=65535?1:2;else if(s===92){this.containsEsc=!0,e+=this.input.slice(r,this.pos);var a=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var n=this.readCodePoint();(t?xt:Ut)(n,i)||this.invalidStringToken(a,"Invalid Unicode escape"),e+=wr(n),r=this.pos}else break;t=!1}return e+this.input.slice(r,this.pos)};ge.readWord=function(){var e=this.readWord1(),t=C.name;return this.keywords.test(e)&&(t=Ua[e]),this.finishToken(t,e)};var qv="8.18.0";Ne.acorn={Parser:Ne,version:qv,defaultOptions:Da,Position:Qi,SourceLocation:Bs,getLineInfo:bf,Node:Fs,TokenType:Ee,tokTypes:C,keywordTypes:Ua,TokContext:Pt,tokContexts:Me,isIdentifierChar:Ut,isIdentifierStart:xt,Token:Ka,isNewLine:xi,lineBreak:dt,lineBreakG:ev,nonASCIIwhitespace:_f};function I8(e,t){return Ne.parse(e,t)}function q8(e,t,r){return Ne.parseExpressionAt(e,t,r)}function M8(e,t){return Ne.tokenizer(e,t)}var wt=!0,L8=new WeakMap;function N8(e){let t=e.Parser.acorn||e,r=L8.get(t);if(!r){let u=function(P){return P===g.name||P===g.string||P===g.num||S.includes(P)||l.includes(P)},p=function(P){return P===g.name||S.includes(P)||l.includes(P)},d=function(P){return P===g.name||l.includes(P)},f=function(P){return P===o.abstract||P===o.declare||P===o.enum||P===o.module||P===o.namespace||P===o.interface||P===o.type},h=function(P){return P===o.keyof||P===o.readonly||P===o.unique},_=function(P){return P===g.invalidTemplate},{tokTypes:g,keywordTypes:E}=t,S=Object.values(E),o=n(),l=Object.values(o),y=a(),x=s(),T=new RegExp(`^(?:${Object.keys(o).join("|")})$`);y.jsxTagStart.updateContext=function(){this.context.push(x.tc_expr),this.context.push(x.tc_oTag),this.exprAllowed=!1},y.jsxTagEnd.updateContext=function(P){let q=this.context.pop();q===x.tc_oTag&&P===g.slash||q===x.tc_cTag?(this.context.pop(),this.exprAllowed=this.curContext()===x.tc_expr):this.exprAllowed=!0},r={tokTypes:{...o,...y},tokContexts:{...x},keywordsRegExp:T,tokenIsLiteralPropertyName:u,tokenIsKeywordOrIdentifier:p,tokenIsIdentifier:d,tokenIsTSDeclarationStart:f,tokenIsTSTypeOperator:h,tokenIsTemplate:_}}return r;function i(u,p={}){return new t.TokenType("name",p)}function s(){return{tc_oTag:new t.TokContext("<tag",!1,!1),tc_cTag:new t.TokContext("</tag",!1,!1),tc_expr:new t.TokContext("<tag>...</tag>",!0,!0)}}function a(){return{at:new t.TokenType("@"),jsxName:new t.TokenType("jsxName"),jsxText:new t.TokenType("jsxText",{beforeExpr:!0}),jsxTagStart:new t.TokenType("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new t.TokenType("jsxTagEnd")}}function n(){return{assert:i("assert",{startsExpr:wt}),asserts:i("asserts",{startsExpr:wt}),global:i("global",{startsExpr:wt}),keyof:i("keyof",{startsExpr:wt}),readonly:i("readonly",{startsExpr:wt}),unique:i("unique",{startsExpr:wt}),abstract:i("abstract",{startsExpr:wt}),declare:i("declare",{startsExpr:wt}),enum:i("enum",{startsExpr:wt}),module:i("module",{startsExpr:wt}),namespace:i("namespace",{startsExpr:wt}),interface:i("interface",{startsExpr:wt}),type:i("type",{startsExpr:wt})}}}var O8=1<<20,Us=1<<21,rs=1,Qa=2,D8=4,Ef=8,B8=16,Fv=64,Vv=128,j8=256,F8=512,Uv=1024,aV=rs|Qa|Ef|Vv,nV=rs|0|Ef|0,oV=rs|0|D8|0,lV=rs|0|B8|0,uV=0|Qa|0|Vv,cV=0|Qa|0|0,V8=rs|Qa|Ef|j8,pV=0|Uv,dV=0|Fv,fV=rs|0|0|Fv,mV=V8|F8,hV=0|Uv,Hv=4,zv=2,Gv=1,_V=zv|Gv,bV=zv|Hv,vV=Gv|Hv,U8=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/y,Mv=new RegExp("(?=("+U8.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y"),Hs=class{constructor(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}};function H8(e,t){let r="true";return t.type==="MethodDefinition"&&(t.kind==="get"||t.kind==="set")&&(r=(t.static?"s":"i")+t.kind),e==="iget"&&r==="iset"||e==="iset"&&r==="iget"||e==="sget"&&r==="sset"||e==="sset"&&r==="sget"?[!1,"true"]:e?[!0,e]:[!1,r]}function Lv(e,t){let{computed:r,key:i}=e;return!r&&(i.type==="Identifier"&&i.name===t||i.type==="Literal"&&i.value===t)}var re={AbstractMethodHasImplementation:({methodName:e})=>`Method '${e}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:e})=>`Property '${e}' cannot have an initializer because it is marked abstract.`,AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",CannotFindName:({name:e})=>`Cannot find name '${e}'.`,ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:({kind:e})=>`'declare' is not allowed in ${e}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:(()=>"Accessibility modifier already seen."),DuplicateModifier:({modifier:e})=>`Duplicate modifier: '${e}'.`,EmptyHeritageClauseType:({token:e})=>`'${e}' list cannot be empty.`,EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",IncompatibleModifiers:({modifiers:e})=>`'${e[0]}' modifier cannot be used with '${e[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:e})=>`Index signatures cannot have an accessibility modifier ('${e}').`,IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidModifierOnTypeMember:({modifier:e})=>`'${e}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:e})=>`'${e}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:e})=>`'${e}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifiersOrder:({orderedModifiers:e})=>`'${e[0]}' modifier must precede '${e[1]}' modifier.`,InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:({modifier:e})=>`Private elements cannot have an accessibility modifier ('${e}').`,PrivateMethodsHasAccessibility:({modifier:e})=>`Private methods cannot have an accessibility modifier ('${e}').`,ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:e})=>`Single type parameter ${e} should have a trailing comma. Example usage: <${e},>.`,StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",GenericsEndWithComma:"Trailing comma is not allowed at the end of generics.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:({type:e})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${e}.`,LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations."},Ja={UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",TrailingDecorator:"Decorators must be attached to a class element.",SpreadElementDecorator:"Decorators can't be used with SpreadElement"};function z8(e,t,r){let{tokTypes:i}=r,{tokTypes:s}=t;return class extends e{takeDecorators(n){let u=this.decoratorStack[this.decoratorStack.length-1];u.length&&(n.decorators=u,this.resetStartLocationFromNode(n,u[0]),this.decoratorStack[this.decoratorStack.length-1]=[])}parseDecorators(n){let u=this.decoratorStack[this.decoratorStack.length-1];for(;this.match(s.at);){let p=this.parseDecorator();u.push(p)}this.match(i._export)?n||this.unexpected():this.canHaveLeadingDecorator()||this.raise(this.start,Ja.UnexpectedLeadingDecorator)}parseDecorator(){let n=this.startNode();this.next(),this.decoratorStack.push([]);let u=this.start,p=this.startLoc,d;if(this.match(i.parenL)){let f=this.start,h=this.startLoc;if(this.next(),d=this.parseExpression(),this.expect(i.parenR),this.options.preserveParens){let _=this.startNodeAt(f,h);_.expression=d,d=this.finishNode(_,"ParenthesizedExpression")}}else for(d=this.parseIdent(!1);this.eat(i.dot);){let f=this.startNodeAt(u,p);f.object=d,f.property=this.parseIdent(!0),f.computed=!1,d=this.finishNode(f,"MemberExpression")}return n.expression=this.parseMaybeDecoratorArguments(d),this.decoratorStack.pop(),this.finishNode(n,"Decorator")}parseMaybeDecoratorArguments(n){if(this.eat(i.parenL)){let u=this.startNodeAtNode(n);return u.callee=n,u.arguments=this.parseExprList(i.parenR,!1),this.finishNode(u,"CallExpression")}return n}}}var Nv={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"},G8=/^[\da-fA-F]+$/,W8=/^\d+$/;function zs(e){if(!e)return e;if(e.type==="JSXIdentifier")return e.name;if(e.type==="JSXNamespacedName")return e.namespace.name+":"+e.name.name;if(e.type==="JSXMemberExpression")return zs(e.object)+"."+zs(e.property)}function K8(e,t,r,i){let s=e.tokTypes,a=t.tokTypes,n=e.isNewLine,u=e.isIdentifierChar,p=Object.assign({allowNamespaces:!0,allowNamespacedObjects:!0},i||{});return class extends r{jsx_readToken(){let f="",h=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let _=this.input.charCodeAt(this.pos);switch(_){case 60:case 123:return this.pos===this.start?_===60&&this.exprAllowed?(++this.pos,this.finishToken(a.jsxTagStart)):this.getTokenFromCode(_):(f+=this.input.slice(h,this.pos),this.finishToken(a.jsxText,f));case 38:f+=this.input.slice(h,this.pos),f+=this.jsx_readEntity(),h=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(_===62?">":"}")+'` or `{"'+this.input[this.pos]+'"}`?');default:n(_)?(f+=this.input.slice(h,this.pos),f+=this.jsx_readNewLine(!0),h=this.pos):++this.pos}}}jsx_readNewLine(f){let h=this.input.charCodeAt(this.pos),_;return++this.pos,h===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,_=f?`
|
|
89
|
+
`:`\r
|
|
90
|
+
`):_=String.fromCharCode(h),this.options.locations&&(++this.curLine,this.lineStart=this.pos),_}jsx_readString(f){let h="",_=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let g=this.input.charCodeAt(this.pos);if(g===f)break;g===38?(h+=this.input.slice(_,this.pos),h+=this.jsx_readEntity(),_=this.pos):n(g)?(h+=this.input.slice(_,this.pos),h+=this.jsx_readNewLine(!1),_=this.pos):++this.pos}return h+=this.input.slice(_,this.pos++),this.finishToken(s.string,h)}jsx_readEntity(){let f="",h=0,_,g=this.input[this.pos];g!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let E=++this.pos;for(;this.pos<this.input.length&&h++<10;){if(g=this.input[this.pos++],g===";"){if(f[0]==="#"){let S;f[1]==="x"||f[1]==="X"?(f=f.substr(2),G8.test(f)&&(S=parseInt(f,16))):(f=f.substr(1),W8.test(f)&&(S=parseInt(f,10))),S!==void 0&&S<=1114111&&(_=String.fromCodePoint(S))}else Object.prototype.hasOwnProperty.call(Nv,f)&&(_=Nv[f]);break}f+=g}return _===void 0?(this.pos=E,"&"):_}jsx_readWord(){let f,h=this.pos;do f=this.input.charCodeAt(++this.pos);while(u(f)||f===45);return this.finishToken(a.jsxName,this.input.slice(h,this.pos))}jsx_parseIdentifier(){let f=this.startNode();return this.type===a.jsxName?f.name=this.value:this.type.keyword?f.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(f,"JSXIdentifier")}jsx_parseNamespacedName(){let f=this.start,h=this.startLoc,_=this.jsx_parseIdentifier();if(!p.allowNamespaces||!this.eat(s.colon))return _;var g=this.startNodeAt(f,h);return g.namespace=_,g.name=this.jsx_parseIdentifier(),this.finishNode(g,"JSXNamespacedName")}jsx_parseElementName(){if(this.type===a.jsxTagEnd)return"";let f=this.start,h=this.startLoc,_=this.jsx_parseNamespacedName();for(this.type===s.dot&&_.type==="JSXNamespacedName"&&!p.allowNamespacedObjects&&this.unexpected();this.eat(s.dot);){let g=this.startNodeAt(f,h);g.object=_,g.property=this.jsx_parseIdentifier(),_=this.finishNode(g,"JSXMemberExpression")}return _}jsx_parseAttributeValue(){switch(this.type){case s.braceL:let f=this.jsx_parseExpressionContainer();return f.expression.type==="JSXEmptyExpression"&&this.raise(f.start,"JSX attributes must only be assigned a non-empty expression"),f;case a.jsxTagStart:case s.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}}jsx_parseEmptyExpression(){let f=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(f,"JSXEmptyExpression",this.start,this.startLoc)}jsx_parseExpressionContainer(){let f=this.startNode();return this.next(),this.eat(s.ellipsis)?(f.expression=this.parseExpression(),this.expect(s.braceR),this.finishNode(f,"JSXSpreadChild")):(f.expression=this.type===s.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(s.braceR),this.finishNode(f,"JSXExpressionContainer"))}jsx_parseAttribute(){let f=this.startNode();return this.eat(s.braceL)?(this.expect(s.ellipsis),f.argument=this.parseMaybeAssign(),this.expect(s.braceR),this.finishNode(f,"JSXSpreadAttribute")):(f.name=this.jsx_parseNamespacedName(),f.value=this.eat(s.eq)?this.jsx_parseAttributeValue():null,this.finishNode(f,"JSXAttribute"))}jsx_parseOpeningElementAt(f,h){let _=this.startNodeAt(f,h);_.attributes=[];let g=this.jsx_parseElementName();for(g&&(_.name=g);this.type!==s.slash&&this.type!==a.jsxTagEnd;)_.attributes.push(this.jsx_parseAttribute());return _.selfClosing=this.eat(s.slash),this.expect(a.jsxTagEnd),this.finishNode(_,g?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(f,h){let _=this.startNodeAt(f,h),g=this.jsx_parseElementName();return g&&(_.name=g),this.expect(a.jsxTagEnd),this.finishNode(_,g?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(f,h){let _=this.startNodeAt(f,h),g=[],E=this.jsx_parseOpeningElementAt(f,h),S=null;if(!E.selfClosing){e:for(;;)switch(this.type){case a.jsxTagStart:if(f=this.start,h=this.startLoc,this.next(),this.eat(s.slash)){S=this.jsx_parseClosingElementAt(f,h);break e}g.push(this.jsx_parseElementAt(f,h));break;case a.jsxText:g.push(this.parseExprAtom());break;case s.braceL:g.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}zs(S.name)!==zs(E.name)&&this.raise(S.start,"Expected corresponding JSX closing tag for <"+zs(E.name)+">")}let o=E.name?"Element":"Fragment";return _["opening"+o]=E,_["closing"+o]=S,_.children=g,this.type===s.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(_,"JSX"+o)}jsx_parseText(){let f=this.parseLiteral(this.value);return f.type="JSXText",f}jsx_parseElement(){let f=this.start,h=this.startLoc;return this.next(),this.jsx_parseElementAt(f,h)}}}function X8(e,t,r){let{tokTypes:i}=t,{tokTypes:s}=r;return class extends e{parseMaybeImportAttributes(n){if(this.type===s._with||this.type===i.assert){this.next();let u=this.parseImportAttributes();u&&(n.attributes=u)}}parseImportAttributes(){this.expect(s.braceL);let n=this.parseWithEntries();return this.expect(s.braceR),n}parseWithEntries(){let n=[],u=new Set;do{if(this.type===s.braceR)break;let p=this.startNode(),d;this.type===s.string?d=this.parseLiteral(this.value):d=this.parseIdent(!0),this.next(),p.key=d,u.has(p.key.name)&&this.raise(this.pos,"Duplicated key in attributes"),u.add(p.key.name),this.type!==s.string&&this.raise(this.pos,"Only string is supported as an attribute value"),p.value=this.parseLiteral(this.value),n.push(this.finishNode(p,"ImportAttribute"))}while(this.eat(s.comma));return n}}}var kf=["onToken","onComment","onInsertedSemicolon","onTrailingComma"];function Wv(){return{_tag:"BufferedParserEvents",segments:[]}}var Y8=Wv();function Ov(e){return e.segments.length>0}var J8=class{constructor(e,t){this.options=e,this.state=t,this.callbacks={},this.callbackWrappers={},this.frames=[],this.undoLog=[],this.hasCallbacks=this.captureCallbacks()}get active(){return this.frames.length>0}begin(){let e={_tag:"ParseEffectFrame",depth:this.frames.length,undoMark:this.undoLog.length,checkpoint:this.state?.capture()};return this.frames.push(e),e.depth===0&&this.hasCallbacks&&this.activateCallbacks(),e}commit(e){this.close(e);let t=this.currentFrame();if(t){e.output&&this.appendOutput(this.outputFor(t),e.output);return}this.undoLog.length=e.undoMark,e.output&&this.flush(e.output)}rollback(e){this.close(e),this.unwind(e.undoMark),this.restore(e)}rollbackWithEvents(e){return this.close(e),this.unwind(e.undoMark),this.restore(e),e.output??Y8}replay(e){if(!Ov(e))return;let t=this.currentFrame();if(t){this.appendOutput(this.outputFor(t),e);return}this.flush(e)}set(e,t,r){this.willSet(e,t),e[t]=r}remove(e,t){this.willSet(e,t),delete e[t]}append(e,t){this.willAppend(e),e.push(t)}pop(e){return this.willMutateTail(e,1),e.pop()}truncate(e,t){t<e.length?this.willMutateTail(e,e.length-t):this.willAppend(e),e.length=t}modify(e,t,r){let[i,s]=r(e[t]);return this.set(e,t,s),i}willAppend(e){this.active&&this.undoLog.push({_tag:"ArrayLength",target:e,length:e.length})}willMutateTail(e,t){if(!this.active)return;let r=Math.max(0,e.length-t);this.undoLog.push({_tag:"ArrayTail",target:e,start:r,values:e.slice(r)})}willSet(e,t){if(!this.active)return;let r=e;this.undoLog.push({_tag:"Property",target:r,key:t,had:Object.prototype.hasOwnProperty.call(r,t),value:r[t]})}captureCallbacks(){let e=!1;for(let t of kf){let r=this.options[t];r&&(e=!0,this.callbacks[t]=r,this.callbackWrappers[t]=(...i)=>{this.emit({name:t,args:i})})}return e}activateCallbacks(){for(let e of kf){let t=this.callbackWrappers[e];t&&(this.options[e]=t)}}deactivateCallbacks(){for(let e of kf){let t=this.callbacks[e];t&&(this.options[e]=t)}}emit(e){let t=this.currentFrame();if(!t){this.invoke(e);return}let r=this.outputFor(t).segments,i=r[r.length-1];Array.isArray(i)?i.push(e):r.push([e])}appendOutput(e,t){Ov(t)&&e.segments.push(t)}outputFor(e){return e.output??=Wv()}flush(e){let t=[];for(let r=e.segments.length-1;r>=0;r--)t.push(e.segments[r]);for(;t.length>0;){let r=t.pop();if(Array.isArray(r)){for(let i of r)this.invoke(i);continue}for(let i=r.segments.length-1;i>=0;i--)t.push(r.segments[i])}}invoke(e){this.callbacks[e.name]?.apply(this.options,e.args)}currentFrame(){return this.frames[this.frames.length-1]}close(e){if(this.currentFrame()!==e||e.depth!==this.frames.length-1)throw new Error("Parse effect scopes must be closed in order");this.frames.pop(),this.frames.length===0&&this.hasCallbacks&&this.deactivateCallbacks()}restore(e){this.state&&this.state.restore(e.checkpoint)}unwind(e){for(let t=this.undoLog.length-1;t>=e;t--){let r=this.undoLog[t];switch(r._tag){case"ArrayLength":if(r.target.length<r.length)throw new Error("A parse effect shortened an append-only array");r.target.length=r.length;break;case"ArrayTail":r.target.length=r.start;for(let i of r.values)r.target.push(i);break;case"Property":r.had?r.target[r.key]=r.value:delete r.target[r.key];break}}this.undoLog.length=e}};function ts(e,t,r){if(e.length===t)return e;if(e.length<t)throw new Error(`A parse branch shortened the ${r} below its checkpoint`);return e.length=t,e}function Q8(e){return{lookahead:e.getCurLookaheadState(),context:e.context,contextLength:e.context.length,scopeStack:e.scopeStack,scopeStackLength:e.scopeStack.length,importsStack:e.importsStack,importsStackLength:e.importsStack.length,labels:e.labels,labelsLength:e.labels.length,privateNameStack:e.privateNameStack,privateNameStackLength:e.privateNameStack.length,decoratorStack:e.decoratorStack,decoratorStackLength:e.decoratorStack.length,strict:e.strict,potentialArrowAt:e.potentialArrowAt,potentialArrowInForAwait:e.potentialArrowInForAwait,yieldPos:e.yieldPos,awaitPos:e.awaitPos,awaitIdentPos:e.awaitIdentPos,preValue:e.preValue,preToken:e.preToken,isLookahead:e.isLookahead,isAmbientContext:e.isAmbientContext,inAbstractClass:e.inAbstractClass,inType:e.inType,inDisallowConditionalTypesContext:e.inDisallowConditionalTypesContext,maybeInArrowParameters:e.maybeInArrowParameters,shouldParseArrowReturnType:e.shouldParseArrowReturnType,shouldParseAsyncArrowReturnType:e.shouldParseAsyncArrowReturnType,importOrExportOuterKind:e.importOrExportOuterKind}}function Z8(e,t){e.setLookaheadTokenState(t.lookahead),e.context=ts(t.context,t.contextLength,"token context stack"),e.scopeStack=ts(t.scopeStack,t.scopeStackLength,"scope stack"),e.importsStack=ts(t.importsStack,t.importsStackLength,"import stack"),e.labels=ts(t.labels,t.labelsLength,"label stack"),e.privateNameStack=ts(t.privateNameStack,t.privateNameStackLength,"private-name stack"),e.decoratorStack=ts(t.decoratorStack,t.decoratorStackLength,"decorator stack"),e.strict=t.strict,e.potentialArrowAt=t.potentialArrowAt,e.potentialArrowInForAwait=t.potentialArrowInForAwait,e.yieldPos=t.yieldPos,e.awaitPos=t.awaitPos,e.awaitIdentPos=t.awaitIdentPos,e.regexpState=null,e.preValue=t.preValue,e.preToken=t.preToken,e.isLookahead=t.isLookahead,e.isAmbientContext=t.isAmbientContext,e.inAbstractClass=t.inAbstractClass,e.inType=t.inType,e.inDisallowConditionalTypesContext=t.inDisallowConditionalTypesContext,e.maybeInArrowParameters=t.maybeInArrowParameters,e.shouldParseArrowReturnType=t.shouldParseArrowReturnType,e.shouldParseAsyncArrowReturnType=t.shouldParseAsyncArrowReturnType,e.importOrExportOuterKind=t.importOrExportOuterKind}function e2(e){return{capture:()=>Q8(e),restore:t=>Z8(e,t)}}function t2(e,t){let r=t.acornTokenTypes,i=t.typeScriptTokenTypes,s=t.scope,a=s.SCOPE_TOP|s.SCOPE_FUNCTION|s.SCOPE_CLASS_STATIC_BLOCK;return class extends e{constructor(u,p,d){super(u,p,d),this.parseEffects=new J8(this.options,e2(this))}overrideContext(u){return this.curContext()!==u&&this.parseEffects?.willMutateTail(this.context,1),super.overrideContext(u)}takeDecorators(u){let p=this.decoratorStack.length-1;return this.decoratorStack[p].length>0&&this.parseEffects?.willSet(this.decoratorStack,String(p)),super.takeDecorators(u)}parseDecorators(u){let p=this.decoratorStack[this.decoratorStack.length-1];return this.parseEffects?.willAppend(p),super.parseDecorators(u)}parseDecorator(){return this.parseEffects?.willAppend(this.decoratorStack),super.parseDecorator()}parseIdentNode(){return(this.type.keyword==="class"||this.type.keyword==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.parseEffects?.willMutateTail(this.context,1),super.parseIdentNode()}parseLabeledStatement(u,p,d,f){for(let h=this.labels.length-1;h>=0;h--){let _=this.labels[h];if(_.statementStart!==u.start)break;this.parseEffects?.willSet(_,"statementStart"),this.parseEffects?.willSet(_,"kind")}return this.parseEffects?.willAppend(this.labels),super.parseLabeledStatement(u,p,d,f)}enterClassBody(){return this.parseEffects?.willAppend(this.privateNameStack),super.enterClassBody()}exitClassBody(){let u=this.privateNameStack[this.privateNameStack.length-2];return u&&this.parseEffects?.willAppend(u.used),this.parseEffects?.willMutateTail(this.privateNameStack,1),super.exitClassBody()}parsePrivateIdent(){if(this.options.checkPrivateFields&&this.privateNameStack.length>0){let u=this.privateNameStack[this.privateNameStack.length-1];this.parseEffects?.willAppend(u.used)}return super.parsePrivateIdent()}parseClassField(u){return this.parseEffects?.willSet(this.currentThisScope(),"inClassFieldInit"),super.parseClassField(u)}updateContext(u){let{type:p}=this;return(p===r.parenR||p===r.braceR||p===r.braceL||p===r.dollarBraceL||p===r.parenL||p===r._function||p===r._class||p===r.colon||p===r.backQuote||p===r.star||p===i.jsxTagStart||p===i.jsxTagEnd||p===r.slash&&u===i.jsxTagStart)&&this.parseEffects?.willMutateTail(this.context,2),super.updateContext(u)}enterScope(u){return this.parseEffects?.willAppend(this.scopeStack),super.enterScope(u)}exitScope(){return this.parseEffects?.willMutateTail(this.scopeStack,1),super.exitScope()}declareName(u,p,d){let f=this.parseEffects;if(f?.active)if(p===s.BIND_LEXICAL){let h=this.currentScope();f.willAppend(h.lexical),this.inModule&&h.flags&s.SCOPE_TOP&&f.willSet(this.undefinedExports,u)}else if(p===s.BIND_SIMPLE_CATCH)f.willAppend(this.currentScope().lexical);else if(p===s.BIND_FUNCTION)f.willAppend(this.currentScope().functions);else for(let h=this.scopeStack.length-1;h>=0;h--){let _=this.scopeStack[h];if(f.willAppend(_.var),this.inModule&&_.flags&s.SCOPE_TOP&&f.willSet(this.undefinedExports,u),_.flags&a)break}return super.declareName(u,p,d)}checkLocalExport(u){return this.parseEffects?.willSet(this.undefinedExports,u.name),super.checkLocalExport(u)}}}var Cf=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;function Dv(e){if(!e)throw new Error("Assert fail")}function r2(e){return e==="accessor"}function i2(e){return e==="in"||e==="out"}var Ya=1,Bv=2,s2=4,xe={SCOPE_TOP:1,SCOPE_FUNCTION:2,SCOPE_ASYNC:4,SCOPE_GENERATOR:8,SCOPE_ARROW:16,SCOPE_SIMPLE_CATCH:32,SCOPE_SUPER:64,SCOPE_DIRECT_SUPER:128,SCOPE_CLASS_STATIC_BLOCK:256,SCOPE_VAR:256,BIND_NONE:0,BIND_VAR:1,BIND_LEXICAL:2,BIND_FUNCTION:3,BIND_SIMPLE_CATCH:4,BIND_OUTSIDE:5,BIND_TS_TYPE:6,BIND_TS_INTERFACE:7,BIND_TS_NAMESPACE:1032,BIND_FLAGS_TS_EXPORT_ONLY:1024,BIND_FLAGS_TS_IMPORT:4096,BIND_FLAGS_TS_ENUM:256,BIND_FLAGS_TS_CONST_ENUM:512,BIND_TS_ENUM:258,BIND_TS_CONST_ENUM:770,BIND_FLAGS_CLASS:128};function Sf(e,t){return xe.SCOPE_FUNCTION|(e?xe.SCOPE_ASYNC:0)|(t?xe.SCOPE_GENERATOR:0)}function a2(e){if(e.type!=="MemberExpression")return!1;let{computed:t,property:r}=e;return t&&(r.type!=="TemplateLiteral"||r.expressions.length>0)?!1:Kv(e.object)}function n2(e){return e.type==="UnaryExpression"&&(e.operator==="-"||e.operator==="+")&&e.argument.type==="Literal"&&(typeof e.argument.value=="number"||typeof e.argument.value=="bigint")}function Kv(e){return e.type==="Identifier"?!0:e.type!=="MemberExpression"||e.computed?!1:Kv(e.object)}function jv(e){return e==="private"||e==="public"||e==="protected"}function o2(e){return!!e.startsExpr}function l2(e){if(e==null)throw new Error(`Unexpected ${e} value.`);return e}function u2(e){switch(e){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}function Xv(e){let{dts:t=!1}=e||{},r=!!e?.jsx;return function(i){let s=i.acorn||Xa,a=N8(s),n=s.tokTypes,u=s.keywordTypes,p=s.isIdentifierStart,d=s.lineBreak,f=s.isNewLine,h=s.tokContexts,_=s.isIdentifierChar,{tokTypes:g,tokContexts:E,keywordsRegExp:S,tokenIsLiteralPropertyName:o,tokenIsTemplate:l,tokenIsTSDeclarationStart:y,tokenIsIdentifier:x,tokenIsKeywordOrIdentifier:T,tokenIsTSTypeOperator:P}=a;function q(ne,c,m=ne.length){for(let b=c;b<m;b++){let k=ne.charCodeAt(b);if(f(k))return b<m-1&&k===13&&ne.charCodeAt(b+1)===10?b+2:b+1}return-1}i=z8(i,a,s),e?.jsx&&(i=K8(s,a,i,typeof e.jsx=="boolean"?{}:e.jsx)),i=X8(i,a,s);let N=t2(i,{acornTokenTypes:n,typeScriptTokenTypes:g,scope:xe});class F extends N{constructor(c,m,b){super(c,m,b),this.preValue=null,this.preToken=null,this.isLookahead=!1,this.isAmbientContext=!1,this.inAbstractClass=!1,this.inType=!1,this.inDisallowConditionalTypesContext=!1,this.maybeInArrowParameters=!1,this.shouldParseArrowReturnType=void 0,this.shouldParseAsyncArrowReturnType=void 0,this.decoratorStack=[[]],this.importsStack=[[]],this.importOrExportOuterKind=void 0,this.tsParseConstModifier=k=>{this.tsParseModifiers({modified:k,allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:re.InvalidModifierOnTypeParameterPositions})},this.ecmaVersion=this.options.ecmaVersion}static get acornTypeScript(){return a}get acornTypeScript(){return a}getTokenFromCodeInType(c){return c===62?this.finishOp(n.relational,1):c===60?this.finishOp(n.relational,1):super.getTokenFromCode(c)}readToken(c){if(!this.inType){let m=this.curContext();if(m===E.tc_expr)return this.jsx_readToken();if(m===E.tc_oTag||m===E.tc_cTag){if(p(c))return this.jsx_readWord();if(c==62)return++this.pos,this.finishToken(g.jsxTagEnd);if((c===34||c===39)&&m==E.tc_oTag)return this.jsx_readString(c)}if(c===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33)return++this.pos,e?.jsx?this.finishToken(g.jsxTagStart):this.finishToken(n.relational,"<")}return super.readToken(c)}getTokenFromCode(c){return this.inType?this.getTokenFromCodeInType(c):c===64?(++this.pos,this.finishToken(g.at)):super.getTokenFromCode(c)}isAbstractClass(){return this.ts_isContextual(g.abstract)&&this.lookahead().type===n._class}isDeclareClass(){if(!this.ts_isContextual(g.declare))return!1;let c=this.nextTokenStart();if(this.isUnparsedContextual(c,"class"))return!0;if(!this.isUnparsedContextual(c,"abstract"))return!1;let m=this.nextTokenStartSince(c+8);return this.isUnparsedContextual(m,"class")}finishNode(c,m){return c.type!==""&&c.end!==0?c:super.finishNode(c,m)}tryParse(c){let m={},b=this.beginParseEffectScope(),k;try{k=c(()=>{throw m})}catch(R){let L=R===m;if(!L&&!(R instanceof SyntaxError))throw this.parseEffects.rollback(b),R;let B={events:this.parseEffects.rollbackWithEvents(b),selected:!1};return L?{node:null,error:null,thrown:!1,aborted:!0,failState:B}:{node:null,error:R,thrown:!0,aborted:!1,failState:B}}return this.parseEffects.commit(b),{node:k,error:null,thrown:!1,aborted:!1,failState:null}}setOptionalParametersError(c,m){c.optionalParametersLoc=m?.loc??this.startLoc}reScan_lt_gt(){this.type===n.relational&&(this.pos-=1,this.readToken_lt_gt(this.fullCharCodeAtPos()))}reScan_lt(){let{type:c}=this;return c===n.bitShift?(this.pos-=2,this.finishOp(n.relational,1),n.relational):c}resetEndLocation(c,m=this.lastTokEnd,b=this.lastTokEndLoc){c.end=m,c.loc.end=b,this.options.ranges&&(c.range[1]=m)}startNodeAtNode(c){return super.startNodeAt(c.start,c.loc.start)}nextTokenStart(){return this.nextTokenStartSince(this.pos)}tsHasSomeModifiers(c,m){return m.some(b=>jv(b)?c.accessibility===b:!!c[b])}tsIsStartOfStaticBlocks(){return this.isContextual("static")&&this.lookaheadCharCode()===123}tsCheckForInvalidTypeCasts(c){c.forEach(m=>{m?.type==="TSTypeCastExpression"&&this.raise(m.typeAnnotation.start,re.UnexpectedTypeAnnotation)})}atPossibleAsyncArrow(c){return c.type==="Identifier"&&c.name==="async"&&this.lastTokEnd===c.end&&!this.canInsertSemicolon()&&c.end-c.start===5&&c.start===this.potentialArrowAt}tsIsIdentifier(){return x(this.type)}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(n.colon)?this.tsParseTypeOrTypePredicateAnnotation(n.colon):void 0}tsTryParseGenericAsyncArrowFunction(c,m,b){if(!this.tsMatchLeftRelational())return;let k=this.maybeInArrowParameters;this.maybeInArrowParameters=!0;let R=this.tsTryParseAndCatch(()=>{let L=this.startNodeAt(c,m);return L.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(L),L.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(n.arrow),L});if(this.maybeInArrowParameters=k,!!R)return this.parseArrowExpression(R,R.params,!0,b)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===n.relational)return this.tsParseTypeArguments(!0)}tsInNoContext(c){let m=this.context;this.context=[m[0]];try{return c()}finally{this.context=m}}tsTryParseTypeAnnotation(){return this.match(n.colon)?this.tsParseTypeAnnotation():void 0}isUnparsedContextual(c,m){let b=c+m.length;if(this.input.slice(c,b)===m){let k=this.input.charCodeAt(b);return!(_(k)||(k&64512)===55296)}return!1}isAbstractConstructorSignature(){return this.ts_isContextual(g.abstract)&&this.lookahead().type===n._new}nextTokenStartSince(c){return Cf.lastIndex=c,Cf.test(this.input)?Cf.lastIndex:c}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}createLookaheadState(){this.value=null,this.context=[this.curContext()]}getCurLookaheadState(){return{endLoc:this.endLoc,lastTokEnd:this.lastTokEnd,lastTokStart:this.lastTokStart,lastTokStartLoc:this.lastTokStartLoc,pos:this.pos,value:this.value,type:this.type,exprAllowed:this.exprAllowed,start:this.start,end:this.end,context:this.context,startLoc:this.startLoc,lastTokEndLoc:this.lastTokEndLoc,curLine:this.curLine,lineStart:this.lineStart,containsEsc:this.containsEsc}}setLookaheadTokenState(c){this.pos=c.pos,this.value=c.value,this.exprAllowed=c.exprAllowed,this.endLoc=c.endLoc,this.lastTokEnd=c.lastTokEnd,this.lastTokStart=c.lastTokStart,this.lastTokStartLoc=c.lastTokStartLoc,this.type=c.type,this.start=c.start,this.end=c.end,this.startLoc=c.startLoc,this.lastTokEndLoc=c.lastTokEndLoc,this.curLine=c.curLine,this.lineStart=c.lineStart,this.containsEsc=c.containsEsc}setLookaheadState(c){this.setLookaheadTokenState(c),this.context=c.context&&c.context.slice()}beginParseEffectScope(){return this.parseEffects.begin()}selectTryParseResult(c){let m=c.failState;if(m){if(m.selected)throw new Error("A parse branch result can only be selected once");m.selected=!0,this.parseEffects.replay(m.events)}}tsLookAhead(c){let m=this.beginParseEffectScope();try{return c()}finally{this.parseEffects.rollback(m)}}lookahead(c){let m=this.getCurLookaheadState(),b=this.context,k=this.preValue,R=this.preToken,L=this.isLookahead;try{if(this.createLookaheadState(),this.isLookahead=!0,c!==void 0)for(let B=0;B<c;B++)this.nextToken();else this.nextToken();return this.getCurLookaheadState()}finally{this.setLookaheadTokenState(m),this.context=b,this.preValue=k,this.preToken=R,this.isLookahead=L}}readWord(){let c=this.readWord1(),m=n.name;return this.keywords.test(c)?m=u[c]:new RegExp(S).test(c)&&(m=g[c]),this.finishToken(m,c)}skipBlockComment(){let c;this.isLookahead||(c=this.options.onComment&&this.curPosition());let m=this.pos,b=this.input.indexOf("*/",this.pos+=2);if(b===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=b+2,this.options.locations)for(let k,R=m;(k=q(this.input,R,this.pos))>-1;)++this.curLine,R=this.lineStart=k;this.isLookahead||this.options.onComment&&this.options.onComment(!0,this.input.slice(m+2,b),m,this.pos,c,this.curPosition())}skipLineComment(c){let m=this.pos,b;this.isLookahead||(b=this.options.onComment&&this.curPosition());let k=this.input.charCodeAt(this.pos+=c);for(;this.pos<this.input.length&&!f(k);)k=this.input.charCodeAt(++this.pos);this.isLookahead||this.options.onComment&&this.options.onComment(!1,this.input.slice(m+c,this.pos),m,this.pos,b,this.curPosition())}finishToken(c,m){this.preValue=this.value,this.preToken=this.type,this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());let b=this.type;this.type=c,this.value=m,this.isLookahead||this.updateContext(b)}resetStartLocation(c,m,b){c.start=m,c.loc.start=b,this.options.ranges&&(c.range[0]=m)}isLineTerminator(){return this.eat(n.semi)||super.canInsertSemicolon()}hasFollowingLineBreak(){return Mv.lastIndex=this.end,Mv.test(this.input)}addExtra(c,m,b,k=!0){if(!c)return;let R=c.extra=c.extra||{};k?R[m]=b:Object.defineProperty(R,m,{enumerable:k,value:b})}isLiteralPropertyName(){return o(this.type)}hasPrecedingLineBreak(){return d.test(this.input.slice(this.lastTokEnd,this.start))}createIdentifier(c,m){return c.name=m,this.finishNode(c,"Identifier")}resetStartLocationFromNode(c,m){this.resetStartLocation(c,m.start,m.loc.start)}isThisParam(c){return c.type==="Identifier"&&c.name==="this"}isLookaheadContextual(c){let m=this.nextTokenStart();return this.isUnparsedContextual(m,c)}ts_type_isContextual(c,m){return c===m&&!this.containsEsc}ts_isContextual(c){return this.type===c&&!this.containsEsc}ts_isContextualWithState(c,m){return c.type===m&&!c.containsEsc}isContextualWithState(c,m){return m.type===n.name&&m.value===c&&!m.containsEsc}tsIsStartOfMappedType(){return this.next(),this.eat(n.plusMin)?this.ts_isContextual(g.readonly):(this.ts_isContextual(g.readonly)&&this.next(),!this.match(n.bracketL)||(this.next(),!this.tsIsIdentifier())?!1:(this.next(),this.match(n._in)))}tsInDisallowConditionalTypesContext(c){let m=this.inDisallowConditionalTypesContext;this.inDisallowConditionalTypesContext=!0;try{return c()}finally{this.inDisallowConditionalTypesContext=m}}tsTryParseType(){return this.tsEatThenParseType(n.colon)}match(c){return this.type===c}matchJsx(c){return this.type===a.tokTypes[c]}ts_eatWithState(c,m,b){let k=b.type;if(c===k){for(let R=0;R<m;R++)this.next();return!0}else return!1}ts_eatContextualWithState(c,m,b){if(S.test(c)){if(this.ts_isContextualWithState(b,g[c])){for(let k=0;k<m;k++)this.next();return!0}return!1}else{if(!this.isContextualWithState(c,b))return!1;for(let k=0;k<m;k++)this.next();return!0}}canHaveLeadingDecorator(){return this.match(n._class)||this.isAbstractClass()||this.isDeclareClass()}eatContextual(c){return S.test(c)?this.ts_isContextual(g[c])?(this.next(),!0):!1:super.eatContextual(c)}tsIsExternalModuleReference(){return this.isContextual("require")&&this.lookaheadCharCode()===40}tsParseExternalModuleReference(){let c=this.startNode();return this.expectContextual("require"),this.expect(n.parenL),this.match(n.string)||this.unexpected(),c.expression=this.parseExprAtom(),this.expect(n.parenR),this.finishNode(c,"TSExternalModuleReference")}tsParseEntityName(c=!0){let m=this.parseIdent(c);for(;this.eat(n.dot);){let b=this.startNodeAtNode(m);b.left=m,b.right=this.parseIdent(c),m=this.finishNode(b,"TSQualifiedName")}return m}tsParseEnumMember(){let c=this.startNode();return c.id=this.match(n.string)?this.parseLiteral(this.value):this.parseIdent(!0),this.eat(n.eq)&&(c.initializer=this.parseMaybeAssign()),this.finishNode(c,"TSEnumMember")}tsParseEnumDeclaration(c,m={}){m.const&&(c.const=!0),m.declare&&(c.declare=!0),this.expectContextual("enum"),c.id=this.parseIdent();let b=m.const?xe.BIND_TS_CONST_ENUM:xe.BIND_TS_ENUM;return this.checkLValSimple(c.id,b),this.expect(n.braceL),c.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(n.braceR),this.finishNode(c,"TSEnumDeclaration")}tsParseModuleBlock(){let c=this.startNode();for(this.enterScope(O8),this.expect(n.braceL),c.body=[];this.type!==n.braceR;){let m=this.parseStatement(null,!0);c.body.push(m)}return this.next(),super.exitScope(),this.finishNode(c,"TSModuleBlock")}tsParseAmbientExternalModuleDeclaration(c){return this.ts_isContextual(g.global)?(c.global=!0,c.id=this.parseIdent()):this.match(n.string)?c.id=this.parseLiteral(this.value):this.unexpected(),this.match(n.braceL)?(this.enterScope(Us),c.body=this.tsParseModuleBlock(),super.exitScope()):super.semicolon(),this.finishNode(c,"TSModuleDeclaration")}tsTryParseDeclare(c){if(this.isLineTerminator())return;let m=this.type,b;return this.isContextual("let")&&(m=n._var,b="let"),this.tsInAmbientContext(()=>{if(m===n._function)return c.declare=!0,this.parseFunctionStatement(c,!1,!0);if(m===n._class)return c.declare=!0,this.parseClass(c,!0);if(m===g.enum)return this.tsParseEnumDeclaration(c,{declare:!0});if(m===g.global)return this.tsParseAmbientExternalModuleDeclaration(c);if(m===n._const||m===n._var)return!this.match(n._const)||!this.isLookaheadContextual("enum")?(c.declare=!0,this.parseVarStatement(c,b||this.value,!0)):(this.expect(n._const),this.tsParseEnumDeclaration(c,{const:!0,declare:!0}));if(m===g.interface){let k=this.tsParseInterfaceDeclaration(c,{declare:!0});if(k)return k}if(x(m))return this.tsParseDeclaration(c,this.value,!0)})}tsIsListTerminator(c){switch(c){case"EnumMembers":case"TypeMembers":return this.match(n.braceR);case"HeritageClauseElement":return this.match(n.braceL);case"TupleElementTypes":return this.match(n.bracketR);case"TypeParametersOrArguments":return this.tsMatchRightRelational()}}tsParseDelimitedListWorker(c,m,b,k){let R=[],L=-1;for(;!this.tsIsListTerminator(c);){L=-1;let B=m();if(B==null)return;if(R.push(B),this.eat(n.comma)){L=this.lastTokStart;continue}if(this.tsIsListTerminator(c))break;b&&this.expect(n.comma);return}return k&&(k.value=L),R}tsParseDelimitedList(c,m,b){return l2(this.tsParseDelimitedListWorker(c,m,!0,b))}tsParseBracketedList(c,m,b,k,R){k||(b?this.expect(n.bracketL):this.expect(n.relational));let L=this.tsParseDelimitedList(c,m,R);return b?this.expect(n.bracketR):this.expect(n.relational),L}tsParseTypeParameterName(){return this.parseIdent().name}tsEatThenParseType(c){return this.match(c)?this.tsNextThenParseType():void 0}tsExpectThenParseType(c){return this.tsDoThenParseType(()=>this.expect(c))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(c){return this.tsInType(()=>(c(),this.tsParseType()))}tsSkipParameterStart(){if(x(this.type)||this.match(n._this))return this.next(),!0;if(this.match(n.braceL))try{return this.parseObj(!0),!0}catch{return!1}if(this.match(n.bracketL)){this.next();try{return this.parseBindingList(n.bracketR,!0,!0),!0}catch{return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(n.parenR)||this.match(n.ellipsis)||this.tsSkipParameterStart()&&(this.match(n.colon)||this.match(n.comma)||this.match(n.question)||this.match(n.eq)||this.match(n.parenR)&&(this.next(),this.match(n.arrow))))}tsIsStartOfFunctionType(){return this.tsMatchLeftRelational()?!0:this.match(n.parenL)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsInAllowConditionalTypesContext(c){let m=this.inDisallowConditionalTypesContext;this.inDisallowConditionalTypesContext=!1;try{return c()}finally{this.inDisallowConditionalTypesContext=m}}tsParseBindingListForSignature(){return super.parseBindingList(n.parenR,!0,!0).map(c=>(c.type!=="Identifier"&&c.type!=="RestElement"&&c.type!=="ObjectPattern"&&c.type!=="ArrayPattern"&&this.raise(c.start,re.UnsupportedSignatureParameterKind({type:c.type})),c))}tsParseTypePredicateAsserts(){if(this.type!==g.asserts)return!1;let c=this.containsEsc;return this.next(),!x(this.type)&&!this.match(n._this)?!1:(c&&this.raise(this.lastTokStart,"Escape sequence in keyword asserts"),!0)}tsParseThisTypeNode(){let c=this.startNode();return this.next(),this.finishNode(c,"TSThisType")}tsParseTypeAnnotation(c=!0,m=this.startNode()){return this.tsInType(()=>{c&&this.expect(n.colon),m.typeAnnotation=this.tsParseType()}),this.finishNode(m,"TSTypeAnnotation")}tsParseThisTypePredicate(c){this.next();let m=this.startNodeAtNode(c);return m.parameterName=c,m.typeAnnotation=this.tsParseTypeAnnotation(!1),m.asserts=!1,this.finishNode(m,"TSTypePredicate")}tsParseThisTypeOrThisTypePredicate(){let c=this.tsParseThisTypeNode();return this.isContextual("is")&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(c):c}tsParseTypePredicatePrefix(){let c=this.parseIdent();if(this.isContextual("is")&&!this.hasPrecedingLineBreak())return this.next(),c}tsParseTypeOrTypePredicateAnnotation(c){return this.tsInType(()=>{let m=this.startNode();this.expect(c);let b=this.startNode(),k=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(k){let X=this.tsParseTypeAnnotation(!1);return b.parameterName=k,b.typeAnnotation=X,b.asserts=!1,m.typeAnnotation=this.finishNode(b,"TSTypePredicate"),this.finishNode(m,"TSTypeAnnotation")}let R=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(R&&this.match(n._this)){let X=this.tsParseThisTypeOrThisTypePredicate();return X.type==="TSThisType"?(b.parameterName=X,b.asserts=!0,b.typeAnnotation=null,X=this.finishNode(b,"TSTypePredicate")):(this.resetStartLocationFromNode(X,b),X.asserts=!0),m.typeAnnotation=X,this.finishNode(m,"TSTypeAnnotation")}let L=R&&this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!L)return R?(b.parameterName=this.parseIdent(),b.asserts=R,b.typeAnnotation=null,m.typeAnnotation=this.finishNode(b,"TSTypePredicate"),this.finishNode(m,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,m);let B=this.tsParseTypeAnnotation(!1);return b.parameterName=L,b.typeAnnotation=B,b.asserts=R,m.typeAnnotation=this.finishNode(b,"TSTypePredicate"),this.finishNode(m,"TSTypeAnnotation")})}tsFillSignature(c,m){let b=c===n.arrow,k="parameters",R="typeAnnotation";m.typeParameters=this.tsTryParseTypeParameters(),this.expect(n.parenL),m[k]=this.tsParseBindingListForSignature(),b?m[R]=this.tsParseTypeOrTypePredicateAnnotation(c):this.match(c)&&(m[R]=this.tsParseTypeOrTypePredicateAnnotation(c))}tsTryNextParseConstantContext(){if(this.lookahead().type!==n._const)return null;this.next();let c=this.tsParseTypeReference();return(c.typeParameters||c.typeArguments)&&this.raise(c.typeName.start,re.CannotFindName({name:"const"})),c}tsParseFunctionOrConstructorType(c,m){let b=this.startNode();return c==="TSConstructorType"&&(b.abstract=!!m,m&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(n.arrow,b)),this.finishNode(b,c)}tsParseUnionOrIntersectionType(c,m,b){let k=this.startNode(),R=this.eat(b),L=[];do L.push(m());while(this.eat(b));return L.length===1&&!R?L[0]:(k.types=L,this.finishNode(k,c))}tsCheckTypeAnnotationForReadOnly(c){switch(c.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(c.start,re.UnexpectedReadonly)}}tsParseTypeOperator(){let c=this.startNode(),m=this.value;return this.next(),c.operator=m,c.typeAnnotation=this.tsParseTypeOperatorOrHigher(),m==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(c),this.finishNode(c,"TSTypeOperator")}tsParseConstraintForInferType(){if(this.eat(n._extends)){let c=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.inDisallowConditionalTypesContext||!this.match(n.question))return c}}tsParseInferType(){let c=this.startNode();this.expectContextual("infer");let m=this.startNode();return m.name=this.tsParseTypeParameterName(),m.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),c.typeParameter=this.finishNode(m,"TSTypeParameter"),this.finishNode(c,"TSInferType")}tsParseLiteralTypeNode(){let c=this.startNode();return c.literal=(()=>{switch(this.type){case n.num:case n.string:case n._true:case n._false:return this.parseExprAtom();default:this.unexpected()}})(),this.finishNode(c,"TSLiteralType")}tsParseImportType(){let c=this.startNode();return this.expect(n._import),this.expect(n.parenL),this.match(n.string)||this.raise(this.start,re.UnsupportedImportTypeArgument),c.argument=this.parseExprAtom(),this.expect(n.parenR),this.eat(n.dot)&&(c.qualifier=this.tsParseEntityName()),this.tsMatchLeftRelational()&&(c.typeArguments=this.tsParseTypeArguments()),this.finishNode(c,"TSImportType")}tsParseTypeQuery(){let c=this.startNode();return this.expect(n._typeof),this.match(n._import)?c.exprName=this.tsParseImportType():c.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.tsMatchLeftRelational()&&(c.typeArguments=this.tsParseTypeArguments()),this.finishNode(c,"TSTypeQuery")}tsParseMappedTypeParameter(){let c=this.startNode();return c.name=this.tsParseTypeParameterName(),c.constraint=this.tsExpectThenParseType(n._in),this.finishNode(c,"TSTypeParameter")}tsParseMappedType(){let c=this.startNode();return this.expect(n.braceL),this.match(n.plusMin)?(c.readonly=this.value,this.next(),this.expectContextual("readonly")):this.eatContextual("readonly")&&(c.readonly=!0),this.expect(n.bracketL),c.typeParameter=this.tsParseMappedTypeParameter(),c.nameType=this.eatContextual("as")?this.tsParseType():null,this.expect(n.bracketR),this.match(n.plusMin)?(c.optional=this.value,this.next(),this.expect(n.question)):this.eat(n.question)&&(c.optional=!0),c.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(n.braceR),this.finishNode(c,"TSMappedType")}tsParseTypeLiteral(){let c=this.startNode();return c.members=this.tsParseObjectTypeMembers(),this.finishNode(c,"TSTypeLiteral")}tsIsTupleElementLabel(){if(!T(this.type))return!1;let c=this.lookahead();return c.type===n.colon?!0:c.type!==n.question?!1:this.lookahead(2).type===n.colon}tsParseTupleElementType(){let c=this.startLoc,m=this.start,b=this.eat(n.ellipsis),k;if(this.tsIsTupleElementLabel()){let R=this.startNode();R.label=this.parseIdent(!0),R.optional=this.eat(n.question),this.expect(n.colon),R.elementType=this.tsParseType(),k=this.finishNode(R,"TSNamedTupleMember")}else{k=this.tsParseType();let R=this.eat(n.question);if(this.eat(n.colon)&&this.raise(k.start,re.InvalidTupleMemberLabel),R){let L=this.startNodeAtNode(k);L.typeAnnotation=k,k=this.finishNode(L,"TSOptionalType")}}if(b){let R=this.startNodeAt(m,c);R.typeAnnotation=k,k=this.finishNode(R,"TSRestType")}return k}tsParseTupleType(){let c=this.startNode();c.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let m=!1;return c.elementTypes.forEach(b=>{let{type:k}=b;m&&k!=="TSRestType"&&k!=="TSOptionalType"&&!(k==="TSNamedTupleMember"&&b.optional)&&this.raise(b.start,re.OptionalTypeBeforeRequired),m||=k==="TSNamedTupleMember"&&b.optional||k==="TSOptionalType",k==="TSRestType"&&(b=b.typeAnnotation)}),this.finishNode(c,"TSTupleType")}tsParseTemplateLiteralType(){let c=this.startNode();return c.literal=this.parseTemplate({isTagged:!1}),this.finishNode(c,"TSLiteralType")}tsParseTypeReference(){let c=this.startNode();return c.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.tsMatchLeftRelational()&&(c.typeArguments=this.tsParseTypeArguments()),this.finishNode(c,"TSTypeReference")}tsMatchLeftRelational(){return this.match(n.relational)&&this.value==="<"}tsMatchRightRelational(){return this.match(n.relational)&&this.value===">"}tsParseParenthesizedType(){let c=this.startNode();return this.expect(n.parenL),c.typeAnnotation=this.tsParseType(),this.expect(n.parenR),this.finishNode(c,"TSParenthesizedType")}tsParseNonArrayType(){switch(this.type){case n.string:case n.num:case n._true:case n._false:return this.tsParseLiteralTypeNode();case n.plusMin:if(this.value==="-"){let c=this.startNode();return this.lookahead().type!==n.num&&this.unexpected(),c.literal=this.parseMaybeUnary(),this.finishNode(c,"TSLiteralType")}break;case n._this:return this.tsParseThisTypeOrThisTypePredicate();case n._typeof:return this.tsParseTypeQuery();case n._import:return this.tsParseImportType();case n.braceL:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case n.bracketL:return this.tsParseTupleType();case n.parenL:return this.tsParseParenthesizedType();case n.backQuote:case n.dollarBraceL:return this.tsParseTemplateLiteralType();default:{let{type:c}=this;if(T(c)||c===n._void||c===n._null){let m=c===n._void?"TSVoidKeyword":c===n._null?"TSNullKeyword":u2(this.value);if(m!==void 0&&this.lookaheadCharCode()!==46){let b=this.startNode();return this.next(),this.finishNode(b,m)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let c=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(n.bracketL);)if(this.match(n.bracketR)){let m=this.startNodeAtNode(c);m.elementType=c,this.expect(n.bracketR),c=this.finishNode(m,"TSArrayType")}else{let m=this.startNodeAtNode(c);m.objectType=c,m.indexType=this.tsParseType(),this.expect(n.bracketR),c=this.finishNode(m,"TSIndexedAccessType")}return c}tsParseTypeOperatorOrHigher(){return P(this.type)&&!this.containsEsc?this.tsParseTypeOperator():this.isContextual("infer")?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),n.bitwiseAND)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),n.bitwiseOR)}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(n._new)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseType(){Dv(this.inType);let c=this.tsParseNonConditionalType();if(this.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(n._extends))return c;let m=this.startNodeAtNode(c);return m.checkType=c,m.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(n.question),m.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(n.colon),m.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(m,"TSConditionalType")}tsIsUnambiguouslyIndexSignature(){return this.next(),x(this.type)?(this.next(),this.match(n.colon)):!1}tsInType(c){let m=this.inType;this.inType=!0;try{return c()}finally{this.inType=m}}tsTryParseIndexSignature(c){if(!(this.match(n.bracketL)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(n.bracketL);let m=this.parseIdent();m.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(m),this.expect(n.bracketR),c.parameters=[m];let b=this.tsTryParseTypeAnnotation();return b&&(c.typeAnnotation=b),this.tsParseTypeMemberSemicolon(),this.finishNode(c,"TSIndexSignature")}tsParseNoneModifiers(c){this.tsParseModifiers({modified:c,allowedModifiers:[],disallowedModifiers:["in","out"],errorTemplate:re.InvalidModifierOnTypeParameterPositions})}tsParseTypeParameter(c=this.tsParseNoneModifiers.bind(this)){let m=this.startNode();return c(m),m.name=this.tsParseTypeParameterName(),m.constraint=this.tsEatThenParseType(n._extends),m.default=this.tsEatThenParseType(n.eq),this.finishNode(m,"TSTypeParameter")}tsParseTypeParameters(c){let m=this.startNode();this.tsMatchLeftRelational()||this.matchJsx("jsxTagStart")?this.next():this.unexpected();let b={value:-1};return m.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,c),!1,!0,b),m.params.length===0&&this.raise(this.start,re.EmptyTypeParameters),b.value!==-1&&this.addExtra(m,"trailingComma",b.value),this.finishNode(m,"TSTypeParameterDeclaration")}tsTryParseTypeParameters(c){if(this.tsMatchLeftRelational())return this.tsParseTypeParameters(c)}tsTryParse(c){let m=this.beginParseEffectScope(),b;try{b=c()}catch(k){throw this.parseEffects.rollback(m),k}if(b!==void 0&&b!==!1)return this.parseEffects.commit(m),b;this.parseEffects.rollback(m)}tsTokenCanFollowModifier(){return(this.match(n.bracketL)||this.match(n.braceL)||this.match(n.star)||this.match(n.ellipsis)||this.match(n.privateId)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(!0),this.tsTokenCanFollowModifier()}tsParseModifier(c,m){let b=this.value;if(c.indexOf(b)!==-1&&!this.containsEsc){if(m&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return b}}tsParseModifiersByMap({modified:c,map:m}){for(let b of Object.keys(m))c[b]=m[b]}tsParseModifiers({modified:c,allowedModifiers:m,disallowedModifiers:b,stopOnStartOfClassStaticBlock:k,errorTemplate:R=re.InvalidModifierOnTypeMember}){let L={},B=(G,V,he,Ie)=>{V===he&&c[Ie]&&this.raise(G.column,re.InvalidModifiersOrder({orderedModifiers:[he,Ie]}))},X=(G,V,he,Ie)=>{(c[he]&&V===Ie||c[Ie]&&V===he)&&this.raise(G.column,re.IncompatibleModifiers({modifiers:[he,Ie]}))};for(;;){let G=this.startLoc,V=this.tsParseModifier(m.concat(b??[]),k);if(!V)break;jv(V)?c.accessibility?this.raise(this.start,re.DuplicateAccessibilityModifier()):(B(G,V,V,"override"),B(G,V,V,"static"),B(G,V,V,"readonly"),B(G,V,V,"accessor"),L.accessibility=V,c.accessibility=V):i2(V)?c[V]?this.raise(this.start,re.DuplicateModifier({modifier:V})):(B(G,V,"in","out"),L[V]=V,c[V]=!0):r2(V)?c[V]?this.raise(this.start,re.DuplicateModifier({modifier:V})):(X(G,V,"accessor","readonly"),X(G,V,"accessor","override"),L[V]=V,c[V]=!0):V==="const"?c[V]?this.raise(this.start,re.DuplicateModifier({modifier:V})):(L[V]=V,c[V]=!0):Object.hasOwnProperty.call(c,V)?this.raise(this.start,re.DuplicateModifier({modifier:V})):(B(G,V,"static","readonly"),B(G,V,"static","override"),B(G,V,"override","readonly"),B(G,V,"abstract","override"),X(G,V,"declare","override"),X(G,V,"static","abstract"),L[V]=V,c[V]=!0),b?.includes(V)&&this.raise(this.start,R)}return L}tsParseInOutModifiers(c){this.tsParseModifiers({modified:c,allowedModifiers:["in","out"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:re.InvalidModifierOnTypeParameter})}tsParseClassTypeParameterModifiers(c){this.tsParseModifiers({modified:c,allowedModifiers:["const","in","out"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:re.InvalidModifierOnTypeParameter})}parseMaybeUnary(c,m,b,k){return!e?.jsx&&this.tsMatchLeftRelational()?this.tsParseTypeAssertion():super.parseMaybeUnary(c,m,b,k)}tsParseTypeAssertion(){r&&this.raise(this.start,re.ReservedTypeAssertion);let c=this.tryParse(()=>{let m=this.startNode(),b=this.tsTryNextParseConstantContext();return m.typeAnnotation=b||this.tsNextThenParseType(),this.expect(n.relational),m.expression=this.parseMaybeUnary(),this.finishNode(m,"TSTypeAssertion")});return c.error?this.tsParseTypeParameters(this.tsParseConstModifier):c.node}tsParseTypeArguments(c=!1){let m=this.startNode();return m.params=this.tsInType(()=>this.tsInNoContext(()=>(this.expect(n.relational),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),m.params.length===0&&this.raise(this.start,re.EmptyTypeArguments),c&&this.curContext()!==E.tc_oTag&&this.reScan_lt_gt(),this.tsMatchRightRelational()||this.unexpected(),this.exprAllowed=!1,this.next(),this.finishNode(m,"TSTypeParameterInstantiation")}tsParseHeritageClause(c){let m=this.start,b=this.tsParseDelimitedList("HeritageClauseElement",()=>{let k=this.startNode();return k.expression=this.tsParseEntityName(),this.tsMatchLeftRelational()&&(k.typeParameters=this.tsParseTypeArguments()),this.finishNode(k,"TSExpressionWithTypeArguments")});return b.length||this.raise(m,re.EmptyHeritageClauseType({token:c})),b}tsParseTypeMemberSemicolon(){!this.eat(n.comma)&&!this.isLineTerminator()&&this.expect(n.semi)}tsTryParseAndCatch(c){let m=this.tryParse(b=>c()||b());if(!(m.aborted||!m.node))return m.node}tsParseSignatureMember(c,m){return this.tsFillSignature(n.colon,m),this.tsParseTypeMemberSemicolon(),this.finishNode(m,c)}tsParsePropertyOrMethodSignature(c,m){this.eat(n.question)&&(c.optional=!0);let b=c;if(this.match(n.parenL)||this.tsMatchLeftRelational()){m&&this.raise(c.start,re.ReadonlyForMethodSignature);let k=b;k.kind&&this.tsMatchLeftRelational()&&this.raise(this.start,re.AccesorCannotHaveTypeParameters),this.tsFillSignature(n.colon,k),this.tsParseTypeMemberSemicolon();let R="parameters",L="typeAnnotation";if(k.kind==="get")k[R].length>0&&(this.raise(this.start,"A 'get' accesor must not have any formal parameters."),this.isThisParam(k[R][0])&&this.raise(this.start,re.AccesorCannotDeclareThisParameter));else if(k.kind==="set"){if(k[R].length!==1)this.raise(this.start,"A 'get' accesor must not have any formal parameters.");else{let B=k[R][0];this.isThisParam(B)&&this.raise(this.start,re.AccesorCannotDeclareThisParameter),B.type==="Identifier"&&B.optional&&this.raise(this.start,re.SetAccesorCannotHaveOptionalParameter),B.type==="RestElement"&&this.raise(this.start,re.SetAccesorCannotHaveRestParameter)}k[L]&&this.raise(k[L].start,re.SetAccesorCannotHaveReturnType)}else k.kind="method";return this.finishNode(k,"TSMethodSignature")}else{let k=b;m&&(k.readonly=!0);let R=this.tsTryParseTypeAnnotation();return R&&(k.typeAnnotation=R),this.tsParseTypeMemberSemicolon(),this.finishNode(k,"TSPropertySignature")}}tsParseTypeMember(){let c=this.startNode();if(this.match(n.parenL)||this.tsMatchLeftRelational())return this.tsParseSignatureMember("TSCallSignatureDeclaration",c);if(this.match(n._new)){let b=this.startNode();return this.next(),this.match(n.parenL)||this.tsMatchLeftRelational()?this.tsParseSignatureMember("TSConstructSignatureDeclaration",c):(c.key=this.createIdentifier(b,"new"),this.tsParsePropertyOrMethodSignature(c,!1))}this.tsParseModifiers({modified:c,allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]});let m=this.tsTryParseIndexSignature(c);return m||(this.parsePropertyName(c),!c.computed&&c.key.type==="Identifier"&&(c.key.name==="get"||c.key.name==="set")&&this.tsTokenCanFollowModifier()&&(c.kind=c.key.name,this.parsePropertyName(c)),this.tsParsePropertyOrMethodSignature(c,!!c.readonly))}tsParseList(c,m){let b=[];for(;!this.tsIsListTerminator(c);)b.push(m());return b}tsParseObjectTypeMembers(){this.expect(n.braceL);let c=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(n.braceR),c}tsParseInterfaceDeclaration(c,m={}){if(this.hasFollowingLineBreak())return null;if(this.expectContextual("interface"),m.declare&&(c.declare=!0),x(this.type)){c.id=this.parseIdent(),this.checkLValSimple(c.id,xe.BIND_TS_INTERFACE);let k=this.currentScope();this.maybeExportDefined(k,c.id.name)}else c.id=null,this.raise(this.start,re.MissingInterfaceName);c.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this)),this.eat(n._extends)&&(c.extends=this.tsParseHeritageClause("extends"));let b=this.startNode();return b.body=this.tsParseInterfaceBody(),c.body=this.finishNode(b,"TSInterfaceBody"),this.finishNode(c,"TSInterfaceDeclaration")}tsParseInterfaceBody(){this.expect(n.braceL);let c=this.inType;this.inType=!0;let m=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.inType=c,this.expect(n.braceR),m}tsParseAbstractDeclaration(c){if(this.match(n._class))return c.abstract=!0,this.parseClass(c,!0);if(this.ts_isContextual(g.interface)){if(!this.hasFollowingLineBreak())return c.abstract=!0,this.tsParseInterfaceDeclaration(c)}else this.unexpected(c.start)}tsIsDeclarationStart(){return y(this.type)}tsParseExpressionStatement(c,m){switch(m.name){case"declare":{let b=this.tsTryParseDeclare(c);if(b)return b.declare=!0,b;break}case"global":if(this.match(n.braceL)){this.enterScope(Us);let b=c;return b.global=!0,b.id=m,b.body=this.tsParseModuleBlock(),super.exitScope(),this.finishNode(b,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(c,m.name,!1)}}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsIsExportDefaultSpecifier(){let{type:c}=this,m=this.isAsyncFunction(),b=this.isLet();if(x(c)){if(m&&!this.containsEsc||b)return!1;if((c===g.type||c===g.interface)&&!this.containsEsc){let L=this.lookahead();if(x(L.type)&&!this.isContextualWithState("from",L)||L.type===n.braceL)return!1}}else if(!this.match(n._default))return!1;let k=this.nextTokenStart(),R=this.isUnparsedContextual(k,"from");if(this.input.charCodeAt(k)===44||x(this.type)&&R)return!0;if(this.match(n._default)&&R){let L=this.input.charCodeAt(this.nextTokenStartSince(k+4));return L===34||L===39}return!1}tsInAmbientContext(c){let m=this.isAmbientContext;this.isAmbientContext=!0;try{return c()}finally{this.isAmbientContext=m}}tsCheckLineTerminator(c){return c?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsParseModuleOrNamespaceDeclaration(c,m=!1){if(c.id=this.parseIdent(),m||this.checkLValSimple(c.id,xe.BIND_TS_NAMESPACE),this.eat(n.dot)){let b=this.startNode();this.tsParseModuleOrNamespaceDeclaration(b,!0),c.body=b}else this.enterScope(Us),c.body=this.tsParseModuleBlock(),super.exitScope();return this.finishNode(c,"TSModuleDeclaration")}checkLValSimple(c,m=xe.BIND_NONE,b){for(;c.type==="TSNonNullExpression"||c.type==="TSAsExpression"||c.type==="TSSatisfiesExpression"||c.type==="TSTypeAssertion";)c=c.expression;return super.checkLValSimple(c,m,b)}isSimpleAssignTarget(c){for(;c.type==="TSNonNullExpression"||c.type==="TSAsExpression"||c.type==="TSSatisfiesExpression"||c.type==="TSTypeAssertion";)c=c.expression;return super.isSimpleAssignTarget(c)}tsParseTypeAliasDeclaration(c){c.id=this.parseIdent(),this.checkLValSimple(c.id,xe.BIND_TS_TYPE);let m=this.currentScope();return this.maybeExportDefined(m,c.id.name),c.typeAnnotation=this.tsInType(()=>{if(c.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this)),this.expect(n.eq),this.ts_isContextual(g.interface)&&this.lookahead().type!==n.dot){let b=this.startNode();return this.next(),this.finishNode(b,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(c,"TSTypeAliasDeclaration")}tsParseDeclaration(c,m,b){switch(m){case"abstract":if(this.tsCheckLineTerminator(b)&&(this.match(n._class)||x(this.type)))return this.tsParseAbstractDeclaration(c);break;case"module":if(this.tsCheckLineTerminator(b)){if(this.match(n.string))return this.tsParseAmbientExternalModuleDeclaration(c);if(x(this.type))return this.tsParseModuleOrNamespaceDeclaration(c)}break;case"namespace":if(this.tsCheckLineTerminator(b)&&x(this.type))return this.tsParseModuleOrNamespaceDeclaration(c);break;case"type":if(this.tsCheckLineTerminator(b)&&x(this.type))return this.tsParseTypeAliasDeclaration(c);break}}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.value,!0)}tsParseImportEqualsDeclaration(c,m){c.isExport=m||!1,c.id=this.parseIdent(),this.checkLValSimple(c.id,xe.BIND_LEXICAL),super.expect(n.eq);let b=this.tsParseModuleReference();return c.importKind==="type"&&b.type!=="TSExternalModuleReference"&&this.raise(b.start,re.ImportAliasHasImportType),c.moduleReference=b,super.semicolon(),this.finishNode(c,"TSImportEqualsDeclaration")}isExportDefaultSpecifier(){if(this.tsIsDeclarationStart())return!1;let{type:c}=this;if(x(c)){if(this.isContextual("async")||this.isContextual("let"))return!1;if((c===g.type||c===g.interface)&&!this.containsEsc){let k=this.lookahead();if(x(k.type)&&!this.isContextualWithState("from",k)||k.type===n.braceL)return!1}}else if(!this.match(n._default))return!1;let m=this.nextTokenStart(),b=this.isUnparsedContextual(m,"from");if(this.input.charCodeAt(m)===44||x(this.type)&&b)return!0;if(this.match(n._default)&&b){let k=this.input.charCodeAt(this.nextTokenStartSince(m+4));return k===34||k===39}return!1}parseTemplate({isTagged:c=!1}={}){let m=this.startNode();this.next(),m.expressions=[];let b=this.parseTemplateElement({isTagged:c});for(m.quasis=[b];!b.tail;)this.type===n.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(n.dollarBraceL),m.expressions.push(this.inType?this.tsParseType():this.parseExpression()),this.expect(n.braceR),m.quasis.push(b=this.parseTemplateElement({isTagged:c}));return this.next(),this.finishNode(m,"TemplateLiteral")}parseFunction(c,m,b,k,R){this.initFunction(c),(this.ecmaVersion>=9||this.ecmaVersion>=6&&!k)&&(this.type===n.star&&m&Bv&&this.unexpected(),c.generator=this.eat(n.star)),this.ecmaVersion>=8&&(c.async=!!k),m&Ya&&(c.id=m&s2&&this.type!==n.name?null:this.parseIdent());let L=this.yieldPos,B=this.awaitPos,X=this.awaitIdentPos,G=this.maybeInArrowParameters;this.maybeInArrowParameters=!1,this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Sf(c.async,c.generator)),m&Ya||(c.id=this.type===n.name?this.parseIdent():null),this.parseFunctionParams(c);let V=m&Ya;return this.parseFunctionBody(c,b,!1,R,{isFunctionDeclaration:V}),V&&this.isAmbientContext&&c.id&&this.currentScope().flags&xe.SCOPE_TOP&&this.declareName(c.id.name,xe.BIND_FLAGS_TS_EXPORT_ONLY,c.id.start),this.yieldPos=L,this.awaitPos=B,this.awaitIdentPos=X,m&Ya&&c.id&&!(m&Bv)&&(c.body?this.checkLValSimple(c.id,this.strict||c.generator||c.async?this.treatFunctionsAsVar?xe.BIND_VAR:xe.BIND_LEXICAL:xe.BIND_FUNCTION):this.checkLValSimple(c.id,xe.BIND_NONE)),this.maybeInArrowParameters=G,this.finishNode(c,V?"FunctionDeclaration":"FunctionExpression")}parseFunctionBody(c,m=!1,b=!1,k=!1,R){this.match(n.colon)&&(c.returnType=this.tsParseTypeOrTypePredicateAnnotation(n.colon));let L=R?.isFunctionDeclaration?"TSDeclareFunction":R?.isClassMethod?"TSDeclareMethod":void 0;return L&&!this.match(n.braceL)&&this.isLineTerminator()?(this.exitScope(),this.finishNode(c,L)):L==="TSDeclareFunction"&&this.isAmbientContext&&(this.raise(c.start,re.DeclareFunctionHasImplementation),c.declare)?(super.parseFunctionBody(c,m,b,!1),this.finishNode(c,L)):(super.parseFunctionBody(c,m,b,k),c)}parseNew(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");let c=this.startNode(),m=this.parseIdent(!0);if(this.ecmaVersion>=6&&this.eat(n.dot)){c.meta=m;let B=this.containsEsc;return c.property=this.parseIdent(!0),c.property.name!=="target"&&this.raiseRecoverable(c.property.start,"The only valid meta property for new is 'new.target'"),B&&this.raiseRecoverable(c.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(c.start,"'new.target' can only be used in functions and class static block"),this.finishNode(c,"MetaProperty")}let b=this.start,k=this.startLoc,R=this.type===n._import;c.callee=this.parseSubscripts(this.parseExprAtom(),b,k,!0,!1),R&&c.callee.type==="ImportExpression"&&this.raise(b,"Cannot use new with import()");let{callee:L}=c;return L.type==="TSInstantiationExpression"&&!L.extra?.parenthesized&&(c.typeArguments=L.typeArguments,c.callee=L.expression),this.eat(n.parenL)?c.arguments=this.parseExprList(n.parenR,this.ecmaVersion>=8,!1):c.arguments=[],this.finishNode(c,"NewExpression")}parseExprOp(c,m,b,k,R){if(n._in.binop>k&&!this.hasPrecedingLineBreak()){let L;if(this.isContextual("as")&&(L="TSAsExpression"),this.isContextual("satisfies")&&(L="TSSatisfiesExpression"),L){let B=this.startNodeAt(m,b);B.expression=c;let X=this.tsTryNextParseConstantContext();return X?B.typeAnnotation=X:B.typeAnnotation=this.tsNextThenParseType(),this.finishNode(B,L),this.reScan_lt_gt(),this.parseExprOp(B,m,b,k,R)}}return super.parseExprOp(c,m,b,k,R)}parseImportSpecifiers(){let c=[],m=!0;if(a.tokenIsIdentifier(this.type)&&(c.push(this.parseImportDefaultSpecifier()),!this.eat(n.comma)))return c;if(this.type===n.star)return c.push(this.parseImportNamespaceSpecifier()),c;for(this.expect(n.braceL);!this.eat(n.braceR);){if(m)m=!1;else if(this.expect(n.comma),this.afterTrailingComma(n.braceR))break;c.push(this.parseImportSpecifier())}return c}parseImport(c){let m=this.lookahead();if(c.importKind="value",this.importOrExportOuterKind="value",x(m.type)||this.match(n.star)||this.match(n.braceL)){let b=this.lookahead(2);if(b.type!==n.comma&&!this.isContextualWithState("from",b)&&b.type!==n.eq&&this.ts_eatContextualWithState("type",1,m)&&(this.importOrExportOuterKind="type",c.importKind="type",m=this.lookahead(),b=this.lookahead(2)),x(m.type)&&b.type===n.eq){this.next();let k=this.tsParseImportEqualsDeclaration(c);return this.importOrExportOuterKind="value",k}}return this.next(),this.type===n.string?(c.specifiers=[],c.source=this.parseExprAtom()):(c.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),c.source=this.type===n.string?this.parseExprAtom():this.unexpected()),this.parseMaybeImportAttributes(c),this.semicolon(),this.finishNode(c,"ImportDeclaration"),this.importOrExportOuterKind="value",c.importKind==="type"&&c.specifiers.length>1&&c.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(c.start,re.TypeImportCannotSpecifyDefaultAndNamed),c}parseExportDefaultDeclaration(){if(this.isAbstractClass()){let c=this.startNode();return this.next(),c.abstract=!0,this.parseClass(c,!0)}if(this.match(g.interface)){let c=this.tsParseInterfaceDeclaration(this.startNode());if(c)return c}return super.parseExportDefaultDeclaration()}parseExportAllDeclaration(c,m){return this.ecmaVersion>=11&&(this.eatContextual("as")?(c.exported=this.parseModuleExportName(),this.checkExport(m,c.exported,this.lastTokStart)):c.exported=null),this.expectContextual("from"),this.type!==n.string&&this.unexpected(),c.source=this.parseExprAtom(),this.parseMaybeImportAttributes(c),this.semicolon(),this.finishNode(c,"ExportAllDeclaration")}parseDynamicImport(c){if(this.next(),c.source=this.parseMaybeAssign(),this.eat(n.comma)){let m=this.parseExpression();c.arguments=[m]}if(!this.eat(n.parenR)){let m=this.start;this.eat(n.comma)&&this.eat(n.parenR)?this.raiseRecoverable(m,"Trailing comma is not allowed in import()"):this.unexpected(m)}return this.finishNode(c,"ImportExpression")}parseExport(c,m){let b=this.lookahead();if(this.ts_eatWithState(n._import,2,b)){this.ts_isContextual(g.type)&&this.lookaheadCharCode()!==61?(c.importKind="type",this.importOrExportOuterKind="type",this.next()):(c.importKind="value",this.importOrExportOuterKind="value");let k=this.tsParseImportEqualsDeclaration(c,!0);return this.importOrExportOuterKind=void 0,k}else if(this.ts_eatWithState(n.eq,2,b)){let k=c;return k.expression=this.parseExpression(),this.semicolon(),this.importOrExportOuterKind=void 0,this.finishNode(k,"TSExportAssignment")}else if(this.ts_eatContextualWithState("as",2,b)){let k=c;return this.expectContextual("namespace"),k.id=this.parseIdent(),this.semicolon(),this.importOrExportOuterKind=void 0,this.finishNode(k,"TSNamespaceExportDeclaration")}else{let k=this.lookahead(2).type;if(this.ts_isContextualWithState(b,g.type)&&(k===n.braceL||k===n.star)?(this.next(),this.importOrExportOuterKind="type",c.exportKind="type"):(this.importOrExportOuterKind="value",c.exportKind="value"),this.next(),this.eat(n.star))return this.parseExportAllDeclaration(c,m);if(this.eat(n._default))return this.checkExport(m,"default",this.lastTokStart),c.declaration=this.parseExportDefaultDeclaration(),this.finishNode(c,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())c.declaration=this.parseExportDeclaration(c),c.declaration.type==="VariableDeclaration"?this.checkVariableExport(m,c.declaration.declarations):this.checkExport(m,c.declaration.id,c.declaration.id.start),c.specifiers=[],c.source=null;else{if(c.declaration=null,c.specifiers=this.parseExportSpecifiers(m),this.eatContextual("from"))this.type!==n.string&&this.unexpected(),c.source=this.parseExprAtom(),this.parseMaybeImportAttributes(c);else{for(let R of c.specifiers)this.checkUnreserved(R.local),this.checkLocalExport(R.local),R.local.type==="Literal"&&this.raise(R.local.start,"A string literal cannot be used as an exported binding without `from`.");c.source=null}this.semicolon()}return this.finishNode(c,"ExportNamedDeclaration")}}checkExport(c,m,b){c&&(typeof m!="string"&&(m=m.type==="Identifier"?m.name:m.value),c[m]=!0)}parseMaybeDefault(c,m,b){let k=super.parseMaybeDefault(c,m,b);return k.type==="AssignmentPattern"&&k.typeAnnotation&&k.right.start<k.typeAnnotation.start&&this.raise(k.typeAnnotation.start,re.TypeAnnotationAfterAssign),k}typeCastToParameter(c){return c.expression.typeAnnotation=c.typeAnnotation,this.resetEndLocation(c.expression,c.typeAnnotation.end,c.typeAnnotation.loc?.end),c.expression}toAssignableList(c,m){c||(c=[]);for(let b=0;b<c.length;b++){let k=c[b];k?.type==="TSTypeCastExpression"&&(c[b]=this.typeCastToParameter(k))}return super.toAssignableList(c,m)}reportReservedArrowTypeParam(c){c.params.length===1&&!c.extra?.trailingComma&&r&&this.raise(c.start,re.ReservedArrowTypeParam)}parseExprAtom(c,m,b){if(this.type===g.jsxText)return this.jsx_parseText();if(this.type===g.jsxTagStart)return this.jsx_parseElement();if(this.type===g.at)return this.parseDecorators(),this.parseExprAtom();if(x(this.type)){let k=this.potentialArrowAt===this.start,R=this.start,L=this.startLoc,B=this.containsEsc,X=this.parseIdent(!1);if(this.ecmaVersion>=8&&!B&&X.name==="async"&&!this.canInsertSemicolon()&&this.eat(n._function))return this.overrideContext(h.f_expr),this.parseFunction(this.startNodeAt(R,L),0,!1,!0,m);if(k&&!this.canInsertSemicolon()){if(this.eat(n.arrow))return this.parseArrowExpression(this.startNodeAt(R,L),[X],!1,m);if(this.ecmaVersion>=8&&X.name==="async"&&this.type===n.name&&!B&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return X=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(n.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(R,L),[X],!0,m)}return X}else return super.parseExprAtom(c,m,b)}parseExprAtomDefault(){if(x(this.type)){let c=this.potentialArrowAt===this.start,m=this.containsEsc,b=this.parseIdent();if(!m&&b.name==="async"&&!this.canInsertSemicolon()){let{type:k}=this;if(k===n._function)return this.next(),this.parseFunction(this.startNodeAtNode(b),void 0,!0,!0);if(x(k))if(this.lookaheadCharCode()===61){let R=this.parseIdent(!1);return(this.canInsertSemicolon()||!this.eat(n.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAtNode(b),[R],!0)}else return b}return c&&this.match(n.arrow)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(b),[b],!1)):b}else this.unexpected()}parseIdentNode(){let c=this.startNode();if(T(this.type)&&!((this.type.keyword==="class"||this.type.keyword==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)))c.name=this.value;else return super.parseIdentNode();return c}parseVarStatement(c,m,b=!1){let{isAmbientContext:k}=this;this.next(),super.parseVar(c,!1,m,b||k),this.semicolon();let R=this.finishNode(c,"VariableDeclaration");if(!k)return R;for(let{id:L,init:B}of R.declarations)B&&(m!=="const"||L.typeAnnotation?this.raise(B.start,re.InitializerNotAllowedInAmbientContext):B.type!=="Literal"&&(B.type!=="TemplateLiteral"||B.expressions.length>0)&&!n2(B)&&!a2(B)&&this.raise(B.start,re.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference));return R}parseStatement(c,m,b){if(this.match(g.at)&&this.parseDecorators(!0),this.match(n._const)&&this.isLookaheadContextual("enum")){let k=this.startNode();return this.expect(n._const),this.tsParseEnumDeclaration(k,{const:!0})}if(this.ts_isContextual(g.enum))return this.tsParseEnumDeclaration(this.startNode());if(this.ts_isContextual(g.interface)){let k=this.tsParseInterfaceDeclaration(this.startNode());if(k)return k}return super.parseStatement(c,m,b)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}parsePostMemberNameModifiers(c){this.eat(n.question)&&(c.optional=!0),c.readonly&&this.match(n.parenL)&&this.raise(c.start,re.ClassMethodHasReadonly),c.declare&&this.match(n.parenL)&&this.raise(c.start,re.ClassMethodHasDeclare)}parseExpressionStatement(c,m){return(m.type==="Identifier"?this.tsParseExpressionStatement(c,m):void 0)||super.parseExpressionStatement(c,m)}shouldParseExportStatement(){return this.tsIsDeclarationStart()||this.match(g.at)?!0:super.shouldParseExportStatement()}parseConditional(c,m,b,k,R){if(this.eat(n.question)){let L=this.startNodeAt(m,b);return L.test=c,L.consequent=this.parseMaybeAssign(),this.expect(n.colon),L.alternate=this.parseMaybeAssign(k),this.finishNode(L,"ConditionalExpression")}return c}parseMaybeConditional(c,m){let b=this.start,k=this.startLoc,R=this.parseExprOps(c,m);if(this.checkExpressionErrors(m))return R;if(!this.maybeInArrowParameters||!this.match(n.question))return this.parseConditional(R,b,k,c,m);let L=this.tryParse(()=>this.parseConditional(R,b,k,c,m));return L.node?L.node:(L.error&&this.setOptionalParametersError(m,L.error),R)}parseParenItem(c){let m=this.start,b=this.startLoc;if(c=super.parseParenItem(c),this.eat(n.question)&&(c.optional=!0,this.resetEndLocation(c)),this.match(n.colon)){let k=this.startNodeAt(m,b);return k.expression=c,k.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(k,"TSTypeCastExpression")}return c}parseExportDeclaration(c){if(!this.isAmbientContext&&this.ts_isContextual(g.declare))return this.tsInAmbientContext(()=>this.parseExportDeclaration(c));let m=this.start,b=this.startLoc,k=this.eatContextual("declare");k&&(this.ts_isContextual(g.declare)||!this.shouldParseExportStatement())&&this.raise(this.start,re.ExpectedAmbientAfterExportDeclare);let L=x(this.type)&&this.tsTryParseExportDeclaration()||this.parseStatement(null);return L?((L.type==="TSInterfaceDeclaration"||L.type==="TSTypeAliasDeclaration"||k)&&(c.exportKind="type"),k&&(this.resetStartLocation(L,m,b),L.declare=!0),L):null}parseClassId(c,m){if(!m&&this.isContextual("implements"))return;super.parseClassId(c,m);let b=this.tsTryParseTypeParameters(this.tsParseClassTypeParameterModifiers.bind(this));b&&(c.typeParameters=b)}parseClassPropertyAnnotation(c){c.optional||(this.value==="!"&&this.eat(n.prefix)?c.definite=!0:this.eat(n.question)&&(c.optional=!0));let m=this.tsTryParseTypeAnnotation();m&&(c.typeAnnotation=m)}parseClassField(c){if(c.key.type==="PrivateIdentifier")c.abstract&&this.raise(c.start,re.PrivateElementHasAbstract),c.accessibility&&this.raise(c.start,re.PrivateElementHasAccessibility({modifier:c.accessibility})),this.parseClassPropertyAnnotation(c);else if(this.parseClassPropertyAnnotation(c),this.isAmbientContext&&!(c.readonly&&!c.typeAnnotation)&&this.match(n.eq)&&this.raise(this.start,re.DeclareClassFieldHasInitializer),c.abstract&&this.match(n.eq)){let{key:b}=c;this.raise(this.start,re.AbstractPropertyHasInitializer({propertyName:b.type==="Identifier"&&!c.computed?b.name:`[${this.input.slice(b.start,b.end)}]`}))}return super.parseClassField(c)}parseClassMethod(c,m,b,k){let R=c.kind==="constructor",L=c.key.type==="PrivateIdentifier",B=this.tsTryParseTypeParameters(this.tsParseConstModifier);L?(B&&(c.typeParameters=B),c.accessibility&&this.raise(c.start,re.PrivateMethodsHasAccessibility({modifier:c.accessibility}))):B&&R&&this.raise(B.start,re.ConstructorHasTypeParameters);let{declare:X=!1,kind:G}=c;X&&(G==="get"||G==="set")&&this.raise(c.start,re.DeclareAccessor({kind:G})),B&&(c.typeParameters=B);let V=c.key;c.kind==="constructor"?(m&&this.raise(V.start,"Constructor can't be a generator"),b&&this.raise(V.start,"Constructor can't be an async method")):c.static&&Lv(c,"prototype")&&this.raise(V.start,"Classes may not have a static property named prototype");let he=c.value=this.parseMethod(m,b,k,!0,c);return c.kind==="get"&&he.params.length!==0&&this.raiseRecoverable(he.start,"getter should have no params"),c.kind==="set"&&he.params.length!==1&&this.raiseRecoverable(he.start,"setter should have exactly one param"),c.kind==="set"&&he.params[0].type==="RestElement"&&this.raiseRecoverable(he.params[0].start,"Setter cannot use rest params"),this.finishNode(c,"MethodDefinition")}isClassMethod(){return this.match(n.relational)}parseClassElement(c){if(this.eat(n.semi))return null;let m=this.startNode(),b="",k=!1,R=!1,L="method",B=!1,X=["declare","private","public","protected","accessor","override","abstract","readonly","static"];B=!!this.tsParseModifiers({modified:m,allowedModifiers:X,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:re.InvalidModifierOnTypeParameterPositions}).static;let V=()=>{if(this.tsIsStartOfStaticBlocks()){if(this.next(),this.next(),this.tsHasSomeModifiers(m,X)&&this.raise(this.start,re.StaticBlockCannotHaveModifier),this.ecmaVersion>=13)return super.parseClassStaticBlock(m),m}else{let he=this.tsTryParseIndexSignature(m);if(he)return m.abstract&&this.raise(m.start,re.IndexSignatureHasAbstract),m.accessibility&&this.raise(m.start,re.IndexSignatureHasAccessibility({modifier:m.accessibility})),m.declare&&this.raise(m.start,re.IndexSignatureHasDeclare),m.override&&this.raise(m.start,re.IndexSignatureHasOverride),he;if(!this.inAbstractClass&&m.abstract&&this.raise(m.start,re.NonAbstractClassHasAbstractMethod),m.override&&(c||this.raise(m.start,re.OverrideNotInSubClass)),m.static=B,B&&(this.isClassElementNameStart()||this.type===n.star||(b="static")),!b&&this.ecmaVersion>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===n.star)&&!this.canInsertSemicolon()?R=!0:b="async"),!b&&(this.ecmaVersion>=9||!R)&&this.eat(n.star)&&(k=!0),!b&&!R&&!k){let Ie=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?L=Ie:b=Ie)}if(b?(m.computed=!1,m.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),m.key.name=b,this.finishNode(m.key,"Identifier")):this.parseClassElementName(m),this.parsePostMemberNameModifiers(m),this.isClassMethod()||this.ecmaVersion<13||this.type===n.parenL||L!=="method"||k||R){let Ie=!m.static&&Lv(m,"constructor"),Re=Ie&&c;Ie&&L!=="method"&&this.raise(m.key.start,"Constructor can't have get/set modifier"),m.kind=Ie?"constructor":L,this.parseClassMethod(m,k,R,Re)}else this.parseClassField(m);return m}};return m.declare?this.tsInAmbientContext(V):V(),m}isClassElementNameStart(){return this.tsIsIdentifier()?!0:super.isClassElementNameStart()}parseClassSuper(c){super.parseClassSuper(c),c.superClass&&(this.tsMatchLeftRelational()||this.match(n.bitShift))&&(c.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual("implements")&&(c.implements=this.tsParseHeritageClause("implements"))}parseFunctionParams(c){let m=this.tsTryParseTypeParameters(this.tsParseConstModifier);m&&(c.typeParameters=m),super.parseFunctionParams(c)}parseVarId(c,m){super.parseVarId(c,m),c.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.value==="!"&&this.eat(n.prefix)&&(c.definite=!0);let b=this.tsTryParseTypeAnnotation();b&&(c.id.typeAnnotation=b,this.resetEndLocation(c.id))}parseArrowExpression(c,m,b,k){this.match(n.colon)&&(c.returnType=this.tsParseTypeAnnotation());let R=this.yieldPos,L=this.awaitPos,B=this.awaitIdentPos;this.enterScope(Sf(b,!1)|xe.SCOPE_ARROW),this.initFunction(c);let X=this.maybeInArrowParameters;return this.ecmaVersion>=8&&(c.async=!!b),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.maybeInArrowParameters=!0,c.params=this.toAssignableList(m,!0),this.maybeInArrowParameters=!1,this.parseFunctionBody(c,!0,!1,k),this.yieldPos=R,this.awaitPos=L,this.awaitIdentPos=B,this.maybeInArrowParameters=X,this.finishNode(c,"ArrowFunctionExpression")}parseYield(c){this.yieldPos||(this.yieldPos=this.start);let m=this.startNode();this.next();let b=this.tsMatchLeftRelational();return!this.match(n.semi)&&!this.canInsertSemicolon()&&(this.match(n.star)||this.type.startsExpr||b)?(m.delegate=this.eat(n.star),m.argument=this.parseMaybeAssign(c),this.finishNode(m,"YieldExpression")):(m.delegate=!1,m.argument=null,this.finishNode(m,"YieldExpression"))}parseMaybeAssignOrigin(c,m,b){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(c);this.exprAllowed=!1}let k=!1,R=-1,L=-1,B=-1;m?(R=m.parenthesizedAssign,L=m.trailingComma,B=m.doubleProto,m.parenthesizedAssign=m.trailingComma=-1):(m=new Hs,k=!0);let X=this.start,G=this.startLoc;(this.type===n.parenL||x(this.type))&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=c==="await");let V=this.parseMaybeConditional(c,m);if(b&&(V=b.call(this,V,X,G)),this.type.isAssign){let he=this.startNodeAt(X,G);return he.operator=this.value,this.type===n.eq&&(V=this.toAssignable(V,!0,m,!0)),k||(m.parenthesizedAssign=m.trailingComma=m.doubleProto=-1),m.shorthandAssign>=V.start&&(m.shorthandAssign=-1),this.maybeInArrowParameters||(this.type===n.eq?this.checkLValPattern(V):this.checkLValSimple(V)),he.left=V,this.next(),he.right=this.parseMaybeAssign(c),B>-1&&(m.doubleProto=B),this.finishNode(he,"AssignmentExpression")}else k&&this.checkExpressionErrors(m,!0);return R>-1&&(m.parenthesizedAssign=R),L>-1&&(m.trailingComma=L),V}parseMaybeAssign(c,m,b){let k,R;if(e?.jsx&&(this.matchJsx("jsxTagStart")||this.tsMatchLeftRelational())){if(k=this.tryParse(()=>this.parseMaybeAssignOrigin(c,m,b)),!k.error)return k.node;let X=this.context,G=X[X.length-1],V=X[X.length-2];G===a.tokContexts.tc_oTag&&V===a.tokContexts.tc_expr?(this.parseEffects.pop(X),this.parseEffects.pop(X)):(G===a.tokContexts.tc_oTag||G===a.tokContexts.tc_expr)&&this.parseEffects.pop(X)}if(!k?.error&&!this.tsMatchLeftRelational())return this.parseMaybeAssignOrigin(c,m,b);let L,B=this.tryParse(X=>{L=this.tsParseTypeParameters(this.tsParseConstModifier);let G=this.parseMaybeAssignOrigin(c,m,b);return(G.type!=="ArrowFunctionExpression"||G.extra?.parenthesized)&&X(),L?.params.length!==0&&this.resetStartLocationFromNode(G,L),G.typeParameters=L,G});if(!B.error&&!B.aborted)return L&&this.reportReservedArrowTypeParam(L),B.node;if(!k&&(Dv(!0),R=this.tryParse(()=>this.parseMaybeAssignOrigin(c,m,b)),!R.error))return R.node;throw k?.thrown?(this.selectTryParseResult(k),k.error):B.thrown?(this.selectTryParseResult(B),B.error):R?.thrown?(this.selectTryParseResult(R),R.error):k?.error||B.error||R?.error}parseAssignableListItem(c){let m=[];for(;this.match(g.at);)m.push(this.parseDecorator());let b=this.start,k=this.startLoc,R,L=!1,B=!1;if(c!==void 0){let V={};this.tsParseModifiers({modified:V,allowedModifiers:["public","private","protected","override","readonly"]}),R=V.accessibility,B=V.override,L=V.readonly,c===!1&&(R||L||B)&&this.raise(k.column,re.UnexpectedParameterModifier)}let X=this.parseMaybeDefault(b,k);this.parseBindingListItem(X);let G=this.parseMaybeDefault(X.start,X.loc.start,X);if(m.length&&(G.decorators=m),R||L||B){let V=this.startNodeAt(b,k);return R&&(V.accessibility=R),L&&(V.readonly=L),B&&(V.override=B),G.type!=="Identifier"&&G.type!=="AssignmentPattern"&&this.raise(V.start,re.UnsupportedParameterPropertyKind),V.parameter=G,this.finishNode(V,"TSParameterProperty")}return G}checkLValInnerPattern(c,m=xe.BIND_NONE,b){c.type==="TSParameterProperty"?this.checkLValInnerPattern(c.parameter,m,b):super.checkLValInnerPattern(c,m,b)}parseBindingListItem(c){this.eat(n.question)&&(c.type!=="Identifier"&&!this.isAmbientContext&&!this.inType&&this.raise(c.start,re.PatternIsOptional),c.optional=!0);let m=this.tsTryParseTypeAnnotation();return m&&(c.typeAnnotation=m),this.resetEndLocation(c),c}isAssignable(c,m){switch(c.type){case"TSTypeCastExpression":return this.isAssignable(c.expression,m);case"TSParameterProperty":return!0;case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{let b=c.properties.length-1;return c.properties.every((k,R)=>k.type!=="ObjectMethod"&&(R===b||k.type!=="SpreadElement")&&this.isAssignable(k))}case"Property":case"ObjectProperty":return this.isAssignable(c.value);case"SpreadElement":return this.isAssignable(c.argument);case"ArrayExpression":return c.elements.every(b=>b===null||this.isAssignable(b));case"AssignmentExpression":return c.operator==="=";case"ParenthesizedExpression":return this.isAssignable(c.expression);case"MemberExpression":case"OptionalMemberExpression":return!m;default:return!1}}toAssignable(c,m=!1,b=new Hs,k=!1){switch(c.type){case"ParenthesizedExpression":return this.toAssignableParenthesizedExpression(c,m,b,k);case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":m||this.raise(c.start,re.UnexpectedTypeCastInParameter);let R=this.toAssignable(c.expression,m,b,k);return k?(c.expression=R,c):R;case"MemberExpression":break;case"AssignmentExpression":return!m&&c.left.type==="TSTypeCastExpression"&&(c.left=this.typeCastToParameter(c.left)),super.toAssignable(c,m,b);case"TSTypeCastExpression":return this.typeCastToParameter(c);default:return super.toAssignable(c,m,b)}return c}toAssignableParenthesizedExpression(c,m,b,k=!1){switch(c.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":let R=this.toAssignable(c.expression,m,b,k);return k?(c.expression=R,c):R;default:return super.toAssignable(c,m,b)}}parseBindingAtom(){return this.type===n._this?this.parseIdent(!0):super.parseBindingAtom()}shouldParseArrow(c){let m;if(this.match(n.colon)?m=c.every(b=>this.isAssignable(b,!0)):m=!this.canInsertSemicolon(),m){if(this.match(n.colon)){let b=this.tryParse(k=>{let R=this.tsParseTypeOrTypePredicateAnnotation(n.colon);return(this.canInsertSemicolon()||!this.match(n.arrow))&&k(),R});if(b.aborted)return this.shouldParseArrowReturnType=void 0,!1;b.thrown||(this.shouldParseArrowReturnType=b.node)}return this.match(n.arrow)?!0:(this.shouldParseArrowReturnType=void 0,!1)}return this.shouldParseArrowReturnType=void 0,m}parseParenArrowList(c,m,b,k){let R=this.startNodeAt(c,m);return R.returnType=this.shouldParseArrowReturnType,this.shouldParseArrowReturnType=void 0,this.parseArrowExpression(R,b,!1,k)}parseParenAndDistinguishExpression(c,m){let b=this.start,k=this.startLoc,R,L=this.ecmaVersion>=8;if(this.ecmaVersion>=6){let B=this.maybeInArrowParameters;this.maybeInArrowParameters=!0,this.next();let X=this.start,G=this.startLoc,V=[],he=!0,Ie=!1,Re=new Hs,tr=this.yieldPos,rr=this.awaitPos,ir;for(this.yieldPos=0,this.awaitPos=0;this.type!==n.parenR;)if(he?he=!1:this.expect(n.comma),L&&this.afterTrailingComma(n.parenR,!0)){Ie=!0;break}else if(this.type===n.ellipsis){ir=this.start,V.push(this.parseParenItem(this.parseRestBinding())),this.type===n.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}else V.push(this.parseMaybeAssign(!1,Re,this.parseParenItem));let jr=this.lastTokEnd,gt=this.lastTokEndLoc;if(this.expect(n.parenR),this.maybeInArrowParameters=B,c&&this.shouldParseArrow(V)&&this.eat(n.arrow))return this.checkPatternErrors(Re,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=tr,this.awaitPos=rr,this.parseParenArrowList(b,k,V,m);(!V.length||Ie)&&this.unexpected(this.lastTokStart),ir&&this.unexpected(ir),this.checkExpressionErrors(Re,!0),this.yieldPos=tr||this.yieldPos,this.awaitPos=rr||this.awaitPos,V.length>1?(R=this.startNodeAt(X,G),R.expressions=V,this.finishNodeAt(R,"SequenceExpression",jr,gt)):R=V[0]}else R=this.parseParenExpression();if(this.options.preserveParens){let B=this.startNodeAt(b,k);return B.expression=R,this.finishNode(B,"ParenthesizedExpression")}else return R}parseTaggedTemplateExpression(c,m,b,k){let R=this.startNodeAt(m,b);return R.tag=c,R.quasi=this.parseTemplate({isTagged:!0}),k&&this.raise(m,"Tagged Template Literals are not allowed in optionalChain."),this.finishNode(R,"TaggedTemplateExpression")}shouldParseAsyncArrow(){if(this.match(n.colon)){let c=this.tryParse(m=>{let b=this.tsParseTypeOrTypePredicateAnnotation(n.colon);return(this.canInsertSemicolon()||!this.match(n.arrow))&&m(),b});if(c.aborted)return this.shouldParseAsyncArrowReturnType=void 0,!1;if(!c.thrown)return this.shouldParseAsyncArrowReturnType=c.node,!this.canInsertSemicolon()&&this.eat(n.arrow)}else return!this.canInsertSemicolon()&&this.eat(n.arrow)}parseSubscriptAsyncArrow(c,m,b,k){let R=this.startNodeAt(c,m);return R.returnType=this.shouldParseAsyncArrowReturnType,this.shouldParseAsyncArrowReturnType=void 0,this.parseArrowExpression(R,b,!0,k)}parseExprList(c,m,b,k){let R=[],L=!0;for(;!this.eat(c);){if(L)L=!1;else if(this.expect(n.comma),m&&this.afterTrailingComma(c))break;let B;b&&this.type===n.comma?B=null:this.type===n.ellipsis?(B=this.parseSpread(k),this.maybeInArrowParameters&&this.match(n.colon)&&(B.typeAnnotation=this.tsParseTypeAnnotation()),k&&this.type===n.comma&&k.trailingComma<0&&(k.trailingComma=this.start)):B=this.parseMaybeAssign(!1,k,this.parseParenItem),R.push(B)}return R}parseMaybeDecoratorArguments(c){let m=this.tsMatchLeftRelational()||this.match(n.bitShift)?this.tsParseTypeArgumentsInExpression():void 0;if(this.eat(n.parenL)){let b=this.startNodeAtNode(c);return b.callee=c,b.arguments=this.parseExprList(n.parenR,!1),m&&(b.typeArguments=m),this.finishNode(b,"CallExpression")}if(m){let b=this.startNodeAtNode(c);return b.expression=c,b.typeArguments=m,this.finishNode(b,"TSInstantiationExpression")}return c}parseSubscript(c,m,b,k,R,L,B){let X=L;if(!this.hasPrecedingLineBreak()&&this.value==="!"&&this.match(n.prefix)){this.exprAllowed=!1,this.next();let Re=this.startNodeAt(m,b);return Re.expression=c,c=this.finishNode(Re,"TSNonNullExpression"),c}let G=!1;if(this.match(n.questionDot)&&this.lookaheadCharCode()===60){if(k)return c;c.optional=!0,X=G=!0,this.next()}if(this.tsMatchLeftRelational()||this.match(n.bitShift)){let Re,tr=this.tsTryParseAndCatch(()=>{if(!k&&this.atPossibleAsyncArrow(c)){let gt=this.tsTryParseGenericAsyncArrowFunction(m,b,B);if(gt)return c=gt,c}let rr=this.tsParseTypeArgumentsInExpression();if(!rr)return c;if(G&&!this.match(n.parenL))return Re=this.curPosition(),c;if(l(this.type)||this.type===n.backQuote){let gt=this.parseTaggedTemplateExpression(c,m,b,X);return gt.typeArguments=rr,gt}if(!k&&this.eat(n.parenL)){let gt=new Hs,Ft=this.startNodeAt(m,b);return Ft.callee=c,Ft.arguments=this.parseExprList(n.parenR,this.ecmaVersion>=8,!1,gt),this.tsCheckForInvalidTypeCasts(Ft.arguments),Ft.typeArguments=rr,X&&(Ft.optional=G),this.checkExpressionErrors(gt,!0),c=this.finishNode(Ft,"CallExpression"),c}let ir=this.type;if(this.tsMatchRightRelational()||ir===n.bitShift||ir!==n.parenL&&o2(ir)&&!this.hasPrecedingLineBreak())return;let jr=this.startNodeAt(m,b);return jr.expression=c,jr.typeArguments=rr,this.finishNode(jr,"TSInstantiationExpression")});if(Re&&this.unexpected(Re),tr)return tr.type==="TSInstantiationExpression"&&(this.match(n.dot)||this.match(n.questionDot)&&this.lookaheadCharCode()!==40)&&this.raise(this.start,re.InvalidPropertyAccessAfterInstantiationExpression),c=tr,c}let V=this.ecmaVersion>=11,he=V&&this.eat(n.questionDot);k&&he&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");let Ie=this.eat(n.bracketL);if(Ie||he&&this.type!==n.parenL&&this.type!==n.backQuote||this.eat(n.dot)){let Re=this.startNodeAt(m,b);Re.object=c,Ie?(Re.property=this.parseExpression(),this.expect(n.bracketR)):this.type===n.privateId&&c.type!=="Super"?Re.property=this.parsePrivateIdent():Re.property=this.parseIdent(this.options.allowReserved!=="never"),Re.computed=!!Ie,V&&(Re.optional=he),c=this.finishNode(Re,"MemberExpression")}else if(!k&&this.eat(n.parenL)){let Re=this.maybeInArrowParameters;this.maybeInArrowParameters=!0;let tr=new Hs,rr=this.yieldPos,ir=this.awaitPos,jr=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;let gt=this.parseExprList(n.parenR,this.ecmaVersion>=8,!1,tr);if(R&&!he&&this.shouldParseAsyncArrow())this.checkPatternErrors(tr,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=rr,this.awaitPos=ir,this.awaitIdentPos=jr,c=this.parseSubscriptAsyncArrow(m,b,gt,B);else{this.checkExpressionErrors(tr,!0),this.yieldPos=rr||this.yieldPos,this.awaitPos=ir||this.awaitPos,this.awaitIdentPos=jr||this.awaitIdentPos;let Ft=this.startNodeAt(m,b);Ft.callee=c,Ft.arguments=gt,V&&(Ft.optional=he),c=this.finishNode(Ft,"CallExpression")}this.maybeInArrowParameters=Re}else if(this.type===n.backQuote){(he||X)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");let Re=this.startNodeAt(m,b);Re.tag=c,Re.quasi=this.parseTemplate({isTagged:!0}),c=this.finishNode(Re,"TaggedTemplateExpression")}return c}parseGetterSetter(c){c.kind=c.key.name,this.parsePropertyName(c);let m=this.tsTryParseTypeParameters(this.tsParseConstModifier);c.value=this.parseMethod(!1),m&&(c.value.typeParameters=m);let b=c.kind==="get"?0:1,k=c.value.params[0];if(b=k&&this.isThisParam(k)?b+1:b,c.value.params.length!==b){let L=c.value.start;c.kind==="get"?this.raiseRecoverable(L,"getter should have no params"):this.raiseRecoverable(L,"setter should have exactly one param")}else c.kind==="set"&&c.value.params[0].type==="RestElement"&&this.raiseRecoverable(c.value.params[0].start,"Setter cannot use rest params")}parsePropertyValue(c,m,b,k,R,L,B,X){if(this.tsMatchLeftRelational()){m&&this.unexpected(),c.kind="init",c.method=!0;let G=this.tsTryParseTypeParameters(this.tsParseConstModifier);c.value=this.parseMethod(b,k),G&&(c.value.typeParameters=G);return}return super.parsePropertyValue(c,m,b,k,R,L,B,X)}parseProperty(c,m){if(!c){let b=[];if(this.match(g.at))for(;this.match(g.at);)b.push(this.parseDecorator());let k=super.parseProperty(c,m);return k.type==="SpreadElement"&&b.length&&this.raise(k.start,Ja.SpreadElementDecorator),b.length&&(k.decorators=b,b=[]),k}return super.parseProperty(c,m)}parseCatchClauseParam(){let c=this.parseBindingAtom(),m=c.type==="Identifier";this.enterScope(m?xe.SCOPE_SIMPLE_CATCH:0),this.checkLValPattern(c,m?xe.BIND_SIMPLE_CATCH:xe.BIND_LEXICAL);let b=this.tsTryParseTypeAnnotation();return b&&(c.typeAnnotation=b,this.resetEndLocation(c)),this.expect(n.parenR),c}parseClass(c,m){let b=this.inAbstractClass;this.inAbstractClass=!!c.abstract;try{this.next(),this.takeDecorators(c);let k=this.strict;this.strict=!0,this.parseClassId(c,m),this.parseClassSuper(c);let R=this.enterClassBody(),L=this.startNode(),B=!1;L.body=[];let X=[];for(this.expect(n.braceL);this.type!==n.braceR;){if(this.match(g.at)){X.push(this.parseDecorator());continue}let G=this.parseClassElement(c.superClass!==null);if(X.length&&(G.decorators=X,this.resetStartLocationFromNode(G,X[0]),X=[]),G){if(L.body.push(G),G.type==="MethodDefinition"&&G.kind==="constructor"&&G.value.type==="FunctionExpression")B&&this.raiseRecoverable(G.start,"Duplicate constructor in the same class"),B=!0,G.decorators&&G.decorators.length>0&&this.raise(G.start,Ja.DecoratorConstructor);else if(G.key&&G.key.type==="PrivateIdentifier"&&G.value?.type!=="TSDeclareMethod"){let V=G.key.name;this.parseEffects.modify(R,V,Ie=>H8(Ie,G))&&this.raiseRecoverable(G.key.start,`Identifier '#${V}' has already been declared`)}}}return this.strict=k,this.next(),X.length&&this.raise(this.start,Ja.TrailingDecorator),c.body=this.finishNode(L,"ClassBody"),this.exitClassBody(),this.finishNode(c,m?"ClassDeclaration":"ClassExpression")}finally{this.inAbstractClass=b}}parseClassFunctionParams(){let c=this.tsTryParseTypeParameters(),m=this.parseBindingList(n.parenR,!1,this.ecmaVersion>=8,!0);return c&&(m.typeParameters=c),m}parseMethod(c,m,b,k,R){let L=this.startNode(),B=this.yieldPos,X=this.awaitPos,G=this.awaitIdentPos;if(this.initFunction(L),this.ecmaVersion>=6&&(L.generator=c),this.ecmaVersion>=8&&(L.async=!!m),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Sf(m,L.generator)|xe.SCOPE_SUPER|(b?xe.SCOPE_DIRECT_SUPER:0)),this.expect(n.parenL),L.params=this.parseClassFunctionParams(),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(L,!1,!0,!1,{isClassMethod:k}),this.yieldPos=B,this.awaitPos=X,this.awaitIdentPos=G,R&&R.abstract&&!!L.body){let{key:he}=R;this.raise(R.start,re.AbstractMethodHasImplementation({methodName:he.type==="Identifier"&&!R.computed?he.name:`[${this.input.slice(he.start,he.end)}]`}))}return this.finishNode(L,"FunctionExpression")}static parse(c,m){if(m.locations===!1)throw new Error("You have to enable options.locations while using acorn-typescript");m.locations=!0;let b=new this(m,c);return t&&(b.isAmbientContext=!0),b.parse()}static parseExpressionAt(c,m,b){if(b.locations===!1)throw new Error("You have to enable options.locations while using acorn-typescript");b.locations=!0;let k=new this(b,c,m);return t&&(k.isAmbientContext=!0),k.nextToken(),k.parseExpression()}parseImportSpecifier(){if(this.ts_isContextual(g.type)){let m=this.startNode();return m.imported=this.parseModuleExportName(),this.parseTypeOnlyImportExportSpecifier(m,!0,this.importOrExportOuterKind==="type"),this.finishNode(m,"ImportSpecifier")}else{let m=super.parseImportSpecifier();return m.importKind="value",m}}parseExportSpecifier(c){let m=this.ts_isContextual(g.type);if(!this.match(n.string)&&m){let k=this.startNode();return k.local=this.parseModuleExportName(),this.parseTypeOnlyImportExportSpecifier(k,!1,this.importOrExportOuterKind==="type"),this.finishNode(k,"ExportSpecifier"),this.checkExport(c,k.exported,k.exported.start),k}else{let k=super.parseExportSpecifier(c);return k.exportKind="value",k}}parseTypeOnlyImportExportSpecifier(c,m,b){let k=m?"imported":"local",R=m?"local":"exported",L=c[k],B,X=!1,G=!0,V=L.start;if(this.isContextual("as")){let Ie=this.parseIdent();if(this.isContextual("as")){let Re=this.parseIdent();T(this.type)?(X=!0,L=Ie,B=m?this.parseIdent():this.parseModuleExportName(),G=!1):(B=Re,G=!1)}else T(this.type)?(G=!1,B=m?this.parseIdent():this.parseModuleExportName()):(X=!0,L=Ie)}else T(this.type)&&(X=!0,m?(L=super.parseIdent(!0),this.isContextual("as")||this.checkUnreserved(L)):L=this.parseModuleExportName());X&&b&&this.raise(V,m?re.TypeModifierIsUsedInTypeImports:re.TypeModifierIsUsedInTypeExports),c[k]=L,c[R]=B;let he=m?"importKind":"exportKind";c[he]=X?"type":"value",G&&this.eatContextual("as")&&(c[R]=m?this.parseIdent():this.parseModuleExportName()),c[R]||(c[R]=this.copyNode(c[k])),m&&this.checkLValSimple(c[R],xe.BIND_LEXICAL)}raiseCommonCheck(c,m,b){switch(m){case"Comma is not permitted after the rest element":if(this.isAmbientContext&&this.match(n.comma)&&this.lookaheadCharCode()===41){this.next();return}else return super.raise(c,m)}return b?super.raiseRecoverable(c,m):super.raise(c,m)}raiseRecoverable(c,m){return this.raiseCommonCheck(c,m,!0)}raise(c,m){return this.raiseCommonCheck(c,m,!0)}updateContext(c){let{type:m}=this;if(m==n.braceL){var b=this.curContext();b==E.tc_oTag?this.parseEffects.append(this.context,h.b_expr):b==E.tc_expr?this.parseEffects.append(this.context,h.b_tmpl):super.updateContext(c),this.exprAllowed=!0}else if(m===n.slash&&c===g.jsxTagStart)this.parseEffects.truncate(this.context,this.context.length-2),this.parseEffects.append(this.context,E.tc_cTag),this.exprAllowed=!1;else return super.updateContext(c)}jsx_parseOpeningElementAt(c,m){let b=this.startNodeAt(c,m),k=this.jsx_parseElementName();if(k&&(b.name=k),this.match(n.relational)||this.match(n.bitShift)){let R=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());R&&(b.typeArguments=R)}for(b.attributes=[];this.type!==n.slash&&this.type!==g.jsxTagEnd;)b.attributes.push(this.jsx_parseAttribute());return b.selfClosing=this.eat(n.slash),this.expect(g.jsxTagEnd),this.finishNode(b,k?"JSXOpeningElement":"JSXOpeningFragment")}enterScope(c){let m=c===Us;m&&this.parseEffects.append(this.importsStack,[]);let b=m?c|xe.SCOPE_CLASS_STATIC_BLOCK:c;super.enterScope(b);let k=super.currentScope();k.types=[],k.enums=[],k.constEnums=[],k.classes=[],k.exportOnlyBindings=[]}exitScope(){super.currentScope().flags&Us&&this.parseEffects.pop(this.importsStack),super.exitScope()}hasImport(c,m){let b=this.importsStack.length;if(this.importsStack[b-1].indexOf(c)>-1)return!0;if(!m&&b>1){for(let k=0;k<b-1;k++)if(this.importsStack[k].indexOf(c)>-1)return!0}return!1}maybeExportDefined(c,m){this.inModule&&c.flags&xe.SCOPE_TOP&&this.parseEffects.remove(this.undefinedExports,m)}declareName(c,m,b){if(m&xe.BIND_FLAGS_TS_IMPORT){this.hasImport(c,!0)&&this.raise(b,`Identifier '${c}' has already been declared.`),this.parseEffects.append(this.importsStack[this.importsStack.length-1],c);return}let k=this.currentScope();if(m&xe.BIND_FLAGS_TS_EXPORT_ONLY){this.maybeExportDefined(k,c),this.parseEffects.append(k.exportOnlyBindings,c);return}if(m===xe.BIND_TS_TYPE||m===xe.BIND_TS_INTERFACE)m===xe.BIND_TS_TYPE&&k.types.includes(c)&&this.raise(b,`type '${c}' has already been declared.`),this.parseEffects.append(k.types,c);else if(m&xe.BIND_FLAGS_TS_ENUM){if(k.enums.includes(c))return;super.declareName(c,xe.BIND_LEXICAL,b)}else super.declareName(c,m,b);m&xe.BIND_FLAGS_TS_ENUM&&this.parseEffects.append(k.enums,c),m&xe.BIND_FLAGS_TS_CONST_ENUM&&this.parseEffects.append(k.constEnums,c),m&xe.BIND_FLAGS_CLASS&&this.parseEffects.append(k.classes,c)}checkLocalExport(c){let{name:m}=c;if(this.hasImport(m))return;let b=this.scopeStack.length;for(let k=b-1;k>=0;k--){let R=this.scopeStack[k];if(R.types.indexOf(m)>-1||R.exportOnlyBindings.indexOf(m)>-1)return}super.checkLocalExport(c)}}return F}}var Tf=class extends Error{message="";#e;constructor(t,r,i){super(r),this.stack="",this.#e=new Yi(t,r,i),Object.assign(this,this.#e),this.name="CompileError"}toString(){return this.#e.toString()}toJSON(){return this.#e.toJSON()}};function M(e,t,r){let i=typeof e=="number"?e:e?.start,s=typeof e=="number"?e:e?.end;throw new Tf(t,r,i!==void 0?[i,s??i]:void 0)}function Yv(e,t){M(e,"options_invalid_value",`Invalid compiler option: ${t}
|
|
91
|
+
https://svelte.dev/e/options_invalid_value`)}function Jv(e,t){M(e,"options_removed",`Invalid compiler option: ${t}
|
|
92
|
+
https://svelte.dev/e/options_removed`)}function Qv(e,t){M(e,"options_unrecognised",`Unrecognised compiler option ${t}
|
|
93
|
+
https://svelte.dev/e/options_unrecognised`)}function Zv(e){M(e,"bindable_invalid_location","`$bindable()` can only be used inside a `$props()` declaration\nhttps://svelte.dev/e/bindable_invalid_location")}function Af(e,t){M(e,"constant_assignment",`Cannot assign to ${t}
|
|
94
|
+
https://svelte.dev/e/constant_assignment`)}function ey(e,t){M(e,"constant_binding",`Cannot bind to ${t}
|
|
95
|
+
https://svelte.dev/e/constant_binding`)}function is(e,t){M(e,"declaration_duplicate",`\`${t}\` has already been declared
|
|
96
|
+
https://svelte.dev/e/declaration_duplicate`)}function ty(e){M(e,"declaration_duplicate_module_import","Cannot declare a variable with the same name as an import from `<script module>`\nhttps://svelte.dev/e/declaration_duplicate_module_import")}function Za(e){M(e,"derived_invalid_export",`Cannot export derived state from a module. To expose the current derived value, export a function returning its value
|
|
97
|
+
https://svelte.dev/e/derived_invalid_export`)}function ry(e){M(e,"dollar_binding_invalid",`The $ name is reserved, and cannot be used for variables and imports
|
|
98
|
+
https://svelte.dev/e/dollar_binding_invalid`)}function iy(e){M(e,"dollar_prefix_invalid",`The $ prefix is reserved, and cannot be used for variables and imports
|
|
99
|
+
https://svelte.dev/e/dollar_prefix_invalid`)}function Gs(e,t){M(e,"duplicate_class_field",`\`${t}\` has already been declared
|
|
100
|
+
https://svelte.dev/e/duplicate_class_field`)}function sy(e){M(e,"each_item_invalid_assignment","Cannot reassign or bind to each block argument in runes mode. Use the array and index variables instead (e.g. `array[i] = value` instead of `entry = value`, or `bind:value={array[i]}` instead of `bind:value={entry}`)\nhttps://svelte.dev/e/each_item_invalid_assignment")}function ay(e){M(e,"effect_invalid_placement","`$effect()` can only be used as an expression statement\nhttps://svelte.dev/e/effect_invalid_placement")}function ny(e){M(e,"experimental_async","Cannot use `await` in deriveds and template expressions, or at the top level of a component, unless the `experimental.async` compiler option is `true`\nhttps://svelte.dev/e/experimental_async")}function oy(e,t){M(e,"export_undefined",`\`${t}\` is not defined
|
|
101
|
+
https://svelte.dev/e/export_undefined`)}function Pf(e,t){M(e,"global_reference_invalid",`\`${t}\` is an illegal variable name. To reference a global variable called \`${t}\`, use \`globalThis.${t}\`
|
|
102
|
+
https://svelte.dev/e/global_reference_invalid`)}function ly(e){M(e,"host_invalid_placement","`$host()` can only be used inside custom element component instances\nhttps://svelte.dev/e/host_invalid_placement")}function uy(e){M(e,"import_svelte_internal_forbidden","Imports of `svelte/internal/*` are forbidden. It contains private runtime code which is subject to change without notice. If you're importing from `svelte/internal/*` to work around a limitation of Svelte, please open an issue at https://github.com/sveltejs/svelte and explain your use case\nhttps://svelte.dev/e/import_svelte_internal_forbidden")}function cy(e){M(e,"inspect_trace_generator","`$inspect.trace(...)` cannot be used inside a generator function\nhttps://svelte.dev/e/inspect_trace_generator")}function py(e){M(e,"inspect_trace_invalid_placement","`$inspect.trace(...)` must be the first statement of a function body\nhttps://svelte.dev/e/inspect_trace_invalid_placement")}function dy(e){M(e,"invalid_arguments_usage",`The arguments keyword cannot be used within the template or at the top level of a component
|
|
103
|
+
https://svelte.dev/e/invalid_arguments_usage`)}function fy(e){M(e,"legacy_await_invalid","Cannot use `await` in deriveds and template expressions, or at the top level of a component, unless in runes mode\nhttps://svelte.dev/e/legacy_await_invalid")}function my(e){M(e,"legacy_export_invalid","Cannot use `export let` in runes mode \u2014 use `$props()` instead\nhttps://svelte.dev/e/legacy_export_invalid")}function hy(e){M(e,"legacy_props_invalid","Cannot use `$$props` in runes mode\nhttps://svelte.dev/e/legacy_props_invalid")}function _y(e){M(e,"legacy_reactive_statement_invalid","`$:` is not allowed in runes mode, use `$derived` or `$effect` instead\nhttps://svelte.dev/e/legacy_reactive_statement_invalid")}function by(e){M(e,"legacy_rest_props_invalid","Cannot use `$$restProps` in runes mode\nhttps://svelte.dev/e/legacy_rest_props_invalid")}function en(e){M(e,"module_illegal_default_export",`A component cannot have a default export
|
|
104
|
+
https://svelte.dev/e/module_illegal_default_export`)}function Rf(e,t){M(e,"props_duplicate",`Cannot use \`${t}()\` more than once
|
|
105
|
+
https://svelte.dev/e/props_duplicate`)}function vy(e){M(e,"props_id_invalid_placement","`$props.id()` can only be used at the top level of components as a variable declaration initializer\nhttps://svelte.dev/e/props_id_invalid_placement")}function tn(e){M(e,"props_illegal_name","Declaring or accessing a prop starting with `$$` is illegal (they are reserved for Svelte internals)\nhttps://svelte.dev/e/props_illegal_name")}function yy(e){M(e,"props_invalid_identifier","`$props()` can only be used with an object destructuring pattern\nhttps://svelte.dev/e/props_invalid_identifier")}function $f(e){M(e,"props_invalid_pattern","`$props()` assignment must not contain nested properties or computed keys\nhttps://svelte.dev/e/props_invalid_pattern")}function gy(e){M(e,"props_invalid_placement","`$props()` can only be used at the top level of components as a variable declaration initializer\nhttps://svelte.dev/e/props_invalid_placement")}function xy(e,t){M(e,"reactive_declaration_cycle",`Cyclical dependency detected: ${t}
|
|
106
|
+
https://svelte.dev/e/reactive_declaration_cycle`)}function Ws(e,t){M(e,"rune_invalid_arguments",`\`${t}\` cannot be called with arguments
|
|
107
|
+
https://svelte.dev/e/rune_invalid_arguments`)}function Ht(e,t,r){M(e,"rune_invalid_arguments_length",`\`${t}\` must be called with ${r}
|
|
108
|
+
https://svelte.dev/e/rune_invalid_arguments_length`)}function wy(e){M(e,"rune_invalid_computed_property",`Cannot access a computed property of a rune
|
|
109
|
+
https://svelte.dev/e/rune_invalid_computed_property`)}function ky(e,t){M(e,"rune_invalid_name",`\`${t}\` is not a valid rune
|
|
110
|
+
https://svelte.dev/e/rune_invalid_name`)}function Cy(e,t){M(e,"rune_invalid_spread",`\`${t}\` cannot be called with a spread argument
|
|
111
|
+
https://svelte.dev/e/rune_invalid_spread`)}function Sy(e,t){M(e,"rune_invalid_usage",`Cannot use \`${t}\` rune in non-runes mode
|
|
112
|
+
https://svelte.dev/e/rune_invalid_usage`)}function Ey(e){M(e,"rune_missing_parentheses",`Cannot use rune without parentheses
|
|
113
|
+
https://svelte.dev/e/rune_missing_parentheses`)}function Ty(e,t){M(e,"rune_removed",`The \`${t}\` rune has been removed
|
|
114
|
+
https://svelte.dev/e/rune_removed`)}function If(e,t,r){M(e,"rune_renamed",`\`${t}\` is now \`${r}\`
|
|
115
|
+
https://svelte.dev/e/rune_renamed`)}function Ay(e,t){M(e,"runes_mode_invalid_import",`${t} cannot be used in runes mode
|
|
116
|
+
https://svelte.dev/e/runes_mode_invalid_import`)}function Py(e){M(e,"snippet_invalid_export","An exported snippet can only reference things declared in a `<script module>`, or other exportable snippets\nhttps://svelte.dev/e/snippet_invalid_export")}function Ry(e){M(e,"snippet_parameter_assignment",`Cannot reassign or bind to snippet parameter
|
|
117
|
+
https://svelte.dev/e/snippet_parameter_assignment`)}function $y(e,t){M(e,"state_field_duplicate",`\`${t}\` has already been declared on this class
|
|
118
|
+
https://svelte.dev/e/state_field_duplicate`)}function rn(e){M(e,"state_field_invalid_assignment",`Cannot assign to a state field before its declaration
|
|
119
|
+
https://svelte.dev/e/state_field_invalid_assignment`)}function sn(e){M(e,"state_invalid_export",`Cannot export state from a module if it is reassigned. Either export a function returning the state value or only mutate the state value's properties
|
|
120
|
+
https://svelte.dev/e/state_invalid_export`)}function an(e,t){M(e,"state_invalid_placement",`\`${t}(...)\` can only be used as a variable declaration initializer, a class field declaration, or the first assignment to a class field at the top level of the constructor.
|
|
121
|
+
https://svelte.dev/e/state_invalid_placement`)}function Iy(e){M(e,"store_invalid_scoped_subscription",`Cannot subscribe to stores that are not declared at the top level of the component
|
|
122
|
+
https://svelte.dev/e/store_invalid_scoped_subscription`)}function qy(e){M(e,"store_invalid_subscription","Cannot reference store value inside `<script module>`\nhttps://svelte.dev/e/store_invalid_subscription")}function ss(e,t){M(e,"typescript_invalid_feature",`TypeScript language features like ${t} are not natively supported, and their use is generally discouraged. Outside of \`<script>\` tags, these features are not supported. For use within \`<script>\` tags, you will need to use a preprocessor to convert it to JavaScript before it gets passed to the Svelte compiler. If you are using \`vitePreprocess\`, make sure to specifically enable preprocessing script tags (\`vitePreprocess({ script: true })\`)
|
|
123
|
+
https://svelte.dev/e/typescript_invalid_feature`)}function My(e){M(e,"css_empty_declaration",`Declaration cannot be empty
|
|
124
|
+
https://svelte.dev/e/css_empty_declaration`)}function qf(e){M(e,"css_expected_identifier",`Expected a valid CSS identifier
|
|
125
|
+
https://svelte.dev/e/css_expected_identifier`)}function Ly(e,t){M(e,"css_global_block_invalid_combinator",`A \`:global\` selector cannot follow a \`${t}\` combinator
|
|
126
|
+
https://svelte.dev/e/css_global_block_invalid_combinator`)}function Ny(e){M(e,"css_global_block_invalid_declaration","A top-level `:global {...}` block can only contain rules, not declarations\nhttps://svelte.dev/e/css_global_block_invalid_declaration")}function Mf(e){M(e,"css_global_block_invalid_list","A `:global` selector cannot be part of a selector list with entries that don't contain `:global`\nhttps://svelte.dev/e/css_global_block_invalid_list")}function Oy(e){M(e,"css_global_block_invalid_modifier","A `:global` selector cannot modify an existing selector\nhttps://svelte.dev/e/css_global_block_invalid_modifier")}function Lf(e){M(e,"css_global_block_invalid_modifier_start","A `:global` selector can only be modified if it is a descendant of other selectors\nhttps://svelte.dev/e/css_global_block_invalid_modifier_start")}function Dy(e){M(e,"css_global_block_invalid_placement","A `:global` selector cannot be inside a pseudoclass\nhttps://svelte.dev/e/css_global_block_invalid_placement")}function By(e){M(e,"css_global_invalid_placement","`:global(...)` can be at the start or end of a selector sequence, but not in the middle\nhttps://svelte.dev/e/css_global_invalid_placement")}function jy(e){M(e,"css_global_invalid_selector","`:global(...)` must contain exactly one selector\nhttps://svelte.dev/e/css_global_invalid_selector")}function Fy(e){M(e,"css_global_invalid_selector_list","`:global(...)` must not contain type or universal selectors when used in a compound selector\nhttps://svelte.dev/e/css_global_invalid_selector_list")}function Vy(e){M(e,"css_nesting_selector_invalid_placement","Nesting selectors can only be used inside a rule or as the first selector inside a lone `:global(...)`\nhttps://svelte.dev/e/css_nesting_selector_invalid_placement")}function nn(e){M(e,"css_selector_invalid",`Invalid selector
|
|
127
|
+
https://svelte.dev/e/css_selector_invalid`)}function Uy(e){M(e,"css_type_selector_invalid_placement","`:global(...)` must not be followed by a type selector\nhttps://svelte.dev/e/css_type_selector_invalid_placement")}function Hy(e){M(e,"animation_duplicate",`An element can only have one 'animate' directive
|
|
128
|
+
https://svelte.dev/e/animation_duplicate`)}function Nf(e){M(e,"animation_invalid_placement","An element that uses the `animate:` directive must be the only child of a keyed `{#each ...}` block\nhttps://svelte.dev/e/animation_invalid_placement")}function zy(e){M(e,"animation_missing_key","An element that uses the `animate:` directive must be the only child of a keyed `{#each ...}` block. Did you forget to add a key to your each block?\nhttps://svelte.dev/e/animation_missing_key")}function Gy(e){M(e,"attribute_contenteditable_dynamic",`'contenteditable' attribute cannot be dynamic if element uses two-way binding
|
|
129
|
+
https://svelte.dev/e/attribute_contenteditable_dynamic`)}function Wy(e){M(e,"attribute_contenteditable_missing",`'contenteditable' attribute is required for textContent, innerHTML and innerText two-way bindings
|
|
130
|
+
https://svelte.dev/e/attribute_contenteditable_missing`)}function Ky(e){M(e,"attribute_duplicate",`Attributes need to be unique
|
|
131
|
+
https://svelte.dev/e/attribute_duplicate`)}function Xy(e){M(e,"attribute_empty_shorthand",`Attribute shorthand cannot be empty
|
|
132
|
+
https://svelte.dev/e/attribute_empty_shorthand`)}function Yy(e){M(e,"attribute_invalid_event_handler",`Event attribute must be a JavaScript expression, not a string
|
|
133
|
+
https://svelte.dev/e/attribute_invalid_event_handler`)}function Jy(e){M(e,"attribute_invalid_multiple",`'multiple' attribute must be static if select uses two-way binding
|
|
134
|
+
https://svelte.dev/e/attribute_invalid_multiple`)}function Qy(e,t){M(e,"attribute_invalid_name",`'${t}' is not a valid attribute name
|
|
135
|
+
https://svelte.dev/e/attribute_invalid_name`)}function on(e){M(e,"attribute_invalid_sequence_expression",`Comma-separated expressions are not allowed as attribute/directive values in runes mode, unless wrapped in parentheses
|
|
136
|
+
https://svelte.dev/e/attribute_invalid_sequence_expression`)}function Zy(e){M(e,"attribute_invalid_type",`'type' attribute must be a static text value if input uses two-way binding
|
|
137
|
+
https://svelte.dev/e/attribute_invalid_type`)}function eg(e){M(e,"attribute_unquoted_sequence","Attribute values containing `{...}` must be enclosed in quote marks, unless the value only contains the expression\nhttps://svelte.dev/e/attribute_unquoted_sequence")}function tg(e){M(e,"bind_group_invalid_expression","`bind:group` can only bind to an Identifier or MemberExpression\nhttps://svelte.dev/e/bind_group_invalid_expression")}function rg(e){M(e,"bind_group_invalid_snippet_parameter","Cannot `bind:group` to a snippet parameter\nhttps://svelte.dev/e/bind_group_invalid_snippet_parameter")}function Of(e){M(e,"bind_invalid_expression","Can only bind to an Identifier or MemberExpression or a `{get, set}` pair\nhttps://svelte.dev/e/bind_invalid_expression")}function ln(e,t,r){M(e,"bind_invalid_name",`${r?`\`bind:${t}\` is not a valid binding. ${r}`:`\`bind:${t}\` is not a valid binding`}
|
|
138
|
+
https://svelte.dev/e/bind_invalid_name`)}function ig(e,t){M(e,"bind_invalid_parens",`\`bind:${t}={get, set}\` must not have surrounding parentheses
|
|
139
|
+
https://svelte.dev/e/bind_invalid_parens`)}function Ks(e,t,r){M(e,"bind_invalid_target",`\`bind:${t}\` can only be used with ${r}
|
|
140
|
+
https://svelte.dev/e/bind_invalid_target`)}function sg(e){M(e,"bind_invalid_value",`Can only bind to state or props
|
|
141
|
+
https://svelte.dev/e/bind_invalid_value`)}function Df(e,t){M(e,"block_duplicate_clause",`${t} cannot appear more than once within a block
|
|
142
|
+
https://svelte.dev/e/block_duplicate_clause`)}function ag(e){M(e,"block_invalid_continuation_placement",`{:...} block is invalid at this position (did you forget to close the preceding element or block?)
|
|
143
|
+
https://svelte.dev/e/block_invalid_continuation_placement`)}function ng(e){M(e,"block_invalid_elseif",`'elseif' should be 'else if'
|
|
144
|
+
https://svelte.dev/e/block_invalid_elseif`)}function og(e,t,r){M(e,"block_invalid_placement",`{#${t} ...} block cannot be ${r}
|
|
145
|
+
https://svelte.dev/e/block_invalid_placement`)}function lg(e){M(e,"block_unclosed",`Block was left open
|
|
146
|
+
https://svelte.dev/e/block_unclosed`)}function Xs(e,t){M(e,"block_unexpected_character",`Expected a \`${t}\` character immediately following the opening bracket
|
|
147
|
+
https://svelte.dev/e/block_unexpected_character`)}function Bf(e){M(e,"block_unexpected_close",`Unexpected block closing tag
|
|
148
|
+
https://svelte.dev/e/block_unexpected_close`)}function ug(e){M(e,"component_invalid_directive",`This type of directive is not valid on components
|
|
149
|
+
https://svelte.dev/e/component_invalid_directive`)}function cg(e,t){M(e,"const_tag_cycle",`Cyclical dependency detected: ${t}
|
|
150
|
+
https://svelte.dev/e/const_tag_cycle`)}function pg(e){M(e,"const_tag_invalid_expression",`{@const ...} must consist of a single variable declaration
|
|
151
|
+
https://svelte.dev/e/const_tag_invalid_expression`)}function dg(e){M(e,"const_tag_invalid_placement","`{@const}` must be the immediate child of `{#snippet}`, `{#if}`, `{:else if}`, `{:else}`, `{#each}`, `{:then}`, `{:catch}`, `<svelte:fragment>`, `<svelte:boundary>` or `<Component>`\nhttps://svelte.dev/e/const_tag_invalid_placement")}function fg(e,t){M(e,"const_tag_invalid_reference",`The \`{@const ${t} = ...}\` declaration is not available in this snippet
|
|
152
|
+
https://svelte.dev/e/const_tag_invalid_reference`)}function mg(e){M(e,"debug_tag_invalid_arguments",`{@debug ...} arguments must be identifiers, not arbitrary expressions
|
|
153
|
+
https://svelte.dev/e/debug_tag_invalid_arguments`)}function un(e){M(e,"declaration_tag_invalid_type","Declaration tags must be `let` or `const` declarations\nhttps://svelte.dev/e/declaration_tag_invalid_type")}function hg(e){M(e,"declaration_tag_no_legacy_mode",`Declaration tags cannot be used in legacy mode
|
|
154
|
+
https://svelte.dev/e/declaration_tag_no_legacy_mode`)}function _g(e){M(e,"directive_invalid_value",`Directive value must be a JavaScript expression enclosed in curly braces
|
|
155
|
+
https://svelte.dev/e/directive_invalid_value`)}function bg(e,t){M(e,"directive_missing_name",`\`${t}\` name cannot be empty
|
|
156
|
+
https://svelte.dev/e/directive_missing_name`)}function vg(e){M(e,"each_key_without_as","An `{#each ...}` block without an `as` clause cannot have a key\nhttps://svelte.dev/e/each_key_without_as")}function yg(e,t){M(e,"element_invalid_closing_tag",`\`</${t}>\` attempted to close an element that was not open
|
|
157
|
+
https://svelte.dev/e/element_invalid_closing_tag`)}function gg(e,t,r){M(e,"element_invalid_closing_tag_autoclosed",`\`</${t}>\` attempted to close element that was already automatically closed by \`<${r}>\` (cannot nest \`<${r}>\` inside \`<${t}>\`)
|
|
158
|
+
https://svelte.dev/e/element_invalid_closing_tag_autoclosed`)}function cn(e,t){M(e,"element_unclosed",`\`<${t}>\` was left open
|
|
159
|
+
https://svelte.dev/e/element_unclosed`)}function xg(e){M(e,"event_handler_invalid_component_modifier",`Event modifiers other than 'once' can only be used on DOM elements
|
|
160
|
+
https://svelte.dev/e/event_handler_invalid_component_modifier`)}function wg(e,t){M(e,"event_handler_invalid_modifier",`Valid event modifiers are ${t}
|
|
161
|
+
https://svelte.dev/e/event_handler_invalid_modifier`)}function kg(e,t,r){M(e,"event_handler_invalid_modifier_combination",`The '${t}' and '${r}' modifiers cannot be used together
|
|
162
|
+
https://svelte.dev/e/event_handler_invalid_modifier_combination`)}function jf(e){M(e,"expected_attribute_value",`Expected attribute value
|
|
163
|
+
https://svelte.dev/e/expected_attribute_value`)}function Cg(e){M(e,"expected_block_type",`Expected 'if', 'each', 'await', 'key' or 'snippet'
|
|
164
|
+
https://svelte.dev/e/expected_block_type`)}function Ff(e){M(e,"expected_identifier",`Expected an identifier
|
|
165
|
+
https://svelte.dev/e/expected_identifier`)}function Sg(e){M(e,"expected_pattern",`Expected identifier or destructure pattern
|
|
166
|
+
https://svelte.dev/e/expected_pattern`)}function Eg(e){M(e,"expected_tag",`Expected 'html', 'render', 'attach', 'const', or 'debug'
|
|
167
|
+
https://svelte.dev/e/expected_tag`)}function qt(e,t){M(e,"expected_token",`Expected token ${t}
|
|
168
|
+
https://svelte.dev/e/expected_token`)}function Tg(e){M(e,"expected_whitespace",`Expected whitespace
|
|
169
|
+
https://svelte.dev/e/expected_whitespace`)}function zt(e){M(e,"illegal_await_expression","`use:`, `transition:` and `animate:` directives, attachments and bindings do not support await expressions\nhttps://svelte.dev/e/illegal_await_expression")}function pn(e,t){M(e,"illegal_element_attribute",`\`<${t}>\` does not support non-event attributes or spread attributes
|
|
170
|
+
https://svelte.dev/e/illegal_element_attribute`)}function Ag(e,t){M(e,"js_parse_error",`${t}
|
|
171
|
+
https://svelte.dev/e/js_parse_error`)}function Pg(e){M(e,"let_directive_invalid_placement","`let:` directive at invalid position\nhttps://svelte.dev/e/let_directive_invalid_placement")}function Rg(e,t){M(e,"mixed_event_handler_syntaxes",`Mixing old (on:${t}) and new syntaxes for event handling is not allowed. Use only the on${t} syntax
|
|
172
|
+
https://svelte.dev/e/mixed_event_handler_syntaxes`)}function Ci(e,t){M(e,"node_invalid_placement",`${t}. The browser will 'repair' the HTML (by moving, removing, or inserting elements) which breaks Svelte's assumptions about the structure of your components.
|
|
173
|
+
https://svelte.dev/e/node_invalid_placement`)}function $g(e){M(e,"render_tag_invalid_call_expression",`Calling a snippet function using apply, bind or call is not allowed
|
|
174
|
+
https://svelte.dev/e/render_tag_invalid_call_expression`)}function Ig(e){M(e,"render_tag_invalid_expression","`{@render ...}` tags can only contain call expressions\nhttps://svelte.dev/e/render_tag_invalid_expression")}function qg(e){M(e,"render_tag_invalid_spread_argument","cannot use spread arguments in `{@render ...}` tags\nhttps://svelte.dev/e/render_tag_invalid_spread_argument")}function Vf(e){M(e,"script_duplicate","A component can have a single top-level `<script>` element and/or a single top-level `<script module>` element\nhttps://svelte.dev/e/script_duplicate")}function Mg(e,t){M(e,"script_invalid_attribute_value",`If the \`${t}\` attribute is supplied, it must be a boolean attribute
|
|
175
|
+
https://svelte.dev/e/script_invalid_attribute_value`)}function Uf(e){M(e,"script_invalid_context",`If the context attribute is supplied, its value must be "module"
|
|
176
|
+
https://svelte.dev/e/script_invalid_context`)}function Lg(e,t){M(e,"script_reserved_attribute",`The \`${t}\` attribute is reserved and cannot be used
|
|
177
|
+
https://svelte.dev/e/script_reserved_attribute`)}function Ng(e,t,r){M(e,"slot_attribute_duplicate",`Duplicate slot name '${t}' in <${r}>
|
|
178
|
+
https://svelte.dev/e/slot_attribute_duplicate`)}function Hf(e){M(e,"slot_attribute_invalid",`slot attribute must be a static value
|
|
179
|
+
https://svelte.dev/e/slot_attribute_invalid`)}function zf(e){M(e,"slot_attribute_invalid_placement",`Element with a slot='...' attribute must be a child of a component or a descendant of a custom element
|
|
180
|
+
https://svelte.dev/e/slot_attribute_invalid_placement`)}function Og(e){M(e,"slot_default_duplicate",`Found default slot content alongside an explicit slot="default"
|
|
181
|
+
https://svelte.dev/e/slot_default_duplicate`)}function Dg(e){M(e,"slot_element_invalid_attribute","`<slot>` can only receive attributes and (optionally) let directives\nhttps://svelte.dev/e/slot_element_invalid_attribute")}function Bg(e){M(e,"slot_element_invalid_name",`slot attribute must be a static value
|
|
182
|
+
https://svelte.dev/e/slot_element_invalid_name`)}function jg(e){M(e,"slot_element_invalid_name_default","`default` is a reserved word \u2014 it cannot be used as a slot name\nhttps://svelte.dev/e/slot_element_invalid_name_default")}function Fg(e){M(e,"slot_snippet_conflict","Cannot use `<slot>` syntax and `{@render ...}` tags in the same component. Migrate towards `{@render ...}` tags completely\nhttps://svelte.dev/e/slot_snippet_conflict")}function Vg(e){M(e,"snippet_conflict",`Cannot use explicit children snippet at the same time as implicit children content. Remove either the non-whitespace content or the children snippet block
|
|
183
|
+
https://svelte.dev/e/snippet_conflict`)}function Ug(e){M(e,"snippet_invalid_rest_parameter",`Snippets do not support rest parameters; use an array instead
|
|
184
|
+
https://svelte.dev/e/snippet_invalid_rest_parameter`)}function Hg(e,t){M(e,"snippet_shadowing_prop",`This snippet is shadowing the prop \`${t}\` with the same name
|
|
185
|
+
https://svelte.dev/e/snippet_shadowing_prop`)}function zg(e){M(e,"style_directive_invalid_modifier","`style:` directive can only use the `important` modifier\nhttps://svelte.dev/e/style_directive_invalid_modifier")}function Gg(e){M(e,"style_duplicate","A component can have a single top-level `<style>` element\nhttps://svelte.dev/e/style_duplicate")}function Wg(e){M(e,"svelte_body_illegal_attribute","`<svelte:body>` does not support non-event attributes or spread attributes\nhttps://svelte.dev/e/svelte_body_illegal_attribute")}function Kg(e){M(e,"svelte_boundary_invalid_attribute","Valid attributes on `<svelte:boundary>` are `onerror` and `failed`\nhttps://svelte.dev/e/svelte_boundary_invalid_attribute")}function Xg(e){M(e,"svelte_boundary_invalid_attribute_value",`Attribute value must be a non-string expression
|
|
186
|
+
https://svelte.dev/e/svelte_boundary_invalid_attribute_value`)}function Yg(e){M(e,"svelte_component_invalid_this","Invalid component definition \u2014 must be an `{expression}`\nhttps://svelte.dev/e/svelte_component_invalid_this")}function Jg(e){M(e,"svelte_component_missing_this","`<svelte:component>` must have a 'this' attribute\nhttps://svelte.dev/e/svelte_component_missing_this")}function Gf(e){M(e,"svelte_element_missing_this","`<svelte:element>` must have a 'this' attribute with a value\nhttps://svelte.dev/e/svelte_element_missing_this")}function Qg(e){M(e,"svelte_fragment_invalid_attribute","`<svelte:fragment>` can only have a slot attribute and (optionally) a let: directive\nhttps://svelte.dev/e/svelte_fragment_invalid_attribute")}function Zg(e){M(e,"svelte_fragment_invalid_placement","`<svelte:fragment>` must be the direct child of a component\nhttps://svelte.dev/e/svelte_fragment_invalid_placement")}function e0(e){M(e,"svelte_head_illegal_attribute","`<svelte:head>` cannot have attributes nor directives\nhttps://svelte.dev/e/svelte_head_illegal_attribute")}function t0(e,t){M(e,"svelte_meta_duplicate",`A component can only have one \`<${t}>\` element
|
|
187
|
+
https://svelte.dev/e/svelte_meta_duplicate`)}function r0(e,t){M(e,"svelte_meta_invalid_content",`<${t}> cannot have children
|
|
188
|
+
https://svelte.dev/e/svelte_meta_invalid_content`)}function i0(e,t){M(e,"svelte_meta_invalid_placement",`\`<${t}>\` tags cannot be inside elements or blocks
|
|
189
|
+
https://svelte.dev/e/svelte_meta_invalid_placement`)}function s0(e,t){M(e,"svelte_meta_invalid_tag",`Valid \`<svelte:...>\` tag names are ${t}
|
|
190
|
+
https://svelte.dev/e/svelte_meta_invalid_tag`)}function a0(e){M(e,"svelte_options_deprecated_tag",`"tag" option is deprecated \u2014 use "customElement" instead
|
|
191
|
+
https://svelte.dev/e/svelte_options_deprecated_tag`)}function n0(e){M(e,"svelte_options_invalid_attribute","`<svelte:options>` can only receive static attributes\nhttps://svelte.dev/e/svelte_options_invalid_attribute")}function dn(e,t){M(e,"svelte_options_invalid_attribute_value",`Value must be ${t}, if specified
|
|
192
|
+
https://svelte.dev/e/svelte_options_invalid_attribute_value`)}function fn(e){M(e,"svelte_options_invalid_customelement",'"customElement" must be a string literal defining a valid custom element name or an object of the form { tag?: string; shadow?: "open" | "none" | `ShadowRootInit`; props?: { [key: string]: { attribute?: string; reflect?: boolean; type: .. } } }\nhttps://svelte.dev/e/svelte_options_invalid_customelement')}function Kr(e){M(e,"svelte_options_invalid_customelement_props",`"props" must be a statically analyzable object literal of the form "{ [key: string]: { attribute?: string; reflect?: boolean; type?: "String" | "Boolean" | "Number" | "Array" | "Object" }"
|
|
193
|
+
https://svelte.dev/e/svelte_options_invalid_customelement_props`)}function o0(e){M(e,"svelte_options_invalid_customelement_shadow",'"shadow" must be either "open", "none" or `ShadowRootInit` object.\nhttps://svelte.dev/e/svelte_options_invalid_customelement_shadow')}function Wf(e){M(e,"svelte_options_invalid_tagname",`Tag name must be lowercase and hyphenated
|
|
194
|
+
https://svelte.dev/e/svelte_options_invalid_tagname`)}function l0(e){M(e,"svelte_options_reserved_tagname",`Tag name is reserved
|
|
195
|
+
https://svelte.dev/e/svelte_options_reserved_tagname`)}function u0(e,t){M(e,"svelte_options_unknown_attribute",`\`<svelte:options>\` unknown attribute '${t}'
|
|
196
|
+
https://svelte.dev/e/svelte_options_unknown_attribute`)}function c0(e){M(e,"svelte_self_invalid_placement","`<svelte:self>` components can only exist inside `{#if}` blocks, `{#each}` blocks, `{#snippet}` blocks or slots passed to components\nhttps://svelte.dev/e/svelte_self_invalid_placement")}function p0(e){M(e,"tag_invalid_name",`Expected a valid element or component name. Components must have a valid variable name or dot notation expression
|
|
197
|
+
https://svelte.dev/e/tag_invalid_name`)}function d0(e,t,r){M(e,"tag_invalid_placement",`{@${t} ...} tag cannot be ${r}
|
|
198
|
+
https://svelte.dev/e/tag_invalid_placement`)}function f0(e){M(e,"textarea_invalid_content","A `<textarea>` can have either a value attribute or (equivalently) child content, but not both\nhttps://svelte.dev/e/textarea_invalid_content")}function m0(e){M(e,"title_illegal_attribute","`<title>` cannot have attributes nor directives\nhttps://svelte.dev/e/title_illegal_attribute")}function h0(e){M(e,"title_invalid_content","`<title>` can only contain text and {tags}\nhttps://svelte.dev/e/title_invalid_content")}function _0(e,t,r){M(e,"transition_conflict",`Cannot use \`${t}:\` alongside existing \`${r}:\` directive
|
|
199
|
+
https://svelte.dev/e/transition_conflict`)}function b0(e,t){M(e,"transition_duplicate",`Cannot use multiple \`${t}:\` directives on a single element
|
|
200
|
+
https://svelte.dev/e/transition_duplicate`)}function _t(e){M(e,"unexpected_eof",`Unexpected end of input
|
|
201
|
+
https://svelte.dev/e/unexpected_eof`)}function v0(e,t){M(e,"unexpected_reserved_word",`'${t}' is a reserved word in JavaScript and cannot be used here
|
|
202
|
+
https://svelte.dev/e/unexpected_reserved_word`)}function y0(e){M(e,"unterminated_string_constant",`Unterminated string constant
|
|
203
|
+
https://svelte.dev/e/unterminated_string_constant`)}function g0(e){M(e,"void_element_invalid_content",`Void elements cannot have children or closing tags
|
|
204
|
+
https://svelte.dev/e/void_element_invalid_content`)}var mn=Ne,Kf=mn.extend(Xv());function Xf(e,t,r,i){let s=r?Kf:mn,{onComment:a,add_comments:n}=Jf(e,t),u=s.prototype.parseStatement;i&&(s.prototype.parseStatement=function(...p){let d=u.call(this,...p);return this.undefinedExports={},d});try{let p=s.parse(e,{onComment:a,sourceType:"module",ecmaVersion:16,locations:!0});return n(p),p}catch(p){return Yf(p)}finally{i&&(s.prototype.parseStatement=u)}}function Xr(e,t,r){let i=e.ts?Kf:mn,{onComment:s,add_comments:a}=Jf(t,e.root.comments,r);try{let n=i.parseExpressionAt(t,r,{onComment:s,sourceType:"module",ecmaVersion:16,locations:!0,preserveParens:!0});return a(n),n}catch(n){Yf(n)}}function x0(e,t,r){let i=e.ts?Kf:mn,{onComment:s,add_comments:a}=Jf(t,e.root.comments,r);try{let n=new i({onComment:s,sourceType:"module",ecmaVersion:16,locations:!0},t,r);n.nextToken();let u=n.parseStatement(null,!0,Object.create(null));return a(u),u}catch(n){n.pos===t.length&&_t(t.length),Yf(n)}}var c2=/ \(\d+:\d+\)$/;function Yf(e){Ag(e.pos,e.message.replace(c2,""))}function as(e){return oe(e,null,{ParenthesizedExpression(t,r){return r.visit(t.expression)}})}function Jf(e,t,r=0){return{onComment:(i,s,a,n,u,p)=>{if(i&&/\n/.test(s)){let d=a;for(;d>0&&e[d-1]!==`
|
|
205
|
+
`;)d-=1;let f=d;for(;/[ \t]/.test(e[f]);)f+=1;let h=e.slice(d,f);s=s.replace(new RegExp(`^${h}`,"gm"),"")}t.push({type:i?"Block":"Line",value:s,start:a,end:n,loc:{start:u,end:p}})},add_comments(i){t.length!==0&&(t=t.filter(s=>s.start>=r).map(({type:s,value:a,start:n,end:u})=>({type:s,value:a,start:n,end:u})),oe(i,null,{_(s,{next:a,path:n}){let u;for(;t[0]&&t[0].start<s.start;)u=t.shift(),(s.leadingComments||=[]).push(u);if(a(),t[0]){let p=n.at(-1);if(p===void 0||s.end!==p.end){let d=e.slice(s.end,t[0].start);if((p?.type==="BlockStatement"||p?.type==="Program")&&p.body.indexOf(s)===p.body.length-1||p?.type==="ArrayExpression"&&p.elements.indexOf(s)===p.elements.length-1||p?.type==="ObjectExpression"&&p.properties.indexOf(s)===p.properties.length-1){let h=s.end;for(;t.length;){let _=t[0];if(p&&_.start>=p.end)break;(s.trailingComments||=[]).push(_),t.shift(),h=_.end}}else s.end<=t[0].start&&/^[,) \t]*$/.test(d)&&(s.trailingComments=[t.shift()])}}}}),t.length>0&&(t[0].start>=i.end||i.type==="Program")&&(i.trailingComments||=[]).push(...t.splice(0)))}}}function Qf(e){return e<0?1/0:e}function d2(e,t,r){let i;return r==="`"?i=e:i=e.slice(0,Qf(e.indexOf(`
|
|
206
|
+
`,t))),Zf(i,t,r)}function f2(e,t){let r=Zf(e,t,"/"),i=Zf(e,t,`
|
|
207
|
+
`);return r<i?r:1/0}function Zf(e,t,r){let i=t;for(;;){let s=e.indexOf(r,i);if(s===-1)return 1/0;if(m2(e,s-1)%2===0)return s;i=s+1}}function m2(e,t){let r=t,i=0;for(;e[r]==="\\";)i++,r--;return i}function _n(e,t,r){let i=hn[r],s=1,a=t;for(;s>0&&a<e.length;){let n=e[a];switch(n){case"'":case'"':case"`":a=d2(e,a+1,n)+1;continue;case"/":{let u=e[a+1];if(!u){a++;continue}if(u==="/"){a=Qf(e.indexOf(`
|
|
208
|
+
`,a+1))+1;continue}if(u==="*"){a=Qf(e.indexOf("*/",a+1))+2;continue}let p=f2(e,a+1)+1;p===1/0?a++:a=p;continue}default:{let u=e[a];if(u===r?s++:u===i&&s--,s===0)return a;a++}}}}var hn={"{":"}","(":")","[":"]"},h2=new Set(Object.values(hn));function Ys(e,t,r=hn){let i=r===hn?h2:new Set(Object.values(r)),s=[],a=t;for(;a<e.template.length;){let n=e.template[a++];if(n==="'"||n==='"'||n==="`"){a=_2(e,a,n);continue}if(n in r)s.push(n);else if(i.has(n)){let u=s.pop(),p=r[u];if(n!==p&&qt(a-1,p),s.length===0)return a}}_t(e.template.length)}function _2(e,t,r){let i=!1,s=t;for(;s<e.template.length;){let a=e.template[s++];if(i){i=!1;continue}if(a===r)return s;a==="\\"&&(i=!0),r==="`"&&a==="$"&&e.template[s]==="{"&&(s=Ys(e,s))}y0(t)}function em(e,t){let r=_n(e.template,e.index,t??"{");if(r){let i=e.index;return e.index=r,{type:"Identifier",start:i,end:r,name:""}}}function st(e,t,r){try{let i=Xr(e,e.template,e.index),s=i.end,a=e.root.comments.at(-1);return a&&a.end>s&&(s=a.end),e.index=s,as(i)}catch(i){if(e.loose&&!r){let s=em(e,t);if(s)return s}throw i}}function Si(e){return e.replace(/(`|\${|\\)/g,"\\$1")}function W(e=[]){return{type:"ArrayExpression",elements:e}}function Yr(e){return{type:"ArrayPattern",elements:e}}function bn(e,t){return{type:"AssignmentPattern",left:e,right:t}}function U(e,t,r=!1){return r&&t.type==="AwaitExpression"&&!ur(t.argument)?U(e,t.argument):{type:"ArrowFunctionExpression",params:e,body:t,expression:t.type!=="BlockStatement",generator:!1,async:r}}function ie(e,t,r){return{type:"AssignmentExpression",operator:e,left:t,right:r}}function at(e){return{type:"AwaitExpression",argument:e}}function Gt(e,t,r){return{type:"BinaryExpression",operator:e,left:t,right:r}}function O(e){return{type:"BlockStatement",body:e}}function w0(e,t){return{type:"LabeledStatement",label:w(e),body:t}}function v(e,...t){typeof e=="string"&&(e=w(e)),t=t.slice();let r=t.length,i=!0;for(;r--;)t[r]?i=!1:i?t.pop():t[r]=Oe;return{type:"CallExpression",callee:e,arguments:t,optional:!1}}function or(e,...t){let r=v(e,...t);return r.optional=!0,{type:"ChainExpression",expression:r}}function Js(e,t){return{type:"UnaryExpression",argument:t,operator:e,prefix:!0}}var Oe=Js("void",$(0));function bt(e,t,r){return{type:"LogicalExpression",operator:e,left:t,right:r}}function kt(e,t){return{type:"VariableDeclaration",kind:e,declarations:t}}function ce(e,t){return typeof e=="string"&&(e=w(e)),{type:"VariableDeclarator",id:e,init:t}}var me={type:"EmptyStatement"};function Ei(e){return{type:"ExportDefaultDeclaration",declaration:e}}function k0(e,t,r,i=!1){return{type:"ForOfStatement",left:e,right:t,body:r,await:i}}function Ti(e,t,r,i=!1){return{type:"FunctionDeclaration",id:e,params:t,body:r,generator:!1,async:i}}function ft(e,t){return we("get",Ke(e),Qe(null,[],O(t)))}function w(e,t){let r={type:"Identifier",name:e};return t&&(r.loc=t),r}function C0(e){return{type:"PrivateIdentifier",name:e}}function b2(e){return{type:"ImportNamespaceSpecifier",local:w(e)}}function Z(e,t){return we("init",Ke(e),t)}function $(e){return{type:"Literal",value:e}}function J(e,t,r=!1,i=!1){return typeof t=="string"&&(t=w(t)),{type:"MemberExpression",object:e,property:t,computed:r,optional:i}}function Jr(e){let t=e.split("."),r=w(t[0]);for(let i=1;i<t.length;i+=1)r=J(r,w(t[i]));return r}function Q(e){return{type:"ObjectExpression",properties:e}}function Ai(e){return{type:"ObjectPattern",properties:e}}function we(e,t,r,i=!1){return{type:"Property",kind:e,key:t,value:r,method:!1,shorthand:!1,computed:i}}function Pi(e,t,r=!1,i=!1){return{type:"PropertyDefinition",decorators:[],key:e,value:t,computed:r,static:i}}function Wt(e,t=!1){return{type:"TemplateElement",value:{raw:Si(e),cooked:e},tail:t}}function ns(e){return{type:"RestElement",argument:e}}function Ge(e){return{type:"SequenceExpression",expressions:e}}function Kt(e,t){return we("set",Ke(e),Qe(null,[w("$$value")],O(t)))}function Mt(e){return{type:"SpreadElement",argument:e}}function I(e){return{type:"ExpressionStatement",expression:e}}function Qr(e,t){return{type:"TemplateLiteral",quasis:e,expressions:t}}function D(e,t=!1){return tm(U([],e,t))}function tm(e){return e.async===!1&&e.body.type==="CallExpression"&&e.body.callee.type==="Identifier"&&e.params.length===e.body.arguments.length&&e.params.every((t,r)=>{let i=e.body.arguments[r];return t.type==="Identifier"&&i.type==="Identifier"&&t.name===i.name})?e.body.callee:e}function vn(e,...t){return typeof e=="string"&&(e=w(e)),{callee:e,arguments:t,type:"NewExpression"}}function yn(e,t,r=!1){return{type:"UpdateExpression",operator:e,argument:t,prefix:r}}function S0(e,t){return{type:"DoWhileStatement",test:e,body:t}}var ee=$(!0),Sr=$(!1),vt=$(null),gn={type:"DebuggerStatement"},mt={type:"ThisExpression"};function We(e,t){return kt("let",[ce(e,t)])}function Ce(e,t){return kt("const",[ce(e,t)])}function ae(e,t){return kt("var",[ce(e,t)])}function E0(e,t,r,i){return{type:"ForStatement",init:e,test:t,update:r,body:i}}function lr(e,t,r,i,s=!1,a=!1){return{type:"MethodDefinition",decorators:[],key:t,kind:e,value:Qe(null,r,O(i)),computed:s,static:a}}function Qe(e,t,r,i=!1){return{type:"FunctionExpression",id:e,params:t,body:r,generator:!1,async:i}}function Fe(e,t,r){return{type:"IfStatement",test:e,consequent:t,alternate:r}}function xn(e,t){return{type:"ImportDeclaration",attributes:[],source:$(t),specifiers:[b2(e)]}}function Er(e,t){return{type:"ImportDeclaration",attributes:[],source:$(t),specifiers:e.map(r=>({type:"ImportSpecifier",imported:w(r[0]),local:w(r[1])}))}}function de(e=null){return{type:"ReturnStatement",argument:e}}function T0(e){return{type:"ThrowStatement",argument:vn("Error",$(e))}}function Ke(e){return Ms.test(e)?w(e):$(e)}function Ve(e){for(;e.type==="MemberExpression";)e=e.object;return e.type!=="Identifier"?null:e}function ve(e){return Array.isArray(e.value)&&e.value.length===1&&e.value[0].type==="Text"}function Ar(e){return e.value!==!0&&!Array.isArray(e.value)||Array.isArray(e.value)&&e.value.length===1&&e.value[0].type==="ExpressionTag"}function Lt(e){return Array.isArray(e.value)?e.value[0].expression:e.value.expression}function Zr(e){return Array.isArray(e)?e:typeof e=="boolean"?[]:[e]}function De(e){return Ar(e)&&e.name.startsWith("on")}function cr(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"MemberExpression":t.push(e);break;case"ObjectPattern":for(let r of e.properties)r.type==="RestElement"?cr(r.argument,t):cr(r.value,t);break;case"ArrayPattern":for(let r of e.elements)r&&cr(r,t);break;case"RestElement":cr(e.argument,t);break;case"AssignmentPattern":cr(e.left,t);break}return t}function _e(e){return cr(e,[]).filter(t=>t.type==="Identifier")}function wn(e){let t=[],r=[];return oe(e,{},{Identifier(i,{path:s}){let a=s.at(-1);(a?.type!=="MemberExpression"||a.property!==i||a.computed)&&t.push(i),a?.type==="MemberExpression"&&a.computed&&a.property===i?r.push(`[${i.name}]`):r.push(i.name)},Literal(i,{path:s}){let a=typeof i.value=="string"?`"${i.value}"`:String(i.value),n=s.at(-1);n?.type==="MemberExpression"&&n.computed&&n.property===i?r.push(`[${a}]`):r.push(a)},ThisExpression(i,{next:s}){r.push("this"),s()}}),[r.join("."),t]}function Qs(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"ObjectExpression":for(let r of e.properties)r.type==="Property"?Qs(r.value,t):Qs(r.argument,t);break;case"ArrayExpression":for(let r of e.elements)r&&Qs(r,t);break}return t}function nt(e,t){let r=[],i=[];return os(i,r,e,t,t,!1),{inserts:r,paths:i}}function os(e,t,r,i,s,a){switch(r.type){case"Identifier":case"MemberExpression":e.push({node:r,is_rest:!1,has_default_value:a,expression:i,update_expression:s});break;case"ObjectPattern":for(let n of r.properties)if(n.type==="RestElement"){let u=[];for(let d of r.properties)d.type==="Property"&&d.key.type!=="PrivateIdentifier"&&(d.key.type==="Identifier"&&!d.computed?u.push($(d.key.name)):d.key.type==="Literal"?u.push($(String(d.key.value))):u.push(v("String",d.key)));let p=v("$.exclude_from_object",i,W(u));n.argument.type==="Identifier"?e.push({node:n.argument,is_rest:!0,has_default_value:a,expression:p,update_expression:p}):os(e,t,n.argument,p,p,a)}else{let u=J(i,n.key,n.computed||n.key.type!=="Identifier");os(e,t,n.value,u,u,a)}break;case"ArrayPattern":{let n=w("#"),u=v("$.to_array",i,r.elements.at(-1)?.type==="RestElement"?void 0:$(r.elements.length));t.push({id:n,value:u});for(let p=0;p<r.elements.length;p+=1){let d=r.elements[p];if(d)if(d.type==="RestElement"){let f=v(J(n,"slice"),$(p));d.argument.type==="Identifier"?e.push({node:d.argument,is_rest:!0,has_default_value:a,expression:f,update_expression:f}):os(e,t,d.argument,f,f,a)}else{let f=J(n,$(p),!0);os(e,t,d,f,f,a)}}break}case"AssignmentPattern":{let n=kn(i,r.right);r.left.type==="Identifier"?e.push({node:r.left,is_rest:!1,has_default_value:!0,expression:n,update_expression:s}):os(e,t,r.left,n,s,!0);break}}return e}function Pr(e,t){let r=e.at(t);return r.type==="TSNonNullExpression"||r.type==="TSAsExpression"?e.at(t<0?t-1:t+1):r}function Tr(e){return e.type==="Literal"||e.type==="Identifier"||e.type==="ArrowFunctionExpression"||e.type==="FunctionExpression"?!0:e.type==="ConditionalExpression"?Tr(e.test)&&Tr(e.consequent)&&Tr(e.alternate):e.type==="BinaryExpression"||e.type==="LogicalExpression"?e.left.type!=="PrivateIdentifier"&&Tr(e.left)&&Tr(e.right):!1}function ei(e){return e.type==="ChainExpression"?e.expression:e}function Pe(e){switch(e.type){case"AwaitExpression":return!0;case"ArrayPattern":return e.elements.some(t=>t&&Pe(t));case"ArrayExpression":return e.elements.some(t=>t?t.type==="SpreadElement"?Pe(t.argument):Pe(t):!1);case"AssignmentPattern":case"AssignmentExpression":case"BinaryExpression":case"LogicalExpression":return e.left.type!=="PrivateIdentifier"&&Pe(e.left)||Pe(e.right);case"CallExpression":case"NewExpression":return e.callee.type!=="Super"&&Pe(e.callee)||e.arguments.some(t=>t.type==="SpreadElement"?Pe(t.argument):Pe(t));case"ChainExpression":return Pe(e.expression);case"ConditionalExpression":return Pe(e.test)||Pe(e.alternate)||Pe(e.consequent);case"ImportExpression":return Pe(e.source);case"MemberExpression":return e.object.type!=="Super"&&Pe(e.object)||e.property.type!=="PrivateIdentifier"&&Pe(e.property);case"ObjectPattern":case"ObjectExpression":return e.properties.some(t=>{if(t.type==="SpreadElement")return Pe(t.argument);if(t.type==="Property")return t.key.type!=="PrivateIdentifier"&&Pe(t.key)||Pe(t.value)});case"RestElement":return Pe(e.argument);case"SequenceExpression":case"TemplateLiteral":return e.expressions.some(t=>Pe(t));case"TaggedTemplateExpression":return Pe(e.tag)||Pe(e.quasi);case"UnaryExpression":case"UpdateExpression":return Pe(e.argument);case"YieldExpression":return e.argument?Pe(e.argument):!1;default:return!1}}function kn(e,t){return Tr(t)?v("$.fallback",e,t):t.type==="AwaitExpression"&&Tr(t.argument)?at(v("$.fallback",e,t.argument)):Pe(t)?at(v("$.fallback",e,D(t,!0),ee)):v("$.fallback",e,D(t),ee)}function Ri(e,t,r){return e==="="?r:["||=","&&=","??="].includes(e)?bt(e.slice(0,-1),t,r):Gt(e.slice(0,-1),t,r)}function ur(e){let t=!1;return oe(e,null,{AwaitExpression(r,i){t=!0,i.stop()},FunctionDeclaration(){},FunctionExpression(){},ArrowFunctionExpression(){}}),t}function Rr(e){return v(at(v("$.save",e)))}var v2=/<\/script\s*>/,y2=/<\/script\s*>/y,g2=["server","client","worker","test","default"],x2=["context","generics","lang","module"];function A0(e,t,r){let i=e.index,s=e.read_until(v2);e.index>=e.template.length&&cn(e.template.length,"script");let a=e.template.slice(0,i).replace(Pa," ")+s;e.read(y2);let n=Xf(a,e.root.comments,e.ts,!0);n.start=i,n.loc&&({line:n.loc.start.line,column:n.loc.start.column}=Te(t),{line:n.loc.end.line,column:n.loc.end.column}=Te(e.index));let u="default";for(let p of r)g2.includes(p.name)&&Lg(p,p.name),x2.includes(p.name)||Bb(p),p.name==="module"&&(p.value!==!0&&Mg(p,p.name),u="module"),p.name==="context"&&((p.value===!0||!ve(p))&&Uf(p),p.value[0].data!=="module"&&Uf(p),u="module");return{type:"Script",start:t,end:e.index,context:u,content:n,attributes:r}}var w2=/[~^$*|]?=/y,k2=/[\s\]]/,C2=/[a-zA-Z]+/y,$0=/(\+|~|>|\|\|)/y,P0=/\d+(\.\d+)?%/y,R0=/(even|odd|\+?(\d+|\d*n(\s*[+-]\s*\d+)?)|-\d*n(\s*\+\s*\d+))((?=\s*[,)])|\s+of(\s+|(?=[.#[*:&])))/y,S2=/[\s:]/,E2=/-?\d/y,T2=/[a-zA-Z0-9_-]/,A2=/\\[0-9a-fA-F]{1,6}(\r\n|\s)?/y,P2=/\*\//,R2=/-->/;function im(e,t,r){let i=e.index;e.css_comments=[];let s=$2(e,n=>n.match("</style")||n.index>=n.template.length),a=e.index;return e.eat("</style",!0),e.read(/\s*>/y),{type:"StyleSheet",start:t,end:e.index,attributes:r,children:s,comments:e.css_comments,content:{start:i,end:a,styles:e.template.slice(i,a),comment:null}}}function $2(e,t){let r=[];for(;ls(e),!t(e);)e.match("@")?r.push(I0(e)):r.push(q0(e));return r}function I0(e){let t=e.index;e.eat("@",!0);let r=$r(e),i=sm(e),s=null;return e.match("{")?s=M0(e):e.eat(";",!0),{type:"Atrule",start:t,end:e.index,name:r,prelude:i,block:s}}function q0(e){let t=e.index;return{type:"Rule",prelude:rm(e),block:M0(e),start:t,end:e.index,metadata:{parent_rule:null,has_local_selectors:!1,has_global_selectors:!1,is_global_block:!1}}}function rm(e,t=!1){let r=[];ls(e);let i=e.index;for(;e.index<e.template.length;){r.push(I2(e,t));let s=e.index;if(ls(e),t?e.match(")"):e.match("{"))return{type:"SelectorList",start:i,end:s,children:r};e.eat(",",!0),ls(e)}_t(e.template.length)}function I2(e,t=!1){let r=e.index,i=[];function s(n,u){return{type:"RelativeSelector",combinator:n,selectors:[],start:u,end:-1,metadata:{is_global:!1,is_global_like:!1,scoped:!1}}}let a=s(null,e.index);for(;e.index<e.template.length;){let n=e.index;if(e.eat("&"))a.selectors.push({type:"NestingSelector",name:"&",start:n,end:e.index});else if(e.eat("*")){let d="*",f;e.eat("|")&&(f=d,d=e.eat("*")?"*":$r(e)),a.selectors.push({type:"TypeSelector",name:d,...f!==void 0&&{namespace:f},start:n,end:e.index})}else if(e.eat("#"))a.selectors.push({type:"IdSelector",name:$r(e),start:n,end:e.index});else if(e.eat("."))a.selectors.push({type:"ClassSelector",name:$r(e),start:n,end:e.index});else if(e.eat("::")){let d=$r(e),f=null;e.eat("(")&&(f=rm(e,!0),e.eat(")",!0)),a.selectors.push({type:"PseudoElementSelector",name:d,start:n,end:e.index,...f&&{args:f}})}else if(e.eat(":")){let d=$r(e),f=null;e.eat("(")&&(f=rm(e,!0),e.eat(")",!0)),a.selectors.push({type:"PseudoClassSelector",name:d,args:f,start:n,end:e.index})}else if(e.eat("[")){e.allow_whitespace();let d=$r(e);e.allow_whitespace();let f=null,h=e.read(w2);h&&(e.allow_whitespace(),f=N2(e)),e.allow_whitespace();let _=e.read(C2);e.allow_whitespace(),e.eat("]",!0),a.selectors.push({type:"AttributeSelector",start:n,end:e.index,name:d,matcher:h,value:f,flags:_})}else if(t&&e.match_regex(R0))a.selectors.push({type:"Nth",value:e.read(R0),start:n,end:e.index});else if(e.match_regex(P0))a.selectors.push({type:"Percentage",value:e.read(P0),start:n,end:e.index});else if(!e.match_regex($0)){let d=$r(e),f;e.eat("|")&&(f=d,d=e.eat("*")?"*":$r(e)),a.selectors.push({type:"TypeSelector",name:d,...f!==void 0&&{namespace:f},start:n,end:e.index})}let u=e.index;if(ls(e,!1),e.match(",")||(t?e.match(")"):e.match("{")))return e.index=u,a.end=u,i.push(a),{type:"ComplexSelector",start:r,end:u,children:i,metadata:{rule:null,is_global:!1,used:!1}};e.index=u;let p=q2(e);p&&(a.selectors.length>0&&(a.end=u,i.push(a)),a=s(p,p.start),e.allow_whitespace(),(e.match(",")||(t?e.match(")"):e.match("{")))&&nn(e.index))}_t(e.template.length)}function q2(e){let t=e.index;e.allow_whitespace();let r=e.index,i=e.read($0);if(i){let s=e.index;return e.allow_whitespace(),{type:"Combinator",name:i,start:r,end:s}}return e.index!==t?{type:"Combinator",name:" ",start:t,end:e.index}:null}function M0(e){let t=e.index;e.eat("{",!0);let r=[];for(;e.index<e.template.length&&(ls(e),!e.match("}"));)r.push(M2(e));return e.eat("}",!0),{type:"Block",start:t,end:e.index,children:r}}function M2(e){if(e.match("@"))return I0(e);let t=e.index;sm(e,!1);let r=e.template[e.index];return e.index=t,r==="{"?q0(e):L2(e)}function L2(e){let t=e.index,r=e.read_until(S2);e.allow_whitespace(),e.eat(":");let i=e.index;e.allow_whitespace();let s=sm(e);!s&&!r.startsWith("--")&&My({start:t,end:i});let a=e.index;return e.match("}")||e.eat(";",!0),{type:"Declaration",start:t,end:a,property:r,value:s}}function sm(e,t=!0){let r="",i=[],s=!1,a=!1,n=null;for(;e.index<e.template.length;){let u=e.template[e.index];if(s){r+="\\"+u,s=!1,e.index++;continue}else if(u==="\\"){s=!0,e.index++;continue}else if(u===n)n=null;else if(u===")")a=!1;else if(n===null&&(u==='"'||u==="'"))n=u;else if(u==="("&&r.slice(-3)==="url")a=!0;else if((u===";"||u==="{"||u==="}")&&!a&&!n){let p=r.length-r.trimStart().length;for(let d of i)d.position=Math.max(0,d.position-p);return r.trim()}else if(u==="/"&&!a&&!n&&e.template[e.index+1]==="*"){let p=L0(e);t&&(p.position=r.length,e.css_comments.push(p),i.push(p));continue}r+=u,e.index++}_t(e.template.length)}function N2(e){let t="",r=!1,i=e.eat('"')?'"':e.eat("'")?"'":null;for(;e.index<e.template.length;){let s=e.template[e.index];if(r)t+="\\"+s,r=!1;else if(s==="\\")r=!0;else{if(i?s===i:k2.test(s))return i&&e.eat(i,!0),t.trim();t+=s}e.index++}_t(e.template.length)}function $r(e){let t=e.index,r="";for(e.match_regex(E2)&&qf(t);e.index<e.template.length;){let i=e.template[e.index];if(i==="\\"){let s=e.match_regex(A2);if(s){let a=String.fromCodePoint(parseInt(s.slice(1),16));r+=a==="\\"?"\\\\":a,e.index+=s.length}else r+="\\"+e.template[e.index+1],e.index+=2}else if(i.codePointAt(0)>=160||T2.test(i))r+=i,e.index++;else break}return r===""&&qf(t),r}function ls(e,t=!0){for(e.allow_whitespace();e.match("/*")||e.match("<!--");){if(e.match("/*")){let r=L0(e);t&&e.css_comments.push(r)}e.eat("<!--")&&(e.read_until(R2),e.eat("-->",!0)),e.allow_whitespace()}}function L0(e){let t=e.index;e.eat("/*",!0);let r=e.read_until(P2);e.eat("*/",!0);let i=e.index;return{type:"CSSComment",value:r,start:t,end:i}}var am={"CounterClockwiseContourIntegral;":8755,"ClockwiseContourIntegral;":8754,"DoubleLongLeftRightArrow;":10234,"NotNestedGreaterGreater;":10914,"DiacriticalDoubleAcute;":733,"NotSquareSupersetEqual;":8931,"CloseCurlyDoubleQuote;":8221,"DoubleContourIntegral;":8751,"FilledVerySmallSquare;":9642,"NegativeVeryThinSpace;":8203,"NotPrecedesSlantEqual;":8928,"NotRightTriangleEqual;":8941,"NotSucceedsSlantEqual;":8929,"CapitalDifferentialD;":8517,"DoubleLeftRightArrow;":8660,"DoubleLongRightArrow;":10233,"EmptyVerySmallSquare;":9643,"NestedGreaterGreater;":8811,"NotDoubleVerticalBar;":8742,"NotGreaterSlantEqual;":10878,"NotLeftTriangleEqual;":8940,"NotSquareSubsetEqual;":8930,"OpenCurlyDoubleQuote;":8220,"ReverseUpEquilibrium;":10607,"DoubleLongLeftArrow;":10232,"DownLeftRightVector;":10576,"LeftArrowRightArrow;":8646,"NegativeMediumSpace;":8203,"NotGreaterFullEqual;":8807,"NotRightTriangleBar;":10704,"RightArrowLeftArrow;":8644,"SquareSupersetEqual;":8850,"leftrightsquigarrow;":8621,"DownRightTeeVector;":10591,"DownRightVectorBar;":10583,"LongLeftRightArrow;":10231,"Longleftrightarrow;":10234,"NegativeThickSpace;":8203,"NotLeftTriangleBar;":10703,"PrecedesSlantEqual;":8828,"ReverseEquilibrium;":8651,"RightDoubleBracket;":10215,"RightDownTeeVector;":10589,"RightDownVectorBar;":10581,"RightTriangleEqual;":8885,"SquareIntersection;":8851,"SucceedsSlantEqual;":8829,"blacktriangleright;":9656,"longleftrightarrow;":10231,"DoubleUpDownArrow;":8661,"DoubleVerticalBar;":8741,"DownLeftTeeVector;":10590,"DownLeftVectorBar;":10582,"FilledSmallSquare;":9724,"GreaterSlantEqual;":10878,"LeftDoubleBracket;":10214,"LeftDownTeeVector;":10593,"LeftDownVectorBar;":10585,"LeftTriangleEqual;":8884,"NegativeThinSpace;":8203,"NotGreaterGreater;":8811,"NotLessSlantEqual;":10877,"NotNestedLessLess;":10913,"NotReverseElement;":8716,"NotSquareSuperset;":8848,"NotTildeFullEqual;":8775,"RightAngleBracket;":10217,"RightUpDownVector;":10575,"SquareSubsetEqual;":8849,"VerticalSeparator;":10072,"blacktriangledown;":9662,"blacktriangleleft;":9666,"leftrightharpoons;":8651,"rightleftharpoons;":8652,"twoheadrightarrow;":8608,"DiacriticalAcute;":180,"DiacriticalGrave;":96,"DiacriticalTilde;":732,"DoubleRightArrow;":8658,"DownArrowUpArrow;":8693,"EmptySmallSquare;":9723,"GreaterEqualLess;":8923,"GreaterFullEqual;":8807,"LeftAngleBracket;":10216,"LeftUpDownVector;":10577,"LessEqualGreater;":8922,"NonBreakingSpace;":160,"NotPrecedesEqual;":10927,"NotRightTriangle;":8939,"NotSucceedsEqual;":10928,"NotSucceedsTilde;":8831,"NotSupersetEqual;":8841,"RightTriangleBar;":10704,"RightUpTeeVector;":10588,"RightUpVectorBar;":10580,"UnderParenthesis;":9181,"UpArrowDownArrow;":8645,"circlearrowright;":8635,"downharpoonright;":8642,"ntrianglerighteq;":8941,"rightharpoondown;":8641,"rightrightarrows;":8649,"twoheadleftarrow;":8606,"vartriangleright;":8883,"CloseCurlyQuote;":8217,"ContourIntegral;":8750,"DoubleDownArrow;":8659,"DoubleLeftArrow;":8656,"DownRightVector;":8641,"LeftRightVector;":10574,"LeftTriangleBar;":10703,"LeftUpTeeVector;":10592,"LeftUpVectorBar;":10584,"LowerRightArrow;":8600,"NotGreaterEqual;":8817,"NotGreaterTilde;":8821,"NotHumpDownHump;":8782,"NotLeftTriangle;":8938,"NotSquareSubset;":8847,"OverParenthesis;":9180,"RightDownVector;":8642,"ShortRightArrow;":8594,"UpperRightArrow;":8599,"bigtriangledown;":9661,"circlearrowleft;":8634,"curvearrowright;":8631,"downharpoonleft;":8643,"leftharpoondown;":8637,"leftrightarrows;":8646,"nLeftrightarrow;":8654,"nleftrightarrow;":8622,"ntrianglelefteq;":8940,"rightleftarrows;":8644,"rightsquigarrow;":8605,"rightthreetimes;":8908,"straightepsilon;":1013,"trianglerighteq;":8885,"vartriangleleft;":8882,"DiacriticalDot;":729,"DoubleRightTee;":8872,"DownLeftVector;":8637,"GreaterGreater;":10914,"HorizontalLine;":9472,"InvisibleComma;":8291,"InvisibleTimes;":8290,"LeftDownVector;":8643,"LeftRightArrow;":8596,"Leftrightarrow;":8660,"LessSlantEqual;":10877,"LongRightArrow;":10230,"Longrightarrow;":10233,"LowerLeftArrow;":8601,"NestedLessLess;":8810,"NotGreaterLess;":8825,"NotLessGreater;":8824,"NotSubsetEqual;":8840,"NotVerticalBar;":8740,"OpenCurlyQuote;":8216,"ReverseElement;":8715,"RightTeeVector;":10587,"RightVectorBar;":10579,"ShortDownArrow;":8595,"ShortLeftArrow;":8592,"SquareSuperset;":8848,"TildeFullEqual;":8773,"UpperLeftArrow;":8598,"ZeroWidthSpace;":8203,"curvearrowleft;":8630,"doublebarwedge;":8966,"downdownarrows;":8650,"hookrightarrow;":8618,"leftleftarrows;":8647,"leftrightarrow;":8596,"leftthreetimes;":8907,"longrightarrow;":10230,"looparrowright;":8620,"nshortparallel;":8742,"ntriangleright;":8939,"rightarrowtail;":8611,"rightharpoonup;":8640,"trianglelefteq;":8884,"upharpoonright;":8638,"ApplyFunction;":8289,"DifferentialD;":8518,"DoubleLeftTee;":10980,"DoubleUpArrow;":8657,"LeftTeeVector;":10586,"LeftVectorBar;":10578,"LessFullEqual;":8806,"LongLeftArrow;":10229,"Longleftarrow;":10232,"NotEqualTilde;":8770,"NotTildeEqual;":8772,"NotTildeTilde;":8777,"Poincareplane;":8460,"PrecedesEqual;":10927,"PrecedesTilde;":8830,"RightArrowBar;":8677,"RightTeeArrow;":8614,"RightTriangle;":8883,"RightUpVector;":8638,"SucceedsEqual;":10928,"SucceedsTilde;":8831,"SupersetEqual;":8839,"UpEquilibrium;":10606,"VerticalTilde;":8768,"VeryThinSpace;":8202,"bigtriangleup;":9651,"blacktriangle;":9652,"divideontimes;":8903,"fallingdotseq;":8786,"hookleftarrow;":8617,"leftarrowtail;":8610,"leftharpoonup;":8636,"longleftarrow;":10229,"looparrowleft;":8619,"measuredangle;":8737,"ntriangleleft;":8938,"shortparallel;":8741,"smallsetminus;":8726,"triangleright;":9657,"upharpoonleft;":8639,"varsubsetneqq;":10955,"varsupsetneqq;":10956,"DownArrowBar;":10515,"DownTeeArrow;":8615,"ExponentialE;":8519,"GreaterEqual;":8805,"GreaterTilde;":8819,"HilbertSpace;":8459,"HumpDownHump;":8782,"Intersection;":8898,"LeftArrowBar;":8676,"LeftTeeArrow;":8612,"LeftTriangle;":8882,"LeftUpVector;":8639,"NotCongruent;":8802,"NotHumpEqual;":8783,"NotLessEqual;":8816,"NotLessTilde;":8820,"Proportional;":8733,"RightCeiling;":8969,"RoundImplies;":10608,"ShortUpArrow;":8593,"SquareSubset;":8847,"UnderBracket;":9141,"VerticalLine;":124,"blacklozenge;":10731,"exponentiale;":8519,"risingdotseq;":8787,"triangledown;":9663,"triangleleft;":9667,"varsubsetneq;":8842,"varsupsetneq;":8843,"CircleMinus;":8854,"CircleTimes;":8855,"Equilibrium;":8652,"GreaterLess;":8823,"LeftCeiling;":8968,"LessGreater;":8822,"MediumSpace;":8287,"NotLessLess;":8810,"NotPrecedes;":8832,"NotSucceeds;":8833,"NotSuperset;":8835,"OverBracket;":9140,"RightVector;":8640,"Rrightarrow;":8667,"RuleDelayed;":10740,"SmallCircle;":8728,"SquareUnion;":8852,"SubsetEqual;":8838,"UpDownArrow;":8597,"Updownarrow;":8661,"VerticalBar;":8739,"backepsilon;":1014,"blacksquare;":9642,"circledcirc;":8858,"circleddash;":8861,"curlyeqprec;":8926,"curlyeqsucc;":8927,"diamondsuit;":9830,"eqslantless;":10901,"expectation;":8496,"nRightarrow;":8655,"nrightarrow;":8603,"preccurlyeq;":8828,"precnapprox;":10937,"quaternions;":8461,"straightphi;":981,"succcurlyeq;":8829,"succnapprox;":10938,"thickapprox;":8776,"updownarrow;":8597,"Bernoullis;":8492,"CirclePlus;":8853,"EqualTilde;":8770,"Fouriertrf;":8497,"ImaginaryI;":8520,"Laplacetrf;":8466,"LeftVector;":8636,"Lleftarrow;":8666,"NotElement;":8713,"NotGreater;":8815,"Proportion;":8759,"RightArrow;":8594,"RightFloor;":8971,"Rightarrow;":8658,"ThickSpace;":8287,"TildeEqual;":8771,"TildeTilde;":8776,"UnderBrace;":9183,"UpArrowBar;":10514,"UpTeeArrow;":8613,"circledast;":8859,"complement;":8705,"curlywedge;":8911,"eqslantgtr;":10902,"gtreqqless;":10892,"lessapprox;":10885,"lesseqqgtr;":10891,"lmoustache;":9136,"longmapsto;":10236,"mapstodown;":8615,"mapstoleft;":8612,"nLeftarrow;":8653,"nleftarrow;":8602,"nsubseteqq;":10949,"nsupseteqq;":10950,"precapprox;":10935,"rightarrow;":8594,"rmoustache;":9137,"sqsubseteq;":8849,"sqsupseteq;":8850,"subsetneqq;":10955,"succapprox;":10936,"supsetneqq;":10956,"upuparrows;":8648,"varepsilon;":1013,"varnothing;":8709,"Backslash;":8726,"CenterDot;":183,"CircleDot;":8857,"Congruent;":8801,"Coproduct;":8720,"DoubleDot;":168,"DownArrow;":8595,"DownBreve;":785,"Downarrow;":8659,"HumpEqual;":8783,"LeftArrow;":8592,"LeftFloor;":8970,"Leftarrow;":8656,"LessTilde;":8818,"Mellintrf;":8499,"MinusPlus;":8723,"NotCupCap;":8813,"NotExists;":8708,"NotSubset;":8834,"OverBrace;":9182,"PlusMinus;":177,"Therefore;":8756,"ThinSpace;":8201,"TripleDot;":8411,"UnionPlus;":8846,"backprime;":8245,"backsimeq;":8909,"bigotimes;":10754,"centerdot;":183,"checkmark;":10003,"complexes;":8450,"dotsquare;":8865,"downarrow;":8595,"gtrapprox;":10886,"gtreqless;":8923,"gvertneqq;":8809,"heartsuit;":9829,"leftarrow;":8592,"lesseqgtr;":8922,"lvertneqq;":8808,"ngeqslant;":10878,"nleqslant;":10877,"nparallel;":8742,"nshortmid;":8740,"nsubseteq;":8840,"nsupseteq;":8841,"pitchfork;":8916,"rationals;":8474,"spadesuit;":9824,"subseteqq;":10949,"subsetneq;":8842,"supseteqq;":10950,"supsetneq;":8843,"therefore;":8756,"triangleq;":8796,"varpropto;":8733,"DDotrahd;":10513,"DotEqual;":8784,"Integral;":8747,"LessLess;":10913,"NotEqual;":8800,"NotTilde;":8769,"PartialD;":8706,"Precedes;":8826,"RightTee;":8866,"Succeeds;":8827,"SuchThat;":8715,"Superset;":8835,"Uarrocir;":10569,"UnderBar;":95,"andslope;":10840,"angmsdaa;":10664,"angmsdab;":10665,"angmsdac;":10666,"angmsdad;":10667,"angmsdae;":10668,"angmsdaf;":10669,"angmsdag;":10670,"angmsdah;":10671,"angrtvbd;":10653,"approxeq;":8778,"awconint;":8755,"backcong;":8780,"barwedge;":8965,"bbrktbrk;":9142,"bigoplus;":10753,"bigsqcup;":10758,"biguplus;":10756,"bigwedge;":8896,"boxminus;":8863,"boxtimes;":8864,"bsolhsub;":10184,"capbrcup;":10825,"circledR;":174,"circledS;":9416,"cirfnint;":10768,"clubsuit;":9827,"cupbrcap;":10824,"curlyvee;":8910,"cwconint;":8754,"doteqdot;":8785,"dotminus;":8760,"drbkarow;":10512,"dzigrarr;":10239,"elinters;":9191,"emptyset;":8709,"eqvparsl;":10725,"fpartint;":10765,"geqslant;":10878,"gesdotol;":10884,"gnapprox;":10890,"hksearow;":10533,"hkswarow;":10534,"imagline;":8464,"imagpart;":8465,"infintie;":10717,"integers;":8484,"intercal;":8890,"intlarhk;":10775,"laemptyv;":10676,"ldrushar;":10571,"leqslant;":10877,"lesdotor;":10883,"llcorner;":8990,"lnapprox;":10889,"lrcorner;":8991,"lurdshar;":10570,"mapstoup;":8613,"multimap;":8888,"naturals;":8469,"ncongdot;":10861,"notindot;":8949,"otimesas;":10806,"parallel;":8741,"plusacir;":10787,"pointint;":10773,"precneqq;":10933,"precnsim;":8936,"profalar;":9006,"profline;":8978,"profsurf;":8979,"raemptyv;":10675,"realpart;":8476,"rppolint;":10770,"rtriltri;":10702,"scpolint;":10771,"setminus;":8726,"shortmid;":8739,"smeparsl;":10724,"sqsubset;":8847,"sqsupset;":8848,"subseteq;":8838,"succneqq;":10934,"succnsim;":8937,"supseteq;":8839,"thetasym;":977,"thicksim;":8764,"timesbar;":10801,"triangle;":9653,"triminus;":10810,"trpezium;":9186,"ulcorner;":8988,"urcorner;":8989,"varkappa;":1008,"varsigma;":962,"vartheta;":977,"Because;":8757,"Cayleys;":8493,"Cconint;":8752,"Cedilla;":184,"Diamond;":8900,"DownTee;":8868,"Element;":8712,"Epsilon;":917,"Implies;":8658,"LeftTee;":8867,"NewLine;":10,"NoBreak;":8288,"NotLess;":8814,"Omicron;":927,"OverBar;":8254,"Product;":8719,"UpArrow;":8593,"Uparrow;":8657,"Upsilon;":933,"alefsym;":8501,"angrtvb;":8894,"angzarr;":9084,"asympeq;":8781,"backsim;":8765,"because;":8757,"bemptyv;":10672,"between;":8812,"bigcirc;":9711,"bigodot;":10752,"bigstar;":9733,"bnequiv;":8801,"boxplus;":8862,"ccupssm;":10832,"cemptyv;":10674,"cirscir;":10690,"coloneq;":8788,"congdot;":10861,"cudarrl;":10552,"cudarrr;":10549,"cularrp;":10557,"curarrm;":10556,"dbkarow;":10511,"ddagger;":8225,"ddotseq;":10871,"demptyv;":10673,"diamond;":8900,"digamma;":989,"dotplus;":8724,"dwangle;":10662,"epsilon;":949,"eqcolon;":8789,"equivDD;":10872,"gesdoto;":10882,"gtquest;":10876,"gtrless;":8823,"harrcir;":10568,"intprod;":10812,"isindot;":8949,"larrbfs;":10527,"larrsim;":10611,"lbrksld;":10639,"lbrkslu;":10637,"ldrdhar;":10599,"lesdoto;":10881,"lessdot;":8918,"lessgtr;":8822,"lesssim;":8818,"lotimes;":10804,"lozenge;":9674,"ltquest;":10875,"luruhar;":10598,"maltese;":10016,"minusdu;":10794,"napprox;":8777,"natural;":9838,"nearrow;":8599,"nexists;":8708,"notinva;":8713,"notinvb;":8951,"notinvc;":8950,"notniva;":8716,"notnivb;":8958,"notnivc;":8957,"npolint;":10772,"npreceq;":10927,"nsqsube;":8930,"nsqsupe;":8931,"nsubset;":8834,"nsucceq;":10928,"nsupset;":8835,"nvinfin;":10718,"nvltrie;":8884,"nvrtrie;":8885,"nwarrow;":8598,"olcross;":10683,"omicron;":959,"orderof;":8500,"orslope;":10839,"pertenk;":8241,"planckh;":8462,"pluscir;":10786,"plussim;":10790,"plustwo;":10791,"precsim;":8830,"quatint;":10774,"questeq;":8799,"rarrbfs;":10528,"rarrsim;":10612,"rbrksld;":10638,"rbrkslu;":10640,"rdldhar;":10601,"realine;":8475,"rotimes;":10805,"ruluhar;":10600,"searrow;":8600,"simplus;":10788,"simrarr;":10610,"subedot;":10947,"submult;":10945,"subplus;":10943,"subrarr;":10617,"succsim;":8831,"supdsub;":10968,"supedot;":10948,"suphsol;":10185,"suphsub;":10967,"suplarr;":10619,"supmult;":10946,"supplus;":10944,"swarrow;":8601,"topfork;":10970,"triplus;":10809,"tritime;":10811,"uparrow;":8593,"upsilon;":965,"uwangle;":10663,"vzigzag;":10650,"zigrarr;":8669,"Aacute;":193,"Abreve;":258,"Agrave;":192,"Assign;":8788,"Atilde;":195,"Barwed;":8966,"Bumpeq;":8782,"Cacute;":262,"Ccaron;":268,"Ccedil;":199,"Colone;":10868,"Conint;":8751,"CupCap;":8781,"Dagger;":8225,"Dcaron;":270,"DotDot;":8412,"Dstrok;":272,"Eacute;":201,"Ecaron;":282,"Egrave;":200,"Exists;":8707,"ForAll;":8704,"Gammad;":988,"Gbreve;":286,"Gcedil;":290,"HARDcy;":1066,"Hstrok;":294,"Iacute;":205,"Igrave;":204,"Itilde;":296,"Jsercy;":1032,"Kcedil;":310,"Lacute;":313,"Lambda;":923,"Lcaron;":317,"Lcedil;":315,"Lmidot;":319,"Lstrok;":321,"Nacute;":323,"Ncaron;":327,"Ncedil;":325,"Ntilde;":209,"Oacute;":211,"Odblac;":336,"Ograve;":210,"Oslash;":216,"Otilde;":213,"Otimes;":10807,"Racute;":340,"Rarrtl;":10518,"Rcaron;":344,"Rcedil;":342,"SHCHcy;":1065,"SOFTcy;":1068,"Sacute;":346,"Scaron;":352,"Scedil;":350,"Square;":9633,"Subset;":8912,"Supset;":8913,"Tcaron;":356,"Tcedil;":354,"Tstrok;":358,"Uacute;":218,"Ubreve;":364,"Udblac;":368,"Ugrave;":217,"Utilde;":360,"Vdashl;":10982,"Verbar;":8214,"Vvdash;":8874,"Yacute;":221,"Zacute;":377,"Zcaron;":381,"aacute;":225,"abreve;":259,"agrave;":224,"andand;":10837,"angmsd;":8737,"angsph;":8738,"apacir;":10863,"approx;":8776,"atilde;":227,"barvee;":8893,"barwed;":8965,"becaus;":8757,"bernou;":8492,"bigcap;":8898,"bigcup;":8899,"bigvee;":8897,"bkarow;":10509,"bottom;":8869,"bowtie;":8904,"boxbox;":10697,"bprime;":8245,"brvbar;":166,"bullet;":8226,"bumpeq;":8783,"cacute;":263,"capand;":10820,"capcap;":10827,"capcup;":10823,"capdot;":10816,"ccaron;":269,"ccedil;":231,"circeq;":8791,"cirmid;":10991,"colone;":8788,"commat;":64,"compfn;":8728,"conint;":8750,"coprod;":8720,"copysr;":8471,"cularr;":8630,"cupcap;":10822,"cupcup;":10826,"cupdot;":8845,"curarr;":8631,"curren;":164,"cylcty;":9005,"dagger;":8224,"daleth;":8504,"dcaron;":271,"dfisht;":10623,"divide;":247,"divonx;":8903,"dlcorn;":8990,"dlcrop;":8973,"dollar;":36,"drcorn;":8991,"drcrop;":8972,"dstrok;":273,"eacute;":233,"easter;":10862,"ecaron;":283,"ecolon;":8789,"egrave;":232,"egsdot;":10904,"elsdot;":10903,"emptyv;":8709,"emsp13;":8196,"emsp14;":8197,"eparsl;":10723,"eqcirc;":8790,"equals;":61,"equest;":8799,"female;":9792,"ffilig;":64259,"ffllig;":64260,"forall;":8704,"frac12;":189,"frac13;":8531,"frac14;":188,"frac15;":8533,"frac16;":8537,"frac18;":8539,"frac23;":8532,"frac25;":8534,"frac34;":190,"frac35;":8535,"frac38;":8540,"frac45;":8536,"frac56;":8538,"frac58;":8541,"frac78;":8542,"gacute;":501,"gammad;":989,"gbreve;":287,"gesdot;":10880,"gesles;":10900,"gtlPar;":10645,"gtrarr;":10616,"gtrdot;":8919,"gtrsim;":8819,"hairsp;":8202,"hamilt;":8459,"hardcy;":1098,"hearts;":9829,"hellip;":8230,"hercon;":8889,"homtht;":8763,"horbar;":8213,"hslash;":8463,"hstrok;":295,"hybull;":8259,"hyphen;":8208,"iacute;":237,"igrave;":236,"iiiint;":10764,"iinfin;":10716,"incare;":8453,"inodot;":305,"intcal;":8890,"iquest;":191,"isinsv;":8947,"itilde;":297,"jsercy;":1112,"kappav;":1008,"kcedil;":311,"kgreen;":312,"lAtail;":10523,"lacute;":314,"lagran;":8466,"lambda;":955,"langle;":10216,"larrfs;":10525,"larrhk;":8617,"larrlp;":8619,"larrpl;":10553,"larrtl;":8610,"latail;":10521,"lbrace;":123,"lbrack;":91,"lcaron;":318,"lcedil;":316,"ldquor;":8222,"lesdot;":10879,"lesges;":10899,"lfisht;":10620,"lfloor;":8970,"lharul;":10602,"llhard;":10603,"lmidot;":320,"lmoust;":9136,"loplus;":10797,"lowast;":8727,"lowbar;":95,"lparlt;":10643,"lrhard;":10605,"lsaquo;":8249,"lsquor;":8218,"lstrok;":322,"lthree;":8907,"ltimes;":8905,"ltlarr;":10614,"ltrPar;":10646,"mapsto;":8614,"marker;":9646,"mcomma;":10793,"midast;":42,"midcir;":10992,"middot;":183,"minusb;":8863,"minusd;":8760,"mnplus;":8723,"models;":8871,"mstpos;":8766,"nVDash;":8879,"nVdash;":8878,"nacute;":324,"nbumpe;":8783,"ncaron;":328,"ncedil;":326,"nearhk;":10532,"nequiv;":8802,"nesear;":10536,"nexist;":8708,"nltrie;":8940,"notinE;":8953,"nparsl;":11005,"nprcue;":8928,"nrarrc;":10547,"nrarrw;":8605,"nrtrie;":8941,"nsccue;":8929,"nsimeq;":8772,"ntilde;":241,"numero;":8470,"nvDash;":8877,"nvHarr;":10500,"nvdash;":8876,"nvlArr;":10498,"nvrArr;":10499,"nwarhk;":10531,"nwnear;":10535,"oacute;":243,"odblac;":337,"odsold;":10684,"ograve;":242,"ominus;":8854,"origof;":8886,"oslash;":248,"otilde;":245,"otimes;":8855,"parsim;":10995,"percnt;":37,"period;":46,"permil;":8240,"phmmat;":8499,"planck;":8463,"plankv;":8463,"plusdo;":8724,"plusdu;":10789,"plusmn;":177,"preceq;":10927,"primes;":8473,"prnsim;":8936,"propto;":8733,"prurel;":8880,"puncsp;":8200,"qprime;":8279,"rAtail;":10524,"racute;":341,"rangle;":10217,"rarrap;":10613,"rarrfs;":10526,"rarrhk;":8618,"rarrlp;":8620,"rarrpl;":10565,"rarrtl;":8611,"ratail;":10522,"rbrace;":125,"rbrack;":93,"rcaron;":345,"rcedil;":343,"rdquor;":8221,"rfisht;":10621,"rfloor;":8971,"rharul;":10604,"rmoust;":9137,"roplus;":10798,"rpargt;":10644,"rsaquo;":8250,"rsquor;":8217,"rthree;":8908,"rtimes;":8906,"sacute;":347,"scaron;":353,"scedil;":351,"scnsim;":8937,"searhk;":10533,"seswar;":10537,"sfrown;":8994,"shchcy;":1097,"sigmaf;":962,"sigmav;":962,"simdot;":10858,"smashp;":10803,"softcy;":1100,"solbar;":9023,"spades;":9824,"sqcaps;":8851,"sqcups;":8852,"sqsube;":8849,"sqsupe;":8850,"square;":9633,"squarf;":9642,"ssetmn;":8726,"ssmile;":8995,"sstarf;":8902,"subdot;":10941,"subset;":8834,"subsim;":10951,"subsub;":10965,"subsup;":10963,"succeq;":10928,"supdot;":10942,"supset;":8835,"supsim;":10952,"supsub;":10964,"supsup;":10966,"swarhk;":10534,"swnwar;":10538,"target;":8982,"tcaron;":357,"tcedil;":355,"telrec;":8981,"there4;":8756,"thetav;":977,"thinsp;":8201,"thksim;":8764,"timesb;":8864,"timesd;":10800,"topbot;":9014,"topcir;":10993,"tprime;":8244,"tridot;":9708,"tstrok;":359,"uacute;":250,"ubreve;":365,"udblac;":369,"ufisht;":10622,"ugrave;":249,"ulcorn;":8988,"ulcrop;":8975,"urcorn;":8989,"urcrop;":8974,"utilde;":361,"vangrt;":10652,"varphi;":981,"varrho;":1009,"veebar;":8891,"vellip;":8942,"verbar;":124,"vsubnE;":10955,"vsubne;":8842,"vsupnE;":10956,"vsupne;":8843,"wedbar;":10847,"wedgeq;":8793,"weierp;":8472,"wreath;":8768,"xoplus;":10753,"xotime;":10754,"xsqcup;":10758,"xuplus;":10756,"xwedge;":8896,"yacute;":253,"zacute;":378,"zcaron;":382,"zeetrf;":8488,"AElig;":198,Aacute:193,"Acirc;":194,Agrave:192,"Alpha;":913,"Amacr;":256,"Aogon;":260,"Aring;":197,Atilde:195,"Breve;":728,Ccedil:199,"Ccirc;":264,"Colon;":8759,"Cross;":10799,"Dashv;":10980,"Delta;":916,Eacute:201,"Ecirc;":202,Egrave:200,"Emacr;":274,"Eogon;":280,"Equal;":10869,"Gamma;":915,"Gcirc;":284,"Hacek;":711,"Hcirc;":292,"IJlig;":306,Iacute:205,"Icirc;":206,Igrave:204,"Imacr;":298,"Iogon;":302,"Iukcy;":1030,"Jcirc;":308,"Jukcy;":1028,"Kappa;":922,Ntilde:209,"OElig;":338,Oacute:211,"Ocirc;":212,Ograve:210,"Omacr;":332,"Omega;":937,Oslash:216,Otilde:213,"Prime;":8243,"RBarr;":10512,"Scirc;":348,"Sigma;":931,"THORN;":222,"TRADE;":8482,"TSHcy;":1035,"Theta;":920,"Tilde;":8764,Uacute:218,"Ubrcy;":1038,"Ucirc;":219,Ugrave:217,"Umacr;":362,"Union;":8899,"Uogon;":370,"UpTee;":8869,"Uring;":366,"VDash;":8875,"Vdash;":8873,"Wcirc;":372,"Wedge;":8896,Yacute:221,"Ycirc;":374,aacute:225,"acirc;":226,"acute;":180,"aelig;":230,agrave:224,"aleph;":8501,"alpha;":945,"amacr;":257,"amalg;":10815,"angle;":8736,"angrt;":8735,"angst;":197,"aogon;":261,"aring;":229,"asymp;":8776,atilde:227,"awint;":10769,"bcong;":8780,"bdquo;":8222,"bepsi;":1014,"blank;":9251,"blk12;":9618,"blk14;":9617,"blk34;":9619,"block;":9608,"boxDL;":9559,"boxDR;":9556,"boxDl;":9558,"boxDr;":9555,"boxHD;":9574,"boxHU;":9577,"boxHd;":9572,"boxHu;":9575,"boxUL;":9565,"boxUR;":9562,"boxUl;":9564,"boxUr;":9561,"boxVH;":9580,"boxVL;":9571,"boxVR;":9568,"boxVh;":9579,"boxVl;":9570,"boxVr;":9567,"boxdL;":9557,"boxdR;":9554,"boxdl;":9488,"boxdr;":9484,"boxhD;":9573,"boxhU;":9576,"boxhd;":9516,"boxhu;":9524,"boxuL;":9563,"boxuR;":9560,"boxul;":9496,"boxur;":9492,"boxvH;":9578,"boxvL;":9569,"boxvR;":9566,"boxvh;":9532,"boxvl;":9508,"boxvr;":9500,"breve;":728,brvbar:166,"bsemi;":8271,"bsime;":8909,"bsolb;":10693,"bumpE;":10926,"bumpe;":8783,"caret;":8257,"caron;":711,"ccaps;":10829,ccedil:231,"ccirc;":265,"ccups;":10828,"cedil;":184,"check;":10003,"clubs;":9827,"colon;":58,"comma;":44,"crarr;":8629,"cross;":10007,"csube;":10961,"csupe;":10962,"ctdot;":8943,"cuepr;":8926,"cuesc;":8927,"cupor;":10821,curren:164,"cuvee;":8910,"cuwed;":8911,"cwint;":8753,"dashv;":8867,"dblac;":733,"ddarr;":8650,"delta;":948,"dharl;":8643,"dharr;":8642,"diams;":9830,"disin;":8946,divide:247,"doteq;":8784,"dtdot;":8945,"dtrif;":9662,"duarr;":8693,"duhar;":10607,"eDDot;":10871,eacute:233,"ecirc;":234,"efDot;":8786,egrave:232,"emacr;":275,"empty;":8709,"eogon;":281,"eplus;":10865,"epsiv;":1013,"eqsim;":8770,"equiv;":8801,"erDot;":8787,"erarr;":10609,"esdot;":8784,"exist;":8707,"fflig;":64256,"filig;":64257,"fjlig;":102,"fllig;":64258,"fltns;":9649,"forkv;":10969,frac12:189,frac14:188,frac34:190,"frasl;":8260,"frown;":8994,"gamma;":947,"gcirc;":285,"gescc;":10921,"gimel;":8503,"gneqq;":8809,"gnsim;":8935,"grave;":96,"gsime;":10894,"gsiml;":10896,"gtcir;":10874,"gtdot;":8919,"harrw;":8621,"hcirc;":293,"hoarr;":8703,iacute:237,"icirc;":238,"iexcl;":161,igrave:236,"iiint;":8749,"iiota;":8489,"ijlig;":307,"imacr;":299,"image;":8465,"imath;":305,"imped;":437,"infin;":8734,"iogon;":303,"iprod;":10812,iquest:191,"isinE;":8953,"isins;":8948,"isinv;":8712,"iukcy;":1110,"jcirc;":309,"jmath;":567,"jukcy;":1108,"kappa;":954,"lAarr;":8666,"lBarr;":10510,"langd;":10641,"laquo;":171,"larrb;":8676,"lates;":10925,"lbarr;":10508,"lbbrk;":10098,"lbrke;":10635,"lceil;":8968,"ldquo;":8220,"lescc;":10920,"lhard;":8637,"lharu;":8636,"lhblk;":9604,"llarr;":8647,"lltri;":9722,"lneqq;":8808,"lnsim;":8934,"loang;":10220,"loarr;":8701,"lobrk;":10214,"lopar;":10629,"lrarr;":8646,"lrhar;":8651,"lrtri;":8895,"lsime;":10893,"lsimg;":10895,"lsquo;":8216,"ltcir;":10873,"ltdot;":8918,"ltrie;":8884,"ltrif;":9666,"mDDot;":8762,"mdash;":8212,"micro;":181,middot:183,"minus;":8722,"mumap;":8888,"nabla;":8711,"napid;":8779,"napos;":329,"natur;":9838,"nbump;":8782,"ncong;":8775,"ndash;":8211,"neArr;":8663,"nearr;":8599,"nedot;":8784,"nesim;":8770,"ngeqq;":8807,"ngsim;":8821,"nhArr;":8654,"nharr;":8622,"nhpar;":10994,"nlArr;":8653,"nlarr;":8602,"nleqq;":8806,"nless;":8814,"nlsim;":8820,"nltri;":8938,"notin;":8713,"notni;":8716,"npart;":8706,"nprec;":8832,"nrArr;":8655,"nrarr;":8603,"nrtri;":8939,"nsime;":8772,"nsmid;":8740,"nspar;":8742,"nsubE;":10949,"nsube;":8840,"nsucc;":8833,"nsupE;":10950,"nsupe;":8841,ntilde:241,"numsp;":8199,"nvsim;":8764,"nwArr;":8662,"nwarr;":8598,oacute:243,"ocirc;":244,"odash;":8861,"oelig;":339,"ofcir;":10687,ograve:242,"ohbar;":10677,"olarr;":8634,"olcir;":10686,"oline;":8254,"omacr;":333,"omega;":969,"operp;":10681,"oplus;":8853,"orarr;":8635,"order;":8500,oslash:248,otilde:245,"ovbar;":9021,"parsl;":11005,"phone;":9742,"plusb;":8862,"pluse;":10866,plusmn:177,"pound;":163,"prcue;":8828,"prime;":8242,"prnap;":10937,"prsim;":8830,"quest;":63,"rAarr;":8667,"rBarr;":10511,"radic;":8730,"rangd;":10642,"range;":10661,"raquo;":187,"rarrb;":8677,"rarrc;":10547,"rarrw;":8605,"ratio;":8758,"rbarr;":10509,"rbbrk;":10099,"rbrke;":10636,"rceil;":8969,"rdquo;":8221,"reals;":8477,"rhard;":8641,"rharu;":8640,"rlarr;":8644,"rlhar;":8652,"rnmid;":10990,"roang;":10221,"roarr;":8702,"robrk;":10215,"ropar;":10630,"rrarr;":8649,"rsquo;":8217,"rtrie;":8885,"rtrif;":9656,"sbquo;":8218,"sccue;":8829,"scirc;":349,"scnap;":10938,"scsim;":8831,"sdotb;":8865,"sdote;":10854,"seArr;":8664,"searr;":8600,"setmn;":8726,"sharp;":9839,"sigma;":963,"simeq;":8771,"simgE;":10912,"simlE;":10911,"simne;":8774,"slarr;":8592,"smile;":8995,"smtes;":10924,"sqcap;":8851,"sqcup;":8852,"sqsub;":8847,"sqsup;":8848,"srarr;":8594,"starf;":9733,"strns;":175,"subnE;":10955,"subne;":8842,"supnE;":10956,"supne;":8843,"swArr;":8665,"swarr;":8601,"szlig;":223,"theta;":952,"thkap;":8776,"thorn;":254,"tilde;":732,"times;":215,"trade;":8482,"trisb;":10701,"tshcy;":1115,"twixt;":8812,uacute:250,"ubrcy;":1118,"ucirc;":251,"udarr;":8645,"udhar;":10606,ugrave:249,"uharl;":8639,"uharr;":8638,"uhblk;":9600,"ultri;":9720,"umacr;":363,"uogon;":371,"uplus;":8846,"upsih;":978,"uring;":367,"urtri;":9721,"utdot;":8944,"utrif;":9652,"uuarr;":8648,"vBarv;":10985,"vDash;":8872,"varpi;":982,"vdash;":8866,"veeeq;":8794,"vltri;":8882,"vnsub;":8834,"vnsup;":8835,"vprop;":8733,"vrtri;":8883,"wcirc;":373,"wedge;":8743,"xcirc;":9711,"xdtri;":9661,"xhArr;":10234,"xharr;":10231,"xlArr;":10232,"xlarr;":10229,"xodot;":10752,"xrArr;":10233,"xrarr;":10230,"xutri;":9651,yacute:253,"ycirc;":375,AElig:198,Acirc:194,"Aopf;":120120,Aring:197,"Ascr;":119964,"Auml;":196,"Barv;":10983,"Beta;":914,"Bopf;":120121,"Bscr;":8492,"CHcy;":1063,"COPY;":169,"Cdot;":266,"Copf;":8450,"Cscr;":119966,"DJcy;":1026,"DScy;":1029,"DZcy;":1039,"Darr;":8609,"Dopf;":120123,"Dscr;":119967,Ecirc:202,"Edot;":278,"Eopf;":120124,"Escr;":8496,"Esim;":10867,"Euml;":203,"Fopf;":120125,"Fscr;":8497,"GJcy;":1027,"Gdot;":288,"Gopf;":120126,"Gscr;":119970,"Hopf;":8461,"Hscr;":8459,"IEcy;":1045,"IOcy;":1025,Icirc:206,"Idot;":304,"Iopf;":120128,"Iota;":921,"Iscr;":8464,"Iuml;":207,"Jopf;":120129,"Jscr;":119973,"KHcy;":1061,"KJcy;":1036,"Kopf;":120130,"Kscr;":119974,"LJcy;":1033,"Lang;":10218,"Larr;":8606,"Lopf;":120131,"Lscr;":8466,"Mopf;":120132,"Mscr;":8499,"NJcy;":1034,"Nopf;":8469,"Nscr;":119977,Ocirc:212,"Oopf;":120134,"Oscr;":119978,"Ouml;":214,"Popf;":8473,"Pscr;":119979,"QUOT;":34,"Qopf;":8474,"Qscr;":119980,"Rang;":10219,"Rarr;":8608,"Ropf;":8477,"Rscr;":8475,"SHcy;":1064,"Sopf;":120138,"Sqrt;":8730,"Sscr;":119982,"Star;":8902,THORN:222,"TScy;":1062,"Topf;":120139,"Tscr;":119983,"Uarr;":8607,Ucirc:219,"Uopf;":120140,"Upsi;":978,"Uscr;":119984,"Uuml;":220,"Vbar;":10987,"Vert;":8214,"Vopf;":120141,"Vscr;":119985,"Wopf;":120142,"Wscr;":119986,"Xopf;":120143,"Xscr;":119987,"YAcy;":1071,"YIcy;":1031,"YUcy;":1070,"Yopf;":120144,"Yscr;":119988,"Yuml;":376,"ZHcy;":1046,"Zdot;":379,"Zeta;":918,"Zopf;":8484,"Zscr;":119989,acirc:226,acute:180,aelig:230,"andd;":10844,"andv;":10842,"ange;":10660,"aopf;":120146,"apid;":8779,"apos;":39,aring:229,"ascr;":119990,"auml;":228,"bNot;":10989,"bbrk;":9141,"beta;":946,"beth;":8502,"bnot;":8976,"bopf;":120147,"boxH;":9552,"boxV;":9553,"boxh;":9472,"boxv;":9474,"bscr;":119991,"bsim;":8765,"bsol;":92,"bull;":8226,"bump;":8782,"caps;":8745,"cdot;":267,cedil:184,"cent;":162,"chcy;":1095,"cirE;":10691,"circ;":710,"cire;":8791,"comp;":8705,"cong;":8773,"copf;":120148,"copy;":169,"cscr;":119992,"csub;":10959,"csup;":10960,"cups;":8746,"dArr;":8659,"dHar;":10597,"darr;":8595,"dash;":8208,"diam;":8900,"djcy;":1106,"dopf;":120149,"dscr;":119993,"dscy;":1109,"dsol;":10742,"dtri;":9663,"dzcy;":1119,"eDot;":8785,"ecir;":8790,ecirc:234,"edot;":279,"emsp;":8195,"ensp;":8194,"eopf;":120150,"epar;":8917,"epsi;":949,"escr;":8495,"esim;":8770,"euml;":235,"euro;":8364,"excl;":33,"flat;":9837,"fnof;":402,"fopf;":120151,"fork;":8916,"fscr;":119995,"gdot;":289,"geqq;":8807,"gesl;":8923,"gjcy;":1107,"gnap;":10890,"gneq;":10888,"gopf;":120152,"gscr;":8458,"gsim;":8819,"gtcc;":10919,"gvnE;":8809,"hArr;":8660,"half;":189,"harr;":8596,"hbar;":8463,"hopf;":120153,"hscr;":119997,icirc:238,"iecy;":1077,iexcl:161,"imof;":8887,"iocy;":1105,"iopf;":120154,"iota;":953,"iscr;":119998,"isin;":8712,"iuml;":239,"jopf;":120155,"jscr;":119999,"khcy;":1093,"kjcy;":1116,"kopf;":120156,"kscr;":12e4,"lArr;":8656,"lHar;":10594,"lang;":10216,laquo:171,"larr;":8592,"late;":10925,"lcub;":123,"ldca;":10550,"ldsh;":8626,"leqq;":8806,"lesg;":8922,"ljcy;":1113,"lnap;":10889,"lneq;":10887,"lopf;":120157,"lozf;":10731,"lpar;":40,"lscr;":120001,"lsim;":8818,"lsqb;":91,"ltcc;":10918,"ltri;":9667,"lvnE;":8808,"macr;":175,"male;":9794,"malt;":10016,micro:181,"mlcp;":10971,"mldr;":8230,"mopf;":120158,"mscr;":120002,"nGtv;":8811,"nLtv;":8810,"nang;":8736,"napE;":10864,"nbsp;":160,"ncap;":10819,"ncup;":10818,"ngeq;":8817,"nges;":10878,"ngtr;":8815,"nisd;":8954,"njcy;":1114,"nldr;":8229,"nleq;":8816,"nles;":10877,"nmid;":8740,"nopf;":120159,"npar;":8742,"npre;":10927,"nsce;":10928,"nscr;":120003,"nsim;":8769,"nsub;":8836,"nsup;":8837,"ntgl;":8825,"ntlg;":8824,"nvap;":8781,"nvge;":8805,"nvgt;":62,"nvle;":8804,"nvlt;":60,"oast;":8859,"ocir;":8858,ocirc:244,"odiv;":10808,"odot;":8857,"ogon;":731,"oint;":8750,"omid;":10678,"oopf;":120160,"opar;":10679,"ordf;":170,"ordm;":186,"oror;":10838,"oscr;":8500,"osol;":8856,"ouml;":246,"para;":182,"part;":8706,"perp;":8869,"phiv;":981,"plus;":43,"popf;":120161,pound:163,"prap;":10935,"prec;":8826,"prnE;":10933,"prod;":8719,"prop;":8733,"pscr;":120005,"qint;":10764,"qopf;":120162,"qscr;":120006,"quot;":34,"rArr;":8658,"rHar;":10596,"race;":8765,"rang;":10217,raquo:187,"rarr;":8594,"rcub;":125,"rdca;":10551,"rdsh;":8627,"real;":8476,"rect;":9645,"rhov;":1009,"ring;":730,"ropf;":120163,"rpar;":41,"rscr;":120007,"rsqb;":93,"rtri;":9657,"scap;":10936,"scnE;":10934,"sdot;":8901,"sect;":167,"semi;":59,"sext;":10038,"shcy;":1096,"sime;":8771,"simg;":10910,"siml;":10909,"smid;":8739,"smte;":10924,"solb;":10692,"sopf;":120164,"spar;":8741,"squf;":9642,"sscr;":120008,"star;":9734,"subE;":10949,"sube;":8838,"succ;":8827,"sung;":9834,"sup1;":185,"sup2;":178,"sup3;":179,"supE;":10950,"supe;":8839,szlig:223,"tbrk;":9140,"tdot;":8411,thorn:254,times:215,"tint;":8749,"toea;":10536,"topf;":120165,"tosa;":10537,"trie;":8796,"tscr;":120009,"tscy;":1094,"uArr;":8657,"uHar;":10595,"uarr;":8593,ucirc:251,"uopf;":120166,"upsi;":965,"uscr;":120010,"utri;":9653,"uuml;":252,"vArr;":8661,"vBar;":10984,"varr;":8597,"vert;":124,"vopf;":120167,"vscr;":120011,"wopf;":120168,"wscr;":120012,"xcap;":8898,"xcup;":8899,"xmap;":10236,"xnis;":8955,"xopf;":120169,"xscr;":120013,"xvee;":8897,"yacy;":1103,"yicy;":1111,"yopf;":120170,"yscr;":120014,"yucy;":1102,"yuml;":255,"zdot;":380,"zeta;":950,"zhcy;":1078,"zopf;":120171,"zscr;":120015,"zwnj;":8204,"AMP;":38,"Acy;":1040,"Afr;":120068,"And;":10835,Auml:196,"Bcy;":1041,"Bfr;":120069,COPY:169,"Cap;":8914,"Cfr;":8493,"Chi;":935,"Cup;":8915,"Dcy;":1044,"Del;":8711,"Dfr;":120071,"Dot;":168,"ENG;":330,"ETH;":208,"Ecy;":1069,"Efr;":120072,"Eta;":919,Euml:203,"Fcy;":1060,"Ffr;":120073,"Gcy;":1043,"Gfr;":120074,"Hat;":94,"Hfr;":8460,"Icy;":1048,"Ifr;":8465,"Int;":8748,Iuml:207,"Jcy;":1049,"Jfr;":120077,"Kcy;":1050,"Kfr;":120078,"Lcy;":1051,"Lfr;":120079,"Lsh;":8624,"Map;":10501,"Mcy;":1052,"Mfr;":120080,"Ncy;":1053,"Nfr;":120081,"Not;":10988,"Ocy;":1054,"Ofr;":120082,Ouml:214,"Pcy;":1055,"Pfr;":120083,"Phi;":934,"Psi;":936,QUOT:34,"Qfr;":120084,"REG;":174,"Rcy;":1056,"Rfr;":8476,"Rho;":929,"Rsh;":8625,"Scy;":1057,"Sfr;":120086,"Sub;":8912,"Sum;":8721,"Sup;":8913,"Tab;":9,"Tau;":932,"Tcy;":1058,"Tfr;":120087,"Ucy;":1059,"Ufr;":120088,Uuml:220,"Vcy;":1042,"Vee;":8897,"Vfr;":120089,"Wfr;":120090,"Xfr;":120091,"Ycy;":1067,"Yfr;":120092,"Zcy;":1047,"Zfr;":8488,"acE;":8766,"acd;":8767,"acy;":1072,"afr;":120094,"amp;":38,"and;":8743,"ang;":8736,"apE;":10864,"ape;":8778,"ast;":42,auml:228,"bcy;":1073,"bfr;":120095,"bne;":61,"bot;":8869,"cap;":8745,cent:162,"cfr;":120096,"chi;":967,"cir;":9675,copy:169,"cup;":8746,"dcy;":1076,"deg;":176,"dfr;":120097,"die;":168,"div;":247,"dot;":729,"ecy;":1101,"efr;":120098,"egs;":10902,"ell;":8467,"els;":10901,"eng;":331,"eta;":951,"eth;":240,euml:235,"fcy;":1092,"ffr;":120099,"gEl;":10892,"gap;":10886,"gcy;":1075,"gel;":8923,"geq;":8805,"ges;":10878,"gfr;":120100,"ggg;":8921,"glE;":10898,"gla;":10917,"glj;":10916,"gnE;":8809,"gne;":10888,"hfr;":120101,"icy;":1080,"iff;":8660,"ifr;":120102,"int;":8747,iuml:239,"jcy;":1081,"jfr;":120103,"kcy;":1082,"kfr;":120104,"lEg;":10891,"lap;":10885,"lat;":10923,"lcy;":1083,"leg;":8922,"leq;":8804,"les;":10877,"lfr;":120105,"lgE;":10897,"lnE;":8808,"lne;":10887,"loz;":9674,"lrm;":8206,"lsh;":8624,macr:175,"map;":8614,"mcy;":1084,"mfr;":120106,"mho;":8487,"mid;":8739,"nGg;":8921,"nGt;":8811,"nLl;":8920,"nLt;":8810,"nap;":8777,nbsp:160,"ncy;":1085,"nfr;":120107,"ngE;":8807,"nge;":8817,"ngt;":8815,"nis;":8956,"niv;":8715,"nlE;":8806,"nle;":8816,"nlt;":8814,"not;":172,"npr;":8832,"nsc;":8833,"num;":35,"ocy;":1086,"ofr;":120108,"ogt;":10689,"ohm;":937,"olt;":10688,"ord;":10845,ordf:170,ordm:186,"orv;":10843,ouml:246,"par;":8741,para:182,"pcy;":1087,"pfr;":120109,"phi;":966,"piv;":982,"prE;":10931,"pre;":10927,"psi;":968,"qfr;":120110,quot:34,"rcy;":1088,"reg;":174,"rfr;":120111,"rho;":961,"rlm;":8207,"rsh;":8625,"scE;":10932,"sce;":10928,"scy;":1089,sect:167,"sfr;":120112,"shy;":173,"sim;":8764,"smt;":10922,"sol;":47,"squ;":9633,"sub;":8834,"sum;":8721,sup1:185,sup2:178,sup3:179,"sup;":8835,"tau;":964,"tcy;":1090,"tfr;":120113,"top;":8868,"ucy;":1091,"ufr;":120114,"uml;":168,uuml:252,"vcy;":1074,"vee;":8744,"vfr;":120115,"wfr;":120116,"xfr;":120117,"ycy;":1099,"yen;":165,"yfr;":120118,yuml:255,"zcy;":1079,"zfr;":120119,"zwj;":8205,AMP:38,"DD;":8517,ETH:208,"GT;":62,"Gg;":8921,"Gt;":8811,"Im;":8465,"LT;":60,"Ll;":8920,"Lt;":8810,"Mu;":924,"Nu;":925,"Or;":10836,"Pi;":928,"Pr;":10939,REG:174,"Re;":8476,"Sc;":10940,"Xi;":926,"ac;":8766,"af;":8289,amp:38,"ap;":8776,"dd;":8518,deg:176,"ee;":8519,"eg;":10906,"el;":10905,eth:240,"gE;":8807,"ge;":8805,"gg;":8811,"gl;":8823,"gt;":62,"ic;":8291,"ii;":8520,"in;":8712,"it;":8290,"lE;":8806,"le;":8804,"lg;":8822,"ll;":8810,"lt;":60,"mp;":8723,"mu;":956,"ne;":8800,"ni;":8715,not:172,"nu;":957,"oS;":9416,"or;":8744,"pi;":960,"pm;":177,"pr;":8826,reg:174,"rx;":8478,"sc;":8827,shy:173,uml:168,"wp;":8472,"wr;":8768,"xi;":958,yen:165,GT:62,LT:60,gt:62,lt:60};var O2=[8364,129,8218,402,8222,8230,8224,8225,710,8240,352,8249,338,141,381,143,144,8216,8217,8220,8221,8226,8211,8212,732,8482,353,8250,339,157,382,376];function D2(e,t){return t&&!e.endsWith(";")?`${e}\\b(?!=)`:e}function O0(e){let t="#(?:[xX][a-fA-F\\d]+|\\d+)(?:;)?",r=Object.keys(am).map(s=>D2(s,e));return new RegExp(`&(${t}|${r.join("|")})`,"g")}var B2=O0(!1),j2=O0(!0);function Zs(e,t){let r=t?j2:B2;return e.replace(r,(i,s)=>{let a;return s[0]!=="#"?a=am[s]:s[1]==="x"||s[1]==="X"?a=parseInt(s.substring(2),16):a=parseInt(s.substring(1),10),a?String.fromCodePoint(F2(a,t)):i})}var N0=0;function F2(e,t){return e===10&&!t?32:e<128?e:e<=159?O2[e-128]:e<55296?e:e<=57343?N0:e<=65535||e>=65536&&e<=131071||e>=131072&&e<=196607||e>=917504&&e<=917631||e>=917760&&e<=917999?e:N0}function Ze(e=!1){return{type:"Fragment",nodes:[],metadata:{transparent:e,dynamic:!1}}}var V2=["SvelteElement","RegularElement","SvelteFragment","Component","SvelteComponent","SvelteSelf","SlotElement"];function us(e){return V2.includes(e.type)}function nm(e){return["Component","SvelteComponent","SvelteSelf"].includes(e.type)}function Ct(e){return e.type==="RegularElement"&&(e.name.includes("-")||e.attributes.some(t=>t.type==="Attribute"&&t.name==="is"))}function Xt(e,t,r,i,s){return{type:"Attribute",start:r,end:i,name:e,name_loc:t,value:s,metadata:{delegated:!1,needs_clsx:!1}}}var $e=class{has_state=!1;has_call=!1;has_await=!1;has_pickled_await=!1;has_member_expression=!1;has_assignment=!1;dependencies=new Set;references=new Set;#e=null;#t(){if(!this.#e){this.#e=new Set;for(let t of this.references)t.blocker&&this.#e.add(t.blocker)}return this.#e}blockers(){return W([...this.#t()])}has_blockers(){return this.#t().size>0}has_more_blockers_than(t){for(let r of this.#t())if(!t.#t().has(r))return!0;return!1}is_async(){return this.has_await||this.#t().size>0}merge(t){this.has_state||=t.has_state,this.has_call||=t.has_call,this.has_await||=t.has_await,this.has_pickled_await||=t.has_pickled_await,this.has_member_expression||=t.has_member_expression,this.has_assignment||=t.has_assignment,this.#e=null;for(let r of t.references)this.references.add(r);for(let r of t.dependencies)this.dependencies.add(r)}};function ut(e){return e.type==="Literal"?String(e.value):e.type==="PrivateIdentifier"?"#"+e.name:e.type==="Identifier"?e.name:null}function ti(e){if(e.name==="select"||e.name==="optgroup"||e.name==="option")for(let t of pr(e.fragment))if(t.type==="RegularElement"){if(e.name==="select"&&t.name!=="option"&&t.name!=="optgroup"||e.name==="optgroup"&&t.name!=="option"||e.name==="option")return!0}else if(t.type==="Text"){if(e.name==="select"||e.name==="optgroup")return!0}else return!0;return!1}function*pr(e){if(e!==null)for(let t of e.nodes)switch(t.type){case"SnippetBlock":case"DebugTag":case"ConstTag":case"DeclarationTag":case"Comment":case"ExpressionTag":break;case"Text":t.data.trim()!==""&&(yield t);break;case"IfBlock":yield*pr(t.consequent),yield*pr(t.alternate);break;case"EachBlock":yield*pr(t.body),yield*pr(t.fallback??null);break;case"KeyBlock":yield*pr(t.fragment);break;case"AwaitBlock":yield*pr(t.pending),yield*pr(t.then),yield*pr(t.catch);break;case"SvelteBoundary":yield*pr(t.fragment);break;default:yield t}}var D0={li:{direct:["li"]},dt:{descendant:["dt","dd"],reset_by:["dl"]},dd:{descendant:["dt","dd"],reset_by:["dl"]},p:{descendant:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","menu","nav","ol","p","pre","section","table","ul"]},rt:{descendant:["rt","rp"]},rp:{descendant:["rt","rp"]},optgroup:{descendant:["optgroup"]},option:{descendant:["option","optgroup"]},thead:{direct:["tbody","tfoot"]},tbody:{direct:["tbody","tfoot"]},tfoot:{direct:["tbody"]},tr:{direct:["tr","tbody"]},td:{direct:["td","th","tr"]},th:{direct:["td","th","tr"]}};function B0(e,t){let r=D0[e];return!!(r&&(!t||("direct"in r?r.direct:r.descendant).includes(t)))}var j0={...D0,form:{descendant:["form"]},a:{descendant:["a"]},button:{descendant:["button"]},h1:{descendant:["h1","h2","h3","h4","h5","h6"]},h2:{descendant:["h1","h2","h3","h4","h5","h6"]},h3:{descendant:["h1","h2","h3","h4","h5","h6"]},h4:{descendant:["h1","h2","h3","h4","h5","h6"]},h5:{descendant:["h1","h2","h3","h4","h5","h6"]},h6:{descendant:["h1","h2","h3","h4","h5","h6"]},tr:{only:["th","td","style","script","template"]},tbody:{only:["tr","style","script","template"]},thead:{only:["tr","style","script","template"]},tfoot:{only:["tr","style","script","template"]},colgroup:{only:["col","template"]},table:{only:["caption","colgroup","tbody","thead","tfoot","style","script","template"]},head:{only:["base","basefont","bgsound","link","meta","title","noscript","noframes","style","script","template"]},html:{only:["head","body","frameset"]},frameset:{only:["frame"]},"#document":{only:["html"]}};function F0(e,t,r,i){if(e.includes("-"))return null;let s=t[t.length-1],a=j0[s];if(!a)return null;if("reset_by"in a&&a.reset_by){for(let n=t.length-2;n>=0;n--)if(t[n].includes("-")||a.reset_by.includes(t[n]))return null}if("descendant"in a&&a.descendant.includes(e)){let n=r?`\`<${e}>\` (${r})`:`\`<${e}>\``,u=i?`\`<${s}>\` (${i})`:`\`<${s}>\``;return`${n} cannot be a descendant of ${u}`}return null}function cs(e,t,r,i){if(e.includes("-")||t?.includes("-")||t==="template")return null;let s=j0[t],a=r?`\`<${e}>\` (${r})`:`\`<${e}>\``,n=i?`\`<${t}>\` (${i})`:`\`<${t}>\``;if(s){if("direct"in s&&s.direct.includes(e))return`${a} cannot be a direct child of ${n}`;if("descendant"in s&&s.descendant.includes(e))return`${a} cannot be a child of ${n}`;if("only"in s&&s.only)return s.only.includes(e)?null:`${a} cannot be a child of ${n}. \`<${t}>\` only allows these children: ${s.only.map(u=>`\`<${u}>\``).join(", ")}`}switch(e){case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":return`${a} cannot be a child of ${n}`;case"thead":case"tbody":case"tfoot":return`${a} must be the child of a \`<table>\`, not a ${n}`;case"td":case"th":return`${a} must be the child of a \`<tr>\`, not a ${n}`;case"tr":return`\`<tr>\` must be the child of a \`<thead>\`, \`<tbody>\`, or \`<tfoot>\`, not a ${n}`}return null}function $i(e,t="or"){return e.length===1?e[0]:e.length===2?`${e[0]} ${t} ${e[1]}`:`${e.slice(0,-1).join(", ")} ${t} ${e[e.length-1]}`}var U2=/(\/>|[\s"'=<>`])/y,om=/<\/textarea(\s[^>]*)?>/iy,H2=/-->/,V0=/(\s|\/|>)/,U0=/[\s=/>"']/,H0=/["']/y,z2=/(?:"([^"]*)"|'([^'])*'|([^>\s]+))/y,G2=/^![a-zA-Z]+$/,W2=/^[a-zA-Z][a-zA-Z0-9]*:[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$/;function K2(e){return G2.test(e)||W2.test(e)?!0:g_.test(e)}var lm=/^(?:\p{Lu}[$\u200c\u200d\p{ID_Continue}.]*|\p{ID_Start}[$\u200c\u200d\p{ID_Continue}]*(?:\.[$\u200c\u200d\p{ID_Continue}]+)+)$/u,z0=new Map([["svelte:head","SvelteHead"],["svelte:options","SvelteOptions"],["svelte:window","SvelteWindow"],["svelte:document","SvelteDocument"],["svelte:body","SvelteBody"]]),Cn=new Map([...z0,["svelte:element","SvelteElement"],["svelte:component","SvelteComponent"],["svelte:self","SvelteSelf"],["svelte:fragment","SvelteFragment"],["svelte:boundary","SvelteBoundary"]]);function um(e){let t=e.index++,r=e.current();if(e.eat("!--")){let g=e.read_until(H2);e.eat("-->",!0),e.append({type:"Comment",start:t,end:e.index,data:g});return}if(e.eat("/")){let g=e.read_until(V0);for(e.allow_whitespace(),e.eat(">",!0),Vt(g)&&g0(t);r.name!==g;){if(e.loose&&us(r)){let E=r.attributes.at(-1);if(E?.type==="Attribute"&&E.name===`<${g}`){e.index=E.start,r.attributes.pop();break}}if(r.type==="RegularElement"){if(!e.last_auto_closed_tag||e.last_auto_closed_tag.tag!==g){let E=r.fragment.nodes[0]?.start??t;lf({start:r.start,end:E},`</${g}>`,`</${r.name}>`)}}else e.loose||(e.last_auto_closed_tag&&e.last_auto_closed_tag.tag===g?gg(t,g,e.last_auto_closed_tag.reason):yg(t,g));r.end=t,e.pop(),r=e.current()}r.end=e.index,e.pop(),e.last_auto_closed_tag&&e.stack.length<e.last_auto_closed_tag.depth&&(e.last_auto_closed_tag=void 0);return}let i=cm(e,V0);if(i.name.startsWith("svelte:")&&!Cn.has(i.name)){let g={start:t+1,end:t+1+i.name.length};s0(g,$i(Array.from(Cn.keys())))}if(!K2(i.name)&&!lm.test(i.name)&&(!e.loose||!i.name.endsWith("."))){let g={start:t+1,end:t+1+i.name.length};p0(g)}z0.has(i.name)&&(i.name in e.meta_tags&&t0(t,i.name),r.type!=="Root"&&i0(t,i.name),e.meta_tags[i.name]=!0);let s=Cn.has(i.name)?Cn.get(i.name):lm.test(i.name)||e.loose&&i.name.endsWith(".")?"Component":i.name==="title"&&X2(e.stack)?"TitleElement":i.name==="slot"&&!Y2(e.stack)?"SlotElement":"RegularElement",a=s==="RegularElement"?{type:s,start:t,end:-1,name:i.name,name_loc:i.loc,attributes:[],fragment:Ze(!0),metadata:{svg:!1,mathml:!1,scoped:!1,has_spread:!1,path:[],synthetic_value_node:null}}:{type:s,start:t,end:-1,name:i.name,name_loc:i.loc,attributes:[],fragment:Ze(!0),metadata:{}};if(e.allow_whitespace(),r.type==="RegularElement"&&B0(r.name,i.name)){let g=r.fragment.nodes[0]?.start??t;lf({start:r.start,end:g},`<${i.name}>`,`</${r.name}>`),r.end=t,e.pop(),e.last_auto_closed_tag={tag:r.name,reason:i.name,depth:e.stack.length}}let n=[],u=e.current(),p=(i.name==="script"||i.name==="style")&&u.type==="Root",d=p?J2:Q2,f;for(;f=d(e);){if(f.type==="Attribute"||f.type==="BindDirective"||f.type==="StyleDirective"||f.type==="ClassDirective"){let g=f.type==="BindDirective"?"Attribute":f.type;n.includes(g+f.name)?Ky(f):f.name!=="this"&&n.push(g+f.name)}a.attributes.push(f),e.allow_whitespace()}if(a.type==="Component"&&(a.metadata.expression=new $e),a.type==="SvelteComponent"){let g=a.attributes.findIndex(S=>S.type==="Attribute"&&S.name==="this");g===-1&&Jg(t);let E=a.attributes.splice(g,1)[0];Ar(E)||Yg(E.start),a.expression=Lt(E),a.metadata.expression=new $e}if(a.type==="SvelteElement"){let g=a.attributes.findIndex(S=>S.type==="Attribute"&&S.name==="this");g===-1&&Gf(t);let E=a.attributes.splice(g,1)[0];if(E.value===!0&&Gf(E),Ar(E))a.tag=Lt(E);else{Vb(E);let S=E.value[0];a.tag=S.type==="Text"?{type:"Literal",value:S.data,raw:`'${S.raw}'`,start:S.start,end:S.end}:S.expression}a.metadata.expression=new $e}if(p){e.eat(">",!0);let g=null;for(let E=u.fragment.nodes.length-1;E>=0;E--){let S=u.fragment.nodes[E];if(E===u.fragment.nodes.length-1&&S.end!==t)break;if(S.type==="Comment"){g=S;break}else if(S.type!=="Text"||S.data.trim())break}if(i.name==="script"){let E=A0(e,t,a.attributes);g&&(E.content.leadingComments=[{type:"Line",value:g.data}]),E.context==="module"?(u.module&&Vf(t),u.module=E):(u.instance&&Vf(t),u.instance=E)}else{let E=im(e,t,a.attributes);E.content.comment=g,u.css&&Gg(t),u.css=E}return}e.append(a);let h=e.eat("/")||Vt(i.name),_=e.eat(">",!0,!1);if(!_){let g=a.attributes.at(-1);if(g?.type==="Attribute"&&g.name==="<")e.index=g.start,a.attributes.pop();else{let E=e.template[e.index-1],S=e.template[e.index-2],o=e.template[e.index];S==="{"&&E==="/"?e.index-=2:E==="{"&&(o==="#"||o==="@"||o===":")?e.index-=1:e.allow_whitespace()}}if(h||!_)a.end=e.index;else if(i.name==="textarea")a.fragment.nodes=G0(e,()=>(om.lastIndex=e.index,om.test(e.template)),"inside <textarea>"),e.read(om),a.end=e.index;else if(i.name==="script"||i.name==="style"){let g=e.index,E=`</${i.name}>`,S=e.template.indexOf(E,e.index),o=e.template.slice(e.index,S===-1?e.template.length:S);e.index=S===-1?e.template.length:S;let l=e.index,y={start:g,end:l,type:"Text",data:o,raw:o};a.fragment.nodes.push(y),e.eat(`</${i.name}>`,!0),a.end=e.index}else e.stack.push(a),e.fragments.push(a.fragment)}function X2(e){let t=e.length;for(;t--;){let{type:r}=e[t];if(r==="SvelteHead")return!0;if(r==="RegularElement"||r==="Component")return!1}return!1}function Y2(e){let t=e.length;for(;t--;)if(e[t].type==="RegularElement"&&e[t].attributes.some(r=>r.type==="Attribute"&&r.name==="shadowrootmode"))return!0;return!1}function J2(e){let t=e.index,r=cm(e,U0);if(!r.name)return null;let i=!0;if(e.eat("=")){e.allow_whitespace();let s=e.match_regex(z2);s||jf(e.index),e.index+=s.length;let a=s[0]==='"'||s[0]==="'";a&&(s=s.slice(1,-1)),i=[{start:e.index-s.length-(a?1:0),end:a?e.index-1:e.index,type:"Text",raw:s,data:Zs(s,!0)}]}return e.match_regex(H0)&&qt(e.index,"="),Xt(r.name,r.loc,t,e.index,i)}function Q2(e){let t=null;for(;t=Z2(e);)e.root.comments.push(t),e.allow_whitespace();let r=e.index;if(e.eat("{")){if(e.allow_whitespace(),e.eat("@attach")){e.require_whitespace();let p=st(e);return e.allow_whitespace(),e.eat("}",!0),{type:"AttachTag",start:r,end:e.index,expression:p,metadata:{expression:new $e}}}if(e.eat("...")){let p=st(e);return e.allow_whitespace(),e.eat("}",!0),{type:"SpreadAttribute",start:r,end:e.index,expression:p,metadata:{expression:new $e}}}else{let p=e.read_identifier();if(p.name===""){if(e.loose&&(e.match("#")||e.match("/")||e.match("@")||e.match(":")))return null;e.loose&&e.match("}")||Xy(r)}e.allow_whitespace(),e.eat("}",!0);let d={type:"ExpressionTag",start:p.start,end:p.end,expression:p,metadata:{expression:new $e}};return Xt(p.name,p.loc,r,e.index,d)}}let i=cm(e,U0);if(!i.name)return null;let s=e.index;e.allow_whitespace();let a=i.name.indexOf(":"),n=a!==-1&&e$(i.name.slice(0,a)),u=!0;if(e.eat("="))if(e.allow_whitespace(),e.template[e.index]==="/"&&e.template[e.index+1]===">"){let p=e.index;e.index++,u=[{start:p,end:p+1,type:"Text",raw:"/",data:"/"}],s=e.index}else u=t$(e),s=e.index;else e.match_regex(H0)&&qt(e.index,"=");if(n){let[p,...d]=i.name.slice(a+1).split("|");if(p===""&&bg({start:r,end:r+a+1},i.name),n==="StyleDirective")return{start:r,end:s,type:n,name:p,name_loc:i.loc,modifiers:d,value:u,metadata:{expression:new $e}};let f=u===!0?void 0:Array.isArray(u)?u[0]:u,h=null;f&&(u.length>1||f.type==="Text"?_g(f.start):h=f.expression);let _={start:r,end:s,type:n,name:p,name_loc:i.loc,expression:h,metadata:{expression:new $e}};if(_.modifiers=d,_.type==="TransitionDirective"){let g=i.name.slice(0,a);_.intro=g==="in"||g==="transition",_.outro=g==="out"||g==="transition"}return(_.type==="BindDirective"||_.type==="ClassDirective")&&!_.expression&&(_.expression={start:r+a+1,end:s,type:"Identifier",name:_.name}),_}return Xt(i.name,i.loc,r,s,u)}function Z2(e){let t=e.index;if(e.eat("//")){let r=e.read_until(/\n/),i=e.index;return{type:"Line",start:t,end:i,value:r,loc:{start:Te(t),end:Te(i)}}}if(e.eat("/*")){let r=e.read_until(/\*\//);e.eat("*/");let i=e.index;return{type:"Block",start:t,end:i,value:r,loc:{start:Te(t),end:Te(i)}}}return null}function e$(e){return e==="use"?"UseDirective":e==="animate"?"AnimateDirective":e==="bind"?"BindDirective":e==="class"?"ClassDirective":e==="style"?"StyleDirective":e==="on"?"OnDirective":e==="let"?"LetDirective":e==="in"||e==="out"||e==="transition"?"TransitionDirective":!1}function t$(e){let t=e.eat("'")?"'":e.eat('"')?'"':null;if(t&&e.eat(t))return[{start:e.index-1,end:e.index-1,type:"Text",raw:"",data:""}];let r;try{r=G0(e,()=>t?e.match(t):!!e.match_regex(U2),"in attribute value")}catch(i){if(i.code==="js_parse_error"){let s=i.position?.[0];s!==void 0&&e.template.slice(s-1,s+1)==="/>"&&(e.index=s,qt(s,t||"}"))}throw i}return r.length===0&&!t&&jf(e.index),t&&(e.index+=1),t||r.length>1||r[0].type==="Text"?r:r[0]}function G0(e,t,r){let i={start:e.index,end:-1,type:"Text",raw:"",data:""},s=[];function a(n){n>i.start&&(i.raw=e.template.slice(i.start,n),i.data=Zs(i.raw,!0),i.end=n,s.push(i))}for(;e.index<e.template.length;){let n=e.index;if(t())return a(e.index),s;if(e.eat("{")){if(e.match("#")){let d=e.index-1;e.eat("#");let f=e.read_until(/[^a-z]/);og(d,f,r)}else if(e.match("@")){let d=e.index-1;e.eat("@");let f=e.read_until(/[^a-z]/);d0(d,f,r)}a(e.index-1),e.allow_whitespace();let u=st(e);e.allow_whitespace(),e.eat("}",!0);let p={type:"ExpressionTag",start:n,end:e.index,expression:u,metadata:{expression:new $e}};s.push(p),i={start:e.index,end:-1,type:"Text",raw:"",data:""}}else e.index++}if(e.loose)return s;_t(e.template.length)}function cm(e,t){let r=e.index,i=e.read_until(t),s=e.index;return{type:"Identifier",name:i,start:r,end:s,loc:{start:Te(r),end:Te(s)}}}function Yt(e){let t=e.index,r=e.index,i=e.read_identifier();if(i.name!==""){let d=W0(e);return{...i,typeAnnotation:d}}let s=e.template[r];s!=="{"&&s!=="["&&Sg(r),r=Ys(e,t),e.index=r;let a=e.template.slice(t,r),n=e.template.slice(0,t).replace(Pa," "),u=n.indexOf(" ");n=n.slice(0,u)+n.slice(u+1);let p=as(Xr(e,`${n}(${a} = 1)`,t-1));return p=p.left,p.typeAnnotation=W0(e),p.typeAnnotation&&(p.end=p.typeAnnotation.end),p}function W0(e){let t=e.index;if(e.allow_whitespace(),!e.eat(":")){e.index=t;return}let r="_ as ",i=e.index-r.length,s=e.template.slice(0,i).replace(/[^\n]/g," ")+r+e.template.slice(e.index).replace(/\?\s*:/g,":"),a=as(Xr(e,s,i));if(a.type==="AssignmentExpression"){let n=a.right.start;for(;s[n]!=="=";)n-=1;a=as(Xr(e,s.slice(0,n),i))}return a.type==="SequenceExpression"&&(a=a.expressions[0]),e.index=a.end,{type:"TSTypeAnnotation",start:t,end:e.index,typeAnnotation:a.typeAnnotation}}var pm=/\s*}/y,r$=/(?:let|const)\b/y,i$=/(?:var|interface|enum)\b/y,s$=/type\b/y,a$={"<":">"};function fm(e){let t=e.index;if(e.index+=1,e.allow_whitespace(),e.eat("#"))return o$(e);if(e.eat(":"))return l$(e);if(e.eat("@"))return u$(e);if(e.match("/")&&!e.match("/*")&&!e.match("//"))return e.eat("/"),dm(e);let r=n$(e);if(r){e.append({type:"DeclarationTag",start:t,end:e.index,declaration:r,metadata:{expression:new $e}});return}let i=st(e);e.allow_whitespace(),e.eat("}",!0),e.append({type:"ExpressionTag",start:t,end:e.index,expression:i,metadata:{expression:new $e}})}function n$(e){let t=e.index,r=e.match_regex(i$);if(r&&un({start:t,end:t+r.length}),!e.match_regex(r$)&&!e.match_regex(s$))return null;let i=e.root.comments.length,s;try{s=x0(e,e.template,t)}catch(a){if(!e.loose)throw a;let n=_n(e.template,t,"{");if(n===void 0)throw a;e.index=n,s={type:"VariableDeclaration",kind:e.template.startsWith("const",t)?"const":"let",declarations:[{type:"VariableDeclarator",id:{type:"Identifier",name:"",start:e.index,end:e.index},init:null,start:e.index,end:e.index}],start:t,end:n}}if(s.type!=="VariableDeclaration"){if(s.type==="ExpressionStatement")return e.root.comments.length=i,null;un({start:s.start??t,end:s.end??e.index})}return s.kind!=="let"&&s.kind!=="const"&&un(s),e.index=s.end,e.allow_whitespace(),e.eat("}",!0),s}function o$(e){let t=e.index-2;for(;e.template[t]!=="{";)t-=1;if(e.eat("if")){e.require_whitespace();let r=e.append({type:"IfBlock",elseif:!1,start:t,end:-1,test:st(e),consequent:Ze(),alternate:null,metadata:{expression:new $e}});e.allow_whitespace(),e.eat("}",!0),e.stack.push(r),e.fragments.push(r.consequent);return}if(e.eat("each")){e.require_whitespace();let r=e.template,i=e.template.length,s;for(;!s;)try{s=st(e,void 0,!0)}catch(f){for(i=f.position[0]-2;i>t&&e.template.slice(i,i+2)!=="as";)i-=1;if(i<=t){if(e.loose&&(s=em(e),s))break;throw f}e.template=r.slice(0,i)}if(e.template=r,e.allow_whitespace(),!e.match("as")){s.type==="SequenceExpression"&&(s=s.expressions[0]);let f=null,h=s.end;if(s=oe(s,null,{TSAsExpression(_,g){if(_.end===s.end)return f=_,h=_.expression.end,_.expression;g.next()}}),s.end=h,f){let _=f.typeAnnotation.start-2;for(;e.template.slice(_,_+2)!=="as";)_-=1;e.index=_}}let a=null,n,u;if(e.eat("as")?(e.require_whitespace(),a=Yt(e)):e.index=s.end,e.allow_whitespace(),e.eat(",")&&(e.allow_whitespace(),n=e.read_identifier().name,n||Ff(e.index),e.allow_whitespace()),e.eat("(")&&(e.allow_whitespace(),u=st(e,"("),e.allow_whitespace(),e.eat(")",!0),e.allow_whitespace()),!e.eat("}",!0,!1))if(e.template.slice(e.index-4,e.index)===" as "){let f=e.index;a=Yt(e),e.eat("}",!0),s={type:"Identifier",name:"",start:s.start,end:f-4}}else e.eat("}",!0);let d=e.append({type:"EachBlock",start:t,end:-1,expression:s,body:Ze(),context:a,index:n,key:u,metadata:null});e.stack.push(d),e.fragments.push(d.body);return}if(e.eat("await")){e.require_whitespace();let r=st(e);e.allow_whitespace();let i=e.append({type:"AwaitBlock",start:t,end:-1,expression:r,value:null,error:null,pending:null,then:null,catch:null,metadata:{expression:new $e}});if(e.eat("then")?(e.match_regex(pm)||(e.require_whitespace(),i.value=Yt(e)),e.allow_whitespace(),i.then=Ze(),e.fragments.push(i.then)):e.eat("catch")?(e.match_regex(pm)||(e.require_whitespace(),i.error=Yt(e)),e.allow_whitespace(),i.catch=Ze(),e.fragments.push(i.catch)):(i.pending=Ze(),e.fragments.push(i.pending)),!e.eat("}",!0,!1))if(e.template.slice(e.index-6,e.index)===" then "){let a=e.index;i.value=Yt(e),e.eat("}",!0),i.expression={type:"Identifier",name:"",start:r.start,end:a-6},i.then=i.pending,i.pending=null}else if(e.template.slice(e.index-7,e.index)===" catch "){let a=e.index;i.error=Yt(e),e.eat("}",!0),i.expression={type:"Identifier",name:"",start:r.start,end:a-7},i.catch=i.pending,i.pending=null}else e.eat("}",!0);e.stack.push(i);return}if(e.eat("key")){e.require_whitespace();let r=st(e);e.allow_whitespace(),e.eat("}",!0);let i=e.append({type:"KeyBlock",start:t,end:-1,expression:r,fragment:Ze(),metadata:{expression:new $e}});e.stack.push(i),e.fragments.push(i.fragment);return}if(e.eat("snippet")){e.require_whitespace();let r=e.read_identifier();r.name===""&&!e.loose&&Ff(e.index),e.allow_whitespace();let i=e.index,s;if(e.ts&&e.match("<")){let f=e.index,h=Ys(e,f,a$);s=e.template.slice(f+1,h-1),e.index=h}e.allow_whitespace();let a=e.eat("(",!0,!1);if(a){let f=1;for(;e.index<e.template.length&&(!e.match(")")||f!==1);)e.match("(")&&f++,e.match(")")&&f--,e.index+=1;e.eat(")",!0)}let n=e.template.slice(0,i).replace(/\S/g," "),u=e.template.slice(i,e.index),p=a?Xr(e,n+`${u} => {}`,i):{params:[]};e.allow_whitespace(),e.eat("}",!0);let d=e.append({type:"SnippetBlock",start:t,end:-1,expression:r,typeParams:s,parameters:p.params,body:Ze(),metadata:{can_hoist:!1,sites:new Set}});e.stack.push(d),e.fragments.push(d.body);return}Cg(e.index)}function l$(e){let t=e.index-1,r=e.current();if(r.type==="IfBlock"){if(e.eat("else")||qt(t,"{:else} or {:else if}"),e.eat("if")&&ng(t),e.allow_whitespace(),e.fragments.pop(),r.alternate=Ze(),e.fragments.push(r.alternate),e.eat("if")){e.require_whitespace();let i=st(e);e.allow_whitespace(),e.eat("}",!0);let s=t-1;for(;e.template[s]!=="{";)s-=1;let a=e.append({start:s,end:-1,type:"IfBlock",elseif:!0,test:i,consequent:Ze(),alternate:null,metadata:{expression:new $e}});e.stack.push(a),e.fragments.pop(),e.fragments.push(a.consequent)}else e.allow_whitespace(),e.eat("}",!0);return}if(r.type==="EachBlock"){e.eat("else")||qt(t,"{:else}"),e.allow_whitespace(),e.eat("}",!0),r.fallback=Ze(),e.fragments.pop(),e.fragments.push(r.fallback);return}if(r.type==="AwaitBlock"){if(e.eat("then")){r.then&&Df(t,"{:then}"),e.eat("}")||(e.require_whitespace(),r.value=Yt(e),e.allow_whitespace(),e.eat("}",!0)),r.then=Ze(),e.fragments.pop(),e.fragments.push(r.then);return}if(e.eat("catch")){r.catch&&Df(t,"{:catch}"),e.eat("}")||(e.require_whitespace(),r.error=Yt(e),e.allow_whitespace(),e.eat("}",!0)),r.catch=Ze(),e.fragments.pop(),e.fragments.push(r.catch);return}qt(t,"{:then ...} or {:catch ...}")}ag(t)}function dm(e){let t=e.index-1,r=e.current(),i;switch(r.type){case"IfBlock":if(i=e.eat("if",!0,!1),!i){r.end=t-1,e.pop(),dm(e);return}for(e.allow_whitespace(),e.eat("}",!0);r.elseif;)r.end=e.index,e.stack.pop(),r=e.current();r.end=e.index,e.pop();return;case"EachBlock":i=e.eat("each",!0,!1);break;case"KeyBlock":i=e.eat("key",!0,!1);break;case"AwaitBlock":i=e.eat("await",!0,!1);break;case"SnippetBlock":i=e.eat("snippet",!0,!1);break;case"RegularElement":e.loose?i=!1:Bf(t);break;default:Bf(t)}if(!i){r.end=t-1,e.pop(),dm(e);return}e.allow_whitespace(),e.eat("}",!0),r.end=e.index,e.pop()}function u$(e){let t=e.index;for(;e.template[t]!=="{";)t-=1;if(e.eat("html")){e.require_whitespace();let r=st(e);e.allow_whitespace(),e.eat("}",!0),e.append({type:"HtmlTag",start:t,end:e.index,expression:r,metadata:{expression:new $e}});return}if(e.eat("debug")){let r;if(e.read(pm))r=[];else{let i=st(e);r=i.type==="SequenceExpression"?i.expressions:[i],r.forEach(s=>{s.type!=="Identifier"&&mg(s.start)}),e.allow_whitespace(),e.eat("}",!0)}e.append({type:"DebugTag",start:t,end:e.index,identifiers:r});return}if(e.eat("const")){e.require_whitespace();let r=Yt(e);e.allow_whitespace(),e.eat("=",!0),e.allow_whitespace();let i=e.index,s=st(e),a=e.index;s.type==="SequenceExpression"&&!e.template.substring(i,s.start).includes("(")&&pg(s),e.allow_whitespace(),e.eat("}",!0),e.append({type:"ConstTag",start:t,end:e.index,declaration:{type:"VariableDeclaration",kind:"const",declarations:[{type:"VariableDeclarator",id:r,init:s,start:r.start,end:a}],start:t+2,end:e.index-1},metadata:{expression:new $e}});return}if(e.eat("render")){e.require_whitespace();let r=st(e);r.type!=="CallExpression"&&(r.type!=="ChainExpression"||r.expression.type!=="CallExpression")&&Ig(r),e.allow_whitespace(),e.eat("}",!0),e.append({type:"RenderTag",start:t,end:e.index,expression:r,metadata:{expression:new $e,dynamic:!1,arguments:[],path:[],snippets:new Set}});return}Eg(e.index)}function mm(e){let t=e.index;for(;e.index<e.template.length&&!e.match("<")&&!e.match("{");)e.index++;let r=e.template.slice(t,e.index);e.append({type:"Text",start:t,end:e.index,raw:r,data:Zs(r,!1)})}function ea(e){return e.match("<")?um:e.match("{")?fm:mm}function hm(e){let t={start:e.start,end:e.end,attributes:e.attributes};if(!e)return t;for(let r of e.attributes){r.type!=="Attribute"&&n0(r);let{name:i}=r;switch(i){case"runes":{t.runes=Sn(r);break}case"tag":{a0(r);break}case"customElement":{let s={},{value:a}=r,n=a===!0||Array.isArray(a)?a:[a];if(n===!0)fn(r);else if(n[0].type==="Text"){let _=En(r);X0(r,_),s.tag=_,t.customElement=s;break}else if(n[0].expression.type!=="ObjectExpression"){if(n[0].expression.type==="Literal"&&n[0].expression.value===null)break;fn(r)}let u=[];for(let _ of n[0].expression.properties)(_.type!=="Property"||_.computed||_.key.type!=="Identifier")&&fn(r),u.push([_.key.name,_.value]);let p=u.find(([_])=>_==="tag");if(p){let _=p[1]?.value;X0(p,_),s.tag=_}let d=u.find(([_])=>_==="props")?.[1];if(d){d.type!=="ObjectExpression"&&Kr(r),s.props={};for(let _ of d.properties){(_.type!=="Property"||_.computed||_.key.type!=="Identifier"||_.value.type!=="ObjectExpression")&&Kr(r),s.props[_.key.name]={};for(let g of _.value.properties)(g.type!=="Property"||g.computed||g.key.type!=="Identifier"||g.value.type!=="Literal")&&Kr(r),g.key.name==="type"?(["String","Number","Boolean","Array","Object"].indexOf(g.value.value)===-1&&Kr(r),s.props[_.key.name].type=g.value.value):g.key.name==="reflect"?(typeof g.value.value!="boolean"&&Kr(r),s.props[_.key.name].reflect=g.value.value):g.key.name==="attribute"?(typeof g.value.value!="string"&&Kr(r),s.props[_.key.name].attribute=g.value.value):Kr(r)}}let f=u.find(([_])=>_==="shadow")?.[1];f&&(f.type==="Literal"&&(f.value==="open"||f.value==="none")?s.shadow=f.value:f.type==="ObjectExpression"?s.shadow=f:o0(r));let h=u.find(([_])=>_==="extend")?.[1];h&&(s.extend=h),t.customElement=s;break}case"namespace":{let s=En(r);s===Ra?t.namespace="svg":s===$a?t.namespace="mathml":s==="html"||s==="mathml"||s==="svg"?t.namespace=s:dn(r,'"html", "mathml" or "svg"');break}case"css":{let s=En(r);s==="injected"?t.css=s:dn(r,'"injected"');break}case"immutable":{t.immutable=Sn(r);break}case"preserveWhitespace":{t.preserveWhitespace=Sn(r);break}case"accessors":{t.accessors=Sn(r);break}default:u0(r,i)}}return t}function En(e){let{value:t}=e;if(t===!0)return!0;let r=Array.isArray(t)?t[0]:t;return r?t.length>1?null:r.type==="Text"?r.data:r.expression.type!=="Literal"?null:r.expression.value:!0}function Sn(e){let t=En(e);return typeof t!="boolean"&&dn(e,"true or false"),t}var K0="[a-z0-9_.\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u{10000}-\u{EFFFF}-]",c$=new RegExp(`^[a-z]${K0}*-${K0}*$`,"u"),p$=["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"];function X0(e,t){typeof t!="string"&&Wf(e),t&&(c$.test(t)?p$.includes(t)&&l0(e):Wf(e))}function ri(e){let{nodes:t}=e.fragment;if(t.length>0){let r=t[0],i=t[t.length-1];r0({start:r.start,end:i.end},e.name)}}function Y0(e){return e===32||e<=13&&e>=9?!0:e<160?!1:e===160||e===5760||e>=8192&&e<=8202||e===8232||e===8233||e===8239||e===8287||e===12288||e===65279}var J0=/<!--[^]*?-->|<script\s+(?:[^>]*|(?:[^=>'"/]+=(?:"[^"]*"|'[^']*'|[^>\s]+)\s+)*)lang=(["'])?([^"' >]+)\1[^>]*>/g,Tn=class e{template;loose;index=0;css_comments=[];static forCss(t){let r=Object.create(e.prototype);return r.template=t,r.index=0,r.loose=!1,r.css_comments=[],r}ts=!1;stack=[];fragments=[];root;meta_tags={};last_auto_closed_tag;constructor(t,r){if(typeof t!="string")throw new TypeError("Template must be a string");this.loose=r,this.template=t.trimEnd();let i;do i=J0.exec(t);while(i&&i[0][1]!=="s");J0.lastIndex=0,this.ts=i?.[2]==="ts",this.root={css:null,js:[],start:null,end:null,type:"Root",fragment:Ze(),options:null,comments:[],metadata:{ts:this.ts}},this.stack.push(this.root),this.fragments.push(this.root.fragment);let s=ea;for(;this.index<this.template.length;)s=s(this)||ea;if(this.stack.length>1){let n=this.current();this.loose?n.end=this.template.length:n.type==="RegularElement"?(n.end=n.start+1,cn(n,n.name)):(n.end=n.start+1,lg(n))}s!==ea&&_t(this.index),this.root.start=0,this.root.end=t.length;let a=this.root.fragment.nodes.findIndex(n=>n.type==="SvelteOptions");if(a!==-1){let n=this.root.fragment.nodes[a];this.root.fragment.nodes.splice(a,1),this.root.options=hm(n),ri(n),Object.defineProperty(this.root.options,"__raw__",{value:n,enumerable:!1})}}current(){return this.stack[this.stack.length-1]}eat(t,r=!1,i=!0){return this.match(t)?(this.index+=t.length,!0):(r&&(!this.loose||i)&&qt(this.index,t),!1)}match(t){return t.length===1?this.template[this.index]===t:this.template.startsWith(t,this.index)}match_regex(t){t.lastIndex=this.index;let r=t.exec(this.template);return!r||r.index!==this.index?null:r[0]}allow_whitespace(){for(;this.index<this.template.length&&Y0(this.template.charCodeAt(this.index));)this.index++}read(t){let r=this.match_regex(t);return r&&(this.index+=r.length),r}read_identifier(){let t=this.index,r=t,i="",s=this.template.codePointAt(this.index);if(xt(s,!0)){let a=this.index;for(r+=s<=65535?1:2;r<this.template.length;){let n=this.template.codePointAt(r);if(!Ut(n,!0))break;r+=n<=65535?1:2}i=this.template.slice(t,r),this.index=r,Ls(i)&&v0(t,i)}return{type:"Identifier",name:i,start:t,end:r,loc:{start:Te(t),end:Te(r)}}}read_until(t){if(this.index>=this.template.length){if(this.loose)return"";_t(this.template.length)}let r=this.index,i=t.exec(this.template.slice(r));return i?(this.index=r+i.index,this.template.slice(r,this.index)):(this.index=this.template.length,this.template.slice(r))}require_whitespace(){Y0(this.template.charCodeAt(this.index))||Tg(this.index),this.allow_whitespace()}pop(){let t=this.fragments.pop();return t?.metadata.transparent&&t.nodes.some(r=>r.type==="DeclarationTag")&&(t.metadata.transparent=!1),this.stack.pop()}append(t){return this.fragments.at(-1)?.nodes.push(t),t}};function _m(e,t=!1){return Ma(e),new Tn(e,t).root}function Q0(e,t){return e.params[0]?.type==="Identifier"&&e.params[0].name==="this"&&e.params.shift(),t.next()}var d$={_(e,t){let r=t.next()??e;delete r.typeAnnotation,delete r.typeParameters,delete r.typeArguments,delete r.returnType,delete r.accessibility,delete r.readonly,delete r.definite,delete r.override,r.type!=="MemberExpression"&&r.type!=="CallExpression"&&delete r.optional},Decorator(e){ss(e,"decorators (related TSC proposal is not stage 4 yet)")},ImportDeclaration(e){if(e.importKind==="type")return me;if(e.specifiers?.length>0){let t=e.specifiers.filter(r=>r.importKind!=="type");return t.length===0?me:{...e,specifiers:t}}return e},ExportNamedDeclaration(e,t){if(e.exportKind==="type")return me;if(e.declaration){let r=t.next();return r?.declaration?.type==="EmptyStatement"?me:r}if(e.specifiers){let r=e.specifiers.filter(i=>i.exportKind!=="type");return r.length===0?me:{...e,specifiers:r}}return e},ExportDefaultDeclaration(e){return e.exportKind==="type"?me:e},ExportAllDeclaration(e){return e.exportKind==="type"?me:e},PropertyDefinition(e,{next:t}){return e.accessor&&ss(e,"accessor fields (related TSC proposal is not stage 4 yet)"),t()},TSAsExpression(e,t){return t.visit(e.expression)},TSSatisfiesExpression(e,t){return t.visit(e.expression)},TSNonNullExpression(e,t){return t.visit(e.expression)},TSInterfaceDeclaration(){return me},TSTypeAliasDeclaration(){return me},TSTypeAssertion(e,t){return t.visit(e.expression)},TSEnumDeclaration(e){ss(e,"enums")},TSParameterProperty(e,t){return(e.readonly||e.accessibility)&&t.path.at(-2)?.kind==="constructor"&&ss(e,"accessibility modifiers on constructor parameters"),t.visit(e.parameter)},TSInstantiationExpression(e,t){return t.visit(e.expression)},FunctionExpression:Q0,FunctionDeclaration:Q0,TSDeclareFunction(){return me},ClassBody(e,t){let r=[];for(let i of e.body){let s=t.visit(i);(s.type!=="PropertyDefinition"||!s.declare)&&r.push(s)}return{...e,body:r}},ClassDeclaration(e,t){return e.declare?me:(delete e.abstract,delete e.implements,delete e.superTypeArguments,delete e.superTypeParameters,t.next())},ClassExpression(e,t){return delete e.implements,delete e.superTypeArguments,delete e.superTypeParameters,t.next()},MethodDefinition(e,t){return e.abstract?me:t.next()},VariableDeclaration(e,t){return e.declare?me:t.next()},TSModuleDeclaration(e,t){return e.body?(e.body.body.map(i=>t.visit(i)).some(i=>i!==me)&&ss(e,"namespaces with non-type nodes"),me):me}};function ta(e){return oe(e,null,d$)}function et(e,t){if(e.type==="MemberExpression")return!e.computed&&et(e.object,e);if(e.type!=="Identifier")return!1;switch(t?.type){case"MemberExpression":return t.computed||e===t.object;case"MethodDefinition":return t.computed;case"MetaProperty":return t.meta===e;case"PropertyDefinition":return t.computed||e===t.value;case"Property":return t.computed||e===t.value;case"ExportSpecifier":case"ImportSpecifier":return e===t.local;case"LabeledStatement":case"BreakStatement":case"ContinueStatement":return!1;default:return!0}}function Ir(e){if(!us(e))return null;for(let t of e.attributes)if(t.type==="Attribute"&&t.name==="slot"&&ve(t))return t.value[0].data;return null}function ps(e,t,r){if(bm(e,t,r.state.scope,e.type==="BindDirective"),t.type==="Identifier"){let i=r.state.scope.get(t.name);r.state.analysis.runes&&(r.state.analysis.props_id!=null&&i?.node===r.state.analysis.props_id&&Af(e,"$props.id()"),i?.kind==="each"&&sy(e)),i?.kind==="snippet"&&Ry(e)}if(t.type==="MemberExpression"&&t.object.type==="ThisExpression"){let i=t.computed&&t.property.type!=="Literal"?null:ut(t.property),s=i!==null&&r.state.state_fields?.get(i);if(s&&s.node.type==="AssignmentExpression"&&e!==s.node){let a=r.path.length;for(;a--;){let n=r.path[a];if(n.type==="FunctionDeclaration"||n.type==="FunctionExpression"||n.type==="ArrowFunctionExpression"){let u=Pr(r.path,a-1);u.type==="MethodDefinition"&&u.kind==="constructor"&&e.start<s.node.start&&rn(e);break}}}}}function bm(e,t,r,i){if(t.type==="ArrayPattern")for(let s of t.elements)s&&bm(e,s,r,i);else if(t.type==="ObjectPattern")for(let s of t.properties)s.type==="Property"&&bm(e,s.value,r,i);else if(t.type==="Identifier"){let s=r.get(t.name);if(s?.declaration_kind==="import"||s?.declaration_kind==="const"&&s.kind!=="each"){let a=s.declaration_kind==="import"?"import":"constant";i?ey(e,a):Af(e,a)}}}function tt(e,t,r){t.analysis.source[e.start+1]!==r&&Xs({start:e.start,end:e.start+5},r)}function yt(e,t){e&&e.nodes.length===1&&e.nodes[0].type==="Text"&&!e.nodes[0].raw.trim()&&Mb(e.nodes[0])}function Z0(e,t){let r=_e(e.id);for(let i of r)t.ast_type==="instance"&&t.scope===t.analysis.instance.scope&&t.analysis.module.scope.get(i.name)?.declaration_kind==="import"&&ty(e.id)}function ra(e,t){let r=e;for(;r.type==="MemberExpression";)r=r.object;if(r.type!=="Identifier")return!1;let i=t.get(r.name);return i?i.kind==="store_sub"?ra({name:r.name.slice(1),type:"Identifier"},t):i.declaration_kind!=="import"&&i.kind!=="prop"&&i.kind!=="bindable_prop"&&i.kind!=="rest_prop":!0}function qr(e,t){if(e.type==="Literal")return!0;if(e.type==="CallExpression"){if(!qr(e.callee,t))return!1;for(let i of e.arguments)if(!qr(i.type==="SpreadElement"?i.argument:i,t))return!1;return!0}if(e.type!=="Identifier"&&e.type!=="MemberExpression"||ye(v(e),t.state.scope)==="$effect.tracking")return!1;let r=e;for(;r.type==="MemberExpression";)r=r.object;if(!r)return!1;if(r.type==="Identifier"){if(t.state.scope.get(r.name)===null)return!0}else if(qr(r,t))return!0;return!1}function ii(e,t){if(!e)return;let r=e.declaration_kind;if(r!=="synthetic"&&r!=="param"&&r!=="rest_param"&&(!t||t<=1)){let i=e.node;i.name==="$"?ry(i):i.name.startsWith("$")&&!(e.initial?.type==="ImportDeclaration"&&e.initial.importKind==="type")&&iy(i)}}function An(e,t,r){let i=t.get(r);i&&(i.kind==="derived"&&Za(e),(i.kind==="state"||i.kind==="raw_state")&&i.reassigned&&sn(e))}function si(e,t){let r=Lt(e);r.type==="Identifier"&&r.name===e.name&&!t.state.scope.get(r.name)&&Pb(e,e.name)}var Jt=Symbol("unknown"),pe=Symbol("number"),dr=Symbol("string"),ex=Symbol("string"),tx={BigInt:[pe],"Math.min":[pe,Math.min],"Math.max":[pe,Math.max],"Math.random":[pe],"Math.floor":[pe,Math.floor],"Math.f16round":[pe,Math.f16round],"Math.round":[pe,Math.round],"Math.abs":[pe,Math.abs],"Math.acos":[pe,Math.acos],"Math.asin":[pe,Math.asin],"Math.atan":[pe,Math.atan],"Math.atan2":[pe,Math.atan2],"Math.ceil":[pe,Math.ceil],"Math.cos":[pe,Math.cos],"Math.sin":[pe,Math.sin],"Math.tan":[pe,Math.tan],"Math.exp":[pe,Math.exp],"Math.log":[pe,Math.log],"Math.pow":[pe,Math.pow],"Math.sqrt":[pe,Math.sqrt],"Math.clz32":[pe,Math.clz32],"Math.imul":[pe,Math.imul],"Math.sign":[pe,Math.sign],"Math.log10":[pe,Math.log10],"Math.log2":[pe,Math.log2],"Math.log1p":[pe,Math.log1p],"Math.expm1":[pe,Math.expm1],"Math.cosh":[pe,Math.cosh],"Math.sinh":[pe,Math.sinh],"Math.tanh":[pe,Math.tanh],"Math.acosh":[pe,Math.acosh],"Math.asinh":[pe,Math.asinh],"Math.atanh":[pe,Math.atanh],"Math.trunc":[pe,Math.trunc],"Math.fround":[pe,Math.fround],"Math.cbrt":[pe,Math.cbrt],Number:[pe,Number],"Number.isInteger":[pe,Number.isInteger],"Number.isFinite":[pe,Number.isFinite],"Number.isNaN":[pe,Number.isNaN],"Number.isSafeInteger":[pe,Number.isSafeInteger],"Number.parseFloat":[pe,Number.parseFloat],"Number.parseInt":[pe,Number.parseInt],String:[dr,String],"String.fromCharCode":[dr,String.fromCharCode],"String.fromCodePoint":[dr,String.fromCodePoint]},rx={"Math.PI":Math.PI,"Math.E":Math.E,"Math.LN10":Math.LN10,"Math.LN2":Math.LN2,"Math.LOG10E":Math.LOG10E,"Math.LOG2E":Math.LOG2E,"Math.SQRT2":Math.SQRT2,"Math.SQRT1_2":Math.SQRT1_2},vm=class{scope;node;kind;declaration_kind;initial=null;references=[];assignments=[];legacy_dependencies=[];legacy_indirect_bindings=new Set;prop_alias=null;metadata=null;mutated=!1;reassigned=!1;blocker=null;constructor(t,r,i,s,a){this.scope=t,this.node=r,this.initial=a,this.kind=i,this.declaration_kind=s,a&&this.assignments.push({value:a,scope:t})}get updated(){return this.mutated||this.reassigned}is_function(){if(this.updated)return!1;let t=this.initial?.type;return t==="ArrowFunctionExpression"||t==="FunctionExpression"||t==="FunctionDeclaration"}},ym=class{values;is_known=!0;has_unknown=!1;is_defined=!0;is_string=!0;is_number=!0;is_primitive=!0;is_function=!0;value=void 0;constructor(t,r,i){switch(xm.set(r,this),this.values=i,r.type){case"Literal":{this.values.add(r.value);break}case"Identifier":{let s=t.get(r.name);if(s){if(s.initial?.type==="CallExpression"&&ye(s.initial,t)==="$props.id"){this.values.add(dr);break}let a=s.kind==="prop"||s.kind==="rest_prop"||s.kind==="bindable_prop";if(s.initial?.type==="EachBlock"&&s.initial.index===r.name){this.values.add(pe);break}if(s.initial?.type==="SnippetBlock"){this.is_defined=!0,this.is_known=!1,this.values.add(Jt);break}if(!s.updated&&s.initial!==null&&!a){s.scope.evaluate(s.initial,this.values);break}}else if(r.name==="undefined"){this.values.add(void 0);break}this.values.add(Jt);break}case"BinaryExpression":{let s=t.evaluate(r.left),a=t.evaluate(r.right);if(s.is_known&&a.is_known){this.values.add(f$[r.operator](s.value,a.value));break}switch(r.operator){case"!=":case"!==":case"<":case"<=":case">":case">=":case"==":case"===":case"in":case"instanceof":this.values.add(!0),this.values.add(!1);break;case"%":case"&":case"*":case"**":case"-":case"/":case"<<":case">>":case">>>":case"^":case"|":this.values.add(pe);break;case"+":s.is_string||a.is_string?this.values.add(dr):s.is_number&&a.is_number?this.values.add(pe):(this.values.add(dr),this.values.add(pe));break;default:this.values.add(Jt)}break}case"ConditionalExpression":{let s=t.evaluate(r.test),a=t.evaluate(r.consequent),n=t.evaluate(r.alternate);if(s.is_known)for(let u of(s.value?a:n).values)this.values.add(u);else{for(let u of a.values)this.values.add(u);for(let u of n.values)this.values.add(u)}break}case"LogicalExpression":{let s=t.evaluate(r.left),a=t.evaluate(r.right);if(s.is_known){if(a.is_known){this.values.add(h$[r.operator](s.value,a.value));break}if(r.operator==="&&"&&!s.value||r.operator==="||"&&s.value||r.operator==="??"&&s.value!=null)this.values.add(s.value);else for(let n of a.values)this.values.add(n);break}for(let n of s.values)this.values.add(n);for(let n of a.values)this.values.add(n);break}case"UnaryExpression":{let s=t.evaluate(r.argument);if(s.is_known){this.values.add(m$[r.operator](s.value));break}switch(r.operator){case"!":case"delete":this.values.add(!1),this.values.add(!0);break;case"+":case"-":case"~":this.values.add(pe);break;case"typeof":this.values.add(dr);break;case"void":this.values.add(void 0);break;default:this.values.add(Jt)}break}case"CallExpression":{let s=wm(r.callee,t);if(s){if(ar(s)){let a=r.arguments[0];switch(s){case"$state":case"$state.raw":case"$derived":a?t.evaluate(a,this.values):this.values.add(void 0);break;case"$props.id":this.values.add(dr);break;case"$effect.tracking":this.values.add(!1),this.values.add(!0);break;case"$derived.by":if(a?.type==="ArrowFunctionExpression"&&a.body.type!=="BlockStatement"){t.evaluate(a.body,this.values);break}this.values.add(Jt);break;default:this.values.add(Jt)}break}if(Object.hasOwn(tx,s)&&r.arguments.every(a=>a.type!=="SpreadElement")){let[a,n]=tx[s],u=r.arguments.map(p=>t.evaluate(p));n&&u.every(p=>p.is_known)?this.values.add(n(...u.map(p=>p.value))):this.values.add(a);break}}this.values.add(Jt);break}case"TemplateLiteral":{let s=r.quasis[0].value.cooked;for(let a=0;a<r.expressions.length;a+=1){let n=t.evaluate(r.expressions[a]);if(n.is_known)s+=n.value+r.quasis[a+1].value.cooked;else{this.values.add(dr);break}}this.values.add(s);break}case"MemberExpression":{let s=wm(r,t);if(s&&Object.hasOwn(rx,s)){this.values.add(rx[s]);break}this.values.add(Jt);break}case"ArrowFunctionExpression":case"FunctionExpression":case"FunctionDeclaration":{this.values.add(ex);break}default:this.values.add(Jt)}for(let s of this.values)this.value=s,s!==dr&&typeof s!="string"&&(this.is_string=!1),s!==pe&&typeof s!="number"&&(this.is_number=!1),s!==ex&&(this.is_function=!1),(s==null||s===Jt)&&(this.is_defined=!1),s===Jt&&(this.has_unknown=!0,this.is_primitive=!1);(this.values.size>1||typeof this.value=="symbol")&&(this.is_known=!1),xm.delete(r)}},gm=class e{root;parent;#e;declarations=new Map;declarators=new Map;references=new Map;function_depth=0;tracing=null;constructor(t,r,i){this.root=t,this.parent=r,this.#e=i,this.function_depth=r?r.function_depth+(i?0:1):0}declare(t,r,i,s=null){if(this.parent){if(i==="var"&&this.#e)return this.parent.declare(t,r,i);if(i==="import")return this.parent.declare(t,r,i,s)}if(this.declarations.has(t.name)){let n=this.declarations.get(t.name);n&&n.declaration_kind!=="var"&&i!=="var"&&is(t,t.name)}let a=new vm(this,t,r,i,s);return ii(a,this.function_depth),this.declarations.set(t.name,a),this.root.conflicts.add(t.name),a}child(t=!1){return new e(this.root,this,t)}generate(t){if(this.#e)return this.parent.generate(t);t=t.replace(/[^a-zA-Z0-9_$]/g,"_").replace(/^[0-9]/,"_");let r=this.root.next_counter(t),i;for(r===0?(i=t,r=1):(i=`${t}_${r}`,r++);this.references.has(i)||this.declarations.has(i)||this.root.conflicts.has(i)||Ls(i);)i=`${t}_${r++}`;return this.root.set_counter(t,r),this.references.set(i,[]),this.root.conflicts.add(i),i}get(t){return this.declarations.get(t)??this.parent?.get(t)??null}get_bindings(t){let r=this.declarators.get(t);if(!r)throw new Error("No binding found for declarator");return r}owner(t){return this.declarations.has(t)?this:this.parent&&this.parent.owner(t)}reference(t,r){r=[...r];let i=this.references.get(t.name);i||this.references.set(t.name,i=[]),i.push({node:t,path:r});let s=this.declarations.get(t.name);s?s.references.push({node:t,path:r}):this.parent?this.parent.reference(t,r):this.root.conflicts.add(t.name)}evaluate(t,r=new Set){let i=xm.get(t);return i||new ym(this,t,r)}},xm=new Map,f$={"!=":(e,t)=>e!=t,"!==":(e,t)=>e!==t,"<":(e,t)=>e<t,"<=":(e,t)=>e<=t,">":(e,t)=>e>t,">=":(e,t)=>e>=t,"==":(e,t)=>e==t,"===":(e,t)=>e===t,in:(e,t)=>e in t,instanceof:(e,t)=>e instanceof t,"%":(e,t)=>e%t,"&":(e,t)=>e&t,"*":(e,t)=>e*t,"**":(e,t)=>e**t,"+":(e,t)=>e+t,"-":(e,t)=>e-t,"/":(e,t)=>e/t,"<<":(e,t)=>e<<t,">>":(e,t)=>e>>t,">>>":(e,t)=>e>>>t,"^":(e,t)=>e^t,"|":(e,t)=>e|t},m$={"-":e=>-e,"+":e=>+e,"!":e=>!e,"~":e=>~e,typeof:e=>typeof e,void:()=>{},delete:()=>!0},h$={"||":(e,t)=>e||t,"&&":(e,t)=>e&&t,"??":(e,t)=>e??t},Pn=class{conflicts=new Set;#e=new Map;next_counter(t){return this.#e.get(t)??0}set_counter(t,r){this.#e.set(t,r)}unique(t){t=t.replace(/[^a-zA-Z0-9_$]/g,"_");let r=this.#e.get(t)??0,i;for(r===0?(i=t,r=1):(i=`${t}_${r}`,r++);this.conflicts.has(i);)i=`${t}_${r++}`;return this.#e.set(t,r),this.conflicts.add(i),w(i)}};function km(e,t,r,i){let s=new Map,a=new gm(t,i,!1);s.set(e,a);let n={scope:a},u=[],p=[],d=[];function f(o,l){for(let y of l)for(let x of _e(y))o.declare(x,"normal",y.type==="RestElement"?"rest_param":"param")}let h=(o,{state:l,next:y})=>{let x=l.scope.child(!0);s.set(o,x),y({scope:x})},_=(o,{state:l,next:y})=>{let x=l.scope.child();s.set(o,x),y({scope:x})},g=(o,l)=>{o.metadata.scopes={default:l.state.scope.child()},o.type==="SvelteComponent"&&l.visit(o.expression);let y=Ir(o)?l.state:{scope:o.metadata.scopes.default};for(let x of o.attributes)x.type==="LetDirective"?l.visit(x,y):l.visit(x);for(let x of o.fragment.nodes){let T=y,P=Ir(x);P!==null&&(o.metadata.scopes[P]=l.state.scope.child(),T={scope:o.metadata.scopes[P]}),l.visit(x,T)}},E=(o,{state:l,path:y,visit:x})=>{l.scope.reference(w(o.name.split(".")[0]),y),o.expression&&x(o.expression)},S=!1;oe(e,n,{AwaitExpression(o,l){S||=l.path.every(({type:y})=>y!=="ArrowFunctionExpression"&&y!=="FunctionExpression"&&y!=="FunctionDeclaration"),l.next()},Identifier(o,{path:l,state:y}){let x=l.at(-1);x&&et(o,x)&&!x.type.startsWith("TS")&&u.push([y.scope,{node:o,path:l.slice()}])},LabeledStatement(o,{path:l,next:y}){if(l.length>1||!r||o.label.name!=="$")return y();let x=n.scope.child();if(s.set(o,x),o.body.type==="ExpressionStatement"&&o.body.expression.type==="AssignmentExpression")for(let T of _e(o.body.expression.left))T.name.startsWith("$")||d.push(T);y({scope:x})},SvelteFragment:_,SlotElement:_,SvelteElement:_,RegularElement:_,LetDirective(o,l){let y=l.state.scope,x=[];if(y.declarators.set(o,x),o.expression)for(let T of Qs(o.expression)){let P=y.declare(T,"template","const");y.reference(T,[l.path[l.path.length-1],o]),x.push(P)}else{let T={name:o.name,type:"Identifier",start:o.start,end:o.end},P=y.declare(T,"template","const");y.reference(T,[l.path[l.path.length-1],o]),x.push(P)}},Component:(o,l)=>{l.state.scope.reference(w(o.name.split(".")[0]),l.path),g(o,l)},SvelteSelf:g,SvelteComponent:g,AssignmentExpression(o,{state:l,next:y}){p.push([l.scope,o.left,o.right]),y()},UpdateExpression(o,{state:l,next:y}){let x=o.argument;p.push([l.scope,x,x]),y()},ImportDeclaration(o,{state:l}){for(let y of o.specifiers)l.scope.declare(y.local,"normal","import",o)},FunctionExpression(o,{state:l,next:y}){let x=l.scope.child(!0);s.set(o,x),o.id&&x.declare(o.id,"normal","function"),f(x,o.params),y({scope:x})},FunctionDeclaration(o,{state:l,next:y}){o.id&&l.scope.declare(o.id,"normal","function",o);let x=l.scope.child(!0);s.set(o,x),f(x,o.params),y({scope:x})},ArrowFunctionExpression(o,{state:l,next:y}){let x=l.scope.child(!0);s.set(o,x),f(x,o.params),y({scope:x})},ForStatement:h,ForInStatement:h,ForOfStatement:h,SwitchStatement:h,BlockStatement(o,l){let y=l.path.at(-1);if(y?.type==="FunctionDeclaration"||y?.type==="FunctionExpression"||y?.type==="ArrowFunctionExpression"){let x=l.state.scope.child();s.set(o,x),l.next({scope:x})}else h(o,l)},ClassDeclaration(o,{state:l,next:y}){o.id&&l.scope.declare(o.id,"normal","let",o),y()},VariableDeclaration(o,{state:l,path:y,next:x}){let T=y.at(-1)?.type==="ConstTag";for(let P of o.declarations){let q=[];l.scope.declarators.set(P,q);for(let N of _e(P.id)){let F=l.scope.declare(N,T?"template":"normal",o.kind,P.init);F.metadata={is_template_declaration:!0},q.push(F)}}x()},CatchClause(o,{state:l,next:y}){if(o.param){let x=l.scope.child(!0);s.set(o,x);for(let T of _e(o.param))x.declare(T,"normal","let");y({scope:x})}else y()},EachBlock(o,{state:l,visit:y}){y(o.expression);let x=l.scope.child();if(s.set(o,x),o.context){for(let T of _e(o.context)){let P=x.declare(T,"each","const"),q=!1,N=!1;oe(o.context,null,{Identifier(F){q&&F===T&&(N=!0)},RestElement(F,{next:ne}){let c=q;q=!0,ne(),q=c}}),P.metadata={inside_rest:N}}y(o.context,{scope:x})}if(o.index){let T=o.key&&(o.key.type!=="Identifier"||!o.index||o.key.name!==o.index);x.declare(w(o.index),T?"template":"static","const",o)}o.key&&y(o.key,{scope:x});for(let T of o.body.nodes)y(T,{scope:x});o.fallback&&y(o.fallback,{scope:x}),o.metadata={expression:new $e,keyed:!1,contains_group_binding:!1,index:x.root.unique("$$index"),declarations:x.declarations,is_controlled:!1,transitive_deps:new Set}},AwaitBlock(o,l){if(l.visit(o.expression),o.pending&&l.visit(o.pending),o.then&&(l.visit(o.then),o.value)){let y=s.get(o.then),x=l.state.scope.child();s.set(o.value,x),l.visit(o.value,{scope:x});for(let T of _e(o.value))y.declare(T,"template","const"),x.declare(T,"normal","const")}if(o.catch&&(l.visit(o.catch),o.error)){let y=s.get(o.catch),x=l.state.scope.child();s.set(o.error,x),l.visit(o.error,{scope:x});for(let T of _e(o.error))y.declare(T,"template","const"),x.declare(T,"normal","const")}},SnippetBlock(o,l){let y=l.state;y.scope.declare(o.expression,"normal","function",o);let T=y.scope.child();s.set(o,T);for(let P of o.parameters)for(let q of _e(P))T.declare(q,"snippet","let");l.next({scope:T})},Fragment:(o,l)=>{let y=l.state.scope.child(o.metadata.transparent);s.set(o,y),l.next({scope:y})},BindDirective(o,l){if(o.expression.type!=="SequenceExpression"){let y=o.expression;p.push([l.state.scope,y,y])}l.next()},TransitionDirective:E,AnimateDirective:E,UseDirective:E,StyleDirective(o,{path:l,state:y,next:x}){o.value===!0&&y.scope.reference(w(o.name),l.concat(o)),x()}});for(let o of d)a.get(o.name)||a.declare(o,"legacy_reactive","let");for(let[o,{node:l,path:y}]of u)o.reference(l,y);for(let[o,l,y]of p)for(let x of cr(l)){let T=Ve(x),P=T&&o.get(T.name);P!==null&&T!==P.node&&(T===x?(P.reassigned=!0,P.assignments.push({value:y,scope:o})):P.mutated=!0)}return{has_await:S,scope:a,scopes:s}}function ds(e,{next:t,state:r}){let i=r.scopes.get(e);t(i!==void 0&&i!==r.scope?{...r,scope:i}:r)}function ye(e,t){if(!e||e.type!=="CallExpression")return null;let r=wm(e.callee,t);return!r||!ar(r)?null:r}function wm(e,t){let r=e,i="";for(;r.type==="MemberExpression";){if(r.computed||r.property.type!=="Identifier")return null;i="."+r.property.name+i,r=r.object}return r.type==="CallExpression"&&r.callee.type==="Identifier"&&(i="()"+i,r=r.callee),r.type!=="Identifier"||t.get(r.name)!==null?null:r.name+i}function ia(e){let t=e.reduce((n,u)=>{let[p,d]=u;return n.has(p)||n.set(p,[]),n.has(d)||n.set(d,[]),n.get(p).push(d),n},new Map),r=new Set,i=new Set,s=[];function a(n){r.add(n),i.add(n),t.get(n)?.forEach(u=>{r.has(u)?i.has(u)&&s.push([...i,u]):a(u)}),i.delete(n)}return t.forEach((n,u)=>{r.has(u)||a(u)}),s[0]}var _$=/^-((webkit)|(moz)|(o)|(ms))-/,ix=/^[\s,;}]$/;function Cm(e){return e.replace(_$,"")}var fs=e=>Cm(e.name)==="keyframes";var sa={};function ai(e,t,r,i=!1){if(!r.has(sa))if(e.type==="Literal")r.add(String(e.value));else if(e.type==="ConditionalExpression")ai(e.consequent,t,r,i),ai(e.alternate,t,r,i);else if(e.type==="LogicalExpression")if(e.operator==="&&"){let s=new Set;if(ai(e.left,t,s,i),s.has(sa))(!t||!i)&&(r.add(""),r.add(!1),r.add(NaN),r.add(0));else for(let a of s)!a&&a!=null&&(!t||!i)&&r.add(a);ai(e.right,t,r,i)}else ai(e.left,t,r,i),ai(e.right,t,r,i);else if(t&&e.type==="ArrayExpression")for(let s of e.elements)s&&ai(s,t,r,!0);else if(t&&e.type==="ObjectExpression")for(let s of e.properties)s.type==="Property"&&!s.computed&&(s.key.type==="Identifier"||s.key.type==="Literal")?r.add(s.key.type==="Identifier"?s.key.name:String(s.key.value)):r.add(sa);else r.add(sa)}function sx(e,t){let r=new Set;return e.type==="Text"?r.add(e.data):ai(e.expression,t,r),r.has(sa)?null:[...r].map(i=>String(i))}function ax(e){let t=[];for(;e;)t.push(e),e=e.metadata.parent_rule;return t}function aa(e){let t=e.selectors[0];return t.type==="PseudoClassSelector"&&t.name==="global"&&(t.args===null||e.selectors.every(r=>na(r)||r.type==="PseudoElementSelector"))}function na(e){return e.type==="PseudoClassSelector"&&(e.name!=="has"&&e.name!=="is"&&e.name!=="where"&&(e.name!=="not"||e.args===null||e.args.children.every(t=>t.children.length===1))||e.args===null||e.args.children.every(t=>t.children.every(r=>aa(r))))}function nx(e){let t=e.selectors[0];return t.type==="PseudoClassSelector"&&t.name==="global"&&(t.args===null||e.selectors.every(r=>r.type==="PseudoClassSelector"||r.type==="PseudoElementSelector"))}function b$(e){return e.type==="PseudoClassSelector"&&e.name==="global"&&e.args===null}function ox(e){return e.filter(t=>t.type==="Rule").every(t=>t.metadata.has_global_selectors)}function v$(e){return e.some(t=>t.type==="Rule"&&t.metadata.is_global_block)}var y$={Atrule(e,t){fs(e)&&(!e.prelude.startsWith("-global-")&&!v$(t.path)?t.state.keyframes.push(e.prelude):e.prelude.startsWith("-global-")&&(t.state.analysis.css.has_global||=ox(t.path))),t.next()},ComplexSelector(e,t){t.next();{let r=e.children.find(aa);if(r){t.path.at(-2)?.type==="PseudoClassSelector"&&!r.selectors[0].args&&Dy(r.selectors[0]);let s=e.children.indexOf(r);if(r.selectors[0].args!==null&&s!==0&&s!==e.children.length-1)for(let a=s+1;a<e.children.length;a++)aa(e.children[a])||By(r.selectors[0])}}for(let r of e.children)for(let i=0;i<r.selectors.length;i++){let s=r.selectors[i];s.type==="PseudoClassSelector"&&s.name==="global"&&(s.args?.children[0].children[0]?.selectors[0].type==="TypeSelector"&&i!==0&&Fy(s),r.selectors[i+1]?.type==="TypeSelector"&&Uy(r.selectors[i+1]),s.args!==null&&s.args.children.length>1&&(e.children.length>1||r.selectors.length>1)&&jy(s))}if(e.metadata.rule=t.state.rule,e.metadata.is_global=e.children.every(({metadata:r})=>r.is_global||r.is_global_like),e.metadata.used||=e.metadata.is_global,e.metadata.rule?.metadata.parent_rule&&e.children[0]?.selectors[0]?.type==="NestingSelector"){let r=e.children[0]?.selectors[1],i=r?.type!=="PseudoClassSelector"||na(r),s=e.metadata.rule.metadata.parent_rule.prelude.children.some(a=>a.children.length===1&&a.children[0].metadata.is_global);i&&s&&(e.metadata.used=!0)}},RelativeSelector(e,t){let r=t.path.at(-1);if(e.combinator!=null&&!t.state.rule?.metadata.parent_rule&&r.children[0]===e&&t.path.at(-3)?.type!=="PseudoClassSelector"&&nn(e.combinator),e.metadata.is_global=e.selectors.length>=1&&aa(e),e.selectors.length>=1&&e.selectors.every(i=>i.type==="PseudoClassSelector"||i.type==="PseudoElementSelector")){let i=e.selectors[0];e.metadata.is_global_like||=i.type==="PseudoClassSelector"&&i.name==="host"||i.type==="PseudoElementSelector"&&["view-transition","view-transition-group","view-transition-old","view-transition-new","view-transition-image-pair"].includes(i.name)}if(e.metadata.is_global_like||=e.selectors.some(i=>i.type==="PseudoClassSelector"&&i.name==="root")&&!e.selectors.some(i=>i.type==="PseudoClassSelector"&&i.name==="has"),e.metadata.is_global_like||e.metadata.is_global)for(let i of e.selectors)oe(i,null,{ComplexSelector(s,a){s.metadata.used=!0,a.next()}});t.next()},Rule(e,t){e.metadata.parent_rule=t.state.rule;for(let i of e.prelude.children){let s=!1;for(let a=0;a<i.children.length;a++){let n=i.children[a],u=n.selectors.findIndex(b$);if(s&&(n.metadata.is_global_like=!0),u===0)if(n.selectors.length>1&&a===0&&e.metadata.parent_rule===null)Lf(n.selectors[1]);else{e.metadata.is_global_block=s=!0;for(let f=1;f<n.selectors.length;f++)oe(n.selectors[f],null,{ComplexSelector(h){h.metadata.used=!0}});n.combinator&&n.combinator.name!==" "&&Ly(n,n.combinator.name);let p=e.block.children.find(f=>f.type==="Declaration"),d=i.children.length===1&&i.children[0].selectors.length===1;d&&e.prelude.children.length>1&&Mf(e.prelude),p&&e.prelude.children.length===1&&d&&Ny(p)}else u!==-1&&Oy(n.selectors[u])}e.metadata.is_global_block&&!s&&Mf(e.prelude)}let r={...t.state,rule:e};t.visit(e.prelude,r);for(let i of e.prelude.children)e.metadata.has_global_selectors||=i.metadata.is_global,e.metadata.has_local_selectors||=!i.metadata.is_global;t.state.analysis.css.has_global||=e.metadata.has_global_selectors&&e.block.children.filter(i=>i.type==="Declaration").length>0&&ox(t.path),t.visit(e.block,r)},NestingSelector(e,t){let r=t.state.rule,i=r.metadata.parent_rule;if(i)i.metadata.is_global_block&&!i.metadata.parent_rule&&i.prelude.children[0].children.length===1&&i.prelude.children[0].children[0].selectors.length===1&&Lf(e);else{let s=r.prelude.children,a=s[0].children[0].selectors;(s.length>1||a.length>1||a[0].type!=="PseudoClassSelector"||a[0].name!=="global"||a[0].args?.children[0]?.children[0].selectors[0]!==e)&&Vy(e)}t.next()},PseudoElementSelector(){}};function lx(e,t){let r={keyframes:t.css.keyframes,rule:null,analysis:t};oe(e,r,y$)}var oa=0,Tm=1,Qt=0,ua=1,g$=new Map([["details",["open"]],["dialog",["open"]]]),x$=new Set(["accept-charset","autocapitalize","autocomplete","behavior","charset","crossorigin","decoding","dir","direction","draggable","enctype","enterkeyhint","fetchpriority","formenctype","formmethod","formtarget","hidden","http-equiv","inputmode","kind","loading","method","preload","referrerpolicy","rel","rev","role","rules","scope","shape","spellcheck","target","translate","type","valign","wrap"]),px={type:"Combinator",name:" ",start:-1,end:-1},w$={type:"RelativeSelector",start:-1,end:-1,combinator:null,selectors:[{type:"NestingSelector",name:"&",start:-1,end:-1}],metadata:{is_global:!1,is_global_like:!1,scoped:!1}},k$={type:"RelativeSelector",start:-1,end:-1,combinator:null,selectors:[{type:"TypeSelector",name:"*",start:-1,end:-1}],metadata:{is_global:!1,is_global_like:!1,scoped:!1}},C$=new Set;function S$(e){return e.metadata.path.some(t=>t.type==="SvelteHead")}function dx(e,t){oe(e,null,{Rule(r,i){r.metadata.is_global_block?i.visit(r.prelude):i.next()},ComplexSelector(r){let i=fx(r);for(let s of t)C$.clear(),!S$(s)&&ni(i,r.metadata.rule,s,ua)&&(r.metadata.used=!0)}})}function fx(e){let t=Rn(e);if(e.metadata.rule?.metadata.parent_rule&&t.length>0){let r=!1;for(let i of t)if(oe(i,null,{NestingSelector(){r=!0}}),r)break;r||(t[0].combinator===null&&(t[0]={...t[0],combinator:px}),t.unshift(w$))}return t}function Rn(e){let t=e.children.findLastIndex(({metadata:r,selectors:i})=>{let s=i[0];return!r.is_global_like&&!(s.type==="PseudoClassSelector"&&s.name==="global"&&s.args===null)&&!r.is_global});return e.children.slice(0,t+1).map(r=>!r.selectors.find(s=>s.type==="PseudoClassSelector"&&s.name==="root")||r.metadata.is_global_like?r:{...r,selectors:r.selectors.filter(s=>s.type==="PseudoClassSelector"&&s.name==="has")})}function ni(e,t,r,i,s=0,a=e.length){if(s>=a)return!1;let n=i===Qt?s:a-1,u=e[n],p=i===Qt?s+1:s,d=i===Qt?a:a-1,f=A$(u,t,r,i)&&E$(u,e,p,d,t,r,i);return f&&(nx(u)||(u.metadata.scoped=!0),r.metadata.scoped=!0),f}function E$(e,t,r,i,s,a,n){let u=n==Qt?r<i?t[r].combinator:void 0:e.combinator;if(!u)return!0;switch(u.name){case" ":case">":{let p=u.name===">",d=n===Qt?R$(a,p):mx(a,p),f=!1;for(let h of d)ni(t,s,h,n,r,i)&&(f=!0);return f||n===ua&&(!p||d.length===0)&&ux(t,r,i,s)}case"+":case"~":{let p=_x(a,n,u.name==="+"),d=!1;for(let f of p.keys())f.type==="RenderTag"||f.type==="SlotElement"||f.type==="Component"?i-r===1&&t[r].metadata.is_global&&(d=!0):ni(t,s,f,n,r,i)&&(d=!0);return d||n===ua&&hx(a)===null&&ux(t,r,i,s)}default:return!0}}function ux(e,t,r,i){for(let s=t;s<r;s++)if(!$n(e[s],i))return!1;return!0}function $n(e,t){if(e.metadata.is_global||e.metadata.is_global_like)return!0;let r=!1;for(let i of e.selectors){let s=null,a=!1,n=t;i.type==="PseudoClassSelector"&&((i.name==="is"||i.name==="where")&&i.args?s=i.args:a=na(i)),i.type==="NestingSelector"&&(n=t.metadata.parent_rule,s=n.prelude);let u=!!s?.children.some(p=>p.children.every(d=>$n(d,n)));if(r||=u,!u&&!a)return!1}return r||e.selectors.length===0}var T$=/\\(.)/g;function A$(e,t,r,i){let s;for(let a of e.selectors){if(a.type==="PseudoClassSelector"&&a.name==="has"&&a.args){if(s===void 0){let d=ax(t);s=d.some(f=>f.prelude.children.some(h=>h.children.some(_=>$n(_,f))))||d[d.length-1].prelude.children.some(f=>f.children.some(h=>h.selectors.some(_=>_.type==="PseudoClassSelector"&&(_.name==="root"||_.name==="global"&&_.args))))}let u=a.args.children,p=!1;for(let d of u){let[f,...h]=Rn(d);if(!f){d.metadata.used=!0,p=!0;continue}if(s){let g=[f.combinator?{...f,combinator:null}:f,...h];ni(g,t,r,Qt)&&(d.metadata.used=!0,p=!0)}let _=[k$,f.combinator?f:{...f,combinator:px},...h];ni(_,t,r,Qt)&&(d.metadata.used=!0,p=!0)}if(!p)return!1;continue}if(a.type==="Percentage"||a.type==="Nth")continue;let n=a.name.includes("\\")?a.name.replace(T$,"$1"):a.name;switch(a.type){case"PseudoClassSelector":{if(n==="host"||n==="root")return!1;if(n==="global"&&a.args!==null&&e.selectors.length===1){let p=a.args.children[0];return ni(p.children,t,r,ua)}if(n==="global"&&a.args===null)return!0;if(n==="not"&&a.args){for(let u of a.args.children){oe(u,null,{ComplexSelector(d,f){d.metadata.used=!0,f.next()}});let p=Rn(u);if(u.children.length>1){for(let f of p)f.metadata.scoped=!0;let d=r;for(;d;)d.metadata.scoped=!0,d=hx(d)}}break}if((n==="is"||n==="where")&&a.args){let u=!1;for(let p of a.args.children){let d=Rn(p);if(d.length===0)p.metadata.used=!0,u=!0;else if(ni(d,t,r,ua))p.metadata.used=!0,u=!0;else if(p.children.length>1&&(n=="is"||n=="where")){p.metadata.used=!0,u=!0;for(let h of d)h.metadata.scoped=!0}}if(!u)return!1}break}case"PseudoElementSelector":break;case"AttributeSelector":{if(!g$.get(r.name.toLowerCase())?.includes(a.name.toLowerCase())&&!Sm(r,a.name,a.value&&P$(a.value),a.matcher,(a.flags?.includes("i")??!1)||!a.flags?.includes("s")&&x$.has(a.name.toLowerCase())))return!1;break}case"ClassSelector":{if(!Sm(r,"class",n,"~=",!1))return!1;break}case"IdSelector":{if(!Sm(r,"id",n,"=",!1))return!1;break}case"TypeSelector":{if(r.name.toLowerCase()!==n.toLowerCase()&&n!=="*"&&r.type!=="SvelteElement")return!1;break}case"NestingSelector":{let u=!1,p=t.metadata.parent_rule;for(let d of p.prelude.children)(ni(fx(d),p,r,i)||d.children.every(f=>$n(f,p)))&&(d.metadata.used=!0,u=!0);if(!u)return!1;break}}}return!0}function cx(e,t,r,i){switch(r&&(t=t.toLowerCase(),i=i.toLowerCase()),e){case"=":return i===t;case"~=":return i.split(/\s/).includes(t);case"|=":return`${i}-`.startsWith(`${t}-`);case"^=":return i.startsWith(t);case"$=":return i.endsWith(t);case"*=":return i.includes(t);default:throw new Error("this shouldn't happen")}}function Sm(e,t,r,i,s){let a=t.toLowerCase();for(let n of e.attributes){if(n.type==="SpreadAttribute"||n.type==="BindDirective"&&n.name===t||n.type==="StyleDirective"&&a==="style")return!0;if(n.type==="ClassDirective"&&a==="class")if(i==="~="){if(n.name===r)return!0}else return!0;if(n.type!=="Attribute"||n.name.toLowerCase()!==a)continue;if(n.value===!0)return i===null;if(r===null)return!0;if(ve(n)){let f=cx(i,r,s,n.value[0].data);if(!f&&(a==="class"||a==="style"))continue;return f}let u=Zr(n.value),p=new Set,d=[];for(let f of u){let h=sx(f,a==="class");if(!h)return!0;if(d.length>0){let _=[],g=[];if(h.forEach(E=>{r_.test(E)?_.push(E):g.push(E)}),g.length>0){_.length>0&&d.forEach(S=>p.add(S));let E=[];d.forEach(S=>{g.forEach(o=>{E.push(S+o)})}),d=E,_.forEach(S=>{Hd.test(S)?p.add(S):d.push(S)});continue}else d.forEach(E=>p.add(E)),d=[]}if(h.forEach(_=>{Hd.test(_)?p.add(_):d.push(_)}),d.length<h.length&&d.push(" "),d.length>20)return!0}d.forEach(f=>p.add(f));for(let f of p)if(cx(i,r,s,f))return!0}return!1}function P$(e){return e[0]===e[e.length-1]&&e[0]==="'"||e[0]==='"'?e.slice(1,e.length-1):e}function mx(e,t,r=new Set){let i=[],s=e.metadata.path,a=s.length;for(;a--;){let n=s[a];if(n.type==="SnippetBlock"){if(!r.has(n)){r.add(n);for(let u of n.metadata.sites)i.push(...mx(u,t,r))}break}if(n.type==="RegularElement"||n.type==="SvelteElement"){if(n.type==="RegularElement"&&n.name==="option"){let u=i.length===0,p=s.findLast((d,f)=>d.type==="RegularElement"&&d.name==="select"&&f<a);if(p&&(!t||u)){let d=null;if(oe(p,null,{RegularElement(f,h){if(f.name==="selectedcontent"){d=f,h.stop();return}h.next()}}),t&&u&&d)return[d,n];d&&i.push(d)}}if(i.push(n),t)break}}return i}function R$(e,t,r=new Set){let i=[];function s(a){oe(a,null,{_(n,u){if(n.type==="RegularElement"||n.type==="SvelteElement")i.push(n),t||u.next();else if(n.type==="RenderTag")for(let p of n.metadata.snippets)r.has(p)||(r.add(p),s(p.body));else u.next()}})}if(s(e.type==="RenderTag"?e:e.fragment),e.type==="RegularElement"&&e.name==="selectedcontent"){let n=e.metadata.path.findLast(u=>u.type==="RegularElement"&&u.name==="select");n&&oe(n,{inside_option:!1},{_(u,p){u.type==="RegularElement"&&u.name==="option"?p.next({inside_option:!0}):p.state.inside_option?s(u):p.next()}})}return i}function hx(e){let t=e.metadata.path,r=t.length;for(;r--;){let i=t[r];if(i.type==="RegularElement"||i.type==="SvelteElement")return i}return null}function _x(e,t,r,i=new Set){let s=new Map,a=e.metadata.path,n=e,u=a.length;for(;u--;){let p=a[u--],d=p.nodes.indexOf(n)+(t===Qt?1:-1);for(;d>=0&&d<p.nodes.length;){let f=p.nodes[d];if(f.type==="RegularElement"){if(!f.attributes.some(_=>_.type==="Attribute"&&_.name.toLowerCase()==="slot")&&(s.set(f,Tm),r))return s}else if(Em(f)||f.type==="Component"){(f.type==="SlotElement"||f.type==="Component")&&s.set(f,oa);let h=la(f,t,r);if(Ii(h,s),r&&f.type!=="Component"&&In(h))return s}else if(f.type==="SvelteElement")s.set(f,oa);else if(f.type==="RenderTag"){s.set(f,oa);for(let h of f.metadata.snippets)Ii(la(h,t,r),s)}d=t===Qt?d+1:d-1}if(n=a[u],!n)break;if(!(n.type==="Component"||n.type==="SvelteComponent"||n.type==="SvelteSelf")){if(n.type==="SnippetBlock"){if(i.has(n))break;i.add(n);for(let f of n.metadata.sites){let h=_x(f,t,r,i);if(Ii(h,s),r&&n.metadata.sites.size===1&&In(h))return s}}if(!Em(n))break;n.type==="EachBlock"&&p===n.body&&Ii(la(n,t,r),s)}}return s}function la(e,t,r,i=new Set){let s=[];switch(e.type){case"EachBlock":s.push(e.body,e.fallback);break;case"IfBlock":s.push(e.consequent,e.alternate);break;case"AwaitBlock":s.push(e.pending,e.then,e.catch);break;case"KeyBlock":case"SlotElement":s.push(e.fragment);break;case"SnippetBlock":if(i.has(e))return new Map;i.add(e),s.push(e.body);break;case"Component":s.push(e.fragment,...[...e.metadata.snippets].map(u=>u.body));break}let a=new Map,n=e.type!=="SlotElement"&&e.type!=="SnippetBlock";for(let u of s){if(u==null){n=!1;continue}let p=I$(u.nodes,t,r,i);n&&=In(p),Ii(p,a)}if(!n)for(let u of a.keys())a.set(u,oa);return a}function In(e){if(e.size===0)return!1;for(let t of e.values())if(t===Tm)return!0;return!1}function Ii(e,t){e.forEach((r,i)=>{t.set(i,$$(r,t.get(i)))})}function $$(e,t){return t===void 0||e>t?e:t}function I$(e,t,r,i){let s=new Map,a=t===Qt?0:e.length-1;for(;a>=0&&a<e.length;){let n=e[a];if(n.type==="RegularElement"){if(s.set(n,Tm),r)break}else if(n.type==="SvelteElement")s.set(n,oa);else if(n.type==="RenderTag")for(let u of n.metadata.snippets)Ii(la(u,t,r,i),s);else if(Em(n)){let u=la(n,t,r,i);if(Ii(u,s),r&&In(u))break}a=t===Qt?a+1:a-1}return s}function Em(e){return e.type==="IfBlock"||e.type==="EachBlock"||e.type==="AwaitBlock"||e.type==="KeyBlock"||e.type==="SlotElement"}function bx(e){oe(e,{stylesheet:e},q$)}var q$={Atrule(e,t){fs(e)||t.next()},PseudoClassSelector(e,t){(e.name==="is"||e.name==="where")&&t.next()},PseudoElementSelector(){},ComplexSelector(e,t){if(!e.metadata.used&&(t.path.at(-2)?.type!=="PseudoClassSelector"||t.path.at(-4)?.metadata.used)){let r=t.state.stylesheet.content,i=r.styles.substring(e.start-r.start,e.end-r.start);Tb(e,i)}t.next()},Rule(e,t){e.metadata.is_global_block?t.visit(e.prelude):t.next()}};function ms(e,t){if(t.state.expression)for(let[r]of t.state.scope.references){let i=t.state.scope.get(r);i&&i.scope!==t.state.scope&&t.state.expression.references.add(i)}t.next({...t.state,function_depth:Math.max(t.state.scope.function_depth,t.state.function_depth)+1,expression:null})}function vx(e,t){ms(e,t)}function yx(e,t){if(ps(e,e.left,t),t.state.reactive_statement&&(e.left.type==="MemberExpression"?Ve(e.left):e.left)!==null)for(let i of _e(e.left)){let s=t.state.scope.get(i.name);s&&t.state.reactive_statement.assignments.add(s)}t.state.expression&&(t.state.expression.has_assignment=!0),t.next()}function gx(e,t){t.next({...t.state,expression:e.metadata.expression}),e.metadata.expression.has_await&&zt(e)}function ue(e){let t=e.length;for(;t--;){let r=e[t];if(r.type==="Fragment"){if(r.metadata.dynamic)return;r.metadata.dynamic=!0}}}function xx(e,t){ue(t.path),t.next({...t.state,expression:e.metadata.expression}),e.metadata.expression.has_await&&zt(e)}function wx(e,t){t.next();let r=t.path.at(-1);if(r.type==="RegularElement"&&e.name==="value"&&r.name==="option"&&ue(t.path),De(e)&&ue(t.path),Ui(e.name)&&ue(t.path),e.name==="class"&&!Array.isArray(e.value)&&e.value!==!0&&e.value.expression.type!=="Literal"&&e.value.expression.type!=="TemplateLiteral"&&e.value.expression.type!=="BinaryExpression"&&(ue(t.path),e.metadata.needs_clsx=!0),e.value!==!0){for(let i of Zr(e.value))i.type==="ExpressionTag"&&(i.expression.type==="FunctionExpression"||i.expression.type);if(De(e)){let i=t.path.at(-1);(i?.type==="RegularElement"||i?.type==="SvelteElement")&&(t.state.analysis.uses_event_attributes=!0),e.metadata.delegated=i?.type==="RegularElement"&&m_(e.name.slice(2))}}}function kx(e,t){if(yt(e.pending,t),yt(e.then,t),yt(e.catch,t),t.state.analysis.runes){if(tt(e,t.state,"#"),e.value){let r=e.value.start,i=t.state.analysis.source.substring(r-10,r).match(/{(\s*):then\s+$/);i&&i[1]!==""&&Xs({start:r-10,end:r},":")}if(e.error){let r=e.error.start,i=t.state.analysis.source.substring(r-10,r).match(/{(\s*):catch\s+$/);i&&i[1]!==""&&Xs({start:r-10,end:r},":")}}ue(t.path),t.visit(e.expression,{...t.state,expression:e.metadata.expression}),e.pending&&t.visit(e.pending),e.then&&t.visit(e.then),e.catch&&t.visit(e.catch)}function Cx(e,t){let r=t.state.ast_type==="instance"&&t.state.function_depth===1;if(M$(t.path,t.state.derived_function_depth===t.state.function_depth)){let s=t.state.expression;(s.has_pickled_await||!L$(t.path,e))&&(t.state.analysis.pickled_awaits.add(e),s.has_pickled_await=!0)}let i=r;t.state.expression&&(t.state.expression.has_await=!0,i=!0),i&&(t.state.options.experimental.async||ny(e),t.state.analysis.runes||fy(e)),t.next()}function M$(e,t){if(t)return!0;let r=e.length;for(;r--;){let i=e[r];if(i.type==="ArrowFunctionExpression"||i.type==="FunctionExpression"||i.type==="FunctionDeclaration")return!1;if(i.metadata)return!0}return!1}function L$(e,t){let r=e.length;for(;r--;){let i=e[r];if(i.type==="ConstTag")return!1;if(i.metadata)return!0;switch(i.type){case"ArrayExpression":if(t!==i.elements.at(-1))return!1;break;case"AssignmentExpression":case"BinaryExpression":case"LogicalExpression":if(t===i.left)return!1;break;case"CallExpression":case"NewExpression":if(t!==i.arguments.at(-1))return!1;break;case"ConditionalExpression":if(t===i.test)return!1;break;case"MemberExpression":return!1;case"ObjectExpression":if(t!==i.properties.at(-1))return!1;break;case"Property":if(t===i.key)return!1;break;case"SequenceExpression":if(t!==i.expressions.at(-1))return!1;break;case"TaggedTemplateExpression":if(t!==i.quasi.expressions.at(-1))return!1;break;case"TemplateLiteral":if(t!==i.expressions.at(-1))return!1;break;case"VariableDeclarator":return!0;default:return!1}t=i}}var fr={currentTime:{valid_elements:["audio","video"],omit_in_ssr:!0,bidirectional:!0},duration:{valid_elements:["audio","video"],event:"durationchange",omit_in_ssr:!0},focused:{omit_in_ssr:!0},paused:{valid_elements:["audio","video"],omit_in_ssr:!0,bidirectional:!0},buffered:{valid_elements:["audio","video"],omit_in_ssr:!0},seekable:{valid_elements:["audio","video"],omit_in_ssr:!0},played:{valid_elements:["audio","video"],omit_in_ssr:!0},volume:{valid_elements:["audio","video"],omit_in_ssr:!0,bidirectional:!0},muted:{valid_elements:["audio","video"],omit_in_ssr:!0,bidirectional:!0},playbackRate:{valid_elements:["audio","video"],omit_in_ssr:!0,bidirectional:!0},seeking:{valid_elements:["audio","video"],omit_in_ssr:!0},ended:{valid_elements:["audio","video"],omit_in_ssr:!0},readyState:{valid_elements:["audio","video"],omit_in_ssr:!0},videoHeight:{valid_elements:["video"],event:"resize",omit_in_ssr:!0},videoWidth:{valid_elements:["video"],event:"resize",omit_in_ssr:!0},naturalWidth:{valid_elements:["img"],event:"load",omit_in_ssr:!0},naturalHeight:{valid_elements:["img"],event:"load",omit_in_ssr:!0},activeElement:{valid_elements:["svelte:document"],omit_in_ssr:!0},fullscreenElement:{valid_elements:["svelte:document"],event:"fullscreenchange",omit_in_ssr:!0},pointerLockElement:{valid_elements:["svelte:document"],event:"pointerlockchange",omit_in_ssr:!0},visibilityState:{valid_elements:["svelte:document"],event:"visibilitychange",omit_in_ssr:!0},innerWidth:{valid_elements:["svelte:window"],omit_in_ssr:!0},innerHeight:{valid_elements:["svelte:window"],omit_in_ssr:!0},outerWidth:{valid_elements:["svelte:window"],omit_in_ssr:!0},outerHeight:{valid_elements:["svelte:window"],omit_in_ssr:!0},scrollX:{valid_elements:["svelte:window"],omit_in_ssr:!0,bidirectional:!0},scrollY:{valid_elements:["svelte:window"],omit_in_ssr:!0,bidirectional:!0},online:{valid_elements:["svelte:window"],omit_in_ssr:!0},devicePixelRatio:{valid_elements:["svelte:window"],event:"resize",omit_in_ssr:!0},clientWidth:{omit_in_ssr:!0,invalid_elements:["svelte:window","svelte:document"]},clientHeight:{omit_in_ssr:!0,invalid_elements:["svelte:window","svelte:document"]},offsetWidth:{omit_in_ssr:!0,invalid_elements:["svelte:window","svelte:document"]},offsetHeight:{omit_in_ssr:!0,invalid_elements:["svelte:window","svelte:document"]},contentRect:{omit_in_ssr:!0,invalid_elements:["svelte:window","svelte:document"]},contentBoxSize:{omit_in_ssr:!0,invalid_elements:["svelte:window","svelte:document"]},borderBoxSize:{omit_in_ssr:!0,invalid_elements:["svelte:window","svelte:document"]},devicePixelContentBoxSize:{omit_in_ssr:!0,invalid_elements:["svelte:window","svelte:document"]},indeterminate:{event:"change",bidirectional:!0,valid_elements:["input"],omit_in_ssr:!0},checked:{valid_elements:["input"],bidirectional:!0},group:{valid_elements:["input"],bidirectional:!0},this:{omit_in_ssr:!0},innerText:{invalid_elements:["svelte:window","svelte:document"],bidirectional:!0},innerHTML:{invalid_elements:["svelte:window","svelte:document"],bidirectional:!0},textContent:{invalid_elements:["svelte:window","svelte:document"],bidirectional:!0},open:{event:"toggle",bidirectional:!0,valid_elements:["details"]},value:{valid_elements:["input","textarea","select"],bidirectional:!0},files:{valid_elements:["input"],omit_in_ssr:!0,bidirectional:!0}};function Sx(e,t){let r=t.path.at(-1);if(r?.type==="RegularElement"||r?.type==="SvelteElement"||r?.type==="SvelteWindow"||r?.type==="SvelteDocument"||r?.type==="SvelteBody")if(e.name in fr){let n=fr[e.name];if(n.valid_elements&&!n.valid_elements.includes(r.name)&&Ks(e,e.name,n.valid_elements.map(u=>`\`<${u}>\``).join(", ")),n.invalid_elements&&n.invalid_elements.includes(r.name)){let u=Object.entries(fr).filter(([p,d])=>d.valid_elements?.includes(r.name)||!d.valid_elements&&!d.invalid_elements?.includes(r.name)).map(([p])=>p).sort();ln(e,e.name,`Possible bindings for <${r.name}> are ${u.join(", ")}`)}if(r.name==="input"&&e.name!=="this"){let u=r.attributes.find(p=>p.type==="Attribute"&&p.name==="type");u&&!ve(u)?(e.name!=="value"||u.value===!0)&&Zy(u):(e.name==="checked"&&u?.value[0].data!=="checkbox"&&Ks(e,e.name,`\`<input type="checkbox">\`${u?.value[0].data==="radio"?' \u2014 for `<input type="radio">`, use `bind:group`':""}`),e.name==="files"&&u?.value[0].data!=="file"&&Ks(e,e.name,'`<input type="file">`'))}if(r.name==="select"&&e.name!=="this"){let u=r.attributes.find(p=>p.type==="Attribute"&&p.name==="multiple"&&!ve(p)&&p.value!==!0);u&&Jy(u)}if(e.name==="offsetWidth"&&Gi(r.name)&&Ks(e,e.name,"non-`<svg>` elements. Use `bind:clientWidth` for `<svg>` instead"),Hi(e.name)){let u=r.attributes.find(p=>p.type==="Attribute"&&p.name==="contenteditable");u?!ve(u)&&u.value!==!0&&Gy(u):Wy(e)}}else{let n=Vr(e.name,Object.keys(fr));if(n){let u=fr[n];(!u.valid_elements||u.valid_elements.includes(r.name))&&ln(e,e.name,`Did you mean '${n}'?`)}ln(e,e.name)}if(e.expression.type==="SequenceExpression"){e.name==="group"&&tg(e);let n=e.expression.start,u=e.expression.leadingComments?.at(0)?.start,p=e.expression.leadingComments?.at(-1)?.end;for(;t.state.analysis.source[--n]!=="{";)t.state.analysis.source[n]==="("&&!(u&&p&&n<=p&&n>=u)&&ig(e,e.name);e.expression.expressions.length!==2&&Of(e),ue(t.path);let[d,f]=e.expression.expressions;t.visit(d.type==="ArrowFunctionExpression"?d.body:d,{...t.state,expression:e.metadata.expression}),t.visit(f.type==="ArrowFunctionExpression"?f.body:f,{...t.state,expression:e.metadata.expression}),e.metadata.expression.has_await&&zt(e);return}ps(e,e.expression,t);let i=e.expression,s=Ve(i);s===null&&Of(e);let a=t.state.scope.get(s.name);if(e.metadata.binding=a,i.type==="Identifier"&&e.name!=="this"&&(!a||a.kind!=="state"&&a.kind!=="raw_state"&&a.kind!=="prop"&&a.kind!=="bindable_prop"&&a.kind!=="each"&&a.kind!=="store_sub"&&!a.updated)&&sg(e.expression),e.name==="group"){if(!a)throw new Error("Cannot find declaration for bind:group");a.kind==="snippet"&&rg(e);let n=[],[u,p]=wn(e.expression),d=p,f=t.path.length;for(;f--;){let g=t.path[f];if(g.type==="EachBlock"){let E=d.filter(S=>g.metadata.declarations.has(S.name));E.length>0&&(g.metadata.contains_group_binding=!0,n.push(g),d=d.filter(S=>!E.includes(S)),d.push(...wn(g.expression)[1]))}}let h=p.map(g=>t.state.scope.get(g.name)),_;e:for(let[[g,E],S]of t.state.analysis.binding_groups)if(!(E.length!==h.length||g!==u)){for(let o=0;o<h.length;o++)if(h[o]!==E[o])continue e;_=S}_||(_=t.state.scope.root.unique("binding_group"),t.state.analysis.binding_groups.set([u,h],_)),e.metadata={binding_group_name:_,parent_each_blocks:n,expression:e.metadata.expression}}a?.kind==="each"&&a.metadata?.inside_rest&&qb(a.node,a.node.name),t.next({...t.state,expression:e.metadata.expression}),e.metadata.expression.has_await&&zt(e)}function Ex(e,t){let r=Pr(t.path,-1),i=ye(e,t.state.scope);if(i&&i!=="$inspect")for(let s of e.arguments)s.type==="SpreadElement"&&Cy(e,i);switch(i){case null:ra(e.callee,t.state.scope)||(t.state.analysis.needs_context=!0);break;case"$bindable":e.arguments.length>1&&Ht(e,"$bindable","zero or one arguments"),(r.type!=="AssignmentPattern"||t.path.at(-3)?.type!=="ObjectPattern"||t.path.at(-4)?.type!=="VariableDeclarator"||ye(t.path.at(-4).init,t.state.scope)!=="$props")&&Zv(e),t.state.analysis.needs_context=!0;break;case"$host":e.arguments.length>0?Ws(e,"$host"):(t.state.ast_type==="module"||!t.state.analysis.custom_element)&&ly(e);break;case"$props":t.state.has_props_rune&&Rf(e,i),t.state.has_props_rune=!0,(r.type!=="VariableDeclarator"||t.state.ast_type!=="instance"||t.state.scope!==t.state.analysis.instance.scope)&&gy(e),e.arguments.length>0&&Ws(e,i);break;case"$props.id":{let s=Pr(t.path,-2);t.state.analysis.props_id&&Rf(e,i),(r.type!=="VariableDeclarator"||r.id.type!=="Identifier"||t.state.ast_type!=="instance"||t.state.scope!==t.state.analysis.instance.scope||s.type!=="VariableDeclaration")&&vy(e),e.arguments.length>0&&Ws(e,i),t.state.analysis.props_id=r.id;break}case"$state":case"$state.raw":case"$derived":case"$derived.by":{O$(r,t)||D$(r)||B$(r,t)||an(e,i),(i==="$derived"||i==="$derived.by")&&e.arguments.length!==1?Ht(e,i,"exactly one argument"):e.arguments.length>1&&Ht(e,i,"zero or one arguments");break}case"$effect":case"$effect.pre":r.type!=="ExpressionStatement"&&ay(e),e.arguments.length!==1&&Ht(e,i,"exactly one argument"),t.state.analysis.needs_context=!0;break;case"$effect.tracking":e.arguments.length!==0&&Ws(e,i);break;case"$effect.root":e.arguments.length!==1&&Ht(e,i,"exactly one argument");break;case"$effect.pending":t.state.expression&&(t.state.expression.has_state=!0);break;case"$inspect":e.arguments.length<1&&Ht(e,i,"one or more arguments");break;case"$inspect().with":e.arguments.length!==1&&Ht(e,i,"exactly one argument");break;case"$inspect.trace":{e.arguments.length>1&&Ht(e,i,"zero or one arguments");let s=t.path.at(-2),a=t.path.at(-3);if((r.type!=="ExpressionStatement"||s?.type!=="BlockStatement"||!(a?.type==="FunctionDeclaration"||a?.type==="FunctionExpression"||a?.type==="ArrowFunctionExpression")||s.body[0]!==r)&&py(e),a.generator&&cy(e),H){if(e.arguments[0])t.state.scope.tracing=D(e.arguments[0]);else{let n=N$(t.path.slice(0,-2))??"trace",u=`(${vi(a)})`;t.state.scope.tracing=D($(n+" "+u))}t.state.analysis.tracing=!0}break}case"$state.eager":e.arguments.length!==1&&Ht(e,i,"exactly one argument");break;case"$state.snapshot":e.arguments.length!==1&&Ht(e,i,"exactly one argument");break}if(i==="$derived"){let s=new $e;t.next({...t.state,function_depth:t.state.function_depth+1,derived_function_depth:t.state.function_depth+1,expression:s}),s.has_await&&t.state.analysis.async_deriveds.set(e,s),t.state.in_declaration_tag&&t.state.expression?.merge(s)}else i==="$inspect"?t.next({...t.state,function_depth:t.state.function_depth+1}):t.next();t.state.expression&&(!qr(e.callee,t)||t.state.expression.dependencies.size>0)&&(t.state.expression.has_call=!0,t.state.expression.has_state=!0)}function N$(e){let t=e.at(-1);if((t.type==="FunctionDeclaration"||t.type==="FunctionExpression")&&t.id!=null)return t.id.name;let r=e.at(-2);if(r){if(r.type==="CallExpression")return Wi.slice(r.callee.start,r.callee.end)+"(...)";if(r.type==="Property"&&!r.computed)return r.key.name;if(r.type==="VariableDeclarator"&&r.id.type==="Identifier")return r.id.name}}function O$(e,t){return e.type==="VariableDeclarator"&&Pr(t.path,-3).type!=="ConstTag"}function D$(e){return e.type==="PropertyDefinition"&&!e.static&&!e.computed}function B$(e,t){if(e.type==="AssignmentExpression"&&e.operator==="="&&e.left.type==="MemberExpression"&&e.left.object.type==="ThisExpression"&&(e.left.property.type==="Identifier"&&!e.left.computed||e.left.property.type==="PrivateIdentifier"||e.left.property.type==="Literal")){let r=Pr(t.path,-5);return r?.type==="MethodDefinition"&&r.kind==="constructor"}return!1}function Tx(e,t){if(!t.state.analysis.runes){t.next();return}let r=[];for(let u of e.body)(u.type==="MethodDefinition"||u.type==="PropertyDefinition")&&u.key.type==="PrivateIdentifier"&&r.push(u.key.name);let i=new Map,s=new Map;t.state.analysis.classes.set(e,i);let a=null;function n(u,p,d){let f=ut(p);if(f===null)return;let h=ye(d,t.state.scope);if(h&&y_(h)){i.has(f)&&$y(u,f);let _=(u.type==="AssignmentExpression"||!u.static?"":"@")+f,g=s.get(_);g&&!(g.length===1&&g[0]==="prop")&&Gs(u,_),i.set(f,{node:u,type:h,key:p.type==="PrivateIdentifier"?p:null,value:d})}}for(let u of e.body){if(u.type==="PropertyDefinition"&&!u.computed&&!u.static){n(u,u.key,u.value);let p=ut(u.key);if(!s.get(p)){s.set(p,[u.value?"assigned_prop":"prop"]);continue}Gs(u,p)}if(u.type==="MethodDefinition"){if(u.kind==="constructor")a=u;else if(!u.computed){let p=(u.static?"@":"")+ut(u.key),d=s.get(p);if(!d){s.set(p,[u.kind]);continue}if((d.includes(u.kind)||d.includes("prop")||d.includes("assigned_prop"))&&Gs(u,p),u.kind==="get"){if(d.length===1&&d[0]==="set"){d.push("get");continue}}else if(u.kind==="set"){if(d.length===1&&d[0]==="get"){d.push("set");continue}}else{d.push(u.kind);continue}Gs(u,p)}}}if(a)for(let u of a.value.body.body){if(u.type!=="ExpressionStatement"||u.expression.type!=="AssignmentExpression")continue;let{left:p,right:d}=u.expression;p.type==="MemberExpression"&&p.object.type==="ThisExpression"&&(p.computed&&p.property.type!=="Literal"||n(u.expression,p.property,d))}for(let[u,p]of i){if(u[0]==="#")continue;let d=u.replace(s_,"_");for(;r.includes(d);)d="_"+d;r.push(d),p.key=C0(d)}t.next({...t.state,state_fields:i})}function Ax(e,t){t.state.analysis.runes&&e.id!==null&&ii(t.state.scope.get(e.id.name));let r=t.state.ast_type==="module"?0:1;t.state.scope.function_depth>r&&wb(e),t.next()}function Px(e,t){ue(t.path),t.next({...t.state,expression:e.metadata.expression})}function qn(e){e.name.includes(":")&&!e.name.startsWith("xmlns:")&&!e.name.startsWith("xlink:")&&!e.name.startsWith("xml:")&&Rb(e)}function Mn(e,t){if(Array.isArray(e.value)&&e.value.length===1&&e.value[0].type==="ExpressionTag"&&(t.type==="Component"||t.type==="SvelteComponent"||t.type==="SvelteSelf"||t.type==="RegularElement"&&Ct(t))&&Ib(e),e.value===!0||!Array.isArray(e.value)||e.value.length===1)return;e.value.at(-1)?.end!==e.end||eg(e)}function hs(e,t,r=!1){let i=e.path.at(-2),s;if(i?.type==="SnippetBlock"){ve(t)||Hf(t);return}let a=e.path.length;for(;a--;){let n=e.path[a];!s&&(n.type==="Component"||n.type==="SvelteComponent"||n.type==="SvelteSelf"||n.type==="SvelteElement"||n.type==="RegularElement"&&Ct(n))&&(s=n)}if(s){if(s.type==="Component"||s.type==="SvelteComponent"||s.type==="SvelteSelf")if(s!==i)r||zf(t);else{ve(t)||Hf(t);let n=t.value[0].data;if(e.state.component_slots.has(n)&&Ng(t,n,s.name),e.state.component_slots.add(n),n==="default")for(let u of s.fragment.nodes)u.type==="Text"&&i_.test(u.data)||(u.type==="RegularElement"||u.type==="SvelteFragment")&&u.attributes.some(p=>p.type==="Attribute"&&p.name==="slot")||Og(u)}}else r||zf(t)}function Ln(e){return!e||e.declaration_kind==="import"||e.kind==="prop"||e.kind==="rest_prop"||e.kind==="bindable_prop"||e?.initial?.type==="SnippetBlock"}function _s(e,t){e.metadata.path=[...t.path],e.metadata.snippets=new Set;let r=!0;for(let u of e.attributes){if(u.type==="SpreadAttribute"||u.type==="BindDirective"){r=!1;continue}if(u.type!=="Attribute"||!Ar(u))continue;let p=Lt(u);if(p.type==="Identifier"){let d=t.state.scope.get(p.name);r&&=Ln(d),d?.initial?.type==="SnippetBlock"&&e.metadata.snippets.add(d.initial)}else p.type!=="Literal"&&(r=!1)}if(r)for(let u of e.fragment.nodes)u.type==="SnippetBlock"&&e.metadata.snippets.add(u);t.state.analysis.snippet_renderers.set(e,r),ue(t.path);for(let u of e.attributes)u.type!=="Attribute"&&u.type!=="SpreadAttribute"&&u.type!=="LetDirective"&&u.type!=="OnDirective"&&u.type!=="BindDirective"&&u.type!=="AttachTag"&&ug(u),u.type==="OnDirective"&&(u.modifiers.length>1||u.modifiers.some(p=>p!=="once"))&&xg(u),u.type==="Attribute"&&(t.state.analysis.runes&&(Mn(u,e),Ar(u)&&Rx(Lt(u),t.state.analysis.source)),qn(u),u.name==="slot"&&hs(t,u,!0)),u.type==="BindDirective"&&u.name!=="this"&&(t.state.analysis.uses_component_bindings=!0),u.type==="AttachTag"&&Rx(u.expression,t.state.analysis.source);let i=Ir(e)?t.state:{...t.state,scope:e.metadata.scopes.default};for(let u of e.attributes)t.visit(u,u.type==="LetDirective"?i:t.state);let s=[],a={default:[]};for(let u of e.fragment.nodes){if(u.type==="Comment"){s.push(u);continue}let p=Ir(u)??"default";(a[p]??=[]).push(...s,u),p!=="default"&&(s=[])}let n=new Set;for(let u in a){let p={...t.state,scope:e.metadata.scopes[u],parent_element:null,component_slots:n};t.visit({...e.fragment,nodes:a[u]},p)}}function Rx(e,t){if(e.type==="SequenceExpression"){let r=e.start;for(;--r>0;){let i=t[r];if(i==="(")break;i==="{"&&on(e)}}}function $x(e,t){let r=t.state.scope.get(e.name.includes(".")?e.name.slice(0,e.name.indexOf(".")):e.name);e.metadata.dynamic=t.state.analysis.runes&&r!==null&&(r.kind!=="normal"||e.name.includes(".")),r&&(e.metadata.expression.has_state=e.metadata.dynamic,e.metadata.expression.dependencies.add(r),e.metadata.expression.references.add(r)),_s(e,t)}function Ix(e,t){if(!t.state.analysis.runes&&!t.state.analysis.maybe_runes&&hg(e),t.path.length===1&&t.path[0].type==="Fragment"){let i=e.declaration.declarations.flatMap(s=>_e(s.id)).find(s=>t.state.analysis.instance.scope.declarations.has(s.name));i&&is(i,i.name)}t.visit(e.declaration,{...t.state,in_declaration_tag:!0,function_depth:t.state.scope.function_depth,expression:e.metadata.expression}),Am(t,e.metadata,e.declaration.declarations)}function Am(e,t,r){let i=t.expression.has_await,s=[...t.expression.references].map(a=>a.blocker).filter(a=>a!==null&&a.object!==e.state.async_consts?.id);if(i||e.state.async_consts||s.length>0){let a=e.state.async_consts??={id:e.state.analysis.root.unique("promises"),declaration_count:0};t.promises_id=a.id;let n=r.flatMap(d=>e.state.scope.get_bindings(d)),u=a.declaration_count+(s.length>0?1:0);a.declaration_count+=s.length>0?2:1;let p=J(a.id,$(u),!0);for(let d of n)d.blocker=p}}function qx(e,t){t.state.analysis.runes&&tt(e,t.state,"@");let r=t.path.at(-1),i=t.path.at(-2);(r?.type!=="Fragment"||i?.type!=="IfBlock"&&i?.type!=="SvelteFragment"&&i?.type!=="Component"&&i?.type!=="SvelteComponent"&&i?.type!=="EachBlock"&&i?.type!=="AwaitBlock"&&i?.type!=="SnippetBlock"&&i?.type!=="SvelteBoundary"&&i?.type!=="KeyBlock"&&(i?.type!=="RegularElement"&&i?.type!=="SvelteElement"||!i.attributes.some(a=>a.type==="Attribute"&&a.name==="slot")))&&dg(e);let s=e.declaration.declarations[0];t.visit(s.id),t.visit(s.init,{...t.state,expression:e.metadata.expression,function_depth:t.state.function_depth+1,derived_function_depth:t.state.function_depth+1}),Am(t,e.metadata,[s])}function Mx(e,t){t.state.analysis.runes&&tt(e,t.state,"@"),t.next()}function Lx(e,t){tt(e,t.state,"#"),yt(e.body,t),yt(e.fallback,t);let r=e.context;if(r?.type==="Identifier"&&(r.name==="$state"||r.name==="$derived")&&an(e,r.name),e.key&&(e.metadata.keyed=e.key.type!=="Identifier"||!e.index||e.key.name!==e.index),e.metadata.keyed&&!e.context&&vg(e.key),t.visit(e.expression,{...t.state,expression:e.metadata.expression,scope:t.state.scope.parent}),t.visit(e.body),e.key&&t.visit(e.key),e.fallback&&t.visit(e.fallback),!t.state.analysis.runes){let i=!!e.context&&_e(e.context).some(s=>!!t.state.scope.get(s.name)?.mutated);for(let s of e.metadata.expression.dependencies)s.declaration_kind!=="function"&&Nx(s,e.metadata.transitive_deps);if(i)for(let s of e.metadata.transitive_deps)s.kind==="normal"&&(s.declaration_kind==="const"||s.declaration_kind==="let"||s.declaration_kind==="var")&&(s.kind="state")}ue(t.path)}function Nx(e,t){if(!t.has(e)&&(t.add(e),e.kind==="legacy_reactive"))for(let r of e.legacy_dependencies)Nx(r,t)}function Ox(e,t){t.state.ast_type?en(e):e.declaration.type==="Identifier"&&An(e,t.state.scope,e.declaration.name),t.next()}function Dx(e,t){if(t.next(),t.state.ast_type&&e.specifiers.some(r=>r.exported.type==="Identifier"?r.exported.name==="default":r.exported.value==="default")&&en(e),e.declaration?.type==="VariableDeclaration"){for(let r of e.declaration.declarations)for(let i of _e(r.id)){let s=t.state.scope.get(i.name);s&&(s.kind==="derived"&&Za(e),(s.kind==="state"||s.kind==="raw_state")&&s.reassigned&&sn(e))}t.state.analysis.runes&&t.state.ast_type==="instance"&&e.declaration.kind==="let"&&my(e)}if(t.state.analysis.runes&&e.declaration&&t.state.ast_type==="instance"){if(e.declaration.type==="FunctionDeclaration"||e.declaration.type==="ClassDeclaration")t.state.analysis.exports.push({name:e.declaration.id.name,alias:null});else if(e.declaration.kind==="const")for(let r of e.declaration.declarations)for(let i of _e(r.id))t.state.analysis.exports.push({name:i.name,alias:null})}}function Bx(e,t){let r=e.local.type==="Identifier"?e.local.name:e.local.value,i=e.exported.type==="Identifier"?e.exported.name:e.exported.value;if(t.state.ast_type==="instance"){if(t.state.analysis.runes){t.state.analysis.exports.push({name:r,alias:i});let s=t.state.scope.get(r);s&&(s.reassigned=!0)}}else An(e,t.state.scope,r)}function jx(e,t){if(e.expression.type==="NewExpression"&&e.expression.callee.type==="Identifier"&&e.expression.arguments.length===1&&e.expression.arguments[0].type==="ObjectExpression"&&e.expression.arguments[0].properties.some(r=>r.type==="Property"&&r.key.type==="Identifier"&&r.key.name==="target")){let r=t.state.scope.get(e.expression.callee.name);if(r?.kind==="normal"&&r.declaration_kind==="import"){let i=r.initial;i.source.value.endsWith(".svelte")&&i.specifiers.find(s=>s.local.name===r.node.name&&s.type==="ImportDefaultSpecifier")&&gb(e.expression)}}t.next()}function Fx(e,t){if(t.path.at(-1)?.type==="Fragment"&&t.state.parent_element){let i=cs("#text",t.state.parent_element);i&&Ci(e,i)}ue(t.path),t.next({...t.state,expression:e.metadata.expression})}function Vx(e,t){t.next({...t.state,fragment:e,async_consts:void 0})}function Ux(e,t){t.state.analysis.runes&&e.id!==null&&ii(t.state.scope.get(e.id.name)),ms(e,t)}function Hx(e,t){ms(e,t)}function zx(e,t){t.state.analysis.runes&&tt(e,t.state,"@"),ue(t.path),t.next({...t.state,expression:e.metadata.expression})}function qi(e,t){return(e.kind==="state"||e.kind==="raw_state")&&(!t.immutable||e.reassigned||t.accessors)}function ct(e,t){if(Object.hasOwn(t.transform,e.name)){let r=t.scope.get(e.name);if(e!==r?.node)return t.transform[e.name].read(e)}return e}function Nn(e,t,r,i){let s=[w("$$props"),$(r)],a=0;e.kind==="bindable_prop"&&(a|=8),t.analysis.immutable&&(a|=1),t.analysis.runes&&(a|=2),(t.analysis.accessors||(t.analysis.immutable?e.reassigned||t.analysis.runes&&e.mutated:e.updated))&&(a|=4);let n;return i&&(Tr(i)?n=i:(i.type==="CallExpression"&&i.callee.type==="Identifier"&&i.arguments.length===0?n=i.callee:n=D(i),a|=16)),(a||n)&&(s.push($(a)),n&&s.push(n)),v("$.prop",...s)}function On(e,t){return(e.kind==="prop"||e.kind==="bindable_prop")&&(!t.analysis.runes||t.analysis.accessors||e.reassigned||e.initial||e.updated)}function Zt(e,t){if(!e||e.type==="Literal"||e.type==="TemplateLiteral"||e.type==="ArrowFunctionExpression"||e.type==="FunctionExpression"||e.type==="UnaryExpression"||e.type==="BinaryExpression"||e.type==="Identifier"&&e.name==="undefined")return!1;if(e.type==="Identifier"&&t!==null){let r=t.get(e.name);if(r!==null&&!r.reassigned&&r.initial!==null&&r.initial.type!=="FunctionDeclaration"&&r.initial.type!=="ClassDeclaration"&&r.initial.type!=="ImportDeclaration"&&r.initial.type!=="EachBlock"&&r.initial.type!=="SnippetBlock")return Zt(r.initial,null)}return!0}function He(e,t){if(!t.has_pickled_await)return U([],e,!0);let r=e.type==="BlockStatement"?e:O([de(e)]);return U([],O([{type:"TryStatement",block:r,handler:null,finalizer:O([I(v("$.unsave"))])}]),!0)}function oi(e,t,r){return r?.has_await?Rr(v("$.async_derived",He(t,r))):v(e.analysis.runes?"$.derived":"$.derived_safe_equal",D(t))}function Dn(e,t){let r={...t.transform};for(let[i,s]of e.declarations)(s.kind==="normal"||s.kind==="state"&&!qi(s,t.analysis))&&delete r[i];return r}function Gx(e,t){let r=t.path.length,i=t.path[--r];if(!et(e,i))return;if(ue(t.path),e.name==="arguments"&&!t.path.some(a=>a.type==="FunctionDeclaration"||a.type==="FunctionExpression")&&dy(e),e.name==="$$slots"&&(t.state.analysis.uses_slots=!0),t.state.analysis.runes&&ar(e.name)&&t.state.scope.get(e.name)===null&&t.state.scope.get(e.name.slice(1))?.kind!=="store_sub"){let a=e,n=e.name;for(;i.type==="MemberExpression";)i.computed&&wy(i),n+=`.${i.property.name}`,a=i,i=t.path[--r],ar(n)||(n==="$effect.active"&&If(i,"$effect.active","$effect.tracking"),n==="$state.frozen"&&If(i,"$state.frozen","$state.raw"),n==="$state.is"&&Ty(i,"$state.is"),ky(i,n));i.type!=="CallExpression"&&Ey(a)}let s=t.state.scope.get(e.name);if(t.state.analysis.runes||(e.name==="$$props"&&(t.state.analysis.uses_props=!0),e.name==="$$restProps"&&(t.state.analysis.uses_rest_props=!0)),s){if(t.state.expression&&(t.state.expression.dependencies.add(s),t.state.expression.references.add(s),t.state.expression.has_state||=s.kind!=="static"&&(s.kind==="prop"||s.kind==="bindable_prop"||s.kind==="rest_prop"||!s.is_function())&&!t.state.scope.evaluate(e).is_known),t.state.analysis.runes&&e!==s.node&&t.state.function_depth===s.scope.function_depth&&(s.kind==="state"&&(s.reassigned||s.initial?.type==="CallExpression"&&s.initial.arguments.length===1&&s.initial.arguments[0].type!=="SpreadElement"&&!Zt(s.initial.arguments[0],t.state.scope))||s.kind==="raw_state"||s.kind==="derived"||s.kind==="prop"||s.kind==="rest_prop")&&(i.type!=="AssignmentExpression"||i.left!==e)&&i.type!=="UpdateExpression"){let a="closure",n=t.path.length;for(;n--;){let u=t.path[n];if(u.type==="ArrowFunctionExpression"||u.type==="FunctionDeclaration"||u.type==="FunctionExpression")break;if(u.type==="CallExpression"&&u.arguments.includes(t.path[n+1])){let p=ye(u,t.state.scope);if(p==="$state"||p==="$state.raw"){a="derived";break}}}Sb(e,e.name,a)}if(t.state.reactive_statement&&s.scope===t.state.analysis.module.scope&&s.reassigned&&Cb(e),s.metadata?.is_template_declaration&&t.state.options.experimental.async){let a;for(let n=t.path.length-1;n>=0;n--){let u=t.path[n],p=t.path[n-1];if(u.type==="SnippetBlock")a=u.expression.name;else if(a&&p&&u.type==="Fragment"&&(nm(p)||p.type==="SvelteBoundary"&&(a==="failed"||a==="pending")))if(nm(p)?p.metadata.scopes.default===s.scope:t.state.scopes.get(u)===s.scope)fg(e,e.name);else break}}}}function Wx(e,t){yt(e.consequent,t),yt(e.alternate,t),t.state.analysis.runes&&tt(e,t.state,e.elseif?":":"#"),ue(t.path),t.visit(e.test,{...t.state,expression:e.metadata.expression}),t.visit(e.consequent),e.alternate&&t.visit(e.alternate);let r=e.alternate;if(r&&r.nodes.length===1&&r.nodes[0].type==="IfBlock"&&r.nodes[0].elseif){let i=r.nodes[0];!i.metadata.expression.has_await&&!i.metadata.expression.has_more_blockers_than(e.metadata.expression)&&(e.metadata.flattened=[i,...i.metadata.flattened??[]],i.metadata.flattened=void 0)}}function Kx(e,t){if(t.state.analysis.runes){let r=e.source.value;if(r.startsWith("svelte/internal")&&uy(e),r==="svelte")for(let i of e.specifiers)i.type==="ImportSpecifier"&&i.imported.type==="Identifier"&&(i.imported.name==="beforeUpdate"||i.imported.name==="afterUpdate")&&Ay(i,i.imported.name)}}function Xx(e,t){yt(e.fragment,t),t.state.analysis.runes&&tt(e,t.state,"#"),ue(t.path),t.visit(e.expression,{...t.state,expression:e.metadata.expression}),t.visit(e.fragment)}function Yx(e,t){if(e.label.name==="$"){let r=t.path.at(-1);if(t.state.ast_type==="instance"&&r.type==="Program"){t.state.analysis.runes&&_y(e);let s={assignments:new Set,dependencies:[]};t.next({...t.state,reactive_statement:s,function_depth:t.state.scope.function_depth+1});for(let[a,n]of t.state.scope.references){let u=t.state.scope.get(a);if(u!==null)for(let{node:p,path:d}of n){let f=p,h=d.length-1,_=d.at(h);for(;_.type==="MemberExpression";)f=_,_=d.at(--h);if(!(_.type==="AssignmentExpression"&&_.operator==="="&&_.left===f)){s.dependencies.push(u);break}}}if(t.state.analysis.reactive_statements.set(e,s),e.body.type==="ExpressionStatement"&&e.body.expression.type==="AssignmentExpression"){let a=_e(e.body.expression.left);if(e.body.expression.left.type==="MemberExpression"){let n=Ve(e.body.expression.left);n!==null&&(a=[n])}for(let n of a){let u=t.state.scope.get(n.name);u?.kind==="legacy_reactive"&&(u.legacy_dependencies=Array.from(s.dependencies))}}}else t.state.analysis.runes||kb(e)}t.next()}function Jx(e,t){let r=t.path.at(-1);(r===void 0||r.type!=="Component"&&r.type!=="RegularElement"&&r.type!=="SlotElement"&&r.type!=="SvelteElement"&&r.type!=="SvelteComponent"&&r.type!=="SvelteSelf"&&r.type!=="SvelteFragment")&&Pg(e)}function Qx(e){typeof e.value=="string"&&bi.test(e.value)&&Ji(e)}function Zx(e,t){e.object.type==="Identifier"&&e.property.type==="Identifier"&&t.state.scope.get(e.object.name)?.kind==="rest_prop"&&e.property.name.startsWith("$$")&&tn(e.property),t.state.expression&&(t.state.expression.has_member_expression=!0,t.state.expression.has_state||=!qr(e,t)),ra(e,t.state.scope)||(t.state.analysis.needs_context=!0),t.next()}function e1(e,t){e.callee.type==="ClassExpression"&&t.state.scope.function_depth>0&&xb(e),t.state.analysis.needs_context=!0,t.next()}function t1(e,t){if(t.state.analysis.runes){let i=t.path.at(-1)?.type;(i==="RegularElement"||i==="SvelteElement")&&Ob(e,e.name)}let r=t.path.at(-1);(r?.type==="SvelteElement"||r?.type==="RegularElement")&&(t.state.analysis.event_directive_node??=e),ue(t.path),t.next({...t.state,expression:e.metadata.expression})}function r1(e,t){let r=ut(e.key),i=r&&t.state.state_fields.get(r);i&&e!==i.node&&e.value&&e.start<i.node.start&&rn(e),t.next()}var xs=qs(Km(),1),Li=qs(rh(),1),ih="activedescendant atomic autocomplete busy checked colcount colindex colspan controls current describedby description details disabled dropeffect errormessage expanded flowto grabbed haspopup hidden invalid keyshortcuts label labelledby level live modal multiline multiselectable orientation owns placeholder posinset pressed readonly relevant required roledescription rowcount rowindex rowspan selected setsize sort valuemax valuemin valuenow valuetext".split(" "),DE={a:["href"],area:["alt","aria-label","aria-labelledby"],html:["lang"],iframe:["title"],img:["alt"],object:["title","aria-label","aria-labelledby"]},BE=["blink","marquee"],jE=["h1","h2","h3","h4","h5","h6"],FE=["button","input","keygen","meter","output","progress","select","textarea"],sh=["keypress","keydown","keyup","click","contextmenu","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","dragstart","drop","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","pointerdown","pointerup","pointermove","pointerenter","pointerleave","pointerover","pointerout","pointercancel","touchstart","touchend","touchmove","touchcancel"],VE=["click","mousedown","mouseup","keypress","keydown","keyup"],UE=new Map([["header","banner"],["footer","contentinfo"]]),HE=new Map([["a","link"],["area","link"],["article","article"],["aside","complementary"],["body","document"],["button","button"],["datalist","listbox"],["dd","definition"],["dfn","term"],["dialog","dialog"],["details","group"],["dt","term"],["fieldset","group"],["figure","figure"],["form","form"],["h1","heading"],["h2","heading"],["h3","heading"],["h4","heading"],["h5","heading"],["h6","heading"],["hr","separator"],["img","img"],["li","listitem"],["link","link"],["main","main"],["menu","list"],["meter","progressbar"],["nav","navigation"],["ol","list"],["option","option"],["optgroup","group"],["output","status"],["progress","progressbar"],["section","region"],["summary","button"],["table","table"],["tbody","rowgroup"],["textarea","textbox"],["tfoot","rowgroup"],["thead","rowgroup"],["tr","row"],["ul","list"]]),zE=new Map([["command","menuitem"],["checkbox","menuitemcheckbox"],["radio","menuitemradio"]]),GE=new Map([["button","button"],["image","button"],["reset","button"],["submit","button"],["checkbox","checkbox"],["radio","radio"],["range","slider"],["number","spinbutton"],["email","textbox"],["search","searchbox"],["tel","textbox"],["text","textbox"],["url","textbox"]]),WE={ul:["listbox","menu","menubar","radiogroup","tablist","tree","treegrid"],ol:["listbox","menu","menubar","radiogroup","tablist","tree","treegrid"],menu:["listbox","menu","menubar","radiogroup","tablist","tree","treegrid"],li:["menuitem","option","row","tab","treeitem"],table:["grid"],td:["gridcell"],fieldset:["radiogroup","presentation"]},KE=["email","search","tel","text","url"],XE=["shipping","billing"],YE=["","on","off","name","honorific-prefix","given-name","additional-name","family-name","honorific-suffix","nickname","username","new-password","current-password","one-time-code","organization-title","organization","street-address","address-line1","address-line2","address-line3","address-level4","address-level3","address-level2","address-level1","country","country-name","postal-code","cc-name","cc-given-name","cc-additional-name","cc-family-name","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc","cc-type","transaction-currency","transaction-amount","language","bday","bday-day","bday-month","bday-year","sex","url","photo"],JE=["home","work","mobile","fax","pager"],QE=["tel","tel-country-code","tel-national","tel-area-code","tel-local","tel-local-prefix","tel-local-suffix","tel-extension","email","impp"],Mr={Interactive:"interactive",NonInteractive:"non-interactive",Static:"static"},ah=["meta","html","script","style"],va=xs.roles.keys(),nh=va.filter(e=>xs.roles.get(e)?.abstract),ZE=va.filter(e=>!nh.includes(e)),ld=ZE.filter(e=>{let t=xs.roles.get(e);return!["toolbar","tabpanel","generic","cell"].includes(e)&&!t?.superClass.some(r=>r.includes("widget")||r.includes("window"))}).concat("progressbar"),oh=ZE.filter(e=>!ld.includes(e)&&e!=="generic"),eT=["presentation","none"],lh=[],uh=[];for(let[e,t]of xs.elementRoles.entries())[...t].every(r=>r!=="generic"&&ld.includes(r))&&lh.push(e),[...t].every(r=>oh.includes(r))&&uh.push(e);var AB=[...Li.AXObjects.keys()].filter(e=>Li.AXObjects.get(e).type==="widget"),ch=[],ph=[],PB=[...Li.AXObjects.keys()].filter(e=>["windows","structure"].includes(Li.AXObjects.get(e).type));for(let[e,t]of Li.elementAXObjects.entries())[...t].every(r=>AB.includes(r))&&ch.push(e),[...t].every(r=>PB.includes(r))&&ph.push(e);var Ni=qs(Km(),1),dd=qs(rh(),1);function fd(e,t){let r=new Map,i=new Set,s=[],a=e.type==="SvelteElement",n=!1,u=!1,p=!1;for(let l of e.attributes)switch(l.type){case"Attribute":{De(l)?i.add(l.name.slice(2)):(s.push(l),r.set(l.name,l),l.name==="contenteditable"&&(u=!0));break}case"SpreadAttribute":{n=!0;break}case"BindDirective":{Hi(l.name)&&(p=!0);break}case"OnDirective":{i.add(l.name);break}}let d=$B(e.name,r),f=d===Mr.Interactive,h=d===Mr.NonInteractive,_=d===Mr.Static;for(let l of e.attributes){if(l.type!=="Attribute")continue;let y=l.name.toLowerCase();if(y.startsWith("aria-")){ah.includes(e.name)&&P_(l,e.name);let x=y.slice(5);if(!ih.includes(x)){let q=Vr(x,ih);ub(l,x,q)}y==="aria-hidden"&&n_.test(e.name)&&O_(l,e.name);let T=rt(l),P=Ni.aria.get(y);P!==void 0&&NB(l,y,P,T),y==="aria-activedescendant"&&!a&&!f&&!r.has("tabindex")&&!n&&A_(l)}switch(y){case"role":{ah.includes(e.name)&&X_(l,e.name);let x=rt(l);if(typeof x!="string")break;for(let T of x.split(Aa)){let P=T;if(P&&rT(P))Z_(l,P);else if(P&&!va.includes(P)){let N=Vr(P,va);cb(l,P,N)}if(P===tT(e.name,r)&&!["ul","ol","li","menu"].includes(e.name)&&!(e.name==="a"&&!r.has("href"))&&nf(l,P),fh(t.path,["section","article"])||P===UE.get(e.name)&&nf(l,P),!a&&!IB(P,e.name,r)){let N=Ni.roles.get(P);if(N){let F=Object.keys(N.requiredProps);!n&&F.some(c=>!s.find(m=>m.name===c))&&nb(l,P,$i(F.map(c=>`"${c}"`),"and"))}}!n&&!RB(r)&&!ud(e.name,r)&&!ya(P)&&cd(P)&&_&&!r.get("tabindex")&&[...i].some(F=>sh.includes(F))&&z_(e,P),!n&&f&&(dh(P)||ya(P))&&eb(e,e.name,P),!n&&h&&cd(P)&&!WE[e.name]?.includes(P)&&rb(e,e.name,P)}break}case"accesskey":{T_(l);break}case"autofocus":{e.name!=="dialog"&&!fh(t.path,["dialog"])&&$_(l);break}case"scope":{!a&&e.name!=="th"&&Y_(l);break}case"tabindex":{let x=rt(l);!isNaN(x)&&+x>0&&ab(l);break}}}let g=r.get("role"),E=ci(g);if(i.has("click")){let l=E!==null&&!ya(E);!a&&!ud(e.name,r)&&(!g||l)&&!f&&!n&&(i.has("keydown")||i.has("keyup")||i.has("keypress")||I_(e,e.name))}let S=g?E:tT(e.name,r);if(!a&&!f&&!cd(E)){let l=r.get("tabindex"),y=ci(l);l&&(y===null||Number(y)>=0)&&ib(e)}if(typeof S=="string"&&Ni.roles.has(S)){let{props:l}=Ni.roles.get(S),y=Ni.aria.keys().filter(T=>!(T in l)),x=S&&g===void 0;for(let T of s)y.includes(T.name)&&(x?lb(T,T.name,S,e.name):ob(T,T.name,S))}if(!n&&!u&&!ud(e.name,r)&&!ya(E)&&(!f&&dh(E)||h&&!g)&&[...i].some(y=>VE.includes(y))&&tb(e,e.name),!n&&(!g||E!==null)&&!ud(e.name,r)&&!ya(E)&&!f&&!cd(E)&&!h&&!dh(E)&&!rT(E)){let l=[...i].filter(y=>sh.includes(y));l.length>0&&sb(e,e.name,$i(l))}!n&&i.has("mouseover")&&!i.has("focus")&&!i.has("focusin")&&af(e,"mouseover","focus"),!n&&i.has("mouseout")&&!i.has("blur")&&!i.has("focusout")&&af(e,"mouseout","blur");let o=r.has("aria-label")||r.has("aria-labelledby")||r.has("title");switch(e.name){case"a":case"button":{let l=rt(r.get("aria-hidden"))==="true"||rt(r.get("inert"))!==null;if(!n&&!l&&!o&&!hh(e)&&q_(e),e.name==="button")break;let y=r.get("href")||r.get("xlink:href");if(y){let x=ci(y);x!==null&&(x===""||x==="#"||l_.test(x))&&G_(y,x,y.name)}else if(!n){let x=rt(r.get("id")),T=rt(r.get("name")),P=rt(r.get("aria-disabled"));!x&&!T&&P!=="true"&&mh(e,["href"])}break}case"input":{let l=r.get("type"),y=ci(l);if(y==="image"&&!n){let T=["alt","aria-label","aria-labelledby"];T.some(q=>r.has(q))||mh(e,T,'input type="image"')}let x=r.get("autocomplete");if(l&&x){let T=rt(x);qB(T)||R_(x,T,y??"...")}break}case"img":{let l=ci(r.get("alt")),y=rt(r.get("aria-hidden"));l&&!y&&!n&&u_.test(l)&&D_(e);break}case"label":{let l=y=>{let x=!1;return oe(y,{},{_(T,{next:P}){T.type==="SvelteElement"||T.type==="SlotElement"||T.type==="Component"||T.type==="RenderTag"||T.type==="RegularElement"&&(FE.includes(T.name)||T.name==="slot")?x=!0:P()}}),x};!n&&!r.has("for")&&!l(e)&&W_(e);break}case"video":{let l=r.get("aria-hidden"),y=l&&rt(l);if(r.has("muted")||y==="true"||n||!r.has("src"))return;let x=!1,T=e.fragment.nodes.find(P=>P.type==="RegularElement"&&P.name==="track");T&&(x=T.attributes.some(P=>P.type==="SpreadAttribute"||P.type==="Attribute"&&P.name==="kind"&&rt(P)==="captions")),x||K_(e);break}case"figcaption":{fh(t.path,["figure"])||N_(e);break}case"figure":{let l=e.fragment.nodes.filter(x=>x.type==="Comment"?!1:x.type==="Text"?sr.test(x.data):!0),y=l.findIndex(x=>x.type==="RegularElement"&&x.name==="figcaption");y!==-1&&y!==0&&y!==l.length-1&&L_(l[y]);break}}if(!n&&e.name!=="a"){let l=DE[e.name];l&&(l.some(x=>r.has(x))||mh(e,l))}BE.includes(e.name)&&M_(e,e.name),!n&&!o&&!p&&jE.includes(e.name)&&!hh(e)&&Q_(e,e.name)}function ya(e){return eT.includes(e)}function ud(e,t){if(e==="input"&&rt(t.get("type"))==="hidden")return!0;let r=t.get("aria-hidden");if(!r)return!1;let i=rt(r);return i===null?!0:i===!0||i==="true"}function RB(e){if(rt(e.get("disabled")))return!0;let r=e.get("aria-disabled");return!!(r&&rt(r)==="true")}function $B(e,t){return uh.some(r=>pd(r,e,t))?Mr.Interactive:e!=="header"&&lh.some(r=>pd(r,e,t))?Mr.NonInteractive:ch.some(r=>pd(r,e,t))?Mr.Interactive:ph.some(r=>pd(r,e,t))?Mr.NonInteractive:Mr.Static}function IB(e,t,r){for(let[i,s]of dd.elementAXObjects.entries())if(i.name===t&&(!i.attributes||i.attributes.every(a=>r.has(a.name)&&rt(r.get(a.name))===a.value)))for(let a of s){let n=dd.AXObjectRoles.get(a);if(n){for(let{name:u}of n)if(u===e)return!0}}return!1}function qB(e){if(e===!0)return!1;if(!e)return!0;let t=e.trim().toLowerCase().split(Aa);if(typeof t[0]=="string"&&t[0].startsWith("section-")&&t.shift(),XE.includes(t[0])&&t.shift(),YE.includes(t[0]))t.shift();else if(JE.includes(t[0])&&t.shift(),QE.includes(t[0]))t.shift();else return!1;return t[0]==="webauthn"&&t.shift(),t.length===0}function MB(e){let t=e.get("type");if(!t)return;let r=ci(t);return r?e.has("list")&&KE.includes(r)?"combobox":GE.get(r):void 0}function LB(e){let t=e.get("type");if(!t)return;let r=ci(t);if(r)return zE.get(r)}function tT(e,t){return e==="menuitem"?LB(t):e==="input"?MB(t):HE.get(e)}function dh(e){return ld.includes(e)}function cd(e){return oh.includes(e)}function rT(e){return nh.includes(e)}function ci(e){let t=rt(e);return t===!0?null:t}function rt(e){return e?e.value===!0?!0:ve(e)?e.value[0].data:null:null}function hh(e){for(let t of e.fragment.nodes)if(!(t.type==="Text"&&t.data.trim()==="")){if(t.type==="RegularElement"||t.type==="SvelteElement"){if(t.attributes.some(r=>r.type==="Attribute"&&r.name==="popover"))continue;if(t.name==="img"&&t.attributes.some(r=>r.type==="Attribute"&&r.name==="alt")||t.name==="selectedcontent")return!0;if(!hh(t))continue}return!0}}function pd(e,t,r){return e.name!==t?!1:e.attributes?e.attributes.every(i=>{let s=r.get(i.name);return!(!s||i.value&&i.value!==ci(s))}):!0}function fh(e,t){let r=e.length;for(;r--;){let i=e[r];if(i.type==="SvelteElement")return!0;if(i.type==="RegularElement")return t.includes(i.name)}return!1}function NB(e,t,r,i){let s=r.type;if(i!==null)switch(i===!0&&(i=""),s){case"id":case"string":{i===""&&sf(e,t,"non-empty string");break}case"number":{(i===""||isNaN(+i))&&sf(e,t,"number");break}case"boolean":{i!=="true"&&i!=="false"&&B_(e,t);break}case"idlist":{i===""&&j_(e,t);break}case"integer":{(i===""||!Number.isInteger(+i))&&F_(e,t);break}case"token":{let a=(r.values??[]).map(n=>n.toString());a.includes(i.toLowerCase())||V_(e,t,$i(a.map(n=>`"${n}"`)));break}case"tokenlist":{let a=(r.values??[]).map(n=>n.toString());i.toLowerCase().split(Aa).some(n=>!a.includes(n))&&U_(e,t,$i(a.map(n=>`"${n}"`)));break}case"tristate":{i!=="true"&&i!=="false"&&i!=="mixed"&&H_(e,t);break}}}function mh(e,t,r=e.name){let i=a_.test(t[0])||t[0]==="href"?"an":"a",s=t.length>1?t.slice(0,-1).join(", ")+` or ${t[t.length-1]}`:t[0];J_(e,r,i,s)}var _h=["preventDefault","stopPropagation","stopImmediatePropagation","capture","once","passive","nonpassive","self","trusted"];function md(e,t){let r=!1,i=null,s=null;for(let a of e.attributes)if(a.type==="Attribute"){let n=Ar(a);if(t.state.analysis.runes&&(Mn(a,e),n)){let p=Lt(a);if(p.type==="SequenceExpression"){let d=p.start;for(;--d>0;){let f=t.state.analysis.source[d];if(f==="(")break;f==="{"&&on(p)}}}o_.test(a.name)&&Qy(a,a.name),a.name.startsWith("on")&&a.name.length>2&&(n||Yy(a),si(a,t)),a.name==="slot"&&hs(t,a),a.name==="is"&&Ab(a);let u=OB.get(a.name);u&&$b(a,a.name,u),qn(a)}else if(a.type==="AnimateDirective"){let n=t.path.at(-2);n?.type!=="EachBlock"?Nf(a):n.key?n.body.nodes.filter(u=>u.type!=="Comment"&&u.type!=="ConstTag"&&u.type!=="DeclarationTag"&&(u.type!=="Text"||u.data.trim()!=="")).length>1&&Nf(a):zy(a),r?Hy(a):r=!0}else if(a.type==="TransitionDirective"){let n=a.intro&&i||a.outro&&s;if(n){let u=n.intro?n.outro?"transition":"in":"out",p=a.intro?a.outro?"transition":"in":"out";u===p?b0(a,u):_0(a,u,p)}a.intro&&(i=a),a.outro&&(s=a)}else if(a.type==="OnDirective"){let n=!1,u="";for(let p of a.modifiers){if(!_h.includes(p)){let d=`${_h.slice(0,-1).join(", ")} or ${_h.at(-1)}`;wg(a,d)}p==="passive"?n=!0:(p==="nonpassive"||p==="preventDefault")&&(u=p),n&&u&&kg(a,"passive",u)}}}var OB=new Map([["className","class"],["htmlFor","for"]]);function iT(e,t){if(md(e,t),fd(e,t),e.metadata.path=[...t.path],t.state.analysis.elements.push(e),e.name==="textarea"&&e.fragment.nodes.length>0){for(let a of e.attributes)a.type==="Attribute"&&a.name==="value"&&f0(e);if(e.fragment.nodes.length>1||e.fragment.nodes[0].type!=="Text"){let a=e.fragment.nodes[0];a.type==="Text"&&(a.data=a.data.replace(hi,""),a.raw=a.raw.replace(hi,"")),e.attributes.push(Xt("value",null,-1,-1,e.fragment.nodes)),e.fragment.nodes=[]}}if(e.name==="select"&&!qa){for(let a of e.attributes)if(a.type==="BindDirective"&&a.name==="value"&&a.expression.type!=="SequenceExpression"){let n=Ve(a.expression),u=n&&t.state.scope.get(n.name);if(u)for(let p of t.state.scope.references.keys()){if(p===u.node.name)continue;let d=t.state.scope.get(p);d&&u.legacy_indirect_bindings.add(d)}break}}if(e.name==="option"&&e.fragment.nodes?.length===1&&e.fragment.nodes[0].type==="ExpressionTag"&&!e.attributes.some(a=>a.type==="Attribute"&&a.name==="value")){let a=e.fragment.nodes[0];e.metadata.synthetic_value_node=a}(ti(e)||e.name==="selectedcontent")&&(e.fragment.metadata.dynamic=!0,ue(t.path));let r=t.state.scope.get(e.name);r!==null&&r.declaration_kind==="import"&&r.references.length===0&&Lb(e,e.name),e.metadata.has_spread=e.attributes.some(a=>a.type==="SpreadAttribute");let i=()=>{if(Gi(e.name))return!0;if(e.name==="a"||e.name==="title"){let a=t.path.length;for(;a--;){let n=t.path[a];if(n.type==="RegularElement")return n.metadata.svg}}return!1};if(e.metadata.svg=i(),e.metadata.mathml=Qd(e.name),Ct(e)&&e.attributes.length>0&&ue(t.path),t.state.parent_element){let a=!1,n=!1,u=[t.state.parent_element];for(let p=t.path.length-1;p>=0;p--){let d=t.path[p];if((d.type==="IfBlock"||d.type==="EachBlock"||d.type==="AwaitBlock"||d.type==="KeyBlock")&&(n=!0),a){if(d.type==="RegularElement"){u.push(d.name);let f=F0(e.name,u);f&&(n?uf(e,f):Ci(e,f))}else if(d.type==="Component"||d.type==="SvelteComponent"||d.type==="SvelteElement"||d.type==="SvelteSelf"||d.type==="SnippetBlock")break}else if(d.type==="RegularElement"&&d.name===t.state.parent_element){let f=cs(e.name,t.state.parent_element);f&&(n?uf(e,f):Ci(e,f)),a=!0}}}let s=e.name.replace(/[a-zA-Z-]*:/g,"");if(t.state.analysis.source[e.end-2]==="/"&&!Vt(s)&&!Gi(s)&&!Qd(s)&&Nb(e,e.name),t.next({...t.state,parent_element:e.name}),e.name==="a"&&!t.state.parent_element){for(let a of e.fragment.nodes)if(a.type==="RegularElement"&&a.metadata.svg&&a.name!=="svg"){e.metadata.svg=!0;break}}}function sT(e,t){tt(e,t.state,"@"),e.metadata.path=[...t.path];let r=ei(e.expression),i=r.callee,s=i.type==="Identifier"?t.state.scope.get(i.name):null;e.metadata.dynamic=s?.kind!=="normal";let a=i.type==="Identifier"&&Ln(s);s?.initial?.type==="SnippetBlock"&&e.metadata.snippets.add(s.initial),t.state.analysis.snippet_renderers.set(e,a),t.state.analysis.uses_render_tags=!0;let n=ei(e.expression).arguments;for(let u of n)u.type==="SpreadElement"&&qg(u);i.type==="MemberExpression"&&i.property.type==="Identifier"&&["bind","apply","call"].includes(i.property.name)&&$g(e),ue(t.path),t.visit(i,{...t.state,expression:e.metadata.expression});for(let u of r.arguments){let p=new $e;e.metadata.arguments.push(p),t.visit(u,{...t.state,expression:p})}}function aT(e,t){t.state.analysis.runes&&!t.state.analysis.custom_element&&jb(e),ue(t.path);let r="default";for(let i of e.attributes)i.type==="Attribute"?i.name==="name"&&(ve(i)||Bg(i),r=i.value[0].data,r==="default"&&jg(i)):i.type!=="SpreadAttribute"&&i.type!=="LetDirective"&&Dg(i);t.state.analysis.slot_names.set(r,e),t.next()}function nT(e,t){t.state.analysis.snippets.add(e),yt(e.body,t),t.state.analysis.runes&&tt(e,t.state,"#");for(let a of e.parameters)a.type==="RestElement"&&Ug(a);t.next({...t.state,parent_element:null});let r=t.path.length===1&&t.path[0].type==="Fragment";if(r){let a=e.expression.name;if(t.state.analysis.instance.scope.declarations.has(a)&&is(e.expression,a),e.metadata.can_hoist=r&&oT(t.state.scope,t.state.scopes),e.metadata.can_hoist){let n=e.expression.name,u=t.state.scope.get(n);t.state.analysis.module.scope.declarations.set(n,u)}}let{path:i}=t,s=i.at(-2);s&&(s.type==="Component"&&s.attributes.some(a=>(a.type==="Attribute"||a.type==="BindDirective")&&a.name===e.expression.name)&&Hg(e,e.expression.name),e.expression.name==="children"&&(s.type==="Component"||s.type==="SvelteComponent"||s.type==="SvelteSelf")&&s.fragment.nodes.some(a=>a.type!=="SnippetBlock"&&(a.type!=="Text"||a.data.trim())&&a.type!=="Comment")&&Vg(e))}function oT(e,t,r=new Set){for(let[i]of e.references){let s=e.get(i);if(s){if(s.blocker)return!1;if(s.scope.function_depth!==0&&!(s.scope.function_depth>=e.function_depth)){if(s.initial?.type==="SnippetBlock"){if(r.has(s))continue;r.add(s);let a=t.get(s.initial);if(oT(a,t,r))continue}return!1}}}return!0}function lT(e,t){ue(t.path),t.next({...t.state,expression:e.metadata.expression})}function uT(e,t){t.state.expression&&(t.state.expression.has_call=!0,t.state.expression.has_state=!0),t.next()}function cT(e,t){if((e.modifiers.length>1||e.modifiers.length&&e.modifiers[0]!=="important")&&zg(e),ue(t.path),e.value===!0){let r=t.state.scope.get(e.name);r&&(r.kind!=="normal"&&(e.metadata.expression.has_state=!0),r.blocker&&e.metadata.expression.dependencies.add(r))}else{t.next();for(let r of Zr(e.value))r.type==="ExpressionTag"&&e.metadata.expression.merge(r.metadata.expression)}}function pT(e,t){ri(e);for(let r of e.attributes)r.type==="Attribute"&&De(r)?si(r,t):(r.type==="SpreadAttribute"||r.type==="Attribute")&&Wg(r);t.next()}function dT(e,t){t.state.analysis.runes&&Fb(e),t.visit(e.expression,{...t.state,expression:e.metadata.expression}),_s(e,t)}function fT(e,t){ri(e);for(let r of e.attributes)r.type==="Attribute"&&De(r)?si(r,t):(r.type==="SpreadAttribute"||r.type==="Attribute")&&pn(r,"svelte:document");t.next()}function mT(e,t){md(e,t),fd(e,t),e.metadata.path=[...t.path],t.state.analysis.elements.push(e);let r=e.attributes.find(i=>i.type==="Attribute"&&i.name==="xmlns"&&ve(i));if(r)e.metadata.svg=r.value[0].data===Ra,e.metadata.mathml=r.value[0].data===$a;else{let i=t.path.length;for(;i--;){let s=t.path[i];if(s.type==="Component"||s.type==="SvelteComponent"||s.type==="SvelteFragment"||s.type==="SnippetBlock"||i===0){e.metadata.svg=t.state.options.namespace==="svg",e.metadata.mathml=t.state.options.namespace==="mathml";break}if(s.type==="SvelteElement"||s.type==="RegularElement"){e.metadata.svg=s.type==="RegularElement"&&s.name==="foreignObject"?!1:s.metadata.svg,e.metadata.mathml=s.type==="RegularElement"&&s.name==="foreignObject"?!1:s.metadata.mathml;break}}}ue(t.path),t.visit(e.tag,{...t.state,expression:e.metadata.expression});for(let i of e.attributes)t.visit(i);t.visit(e.fragment,{...t.state,parent_element:null})}function hT(e,t){let r=t.path.at(-2);r?.type!=="Component"&&r?.type!=="SvelteComponent"&&Zg(e);for(let i of e.attributes)i.type==="Attribute"?i.name==="slot"&&hs(t,i):i.type!=="LetDirective"&&Qg(i);t.next({...t.state,parent_element:null})}function _T(e,t){for(let r of e.attributes)e0(r);ue(t.path),t.next()}function bT(e,t){if(t.path.some(i=>i.type==="IfBlock"||i.type==="EachBlock"||i.type==="Component"||i.type==="SnippetBlock")||c0(e),t.state.analysis.runes){let i=Be===gr?"Self":t.state.analysis.name,s=Be===gr?"Self.svelte":Be.split(/[/\\]/).pop();Ub(e,i,s)}_s(e,t)}function vT(e,t){ri(e);for(let r of e.attributes)r.type==="Attribute"&&De(r)?si(r,t):(r.type==="SpreadAttribute"||r.type==="Attribute")&&pn(r,"svelte:window");t.next()}var DB=["onerror","failed","pending"];function yT(e,t){for(let r of e.attributes)(r.type!=="Attribute"||!DB.includes(r.name))&&Kg(r),(r.value===!0||Array.isArray(r.value)&&(r.value.length!==1||r.value[0].type!=="ExpressionTag"))&&Xg(r);ue(t.path),t.next()}function gT(e,t){t.state.expression&&!qr(e.tag,t)&&(t.state.expression.has_call=!0,t.state.expression.has_state=!0),t.next()}function xT(e){bi.test(e.value.cooked??"")&&Ji(e)}function wT(e,t){let r=t.path.at(-1);if(r.type==="Fragment"&&t.state.parent_element&&sr.test(e.data)){let i=cs("#text",t.state.parent_element);i&&Ci(e,i)}bi.lastIndex=0;for(let i of e.data.matchAll(bi)){let s=!1;if(r.type==="Fragment")for(let a of r.nodes){if(a===e)break;a.type==="Comment"&&(s||=zr(a.start+4,a.data,t.state.analysis.runes).includes("bidirectional_control_characters"))}if(!s){let a=i.index+e.start;Ji({start:a,end:a+i[0].length})}}}function kT(e,t){for(let r of e.attributes)m0(r);for(let r of e.fragment.nodes)r.type!=="Text"&&r.type!=="ExpressionTag"&&h0(r);t.next()}function CT(e,t){ue(t.path),t.next({...t.state,expression:e.metadata.expression}),e.metadata.expression.has_await&&zt(e)}function ST(e,t){if(ps(e,e.argument,t),t.state.reactive_statement){let r=e.argument.type==="MemberExpression"?Ve(e.argument):e.argument;if(r?.type==="Identifier"){let i=t.state.scope.get(r.name);i&&t.state.reactive_statement.assignments.add(i)}}t.state.expression&&(t.state.expression.has_assignment=!0),t.next()}function ET(e,t){ue(t.path),t.next({...t.state,expression:e.metadata.expression}),e.metadata.expression.has_await&&zt(e)}function ga(e,t){if(e!==t)throw new Error("Assertion failed")}function TT(e,t){if(Z0(e,t.state),t.state.analysis.runes){let r=e.init,i=ye(r,t.state.scope),{paths:s}=nt(e.id,w("dummy"));for(let a of s)ii(t.state.scope.get(a.node.name));if(i==="$state"||i==="$state.raw"||i==="$derived"||i==="$derived.by"||i==="$props")for(let a of s){let n=t.state.scope.get(a.node.name);if(n.kind=i==="$state"?"state":i==="$state.raw"?"raw_state":i==="$derived"||i==="$derived.by"?"derived":a.is_rest?"rest_prop":"prop",i==="$props"&&n.kind==="rest_prop"&&e.id.type==="ObjectPattern"){let{properties:u}=e.id,p=[];for(let d of u){if(d.type==="RestElement")continue;let f=d.key;p.push(f.type==="Identifier"?f.name:f.value.toString())}(n.metadata??={}).exclude_props=p}}if(i==="$props"){if(e.id.type!=="ObjectPattern"&&e.id.type!=="Identifier"&&yy(e),t.state.analysis.custom_element&&t.state.options.customElementOptions?.props==null){let a;(e.id.type==="Identifier"||(a=e.id.properties.find(n=>n.type==="RestElement"))!=null)&&vb(a??e.id)}if(t.state.analysis.needs_props=!0,e.id.type==="Identifier"){let a=t.state.scope.get(e.id.name);a.initial=null,a.kind="rest_prop"}else{ga(e.id.type,"ObjectPattern");for(let a of e.id.properties){if(a.type!=="Property")continue;a.computed&&$f(a),a.key.type==="Identifier"&&a.key.name.startsWith("$$")&&tn(a);let n=a.value.type==="AssignmentPattern"?a.value.left:a.value;n.type!=="Identifier"&&$f(a);let u=a.key.type==="Identifier"?a.key.name:String(a.key.value),p=a.value.type==="AssignmentPattern"?a.value.right:null,d=t.state.scope.get(n.name);d.prop_alias=u,p?.type==="CallExpression"&&p.callee.type==="Identifier"&&p.callee.name==="$bindable"?(d.initial=p.arguments[0]??null,d.kind="bindable_prop"):d.initial=p}}}}else if(e.init?.type==="CallExpression"){let r=e.init.callee;r.type==="Identifier"&&(r.name==="$state"||r.name==="$derived"||r.name==="$props")&&t.state.scope.get(r.name)?.kind!=="store_sub"&&Sy(e.init,r.name)}e.init&&ye(e.init,t.state.scope)==="$props"?(t.visit(e.id,{...t.state,function_depth:t.state.function_depth+1}),t.visit(e.init)):t.next()}var AT={_(e,{state:t,next:r,path:i}){let s=i.at(-1),a=[];if(s?.type==="Fragment"&&e.type!=="Comment"&&e.type!=="Text"){let u=s.nodes.indexOf(e);for(let p=u-1;p>=0;p--){let d=s.nodes[p];if(d.type==="Comment")a.push(...zr(d.start+4,d.data,t.analysis.runes));else if(d.type!=="Text")break}}else{let u=e.leadingComments;if(u)for(let p of u)a.push(...zr(p.start+2,p.value,t.analysis.runes))}a.length>0&&k_(a),xr.set(e,w_());let n=t.scopes.get(e);r(n!==void 0&&n!==t.scope?{...t,scope:n}:t),a.length>0&&C_()},AnimateDirective:gx,ArrowFunctionExpression:vx,AssignmentExpression:yx,AttachTag:xx,Attribute:wx,AwaitBlock:kx,AwaitExpression:Cx,BindDirective:Sx,CallExpression:Ex,ClassBody:Tx,ClassDeclaration:Ax,ClassDirective:Px,Component:$x,ConstTag:qx,DeclarationTag:Ix,DebugTag:Mx,EachBlock:Lx,ExportDefaultDeclaration:Ox,ExportNamedDeclaration:Dx,ExportSpecifier:Bx,ExpressionStatement:jx,ExpressionTag:Fx,Fragment:Vx,FunctionDeclaration:Ux,FunctionExpression:Hx,HtmlTag:zx,Identifier:Gx,IfBlock:Wx,ImportDeclaration:Kx,KeyBlock:Xx,LabeledStatement:Yx,LetDirective:Jx,Literal:Qx,MemberExpression:Zx,NewExpression:e1,OnDirective:t1,PropertyDefinition:r1,RegularElement:iT,RenderTag:sT,SlotElement:aT,SnippetBlock:nT,SpreadAttribute:lT,SpreadElement:uT,StyleDirective:cT,SvelteBody:pT,SvelteComponent:dT,SvelteDocument:fT,SvelteElement:mT,SvelteFragment:hT,SvelteHead:_T,SvelteSelf:bT,SvelteWindow:vT,SvelteBoundary:yT,TaggedTemplateExpression:gT,TemplateElement:xT,Text:wT,TransitionDirective:CT,TitleElement:kT,UpdateExpression:ST,UseDirective:ET,VariableDeclarator:TT};function PT(e,t,r,i){let s=e?.content??{type:"Program",sourceType:"module",start:-1,end:-1,body:[]},{scope:a,scopes:n,has_await:u}=km(s,t,r,i);return{ast:s,scope:a,scopes:n,has_await:u}}function jB(e){let t=e.split(/[/\\]/),r=t.pop(),i=t.at(-1),s=r.replace(".svelte","");return s==="index"&&i&&i!=="src"&&(s=i),s[0].toUpperCase()+s.slice(1)}var FB=["$$props","$$restProps","$$slots"];function bh(e,t,r){let i=new Pn,s=PT(e.module,i,!1,null),a=PT(e.instance,i,!0,s.scope),{scope:n,scopes:u,has_await:p}=km(e.fragment,i,!1,a.scope),d={ast:e.fragment,scope:n,scopes:u},f=[],h=r.runes?.({filename:r.filename});for(let[T,P]of s.scope.references){if(T[0]!=="$"||FB.includes(T))continue;(T==="$"||T[1]==="$")&&Pf(P[0].node,T);let q=T.slice(1),N=a.scope.get(q),F=N?.initial;if(h===!1||!ar(T)||N!==null&&(ye(F,a.scope)===null||q!=="props"&&ye(F,a.scope)==="$props")&&!(T==="$derived"&&N.initial?.type==="ImportDeclaration"&&N.initial.source.value==="svelte/store")){let ne;e:for(let m of P)for(let b=m.path.length-1;b>=0;b--){let k=u.get(m.path[b])||s.scopes.get(m.path[b])||a.scopes.get(m.path[b]);if(k){let R=k?.owner(q);if(R&&R!==s.scope&&R!==a.scope){ne=m.node;break e}break}}if(ne&&Iy(ne),h!==!1){if(N===null&&/[a-z]/.test(q[0]))Pf(P[0].node,T);else if(N!==null&&ar(T))for(let{node:m,path:b}of P)b.at(-1)?.type==="CallExpression"&&Eb(m,q)}if(s.ast)for(let{node:m,path:b}of P)m.start>s.ast.start&&m.end<s.ast.end&&ye(b.at(-1),s.scope)===null&&qy(m);f.push(()=>{N!==null&&N.kind==="normal"&&N.declaration_kind==="let"&&N.reassigned&&(N.kind="state")});let c=a.scope.declare(w(T),"store_sub","synthetic");c.references=P,a.scope.references.set(T,P),s.scope.references.delete(T)}}let _=jB(r.filename),g=h??(p||a.has_await||Array.from(s.scope.references.keys()).some(ar));if(!g)for(let T of f)T();if(g&&e.module){let T=e.module.attributes.find(P=>P.name==="context");T&&Db(T)}let E=r.customElement({filename:r.filename}),S=r.css({filename:r.filename}),o=r.customElementOptions??E,l=!!r.customElementOptions||E,y=s.scope.generate(r.name??_);S_({component_name:y,dev:r.dev,rootDir:r.rootDir,runes:g});let x={name:y,root:i,module:s,instance:a,template:d,comments:e.comments,elements:[],runes:g,maybe_runes:!g&&h!==!1&&![...s.scope.references.keys()].some(T=>["$$props","$$restProps"].includes(T))&&!a.ast.body.some(T=>T.type==="LabeledStatement"||T.type==="ExportNamedDeclaration"&&(T.declaration&&T.declaration.type==="VariableDeclaration"&&T.declaration.kind==="let"||T.specifiers.some(P=>P.local.type==="Identifier"&&a.scope.get(P.local.name)?.declaration_kind==="let"))),tracing:!1,classes:new Map,immutable:g||r.immutable,exports:[],uses_props:!1,props_id:null,uses_rest_props:!1,uses_slots:!1,uses_component_bindings:!1,uses_render_tags:!1,needs_context:!1,needs_mutation_validation:!1,needs_props:!1,event_directive_node:null,uses_event_attributes:!1,custom_element:o,inject_styles:S==="injected"||l,accessors:l||(g?!1:!!r.accessors)||r.compatibility?.componentApi===4,reactive_statements:new Map,binding_groups:new Map,slot_names:new Map,css:{ast:e.css,hash:e.css?r.cssHash({css:e.css.content.styles,filename:Be,name:_,hash:Vi}):"",keyframes:[],has_global:!1},source:t,snippet_renderers:new Map,snippets:new Set,async_deriveds:new Map,pickled_awaits:new Set,instance_body:{sync:[],async:[],declarations:[],hoisted:[]}};if(!g){for(let T of a.ast.body)if(T.type==="ExportNamedDeclaration")if(x.needs_props=!0,T.declaration){if(T.declaration.type==="FunctionDeclaration"||T.declaration.type==="ClassDeclaration")x.exports.push({name:T.declaration.id.name,alias:null});else if(T.declaration.type==="VariableDeclaration")if(T.declaration.kind==="const")for(let P of T.declaration.declarations)for(let q of _e(P.id))x.exports.push({name:q.name,alias:null});else for(let P of T.declaration.declarations)for(let q of _e(P.id)){let N=a.scope.get(q.name);N.kind="bindable_prop"}}else for(let P of T.specifiers){if(P.local.type!=="Identifier"||P.exported.type!=="Identifier")continue;let q=a.scope.get(P.local.name);q&&(q.declaration_kind==="var"||q.declaration_kind==="let")?(q.kind="bindable_prop",P.exported.name!==P.local.name&&(q.prop_alias=P.exported.name)):x.exports.push({name:P.local.name,alias:P.exported.name})}for(let T of a.scope.declarations.values())if(T.kind==="normal")for(let{node:P,path:q}of T.references)P!==T.node&&T.updated&&(q[q.length-1].type==="StyleDirective"||q.some(N=>N.type==="Fragment")||q[1].type==="LabeledStatement"&&q[1].label.name==="$")&&(T.kind="state");oe(d.ast,null,{EachBlock(T){let P=d.scopes.get(T);for(let q of P.declarations.values())if(q.updated){let N={scope:P.parent,scopes:d.scopes};oe(T.expression,N,{_:ds,Identifier(F,ne){let c=ne.path.at(-1);if(et(F,c)){let m=ne.state.scope.get(F.name);m&&m.kind==="normal"&&m.declaration_kind!=="import"&&m.declaration_kind!=="function"&&(m.kind="state",m.mutated=!0)}}});break}}})}if(e.options)for(let T of e.options.attributes)T.name==="accessors"&&x.runes&&La(T),T.name==="customElement"&&!E&&fb(T),T.name==="immutable"&&x.runes&&Na(T);if(VB(a,x),x.runes){let T=s.scope.references.get("$$props");T&&hy(T[0].node);let P=s.scope.references.get("$$restProps");P&&by(P[0].node);for(let{ast:q,scope:N,scopes:F}of[s,a,d]){let ne={scope:N,scopes:F,analysis:x,options:r,ast_type:q===a.ast?"instance":q===d.ast?"template":"module",fragment:q===d.ast?q:null,parent_element:null,in_declaration_tag:!1,has_props_rune:!1,component_slots:new Set,expression:null,state_fields:new Map,function_depth:N.function_depth,reactive_statement:null,derived_function_depth:-1};oe(q,ne,AT)}for(let q of[s.scope,a.scope])e:for(let[N,F]of q.declarations)if(F.kind==="normal"&&F.reassigned){t:for(let{path:ne}of F.references)if(ne[0].type==="Fragment"){for(let c=1;c<ne.length;c+=1){let m=ne[c].type;if(m==="FunctionDeclaration"||m==="FunctionExpression"||m==="ArrowFunctionExpression")continue t;if(m==="BindDirective"&&ne[c].name==="this"){for(let b=c-1;b>=0;b-=1){let k=ne[b].type;if(k==="IfBlock"||k==="EachBlock"||k==="AwaitBlock"||k==="KeyBlock"){of(F.node,N);continue e}}continue t}}of(F.node,N);continue e}}}else{a.scope.declare(w("$$props"),"rest_prop","synthetic"),a.scope.declare(w("$$restProps"),"rest_prop","synthetic");for(let{ast:T,scope:P,scopes:q}of[s,a,d]){let N={scope:P,scopes:q,analysis:x,options:r,fragment:T===d.ast?T:null,parent_element:null,in_declaration_tag:!1,has_props_rune:!1,ast_type:T===a.ast?"instance":T===d.ast?"template":"module",reactive_statement:null,component_slots:new Set,expression:null,state_fields:new Map,function_depth:P.function_depth,derived_function_depth:-1};oe(T,N,AT)}for(let[T,P]of a.scope.declarations)(P.kind==="prop"||P.kind==="bindable_prop")&&P.node.name!=="$$props"&&!P.references.filter(N=>N.node!==P.node&&N.path.at(-1)?.type!=="ExportSpecifier").length&&!a.scope.declarations.has(`$${T}`)&&yb(P.node,T);x.reactive_statements=UB(x.reactive_statements)}for(let T of x.module.ast.body)if(T.type==="ExportNamedDeclaration"&&T.specifiers!==null&&T.source==null)for(let P of T.specifiers){if(P.local.type!=="Identifier")continue;let q=P.local.name,N=x.module.scope.get(q);N?N.initial?.type==="SnippetBlock"&&(x.css.has_global=!0):[...x.snippets].find(F=>F.expression.name===q)?Py(P):oy(P,q)}x.event_directive_node&&x.uses_event_attributes&&Rg(x.event_directive_node,x.event_directive_node.name);for(let[T,P]of x.snippet_renderers){P||(T.metadata.snippets=x.snippets);for(let q of T.metadata.snippets)q.metadata.sites.add(T)}if(x.uses_render_tags&&(x.uses_slots||!x.custom_element&&x.slot_names.size>0)){let T=x.slot_names.values().next().value??x.source.indexOf("$$slot");Fg(T)}if(x.css.ast){lx(x.css.ast,x),dx(x.css.ast,x.elements);let{comment:T}=x.css.ast.content;T&&zr(T.start,T.data,x.runes).includes("css_unused_selector")||bx(x.css.ast)}for(let T of x.elements){T.metadata.scoped&&Ct(T)&&ue(T.metadata.path);let P=!1,q=!1,N=!1,F=!1,ne=!1;for(let c of T.attributes)if(c.type==="SpreadAttribute"){N=!0;break}else c.type==="Attribute"?(P||=c.name.toLowerCase()==="class",q||=c.name.toLowerCase()==="style"):c.type==="ClassDirective"?F=!0:c.type==="StyleDirective"&&(ne=!0);!N&&!P&&(T.metadata.scoped||F)&&T.attributes.push(Xt("class",null,-1,-1,[{type:"Text",data:"",raw:"",start:-1,end:-1}])),!N&&!q&&ne&&T.attributes.push(Xt("style",null,-1,-1,[{type:"Text",data:"",raw:"",start:-1,end:-1}]))}return x}function VB(e,t){let r=(f,h,_,g)=>{g.has(f)||(g.add(f),oe(f,{scope:h},{_(E,S){let o=e.scopes.get(E);o?S.next({scope:o}):S.next()},ImportDeclaration(E){},Identifier(E,S){let o=S.path.at(-1);if(et(E,o)){let l=S.state.scope.get(E.name);if(l){_.add(l);for(let y of l.assignments)r(y.value,y.scope,_,g)}}}}))},i=(f,h,_,g)=>{function E(l,y){for(let x of cr(l)){let T=Ve(x);if(!T)return;let P=y.get(T.name);if(!P)return;_.add(P)}}let S=new Set,o=new Set;oe(f,{scope:g},{_(l,y){let x=e.scopes.get(l);x?y.next({scope:x}):y.next()},AssignmentExpression(l,y){E(l.left,y.state.scope)},UpdateExpression(l,y){E(l.argument,y.state.scope)},CallExpression(l,y){ye(l,y.state.scope)!=="$effect"&&r(l,y.state.scope,_,S)},Identifier(l,y){let x=y.path.at(-1);if(et(l,x)){let T=y.state.scope.get(l.name);T&&h.add(T)}},ReturnStatement(l,y){l.argument&&r(l.argument,y.state.scope,h,o)},ArrowFunctionExpression(l,y){},FunctionDeclaration(l,y){},FunctionExpression(l,y){}})},s=!1,a=[],n=w("$$promises");function u(f,h){t.instance_body.declarations.push(f);let _=e.scope.get(f.name);_.blocker=h}function p(){a.length!==0&&(t.instance_body.async.push({nodes:a,has_await:!1}),a=[])}let d=[];for(let f of e.ast.body){if(f.type==="ImportDeclaration"){t.instance_body.hoisted.push(f);continue}if(f.type==="ExportDefaultDeclaration"||f.type==="ExportAllDeclaration")continue;if(f.type==="ExportNamedDeclaration")if(f.declaration)f=f.declaration;else continue;let h=ur(f);if(s||=h,f.type==="FunctionDeclaration")t.instance_body.sync.push(f),d.push(f);else if(f.type==="VariableDeclaration"){for(let _ of f.declarations)if(ye(_.init,e.scope)!=="$props.id")if(_.init?.type==="ArrowFunctionExpression"||_.init?.type==="FunctionExpression")t.instance_body.sync.push(f.declarations.length===1?f:kt(f.kind,[_])),d.push(_);else if(!s)t.instance_body.sync.push(f.declarations.length===1?f:kt(f.kind,[_]));else{let g=new Set,E=new Set;i(_,g,E,e.scope),h&&p();let S=J(n,$(t.instance_body.async.length),!0);for(let o of E)o.blocker=S;for(let o of _e(_.id))u(o,S);h?t.instance_body.async.push({nodes:[_],has_await:!0}):a.push(_)}}else if(s){let _=new Set,g=new Set;i(f,_,g,e.scope),h&&p();let E=J(n,$(t.instance_body.async.length),!0);for(let S of g)S.blocker=E;f.type==="ClassDeclaration"&&u(f.id,E),h?t.instance_body.async.push({nodes:[f],has_await:!0}):a.push(f)}else t.instance_body.sync.push(f)}if(s){p();for(let[f,h]of e.scope.declarations){if(h.kind!=="store_sub")continue;let _=e.scope.get(f.slice(1))?.blocker;_&&(!h.blocker||h.blocker.property.value<_.property.value)&&(h.blocker=_)}for(let f of d){let h=new Set,_=f.type==="VariableDeclarator"?f.init:f,g=e.scopes.get(_);_.body.type==="BlockStatement"?i(_.body,h,h,g):r(_.body,g,h,new Set);let E=[...h].reduce((l,y)=>{if(y.blocker){let x=y.blocker.property;return Math.max(x.value,l)}return l},-1);if(E===-1)continue;let S=J(n,$(E),!0),o=(f.type==="FunctionDeclaration",e.scope.get(f.id.name));o.blocker=S}}}function UB(e){let t=new Map;for(let[n,u]of e)for(let p of u.assignments){let d=t.get(p.node.name)??[];d.push([n,u]),t.set(p.node.name,d)}let r=[];for(let[,{assignments:n,dependencies:u}]of e)for(let p of n)for(let d of u)n.has(d)||r.push([p.node.name,d.node.name]);let i=ia(r);if(i?.length){let n=t.get(i[0])[0];xy(n[0],i.join(" \u2192 "))}let s=new Map,a=(n,u)=>{if(!s.has(n)){for(let p of u.dependencies)if(!u.assignments.has(p))for(let[d,f]of t.get(p.node.name)??[])a(d,f);s.set(n,u)}};for(let[n,u]of e)a(n,u);return s}var MT=44,HB=59,RT="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",LT=new Uint8Array(64),NT=new Uint8Array(128);for(let e=0;e<RT.length;e++){let t=RT.charCodeAt(e);LT[e]=t,NT[t]=e}function xa(e,t){let r=0,i=0,s=0;do{let n=e.next();s=NT[n],r|=(s&31)<<i,i+=5}while(s&32);let a=r&1;return r>>>=1,a&&(r=-2147483648|-r),t+r}function wa(e,t,r){let i=t-r;i=i<0?-i<<1|1:i<<1;do{let s=i&31;i>>>=5,i>0&&(s|=32),e.write(LT[s])}while(i>0);return t}function $T(e,t){return e.pos>=t?!1:e.peek()!==MT}var IT=1024*16,qT=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(e){return Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}}:{decode(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t}},zB=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(IT)}write(e){let{buffer:t}=this;t[this.pos++]=e,this.pos===IT&&(this.out+=qT.decode(t),this.pos=0)}flush(){let{buffer:e,out:t,pos:r}=this;return r>0?t+qT.decode(e.subarray(0,r)):t}},GB=class{constructor(e){this.pos=0,this.buffer=e}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(e){let{buffer:t,pos:r}=this,i=t.indexOf(e,r);return i===-1?t.length:i}};function vh(e){let{length:t}=e,r=new GB(e),i=[],s=0,a=0,n=0,u=0,p=0;do{let d=r.indexOf(";"),f=[],h=!0,_=0;for(s=0;r.pos<d;){let g;s=xa(r,s),s<_&&(h=!1),_=s,$T(r,d)?(a=xa(r,a),n=xa(r,n),u=xa(r,u),$T(r,d)?(p=xa(r,p),g=[s,a,n,u,p]):g=[s,a,n,u]):g=[s],f.push(g),r.pos++}h||WB(f),i.push(f),r.pos=d+1}while(r.pos<=t);return i}function WB(e){e.sort(KB)}function KB(e,t){return e[0]-t[0]}function Oi(e){let t=new zB,r=0,i=0,s=0,a=0;for(let n=0;n<e.length;n++){let u=e[n];if(n>0&&t.write(HB),u.length===0)continue;let p=0;for(let d=0;d<u.length;d++){let f=u[d];d>0&&t.write(MT),p=wa(t,f[0],p),f.length!==1&&(r=wa(t,f[1],r),i=wa(t,f[2],i),s=wa(t,f[3],s),f.length!==4&&(a=wa(t,f[4],a)))}}return t.flush()}var hd=class e{#e;#t;#r=!1;multiline=!1;constructor(t,r=[]){this.#e=t,this.#t=r}indent(){this.#t.push(2)}dedent(){this.#t.push(3)}margin(){this.#t.push(0)}newline(){this.#r=!0,this.#t.push(1)}space(){this.#t.push(4)}append(t){this.#t.push(t.#t),(this.#r||t.multiline)&&(this.multiline=!0)}write(t,r){r?.loc?(this.location(r.loc.start.line,r.loc.start.column),this.#t.push(t),this.location(r.loc.end.line,r.loc.end.column)):this.#t.push(t),this.#r&&(this.multiline=!0)}location(t,r){this.#t.push({type:"Location",line:t,column:r})}visit(t){let r=this.#e[t.type];if(!r){let i=`Not implemented: ${t.type}`;throw t.type.includes("TS")&&(i+=" (consider using 'esrap/languages/ts')"),t.type.includes("JSX")&&(i+=" (consider using 'esrap/languages/tsx')"),new Error(i)}this.#e._?this.#e._(t,this,i=>r(i,this)):r(t,this)}empty(){return!this.#t.some(DT)}measure(){return OT(this.#t)}new(){return new e(this.#e)}};function OT(e,t=0,r=e.length){let i=0;for(let s=t;s<r;s+=1){let a=e[s];typeof a=="string"?i+=a.length:Array.isArray(a)&&(i+=OT(a))}return i}function DT(e){return Array.isArray(e)?e.some(DT):typeof e=="string"?e.length>0:!1}var yh=()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")};typeof window<"u"&&typeof window.btoa=="function"?yh=e=>window.btoa(unescape(encodeURIComponent(e))):typeof Buffer=="function"&&(yh=e=>Buffer.from(e,"utf-8").toString("base64"));var gh=class{version=3;names=[];constructor(t,r){this.sources=[r.sourceMapSource||null],this.sourcesContent=[r.sourceMapContent||null],this.mappings=r.sourceMapEncodeMappings===!1?t:Oi(t)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+yh(this.toString())}};function xh(e,t,r={}){let i=[];new hd(t,i).visit(e);let a="",n=0,u=[],p=[];function d(l){a+=l;for(let y=0;y<l.length;y+=1)l[y]===`
|
|
209
|
+
`?(u.push(p),p=[],n=0):n+=1}let f=`
|
|
210
|
+
`,h=r.indent??" ",_=!1,g=!1,E=!1;function S(l){if(Array.isArray(l)){for(let y=0;y<l.length;y+=1)S(l[y]);return}if(typeof l=="number"){l===1?_=!0:l===0?g=!0:l===4?E=!0:l===2?f+=h:l===3&&(f=f.slice(0,f.length-h.length));return}if(_?d(g?`
|
|
211
|
+
`+f:f):E&&d(" "),g=_=E=!1,typeof l=="string"){d(l);return}l.type==="Location"&&p.push([n,0,l.line-1,l.column])}for(let l=0;l<i.length;l+=1)S(i[l]);u.push(p);let o;return{code:a,get map(){return o??=new gh(u,r)}}}var Se={JSXFragment:20,JSXElement:20,ArrayPattern:20,ObjectPattern:20,ArrayExpression:20,TaggedTemplateExpression:20,ThisExpression:20,Identifier:20,TemplateLiteral:20,Super:20,SequenceExpression:20,MemberExpression:19,MetaProperty:19,CallExpression:19,ChainExpression:19,ImportExpression:19,NewExpression:19,Literal:18,TSInstantiationExpression:18,TSNonNullExpression:18,TSTypeAssertion:18,AwaitExpression:17,ClassExpression:17,FunctionExpression:17,ObjectExpression:17,UpdateExpression:16,UnaryExpression:15,BinaryExpression:14,TSAsExpression:13,TSSatisfiesExpression:13,LogicalExpression:12,ConditionalExpression:4,ArrowFunctionExpression:3,AssignmentExpression:3,YieldExpression:2,RestElement:1},_d={"||":2,"&&":3,"??":4,"|":5,"^":6,"&":7,"==":8,"!=":8,"===":8,"!==":8,"<":9,">":9,"<=":9,">=":9,in:9,instanceof:9,"<<":10,">>":10,">>>":10,"+":11,"-":11,"*":12,"%":12,"/":12,"**":13},jT=new WeakSet;function Nr(e){if(!(!e||typeof e!="object"))switch(jT.add(e),e.type){case"AssignmentPattern":Nr(e.left);break;case"RestElement":Nr(e.argument);break;case"ArrayPattern":br(e.elements);break;case"ObjectPattern":for(let t of e.properties)Nr(t.type==="Property"?t.value:t);break;case"TSParameterProperty":Nr(e.parameter);break}}function br(e){if(e)for(let t of e)Nr(t)}function Lr(e,t,r,i){e.location(t,r),e.write(i),e.location(t,r+i.length)}function vr(e,t,r){let i=t.loc&&(!r||r(t))?{line:t.loc.start.line,col:t.loc.start.column}:null;return s=>{i?(Lr(e,i.line,i.col,s),i.col+=s.length):e.write(s)}}function Ae(e,t,r,i=""){t.loc?(Lr(e,t.loc.start.line,t.loc.start.column,r),e.write(i)):e.write(r+i)}function tj(e){let t=e.loc?.start.line;return t===void 0?!1:e.id?.loc?.start.line===t||e.body?.loc?.start.line===t}function bd(e){return!!(e.loc&&e.loc.start.line===e.loc.end.line)}function rj(e){return!!e.loc&&!e.decorators?.length&&(e.id?e.id.loc?.start.line===e.loc.start.line:e.body.loc.start.line===e.loc.start.line)}function ij(e){return!!(e.loc&&!e.decorators?.length&&e.loc.start.line===e.value.loc?.start.line)}function sj(e){return!e.loc||e.decorators?.length?!1:e.value?.loc?e.loc.start.line===e.value.loc.start.line:!0}function wh(e,t){if(e.type==="Line")t.write(`//${e.value}`);else{t.write("/*");let r=e.value.split(`
|
|
212
|
+
`);for(let i=0;i<r.length;i+=1)i>0&&t.newline(),t.write(r[i]);t.write("*/"),r.length>1&&t.newline()}}var Eh=(e={})=>{let t=e.quotes==="double"?'"':"'",r=e.comments??[],i=0;function s(o,l,y){if(l)for(let x=0;x<l.length;x+=1){let T=l[x];y==="trailing"&&x===0&&o.write(" "),wh(T,o),y==="leading"&&(T.type==="Line"?o.newline():T.type==="Block"&&!T.value.includes(`
|
|
213
|
+
`)&&o.write(" "))}}function a(o){if(!o.loc){i=r.length;return}let l=r[i-1],y=r[i];y&&y.loc&&!ws(y.loc.start,o.loc.start)&&(!l||l.loc&&ws(l.loc.start,o.loc.start))||(i=r.findIndex(x=>x.loc&&o.loc&&!ws(x.loc.start,o.loc.start)),i===-1&&(i=r.length))}function n(o,l,y){for(;i<r.length;){let x=r[i];if(x&&l&&x.loc.start.line===l.line&&(y===null||ws(x.loc.end,y)))if(o.write(" "),wh(x,o),i+=1,x.type==="Line")o.newline();else continue;break}}function u(o,l,y,x,T=!1){let P=!0,q=0;for(;i<r.length;){let N=r[i];if(N&&N.loc&&y&&ws(N.loc.start,y)){P&&l!==null&&N.loc.start.line>l.line&&(o.margin(),o.newline()),P=!1,wh(N,o);let F=T&&N.type==="Block"&&/(?:^|\n)\s*\*\s*@type\s*{/.test(N.value);F&&(o.write(" ("),q+=1),N.loc.end.line<y.line?o.newline():x&&!F&&o.write(" "),i+=1}else break}return q}function p(o){if(!o||o.type!=="Property")return!1;let l=o.value?.type==="AssignmentPattern"?o.value.left:o.value;return l?.type==="ObjectExpression"||l?.type==="ArrayExpression"}function d(o,l){let y=l.attributes??l.assertions;if(!(!y||y.length===0)){o.write(l.attributes?" with { ":" assert { ");for(let x=0;x<y.length;x+=1){let{key:T,value:P}=y[x];o.visit(T),o.write(": "),o.visit(P),x<y.length-1&&o.write(", ")}o.write(" }")}}function f(o,l,y,x,T=",",P=!0){let q=!1,N=-1,F=[],ne=l.map((m,b)=>{let k=o.new();m&&k.visit(m),F[b]=k.multiline,(b<l.length-1||!m)&&k.write(T);let R=b===l.length-1?y:l[b+1]?.loc?.start||null;return n(k,m?.loc?.end||null,R),N+=k.measure()+1,q||=k.multiline,k});q||=N>60,q?(o.indent(),o.newline()):x&&N>0&&o.write(" ");let c=null;for(let m=0;m<l.length;m+=1){let b=ne[m];c!==null&&(F[m-1]&&F[m]&&(!p(l[m-1])||!p(l[m]))&&o.margin(),l[m]&&(q?o.newline():o.write(" "))),o.append(b),c=b}u(o,l[l.length-1]?.loc?.end??null,y,!1),q?(o.dedent(),P&&o.newline()):x&&N>0&&o.write(" ")}function h(o,l){a(l);let y=null,x=!1;for(let T=0;T<l.body.length;T+=1){let P=l.body[T];if(P.type==="EmptyStatement")continue;let q=o.new();q.visit(P),y!==null&&((q.multiline||x||P.type!==y)&&o.margin(),o.newline()),o.append(q),n(o,P.loc?.end||null,l.body[T+1]?.loc?.end??l.loc?.end??null),y=P.type,x=q.multiline}l.loc&&(o.newline(),u(o,l.body[l.body.length-1]?.loc?.end??null,l.loc.end,!1))}let _=e.boundaryTokens===!0;function g(o,l=1){if(_&&o)return{loc:{start:o,end:{line:o.line,column:o.column+l}}}}function E(o){if(_&&!(!o||o.column===0))return{loc:{start:{line:o.line,column:o.column-1},end:o}}}let S={"ArrayExpression|ArrayPattern":(o,l)=>{l.write("[",g(o.loc?.start)),f(l,o.elements,o.loc?.end??null,!1),l.write("]",E(o.loc?.end)),"typeAnnotation"in o&&o.typeAnnotation&&l.visit(o.typeAnnotation)},"BinaryExpression|LogicalExpression":(o,l)=>{ot(l,o.left,Ch(o.left,o,!1)),l.write(` ${o.operator} `),ot(l,o.right,Ch(o.right,o,!0))},"BlockStatement|ClassBody":(o,l)=>{if(o.loc){let{line:x,column:T}=o.loc.start;l.location(x,T),l.write("{"),l.location(x,T+1)}else l.write("{");let y=l.new();if(h(y,o),y.empty()||(l.indent(),l.newline(),l.append(y),l.dedent(),l.newline()),o.loc){let{line:x,column:T}=o.loc.end;l.location(x,T-1),l.write("}"),l.location(x,T)}else l.write("}")},"CallExpression|NewExpression":(o,l)=>{o.type==="NewExpression"&&Ae(l,o,"new"," ");let y=o.callee.type==="ChainExpression"||Se[o.callee.type]<Se.CallExpression||o.type==="NewExpression"&&aj(o.callee);ot(l,o.callee,y),o.optional&&l.write("?."),o.typeArguments&&l.visit(o.typeArguments);let x=l.new(),T=l.new();l.write("("),l.append(x);let P=l.new(),q=l.new();l.append(P),l.append(q);for(let N=0;N<o.arguments.length;N+=1){let F=N===o.arguments.length-1,ne=F?q:P,c=o.arguments[N];F&&c.loc&&r[i]&&r[i].loc&&r[i].loc.start.line<c.loc.start.line&&(P.multiline=!0),ne.visit(c),F||ne.write(",");let m=F?o.loc?.end??null:o.arguments[N+1]?.loc?.start??null;n(ne,c.loc?.end??null,m),F||ne.append(T)}l.multiline||=P.multiline||q.multiline,P.multiline?(x.indent(),x.newline(),T.newline(),l.dedent(),l.newline()):T.write(" "),l.write(")",E(o.loc?.end))},"ClassDeclaration|ClassExpression":(o,l)=>{if(o.decorators)for(let T of o.decorators)l.visit(T);let y=vr(l,o,rj);if(o.declare&&y("declare "),o.abstract&&y("abstract "),y("class "),o.id&&l.visit(o.id),o.typeParameters&&l.visit(o.typeParameters),(o.id||o.typeParameters)&&l.write(" "),o.superClass){l.write("extends ");let T=Se[o.superClass.type]<Se.NewExpression;T&&l.write("("),l.visit(o.superClass),T&&l.write(")");var x=o.superTypeParameters??o.superTypeArguments;x&&l.visit(x),l.write(" ")}o.implements&&o.implements.length>0&&(l.write("implements"),f(l,o.implements,o.body.loc?.start??null,!0)),l.visit(o.body)},"ForInStatement|ForOfStatement":(o,l)=>{let y=vr(l,o);y("for "),o.type==="ForOfStatement"&&o.await&&(bd(o)?y("await "):l.write("await ")),l.write("("),o.left.type==="VariableDeclaration"?kh(o.left,l):l.visit(o.left),l.write(o.type==="ForInStatement"?" in ":" of "),l.visit(o.right),l.write(") "),l.visit(o.body)},"FunctionDeclaration|FunctionExpression":(o,l)=>{if(!o.loc?.start)o.async&&l.write("async "),l.write(o.generator?"function* ":"function ");else{let{line:y,column:x}=o.loc.start;if(o.async)if(tj(o)){Lr(l,y,x,"async ");let T=x+6;Lr(l,y,T,"function"),l.write(o.generator?"* ":" ")}else l.write("async "),l.write(o.generator?"function* ":"function ");else o.generator?(Lr(l,y,x,"function"),l.write("* ")):(Lr(l,y,x,"function"),l.write(" "))}o.id&&Nr(o.id),o.id&&l.visit(o.id),o.typeParameters&&l.visit(o.typeParameters),br(o.params),l.write("("),f(l,o.params,(o.returnType??o.body).loc?.start??null,!1),l.write(")"),o.returnType&&l.visit(o.returnType),l.write(" "),l.visit(o.body)},"MethodDefinition|TSAbstractMethodDefinition":(o,l)=>{if(o.decorators)for(let x of o.decorators)l.visit(x);let y=vr(l,o,ij);(o.abstract||o.type==="TSAbstractMethodDefinition")&&y("abstract "),o.accessibility&&y(o.accessibility+" "),o.override&&y("override "),o.static&&y("static "),(o.kind==="get"||o.kind==="set")&&y(o.kind+" "),o.value.async&&y("async "),o.value.generator&&l.write("*"),o.computed&&l.write("[",E(o.key.loc?.start)),l.visit(o.key),o.computed&&l.write("]",g(o.key.loc?.end)),o.optional&&l.write("?"),o.typeParameters&&l.visit(o.typeParameters),br(o.value.params),l.write("("),f(l,o.value.params,(o.value.returnType??o.value.body)?.loc?.start??o.loc?.end??null,!1),l.write(")"),o.value.returnType&&l.visit(o.value.returnType),o.value.body?(l.write(" "),l.visit(o.value.body)):l.write(";")},"PropertyDefinition|TSAbstractPropertyDefinition|AccessorProperty|TSAbstractAccessorProperty":(o,l)=>{if(o.decorators)for(let x of o.decorators)l.visit(x);let y=vr(l,o,sj);o.declare&&y("declare "),o.accessibility&&y(o.accessibility+" "),(o.abstract||o.type==="TSAbstractPropertyDefinition"||o.type==="TSAbstractAccessorProperty")&&y("abstract "),o.static&&y("static "),o.override&&y("override "),o.readonly&&y("readonly "),(o.accessor||o.type==="AccessorProperty"||o.type==="TSAbstractAccessorProperty")&&y("accessor "),o.computed?(l.write("[",E(o.key.loc?.start)),l.visit(o.key),l.write("]",g(o.key.loc?.end))):l.visit(o.key),o.optional?l.write("?"):o.definite&&l.write("!"),o.typeAnnotation&&(o.type==="AccessorProperty"||o.type==="TSAbstractAccessorProperty"?l.visit(o.typeAnnotation):(l.write(": "),l.visit(o.typeAnnotation.typeAnnotation))),o.value&&(l.write(" = "),l.visit(o.value)),l.write(";"),n(l,(o.value??o.typeAnnotation??o.key).loc?.end??null,null)},"RestElement|SpreadElement":(o,l)=>{l.write("..."),l.visit(o.argument),o.typeAnnotation&&l.visit(o.typeAnnotation)},"TSConstructSignatureDeclaration|TSCallSignatureDeclaration":(o,l)=>{o.type==="TSConstructSignatureDeclaration"&&l.write("new"),o.typeParameters&&l.visit(o.typeParameters),br(o.parameters??o.params),l.write("("),f(l,o.parameters??o.params,(o.typeAnnotation??o.returnType)?.loc?.start??o.loc?.end??null,!1),l.write(")"),(o.typeAnnotation||o.returnType)&&l.visit(o.typeAnnotation??o.returnType)},"TSFunctionType|TSConstructorType":(o,l)=>{o.type==="TSConstructorType"&&(o.abstract&&l.write("abstract "),l.write("new ")),o.typeParameters&&l.visit(o.typeParameters),br(o.parameters??o.params),l.write("("),f(l,o.parameters??o.params,(o.typeAnnotation??o.returnType)?.loc?.start??o.loc?.end??null,!1),l.write(")"),l.write(" => "),l.visit(o.typeAnnotation?.typeAnnotation??o.returnType?.typeAnnotation)}};return{_(o,l,y){s(l,e.getLeadingComments?.(o),"leading");let x=0;o.loc&&(x=u(l,null,o.loc.start,!0,o.type in Se&&!jT.has(o))),y(o),x>0&&l.write(")".repeat(x)),o.type==="JSXEmptyExpression"&&o.loc&&u(l,null,o.loc.end,!1),s(l,e.getTrailingComments?.(o),"trailing")},AccessorProperty:S["PropertyDefinition|TSAbstractPropertyDefinition|AccessorProperty|TSAbstractAccessorProperty"],ArrayExpression:S["ArrayExpression|ArrayPattern"],ArrayPattern:S["ArrayExpression|ArrayPattern"],ArrowFunctionExpression:(o,l)=>{o.async&&Ae(l,o,"async"," "),o.typeParameters&&l.visit(o.typeParameters),br(o.params),l.write("("),f(l,o.params,(o.returnType??o.body).loc?.start??null,!1),l.write(")"),o.returnType&&l.visit(o.returnType),l.write(" => "),ot(l,o.body,FT(o.body))},AssignmentExpression(o,l){l.visit(o.left),l.write(` ${o.operator} `),l.visit(o.right)},AssignmentPattern(o,l){l.visit(o.left),l.write(" = "),l.visit(o.right)},AwaitExpression(o,l){if(o.argument){let y=Se[o.argument.type];y&&y<Se.AwaitExpression?(Ae(l,o,"await"," ("),l.visit(o.argument),l.write(")")):(Ae(l,o,"await"," "),l.visit(o.argument))}else Ae(l,o,"await","")},BinaryExpression:S["BinaryExpression|LogicalExpression"],BlockStatement:S["BlockStatement|ClassBody"],BreakStatement(o,l){o.label?(Ae(l,o,"break"," "),l.visit(o.label),l.write(";")):Ae(l,o,"break",";")},CallExpression:S["CallExpression|NewExpression"],ChainExpression(o,l){l.visit(o.expression)},ClassBody:S["BlockStatement|ClassBody"],ClassDeclaration:S["ClassDeclaration|ClassExpression"],ClassExpression:S["ClassDeclaration|ClassExpression"],ConditionalExpression(o,l){let y=Se[o.test.type]<=Se.ConditionalExpression;ot(l,o.test,y);let x=l.new(),T=l.new();x.visit(o.consequent),T.visit(o.alternate),x.multiline||T.multiline||x.measure()+T.measure()>50?(l.indent(),l.newline(),l.write("? "),l.append(x),l.newline(),l.write(": "),l.append(T),l.dedent()):(l.write(" ? "),l.append(x),l.write(" : "),l.append(T))},ContinueStatement(o,l){o.label?(Ae(l,o,"continue"," "),l.visit(o.label),l.write(";")):Ae(l,o,"continue",";")},DebuggerStatement(o,l){l.write("debugger",o),l.write(";")},Decorator(o,l){l.write("@");let y=o.expression.type==="ChainExpression"||Se[o.expression.type]<Se.CallExpression;y&&l.write("("),l.visit(o.expression),y&&l.write(")"),l.newline()},DoWhileStatement(o,l){Ae(l,o,"do"," "),l.visit(o.body);let y=o.test.loc?.start,x=o.body.loc?.end;y&&x&&x.line===y.line&&y.column>=6?(l.write(" "),Lr(l,x.line,x.column+1,"while"),l.write(" (")):l.write(" while ("),l.visit(o.test),l.write(");")},EmptyStatement(o,l){l.write(";")},ExportAllDeclaration(o,l){l.write(o.exportKind==="type"?"export type * ":"export * "),o.exported&&(l.write("as "),l.visit(o.exported)),l.write(" from "),l.visit(o.source),d(l,o),l.write(";")},ExportDefaultDeclaration(o,l){let y=vr(l,o,bd);y("export "),y("default "),l.visit(o.declaration),o.declaration.type!=="FunctionDeclaration"&&l.write(";")},ExportNamedDeclaration(o,l){if(o.declaration){let x=o.declaration;if(x.decorators&&x.decorators.length>0){for(let P of x.decorators)l.visit(P);Ae(l,o,"export"," ");let T=x.decorators;x.decorators=[],l.visit(o.declaration),x.decorators=T}else Ae(l,o,"export"," "),l.visit(o.declaration);return}let y=vr(l,o);y("export "),o.exportKind==="type"&&(bd(o)?y("type "):l.write("type ")),l.write("{"),f(l,o.specifiers,o.source?.loc?.start??o.loc?.end??null,!0),l.write("}"),o.source&&(l.write(" from "),l.visit(o.source),d(l,o)),l.write(";")},ExportSpecifier(o,l){o.exportKind==="type"&&l.write("type "),l.visit(o.local),BT(o.local,o.exported)||(l.write(" as "),l.visit(o.exported))},ExpressionStatement(o,l){let y=nj(o.expression);ot(l,o.expression,y),l.write(";")},ForStatement:(o,l)=>{Ae(l,o,"for"," ("),o.init&&(o.init.type==="VariableDeclaration"?kh(o.init,l,!0):ot(l,o.init,Th(o.init))),l.write("; "),o.test&&l.visit(o.test),l.write("; "),o.update&&l.visit(o.update),l.write(") "),l.visit(o.body)},ForInStatement:S["ForInStatement|ForOfStatement"],ForOfStatement:S["ForInStatement|ForOfStatement"],FunctionDeclaration:S["FunctionDeclaration|FunctionExpression"],FunctionExpression:S["FunctionDeclaration|FunctionExpression"],Identifier(o,l){let y=o.name;l.write(y,o),o.optional?l.write("?"):o.definite&&l.write("!"),o.typeAnnotation&&l.visit(o.typeAnnotation)},IfStatement(o,l){if(Ae(l,o,"if"," ("),l.visit(o.test),l.write(") "),o.alternate&&Sh(o.consequent)?(l.write("{"),l.indent(),l.newline(),l.visit(o.consequent),l.dedent(),l.newline(),l.write("}")):l.visit(o.consequent),o.alternate){l.space();let y=o.alternate.loc?.start,x=o.consequent.loc?.end;y&&x&&x.line===y.line&&y.column>=4?(Lr(l,x.line,x.column+1,"else"),l.write(" ")):l.write("else "),l.visit(o.alternate)}},ImportDeclaration(o,l){if(o.specifiers.length===0){Ae(l,o,"import"," "),l.visit(o.source),d(l,o),l.write(";");return}let y=null,x=null,T=[];for(let q of o.specifiers)q.type==="ImportNamespaceSpecifier"?y=q:q.type==="ImportDefaultSpecifier"?x=q:T.push(q);let P=vr(l,o);P("import "),o.importKind=="type"&&(bd(o)?P("type "):l.write("type ")),x&&(l.write(x.local.name,x),(y||T.length>0)&&l.write(", ")),y&&l.write("* as "+y.local.name,y),T.length>0&&(l.write("{"),f(l,T,o.source.loc?.start??null,!0),l.write("}")),l.write(" from "),l.visit(o.source),d(l,o),l.write(";")},ImportExpression(o,l){if(Ae(l,o,"import","("),l.visit(o.source),o.arguments)for(let y=0;y<o.arguments.length;y++)l.write(", "),l.visit(o.arguments[y]);o.options&&(l.write(", "),l.visit(o.options)),l.write(")")},ImportSpecifier(o,l){o.importKind=="type"&&l.write("type "),BT(o.imported,o.local)||(l.visit(o.imported),l.write(" as ")),l.visit(o.local)},LabeledStatement(o,l){l.visit(o.label),l.write(": "),l.visit(o.body)},Literal(o,l){let y=o.bigint,x=o.raw||(typeof o.value=="bigint"?`${o.value}n`:y!==void 0?`${y}n`:typeof o.value=="string"?oj(o.value,t):String(o.value));l.write(x,o)},LogicalExpression:S["BinaryExpression|LogicalExpression"],MemberExpression(o,l){let y=o.object.type==="ChainExpression"||Se[o.object.type]<Se.MemberExpression;ot(l,o.object,y),o.computed?(o.optional&&l.write("?."),l.write("["),l.visit(o.property),l.write("]",E(o.loc?.end))):(l.write(o.optional?"?.":"."),l.visit(o.property))},MetaProperty(o,l){l.visit(o.meta),l.write("."),l.visit(o.property)},MethodDefinition:S["MethodDefinition|TSAbstractMethodDefinition"],NewExpression:S["CallExpression|NewExpression"],ObjectExpression(o,l){l.write("{",g(o.loc?.start)),f(l,o.properties,o.loc?.end??null,!0),l.write("}",E(o.loc?.end))},ObjectPattern(o,l){l.write("{",g(o.loc?.start)),f(l,o.properties,o.loc?.end??null,!0),l.write("}",E(o.loc?.end)),o.typeAnnotation&&l.visit(o.typeAnnotation)},ParenthesizedExpression(o,l){o.loc?(l.write("(",g(o.loc.start)),l.visit(o.expression),l.write(")",E(o.loc.end))):ot(l,o.expression,!0)},PrivateIdentifier(o,l){l.write("#"),l.write(o.name,o)},Program(o,l){h(l,o)},Property(o,l){let y=o.value.type==="AssignmentPattern"?o.value.left:o.value;if(!o.computed&&o.kind==="init"&&o.key.type==="Identifier"&&y.type==="Identifier"&&o.key.name===y.name){l.visit(o.value);return}if(o.value.type==="FunctionExpression"&&(o.method||o.kind==="get"||o.kind==="set")){let T=vr(l,o);o.kind!=="init"&&T(o.kind+" "),o.value.async&&T("async "),o.value.generator&&l.write("*"),o.computed&&l.write("[",E(o.key.loc?.start)),l.visit(o.key),o.computed&&l.write("]",g(o.key.loc?.end)),o.value.typeParameters&&l.visit(o.value.typeParameters),br(o.value.params),l.write("("),f(l,o.value.params,(o.value.returnType??o.value.body).loc?.start??null,!1),l.write(")"),o.value.returnType&&l.visit(o.value.returnType),l.write(" "),l.visit(o.value.body)}else o.computed&&l.write("[",E(o.key.loc?.start)),(o.kind==="get"||o.kind==="set")&&Ae(l,o,o.kind," "),l.visit(o.key),o.computed&&l.write("]",g(o.key.loc?.end)),l.write(": "),l.visit(o.value)},PropertyDefinition:S["PropertyDefinition|TSAbstractPropertyDefinition|AccessorProperty|TSAbstractAccessorProperty"],RestElement:S["RestElement|SpreadElement"],ReturnStatement(o,l){if(o.argument){let y=r[i]&&r[i].loc&&o.argument.loc&&ws(r[i].loc.start,o.argument.loc.start);Ae(l,o,"return",y?" (":" "),l.visit(o.argument),l.write(y?");":";")}else Ae(l,o,"return",";")},SequenceExpression(o,l){l.write("("),f(l,o.expressions,o.loc?.end??null,!1),l.write(")")},SpreadElement:S["RestElement|SpreadElement"],StaticBlock(o,l){Ae(l,o,"static"," {"),l.indent(),l.newline(),h(l,o),l.dedent(),l.newline(),l.write("}")},Super(o,l){l.write("super",o)},SwitchStatement(o,l){Ae(l,o,"switch"," ("),l.visit(o.discriminant),l.write(") {"),l.indent();let y=!0;for(let x of o.cases){y||l.margin(),y=!1,x.test?(l.newline(),Ae(l,x,"case"," "),l.visit(x.test),l.write(":")):(l.newline(),Ae(l,x,"default",":")),l.indent();for(let T of x.consequent)l.newline(),l.visit(T);l.dedent()}l.dedent(),l.newline(),l.write("}")},TaggedTemplateExpression(o,l){let y=o.tag.type==="ChainExpression"||Se[o.tag.type]<Se.CallExpression;ot(l,o.tag,y),o.typeArguments&&l.visit(o.typeArguments),l.visit(o.quasi)},TemplateLiteral(o,l){l.write("`");let{quasis:y,expressions:x}=o;for(let P=0;P<x.length;P++){let q=y[P].value.raw;l.write(q+"${"),l.visit(x[P]),l.write("}"),/\n/.test(q)&&(l.multiline=!0)}let T=y[y.length-1].value.raw;l.write(T+"`"),/\n/.test(T)&&(l.multiline=!0)},ThisExpression(o,l){l.write("this",o)},ThrowStatement(o,l){Ae(l,o,"throw"," "),o.argument&&l.visit(o.argument),l.write(";")},TryStatement(o,l){if(Ae(l,o,"try"," "),l.visit(o.block),o.handler&&(l.write(" "),o.handler.param?(Ae(l,o.handler,"catch","("),Nr(o.handler.param),l.visit(o.handler.param),l.write(") ")):Ae(l,o.handler,"catch"," "),l.visit(o.handler.body)),o.finalizer){let y=o.finalizer.loc?.start,x=o.handler?o.handler.loc?.end:o.block.loc?.end;y&&x&&x.line===y.line&&y.column>=7?(l.write(" "),Lr(l,x.line,x.column+1,"finally"),l.write(" ")):l.write(" finally "),l.visit(o.finalizer)}},UnaryExpression(o,l){l.write(o.operator,g(o.loc?.start,o.operator.length)),(o.operator.length>1||(o.operator==="+"||o.operator==="-")&&(o.argument.type==="UnaryExpression"&&o.argument.operator===o.operator||o.argument.type==="UpdateExpression"&&o.argument.prefix&&o.argument.operator[0]===o.operator))&&l.write(" ");let y=Se[o.argument.type]<Se.UnaryExpression;ot(l,o.argument,y)},UpdateExpression(o,l){o.prefix?(l.write(o.operator),l.visit(o.argument)):(l.visit(o.argument),l.write(o.operator))},VariableDeclaration(o,l){kh(o,l),l.write(";")},VariableDeclarator(o,l){VT(o,l,!1)},WhileStatement(o,l){Ae(l,o,"while"," ("),l.visit(o.test),l.write(") "),l.visit(o.body)},WithStatement(o,l){Ae(l,o,"with"," ("),l.visit(o.object),l.write(") "),l.visit(o.body)},YieldExpression(o,l){let y=o.delegate?"yield*":"yield";o.argument?(Ae(l,o,y," "),l.visit(o.argument)):Ae(l,o,y,"")},TSAbstractMethodDefinition:S["MethodDefinition|TSAbstractMethodDefinition"],TSAbstractAccessorProperty:S["PropertyDefinition|TSAbstractPropertyDefinition|AccessorProperty|TSAbstractAccessorProperty"],TSAbstractPropertyDefinition:S["PropertyDefinition|TSAbstractPropertyDefinition|AccessorProperty|TSAbstractAccessorProperty"],TSDeclareFunction(o,l){let y=vr(l,o);o.declare&&y("declare "),o.async&&y("async "),y("function"),o.generator&&l.write("*"),o.id&&(l.write(" "),Nr(o.id),l.visit(o.id)),o.typeParameters&&l.visit(o.typeParameters),br(o.params),l.write("("),f(l,o.params,o.returnType?.loc?.start??o.loc?.end??null,!1),l.write(")"),o.returnType&&l.visit(o.returnType),l.write(";")},TSNumberKeyword(o,l){l.write("number",o)},TSStringKeyword(o,l){l.write("string",o)},TSBooleanKeyword(o,l){l.write("boolean",o)},TSAnyKeyword(o,l){l.write("any",o)},TSVoidKeyword(o,l){l.write("void",o)},TSUnknownKeyword(o,l){l.write("unknown",o)},TSNeverKeyword(o,l){l.write("never",o)},TSSymbolKeyword(o,l){l.write("symbol",o)},TSNullKeyword(o,l){l.write("null",o)},TSUndefinedKeyword(o,l){l.write("undefined",o)},TSObjectKeyword(o,l){l.write("object",o)},TSBigIntKeyword(o,l){l.write("bigint",o)},TSIntrinsicKeyword(o,l){l.write("intrinsic",o)},TSArrayType(o,l){l.visit(o.elementType),l.write("[]")},TSTypeAnnotation(o,l){l.write(": "),l.visit(o.typeAnnotation)},TSTypeLiteral(o,l){l.write("{ "),f(l,o.members,o.loc?.end??null,!1,";"),l.write(" }")},TSPropertySignature(o,l){o.readonly&&l.write("readonly "),o.computed&&l.write("[",E(o.key.loc?.start)),l.visit(o.key),o.computed&&l.write("]",g(o.key.loc?.end)),o.optional&&l.write("?"),o.typeAnnotation&&l.visit(o.typeAnnotation)},TSTypeReference(o,l){l.visit(o.typeName),o.typeArguments&&l.visit(o.typeArguments)},TSTypeOperator(o,l){l.write(o.operator+" "),o.typeAnnotation&&l.visit(o.typeAnnotation)},TSTemplateLiteralType(o,l){l.write("`");let{quasis:y,types:x}=o;for(let P=0;P<x.length;P++){let q=y[P].value.raw;l.write(q+"${"),l.visit(x[P]),l.write("}"),/\n/.test(q)&&(l.multiline=!0)}let T=y[y.length-1].value.raw;l.write(T+"`"),/\n/.test(T)&&(l.multiline=!0)},TSJSDocNullableType(o,l){o.postfix||l.write("?"),l.visit(o.typeAnnotation),o.postfix&&l.write("?")},TSParameterProperty(o,l){o.accessibility&&l.write(o.accessibility+" "),o.readonly&&l.write("readonly "),l.visit(o.parameter)},TSExportAssignment(o,l){l.write("export = "),l.visit(o.expression),l.write(";")},TSNamespaceExportDeclaration(o,l){l.write("export as namespace "),l.visit(o.id),l.write(";")},TSExpressionWithTypeArguments(o,l){l.visit(o.expression),(o.typeArguments||o.typeParameters)&&l.visit(o.typeArguments??o.typeParameters)},TSTypeAssertion(o,l){l.write("<"),l.visit(o.typeAnnotation),l.write(">");let y=Se[o.expression.type]<Se.TSTypeAssertion;ot(l,o.expression,y)},TSTypeParameterInstantiation(o,l){l.write("<");for(let y=0;y<o.params.length;y++)l.visit(o.params[y]),y!=o.params.length-1&&l.write(", ");l.write(">")},TSTypeParameterDeclaration(o,l){l.write("<");for(let y=0;y<o.params.length;y++)l.visit(o.params[y]),y!=o.params.length-1&&l.write(", ");l.write(">")},TSTypeParameter(o,l){o.const&&l.write("const "),o.in&&l.write("in "),o.out&&l.write("out "),o.name&&o.name.type?l.visit(o.name):l.write(o.name,o),o.constraint&&(l.write(" extends "),l.visit(o.constraint)),o.default&&(l.write(" = "),l.visit(o.default))},TSTypePredicate(o,l){o.asserts&&l.write("asserts "),o.parameterName&&l.visit(o.parameterName),o.typeAnnotation&&(l.write(" is "),l.visit(o.typeAnnotation.typeAnnotation))},TSTypeQuery(o,l){l.write("typeof "),l.visit(o.exprName),o.typeArguments&&l.visit(o.typeArguments)},TSClassImplements(o,l){o.expression&&l.visit(o.expression),o.typeArguments&&l.visit(o.typeArguments)},TSEnumMember(o,l){l.visit(o.id),o.initializer&&(l.write(" = "),l.visit(o.initializer))},TSFunctionType:S["TSFunctionType|TSConstructorType"],TSIndexSignature(o,l){o.readonly&&l.write("readonly "),l.write("["),br(o.parameters),f(l,o.parameters,o.typeAnnotation?.loc?.start??null,!1),l.write("]"),l.visit(o.typeAnnotation)},TSMappedType(o,l){l.write("{"),o.readonly&&l.write(o.readonly==="-"?"-readonly ":o.readonly==="+"?"+readonly ":"readonly "),l.write("[");let y=o.typeParameter,x=o.key??y?.name,T=o.constraint??y?.constraint;x&&typeof x=="object"?l.visit(x):l.write(x,o),T&&(l.write(" in "),l.visit(T)),o.nameType&&(l.write(" as "),l.visit(o.nameType)),l.write("]"),o.optional&&l.write(o.optional==="-"?"-?":o.optional==="+"?"+?":"?"),o.typeAnnotation&&(l.write(": "),l.visit(o.typeAnnotation)),l.write("}")},TSMethodSignature(o,l){(o.kind==="get"||o.kind==="set")&&Ae(l,o,o.kind," "),o.computed&&l.write("[",E(o.key.loc?.start)),l.visit(o.key),o.computed&&l.write("]",g(o.key.loc?.end)),o.optional&&l.write("?"),o.typeParameters&&l.visit(o.typeParameters),br(o.parameters??o.params),l.write("("),f(l,o.parameters??o.params,(o.typeAnnotation??o.returnType)?.loc?.start??o.loc?.end??null,!1),l.write(")"),(o.typeAnnotation||o.returnType)&&l.visit(o.typeAnnotation??o.returnType)},TSTupleType(o,l){l.write("["),f(l,o.elementTypes,o.loc?.end??null,!1),l.write("]")},TSNamedTupleMember(o,l){l.visit(o.label),o.optional&&l.write("?"),l.write(": "),l.visit(o.elementType)},TSUnionType(o,l){f(l,o.types,o.loc?.end??null,!1," |",!1)},TSIntersectionType(o,l){f(l,o.types,o.loc?.end??null,!1," &",!1)},TSInferType(o,l){l.write("infer "),l.visit(o.typeParameter)},TSLiteralType(o,l){l.visit(o.literal)},TSCallSignatureDeclaration:S["TSConstructSignatureDeclaration|TSCallSignatureDeclaration"],TSConditionalType(o,l){l.visit(o.checkType),l.write(" extends "),l.visit(o.extendsType),l.write(" ? "),l.visit(o.trueType),l.write(" : "),l.visit(o.falseType)},TSConstructSignatureDeclaration:S["TSConstructSignatureDeclaration|TSCallSignatureDeclaration"],TSConstructorType:S["TSFunctionType|TSConstructorType"],TSExternalModuleReference(o,l){l.write("require("),l.visit(o.expression),l.write(");")},TSIndexedAccessType(o,l){l.visit(o.objectType),l.write("["),l.visit(o.indexType),l.write("]")},TSImportEqualsDeclaration(o,l){l.write("import "),o.importKind==="type"&&l.write("type "),l.visit(o.id),l.write(" = "),l.visit(o.moduleReference)},TSImportType(o,l){l.write("import("),l.visit(o.argument),l.write(")"),o.qualifier&&(l.write("."),l.visit(o.qualifier)),o.typeArguments&&l.visit(o.typeArguments)},TSOptionalType(o,l){l.visit(o.typeAnnotation),l.write("?")},TSRestType(o,l){l.write("..."),l.visit(o.typeAnnotation)},TSThisType(o,l){l.write("this",o)},TSAsExpression(o,l){if(o.expression){let y=Se[o.expression.type]<Se.TSAsExpression;ot(l,o.expression,y)}l.write(" as "),l.visit(o.typeAnnotation)},TSEnumDeclaration(o,l){o.declare&&l.write("declare "),o.const&&l.write("const "),l.write("enum "),l.visit(o.id),l.write(" {"),l.indent(),l.newline(),f(l,o.members??o.body.members,o.loc?.end??null,!1),l.dedent(),l.newline(),l.write("}")},TSModuleBlock(o,l){l.write(" {"),l.indent(),l.newline(),h(l,o),l.dedent(),l.newline(),l.write("}")},TSModuleDeclaration(o,l){if(o.declare&&l.write("declare "),o.global)l.write("global",o.id);else{let x=o.kind??(o.id.type==="Literal"?"module":"namespace");l.write(x+" "),l.visit(o.id)}let y=o.body;for(;y&&y.type==="TSModuleDeclaration";)l.write("."),l.visit(y.id),y=y.body;y&&l.visit(y)},TSNonNullExpression(o,l){let y=Se[o.expression.type]<Se.TSNonNullExpression;ot(l,o.expression,y),l.write("!")},TSInterfaceBody(o,l){f(l,o.body,o.loc?.end??null,!0,";")},TSInterfaceDeclaration(o,l){o.declare&&l.write("declare "),l.write("interface "),l.visit(o.id),o.typeParameters&&l.visit(o.typeParameters),o.extends&&o.extends.length>0&&(l.write(" extends "),f(l,o.extends,o.body.loc?.start??null,!1)),l.write(" {"),l.visit(o.body),l.write("}")},TSInstantiationExpression(o,l){l.visit(o.expression),l.visit(o.typeArguments)},TSInterfaceHeritage(o,l){o.expression&&l.visit(o.expression),o.typeArguments&&l.visit(o.typeArguments)},TSParenthesizedType(o,l){ot(l,o.typeAnnotation,!0)},TSSatisfiesExpression(o,l){if(o.expression){let y=Se[o.expression.type]<Se.TSSatisfiesExpression;ot(l,o.expression,y)}l.write(" satisfies "),l.visit(o.typeAnnotation)},TSTypeAliasDeclaration(o,l){o.declare&&l.write("declare "),l.write("type "),l.visit(o.id),o.typeParameters&&l.visit(o.typeParameters),l.write(" = "),l.visit(o.typeAnnotation),l.write(";")},TSQualifiedName(o,l){l.visit(o.left),l.write("."),l.visit(o.right)}}};function FT(e){if(e.type==="BlockStatement")return!1;switch(e.type){case"ObjectExpression":return!0;case"AssignmentExpression":return e.left.type==="ObjectPattern";case"LogicalExpression":return e.left.type==="ObjectExpression";case"ConditionalExpression":return e.test.type==="ObjectExpression";case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":return e.expression?FT(e.expression):!1;default:return!1}}function Ch(e,t,r){if(e.type==="PrivateIdentifier")return!1;if(!r&&(e.type==="TSAsExpression"||e.type==="TSSatisfiesExpression"))return t.operator==="**"||t.operator==="&"||t.operator==="|";if(e.type==="LogicalExpression"&&t.type==="LogicalExpression"&&(t.operator==="??"&&e.operator!=="??"||t.operator!=="??"&&e.operator==="??")||!r&&t.operator==="**"&&(e.type==="UnaryExpression"||e.type==="AwaitExpression"||e.type==="TSTypeAssertion"))return!0;let s=Se[e.type],a=Se[t.type];if(s!==a)return s<a;let n=e.operator;return n==="**"&&t.operator==="**"?!r:r?_d[n]<=_d[t.operator]:_d[n]<_d[t.operator]}function ot(e,t,r){r?(e.write("("),e.visit(t),e.write(")")):e.visit(t)}function aj(e){for(;e;){if(e.type==="CallExpression")return!0;if(e.type==="MemberExpression")e=e.object;else return!1}return!1}function nj(e){for(;e;)switch(e.type){case"ObjectExpression":case"ObjectPattern":case"FunctionExpression":case"ClassExpression":return!0;case"BinaryExpression":case"LogicalExpression":if(Ch(e.left,e,!1))return!1;e=e.left;continue;case"AssignmentExpression":e=e.left;continue;case"ConditionalExpression":if(Se[e.test.type]<=Se.ConditionalExpression)return!1;e=e.test;continue;case"MemberExpression":if(e.object.type==="ChainExpression"||Se[e.object.type]<Se.MemberExpression)return!1;e=e.object;continue;case"CallExpression":if(e.callee.type==="ChainExpression"||Se[e.callee.type]<Se.CallExpression)return!1;e=e.callee;continue;case"TaggedTemplateExpression":if(e.tag.type==="ChainExpression"||Se[e.tag.type]<Se.CallExpression)return!1;e=e.tag;continue;case"UpdateExpression":if(e.prefix)return!1;e=e.argument;continue;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":e=e.expression;continue;case"SequenceExpression":return!1;default:return!1}return!1}function Sh(e){switch(e.type){case"IfStatement":return e.alternate===null||Sh(e.alternate);case"ForStatement":case"ForInStatement":case"ForOfStatement":case"LabeledStatement":case"WhileStatement":case"WithStatement":return Sh(e.body);default:return!1}}function Th(e,t=new WeakSet){if(!e||typeof e!="object"||t.has(e))return!1;if(t.add(e),e.type==="BinaryExpression"&&e.operator==="in")return!0;for(let r in e)if(r!=="loc"&&Th(e[r],t))return!0;return!1}function BT(e,t){return e.type!==t.type?!1:e.type==="Identifier"?e.name===t.name:e.type==="Literal"&&e.value===t.value}function VT(e,t,r){let i=e.definite?{...e.id,definite:!0}:e.id;Nr(i),t.visit(i),e.init&&(t.write(" = "),ot(t,e.init,r&&Th(e.init)))}function kh(e,t,r=!1){let i=t.new(),s=t.new(),a=t.new();t.append(a);let n=vr(a,e);e.declare&&n("declare "),n(e.kind+" "),a.append(i);let u=!0;for(let f of e.declarations)u||a.append(s),u=!1,VT(f,a,r);let p=a.measure()+2*(e.declarations.length-1);a.multiline||e.declarations.length>1&&p>50?(t.multiline=!0,e.declarations.length>1&&i.indent(),s.write(","),s.newline(),e.declarations.length>1&&t.dedent()):s.write(", ")}function oj(e,t){let r=t;for(let i of e)i==="\\"?r+="\\\\":i===t?r+="\\"+i:i===`
|
|
214
|
+
`?r+="\\n":i==="\r"?r+="\\r":r+=i;return r+t}function ws(e,t){return e.line<t.line?!0:e.line>t.line?!1:e.column<t.column}var vd=class e{constructor(t){this.bits=t instanceof e?t.bits.slice():[]}add(t){this.bits[t>>5]|=1<<(t&31)}has(t){return!!(this.bits[t>>5]&1<<(t&31))}},yd=class e{constructor(t,r,i){this.start=t,this.end=r,this.original=i,this.intro="",this.outro="",this.content=i,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(t){this.outro+=t}appendRight(t){this.intro=this.intro+t}clone(){let t=new e(this.start,this.end,this.original);return t.intro=this.intro,t.outro=this.outro,t.content=this.content,t.storeName=this.storeName,t.edited=this.edited,t}contains(t){return this.start<t&&t<this.end}eachNext(t){let r=this;for(;r;)t(r),r=r.next}eachPrevious(t){let r=this;for(;r;)t(r),r=r.previous}edit(t,r,i){return this.content=t,i||(this.intro="",this.outro=""),this.storeName=r,this.edited=!0,this}prependLeft(t){this.outro=t+this.outro}prependRight(t){this.intro=t+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(t){let r=t-this.start,i=this.original.slice(0,r),s=this.original.slice(r);this.original=i;let a=new e(t,this.end,s);return a.outro=this.outro,this.outro="",this.end=t,this.edited?(a.edit("",!1),this.content=""):this.content=i,a.next=this.next,a.next&&(a.next.previous=a),a.previous=this,this.next=a,a}toString(){return this.intro+this.content+this.outro}trimEnd(t){if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;let r=this.content.replace(t,"");if(r.length)return r!==this.content&&(this.split(this.start+r.length).edit("",void 0,!0),this.edited&&this.edit(r,this.storeName,!0)),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(t,""),this.intro.length)return!0}trimStart(t){if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;let r=this.content.replace(t,"");if(r.length){if(r!==this.content){let i=this.split(this.end-r.length);this.edited&&i.edit(r,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(t,""),this.outro.length)return!0}};function lj(){return typeof globalThis<"u"&&typeof globalThis.btoa=="function"?e=>globalThis.btoa(unescape(encodeURIComponent(e))):typeof Buffer=="function"?e=>Buffer.from(e,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}var uj=lj(),Ah=class{constructor(t){this.version=3,this.file=t.file,this.sources=t.sources,this.sourcesContent=t.sourcesContent,this.names=t.names,this.mappings=Oi(t.mappings),typeof t.x_google_ignoreList<"u"&&(this.x_google_ignoreList=t.x_google_ignoreList),typeof t.debugId<"u"&&(this.debugId=t.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+uj(this.toString())}};function cj(e){let t=e.split(`
|
|
215
|
+
`),r=t.filter(a=>/^\t+/.test(a)),i=t.filter(a=>/^ {2,}/.test(a));if(r.length===0&&i.length===0)return null;if(r.length>=i.length)return" ";let s=i.reduce((a,n)=>{let u=/^ +/.exec(n)[0].length;return Math.min(u,a)},1/0);return new Array(s+1).join(" ")}function pj(e,t){let r=e.split(/[/\\]/),i=t.split(/[/\\]/);for(r.pop();r[0]===i[0];)r.shift(),i.shift();if(r.length){let s=r.length;for(;s--;)r[s]=".."}return r.concat(i).join("/")}var dj=Object.prototype.toString;function fj(e){return dj.call(e)==="[object Object]"}function UT(e){let t=e.split(`
|
|
216
|
+
`),r=[];for(let i=0,s=0;i<t.length;i++)r.push(s),s+=t[i].length+1;return function(s){let a=0,n=r.length;for(;a<n;){let d=a+n>>1;s<r[d]?n=d:a=d+1}let u=a-1,p=s-r[u];return{line:u,column:p}}}var mj=/\w/,Ph=class{constructor(t){this.hires=t,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(t,r,i,s){if(r.length){let a=r.length-1,n=r.indexOf(`
|
|
217
|
+
`,0),u=-1;for(;n>=0&&a>n;){let d=[this.generatedCodeColumn,t,i.line,i.column];s>=0&&d.push(s),this.rawSegments.push(d),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,u=n,n=r.indexOf(`
|
|
218
|
+
`,n+1)}let p=[this.generatedCodeColumn,t,i.line,i.column];s>=0&&p.push(s),this.rawSegments.push(p),this.advance(r.slice(u+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(r));this.pending=null}addUneditedChunk(t,r,i,s,a){let n=r.start,u=!0,p=!1;for(;n<r.end;){if(i[n]===`
|
|
219
|
+
`)s.line+=1,s.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,u=!0,p=!1;else{if(this.hires||u||a.has(n)){let d=[this.generatedCodeColumn,t,s.line,s.column];this.hires==="boundary"?mj.test(i[n])?p||(this.rawSegments.push(d),p=!0):(this.rawSegments.push(d),p=!1):this.rawSegments.push(d)}s.column+=1,this.generatedCodeColumn+=1,u=!1}n+=1}this.pending=null}advance(t){if(!t)return;let r=t.split(`
|
|
220
|
+
`);if(r.length>1){for(let i=0;i<r.length-1;i++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=r[r.length-1].length}},ka=`
|
|
221
|
+
`,ks={insertLeft:!1,insertRight:!1,storeName:!1},gd=class e{constructor(t,r={}){let i=new yd(0,t.length,t);Object.defineProperties(this,{original:{writable:!0,value:t},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:i},lastChunk:{writable:!0,value:i},lastSearchedChunk:{writable:!0,value:i},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:r.filename},indentExclusionRanges:{writable:!0,value:r.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new vd},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:r.ignoreList},offset:{writable:!0,value:r.offset||0}}),this.byStart[0]=i,this.byEnd[t.length]=i}addSourcemapLocation(t){this.sourcemapLocations.add(t)}append(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.outro+=t,this}appendLeft(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let i=this.byEnd[t];return i?i.appendLeft(r):this.intro+=r,this}appendRight(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let i=this.byStart[t];return i?i.appendRight(r):this.outro+=r,this}clone(){let t=new e(this.original,{filename:this.filename,offset:this.offset}),r=this.firstChunk,i=t.firstChunk=t.lastSearchedChunk=r.clone();for(;r;){t.byStart[i.start]=i,t.byEnd[i.end]=i;let s=r.next,a=s&&s.clone();a&&(i.next=a,a.previous=i,i=a),r=s}return t.lastChunk=i,this.indentExclusionRanges&&(t.indentExclusionRanges=this.indentExclusionRanges.slice()),t.sourcemapLocations=new vd(this.sourcemapLocations),t.intro=this.intro,t.outro=this.outro,t}generateDecodedMap(t){t=t||{};let r=0,i=Object.keys(this.storedNames),s=new Ph(t.hires),a=UT(this.original);return this.intro&&s.advance(this.intro),this.firstChunk.eachNext(n=>{let u=a(n.start);n.intro.length&&s.advance(n.intro),n.edited?s.addEdit(r,n.content,u,n.storeName?i.indexOf(n.original):-1):s.addUneditedChunk(r,n,this.original,u,this.sourcemapLocations),n.outro.length&&s.advance(n.outro)}),this.outro&&s.advance(this.outro),{file:t.file?t.file.split(/[/\\]/).pop():void 0,sources:[t.source?pj(t.file||"",t.source):t.file||""],sourcesContent:t.includeContent?[this.original]:void 0,names:i,mappings:s.raw,x_google_ignoreList:this.ignoreList?[r]:void 0}}generateMap(t){return new Ah(this.generateDecodedMap(t))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=cj(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?" ":this.indentStr}indent(t,r){let i=/^[^\r\n]/gm;if(fj(t)&&(r=t,t=void 0),t===void 0&&(this._ensureindentStr(),t=this.indentStr||" "),t==="")return this;r=r||{};let s={};r.exclude&&(typeof r.exclude[0]=="number"?[r.exclude]:r.exclude).forEach(f=>{for(let h=f[0];h<f[1];h+=1)s[h]=!0});let a=r.indentStart!==!1,n=d=>a?`${t}${d}`:(a=!0,d);this.intro=this.intro.replace(i,n);let u=0,p=this.firstChunk;for(;p;){let d=p.end;if(p.edited)s[u]||(p.content=p.content.replace(i,n),p.content.length&&(a=p.content[p.content.length-1]===`
|
|
222
|
+
`));else for(u=p.start;u<d;){if(!s[u]){let f=this.original[u];f===`
|
|
223
|
+
`?a=!0:f!=="\r"&&a&&(a=!1,u===p.start||(this._splitChunk(p,u),p=p.next),p.prependRight(t))}u+=1}u=p.end,p=p.next}return this.outro=this.outro.replace(i,n),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(t,r){return ks.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),ks.insertLeft=!0),this.appendLeft(t,r)}insertRight(t,r){return ks.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),ks.insertRight=!0),this.prependRight(t,r)}move(t,r,i){if(t=t+this.offset,r=r+this.offset,i=i+this.offset,i>=t&&i<=r)throw new Error("Cannot move a selection inside itself");this._split(t),this._split(r),this._split(i);let s=this.byStart[t],a=this.byEnd[r],n=s.previous,u=a.next,p=this.byStart[i];if(!p&&a===this.lastChunk)return this;let d=p?p.previous:this.lastChunk;return n&&(n.next=u),u&&(u.previous=n),d&&(d.next=s),p&&(p.previous=a),s.previous||(this.firstChunk=a.next),a.next||(this.lastChunk=s.previous,this.lastChunk.next=null),s.previous=d,a.next=p||null,d||(this.firstChunk=s),p||(this.lastChunk=a),this}overwrite(t,r,i,s){return s=s||{},this.update(t,r,i,{...s,overwrite:!s.contentOnly})}update(t,r,i,s){if(t=t+this.offset,r=r+this.offset,typeof i!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(r>this.original.length)throw new Error("end is out of bounds");if(t===r)throw new Error("Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead");this._split(t),this._split(r),s===!0&&(ks.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),ks.storeName=!0),s={storeName:!0});let a=s!==void 0?s.storeName:!1,n=s!==void 0?s.overwrite:!1;if(a){let d=this.original.slice(t,r);Object.defineProperty(this.storedNames,d,{writable:!0,value:!0,enumerable:!0})}let u=this.byStart[t],p=this.byEnd[r];if(u){let d=u;for(;d!==p;){if(d.next!==this.byStart[d.end])throw new Error("Cannot overwrite across a split point");d=d.next,d.edit("",!1)}u.edit(i,a,!n)}else{let d=new yd(t,r,"").edit(i,a);p.next=d,d.previous=p}return this}prepend(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.intro=t+this.intro,this}prependLeft(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let i=this.byEnd[t];return i?i.prependLeft(r):this.intro=r+this.intro,this}prependRight(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let i=this.byStart[t];return i?i.prependRight(r):this.outro=r+this.outro,this}remove(t,r){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(t===r)return this;if(t<0||r>this.original.length)throw new Error("Character is out of bounds");if(t>r)throw new Error("end must be greater than start");this._split(t),this._split(r);let i=this.byStart[t];for(;i;)i.intro="",i.outro="",i.edit(""),i=r>i.end?this.byStart[i.end]:null;return this}reset(t,r){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(t===r)return this;if(t<0||r>this.original.length)throw new Error("Character is out of bounds");if(t>r)throw new Error("end must be greater than start");this._split(t),this._split(r);let i=this.byStart[t];for(;i;)i.reset(),i=r>i.end?this.byStart[i.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let t=this.lastChunk;do{if(t.outro.length)return t.outro[t.outro.length-1];if(t.content.length)return t.content[t.content.length-1];if(t.intro.length)return t.intro[t.intro.length-1]}while(t=t.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let t=this.outro.lastIndexOf(ka);if(t!==-1)return this.outro.substr(t+1);let r=this.outro,i=this.lastChunk;do{if(i.outro.length>0){if(t=i.outro.lastIndexOf(ka),t!==-1)return i.outro.substr(t+1)+r;r=i.outro+r}if(i.content.length>0){if(t=i.content.lastIndexOf(ka),t!==-1)return i.content.substr(t+1)+r;r=i.content+r}if(i.intro.length>0){if(t=i.intro.lastIndexOf(ka),t!==-1)return i.intro.substr(t+1)+r;r=i.intro+r}}while(i=i.previous);return t=this.intro.lastIndexOf(ka),t!==-1?this.intro.substr(t+1)+r:this.intro+r}slice(t=0,r=this.original.length-this.offset){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}let i="",s=this.firstChunk;for(;s&&(s.start>t||s.end<=t);){if(s.start<r&&s.end>=r)return i;s=s.next}if(s&&s.edited&&s.start!==t)throw new Error(`Cannot use replaced character ${t} as slice start anchor.`);let a=s;for(;s;){s.intro&&(a!==s||s.start===t)&&(i+=s.intro);let n=s.start<r&&s.end>=r;if(n&&s.edited&&s.end!==r)throw new Error(`Cannot use replaced character ${r} as slice end anchor.`);let u=a===s?t-s.start:0,p=n?s.content.length+r-s.end:s.content.length;if(i+=s.content.slice(u,p),s.outro&&(!n||s.end===r)&&(i+=s.outro),n)break;s=s.next}return i}snip(t,r){let i=this.clone();return i.remove(0,t),i.remove(r,i.original.length),i}_split(t){if(this.byStart[t]||this.byEnd[t])return;let r=this.lastSearchedChunk,i=r,s=t>r.end;for(;r;){if(r.contains(t))return this._splitChunk(r,t);if(r=s?this.byStart[r.end]:this.byEnd[r.start],r===i)return;i=r}}_splitChunk(t,r){if(t.edited&&t.content.length){let s=UT(this.original)(r);throw new Error(`Cannot split a chunk that has already been edited (${s.line}:${s.column} \u2013 "${t.original}")`)}let i=t.split(r);return this.byEnd[r]=t,this.byStart[r]=i,this.byEnd[i.end]=i,t===this.lastChunk&&(this.lastChunk=i),this.lastSearchedChunk=t,!0}toString(){let t=this.intro,r=this.firstChunk;for(;r;)t+=r.toString(),r=r.next;return t+this.outro}isEmpty(){let t=this.firstChunk;do if(t.intro.length&&t.intro.trim()||t.content.length&&t.content.trim()||t.outro.length&&t.outro.trim())return!1;while(t=t.next);return!0}length(){let t=this.firstChunk,r=0;do r+=t.intro.length+t.content.length+t.outro.length;while(t=t.next);return r}trimLines(){return this.trim("[\\r\\n]")}trim(t){return this.trimStart(t).trimEnd(t)}trimEndAborted(t){let r=new RegExp((t||"\\s")+"+$");if(this.outro=this.outro.replace(r,""),this.outro.length)return!0;let i=this.lastChunk;do{let s=i.end,a=i.trimEnd(r);if(i.end!==s&&(this.lastChunk===i&&(this.lastChunk=i.next),this.byEnd[i.end]=i,this.byStart[i.next.start]=i.next,this.byEnd[i.next.end]=i.next),a)return!0;i=i.previous}while(i);return!1}trimEnd(t){return this.trimEndAborted(t),this}trimStartAborted(t){let r=new RegExp("^"+(t||"\\s")+"+");if(this.intro=this.intro.replace(r,""),this.intro.length)return!0;let i=this.firstChunk;do{let s=i.end,a=i.trimStart(r);if(i.end!==s&&(i===this.lastChunk&&(this.lastChunk=i.next),this.byEnd[i.end]=i,this.byStart[i.next.start]=i.next,this.byEnd[i.next.end]=i.next),a)return!0;i=i.next}while(i);return!1}trimStart(t){return this.trimStartAborted(t),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(t,r){function i(a,n){return typeof r=="string"?r.replace(/\$(\$|&|\d+)/g,(u,p)=>p==="$"?"$":p==="&"?a[0]:+p<a.length?a[+p]:`$${p}`):r(...a,a.index,n,a.groups)}function s(a,n){let u,p=[];for(;u=a.exec(n);)p.push(u);return p}if(t.global)s(t,this.original).forEach(n=>{if(n.index!=null){let u=i(n,this.original);u!==n[0]&&this.overwrite(n.index,n.index+n[0].length,u)}});else{let a=this.original.match(t);if(a&&a.index!=null){let n=i(a,this.original);n!==a[0]&&this.overwrite(a.index,a.index+a[0].length,n)}}return this}_replaceString(t,r){let{original:i}=this,s=i.indexOf(t);return s!==-1&&(typeof r=="function"&&(r=r(t,s,i)),t!==r&&this.overwrite(s,s+t.length,r)),this}replace(t,r){return typeof t=="string"?this._replaceString(t,r):this._replaceRegexp(t,r)}_replaceAllString(t,r){let{original:i}=this,s=t.length;for(let a=i.indexOf(t);a!==-1;a=i.indexOf(t,a+s)){let n=i.slice(a,a+s),u=r;typeof r=="function"&&(u=r(n,a,i)),n!==u&&this.overwrite(a,a+s,u)}return this}replaceAll(t,r){if(typeof t=="string")return this._replaceAllString(t,r);if(!t.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(t,r)}};var WT=qs(HT(),1);function hj(e){if(!e)return"";let t=e.lastIndexOf("/");return e.slice(0,t+1)}function _j(e,t){let r=hj(e),i=t?t+"/":"";return s=>(0,WT.default)(i+(s||""),r)}var pi=0;function bj(e,t){let r=zT(e,0);if(r===e.length)return e;t||(e=e.slice());for(let i=r;i<e.length;i=zT(e,i+1))e[i]=yj(e[i],t);return e}function zT(e,t){for(let r=t;r<e.length;r++)if(!vj(e[r]))return r;return e.length}function vj(e){for(let t=1;t<e.length;t++)if(e[t][pi]<e[t-1][pi])return!1;return!0}function yj(e,t){return t||(e=e.slice()),e.sort(gj)}function gj(e,t){return e[pi]-t[pi]}var xd=!1;function xj(e,t,r,i){for(;r<=i;){let s=r+(i-r>>1),a=e[s][pi]-t;if(a===0)return xd=!0,s;a<0?r=s+1:i=s-1}return xd=!1,r-1}function wj(e,t,r){for(let i=r+1;i<e.length&&e[i][pi]===t;r=i++);return r}function kj(e,t,r){for(let i=r-1;i>=0&&e[i][pi]===t;r=i--);return r}function Cj(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function Sj(e,t,r,i){let{lastKey:s,lastNeedle:a,lastIndex:n}=r,u=0,p=e.length-1;if(i===s){if(t===a)return xd=n!==-1&&e[n][pi]===t,n;t>=a?u=n===-1?0:n:p=n}return r.lastKey=i,r.lastNeedle=t,r.lastIndex=xj(e,t,u,p)}function Ej(e){return typeof e=="string"?JSON.parse(e):e}var GT=-1,Tj=1,wd=class{constructor(e,t){let r=typeof e=="string";if(!r&&e._decodedMemo)return e;let i=Ej(e),{version:s,file:a,names:n,sourceRoot:u,sources:p,sourcesContent:d}=i;this.version=s,this.file=a,this.names=n||[],this.sourceRoot=u,this.sources=p,this.sourcesContent=d,this.ignoreList=i.ignoreList||i.x_google_ignoreList||void 0;let f=_j(t,u);this.resolvedSources=p.map(f);let{mappings:h}=i;if(typeof h=="string")this._encoded=h,this._decoded=void 0;else if(Array.isArray(h))this._encoded=void 0,this._decoded=bj(h,r);else throw i.sections?new Error("TraceMap passed sectioned source map, please use FlattenMap export instead"):new Error(`invalid source map: ${JSON.stringify(i)}`);this._decodedMemo=Cj(),this._bySources=void 0,this._bySourceMemos=void 0}};function kd(e){var t;return(t=e)._decoded||(t._decoded=vh(e._encoded))}function KT(e,t,r){let i=kd(e);if(t>=i.length)return null;let s=i[t],a=Aj(s,e._decodedMemo,t,r,Tj);return a===-1?null:s[a]}function Aj(e,t,r,i,s){let a=Sj(e,i,t,r);return xd?a=(s===GT?wj:kj)(e,i,a):s===GT&&a++,a===-1||a===e.length?-1:a}var Ih=class{constructor(){this._indexes={__proto__:null},this.array=[]}};function YT(e,t){return e._indexes[t]}function Ca(e,t){let r=YT(e,t);if(r!==void 0)return r;let{array:i,_indexes:s}=e,a=i.push(t);return s[t]=a-1}function Pj(e,t){let r=YT(e,t);if(r===void 0)return;let{array:i,_indexes:s}=e;for(let a=r+1;a<i.length;a++){let n=i[a];i[a-1]=n,s[n]--}s[t]=void 0,i.pop()}var Rj=0,$j=1,Ij=2,qj=3,Mj=4,JT=-1,QT=class{constructor({file:e,sourceRoot:t}={}){this._names=new Ih,this._sources=new Ih,this._sourcesContent=[],this._mappings=[],this.file=e,this.sourceRoot=t,this._ignoreList=new Ih}};var ZT=(e,t,r,i,s,a,n,u)=>Lj(!0,e,t,r,i,s,a,n,u);function eA(e,t,r){let{_sources:i,_sourcesContent:s}=e,a=Ca(i,t);s[a]=r}function tA(e,t,r=!0){let{_sources:i,_sourcesContent:s,_ignoreList:a}=e,n=Ca(i,t);n===s.length&&(s[n]=null),r?Ca(a,n):Pj(a,n)}function qh(e){let{_mappings:t,_sources:r,_sourcesContent:i,_names:s,_ignoreList:a}=e;return Dj(t),{version:3,file:e.file||void 0,names:s.array,sourceRoot:e.sourceRoot||void 0,sources:r.array,sourcesContent:i,mappings:t,ignoreList:a.array}}function rA(e){let t=qh(e);return Object.assign({},t,{mappings:Oi(t.mappings)})}function Lj(e,t,r,i,s,a,n,u,p){let{_mappings:d,_sources:f,_sourcesContent:h,_names:_}=t,g=Nj(d,r),E=Oj(g,i);if(!s)return e&&Bj(g,E)?void 0:XT(g,E,[i]);let S=Ca(f,s),o=u?Ca(_,u):JT;if(S===h.length&&(h[S]=p??null),!(e&&jj(g,E,S,a,n,o)))return XT(g,E,u?[i,S,a,n,o]:[i,S,a,n])}function Nj(e,t){for(let r=e.length;r<=t;r++)e[r]=[];return e[t]}function Oj(e,t){let r=e.length;for(let i=r-1;i>=0;r=i--){let s=e[i];if(t>=s[Rj])break}return r}function XT(e,t,r){for(let i=e.length;i>t;i--)e[i]=e[i-1];e[t]=r}function Dj(e){let{length:t}=e,r=t;for(let i=r-1;i>=0&&!(e[i].length>0);r=i,i--);r<t&&(e.length=r)}function Bj(e,t){return t===0?!0:e[t-1].length===1}function jj(e,t,r,i,s,a){if(t===0)return!1;let n=e[t-1];return n.length===1?!1:r===n[$j]&&i===n[Ij]&&s===n[qj]&&a===(n.length===5?n[Mj]:JT)}var iA=sA("",-1,-1,"",null,!1),Fj=[];function sA(e,t,r,i,s,a){return{source:e,line:t,column:r,name:i,content:s,ignore:a}}function aA(e,t,r,i,s){return{map:e,sources:t,source:r,content:i,ignore:s}}function nA(e,t){return aA(e,t,"",null,!1)}function Vj(e,t,r){return aA(null,Fj,e,t,r)}function Uj(e){let t=new QT({file:e.map.file}),{sources:r,map:i}=e,s=i.names,a=kd(i);for(let n=0;n<a.length;n++){let u=a[n];for(let p=0;p<u.length;p++){let d=u[p],f=d[0],h=iA;if(d.length!==1){let y=r[d[1]];if(h=oA(y,d[2],d[3],d.length===5?s[d[4]]:""),h==null)continue}let{column:_,line:g,name:E,content:S,source:o,ignore:l}=h;ZT(t,n,f,o,g,_,E),o&&S!=null&&eA(t,o,S),l&&tA(t,o,!0)}}return t}function oA(e,t,r,i){if(!e.map)return sA(e.source,t,r,i,e.content,e.ignore);let s=KT(e.map,t,r);return s==null?null:s.length===1?iA:oA(e.sources[s[1]],s[2],s[3],s.length===5?e.map.names[s[4]]:i)}function Hj(e){return Array.isArray(e)?e:[e]}function zj(e,t){let r=Hj(e).map(a=>new wd(a,"")),i=r.pop();for(let a=0;a<r.length;a++)if(r[a].sources.length>1)throw new Error(`Transformation map ${a} must have exactly one source file.
|
|
224
|
+
Did you specify these with the most recent transformation maps first?`);let s=lA(i,t,"",0);for(let a=r.length-1;a>=0;a--)s=nA(r[a],[s]);return s}function lA(e,t,r,i){let{resolvedSources:s,sourcesContent:a,ignoreList:n}=e,u=i+1,p=s.map((d,f)=>{let h={importer:r,depth:u,source:d||"",content:void 0,ignore:void 0},_=t(h.source,h),{source:g,content:E,ignore:S}=h;if(_)return lA(new wd(_,g),t,g,u);let o=E!==void 0?E:a?a[f]:null,l=S!==void 0?S:n?n.includes(f):!1;return Vj(g,o,l)});return nA(e,p)}var Gj=class{constructor(e,t){let r=t.decodedMappings?qh(e):rA(e);this.version=r.version,this.file=r.file,this.mappings=r.mappings,this.names=r.names,this.ignoreList=r.ignoreList,this.sourceRoot=r.sourceRoot,this.sources=r.sources,t.excludeContent||(this.sourcesContent=r.sourcesContent)}toString(){return JSON.stringify(this)}};function Mh(e,t,r){let i=typeof r=="object"?r:{excludeContent:!!r,decodedMappings:!1},s=zj(e,t);return new Gj(Uj(s),i)}var Wj=typeof window<"u"&&typeof btoa=="function"?e=>btoa(unescape(encodeURIComponent(e))):e=>Buffer.from(e).toString("base64");function uA(e,t){if(t.length==0)return null;let r=1,i=t.slice(0,-1).find(s=>s.sources.length!==1)===void 0?Mh(t,()=>null,!0):Mh(t[0],s=>s===e&&t[r]?t[r++]:null,!0);return i.file||delete i.file,i.sources.length||(i.sources=[e]),i}function Kj(e,t,r){if(!t||!r)return t;let i=typeof r=="string"?JSON.parse(r):r;i.sources?.length===1&&!i.sources[0]&&(i.sources=[e]);let s=uA(e,[t,i]);return Object.defineProperties(s,{toString:{enumerable:!1,value:function(){return JSON.stringify(this)}},toUrl:{enumerable:!1,value:function(){return"data:application/json;charset=utf-8;base64,"+Wj(this.toString())}}}),s}function Cd(e,t,r){if(t.sourcemap){let i=Lh(t.filename);e.map.sources=[i],Object.assign(e.map,Kj(i,e.map,t.sourcemap)),i!==r&&(e.map.sources=e.map.sources.map(s=>cA(r,s)))}}function cA(e,t){let r=e.split(/[/\\]/),i=t.split(/[/\\]/);for(r.pop();r[0]===i[0];)r.shift(),i.shift();if(r.length){let s=r.length;for(;s--;)r[s]=".."}return r.concat(i).join("/")}function Lh(e){return e.split(/[/\\]/).pop()}function pA(e,t,r){return t?cA(t,e):Lh(e)}function Cs(e,t,r){let i=new gd(e),s={code:i,hash:t.css.hash,minify:t.inject_styles&&!r.dev,selector:`.${t.css.hash}`,keyframes:t.css.keyframes,specificity:{bumped:!1}},a=t.css.ast;oe(a,s,Xj),i.remove(0,a.content.start),i.remove(a.content.end,e.length),s.minify&&Ed(a.content.end,s);let n={code:i.toString(),map:i.generateMap({includeContent:!0,source:r.filename,file:r.cssOutputFilename||r.filename}),hasGlobal:t.css.has_global};return Cd(n,r,n.map.sources[0]),H&&t.inject_styles&&n.code&&(n.code+=`
|
|
225
|
+
/*# sourceMappingURL=${n.map.toUrl()} */`),n}var Xj={_:(e,t)=>{t.state.code.addSourcemapLocation(e.start),t.state.code.addSourcemapLocation(e.end),t.next()},Atrule(e,{state:t,next:r,path:i}){if(fs(e)){let s=e.start+e.name.length+1;for(;t.code.original[s]===" ";)s+=1;let a=s;for(;t.code.original[a]!=="{"&&t.code.original[a]!==" ";)a+=1;e.prelude.startsWith("-global-")?t.code.remove(s,s+8):Sd(i)||t.code.prependRight(s,`${t.hash}-`);return}r()},Declaration(e,{state:t}){let r=e.property&&Cm(e.property.toLowerCase());if(r==="animation"||r==="animation-name"){let i=e.start+e.property.length+1,s="";for(;i<t.code.original.length;){let a=t.code.original[i];if(ix.test(a)){if(t.keyframes.includes(s)&&t.code.prependRight(i-s.length,`${t.hash}-`),a===";"||a==="}")break;s=""}else s+=a;i++}}else if(t.minify&&(Ed(e.start,t),!e.property.startsWith("--"))){let i=e.start+e.property.length+1,s=i;for(;/\s/.test(t.code.original[s]);)s++;s>i&&t.code.remove(i,s)}},Rule(e,{state:t,next:r,visit:i,path:s}){if(t.minify&&(Ed(e.start,t),Ed(e.block.end-1,t)),!H&&mA(e,Sd(s))){t.minify?t.code.remove(e.start,e.end):(t.code.prependRight(e.start,"/* (empty) "),t.code.appendLeft(e.end,"*/"),fA(e,t.code));return}if(!hA(e)&&!Sd(s)){t.minify?t.code.remove(e.start,e.end):(t.code.prependRight(e.start,"/* (unused) "),t.code.appendLeft(e.end,"*/"),fA(e,t.code));return}if(e.metadata.is_global_block){let a=e.prelude.children[0];if(e.prelude.children.length===1&&a.children.length===1&&a.children[0].selectors.length===1){t.minify?(t.code.remove(e.start,e.block.start+1),t.code.remove(e.block.end-1,e.end)):(t.code.prependRight(e.start,"/* "),t.code.appendLeft(e.block.start+1,"*/"),t.code.prependRight(e.block.end-1,"/*"),t.code.appendLeft(e.block.end,"*/")),i(e.block);return}}r()},SelectorList(e,{state:t,next:r,path:i}){let s=i.at(-1);if((!Sd(i)||e.children.length>1&&s?.type==="Rule"&&s.metadata.is_global_block)&&!i.find(n=>n.type==="ComplexSelector"&&!n.metadata.used)){let n=e.children,u=!1,p=n[0].start,d=p,f=!1;for(let h=0;h<n.length;h+=1){let _=n[h];if(_.metadata.used===u){if(u){let g=_.start;for(;t.code.original[g]!==",";)g--;t.minify?t.code.remove(p,f?g:g+1):t.code.appendRight(f?g:g+1,"*/")}else h===0?t.minify?p=_.start:t.code.prependRight(_.start,"/* (unused) "):t.minify?p=d:t.code.overwrite(d,_.start," /* (unused) ");u=!u}!u&&_.metadata.used&&(f=!0),d=_.end}u&&(t.minify?t.code.remove(p,d):t.code.appendLeft(d,"*/"))}let a=t.specificity;if(s?.type==="Rule"){a={bumped:!1};let n=s.metadata.parent_rule;for(;n;){if(n.metadata.has_local_selectors){a={bumped:!0};break}n=n.metadata.parent_rule}}r({...t,specificity:a})},ComplexSelector(e,t){let r=t.state.specificity.bumped;for(let i of e.children){if(i.metadata.is_global){let s=i.selectors[0];dA(s,i.combinator,t.state);let a=e.metadata.rule?.metadata.parent_rule;if(a&&s.args===null&&(i.combinator===null&&t.state.code.prependRight(s.start,"&"),a.prelude.children.length>1&&e.children.length===e.children.findIndex(n=>n===i)-1)){let n=a.prelude.children.find(u=>u.start>s.end);n&&n.metadata.used&&t.state.code.update(s.end,n.start,"")}continue}else for(let s of i.selectors)s.type==="PseudoClassSelector"&&s.name==="global"&&dA(s,null,t.state);if(i.metadata.scoped){if(i.selectors.length===1){let n=i.selectors[0];if(n.type==="PseudoClassSelector"&&(n.name==="is"||n.name==="where"))continue}if(i.selectors.some(n=>n.type==="NestingSelector"))continue;let s=t.state.selector;t.state.specificity.bumped&&(s=`:where(${s})`),t.state.specificity.bumped=!0;let a=i.selectors.length;for(;a--;){let n=i.selectors[a];if(n.type==="PseudoElementSelector"||n.type==="PseudoClassSelector"){n.name!=="root"&&n.name!=="host"&&a===0&&t.state.code.prependRight(n.start,s);continue}n.type==="TypeSelector"&&n.name==="*"&&n.namespace===void 0?t.state.code.update(n.start,n.end,s):t.state.code.appendLeft(n.end,s);break}}}t.next(),t.state.specificity.bumped=r},PseudoClassSelector(e,t){(e.name==="is"||e.name==="where"||e.name==="has"||e.name==="not")&&t.next()},PseudoElementSelector(){}};function Sd(e){return e.some(t=>t.type==="Rule"&&t.metadata.is_global_block)}function dA(e,t,r){if(e.args===null){let i=e.start;if(t?.name===" ")for(;/\s/.test(r.code.original[i-1]);)i--;r.code.update(i,e.start+7,"")}else r.code.remove(e.start,e.start+8).remove(e.end-1,e.end)}function Ed(e,t){let r=e;for(;/\s/.test(t.code.original[r-1]);)r--;r<e&&t.code.remove(r,e)}function mA(e,t){if(e.metadata.is_global_block)return e.block.children.length===0;for(let r of e.block.children)if(r.type==="Declaration"||r.type==="Rule"&&(hA(r)||t)&&!mA(r,t)||r.type==="Atrule"&&(r.block===null||r.block.children.length>0))return!1;return!0}function hA(e){return e.prelude.children.some(t=>t.metadata.used)}function fA(e,t){let r=!1,i=!1;for(let s=e.start;s<e.end;s++)if(r)r=!1;else{let a=t.original[s];i?a==="*"&&t.original[s+1]==="/"&&(t.prependRight(++s,"\\"),i=!1):a==="\\"?r=!0:a==="/"&&t.original[++s]==="*"&&(i=!0)}}function Td(e,t,r){if(e.left.type==="ArrayPattern"||e.left.type==="ObjectPattern"||e.left.type==="RestElement"){let i=t.visit(e.right),s=i.type!=="Identifier",a=s?w("$$value"):i,n=!1,{inserts:u,paths:p}=nt(e.left,a);for(let{id:_}of u)_.name=t.state.scope.generate("$$array");let d=p.map(_=>{let g=_.expression,E=r("=",_.node,g,t);return E!==null&&(n=!0),E??ie("=",t.visit(_.node),t.visit(g))});if(!n)return null;let f=t.path.at(-1).type.endsWith("Statement");if(u.length>0||s){let _=[...u.map(({id:o,value:l})=>ae(o,l)),...d.map(I)];f||_.push(de(a));let g=Pe(i)||d.some(o=>Pe(o)),E=U([a],O(_),g),S=v(E,i);return g?at(S):S}let h=Ge(d);return f||h.expressions.push(a),h}if(e.left.type!=="Identifier"&&e.left.type!=="MemberExpression")throw new Error(`Unexpected assignment type ${e.left.type}`);return r(e.operator,e.left,e.right,t)}function _A(e,t){return Td(e,t,Yj)??t.next()}function Yj(e,t,r,i){if(i.state.analysis.runes&&t.type==="MemberExpression"&&t.object.type==="ThisExpression"&&!t.computed){let n=ut(t.property),u=n&&i.state.state_fields.get(n);if(u&&u.node.type==="AssignmentExpression"&&t===u.node.left){let p=ye(r,i.state.scope);if(p){let d=t.property.type==="PrivateIdentifier"||p==="$state"||p==="$state.raw"?t.property:u.key;return ie(e,J(mt,d,d.type==="Literal"),i.visit(r))}}else if(u&&(u.type==="$derived"||u.type==="$derived.by")&&t.property.type==="PrivateIdentifier"){let p=i.visit(Ri(e,t,r));return v(J(mt,n),p)}}let s=t;for(;s.type==="MemberExpression";)s=s.object;if(s.type!=="Identifier")return null;if(Jj(s.name)){let n=s.name.slice(1);if(!i.state.scope.get(n))return null;if(s===t){let u=i.visit(Ri(e,t,r));return v("$.store_set",w(n),u)}return v("$.store_mutate",ie("??=",w("$$store_subs"),Q([])),$(s.name),w(n),ie(e,i.visit(t),i.visit(r)))}if(i.state.scope.get(s.name)?.kind==="derived"&&s===t){let n=i.visit(Ri(e,t,r));return v(s,n)}return null}function Jj(e){return e[0]==="$"&&/[A-Za-z_]/.test(e[1])}var Qj=/[&"<]/g,Zj=/[&<]/g;function yr(e,t){let r=String(e??""),i=t?Qj:Zj;i.lastIndex=0;let s="",a=0;for(;i.test(r);){let n=i.lastIndex-1,u=r[n];s+=r.substring(a,n)+(u==="&"?"&":u==='"'?""":"<"),a=n+1}return s+r.substring(a)}var bA=`<!--${"["}-->`,vA=`<!--${"[!"}-->`,yA=`<!--${"]"}-->`,gA="<!---->";var jt=$(bA),Di=$(vA),it=$(yA),Or=$(gA);function Dr(e,{visit:t,state:r}){let i=[];function s(){if(i.length===0)return;let a=Wt("",!1),n=[a],u=[];for(let p=0;p<i.length;p++){let d=i[p];if(d.type==="Text"||d.type==="Comment")a.value.cooked+=d.type==="Comment"?`<!--${d.data}-->`:yr(d.data);else{let f=r.scope.evaluate(d.expression);f.is_known?a.value.cooked+=yr((f.value??"")+""):(u.push(v("$.escape",t(d.expression,r))),a=Wt("",p+1===i.length),n.push(a))}}for(let p of n)p.value.raw=Si(p.value.cooked);r.template.push(Qr(n,u)),i=[]}for(let a of e)if(a.type==="ExpressionTag"&&a.metadata.expression.is_async()){s();let n=t(a.expression,r),u=v("$$renderer.push",D(v("$.escape",n),a.metadata.expression.has_await)),p=a.metadata.expression.blockers();p.elements.length>0&&(u=v("$$renderer.async",p,U([w("$$renderer")],u))),r.template.push(I(u))}else a.type==="Text"||a.type==="Comment"||a.type==="ExpressionTag"?i.push(a):(s(),t(a,{...r}));s()}function iF(e){return e.type.endsWith("Statement")||e.type.endsWith("Declaration")}function Xe(e){let t=[],r=[],i=[],s=()=>{i.push(I(v(w("$$renderer.push"),Qr(t.map((a,n)=>Wt(a,n===t.length-1)),r)))),t=[],r=[]};for(let a=0;a<e.length;a++){let n=e[a];iF(n)?(t.length!==0&&s(),i.push(n)):(t.length===0&&t.push(""),n.type==="Literal"?t[t.length-1]+=n.value:n.type==="TemplateLiteral"?(t[t.length-1]+=n.quasis[0].value.cooked,t.push(...n.quasis.slice(1).map(u=>u.value.cooked)),r.push(...n.expressions)):(r.push(n),t.push("")))}return t.length!==0&&s(),i}function Ss(e,t){let r=e.body[0];if(r?.type==="ExpressionStatement"&&r.expression.type==="CallExpression"&&r.expression.callee.type==="Identifier"&&r.expression.callee.name==="$$renderer.push"&&r.expression.arguments.length===1&&r.expression.arguments[0].type==="TemplateLiteral"){let i=r.expression.arguments[0].quasis[0];i.value.cooked=t+i.value.cooked,i.value.raw=t+i.value.raw;return}e.body.unshift(I(v(w("$$renderer.push"),$(t))))}function pt(e,t,r,i=!1,s=!1){if(e===!0)return ee;if(!Array.isArray(e)||e.length===1){let p=Array.isArray(e)?e[0]:e;if(p.type==="Text"){let d=i?p.data.replace(zd," ").trim():p.data;return $(s?d:yr(d,!0))}return r(t.visit(p.expression),p.metadata.expression)}let a=Wt("",!1),n=[a],u=[];for(let p=0;p<e.length;p++){let d=e[p];if(d.type==="Text")a.value.cooked+=i?d.data.replace(zd," "):d.data;else{let f=t.state.scope.evaluate(d.expression);if(f.is_known)a.value.cooked+=(f.value??"")+"";else{let h=r(t.visit(d.expression),d.metadata.expression);u.push(f.is_string&&f.is_defined?h:v("$.stringify",h)),a=Wt("",p+1===e.length),n.push(a)}}}for(let p of n)p.value.raw=Si(p.value.cooked);return u.length>0?Qr(n,u):$(a.value.cooked)}function Nh(e,t){let r=t.scope.get(e.name);if(r===null||e===r.node)return e;if(r.kind==="store_sub"){let i=w(e.name.slice(1));return v("$.store_get",ie("??=",w("$$store_subs"),Q([])),$(e.name),Nh(i,t))}return r.kind==="derived"?(r.declaration_kind==="var"?or:v)(e):e}function St(e,t,r){if(t.elements.length===0&&!r)return e;let i=U([w("$$renderer")],O(e),r);return t.elements.length>0?[I(v("$$renderer.async_block",t,i))]:[I(v("$$renderer.child_block",i))]}var Bt=class{expressions=[];has_await=!1;#e=new Set;transform=(t,r)=>{if(this.check_blockers(r),r.has_await){this.has_await=!0;let i=this.expressions.push(t);return w(`$$${i-1}`)}return t};check_blockers(t){for(let r of t.references)r.blocker&&this.#e.add(r.blocker)}#t(){if(this.expressions.length===0)return me;if(this.expressions.length===1)return Ce("$$0",this.expressions[0]);let t=W(this.expressions.map(r=>r.type==="AwaitExpression"&&!ur(r.argument)?r.argument:v(D(r,!0))));return Ce(Yr(this.expressions.map((r,i)=>w(`$$${i}`))),Rr(v("Promise.all",t)))}blockers(){return W([...this.#e])}is_async(){return this.expressions.length>0||this.#e.size>0}render(t){if(!this.is_async())return t;let r=U([w("$$renderer")],O([this.#t(),...t]),this.has_await),i=this.blockers();return i.elements.length>0?[I(v("$$renderer.async",i,r))]:[I(v("$$renderer.child",r))]}render_block(t){return this.is_async()?St([this.#t(),...t],this.blockers(),this.has_await):t}};function xA(e,t){let r=t.visit(e.expression);e.metadata.expression.has_await&&(r=v(U([],r,!0)));let i=I(v("$.await",w("$$renderer"),r,D(e.pending?t.visit(e.pending):O([])),U(e.value?[t.visit(e.value)]:[],e.then?t.visit(e.then):O([]))));t.state.template.push(...St([i],e.metadata.expression.blockers(),e.metadata.expression.has_await),it)}function wA(e,t){let r=t.visit(e.argument);if(t.state.analysis.pickled_awaits.has(e))return Rr(r);let i=t.path.length;for(;i--;){let s=t.path[i];if(s.type==="ArrowFunctionExpression"||s.type==="FunctionExpression"||s.type==="FunctionDeclaration")break;if(s.metadata){if(s.type!=="ExpressionTag"&&s.type!=="Fragment")return Rr(r);break}}return r===e.argument?e:{...e,argument:r}}function sF(e,t){let r=[],i=new Map;for(let p of e)if(p.type==="ConstTag"){let d=p.declaration.declarations[0],f=_e(d.id).map(_=>t.scope.get(_.name)),h=new Set;oe(d.init,t,{_:ds,Identifier(_,g){let E=g.path.at(-1);if(et(_,E)){let S=g.state.scope.get(_.name);S&&h.add(S)}}});for(let _ of f)i.set(_,{node:p,deps:h})}else r.push(p);if(i.size===0)return e;let s=[];for(let[p,d]of i)for(let f of d.deps)i.has(f)&&s.push([p,f]);let a=ia(s);if(a?.length){let p=i.get(a[0]);cg(p.node,a.map(d=>d.node.name).join(" \u2192 "))}let n=[];function u(p){if(!n.includes(p.node)){for(let d of p.deps){let f=i.get(d);f&&u(f)}n.push(p.node)}}for(let p of i.values())u(p);return[...n,...r]}function di(e,t,r,i="html",s,a,n){s.analysis.runes||(t=sF(t,s));let u=[],p=[];for(let h of t)h.type==="Comment"&&!n||(h.type==="ConstTag"||h.type==="DeclarationTag"||h.type==="DebugTag"||h.type==="SvelteBody"||h.type==="SvelteWindow"||h.type==="SvelteDocument"||h.type==="SvelteHead"||h.type==="TitleElement"||h.type==="SnippetBlock"?u.push(h):p.push(h));let d=p;if(!a){d=[];let h,_;for(;(h=p[0])&&h.type==="Text"&&!sr.test(h.data);)p.shift();for(h?.type==="Text"&&(h.raw=h.raw.replace(_i,""),h.data=h.data.replace(_i,""));(_=p.at(-1))&&_.type==="Text"&&!sr.test(_.data);)p.pop();_?.type==="Text"&&(_.raw=_.raw.replace(Fr,""),_.data=_.data.replace(Fr,""));let g=i==="svg"&&(e.type!=="RegularElement"||e.name!=="text")&&!r.some(E=>E.type==="RegularElement"&&E.name==="text")||e.type==="RegularElement"&&(e.name==="select"||e.name==="tr"||e.name==="table"||e.name==="tbody"||e.name==="thead"||e.name==="tfoot"||e.name==="colgroup"||e.name==="datalist");for(let E=0;E<p.length;E++){let S=p[E-1],o=p[E],l=p[E+1];if(o.type==="Text"){if(S?.type!=="ExpressionTag"){let y=S?.type==="Text"&&Fr.test(S.data);o.data=o.data.replace(_i,y?"":" "),o.raw=o.raw.replace(_i,y?"":" ")}l?.type!=="ExpressionTag"&&(o.data=o.data.replace(Fr," "),o.raw=o.raw.replace(Fr," ")),o.data&&(o.data!==" "||!g)&&d.push(o)}else d.push(o)}}var f=d[0];return e.type==="RegularElement"&&e.name==="pre"&&f?.type==="Text"&&(f.data===`
|
|
226
|
+
`||f.data===`\r
|
|
227
|
+
`)&&(d.shift(),f=d[0]),d.length===1&&f.type==="RegularElement"&&f.name==="script"&&d.push({type:"Comment",data:"",start:-1,end:-1}),{hoisted:u,trimmed:d,is_standalone:d.length===1&&(f.type==="RenderTag"&&!f.metadata.dynamic||f.type==="Component"&&!s.options.hmr&&!f.metadata.dynamic&&!f.attributes.some(h=>h.type==="Attribute"&&h.name.startsWith("--"))),is_text_first:(e.type==="Fragment"||e.type==="SnippetBlock"||e.type==="EachBlock"||e.type==="SvelteComponent"||e.type==="SvelteBoundary"||e.type==="Component"||e.type==="SvelteSelf")&&f&&(f?.type==="Text"||f?.type==="ExpressionTag")}}function Ad(e,t,r){if(t.type==="RegularElement"&&t.name==="foreignObject")return"html";if(t.type==="RegularElement"||t.type==="SvelteElement")return t.metadata.svg?"svg":t.metadata.mathml?"mathml":"html";if(t.type==="Fragment"||t.type==="Root"||t.type==="Component"||t.type==="SvelteComponent"||t.type==="SvelteFragment"||t.type==="SnippetBlock"||t.type==="SlotElement"){let s=aF(r,"keep");if(s!=="keep"&&s!=="maybe_html")return s}let i=null;for(let s of r)if(s.type==="RegularElement")if(s.metadata.mathml)i=i===null||i==="mathml"?"mathml":"html";else if(s.metadata.svg)i=i===null||i==="svg"?"svg":"html";else return"html";return i??e}function aF(e,t){let r=(i,{stop:s})=>{!i.metadata.svg&&!i.metadata.mathml?(t="html",s()):t==="keep"&&(t=i.metadata.svg?"svg":"mathml")};for(let i of e)if(oe(i,{},{_(s,{next:a}){(s.type==="EachBlock"||s.type==="IfBlock"||s.type==="AwaitBlock"||s.type==="Fragment"||s.type==="KeyBlock"||s.type==="RegularElement"||s.type==="SvelteElement"||s.type==="Text")&&a()},SvelteElement:r,RegularElement:r,Text(s){s.data.trim()!==""&&(t="maybe_html")}}),t==="html")return t;return t}function fi(e,t){return e.name==="foreignObject"?"html":e.metadata.svg?"svg":e.metadata.mathml?"mathml":"html"}function Pd(e,t,r){return{args:(e==="$inspect"?t:t.callee.object).arguments.map(s=>r(s)),inspector:e==="$inspect"?"console.log":r(t.arguments[0])}}function kA(e,t){let r=ye(e,t.state.scope);if(r==="$host"||r==="$effect"||r==="$effect.pre"||r==="$inspect.trace")return Oe;if(r==="$effect.tracking")return Sr;if(r==="$effect.root")return U([],O([]));if(r==="$effect.pending")return $(0);if(r==="$state"||r==="$state.raw")return e.arguments[0]?t.visit(e.arguments[0]):Oe;if(r==="$derived"||r==="$derived.by"){let i=t.visit(e.arguments[0]);return v("$.derived",r==="$derived"?D(i):i)}if(r==="$state.eager")return t.visit(e.arguments[0]);if(r==="$state.snapshot")return v("$.snapshot",t.visit(e.arguments[0]),Le(e,"state_snapshot_uncloneable")&&ee);if(r==="$inspect"||r==="$inspect().with"){if(!H)return me;let{args:i,inspector:s}=Pd(r,e,t.visit);return r==="$inspect"?v(s,$("$inspect("),...i,$(")")):v(s,$("init"),...i)}t.next()}function CA(e,t){let r=t.state.analysis.classes.get(e);if(!r){t.next();return}let i=[],s={...t.state,state_fields:r};for(let[a,n]of r)if(a[0]!=="#"&&n&&n.node.type==="AssignmentExpression"&&(n.type==="$derived"||n.type==="$derived.by")){let u=J(mt,n.key);i.push(Pi(n.key,null),lr("get",Ke(a),[],[de(v(u))]),lr("set",Ke(a),[w("$$value")],[de(v(u,w("$$value")))]))}for(let a of e.body){if(a.type!=="PropertyDefinition"){i.push(t.visit(a,s));continue}let n=ut(a.key),u=n&&r.get(n);if(!u){i.push(t.visit(a,s));continue}if(n[0]==="#"||u.type==="$state"||u.type==="$state.raw")i.push(t.visit(a,s));else if(u.node===a){let p=J(mt,u.key);i.push(Pi(u.key,t.visit(u.value,s)),lr("get",a.key,[],[de(v(p))]),lr("set",Ke(n),[w("$$value")],[de(v(p,w("$$value")))]))}}return{...e,body:i}}function Es(e,t,r){let i=[],s=[],a=[],n={default:[]},u={...r.state,scope:e.metadata.scopes.default},p={},d=e.attributes.some(y=>y.type==="Attribute"&&y.name==="slot"),f=!1;function h(y,x=!1){let T=()=>{let P=i.at(-1),q=Array.isArray(P),N=q?P:[];N.push(y),q||i.push(N)};x?s.push(T):T()}let _=new Bt;for(let y of e.attributes)if(y.type==="LetDirective")d||n.default.push(y);else if(y.type==="SpreadAttribute"){let x=r.visit(y);i.push(_.transform(x,y.metadata.expression))}else if(y.type==="Attribute"){let x=pt(y.value,r,_.transform,!1,!0);if(y.name.startsWith("--")){a.push(Z(y.name,x));continue}y.name==="children"&&(f=!0),h(we("init",Ke(y.name),x))}else if(y.type==="BindDirective"){if(_.check_blockers(y.metadata.expression),y.name==="this")continue;if(y.expression.type==="SequenceExpression"){let[x,T]=r.visit(y.expression).expressions,P=w(r.state.scope.generate("bind_get")),q=w(r.state.scope.generate("bind_set"));r.state.init.push(ae(P,x)),r.state.init.push(ae(q,T)),h(ft(y.name,[de(v(P))])),h(Kt(y.name,[I(v(q,w("$$value")))]))}else h(ft(y.name,[de(r.visit(y.expression))]),!0),h(Kt(y.name,[I(r.visit(ie("=",y.expression,w("$$value")))),I(ie("=",w("$$settled"),Sr))]),!0)}else y.type==="AttachTag"&&_.check_blockers(y.metadata.expression);s.forEach(y=>y());let g=[],E=[];for(let y of e.fragment.nodes){if(y.type==="SnippetBlock"){r.visit(y,{...r.state,init:g}),h(we("init",y.expression,y.expression)),E.push(Z(y.expression.name==="children"?"default":y.expression.name,ee));continue}let x="default";if(us(y)){let T=y.attributes.find(P=>P.type==="Attribute"&&P.name==="slot");T!==void 0?(x=T.value[0].data,n[x]=y.attributes.filter(P=>P.type==="LetDirective")):y.type==="SvelteFragment"&&n.default.push(...y.attributes.filter(P=>P.type==="LetDirective"))}p[x]=p[x]||[],p[x].push(y)}for(let y of Object.keys(p)){let x=r.visit({...e.fragment,nodes:p[y]},y==="default"?u:{...r.state,scope:e.metadata.scopes[y]});if(x.body.length===0)continue;let T=[w("$$renderer")];if(n[y].length>0){let q=Ai(n[y].map(N=>N.expression===null?Z(N.name,w(N.name)):N.expression.type==="ObjectExpression"?Z(N.name,Ai(N.expression.properties)):N.expression.type==="ArrayExpression"?Z(N.name,Yr(N.expression.elements)):Z(N.name,N.expression)));T.push(q)}let P=U(T,O(x.body));y==="default"&&!f?n.default.length===0&&p.default.every(q=>q.type!=="SvelteFragment"||!q.attributes.some(N=>N.type==="LetDirective"))?(h(we("init",w("children"),H?v("$.prevent_snippet_stringification",P):P)),E.push(Z(y,ee))):(E.push(Z(y,P)),h(Z("children",w("$.invalid_default_snippet")))):E.push(Z(y,P))}E.length>0&&h(we("init",w("$$slots"),Q(E)));let S=i.length===0||i.length===1&&Array.isArray(i[0])?Q(i[0]||[]):v("$.spread_props",W(i.map(y=>Array.isArray(y)?Q(y):y))),o=e.type==="SvelteComponent"||e.type==="Component"&&e.metadata.dynamic,l=I(v(t,w("$$renderer"),S));o&&(l=Fe(t,O([I(v("$$renderer.push",jt)),l,I(v("$$renderer.push",it))]),O([I(v("$$renderer.push",Di)),I(v("$$renderer.push",it))]))),g.length>0&&(l=O([...g,l])),a.length>0&&(l=I(v("$.css_props",w("$$renderer"),$(r.state.namespace!=="svg"),Q(a),D(O([l])),o&&ee))),e.type!=="SvelteSelf"&&_.check_blockers(e.metadata.expression),r.state.template.push(..._.render_block([l])),!o&&!_.is_async()&&!r.state.is_standalone&&a.length===0&&r.state.template.push(Or)}function SA(e,t){Es(e,t.visit(Jr(e.name)),t)}function EA(e,t){let r=t.visit(e.declaration);if(e.metadata.promises_id&&e.declaration.type==="VariableDeclaration"&&r.type==="VariableDeclaration"){let{ids:i,assignments:s}=nF(r);Oh(t,e.metadata,i,s,r.kind)}else t.state.init.push(r)}function nF(e){let t=new Map;for(let i of e.declarations)for(let s of _e(i.id))t.set(s.name,s);let r=e.declarations.filter(i=>i.init!==null).map(i=>I(ie("=",i.id,i.init)));return{ids:[...t.values()],assignments:r}}function Oh(e,t,r,i,s="let"){let a=e.state.async_consts??={id:t.promises_id,thunks:[]};for(let d of r)e.state.init.push(s==="var"?ae(d.name):We(d.name));let n=[...t.expression.references].map(d=>d.blocker).filter(d=>d!==null&&d.object!==e.state.async_consts?.id);n.length===1?a.thunks.push(D(n[0])):n.length>0&&a.thunks.push(D(v("Promise.all",W(n))));let u=t.expression.has_await||i.some(d=>ur(d)),p=i.length===1?i[0].expression:O(i);a.thunks.push(D(p,u))}function TA(e,t){let r=e.declaration.declarations[0],i=t.visit(r.id),s=t.visit(r.init);e.metadata.promises_id?Oh(t,e.metadata,_e(i),[I(ie("=",i,s))],"let"):t.state.init.push(Ce(i,s))}function AA(e,t){let r=e.identifiers.map(i=>t.state.scope.get(i.name)?.blocker).filter(i=>i!=null);t.state.template.push(...St([I(v("console.log",Q(e.identifiers.map(i=>we("init",i,t.visit(i)))))),gn],W(r),!1))}function PA(e,t){let r=t.state,i=e.metadata,s=t.visit(e.expression),a=i.contains_group_binding||!e.index?i.index:w(e.index),n=r.scope.root.unique("each_array"),u=[Ce(n,v("$.ensure_array_like",s))],p=[];e.context&&p.push(We(e.context,J(n,a,!0))),a.name!==e.index&&e.index!=null&&p.push(We(e.index,a));let d=t.visit(e.body).body;e.body&&p.push(...d);let f=E0(kt("let",[ce(a,$(0)),ce("$$length",J(n,"length"))]),Gt("<",a,w("$$length")),yn("++",a,!1),O(p));if(e.fallback){let h=I(v(w("$$renderer.push"),jt)),_=t.visit(e.fallback);Ss(_,Di.value),u.push(Fe(Gt("!==",J(n,"length"),$(0)),O([h,f]),_))}else r.template.push(jt),u.push(f);r.template.push(...St(u,e.metadata.expression.blockers(),e.metadata.expression.has_await),it)}function RA(e,t){let r=ye(e.expression,t.state.scope);if(r==="$effect"||r==="$effect.pre"||r==="$effect.root"||r==="$inspect.trace")return me;t.next()}function $A(e,t){let r=t.path.at(-1)??e,i=Ad(t.state.namespace,r,e.nodes),{hoisted:s,trimmed:a,is_standalone:n,is_text_first:u}=di(r,e.nodes,t.path,i,t.state,t.state.preserve_whitespace,t.state.options.preserveComments),p={...t.state,init:[],template:[],namespace:i,is_standalone:n,async_consts:void 0};for(let d of s)t.visit(d,p);return u&&p.template.push(Or),Dr(a,{...t,state:p}),p.async_consts&&p.async_consts.thunks.length>0&&p.init.push(ae(p.async_consts.id,v("$$renderer.run",W(p.async_consts.thunks)))),O([...p.init,...Xe(p.template)])}function IA(e,t){let r=v("$.html",t.visit(e.expression));e.metadata.expression.is_async()?t.state.template.push(...St([I(v("$$renderer.push",r))],e.metadata.expression.blockers(),e.metadata.expression.has_await)):t.state.template.push(r)}function qA(e,t){if(et(e,t.path.at(-1)))return e.name==="$$props"?w("$$sanitized_props"):e.name.startsWith("$$derived_array")?v(e):Nh(e,t.state)}function MA(e,t){let r=t.visit(e.consequent);Ss(r,"<!--[0-->");let i=Fe(t.visit(e.test),r),s=1,a=i,n=e.alternate;for(let p of e.metadata.flattened??[]){let d=t.visit(p.consequent);Ss(d,`<!--[${s++}-->`),a=a.alternate=Fe(t.visit(p.test),d),n=p.alternate}let u=n?t.visit(n):O([]);Ss(u,"<!--[-1-->"),a.alternate=u,t.state.template.push(...St([i],e.metadata.expression.blockers(),e.metadata.expression.has_await),it)}function LA(e,t){let r=e.metadata.expression.is_async();r&&t.state.template.push(jt),t.state.template.push(Or,t.visit(e.fragment),Or),r&&t.state.template.push(it)}function NA(e,t){if(t.state.analysis.runes||t.path.length>1||e.label.name!=="$"){t.next();return}return t.state.legacy_reactive_statements.set(e,w0("$",t.visit(e.body))),me}function OA(e,t){if(t.state.analysis.runes&&e.property.type==="PrivateIdentifier"){let r=t.state.state_fields?.get(`#${e.property.name}`);if(r?.type==="$derived"||r?.type==="$derived.by")return v(e)}t.next()}function Rd(e,t,r){let i=e.sync.map(s=>r(s));if(e.declarations.length>0&&i.push(kt("var",e.declarations.map(s=>ce(s)))),e.async.length>0){let s=e.async.map(a=>{let n=[];for(let u of a.nodes)n.push(...oF(u,r));return n.length===0?D(Oe,!1):n.length===1&&n[0].type==="ExpressionStatement"?D(n[0].expression,a.has_await):D(O(n),a.has_await)});i.push(ae("$$promises",v(t,W(s))))}return i}function oF(e,t){if(e.type==="VariableDeclarator"){let i=t(ae(e.id,e.init));return i.type==="VariableDeclaration"?i.declarations.map(s=>s.id.type==="Identifier"&&(s.id.name.startsWith("$$d")||s.id.name.startsWith("$$array"))?ae(s.id,s.init):I(ie("=",s.id,s.init??Oe))):[]}if(e.type==="ClassDeclaration")return[I(ie("=",e.id,{...e,type:"ClassExpression"}))];if(e.type==="ExpressionStatement"){let i=t(e.expression);return i.type==="EmptyStatement"?[]:i.type==="AwaitExpression"?[I(i)]:[I(Js("void",i))]}let r=t(e);return r.type==="EmptyStatement"?[]:[r]}function DA(e,t){if(t.state.is_instance){let r=t.state;return{...e,body:Rd(r.analysis.instance_body,w("$$renderer.run"),i=>t.visit(i))}}t.next()}function BA(e,t){if(t.state.analysis.runes&&e.value!=null&&e.value.type==="CallExpression"){let r=ye(e.value,t.state.scope);if(r==="$state"||r==="$state.raw")return{...e,value:e.value.arguments.length===0?null:t.visit(e.value.arguments[0])};if(r==="$derived.by"||r==="$derived"){let i=t.visit(e.value.arguments[0]);return{...e,value:e.value.arguments.length===0?null:v("$.derived",r==="$derived"?D(i):i)}}}t.next()}var Dh=["class","style"];function Id(e,t,r){let i=[],s=[],a=[],n=null,u=!1,p=new Set;for(let d of e.attributes)if(d.type==="Attribute")d.name==="value"?e.name==="textarea"?(d.value!==!0&&Array.isArray(d.value)&&d.value[0].type==="Text"&&hi.test(d.value[0].data)&&(d.value[0].data=`
|
|
228
|
+
`+d.value[0].data),n=v("$.escape",pt(d.value,t,r))):e.name!=="select"&&i.push(d):De(d)?(d.name==="onload"||d.name==="onerror")&&zi(e.name)&&p.add(d.name):d.name!=="defaultValue"&&d.name!=="defaultChecked"&&(d.name==="class"&&d.metadata.needs_clsx?i.push({...d,value:{...d.value,expression:v("$.clsx",d.value.expression)}}):i.push(d));else if(d.type==="BindDirective"){if(d.name==="value"&&e.name==="select"||d.name==="value"&&i.some(_=>_.type==="Attribute"&&_.name==="type"&&ve(_)&&_.value[0].data==="file")||d.name==="this"||fr[d.name]?.omit_in_ssr)continue;let h=t.visit(d.expression);if(h.type==="SequenceExpression"&&(h=v(h.expressions[0])),h=r(h,d.metadata.expression),d.name==="innerHTML")n=h;else if(Hi(d.name)||d.name==="value"&&e.name==="textarea")n=v("$.escape",h);else if(d.name==="group"&&d.expression.type!=="SequenceExpression"){let _=e.attributes.find(E=>E.type==="Attribute"&&E.name==="value");if(!_)continue;let g=e.attributes.some(E=>E.type==="Attribute"&&E.name==="type"&&ve(E)&&E.value[0].data==="checkbox");i.push({type:"transformed",name:"checked",expression:g?v(J(h,"includes"),pt(_.value,t,r)):Gt("===",h,pt(_.value,t,r))})}else i.push({type:"transformed",name:$d(e,d),expression:h})}else d.type==="SpreadAttribute"?(i.push(d),u=!0,zi(e.name)&&(p.add("onload"),p.add("onerror"))):d.type==="UseDirective"?zi(e.name)&&(p.add("onload"),p.add("onerror")):d.type==="ClassDirective"?s.push(d):d.type==="StyleDirective"?a.push(d):d.type==="LetDirective"||t.visit(d);if(u)pF(e,i,a,s,t,r);else{let d=e.metadata.scoped?t.state.analysis.css.hash:null;for(let f of i){if(f.type==="transformed"){t.state.template.push(v("$.attr",$(f.name),f.expression,Yd(f.name)&&ee));continue}let h=$d(e,f),_=(h!=="class"||s.length===0)&&(h!=="style"||a.length===0);if(_&&(f.value===!0||ve(f))){let E=pt(f.value,t,r,Dh.includes(h)).value;h==="class"&&d&&(E=(String(E)+" "+d).trim()),(h!=="class"||E)&&t.state.template.push($(` ${h}="${E===!0?"":String(E)}"`));continue}let g=pt(f.value,t,r,Dh.includes(h));_&&g.type==="Literal"&&typeof g.value=="string"?(h==="class"&&d&&(g.value=(g.value+" "+d).trim()),t.state.template.push($(` ${h}="${yr(g.value,!0)}"`))):h==="class"?t.state.template.push(dF(s,g,t,d,r)):h==="style"?t.state.template.push(fF(a,g,t,r)):t.state.template.push(v("$.attr",$(h),g,Yd(h)&&ee))}}if(p.size!==0)for(let d of p)t.state.template.push($(` ${d}="this.__e=event"`));return n}function $d(e,t){let r=t.name;return!e.metadata.svg&&!e.metadata.mathml&&(r=r.toLowerCase()),r}function cF(e,t,r,i){let s=e.type==="RegularElement"&&e.name==="select";return Q(t.map(n=>{if(n.type==="transformed")return we("init",Ke(n.name),n.expression);if(n.type==="Attribute"){let u=$d(e,n);s&&u==="defaultvalue"&&(u="defaultValue");let p=pt(n.value,r,i,Dh.includes(u));return we("init",Ke(u),p)}else if(n.type==="BindDirective"){let u=$d(e,n),p=r.visit(n.expression),d=p.type==="SequenceExpression"?v(p.expressions[0]):p;return we("init",Ke(u),d)}return Mt(i(r.visit(n),n.metadata.expression))}))}function pF(e,t,r,i,s,a){let n=FA(e,t,r,i,s,a),u=v("$.attributes",...n);s.state.template.push(u)}function Bh(e,t,r){let i=[],s=[],a=[];for(let n of e.attributes)n.type==="Attribute"||n.type==="BindDirective"||n.type==="SpreadAttribute"?i.push(n):n.type==="ClassDirective"?s.push(n):n.type==="StyleDirective"&&a.push(n);return FA(e,i,a,s,t,r)}function FA(e,t,r,i,s,a){let n,u,p=0;if(i.length){let h=i.map(_=>Z(_.name,_.expression.type==="Identifier"&&_.expression.name===_.name?w(_.name):a(s.visit(_.expression),_.metadata.expression)));n=Q(h)}if(r.length>0){let h=r.map(_=>Z(_.name,_.value===!0?w(_.name):pt(_.value,s,a,!0)));u=Q(h)}e.metadata.svg||e.metadata.mathml?p|=3:Ct(e)?p|=2:e.type==="RegularElement"&&e.name==="input"&&(p|=4);let d=cF(e,t,s,a),f=e.metadata.scoped&&s.state.analysis.css.hash?$(s.state.analysis.css.hash):void 0;return[d,f,n,u,p?$(p):void 0]}function dF(e,t,r,i,s){let a;e.length&&(a=Q(e.map(u=>we("init",$(u.name),s(r.visit(u.expression,r.state),u.metadata.expression)))));let n;return i&&(t.type==="Literal"&&typeof t.value=="string"?t.value=(t.value+" "+i).trim():n=$(i)),v("$.attr_class",t,n,a)}function fF(e,t,r,i){let s;if(e.length){let a=[],n=[];for(let u of e){let p=u.value===!0?w(u.name):pt(u.value,r,i,!0),d=u.name;(d[0]!=="-"||d[1]!=="-")&&(d=d.toLowerCase());let f=Z(d,p);u.modifiers.includes("important")?n.push(f):a.push(f)}n.length?s=W([Q(a),Q(n)]):s=Q(a)}return v("$.attr_style",t,s)}function VA(e,t){let r=t.state.namespace==="html"?e.name.toLowerCase():e.name,i=fi(e,t.state.namespace),s=!e.fragment.metadata.transparent,a={...t.state,namespace:i,scope:t.state.scopes.get(e.fragment),preserve_whitespace:t.state.preserve_whitespace||e.name==="pre"||e.name==="textarea",init:[],template:[],async_consts:void 0},n={...a,scope:t.state.scope},u=Vt(r),p=new Bt,d=r==="select"&&e.attributes.some(S=>(S.type==="Attribute"||S.type==="BindDirective")&&(S.name==="value"||S.name.toLowerCase()==="defaultvalue")||S.type==="SpreadAttribute"),f=r==="option",h=d||f,_=null;if(h||(a.template.push($(`<${r}`)),_=Id(e,{...t,state:n},p.transform),a.template.push($(u?"/>":">"))),(r==="script"||r==="style")&&e.fragment.nodes.length===1){a.template.push($(e.fragment.nodes[0].data),$(`</${r}>`)),t.state.template.push(...p.render([...a.init,...Xe(a.template)]));return}let{hoisted:g,trimmed:E}=di(e,e.fragment.nodes,t.path,i,a,a.preserve_whitespace,a.options.preserveComments);for(let S of g)t.visit(S,a);if(H){let S=Te(e.start);a.template.push(I(v("$.push_element",w("$$renderer"),$(r),$(S.line),$(S.column))))}if(d){let S={...a,template:[],init:[]};Dr(E,{...t,state:S});let o=U([w("$$renderer")],O([...a.init,...Xe(S.template)])),[l,...y]=Bh(e,t,p.transform);ti(e)&&y.push(ee);let x=I(v("$$renderer.select",l,o,...y));t.state.template.push(...p.render([...a.init,x]));return}if(f){let S;if(e.metadata.synthetic_value_node)S=p.transform(t.visit(e.metadata.synthetic_value_node.expression),e.metadata.synthetic_value_node.metadata.expression);else{let x={...a,template:[],init:[]};Dr(E,{...t,state:x});let T=[...a.init,...Xe(x.template)];if(H){let P=Te(e.start);T.unshift(I(v("$.push_element",w("$$renderer"),$(r),$(P.line),$(P.column)))),T.push(I(v("$.pop_element")))}S=U([w("$$renderer")],O(T))}let[o,...l]=Bh(e,t,p.transform);ti(e)&&l.push(ee);let y=I(v("$$renderer.option",o,S,...l));t.state.template.push(...p.render([...a.init,y]));return}if(_!==null){let S={...a,template:[],init:[]};Dr(E,{...t,state:S});let o=_;_.type!=="Identifier"&&(o=w(a.scope.generate("$$body")),a.template.push(Ce(o,_))),a.template.push(Fe(o,O(Xe([o])),O([...S.init,...Xe(S.template)])))}else Dr(E,{...t,state:a}),(r==="optgroup"||r==="select")&&ti(e)&&a.template.push($("<!>"));u||a.template.push($(`</${r}>`)),H&&a.template.push(I(v("$.pop_element"))),s&&a.async_consts&&a.async_consts.thunks.length>0&&a.init.push(ae(a.async_consts.id,v("$$renderer.run",W(a.async_consts.thunks)))),s?t.state.template.push(...p.render([O([...a.init,...Xe(a.template)])])):p.is_async()?t.state.template.push(...p.render([...a.init,...Xe(a.template)])):(t.state.init.push(...a.init),t.state.template.push(...a.template))}function UA(e,t){let r=new Bt,i=ei(e.expression).callee,s=ei(e.expression).arguments,a=r.transform(t.visit(i),e.metadata.expression),n=s.map((p,d)=>r.transform(t.visit(p),e.metadata.arguments[d])),u=I((e.expression.type==="CallExpression"?v:or)(a,w("$$renderer"),...n));t.state.template.push(...r.render_block([u])),!r.is_async()&&!t.state.is_standalone&&t.state.template.push(Or)}function HA(e,t){let r=[],i=[],s=new Bt,a=$("default");for(let d of e.attributes)if(d.type==="SpreadAttribute"){let f=t.visit(d);i.push(s.transform(f,d.metadata.expression))}else if(d.type==="Attribute"){let f=pt(d.value,t,s.transform,!1,!0);d.name==="name"?a=f:d.name!=="slot"&&r.push(Z(d.name,f))}let n=i.length===0?Q(r):v("$.spread_props",W([Q(r),...i])),u=e.fragment.nodes.length===0?vt:D(t.visit(e.fragment)),p=v("$.slot",w("$$renderer"),w("$$props"),a,n,u);t.state.template.push(jt,...s.render_block([I(p)]),it)}function zA(e,t){let r=Ti(e.expression,[w("$$renderer"),...e.parameters],t.visit(e.body));r.___snippet=!0;let i=e.metadata.can_hoist?t.state.hoisted:t.state.init;H&&(r.body.body.unshift(I(v("$.validate_snippet_args",w("$$renderer")))),i.push(I(v("$.prevent_snippet_stringification",r.id)))),i.push(r)}function GA(e,t){return t.visit(e.expression)}function WA(e,t){Es(e,t.visit(e.expression),t)}function KA(e,t){let r=t.visit(e.tag);if(H){if(r.type!=="Identifier"){let p=t.state.scope.generate("$$tag");t.state.init.push(Ce(p,r)),r=w(p)}t.state.init.push(I(v("$.validate_dynamic_element_tag",D(r)))),e.fragment.nodes.length>0&&t.state.init.push(I(v("$.validate_void_dynamic_element",D(r))))}let i={...t.state,namespace:fi(e,t.state.namespace),template:[],init:[]},s=new Bt,a=[];if(Id(e,{...t,state:i},s.transform),H){let p=Te(e.start);a.push(I(v("$.push_element",w("$$renderer"),r,$(p.line),$(p.column))))}let n=O([...i.init,...Xe(i.template)]),u=t.visit(e.fragment,i);a.push(...s.render([I(v("$.element",w("$$renderer"),r,n.body.length>0&&D(n),u.body.length>0&&D(u)))])),H&&a.push(I(v("$.pop_element"))),t.state.template.push(...St(a,e.metadata.expression.blockers(),e.metadata.expression.has_await))}function XA(e,t){t.state.template.push(t.visit(e.fragment))}function YA(e,t){let r=t.visit(e.fragment);t.state.template.push(I(v("$.head",$(Vi(Be)),w("$$renderer"),U([w("$$renderer")],r))))}function JA(e,t){Es(e,w(t.state.analysis.name),t)}function QA(e,t){let r=[$("<title>")];Dr(e.fragment.nodes,{...t,state:{...t.state,template:r}}),r.push($("</title>")),t.state.init.push(I(v("$$renderer.title",U([w("$$renderer")],O(Xe(r))))))}function ZA(e,t){let r=e.argument;if(r.type==="Identifier"){let i=t.state.scope.get(r.name);if(i?.kind==="store_sub")return v(e.prefix?"$.update_store_pre":"$.update_store",ie("??=",w("$$store_subs"),Q([])),$(r.name),w(r.name.slice(1)),e.operator==="--"&&$(-1));if(i?.kind==="derived")return v(e.prefix?"$.update_derived_pre":"$.update_derived",i.node,e.operator==="--"&&$(-1))}return t.next()}function tP(e,t){let r=[];if(t.state.analysis.runes)for(let i of e.declarations){let s=i.init,a=ye(s,t.state.scope);if(!a||a==="$effect.tracking"||a==="$inspect"||a==="$effect.root"){r.push(t.visit(i));continue}if(a==="$props.id")continue;if(a==="$props"){let p=!1,d=oe(i.id,null,{RestElement(h,_){_.path.at(-1)===i.id&&(p=!0)},AssignmentPattern(h){if(h.right.type==="CallExpression"&&ye(h.right,t.state.scope)==="$bindable"){let _=h.right.arguments.length?t.visit(h.right.arguments[0]):Oe;return bn(h.left,_)}}}),f=t.state.analysis.uses_slots?w("$$slots_"):w("$$slots");d.type==="ObjectPattern"&&p?d.properties.splice(d.properties.length-1,0,we("init",w("$$slots"),f),we("init",w("$$events"),w("$$events"))):d.type==="Identifier"&&(d=Ai([we("init",w("$$slots"),f),we("init",w("$$events"),w("$$events")),ns(w(d.name))])),r.push(ce(t.visit(d),w("$$props")));continue}let n=s.arguments,u=n.length>0?t.visit(n[0]):Oe;if(a==="$derived"||a==="$derived.by"){let d=a==="$derived"&&t.state.analysis.async_deriveds.has(i.init)?at(v("$.async_derived",D(u,!0))):v("$.derived",a==="$derived"?D(u):u);if(i.id.type==="Identifier")r.push(ce(t.visit(i.id),d));else{let f=i.init,h=f.arguments[0];if(a==="$derived.by"||f.arguments[0].type!=="Identifier"){let E=w(t.state.scope.generate("$$d"));h=v(E),r.push(ce(E,d))}let{inserts:_,paths:g}=nt(i.id,h);for(let{id:E,value:S}of _){E.name=t.state.scope.generate("$$derived_array");let o=t.visit(D(S)),l=v("$.derived",o);r.push(ce(E,l))}for(let E of g){let S=t.visit(E.expression),o=v("$.derived",D(S));r.push(ce(E.node,o))}}continue}if(i.id.type==="Identifier"){r.push(ce(i.id,u));continue}r.push(...eP(i,t.state.scope,u))}else for(let i of e.declarations){let s=t.state.scope.get_bindings(i),a=s.some(u=>u.kind==="state"),n=s.some(u=>u.kind==="bindable_prop");if(!a&&!n){r.push(t.visit(i));continue}if(n){if(i.id.type!=="Identifier"){let f=w(t.state.scope.generate("tmp")),{inserts:h,paths:_}=nt(i.id,f);r.push(ce(f,t.visit(i.init)));for(let{id:g,value:E}of h)g.name=t.state.scope.generate("$$array"),r.push(ce(g,E));for(let g of _){let E=g.expression,S=g.node.name,o=t.state.scope.get(S),l=J(w("$$props"),$(o.prop_alias??S),!0);r.push(ce(g.node,kn(l,E)))}continue}let u=t.state.scope.get(i.id.name),p=J(w("$$props"),$(u.prop_alias??i.id.name),!0),d=p;if(i.init){let f=t.visit(i.init);d=kn(p,f)}r.push(ce(i.id,d));continue}r.push(...eP(i,t.state.scope,i.init&&t.visit(i.init)))}return r.length===0?me:{...e,declarations:r}}function eP(e,t,r){if(e.id.type==="Identifier")return[ce(e.id,r)];let i=w(t.generate("tmp")),{paths:s,inserts:a}=nt(e.id,i);return[ce(i,r),...a.map(({id:n,value:u})=>(n.name=t.generate("$$array"),ce(n,u))),...s.map(n=>{let u=n.expression;return ce(n.node,u)})]}function iP(e,t){let r=e.fragment.nodes.find(E=>E.type==="SnippetBlock"&&E.expression.name==="failed"),i=e.attributes.find(E=>E.type==="Attribute"&&E.name==="failed"),s=e.attributes.find(E=>E.type==="Attribute"&&E.name==="pending"),a=s&&typeof s.value=="object"&&!Array.isArray(s.value)&&!t.state.scope.evaluate(s.value.expression).is_defined,n=e.fragment.nodes.find(E=>E.type==="SnippetBlock"&&E.expression.name==="pending"),u=e.fragment.nodes.filter(E=>!(E.type==="SnippetBlock"&&["failed","pending"].includes(E.expression.name))),p={...e.fragment,nodes:u},d=t.visit(p,{...t.state,scope:t.state.scopes.get(e.fragment)??t.state.scope}),f;if(s||n)if(s&&a&&!n){let{callee:E,pending_block:S}=rP(s,t);f=O([Fe(E,S,O(Xe([jt,d,it])))])}else f=s?rP(s,t).pending_block:mF(n,t);else f=O(Xe([jt,d,it]));if(!r&&!i){t.state.template.push(...f.body);return}let h=Q([]),_=[];if(i&&!r){let E=pt(i.value,t,S=>S,!1,!0);h.properties.push(Z("failed",E))}else r&&(t.visit(r,{...t.state,init:_}),h.properties.push(Z("failed",r.expression)));let g=I(v("$$renderer.boundary",h,U([w("$$renderer")],f)));t.state.template.push(_.length>0?O([..._,g]):g)}function rP(e,t){let r=pt(e.value,t,s=>s,!1,!0),i=v(r,w("$$renderer"));return{callee:r,pending_block:O(Xe([Di,I(i),it]))}}function mF(e,t){return O(Xe([Di,t.visit(e.body),it]))}var jh={_:ds,AssignmentExpression:_A,AwaitExpression:wA,CallExpression:kA,ClassBody:CA,ExpressionStatement:RA,Identifier:qA,LabeledStatement:NA,MemberExpression:OA,Program:DA,PropertyDefinition:BA,UpdateExpression:ZA,VariableDeclaration:tP},hF={AwaitBlock:xA,Component:SA,ConstTag:TA,DeclarationTag:EA,DebugTag:AA,EachBlock:PA,Fragment:$A,HtmlTag:IA,IfBlock:MA,KeyBlock:LA,RegularElement:VA,RenderTag:UA,SlotElement:HA,SnippetBlock:zA,SpreadAttribute:GA,SvelteComponent:WA,SvelteElement:KA,SvelteFragment:XA,SvelteHead:YA,SvelteSelf:JA,TitleElement:QA,SvelteBoundary:iP};function sP(e,t){let r={analysis:e,options:t,scope:e.module.scope,scopes:e.module.scopes,hoisted:[xn("$","svelte/internal/server"),...e.instance_body.hoisted],legacy_reactive_statements:new Map,init:null,template:null,namespace:t.namespace,preserve_whitespace:t.preserveWhitespace,state_fields:new Map,is_standalone:!1,is_instance:!1},i=oe(e.module.ast,r,jh),s=oe(e.instance.ast,{...r,scopes:e.instance.scopes,is_instance:!0},{...jh,ImportDeclaration(S){return r.hoisted.push(S),me},ExportNamedDeclaration(S,o){return S.declaration?o.visit(S.declaration):me}}),a=oe(e.template.ast,{...r,scopes:e.template.scopes},{...jh,...hF}),n=[];for(let[S]of e.reactive_statements){let o=r.legacy_reactive_statements.get(S);if(o===void 0)throw new Error("Could not find reactive statement");if(S.body.type==="ExpressionStatement"&&S.body.expression.type==="AssignmentExpression")for(let l of _e(S.body.expression.left))e.instance.scope.get(l.name)?.kind==="legacy_reactive"&&n.push(ce(l));s.body.push(o)}if(n.length>0&&s.body.unshift({type:"VariableDeclaration",kind:"let",declarations:n}),e.uses_component_bindings){let S=a.body.filter(l=>l.type==="FunctionDeclaration"&&l.___snippet),o=a.body.filter(l=>l.type!=="FunctionDeclaration"||!l.___snippet);a.body=[...S,We("$$settled",ee),We("$$inner_renderer"),Ti(w("$$render_inner"),[w("$$renderer")],O(o)),S0(Js("!",w("$$settled")),O([I(ie("=",w("$$settled"),ee)),I(ie("=",w("$$inner_renderer"),v("$$renderer.copy"))),I(v("$$render_inner",w("$$inner_renderer")))])),I(v("$$renderer.subsume",w("$$inner_renderer")))]}let u=[...e.instance.scope.declarations.values()].filter(S=>S.kind==="store_sub"),p=u.some(S=>S.blocker);if(u.length>0){s.body.unshift(ae("$$store_subs"));let S=Fe(w("$$store_subs"),I(v("$.unsubscribe_stores",w("$$store_subs"))));a.body.push(p?I(v("$$renderer.on_destroy",U([],O([S])))):S)}let d=[];for(let[S,o]of e.instance.scope.declarations)o.kind==="bindable_prop"&&!S.startsWith("$$")&&d.push(Z(o.prop_alias??S,w(S)));for(let{name:S,alias:o}of e.exports)d.push(Z(o??S,w(S)));d.length>0&&a.body.push(I(v("$.bind_props",w("$$props"),Q(d))));let f=O([...s.body,...a.body]);f.loc=s.loc,e.props_id&&f.body.unshift(Ce(e.props_id,v("$.props_id",w("$$renderer"))));let h=H||e.needs_context||p;if(h&&(f=O([I(v("$$renderer.component",U([w("$$renderer")],f,!1),H&&w(Hr)))])),e.uses_rest_props){let S=e.exports.map(({name:o,alias:l})=>l??o);for(let[o,l]of e.instance.scope.declarations)l.kind==="bindable_prop"&&S.push(l.prop_alias??o);f.body.unshift(Ce("$$restProps",v("$.rest_props",w("$$sanitized_props"),W(S.map(o=>$(o))))))}(e.uses_props||e.uses_rest_props)&&f.body.unshift(Ce("$$sanitized_props",v("$.sanitize_props",w("$$props")))),e.uses_slots&&f.body.unshift(Ce("$$slots",v("$.sanitize_slots",w("$$props"))));let _=[...r.hoisted,...i.body];if(e.css.ast!==null&&e.inject_styles&&!e.custom_element){let S=$(e.css.hash),o=$(Cs(e.source,e,t).code);_.push(Ce("$$css",Q([Z("hash",S),Z("code",o)]))),f.body.unshift(I(v("$$renderer.global.css.add",w("$$css"))))}let g=h||d.length>0||e.needs_props||e.uses_props||e.uses_rest_props||e.uses_slots||e.slot_names.size>0,E=Ti(w(e.name),g?[w("$$renderer"),w("$$props")]:[w("$$renderer")],f);return t.compatibility.componentApi===4?(_.unshift(Er([["render","$$_render"]],"svelte/server")),_.push(E,I(ie("=",Jr(`${e.name}.render`),Qe(null,[w("$$props"),w("$$opts")],O([de(v("$$_render",w(e.name),Q([Z("props",w("$$props")),Z("context",J(w("$$opts"),"context",!1,!0))])))])))),Ei(w(e.name)))):H?_.push(E,I(ie("=",Jr(`${e.name}.render`),Qe(null,[],O([T0("Component.render(...) is no longer valid in Svelte 5. See https://svelte.dev/docs/svelte/v5-migration-guide#Components-are-no-longer-classes for more information")])))),Ei(w(e.name))):_.push(Ei(E)),H&&_.unshift(I(ie("=",J(w(e.name),"$.FILENAME",!0),$(Be)))),t.experimental.async&&_.unshift(Er([],"svelte/internal/flags/async")),{type:"Program",sourceType:"module",body:_}}var Ye=class{#e=[];#t=[];#r=new Set;add(t,r,i=!1){if(this.check_blockers(r),!(r.has_call||r.has_await||i&&r.has_state))return t;let a=w("#");return(r.has_await?this.#t:this.#e).push({id:a,expression:t,metadata:r}),a}check_blockers(t){for(let r of t.references)r.blocker&&this.#r.add(r.blocker)}apply(){return[...this.#e,...this.#t].map((t,r)=>(t.id.name=`$${r}`,t.id))}blockers(){return this.#r.size>0?W([...this.#r]):void 0}deriveds(t=!0){return this.#e.map(r=>We(r.id,v(t?"$.derived":"$.derived_safe_equal",D(r.expression))))}async_ids(){return this.#t.map(t=>t.id)}async_values(){if(this.#t.length!==0)return W(this.#t.map(t=>He(t.expression,t.metadata)))}sync_values(){if(this.#e.length!==0)return W(this.#e.map(t=>U([],t.expression)))}};function mi(e,t,r=t.state,i=(s,a)=>r.memoizer.add(s,a)){let s=[],a=Wt(""),n=[a],u=!1,p=!1;for(let f=0;f<e.length;f++){let h=e[f];if(h.type==="Text")a.value.cooked+=h.data;else if(h.expression.type==="Literal")h.expression.value!=null&&(a.value.cooked+=h.expression.value+"");else if(h.expression.type!=="Identifier"||h.expression.name!=="undefined"||r.scope.get("undefined")){let _=i(je(t,h.expression,h.metadata.expression,r),h.metadata.expression),g=r.scope.evaluate(_);if(p||=h.metadata.expression.has_await||h.metadata.expression.has_blockers(),u||=p||h.metadata.expression.has_state&&!g.is_known,e.length===1)return g.is_known&&(_=$((g.value??"")+"")),{value:_,has_state:u};_.type==="LogicalExpression"&&_.right.type==="Literal"&&(_.operator==="??"||_.operator==="||")&&_.right.value===null&&(_={..._,right:$("")}),g.is_known?a.value.cooked+=(g.value??"")+"":(g.is_defined||(_=bt("??",_,$(""))),s.push(_),a=Wt("",f+1===e.length),n.push(a))}}for(let f of n)f.value.raw=Si(f.value.cooked);return{value:s.length>0?Qr(n,s):$(a.value.cooked),has_state:u}}function Bi(e){let{memoizer:t}=e,r=t.apply();return I(v("$.template_effect",U(r,e.update.length===1&&e.update[0].type==="ExpressionStatement"?e.update[0].expression:O(e.update)),t.sync_values(),t.async_values(),t.blockers()))}function Ts(e){let t=e.split("."),r=t.shift(),i=w(r);for(;r=t.shift();){let s=!Ms.test(r);i=J(i,s?$(r):w(r),s)}return i}function qd(e,t,{state:r,visit:i}){let[s,a]=e.type==="SequenceExpression"?e.expressions:[null,null],n=[],u=[],p=[],d={...r.transform};oe(s??e,null,{Identifier(E,{path:S}){if(p.includes(E.name))return;p.push(E.name);let o=S.at(-1);if(!et(E,o))return;let l=r.scope.get(E.name);if(l&&!(qi(l,r.analysis)||l.kind==="derived")){for(let[y,x]of r.scopes)if(y.type==="EachBlock"&&x===l.scope){n.push(E),u.push(i(E)),d[E.name]&&(d[E.name]={...d[E.name],read:T=>T});break}}}});let f={...r,transform:d},h=i(s??e,f),_=i(a??ie("=",e,w("$$value")),f),g=h;for(;g.type==="MemberExpression";)g.optional=!0,g=g.object;return h=h.type==="ArrowFunctionExpression"?U([...n],h.body):h.type==="FunctionExpression"?Qe(null,[...n],h.body):s?h:U([...n],h),_=_.type==="ArrowFunctionExpression"?U([_.params[0]??w("_"),...n],_.body):_.type==="FunctionExpression"?Qe(null,[_.params[0]??w("_"),...n],_.body):a?_:U([w("$$value"),...n],_),v("$.bind_this",t,_,h,u.length>0&&D(W(u)))}function Md(e,t,r){if(t.expression.type==="SequenceExpression")return;let i=Ve(t.expression);if((i&&e.scope.get(i.name))?.kind==="store_sub")return;let a=Te(t.start),n=r.object;e.init.push(I(v("$.validate_binding",$(e.analysis.source.slice(t.start,t.end)),t.metadata.expression.blockers(),D(e.store_to_invalidate?Ge([v("$.mark_store_binding"),n]):n),D(r.computed?r.property:$(r.property.name)),$(a.line),$(a.column))))}function Ld(e,t,r){let i=e.type==="AssignmentExpression"?e.left:e.argument;if(!H||i.type!=="MemberExpression"||Le(e,"ownership_invalid_mutation"))return r;let s=Ve(i);if(!s)return r;let a=t.state.scope.get(s.name);if(a?.kind!=="prop"&&a?.kind!=="bindable_prop")return r;let n=t.state;n.analysis.needs_mutation_validation=!0;let u=[];for(;i.type==="MemberExpression";){if(i.property.type==="Literal")u.unshift(i.property);else if(i.property.type==="Identifier"){let d=Object.hasOwn(t.state.transform,i.property.name)?t.state.transform[i.property.name]:null;i.computed?u.unshift(d?.read?d.read(i.property):i.property):u.unshift($(i.property.name))}else return r;i=i.object}u.unshift($(s.name));let p=Te(i.start);return v("$$ownership_validator.mutation",$(a.prop_alias),W(u),r,p&&$(p.line),p&&$(p.column))}function je(e,t,r,i=e.state){let s=e.visit(t,i);if(e.state.analysis.runes||e.state.analysis.maybe_runes||!r.has_call&&!r.has_member_expression&&!r.has_assignment)return s;let a=Ge([]);for(let u of r.references)if(!(u.kind==="normal"&&u.declaration_kind!=="import")){var n=ct({...u.node},i);(u.kind==="bindable_prop"||u.kind==="template"||u.declaration_kind==="import"||u.node.name==="$$props"||u.node.name==="$$restProps")&&(n=v("$.deep_read_state",n)),a.expressions.push(n)}return a.expressions.push(v("$.untrack",D(s))),a}function Et(e,t,r,i){if(!H)return I(e);let s=t.start!==void 0&&Te(t.start);return s?I(v("$.add_svelte_meta",U([],e),$(r),w(Hr),$(s.line),$(s.column),i&&Q(Object.entries(i).map(([a,n])=>Z(a,$(n)))))):I(e)}function aP(e,t){let r=e.expression===null?vt:D(t.visit(e.expression)),i=I(v("$.animation",t.state.node,D(t.visit(Ts(e.name))),r));e.metadata.expression.is_async()&&(i=I(v("$.run_after_blockers",e.metadata.expression.blockers(),D(O([i]))))),t.state.after_update.push(i)}var Nd=(e,t)=>{let r={...t.state,in_constructor:!1,in_derived:!1};if(e.type==="FunctionExpression"){let i=t.path.at(-1);r.in_constructor=i.type==="MethodDefinition"&&i.kind==="constructor"}t.next(r)};function nP(e,t){return Nd(e,t)}function oP(e,t){let r=Td(e,t,_F)??t.next();return Ld(e,t,r)}function Fh(e){return["=","||=","&&=","??="].includes(e)}function _F(e,t,r,i){if(i.state.analysis.runes&&t.type==="MemberExpression"){let d=ut(t.property),f=d&&i.state.state_fields.get(d);if(f){if(f.node.type==="AssignmentExpression"&&t===f.node.left){let h=ye(r,i.state.scope);if(h){let _={...i.state,in_constructor:h!=="$derived"&&h!=="$derived.by"},g=i.visit(r,_);if(H){let E=i.path.findLast(S=>S.type==="ClassDeclaration"||S.type==="ClassExpression");g=v("$.tag",g,$(`${E?.id?.name??"[class]"}.${d}`))}return ie(e,J(mt,f.key),g)}}if(t.property.type==="PrivateIdentifier"){let h=["||=","&&=","??="].includes(e)?e.slice(0,-1):null,_=i.visit(h===null?Ri(e,t,r):r),g=f.type==="$state"&&Fh(e)&&Zt(_,i.state.scope),E=v("$.set",t,_,g&&ee);return h===null?E:bt(h,i.visit(t),E)}}}let s=t;for(;s.type==="MemberExpression";)s=s.object;if(s.type!=="Identifier")return null;let a=i.state.scope.get(s.name);if(!a)return null;let n=Object.hasOwn(i.state.transform,s.name)?i.state.transform[s.name]:null,u=i.path.map(d=>d.type);if(s===t&&n?.assign){let d=u.at(-1)==="BindDirective"&&u.at(-2)==="RegularElement",f=i.visit(Ri(e,t,r));return n.assign(s,f,!d&&a.kind!=="prop"&&a.kind!=="bindable_prop"&&a.kind!=="raw_state"&&a.kind!=="derived"&&a.kind!=="store_sub"&&i.state.analysis.runes&&Zt(r,i.state.scope)&&Fh(e))}if(n?.mutate){let d=n.mutate(s,ie(e,i.visit(t),i.visit(r)));return a.legacy_indirect_bindings.size>0&&(d=Ge([d,v("$.invalidate_inner_signals",U([],O(Array.from(a.legacy_indirect_bindings).map(f=>I(ct({...f.node},i.state))))))])),d}let p=H&&u.at(-1)!=="ExpressionStatement"&&Fh(e)&&!i.state.scope.evaluate(r).is_primitive;if(u.at(-1)==="ArrowFunctionExpression"&&(u.at(-2)==="RegularElement"||u.at(-2)==="SvelteElement")&&i.path.at(-2).attributes.find(h=>h.type!=="Attribute"||!De(h)?!1:Lt(h)===i.path.at(-1))&&(p=!1),(u.at(-1)==="BindDirective"||u.at(-1)==="Component"||u.at(-1)==="SvelteComponent"||u.at(-1)==="ArrowFunctionExpression"&&(u.at(-2)==="BindDirective"||u.at(-2)==="Component"&&u.at(-3)==="Fragment"||u.at(-2)==="SequenceExpression"&&(u.at(-3)==="Component"||u.at(-3)==="SvelteComponent"||u.at(-3)==="BindDirective")))&&(p=!1),t.type==="MemberExpression"&&p){let d=e!=="=",f=d&&Pe(r),h=v(f?"$.assign_async":"$.assign",t.object,t.computed?t.property:$(t.property.name),$(e),d?U([],r,f):r,$(vi(t)));return f&&(h=at(h)),i.visit(h)}return null}function Od(e,t){let r=!1,i=e.name.slice(2);f_(i)&&(i=i.slice(0,-7),r=!0);let s=Array.isArray(e.value)?e.value[0]:e.value,a=Sa(s.expression,s.metadata.expression,t);e.metadata.delegated&&t.state.events.add(i);let n=I(Vh(t,i,a,r,b_(i)?!0:void 0,e.metadata.delegated)),u=t.path.at(-1).type;u==="SvelteDocument"||u==="SvelteWindow"||u==="SvelteBody"?t.state.init.push(n):t.state.after_update.push(n)}function Vh(e,t,r,i,s,a){let n=r;if(H&&r.type==="ArrowFunctionExpression"){let u=e.state.scope.generate(t);n=Qe(w(u),r.params,r.body.type==="BlockStatement"?r.body:O([de(r.body)]),r.async)}return v(a?"$.delegated":"$.event",$(t),e.state.node,n,i&&ee,s===void 0?void 0:$(s))}function Sa(e,t,r){if(e===null)return Qe(null,[w("$$arg")],O([I(v("$.bubble_event.call",mt,w("$$props"),w("$$arg")))]));let i=r.visit(e);if(i.type==="ArrowFunctionExpression"||i.type==="FunctionExpression")return i;if(i.type==="Identifier"){let a=r.state.scope.get(i.name);if(a?.is_function()||!H&&a?.declaration_kind!=="import")return i}if(t.has_call){let a=w(r.state.scope.generate("event_handler"));r.state.init.push(ae(a,v("$.derived",D(i)))),i=v("$.get",a)}let s=v(J(i,"apply",!1,!0),mt,w("$$args"));if(H){let a=Te(e.start),n=e.type==="CallExpression"&&e.arguments.length===0&&e.callee.type==="Identifier";s=v("$.apply",D(i),mt,w("$$args"),w(r.state.analysis.name),W([$(a.line),$(a.column)]),lP(e)&&ee,n&&ee)}return Qe(null,[ns(w("$$args"))],O([I(s)]))}function lP(e){return e.type==="CallExpression"||e.type==="NewExpression"||e.type==="AssignmentExpression"||e.type==="UpdateExpression"?!0:e.type==="SequenceExpression"?e.expressions.some(lP):!1}function uP(e,t){De(e)&&Od(e,t)}function Ue(e){return v("$.get",e)}function As(e){for(let[t,r]of e.state.scope.declarations)(qi(r,e.state.analysis)||r.kind==="derived"||r.kind==="legacy_reactive")&&(e.state.transform[t]={read:r.declaration_kind==="var"?i=>v("$.safe_get",i):Ue,assign:(i,s,a=!1)=>{let n=v("$.set",i,s,a&&ee);return e.state.scope.get(`$${i.name}`)?.kind==="store_sub"&&(n=v("$.store_unsub",n,$(`$${i.name}`),w("$$stores"))),n},mutate:(i,s)=>e.state.analysis.runes?s:v("$.mutate",i,s),update:i=>v(i.prefix?"$.update_pre":"$.update",i.argument,i.operator==="--"&&$(-1))})}function pP(e,t){t.state.template.push_comment();let r=je(t,e.expression,e.metadata.expression),i=e.metadata.expression.has_await?He(r,e.metadata.expression):D(r),s,a;if(e.then){let u={...t,state:{...t.state,transform:{...t.state.transform}}},p=e.value&&cP(e.value,u),d=[w("$$anchor")];p&&d.push(p.id);let f=p?.declarations??[],h=u.visit(e.then,u.state);s=U(d,O([...f,...h.body]))}if(e.catch){let u={...t,state:{...t.state}},p=e.error&&cP(e.error,u),d=[w("$$anchor")];p&&d.push(p.id);let f=p?.declarations??[],h=u.visit(e.catch,u.state);a=U(d,O([...f,...h.body]))}let n=Et(v("$.await",t.state.node,i,e.pending?U([w("$$anchor")],t.visit(e.pending)):vt,s,a),e,"await");e.metadata.expression.has_blockers()||e.metadata.expression.has_await?t.state.init.push(I(v("$.async",t.state.node,e.metadata.expression.blockers(),W([]),U([t.state.node],O([n]))))):t.state.init.push(n)}function cP(e,t){if(e.type==="Identifier")return t.state.transform[e.name]={read:Ue},{id:e,declarations:null};let r=t.visit(e),i=_e(e),s=w("$$source"),a=w("$$value"),n=O([ae(r,v("$.get",s)),de(Q(i.map(p=>we("init",p,p))))]),u=[ae(a,oi(t.state,n))];for(let p of i)t.state.transform[p.name]={read:Ue},u.push(ae(p,oi(t.state,J(v("$.get",a),p))));return{id:s,declarations:u}}function dP(e,t){let r=t.visit(e.argument);return t.state.analysis.pickled_awaits.has(e)?Rr(r):H&&!Le(e,"await_reactivity_loss")?v(at(v("$.track_reactivity_loss",r))):r===e.argument?e:{...e,argument:r}}function fP(e,t){if(H){let r=e.operator;if(r==="==="||r==="!==")return v("$.strict_equals",t.visit(e.left),t.visit(e.right),r==="!=="&&Sr);if(r==="=="||r==="!=")return v("$.equals",t.visit(e.left),t.visit(e.right),r==="!="&&Sr)}t.next()}function ji(e,t,r,i){let s=i.state.metadata.bound_contenteditable,a=t,n=0,u=[];function p(h){return n===0?a(h):v("$.sibling",a(!1),(h||n!==1)&&$(n),h&&ee)}function d(h,_,g){let E=p(h),S=E;return S.type!=="Identifier"&&(S=w(i.state.scope.generate(_),g),i.state.init.push(ae(S,E))),a=()=>S,n=1,S}function f(h){if(h.every(l=>l.type==="Text")){n+=1,i.state.template.push_text(h);return}i.state.template.push_text([{type:"Text",data:" ",raw:" ",start:-1,end:-1}]);let{has_state:_,value:g}=mi(h,i),E=h.length===1,S=d(E,"text"),o=I(v("$.set_text",S,g));_&&!s?i.state.update.push(o):i.state.init.push(I(ie("=",J(S,"nodeValue"),g)))}for(let h of e)if(h.type==="Text"||h.type==="ExpressionTag")u.push(h);else{u.length>0&&(f(u),u=[]);let _=i.state;if(Uh(h))n+=1;else if((h.type==="EachBlock"||h.type==="HtmlTag")&&e.length===1&&r&&!h.metadata.expression.is_async())h.metadata.is_controlled=!0;else{let g=d(!1,h.type==="RegularElement"?h.name:"node",h.type==="RegularElement"?h.name_loc:null);_={...i.state,node:g}}i.visit(h,_)}u.length>0&&f(u),n>1&&(n-=1,i.state.init.push(I(v("$.next",n!==1&&$(n)))))}function Uh(e){if(e.type!=="RegularElement"||e.fragment.metadata.dynamic||Ct(e))return!1;for(let t of e.attributes)if(t.type!=="Attribute"||De(t)||Ui(t.name)||t.name==="dir"||["input","textarea","select"].includes(e.name)&&["value","checked"].includes(t.name)||e.name==="option"&&t.name==="value"||t.value!==!0&&!ve(t))return!1;return!0}var bF="accent-height accumulate additive alignment-baseline allowReorder alphabetic amplitude arabic-form ascent attributeName attributeType autoReverse azimuth baseFrequency baseline-shift baseProfile bbox begin bias by calcMode cap-height class clip clipPathUnits clip-path clip-rule color color-interpolation color-interpolation-filters color-profile color-rendering contentScriptType contentStyleType cursor cx cy d decelerate descent diffuseConstant direction display divisor dominant-baseline dur dx dy edgeMode elevation enable-background end exponent externalResourcesRequired fill fill-opacity fill-rule filter filterRes filterUnits flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight format from fr fx fy g1 g2 glyph-name glyph-orientation-horizontal glyph-orientation-vertical glyphRef gradientTransform gradientUnits hanging height href horiz-adv-x horiz-origin-x id ideographic image-rendering in in2 intercept k k1 k2 k3 k4 kernelMatrix kernelUnitLength kerning keyPoints keySplines keyTimes lang lengthAdjust letter-spacing lighting-color limitingConeAngle local marker-end marker-mid marker-start markerHeight markerUnits markerWidth mask maskContentUnits maskUnits mathematical max media method min mode name numOctaves offset onabort onactivate onbegin onclick onend onerror onfocusin onfocusout onload onmousedown onmousemove onmouseout onmouseover onmouseup onrepeat onresize onscroll onunload opacity operator order orient orientation origin overflow overline-position overline-thickness panose-1 paint-order pathLength patternContentUnits patternTransform patternUnits pointer-events points pointsAtX pointsAtY pointsAtZ preserveAlpha preserveAspectRatio primitiveUnits r radius refX refY rendering-intent repeatCount repeatDur requiredExtensions requiredFeatures restart result rotate rx ry scale seed shape-rendering slope spacing specularConstant specularExponent speed spreadMethod startOffset stdDeviation stemh stemv stitchTiles stop-color stop-opacity strikethrough-position strikethrough-thickness string stroke stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width style surfaceScale systemLanguage tabindex tableValues target targetX targetY text-anchor text-decoration text-rendering textLength to transform type u1 u2 underline-position underline-thickness unicode unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical values version vert-adv-y vert-origin-x vert-origin-y viewBox viewTarget visibility width widths word-spacing writing-mode x x-height x1 x2 xChannelSelector xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type xml:base xml:lang xml:space y y1 y2 yChannelSelector z zoomAndPan".split(" "),mP=new Map;bF.forEach(e=>{mP.set(e.toLowerCase(),e)});function Hh(e){return e=e.toLowerCase(),mP.get(e)||e}var Ps=class{contains_script_tag=!1;needs_import_node=!1;nodes=[];#e=[this.nodes];#t;#r=this.nodes;push_element(t,r,i){this.#t={type:"element",name:t,attributes:{},children:[],is_html:i,start:r},this.#r.push(this.#t),this.#r=this.#t.children,this.#e.push(this.#r)}push_comment(t){this.#r.push({type:"comment",data:t})}push_text(t){this.#r.push({type:"text",nodes:t})}pop_element(){this.#e.pop(),this.#r=this.#e.at(-1)}set_prop(t,r){this.#t.attributes[t]=r}as_html(){return Qr([Wt(this.nodes.map(hP).join(""),!0)],[])}as_tree(){return this.nodes[0].type==="comment"&&this.nodes.unshift({type:"comment",data:void 0}),W(this.nodes.map(_P))}};function hP(e){if(e.type==="text")return e.nodes.map(r=>r.raw).join("");if(e.type==="comment")return e.data?`<!--${e.data}-->`:"<!>";let t=`<${e.name}`;for(let r in e.attributes){let i=e.attributes[r];t+=` ${e.is_html?r.toLowerCase():r}`,i!==void 0&&(t+=`="${yr(i,!0)}"`)}return Vt(e.name)?t+="/>":(t+=">",t+=e.children.map(hP).join(""),t+=`</${e.name}>`),t}function _P(e){if(e.type==="text")return $(e.nodes.map(i=>i.data).join(""));if(e.type==="comment")return e.data?W([$(`// ${e.data}`)]):null;let t=W([$(e.name)]),r=Q([]);for(let i in e.attributes){let s=e.attributes[i];r.properties.push(we("init",Ke(Hh(i)),s===void 0?Oe:$(s)))}if((r.properties.length>0||e.children.length>0)&&t.elements.push(r.properties.length>0?r:vt),e.children.length>0){let i=e.children.map(_P);if(t.elements.push(...i),e.name==="pre"||e.name==="textarea"){let s=i[0];s?.type==="Literal"&&(s.value=s.value.replace(hi,""))}}return t}function bP(e){let t=W([]);for(let r of e){if(r.type!=="element")continue;let{line:i,column:s}=Te(r.start),a=W([$(i),$(s)]),n=bP(r.children);n.elements.length>0&&a.elements.push(n),t.elements.push(a)}return t}function Ea(e,t,r=0){let i=e.metadata.namespace,s=e.options.fragments==="tree",{nodes:a}=e.template;if(a.length===1&&a[0].type==="comment")return w("$.comment");let u=s?e.template.as_tree():e.template.as_html(),p=s||H?null:gF(u,e.metadata.namespace,r);if(p!==null){let h=e.templates.get(p);if(h!==void 0)return h}s&&(i==="svg"&&(r|=4),i==="mathml"&&(r|=8));let d=v(s?"$.from_tree":`$.from_${i}`,u,r?$(r):void 0);e.template.contains_script_tag&&(d=v("$.with_script",d)),H&&(d=v("$.add_locations",d,J(w(e.analysis.name),"$.FILENAME",!0),bP(e.template.nodes)));let f=e.scope.root.unique(t);return e.hoisted.push(ae(f,d)),p!==null&&e.templates.set(p,f),f}function gF(e,t,r){return`${t} ${r} ${e.quasis[0].value.raw}`}function yP(e,t){let r=t.state.metadata.namespace==="html"&&e.name!=="svg",i=r?e.name.toLowerCase():e.name;if(t.state.template.push_element(i,e.start,r),i==="noscript"){t.state.template.pop_element();return}let s=Ct(e);t.state.template.needs_import_node||=i==="video"||s,t.state.template.contains_script_tag||=i==="script";let a=[],n=[],u=[],p=[],d=[],f=new Map,h=new Map,_=e.metadata.has_spread,g=!1,E=!1;for(let c of e.attributes)switch(c.type){case"AnimateDirective":p.push(c);break;case"Attribute":if(c.name==="is"&&t.state.metadata.namespace==="html"){let{value:m}=ze(c.value,t);if(m.type==="Literal"&&typeof m.value=="string"){t.state.template.set_prop("is",m.value);continue}}a.push(c),f.set(c.name,c);break;case"BindDirective":h.set(c.name,c),p.push(c);break;case"ClassDirective":n.push(c);break;case"LetDirective":t.visit(c,{...t.state,let_directives:d});break;case"OnDirective":p.push(c);break;case"SpreadAttribute":a.push(c);break;case"StyleDirective":u.push(c);break;case"TransitionDirective":p.push(c);break;case"UseDirective":g=!0,p.push(c);break;case"AttachTag":p.push(c);break}let S={...t.state,init:[],after_update:[]};for(let c of p)if(c.type==="OnDirective"){let m=t.visit(c);g?S.init.push(I(v("$.effect",D(m)))):S.after_update.push(I(m))}else t.visit(c,S);if(i==="input"){let c=a.some(b=>b.type==="Attribute"&&(b.name==="value"||b.name==="checked")&&!ve(b));!a.some(b=>b.type==="Attribute"&&(b.name==="defaultValue"||b.name==="defaultChecked"))&&(_||h.has("value")||h.has("checked")||h.has("group")||!h.has("group")&&c)&&(_?E=!0:t.state.init.push(I(v("$.remove_input_defaults",t.state.node))))}if(i==="textarea"){let c=f.get("value")??f.get("checked"),m=c&&!ve(c);(_||h.has("value")||m)&&t.state.init.push(I(v("$.remove_textarea_child",t.state.node)))}t.state.let_directives.push(...d);let o=t.state.node,l=i==="option"||i==="select"||h.has("group")||h.has("checked");if(_)Bd(a,n,u,t,e,o,E);else for(let c of a){if(De(c)){Od(c,t);continue}if(l&&c.name==="value"||e.name==="select"&&Dd(e,c)==="defaultValue")continue;let m=Dd(e,c);if(!s&&!Ui(c.name)&&(m!=="value"||e.name!=="textarea")&&(c.value===!0||ve(c))&&(m!=="class"||n.length===0)&&(m!=="style"||u.length===0)){let b=ve(c)?c.value[0].data:!0;m==="class"&&e.metadata.scoped&&t.state.analysis.css.hash&&(b===!0||b===""?b=t.state.analysis.css.hash:b+=" "+t.state.analysis.css.hash),(m!=="class"||b)&&t.state.template.set_prop(c.name,b===!0?"":b)}else if(m==="autofocus"){let{value:b}=ze(c.value,t);t.state.init.push(I(v("$.autofocus",o,b)))}else if(m==="class")jd(e,o,c,n,t,r);else if(m==="style")gP(o,c,u,t);else if(s)wF(o,c,t);else{let{value:b,has_state:k}=ze(c.value,t,(L,B)=>t.state.memoizer.add(L,B)),R=xF(e,o,m,b,a);(k?t.state.update:t.state.init).push(I(R))}}zi(i)&&(_||g||f.has("onload")||f.has("onerror"))&&t.state.after_update.push(I(v("$.replay_events",o)));let y={...t.state.metadata,namespace:fi(e,t.state.metadata.namespace)};if(h.has("innerHTML")||h.has("innerText")||h.has("textContent")){let c=f.get("contenteditable");c&&(c.value===!0||ve(c)&&c.value[0].data==="true")&&(y.bound_contenteditable=!0)}let x=t.state.scopes.get(e.fragment),T={...t.state,metadata:y,scope:x,transform:Dn(x,t.state),preserve_whitespace:t.state.preserve_whitespace||i==="pre"||i==="textarea"},{hoisted:P,trimmed:q}=di(e,e.fragment.nodes,t.path,T.metadata.namespace,T,i==="script"||T.preserve_whitespace,T.options.preserveComments),N=!e.fragment.metadata.transparent,F={...T,init:[],update:[],after_update:[],snippets:[],consts:N?[]:T.consts,async_consts:N?void 0:T.async_consts,memoizer:N?new Ye:T.memoizer};for(let c of P)t.visit(c,F);if(q.every(c=>c.type==="Text"||c.type==="ExpressionTag")&&q.every(c=>c.type==="Text"||!c.metadata.expression.has_state&&!c.metadata.expression.has_await&&!c.metadata.expression.has_blockers())&&q.some(c=>c.type==="ExpressionTag")){let{value:c}=mi(q,t,F);c.type==="Literal"&&c.value===""||F.init.push(I(ie("=",J(t.state.node,"textContent"),c)))}else if(ti(e)){let c=t.state.node;t.state.template.push_comment();let m=w(t.state.scope.generate("fragment")),b=w(t.state.scope.generate("anchor")),k={...T,init:[],update:[],after_update:[],template:new Ps};ji(q,B=>v("$.first_child",m,B&&ee),!1,{...t,state:k});let R=Ea(k,`${i}_content`,1),L=O([ae(b,v("$.child",c)),ae(m,v(R)),...k.init,...k.update.length>0?[Bi(k)]:[],...k.after_update,I(v("$.append",b,m))]);F.init.push(I(v("$.customizable_select",c,U([],L))))}else{let c=t.state.node,m=q.some(b=>b.type!=="Text"&&!Uh(b));i==="template"&&(m=!0,F.init.push(I(v("$.hydrate_template",c))),c=J(c,"content")),ji(q,b=>v("$.child",c,b&&ee),!0,{...t,state:F}),m&&!kF(F.init,t.state.node)&&F.init.push(I(v("$.reset",t.state.node)))}if(e.fragment.nodes.some(c=>c.type==="SnippetBlock")||N?(F.async_consts&&F.async_consts.thunks.length>0&&F.consts.push(ae(F.async_consts.id,v("$.run",W(F.async_consts.thunks)))),t.state.init.push(O([...F.snippets,...F.consts,...F.init,...S.init,F.update.length>0?Bi(F):me,...F.after_update,...S.after_update]))):e.fragment.metadata.dynamic?(t.state.init.push(...F.init,...S.init),t.state.update.push(...F.update),t.state.after_update.push(...F.after_update,...S.after_update)):(t.state.init.push(...S.init),t.state.after_update.push(...S.after_update)),i==="selectedcontent"&&t.state.init.push(I(v("$.selectedcontent",t.state.node,U([w("$$element")],ie("=",t.state.node,w("$$element")))))),f.has("dir")){let c=J(o,"dir");t.state.update.push(I(ie("=",c,c)))}if(!_&&l){if(e.metadata.synthetic_value_node){let c=e.metadata.synthetic_value_node,m=Xt("value",null,c.start,c.end,[c]);vP(i,o,m,t,!0)}else for(let c of a)if(c.name==="value"){vP(i,o,c,t);break}}if(!_&&i==="select"){let c=a.find(k=>Dd(e,k)==="defaultValue");if(c){let{value:k,has_state:R}=ze(c.value,t,(L,B)=>t.state.memoizer.add(L,B));(R?t.state.update:t.state.init).push(I(v("$.set_default_select_value",o,k)))}let m=f.get("value"),b=m!==void 0&&m.value!==!0&&!ve(m);(c||b||h.has("value"))&&t.state.init.push(I(v("$.init_select",o)))}t.state.template.pop_element()}function Gh(e,t,r=t.state.memoizer){let i=[];for(let s of e){let a=t.visit(s.expression);i.push(Z(s.name,r.add(a,s.metadata.expression)))}return Q(i)}function Wh(e,t,r=t.state.memoizer){let i=Q([]),s=Q([]);for(let a of e){let n=a.value===!0?ct(w(a.name),t.state):ze(a.value,t).value;(a.modifiers.includes("important")?s:i).properties.push(Z(a.name,r.add(n,a.metadata.expression)))}return s.properties.length?W([i,s]):i}function xF(e,t,r,i,s){return r==="muted"?ie("=",J(t,w("muted")),i):r==="value"?v("$.set_value",t,i):r==="checked"?v("$.set_checked",t,i):r==="selected"?v("$.set_selected",t,i):r==="defaultValue"&&(s.some(a=>a.type==="Attribute"&&a.name==="value"&&ve(a))||e.name==="textarea"&&e.fragment.nodes.length>0)?v("$.set_default_value",t,i):r==="defaultChecked"&&s.some(a=>a.type==="Attribute"&&a.name==="checked"&&a.value===!0)?v("$.set_default_checked",t,i):__(r)?ie("=",J(t,r),i):v(r.startsWith("xlink")?"$.set_xlink_attribute":"$.set_attribute",t,$(r),i,Le(e,"hydration_attribute_changed")&&ee)}function wF(e,t,r){let i=new Ye,{value:s,has_state:a}=ze(t.value,r,(p,d)=>i.add(p,d)),n=v("$.set_custom_element_data",e,$(t.name),s),u=a?v("$.template_effect",U(i.apply(),n),i.sync_values(),i.async_values(),i.blockers()):n;r.state.init.push(I(u))}function vP(e,t,r,i,s=!1){let a=i.state,n=e==="select"&&r.value!==!0&&!ve(r),{value:u,has_state:p}=ze(r.value,i,(h,_)=>a.memoizer.add(h,_)),d=i.state.scope.evaluate(u),f=h=>{let _=ie("=",J(t,"__value"),h),g=ie("=",J(t,"value"),d.is_defined?_:bt("??",_,$("")));return I(n?Ge([g,v("$.select_option",t,h)]):s?_:g)};if(p){let h=w(a.scope.generate(`${t.name}_value`)),_=e==="option"?Q([]):void 0;a.init.push(ae(h,_)),a.update.push(Fe(Gt("!==",h,ie("=",h,u)),O([f(h)])))}else a.init.push(f(u))}function kF(e,t){let r=e.at(-1);if(t?.type!=="Identifier"||r?.type!=="VariableDeclaration"||r.declarations.length!==1)return!1;let i=r.declarations[0].init;return i?.type!=="CallExpression"||i.callee.type!=="Identifier"||i.callee.name!=="$.child"||i.arguments[0]?.type!=="Identifier"||i.arguments[0].name!==t.name?!1:(i.callee=w("$.only_child"),!0)}function Bd(e,t,r,i,s,a,n=!1){let u=[],p=s.type==="RegularElement"&&s.name==="select",d=new Ye;for(let h of e)if(h.type==="Attribute"){let{value:_}=ze(h.value,i,(g,E)=>d.add(g,E));if(De(h)&&(_.type==="ArrowFunctionExpression"||_.type==="FunctionExpression")){let g=i.state.scope.generate("event_handler");i.state.init.push(ae(g,_)),u.push(Z(h.name,w(g)))}else{let g=p&&Jd(h.name)==="defaultValue"?"defaultValue":h.name;u.push(Z(g,_))}}else{let _=i.visit(h);_=d.add(_,h.metadata.expression),u.push(Mt(_))}t.length&&u.push(we("init",W([w("$.CLASS")]),Gh(t,i,d))),r.length&&u.push(we("init",W([w("$.STYLE")]),Wh(r,i,d)));let f=d.apply();i.state.init.push(I(v("$.attribute_effect",a,U(f,Q(u)),d.sync_values(),d.async_values(),d.blockers(),s.metadata.scoped&&i.state.analysis.css.hash!==""&&$(i.state.analysis.css.hash),n&&ee,Le(s,"hydration_attribute_changed")&&ee)))}function ze(e,t,r=i=>i){if(e===!0)return{value:ee,has_state:!1};if(!Array.isArray(e)||e.length===1){let i=Array.isArray(e)?e[0]:e;if(i.type==="Text")return{value:$(i.data),has_state:!1};let s=je(t,i.expression,i.metadata.expression);return{value:r(s,i.metadata.expression),has_state:i.metadata.expression.has_state||i.metadata.expression.is_async()}}return mi(e,t,t.state,r)}function Dd(e,t){return!e.metadata.svg&&!e.metadata.mathml?Jd(t.name):t.name}function jd(e,t,r,i,s,a){let{value:n,has_state:u}=ze(r.value,s,(g,E)=>(r.metadata.needs_clsx&&(g=v("$.clsx",g)),s.state.memoizer.add(g,E))),p,d,f;i.length&&(f=Gh(i,s),u||=i.some(g=>g.metadata.expression.has_state||g.metadata.expression.is_async()),u?(p=w(s.state.scope.generate("classes")),s.state.init.push(kt("let",[ce(p)])),d=p):d=Q([]));let h;e.metadata.scoped&&s.state.analysis.css.hash&&(n.type==="Literal"&&(n.value===""||n.value===null)?n=$(s.state.analysis.css.hash):n.type==="Literal"&&typeof n.value=="string"?n=$(yr(n.value,!0)+" "+s.state.analysis.css.hash):h=$(s.state.analysis.css.hash)),!h&&f&&(h=vt);let _=v("$.set_class",t,a?$(1):$(0),n,h,d,f);p&&(_=ie("=",p,_)),(u?s.state.update:s.state.init).push(I(_))}function gP(e,t,r,i){let{value:s,has_state:a}=ze(t.value,i,(f,h)=>i.state.memoizer.add(f,h)),n,u,p;r.length&&(p=Wh(r,i),a||=r.some(f=>f.metadata.expression.has_state||f.metadata.expression.is_async()),a?(n=w(i.state.scope.generate("styles")),i.state.init.push(kt("let",[ce(n)])),u=n):u=Q([]));let d=v("$.set_style",e,s,u,p);n&&(d=ie("=",n,d)),(a?i.state.update:i.state.init).push(I(d))}function xP(e,t){let r=t.visit(e.expression),i=fr[e.name],s=t.path.at(-1),a,n;if(r.type==="SequenceExpression")[a,n]=r.expressions;else{H&&t.state.analysis.runes&&r.type==="MemberExpression"&&(e.name!=="this"||t.path.some(({type:_})=>_==="IfBlock"||_==="EachBlock"||_==="AwaitBlock"||_==="KeyBlock"))&&!Le(e,"binding_property_non_reactive")&&Md(t.state,e,r);let f=ie("=",e.expression,w("$$value"));xr.set(f,xr.get(e)??[]);let h=t.visit(f);H?(a=Qe(w("get",e.name_loc),[],O([de(r)])),n=Qe(w("set",e.name_loc),[w("$$value")],O([I(h)]))):(a=D(r),n=tm(U([w("$$value")],h)),a===n&&(n=void 0))}let u;if(i?.event)u=v("$.bind_property",$(e.name),$(i.event),t.state.node,n??a,i.bidirectional&&a);else switch(e.name){case"online":u=v("$.bind_online",n??a);break;case"scrollX":case"scrollY":u=v("$.bind_window_scroll",$(e.name==="scrollX"?"x":"y"),a,n);break;case"innerWidth":case"innerHeight":case"outerWidth":case"outerHeight":u=v("$.bind_window_size",$(e.name),n??a);break;case"activeElement":u=v("$.bind_active_element",n??a);break;case"muted":u=v("$.bind_muted",t.state.node,a,n);break;case"paused":u=v("$.bind_paused",t.state.node,a,n);break;case"volume":u=v("$.bind_volume",t.state.node,a,n);break;case"playbackRate":u=v("$.bind_playback_rate",t.state.node,a,n);break;case"currentTime":u=v("$.bind_current_time",t.state.node,a,n);break;case"buffered":u=v("$.bind_buffered",t.state.node,n??a);break;case"played":u=v("$.bind_played",t.state.node,n??a);break;case"seekable":u=v("$.bind_seekable",t.state.node,n??a);break;case"seeking":u=v("$.bind_seeking",t.state.node,n??a);break;case"ended":u=v("$.bind_ended",t.state.node,n??a);break;case"readyState":u=v("$.bind_ready_state",t.state.node,n??a);break;case"contentRect":case"contentBoxSize":case"borderBoxSize":case"devicePixelContentBoxSize":u=v("$.bind_resize_observer",t.state.node,$(e.name),n??a);break;case"clientWidth":case"clientHeight":case"offsetWidth":case"offsetHeight":u=v("$.bind_element_size",t.state.node,$(e.name),n??a);break;case"value":{s?.type==="RegularElement"&&s.name==="select"?u=v("$.bind_select_value",t.state.node,a,n):u=v("$.bind_value",t.state.node,a,n);break}case"files":u=v("$.bind_files",t.state.node,a,n);break;case"this":u=qd(e.expression,t.state.node,t);break;case"textContent":case"innerHTML":case"innerText":u=v("$.bind_content_editable",$(e.name),t.state.node,a,n);break;case"checked":u=v("$.bind_checked",t.state.node,a,n);break;case"focused":u=v("$.bind_focused",t.state.node,n??a);break;case"group":{let f=e.metadata.parent_each_blocks.map(_=>_.metadata.keyed&&_.index?v("$.get",_.metadata.index):_.metadata.index),h=a;if(s?.type==="RegularElement"){let _=s.attributes.find(g=>g.type==="Attribute"&&g.name==="value"&&!ve(g)&&g.value!==!0)?.value;_!==void 0&&(h=D(O([I(ze(_,t).value),de(r)])))}u=v("$.bind_group",e.metadata.binding_group_name,W(f),t.state.node,h,n??a);break}default:throw new Error("unknown binding "+e.name)}let p=e.name!=="this"&&s.type==="RegularElement"&&s.attributes.find(f=>f.type==="UseDirective"),d=p?I(v("$.effect",D(u))):I(u);e.metadata.expression.is_async()&&(d=I(v("$.run_after_blockers",e.metadata.expression.blockers(),D(O([d]))))),e.name==="this"||p?t.state.init.push(d):t.state.after_update.push(d)}function wP(e,t){As(t);let r=t.state.scope.tracing;if(r!==null){let s=t.path.at(-1).async,a=v("$.trace",r,D(O(e.body.map(n=>t.visit(n))),s));return O([de(s?at(a):a)])}t.next()}function kP(e,t){if(t.state.analysis.runes||!e.label||e.label.name!=="$")return;if(t.path[1].type==="LabeledStatement"&&t.path[1].label.name==="$")return de()}function CP(e,t){let r=ye(e,t.state.scope);switch(r){case"$host":return w("$$props.$$host");case"$effect.tracking":return v("$.effect_tracking");case"$state":case"$state.raw":{let i=e.arguments[0],s;i&&(s=t.visit(e.arguments[0]),r==="$state"&&Zt(i,t.state.scope)&&(s=v("$.proxy",s)));let a=w("$.state",e.callee.loc);return v(a,s)}case"$derived":case"$derived.by":{let i=t.visit(e.arguments[0]);return v("$.derived",r==="$derived"?D(i):i)}case"$state.eager":return v("$.eager",D(t.visit(e.arguments[0])));case"$state.snapshot":return v("$.snapshot",t.visit(e.arguments[0]),Le(e,"state_snapshot_uncloneable")&&ee);case"$effect":case"$effect.pre":{let i=r==="$effect"?"$.user_effect":"$.user_pre_effect",s=t.visit(e.arguments[0]),a=v(i,s);return a.callee.loc=e.callee.loc,a}case"$effect.root":return v("$.effect_root",...e.arguments.map(i=>t.visit(i)));case"$effect.pending":return v("$.eager",D(v("$.pending")));case"$inspect":case"$inspect().with":return CF(r,e,t)}if(H&&e.callee.type==="MemberExpression"&&e.callee.object.type==="Identifier"&&e.callee.object.name==="console"&&t.state.scope.get("console")===null&&e.callee.property.type==="Identifier"&&["debug","dir","error","group","groupCollapsed","info","log","trace","warn"].includes(e.callee.property.name)&&e.arguments.some(i=>i.type==="SpreadElement"||t.state.scope.evaluate(i).has_unknown))return v(e.callee,Mt(v("$.log_if_contains_state",$(e.callee.property.name),...e.arguments.map(i=>t.visit(i)))));t.next()}function CF(e,t,r){if(!H)return me;let{args:i,inspector:s}=Pd(e,t,r.visit),a=w("$$args"),n=U([ns(a)],v(s,Mt(a)));return v("$.inspect",D(W(i)),n,e==="$inspect"&&ee)}function SP(e,t){let r=t.state.analysis.classes.get(e);if(!r){t.next();return}let i=[],s={...t.state,state_fields:r};for(let[n,u]of r)if(n[0]!=="#"&&u.node.type==="AssignmentExpression"){let p=J(mt,u.key),d=u.type==="$state"&&!0,f=Ke(n);i.push(Pi(u.key,null),lr("get",f,[],[de(v("$.get",p))]),lr("set",f,[w("value")],[I(v("$.set",p,w("value"),d&&ee))]))}let a=Pr(t.path,-1);for(let n of e.body){if(n.type!=="PropertyDefinition"){i.push(t.visit(n,s));continue}let u=ut(n.key),p=u&&r.get(u);if(!p){i.push(t.visit(n,s));continue}if(u[0]==="#"){let d=n.value?t.visit(n.value,s):void 0;H&&p.node===n&&(d=v("$.tag",d,$(`${a.id?.name??"[class]"}.${u}`))),i.push(Pi(n.key,d))}else if(p.node===n){let d=t.visit(p.value,s);H&&(d=v("$.tag",d,$(`${a.id?.name??"[class]"}.${u}`)));let f=J(mt,p.key),h=p.type==="$state"&&!0;i.push(Pi(p.key,d),lr("get",n.key,[],[de(v("$.get",f))]),lr("set",n.key,[w("value")],[I(v("$.set",f,w("value"),h&&ee))]))}}return{...e,body:i}}function EP(e,t){t.state.template.push_comment(e.data)}function Rs(e,t,r,i){let s=i.state.node,a=[],n=[],u=[],p={default:{...i.state,scope:e.metadata.scopes.default,transform:{...i.state.transform}}},d={},f={},h=new Ye,_=[],g=null,E=[],S=e.type==="SvelteComponent"||e.type==="Component"&&e.metadata.dynamic,o=e.type==="Component"&&e.metadata.dynamic?i.state.scope.generate(e.name):"$$component",l=!!Ir(e),y=!1;function x(m,b=!1){let k=()=>{let R=a.at(-1),L=Array.isArray(R),B=L?R:[];B.push(m),L||a.push(B)};b?n.push(k):k()}if(l)for(let m of e.attributes)m.type==="LetDirective"&&i.visit(m,{...i.state,let_directives:u});for(let m of e.attributes)if(m.type==="LetDirective")l||i.visit(m,{...p.default,let_directives:u});else if(m.type==="OnDirective"){m.expression||(i.state.analysis.needs_props=!0);let b=Sa(m.expression,m.metadata.expression,i);m.modifiers.includes("once")&&(b=v("$.once",b)),(f[m.name]||=[]).push(b)}else if(m.type==="SpreadAttribute"){let b=i.visit(m),k=h.add(b,m.metadata.expression),R=b!==k;R||m.metadata.expression.has_state||m.metadata.expression.has_await?a.push(D(R?v("$.get",k):b)):a.push(b)}else if(m.type==="Attribute"){if(m.name.startsWith("--")){_.push(Z(m.name,ze(m.value,i,(R,L)=>{let B=h.add(R,L);return R!==B?v("$.get",B):R}).value));continue}m.name==="slot"&&(l=!0),m.name==="children"&&(y=!0);let{value:b,has_state:k}=ze(m.value,i,(R,L)=>{let B=L.has_await||Zr(m.value).some(G=>G.type==="ExpressionTag"&&G.expression.type!=="Identifier"&&G.expression.type!=="MemberExpression"),X=h.add(R,L,B);return R!==X?v("$.get",X):R});x(k?ft(m.name,[de(b)]):Z(m.name,b))}else if(m.type==="BindDirective"){let b=i.visit(m.expression,{...i.state,memoizer:h});if(h.check_blockers(m.metadata.expression),H&&m.name!=="this"&&!Le(e,"ownership_invalid_binding")&&m.expression.type!=="SequenceExpression"){let k=Ve(m.expression),R=k&&i.state.scope.get(k.name);(R?.kind==="bindable_prop"||R?.kind==="prop")&&(i.state.analysis.needs_mutation_validation=!0,E.push(I(v("$$ownership_validator.binding",$(R.node.name),w(S?o:t),D(b)))))}if(b.type==="SequenceExpression")if(m.name==="this")g=m.expression;else{let[k,R]=b.expressions,L=w(i.state.scope.generate("bind_get")),B=w(i.state.scope.generate("bind_set"));i.state.init.push(ae(L,k)),i.state.init.push(ae(B,R)),x(ft(m.name,[de(v(L))])),x(Kt(m.name,[I(v(B,w("$$value")))]))}else if(H&&b.type==="MemberExpression"&&i.state.analysis.runes&&!Le(e,"binding_property_non_reactive")&&Md(i.state,m,b),m.name==="this")g=m.expression;else{let R=m.expression.type==="Identifier"&&i.state.scope.get(m.expression.name)?.kind==="store_sub"?ft(m.name,[I(v("$.mark_store_binding")),de(b)]):ft(m.name,[de(b)]),L=ie("=",m.expression,w("$$value")),B=Kt(m.name,[I(i.visit(L))]);R.key.loc=m.name_loc,B.key.loc=m.name_loc,x(R,!0),x(B,!0)}}else if(m.type==="AttachTag"){let b=i.state.scope.evaluate(m.expression),k=i.visit(m.expression);m.metadata.expression.has_state&&(k=U([w("$$node")],v(b.is_function?k:bt("||",k,w("$.noop")),w("$$node")))),h.check_blockers(m.metadata.expression),x(we("init",v("$.attachment"),k,!0))}if(n.forEach(m=>m()),l&&i.state.init.push(...u),Object.keys(f).length>0){let m=Q(Object.keys(f).map(b=>Z(b,f[b].length>1?W(f[b]):f[b][0])));x(Z("$$events",m))}let T=[],P=[];for(let m of e.fragment.nodes){if(m.type==="SnippetBlock"){i.visit(m,{...i.state,snippets:T}),x(we("init",m.expression,m.expression)),P.push(Z(m.expression.name==="children"?"default":m.expression.name,ee));continue}let b=Ir(m)??"default";(d[b]||=[]).push(m)}for(let m of Object.keys(d)){let b=i.visit({...e.fragment,nodes:d[m]},m==="default"?l?i.state:p.default:{...i.state,scope:e.metadata.scopes[m],transform:{...i.state.transform}});if(b.body.length===0)continue;let k=U([w("$$anchor"),w("$$slotProps")],O([...m==="default"&&!l?u:[],...b.body]));m==="default"&&!y?u.length===0&&d.default.every(R=>R.type!=="SvelteFragment"||!R.attributes.some(L=>L.type==="LetDirective"))?(x(Z("children",H?v("$.wrap_snippet",w(i.state.analysis.name),k):k)),P.push(Z(m,ee))):(P.push(Z(m,k)),x(Z("children",w("$.invalid_default_snippet")))):P.push(Z(m,k))}P.length>0&&x(Z("$$slots",Q(P))),!i.state.analysis.runes&&e.attributes.some(m=>m.type==="BindDirective")&&x(Z("$$legacy",ee));let q=a.length===0||a.length===1&&Array.isArray(a[0])?Q(a[0]||[]):v("$.spread_props",...a.map(m=>Array.isArray(m)?Q(m):m)),N=m=>{let b=S?w(o):i.visit(Jr(t));return b.loc=r,v(b,m,q)};if(g!==null){let m=N;N=b=>qd(g,m(b),i)}e.type!=="SvelteSelf"&&h.check_blockers(e.metadata.expression);let F=[...T,...h.deriveds(i.state.analysis.runes)];if(S){let m=N;N=b=>v("$.component",b,D(i.visit(e.type==="Component"?Jr(t):e.expression)),U([w("$$anchor"),w(o)],O([...E,I(m(w("$$anchor")))])))}else F.push(...E);Object.keys(_).length>0?(i.state.metadata.namespace==="svg"?i.state.template.push_element("g",e.start,!1):(i.state.template.push_element("svelte-css-wrapper",e.start,!1),i.state.template.set_prop("style","display: contents")),i.state.template.push_comment(),i.state.template.pop_element(),F.push(I(v("$.css_props",s,D(Q(_)))),I(N(J(s,"lastChild"))),I(v("$.reset",s)))):(i.state.template.push_comment(),F.push(Et(N(s),e,"component",{componentTag:e.name}))),h.apply();let ne=h.async_values(),c=h.blockers();return(ne||c)&&(F=[I(v("$.async",s,c,ne,U([w("$$anchor"),...h.async_ids()],O(F))))],i.state.is_standalone&&F.push(I(v("$.next")))),F.length>1?O(F):F[0]}function TP(e,t){let r=Rs(e,e.name,e.name_loc,t);t.state.init.push(r)}function AP(e,t){As(t);let r=t.visit(e.declaration);if(e.metadata.promises_id&&e.declaration.type==="VariableDeclaration"&&r?.type==="VariableDeclaration"){let{ids:i,assignments:s}=SF(r);Kh(t,e.metadata,i,s,r.kind)}else t.state.consts.push(r??e.declaration)}function SF(e){let t=new Map;for(let i of e.declarations)for(let s of _e(i.id))t.set(s.name,s);let r=e.declarations.filter(i=>i.init!==null).map(i=>I(ie("=",i.id,i.init)));return{ids:[...t.values()],assignments:r}}function Kh(e,t,r,i,s="let"){let a=e.state.async_consts??={id:t.promises_id,thunks:[]};for(let d of r)e.state.consts.push(s==="var"?ae(d.name):We(d.name));let n=[...t.expression.references].map(d=>d.blocker).filter(d=>d!==null&&d.object!==e.state.async_consts?.id);n.length===1?a.thunks.push(D(J(n[0],"promise"))):n.length>0&&a.thunks.push(D(v("$.wait",W(n))));let u=t.expression.has_await||i.some(d=>ur(d)),p=i.length===1?i[0].expression:O(i);a.thunks.push(u?He(p,t.expression):D(p))}function RP(e,t){let r=e.declaration.declarations[0];if(r.id.type==="Identifier"){let i=je(t,r.init,e.metadata.expression),s=oi(t.state,i,e.metadata.expression);H&&(s=v("$.tag",s,$(r.id.name))),t.state.transform[r.id.name]={read:Ue},PP(t,r.id,s,e.metadata)}else{let i=_e(r.id),s=w(t.state.scope.generate("computed_const")),a={...t.state.transform};for(let h of i)delete a[h.name];let n={...t.state,transform:a},u=r.id.type==="ObjectPattern"&&r.id.properties.every(h=>h.type==="Property"&&!h.computed&&h.key.type==="Identifier"&&h.value.type==="Identifier"&&h.key.name===h.value.name),p=je({...t,state:n},r.init,e.metadata.expression),d=u?O([de(p)]):O([Ce(t.visit(r.id,n),p),de(Q(i.map(h=>we("init",h,h))))]),f=oi(t.state,d,e.metadata.expression);H&&(f=v("$.tag",f,$("[@const]"))),PP(t,s,f,e.metadata);for(let h of i)t.state.transform[h.name]={read:_=>J(v("$.get",s),_)}}}function PP(e,t,r,i){let s=H?[I(v("$.get",t))]:[];if(i.promises_id)Kh(e,i,[t],[I(ie("=",t,r))],"let");else{let{state:a}=e;a.consts.push(Ce(t,r)),a.consts.push(...s)}}function $P(e,t){let r=e.identifiers.map(a=>t.state.scope.get(a.name)?.blocker).filter(a=>a!=null),i=Q(e.identifiers.map(a=>{let n=v("$.snapshot",t.visit(a));return we("init",a,t.state.analysis.runes?n:v("$.untrack",D(n)))})),s=[D(O([I(v("console.log",i)),gn]))];r.length>0&&s.push(W([]),W([]),W(r)),t.state.init.push(I(v("$.template_effect",...s)))}function IP(e,t){let r=e.metadata,i={...t.state,scope:t.state.scope.parent},s=je({...t,state:i},e.expression,e.metadata.expression);r.is_controlled||t.state.template.push_comment();let a=0;e.metadata.keyed&&e.index&&(a|=2);let n=e.key?.type==="Identifier"&&e.context?.type==="Identifier"&&e.context?.name===e.key.name,u;for(let m of e.metadata.expression.dependencies)if(m.kind==="store_sub"){u=!0;break}for(let m of e.metadata.expression.dependencies)if(!(m.scope.function_depth>=t.state.scope.function_depth)&&(!t.state.analysis.runes||!n||u)){a|=1;break}t.state.analysis.runes&&!u&&(a|=16),e.key&&e.body.nodes.some(m=>m.type!=="RegularElement"&&m.type!=="SvelteElement"?!1:m.attributes.some(b=>b.type==="AnimateDirective"))&&(a|=8),r.is_controlled&&(a|=4);let p="";for(let m of e.metadata.expression.dependencies)if(m.kind==="store_sub"){p=m.node.name;break}let d=null;for(let[m]of t.state.scope.declarations)if(t.state.scope.parent?.get(m)!=null){d=t.state.scope.root.unique("$$array");break}let f={...t.state,transform:{...t.state.transform},store_to_invalidate:p},h={...t.state,transform:{...t.state.transform}},_=r.contains_group_binding||!e.index?r.index:w(e.index),g=e.context?.type==="Identifier"?e.context:w("$$item"),E=r.contains_group_binding,S=!1;e.index&&(f.transform[e.index]={read:m=>(E=!0,(a&2)!==0?Ue(m):m)},h.transform[e.index]={read:m=>(S=!0,m)});let o=[],l=p?v("$.invalidate_store",w("$$stores"),$(p)):void 0,y=[];if(!t.state.analysis.runes){let m=new Set;if(d)m.add(d),f.transform[d.name]={read:v};else for(let b of r.transitive_deps)m.add(b.node);for(let b of PF(t))for(let k of b.metadata.transitive_deps)m.add(k.node);if(m.size>0){let b=v("$.invalidate_inner_signals",D(Ge([...m].map(k=>t.visit({...k},f)))));y.push(b)}}if(l&&y.push(l),e.context?.type==="Identifier"){let m=t.state.scope.get(e.context.name);f.transform[e.context.name]={read:b=>m.reassigned?J(d?v(d):s,(a&2)!==0?Ue(_):_,!0):(a&1)!==0?Ue(b):b,assign:(b,k)=>{E=!0;let R=J(d?v(d):s,(a&2)!==0?Ue(_):_,!0);return Ge([ie("=",R,k),...y])},mutate:(b,k)=>(E=!0,Ge([k,...y]))},delete h.transform[e.context.name]}else if(e.context){let m=(a&1)!==0?v("$.get",g):g,{inserts:b,paths:k}=nt(e.context,m);for(let{id:R,value:L}of b){R.name=t.state.scope.generate("$$array"),f.transform[R.name]={read:Ue};let B=t.visit(D(L),f);o.push(ae(R,v("$.derived",B)))}for(let R of k){let L=R.node.name,B=R.has_default_value,X=D(t.visit(R.expression,f));o.push(We(R.node,B?v("$.derived_safe_equal",X):X));let G=B?Ue:v;f.transform[L]={read:G,assign:(V,he)=>{let Ie=R.update_expression;return Ge([ie("=",Ie,he),...y])},mutate:(V,he)=>Ge([he,...y])},H&&o.push(I(G(w(L)))),delete h.transform[L]}}let x=t.visit(e.body,f),T=w("$.index");if(e.metadata.keyed){let m=t.visit(e.context,h),b=t.visit(e.key,h);T=U(S?[m,_]:[m],b)}e.index&&r.contains_group_binding&&o.push(We(e.index,_));let P=e.metadata.expression.has_await,q=P?He(s,e.metadata.expression):D(s),N=P?D(v("$.get",w("$$collection"))):q,F=[w("$$anchor"),g];(E||d)&&F.push(_),d&&F.push(d);let ne=[t.state.node,$(a),N,T,U(F,O(o.concat(x.body)))];e.fallback&&ne.push(U([w("$$anchor")],t.visit(e.fallback)));let c=[Et(v("$.each",...ne),e,"each")];e.metadata.expression.is_async()?t.state.init.push(I(v("$.async",t.state.node,e.metadata.expression.blockers(),P?W([q]):Oe,U(P?[t.state.node,w("$$collection")]:[t.state.node],O(c))))):t.state.init.push(...c)}function PF(e){return e.path.filter(t=>t.type==="EachBlock")}function qP(e,t){return t.state.is_instance?e.declaration?t.visit(e.declaration):me:t.next()}function MP(e,t){if(e.expression.type==="CallExpression"&&ye(e.expression,t.state.scope)==="$inspect.trace")return me;t.next()}function LP(e,t){if(e.await&&H&&!Le(e,"await_reactivity_loss")&&t.state.options.experimental.async){let r=t.visit(e.left),i=t.visit(e.right),s=t.visit(e.body),a=v("$.for_await_track_reactivity_loss",i);return k0(r,a,s,!0)}t.next()}function OP(e,t){let r=t.path.at(-1)??e,i=Ad(t.state.metadata.namespace,r,e.nodes),{hoisted:s,trimmed:a,is_standalone:n,is_text_first:u}=di(r,e.nodes,t.path,i,t.state,t.state.preserve_whitespace,t.state.options.preserveComments);if(s.length===0&&a.length===0)return O([]);let p=a.length===1&&a[0].type==="RegularElement",d=a.length===1&&(a[0].type==="SvelteFragment"||a[0].type==="TitleElement"||a[0].type==="IfBlock"&&a[0].elseif&&r.metadata.flattened?.includes(a[0])),f=[],h,_={...t.state,is_standalone:n,init:[],snippets:[],consts:[],let_directives:[],update:[],after_update:[],memoizer:new Ye,template:new Ps,transform:{...t.state.transform},metadata:{namespace:i,bound_contenteditable:t.state.metadata.bound_contenteditable},async_consts:void 0};for(let g of s)t.visit(g,_);if(p){let g=a[0],E=w(t.state.scope.generate(g.name),g.name_loc);t.visit(g,{..._,node:E});let S=_.template.needs_import_node?2:void 0,o=Ea(_,"root",S);_.init.unshift(ae(E,v(o))),h=I(v("$.append",w("$$anchor"),E))}else if(d)t.visit(a[0],_);else if(a.length===1&&a[0].type==="Text"){let g=w(t.state.scope.generate("text"));_.init.unshift(ae(g,v("$.text",$(a[0].data)))),h=I(v("$.append",w("$$anchor"),g))}else if(a.length>0){let g=w(t.state.scope.generate("fragment"));if(a.some(S=>S.type==="ExpressionTag")&&a.every(S=>S.type==="Text"||S.type==="ExpressionTag")){let S=w(t.state.scope.generate("text"));ji(a,()=>S,!1,{...t,state:_}),_.init.unshift(ae(S,v("$.text"))),h=I(v("$.append",w("$$anchor"),S))}else if(n)ji(a,()=>w("$$anchor"),!1,{...t,state:_});else{ji(a,y=>v("$.first_child",g,y&&ee),!1,{...t,state:_});let o=1;_.template.needs_import_node&&(o|=2);let l=Ea(_,"root",o);_.init.unshift(ae(g,v(l))),h=I(v("$.append",w("$$anchor"),g))}}return f.push(..._.snippets,..._.let_directives,..._.consts),_.async_consts&&_.async_consts.thunks.length>0&&f.push(ae(_.async_consts.id,v("$.run",W(_.async_consts.thunks)))),u&&f.push(I(v("$.next"))),f.push(..._.init),_.update.length>0&&f.push(Bi(_)),f.push(..._.after_update),h!==void 0&&f.push(h),O(f)}function DP(e,t){let r={...t.state,in_constructor:!1,in_derived:!1};t.next(r)}function BP(e,t){return Nd(e,t)}function jP(e,t){let r=e.metadata.is_controlled;r||t.state.template.push_comment();let i=e.metadata.expression.has_await,s=e.metadata.expression.has_blockers(),a=je(t,e.expression,e.metadata.expression),n=i?v("$.get",w("$$html")):a,u=!r&&t.state.metadata.namespace==="svg",p=!r&&t.state.metadata.namespace==="mathml",d=I(v("$.html",t.state.node,D(n),r&&ee,u&&ee,p&&ee,Le(e,"hydration_html_changed")&&ee));i||s?t.state.init.push(I(v("$.async",t.state.node,e.metadata.expression.blockers(),i?W([He(a,e.metadata.expression)]):Oe,U(i?[t.state.node,w("$$html")]:[t.state.node],O([d]))))):t.state.init.push(d)}function FP(e,t){let r=t.path.at(-1);if(et(e,r)){if(e.name==="$$props")return w("$$sanitized_props");let i=t.state.scope.get(e.name);if(t.state.analysis.runes&&i!==null&&e!==i.node&&i.kind==="rest_prop"){let s=t.path.at(-2);if(r?.type==="MemberExpression"&&!r.computed&&s?.type!=="AssignmentExpression"&&s?.type!=="UpdateExpression"){let a=r.property;if(!i.metadata?.exclude_props?.includes(a.name))return w("$$props")}}return ct(e,t.state)}}function VP(e,t){t.state.template.push_comment();let r=[],i=e.metadata.expression.has_await,s=e.metadata.expression.has_blockers(),a=je(t,e.test,e.metadata.expression),n=0,u,p,d;for(let h of[e,...e.metadata.flattened??[]]){let _=t.visit(h.consequent),g=w(t.state.scope.generate("consequent"));r.push(ae(g,U([w("$$anchor")],_)));let E;if(h.metadata.expression.has_await)E=v("$.get",w("$$condition"));else{let l=je(t,h.test,h.metadata.expression);if(h.metadata.expression.has_call){let y=w(t.state.scope.generate("d"));r.push(ae(y,v("$.derived",U([],l)))),E=v("$.get",y)}else E=l}let S=I(v("$$render",g,n!==0&&$(n))),o=Fe(E,S);p?p.alternate=o:u=o,d=h,p=o,n++}if(p&&d?.alternate){let h=t.visit(d.alternate),_=w(t.state.scope.generate("alternate"));r.push(ae(_,U([w("$$anchor")],h))),p.alternate=I(v("$$render",_,$(-1)))}let f=[t.state.node,U([w("$$render")],u?O([u]):O([]))];e.elseif&&f.push(ee),r.push(Et(v("$.if",...f),e,"if")),i||s?t.state.init.push(I(v("$.async",t.state.node,e.metadata.expression.blockers(),i?W([He(a,e.metadata.expression)]):Oe,U(i?[t.state.node,w("$$condition")]:[t.state.node],O(r))))):t.state.init.push(O(r))}function UP(e,t){t.state.template.push_comment();let r=e.metadata.expression.has_await,i=e.metadata.expression.has_blockers(),s=je(t,e.expression,e.metadata.expression),a=D(r?v("$.get",w("$$key")):s),n=t.visit(e.fragment),u=Et(v("$.key",t.state.node,a,U([w("$$anchor")],n)),e,"key");r||i?t.state.init.push(I(v("$.async",t.state.node,e.metadata.expression.blockers(),r?W([He(s,e.metadata.expression)]):Oe,U(r?[t.state.node,w("$$key")]:[t.state.node],O([u]))))):t.state.init.push(u)}function HP(e,t){if(t.state.analysis.runes||t.path.length>1||e.label.name!=="$"){t.next();return}let r=t.state.analysis.reactive_statements.get(e);if(!r)return;let i=t.visit(e.body);i.type!=="BlockStatement"&&(i=O([i]));let s=i.body,a=[];for(let n of r.dependencies){if(n.kind==="normal"&&n.declaration_kind!=="import")continue;let u=n.node.name,p=ct(w(u),t.state);(u==="$$props"||u==="$$restProps"||n.kind==="bindable_prop")&&(p=v("$.deep_read_state",p)),a.push(p)}return t.state.legacy_reactive_statements.set(e,I(v("$.legacy_pre_effect",a.length>0?D(Ge(a)):D(O([])),D(O(s))))),me}function zP(e,t){if(e.expression&&e.expression.type!=="Identifier"){let r=t.state.scope.generate(e.name),i=t.state.scope.get_bindings(e);for(let s of i)t.state.transform[s.node.name]={read:a=>J(v("$.get",w(r)),a)};t.state.let_directives.push(Ce(r,v("$.derived",D(O([We(e.expression.type==="ObjectExpression"?Ai(e.expression.properties):Yr(e.expression.elements),J(w("$$slotProps"),e.name)),de(Q(i.map(s=>Z(s.node.name,s.node))))])))))}else{let r=e.expression===null?e.name:e.expression.name;t.state.transform[r]={read:i=>v("$.get",i)},t.state.let_directives.push(Ce(r,oi(t.state,J(w("$$slotProps"),e.name))))}}function GP(e,t){if(e.property.type==="PrivateIdentifier"){let r=t.state.state_fields.get("#"+e.property.name);if(r)return t.state.in_constructor&&(r.type==="$state.raw"||r.type==="$state")?J(e,"v"):v("$.get",e)}t.next()}var RF=["stopPropagation","stopImmediatePropagation","preventDefault","self","trusted","once"];function WP(e,t){e.expression||(t.state.analysis.needs_props=!0);let r=Sa(e.expression,e.metadata.expression,t);for(let a of RF)e.modifiers.includes(a)&&(r=v("$."+a,r));let i=e.modifiers.includes("capture"),s=e.modifiers.includes("passive")||(e.modifiers.includes("nonpassive")?!1:void 0);return Vh(t,e.name,r,i,s,!1)}function KP(e,t){if(!t.state.analysis.runes){t.state.transform.$$props={read:r=>({...r,name:"$$sanitized_props"})};for(let[r,i]of t.state.scope.declarations)if(i.declaration_kind==="import"&&i.mutated){let{start:s,end:a}=t.state.analysis.instance.ast,n=i.initial;if(n.start>s&&n.end<a){let p=w("$$_import_"+r);t.state.transform[r]={read:d=>v(p),mutate:(d,f)=>v(p,f)},t.state.legacy_reactive_imports.push(ae(p,v("$.reactive_import",D(w(r)))))}}}for(let[r,i]of t.state.scope.declarations){if(i.kind==="store_sub"){let s,a=()=>s??=t.visit(w(r.slice(1)));t.state.transform[r]={read:v,assign:(n,u)=>v("$.store_set",a(),u),mutate:(n,u)=>{let p=v("$.untrack",n);function d(f){return f.type==="MemberExpression"?{...f,object:d(f.object),property:f.property}:p}return v("$.store_mutate",a(),u.type==="AssignmentExpression"?ie(u.operator,d(u.left),u.right):yn(u.operator,d(u.argument),u.prefix),p)},update:n=>v(n.prefix?"$.update_pre_store":"$.update_store",ct(w(r.slice(1)),t.state),v(n.argument),n.operator==="--"&&$(-1))}}if(i.kind==="prop"||i.kind==="bindable_prop")if(On(i,t.state))t.state.transform[r]={read:v,assign:(s,a)=>v(s,a),mutate:(s,a)=>i.kind==="bindable_prop"?v(s,a,ee):a,update:s=>v(s.prefix?"$.update_pre_prop":"$.update_prop",s.argument,s.operator==="--"&&$(-1))};else if(i.prop_alias){let s=Ke(i.prop_alias);t.state.transform[r]={read:a=>J(w("$$props"),s,s.type==="Literal")}}else t.state.transform[r]={read:s=>J(w("$$props"),s)}}if(As(t),t.state.is_instance)return{...e,body:Rd(t.state.analysis.instance_body,w("$.run"),r=>t.visit(r))};t.next()}function XP(e,t){t.state.template.push_comment();let r=ei(e.expression),i=[],s=new Ye;for(let d=0;d<r.arguments.length;d++){let f=r.arguments[d],h=e.metadata.arguments[d],_=je(t,f,h),g=s.add(_,h);_!==g&&(_=v("$.get",g)),i.push(D(_))}s.apply();let a=s.deriveds(t.state.analysis.runes),n=je(t,r.callee,e.metadata.expression);e.metadata.dynamic?(e.expression.type==="ChainExpression"&&(n=bt("??",n,w("$.noop"))),a.push(Et(v("$.snippet",t.state.node,D(n),...i),e,"render"))):a.push(Et((e.expression.type==="CallExpression"?v:or)(n,t.state.node,...i),e,"render"));let u=s.async_values(),p=s.blockers();u||p?(t.state.init.push(I(v("$.async",t.state.node,p,s.async_values(),U([t.state.node,...s.async_ids()],O(a))))),t.state.is_standalone&&t.state.init.push(I(v("$.next")))):t.state.init.push(a.length===1?a[0]:O(a))}function YP(e,t){t.state.template.push_comment();let r=[],i=[],s=[],a=new Ye,n=$("default");for(let _ of e.attributes)if(_.type==="SpreadAttribute")i.push(D(t.visit(_)));else if(_.type==="Attribute"){let{value:g,has_state:E}=ze(_.value,t,(S,o)=>o.has_call||o.has_await?v("$.get",a.add(S,o)):S);_.name==="name"?n=g:_.name!=="slot"&&(E?r.push(ft(_.name,[de(g)])):r.push(Z(_.name,g)))}else _.type==="LetDirective"&&t.visit(_,{...t.state,let_directives:s});a.apply(),t.state.init.push(...s);let u=a.deriveds(t.state.analysis.runes),p=i.length===0?Q(r):v("$.spread_props",Q(r),...i),d=e.fragment.nodes.length===0?vt:U([w("$$anchor")],t.visit(e.fragment));u.push(I(v("$.slot",t.state.node,w("$$props"),n,p,d)));let f=a.async_values(),h=a.blockers();f||h?t.state.init.push(I(v("$.async",t.state.node,h,f,U([t.state.node,...a.async_ids()],O(u))))):t.state.init.push(u.length===1?u[0]:O(u))}function JP(e,t){let r=[w("$$anchor")],i,s=[],a={...t.state.transform},n={...t.state,transform:a};for(let f=0;f<e.parameters.length;f++){let h=e.parameters[f];if(!h)continue;if(h.type==="Identifier"){r.push(bn(h,w("$.noop"))),a[h.name]={read:v};continue}let _=`$$arg${f}`;r.push(w(_));let{inserts:g,paths:E}=nt(h,or(w(_)));for(let{id:S,value:o}of g)S.name=t.state.scope.generate("$$array"),a[S.name]={read:Ue},s.push(ae(S,v("$.derived",t.visit(D(o)))));for(let S of E){let o=S.node.name,l=S.has_default_value,y=D(t.visit(S.expression,n));s.push(We(S.node,l?v("$.derived_safe_equal",y):y)),a[o]={read:l?Ue:v},H&&s.push(I(a[o].read(w(o))))}}let u=t.visit(e.body,n).body;i=O([H?I(v("$.validate_snippet_args",Mt(w("arguments")))):me,...s,...u]);let p=H?v("$.wrap_snippet",w(t.state.analysis.name),Qe(null,r,i)):U(r,i),d=Ce(e.expression,p);t.path.length===1&&t.path[0].type==="Fragment"?e.metadata.can_hoist?t.state.module_level_snippets.push(d):t.state.instance_level_snippets.push(d):t.state.snippets.push(d)}function QP(e,t){return t.visit(e.expression)}function $s(e,t,r){let i={...r.state,node:w(t)};for(let s of e.attributes)s.type==="OnDirective"?r.state.init.push(I(r.visit(s,i))):r.visit(s,i)}function ZP(e,t){$s(e,"$.document.body",t)}function eR(e,t){let r=Rs(e,"$$component",null,t);t.state.init.push(r)}function tR(e,t){$s(e,"$.document",t)}function rR(e,t){t.state.template.push_comment();let r=[],i,s=[],a=[],n=[],u=w(t.state.scope.generate("$$element")),p={...t,state:{...t.state,node:u,init:[],update:[],after_update:[],memoizer:new Ye}};for(let S of e.attributes)if(S.type==="Attribute")S.name==="xmlns"&&!ve(S)&&(i=S.value),r.push(S);else if(S.type==="SpreadAttribute")r.push(S);else if(S.type==="ClassDirective")s.push(S);else if(S.type==="StyleDirective")a.push(S);else if(S.type==="LetDirective")n.push(t.visit(S));else if(S.type==="OnDirective"){let o=t.visit(S,p.state);p.state.after_update.push(I(o))}else t.visit(S,p.state);r.length===1&&r[0].type==="Attribute"&&r[0].name.toLowerCase()==="class"&&ve(r[0])?jd(e,u,r[0],s,p,!1):r.length&&Bd(r,s,a,p,e,u);let d=e.metadata.expression.has_await,f=e.metadata.expression.has_blockers(),h=t.visit(e.tag),_=D(d?v("$.get",w("$$tag")):h),g=p.state.init;p.state.update.length>0&&g.push(Bi(p.state)),g.push(...p.state.after_update),g.push(...t.visit(e.fragment,{...t.state,metadata:{...t.state.metadata,namespace:fi(e,t.state.metadata.namespace)}}).body),H&&(n.push(I(v("$.validate_dynamic_element_tag",_))),e.fragment.nodes.length>0&&n.push(I(v("$.validate_void_dynamic_element",_))));let E=H&&Te(e.start);n.push(I(v("$.element",t.state.node,_,e.metadata.svg||e.metadata.mathml?ee:Sr,g.length>0&&U([u,w("$$anchor")],O(g)),i&&D(ze(i,t).value),E&&W([$(E.line),$(E.column)])))),d||f?t.state.init.push(I(v("$.async",t.state.node,e.metadata.expression.blockers(),d?W([He(h,e.metadata.expression)]):Oe,U(d?[t.state.node,w("$$tag")]:[t.state.node],O(n))))):t.state.init.push(n.length===1?n[0]:O(n))}function iR(e,t){for(let r of e.attributes)r.type==="LetDirective"&&t.visit(r);t.state.init.push(...t.visit(e.fragment).body)}function sR(e,t){let r=Q([]);for(let f of e.attributes){if(f.type!=="Attribute"||f.value===!0)continue;let h=Array.isArray(f.value)?f.value[0]:f.value,_=t.visit(h.expression,t.state);h.metadata.expression.has_state?r.properties.push(ft(f.name,[de(_)])):r.properties.push(Z(f.name,_))}let i=[],s=[],a=[],n=!1,u=!1;for(let f of e.fragment.nodes)f.type==="ConstTag"&&(n=!0,t.state.options.experimental.async||t.visit(f,{...t.state,consts:s,scope:t.state.scopes.get(e.fragment)??t.state.scope})),f.type==="DeclarationTag"&&(u=!0);for(let f of e.fragment.nodes){if(f.type==="ConstTag"){t.state.options.experimental.async&&i.push(f);continue}if(f.type==="SnippetBlock"){if(t.state.options.experimental.async&&(n||u)&&!["failed","pending"].includes(f.expression.name))i.push(f);else{let h=[];t.visit(f,{...t.state,snippets:h});let _=h[0],g=H?_.declarations[0].init.arguments[1]:_.declarations[0].init;t.state.options.experimental.async||g.body.body.unshift(...s.filter(E=>E.type==="VariableDeclaration")),["failed","pending"].includes(f.expression.name)&&r.properties.push(we("init",f.expression,f.expression)),a.push(_)}continue}i.push(f)}let p=t.visit({...e.fragment,nodes:i},{...t.state,scope:t.state.scopes.get(e.fragment)??t.state.scope});t.state.options.experimental.async||p.body.unshift(...s);let d=I(v("$.boundary",t.state.node,r,U([w("$$anchor")],p)));t.state.template.push_comment(),t.state.init.push(a.length>0?O([...a,d]):d)}function aR(e,t){t.state.init.push(I(v(w("$.head",e.name_loc),$(Vi(Be)),U([w("$$anchor")],t.visit(e.fragment)))))}function nR(e,t){let r=Rs(e,Hr,e.name_loc,t);t.state.init.push(r)}function oR(e,t){$s(e,"$.window",t)}function lR(e,t){let r=new Ye,{has_state:i,value:s}=mi(e.fragment.nodes,t,t.state,(u,p)=>r.add(u,p)),a=t.state.scope.evaluate(s),n=I(ie("=",J(w("$.document"),w("title",e.name_loc)),a.is_known?$(a.value):a.is_defined?s:bt("??",s,$(""))));i?t.state.after_update.push(I(v("$.deferred_template_effect",U(r.apply(),O([n])),r.sync_values(),r.async_values(),r.blockers()))):t.state.after_update.push(I(v("$.effect",D(O([n])))))}function uR(e,t){let r=e.modifiers.includes("global")?4:0;e.intro&&(r|=1),e.outro&&(r|=2);let i=[$(r),t.state.node,D(t.visit(Ts(e.name)))];e.expression&&i.push(D(t.visit(e.expression)));let s=I(v("$.transition",...i));e.metadata.expression.is_async()&&(s=I(v("$.run_after_blockers",e.metadata.expression.blockers(),D(O([s]))))),t.state.after_update.push(s)}function cR(e,t){let r=e.argument;if(r.type==="MemberExpression"&&r.property.type==="PrivateIdentifier"&&t.state.state_fields.has("#"+r.property.name)){let n="$.update";e.prefix&&(n+="_pre");let u=[r];return e.operator==="--"&&u.push($(-1)),v(n,...u)}if(r.type!=="Identifier"&&r.type!=="MemberExpression")throw new Error("An impossible state was reached");let i=Ve(r),s=i&&t.state.transform[i.name];if(i===r&&s?.update)return s.update(e);let a=t.next();return i&&s?.mutate&&(a=s.mutate(i,a)),Ld(e,t,a)}function pR(e,t){let r=[w("$$node")];e.expression&&r.push(w("$$action_arg"));let i=[t.state.node,U(r,or(t.visit(Ts(e.name)),...r))];e.expression&&i.push(D(t.visit(e.expression)));let s=I(v("$.action",...i));e.metadata.expression.is_async()&&(s=I(v("$.run_after_blockers",e.metadata.expression.blockers(),D(O([s]))))),t.state.init.push(s),t.next()}function dR(e,t){let r=je(t,e.expression,e.metadata.expression),i=I(v("$.attach",t.state.node,D(r)));e.metadata.expression.is_async()&&(i=I(v("$.run_after_blockers",e.metadata.expression.blockers(),D(O([i]))))),t.state.init.push(i),t.next()}function fR(e,t){let r=[];if(t.state.analysis.runes)for(let i of e.declarations){let s=i.init,a=ye(s,t.state.scope);if(!a||a==="$effect.tracking"||a==="$effect.root"||a==="$inspect"||a==="$inspect.trace"||a==="$state.snapshot"||a==="$host"){r.push(t.visit(i));continue}if(a==="$props.id")continue;if(a==="$props"){let p=["$$slots","$$events","$$legacy"];if(t.state.analysis.custom_element&&p.push("$$host"),i.id.type==="Identifier"){let d=t.state.scope.root.unique("rest_excludes");t.state.hoisted.push(ae(d,vn("Set",W(p.map(h=>$(h))))));let f=[w("$$props"),d];H&&f.push($(i.id.name)),r.push(ce(i.id,v("$.rest_props",...f)))}else{ga(i.id.type,"ObjectPattern");for(let d of i.id.properties)if(d.type==="Property"){let f=d.key,h=f.type==="Identifier"?f.name:f.value;p.push(h);let _=d.value.type==="AssignmentPattern"?d.value.left:d.value;ga(_.type,"Identifier");let g=t.state.scope.get(_.name),E=g.initial&&t.visit(g.initial);E&&g.kind==="bindable_prop"&&Zt(E,t.state.scope)&&(E=v("$.proxy",E),H&&(E=v("$.tag_proxy",E,$(_.name)))),On(g,t.state)&&r.push(ce(_,Nn(g,t.state,h,E)))}else{let f=t.state.scope.root.unique("rest_excludes");t.state.hoisted.push(ae(f,vn("Set",W(p.map(_=>$(_))))));let h=[w("$$props"),f];H&&h.push($(d.argument.name)),r.push(ce(d.argument,v("$.rest_props",...h)))}}continue}let u=s.arguments[0]??Oe;if(a==="$state"||a==="$state.raw"){let p=(d,f)=>{let h=t.state.scope.get(d.name),_=qi(h,t.state.analysis),g=Zt(f,t.state.scope);if(a==="$state"&&g&&(f=v("$.proxy",f),H&&!_&&(f=v("$.tag_proxy",f,$(d.name)))),_){let E=w("$.state",s.callee.loc);f=v(E,f),H&&(f=v("$.tag",f,$(d.name)))}return f};if(i.id.type==="Identifier"){let d=t.visit(u);r.push(ce(i.id,p(i.id,d)))}else{let d=w(t.state.scope.generate("tmp")),{inserts:f,paths:h}=nt(i.id,d);r.push(ce(d,t.visit(u)),...f.map(({id:_,value:g})=>{_.name=t.state.scope.generate("$$array"),t.state.transform[_.name]={read:Ue};let E=t.visit(D(g)),S=v("$.derived",E);if(H){let o=`[$state ${i.id.type==="ArrayPattern"?"iterable":"object"}]`;S=v("$.tag",S,$(o))}return ce(_,S)}),...h.map(_=>{let g=t.visit(_.expression),E=t.state.scope.get(_.node.name);return ce(_.node,E?.kind==="state"||E?.kind==="raw_state"?p(E.node,g):g)}))}continue}if(a==="$derived"||a==="$derived.by"){let p=t.state.analysis.async_deriveds.get(s),d=p!==void 0;if(i.id.type==="Identifier"){let f=t.visit(u);if(d){let h=H&&!Le(s,"await_waterfall")&&vi(s),_=v("$.async_derived",He(f,p),H&&$(i.id.name),h?$(h):void 0);r.push(ce(i.id,at(_)))}else{a==="$derived"&&(f=D(f));let h=v("$.derived",f);H&&(h=v("$.tag",h,$(i.id.name))),r.push(ce(i.id,h))}}else{let f=i.init,h=t.visit(u),_=u;if(a!=="$derived"||f.arguments[0].type!=="Identifier"){let S=w(t.state.scope.generate("$$d")),o=v("$.derived",a==="$derived"?D(h):h);if(_=v("$.get",S),d){let l=H&&!Le(f,"await_waterfall")&&vi(f);o=v("$.async_derived",He(h,p),H&&$(`[$derived ${i.id.type==="ArrayPattern"?"iterable":"object"}]`),l?$(l):void 0),o=at(o)}r.push(ce(S,o))}let{inserts:g,paths:E}=nt(i.id,_);for(let{id:S,value:o}of g){S.name=t.state.scope.generate("$$array"),t.state.transform[S.name]={read:Ue};let l=t.visit(D(o)),y=v("$.derived",l);if(H){let x=`[$derived ${i.id.type==="ArrayPattern"?"iterable":"object"}]`;y=v("$.tag",y,$(x))}r.push(ce(S,y))}for(let S of E){let o=t.visit(S.expression),l=v("$.derived",D(o));r.push(ce(S.node,H?v("$.tag",l,$(S.node.name)):l))}}continue}}else for(let i of e.declarations){let s=t.state.scope.get_bindings(i),a=s.some(u=>u.kind==="state"),n=s.some(u=>u.kind==="bindable_prop");if(!a&&!n){r.push(t.visit(i));continue}if(n){if(i.id.type!=="Identifier"){let p=w(t.state.scope.generate("tmp")),{inserts:d,paths:f}=nt(i.id,p);r.push(ce(p,t.visit(i.init)));for(let{id:h,value:_}of d){h.name=t.state.scope.generate("$$array"),t.state.transform[h.name]={read:Ue};let g=t.visit(D(_));r.push(ce(h,v("$.derived",g)))}for(let h of f){let _=h.node.name,g=t.state.scope.get(_),E=t.visit(h.expression);r.push(ce(h.node,g.kind==="bindable_prop"?Nn(g,t.state,g.prop_alias??_,E):E))}continue}let u=t.state.scope.get(i.id.name);r.push(ce(i.id,Nn(u,t.state,u.prop_alias??i.id.name,i.init&&t.visit(i.init))));continue}r.push(...MF(i,t,i.init&&t.visit(i.init)))}return r.length===0?me:{...e,declarations:r}}function MF(e,t,r){let i=(u,p)=>{let d=v("$.mutable_source",u,t.state.analysis.immutable&&ee);return H?v("$.tag",d,$(p)):d};if(e.id.type==="Identifier")return[ce(e.id,i(r,e.id.name))];let s=w(t.state.scope.generate("tmp")),{inserts:a,paths:n}=nt(e.id,s);return[ce(s,r),...a.map(({id:u,value:p})=>{u.name=t.state.scope.generate("$$array"),t.state.transform[u.name]={read:Ue};let d=t.visit(D(p));return ce(u,v("$.derived",d))}),...n.map(u=>{let p=t.visit(u.expression),d=t.state.scope.get(u.node.name);return ce(u.node,d?.kind==="state"?i(p,u.node.name):p)})]}var Yh={_:function(t,{next:r,state:i}){let s=i.scopes.get(t);s&&s!==i.scope?r({...i,transform:Dn(s,i),scope:s}):r()},AnimateDirective:aP,ArrowFunctionExpression:nP,AssignmentExpression:oP,Attribute:uP,AwaitBlock:pP,AwaitExpression:dP,BinaryExpression:fP,BindDirective:xP,BlockStatement:wP,BreakStatement:kP,CallExpression:CP,ClassBody:SP,Comment:EP,Component:TP,ConstTag:RP,DeclarationTag:AP,DebugTag:$P,EachBlock:IP,ExportNamedDeclaration:qP,ExpressionStatement:MP,ForOfStatement:LP,Fragment:OP,FunctionDeclaration:DP,FunctionExpression:BP,HtmlTag:jP,Identifier:FP,IfBlock:VP,KeyBlock:UP,LabeledStatement:HP,LetDirective:zP,MemberExpression:GP,OnDirective:WP,Program:KP,RegularElement:yP,RenderTag:XP,SlotElement:YP,SnippetBlock:JP,SpreadAttribute:QP,SvelteBody:ZP,SvelteComponent:eR,SvelteDocument:tR,SvelteElement:rR,SvelteFragment:iR,SvelteBoundary:sR,SvelteHead:aR,SvelteSelf:nR,SvelteWindow:oR,TitleElement:lR,TransitionDirective:uR,UpdateExpression:cR,UseDirective:pR,AttachTag:dR,VariableDeclaration:fR};function mR(e,t){let r={analysis:e,options:t,scope:e.module.scope,scopes:e.module.scopes,is_instance:!1,hoisted:[xn("$","svelte/internal/client"),...e.instance_body.hoisted],templates:new Map,node:null,legacy_reactive_imports:[],legacy_reactive_statements:new Map,metadata:{namespace:t.namespace,bound_contenteditable:!1},events:new Set,preserve_whitespace:t.preserveWhitespace,state_fields:new Map,transform:{},in_constructor:!1,instance_level_snippets:[],module_level_snippets:[],is_standalone:!1,init:null,consts:null,snippets:null,let_directives:null,update:null,after_update:null,template:null,memoizer:null},i=oe(e.module.ast,r,Yh),s={...r,transform:{...r.transform},scope:e.instance.scope,scopes:e.instance.scopes,is_instance:!0},a=oe(e.instance.ast,s,Yh),n=oe(e.template.ast,{...r,transform:s.transform,scope:e.instance.scope,scopes:e.template.scopes},Yh);i.body.unshift(...r.legacy_reactive_imports);let u=[],p=me,d=[],f=!1;for(let[q,N]of e.instance.scope.declarations)if(N.kind==="legacy_reactive"&&d.push(Ce(q,v("$.mutable_source",void 0,e.immutable?ee:void 0))),N.kind==="store_sub"){u.length===0&&(f=!0,p=Ce(Yr([w("$$stores"),w("$$cleanup")]),v("$.setup_stores")));let F=ct(w(q.slice(1)),s),ne=v("$.store_get",F,$(q),w("$$stores"));u.push(Ce(N.node,H?D(Ge([v("$.validate_store",F,$(q.slice(1))),ne])):D(ne)))}for(let[q]of e.reactive_statements){let N=r.legacy_reactive_statements.get(q);if(N===void 0)throw new Error("Could not find reactive statement");a.body.push(N)}e.reactive_statements.size>0&&a.body.push(I(v("$.legacy_pre_effect_reset")));let h=[];for(let q of e.binding_groups.values())h.push(Ce(q.name,W([])));let _=e.exports.flatMap(({name:q,alias:N})=>{let F=s.scope.get(q),ne=ct(w(q),s),c=ft(N??q,[de(ne)]);if(ne.type==="Identifier"){if(F?.declaration_kind==="let"||F?.declaration_kind==="var")return[c,Kt(N??q,[I(ie("=",ne,w("$$value")))])];if(!H)return Z(N??q,ne)}if(F?.kind==="prop"||F?.kind==="bindable_prop")return[c,Kt(N??q,[I(v(q,w("$$value")))])];if(F?.kind==="state"||F?.kind==="raw_state"){let m=F.kind==="state"?v("$.proxy",w("$$value")):w("$$value");return[c,Kt(N??q,[I(v("$.set",w(q),m))])]}return c}),g=[...e.instance.scope.declarations].filter(([q,N])=>(N.kind==="prop"||N.kind==="bindable_prop")&&!q.startsWith("$$"));if(e.accessors)for(let[q,N]of g){let F=N.prop_alias??q,ne=ft(F,[de(v(w(q)))]),c=Kt(F,[I(v(w(q),w("$$value"))),I(v("$.flush"))]);e.runes&&N.initial&&(c.value.params[0]={type:"AssignmentPattern",left:w("$$value"),right:N.initial}),_.push(ne,c)}t.compatibility.componentApi===4?_.push(Z("$set",w("$.update_legacy_props")),Z("$on",U([w("$$event_name"),w("$$event_cb")],v("$.add_legacy_event_listener",w("$$props"),w("$$event_name"),w("$$event_cb"))))):H&&_.unshift(Mt(v(w("$.legacy_api"))));let E=[w("$$props"),$(e.runes)];H&&E.push(w(e.name));let S=O([p,...d,...h]),o=H||e.needs_context||e.reactive_statements.size>0||_.length>0;S.body.push(...r.instance_level_snippets,...a.body),o&&_.length>0&&S.body.push(ae("$$exports",Q(_))),S.body.unshift(...u),!e.runes&&e.needs_context&&S.body.push(I(v("$.init",e.immutable?ee:void 0))),S.body.push(...n.body),e.needs_mutation_validation&&S.body.unshift(ae("$$ownership_validator",v("$.create_ownership_validator",w("$$props"))));let l=o||e.needs_props||e.uses_props||e.uses_rest_props||e.uses_slots||e.slot_names.size>0;if(S.loc=a.loc,!e.runes)for(let{name:q,alias:N}of e.exports)S.body.push(I(v("$.bind_prop",w("$$props"),$(N??q),ct(w(q),s))));if(e.css.ast!==null&&e.inject_styles){let q=$(e.css.hash),N=$(Cs(e.source,e,t).code);r.hoisted.push(Ce("$$css",Q([Z("hash",q),Z("code",N)]))),S.body.unshift(I(v("$.append_styles",w("$$anchor"),w("$$css"))))}if(o){S.body.unshift(I(v("$.push",...E)));let q;if(_.length>0){let N=v("$.pop",w("$$exports"));q=f?ae("$$pop",N):de(N)}else q=I(v("$.pop"));S.body.push(q)}if(f&&(S.body.push(I(v("$$cleanup"))),_.length>0&&S.body.push(de(w("$$pop")))),e.uses_rest_props){let q=e.exports.map(({name:N,alias:F})=>F??N);for(let[N,F]of e.instance.scope.declarations)F.kind==="bindable_prop"&&q.push(F.prop_alias??N);S.body.unshift(Ce("$$restProps",v("$.legacy_rest_props",w("$$sanitized_props"),W(q.map(N=>$(N))))))}if(e.uses_props||e.uses_rest_props){let q=[$("children"),$("$$slots"),$("$$events"),$("$$legacy")];e.custom_element&&q.push($("$$host")),S.body.unshift(Ce("$$sanitized_props",v("$.legacy_rest_props",w("$$props"),W(q))))}e.uses_slots&&S.body.unshift(Ce("$$slots",v("$.sanitize_slots",w("$$props"))));let y=[],x=[];for(let q of[...i.body,...r.hoisted])q.type==="ImportDeclaration"?y.push(q):x.push(q);x=[...y,...r.module_level_snippets,...x];let T=Ti(w(e.name),l?[w("$$anchor"),w("$$props")]:[w("$$anchor")],S);if(t.hmr){let q=w(e.name),N=[I(v(J(J(q,w("$.HMR"),!0),"update"),w("module.default")))];e.css.hash&&N.unshift(I(v("$.cleanup_styles",$(e.css.hash))));let F=O([I(ie("=",q,v("$.hmr",q))),I(v("import.meta.hot.accept",U([w("module")],O(N))))]);x.push(T,Fe(w("import.meta.hot"),F),Ei(w(e.name)))}else x.push(Ei(T));H&&x.unshift(I(ie("=",J(w(e.name),"$.FILENAME",!0),$(Be)))),t.experimental.async&&x.unshift(Er([],"svelte/internal/flags/async")),e.runes||x.unshift(Er([],"svelte/internal/flags/legacy")),e.tracing&&x.unshift(Er([],"svelte/internal/flags/tracing")),t.discloseVersion&&x.unshift(Er([],"svelte/internal/disclose-version")),t.compatibility.componentApi===4?(x.unshift(Er([["createClassComponent","$$_createClassComponent"]],"svelte/legacy")),S.body.unshift(Fe(w("new.target"),de(v("$$_createClassComponent",Q([Z("component",w(e.name)),Mt(w("$$anchor"))])))))):H&&S.body.unshift(I(v("$.check_target",w("new.target")))),e.props_id&&S.body.unshift(Ce(e.props_id,v("$.props_id"))),r.events.size>0&&x.push(I(v("$.delegate",W(Array.from(r.events).map(q=>$(q))))));let P=e.custom_element;if(P){let q=typeof P=="boolean"?{}:P.props||{},N=[];for(let[b,k]of Object.entries(q)){let R=e.instance.scope.get(b),L=R?.prop_alias??b;!k.type&&R?.initial?.type==="Literal"&&typeof R?.initial.value=="boolean"&&(k.type="Boolean");let B=Q([k.attribute?Z("attribute",$(k.attribute)):void 0,k.reflect?Z("reflect",ee):void 0,k.type?Z("type",$(k.type)):void 0].filter(Boolean));N.push(Z(L,B))}for(let[b,k]of g){let R=k.prop_alias??b;q[R]||N.push(Z(R,Q([])))}let F=W([...e.slot_names.keys()].map(b=>$(b))),ne=W(e.exports.map(({name:b,alias:k})=>$(k??b))),c;typeof P=="boolean"||P.shadow==="open"||P.shadow===void 0?c=Q([Z("mode",$("open"))]):P.shadow==="none"?c=void 0:c=P.shadow;let m=v("$.create_custom_element",w(e.name),Q(N),F,ne,c,typeof P!="boolean"?P.extend:void 0);if(typeof P!="boolean"&&typeof P.tag=="string"){let b=I(v("customElements.define",$(P.tag),m));t.hmr?x.push(Fe(Gt("==",v("customElements.get",$(P.tag)),vt),b)):x.push(b)}else x.push(I(m))}return{type:"Program",sourceType:"module",body:x}}function hR(e,t,r){if(r.generate===!1)return{js:null,css:null,warnings:Xi,metadata:{runes:e.runes},ast:null};let i=r.generate==="server"?sP(e,r):mR(e,r),s=pA(r.filename,r.outputFilename,"input.svelte"),a=xh(i,Eh({comments:e.comments}),{sourceMapContent:t,sourceMapSource:s});Cd(a,r,s);let n=e.css.ast&&!e.inject_styles?Cs(t,e,r):null;return{js:a,css:n,warnings:Xi,metadata:{runes:e.runes},ast:null}}var vR={filename:Ta("(unknown)"),rootDir:Ta(typeof process<"u"?process.cwd?.():typeof Deno<"u"?Deno.cwd():void 0),dev:Br(!1),generate:Fi("client",(e,t)=>e==="dom"||e==="ssr"?(t_(bb),e==="dom"?"client":"server"):(e!=="client"&&e!=="server"&&e!==!1&&er(`${t} must be "client", "server" or false`),e)),warningFilter:gR(()=>!0),experimental:Vd({async:Br(!1)})},yR={accessors:bR(La,Br(!1)),css:Zh((()=>"external"),e=>((e===!0||e===!1)&&er('The boolean options have been removed from the css option. Use "external" instead of false and "injected" instead of true'),e==="none"&&er('css: "none" is no longer a valid option. If this was crucial for you, please open an issue on GitHub with your use case.'),e!=="external"&&e!=="injected"&&er('css should be either "external" (default, recommended) or "injected"'),e)),cssHash:gR(({css:e,filename:t,hash:r})=>`svelte-${r(t==="(unknown)"?e:t??e)}`),cssOutputFilename:Ta(void 0),customElement:Zh((()=>!1),(e,t)=>(typeof e!="boolean"&&er(`${t} should be true or false`),e)),discloseVersion:Br(!0),immutable:bR(Na,Br(!1)),legacy:Is("The legacy option has been removed. If you are using this because of legacy.componentApi, use compatibility.componentApi instead"),compatibility:Vd({componentApi:Qh([4,5],5)}),loopGuardTimeout:Jh(_b),name:Ta(void 0),namespace:Qh(["html","mathml","svg"]),modernAst:Br(!1),outputFilename:Ta(void 0),preserveComments:Br(!1),fragments:Qh(["html","tree"]),preserveWhitespace:Br(!1),runes:Zh(()=>{}),hmr:Br(!1),sourcemap:Fi(void 0,e=>e),enableSourcemap:Jh(mb),hydratable:Jh(hb),format:Is('The format option has been removed in Svelte 4, the compiler only outputs ESM now. Remove "format" from your compiler options. If you did not set this yourself, bump the version of your bundler plugin (vite-plugin-svelte/rollup-plugin-svelte/svelte-loader)'),tag:Is('The tag option has been removed in Svelte 5. Use `<svelte:options customElement="tag-name" />` inside the component instead. If that does not solve your use case, please open an issue on GitHub with details.'),sveltePath:Is("The sveltePath option has been removed in Svelte 5. If this option was crucial for you, please open an issue on GitHub with your use case."),errorMode:Is("The errorMode option has been removed. If you are using this through svelte-preprocess with TypeScript, use the https://www.typescriptlang.org/tsconfig#verbatimModuleSyntax setting instead"),varsReport:Is("The vars option has been removed. If you are using this through svelte-preprocess with TypeScript, use the https://www.typescriptlang.org/tsconfig#verbatimModuleSyntax setting instead")},NF=Vd({...vR,...Object.fromEntries(Object.keys(yR).map(e=>[e,()=>{}]))}),e_=Vd({...vR,...yR});function Is(e){return t=>{t!==void 0&&Jv(null,e)}}var _R=new Set;function t_(e){_R.has(e)||(_R.add(e),e(null))}function Jh(e){return t=>{t!==void 0&&t_(e)}}function bR(e,t){return(r,i)=>(r!==void 0&&t_(e),t(r,i))}function Vd(e,t=!1){return(r,i)=>{let s={};(r&&typeof r!="object"||Array.isArray(r))&&er(`${i} should be an object`);for(let a in r)a in e||(t?s[a]=r[a]:Qv(null,`${i?`${i}.${a}`:a}`));for(let a in e){let n=e[a];s[a]=n(r&&r[a],i?`${i}.${a}`:a)}return s}}function Fi(e,t){return(r,i)=>r===void 0?e:t(r,i)}function Ta(e,t=!0){return Fi(e,(r,i)=>(typeof r!="string"&&er(`${i} should be a string, if specified`),!t&&r===""&&er(`${i} cannot be empty`),r))}function Br(e){return Fi(e,(t,r)=>(typeof t!="boolean"&&er(`${r} should be true or false, if specified`),t))}function Qh(e,t=e[0]){return Fi(t,(r,i)=>{if(!e.includes(r)){let s=e.length>2?`${i} should be one of ${e.slice(0,-1).map(a=>`"${a}"`).join(", ")} or "${e[e.length-1]}"`:`${i} should be either "${e[0]}" or "${e[1]}"`;er(s)}return r})}function gR(e){return Fi(e,(t,r)=>(typeof t!="function"&&er(`${r} should be a function, if specified`),t))}function Zh(e,t=r=>r){return Fi(e,(r,i)=>typeof r=="function"?(...n)=>t(r(...n),i):(...a)=>t(r,i))}function er(e){Yv(null,e)}function xR(e,t){e=BF(e),ef({warning:t.warningFilter,filename:t.filename});let r=e_(t,""),i=_m(e),{customElement:s,...a}=i.options||{},n={...r,...a,customElementOptions:s,css:"css"in a?()=>a.css??"external":r.css,runes:"runes"in a?()=>a.runes:r.runes};i.metadata.ts&&(i={...i,fragment:i.fragment&&ta(i.fragment),instance:i.instance&&ta(i.instance),module:i.module&&ta(i.module)},n.customElementOptions?.extend&&(n.customElementOptions.extend=ta(n.customElementOptions?.extend)));let u=bh(i,e,n),p=hR(u,e,n);return p.ast=DF(e,i,t.modernAst),p}function DF(e,t,r){if(r){let i=s=>{delete s.metadata};return t.options?.attributes.forEach(s=>{i(s),i(s.value),Array.isArray(s.value)&&s.value.forEach(i)}),oe(t,null,{_(s,{next:a}){i(s),a()}})}return zb(e,t)}function BF(e){return e.charCodeAt(0)===65279?e.slice(1):e}globalThis.__DOCMEDOWN_COMPILER__={compile:xR};})();
|