@scalar/api-reference 1.64.0 → 1.65.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/CHANGELOG.md +62 -0
- package/dist/blocks/scalar-asyncapi-server-selector-block/components/AsyncApiServerSelector.vue.d.ts.map +1 -1
- package/dist/blocks/scalar-asyncapi-server-selector-block/components/AsyncApiServerSelector.vue.script.js +1 -1
- package/dist/blocks/scalar-asyncapi-server-selector-block/components/AsyncApiServerSelector.vue.script.js.map +1 -1
- package/dist/blocks/scalar-asyncapi-server-selector-block/components/Selector.vue.d.ts.map +1 -1
- package/dist/blocks/scalar-asyncapi-server-selector-block/components/Selector.vue.script.js +1 -1
- package/dist/blocks/scalar-asyncapi-server-selector-block/components/Selector.vue.script.js.map +1 -1
- package/dist/blocks/scalar-asyncapi-sidebar-filters-block/components/AsyncApiSidebarFilters.vue.script.js +2 -2
- package/dist/blocks/scalar-asyncapi-sidebar-filters-block/components/AsyncApiSidebarFilters.vue.script.js.map +1 -1
- package/dist/blocks/scalar-asyncapi-sidebar-filters-block/components/SidebarFilter.vue.d.ts.map +1 -1
- package/dist/blocks/scalar-asyncapi-sidebar-filters-block/components/SidebarFilter.vue.script.js +1 -1
- package/dist/blocks/scalar-asyncapi-sidebar-filters-block/components/SidebarFilter.vue.script.js.map +1 -1
- package/dist/blocks/scalar-asyncapi-sidebar-filters-block/helpers/filter-async-api-navigation.js.map +1 -1
- package/dist/blocks/scalar-client-selector-block/components/ClientDropdown.vue.d.ts +1 -3
- package/dist/blocks/scalar-client-selector-block/components/ClientDropdown.vue.d.ts.map +1 -1
- package/dist/blocks/scalar-client-selector-block/components/ClientDropdown.vue.js +1 -1
- package/dist/blocks/scalar-client-selector-block/components/ClientDropdown.vue.js.map +1 -1
- package/dist/blocks/scalar-client-selector-block/components/ClientDropdown.vue.script.js +13 -27
- package/dist/blocks/scalar-client-selector-block/components/ClientDropdown.vue.script.js.map +1 -1
- package/dist/blocks/scalar-client-selector-block/components/ClientSelector.vue.d.ts.map +1 -1
- package/dist/blocks/scalar-client-selector-block/components/ClientSelector.vue.js +1 -1
- package/dist/blocks/scalar-client-selector-block/components/ClientSelector.vue.js.map +1 -1
- package/dist/blocks/scalar-client-selector-block/components/ClientSelector.vue.script.js +37 -25
- package/dist/blocks/scalar-client-selector-block/components/ClientSelector.vue.script.js.map +1 -1
- package/dist/blocks/scalar-client-selector-block/helpers/featured-clients.js.map +1 -1
- package/dist/blocks/scalar-info-block/components/DownloadLink.vue.d.ts.map +1 -1
- package/dist/blocks/scalar-info-block/components/DownloadLink.vue.js +1 -1
- package/dist/blocks/scalar-info-block/components/DownloadLink.vue.js.map +1 -1
- package/dist/blocks/scalar-info-block/components/DownloadLink.vue.script.js +10 -4
- package/dist/blocks/scalar-info-block/components/DownloadLink.vue.script.js.map +1 -1
- package/dist/blocks/scalar-info-block/components/InfoBlock.vue.script.js +1 -1
- package/dist/blocks/scalar-info-block/components/InfoBlock.vue.script.js.map +1 -1
- package/dist/blocks/scalar-info-block/components/InfoDescription.vue.js +1 -1
- package/dist/blocks/scalar-info-block/components/InfoDescription.vue.script.js +1 -1
- package/dist/blocks/scalar-info-block/components/InfoDescription.vue.script.js.map +1 -1
- package/dist/blocks/scalar-info-block/components/InfoLinks.vue.script.js +1 -1
- package/dist/blocks/scalar-info-block/components/InfoLinks.vue.script.js.map +1 -1
- package/dist/blocks/scalar-info-block/components/InfoMarkdownSection.vue.script.js +1 -1
- package/dist/blocks/scalar-info-block/components/InfoMarkdownSection.vue.script.js.map +1 -1
- package/dist/blocks/scalar-info-block/components/InfoVersion.vue.script.js +1 -1
- package/dist/blocks/scalar-info-block/components/InfoVersion.vue.script.js.map +1 -1
- package/dist/blocks/scalar-info-block/components/IntroductionCard.vue.js +1 -1
- package/dist/blocks/scalar-info-block/components/IntroductionCard.vue.script.js +1 -1
- package/dist/blocks/scalar-info-block/components/IntroductionCard.vue.script.js.map +1 -1
- package/dist/blocks/scalar-info-block/components/IntroductionCardItem.vue.js +1 -1
- package/dist/blocks/scalar-info-block/components/IntroductionCardItem.vue.js.map +1 -1
- package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue.d.ts.map +1 -1
- package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue.js +1 -1
- package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue.script.js +1 -1
- package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue.script.js.map +1 -1
- package/dist/blocks/scalar-info-block/components/IntroductionLoading.vue.js +1 -1
- package/dist/blocks/scalar-info-block/components/IntroductionLoading.vue.script.js +1 -1
- package/dist/blocks/scalar-info-block/components/IntroductionLoading.vue.script.js.map +1 -1
- package/dist/blocks/scalar-info-block/components/SpecificationVersion.vue.script.js +1 -1
- package/dist/blocks/scalar-info-block/components/SpecificationVersion.vue.script.js.map +1 -1
- package/dist/blocks/scalar-sdk-installation-instructions/components/SdkInstallationInstructions.vue.d.ts.map +1 -1
- package/dist/blocks/scalar-sdk-installation-instructions/components/SdkInstallationInstructions.vue.js +1 -1
- package/dist/blocks/scalar-sdk-installation-instructions/components/SdkInstallationInstructions.vue.js.map +1 -1
- package/dist/blocks/scalar-sdk-installation-instructions/components/SdkInstallationInstructions.vue.script.js +16 -9
- package/dist/blocks/scalar-sdk-installation-instructions/components/SdkInstallationInstructions.vue.script.js.map +1 -1
- package/dist/blocks/scalar-sdk-installation-instructions/helpers/language-icon.js.map +1 -1
- package/dist/blocks/scalar-sdk-installation-instructions/helpers/renderable-sdks.js.map +1 -1
- package/dist/blocks/scalar-sdk-installation-instructions/helpers/visible-tab-count.js.map +1 -1
- package/dist/blocks/scalar-server-selector-block/components/Selector.vue.d.ts.map +1 -1
- package/dist/blocks/scalar-server-selector-block/components/Selector.vue.script.js +1 -1
- package/dist/blocks/scalar-server-selector-block/components/Selector.vue.script.js.map +1 -1
- package/dist/blocks/scalar-server-selector-block/components/ServerSelector.vue.d.ts.map +1 -1
- package/dist/blocks/scalar-server-selector-block/components/ServerSelector.vue.script.js +1 -1
- package/dist/blocks/scalar-server-selector-block/components/ServerSelector.vue.script.js.map +1 -1
- package/dist/browser/chunks/AgentScalarChatInterface-2lNB6wO-.js +27 -0
- package/dist/browser/chunks/ScalarTextInput.vue-DVmXRWbS.js +27 -0
- package/dist/browser/chunks/{basic-shape-diamond.svg-BTEOT1FL.js → basic-shape-diamond.svg-o5eiY2I7.js} +2 -2
- package/dist/browser/chunks/{basic-shape-hexagon.svg-BSPzaCgF.js → basic-shape-hexagon.svg-CGuS7mbd.js} +2 -2
- package/dist/browser/chunks/{basic-shape-primary-circle-ellipse-round.svg-DKmZ8UUU.js → basic-shape-primary-circle-ellipse-round.svg-DDIpXiBm.js} +2 -2
- package/dist/browser/chunks/{basic-shape-primary-square-rectangle.svg-n2YRykHD.js → basic-shape-primary-square-rectangle.svg-DzVEJHMB.js} +2 -2
- package/dist/browser/chunks/{basic-shape-shield.svg-Bec9cJDA.js → basic-shape-shield.svg-BZzapRqv.js} +2 -2
- package/dist/browser/chunks/browser-CTPPEMEL.js +129 -0
- package/dist/browser/chunks/{computer-device-desktop-monitor.svg-m6j893Hb.js → computer-device-desktop-monitor.svg-OSM05r1I.js} +2 -2
- package/dist/browser/chunks/{computer-device-desktop.svg-Dk1VVO7k.js → computer-device-desktop.svg-BMFzGZ27.js} +2 -2
- package/dist/browser/chunks/{computer-device-laptop.svg-BNGVUCYS.js → computer-device-laptop.svg-CMAjzuB-.js} +2 -2
- package/dist/browser/chunks/{computer-device-mobile-phone-android-samsung-back.svg-CC4UUTFw.js → computer-device-mobile-phone-android-samsung-back.svg-D4xBONmL.js} +2 -2
- package/dist/browser/chunks/{computer-device-mobile-phone-android-samsung.svg-D8ExpMpL.js → computer-device-mobile-phone-android-samsung.svg-gbMJLjJw.js} +2 -2
- package/dist/browser/chunks/{computer-device-mobile-phone-iphone-x-back.svg-CLm7sgMM.js → computer-device-mobile-phone-iphone-x-back.svg-Bl1rmdKA.js} +2 -2
- package/dist/browser/chunks/{computer-device-mobile-phone-iphone-x.svg-Xrttg6_7.js → computer-device-mobile-phone-iphone-x.svg-DVetP0aa.js} +2 -2
- package/dist/browser/chunks/{computer-device-mobile-tablet-touch.svg-DQ2oTvOG.js → computer-device-mobile-tablet-touch.svg-Zi88BP4L.js} +2 -2
- package/dist/browser/chunks/{computer-device-mobile-tablet.svg-DCr0XlRc.js → computer-device-mobile-tablet.svg-C1ggisWP.js} +2 -2
- package/dist/browser/chunks/{computer-device-network-ethernet-cat6.svg-AK9l0iOl.js → computer-device-network-ethernet-cat6.svg-BIUymdC1.js} +2 -2
- package/dist/browser/chunks/{computer-device-network-lan-www.svg-gUIdFBlE.js → computer-device-network-lan-www.svg-CoFUlIVO.js} +2 -2
- package/dist/browser/chunks/{computer-device-network-wifi-connection.svg-Be-EMm4e.js → computer-device-network-wifi-connection.svg-DeWsacxI.js} +2 -2
- package/dist/browser/chunks/{computer-device-network-wifi-router.svg-Dc2VzyqK.js → computer-device-network-wifi-router.svg-BjpZEot4.js} +2 -2
- package/dist/browser/chunks/{ecology-science-erlenmeyer-flask.svg-DHgy7Jfd.js → ecology-science-erlenmeyer-flask.svg-ftjGGirE.js} +2 -2
- package/dist/browser/chunks/{image-flash-lightning.svg-EETR_y1q.js → image-flash-lightning.svg-DYQ0W4Fi.js} +2 -2
- package/dist/browser/chunks/{image-picture-flower.svg-DN1AYzJU.js → image-picture-flower.svg-Bfe5SVDf.js} +2 -2
- package/dist/browser/chunks/{interface-alert-exclamation-diamond.svg-C5NozMV_.js → interface-alert-exclamation-diamond.svg-D1HePDNM.js} +2 -2
- package/dist/browser/chunks/{interface-alert-exclamation-triangle-warning.svg-DaAg2fF5.js → interface-alert-exclamation-triangle-warning.svg-CILUsxBC.js} +2 -2
- package/dist/browser/chunks/{interface-alert-information-circle.svg-ckkkt9Mv.js → interface-alert-information-circle.svg-9LrbJM5J.js} +2 -2
- package/dist/browser/chunks/{interface-award-crown.svg-pjvn9hY-.js → interface-award-crown.svg-DllWgiU1.js} +2 -2
- package/dist/browser/chunks/{interface-bookmark.svg-BK9HKQBT.js → interface-bookmark-tag.svg-Dc-JL-Kc.js} +2 -2
- package/dist/browser/chunks/{interface-bookmark-tag.svg-r2r-lQq4.js → interface-bookmark.svg-Dc-JL-Kc.js} +2 -2
- package/dist/browser/chunks/{interface-calendar-date-one.svg-DNnF0M1I.js → interface-calendar-date-one.svg-DO2jelhF.js} +2 -2
- package/dist/browser/chunks/{interface-content-book-open-pages.svg-CQj_w9Vp.js → interface-content-book-open-pages.svg-BJjMjIgA.js} +2 -2
- package/dist/browser/chunks/{interface-content-book-page.svg-DppoeJRe.js → interface-content-book-page.svg-C6rKB2fs.js} +2 -2
- package/dist/browser/chunks/{interface-content-file.svg-CvcD7OiY.js → interface-content-file.svg-CS0q2FKx.js} +2 -2
- package/dist/browser/chunks/{interface-content-folder.svg-BmtS5I9A.js → interface-content-folder.svg-CThTWsJX.js} +2 -2
- package/dist/browser/chunks/{interface-copy-clipboard.svg-Be6EI50X.js → interface-copy-clipboard.svg-DdN67cLv.js} +2 -2
- package/dist/browser/chunks/{interface-edit-attachment.svg-G5TKzpWX.js → interface-edit-attachment.svg-Ciizphuh.js} +2 -2
- package/dist/browser/chunks/{interface-edit-binocular.svg-jzL-DvGB.js → interface-edit-binocular.svg-Dw1nDqmL.js} +2 -2
- package/dist/browser/chunks/{interface-edit-magic-wand.svg-BOTlymvp.js → interface-edit-magic-wand.svg-BYS0jm_E.js} +2 -2
- package/dist/browser/chunks/{interface-edit-tool-paint-roller.svg-s9dwryx7.js → interface-edit-tool-paint-roller.svg-NioSHZC2.js} +2 -2
- package/dist/browser/chunks/{interface-edit-tool-pencil.svg-C7v0dbB3.js → interface-edit-tool-pencil.svg-P87QFlat.js} +2 -2
- package/dist/browser/chunks/{interface-favorite-award.svg-CYHUgUG0.js → interface-favorite-award.svg-DBBAChSi.js} +2 -2
- package/dist/browser/chunks/{interface-favorite-flag.svg-C10zlKOb.js → interface-favorite-flag.svg-HlhPomHY.js} +2 -2
- package/dist/browser/chunks/{interface-favorite-heart.svg-eoduXxlz.js → interface-favorite-heart.svg-Cqu2GYDo.js} +2 -2
- package/dist/browser/chunks/{interface-favorite-star.svg-BSmxJetr.js → interface-favorite-star.svg-BD4JY_J2.js} +2 -2
- package/dist/browser/chunks/{interface-favorite-stars-sparkles.svg-JTFLj3Ls.js → interface-favorite-stars-sparkles.svg-BXi6aO8q.js} +2 -2
- package/dist/browser/chunks/{interface-hierarchy-flowchart.svg-Cg_Wy0kN.js → interface-hierarchy-flowchart.svg-CDEVSsD4.js} +2 -2
- package/dist/browser/chunks/{interface-home-house.svg-DytoGRnv.js → interface-home-house.svg-DJetUjwj.js} +2 -2
- package/dist/browser/chunks/{interface-hyperlink.svg-CuEfmmQI.js → interface-hyperlink.svg-DJ1LREmz.js} +2 -2
- package/dist/browser/chunks/{interface-lighting-brightness.svg-DSK0h_Pa.js → interface-lighting-brightness.svg-TGKAaHYV.js} +2 -2
- package/dist/browser/chunks/{interface-lock-closed.svg-Cn6TaLYv.js → interface-lock-closed.svg-3hehWr3i.js} +2 -2
- package/dist/browser/chunks/{interface-lock-open-unlock.svg-CVkG5-9W.js → interface-lock-open-unlock.svg-CuXKcv1m.js} +2 -2
- package/dist/browser/chunks/{interface-login-key.svg-y-cwwXjN.js → interface-login-key.svg-Chwvvywd.js} +2 -2
- package/dist/browser/chunks/{interface-search.svg-S-puVFJB.js → interface-search.svg-JDE3fk0u.js} +2 -2
- package/dist/browser/chunks/{interface-setting-cog.svg-CTH4_lLg.js → interface-setting-cog.svg-BBCkeh4K.js} +2 -2
- package/dist/browser/chunks/{interface-share-megaphone-bullhorn.svg-Pbp39MyC.js → interface-share-megaphone-bullhorn.svg-CDdxF-4y.js} +2 -2
- package/dist/browser/chunks/{interface-share-rocket.svg-BgCsIRZO.js → interface-share-rocket.svg-DSbdn_o7.js} +2 -2
- package/dist/browser/chunks/{interface-share-satellite.svg-DAMN9d5G.js → interface-share-satellite.svg-CefBVZvY.js} +2 -2
- package/dist/browser/chunks/{interface-share-space-ship.svg-Dt-Mejxk.js → interface-share-space-ship.svg-tFA2dsSU.js} +2 -2
- package/dist/browser/chunks/{interface-share.svg-vFYTXSti.js → interface-share.svg-BpOGopyv.js} +2 -2
- package/dist/browser/chunks/{interface-signal-square.svg-DNG4LpAe.js → interface-signal-square.svg-BcX_BoaC.js} +2 -2
- package/dist/browser/chunks/{interface-time-clock-circle.svg-Bpz-nLxo.js → interface-time-clock-circle.svg-C8B_L_RM.js} +2 -2
- package/dist/browser/chunks/{interface-time-hour-glass.svg-D7agfKsH.js → interface-time-hour-glass.svg-qw-oeoVn.js} +2 -2
- package/dist/browser/chunks/{interface-users-multiple.svg-CkPJBBnG.js → interface-users-multiple.svg-Cs13Eewq.js} +2 -2
- package/dist/browser/chunks/{interface-weather-moon.svg-CaTZFMPO.js → interface-weather-moon.svg-CV-oDTae.js} +2 -2
- package/dist/browser/chunks/{mail-chat-bubble-square.svg-DC8RIihp.js → mail-chat-bubble-square.svg-dpauJhin.js} +2 -2
- package/dist/browser/chunks/{mail-send-email-paper-airplane.svg-D8OLs9jz.js → mail-send-email-paper-airplane.svg-BBofxojL.js} +2 -2
- package/dist/browser/chunks/{mail-send-envelope.svg-CV33h5Sx.js → mail-send-envelope.svg-DyENgYOI.js} +2 -2
- package/dist/browser/chunks/modal-70ibkEHi.js +102 -0
- package/dist/browser/chunks/{money-cashier-receipt.svg-CJL8C2gs.js → money-cashier-receipt.svg-dNTr5aio.js} +2 -2
- package/dist/browser/chunks/{money-currency-dollar-pay.svg-VdBplCTx.js → money-currency-dollar-pay.svg-1ZESPtFY.js} +2 -2
- package/dist/browser/chunks/{money-graph-arrow-increase.svg-DcRov3zk.js → money-graph-arrow-increase.svg-kEZ2u2z2.js} +2 -2
- package/dist/browser/chunks/{money-graph-bar-chart-increase.svg-Cc7KxjX-.js → money-graph-bar-chart-increase.svg-B-t2UWB3.js} +2 -2
- package/dist/browser/chunks/{nature-ecology-leaf.svg-DR3cTZxt.js → nature-ecology-leaf.svg-DZ2GJV8m.js} +2 -2
- package/dist/browser/chunks/{phone-telephone.svg-DyY0gUlk.js → phone-telephone.svg-C12QjpN7.js} +2 -2
- package/dist/browser/chunks/{programming-bug.svg-BHLT-Qhp.js → programming-bug.svg-wLTsruN9.js} +2 -2
- package/dist/browser/chunks/{programming-cloud.svg-B6YW33ba.js → programming-cloud.svg-3XU6dNUg.js} +2 -2
- package/dist/browser/chunks/{programming-computer-database-server.svg-B6o5Sdn-.js → programming-computer-database-server.svg-B1JrHSPd.js} +2 -2
- package/dist/browser/chunks/{programming-computer-database.svg-Cl7OVtpJ.js → programming-computer-database.svg-BxHSuFl7.js} +2 -2
- package/dist/browser/chunks/{programming-module-four-layout.svg-BQrerL1x.js → programming-module-four-layout.svg-CeV35q45.js} +2 -2
- package/dist/browser/chunks/{programming-module-three.svg-B2KTQzBM.js → programming-module-three.svg-YIBpLt45.js} +2 -2
- package/dist/browser/chunks/{programming-module.svg-CiID7kPm.js → programming-module.svg-CU_pEibI.js} +2 -2
- package/dist/browser/chunks/{programming-script-code.svg-D1M5rtkN.js → programming-script-code.svg-CLzinmHT.js} +2 -2
- package/dist/browser/chunks/runtime-core.esm-bundler-CqqEw5ds.js +17 -0
- package/dist/browser/chunks/{shopping-cart.svg-BEegiIR9.js → shopping-cart.svg-Brzddu3K.js} +2 -2
- package/dist/browser/chunks/{shopping-gift-present.svg-BUHwuLix.js → shopping-gift-present.svg-l2K48g7L.js} +2 -2
- package/dist/browser/chunks/{shopping-shipping-box-parcel-package.svg-D6fxWdYx.js → shopping-shipping-box-parcel-package.svg-DesGopPo.js} +2 -2
- package/dist/browser/chunks/{tag-new-circle.svg-jsg1bGs0.js → tag-new-circle.svg-DE-VaLZU.js} +2 -2
- package/dist/browser/chunks/{travel-map-earth-globe.svg-ClbMiU-f.js → travel-map-earth-globe.svg-DLaOMzx6.js} +2 -2
- package/dist/browser/chunks/vendor-BcTep96u.js +306 -0
- package/dist/browser/standalone.esm.js +22 -20
- package/dist/browser/standalone.js +256 -254
- package/dist/components/AgentScalar/AgentScalarButton.vue.script.js +1 -1
- package/dist/components/AgentScalar/AgentScalarButton.vue.script.js.map +1 -1
- package/dist/components/AgentScalar/AgentScalarChatInterface.vue.script.js +1 -1
- package/dist/components/AgentScalar/AgentScalarChatInterface.vue.script.js.map +1 -1
- package/dist/components/AgentScalar/AgentScalarDrawer.vue.d.ts.map +1 -1
- package/dist/components/AgentScalar/AgentScalarDrawer.vue.js +1 -1
- package/dist/components/AgentScalar/AgentScalarDrawer.vue.script.js +1 -1
- package/dist/components/AgentScalar/AgentScalarDrawer.vue.script.js.map +1 -1
- package/dist/components/AgentScalar/OpenMCPButton.vue.d.ts.map +1 -1
- package/dist/components/AgentScalar/OpenMCPButton.vue.js +1 -1
- package/dist/components/AgentScalar/OpenMCPButton.vue.js.map +1 -1
- package/dist/components/AgentScalar/OpenMCPButton.vue.script.js +47 -32
- package/dist/components/AgentScalar/OpenMCPButton.vue.script.js.map +1 -1
- package/dist/components/Anchor/Anchor.vue.d.ts.map +1 -1
- package/dist/components/Anchor/Anchor.vue.script.js +1 -1
- package/dist/components/Anchor/Anchor.vue.script.js.map +1 -1
- package/dist/components/Anchor/WithBreadcrumb.vue.script.js +2 -2
- package/dist/components/Anchor/WithBreadcrumb.vue.script.js.map +1 -1
- package/dist/components/ApiReference.vue.d.ts.map +1 -1
- package/dist/components/ApiReference.vue.js +1 -1
- package/dist/components/ApiReference.vue.js.map +1 -1
- package/dist/components/ApiReference.vue.script.js +55 -22
- package/dist/components/ApiReference.vue.script.js.map +1 -1
- package/dist/components/Badge/Badge.vue.js +1 -1
- package/dist/components/Badge/Badge.vue.script.js +1 -1
- package/dist/components/Badge/Badge.vue.script.js.map +1 -1
- package/dist/components/ClassicHeader.vue.js +1 -1
- package/dist/components/ClassicHeader.vue.js.map +1 -1
- package/dist/components/Content/AsyncApi/AsyncApiLabels.vue.js +1 -1
- package/dist/components/Content/AsyncApi/AsyncApiLabels.vue.script.js +1 -1
- package/dist/components/Content/AsyncApi/AsyncApiLabels.vue.script.js.map +1 -1
- package/dist/components/Content/AsyncApi/AsyncApiTraversedEntry.vue.script.js +1 -1
- package/dist/components/Content/AsyncApi/AsyncApiTraversedEntry.vue.script.js.map +1 -1
- package/dist/components/Content/AsyncApi/Channel.vue.d.ts.map +1 -1
- package/dist/components/Content/AsyncApi/Channel.vue.js +1 -1
- package/dist/components/Content/AsyncApi/Channel.vue.script.js +1 -1
- package/dist/components/Content/AsyncApi/Channel.vue.script.js.map +1 -1
- package/dist/components/Content/AsyncApi/ChannelsList.vue.js +1 -1
- package/dist/components/Content/AsyncApi/ChannelsList.vue.script.js +1 -1
- package/dist/components/Content/AsyncApi/ChannelsList.vue.script.js.map +1 -1
- package/dist/components/Content/AsyncApi/Message.vue.d.ts.map +1 -1
- package/dist/components/Content/AsyncApi/Message.vue.js +1 -1
- package/dist/components/Content/AsyncApi/Message.vue.script.js +2 -2
- package/dist/components/Content/AsyncApi/Message.vue.script.js.map +1 -1
- package/dist/components/Content/AsyncApi/Operation.vue.d.ts.map +1 -1
- package/dist/components/Content/AsyncApi/Operation.vue.js +1 -1
- package/dist/components/Content/AsyncApi/Operation.vue.script.js +1 -1
- package/dist/components/Content/AsyncApi/Operation.vue.script.js.map +1 -1
- package/dist/components/Content/AsyncApi/helpers/adapt-async-api-parameters.js.map +1 -1
- package/dist/components/Content/AsyncApi/helpers/async-api-render-options.js.map +1 -1
- package/dist/components/Content/AsyncApi/helpers/filter-children-by-type.js.map +1 -1
- package/dist/components/Content/AsyncApi/helpers/get-async-api-labels.js.map +1 -1
- package/dist/components/Content/AsyncApi/helpers/get-async-api-required-security.js.map +1 -1
- package/dist/components/Content/AsyncApi/helpers/pick-heading.js.map +1 -1
- package/dist/components/Content/AsyncApi/helpers/resolve-async-api-nodes.js.map +1 -1
- package/dist/components/Content/AsyncApi/index.d.ts +3 -0
- package/dist/components/Content/AsyncApi/index.d.ts.map +1 -1
- package/dist/components/Content/Auth/Auth.vue.script.js +1 -1
- package/dist/components/Content/Auth/Auth.vue.script.js.map +1 -1
- package/dist/components/Content/Content.vue.script.js +1 -1
- package/dist/components/Content/Content.vue.script.js.map +1 -1
- package/dist/components/Content/Models/Model.vue.script.js +1 -1
- package/dist/components/Content/Models/Model.vue.script.js.map +1 -1
- package/dist/components/Content/Models/ModelTag.vue.d.ts.map +1 -1
- package/dist/components/Content/Models/ModelTag.vue.script.js +2 -2
- package/dist/components/Content/Models/ModelTag.vue.script.js.map +1 -1
- package/dist/components/Content/Models/components/ClassicLayout.vue.d.ts.map +1 -1
- package/dist/components/Content/Models/components/ClassicLayout.vue.js +1 -1
- package/dist/components/Content/Models/components/ClassicLayout.vue.script.js +1 -1
- package/dist/components/Content/Models/components/ClassicLayout.vue.script.js.map +1 -1
- package/dist/components/Content/Models/components/ModernLayout.vue.d.ts.map +1 -1
- package/dist/components/Content/Models/components/ModernLayout.vue.script.js +1 -1
- package/dist/components/Content/Models/components/ModernLayout.vue.script.js.map +1 -1
- package/dist/components/Content/Operations/TraversedEntry.vue.script.js +1 -1
- package/dist/components/Content/Operations/TraversedEntry.vue.script.js.map +1 -1
- package/dist/components/Content/Schema/LinkButton.vue.js +1 -1
- package/dist/components/Content/Schema/LinkButton.vue.js.map +1 -1
- package/dist/components/Content/Schema/RenderString.vue.script.js +1 -1
- package/dist/components/Content/Schema/RenderString.vue.script.js.map +1 -1
- package/dist/components/Content/Schema/Schema.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/Schema.vue.js +1 -1
- package/dist/components/Content/Schema/Schema.vue.js.map +1 -1
- package/dist/components/Content/Schema/Schema.vue.script.js +5 -13
- package/dist/components/Content/Schema/Schema.vue.script.js.map +1 -1
- package/dist/components/Content/Schema/SchemaComposition.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaComposition.vue.script.js +1 -1
- package/dist/components/Content/Schema/SchemaComposition.vue.script.js.map +1 -1
- package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue.script.js +1 -1
- package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue.script.js.map +1 -1
- package/dist/components/Content/Schema/SchemaEnums.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaEnums.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaEnums.vue.script.js +1 -1
- package/dist/components/Content/Schema/SchemaEnums.vue.script.js.map +1 -1
- package/dist/components/Content/Schema/SchemaHeading.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaHeading.vue.script.js +1 -1
- package/dist/components/Content/Schema/SchemaHeading.vue.script.js.map +1 -1
- package/dist/components/Content/Schema/SchemaObjectExampleCodeBlock.vue.script.js +1 -1
- package/dist/components/Content/Schema/SchemaObjectExampleCodeBlock.vue.script.js.map +1 -1
- package/dist/components/Content/Schema/SchemaObjectProperties.vue.script.js +1 -1
- package/dist/components/Content/Schema/SchemaObjectProperties.vue.script.js.map +1 -1
- package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaProperty.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaProperty.vue.js.map +1 -1
- package/dist/components/Content/Schema/SchemaProperty.vue.script.js +9 -3
- package/dist/components/Content/Schema/SchemaProperty.vue.script.js.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyDefault.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaPropertyDefault.vue.script.js +1 -1
- package/dist/components/Content/Schema/SchemaPropertyDefault.vue.script.js.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyDetail.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaPropertyDetail.vue.script.js +1 -1
- package/dist/components/Content/Schema/SchemaPropertyDetail.vue.script.js.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyExamples.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaPropertyExamples.vue.script.js +1 -1
- package/dist/components/Content/Schema/SchemaPropertyExamples.vue.script.js.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts +6 -0
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.script.js +6 -2
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.script.js.map +1 -1
- package/dist/components/Content/Schema/helpers/dynamic-scope.js.map +1 -1
- package/dist/components/Content/Schema/helpers/format-example.js.map +1 -1
- package/dist/components/Content/Schema/helpers/format-value.js.map +1 -1
- package/dist/components/Content/Schema/helpers/get-compositions-to-render.js.map +1 -1
- package/dist/components/Content/Schema/helpers/get-enum-values.js.map +1 -1
- package/dist/components/Content/Schema/helpers/get-property-description.js.map +1 -1
- package/dist/components/Content/Schema/helpers/get-ref-name.d.ts +16 -0
- package/dist/components/Content/Schema/helpers/get-ref-name.d.ts.map +1 -1
- package/dist/components/Content/Schema/helpers/get-ref-name.js +28 -1
- package/dist/components/Content/Schema/helpers/get-ref-name.js.map +1 -1
- package/dist/components/Content/Schema/helpers/get-schema-type.js.map +1 -1
- package/dist/components/Content/Schema/helpers/has-complex-array-items.js.map +1 -1
- package/dist/components/Content/Schema/helpers/is-empty-schema-object.js.map +1 -1
- package/dist/components/Content/Schema/helpers/is-model-linkable.d.ts +15 -0
- package/dist/components/Content/Schema/helpers/is-model-linkable.d.ts.map +1 -0
- package/dist/components/Content/Schema/helpers/is-model-linkable.js +22 -0
- package/dist/components/Content/Schema/helpers/is-model-linkable.js.map +1 -0
- package/dist/components/Content/Schema/helpers/is-type-object.js.map +1 -1
- package/dist/components/Content/Schema/helpers/merge-all-of-schemas.js +3 -3
- package/dist/components/Content/Schema/helpers/merge-all-of-schemas.js.map +1 -1
- package/dist/components/Content/Schema/helpers/optimize-value-for-display.js.map +1 -1
- package/dist/components/Content/Schema/helpers/partition-all-of-compositions.js.map +1 -1
- package/dist/components/Content/Schema/helpers/schema-composition.js.map +1 -1
- package/dist/components/Content/Schema/helpers/schema-cycle.js.map +1 -1
- package/dist/components/Content/Schema/helpers/schema-name.d.ts +6 -1
- package/dist/components/Content/Schema/helpers/schema-name.d.ts.map +1 -1
- package/dist/components/Content/Schema/helpers/schema-name.js +5 -4
- package/dist/components/Content/Schema/helpers/schema-name.js.map +1 -1
- package/dist/components/Content/Schema/helpers/should-display-description.js.map +1 -1
- package/dist/components/Content/Schema/helpers/should-display-heading.js.map +1 -1
- package/dist/components/Content/Schema/helpers/should-render-array-item-composition.js.map +1 -1
- package/dist/components/Content/Schema/helpers/sort-property-names.js.map +1 -1
- package/dist/components/Content/Schema/types.d.ts +7 -0
- package/dist/components/Content/Schema/types.d.ts.map +1 -1
- package/dist/components/Content/Tags/Tag.vue.script.js +1 -1
- package/dist/components/Content/Tags/Tag.vue.script.js.map +1 -1
- package/dist/components/Content/Tags/components/ClassicLayout.vue.d.ts.map +1 -1
- package/dist/components/Content/Tags/components/ClassicLayout.vue.js +1 -1
- package/dist/components/Content/Tags/components/ClassicLayout.vue.script.js +1 -1
- package/dist/components/Content/Tags/components/ClassicLayout.vue.script.js.map +1 -1
- package/dist/components/Content/Tags/components/ModernLayout.vue.d.ts.map +1 -1
- package/dist/components/Content/Tags/components/ModernLayout.vue.js +1 -1
- package/dist/components/Content/Tags/components/ModernLayout.vue.script.js +1 -1
- package/dist/components/Content/Tags/components/ModernLayout.vue.script.js.map +1 -1
- package/dist/components/Content/Tags/components/TagSection.vue.d.ts.map +1 -1
- package/dist/components/Content/Tags/components/TagSection.vue.script.js +1 -1
- package/dist/components/Content/Tags/components/TagSection.vue.script.js.map +1 -1
- package/dist/components/GettingStarted.vue.d.ts.map +1 -1
- package/dist/components/GettingStarted.vue.js +1 -1
- package/dist/components/GettingStarted.vue.js.map +1 -1
- package/dist/components/GettingStarted.vue.script.js +4 -3
- package/dist/components/GettingStarted.vue.script.js.map +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue.script.js +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue.script.js.map +1 -1
- package/dist/components/IntersectionObserver.vue.script.js +10 -7
- package/dist/components/IntersectionObserver.vue.script.js.map +1 -1
- package/dist/components/Lazy/Lazy.vue.script.js +2 -2
- package/dist/components/Lazy/Lazy.vue.script.js.map +1 -1
- package/dist/components/LinkList/LinkList.vue.js +1 -1
- package/dist/components/LinkList/LinkList.vue.script.js +1 -1
- package/dist/components/LinkList/LinkList.vue.script.js.map +1 -1
- package/dist/components/MobileHeader.vue.d.ts.map +1 -1
- package/dist/components/MobileHeader.vue.script.js +4 -4
- package/dist/components/MobileHeader.vue.script.js.map +1 -1
- package/dist/components/OperationPath.vue.d.ts.map +1 -1
- package/dist/components/OperationPath.vue.js +1 -1
- package/dist/components/OperationPath.vue.script.js +1 -1
- package/dist/components/OperationPath.vue.script.js.map +1 -1
- package/dist/components/OperationsList/OperationsList.vue.js +1 -1
- package/dist/components/OperationsList/OperationsList.vue.script.js +1 -1
- package/dist/components/OperationsList/OperationsList.vue.script.js.map +1 -1
- package/dist/components/OperationsList/OperationsListItem.vue.js +1 -1
- package/dist/components/OperationsList/OperationsListItem.vue.script.js +1 -1
- package/dist/components/OperationsList/OperationsListItem.vue.script.js.map +1 -1
- package/dist/components/RenderPlugins/RenderPluginView.vue.script.js +1 -1
- package/dist/components/RenderPlugins/RenderPluginView.vue.script.js.map +1 -1
- package/dist/components/RenderPlugins/RenderPlugins.vue.script.js +1 -1
- package/dist/components/RenderPlugins/RenderPlugins.vue.script.js.map +1 -1
- package/dist/components/ScreenReader.vue.js +1 -1
- package/dist/components/ScreenReader.vue.script.js +2 -2
- package/dist/components/ScreenReader.vue.script.js.map +1 -1
- package/dist/components/Section/CompactSection.vue.d.ts.map +1 -1
- package/dist/components/Section/CompactSection.vue.js +1 -1
- package/dist/components/Section/CompactSection.vue.script.js +1 -1
- package/dist/components/Section/CompactSection.vue.script.js.map +1 -1
- package/dist/components/Section/Section.vue.js +1 -1
- package/dist/components/Section/Section.vue.script.js +1 -1
- package/dist/components/Section/Section.vue.script.js.map +1 -1
- package/dist/components/Section/SectionAccordion.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionAccordion.vue.js +1 -1
- package/dist/components/Section/SectionAccordion.vue.script.js +1 -1
- package/dist/components/Section/SectionAccordion.vue.script.js.map +1 -1
- package/dist/components/Section/SectionColumn.vue.js +1 -1
- package/dist/components/Section/SectionColumn.vue.js.map +1 -1
- package/dist/components/Section/SectionColumns.vue.js +1 -1
- package/dist/components/Section/SectionColumns.vue.js.map +1 -1
- package/dist/components/Section/SectionContainer.vue.js +1 -1
- package/dist/components/Section/SectionContainer.vue.script.js +2 -2
- package/dist/components/Section/SectionContainer.vue.script.js.map +1 -1
- package/dist/components/Section/SectionContainerAccordion.vue.d.ts.map +1 -1
- package/dist/components/Section/SectionContainerAccordion.vue.js +1 -1
- package/dist/components/Section/SectionContainerAccordion.vue.script.js +1 -1
- package/dist/components/Section/SectionContainerAccordion.vue.script.js.map +1 -1
- package/dist/components/Section/SectionContent.vue.js +1 -1
- package/dist/components/Section/SectionContent.vue.js.map +1 -1
- package/dist/components/Section/SectionHeader.vue.js +1 -1
- package/dist/components/Section/SectionHeader.vue.script.js +2 -2
- package/dist/components/Section/SectionHeader.vue.script.js.map +1 -1
- package/dist/components/Section/SectionHeaderTag.vue.js +1 -1
- package/dist/components/Section/SectionHeaderTag.vue.script.js +1 -1
- package/dist/components/Section/SectionHeaderTag.vue.script.js.map +1 -1
- package/dist/components/SectionFlare/SectionFlare.vue.js +1 -1
- package/dist/components/SectionFlare/SectionFlare.vue.js.map +1 -1
- package/dist/components/ShowMoreButton.vue.js +1 -1
- package/dist/components/ShowMoreButton.vue.script.js +1 -1
- package/dist/components/ShowMoreButton.vue.script.js.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +5 -1
- package/dist/features/Operation/Operation.vue.script.js +1 -1
- package/dist/features/Operation/Operation.vue.script.js.map +1 -1
- package/dist/features/Operation/components/ContentTypeSelect.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/ContentTypeSelect.vue.script.js +2 -2
- package/dist/features/Operation/components/ContentTypeSelect.vue.script.js.map +1 -1
- package/dist/features/Operation/components/Header.vue.d.ts +2 -0
- package/dist/features/Operation/components/Header.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/Header.vue.js.map +1 -1
- package/dist/features/Operation/components/Header.vue.script.js +4 -2
- package/dist/features/Operation/components/Header.vue.script.js.map +1 -1
- package/dist/features/Operation/components/Headers.vue.d.ts +2 -0
- package/dist/features/Operation/components/Headers.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/Headers.vue.js +1 -1
- package/dist/features/Operation/components/Headers.vue.js.map +1 -1
- package/dist/features/Operation/components/Headers.vue.script.js +5 -2
- package/dist/features/Operation/components/Headers.vue.script.js.map +1 -1
- package/dist/features/Operation/components/OperationParameters.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/OperationParameters.vue.js.map +1 -1
- package/dist/features/Operation/components/OperationParameters.vue.script.js +4 -4
- package/dist/features/Operation/components/OperationParameters.vue.script.js.map +1 -1
- package/dist/features/Operation/components/OperationResponses.vue.script.js +1 -1
- package/dist/features/Operation/components/OperationResponses.vue.script.js.map +1 -1
- package/dist/features/Operation/components/OperationScopes.vue.script.js +1 -1
- package/dist/features/Operation/components/OperationScopes.vue.script.js.map +1 -1
- package/dist/features/Operation/components/ParameterList.vue.script.js +1 -1
- package/dist/features/Operation/components/ParameterList.vue.script.js.map +1 -1
- package/dist/features/Operation/components/ParameterListItem.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/ParameterListItem.vue.js +1 -1
- package/dist/features/Operation/components/ParameterListItem.vue.js.map +1 -1
- package/dist/features/Operation/components/ParameterListItem.vue.script.js +4 -1
- package/dist/features/Operation/components/ParameterListItem.vue.script.js.map +1 -1
- package/dist/features/Operation/components/RequestBody.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/RequestBody.vue.js +1 -1
- package/dist/features/Operation/components/RequestBody.vue.js.map +1 -1
- package/dist/features/Operation/components/RequestBody.vue.script.js +12 -3
- package/dist/features/Operation/components/RequestBody.vue.script.js.map +1 -1
- package/dist/features/Operation/components/SecurityRequirementBadge.vue.script.js +1 -1
- package/dist/features/Operation/components/SecurityRequirementBadge.vue.script.js.map +1 -1
- package/dist/features/Operation/components/SecurityRequirementBadgeScheme.vue.script.js +1 -1
- package/dist/features/Operation/components/SecurityRequirementBadgeScheme.vue.script.js.map +1 -1
- package/dist/features/Operation/components/callbacks/Callback.vue.js +1 -1
- package/dist/features/Operation/components/callbacks/Callback.vue.script.js +1 -1
- package/dist/features/Operation/components/callbacks/Callback.vue.script.js.map +1 -1
- package/dist/features/Operation/components/callbacks/Callbacks.vue.script.js +1 -1
- package/dist/features/Operation/components/callbacks/Callbacks.vue.script.js.map +1 -1
- package/dist/features/Operation/components/helpers/get-parameter-examples.js.map +1 -1
- package/dist/features/Operation/helpers/filter-selected-security.js.map +1 -1
- package/dist/features/Operation/helpers/flatten-deep-object-query-parameter.js.map +1 -1
- package/dist/features/Operation/helpers/get-required-security.js.map +1 -1
- package/dist/features/Operation/helpers/operation-stability.js.map +1 -1
- package/dist/features/Operation/layouts/ClassicLayout.vue.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ClassicLayout.vue.js +1 -1
- package/dist/features/Operation/layouts/ClassicLayout.vue.script.js +1 -1
- package/dist/features/Operation/layouts/ClassicLayout.vue.script.js.map +1 -1
- package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ModernLayout.vue.js +1 -1
- package/dist/features/Operation/layouts/ModernLayout.vue.script.js +1 -1
- package/dist/features/Operation/layouts/ModernLayout.vue.script.js.map +1 -1
- package/dist/features/Operation/request-body-composition-index.js.map +1 -1
- package/dist/features/Search/components/SearchButton.vue.d.ts.map +1 -1
- package/dist/features/Search/components/SearchButton.vue.script.js +1 -1
- package/dist/features/Search/components/SearchButton.vue.script.js.map +1 -1
- package/dist/features/Search/components/SearchModal.vue.d.ts.map +1 -1
- package/dist/features/Search/components/SearchModal.vue.js +1 -1
- package/dist/features/Search/components/SearchModal.vue.script.js +1 -1
- package/dist/features/Search/components/SearchModal.vue.script.js.map +1 -1
- package/dist/features/Search/components/SearchResult.vue.d.ts.map +1 -1
- package/dist/features/Search/components/SearchResult.vue.js.map +1 -1
- package/dist/features/Search/components/SearchResult.vue.script.js +3 -3
- package/dist/features/Search/components/SearchResult.vue.script.js.map +1 -1
- package/dist/features/Search/helpers/create-fuse-instance.js.map +1 -1
- package/dist/features/Search/helpers/create-search-index.js.map +1 -1
- package/dist/features/Search/hooks/useSearchIndex.js.map +1 -1
- package/dist/features/ask-agent-button/AskAgentButton.vue.js +1 -1
- package/dist/features/ask-agent-button/AskAgentButton.vue.script.js +1 -1
- package/dist/features/ask-agent-button/AskAgentButton.vue.script.js.map +1 -1
- package/dist/features/developer-tools/DeveloperTools.vue.script.js +2 -2
- package/dist/features/developer-tools/DeveloperTools.vue.script.js.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarBlurb.vue.js +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarBlurb.vue.js.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarConfigLayout.vue.script.js +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarConfigLayout.vue.script.js.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarConfigLayoutOptions.vue.d.ts.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarConfigLayoutOptions.vue.js.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarConfigLayoutOptions.vue.script.js +3 -3
- package/dist/features/developer-tools/components/ApiReferenceToolbarConfigLayoutOptions.vue.script.js.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarConfigTheme.vue.script.js +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarConfigTheme.vue.script.js.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarPopover.vue.script.js +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarPopover.vue.script.js.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarRegisterButton.vue.d.ts.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarRegisterButton.vue.script.js +4 -3
- package/dist/features/developer-tools/components/ApiReferenceToolbarRegisterButton.vue.script.js.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarShareRegister.vue.d.ts.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarShareRegister.vue.js.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarShareRegister.vue.script.js +2 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarShareRegister.vue.script.js.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarShareTemporary.vue.d.ts.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarShareTemporary.vue.script.js +4 -3
- package/dist/features/developer-tools/components/ApiReferenceToolbarShareTemporary.vue.script.js.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarTitle.vue.d.ts.map +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarTitle.vue.script.js +1 -1
- package/dist/features/developer-tools/components/ApiReferenceToolbarTitle.vue.script.js.map +1 -1
- package/dist/features/developer-tools/components/DeployApiReference.vue.script.js +1 -1
- package/dist/features/developer-tools/components/DeployApiReference.vue.script.js.map +1 -1
- package/dist/features/developer-tools/components/ModifyConfiguration.vue.script.js +2 -2
- package/dist/features/developer-tools/components/ModifyConfiguration.vue.script.js.map +1 -1
- package/dist/features/developer-tools/components/ShareApiReference.vue.script.js +1 -1
- package/dist/features/developer-tools/components/ShareApiReference.vue.script.js.map +1 -1
- package/dist/features/example-responses/ExampleResponse.vue.js +1 -1
- package/dist/features/example-responses/ExampleResponse.vue.script.js +1 -1
- package/dist/features/example-responses/ExampleResponse.vue.script.js.map +1 -1
- package/dist/features/example-responses/ExampleResponseTab.vue.js +1 -1
- package/dist/features/example-responses/ExampleResponseTab.vue.script.js +1 -1
- package/dist/features/example-responses/ExampleResponseTab.vue.script.js.map +1 -1
- package/dist/features/example-responses/ExampleResponseTabList.vue.d.ts.map +1 -1
- package/dist/features/example-responses/ExampleResponseTabList.vue.js +1 -1
- package/dist/features/example-responses/ExampleResponseTabList.vue.script.js +1 -1
- package/dist/features/example-responses/ExampleResponseTabList.vue.script.js.map +1 -1
- package/dist/features/example-responses/ExampleResponses.vue.d.ts.map +1 -1
- package/dist/features/example-responses/ExampleResponses.vue.js +1 -1
- package/dist/features/example-responses/ExampleResponses.vue.script.js +1 -1
- package/dist/features/example-responses/ExampleResponses.vue.script.js.map +1 -1
- package/dist/features/example-responses/ExampleSchema.vue.script.js +1 -1
- package/dist/features/example-responses/ExampleSchema.vue.script.js.map +1 -1
- package/dist/features/example-responses/helpers/has-response-content.js.map +1 -1
- package/dist/features/example-responses/helpers/normalize-mime-type-object.js.map +1 -1
- package/dist/features/example-responses/helpers/normalize-mime-type.js.map +1 -1
- package/dist/features/external-docs/ExternalDocs.vue.d.ts.map +1 -1
- package/dist/features/external-docs/ExternalDocs.vue.js.map +1 -1
- package/dist/features/external-docs/ExternalDocs.vue.script.js +25 -13
- package/dist/features/external-docs/ExternalDocs.vue.script.js.map +1 -1
- package/dist/features/info-object/Contact.vue.d.ts.map +1 -1
- package/dist/features/info-object/Contact.vue.js.map +1 -1
- package/dist/features/info-object/Contact.vue.script.js +10 -4
- package/dist/features/info-object/Contact.vue.script.js.map +1 -1
- package/dist/features/info-object/InfoLink.vue.d.ts.map +1 -1
- package/dist/features/info-object/InfoLink.vue.js.map +1 -1
- package/dist/features/info-object/InfoLink.vue.script.js +17 -5
- package/dist/features/info-object/InfoLink.vue.script.js.map +1 -1
- package/dist/features/info-object/License.vue.d.ts.map +1 -1
- package/dist/features/info-object/License.vue.js.map +1 -1
- package/dist/features/info-object/License.vue.script.js +11 -5
- package/dist/features/info-object/License.vue.script.js.map +1 -1
- package/dist/features/info-object/TermsOfService.vue.d.ts.map +1 -1
- package/dist/features/info-object/TermsOfService.vue.js.map +1 -1
- package/dist/features/info-object/TermsOfService.vue.script.js +10 -4
- package/dist/features/info-object/TermsOfService.vue.script.js.map +1 -1
- package/dist/features/localization/locales/ar.js.map +1 -1
- package/dist/features/localization/locales/de.js.map +1 -1
- package/dist/features/localization/locales/en.js.map +1 -1
- package/dist/features/localization/locales/es.js.map +1 -1
- package/dist/features/localization/locales/fr.js.map +1 -1
- package/dist/features/localization/locales/pt.d.ts +229 -0
- package/dist/features/localization/locales/pt.d.ts.map +1 -0
- package/dist/features/localization/locales/pt.js +227 -0
- package/dist/features/localization/locales/pt.js.map +1 -0
- package/dist/features/localization/locales/ru.js.map +1 -1
- package/dist/features/localization/locales/zh-cn.js.map +1 -1
- package/dist/features/localization/translations.d.ts +228 -0
- package/dist/features/localization/translations.d.ts.map +1 -1
- package/dist/features/localization/translations.js +4 -2
- package/dist/features/localization/translations.js.map +1 -1
- package/dist/features/localization/use-localization.js.map +1 -1
- package/dist/features/multiple-documents/DocumentSelector.vue.d.ts.map +1 -1
- package/dist/features/multiple-documents/DocumentSelector.vue.script.js +1 -1
- package/dist/features/multiple-documents/DocumentSelector.vue.script.js.map +1 -1
- package/dist/features/specification-extension/SpecificationExtension.vue.script.js +1 -1
- package/dist/features/specification-extension/SpecificationExtension.vue.script.js.map +1 -1
- package/dist/features/specification-extension/helpers.js.map +1 -1
- package/dist/features/test-request-button/TestRequestButton.vue.js +1 -1
- package/dist/features/test-request-button/TestRequestButton.vue.script.js +1 -1
- package/dist/features/test-request-button/TestRequestButton.vue.script.js.map +1 -1
- package/dist/features/x-badges/XBadges.vue.d.ts.map +1 -1
- package/dist/features/x-badges/XBadges.vue.script.js +1 -1
- package/dist/features/x-badges/XBadges.vue.script.js.map +1 -1
- package/dist/helpers/build-models-index.d.ts +15 -0
- package/dist/helpers/build-models-index.d.ts.map +1 -0
- package/dist/helpers/build-models-index.js +28 -0
- package/dist/helpers/build-models-index.js.map +1 -0
- package/dist/helpers/color-mode.js.map +1 -1
- package/dist/helpers/download.js.map +1 -1
- package/dist/helpers/get-async-api-message-payload-schema.js.map +1 -1
- package/dist/helpers/get-async-api-model-schema.js.map +1 -1
- package/dist/helpers/id-routing.d.ts +18 -4
- package/dist/helpers/id-routing.d.ts.map +1 -1
- package/dist/helpers/id-routing.js +67 -20
- package/dist/helpers/id-routing.js.map +1 -1
- package/dist/helpers/is-introduction-entry.js.map +1 -1
- package/dist/helpers/lazy-bus.js.map +1 -1
- package/dist/helpers/load-from-perssistance.js.map +1 -1
- package/dist/helpers/map-config-plugins.js.map +1 -1
- package/dist/helpers/map-config-to-workspace-store.js.map +1 -1
- package/dist/helpers/normalize-configurations.js +1 -1
- package/dist/helpers/normalize-configurations.js.map +1 -1
- package/dist/helpers/openapi.d.ts +6 -1
- package/dist/helpers/openapi.d.ts.map +1 -1
- package/dist/helpers/openapi.js +37 -6
- package/dist/helpers/openapi.js.map +1 -1
- package/dist/helpers/safe-deep-clone.js.map +1 -1
- package/dist/helpers/storage.d.ts +16 -0
- package/dist/helpers/storage.d.ts.map +1 -1
- package/dist/helpers/storage.js +14 -0
- package/dist/helpers/storage.js.map +1 -1
- package/dist/helpers/upload-temp-document.js.map +1 -1
- package/dist/hooks/use-agent.js.map +1 -1
- package/dist/hooks/use-intersection.js.map +1 -1
- package/dist/plugins/hooks/usePluginManager.js.map +1 -1
- package/dist/plugins/persistence-plugin.js +6 -1
- package/dist/plugins/persistence-plugin.js.map +1 -1
- package/dist/plugins/plugin-manager.js +35 -0
- package/dist/plugins/plugin-manager.js.map +1 -1
- package/dist/plugins/posthog/index.js.map +1 -1
- package/dist/standalone/lib/html-api.js.map +1 -1
- package/dist/standalone/lib/load-plugins-from-urls.js.map +1 -1
- package/dist/style.css +1419 -1316
- package/dist/vue-styles.css +918 -831
- package/package.json +27 -27
- package/dist/browser/chunks/AgentScalarChatInterface-C8lX3RCo.js +0 -27
- package/dist/browser/chunks/ScalarTextInput.vue-Xf60Nwf-.js +0 -27
- package/dist/browser/chunks/browser-67K6wmG9.js +0 -129
- package/dist/browser/chunks/modal-B8Opb61-.js +0 -15
- package/dist/browser/chunks/modal-Dcl-Y2Zk.js +0 -99
- package/dist/browser/chunks/runtime-core.esm-bundler-Byrbbu5Q.js +0 -17
- package/dist/browser/chunks/vendor-CBP43oHJ.js +0 -306
- package/dist/features/Operation/helpers/should-ignore-entity.d.ts +0 -8
- package/dist/features/Operation/helpers/should-ignore-entity.d.ts.map +0 -1
- package/dist/features/Operation/helpers/should-ignore-entity.js +0 -9
- package/dist/features/Operation/helpers/should-ignore-entity.js.map +0 -1
|
@@ -0,0 +1,306 @@
|
|
|
1
|
+
import{a as e,i as t,o as n,r,s as i}from"./browser-CTPPEMEL.js";import{$ as a,A as o,At as s,B as c,Bt as l,C as u,Ct as d,D as f,Dt as p,Et as m,F as h,Ft as g,G as _,Gt as v,H as y,Ht as b,It as ee,J as te,Jt as x,K as S,Kt as ne,L as re,Lt as ie,Mt as ae,Nt as oe,Ot as C,P as se,Pt as w,Q as ce,R as le,Rt as ue,S as T,T as de,Tt as E,U as fe,Ut as pe,Vt as me,W as he,Wt as ge,X as _e,Y as ve,Yt as ye,Z as be,Zt as xe,_ as Se,_t as Ce,a as we,at as D,b as O,bt as Te,c as Ee,d as k,et as De,f as A,ft as Oe,g as ke,gt as j,h as Ae,ht as je,i as Me,j as Ne,jt as Pe,k as Fe,kt as Ie,l as M,lt as Le,m as Re,mt as ze,n as Be,nt as Ve,o as He,ot as Ue,p as N,pt as We,q as eee,qt as Ge,s as Ke,st as qe,t as Je,tt as Ye,u as P,v as Xe,vt as Ze,w as Qe,xt as $e,y as F,yt as et,zt as tt}from"./runtime-core.esm-bundler-CqqEw5ds.js";import{t as nt}from"./interface-content-folder.svg-CThTWsJX.js";var rt=`Models`,it=e=>!!(!Array.isArray(e)&&e&&`sources`in e&&Array.isArray(e.sources)),at=e=>({type:`number`,default:e?.default,typeName:e?.typeName,typeComment:e?.typeComment}),I=e=>({type:`string`,default:e?.default,typeName:e?.typeName,typeComment:e?.typeComment}),ot=e=>({type:`boolean`,default:e?.default,typeName:e?.typeName,typeComment:e?.typeComment}),st=e=>({type:`nullable`,typeName:e?.typeName,typeComment:e?.typeComment}),ct=e=>({type:`any`,typeName:e?.typeName,typeComment:e?.typeComment}),lt=e=>({type:`unknown`,typeName:e?.typeName,typeComment:e?.typeComment}),ut=e=>({type:`function`,typeName:e?.typeName,typeComment:e?.typeComment}),dt=(e,t)=>({type:`array`,items:e,typeName:t?.typeName,typeComment:t?.typeComment}),ft=(e,t,n)=>({type:`record`,key:e,value:t,typeName:n?.typeName,typeComment:n?.typeComment}),pt=(e,t)=>({type:`object`,properties:e,typeName:t?.typeName,typeComment:t?.typeComment}),mt=(e,t)=>({type:`union`,schemas:e,typeName:t?.typeName,typeComment:t?.typeComment}),ht=(e,t)=>({type:`intersection`,schemas:e,typeName:t?.typeName,typeComment:t?.typeComment}),L=(e,t)=>({type:`optional`,schema:e,typeName:t?.typeName,typeComment:t?.typeComment}),gt=e=>({type:`literal`,value:e}),_t=e=>({type:`lazy`,schema:e}),tee=(e,t)=>({type:`evaluate`,expression:e,schema:t}),vt=void 0,yt=typeof window<`u`&&window.trustedTypes;if(yt)try{vt=yt.createPolicy(`vue`,{createHTML:e=>e})}catch{}var bt=vt?e=>vt.createHTML(e):e=>e,xt=`http://www.w3.org/2000/svg`,St=`http://www.w3.org/1998/Math/MathML`,Ct=typeof document<`u`?document:null,wt=Ct&&Ct.createElement(`template`),Tt={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{let i=t===`svg`?Ct.createElementNS(xt,e):t===`mathml`?Ct.createElementNS(St,e):n?Ct.createElement(e,{is:n}):Ct.createElement(e);return e===`select`&&r&&r.multiple!=null&&i.setAttribute(`multiple`,r.multiple),i},createText:e=>Ct.createTextNode(e),createComment:e=>Ct.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ct.querySelector(e),setScopeId(e,t){e.setAttribute(t,``)},insertStaticContent(e,t,n,r,i,a){let o=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===a||!(i=i.nextSibling)););else{wt.innerHTML=bt(r===`svg`?`<svg>${e}</svg>`:r===`mathml`?`<math>${e}</math>`:e);let i=wt.content;if(r===`svg`||r===`mathml`){let e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Et=`transition`,Dt=`animation`,Ot=Symbol(`_vtc`),kt={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},At=Ie({},Be,kt),jt=(e=>(e.displayName=`Transition`,e.props=At,e))((e,{slots:t})=>de(Je,nee(e),t)),Mt=(e,t=[])=>{oe(e)?e.forEach(e=>e(...t)):e&&e(...t)},Nt=e=>e?oe(e)?e.some(e=>e.length>1):e.length>1:!1;function nee(e){let t={};for(let n in e)n in kt||(t[n]=e[n]);if(e.css===!1)return t;let{name:n=`v`,type:r,duration:i,enterFromClass:a=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:c=a,appearActiveClass:l=o,appearToClass:u=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,m=ree(i),h=m&&m[0],g=m&&m[1],{onBeforeEnter:_,onEnter:v,onEnterCancelled:y,onLeave:b,onLeaveCancelled:ee,onBeforeAppear:te=_,onAppear:x=v,onAppearCancelled:S=y}=t,ne=(e,t,n,r)=>{e._enterCancelled=r,It(e,t?u:s),It(e,t?l:o),n&&n()},re=(e,t)=>{e._isLeaving=!1,It(e,d),It(e,p),It(e,f),t&&t()},ie=e=>(t,n)=>{let i=e?x:v,o=()=>ne(t,e,n);Mt(i,[t,o]),Lt(()=>{It(t,e?c:a),Ft(t,e?u:s),Nt(i)||zt(t,r,h,o)})};return Ie(t,{onBeforeEnter(e){Mt(_,[e]),Ft(e,a),Ft(e,o)},onBeforeAppear(e){Mt(te,[e]),Ft(e,c),Ft(e,l)},onEnter:ie(!1),onAppear:ie(!0),onLeave(e,t){e._isLeaving=!0;let n=()=>re(e,t);Ft(e,d),e._enterCancelled?(Ft(e,f),Ut(e)):(Ut(e),Ft(e,f)),Lt(()=>{e._isLeaving&&(It(e,d),Ft(e,p),Nt(b)||zt(e,r,g,n))}),Mt(b,[e,n])},onEnterCancelled(e){ne(e,!1,void 0,!0),Mt(y,[e])},onAppearCancelled(e){ne(e,!0,void 0,!0),Mt(S,[e])},onLeaveCancelled(e){re(e),Mt(ee,[e])}})}function ree(e){if(e==null)return null;if(ee(e))return[Pt(e.enter),Pt(e.leave)];{let t=Pt(e);return[t,t]}}function Pt(e){return xe(e)}function Ft(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e[Ot]||(e[Ot]=new Set)).add(t)}function It(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));let n=e[Ot];n&&(n.delete(t),n.size||(e[Ot]=void 0))}function Lt(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}var Rt=0;function zt(e,t,n,r){let i=e._endId=++Rt,a=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(a,n);let{type:o,timeout:s,propCount:c}=Bt(e,t);if(!o)return r();let l=o+`end`,u=0,d=()=>{e.removeEventListener(l,f),a()},f=t=>{t.target===e&&++u>=c&&d()};setTimeout(()=>{u<c&&d()},s+1),e.addEventListener(l,f)}function Bt(e,t){let n=window.getComputedStyle(e),r=e=>(n[e]||``).split(`, `),i=r(`${Et}Delay`),a=r(`${Et}Duration`),o=Vt(i,a),s=r(`${Dt}Delay`),c=r(`${Dt}Duration`),l=Vt(s,c),u=null,d=0,f=0;t===Et?o>0&&(u=Et,d=o,f=a.length):t===Dt?l>0&&(u=Dt,d=l,f=c.length):(d=Math.max(o,l),u=d>0?o>l?Et:Dt:null,f=u?u===Et?a.length:c.length:0);let p=u===Et&&/\b(?:transform|all)(?:,|$)/.test(r(`${Et}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}function Vt(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((t,n)=>Ht(t)+Ht(e[n])))}function Ht(e){return e===`auto`?0:Number(e.slice(0,-1).replace(`,`,`.`))*1e3}function Ut(e){return(e?e.ownerDocument:document).body.offsetHeight}function Wt(e,t,n){let r=e[Ot];r&&(t=(t?[t,...r]:[...r]).join(` `)),t==null?e.removeAttribute(`class`):n?e.setAttribute(`class`,t):e.className=t}var Gt=Symbol(`_vod`),Kt=Symbol(`_vsh`),qt={name:`show`,beforeMount(e,{value:t},{transition:n}){e[Gt]=e.style.display===`none`?``:e.style.display,n&&t?n.beforeEnter(e):Jt(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Jt(e,!0),r.enter(e)):r.leave(e,()=>{Jt(e,!1)}):Jt(e,t))},beforeUnmount(e,{value:t}){Jt(e,t)}};function Jt(e,t){e.style.display=t?e[Gt]:`none`,e[Kt]=!t}var Yt=Symbol(``);function Xt(e){let t=u();if(!t)return;let n=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(e=>Qt(e,n))},r=()=>{let r=e(t.proxy);t.ce?Qt(t.ce,r):Zt(t.subTree,r),n(r)};h(()=>{he(r)}),le(()=>{Ye(r,m,{flush:`post`});let e=new MutationObserver(r);e.observe(t.subTree.el.parentNode,{childList:!0}),c(()=>e.disconnect())})}function Zt(e,t){if(e.shapeFlag&128){let n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Zt(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Qt(e.el,t);else if(e.type===Me)e.children.forEach(e=>Zt(e,t));else if(e.type===we){let{el:n,anchor:r}=e;for(;n&&(Qt(n,t),n!==r);)n=n.nextSibling}}function Qt(e,t){if(e.nodeType===1){let n=e.style,r=``;for(let e in t){let i=ne(t[e]);n.setProperty(`--${e}`,i),r+=`--${e}: ${i};`}n[Yt]=r}}var $t=/(?:^|;)\s*display\s*:/;function iee(e,t,n){let r=e.style,i=l(n),a=!1;if(n&&!i){if(t)if(l(t))for(let e of t.split(`;`)){let t=e.slice(0,e.indexOf(`:`)).trim();n[t]??tn(r,t,``)}else for(let e in t)n[e]??tn(r,e,``);for(let i in n){i===`display`&&(a=!0);let o=n[i];o==null?tn(r,i,``):an(e,i,!l(t)&&t?t[i]:void 0,o)||tn(r,i,o)}}else if(i){if(t!==n){let e=r[Yt];e&&(n+=`;`+e),r.cssText=n,a=$t.test(n)}}else t&&e.removeAttribute(`style`);Gt in e&&(e[Gt]=a?r.display:``,e[Kt]&&(r.display=`none`))}var en=/\s*!important$/;function tn(e,t,n){if(oe(n))n.forEach(n=>tn(e,t,n));else if(n??=``,t.startsWith(`--`))e.setProperty(t,n);else{let r=aee(e,t);en.test(n)?e.setProperty(s(r),n.replace(en,``),`important`):e[r]=n}}var nn=[`Webkit`,`Moz`,`ms`],rn={};function aee(e,t){let n=rn[t];if(n)return n;let r=p(t);if(r!==`filter`&&r in e)return rn[t]=r;r=C(r);for(let n=0;n<nn.length;n++){let i=nn[n]+r;if(i in e)return rn[t]=i}return t}function an(e,t,n,r){return e.tagName===`TEXTAREA`&&(t===`width`||t===`height`)&&l(r)&&n===r}var on=`http://www.w3.org/1999/xlink`;function sn(e,t,n,r,i,a=tt(t)){r&&t.startsWith(`xlink:`)?n==null?e.removeAttributeNS(on,t.slice(6,t.length)):e.setAttributeNS(on,t,n):n==null||a&&!Pe(n)?e.removeAttribute(t):e.setAttribute(t,a?``:me(n)?String(n):n)}function cn(e,t,n,r,i){if(t===`innerHTML`||t===`textContent`){n!=null&&(e[t]=t===`innerHTML`?bt(n):n);return}let a=e.tagName;if(t===`value`&&a!==`PROGRESS`&&!a.includes(`-`)){let r=a===`OPTION`?e.getAttribute(`value`)||``:e.value,i=n==null?e.type===`checkbox`?`on`:``:String(n);(r!==i||!(`_value`in e))&&(e.value=i),n??e.removeAttribute(t),e._value=n;return}let o=!1;if(n===``||n==null){let r=typeof e[t];r===`boolean`?n=Pe(n):n==null&&r===`string`?(n=``,o=!0):r===`number`&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(i||t)}function ln(e,t,n,r){e.addEventListener(t,n,r)}function un(e,t,n,r){e.removeEventListener(t,n,r)}var dn=Symbol(`_vei`);function fn(e,t,n,r,i=null){let a=e[dn]||(e[dn]={}),o=a[t];if(r&&o)o.value=r;else{let[n,s]=hn(t);r?ln(e,n,a[t]=yn(r,i),s):o&&(un(e,n,o,s),a[t]=void 0)}}var pn=/(Once|Passive|Capture)$/,mn=/^on:?(?:Once|Passive|Capture)$/;function hn(e){let t,n;for(;(n=e.match(pn))&&!mn.test(e);)t||={},e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===`:`?e.slice(3):s(e.slice(2)),t]}var gn=0,_n=Promise.resolve(),vn=()=>gn||=(_n.then(()=>gn=0),Date.now());function yn(e,t){let n=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=n.attached)return;let r=n.value;if(oe(r)){let n=e.stopImmediatePropagation;e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0};let i=r.slice(),a=[e];for(let n=0;n<i.length&&!e._stopped;n++){let e=i[n];e&&Ke(e,t,5,a)}}else Ke(r,t,5,[e])};return n.value=e,n.attached=vn(),n}var bn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,xn=(e,t,n,r,i,a)=>{let o=i===`svg`;t===`class`?Wt(e,r,o):t===`style`?iee(e,n,r):ie(t)?g(t)||fn(e,t,n,r,a):(t[0]===`.`?(t=t.slice(1),!0):t[0]===`^`?(t=t.slice(1),!1):Sn(e,t,r,o))?(cn(e,t,r),!e.tagName.includes(`-`)&&(t===`value`||t===`checked`||t===`selected`)&&sn(e,t,r,o,a,t!==`value`)):e._isVueCE&&(Cn(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!l(r)))?cn(e,p(t),r,a,t):(t===`true-value`?e._trueValue=r:t===`false-value`&&(e._falseValue=r),sn(e,t,r,o))};function Sn(e,t,n,r){if(r)return!!(t===`innerHTML`||t===`textContent`||t in e&&bn(t)&&w(n));if(t===`spellcheck`||t===`draggable`||t===`translate`||t===`autocorrect`||t===`sandbox`&&e.tagName===`IFRAME`||t===`form`||t===`list`&&e.tagName===`INPUT`||t===`type`&&e.tagName===`TEXTAREA`)return!1;if(t===`width`||t===`height`){let t=e.tagName;if(t===`IMG`||t===`VIDEO`||t===`CANVAS`||t===`SOURCE`)return!1}return bn(t)&&l(n)?!1:t in e}function Cn(e,t){let n=e._def.props;if(!n)return!1;let r=p(t);return Array.isArray(n)?n.some(e=>p(e)===r):Object.keys(n).some(e=>p(e)===r)}var wn=e=>{let t=e.props[`onUpdate:modelValue`]||!1;return oe(t)?e=>ae(t,e):t};function Tn(e){e.target.composing=!0}function En(e){let t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event(`input`)))}var Dn=Symbol(`_assign`);function On(e,t,n){return t&&(e=e.trim()),n&&(e=ge(e)),e}var kn={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[Dn]=wn(i);let a=r||i.props&&i.props.type===`number`;ln(e,t?`change`:`input`,t=>{t.target.composing||e[Dn](On(e.value,n,a))}),(n||a)&&ln(e,`change`,()=>{e.value=On(e.value,n,a)}),t||(ln(e,`compositionstart`,Tn),ln(e,`compositionend`,En),ln(e,`change`,En))},mounted(e,{value:t}){e.value=t??``},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:a}},o){if(e[Dn]=wn(o),e.composing)return;let s=(a||e.type===`number`)&&!/^0\d/.test(e.value)?ge(e.value):e.value,c=t??``;if(s===c)return;let l=e.getRootNode();(l instanceof Document||l instanceof ShadowRoot)&&l.activeElement===e&&e.type!==`range`&&(r&&t===n||i&&e.value.trim()===c)||(e.value=c)}},An={deep:!0,created(e,t,n){e[Dn]=wn(n),ln(e,`change`,()=>{let t=e._modelValue,n=Fn(e),r=e.checked,i=e[Dn];if(oe(t)){let e=pe(t,n),a=e!==-1;if(r&&!a)i(t.concat(n));else if(!r&&a){let n=[...t];n.splice(e,1),i(n)}}else if(ue(t)){let e=new Set(t);r?e.add(n):e.delete(n),i(e)}else i(In(e,r))})},mounted:jn,beforeUpdate(e,t,n){e[Dn]=wn(n),jn(e,t,n)}};function jn(e,{value:t,oldValue:n},r){e._modelValue=t;let i;if(oe(t))i=pe(t,r.props.value)>-1;else if(ue(t))i=t.has(r.props.value);else{if(t===n)return;i=b(t,In(e,!0))}e.checked!==i&&(e.checked=i)}var Mn={created(e,{value:t},n){e.checked=b(t,n.props.value),e[Dn]=wn(n),ln(e,`change`,()=>{e[Dn](Fn(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Dn]=wn(r),t!==n&&(e.checked=b(t,r.props.value))}},Nn={deep:!0,created(e,{value:t,modifiers:{number:n}},r){e._modelValue=t,ln(e,`change`,()=>{let t=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>n?ge(Fn(e)):Fn(e));e[Dn](e.multiple?ue(e._modelValue)?new Set(t):t:t[0]),e._assigning=!0,Ne(()=>{e._assigning=!1})}),e[Dn]=wn(r)},mounted(e,{value:t}){Pn(e,t)},beforeUpdate(e,{value:t},n){e._modelValue=t,e[Dn]=wn(n)},updated(e,{value:t}){e._assigning||Pn(e,t)}};function Pn(e,t){let n=e.multiple,r=oe(t);if(!(n&&!r&&!ue(t))){for(let i=0,a=e.options.length;i<a;i++){let a=e.options[i],o=Fn(a);if(n)if(r){let e=typeof o;e===`string`||e===`number`?a.selected=t.some(e=>String(e)===String(o)):a.selected=pe(t,o)>-1}else a.selected=t.has(o);else if(b(Fn(a),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Fn(e){return`_value`in e?e._value:e.value}function In(e,t){let n=t?`_trueValue`:`_falseValue`;return n in e?e[n]:t}var Ln={created(e,t,n){zn(e,t,n,null,`created`)},mounted(e,t,n){zn(e,t,n,null,`mounted`)},beforeUpdate(e,t,n,r){zn(e,t,n,r,`beforeUpdate`)},updated(e,t,n,r){zn(e,t,n,r,`updated`)}};function Rn(e,t){switch(e){case`SELECT`:return Nn;case`TEXTAREA`:return kn;default:switch(t){case`checkbox`:return An;case`radio`:return Mn;default:return kn}}}function zn(e,t,n,r,i){let a=Rn(e.tagName,n.props&&n.props.type)[i];a&&a(e,t,n,r)}var oee=[`ctrl`,`shift`,`alt`,`meta`],see={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>`button`in e&&e.button!==0,middle:e=>`button`in e&&e.button!==1,right:e=>`button`in e&&e.button!==2,exact:(e,t)=>oee.some(n=>e[`${n}Key`]&&!t.includes(n))},Bn=(e,t)=>{if(!e)return e;let n=e._withMods||={},r=t.join(`.`);return n[r]||(n[r]=((n,...r)=>{for(let e=0;e<t.length;e++){let r=see[t[e]];if(r&&r(n,t))return}return e(n,...r)}))},cee={esc:`escape`,space:` `,up:`arrow-up`,left:`arrow-left`,right:`arrow-right`,down:`arrow-down`,delete:`backspace`},Vn=(e,t)=>{let n=e._withKeys||={},r=t.join(`.`);return n[r]||(n[r]=(n=>{if(!(`key`in n))return;let r=s(n.key);if(t.some(e=>e===r||cee[e]===r))return e(n)}))},Hn=Ie({patchProp:xn},Tt),Un,Wn=!1;function Gn(){return Un||=ke(Hn)}function lee(){return Un=Wn?Un:Re(Hn),Wn=!0,Un}var Kn=((...e)=>{Gn().render(...e)}),qn=((...e)=>{let t=Gn().createApp(...e),{mount:n}=t;return t.mount=e=>{let r=Xn(e);if(!r)return;let i=t._component;!w(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent=``);let a=n(r,!1,Yn(r));return r instanceof Element&&(r.removeAttribute(`v-cloak`),r.setAttribute(`data-v-app`,``)),a},t}),Jn=((...e)=>{let t=lee().createApp(...e),{mount:n}=t;return t.mount=e=>{let t=Xn(e);if(t)return n(t,!0,Yn(t))},t});function Yn(e){if(e instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&e instanceof MathMLElement)return`mathml`}function Xn(e){return l(e)?document.querySelector(e):e}function Zn(e,t,n){let r=j(n?.value),i=M(()=>e.value!==void 0);return[M(()=>i.value?e.value:r.value),function(e){return i.value||(r.value=e),t?.(e)}]}function Qn(e){typeof queueMicrotask==`function`?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}function $n(){let e=[],t={addEventListener(e,n,r,i){return e.addEventListener(n,r,i),t.add(()=>e.removeEventListener(n,r,i))},requestAnimationFrame(...e){let n=requestAnimationFrame(...e);t.add(()=>cancelAnimationFrame(n))},nextFrame(...e){t.requestAnimationFrame(()=>{t.requestAnimationFrame(...e)})},setTimeout(...e){let n=setTimeout(...e);t.add(()=>clearTimeout(n))},microTask(...e){let n={current:!0};return Qn(()=>{n.current&&e[0]()}),t.add(()=>{n.current=!1})},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add(()=>{Object.assign(e.style,{[t]:r})})},group(e){let t=$n();return e(t),this.add(()=>t.dispose())},add(t){return e.push(t),()=>{let n=e.indexOf(t);if(n>=0)for(let t of e.splice(n,1))t()}},dispose(){for(let t of e.splice(0))t()}};return t}var er=Symbol(`headlessui.useid`),tr=0,nr=be??function(){return f(er,()=>`${++tr}`)()};function rr(e){fe(er,e)}function R(e){if(e==null||e.value==null)return null;let t=e.value.$el??e.value;return t instanceof Node?t:null}function ir(e,t,...n){if(e in t){let r=t[e];return typeof r==`function`?r(...n):r}let r=Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(e=>`"${e}"`).join(`, `)}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,ir),r}var ar=Object.defineProperty,or=(e,t,n)=>t in e?ar(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,sr=(e,t,n)=>(or(e,typeof t==`symbol`?t:t+``,n),n),cr=new class{constructor(){sr(this,`current`,this.detect()),sr(this,`currentId`,0)}set(e){this.current!==e&&(this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current===`server`}get isClient(){return this.current===`client`}detect(){return typeof window>`u`||typeof document>`u`?`server`:`client`}};function lr(e){if(cr.isServer)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty(`value`)){let t=R(e);if(t)return t.ownerDocument}return document}var ur=[`[contentEditable=true]`,`[tabindex]`,`a[href]`,`area[href]`,`button:not([disabled])`,`iframe`,`input:not([disabled])`,`select:not([disabled])`,`textarea:not([disabled])`].map(e=>`${e}:not([tabindex='-1'])`).join(`,`),dr=(e=>(e[e.First=1]=`First`,e[e.Previous=2]=`Previous`,e[e.Next=4]=`Next`,e[e.Last=8]=`Last`,e[e.WrapAround=16]=`WrapAround`,e[e.NoScroll=32]=`NoScroll`,e))(dr||{}),fr=(e=>(e[e.Error=0]=`Error`,e[e.Overflow=1]=`Overflow`,e[e.Success=2]=`Success`,e[e.Underflow=3]=`Underflow`,e))(fr||{}),pr=(e=>(e[e.Previous=-1]=`Previous`,e[e.Next=1]=`Next`,e))(pr||{});function mr(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(ur)).sort((e,t)=>Math.sign((e.tabIndex||2**53-1)-(t.tabIndex||2**53-1)))}var hr=(e=>(e[e.Strict=0]=`Strict`,e[e.Loose=1]=`Loose`,e))(hr||{});function gr(e,t=0){return e!==lr(e)?.body&&ir(t,{0(){return e.matches(ur)},1(){let t=e;for(;t!==null;){if(t.matches(ur))return!0;t=t.parentElement}return!1}})}function _r(e){let t=lr(e);Ne(()=>{t&&!gr(t.activeElement,0)&&yr(e)})}var vr=(e=>(e[e.Keyboard=0]=`Keyboard`,e[e.Mouse=1]=`Mouse`,e))(vr||{});typeof window<`u`&&typeof document<`u`&&(document.addEventListener(`keydown`,e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible=``)},!0),document.addEventListener(`click`,e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible=``)},!0));function yr(e){e?.focus({preventScroll:!0})}var br=[`textarea`,`input`].join(`,`);function xr(e){return(e?.matches)?.call(e,br)??!1}function Sr(e,t=e=>e){return e.slice().sort((e,n)=>{let r=t(e),i=t(n);if(r===null||i===null)return 0;let a=r.compareDocumentPosition(i);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function Cr(e,t){return wr(mr(),t,{relativeTo:e})}function wr(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:i=[]}={}){let a=(Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e?.ownerDocument)??document,o=Array.isArray(e)?n?Sr(e):e:mr(e);i.length>0&&o.length>1&&(o=o.filter(e=>!i.includes(e))),r??=a.activeElement;let s=(()=>{if(t&5)return 1;if(t&10)return-1;throw Error(`Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last`)})(),c=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,o.indexOf(r))-1;if(t&4)return Math.max(0,o.indexOf(r))+1;if(t&8)return o.length-1;throw Error(`Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last`)})(),l=t&32?{preventScroll:!0}:{},u=0,d=o.length,f;do{if(u>=d||u+d<=0)return 0;let e=c+u;if(t&16)e=(e+d)%d;else{if(e<0)return 3;if(e>=d)return 1}f=o[e],f?.focus(l),u+=s}while(f!==a.activeElement);return t&6&&xr(f)&&f.select(),2}function Tr(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function Er(){return/Android/gi.test(window.navigator.userAgent)}function Dr(){return Tr()||Er()}function Or(e,t,n){cr.isServer||Ve(r=>{document.addEventListener(e,t,n),r(()=>document.removeEventListener(e,t,n))})}function kr(e,t,n){cr.isServer||Ve(r=>{window.addEventListener(e,t,n),r(()=>window.removeEventListener(e,t,n))})}function Ar(e,t,n=M(()=>!0)){function r(r,i){if(!n.value||r.defaultPrevented)return;let a=i(r);if(a===null||!a.getRootNode().contains(a))return;let o=function e(t){return typeof t==`function`?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e);for(let e of o){if(e===null)continue;let t=e instanceof HTMLElement?e:R(e);if(t!=null&&t.contains(a)||r.composed&&r.composedPath().includes(t))return}return!gr(a,hr.Loose)&&a.tabIndex!==-1&&r.preventDefault(),t(r,a)}let i=j(null);Or(`pointerdown`,e=>{n.value&&(i.value=e.composedPath?.call(e)?.[0]||e.target)},!0),Or(`mousedown`,e=>{n.value&&(i.value=e.composedPath?.call(e)?.[0]||e.target)},!0),Or(`click`,e=>{Dr()||(i.value&&=(r(e,()=>i.value),null))},!0),Or(`touchend`,e=>r(e,()=>e.target instanceof HTMLElement?e.target:null),!0),kr(`blur`,e=>r(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function jr(e,t){if(e)return e;let n=t??`button`;if(typeof n==`string`&&n.toLowerCase()===`button`)return`button`}function Mr(e,t){let n=j(jr(e.value.type,e.value.as));return le(()=>{n.value=jr(e.value.type,e.value.as)}),Ve(()=>{var e;n.value||R(t)&&R(t)instanceof HTMLButtonElement&&!((e=R(t))!=null&&e.hasAttribute(`type`))&&(n.value=`button`)}),n}function Nr(e){return[e.screenX,e.screenY]}function Pr(){let e=j([-1,-1]);return{wasMoved(t){let n=Nr(t);return e.value[0]===n[0]&&e.value[1]===n[1]?!1:(e.value=n,!0)},update(t){e.value=Nr(t)}}}var Fr=(e=>(e[e.None=0]=`None`,e[e.RenderStrategy=1]=`RenderStrategy`,e[e.Static=2]=`Static`,e))(Fr||{}),Ir=(e=>(e[e.Unmount=0]=`Unmount`,e[e.Hidden=1]=`Hidden`,e))(Ir||{});function Lr({visible:e=!0,features:t=0,ourProps:n,theirProps:r,...i}){var a;let o=Br(r,n),s=Object.assign(i,{props:o});return e||t&2&&o.static?Rr(s):t&1?ir((a=o.unmount)==null||a?0:1,{0(){return null},1(){return Rr({...i,props:{...o,hidden:!0,style:{display:`none`}}})}}):Rr(s)}function Rr({props:e,attrs:t,slots:n,slot:r,name:i}){let{as:a,...o}=Hr(e,[`unmount`,`static`]),s=n.default?.call(n,r),c={};if(r){let e=!1,t=[];for(let[n,i]of Object.entries(r))typeof i==`boolean`&&(e=!0),i===!0&&t.push(n);e&&(c[`data-headlessui-state`]=t.join(` `))}if(a===`template`){if(s=zr(s??[]),Object.keys(o).length>0||Object.keys(t).length>0){let[e,...n]=s??[];if(!uee(e)||n.length>0)throw Error([`Passing props on "template"!`,``,`The current component <${i} /> is rendering a "template".`,`However we need to passthrough the following props:`,Object.keys(o).concat(Object.keys(t)).map(e=>e.trim()).filter((e,t,n)=>n.indexOf(e)===t).sort((e,t)=>e.localeCompare(t)).map(e=>` - ${e}`).join(`
|
|
2
|
+
`),``,`You can apply a few solutions:`,['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',`Render a single element as the child so that we can forward the props onto that element.`].map(e=>` - ${e}`).join(`
|
|
3
|
+
`)].join(`
|
|
4
|
+
`));let r=Br(e.props??{},o,c),a=Ee(e,r,!0);for(let e in r)e.startsWith(`on`)&&(a.props||={},a.props[e]=r[e]);return a}return Array.isArray(s)&&s.length===1?s[0]:s}return de(a,Object.assign({},o,c),{default:()=>s})}function zr(e){return e.flatMap(e=>e.type===Me?zr(e.children):[e])}function Br(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith(`on`)&&typeof r[e]==`function`?(n[e]??(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t[`aria-disabled`])return Object.assign(t,Object.fromEntries(Object.keys(n).map(e=>[e,void 0])));for(let e in n)Object.assign(t,{[e](t,...r){let i=n[e];for(let e of i){if(t instanceof Event&&t.defaultPrevented)return;e(t,...r)}}});return t}function Vr(e){let t=Object.assign({},e);for(let e in t)t[e]===void 0&&delete t[e];return t}function Hr(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}function uee(e){return e==null?!1:typeof e.type==`string`||typeof e.type==`object`||typeof e.type==`function`}var Ur=(e=>(e[e.None=1]=`None`,e[e.Focusable=2]=`Focusable`,e[e.Hidden=4]=`Hidden`,e))(Ur||{}),Wr=T({name:`Hidden`,props:{as:{type:[Object,String],default:`div`},features:{type:Number,default:1}},setup(e,{slots:t,attrs:n}){return()=>{let{features:r,...i}=e;return Lr({ourProps:{"aria-hidden":(r&2)==2?!0:i[`aria-hidden`]??void 0,hidden:(r&4)==4||void 0,style:{position:`fixed`,top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:`hidden`,clip:`rect(0, 0, 0, 0)`,whiteSpace:`nowrap`,borderWidth:`0`,...(r&4)==4&&(r&2)!=2&&{display:`none`}}},theirProps:i,slot:{},attrs:n,slots:t,name:`Hidden`})}}}),Gr=Symbol(`Context`),Kr=(e=>(e[e.Open=1]=`Open`,e[e.Closed=2]=`Closed`,e[e.Closing=4]=`Closing`,e[e.Opening=8]=`Opening`,e))(Kr||{});function qr(){return f(Gr,null)}function Jr(e){fe(Gr,e)}var Yr=(e=>(e.Space=` `,e.Enter=`Enter`,e.Escape=`Escape`,e.Backspace=`Backspace`,e.Delete=`Delete`,e.ArrowLeft=`ArrowLeft`,e.ArrowUp=`ArrowUp`,e.ArrowRight=`ArrowRight`,e.ArrowDown=`ArrowDown`,e.Home=`Home`,e.End=`End`,e.PageUp=`PageUp`,e.PageDown=`PageDown`,e.Tab=`Tab`,e))(Yr||{});function dee(e){function t(){document.readyState!==`loading`&&(e(),document.removeEventListener(`DOMContentLoaded`,t))}typeof window<`u`&&typeof document<`u`&&(document.addEventListener(`DOMContentLoaded`,t),t())}var Xr=[];dee(()=>{function e(e){e.target instanceof HTMLElement&&e.target!==document.body&&Xr[0]!==e.target&&(Xr.unshift(e.target),Xr=Xr.filter(e=>e!=null&&e.isConnected),Xr.splice(10))}window.addEventListener(`click`,e,{capture:!0}),window.addEventListener(`mousedown`,e,{capture:!0}),window.addEventListener(`focus`,e,{capture:!0}),document.body.addEventListener(`click`,e,{capture:!0}),document.body.addEventListener(`mousedown`,e,{capture:!0}),document.body.addEventListener(`focus`,e,{capture:!0})});function fee(e){throw Error(`Unexpected object: `+e)}var Zr=(e=>(e[e.First=0]=`First`,e[e.Previous=1]=`Previous`,e[e.Next=2]=`Next`,e[e.Last=3]=`Last`,e[e.Specific=4]=`Specific`,e[e.Nothing=5]=`Nothing`,e))(Zr||{});function Qr(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),i=r??-1;switch(e.focus){case 0:for(let e=0;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 1:i===-1&&(i=n.length);for(let e=i-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 2:for(let e=i+1;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 3:for(let e=n.length-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r;case 4:for(let r=0;r<n.length;++r)if(t.resolveId(n[r],r,n)===e.id)return r;return r;case 5:return null;default:fee(e)}}function $r(e={},t=null,n=[]){for(let[r,i]of Object.entries(e))ti(n,ei(t,r),i);return n}function ei(e,t){return e?e+`[`+t+`]`:t}function ti(e,t,n){if(Array.isArray(n))for(let[r,i]of n.entries())ti(e,ei(t,r.toString()),i);else n instanceof Date?e.push([t,n.toISOString()]):typeof n==`boolean`?e.push([t,n?`1`:`0`]):typeof n==`string`?e.push([t,n]):typeof n==`number`?e.push([t,`${n}`]):n==null?e.push([t,``]):$r(n,t,e)}function ni(e,t,n,r){cr.isServer||Ve(i=>{e??=window,e.addEventListener(t,n,r),i(()=>e.removeEventListener(t,n,r))})}var ri=(e=>(e[e.Forwards=0]=`Forwards`,e[e.Backwards=1]=`Backwards`,e))(ri||{});function ii(){let e=j(0);return kr(`keydown`,t=>{t.key===`Tab`&&(e.value=+!!t.shiftKey)}),e}function ai(e){if(!e)return new Set;if(typeof e==`function`)return new Set(e());let t=new Set;for(let n of e.value){let e=R(n);e instanceof HTMLElement&&t.add(e)}return t}var oi=(e=>(e[e.None=1]=`None`,e[e.InitialFocus=2]=`InitialFocus`,e[e.TabLock=4]=`TabLock`,e[e.FocusLock=8]=`FocusLock`,e[e.RestoreFocus=16]=`RestoreFocus`,e[e.All=30]=`All`,e))(oi||{}),si=Object.assign(T({name:`FocusTrap`,props:{as:{type:[Object,String],default:`div`},initialFocus:{type:Object,default:null},features:{type:Number,default:30},containers:{type:[Object,Function],default:j(new Set)}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){let i=j(null);r({el:i,$el:i});let a=M(()=>lr(i)),o=j(!1);le(()=>o.value=!0),c(()=>o.value=!1),li({ownerDocument:a},M(()=>o.value&&!!(e.features&16)));let s=ui({ownerDocument:a,container:i,initialFocus:M(()=>e.initialFocus)},M(()=>o.value&&!!(e.features&2)));di({ownerDocument:a,container:i,containers:e.containers,previousActiveElement:s},M(()=>o.value&&!!(e.features&8)));let l=ii();function u(e){let t=R(i);t&&(e=>e())(()=>{ir(l.value,{[ri.Forwards]:()=>{wr(t,dr.First,{skipElements:[e.relatedTarget]})},[ri.Backwards]:()=>{wr(t,dr.Last,{skipElements:[e.relatedTarget]})}})})}let d=j(!1);function f(e){e.key===`Tab`&&(d.value=!0,requestAnimationFrame(()=>{d.value=!1}))}function p(t){if(!o.value)return;let n=ai(e.containers);R(i)instanceof HTMLElement&&n.add(R(i));let r=t.relatedTarget;r instanceof HTMLElement&&r.dataset.headlessuiFocusGuard!==`true`&&(fi(n,r)||(d.value?wr(R(i),ir(l.value,{[ri.Forwards]:()=>dr.Next,[ri.Backwards]:()=>dr.Previous})|dr.WrapAround,{relativeTo:t.target}):t.target instanceof HTMLElement&&yr(t.target)))}return()=>{let r={},a={ref:i,onKeydown:f,onFocusout:p},{features:o,initialFocus:s,containers:c,...l}=e;return de(Me,[!!(o&4)&&de(Wr,{as:`button`,type:`button`,"data-headlessui-focus-guard":!0,onFocus:u,features:Ur.Focusable}),Lr({ourProps:a,theirProps:{...t,...l},slot:r,attrs:t,slots:n,name:`FocusTrap`}),!!(o&4)&&de(Wr,{as:`button`,type:`button`,"data-headlessui-focus-guard":!0,onFocus:u,features:Ur.Focusable})])}}}),{features:oi});function ci(e){let t=j(Xr.slice());return Ye([e],([e],[n])=>{n===!0&&e===!1?Qn(()=>{t.value.splice(0)}):n===!1&&e===!0&&(t.value=Xr.slice())},{flush:`post`}),()=>t.value.find(e=>e!=null&&e.isConnected)??null}function li({ownerDocument:e},t){let n=ci(t);le(()=>{Ve(()=>{t.value||e.value?.activeElement===e.value?.body&&yr(n())},{flush:`post`})}),c(()=>{t.value&&yr(n())})}function ui({ownerDocument:e,container:t,initialFocus:n},r){let i=j(null),a=j(!1);return le(()=>a.value=!0),c(()=>a.value=!1),le(()=>{Ye([t,n,r],(o,s)=>{if(o.every((e,t)=>s?.[t]===e)||!r.value)return;let c=R(t);c&&Qn(()=>{if(!a.value)return;let t=R(n),r=e.value?.activeElement;if(t){if(t===r){i.value=r;return}}else if(c.contains(r)){i.value=r;return}t?yr(t):wr(c,dr.First|dr.NoScroll)===fr.Error&&console.warn(`There are no focusable elements inside the <FocusTrap />`),i.value=e.value?.activeElement})},{immediate:!0,flush:`post`})}),i}function di({ownerDocument:e,container:t,containers:n,previousActiveElement:r},i){ni(e.value?.defaultView,`focus`,e=>{if(!i.value)return;let a=ai(n);R(t)instanceof HTMLElement&&a.add(R(t));let o=r.value;if(!o)return;let s=e.target;s&&s instanceof HTMLElement?fi(a,s)?(r.value=s,yr(s)):(e.preventDefault(),e.stopPropagation(),yr(o)):yr(r.value)},!0)}function fi(e,t){for(let n of e)if(n.contains(t))return!0;return!1}function pi(e){let t=et(e.getSnapshot());return c(e.subscribe(()=>{t.value=e.getSnapshot()})),t}function mi(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(e){return r.add(e),()=>r.delete(e)},dispatch(e,...i){let a=t[e].call(n,...i);a&&(n=a,r.forEach(e=>e()))}}}function hi(){let e;return{before({doc:t}){let n=t.documentElement;e=(t.defaultView??window).innerWidth-n.clientWidth},after({doc:t,d:n}){let r=t.documentElement,i=r.clientWidth-r.offsetWidth,a=e-i;n.style(r,`paddingRight`,`${a}px`)}}}function gi(){return Tr()?{before({doc:e,d:t,meta:n}){function r(e){return n.containers.flatMap(e=>e()).some(t=>t.contains(e))}t.microTask(()=>{if(window.getComputedStyle(e.documentElement).scrollBehavior!==`auto`){let n=$n();n.style(e.documentElement,`scrollBehavior`,`auto`),t.add(()=>t.microTask(()=>n.dispose()))}let n=window.scrollY??window.pageYOffset,i=null;t.addEventListener(e,`click`,t=>{if(t.target instanceof HTMLElement)try{let n=t.target.closest(`a`);if(!n)return;let{hash:a}=new URL(n.href),o=e.querySelector(a);o&&!r(o)&&(i=o)}catch{}},!0),t.addEventListener(e,`touchstart`,e=>{if(e.target instanceof HTMLElement)if(r(e.target)){let n=e.target;for(;n.parentElement&&r(n.parentElement);)n=n.parentElement;t.style(n,`overscrollBehavior`,`contain`)}else t.style(e.target,`touchAction`,`none`)}),t.addEventListener(e,`touchmove`,e=>{if(e.target instanceof HTMLElement){if(e.target.tagName===`INPUT`)return;if(r(e.target)){let t=e.target;for(;t.parentElement&&t.dataset.headlessuiPortal!==``&&!(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth);)t=t.parentElement;t.dataset.headlessuiPortal===``&&e.preventDefault()}else e.preventDefault()}},{passive:!1}),t.add(()=>{let e=window.scrollY??window.pageYOffset;n!==e&&window.scrollTo(0,n),i&&i.isConnected&&(i.scrollIntoView({block:`nearest`}),i=null)})})}}:{}}function _i(){return{before({doc:e,d:t}){t.style(e.documentElement,`overflow`,`hidden`)}}}function vi(e){let t={};for(let n of e)Object.assign(t,n(t));return t}var yi=mi(()=>new Map,{PUSH(e,t){let n=this.get(e)??{doc:e,count:0,d:$n(),meta:new Set};return n.count++,n.meta.add(t),this.set(e,n),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:vi(n)},i=[gi(),hi(),_i()];i.forEach(({before:e})=>e?.(r)),i.forEach(({after:e})=>e?.(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});yi.subscribe(()=>{let e=yi.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let e=t.get(n.doc)===`hidden`,r=n.count!==0;(r&&!e||!r&&e)&&yi.dispatch(n.count>0?`SCROLL_PREVENT`:`SCROLL_ALLOW`,n),n.count===0&&yi.dispatch(`TEARDOWN`,n)}});function bi(e,t,n){let r=pi(yi),i=M(()=>{let t=e.value?r.value.get(e.value):void 0;return t?t.count>0:!1});return Ye([e,t],([e,t],[r],i)=>{if(!e||!t)return;yi.dispatch(`PUSH`,e,n);let a=!1;i(()=>{a||=(yi.dispatch(`POP`,r??e,n),!0)})},{immediate:!0}),i}var xi=new Map,Si=new Map;function Ci(e,t=j(!0)){Ve(n=>{if(!t.value)return;let r=R(e);if(!r)return;n(function(){if(!r)return;let e=Si.get(r)??1;if(e===1?Si.delete(r):Si.set(r,e-1),e!==1)return;let t=xi.get(r);t&&(t[`aria-hidden`]===null?r.removeAttribute(`aria-hidden`):r.setAttribute(`aria-hidden`,t[`aria-hidden`]),r.inert=t.inert,xi.delete(r))});let i=Si.get(r)??0;Si.set(r,i+1),i===0&&(xi.set(r,{"aria-hidden":r.getAttribute(`aria-hidden`),inert:r.inert}),r.setAttribute(`aria-hidden`,`true`),r.inert=!0)})}function wi({defaultContainers:e=[],portals:t,mainTreeNodeRef:n}={}){let r=j(null),i=lr(r);function a(){let n=[];for(let t of e)t!==null&&(t instanceof HTMLElement?n.push(t):`value`in t&&t.value instanceof HTMLElement&&n.push(t.value));if(t!=null&&t.value)for(let e of t.value)n.push(e);for(let e of i?.querySelectorAll(`html > *, body > *`)??[])e!==document.body&&e!==document.head&&e instanceof HTMLElement&&e.id!==`headlessui-portal-root`&&(e.contains(R(r))||e.contains(R(r)?.getRootNode()?.host)||n.some(t=>e.contains(t))||n.push(e));return n}return{resolveContainers:a,contains(e){return a().some(t=>t.contains(e))},mainTreeNodeRef:r,MainTreeNode(){return n==null?de(Wr,{features:Ur.Hidden,ref:r}):null}}}function Ti(){let e=j(null);return{mainTreeNodeRef:e,MainTreeNode(){return de(Wr,{features:Ur.Hidden,ref:e})}}}var Ei=Symbol(`ForcePortalRootContext`);function Di(){return f(Ei,!1)}var Oi=T({name:`ForcePortalRoot`,props:{as:{type:[Object,String],default:`template`},force:{type:Boolean,default:!1}},setup(e,{slots:t,attrs:n}){return fe(Ei,e.force),()=>{let{force:r,...i}=e;return Lr({theirProps:i,ourProps:{},slot:{},slots:t,attrs:n,name:`ForcePortalRoot`})}}}),ki=Symbol(`StackContext`),Ai=(e=>(e[e.Add=0]=`Add`,e[e.Remove=1]=`Remove`,e))(Ai||{});function ji(){return f(ki,()=>{})}function Mi({type:e,enabled:t,element:n,onUpdate:r}){let i=ji();function a(...e){r?.(...e),i(...e)}le(()=>{Ye(t,(t,r)=>{t?a(0,e,n):r===!0&&a(1,e,n)},{immediate:!0,flush:`sync`})}),c(()=>{t.value&&a(1,e,n)}),fe(ki,a)}var Ni=Symbol(`DescriptionContext`);function Pi(){let e=f(Ni,null);if(e===null)throw Error(`Missing parent`);return e}function Fi({slot:e=j({}),name:t=`Description`,props:n={}}={}){let r=j([]);function i(e){return r.value.push(e),()=>{let t=r.value.indexOf(e);t!==-1&&r.value.splice(t,1)}}return fe(Ni,{register:i,slot:e,name:t,props:n}),M(()=>r.value.length>0?r.value.join(` `):void 0)}T({name:`Description`,props:{as:{type:[Object,String],default:`p`},id:{type:String,default:null}},setup(e,{attrs:t,slots:n}){let r=e.id??`headlessui-description-${nr()}`,i=Pi();return le(()=>c(i.register(r))),()=>{let{name:a=`Description`,slot:o=j({}),props:s={}}=i,{...c}=e;return Lr({ourProps:{...Object.entries(s).reduce((e,[t,n])=>Object.assign(e,{[t]:E(n)}),{}),id:r},theirProps:c,slot:o.value,attrs:t,slots:n,name:a})}}});function Ii(e){let t=lr(e);if(!t){if(e===null)return null;throw Error(`[Headless UI]: Cannot find ownerDocument for contextElement: ${e}`)}let n=t.getElementById(`headlessui-portal-root`);if(n)return n;let r=t.createElement(`div`);return r.setAttribute(`id`,`headlessui-portal-root`),t.body.appendChild(r)}var Li=new WeakMap;function Ri(e){return Li.get(e)??0}function zi(e,t){let n=t(Ri(e));return n<=0?Li.delete(e):Li.set(e,n),n}var Bi=T({name:`Portal`,props:{as:{type:[Object,String],default:`div`}},setup(e,{slots:t,attrs:n}){let r=j(null),i=M(()=>lr(r)),a=Di(),o=f(Ui,null),s=j(a===!0||o==null?Ii(r.value):o.resolveTarget());s.value&&zi(s.value,e=>e+1);let l=j(!1);le(()=>{l.value=!0}),Ve(()=>{a||o!=null&&(s.value=o.resolveTarget())});let d=f(Vi,null),p=!1,m=u();return Ye(r,()=>{if(p||!d)return;let e=R(r);e&&(c(d.register(e),m),p=!0)}),c(()=>{var e;let t=i.value?.getElementById(`headlessui-portal-root`);!t||s.value!==t||zi(s.value,e=>e-1)||s.value.children.length>0||(e=s.value.parentElement)==null||e.removeChild(s.value)}),()=>{if(!l.value||s.value===null)return null;let i={ref:r,"data-headlessui-portal":``};return de(He,{to:s.value},Lr({ourProps:i,theirProps:e,slot:{},attrs:n,slots:t,name:`Portal`}))}}}),Vi=Symbol(`PortalParentContext`);function Hi(){let e=f(Vi,null),t=j([]);function n(n){return t.value.push(n),e&&e.register(n),()=>r(n)}function r(n){let r=t.value.indexOf(n);r!==-1&&t.value.splice(r,1),e&&e.unregister(n)}let i={register:n,unregister:r,portals:t};return[t,T({name:`PortalWrapper`,setup(e,{slots:t}){return fe(Vi,i),()=>t.default?.call(t)}})]}var Ui=Symbol(`PortalGroupContext`),Wi=T({name:`PortalGroup`,props:{as:{type:[Object,String],default:`template`},target:{type:Object,default:null}},setup(e,{attrs:t,slots:n}){return fe(Ui,ze({resolveTarget(){return e.target}})),()=>{let{target:r,...i}=e;return Lr({theirProps:i,ourProps:{},slot:{},attrs:t,slots:n,name:`PortalGroup`})}}}),Gi=(e=>(e[e.Open=0]=`Open`,e[e.Closed=1]=`Closed`,e))(Gi||{}),Ki=Symbol(`DialogContext`);function qi(e){let t=f(Ki,null);if(t===null){let t=Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,qi),t}return t}var Ji=`DC8F892D-2EBD-447C-A4C8-A03058436FF4`,Yi=T({name:`Dialog`,inheritAttrs:!1,props:{as:{type:[Object,String],default:`div`},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},open:{type:[Boolean,String],default:Ji},initialFocus:{type:Object,default:null},id:{type:String,default:null},role:{type:String,default:`dialog`}},emits:{close:e=>!0},setup(e,{emit:t,attrs:n,slots:r,expose:i}){let a=e.id??`headlessui-dialog-${nr()}`,o=j(!1);le(()=>{o.value=!0});let s=!1,c=M(()=>e.role===`dialog`||e.role===`alertdialog`?e.role:(s||(s=!0,console.warn(`Invalid role [${c}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),`dialog`)),l=j(0),u=qr(),d=M(()=>e.open===Ji&&u!==null?(u.value&Kr.Open)===Kr.Open:e.open),p=j(null),m=M(()=>lr(p));if(i({el:p,$el:p}),!(e.open!==Ji||u!==null))throw Error("You forgot to provide an `open` prop to the `Dialog`.");if(typeof d.value!=`boolean`)throw Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${d.value===Ji?void 0:e.open}`);let h=M(()=>o.value&&d.value?0:1),g=M(()=>h.value===0),_=M(()=>l.value>1),v=f(Ki,null)!==null,[y,b]=Hi(),{resolveContainers:ee,mainTreeNodeRef:te,MainTreeNode:x}=wi({portals:y,defaultContainers:[M(()=>C.panelRef.value??p.value)]}),S=M(()=>_.value?`parent`:`leaf`),ne=M(()=>u!==null&&(u.value&Kr.Closing)===Kr.Closing),re=M(()=>v||ne.value?!1:g.value);Ci(M(()=>Array.from(m.value?.querySelectorAll(`body > *`)??[]).find(e=>e.id!==`headlessui-portal-root`&&e.contains(R(te))&&e instanceof HTMLElement)??null),re);let ie=M(()=>_.value?!0:g.value);Ci(M(()=>Array.from(m.value?.querySelectorAll(`[data-headlessui-portal]`)??[]).find(e=>e.contains(R(te))&&e instanceof HTMLElement)??null),ie),Mi({type:`Dialog`,enabled:M(()=>h.value===0),element:p,onUpdate:(e,t)=>{if(t===`Dialog`)return ir(e,{[Ai.Add]:()=>l.value+=1,[Ai.Remove]:()=>--l.value})}});let ae=Fi({name:`DialogDescription`,slot:M(()=>({open:d.value}))}),oe=j(null),C={titleId:oe,panelRef:j(null),dialogState:h,setTitleId(e){oe.value!==e&&(oe.value=e)},close(){t(`close`,!1)}};fe(Ki,C),Ar(ee,(e,t)=>{e.preventDefault(),C.close(),Ne(()=>t?.focus())},M(()=>!(!g.value||_.value)));let se=M(()=>!(_.value||h.value!==0));return ni(m.value?.defaultView,`keydown`,e=>{se.value&&(e.defaultPrevented||e.key===Yr.Escape&&(e.preventDefault(),e.stopPropagation(),C.close()))}),bi(m,M(()=>!(ne.value||h.value!==0||v)),e=>({containers:[...e.containers??[],ee]})),Ve(e=>{if(h.value!==0)return;let t=R(p);if(!t)return;let n=new ResizeObserver(e=>{for(let t of e){let e=t.target.getBoundingClientRect();e.x===0&&e.y===0&&e.width===0&&e.height===0&&C.close()}});n.observe(t),e(()=>n.disconnect())}),()=>{let{open:t,initialFocus:i,...o}=e,s={...n,ref:p,id:a,role:c.value,"aria-modal":h.value===0||void 0,"aria-labelledby":oe.value,"aria-describedby":ae.value},l={open:h.value===0};return de(Oi,{force:!0},()=>[de(Bi,()=>de(Wi,{target:p.value},()=>de(Oi,{force:!1},()=>de(si,{initialFocus:i,containers:ee,features:g.value?ir(S.value,{parent:si.features.RestoreFocus,leaf:si.features.All&~si.features.FocusLock}):si.features.None},()=>de(b,{},()=>Lr({ourProps:s,theirProps:{...o,...n},slot:l,attrs:n,slots:r,visible:h.value===0,features:Fr.RenderStrategy|Fr.Static,name:`Dialog`})))))),de(x)])}}});T({name:`DialogOverlay`,props:{as:{type:[Object,String],default:`div`},id:{type:String,default:null}},setup(e,{attrs:t,slots:n}){let r=e.id??`headlessui-dialog-overlay-${nr()}`,i=qi(`DialogOverlay`);function a(e){e.target===e.currentTarget&&(e.preventDefault(),e.stopPropagation(),i.close())}return()=>{let{...o}=e;return Lr({ourProps:{id:r,"aria-hidden":!0,onClick:a},theirProps:o,slot:{open:i.dialogState.value===0},attrs:t,slots:n,name:`DialogOverlay`})}}}),T({name:`DialogBackdrop`,props:{as:{type:[Object,String],default:`div`},id:{type:String,default:null}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){let i=e.id??`headlessui-dialog-backdrop-${nr()}`,a=qi(`DialogBackdrop`),o=j(null);return r({el:o,$el:o}),le(()=>{if(a.panelRef.value===null)throw Error(`A <DialogBackdrop /> component is being used, but a <DialogPanel /> component is missing.`)}),()=>{let{...r}=e,s={id:i,ref:o,"aria-hidden":!0};return de(Oi,{force:!0},()=>de(Bi,()=>Lr({ourProps:s,theirProps:{...t,...r},slot:{open:a.dialogState.value===0},attrs:t,slots:n,name:`DialogBackdrop`})))}}});var Xi=T({name:`DialogPanel`,props:{as:{type:[Object,String],default:`div`},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let i=e.id??`headlessui-dialog-panel-${nr()}`,a=qi(`DialogPanel`);r({el:a.panelRef,$el:a.panelRef});function o(e){e.stopPropagation()}return()=>{let{...r}=e;return Lr({ourProps:{id:i,ref:a.panelRef,onClick:o},theirProps:r,slot:{open:a.dialogState.value===0},attrs:t,slots:n,name:`DialogPanel`})}}}),Zi=T({name:`DialogTitle`,props:{as:{type:[Object,String],default:`h2`},id:{type:String,default:null}},setup(e,{attrs:t,slots:n}){let r=e.id??`headlessui-dialog-title-${nr()}`,i=qi(`DialogTitle`);return le(()=>{i.setTitleId(r),c(()=>i.setTitleId(null))}),()=>{let{...a}=e;return Lr({ourProps:{id:r},theirProps:a,slot:{open:i.dialogState.value===0},attrs:t,slots:n,name:`DialogTitle`})}}}),Qi=(e=>(e[e.Open=0]=`Open`,e[e.Closed=1]=`Closed`,e))(Qi||{}),$i=Symbol(`DisclosureContext`);function ea(e){let t=f($i,null);if(t===null){let t=Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ea),t}return t}var ta=Symbol(`DisclosurePanelContext`);function na(){return f(ta,null)}var ra=T({name:`Disclosure`,props:{as:{type:[Object,String],default:`template`},defaultOpen:{type:[Boolean],default:!1}},setup(e,{slots:t,attrs:n}){let r=j(+!e.defaultOpen),i=j(null),a=j(null),o={buttonId:j(`headlessui-disclosure-button-${nr()}`),panelId:j(`headlessui-disclosure-panel-${nr()}`),disclosureState:r,panel:i,button:a,toggleDisclosure(){r.value=ir(r.value,{0:1,1:0})},closeDisclosure(){r.value!==1&&(r.value=1)},close(e){o.closeDisclosure(),(e?e instanceof HTMLElement?e:e.value instanceof HTMLElement?R(e):R(o.button):R(o.button))?.focus()}};return fe($i,o),Jr(M(()=>ir(r.value,{0:Kr.Open,1:Kr.Closed}))),()=>{let{defaultOpen:i,...a}=e;return Lr({theirProps:a,ourProps:{},slot:{open:r.value===0,close:o.close},slots:t,attrs:n,name:`Disclosure`})}}}),ia=T({name:`DisclosureButton`,props:{as:{type:[Object,String],default:`button`},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let i=ea(`DisclosureButton`),a=na(),o=M(()=>a!==null&&a.value===i.panelId.value);le(()=>{o.value||e.id!==null&&(i.buttonId.value=e.id)}),c(()=>{o.value||(i.buttonId.value=null)});let s=j(null);r({el:s,$el:s}),o.value||Ve(()=>{i.button.value=s.value});let l=Mr(M(()=>({as:e.as,type:t.type})),s);function u(){var t;e.disabled||(o.value?(i.toggleDisclosure(),(t=R(i.button))==null||t.focus()):i.toggleDisclosure())}function d(t){var n;if(!e.disabled)if(o.value)switch(t.key){case Yr.Space:case Yr.Enter:t.preventDefault(),t.stopPropagation(),i.toggleDisclosure(),(n=R(i.button))==null||n.focus();break}else switch(t.key){case Yr.Space:case Yr.Enter:t.preventDefault(),t.stopPropagation(),i.toggleDisclosure();break}}function f(e){switch(e.key){case Yr.Space:e.preventDefault();break}}return()=>{let r={open:i.disclosureState.value===0},{id:a,...c}=e;return Lr({ourProps:o.value?{ref:s,type:l.value,onClick:u,onKeydown:d}:{id:i.buttonId.value??a,ref:s,type:l.value,"aria-expanded":i.disclosureState.value===0,"aria-controls":i.disclosureState.value===0||R(i.panel)?i.panelId.value:void 0,disabled:e.disabled?!0:void 0,onClick:u,onKeydown:d,onKeyup:f},theirProps:c,slot:r,attrs:t,slots:n,name:`DisclosureButton`})}}}),aa=T({name:`DisclosurePanel`,props:{as:{type:[Object,String],default:`div`},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let i=ea(`DisclosurePanel`);le(()=>{e.id!==null&&(i.panelId.value=e.id)}),c(()=>{i.panelId.value=null}),r({el:i.panel,$el:i.panel}),fe(ta,i.panelId);let a=qr(),o=M(()=>a===null?i.disclosureState.value===0:(a.value&Kr.Open)===Kr.Open);return()=>{let r={open:i.disclosureState.value===0,close:i.close},{id:a,...s}=e;return Lr({ourProps:{id:i.panelId.value??a,ref:i.panel},theirProps:s,slot:r,attrs:t,slots:n,features:Fr.RenderStrategy|Fr.Static,visible:o.value,name:`DisclosurePanel`})}}}),oa=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;function sa(e){let t=e.innerText??``,n=e.cloneNode(!0);if(!(n instanceof HTMLElement))return t;let r=!1;for(let e of n.querySelectorAll(`[hidden],[aria-hidden],[role="img"]`))e.remove(),r=!0;let i=r?n.innerText??``:t;return oa.test(i)&&(i=i.replace(oa,``)),i}function ca(e){let t=e.getAttribute(`aria-label`);if(typeof t==`string`)return t.trim();let n=e.getAttribute(`aria-labelledby`);if(n){let e=n.split(` `).map(e=>{let t=document.getElementById(e);if(t){let e=t.getAttribute(`aria-label`);return typeof e==`string`?e.trim():sa(t).trim()}return null}).filter(Boolean);if(e.length>0)return e.join(`, `)}return sa(e).trim()}function la(e){let t=j(``),n=j(``);return()=>{let r=R(e);if(!r)return``;let i=r.innerText;if(t.value===i)return n.value;let a=ca(r).trim().toLowerCase();return t.value=i,n.value=a,a}}function ua(e,t){return e===t}var da=(e=>(e[e.Open=0]=`Open`,e[e.Closed=1]=`Closed`,e))(da||{}),fa=(e=>(e[e.Single=0]=`Single`,e[e.Multi=1]=`Multi`,e))(fa||{}),pa=(e=>(e[e.Pointer=0]=`Pointer`,e[e.Other=1]=`Other`,e))(pa||{});function ma(e){requestAnimationFrame(()=>requestAnimationFrame(e))}var ha=Symbol(`ListboxContext`);function ga(e){let t=f(ha,null);if(t===null){let t=Error(`<${e} /> is missing a parent <Listbox /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ga),t}return t}var _a=T({name:`Listbox`,emits:{"update:modelValue":e=>!0},props:{as:{type:[Object,String],default:`template`},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],default:()=>ua},horizontal:{type:[Boolean],default:!1},modelValue:{type:[Object,String,Number,Boolean],default:void 0},defaultValue:{type:[Object,String,Number,Boolean],default:void 0},form:{type:String,optional:!0},name:{type:String,optional:!0},multiple:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(e,{slots:t,attrs:n,emit:r}){let i=j(1),a=j(null),o=j(null),s=j(null),c=j([]),l=j(``),u=j(null),d=j(1);function f(e=e=>e){let t=u.value===null?null:c.value[u.value],n=Sr(e(c.value.slice()),e=>R(e.dataRef.domRef)),r=t?n.indexOf(t):null;return r===-1&&(r=null),{options:n,activeOptionIndex:r}}let p=M(()=>+!!e.multiple),[m,h]=Zn(M(()=>e.modelValue),e=>r(`update:modelValue`,e),M(()=>e.defaultValue)),g=M(()=>m.value===void 0?ir(p.value,{1:[],0:void 0}):m.value),_={listboxState:i,value:g,mode:p,compare(t,n){if(typeof e.by==`string`){let r=e.by;return t?.[r]===n?.[r]}return e.by(t,n)},orientation:M(()=>e.horizontal?`horizontal`:`vertical`),labelRef:a,buttonRef:o,optionsRef:s,disabled:M(()=>e.disabled),options:c,searchQuery:l,activeOptionIndex:u,activationTrigger:d,closeListbox(){e.disabled||i.value!==1&&(i.value=1,u.value=null)},openListbox(){e.disabled||i.value!==0&&(i.value=0)},goToOption(t,n,r){if(e.disabled||i.value===1)return;let a=f(),o=Qr(t===Zr.Specific?{focus:Zr.Specific,id:n}:{focus:t},{resolveItems:()=>a.options,resolveActiveIndex:()=>a.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.disabled});l.value=``,u.value=o,d.value=r??1,c.value=a.options},search(t){if(e.disabled||i.value===1)return;let n=+(l.value===``);l.value+=t.toLowerCase();let r=(u.value===null?c.value:c.value.slice(u.value+n).concat(c.value.slice(0,u.value+n))).find(e=>e.dataRef.textValue.startsWith(l.value)&&!e.dataRef.disabled),a=r?c.value.indexOf(r):-1;a===-1||a===u.value||(u.value=a,d.value=1)},clearSearch(){e.disabled||i.value!==1&&l.value!==``&&(l.value=``)},registerOption(e,t){let n=f(n=>[...n,{id:e,dataRef:t}]);c.value=n.options,u.value=n.activeOptionIndex},unregisterOption(e){let t=f(t=>{let n=t.findIndex(t=>t.id===e);return n!==-1&&t.splice(n,1),t});c.value=t.options,u.value=t.activeOptionIndex,d.value=1},theirOnChange(t){e.disabled||h(t)},select(t){e.disabled||h(ir(p.value,{0:()=>t,1:()=>{let e=Te(_.value.value).slice(),n=Te(t),r=e.findIndex(e=>_.compare(n,Te(e)));return r===-1?e.push(n):e.splice(r,1),e}}))}};Ar([o,s],(e,t)=>{var n;_.closeListbox(),gr(t,hr.Loose)||(e.preventDefault(),(n=R(o))==null||n.focus())},M(()=>i.value===0)),fe(ha,_),Jr(M(()=>ir(i.value,{0:Kr.Open,1:Kr.Closed})));let v=M(()=>R(o)?.closest(`form`));return le(()=>{Ye([v],()=>{if(!v.value||e.defaultValue===void 0)return;function t(){_.theirOnChange(e.defaultValue)}return v.value.addEventListener(`reset`,t),()=>{var e;(e=v.value)==null||e.removeEventListener(`reset`,t)}},{immediate:!0})}),()=>{let{name:r,modelValue:a,disabled:o,form:s,...c}=e,l={open:i.value===0,disabled:o,value:g.value};return de(Me,[...r!=null&&g.value!=null?$r({[r]:g.value}).map(([e,t])=>de(Wr,Vr({features:Ur.Hidden,key:e,as:`input`,type:`hidden`,hidden:!0,readOnly:!0,form:s,disabled:o,name:e,value:t}))):[],Lr({ourProps:{},theirProps:{...n,...Hr(c,[`defaultValue`,`onUpdate:modelValue`,`horizontal`,`multiple`,`by`])},slot:l,slots:t,attrs:n,name:`Listbox`})])}}}),va=T({name:`ListboxLabel`,props:{as:{type:[Object,String],default:`label`},id:{type:String,default:null}},setup(e,{attrs:t,slots:n}){let r=e.id??`headlessui-listbox-label-${nr()}`,i=ga(`ListboxLabel`);function a(){var e;(e=R(i.buttonRef))==null||e.focus({preventScroll:!0})}return()=>{let o={open:i.listboxState.value===0,disabled:i.disabled.value},{...s}=e;return Lr({ourProps:{id:r,ref:i.labelRef,onClick:a},theirProps:s,slot:o,attrs:t,slots:n,name:`ListboxLabel`})}}}),ya=T({name:`ListboxButton`,props:{as:{type:[Object,String],default:`button`},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let i=e.id??`headlessui-listbox-button-${nr()}`,a=ga(`ListboxButton`);r({el:a.buttonRef,$el:a.buttonRef});function o(e){switch(e.key){case Yr.Space:case Yr.Enter:case Yr.ArrowDown:e.preventDefault(),a.openListbox(),Ne(()=>{var e;(e=R(a.optionsRef))==null||e.focus({preventScroll:!0}),a.value.value||a.goToOption(Zr.First)});break;case Yr.ArrowUp:e.preventDefault(),a.openListbox(),Ne(()=>{var e;(e=R(a.optionsRef))==null||e.focus({preventScroll:!0}),a.value.value||a.goToOption(Zr.Last)});break}}function s(e){switch(e.key){case Yr.Space:e.preventDefault();break}}function c(e){a.disabled.value||(a.listboxState.value===0?(a.closeListbox(),Ne(()=>R(a.buttonRef)?.focus({preventScroll:!0}))):(e.preventDefault(),a.openListbox(),ma(()=>R(a.optionsRef)?.focus({preventScroll:!0}))))}let l=Mr(M(()=>({as:e.as,type:t.type})),a.buttonRef);return()=>{let r={open:a.listboxState.value===0,disabled:a.disabled.value,value:a.value.value},{...u}=e;return Lr({ourProps:{ref:a.buttonRef,id:i,type:l.value,"aria-haspopup":`listbox`,"aria-controls":R(a.optionsRef)?.id,"aria-expanded":a.listboxState.value===0,"aria-labelledby":a.labelRef.value?[R(a.labelRef)?.id,i].join(` `):void 0,disabled:a.disabled.value===!0||void 0,onKeydown:o,onKeyup:s,onClick:c},theirProps:u,slot:r,attrs:t,slots:n,name:`ListboxButton`})}}}),ba=T({name:`ListboxOptions`,props:{as:{type:[Object,String],default:`ul`},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){let i=e.id??`headlessui-listbox-options-${nr()}`,a=ga(`ListboxOptions`),o=j(null);r({el:a.optionsRef,$el:a.optionsRef});function s(e){switch(o.value&&clearTimeout(o.value),e.key){case Yr.Space:if(a.searchQuery.value!==``)return e.preventDefault(),e.stopPropagation(),a.search(e.key);case Yr.Enter:if(e.preventDefault(),e.stopPropagation(),a.activeOptionIndex.value!==null){let e=a.options.value[a.activeOptionIndex.value];a.select(e.dataRef.value)}a.mode.value===0&&(a.closeListbox(),Ne(()=>R(a.buttonRef)?.focus({preventScroll:!0})));break;case ir(a.orientation.value,{vertical:Yr.ArrowDown,horizontal:Yr.ArrowRight}):return e.preventDefault(),e.stopPropagation(),a.goToOption(Zr.Next);case ir(a.orientation.value,{vertical:Yr.ArrowUp,horizontal:Yr.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),a.goToOption(Zr.Previous);case Yr.Home:case Yr.PageUp:return e.preventDefault(),e.stopPropagation(),a.goToOption(Zr.First);case Yr.End:case Yr.PageDown:return e.preventDefault(),e.stopPropagation(),a.goToOption(Zr.Last);case Yr.Escape:e.preventDefault(),e.stopPropagation(),a.closeListbox(),Ne(()=>R(a.buttonRef)?.focus({preventScroll:!0}));break;case Yr.Tab:e.preventDefault(),e.stopPropagation();break;default:e.key.length===1&&(a.search(e.key),o.value=setTimeout(()=>a.clearSearch(),350));break}}let c=qr(),l=M(()=>c===null?a.listboxState.value===0:(c.value&Kr.Open)===Kr.Open);return()=>{var r;let o={open:a.listboxState.value===0},{...c}=e;return Lr({ourProps:{"aria-activedescendant":a.activeOptionIndex.value===null||(r=a.options.value[a.activeOptionIndex.value])==null?void 0:r.id,"aria-multiselectable":a.mode.value===1||void 0,"aria-labelledby":R(a.buttonRef)?.id,"aria-orientation":a.orientation.value,id:i,onKeydown:s,role:`listbox`,tabIndex:0,ref:a.optionsRef},theirProps:c,slot:o,attrs:t,slots:n,features:Fr.RenderStrategy|Fr.Static,visible:l.value,name:`ListboxOptions`})}}}),xa=T({name:`ListboxOption`,props:{as:{type:[Object,String],default:`li`},value:{type:[Object,String,Number,Boolean]},disabled:{type:Boolean,default:!1},id:{type:String,default:null}},setup(e,{slots:t,attrs:n,expose:r}){let i=e.id??`headlessui-listbox-option-${nr()}`,a=ga(`ListboxOption`),o=j(null);r({el:o,$el:o});let s=M(()=>a.activeOptionIndex.value!==null&&a.options.value[a.activeOptionIndex.value].id===i),l=M(()=>ir(a.mode.value,{0:()=>a.compare(Te(a.value.value),Te(e.value)),1:()=>Te(a.value.value).some(t=>a.compare(Te(t),Te(e.value)))})),u=M(()=>ir(a.mode.value,{1:()=>{let e=Te(a.value.value);return a.options.value.find(t=>e.some(e=>a.compare(Te(e),Te(t.dataRef.value))))?.id===i},0:()=>l.value})),d=la(o),f=M(()=>({disabled:e.disabled,value:e.value,get textValue(){return d()},domRef:o}));le(()=>a.registerOption(i,f)),c(()=>a.unregisterOption(i)),le(()=>{Ye([a.listboxState,l],()=>{a.listboxState.value===0&&l.value&&ir(a.mode.value,{1:()=>{u.value&&a.goToOption(Zr.Specific,i)},0:()=>{a.goToOption(Zr.Specific,i)}})},{immediate:!0})}),Ve(()=>{a.listboxState.value===0&&s.value&&a.activationTrigger.value!==0&&Ne(()=>{var e;return((e=R(o))?.scrollIntoView)?.call(e,{block:`nearest`})})});function p(t){if(e.disabled)return t.preventDefault();a.select(e.value),a.mode.value===0&&(a.closeListbox(),Ne(()=>R(a.buttonRef)?.focus({preventScroll:!0})))}function m(){if(e.disabled)return a.goToOption(Zr.Nothing);a.goToOption(Zr.Specific,i)}let h=Pr();function g(e){h.update(e)}function _(t){h.wasMoved(t)&&(e.disabled||s.value||a.goToOption(Zr.Specific,i,0))}function v(t){h.wasMoved(t)&&(e.disabled||s.value&&a.goToOption(Zr.Nothing))}return()=>{let{disabled:r}=e,a={active:s.value,selected:l.value,disabled:r},{value:c,disabled:u,...d}=e;return Lr({ourProps:{id:i,ref:o,role:`option`,tabIndex:r===!0?void 0:-1,"aria-disabled":r===!0||void 0,"aria-selected":l.value,disabled:void 0,onClick:p,onFocus:m,onPointerenter:g,onMouseenter:g,onPointermove:_,onMousemove:_,onPointerleave:v,onMouseleave:v},theirProps:d,slot:a,attrs:n,slots:t,name:`ListboxOption`})}}}),Sa=(e=>(e[e.Open=0]=`Open`,e[e.Closed=1]=`Closed`,e))(Sa||{}),Ca=Symbol(`PopoverContext`);function wa(e){let t=f(Ca,null);if(t===null){let t=Error(`<${e} /> is missing a parent <${ka.name} /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,wa),t}return t}var Ta=Symbol(`PopoverGroupContext`);function Ea(){return f(Ta,null)}var Da=Symbol(`PopoverPanelContext`);function Oa(){return f(Da,null)}var ka=T({name:`Popover`,inheritAttrs:!1,props:{as:{type:[Object,String],default:`div`}},setup(e,{slots:t,attrs:n,expose:r}){let i=j(null);r({el:i,$el:i});let a=j(1),o=j(null),s=j(null),c=j(null),l=j(null),u=M(()=>lr(i)),d=M(()=>{var e,t;if(!R(o)||!R(l))return!1;for(let e of document.querySelectorAll(`body > *`))if(Number(e?.contains(R(o)))^Number(e?.contains(R(l))))return!0;let n=mr(),r=n.indexOf(R(o)),i=(r+n.length-1)%n.length,a=(r+1)%n.length,s=n[i],c=n[a];return!((e=R(l))!=null&&e.contains(s))&&!((t=R(l))!=null&&t.contains(c))}),f={popoverState:a,buttonId:j(null),panelId:j(null),panel:l,button:o,isPortalled:d,beforePanelSentinel:s,afterPanelSentinel:c,togglePopover(){a.value=ir(a.value,{0:1,1:0})},closePopover(){a.value!==1&&(a.value=1)},close(e){f.closePopover(),(e?e instanceof HTMLElement?e:e.value instanceof HTMLElement?R(e):R(f.button):R(f.button))?.focus()}};fe(Ca,f),Jr(M(()=>ir(a.value,{0:Kr.Open,1:Kr.Closed})));let p={buttonId:f.buttonId,panelId:f.panelId,close(){f.closePopover()}},m=Ea(),h=m?.registerPopover,[g,_]=Hi(),v=wi({mainTreeNodeRef:m?.mainTreeNodeRef,portals:g,defaultContainers:[o,l]});function y(){return m?.isFocusWithinPopoverGroup()??(u.value?.activeElement&&(R(o)?.contains(u.value.activeElement)||R(l)?.contains(u.value.activeElement)))}return Ve(()=>h?.(p)),ni(u.value?.defaultView,`focus`,e=>{var t,n;e.target!==window&&e.target instanceof HTMLElement&&a.value===0&&(y()||o&&l&&(v.contains(e.target)||(t=R(f.beforePanelSentinel))!=null&&t.contains(e.target)||(n=R(f.afterPanelSentinel))!=null&&n.contains(e.target)||f.closePopover()))},!0),Ar(v.resolveContainers,(e,t)=>{var n;f.closePopover(),gr(t,hr.Loose)||(e.preventDefault(),(n=R(o))==null||n.focus())},M(()=>a.value===0)),()=>{let r={open:a.value===0,close:f.close};return de(Me,[de(_,{},()=>Lr({theirProps:{...e,...n},ourProps:{ref:i},slot:r,slots:t,attrs:n,name:`Popover`})),de(v.MainTreeNode)])}}}),Aa=T({name:`PopoverButton`,props:{as:{type:[Object,String],default:`button`},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){let i=e.id??`headlessui-popover-button-${nr()}`,a=wa(`PopoverButton`),o=M(()=>lr(a.button));r({el:a.button,$el:a.button}),le(()=>{a.buttonId.value=i}),c(()=>{a.buttonId.value=null});let s=Ea()?.closeOthers,l=Oa(),u=M(()=>l!==null&&l.value===a.panelId.value),d=j(null),f=`headlessui-focus-sentinel-${nr()}`;u.value||Ve(()=>{a.button.value=R(d)});let p=Mr(M(()=>({as:e.as,type:t.type})),d);function m(e){var t,n,r,i,c;if(u.value){if(a.popoverState.value===1)return;switch(e.key){case Yr.Space:case Yr.Enter:e.preventDefault(),(n=(t=e.target).click)==null||n.call(t),a.closePopover(),(r=R(a.button))==null||r.focus();break}}else switch(e.key){case Yr.Space:case Yr.Enter:e.preventDefault(),e.stopPropagation(),a.popoverState.value===1&&s?.(a.buttonId.value),a.togglePopover();break;case Yr.Escape:if(a.popoverState.value!==0)return s?.(a.buttonId.value);if(!R(a.button)||(i=o.value)!=null&&i.activeElement&&!((c=R(a.button))!=null&&c.contains(o.value.activeElement)))return;e.preventDefault(),e.stopPropagation(),a.closePopover();break}}function h(e){u.value||e.key===Yr.Space&&e.preventDefault()}function g(t){var n,r;e.disabled||(u.value?(a.closePopover(),(n=R(a.button))==null||n.focus()):(t.preventDefault(),t.stopPropagation(),a.popoverState.value===1&&s?.(a.buttonId.value),a.togglePopover(),(r=R(a.button))==null||r.focus()))}function _(e){e.preventDefault(),e.stopPropagation()}let v=ii();function y(){let e=R(a.panel);if(!e)return;function t(){ir(v.value,{[ri.Forwards]:()=>wr(e,dr.First),[ri.Backwards]:()=>wr(e,dr.Last)})===fr.Error&&wr(mr().filter(e=>e.dataset.headlessuiFocusGuard!==`true`),ir(v.value,{[ri.Forwards]:dr.Next,[ri.Backwards]:dr.Previous}),{relativeTo:R(a.button)})}t()}return()=>{let r=a.popoverState.value===0,o={open:r},{...s}=e;return de(Me,[Lr({ourProps:u.value?{ref:d,type:p.value,onKeydown:m,onClick:g}:{ref:d,id:i,type:p.value,"aria-expanded":a.popoverState.value===0,"aria-controls":R(a.panel)?a.panelId.value:void 0,disabled:e.disabled?!0:void 0,onKeydown:m,onKeyup:h,onClick:g,onMousedown:_},theirProps:{...t,...s},slot:o,attrs:t,slots:n,name:`PopoverButton`}),r&&!u.value&&a.isPortalled.value&&de(Wr,{id:f,features:Ur.Focusable,"data-headlessui-focus-guard":!0,as:`button`,type:`button`,onFocus:y})])}}});T({name:`PopoverOverlay`,props:{as:{type:[Object,String],default:`div`},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0}},setup(e,{attrs:t,slots:n}){let r=wa(`PopoverOverlay`),i=`headlessui-popover-overlay-${nr()}`,a=qr(),o=M(()=>a===null?r.popoverState.value===0:(a.value&Kr.Open)===Kr.Open);function s(){r.closePopover()}return()=>{let a={open:r.popoverState.value===0};return Lr({ourProps:{id:i,"aria-hidden":!0,onClick:s},theirProps:e,slot:a,attrs:t,slots:n,features:Fr.RenderStrategy|Fr.Static,visible:o.value,name:`PopoverOverlay`})}}});var ja=T({name:`PopoverPanel`,props:{as:{type:[Object,String],default:`div`},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},focus:{type:Boolean,default:!1},id:{type:String,default:null}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){let i=e.id??`headlessui-popover-panel-${nr()}`,{focus:a}=e,o=wa(`PopoverPanel`),s=M(()=>lr(o.panel)),l=`headlessui-focus-sentinel-before-${nr()}`,u=`headlessui-focus-sentinel-after-${nr()}`;r({el:o.panel,$el:o.panel}),le(()=>{o.panelId.value=i}),c(()=>{o.panelId.value=null}),fe(Da,o.panelId),Ve(()=>{var e;if(!a||o.popoverState.value!==0||!o.panel)return;let t=s.value?.activeElement;(e=R(o.panel))!=null&&e.contains(t)||wr(R(o.panel),dr.First)});let d=qr(),f=M(()=>d===null?o.popoverState.value===0:(d.value&Kr.Open)===Kr.Open);function p(e){var t,n;switch(e.key){case Yr.Escape:if(o.popoverState.value!==0||!R(o.panel)||s.value&&!((t=R(o.panel))!=null&&t.contains(s.value.activeElement)))return;e.preventDefault(),e.stopPropagation(),o.closePopover(),(n=R(o.button))==null||n.focus();break}}function m(e){var t,n,r,i,a;let s=e.relatedTarget;s&&R(o.panel)&&((t=R(o.panel))!=null&&t.contains(s)||(o.closePopover(),((r=(n=R(o.beforePanelSentinel))?.contains)!=null&&r.call(n,s)||(a=(i=R(o.afterPanelSentinel))?.contains)!=null&&a.call(i,s))&&s.focus({preventScroll:!0})))}let h=ii();function g(){let e=R(o.panel);if(!e)return;function t(){ir(h.value,{[ri.Forwards]:()=>{var t;wr(e,dr.First)===fr.Error&&((t=R(o.afterPanelSentinel))==null||t.focus())},[ri.Backwards]:()=>{var e;(e=R(o.button))==null||e.focus({preventScroll:!0})}})}t()}function _(){let e=R(o.panel);if(!e)return;function t(){ir(h.value,{[ri.Forwards]:()=>{let e=R(o.button),t=R(o.panel);if(!e)return;let n=mr(),r=n.indexOf(e),i=n.slice(0,r+1),a=[...n.slice(r+1),...i];for(let e of a.slice())if(e.dataset.headlessuiFocusGuard===`true`||t!=null&&t.contains(e)){let t=a.indexOf(e);t!==-1&&a.splice(t,1)}wr(a,dr.First,{sorted:!1})},[ri.Backwards]:()=>{var t;wr(e,dr.Previous)===fr.Error&&((t=R(o.button))==null||t.focus())}})}t()}return()=>{let r={open:o.popoverState.value===0,close:o.close},{focus:s,...c}=e;return Lr({ourProps:{ref:o.panel,id:i,onKeydown:p,onFocusout:a&&o.popoverState.value===0?m:void 0,tabIndex:-1},theirProps:{...t,...c},attrs:t,slot:r,slots:{...n,default:(...e)=>[de(Me,[f.value&&o.isPortalled.value&&de(Wr,{id:l,ref:o.beforePanelSentinel,features:Ur.Focusable,"data-headlessui-focus-guard":!0,as:`button`,type:`button`,onFocus:g}),n.default?.call(n,...e),f.value&&o.isPortalled.value&&de(Wr,{id:u,ref:o.afterPanelSentinel,features:Ur.Focusable,"data-headlessui-focus-guard":!0,as:`button`,type:`button`,onFocus:_})])]},features:Fr.RenderStrategy|Fr.Static,visible:f.value,name:`PopoverPanel`})}}});T({name:`PopoverGroup`,inheritAttrs:!1,props:{as:{type:[Object,String],default:`div`}},setup(e,{attrs:t,slots:n,expose:r}){let i=j(null),a=et([]),o=M(()=>lr(i)),s=Ti();r({el:i,$el:i});function c(e){let t=a.value.indexOf(e);t!==-1&&a.value.splice(t,1)}function l(e){return a.value.push(e),()=>{c(e)}}function u(){var e;let t=o.value;if(!t)return!1;let n=t.activeElement;return(e=R(i))!=null&&e.contains(n)?!0:a.value.some(e=>t.getElementById(e.buttonId.value)?.contains(n)||t.getElementById(e.panelId.value)?.contains(n))}function d(e){for(let t of a.value)t.buttonId.value!==e&&t.close()}return fe(Ta,{registerPopover:l,unregisterPopover:c,isFocusWithinPopoverGroup:u,closeOthers:d,mainTreeNodeRef:s.mainTreeNodeRef}),()=>de(Me,[Lr({ourProps:{ref:i},theirProps:{...e,...t},slot:{},attrs:t,slots:n,name:`PopoverGroup`}),de(s.MainTreeNode)])}});var Ma=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},Na=`regular`;function Pa(e={}){let t=M(()=>e.label?{"aria-label":e.label}:{"aria-hidden":!0,role:`presentation`});return{bind:M(()=>({width:`1em`,height:`1em`,...t.value})),weight:M(()=>e.weight??Na)}}var Fa={key:0},Ia={key:1},La={key:2},Ra={key:3},za={key:4},Ba={key:5},Va=T({name:`ScalarIconArrowUpRight`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Pa(e);return(e,r)=>(y(),N(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},E(t)),[S(e.$slots,`default`),E(n)===`bold`?(y(),N(`g`,Fa,[...r[0]||=[P(`path`,{d:`M204,64V168a12,12,0,0,1-24,0V93L72.49,200.49a12,12,0,0,1-17-17L163,76H88a12,12,0,0,1,0-24H192A12,12,0,0,1,204,64Z`},null,-1)]])):E(n)===`duotone`?(y(),N(`g`,Ia,[...r[1]||=[P(`path`,{d:`M192,64V168L88,64Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M192,56H88a8,8,0,0,0-5.66,13.66L128.69,116,58.34,186.34a8,8,0,0,0,11.32,11.32L140,127.31l46.34,46.35A8,8,0,0,0,200,168V64A8,8,0,0,0,192,56Zm-8,92.69-38.34-38.34h0L107.31,72H184Z`},null,-1)]])):E(n)===`fill`?(y(),N(`g`,La,[...r[2]||=[P(`path`,{d:`M200,64V168a8,8,0,0,1-13.66,5.66L140,127.31,69.66,197.66a8,8,0,0,1-11.32-11.32L128.69,116,82.34,69.66A8,8,0,0,1,88,56H192A8,8,0,0,1,200,64Z`},null,-1)]])):E(n)===`light`?(y(),N(`g`,Ra,[...r[3]||=[P(`path`,{d:`M198,64V168a6,6,0,0,1-12,0V78.48L68.24,196.24a6,6,0,0,1-8.48-8.48L177.52,70H88a6,6,0,0,1,0-12H192A6,6,0,0,1,198,64Z`},null,-1)]])):E(n)===`regular`?(y(),N(`g`,za,[...r[4]||=[P(`path`,{d:`M200,64V168a8,8,0,0,1-16,0V83.31L69.66,197.66a8,8,0,0,1-11.32-11.32L172.69,72H88a8,8,0,0,1,0-16H192A8,8,0,0,1,200,64Z`},null,-1)]])):E(n)===`thin`?(y(),N(`g`,Ba,[...r[5]||=[P(`path`,{d:`M196,64V168a4,4,0,0,1-8,0V73.66L66.83,194.83a4,4,0,0,1-5.66-5.66L182.34,68H88a4,4,0,0,1,0-8H192A4,4,0,0,1,196,64Z`},null,-1)]])):A(``,!0)],16))}}),Ha={key:0},Ua={key:1},Wa={key:2},Ga={key:3},Ka={key:4},qa={key:5},Ja=T({name:`ScalarIconBook`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Pa(e);return(e,r)=>(y(),N(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},E(t)),[S(e.$slots,`default`),E(n)===`bold`?(y(),N(`g`,Ha,[...r[0]||=[P(`path`,{d:`M208,20H72A36,36,0,0,0,36,56V224a12,12,0,0,0,12,12H192a12,12,0,0,0,0-24H60v-4a12,12,0,0,1,12-12H208a12,12,0,0,0,12-12V32A12,12,0,0,0,208,20ZM196,172H72a35.59,35.59,0,0,0-12,2.06V56A12,12,0,0,1,72,44H196Z`},null,-1)]])):E(n)===`duotone`?(y(),N(`g`,Ua,[...r[1]||=[P(`path`,{d:`M208,32V192H72a24,24,0,0,0-24,24V56A24,24,0,0,1,72,32Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M208,24H72A32,32,0,0,0,40,56V224a8,8,0,0,0,8,8H192a8,8,0,0,0,0-16H56a16,16,0,0,1,16-16H208a8,8,0,0,0,8-8V32A8,8,0,0,0,208,24Zm-8,160H72a31.82,31.82,0,0,0-16,4.29V56A16,16,0,0,1,72,40H200Z`},null,-1)]])):E(n)===`fill`?(y(),N(`g`,Wa,[...r[2]||=[P(`path`,{d:`M216,32V192a8,8,0,0,1-8,8H72a16,16,0,0,0-16,16H192a8,8,0,0,1,0,16H48a8,8,0,0,1-8-8V56A32,32,0,0,1,72,24H208A8,8,0,0,1,216,32Z`},null,-1)]])):E(n)===`light`?(y(),N(`g`,Ga,[...r[3]||=[P(`path`,{d:`M208,26H72A30,30,0,0,0,42,56V224a6,6,0,0,0,6,6H192a6,6,0,0,0,0-12H54v-2a18,18,0,0,1,18-18H208a6,6,0,0,0,6-6V32A6,6,0,0,0,208,26Zm-6,160H72a29.87,29.87,0,0,0-18,6V56A18,18,0,0,1,72,38H202Z`},null,-1)]])):E(n)===`regular`?(y(),N(`g`,Ka,[...r[4]||=[P(`path`,{d:`M208,24H72A32,32,0,0,0,40,56V224a8,8,0,0,0,8,8H192a8,8,0,0,0,0-16H56a16,16,0,0,1,16-16H208a8,8,0,0,0,8-8V32A8,8,0,0,0,208,24Zm-8,160H72a31.82,31.82,0,0,0-16,4.29V56A16,16,0,0,1,72,40H200Z`},null,-1)]])):E(n)===`thin`?(y(),N(`g`,qa,[...r[5]||=[P(`path`,{d:`M208,28H72A28,28,0,0,0,44,56V224a4,4,0,0,0,4,4H192a4,4,0,0,0,0-8H52v-4a20,20,0,0,1,20-20H208a4,4,0,0,0,4-4V32A4,4,0,0,0,208,28Zm-4,160H72a27.94,27.94,0,0,0-20,8.42V56A20,20,0,0,1,72,36H204Z`},null,-1)]])):A(``,!0)],16))}}),Ya={key:0},Xa={key:1},Za={key:2},Qa={key:3},$a={key:4},eo={key:5},to=T({name:`ScalarIconCaretDown`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Pa(e);return(e,r)=>(y(),N(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},E(t)),[S(e.$slots,`default`),E(n)===`bold`?(y(),N(`g`,Ya,[...r[0]||=[P(`path`,{d:`M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z`},null,-1)]])):E(n)===`duotone`?(y(),N(`g`,Xa,[...r[1]||=[P(`path`,{d:`M208,96l-80,80L48,96Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z`},null,-1)]])):E(n)===`fill`?(y(),N(`g`,Za,[...r[2]||=[P(`path`,{d:`M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z`},null,-1)]])):E(n)===`light`?(y(),N(`g`,Qa,[...r[3]||=[P(`path`,{d:`M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z`},null,-1)]])):E(n)===`regular`?(y(),N(`g`,$a,[...r[4]||=[P(`path`,{d:`M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z`},null,-1)]])):E(n)===`thin`?(y(),N(`g`,eo,[...r[5]||=[P(`path`,{d:`M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z`},null,-1)]])):A(``,!0)],16))}}),no={key:0},pee={key:1},mee={key:2},hee={key:3},gee={key:4},_ee={key:5},ro=T({name:`ScalarIconCaretRight`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Pa(e);return(e,r)=>(y(),N(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},E(t)),[S(e.$slots,`default`),E(n)===`bold`?(y(),N(`g`,no,[...r[0]||=[P(`path`,{d:`M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z`},null,-1)]])):E(n)===`duotone`?(y(),N(`g`,pee,[...r[1]||=[P(`path`,{d:`M176,128,96,208V48Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z`},null,-1)]])):E(n)===`fill`?(y(),N(`g`,mee,[...r[2]||=[P(`path`,{d:`M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z`},null,-1)]])):E(n)===`light`?(y(),N(`g`,hee,[...r[3]||=[P(`path`,{d:`M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z`},null,-1)]])):E(n)===`regular`?(y(),N(`g`,gee,[...r[4]||=[P(`path`,{d:`M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z`},null,-1)]])):E(n)===`thin`?(y(),N(`g`,_ee,[...r[5]||=[P(`path`,{d:`M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z`},null,-1)]])):A(``,!0)],16))}}),vee={key:0},yee={key:1},bee={key:2},xee={key:3},See={key:4},Cee={key:5},wee=T({name:`ScalarIconCaretUp`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Pa(e);return(e,r)=>(y(),N(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},E(t)),[S(e.$slots,`default`),E(n)===`bold`?(y(),N(`g`,vee,[...r[0]||=[P(`path`,{d:`M216.49,168.49a12,12,0,0,1-17,0L128,97,56.49,168.49a12,12,0,0,1-17-17l80-80a12,12,0,0,1,17,0l80,80A12,12,0,0,1,216.49,168.49Z`},null,-1)]])):E(n)===`duotone`?(y(),N(`g`,yee,[...r[1]||=[P(`path`,{d:`M208,160H48l80-80Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M213.66,154.34l-80-80a8,8,0,0,0-11.32,0l-80,80A8,8,0,0,0,48,168H208a8,8,0,0,0,5.66-13.66ZM67.31,152,128,91.31,188.69,152Z`},null,-1)]])):E(n)===`fill`?(y(),N(`g`,bee,[...r[2]||=[P(`path`,{d:`M215.39,163.06A8,8,0,0,1,208,168H48a8,8,0,0,1-5.66-13.66l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,215.39,163.06Z`},null,-1)]])):E(n)===`light`?(y(),N(`g`,xee,[...r[3]||=[P(`path`,{d:`M212.24,164.24a6,6,0,0,1-8.48,0L128,88.49,52.24,164.24a6,6,0,0,1-8.48-8.48l80-80a6,6,0,0,1,8.48,0l80,80A6,6,0,0,1,212.24,164.24Z`},null,-1)]])):E(n)===`regular`?(y(),N(`g`,See,[...r[4]||=[P(`path`,{d:`M213.66,165.66a8,8,0,0,1-11.32,0L128,91.31,53.66,165.66a8,8,0,0,1-11.32-11.32l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,213.66,165.66Z`},null,-1)]])):E(n)===`thin`?(y(),N(`g`,Cee,[...r[5]||=[P(`path`,{d:`M210.83,162.83a4,4,0,0,1-5.66,0L128,85.66,50.83,162.83a4,4,0,0,1-5.66-5.66l80-80a4,4,0,0,1,5.66,0l80,80A4,4,0,0,1,210.83,162.83Z`},null,-1)]])):A(``,!0)],16))}}),Tee={key:0},Eee={key:1},Dee={key:2},Oee={key:3},kee={key:4},Aee={key:5},io=T({name:`ScalarIconCheck`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Pa(e);return(e,r)=>(y(),N(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},E(t)),[S(e.$slots,`default`),E(n)===`bold`?(y(),N(`g`,Tee,[...r[0]||=[P(`path`,{d:`M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z`},null,-1)]])):E(n)===`duotone`?(y(),N(`g`,Eee,[...r[1]||=[P(`path`,{d:`M232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z`},null,-1)]])):E(n)===`fill`?(y(),N(`g`,Dee,[...r[2]||=[P(`path`,{d:`M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z`},null,-1)]])):E(n)===`light`?(y(),N(`g`,Oee,[...r[3]||=[P(`path`,{d:`M228.24,76.24l-128,128a6,6,0,0,1-8.48,0l-56-56a6,6,0,0,1,8.48-8.48L96,191.51,219.76,67.76a6,6,0,0,1,8.48,8.48Z`},null,-1)]])):E(n)===`regular`?(y(),N(`g`,kee,[...r[4]||=[P(`path`,{d:`M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z`},null,-1)]])):E(n)===`thin`?(y(),N(`g`,Aee,[...r[5]||=[P(`path`,{d:`M226.83,74.83l-128,128a4,4,0,0,1-5.66,0l-56-56a4,4,0,0,1,5.66-5.66L96,194.34,221.17,69.17a4,4,0,1,1,5.66,5.66Z`},null,-1)]])):A(``,!0)],16))}}),jee={key:0},Mee={key:1},Nee={key:2},Pee={key:3},Fee={key:4},Iee={key:5},ao=T({name:`ScalarIconCopy`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Pa(e);return(e,r)=>(y(),N(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},E(t)),[S(e.$slots,`default`),E(n)===`bold`?(y(),N(`g`,jee,[...r[0]||=[P(`path`,{d:`M216,28H88A12,12,0,0,0,76,40V76H40A12,12,0,0,0,28,88V216a12,12,0,0,0,12,12H168a12,12,0,0,0,12-12V180h36a12,12,0,0,0,12-12V40A12,12,0,0,0,216,28ZM156,204H52V100H156Zm48-48H180V88a12,12,0,0,0-12-12H100V52H204Z`},null,-1)]])):E(n)===`duotone`?(y(),N(`g`,Mee,[...r[1]||=[P(`path`,{d:`M216,40V168H168V88H88V40Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z`},null,-1)]])):E(n)===`fill`?(y(),N(`g`,Nee,[...r[2]||=[P(`path`,{d:`M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32Zm-8,128H176V88a8,8,0,0,0-8-8H96V48H208Z`},null,-1)]])):E(n)===`light`?(y(),N(`g`,Pee,[...r[3]||=[P(`path`,{d:`M216,34H88a6,6,0,0,0-6,6V82H40a6,6,0,0,0-6,6V216a6,6,0,0,0,6,6H168a6,6,0,0,0,6-6V174h42a6,6,0,0,0,6-6V40A6,6,0,0,0,216,34ZM162,210H46V94H162Zm48-48H174V88a6,6,0,0,0-6-6H94V46H210Z`},null,-1)]])):E(n)===`regular`?(y(),N(`g`,Fee,[...r[4]||=[P(`path`,{d:`M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z`},null,-1)]])):E(n)===`thin`?(y(),N(`g`,Iee,[...r[5]||=[P(`path`,{d:`M216,36H88a4,4,0,0,0-4,4V84H40a4,4,0,0,0-4,4V216a4,4,0,0,0,4,4H168a4,4,0,0,0,4-4V172h44a4,4,0,0,0,4-4V40A4,4,0,0,0,216,36ZM164,212H44V92H164Zm48-48H172V88a4,4,0,0,0-4-4H92V44H212Z`},null,-1)]])):A(``,!0)],16))}}),Lee={key:0},Ree={key:1},zee={key:2},Bee={key:3},Vee={key:4},Hee={key:5},Uee=T({name:`ScalarIconEnvelopeSimple`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Pa(e);return(e,r)=>(y(),N(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},E(t)),[S(e.$slots,`default`),E(n)===`bold`?(y(),N(`g`,Lee,[...r[0]||=[P(`path`,{d:`M224,44H32A12,12,0,0,0,20,56V192a20,20,0,0,0,20,20H216a20,20,0,0,0,20-20V56A12,12,0,0,0,224,44ZM193.15,68,128,127.72,62.85,68ZM44,188V83.28l75.89,69.57a12,12,0,0,0,16.22,0L212,83.28V188Z`},null,-1)]])):E(n)===`duotone`?(y(),N(`g`,Ree,[...r[1]||=[P(`path`,{d:`M224,56l-96,88L32,56Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM203.43,64,128,133.15,52.57,64ZM216,192H40V74.19l82.59,75.71a8,8,0,0,0,10.82,0L216,74.19V192Z`},null,-1)]])):E(n)===`fill`?(y(),N(`g`,zee,[...r[2]||=[P(`path`,{d:`M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48Zm-8,144H40V74.19l82.59,75.71a8,8,0,0,0,10.82,0L216,74.19V192Z`},null,-1)]])):E(n)===`light`?(y(),N(`g`,Bee,[...r[3]||=[P(`path`,{d:`M224,50H32a6,6,0,0,0-6,6V192a14,14,0,0,0,14,14H216a14,14,0,0,0,14-14V56A6,6,0,0,0,224,50ZM208.58,62,128,135.86,47.42,62ZM216,194H40a2,2,0,0,1-2-2V69.64l86,78.78a6,6,0,0,0,8.1,0L218,69.64V192A2,2,0,0,1,216,194Z`},null,-1)]])):E(n)===`regular`?(y(),N(`g`,Vee,[...r[4]||=[P(`path`,{d:`M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM203.43,64,128,133.15,52.57,64ZM216,192H40V74.19l82.59,75.71a8,8,0,0,0,10.82,0L216,74.19V192Z`},null,-1)]])):E(n)===`thin`?(y(),N(`g`,Hee,[...r[5]||=[P(`path`,{d:`M224,52H32a4,4,0,0,0-4,4V192a12,12,0,0,0,12,12H216a12,12,0,0,0,12-12V56A4,4,0,0,0,224,52Zm-10.28,8L128,138.57,42.28,60ZM216,196H40a4,4,0,0,1-4-4V65.09L125.3,147a4,4,0,0,0,5.4,0L220,65.09V192A4,4,0,0,1,216,196Z`},null,-1)]])):A(``,!0)],16))}}),Wee={key:0},Gee={key:1},Kee={key:2},qee={key:3},Jee={key:4},Yee={key:5},Xee=T({name:`ScalarIconEye`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Pa(e);return(e,r)=>(y(),N(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},E(t)),[S(e.$slots,`default`),E(n)===`bold`?(y(),N(`g`,Wee,[...r[0]||=[P(`path`,{d:`M251,123.13c-.37-.81-9.13-20.26-28.48-39.61C196.63,57.67,164,44,128,44S59.37,57.67,33.51,83.52C14.16,102.87,5.4,122.32,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212s68.63-13.66,94.48-39.51c19.36-19.35,28.12-38.79,28.49-39.61A12.08,12.08,0,0,0,251,123.13Zm-46.06,33C183.47,177.27,157.59,188,128,188s-55.47-10.73-76.91-31.88A130.36,130.36,0,0,1,29.52,128,130.45,130.45,0,0,1,51.09,99.89C72.54,78.73,98.41,68,128,68s55.46,10.73,76.91,31.89A130.36,130.36,0,0,1,226.48,128,130.45,130.45,0,0,1,204.91,156.12ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,64a20,20,0,1,1,20-20A20,20,0,0,1,128,148Z`},null,-1)]])):E(n)===`duotone`?(y(),N(`g`,Gee,[...r[1]||=[P(`path`,{d:`M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z`},null,-1)]])):E(n)===`fill`?(y(),N(`g`,Kee,[...r[2]||=[P(`path`,{d:`M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z`},null,-1)]])):E(n)===`light`?(y(),N(`g`,qee,[...r[3]||=[P(`path`,{d:`M245.48,125.57c-.34-.78-8.66-19.23-27.24-37.81C201,70.54,171.38,50,128,50S55,70.54,37.76,87.76c-18.58,18.58-26.9,37-27.24,37.81a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206s73-20.53,90.24-37.75c18.58-18.58,26.9-37,27.24-37.8A6,6,0,0,0,245.48,125.57ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.77,134.77,0,0,1,22.69,128,134.56,134.56,0,0,1,46.55,95.94C69.22,73.42,96.62,62,128,62s58.78,11.42,81.45,33.94A134.56,134.56,0,0,1,233.31,128C226.94,140.21,195,194,128,194Zm0-112a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162Z`},null,-1)]])):E(n)===`regular`?(y(),N(`g`,Jee,[...r[4]||=[P(`path`,{d:`M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z`},null,-1)]])):E(n)===`thin`?(y(),N(`g`,Yee,[...r[5]||=[P(`path`,{d:`M243.66,126.38c-.34-.76-8.52-18.89-26.83-37.2C199.87,72.22,170.7,52,128,52S56.13,72.22,39.17,89.18c-18.31,18.31-26.49,36.44-26.83,37.2a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17s71.87-20.21,88.83-37.17c18.31-18.31,26.49-36.43,26.83-37.2A4.08,4.08,0,0,0,243.66,126.38Zm-32.7,35c-23.07,23-51,34.62-83,34.62s-59.89-11.65-83-34.62A135.71,135.71,0,0,1,20.44,128,135.69,135.69,0,0,1,45,94.62C68.11,71.65,96,60,128,60s59.89,11.65,83,34.62A135.79,135.79,0,0,1,235.56,128,135.71,135.71,0,0,1,211,161.38ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Z`},null,-1)]])):A(``,!0)],16))}}),Zee={key:0},Qee={key:1},$ee={key:2},ete={key:3},tte={key:4},nte={key:5},rte=T({name:`ScalarIconEyeSlash`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Pa(e);return(e,r)=>(y(),N(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},E(t)),[S(e.$slots,`default`),E(n)===`bold`?(y(),N(`g`,Zee,[...r[0]||=[P(`path`,{d:`M56.88,31.93A12,12,0,1,0,39.12,48.07l16,17.65C20.67,88.66,5.72,121.58,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212a131.34,131.34,0,0,0,51-10l20.09,22.1a12,12,0,0,0,17.76-16.14ZM128,188c-29.59,0-55.47-10.73-76.91-31.88A130.69,130.69,0,0,1,29.52,128c5.27-9.31,18.79-29.9,42-44.29l90.09,99.11A109.33,109.33,0,0,1,128,188Zm123-55.12c-.36.81-9,20-28,39.16a12,12,0,1,1-17-16.9A130.48,130.48,0,0,0,226.48,128a130.36,130.36,0,0,0-21.57-28.12C183.46,78.73,157.59,68,128,68c-3.35,0-6.7.14-10,.42a12,12,0,1,1-2-23.91c3.93-.34,8-.51,12-.51,36,0,68.63,13.67,94.49,39.52,19.35,19.35,28.11,38.8,28.48,39.61A12.08,12.08,0,0,1,251,132.88Z`},null,-1)]])):E(n)===`duotone`?(y(),N(`g`,Qee,[...r[1]||=[P(`path`,{d:`M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z`},null,-1)]])):E(n)===`fill`?(y(),N(`g`,$ee,[...r[2]||=[P(`path`,{d:`M96.68,57.87a4,4,0,0,1,2.08-6.6A130.13,130.13,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41a8,8,0,0,1,0,6.5c-.35.79-8.82,19.57-27.65,38.4q-4.28,4.26-8.79,8.07a4,4,0,0,1-5.55-.36ZM213.92,210.62a8,8,0,1,1-11.84,10.76L180,197.13A127.21,127.21,0,0,1,128,208c-34.88,0-66.57-13.26-91.66-38.34C17.51,150.83,9,132.05,8.69,131.26a8,8,0,0,1,0-6.5C9,124,17.51,105.18,36.34,86.35a135,135,0,0,1,25-19.78L42.08,45.38A8,8,0,1,1,53.92,34.62Zm-65.49-48.25-52.69-58a40,40,0,0,0,52.69,58Z`},null,-1)]])):E(n)===`light`?(y(),N(`g`,ete,[...r[3]||=[P(`path`,{d:`M52.44,36A6,6,0,0,0,43.56,44L64.44,67c-37.28,21.9-53.23,57-53.92,58.57a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206a124.91,124.91,0,0,0,52.57-11.25l23,25.29a6,6,0,0,0,8.88-8.08Zm48.62,71.32,45,49.52a34,34,0,0,1-45-49.52ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.57,134.57,0,0,1,22.69,128c4.29-8.2,20.1-35.18,50-51.91L92.89,98.3a46,46,0,0,0,61.35,67.48l17.81,19.6A113.47,113.47,0,0,1,128,194Zm6.4-99.4a6,6,0,0,1,2.25-11.79,46.17,46.17,0,0,1,37.15,40.87,6,6,0,0,1-5.42,6.53l-.56,0a6,6,0,0,1-6-5.45A34.1,34.1,0,0,0,134.4,94.6Zm111.08,35.85c-.41.92-10.37,23-32.86,43.12a6,6,0,1,1-8-8.94A134.07,134.07,0,0,0,233.31,128a134.67,134.67,0,0,0-23.86-32.07C186.78,73.42,159.38,62,128,62a120.19,120.19,0,0,0-19.69,1.6,6,6,0,1,1-2-11.83A131.12,131.12,0,0,1,128,50c43.38,0,73,20.54,90.24,37.76,18.58,18.58,26.9,37,27.24,37.81A6,6,0,0,1,245.48,130.45Z`},null,-1)]])):E(n)===`regular`?(y(),N(`g`,tte,[...r[4]||=[P(`path`,{d:`M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z`},null,-1)]])):E(n)===`thin`?(y(),N(`g`,nte,[...r[5]||=[P(`path`,{d:`M51,37.31A4,4,0,0,0,45,42.69L67.59,67.5C29.34,89,13,124.81,12.34,126.38a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17a122.59,122.59,0,0,0,53.06-11.69l24,26.38a4,4,0,1,0,5.92-5.38ZM149.1,157.16A36,36,0,0,1,101,104.22ZM128,196c-32,0-59.89-11.65-83-34.62A135.81,135.81,0,0,1,20.44,128c3.65-7.23,20.09-36.81,52.68-54.43l22.45,24.7a44,44,0,0,0,59,64.83l20.89,23A114.94,114.94,0,0,1,128,196Zm6.78-103.36a4,4,0,0,1,1.49-7.86,44.15,44.15,0,0,1,35.54,39.09,4,4,0,0,1-3.61,4.35l-.38,0a4,4,0,0,1-4-3.63A36.1,36.1,0,0,0,134.78,92.64Zm108.88,37c-.41.91-10.2,22.58-32.38,42.45a4,4,0,0,1-2.67,1,4,4,0,0,1-2.67-7A136.71,136.71,0,0,0,235.56,128,136.07,136.07,0,0,0,211,94.62C187.89,71.65,160,60,128,60a122,122,0,0,0-20,1.63,4,4,0,0,1-1.32-7.89A129.3,129.3,0,0,1,128,52c42.7,0,71.87,20.22,88.83,37.18,18.31,18.31,26.49,36.44,26.83,37.2A4.08,4.08,0,0,1,243.66,129.63Z`},null,-1)]])):A(``,!0)],16))}}),ite={key:0},ate={key:1},ote={key:2},ste={key:3},cte={key:4},lte={key:5},oo=T({name:`ScalarIconGear`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Pa(e);return(e,r)=>(y(),N(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},E(t)),[S(e.$slots,`default`),E(n)===`bold`?(y(),N(`g`,ite,[...r[0]||=[P(`path`,{d:`M128,76a52,52,0,1,0,52,52A52.06,52.06,0,0,0,128,76Zm0,80a28,28,0,1,1,28-28A28,28,0,0,1,128,156Zm92-27.21v-1.58l14-17.51a12,12,0,0,0,2.23-10.59A111.75,111.75,0,0,0,225,71.89,12,12,0,0,0,215.89,66L193.61,63.5l-1.11-1.11L190,40.1A12,12,0,0,0,184.11,31a111.67,111.67,0,0,0-27.23-11.27A12,12,0,0,0,146.3,22L128.79,36h-1.58L109.7,22a12,12,0,0,0-10.59-2.23A111.75,111.75,0,0,0,71.89,31.05,12,12,0,0,0,66,40.11L63.5,62.39,62.39,63.5,40.1,66A12,12,0,0,0,31,71.89,111.67,111.67,0,0,0,19.77,99.12,12,12,0,0,0,22,109.7l14,17.51v1.58L22,146.3a12,12,0,0,0-2.23,10.59,111.75,111.75,0,0,0,11.29,27.22A12,12,0,0,0,40.11,190l22.28,2.48,1.11,1.11L66,215.9A12,12,0,0,0,71.89,225a111.67,111.67,0,0,0,27.23,11.27A12,12,0,0,0,109.7,234l17.51-14h1.58l17.51,14a12,12,0,0,0,10.59,2.23A111.75,111.75,0,0,0,184.11,225a12,12,0,0,0,5.91-9.06l2.48-22.28,1.11-1.11L215.9,190a12,12,0,0,0,9.06-5.91,111.67,111.67,0,0,0,11.27-27.23A12,12,0,0,0,234,146.3Zm-24.12-4.89a70.1,70.1,0,0,1,0,8.2,12,12,0,0,0,2.61,8.22l12.84,16.05A86.47,86.47,0,0,1,207,166.86l-20.43,2.27a12,12,0,0,0-7.65,4,69,69,0,0,1-5.8,5.8,12,12,0,0,0-4,7.65L166.86,207a86.47,86.47,0,0,1-10.49,4.35l-16.05-12.85a12,12,0,0,0-7.5-2.62c-.24,0-.48,0-.72,0a70.1,70.1,0,0,1-8.2,0,12.06,12.06,0,0,0-8.22,2.6L99.63,211.33A86.47,86.47,0,0,1,89.14,207l-2.27-20.43a12,12,0,0,0-4-7.65,69,69,0,0,1-5.8-5.8,12,12,0,0,0-7.65-4L49,166.86a86.47,86.47,0,0,1-4.35-10.49l12.84-16.05a12,12,0,0,0,2.61-8.22,70.1,70.1,0,0,1,0-8.2,12,12,0,0,0-2.61-8.22L44.67,99.63A86.47,86.47,0,0,1,49,89.14l20.43-2.27a12,12,0,0,0,7.65-4,69,69,0,0,1,5.8-5.8,12,12,0,0,0,4-7.65L89.14,49a86.47,86.47,0,0,1,10.49-4.35l16.05,12.85a12.06,12.06,0,0,0,8.22,2.6,70.1,70.1,0,0,1,8.2,0,12,12,0,0,0,8.22-2.6l16.05-12.85A86.47,86.47,0,0,1,166.86,49l2.27,20.43a12,12,0,0,0,4,7.65,69,69,0,0,1,5.8,5.8,12,12,0,0,0,7.65,4L207,89.14a86.47,86.47,0,0,1,4.35,10.49l-12.84,16.05A12,12,0,0,0,195.88,123.9Z`},null,-1)]])):E(n)===`duotone`?(y(),N(`g`,ate,[...r[1]||=[P(`path`,{d:`M207.86,123.18l16.78-21a99.14,99.14,0,0,0-10.07-24.29l-26.7-3a81,81,0,0,0-6.81-6.81l-3-26.71a99.43,99.43,0,0,0-24.3-10l-21,16.77a81.59,81.59,0,0,0-9.64,0l-21-16.78A99.14,99.14,0,0,0,77.91,41.43l-3,26.7a81,81,0,0,0-6.81,6.81l-26.71,3a99.43,99.43,0,0,0-10,24.3l16.77,21a81.59,81.59,0,0,0,0,9.64l-16.78,21a99.14,99.14,0,0,0,10.07,24.29l26.7,3a81,81,0,0,0,6.81,6.81l3,26.71a99.43,99.43,0,0,0,24.3,10l21-16.77a81.59,81.59,0,0,0,9.64,0l21,16.78a99.14,99.14,0,0,0,24.29-10.07l3-26.7a81,81,0,0,0,6.81-6.81l26.71-3a99.43,99.43,0,0,0,10-24.3l-16.77-21A81.59,81.59,0,0,0,207.86,123.18ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.6,107.6,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.29,107.29,0,0,0-26.25-10.86,8,8,0,0,0-7.06,1.48L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.6,107.6,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8.06,8.06,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8.06,8.06,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z`},null,-1)]])):E(n)===`fill`?(y(),N(`g`,ote,[...r[2]||=[P(`path`,{d:`M216,130.16q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.6,107.6,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.29,107.29,0,0,0-26.25-10.86,8,8,0,0,0-7.06,1.48L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.6,107.6,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z`},null,-1)]])):E(n)===`light`?(y(),N(`g`,ste,[...r[3]||=[P(`path`,{d:`M128,82a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162ZM214,130.84c.06-1.89.06-3.79,0-5.68L229.33,106a6,6,0,0,0,1.11-5.29A105.34,105.34,0,0,0,219.76,74.9a6,6,0,0,0-4.53-3l-24.45-2.71q-1.93-2.07-4-4l-2.72-24.46a6,6,0,0,0-3-4.53,105.65,105.65,0,0,0-25.77-10.66A6,6,0,0,0,150,26.68l-19.2,15.37c-1.89-.06-3.79-.06-5.68,0L106,26.67a6,6,0,0,0-5.29-1.11A105.34,105.34,0,0,0,74.9,36.24a6,6,0,0,0-3,4.53L69.23,65.22q-2.07,1.94-4,4L40.76,72a6,6,0,0,0-4.53,3,105.65,105.65,0,0,0-10.66,25.77A6,6,0,0,0,26.68,106l15.37,19.2c-.06,1.89-.06,3.79,0,5.68L26.67,150.05a6,6,0,0,0-1.11,5.29A105.34,105.34,0,0,0,36.24,181.1a6,6,0,0,0,4.53,3l24.45,2.71q1.94,2.07,4,4L72,215.24a6,6,0,0,0,3,4.53,105.65,105.65,0,0,0,25.77,10.66,6,6,0,0,0,5.29-1.11L125.16,214c1.89.06,3.79.06,5.68,0l19.21,15.38a6,6,0,0,0,3.75,1.31,6.2,6.2,0,0,0,1.54-.2,105.34,105.34,0,0,0,25.76-10.68,6,6,0,0,0,3-4.53l2.71-24.45q2.07-1.93,4-4l24.46-2.72a6,6,0,0,0,4.53-3,105.49,105.49,0,0,0,10.66-25.77,6,6,0,0,0-1.11-5.29Zm-3.1,41.63-23.64,2.63a6,6,0,0,0-3.82,2,75.14,75.14,0,0,1-6.31,6.31,6,6,0,0,0-2,3.82l-2.63,23.63A94.28,94.28,0,0,1,155.14,218l-18.57-14.86a6,6,0,0,0-3.75-1.31h-.36a78.07,78.07,0,0,1-8.92,0,6,6,0,0,0-4.11,1.3L100.87,218a94.13,94.13,0,0,1-17.34-7.17L80.9,187.21a6,6,0,0,0-2-3.82,75.14,75.14,0,0,1-6.31-6.31,6,6,0,0,0-3.82-2l-23.63-2.63A94.28,94.28,0,0,1,38,155.14l14.86-18.57a6,6,0,0,0,1.3-4.11,78.07,78.07,0,0,1,0-8.92,6,6,0,0,0-1.3-4.11L38,100.87a94.13,94.13,0,0,1,7.17-17.34L68.79,80.9a6,6,0,0,0,3.82-2,75.14,75.14,0,0,1,6.31-6.31,6,6,0,0,0,2-3.82l2.63-23.63A94.28,94.28,0,0,1,100.86,38l18.57,14.86a6,6,0,0,0,4.11,1.3,78.07,78.07,0,0,1,8.92,0,6,6,0,0,0,4.11-1.3L155.13,38a94.13,94.13,0,0,1,17.34,7.17l2.63,23.64a6,6,0,0,0,2,3.82,75.14,75.14,0,0,1,6.31,6.31,6,6,0,0,0,3.82,2l23.63,2.63A94.28,94.28,0,0,1,218,100.86l-14.86,18.57a6,6,0,0,0-1.3,4.11,78.07,78.07,0,0,1,0,8.92,6,6,0,0,0,1.3,4.11L218,155.13A94.13,94.13,0,0,1,210.85,172.47Z`},null,-1)]])):E(n)===`regular`?(y(),N(`g`,cte,[...r[4]||=[P(`path`,{d:`M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.21,107.21,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.71,107.71,0,0,0-26.25-10.87,8,8,0,0,0-7.06,1.49L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.21,107.21,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8,8,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8,8,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z`},null,-1)]])):E(n)===`thin`?(y(),N(`g`,lte,[...r[5]||=[P(`path`,{d:`M128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Zm83.93-32.49q.13-3.51,0-7l15.83-19.79a4,4,0,0,0,.75-3.53A103.64,103.64,0,0,0,218,75.9a4,4,0,0,0-3-2l-25.19-2.8c-1.58-1.71-3.24-3.37-4.95-4.95L182.07,41a4,4,0,0,0-2-3A104,104,0,0,0,154.82,27.5a4,4,0,0,0-3.53.74L131.51,44.07q-3.51-.14-7,0L104.7,28.24a4,4,0,0,0-3.53-.75A103.64,103.64,0,0,0,75.9,38a4,4,0,0,0-2,3l-2.8,25.19c-1.71,1.58-3.37,3.24-4.95,4.95L41,73.93a4,4,0,0,0-3,2A104,104,0,0,0,27.5,101.18a4,4,0,0,0,.74,3.53l15.83,19.78q-.14,3.51,0,7L28.24,151.3a4,4,0,0,0-.75,3.53A103.64,103.64,0,0,0,38,180.1a4,4,0,0,0,3,2l25.19,2.8c1.58,1.71,3.24,3.37,4.95,4.95l2.8,25.2a4,4,0,0,0,2,3,104,104,0,0,0,25.28,10.46,4,4,0,0,0,3.53-.74l19.78-15.83q3.51.13,7,0l19.79,15.83a4,4,0,0,0,2.5.88,4,4,0,0,0,1-.13A103.64,103.64,0,0,0,180.1,218a4,4,0,0,0,2-3l2.8-25.19c1.71-1.58,3.37-3.24,4.95-4.95l25.2-2.8a4,4,0,0,0,3-2,104,104,0,0,0,10.46-25.28,4,4,0,0,0-.74-3.53Zm.17,42.83-24.67,2.74a4,4,0,0,0-2.55,1.32,76.2,76.2,0,0,1-6.48,6.48,4,4,0,0,0-1.32,2.55l-2.74,24.66a95.45,95.45,0,0,1-19.64,8.15l-19.38-15.51a4,4,0,0,0-2.5-.87h-.24a73.67,73.67,0,0,1-9.16,0,4,4,0,0,0-2.74.87l-19.37,15.5a95.33,95.33,0,0,1-19.65-8.13l-2.74-24.67a4,4,0,0,0-1.32-2.55,76.2,76.2,0,0,1-6.48-6.48,4,4,0,0,0-2.55-1.32l-24.66-2.74a95.45,95.45,0,0,1-8.15-19.64l15.51-19.38a4,4,0,0,0,.87-2.74,77.76,77.76,0,0,1,0-9.16,4,4,0,0,0-.87-2.74l-15.5-19.37A95.33,95.33,0,0,1,43.9,81.66l24.67-2.74a4,4,0,0,0,2.55-1.32,76.2,76.2,0,0,1,6.48-6.48,4,4,0,0,0,1.32-2.55l2.74-24.66a95.45,95.45,0,0,1,19.64-8.15l19.38,15.51a4,4,0,0,0,2.74.87,73.67,73.67,0,0,1,9.16,0,4,4,0,0,0,2.74-.87l19.37-15.5a95.33,95.33,0,0,1,19.65,8.13l2.74,24.67a4,4,0,0,0,1.32,2.55,76.2,76.2,0,0,1,6.48,6.48,4,4,0,0,0,2.55,1.32l24.66,2.74a95.45,95.45,0,0,1,8.15,19.64l-15.51,19.38a4,4,0,0,0-.87,2.74,77.76,77.76,0,0,1,0,9.16,4,4,0,0,0,.87,2.74l15.5,19.37A95.33,95.33,0,0,1,212.1,174.34Z`},null,-1)]])):A(``,!0)],16))}}),ute={key:0},dte={key:1},fte={key:2},pte={key:3},mte={key:4},hte={key:5},gte=T({name:`ScalarIconInfo`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Pa(e);return(e,r)=>(y(),N(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},E(t)),[S(e.$slots,`default`),E(n)===`bold`?(y(),N(`g`,ute,[...r[0]||=[P(`path`,{d:`M108,84a16,16,0,1,1,16,16A16,16,0,0,1,108,84Zm128,44A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Zm-72,36.68V132a20,20,0,0,0-20-20,12,12,0,0,0-4,23.32V168a20,20,0,0,0,20,20,12,12,0,0,0,4-23.32Z`},null,-1)]])):E(n)===`duotone`?(y(),N(`g`,dte,[...r[1]||=[P(`path`,{d:`M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M144,176a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176Zm88-48A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128ZM124,96a12,12,0,1,0-12-12A12,12,0,0,0,124,96Z`},null,-1)]])):E(n)===`fill`?(y(),N(`g`,fte,[...r[2]||=[P(`path`,{d:`M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-4,48a12,12,0,1,1-12,12A12,12,0,0,1,124,72Zm12,112a16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40a8,8,0,0,1,0,16Z`},null,-1)]])):E(n)===`light`?(y(),N(`g`,pte,[...r[3]||=[P(`path`,{d:`M142,176a6,6,0,0,1-6,6,14,14,0,0,1-14-14V128a2,2,0,0,0-2-2,6,6,0,0,1,0-12,14,14,0,0,1,14,14v40a2,2,0,0,0,2,2A6,6,0,0,1,142,176ZM124,94a10,10,0,1,0-10-10A10,10,0,0,0,124,94Zm106,34A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z`},null,-1)]])):E(n)===`regular`?(y(),N(`g`,mte,[...r[4]||=[P(`path`,{d:`M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z`},null,-1)]])):E(n)===`thin`?(y(),N(`g`,hte,[...r[5]||=[P(`path`,{d:`M140,176a4,4,0,0,1-4,4,12,12,0,0,1-12-12V128a4,4,0,0,0-4-4,4,4,0,0,1,0-8,12,12,0,0,1,12,12v40a4,4,0,0,0,4,4A4,4,0,0,1,140,176ZM124,92a8,8,0,1,0-8-8A8,8,0,0,0,124,92Zm104,36A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z`},null,-1)]])):A(``,!0)],16))}}),_te={key:0},vte={key:1},yte={key:2},bte={key:3},xte={key:4},Ste={key:5},so=T({name:`ScalarIconMagnifyingGlass`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Pa(e);return(e,r)=>(y(),N(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},E(t)),[S(e.$slots,`default`),E(n)===`bold`?(y(),N(`g`,_te,[...r[0]||=[P(`path`,{d:`M232.49,215.51,185,168a92.12,92.12,0,1,0-17,17l47.53,47.54a12,12,0,0,0,17-17ZM44,112a68,68,0,1,1,68,68A68.07,68.07,0,0,1,44,112Z`},null,-1)]])):E(n)===`duotone`?(y(),N(`g`,vte,[...r[1]||=[P(`path`,{d:`M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z`},null,-1)]])):E(n)===`fill`?(y(),N(`g`,yte,[...r[2]||=[P(`path`,{d:`M168,112a56,56,0,1,1-56-56A56,56,0,0,1,168,112Zm61.66,117.66a8,8,0,0,1-11.32,0l-50.06-50.07a88,88,0,1,1,11.32-11.31l50.06,50.06A8,8,0,0,1,229.66,229.66ZM112,184a72,72,0,1,0-72-72A72.08,72.08,0,0,0,112,184Z`},null,-1)]])):E(n)===`light`?(y(),N(`g`,bte,[...r[3]||=[P(`path`,{d:`M228.24,219.76l-51.38-51.38a86.15,86.15,0,1,0-8.48,8.48l51.38,51.38a6,6,0,0,0,8.48-8.48ZM38,112a74,74,0,1,1,74,74A74.09,74.09,0,0,1,38,112Z`},null,-1)]])):E(n)===`regular`?(y(),N(`g`,xte,[...r[4]||=[P(`path`,{d:`M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z`},null,-1)]])):E(n)===`thin`?(y(),N(`g`,Ste,[...r[5]||=[P(`path`,{d:`M226.83,221.17l-52.7-52.7a84.1,84.1,0,1,0-5.66,5.66l52.7,52.7a4,4,0,0,0,5.66-5.66ZM36,112a76,76,0,1,1,76,76A76.08,76.08,0,0,1,36,112Z`},null,-1)]])):A(``,!0)],16))}}),Cte={key:0},wte={key:1},Tte={key:2},Ete={key:3},Dte={key:4},Ote={key:5},co=T({name:`ScalarIconPencilSimple`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Pa(e);return(e,r)=>(y(),N(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},E(t)),[S(e.$slots,`default`),E(n)===`bold`?(y(),N(`g`,Cte,[...r[0]||=[P(`path`,{d:`M230.14,70.54,185.46,25.85a20,20,0,0,0-28.29,0L33.86,149.17A19.85,19.85,0,0,0,28,163.31V208a20,20,0,0,0,20,20H92.69a19.86,19.86,0,0,0,14.14-5.86L230.14,98.82a20,20,0,0,0,0-28.28ZM91,204H52V165l84-84,39,39ZM192,103,153,64l18.34-18.34,39,39Z`},null,-1)]])):E(n)===`duotone`?(y(),N(`g`,wte,[...r[1]||=[P(`path`,{d:`M221.66,90.34,192,120,136,64l29.66-29.66a8,8,0,0,1,11.31,0L221.66,79A8,8,0,0,1,221.66,90.34Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM92.69,208H48V163.31l88-88L180.69,120ZM192,108.68,147.31,64l24-24L216,84.68Z`},null,-1)]])):E(n)===`fill`?(y(),N(`g`,Tte,[...r[2]||=[P(`path`,{d:`M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM192,108.68,147.31,64l24-24L216,84.68Z`},null,-1)]])):E(n)===`light`?(y(),N(`g`,Ete,[...r[3]||=[P(`path`,{d:`M225.9,74.78,181.21,30.09a14,14,0,0,0-19.8,0L38.1,153.41a13.94,13.94,0,0,0-4.1,9.9V208a14,14,0,0,0,14,14H92.69a13.94,13.94,0,0,0,9.9-4.1L225.9,94.58a14,14,0,0,0,0-19.8ZM94.1,209.41a2,2,0,0,1-1.41.59H48a2,2,0,0,1-2-2V163.31a2,2,0,0,1,.59-1.41L136,72.48,183.51,120ZM217.41,86.1,192,111.51,144.49,64,169.9,38.58a2,2,0,0,1,2.83,0l44.68,44.69a2,2,0,0,1,0,2.83Z`},null,-1)]])):E(n)===`regular`?(y(),N(`g`,Dte,[...r[4]||=[P(`path`,{d:`M227.31,73.37,182.63,28.68a16,16,0,0,0-22.63,0L36.69,152A15.86,15.86,0,0,0,32,163.31V208a16,16,0,0,0,16,16H92.69A15.86,15.86,0,0,0,104,219.31L227.31,96a16,16,0,0,0,0-22.63ZM92.69,208H48V163.31l88-88L180.69,120ZM192,108.68,147.31,64l24-24L216,84.68Z`},null,-1)]])):E(n)===`thin`?(y(),N(`g`,Ote,[...r[5]||=[P(`path`,{d:`M224.49,76.2,179.8,31.51a12,12,0,0,0-17,0L133.17,61.17h0L39.52,154.83A11.9,11.9,0,0,0,36,163.31V208a12,12,0,0,0,12,12H92.69a12,12,0,0,0,8.48-3.51L224.48,93.17a12,12,0,0,0,0-17Zm-129,134.63A4,4,0,0,1,92.69,212H48a4,4,0,0,1-4-4V163.31a4,4,0,0,1,1.17-2.83L136,69.65,186.34,120ZM218.83,87.51,192,114.34,141.66,64l26.82-26.83a4,4,0,0,1,5.66,0l44.69,44.68a4,4,0,0,1,0,5.66Z`},null,-1)]])):A(``,!0)],16))}}),kte={key:0},Ate={key:1},jte={key:2},Mte={key:3},Nte={key:4},Pte={key:5},lo=T({name:`ScalarIconPlus`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Pa(e);return(e,r)=>(y(),N(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},E(t)),[S(e.$slots,`default`),E(n)===`bold`?(y(),N(`g`,kte,[...r[0]||=[P(`path`,{d:`M228,128a12,12,0,0,1-12,12H140v76a12,12,0,0,1-24,0V140H40a12,12,0,0,1,0-24h76V40a12,12,0,0,1,24,0v76h76A12,12,0,0,1,228,128Z`},null,-1)]])):E(n)===`duotone`?(y(),N(`g`,Ate,[...r[1]||=[P(`path`,{d:`M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z`},null,-1)]])):E(n)===`fill`?(y(),N(`g`,jte,[...r[2]||=[P(`path`,{d:`M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM184,136H136v48a8,8,0,0,1-16,0V136H72a8,8,0,0,1,0-16h48V72a8,8,0,0,1,16,0v48h48a8,8,0,0,1,0,16Z`},null,-1)]])):E(n)===`light`?(y(),N(`g`,Mte,[...r[3]||=[P(`path`,{d:`M222,128a6,6,0,0,1-6,6H134v82a6,6,0,0,1-12,0V134H40a6,6,0,0,1,0-12h82V40a6,6,0,0,1,12,0v82h82A6,6,0,0,1,222,128Z`},null,-1)]])):E(n)===`regular`?(y(),N(`g`,Nte,[...r[4]||=[P(`path`,{d:`M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z`},null,-1)]])):E(n)===`thin`?(y(),N(`g`,Pte,[...r[5]||=[P(`path`,{d:`M220,128a4,4,0,0,1-4,4H132v84a4,4,0,0,1-8,0V132H40a4,4,0,0,1,0-8h84V40a4,4,0,0,1,8,0v84h84A4,4,0,0,1,220,128Z`},null,-1)]])):A(``,!0)],16))}}),Fte={key:0},Ite={key:1},Lte={key:2},Rte={key:3},zte={key:4},Bte={key:5},uo=T({name:`ScalarIconTrash`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Pa(e);return(e,r)=>(y(),N(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},E(t)),[S(e.$slots,`default`),E(n)===`bold`?(y(),N(`g`,Fte,[...r[0]||=[P(`path`,{d:`M216,48H180V36A28,28,0,0,0,152,8H104A28,28,0,0,0,76,36V48H40a12,12,0,0,0,0,24h4V208a20,20,0,0,0,20,20H192a20,20,0,0,0,20-20V72h4a12,12,0,0,0,0-24ZM100,36a4,4,0,0,1,4-4h48a4,4,0,0,1,4,4V48H100Zm88,168H68V72H188ZM116,104v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Zm48,0v64a12,12,0,0,1-24,0V104a12,12,0,0,1,24,0Z`},null,-1)]])):E(n)===`duotone`?(y(),N(`g`,Ite,[...r[1]||=[P(`path`,{d:`M200,56V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V56Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z`},null,-1)]])):E(n)===`fill`?(y(),N(`g`,Lte,[...r[2]||=[P(`path`,{d:`M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM112,168a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm0-120H96V40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8Z`},null,-1)]])):E(n)===`light`?(y(),N(`g`,Rte,[...r[3]||=[P(`path`,{d:`M216,50H174V40a22,22,0,0,0-22-22H104A22,22,0,0,0,82,40V50H40a6,6,0,0,0,0,12H50V208a14,14,0,0,0,14,14H192a14,14,0,0,0,14-14V62h10a6,6,0,0,0,0-12ZM94,40a10,10,0,0,1,10-10h48a10,10,0,0,1,10,10V50H94ZM194,208a2,2,0,0,1-2,2H64a2,2,0,0,1-2-2V62H194ZM110,104v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Zm48,0v64a6,6,0,0,1-12,0V104a6,6,0,0,1,12,0Z`},null,-1)]])):E(n)===`regular`?(y(),N(`g`,zte,[...r[4]||=[P(`path`,{d:`M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z`},null,-1)]])):E(n)===`thin`?(y(),N(`g`,Bte,[...r[5]||=[P(`path`,{d:`M216,52H172V40a20,20,0,0,0-20-20H104A20,20,0,0,0,84,40V52H40a4,4,0,0,0,0,8H52V208a12,12,0,0,0,12,12H192a12,12,0,0,0,12-12V60h12a4,4,0,0,0,0-8ZM92,40a12,12,0,0,1,12-12h48a12,12,0,0,1,12,12V52H92ZM196,208a4,4,0,0,1-4,4H64a4,4,0,0,1-4-4V60H196ZM108,104v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Zm48,0v64a4,4,0,0,1-8,0V104a4,4,0,0,1,8,0Z`},null,-1)]])):A(``,!0)],16))}}),Vte={key:0},Hte={key:1},Ute={key:2},Wte={key:3},Gte={key:4},Kte={key:5},fo=T({name:`ScalarIconWebhooksLogo`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Pa(e);return(e,r)=>(y(),N(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},E(t)),[S(e.$slots,`default`),E(n)===`bold`?(y(),N(`g`,Vte,[...r[0]||=[P(`path`,{d:`M192,180H118.71a56,56,0,1,1-104.6-37.46,12,12,0,1,1,21.37,10.92A31.64,31.64,0,0,0,32,168a32,32,0,0,0,64,0,12,12,0,0,1,12-12h84a12,12,0,0,1,0,24Zm0-68a55.9,55.9,0,0,0-18.45,3.12L138.22,57.71a12,12,0,0,0-20.44,12.58l40.94,66.52a12,12,0,0,0,16.52,3.93,32,32,0,1,1,19.68,59.13A12,12,0,0,0,196,223.82a10.05,10.05,0,0,0,1.09,0A56,56,0,0,0,192,112ZM57.71,178.22a12,12,0,0,0,16.51-3.93l40.94-66.52a12,12,0,0,0-3.92-16.51,32,32,0,1,1,45.28-41.8,12,12,0,1,0,21.37-10.92A56,56,0,1,0,89.1,104.32L53.78,161.71A12,12,0,0,0,57.71,178.22Z`},null,-1)]])):E(n)===`duotone`?(y(),N(`g`,Hte,[...r[1]||=[P(`path`,{d:`M128,104a40,40,0,1,1,40-40A40,40,0,0,1,128,104Zm64,24a40,40,0,1,0,40,40A40,40,0,0,0,192,128ZM64,128a40,40,0,1,0,40,40A40,40,0,0,0,64,128Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M178.16,176H111.32A48,48,0,1,1,25.6,139.19a8,8,0,0,1,12.8,9.61A31.69,31.69,0,0,0,32,168a32,32,0,0,0,64,0,8,8,0,0,1,8-8h74.16a16,16,0,1,1,0,16ZM64,184a16,16,0,0,0,14.08-23.61l35.77-58.14a8,8,0,0,0-2.62-11,32,32,0,1,1,46.1-40.06A8,8,0,1,0,172,44.79a48,48,0,1,0-75.62,55.33L64.44,152c-.15,0-.29,0-.44,0a16,16,0,0,0,0,32Zm128-64a48.18,48.18,0,0,0-18,3.49L142.08,71.6A16,16,0,1,0,128,80l.44,0,35.78,58.15a8,8,0,0,0,11,2.61A32,32,0,1,1,192,200a8,8,0,0,0,0,16,48,48,0,0,0,0-96Z`},null,-1)]])):E(n)===`fill`?(y(),N(`g`,Ute,[...r[2]||=[P(`path`,{d:`M50.15,160,89.07,92.57l-2.24-3.88a48,48,0,1,1,85.05-44.17,8.17,8.17,0,0,1-3.19,10.4,8,8,0,0,1-11.35-3.72,32,32,0,1,0-56.77,29.3.57.57,0,0,1,.08.13l13.83,23.94a8,8,0,0,1,0,8L77.86,176a16,16,0,0,1-27.71-16Zm141-40H178.81L141.86,56a16,16,0,0,0-27.71,16l34.64,60a8,8,0,0,0,6.92,4h35.63c17.89,0,32.95,14.64,32.66,32.53A32,32,0,0,1,192.31,200a8.23,8.23,0,0,0-8.28,7.33,8,8,0,0,0,8,8.67,48.05,48.05,0,0,0,48-48.93C239.49,140.79,217.48,120,191.19,120ZM208,167.23c-.4-8.61-7.82-15.23-16.43-15.23H114.81a8,8,0,0,0-6.93,4L91.72,184h0a32,32,0,1,1-53.47-35,8.2,8.2,0,0,0-.92-11,8,8,0,0,0-11.72,1.17A47.63,47.63,0,0,0,16,167.54,48,48,0,0,0,105.55,192v0l4.62-8H192A16,16,0,0,0,208,167.23Z`},null,-1)]])):E(n)===`light`?(y(),N(`g`,Wte,[...r[3]||=[P(`path`,{d:`M179.37,174H109.6a46,46,0,1,1-82.4-33.61,6,6,0,0,1,9.6,7.21A33.68,33.68,0,0,0,30,168a34,34,0,0,0,68,0,6,6,0,0,1,6-6h75.37a14,14,0,1,1,0,12ZM64,182a14,14,0,0,0,11.73-21.62l36.42-59.18a6,6,0,0,0-2-8.25,34,34,0,1,1,49-42.57,6,6,0,1,0,11-4.79A46,46,0,1,0,99,99.7L65.52,154.08c-.5-.05-1-.08-1.52-.08a14,14,0,0,0,0,28Zm128-60a46,46,0,0,0-18.8,4L139.73,71.61A14,14,0,1,0,128,78a12.79,12.79,0,0,0,1.52-.09l36.4,59.17a6.05,6.05,0,0,0,3.73,2.69,6,6,0,0,0,4.53-.73A34,34,0,1,1,192,202a6,6,0,0,0,0,12,46,46,0,0,0,0-92Z`},null,-1)]])):E(n)===`regular`?(y(),N(`g`,Gte,[...r[4]||=[P(`path`,{d:`M178.16,176H111.32A48,48,0,1,1,25.6,139.19a8,8,0,0,1,12.8,9.61A31.69,31.69,0,0,0,32,168a32,32,0,0,0,64,0,8,8,0,0,1,8-8h74.16a16,16,0,1,1,0,16ZM64,184a16,16,0,0,0,14.08-23.61l35.77-58.14a8,8,0,0,0-2.62-11,32,32,0,1,1,46.1-40.06A8,8,0,1,0,172,44.79a48,48,0,1,0-75.62,55.33L64.44,152c-.15,0-.29,0-.44,0a16,16,0,0,0,0,32Zm128-64a48.18,48.18,0,0,0-18,3.49L142.08,71.6A16,16,0,1,0,128,80l.44,0,35.78,58.15a8,8,0,0,0,11,2.61A32,32,0,1,1,192,200a8,8,0,0,0,0,16,48,48,0,0,0,0-96Z`},null,-1)]])):E(n)===`thin`?(y(),N(`g`,Kte,[...r[5]||=[P(`path`,{d:`M180.7,172H107.81a44,44,0,1,1-79-30.41,4,4,0,0,1,6.4,4.81A35.67,35.67,0,0,0,28,168a36,36,0,0,0,72,0,4,4,0,0,1,4-4h76.7a12,12,0,1,1,0,8ZM64,180a12,12,0,0,0,9.33-19.54l37.11-60.3a4,4,0,0,0-1.31-5.51A36,36,0,1,1,161,49.58a4,4,0,1,0,7.33-3.19,44,44,0,1,0-66.71,52.83l-35.1,57.05A11.58,11.58,0,0,0,64,156a12,12,0,0,0,0,24Zm128-56a44,44,0,0,0-19.56,4.58l-35.11-57A12,12,0,1,0,128,76a12.24,12.24,0,0,0,2.52-.27L167.63,136a4,4,0,0,0,5.5,1.31A36,36,0,1,1,192,204a4,4,0,0,0,0,8,44,44,0,0,0,0-88Z`},null,-1)]])):A(``,!0)],16))}}),qte={key:0},Jte={key:1},Yte={key:2},Xte={key:3},Zte={key:4},Qte={key:5},po=T({name:`ScalarIconX`,props:{label:{},weight:{}},setup(e){let{bind:t,weight:n}=Pa(e);return(e,r)=>(y(),N(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,fill:`currentColor`},E(t)),[S(e.$slots,`default`),E(n)===`bold`?(y(),N(`g`,qte,[...r[0]||=[P(`path`,{d:`M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z`},null,-1)]])):E(n)===`duotone`?(y(),N(`g`,Jte,[...r[1]||=[P(`path`,{d:`M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z`,opacity:`0.2`},null,-1),P(`path`,{d:`M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z`},null,-1)]])):E(n)===`fill`?(y(),N(`g`,Yte,[...r[2]||=[P(`path`,{d:`M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z`},null,-1)]])):E(n)===`light`?(y(),N(`g`,Xte,[...r[3]||=[P(`path`,{d:`M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z`},null,-1)]])):E(n)===`regular`?(y(),N(`g`,Zte,[...r[4]||=[P(`path`,{d:`M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z`},null,-1)]])):E(n)===`thin`?(y(),N(`g`,Qte,[...r[5]||=[P(`path`,{d:`M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z`},null,-1)]])):A(``,!0)],16))}}),mo={PROTOCOL:/^(?:https?|ftp|file|mailto|tel|data|wss?)*:\/\//,MULTIPLE_SLASHES:/(?<!:)\/{2,}/g,VARIABLES:/{{((?:[^{}]|{[^{}]*})*)}}/g,PATH:/(?:{)([^{}]+)}(?!})/g,REF_NAME:/\/([^\/]+)$/,TEMPLATE_VARIABLE:/{{\s*([^}\s]+?)\s*}}|{\s*([^}\s]+?)\s*}|:\b[\w.]+\b/g},ho=e=>!(mo.PROTOCOL.test(e)||/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+(\/|$)/.test(e));function $te(e){return mo.PROTOCOL.test(e)?e:`http://${e.replace(/^\//,``)}`}var go=(...e)=>{let t={};e.forEach(e=>{let n=Array.from(e.keys());new Set(n).forEach(n=>{let r=e.getAll(n),i=r.length>1?r:r[0]??``;t[n]=i})});let n=new URLSearchParams;return Object.entries(t).forEach(([e,t])=>{Array.isArray(t)?t.forEach(t=>n.append(e,t)):n.append(e,t)}),n},_o=(e,t)=>!t||e===t?e.trim():e?`${e.trim()}/${t.trim()}`.replace(mo.MULTIPLE_SLASHES,`/`):t.trim(),vo=(e,t,n=new URLSearchParams,r=!1)=>{if(e&&(!ho(e)||typeof window<`u`)){let[i=``,a]=(r?e:ho(e)?_o(window.location.origin,e):$te(e)).split(`?`),o=new URLSearchParams(a||``),[s=``,c]=t.split(`?`),l=new URLSearchParams(c||``),u=e===t?i:_o(i,s),d=go(o,l,n).toString();return d?`${u}?${d}`:u}return t?_o(e,t):``},yo=(e,{baseUrl:t,basePath:n}={})=>{if(typeof window>`u`&&!t)return e;try{return new URL(e),e}catch{}try{let r=t||window.location.href;return n&&(r=_o(t?new URL(t).origin:window.location.origin,n+`/`)),new URL(e,r).toString()}catch{return e}},bo=[`href`],xo=Ma(T({__name:`OpenApiClientButton`,props:{buttonSource:{},source:{default:`api-reference`},isDevelopment:{type:Boolean},integration:{},url:{},operationPath:{},operationMethod:{}},setup(e){let t=M(()=>{let t=e.url??(typeof window<`u`?window.location.href:void 0);if(!t)return;let n=yo(t);if(!n?.length)return;let r=new URL(e.isDevelopment?`http://localhost:5065`:`https://client.scalar.com`);if(r.searchParams.set(`url`,n),e.operationPath?.length&&e.operationMethod?.length&&(r.searchParams.set(`operation_path`,e.operationPath),r.searchParams.set(`operation_method`,e.operationMethod.toLowerCase())),e.integration!==null&&r.searchParams.set(`integration`,e.integration??`vue`),r.searchParams.set(`utm_source`,`api-reference`),r.searchParams.set(`utm_medium`,`button`),r.searchParams.set(`utm_campaign`,e.buttonSource),e.source===`gitbook`){r.searchParams.set(`utm_source`,`gitbook`);let e=document.querySelector(`img.dark\\:block[alt='Logo']`),t=document.querySelector(`img.dark\\:hidden[alt='Logo']`);e&&e instanceof HTMLImageElement&&r.searchParams.set(`dark_logo`,encodeURIComponent(e.src)),t&&t instanceof HTMLImageElement&&r.searchParams.set(`light_logo`,encodeURIComponent(t.src))}return r.toString()});return(e,n)=>t.value?(y(),N(`a`,{key:0,class:`open-api-client-button`,href:t.value,target:`_blank`},[O(E(Va),{class:`size-3`,weight:`regular`}),n[0]||=F(` Open API Client `,-1)],8,bo)):A(``,!0)}}),[[`__scopeId`,`data-v-cd067f84`]]),So=/^[!#$%&'*+\-.^_`|~A-Za-z0-9]+$/,Co=e=>`"${e.replaceAll(/(["\\])/g,`\\$1`)}"`,wo=e=>{let t=e.indexOf(`=`);if(t===-1)return null;let n=e.slice(0,t).trim().toLowerCase();if(!n||!So.test(n))return null;let r=e.slice(t+1).trim();return r?r.startsWith(`"`)&&r.endsWith(`"`)&&r.length>=2?[n,r.slice(1,-1).replaceAll(/\\(["\\])/g,`$1`)]:[n,r]:null},To=e=>{let[t=``,n=``]=e.split(`/`,2),r=t.trim().toLowerCase(),i=n.trim().toLowerCase();if(!r||!i||!So.test(r)||!So.test(i))throw Error(`Invalid MIME type: "${e}"`);return{essence:`${r}/${i}`,type:r,subtype:i}},Eo=(e=`text/plain`)=>{let[t=``,...n]=e.split(`;`),r;try{r=To(t)}catch{r=To(`text/plain`)}let{essence:i,type:a,subtype:o}=r,s=new Map;return n.forEach(e=>{let t=wo(e);if(!t)return;let[n,r]=t;s.set(n,r)}),{essence:i,type:a,subtype:o,parameters:s,toString:()=>{let e=Array.from(s.entries()).map(([e,t])=>`${e}=${So.test(t)?t:Co(t)}`);return e.length?`${i}; ${e.join(`; `)}`:i}}},Do=()=>typeof window<`u`&&`electron`in window,Oo=new Set([`post`,`put`,`patch`,`delete`]),ko=(e,t=!1)=>{let n=e.toLowerCase();return Do()&&!t?!0:Oo.has(n)},Ao=(e,t)=>new Request(e,{...t,body:ko(t.method??`GET`,!0)?t.body:null}),jo=`x-scalar-cookie`,Mo=`x-scalar-set-cookie`,No=`x-scalar-user-agent`,Po=`x-scalar-date`,Fo=`x-scalar-dnt`,Io=`x-scalar-referer`;function Lo(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Lo(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function Ro(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Lo(e))&&(r&&(r+=` `),r+=t);return r}var zo=e=>typeof e==`boolean`?`${e}`:e===0?`0`:e,Bo=e=>{let t=function(){var t=[...arguments];return e?.hooks?.[`cx:done`]===void 0?e?.hooks?.onComplete===void 0?Ro(t):e?.hooks.onComplete(Ro(t)):e?.hooks[`cx:done`](Ro(t))};return{compose:function(){var e=[...arguments];return n=>{let r=Object.fromEntries(Object.entries(n||{}).filter(e=>{let[t]=e;return![`class`,`className`].includes(t)}));return t(e.map(e=>e(r)),n?.class,n?.className)}},cva:e=>n=>{if(e?.variants==null)return t(e?.base,n?.class,n?.className);let{variants:r,defaultVariants:i}=e,a=Object.keys(r).map(e=>{let t=n?.[e],a=i?.[e],o=zo(t)||zo(a);return r[e][o]}),o={...i,...n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return r===void 0?e:{...e,[n]:r}},{})},s=e?.compoundVariants?.reduce((e,t)=>{let{class:n,className:r,...i}=t;return Object.entries(i).every(e=>{let[t,n]=e,r=o[t];return Array.isArray(n)?n.includes(r):r===n})?[...e,n,r]:e},[]);return t(e?.base,a,s,n?.class,n?.className)},cx:t}},{compose:ene,cva:tne,cx:nne}=Bo(),Vo=(e,t)=>{let n=Array(e.length+t.length);for(let t=0;t<e.length;t++)n[t]=e[t];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},Ho=(e,t)=>({classGroupId:e,validator:t}),Uo=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Wo=`-`,Go=[],Ko=`arbitrary..`,qo=e=>{let t=Xo(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith(`[`)&&e.endsWith(`]`))return Yo(e);let n=e.split(Wo);return Jo(n,+(n[0]===``&&n.length>1),t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?Vo(i,t):t:i||Go}return n[e]||Go}}},Jo=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=Jo(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(Wo):e.slice(t).join(Wo),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},Yo=e=>e.slice(1,-1).indexOf(`:`)===-1?void 0:(()=>{let t=e.slice(1,-1),n=t.indexOf(`:`),r=t.slice(0,n);return r?Ko+r:void 0})(),Xo=e=>{let{theme:t,classGroups:n}=e;return Zo(n,t)},Zo=(e,t)=>{let n=Uo();for(let r in e){let i=e[r];Qo(i,n,r,t)}return n},Qo=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];$o(i,t,n,r)}},$o=(e,t,n,r)=>{if(typeof e==`string`){es(e,t,n);return}if(typeof e==`function`){ts(e,t,n,r);return}ns(e,t,n,r)},es=(e,t,n)=>{let r=e===``?t:rs(t,e);r.classGroupId=n},ts=(e,t,n,r)=>{if(is(e)){Qo(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(Ho(n,e))},ns=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];Qo(o,rs(t,a),n,r)}},rs=(e,t)=>{let n=e,r=t.split(Wo),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=Uo(),n.nextPart.set(t,i)),n=i}return n},is=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,as=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),i=(i,a)=>{n[i]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];if(t!==void 0)return t;if((t=r[e])!==void 0)return i(e,t),t},set(e,t){e in n?n[e]=t:i(e,t)}}},os=`!`,ss=`:`,cs=[],ls=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),us=e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;s<o;s++){let o=e[s];if(n===0&&r===0){if(o===ss){t.push(e.slice(i,s)),i=s+1;continue}if(o===`/`){a=s;continue}}o===`[`?n++:o===`]`?n--:o===`(`?r++:o===`)`&&r--}let s=t.length===0?e:e.slice(i),c=s,l=!1;s.endsWith(os)?(c=s.slice(0,-1),l=!0):s.startsWith(os)&&(c=s.slice(1),l=!0);let u=a&&a>i?a-i:void 0;return ls(t,l,c,u)};if(t){let e=t+ss,n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):ls(cs,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},ds=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],o=a[0]===`[`,s=t.has(a);o||s?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(a)):r.push(a)}return r.length>0&&(r.sort(),n.push(...r)),n}},fs=e=>({cache:as(e.cacheSize),parseClassName:us(e),sortModifiers:ds(e),...qo(e)}),ps=/\s+/,ms=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a}=t,o=[],s=e.trim().split(ps),c=``;for(let e=s.length-1;e>=0;--e){let t=s[e],{isExternal:l,modifiers:u,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=n(t);if(l){c=t+(c.length>0?` `+c:c);continue}let m=!!p,h=r(m?f.substring(0,p):f);if(!h){if(!m){c=t+(c.length>0?` `+c:c);continue}if(h=r(f),!h){c=t+(c.length>0?` `+c:c);continue}m=!1}let g=u.length===0?``:u.length===1?u[0]:a(u).join(`:`),_=d?g+os:g,v=_+h;if(o.indexOf(v)>-1)continue;o.push(v);let y=i(h,m);for(let e=0;e<y.length;++e){let t=y[e];o.push(_+t)}c=t+(c.length>0?` `+c:c)}return c},hs=(...e)=>{let t=0,n,r,i=``;for(;t<e.length;)(n=e[t++])&&(r=gs(n))&&(i&&(i+=` `),i+=r);return i},gs=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=gs(e[r]))&&(n&&(n+=` `),n+=t);return n},_s=(e,...t)=>{let n,r,i,a,o=o=>(n=fs(t.reduce((e,t)=>t(e),e())),r=n.cache.get,i=n.cache.set,a=s,s(o)),s=e=>{let t=r(e);if(t)return t;let a=ms(e,n);return i(e,a),a};return a=o,(...e)=>a(hs(...e))},vs=[],ys=e=>{let t=t=>t[e]||vs;return t.isThemeGetter=!0,t},bs=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,xs=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Ss=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Cs=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ws=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ts=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Es=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ds=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Os=e=>Ss.test(e),ks=e=>!!e&&!Number.isNaN(Number(e)),As=e=>!!e&&Number.isInteger(Number(e)),js=e=>e.endsWith(`%`)&&ks(e.slice(0,-1)),Ms=e=>Cs.test(e),Ns=()=>!0,Ps=e=>ws.test(e)&&!Ts.test(e),Fs=()=>!1,Is=e=>Es.test(e),Ls=e=>Ds.test(e),Rs=e=>!Bs(e)&&!Js(e),zs=e=>nc(e,oc,Fs),Bs=e=>bs.test(e),Vs=e=>nc(e,sc,Ps),Hs=e=>nc(e,cc,ks),Us=e=>nc(e,uc,Ns),Ws=e=>nc(e,lc,Fs),Gs=e=>nc(e,ic,Fs),Ks=e=>nc(e,ac,Ls),qs=e=>nc(e,dc,Is),Js=e=>xs.test(e),Ys=e=>rc(e,sc),Xs=e=>rc(e,lc),Zs=e=>rc(e,ic),Qs=e=>rc(e,oc),$s=e=>rc(e,ac),ec=e=>rc(e,dc,!0),tc=e=>rc(e,uc,!0),nc=(e,t,n)=>{let r=bs.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},rc=(e,t,n=!1)=>{let r=xs.exec(e);return r?r[1]?t(r[1]):n:!1},ic=e=>e===`position`||e===`percentage`,ac=e=>e===`image`||e===`url`,oc=e=>e===`length`||e===`size`||e===`bg-size`,sc=e=>e===`length`,cc=e=>e===`number`,lc=e=>e===`family-name`,uc=e=>e===`number`||e===`weight`,dc=e=>e===`shadow`,fc=()=>{let e=ys(`color`),t=ys(`font`),n=ys(`text`),r=ys(`font-weight`),i=ys(`tracking`),a=ys(`leading`),o=ys(`breakpoint`),s=ys(`container`),c=ys(`spacing`),l=ys(`radius`),u=ys(`shadow`),d=ys(`inset-shadow`),f=ys(`text-shadow`),p=ys(`drop-shadow`),m=ys(`blur`),h=ys(`perspective`),g=ys(`aspect`),_=ys(`ease`),v=ys(`animate`),y=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],b=()=>[`center`,`top`,`bottom`,`left`,`right`,`top-left`,`left-top`,`top-right`,`right-top`,`bottom-right`,`right-bottom`,`bottom-left`,`left-bottom`],ee=()=>[...b(),Js,Bs],te=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],x=()=>[`auto`,`contain`,`none`],S=()=>[Js,Bs,c],ne=()=>[Os,`full`,`auto`,...S()],re=()=>[As,`none`,`subgrid`,Js,Bs],ie=()=>[`auto`,{span:[`full`,As,Js,Bs]},As,Js,Bs],ae=()=>[As,`auto`,Js,Bs],oe=()=>[`auto`,`min`,`max`,`fr`,Js,Bs],C=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],se=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],w=()=>[`auto`,...S()],ce=()=>[Os,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...S()],le=()=>[Os,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...S()],ue=()=>[Os,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...S()],T=()=>[e,Js,Bs],de=()=>[...b(),Zs,Gs,{position:[Js,Bs]}],E=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],fe=()=>[`auto`,`cover`,`contain`,Qs,zs,{size:[Js,Bs]}],pe=()=>[js,Ys,Vs],me=()=>[``,`none`,`full`,l,Js,Bs],he=()=>[``,ks,Ys,Vs],ge=()=>[`solid`,`dashed`,`dotted`,`double`],_e=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],ve=()=>[ks,js,Zs,Gs],ye=()=>[``,`none`,m,Js,Bs],be=()=>[`none`,ks,Js,Bs],xe=()=>[`none`,ks,Js,Bs],Se=()=>[ks,Js,Bs],Ce=()=>[Os,`full`,...S()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[Ms],breakpoint:[Ms],color:[Ns],container:[Ms],"drop-shadow":[Ms],ease:[`in`,`out`,`in-out`],font:[Rs],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[Ms],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[Ms],shadow:[Ms],spacing:[`px`,ks],text:[Ms],"text-shadow":[Ms],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,Os,Bs,Js,g]}],container:[`container`],columns:[{columns:[ks,Bs,Js,s]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"break-inside":[{"break-inside":[`auto`,`avoid`,`avoid-page`,`avoid-column`]}],"box-decoration":[{"box-decoration":[`slice`,`clone`]}],box:[{box:[`border`,`content`]}],display:[`block`,`inline-block`,`inline`,`flex`,`inline-flex`,`table`,`inline-table`,`table-caption`,`table-cell`,`table-column`,`table-column-group`,`table-footer-group`,`table-header-group`,`table-row-group`,`table-row`,`flow-root`,`grid`,`inline-grid`,`contents`,`list-item`,`hidden`],sr:[`sr-only`,`not-sr-only`],float:[{float:[`right`,`left`,`none`,`start`,`end`]}],clear:[{clear:[`left`,`right`,`both`,`none`,`start`,`end`]}],isolation:[`isolate`,`isolation-auto`],"object-fit":[{object:[`contain`,`cover`,`fill`,`none`,`scale-down`]}],"object-position":[{object:ee()}],overflow:[{overflow:te()}],"overflow-x":[{"overflow-x":te()}],"overflow-y":[{"overflow-y":te()}],overscroll:[{overscroll:x()}],"overscroll-x":[{"overscroll-x":x()}],"overscroll-y":[{"overscroll-y":x()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:ne()}],"inset-x":[{"inset-x":ne()}],"inset-y":[{"inset-y":ne()}],start:[{"inset-s":ne(),start:ne()}],end:[{"inset-e":ne(),end:ne()}],"inset-bs":[{"inset-bs":ne()}],"inset-be":[{"inset-be":ne()}],top:[{top:ne()}],right:[{right:ne()}],bottom:[{bottom:ne()}],left:[{left:ne()}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[As,`auto`,Js,Bs]}],basis:[{basis:[Os,`full`,`auto`,s,...S()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[ks,Os,`auto`,`initial`,`none`,Bs]}],grow:[{grow:[``,ks,Js,Bs]}],shrink:[{shrink:[``,ks,Js,Bs]}],order:[{order:[As,`first`,`last`,`none`,Js,Bs]}],"grid-cols":[{"grid-cols":re()}],"col-start-end":[{col:ie()}],"col-start":[{"col-start":ae()}],"col-end":[{"col-end":ae()}],"grid-rows":[{"grid-rows":re()}],"row-start-end":[{row:ie()}],"row-start":[{"row-start":ae()}],"row-end":[{"row-end":ae()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":oe()}],"auto-rows":[{"auto-rows":oe()}],gap:[{gap:S()}],"gap-x":[{"gap-x":S()}],"gap-y":[{"gap-y":S()}],"justify-content":[{justify:[...C(),`normal`]}],"justify-items":[{"justify-items":[...se(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...se()]}],"align-content":[{content:[`normal`,...C()]}],"align-items":[{items:[...se(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...se(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":C()}],"place-items":[{"place-items":[...se(),`baseline`]}],"place-self":[{"place-self":[`auto`,...se()]}],p:[{p:S()}],px:[{px:S()}],py:[{py:S()}],ps:[{ps:S()}],pe:[{pe:S()}],pbs:[{pbs:S()}],pbe:[{pbe:S()}],pt:[{pt:S()}],pr:[{pr:S()}],pb:[{pb:S()}],pl:[{pl:S()}],m:[{m:w()}],mx:[{mx:w()}],my:[{my:w()}],ms:[{ms:w()}],me:[{me:w()}],mbs:[{mbs:w()}],mbe:[{mbe:w()}],mt:[{mt:w()}],mr:[{mr:w()}],mb:[{mb:w()}],ml:[{ml:w()}],"space-x":[{"space-x":S()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":S()}],"space-y-reverse":[`space-y-reverse`],size:[{size:ce()}],"inline-size":[{inline:[`auto`,...le()]}],"min-inline-size":[{"min-inline":[`auto`,...le()]}],"max-inline-size":[{"max-inline":[`none`,...le()]}],"block-size":[{block:[`auto`,...ue()]}],"min-block-size":[{"min-block":[`auto`,...ue()]}],"max-block-size":[{"max-block":[`none`,...ue()]}],w:[{w:[s,`screen`,...ce()]}],"min-w":[{"min-w":[s,`screen`,`none`,...ce()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...ce()]}],h:[{h:[`screen`,`lh`,...ce()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...ce()]}],"max-h":[{"max-h":[`screen`,`lh`,...ce()]}],"font-size":[{text:[`base`,n,Ys,Vs]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,tc,Us]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,js,Bs]}],"font-family":[{font:[Xs,Ws,t]}],"font-features":[{"font-features":[Bs]}],"fvn-normal":[`normal-nums`],"fvn-ordinal":[`ordinal`],"fvn-slashed-zero":[`slashed-zero`],"fvn-figure":[`lining-nums`,`oldstyle-nums`],"fvn-spacing":[`proportional-nums`,`tabular-nums`],"fvn-fraction":[`diagonal-fractions`,`stacked-fractions`],tracking:[{tracking:[i,Js,Bs]}],"line-clamp":[{"line-clamp":[ks,`none`,Js,Hs]}],leading:[{leading:[a,...S()]}],"list-image":[{"list-image":[`none`,Js,Bs]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,Js,Bs]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:T()}],"text-color":[{text:T()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...ge(),`wavy`]}],"text-decoration-thickness":[{decoration:[ks,`from-font`,`auto`,Js,Vs]}],"text-decoration-color":[{decoration:T()}],"underline-offset":[{"underline-offset":[ks,`auto`,Js,Bs]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:S()}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,Js,Bs]}],whitespace:[{whitespace:[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`]}],break:[{break:[`normal`,`words`,`all`,`keep`]}],wrap:[{wrap:[`break-word`,`anywhere`,`normal`]}],hyphens:[{hyphens:[`none`,`manual`,`auto`]}],content:[{content:[`none`,Js,Bs]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:de()}],"bg-repeat":[{bg:E()}],"bg-size":[{bg:fe()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},As,Js,Bs],radial:[``,Js,Bs],conic:[As,Js,Bs]},$s,Ks]}],"bg-color":[{bg:T()}],"gradient-from-pos":[{from:pe()}],"gradient-via-pos":[{via:pe()}],"gradient-to-pos":[{to:pe()}],"gradient-from":[{from:T()}],"gradient-via":[{via:T()}],"gradient-to":[{to:T()}],rounded:[{rounded:me()}],"rounded-s":[{"rounded-s":me()}],"rounded-e":[{"rounded-e":me()}],"rounded-t":[{"rounded-t":me()}],"rounded-r":[{"rounded-r":me()}],"rounded-b":[{"rounded-b":me()}],"rounded-l":[{"rounded-l":me()}],"rounded-ss":[{"rounded-ss":me()}],"rounded-se":[{"rounded-se":me()}],"rounded-ee":[{"rounded-ee":me()}],"rounded-es":[{"rounded-es":me()}],"rounded-tl":[{"rounded-tl":me()}],"rounded-tr":[{"rounded-tr":me()}],"rounded-br":[{"rounded-br":me()}],"rounded-bl":[{"rounded-bl":me()}],"border-w":[{border:he()}],"border-w-x":[{"border-x":he()}],"border-w-y":[{"border-y":he()}],"border-w-s":[{"border-s":he()}],"border-w-e":[{"border-e":he()}],"border-w-bs":[{"border-bs":he()}],"border-w-be":[{"border-be":he()}],"border-w-t":[{"border-t":he()}],"border-w-r":[{"border-r":he()}],"border-w-b":[{"border-b":he()}],"border-w-l":[{"border-l":he()}],"divide-x":[{"divide-x":he()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":he()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...ge(),`hidden`,`none`]}],"divide-style":[{divide:[...ge(),`hidden`,`none`]}],"border-color":[{border:T()}],"border-color-x":[{"border-x":T()}],"border-color-y":[{"border-y":T()}],"border-color-s":[{"border-s":T()}],"border-color-e":[{"border-e":T()}],"border-color-bs":[{"border-bs":T()}],"border-color-be":[{"border-be":T()}],"border-color-t":[{"border-t":T()}],"border-color-r":[{"border-r":T()}],"border-color-b":[{"border-b":T()}],"border-color-l":[{"border-l":T()}],"divide-color":[{divide:T()}],"outline-style":[{outline:[...ge(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[ks,Js,Bs]}],"outline-w":[{outline:[``,ks,Ys,Vs]}],"outline-color":[{outline:T()}],shadow:[{shadow:[``,`none`,u,ec,qs]}],"shadow-color":[{shadow:T()}],"inset-shadow":[{"inset-shadow":[`none`,d,ec,qs]}],"inset-shadow-color":[{"inset-shadow":T()}],"ring-w":[{ring:he()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:T()}],"ring-offset-w":[{"ring-offset":[ks,Vs]}],"ring-offset-color":[{"ring-offset":T()}],"inset-ring-w":[{"inset-ring":he()}],"inset-ring-color":[{"inset-ring":T()}],"text-shadow":[{"text-shadow":[`none`,f,ec,qs]}],"text-shadow-color":[{"text-shadow":T()}],opacity:[{opacity:[ks,Js,Bs]}],"mix-blend":[{"mix-blend":[..._e(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":_e()}],"mask-clip":[{"mask-clip":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]},`mask-no-clip`],"mask-composite":[{mask:[`add`,`subtract`,`intersect`,`exclude`]}],"mask-image-linear-pos":[{"mask-linear":[ks]}],"mask-image-linear-from-pos":[{"mask-linear-from":ve()}],"mask-image-linear-to-pos":[{"mask-linear-to":ve()}],"mask-image-linear-from-color":[{"mask-linear-from":T()}],"mask-image-linear-to-color":[{"mask-linear-to":T()}],"mask-image-t-from-pos":[{"mask-t-from":ve()}],"mask-image-t-to-pos":[{"mask-t-to":ve()}],"mask-image-t-from-color":[{"mask-t-from":T()}],"mask-image-t-to-color":[{"mask-t-to":T()}],"mask-image-r-from-pos":[{"mask-r-from":ve()}],"mask-image-r-to-pos":[{"mask-r-to":ve()}],"mask-image-r-from-color":[{"mask-r-from":T()}],"mask-image-r-to-color":[{"mask-r-to":T()}],"mask-image-b-from-pos":[{"mask-b-from":ve()}],"mask-image-b-to-pos":[{"mask-b-to":ve()}],"mask-image-b-from-color":[{"mask-b-from":T()}],"mask-image-b-to-color":[{"mask-b-to":T()}],"mask-image-l-from-pos":[{"mask-l-from":ve()}],"mask-image-l-to-pos":[{"mask-l-to":ve()}],"mask-image-l-from-color":[{"mask-l-from":T()}],"mask-image-l-to-color":[{"mask-l-to":T()}],"mask-image-x-from-pos":[{"mask-x-from":ve()}],"mask-image-x-to-pos":[{"mask-x-to":ve()}],"mask-image-x-from-color":[{"mask-x-from":T()}],"mask-image-x-to-color":[{"mask-x-to":T()}],"mask-image-y-from-pos":[{"mask-y-from":ve()}],"mask-image-y-to-pos":[{"mask-y-to":ve()}],"mask-image-y-from-color":[{"mask-y-from":T()}],"mask-image-y-to-color":[{"mask-y-to":T()}],"mask-image-radial":[{"mask-radial":[Js,Bs]}],"mask-image-radial-from-pos":[{"mask-radial-from":ve()}],"mask-image-radial-to-pos":[{"mask-radial-to":ve()}],"mask-image-radial-from-color":[{"mask-radial-from":T()}],"mask-image-radial-to-color":[{"mask-radial-to":T()}],"mask-image-radial-shape":[{"mask-radial":[`circle`,`ellipse`]}],"mask-image-radial-size":[{"mask-radial":[{closest:[`side`,`corner`],farthest:[`side`,`corner`]}]}],"mask-image-radial-pos":[{"mask-radial-at":b()}],"mask-image-conic-pos":[{"mask-conic":[ks]}],"mask-image-conic-from-pos":[{"mask-conic-from":ve()}],"mask-image-conic-to-pos":[{"mask-conic-to":ve()}],"mask-image-conic-from-color":[{"mask-conic-from":T()}],"mask-image-conic-to-color":[{"mask-conic-to":T()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:de()}],"mask-repeat":[{mask:E()}],"mask-size":[{mask:fe()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,Js,Bs]}],filter:[{filter:[``,`none`,Js,Bs]}],blur:[{blur:ye()}],brightness:[{brightness:[ks,Js,Bs]}],contrast:[{contrast:[ks,Js,Bs]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,ec,qs]}],"drop-shadow-color":[{"drop-shadow":T()}],grayscale:[{grayscale:[``,ks,Js,Bs]}],"hue-rotate":[{"hue-rotate":[ks,Js,Bs]}],invert:[{invert:[``,ks,Js,Bs]}],saturate:[{saturate:[ks,Js,Bs]}],sepia:[{sepia:[``,ks,Js,Bs]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,Js,Bs]}],"backdrop-blur":[{"backdrop-blur":ye()}],"backdrop-brightness":[{"backdrop-brightness":[ks,Js,Bs]}],"backdrop-contrast":[{"backdrop-contrast":[ks,Js,Bs]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,ks,Js,Bs]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ks,Js,Bs]}],"backdrop-invert":[{"backdrop-invert":[``,ks,Js,Bs]}],"backdrop-opacity":[{"backdrop-opacity":[ks,Js,Bs]}],"backdrop-saturate":[{"backdrop-saturate":[ks,Js,Bs]}],"backdrop-sepia":[{"backdrop-sepia":[``,ks,Js,Bs]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":S()}],"border-spacing-x":[{"border-spacing-x":S()}],"border-spacing-y":[{"border-spacing-y":S()}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[``,`all`,`colors`,`opacity`,`shadow`,`transform`,`none`,Js,Bs]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[ks,`initial`,Js,Bs]}],ease:[{ease:[`linear`,`initial`,_,Js,Bs]}],delay:[{delay:[ks,Js,Bs]}],animate:[{animate:[`none`,v,Js,Bs]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,Js,Bs]}],"perspective-origin":[{"perspective-origin":ee()}],rotate:[{rotate:be()}],"rotate-x":[{"rotate-x":be()}],"rotate-y":[{"rotate-y":be()}],"rotate-z":[{"rotate-z":be()}],scale:[{scale:xe()}],"scale-x":[{"scale-x":xe()}],"scale-y":[{"scale-y":xe()}],"scale-z":[{"scale-z":xe()}],"scale-3d":[`scale-3d`],skew:[{skew:Se()}],"skew-x":[{"skew-x":Se()}],"skew-y":[{"skew-y":Se()}],transform:[{transform:[Js,Bs,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:ee()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:Ce()}],"translate-x":[{"translate-x":Ce()}],"translate-y":[{"translate-y":Ce()}],"translate-z":[{"translate-z":Ce()}],"translate-none":[`translate-none`],accent:[{accent:T()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:T()}],"color-scheme":[{scheme:[`normal`,`dark`,`light`,`light-dark`,`only-dark`,`only-light`]}],cursor:[{cursor:[`auto`,`default`,`pointer`,`wait`,`text`,`move`,`help`,`not-allowed`,`none`,`context-menu`,`progress`,`cell`,`crosshair`,`vertical-text`,`alias`,`copy`,`no-drop`,`grab`,`grabbing`,`all-scroll`,`col-resize`,`row-resize`,`n-resize`,`e-resize`,`s-resize`,`w-resize`,`ne-resize`,`nw-resize`,`se-resize`,`sw-resize`,`ew-resize`,`ns-resize`,`nesw-resize`,`nwse-resize`,`zoom-in`,`zoom-out`,Js,Bs]}],"field-sizing":[{"field-sizing":[`fixed`,`content`]}],"pointer-events":[{"pointer-events":[`auto`,`none`]}],resize:[{resize:[`none`,``,`y`,`x`]}],"scroll-behavior":[{scroll:[`auto`,`smooth`]}],"scroll-m":[{"scroll-m":S()}],"scroll-mx":[{"scroll-mx":S()}],"scroll-my":[{"scroll-my":S()}],"scroll-ms":[{"scroll-ms":S()}],"scroll-me":[{"scroll-me":S()}],"scroll-mbs":[{"scroll-mbs":S()}],"scroll-mbe":[{"scroll-mbe":S()}],"scroll-mt":[{"scroll-mt":S()}],"scroll-mr":[{"scroll-mr":S()}],"scroll-mb":[{"scroll-mb":S()}],"scroll-ml":[{"scroll-ml":S()}],"scroll-p":[{"scroll-p":S()}],"scroll-px":[{"scroll-px":S()}],"scroll-py":[{"scroll-py":S()}],"scroll-ps":[{"scroll-ps":S()}],"scroll-pe":[{"scroll-pe":S()}],"scroll-pbs":[{"scroll-pbs":S()}],"scroll-pbe":[{"scroll-pbe":S()}],"scroll-pt":[{"scroll-pt":S()}],"scroll-pr":[{"scroll-pr":S()}],"scroll-pb":[{"scroll-pb":S()}],"scroll-pl":[{"scroll-pl":S()}],"snap-align":[{snap:[`start`,`end`,`center`,`align-none`]}],"snap-stop":[{snap:[`normal`,`always`]}],"snap-type":[{snap:[`none`,`x`,`y`,`both`]}],"snap-strictness":[{snap:[`mandatory`,`proximity`]}],touch:[{touch:[`auto`,`none`,`manipulation`]}],"touch-x":[{"touch-pan":[`x`,`left`,`right`]}],"touch-y":[{"touch-pan":[`y`,`up`,`down`]}],"touch-pz":[`touch-pinch-zoom`],select:[{select:[`none`,`text`,`all`,`auto`]}],"will-change":[{"will-change":[`auto`,`scroll`,`contents`,`transform`,Js,Bs]}],fill:[{fill:[`none`,...T()]}],"stroke-w":[{stroke:[ks,Ys,Vs,Hs]}],stroke:[{stroke:[`none`,...T()]}],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`inset-bs`,`inset-be`,`start`,`end`,`top`,`right`,`bottom`,`left`],"inset-x":[`right`,`left`],"inset-y":[`top`,`bottom`],flex:[`basis`,`grow`,`shrink`],gap:[`gap-x`,`gap-y`],p:[`px`,`py`,`ps`,`pe`,`pbs`,`pbe`,`pt`,`pr`,`pb`,`pl`],px:[`pr`,`pl`],py:[`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mbs`,`mbe`,`mt`,`mr`,`mb`,`ml`],mx:[`mr`,`ml`],my:[`mt`,`mb`],size:[`w`,`h`],"font-size":[`leading`],"fvn-normal":[`fvn-ordinal`,`fvn-slashed-zero`,`fvn-figure`,`fvn-spacing`,`fvn-fraction`],"fvn-ordinal":[`fvn-normal`],"fvn-slashed-zero":[`fvn-normal`],"fvn-figure":[`fvn-normal`],"fvn-spacing":[`fvn-normal`],"fvn-fraction":[`fvn-normal`],"line-clamp":[`display`,`overflow`],rounded:[`rounded-s`,`rounded-e`,`rounded-t`,`rounded-r`,`rounded-b`,`rounded-l`,`rounded-ss`,`rounded-se`,`rounded-ee`,`rounded-es`,`rounded-tl`,`rounded-tr`,`rounded-br`,`rounded-bl`],"rounded-s":[`rounded-ss`,`rounded-es`],"rounded-e":[`rounded-se`,`rounded-ee`],"rounded-t":[`rounded-tl`,`rounded-tr`],"rounded-r":[`rounded-tr`,`rounded-br`],"rounded-b":[`rounded-br`,`rounded-bl`],"rounded-l":[`rounded-tl`,`rounded-bl`],"border-spacing":[`border-spacing-x`,`border-spacing-y`],"border-w":[`border-w-x`,`border-w-y`,`border-w-s`,`border-w-e`,`border-w-bs`,`border-w-be`,`border-w-t`,`border-w-r`,`border-w-b`,`border-w-l`],"border-w-x":[`border-w-r`,`border-w-l`],"border-w-y":[`border-w-t`,`border-w-b`],"border-color":[`border-color-x`,`border-color-y`,`border-color-s`,`border-color-e`,`border-color-bs`,`border-color-be`,`border-color-t`,`border-color-r`,`border-color-b`,`border-color-l`],"border-color-x":[`border-color-r`,`border-color-l`],"border-color-y":[`border-color-t`,`border-color-b`],translate:[`translate-x`,`translate-y`,`translate-none`],"translate-none":[`translate`,`translate-x`,`translate-y`,`translate-z`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mbs`,`scroll-mbe`,`scroll-mt`,`scroll-mr`,`scroll-mb`,`scroll-ml`],"scroll-mx":[`scroll-mr`,`scroll-ml`],"scroll-my":[`scroll-mt`,`scroll-mb`],"scroll-p":[`scroll-px`,`scroll-py`,`scroll-ps`,`scroll-pe`,`scroll-pbs`,`scroll-pbe`,`scroll-pt`,`scroll-pr`,`scroll-pb`,`scroll-pl`],"scroll-px":[`scroll-pr`,`scroll-pl`],"scroll-py":[`scroll-pt`,`scroll-pb`],touch:[`touch-x`,`touch-y`,`touch-pz`],"touch-x":[`touch`],"touch-y":[`touch`],"touch-pz":[`touch`]},conflictingClassGroupModifiers:{"font-size":[`leading`]},orderSensitiveModifiers:[`*`,`**`,`after`,`backdrop`,`before`,`details-content`,`file`,`first-letter`,`first-line`,`marker`,`placeholder`,`selection`]}},pc=(e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:i={},override:a={}})=>(mc(e,`cacheSize`,t),mc(e,`prefix`,n),mc(e,`experimentalParseClassName`,r),hc(e.theme,a.theme),hc(e.classGroups,a.classGroups),hc(e.conflictingClassGroups,a.conflictingClassGroups),hc(e.conflictingClassGroupModifiers,a.conflictingClassGroupModifiers),mc(e,`orderSensitiveModifiers`,a.orderSensitiveModifiers),gc(e.theme,i.theme),gc(e.classGroups,i.classGroups),gc(e.conflictingClassGroups,i.conflictingClassGroups),gc(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),_c(e,i,`orderSensitiveModifiers`),e),mc=(e,t,n)=>{n!==void 0&&(e[t]=n)},hc=(e,t)=>{if(t)for(let n in t)mc(e,n,t[n])},gc=(e,t)=>{if(t)for(let n in t)_c(e,t,n)},_c=(e,t,n)=>{let r=t[n];r!==void 0&&(e[n]=e[n]?e[n].concat(r):r)},vc=((e,...t)=>typeof e==`function`?_s(fc,e,...t):_s(()=>pc(fc(),e),...t))({extend:{classGroups:{"font-size":[`text-3xs`,`text-xxs`],"font-weight":[`font-sidebar`,`font-sidebar-active`],"max-w":[{"max-w":[e=>!!e]}],w:[{w:[e=>!!e]}]}}}),{cva:yc,cx:bc,compose:rne}=Bo({hooks:{onComplete:e=>vc(e)}});function xc(){let e=_e(),t=M(()=>{let{class:t,style:n,...r}=e;return{class:t||``,style:n,rest:r}});function n(...e){return{class:bc(...e,t.value.class),style:t.value.style,...t.value.rest}}function r(...e){return{class:bc(...e,t.value.class),style:t.value.style}}return{cx:n,stylingAttrsCx:r,otherAttrs:M(()=>t.value.rest)}}var Sc=e=>e!=null,Cc=e=>e[`$ref-value`],wc=e=>{let{"$ref-value":t,...n}=e;return{...t,...n}},Tc=(e,t=Cc)=>typeof e==`object`&&e&&`$ref`in e?t(e):e,Ec=e=>{if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return t===Object.prototype||t===null},Dc=e=>typeof e==`object`&&!!e,Oc=e=>decodeURI(e.replace(/~1/g,`/`).replace(/~0/g,`~`)),kc=e=>e.split(`/`).slice(1).map(Oc),Ac=(e,t,n)=>{let[r,i]=e.split(`#`,2);if(r)return n.has(r)?i?i.startsWith(`/`)?`${n.get(r)}${i}`:n.get(`${r}#${i}`):n.get(r):void 0;if(i)return i.startsWith(`/`)?i.slice(1):n.get(`${t}#${i}`)},jc=e=>{if(e&&typeof e==`object`&&e.$id&&typeof e.$id==`string`)return e.$id},Mc=e=>e.join(`/`),Nc=(e,t=``,n=[],r=new Map,i=new WeakSet)=>{if(typeof e!=`object`||!e||i.has(e))return r;i.add(e);let a=jc(e);a&&r.set(a,Mc(n));let o=a??t;e.$anchor&&typeof e.$anchor==`string`&&r.set(`${o}#${e.$anchor}`,Mc(n));for(let t in e)typeof e[t]==`object`&&e[t]!==null&&Nc(e[t],o,[...n,t],r,i);return r};function Pc(e,t){return t.reduce((e,t)=>e.value===void 0||typeof e.value!=`object`||e.value===null?{context:``,value:void 0}:{context:jc(e.value)??e.context,value:e.value?.[t]},{context:``,value:e})}function Fc(e,t){return t.reduce((e,t)=>(e[t]===void 0&&(isNaN(Number(t))?e[t]={}:e[t]=[]),e[t]),e)}var Ic=Symbol(`isMagicProxy`),Lc=Symbol(`magicProxyTarget`),Rc=`$ref-value`,zc=`$ref`,Bc=(e,t,n={root:e,proxyCache:new WeakMap,cache:new Map,schemas:Nc(e),currentContext:``})=>{if(!Ec(e)&&!Array.isArray(e))return e;if(n.proxyCache.has(e))return n.proxyCache.get(e);let r=new Proxy(e,{get(e,r,i){if(r===Ic)return!0;if(r===Lc)return e;if(typeof r==`string`&&r.startsWith(`__scalar_`)&&!t?.showInternal)return;let a=Reflect.get(e,zc,i),o=jc(e);if(r===Rc&&typeof a==`string`){if(n.cache.has(a))return n.cache.get(a);let e=Ac(a,o??n.currentContext,n.schemas);if(e===void 0)return;let r=Pc(n.root,kc(`/${e}`));if(Vc(r.value))return r.value;let i=Bc(r.value,t,{...n,currentContext:r.context});return n.cache.set(a,i),i}let s=Reflect.get(e,r,i);return Vc(s)?s:Bc(s,t,{...n,currentContext:o??n.currentContext})},set(e,r,i,a){let o=Reflect.get(e,zc,a);if(typeof r==`string`&&r.startsWith(`__scalar_`)&&!t?.showInternal)return!0;if(r===Rc&&typeof o==`string`){let t=Ac(o,jc(e)??n.currentContext,n.schemas);if(t===void 0)return;let r=kc(`/${t}`);if(r.length===0)return!1;let a=()=>Pc(n.root,r.slice(0,-1)).value;return a()===void 0&&(Fc(n.root,r.slice(0,-1)),console.warn(`Trying to set $ref-value for invalid reference: ${o}\n\nPlease fix your input file to fix this issue.`)),a()[r.at(-1)]=i,!0}return Reflect.set(e,r,i,a)},deleteProperty(e,t){return Reflect.deleteProperty(e,t)},has(e,n){return typeof n==`string`&&n.startsWith(`__scalar_`)&&!t?.showInternal?!1:n===Rc&&zc in e||Reflect.has(e,n)},ownKeys(e){let n=Reflect.ownKeys(e).filter(e=>typeof e!=`string`||!(e.startsWith(`__scalar_`)&&!t?.showInternal));return zc in e&&!n.includes(Rc)&&n.push(Rc),n},getOwnPropertyDescriptor(e,n){if(typeof n==`string`&&n.startsWith(`__scalar_`)&&!t?.showInternal)return;let r=Reflect.get(e,zc);return n===Rc&&typeof r==`string`?{configurable:!0,enumerable:!0,value:void 0,writable:!1}:Reflect.getOwnPropertyDescriptor(e,n)}});return n.proxyCache.set(e,r),r},Vc=e=>typeof e==`object`&&!!e&&e[Ic]===!0;function Hc(e){return typeof e!=`object`||!e?e:e[Ic]?e[Lc]:e}var Uc=Symbol(`isDetectChangesProxy`),Wc=Symbol(`detectChangesProxyTarget`),Gc=(e,t,n={proxyCache:new WeakMap,path:[]})=>{if(!Ec(e)&&!Array.isArray(e))return e;if(n.proxyCache.has(e))return n.proxyCache.get(e);let r=new Proxy(e,{get(e,r,i){if(r===Uc)return!0;if(r===Wc)return e;let a=Reflect.get(e,r,i);return Kc(a)?a:Gc(a,t,{...n,path:[...n.path,String(r)]})},set(e,r,i,a){let o=[...n.path,String(r)];t?.hooks?.onBeforeChange?.(o,i);let s=Reflect.set(e,r,i,a);return t?.hooks?.onAfterChange?.(o,i),s},deleteProperty(e,r){let i=[...n.path,String(r)];t?.hooks?.onBeforeChange?.(i);let a=Reflect.deleteProperty(e,r);return t?.hooks?.onAfterChange?.(i),a}});return n.proxyCache.set(e,r),r},Kc=e=>typeof e==`object`&&!!e&&e[Uc]===!0,qc=e=>typeof e!=`object`||!e?e:e[Uc]?e[Wc]:e,Jc=Symbol(`isOverridesProxy`),Yc=Symbol(`getOverridesTarget`),Xc=(e,t,n={cache:new WeakMap})=>{if(!e||typeof e!=`object`)return e;if(n.cache.has(e))return n.cache.get(e);let{overrides:r}=t??{},i=new Proxy(e,{get(e,t,i){if(t===Jc)return!0;if(t===Yc)return e;let a=Reflect.get(e,t,i);return Zc(a)?a:Ec(a)?Xc(a,{overrides:Reflect.get(r??{},t)},n):Reflect.get(r??{},t)??a},set(e,t,n,i){return t===Jc||t===Yc?!1:r&&Reflect.has(r,t)&&r&&typeof r==`object`?(r[t]=n,!0):Reflect.set(e,t,n,i)}});return n.cache.set(e,i),i},Zc=e=>typeof e==`object`&&!!e&&e[Jc]===!0;function Qc(e){return typeof e==`object`&&e&&e[Jc]?e[Yc]:e}var $c=(e,{depth:t=0}={})=>{let n=(r,i=0)=>{if(typeof r!=`object`||!r)return r;let a=qc(Te(Hc(Qc(r))));return t!==null&&i>=t?a:(i!==0&&a!==r&&(console.warn(`%c⚠ Warning:%c You tried to assign a proxied object (depth: %d).
|
|
5
|
+
%c💡 Tip:%c Pass a plain object instead — wrapping a proxy inside another proxy may cause weird bugs.
|
|
6
|
+
%c🔍 Debug Info:%c The problematic value is shown below:`,`background: #fdd835; color: #000; font-weight: bold; padding: 2px 4px; border-radius: 3px;`,`color: inherit;`,i,`color: #00bfa5; font-weight: bold;`,`color: inherit;`,`color: #03a9f4; font-weight: bold;`,`color: inherit;`,r,e),console.groupCollapsed(`%c📜 Proxy assignment trace`,`color: #9c27b0; font-weight: bold;`),console.trace({value:r,raw:a}),console.groupEnd()),Object.entries(a).forEach(([e,t])=>{let r=n(t,i+1);Reflect.set(a,e,r)||console.warn(`%c🚫 Readonly Property Error:%c Failed to set property "%s" on object.
|
|
7
|
+
%c💡 Tip:%c This property is readonly or non-configurable. You cannot unpack a readonly property — the value was not updated.
|
|
8
|
+
%c🔍 Debug Info:%c Property: %s | Value: %o | Object: %o`,`background: #f44336; color: #fff; font-weight: bold; padding: 2px 4px; border-radius: 3px;`,`color: inherit;`,e,`color: #00bfa5; font-weight: bold;`,`color: inherit;`,`color: #03a9f4; font-weight: bold;`,`color: inherit;`,e,r,a)}),a)};return n(e)},el=e=>{let t=new WeakSet,n=new WeakMap,r=e=>{if(!Ec(e)&&!Array.isArray(e))return e;let i=$c(e,{depth:1});if(n.has(i))return n.get(i);if(t.has(i))return`[circular]`;if(t.add(i),`$ref`in e){let t=Tc(e),a=r(t),o=Object.entries(e).filter(([e])=>e!==`$ref`&&e!==`$ref-value`);if(o.length>0&&Ec(a)){let e={...a};for(let[t,n]of o)e[t]=r(n);return n.set(i,e),e}return n.set(i,a),a}if(Array.isArray(e)){let t=e.map(r);return n.set(i,t),t}let a=Object.fromEntries(Object.entries(e).map(([e,t])=>[e,r(t)]));return n.set(i,a),a};return r(e)},tl=(e,t,n)=>{if(!e&&!t)return;let r=!!e&&Object.keys(e).length>0,i=n||Object.keys(e??{})[0]||``,a=Tc(e?.[i]);if(a!==void 0)return a;if((!r||!n)&&t!==void 0)return{value:Tc(t)}},nl=(e,t,n)=>{if(`content`in e){let r=e.content?.[n??Object.keys(e.content)[0]??``],i=tl(r?.examples,r?.example,t);if(i!==void 0)return i}if(`examples`in e||`example`in e){let n=tl(e.examples,e.example,t);if(n!==void 0)return n}let r=Tc(e);if(`schema`in r&&r.schema){let e=r.schema;if(`default`in e&&e.default!==void 0)return{value:e.default};if(`enum`in e&&e.enum?.[0]!==void 0)return{value:e.enum[0]};if(`examples`in e&&e.examples?.[0]!==void 0)return{value:e.examples[0]};if(`example`in e&&e.example!==void 0)return{value:e.example}}},rl=e=>typeof e==`object`&&!!e&&`$dynamicRef`in e&&typeof e.$dynamicRef==`string`,il=e=>`$dynamicAnchor`in e||`$id`in e||`$defs`in e,al=new WeakMap,ol=e=>{let t=$c(e,{depth:1}),n=al.get(t);if(n)return n;let r=new Map,i=e=>{if(!e||typeof e!=`object`)return;let t=e.$dynamicAnchor;typeof t==`string`&&!r.has(t)&&r.set(t,Tc(e,wc))};i(e);let a=e.$defs;if(a&&typeof a==`object`)for(let e of Object.keys(a))i(a[e]);return al.set(t,r),r},sl=(e,t)=>il(t)?[...e,t]:e,cl=(e,t)=>{let n=e.startsWith(`#`)?e.slice(1):void 0;if(!(!n||n.startsWith(`/`)))for(let e of t){let t=ol(e).get(n);if(t)return t}};function ll(e){return vl(e)&&!ul(e)&&!Sl(e)&&Symbol.asyncIterator in e}function ul(e){return Array.isArray(e)}function dl(e){return typeof e==`bigint`}function fl(e){return typeof e==`boolean`}function pl(e){return e instanceof globalThis.Date}function ml(e){return typeof e==`function`}function hl(e){return vl(e)&&!ul(e)&&!Sl(e)&&Symbol.iterator in e}function gl(e){return e===null}function _l(e){return typeof e==`number`}function vl(e){return typeof e==`object`&&!!e}function yl(e){return e instanceof globalThis.RegExp}function bl(e){return typeof e==`string`}function xl(e){return typeof e==`symbol`}function Sl(e){return e instanceof globalThis.Uint8Array}function Cl(e){return e===void 0}function wl(e){return e.map(e=>kl(e))}function Tl(e){return new Date(e.getTime())}function El(e){return new Uint8Array(e)}function Dl(e){return new RegExp(e.source,e.flags)}function Ol(e){let t={};for(let n of Object.getOwnPropertyNames(e))t[n]=kl(e[n]);for(let n of Object.getOwnPropertySymbols(e))t[n]=kl(e[n]);return t}function kl(e){return ul(e)?wl(e):pl(e)?Tl(e):Sl(e)?El(e):yl(e)?Dl(e):vl(e)?Ol(e):e}function Al(e){return kl(e)}function jl(e,t){return Al(t===void 0?e:{...t,...e})}function Ml(e){return Vl(e)&&globalThis.Symbol.asyncIterator in e}function Nl(e){return Vl(e)&&globalThis.Symbol.iterator in e}function Pl(e){return e instanceof globalThis.Promise}function Fl(e){return e instanceof Date&&globalThis.Number.isFinite(e.getTime())}function Il(e){return e instanceof globalThis.Map}function Ll(e){return e instanceof globalThis.Set}function Rl(e){return globalThis.ArrayBuffer.isView(e)}function zl(e){return e instanceof globalThis.Uint8Array}function Bl(e,t){return t in e}function Vl(e){return typeof e==`object`&&!!e}function Hl(e){return globalThis.Array.isArray(e)&&!globalThis.ArrayBuffer.isView(e)}function Ul(e){return e===void 0}function Wl(e){return e===null}function Gl(e){return typeof e==`boolean`}function Kl(e){return typeof e==`number`}function ql(e){return globalThis.Number.isInteger(e)}function Jl(e){return typeof e==`bigint`}function Yl(e){return typeof e==`string`}function Xl(e){return typeof e==`function`}function Zl(e){return typeof e==`symbol`}function ine(e){return Jl(e)||Gl(e)||Wl(e)||Kl(e)||Yl(e)||Zl(e)||Ul(e)}var Ql;(function(e){e.InstanceMode=`default`,e.ExactOptionalPropertyTypes=!1,e.AllowArrayObject=!1,e.AllowNaN=!1,e.AllowNullVoid=!1;function t(t,n){return e.ExactOptionalPropertyTypes?n in t:t[n]!==void 0}e.IsExactOptionalProperty=t;function n(t){let n=Vl(t);return e.AllowArrayObject?n:n&&!Hl(t)}e.IsObjectLike=n;function r(e){return n(e)&&!(e instanceof Date)&&!(e instanceof Uint8Array)}e.IsRecordLike=r;function i(t){return e.AllowNaN?Kl(t):Number.isFinite(t)}e.IsNumberLike=i;function a(t){let n=Ul(t);return e.AllowNullVoid?n||t===null:n}e.IsVoidLike=a})(Ql||={});function ane(e){return globalThis.Object.freeze(e).map(e=>$l(e))}function one(e){return e}function sne(e){return e}function cne(e){return e}function lne(e){let t={};for(let n of Object.getOwnPropertyNames(e))t[n]=$l(e[n]);for(let n of Object.getOwnPropertySymbols(e))t[n]=$l(e[n]);return globalThis.Object.freeze(t)}function $l(e){return ul(e)?ane(e):pl(e)?one(e):Sl(e)?sne(e):yl(e)?cne(e):vl(e)?lne(e):e}function z(e,t){let n=t===void 0?e:{...t,...e};switch(Ql.InstanceMode){case`freeze`:return $l(n);case`clone`:return Al(n);default:return n}}var eu=class extends Error{constructor(e){super(e)}},tu=Symbol.for(`TypeBox.Transform`),nu=Symbol.for(`TypeBox.Readonly`),ru=Symbol.for(`TypeBox.Optional`),iu=Symbol.for(`TypeBox.Hint`),au=Symbol.for(`TypeBox.Kind`);function ou(e){return vl(e)&&e[nu]===`Readonly`}function su(e){return vl(e)&&e[ru]===`Optional`}function cu(e){return bu(e,`Any`)}function lu(e){return bu(e,`Argument`)}function uu(e){return bu(e,`Array`)}function du(e){return bu(e,`AsyncIterator`)}function fu(e){return bu(e,`BigInt`)}function pu(e){return bu(e,`Boolean`)}function mu(e){return bu(e,`Computed`)}function hu(e){return bu(e,`Constructor`)}function une(e){return bu(e,`Date`)}function gu(e){return bu(e,`Function`)}function _u(e){return bu(e,`Integer`)}function vu(e){return bu(e,`Intersect`)}function yu(e){return bu(e,`Iterator`)}function bu(e,t){return vl(e)&&au in e&&e[au]===t}function xu(e){return fl(e)||_l(e)||bl(e)}function Su(e){return bu(e,`Literal`)}function Cu(e){return bu(e,`MappedKey`)}function wu(e){return bu(e,`MappedResult`)}function Tu(e){return bu(e,`Never`)}function dne(e){return bu(e,`Not`)}function Eu(e){return bu(e,`Null`)}function Du(e){return bu(e,`Number`)}function Ou(e){return bu(e,`Object`)}function ku(e){return bu(e,`Promise`)}function Au(e){return bu(e,`Record`)}function ju(e){return bu(e,`Ref`)}function Mu(e){return bu(e,`RegExp`)}function Nu(e){return bu(e,`String`)}function Pu(e){return bu(e,`Symbol`)}function Fu(e){return bu(e,`TemplateLiteral`)}function fne(e){return bu(e,`This`)}function Iu(e){return vl(e)&&tu in e}function Lu(e){return bu(e,`Tuple`)}function Ru(e){return bu(e,`Undefined`)}function zu(e){return bu(e,`Union`)}function pne(e){return bu(e,`Uint8Array`)}function mne(e){return bu(e,`Unknown`)}function hne(e){return bu(e,`Unsafe`)}function gne(e){return bu(e,`Void`)}function _ne(e){return vl(e)&&au in e&&bl(e[au])}function Bu(e){return cu(e)||lu(e)||uu(e)||pu(e)||fu(e)||du(e)||mu(e)||hu(e)||une(e)||gu(e)||_u(e)||vu(e)||yu(e)||Su(e)||Cu(e)||wu(e)||Tu(e)||dne(e)||Eu(e)||Du(e)||Ou(e)||ku(e)||Au(e)||ju(e)||Mu(e)||Nu(e)||Pu(e)||Fu(e)||fne(e)||Lu(e)||Ru(e)||zu(e)||pne(e)||mne(e)||hne(e)||gne(e)||_ne(e)}var vne=`Argument.Any.Array.AsyncIterator.BigInt.Boolean.Computed.Constructor.Date.Enum.Function.Integer.Intersect.Iterator.Literal.MappedKey.MappedResult.Not.Null.Number.Object.Promise.Record.Ref.RegExp.String.Symbol.TemplateLiteral.This.Tuple.Undefined.Union.Uint8Array.Unknown.Void`.split(`.`);function Vu(e){try{return new RegExp(e),!0}catch{return!1}}function Hu(e){if(!bl(e))return!1;for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if(n>=7&&n<=13||n===27||n===127)return!1}return!0}function Uu(e){return Ku(e)||Ad(e)}function Wu(e){return Cl(e)||dl(e)}function Gu(e){return Cl(e)||_l(e)}function Ku(e){return Cl(e)||fl(e)}function qu(e){return Cl(e)||bl(e)}function yne(e){return Cl(e)||bl(e)&&Hu(e)&&Vu(e)}function bne(e){return Cl(e)||bl(e)&&Hu(e)}function Ju(e){return Cl(e)||Ad(e)}function Yu(e){return vl(e)&&e[ru]===`Optional`}function Xu(e){return cd(e,`Any`)&&qu(e.$id)}function xne(e){return cd(e,`Argument`)&&_l(e.index)}function Zu(e){return cd(e,`Array`)&&e.type===`array`&&qu(e.$id)&&Ad(e.items)&&Gu(e.minItems)&&Gu(e.maxItems)&&Ku(e.uniqueItems)&&Ju(e.contains)&&Gu(e.minContains)&&Gu(e.maxContains)}function Qu(e){return cd(e,`AsyncIterator`)&&e.type===`AsyncIterator`&&qu(e.$id)&&Ad(e.items)}function $u(e){return cd(e,`BigInt`)&&e.type===`bigint`&&qu(e.$id)&&Wu(e.exclusiveMaximum)&&Wu(e.exclusiveMinimum)&&Wu(e.maximum)&&Wu(e.minimum)&&Wu(e.multipleOf)}function ed(e){return cd(e,`Boolean`)&&e.type===`boolean`&&qu(e.$id)}function Sne(e){return cd(e,`Computed`)&&bl(e.target)&&ul(e.parameters)&&e.parameters.every(e=>Ad(e))}function td(e){return cd(e,`Constructor`)&&e.type===`Constructor`&&qu(e.$id)&&ul(e.parameters)&&e.parameters.every(e=>Ad(e))&&Ad(e.returns)}function nd(e){return cd(e,`Date`)&&e.type===`Date`&&qu(e.$id)&&Gu(e.exclusiveMaximumTimestamp)&&Gu(e.exclusiveMinimumTimestamp)&&Gu(e.maximumTimestamp)&&Gu(e.minimumTimestamp)&&Gu(e.multipleOfTimestamp)}function rd(e){return cd(e,`Function`)&&e.type===`Function`&&qu(e.$id)&&ul(e.parameters)&&e.parameters.every(e=>Ad(e))&&Ad(e.returns)}function id(e){return cd(e,`Integer`)&&e.type===`integer`&&qu(e.$id)&&Gu(e.exclusiveMaximum)&&Gu(e.exclusiveMinimum)&&Gu(e.maximum)&&Gu(e.minimum)&&Gu(e.multipleOf)}function ad(e){return vl(e)&&Object.entries(e).every(([e,t])=>Hu(e)&&Ad(t))}function od(e){return cd(e,`Intersect`)&&!(bl(e.type)&&e.type!==`object`)&&ul(e.allOf)&&e.allOf.every(e=>Ad(e)&&!One(e))&&qu(e.type)&&(Ku(e.unevaluatedProperties)||Ju(e.unevaluatedProperties))&&qu(e.$id)}function sd(e){return cd(e,`Iterator`)&&e.type===`Iterator`&&qu(e.$id)&&Ad(e.items)}function cd(e,t){return vl(e)&&au in e&&e[au]===t}function ld(e){return fd(e)&&bl(e.const)}function ud(e){return fd(e)&&_l(e.const)}function dd(e){return fd(e)&&fl(e.const)}function fd(e){return cd(e,`Literal`)&&qu(e.$id)&&Cne(e.const)}function Cne(e){return fl(e)||_l(e)||bl(e)}function wne(e){return cd(e,`MappedKey`)&&ul(e.keys)&&e.keys.every(e=>_l(e)||bl(e))}function Tne(e){return cd(e,`MappedResult`)&&ad(e.properties)}function pd(e){return cd(e,`Never`)&&vl(e.not)&&Object.getOwnPropertyNames(e.not).length===0}function md(e){return cd(e,`Not`)&&Ad(e.not)}function hd(e){return cd(e,`Null`)&&e.type===`null`&&qu(e.$id)}function gd(e){return cd(e,`Number`)&&e.type===`number`&&qu(e.$id)&&Gu(e.exclusiveMaximum)&&Gu(e.exclusiveMinimum)&&Gu(e.maximum)&&Gu(e.minimum)&&Gu(e.multipleOf)}function _d(e){return cd(e,`Object`)&&e.type===`object`&&qu(e.$id)&&ad(e.properties)&&Uu(e.additionalProperties)&&Gu(e.minProperties)&&Gu(e.maxProperties)}function vd(e){return cd(e,`Promise`)&&e.type===`Promise`&&qu(e.$id)&&Ad(e.item)}function yd(e){return cd(e,`Record`)&&e.type===`object`&&qu(e.$id)&&Uu(e.additionalProperties)&&vl(e.patternProperties)&&(e=>{let t=Object.getOwnPropertyNames(e.patternProperties);return t.length===1&&Vu(t[0])&&vl(e.patternProperties)&&Ad(e.patternProperties[t[0]])})(e)}function Ene(e){return cd(e,`Ref`)&&qu(e.$id)&&bl(e.$ref)}function bd(e){return cd(e,`RegExp`)&&qu(e.$id)&&bl(e.source)&&bl(e.flags)&&Gu(e.maxLength)&&Gu(e.minLength)}function xd(e){return cd(e,`String`)&&e.type===`string`&&qu(e.$id)&&Gu(e.minLength)&&Gu(e.maxLength)&&yne(e.pattern)&&bne(e.format)}function Sd(e){return cd(e,`Symbol`)&&e.type===`symbol`&&qu(e.$id)}function Cd(e){return cd(e,`TemplateLiteral`)&&e.type===`string`&&bl(e.pattern)&&e.pattern[0]===`^`&&e.pattern[e.pattern.length-1]===`$`}function Dne(e){return cd(e,`This`)&&qu(e.$id)&&bl(e.$ref)}function One(e){return vl(e)&&tu in e}function wd(e){return cd(e,`Tuple`)&&e.type===`array`&&qu(e.$id)&&_l(e.minItems)&&_l(e.maxItems)&&e.minItems===e.maxItems&&(Cl(e.items)&&Cl(e.additionalItems)&&e.minItems===0||ul(e.items)&&e.items.every(e=>Ad(e)))}function Td(e){return cd(e,`Undefined`)&&e.type===`undefined`&&qu(e.$id)}function Ed(e){return cd(e,`Union`)&&qu(e.$id)&&vl(e)&&ul(e.anyOf)&&e.anyOf.every(e=>Ad(e))}function Dd(e){return cd(e,`Uint8Array`)&&e.type===`Uint8Array`&&qu(e.$id)&&Gu(e.minByteLength)&&Gu(e.maxByteLength)}function Od(e){return cd(e,`Unknown`)&&qu(e.$id)}function kne(e){return cd(e,`Unsafe`)}function kd(e){return cd(e,`Void`)&&e.type===`void`&&qu(e.$id)}function Ane(e){return vl(e)&&au in e&&bl(e[au])&&!vne.includes(e[au])}function Ad(e){return vl(e)&&(Xu(e)||xne(e)||Zu(e)||ed(e)||$u(e)||Qu(e)||Sne(e)||td(e)||nd(e)||rd(e)||id(e)||od(e)||sd(e)||fd(e)||wne(e)||Tne(e)||pd(e)||md(e)||hd(e)||gd(e)||_d(e)||vd(e)||yd(e)||Ene(e)||bd(e)||xd(e)||Sd(e)||Cd(e)||Dne(e)||wd(e)||Td(e)||Ed(e)||Dd(e)||Od(e)||kne(e)||kd(e)||Ane(e))}var jd=`(true|false)`,Md=`(0|[1-9][0-9]*)`,Nd=`(.*)`,jne=`(?!.*)`;`${jd}`;var Pd=`^${Md}$`,Fd=`^${Nd}$`,Mne=`^${jne}$`,Id=new Map;function Ld(e){return Id.has(e)}function Rd(e){return Id.get(e)}var zd=new Map;function Bd(e){return zd.has(e)}function Vd(e){return zd.get(e)}function Nne(e,t){return e.includes(t)}function Pne(e){return[...new Set(e)]}function Fne(e,t){return e.filter(e=>t.includes(e))}function Ine(e,t){return e.reduce((e,t)=>Fne(e,t),t)}function Hd(e){return e.length===1?e[0]:e.length>1?Ine(e.slice(1),e[0]):[]}function Ud(e){let t=[];for(let n of e)t.push(...n);return t}function Wd(e){return z({[au]:`Any`},e)}function Gd(e,t){return z({[au]:`Array`,type:`array`,items:e},t)}function Kd(e){return z({[au]:`Argument`,index:e})}function qd(e,t){return z({[au]:`AsyncIterator`,type:`AsyncIterator`,items:e},t)}function Jd(e,t,n){return z({[au]:`Computed`,target:e,parameters:t},n)}function Yd(e,t){let{[t]:n,...r}=e;return r}function Xd(e,t){return t.reduce((e,t)=>Yd(e,t),e)}function Zd(e){return z({[au]:`Never`,not:{}},e)}function Qd(e){return z({[au]:`MappedResult`,properties:e})}function $d(e,t,n){return z({[au]:`Constructor`,type:`Constructor`,parameters:e,returns:t},n)}function ef(e,t,n){return z({[au]:`Function`,type:`Function`,parameters:e,returns:t},n)}function tf(e,t){return z({[au]:`Union`,anyOf:e},t)}function nf(e){return e.some(e=>su(e))}function rf(e){return e.map(e=>su(e)?af(e):e)}function af(e){return Xd(e,[ru])}function of(e,t){return nf(e)?Kp(tf(rf(e),t)):tf(rf(e),t)}function sf(e,t){return e.length===1?z(e[0],t):e.length===0?Zd(t):of(e,t)}function cf(e,t){return e.length===0?Zd(t):e.length===1?z(e[0],t):tf(e,t)}var lf=class extends eu{};function uf(e){return e.replace(/\\\$/g,`$`).replace(/\\\*/g,`*`).replace(/\\\^/g,`^`).replace(/\\\|/g,`|`).replace(/\\\(/g,`(`).replace(/\\\)/g,`)`)}function df(e,t,n){return e[t]===n&&e.charCodeAt(t-1)!==92}function ff(e,t){return df(e,t,`(`)}function pf(e,t){return df(e,t,`)`)}function mf(e,t){return df(e,t,`|`)}function hf(e){if(!(ff(e,0)&&pf(e,e.length-1)))return!1;let t=0;for(let n=0;n<e.length;n++)if(ff(e,n)&&(t+=1),pf(e,n)&&--t,t===0&&n!==e.length-1)return!1;return!0}function gf(e){return e.slice(1,e.length-1)}function _f(e){let t=0;for(let n=0;n<e.length;n++)if(ff(e,n)&&(t+=1),pf(e,n)&&--t,mf(e,n)&&t===0)return!0;return!1}function vf(e){for(let t=0;t<e.length;t++)if(ff(e,t))return!0;return!1}function yf(e){let[t,n]=[0,0],r=[];for(let i=0;i<e.length;i++)if(ff(e,i)&&(t+=1),pf(e,i)&&--t,mf(e,i)&&t===0){let t=e.slice(n,i);t.length>0&&r.push(xf(t)),n=i+1}let i=e.slice(n);return i.length>0&&r.push(xf(i)),r.length===0?{type:`const`,const:``}:r.length===1?r[0]:{type:`or`,expr:r}}function bf(e){function t(e,t){if(!ff(e,t))throw new lf(`TemplateLiteralParser: Index must point to open parens`);let n=0;for(let r=t;r<e.length;r++)if(ff(e,r)&&(n+=1),pf(e,r)&&--n,n===0)return[t,r];throw new lf(`TemplateLiteralParser: Unclosed group parens in expression`)}function n(e,t){for(let n=t;n<e.length;n++)if(ff(e,n))return[t,n];return[t,e.length]}let r=[];for(let i=0;i<e.length;i++)if(ff(e,i)){let[n,a]=t(e,i),o=e.slice(n,a+1);r.push(xf(o)),i=a}else{let[t,a]=n(e,i),o=e.slice(t,a);o.length>0&&r.push(xf(o)),i=a-1}return r.length===0?{type:`const`,const:``}:r.length===1?r[0]:{type:`and`,expr:r}}function xf(e){return hf(e)?xf(gf(e)):_f(e)?yf(e):vf(e)?bf(e):{type:`const`,const:uf(e)}}function Sf(e){return xf(e.slice(1,e.length-1))}var Cf=class extends eu{};function wf(e){return e.type===`or`&&e.expr.length===2&&e.expr[0].type===`const`&&e.expr[0].const===`0`&&e.expr[1].type===`const`&&e.expr[1].const===`[1-9][0-9]*`}function Tf(e){return e.type===`or`&&e.expr.length===2&&e.expr[0].type===`const`&&e.expr[0].const===`true`&&e.expr[1].type===`const`&&e.expr[1].const===`false`}function Ef(e){return e.type===`const`&&e.const===`.*`}function Df(e){return wf(e)||Ef(e)?!1:Tf(e)?!0:e.type===`and`||e.type===`or`?e.expr.every(e=>Df(e)):e.type===`const`||(()=>{throw new Cf(`Unknown expression type`)})()}function Of(e){return Df(Sf(e.pattern))}var kf=class extends eu{};function*Af(e){if(e.length===1)return yield*e[0];for(let t of e[0])for(let n of Af(e.slice(1)))yield`${t}${n}`}function*jf(e){return yield*Af(e.expr.map(e=>[...Pf(e)]))}function*Mf(e){for(let t of e.expr)yield*Pf(t)}function*Nf(e){return yield e.const}function*Pf(e){return e.type===`and`?yield*jf(e):e.type===`or`?yield*Mf(e):e.type===`const`?yield*Nf(e):(()=>{throw new kf(`Unknown expression`)})()}function Ff(e){let t=Sf(e.pattern);return Df(t)?[...Pf(t)]:[]}function If(e,t){return z({[au]:`Literal`,const:e,type:typeof e},t)}function Lf(e){return z({[au]:`Boolean`,type:`boolean`},e)}function Rf(e){return z({[au]:`BigInt`,type:`bigint`},e)}function zf(e){return z({[au]:`Number`,type:`number`},e)}function Bf(e){return z({[au]:`String`,type:`string`},e)}function*Vf(e){let t=e.trim().replace(/"|'/g,``);return t===`boolean`?yield Lf():t===`number`?yield zf():t===`bigint`?yield Rf():t===`string`?yield Bf():yield(()=>{let e=t.split(`|`).map(e=>If(e.trim()));return e.length===0?Zd():e.length===1?e[0]:sf(e)})()}function*Hf(e){if(e[1]!==`{`)return yield*[If(`$`),...Uf(e.slice(1))];for(let t=2;t<e.length;t++)if(e[t]===`}`){let n=Vf(e.slice(2,t)),r=Uf(e.slice(t+1));return yield*[...n,...r]}yield If(e)}function*Uf(e){for(let t=0;t<e.length;t++)if(e[t]===`$`)return yield*[If(e.slice(0,t)),...Hf(e.slice(t))];yield If(e)}function Wf(e){return[...Uf(e)]}var Gf=class extends eu{};function Kf(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function qf(e,t){return Fu(e)?e.pattern.slice(1,e.pattern.length-1):zu(e)?`(${e.anyOf.map(e=>qf(e,t)).join(`|`)})`:Du(e)||_u(e)||fu(e)?`${t}${Md}`:Nu(e)?`${t}${Nd}`:Su(e)?`${t}${Kf(e.const.toString())}`:pu(e)?`${t}${jd}`:(()=>{throw new Gf(`Unexpected Kind '${e[au]}'`)})()}function Jf(e){return`^${e.map(e=>qf(e,``)).join(``)}\$`}function Yf(e){return sf(Ff(e).map(e=>If(e)))}function Xf(e,t){let n=bl(e)?Jf(Wf(e)):Jf(e);return z({[au]:`TemplateLiteral`,type:`string`,pattern:n},t)}function Zf(e){return Ff(e).map(e=>e.toString())}function Qf(e){let t=[];for(let n of e)t.push(...ep(n));return t}function $f(e){return[e.toString()]}function ep(e){return[...new Set(Fu(e)?Zf(e):zu(e)?Qf(e.anyOf):Su(e)?$f(e.const):Du(e)||_u(e)?[`[number]`]:[])]}function tp(e,t,n){let r={};for(let i of Object.getOwnPropertyNames(t))r[i]=hp(e,ep(t[i]),n);return r}function np(e,t,n){return tp(e,t.properties,n)}function rp(e,t,n){return Qd(np(e,t,n))}function ip(e,t){return e.map(e=>fp(e,t))}function ap(e){return e.filter(e=>!Tu(e))}function op(e,t){return tm(ap(ip(e,t)))}function sp(e){return e.some(e=>Tu(e))?[]:e}function cp(e,t){return sf(sp(ip(e,t)))}function lp(e,t){return t in e?e[t]:t===`[number]`?sf(e):Zd()}function up(e,t){return t===`[number]`?e:Zd()}function dp(e,t){return t in e?e[t]:Zd()}function fp(e,t){return vu(e)?op(e.allOf,t):zu(e)?cp(e.anyOf,t):Lu(e)?lp(e.items??[],t):uu(e)?up(e.items,t):Ou(e)?dp(e.properties,t):Zd()}function pp(e,t){return t.map(t=>fp(e,t))}function mp(e,t){return sf(pp(e,t))}function hp(e,t,n){if(ju(e)||ju(t)){if(!Bu(e)||!Bu(t))throw new eu(`Index types using Ref parameters require both Type and Key to be of TSchema`);return Jd(`Index`,[e,t])}return wu(t)?rp(e,t,n):Cu(t)?yp(e,t,n):z(Bu(t)?mp(e,ep(t)):mp(e,t),n)}function gp(e,t,n){return{[t]:hp(e,[t],Al(n))}}function _p(e,t,n){return t.reduce((t,r)=>({...t,...gp(e,r,n)}),{})}function vp(e,t,n){return _p(e,t.keys,n)}function yp(e,t,n){return Qd(vp(e,t,n))}function bp(e,t){return z({[au]:`Iterator`,type:`Iterator`,items:e},t)}function xp(e){let t=[];for(let n in e)su(e[n])||t.push(n);return t}function Sp(e,t){let n=xp(e);return z(n.length>0?{[au]:`Object`,type:`object`,properties:e,required:n}:{[au]:`Object`,type:`object`,properties:e},t)}var Cp=Sp;function wp(e,t){return z({[au]:`Promise`,type:`Promise`,item:e},t)}function Tp(e){return z(Xd(e,[nu]))}function Ep(e){return z({...e,[nu]:`Readonly`})}function Dp(e,t){return t===!1?Tp(e):Ep(e)}function Op(e,t){let n=t??!0;return wu(e)?jp(e,n):Dp(e,n)}function kp(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=Op(e[r],t);return n}function Ap(e,t){return kp(e.properties,t)}function jp(e,t){return Qd(Ap(e,t))}function Mp(e,t){return z(e.length>0?{[au]:`Tuple`,type:`array`,items:e,additionalItems:!1,minItems:e.length,maxItems:e.length}:{[au]:`Tuple`,type:`array`,minItems:e.length,maxItems:e.length},t)}function Np(e,t){return e in t?Bp(e,t[e]):Qd(t)}function Pp(e){return{[e]:If(e)}}function Fp(e){let t={};for(let n of e)t[n]=If(n);return t}function Ip(e,t){return Nne(t,e)?Pp(e):Fp(t)}function Lp(e,t){return Np(e,Ip(e,t))}function Rp(e,t){return t.map(t=>Bp(e,t))}function zp(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(t))n[r]=Bp(e,t[r]);return n}function Bp(e,t){let n={...t};return su(t)?Kp(Bp(e,Xd(t,[ru]))):ou(t)?Op(Bp(e,Xd(t,[nu]))):wu(t)?Np(e,t.properties):Cu(t)?Lp(e,t.keys):hu(t)?$d(Rp(e,t.parameters),Bp(e,t.returns),n):gu(t)?ef(Rp(e,t.parameters),Bp(e,t.returns),n):du(t)?qd(Bp(e,t.items),n):yu(t)?bp(Bp(e,t.items),n):vu(t)?nm(Rp(e,t.allOf),n):zu(t)?cf(Rp(e,t.anyOf),n):Lu(t)?Mp(Rp(e,t.items??[]),n):Ou(t)?Cp(zp(e,t.properties),n):uu(t)?Gd(Bp(e,t.items),n):ku(t)?wp(Bp(e,t.item),n):t}function Vp(e,t){let n={};for(let r of e)n[r]=Bp(r,t);return n}function Hp(e,t,n){let r=Bu(e)?ep(e):e;return Cp(Vp(r,t({[au]:`MappedKey`,keys:r})),n)}function Up(e){return z(Xd(e,[ru]))}function Wp(e){return z({...e,[ru]:`Optional`})}function Gp(e,t){return t===!1?Up(e):Wp(e)}function Kp(e,t){let n=t??!0;return wu(e)?Yp(e,n):Gp(e,n)}function qp(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=Kp(e[r],t);return n}function Jp(e,t){return qp(e.properties,t)}function Yp(e,t){return Qd(Jp(e,t))}function Xp(e,t={}){let n=e.every(e=>Ou(e)),r=Bu(t.unevaluatedProperties)?{unevaluatedProperties:t.unevaluatedProperties}:{};return z(t.unevaluatedProperties===!1||Bu(t.unevaluatedProperties)||n?{...r,[au]:`Intersect`,type:`object`,allOf:e}:{...r,[au]:`Intersect`,allOf:e},t)}function Zp(e){return e.every(e=>su(e))}function Qp(e){return Xd(e,[ru])}function $p(e){return e.map(e=>su(e)?Qp(e):e)}function em(e,t){return Zp(e)?Kp(Xp($p(e),t)):Xp($p(e),t)}function tm(e,t={}){if(e.length===1)return z(e[0],t);if(e.length===0)return Zd(t);if(e.some(e=>Iu(e)))throw Error(`Cannot intersect transform types`);return em(e,t)}function nm(e,t){if(e.length===1)return z(e[0],t);if(e.length===0)return Zd(t);if(e.some(e=>Iu(e)))throw Error(`Cannot intersect transform types`);return Xp(e,t)}function rm(...e){let[t,n]=typeof e[0]==`string`?[e[0],e[1]]:[e[0].$id,e[1]];if(typeof t!=`string`)throw new eu(`Ref: $ref must be a string`);return z({[au]:`Ref`,$ref:t},n)}function im(e,t){return Jd(`Awaited`,[Jd(e,t)])}function am(e){return Jd(`Awaited`,[rm(e)])}function om(e){return nm(lm(e))}function sm(e){return cf(lm(e))}function cm(e){return um(e)}function lm(e){return e.map(e=>um(e))}function um(e,t){return z(mu(e)?im(e.target,e.parameters):vu(e)?om(e.allOf):zu(e)?sm(e.anyOf):ku(e)?cm(e.item):ju(e)?am(e.$ref):e,t)}function dm(e){let t=[];for(let n of e)t.push(vm(n));return t}function fm(e){return Ud(dm(e))}function pm(e){return Hd(dm(e))}function mm(e){return e.map((e,t)=>t.toString())}function hm(e){return[`[number]`]}function gm(e){return globalThis.Object.getOwnPropertyNames(e)}function _m(e){return ym?globalThis.Object.getOwnPropertyNames(e).map(e=>e[0]===`^`&&e[e.length-1]===`$`?e.slice(1,e.length-1):e):[]}function vm(e){return vu(e)?fm(e.allOf):zu(e)?pm(e.anyOf):Lu(e)?mm(e.items??[]):uu(e)?hm(e.items):Ou(e)?gm(e.properties):Au(e)?_m(e.patternProperties):[]}var ym=!1;function bm(e){ym=!0;let t=vm(e);return ym=!1,`^(${t.map(e=>`(${e})`).join(`|`)})$`}function xm(e,t){return Jd(`KeyOf`,[Jd(e,t)])}function Sm(e){return Jd(`KeyOf`,[rm(e)])}function Cm(e,t){return z(sf(wm(vm(e))),t)}function wm(e){return e.map(e=>e===`[number]`?zf():If(e))}function Tm(e,t){return mu(e)?xm(e.target,e.parameters):ju(e)?Sm(e.$ref):wu(e)?Om(e,t):Cm(e,t)}function Em(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=Tm(e[r],Al(t));return n}function Dm(e,t){return Em(e.properties,t)}function Om(e,t){return Qd(Dm(e,t))}function km(e){let t=[];for(let n of e)t.push(...vm(n));return Pne(t)}function Am(e){return e.filter(e=>!Tu(e))}function jm(e,t){let n=[];for(let r of e)n.push(...pp(r,[t]));return Am(n)}function Mm(e,t){let n={};for(let r of t)n[r]=tm(jm(e,r));return n}function Nm(e,t){return Cp(Mm(e,km(e)),t)}function Pm(e){return z({[au]:`Date`,type:`Date`},e)}function Fm(e){return z({[au]:`Null`,type:`null`},e)}function Im(e){return z({[au]:`Symbol`,type:`symbol`},e)}function Lm(e){return z({[au]:`Undefined`,type:`undefined`},e)}function Rm(e){return z({[au]:`Uint8Array`,type:`Uint8Array`},e)}function zm(e){return z({[au]:`Unknown`},e)}function Bm(e){return e.map(e=>Um(e,!1))}function Vm(e){let t={};for(let n of globalThis.Object.getOwnPropertyNames(e))t[n]=Op(Um(e[n],!1));return t}function Hm(e,t){return t===!0?e:Op(e)}function Um(e,t){return ll(e)||hl(e)?Hm(Wd(),t):ul(e)?Op(Mp(Bm(e))):Sl(e)?Rm():pl(e)?Pm():vl(e)?Hm(Cp(Vm(e)),t):ml(e)?Hm(ef([],zm()),t):Cl(e)?Lm():gl(e)?Fm():xl(e)?Im():dl(e)?Rf():_l(e)||fl(e)||bl(e)?If(e):Cp({})}function Wm(e,t){return z(Um(e,!0),t)}function Gm(e,t){return hu(e)?Mp(e.parameters,t):Zd(t)}function Km(e,t){if(Cl(e))throw Error(`Enum undefined or empty`);let n=globalThis.Object.getOwnPropertyNames(e).filter(e=>isNaN(e)).map(t=>e[t]);return cf([...new Set(n)].map(e=>If(e)),{...t,[iu]:`Enum`})}var qm=class extends eu{},B;(function(e){e[e.Union=0]=`Union`,e[e.True=1]=`True`,e[e.False=2]=`False`})(B||={});function Jm(e){return e===B.False?e:B.True}function Ym(e){throw new qm(e)}function Xm(e){return pd(e)||od(e)||Ed(e)||Od(e)||Xu(e)}function Zm(e,t){return pd(t)?hh(e,t):od(t)?dh(e,t):Ed(t)?Qh(e,t):Od(t)?eg(e,t):Xu(t)?Qm(e,t):Ym(`StructuralRight`)}function Qm(e,t){return B.True}function $m(e,t){return od(t)?dh(e,t):Ed(t)&&t.anyOf.some(e=>Xu(e)||Od(e))?B.True:Ed(t)?B.Union:Od(t)||Xu(t)?B.True:B.Union}function eh(e,t){return Od(e)?B.False:Xu(e)?B.Union:pd(e)?B.True:B.False}function th(e,t){return _d(t)&&Mh(t)?B.True:Xm(t)?Zm(e,t):Zu(t)?Jm(ig(e.items,t.items)):B.False}function nh(e,t){return Xm(t)?Zm(e,t):Qu(t)?Jm(ig(e.items,t.items)):B.False}function rh(e,t){return Xm(t)?Zm(e,t):_d(t)?Fh(e,t):yd(t)?Bh(e,t):$u(t)?B.True:B.False}function ih(e,t){return dd(e)||ed(e)?B.True:B.False}function ah(e,t){return Xm(t)?Zm(e,t):_d(t)?Fh(e,t):yd(t)?Bh(e,t):ed(t)?B.True:B.False}function oh(e,t){return Xm(t)?Zm(e,t):_d(t)?Fh(e,t):td(t)?e.parameters.length>t.parameters.length?B.False:e.parameters.every((e,n)=>Jm(ig(t.parameters[n],e))===B.True)?Jm(ig(e.returns,t.returns)):B.False:B.False}function sh(e,t){return Xm(t)?Zm(e,t):_d(t)?Fh(e,t):yd(t)?Bh(e,t):nd(t)?B.True:B.False}function ch(e,t){return Xm(t)?Zm(e,t):_d(t)?Fh(e,t):rd(t)?e.parameters.length>t.parameters.length?B.False:e.parameters.every((e,n)=>Jm(ig(t.parameters[n],e))===B.True)?Jm(ig(e.returns,t.returns)):B.False:B.False}function lh(e,t){return fd(e)&&_l(e.const)||gd(e)||id(e)?B.True:B.False}function uh(e,t){return id(t)||gd(t)?B.True:Xm(t)?Zm(e,t):_d(t)?Fh(e,t):yd(t)?Bh(e,t):B.False}function dh(e,t){return t.allOf.every(t=>ig(e,t)===B.True)?B.True:B.False}function fh(e,t){return e.allOf.some(e=>ig(e,t)===B.True)?B.True:B.False}function ph(e,t){return Xm(t)?Zm(e,t):sd(t)?Jm(ig(e.items,t.items)):B.False}function mh(e,t){return fd(t)&&t.const===e.const?B.True:Xm(t)?Zm(e,t):_d(t)?Fh(e,t):yd(t)?Bh(e,t):xd(t)?Uh(e,t):gd(t)?bh(e,t):id(t)?lh(e,t):ed(t)?ih(e,t):B.False}function hh(e,t){return B.False}function gh(e,t){return B.True}function _h(e){let[t,n]=[e,0];for(;md(t);)t=t.not,n+=1;return n%2==0?t:zm()}function vh(e,t){return md(e)?ig(_h(e),t):md(t)?ig(e,_h(t)):Ym(`Invalid fallthrough for Not`)}function yh(e,t){return Xm(t)?Zm(e,t):_d(t)?Fh(e,t):yd(t)?Bh(e,t):hd(t)?B.True:B.False}function bh(e,t){return ud(e)||gd(e)||id(e)?B.True:B.False}function xh(e,t){return Xm(t)?Zm(e,t):_d(t)?Fh(e,t):yd(t)?Bh(e,t):id(t)||gd(t)?B.True:B.False}function Sh(e,t){return Object.getOwnPropertyNames(e.properties).length===t}function Ch(e){return Mh(e)}function wh(e){return Sh(e,0)||Sh(e,1)&&`description`in e.properties&&Ed(e.properties.description)&&e.properties.description.anyOf.length===2&&(xd(e.properties.description.anyOf[0])&&Td(e.properties.description.anyOf[1])||xd(e.properties.description.anyOf[1])&&Td(e.properties.description.anyOf[0]))}function Th(e){return Sh(e,0)}function Eh(e){return Sh(e,0)}function Dh(e){return Sh(e,0)}function Oh(e){return Sh(e,0)}function kh(e){return Mh(e)}function Ah(e){let t=zf();return Sh(e,0)||Sh(e,1)&&`length`in e.properties&&Jm(ig(e.properties.length,t))===B.True}function jh(e){return Sh(e,0)}function Mh(e){let t=zf();return Sh(e,0)||Sh(e,1)&&`length`in e.properties&&Jm(ig(e.properties.length,t))===B.True}function Nh(e){let t=ef([Wd()],Wd());return Sh(e,0)||Sh(e,1)&&`then`in e.properties&&Jm(ig(e.properties.then,t))===B.True}function Ph(e,t){return ig(e,t)===B.False||Yu(e)&&!Yu(t)?B.False:B.True}function Fh(e,t){return Od(e)?B.False:Xu(e)?B.Union:pd(e)||ld(e)&&Ch(t)||ud(e)&&Th(t)||dd(e)&&Eh(t)||Sd(e)&&wh(t)||$u(e)&&Dh(t)||xd(e)&&Ch(t)||Sd(e)&&wh(t)||gd(e)&&Th(t)||id(e)&&Th(t)||ed(e)&&Eh(t)||Dd(e)&&kh(t)||nd(e)&&Oh(t)||td(e)&&jh(t)||rd(e)&&Ah(t)?B.True:yd(e)&&xd(Rh(e))?t[iu]===`Record`?B.True:B.False:yd(e)&&gd(Rh(e))&&Sh(t,0)?B.True:B.False}function Ih(e,t){return Xm(t)?Zm(e,t):yd(t)?Bh(e,t):_d(t)?(()=>{for(let n of Object.getOwnPropertyNames(t.properties)){if(!(n in e.properties)&&!Yu(t.properties[n]))return B.False;if(Yu(t.properties[n]))return B.True;if(Ph(e.properties[n],t.properties[n])===B.False)return B.False}return B.True})():B.False}function Lh(e,t){return Xm(t)?Zm(e,t):_d(t)&&Nh(t)?B.True:vd(t)?Jm(ig(e.item,t.item)):B.False}function Rh(e){return Pd in e.patternProperties?zf():Fd in e.patternProperties?Bf():Ym(`Unknown record key pattern`)}function zh(e){return Pd in e.patternProperties?e.patternProperties[Pd]:Fd in e.patternProperties?e.patternProperties[Fd]:Ym(`Unable to get record value schema`)}function Bh(e,t){let[n,r]=[Rh(t),zh(t)];return ld(e)&&gd(n)&&Jm(ig(e,r))===B.True?B.True:Dd(e)&&gd(n)||xd(e)&&gd(n)||Zu(e)&&gd(n)?ig(e,r):_d(e)?(()=>{for(let t of Object.getOwnPropertyNames(e.properties))if(Ph(r,e.properties[t])===B.False)return B.False;return B.True})():B.False}function Vh(e,t){return Xm(t)?Zm(e,t):_d(t)?Fh(e,t):yd(t)?ig(zh(e),zh(t)):B.False}function Hh(e,t){return ig(bd(e)?Bf():e,bd(t)?Bf():t)}function Uh(e,t){return fd(e)&&bl(e.const)||xd(e)?B.True:B.False}function Wh(e,t){return Xm(t)?Zm(e,t):_d(t)?Fh(e,t):yd(t)?Bh(e,t):xd(t)?B.True:B.False}function Gh(e,t){return Xm(t)?Zm(e,t):_d(t)?Fh(e,t):yd(t)?Bh(e,t):Sd(t)?B.True:B.False}function Kh(e,t){return Cd(e)?ig(Yf(e),t):Cd(t)?ig(e,Yf(t)):Ym(`Invalid fallthrough for TemplateLiteral`)}function qh(e,t){return Zu(t)&&e.items!==void 0&&e.items.every(e=>ig(e,t.items)===B.True)}function Jh(e,t){return pd(e)?B.True:Od(e)?B.False:Xu(e)?B.Union:B.False}function Yh(e,t){return Xm(t)?Zm(e,t):_d(t)&&Mh(t)||Zu(t)&&qh(e,t)?B.True:wd(t)?Cl(e.items)&&!Cl(t.items)||!Cl(e.items)&&Cl(t.items)?B.False:Cl(e.items)&&!Cl(t.items)||e.items.every((e,n)=>ig(e,t.items[n])===B.True)?B.True:B.False:B.False}function Xh(e,t){return Xm(t)?Zm(e,t):_d(t)?Fh(e,t):yd(t)?Bh(e,t):Dd(t)?B.True:B.False}function Zh(e,t){return Xm(t)?Zm(e,t):_d(t)?Fh(e,t):yd(t)?Bh(e,t):kd(t)?ng(e,t):Td(t)?B.True:B.False}function Qh(e,t){return t.anyOf.some(t=>ig(e,t)===B.True)?B.True:B.False}function $h(e,t){return e.anyOf.every(e=>ig(e,t)===B.True)?B.True:B.False}function eg(e,t){return B.True}function tg(e,t){return pd(t)?hh(e,t):od(t)?dh(e,t):Ed(t)?Qh(e,t):Xu(t)?Qm(e,t):xd(t)?Uh(e,t):gd(t)?bh(e,t):id(t)?lh(e,t):ed(t)?ih(e,t):Zu(t)?eh(e,t):wd(t)?Jh(e,t):_d(t)?Fh(e,t):Od(t)?B.True:B.False}function ng(e,t){return Td(e)||Td(e)?B.True:B.False}function rg(e,t){return od(t)?dh(e,t):Ed(t)?Qh(e,t):Od(t)?eg(e,t):Xu(t)?Qm(e,t):_d(t)?Fh(e,t):kd(t)?B.True:B.False}function ig(e,t){return Cd(e)||Cd(t)?Kh(e,t):bd(e)||bd(t)?Hh(e,t):md(e)||md(t)?vh(e,t):Xu(e)?$m(e,t):Zu(e)?th(e,t):$u(e)?rh(e,t):ed(e)?ah(e,t):Qu(e)?nh(e,t):td(e)?oh(e,t):nd(e)?sh(e,t):rd(e)?ch(e,t):id(e)?uh(e,t):od(e)?fh(e,t):sd(e)?ph(e,t):fd(e)?mh(e,t):pd(e)?gh(e,t):hd(e)?yh(e,t):gd(e)?xh(e,t):_d(e)?Ih(e,t):yd(e)?Vh(e,t):xd(e)?Wh(e,t):Sd(e)?Gh(e,t):wd(e)?Yh(e,t):vd(e)?Lh(e,t):Dd(e)?Xh(e,t):Td(e)?Zh(e,t):Ed(e)?$h(e,t):Od(e)?tg(e,t):kd(e)?rg(e,t):Ym(`Unknown left type operand '${e[au]}'`)}function ag(e,t){return ig(e,t)}function og(e,t,n,r,i){let a={};for(let o of globalThis.Object.getOwnPropertyNames(e))a[o]=ug(e[o],t,n,r,Al(i));return a}function sg(e,t,n,r,i){return og(e.properties,t,n,r,i)}function cg(e,t,n,r,i){return Qd(sg(e,t,n,r,i))}function lg(e,t,n,r){let i=ag(e,t);return i===B.Union?cf([n,r]):i===B.True?n:r}function ug(e,t,n,r,i){return wu(e)?cg(e,t,n,r,i):Cu(e)?z(mg(e,t,n,r,i)):z(lg(e,t,n,r),i)}function dg(e,t,n,r,i){return{[e]:ug(If(e),t,n,r,Al(i))}}function fg(e,t,n,r,i){return e.reduce((e,a)=>({...e,...dg(a,t,n,r,i)}),{})}function pg(e,t,n,r,i){return fg(e.keys,t,n,r,i)}function mg(e,t,n,r,i){return Qd(pg(e,t,n,r,i))}function hg(e){return e.allOf.every(e=>vg(e))}function gg(e){return e.anyOf.some(e=>vg(e))}function _g(e){return!vg(e.not)}function vg(e){return e[au]===`Intersect`?hg(e):e[au]===`Union`?gg(e):e[au]===`Not`?_g(e):e[au]===`Undefined`}function yg(e,t){return xg(Yf(e),t)}function bg(e,t){let n=e.filter(e=>ag(e,t)===B.False);return n.length===1?n[0]:cf(n)}function xg(e,t,n={}){return Fu(e)?z(yg(e,t),n):wu(e)?z(wg(e,t),n):z(zu(e)?bg(e.anyOf,t):ag(e,t)===B.False?e:Zd(),n)}function Sg(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=xg(e[r],t);return n}function Cg(e,t){return Sg(e.properties,t)}function wg(e,t){return Qd(Cg(e,t))}function Tg(e,t){return Dg(Yf(e),t)}function Eg(e,t){let n=e.filter(e=>ag(e,t)!==B.False);return n.length===1?n[0]:cf(n)}function Dg(e,t,n){return Fu(e)?z(Tg(e,t),n):wu(e)?z(Ag(e,t),n):z(zu(e)?Eg(e.anyOf,t):ag(e,t)===B.False?Zd():e,n)}function Og(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=Dg(e[r],t);return n}function kg(e,t){return Og(e.properties,t)}function Ag(e,t){return Qd(kg(e,t))}function jg(e,t){return hu(e)?z(e.returns,t):Zd(t)}function Mg(e){return Op(Kp(e))}function Ng(e,t,n){return z({[au]:`Record`,type:`object`,patternProperties:{[e]:t}},n)}function Pg(e,t,n){let r={};for(let n of e)r[n]=t;return Cp(r,{...n,[iu]:`Record`})}function Fg(e,t,n){return Of(e)?Pg(ep(e),t,n):Ng(e.pattern,t,n)}function Ig(e,t,n){return Pg(ep(cf(e)),t,n)}function Lg(e,t,n){return Pg([e.toString()],t,n)}function Rg(e,t,n){return Ng(e.source,t,n)}function zg(e,t,n){return Ng(Cl(e.pattern)?Fd:e.pattern,t,n)}function Bg(e,t,n){return Ng(Fd,t,n)}function Vg(e,t,n){return Ng(Mne,t,n)}function Hg(e,t,n){return Cp({true:t,false:t},n)}function Ug(e,t,n){return Ng(Pd,t,n)}function Wg(e,t,n){return Ng(Pd,t,n)}function Gg(e,t,n={}){return zu(e)?Ig(e.anyOf,t,n):Fu(e)?Fg(e,t,n):Su(e)?Lg(e.const,t,n):pu(e)?Hg(e,t,n):_u(e)?Ug(e,t,n):Du(e)?Wg(e,t,n):Mu(e)?Rg(e,t,n):Nu(e)?zg(e,t,n):cu(e)?Bg(e,t,n):Tu(e)?Vg(e,t,n):Zd(n)}function Kg(e){return globalThis.Object.getOwnPropertyNames(e.patternProperties)[0]}function qg(e){let t=Kg(e);return t===Fd?Bf():t===Pd?zf():Bf({pattern:t})}function Jg(e){return e.patternProperties[Kg(e)]}function Yg(e,t){return t.parameters=l_(e,t.parameters),t.returns=u_(e,t.returns),t}function Xg(e,t){return t.parameters=l_(e,t.parameters),t.returns=u_(e,t.returns),t}function Zg(e,t){return t.allOf=l_(e,t.allOf),t}function Qg(e,t){return t.anyOf=l_(e,t.anyOf),t}function $g(e,t){return Cl(t.items)||(t.items=l_(e,t.items)),t}function e_(e,t){return t.items=u_(e,t.items),t}function t_(e,t){return t.items=u_(e,t.items),t}function n_(e,t){return t.items=u_(e,t.items),t}function r_(e,t){return t.item=u_(e,t.item),t}function i_(e,t){let n=c_(e,t.properties);return{...t,...Cp(n)}}function a_(e,t){let n=Gg(u_(e,qg(t)),u_(e,Jg(t)));return{...t,...n}}function o_(e,t){return t.index in e?e[t.index]:zm()}function s_(e,t){let n=ou(t),r=su(t),i=u_(e,t);return n&&r?Mg(i):n&&!r?Op(i):!n&&r?Kp(i):i}function c_(e,t){return globalThis.Object.getOwnPropertyNames(t).reduce((n,r)=>({...n,[r]:s_(e,t[r])}),{})}function l_(e,t){return t.map(t=>u_(e,t))}function u_(e,t){return hu(t)?Yg(e,t):gu(t)?Xg(e,t):vu(t)?Zg(e,t):zu(t)?Qg(e,t):Lu(t)?$g(e,t):uu(t)?e_(e,t):du(t)?t_(e,t):yu(t)?n_(e,t):ku(t)?r_(e,t):Ou(t)?i_(e,t):Au(t)?a_(e,t):lu(t)?o_(e,t):t}function d_(e,t){return u_(t,jl(e))}function f_(e){return z({[au]:`Integer`,type:`integer`},e)}function p_(e,t,n){return{[e]:w_(If(e),t,Al(n))}}function m_(e,t,n){return e.reduce((e,r)=>({...e,...p_(r,t,n)}),{})}function h_(e,t,n){return m_(e.keys,t,n)}function g_(e,t,n){return Qd(h_(e,t,n))}function __(e){let[t,n]=[e.slice(0,1),e.slice(1)];return[t.toLowerCase(),n].join(``)}function v_(e){let[t,n]=[e.slice(0,1),e.slice(1)];return[t.toUpperCase(),n].join(``)}function y_(e){return e.toUpperCase()}function b_(e){return e.toLowerCase()}function x_(e,t,n){let r=Sf(e.pattern);return Df(r)?Xf([cf(C_([...Pf(r)].map(e=>If(e)),t))],n):{...e,pattern:S_(e.pattern,t)}}function S_(e,t){return typeof e==`string`?t===`Uncapitalize`?__(e):t===`Capitalize`?v_(e):t===`Uppercase`?y_(e):t===`Lowercase`?b_(e):e:e.toString()}function C_(e,t){return e.map(e=>w_(e,t))}function w_(e,t,n={}){return Cu(e)?g_(e,t,n):Fu(e)?x_(e,t,n):zu(e)?cf(C_(e.anyOf,t),n):Su(e)?If(S_(e.const,t),n):z(e,n)}function T_(e,t={}){return w_(e,`Capitalize`,t)}function E_(e,t={}){return w_(e,`Lowercase`,t)}function D_(e,t={}){return w_(e,`Uncapitalize`,t)}function O_(e,t={}){return w_(e,`Uppercase`,t)}function k_(e,t,n){let r={};for(let i of globalThis.Object.getOwnPropertyNames(e))r[i]=z_(e[i],t,Al(n));return r}function A_(e,t,n){return k_(e.properties,t,n)}function j_(e,t,n){return Qd(A_(e,t,n))}function M_(e,t){return e.map(e=>R_(e,t))}function N_(e,t){return e.map(e=>R_(e,t))}function P_(e,t){let{[t]:n,...r}=e;return r}function F_(e,t){return t.reduce((e,t)=>P_(e,t),e)}function I_(e,t){let n=Xd(e,[tu,`$id`,`required`,`properties`]);return Cp(F_(e.properties,t),n)}function L_(e){return cf(e.reduce((e,t)=>xu(t)?[...e,If(t)]:e,[]))}function R_(e,t){return vu(e)?nm(M_(e.allOf,t)):zu(e)?cf(N_(e.anyOf,t)):Ou(e)?I_(e,t):Cp({})}function z_(e,t,n){let r=ul(t)?L_(t):t,i=Bu(t)?ep(t):t,a=ju(e),o=ju(t);return wu(e)?j_(e,i,n):Cu(t)?U_(e,t,n):a&&o||!a&&o||a&&!o?Jd(`Omit`,[e,r],n):z({...R_(e,i),...n})}function B_(e,t,n){return{[t]:z_(e,[t],Al(n))}}function V_(e,t,n){return t.reduce((t,r)=>({...t,...B_(e,r,n)}),{})}function H_(e,t,n){return V_(e,t.keys,n)}function U_(e,t,n){return Qd(H_(e,t,n))}function W_(e,t,n){let r={};for(let i of globalThis.Object.getOwnPropertyNames(e))r[i]=$_(e[i],t,Al(n));return r}function G_(e,t,n){return W_(e.properties,t,n)}function K_(e,t,n){return Qd(G_(e,t,n))}function q_(e,t){return e.map(e=>Q_(e,t))}function J_(e,t){return e.map(e=>Q_(e,t))}function Y_(e,t){let n={};for(let r of t)r in e&&(n[r]=e[r]);return n}function X_(e,t){let n=Xd(e,[tu,`$id`,`required`,`properties`]);return Cp(Y_(e.properties,t),n)}function Z_(e){return cf(e.reduce((e,t)=>xu(t)?[...e,If(t)]:e,[]))}function Q_(e,t){return vu(e)?nm(q_(e.allOf,t)):zu(e)?cf(J_(e.anyOf,t)):Ou(e)?X_(e,t):Cp({})}function $_(e,t,n){let r=ul(t)?Z_(t):t,i=Bu(t)?ep(t):t,a=ju(e),o=ju(t);return wu(e)?K_(e,i,n):Cu(t)?rv(e,t,n):a&&o||!a&&o||a&&!o?Jd(`Pick`,[e,r],n):z({...Q_(e,i),...n})}function ev(e,t,n){return{[t]:$_(e,[t],Al(n))}}function tv(e,t,n){return t.reduce((t,r)=>({...t,...ev(e,r,n)}),{})}function nv(e,t,n){return tv(e,t.keys,n)}function rv(e,t,n){return Qd(nv(e,t,n))}function iv(e,t){return Jd(`Partial`,[Jd(e,t)])}function av(e){return Jd(`Partial`,[rm(e)])}function ov(e){let t={};for(let n of globalThis.Object.getOwnPropertyNames(e))t[n]=Kp(e[n]);return t}function sv(e){let t=Xd(e,[tu,`$id`,`required`,`properties`]);return Cp(ov(e.properties),t)}function cv(e){return e.map(e=>lv(e))}function lv(e){return mu(e)?iv(e.target,e.parameters):ju(e)?av(e.$ref):vu(e)?nm(cv(e.allOf)):zu(e)?cf(cv(e.anyOf)):Ou(e)?sv(e):fu(e)||pu(e)||_u(e)||Su(e)||Eu(e)||Du(e)||Nu(e)||Pu(e)||Ru(e)?e:Cp({})}function uv(e,t){return wu(e)?pv(e,t):z({...lv(e),...t})}function dv(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=uv(e[r],Al(t));return n}function fv(e,t){return dv(e.properties,t)}function pv(e,t){return Qd(fv(e,t))}function mv(e,t){return Jd(`Required`,[Jd(e,t)])}function hv(e){return Jd(`Required`,[rm(e)])}function gv(e){let t={};for(let n of globalThis.Object.getOwnPropertyNames(e))t[n]=Xd(e[n],[ru]);return t}function _v(e){let t=Xd(e,[tu,`$id`,`required`,`properties`]);return Cp(gv(e.properties),t)}function vv(e){return e.map(e=>yv(e))}function yv(e){return mu(e)?mv(e.target,e.parameters):ju(e)?hv(e.$ref):vu(e)?nm(vv(e.allOf)):zu(e)?cf(vv(e.anyOf)):Ou(e)?_v(e):fu(e)||pu(e)||_u(e)||Su(e)||Eu(e)||Du(e)||Nu(e)||Pu(e)||Ru(e)?e:Cp({})}function bv(e,t){return wu(e)?Cv(e,t):z({...yv(e),...t})}function xv(e,t){let n={};for(let r of globalThis.Object.getOwnPropertyNames(e))n[r]=bv(e[r],t);return n}function Sv(e,t){return xv(e.properties,t)}function Cv(e,t){return Qd(Sv(e,t))}function wv(e,t){return t.map(t=>ju(t)?Tv(e,t.$ref):Kv(e,t))}function Tv(e,t){return t in e?ju(e[t])?Tv(e,e[t].$ref):Kv(e,e[t]):Zd()}function Ev(e){return um(e[0])}function Dv(e){return hp(e[0],e[1])}function Ov(e){return Tm(e[0])}function kv(e){return uv(e[0])}function Av(e){return z_(e[0],e[1])}function jv(e){return $_(e[0],e[1])}function Mv(e){return bv(e[0])}function Nv(e,t,n){let r=wv(e,n);return t===`Awaited`?Ev(r):t===`Index`?Dv(r):t===`KeyOf`?Ov(r):t===`Partial`?kv(r):t===`Omit`?Av(r):t===`Pick`?jv(r):t===`Required`?Mv(r):Zd()}function Pv(e,t){return Gd(Kv(e,t))}function Fv(e,t){return qd(Kv(e,t))}function Iv(e,t,n){return $d(Gv(e,t),Kv(e,n))}function Lv(e,t,n){return ef(Gv(e,t),Kv(e,n))}function Rv(e,t){return nm(Gv(e,t))}function zv(e,t){return bp(Kv(e,t))}function Bv(e,t){return Cp(globalThis.Object.keys(t).reduce((n,r)=>({...n,[r]:Kv(e,t[r])}),{}))}function Vv(e,t){let[n,r]=[Kv(e,Jg(t)),Kg(t)],i=jl(t);return i.patternProperties[r]=n,i}function Hv(e,t){return ju(t)?{...Tv(e,t.$ref),[tu]:t[tu]}:t}function Uv(e,t){return Mp(Gv(e,t))}function Wv(e,t){return cf(Gv(e,t))}function Gv(e,t){return t.map(t=>Kv(e,t))}function Kv(e,t){return su(t)?z(Kv(e,Xd(t,[ru])),t):ou(t)?z(Kv(e,Xd(t,[nu])),t):Iu(t)?z(Hv(e,t),t):uu(t)?z(Pv(e,t.items),t):du(t)?z(Fv(e,t.items),t):mu(t)?z(Nv(e,t.target,t.parameters)):hu(t)?z(Iv(e,t.parameters,t.returns),t):gu(t)?z(Lv(e,t.parameters,t.returns),t):vu(t)?z(Rv(e,t.allOf),t):yu(t)?z(zv(e,t.items),t):Ou(t)?z(Bv(e,t.properties),t):Au(t)?z(Vv(e,t)):Lu(t)?z(Uv(e,t.items||[]),t):zu(t)?z(Wv(e,t.anyOf),t):t}function qv(e,t){return t in e?Kv(e,e[t]):Zd()}function Jv(e){return globalThis.Object.getOwnPropertyNames(e).reduce((t,n)=>({...t,[n]:qv(e,n)}),{})}var Yv=class{constructor(e){let t=Jv(e),n=this.WithIdentifiers(t);this.$defs=n}Import(e,t){let n={...this.$defs,[e]:z(this.$defs[e],t)};return z({[au]:`Import`,$defs:n,$ref:e})}WithIdentifiers(e){return globalThis.Object.getOwnPropertyNames(e).reduce((t,n)=>({...t,[n]:{...e[n],$id:n}}),{})}};function Xv(e){return new Yv(e)}function Zv(e,t){return z({[au]:`Not`,not:e},t)}function Qv(e,t){return gu(e)?Mp(e.parameters,t):Zd()}var $v=0;function ey(e,t={}){Cl(t.$id)&&(t.$id=`T${$v++}`);let n=jl(e({[au]:`This`,$ref:`${t.$id}`}));return n.$id=t.$id,z({[iu]:`Recursive`,...n},t)}function ty(e,t){let n=bl(e)?new globalThis.RegExp(e):e;return z({[au]:`RegExp`,type:`RegExp`,source:n.source,flags:n.flags},t)}function ny(e){return vu(e)?e.allOf:zu(e)?e.anyOf:Lu(e)?e.items??[]:[]}function ry(e){return ny(e)}function iy(e,t){return gu(e)?z(e.returns,t):Zd(t)}var ay=class{constructor(e){this.schema=e}Decode(e){return new oy(this.schema,e)}},oy=class{constructor(e,t){this.schema=e,this.decode=t}EncodeTransform(e,t){let n={Encode:n=>t[tu].Encode(e(n)),Decode:e=>this.decode(t[tu].Decode(e))};return{...t,[tu]:n}}EncodeSchema(e,t){let n={Decode:this.decode,Encode:e};return{...t,[tu]:n}}Encode(e){return Iu(this.schema)?this.EncodeTransform(e,this.schema):this.EncodeSchema(e,this.schema)}};function sy(e){return new ay(e)}function cy(e={}){return z({[au]:e[au]??`Unsafe`},e)}function ly(e){return z({[au]:`Void`,type:`void`},e)}var V=n({Any:()=>Wd,Argument:()=>Kd,Array:()=>Gd,AsyncIterator:()=>qd,Awaited:()=>um,BigInt:()=>Rf,Boolean:()=>Lf,Capitalize:()=>T_,Composite:()=>Nm,Const:()=>Wm,Constructor:()=>$d,ConstructorParameters:()=>Gm,Date:()=>Pm,Enum:()=>Km,Exclude:()=>xg,Extends:()=>ug,Extract:()=>Dg,Function:()=>ef,Index:()=>hp,InstanceType:()=>jg,Instantiate:()=>d_,Integer:()=>f_,Intersect:()=>nm,Iterator:()=>bp,KeyOf:()=>Tm,Literal:()=>If,Lowercase:()=>E_,Mapped:()=>Hp,Module:()=>Xv,Never:()=>Zd,Not:()=>Zv,Null:()=>Fm,Number:()=>zf,Object:()=>Cp,Omit:()=>z_,Optional:()=>Kp,Parameters:()=>Qv,Partial:()=>uv,Pick:()=>$_,Promise:()=>wp,Readonly:()=>Op,ReadonlyOptional:()=>Mg,Record:()=>Gg,Recursive:()=>ey,Ref:()=>rm,RegExp:()=>ty,Required:()=>bv,Rest:()=>ry,ReturnType:()=>iy,String:()=>Bf,Symbol:()=>Im,TemplateLiteral:()=>Xf,Transform:()=>sy,Tuple:()=>Mp,Uint8Array:()=>Rm,Uncapitalize:()=>D_,Undefined:()=>Lm,Union:()=>cf,Unknown:()=>zm,Unsafe:()=>cy,Uppercase:()=>O_,Void:()=>ly}),uy=(...e)=>V.Composite(e),dy=class extends eu{constructor(e){super(`Unable to dereference schema with $id '${e.$ref}'`),this.schema=e}};function fy(e,t){let n=t.find(t=>t.$id===e.$ref);if(n===void 0)throw new dy(e);return my(n,t)}function py(e,t){return!Yl(e.$id)||t.some(t=>t.$id===e.$id)||t.push(e),t}function my(e,t){return e[au]===`This`||e[au]===`Ref`?fy(e,t):e}var hy=class extends eu{constructor(e){super(`Unable to hash value`),this.value=e}},gy;(function(e){e[e.Undefined=0]=`Undefined`,e[e.Null=1]=`Null`,e[e.Boolean=2]=`Boolean`,e[e.Number=3]=`Number`,e[e.String=4]=`String`,e[e.Object=5]=`Object`,e[e.Array=6]=`Array`,e[e.Date=7]=`Date`,e[e.Uint8Array=8]=`Uint8Array`,e[e.Symbol=9]=`Symbol`,e[e.BigInt=10]=`BigInt`})(gy||={});var _y=BigInt(`14695981039346656037`),[vy,yy]=[BigInt(`1099511628211`),BigInt(`18446744073709551616`)],by=Array.from({length:256}).map((e,t)=>BigInt(t)),xy=new Float64Array(1),Sy=new DataView(xy.buffer),Cy=new Uint8Array(xy.buffer);function*wy(e){let t=e===0?1:Math.ceil(Math.floor(Math.log2(e)+1)/8);for(let n=0;n<t;n++)yield e>>8*(t-1-n)&255}function Ty(e){Ly(gy.Array);for(let t of e)Iy(t)}function Ey(e){Ly(gy.Boolean),Ly(+!!e)}function Dy(e){Ly(gy.BigInt),Sy.setBigInt64(0,e);for(let e of Cy)Ly(e)}function Oy(e){Ly(gy.Date),Iy(e.getTime())}function ky(e){Ly(gy.Null)}function Ay(e){Ly(gy.Number),Sy.setFloat64(0,e);for(let e of Cy)Ly(e)}function jy(e){Ly(gy.Object);for(let t of globalThis.Object.getOwnPropertyNames(e).sort())Iy(t),Iy(e[t])}function My(e){Ly(gy.String);for(let t=0;t<e.length;t++)for(let n of wy(e.charCodeAt(t)))Ly(n)}function Ny(e){Ly(gy.Symbol),Iy(e.description)}function Py(e){Ly(gy.Uint8Array);for(let t=0;t<e.length;t++)Ly(e[t])}function Fy(e){return Ly(gy.Undefined)}function Iy(e){if(Hl(e))return Ty(e);if(Gl(e))return Ey(e);if(Jl(e))return Dy(e);if(Fl(e))return Oy(e);if(Wl(e))return ky(e);if(Kl(e))return Ay(e);if(Vl(e))return jy(e);if(Yl(e))return My(e);if(Zl(e))return Ny(e);if(zl(e))return Py(e);if(Ul(e))return Fy(e);throw new hy(e)}function Ly(e){_y^=by[e],_y=_y*vy%yy}function Ry(e){return _y=BigInt(`14695981039346656037`),Iy(e),_y}var zy=class extends eu{constructor(e){super(`Unknown type`),this.schema=e}};function By(e,t,n){let r=e.get(t);if(r&&r.has(n))return!1;if(r)return r.add(n),!0;e.set(t,new WeakSet([n]))}function Vy(e){return e[au]===`Any`||e[au]===`Unknown`}function Hy(e){return e!==void 0}function Uy(e,t,n){return!0}function Wy(e,t,n){return!0}function Gy(e,t,n,r){if(!Hl(n)||Hy(e.minItems)&&!(n.length>=e.minItems)||Hy(e.maxItems)&&!(n.length<=e.maxItems))return!1;if(By(r,n,e)===!1)return!0;if(!n.every(n=>Cb(e.items,t,n,r))||e.uniqueItems===!0&&!(function(){let e=new Set;for(let t of n){let n=Ry(t);if(e.has(n))return!1;e.add(n)}return!0})())return!1;if(!(Hy(e.contains)||Kl(e.minContains)||Kl(e.maxContains)))return!0;let i=Hy(e.contains)?e.contains:Zd(),a=n.reduce((e,n)=>Cb(i,t,n,r)?e+1:e,0);return!(a===0||Kl(e.minContains)&&a<e.minContains||Kl(e.maxContains)&&a>e.maxContains)}function Ky(e,t,n){return Ml(n)}function qy(e,t,n){return!(!Jl(n)||Hy(e.exclusiveMaximum)&&!(n<e.exclusiveMaximum)||Hy(e.exclusiveMinimum)&&!(n>e.exclusiveMinimum)||Hy(e.maximum)&&!(n<=e.maximum)||Hy(e.minimum)&&!(n>=e.minimum)||Hy(e.multipleOf)&&n%e.multipleOf!==BigInt(0))}function Jy(e,t,n){return Gl(n)}function Yy(e,t,n,r){return Cb(e.returns,t,n.prototype,r)}function Xy(e,t,n){return!(!Fl(n)||Hy(e.exclusiveMaximumTimestamp)&&!(n.getTime()<e.exclusiveMaximumTimestamp)||Hy(e.exclusiveMinimumTimestamp)&&!(n.getTime()>e.exclusiveMinimumTimestamp)||Hy(e.maximumTimestamp)&&!(n.getTime()<=e.maximumTimestamp)||Hy(e.minimumTimestamp)&&!(n.getTime()>=e.minimumTimestamp)||Hy(e.multipleOfTimestamp)&&n.getTime()%e.multipleOfTimestamp!==0)}function Zy(e,t,n){return Xl(n)}function Qy(e,t,n,r){let i=globalThis.Object.values(e.$defs),a=e.$defs[e.$ref];return Cb(a,[...t,...i],n,r)}function $y(e,t,n){return!(!ql(n)||Hy(e.exclusiveMaximum)&&!(n<e.exclusiveMaximum)||Hy(e.exclusiveMinimum)&&!(n>e.exclusiveMinimum)||Hy(e.maximum)&&!(n<=e.maximum)||Hy(e.minimum)&&!(n>=e.minimum)||Hy(e.multipleOf)&&n%e.multipleOf!==0)}function eb(e,t,n,r){let i=e.allOf.every(e=>Cb(e,t,n,r));if(e.unevaluatedProperties===!1){let t=new RegExp(bm(e)),r=Object.getOwnPropertyNames(n).every(e=>t.test(e));return i&&r}else if(Bu(e.unevaluatedProperties)){let a=new RegExp(bm(e)),o=Object.getOwnPropertyNames(n).every(i=>a.test(i)||Cb(e.unevaluatedProperties,t,n[i],r));return i&&o}else return i}function tb(e,t,n){return Nl(n)}function nb(e,t,n){return n===e.const}function rb(e,t,n){return!1}function ib(e,t,n,r){return!Cb(e.not,t,n,r)}function ab(e,t,n){return Wl(n)}function ob(e,t,n){return!(!Ql.IsNumberLike(n)||Hy(e.exclusiveMaximum)&&!(n<e.exclusiveMaximum)||Hy(e.exclusiveMinimum)&&!(n>e.exclusiveMinimum)||Hy(e.minimum)&&!(n>=e.minimum)||Hy(e.maximum)&&!(n<=e.maximum)||Hy(e.multipleOf)&&n%e.multipleOf!==0)}function sb(e,t,n,r){if(!Ql.IsObjectLike(n)||Hy(e.minProperties)&&!(Object.getOwnPropertyNames(n).length>=e.minProperties)||Hy(e.maxProperties)&&!(Object.getOwnPropertyNames(n).length<=e.maxProperties))return!1;if(By(r,n,e)===!1)return!0;let i=Object.getOwnPropertyNames(e.properties);for(let a of i){let i=e.properties[a];if(e.required&&e.required.includes(a)){if(!Cb(i,t,n[a],r)||(vg(i)||Vy(i))&&!(a in n))return!1}else if(Ql.IsExactOptionalProperty(n,a)&&!Cb(i,t,n[a],r))return!1}if(e.additionalProperties===!1){let t=Object.getOwnPropertyNames(n);return e.required&&e.required.length===i.length&&t.length===i.length?!0:t.every(e=>i.includes(e))}else if(typeof e.additionalProperties==`object`)return Object.getOwnPropertyNames(n).every(a=>i.includes(a)||Cb(e.additionalProperties,t,n[a],r));else return!0}function cb(e,t,n){return Pl(n)}function lb(e,t,n,r){if(!Ql.IsRecordLike(n)||Hy(e.minProperties)&&!(Object.getOwnPropertyNames(n).length>=e.minProperties)||Hy(e.maxProperties)&&!(Object.getOwnPropertyNames(n).length<=e.maxProperties))return!1;let[i,a]=Object.entries(e.patternProperties)[0],o=new RegExp(i),s=Object.entries(n).every(([e,n])=>!o.test(e)||Cb(a,t,n,r)),c=typeof e.additionalProperties!=`object`||Object.entries(n).every(([n,i])=>o.test(n)?!0:Cb(e.additionalProperties,t,i,r)),l=e.additionalProperties!==!1||Object.getOwnPropertyNames(n).every(e=>o.test(e));return s&&c&&l}function ub(e,t,n,r){return Cb(my(e,t),t,n,r)}function db(e,t,n){let r=new RegExp(e.source,e.flags);return Hy(e.minLength)&&!(n.length>=e.minLength)||Hy(e.maxLength)&&!(n.length<=e.maxLength)?!1:r.test(n)}function fb(e,t,n){return!Yl(n)||Hy(e.minLength)&&!(n.length>=e.minLength)||Hy(e.maxLength)&&!(n.length<=e.maxLength)||Hy(e.pattern)&&!new RegExp(e.pattern).test(n)?!1:Hy(e.format)?Ld(e.format)?Rd(e.format)(n):!1:!0}function pb(e,t,n){return Zl(n)}function mb(e,t,n){return Yl(n)&&new RegExp(e.pattern).test(n)}function hb(e,t,n,r){return Cb(my(e,t),t,n,r)}function gb(e,t,n,r){if(!Hl(n)||e.items===void 0&&n.length!==0||n.length!==e.maxItems)return!1;if(!e.items)return!0;for(let i=0;i<e.items.length;i++)if(!Cb(e.items[i],t,n[i],r))return!1;return!0}function _b(e,t,n){return Ul(n)}function vb(e,t,n,r){return e.anyOf.some(e=>Cb(e,t,n,r))}function yb(e,t,n){return!(!zl(n)||Hy(e.maxByteLength)&&!(n.length<=e.maxByteLength)||Hy(e.minByteLength)&&!(n.length>=e.minByteLength))}function bb(e,t,n){return!0}function xb(e,t,n){return Ql.IsVoidLike(n)}function Sb(e,t,n){return Bd(e[au])?Vd(e[au])(e,n):!1}function Cb(e,t,n,r){let i=Hy(e.$id)?py(e,t):t,a=e;switch(a[au]){case`Any`:return Uy(a,i,n);case`Argument`:return Wy(a,i,n);case`Array`:return Gy(a,i,n,r);case`AsyncIterator`:return Ky(a,i,n);case`BigInt`:return qy(a,i,n);case`Boolean`:return Jy(a,i,n);case`Constructor`:return Yy(a,i,n,r);case`Date`:return Xy(a,i,n);case`Function`:return Zy(a,i,n);case`Import`:return Qy(a,i,n,r);case`Integer`:return $y(a,i,n);case`Intersect`:return eb(a,i,n,r);case`Iterator`:return tb(a,i,n);case`Literal`:return nb(a,i,n);case`Never`:return rb(a,i,n);case`Not`:return ib(a,i,n,r);case`Null`:return ab(a,i,n);case`Number`:return ob(a,i,n);case`Object`:return sb(a,i,n,r);case`Promise`:return cb(a,i,n);case`Record`:return lb(a,i,n,r);case`Ref`:return ub(a,i,n,r);case`RegExp`:return db(a,i,n);case`String`:return fb(a,i,n);case`Symbol`:return pb(a,i,n);case`TemplateLiteral`:return mb(a,i,n);case`This`:return hb(a,i,n,r);case`Tuple`:return gb(a,i,n,r);case`Undefined`:return _b(a,i,n);case`Union`:return vb(a,i,n,r);case`Uint8Array`:return yb(a,i,n);case`Unknown`:return bb(a,i,n);case`Void`:return xb(a,i,n);default:if(!Bd(a[au]))throw new zy(a);return Sb(a,i,n)}}function wb(...e){return e.length===2||e.length===3&&e[2]instanceof WeakMap?Cb(e[0],[],e[1],e[2]??new WeakMap):Cb(e[0],e[1],e[2],e[3]??new WeakMap)}function Tb(e,t){if(t.has(e))return t.get(e);let n={};t.set(e,n);for(let r of Object.getOwnPropertyNames(e))n[r]=Mb(e[r],t);for(let r of Object.getOwnPropertySymbols(e))n[r]=Mb(e[r],t);return n}function Eb(e,t){if(t.has(e))return t.get(e);let n=[];t.set(e,n);for(let r=0;r<e.length;r++)n.push(Mb(e[r],t));return n}function Db(e){return e.slice()}function Ob(e){return new Map(Mb([...e.entries()]))}function kb(e){return new Set(Mb([...e.entries()]))}function Ab(e){return new Date(e.toISOString())}function jb(e){return e}function Mb(e,t=new WeakMap){if(Hl(e))return Eb(e,t);if(Fl(e))return Ab(e);if(Rl(e))return Db(e);if(Il(e))return Ob(e);if(Ll(e))return kb(e);if(Vl(e))return Tb(e,t);if(ine(e))return jb(e);throw Error(`ValueClone: Unable to clone value`)}var Nb=class extends eu{constructor(e,t){super(t),this.schema=e}};function Pb(e){return Xl(e)?e():Mb(e)}function Fb(e,t){return Bl(e,`default`)?Pb(e.default):{}}function Ib(e,t){return{}}function Lb(e,t){if(e.uniqueItems===!0&&!Bl(e,`default`))throw new Nb(e,`Array with the uniqueItems constraint requires a default value`);if(`contains`in e&&!Bl(e,`default`))throw new Nb(e,`Array with the contains constraint requires a default value`);return`default`in e?Pb(e.default):e.minItems===void 0?[]:Array.from({length:e.minItems}).map(n=>hx(e.items,t))}function Rb(e,t){return Bl(e,`default`)?Pb(e.default):(async function*(){})()}function zb(e,t){return Bl(e,`default`)?Pb(e.default):BigInt(0)}function Bb(e,t){return Bl(e,`default`)?Pb(e.default):!1}function Vb(e,t){if(Bl(e,`default`))return Pb(e.default);{let n=hx(e.returns,t);return typeof n==`object`&&!Array.isArray(n)?class{constructor(){for(let[e,t]of Object.entries(n)){let n=this;n[e]=t}}}:class{}}}function Hb(e,t){return Bl(e,`default`)?Pb(e.default):e.minimumTimestamp===void 0?new Date:new Date(e.minimumTimestamp)}function Ub(e,t){return Bl(e,`default`)?Pb(e.default):()=>hx(e.returns,t)}function Wb(e,t){let n=globalThis.Object.values(e.$defs),r=e.$defs[e.$ref];return hx(r,[...t,...n])}function Gb(e,t){return Bl(e,`default`)?Pb(e.default):e.minimum===void 0?0:e.minimum}function Kb(e,t){if(Bl(e,`default`))return Pb(e.default);{let n=e.allOf.reduce((e,n)=>{let r=hx(n,t);return typeof r==`object`?{...e,...r}:r},{});if(!wb(e,t,n))throw new Nb(e,`Intersect produced invalid value. Consider using a default value.`);return n}}function qb(e,t){return Bl(e,`default`)?Pb(e.default):(function*(){})()}function Jb(e,t){return Bl(e,`default`)?Pb(e.default):e.const}function Yb(e,t){if(Bl(e,`default`))return Pb(e.default);throw new Nb(e,`Never types cannot be created. Consider using a default value.`)}function Xb(e,t){if(Bl(e,`default`))return Pb(e.default);throw new Nb(e,`Not types must have a default value`)}function Zb(e,t){return Bl(e,`default`)?Pb(e.default):null}function Qb(e,t){return Bl(e,`default`)?Pb(e.default):e.minimum===void 0?0:e.minimum}function $b(e,t){if(Bl(e,`default`))return Pb(e.default);{let n=new Set(e.required),r={};for(let[i,a]of Object.entries(e.properties))n.has(i)&&(r[i]=hx(a,t));return r}}function ex(e,t){return Bl(e,`default`)?Pb(e.default):Promise.resolve(hx(e.item,t))}function tx(e,t){return Bl(e,`default`)?Pb(e.default):{}}function nx(e,t){return Bl(e,`default`)?Pb(e.default):hx(my(e,t),t)}function rx(e,t){if(Bl(e,`default`))return Pb(e.default);throw new Nb(e,`RegExp types cannot be created. Consider using a default value.`)}function ix(e,t){if(e.pattern!==void 0){if(Bl(e,`default`))return Pb(e.default);throw new Nb(e,`String types with patterns must specify a default value`)}else if(e.format!==void 0){if(Bl(e,`default`))return Pb(e.default);throw new Nb(e,`String types with formats must specify a default value`)}else if(Bl(e,`default`))return Pb(e.default);else if(e.minLength!==void 0)return Array.from({length:e.minLength}).map(()=>` `).join(``);else return``}function ax(e,t){return Bl(e,`default`)?Pb(e.default):`value`in e?Symbol.for(e.value):Symbol()}function ox(e,t){if(Bl(e,`default`))return Pb(e.default);if(!Of(e))throw new Nb(e,`Can only create template literals that produce a finite variants. Consider using a default value.`);return Ff(e)[0]}function sx(e,t){if(_x++>gx)throw new Nb(e,`Cannot create recursive type as it appears possibly infinite. Consider using a default.`);return Bl(e,`default`)?Pb(e.default):hx(my(e,t),t)}function cx(e,t){return Bl(e,`default`)?Pb(e.default):e.items===void 0?[]:Array.from({length:e.minItems}).map((n,r)=>hx(e.items[r],t))}function lx(e,t){if(Bl(e,`default`))return Pb(e.default)}function ux(e,t){if(Bl(e,`default`))return Pb(e.default);if(e.anyOf.length===0)throw Error(`ValueCreate.Union: Cannot create Union with zero variants`);return hx(e.anyOf[0],t)}function dx(e,t){return Bl(e,`default`)?Pb(e.default):e.minByteLength===void 0?new Uint8Array:new Uint8Array(e.minByteLength)}function fx(e,t){return Bl(e,`default`)?Pb(e.default):{}}function px(e,t){if(Bl(e,`default`))return Pb(e.default)}function mx(e,t){if(Bl(e,`default`))return Pb(e.default);throw Error(`User defined types must specify a default value`)}function hx(e,t){let n=py(e,t),r=e;switch(r[au]){case`Any`:return Fb(r,n);case`Argument`:return Ib(r,n);case`Array`:return Lb(r,n);case`AsyncIterator`:return Rb(r,n);case`BigInt`:return zb(r,n);case`Boolean`:return Bb(r,n);case`Constructor`:return Vb(r,n);case`Date`:return Hb(r,n);case`Function`:return Ub(r,n);case`Import`:return Wb(r,n);case`Integer`:return Gb(r,n);case`Intersect`:return Kb(r,n);case`Iterator`:return qb(r,n);case`Literal`:return Jb(r,n);case`Never`:return Yb(r,n);case`Not`:return Xb(r,n);case`Null`:return Zb(r,n);case`Number`:return Qb(r,n);case`Object`:return $b(r,n);case`Promise`:return ex(r,n);case`Record`:return tx(r,n);case`Ref`:return nx(r,n);case`RegExp`:return rx(r,n);case`String`:return ix(r,n);case`Symbol`:return ax(r,n);case`TemplateLiteral`:return ox(r,n);case`This`:return sx(r,n);case`Tuple`:return cx(r,n);case`Undefined`:return lx(r,n);case`Union`:return ux(r,n);case`Uint8Array`:return dx(r,n);case`Unknown`:return fx(r,n);case`Void`:return px(r,n);default:if(!Bd(r[au]))throw new Nb(r,`Unknown type`);return mx(r,n)}}var gx=512,_x=0;function vx(...e){return _x=0,e.length===2?hx(e[0],e[1]):hx(e[0],[])}var yx=class extends eu{constructor(e,t){super(t),this.schema=e}};function bx(e,t,n){if(e[au]===`Object`&&typeof n==`object`&&!Wl(n)){let r=e,i=Object.getOwnPropertyNames(n);return Object.entries(r.properties).reduce((e,[r,a])=>{let o=a[au]===`Literal`&&a.const===n[r]?100:0,s=wb(a,t,n[r])?10:0,c=+!!i.includes(r);return e+(o+s+c)},0)}else if(e[au]===`Union`){let r=e.anyOf.map(e=>my(e,t)).map(e=>bx(e,t,n));return Math.max(...r)}else return+!!wb(e,t,n)}function xx(e,t,n){let r=e.anyOf.map(e=>my(e,t)),[i,a]=[r[0],0];for(let e of r){let r=bx(e,t,n);r>a&&(i=e,a=r)}return i}function Sx(e,t,n,r){return`default`in e?typeof n==`function`?e.default:Mb(e.default):Rx(xx(e,t,n),t,n,r)}function Cx(e,t,n){return wb(e,t,n)?Mb(n):vx(e,t)}function wx(e,t,n){return wb(e,t,n)?n:vx(e,t)}function Tx(e,t,n,r){if(wb(e,t,n))return Mb(n);let i=Hl(n)?n:vx(e,t),a=Kl(e.minItems)&&i.length<e.minItems?[...i,...Array.from({length:e.minItems-i.length},()=>null)]:i,o=(Kl(e.maxItems)&&a.length>e.maxItems?a.slice(0,e.maxItems):a).map(n=>Lx(e.items,t,n,r));if(e.uniqueItems!==!0)return o;let s=[...new Set(o)];if(!wb(e,t,s))throw new yx(e,`Array cast produced invalid data due to uniqueItems constraint`);return s}function Ex(e,t,n,r){if(wb(e,t,n))return vx(e,t);let i=new Set(e.returns.required||[]),a=function(){};for(let[o,s]of Object.entries(e.returns.properties))!i.has(o)&&n.prototype[o]===void 0||(a.prototype[o]=Lx(s,t,n.prototype[o],r));return a}function Dx(e,t,n,r){let i=globalThis.Object.values(e.$defs),a=e.$defs[e.$ref];return Lx(a,[...t,...i],n,r)}function Ox(e,t){return Vl(e)&&!Vl(t)||!Vl(e)&&Vl(t)?e:!Vl(e)||!Vl(t)?t:globalThis.Object.getOwnPropertyNames(e).reduce((n,r)=>{let i=r in t?Ox(e[r],t[r]):e[r];return{...n,[r]:i}},{})}function kx(e,t,n){if(wb(e,t,n))return n;let r=vx(e,t),i=Ox(r,n);return wb(e,t,i)?i:r}function Ax(e,t,n){throw new yx(e,`Never types cannot be cast`)}function jx(e,t,n,r){if(r.has(n))return r.get(n);if(wb(e,t,n))return n;if(typeof n!=`object`||!n)return vx(e,t);let i=new Set(e.required||[]),a={};r.set(n,a);for(let[o,s]of Object.entries(e.properties))!i.has(o)&&n[o]===void 0||(a[o]=Lx(s,t,n[o],r));if(typeof e.additionalProperties==`object`){let i=Object.getOwnPropertyNames(e.properties);for(let o of Object.getOwnPropertyNames(n))i.includes(o)||(a[o]=Lx(e.additionalProperties,t,n[o],r))}return a}function Mx(e,t,n,r){if(wb(e,t,n))return Mb(n);if(typeof n!=`object`||!n||Array.isArray(n)||n instanceof Date)return vx(e,t);let i=Object.getOwnPropertyNames(e.patternProperties)[0],a=e.patternProperties[i],o={};for(let[e,i]of Object.entries(n))o[e]=Lx(a,t,i,r);return o}function Nx(e,t,n,r){return Lx(my(e,t),t,n,r)}function Px(e,t,n,r){return Lx(my(e,t),t,n,r)}function Fx(e,t,n,r){return wb(e,t,n)?Mb(n):Hl(n)?e.items===void 0?[]:e.items.map((e,i)=>Lx(e,t,n[i],r)):vx(e,t)}function Ix(e,t,n,r){return wb(e,t,n)?Mb(n):Sx(e,t,n,r)}function Lx(e,t,n,r){let i=Yl(e.$id)?py(e,t):t,a=e;switch(e[au]){case`Array`:return Tx(a,i,n,r);case`Constructor`:return Ex(a,i,n,r);case`Import`:return Dx(a,i,n,r);case`Intersect`:return kx(a,i,n);case`Never`:return Ax(a,i,n);case`Object`:return jx(a,i,n,r);case`Record`:return Mx(a,i,n,r);case`Ref`:return Nx(a,i,n,r);case`This`:return Px(a,i,n,r);case`Tuple`:return Fx(a,i,n,r);case`Union`:return Ix(a,i,n,r);case`Date`:case`Symbol`:case`Uint8Array`:return Cx(e,t,n);default:return wx(a,i,n)}}function Rx(...e){return e.length===2||e.length===3&&e[2]instanceof WeakMap?Lx(e[0],[],e[1],e[2]??new WeakMap):Lx(e[0],e[1],e[2],e[3]??new WeakMap)}var zx=(e,t)=>Rx(e,t),Bx={document:{navigation:`x-scalar-navigation`},workspace:{colorMode:`x-scalar-color-mode`,sidebarWidth:`x-scalar-sidebar-width`,defaultClient:`x-scalar-default-client`,defaultExample:`x-scalar-default-example`,activeDocument:`x-scalar-active-document`,theme:`x-scalar-theme`}},Vx=V.Object({name:V.String(),value:V.Union([V.Object({description:V.Optional(V.String()),default:V.String({default:``})}),V.String()])}),Hx=pt({name:I(),value:mt([pt({description:L(I()),default:I()}),I()])},{typeName:`XScalarEnvVar`}),Ux=V.Object({description:V.Optional(V.String()),color:V.String({default:`#FFFFFF`}),variables:V.Array(Vx)}),Wx=pt({description:L(I()),color:I({typeComment:`Color for the environment`}),variables:dt(Hx,{typeComment:`An array of variables`})},{typeName:`XScalarEnvironment`,typeComment:`A map of environments by name`}),Gx=V.Object({"x-scalar-environments":V.Optional(V.Record(V.String(),Ux))}),Kx=pt({"x-scalar-environments":L(ft(I(),Wx))},{typeName:`XScalarEnvironments`,typeComment:`A record of environments by name`}),qx=V.Object({"x-scalar-icon":V.Optional(V.String())}),Jx=pt({"x-scalar-icon":L(I())},{typeName:`XScalarIcon`,typeComment:`A custom icon representing the collection`}),Yx=V.Object({"x-scalar-is-dirty":V.Optional(V.Boolean())}),Xx=pt({"x-scalar-is-dirty":L(ot({typeComment:`Whether the document state is dirty, this is used to track if the document has been modified since it was last saved`}))},{typeName:`XScalarIsDirty`,typeComment:`Tracks whether the document has been modified since it was last saved`}),Zx=V.Object({"x-scalar-original-document-hash":V.String()}),Qx=pt({"x-scalar-original-document-hash":I({typeComment:`Original input document hash`})},{typeName:`XScalarOriginalDocumentHash`,typeComment:`Original input document hash`}),$x=V.Partial(V.Object({"x-scalar-original-source-url":V.String()})),eS=pt({"x-scalar-original-source-url":L(I({typeComment:`Original document source URL when loaded from an external source`}))},{typeName:`XScalarOriginalSourceUrl`,typeComment:`Original document source URL when loaded from an external source.`}),tS=V.Object({namespace:V.String(),slug:V.String(),version:V.String(),commitHash:V.Optional(V.String()),conflictCheckedAgainstHash:V.Optional(V.String()),hasConflict:V.Optional(V.Boolean())}),nS=V.Object({"x-scalar-registry-meta":V.Optional(tS)}),rS=pt({"x-scalar-registry-meta":L(pt({namespace:I({typeComment:`The namespace under which this registry meta is scoped.`}),slug:I({typeComment:`A unique slug identifier for this registry meta within the namespace.`}),version:I({typeComment:`The version of the registry meta.`}),commitHash:L(I({typeComment:`Last known commit hash of this document. Is going to be used to track if the document has been modified since it was last saved.`})),conflictCheckedAgainstHash:L(I({typeComment:`Registry commit hash that the cached hasConflict flag was computed against. The cache is invalid when this no longer matches the registry hash.`})),hasConflict:L(ot({typeComment:`Cached outcome of the last conflict check, valid only while conflictCheckedAgainstHash matches the registry hash.`}))},{typeName:`XScalarRegistryMetaInner`,typeComment:`Registry meta namespace and slug`}))},{typeName:`XScalarRegistryMeta`,typeComment:`The registry meta for the document`}),iS=V.Object({"x-scalar-watch-mode":V.Optional(V.Boolean())}),aS=pt({"x-scalar-watch-mode":L(ot({typeComment:`Whether the document is in watch mode`}))},{typeName:`XScalarWatchMode`,typeComment:`Whether the document is in watch mode`}),oS=V.Object({"x-post-response":V.Optional(V.String())}),sS=pt({"x-post-response":L(I({typeComment:`Script to run after a response is received`}))},{typeName:`XPostResponse`,typeComment:`Post-response script for an operation`}),cS=V.Object({"x-pre-request":V.Optional(V.String())}),lS=pt({"x-pre-request":L(I())},{typeName:`XPreRequest`,typeComment:`Pre-request script to run before the request is sent.`}),uS=V.Object({"x-scalar-active-environment":V.Optional(V.String())}),dS=pt({"x-scalar-active-environment":L(I({typeComment:`The currently selected environment`}))},{typeName:`XScalarActiveEnvironment`,typeComment:`The currently selected environment`}),fS=V.Object({name:V.String(),value:V.String(),domain:V.Optional(V.String()),path:V.Optional(V.String()),isDisabled:V.Optional(V.Boolean())}),pS=pt({name:I({typeComment:`Defines the cookie name and its value.`}),value:I({typeComment:`Defines the cookie value.`}),domain:L(I({typeComment:`Allows this domain and all subdomains.`})),path:L(I({typeComment:`Restricts this cookie to requests that contain this path.`})),isDisabled:L(ot({typeComment:`Indicates if the cookie is disabled.`}))},{typeName:`XScalarCookie`,typeComment:`A persisted cookie definition for the workspace`}),mS=V.Object({"x-scalar-cookies":V.Optional(V.Array(fS))}),hS=pt({"x-scalar-cookies":L(dt(pS,{typeComment:`Cookies persisted for the workspace`}))},{typeName:`XScalarCookies`,typeComment:`Persisted workspace cookies`}),gS=V.Object({"x-scalar-order":V.Optional(V.Array(V.String()))}),_S=pt({"x-scalar-order":L(dt(I()))},{typeName:`XScalarOrder`,typeComment:`Custom order for elements in the Scalar UI`}),vS=V.Object({"x-scalar-selected-server":V.Optional(V.String())}),yS=pt({"x-scalar-selected-server":L(I({typeComment:"The currently selected server. For OpenAPI documents this is the server URL; for AsyncAPI documents this is the server name (key in `document.servers`)."}))},{typeName:`XScalarSelectedServer`,typeComment:"The currently selected server. For OpenAPI documents this is the server URL; for AsyncAPI documents this is the server name (key in `document.servers`)."}),bS=uy(V.Object({name:V.String(),tags:V.Array(V.String())}),gS),xS=ht([pt({name:I({typeComment:`The group name.`}),tags:dt(I(),{typeComment:`List of tags to include in this group.`})},{typeName:`XTagGroupBase`}),_S],{typeName:`XTagGroup`,typeComment:`A tag group with optional custom ordering`}),SS=V.Object({"x-tagGroups":V.Optional(V.Array(bS))}),CS=pt({"x-tagGroups":L(dt(xS,{typeComment:`Tag groups for organizing tags in the UI`}))},{typeName:`XTagGroups`,typeComment:`Groups of tags for the OpenAPI document`}),wS=[`delete`,`get`,`head`,`options`,`patch`,`post`,`put`,`trace`],TS=Object.freeze(new Set(wS)),ES={ComponentsObject:`ComponentsObject`,SecurityRequirementObject:`SecurityRequirementObject`,TagObject:`TagObject`,CallbackObject:`CallbackObject`,PathsObject:`PathsObject`,PathItemObject:`PathItemObject`,OperationObject:`OperationObject`,SchemaObject:`SchemaObject`,EncodingObject:`EncodingObject`,HeaderObject:`HeaderObject`,MediaTypeObject:`MediaTypeObject`,ServerObject:`ServerObject`,ExternalDocumentationObject:`ExternalDocumentationObject`,InfoObject:`InfoObject`,ContactObject:`ContactObject`,LicenseObject:`LicenseObject`,ResponseObject:`ResponseObject`,ResponsesObject:`ResponsesObject`,ParameterObject:`ParameterObject`,ExampleObject:`ExampleObject`,RequestBodyObject:`RequestBodyObject`,SecuritySchemeObject:`SecuritySchemeObject`,SecuritySchemes:`SecuritySchemes`,LinkObject:`LinkObject`,XMLObject:`XMLObject`,DiscriminatorObject:`DiscriminatorObject`,OAuthFlowsObject:`OAuthFlowsObject`,ServerVariableObject:`ServerVariableObject`,TraversedDescriptionObject:`TraversedDescriptionObject`,TraversedOperationObject:`TraversedOperationObject`,TraversedAsyncApiOperationObject:`TraversedAsyncApiOperationObject`,TraversedAsyncApiChannelObject:`TraversedAsyncApiChannelObject`,TraversedAsyncApiMessageObject:`TraversedAsyncApiMessageObject`,TraversedSchemaObject:`TraversedSchemaObject`,TraversedWebhookObject:`TraversedWebhookObject`,TraversedTagObject:`TraversedTagObject`,TraversedEntryObject:`TraversedEntryObject`,TraversedDocumentObject:`TraversedDocumentObject`},DS=V.Ref(ES.ComponentsObject),OS=V.Ref(ES.SecurityRequirementObject),kS=V.Ref(ES.TagObject),AS=V.Ref(ES.CallbackObject),jS=V.Ref(ES.PathItemObject),MS=V.Ref(ES.PathsObject),NS=V.Ref(ES.OperationObject),PS=V.Ref(ES.SchemaObject),FS=V.Ref(ES.EncodingObject),IS=V.Ref(ES.HeaderObject),LS=V.Ref(ES.MediaTypeObject),RS=V.Ref(ES.ServerObject),zS=V.Ref(ES.ExternalDocumentationObject),BS=V.Ref(ES.InfoObject),VS=V.Ref(ES.ContactObject),HS=V.Ref(ES.LicenseObject),US=V.Ref(ES.ResponseObject),WS=V.Ref(ES.ResponsesObject),GS=V.Ref(ES.ParameterObject),KS=V.Ref(ES.ExampleObject),qS=V.Ref(ES.RequestBodyObject),JS=V.Ref(ES.SecuritySchemeObject),YS=V.Ref(ES.LinkObject),XS=V.Ref(ES.XMLObject),ZS=V.Ref(ES.DiscriminatorObject),QS=V.Ref(ES.OAuthFlowsObject),$S=V.Ref(ES.ServerVariableObject),eC=V.Ref(ES.TraversedEntryObject),tC=V.Ref(ES.TraversedDocumentObject),nC=V.Object({id:V.String(),title:V.String()}),rC=uy(nC,V.Object({type:V.Literal(`document`),name:V.String(),children:V.Optional(V.Array(eC)),icon:V.Optional(V.String())})),iC=uy(nC,V.Object({type:V.Literal(`text`),children:V.Optional(V.Array(eC))})),aC=uy(nC,V.Object({type:V.Literal(`example`),name:V.String()})),oC=uy(nC,V.Object({type:V.Literal(`operation`),ref:V.String(),method:V.Union(wS.map(e=>V.Literal(e))),path:V.String(),isDeprecated:V.Optional(V.Boolean()),children:V.Optional(V.Array(eC))})),sC=uy(nC,V.Object({type:V.Literal(`asyncapi-operation`),operationName:V.String(),action:V.Union([V.Literal(`send`),V.Literal(`receive`)]),channelName:V.String(),channelAddress:V.String(),children:V.Optional(V.Array(eC))})),cC=uy(nC,V.Object({type:V.Literal(`asyncapi-channel`),channelName:V.String(),channelAddress:V.String(),children:V.Optional(V.Array(eC))})),lC=uy(nC,V.Object({type:V.Literal(`asyncapi-message`),messageName:V.String(),channelName:V.String()})),uC=uy(nC,V.Object({type:V.Literal(`model`),ref:V.String(),name:V.String()})),dC=uy(nC,V.Object({type:V.Literal(`webhook`),ref:V.String(),method:V.Union(wS.map(e=>V.Literal(e))),name:V.String(),isDeprecated:V.Optional(V.Boolean())})),fC=uy(nC,V.Object({type:V.Literal(`tag`),name:V.String(),description:V.Optional(V.String()),children:V.Optional(V.Array(eC)),isGroup:V.Boolean(),isWebhooks:V.Optional(V.Boolean()),xKeys:V.Optional(V.Record(V.String(),V.Unknown()))})),pC=uy(nC,V.Object({type:V.Literal(`models`),name:V.String(),children:V.Optional(V.Array(eC))})),mC=V.Union([iC,oC,sC,cC,lC,uC,fC,dC,aC,rC,pC]),Lne=V.Object({$status:V.Optional(V.Union([V.Literal(`loading`),V.Literal(`error`)])),$global:V.Optional(V.Boolean())}),hC=uy(V.Object({$ref:V.String(),summary:V.Optional(V.String()),description:V.Optional(V.String())}),Lne),gC=e=>uy(hC,V.Object({"$ref-value":e})),Rne=V.Record(V.String(),V.Union([jS,gC(jS)])),_C=V.Record(V.String(),V.Union([JS,gC(JS)])),zne=V.Object({schemas:V.Optional(V.Record(V.String(),V.Union([PS,gC(PS)]))),responses:V.Optional(V.Record(V.String(),V.Union([US,gC(US)]))),parameters:V.Optional(V.Record(V.String(),V.Union([GS,gC(GS)]))),examples:V.Optional(V.Record(V.String(),V.Union([KS,gC(KS)]))),requestBodies:V.Optional(V.Record(V.String(),V.Union([qS,gC(qS)]))),headers:V.Optional(V.Record(V.String(),V.Union([IS,gC(IS)]))),securitySchemes:V.Optional(_C),links:V.Optional(V.Record(V.String(),V.Union([YS,gC(YS)]))),callbacks:V.Optional(V.Record(V.String(),V.Union([AS,gC(AS)]))),pathItems:V.Optional(V.Record(V.String(),V.Union([jS,gC(jS)])))}),Bne=V.Object({name:V.Optional(V.String()),url:V.Optional(V.String()),email:V.Optional(V.String())}),Vne=V.Object({propertyName:V.String(),mapping:V.Optional(V.Record(V.String(),V.String()))}),Hne=V.Object({contentType:V.Optional(V.String()),headers:V.Optional(V.Record(V.String(),V.Union([IS,gC(IS)]))),style:V.Optional(V.Union([V.Literal(`form`),V.Literal(`spaceDelimited`),V.Literal(`pipeDelimited`),V.Literal(`deepObject`)])),explode:V.Optional(V.Boolean()),allowReserved:V.Optional(V.Boolean())}),Une=V.Object({"x-disabled":V.Optional(V.Boolean())}),Wne=pt({"x-disabled":L(ot())},{typeName:`XDisabled`,typeComment:`Whether a parameter example is disabled in the API client`}),Gne=uy(V.Object({summary:V.Optional(V.String()),description:V.Optional(V.String()),value:V.Optional(V.Any()),externalValue:V.Optional(V.String())}),Une),Kne=V.Object({url:V.String(),description:V.Optional(V.String())}),vC=V.Object({description:V.Optional(V.String()),required:V.Optional(V.Boolean()),deprecated:V.Optional(V.Boolean())}),qne=uy(vC,V.Object({style:V.Optional(V.String()),explode:V.Optional(V.Boolean()),schema:V.Optional(V.Union([PS,gC(PS)])),example:V.Optional(V.Any()),examples:V.Optional(V.Record(V.String(),V.Union([KS,gC(KS)])))})),Jne=V.Union([qne,uy(vC,V.Object({content:V.Optional(V.Record(V.String(),LS))}))]),Yne=V.Object({name:V.String(),url:V.String()}),Xne=V.Object({"x-scalar-links":V.Optional(V.Array(Yne))}),Zne=pt({"x-scalar-links":L(dt(pt({name:I(),url:I()},{typeName:`XScalarLinkItem`,typeComment:`A named link to display alongside the API info`}),{typeComment:`Additional named links to display alongside the API info (e.g. privacy policy, imprint)`}))},{typeName:`XScalarLinks`,typeComment:`Additional named links to display alongside the API info`}),Qne=V.Object({lang:V.String(),description:V.Optional(V.String()),source:V.Optional(V.String())}),$ne=V.Object({"x-scalar-sdk-installation":V.Optional(V.Array(Qne))}),ere=pt({"x-scalar-sdk-installation":L(dt(pt({lang:I(),description:L(I()),source:L(I())},{typeName:`XScalarSdkInstallationItem`,typeComment:`Scalar SDK installation entry`}),{typeComment:`Scalar SDK installation information`}))},{typeName:`XScalarSdkInstallation`,typeComment:`Scalar SDK installation information`}),tre=uy(V.Object({title:V.String(),version:V.String(),summary:V.Optional(V.String()),description:V.Optional(V.String()),termsOfService:V.Optional(V.String()),contact:V.Optional(VS),license:V.Optional(HS)}),$ne,Xne),nre=V.Object({name:V.Optional(V.String()),identifier:V.Optional(V.String()),url:V.Optional(V.String())}),rre=V.Object({operationRef:V.Optional(V.String()),operationId:V.Optional(V.String()),parameters:V.Optional(V.Record(V.String(),V.Any())),requestBody:V.Optional(V.Any()),description:V.Optional(V.String()),server:V.Optional(RS)}),ire=V.Object({schema:V.Optional(V.Union([PS,gC(PS)])),example:V.Optional(V.Any()),examples:V.Optional(V.Record(V.String(),V.Union([KS,gC(KS)]))),encoding:V.Optional(V.Record(V.String(),FS))}),yC=V.Object({"x-scalar-ignore":V.Optional(V.Boolean())}),are=pt({"x-scalar-ignore":L(ot())},{typeName:`XScalarIgnore`,typeComment:`Internal extension to mark an entity as ignored`}),bC=V.Object({"x-order":V.Optional(V.Number())}),ore=pt({"x-order":L(at())},{typeName:`XOrder`,typeComment:`Display order for a schema property`}),xC=V.Object({"x-scalar-credentials-location":V.Optional(V.Union([V.Literal(`header`),V.Literal(`body`)]))}),sre=pt({"x-scalar-credentials-location":L(mt([gt(`header`),gt(`body`)]))},{typeName:`XScalarCredentialsLocation`,typeComment:`Where OAuth2 credentials are sent`}),cre=V.Object({"x-scalar-security-body":V.Optional(V.Record(V.String(),V.String()))}),lre=pt({"x-scalar-security-body":L(ft(I(),I()))},{typeName:`XScalarSecurityBody`,typeComment:`Additional OAuth token request body parameters`}),ure=V.Object({"x-scalar-security-query":V.Optional(V.Record(V.String(),V.String()))}),dre=pt({"x-scalar-security-query":L(ft(I(),I()))},{typeName:`XScalarSecurityQuery`,typeComment:`Additional OAuth authorize query parameters`}),SC=V.Object({"x-scalar-secret-token":V.String()});pt({"x-scalar-secret-token":I()},{typeName:`XScalarSecretToken`,typeComment:`Persisted OAuth access token (sensitive)`});var fre=V.Object({"x-scalar-secret-refresh-token":V.Optional(V.String())});pt({"x-scalar-secret-refresh-token":L(I())},{typeName:`XScalarSecretRefreshToken`,typeComment:`Persisted OAuth refresh token (sensitive)`});var pre=V.Object({"x-scalar-secret-auth-url":V.Optional(V.String())}),mre=pt({"x-scalar-secret-auth-url":L(I())},{typeName:`XScalarAuthUrl`,typeComment:`Persisted OAuth authorization URL override`}),hre=V.Object({"x-scalar-secret-token-url":V.Optional(V.String())}),gre=pt({"x-scalar-secret-token-url":L(I())},{typeName:`XScalarTokenUrl`,typeComment:`Persisted OAuth token URL override`}),CC=V.Object({"x-scalar-secret-username":V.String(),"x-scalar-secret-password":V.String()});pt({"x-scalar-secret-username":I(),"x-scalar-secret-password":I()},{typeName:`XScalarSecretHTTP`,typeComment:`Persisted HTTP basic credentials (sensitive)`});var wC=V.Object({"x-scalar-secret-client-secret":V.String()});pt({"x-scalar-secret-client-secret":I()},{typeName:`XScalarSecretClientSecret`,typeComment:`Persisted OAuth client secret (sensitive)`});var _re=V.Object({"x-scalar-secret-client-id":V.String()});pt({"x-scalar-secret-client-id":I()},{typeName:`XScalarSecretClientId`,typeComment:`Persisted OAuth client ID`});var TC=V.Object({"x-scalar-secret-redirect-uri":V.String()});pt({"x-scalar-secret-redirect-uri":I()},{typeName:`XScalarSecretRedirectUri`,typeComment:`Persisted OAuth redirect URI`});var vre=V.Object({"x-scalar-secret-client-certificate":V.String()}),yre=V.Object({"x-scalar-secret-private-key":V.String()}),bre=V.Object({"x-scalar-secret-service-name":V.String()}),xre=V.Object({"x-tokenName":V.Optional(V.String())}),Sre=pt({"x-tokenName":L(I())},{typeName:`XTokenName`,typeComment:`Custom OAuth2 access token field name`}),Cre=V.Object({"x-usePkce":V.Union([V.Literal(`SHA-256`),V.Literal(`plain`),V.Literal(`no`)],{default:`no`})}),wre=pt({"x-usePkce":mt([gt(`SHA-256`),gt(`plain`),gt(`no`)],{typeComment:`PKCE mode for the OAuth2 authorization code flow`})},{typeName:`XusePkce`,typeComment:`PKCE setting for OAuth2`}),EC=uy(V.Object({refreshUrl:V.String(),scopes:V.Record(V.String(),V.String())}),ure,cre,xre,pre,hre,bC,yC),DC=uy(EC,V.Object({authorizationUrl:V.String()})),OC=uy(EC,V.Object({tokenUrl:V.String()}),xC),kC=uy(EC,V.Object({tokenUrl:V.String()}),xC),AC=uy(EC,V.Object({authorizationUrl:V.String(),tokenUrl:V.String()}),Cre,xC),Tre=V.Object({implicit:V.Optional(DC),password:V.Optional(OC),clientCredentials:V.Optional(kC),authorizationCode:V.Optional(AC)}),jC=V.Object({"x-internal":V.Optional(V.Boolean())}),Ere=pt({"x-internal":L(ot({typeComment:`Extension to mark an entity as internal`}))},{typeName:`XInternal`,typeComment:`Extension to mark an entity as internal`}),Dre=V.Object({name:V.String({description:`The text that displays in the badge`,minLength:1}),position:V.Optional(V.Union([V.Literal(`before`),V.Literal(`after`)],{description:`The position of the badge in relation to the header`,default:`after`})),color:V.Optional(V.String({description:`The color of the badge in various formats (keywords, RGB, RGBA, HSL, HSLA, Hexadecimal)`,pattern:`^(#([0-9A-Fa-f]{3}){1,2}|rgb\\(\\s*\\d+\\s*,\\s*\\d+\\s*,\\s*\\d+\\s*\\)|rgba\\(\\s*\\d+\\s*,\\s*\\d+\\s*,\\s*\\d+\\s*,\\s*[0-9.]*\\s*\\)|hsl\\(\\s*\\d+\\s*,\\s*\\d+%\\s*,\\s*\\d+%\\s*\\)|hsla\\(\\s*\\d+\\s*,\\s*\\d+%\\s*,\\s*\\d+%\\s*,\\s*[0-9.]*\\s*\\)|[a-zA-Z]+)$`}))},{description:`Configuration for a single badge in the x-badges extension`}),Ore=pt({name:I({typeComment:`The text that displays in the badge. This is required for all badges.`}),position:L(mt([gt(`before`),gt(`after`)],{typeComment:`The position of the badge in relation to the header`})),color:L(I({typeComment:`The color of the badge in various formats (keywords, RGB, RGBA, HSL, HSLA, Hexadecimal)`}))},{typeName:`XBadge`,typeComment:`Configuration for a single badge in the x-badges extension`}),kre=V.Object({"x-badges":V.Optional(V.Array(Dre))}),Are=pt({"x-badges":L(dt(Ore,{typeComment:`Badges displayed for this operation in documentation`}))},{typeName:`XBadges`,typeComment:`Badges for an operation in the Scalar UI`}),MC=V.Object({lang:V.Optional(V.String()),label:V.Optional(V.String()),source:V.String()}),jre=V.Object({language:V.Optional(V.String()),code:V.String(),name:V.Optional(V.String()),install:V.Optional(V.String()),correspondingExample:V.Optional(V.String())}),Mre=V.Object({"code-samples":V.Optional(V.Array(jre)),"samples-languages":V.Optional(V.Array(V.String()))}),NC=V.Object({title:V.Optional(V.String()),request:V.Optional(V.Record(V.String(),V.String())),response:V.Optional(V.Unknown())}),Nre=V.Union([NC,V.Array(NC)]),Pre=V.Object({"x-codeSamples":V.Optional(V.Array(MC)),"x-code-samples":V.Optional(V.Array(MC)),"x-custom-examples":V.Optional(V.Array(MC)),"x-readme":V.Optional(Mre),"x-stainless-snippets":V.Optional(V.Record(V.String(),V.String())),"x-stainless-examples":V.Optional(Nre),"x-scalar-examples":V.Optional(V.Array(MC))}),PC=pt({lang:L(I()),label:L(I()),source:I()}),Fre=pt({"code-samples":L(dt(pt({language:L(I()),code:I(),name:L(I()),install:L(I()),correspondingExample:L(I())}))),"samples-languages":L(dt(I()))}),FC=pt({title:L(I()),request:L(ft(I(),I())),response:L(lt())}),Ire=mt([FC,dt(FC)]),Lre=pt({"x-codeSamples":L(dt(PC)),"x-code-samples":L(dt(PC)),"x-custom-examples":L(dt(PC)),"x-readme":L(Fre),"x-stainless-snippets":L(ft(I(),I())),"x-stainless-examples":L(Ire),"x-scalar-examples":L(dt(PC))}),Rre=V.Object({"x-draft-examples":V.Optional(V.Array(V.String()))}),zre=pt({"x-draft-examples":L(dt(I()))},{typeName:`XDraftExamples`,typeComment:`Draft example identifiers for an operation`}),Bre=V.Record(V.String(),V.Boolean()),IC=V.Record(V.String(),Bre),Vre=V.Object({"x-scalar-disable-parameters":V.Optional(V.Object({"global-cookies":V.Optional(IC),"global-headers":V.Optional(IC),"default-headers":V.Optional(IC)}))}),Hre=ft(I(),ot()),LC=ft(I(),Hre),Ure=pt({"x-scalar-disable-parameters":L(pt({"global-cookies":L(LC),"global-headers":L(LC),"default-headers":L(LC)},{typeName:`DisableParametersConfig`,typeComment:`Disabled parameter state by category and example`}))},{typeName:`XScalarDisableParameters`,typeComment:`Tracks which parameters are disabled across examples`}),Wre={Deprecated:`deprecated`,Experimental:`experimental`,Stable:`stable`},Gre=V.Object({"x-scalar-stability":V.Optional(V.Union([V.Literal(`deprecated`),V.Literal(`experimental`),V.Literal(`stable`)]))}),Kre=pt({"x-scalar-stability":L(mt([gt(`deprecated`),gt(`experimental`),gt(`stable`)],{typeComment:`Stability level of the operation`}))},{typeName:`XScalarStability`,typeComment:`Stability of the operation in the Scalar UI`}),qre=uy(V.Object({tags:V.Optional(V.Array(V.String())),summary:V.Optional(V.String()),description:V.Optional(V.String()),externalDocs:V.Optional(zS),operationId:V.Optional(V.String()),parameters:V.Optional(V.Array(V.Union([GS,gC(GS)]))),requestBody:V.Optional(V.Union([qS,gC(qS)])),responses:V.Optional(WS),deprecated:V.Optional(V.Boolean()),security:V.Optional(V.Array(OS)),servers:V.Optional(V.Array(RS)),callbacks:V.Optional(V.Record(V.String(),V.Union([AS,gC(AS)])))}),kre,jC,yC,Pre,Gre,Vre,oS,cS,Rre,vS),Jre=V.Object({"x-global":V.Optional(V.Boolean())}),Yre=pt({"x-global":L(ot())},{typeName:`XGlobal`,typeComment:`When true, the parameter is injected into every request for the workspace`}),RC=uy(V.Object({name:V.String(),in:V.Union([V.Literal(`query`),V.Literal(`header`),V.Literal(`path`),V.Literal(`cookie`)]),description:V.Optional(V.String()),required:V.Optional(V.Boolean()),deprecated:V.Optional(V.Boolean()),allowEmptyValue:V.Optional(V.Boolean()),allowReserved:V.Optional(V.Boolean())}),Jre,jC,yC),Xre=uy(RC,V.Object({style:V.Optional(V.String()),explode:V.Optional(V.Boolean()),schema:V.Optional(V.Union([PS,gC(PS)])),example:V.Optional(V.Any()),examples:V.Optional(V.Record(V.String(),V.Union([KS,gC(KS)])))})),Zre=uy(RC,V.Object({content:V.Optional(V.Record(V.String(),LS))})),Qre=V.Union([Xre,Zre]),$re=V.Object({$ref:V.Optional(V.String()),summary:V.Optional(V.String()),description:V.Optional(V.String()),get:V.Optional(V.Union([NS,gC(NS)])),put:V.Optional(V.Union([NS,gC(NS)])),post:V.Optional(V.Union([NS,gC(NS)])),delete:V.Optional(V.Union([NS,gC(NS)])),patch:V.Optional(V.Union([NS,gC(NS)])),connect:V.Optional(V.Union([NS,gC(NS)])),options:V.Optional(V.Union([NS,gC(NS)])),head:V.Optional(V.Union([NS,gC(NS)])),trace:V.Optional(V.Union([NS,gC(NS)])),servers:V.Optional(V.Array(RS)),parameters:V.Optional(V.Array(V.Union([GS,gC(GS)])))}),eie=V.Record(V.String(),V.Union([jS,gC(jS)])),tie=V.Object({"x-scalar-selected-content-type":V.Optional(V.Record(V.String(),V.String()))}),nie=pt({"x-scalar-selected-content-type":L(ft(I(),I(),{typeComment:`Selected content type per example name`}))},{typeName:`XScalarSelectedContentType`,typeComment:`Selected content type per example for request or response bodies`}),rie=uy(V.Object({description:V.Optional(V.String()),content:V.Record(V.String(),LS),required:V.Optional(V.Boolean())}),tie),iie=V.Object({description:V.String(),headers:V.Optional(V.Record(V.String(),V.Union([IS,gC(IS)]))),content:V.Optional(V.Record(V.String(),LS)),links:V.Optional(V.Record(V.String(),V.Union([YS,gC(YS)])))}),aie=V.Record(V.String(),V.Union([US,gC(US)])),oie=V.Object({"x-tags":V.Optional(V.Array(V.String()))}),sie=pt({"x-tags":L(dt(I()))},{typeName:`XTags`,typeComment:`Custom tag ordering or grouping hints for schema objects`}),cie=V.Object({"x-additionalPropertiesName":V.Optional(V.String())}),lie=pt({"x-additionalPropertiesName":L(I())},{typeName:`XAdditionalPropertiesName`,typeComment:`Display name for additional properties on a schema`}),uie=V.Object({"x-enumDescriptions":V.Optional(V.Union([V.Record(V.String(),V.String()),V.Array(V.String())])),"x-enum-descriptions":V.Optional(V.Union([V.Record(V.String(),V.String()),V.Array(V.String())]))}),zC=mt([ft(I(),I()),dt(I())]),die=pt({"x-enumDescriptions":L(zC),"x-enum-descriptions":L(zC)},{typeName:`XEnumDescriptions`,typeComment:`Descriptions for enum values`}),fie=V.Object({"x-enum-varnames":V.Optional(V.Array(V.String())),"x-enumNames":V.Optional(V.Array(V.String()))}),pie=pt({"x-enum-varnames":L(dt(I())),"x-enumNames":L(dt(I()))},{typeName:`XEnumVarNames`,typeComment:`Display names for enum values`}),mie=V.Object({"x-examples":V.Optional(V.Record(V.String(),V.Unknown()))}),hie=pt({"x-examples":L(ft(I(),ct()))},{typeName:`XExamples`,typeComment:`Named examples attached to a schema`}),gie=V.Object({"x-variable":V.Optional(V.String())}),_ie=pt({"x-variable":L(I())},{typeName:`XVariable`,typeComment:`Variable reference for a schema property`}),BC=V.Union([PS,uy(hC,V.Object({"$ref-value":V.Optional(V.Unknown())}))]),vie=V.Union([V.Literal(`null`),V.Literal(`boolean`),V.Literal(`string`),V.Literal(`number`),V.Literal(`integer`),V.Literal(`object`),V.Literal(`array`)]),yie=V.Object({type:V.Union([V.Literal(`null`),V.Literal(`boolean`)])}),VC=uy(yC,jC,gie,mie,uie,fie,cie,bC,oie),HC=V.Object({$id:V.Optional(V.String()),$anchor:V.Optional(V.String()),$dynamicAnchor:V.Optional(V.String()),$dynamicRef:V.Optional(V.String()),name:V.Optional(V.String()),title:V.Optional(V.String()),description:V.Optional(V.String()),default:V.Optional(V.Unknown()),enum:V.Optional(V.Array(V.Unknown())),const:V.Optional(V.Unknown()),contentMediaType:V.Optional(V.String()),contentEncoding:V.Optional(V.String()),contentSchema:V.Optional(BC),deprecated:V.Optional(V.Boolean()),discriminator:V.Optional(ZS),readOnly:V.Optional(V.Boolean()),writeOnly:V.Optional(V.Boolean()),xml:V.Optional(XS),externalDocs:V.Optional(zS),example:V.Optional(V.Unknown()),examples:V.Optional(V.Array(V.Unknown())),allOf:V.Optional(V.Array(BC)),oneOf:V.Optional(V.Array(BC)),anyOf:V.Optional(V.Array(BC)),not:V.Optional(BC)}),UC=V.Object({multipleOf:V.Optional(V.Number()),maximum:V.Optional(V.Number()),exclusiveMaximum:V.Optional(V.Number({minimum:0})),minimum:V.Optional(V.Number()),exclusiveMinimum:V.Optional(V.Number({minimum:0}))}),bie=uy(V.Object({type:V.Union([V.Literal(`number`),V.Literal(`integer`)]),format:V.Optional(V.String())}),UC),WC=V.Object({maxLength:V.Optional(V.Integer({minimum:0})),minLength:V.Optional(V.Integer({minimum:0})),pattern:V.Optional(V.String())}),xie=uy(V.Object({type:V.Literal(`string`),format:V.Optional(V.String())}),WC),GC=V.Object({maxItems:V.Optional(V.Integer({minimum:0})),minItems:V.Optional(V.Integer({minimum:0})),uniqueItems:V.Optional(V.Boolean()),items:V.Optional(BC),prefixItems:V.Optional(V.Array(BC))}),Sie=uy(V.Object({type:V.Literal(`array`)}),GC),KC=V.Object({maxProperties:V.Optional(V.Integer({minimum:0})),minProperties:V.Optional(V.Integer({minimum:0})),required:V.Optional(V.Array(V.String())),properties:V.Optional(V.Record(V.String(),BC)),additionalProperties:V.Optional(V.Union([V.Boolean(),BC])),patternProperties:V.Optional(V.Record(V.String(),BC)),propertyNames:V.Optional(BC)}),Cie=uy(V.Object({type:V.Literal(`object`)}),KC),wie=uy(V.Object({type:V.Array(vie),format:V.Optional(V.String())}),UC,WC,GC,KC),Tie=V.Union([uy(V.Object({__scalar_:V.String()}),HC,VC),uy(yie,HC,VC),uy(bie,HC,VC),uy(xie,HC,VC),uy(Cie,HC,VC),uy(Sie,HC,VC),uy(wie,HC,VC)]),Eie=V.Partial(V.Record(V.String(),V.Array(V.String()))),Die=V.Object({"x-default-scopes":V.Optional(V.Array(V.String()))}),Oie=pt({"x-default-scopes":L(dt(I()))},{typeName:`XDefaultScopes`,typeComment:`Default selected OAuth scopes`}),qC=uy(V.Object({description:V.Optional(V.String())}),yC),kie=uy(qC,V.Object({type:V.Literal(`apiKey`),name:V.String(),in:V.Union([V.Literal(`query`),V.Literal(`header`),V.Literal(`cookie`)])})),Aie=uy(qC,V.Object({type:V.Literal(`http`),scheme:V.Union([V.Literal(`basic`),V.Literal(`bearer`)]),bearerFormat:V.Optional(V.String())})),jie=uy(qC,V.Object({type:V.Literal(`oauth2`),flows:QS}),Die),Mie=uy(qC,V.Object({type:V.Literal(`openIdConnect`),openIdConnectUrl:V.String()})),Nie=V.Union([kie,Aie,jie,Mie]),Pie=V.Object({url:V.String(),description:V.Optional(V.String()),variables:V.Optional(V.Record(V.String(),$S))}),Fie=V.Object({enum:V.Optional(V.Array(V.String())),default:V.Optional(V.String()),description:V.Optional(V.String())}),Iie=V.Object({"x-displayName":V.Optional(V.String())}),Lie=pt({"x-displayName":L(I())},{typeName:`XDisplayName`,typeComment:`Display-friendly name for a tag`}),Rie=uy(V.Object({name:V.String(),description:V.Optional(V.String()),externalDocs:V.Optional(zS)}),Iie,jC,yC,gS),zie=V.Object({name:V.Optional(V.String()),namespace:V.Optional(V.String()),prefix:V.Optional(V.String()),attribute:V.Optional(V.Boolean()),wrapped:V.Optional(V.Boolean())}),Bie=uy(V.Partial(V.Object({"x-original-oas-version":V.String(),[Bx.document.navigation]:tC})),$x,SS,Gx,vS,qx,gS,mS,Zx,Yx,uS,iS,nS,cS,oS),Vie=uy(V.Object({openapi:V.String(),info:BS,jsonSchemaDialect:V.Optional(V.String()),servers:V.Optional(V.Array(RS)),paths:V.Optional(MS),webhooks:V.Optional(MS),components:V.Optional(DS),security:V.Optional(V.Array(OS)),tags:V.Optional(V.Array(kS)),externalDocs:V.Optional(zS)}),Bie),JC=V.Module({[ES.ComponentsObject]:zne,[ES.SecurityRequirementObject]:Eie,[ES.TagObject]:Rie,[ES.CallbackObject]:Rne,[ES.PathItemObject]:$re,[ES.PathsObject]:eie,[ES.OperationObject]:qre,[ES.SchemaObject]:Tie,[ES.EncodingObject]:Hne,[ES.MediaTypeObject]:ire,[ES.HeaderObject]:Jne,[ES.ServerObject]:Pie,[ES.ExternalDocumentationObject]:Kne,[ES.InfoObject]:tre,[ES.ContactObject]:Bne,[ES.LicenseObject]:nre,[ES.ResponseObject]:iie,[ES.ResponsesObject]:aie,[ES.ParameterObject]:Qre,[ES.ExampleObject]:Gne,[ES.RequestBodyObject]:rie,[ES.SecuritySchemes]:_C,[ES.SecuritySchemeObject]:Nie,[ES.LinkObject]:rre,[ES.XMLObject]:zie,[ES.DiscriminatorObject]:Vne,[ES.OAuthFlowsObject]:Tre,[ES.ServerVariableObject]:Fie,OpenApiDocument:Vie,[ES.TraversedDescriptionObject]:iC,[ES.TraversedOperationObject]:oC,[ES.TraversedAsyncApiOperationObject]:sC,[ES.TraversedAsyncApiChannelObject]:cC,[ES.TraversedAsyncApiMessageObject]:lC,[ES.TraversedSchemaObject]:uC,[ES.TraversedWebhookObject]:dC,[ES.TraversedTagObject]:fC,[ES.TraversedEntryObject]:mC,[ES.TraversedDocumentObject]:rC}),Hie=JC.Import(`OpenApiDocument`);JC.Import(`ComponentsObject`);var Uie=JC.Import(`SecurityRequirementObject`);JC.Import(`TagObject`),JC.Import(`CallbackObject`),JC.Import(`PathItemObject`),JC.Import(`PathsObject`),JC.Import(`OperationObject`);var Wie=JC.Import(`SchemaObject`);JC.Import(`EncodingObject`),JC.Import(`MediaTypeObject`),JC.Import(`HeaderObject`);var Gie=JC.Import(`ServerObject`);JC.Import(`ExternalDocumentationObject`),JC.Import(`InfoObject`),JC.Import(`ContactObject`),JC.Import(`LicenseObject`),JC.Import(`ResponseObject`),JC.Import(`ResponsesObject`),JC.Import(`ParameterObject`),JC.Import(`ExampleObject`),JC.Import(`RequestBodyObject`),JC.Import(`SecuritySchemes`);var Kie=JC.Import(`SecuritySchemeObject`);JC.Import(`LinkObject`),JC.Import(`XMLObject`),JC.Import(`DiscriminatorObject`),JC.Import(`OAuthFlowsObject`),JC.Import(`ServerVariableObject`),JC.Import(`TraversedDescriptionObject`),JC.Import(`TraversedEntryObject`),JC.Import(`TraversedTagObject`),JC.Import(`TraversedOperationObject`),JC.Import(`TraversedSchemaObject`),JC.Import(`TraversedWebhookObject`);var YC={schema:e=>{if(e===void 0)return;let t=Tc(e,wc);return zx(uy(Wie,V.Object({$ref:V.Optional(V.String())})),t)}},XC=10,qie=`additionalProperty`,ZC=new Date().toISOString(),Jie={"date-time":ZC,date:ZC.split(`T`)[0],email:`hello@example.com`,hostname:`example.com`,"idn-email":`jane.doe@example.com`,"idn-hostname":`example.com`,ipv4:`127.0.0.1`,ipv6:`51d4:7fab:bfbf:b7d7:b2cb:d4b4:3dad:d998`,"iri-reference":`/entitiy/1`,iri:`https://example.com/entity/123`,"json-pointer":`/nested/objects`,password:`super-secret`,regex:`/[a-z]/`,"relative-json-pointer":`1/nested/objects`,time:ZC.split(`T`)[1].split(`.`)[0],"uri-reference":`../folder`,"uri-template":`https://example.com/{id}`,uri:`https://example.com`,uuid:`123e4567-e89b-12d3-a456-426614174000`,"object-id":`6592008029c8c3e4dc76256c`},Yie=e=>{if(!(`propertyNames`in e)||!e.propertyNames)return;let t=YC.schema(e.propertyNames);if(t&&`enum`in t&&Array.isArray(t.enum)&&t.enum.length>0)return t.enum},QC=(e,t=!1,n=``)=>`type`in e&&e.type===`string`&&`format`in e&&e.format===`binary`?`@filename`:t&&`format`in e&&e.format?Jie[e.format]??n:n,$C=new WeakMap,ew=new WeakMap,tw=e=>$c(e,{depth:1}),Xie=e=>{if(!e)return;let t=ew.get(e);if(t)return t;if(`required`in e){let t=e.required;if(Array.isArray(t)&&t.length>0){let n=new Set(t);return ew.set(e,n),n}}},nw=(e,t,n,r=!1)=>{if(r||typeof t!=`object`||!t)return t;let i=tw(e),a=$C.get(i)??new Map;return a&&a.set(n,t),$C.set(i,a),t},Zie=e=>!!(e.allOf||e.oneOf||e.anyOf),Qie=(e,t,n,r)=>{if(e.deprecated||r?.mode===`write`&&e.readOnly||r?.mode===`read`&&e.writeOnly)return!0;if(r?.omitEmptyAndOptionalProperties!==!0||`type`in e&&(e.type===`object`||e.type===`array`)||Zie(e)||`examples`in e&&Array.isArray(e.examples)&&e.examples.length>0||`example`in e&&e.example!==void 0||`default`in e&&e.default!==void 0||`const`in e&&e.const!==void 0||`enum`in e&&Array.isArray(e.enum)&&e.enum.length>0)return!1;let i=n??e.title??``,a=Xie(t);return!(a&&a.has(i))},rw=(e,t)=>t==null?e:e==null?t:Array.isArray(e)&&Array.isArray(t)?[...e,...t]:e&&typeof e==`object`&&t&&typeof t==`object`?{...e,...t}:t,$ie=XC*5,iw=new WeakMap,aw=(e,t)=>{switch(t){case`string`:return typeof e==`string`;case`number`:return typeof e==`number`&&!Number.isNaN(e);case`integer`:return typeof e==`number`&&Number.isInteger(e);case`boolean`:return typeof e==`boolean`;case`object`:return typeof e==`object`&&!!e&&!Array.isArray(e);case`array`:return Array.isArray(e);case`null`:return e===null;default:return!1}},ow=e=>{let t=tw(e);if(iw.has(t))return iw.get(t);let n=`$ref`in e?YC.schema(e):e;return iw.set(t,n),n},sw=(e,t,n=new Set,r=0)=>{if(r>$ie)return!0;let i=tw(e);if(n.has(i))return!0;if(n.add(i),`type`in e&&e.type&&!(Array.isArray(e.type)?e.type:[e.type]).some(e=>e===`number`&&aw(t,`integer`)?!0:aw(t,e)))return n.delete(i),!1;let a=e.anyOf;if(Array.isArray(a)&&a.length>0&&!a.some(e=>{let i=ow(e);return!!i&&sw(i,t,n,r+1)}))return n.delete(i),!1;let o=e.oneOf;if(Array.isArray(o)&&o.length>0&&!o.some(e=>{let i=ow(e);return!!i&&sw(i,t,n,r+1)}))return n.delete(i),!1;let s=e.allOf;return Array.isArray(s)&&s.length>0&&!s.every(e=>{let i=ow(e);return!i||sw(i,t,n,r+1)})?(n.delete(i),!1):(n.delete(i),!0)},cw=Symbol(`INVALID_DEFAULT`),eae=e=>{let t=e.default;return sw(e,t)?t:cw},tae=(e,t)=>[...e,t].join(`.`),lw=(e,t,n,r)=>{let i=n?.compositionSelection?.[tae(e,t)];if(!(typeof i!=`number`||Number.isNaN(i)))return Math.max(0,Math.min(i,r-1))},uw=e=>{if(e&&typeof e==`object`&&`x-order`in e){let t=Number(e[`x-order`]);return Number.isNaN(t)?void 0:t}},nae=e=>Object.keys(e).sort((t,n)=>{let r=uw(e[t]),i=uw(e[n]);return r!==void 0&&i!==void 0?r-i:r===void 0?i===void 0?0:1:-1}),rae=(e,t,n,r,i,a,o)=>{let s={},c=sl(o,e),l=o.length>0;if(`properties`in e&&e.properties){let i=e.properties,o=nae(i),l=o.length;for(let u=0;u<l;u++){let l=o[u],d=YC.schema(i[l]);if(!d)continue;let f=t?.xml&&`xml`in d?d.xml?.name:void 0,p=dw(d,t,{level:n+1,parentSchema:e,name:l,schemaPath:[...a,l],seen:r,dynamicScope:c});p!==void 0&&(s[f??l]=p)}}if(`patternProperties`in e&&e.patternProperties)for(let i of Object.keys(e.patternProperties)){let o=YC.schema(e.patternProperties[i]);o&&(s[i]=dw(o,t,{level:n+1,parentSchema:e,name:i,schemaPath:[...a,i],seen:r,dynamicScope:c}))}if(`additionalProperties`in e&&e.additionalProperties){let i=typeof e.additionalProperties==`boolean`?e.additionalProperties:YC.schema(e.additionalProperties),o=e.additionalProperties===!0||typeof e.additionalProperties==`object`&&Object.keys(e.additionalProperties).length===0,l=typeof i==`object`&&`x-additionalPropertiesName`in i&&typeof i[`x-additionalPropertiesName`]==`string`&&i[`x-additionalPropertiesName`].trim().length>0,u=l?void 0:Yie(e),d=l?i[`x-additionalPropertiesName`].trim():qie,f=o?`anything`:typeof i==`object`?dw(i,t,{level:n+1,schemaPath:[...a,d],seen:r,dynamicScope:c}):`anything`;u&&u.length>0?s[String(u[0])]=f:s[d]=f}let u=e.oneOf?`oneOf`:e.anyOf?`anyOf`:void 0,d=u?e[u]:void 0;if(u&&d?.length){let e=lw(a,u,t,d.length)??0,i=YC.schema(d[e]);i&&Object.assign(s,dw(i,t,{level:n+1,schemaPath:a,seen:r,dynamicScope:c}))}else if(Array.isArray(e.allOf)&&e.allOf.length>0){let i=s,o=0;for(let s of e.allOf){let l=YC.schema(s),u=l&&(Array.isArray(l.oneOf)||Array.isArray(l.anyOf))?[...a,String(o++)]:a,d=dw(l,t,{level:n+1,parentSchema:e,seen:r,dynamicScope:c,schemaPath:u});i=rw(i,d)}i&&typeof i==`object`&&Object.assign(s,i)}if(t?.xml&&`xml`in e&&e.xml?.name&&n===0){let t={};return t[e.xml.name]=s,nw(e,t,i,l)}return nw(e,s,i,l)},iae=(e,t,n,r,i,a,o)=>{let s=sl(o,e),c=o.length>0,l=`items`in e?YC.schema(e.items):void 0,u=r;if(l&&rl(l)){let e=cl(l.$dynamicRef,s);e&&(l=e,u=new WeakSet)}let d=[...a,`items`],f=l&&typeof l==`object`&&`xml`in l?l.xml?.name:void 0,p=!!(t?.xml&&`xml`in e&&e.xml?.wrapped&&f);if(e.example!==void 0)return nw(e,p?{[f]:e.example}:e.example,i,c);if(l&&typeof l==`object`){if(Array.isArray(l.allOf)&&l.allOf.length>0){let r=l.allOf.filter(Sc),a=YC.schema(r[0]);if(a&&typeof a==`object`&&`type`in a&&a.type===`object`){let a=dw({type:`object`,allOf:r},t,{level:n+1,parentSchema:e,schemaPath:d,seen:u,dynamicScope:s});return nw(e,p?[{[f]:a}]:[a],i,c)}let o=r.map(r=>dw(YC.schema(r),t,{level:n+1,parentSchema:e,schemaPath:d,seen:u,dynamicScope:s})).filter(Sc);return nw(e,p?o.map(e=>({[f]:e})):o,i,c)}let r=l.oneOf?`oneOf`:l.anyOf?`anyOf`:void 0,a=r?l[r]:void 0;if(r&&a&&a.length>0){let o=a[lw(d,r,t,a.length)??0],l=dw(YC.schema(o),t,{level:n+1,parentSchema:e,schemaPath:d,seen:u,dynamicScope:s});return nw(e,p?[{[f]:l}]:[l],i,c)}}let m=l&&typeof l==`object`&&(`type`in l&&l.type===`object`||`properties`in l),h=l&&typeof l==`object`&&(`type`in l&&l.type===`array`||`items`in l);if(l&&typeof l==`object`&&(`type`in l&&l.type||m||h)){let r=dw(l,t,{level:n+1,schemaPath:d,seen:u,dynamicScope:s});return nw(e,p?[{[f]:r}]:[r],i,c)}return nw(e,[],i,c)},aae=(e,t,n)=>{if(`type`in e&&e.type&&!Array.isArray(e.type))switch(e.type){case`string`:return QC(e,t,n??``);case`boolean`:return!0;case`integer`:return`minimum`in e&&typeof e.minimum==`number`?e.minimum:1;case`number`:return`minimum`in e&&typeof e.minimum==`number`?e.minimum:1;case`array`:return[];default:return}},oae=(e,t,n)=>{if(`type`in e&&Array.isArray(e.type)){if(e.type.includes(`null`))return null;let r=e.type[0];if(r)switch(r){case`string`:return QC(e,t,n??``);case`boolean`:return!0;case`integer`:return`minimum`in e&&typeof e.minimum==`number`?e.minimum:1;case`number`:return`minimum`in e&&typeof e.minimum==`number`?e.minimum:1;case`null`:return null;default:return}}},sae=e=>JSON.stringify({emptyString:e?.emptyString,xml:e?.xml,mode:e?.mode,variables:e?.variables,omitEmptyAndOptionalProperties:e?.omitEmptyAndOptionalProperties,compositionSelection:e?.compositionSelection?Object.entries(e.compositionSelection).sort(([e],[t])=>e.localeCompare(t)):void 0}),dw=(e,t,{level:n=0,parentSchema:r,name:i,seen:a=new WeakSet,schemaPath:o=[],dynamicScope:s=[]}={})=>{let c=YC.schema(e);if(!Sc(c))return;if(rl(c)){let e=cl(c.$dynamicRef,s);if(e)return dw(e,t,{level:n+1,parentSchema:r,name:i,seen:new WeakSet,schemaPath:o,dynamicScope:s})}let l=sl(s,c),u=s.length>0,d=tw(c);if(a.has(d))return;a.add(d);let f=sae(t)+(o.length>0?`:path:${o.join(`.`)}`:``);if(!u){let e=$C.get(d)?.get(f);if(e!==void 0)return a.delete(d),e}if(n>XC)return a.delete(d),`[Max Depth Exceeded]`;let p=!!t?.emptyString;if(Qie(c,r,i,t)){a.delete(d);return}if(`x-variable`in c&&c[`x-variable`]){let e=t?.variables?.[c[`x-variable`]];if(e!==void 0)return`type`in c&&(c.type===`number`||c.type===`integer`)?(a.delete(d),nw(c,Number(e),f,u)):(a.delete(d),nw(c,e,f,u))}if(Array.isArray(c.examples)&&c.examples.length>0)return a.delete(d),nw(c,c.examples[0],f,u);if(c.example!==void 0)return a.delete(d),nw(c,c.example,f,u);if(c.default!==void 0){let e=eae(c);if(e!==cw)return a.delete(d),nw(c,e,f,u)}if(c.const!==void 0)return a.delete(d),nw(c,c.const,f,u);if(Array.isArray(c.enum)&&c.enum.length>0)return a.delete(d),nw(c,c.enum[0],f,u);if(`properties`in c||`type`in c&&c.type===`object`){let e=rae(c,t,n,a,f,o,s);return a.delete(d),e}if(`type`in c&&c.type===`array`||`items`in c){let e=iae(c,t,n,a,f,o,s);return a.delete(d),e}let m=aae(c,p,t?.emptyString);if(m!==void 0)return a.delete(d),nw(c,m,f,u);let h=c.oneOf?`oneOf`:c.anyOf?`anyOf`:void 0,g=h?c[h]:void 0;if(h&&Array.isArray(g)&&g.length>0){let e=lw(o,h,t,g.length),r=e===void 0?g.find(e=>{let t=YC.schema(e);return t&&(!(`type`in t)||t.type!==`null`)}):g[e];if(r){let e=YC.schema(r);if(e)return a.delete(d),nw(c,dw(e,t,{level:n+1,schemaPath:o,seen:a,dynamicScope:l}),f,u)}return a.delete(d),nw(c,null,f,u)}if(Array.isArray(c.allOf)&&c.allOf.length>0){let e,r=c.allOf,i=0;for(let s of r){let r=YC.schema(s),u=r&&(Array.isArray(r.oneOf)||Array.isArray(r.anyOf))?[...o,String(i++)]:o,d=dw(s,t,{level:n+1,parentSchema:c,schemaPath:u,seen:a,dynamicScope:l});e===void 0?e=d:e&&typeof e==`object`&&d&&typeof d==`object`?e=rw(e,d):d!=null&&(e=d)}return a.delete(d),nw(c,e??null,f,u)}let _=oae(c,p,t?.emptyString);return _===void 0?(a.delete(d),nw(c,null,f,u)):(a.delete(d),nw(c,_,f,u))},cae=e=>`type`in e&&(e.type===`object`||Array.isArray(e.type)&&e.type.includes(`object`)),lae=e=>`type`in e&&(e.type===`array`||Array.isArray(e.type)&&e.type.includes(`array`)),uae=e=>`type`in e&&(e.type===`string`||Array.isArray(e.type)&&e.type.includes(`string`)),dae=e=>`type`in e&&(e.type===`number`||e.type===`integer`||Array.isArray(e.type)&&e.type.includes(`number`)||Array.isArray(e.type)&&e.type.includes(`integer`)),fae=e=>e!==void 0&&`type`in e,pae=e=>`content`in e&&e.content!==void 0,fw=(e,t)=>typeof e==`string`?e:t.includes(`json`)||typeof e==`object`&&e&&!Array.isArray(e)?JSON.stringify(e):String(e),pw=(e,t)=>{if(Array.isArray(e))return e.join(`,`);if(typeof e==`object`&&e){let n=Object.entries(e);return t?n.map(([e,t])=>`${e}=${t}`).join(`,`):n.map(([e,t])=>`${e},${t}`).join(`,`)}return e},mw=(e,t)=>Array.isArray(e)&&t?e.map(e=>({key:``,value:e})):Array.isArray(e)?e.join(`,`):typeof e==`object`&&e&&t?Object.entries(e).map(([e,t])=>({key:e,value:t})):typeof e==`object`&&e?Object.entries(e).map(([e,t])=>`${e},${t}`).join(`,`):e,hw=(e,t)=>{if(Array.isArray(e)&&t)return e.map(e=>({key:``,value:e}));if(Array.isArray(e))return e.map(e=>e===null?`null`:String(e)).join(`,`);if(typeof e==`object`&&e&&t)return Object.entries(e).map(([e,t])=>({key:e,value:t}));if(typeof e==`object`&&e){let t=e=>{let n=[];for(let[r,i]of Object.entries(e))typeof i==`object`&&i&&!Array.isArray(i)?n.push(r,...t(i)):n.push(r,i===null?`null`:String(i));return n};return t(e).join(`,`)}return e},gw=e=>Array.isArray(e)?e.join(` `):typeof e==`object`&&e?Object.entries(e).map(([e,t])=>`${e} ${t}`).join(` `):String(e),_w=e=>Array.isArray(e)?e.join(`|`):typeof e==`object`&&e?Object.entries(e).flat().join(`|`):String(e),vw=(e,t)=>{let n=[],r=(e,t)=>{if(Array.isArray(t))for(let n of t)r(`${e}[]`,n);else typeof t==`object`&&t?i(t,e):n.push({key:e,value:String(t)})},i=(e,t)=>{for(let[n,i]of Object.entries(e))r(`${t}[${n}]`,i)};return typeof t==`object`&&t&&!Array.isArray(t)&&i(t,e),n},yw=e=>typeof e==`object`&&e?JSON.stringify(e):String(e),bw=(e,t,n)=>{if(!(n&&(n.style!==void 0||n.explode!==void 0||n.allowReserved!==void 0))||typeof t!=`object`||!t||t instanceof File||Array.isArray(t)&&t.some(e=>e instanceof File))return null;let r=$c(t),i=n?.style??`form`,a=n?.explode??i===`form`,o=[];if(i===`deepObject`)if(Array.isArray(r)){let t=mw(r,!0);if(Array.isArray(t))for(let n of t)o.push({key:n.key||e,value:yw(n.value)});else o.push({key:e,value:String(t)})}else for(let t of vw(e,r))o.push({key:t.key,value:String(t.value)});else if(i===`spaceDelimited`)o.push({key:e,value:String(gw(r))});else if(i===`pipeDelimited`)o.push({key:e,value:String(_w(r))});else{let t=mw(r,a);if(Array.isArray(t))for(let n of t)o.push({key:n.key||e,value:yw(n.value)});else o.push({key:e,value:String(t)})}return o};function xw(e,t){let n=/{{\s*([\w.-]+)\s*}}/g,r=/{\s*([\w.-]+)\s*}/g,i=(e,n)=>typeof t==`function`?t(n):t[n]?.toString()||`{${n}}`;return e.replace(n,i).replace(r,i)}var Sw=(e,t={})=>e.replace(mo.PATH,(e,n)=>t[n]??e),Cw=(e,t={})=>e.replace(mo.VARIABLES,(e,n)=>typeof t==`function`?t(n)??e:t[n]??e),ww=e=>({ok:!0,data:e}),Tw=(e,t)=>({ok:!1,error:e,message:t}),Ew=e=>e instanceof Error?e.message:String(e);function Dw(e){try{let t=e();return t instanceof Promise?t.then(e=>ww(e),e=>(console.error(e),Tw(Ew(e)))):ww(t)}catch(e){return console.error(e),Tw(Ew(e))}}var mae=[`localhost`,`127.0.0.1`,`[::1]`,`0.0.0.0`],hae=[`test`,`example`,`invalid`,`localhost`];function Ow(e){try{let{hostname:t}=new URL(e);if(mae.includes(t))return!0;let n=t.split(`.`).pop();return!!(n&&hae.includes(n))}catch{return!0}}var kw=(e,t)=>{try{if(!Aw(e,t))return t??``;let n=new URL(t);return n.href=ho(e)?`http://localhost${e}`:e,n.searchParams.append(`scalar_url`,t),ho(e)?n.toString().replace(/^http:\/\/localhost/,``):n.toString()}catch{return t??``}},Aw=(e,t)=>{try{return!e||!t||ho(t)?!1:ho(e)||Ow(e)?!0:!Ow(t)}catch{return!1}},jw=typeof Buffer==`function`;typeof TextDecoder==`function`&&new TextDecoder;var Mw=typeof TextEncoder==`function`?new TextEncoder:void 0,Nw=Array.prototype.slice.call(`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=`);(e=>{let t={};return e.forEach((e,n)=>t[e]=n),t})(Nw);var Pw=String.fromCharCode.bind(String);typeof Uint8Array.from==`function`&&Uint8Array.from.bind(Uint8Array);var Fw=e=>e.replace(/=/g,``).replace(/[+\/]/g,e=>e==`+`?`-`:`_`),Iw=typeof btoa==`function`?e=>btoa(e):jw?e=>Buffer.from(e,`binary`).toString(`base64`):e=>{let t,n,r,i,a=``,o=e.length%3;for(let o=0;o<e.length;){if((n=e.charCodeAt(o++))>255||(r=e.charCodeAt(o++))>255||(i=e.charCodeAt(o++))>255)throw TypeError(`invalid character found`);t=n<<16|r<<8|i,a+=Nw[t>>18&63]+Nw[t>>12&63]+Nw[t>>6&63]+Nw[t&63]}return o?a.slice(0,o-3)+`===`.substring(o):a},Lw=jw?e=>Buffer.from(e).toString(`base64`):e=>{let t=4096,n=[];for(let r=0,i=e.length;r<i;r+=t)n.push(Pw.apply(null,e.subarray(r,r+t)));return Iw(n.join(``))},Rw=(e,t=!1)=>t?Fw(Lw(e)):Lw(e),gae=e=>{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?Pw(192|t>>>6)+Pw(128|t&63):Pw(224|t>>>12&15)+Pw(128|t>>>6&63)+Pw(128|t&63)}else{var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return Pw(240|t>>>18&7)+Pw(128|t>>>12&63)+Pw(128|t>>>6&63)+Pw(128|t&63)}},_ae=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,vae=e=>e.replace(_ae,gae),zw=jw?e=>Buffer.from(e,`utf8`).toString(`base64`):Mw?e=>Lw(Mw.encode(e)):e=>Iw(vae(e)),Bw=(e,t=!1)=>t?Fw(zw(e)):zw(e),yae=(e,t)=>{if(!e||!t)return!0;try{let n=e.startsWith(`http`)?e:`http://${e}`,r=new URL(n).hostname,i=!t,a=t===r,o=t.startsWith(`.`)&&t===`.${r}`,s=t.startsWith(`.`)&&r?.endsWith(t);return i||a||s||o}catch{return!1}},Vw=({cookie:e,url:t,disabledGlobalCookies:n})=>{if(e.isDisabled||n[e.name.toLowerCase()]===!0||!e.name)return!1;let r=new URL(t,`https://example.com`);return!(e.domain&&!yae(t,e.domain)||e.path&&!r.pathname.startsWith(e.path))},bae="We're using a `X-Scalar-Cookie` custom header to the request. The proxy will forward this as a `Cookie` header. We do this to avoid the browser omitting the `Cookie` header for cross-origin requests for security reasons.",xae=`We're trying to add a Cookie header, but browsers often omit them for cross-origin requests for various security reasons. If it's not working, that's probably why. Here are the requirements for it to work:
|
|
9
|
+
|
|
10
|
+
- The browser URL must be on the same domain as the server URL.
|
|
11
|
+
- The connection must be made over HTTPS.
|
|
12
|
+
`,Sae=(e,t)=>{let n=e.map(e=>`${e.name}=${e.value}`).join(`; `);return t&&n?`${t}; ${n}`:t||n||``},Cae=({cookies:e,originalCookieHeader:t,url:n,useCustomCookieHeader:r})=>{let i=Sae(e.filter(e=>Vw({url:n,cookie:e,disabledGlobalCookies:{}})),t??void 0);return i?r?(console.warn(bae),{name:jo,value:i}):(console.warn(xae),{name:`Cookie`,value:i}):null},wae={21:`!`,24:`$`,27:`'`,28:`(`,29:`)`,"2A":`*`,"2C":`,`,"2F":`/`,"3A":`:`,"3B":`;`,40:`@`},Tae=e=>e.replace(/%([0-9A-Fa-f]{2})/g,(e,t)=>wae[t.toUpperCase()]??e),Eae=e=>{try{return decodeURIComponent(e.replaceAll(`+`,`%20`))}catch{return e}},Hw=(e,t)=>{if(t.size===0)return e;let n=e.indexOf(`?`);if(n===-1)return e;let r=e.indexOf(`#`,n),i=e.slice(0,n+1),a=r===-1?e.slice(n+1):e.slice(n+1,r),o=r===-1?``:e.slice(r);return a?`${i}${a.split(`&`).map(e=>{if(!e)return e;let n=e.indexOf(`=`),r=n===-1?e:e.slice(0,n),i=Eae(r);return!t.has(i)||n===-1?e:`${r}=${Tae(e.slice(n+1))}`}).join(`&`)}${o}`:e},Dae=`MISSING_REQUEST_SERVER_BASE`,Uw=`INVALID_REQUEST_FACTORY_URL`,Oae=`No server URL is configured for this request. Add a servers entry to your OpenAPI document (or set a server in the client) before sending.`,Ww=(e,t)=>{let n=t.envVariables,r=Dw(()=>Object.fromEntries(Object.entries(e.path.variables).map(([e,t])=>[e,encodeURIComponent(Cw(t,n))])));if(!r.ok)return Tw(Uw,`The request URL contains invalid characters in path parameters.`);let i=r.data,a=vo(Cw(e.baseUrl,n),Sw(Cw(e.path.raw,n),i));if(!t.allowMissingRequestServerBase&&ho(a))return Tw(Dae,Oae);let o=globalThis.window?.location?.origin,s=o&&o!==`null`?o:`http://localhost:3000`,c=Dw(()=>new URL(a,s));if(!c.ok)return Tw(Uw,`The request URL could not be parsed. Check the server URL and path for invalid characters.`);let l=c.data,u=new URLSearchParams;for(let[t,r]of e.query.entries())u.append(Cw(t,n),Cw(r,n));let d=new URLSearchParams;for(let[e,n]of t.securityQueryParams.entries())d.append(e,n);return l.search=go(l.searchParams,u,d).toString(),ww(l.toString())},Gw=[`9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d`,`f47ac10b-58cc-4372-a567-0e02b2c3d479`,`1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed`,`6ba7b810-9dad-11d1-80b4-00c04fd430c8`,`a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11`,`3fa85f64-5717-4562-b3fc-2c963f66afa6`,`550e8400-e29b-41d4-a716-446655440000`,`c56a4180-65aa-42ec-a945-5fd21dec0538`,`7c9e6679-7425-40de-944b-e07fc1f90ae7`,`e4eaaaf2-d142-11e1-b3e4-080027620cdd`,`aab5d5fd-70c1-11e5-a4fb-b026b977eb28`,`2c5ea4c0-4067-11e9-8bad-9b1deb4d3b7d`,`d9428888-122b-11e1-b85c-61cd3cbed5a2`,`fb1a38e6-4be3-4e38-b8ec-c0c2c2d9e2a7`,`01234567-89ab-cdef-0123-456789abcdef`],Kw=`abcdefghijklmnopqrstuvwxyz0123456789`,qw=[`#e34f26`,`#3498db`,`#2ecc71`,`#9b59b6`,`#f1c40f`,`#1abc9c`,`#e74c3c`,`#2c3e50`,`#d35400`,`#8e44ad`,`#27ae60`,`#c0392b`,`#16a085`,`#f39c12`,`#7f8c8d`],kae=[`HTTP`,`SQL`,`TCP`,`JSON`,`XML`,`API`,`SSL`,`CSS`,`HTML`,`RAM`,`FTP`,`SSH`,`DNS`,`URL`,`USB`],Aae=[`192.168.1.42`,`10.0.0.134`,`172.16.254.1`,`203.0.113.50`,`198.51.100.23`,`100.24.56.78`,`54.239.28.85`,`13.107.42.14`,`151.101.1.140`,`216.58.214.206`,`93.184.216.34`,`104.16.249.249`,`172.217.14.206`,`185.199.108.153`,`140.82.121.4`],jae=[`2001:0db8:85a3:0000:0000:8a2e:0370:7334`,`fe80:0000:0000:0000:0202:b3ff:fe1e:8329`,`2607:f8b0:4004:0800:0000:0000:0000:200e`,`2001:4860:4860:0000:0000:0000:0000:8888`,`2a03:2880:f10c:0083:face:b00c:0000:25de`,`fd12:3456:789a:1000:0000:0000:0000:0001`,`2600:1f18:2489:8200:a953:2c7b:e7e0:d12f`,`2001:0db8:0000:0042:0000:8a2e:0370:7334`,`fe80:0000:0000:0000:4c5a:e8ff:fe7c:3d92`,`2001:0db8:aaaa:bbbb:cccc:dddd:eeee:0001`],Mae=[`00:1A:2B:3C:4D:5E`,`A4:83:E7:2D:6B:9F`,`48:2C:6A:1E:59:3D`,`00:50:56:C0:00:08`,`D4:BE:D9:19:6F:F2`,`3C:22:FB:4A:88:C1`,`08:00:27:5B:8E:A4`,`F0:18:98:43:65:DA`,`5C:CF:7F:2B:1D:E3`,`00:0C:29:3E:71:BC`,`1C:6F:65:A2:8D:49`,`B8:27:EB:63:4F:78`],Nae=[`en`,`es`,`fr`,`de`,`it`,`pt`,`ja`,`zh`,`ko`,`ar`,`ru`,`nl`,`sv`,`pl`,`da`,`fi`,`nb`,`tr`,`hi`,`th`],Pae=[`Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36`,`Mozilla/5.0 (Macintosh; Intel Mac OS X 14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2 Safari/605.1.15`,`Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0`,`Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0`,`Mozilla/5.0 (iPhone; CPU iPhone OS 17_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2 Mobile/15E148 Safari/604.1`,`Mozilla/5.0 (Linux; Android 14; Pixel 8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.6099.43 Mobile Safari/537.36`,`Mozilla/5.0 (iPad; CPU OS 17_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2 Mobile/15E148 Safari/604.1`,`Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0`,`Mozilla/5.0 (Macintosh; Intel Mac OS X 14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36`,`Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0`],Fae=[`http`,`https`],Iae=[`1.0.0`,`2.3.1`,`0.9.4`,`3.12.0`,`1.5.7`,`4.0.0-beta.1`,`0.1.0`,`2.0.3`,`1.2.0`,`5.4.2`,`3.1.0`,`0.8.12`,`2.7.5`,`1.14.0`,`6.0.0`],Jw=[`Emma`,`Liam`,`Olivia`,`Noah`,`Ava`,`James`,`Sophia`,`Oliver`,`Isabella`,`Lucas`,`Mia`,`Ethan`,`Charlotte`,`Mason`,`Amelia`],Yw=[`Smith`,`Johnson`,`Williams`,`Brown`,`Jones`,`Garcia`,`Miller`,`Davis`,`Rodriguez`,`Martinez`,`Hernandez`,`Lopez`,`Gonzalez`,`Wilson`,`Anderson`],Lae=[`Mr.`,`Mrs.`,`Ms.`,`Dr.`,`Prof.`,`Rev.`,`Sir`,`Mx.`],Rae=[`Jr.`,`Sr.`,`II`,`III`,`IV`,`PhD`,`MD`,`DDS`,`Esq.`],zae=[`Marketing`,`Engineering`,`Finance`,`Operations`,`Human Resources`,`Sales`,`Research`,`Design`,`Legal`,`Product`,`Data`,`Support`,`Quality`,`Security`,`Communications`],Bae=[`Senior`,`Lead`,`Junior`,`Principal`,`Chief`,`Associate`,`Global`,`Regional`,`Internal`,`Dynamic`,`Staff`,`Executive`,`National`,`Strategic`,`Corporate`],Vae=[`Software Engineer`,`Product Manager`,`Data Analyst`,`UX Designer`,`DevOps Engineer`,`Marketing Director`,`Sales Representative`,`Financial Analyst`,`Project Manager`,`QA Engineer`,`Technical Writer`,`System Administrator`,`Business Analyst`,`Account Executive`,`Operations Manager`],Hae=[`Full-time`,`Part-time`,`Contract`,`Freelance`,`Internship`,`Temporary`,`Remote`,`Hybrid`,`Consultant`,`Seasonal`],Xw=[`(555) 123-4567`,`(555) 987-6543`,`(555) 246-8135`,`(555) 369-2580`,`(555) 741-8520`,`(555) 852-9631`,`(555) 147-2583`,`(555) 963-8520`,`(555) 321-6540`,`(555) 654-9870`,`(555) 789-0123`,`(555) 234-5678`,`(555) 876-5432`,`(555) 468-1357`,`(555) 531-2468`],Uae=[`New York`,`London`,`Tokyo`,`Paris`,`Sydney`,`Toronto`,`Berlin`,`Singapore`,`Mumbai`,`São Paulo`,`Amsterdam`,`Seoul`,`Dublin`,`Barcelona`,`Melbourne`],Wae=[`Main Street`,`Oak Avenue`,`Park Boulevard`,`Cedar Lane`,`Elm Drive`,`Maple Court`,`Pine Road`,`Walnut Street`,`Birch Avenue`,`Cherry Lane`,`Willow Way`,`Spruce Circle`,`Aspen Drive`,`Hickory Place`,`Chestnut Road`],Gae=[`123 Main Street`,`456 Oak Avenue`,`789 Park Boulevard`,`321 Cedar Lane`,`654 Elm Drive`,`987 Maple Court`,`147 Pine Road`,`258 Walnut Street`,`369 Birch Avenue`,`741 Cherry Lane`,`852 Willow Way`,`963 Spruce Circle`,`159 Aspen Drive`,`357 Hickory Place`,`486 Chestnut Road`],Kae=[`United States`,`United Kingdom`,`Canada`,`Australia`,`Germany`,`France`,`Japan`,`Brazil`,`India`,`Netherlands`,`South Korea`,`Singapore`,`Ireland`,`Spain`,`Sweden`],qae=[`US`,`GB`,`CA`,`AU`,`DE`,`FR`,`JP`,`BR`,`IN`,`NL`,`KR`,`SG`,`IE`,`ES`,`SE`,`IT`,`NO`,`DK`,`FI`,`CH`],Jae=[`40.7128`,`-33.8688`,`51.5074`,`35.6762`,`48.8566`,`-23.5505`,`19.4326`,`55.7558`,`1.3521`,`37.7749`,`52.3676`,`34.0522`,`41.9028`,`39.9042`,`25.2048`],Yae=[`-74.0060`,`151.2093`,`-0.1278`,`139.6503`,`2.3522`,`-46.6333`,`-99.1332`,`37.6173`,`103.8198`,`-122.4194`,`4.9041`,`-118.2437`,`12.4964`,`116.4074`,`55.2708`],Xae=[`https://avatars.githubusercontent.com/u/12345678`,`https://avatars.githubusercontent.com/u/23456789`,`https://avatars.githubusercontent.com/u/34567890`,`https://avatars.githubusercontent.com/u/45678901`,`https://avatars.githubusercontent.com/u/56789012`,`https://avatars.githubusercontent.com/u/67890123`,`https://avatars.githubusercontent.com/u/78901234`,`https://avatars.githubusercontent.com/u/89012345`,`https://avatars.githubusercontent.com/u/90123456`,`https://avatars.githubusercontent.com/u/10234567`],Zae=[`https://picsum.photos/seed/scalar1/640/480`,`https://picsum.photos/seed/scalar2/640/480`,`https://picsum.photos/seed/scalar3/640/480`,`https://picsum.photos/seed/scalar4/640/480`,`https://picsum.photos/seed/scalar5/640/480`,`https://picsum.photos/seed/scalar6/640/480`,`https://picsum.photos/seed/scalar7/640/480`,`https://picsum.photos/seed/scalar8/640/480`,`https://picsum.photos/seed/scalar9/640/480`,`https://picsum.photos/seed/scalar10/640/480`],Zw=`https://loremflickr.com/640/480`,Qae=Array.from({length:10},(e,t)=>`${Zw}/abstract?lock=${t+1}`),$ae=Array.from({length:10},(e,t)=>`${Zw}/animals?lock=${t+1}`),eoe=Array.from({length:10},(e,t)=>`${Zw}/business?lock=${t+1}`),toe=Array.from({length:10},(e,t)=>`${Zw}/cat?lock=${t+1}`),noe=Array.from({length:10},(e,t)=>`${Zw}/city?lock=${t+1}`),roe=Array.from({length:10},(e,t)=>`${Zw}/food?lock=${t+1}`),ioe=Array.from({length:10},(e,t)=>`${Zw}/nightlife?lock=${t+1}`),aoe=Array.from({length:10},(e,t)=>`${Zw}/fashion?lock=${t+1}`),ooe=Array.from({length:10},(e,t)=>`${Zw}/people?lock=${t+1}`),soe=Array.from({length:10},(e,t)=>`${Zw}/nature?lock=${t+1}`),coe=Array.from({length:10},(e,t)=>`${Zw}/sports?lock=${t+1}`),loe=Array.from({length:10},(e,t)=>`${Zw}/transport?lock=${t+1}`),uoe=[`data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2264%22%3E%3Crect%20fill%3D%22%233498db%22%20width%3D%2264%22%20height%3D%2264%22%2F%3E%3C%2Fsvg%3E`,`data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2264%22%3E%3Crect%20fill%3D%22%23e74c3c%22%20width%3D%2264%22%20height%3D%2264%22%2F%3E%3C%2Fsvg%3E`,`data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2264%22%3E%3Crect%20fill%3D%22%232ecc71%22%20width%3D%2264%22%20height%3D%2264%22%2F%3E%3C%2Fsvg%3E`,`data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2264%22%3E%3Crect%20fill%3D%22%239b59b6%22%20width%3D%2264%22%20height%3D%2264%22%2F%3E%3C%2Fsvg%3E`,`data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2264%22%20height%3D%2264%22%3E%3Crect%20fill%3D%22%23f1c40f%22%20width%3D%2264%22%20height%3D%2264%22%2F%3E%3C%2Fsvg%3E`],doe=[`34042448`,`34102758`,`02997566`,`52631809`,`75412296`,`37762776`,`44117882`,`13865687`,`44377086`,`74440091`],foe=[`Personal Checking`,`Savings Account`,`Money Market`,`Home Loan`,`Auto Loan`,`Investment Account`,`Business Checking`,`Credit Card`,`Retirement Fund`,`College Savings`],poe=[`DEUTDEFF`,`BNPAFRPP`,`CHASUS33`,`HSBCGB2L`,`COBADEFF`,`SCBLSGSG`,`ANZBAU3M`,`CITIUS33`,`BOFAUS3N`,`NWBKGB2L`],moe=[`GB29NWBK60161331926819`,`DE89370400440532013000`,`FR7630006000011234567890189`,`ES9121000418450200051332`,`IT60X0542811101000000123456`,`NL91ABNA0417164300`,`CH9300762011623852957`,`BE68539007547034`,`AT611904300234573201`,`FI2112345600000785`],hoe=[`deposit`,`withdrawal`,`payment`,`invoice`,`transfer`],goe=[`USD`,`EUR`,`GBP`,`JPY`,`AUD`,`CAD`,`CHF`,`CNY`,`INR`,`BRL`,`SEK`,`NOK`,`DKK`,`SGD`,`HKD`],_oe=[`US Dollar`,`Euro`,`British Pound`,`Japanese Yen`,`Australian Dollar`,`Canadian Dollar`,`Swiss Franc`,`Chinese Yuan`,`Indian Rupee`,`Brazilian Real`,`Swedish Krona`,`Norwegian Krone`,`Danish Krone`,`Singapore Dollar`,`Hong Kong Dollar`],voe=[`$`,`€`,`£`,`¥`,`A$`,`C$`,`CHF`,`¥`,`₹`,`R$`],yoe=[`1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa`,`3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy`,`bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4`,`1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2`,`3Kzh9qAqVWQhEsfQz7zEQL1EuSx5tyNLNS`,`1FeexV6bAHb8ybZjqQMjJrcCrHGW9sb6uF`,`bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh`,`3FZbgi29cpjq2GjdwV8eyHuJJnkLtktZc5`,`1P5ZEDWTKTFGxQjZphgWPQUpe554WKDfHQ`,`bc1q42lja79elem0anu8q860g3milve2ycq5t8g3ux`],boe=[`Acme Corp`,`Globex`,`Initech`,`Umbrella Industries`,`Stark Enterprises`,`Wayne Corp`,`Cyberdyne Systems`,`Tyrell Corp`,`Soylent Corp`,`Aperture Science`,`Massive Dynamic`,`Oscorp`,`Abstergo`,`Weyland-Yutani`,`Hooli`],xoe=[`Inc`,`LLC`,`Group`,`Ltd`,`PLC`,`Corp`],Qw=[`leverage agile frameworks`,`iterate revolutionary convergence`,`drive seamless solutions`,`enable viral e-services`,`synergize scalable supply-chains`,`harness real-time channels`,`orchestrate integrated experiences`,`deliver frictionless partnerships`,`transform dynamic mindshare`,`cultivate open-source communities`],Soe=[`innovative`,`scalable`,`seamless`,`cutting-edge`,`robust`,`synergistic`,`dynamic`,`holistic`,`strategic`,`disruptive`,`frictionless`,`proactive`,`world-class`,`collaborative`,`granular`],Coe=[`leverage`,`iterate`,`synergize`,`monetize`,`orchestrate`,`disintermediate`,`harness`,`incentivize`,`optimize`,`streamline`,`revolutionize`,`cultivate`,`empower`,`facilitate`,`aggregate`],woe=[`frameworks`,`paradigms`,`synergies`,`platforms`,`infrastructures`,`bandwidth`,`channels`,`communities`,`convergence`,`deliverables`,`e-markets`,`experiences`,`initiatives`,`interfaces`,`methodologies`],Toe=[`Adaptive zero defect data-warehouse`,`Automated scalable protocol`,`Business-focused zero defect hub`,`Cloned responsive flexibility`,`Cross-group background collaboration`,`De-engineered stable conglomeration`,`Distributed actuating throughput`,`Enhanced client-server capability`,`Face to face explicit superstructure`,`Front-line multimedia interface`],Eoe=[`Adaptive`,`Advanced`,`Automated`,`Balanced`,`Business-focused`,`Centralized`,`Cloned`,`Configurable`,`Cross-group`,`Customizable`,`De-engineered`,`Decentralized`,`Digitized`,`Distributed`,`Enhanced`],Doe=[`24 hour`,`actuating`,`analyzing`,`asymmetric`,`asynchronous`,`background`,`bandwidth-monitored`,`bi-directional`,`bifurcated`,`bottom-line`,`clear-thinking`,`client-driven`,`client-server`,`coherent`,`cohesive`],Ooe=[`ability`,`access`,`algorithm`,`alliance`,`analyzer`,`application`,`approach`,`architecture`,`array`,`attitude`,`benchmark`,`budgetary management`,`capability`,`capacity`,`challenge`],koe=[`id`,`name`,`email`,`status`,`created_at`,`updated_at`,`description`,`amount`,`category`,`token`,`avatar`,`phone`,`address`,`comment`,`title`],Aoe=[`int`,`varchar`,`text`,`boolean`,`date`,`timestamp`,`float`,`bigint`,`json`,`uuid`,`decimal`,`enum`,`blob`,`char`,`smallint`],joe=[`utf8_general_ci`,`utf8mb4_unicode_ci`,`ascii_general_ci`,`latin1_swedish_ci`,`utf8_unicode_ci`,`utf8mb4_general_ci`,`utf8_bin`,`latin1_general_ci`,`utf8mb4_bin`,`ascii_bin`],Moe=[`InnoDB`,`MyISAM`,`MEMORY`,`CSV`,`ARCHIVE`,`FEDERATED`,`NDB`,`MERGE`,`BLACKHOLE`,`EXAMPLE`],Noe=[`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`,`Sunday`],Poe=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],Foe=[`example.com`,`test-site.org`,`my-app.io`,`dev-portal.net`,`api-hub.com`,`code-base.dev`,`data-flow.co`,`web-pulse.io`,`cloud-nest.org`,`tech-wave.net`,`open-source.dev`,`byte-craft.io`,`pixel-lab.co`,`node-spark.com`,`vue-forge.dev`],Ioe=[`com`,`org`,`net`,`io`,`dev`,`co`,`info`,`app`,`me`,`xyz`],Loe=[`example`,`test-site`,`my-app`,`dev-portal`,`api-hub`,`code-base`,`data-flow`,`web-pulse`,`cloud-nest`,`tech-wave`,`open-source`,`byte-craft`,`pixel-lab`,`node-spark`,`vue-forge`],Roe=[`emma.smith@example.com`,`liam.johnson@test.org`,`olivia.williams@demo.io`,`noah.brown@sample.net`,`ava.jones@mail.com`,`james.garcia@inbox.dev`,`sophia.miller@webmail.co`,`oliver.davis@post.io`,`isabella.rodriguez@email.org`,`lucas.martinez@connect.net`,`mia.hernandez@hub.com`,`ethan.lopez@office.dev`,`charlotte.gonzalez@corp.io`,`mason.wilson@biz.co`,`amelia.anderson@pro.net`],zoe=[`emma@example.com`,`liam@example.org`,`olivia@example.net`,`noah@example.com`,`ava@example.org`,`james@example.net`,`sophia@example.com`,`oliver@example.org`,`isabella@example.net`,`lucas@example.com`,`mia@example.org`,`ethan@example.net`],Boe=[`emma_dev42`,`liam.codes`,`olivia_tech`,`noah_builds`,`ava.hacks`,`james_ops`,`sophia_data`,`oliver.api`,`isa_design`,`lucas_vue`,`mia_cloud`,`ethan.stack`,`char_pixel`,`mason_byte`,`amelia_net`],Voe=[`https://example.com`,`https://test-site.org`,`https://my-app.io`,`https://dev-portal.net`,`https://api-hub.com`,`https://code-base.dev`,`https://data-flow.co`,`https://web-pulse.io`,`https://cloud-nest.org`,`https://tech-wave.net`,`https://open-source.dev`,`https://byte-craft.io`],Hoe=[`report.pdf`,`data.csv`,`image.png`,`backup.tar.gz`,`readme.md`,`config.yml`,`schema.json`,`styles.css`,`app.tsx`,`index.html`,`notes.txt`,`archive.zip`,`log.xml`,`script.sh`,`database.sql`],Uoe=[`application`,`text`,`image`,`audio`,`video`,`font`,`model`,`multipart`,`message`,`chemical`],Woe=[`pdf`,`csv`,`png`,`json`,`md`,`yml`,`html`,`txt`,`xml`,`sql`,`tar`,`gz`,`wasm`,`webp`],Goe=[`report.pdf`,`photo.jpg`,`document.docx`,`spreadsheet.xlsx`,`presentation.pptx`,`image.png`,`video.mp4`,`audio.mp3`,`archive.zip`,`readme.txt`],Koe=[`text`,`application`,`image`,`audio`,`video`],qoe=[`pdf`,`jpg`,`png`,`gif`,`mp3`,`mp4`,`doc`,`xls`,`ppt`,`txt`,`zip`,`html`,`css`,`js`,`json`],Joe=[`/home/user/documents/report.pdf`,`/var/log/app/server.log`,`/tmp/upload/image.png`,`/opt/data/backup.tar.gz`,`/home/user/projects/app/src/index.ts`,`/etc/config/settings.yml`,`/usr/local/bin/script.sh`,`/home/user/downloads/archive.zip`,`/var/www/html/index.html`,`/home/user/.config/app.json`],Yoe=[`/home/user/documents`,`/var/log/app`,`/tmp/uploads`,`/opt/data`,`/home/user/projects/app/src`,`/etc/config`,`/usr/local/bin`,`/home/user/downloads`,`/var/www/html`,`/home/user/.config`],Xoe=[`application/json`,`text/html`,`image/png`,`application/pdf`,`text/plain`,`image/jpeg`,`application/xml`,`text/css`,`application/javascript`,`image/svg+xml`,`application/zip`,`audio/mpeg`,`video/mp4`,`font/woff2`,`application/octet-stream`],Zoe=[`Chair`,`Computer`,`Keyboard`,`Mouse`,`Table`,`Phone`,`Shoes`,`Shirt`,`Pants`,`Hat`,`Bike`,`Towels`,`Gloves`,`Soap`,`Tuna`],Qoe=[`Refined`,`Elegant`,`Rustic`,`Gorgeous`,`Practical`,`Fantastic`,`Handcrafted`,`Incredible`,`Licensed`,`Sleek`,`Intelligent`,`Recycled`,`Modern`,`Bespoke`,`Ergonomic`],$oe=[`Cotton`,`Steel`,`Wooden`,`Concrete`,`Rubber`,`Granite`,`Plastic`,`Frozen`,`Soft`,`Metal`,`Bronze`,`Silk`,`Leather`,`Ceramic`,`Bamboo`],ese=[`Refined Cotton Chair`,`Sleek Steel Computer`,`Elegant Wooden Table`,`Practical Rubber Keyboard`,`Gorgeous Granite Mouse`,`Rustic Metal Bike`,`Handcrafted Silk Shirt`,`Incredible Bamboo Towels`,`Modern Leather Shoes`,`Ergonomic Plastic Phone`,`Fantastic Ceramic Soap`,`Licensed Bronze Hat`,`Intelligent Soft Gloves`,`Bespoke Cotton Pants`,`Recycled Steel Tuna`],tse=[`Electronics`,`Clothing`,`Books`,`Home`,`Garden`,`Sports`,`Toys`,`Automotive`,`Grocery`,`Health`,`Beauty`,`Music`,`Movies`,`Games`,`Outdoors`],nse=[`server`,`database`,`network`,`protocol`,`system`,`algorithm`,`interface`,`module`,`component`,`function`,`framework`,`library`,`instance`,`variable`,`endpoint`],rse=[`run`,`build`,`deploy`,`parse`,`fetch`,`render`,`compile`,`stream`,`cache`,`merge`,`sync`,`push`,`pull`,`test`,`debug`],ise=[`running`,`building`,`deploying`,`parsing`,`fetching`,`rendering`,`compiling`,`streaming`,`caching`,`merging`,`syncing`,`pushing`,`pulling`,`testing`,`debugging`],ase=[`fast`,`secure`,`scalable`,`robust`,`dynamic`,`modular`,`stable`,`lightweight`,`portable`,`resilient`,`efficient`,`responsive`,`concurrent`,`stateless`,`distributed`],$w=[`pixel`,`quantum`,`cipher`,`matrix`,`vector`,`nexus`,`pulse`,`flux`,`forge`,`prism`,`vortex`,`helix`,`orbit`,`spark`,`nebula`],eT=[`lorem`,`ipsum`,`dolor`,`sit`,`amet`,`consectetur`,`adipiscing`,`elit`,`sed`,`do`,`eiusmod`,`tempor`,`incididunt`,`ut`,`labore`,`et`,`dolore`,`magna`,`aliqua`,`enim`],tT=[`Lorem ipsum dolor sit amet, consectetur adipiscing elit.`,`Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.`,`Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.`,`Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore.`,`Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia.`,`Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit.`,`Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet.`,`Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit.`,`Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse.`,`At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis.`],nT=[`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.`,`Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.`,`Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.`,`Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.`,`Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.`],ose=[`lorem-ipsum-dolor`,`sed-tempor-incididunt`,`amet-consectetur-adipiscing`,`eiusmod-labore-dolore`,`veniam-nostrud-exercitation`,`voluptate-velit-cillum`,`occaecat-cupidatat-proident`,`perspiciatis-omnis-natus`,`aspernatur-odit-fugit`,`dolorem-ipsum-amet`],H=e=>e[Math.floor(Math.random()*e.length)],rT=(e,t)=>Math.floor(Math.random()*(t-e+1))+e,sse=e=>Array.from({length:e},()=>Math.floor(Math.random()*10)).join(``),cse=e=>Array.from({length:e},()=>Kw[Math.floor(Math.random()*Kw.length)]).join(``),lse=()=>{let e=Date.now()+rT(1,365)*864e5;return new Date(e).toISOString()},use=()=>{let e=Date.now()-rT(1,365)*864e5;return new Date(e).toISOString()},dse=()=>{let e=Date.now()-rT(1,3)*864e5;return new Date(e).toISOString()},iT=(e,t,n)=>{let r=rT(t,n);return Array.from({length:r},()=>H(e)).join(` `)},aT=(e,t,n)=>{let r=rT(t,n);return Array.from({length:r},()=>H(e)).join(` `)},fse=(e,t,n)=>{let r=rT(t,n);return Array.from({length:r},()=>H(e)).join(`
|
|
13
|
+
`)},oT={$guid:{fn:()=>H(Gw),comment:`A uuid-v4 style guid`},$timestamp:{fn:()=>Math.floor(Date.now()/1e3).toString(),comment:`The current UNIX timestamp in seconds`},$isoTimestamp:{fn:()=>new Date().toISOString(),comment:`The current ISO timestamp at zero UTC`},$randomUUID:{fn:()=>H(Gw),comment:`A random 36-character UUID`},$randomAlphaNumeric:{fn:()=>`abcdefghijklmnopqrstuvwxyz0123456789`[Math.floor(Math.random()*36)]??`a`,comment:`A random alpha-numeric character`},$randomBoolean:{fn:()=>Math.random()<.5?`true`:`false`,comment:`A random boolean value`},$randomInt:{fn:()=>rT(0,1e3).toString(),comment:`A random integer between 0 and 1000`},$randomColor:{fn:()=>H(qw),comment:`A random color in hex format`},$randomHexColor:{fn:()=>H(qw),comment:`A random hex value`},$randomAbbreviation:{fn:()=>H(kae),comment:`A random abbreviation`},$randomIP:{fn:()=>H(Aae),comment:`A random IPv4 address`},$randomIPV6:{fn:()=>H(jae),comment:`A random IPv6 address`},$randomMACAddress:{fn:()=>H(Mae),comment:`A random MAC address`},$randomPassword:{fn:()=>cse(15),comment:`A random 15-character alpha-numeric password`},$randomLocale:{fn:()=>H(Nae),comment:`A random two-letter language code (ISO 639-1)`},$randomUserAgent:{fn:()=>H(Pae),comment:`A random user agent`},$randomProtocol:{fn:()=>H(Fae),comment:`A random internet protocol`},$randomSemver:{fn:()=>H(Iae),comment:`A random semantic version number`},$randomFirstName:{fn:()=>H(Jw),comment:`A random first name`},$randomLastName:{fn:()=>H(Yw),comment:`A random last name`},$randomFullName:{fn:()=>`${H(Jw)} ${H(Yw)}`,comment:`A random first and last name`},$randomNamePrefix:{fn:()=>H(Lae),comment:`A random name prefix`},$randomNameSuffix:{fn:()=>H(Rae),comment:`A random name suffix`},$randomJobArea:{fn:()=>H(zae),comment:`A random job area`},$randomJobDescriptor:{fn:()=>H(Bae),comment:`A random job descriptor`},$randomJobTitle:{fn:()=>H(Vae),comment:`A random job title`},$randomJobType:{fn:()=>H(Hae),comment:`A random job type`},$randomPhoneNumber:{fn:()=>H(Xw),comment:`A random ten-digit phone number`},$randomPhoneNumberExt:{fn:()=>`${rT(10,99)}-${H(Xw)}`,comment:`A random phone number prefixed with a two-digit extension (10–99)`},$randomCity:{fn:()=>H(Uae),comment:`A random city name`},$randomStreetName:{fn:()=>H(Wae),comment:`A random street name`},$randomStreetAddress:{fn:()=>H(Gae),comment:`A random street address`},$randomCountry:{fn:()=>H(Kae),comment:`A random country`},$randomCountryCode:{fn:()=>H(qae),comment:`A random two-letter country code (ISO 3166-1 alpha-2)`},$randomLatitude:{fn:()=>H(Jae),comment:`A random latitude coordinate`},$randomLongitude:{fn:()=>H(Yae),comment:`A random longitude coordinate`},$randomAvatarImage:{fn:()=>H(Xae),comment:`A random avatar image`},$randomImageUrl:{fn:()=>H(Zae),comment:`A URL of a random image`},$randomAbstractImage:{fn:()=>H(Qae),comment:`A URL of a random abstract image`},$randomAnimalsImage:{fn:()=>H($ae),comment:`A URL of a random animal image`},$randomBusinessImage:{fn:()=>H(eoe),comment:`A URL of a random stock business image`},$randomCatsImage:{fn:()=>H(toe),comment:`A URL of a random cat image`},$randomCityImage:{fn:()=>H(noe),comment:`A URL of a random city image`},$randomFoodImage:{fn:()=>H(roe),comment:`A URL of a random food image`},$randomNightlifeImage:{fn:()=>H(ioe),comment:`A URL of a random nightlife image`},$randomFashionImage:{fn:()=>H(aoe),comment:`A URL of a random fashion image`},$randomPeopleImage:{fn:()=>H(ooe),comment:`A URL of a random image of a person`},$randomNatureImage:{fn:()=>H(soe),comment:`A URL of a random nature image`},$randomSportsImage:{fn:()=>H(coe),comment:`A URL of a random sports image`},$randomTransportImage:{fn:()=>H(loe),comment:`A URL of a random transportation image`},$randomImageDataUri:{fn:()=>H(uoe),comment:`A random image data URI`},$randomBankAccount:{fn:()=>H(doe),comment:`A random 8-digit bank account number`},$randomBankAccountName:{fn:()=>H(foe),comment:`A random bank account name`},$randomCreditCardMask:{fn:()=>`**** **** **** ${sse(4)}`,comment:`A random masked credit card number`},$randomBankAccountBic:{fn:()=>H(poe),comment:`A random BIC (Bank Identifier Code)`},$randomBankAccountIban:{fn:()=>H(moe),comment:`A random 15-31 character IBAN (International Bank Account Number)`},$randomTransactionType:{fn:()=>H(hoe),comment:`A random transaction type`},$randomCurrencyCode:{fn:()=>H(goe),comment:`A random 3-letter currency code (ISO-4217)`},$randomCurrencyName:{fn:()=>H(_oe),comment:`A random currency name`},$randomCurrencySymbol:{fn:()=>H(voe),comment:`A random currency symbol`},$randomBitcoin:{fn:()=>H(yoe),comment:`A random bitcoin address`},$randomCompanyName:{fn:()=>H(boe),comment:`A random company name`},$randomCompanySuffix:{fn:()=>H(xoe),comment:`A random company suffix`},$randomBs:{fn:()=>H(Qw),comment:`A random phrase of business-speak`},$randomBsAdjective:{fn:()=>H(Soe),comment:`A random business-speak adjective`},$randomBsBuzz:{fn:()=>H(Coe),comment:`A random business-speak buzzword`},$randomBsNoun:{fn:()=>H(woe),comment:`A random business-speak noun`},$randomCatchPhrase:{fn:()=>H(Toe),comment:`A random catchphrase`},$randomCatchPhraseAdjective:{fn:()=>H(Eoe),comment:`A random catchphrase adjective`},$randomCatchPhraseDescriptor:{fn:()=>H(Doe),comment:`A random catchphrase descriptor`},$randomCatchPhraseNoun:{fn:()=>H(Ooe),comment:`Randomly generates a catchphrase noun`},$randomDatabaseColumn:{fn:()=>H(koe),comment:`A random database column name`},$randomDatabaseType:{fn:()=>H(Aoe),comment:`A random database type`},$randomDatabaseCollation:{fn:()=>H(joe),comment:`A random database collation`},$randomDatabaseEngine:{fn:()=>H(Moe),comment:`A random database engine`},$randomDateFuture:{fn:lse,comment:`A random future datetime`},$randomDatePast:{fn:use,comment:`A random past datetime`},$randomDateRecent:{fn:dse,comment:`A random recent datetime`},$randomWeekday:{fn:()=>H(Noe),comment:`A random weekday`},$randomMonth:{fn:()=>H(Poe),comment:`A random month`},$randomDomainName:{fn:()=>H(Foe),comment:`A random domain name`},$randomDomainSuffix:{fn:()=>H(Ioe),comment:`A random domain suffix`},$randomDomainWord:{fn:()=>H(Loe),comment:`A random unqualified domain name`},$randomEmail:{fn:()=>H(Roe),comment:`A random email address`},$randomExampleEmail:{fn:()=>H(zoe),comment:`A random email address from an example domain`},$randomUserName:{fn:()=>H(Boe),comment:`A random username`},$randomUrl:{fn:()=>H(Voe),comment:`A random URL`},$randomFileName:{fn:()=>H(Hoe),comment:`A random file name (includes uncommon extensions)`},$randomFileType:{fn:()=>H(Uoe),comment:`A random file type (includes uncommon file types)`},$randomFileExt:{fn:()=>H(Woe),comment:`A random file extension (includes uncommon extensions)`},$randomCommonFileName:{fn:()=>H(Goe),comment:`A random file name`},$randomCommonFileType:{fn:()=>H(Koe),comment:`A random, common file type`},$randomCommonFileExt:{fn:()=>H(qoe),comment:`A random, common file extension`},$randomFilePath:{fn:()=>H(Joe),comment:`A random file path`},$randomDirectoryPath:{fn:()=>H(Yoe),comment:`A random directory path`},$randomMimeType:{fn:()=>H(Xoe),comment:`A random MIME type`},$randomPrice:{fn:()=>(Math.random()*1e3).toFixed(2),comment:`A random price between 0.00 and 1000.00`},$randomProduct:{fn:()=>H(Zoe),comment:`A random product`},$randomProductAdjective:{fn:()=>H(Qoe),comment:`A random product adjective`},$randomProductMaterial:{fn:()=>H($oe),comment:`A random product material`},$randomProductName:{fn:()=>H(ese),comment:`A random product name`},$randomDepartment:{fn:()=>H(tse),comment:`A random commerce department`},$randomNoun:{fn:()=>H(nse),comment:`A random noun`},$randomVerb:{fn:()=>H(rse),comment:`A random verb`},$randomIngverb:{fn:()=>H(ise),comment:"A random verb ending in `-ing`"},$randomAdjective:{fn:()=>H(ase),comment:`A random adjective`},$randomWord:{fn:()=>H($w),comment:`A random word`},$randomWords:{fn:()=>iT($w,2,5),comment:`Some random words`},$randomPhrase:{fn:()=>H(Qw),comment:`A random phrase`},$randomLoremWord:{fn:()=>H(eT),comment:`A random word of lorem ipsum text`},$randomLoremWords:{fn:()=>iT(eT,3,3),comment:`Some random words of lorem ipsum text`},$randomLoremSentence:{fn:()=>H(tT),comment:`A random sentence of lorem ipsum text`},$randomLoremSentences:{fn:()=>aT(tT,2,6),comment:`A random 2 to 6 sentences of lorem ipsum text`},$randomLoremParagraph:{fn:()=>H(nT),comment:`A random paragraph of lorem ipsum text`},$randomLoremParagraphs:{fn:()=>aT(nT,3,3),comment:`3 random paragraphs of lorem ipsum text`},$randomLoremText:{fn:()=>aT(nT,1,3),comment:`A random amount of lorem ipsum text`},$randomLoremSlug:{fn:()=>H(ose),comment:`A random lorem ipsum URL slug`},$randomLoremLines:{fn:()=>fse(tT,1,5),comment:`1 to 5 random lines of lorem ipsum`}},sT=e=>oT[e].comment,pse=[`$guid`,`$timestamp`,`$isoTimestamp`,`$randomUUID`,`$randomEmail`,`$randomInt`,`$randomFirstName`,`$randomLastName`],cT=Object.keys(oT),lT=e=>Object.hasOwn(oT,e),mse=[{header:`date`,scalarHeader:Po},{header:`dnt`,scalarHeader:Fo},{header:`referer`,scalarHeader:Io},{header:`user-agent`,scalarHeader:No}],uT=(e,t)=>{let n=Cw(e.value,t);return e.format===`basic`?`Basic ${Bw(n)}`:e.format===`bearer`?`Bearer ${n}`:n},dT=e=>t=>lT(t)?oT[t].fn()??null:e[t]??null,hse=(e,t,n)=>{let r=dT(t),i=new URLSearchParams;e.options?.disableSecurity||e.security.forEach(e=>{if(e.in!==`query`)return;let t=Cw(e.name,r);i.append(t,uT(e,r))});let a=Ww(e,{envVariables:r,securityQueryParams:i,allowMissingRequestServerBase:n?.allowMissingRequestServerBase??!0});if(!a.ok)throw Error(a.message??a.error);return Hw(a.data,e.allowedReservedQueryParameters??new Set)},gse=`BUILD_REQUEST_FAILED`,_se=(e,t)=>{let n=Dw(()=>vse(e,t));return n.ok?n.data:Tw(gse,n.error)},vse=(e,t)=>{let n=dT(t.envVariables),r=new AbortController,i=(()=>{let t=new Headers;return e.headers.forEach((e,r)=>{t.set(Cw(r,n),Cw(e,n))}),t})(),a=(()=>{if(e.body?.mode===`raw`)return typeof e.body.value==`string`?Cw(e.body.value,n):e.body.value;if(e.body?.mode===`formdata`){let t=new FormData;return e.body.value.forEach(e=>{if(e.type===`text`){t.append(Cw(e.key,n),Cw(e.value,n));return}t.append(Cw(e.key,n),e.value)}),t}return e.body?.mode===`urlencoded`?new URLSearchParams(e.body.value.map(e=>[Cw(e.key,n),Cw(e.value,n)])):null})(),o=new URLSearchParams,s=[];e.options?.disableSecurity||e.security.forEach(e=>{let t=Cw(e.name,n),r=uT(e,n);if(e.in===`header`){i.append(t,r);return}if(e.in===`query`){o.append(t,r);return}e.in===`cookie`&&s.push({name:t,value:r,isDisabled:!1})});let c=Ww(e,{envVariables:n,securityQueryParams:o,allowMissingRequestServerBase:t.allowMissingRequestServerBase});if(!c.ok)return Tw(c.error,c.message);let l=c.data,u=Aw(e.proxyUrl,l),d=Cae({cookies:[...e.cookies,...s].map(e=>({...e,name:Cw(e.name,n),value:Cw(e.value,n)})),originalCookieHeader:i.get(`cookie`),url:l,useCustomCookieHeader:(u||e.options?.isElectron)??!1});d&&i.set(d.name,d.value),(u||e.options?.isElectron)&&mse.forEach(({header:e,scalarHeader:t})=>{let n=i.get(e);n&&(i.set(t,n),i.delete(e))});let f=Hw(l,e.allowedReservedQueryParameters??new Set);return ww({requestPayload:[u?kw(e.proxyUrl,f):f,{method:e.method.toUpperCase(),headers:i,body:a,cache:e.cache,signal:r.signal}],controller:r,isUsingProxy:u})},fT=(e,t)=>`content`in t?yse(e,Object.keys(t.content??{})[0]??``):`schema`in t?mT(e,t.schema):e,yse=(e,t)=>{if(typeof e==`string`&&t.includes(`json`))try{return JSON.parse(e)}catch{return e}return e},bse=new Set([`array`,`object`]),pT=e=>{let t=Tc(e);if(!(!t||typeof t!=`object`)){if(`type`in t&&t.type){let e=Array.isArray(t.type)?t.type.find(e=>bse.has(e)):t.type;if(e===`array`||e===`object`)return e}for(let e of[`anyOf`,`oneOf`,`allOf`]){let n=t[e];if(Array.isArray(n))for(let e of n){let t=pT(e);if(t)return t}}}},mT=(e,t)=>{if(typeof e==`string`){let n=pT(t);if(n)try{return JSON.parse(e)}catch{if(n===`array`)return e.split(/,\s?/).filter(e=>e!==``)}}return e},hT=(e,t,n=!0)=>{let r=t?.[`x-disabled`];return typeof r==`boolean`?r:n?!e.required&&e.in!==`path`:!1},gT=e=>e.variables.reduce((e,t)=>(e[t.name]=typeof t.value==`string`?t.value:t.value.default,e),{}),_T=e=>Object.entries(e),vT=e=>e?_T(e?.variables??{}).reduce((e,[t,n])=>(n.default&&(e[t]=n.default),e),{}):{},xse=`*/*`,Sse={accept:`Accept`,"content-type":`Content-Type`,"user-agent":`User-Agent`},Cse=e=>Sse[e.toLowerCase()]??e,wse=e=>Object.fromEntries(Object.entries(e).map(([e,t])=>[Cse(e),t])),Tse=(e,t)=>{let n=new Set;for(let r of e.parameters??[]){let e=Tc(r);if(e.in!==`header`)continue;let i=`examples`in e&&e.examples?.[t]?e.examples[t]:void 0;hT(e,i?Tc(i):void 0)||n.add(e.name.toLowerCase())}return n},yT=(e,t,n,r)=>{let i=r.hideOverriddenHeaders?Tse(e,t):null,a=r.hideDisabledHeaders?e[`x-scalar-disable-parameters`]?.[`default-headers`]?.[t]??{}:null;return Object.fromEntries(Object.entries(n).filter(([e])=>{let t=e.toLowerCase();return!(i?.has(t)||a&&a[t]===!0)}))},Ese=(e,t,n)=>yT(e,t,n,{hideOverriddenHeaders:!1,hideDisabledHeaders:!0}),bT=({method:e,operation:t,exampleName:n,hideDisabledHeaders:r=!1,hideOverriddenHeaders:i=!1,options:a={isElectron:!1,appVersion:`0.0.0`}})=>{let o=new Headers,s=Tc(t.requestBody);if(ko(e)&&s){let e=s[`x-scalar-selected-content-type`]?.[n]??Object.keys(s.content??{})[0];e&&e!==`none`&&e!==`other`&&o.set(`Content-Type`,e)}let c=Object.keys(t.responses??{}).find(e=>e.startsWith(`2`)),l=c?Tc(t.responses[c]):null,u=Object.keys(l?.content??{}).join(`, `)||xse;o.set(`Accept`,u),a.isElectron&&a.appVersion&&o.set(`User-Agent`,`Scalar/${a.appVersion}`);let d=Object.fromEntries(o.entries());return i||r?yT(t,n,d,{hideOverriddenHeaders:i,hideDisabledHeaders:r}):d},Dse=new Set([`__proto__`,`prototype`,`constructor`]),Ose=(e,t)=>{if(Dse.has(e)){let n=t?`Prototype pollution key detected: "${e}" in ${t}`:`Prototype pollution key detected: "${e}"`;throw Error(n)}},kse=[`userPassword`,`plain`,`scramSha256`,`scramSha512`],xT=e=>!!e&&kse.includes(e),Ase=[`symmetricEncryption`,`asymmetricEncryption`],ST=e=>!!e&&Ase.includes(e),CT=e=>Ec(e)&&`openapi`in e&&typeof e.openapi==`string`,wT=e=>Ec(e)&&`asyncapi`in e&&typeof e.asyncapi==`string`,jse=e=>{if(CT(e))return`openapi`;if(wT(e))return`asyncapi`},TT=e=>e===`asyncapi`?`AsyncAPI`:`OpenAPI`,Mse=(e,t)=>{if(e===null)return{name:null,environment:zx(Ux,{})};let n=e.workspace[`x-scalar-active-environment`];if(!n)return{name:null,environment:zx(Ux,{})};let r=e.workspace[`x-scalar-environments`]?.[n]??{variables:[]},i=(CT(t)?t[`x-scalar-environments`]?.[n]:void 0)??{variables:[]};return{name:n,environment:zx(Ux,{...r,...i,variables:[...r.variables,...i.variables]})}},ET=e=>e&&typeof e==`string`?TS.has(e.toLowerCase()):!1,DT=e=>{if(!(!e||typeof e!=`object`))return Tc(e,wc)},Nse=(e,t)=>{let n=DT(e);if(n)return n[t]},Pse=(e,t,n)=>{if(!(!e||typeof e!=`object`)){if(`$ref`in e&&`$ref-value`in e){let r=e[`$ref-value`];if(r){r[t]=n;return}}e[t]=n}},Fse=(e,t)=>{if(!(!e||typeof e!=`object`)){if(`$ref`in e&&`$ref-value`in e){let n=e[`$ref-value`];n&&delete n[t]}delete e[t]}},Ise=(e,t)=>{let n=DT(e);if(n)for(let[e,r]of Object.entries(n))!ET(e)||r===void 0||t(e,r)},Lse=e=>{let t=DT(e);return!t||Object.keys(t).length===0},Rse=(e=[],t=[])=>{let n=t.flatMap(e=>{let t=Tc(e);return t?`${t.in}:${t.name}`:[]}),r=new Set(n);return[...e.filter(e=>{let t=Tc(e);return t?!r.has(`${t.in}:${t.name}`):!1}),...t]},zse=(e,t)=>JSON.stringify(t)===`[{}]`&&e?.length?e.find(e=>JSON.stringify(e)===`{}`)?e:[...e,{}]:t??e??[],OT=e=>Object.keys(e),Bse=(e,t)=>OT(t).flatMap(t=>Tc(e?.[t])||[]),kT=e=>{let t=e.some(e=>Object.keys(e).length>1);return e.some(e=>Object.keys(e).length===0)&&!t},AT=e=>!e||e.type!==`oauth2`?[]:e[`x-default-scopes`]??[],Vse=(e,t)=>Object.fromEntries(Object.entries(e).map(([e,n])=>{if(Array.isArray(n)&&n.length>0)return[e,[...n]];let r=Tc(t[e]),i=r?.type===`oauth2`?r[`x-default-scopes`]:void 0;return Array.isArray(i)&&i.length>0?[e,[...i]]:[e,Array.isArray(n)?[...n]:n]})),Hse=(e,t)=>{if(!Array.isArray(e)){let n=Tc(t[e]);return{[e]:AT(n)}}let n={};for(let r of e)if(Array.isArray(r))for(let e of r)n[e]=AT(Tc(t[e]));else n[r]=AT(Tc(t[r]));return n},Use=(e,t,n=[],r={},i)=>{if(t)return t;if(e)return e;if(kT(n)&&!i)return{selectedIndex:-1,selectedSchemes:[]};if(i)return{selectedIndex:0,selectedSchemes:[Hse(i,r)]};let a=n[0];return a?{selectedIndex:0,selectedSchemes:[Vse(a,r)]}:{selectedIndex:-1,selectedSchemes:[]}},jT=(e,t=new WeakMap)=>{if(typeof e!=`object`||!e)return e;if(t.has(e))return t.get(e);let n=Array.isArray(e)?[]:{};return t.set(e,n),Object.keys(e).forEach(r=>{n[r]=jT(e[r],t)}),n},MT=(e,t,n=!1,r=new Set)=>{for(let i in t)if(!(i in e))e[i]=t[i];else{let a=e[i],o=t[i];if(typeof a==`object`&&a&&typeof o==`object`&&o&&!(n&&(Array.isArray(a)||Array.isArray(o)))){let e=Hc(a),t=Hc(o);if(r.has(e)||r.has(t))continue;r.add(e),r.add(t),MT(a,o,n,r)}else try{e[i]=o}catch(e){console.warn(`Issue setting ${i} on object`),console.warn(e)}}return e},NT={"x-scalar-secret-client-id":`x-scalar-client-id`,"x-scalar-secret-client-secret":`clientSecret`,"x-scalar-secret-password":`password`,"x-scalar-secret-redirect-uri":`x-scalar-redirect-uri`,"x-scalar-secret-token":`token`,"x-scalar-secret-username":`username`,"x-scalar-secret-auth-url":`authorizationUrl`,"x-scalar-secret-token-url":`tokenUrl`},PT=(e,t,n={},r)=>Object.fromEntries(e.map(e=>{let i=typeof n[e]==`string`?n[e]:void 0,a=typeof t[e]==`string`?t[e]:void 0,o=typeof t[NT[e]]==`string`?t[NT[e]]:void 0;return[e,e===`x-scalar-secret-redirect-uri`?i??a??o??r??``:i||a||o||``]})),FT=(e,t)=>{let n=e[t];return typeof n==`string`?n:``},IT=(e={})=>{let t=e[`x-scalar-secret-refresh-token`];return typeof t==`string`?{"x-scalar-secret-refresh-token":t}:{}},LT=(e,t={})=>{let n=t[`x-scalar-credentials-location`]??e[`x-scalar-credentials-location`];return n?{"x-scalar-credentials-location":n}:{}},RT=(e,t,n)=>{let r=new Set;return{flows:_T(e??{}).reduce((e,[i,a])=>{if(!Ec(a))return e;let o=a.selectedScopes;return Array.isArray(o)&&o.forEach(e=>typeof e==`string`&&r.add(e)),i===`implicit`&&(e.implicit={...a,...PT([`x-scalar-secret-client-id`,`x-scalar-secret-redirect-uri`,`x-scalar-secret-token`,`x-scalar-secret-auth-url`],a,t?.implicit,n),...IT(t?.implicit)}),i===`password`&&(e[i]={...a,...PT([`x-scalar-secret-client-id`,`x-scalar-secret-client-secret`,`x-scalar-secret-username`,`x-scalar-secret-password`,`x-scalar-secret-token`,`x-scalar-secret-token-url`],a,t?.password),...LT(a,t?.password),...IT(t?.password)}),i===`clientCredentials`&&(e[i]={...a,...PT([`x-scalar-secret-client-id`,`x-scalar-secret-client-secret`,`x-scalar-secret-token`,`x-scalar-secret-token-url`],a,t?.clientCredentials),...LT(a,t?.clientCredentials),...IT(t?.clientCredentials)}),i===`authorizationCode`&&(e[i]={...a,...PT([`x-scalar-secret-client-id`,`x-scalar-secret-client-secret`,`x-scalar-secret-redirect-uri`,`x-scalar-secret-token`,`x-scalar-secret-auth-url`,`x-scalar-secret-token-url`],a,t?.authorizationCode,n),...LT(a,t?.authorizationCode),...IT(t?.authorizationCode)}),e},{}),selectedScopes:Array.from(r)}},Wse=(e,t,n,r,i)=>{let a=t.getAuthSecrets(r,n),o=e;if(e.type===`apiKey`){let t=a?.type===`apiKey`?a:void 0;return{...e,"x-scalar-secret-token":t?.[`x-scalar-secret-token`]||FT(e,`x-scalar-secret-token`)||e.value||``}}if(e.type===`http`){let t=a?.type===`http`?a:void 0;return{...e,"x-scalar-secret-token":t?.[`x-scalar-secret-token`]||FT(e,`x-scalar-secret-token`)||e.token||``,"x-scalar-secret-username":t?.[`x-scalar-secret-username`]||FT(e,`x-scalar-secret-username`)||e.username||``,"x-scalar-secret-password":t?.[`x-scalar-secret-password`]||FT(e,`x-scalar-secret-password`)||e.password||``}}if(e.type===`oauth2`){let t=a?.type===`oauth2`?a:void 0,n=RT(e.flows,t,i),r=Array.isArray(e[`x-default-scopes`])?e[`x-default-scopes`].filter(e=>typeof e==`string`):[],o=Array.from(new Set([...r,...n.selectedScopes]));return{...e,flows:n.flows,"x-default-scopes":o}}if(e.type===`openIdConnect`){let t=a?.type===`openIdConnect`?a:void 0,n=RT({implicit:t?.implicit,password:t?.password,clientCredentials:t?.clientCredentials,authorizationCode:t?.authorizationCode},t,i);return{...e,..._T(n.flows).length?{flows:n.flows}:{}}}if(xT(o.type)){let e=a?.type===o.type?a:void 0;return{...o,"x-scalar-secret-username":e?.[`x-scalar-secret-username`]||o.username||``,"x-scalar-secret-password":e?.[`x-scalar-secret-password`]||o.password||``}}if(o.type===`X509`){let e=a?.type===`X509`?a:void 0;return{...o,"x-scalar-secret-client-certificate":e?.[`x-scalar-secret-client-certificate`]||``,"x-scalar-secret-private-key":e?.[`x-scalar-secret-private-key`]||``}}if(ST(o.type)){let e=a?.type===o.type?a:void 0;return{...o,"x-scalar-secret-token":e?.[`x-scalar-secret-token`]||o.token||``}}if(o.type===`gssapi`){let e=a?.type===`gssapi`?a:void 0;return{...o,"x-scalar-secret-service-name":e?.[`x-scalar-secret-service-name`]||``}}return e},zT=e=>{let t=Tc(e);return!!t&&typeof t==`object`&&`availableScopes`in t},Gse=e=>{let t=Tc(e);if(!t||typeof t!=`object`)return e;let n=Object.entries(t);return n.some(([,e])=>zT(e))?Object.fromEntries(n.map(([e,t])=>{if(!zT(t))return[e,t];let{availableScopes:n,scopes:r,...i}=Tc(t);return[e,{...i,scopes:r??n??{}}]})):e},Kse=e=>{if(!(e&&typeof e==`object`&&`type`in e))return e;if(e.type===`httpApiKey`)return{...e,type:`apiKey`};if(e.type===`oauth2`&&`flows`in e&&e.flows){let t=Gse(e.flows);if(t!==e.flows)return{...e,flows:t}}return e},qse=(e={},t={},n,r,i)=>_T(MT(_T(e).reduce((e,[t,n])=>{let r=jT(Tc(n));return r&&(e[t]=r),e},{}),t)??{}).reduce((e,[t,a])=>{let o=Kse(a);return e[t]=Wse({...zx(Kie,o),...o},n,t,r,i),e},{});function Jse(e,t={}){return Array.isArray(e)?e.map(e=>Qse(e,t)):[]}function Yse(e){try{let t=new URL(e),n=t.port?`:${t.port}`:``;return`${t.protocol}//${t.hostname}${n}`}catch{return}}function Xse(){if(!(typeof window>`u`||typeof window?.location?.origin!=`string`))return window.location.origin}function Zse(e,t){let{baseServerUrl:n,documentUrl:r}=t;if(n)return _o(n,e);if(r){let t=Yse(r);if(t)return _o(t,e)}let i=Xse();return i?_o(i,e):e}function Qse(e,t){return e.url?.startsWith(`/`)&&(e.url=Zse(e.url,t)),e}var $se=(e,t,n,r)=>{let i=CT(e)?e[`x-scalar-selected-server`]:void 0,a=n==null?t?.[`x-scalar-selected-server`]??i:i;return a==null?r[0]??null:r.find(({url:e})=>e===a)??null},BT=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},VT=Object.defineProperty,U=(e,t)=>{let n={};for(var r in e)VT(n,r,{get:e[r],enumerable:!0});return t||VT(n,Symbol.toStringTag,{value:`Module`}),n},ece=U({default:()=>nce,render:()=>HT}),tce={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function HT(e,t){return y(),N(`svg`,tce,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M5 11.988h14M12.006 5v14`},null,-1)]])}var nce={render:HT},rce=U({default:()=>ace,render:()=>UT}),ice={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function UT(e,t){return y(),N(`svg`,ice,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M8.143 12h7.714M12 8.143v7.714M5.571 3H18.43A2.57 2.57 0 0 1 21 5.571V18.43A2.57 2.57 0 0 1 18.429 21H5.57A2.57 2.57 0 0 1 3 18.429V5.57A2.57 2.57 0 0 1 5.571 3`},null,-1)]])}var ace={render:UT},oce=U({default:()=>cce,render:()=>WT}),sce={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function WT(e,t){return y(),N(`svg`,sce,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M12 8v4m0 4h.01M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10`},null,-1)]])}var cce={render:WT},lce=U({default:()=>dce,render:()=>GT}),uce={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function GT(e,t){return y(),N(`svg`,uce,[...t[0]||=[P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M22 12H2m9.3-9.3L2 12l9.3 9.3`},null,-1)]])}var dce={render:GT},fce=U({default:()=>qT,render:()=>KT}),pce={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function KT(e,t){return y(),N(`svg`,pce,[...t[0]||=[P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M2 12h20m-9.3 9.3L22 12l-9.3-9.3`},null,-1)]])}var qT={render:KT},JT=U({default:()=>ZT,render:()=>XT}),YT={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function XT(e,t){return y(),N(`svg`,YT,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1m8 0h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1`},null,-1)]])}var ZT={render:XT},QT=U({default:()=>tE,render:()=>eE}),$T={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function eE(e,t){return y(),N(`svg`,$T,[...t[0]||=[P(`path`,{d:`M16.4 6.8v5.6H7.6m0-5.6v10.4`},null,-1),P(`circle`,{cx:`7.6`,cy:`4.4`,r:`2.4`},null,-1),P(`circle`,{cx:`7.6`,cy:`19.6`,r:`2.4`},null,-1),P(`circle`,{cx:`16.4`,cy:`4.4`,r:`2.4`},null,-1)]])}var tE={render:eE},nE=U({default:()=>aE,render:()=>iE}),rE={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function iE(e,t){return y(),N(`svg`,rE,[...t[0]||=[P(`path`,{d:`M12 22.125V4.712S9.545 1.985 1.268 1.875a.5.5 0 0 0-.366.15.52.52 0 0 0-.152.369v16.375a.515.515 0 0 0 .5.519C9.543 19.4 12 22.125 12 22.125`},null,-1),P(`path`,{d:`M9 11.18a21.3 21.3 0 0 0-5.26-1.055M9 15.375a21.3 21.3 0 0 0-5.26-1.055M15 11.18a21.3 21.3 0 0 1 5.26-1.055M15 15.375a21.3 21.3 0 0 1 5.26-1.055`},null,-1),P(`path`,{d:`M12 22.125V4.712s2.455-2.727 10.732-2.837a.5.5 0 0 1 .366.15.52.52 0 0 1 .152.369v16.375a.515.515 0 0 1-.5.519C14.457 19.4 12 22.125 12 22.125`},null,-1)]])}var aE={render:iE},oE=U({default:()=>lE,render:()=>cE}),sE={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function cE(e,t){return y(),N(`svg`,sE,[...t[0]||=[P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M21.4 4.6 10.6 19.4l-8-6.4`},null,-1)]])}var lE={render:cE},uE=U({default:()=>pE,render:()=>fE}),dE={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function fE(e,t){return y(),N(`svg`,dE,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m18 10-6 6-6-6`},null,-1)]])}var pE={render:fE},mE=U({default:()=>_E,render:()=>gE}),hE={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function gE(e,t){return y(),N(`svg`,hE,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m14 18-6-6 6-6`},null,-1)]])}var _E={render:gE},vE=U({default:()=>xE,render:()=>bE}),yE={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function bE(e,t){return y(),N(`svg`,yE,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m9 18 6-6-6-6`},null,-1)]])}var xE={render:bE},SE=U({default:()=>TE,render:()=>wE}),CE={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function wE(e,t){return y(),N(`svg`,CE,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m18 15-6-6-6 6`},null,-1)]])}var TE={render:wE},EE=U({default:()=>kE,render:()=>OE}),DE={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function OE(e,t){return y(),N(`svg`,DE,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2m-6 4h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H10a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2`},null,-1)]])}var kE={render:OE},AE=U({default:()=>NE,render:()=>ME}),jE={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function ME(e,t){return y(),N(`svg`,jE,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M18 6 6 18M6 6l12 12`},null,-1)]])}var NE={render:ME},PE=U({default:()=>LE,render:()=>IE}),FE={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function IE(e,t){return y(),N(`svg`,FE,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m9.273 9.273 5.454 5.454m0-5.454-5.454 5.454M5.57 3h12.86A2.57 2.57 0 0 1 21 5.571V18.43A2.57 2.57 0 0 1 18.429 21H5.57A2.57 2.57 0 0 1 3 18.429V5.57A2.57 2.57 0 0 1 5.571 3Z`},null,-1)]])}var LE={render:IE},RE=U({default:()=>VE,render:()=>BE}),zE={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function BE(e,t){return y(),N(`svg`,zE,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2m-3.121 8.879 4.242 4.242m0-4.242L12.88 17.12M10 8h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H10a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2`},null,-1)]])}var VE={render:BE},HE=U({default:()=>GE,render:()=>WE}),UE={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function WE(e,t){return y(),N(`svg`,UE,[...t[0]||=[P(`path`,{d:`M18.375 19.5a4.875 4.875 0 1 0-2.764-8.885A7.5 7.5 0 1 0 8.25 19.5z`},null,-1)]])}var GE={render:WE},KE=U({default:()=>YE,render:()=>JE}),qE={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function JE(e,t){return y(),N(`svg`,qE,[...t[0]||=[P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M21.75 9V6a1.5 1.5 0 0 0-1.5-1.5h-12V3a1.5 1.5 0 0 0-1.5-1.5h-4.5A1.5 1.5 0 0 0 .75 3v17.8a1.7 1.7 0 0 0 3.336.438l2.352-11.154A1.5 1.5 0 0 1 7.879 9za1.5 1.5 0 0 1 1.45 1.886l-2.2 10.5a1.5 1.5 0 0 1-1.45 1.114H2.447`},null,-1),P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m12 13.5-2.25 2.25L12 18m4.5-4.5 2.25 2.25L16.5 18`},null,-1)]])}var YE={render:JE},XE=U({default:()=>$E,render:()=>QE}),ZE={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function QE(e,t){return y(),N(`svg`,ZE,[...t[0]||=[P(`path`,{d:`M10.546 2.438a1.957 1.957 0 0 0 2.908 0L14.4 1.4a1.959 1.959 0 0 1 3.41 1.413l-.071 1.4a1.96 1.96 0 0 0 2.051 2.054l1.4-.071a1.959 1.959 0 0 1 1.41 3.41l-1.042.94a1.96 1.96 0 0 0 0 2.909l1.042.94a1.959 1.959 0 0 1-1.413 3.41l-1.4-.071a1.96 1.96 0 0 0-2.056 2.056l.071 1.4A1.959 1.959 0 0 1 14.4 22.6l-.941-1.041a1.96 1.96 0 0 0-2.908 0L9.606 22.6A1.959 1.959 0 0 1 6.2 21.192l.072-1.4a1.96 1.96 0 0 0-2.056-2.056l-1.4.071A1.958 1.958 0 0 1 1.4 14.4l1.041-.94a1.96 1.96 0 0 0 0-2.909L1.4 9.606A1.958 1.958 0 0 1 2.809 6.2l1.4.071a1.96 1.96 0 0 0 2.058-2.06L6.2 2.81A1.959 1.959 0 0 1 9.606 1.4z`},null,-1),P(`path`,{d:`M7.5 12.001a4.5 4.5 0 1 0 9 0 4.5 4.5 0 1 0-9 0`},null,-1)]])}var $E={render:QE},eD=U({default:()=>rD,render:()=>nD}),tD={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function nD(e,t){return y(),N(`svg`,tD,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M20.86 16.6c0 .32-.16.64-.47.72l-6.3 2.83a.93.93 0 0 1-.8-.08c-.23-.16-.38-.4-.38-.63V4.56c0-.24.15-.55.39-.63.24-.16.47-.16.79-.08l6.3 2.83c.31.16.47.4.47.71v9.22zM10.7 19.52a.77.77 0 0 1-.7-.08.72.72 0 0 1-.32-.63V5.35c0-.24.15-.56.4-.63.23-.16.46-.16.78-.08M7.43 18.73a.77.77 0 0 1-.7-.08.72.72 0 0 1-.32-.63V6.05c0-.23.16-.55.4-.63.23-.15.47-.15.78-.07m-3.43 12.6a.77.77 0 0 1-.7-.08.72.72 0 0 1-.32-.63V6.84c0-.23.16-.55.4-.63.23-.16.47-.16.78-.08`},null,-1)]])}var rD={render:nD},iD=U({default:()=>sD,render:()=>oD}),aD={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function oD(e,t){return y(),N(`svg`,aD,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M15.739 8.061c-2.02.404-4.041-1.01-4.445-3.03-.202-1.01 0-2.223.606-3.031C6.445 2 2 6.445 2 11.9s4.445 9.9 9.9 9.9 9.9-4.445 9.9-9.9v-.808c-1.616 1.212-4.04.808-5.253-.808-.606-.606-.808-1.415-.808-2.223`},null,-1),P(`path`,{fill:`currentColor`,d:`M8.667 15.133a1.212 1.212 0 1 0 0-2.425 1.212 1.212 0 0 0 0 2.425m4.243 1.212a1.212 1.212 0 1 0 0-2.424 1.212 1.212 0 0 0 0 2.424M9.88 9.88a1.212 1.212 0 1 0 0-2.425 1.212 1.212 0 0 0 0 2.425`},null,-1)]])}var sD={render:oD},cD=U({default:()=>dD,render:()=>uD}),lD={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function uD(e,t){return y(),N(`svg`,lD,[...t[0]||=[P(`path`,{d:`M17.673 16.462C10.59 16.46 5.52 9.612 7.59 2.837.22 6.233-.71 16.333 5.917 21.016c5.864 4.144 14.064 1.34 16.163-5.526-1.38.64-2.884.972-4.407.972M11.996 3.484h4.866m-2.433-2.433v4.867m4.867 2.433h3.244m-1.622-1.622v3.244`},null,-1)]])}var dD={render:uD},fD=U({default:()=>hD,render:()=>mD}),pD={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function mD(e,t){return y(),N(`svg`,pD,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M3 6h18m-2 0v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6m3 0V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2m-6 5v6m4-6v6`},null,-1)]])}var hD={render:mD},gD=U({default:()=>yD,render:()=>vD}),_D={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function vD(e,t){return y(),N(`svg`,_D,[...t[0]||=[P(`path`,{d:`M10.145 5.108a.584.584 0 0 1-.657-.37l-.24-.705a.51.51 0 0 0-.496-.35c-1.835.065-3.434.577-4.13.834a1.2 1.2 0 0 0-.6.474c-.75 1.142-3.085 5.242-3.02 11.944.003.4.169.78.485 1.025.716.556 2.259 1.576 4.702 2.314.358.108.75.004.962-.304.316-.462.597-1.04.796-1.494a.56.56 0 0 1 .669-.31c.87.248 1.993.439 3.39.439 1.393 0 2.512-.19 3.379-.437a.56.56 0 0 1 .669.31c.199.454.48 1.03.795 1.492.211.308.604.412.962.304 2.443-.738 3.986-1.758 4.703-2.314.315-.245.48-.626.485-1.025.063-6.652-2.236-10.74-3.003-11.917a1.25 1.25 0 0 0-.654-.5c-.75-.256-2.428-.763-4.094-.833a.505.505 0 0 0-.496.348l-.239.703a.586.586 0 0 1-.66.37 10.5 10.5 0 0 0-1.846-.15c-.827 0-1.461.08-1.862.152`},null,-1),P(`path`,{d:`M10 12.553c0 1.38-1.008 2.5-2.25 2.5-1.243 0-2.25-1.12-2.25-2.5 0-1.381 1.007-2.5 2.25-2.5 1.242 0 2.25 1.119 2.25 2.5m4 0c0 1.38 1.007 2.5 2.25 2.5 1.242 0 2.25-1.12 2.25-2.5 0-1.381-1.008-2.5-2.25-2.5-1.243 0-2.25 1.119-2.25 2.5`},null,-1)]])}var yD={render:vD},bD=U({default:()=>CD,render:()=>SD}),xD={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function SD(e,t){return y(),N(`svg`,xD,[...t[0]||=[P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M5.4 22.2h13c1.1 0 2-.9 2-2V3.6c0-1.1-.9-2-2-2h-9l-6 6v12.6c0 1.1.9 2 2 2`},null,-1),P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M3.6 7.6h4c1.1 0 2-.9 2-2v-4zm9.4 0h4m-10 5h10M7 17.4h10`},null,-1)]])}var CD={render:SD},wD=U({default:()=>DD,render:()=>ED}),TD={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function ED(e,t){return y(),N(`svg`,TD,[...t[0]||=[P(`path`,{d:`M12.001 3.75v12m-4.5-4.5 4.5 4.5 4.5-4.5m6.75 4.5v1.5a3 3 0 0 1-3 3h-16.5a3 3 0 0 1-3-3v-1.5`},null,-1)]])}var DD={render:ED},OD=U({default:()=>jD,render:()=>AD}),kD={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function AD(e,t){return y(),N(`svg`,kD,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M7.42 16.58H3.25a.83.83 0 0 1-.83-.83V3.25a.83.83 0 0 1 .83-.83h12.5a.83.83 0 0 1 .83.83v4.17`},null,-1),P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M8.25 7.42h12.5s.83 0 .83.83v12.5s0 .83-.83.83H8.25s-.83 0-.83-.83V8.25s0-.83.83-.83`},null,-1)]])}var jD={render:AD},MD=U({default:()=>FD,render:()=>PD}),ND={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function PD(e,t){return y(),N(`svg`,ND,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M14 3H5.571A2.57 2.57 0 0 0 3 5.571V18.43A2.57 2.57 0 0 0 5.571 21H18.43A2.57 2.57 0 0 0 21 18.429V10m.96-5.35a1.845 1.845 0 0 0-2.61-2.61l-6.644 6.647a1.3 1.3 0 0 0-.328.543l-.864 2.849a.327.327 0 0 0 .408.407l2.849-.864c.205-.062.391-.174.543-.325l6.645-6.647Z`},null,-1)]])}var FD={render:PD},ID=U({default:()=>zD,render:()=>RD}),LD={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function RD(e,t){return y(),N(`svg`,LD,[...t[0]||=[P(`path`,{d:`M6 11c-.5 0-1 .4-1 1s.5 1 1 1 1-.4 1-1-.5-1-1-1m12 0c-.6 0-1 .4-1 1s.4 1 1 1 1-.4 1-1-.4-1-1-1m-6 0c-.6 0-1 .4-1 1s.4 1 1 1 1-.4 1-1-.4-1-1-1`},null,-1)]])}var zD={render:RD},BD=U({default:()=>UD,render:()=>HD}),VD={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function HD(e,t){return y(),N(`svg`,VD,[...t[0]||=[P(`path`,{d:`M2.25 4.5h19.5s1.5 0 1.5 1.5v12s0 1.5-1.5 1.5H2.25s-1.5 0-1.5-1.5V6s0-1.5 1.5-1.5m13.437 5.475L19.5 13.5M8.313 9.975 4.5 13.5`},null,-1),P(`path`,{d:`m22.88 5.014-9.513 6.56a2.41 2.41 0 0 1-2.734 0L1.12 5.014`},null,-1)]])}var UD={render:HD},WD=U({default:()=>qD,render:()=>KD}),GD={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function KD(e,t){return y(),N(`svg`,GD,[...t[0]||=[P(`path`,{d:`M12 17.6c-.2 0-.4-.2-.4-.4s.2-.4.4-.4m0 .8c.2 0 .4-.2.4-.4s-.2-.4-.4-.4m0-3V5.6`},null,-1),P(`path`,{d:`M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10`},null,-1)]])}var qD={render:KD},JD=U({default:()=>ZD,render:()=>XD}),YD={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function XD(e,t){return y(),N(`svg`,YD,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m18.59 15.3 2.9-2.91a1.32 1.32 0 0 0 0-1.87l-1.85-1.85a3.3 3.3 0 1 1-4.31-4.31L13.48 2.5a1.32 1.32 0 0 0-1.87 0l-2.9 2.91a3.3 3.3 0 1 0-3.3 3.3l-2.9 2.9a1.32 1.32 0 0 0 0 1.87l1.85 1.85a3.3 3.3 0 1 1 4.31 4.31l1.85 1.85a1.32 1.32 0 0 0 1.87 0l2.9-2.9a3.3 3.3 0 1 0 3.3-3.3Z`},null,-1)]])}var ZD={render:XD},QD=U({default:()=>tO,render:()=>eO}),$D={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function eO(e,t){return y(),N(`svg`,$D,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M6.4 4H20v13.59M4 20 20 4`},null,-1)]])}var tO={render:eO},nO=U({default:()=>aO,render:()=>iO}),rO={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function iO(e,t){return y(),N(`svg`,rO,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M4 6h16M7.556 12h8.888m-6.222 6h3.556`},null,-1)]])}var aO={render:iO},oO=U({default:()=>lO,render:()=>cO}),sO={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function cO(e,t){return y(),N(`svg`,sO,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2z`},null,-1)]])}var lO={render:cO},uO=U({default:()=>pO,render:()=>fO}),dO={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 1024 1024`};function fO(e,t){return y(),N(`svg`,dO,[...t[0]||=[P(`path`,{d:`M512 0a512 512 0 0 0-162 998c26 4 35-11 35-25l-1-95c-128 23-161-32-172-60-6-15-31-61-52-73-18-10-44-33-1-33 40-1 69 37 78 52 46 78 120 56 149 43 5-33 18-56 33-69-114-13-234-56-234-253 0-56 20-101 53-137-5-13-23-65 5-136 0 0 43-13 141 53a487 487 0 0 1 256 0c98-66 141-53 141-53 28 71 10 123 5 136 33 36 53 81 53 137 0 197-120 240-234 253 18 16 35 47 35 95l-1 140c0 14 9 30 35 25A512 512 0 0 0 512 0`},null,-1)]])}var pO={render:fO},mO=U({default:()=>_O,render:()=>gO}),hO={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function gO(e,t){return y(),N(`svg`,hO,[...t[0]||=[P(`path`,{d:`M16.643 22.94v-3.135a3.68 3.68 0 0 0-1.026-2.852c3.43-.382 7.036-1.682 7.036-7.648a5.94 5.94 0 0 0-1.64-4.097 5.54 5.54 0 0 0-.097-4.12s-1.29-.382-4.272 1.618a14.6 14.6 0 0 0-7.649 0c-2.982-2-4.272-1.617-4.272-1.617a5.54 5.54 0 0 0-.098 4.119 5.94 5.94 0 0 0-1.639 4.13c0 5.922 3.606 7.222 7.036 7.648a3.68 3.68 0 0 0-1.027 2.819v3.136m0-2.186c-3.277 1.064-6.009 0-7.648-3.278`},null,-1)]])}var _O={render:gO},vO=U({default:()=>xO,render:()=>bO}),yO={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function bO(e,t){return y(),N(`svg`,yO,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M22 12c0 5.523-4.477 10-10 10m10-10c0-5.523-4.477-10-10-10m10 10H2m10 10C6.477 22 2 17.523 2 12m10 10a14.5 14.5 0 0 1 0-20m0 20a14.5 14.5 0 0 0 0-20M2 12C2 6.477 6.477 2 12 2`},null,-1)]])}var xO={render:bO},SO=U({default:()=>TO,render:()=>wO}),CO={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function wO(e,t){return y(),N(`svg`,CO,[...t[0]||=[P(`path`,{d:`M23.93 10.67a.76.76 0 0 0-.75-.67H12.75a.76.76 0 0 0-.75.75v3.5a.76.76 0 0 0 .75.75h5.58A7 7 0 1 1 12 5a7 7 0 0 1 4.23 1.42.74.74 0 0 0 1-.07l2.47-2.49a.75.75 0 0 0 .22-.57.77.77 0 0 0-.27-.54A12 12 0 1 0 24 12a12 12 0 0 0-.07-1.33`},null,-1)]])}var TO={render:wO},EO=U({default:()=>kO,render:()=>OO}),DO={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function OO(e,t){return y(),N(`svg`,DO,[...t[0]||=[P(`path`,{d:`M9.2 9.2c0-.5.1-1 .4-1.5s.6-.8 1.1-1q.75-.3 1.5-.3c.75 0 1 .2 1.4.5s.7.7 1 1.2c.2.5.3 1 .2 1.5s-.3 1-.6 1.4-.8.7-1.2.9c-.255.128-.5.3-.7.5s-.3.5-.3.8v.9m0 3.5c-.2 0-.4-.2-.4-.4s.2-.4.4-.4.4.2.4.4-.2.4-.4.4`},null,-1),P(`path`,{d:`M12 22c5.524 0 10-4.476 10-10S17.524 2 12 2 2 6.476 2 12s4.476 10 10 10`},null,-1)]])}var kO={render:OO},AO=U({default:()=>NO,render:()=>MO}),jO={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function MO(e,t){return y(),N(`svg`,jO,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M9.88 14.12a3 3 0 1 1 4.24-4.24m-3.39 9.04q.632.079 1.27.08c7 0 10-7 10-7a13.2 13.2 0 0 0-1.67-2.68M6.61 17.39A13.5 13.5 0 0 1 2 12s3-7 10-7a9.74 9.74 0 0 1 5.39 1.61M2 22 22 2`},null,-1)]])}var NO={render:MO},PO=U({default:()=>LO,render:()=>IO}),FO={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function IO(e,t){return y(),N(`svg`,FO,[...t[0]||=[P(`path`,{d:`M12.9 6.8v6.1h4.7`},null,-1),P(`path`,{d:`M6.1 17.2c1.6 2.2 4.2 3.6 7.1 3.6 4.8 0 8.8-3.9 8.8-8.8s-3.9-8.8-8.8-8.8-8.8 4-8.8 8.8v1.7M2 11.3l2.4 2.4 2.4-2.4`},null,-1)]])}var LO={render:IO},RO=U({default:()=>VO,render:()=>BO}),zO={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function BO(e,t){return y(),N(`svg`,zO,[...t[0]||=[P(`path`,{d:`M22.1 9.2 12 1.5 1.8 9.2c-.2.2-.3.5-.4.7v11.7c0 .5.4.9.9.9h6.1v-4.9c0-1.9 1.6-3.5 3.5-3.5s3.5 1.6 3.5 3.5v4.9h6.1c.5 0 .9-.4.9-.9V9.9c0-.3-.1-.6-.4-.7z`},null,-1)]])}var VO={render:BO},HO=U({default:()=>GO,render:()=>WO}),UO={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function WO(e,t){return y(),N(`svg`,UO,[...t[0]||=[P(`path`,{d:`M12 10.67v7.98M14.66 16 12 18.64 9.34 16`},null,-1),P(`path`,{d:`M3.35 7.34h17.3s1.33 0 1.33 1.33v11.98s0 1.33-1.33 1.33H3.35s-1.33 0-1.33-1.33V8.67s0-1.33 1.33-1.33`},null,-1),P(`path`,{d:`m2.2 8 2.13-5.19a1.33 1.33 0 0 1 1.22-.79h12.9a1.33 1.33 0 0 1 1.22.8l2.08 5.1M12 7.34V2.02`},null,-1)]])}var GO={render:WO},KO=U({default:()=>YO,render:()=>JO}),qO={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function JO(e,t){return y(),N(`svg`,qO,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10`},null,-1),P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M12 17v-6 0a.5.5 0 0 0-.5-.5l-.5.001h-1M12 17h-2m2 0h2`},null,-1),P(`path`,{fill:`currentColor`,"fill-rule":`evenodd`,d:`M10.75 7.5a1 1 0 1 1 2 0 1 1 0 0 1-2 0`,"clip-rule":`evenodd`},null,-1)]])}var YO={render:JO},XO=U({default:()=>$O,render:()=>QO}),ZO={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function QO(e,t){return y(),N(`svg`,ZO,[...t[0]||=[P(`path`,{d:`M12.82 14.51 15.36 12l1.76.47a1.56 1.56 0 0 0 1.51-.47 1.58 1.58 0 0 0 .37-1.49l-.47-1.75.82-.76 1.76.47A1.56 1.56 0 0 0 22.62 8 1.58 1.58 0 0 0 23 6.52l-.47-1.75a2.35 2.35 0 0 0-3.33-3.33l-9.71 9.74a6.29 6.29 0 1 0 3.33 3.33`},null,-1),P(`path`,{d:`M4.26 17.84a1.9 1.9 0 1 0 3.8 0 1.9 1.9 0 1 0-3.8 0`},null,-1)]])}var $O={render:QO},ek=U({default:()=>rk,render:()=>nk}),tk={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function nk(e,t){return y(),N(`svg`,tk,[...t[0]||=[P(`path`,{d:`M16.35 16.5v1c0 1.1-.9 2-2 2H2.75c-1.1 0-2-.9-2-2v-11c0-1.1.9-2 2-2h11.6c1.1 0 2 .9 2 2v1M5.25 12h18m0 0-3 3.1m3-3.1-3-2.9`},null,-1)]])}var rk={render:nk},ik=U({default:()=>sk,render:()=>ok}),ak={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function ok(e,t){return y(),N(`svg`,ak,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M6.55 12a5.46 5.46 0 1 0 10.91.481A5.46 5.46 0 0 0 6.55 12m0 0H2m4.55 0H4.73m12.31 2.1a5.46 5.46 0 0 1-6.614-6.887M12 2v4.55m7.08-1.62-3.22 3.22M22 12h-4.54m1.62 7.08L16 16.01M12 22v-4m-7.07 1.08L8 16.01M4.93 4.93l3.22 3.22`},null,-1)]])}var sk={render:ok},ck=U({default:()=>dk,render:()=>uk}),lk={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function uk(e,t){return y(),N(`svg`,lk,[...t[0]||=[P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M7.501 12a4.5 4.5 0 1 0 9 0 4.5 4.5 0 1 0-9 0m4.5-10.5v3m0 15v3m10.5-10.5h-3m-15 0h-3m17.924-7.424-2.121 2.121M6.697 17.304l-2.121 2.121m14.849 0-2.121-2.121M6.697 6.697 4.576 4.576`},null,-1)]])}var dk={render:uk},fk=U({default:()=>hk,render:()=>mk}),pk={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function mk(e,t){return y(),N(`svg`,pk,[...t[0]||=[P(`path`,{d:`M13.5 18 12 19.5c-1 1-2.3 1.5-3.7 1.5s-2.7-.6-3.7-1.5c-1-1-1.5-2.3-1.5-3.7s.6-2.7 1.5-3.7l1.5-1.5M10.5 6 12 4.5c1-1 2.3-1.5 3.7-1.5s2.7.6 3.7 1.5c1 1 1.5 2.3 1.5 3.7s-.6 2.7-1.5 3.7l-1.5 1.5M9 15l6-6`},null,-1)]])}var hk={render:mk},gk=U({default:()=>yk,render:()=>vk}),_k={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function vk(e,t){return y(),N(`svg`,_k,[...t[0]||=[P(`path`,{d:`M12 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2`},null,-1),P(`path`,{d:`M5.778 10h12.444c.982 0 1.778.895 1.778 2v8c0 1.105-.796 2-1.778 2H5.778C4.796 22 4 21.105 4 20v-8c0-1.105.796-2 1.778-2M7 10V7a5 5 0 1 1 10 0v3`},null,-1)]])}var yk={render:vk},bk=U({default:()=>Ck,render:()=>Sk}),xk={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 593 593`};function Sk(e,t){return y(),N(`svg`,xk,[...t[0]||=[P(`path`,{"fill-rule":`evenodd`,d:`M347 0c6 0 12 5 12 12v134l94-95c5-5 13-5 17 0l72 72c4 4 5 12 0 16v1l-95 94h134c7 0 12 5 12 12v101c0 7-5 12-12 12H447l95 94c4 5 5 13 0 17l-72 72c-4 4-12 5-16 0h-1l-94-95v134c0 7-5 12-12 12H246c-7 0-12-5-12-12v-70c0-22 9-43 24-59l130-130c14-14 14-37 0-51L259 142a84 84 0 0 1-25-59V12c0-7 5-12 12-12zM138 52h1l219 219c14 14 14 37 0 51L139 542c-4 5-12 5-17 0l-71-70c-4-5-5-12 0-17l95-96H12c-7 0-12-5-12-12V246c0-7 5-12 12-12h134l-95-94c-4-5-4-12 0-17l71-71c4-5 12-5 16 0`},null,-1)]])}var Ck={render:Sk},wk=U({default:()=>Dk,render:()=>Ek}),Tk={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function Ek(e,t){return y(),N(`svg`,Tk,[...t[0]||=[P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m.75 23.25 15-15m-5.25 0H8.25m15 0H21M21 3l-1.591 1.591M15.75 3V.75m0 15V13.5m-3.659-8.909L10.5 3M21 13.5l-1.591-1.591`},null,-1)]])}var Dk={render:Ek},Ok=U({default:()=>jk,render:()=>Ak}),kk={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function Ak(e,t){return y(),N(`svg`,kk,[...t[0]||=[P(`path`,{fill:`currentColor`,d:`M3 16.142V8.245h2.323l2.322 2.903 2.323-2.903h2.322v7.897H9.968v-4.53l-2.323 2.904-2.322-2.903v4.529zm14.516 0-3.484-3.832h2.323V8.245h2.322v4.065H21z`},null,-1)]])}var jk={render:Ak},Mk=U({default:()=>Fk,render:()=>Pk}),Nk={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function Pk(e,t){return y(),N(`svg`,Nk,[...t[0]||=[P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M22 6.8H2m20 10.4H2`},null,-1)]])}var Fk={render:Pk},Ik=U({default:()=>zk,render:()=>Rk}),Lk={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function Rk(e,t){return y(),N(`svg`,Lk,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m4.9 4.9 14.2 14.2M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10`},null,-1)]])}var zk={render:Rk},Bk=U({default:()=>Uk,render:()=>Hk}),Vk={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function Hk(e,t){return y(),N(`svg`,Vk,[...t[0]||=[P(`path`,{d:`M17.333 5.34c1.39-.22 2.796-.334 4.205-.34.121 0 .238.043.329.122a.44.44 0 0 1 .133.314v13.73a.44.44 0 0 1-.133.306.46.46 0 0 1-.311.13C14.186 19.708 12 22 12 22m0 0V7.38S9.822 5.096 2.462 5a.5.5 0 0 0-.329.122.44.44 0 0 0-.133.314v13.73a.44.44 0 0 0 .133.306.46.46 0 0 0 .311.13C9.814 19.708 12 22 12 22`},null,-1),P(`path`,{d:`M12 22a5.67 5.67 0 0 1 1.367-3.135c.967-1.141 2.237-1.923 3.633-2.236V2.443a.45.45 0 0 0-.051-.21.4.4 0 0 0-.14-.154.47.47 0 0 0-.409-.054 6.44 6.44 0 0 0-3.033 2.063A5.86 5.86 0 0 0 12 7.205`},null,-1)]])}var Uk={render:Hk},Wk=U({default:()=>qk,render:()=>Kk}),Gk={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function Kk(e,t){return y(),N(`svg`,Gk,[...t[0]||=[P(`path`,{d:`M17 3a2.85 2.85 0 0 1 2.064-1.007 2.87 2.87 0 0 1 2.14.834 2.83 2.83 0 0 1 .825 2.131A2.8 2.8 0 0 1 21 7L7.5 20.5 2 22l1.5-5.5z`},null,-1)]])}var qk={render:Kk},Jk=U({default:()=>Zk,render:()=>Xk}),Yk={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function Xk(e,t){return y(),N(`svg`,Yk,[...t[0]||=[P(`path`,{d:`M6 6.663c0-1.582 1.75-2.538 3.082-1.682l8.301 5.337a2 2 0 0 1 0 3.364L9.082 19.02C7.75 19.875 6 18.919 6 17.337z`},null,-1)]])}var Zk={render:Xk},Qk=U({default:()=>tA,render:()=>eA}),$k={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function eA(e,t){return y(),N(`svg`,$k,[...t[0]||=[P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M5.25 14.248v4.5H.75m18-9v-4.5h4.5m-4.218-.003A9.752 9.752 0 0 1 8.246 21m-3.279-2.249A9.753 9.753 0 0 1 15.754 3`},null,-1)]])}var tA={render:eA},nA=U({default:()=>aA,render:()=>iA}),rA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function iA(e,t){return y(),N(`svg`,rA,[...t[0]||=[P(`path`,{d:`M16.22 2.663a1.47 1.47 0 0 0-1.09 0L8.87 5.167c-.35.14-.74.14-1.09 0L1.982 2.848a.735.735 0 0 0-1.008.686V17.62c0 .601.366 1.142.924 1.365l5.88 2.352c.35.14.742.14 1.092 0l6.258-2.504c.35-.14.741-.14 1.092 0l5.796 2.315a.735.735 0 0 0 1.008-.686V6.38a1.47 1.47 0 0 0-.924-1.365ZM8.325 5.272v16.17m7.35-18.884v16.17`},null,-1)]])}var aA={render:iA},oA=U({default:()=>lA,render:()=>cA}),sA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function cA(e,t){return y(),N(`svg`,sA,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M3 15c1.895 3 3.79 4 6.632 4s6.631-3 6.631-7-2.842-7-5.684-7-4.737 1.5-4.737 4 1.895 5 5.684 5S19.492 11.547 21 9`},null,-1)]])}var lA={render:cA},uA=U({default:()=>pA,render:()=>fA}),dA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function fA(e,t){return y(),N(`svg`,dA,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M11 19a8 8 0 1 0 0-16 8 8 0 0 0 0 16m10 2-4.35-4.35`},null,-1)]])}var pA={render:fA},mA=U({default:()=>_A,render:()=>gA}),hA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function gA(e,t){return y(),N(`svg`,hA,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M20 12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2m16 0H4m16 0a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2`},null,-1),P(`path`,{fill:`currentColor`,d:`M18 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2m0 8a1 1 0 1 0 0-2 1 1 0 0 0 0 2`},null,-1),P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M6 8h4m-4 8h4`},null,-1)]])}var _A={render:gA},vA=U({default:()=>xA,render:()=>bA}),yA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function bA(e,t){return y(),N(`svg`,yA,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M20 7H9m0 0a2 2 0 1 1-4 0 2 2 0 0 1 4 0m7 10H5m11 0a2 2 0 1 0 4 0 2 2 0 0 0-4 0`},null,-1)]])}var xA={render:bA},SA=U({default:()=>TA,render:()=>wA}),CA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function wA(e,t){return y(),N(`svg`,CA,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7`},null,-1),P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6`},null,-1)]])}var TA={render:wA},EA=U({default:()=>kA,render:()=>OA}),DA={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function OA(e,t){return y(),N(`svg`,DA,[...t[0]||=[P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M2 5.4h20M2 12h20M2 18.6h13.3`},null,-1)]])}var kA={render:OA},AA=U({default:()=>NA,render:()=>MA}),jA={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function MA(e,t){return y(),N(`svg`,jA,[...t[0]||=[P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M13 15h5M6 9l4 3-4 3`},null,-1),P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M21 2.8H3.1c-.7 0-1.4.6-1.4 1.4v15.6c0 .7.6 1.4 1.4 1.4H21c.7 0 1.4-.6 1.4-1.4V4.2c0-.8-.5-1.4-1.3-1.4z`},null,-1)]])}var NA={render:MA},PA=U({default:()=>LA,render:()=>IA}),FA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function IA(e,t){return y(),N(`svg`,FA,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m19.5 5.75-1.51 14.34a1.67 1.67 0 0 1-1.66 1.5H7.67A1.67 1.67 0 0 1 6 20.08L4.5 5.75m-2.08 0h19.16m-13.33 0v-2.5a.83.83 0 0 1 .83-.83h5.84a.83.83 0 0 1 .83.83v2.5M12 9.5v8.75m3.75-8.75-.42 8.75M8.25 9.5l.42 8.75`},null,-1)]])}var LA={render:IA},RA=U({default:()=>VA,render:()=>BA}),zA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function BA(e,t){return y(),N(`svg`,zA,[...t[0]||=[P(`path`,{d:`M12 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2`},null,-1),P(`path`,{d:`M5.778 10h12.444c.982 0 1.778.895 1.778 2v8c0 1.105-.796 2-1.778 2H5.778C4.796 22 4 21.105 4 20v-8c0-1.105.796-2 1.778-2M17 10V7a5 5 0 0 0-9.33-2.5`},null,-1)]])}var VA={render:BA},HA=U({default:()=>GA,render:()=>WA}),UA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function WA(e,t){return y(),N(`svg`,UA,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M4.9 19.1c-3.038-3.038-3.71-7.592-2.015-11.3M7.8 16.2c-1.397-1.397-1.945-3.346-1.646-5.2M16.2 7.8c2.3 2.3 2.3 6.1 0 8.5m2.9-11.4C23 8.8 23 15.1 19.1 19m-8.423-8.5a2 2 0 0 1 2.75 2.901M22 22 2 2`},null,-1)]])}var GA={render:WA},KA=U({default:()=>YA,render:()=>JA}),qA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function JA(e,t){return y(),N(`svg`,qA,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M12 4.33v15.32m5.37-9.95L12 4.33 6.63 9.7`},null,-1)]])}var YA={render:JA},XA=U({default:()=>$A,render:()=>QA}),ZA={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function QA(e,t){return y(),N(`svg`,ZA,[...t[0]||=[P(`path`,{d:`M3.5 22.2c.3-4.5 4-8 8.5-8s8.2 3.5 8.5 8z`},null,-1),P(`circle`,{cx:`12`,cy:`6.2`,r:`4.5`},null,-1)]])}var $A={render:QA},ej=U({default:()=>rj,render:()=>nj}),tj={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function nj(e,t){return y(),N(`svg`,tj,[...t[0]||=[P(`path`,{d:`M11.101 1.488H4.83a1 1 0 0 0-1 1v6.614m9.069 13.41h6.272a1 1 0 0 0 1-1v-6.614`},null,-1),P(`path`,{d:`m1.23 6.5 2.6 2.6 2.601-2.6m16.339 11-2.6-2.6-2.601 2.6M5.505 18.546a2.551 2.551 0 1 0 0-5.103 2.551 2.551 0 0 0 0 5.103m4.277 3.965c-.559-1.83-2.29-3.202-4.276-3.202-1.988 0-3.718 1.372-4.277 3.202m17.264-15.92a2.551 2.551 0 1 0 0-5.103 2.551 2.551 0 0 0 0 5.103m4.277 3.965c-.559-1.83-2.289-3.202-4.276-3.202s-3.718 1.372-4.276 3.202`},null,-1)]])}var rj={render:nj},ij=U({default:()=>sj,render:()=>oj}),aj={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function oj(e,t){return y(),N(`svg`,aj,[...t[0]||=[P(`path`,{d:`M3.375 7.875a4.125 4.125 0 1 0 8.25 0 4.125 4.125 0 1 0-8.25 0M.75 20.25a6.75 6.75 0 0 1 13.5 0m.001-15.834a4.125 4.125 0 1 1-.006 6.914M15 13.667a6.757 6.757 0 0 1 8.25 6.583`},null,-1)]])}var sj={render:oj},cj=U({default:()=>dj,render:()=>uj}),lj={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function uj(e,t){return y(),N(`svg`,lj,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`m5.246 12.069-2.74 1.569a1 1 0 0 0 .001 1.74l8.5 4.87a2 2 0 0 0 2 0l8.5-4.87a.999.999 0 0 0 0-1.74l-2.702-1.548m-5.798 3.158a2 2 0 0 1-2 0l-8.5-4.87a1 1 0 0 1 0-1.74l8.5-4.87a2 2 0 0 1 2 0l8.5 4.87a1 1 0 0 1 0 1.74z`},null,-1)]])}var dj={render:uj},fj=U({default:()=>hj,render:()=>mj}),pj={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function mj(e,t){return y(),N(`svg`,pj,[...t[0]||=[P(`path`,{d:`M2.97 2.771 13.908 5.88a3.77 3.77 0 0 1 2.592 3.5v10.51a2.052 2.052 0 0 1-2.6 2.167l-9.048-2.46a3.7 3.7 0 0 1-2.6-3.457V4.688a2.75 2.75 0 0 1 2.67-2.813H18.75a3 3 0 0 1 3 3v8.953a3.073 3.073 0 0 1-3.11 3.047H16.5`},null,-1),P(`path`,{d:`M12.375 13.875a.375.375 0 0 1 0-.75m0 .75a.375.375 0 0 0 0-.75m9.375-3.75H16.5`},null,-1)]])}var hj={render:mj},gj=U({default:()=>yj,render:()=>vj}),_j={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function vj(e,t){return y(),N(`svg`,_j,[...t[0]||=[P(`path`,{stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M4.9 19.1C1 15.2 1 8.8 4.9 4.9m2.9 11.3c-2.3-2.3-2.3-6.1 0-8.5m8.4.1c2.3 2.3 2.3 6.1 0 8.5m2.9-11.4C23 8.8 23 15.1 19.1 19M14 12a2 2 0 1 1-4 0 2 2 0 0 1 4 0`},null,-1)]])}var yj={render:vj},bj=U({default:()=>Cj,render:()=>Sj}),xj={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,viewBox:`0 0 24 24`};function Sj(e,t){return y(),N(`svg`,xj,[...t[0]||=[P(`path`,{d:`M20.25 3.75v19.5M3.75 3.75h16.5m-16.5 19.5V3.75m16.5 19.5H3.75m16.5-19.5H3.75l1.5-3h13.5zM.75 23.25h22.5m-9-2.25a2.25 2.25 0 0 0-4.5 0v2.25h4.5zM7.5 7.13a.37.37 0 1 1 0-.75m0 .75a.37.37 0 1 0 0-.75m4.5.75a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75m4.5.75a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75m-9 5.25a.38.38 0 0 1 0-.76m0 .76a.38.38 0 0 0 0-.76m4.5.76a.38.38 0 0 1 0-.76m0 .76a.38.38 0 0 0 0-.76m4.5.76a.38.38 0 0 1 0-.76m0 .76a.38.38 0 0 0 0-.76m-9 5.26a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75m4.5.75a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75m4.5.75a.38.38 0 0 1 0-.75m0 .75a.38.38 0 0 0 0-.75`},null,-1)]])}var Cj={render:Sj},wj=U({default:()=>Dj,render:()=>Ej}),Tj={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function Ej(e,t){return y(),N(`svg`,Tj,[...t[0]||=[P(`path`,{d:`M9.931 12.645h4.138l-2.07-4.908m0-7.737L.68 3.982l1.726 14.771L12 24l9.596-5.242L23.32 3.984zm7.064 18.31h-2.638l-1.422-3.503H8.996l-1.422 3.504h-2.64L12 2.65z`},null,-1)]])}var Dj={render:Ej},Oj=U({default:()=>jj,render:()=>Aj}),kj={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function Aj(e,t){return y(),N(`svg`,kj,[...t[0]||=[P(`path`,{d:`M16.074 16.86c-.72.616-2.157 1.035-3.812 1.035-2.032 0-3.735-.632-4.187-1.483-.161.488-.198 1.046-.198 1.402 0 0-.106 1.75 1.111 2.968 0-.632.513-1.145 1.145-1.145 1.083 0 1.082.945 1.081 1.712v.069c0 1.164.711 2.161 1.723 2.582a2.35 2.35 0 0 1-.236-1.029c0-1.11.652-1.523 1.41-2.003.602-.383 1.272-.807 1.733-1.66a3.1 3.1 0 0 0 .378-1.494 3.1 3.1 0 0 0-.148-.954M15.551.6c.196.244.296.572.496 1.229l4.368 14.347a18.2 18.2 0 0 0-5.222-1.768L12.35 4.8a.37.37 0 0 0-.71.002l-2.81 9.603a18.2 18.2 0 0 0-5.245 1.771L7.974 1.827c.2-.656.3-.984.497-1.227a1.6 1.6 0 0 1 .654-.484C9.415 0 9.757 0 10.443 0h3.135c.686 0 1.03 0 1.32.117A1.6 1.6 0 0 1 15.55.6z`},null,-1)]])}var jj={render:Aj},Mj=U({default:()=>Fj,render:()=>Pj}),Nj={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function Pj(e,t){return y(),N(`svg`,Nj,[...t[0]||=[P(`path`,{fill:`currentColor`,"fill-rule":`evenodd`,d:`M6.335.83a.75.75 0 0 0-.67 0L1.667 2.827a.75.75 0 0 0-.417.672V18c0 .271.146.52.382.654l7.989 4.493a.75.75 0 0 0 .747.007l8-4.5A.75.75 0 0 0 18.75 18v-4.537l3.585-1.792A.75.75 0 0 0 22.75 11V6a.75.75 0 0 0-.417-.672l-3.998-1.999a.75.75 0 0 0-.67 0l-3.997 1.999a.7.7 0 0 0-.246.194.75.75 0 0 0-.172.478v4.561l-2.5 1.407V3.5a.75.75 0 0 0-.43-.678L6.336.829Zm7.686 11.019 2.38 1.19-6.422 3.612-2.38-1.19zm3.229-.063-2.5-1.25V7.215l2.5 1.25zm1.5 0 2.5-1.25V7.215l-2.5 1.25zm-9.5 1.025V4.714l-2.5 1.25v8.254zm-1.005 4.65.743.372c.17.091.262.153.262.183v3.202l-6.5-3.657V4.714l2.5 1.25V15.5a.75.75 0 0 0 .415.67s1.122.591 2.108 1.064zm2.505.478 6.5-3.657v3.28l-6.5 3.656v-3.28ZM6 4.66 3.677 3.5 6 2.339 8.323 3.5zM20.323 6 18 4.839 15.677 6 18 7.161z`,"clip-rule":`evenodd`},null,-1)]])}var Fj={render:Pj},Ij=U({default:()=>zj,render:()=>Rj}),Lj={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function Rj(e,t){return y(),N(`svg`,Lj,[...t[0]||=[P(`path`,{d:`M11.573 0a5 5 0 0 0-.359.007L10.85.04c-3.407.307-6.6 2.146-8.622 4.972a11.9 11.9 0 0 0-2.119 5.243c-.096.659-.108.854-.108 1.747s.012 1.089.108 1.748c.652 4.506 3.86 8.292 8.209 9.695.779.25 1.6.422 2.534.525.363.04 1.935.04 2.299 0 1.611-.178 2.977-.577 4.323-1.264.207-.106.247-.134.219-.158-.02-.013-.9-1.193-1.955-2.62l-1.919-2.592-2.404-3.558a339 339 0 0 0-2.422-3.556c-.009-.002-.018 1.579-.023 3.51-.007 3.38-.01 3.515-.052 3.595a.43.43 0 0 1-.206.214c-.075.037-.14.044-.495.044H7.81l-.108-.068a.44.44 0 0 1-.157-.171l-.05-.106.006-4.703.007-4.705.072-.092a.7.7 0 0 1 .174-.143c.096-.047.134-.051.54-.051.478 0 .558.018.682.154a467 467 0 0 1 2.895 4.361l4.735 7.17 1.9 2.879.096-.063a12.3 12.3 0 0 0 2.466-2.163 11.94 11.94 0 0 0 2.824-6.134c.096-.66.108-.854.108-1.748 0-.893-.012-1.088-.108-1.747-.652-4.506-3.859-8.292-8.208-9.695a12.6 12.6 0 0 0-2.499-.523A33 33 0 0 0 11.573 0m4.068 7.217c.347 0 .408.005.486.047a.47.47 0 0 1 .237.277c.018.06.023 1.365.018 4.304l-.006 4.218-.744-1.14-.746-1.14v-3.066c0-1.982.01-3.097.023-3.15a.48.48 0 0 1 .233-.296c.096-.05.13-.054.5-.054z`},null,-1)]])}var zj={render:Rj},Bj=U({default:()=>Uj,render:()=>Hj}),Vj={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function Hj(e,t){return y(),N(`svg`,Vj,[...t[0]||=[P(`path`,{d:`M14.23 12.004a2.236 2.236 0 0 1-2.235 2.236 2.236 2.236 0 0 1-2.236-2.236 2.236 2.236 0 0 1 2.235-2.236 2.236 2.236 0 0 1 2.236 2.236m2.648-10.69c-1.346 0-3.107.96-4.888 2.622-1.78-1.653-3.542-2.602-4.887-2.602-.41 0-.783.093-1.106.278-1.375.793-1.683 3.264-.973 6.365C1.98 8.917 0 10.42 0 12.004c0 1.59 1.99 3.097 5.043 4.03-.704 3.113-.39 5.588.988 6.38.32.187.69.275 1.102.275 1.345 0 3.107-.96 4.888-2.624 1.78 1.654 3.542 2.603 4.887 2.603.41 0 .783-.09 1.106-.275 1.374-.792 1.683-3.263.973-6.365C22.02 15.096 24 13.59 24 12.004c0-1.59-1.99-3.097-5.043-4.032.704-3.11.39-5.587-.988-6.38a2.17 2.17 0 0 0-1.092-.278zm-.005 1.09v.006c.225 0 .406.044.558.127.666.382.955 1.835.73 3.704-.054.46-.142.945-.25 1.44a23.5 23.5 0 0 0-3.107-.534A24 24 0 0 0 12.769 4.7c1.592-1.48 3.087-2.292 4.105-2.295zm-9.77.02c1.012 0 2.514.808 4.11 2.28-.686.72-1.37 1.537-2.02 2.442a23 23 0 0 0-3.113.538 15 15 0 0 1-.254-1.42c-.23-1.868.054-3.32.714-3.707.19-.09.4-.127.563-.132zm4.882 3.05q.684.704 1.36 1.564c-.44-.02-.89-.034-1.345-.034q-.691-.001-1.36.034c.44-.572.895-1.096 1.345-1.565zM12 8.1c.74 0 1.477.034 2.202.093q.61.874 1.183 1.86.557.961 1.018 1.946c-.308.655-.646 1.31-1.013 1.95-.38.66-.773 1.288-1.18 1.87a25.6 25.6 0 0 1-4.412.005 27 27 0 0 1-1.183-1.86q-.557-.961-1.018-1.946a25 25 0 0 1 1.013-1.954c.38-.66.773-1.286 1.18-1.868A25 25 0 0 1 12 8.098zm-3.635.254c-.24.377-.48.763-.704 1.16q-.336.585-.635 1.174c-.265-.656-.49-1.31-.676-1.947.64-.15 1.315-.283 2.015-.386zm7.26 0q1.044.153 2.006.387c-.18.632-.405 1.282-.66 1.933a26 26 0 0 0-1.345-2.32zm3.063.675q.727.226 1.375.498c1.732.74 2.852 1.708 2.852 2.476-.005.768-1.125 1.74-2.857 2.475-.42.18-.88.342-1.355.493a24 24 0 0 0-1.1-2.98c.45-1.017.81-2.01 1.085-2.964zm-13.395.004c.278.96.645 1.957 1.1 2.98a23 23 0 0 0-1.086 2.964c-.484-.15-.944-.318-1.37-.5-1.732-.737-2.852-1.706-2.852-2.474s1.12-1.742 2.852-2.476c.42-.18.88-.342 1.356-.494m11.678 4.28c.265.657.49 1.312.676 1.948-.64.157-1.316.29-2.016.39a26 26 0 0 0 1.341-2.338zm-9.945.02c.2.392.41.783.64 1.175q.345.586.705 1.143a22 22 0 0 1-2.006-.386c.18-.63.406-1.282.66-1.933zM17.92 16.32c.112.493.2.968.254 1.423.23 1.868-.054 3.32-.714 3.708-.147.09-.338.128-.563.128-1.012 0-2.514-.807-4.11-2.28.686-.72 1.37-1.536 2.02-2.44 1.107-.118 2.154-.3 3.113-.54zm-11.83.01c.96.234 2.006.415 3.107.532.66.905 1.345 1.727 2.035 2.446-1.595 1.483-3.092 2.295-4.11 2.295a1.2 1.2 0 0 1-.553-.132c-.666-.38-.955-1.834-.73-3.703.054-.46.142-.944.25-1.438zm4.56.64q.661.032 1.345.034.691.001 1.36-.034c-.44.572-.895 1.095-1.345 1.565q-.684-.706-1.36-1.565`},null,-1)]])}var Uj={render:Hj},Wj=U({default:()=>qj,render:()=>Kj}),Gj={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function Kj(e,t){return y(),N(`svg`,Gj,[...t[0]||=[P(`path`,{d:`M23.94 3a.5.5 0 0 0-.44-.25h-2.31l-8.55 13.91a.75.75 0 0 1-1.28 0L2.81 2.77H.5A.5.5 0 0 0 .06 3a.54.54 0 0 0 0 .51l11.5 19a.51.51 0 0 0 .86 0l11.5-19a.54.54 0 0 0 .02-.51`},null,-1),P(`path`,{d:`m12 14.84 7.43-12.07H16a.47.47 0 0 0-.43.25L12 9.26 8.43 3A.47.47 0 0 0 8 2.77H4.57Z`},null,-1)]])}var qj={render:Kj},Jj=U({default:()=>Zj,render:()=>Xj}),Yj={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function Xj(e,t){return y(),N(`svg`,Yj,[...t[0]||=[P(`path`,{d:`m117.5 33.5.3-.2c-.6-1.1-1.5-2.1-2.4-2.6L67.1 2.9c-.8-.5-1.9-.7-3.1-.7s-2.3.3-3.1.7l-48 27.9c-1.7 1-2.9 3.5-2.9 5.4v55.7c0 1.1.2 2.3.9 3.4l-.2.1c.5.8 1.2 1.5 1.9 1.9l48.2 27.9c.8.5 1.9.7 3.1.7s2.3-.3 3.1-.7l48-27.9c1.7-1 2.9-3.5 2.9-5.4V36.1c.1-.8 0-1.7-.4-2.6M64 88.5c9.1 0 17.1-5 21.3-12.4l12.9 7.6c-6.8 11.8-19.6 19.8-34.2 19.8-21.8 0-39.5-17.7-39.5-39.5S42.2 24.5 64 24.5c14.7 0 27.5 8.1 34.3 20l-13 7.5C81.1 44.5 73.1 39.5 64 39.5c-13.5 0-24.5 11-24.5 24.5s11 24.5 24.5 24.5`},null,-1)]])}var Zj={render:Xj},Qj=U({default:()=>tM,render:()=>eM}),$j={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function eM(e,t){return y(),N(`svg`,$j,[...t[0]||=[P(`path`,{d:`M60.952.266C27.377.266.065 28.77.065 63.806s27.318 63.54 60.887 63.54c33.576 0 60.893-28.505 60.893-63.54S94.528.266 60.952.266m0 6.117c30.39 0 55.025 25.712 55.025 57.423 0 2.482-.167 4.924-.46 7.321-1.495 6.214-4.194 10.358-7.412 13.19-4.941 4.336-11.524 5.738-17.62 5.733a41 41 0 0 1-4.973-.289C97.506 77.4 99.336 57.866 89.864 43.315 80.39 28.763 62.315 23.338 46.882 30.416a24 24 0 0 0-1.68-1.114c-2.41-1.413-7.439-3.482-13.837-3.505-5.361-.022-10.615 1.568-15.133 4.58C26.554 15.317 43.21 6.386 60.952 6.394zM51.341 84.6c.894-4.07 3.343-10.431 5.548-15.655.623-1.481 1.23-2.872 1.777-4.104 3.451 12.822 5.635 20.449 9.546 25.65a18 18 0 0 0 1.913 2.114 28 28 0 0 1-9.173 1.56 28.2 28.2 0 0 1-10.023-1.86q-.098-1.227-.103-2.459a24.5 24.5 0 0 1 .515-5.24zm-7.444 3.77c-7.555-5.703-12.031-14.84-12.04-24.57.008-9.88 4.625-19.138 12.375-24.813 1.637.984 3.121 2.143 4.34 3.477 2.395 2.56 5.077 8.214 6.94 13.082.51 1.312.965 2.567 1.36 3.709C50.16 73.502 45.685 80.608 43.898 88.37zm21.802-18.226c-1.501-4.037-2.374-7.079-2.379-7.084l-.005-.012c-2.747-10.984-5.592-21.025-11.497-28.052a28 28 0 0 1 9.134-1.55c16.06.022 29.074 13.602 29.095 30.36-.007 9.673-4.432 18.764-11.914 24.474a15 15 0 0 1-2.184-.78c-1.137-.514-2.812-2.267-4.329-4.698-2.313-3.635-4.437-8.622-5.927-12.653zm-4.747 51.08c-30.39 0-55.025-25.707-55.025-57.424 0-2.086.114-4.144.32-6.173 4.508-16 15.338-21.92 25.595-22.02 2.08-.007 4.117.282 6.068.774-13.182 12.081-15.74 32.487-5.979 47.7 9.762 15.213 28.817 20.518 44.544 12.403 2.78 1.023 5.96 1.633 9.812 2.137 1.447.186 3.007.277 4.665.277a61.6 61.6 0 0 0 14.997-2.087c-10.29 15.308-27.088 24.417-45.007 24.407z`},null,-1)]])}var tM={render:eM},nM=U({default:()=>aM,render:()=>iM}),rM={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function iM(e,t){return y(),N(`svg`,rM,[...t[0]||=[P(`path`,{d:`m117.5 33.5.3-.2c-.6-1.1-1.5-2.1-2.4-2.6L67.1 2.9c-.8-.5-1.9-.7-3.1-.7s-2.3.3-3.1.7l-48 27.9c-1.7 1-2.9 3.5-2.9 5.4v55.7c0 1.1.2 2.3.9 3.4l-.2.1c.5.8 1.2 1.5 1.9 1.9l48.2 27.9c.8.5 1.9.7 3.1.7s2.3-.3 3.1-.7l48-27.9c1.7-1 2.9-3.5 2.9-5.4V36.1c.1-.8 0-1.7-.4-2.6m-53.5 70c-21.8 0-39.5-17.7-39.5-39.5S42.2 24.5 64 24.5c14.7 0 27.5 8.1 34.3 20l-13 7.5C81.1 44.5 73.1 39.5 64 39.5c-13.5 0-24.5 11-24.5 24.5s11 24.5 24.5 24.5c9.1 0 17.1-5 21.3-12.4l12.9 7.6c-6.8 11.8-19.6 19.8-34.2 19.8M115 62h-3.2l-.9 4h4.1v5h-5l-1.2 6h-4.9l1.2-6h-3.8l-1.2 6h-4.8l1.2-6H94v-5h3.5l.9-4H94v-5h5.3l1.2-6h4.9l-1.2 6h3.8l1.2-6h4.8l-1.2 6h2.2zm-12.7 4h3.8l.9-4h-3.8z`},null,-1)]])}var aM={render:iM},oM=U({default:()=>lM,render:()=>cM}),sM={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function cM(e,t){return y(),N(`svg`,sM,[...t[0]||=[P(`path`,{d:`M1.5 0h21l-1.91 21.563L11.977 24l-8.565-2.438zm17.09 4.413L5.41 4.41l.213 2.622 10.125.002-.255 2.716h-6.64l.24 2.573h6.182l-.366 3.523-2.91.804-2.956-.81-.188-2.11h-2.61l.29 3.855L12 19.288l5.373-1.53z`},null,-1)]])}var lM={render:cM},uM=U({default:()=>pM,render:()=>fM}),dM={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 50 50`};function fM(e,t){return y(),N(`svg`,dM,[...t[0]||=[P(`path`,{d:`m7.91 9.32.09.09V35.3l-5.09-5.09a6.22 6.22 0 0 1-1.27-6.92zM35.3 8H9.41l-.09-.09 13.97-6.27a6.22 6.22 0 0 1 6.92 1.27zm2.29 31H11.71l-.54-.54A4 4 0 0 1 10 35.63V11.41zm-23.88 2H39v6c0 .55-.45 1-1 1H21.1c-.27 0-.52-.11-.71-.29l-4.7-4.7.02-.02zM48 21.1V38c0 .55-.45 1-1 1h-6.58L11.41 10h24.22c1.07 0 2.07.42 2.83 1.17l4.53 4.54.02-.02 4.7 4.7c.18.19.29.44.29.71`},null,-1)]])}var pM={render:fM},mM=U({default:()=>_M,render:()=>gM}),hM={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function gM(e,t){return y(),N(`svg`,hM,[...t[0]||=[P(`path`,{d:`M0 64.5 60.7 3.8v30.4L30.4 64.5l30.4 30.4v30.4zm39.1 0 21.7-21.7v43.4zm88.9 0L65.1 3.8v30.4l30.4 30.4-30.4 30.3v30.4z`},null,-1)]])}var _M={render:gM},vM=U({default:()=>xM,render:()=>bM}),yM={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function bM(e,t){return y(),N(`svg`,yM,[...t[0]||=[P(`path`,{d:`M108.2 64.8c-.1-.1-.2-.2-.4-.2l-.1-.1c-.1-.1-.2-.1-.2-.2l-.1-.1c-.1 0-.2-.1-.2-.1l-.2-.1c-.1 0-.2-.1-.2-.1l-.2-.1c-.1 0-.2-.1-.2-.1-.1 0-.1 0-.2-.1l-.3-.1c-.1 0-.1 0-.2-.1l-.3-.1h-.1l-.4-.1h-.2c-.1 0-.2 0-.3-.1h-2.3c-.6-13.3.6-26.8-2.8-39.6 12.9-4.6 2.8-22.3-8.4-14.4-7.4-6.4-17.6-7.8-28.3-7.8-10.5.7-20.4 2.9-27.4 8.4-2.8-1.4-5.5-1.8-7.9-1.1v.1c-.1 0-.3.1-.4.2-.1 0-.3.1-.4.2h-.1c-.1 0-.2.1-.4.2h-.1l-.3.2h-.1l-.3.2h-.1l-.3.2s-.1 0-.1.1l-.3.2s-.1 0-.1.1l-.3.2s-.1 0-.1.1l-.3.2-.1.1c-.1.1-.2.1-.2.2l-.1.1-.2.2-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1c-.1.1-.1.2-.2.2l-.1.1-.1.3s0 .1-.1.1l-.1.3s0 .1-.1.1l-.1.3s0 .1-.1.1l-.1.3s0 .1-.1.1c.4.3.4.4.4.4v.1l-.1.3v.1c0 .1 0 .2-.1.3v3.1c0 .1 0 .2.1.3v.1l.1.3v.1l.1.3s0 .1.1.1l.1.3s0 .1.1.1l.1.3s0 .1.1.1l.2.3s0 .1.1.1l.2.3s0 .1.1.1l.2.3.1.1.3.3.3.3h.1c1 .9 2 1.6 4 2.2v-.2C23 37.3 26.5 50 26.7 63c-.6 0-.7.4-1.7.5h-.5c-.1 0-.3 0-.5.1-.1 0-.3 0-.4.1l-.4.1h-.1l-.4.1h-.1l-.3.1h-.1l-.3.1s-.1 0-.1.1l-.3.1-.2.1c-.1 0-.2.1-.2.1l-.2.1-.2.1c-.1 0-.2.1-.2.1l-.2.1-.4.3c-.1.1-.2.2-.3.2l-.4.4-.1.1c-.1.2-.3.4-.4.5l-.2.3-.3.6-.1.3v.3c0 .5.2.9.9 1.2.2 3.7 3.9 2 5.6.8l.1-.1c.2-.2.5-.3.6-.3h.1l.2-.1c.1 0 .1 0 .2-.1.2-.1.4-.1.5-.2.1 0 .1-.1.1-.2l.1-.1c.1-.2.2-.6.2-1.2l.1-1.3v1.8c-.5 13.1-4 30.7 3.3 42.5 1.3 2.1 2.9 3.9 4.7 5.4h-.5c-.2.2-.5.4-.8.6l-.9.6-.3.2-.6.4-.9.7-1.1 1c-.2.2-.3.4-.4.5l-.4.6-.2.3c-.1.2-.2.4-.2.6l-.1.3q-.3 1.2.6 2.7l.4.4h.2c.1 0 .2 0 .4.1.2.4 1.2 2.5 3.9.9 2.8-1.5 4.7-4.6 8.1-5.1l-.5-.6c5.9 2.8 12.8 4 19 4.2 8.7.3 18.6-.9 26.5-5.2 2.2.7 3.9 3.9 5.8 5.4l.1.1.1.1.1.1.1.1s.1 0 .1.1c0 0 .1 0 .1.1 0 0 .1 0 .1.1h2.1s.1 0 .1-.1h.1s.1 0 .1-.1h.1s.1 0 .1-.1c0 0 .1 0 .1-.1l.1-.1s.1 0 .1-.1l.1-.1h.1l.2-.2.2-.1h.1l.1-.1h.1l.1-.1.1-.1.1-.1.1-.1.1-.1.1-.1.1-.1v-.1s0-.1.1-.1v-.1s0-.1.1-.1v-.1s0-.1.1-.1v-1.4s-.3 0-.3-.1l-.3-.1v-.1l.3-.1s.2 0 .2-.1l.1-.1v-2.1s0-.1-.1-.1v-.1s0-.1-.1-.1v-.1s0-.1-.1-.1c0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1 0 0 0-.1-.1-.1l-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1v-.1l-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1-.1c2-1.9 3.8-4.2 5.1-6.9 5.9-11.8 4.9-26.2 4.1-39.2h.1c.1 0 .2.1.2.1h.3s.1 0 .1.1h.1s.1 0 .1.1l.2.1c1.7 1.2 5.4 2.9 5.6-.8 1.6.6-.3-1.8-1.3-2.5M36 23C32.8 7 58.4 4 59.3 19.6c.8 13-20 16.3-23.3 3.4m36.1 15c-1.3 1.4-2.7 1.2-4.1.7 0 1.9.4 3.9.1 5.9-.5.9-1.5 1-2.3 1.4-1.2-.2-2.1-.9-2.6-2l-.2-.1c-3.9 5.2-6.3-1.1-5.2-5-1.2.1-2.2-.2-3-1.5-1.4-2.6.7-5.8 3.4-6.3.7 3 8.7 2.6 10.1-.2 3.1 1.5 6.5 4.3 3.8 7.1m-7-17.5c-.9-13.8 20.3-17.5 23.4-4 3.5 15-20.8 18.9-23.4 4M41.7 17c-1.9 0-3.5 1.7-3.5 3.8s1.6 3.8 3.5 3.8 3.5-1.7 3.5-3.8-1.5-3.8-3.5-3.8m1.6 5.7c-.5 0-.8-.4-.8-1 0-.5.4-1 .8-1 .5 0 .8.4.8 1 0 .5-.3 1-.8 1m27.8-6.6c-1.9 0-3.4 1.7-3.4 3.8s1.5 3.8 3.4 3.8 3.4-1.7 3.4-3.8-1.5-3.8-3.4-3.8m1.6 5.6c-.4 0-.8-.4-.8-1 0-.5.4-1 .8-1s.8.4.8 1-.4 1-.8 1`},null,-1)]])}var xM={render:bM},SM=U({default:()=>TM,render:()=>wM}),CM={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function wM(e,t){return y(),N(`svg`,CM,[...t[0]||=[P(`path`,{d:`M1.5 0h21l-1.91 21.563L11.977 24l-8.564-2.438zm7.031 9.75-.232-2.718 10.059.003.23-2.622L5.412 4.41l.698 8.01h9.126l-.326 3.426-2.91.804-2.955-.81-.188-2.11H6.248l.33 4.171L12 19.351l5.379-1.443.744-8.157z`},null,-1)]])}var TM={render:wM},EM=U({default:()=>kM,render:()=>OM}),DM={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function OM(e,t){return y(),N(`svg`,DM,[...t[0]||=[P(`path`,{d:`M111.7 29.7 128 64l-16.3 34.3H16.3L0 64l16.3-34.3zm-5.5 5.7H20L6.3 64l13.6 28.6h86.3L119.8 64zm-76.3 19v8h9.2v-8.1h4.8v20.4h-4.7v-8.4H30v8.4h-4.8V54.4zm34.3 0v3.8h-6.5v16.5H53V58.2h-6.5v-3.8zm18.3 0v3.8H76v16.5h-4.7V58.2h-6.5v-3.8zm16.1.9c1.2.5 2.3 1.4 3.1 2.6.7 1.2 1.1 2.5 1 3.9.1 1.4-.3 2.7-1 3.9-.7 1.1-1.8 2-3.1 2.6-1.5.6-3.1.9-4.7.9h-4.1v5.6H85V54.4h8.9c1.6 0 3.2.3 4.7.9m-5.1 2.9h-3.8v7.1h3.8q2.1 0 3.3-.9c.8-.6 1.2-1.6 1.1-2.6 0-1.1-.3-2.1-1.1-2.6-.8-.7-1.9-1-3.3-1`},null,-1)]])}var kM={render:OM},AM=U({default:()=>NM,render:()=>MM}),jM={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function MM(e,t){return y(),N(`svg`,jM,[...t[0]||=[P(`path`,{d:`M11.26 15.27c3.37-.15 7.15-1.09 7-2.21a26 26 0 0 1-4.76.59c-3.62.16-6.58-.24-6.61-.9 0-.2.24-.4.69-.58-2.39-.64-3.67.53-3.69 1.22-.1 1.45 3.22 2.06 7.37 1.88m5.91 1.64a23 23 0 0 1-4.07.5c-3.09.14-5.61-.21-5.64-.77 0-.17.21-.34.59-.49-2-.55-3.13.45-3.15 1-.05 1.24 2.78 1.77 6.33 1.61 2.87-.1 6.25-1 5.94-1.85M3.61 20.8a.93.93 0 0 1 .29-.65c-2.09.1-2.54 1.13-2.51 1.76.07 1.39 4.67 2.31 10 2.05 4.44-.22 9.16-1 9.16-2.34a26.3 26.3 0 0 1-7.2 1.23c-5.35.26-9.67-.66-9.74-2.05`},null,-1),P(`path`,{d:`M22.4 12.65c-.55-1.48-2.67-2.34-4.74-1.57a2.47 2.47 0 0 0-1 .81c1.94-.56 3.83 0 4.34 1.41.45 1.21-.3 2.64-1.72 3.54a1.37 1.37 0 0 0 .92-.13c2.25-1.05 2.8-2.58 2.2-4.06m-9.88-1.38s-3.1-2.19-1.92-4.35S14.37 2.43 13.38 0c0 0 .12 1-3.12 3.91s-2.14 6.33 2.26 7.36`},null,-1),P(`path`,{d:`M15.17 4.83s-4.24 1.51-2.83 3.53c1 1.43 2.13 2 1.42 4 0 0 2.83-1.51.71-3.53s.7-4 .7-4M8.69 19.26c-1.6-.43-2.46.35-2.47.81 0 1 2.18 1.39 5 1.27 2.26-.11 4.73-.95 4.67-1.49a16.6 16.6 0 0 1-3.2.4c-2.43.11-4.41-.16-4.43-.61-.04-.13.13-.26.43-.38`},null,-1)]])}var NM={render:MM},PM=U({default:()=>LM,render:()=>IM}),FM={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function IM(e,t){return y(),N(`svg`,FM,[...t[0]||=[P(`path`,{d:`M0 0h24v24H0zm22.034 18.276c-.175-1.095-.888-2.015-3.003-2.873-.736-.345-1.554-.585-1.797-1.14-.091-.33-.105-.51-.046-.705.15-.646.915-.84 1.515-.66.39.12.75.42.976.9 1.034-.676 1.034-.676 1.755-1.125-.27-.42-.404-.601-.586-.78-.63-.705-1.469-1.065-2.834-1.034l-.705.089c-.676.165-1.32.525-1.71 1.005-1.14 1.291-.811 3.541.569 4.471 1.365 1.02 3.361 1.244 3.616 2.205.24 1.17-.87 1.545-1.966 1.41-.811-.18-1.26-.586-1.755-1.336l-1.83 1.051c.21.48.45.689.81 1.109 1.74 1.756 6.09 1.666 6.871-1.004.029-.09.24-.705.074-1.65zm-8.983-7.245h-2.248c0 1.938-.009 3.864-.009 5.805 0 1.232.063 2.363-.138 2.711-.33.689-1.18.601-1.566.48-.396-.196-.597-.466-.83-.855-.063-.105-.11-.196-.127-.196l-1.825 1.125c.305.63.75 1.172 1.324 1.517.855.51 2.004.675 3.207.405.783-.226 1.458-.691 1.811-1.411.51-.93.402-2.07.397-3.346.012-2.054 0-4.109 0-6.179z`},null,-1)]])}var LM={render:IM},RM=U({default:()=>VM,render:()=>BM}),zM={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function BM(e,t){return y(),N(`svg`,zM,[...t[0]||=[P(`path`,{d:`M4.56 18.71c-1.41-4-.65-8.94 1.77-11.48A5.47 5.47 0 0 1 12 5.71h.15a.8.8 0 0 1 .22.12c4 1.65 4.28 8.57 1.28 11.41a4.15 4.15 0 0 0 3.08-1.35c2.12-2.23 2.76-6.62 1.49-10.22A7.75 7.75 0 0 0 12.81.54H12a11.5 11.5 0 0 0-5.42 21.6 10 10 0 0 1-2.02-3.43`},null,-1),P(`path`,{d:`M23.5 12a11.49 11.49 0 0 0-6.09-10.14 9.9 9.9 0 0 1 2 3.43c1.41 4 .65 9-1.77 11.5a5.42 5.42 0 0 1-4 1.75A6.5 6.5 0 0 1 12 18.3h-.15a.8.8 0 0 1-.22-.12c-4-1.65-4.29-8.57-1.29-11.41a4.14 4.14 0 0 0-3.11 1.32c-2.12 2.22-2.76 6.61-1.49 10.2a7.77 7.77 0 0 0 5.45 5.17H12A11.5 11.5 0 0 0 23.5 12`},null,-1)]])}var VM={render:BM},HM=U({default:()=>GM,render:()=>WM}),UM={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function WM(e,t){return y(),N(`svg`,UM,[...t[0]||=[P(`path`,{d:`M0 0h61.4L0 60.4zm0 128L128 0H64.6L0 63.7zm128 0L64.6 66.6 3.3 128z`},null,-1)]])}var GM={render:WM},KM=U({default:()=>YM,render:()=>JM}),qM={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function JM(e,t){return y(),N(`svg`,qM,[...t[0]||=[P(`path`,{d:`M21.75 5.52 13 .28a2 2 0 0 0-2 0L2.25 5.52a2 2 0 0 0-1 1.69v9.58a2 2 0 0 0 1 1.69l2.62 1.57a3.12 3.12 0 0 0 4.73-2.68V8.12a1 1 0 0 0-2 0v9.25a1.13 1.13 0 0 1-.57 1 1.14 1.14 0 0 1-1.13 0l-2.61-1.58V7.24L12 2l8.73 5.21v9.55L12 22l-1.7-1a1 1 0 1 0-1 1.71l1.72 1a2 2 0 0 0 2 0l8.74-5.24a2 2 0 0 0 1-1.69V7.21a2 2 0 0 0-1.01-1.69`},null,-1),P(`path`,{d:`M15.51 14.76a9.3 9.3 0 0 1-2.24 0 .85.85 0 0 1-.75-.85 1 1 0 0 0-2 0A2.87 2.87 0 0 0 13 16.75a12 12 0 0 0 1.36.08 12 12 0 0 0 1.37-.08 2.87 2.87 0 0 0 2.5-2.84A2.68 2.68 0 0 0 16 11.26l-2.91-.49a.69.69 0 0 1-.58-.68.85.85 0 0 1 .75-.85 9.3 9.3 0 0 1 2.24 0 .85.85 0 0 1 .75.85 1 1 0 0 0 2 0 2.87 2.87 0 0 0-2.5-2.84 12.5 12.5 0 0 0-2.73 0 2.87 2.87 0 0 0-2.51 2.84 2.68 2.68 0 0 0 2.25 2.65l2.91.49a.68.68 0 0 1 .58.68.85.85 0 0 1-.74.85`},null,-1)]])}var YM={render:JM},XM=U({default:()=>$M,render:()=>QM}),ZM={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function QM(e,t){return y(),N(`svg`,ZM,[...t[0]||=[P(`path`,{d:`M63.877 125.392c-32.671 0-60.37-27.594-60.627-60.469a59.94 59.94 0 0 1 17.506-42.759 60.94 60.94 0 0 1 43.279-18.36 60.08 60.08 0 0 1 42.647 17.71 60.15 60.15 0 0 1 18.157 42.522c.151 33.604-26.864 61.021-60.469 61.363h-.493zm.19-118.406a57.77 57.77 0 0 0-41.01 17.427 56.78 56.78 0 0 0-16.63 40.484c.236 31.159 26.495 57.286 57.43 57.286h.414c31.863-.29 57.504-26.266 57.385-58.128a56.97 56.97 0 0 0-17.217-40.273A56.7 56.7 0 0 0 64.068 6.986z`},null,-1),P(`path`,{d:`M16.89 82.383V46.865h8.64v3.183h-4.583v29.218h4.584v3.183zm29.323-18.111c0 6.478-3.933 10.167-9.26 10.167s-8.877-4.156-8.877-9.831c0-5.939 3.722-10.121 9.167-10.121s8.97 4.36 8.97 9.785m-14.415.29c0 3.932 1.973 7.05 5.36 7.05s5.333-3.183 5.333-7.195c0-3.643-1.796-7.083-5.334-7.083s-5.392 3.328-5.392 7.307zm17.407-9.404c1.69-.29 3.407-.434 5.123-.428a9.17 9.17 0 0 1 5.537 1.223 4.06 4.06 0 0 1 2.006 3.61 4.48 4.48 0 0 1-3.183 4.183c2.269.46 3.9 2.46 3.9 4.775a5.02 5.02 0 0 1-1.861 3.978c-1.368 1.21-3.643 1.796-7.162 1.796a34 34 0 0 1-4.327-.257zm3.499 7.622h1.795c2.433 0 3.801-1.145 3.801-2.782s-1.368-2.644-3.61-2.644a9.8 9.8 0 0 0-2.006.145zm0 8.878c.618.065 1.243.092 1.86.078 2.263 0 4.262-.861 4.262-3.182s-1.94-3.183-4.373-3.183h-1.75zM69.54 54.901h3.517v12.554c0 5.334-2.577 7.116-6.365 7.116a9.3 9.3 0 0 1-2.973-.507l.428-2.834c.703.224 1.44.335 2.183.349 2.006 0 3.183-.921 3.183-4.262l.026-12.416zm13.527 10.456v2.434h-7.32v-2.434zm17.091 8.273a12.3 12.3 0 0 1-4.978.862c-6.129 0-9.851-3.834-9.851-9.707-.283-5.353 3.827-9.923 9.18-10.206.375-.02.757-.02 1.131.006a11.1 11.1 0 0 1 4.775.862l-.783 2.801a9.5 9.5 0 0 0-3.788-.75c-3.932 0-6.76 2.467-6.76 7.116 0 4.235 2.499 6.971 6.734 6.971a9.8 9.8 0 0 0 3.834-.717zM111.2 46.766v35.61h-8.641v-3.182h4.583V49.949h-4.583v-3.183h8.64z`},null,-1)]])}var $M={render:QM},eN=U({default:()=>rN,render:()=>nN}),tN={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function nN(e,t){return y(),N(`svg`,tN,[...t[0]||=[P(`path`,{d:`M65.004 115.355c-.461-.894-1.004-2.796-1.356-3.601-.378-.711-1.46-2.692-1.984-3.332-1.164-1.332-1.437-1.438-1.809-3.23-.628-3.067-2.148-8.462-4.042-12.227-1.004-2-2.626-3.606-4.067-5.07-1.246-1.247-4.121-3.31-4.668-3.227-4.766.894-6.226 5.586-8.457 9.27-1.27 2.062-2.516 3.769-3.52 5.937-.898 1.98-.812 4.23-2.331 5.938a15.4 15.4 0 0 0-3.333 5.855c-.195.453-.546 4.957-1.003 6.016l7.02-.438c6.585.461 4.687 2.961 14.858 2.438l16.098-.54a25 25 0 0 0-1.433-3.792zM111.793 8.254H16.207C7.312 8.23.086 15.457.086 24.352v35.105c2.352-.812 5.578-5.75 6.668-6.934 1.789-2.062 2.16-4.77 3.059-6.378 2.062-3.793 2.433-6.477 7.101-6.477 2.164 0 3.063.516 4.5 2.516.996 1.332 2.79 3.957 3.602 5.668 1.004 1.98 2.523 4.582 3.254 5.125.515.351.972.722 1.433.894.707.27 1.356-.27 1.902-.629.622-.539.895-1.52 1.52-2.953.895-2.086 1.813-4.418 2.332-5.312.914-1.461 1.273-3.254 2.25-4.067 1.461-1.246 3.441-1.355 3.957-1.437 2.98-.625 4.336 1.437 5.777 2.707.973.894 2.243 2.605 3.246 4.851.708 1.793 1.606 3.52 2.067 4.5.351.98 1.266 2.606 1.789 4.582.543 1.711 1.809 3.067 2.352 3.961 0 0 .812 2.164 5.476 4.145a35 35 0 0 0 4.336 1.52c2.066.734 4.047.644 6.563.374 1.789 0 2.793-2.625 3.601-4.683.438-1.254.98-4.774 1.25-5.758.27-.996-.437-1.707.192-2.625.722-.977 1.164-1.082 1.519-2.332.914-2.793 5.957-2.875 8.832-2.875 2.414 0 2.063 2.332 6.125 1.52 2.336-.434 4.586.273 7.023.995 2.063.543 4.043 1.168 5.204 2.524.73.898 2.629 5.312.73 5.476.164.188.36.645.625.817-.46 1.707-2.25.46-3.332.27-1.355-.27-2.332 0-3.684.624-2.335.996-5.668.918-7.726 2.625-1.715 1.438-1.715 4.582-2.543 6.371 0 0-2.254 5.696-6.996 9.192-1.278.914-3.715 3.058-8.918 3.871-2.356.355-4.586.355-7.024.27-1.164-.079-2.332-.079-3.52-.079-.706 0-3.062-.109-2.96.164l-.27.645c.024.29.063.602.164.895.102.515.102.976.192 1.437 0 .98-.086 2.063 0 3.066.082 2.063.894 3.957 1.004 6.102.078 2.355 1.246 4.875 2.414 6.77.46.707 1.086.789 1.355 1.71.352.98 0 2.141.188 3.227.625 4.227 1.875 8.73 3.773 12.61v.078c2.332-.352 4.77-1.247 7.836-1.684 5.664-.832 13.5-.461 18.54-.914 12.796-1.168 19.706 5.226 31.148 2.601V24.336c-.063-8.895-7.293-16.102-16.207-16.102zM64.086 83.855q0-.28 0 0m-34.457 14.75c.894-1.98 1.433-4.125 2.144-6.101.73-1.899 1.813-4.61 3.684-5.582-.246-.274-3.957-.375-4.934-.461-1.082-.086-2.171-.273-3.25-.438a135 135 0 0 1-6.125-1.265c-1.168-.274-5.21-1.715-6.02-2.067-2.085-.894-3.421-3.52-4.96-3.246-.977.188-1.98.54-2.605 1.54-.543.812-.731 2.242-1.083 3.226-.437 1.086-1.168 2.164-1.707 3.25-1.277 1.875-3.332 3.582-4.23 5.484-.191.457-.27.895-.457 1.356v21.683c1.082.188 2.16.371 3.328.73 8.996 2.438 11.164 2.606 19.98 1.63l.813-.11c.625-1.437 1.188-6.207 1.629-7.644.352-1.164.812-2.063.996-3.14.164-1.09 0-2.173-.102-3.15-.171-2.628 1.895-3.519 2.899-5.69zm0 0`},null,-1)]])}var rN={render:nN},iN=U({default:()=>sN,render:()=>oN}),aN={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function oN(e,t){return y(),N(`svg`,aN,[...t[0]||=[P(`path`,{d:`M7.01 10.207h-.944l-.515 2.648h.838q.834 0 1.242-.314.408-.315.55-1.049.137-.705-.124-.995-.262-.29-1.047-.29M12 5.688C5.373 5.688 0 8.514 0 12s5.373 6.313 12 6.313S24 15.486 24 12s-5.373-6.312-12-6.312m-3.26 7.451c-.261.25-.575.438-.917.551q-.505.163-1.285.164H5.357l-.327 1.681H3.652l1.23-6.326h2.65q1.195 0 1.744.628.549.627.33 1.752a2.8 2.8 0 0 1-.305.847q-.215.383-.561.703m4.024.715.543-2.799q.094-.478-.068-.651-.16-.174-.687-.174H11.46l-.704 3.625H9.388l1.23-6.327h1.367l-.327 1.682h1.218q1.15 0 1.586.401c.436.401.378.7.263 1.299l-.572 2.944zm7.597-2.265a2.8 2.8 0 0 1-.305.847q-.214.383-.561.703a2.44 2.44 0 0 1-.917.551q-.504.163-1.286.164h-1.18l-.327 1.682h-1.378l1.23-6.326h2.649q1.195 0 1.744.628.55.626.331 1.751m-2.595-1.382h-.943l-.516 2.648h.838q.835 0 1.242-.314.407-.315.551-1.049.137-.705-.125-.995c-.262-.29-.524-.29-1.047-.29`},null,-1)]])}var sN={render:oN},cN=U({default:()=>dN,render:()=>uN}),lN={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 121 121`};function uN(e,t){return y(),N(`svg`,lN,[...t[0]||=[P(`path`,{"fill-rule":`evenodd`,d:`M73.7 58.9c-1.5-1.8-3.2-3.9-5-5.9C58.5 41.7 48.4 30.3 38 19.2c-4.7-5.1-6.2-10-.6-15.1C43-.9 48.5-.4 53.7 5.3 68.1 21.2 82.4 37.2 97 52.9c5.5 5.9 4.2 9.9-1.8 14.2-23 16.7-46 33.5-68.9 50.4-5.1 3.8-10.1 4.8-14.2-.9-4.6-6.2-.3-9.9 4.4-13.3 17-12.4 34-24.8 50.9-37.4 2.5-1.7 5.9-2.8 6.3-7m7.3 59.8c-6.2 0-12.4.2-18.6-.1-4.9-.2-7.9-3-7.8-8.2.1-4.9 2.5-8.6 7.5-8.7 13.5-.4 27.1-.3 40.7 0 4.3.1 7.5 2.9 7.5 7.4 0 5.1-2.7 9.1-8.2 9.5-7.2.4-14.2.1-21.1.1`,"clip-rule":`evenodd`},null,-1)]])}var dN={render:uN},fN=U({default:()=>hN,render:()=>mN}),pN={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function mN(e,t){return y(),N(`svg`,pN,[...t[0]||=[P(`path`,{d:`m14.25.18.9.2.73.26.59.3.45.32.34.34.25.34.16.33.1.3.04.26.02.2-.01.13V8.5l-.05.63-.13.55-.21.46-.26.38-.3.31-.33.25-.35.19-.35.14-.33.1-.3.07-.26.04-.21.02H8.77l-.69.05-.59.14-.5.22-.41.27-.33.32-.27.35-.2.36-.15.37-.1.35-.07.32-.04.27-.02.21v3.06H3.17l-.21-.03-.28-.07-.32-.12-.35-.18-.36-.26-.36-.36-.35-.46-.32-.59-.28-.73-.21-.88-.14-1.05-.05-1.23.06-1.22.16-1.04.24-.87.32-.71.36-.57.4-.44.42-.33.42-.24.4-.16.36-.1.32-.05.24-.01h.16l.06.01h8.16v-.83H6.18l-.01-2.75-.02-.37.05-.34.11-.31.17-.28.25-.26.31-.23.38-.2.44-.18.51-.15.58-.12.64-.1.71-.06.77-.04.84-.02 1.27.05zm-6.3 1.98-.23.33-.08.41.08.41.23.34.33.22.41.09.41-.09.33-.22.23-.34.08-.41-.08-.41-.23-.33-.33-.22-.41-.09-.41.09zm13.09 3.95.28.06.32.12.35.18.36.27.36.35.35.47.32.59.28.73.21.88.14 1.04.05 1.23-.06 1.23-.16 1.04-.24.86-.32.71-.36.57-.4.45-.42.33-.42.24-.4.16-.36.09-.32.05-.24.02-.16-.01h-8.22v.82h5.84l.01 2.76.02.36-.05.34-.11.31-.17.29-.25.25-.31.24-.38.2-.44.17-.51.15-.58.13-.64.09-.71.07-.77.04-.84.01-1.27-.04-1.07-.14-.9-.2-.73-.25-.59-.3-.45-.33-.34-.34-.25-.34-.16-.33-.1-.3-.04-.25-.02-.2.01-.13v-5.34l.05-.64.13-.54.21-.46.26-.38.3-.32.33-.24.35-.2.35-.14.33-.1.3-.06.26-.04.21-.02.13-.01h5.84l.69-.05.59-.14.5-.21.41-.28.33-.32.27-.35.2-.36.15-.36.1-.35.07-.32.04-.28.02-.21V6.07h2.09l.14.01zm-6.47 14.25-.23.33-.08.41.08.41.23.33.33.23.41.08.41-.08.33-.23.23-.33.08-.41-.08-.41-.23-.33-.33-.23-.41-.08-.41.08z`},null,-1)]])}var hN={render:mN},gN=U({default:()=>yN,render:()=>vN}),_N={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function vN(e,t){return y(),N(`svg`,_N,[...t[0]||=[P(`path`,{d:`M64 14.648c-35.346 0-64 19.19-64 42.863C0 78.275 22.046 95.589 51.316 99.53V86.699c-15.55-4.89-26.166-14.693-26.166-25.991 0-16.183 21.779-29.303 48.646-29.303 26.866 0 46.693 8.975 46.693 29.303 0 10.486-5.273 17.95-14.066 22.72 1.204.908 2.22 2.072 2.904 3.419l.388.655C121.025 79.772 128 69.189 128 57.51c0-23.672-28.654-42.863-64-42.863zm20.1 74.88c-2.612.257-5.322.41-8.114.462l.002 9.63a88 88 0 0 0 12.474-2.492l-.501-.941c-.68-1.268-1.347-2.543-2.033-3.807a41 41 0 0 0-1.828-2.851z`},null,-1),P(`path`,{"fill-rule":`evenodd`,d:`M97.469 81.036s3.874 1.169 6.124 2.307c.78.396 2.132 1.184 3.106 2.22a8.4 8.4 0 0 1 1.42 2.04l15.266 25.74-24.674.01-11.537-21.666s-2.363-4.06-3.817-5.237c-1.213-.982-1.73-1.331-2.929-1.331h-5.862l.004 28.219-21.834.009V41.263h43.845s19.97.36 19.97 19.359S97.47 81.035 97.47 81.035zm-9.497-24.137-13.218-.009-.006 12.257 13.224-.004s6.124-.019 6.124-6.235c0-6.34-6.124-6.01-6.124-6.01z`},null,-1)]])}var yN={render:vN},bN=U({default:()=>CN,render:()=>SN}),xN={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function SN(e,t){return y(),N(`svg`,xN,[...t[0]||=[P(`path`,{d:`M20.156.083c3.033.525 3.893 2.598 3.829 4.77L24 4.822 22.635 22.71 4.89 23.926h.016C3.433 23.864.15 23.729 0 19.139l1.645-3 2.819 6.586.503 1.172 2.805-9.144-.03.007.016-.03 9.255 2.956-1.396-5.431-.99-3.9 8.82-.569-.615-.51L16.5 2.114 20.159.073zM5.13 5.073c3.561-3.533 8.157-5.621 9.922-3.84 1.762 1.777-.105 6.105-3.673 9.636-3.563 3.532-8.103 5.734-9.864 3.957-1.766-1.777.045-6.217 3.612-9.75z`},null,-1)]])}var CN={render:SN},wN=U({default:()=>DN,render:()=>EN}),TN={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function EN(e,t){return y(),N(`svg`,TN,[...t[0]||=[P(`path`,{fill:`currentColor`,d:`m21.863 11.755-.839-.52-.024-.244.722-.673a.288.288 0 0 0-.096-.482l-.923-.345-.072-.239.575-.799a.288.288 0 0 0-.187-.455l-.973-.158-.117-.218.409-.897a.286.286 0 0 0-.273-.409l-.987.034-.157-.188.228-.962a.287.287 0 0 0-.348-.348l-.96.227-.19-.157.034-.986a.287.287 0 0 0-.409-.273l-.897.409-.218-.118-.158-.972a.288.288 0 0 0-.454-.189l-.8.575-.238-.071-.345-.923a.288.288 0 0 0-.482-.096L13.01 3l-.245-.023-.52-.84a.29.29 0 0 0-.49 0l-.52.84q-.123.01-.245.023l-.673-.722a.29.29 0 0 0-.482.096l-.345.923q-.12.034-.237.072l-.8-.576a.288.288 0 0 0-.455.188l-.158.973q-.11.057-.22.118l-.895-.41a.287.287 0 0 0-.409.273l.034.988-.19.156-.96-.227a.29.29 0 0 0-.348.348l.227.962-.157.188-.987-.034a.288.288 0 0 0-.273.409l.409.897a7 7 0 0 0-.117.22l-.972.156a.288.288 0 0 0-.189.455l.575.8-.071.237-.923.346a.29.29 0 0 0-.096.482L3 10.99l-.024.244-.84.52a.29.29 0 0 0 0 .492l.84.519q.01.123.025.245l-.723.673a.29.29 0 0 0 .096.482l.922.345q.035.12.073.237l-.576.8a.29.29 0 0 0 .188.454l.973.158q.056.11.117.22l-.41.896a.288.288 0 0 0 .274.409l.987-.035q.076.096.156.19l-.227.961a.287.287 0 0 0 .348.347l.961-.226.19.156-.035.987a.288.288 0 0 0 .41.273l.896-.41q.108.06.219.119l.158.971a.288.288 0 0 0 .455.19l.799-.577q.118.038.237.072l.345.923a.287.287 0 0 0 .482.096L10.99 21q.121.014.244.025l.52.839a.29.29 0 0 0 .492 0l.519-.84q.123-.01.245-.024l.674.722a.287.287 0 0 0 .48-.096l.346-.923q.12-.034.238-.072l.8.576a.29.29 0 0 0 .454-.189l.158-.972.219-.117.896.409a.288.288 0 0 0 .41-.273l-.035-.988a7 7 0 0 0 .19-.155l.96.226a.287.287 0 0 0 .348-.347l-.226-.961.155-.19.988.035a.29.29 0 0 0 .272-.41l-.409-.896q.06-.108.117-.219l.973-.158a.287.287 0 0 0 .188-.454l-.575-.8.072-.237.922-.345a.286.286 0 0 0 .096-.482L21 13.011l.025-.245.839-.52a.29.29 0 0 0 0-.49Zm-5.619 6.965a.595.595 0 0 1 .25-1.163.595.595 0 0 1-.25 1.163m-.286-1.93a.54.54 0 0 0-.642.417l-.299 1.391a7.3 7.3 0 0 1-3.017.65c-1.1 0-2.144-.243-3.08-.679l-.299-1.39a.54.54 0 0 0-.643-.417l-1.228.263a7 7 0 0 1-.635-.748h5.976c.068 0 .113-.012.113-.074V14.09c0-.062-.046-.074-.113-.074h-1.747v-1.34h1.89c.172 0 .922.049 1.162 1.007.075.295.24 1.254.352 1.561.113.344.57 1.032 1.059 1.032h2.977a1 1 0 0 0 .108-.01q-.31.421-.677.794l-1.256-.27Zm-8.265 1.9a.594.594 0 1 1-.014-1.17.594.594 0 0 1 .014 1.171ZM5.427 9.5a.594.594 0 1 1-1.086.481.594.594 0 0 1 1.086-.481m-.697 1.65 1.28-.569a.543.543 0 0 0 .274-.715l-.263-.597h1.036v4.672h-2.09a7.3 7.3 0 0 1-.237-2.792Zm5.614-.454V9.32h2.468c.128 0 .9.148.9.725 0 .48-.592.652-1.08.652zm8.969 1.24q0 .273-.02.542h-.75c-.076 0-.106.05-.106.123v.345c0 .81-.457.987-.858 1.032-.381.043-.805-.16-.857-.394-.225-1.265-.6-1.536-1.192-2.003.735-.467 1.5-1.155 1.5-2.077 0-.996-.683-1.623-1.148-1.93-.652-.43-1.375-.517-1.57-.517h-7.76a7.3 7.3 0 0 1 4.091-2.308l.915.959a.54.54 0 0 0 .765.018l1.024-.98a7.32 7.32 0 0 1 5.006 3.566l-.7 1.583a.543.543 0 0 0 .275.715l1.35.6q.034.357.035.726m-7.754-8.004a.595.595 0 1 1 .82.86.595.595 0 0 1-.82-.86m6.951 5.595a.594.594 0 1 1 1.086.481.594.594 0 0 1-1.086-.481`},null,-1)]])}var DN={render:EN},ON=U({default:()=>jN,render:()=>AN}),kN={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function AN(e,t){return y(),N(`svg`,kN,[...t[0]||=[P(`path`,{d:`M4.589 24c4.537 0 13.81-1.516 14.821-3v-5.729c-.957 1.408-10.284 2.912-14.821 2.912zm0-7.635c4.537 0 13.81-1.516 14.821-3V7.636c-.957 1.408-10.284 2.912-14.821 2.912zm0-7.636c4.537 0 13.81-1.516 14.821-3V0C18.453 1.408 9.126 2.912 4.589 2.912z`},null,-1)]])}var jN={render:AN},MN=U({default:()=>FN,render:()=>PN}),NN={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 17 17`};function PN(e,t){return y(),N(`svg`,NN,[...t[0]||=[P(`path`,{d:`m2.4 11.4 5.1-4.6-5.1-4.7L.7 3.7l3.4 3v.1l-3.4 3zm14.2 3.3v-2.2h-8v2.2z`},null,-1)]])}var FN={render:PN},IN=U({default:()=>zN,render:()=>RN}),LN={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 128 128`};function RN(e,t){return y(),N(`svg`,LN,[...t[0]||=[P(`path`,{d:`M117.3 87.3c.2-.6.4-1.3.5-1.9 7-28-10.1-61.2-39.2-78.6C91.4 24 97 44.9 92 63.2c-.4 1.6-1 3.2-1.6 4.7-.6-.4-1.5-.9-2.5-1.5 0 0-28.9-17.9-60.2-49.4-.9-.8 16.7 25 36.6 46.1-9.4-5.3-35.5-24.3-52-39.4 2 3.4 4.4 6.7 7.1 9.8C33.1 51 51.2 72.6 72.7 89.2c-15.2 9.3-36.6 10-57.9 0C9.5 86.7 4.6 83.7 0 80.3c9 14.4 22.9 26.9 39.9 34.2 20.2 8.7 40.3 8.1 55.2.1.1 0 .1-.1.2-.1.7-.4 1.3-.7 2-1.1 7.2-3.7 21.3-7.4 28.9 7.4 1.7 3.6 5.7-15.6-8.9-33.5`},null,-1)]])}var zN={render:RN},BN=U({default:()=>UN,render:()=>HN}),VN={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function HN(e,t){return y(),N(`svg`,VN,[...t[0]||=[P(`path`,{d:`M1.125 0C.502 0 0 .502 0 1.125v21.75C0 23.498.502 24 1.125 24h21.75c.623 0 1.125-.502 1.125-1.125V1.125C24 .502 23.498 0 22.875 0zm17.363 9.75q.918 0 1.627.111a6.4 6.4 0 0 1 1.306.34v2.458a4 4 0 0 0-.643-.361 5 5 0 0 0-.717-.26 5.5 5.5 0 0 0-1.426-.2q-.45 0-.819.086a2.1 2.1 0 0 0-.623.242q-.254.156-.393.374a.9.9 0 0 0-.14.49q0 .294.156.529.156.234.443.444c.287.21.423.276.696.41q.41.203.926.416.705.296 1.266.628.561.333.963.753.402.418.614.957.213.538.214 1.253 0 .986-.373 1.656a3 3 0 0 1-1.012 1.085 4.4 4.4 0 0 1-1.487.596q-.85.18-1.79.18a10 10 0 0 1-1.84-.164 5.5 5.5 0 0 1-1.512-.493v-2.63a5.03 5.03 0 0 0 3.237 1.2q.5 0 .872-.09.373-.09.623-.25.249-.162.373-.38a1.02 1.02 0 0 0-.074-1.089 2.1 2.1 0 0 0-.537-.5 5.6 5.6 0 0 0-.807-.444 28 28 0 0 0-1.007-.436q-1.377-.575-2.053-1.405t-.676-2.005q0-.92.369-1.582.368-.662 1.004-1.089a4.5 4.5 0 0 1 1.47-.629 7.5 7.5 0 0 1 1.77-.201m-15.113.188h9.563v2.166H9.506v9.646H6.789v-9.646H3.375z`},null,-1)]])}var UN={render:HN},WN=U({default:()=>qN,render:()=>KN}),GN={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function KN(e,t){return y(),N(`svg`,GN,[...t[0]||=[P(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M7.8 4.6 1.4 11c-.6.6-.6 1.6 0 2l6.2 6.2m8.6-14.6 6.2 6.2c.6.6.6 1.6 0 2l-6.2 6.6`},null,-1)]])}var qN={render:KN},JN=U({default:()=>ZN,render:()=>XN}),YN={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function XN(e,t){return y(),N(`svg`,YN,[...t[0]||=[P(`path`,{d:`M23.55 10.91 13.09.45a1.55 1.55 0 0 0-2.18 0L8.46 2.9 11 5.48a2.06 2.06 0 0 1 1-.23 2.25 2.25 0 0 1 2.25 2.25 2.2 2.2 0 0 1-.22 1l2.19 2.2a2 2 0 1 1-1.06 1.06L13 9.52a1 1 0 0 1-.21.09v5.54a2 2 0 1 1-1.5 0V9.61A2.24 2.24 0 0 1 9.75 7.5a2.2 2.2 0 0 1 .22-1L7.4 4 .45 11a1.55 1.55 0 0 0 0 2.18l10.46 10.37a1.55 1.55 0 0 0 2.18 0l10.46-10.46a1.55 1.55 0 0 0 0-2.18`},null,-1)]])}var ZN={render:XN},QN=U({default:()=>tP,render:()=>eP}),$N={xmlns:`http://www.w3.org/2000/svg`,fill:`currentColor`,viewBox:`0 0 24 24`};function eP(e,t){return y(),N(`svg`,$N,[...t[0]||=[P(`path`,{d:`M12.001 4.8q-4.8 0-6 4.8 1.8-2.4 4.2-1.8c.913.228 1.565.89 2.288 1.624C13.666 10.618 15.027 12 18.001 12q4.8 0 6-4.8-1.8 2.4-4.2 1.8c-.913-.228-1.565-.89-2.288-1.624C16.337 6.182 14.976 4.8 12.001 4.8m-6 7.2q-4.8 0-6 4.8 1.8-2.4 4.2-1.8c.913.228 1.565.89 2.288 1.624 1.177 1.194 2.538 2.576 5.512 2.576q4.8 0 6-4.8-1.8 2.4-4.2 1.8c-.913-.228-1.565-.89-2.288-1.624C10.337 13.382 8.976 12 6.001 12`},null,-1)]])}var tP={render:eP},nP=U({default:()=>aP,render:()=>iP}),rP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function iP(e,t){return y(),N(`svg`,rP,[...t[0]||=[P(`path`,{fill:`currentColor`,"fill-rule":`evenodd`,d:`M2 11.997C2 20.066 3.934 22 11.997 22 20.066 22 22 20.066 22 11.997 22 3.934 20.06 2 11.997 2S2 3.934 2 11.997m4.034 2.081 3.129-7.132a2.96 2.96 0 0 1 2.828-1.848c1.285 0 2.302.649 2.834 1.848l3.135 7.132c.14.343.263.796.263 1.182 0 1.77-1.243 3.012-3.012 3.012-.606 0-1.084-.153-1.567-.306a5.1 5.1 0 0 0-1.653-.325c-.643 0-1.157.16-1.665.325-.49.153-.968.306-1.55.306A2.89 2.89 0 0 1 5.76 15.26c0-.392.122-.839.27-1.182zm5.963-5.889L8.905 15.2c.919-.429 1.972-.637 3.092-.637 1.084 0 2.18.208 3.06.637z`,"clip-rule":`evenodd`},null,-1)]])}var aP={render:iP},oP=U({default:()=>lP,render:()=>cP}),sP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function cP(e,t){return y(),N(`svg`,sP)}var lP={render:cP},uP=U({default:()=>pP,render:()=>fP}),dP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function fP(e,t){return y(),N(`svg`,dP,[...t[0]||=[Xe(`<path fill="#fff" fill-rule="evenodd" d="M11.9 7.2h8.4v3.4h-8.4z" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M4.3 18.3c-.74 0-1.384-.403-1.73-1a2 2 0 0 0 1.73 3h2v-2z" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M13.298 7.738 20.3 7.3v-1a2 2 0 0 0-2-2h-9l-.25-.433a.29.29 0 0 0-.5 0L8.3 4.3l-.25-.433a.29.29 0 0 0-.5 0L7.3 4.3l-.25-.433a.29.29 0 0 0-.5 0L6.3 4.3h-.006l-.415-.414a.29.29 0 0 0-.482.13l-.137.51-.52-.14a.29.29 0 0 0-.353.354l.139.52-.51.136a.29.29 0 0 0-.13.483l.414.415V6.3l-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25-.433.25a.29.29 0 0 0 0 .5l.433.25a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8l-7.002-.438a1.065 1.065 0 0 1 0-2.124" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M16.3 20.3h3v-4h-3z" clip-rule="evenodd"></path><path fill="#44D860" fill-rule="evenodd" d="M21.3 17.8q-.033.002-.064.006l-.012-.045a.5.5 0 1 0-.494-.857l-.033-.034a.496.496 0 0 0-.299-.788.5.5 0 0 0-.56.293l-.044-.011q.005-.031.006-.064a.5.5 0 0 0-1 0q.002.033.006.064l-.044.011a.5.5 0 1 0-.859.495 2 2 0 1 0 3.333 1.924q.031.005.064.006a.5.5 0 1 0 0-1" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M17.3 14.3h3v-2h-3z" clip-rule="evenodd"></path><path fill="#44D860" fill-rule="evenodd" d="M21.3 13.55a.25.25 0 1 0 0-.5l-.032.003-.006-.022a.25.25 0 0 0-.096-.481.25.25 0 0 0-.15.052l-.018-.017a.25.25 0 0 0-.005-.308.25.25 0 0 0-.424.06 1 1 0 1 0 0 1.925.25.25 0 0 0 .48-.098.25.25 0 0 0-.05-.149l.016-.017a.25.25 0 0 0 .31-.005.25.25 0 0 0-.063-.424l.006-.022z" clip-rule="evenodd"></path><path fill="#000" fill-rule="evenodd" d="M8.3 7.55a.25.25 0 0 1-.25-.25.75.75 0 0 0-1.5 0 .25.25 0 0 1-.5 0 1.25 1.25 0 0 1 2.5 0 .25.25 0 0 1-.25.25" clip-rule="evenodd"></path><path fill="#FFFF50" fill-rule="evenodd" d="M12.3 20.3h6a2 2 0 0 0 2-2v-7h-6a2 2 0 0 0-2 2z" clip-rule="evenodd"></path><path fill="#000" fill-rule="evenodd" d="M18.802 14.4h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2m0 2h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2m0 2h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2m0-4.981h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2m0 1.981h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2m0 2h-5.004a.1.1 0 0 1 0-.2h5.004a.1.1 0 1 1 0 .2M20.3 8.161h-.003c-.31.01-.456.32-.585.592-.134.285-.238.47-.409.465-.189-.007-.297-.22-.411-.446-.132-.26-.282-.554-.596-.543-.305.01-.452.28-.581.517-.138.253-.232.406-.412.4-.193-.008-.295-.181-.414-.382-.132-.224-.285-.475-.593-.467-.3.01-.447.239-.577.44-.137.213-.233.343-.416.336-.198-.007-.3-.151-.417-.318-.133-.187-.282-.4-.59-.39-.293.01-.44.198-.57.363-.123.156-.219.28-.422.272a.1.1 0 0 0-.008.2c.302.01.455-.18.588-.349.117-.15.219-.278.419-.285.192-.008.283.111.42.304.13.184.276.392.572.402.31.01.46-.221.592-.426.119-.184.22-.342.415-.349.18-.006.277.135.415.368.13.22.276.47.579.48.312.01.463-.262.594-.503.114-.21.222-.406.412-.413.18-.004.273.16.411.433.13.255.276.544.583.556h.017c.306 0 .452-.308.58-.58.114-.24.222-.468.407-.477z" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M10.3 20.3h4v-4h-4z" clip-rule="evenodd"></path><path fill="#D8D8D8" d="m20.276 9.922-7.778 2.084a.2.2 0 0 0-.141.245l.76 2.837a.2.2 0 0 0 .245.141l7.777-2.084a.2.2 0 0 0 .142-.245l-.76-2.836a.2.2 0 0 0-.245-.142"></path><path fill="#4A4A4A" d="m14.845 13.56-.278.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071l.279-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.123-.071m.559-.15-.278.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.071m.559-.15-.278.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.07Zm.56-.15-.28.075a.1.1 0 0 0-.07.123l.075.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07Zm.558-.15-.278.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071l.279-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07Zm.559-.15-.278.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.071Z"></path><path fill="#4A4A4A" fill-rule="evenodd" d="m13.082 14.032 1.187-.318a.1.1 0 0 1 .122.07l.075.279a.1.1 0 0 1-.07.122l-1.187.318a.1.1 0 0 1-.123-.07l-.075-.279a.1.1 0 0 1 .071-.122m6.533-1.75 1.187-.319a.1.1 0 0 1 .122.07l.075.28a.1.1 0 0 1-.07.122l-1.188.318a.1.1 0 0 1-.122-.07l-.075-.28a.1.1 0 0 1 .071-.122Zm-6.835.621.453-.121a.1.1 0 0 1 .122.07l.075.279a.1.1 0 0 1-.07.122l-.454.121a.1.1 0 0 1-.122-.07l-.075-.279a.1.1 0 0 1 .07-.122Z" clip-rule="evenodd"></path><path fill="#4A4A4A" d="m13.792 12.632-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071l.278-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.122-.071m.558-.15-.278.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071Zm.56-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07Zm.559-.149-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071l.278-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07m.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.278a.1.1 0 0 0 .123.071l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071m.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07Zm.559-.149-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07m.559-.15-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071l.278-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.122-.071m.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071m.558-.15-.278.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07Zm.56-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07Z"></path><path fill="#4A4A4A" fill-rule="evenodd" d="m20.483 10.771-.454.122a.1.1 0 0 1-.122-.071l-.075-.278a.1.1 0 0 1 .071-.123l.453-.121a.1.1 0 0 1 .123.07l.074.279a.1.1 0 0 1-.07.122" clip-rule="evenodd"></path><path fill="#4A4A4A" d="m19.47 11.042.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07Zm-.558.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071Zm-.56.15.279-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071m-.558.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07Zm-.559.15.278-.075a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07Zm-.559.149.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071l-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.559.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.122-.071l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071m-.559.149.278-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07m-.559.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.559.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.56.15.28-.074a.1.1 0 0 0 .07-.123l-.075-.278a.1.1 0 0 0-.122-.071l-.279.075a.1.1 0 0 0-.07.122l.074.278a.1.1 0 0 0 .123.071Zm-.558.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071m-.559.15.278-.075a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07l-.278.074a.1.1 0 0 0-.071.123l.074.278a.1.1 0 0 0 .123.07Z"></path><path fill="#4A4A4A" d="m19.47 11.042.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07Zm-.558.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071Zm-.56.15.279-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .122.071m-.558.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07Zm-.559.15.278-.075a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07Zm-.559.149.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.071l-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.559.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.122-.071l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071m-.559.149.278-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07m-.559.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.559.15.278-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07m-.56.15.28-.074a.1.1 0 0 0 .07-.123l-.075-.278a.1.1 0 0 0-.122-.071l-.279.075a.1.1 0 0 0-.07.122l.074.278a.1.1 0 0 0 .123.071Zm-.558.15.278-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.122-.07l-.279.074a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071m-.559.15.278-.075a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07l-.278.074a.1.1 0 0 0-.071.123l.074.278a.1.1 0 0 0 .123.07Z"></path><path fill="#4A4A4A" fill-rule="evenodd" d="m12.93 13.462.645-.173a.1.1 0 0 1 .122.07l.075.28a.1.1 0 0 1-.07.122l-.646.173a.1.1 0 0 1-.123-.071l-.074-.278a.1.1 0 0 1 .07-.123Z" clip-rule="evenodd"></path><path fill="#4A4A4A" d="m14.151 13.135-.278.074a.1.1 0 0 0-.071.123l.075.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.071.123l.075.278a.1.1 0 0 0 .122.071l.279-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.123-.071m.56-.15-.28.075a.1.1 0 0 0-.07.122l.075.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.071Zm.558-.15-.278.075a.1.1 0 0 0-.071.122l.075.279a.1.1 0 0 0 .122.07l.278-.074a.1.1 0 0 0 .071-.123l-.074-.278a.1.1 0 0 0-.123-.07Zm.559-.149-.278.074a.1.1 0 0 0-.071.123l.075.278a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.071.123l.075.278a.1.1 0 0 0 .122.071l.279-.075a.1.1 0 0 0 .07-.122l-.074-.279a.1.1 0 0 0-.123-.07m.559-.15-.278.074a.1.1 0 0 0-.071.123l.075.278a.1.1 0 0 0 .122.071l.278-.074a.1.1 0 0 0 .071-.123l-.074-.278a.1.1 0 0 0-.123-.071m.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.123l-.075-.278a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07Zm.559-.149-.278.074a.1.1 0 0 0-.071.123l.074.278a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07m.558-.15-.277.074a.1.1 0 0 0-.071.123l.074.278a.1.1 0 0 0 .123.071l.278-.075a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07Z"></path><path fill="#4A4A4A" fill-rule="evenodd" d="m20.039 11.557.61-.164a.1.1 0 0 1 .123.071l.074.279a.1.1 0 0 1-.07.122l-.61.164a.1.1 0 0 1-.123-.071l-.075-.278a.1.1 0 0 1 .07-.123z" clip-rule="evenodd"></path><path fill="#4A4A4A" d="m13.517 14.54-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.123l-.075-.278a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.122l.074.279a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.123l-.075-.278a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.07l.278-.074a.1.1 0 0 0 .071-.122l-.075-.279a.1.1 0 0 0-.122-.07Zm.559-.15-.279.075a.1.1 0 0 0-.07.123l.074.278a.1.1 0 0 0 .123.071l.278-.075a.1.1 0 0 0 .07-.122l-.074-.278a.1.1 0 0 0-.122-.071Z"></path><path fill="#4A4A4A" fill-rule="evenodd" d="m15.474 14.016 2.69-.72a.1.1 0 0 1 .122.07l.074.278a.1.1 0 0 1-.07.123l-2.69.72a.1.1 0 0 1-.122-.07l-.074-.279a.1.1 0 0 1 .07-.122m2.97-.796.348-.093a.1.1 0 0 1 .123.07l.074.279a.1.1 0 0 1-.07.122l-.349.094a.1.1 0 0 1-.122-.071l-.075-.279a.1.1 0 0 1 .07-.122Z" clip-rule="evenodd"></path><path fill="#4A4A4A" d="m19.351 12.977-.278.075a.1.1 0 0 0-.071.122l.075.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.071m.559-.15-.278.075a.1.1 0 0 0-.071.122l.075.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.07Zm1.048-.281-.278.075a.1.1 0 0 0-.071.122l.075.279a.1.1 0 0 0 .122.07l.279-.074a.1.1 0 0 0 .07-.123l-.074-.278a.1.1 0 0 0-.123-.07Zm-.845.442-.028-.104a.1.1 0 0 1 .07-.123l.28-.074a.1.1 0 0 1 .122.07l.027.105zm.49-.057.028.105a.1.1 0 0 1-.07.122l-.279.075a.1.1 0 0 1-.122-.07l-.028-.105zm-.344-2.893-7.652 2.05a.108.108 0 1 0 .057.21l7.65-2.05a.108.108 0 1 0-.055-.21"></path><path fill="#D8D8D8" d="m13.075 12-.3.08a.072.072 0 1 0 .037.14l.3-.08a.072.072 0 1 0-.037-.14m.603-.162-.3.081a.072.072 0 1 0 .037.14l.3-.08a.072.072 0 1 0-.037-.14Zm.464-.124-.3.08a.072.072 0 1 0 .037.14l.3-.08a.072.072 0 1 0-.037-.14m.464-.124-.3.08a.072.072 0 0 0 .038.14l.3-.08a.072.072 0 0 0-.038-.14m.464-.125-.3.081a.072.072 0 0 0 .037.14l.3-.08a.072.072 0 0 0-.037-.14Zm.58-.155-.3.08a.072.072 0 0 0 .037.14l.3-.08a.072.072 0 1 0-.037-.14m.464-.124-.3.08a.072.072 0 0 0 .037.14l.3-.08a.072.072 0 1 0-.038-.14Zm.464-.125-.3.081a.072.072 0 1 0 .037.14l.3-.08a.072.072 0 1 0-.037-.14Zm.464-.124-.3.08a.072.072 0 0 0 .038.14l.3-.08a.072.072 0 1 0-.037-.14Zm.58-.155-.3.08a.072.072 0 0 0 .037.14l.3-.08a.072.072 0 0 0-.038-.14Zm.464-.125-.3.081a.072.072 0 0 0 .037.14l.3-.08a.072.072 0 0 0-.037-.14Zm.464-.124-.3.08a.072.072 0 0 0 .038.14l.3-.08a.072.072 0 1 0-.037-.14Zm.58-.155-.3.08a.072.072 0 1 0 .037.14l.3-.08a.072.072 0 1 0-.038-.14Zm.464-.125-.301.08a.072.072 0 1 0 .037.14l.301-.08a.072.072 0 1 0-.037-.14m.464-.124-.301.08a.072.072 0 0 0 .037.14l.302-.08a.072.072 0 0 0-.038-.14" opacity=".136"></path><path fill="#44D860" fill-rule="evenodd" d="M16.3 17.8q-.033.002-.064.006l-.012-.045a.5.5 0 1 0-.494-.857l-.033-.034a.496.496 0 0 0-.299-.788.5.5 0 0 0-.56.293l-.044-.011q.005-.031.006-.064a.5.5 0 0 0-1 0q.002.033.006.064l-.044.011a.5.5 0 1 0-.859.495 2 2 0 1 0 3.333 1.924q.031.005.064.006a.5.5 0 1 0 0-1" clip-rule="evenodd"></path><path fill="#3ECC5F" fill-rule="evenodd" d="M10.3 14.3h4v-2h-4z" clip-rule="evenodd"></path><path fill="#44D860" fill-rule="evenodd" d="M15.3 13.55a.25.25 0 1 0 0-.5l-.032.003-.006-.022a.25.25 0 0 0-.096-.481.25.25 0 0 0-.15.052l-.018-.017a.25.25 0 0 0-.005-.308.25.25 0 0 0-.424.06 1 1 0 1 0 0 1.925.25.25 0 0 0 .48-.098.25.25 0 0 0-.05-.149l.016-.017a.25.25 0 0 0 .31-.005.25.25 0 0 0-.063-.424l.006-.022z" clip-rule="evenodd"></path><path fill="#000" fill-rule="evenodd" d="M16.3 6.175a.3.3 0 0 1-.096-.019.3.3 0 0 1-.081-.054.3.3 0 0 1-.054-.081.26.26 0 0 1 0-.192.26.26 0 0 1 .092-.112.3.3 0 0 1 .09-.037.26.26 0 0 1 .188.037l.038.031a.26.26 0 0 1 .073.177.25.25 0 0 1-.154.231.3.3 0 0 1-.096.02Zm2-.125a.26.26 0 0 1-.208-.11.26.26 0 0 1-.042-.139.26.26 0 0 1 .11-.209.3.3 0 0 1 .091-.037.26.26 0 0 1 .188.037l.038.031a.26.26 0 0 1 .054.273l-.023.043-.031.038a.26.26 0 0 1-.177.073" clip-rule="evenodd"></path>`,29)]])}var pP={render:fP},mP=U({default:()=>_P,render:()=>gP}),hP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function gP(e,t){return y(),N(`svg`,hP,[...t[0]||=[P(`path`,{fill:`#512BD4`,d:`M22 2H2v20h20z`},null,-1),P(`path`,{fill:`#fff`,d:`M5.565 14.778a.5.5 0 0 1-.361-.142.47.47 0 0 1-.148-.344.47.47 0 0 1 .148-.348.5.5 0 0 1 .36-.145q.216 0 .365.145a.46.46 0 0 1 .152.348.46.46 0 0 1-.152.344.5.5 0 0 1-.364.142m5.653-.08h-.92l-2.421-3.82a1.7 1.7 0 0 1-.152-.301h-.021q.028.166.028.714v3.407h-.813V9.5h.98l2.34 3.73q.148.232.19.319h.015a5 5 0 0 1-.036-.7V9.5h.81zm3.96 0h-2.846V9.5h2.732v.732h-1.89v1.472h1.742v.728h-1.743v1.537h2.005zm4.044-4.466h-1.456v4.466h-.842v-4.466h-1.453V9.5h3.751z`},null,-1)]])}var _P={render:gP},vP=U({default:()=>xP,render:()=>bP}),yP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function bP(e,t){return y(),N(`svg`,yP,[...t[0]||=[Xe(`<path fill="#333" fill-rule="evenodd" d="M18.578 20.398A9.98 9.98 0 0 0 22 12.866c0-5.523-4.477-10-10-10s-10 4.477-10 10a9.97 9.97 0 0 0 3.24 7.369l.01-.064 13.123-4.297z" clip-rule="evenodd"></path><path fill="#CCC" d="m9.419 4.067-1.774-.264.265-.081q.242-.076.444-.228l.042-.032a1.22 1.22 0 0 0 .466-.778l.02-.124q.032-.202-.003-.403a.073.073 0 0 1 .1-.08l.072.03q.136.056.263.132l.302.182c.4.242.752.558 1.036.931l.2.264a1.33 1.33 0 0 0 .618.45l.14.05-.732.03a8 8 0 0 1-1.46-.08Z"></path><path fill="#CCC" d="m8.966 5.64.526-.962a.03.03 0 0 0 0-.03l-.179-.378a.68.68 0 0 0-.614-.388l-.05-.002a4.7 4.7 0 0 1-1.017-.148l-.065-.017a4 4 0 0 1-.79-.297l-.111-.055a3 3 0 0 1-.474-.3l-.147-.115a.1.1 0 0 0-.14.02 1 1 0 0 0-.185.47l-.027.235a2 2 0 0 0-.004.379l.065.734c.049.547.237 1.071.548 1.524l.066.097q.144.209.331.38a.1.1 0 0 0 .064.027A2.28 2.28 0 0 0 8.966 5.64"></path><path fill="#EDEDED" d="m6.976 6.832.625-.27a.45.45 0 1 0-.458-.769l-.148.117a1 1 0 0 0-.097.094l-.356.428a.15.15 0 0 0 .009.203l.11.126a.275.275 0 0 0 .315.071"></path><path fill="#B2B2B2" d="m7.78 3.758-.018.006.057.018c.247.08.504.125.763.138a.1.1 0 0 0 .038-.005l.118-.034.059-.02-.374-.08a.3.3 0 0 1-.134-.066.063.063 0 0 1 0-.096l.056-.046a.6.6 0 0 0 .157-.2c-.216.171-.46.301-.721.385Z"></path><path fill="#fff" d="M9.92 10.578 4.825 19.69a.078.078 0 0 1-.124.017l-.102-.103-.43-.488-.274-.354a8 8 0 0 1-.693-1.067l-.04-.072a8 8 0 0 1-.536-1.24l-.137-.412a5.55 5.55 0 0 1-.139-2.295l.005-.032a5.7 5.7 0 0 1 .24-.988l.226-.669.17-.356a5 5 0 0 1 1.067-1.473l.215-.204a3.8 3.8 0 0 1 1.576-.897 3 3 0 0 1-.422.084l-.281.033-.215.02-.235.04-.234.021-.156.017-.113.007c-.036.002-.053-.044-.024-.065l.157-.076a2.65 2.65 0 0 0 1.19-1.135l.174-.271a2.6 2.6 0 0 1 .808-.802l.067-.043q.182-.115.385-.187l.615-.217a.43.43 0 0 0 .253-.236l.009-.022a.34.34 0 0 0-.083-.38l-.108-.099-.018-.02-.696-.926-.555-.764a.97.97 0 0 1-.184-.517.04.04 0 0 1 .056-.038l.6.288a2.38 2.38 0 0 0 1.666.148q.195-.053.394-.075l.276-.028a5.7 5.7 0 0 1 2.064.17l.058.016.656.236a3 3 0 0 1 1.785 1.756l.138.536a2.17 2.17 0 0 0 .863 1.246l.35.244q.232.162.483.287l.775.388a.062.062 0 0 1 .022.093 2.1 2.1 0 0 1-.82.644l-.449.195a4 4 0 0 1-.55.193l-.33.088a5.5 5.5 0 0 1-1.417.188h-.79a1.3 1.3 0 0 1-.477-.091 1.3 1.3 0 0 0-1.615.576Z"></path><path fill="#666" d="m12.593 7.292.344.004c.047 0 .057-.065.013-.079a1.4 1.4 0 0 1-.212-.087l-.269-.139a2.8 2.8 0 0 1-.51-.338l-.053-.044q-.18-.15-.323-.334l-.06-.078a.034.034 0 0 0-.062.023c.04.598.533 1.065 1.132 1.072"></path><path fill="#CCC" d="m5.212 19.834 5.824-5.195a7.8 7.8 0 0 0 1.417-1.677l.035-.057a2.3 2.3 0 0 0 .237-1.239l-.052-.587a1.66 1.66 0 0 0-.424-.97.1.1 0 0 0-.036-.02l-.936-.192a4.2 4.2 0 0 0-2.092-.086l-.037.008-.544.127a6.74 6.74 0 0 0-3.94 2.63l-.023.034a6.4 6.4 0 0 0-.665 1.168l-.032.074a6.07 6.07 0 0 0-.441 3.31l.054.367a3.7 3.7 0 0 0 .932 1.96l.297.324a.304.304 0 0 0 .426.021"></path><path fill="#5E5E5E" d="m10.31 12.9-.018.01c-.492.281-.756.811-.73 1.377.007.16.168.308.323.264l.285-.081a2.6 2.6 0 0 0 1.001-.539l.829-.713.246-.182a6.6 6.6 0 0 1 4.979-1.209c.054.009.056.086.002.097l-.207.043-.095.033a1 1 0 0 0-.48.359.04.04 0 0 0 .044.062l.068-.021a3.2 3.2 0 0 1 1.184-.132l.157.012a2.86 2.86 0 0 1 2.159 1.137l.192.256c.57.758.812 1.714.67 2.652l-.074.49a4.7 4.7 0 0 1-.713 1.87l-.027.04-.41.547-.449.508-.411.395q-.566.542-1.227.962l-.14.088-.266.127c-.069.033-.126-.061-.065-.107l.37-.352.077-.08c.206-.216.355-.482.431-.77l.035-.134a.715.715 0 0 0-.549-.886.7.7 0 0 0-.583.146l-.367.299-.649.53a8 8 0 0 1-1.376.902l-.67.345-1.133.43-.238.064a8 8 0 0 1-1.263.235l-.316.032H9.891l-1.348-.146-.73-.158a4.55 4.55 0 0 1-1.91-.917l-.563-.458a3.02 3.02 0 0 1-1.177-2.168l-.034-.45.04-.631a4.6 4.6 0 0 1 1.956-3.483l.12-.084a5.2 5.2 0 0 1 1.646-.763l.396-.105a3.4 3.4 0 0 1 1.577-.042l.413.086c.104.022.126.16.034.212Z"></path>`,9)]])}var xP={render:bP},SP=U({default:()=>TP,render:()=>wP}),CP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function wP(e,t){return y(),N(`svg`,CP,[...t[0]||=[P(`path`,{fill:`currentColor`,d:`m16.378 12.034-4.148-5.53h.507c.369 0 .738.185.968.461l3.272 4.286 3.226-4.24c.322-.322.691-.507 1.06-.507h.553l-4.194 5.53L22 17.841h-.553c-.369 0-.737-.185-.968-.507l-3.456-4.516-3.456 4.516c-.23.322-.6.46-.968.46h-.553zm-13.456.461v.369c0 1.935 1.29 3.686 3.18 4.147a4.15 4.15 0 0 0 4.654-2.258c.138-.23.368-.415.645-.415h.46a5.07 5.07 0 0 1-4.792 3.687C4.212 18.025 2 15.583 2 12.541v-1.29c0-2.489 1.751-4.747 4.24-5.207a5.07 5.07 0 0 1 5.898 5.069v1.382zm0-.921h8.295v-.461a4.148 4.148 0 0 0-5.07-4.056c-1.935.461-3.225 2.212-3.225 4.378z`},null,-1)]])}var TP={render:wP},EP=U({default:()=>kP,render:()=>OP}),DP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function OP(e,t){return y(),N(`svg`,DP,[...t[0]||=[P(`path`,{fill:`currentColor`,d:`M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20m-.7 4.5h6.3L11.3 11h4.3l-9.2 6.4 2-4.4 1-2 2-4.5z`},null,-1)]])}var kP={render:OP},AP=U({default:()=>NP,render:()=>MP}),jP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function MP(e,t){return y(),N(`svg`,jP,[...t[0]||=[P(`path`,{fill:`currentColor`,d:`M23.241 7.492 24 5.536l-.031-.125-7.479 1.971c.798-1.158.524-2.08.524-2.08s-2.386 1.525-4.193 1.486c-1.807-.04-2.386-.525-5.155.36-2.769.883-3.551 3.59-4.357 4.177-.798.579-3.309 2.51-3.309 2.51l2.269-.727s-.642.61-1.964 2.386v.008c.211.297 1.142 1.525 2.065 1.26.102-.032.22-.087.352-.15.415.236.97.462 1.573.525 0 0-.407-.47-.751-1.017l.281-.18-.047.031.869.313-.094-.813h.008l.844.313-.101-.744.32-.156.884-3.348 3.661-2.503-.289.735c-.743 1.823-2.136 2.253-2.136 2.253l-.578.227c-.438.508-.618.634-.767 2.354.352-.093.68-.11.986-.03 1.564.422 2.104 2.307 1.681 2.831-.101.125-.352.352-.672.61H7.76l-.008.516-.062.055h-.65l-.007.5-.173.126c-.602.016-1.376-.516-1.376-.516.008.485.406 1.228.406 1.228l.07-.04-.062.048s1.627 1.08 2.652.68c.908-.36 3.262-2.214 5.296-3.09l6.149-1.627.813-2.096-4.685 1.236V13.14l5.499-1.448.814-2.104-6.313 1.666V9.37zm-11.163 3.997 1.463-.383.016.07-.454 1.181-1.51.4zm.5 2.527-1.509.399.493-1.268 1.455-.383.023.07zm1.972-.423-1.51.4.493-1.268 1.455-.383.024.07z`},null,-1)]])}var NP={render:MP},PP=U({default:()=>LP,render:()=>IP}),FP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function IP(e,t){return y(),N(`svg`,FP,[...t[0]||=[P(`path`,{fill:`currentColor`,d:`M1.81 10.714c-.046 0-.058-.023-.034-.058l.245-.316c.023-.035.082-.058.128-.058h4.17c.047 0 .059.035.035.07l-.198.304c-.024.035-.082.07-.117.07zM.048 11.789c-.047 0-.059-.024-.035-.059l.245-.315c.023-.035.082-.059.128-.059h5.327c.047 0 .07.036.058.07l-.093.28c-.012.048-.058.07-.105.07zm2.826 1.074c-.046 0-.058-.035-.035-.07l.164-.292c.023-.035.07-.07.117-.07h2.336c.047 0 .07.035.07.082l-.023.28c0 .047-.047.082-.082.082l-2.546-.012Zm12.125-2.36-1.962.515c-.175.046-.187.058-.339-.117a1.6 1.6 0 0 0-.549-.444 2.03 2.03 0 0 0-2.114.175 2.49 2.49 0 0 0-1.192 2.22c.012.934.655 1.705 1.577 1.833.795.106 1.46-.175 1.986-.77l.316-.433h-2.255c-.245 0-.304-.151-.222-.35.152-.362.432-.97.596-1.273a.32.32 0 0 1 .292-.187h4.252c-.024.315-.024.63-.07.946a5 5 0 0 1-.958 2.29 4.87 4.87 0 0 1-3.33 1.985 4.14 4.14 0 0 1-3.141-.77A3.67 3.67 0 0 1 6.4 13.528a4.58 4.58 0 0 1 .993-3.422 5.2 5.2 0 0 1 3.27-2.021c1.099-.199 2.15-.07 3.096.572.62.409 1.063.97 1.355 1.647.07.105.024.164-.117.199Z`},null,-1),P(`path`,{fill:`currentColor`,d:`M18.865 16.963a4.38 4.38 0 0 1-2.85-1.028 3.67 3.67 0 0 1-1.262-2.254 4.46 4.46 0 0 1 .946-3.528 4.9 4.9 0 0 1 3.27-1.95 4.32 4.32 0 0 1 3.33.595 3.63 3.63 0 0 1 1.647 2.605 4.51 4.51 0 0 1-1.343 3.96 5.35 5.35 0 0 1-2.804 1.495c-.315.058-.63.07-.934.105m2.78-4.719c-.012-.152-.012-.268-.035-.385a1.93 1.93 0 0 0-2.383-1.554c-1.087.245-1.787.935-2.044 2.033-.21.91.233 1.834 1.074 2.207.643.28 1.285.246 1.904-.07a2.56 2.56 0 0 0 1.484-2.23Z`},null,-1)]])}var LP={render:IP},RP=U({default:()=>VP,render:()=>BP}),zP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function BP(e,t){return y(),N(`svg`,zP,[...t[0]||=[P(`path`,{fill:`#FF5B11`,d:`M12.371 1.736q.08-.01.141.04a76 76 0 0 1 4.217 5.662 28 28 0 0 1 2.49 4.659q1.64 4.374-1.707 7.61-2.928 2.475-6.747 1.928-4.564-.93-6.205-5.281a7.4 7.4 0 0 1-.28-2.891 17.3 17.3 0 0 1 1.204-4.9 7.3 7.3 0 0 1 1.044-1.767q.525.625 1.004 1.285.222.232.462.442a38 38 0 0 1 4.377-6.787`,opacity:`.993`},null,-1),P(`path`,{fill:`#FF9758`,d:`M12.09 5.962a42.5 42.5 0 0 1 3.996 5.462q.56.959.924 2.008.758 2.982-1.627 4.92-2.306 1.622-5.06.963-2.97-.921-3.433-3.996a4.25 4.25 0 0 1 .2-1.887c.297-.754.66-1.48 1.085-2.168L9.38 9.495q1.367-1.758 2.71-3.534Z`},null,-1)]])}var VP={render:BP},HP=U({default:()=>GP,render:()=>WP}),UP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function WP(e,t){return y(),N(`svg`,UP,[...t[0]||=[P(`path`,{fill:`#FF2D20`,d:`M21.217 6.8a.3.3 0 0 1 .012.076v4.078a.3.3 0 0 1-.15.26l-3.424 1.969v3.907a.3.3 0 0 1-.147.259l-7.15 4.111q-.023.014-.05.024l-.021.007a.3.3 0 0 1-.152 0l-.024-.01c-.017-.007-.033-.011-.048-.02l-7.142-4.112a.3.3 0 0 1-.15-.26V4.857q0-.043.012-.079c0-.01.007-.016.01-.023a.2.2 0 0 1 .019-.048l.021-.026.024-.036.03-.024.034-.023L6.492 2.54a.29.29 0 0 1 .298 0l3.573 2.053.033.024.029.024.026.036.022.023.019.048c0 .01.007.017.01.024a.4.4 0 0 1 .009.08v7.643l2.978-1.713v-3.91c0-.023.003-.052.01-.076l.01-.026.018-.047.022-.024.026-.036.029-.024.033-.023L17.21 4.56a.3.3 0 0 1 .298 0l3.57 2.058.034.024c.01.01.022.014.029.024q.017.015.026.035l.021.024c.01.017.015.03.02.048l.009.023zm-.58 3.98V7.392l-1.252.719-1.727.994v3.393l2.978-1.713zm-3.576 6.138v-3.395l-1.7.971-4.85 2.77v3.425l6.55-3.77ZM3.366 5.37v11.548l6.55 3.769V17.26l-3.421-1.934h-.003l-.03-.024c-.01-.01-.022-.014-.03-.024-.011-.01-.018-.024-.025-.03l-.024-.032-.014-.038q-.009-.015-.015-.033l-.007-.043-.002-.033V7.08l-1.728-.994-1.253-.716zm3.276-2.23L3.666 4.857 6.64 6.569l2.976-1.713-2.974-1.713zM8.19 13.833l1.727-.992V5.37l-1.247.718-1.727.995v7.47l1.249-.72zm9.169-8.667-2.974 1.713 2.974 1.713 2.974-1.713zm-.297 3.943-1.728-.995-1.249-.718v3.385l1.727.995 1.25.72v-3.39zm-6.845 7.639 4.365-2.491 2.182-1.244L13.79 11.3l-3.426 1.972-3.117 1.796z`},null,-1)]])}var GP={render:WP},KP=U({default:()=>YP,render:()=>JP}),qP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function JP(e,t){return y(),N(`svg`,qP,[...t[0]||=[Xe(`<g fill="#EDB641" clip-path="url(#a)"><path d="m5.33 10.983.419 1.29H7.11l-1.1.796.42 1.29-1.101-.797-1.09.791.419-1.29-1.1-.796H4.92l.42-1.289-.011.005Zm1.954-4.245.362 1.111h1.169l-.944.687.362 1.111-.949-.681-.943.681.351-1.111-.943-.687h1.169l.361-1.11h.005ZM1.31 13.504l.21.65h.68l-.55.409.21.65-.55-.404-.556.404.21-.65-.551-.404h.681l.21-.65.005-.005Z"></path><path d="M9.197 15.684a19 19 0 0 0 2.505-1.378 22.6 22.6 0 0 0 3.092-2.6l-.613-.408-.534-.362 1.692-.063.545-.02.147-.525.461-1.635.587 1.588.189.514.545-.027 1.693-.062-1.332 1.048-.43.335.19.514.586 1.588-1.41-.944-.45-.298-.43.335-1.331 1.048.23-.812.231-.818.026-.105a21 21 0 0 1-5.24 2.815c-.315.104-.63.188-.944.267zm-3.186 1.242a16.1 16.1 0 0 0 8.081-2.494l-.535 1.923 3.145-2.479 3.328 2.222-1.384-3.752 3.144-2.474-4.003.158-1.384-3.758-1.09 3.852-3.999.157 2.317 1.546c-1.52 1.384-5.346 4.34-10.413 4.538A14 14 0 0 1 0 16.11s2.52.953 6.016.817h-.005Z"></path><path d="M16.408 4.412a7.588 7.588 0 0 0-7.242 9.862q.495-.25.943-.508a6.53 6.53 0 0 1 6.3-8.306 6.54 6.54 0 1 1-4.916 10.848c-.351.136-.703.262-1.059.367a7.588 7.588 0 1 0 5.974-12.263"></path></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h24v24H0z"></path></clipPath></defs>`,2)]])}var YP={render:JP},XP=U({default:()=>$P,render:()=>QP}),ZP={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function QP(e,t){return y(),N(`svg`,ZP,[...t[0]||=[P(`path`,{fill:`#E0234E`,"fill-rule":`evenodd`,d:`M13.776 2.04c-.144 0-.279.03-.403.071.264.176.409.409.48.672.006.036.016.062.021.098q.009.046.01.093c.021.455-.118.511-.216.78-.15.346-.109.718.072 1.017a.6.6 0 0 0 .062.114c-.196-1.307.894-1.503 1.095-1.91.016-.357-.279-.595-.511-.76a1.14 1.14 0 0 0-.61-.176Zm1.643.294c-.021.118-.005.087-.01.15-.006.04-.006.092-.01.134q-.016.063-.037.124a1 1 0 0 1-.042.124c-.02.041-.035.077-.056.118-.016.021-.026.042-.042.062l-.03.047a2 2 0 0 1-.078.103c-.03.031-.057.067-.093.093v.005c-.031.026-.062.057-.098.083-.108.082-.233.145-.346.222-.036.026-.073.046-.103.078a1 1 0 0 0-.099.082c-.036.031-.062.062-.093.098-.025.031-.056.067-.077.104q-.039.052-.072.108c-.021.041-.036.077-.057.119-.016.041-.031.077-.042.119a2 2 0 0 0-.036.129c-.005.02-.005.046-.01.067-.005.02-.005.041-.01.062 0 .041-.005.088-.005.129q-.001.046.005.093 0 .06.015.13.01.06.026.123l.041.124c.01.026.026.052.037.072l-1.188-.46a13 13 0 0 0-.6-.154l-.325-.078a10 10 0 0 0-.94-.14c-.01 0-.016-.004-.026-.004a9 9 0 0 0-1.601-.021c-.315.02-.63.062-.945.114q-.116.017-.233.04-.232.048-.465.104l-.232.062c-.077.031-.15.067-.222.098l-.17.078c-.01.005-.021.005-.026.01-.052.026-.098.047-.145.073a2 2 0 0 0-.196.098c-.036.015-.072.036-.104.051a3 3 0 0 0-.305.18c-.035.027-.071.048-.103.073-.005.005-.01.005-.015.01a1 1 0 0 0-.098.073l-.01.01-.078.062c-.01.005-.02.016-.03.02l-.078.068c-.006.01-.016.016-.021.02-.031.032-.062.058-.093.088-.005 0-.005.006-.01.011a2 2 0 0 0-.094.088c-.005.005-.005.01-.01.01a1 1 0 0 0-.077.083c-.01.01-.026.02-.036.03q-.04.047-.088.094c-.005.01-.016.015-.02.025-.042.042-.078.083-.12.124l-.015.016q-.123.134-.264.253-.14.125-.289.227a3.2 3.2 0 0 1-.635.351 4 4 0 0 1-.336.124c-.217.047-.439.135-.63.15-.041 0-.088.01-.129.016l-.129.03-.124.047a1 1 0 0 0-.124.057c-.036.026-.077.046-.114.072a1 1 0 0 0-.103.088 1 1 0 0 0-.103.093c-.031.036-.062.067-.088.103-.026.042-.057.078-.078.12a1 1 0 0 0-.072.118q-.032.067-.057.134l-.046.134a1 1 0 0 0-.026.124c0 .006-.005.011-.005.016-.01.047-.01.108-.016.14q-.009.05-.01.103a.5.5 0 0 0 .026.165q.014.046.036.093v.005a1 1 0 0 0 .057.093 1 1 0 0 0 .067.093q.042.044.088.083.045.045.098.082c.124.109.155.145.315.228q.038.02.083.041c.005 0 .01.005.015.005q-.001.013.005.026.01.062.026.124a1 1 0 0 0 .041.124c.016.03.026.062.042.093q.007.016.015.026l.062.113.078.109q.042.051.088.098.045.043.098.088s.005.005.01.005a1 1 0 0 0 .207.14 1 1 0 0 0 .118.056.6.6 0 0 0 .104.036c.005.005.01.005.02.01.021.006.047.011.068.016-.016.279-.021.543.02.635.047.104.274-.211.501-.573-.03.357-.051.775 0 .899.057.129.367-.274.636-.718 3.662-.847 7.003 1.684 7.354 5.258-.067-.558-.754-.868-1.069-.79-.155.382-.418.873-.841 1.177.037-.345.02-.693-.052-1.033a3.3 3.3 0 0 1-.64 1.302c-.491.036-.982-.202-1.24-.558-.02-.015-.026-.046-.042-.067a1 1 0 0 1-.04-.108.4.4 0 0 1-.032-.109q-.006-.052-.005-.114v-.077a1 1 0 0 1 .026-.109 1 1 0 0 1 .036-.108c.02-.036.036-.072.062-.108.088-.248.088-.45-.072-.569a.6.6 0 0 0-.099-.051c-.02-.006-.046-.016-.067-.021l-.041-.015a1 1 0 0 0-.109-.026.4.4 0 0 0-.108-.016 1 1 0 0 0-.114-.01c-.025 0-.051.005-.077.005a.4.4 0 0 0-.114.015q-.054.007-.108.021a1 1 0 0 0-.109.036l-.103.047c-.03.015-.062.036-.098.052-1.203.784-.486 2.623.336 3.155-.31.057-.625.124-.713.191l-.01.01q.334.202.697.347.415.134.837.248v.005a5 5 0 0 0 1.301.093c2.288-.16 4.163-1.9 4.504-4.194l.031.134c.015.093.036.191.046.29v.005q.014.07.021.134v.02q.009.072.01.135.01.085.01.17v.083c0 .026.006.057.006.083 0 .03-.005.062-.005.093v.072c0 .036-.005.067-.005.103q.001.029-.006.067c0 .036-.005.073-.005.114q-.006.022-.005.046l-.015.12q.001.022-.005.046c-.006.051-.016.098-.021.15v.01c-.01.046-.02.098-.031.144v.016l-.031.14c0 .005-.005.015-.005.02a1 1 0 0 1-.036.14v.015q-.025.076-.042.145-.006.009-.005.01l-.046.155c-.021.052-.037.098-.057.15s-.036.103-.057.15l-.062.15h-.005c-.021.046-.041.097-.067.144l-.016.036c-.005.005-.005.01-.01.015a4.9 4.9 0 0 1-1.451 1.736q-.063.04-.125.088c-.01.01-.026.015-.036.026q-.053.038-.113.077l.015.031h.005l.217-.03h.005q.202-.033.403-.073a1 1 0 0 0 .114-.026l.072-.015c.036-.006.072-.016.109-.021.03-.01.062-.016.093-.026a10 10 0 0 0 1.497-.496 8.3 8.3 0 0 1-3.207 2.619 8.5 8.5 0 0 0 1.761-.305 8.25 8.25 0 0 0 4.881-3.9 8.2 8.2 0 0 1-1.39 3.321c.501-.33.964-.714 1.38-1.146a8.2 8.2 0 0 0 2.174-4.39c.177.817.227 1.657.15 2.49 3.73-5.202.31-10.594-1.12-12.015-.006-.01-.01-.015-.01-.026-.006.006-.006.006-.006.011 0-.005 0-.005-.005-.01q-.002.092-.01.186a7 7 0 0 1-.052.345 8 8 0 0 1-.088.341 4 4 0 0 1-.124.33q-.072.162-.155.316a4 4 0 0 1-.398.573c-.077.093-.16.176-.242.259a3 3 0 0 1-.15.129l-.12.103c-.092.072-.185.14-.288.201a4 4 0 0 1-.305.176 9 9 0 0 1-.325.145 3.6 3.6 0 0 1-.682.186c-.12.02-.238.03-.351.04a4 4 0 0 1-.248.011c-.12 0-.238-.01-.351-.02a3 3 0 0 1-.352-.052 3 3 0 0 1-.346-.088h-.005c.114-.01.227-.02.341-.041a3.7 3.7 0 0 0 1.317-.501q.148-.099.29-.207.138-.108.263-.232c.087-.078.165-.165.242-.253q.117-.14.217-.28c.01-.015.02-.035.031-.05q.08-.125.15-.249a3.6 3.6 0 0 0 .367-.981c.02-.119.041-.233.052-.346.01-.119.02-.238.02-.351q-.001-.125-.01-.248-.017-.178-.041-.346a4 4 0 0 0-.078-.346c-.036-.109-.072-.222-.114-.331a3.5 3.5 0 0 0-.527-.91 11 11 0 0 0-.237-.262 3 3 0 0 0-.134-.13 9 9 0 0 0-.718-.506 1 1 0 0 0-.104-.051 2 2 0 0 0-.49-.217`,"clip-rule":`evenodd`},null,-1)]])}var $P={render:QP},eF=U({default:()=>rF,render:()=>nF}),tF={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function nF(e,t){return y(),N(`svg`,tF,[...t[0]||=[P(`path`,{fill:`currentColor`,d:`M11.345 2.005c-.043.004-.18.018-.303.028-2.84.256-5.501 1.788-7.187 4.144a9.9 9.9 0 0 0-1.765 4.369c-.08.549-.09.711-.09 1.456s.01.907.09 1.456c.543 3.755 3.216 6.91 6.84 8.08.65.208 1.334.351 2.112.437.303.033 1.613.033 1.916 0 1.343-.149 2.48-.48 3.603-1.053.172-.088.205-.112.182-.131a191 191 0 0 1-1.629-2.184l-1.599-2.16-2.004-2.965a284 284 0 0 0-2.017-2.964 161 161 0 0 0-.02 2.925c-.006 2.816-.008 2.93-.043 2.996a.36.36 0 0 1-.172.178c-.063.031-.117.037-.412.037h-.339l-.09-.056a.4.4 0 0 1-.13-.143l-.042-.088.004-3.92.006-3.92.06-.077a.5.5 0 0 1 .145-.12c.08-.038.112-.042.45-.042.399 0 .465.016.569.129.03.031 1.114 1.665 2.412 3.634l3.946 5.975 1.583 2.399.08-.053a10.3 10.3 0 0 0 2.055-1.802 9.95 9.95 0 0 0 2.354-5.112c.08-.549.09-.711.09-1.456s-.01-.907-.09-1.456c-.543-3.755-3.216-6.91-6.84-8.08a10.5 10.5 0 0 0-2.083-.435c-.187-.02-1.48-.041-1.642-.026m4.094 6.048c.094.047.17.137.197.231.016.05.02 1.138.016 3.587l-.006 3.515-.62-.95-.621-.95V10.93c0-1.652.008-2.58.02-2.625a.4.4 0 0 1 .193-.247c.08-.04.11-.045.416-.045.29 0 .34.004.405.04`},null,-1)]])}var rF={render:nF},iF=U({default:()=>sF,render:()=>oF}),aF={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function oF(e,t){return y(),N(`svg`,aF,[...t[0]||=[Xe(`<path fill="url(#a)" fill-rule="evenodd" d="M19.608 5.51C16.023 1.308 9.712.808 5.51 4.392 1.308 7.977.808 14.288 4.392 18.49c3.585 4.202 9.896 4.702 14.098 1.118 4.202-3.585 4.702-9.896 1.118-14.098m-4.982 5.249c.385 0 .631.417.438.75l-.056.096-3.774 6.21a.39.39 0 0 1-.33.185h-.36a.378.378 0 0 1-.366-.472l1.024-3.959a.5.5 0 0 0-.484-.625H9.145a.5.5 0 0 1-.484-.625l1.545-5.978a.46.46 0 0 1 .448-.34l.067.001h1.584a.5.5 0 0 1 .496.568l-.01.071-.604 3.533a.5.5 0 0 0 .493.585z" clip-rule="evenodd"></path><defs><radialGradient id="a" cx="0" cy="0" r="1" gradientTransform="matrix(19.5 0 0 198.851 4 12)" gradientUnits="userSpaceOnUse"><stop stop-color="#31B2F3"></stop><stop offset=".474" stop-color="#F27CEC"></stop><stop offset="1" stop-color="#FD6641"></stop></radialGradient></defs>`,2)]])}var sF={render:oF},cF=U({default:()=>dF,render:()=>uF}),lF={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function uF(e,t){return y(),N(`svg`,lF,[...t[0]||=[P(`path`,{fill:`#00DC82`,d:`M13.32 19.333h8.14c.26 0 .508-.09.733-.22.226-.129.457-.29.587-.513s.22-.476.22-.733c0-.258-.09-.51-.22-.734l-5.5-9.46a1.34 1.34 0 0 0-.513-.513 1.8 1.8 0 0 0-.807-.22c-.26 0-.508.09-.733.22-.216.12-.393.298-.514.513l-1.393 2.42L10.533 5.4c-.13-.223-.288-.458-.513-.587s-.474-.146-.733-.146c-.26 0-.509.018-.734.146-.24.146-.441.347-.586.587l-6.82 11.733c-.13.223-.147.476-.147.734 0 .257.017.51.147.733s.361.384.586.513c.225.13.474.22.734.22H7.6c2.034 0 3.515-.912 4.547-2.64l2.493-4.326 1.32-2.274 4.033 6.894H14.64zm-5.793-2.346H3.933l5.354-9.24L12 12.367l-1.797 3.132c-.687 1.122-1.468 1.488-2.676 1.488`},null,-1)]])}var dF={render:uF},fF=U({default:()=>hF,render:()=>mF}),pF={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function mF(e,t){return y(),N(`svg`,pF,[...t[0]||=[Xe(`<path fill="#93D500" d="M7.285 13.5H2.007l.003.077.009.15.004.063.014.171.004.039a8.8 8.8 0 0 0 .387 1.871q0 .005.003.011l.058.173.016.044.08.216.048.124a5 5 0 0 0 .078.189l.052.117.031.07.066.14.022.046.079.16.012.024q.045.088.093.175l.004.008.02.036 4.508-2.715.017-.01a3.6 3.6 0 0 1-.33-1.179"></path><path fill="#4D5A31" d="m8.582 15.923-.013.013-3.717 3.717.057.053.105.094.055.048.127.107.034.029a8 8 0 0 0 .324.254l.006.004q.336.252.695.47l.025.016.137.08.084.048.08.045q.072.04.145.078a8 8 0 0 0 .431.21l.132-.32 1.87-4.54.007-.017a3.6 3.6 0 0 1-.584-.389"></path><path fill="#6BA43A" d="M8.195 15.553a3 3 0 0 1-.212-.262 4 4 0 0 1-.2-.296L3.27 17.713q.104.174.215.338l.007.012.003.005.007.01v.002l.019.026.001.002q.119.174.242.342l.006.007.005.007.11.142.015.019q.057.073.117.145l.028.034.155.181.094.105.053.058.024.026.07.075.028.03.125.127 3.723-3.723a3 3 0 0 1-.122-.13"></path><path fill="#4D5A31" d="m13.13 15.921-.124.096.009.016 2.714 4.506a8 8 0 0 0 1.134-.886l-3.718-3.717z"></path><path fill="#93D500" d="m15.335 20.576-.092-.153-2.534-4.206a4 4 0 0 1-.316.167 3.6 3.6 0 0 1-2.567.2c-.057-.017-.113-.04-.169-.06s-.113-.037-.168-.06L7.62 21.003l-.073.178-.063.152.014.006.016.006.004.002.133.05.167.065.085.032a9 9 0 0 0 1.88.442l.075.008.142.016.036.003.174.014.06.004.153.01.094.003.122.004.217.003a9 9 0 0 0 1.495-.126l.154-.028.088-.017.09-.02.15-.032.028-.007a9 9 0 0 0 2.124-.791l.13-.074.157-.088.107-.06.001-.001.002-.001h.001l.001-.001.002-.001.006-.004.034-.02zm-6.75-10.21.123-.097-.009-.015-2.714-4.506q-.189.123-.372.256a9 9 0 0 0-.762.629L8.57 10.35z"></path><path fill="#4D5A31" d="M4.594 6.88q-.064.065-.124.13l-.123.128a9 9 0 0 0-.753.933l-.032.046-.076.112-.104.16a8.83 8.83 0 0 0-1.375 4.397l-.005.178-.003.179h5.266q.002-.09.008-.179c.006-.089.004-.119.01-.178a3.57 3.57 0 0 1 .794-1.917q.059-.069.12-.133c.04-.044.077-.09.12-.133L4.594 6.881Zm10.864-1.306q-.01-.008-.021-.013l-.14-.083-.082-.047-.082-.046-.143-.077-.023-.012a9 9 0 0 0-.95-.426l-.024-.01a9 9 0 0 0-1.987-.498l-.074-.01-.075-.008-.143-.016-.04-.004-.17-.014-.066-.004-.146-.009-.078-.003v5.278c.27.028.54.086.8.174l3.884-3.884a9 9 0 0 0-.44-.288"></path><path fill="#6BA43A" d="M10.679 4.29q-.09 0-.179.003a9 9 0 0 0-1.113.115l-.024.004-.155.029-.087.016a6 6 0 0 0-.24.052l-.028.006a9 9 0 0 0-2.125.792l-.13.074-.156.087-.115.066h-.002l-.008.005-.03.017v.001l.093.153 2.625 4.359a4 4 0 0 1 .316-.167 3.6 3.6 0 0 1 1.536-.35V4.285q-.09.001-.178.004Z"></path><path fill="#4D5A31" d="M19.704 12.708a10 10 0 0 0-.05-.61l-.002-.014-.001-.007-.027-.201v-.006a9 9 0 0 0-.273-1.245l-.002-.008-.059-.19-.008-.025-.057-.17-.016-.046-.054-.147-.027-.07a5 5 0 0 0-.086-.216l-.04-.094-.052-.12-.03-.068-.066-.142-.021-.043-.08-.162-.012-.022-.093-.177-.003-.006a9 9 0 0 0-.504-.818l-3.886 3.886q.132.392.174.8h5.278q0-.04-.003-.08Z"></path><path fill="#6BA43A" d="M14.45 13.143q-.002.09-.01.179-.001.09-.01.178a3.57 3.57 0 0 1-.793 1.918c-.037.046-.08.088-.12.133-.04.044-.077.09-.12.132l3.723 3.723q.063-.064.124-.13l.123-.128q.415-.448.754-.935l.027-.039.082-.12.07-.108.034-.052a8.83 8.83 0 0 0 1.377-4.573l.003-.178z"></path><path fill="#424143" d="M21.279 2.722a2.467 2.467 0 0 0-3.953 2.84l-5.374 5.373a2.467 2.467 0 1 0 1.114 1.113l5.373-5.373a2.466 2.466 0 0 0 2.84-3.953"></path>`,10)]])}var hF={render:mF},gF=U({default:()=>yF,render:()=>vF}),_F={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function vF(e,t){return y(),N(`svg`,_F,[...t[0]||=[P(`path`,{stroke:`#21FA90`,"stroke-linecap":`round`,"stroke-linejoin":`round`,d:`M5.038 13.757v3.814m1.496-4.566 3.04 1.761 4.534-2.627V6.885L9.574 4.258 5.038 6.885v4.56m1.496 1.56v1.668m0-1.668 1.49-.91`},null,-1),P(`path`,{stroke:`#00050B`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`.885`,d:`m21.719 10.719 1.839 1.09v1.09l-1.84 1.091M2.834 8.13.774 9.322v5.326l2.016 1.167m3.744 1.07v1.183l3.021 1.674 2.32-1.358-.02-2.471m2.282-1.387v1.3L16.31 17.1l3.175-1.9v-5.186L16.36 8.217`},null,-1)]])}var yF={render:vF},bF=U({default:()=>CF,render:()=>SF}),xF={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function SF(e,t){return y(),N(`svg`,xF,[...t[0]||=[P(`path`,{fill:`#61DAFB`,d:`M12.5 14.014a1.783 1.783 0 1 0 0-3.565 1.783 1.783 0 0 0 0 3.565`},null,-1),P(`path`,{stroke:`#61DAFB`,"stroke-width":`.87`,d:`M12.5 15.884c5.283 0 9.565-1.635 9.565-3.652S17.783 8.58 12.5 8.58s-9.565 1.635-9.565 3.652 4.282 3.652 9.565 3.652Z`},null,-1),P(`path`,{stroke:`#61DAFB`,"stroke-width":`.87`,d:`M9.337 14.058c2.642 4.575 6.199 7.466 7.946 6.457 1.746-1.008 1.021-5.534-1.62-10.11C13.02 5.832 9.464 2.94 7.717 3.949s-1.021 5.535 1.62 10.11Z`},null,-1),P(`path`,{stroke:`#61DAFB`,"stroke-width":`.87`,d:`M9.337 10.406c-2.641 4.575-3.366 9.1-1.62 10.11 1.747 1.008 5.304-1.883 7.946-6.458s3.366-9.101 1.62-10.11c-1.747-1.009-5.305 1.883-7.946 6.458Z`},null,-1)]])}var CF={render:SF},wF=U({default:()=>DF,render:()=>EF}),TF={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function EF(e,t){return y(),N(`svg`,TF,[...t[0]||=[P(`path`,{fill:`currentColor`,d:`m21.863 11.755-.839-.52-.024-.244.722-.673a.288.288 0 0 0-.096-.482l-.923-.345-.072-.239.575-.799a.288.288 0 0 0-.187-.455l-.973-.158-.117-.218.409-.897a.286.286 0 0 0-.273-.409l-.987.034-.157-.188.228-.962a.287.287 0 0 0-.348-.348l-.96.227-.19-.157.034-.986a.287.287 0 0 0-.409-.273l-.897.409-.218-.118-.158-.972a.288.288 0 0 0-.454-.189l-.8.575-.238-.071-.345-.923a.288.288 0 0 0-.482-.096L13.01 3l-.245-.023-.52-.84a.29.29 0 0 0-.49 0l-.52.84q-.123.01-.245.023l-.673-.722a.29.29 0 0 0-.482.096l-.345.923q-.12.034-.237.072l-.8-.576a.288.288 0 0 0-.455.188l-.158.973q-.11.057-.22.118l-.895-.41a.287.287 0 0 0-.409.273l.034.988-.19.156-.96-.227a.29.29 0 0 0-.348.348l.227.962-.157.188-.987-.034a.288.288 0 0 0-.273.409l.409.897a7 7 0 0 0-.117.22l-.972.156a.288.288 0 0 0-.189.455l.575.8-.071.237-.923.346a.29.29 0 0 0-.096.482L3 10.99l-.024.244-.84.52a.29.29 0 0 0 0 .492l.84.519q.01.123.025.245l-.723.673a.29.29 0 0 0 .096.482l.922.345q.035.12.073.237l-.576.8a.29.29 0 0 0 .188.454l.973.158q.056.11.117.22l-.41.896a.288.288 0 0 0 .274.409l.987-.035q.076.096.156.19l-.227.961a.287.287 0 0 0 .348.347l.961-.226.19.156-.035.987a.288.288 0 0 0 .41.273l.896-.41q.108.06.219.119l.158.971a.288.288 0 0 0 .455.19l.799-.577q.118.038.237.072l.345.923a.287.287 0 0 0 .482.096L10.99 21q.121.014.244.025l.52.839a.29.29 0 0 0 .492 0l.519-.84q.123-.01.245-.024l.674.722a.287.287 0 0 0 .48-.096l.346-.923q.12-.034.238-.072l.8.576a.29.29 0 0 0 .454-.189l.158-.972.219-.117.896.409a.288.288 0 0 0 .41-.273l-.035-.988a7 7 0 0 0 .19-.155l.96.226a.287.287 0 0 0 .348-.347l-.226-.961.155-.19.988.035a.29.29 0 0 0 .272-.41l-.409-.896q.06-.108.117-.219l.973-.158a.287.287 0 0 0 .188-.454l-.575-.8.072-.237.922-.345a.286.286 0 0 0 .096-.482L21 13.011l.025-.245.839-.52a.29.29 0 0 0 0-.49Zm-5.619 6.965a.595.595 0 0 1 .25-1.163.595.595 0 0 1-.25 1.163m-.286-1.93a.54.54 0 0 0-.642.417l-.299 1.391a7.3 7.3 0 0 1-3.017.65c-1.1 0-2.144-.243-3.08-.679l-.299-1.39a.54.54 0 0 0-.643-.417l-1.228.263a7 7 0 0 1-.635-.748h5.976c.068 0 .113-.012.113-.074V14.09c0-.062-.046-.074-.113-.074h-1.747v-1.34h1.89c.172 0 .922.049 1.162 1.007.075.295.24 1.254.352 1.561.113.344.57 1.032 1.059 1.032h2.977a1 1 0 0 0 .108-.01q-.31.421-.677.794l-1.256-.27Zm-8.265 1.9a.594.594 0 1 1-.014-1.17.594.594 0 0 1 .014 1.171ZM5.427 9.5a.594.594 0 1 1-1.086.481.594.594 0 0 1 1.086-.481m-.697 1.65 1.28-.569a.543.543 0 0 0 .274-.715l-.263-.597h1.036v4.672h-2.09a7.3 7.3 0 0 1-.237-2.792Zm5.614-.454V9.32h2.468c.128 0 .9.148.9.725 0 .48-.592.652-1.08.652zm8.969 1.24q0 .273-.02.542h-.75c-.076 0-.106.05-.106.123v.345c0 .81-.457.987-.858 1.032-.381.043-.805-.16-.857-.394-.225-1.265-.6-1.536-1.192-2.003.735-.467 1.5-1.155 1.5-2.077 0-.996-.683-1.623-1.148-1.93-.652-.43-1.375-.517-1.57-.517h-7.76a7.3 7.3 0 0 1 4.091-2.308l.915.959a.54.54 0 0 0 .765.018l1.024-.98a7.32 7.32 0 0 1 5.006 3.566l-.7 1.583a.543.543 0 0 0 .275.715l1.35.6q.034.357.035.726m-7.754-8.004a.595.595 0 1 1 .82.86.595.595 0 0 1-.82-.86m6.951 5.595a.594.594 0 1 1 1.086.481.594.594 0 0 1-1.086-.481`},null,-1)]])}var DF={render:EF},OF=U({default:()=>jF,render:()=>AF}),kF={xmlns:`http://www.w3.org/2000/svg`,fill:`green`,viewBox:`-2 0 24 24`};function AF(e,t){return y(),N(`svg`,kF,[...t[0]||=[P(`path`,{fill:`#FF3E00`,d:`M18.664 3.171c-2.219-3.185-6.61-4.13-9.788-2.104L3.29 4.625A6.42 6.42 0 0 0 .398 8.917a6.74 6.74 0 0 0 .666 4.332 6.4 6.4 0 0 0-.959 2.369 6.85 6.85 0 0 0 1.166 5.175c2.219 3.194 6.61 4.137 9.782 2.11l5.586-3.557a6.42 6.42 0 0 0 2.892-4.292 6.74 6.74 0 0 0-.666-4.332 6.4 6.4 0 0 0 .959-2.369 6.94 6.94 0 0 0-1.16-5.182`},null,-1),P(`path`,{fill:`#fff`,d:`M8.327 21.099a4.435 4.435 0 0 1-4.76-1.75 4.16 4.16 0 0 1-.7-3.122q.05-.261.133-.517l.105-.318.286.182a7.1 7.1 0 0 0 2.186 1.095l.208.063-.02.201c-.025.293.055.585.223.83a1.305 1.305 0 0 0 1.779.379l5.581-3.521a1.18 1.18 0 0 0 .524-.783 1.23 1.23 0 0 0-.211-.923 1.305 1.305 0 0 0-1.78-.379l-2.12 1.35q-.53.321-1.135.488a4.435 4.435 0 0 1-4.76-1.75 4.16 4.16 0 0 1-.7-3.122 3.84 3.84 0 0 1 1.736-2.573l5.581-3.559a4.3 4.3 0 0 1 1.134-.485 4.435 4.435 0 0 1 4.76 1.751c.641.908.893 2.03.7 3.122a4 4 0 0 1-.132.517l-.105.318-.287-.182a7.1 7.1 0 0 0-2.186-1.095l-.207-.063.019-.202a1.27 1.27 0 0 0-.223-.83 1.305 1.305 0 0 0-1.779-.378L6.6 9.363a1.18 1.18 0 0 0-.523.783c-.056.323.019.655.21.923a1.305 1.305 0 0 0 1.78.38l2.121-1.35c.352-.214.732-.38 1.134-.485a4.435 4.435 0 0 1 4.76 1.75 4.16 4.16 0 0 1 .7 3.122 3.8 3.8 0 0 1-1.736 2.563l-5.58 3.559c-.353.214-.732.38-1.135.489`},null,-1)]])}var jF={render:AF},MF=U({default:()=>FF,render:()=>PF}),NF={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function PF(e,t){return y(),N(`svg`,NF,[...t[0]||=[P(`path`,{fill:`#41B883`,d:`m14.31 4.34-2.31 4-2.31-4H2l10 17.32L22 4.34z`},null,-1),P(`path`,{fill:`#34495E`,d:`m14.31 4.34-2.31 4-2.31-4H6l6 10.392L18 4.34z`},null,-1)]])}var FF={render:PF},IF=Object.assign({"../icons/Add.svg":ece,"../icons/AddTab.svg":rce,"../icons/Alert.svg":oce,"../icons/ArrowLeft.svg":lce,"../icons/ArrowRight.svg":fce,"../icons/Brackets.svg":JT,"../icons/Branch.svg":QT,"../icons/Changelog.svg":nE,"../icons/Checkmark.svg":oE,"../icons/ChevronDown.svg":uE,"../icons/ChevronLeft.svg":mE,"../icons/ChevronRight.svg":vE,"../icons/ChevronUp.svg":SE,"../icons/Clipboard.svg":EE,"../icons/Close.svg":AE,"../icons/CloseTab.svg":PE,"../icons/CloseTabs.svg":RE,"../icons/Cloud.svg":HE,"../icons/CodeFolder.svg":KE,"../icons/Cog.svg":XE,"../icons/Collection.svg":eD,"../icons/Cookie.svg":iD,"../icons/DarkMode.svg":cD,"../icons/Delete.svg":fD,"../icons/Discord.svg":gD,"../icons/DocsPage.svg":bD,"../icons/Download.svg":wD,"../icons/Duplicate.svg":OD,"../icons/Edit.svg":MD,"../icons/Ellipses.svg":ID,"../icons/Email.svg":BD,"../icons/Error.svg":WD,"../icons/Example.svg":JD,"../icons/ExternalLink.svg":QD,"../icons/FilterList.svg":nO,"../icons/Folder.svg":oO,"../icons/GitHub.svg":uO,"../icons/GitHubLine.svg":mO,"../icons/Globe.svg":vO,"../icons/Google.svg":SO,"../icons/Help.svg":EO,"../icons/Hide.svg":AO,"../icons/History.svg":PO,"../icons/House.svg":RO,"../icons/Import.svg":HO,"../icons/Info.svg":KO,"../icons/Key.svg":XO,"../icons/Leave.svg":ek,"../icons/LightDarkModeToggle.svg":ik,"../icons/LightMode.svg":ck,"../icons/Link.svg":fk,"../icons/Lock.svg":gk,"../icons/Logo.svg":bk,"../icons/Magic.svg":wk,"../icons/Markdown.svg":Ok,"../icons/Menu.svg":Mk,"../icons/NotAllowed.svg":Ik,"../icons/Page.svg":Bk,"../icons/Pencil.svg":Wk,"../icons/Play.svg":Jk,"../icons/Refresh.svg":Qk,"../icons/Roadmap.svg":nA,"../icons/Scribble.svg":oA,"../icons/Search.svg":uA,"../icons/Server.svg":mA,"../icons/Settings.svg":vA,"../icons/Show.svg":SA,"../icons/Sort.svg":EA,"../icons/Terminal.svg":AA,"../icons/Trash.svg":PA,"../icons/Unlock.svg":RA,"../icons/Unwatch.svg":HA,"../icons/Upload.svg":KA,"../icons/User.svg":XA,"../icons/UserSwitch.svg":ej,"../icons/Users.svg":ij,"../icons/Versions.svg":cj,"../icons/Wallet.svg":fj,"../icons/Watch.svg":gj,"../icons/Workspace.svg":bj,"../icons/programming-framework-angular.svg":wj,"../icons/programming-framework-astro.svg":Oj,"../icons/programming-framework-laravel.svg":Mj,"../icons/programming-framework-nextdotjs.svg":Ij,"../icons/programming-framework-react.svg":Bj,"../icons/programming-framework-vuedotjs.svg":Wj,"../icons/programming-language-c.svg":Jj,"../icons/programming-language-clojure.svg":Qj,"../icons/programming-language-csharp.svg":nM,"../icons/programming-language-css3.svg":oM,"../icons/programming-language-dart.svg":uM,"../icons/programming-language-fsharp.svg":mM,"../icons/programming-language-go.svg":vM,"../icons/programming-language-html5.svg":SM,"../icons/programming-language-http.svg":EM,"../icons/programming-language-java.svg":AM,"../icons/programming-language-javascript.svg":PM,"../icons/programming-language-json.svg":RM,"../icons/programming-language-kotlin.svg":HM,"../icons/programming-language-node.svg":KM,"../icons/programming-language-objc.svg":XM,"../icons/programming-language-ocaml.svg":eN,"../icons/programming-language-php.svg":iN,"../icons/programming-language-powershell.svg":cN,"../icons/programming-language-python.svg":fN,"../icons/programming-language-r.svg":gN,"../icons/programming-language-ruby.svg":bN,"../icons/programming-language-rust.svg":wN,"../icons/programming-language-scala.svg":ON,"../icons/programming-language-shell.svg":MN,"../icons/programming-language-swift.svg":IN,"../icons/programming-language-typescript.svg":BN,"../icons/programming-script-code.svg":WN,"../icons/programming-tool-git.svg":JN,"../icons/programming-tool-tailwindcss.svg":QN}),LF=Object.assign({"../logos/Adonisjs.svg":nP,"../logos/Astro.svg":oP,"../logos/Docusaurus.svg":uP,"../logos/Dotnet.svg":mP,"../logos/Elysiajs.svg":vP,"../logos/Express.svg":SP,"../logos/Fastapi.svg":EP,"../logos/Fastify.svg":AP,"../logos/Go.svg":PP,"../logos/Hono.svg":RP,"../logos/Laravel.svg":HP,"../logos/Litestar.svg":KP,"../logos/Nestjs.svg":XP,"../logos/Nextjs.svg":eF,"../logos/Nitro.svg":iF,"../logos/Nuxt.svg":cF,"../logos/Openapi.svg":fF,"../logos/Platformatic.svg":gF,"../logos/React.svg":bF,"../logos/Rust.svg":wF,"../logos/Svelte.svg":OF,"../logos/Vue.svg":MF}),RF=e=>{let t=`../icons/${e}.svg`;return IF[t]?IF[t]:(console.warn(`Could not find icon: ${e}`),null)},zF=e=>{let t=`../logos/${e}.svg`;return LF[t]?LF[t]:(console.warn(`Could not find icon: ${e}`),null)},BF=yc({variants:{size:{xs:`size-3`,sm:`size-3.5`,md:`size-4`,lg:`size-5`,xl:`size-6`,"2xl":`size-8`,"3xl":`size-10`,full:`size-full`}},defaultVariants:{size:`full`}}),VF=BT(T({inheritAttrs:!1,__name:`ScalarIcon`,props:{icon:{},logo:{},size:{},thickness:{},label:{}},setup(e){Xt(e=>({c07589c2:r.value}));let t=e,{cx:n}=xc(),r=M(()=>t.thickness??`2`),i=M(()=>t.label?{"aria-label":t.label}:{"aria-hidden":!0,role:`presentation`}),a=M(()=>{if(t.icon)return RF(t.icon);if(t.logo)return zF(t.logo)});return(t,r)=>(y(),k(te(a.value),Ge(Qe({...E(n)(`scalar-icon`,E(BF)({size:e.size})),...i.value})),null,16))}}),[[`__scopeId`,`data-v-b651bb23`]]),HF=T({inheritAttrs:!1,__name:`ScalarIconLegacyAdapter`,props:{icon:{type:[Object,Function]},label:{},weight:{},logo:{},size:{},thickness:{}},setup(e){let{cx:t}=xc();return(n,r)=>typeof e.icon==`string`?(y(),k(VF,o({key:0},{...n.$props,...n.$attrs},{icon:e.icon}),null,16,[`icon`])):(y(),k(te(e.icon),o({key:1,label:e.label,weight:e.weight},E(t)(E(BF)({size:e.size}))),null,16,[`label`,`weight`]))}}),UF={class:`circular-loader`},WF=BT(T({inheritAttrs:!1,__name:`ScalarLoading`,props:{loader:{},size:{}},setup(e){let{cx:t}=xc(),n=yc({variants:{size:{xs:`size-3`,sm:`size-3.5`,md:`size-4`,lg:`size-5`,xl:`size-6`,"2xl":`size-8`,"3xl":`size-10`,full:`size-full`}},defaultVariants:{size:`full`}});return(r,i)=>e.loader?(y(),N(`div`,Ge(o({key:0},E(t)(`loader-wrapper`,E(n)({size:e.size})))),[(y(),N(`svg`,{class:v([`svg-loader`,{"icon-is-valid":e.loader.isValid,"icon-is-invalid":e.loader.isInvalid}]),viewBox:`0 0 100 100`,xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`},[i[0]||=Xe(`<path class="svg-path svg-check-mark" d="m 0 60 l 30 30 l 70 -80" data-v-27df5cd8></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 -40" data-v-27df5cd8></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 40" data-v-27df5cd8></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 -40" data-v-27df5cd8></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 40" data-v-27df5cd8></path>`,5),P(`g`,UF,[P(`circle`,{class:v([`loader-path`,{"loader-path-off":!e.loader.isLoading}]),cx:`50`,cy:`50`,fill:`none`,r:`20`,"stroke-width":`3`},null,2)])],2))],16)):A(``,!0)}}),[[`__scopeId`,`data-v-27df5cd8`]]),GF={solid:[`scalar-button-solid`,`bg-b-btn text-c-btn focus-visible:border-c-btn active:bg-b-btn hover:bg-h-btn outline-offset-1`],outlined:[`scalar-button-outlined`,`active:bg-btn-1 shadow-border bg-b-1 text-c-1 hover:bg-b-2`],ghost:[`scalar-button-ghost`,`bg-transparent text-c-2 active:text-c-1 hover:text-c-1`],gradient:[`scalar-button-gradient`,`shadow-border bg-b-1.5 bg-linear-to-b from-b-1 to-b-2 hover:bg-linear-to-t`,`dark:bg-linear-to-t dark:hover:bg-linear-to-b`],danger:[`scalar-button-danger`,`bg-c-danger text-white active:brightness-90 hover:brightness-90`]},KF={key:3,class:`centered`},qF=T({inheritAttrs:!1,__name:`ScalarButton`,props:{is:{default:`button`},variant:{default:`solid`},size:{default:`md`},disabled:{type:Boolean},icon:{type:[Object,Function]},loader:{}},setup(e){let t=yc({base:`scalar-button flex cursor-pointer items-center justify-center rounded font-medium -outline-offset-1`,variants:{disabled:{true:`bg-b-2 text-color-3 shadow-none`},size:{xs:`px-2 py-1 text-xs/4`,sm:`px-3.5 py-2 text-sm/4`,md:`px-5 py-3 text-sm/4`},variant:GF},compoundVariants:[{disabled:!0,variant:[`solid`,`outlined`,`ghost`,`gradient`,`danger`],class:`bg-b-2 text-c-3 shadow-none hover:bg-b-[_] cursor-not-allowed active:bg-b-[_] hover:text-c-[_] active:text-c-[_]`},{disabled:!0,variant:[`gradient`],class:`to-b-1.5 bg-linear-to-b hover:bg-linear-to-b dark:hover:bg-linear-to-t`}]}),n=yc({base:`shrink-0`,variants:{size:{xs:`size-2.75 -ml-0.25 mr-1`,sm:`size-3.5 -ml-0.25 mr-1`,md:`size-3.5 -ml-0.5 mr-1.5`}}}),r=yc({variants:{size:{xs:`size-4`,sm:`size-5`,md:`size-6`}}}),{cx:i}=xc();return(a,s)=>(y(),k(te(e.is),o({"aria-disabled":e.disabled||void 0,type:e.is===`button`?`button`:void 0},E(i)(E(t)({disabled:e.disabled,size:e.size,variant:e.variant}),{relative:e.loader?.isActive})),{default:D(()=>[a.$slots.icon||e.icon?(y(),N(`div`,{key:0,class:v([E(n)({size:e.size}),{invisible:e.loader?.isActive}])},[S(a.$slots,`icon`,{},()=>[(y(),k(te(e.icon),{class:`size-full`}))])],2)):A(``,!0),e.loader?(y(),N(`span`,{key:1,class:v({invisible:e.loader?.isActive})},[S(a.$slots,`default`)],2)):S(a.$slots,`default`,{},void 0,void 0,2),e.loader?.isActive?(y(),N(`div`,KF,[O(E(WF),{class:v(E(r)({size:e.size})),loader:e.loader},null,8,[`class`,`loader`])])):A(``,!0)]),_:3},16,[`aria-disabled`,`type`]))}});function JF(e){return e?.options!==void 0}function YF(e){return e[0]?JF(e[0]):!1}var XF=((e,t)=>e===``?t:t.filter(t=>t.label.toLowerCase().includes(e.toLowerCase()))),ZF=T({__name:`ScalarListboxCheckbox`,props:{selected:{type:Boolean},multiselect:{type:Boolean}},setup(e){return(t,n)=>(y(),N(`div`,{class:v([`flex size-4 items-center justify-center p-0.75`,[e.selected?`bg-c-accent text-b-1`:`text-transparent shadow-border`,e.multiselect?`rounded`:`rounded-full`]])},[e.selected?(y(),k(E(io),{key:0,class:`size-3`,weight:`bold`})):A(``,!0)],2))}}),QF=[`aria-selected`],$F=T({__name:`ScalarComboboxOption`,props:{active:{type:Boolean},selected:{type:Boolean}},setup(e){let t=yc({base:[`group/item`,`flex min-w-0 items-center gap-1.5 rounded px-2 py-1.5 text-left`,`truncate bg-transparent text-c-1`,`cursor-pointer hover:bg-b-2`],variants:{selected:{true:`text-c-1`},active:{true:`bg-b-2`}}});return(n,r)=>(y(),N(`li`,{"aria-selected":e.selected,class:v(E(bc)(E(t)({active:e.active,selected:e.selected}))),role:`option`,tabindex:`-1`},[S(n.$slots,`default`,{active:e.active,selected:e.selected})],10,QF))}}),eI=[`id`,`aria-labelledby`,`role`],tI=[`id`],nI=T({__name:`ScalarComboboxOptionGroup`,props:{id:{default:()=>be()},hidden:{type:Boolean,default:!1}},setup(e){return(t,n)=>(y(),N(`div`,{id:e.id,"aria-labelledby":e.id?`${e.id}-label`:void 0,class:`contents`,role:e.hidden?void 0:`group`},[e.hidden?A(``,!0):(y(),N(`div`,{key:0,id:`${e.id}-label`,class:`min-w-0 truncate px-2.5 py-1.5 text-c-2`},[S(t.$slots,`label`)],8,tI)),S(t.$slots,`default`)],8,eI))}}),rI={class:`relative flex`},iI=[`aria-activedescendant`,`placeholder`],aI=[`aria-multiselectable`],oI={class:`inline-block min-w-0 flex-1 truncate text-c-1`},sI=T({inheritAttrs:!1,__name:`ScalarComboboxOptions`,props:Fe({options:{},placeholder:{},filterFn:{type:Function,default:XF},multiselect:{type:Boolean}},{modelValue:{default:()=>[]},modelModifiers:{}}),emits:Fe([`add`],[`update:modelValue`]),setup(e,{emit:t}){let n=t,r=ce(e,`modelValue`),i=a(),o=`scalar-combobox-items-${be()}`,s={id:`${be()}-add`,label:`Add a new option`};function c(e){return`${o}-${e.id}`}let l=M(()=>YF(e.options)?e.options.flatMap(e=>e.options):e.options),u=M(()=>YF(e.options)?e.options:[{label:``,options:e.options}]),d=j(``),f=j(r.value?.[0]??l.value[0]);le(()=>{d.value=``,f.value=r.value?.[0]??l.value[0],r.value[0]&&setTimeout(()=>{let e=r.value[0];e&&document?.getElementById(c(e))?.scrollIntoView({block:`nearest`})},10)}),Ye(()=>d.value,()=>f.value=m.value[0]);let p=M(()=>e.filterFn(d.value,l.value,u.value)),m=M(()=>i.add?[...p.value,s]:p.value);function h(t){if(t){if(t.id===s.id){v();return}e.multiselect?r.value.some(e=>e.id===t.id)?r.value=r.value.filter(e=>e.id!==t.id):r.value=[...r.value,l.value.find(e=>e.id===t.id)]:r.value=[l.value.find(e=>e.id===t.id)]}}function g(e){let t=m.value,n=t.findIndex(e=>e.id===f.value?.id)+e;n<0||n>t.length-1||(f.value=t[n],f.value&&document?.getElementById(c(f.value))?.scrollIntoView({behavior:`smooth`,block:`nearest`}))}function v(){n(`add`),d.value=``}let b=j(null);return le(()=>setTimeout(()=>b.value?.focus(),0)),(t,n)=>(y(),N(Me,null,[P(`div`,rI,[O(E(so),{class:`pointer-events-none absolute left-2.5 top-1/2 -translate-y-1/2 text-c-3 size-4`}),Ue(P(`input`,{ref_key:`input`,ref:b,"onUpdate:modelValue":n[0]||=e=>d.value=e,"aria-activedescendant":f.value?c(f.value):void 0,"aria-autocomplete":`list`,"aria-controls":o,class:`min-w-0 flex-1 rounded border-0 py-2.5 pl-8 pr-3 leading-none text-c-1 -outline-offset-1`,"data-1p-ignore":``,placeholder:e.placeholder,role:`combobox`,tabindex:`0`,type:`text`,onKeydown:[n[1]||=Vn(Bn(e=>g(1),[`prevent`]),[`down`]),n[2]||=Vn(Bn(e=>f.value&&h(f.value),[`prevent`]),[`enter`]),n[3]||=Vn(Bn(e=>g(-1),[`prevent`]),[`up`])]},null,40,iI),[[kn,d.value]])]),Ue(P(`ul`,{id:o,"aria-multiselectable":e.multiselect,class:`border-t p-0.75 custom-scroll overscroll-contain flex-1 min-h-0`,role:`listbox`,tabindex:`-1`},[(y(!0),N(Me,null,_(u.value,(i,a)=>(y(),k(nI,{id:`${o}-group-${a}`,key:a,hidden:!i.options.some(e=>p.value.some(t=>t.id===e.id))||!i.label},{label:D(()=>[t.$slots.group?S(t.$slots,`group`,{group:i},void 0,void 0,0):(y(),N(Me,{key:1},[F(ye(i.label),1)],64))]),default:D(()=>[(y(!0),N(Me,null,_(p.value,a=>(y(),N(Me,{key:a.id},[i.options.some(e=>e.id===a.id)?(y(),k($F,{key:0,id:c(a),active:f.value?.id===a.id,selected:r.value.some(e=>e.id===a.id),onClick:e=>h(a),onMousedown:n[4]||=Bn(()=>{},[`prevent`]),onMouseenter:e=>f.value=a},{default:D(({active:n,selected:i})=>[t.$slots.option?S(t.$slots,`option`,{active:n,option:a,selected:i},void 0,void 0,0):(y(),N(Me,{key:1},[O(E(ZF),{multiselect:e.multiselect,selected:r.value.some(e=>e.id===a.id)},null,8,[`multiselect`,`selected`]),P(`span`,oI,ye(a.label),1)],64))]),_:2},1032,[`id`,`active`,`selected`,`onClick`,`onMouseenter`])):A(``,!0)],64))),128))]),_:2},1032,[`id`,`hidden`]))),128)),i.add?(y(),k($F,{key:0,id:c(s),active:f.value?.id===s.id,onClick:v,onMousedown:n[5]||=Bn(()=>{},[`prevent`]),onMouseenter:n[6]||=e=>f.value=s},{default:D(({active:e})=>[O(E(lo),{class:`size-4 p-px`}),S(t.$slots,`add`,{active:e})]),_:3},8,[`id`,`active`])):A(``,!0)],8,aI),[[qt,p.value.length||i.add]])],64))}}),cI=Symbol(),lI=()=>f(cI,`body`),uI=e=>{let t=e??`scalar-teleport-${be()}`;return fe(cI,`#${t}`),t},dI=T({inheritAttrs:!1,__name:`ScalarTeleport`,props:{to:{},immediate:{type:Boolean},disabled:{type:Boolean}},setup(e){let t=lI();return(n,r)=>(y(),k(He,{defer:!e.immediate,disabled:e.disabled,to:e.to||E(t)},[P(`div`,o({class:`scalar-app`,style:{display:`contents`}},n.$attrs),[S(n.$slots,`default`)],16)],8,[`defer`,`disabled`,`to`]))}});function fI(e,t={enabled:j(!0)}){let n=j(0),r=j(0),i=j();return typeof ResizeObserver<`u`&&(i.value=new ResizeObserver(([e])=>{e&&(n.value=e.borderBoxSize[0]?.inlineSize??0,r.value=e.borderBoxSize[0]?.blockSize??0)})),Ye([()=>d(t.enabled),()=>d(e)],([e,t])=>{!t||!i.value||(e?i.value.observe(t):i.value.disconnect())},{immediate:!0}),{width:M(()=>d(t.enabled)?`${n.value}px`:void 0),height:M(()=>d(t.enabled)?`${r.value}px`:void 0)}}var pI=[`top`,`right`,`bottom`,`left`],mI=Math.min,hI=Math.max,gI=Math.round,_I=Math.floor,vI=e=>({x:e,y:e}),yI={left:`right`,right:`left`,bottom:`top`,top:`bottom`},bI={start:`end`,end:`start`};function xI(e,t,n){return hI(e,mI(t,n))}function SI(e,t){return typeof e==`function`?e(t):e}function CI(e){return e.split(`-`)[0]}function wI(e){return e.split(`-`)[1]}function TI(e){return e===`x`?`y`:`x`}function EI(e){return e===`y`?`height`:`width`}var DI=new Set([`top`,`bottom`]);function OI(e){return DI.has(CI(e))?`y`:`x`}function kI(e){return TI(OI(e))}function AI(e,t,n){n===void 0&&(n=!1);let r=wI(e),i=kI(e),a=EI(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=zI(o)),[o,zI(o)]}function jI(e){let t=zI(e);return[MI(e),t,MI(t)]}function MI(e){return e.replace(/start|end/g,e=>bI[e])}var NI=[`left`,`right`],PI=[`right`,`left`],FI=[`top`,`bottom`],II=[`bottom`,`top`];function LI(e,t,n){switch(e){case`top`:case`bottom`:return n?t?PI:NI:t?NI:PI;case`left`:case`right`:return t?FI:II;default:return[]}}function RI(e,t,n,r){let i=wI(e),a=LI(CI(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(MI)))),a}function zI(e){return e.replace(/left|right|bottom|top/g,e=>yI[e])}function BI(e){return{top:0,right:0,bottom:0,left:0,...e}}function VI(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:BI(e)}function HI(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function UI(e,t,n){let{reference:r,floating:i}=e,a=OI(t),o=kI(t),s=EI(o),c=CI(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}switch(wI(t)){case`start`:p[o]-=f*(n&&l?-1:1);break;case`end`:p[o]+=f*(n&&l?-1:1);break}return p}var WI=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=a.filter(Boolean),c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=UI(l,r,c),f=r,p={},m=0;for(let n=0;n<s.length;n++){let{name:a,fn:h}=s[n],{x:g,y:_,data:v,reset:y}=await h({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:p,rects:l,platform:o,elements:{reference:e,floating:t}});u=g??u,d=_??d,p={...p,[a]:{...p[a],...v}},y&&m<=50&&(m++,typeof y==`object`&&(y.placement&&(f=y.placement),y.rects&&(l=y.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):y.rects),{x:u,y:d}=UI(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:p}};async function GI(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=SI(t,e),p=VI(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=HI(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=HI(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var KI=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=SI(e,t)||{};if(l==null)return{};let d=VI(u),f={x:n,y:r},p=kI(i),m=EI(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],ee=f[p]-a.reference[p],te=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),x=te?te[y]:0;(!x||!await(o.isElement==null?void 0:o.isElement(te)))&&(x=s.floating[y]||a.floating[m]);let S=b/2-ee/2,ne=x/2-h[m]/2-1,re=mI(d[_],ne),ie=mI(d[v],ne),ae=re,oe=x-h[m]-ie,C=x/2-h[m]/2+S,se=xI(ae,C,oe),w=!c.arrow&&wI(i)!=null&&C!==se&&a.reference[m]/2-(C<ae?re:ie)-h[m]/2<0,ce=w?C<ae?C-ae:C-oe:0;return{[p]:f[p]+ce,data:{[p]:se,centerOffset:C-se-ce,...w&&{alignmentOffset:ce}},reset:w}}}),qI=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=SI(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=CI(r),_=OI(o),v=CI(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[zI(o)]:jI(o)),ee=p!==`none`;!d&&ee&&b.push(...RI(o,m,p,y));let te=[o,...b],x=await GI(t,h),S=[],ne=i.flip?.overflows||[];if(l&&S.push(x[g]),u){let e=AI(r,a,y);S.push(x[e[0]],x[e[1]])}if(ne=[...ne,{placement:r,overflows:S}],!S.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=te[e];if(t&&(!(u===`alignment`&&_!==OI(t))||ne.every(e=>OI(e.placement)!==_||e.overflows[0]>0)))return{data:{index:e,overflows:ne},reset:{placement:t}};let n=ne.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=ne.filter(e=>{if(ee){let t=OI(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o;break}if(r!==n)return{reset:{placement:n}}}return{}}}};function JI(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function YI(e){return pI.some(t=>e[t]>=0)}var XI=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n}=t,{strategy:r=`referenceHidden`,...i}=SI(e,t);switch(r){case`referenceHidden`:{let e=JI(await GI(t,{...i,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:YI(e)}}}case`escaped`:{let e=JI(await GI(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:YI(e)}}}default:return{}}}}},ZI=new Set([`left`,`top`]);async function QI(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=CI(n),s=wI(n),c=OI(n)===`y`,l=ZI.has(o)?-1:1,u=a&&c?-1:1,d=SI(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var $I=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await QI(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},eL=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i}=t,{mainAxis:a=!0,crossAxis:o=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=SI(e,t),l={x:n,y:r},u=await GI(t,c),d=OI(CI(i)),f=TI(d),p=l[f],m=l[d];if(a){let e=f===`y`?`top`:`left`,t=f===`y`?`bottom`:`right`,n=p+u[e],r=p-u[t];p=xI(n,p,r)}if(o){let e=d===`y`?`top`:`left`,t=d===`y`?`bottom`:`right`,n=m+u[e],r=m-u[t];m=xI(n,m,r)}let h=s.fn({...t,[f]:p,[d]:m});return{...h,data:{x:h.x-n,y:h.y-r,enabled:{[f]:a,[d]:o}}}}}},tL=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:c=!0,crossAxis:l=!0}=SI(e,t),u={x:n,y:r},d=OI(i),f=TI(d),p=u[f],m=u[d],h=SI(s,t),g=typeof h==`number`?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(c){let e=f===`y`?`height`:`width`,t=a.reference[f]-a.floating[e]+g.mainAxis,n=a.reference[f]+a.reference[e]-g.mainAxis;p<t?p=t:p>n&&(p=n)}if(l){let e=f===`y`?`width`:`height`,t=ZI.has(CI(i)),n=a.reference[d]-a.floating[e]+(t&&o.offset?.[d]||0)+(t?0:g.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:o.offset?.[d]||0)-(t?g.crossAxis:0);m<n?m=n:m>r&&(m=r)}return{[f]:p,[d]:m}}}},nL=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){var n,r;let{placement:i,rects:a,platform:o,elements:s}=t,{apply:c=()=>{},...l}=SI(e,t),u=await GI(t,l),d=CI(i),f=wI(i),p=OI(i)===`y`,{width:m,height:h}=a.floating,g,_;d===`top`||d===`bottom`?(g=d,_=f===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?`start`:`end`)?`left`:`right`):(_=d,g=f===`end`?`top`:`bottom`);let v=h-u.top-u.bottom,y=m-u.left-u.right,b=mI(h-u[g],v),ee=mI(m-u[_],y),te=!t.middlewareData.shift,x=b,S=ee;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(S=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(x=v),te&&!f){let e=hI(u.left,0),t=hI(u.right,0),n=hI(u.top,0),r=hI(u.bottom,0);p?S=m-2*(e!==0||t!==0?e+t:hI(u.left,u.right)):x=h-2*(n!==0||r!==0?n+r:hI(u.top,u.bottom))}await c({...t,availableWidth:S,availableHeight:x});let ne=await o.getDimensions(s.floating);return m!==ne.width||h!==ne.height?{reset:{rects:!0}}:{}}}};function rL(){return typeof window<`u`}function iL(e){return sL(e)?(e.nodeName||``).toLowerCase():`#document`}function aL(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function oL(e){return((sL(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function sL(e){return rL()?e instanceof Node||e instanceof aL(e).Node:!1}function cL(e){return rL()?e instanceof Element||e instanceof aL(e).Element:!1}function lL(e){return rL()?e instanceof HTMLElement||e instanceof aL(e).HTMLElement:!1}function uL(e){return!rL()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof aL(e).ShadowRoot}var dL=new Set([`inline`,`contents`]);function fL(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=TL(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!dL.has(i)}var pL=new Set([`table`,`td`,`th`]);function mL(e){return pL.has(iL(e))}var hL=[`:popover-open`,`:modal`];function gL(e){return hL.some(t=>{try{return e.matches(t)}catch{return!1}})}var _L=[`transform`,`translate`,`scale`,`rotate`,`perspective`],vL=[`transform`,`translate`,`scale`,`rotate`,`perspective`,`filter`],yL=[`paint`,`layout`,`strict`,`content`];function bL(e){let t=SL(),n=cL(e)?TL(e):e;return _L.some(e=>n[e]?n[e]!==`none`:!1)||(n.containerType?n.containerType!==`normal`:!1)||!t&&(n.backdropFilter?n.backdropFilter!==`none`:!1)||!t&&(n.filter?n.filter!==`none`:!1)||vL.some(e=>(n.willChange||``).includes(e))||yL.some(e=>(n.contain||``).includes(e))}function xL(e){let t=DL(e);for(;lL(t)&&!wL(t);){if(bL(t))return t;if(gL(t))return null;t=DL(t)}return null}function SL(){return typeof CSS>`u`||!CSS.supports?!1:CSS.supports(`-webkit-backdrop-filter`,`none`)}var CL=new Set([`html`,`body`,`#document`]);function wL(e){return CL.has(iL(e))}function TL(e){return aL(e).getComputedStyle(e)}function EL(e){return cL(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function DL(e){if(iL(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||uL(e)&&e.host||oL(e);return uL(t)?t.host:t}function OL(e){let t=DL(e);return wL(t)?e.ownerDocument?e.ownerDocument.body:e.body:lL(t)&&fL(t)?t:OL(t)}function kL(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=OL(e),i=r===e.ownerDocument?.body,a=aL(r);if(i){let e=AL(a);return t.concat(a,a.visualViewport||[],fL(r)?r:[],e&&n?kL(e):[])}return t.concat(r,kL(r,[],n))}function AL(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function jL(e){let t=TL(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=lL(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=gI(n)!==a||gI(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function ML(e){return cL(e)?e:e.contextElement}function NL(e){let t=ML(e);if(!lL(t))return vI(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=jL(t),o=(a?gI(n.width):n.width)/r,s=(a?gI(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var PL=vI(0);function FL(e){let t=aL(e);return!SL()||!t.visualViewport?PL:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function IL(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==aL(e)?!1:t}function LL(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=ML(e),o=vI(1);t&&(r?cL(r)&&(o=NL(r)):o=NL(e));let s=IL(a,n,r)?FL(a):vI(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a){let e=aL(a),t=r&&cL(r)?aL(r):r,n=e,i=AL(n);for(;i&&r&&t!==n;){let e=NL(i),t=i.getBoundingClientRect(),r=TL(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=aL(i),i=AL(n)}}return HI({width:u,height:d,x:c,y:l})}function RL(e,t){let n=EL(e).scrollLeft;return t?t.left+n:LL(oL(e)).left+n}function zL(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-RL(e,n),y:n.top+t.scrollTop}}function BL(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=oL(r),s=t?gL(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=vI(1),u=vI(0),d=lL(r);if((d||!d&&!a)&&((iL(r)!==`body`||fL(o))&&(c=EL(r)),lL(r))){let e=LL(r);l=NL(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?zL(o,c):vI(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function VL(e){return Array.from(e.getClientRects())}function HL(e){let t=oL(e),n=EL(e),r=e.ownerDocument.body,i=hI(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=hI(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+RL(e),s=-n.scrollTop;return TL(r).direction===`rtl`&&(o+=hI(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}var UL=25;function WL(e,t){let n=aL(e),r=oL(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;let e=SL();(!e||e&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}let l=RL(r);if(l<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(r.clientWidth-t.clientWidth-i);o<=UL&&(a-=o)}else l<=UL&&(a+=l);return{width:a,height:o,x:s,y:c}}var GL=new Set([`absolute`,`fixed`]);function KL(e,t){let n=LL(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=lL(e)?NL(e):vI(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function qL(e,t,n){let r;if(t===`viewport`)r=WL(e,n);else if(t===`document`)r=HL(oL(e));else if(cL(t))r=KL(t,n);else{let n=FL(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return HI(r)}function JL(e,t){let n=DL(e);return n===t||!cL(n)||wL(n)?!1:TL(n).position===`fixed`||JL(n,t)}function YL(e,t){let n=t.get(e);if(n)return n;let r=kL(e,[],!1).filter(e=>cL(e)&&iL(e)!==`body`),i=null,a=TL(e).position===`fixed`,o=a?DL(e):e;for(;cL(o)&&!wL(o);){let t=TL(o),n=bL(o);!n&&t.position===`fixed`&&(i=null),(a?!n&&!i:!n&&t.position===`static`&&i&&GL.has(i.position)||fL(o)&&!n&&JL(e,o))?r=r.filter(e=>e!==o):i=t,o=DL(o)}return t.set(e,r),r}function XL(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?gL(t)?[]:YL(t,this._c):[].concat(n),r],o=a[0],s=a.reduce((e,n)=>{let r=qL(t,n,i);return e.top=hI(r.top,e.top),e.right=mI(r.right,e.right),e.bottom=mI(r.bottom,e.bottom),e.left=hI(r.left,e.left),e},qL(t,o,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function ZL(e){let{width:t,height:n}=jL(e);return{width:t,height:n}}function QL(e,t,n){let r=lL(t),i=oL(t),a=n===`fixed`,o=LL(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=vI(0);function l(){c.x=RL(i)}if(r||!r&&!a)if((iL(t)!==`body`||fL(i))&&(s=EL(t)),r){let e=LL(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&l();a&&!r&&i&&l();let u=i&&!r&&!a?zL(i,s):vI(0);return{x:o.left+s.scrollLeft-c.x-u.x,y:o.top+s.scrollTop-c.y-u.y,width:o.width,height:o.height}}function $L(e){return TL(e).position===`static`}function eR(e,t){if(!lL(e)||TL(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return oL(e)===n&&(n=n.ownerDocument.body),n}function tR(e,t){let n=aL(e);if(gL(e))return n;if(!lL(e)){let t=DL(e);for(;t&&!wL(t);){if(cL(t)&&!$L(t))return t;t=DL(t)}return n}let r=eR(e,t);for(;r&&mL(r)&&$L(r);)r=eR(r,t);return r&&wL(r)&&$L(r)&&!bL(r)?n:r||xL(e)||n}var nR=async function(e){let t=this.getOffsetParent||tR,n=this.getDimensions,r=await n(e.floating);return{reference:QL(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function rR(e){return TL(e).direction===`rtl`}var iR={convertOffsetParentRelativeRectToViewportRelativeRect:BL,getDocumentElement:oL,getClippingRect:XL,getOffsetParent:tR,getElementRects:nR,getClientRects:VL,getDimensions:ZL,getScale:NL,isElement:cL,isRTL:rR};function aR(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function oR(e,t){let n=null,r,i=oL(e);function a(){var e;clearTimeout(r),(e=n)==null||e.disconnect(),n=null}function o(s,c){s===void 0&&(s=!1),c===void 0&&(c=1),a();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(s||t(),!f||!p)return;let m=_I(d),h=_I(i.clientWidth-(u+f)),g=_I(i.clientHeight-(d+p)),_=_I(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:hI(0,mI(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(n!==c){if(!y)return o();n?o(!1,n):r=setTimeout(()=>{o(!1,1e-7)},1e3)}n===1&&!aR(l,e.getBoundingClientRect())&&o(),y=!1}try{n=new IntersectionObserver(b,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(b,v)}n.observe(e)}return o(!0),a}function sR(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=ML(e),u=i||a?[...l?kL(l):[],...kL(t)]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n,{passive:!0}),a&&e.addEventListener(`resize`,n)});let d=l&&s?oR(l,n):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),p.observe(t));let m,h=c?LL(e):null;c&&g();function g(){let t=LL(e);h&&!aR(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var cR=$I,lR=eL,uR=qI,dR=nL,fR=XI,pR=KI,mR=tL,hR=(e,t,n)=>{let r=new Map,i={platform:iR,...n},a={...i.platform,_c:r};return WI(e,t,{...i,platform:a})};function gR(e){return typeof e==`object`&&!!e&&`$el`in e}function _R(e){if(gR(e)){let t=e.$el;return sL(t)&&iL(t)===`#comment`?null:t}return e}function vR(e){return typeof e==`function`?e():E(e)}function yR(e){return{name:`arrow`,options:e,fn(t){let n=_R(vR(e.element));return n==null?{}:pR({element:n,padding:e.padding}).fn(t)}}}function bR(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function xR(e,t){let n=bR(e);return Math.round(t*n)/n}function SR(e,t,n){n===void 0&&(n={});let r=n.whileElementsMounted,i=M(()=>vR(n.open)??!0),a=M(()=>vR(n.middleware)),o=M(()=>vR(n.placement)??`bottom`),s=M(()=>vR(n.strategy)??`absolute`),c=M(()=>vR(n.transform)??!0),l=M(()=>_R(e.value)),u=M(()=>_R(t.value)),d=j(0),f=j(0),p=j(s.value),m=j(o.value),h=et({}),g=j(!1),_=M(()=>{let e={position:p.value,left:`0`,top:`0`};if(!u.value)return e;let t=xR(u.value,d.value),n=xR(u.value,f.value);return c.value?{...e,transform:`translate(`+t+`px, `+n+`px)`,...bR(u.value)>=1.5&&{willChange:`transform`}}:{position:p.value,left:t+`px`,top:n+`px`}}),v;function y(){if(l.value==null||u.value==null)return;let e=i.value;hR(l.value,u.value,{middleware:a.value,placement:o.value,strategy:s.value}).then(t=>{d.value=t.x,f.value=t.y,p.value=t.strategy,m.value=t.placement,h.value=t.middlewareData,g.value=e!==!1})}function b(){typeof v==`function`&&(v(),v=void 0)}function ee(){if(b(),r===void 0){y();return}if(l.value!=null&&u.value!=null){v=r(l.value,u.value,y);return}}function te(){i.value||(g.value=!1)}return Ye([a,o,s,i],y,{flush:`sync`}),Ye([l,u],ee,{flush:`sync`}),Ye(i,te,{flush:`sync`}),Le()&&We(b),{x:Ze(d),y:Ze(f),strategy:Ze(p),placement:Ze(m),middlewareData:Ze(h),isPositioned:Ze(g),floatingStyles:_,update:y}}var CR=T({inheritAttrs:!1,__name:`ScalarFloating`,props:{placement:{},offset:{type:[Number,Object,Function],default:5},resize:{type:Boolean,default:!1},target:{},middleware:{default:()=>[]},teleport:{type:[Boolean,String]}},setup(e,{expose:t}){let n=j(null),r=j(null),i=M(()=>{if(typeof window<`u`&&r.value){if(typeof e.target==`string`){let t=document.getElementById(e.target);if(t)return t;console.warn(`ScalarFloating: Target with id="${e.target}" not found`)}else if(e.target instanceof HTMLElement)return e.target;let t=r.value.children?.[0];return t instanceof HTMLElement?t:r.value}}),a=fI(i,{enabled:M(()=>e.resize)}),o=M(()=>OI(e.placement??`bottom`)===`y`?a.width.value:void 0),s=M(()=>OI(e.placement??`bottom`)===`x`?a.height.value:void 0),{floatingStyles:c,middlewareData:l}=SR(i,n,{placement:M(()=>e.placement??`bottom`),whileElementsMounted:sR,middleware:M(()=>[cR(e.offset),uR({padding:48}),lR({padding:8}),dR({apply({availableWidth:e,availableHeight:t,elements:n}){Object.assign(n.floating.style,{maxWidth:`${Math.max(0,e)-16}px`,maxHeight:`${Math.max(0,t)-16}px`})}}),...e.middleware])});return t({targetRef:i}),(t,i)=>(y(),N(Me,null,[P(`div`,{ref_key:`wrapperRef`,ref:r,class:v({contents:!!t.$slots.default})},[S(t.$slots,`default`)],2),t.$slots.floating?(y(),k(E(dI),{key:0,disabled:!e.teleport,to:typeof e.teleport==`string`?e.teleport:void 0},{default:D(()=>[P(`div`,{ref_key:`floatingRef`,ref:n,class:`relative z-context`,style:x(E(c))},[S(t.$slots,`floating`,{data:E(l),height:s.value,width:o.value})],4)]),_:3},8,[`disabled`,`to`])):A(``,!0)],64))}}),wR=T({inheritAttrs:!1,__name:`ScalarFloatingBackdrop`,setup(e){let{cx:t}=xc();return(e,n)=>(y(),N(`div`,Ge(Qe(E(t)(`absolute inset-0 -z-1 rounded bg-b-1 shadow-lg brightness-lifted`))),[S(e.$slots,`default`)],16))}}),TR=T({inheritAttrs:!1,__name:`ScalarComboboxPopover`,props:{placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},setup(e,{expose:t}){let{cx:n}=xc(),r=j(null),i=e=>{[`ArrowUp`,`ArrowDown`].includes(e.key)&&(e.preventDefault(),e.target?.dispatchEvent(new KeyboardEvent(`keydown`,{key:`Enter`})))};return t({popoverButtonRef:r}),(e,t)=>(y(),k(E(ka),{as:`template`},{default:D(({open:t})=>[O(E(CR),Ge(Qe(e.$props)),Se({default:D(()=>[O(E(Aa),{ref_key:`popoverButtonRef`,ref:r,as:`template`,onKeydown:i},{default:D(()=>[S(e.$slots,`default`,{open:t})]),_:2},1536)]),_:2},[t?{name:`floating`,fn:D(({width:r})=>[O(E(ja),o({style:{width:r}},E(n)(`relative flex flex-col max-h-[inherit] w-40 rounded text-sm`)),{default:D(({close:n})=>[S(e.$slots,`popover`,{close:n,open:t}),O(E(wR))]),_:2},1040,[`style`])]),key:`0`}:void 0]),1040)]),_:3}))}}),ER=T({__name:`ScalarCombobox`,props:Fe({options:{},placeholder:{},filterFn:{type:Function},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},{modelValue:{},modelModifiers:{}}),emits:Fe([`add`],[`update:modelValue`]),setup(e,{emit:t}){let n=t,r=ce(e,`modelValue`);return(t,i)=>(y(),k(TR,{middleware:e.middleware,offset:e.offset,placement:e.placement??`bottom-start`,resize:e.resize,target:e.target,teleport:e.teleport},{default:D(({open:e})=>[S(t.$slots,`default`,{open:e})]),popover:D(({open:i,close:a})=>[O(sI,{filterFn:e.filterFn,modelValue:r.value?[r.value]:[],open:i,options:e.options,placeholder:e.placeholder,onAdd:()=>(a(),n(`add`)),"onUpdate:modelValue":e=>(a(),r.value=e[0])},Se({_:2},[t.$slots.option?{name:`option`,fn:D(e=>[S(t.$slots,`option`,Ge(Qe(e)))]),key:`0`}:void 0,t.$slots.group?{name:`group`,fn:D(e=>[S(t.$slots,`group`,Ge(Qe(e)))]),key:`1`}:void 0,t.$slots.add?{name:`add`,fn:D(e=>[S(t.$slots,`add`,Ge(Qe(e)))]),key:`2`}:void 0]),1032,[`filterFn`,`modelValue`,`open`,`options`,`placeholder`,`onAdd`,`onUpdate:modelValue`])]),_:3},8,[`middleware`,`offset`,`placement`,`resize`,`target`,`teleport`]))}}),DR=T({__name:`ScalarComboboxMultiselect`,props:Fe({options:{},placeholder:{},filterFn:{type:Function},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},{modelValue:{default:()=>[]},modelModifiers:{}}),emits:Fe([`add`],[`update:modelValue`]),setup(e,{expose:t,emit:n}){let r=n,i=ce(e,`modelValue`),a=j(null);return t({comboboxPopoverRef:a}),(t,n)=>(y(),k(TR,{ref_key:`comboboxPopoverRef`,ref:a,middleware:e.middleware,offset:e.offset,placement:e.placement??`bottom-start`,resize:e.resize,target:e.target,teleport:e.teleport},{default:D(({open:e})=>[S(t.$slots,`default`,{open:e})]),popover:D(({open:a})=>[e.options?.length?(y(),k(sI,{key:0,modelValue:i.value,"onUpdate:modelValue":n[0]||=e=>i.value=e,filterFn:e.filterFn,multiselect:``,open:a,options:e.options,placeholder:e.placeholder,onAdd:n[1]||=e=>r(`add`)},Se({_:2},[t.$slots.option?{name:`option`,fn:D(e=>[S(t.$slots,`option`,Ge(Qe(e)))]),key:`0`}:void 0,t.$slots.group?{name:`group`,fn:D(e=>[S(t.$slots,`group`,Ge(Qe(e)))]),key:`1`}:void 0,t.$slots.add?{name:`add`,fn:D(e=>[S(t.$slots,`add`,Ge(Qe(e)))]),key:`2`}:void 0]),1032,[`modelValue`,`filterFn`,`open`,`options`,`placeholder`])):A(``,!0)]),_:3},8,[`middleware`,`offset`,`placement`,`resize`,`target`,`teleport`]))}}),OR={class:`custom-scroll min-h-0 flex-1`},kR={class:`flex flex-col p-0.75`},AR=T({inheritAttrs:!1,__name:`ScalarDropdownMenu`,props:{is:{}},setup(e){let{cx:t}=xc();return(n,r)=>(y(),k(te(e.is??`div`),Ge(Qe(E(t)(`relative flex w-56`))),{default:D(()=>[P(`div`,OR,[S(n.$slots,`menu`,{},()=>[P(`div`,kR,[S(n.$slots,`default`)])]),S(n.$slots,`backdrop`,{},()=>[O(E(wR))])])]),_:3},16))}}),jR=Symbol();function MR(){let e=j();return fe(jR,e),{active:e}}function NR(){let e=f(jR);return e||console.warn(`useDropdownItem must be used within a ScalarDropdown`),{active:e}}function PR(e){return Le()?(We(e),!0):!1}var FR=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var IR=e=>e!=null,LR=Object.prototype.toString,RR=e=>LR.call(e)===`[object Object]`,zR=()=>{},BR=VR();function VR(){return FR&&(window==null?void 0:window.navigator)?.userAgent&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||(window==null?void 0:window.navigator)?.maxTouchPoints>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function HR(...e){if(e.length!==1)return $e(...e);let t=e[0];return typeof t==`function`?je(qe(()=>({get:t,set:zR}))):j(t)}function UR(e,t){function n(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return n}var WR=e=>e();function GR(e,t={}){let n,r,i=zR,a=e=>{clearTimeout(e),i(),i=zR},o;return s=>{let c=d(e),l=d(t.maxWait);return n&&a(n),c<=0||l!==void 0&&l<=0?(r&&=(a(r),void 0),Promise.resolve(s())):new Promise((e,u)=>{i=t.rejectOnCancel?u:e,o=s,l&&!r&&(r=setTimeout(()=>{n&&a(n),r=void 0,e(o())},l)),n=setTimeout(()=>{r&&a(r),r=void 0,e(s())},c)})}}function KR(e){let t;function n(){return t||=e(),t}return n.reset=async()=>{let e=t;t=void 0,e&&await e},n}function qR(e){return Array.isArray(e)?e:[e]}function JR(e,t=200,n={}){return UR(GR(t,n),e)}function YR(e,t,n={}){let{eventFilter:r=WR,...i}=n;return Ye(e,UR(r,t),i)}function XR(e,t,n={}){let{immediate:r=!0,immediateCallback:i=!1}=n,a=et(!1),o;function s(){o&&=(clearTimeout(o),void 0)}function c(){a.value=!1,s()}function l(...n){i&&e(),s(),a.value=!0,o=setTimeout(()=>{a.value=!1,o=void 0,e(...n)},d(t))}return r&&(a.value=!0,FR&&l()),PR(c),{isPending:Ze(a),start:l,stop:c}}function ZR(e,t,n={}){let{debounce:r=0,maxWait:i=void 0,...a}=n;return YR(e,t,{...a,eventFilter:GR(r,{maxWait:i})})}function QR(e,t,n){return Ye(e,t,{...n,immediate:!0})}var $R=FR?window:void 0,ez=FR?window.document:void 0,tz=FR?window.navigator:void 0;FR&&window.location;function nz(e){let t=d(e);return t?.$el??t}function rz(...e){let t=[],n=()=>{t.forEach(e=>e()),t.length=0},r=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),i=M(()=>{let t=qR(d(e[0])).filter(e=>e!=null);return t.every(e=>typeof e!=`string`)?t:void 0}),a=QR(()=>[i.value?.map(e=>nz(e))??[$R].filter(e=>e!=null),qR(d(i.value?e[1]:e[0])),qR(E(i.value?e[2]:e[1])),d(i.value?e[3]:e[2])],([e,i,a,o])=>{if(n(),!e?.length||!i?.length||!a?.length)return;let s=RR(o)?{...o}:o;t.push(...e.flatMap(e=>i.flatMap(t=>a.map(n=>r(e,t,n,s)))))},{flush:`post`});return PR(n),()=>{a(),n()}}var iz=!1;function az(e,t,n={}){let{window:r=$R,ignore:i=[],capture:a=!0,detectIframe:o=!1,controls:s=!1}=n;if(!r)return s?{stop:zR,cancel:zR,trigger:zR}:zR;if(BR&&!iz){iz=!0;let e={passive:!0};Array.from(r.document.body.children).forEach(t=>t.addEventListener(`click`,zR,e)),r.document.documentElement.addEventListener(`click`,zR,e)}let c=!0,l=e=>d(i).some(t=>{if(typeof t==`string`)return Array.from(r.document.querySelectorAll(t)).some(t=>t===e.target||e.composedPath().includes(t));{let n=nz(t);return n&&(e.target===n||e.composedPath().includes(n))}});function u(e){let t=d(e);return t&&t.$.subTree.shapeFlag===16}function f(e,t){let n=d(e),r=n.$.subTree&&n.$.subTree.children;return r==null||!Array.isArray(r)?!1:r.some(e=>e.el===t.target||t.composedPath().includes(e.el))}let p=n=>{let r=nz(e);if(n.target!=null&&!(!(r instanceof Element)&&u(e)&&f(e,n))&&!(!r||r===n.target||n.composedPath().includes(r))){if(`detail`in n&&n.detail===0&&(c=!l(n)),!c){c=!0;return}t(n)}},m=!1,h=[rz(r,`click`,e=>{m||(m=!0,setTimeout(()=>{m=!1},0),p(e))},{passive:!0,capture:a}),rz(r,`pointerdown`,t=>{let n=nz(e);c=!l(t)&&!!(n&&!t.composedPath().includes(n))},{passive:!0}),o&&rz(r,`blur`,n=>{setTimeout(()=>{let i=nz(e);r.document.activeElement?.tagName===`IFRAME`&&!i?.contains(r.document.activeElement)&&t(n)},0)},{passive:!0})].filter(Boolean),g=()=>h.forEach(e=>e());return s?{stop:g,cancel:()=>{c=!1},trigger:e=>{c=!0,p(e),c=!1}}:g}function oz(){let e=et(!1),t=u();return t&&le(()=>{e.value=!0},t),e}function sz(e){let t=oz();return M(()=>(t.value,!!e()))}function cz(e,t,n={}){let{window:r=$R,...i}=n,a,o=sz(()=>r&&`MutationObserver`in r),s=()=>{a&&=(a.disconnect(),void 0)},c=Ye(M(()=>{let t=qR(d(e)).map(nz).filter(IR);return new Set(t)}),e=>{s(),o.value&&e.size&&(a=new MutationObserver(t),e.forEach(e=>a.observe(e,i)))},{immediate:!0,flush:`post`}),l=()=>a?.takeRecords(),u=()=>{c(),s()};return PR(u),{isSupported:o,stop:u,takeRecords:l}}function lz(e,t,n={}){let{window:r=$R,document:i=r?.document,flush:a=`sync`}=n;if(!r||!i)return zR;let o,s=e=>{o?.(),o=e},c=Ve(()=>{let n=nz(e);if(n){let{stop:e}=cz(i,e=>{e.map(e=>[...e.removedNodes]).flat().some(e=>e===n||e.contains(n))&&t(e)},{window:r,childList:!0,subtree:!0});s(e)}},{flush:a}),l=()=>{c(),s()};return PR(l),l}function uz(e){return typeof e==`function`?e:typeof e==`string`?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function dz(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]==`object`?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);let{target:i=$R,eventName:a=`keydown`,passive:o=!1,dedupe:s=!1}=r,c=uz(t);return rz(i,a,e=>{e.repeat&&d(s)||c(e)&&n(e)},o)}function fz(e={}){let{window:t=$R,deep:n=!0,triggerOnRemoval:r=!1}=e,i=e.document??t?.document,a=()=>{let e=i?.activeElement;if(n)for(;e?.shadowRoot;)e=e?.shadowRoot?.activeElement;return e},o=et(),s=()=>{o.value=a()};if(t){let e={capture:!0,passive:!0};rz(t,`blur`,e=>{e.relatedTarget===null&&s()},e),rz(t,`focus`,s,e)}return r&&lz(o,s,{document:i}),s(),o}function pz(e,t={}){let{controls:n=!1,navigator:r=tz}=t,i=sz(()=>r&&`permissions`in r),a=et(),o=typeof e==`string`?{name:e}:e,s=et(),c=()=>{s.value=a.value?.state??`prompt`};rz(a,`change`,c,{passive:!0});let l=KR(async()=>{if(i.value){if(!a.value)try{a.value=await r.permissions.query(o)}catch{a.value=void 0}finally{c()}if(n)return Te(a.value)}});return l(),n?{state:s,isSupported:i,query:l}:s}function mz(e={}){let{navigator:t=tz,read:n=!1,source:r,copiedDuring:i=1500,legacy:a=!1}=e,o=sz(()=>t&&`clipboard`in t),s=pz(`clipboard-read`),c=pz(`clipboard-write`),l=M(()=>o.value||a),u=et(``),f=et(!1),p=XR(()=>f.value=!1,i,{immediate:!1});async function m(){let e=!(o.value&&v(s.value));if(!e)try{u.value=await t.clipboard.readText()}catch{e=!0}e&&(u.value=_())}l.value&&n&&rz([`copy`,`cut`],m,{passive:!0});async function h(e=d(r)){if(l.value&&e!=null){let n=!(o.value&&v(c.value));if(!n)try{await t.clipboard.writeText(e)}catch{n=!0}n&&g(e),u.value=e,f.value=!0,p.start()}}function g(e){let t=document.createElement(`textarea`);t.value=e??``,t.style.position=`absolute`,t.style.opacity=`0`,document.body.appendChild(t),t.select(),document.execCommand(`copy`),t.remove()}function _(){return((document==null?void 0:document.getSelection)?.call(document))?.toString()??``}function v(e){return e===`granted`||e===`prompt`}return{isSupported:l,text:u,copied:f,copy:h}}function hz(e,t,n={}){let{window:r=$R,...i}=n,a,o=sz(()=>r&&`ResizeObserver`in r),s=()=>{a&&=(a.disconnect(),void 0)},c=Ye(M(()=>{let t=d(e);return Array.isArray(t)?t.map(e=>nz(e)):[nz(t)]}),e=>{if(s(),o.value&&r){a=new ResizeObserver(t);for(let t of e)t&&a.observe(t,i)}},{immediate:!0,flush:`post`}),l=()=>{s(),c()};return PR(l),{isSupported:o,stop:l}}function gz(e,t={}){let{delayEnter:n=0,delayLeave:r=0,triggerOnRemoval:i=!1,window:a=$R}=t,o=et(!1),s,c=e=>{let t=e?n:r;s&&=(clearTimeout(s),void 0),t?s=setTimeout(()=>o.value=e,t):o.value=e};return a?(rz(e,`mouseenter`,()=>c(!0),{passive:!0}),rz(e,`mouseleave`,()=>c(!1),{passive:!0}),i&&lz(M(()=>nz(e)),()=>c(!1)),o):o}function _z(e,t,n={}){let{root:r,rootMargin:i=`0px`,threshold:a=0,window:o=$R,immediate:s=!0}=n,c=sz(()=>o&&`IntersectionObserver`in o),l=M(()=>qR(d(e)).map(nz).filter(IR)),u=zR,f=et(s),p=c.value?Ye(()=>[l.value,nz(r),f.value],([e,n])=>{if(u(),!f.value||!e.length)return;let r=new IntersectionObserver(t,{root:nz(n),rootMargin:i,threshold:a});e.forEach(e=>e&&r.observe(e)),u=()=>{r.disconnect(),u=zR}},{immediate:s,flush:`post`}):zR,m=()=>{u(),p(),f.value=!1};return PR(m),{isSupported:c,isActive:f,pause(){u(),f.value=!1},resume(){f.value=!0},stop:m}}function vz(e=null,t={}){let{baseUrl:n=``,rel:r=`icon`,document:i=ez}=t,a=HR(e),o=e=>{let t=i?.head.querySelectorAll(`link[rel*="${r}"]`);if(!t||t.length===0){let t=i?.createElement(`link`);t&&(t.rel=r,t.href=`${n}${e}`,t.type=`image/${e.split(`.`).pop()}`,i?.head.append(t));return}t?.forEach(t=>t.href=`${n}${e}`)};return Ye(a,(e,t)=>{typeof e==`string`&&e!==t&&o(e)},{immediate:!0}),a}var yz=`focusin`,bz=`focusout`,xz=`:focus-within`;function Sz(e,t={}){let{window:n=$R}=t,r=M(()=>nz(e)),i=et(!1),a=M(()=>i.value);if(!n||!fz(t).value)return{focused:a};let o={passive:!0};return rz(r,yz,()=>i.value=!0,o),rz(r,bz,()=>{var e;return i.value=((e=r.value)?.matches)?.call(e,xz)??!1},o),{focused:a}}function Cz(e){return typeof Window<`u`&&e instanceof Window?e.document.documentElement:typeof Document<`u`&&e instanceof Document?e.documentElement:e}function wz(e){let t=window.getComputedStyle(e);if(t.overflowX===`scroll`||t.overflowY===`scroll`||t.overflowX===`auto`&&e.clientWidth<e.scrollWidth||t.overflowY===`auto`&&e.clientHeight<e.scrollHeight)return!0;{let t=e.parentNode;return!t||t.tagName===`BODY`?!1:wz(t)}}function Tz(e){let t=e||window.event,n=t.target;return wz(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}var Ez=new WeakMap;function Dz(e,t=!1){let n=et(t),r=null,i=``;Ye(HR(e),e=>{let t=Cz(d(e));if(t){let e=t;if(Ez.get(e)||Ez.set(e,e.style.overflow),e.style.overflow!==`hidden`&&(i=e.style.overflow),e.style.overflow===`hidden`)return n.value=!0;if(n.value)return e.style.overflow=`hidden`}},{immediate:!0});let a=()=>{let t=Cz(d(e));!t||n.value||(BR&&(r=rz(t,`touchmove`,e=>{Tz(e)},{passive:!1})),t.style.overflow=`hidden`,n.value=!0)},o=()=>{let t=Cz(d(e));!t||!n.value||(BR&&r?.(),t.style.overflow=i,Ez.delete(t),n.value=!1)};return PR(o),M({get(){return n.value},set(e){e?a():o()}})}var Oz=[`id`,`aria-activedescendant`,`aria-labelledby`,`onKeydown`],kz=T({inheritAttrs:!1,__name:`ScalarDropdown`,props:Fe({placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},{open:{type:Boolean,default:!1},openModifiers:{}}),emits:[`update:open`],setup(e){let t=j(),n=j(),r=ce(e,`open`),{active:i}=MR(),a=be(),s=j(a),c=be();async function l(){r.value=!r.value,await Ne(),r.value&&n.value?.focus()}async function u(e){if([`ArrowDown`,`ArrowUp`,` `,`Enter`].includes(e.key))e.preventDefault();else return;r.value||=!0,await Ne(),n.value?.focus(),[`ArrowDown`,` `,`Enter`].includes(e.key)?p(1):e.key===`ArrowUp`&&p(-1)}Ye(()=>t.value?.targetRef,(e,t)=>{e&&(e.id?s.value=e.id:(s.value=a,e.setAttribute(`id`,s.value)),e.setAttribute(`aria-haspopup`,`menu`),e.setAttribute(`aria-expanded`,`${r.value}`),r.value&&e.setAttribute(`aria-controls`,c),e.addEventListener(`click`,l),e.addEventListener(`keydown`,u)),t&&t!==e&&(t.id===a&&t.removeAttribute(`id`),t.removeAttribute(`aria-controls`),t.removeAttribute(`aria-haspopup`),t.removeAttribute(`aria-expanded`),t.removeEventListener(`click`,l),t.removeEventListener(`keydown`,u))},{immediate:!0}),Ye(r,e=>{let n=t.value?.targetRef;n&&(n.setAttribute(`aria-expanded`,`${e}`),e?n.setAttribute(`aria-controls`,c):n.removeAttribute(`aria-controls`))},{immediate:!0});async function d(){t.value?.targetRef?.focus(),r.value=!1}function f(){if(!i.value||!n.value)return;let e=n.value.querySelector(`#${i.value}[role="menuitem"]:not([aria-disabled="true"])`);e&&(e.click(),d())}function p(e){if(!r.value||!n.value)return;let t=Array.from(n.value.querySelectorAll(`[role="menuitem"]:not([aria-disabled="true"])`));if(t.length===0)return;let a=t.findIndex(e=>e.id===i.value);if(a===-1){let n=t[e>0?0:t.length-1];n?.id&&(i.value=n.id);return}let o=a+e;if(o<0||o>t.length-1)return;let s=t[o];s?.id&&(i.value=s.id)}az(n,d,{ignore:[M(()=>t.value?.targetRef)]});let{cx:m}=xc();return(a,l)=>(y(),k(E(CR),o({ref_key:`floatingRef`,ref:t},a.$props,{placement:e.placement??`bottom-start`}),Se({default:D(()=>[S(a.$slots,`default`,{open:r.value})]),_:2},[r.value?{name:`floating`,fn:D(({width:e})=>[O(AR,o({style:{width:e}},E(m)(`max-h-[inherit] max-w-[inherit]`)),{menu:D(()=>[P(`div`,{id:E(c),ref_key:`menuRef`,ref:n,"aria-activedescendant":E(i),"aria-labelledby":s.value,class:`flex flex-col p-0.75 outline-none`,role:`menu`,tabindex:`-1`,onClick:Bn(d,[`stop`]),onKeydown:[l[0]||=Vn(Bn(e=>p(1),[`prevent`,`stop`]),[`down`]),Vn(Bn(f,[`prevent`,`stop`]),[`enter`]),Vn(Bn(d,[`prevent`,`stop`]),[`escape`]),Vn(Bn(f,[`prevent`,`stop`]),[`space`]),Vn(Bn(d,[`prevent`,`stop`]),[`tab`]),l[1]||=Vn(Bn(e=>p(-1),[`prevent`,`stop`]),[`up`])]},[S(a.$slots,`items`,{open:r.value})],40,Oz)]),_:3},16,[`style`])]),key:`0`}:void 0]),1040,[`placement`]))}}),Az=BT(T({__name:`ScalarDropdownButton`,props:{is:{default:`button`},active:{type:Boolean},disabled:{type:Boolean}},setup(e){let t=yc({base:[`block h-8 min-w-0 gap-1.5 rounded px-2.5 py-1.5 text-left`,`truncate no-underline text-sm text-c-1`,`cursor-pointer hover:bg-b-2 highlighted:bg-b-2`],variants:{disabled:{true:`pointer-events-none text-c-3`},active:{true:``}},compoundVariants:[{disabled:!1,active:!0,class:`bg-b-2`}]});return(n,r)=>(y(),k(te(e.is),{"aria-disabled":e.disabled,class:v([`item`,E(bc)(`scalar-dropdown-item`,E(t)({active:e.active,disabled:e.disabled}))]),type:e.is===`button`?`button`:void 0},{default:D(()=>[S(n.$slots,`default`,{},void 0,!0)]),_:3},8,[`aria-disabled`,`class`,`type`]))}}),[[`__scopeId`,`data-v-f5e0d3d8`]]),jz={},Mz={class:`-mx-0.75 my-0.75 h-border bg-border`};function Nz(e,t,n,r,i,a){return y(),N(`div`,Mz)}var Pz=BT(jz,[[`render`,Nz]]),Fz=BT(T({__name:`ScalarDropdownItem`,props:{id:{default:()=>be()},disabled:{type:Boolean}},emits:[`click`],setup(e){let{active:t}=NR();return(n,r)=>(y(),k(Az,{id:e.id,active:E(t)===e.id,disabled:e.disabled,role:`menuitem`,tabindex:`-1`,onClick:r[0]||=e=>n.$emit(`click`,e),onMouseenter:r[1]||=n=>t.value=e.id},{default:D(()=>[S(n.$slots,`default`,{},void 0,!0)]),_:3},8,[`id`,`active`,`disabled`]))}}),[[`__scopeId`,`data-v-3402682d`]]),Iz={class:`group-[.alert]:outline-orange group-[.error]:outline-red w-full pr-10 -outline-offset-1 has-[:focus-visible]:rounded-[4px] has-[:focus-visible]:outline`},Lz={class:`text-c-1 whitespace-nowrap`},Rz={class:`text-c-1 overflow-hidden text-ellipsis`},zz={class:`overflow-hidden text-ellipsis`},Bz={class:`flex h-4 w-4 items-center justify-center`},Vz=T({__name:`DataTableInputSelect`,props:{modelValue:{type:[String,Number,Boolean,Array,Object]},value:{},default:{type:[String,Number,Boolean,Array,Object]},canAddCustomValue:{type:Boolean,default:!0},type:{}},emits:[`update:modelValue`],setup(e,{emit:t}){let n=e,r=t,i=M(()=>n.value??[]),a=j(!1),o=j(``),s=j(null);Ye(o,e=>{r(`update:modelValue`,e)});let c=e=>{r(`update:modelValue`,e),a.value=!1},l=()=>{o.value.trim()&&c(o.value)},u=()=>{o.value.trim()||r(`update:modelValue`,``),a.value=!1},d=e=>n.modelValue.toString()===e;Ye(a,e=>{e&&Ne(()=>{s.value?.focus()})});let f=M(()=>n.modelValue===void 0?n.default:n.modelValue),p=M(()=>i.value.map(e=>{let t=e.toString();return{id:t,label:t,value:t}})),m=M(()=>{let e=new Set(n.modelValue.toString().split(`,`));return p.value.filter(t=>e.has(t.id))}),h=e=>{let t=e.map(e=>e.value);r(`update:modelValue`,t.join(`,`))};return(t,n)=>(y(),N(`div`,Iz,[e.type===`array`?(y(),k(E(DR),{key:0,modelValue:m.value,options:p.value,"onUpdate:modelValue":h},{default:D(()=>[O(E(qF),{class:`custom-scroll h-full justify-start gap-1.5 px-2 py-1.5 pr-6 font-normal outline-none`,fullWidth:``,variant:`ghost`},{default:D(()=>[P(`span`,Lz,ye(m.value.length>0?m.value.map(e=>e.label).join(`, `):`Select a value`),1),O(E(VF),{class:`min-w-4`,icon:`ChevronDown`,size:`md`})]),_:1})]),_:1},8,[`modelValue`,`options`])):a.value?Ue((y(),N(`input`,{key:1,ref_key:`inputRef`,ref:s,"onUpdate:modelValue":n[0]||=e=>o.value=e,class:`text-c-1 w-full min-w-0 border-none px-2 py-1.5 outline-none`,placeholder:`Value`,type:`text`,onBlur:u,onKeyup:Vn(l,[`enter`])},null,544)),[[kn,o.value]]):(y(),k(E(kz),{key:2,resize:``,value:f.value},{items:D(()=>[(y(!0),N(Me,null,_(i.value,e=>(y(),k(E(Fz),{key:e,class:`group/item flex items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap`,value:e,onClick:t=>c(e)},{default:D(()=>[P(`div`,{class:v([`flex h-4 w-4 items-center justify-center rounded-full p-[3px]`,d(e)?`bg-c-accent text-b-1`:`shadow-border text-transparent`])},[O(E(VF),{class:`size-2.5`,icon:`Checkmark`,thickness:`3`})],2),P(`span`,zz,ye(e),1)]),_:2},1032,[`value`,`onClick`]))),128)),e.canAddCustomValue?(y(),N(Me,{key:0},[i.value.length?(y(),k(E(Pz),{key:0})):A(``,!0),O(E(Fz),{class:`flex items-center gap-1.5`,onClick:n[1]||=e=>a.value=!0},{default:D(()=>[P(`div`,Bz,[O(E(VF),{icon:`Add`,size:`sm`})]),n[2]||=P(`span`,null,`Add value`,-1)]),_:1})],64)):A(``,!0)]),default:D(()=>[O(E(qF),{class:`size-full justify-start gap-1.5 overflow-auto px-2 py-1.5 font-normal whitespace-nowrap outline-none`,variant:`ghost`},{default:D(()=>[P(`span`,Rz,ye(f.value??`Select a value`),1),O(E(VF),{icon:`ChevronDown`,size:`md`})]),_:1})]),_:1},8,[`value`]))]))}});function Hz(e){return Array.isArray?Array.isArray(e):Qz(e)===`[object Array]`}function Uz(e){if(typeof e==`string`)return e;if(typeof e==`bigint`)return e.toString();let t=e+``;return t==`0`&&1/e==-1/0?`-0`:t}function Wz(e){return e==null?``:Uz(e)}function Gz(e){return typeof e==`string`}function Kz(e){return typeof e==`number`}function qz(e){return e===!0||e===!1||Yz(e)&&Qz(e)==`[object Boolean]`}function Jz(e){return typeof e==`object`}function Yz(e){return Jz(e)&&e!==null}function Xz(e){return e!=null}function Zz(e){return!e.trim().length}function Qz(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Object.prototype.toString.call(e)}var $z=`Incorrect 'index' type`,eB=`Invalid doc index: must be a non-negative integer within the bounds of the docs array`,tB=e=>`Invalid value for key ${e}`,nB=e=>`Pattern length exceeds max of ${e}.`,rB=e=>`Missing ${e} property in key`,iB=e=>`Property 'weight' in key '${e}' must be a positive integer`,aB=`Fuse.match does not support useTokenSearch: token search requires corpus-level statistics (df, fieldCount) that a one-off string comparison does not have. Use new Fuse(...).search(...) instead.`,oB=Object.prototype.hasOwnProperty,sB=class{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach(e=>{let n=cB(e);this._keys.push(n),this._keyMap[n.id]=n,t+=n.weight}),this._keys.forEach(e=>{e.weight/=t})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}};function cB(e){let t=null,n=null,r=null,i=1,a=null;if(Gz(e)||Hz(e))r=e,t=lB(e),n=uB(e);else{if(!oB.call(e,`name`))throw Error(rB(`name`));let o=e.name;if(r=o,oB.call(e,`weight`)&&e.weight!==void 0&&(i=e.weight,i<=0))throw Error(iB(uB(o)));t=lB(o),n=uB(o),a=e.getFn??null}return{path:t,id:n,weight:i,src:r,getFn:a}}function lB(e){return Hz(e)?e:e.split(`.`)}function uB(e){return Hz(e)?e.join(`.`):e}function dB(e,t){let n=[],r=!1,i=(e,t,a,o)=>{if(Xz(e))if(!t[a])n.push(o===void 0?e:{v:e,i:o});else{let s=e[t[a]];if(!Xz(s))return;if(a===t.length-1&&(Gz(s)||Kz(s)||qz(s)||typeof s==`bigint`))n.push(o===void 0?Wz(s):{v:Wz(s),i:o});else if(Hz(s)){r=!0;for(let e=0,n=s.length;e<n;e+=1)i(s[e],t,a+1,e)}else t.length&&i(s,t,a+1,o)}};return i(e,Gz(t)?t.split(`.`):t,0),r?n:n[0]}var fB={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},pB={isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},mB={location:0,threshold:.6,distance:100},hB={useExtendedSearch:!1,useTokenSearch:!1,tokenize:void 0,tokenMatch:`any`,getFn:dB,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1},gB=Object.freeze({...pB,...fB,...mB,...hB});function _B(e){return e>=9&&e<=13||e===32||e===160}function vB(e=1,t=3){let n=new Map,r=10**t;return{get(t){let i=0,a=!1;for(let e=0;e<t.length;e++)_B(t.charCodeAt(e))?a=!1:a||=(i++,!0);if(i===0&&(i=1),n.has(i))return n.get(i);let o=Math.round(r/i**(.5*e))/r;return n.set(i,o),o},clear(){n.clear()}}}var yB=class{constructor({getFn:e=gB.getFn,fieldNormWeight:t=gB.fieldNormWeight}={}){this.norm=vB(t,3),this.getFn=e,this.isCreated=!1,this.docs=[],this.keys=[],this._keysMap={},this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach((e,t)=>{this._keysMap[e.id]=t})}create(){if(this.isCreated||!this.docs.length)return;this.isCreated=!0;let e=this.docs.length;this.records=Array(e);let t=0;if(Gz(this.docs[0]))for(let n=0;n<e;n++){let e=this._createStringRecord(this.docs[n],n);e&&(this.records[t++]=e)}else for(let n=0;n<e;n++)this.records[t++]=this._createObjectRecord(this.docs[n],n);this.records.length=t,this.norm.clear()}add(e,t){if(!Number.isInteger(t)||t<0)throw Error(eB);if(Gz(e)){let n=this._createStringRecord(e,t);return n&&this.records.push(n),n}let n=this._createObjectRecord(e,t);return this.records.push(n),n}removeAt(e){if(!Number.isInteger(e)||e<0)throw Error(eB);for(let t=0,n=this.records.length;t<n;t+=1)if(this.records[t].i===e){this.records.splice(t,1);break}for(let t=0,n=this.records.length;t<n;t+=1)this.records[t].i>e&&--this.records[t].i}removeAll(e){let t=new Set;for(let n of e)Number.isInteger(n)&&n>=0&&t.add(n);if(t.size===0)return;this.records=this.records.filter(e=>!t.has(e.i));let n=Array.from(t).sort((e,t)=>e-t);for(let e of this.records){let t=0,r=n.length;for(;t<r;){let i=t+r>>>1;n[i]<e.i?t=i+1:r=i}e.i-=t}}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_createStringRecord(e,t){return!Xz(e)||Zz(e)?null:{v:e,i:t,n:this.norm.get(e)}}_createObjectRecord(e,t){let n={i:t,$:{}};for(let t=0,r=this.keys.length;t<r;t++){let r=this.keys[t],i=r.getFn?r.getFn(e):this.getFn(e,r.path);if(Xz(i)){if(Hz(i)){let e=[];for(let t=0,n=i.length;t<n;t+=1){let n=i[t];if(Xz(n)){if(Gz(n)){if(!Zz(n)){let r={v:n,i:t,n:this.norm.get(n)};e.push(r)}}else if(Xz(n.v)){let t=Gz(n.v)?n.v:Wz(n.v);if(!Zz(t)){let r={v:t,i:n.i,n:this.norm.get(t)};e.push(r)}}}}n.$[t]=e}else if(Gz(i)&&!Zz(i)){let e={v:i,n:this.norm.get(i)};n.$[t]=e}}}return n}toJSON(){return{keys:this.keys.map(({getFn:e,...t})=>t),records:this.records}}};function bB(e,t,{getFn:n=gB.getFn,fieldNormWeight:r=gB.fieldNormWeight}={}){let i=new yB({getFn:n,fieldNormWeight:r});return i.setKeys(e.map(cB)),i.setSources(t),i.create(),i}function xB(e,{getFn:t=gB.getFn,fieldNormWeight:n=gB.fieldNormWeight}={}){let{keys:r,records:i}=e,a=new yB({getFn:t,fieldNormWeight:n});return a.setKeys(r),a.setIndexRecords(i),a}function SB(e=[],t=gB.minMatchCharLength){let n=[],r=-1,i=-1,a=0;for(let o=e.length;a<o;a+=1){let o=e[a];o&&r===-1?r=a:!o&&r!==-1&&(i=a-1,i-r+1>=t&&n.push([r,i]),r=-1)}return e[a-1]&&a-r>=t&&n.push([r,a-1]),n}function CB(e,t,n,{location:r=gB.location,distance:i=gB.distance,threshold:a=gB.threshold,findAllMatches:o=gB.findAllMatches,minMatchCharLength:s=gB.minMatchCharLength,includeMatches:c=gB.includeMatches,ignoreLocation:l=gB.ignoreLocation}={}){if(t.length>32)throw Error(nB(32));let u=t.length,d=e.length,f=Math.max(0,Math.min(r,d)),p=a,m=f,h=(e,t)=>{let n=e/u;if(l)return n;let r=Math.abs(f-t);return i?n+r/i:r?1:n},g=s>1||c,_=g?Array(d):[],v;for(;(v=e.indexOf(t,m))>-1;){let e=h(0,v);if(p=Math.min(e,p),m=v+u,g){let e=0;for(;e<u;)_[v+e]=1,e+=1}}m=-1;let y=[],b=1,ee=0,te=u+d,x=1<<u-1;for(let t=0;t<u;t+=1){let r=0,i=te;for(;r<i;)h(t,f+i)<=p?r=i:te=i,i=Math.floor((te-r)/2+r);te=i;let a=Math.max(1,f-i+1),s=o?d:Math.min(f+i,d)+u,c=Array(s+2);c[s+1]=(1<<t)-1;for(let r=s;r>=a;--r){let i=r-1,o=n[e[i]];if(c[r]=(c[r+1]<<1|1)&o,t&&(c[r]|=(y[r+1]|y[r])<<1|1|y[r+1]),c[r]&x&&(b=h(t,i),b<=p)){if(p=b,m=i,ee=t,m<=f)break;a=Math.max(1,2*f-m)}}if(h(t+1,f)>p)break;y=c}if(g&&m>=0){let t=Math.min(d-1,m+u-1+ee);for(let r=m;r<=t;r+=1)n[e[r]]&&(_[r]=1)}let S={isMatch:m>=0,score:Math.max(.001,b)};if(g){let e=SB(_,s);e.length?c&&(S.indices=e):S.isMatch=!1}return S}function wB(e){let t={};for(let n=0,r=e.length;n<r;n+=1){let i=e.charAt(n);t[i]=(t[i]||0)|1<<r-n-1}return t}function TB(e){if(e.length<=1)return e;e.sort((e,t)=>e[0]-t[0]||e[1]-t[1]);let t=[e[0]];for(let n=1,r=e.length;n<r;n+=1){let r=t[t.length-1],i=e[n];i[0]<=r[1]+1?r[1]=Math.max(r[1],i[1]):t.push(i)}return t}var EB={ł:`l`,Ł:`L`,đ:`d`,Đ:`D`,ø:`o`,Ø:`O`,ħ:`h`,Ħ:`H`,ŧ:`t`,Ŧ:`T`,ı:`i`,ß:`ss`},DB=RegExp(`[`+Object.keys(EB).join(``)+`]`,`g`),OB=typeof String.prototype.normalize==`function`?e=>e.normalize(`NFD`).replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,``).replace(DB,e=>EB[e]):e=>e,kB=class{constructor(e,{location:t=gB.location,threshold:n=gB.threshold,distance:r=gB.distance,includeMatches:i=gB.includeMatches,findAllMatches:a=gB.findAllMatches,minMatchCharLength:o=gB.minMatchCharLength,isCaseSensitive:s=gB.isCaseSensitive,ignoreDiacritics:c=gB.ignoreDiacritics,ignoreLocation:l=gB.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:r,includeMatches:i,findAllMatches:a,minMatchCharLength:o,isCaseSensitive:s,ignoreDiacritics:c,ignoreLocation:l},e=s?e:e.toLowerCase(),e=c?OB(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;let u=(e,t)=>{this.chunks.push({pattern:e,alphabet:wB(e),startIndex:t})},d=this.pattern.length;if(d>32){let e=0,t=d%32,n=d-t;for(;e<n;)u(this.pattern.substr(e,32),e),e+=32;if(t){let e=d-32;u(this.pattern.substr(e),e)}}else u(this.pattern,0)}searchIn(e){let{isCaseSensitive:t,ignoreDiacritics:n,includeMatches:r}=this.options;if(e=t?e:e.toLowerCase(),e=n?OB(e):e,this.pattern===e){if(e.length<this.options.minMatchCharLength)return{isMatch:!1,score:1};let t={isMatch:!0,score:0};return r&&(t.indices=[[0,e.length-1]]),t}let{location:i,distance:a,threshold:o,findAllMatches:s,minMatchCharLength:c,ignoreLocation:l}=this.options,u=[],d=0,f=!1;this.chunks.forEach(({pattern:t,alphabet:n,startIndex:p})=>{let{isMatch:m,score:h,indices:g}=CB(e,t,n,{location:i+p,distance:a,threshold:o,findAllMatches:s,minMatchCharLength:c,includeMatches:r,ignoreLocation:l});m&&(f=!0),d+=h,m&&g&&u.push(...g)});let p={isMatch:f,score:f?d/this.chunks.length:1};return f&&r&&(p.indices=TB(u)),p}},AB=new Set([`fuzzy`,`include`]);function jB(e){return e.startsWith(`inverse`)}var MB=[{type:`exact`,multiRegex:/^="(.*)"$/,singleRegex:/^=(.*)$/,create:e=>({type:`exact`,search(t){let n=t===e;return{isMatch:n,score:+!n,indices:[0,e.length-1]}}})},{type:`include`,multiRegex:/^'"(.*)"$/,singleRegex:/^'(.*)$/,create:e=>({type:`include`,search(t){let n=0,r,i=[],a=e.length;for(;(r=t.indexOf(e,n))>-1;)n=r+a,i.push([r,n-1]);let o=!!i.length;return{isMatch:o,score:+!o,indices:i}}})},{type:`prefix-exact`,multiRegex:/^\^"(.*)"$/,singleRegex:/^\^(.*)$/,create:e=>({type:`prefix-exact`,search(t){let n=t.startsWith(e);return{isMatch:n,score:+!n,indices:[0,e.length-1]}}})},{type:`inverse-prefix-exact`,multiRegex:/^!\^"(.*)"$/,singleRegex:/^!\^(.*)$/,create:e=>({type:`inverse-prefix-exact`,search(t){let n=!t.startsWith(e);return{isMatch:n,score:+!n,indices:[0,t.length-1]}}})},{type:`inverse-suffix-exact`,multiRegex:/^!"(.*)"\$$/,singleRegex:/^!(.*)\$$/,create:e=>({type:`inverse-suffix-exact`,search(t){let n=!t.endsWith(e);return{isMatch:n,score:+!n,indices:[0,t.length-1]}}})},{type:`suffix-exact`,multiRegex:/^"(.*)"\$$/,singleRegex:/^(.*)\$$/,create:e=>({type:`suffix-exact`,search(t){let n=t.endsWith(e);return{isMatch:n,score:+!n,indices:[t.length-e.length,t.length-1]}}})},{type:`inverse-exact`,multiRegex:/^!"(.*)"$/,singleRegex:/^!(.*)$/,create:e=>({type:`inverse-exact`,search(t){let n=t.indexOf(e)===-1;return{isMatch:n,score:+!n,indices:[0,t.length-1]}}})},{type:`fuzzy`,multiRegex:/^"(.*)"$/,singleRegex:/^(.*)$/,create:(e,t={})=>{let n=new kB(e,{location:t.location??gB.location,threshold:t.threshold??gB.threshold,distance:t.distance??gB.distance,includeMatches:t.includeMatches??gB.includeMatches,findAllMatches:t.findAllMatches??gB.findAllMatches,minMatchCharLength:t.minMatchCharLength??gB.minMatchCharLength,isCaseSensitive:t.isCaseSensitive??gB.isCaseSensitive,ignoreDiacritics:t.ignoreDiacritics??gB.ignoreDiacritics,ignoreLocation:t.ignoreLocation??gB.ignoreLocation});return{type:`fuzzy`,search(e){return n.searchIn(e)}}}}],NB=MB.length,PB=`\0`,FB=`|`;function IB(e){let t=[],n=e.length,r=0;for(;r<n;){for(;r<n&&e[r]===` `;)r++;if(r>=n)break;let i=r;for(;i<n&&e[i]!==` `&&e[i]!==`"`;)i++;if(i<n&&e[i]===`"`){for(i++;i<n;){if(e[i]===`"`){let t=i+1;if(t>=n||e[t]===` `){i++;break}if(e[t]===`$`&&(t+1>=n||e[t+1]===` `)){i+=2;break}}i++}t.push(e.substring(r,i)),r=i}else{for(;i<n&&e[i]!==` `;)i++;t.push(e.substring(r,i)),r=i}}return t}function LB(e,t){let n=e.match(t);return n?n[1]:null}function RB(e,t={}){return e.replace(/\\\|/g,PB).split(FB).map(e=>{let n=IB(e.replace(/\u0000/g,`|`).trim()).filter(e=>e&&!!e.trim()),r=[];for(let e=0,i=n.length;e<i;e+=1){let i=n[e],a=!1,o=-1;for(;!a&&++o<NB;){let e=MB[o],n=LB(i,e.multiRegex);n&&(r.push(e.create(n,t)),a=!0)}if(!a)for(o=-1;++o<NB;){let e=MB[o],n=LB(i,e.singleRegex);if(n){r.push(e.create(n,t));break}}}return r})}var zB=class{constructor(e,{isCaseSensitive:t=gB.isCaseSensitive,ignoreDiacritics:n=gB.ignoreDiacritics,includeMatches:r=gB.includeMatches,minMatchCharLength:i=gB.minMatchCharLength,ignoreLocation:a=gB.ignoreLocation,findAllMatches:o=gB.findAllMatches,location:s=gB.location,threshold:c=gB.threshold,distance:l=gB.distance}={}){this.query=null,this.options={isCaseSensitive:t,ignoreDiacritics:n,includeMatches:r,minMatchCharLength:i,findAllMatches:o,ignoreLocation:a,location:s,threshold:c,distance:l},e=t?e:e.toLowerCase(),e=n?OB(e):e,this.pattern=e,this.query=RB(this.pattern,this.options)}static condition(e,t){return t.useExtendedSearch}searchIn(e){let t=this.query;if(!t)return{isMatch:!1,score:1};let{includeMatches:n,isCaseSensitive:r,ignoreDiacritics:i}=this.options;e=r?e:e.toLowerCase(),e=i?OB(e):e;let a=0,o=[],s=0,c=!1;for(let r=0,i=t.length;r<i;r+=1){let i=t[r];o.length=0,a=0,c=!1;for(let t=0,r=i.length;t<r;t+=1){let r=i[t],{isMatch:l,indices:u,score:d}=r.search(e);if(l)a+=1,s+=d,jB(r.type)&&(c=!0),n&&(AB.has(r.type)?o.push(...u):o.push(u));else{s=0,a=0,o.length=0,c=!1;break}}if(a){let e={isMatch:!0,score:s/a};return c&&(e.hasInverse=!0),n&&(e.indices=TB(o)),e}}return{isMatch:!1,score:1}}},BB=[];function VB(...e){BB.push(...e)}function HB(e,t){for(let n=0,r=BB.length;n<r;n+=1){let r=BB[n];if(r.condition(e,t))return new r(e,t)}return new kB(e,t)}var UB={AND:`$and`,OR:`$or`},WB={PATH:`$path`,PATTERN:`$val`},GB=e=>!!(e[UB.AND]||e[UB.OR]),KB=e=>!!e[WB.PATH],qB=e=>!Hz(e)&&Jz(e)&&!GB(e),JB=e=>({[UB.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function YB(e,t,{auto:n=!0}={}){let r=e=>{if(Gz(e)){let r={keyId:null,pattern:e};return n&&(r.searcher=HB(e,t)),r}let i=Object.keys(e),a=KB(e);if(!a&&i.length>1&&!GB(e))return r(JB(e));if(qB(e)){let r=a?e[WB.PATH]:i[0],o=a?e[WB.PATTERN]:e[r];if(!Gz(o))throw Error(tB(r));let s={keyId:uB(r),pattern:o};return n&&(s.searcher=HB(o,t)),s}let o={children:[],operator:i[0]};return i.forEach(t=>{let n=e[t];Hz(n)&&n.forEach(e=>{o.children.push(r(e))})}),o};return GB(e)||(e=JB(e)),r(e)}function XB(e,{ignoreFieldNorm:t=gB.ignoreFieldNorm}){let n=1;return e.forEach(({key:e,norm:r,score:i})=>{let a=e?e.weight:null;n*=(i===0&&a?2**-52:i)**+((a||1)*(t?1:r))}),n}function ZB(e,{ignoreFieldNorm:t=gB.ignoreFieldNorm}){e.forEach(e=>{e.score=XB(e.matches,{ignoreFieldNorm:t})})}var QB=class{constructor(e,t){this.limit=e,this.heap=[],this.comparator=t}get size(){return this.heap.length}insert(e){this.size<this.limit?(this.heap.push(e),this._bubbleUp(this.size-1)):this.comparator(e,this.heap[0])<0&&(this.heap[0]=e,this._sinkDown(0))}extractSorted(){return this.heap.sort(this.comparator)}_bubbleUp(e){let t=this.heap;for(;e>0;){let n=e-1>>1;if(this.comparator(t[e],t[n])<=0)break;let r=t[e];t[e]=t[n],t[n]=r,e=n}}_sinkDown(e){let t=this.heap,n=t.length,r=e;do{e=r;let i=2*e+1,a=2*e+2;if(i<n&&this.comparator(t[i],t[r])>0&&(r=i),a<n&&this.comparator(t[a],t[r])>0&&(r=a),r!==e){let n=t[e];t[e]=t[r],t[r]=n}}while(r!==e)}};function $B(e){let t=[];return e.matches.forEach(e=>{if(!Xz(e.indices)||!e.indices.length)return;let n={indices:e.indices,value:e.value};e.key&&(n.key=e.key.id),e.idx>-1&&(n.refIndex=e.idx),t.push(n)}),t}function eV(e,t,{includeMatches:n=gB.includeMatches,includeScore:r=gB.includeScore}={}){return e.map(e=>{let{idx:i}=e,a={item:t[i],refIndex:i};return n&&(a.matches=$B(e)),r&&(a.score=e.score),a})}var tV=/[\p{L}\p{M}\p{N}_]+/gu,nV=new WeakSet;function rV(e){nV.has(e)||(nV.add(e),console.warn(`[Fuse] tokenize regex ${e} lacks the global flag; only the first match per text will be returned. Add the 'g' flag.`))}function iV(e){if(typeof e==`function`){let t=!1;return n=>{let r=e(n);if(!t&&(t=!0,!Array.isArray(r)||r.some(e=>typeof e!=`string`)))throw Error(`[Fuse] tokenize function must return string[]; received ${Array.isArray(r)?`array containing non-strings`:typeof r}.`);return r}}return e instanceof RegExp?(e.global||rV(e),t=>t.match(e)||[]):e=>e.match(tV)||[]}function aV({isCaseSensitive:e=!1,ignoreDiacritics:t=!1,tokenize:n}={}){let r=iV(n);return{tokenize(n){return e||(n=n.toLowerCase()),t&&(n=OB(n)),r(n)}}}var oV=class{static condition(e,t){return t.useTokenSearch}constructor(e,t){this.options=t,this.analyzer=aV({isCaseSensitive:t.isCaseSensitive,ignoreDiacritics:t.ignoreDiacritics,tokenize:t.tokenize});let n=this.analyzer.tokenize(e),{df:r,fieldCount:i}=t._invertedIndex;this.termSearchers=[],this.idfWeights=[];for(let e of n){this.termSearchers.push(new kB(e,{location:t.location,threshold:t.threshold,distance:t.distance,includeMatches:t.includeMatches,findAllMatches:t.findAllMatches,minMatchCharLength:t.minMatchCharLength,isCaseSensitive:t.isCaseSensitive,ignoreDiacritics:t.ignoreDiacritics,ignoreLocation:!0}));let n=r.get(e)||0,a=Math.log(1+(i-n+.5)/(n+.5));this.idfWeights.push(a)}this.combineAll=t.tokenMatch===`all`,this.numTerms=this.termSearchers.length,this.useMask=this.numTerms<=31}searchIn(e){if(!this.termSearchers.length)return{isMatch:!1,score:1};let t=[],n=0,r=0,i=0,a=0,o=this.combineAll&&!this.useMask?new Set:null;for(let s=0;s<this.termSearchers.length;s++){let c=this.termSearchers[s].searchIn(e),l=this.idfWeights[s];r+=l,c.isMatch&&(i++,n+=l*(1-c.score),c.indices&&t.push(...c.indices),this.combineAll&&(this.useMask?a|=1<<s:o.add(s)))}if(i===0)return{isMatch:!1,score:1};let s=r>0?1-n/r:0,c={isMatch:!0,score:Math.max(.001,s)};return this.options.includeMatches&&t.length&&(c.indices=TB(t)),this.combineAll&&(this.useMask?c.matchedMask=a:c.matchedTerms=o,c.termCount=this.numTerms),c}};function sV(e,t,n,r){let i=r.tokenize(t);if(!i.length)return;e.fieldCount++,e.docFieldCount.set(n,(e.docFieldCount.get(n)||0)+1);let a=new Set(i),o=e.docTermFieldHits.get(n);o||(o=new Map,e.docTermFieldHits.set(n,o));for(let t of a)o.set(t,(o.get(t)||0)+1),e.df.set(t,(e.df.get(t)||0)+1)}function cV(e,t,n,r){let{i,v:a,$:o}=t;if(a!==void 0){sV(e,a,i,r);return}if(o)for(let t=0;t<n;t++){let n=o[t];if(n)if(Array.isArray(n))for(let t of n)sV(e,t.v,i,r);else sV(e,n.v,i,r)}}function lV(e,t,n){let r={fieldCount:0,df:new Map,docFieldCount:new Map,docTermFieldHits:new Map};for(let i of e)cV(r,i,t,n);return r}function uV(e,t,n,r){cV(e,t,n,r)}function dV(e,t){let n=e.docFieldCount.get(t);if(n===void 0)return;e.fieldCount-=n,e.docFieldCount.delete(t);let r=e.docTermFieldHits.get(t);if(r){for(let[t,n]of r){let r=(e.df.get(t)||0)-n;r<=0?e.df.delete(t):e.df.set(t,r)}e.docTermFieldHits.delete(t)}}function fV(e,t){if(t.length===0)return;let n=Array.from(new Set(t)).sort((e,t)=>e-t);for(let t of n)dV(e,t);let r=e=>{let t=0,r=n.length;for(;t<r;){let i=t+r>>>1;n[i]<e?t=i+1:r=i}return e-t},i=n[0],a=new Map;for(let[t,n]of e.docFieldCount)a.set(t>i?r(t):t,n);e.docFieldCount=a;let o=new Map;for(let[t,n]of e.docTermFieldHits)o.set(t>i?r(t):t,n);e.docTermFieldHits=o}var pV=class{constructor(e,t,n){this.options={...gB,...t},this.options.useExtendedSearch,this.options.useTokenSearch,this._keyStore=new sB(this.options.keys),this._docs=e,this._myIndex=null,this._invertedIndex=null,this.setCollection(e,n),this._lastQuery=null,this._lastSearcher=null}_getSearcher(e){if(this._lastQuery===e)return this._lastSearcher;let t=HB(e,this._invertedIndex?{...this.options,_invertedIndex:this._invertedIndex}:this.options);return this._lastQuery=e,this._lastSearcher=t,t}setCollection(e,t){if(this._docs=e,t&&!(t instanceof yB))throw Error($z);if(this._myIndex=t||bB(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight}),this.options.useTokenSearch){let e=aV({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics,tokenize:this.options.tokenize});this._invertedIndex=lV(this._myIndex.records,this._myIndex.keys.length,e)}this._invalidateSearcherCache()}add(e){if(!Xz(e))return;this._docs.push(e);let t=this._myIndex.add(e,this._docs.length-1);if(this._invertedIndex&&t){let e=aV({isCaseSensitive:this.options.isCaseSensitive,ignoreDiacritics:this.options.ignoreDiacritics,tokenize:this.options.tokenize});uV(this._invertedIndex,t,this._myIndex.keys.length,e)}this._invalidateSearcherCache()}remove(e=()=>!1){let t=[],n=[];for(let r=0,i=this._docs.length;r<i;r+=1)e(this._docs[r],r)&&(t.push(this._docs[r]),n.push(r));if(n.length){this._invertedIndex&&fV(this._invertedIndex,n);let e=new Set(n);this._docs=this._docs.filter((t,n)=>!e.has(n)),this._myIndex.removeAll(n),this._invalidateSearcherCache()}return t}removeAt(e){if(!Number.isInteger(e)||e<0||e>=this._docs.length)throw Error(eB);this._invertedIndex&&fV(this._invertedIndex,[e]);let t=this._docs.splice(e,1)[0];return this._myIndex.removeAt(e),this._invalidateSearcherCache(),t}_invalidateSearcherCache(){this._lastQuery=null,this._lastSearcher=null}getIndex(){return this._myIndex}_normalizedKeys(){return this._myIndex.keys.map(e=>this._keyStore.get(e.id)||e)}search(e,t){let{limit:n=-1}=t||{},{includeMatches:r,includeScore:i,shouldSort:a,sortFn:o,ignoreFieldNorm:s}=this.options;if(Gz(e)&&!e.trim()){let e=this._docs.map((e,t)=>({item:e,refIndex:t}));return Kz(n)&&n>-1&&(e=e.slice(0,n)),e}let c=a&&Kz(n)&&n>0&&Gz(e),l=o,u=(e,t)=>l(e,t)||e.idx-t.idx,d;if(c){let t=new QB(n,u);Gz(this._docs[0])?this._searchStringList(e,{heap:t,ignoreFieldNorm:s}):this._searchObjectList(e,{heap:t,ignoreFieldNorm:s}),d=t.extractSorted()}else d=Gz(e)?Gz(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e),ZB(d,{ignoreFieldNorm:s}),a&&d.sort(Gz(e)?u:l),Kz(n)&&n>-1&&(d=d.slice(0,n));return eV(d,this._docs,{includeMatches:r,includeScore:i})}_searchStringList(e,{heap:t,ignoreFieldNorm:n}={}){let r=this._getSearcher(e),i=this.options.useTokenSearch&&this.options.tokenMatch===`all`,{records:a}=this._myIndex,o=t?null:[];return a.forEach(({v:e,i:a,n:s})=>{if(!Xz(e))return;let c=r.searchIn(e);if(c.isMatch){let r={score:c.score,value:e,norm:s,indices:c.indices};i&&(r.matchedMask=c.matchedMask,r.matchedTerms=c.matchedTerms,r.termCount=c.termCount);let l=[r];if(!i||this._coversAllTokens(l)){let r={item:e,idx:a,matches:l};t?(r.score=XB(r.matches,{ignoreFieldNorm:n}),t.insert(r)):o.push(r)}}}),o}_searchLogical(e){let t=YB(e,this.options),n=this._normalizedKeys(),r=(e,t,i)=>{if(!(`children`in e)){let{keyId:r,searcher:a}=e,o;return r===null?(o=[],n.forEach((e,n)=>{o.push(...this._findMatches({key:e,value:t[n],searcher:a}))})):o=this._findMatches({key:this._keyStore.get(r),value:this._myIndex.getValueForItemAtKeyId(t,r),searcher:a}),o&&o.length?[{idx:i,item:t,matches:o}]:[]}let{children:a,operator:o}=e,s=[];for(let e=0,n=a.length;e<n;e+=1){let n=a[e],c=r(n,t,i);if(c.length)s.push(...c);else if(o===UB.AND)return[]}return s},i=this._myIndex.records,a=new Map,o=[];return i.forEach(({$:e,i:n})=>{if(Xz(e)){let i=r(t,e,n);i.length&&(a.has(n)||(a.set(n,{idx:n,item:e,matches:[]}),o.push(a.get(n))),i.forEach(({matches:e})=>{a.get(n).matches.push(...e)}))}}),o}_searchObjectList(e,{heap:t,ignoreFieldNorm:n}={}){let r=this._getSearcher(e),i=this.options.useTokenSearch&&this.options.tokenMatch===`all`,{records:a}=this._myIndex,o=this._normalizedKeys(),s=t?null:[];return a.forEach(({$:e,i:a})=>{if(!Xz(e))return;let c=[],l=!1,u=!1;if(o.forEach((t,n)=>{let i=this._findMatches({key:t,value:e[n],searcher:r});i.length?(c.push(...i),i[0].hasInverse&&(u=!0)):l=!0}),!(u&&l)&&c.length&&(!i||this._coversAllTokens(c))){let r={idx:a,item:e,matches:c};t?(r.score=XB(r.matches,{ignoreFieldNorm:n}),t.insert(r)):s.push(r)}}),s}_findMatches({key:e,value:t,searcher:n}){if(!Xz(t))return[];let r=[];if(Hz(t))t.forEach(({v:t,i,n:a})=>{if(!Xz(t))return;let o=n.searchIn(t);if(o.isMatch){let n={score:o.score,key:e,value:t,idx:i,norm:a,indices:o.indices,hasInverse:o.hasInverse};o.termCount!==void 0&&(n.matchedMask=o.matchedMask,n.matchedTerms=o.matchedTerms,n.termCount=o.termCount),r.push(n)}});else{let{v:i,n:a}=t,o=n.searchIn(i);if(o.isMatch){let t={score:o.score,key:e,value:i,norm:a,indices:o.indices,hasInverse:o.hasInverse};o.termCount!==void 0&&(t.matchedMask=o.matchedMask,t.matchedTerms=o.matchedTerms,t.termCount=o.termCount),r.push(t)}}return r}_coversAllTokens(e){let t=e.length?e[0].termCount:void 0;if(t===void 0)return!0;if(t<=31){let n=0;for(let t=0;t<e.length;t++)n|=e[t].matchedMask||0;return n===2**t-1}let n=new Set;for(let t=0;t<e.length;t++){let r=e[t].matchedTerms;if(r)for(let e of r)n.add(e)}return n.size===t}};pV.version=`7.5.0`,pV.createIndex=bB,pV.parseIndex=xB,pV.config=gB,pV.match=function(e,t,n){if(n&&n.useTokenSearch)throw Error(aB);return HB(e,{...gB,...n}).searchIn(t)},pV.parseQuery=YB,VB(zB),VB(oV),pV.use=function(...e){e.forEach(e=>VB(e))};var mV=pV,hV=[`id`],gV=[`id`,`aria-selected`,`onClick`],_V={class:`flex items-center gap-2 whitespace-nowrap`},vV={key:1,class:`text-c-3 bg-b-3 flex h-4.5 min-w-4.5 items-center justify-center rounded px-0.5 font-sans text-[9px] font-semibold`},yV={class:`max-w-[9rem] overflow-hidden text-right text-ellipsis whitespace-nowrap`},bV=12,xV=T({__name:`EnvironmentVariablesDropdown`,props:{query:{},environment:{},dropdownPosition:{},contextFunctionItems:{default:()=>[]},listboxId:{}},emits:[`select`,`redirect`,`close`],setup(e,{expose:t,emit:n}){let r=n,i=j(!0),a=j(null),o=j(0),s=()=>{r(`redirect`),i.value=!1,r(`close`)},c=M(()=>(e.environment?.variables??[]).map(e=>({key:e.name,value:typeof e.value==`string`?e.value:e.value.default}))),l=M(()=>e.contextFunctionItems.map(e=>({kind:`context`,key:e.key,secondary:e.description}))),u=M(()=>c.value.filter(({key:e,value:t})=>e!==``||t!==``).map(({key:e,value:t})=>({kind:`env`,key:e,secondary:t}))),d=M(()=>u.value.map(e=>({...e,fuseText:`${e.key} ${e.secondary}`}))),f=M(()=>l.value.map(e=>({...e,fuseText:`${e.key} ${e.secondary}`}))),p=M(()=>new mV(d.value,{keys:[`fuseText`],threshold:.35})),m=M(()=>new mV(f.value,{keys:[`fuseText`],threshold:.35})),h=M(()=>{let t=new Map(e.contextFunctionItems.map(e=>[e.key,e]));return pse.flatMap(e=>{let n=t.get(e);return n?[{kind:`context`,key:n.key,secondary:n.description}]:[]})}),g=M(()=>{if(!e.query.trim())return[...u.value.slice(-4),...h.value];let t=e.query.trim(),n=p.value.search(t,{limit:bV}).map(e=>{let{kind:t,key:n,secondary:r}=e.item;return{kind:t,key:n,secondary:r}}),r=bV-n.length,i=r>0?m.value.search(t,{limit:r}).map(e=>{let{kind:t,key:n,secondary:r}=e.item;return{kind:t,key:n,secondary:r}}):[];return[...n,...i]}),b=t=>e.listboxId?`${e.listboxId}-option-${t}`:void 0,ee=M(()=>g.value.length?b(o.value):void 0),te=e=>{r(`select`,e)};Ye(()=>g.value.length,e=>{o.value>e-1&&(o.value=Math.max(0,e-1))}),t({handleArrowKey:e=>{let t=e===`up`?-1:1,n=g.value.length;n!==0&&(o.value=(o.value+t+n)%n)},handleSelect:()=>{if(o.value>=0){let e=g.value[o.value];e&&te(e.key)}},activeOptionId:ee}),le(()=>{o.value=0});let S=M(()=>({left:(e.dropdownPosition?.left??0)+`px`,top:(e.dropdownPosition?.top??0)+5+`px`}));return az(a,()=>{i.value=!1,r(`close`)},{ignore:[a]}),(t,n)=>i.value?(y(),k(E(dI),{key:0,class:`scalar-client`},{default:D(()=>[P(`div`,{ref_key:`dropdownRef`,ref:a,class:`custom-scroll z-context fixed top-0 left-0 flex max-h-[60svh] w-56 flex-col rounded border p-0.75`,style:x(S.value),onMousedown:n[0]||=Bn(()=>{},[`prevent`])},[P(`ul`,{id:e.listboxId,"aria-label":`Variable suggestions`,class:`gap-1/2 flex flex-col`,role:`listbox`},[(y(!0),N(Me,null,_(g.value,(t,n)=>(y(),N(`li`,{key:`${t.kind}-${t.key}`,id:b(n),"aria-selected":n===o.value,class:v([`font-code text-xxs hover:bg-b-3 flex h-8 cursor-pointer items-center justify-between gap-1.5 rounded p-1.5 transition-colors duration-150`,{"bg-b-3":n===o.value}]),role:`option`,onClick:e=>te(t.key)},[P(`div`,_V,[t.kind===`env`?(y(),N(`span`,{key:0,class:`h-2.25 w-2.25 min-w-2.25 rounded-full`,style:x({backgroundColor:e.environment?.color})},null,4)):(y(),N(`span`,vV,` fn `)),F(` `+ye(t.key),1)]),P(`span`,yV,ye(t.secondary),1)],10,gV))),128))],8,hV),g.value.length?A(``,!0):(y(),k(E(qF),{key:0,class:`font-code text-xxs bg-b-inherit hover:bg-b-3 flex h-8 w-full justify-start gap-2 px-1.5 transition-colors duration-150`,variant:`outlined`,onClick:s},{default:D(()=>[O(E(lo),{class:`size-3`}),n[1]||=F(` Add Variable `,-1)]),_:1})),n[2]||=P(`div`,{class:`bg-b-1 brightness-lifted absolute inset-0 -z-1 rounded shadow-lg`},null,-1)],36)]),_:1})):A(``,!0)}}),SV=`scalar-tooltip`,CV=`scalar-tooltip`,wV=j(),TV=j(),EV=j(),{floatingStyles:DV,placement:OV,update:kV}=SR(M(()=>E(EV.value?.targetRef)),TV,{placement:M(()=>E(EV.value?.placement)),whileElementsMounted:sR,middleware:M(()=>[uR(),lR()])});Ye(OV,e=>{!TV.value||!e||(TV.value.dataset.side=e.split(`-`)[0])}),Ye(DV,()=>{TV.value&&(TV.value.style.position=DV.value.position,TV.value.style.top=DV.value.top,TV.value.style.left=DV.value.left,TV.value.style.transform=DV.value.transform??``,TV.value.style.willChange=DV.value.willChange??``)}),Ye(EV,e=>{if(TV.value)if(e){PV(E(e.targetRef))&&kV();let t=E(e?.contentTarget)??`textContent`;TV.value[t]=E(e?.content)??``;let n=E(e?.offset)??4;TV.value.style.setProperty(`--scalar-tooltip-offset`,`${n}px`),TV.value.dataset.side=(E(e?.placement)??`bottom`).split(`-`)[0],TV.value.style.setProperty(`display`,`block`)}else TV.value.innerHTML=``,TV.value.style.removeProperty(`--scalar-tooltip-offset`),TV.value.style.setProperty(`display`,`none`),PV(void 0)},{deep:!0});function AV(){if(typeof document>`u`||typeof window>`u`||TV.value)return;let e=document.getElementById(SV);e?TV.value=e:(TV.value=document.createElement(`div`),TV.value.role=`tooltip`,TV.value.id=SV,TV.value.classList.add(CV),TV.value.classList.add(`scalar-app`),TV.value.style.setProperty(`display`,`none`),TV.value.addEventListener(`mouseleave`,jV),document.body.appendChild(TV.value))}function jV(e){LV(e)&&(FV(),EV.value=void 0)}function MV(e){e.key===`Escape`&&(e.stopPropagation(),jV(e))}function NV(e){let t=e?.closest(`dialog`);if(t)try{return t.matches(`:modal`)?t:void 0}catch{return}}function PV(e){if(!TV.value)return!1;let t=NV(e)??document.body;return TV.value.parentElement===t?!1:(t.appendChild(TV.value),!0)}function FV(){wV.value&&=(clearTimeout(wV.value),void 0)}function IV(e){let t=[],n=e.parentElement;for(;n;)t.push(n),n=n.parentElement;return t}function LV(e){let t=E(EV.value?.targetRef);if(e instanceof MouseEvent&&e.relatedTarget instanceof Element&&t){let n=IV(e.relatedTarget);return e.relatedTarget.id!==`scalar-tooltip`&&!n.some(e=>e.id===`scalar-tooltip`)&&e.relatedTarget!==t}return!0}function RV(e){AV();function t(t){let r=E(e.delay)??300;FV(),r>0?wV.value=setTimeout(()=>n(t),r):n(t)}function n(t){FV(),document.addEventListener(`keydown`,MV,{once:!0,capture:!0}),PV(E(e.targetRef)),EV.value=e}Ye(()=>E(e.targetRef),(e,r)=>{r&&(r.removeEventListener(`mouseenter`,t),r.removeEventListener(`mouseleave`,jV),r.removeEventListener(`focus`,n),r.removeEventListener(`blur`,jV),r.removeAttribute(`aria-describedby`)),e&&(e.addEventListener(`mouseenter`,t),e.addEventListener(`mouseleave`,jV),e.addEventListener(`focus`,n),e.addEventListener(`blur`,jV),e.setAttribute(`aria-describedby`,SV))},{immediate:!0}),We(()=>{FV();let r=E(e.targetRef);r&&(r.removeEventListener(`mouseenter`,t),r.removeEventListener(`mouseleave`,jV),r.removeEventListener(`focus`,n),r.removeEventListener(`blur`,jV),r.removeAttribute(`aria-describedby`)),E(EV.value?.targetRef)===E(e.targetRef)&&(EV.value=void 0)})}var zV=e=>{let t=Reflect.get(e,`userAgentData`);if(!(!t||typeof t!=`object`)&&!(!(`platform`in t)||typeof t.platform!=`string`))return t.platform},BV=()=>{if(typeof navigator>`u`)return!1;let e=zV(navigator);return e?e.toLowerCase().includes(`mac`):/Mac/.test(navigator.userAgent)},VV=T({name:`PillTooltipHost`,__name:`PillTooltipHost`,props:{context:{},target:{}},setup(e){let t=e,n=t.context.type===`contextFunction`,r=M(()=>{if(!n||typeof document>`u`||t.context.type!==`contextFunction`)return``;let e=document.createElement(`div`);return Kn(de(`div`,{class:`flex flex-col gap-1.5 text-left`},[de(`span`,{},t.context.details),de(`div`,{class:`text-[color:var(--scalar-color-3)] text-[10px] font-normal`},`Computed at request execution`)]),e),e.innerHTML}),i=M(()=>t.context.type===`environment`?t.context.value:``),a=j(t.target);return RV({content:n?r:i,contentTarget:n?`innerHTML`:`textContent`,delay:0,placement:`bottom-start`,offset:6,targetRef:a}),(e,t)=>null}}),HV=`useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict`,UV=(e=21)=>{let t=``,n=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+=HV[n[e]&63];return t},WV=[`role`],GV={key:0,class:`sr-only`},KV=T({__name:`DataTable`,props:{columns:{},scroll:{type:Boolean},presentational:{type:Boolean}},setup(e){let{cx:t}=xc();return(n,r)=>(y(),N(`div`,Ge(Qe(E(t)(e.scroll?`overflow-x-auto custom-scroll`:`overflow-visible`,`scalar-data-table`))),[P(`table`,{class:v([`mb-0 grid min-h-8 auto-rows-auto`,{"w-max min-w-full":e.scroll}]),role:e.presentational?`presentation`:`table`,style:x({gridTemplateColumns:e.columns.map(e=>e||`1fr`).join(` `)})},[n.$slots.caption?(y(),N(`caption`,GV,[S(n.$slots,`caption`)])):A(``,!0),S(n.$slots,`default`)],14,WV)],16))}}),qV=T({inheritAttrs:!1,__name:`DataTableCell`,props:{is:{default:`td`}},setup(e){let{cx:t}=xc();return(n,r)=>(y(),k(te(e.is),o(E(t)(`box-content max-h-8 min-h-8 min-w-8 border-l-0 border-t border-b-0 border-r flex text-base/5 last:border-r-0 group-last:border-b-transparent p-0 m-0 relative`),{class:`group-[.alert]:bg-b-alert group-[.error]:bg-b-danger`}),{default:D(()=>[S(n.$slots,`default`)]),_:3},16))}}),JV={},YV={class:`group contents`};function XV(e,t){return y(),N(`tr`,YV,[S(e.$slots,`default`)])}var ZV=Ma(JV,[[`render`,XV]]),QV=(e,t)=>{let n=e?.variables?.find(e=>e.name===t);if(n)return typeof n.value==`string`?n.value:n.value?.default},$V=(e,t)=>{if(lT(e))return{type:`contextFunction`,identifier:e,details:sT(e)};let n=QV(t,e);return{type:`environment`,name:e,value:n||`No value`,isDefined:!!n}},eH=(e,t)=>{if(!t||!e.includes(`{{`))return``;let n=new RegExp(mo.VARIABLES.source,mo.VARIABLES.flags),r=``,i;for(;(i=n.exec(e))!==null;)r+=`|${i[1]??``}`;return r},tH=e=>typeof e==`string`?e:e==null?``:JSON.stringify(e),nH={class:`whitespace-nowrap`},rH=[`id`],iH=[`aria-activedescendant`,`aria-autocomplete`,`aria-controls`,`aria-expanded`,`aria-invalid`,`aria-label`,`aria-readonly`,`aria-required`,`contenteditable`,`data-placeholder`,`role`],aH={key:5,class:`centered-y text-orange absolute right-7 text-xs`},oH={key:6,class:`centered-y absolute right-0 flex h-full items-center p-1.5 group-has-[.code-input-lite__editor:focus]:z-1`},sH={key:7,class:`required centered-y text-xxs text-c-3 group-[.error]:text-red bg-b-1 pointer-events-none absolute right-0 mr-0.5 pt-px pr-2 opacity-100 shadow-[-8px_0_4px_var(--scalar-background-1)] transition-opacity duration-150 peer-has-[.code-input-lite__editor:focus]:opacity-0`},cH=Ma(T({inheritAttrs:!1,__name:`CodeInputLite`,props:{modelValue:{type:[String,Number,Boolean,Array,Object]},environment:{},disabled:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},error:{type:Boolean,default:!1},layout:{default:`desktop`},placeholder:{},required:{type:Boolean,default:!1},emitOnBlur:{type:Boolean,default:!0},withVariables:{type:Boolean,default:!0},withFakeData:{type:Boolean,default:!1},alwaysEmitChange:{type:Boolean,default:!1},linethrough:{type:Boolean,default:!1},type:{},enum:{},examples:{},default:{type:[String,Number,Boolean,Array,Object]},nullable:{type:Boolean,default:!1}},emits:[`update:modelValue`,`submit`,`blur`,`navigate`],setup(e,{expose:t,emit:n}){let r=n,i=_e(),a=j(null),s=M(()=>i.id??a.value??void 0),c=()=>{!i.id&&a.value===null&&(a.value=`id-${UV()}`)},l=De(`editorRef`),u=j(null),d=M(()=>s.value?`${s.value}-listbox`:void 0),f=M(()=>u.value?.activeOptionId),p=j(!1),m=j(!0),h=j(!1),g=e=>e.trim().length===0,_=M(()=>e.enum?.length?!1:e.type===`boolean`||Array.isArray(e.type)&&e.type.includes(`boolean`)),b=M(()=>e.nullable?[`true`,`false`,`null`]:[`true`,`false`]),ee=M(()=>Array.isArray(e.type)?e.type.find(e=>e!==`null`)??`string`:e.type),te=e=>r(`update:modelValue`,e),x=[],ne=!1,re=()=>{for(let e of x)e.unmount();x=[]},ie=()=>{if(!l.value||e.layout===`modal`)return;let t=l.value.querySelectorAll(`.scalar-pill`);for(let n of t){let t=qn(VV,{context:$V(n.dataset.variable??``,e.environment),target:n});t.mount(document.createElement(`div`)),x.push(t)}},ae=(t,n,r)=>{let i=lT(t),a=document.createElement(`span`);a.className=i?`scalar-pill scalar-pill--context-fn`:`scalar-pill`,a.contentEditable=`false`,a.dataset.variable=t,a.dataset.pillStart=String(n),a.dataset.pillEnd=String(r);let o=i?`var(--scalar-color-3)`:e.environment?.color||`var(--scalar-color-1)`;return a.style.setProperty(`--tw-bg-base`,o),!i&&!QV(e.environment,t)&&(a.style.opacity=`0.5`),a.textContent=t,a},oe=t=>{let n=l.value;if(!n)return;if(re(),n.replaceChildren(),!e.withVariables||!t.includes(`{{`)){t&&n.appendChild(document.createTextNode(t)),m.value=g(t);return}let r=new RegExp(mo.VARIABLES.source,mo.VARIABLES.flags),i=0,a;for(;(a=r.exec(t))!==null;){let e=a.index,r=e+a[0].length;e>i&&n.appendChild(document.createTextNode(t.slice(i,e))),n.appendChild(ae(a[1]??``,e,r)),i=r}i<t.length&&n.appendChild(document.createTextNode(t.slice(i))),m.value=!1,ne&&ie()},C=e=>e.nodeType===Node.TEXT_NODE?(e.textContent??``).length:e instanceof HTMLElement&&e.classList.contains(`scalar-pill`)?`{{${e.dataset.variable??``}}}`.length:(e.textContent??``).length,w=()=>{let e=l.value;if(!e)return``;let t=``;for(let n of Array.from(e.childNodes))n.nodeType===Node.TEXT_NODE?t+=n.textContent??``:n instanceof HTMLElement&&n.classList.contains(`scalar-pill`)?t+=`{{${n.dataset.variable??``}}}`:n instanceof HTMLElement&&(t+=n.textContent??``);return t},ce=null,ue=``,T=()=>{let t=e.environment?.color??``,n=e.withVariables?`1`:`0`,r=e.environment?.variables??[],i=``;for(let e of r){let t=typeof e.value==`string`?e.value:e.value?.default??``;i+=`\x1f${e.name}\x1e${t}`}return`${t}|${n}|${i}`},de=()=>{ne||(ne=!0,ie())},fe=()=>{let e=l.value;if(!e)return null;let t=window.getSelection();if(!t||t.rangeCount===0)return null;let n=t.getRangeAt(0);if(n.startContainer!==e&&!e.contains(n.startContainer))return null;if(n.startContainer===e){let t=0;for(let r=0;r<n.startOffset&&r<e.childNodes.length;r++)t+=C(e.childNodes[r]);return t}let r=0;for(let t of Array.from(e.childNodes)){if(t===n.startContainer)return r+n.startOffset;if(t.contains(n.startContainer))return n.startOffset===0?r:r+C(t);r+=C(t)}return r},pe=e=>{let t=l.value;if(!t)return;let n=document.createRange(),r=0,i=!1;for(let a of Array.from(t.childNodes)){let t=C(a);if(r+t>=e){if(a.nodeType===Node.TEXT_NODE){let t=Math.max(0,Math.min(e-r,(a.textContent??``).length));n.setStart(a,t)}else e-r<=0?n.setStartBefore(a):n.setStartAfter(a);i=!0;break}r+=t}i?n.collapse(!0):(n.selectNodeContents(t),n.collapse(!1));let a=window.getSelection();a&&(a.removeAllRanges(),a.addRange(n))},me=j(!1),he=j(``),ge=j({left:0,top:0}),ve=M(()=>e.withFakeData?cT.map(e=>({key:e,description:sT(e)})):[]),be=M(()=>me.value&&e.withVariables&&e.layout!==`modal`&&(!!e.environment||e.withFakeData)),xe=()=>{if(!l.value)return;let e=fe();if(e===null){me.value=!1;return}let t=w().slice(0,e),n=t.lastIndexOf(`{{`);if(n<=t.lastIndexOf(`}}`)){me.value=!1;return}he.value=t.slice(n+2),c(),me.value=!0,Ne(()=>{let e=window.getSelection();if(!e||e.rangeCount===0||!l.value)return;let t=e.getRangeAt(0).cloneRange();t.collapse(!0);let n=t.getBoundingClientRect(),r=l.value.getBoundingClientRect();ge.value={left:n.left||r.left,top:n.bottom||r.bottom}})},Se=t=>{if(e.readOnly)return;let n=fe()??0,r=w(),i=Math.max(0,n-he.value.length-2),a=n,o=`${r.slice(0,i)}{{${t}}}${r.slice(a)}`,s=i+`{{${t}}}`.length;ce=eH(o,e.withVariables),oe(o),pe(s),me.value=!1,Ce(o,{skipDropdownCheck:!0})},Ce=(t,n={})=>{let i=t===tH(e.modelValue);(e.alwaysEmitChange||!i)&&r(`update:modelValue`,t),n.skipDropdownCheck||xe()},we=()=>{let t=w();m.value=g(t);let n=eH(t,e.withVariables);if(!h.value&&n!==ce){let e=fe();ce=n,oe(t),e!==null&&pe(e)}Ce(t)},D=()=>{h.value=!0},O=()=>{h.value=!1,we()},Te=()=>{p.value=!0,c(),de()},Ee=t=>{p.value=!1,me.value=!1;let n=w();e.emitOnBlur&&n&&r(`submit`,n,t),r(`blur`,n,t)},Oe=e=>{e.preventDefault();let t=e.clipboardData?.getData(`text/plain`)??``;t&&(document.execCommand(`insertText`,!1,t.replace(/\r?\n/g,` `)),we())},ke=e=>{if(me.value){if(e.key===`ArrowDown`||e.key===`ArrowUp`){e.preventDefault(),e.stopPropagation(),u.value?.handleArrowKey(e.key===`ArrowDown`?`down`:`up`);return}if(e.key===`Enter`){e.preventDefault(),e.stopPropagation(),u.value?.handleSelect();return}if(e.key===`Escape`){e.preventDefault(),e.stopPropagation(),me.value=!1;return}}if(e.key===`Enter`){e.preventDefault(),r(`submit`,w(),e);return}},Ae=e=>{let t=e.target?.closest(`.scalar-pill`);if(!t)return;let n=l.value;if(!n)return;n.focus();let r=document.createRange();r.selectNode(t);let i=window.getSelection();i?.removeAllRanges(),i?.addRange(r),xe()};return le(()=>{let t=tH(e.modelValue);ce=eH(t,e.withVariables),ue=T(),oe(t),m.value=g(t),Object.hasOwn(i,`autofocus`)&&l.value?.focus()}),Ye(()=>e.modelValue,t=>{let n=tH(t);m.value=g(n),w()!==n&&(ce=eH(n,e.withVariables),oe(n))}),Ye([()=>e.environment,()=>e.withVariables],()=>{let t=T();if(t===ue||(ue=t,ce===``))return;ce=eH(w(),e.withVariables);let n=fe();oe(w()),n!==null&&pe(n)},{deep:!0}),se(()=>{re()}),t({focus:e=>{let t=l.value;if(!t||(t.focus(),!Sc(e)))return;let n=w().length;pe(e===`start`?0:e===`end`?n:e)},setContent:(t=``)=>{w()!==t&&(ce=eH(t,e.withVariables),oe(t),m.value=g(t))},getValue:()=>w(),cursorPosition:()=>{let e=fe();return e===null?void 0:e},isFocused:p,editorRef:l}),(t,n)=>(y(),N(Me,null,[e.disabled?(y(),N(`div`,{key:0,class:v([`text-c-2 flex cursor-default items-center justify-center`,{"font-code pr-2 pl-1 text-base":e.layout===`modal`,"px-2":e.layout!==`modal`,"line-through":e.linethrough}]),"data-testid":`code-input-lite-disabled`},[P(`span`,nH,ye(e.modelValue),1)],2)):e.enum?.length?(y(),k(Vz,{key:1,default:e.default,modelValue:e.modelValue,type:ee.value,value:e.enum,"onUpdate:modelValue":te},null,8,[`default`,`modelValue`,`type`,`value`])):_.value?(y(),k(Vz,{key:2,default:e.default,modelValue:e.modelValue,value:b.value,"onUpdate:modelValue":te},null,8,[`default`,`modelValue`,`value`])):e.examples?.length?(y(),k(Vz,{key:3,default:e.default,modelValue:e.modelValue,value:e.examples,"onUpdate:modelValue":te},null,8,[`default`,`modelValue`,`value`])):(y(),N(`div`,o({key:4,id:s.value},t.$attrs,{class:[`code-input-lite group/code-input-lite peer relative w-full leading-[1.44] -outline-offset-1 has-[:focus-visible]:rounded-[4px] has-[:focus-visible]:outline`,{"code-input-lite--error":e.error,"code-input-lite--empty":m.value,"line-through":e.linethrough}]}),[P(`div`,{ref_key:`editorRef`,ref:l,"aria-activedescendant":be.value?f.value:void 0,"aria-autocomplete":e.withVariables?`list`:void 0,"aria-controls":be.value?d.value:void 0,"aria-expanded":be.value?`true`:void 0,"aria-invalid":e.error?`true`:void 0,"aria-label":E(i)[`aria-label`],"aria-readonly":e.readOnly?`true`:void 0,"aria-required":e.required?`true`:void 0,class:`code-input-lite__editor`,contenteditable:e.readOnly?`false`:`true`,"data-placeholder":e.placeholder,role:e.withVariables?`combobox`:`textbox`,spellcheck:`false`,onBlur:Ee,onClick:Ae,onCompositionend:O,onCompositionstart:D,onFocus:Te,onInput:we,onKeydown:ke,onPaste:Oe,onPointerover:de},null,40,iH)],16,rH)),t.$slots.warning?(y(),N(`div`,aH,[S(t.$slots,`warning`,{},void 0,!0)])):A(``,!0),t.$slots.icon?(y(),N(`div`,oH,[S(t.$slots,`icon`,{},void 0,!0)])):A(``,!0),e.required?(y(),N(`div`,sH,` Required `)):A(``,!0),be.value?(y(),k(xV,{key:8,ref_key:`dropdownRef`,ref:u,contextFunctionItems:ve.value,dropdownPosition:ge.value,environment:e.environment,listboxId:d.value,query:he.value,onClose:n[0]||=e=>me.value=!1,onRedirect:n[1]||=e=>r(`navigate`,{page:`document`,path:`environment`}),onSelect:Se},null,8,[`contextFunctionItems`,`dropdownPosition`,`environment`,`listboxId`,`query`])):A(``,!0)],64))}}),[[`__scopeId`,`data-v-f03d0c9d`]]),lH=[`aria-label`,`checked`,`disabled`],uH=T({__name:`DataTableCheckbox`,props:{modelValue:{type:Boolean},disabled:{type:Boolean},align:{default:`center`},ariaLabel:{default:`Toggle`}},emits:[`update:modelValue`],setup(e){let t=yc({base:`w-8 h-8 flex items-center justify-center text-b-2 peer-checked:text-c-1 pointer-events-none absolute`,variants:{align:{left:`left-0`,center:`centered`}}});return(n,r)=>(y(),k(qV,{class:`group/cell relative flex min-w-8`},{default:D(()=>[P(`input`,{"aria-label":e.ariaLabel,checked:e.modelValue,class:`peer absolute inset-0 size-full cursor-pointer opacity-0 disabled:cursor-default`,disabled:!!e.disabled,type:`checkbox`,onChange:r[0]||=e=>n.$emit(`update:modelValue`,e.target.checked)},null,40,lH),P(`div`,{class:v(E(t)({align:e.align}))},[P(`div`,{class:v([`absolute m-auto size-3/4 rounded border-[1px] opacity-0`,!e.disabled&&`group-has-[:focus-visible]/cell:border-c-accent group-hover:opacity-100 group-has-[:focus-visible]/cell:opacity-100`])},null,2),O(E(VF),{icon:`Checkmark`,size:`xs`,thickness:`2.5`})],2)]),_:1}))}}),dH=(function(e){if(e==null)return gH;if(typeof e==`function`)return hH(e);if(typeof e==`object`)return Array.isArray(e)?fH(e):pH(e);if(typeof e==`string`)return mH(e);throw Error(`Expected function, string, or object as test`)});function fH(e){let t=[],n=-1;for(;++n<e.length;)t[n]=dH(e[n]);return hH(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}function pH(e){let t=e;return hH(n);function n(n){let r=n,i;for(i in e)if(r[i]!==t[i])return!1;return!0}}function mH(e){return hH(t);function t(t){return t&&t.type===e}}function hH(e){return t;function t(t,n,r){return!!(_H(t)&&e.call(this,t,typeof n==`number`?n:void 0,r||void 0))}}function gH(){return!0}function _H(e){return typeof e==`object`&&!!e&&`type`in e}function vH(e){return e}var yH=[],bH=`skip`;function xH(e,t,n,r){let i;typeof t==`function`&&typeof n!=`function`?(r=n,n=t):i=t;let a=dH(i),o=r?-1:1;s(e,void 0,[])();function s(e,i,c){let l=e&&typeof e==`object`?e:{};if(typeof l.type==`string`){let t=typeof l.tagName==`string`?l.tagName:typeof l.name==`string`?l.name:void 0;Object.defineProperty(u,"name",{value:`node (`+vH(e.type+(t?`<`+t+`>`:``))+`)`})}return u;function u(){let l=yH,u,d,f;if((!t||a(e,i,c[c.length-1]||void 0))&&(l=SH(n(e,c)),l[0]===!1))return l;if(`children`in e&&e.children){let t=e;if(t.children&&l[0]!==`skip`)for(d=(r?t.children.length:-1)+o,f=c.concat(t);d>-1&&d<t.children.length;){let e=t.children[d];if(u=s(e,d,f)(),u[0]===!1)return u;d=typeof u[1]==`number`?u[1]:d+o}}return l}}}function SH(e){return Array.isArray(e)?e:typeof e==`number`?[!0,e]:e==null?yH:[e]}function CH(e,t,n,r){let i,a,o;typeof t==`function`&&typeof n!=`function`?(a=void 0,o=t,i=n):(a=t,o=n,i=r),xH(e,a,s,i);function s(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return o(e,r,n)}}var wH=Object.create,TH=Object.defineProperty,EH=Object.getOwnPropertyDescriptor,DH=Object.getOwnPropertyNames,OH=Object.getPrototypeOf,kH=Object.prototype.hasOwnProperty,AH=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),jH=(e,t)=>{let n={};for(var r in e)TH(n,r,{get:e[r],enumerable:!0});return t||TH(n,Symbol.toStringTag,{value:`Module`}),n},MH=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var i=DH(t),a=0,o=i.length,s;a<o;a++)s=i[a],!kH.call(e,s)&&s!==n&&TH(e,s,{get:(e=>t[e]).bind(null,s),enumerable:!(r=EH(t,s))||r.enumerable});return e},NH=(e,t,n)=>(n=e==null?{}:wH(OH(e)),MH(t||!e||!e.__esModule?TH(n,`default`,{value:e,enumerable:!0}):n,e)),PH={ts:`typescript`,js:`javascript`,py:`python`,py3:`python`,"c#":`csharp`,"c++":`cpp`,node:`javascript`},FH=(function(e,t,n){let r=dH(n);if(!e||!e.type||!e.children)throw Error(`Expected parent node`);if(typeof t==`number`){if(t<0||t===1/0)throw Error(`Expected positive finite number as index`)}else if(t=e.children.indexOf(t),t<0)throw Error(`Expected child node or index`);for(;++t<e.children.length;)if(r(e.children[t],t,e))return e.children[t]}),IH=(function(e,t,n,r,i){let a=LH(t);if(n!=null&&(typeof n!=`number`||n<0||n===1/0))throw Error("Expected positive finite `index`");if(r!=null&&(!r.type||!r.children))throw Error("Expected valid `parent`");if(n==null!=(r==null))throw Error("Expected both `index` and `parent`");return HH(e)?a.call(i,e,n,r):!1}),LH=(function(e){if(e==null)return VH;if(typeof e==`string`)return zH(e);if(typeof e==`object`)return RH(e);if(typeof e==`function`)return BH(e);throw Error("Expected function, string, or array as `test`")});function RH(e){let t=[],n=-1;for(;++n<e.length;)t[n]=LH(e[n]);return BH(r);function r(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}function zH(e){return BH(t);function t(t){return t.tagName===e}}function BH(e){return t;function t(t,n,r){return!!(HH(t)&&e.call(this,t,typeof n==`number`?n:void 0,r||void 0))}}function VH(e){return!!(e&&typeof e==`object`&&`type`in e&&e.type===`element`&&`tagName`in e&&typeof e.tagName==`string`)}function HH(e){return typeof e==`object`&&!!e&&`type`in e&&`tagName`in e}var UH=/\n/g,WH=/[\t ]+/g,GH=LH(`br`),KH=LH(aU),qH=LH(`p`),JH=LH(`tr`),YH=LH([`datalist`,`head`,`noembed`,`noframes`,`noscript`,`rp`,`script`,`style`,`template`,`title`,iU,oU]),XH=LH(`address.article.aside.blockquote.body.caption.center.dd.dialog.dir.dl.dt.div.figure.figcaption.footer.form,.h1.h2.h3.h4.h5.h6.header.hgroup.hr.html.legend.li.listing.main.menu.nav.ol.p.plaintext.pre.section.ul.xmp`.split(`.`));function ZH(e,t){let n=t||{},r=`children`in e?e.children:[],i=XH(e),a=rU(e,{whitespace:n.whitespace||`normal`,breakBefore:!1,breakAfter:!1}),o=[];(e.type===`text`||e.type===`comment`)&&o.push(...eU(e,{whitespace:a,breakBefore:!0,breakAfter:!0}));let s=-1;for(;++s<r.length;)o.push(...QH(r[s],e,{whitespace:a,breakBefore:s?void 0:i,breakAfter:s<r.length-1?GH(r[s+1]):i}));let c=[],l;for(s=-1;++s<o.length;){let e=o[s];typeof e==`number`?l!==void 0&&e>l&&(l=e):e&&(l!==void 0&&l>-1&&c.push(`
|
|
14
|
+
`.repeat(l)||` `),l=-1,c.push(e))}return c.join(``)}function QH(e,t,n){return e.type===`element`?$H(e,t,n):e.type===`text`?n.whitespace===`normal`?eU(e,n):tU(e):[]}function $H(e,t,n){let r=rU(e,n),i=e.children||[],a=-1,o=[];if(YH(e))return o;let s,c;for(GH(e)||JH(e)&&FH(t,e,JH)?c=`
|
|
15
|
+
`:qH(e)?(s=2,c=2):XH(e)&&(s=1,c=1);++a<i.length;)o=o.concat(QH(i[a],e,{whitespace:r,breakBefore:a?void 0:s,breakAfter:a<i.length-1?GH(i[a+1]):c}));return KH(e)&&FH(t,e,KH)&&o.push(` `),s&&o.unshift(s),c&&o.push(c),o}function eU(e,t){let n=String(e.value),r=[],i=[],a=0;for(;a<=n.length;){UH.lastIndex=a;let e=UH.exec(n),i=e&&`index`in e?e.index:n.length;r.push(nU(n.slice(a,i).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,``),a!==0||t.breakBefore,i!==n.length||t.breakAfter)),a=i+1}let o=-1,s;for(;++o<r.length;)r[o].charCodeAt(r[o].length-1)===8203||o<r.length-1&&r[o+1].charCodeAt(0)===8203?(i.push(r[o]),s=void 0):r[o]?(typeof s==`number`&&i.push(s),i.push(r[o]),s=0):(o===0||o===r.length-1)&&i.push(0);return i}function tU(e){return[String(e.value)]}function nU(e,t,n){let r=[],i=0,a;for(;i<e.length;){WH.lastIndex=i;let n=WH.exec(e);a=n?n.index:e.length,!i&&!a&&n&&!t&&r.push(``),i!==a&&r.push(e.slice(i,a)),i=n?a+n[0].length:a}return i!==a&&!n&&r.push(``),r.join(` `)}function rU(e,t){if(e.type===`element`){let n=e.properties||{};switch(e.tagName){case`listing`:case`plaintext`:case`xmp`:return`pre`;case`nobr`:return`nowrap`;case`pre`:return n.wrap?`pre-wrap`:`pre`;case`td`:case`th`:return n.noWrap?`nowrap`:t.whitespace;case`textarea`:return`pre-wrap`;default:}}return t.whitespace}function iU(e){return!!(e.properties||{}).hidden}function aU(e){return e.tagName===`td`||e.tagName===`th`}function oU(e){return e.tagName===`dialog`&&!(e.properties||{}).open}var sU=NH(AH(((e,t)=>{function n(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw Error(`map is read-only`)}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw Error(`set is read-only`)}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{let r=e[t],i=typeof r;(i===`object`||i===`function`)&&!Object.isFrozen(r)&&n(r)}),e}var r=class{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function i(e){return e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`).replace(/"/g,`"`).replace(/'/g,`'`)}function a(e,...t){let n=Object.create(null);for(let t in e)n[t]=e[t];return t.forEach(function(e){for(let t in e)n[t]=e[t]}),n}var o=`</span>`,s=e=>!!e.scope,c=(e,{prefix:t})=>{if(e.startsWith(`language:`))return e.replace(`language:`,`language-`);if(e.includes(`.`)){let n=e.split(`.`);return[`${t}${n.shift()}`,...n.map((e,t)=>`${e}${`_`.repeat(t+1)}`)].join(` `)}return`${t}${e}`},l=class{constructor(e,t){this.buffer=``,this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=i(e)}openNode(e){if(!s(e))return;let t=c(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){s(e)&&(this.buffer+=o)}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}},u=(e={})=>{let t={children:[]};return Object.assign(t,e),t},d=class e{constructor(){this.rootNode=u(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){let t=u({scope:e});this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return typeof t==`string`?e.addText(t):t.children&&(e.openNode(t),t.children.forEach(t=>this._walk(e,t)),e.closeNode(t)),e}static _collapse(t){typeof t!=`string`&&t.children&&(t.children.every(e=>typeof e==`string`)?t.children=[t.children.join(``)]:t.children.forEach(t=>{e._collapse(t)}))}},f=class extends d{constructor(e){super(),this.options=e}addText(e){e!==``&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){let n=e.root;t&&(n.scope=`language:${t}`),this.add(n)}toHTML(){return new l(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}};function p(e){return e?typeof e==`string`?e:e.source:null}function m(e){return _(`(?=`,e,`)`)}function h(e){return _(`(?:`,e,`)*`)}function g(e){return _(`(?:`,e,`)?`)}function _(...e){return e.map(e=>p(e)).join(``)}function v(e){let t=e[e.length-1];return typeof t==`object`&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function y(...e){return`(`+(v(e).capture?``:`?:`)+e.map(e=>p(e)).join(`|`)+`)`}function b(e){return RegExp(e.toString()+`|`).exec(``).length-1}function ee(e,t){let n=e&&e.exec(t);return n&&n.index===0}var te=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function x(e,{joinWith:t}){let n=0;return e.map(e=>{n+=1;let t=n,r=p(e),i=``;for(;r.length>0;){let e=te.exec(r);if(!e){i+=r;break}i+=r.substring(0,e.index),r=r.substring(e.index+e[0].length),e[0][0]===`\\`&&e[1]?i+=`\\`+String(Number(e[1])+t):(i+=e[0],e[0]===`(`&&n++)}return i}).map(e=>`(${e})`).join(t)}var S=/\b\B/,ne=`[a-zA-Z]\\w*`,re=`[a-zA-Z_]\\w*`,ie=`\\b\\d+(\\.\\d+)?`,ae=`(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)`,oe=`\\b(0b[01]+)`,C=`!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~`,se=(e={})=>{let t=/^#![ ]*\//;return e.binary&&(e.begin=_(t,/.*\b/,e.binary,/\b.*/)),a({scope:`meta`,begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{e.index!==0&&t.ignoreMatch()}},e)},w={begin:`\\\\[\\s\\S]`,relevance:0},ce={scope:`string`,begin:`'`,end:`'`,illegal:`\\n`,contains:[w]},le={scope:`string`,begin:`"`,end:`"`,illegal:`\\n`,contains:[w]},ue={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},T=function(e,t,n={}){let r=a({scope:`comment`,begin:e,end:t,contains:[]},n);r.contains.push({scope:`doctag`,begin:`[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)`,end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});let i=y(`I`,`a`,`is`,`so`,`us`,`to`,`at`,`if`,`in`,`it`,`on`,/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:_(/[ ]+/,`(`,i,/[.]?[:]?([.][ ]|[ ])/,`){3}`)}),r},de=T(`//`,`$`),E=T(`/\\*`,`\\*/`),fe=T(`#`,`$`),pe=Object.freeze({__proto__:null,APOS_STRING_MODE:ce,BACKSLASH_ESCAPE:w,BINARY_NUMBER_MODE:{scope:`number`,begin:oe,relevance:0},BINARY_NUMBER_RE:oe,COMMENT:T,C_BLOCK_COMMENT_MODE:E,C_LINE_COMMENT_MODE:de,C_NUMBER_MODE:{scope:`number`,begin:ae,relevance:0},C_NUMBER_RE:ae,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})},HASH_COMMENT_MODE:fe,IDENT_RE:ne,MATCH_NOTHING_RE:S,METHOD_GUARD:{begin:`\\.\\s*[a-zA-Z_]\\w*`,relevance:0},NUMBER_MODE:{scope:`number`,begin:ie,relevance:0},NUMBER_RE:ie,PHRASAL_WORDS_MODE:ue,QUOTE_STRING_MODE:le,REGEXP_MODE:{scope:`regexp`,begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[w,{begin:/\[/,end:/\]/,relevance:0,contains:[w]}]},RE_STARTERS_RE:C,SHEBANG:se,TITLE_MODE:{scope:`title`,begin:ne,relevance:0},UNDERSCORE_IDENT_RE:re,UNDERSCORE_TITLE_MODE:{scope:`title`,begin:re,relevance:0}});function me(e,t){e.input[e.index-1]===`.`&&t.ignoreMatch()}function he(e,t){e.className!==void 0&&(e.scope=e.className,delete e.className)}function ge(e,t){t&&e.beginKeywords&&(e.begin=`\\b(`+e.beginKeywords.split(` `).join(`|`)+`)(?!\\.)(?=\\b|\\s)`,e.__beforeBegin=me,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function _e(e,t){Array.isArray(e.illegal)&&(e.illegal=y(...e.illegal))}function ve(e,t){if(e.match){if(e.begin||e.end)throw Error(`begin & end are not supported with match`);e.begin=e.match,delete e.match}}function ye(e,t){e.relevance===void 0&&(e.relevance=1)}var be=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw Error(`beforeMatch cannot be used with starts`);let n=Object.assign({},e);Object.keys(e).forEach(t=>{delete e[t]}),e.keywords=n.keywords,e.begin=_(n.beforeMatch,m(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},xe=[`of`,`and`,`for`,`in`,`not`,`or`,`if`,`then`,`parent`,`list`,`value`],Se=`keyword`;function Ce(e,t,n=Se){let r=Object.create(null);return typeof e==`string`?i(n,e.split(` `)):Array.isArray(e)?i(n,e):Object.keys(e).forEach(function(n){Object.assign(r,Ce(e[n],t,n))}),r;function i(e,n){t&&(n=n.map(e=>e.toLowerCase())),n.forEach(function(t){let n=t.split(`|`);r[n[0]]=[e,we(n[0],n[1])]})}}function we(e,t){return t?Number(t):+!D(e)}function D(e){return xe.includes(e.toLowerCase())}var O={},Te=e=>{console.error(e)},Ee=(e,...t)=>{console.log(`WARN: ${e}`,...t)},k=(e,t)=>{O[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),O[`${e}/${t}`]=!0)},De=Error();function A(e,t,{key:n}){let r=0,i=e[n],a={},o={};for(let e=1;e<=t.length;e++)o[e+r]=i[e],a[e+r]=!0,r+=b(t[e-1]);e[n]=o,e[n]._emit=a,e[n]._multi=!0}function Oe(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw Te(`skip, excludeBegin, returnBegin not compatible with beginScope: {}`),De;if(typeof e.beginScope!=`object`||e.beginScope===null)throw Te(`beginScope must be object`),De;A(e,e.begin,{key:`beginScope`}),e.begin=x(e.begin,{joinWith:``})}}function ke(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw Te(`skip, excludeEnd, returnEnd not compatible with endScope: {}`),De;if(typeof e.endScope!=`object`||e.endScope===null)throw Te(`endScope must be object`),De;A(e,e.end,{key:`endScope`}),e.end=x(e.end,{joinWith:``})}}function j(e){e.scope&&typeof e.scope==`object`&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function Ae(e){j(e),typeof e.beginScope==`string`&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope==`string`&&(e.endScope={_wrap:e.endScope}),Oe(e),ke(e)}function je(e){function t(t,n){return new RegExp(p(t),`m`+(e.case_insensitive?`i`:``)+(e.unicodeRegex?`u`:``)+(n?`g`:``))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=b(e)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);let e=this.regexes.map(e=>e[1]);this.matcherRe=t(x(e,{joinWith:`|`}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;let t=this.matcherRe.exec(e);if(!t)return null;let n=t.findIndex((e,t)=>t>0&&e!==void 0),r=this.matchIndexes[n];return t.splice(0,n),Object.assign(t,r)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];let t=new n;return this.rules.slice(e).forEach(([e,n])=>t.addRule(e,n)),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),t.type===`begin`&&this.count++}exec(e){let t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let n=t.exec(e);if(this.resumingScanAtSamePosition()&&!(n&&n.index===this.lastIndex)){let t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}function i(e){let t=new r;return e.contains.forEach(e=>t.addRule(e.begin,{rule:e,type:`begin`})),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:`end`}),e.illegal&&t.addRule(e.illegal,{type:`illegal`}),t}function o(n,r){let a=n;if(n.isCompiled)return a;[he,ve,Ae,be].forEach(e=>e(n,r)),e.compilerExtensions.forEach(e=>e(n,r)),n.__beforeBegin=null,[ge,_e,ye].forEach(e=>e(n,r)),n.isCompiled=!0;let s=null;return typeof n.keywords==`object`&&n.keywords.$pattern&&(n.keywords=Object.assign({},n.keywords),s=n.keywords.$pattern,delete n.keywords.$pattern),s||=/\w+/,n.keywords&&=Ce(n.keywords,e.case_insensitive),a.keywordPatternRe=t(s,!0),r&&(n.begin||=/\B|\b/,a.beginRe=t(a.begin),!n.end&&!n.endsWithParent&&(n.end=/\B|\b/),n.end&&(a.endRe=t(a.end)),a.terminatorEnd=p(a.end)||``,n.endsWithParent&&r.terminatorEnd&&(a.terminatorEnd+=(n.end?`|`:``)+r.terminatorEnd)),n.illegal&&(a.illegalRe=t(n.illegal)),n.contains||=[],n.contains=[].concat(...n.contains.map(function(e){return Ne(e===`self`?n:e)})),n.contains.forEach(function(e){o(e,a)}),n.starts&&o(n.starts,r),a.matcher=i(a),a}if(e.compilerExtensions||=[],e.contains&&e.contains.includes(`self`))throw Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=a(e.classNameAliases||{}),o(e)}function Me(e){return e?e.endsWithParent||Me(e.starts):!1}function Ne(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return a(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:Me(e)?a(e,{starts:e.starts?a(e.starts):null}):Object.isFrozen(e)?a(e):e}var Pe=`11.11.1`,Fe=class extends Error{constructor(e,t){super(e),this.name=`HTMLInjectionError`,this.html=t}},Ie=i,M=a,Le=Symbol(`nomatch`),Re=7,ze=function(e){let t=Object.create(null),i=Object.create(null),a=[],o=!0,s=`Could not find the language '{}', did you forget to load/include a language module?`,c={disableAutodetect:!0,name:`Plain text`,contains:[]},l={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:`hljs-`,cssSelector:`pre code`,languages:null,__emitter:f};function u(e){return l.noHighlightRe.test(e)}function d(e){let t=e.className+` `;t+=e.parentNode?e.parentNode.className:``;let n=l.languageDetectRe.exec(t);if(n){let t=ce(n[1]);return t||(Ee(s.replace(`{}`,n[1])),Ee(`Falling back to no-highlight mode for this block.`,e)),t?n[1]:`no-highlight`}return t.split(/\s+/).find(e=>u(e)||ce(e))}function p(e,t,n){let r=``,i=``;typeof t==`object`?(r=e,n=t.ignoreIllegals,i=t.language):(k(`10.7.0`,`highlight(lang, code, ...args) has been deprecated.`),k(`10.7.0`,`Please use highlight(code, options) instead.
|
|
16
|
+
https://github.com/highlightjs/highlight.js/issues/2277`),i=e,r=t),n===void 0&&(n=!0);let a={code:r,language:i};fe(`before:highlight`,a);let o=a.result?a.result:v(a.language,a.code,n);return o.code=a.code,fe(`after:highlight`,o),o}function v(e,n,i,a){let c=Object.create(null);function u(e,t){return e.keywords[t]}function d(){if(!C.keywords){w.addText(le);return}let e=0;C.keywordPatternRe.lastIndex=0;let t=C.keywordPatternRe.exec(le),n=``;for(;t;){n+=le.substring(e,t.index);let r=ie.case_insensitive?t[0].toLowerCase():t[0],i=u(C,r);if(i){let[e,a]=i;if(w.addText(n),n=``,c[r]=(c[r]||0)+1,c[r]<=Re&&(ue+=a),e.startsWith(`_`))n+=t[0];else{let n=ie.classNameAliases[e]||e;m(t[0],n)}}else n+=t[0];e=C.keywordPatternRe.lastIndex,t=C.keywordPatternRe.exec(le)}n+=le.substring(e),w.addText(n)}function f(){if(le===``)return;let e=null;if(typeof C.subLanguage==`string`){if(!t[C.subLanguage]){w.addText(le);return}e=v(C.subLanguage,le,!0,se[C.subLanguage]),se[C.subLanguage]=e._top}else e=te(le,C.subLanguage.length?C.subLanguage:null);C.relevance>0&&(ue+=e.relevance),w.__addSublanguage(e._emitter,e.language)}function p(){C.subLanguage==null?d():f(),le=``}function m(e,t){e!==``&&(w.startScope(t),w.addText(e),w.endScope())}function h(e,t){let n=1,r=t.length-1;for(;n<=r;){if(!e._emit[n]){n++;continue}let r=ie.classNameAliases[e[n]]||e[n],i=t[n];r?m(i,r):(le=i,d(),le=``),n++}}function g(e,t){return e.scope&&typeof e.scope==`string`&&w.openNode(ie.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(m(le,ie.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),le=``):e.beginScope._multi&&(h(e.beginScope,t),le=``)),C=Object.create(e,{parent:{value:C}}),C}function _(e,t,n){let i=ee(e.endRe,n);if(i){if(e[`on:end`]){let n=new r(e);e[`on:end`](t,n),n.isMatchIgnored&&(i=!1)}if(i){for(;e.endsParent&&e.parent;)e=e.parent;return e}}if(e.endsWithParent)return _(e.parent,t,n)}function y(e){return C.matcher.regexIndex===0?(le+=e[0],1):(E=!0,0)}function b(e){let t=e[0],n=e.rule,i=new r(n),a=[n.__beforeBegin,n[`on:begin`]];for(let n of a)if(n&&(n(e,i),i.isMatchIgnored))return y(t);return n.skip?le+=t:(n.excludeBegin&&(le+=t),p(),!n.returnBegin&&!n.excludeBegin&&(le=t)),g(n,e),n.returnBegin?0:t.length}function x(e){let t=e[0],r=n.substring(e.index),i=_(C,e,r);if(!i)return Le;let a=C;C.endScope&&C.endScope._wrap?(p(),m(t,C.endScope._wrap)):C.endScope&&C.endScope._multi?(p(),h(C.endScope,e)):a.skip?le+=t:(a.returnEnd||a.excludeEnd||(le+=t),p(),a.excludeEnd&&(le=t));do C.scope&&w.closeNode(),!C.skip&&!C.subLanguage&&(ue+=C.relevance),C=C.parent;while(C!==i.parent);return i.starts&&g(i.starts,e),a.returnEnd?0:t.length}function S(){let e=[];for(let t=C;t!==ie;t=t.parent)t.scope&&e.unshift(t.scope);e.forEach(e=>w.openNode(e))}let ne={};function re(t,r){let a=r&&r[0];if(le+=t,a==null)return p(),0;if(ne.type===`begin`&&r.type===`end`&&ne.index===r.index&&a===``){if(le+=n.slice(r.index,r.index+1),!o){let t=Error(`0 width match regex (${e})`);throw t.languageName=e,t.badRule=ne.rule,t}return 1}if(ne=r,r.type===`begin`)return b(r);if(r.type===`illegal`&&!i){let e=Error(`Illegal lexeme "`+a+`" for mode "`+(C.scope||`<unnamed>`)+`"`);throw e.mode=C,e}else if(r.type===`end`){let e=x(r);if(e!==Le)return e}if(r.type===`illegal`&&a===``)return le+=`
|
|
17
|
+
`,1;if(de>1e5&&de>r.index*3)throw Error(`potential infinite loop, way more iterations than matches`);return le+=a,a.length}let ie=ce(e);if(!ie)throw Te(s.replace(`{}`,e)),Error(`Unknown language: "`+e+`"`);let ae=je(ie),oe=``,C=a||ae,se={},w=new l.__emitter(l);S();let le=``,ue=0,T=0,de=0,E=!1;try{if(ie.__emitTokens)ie.__emitTokens(n,w);else{for(C.matcher.considerAll();;){de++,E?E=!1:C.matcher.considerAll(),C.matcher.lastIndex=T;let e=C.matcher.exec(n);if(!e)break;let t=re(n.substring(T,e.index),e);T=e.index+t}re(n.substring(T))}return w.finalize(),oe=w.toHTML(),{language:e,value:oe,relevance:ue,illegal:!1,_emitter:w,_top:C}}catch(t){if(t.message&&t.message.includes(`Illegal`))return{language:e,value:Ie(n),illegal:!0,relevance:0,_illegalBy:{message:t.message,index:T,context:n.slice(T-100,T+100),mode:t.mode,resultSoFar:oe},_emitter:w};if(o)return{language:e,value:Ie(n),illegal:!1,relevance:0,errorRaised:t,_emitter:w,_top:C};throw t}}function b(e){let t={value:Ie(e),illegal:!1,relevance:0,_top:c,_emitter:new l.__emitter(l)};return t._emitter.addText(e),t}function te(e,n){n=n||l.languages||Object.keys(t);let r=b(e),i=n.filter(ce).filter(ue).map(t=>v(t,e,!1));i.unshift(r);let[a,o]=i.sort((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(ce(e.language).supersetOf===t.language)return 1;if(ce(t.language).supersetOf===e.language)return-1}return 0}),s=a;return s.secondBest=o,s}function x(e,t,n){let r=t&&i[t]||n;e.classList.add(`hljs`),e.classList.add(`language-${r}`)}function S(e){let t=null,n=d(e);if(u(n))return;if(fe(`before:highlightElement`,{el:e,language:n}),e.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",e);return}if(e.children.length>0&&(l.ignoreUnescapedHTML||(console.warn(`One of your code blocks includes unescaped HTML. This is a potentially serious security risk.`),console.warn(`https://github.com/highlightjs/highlight.js/wiki/security`),console.warn(`The element with unescaped HTML:`),console.warn(e)),l.throwUnescapedHTML))throw new Fe(`One of your code blocks includes unescaped HTML.`,e.innerHTML);t=e;let r=t.textContent,i=n?p(r,{language:n,ignoreIllegals:!0}):te(r);e.innerHTML=i.value,e.dataset.highlighted=`yes`,x(e,n,i.language),e.result={language:i.language,re:i.relevance,relevance:i.relevance},i.secondBest&&(e.secondBest={language:i.secondBest.language,relevance:i.secondBest.relevance}),fe(`after:highlightElement`,{el:e,result:i,text:r})}function ne(e){l=M(l,e)}let re=()=>{oe(),k(`10.6.0`,`initHighlighting() deprecated. Use highlightAll() now.`)};function ie(){oe(),k(`10.6.0`,`initHighlightingOnLoad() deprecated. Use highlightAll() now.`)}let ae=!1;function oe(){function e(){oe()}if(document.readyState===`loading`){ae||window.addEventListener(`DOMContentLoaded`,e,!1),ae=!0;return}document.querySelectorAll(l.cssSelector).forEach(S)}function C(n,r){let i=null;try{i=r(e)}catch(e){if(Te(`Language definition for '{}' could not be registered.`.replace(`{}`,n)),o)Te(e);else throw e;i=c}i.name||=n,t[n]=i,i.rawDefinition=r.bind(null,e),i.aliases&&le(i.aliases,{languageName:n})}function se(e){delete t[e];for(let t of Object.keys(i))i[t]===e&&delete i[t]}function w(){return Object.keys(t)}function ce(e){return e=(e||``).toLowerCase(),t[e]||t[i[e]]}function le(e,{languageName:t}){typeof e==`string`&&(e=[e]),e.forEach(e=>{i[e.toLowerCase()]=t})}function ue(e){let t=ce(e);return t&&!t.disableAutodetect}function T(e){e[`before:highlightBlock`]&&!e[`before:highlightElement`]&&(e[`before:highlightElement`]=t=>{e[`before:highlightBlock`](Object.assign({block:t.el},t))}),e[`after:highlightBlock`]&&!e[`after:highlightElement`]&&(e[`after:highlightElement`]=t=>{e[`after:highlightBlock`](Object.assign({block:t.el},t))})}function de(e){T(e),a.push(e)}function E(e){let t=a.indexOf(e);t!==-1&&a.splice(t,1)}function fe(e,t){let n=e;a.forEach(function(e){e[n]&&e[n](t)})}function me(e){return k(`10.7.0`,`highlightBlock will be removed entirely in v12.0`),k(`10.7.0`,`Please use highlightElement now.`),S(e)}Object.assign(e,{highlight:p,highlightAuto:te,highlightAll:oe,highlightElement:S,highlightBlock:me,configure:ne,initHighlighting:re,initHighlightingOnLoad:ie,registerLanguage:C,unregisterLanguage:se,listLanguages:w,getLanguage:ce,registerAliases:le,autoDetection:ue,inherit:M,addPlugin:de,removePlugin:E}),e.debugMode=function(){o=!1},e.safeMode=function(){o=!0},e.versionString=Pe,e.regex={concat:_,lookahead:m,either:y,optional:g,anyNumberOfTimes:h};for(let e in pe)typeof pe[e]==`object`&&n(pe[e]);return Object.assign(e,pe),e},Be=ze({});Be.newInstance=()=>ze({}),t.exports=Be,Be.HighlightJS=Be,Be.default=Be}))()).default,cU={},lU=`hljs-`;function uU(e){let t=sU.newInstance();return e&&a(e),{highlight:n,highlightAuto:r,listLanguages:i,register:a,registerAlias:o,registered:s};function n(e,n,r){let i=r||cU,a=typeof i.prefix==`string`?i.prefix:lU;if(!t.getLanguage(e))throw Error("Unknown language: `"+e+"` is not registered");t.configure({__emitter:dU,classPrefix:a});let o=t.highlight(n,{ignoreIllegals:!0,language:e});if(o.errorRaised)throw Error("Could not highlight with `Highlight.js`",{cause:o.errorRaised});let s=o._emitter.root,c=s.data;return c.language=o.language,c.relevance=o.relevance,s}function r(e,r){let a=(r||cU).subset||i(),o=-1,s=0,c;for(;++o<a.length;){let i=a[o];if(!t.getLanguage(i))continue;let l=n(i,e,r);l.data&&l.data.relevance!==void 0&&l.data.relevance>s&&(s=l.data.relevance,c=l)}return c||{type:`root`,children:[],data:{language:void 0,relevance:s}}}function i(){return t.listLanguages()}function a(e,n){if(typeof e==`string`)t.registerLanguage(e,n);else{let n;for(n in e)Object.hasOwn(e,n)&&t.registerLanguage(n,e[n])}}function o(e,n){if(typeof e==`string`)t.registerAliases(typeof n==`string`?n:[...n],{languageName:e});else{let n;for(n in e)if(Object.hasOwn(e,n)){let r=e[n];t.registerAliases(typeof r==`string`?r:[...r],{languageName:n})}}}function s(e){return!!t.getLanguage(e)}}var dU=class{constructor(e){this.options=e,this.root={type:`root`,children:[],data:{language:void 0,relevance:0}},this.stack=[this.root]}addText(e){if(e===``)return;let t=this.stack[this.stack.length-1],n=t.children[t.children.length-1];n&&n.type===`text`?n.value+=e:t.children.push({type:`text`,value:e})}startScope(e){this.openNode(String(e))}endScope(){this.closeNode()}__addSublanguage(e,t){let n=this.stack[this.stack.length-1],r=e.root.children;t?n.children.push({type:`element`,tagName:`span`,properties:{className:[t]},children:r}):n.children.push(...r)}openNode(e){let t=this,n=e.split(`.`).map(function(e,n){return n?e+`_`.repeat(n):t.options.classPrefix+e}),r=this.stack[this.stack.length-1],i={type:`element`,tagName:`span`,properties:{className:n},children:[]};r.children.push(i),this.stack.push(i)}closeNode(){this.stack.pop()}finalize(){}toHTML(){return``}},fU={};function pU(e){let t=e||fU,n=t.aliases,r=e?.detect??!1,i=t.languages,a=t.plainText,o=t.prefix,s=t.subset,c=typeof t.className==`string`?[t.className]:t.className??[],l=`hljs`,u=e?.lowlight??uU(i);if(n&&u.registerAlias(n),o){let e=o.indexOf(`-`);l=e>-1?o.slice(0,e):o}return(e,t)=>{CH(e,`element`,(e,n,i)=>{if(e.tagName!==`code`||!i||i.type!==`element`||i.tagName!==`pre`)return;let d=mU(e);if(d===`no-highlight`||!d&&!r||d&&a?.includes(d))return;Array.isArray(e.properties.className)||(e.properties.className=[]),e.properties.className.includes(l)||e.properties.className.unshift(l);for(let t of c)e.properties.className.includes(t)||e.properties.className.push(t);let f;try{f=d?u.highlight(d,ZH(i),{prefix:o}):u.highlightAuto(ZH(i),{prefix:o,subset:s})}catch(n){let r=n;if(d&&/Unknown language/.test(r.message)){t.message(`Cannot highlight as \`${d}\`, it's not registered`,{ancestors:[i,e],cause:r,place:e.position,ruleId:`missing-language`,source:`rehype-highlight`});return}t.message(`Could not highlight code block`,{ancestors:[i,e],cause:r,place:e.position,ruleId:`highlight-error`,source:`rehype-highlight`});return}!d&&f.data?.language&&e.properties.className.push(`language-`+f.data.language),f.children.length>0&&(e.children=f.children)})}}function mU(e){let t=e.properties.className;if(!Array.isArray(t))return``;let n=t.reduce((e,t)=>{if(e)return e;let n=String(t);return n===`no-highlight`||n===`nohighlight`?`no-highlight`:n.slice(0,5)===`lang-`?n.slice(5):n.slice(0,9)===`language-`?n.slice(9):e},``);return PH[n||``]||n}function hU(e){let t=`[#]?[a-zA-Z_\\-!.?+*=<>&'][a-zA-Z_\\-!.?+*=<>&'0-9/;:$#]*`,n=`def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord`,r={$pattern:t,built_in:`def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize`},i={begin:t,relevance:0},a={scope:`number`,relevance:0,variants:[{match:/[-+]?0[xX][0-9a-fA-F]+N?/},{match:/[-+]?0[0-7]+N?/},{match:/[-+]?[1-9][0-9]?[rR][0-9a-zA-Z]+N?/},{match:/[-+]?[0-9]+\/[0-9]+N?/},{match:/[-+]?[0-9]+((\.[0-9]*([eE][+-]?[0-9]+)?M?)|([eE][+-]?[0-9]+M?|M))/},{match:/[-+]?([1-9][0-9]*|0)N?/}]},o={scope:`character`,variants:[{match:/\\o[0-3]?[0-7]{1,2}/},{match:/\\u[0-9a-fA-F]{4}/},{match:/\\(newline|space|tab|formfeed|backspace|return)/},{match:/\\\S/,relevance:0}]},s={scope:`regex`,begin:/#"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]},c=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),l={scope:`punctuation`,match:/,/,relevance:0},u=e.COMMENT(`;`,`$`,{relevance:0}),d={className:`literal`,begin:/\b(true|false|nil)\b/},f={begin:`\\[|(#::?[#]?[a-zA-Z_\\-!.?+*=<>&'][a-zA-Z_\\-!.?+*=<>&'0-9/;:$#]*)?\\{`,end:`[\\]\\}]`,relevance:0},p={className:`symbol`,begin:`[:]{1,2}[#]?[a-zA-Z_\\-!.?+*=<>&'][a-zA-Z_\\-!.?+*=<>&'0-9/;:$#]*`},m={begin:`\\(`,end:`\\)`},h={endsWithParent:!0,relevance:0},g={keywords:r,className:`name`,begin:t,relevance:0,starts:h},_=[l,m,o,s,c,u,p,f,a,d,i];return m.contains=[{beginKeywords:n,keywords:{$pattern:t,keyword:n},end:`(\\[|#|\\d|"|:|\\{|\\)|\\(|$)`,contains:[{className:`title`,begin:t,relevance:0,excludeEnd:!0,endsParent:!0}].concat(_)},g,h],h.contains=_,f.contains=_,{name:`Clojure`,aliases:[`clj`,`edn`],illegal:/\S/,contains:[l,m,o,s,c,u,p,f,a,d]}}function gU(e){let t={className:`subst`,variants:[{begin:`\\$[A-Za-z0-9_]+`}]},n={className:`subst`,variants:[{begin:/\$\{/,end:/\}/}],keywords:`true false null this is new super`},r={className:`number`,relevance:0,variants:[{match:/\b[0-9][0-9_]*(\.[0-9][0-9_]*)?([eE][+-]?[0-9][0-9_]*)?\b/},{match:/\b0[xX][0-9A-Fa-f][0-9A-Fa-f_]*\b/}]},i={className:`string`,variants:[{begin:`r'''`,end:`'''`},{begin:`r"""`,end:`"""`},{begin:`r'`,end:`'`,illegal:`\\n`},{begin:`r"`,end:`"`,illegal:`\\n`},{begin:`'''`,end:`'''`,contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:`"""`,end:`"""`,contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:`'`,end:`'`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:`"`,end:`"`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE,t,n]}]};n.contains=[r,i];let a=`Comparable.DateTime.Duration.Function.Iterable.Iterator.List.Map.Match.Object.Pattern.RegExp.Set.Stopwatch.String.StringBuffer.StringSink.Symbol.Type.Uri.bool.double.int.num.Element.ElementList`.split(`.`),o=a.map(e=>`${e}?`);return{name:`Dart`,keywords:{keyword:`abstract.as.assert.async.await.base.break.case.catch.class.const.continue.covariant.default.deferred.do.dynamic.else.enum.export.extends.extension.external.factory.false.final.finally.for.Function.get.hide.if.implements.import.in.interface.is.late.library.mixin.new.null.on.operator.part.required.rethrow.return.sealed.set.show.static.super.switch.sync.this.throw.true.try.typedef.var.void.when.while.with.yield`.split(`.`),built_in:a.concat(o).concat([`Never`,`Null`,`dynamic`,`print`,`document`,`querySelector`,`querySelectorAll`,`window`]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[i,e.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:`markdown`,relevance:0}),e.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:`markdown`,begin:`.`,end:`$`,relevance:0}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:`class`,beginKeywords:`class interface`,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:`extends implements`},e.UNDERSCORE_TITLE_MODE]},r,{className:`meta`,begin:`@[A-Za-z]+`},{begin:`=>`}]}}function _U(e){return{name:`Dockerfile`,aliases:[`docker`],case_insensitive:!0,keywords:[`from`,`maintainer`,`expose`,`env`,`arg`,`user`,`onbuild`,`stopsignal`],contains:[e.HASH_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{beginKeywords:`run cmd entrypoint volume add copy workdir label healthcheck shell`,starts:{end:/[^\\]$/,subLanguage:`bash`}}],illegal:`</`}}function vU(e){let t=e.regex,n=`[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?`,r={$pattern:n,keyword:`after.alias.and.case.catch.cond.defstruct.defguard.do.else.end.fn.for.if.import.in.not.or.quote.raise.receive.require.reraise.rescue.try.unless.unquote.unquote_splicing.use.when.with|0`.split(`.`),literal:[`false`,`nil`,`true`]},i={className:`subst`,begin:/#\{/,end:/\}/,keywords:r},a={className:`number`,begin:`(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[0-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)`,relevance:0},o={match:/\\[\s\S]/,scope:`char.escape`,relevance:0},s=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin:/</,end:/>/}],c=e=>({scope:`char.escape`,begin:t.concat(/\\/,e),relevance:0}),l={className:`string`,begin:`~[a-z](?=[/|([{<"'])`,contains:s.map(t=>e.inherit(t,{contains:[c(t.end),o,i]}))},u={className:`string`,begin:`~[A-Z](?=[/|([{<"'])`,contains:s.map(t=>e.inherit(t,{contains:[c(t.end)]}))},d={className:`regex`,variants:[{begin:`~r(?=[/|([{<"'])`,contains:s.map(n=>e.inherit(n,{end:t.concat(n.end,/[uismxfU]{0,7}/),contains:[c(n.end),o,i]}))},{begin:`~R(?=[/|([{<"'])`,contains:s.map(n=>e.inherit(n,{end:t.concat(n.end,/[uismxfU]{0,7}/),contains:[c(n.end)]}))}]},f={className:`string`,contains:[e.BACKSLASH_ESCAPE,i],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},p={className:`function`,beginKeywords:`def defp defmacro defmacrop`,end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:n,endsParent:!0})]},m=e.inherit(p,{className:`class`,beginKeywords:`defimpl defmodule defprotocol defrecord`,end:/\bdo\b|$|;/}),h=[f,d,u,l,e.HASH_COMMENT_MODE,m,p,{begin:`::`},{className:`symbol`,begin:`:(?![\\s:])`,contains:[f,{begin:"[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?"}],relevance:0},{className:`symbol`,begin:`[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?:(?!:)`,relevance:0},{className:`title.class`,begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},a,{className:`variable`,begin:`(\\$\\W)|((\\$|@@?)(\\w+))`}];return i.contains=h,{name:`Elixir`,aliases:[`ex`,`exs`],keywords:r,contains:h}}function yU(e){return new RegExp(e.replace(/[-/\\^$*+?.()|[\]{}]/g,`\\$&`),`m`)}function bU(e){return e?typeof e==`string`?e:e.source:null}function xU(e){return SU(`(?=`,e,`)`)}function SU(...e){return e.map(e=>bU(e)).join(``)}function CU(e){let t=e[e.length-1];return typeof t==`object`&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function wU(...e){return`(`+(CU(e).capture?``:`?:`)+e.map(e=>bU(e)).join(`|`)+`)`}function TU(e){let t=`abstract.and.as.assert.base.begin.class.default.delegate.do.done.downcast.downto.elif.else.end.exception.extern.finally.fixed.for.fun.function.global.if.in.inherit.inline.interface.internal.lazy.let.match.member.module.mutable.namespace.new.of.open.or.override.private.public.rec.return.static.struct.then.to.try.type.upcast.use.val.void.when.while.with.yield`.split(`.`),n={scope:`keyword`,match:/\b(yield|return|let|do|match|use)!/},r=[`if`,`else`,`endif`,`line`,`nowarn`,`light`,`r`,`i`,`I`,`load`,`time`,`help`,`quit`],i=[`true`,`false`,`null`,`Some`,`None`,`Ok`,`Error`,`infinity`,`infinityf`,`nan`,`nanf`],a=[`__LINE__`,`__SOURCE_DIRECTORY__`,`__SOURCE_FILE__`],o=`bool.byte.sbyte.int8.int16.int32.uint8.uint16.uint32.int.uint.int64.uint64.nativeint.unativeint.decimal.float.double.float32.single.char.string.unit.bigint.option.voption.list.array.seq.byref.exn.inref.nativeptr.obj.outref.voidptr.Result`.split(`.`),s={keyword:t,literal:i,built_in:`not.ref.raise.reraise.dict.readOnlyDict.set.get.enum.sizeof.typeof.typedefof.nameof.nullArg.invalidArg.invalidOp.id.fst.snd.ignore.lock.using.box.unbox.tryUnbox.printf.printfn.sprintf.eprintf.eprintfn.fprintf.fprintfn.failwith.failwithf`.split(`.`),"variable.constant":a},c={variants:[e.COMMENT(/\(\*(?!\))/,/\*\)/,{contains:[`self`]}),e.C_LINE_COMMENT_MODE]},l=/[a-zA-Z_](\w|')*/,u={scope:`variable`,begin:/``/,end:/``/},d=/\B('|\^)/,f={scope:`symbol`,variants:[{match:SU(d,/``.*?``/)},{match:SU(d,e.UNDERSCORE_IDENT_RE)}],relevance:0},p=function({includeEqual:e}){let t;t=e?`!%&*+-/<=>@^|~?`:`!%&*+-/<>@^|~?`;let n=SU(`[`,...Array.from(t).map(yU),`]`),r=wU(n,/\./);return{scope:`operator`,match:wU(wU(SU(SU(r,xU(r)),r,`*`),SU(n,`+`)),/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),relevance:0}},m=p({includeEqual:!0}),h=p({includeEqual:!1}),g=function(t,n){return{begin:SU(t,xU(SU(/\s*/,wU(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),beginScope:n,end:xU(wU(/\n/,/=/)),relevance:0,keywords:e.inherit(s,{type:o}),contains:[c,f,e.inherit(u,{scope:null}),h]}},_=g(/:/,`operator`),v=g(/\bof\b/,`keyword`),y={begin:[/(^|\s+)/,/type/,/\s+/,l],beginScope:{2:`keyword`,4:`title.class`},end:xU(/\(|=|$/),keywords:s,contains:[c,e.inherit(u,{scope:null}),f,{scope:`operator`,match:/<|>/},_]},b={scope:`computation-expression`,match:/\b[_a-z]\w*(?=\s*\{)/},ee={begin:[/^\s*/,SU(/#/,wU(...r)),/\b/],beginScope:{2:`meta`},end:xU(/\s|$/)},te={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},x={scope:`string`,begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]},S={scope:`string`,begin:/@"/,end:/"/,contains:[{match:/""/},e.BACKSLASH_ESCAPE]},ne={scope:`string`,begin:/"""/,end:/"""/,relevance:2},re={scope:`subst`,begin:/\{/,end:/\}/,keywords:s},ie={scope:`string`,begin:/\$"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},e.BACKSLASH_ESCAPE,re]},ae={scope:`string`,begin:/(\$@|@\$)"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},{match:/""/},e.BACKSLASH_ESCAPE,re]},oe={scope:`string`,begin:/\$"""/,end:/"""/,contains:[{match:/\{\{/},{match:/\}\}/},re],relevance:2},C={scope:`string`,match:SU(/'/,wU(/[^\\']/,/\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8})/),/'/)};return re.contains=[ae,ie,S,x,C,n,c,u,_,b,ee,te,f,m],{name:`F#`,aliases:[`fs`,`f#`],keywords:s,illegal:/\/\*/,classNameAliases:{"computation-expression":`keyword`},contains:[n,{variants:[oe,ae,ie,ne,S,x,C]},c,u,y,{scope:`meta`,begin:/\[</,end:/>\]/,relevance:2,contains:[u,ne,S,x,C,te]},v,_,b,ee,te,f,m]}}function EU(e){let t=`([0-9]_*)+`,n=`([0-9a-fA-F]_*)+`,r=`([!#$%&*+.\\/<=>?@\\\\^~-]|(?!([(),;\\[\\]\`|{}]|[_:"']))(\\p{S}|\\p{P}))`,i={variants:[e.COMMENT(`--+`,`$`),e.COMMENT(/\{-/,/-\}/,{contains:[`self`]})]},a={className:`meta`,begin:/\{-#/,end:/#-\}/},o={className:`meta`,begin:`^#`,end:`$`},s={className:`type`,begin:`\\b[A-Z][\\w']*`,relevance:0},c={begin:`\\(`,end:`\\)`,illegal:`"`,contains:[a,o,{className:`type`,begin:`\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?`},e.inherit(e.TITLE_MODE,{begin:`[_a-z][\\w']*`}),i]},l={begin:/\{/,end:/\}/,contains:c.contains},u={className:`number`,relevance:0,variants:[{match:`\\b(${t})(\\.(${t}))?([eE][+-]?(${t}))?\\b`},{match:`\\b0[xX]_*(${n})(\\.(${n}))?([pP][+-]?(${t}))?\\b`},{match:`\\b0[oO](([0-7]_*)+)\\b`},{match:`\\b0[bB](([01]_*)+)\\b`}]};return{name:`Haskell`,aliases:[`hs`],keywords:`let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec`,unicodeRegex:!0,contains:[{beginKeywords:`module`,end:`where`,keywords:`module where`,contains:[c,i],illegal:`\\W\\.|;`},{begin:`\\bimport\\b`,end:`$`,keywords:`import qualified as hiding`,contains:[c,i],illegal:`\\W\\.|;`},{className:`class`,begin:`^(\\s*)?(class|instance)\\b`,end:`where`,keywords:`class family instance where`,contains:[s,c,i]},{className:`class`,begin:`\\b(data|(new)?type)\\b`,end:`$`,keywords:`data family type newtype deriving`,contains:[a,s,c,l,i]},{beginKeywords:`default`,end:`$`,contains:[s,c,i]},{beginKeywords:`infix infixl infixr`,end:`$`,contains:[e.C_NUMBER_MODE,i]},{begin:`\\bforeign\\b`,end:`$`,keywords:`foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe`,contains:[s,e.QUOTE_STRING_MODE,i]},{className:`meta`,begin:`#!\\/usr\\/bin\\/env runhaskell`,end:`$`},a,o,{scope:`string`,begin:/'(?=\\?.')/,end:/'/,contains:[{scope:`char.escape`,match:/\\./}]},e.QUOTE_STRING_MODE,u,s,e.inherit(e.TITLE_MODE,{begin:`^[_a-z][\\w']*`}),{begin:`(?!-)${r}--+|--+(?!-)${r}`},i,{begin:`->|<-`}]}}function DU(e){let t=e.regex,n=`HTTP/([32]|1\\.[01])`,r={className:`attribute`,begin:t.concat(`^`,/[A-Za-z][A-Za-z0-9-]*/,`(?=\\:\\s)`),starts:{contains:[{className:`punctuation`,begin:/: /,relevance:0,starts:{end:`$`,relevance:0}}]}},i=[r,{begin:`\\n\\n`,starts:{subLanguage:[],endsWithParent:!0}}];return{name:`HTTP`,aliases:[`https`],illegal:/\S/,contains:[{begin:`^(?=HTTP/([32]|1\\.[01]) \\d{3})`,end:/$/,contains:[{className:`meta`,begin:n},{className:`number`,begin:`\\b\\d{3}\\b`}],starts:{end:/\b\B/,illegal:/\S/,contains:i}},{begin:`(?=^[A-Z]+ (.*?) HTTP/([32]|1\\.[01])$)`,end:/$/,contains:[{className:`string`,begin:` `,end:` `,excludeBegin:!0,excludeEnd:!0},{className:`meta`,begin:n},{className:`keyword`,begin:`[A-Z]+`}],starts:{end:/\b\B/,illegal:/\S/,contains:i}},e.inherit(r,{relevance:0})]}}function OU(e){let t={relevance:0,contains:[{begin:`('|\\.')+`}]};return{name:`Matlab`,keywords:{keyword:`arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while`,built_in:`sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell `},illegal:`(//|"|#|/\\*|\\s+/\\w+)`,contains:[{className:`function`,beginKeywords:`function`,end:`$`,contains:[e.UNDERSCORE_TITLE_MODE,{className:`params`,variants:[{begin:`\\(`,end:`\\)`},{begin:`\\[`,end:`\\]`}]}]},{className:`built_in`,begin:/true|false/,relevance:0,starts:t},{begin:`[a-zA-Z][a-zA-Z_0-9]*('|\\.')+`,relevance:0},{className:`number`,begin:e.C_NUMBER_RE,relevance:0,starts:t},{className:`string`,begin:`'`,end:`'`,contains:[{begin:`''`}]},{begin:/\]|\}|\)/,relevance:0,starts:t},{className:`string`,begin:`"`,end:`"`,contains:[{begin:`""`}],starts:t},e.COMMENT(`^\\s*%\\{\\s*$`,`^\\s*%\\}\\s*$`),e.COMMENT(`%`,`$`)]}}function kU(e){let t=e.regex,n={className:`variable`,variants:[{begin:/\$\d+/},{begin:/\$\{\w+\}/},{begin:t.concat(/[$@]/,e.UNDERSCORE_IDENT_RE)}]},r={endsWithParent:!0,keywords:{$pattern:/[a-z_]{2,}|\/dev\/poll/,literal:[`on`,`off`,`yes`,`no`,`true`,`false`,`none`,`blocked`,`debug`,`info`,`notice`,`warn`,`error`,`crit`,`select`,`break`,`last`,`permanent`,`redirect`,`kqueue`,`rtsig`,`epoll`,`poll`,`/dev/poll`]},relevance:0,illegal:`=>`,contains:[e.HASH_COMMENT_MODE,{className:`string`,contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:`([a-z]+):/`,end:`\\s`,endsWithParent:!0,excludeEnd:!0,contains:[n]},{className:`regexp`,contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:`\\s\\^`,end:`\\s|\\{|;`,returnEnd:!0},{begin:`~\\*?\\s+`,end:`\\s|\\{|;`,returnEnd:!0},{begin:`\\*(\\.[a-z\\-]+)+`},{begin:`([a-z\\-]+\\.)+\\*`}]},{className:`number`,begin:`\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b`},{className:`number`,begin:`\\b\\d+[kKmMgGdshdwy]?\\b`,relevance:0},n]};return{name:`Nginx config`,aliases:[`nginxconf`],contains:[e.HASH_COMMENT_MODE,{beginKeywords:`upstream location`,end:/;|\{/,contains:r.contains,keywords:{section:`upstream location`}},{className:`section`,begin:t.concat(e.UNDERSCORE_IDENT_RE+t.lookahead(/\s+\{/)),relevance:0},{begin:t.lookahead(e.UNDERSCORE_IDENT_RE+`\\s`),end:`;|\\{`,contains:[{className:`attribute`,begin:e.UNDERSCORE_IDENT_RE,starts:r}],relevance:0}],illegal:`[^\\s\\}\\{]`}}function AU(e){return{name:`OCaml`,aliases:[`ml`],keywords:{$pattern:`[a-z_]\\w*!?`,keyword:`and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value`,built_in:`array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref`,literal:`true false`},illegal:/\/\/|>>/,contains:[{className:`literal`,begin:`\\[(\\|\\|)?\\]|\\(\\)`,relevance:0},e.COMMENT(`\\(\\*`,`\\*\\)`,{contains:[`self`]}),{className:`symbol`,begin:`'[A-Za-z_](?!')[\\w']*`},{className:`type`,begin:"`[A-Z][\\w']*"},{className:`type`,begin:`\\b[A-Z][\\w']*`,relevance:0},{begin:`[a-z_]\\w*'[\\w']*`,relevance:0},e.inherit(e.APOS_STRING_MODE,{className:`string`,relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:`number`,begin:`\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)`,relevance:0},{begin:/->/}]}}function jU(e){let t=[`string`,`char`,`byte`,`int`,`long`,`bool`,`decimal`,`single`,`double`,`DateTime`,`xml`,`array`,`hashtable`,`void`],n={$pattern:/-?[A-z\.\-]+\b/,keyword:`if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter`,built_in:`ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write`},r=/\w[\w\d]*((-)[\w\d]+)*/,i={begin:"`[\\s\\S]",relevance:0},a={className:`variable`,variants:[{begin:/\$\B/},{className:`keyword`,begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},o={className:`literal`,begin:/\$(null|true|false)\b/},s={className:`string`,variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[i,a,{className:`variable`,begin:/\$[A-z]/,end:/[^A-z]/}]},c={className:`string`,variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},l=e.inherit(e.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[{className:`doctag`,variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]}]}),u={className:`built_in`,variants:[{begin:`(Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where)+(-)[\\w\\d]+`}]},d={className:`class`,beginKeywords:`class enum`,end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[e.TITLE_MODE]},f={className:`function`,begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:`function`,relevance:0,className:`keyword`},{className:`title`,begin:r,relevance:0},{begin:/\(/,end:/\)/,className:`params`,relevance:0,contains:[a]}]},p={begin:/using\s/,end:/$/,returnBegin:!0,contains:[s,c,{className:`keyword`,begin:/(using|assembly|command|module|namespace|type)/}]},m={variants:[{className:`operator`,begin:`(-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor)\\b`},{className:`literal`,begin:/(-){1,2}[\w\d-]+/,relevance:0}]},h={className:`selector-tag`,begin:/@\B/,relevance:0},g={className:`function`,begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:`keyword`,begin:`(${n.keyword.toString().replace(/\s/g,`|`)})\\b`,endsParent:!0,relevance:0},e.inherit(e.TITLE_MODE,{endsParent:!0})]},_=[g,l,i,e.NUMBER_MODE,s,c,u,a,o,h],v={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[`self`].concat(_,{begin:`(`+t.join(`|`)+`)`,className:`built_in`,relevance:0},{className:`type`,begin:/[\.\w\d]+/,relevance:0})};return g.contains.unshift(v),{name:`PowerShell`,aliases:[`pwsh`,`ps`,`ps1`],case_insensitive:!0,keywords:n,contains:_.concat(d,f,p,m,v)}}function MU(e){return{name:`.properties`,disableAutodetect:!0,case_insensitive:!0,illegal:/\S/,contains:[e.COMMENT(`^\\s*[!#]`,`$`),{returnBegin:!0,variants:[{begin:`([^\\\\:= \\t\\f\\n]|\\\\.)+[ \\t\\f]*[:=][ \\t\\f]*`},{begin:`([^\\\\:= \\t\\f\\n]|\\\\.)+[ \\t\\f]+`}],contains:[{className:`attr`,begin:`([^\\\\:= \\t\\f\\n]|\\\\.)+`,endsParent:!0}],starts:{end:`([ \\t\\f]*[:=][ \\t\\f]*|[ \\t\\f]+)`,relevance:0,starts:{className:`string`,end:/$/,relevance:0,contains:[{begin:`\\\\\\\\`},{begin:`\\\\\\n`}]}}},{className:`attr`,begin:`([^\\\\:= \\t\\f\\n]|\\\\.)+[ \\t\\f]*$`}]}}function NU(e){let t=e.regex,n={className:`meta`,begin:`@[A-Za-z]+`},r={className:`subst`,variants:[{begin:`\\$[A-Za-z0-9_]+`},{begin:/\$\{/,end:/\}/}]},i={className:`string`,variants:[{begin:`"""`,end:`"""`},{begin:`"`,end:`"`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE]},{begin:`[a-z]+"`,end:`"`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE,r]},{className:`string`,begin:`[a-z]+"""`,end:`"""`,contains:[r],relevance:10}]},a={className:`type`,begin:`\\b[A-Z][A-Za-z0-9_]*`,relevance:0},o={className:`title`,begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},s={className:`class`,beginKeywords:`class object trait type`,end:/[:={\[\n;]/,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{beginKeywords:`extends with`,relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:`params`,begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},o]},c={className:`function`,beginKeywords:`def`,end:t.lookahead(/[:={\[(\n;]/),contains:[o]},l={begin:[/^\s*/,`extension`,/\s+(?=[[(])/],beginScope:{2:`keyword`}},u={begin:[/^\s*/,/end/,/\s+/,/(extension\b)?/],beginScope:{2:`keyword`,4:`keyword`}},d=[{match:/\.inline\b/},{begin:/\binline(?=\s)/,keywords:`inline`}],f={begin:[/\(\s*/,/using/,/\s+(?!\))/],beginScope:{2:`keyword`}};return{name:`Scala`,keywords:{literal:`true false null`,keyword:`type yield lazy override def with val var sealed abstract private trait object if then forSome for while do throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit export enum given transparent`},contains:[{begin:[`//>`,/\s+/,/using/,/\s+/,/\S+/],beginScope:{1:`comment`,3:`keyword`,5:`type`},end:/$/,contains:[{className:`string`,begin:/\S+/}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,a,c,s,e.C_NUMBER_MODE,l,u,...d,f,n]}}function PU(e){let t=e.regex,n={},r={begin:/\$\{/,end:/\}/,contains:[`self`,{begin:/:-/,contains:[n]}]};Object.assign(n,{className:`variable`,variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,`(?![\\w\\d])(?![$])`)},r]});let i={className:`subst`,begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},a=e.inherit(e.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:`comment`}}),o={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:`string`})]}},s={className:`string`,begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n,i]};i.contains.push(s);let c={match:/\\"/},l={className:`string`,begin:/'/,end:/'/},u={match:/\\'/},d={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:`number`},e.NUMBER_MODE,n]},f=e.SHEBANG({binary:`(${[`fish`,`bash`,`zsh`,`sh`,`csh`,`ksh`,`tcsh`,`dash`,`scsh`].join(`|`)})`,relevance:10}),p={className:`function`,begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},m=[`if`,`then`,`else`,`elif`,`fi`,`time`,`for`,`while`,`until`,`in`,`do`,`done`,`case`,`esac`,`coproc`,`function`,`select`],h=[`true`,`false`],g={match:/(\/[a-z._-]+)+/},_=[`break`,`cd`,`continue`,`eval`,`exec`,`exit`,`export`,`getopts`,`hash`,`pwd`,`readonly`,`return`,`shift`,`test`,`times`,`trap`,`umask`,`unset`],v=[`alias`,`bind`,`builtin`,`caller`,`command`,`declare`,`echo`,`enable`,`help`,`let`,`local`,`logout`,`mapfile`,`printf`,`read`,`readarray`,`source`,`sudo`,`type`,`typeset`,`ulimit`,`unalias`],y=`autoload.bg.bindkey.bye.cap.chdir.clone.comparguments.compcall.compctl.compdescribe.compfiles.compgroups.compquote.comptags.comptry.compvalues.dirs.disable.disown.echotc.echoti.emulate.fc.fg.float.functions.getcap.getln.history.integer.jobs.kill.limit.log.noglob.popd.print.pushd.pushln.rehash.sched.setcap.setopt.stat.suspend.ttyctl.unfunction.unhash.unlimit.unsetopt.vared.wait.whence.where.which.zcompile.zformat.zftp.zle.zmodload.zparseopts.zprof.zpty.zregexparse.zsocket.zstyle.ztcp`.split(`.`),b=`chcon.chgrp.chown.chmod.cp.dd.df.dir.dircolors.ln.ls.mkdir.mkfifo.mknod.mktemp.mv.realpath.rm.rmdir.shred.sync.touch.truncate.vdir.b2sum.base32.base64.cat.cksum.comm.csplit.cut.expand.fmt.fold.head.join.md5sum.nl.numfmt.od.paste.ptx.pr.sha1sum.sha224sum.sha256sum.sha384sum.sha512sum.shuf.sort.split.sum.tac.tail.tr.tsort.unexpand.uniq.wc.arch.basename.chroot.date.dirname.du.echo.env.expr.factor.groups.hostid.id.link.logname.nice.nohup.nproc.pathchk.pinky.printenv.printf.pwd.readlink.runcon.seq.sleep.stat.stdbuf.stty.tee.test.timeout.tty.uname.unlink.uptime.users.who.whoami.yes`.split(`.`);return{name:`Bash`,aliases:[`sh`,`zsh`],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:m,literal:h,built_in:[..._,...v,`set`,`shopt`,...y,...b]},contains:[f,e.SHEBANG(),p,d,a,o,g,s,c,l,u,n]}}function FU(e){let t=e.regex,n=e.COMMENT(`//`,`$`,{contains:[{begin:/\\\n/}]}),r=`[a-zA-Z_]\\w*::`,i=`(decltype\\(auto\\)|`+t.optional(r)+`[a-zA-Z_]\\w*`+t.optional(`<[^<>]+>`)+`)`,a={className:`type`,variants:[{begin:`\\b[a-z\\d_]*_t\\b`},{match:/\batomic_[a-z]{3,6}\b/}]},o={className:`string`,variants:[{begin:`(u8?|U|L)?"`,end:`"`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE]},{begin:`(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)`,end:`'`,illegal:`.`},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},s={className:`number`,variants:[{match:/\b(0b[01']+)/},{match:/(-?)\b([\d']+(\.[\d']*)?|\.[\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/},{match:/(-?)\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/},{match:/(-?)\b\d+(?:'\d+)*(?:\.\d*(?:'\d*)*)?(?:[eE][-+]?\d+)?/}],relevance:0},c={className:`meta`,begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:`if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include`},contains:[{begin:/\\\n/,relevance:0},e.inherit(o,{className:`string`}),{className:`string`,begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},l={className:`title`,begin:t.optional(r)+e.IDENT_RE,relevance:0},u=t.optional(r)+e.IDENT_RE+`\\s*\\(`,d={keyword:`asm.auto.break.case.continue.default.do.else.enum.extern.for.fortran.goto.if.inline.register.restrict.return.sizeof.typeof.typeof_unqual.struct.switch.typedef.union.volatile.while._Alignas._Alignof._Atomic._Generic._Noreturn._Static_assert._Thread_local.alignas.alignof.noreturn.static_assert.thread_local._Pragma`.split(`.`),type:`float.double.signed.unsigned.int.short.long.char.void._Bool._BitInt._Complex._Imaginary._Decimal32._Decimal64._Decimal96._Decimal128._Decimal64x._Decimal128x._Float16._Float32._Float64._Float128._Float32x._Float64x._Float128x.const.static.constexpr.complex.bool.imaginary`.split(`.`),literal:`true false NULL`,built_in:`std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr`},f=[c,a,n,e.C_BLOCK_COMMENT_MODE,s,o],p={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:`new throw return else`,end:/;/}],keywords:d,contains:f.concat([{begin:/\(/,end:/\)/,keywords:d,contains:f.concat([`self`]),relevance:0}]),relevance:0},m={begin:`(`+i+`[\\*&\\s]+)+`+u,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:d,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:`decltype\\(auto\\)`,keywords:d,relevance:0},{begin:u,returnBegin:!0,contains:[e.inherit(l,{className:`title.function`})],relevance:0},{relevance:0,match:/,/},{className:`params`,begin:/\(/,end:/\)/,keywords:d,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,o,s,a,{begin:/\(/,end:/\)/,keywords:d,relevance:0,contains:[`self`,n,e.C_BLOCK_COMMENT_MODE,o,s,a]}]},a,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:`C`,aliases:[`h`],keywords:d,disableAutodetect:!0,illegal:`</`,contains:[].concat(p,m,f,[c,{begin:e.IDENT_RE+`::`,keywords:d},{className:`class`,beginKeywords:`enum class struct union`,end:/[{;:<>=]/,contains:[{beginKeywords:`final class struct`},e.TITLE_MODE]}]),exports:{preprocessor:c,strings:o,keywords:d}}}function IU(e){let t=e.regex,n=e.COMMENT(`//`,`$`,{contains:[{begin:/\\\n/}]}),r=`[a-zA-Z_]\\w*::`,i=`(?!struct)(decltype\\(auto\\)|`+t.optional(r)+`[a-zA-Z_]\\w*`+t.optional(`<[^<>]+>`)+`)`,a={className:`type`,begin:`\\b[a-z\\d_]*_t\\b`},o={className:`string`,variants:[{begin:`(u8?|U|L)?"`,end:`"`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE]},{begin:`(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)`,end:`'`,illegal:`.`},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},s={className:`number`,variants:[{begin:`[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)`},{begin:`[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)`}],relevance:0},c={className:`meta`,begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:`if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include`},contains:[{begin:/\\\n/,relevance:0},e.inherit(o,{className:`string`}),{className:`string`,begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},l={className:`title`,begin:t.optional(r)+e.IDENT_RE,relevance:0},u=t.optional(r)+e.IDENT_RE+`\\s*\\(`,d=`alignas.alignof.and.and_eq.asm.atomic_cancel.atomic_commit.atomic_noexcept.auto.bitand.bitor.break.case.catch.class.co_await.co_return.co_yield.compl.concept.const_cast|10.consteval.constexpr.constinit.continue.decltype.default.delete.do.dynamic_cast|10.else.enum.explicit.export.extern.false.final.for.friend.goto.if.import.inline.module.mutable.namespace.new.noexcept.not.not_eq.nullptr.operator.or.or_eq.override.private.protected.public.reflexpr.register.reinterpret_cast|10.requires.return.sizeof.static_assert.static_cast|10.struct.switch.synchronized.template.this.thread_local.throw.transaction_safe.transaction_safe_dynamic.true.try.typedef.typeid.typename.union.using.virtual.volatile.while.xor.xor_eq`.split(`.`),f=[`bool`,`char`,`char16_t`,`char32_t`,`char8_t`,`double`,`float`,`int`,`long`,`short`,`void`,`wchar_t`,`unsigned`,`signed`,`const`,`static`],p=`any.auto_ptr.barrier.binary_semaphore.bitset.complex.condition_variable.condition_variable_any.counting_semaphore.deque.false_type.flat_map.flat_set.future.imaginary.initializer_list.istringstream.jthread.latch.lock_guard.multimap.multiset.mutex.optional.ostringstream.packaged_task.pair.promise.priority_queue.queue.recursive_mutex.recursive_timed_mutex.scoped_lock.set.shared_future.shared_lock.shared_mutex.shared_timed_mutex.shared_ptr.stack.string_view.stringstream.timed_mutex.thread.true_type.tuple.unique_lock.unique_ptr.unordered_map.unordered_multimap.unordered_multiset.unordered_set.variant.vector.weak_ptr.wstring.wstring_view`.split(`.`),m=`abort.abs.acos.apply.as_const.asin.atan.atan2.calloc.ceil.cerr.cin.clog.cos.cosh.cout.declval.endl.exchange.exit.exp.fabs.floor.fmod.forward.fprintf.fputs.free.frexp.fscanf.future.invoke.isalnum.isalpha.iscntrl.isdigit.isgraph.islower.isprint.ispunct.isspace.isupper.isxdigit.labs.launder.ldexp.log.log10.make_pair.make_shared.make_shared_for_overwrite.make_tuple.make_unique.malloc.memchr.memcmp.memcpy.memset.modf.move.pow.printf.putchar.puts.realloc.scanf.sin.sinh.snprintf.sprintf.sqrt.sscanf.std.stderr.stdin.stdout.strcat.strchr.strcmp.strcpy.strcspn.strlen.strncat.strncmp.strncpy.strpbrk.strrchr.strspn.strstr.swap.tan.tanh.terminate.to_underlying.tolower.toupper.vfprintf.visit.vprintf.vsprintf`.split(`.`),h={type:f,keyword:d,literal:[`NULL`,`false`,`nullopt`,`nullptr`,`true`],built_in:[`_Pragma`],_type_hints:p},g={className:`function.dispatch`,relevance:0,keywords:{_hint:m},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},_=[g,c,a,n,e.C_BLOCK_COMMENT_MODE,s,o],v={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:`new throw return else`,end:/;/}],keywords:h,contains:_.concat([{begin:/\(/,end:/\)/,keywords:h,contains:_.concat([`self`]),relevance:0}]),relevance:0},y={className:`function`,begin:`(`+i+`[\\*&\\s]+)+`+u,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:h,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:`decltype\\(auto\\)`,keywords:h,relevance:0},{begin:u,returnBegin:!0,contains:[l],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[o,s]},{relevance:0,match:/,/},{className:`params`,begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,o,s,a,{begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:[`self`,n,e.C_BLOCK_COMMENT_MODE,o,s,a]}]},a,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:`C++`,aliases:[`cc`,`c++`,`h++`,`hpp`,`hh`,`hxx`,`cxx`],keywords:h,illegal:`</`,classNameAliases:{"function.dispatch":`built_in`},contains:[].concat(v,y,g,_,[c,{begin:`\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)`,end:`>`,keywords:h,contains:[`self`,a]},{begin:e.IDENT_RE+`::`,keywords:h},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:`keyword`,3:`title.class`}}])}}function LU(e){let t=[`bool`,`byte`,`char`,`decimal`,`delegate`,`double`,`dynamic`,`enum`,`float`,`int`,`long`,`nint`,`nuint`,`object`,`sbyte`,`short`,`string`,`ulong`,`uint`,`ushort`],n=[`public`,`private`,`protected`,`static`,`internal`,`protected`,`abstract`,`async`,`extern`,`override`,`unsafe`,`virtual`,`new`,`sealed`,`partial`],r={keyword:`abstract.as.base.break.case.catch.class.const.continue.do.else.event.explicit.extern.finally.fixed.for.foreach.goto.if.implicit.in.interface.internal.is.lock.namespace.new.operator.out.override.params.private.protected.public.readonly.record.ref.return.scoped.sealed.sizeof.stackalloc.static.struct.switch.this.throw.try.typeof.unchecked.unsafe.using.virtual.void.volatile.while`.split(`.`).concat(`add.alias.and.ascending.args.async.await.by.descending.dynamic.equals.file.from.get.global.group.init.into.join.let.nameof.not.notnull.on.or.orderby.partial.record.remove.required.scoped.select.set.unmanaged.value|0.var.when.where.with.yield`.split(`.`)),built_in:t,literal:[`default`,`false`,`null`,`true`]},i=e.inherit(e.TITLE_MODE,{begin:`[a-zA-Z](\\.?\\w)*`}),a={className:`number`,variants:[{begin:`\\b(0b[01']+)`},{begin:`(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)`},{begin:`(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)`}],relevance:0},o={className:`string`,begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},s={className:`string`,begin:`@"`,end:`"`,contains:[{begin:`""`}]},c=e.inherit(s,{illegal:/\n/}),l={className:`subst`,begin:/\{/,end:/\}/,keywords:r},u=e.inherit(l,{illegal:/\n/}),d={className:`string`,begin:/\$"/,end:`"`,illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,u]},f={className:`string`,begin:/\$@"/,end:`"`,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:`""`},l]},p=e.inherit(f,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:`""`},u]});l.contains=[f,d,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.C_BLOCK_COMMENT_MODE],u.contains=[p,d,c,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,a,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];let m={variants:[o,f,d,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},h={begin:`<`,end:`>`,contains:[{beginKeywords:`in out`},i]},g=e.IDENT_RE+`(<`+e.IDENT_RE+`(\\s*,\\s*`+e.IDENT_RE+`)*>)?(\\[\\])?`,_={begin:`@`+e.IDENT_RE,relevance:0};return{name:`C#`,aliases:[`cs`,`c#`],keywords:r,illegal:/::/,contains:[e.COMMENT(`///`,`$`,{returnBegin:!0,contains:[{className:`doctag`,variants:[{begin:`///`,relevance:0},{begin:`<!--|-->`},{begin:`</?`,end:`>`}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:`meta`,begin:`#`,end:`$`,keywords:{keyword:`if else elif endif define undef warning error line region endregion pragma checksum`}},m,a,{beginKeywords:`class interface`,relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:`where class`},i,h,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:`namespace`,relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[i,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:`record`,relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[i,h,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:`meta`,begin:`^\\s*\\[(?=[\\w])`,excludeBegin:!0,end:`\\]`,excludeEnd:!0,contains:[{className:`string`,begin:/"/,end:/"/}]},{beginKeywords:`new return throw await else`,relevance:0},{className:`function`,begin:`(`+g+`\\s+)+`+e.IDENT_RE+`\\s*(<[^=]+>\\s*)?\\(`,returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:r,contains:[{beginKeywords:n.join(` `),relevance:0},{begin:e.IDENT_RE+`\\s*(<[^=]+>\\s*)?\\(`,returnBegin:!0,contains:[e.TITLE_MODE,h],relevance:0},{match:/\(\)/},{className:`params`,begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,relevance:0,contains:[m,a,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},_]}}var RU=e=>({IMPORTANT:{scope:`meta`,begin:`!important`},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:`number`,begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:`built_in`,begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:`selector-attr`,begin:/\[/,end:/\]/,illegal:`$`,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:`number`,begin:e.NUMBER_RE+`(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?`,relevance:0},CSS_VARIABLE:{className:`attr`,begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),zU=`a.abbr.address.article.aside.audio.b.blockquote.body.button.canvas.caption.cite.code.dd.del.details.dfn.div.dl.dt.em.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.html.i.iframe.img.input.ins.kbd.label.legend.li.main.mark.menu.nav.object.ol.optgroup.option.p.picture.q.quote.samp.section.select.source.span.strong.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.tr.ul.var.video`.split(`.`),BU=`defs.g.marker.mask.pattern.svg.switch.symbol.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feFlood.feGaussianBlur.feImage.feMerge.feMorphology.feOffset.feSpecularLighting.feTile.feTurbulence.linearGradient.radialGradient.stop.circle.ellipse.image.line.path.polygon.polyline.rect.text.use.textPath.tspan.foreignObject.clipPath`.split(`.`),VU=[...zU,...BU],HU=`any-hover.any-pointer.aspect-ratio.color.color-gamut.color-index.device-aspect-ratio.device-height.device-width.display-mode.forced-colors.grid.height.hover.inverted-colors.monochrome.orientation.overflow-block.overflow-inline.pointer.prefers-color-scheme.prefers-contrast.prefers-reduced-motion.prefers-reduced-transparency.resolution.scan.scripting.update.width.min-width.max-width.min-height.max-height`.split(`.`).sort().reverse(),UU=`active.any-link.blank.checked.current.default.defined.dir.disabled.drop.empty.enabled.first.first-child.first-of-type.fullscreen.future.focus.focus-visible.focus-within.has.host.host-context.hover.indeterminate.in-range.invalid.is.lang.last-child.last-of-type.left.link.local-link.not.nth-child.nth-col.nth-last-child.nth-last-col.nth-last-of-type.nth-of-type.only-child.only-of-type.optional.out-of-range.past.placeholder-shown.read-only.read-write.required.right.root.scope.target.target-within.user-invalid.valid.visited.where`.split(`.`).sort().reverse(),WU=[`after`,`backdrop`,`before`,`cue`,`cue-region`,`first-letter`,`first-line`,`grammar-error`,`marker`,`part`,`placeholder`,`selection`,`slotted`,`spelling-error`].sort().reverse(),GU=`accent-color.align-content.align-items.align-self.alignment-baseline.all.anchor-name.animation.animation-composition.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-range.animation-range-end.animation-range-start.animation-timeline.animation-timing-function.appearance.aspect-ratio.backdrop-filter.backface-visibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.baseline-shift.block-size.border.border-block.border-block-color.border-block-end.border-block-end-color.border-block-end-style.border-block-end-width.border-block-start.border-block-start-color.border-block-start-style.border-block-start-width.border-block-style.border-block-width.border-bottom.border-bottom-color.border-bottom-left-radius.border-bottom-right-radius.border-bottom-style.border-bottom-width.border-collapse.border-color.border-end-end-radius.border-end-start-radius.border-image.border-image-outset.border-image-repeat.border-image-slice.border-image-source.border-image-width.border-inline.border-inline-color.border-inline-end.border-inline-end-color.border-inline-end-style.border-inline-end-width.border-inline-start.border-inline-start-color.border-inline-start-style.border-inline-start-width.border-inline-style.border-inline-width.border-left.border-left-color.border-left-style.border-left-width.border-radius.border-right.border-right-color.border-right-style.border-right-width.border-spacing.border-start-end-radius.border-start-start-radius.border-style.border-top.border-top-color.border-top-left-radius.border-top-right-radius.border-top-style.border-top-width.border-width.bottom.box-align.box-decoration-break.box-direction.box-flex.box-flex-group.box-lines.box-ordinal-group.box-orient.box-pack.box-shadow.box-sizing.break-after.break-before.break-inside.caption-side.caret-color.clear.clip.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.color-scheme.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columns.contain.contain-intrinsic-block-size.contain-intrinsic-height.contain-intrinsic-inline-size.contain-intrinsic-size.contain-intrinsic-width.container.container-name.container-type.content.content-visibility.counter-increment.counter-reset.counter-set.cue.cue-after.cue-before.cursor.cx.cy.direction.display.dominant-baseline.empty-cells.enable-background.field-sizing.fill.fill-opacity.fill-rule.filter.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.float.flood-color.flood-opacity.flow.font.font-display.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-palette.font-size.font-size-adjust.font-smooth.font-smoothing.font-stretch.font-style.font-synthesis.font-synthesis-position.font-synthesis-small-caps.font-synthesis-style.font-synthesis-weight.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-emoji.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.forced-color-adjust.gap.glyph-orientation-horizontal.glyph-orientation-vertical.grid.grid-area.grid-auto-columns.grid-auto-flow.grid-auto-rows.grid-column.grid-column-end.grid-column-start.grid-gap.grid-row.grid-row-end.grid-row-start.grid-template.grid-template-areas.grid-template-columns.grid-template-rows.hanging-punctuation.height.hyphenate-character.hyphenate-limit-chars.hyphens.icon.image-orientation.image-rendering.image-resolution.ime-mode.initial-letter.initial-letter-align.inline-size.inset.inset-area.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.isolation.justify-content.justify-items.justify-self.kerning.left.letter-spacing.lighting-color.line-break.line-height.line-height-step.list-style.list-style-image.list-style-position.list-style-type.margin.margin-block.margin-block-end.margin-block-start.margin-bottom.margin-inline.margin-inline-end.margin-inline-start.margin-left.margin-right.margin-top.margin-trim.marker.marker-end.marker-mid.marker-start.marks.mask.mask-border.mask-border-mode.mask-border-outset.mask-border-repeat.mask-border-slice.mask-border-source.mask-border-width.mask-clip.mask-composite.mask-image.mask-mode.mask-origin.mask-position.mask-repeat.mask-size.mask-type.masonry-auto-flow.math-depth.math-shift.math-style.max-block-size.max-height.max-inline-size.max-width.min-block-size.min-height.min-inline-size.min-width.mix-blend-mode.nav-down.nav-index.nav-left.nav-right.nav-up.none.normal.object-fit.object-position.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.opacity.order.orphans.outline.outline-color.outline-offset.outline-style.outline-width.overflow.overflow-anchor.overflow-block.overflow-clip-margin.overflow-inline.overflow-wrap.overflow-x.overflow-y.overlay.overscroll-behavior.overscroll-behavior-block.overscroll-behavior-inline.overscroll-behavior-x.overscroll-behavior-y.padding.padding-block.padding-block-end.padding-block-start.padding-bottom.padding-inline.padding-inline-end.padding-inline-start.padding-left.padding-right.padding-top.page.page-break-after.page-break-before.page-break-inside.paint-order.pause.pause-after.pause-before.perspective.perspective-origin.place-content.place-items.place-self.pointer-events.position.position-anchor.position-visibility.print-color-adjust.quotes.r.resize.rest.rest-after.rest-before.right.rotate.row-gap.ruby-align.ruby-position.scale.scroll-behavior.scroll-margin.scroll-margin-block.scroll-margin-block-end.scroll-margin-block-start.scroll-margin-bottom.scroll-margin-inline.scroll-margin-inline-end.scroll-margin-inline-start.scroll-margin-left.scroll-margin-right.scroll-margin-top.scroll-padding.scroll-padding-block.scroll-padding-block-end.scroll-padding-block-start.scroll-padding-bottom.scroll-padding-inline.scroll-padding-inline-end.scroll-padding-inline-start.scroll-padding-left.scroll-padding-right.scroll-padding-top.scroll-snap-align.scroll-snap-stop.scroll-snap-type.scroll-timeline.scroll-timeline-axis.scroll-timeline-name.scrollbar-color.scrollbar-gutter.scrollbar-width.shape-image-threshold.shape-margin.shape-outside.shape-rendering.speak.speak-as.src.stop-color.stop-opacity.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.tab-size.table-layout.text-align.text-align-all.text-align-last.text-anchor.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip.text-decoration-skip-ink.text-decoration-style.text-decoration-thickness.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-indent.text-justify.text-orientation.text-overflow.text-rendering.text-shadow.text-size-adjust.text-transform.text-underline-offset.text-underline-position.text-wrap.text-wrap-mode.text-wrap-style.timeline-scope.top.touch-action.transform.transform-box.transform-origin.transform-style.transition.transition-behavior.transition-delay.transition-duration.transition-property.transition-timing-function.translate.unicode-bidi.user-modify.user-select.vector-effect.vertical-align.view-timeline.view-timeline-axis.view-timeline-inset.view-timeline-name.view-transition-name.visibility.voice-balance.voice-duration.voice-family.voice-pitch.voice-range.voice-rate.voice-stress.voice-volume.white-space.white-space-collapse.widows.width.will-change.word-break.word-spacing.word-wrap.writing-mode.x.y.z-index.zoom`.split(`.`).sort().reverse();function KU(e){let t=e.regex,n=RU(e),r={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},i=/@-?\w[\w]*(-\w+)*/,a=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:`CSS`,case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:`from to`},classNameAliases:{keyframePosition:`selector-tag`},contains:[n.BLOCK_COMMENT,r,n.CSS_NUMBER_MODE,{className:`selector-id`,begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:`selector-class`,begin:`\\.[a-zA-Z-][a-zA-Z0-9_-]*`,relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:`selector-pseudo`,variants:[{begin:`:(`+UU.join(`|`)+`)`},{begin:`:(:)?(`+WU.join(`|`)+`)`}]},n.CSS_VARIABLE,{className:`attribute`,begin:`\\b(`+GU.join(`|`)+`)\\b`},{begin:/:/,end:/[;}{]/,contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.CSS_NUMBER_MODE,...a,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:`url data-uri`},contains:[...a,{className:`string`,begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},n.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:`[{;]`,relevance:0,illegal:/:/,contains:[{className:`keyword`,begin:i},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:`and or not only`,attribute:HU.join(` `)},contains:[{begin:/[a-z-]+(?=:)/,className:`attribute`},...a,n.CSS_NUMBER_MODE]}]},{className:`selector-tag`,begin:`\\b(`+VU.join(`|`)+`)\\b`}]}}function qU(e){let t=e.regex;return{name:`Diff`,aliases:[`patch`],contains:[{className:`meta`,relevance:10,match:t.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:`comment`,variants:[{begin:t.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:`addition`,begin:/^\+/,end:/$/},{className:`deletion`,begin:/^-/,end:/$/},{className:`addition`,begin:/^!/,end:/$/}]}}function JU(e){let t={keyword:[`break`,`case`,`chan`,`const`,`continue`,`default`,`defer`,`else`,`fallthrough`,`for`,`func`,`go`,`goto`,`if`,`import`,`interface`,`map`,`package`,`range`,`return`,`select`,`struct`,`switch`,`type`,`var`],type:[`bool`,`byte`,`complex64`,`complex128`,`error`,`float32`,`float64`,`int8`,`int16`,`int32`,`int64`,`string`,`uint8`,`uint16`,`uint32`,`uint64`,`int`,`uint`,`uintptr`,`rune`],literal:[`true`,`false`,`iota`,`nil`],built_in:[`append`,`cap`,`close`,`complex`,`copy`,`imag`,`len`,`make`,`new`,`panic`,`print`,`println`,`real`,`recover`,`delete`]};return{name:`Go`,aliases:[`golang`],keywords:t,illegal:`</`,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:`string`,variants:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:`number`,variants:[{match:/-?\b0[xX]\.[a-fA-F0-9](_?[a-fA-F0-9])*[pP][+-]?\d(_?\d)*i?/,relevance:0},{match:/-?\b0[xX](_?[a-fA-F0-9])+((\.([a-fA-F0-9](_?[a-fA-F0-9])*)?)?[pP][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b0[oO](_?[0-7])*i?/,relevance:0},{match:/-?\.\d(_?\d)*([eE][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b\d(_?\d)*(\.(\d(_?\d)*)?)?([eE][+-]?\d(_?\d)*)?i?/,relevance:0}]},{begin:/:=/},{className:`function`,beginKeywords:`func`,end:`\\s*(\\{|$)`,excludeEnd:!0,contains:[e.TITLE_MODE,{className:`params`,begin:/\(/,end:/\)/,endsParent:!0,keywords:t,illegal:/["']/}]}]}}function YU(e){let t=e.regex;return{name:`GraphQL`,aliases:[`gql`],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:[`query`,`mutation`,`subscription`,`type`,`input`,`schema`,`directive`,`interface`,`union`,`scalar`,`fragment`,`enum`,`on`],literal:[`true`,`false`,`null`]},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{scope:`punctuation`,match:/[.]{3}/,relevance:0},{scope:`punctuation`,begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:`variable`,begin:/\$/,end:/\W/,excludeEnd:!0,relevance:0},{scope:`meta`,match:/@\w+/,excludeEnd:!0},{scope:`symbol`,begin:t.concat(/[_A-Za-z][_0-9A-Za-z]*/,t.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}}function XU(e){let t=e.regex,n={className:`number`,relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},r=e.COMMENT();r.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];let i={className:`variable`,variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},a={className:`literal`,begin:/\bon|off|true|false|yes|no\b/},o={className:`string`,contains:[e.BACKSLASH_ESCAPE],variants:[{begin:`'''`,end:`'''`,relevance:10},{begin:`"""`,end:`"""`,relevance:10},{begin:`"`,end:`"`},{begin:`'`,end:`'`}]},s={begin:/\[/,end:/\]/,contains:[r,a,i,o,n,`self`],relevance:0},c=t.either(/[A-Za-z0-9_-]+/,/"(\\"|[^"])*"/,/'[^']*'/);return{name:`TOML, also INI`,aliases:[`toml`],case_insensitive:!0,illegal:/\S/,contains:[r,{className:`section`,begin:/\[+/,end:/\]+/},{begin:t.concat(c,`(\\s*\\.\\s*`,c,`)*`,t.lookahead(/\s*=\s*[^#\s]/)),className:`attr`,starts:{end:/$/,contains:[r,s,a,i,o,n]}}]}}var ZU=`[0-9](_*[0-9])*`,QU=`\\.(${ZU})`,$U=`[0-9a-fA-F](_*[0-9a-fA-F])*`,eW={className:`number`,variants:[{begin:`(\\b(${ZU})((${QU})|\\.)?|(${QU}))[eE][+-]?(${ZU})[fFdD]?\\b`},{begin:`\\b(${ZU})((${QU})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${QU})[fFdD]?\\b`},{begin:`\\b(${ZU})[fFdD]\\b`},{begin:`\\b0[xX]((${$U})\\.?|(${$U})?\\.(${$U}))[pP][+-]?(${ZU})[fFdD]?\\b`},{begin:`\\b(0|[1-9](_*[0-9])*)[lL]?\\b`},{begin:`\\b0[xX](${$U})[lL]?\\b`},{begin:`\\b0(_*[0-7])*[lL]?\\b`},{begin:`\\b0[bB][01](_*[01])*[lL]?\\b`}],relevance:0};function tW(e,t,n){return n===-1?``:e.replace(t,r=>tW(e,t,n-1))}function nW(e){let t=e.regex,n=`[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*`,r=n+tW(`(?:<[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*~~~(?:\\s*,\\s*[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*~~~)*>)?`,/~~~/g,2),i={keyword:`synchronized.abstract.private.var.static.if.const .for.while.strictfp.finally.protected.import.native.final.void.enum.else.break.transient.catch.instanceof.volatile.case.assert.package.default.public.try.switch.continue.throws.protected.public.private.module.requires.exports.do.sealed.yield.permits.goto.when`.split(`.`),literal:[`false`,`true`,`null`],type:[`char`,`boolean`,`long`,`float`,`int`,`byte`,`short`,`double`],built_in:[`super`,`this`]},a={className:`meta`,begin:`@[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*`,contains:[{begin:/\(/,end:/\)/,contains:[`self`]}]},o={className:`params`,begin:/\(/,end:/\)/,keywords:i,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:`Java`,aliases:[`jsp`],keywords:i,illegal:/<\/|#/,contains:[e.COMMENT(`/\\*\\*`,`\\*/`,{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:`doctag`,begin:`@[A-Za-z]+`}]}),{begin:/import java\.[a-z]+\./,keywords:`import`,relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:`string`,contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,n],className:{1:`keyword`,3:`title.class`}},{match:/non-sealed/,scope:`keyword`},{begin:[t.concat(/(?!else)/,n),/\s+/,n,/\s+/,/=(?!=)/],className:{1:`type`,3:`variable`,5:`operator`}},{begin:[/record/,/\s+/,n],className:{1:`keyword`,3:`title.class`},contains:[o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:`new throw return else`,relevance:0},{begin:[`(?:`+r+`\\s+)`,e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:`title.function`},keywords:i,contains:[{className:`params`,begin:/\(/,end:/\)/,keywords:i,relevance:0,contains:[a,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,eW,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},eW,a]}}var rW=`[A-Za-z$_][0-9A-Za-z$_]*`,iW=`as.in.of.if.for.while.finally.var.new.function.do.return.void.else.break.catch.instanceof.with.throw.case.default.try.switch.continue.typeof.delete.let.yield.const.class.debugger.async.await.static.import.from.export.extends.using`.split(`.`),aW=[`true`,`false`,`null`,`undefined`,`NaN`,`Infinity`],oW=`Object.Function.Boolean.Symbol.Math.Date.Number.BigInt.String.RegExp.Array.Float32Array.Float64Array.Int8Array.Uint8Array.Uint8ClampedArray.Int16Array.Int32Array.Uint16Array.Uint32Array.BigInt64Array.BigUint64Array.Set.Map.WeakSet.WeakMap.ArrayBuffer.SharedArrayBuffer.Atomics.DataView.JSON.Promise.Generator.GeneratorFunction.AsyncFunction.Reflect.Proxy.Intl.WebAssembly`.split(`.`),sW=[`Error`,`EvalError`,`InternalError`,`RangeError`,`ReferenceError`,`SyntaxError`,`TypeError`,`URIError`],cW=[`setInterval`,`setTimeout`,`clearInterval`,`clearTimeout`,`require`,`exports`,`eval`,`isFinite`,`isNaN`,`parseFloat`,`parseInt`,`decodeURI`,`decodeURIComponent`,`encodeURI`,`encodeURIComponent`,`escape`,`unescape`],lW=[`arguments`,`this`,`super`,`console`,`window`,`document`,`localStorage`,`sessionStorage`,`module`,`global`],uW=[].concat(cW,oW,sW);function dW(e){let t=e.regex,n=(e,{after:t})=>{let n=`</`+e[0].slice(1);return e.input.indexOf(n,t)!==-1},r=rW,i={begin:`<>`,end:`</>`},a=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{let r=e[0].length+e.index,i=e.input[r];if(i===`<`||i===`,`){t.ignoreMatch();return}i===`>`&&(n(e,{after:r})||t.ignoreMatch());let a,o=e.input.substring(r);if(a=o.match(/^\s*=/)){t.ignoreMatch();return}if((a=o.match(/^\s+extends\s+/))&&a.index===0){t.ignoreMatch();return}}},s={$pattern:rW,keyword:iW,literal:aW,built_in:uW,"variable.language":lW},c=`[0-9](_?[0-9])*`,l=`\\.(${c})`,u=`0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*`,d={className:`number`,variants:[{begin:`(\\b(${u})((${l})|\\.)?|(${l}))[eE][+-]?(${c})\\b`},{begin:`\\b(${u})\\b((${l})\\b|\\.)?|(${l})\\b`},{begin:`\\b(0|[1-9](_?[0-9])*)n\\b`},{begin:`\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b`},{begin:`\\b0[bB][0-1](_?[0-1])*n?\\b`},{begin:`\\b0[oO][0-7](_?[0-7])*n?\\b`},{begin:`\\b0[0-7]+n?\\b`}],relevance:0},f={className:`subst`,begin:`\\$\\{`,end:`\\}`,keywords:s,contains:[]},p={begin:".?html`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`xml`}},m={begin:".?css`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`css`}},h={begin:".?gql`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`graphql`}},g={className:`string`,begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,f]},_={className:`comment`,variants:[e.COMMENT(/\/\*\*(?!\/)/,`\\*/`,{relevance:0,contains:[{begin:`(?=@[A-Za-z]+)`,relevance:0,contains:[{className:`doctag`,begin:`@[A-Za-z]+`},{className:`type`,begin:`\\{`,end:`\\}`,excludeEnd:!0,excludeBegin:!0,relevance:0},{className:`variable`,begin:`[A-Za-z$_][0-9A-Za-z$_]*(?=\\s*(-)|$)`,endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},v=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,m,h,g,{match:/\$\d+/},d];f.contains=v.concat({begin:/\{/,end:/\}/,keywords:s,contains:[`self`].concat(v)});let y=[].concat(_,f.contains),b=y.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:[`self`].concat(y)}]),ee={className:`params`,begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b},te={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,`(`,t.concat(/\./,r),`)*`)],scope:{1:`keyword`,3:`title.class`,5:`keyword`,7:`title.class.inherited`}},{match:[/class/,/\s+/,r],scope:{1:`keyword`,3:`title.class`}}]},x={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:`title.class`,keywords:{_:[...oW,...sW]}},S={label:`use_strict`,className:`meta`,relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},ne={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:`keyword`,3:`title.function`},label:`func.def`,contains:[ee],illegal:/%/},re={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:`variable.constant`};function ie(e){return t.concat(`(?!`,e.join(`|`),`)`)}let ae={match:t.concat(/\b/,ie([...cW,`super`,`import`].map(e=>`${e}\\s*\\(`)),r,t.lookahead(/\s*\(/)),className:`title.function`,relevance:0},oe={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:`prototype`,className:`property`,relevance:0},C={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:`keyword`,3:`title.function`},contains:[{begin:/\(\)/},ee]},se=`(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|`+e.UNDERSCORE_IDENT_RE+`)\\s*=>`,w={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(se)],keywords:`async`,className:{1:`keyword`,3:`title.function`},contains:[ee]};return{name:`JavaScript`,aliases:[`js`,`jsx`,`mjs`,`cjs`],keywords:s,exports:{PARAMS_CONTAINS:b,CLASS_REFERENCE:x},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:`shebang`,binary:`node`,relevance:5}),S,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,m,h,g,_,{match:/\$\d+/},d,x,{scope:`attr`,match:r+t.lookahead(`:`),relevance:0},w,{begin:`(`+e.RE_STARTERS_RE+`|\\b(case|return|throw)\\b)\\s*`,keywords:`return throw case`,relevance:0,contains:[_,e.REGEXP_MODE,{className:`function`,begin:se,returnBegin:!0,end:`\\s*=>`,contains:[{className:`params`,variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:a},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:`xml`,contains:[{begin:o.begin,end:o.end,skip:!0,contains:[`self`]}]}]},ne,{beginKeywords:`while if switch catch for`},{begin:`\\b(?!function)`+e.UNDERSCORE_IDENT_RE+`\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{`,returnBegin:!0,label:`func.def`,contains:[ee,e.inherit(e.TITLE_MODE,{begin:r,className:`title.function`})]},{match:/\.\.\./,relevance:0},oe,{match:`\\$[A-Za-z$_][0-9A-Za-z$_]*`,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:`title.function`},contains:[ee]},ae,re,te,C,{match:/\$[(.]/}]}}function fW(e){let t={className:`attr`,begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},n={match:/[{}[\],:]/,className:`punctuation`,relevance:0},r=[`true`,`false`,`null`],i={scope:`literal`,beginKeywords:r.join(` `)};return{name:`JSON`,aliases:[`jsonc`],keywords:{literal:r},contains:[t,n,e.QUOTE_STRING_MODE,i,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:`\\S`}}var pW=`[0-9](_*[0-9])*`,mW=`\\.(${pW})`,hW=`[0-9a-fA-F](_*[0-9a-fA-F])*`,gW={className:`number`,variants:[{begin:`(\\b(${pW})((${mW})|\\.)?|(${mW}))[eE][+-]?(${pW})[fFdD]?\\b`},{begin:`\\b(${pW})((${mW})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${mW})[fFdD]?\\b`},{begin:`\\b(${pW})[fFdD]\\b`},{begin:`\\b0[xX]((${hW})\\.?|(${hW})?\\.(${hW}))[pP][+-]?(${pW})[fFdD]?\\b`},{begin:`\\b(0|[1-9](_*[0-9])*)[lL]?\\b`},{begin:`\\b0[xX](${hW})[lL]?\\b`},{begin:`\\b0(_*[0-7])*[lL]?\\b`},{begin:`\\b0[bB][01](_*[01])*[lL]?\\b`}],relevance:0};function _W(e){let t={keyword:`abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual`,built_in:`Byte Short Char Int Long Boolean Float Double Void Unit Nothing`,literal:`true false null`},n={className:`keyword`,begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:`symbol`,begin:/@\w+/}]}},r={className:`symbol`,begin:e.UNDERSCORE_IDENT_RE+`@`},i={className:`subst`,begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},a={className:`variable`,begin:`\\$`+e.UNDERSCORE_IDENT_RE},o={className:`string`,variants:[{begin:`"""`,end:`"""(?=[^"])`,contains:[a,i]},{begin:`'`,end:`'`,illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:`"`,end:`"`,illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,a,i]}]};i.contains.push(o);let s={className:`meta`,begin:`@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*`+e.UNDERSCORE_IDENT_RE+`)?`},c={className:`meta`,begin:`@`+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(o,{className:`string`}),`self`]}]},l=gW,u=e.COMMENT(`/\\*`,`\\*/`,{contains:[e.C_BLOCK_COMMENT_MODE]}),d={variants:[{className:`type`,begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},f=d;return f.variants[1].contains=[d],d.variants[1].contains=[f],{name:`Kotlin`,aliases:[`kt`,`kts`],keywords:t,contains:[e.COMMENT(`/\\*\\*`,`\\*/`,{relevance:0,contains:[{className:`doctag`,begin:`@[A-Za-z]+`}]}),e.C_LINE_COMMENT_MODE,u,n,r,s,c,{className:`function`,beginKeywords:`fun`,end:`[(]|$`,returnBegin:!0,excludeEnd:!0,keywords:t,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+`\\s*\\(`,returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:`type`,begin:/</,end:/>/,keywords:`reified`,relevance:0},{className:`params`,begin:/\(/,end:/\)/,endsParent:!0,keywords:t,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[d,e.C_LINE_COMMENT_MODE,u],relevance:0},e.C_LINE_COMMENT_MODE,u,s,c,o,e.C_NUMBER_MODE]},u]},{begin:[/class|interface|trait/,/\s+/,e.UNDERSCORE_IDENT_RE],beginScope:{3:`title.class`},keywords:`class interface trait`,end:/[:\{(]|$/,excludeEnd:!0,illegal:`extends implements`,contains:[{beginKeywords:`public protected internal private constructor`},e.UNDERSCORE_TITLE_MODE,{className:`type`,begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:`type`,begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},s,c]},o,{className:`meta`,begin:`^#!/usr/bin/env`,end:`$`,illegal:`
|
|
18
|
+
`},l]}}var vW=e=>({IMPORTANT:{scope:`meta`,begin:`!important`},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:`number`,begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:`built_in`,begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:`selector-attr`,begin:/\[/,end:/\]/,illegal:`$`,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:`number`,begin:e.NUMBER_RE+`(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?`,relevance:0},CSS_VARIABLE:{className:`attr`,begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),yW=`a.abbr.address.article.aside.audio.b.blockquote.body.button.canvas.caption.cite.code.dd.del.details.dfn.div.dl.dt.em.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.html.i.iframe.img.input.ins.kbd.label.legend.li.main.mark.menu.nav.object.ol.optgroup.option.p.picture.q.quote.samp.section.select.source.span.strong.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.tr.ul.var.video`.split(`.`),bW=`defs.g.marker.mask.pattern.svg.switch.symbol.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feFlood.feGaussianBlur.feImage.feMerge.feMorphology.feOffset.feSpecularLighting.feTile.feTurbulence.linearGradient.radialGradient.stop.circle.ellipse.image.line.path.polygon.polyline.rect.text.use.textPath.tspan.foreignObject.clipPath`.split(`.`),xW=[...yW,...bW],SW=`any-hover.any-pointer.aspect-ratio.color.color-gamut.color-index.device-aspect-ratio.device-height.device-width.display-mode.forced-colors.grid.height.hover.inverted-colors.monochrome.orientation.overflow-block.overflow-inline.pointer.prefers-color-scheme.prefers-contrast.prefers-reduced-motion.prefers-reduced-transparency.resolution.scan.scripting.update.width.min-width.max-width.min-height.max-height`.split(`.`).sort().reverse(),CW=`active.any-link.blank.checked.current.default.defined.dir.disabled.drop.empty.enabled.first.first-child.first-of-type.fullscreen.future.focus.focus-visible.focus-within.has.host.host-context.hover.indeterminate.in-range.invalid.is.lang.last-child.last-of-type.left.link.local-link.not.nth-child.nth-col.nth-last-child.nth-last-col.nth-last-of-type.nth-of-type.only-child.only-of-type.optional.out-of-range.past.placeholder-shown.read-only.read-write.required.right.root.scope.target.target-within.user-invalid.valid.visited.where`.split(`.`).sort().reverse(),wW=[`after`,`backdrop`,`before`,`cue`,`cue-region`,`first-letter`,`first-line`,`grammar-error`,`marker`,`part`,`placeholder`,`selection`,`slotted`,`spelling-error`].sort().reverse(),TW=`accent-color.align-content.align-items.align-self.alignment-baseline.all.anchor-name.animation.animation-composition.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-range.animation-range-end.animation-range-start.animation-timeline.animation-timing-function.appearance.aspect-ratio.backdrop-filter.backface-visibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.baseline-shift.block-size.border.border-block.border-block-color.border-block-end.border-block-end-color.border-block-end-style.border-block-end-width.border-block-start.border-block-start-color.border-block-start-style.border-block-start-width.border-block-style.border-block-width.border-bottom.border-bottom-color.border-bottom-left-radius.border-bottom-right-radius.border-bottom-style.border-bottom-width.border-collapse.border-color.border-end-end-radius.border-end-start-radius.border-image.border-image-outset.border-image-repeat.border-image-slice.border-image-source.border-image-width.border-inline.border-inline-color.border-inline-end.border-inline-end-color.border-inline-end-style.border-inline-end-width.border-inline-start.border-inline-start-color.border-inline-start-style.border-inline-start-width.border-inline-style.border-inline-width.border-left.border-left-color.border-left-style.border-left-width.border-radius.border-right.border-right-color.border-right-style.border-right-width.border-spacing.border-start-end-radius.border-start-start-radius.border-style.border-top.border-top-color.border-top-left-radius.border-top-right-radius.border-top-style.border-top-width.border-width.bottom.box-align.box-decoration-break.box-direction.box-flex.box-flex-group.box-lines.box-ordinal-group.box-orient.box-pack.box-shadow.box-sizing.break-after.break-before.break-inside.caption-side.caret-color.clear.clip.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.color-scheme.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columns.contain.contain-intrinsic-block-size.contain-intrinsic-height.contain-intrinsic-inline-size.contain-intrinsic-size.contain-intrinsic-width.container.container-name.container-type.content.content-visibility.counter-increment.counter-reset.counter-set.cue.cue-after.cue-before.cursor.cx.cy.direction.display.dominant-baseline.empty-cells.enable-background.field-sizing.fill.fill-opacity.fill-rule.filter.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.float.flood-color.flood-opacity.flow.font.font-display.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-palette.font-size.font-size-adjust.font-smooth.font-smoothing.font-stretch.font-style.font-synthesis.font-synthesis-position.font-synthesis-small-caps.font-synthesis-style.font-synthesis-weight.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-emoji.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.forced-color-adjust.gap.glyph-orientation-horizontal.glyph-orientation-vertical.grid.grid-area.grid-auto-columns.grid-auto-flow.grid-auto-rows.grid-column.grid-column-end.grid-column-start.grid-gap.grid-row.grid-row-end.grid-row-start.grid-template.grid-template-areas.grid-template-columns.grid-template-rows.hanging-punctuation.height.hyphenate-character.hyphenate-limit-chars.hyphens.icon.image-orientation.image-rendering.image-resolution.ime-mode.initial-letter.initial-letter-align.inline-size.inset.inset-area.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.isolation.justify-content.justify-items.justify-self.kerning.left.letter-spacing.lighting-color.line-break.line-height.line-height-step.list-style.list-style-image.list-style-position.list-style-type.margin.margin-block.margin-block-end.margin-block-start.margin-bottom.margin-inline.margin-inline-end.margin-inline-start.margin-left.margin-right.margin-top.margin-trim.marker.marker-end.marker-mid.marker-start.marks.mask.mask-border.mask-border-mode.mask-border-outset.mask-border-repeat.mask-border-slice.mask-border-source.mask-border-width.mask-clip.mask-composite.mask-image.mask-mode.mask-origin.mask-position.mask-repeat.mask-size.mask-type.masonry-auto-flow.math-depth.math-shift.math-style.max-block-size.max-height.max-inline-size.max-width.min-block-size.min-height.min-inline-size.min-width.mix-blend-mode.nav-down.nav-index.nav-left.nav-right.nav-up.none.normal.object-fit.object-position.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.opacity.order.orphans.outline.outline-color.outline-offset.outline-style.outline-width.overflow.overflow-anchor.overflow-block.overflow-clip-margin.overflow-inline.overflow-wrap.overflow-x.overflow-y.overlay.overscroll-behavior.overscroll-behavior-block.overscroll-behavior-inline.overscroll-behavior-x.overscroll-behavior-y.padding.padding-block.padding-block-end.padding-block-start.padding-bottom.padding-inline.padding-inline-end.padding-inline-start.padding-left.padding-right.padding-top.page.page-break-after.page-break-before.page-break-inside.paint-order.pause.pause-after.pause-before.perspective.perspective-origin.place-content.place-items.place-self.pointer-events.position.position-anchor.position-visibility.print-color-adjust.quotes.r.resize.rest.rest-after.rest-before.right.rotate.row-gap.ruby-align.ruby-position.scale.scroll-behavior.scroll-margin.scroll-margin-block.scroll-margin-block-end.scroll-margin-block-start.scroll-margin-bottom.scroll-margin-inline.scroll-margin-inline-end.scroll-margin-inline-start.scroll-margin-left.scroll-margin-right.scroll-margin-top.scroll-padding.scroll-padding-block.scroll-padding-block-end.scroll-padding-block-start.scroll-padding-bottom.scroll-padding-inline.scroll-padding-inline-end.scroll-padding-inline-start.scroll-padding-left.scroll-padding-right.scroll-padding-top.scroll-snap-align.scroll-snap-stop.scroll-snap-type.scroll-timeline.scroll-timeline-axis.scroll-timeline-name.scrollbar-color.scrollbar-gutter.scrollbar-width.shape-image-threshold.shape-margin.shape-outside.shape-rendering.speak.speak-as.src.stop-color.stop-opacity.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.tab-size.table-layout.text-align.text-align-all.text-align-last.text-anchor.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip.text-decoration-skip-ink.text-decoration-style.text-decoration-thickness.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-indent.text-justify.text-orientation.text-overflow.text-rendering.text-shadow.text-size-adjust.text-transform.text-underline-offset.text-underline-position.text-wrap.text-wrap-mode.text-wrap-style.timeline-scope.top.touch-action.transform.transform-box.transform-origin.transform-style.transition.transition-behavior.transition-delay.transition-duration.transition-property.transition-timing-function.translate.unicode-bidi.user-modify.user-select.vector-effect.vertical-align.view-timeline.view-timeline-axis.view-timeline-inset.view-timeline-name.view-transition-name.visibility.voice-balance.voice-duration.voice-family.voice-pitch.voice-range.voice-rate.voice-stress.voice-volume.white-space.white-space-collapse.widows.width.will-change.word-break.word-spacing.word-wrap.writing-mode.x.y.z-index.zoom`.split(`.`).sort().reverse(),EW=CW.concat(wW).sort().reverse();function DW(e){let t=vW(e),n=EW,r=`([\\w-]+|@\\{[\\w-]+\\})`,i=[],a=[],o=function(e){return{className:`string`,begin:`~?`+e+`.*?`+e}},s=function(e,t,n){return{className:e,begin:t,relevance:n}},c={$pattern:/[a-z-]+/,keyword:`and or not only`,attribute:SW.join(` `)},l={begin:`\\(`,end:`\\)`,contains:a,keywords:c,relevance:0};a.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,o(`'`),o(`"`),t.CSS_NUMBER_MODE,{begin:`(url|data-uri)\\(`,starts:{className:`string`,end:`[\\)\\n]`,excludeEnd:!0}},t.HEXCOLOR,l,s(`variable`,`@@?[\\w-]+`,10),s(`variable`,`@\\{[\\w-]+\\}`),s(`built_in`,"~?`[^`]*?`"),{className:`attribute`,begin:`[\\w-]+\\s*:`,end:`:`,returnBegin:!0,excludeEnd:!0},t.IMPORTANT,{beginKeywords:`and not`},t.FUNCTION_DISPATCH);let u=a.concat({begin:/\{/,end:/\}/,contains:i}),d={beginKeywords:`when`,endsWithParent:!0,contains:[{beginKeywords:`and not`}].concat(a)},f={begin:`([\\w-]+|@\\{[\\w-]+\\})\\s*:`,returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},t.CSS_VARIABLE,{className:`attribute`,begin:`\\b(`+TW.join(`|`)+`)\\b`,end:/(?=:)/,starts:{endsWithParent:!0,illegal:`[<=$]`,relevance:0,contains:a}}]},p={className:`keyword`,begin:`@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b`,starts:{end:`[;{}]`,keywords:c,returnEnd:!0,contains:a,relevance:0}},m={className:`variable`,variants:[{begin:`@[\\w-]+\\s*:`,relevance:15},{begin:`@[\\w-]+`}],starts:{end:`[;}]`,returnEnd:!0,contains:u}},h={variants:[{begin:`[\\.#:&\\[>]`,end:`[;{}]`},{begin:r,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,d,s(`keyword`,`all\\b`),s(`variable`,`@\\{[\\w-]+\\}`),{begin:`\\b(`+xW.join(`|`)+`)\\b`,className:`selector-tag`},t.CSS_NUMBER_MODE,s(`selector-tag`,r,0),s(`selector-id`,`#([\\w-]+|@\\{[\\w-]+\\})`),s(`selector-class`,`\\.([\\w-]+|@\\{[\\w-]+\\})`,0),s(`selector-tag`,`&`,0),t.ATTRIBUTE_SELECTOR_MODE,{className:`selector-pseudo`,begin:`:(`+CW.join(`|`)+`)`},{className:`selector-pseudo`,begin:`:(:)?(`+wW.join(`|`)+`)`},{begin:/\(/,end:/\)/,relevance:0,contains:u},{begin:`!important`},t.FUNCTION_DISPATCH]},g={begin:`[\\w-]+:(:)?(${n.join(`|`)})`,returnBegin:!0,contains:[h]};return i.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,p,m,g,f,h,d,t.FUNCTION_DISPATCH),{name:`Less`,case_insensitive:!0,illegal:`[=>'/<($"]`,contains:i}}function OW(e){let t=`\\[=*\\[`,n=`\\]=*\\]`,r={begin:t,end:n,contains:[`self`]},i=[e.COMMENT(`--(?!\\[=*\\[)`,`$`),e.COMMENT(`--\\[=*\\[`,n,{contains:[r],relevance:10})];return{name:`Lua`,aliases:[`pluto`],keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:`true false nil`,keyword:`and break do else elseif end for goto if in local not or repeat return then until while`,built_in:`_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove`},contains:i.concat([{className:`function`,beginKeywords:`function`,end:`\\)`,contains:[e.inherit(e.TITLE_MODE,{begin:`([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*`}),{className:`params`,begin:`\\(`,endsWithParent:!0,contains:i}].concat(i)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:`string`,begin:t,end:n,contains:[r],relevance:5}])}}function kW(e){let t={className:`variable`,variants:[{begin:`\\$\\(`+e.UNDERSCORE_IDENT_RE+`\\)`,contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},n={className:`string`,begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,t]},r={className:`variable`,begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:`subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value`},contains:[t,n]},i={begin:`^`+e.UNDERSCORE_IDENT_RE+`\\s*(?=[:+?]?=)`},a={className:`meta`,begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:`.PHONY`}},o={className:`section`,begin:/^[^\s]+:/,end:/$/,contains:[t]};return{name:`Makefile`,aliases:[`mk`,`mak`,`make`],keywords:{$pattern:/[\w-]+/,keyword:`define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath`},contains:[e.HASH_COMMENT_MODE,t,n,r,i,a,o]}}function AW(e){let t=e.regex,n={begin:/<\/?[A-Za-z_]/,end:`>`,subLanguage:`xml`,relevance:0},r={begin:`^[-\\*]{3,}`,end:`$`},i={className:`code`,variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:`(~{3,})[^~](.|\\n)*?\\1~*[ ]*`},{begin:"```",end:"```+[ ]*$"},{begin:`~~~`,end:`~~~+[ ]*$`},{begin:"`.+?`"},{begin:`(?=^( {4}|\\t))`,contains:[{begin:`^( {4}|\\t)`,end:`(\\n)$`}],relevance:0}]},a={className:`bullet`,begin:`^[ ]*([*+-]|(\\d+\\.))(?=\\s+)`,end:`\\s+`,excludeEnd:!0},o={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:`symbol`,begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:`link`,begin:/:\s*/,end:/$/,excludeBegin:!0}]},s={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:t.concat(/\[.+?\]\(/,/[A-Za-z][A-Za-z0-9+.-]*/,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:`string`,relevance:0,begin:`\\[`,end:`\\]`,excludeBegin:!0,returnEnd:!0},{className:`link`,relevance:0,begin:`\\]\\(`,end:`\\)`,excludeBegin:!0,excludeEnd:!0},{className:`symbol`,relevance:0,begin:`\\]\\[`,end:`\\]`,excludeBegin:!0,excludeEnd:!0}]},c={className:`strong`,contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},l={className:`emphasis`,contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},u=e.inherit(c,{contains:[]}),d=e.inherit(l,{contains:[]});c.contains.push(d),l.contains.push(u);let f=[n,s];return[c,l,u,d].forEach(e=>{e.contains=e.contains.concat(f)}),f=f.concat(c,l),{name:`Markdown`,aliases:[`md`,`mkdown`,`mkd`],contains:[{className:`section`,variants:[{begin:`^#{1,6}`,end:`$`,contains:f},{begin:`(?=^.+?\\n[=-]{2,}$)`,contains:[{begin:`^[=-]*$`},{begin:`^`,end:`\\n`,contains:f}]}]},n,a,c,l,{className:`quote`,begin:`^>\\s+`,contains:f,end:`$`},i,r,s,o,{scope:`literal`,match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}function jW(e){let t={className:`built_in`,begin:`\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+`},n=/[a-zA-Z@][a-zA-Z0-9_]*/,r={"variable.language":[`this`,`super`],$pattern:n,keyword:`while.export.sizeof.typedef.const.struct.for.union.volatile.static.mutable.if.do.return.goto.enum.else.break.extern.asm.case.default.register.explicit.typename.switch.continue.inline.readonly.assign.readwrite.self.@synchronized.id.typeof.nonatomic.IBOutlet.IBAction.strong.weak.copy.in.out.inout.bycopy.byref.oneway.__strong.__weak.__block.__autoreleasing.@private.@protected.@public.@try.@property.@end.@throw.@catch.@finally.@autoreleasepool.@synthesize.@dynamic.@selector.@optional.@required.@encode.@package.@import.@defs.@compatibility_alias.__bridge.__bridge_transfer.__bridge_retained.__bridge_retain.__covariant.__contravariant.__kindof._Nonnull._Nullable._Null_unspecified.__FUNCTION__.__PRETTY_FUNCTION__.__attribute__.getter.setter.retain.unsafe_unretained.nonnull.nullable.null_unspecified.null_resettable.class.instancetype.NS_DESIGNATED_INITIALIZER.NS_UNAVAILABLE.NS_REQUIRES_SUPER.NS_RETURNS_INNER_POINTER.NS_INLINE.NS_AVAILABLE.NS_DEPRECATED.NS_ENUM.NS_OPTIONS.NS_SWIFT_UNAVAILABLE.NS_ASSUME_NONNULL_BEGIN.NS_ASSUME_NONNULL_END.NS_REFINED_FOR_SWIFT.NS_SWIFT_NAME.NS_SWIFT_NOTHROW.NS_DURING.NS_HANDLER.NS_ENDHANDLER.NS_VALUERETURN.NS_VOIDRETURN`.split(`.`),literal:[`false`,`true`,`FALSE`,`TRUE`,`nil`,`YES`,`NO`,`NULL`],built_in:[`dispatch_once_t`,`dispatch_queue_t`,`dispatch_sync`,`dispatch_async`,`dispatch_once`],type:[`int`,`float`,`char`,`unsigned`,`signed`,`short`,`long`,`double`,`wchar_t`,`unichar`,`void`,`bool`,`BOOL`,`id|0`,`_Bool`]},i={$pattern:n,keyword:[`@interface`,`@class`,`@protocol`,`@implementation`]};return{name:`Objective-C`,aliases:[`mm`,`objc`,`obj-c`,`obj-c++`,`objective-c++`],keywords:r,illegal:`</`,contains:[t,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:`string`,variants:[{begin:`@"`,end:`"`,illegal:`\\n`,contains:[e.BACKSLASH_ESCAPE]}]},{className:`meta`,begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:`if else elif endif define undef warning error line pragma ifdef ifndef include`},contains:[{begin:/\\\n/,relevance:0},e.inherit(e.QUOTE_STRING_MODE,{className:`string`}),{className:`string`,begin:/<.*?>/,end:/$/,illegal:`\\n`},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:`class`,begin:`(`+i.keyword.join(`|`)+`)\\b`,end:/(\{|$)/,excludeEnd:!0,keywords:i,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:`\\.`+e.UNDERSCORE_IDENT_RE,relevance:0}]}}function MW(e){let t=e.regex,n=`abs.accept.alarm.and.atan2.bind.binmode.bless.break.caller.chdir.chmod.chomp.chop.chown.chr.chroot.class.close.closedir.connect.continue.cos.crypt.dbmclose.dbmopen.defined.delete.die.do.dump.each.else.elsif.endgrent.endhostent.endnetent.endprotoent.endpwent.endservent.eof.eval.exec.exists.exit.exp.fcntl.field.fileno.flock.for.foreach.fork.format.formline.getc.getgrent.getgrgid.getgrnam.gethostbyaddr.gethostbyname.gethostent.getlogin.getnetbyaddr.getnetbyname.getnetent.getpeername.getpgrp.getpriority.getprotobyname.getprotobynumber.getprotoent.getpwent.getpwnam.getpwuid.getservbyname.getservbyport.getservent.getsockname.getsockopt.given.glob.gmtime.goto.grep.gt.hex.if.index.int.ioctl.join.keys.kill.last.lc.lcfirst.length.link.listen.local.localtime.log.lstat.lt.ma.map.method.mkdir.msgctl.msgget.msgrcv.msgsnd.my.ne.next.no.not.oct.open.opendir.or.ord.our.pack.package.pipe.pop.pos.print.printf.prototype.push.q|0.qq.quotemeta.qw.qx.rand.read.readdir.readline.readlink.readpipe.recv.redo.ref.rename.require.reset.return.reverse.rewinddir.rindex.rmdir.say.scalar.seek.seekdir.select.semctl.semget.semop.send.setgrent.sethostent.setnetent.setpgrp.setpriority.setprotoent.setpwent.setservent.setsockopt.shift.shmctl.shmget.shmread.shmwrite.shutdown.sin.sleep.socket.socketpair.sort.splice.split.sprintf.sqrt.srand.stat.state.study.sub.substr.symlink.syscall.sysopen.sysread.sysseek.system.syswrite.tell.telldir.tie.tied.time.times.tr.truncate.uc.ucfirst.umask.undef.unless.unlink.unpack.unshift.untie.until.use.utime.values.vec.wait.waitpid.wantarray.warn.when.while.write.x|0.xor.y|0`.split(`.`),r=/[dualxmsipngr]{0,12}/,i={$pattern:/[\w.]+/,keyword:n.join(` `)},a={className:`subst`,begin:`[$@]\\{`,end:`\\}`,keywords:i},o={begin:/->\{/,end:/\}/},s={scope:`attr`,match:/\s+:\s*\w+(\s*\(.*?\))?/},c={scope:`variable`,variants:[{begin:/\$\d/},{begin:t.concat(/[$%@](?!")(\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,`(?![A-Za-z])(?![@$%])`)},{begin:/[$%@](?!")[^\s\w{=]|\$=/,relevance:0}],contains:[s]},l={className:`number`,variants:[{match:/0?\.[0-9][0-9_]+\b/},{match:/\bv?(0|[1-9][0-9_]*(\.[0-9_]+)?|[1-9][0-9_]*)\b/},{match:/\b0[0-7][0-7_]*\b/},{match:/\b0x[0-9a-fA-F][0-9a-fA-F_]*\b/},{match:/\b0b[0-1][0-1_]*\b/}],relevance:0},u=[e.BACKSLASH_ESCAPE,a,c],d=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],f=(e,n,i=`\\1`)=>{let a=i===`\\1`?i:t.concat(i,n);return t.concat(t.concat(`(?:`,e,`)`),n,/(?:\\.|[^\\\/])*?/,a,/(?:\\.|[^\\\/])*?/,i,r)},p=(e,n,i)=>t.concat(t.concat(`(?:`,e,`)`),n,/(?:\\.|[^\\\/])*?/,i,r),m=[c,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),o,{className:`string`,contains:u,variants:[{begin:`q[qwxr]?\\s*\\(`,end:`\\)`,relevance:5},{begin:`q[qwxr]?\\s*\\[`,end:`\\]`,relevance:5},{begin:`q[qwxr]?\\s*\\{`,end:`\\}`,relevance:5},{begin:`q[qwxr]?\\s*\\|`,end:`\\|`,relevance:5},{begin:`q[qwxr]?\\s*<`,end:`>`,relevance:5},{begin:`qw\\s+q`,end:`q`,relevance:5},{begin:`'`,end:`'`,contains:[e.BACKSLASH_ESCAPE]},{begin:`"`,end:`"`},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:`-?\\w+\\s*=>`,relevance:0}]},l,{begin:`(\\/\\/|`+e.RE_STARTERS_RE+`|\\b(split|return|print|reverse|grep)\\b)\\s*`,keywords:`split return print reverse grep`,relevance:0,contains:[e.HASH_COMMENT_MODE,{className:`regexp`,variants:[{begin:f(`s|tr|y`,t.either(...d,{capture:!0}))},{begin:f(`s|tr|y`,`\\(`,`\\)`)},{begin:f(`s|tr|y`,`\\[`,`\\]`)},{begin:f(`s|tr|y`,`\\{`,`\\}`)}],relevance:2},{className:`regexp`,variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:p(`(?:m|qr)?`,/\//,/\//)},{begin:p(`m|qr`,t.either(...d,{capture:!0}),/\1/)},{begin:p(`m|qr`,/\(/,/\)/)},{begin:p(`m|qr`,/\[/,/\]/)},{begin:p(`m|qr`,/\{/,/\}/)}]}]},{className:`function`,beginKeywords:`sub method`,end:`(\\s*\\(.*?\\))?[;{]`,excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,s]},{className:`class`,beginKeywords:`class`,end:`[;{]`,excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,s,l]},{begin:`-\\w\\b`,relevance:0},{begin:`^__DATA__$`,end:`^__END__$`,subLanguage:`mojolicious`,contains:[{begin:`^@@.*`,end:`$`,className:`comment`}]}];return a.contains=m,o.contains=m,{name:`Perl`,aliases:[`pl`,`pm`],keywords:i,contains:m}}function NW(e){let t=e.regex,n=/(?![A-Za-z0-9])(?![$])/,r=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,n),i=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,n),a=t.concat(/[A-Z]+/,n),o={scope:`variable`,match:`\\$+`+r},s={scope:`meta`,variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},c={scope:`subst`,variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},l=e.inherit(e.APOS_STRING_MODE,{illegal:null}),u=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(c)}),d={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(c),"on:begin":(e,t)=>{t.data._beginMatch=e[1]||e[2]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}},f=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),p=`[
|
|
19
|
+
]`,m={scope:`string`,variants:[u,l,d,f]},h={scope:`number`,variants:[{begin:`\\b0[bB][01]+(?:_[01]+)*\\b`},{begin:`\\b0[oO][0-7]+(?:_[0-7]+)*\\b`},{begin:`\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b`},{begin:`(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?`}],relevance:0},g=[`false`,`null`,`true`],_=`__CLASS__.__DIR__.__FILE__.__FUNCTION__.__COMPILER_HALT_OFFSET__.__LINE__.__METHOD__.__NAMESPACE__.__TRAIT__.die.echo.exit.include.include_once.print.require.require_once.array.abstract.and.as.binary.bool.boolean.break.callable.case.catch.class.clone.const.continue.declare.default.do.double.else.elseif.empty.enddeclare.endfor.endforeach.endif.endswitch.endwhile.enum.eval.extends.final.finally.float.for.foreach.from.global.goto.if.implements.instanceof.insteadof.int.integer.interface.isset.iterable.list.match|0.mixed.new.never.object.or.private.protected.public.readonly.real.return.string.switch.throw.trait.try.unset.use.var.void.while.xor.yield`.split(`.`),v=`Error|0.AppendIterator.ArgumentCountError.ArithmeticError.ArrayIterator.ArrayObject.AssertionError.BadFunctionCallException.BadMethodCallException.CachingIterator.CallbackFilterIterator.CompileError.Countable.DirectoryIterator.DivisionByZeroError.DomainException.EmptyIterator.ErrorException.Exception.FilesystemIterator.FilterIterator.GlobIterator.InfiniteIterator.InvalidArgumentException.IteratorIterator.LengthException.LimitIterator.LogicException.MultipleIterator.NoRewindIterator.OutOfBoundsException.OutOfRangeException.OuterIterator.OverflowException.ParentIterator.ParseError.RangeException.RecursiveArrayIterator.RecursiveCachingIterator.RecursiveCallbackFilterIterator.RecursiveDirectoryIterator.RecursiveFilterIterator.RecursiveIterator.RecursiveIteratorIterator.RecursiveRegexIterator.RecursiveTreeIterator.RegexIterator.RuntimeException.SeekableIterator.SplDoublyLinkedList.SplFileInfo.SplFileObject.SplFixedArray.SplHeap.SplMaxHeap.SplMinHeap.SplObjectStorage.SplObserver.SplPriorityQueue.SplQueue.SplStack.SplSubject.SplTempFileObject.TypeError.UnderflowException.UnexpectedValueException.UnhandledMatchError.ArrayAccess.BackedEnum.Closure.Fiber.Generator.Iterator.IteratorAggregate.Serializable.Stringable.Throwable.Traversable.UnitEnum.WeakReference.WeakMap.Directory.__PHP_Incomplete_Class.parent.php_user_filter.self.static.stdClass`.split(`.`),y={keyword:_,literal:(e=>{let t=[];return e.forEach(e=>{t.push(e),e.toLowerCase()===e?t.push(e.toUpperCase()):t.push(e.toLowerCase())}),t})(g),built_in:v},b=e=>e.map(e=>e.replace(/\|\d+$/,``)),ee={variants:[{match:[/new/,t.concat(p,`+`),t.concat(`(?!`,b(v).join(`\\b|`),`\\b)`),i],scope:{1:`keyword`,4:`title.class`}}]},te=t.concat(r,`\\b(?!\\()`),x={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),te],scope:{2:`variable.constant`}},{match:[/::/,/class/],scope:{2:`variable.language`}},{match:[i,t.concat(/::/,t.lookahead(/(?!class\b)/)),te],scope:{1:`title.class`,3:`variable.constant`}},{match:[i,t.concat(`::`,t.lookahead(/(?!class\b)/))],scope:{1:`title.class`}},{match:[i,/::/,/class/],scope:{1:`title.class`,3:`variable.language`}}]},S={scope:`attr`,match:t.concat(r,t.lookahead(`:`),t.lookahead(/(?!::)/))},ne={relevance:0,begin:/\(/,end:/\)/,keywords:y,contains:[S,o,x,e.C_BLOCK_COMMENT_MODE,m,h,ee]},re={relevance:0,match:[/\b/,t.concat(`(?!fn\\b|function\\b|`,b(_).join(`\\b|`),`|`,b(v).join(`\\b|`),`\\b)`),r,t.concat(p,`*`),t.lookahead(/(?=\()/)],scope:{3:`title.function.invoke`},contains:[ne]};ne.contains.push(re);let ie=[S,x,e.C_BLOCK_COMMENT_MODE,m,h,ee],ae={begin:t.concat(/#\[\s*\\?/,t.either(i,a)),beginScope:`meta`,end:/]/,endScope:`meta`,keywords:{literal:g,keyword:[`new`,`array`]},contains:[{begin:/\[/,end:/]/,keywords:{literal:g,keyword:[`new`,`array`]},contains:[`self`,...ie]},...ie,{scope:`meta`,variants:[{match:i},{match:a}]}]};return{case_insensitive:!1,keywords:y,contains:[ae,e.HASH_COMMENT_MODE,e.COMMENT(`//`,`$`),e.COMMENT(`/\\*`,`\\*/`,{contains:[{scope:`doctag`,match:`@[A-Za-z]+`}]}),{match:/__halt_compiler\(\);/,keywords:`__halt_compiler`,starts:{scope:`comment`,end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:`meta`,endsParent:!0}]}},s,{scope:`variable.language`,match:/\$this\b/},o,re,x,{match:[/const/,/\s/,r],scope:{1:`keyword`,3:`variable.constant`}},ee,{scope:`function`,relevance:0,beginKeywords:`fn function`,end:/[;{]/,excludeEnd:!0,illegal:`[$%\\[]`,contains:[{beginKeywords:`use`},e.UNDERSCORE_TITLE_MODE,{begin:`=>`,endsParent:!0},{scope:`params`,begin:`\\(`,end:`\\)`,excludeBegin:!0,excludeEnd:!0,keywords:y,contains:[`self`,ae,o,x,e.C_BLOCK_COMMENT_MODE,m,h]}]},{scope:`class`,variants:[{beginKeywords:`enum`,illegal:/[($"]/},{beginKeywords:`class interface trait`,illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:`extends implements`},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:`namespace`,relevance:0,end:`;`,illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:`title.class`})]},{beginKeywords:`use`,relevance:0,end:`;`,contains:[{match:/\b(as|const|function)\b/,scope:`keyword`},e.UNDERSCORE_TITLE_MODE]},m,h]}}function PW(e){return{name:`Plain text`,aliases:[`text`,`txt`],disableAutodetect:!0}}function FW(e){let t=e.regex,n=/[\p{XID_Start}_]\p{XID_Continue}*/u,r=`and.as.assert.async.await.break.case.class.continue.def.del.elif.else.except.finally.for.from.global.if.import.in.is.lambda.match.nonlocal|10.not.or.pass.raise.return.try.while.with.yield`.split(`.`),i={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:r,built_in:`__import__.abs.all.any.ascii.bin.bool.breakpoint.bytearray.bytes.callable.chr.classmethod.compile.complex.delattr.dict.dir.divmod.enumerate.eval.exec.filter.float.format.frozenset.getattr.globals.hasattr.hash.help.hex.id.input.int.isinstance.issubclass.iter.len.list.locals.map.max.memoryview.min.next.object.oct.open.ord.pow.print.property.range.repr.reversed.round.set.setattr.slice.sorted.staticmethod.str.sum.super.tuple.type.vars.zip`.split(`.`),literal:[`__debug__`,`Ellipsis`,`False`,`None`,`NotImplemented`,`True`],type:[`Any`,`Callable`,`Coroutine`,`Dict`,`List`,`Literal`,`Generic`,`Optional`,`Sequence`,`Set`,`Tuple`,`Type`,`Union`]},a={className:`meta`,begin:/^(>>>|\.\.\.) /},o={className:`subst`,begin:/\{/,end:/\}/,keywords:i,illegal:/#/},s={begin:/\{\{/,relevance:0},c={className:`string`,contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,a,s,o]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,a,s,o]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,s,o]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,o]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},l=`[0-9](_?[0-9])*`,u=`(\\b(${l}))?\\.(${l})|\\b(${l})\\.`,d=`\\b|${r.join(`|`)}`,f={className:`number`,relevance:0,variants:[{begin:`(\\b(${l})|(${u}))[eE][+-]?(${l})[jJ]?(?=${d})`},{begin:`(${u})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${d})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${d})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${d})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${d})`},{begin:`\\b(${l})[jJ](?=${d})`}]},p={className:`comment`,begin:t.lookahead(/# type:/),end:/$/,keywords:i,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},m={className:`params`,variants:[{className:``,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:[`self`,a,f,c,e.HASH_COMMENT_MODE]}]};return o.contains=[c,f,a],{name:`Python`,aliases:[`py`,`gyp`,`ipython`],unicodeRegex:!0,keywords:i,illegal:/(<\/|\?)|=>/,contains:[a,f,{scope:`variable.language`,match:/\bself\b/},{beginKeywords:`if`,relevance:0},{match:/\bor\b/,scope:`keyword`},c,p,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:`keyword`,3:`title.function`},contains:[m]},{variants:[{match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],scope:{1:`keyword`,3:`title.class`,6:`title.class.inherited`}},{className:`meta`,begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[f,m,c]}]}}function IW(e){let t=e.regex,n=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,r=t.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),i=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,a=t.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:`R`,keywords:{$pattern:n,keyword:`function if in break next repeat else for while`,literal:`NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10`,built_in:`LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm`},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:`doctag`,match:/@examples/,starts:{end:t.lookahead(t.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:`doctag`,begin:`@param`,end:/$/,contains:[{scope:`variable`,variants:[{match:n},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:`doctag`,match:/@[a-zA-Z]+/},{scope:`keyword`,match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:`string`,contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:`"`,end:`"`,relevance:0},{begin:`'`,end:`'`,relevance:0}]},{relevance:0,variants:[{scope:{1:`operator`,2:`number`},match:[i,r]},{scope:{1:`operator`,2:`number`},match:[/%[^%]*%/,r]},{scope:{1:`punctuation`,2:`number`},match:[a,r]},{scope:{2:`number`},match:[/[^a-zA-Z0-9._]|^/,r]}]},{scope:{3:`operator`},match:[n,/\s+/,/<-/,/\s+/]},{scope:`operator`,relevance:0,variants:[{match:i},{match:/%[^%]*%/}]},{scope:`punctuation`,relevance:0,match:a},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}function LW(e){let t=e.regex,n="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",r=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),i=t.concat(r,/(::\w+)*/),a={"variable.constant":[`__FILE__`,`__LINE__`,`__ENCODING__`],"variable.language":[`self`,`super`],keyword:`alias.and.begin.BEGIN.break.case.class.defined.do.else.elsif.end.END.ensure.for.if.in.module.next.not.or.redo.require.rescue.retry.return.then.undef.unless.until.when.while.yield.include.extend.prepend.public.private.protected.raise.throw`.split(`.`),built_in:[`proc`,`lambda`,`attr_accessor`,`attr_reader`,`attr_writer`,`define_method`,`private_constant`,`module_function`],literal:[`true`,`false`,`nil`]},o={className:`doctag`,begin:`@[A-Za-z]+`},s={begin:`#<`,end:`>`},c=[e.COMMENT(`#`,`$`,{contains:[o]}),e.COMMENT(`^=begin`,`^=end`,{contains:[o],relevance:10}),e.COMMENT(`^__END__`,e.MATCH_NOTHING_RE)],l={className:`subst`,begin:/#\{/,end:/\}/,keywords:a},u={className:`string`,contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,l]})]}]},d=`[0-9](_?[0-9])*`,f={className:`number`,relevance:0,variants:[{begin:`\\b([1-9](_?[0-9])*|0)(\\.(${d}))?([eE][+-]?(${d})|r)?i?\\b`},{begin:`\\b0[dD][0-9](_?[0-9])*r?i?\\b`},{begin:`\\b0[bB][0-1](_?[0-1])*r?i?\\b`},{begin:`\\b0[oO][0-7](_?[0-7])*r?i?\\b`},{begin:`\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b`},{begin:`\\b0(_?[0-7])+r?i?\\b`}]},p={variants:[{match:/\(\)/},{className:`params`,begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:a}]},m=[u,{variants:[{match:[/class\s+/,i,/\s+<\s+/,i]},{match:[/\b(class|module)\s+/,i]}],scope:{2:`title.class`,4:`title.class.inherited`},keywords:a},{match:[/(include|extend)\s+/,i],scope:{2:`title.class`},keywords:a},{relevance:0,match:[i,/\.new[. (]/],scope:{1:`title.class`}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:`variable.constant`},{relevance:0,match:r,scope:`title.class`},{match:[/def/,/\s+/,n],scope:{1:`keyword`,3:`title.function`},contains:[p]},{begin:e.IDENT_RE+`::`},{className:`symbol`,begin:e.UNDERSCORE_IDENT_RE+`(!|\\?)?:`,relevance:0},{className:`symbol`,begin:`:(?!\\s)`,contains:[u,{begin:n}],relevance:0},f,{className:`variable`,begin:`(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])`},{className:`params`,begin:/\|(?!=)/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:a},{begin:`(`+e.RE_STARTERS_RE+`|unless)\\s*`,keywords:`unless`,contains:[{className:`regexp`,contains:[e.BACKSLASH_ESCAPE,l],illegal:/\n/,variants:[{begin:`/`,end:`/[a-z]*`},{begin:/%r\{/,end:/\}[a-z]*/},{begin:`%r\\(`,end:`\\)[a-z]*`},{begin:`%r!`,end:`![a-z]*`},{begin:`%r\\[`,end:`\\][a-z]*`}]}].concat(s,c),relevance:0}].concat(s,c);l.contains=m,p.contains=m;let h=[{begin:/^\s*=>/,starts:{end:`$`,contains:m}},{className:`meta.prompt`,begin:`^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]|(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>)(?=[ ])`,starts:{end:`$`,keywords:a,contains:m}}];return c.unshift(s),{name:`Ruby`,aliases:[`rb`,`gemspec`,`podspec`,`thor`,`irb`],keywords:a,illegal:/\/\*/,contains:[e.SHEBANG({binary:`ruby`})].concat(h,c,m)}}function RW(e){let t=e.regex,n=/(r#)?/,r=t.concat(n,e.UNDERSCORE_IDENT_RE),i=t.concat(n,e.IDENT_RE),a={className:`title.function.invoke`,relevance:0,begin:t.concat(/\b/,/(?!let|for|while|if|else|match\b)/,i,t.lookahead(/\s*\(/))},o=`abstract.as.async.await.become.box.break.const.continue.crate.do.dyn.else.enum.extern.false.final.fn.for.if.impl.in.let.loop.macro.match.mod.move.mut.override.priv.pub.ref.return.self.Self.static.struct.super.trait.true.try.type.typeof.union.unsafe.unsized.use.virtual.where.while.yield`.split(`.`),s=[`true`,`false`,`Some`,`None`,`Ok`,`Err`],c=`drop .Copy.Send.Sized.Sync.Drop.Fn.FnMut.FnOnce.ToOwned.Clone.Debug.PartialEq.PartialOrd.Eq.Ord.AsRef.AsMut.Into.From.Default.Iterator.Extend.IntoIterator.DoubleEndedIterator.ExactSizeIterator.SliceConcatExt.ToString.assert!.assert_eq!.bitflags!.bytes!.cfg!.col!.concat!.concat_idents!.debug_assert!.debug_assert_eq!.env!.eprintln!.panic!.file!.format!.format_args!.include_bytes!.include_str!.line!.local_data_key!.module_path!.option_env!.print!.println!.select!.stringify!.try!.unimplemented!.unreachable!.vec!.write!.writeln!.macro_rules!.assert_ne!.debug_assert_ne!`.split(`.`),l=[`i8`,`i16`,`i32`,`i64`,`i128`,`isize`,`u8`,`u16`,`u32`,`u64`,`u128`,`usize`,`f32`,`f64`,`str`,`char`,`bool`,`Box`,`Option`,`Result`,`String`,`Vec`];return{name:`Rust`,aliases:[`rs`],keywords:{$pattern:e.IDENT_RE+`!?`,type:l,keyword:o,literal:s,built_in:c},illegal:`</`,contains:[e.C_LINE_COMMENT_MODE,e.COMMENT(`/\\*`,`\\*/`,{contains:[`self`]}),e.inherit(e.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:`symbol`,begin:/'[a-zA-Z_][a-zA-Z0-9_]*(?!')/},{scope:`string`,variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'/,end:/'/,contains:[{scope:`char.escape`,match:/\\('|\w|x\w{2}|u\w{4}|U\w{8})/}]}]},{className:`number`,variants:[{begin:`\\b0b([01_]+)([ui](8|16|32|64|128|size)|f(32|64))?`},{begin:`\\b0o([0-7_]+)([ui](8|16|32|64|128|size)|f(32|64))?`},{begin:`\\b0x([A-Fa-f0-9_]+)([ui](8|16|32|64|128|size)|f(32|64))?`},{begin:`\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)([ui](8|16|32|64|128|size)|f(32|64))?`}],relevance:0},{begin:[/fn/,/\s+/,r],className:{1:`keyword`,3:`title.function`}},{className:`meta`,begin:`#!?\\[`,end:`\\]`,contains:[{className:`string`,begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,r],className:{1:`keyword`,3:`keyword`,4:`variable`}},{begin:[/for/,/\s+/,r,/\s+/,/in/],className:{1:`keyword`,3:`variable`,5:`keyword`}},{begin:[/type/,/\s+/,r],className:{1:`keyword`,3:`title.class`}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,r],className:{1:`keyword`,3:`title.class`}},{begin:e.IDENT_RE+`::`,keywords:{keyword:`Self`,built_in:c,type:l}},{className:`punctuation`,begin:`->`},a]}}var zW=e=>({IMPORTANT:{scope:`meta`,begin:`!important`},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:`number`,begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:`built_in`,begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:`selector-attr`,begin:/\[/,end:/\]/,illegal:`$`,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:`number`,begin:e.NUMBER_RE+`(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?`,relevance:0},CSS_VARIABLE:{className:`attr`,begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),BW=`a.abbr.address.article.aside.audio.b.blockquote.body.button.canvas.caption.cite.code.dd.del.details.dfn.div.dl.dt.em.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.html.i.iframe.img.input.ins.kbd.label.legend.li.main.mark.menu.nav.object.ol.optgroup.option.p.picture.q.quote.samp.section.select.source.span.strong.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.tr.ul.var.video`.split(`.`),VW=`defs.g.marker.mask.pattern.svg.switch.symbol.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feFlood.feGaussianBlur.feImage.feMerge.feMorphology.feOffset.feSpecularLighting.feTile.feTurbulence.linearGradient.radialGradient.stop.circle.ellipse.image.line.path.polygon.polyline.rect.text.use.textPath.tspan.foreignObject.clipPath`.split(`.`),HW=[...BW,...VW],UW=`any-hover.any-pointer.aspect-ratio.color.color-gamut.color-index.device-aspect-ratio.device-height.device-width.display-mode.forced-colors.grid.height.hover.inverted-colors.monochrome.orientation.overflow-block.overflow-inline.pointer.prefers-color-scheme.prefers-contrast.prefers-reduced-motion.prefers-reduced-transparency.resolution.scan.scripting.update.width.min-width.max-width.min-height.max-height`.split(`.`).sort().reverse(),WW=`active.any-link.blank.checked.current.default.defined.dir.disabled.drop.empty.enabled.first.first-child.first-of-type.fullscreen.future.focus.focus-visible.focus-within.has.host.host-context.hover.indeterminate.in-range.invalid.is.lang.last-child.last-of-type.left.link.local-link.not.nth-child.nth-col.nth-last-child.nth-last-col.nth-last-of-type.nth-of-type.only-child.only-of-type.optional.out-of-range.past.placeholder-shown.read-only.read-write.required.right.root.scope.target.target-within.user-invalid.valid.visited.where`.split(`.`).sort().reverse(),GW=[`after`,`backdrop`,`before`,`cue`,`cue-region`,`first-letter`,`first-line`,`grammar-error`,`marker`,`part`,`placeholder`,`selection`,`slotted`,`spelling-error`].sort().reverse(),KW=`accent-color.align-content.align-items.align-self.alignment-baseline.all.anchor-name.animation.animation-composition.animation-delay.animation-direction.animation-duration.animation-fill-mode.animation-iteration-count.animation-name.animation-play-state.animation-range.animation-range-end.animation-range-start.animation-timeline.animation-timing-function.appearance.aspect-ratio.backdrop-filter.backface-visibility.background.background-attachment.background-blend-mode.background-clip.background-color.background-image.background-origin.background-position.background-position-x.background-position-y.background-repeat.background-size.baseline-shift.block-size.border.border-block.border-block-color.border-block-end.border-block-end-color.border-block-end-style.border-block-end-width.border-block-start.border-block-start-color.border-block-start-style.border-block-start-width.border-block-style.border-block-width.border-bottom.border-bottom-color.border-bottom-left-radius.border-bottom-right-radius.border-bottom-style.border-bottom-width.border-collapse.border-color.border-end-end-radius.border-end-start-radius.border-image.border-image-outset.border-image-repeat.border-image-slice.border-image-source.border-image-width.border-inline.border-inline-color.border-inline-end.border-inline-end-color.border-inline-end-style.border-inline-end-width.border-inline-start.border-inline-start-color.border-inline-start-style.border-inline-start-width.border-inline-style.border-inline-width.border-left.border-left-color.border-left-style.border-left-width.border-radius.border-right.border-right-color.border-right-style.border-right-width.border-spacing.border-start-end-radius.border-start-start-radius.border-style.border-top.border-top-color.border-top-left-radius.border-top-right-radius.border-top-style.border-top-width.border-width.bottom.box-align.box-decoration-break.box-direction.box-flex.box-flex-group.box-lines.box-ordinal-group.box-orient.box-pack.box-shadow.box-sizing.break-after.break-before.break-inside.caption-side.caret-color.clear.clip.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.color-scheme.column-count.column-fill.column-gap.column-rule.column-rule-color.column-rule-style.column-rule-width.column-span.column-width.columns.contain.contain-intrinsic-block-size.contain-intrinsic-height.contain-intrinsic-inline-size.contain-intrinsic-size.contain-intrinsic-width.container.container-name.container-type.content.content-visibility.counter-increment.counter-reset.counter-set.cue.cue-after.cue-before.cursor.cx.cy.direction.display.dominant-baseline.empty-cells.enable-background.field-sizing.fill.fill-opacity.fill-rule.filter.flex.flex-basis.flex-direction.flex-flow.flex-grow.flex-shrink.flex-wrap.float.flood-color.flood-opacity.flow.font.font-display.font-family.font-feature-settings.font-kerning.font-language-override.font-optical-sizing.font-palette.font-size.font-size-adjust.font-smooth.font-smoothing.font-stretch.font-style.font-synthesis.font-synthesis-position.font-synthesis-small-caps.font-synthesis-style.font-synthesis-weight.font-variant.font-variant-alternates.font-variant-caps.font-variant-east-asian.font-variant-emoji.font-variant-ligatures.font-variant-numeric.font-variant-position.font-variation-settings.font-weight.forced-color-adjust.gap.glyph-orientation-horizontal.glyph-orientation-vertical.grid.grid-area.grid-auto-columns.grid-auto-flow.grid-auto-rows.grid-column.grid-column-end.grid-column-start.grid-gap.grid-row.grid-row-end.grid-row-start.grid-template.grid-template-areas.grid-template-columns.grid-template-rows.hanging-punctuation.height.hyphenate-character.hyphenate-limit-chars.hyphens.icon.image-orientation.image-rendering.image-resolution.ime-mode.initial-letter.initial-letter-align.inline-size.inset.inset-area.inset-block.inset-block-end.inset-block-start.inset-inline.inset-inline-end.inset-inline-start.isolation.justify-content.justify-items.justify-self.kerning.left.letter-spacing.lighting-color.line-break.line-height.line-height-step.list-style.list-style-image.list-style-position.list-style-type.margin.margin-block.margin-block-end.margin-block-start.margin-bottom.margin-inline.margin-inline-end.margin-inline-start.margin-left.margin-right.margin-top.margin-trim.marker.marker-end.marker-mid.marker-start.marks.mask.mask-border.mask-border-mode.mask-border-outset.mask-border-repeat.mask-border-slice.mask-border-source.mask-border-width.mask-clip.mask-composite.mask-image.mask-mode.mask-origin.mask-position.mask-repeat.mask-size.mask-type.masonry-auto-flow.math-depth.math-shift.math-style.max-block-size.max-height.max-inline-size.max-width.min-block-size.min-height.min-inline-size.min-width.mix-blend-mode.nav-down.nav-index.nav-left.nav-right.nav-up.none.normal.object-fit.object-position.offset.offset-anchor.offset-distance.offset-path.offset-position.offset-rotate.opacity.order.orphans.outline.outline-color.outline-offset.outline-style.outline-width.overflow.overflow-anchor.overflow-block.overflow-clip-margin.overflow-inline.overflow-wrap.overflow-x.overflow-y.overlay.overscroll-behavior.overscroll-behavior-block.overscroll-behavior-inline.overscroll-behavior-x.overscroll-behavior-y.padding.padding-block.padding-block-end.padding-block-start.padding-bottom.padding-inline.padding-inline-end.padding-inline-start.padding-left.padding-right.padding-top.page.page-break-after.page-break-before.page-break-inside.paint-order.pause.pause-after.pause-before.perspective.perspective-origin.place-content.place-items.place-self.pointer-events.position.position-anchor.position-visibility.print-color-adjust.quotes.r.resize.rest.rest-after.rest-before.right.rotate.row-gap.ruby-align.ruby-position.scale.scroll-behavior.scroll-margin.scroll-margin-block.scroll-margin-block-end.scroll-margin-block-start.scroll-margin-bottom.scroll-margin-inline.scroll-margin-inline-end.scroll-margin-inline-start.scroll-margin-left.scroll-margin-right.scroll-margin-top.scroll-padding.scroll-padding-block.scroll-padding-block-end.scroll-padding-block-start.scroll-padding-bottom.scroll-padding-inline.scroll-padding-inline-end.scroll-padding-inline-start.scroll-padding-left.scroll-padding-right.scroll-padding-top.scroll-snap-align.scroll-snap-stop.scroll-snap-type.scroll-timeline.scroll-timeline-axis.scroll-timeline-name.scrollbar-color.scrollbar-gutter.scrollbar-width.shape-image-threshold.shape-margin.shape-outside.shape-rendering.speak.speak-as.src.stop-color.stop-opacity.stroke.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke-width.tab-size.table-layout.text-align.text-align-all.text-align-last.text-anchor.text-combine-upright.text-decoration.text-decoration-color.text-decoration-line.text-decoration-skip.text-decoration-skip-ink.text-decoration-style.text-decoration-thickness.text-emphasis.text-emphasis-color.text-emphasis-position.text-emphasis-style.text-indent.text-justify.text-orientation.text-overflow.text-rendering.text-shadow.text-size-adjust.text-transform.text-underline-offset.text-underline-position.text-wrap.text-wrap-mode.text-wrap-style.timeline-scope.top.touch-action.transform.transform-box.transform-origin.transform-style.transition.transition-behavior.transition-delay.transition-duration.transition-property.transition-timing-function.translate.unicode-bidi.user-modify.user-select.vector-effect.vertical-align.view-timeline.view-timeline-axis.view-timeline-inset.view-timeline-name.view-transition-name.visibility.voice-balance.voice-duration.voice-family.voice-pitch.voice-range.voice-rate.voice-stress.voice-volume.white-space.white-space-collapse.widows.width.will-change.word-break.word-spacing.word-wrap.writing-mode.x.y.z-index.zoom`.split(`.`).sort().reverse();function qW(e){let t=zW(e),n=GW,r=WW,i=`@[a-z-]+`,a={className:`variable`,begin:`(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b`,relevance:0};return{name:`SCSS`,case_insensitive:!0,illegal:`[=/|']`,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t.CSS_NUMBER_MODE,{className:`selector-id`,begin:`#[A-Za-z0-9_-]+`,relevance:0},{className:`selector-class`,begin:`\\.[A-Za-z0-9_-]+`,relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:`selector-tag`,begin:`\\b(`+HW.join(`|`)+`)\\b`,relevance:0},{className:`selector-pseudo`,begin:`:(`+r.join(`|`)+`)`},{className:`selector-pseudo`,begin:`:(:)?(`+n.join(`|`)+`)`},a,{begin:/\(/,end:/\)/,contains:[t.CSS_NUMBER_MODE]},t.CSS_VARIABLE,{className:`attribute`,begin:`\\b(`+KW.join(`|`)+`)\\b`},{begin:`\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b`},{begin:/:/,end:/[;}{]/,relevance:0,contains:[t.BLOCK_COMMENT,a,t.HEXCOLOR,t.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.IMPORTANT,t.FUNCTION_DISPATCH]},{begin:`@(page|font-face)`,keywords:{$pattern:i,keyword:`@page @font-face`}},{begin:`@`,end:`[{;]`,returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:`and or not only`,attribute:UW.join(` `)},contains:[{begin:i,className:`keyword`},{begin:/[a-z-]+(?=:)/,className:`attribute`},a,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.HEXCOLOR,t.CSS_NUMBER_MODE]},t.FUNCTION_DISPATCH]}}function JW(e){return{name:`Shell Session`,aliases:[`console`,`shellsession`],contains:[{className:`meta.prompt`,begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:`bash`}}]}}function YW(e){let t=e.regex,n=e.COMMENT(`--`,`$`),r={scope:`string`,variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},i={begin:/"/,end:/"/,contains:[{match:/""/}]},a=[`true`,`false`,`unknown`],o=[`double precision`,`large object`,`with timezone`,`without timezone`],s=`bigint.binary.blob.boolean.char.character.clob.date.dec.decfloat.decimal.float.int.integer.interval.nchar.nclob.national.numeric.real.row.smallint.time.timestamp.varchar.varying.varbinary`.split(`.`),c=[`add`,`asc`,`collation`,`desc`,`final`,`first`,`last`,`view`],l=`abs.acos.all.allocate.alter.and.any.are.array.array_agg.array_max_cardinality.as.asensitive.asin.asymmetric.at.atan.atomic.authorization.avg.begin.begin_frame.begin_partition.between.bigint.binary.blob.boolean.both.by.call.called.cardinality.cascaded.case.cast.ceil.ceiling.char.char_length.character.character_length.check.classifier.clob.close.coalesce.collate.collect.column.commit.condition.connect.constraint.contains.convert.copy.corr.corresponding.cos.cosh.count.covar_pop.covar_samp.create.cross.cube.cume_dist.current.current_catalog.current_date.current_default_transform_group.current_path.current_role.current_row.current_schema.current_time.current_timestamp.current_path.current_role.current_transform_group_for_type.current_user.cursor.cycle.date.day.deallocate.dec.decimal.decfloat.declare.default.define.delete.dense_rank.deref.describe.deterministic.disconnect.distinct.double.drop.dynamic.each.element.else.empty.end.end_frame.end_partition.end-exec.equals.escape.every.except.exec.execute.exists.exp.external.extract.false.fetch.filter.first_value.float.floor.for.foreign.frame_row.free.from.full.function.fusion.get.global.grant.group.grouping.groups.having.hold.hour.identity.in.indicator.initial.inner.inout.insensitive.insert.int.integer.intersect.intersection.interval.into.is.join.json_array.json_arrayagg.json_exists.json_object.json_objectagg.json_query.json_table.json_table_primitive.json_value.lag.language.large.last_value.lateral.lead.leading.left.like.like_regex.listagg.ln.local.localtime.localtimestamp.log.log10.lower.match.match_number.match_recognize.matches.max.member.merge.method.min.minute.mod.modifies.module.month.multiset.national.natural.nchar.nclob.new.no.none.normalize.not.nth_value.ntile.null.nullif.numeric.octet_length.occurrences_regex.of.offset.old.omit.on.one.only.open.or.order.out.outer.over.overlaps.overlay.parameter.partition.pattern.per.percent.percent_rank.percentile_cont.percentile_disc.period.portion.position.position_regex.power.precedes.precision.prepare.primary.procedure.ptf.range.rank.reads.real.recursive.ref.references.referencing.regr_avgx.regr_avgy.regr_count.regr_intercept.regr_r2.regr_slope.regr_sxx.regr_sxy.regr_syy.release.result.return.returns.revoke.right.rollback.rollup.row.row_number.rows.running.savepoint.scope.scroll.search.second.seek.select.sensitive.session_user.set.show.similar.sin.sinh.skip.smallint.some.specific.specifictype.sql.sqlexception.sqlstate.sqlwarning.sqrt.start.static.stddev_pop.stddev_samp.submultiset.subset.substring.substring_regex.succeeds.sum.symmetric.system.system_time.system_user.table.tablesample.tan.tanh.then.time.timestamp.timezone_hour.timezone_minute.to.trailing.translate.translate_regex.translation.treat.trigger.trim.trim_array.true.truncate.uescape.union.unique.unknown.unnest.update.upper.user.using.value.values.value_of.var_pop.var_samp.varbinary.varchar.varying.versioning.when.whenever.where.width_bucket.window.with.within.without.year`.split(`.`),u=`abs.acos.array_agg.asin.atan.avg.cast.ceil.ceiling.coalesce.corr.cos.cosh.count.covar_pop.covar_samp.cume_dist.dense_rank.deref.element.exp.extract.first_value.floor.json_array.json_arrayagg.json_exists.json_object.json_objectagg.json_query.json_table.json_table_primitive.json_value.lag.last_value.lead.listagg.ln.log.log10.lower.max.min.mod.nth_value.ntile.nullif.percent_rank.percentile_cont.percentile_disc.position.position_regex.power.rank.regr_avgx.regr_avgy.regr_count.regr_intercept.regr_r2.regr_slope.regr_sxx.regr_sxy.regr_syy.row_number.sin.sinh.sqrt.stddev_pop.stddev_samp.substring.substring_regex.sum.tan.tanh.translate.translate_regex.treat.trim.trim_array.unnest.upper.value_of.var_pop.var_samp.width_bucket`.split(`.`),d=[`current_catalog`,`current_date`,`current_default_transform_group`,`current_path`,`current_role`,`current_schema`,`current_transform_group_for_type`,`current_user`,`session_user`,`system_time`,`system_user`,`current_time`,`localtime`,`current_timestamp`,`localtimestamp`],f=[`create table`,`insert into`,`primary key`,`foreign key`,`not null`,`alter table`,`add constraint`,`grouping sets`,`on overflow`,`character set`,`respect nulls`,`ignore nulls`,`nulls first`,`nulls last`,`depth first`,`breadth first`],p=u,m=[...l,...c].filter(e=>!u.includes(e)),h={scope:`variable`,match:/@[a-z0-9][a-z0-9_]*/},g={scope:`operator`,match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},_={match:t.concat(/\b/,t.either(...p),/\s*\(/),relevance:0,keywords:{built_in:p}};function v(e){return t.concat(/\b/,t.either(...e.map(e=>e.replace(/\s+/,`\\s+`))),/\b/)}let y={scope:`keyword`,match:v(f),relevance:0};function b(e,{exceptions:t,when:n}={}){let r=n;return t||=[],e.map(e=>e.match(/\|\d+$/)||t.includes(e)?e:r(e)?`${e}|0`:e)}return{name:`SQL`,case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:b(m,{when:e=>e.length<3}),literal:a,type:s,built_in:d},contains:[{scope:`type`,match:v(o)},y,_,h,r,i,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,g]}}function XW(e){return e?typeof e==`string`?e:e.source:null}function ZW(e){return QW(`(?=`,e,`)`)}function QW(...e){return e.map(e=>XW(e)).join(``)}function $W(e){let t=e[e.length-1];return typeof t==`object`&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function eG(...e){return`(`+($W(e).capture?``:`?:`)+e.map(e=>XW(e)).join(`|`)+`)`}var tG=e=>QW(/\b/,e,/\w$/.test(e)?/\b/:/\B/),nG=[`Protocol`,`Type`].map(tG),rG=[`init`,`self`].map(tG),iG=[`Any`,`Self`],aG=[`actor`,`any`,`associatedtype`,`async`,`await`,/as\?/,/as!/,`as`,`borrowing`,`break`,`case`,`catch`,`class`,`consume`,`consuming`,`continue`,`convenience`,`copy`,`default`,`defer`,`deinit`,`didSet`,`distributed`,`do`,`dynamic`,`each`,`else`,`enum`,`extension`,`fallthrough`,/fileprivate\(set\)/,`fileprivate`,`final`,`for`,`func`,`get`,`guard`,`if`,`import`,`indirect`,`infix`,/init\?/,/init!/,`inout`,/internal\(set\)/,`internal`,`in`,`is`,`isolated`,`nonisolated`,`lazy`,`let`,`macro`,`mutating`,`nonmutating`,/open\(set\)/,`open`,`operator`,`optional`,`override`,`package`,`postfix`,`precedencegroup`,`prefix`,/private\(set\)/,`private`,`protocol`,/public\(set\)/,`public`,`repeat`,`required`,`rethrows`,`return`,`set`,`some`,`static`,`struct`,`subscript`,`super`,`switch`,`throws`,`throw`,/try\?/,/try!/,`try`,`typealias`,/unowned\(safe\)/,/unowned\(unsafe\)/,`unowned`,`var`,`weak`,`where`,`while`,`willSet`],oG=[`false`,`nil`,`true`],sG=[`assignment`,`associativity`,`higherThan`,`left`,`lowerThan`,`none`,`right`],cG=[`#colorLiteral`,`#column`,`#dsohandle`,`#else`,`#elseif`,`#endif`,`#error`,`#file`,`#fileID`,`#fileLiteral`,`#filePath`,`#function`,`#if`,`#imageLiteral`,`#keyPath`,`#line`,`#selector`,`#sourceLocation`,`#warning`],lG=`abs.all.any.assert.assertionFailure.debugPrint.dump.fatalError.getVaList.isKnownUniquelyReferenced.max.min.numericCast.pointwiseMax.pointwiseMin.precondition.preconditionFailure.print.readLine.repeatElement.sequence.stride.swap.swift_unboxFromSwiftValueWithType.transcode.type.unsafeBitCast.unsafeDowncast.withExtendedLifetime.withUnsafeMutablePointer.withUnsafePointer.withVaList.withoutActuallyEscaping.zip`.split(`.`),uG=eG(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),dG=eG(uG,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),fG=QW(uG,dG,`*`),pG=eG(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),mG=eG(pG,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),hG=QW(pG,mG,`*`),gG=QW(/[A-Z]/,mG,`*`),_G=[`attached`,`autoclosure`,QW(/convention\(/,eG(`swift`,`block`,`c`),/\)/),`discardableResult`,`dynamicCallable`,`dynamicMemberLookup`,`escaping`,`freestanding`,`frozen`,`GKInspectable`,`IBAction`,`IBDesignable`,`IBInspectable`,`IBOutlet`,`IBSegueAction`,`inlinable`,`main`,`nonobjc`,`NSApplicationMain`,`NSCopying`,`NSManaged`,QW(/objc\(/,hG,/\)/),`objc`,`objcMembers`,`propertyWrapper`,`requires_stored_property_inits`,`resultBuilder`,`Sendable`,`testable`,`UIApplicationMain`,`unchecked`,`unknown`,`usableFromInline`,`warn_unqualified_access`],vG=[`iOS`,`iOSApplicationExtension`,`macOS`,`macOSApplicationExtension`,`macCatalyst`,`macCatalystApplicationExtension`,`watchOS`,`watchOSApplicationExtension`,`tvOS`,`tvOSApplicationExtension`,`swift`];function yG(e){let t={match:/\s+/,relevance:0},n=e.COMMENT(`/\\*`,`\\*/`,{contains:[`self`]}),r=[e.C_LINE_COMMENT_MODE,n],i={match:[/\./,eG(...nG,...rG)],className:{2:`keyword`}},a={match:QW(/\./,eG(...aG)),relevance:0},o=aG.filter(e=>typeof e==`string`).concat([`_|0`]),s={variants:[{className:`keyword`,match:eG(...aG.filter(e=>typeof e!=`string`).concat(iG).map(tG),...rG)}]},c={$pattern:eG(/\b\w+/,/#\w+/),keyword:o.concat(cG),literal:oG},l=[i,a,s],u=[{match:QW(/\./,eG(...lG)),relevance:0},{className:`built_in`,match:QW(/\b/,eG(...lG),/(?=\()/)}],d={match:/->/,relevance:0},f=[d,{className:`operator`,relevance:0,variants:[{match:fG},{match:`\\.(\\.|${dG})+`}]}],p=`([0-9]_*)+`,m=`([0-9a-fA-F]_*)+`,h={className:`number`,relevance:0,variants:[{match:`\\b(${p})(\\.(${p}))?([eE][+-]?(${p}))?\\b`},{match:`\\b0x(${m})(\\.(${m}))?([pP][+-]?(${p}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},g=(e=``)=>({className:`subst`,variants:[{match:QW(/\\/,e,/[0\\tnr"']/)},{match:QW(/\\/,e,/u\{[0-9a-fA-F]{1,8}\}/)}]}),_=(e=``)=>({className:`subst`,match:QW(/\\/,e,/[\t ]*(?:[\r\n]|\r\n)/)}),v=(e=``)=>({className:`subst`,label:`interpol`,begin:QW(/\\/,e,/\(/),end:/\)/}),y=(e=``)=>({begin:QW(e,/"""/),end:QW(/"""/,e),contains:[g(e),_(e),v(e)]}),b=(e=``)=>({begin:QW(e,/"/),end:QW(/"/,e),contains:[g(e),v(e)]}),ee={className:`string`,variants:[y(),y(`#`),y(`##`),y(`###`),b(),b(`#`),b(`##`),b(`###`)]},te=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}],x={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:te},S=e=>{let t=QW(e,/\//),n=QW(/\//,e);return{begin:t,end:n,contains:[...te,{scope:`comment`,begin:`#(?!.*${n})`,end:/$/}]}},ne={scope:`regexp`,variants:[S(`###`),S(`##`),S(`#`),x]},re={match:QW(/`/,hG,/`/)},ie=[re,{className:`variable`,match:/\$\d+/},{className:`variable`,match:`\\$${mG}+`}],ae=[{match:/(@|#(un)?)available/,scope:`keyword`,starts:{contains:[{begin:/\(/,end:/\)/,keywords:vG,contains:[...f,h,ee]}]}},{scope:`keyword`,match:QW(/@/,eG(..._G),ZW(eG(/\(/,/\s+/)))},{scope:`meta`,match:QW(/@/,hG)}],oe={match:ZW(/\b[A-Z]/),relevance:0,contains:[{className:`type`,match:QW(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,mG,`+`)},{className:`type`,match:gG,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:QW(/\s+&\s+/,ZW(gG)),relevance:0}]},C={begin:/</,end:/>/,keywords:c,contains:[...r,...l,...ae,d,oe]};oe.contains.push(C);let se={begin:/\(/,end:/\)/,relevance:0,keywords:c,contains:[`self`,{match:QW(hG,/\s*:/),keywords:`_|0`,relevance:0},...r,ne,...l,...u,...f,h,ee,...ie,...ae,oe]},w={begin:/</,end:/>/,keywords:`repeat each`,contains:[...r,oe]},ce={begin:/\(/,end:/\)/,keywords:c,contains:[{begin:eG(ZW(QW(hG,/\s*:/)),ZW(QW(hG,/\s+/,hG,/\s*:/))),end:/:/,relevance:0,contains:[{className:`keyword`,match:/\b_\b/},{className:`params`,match:hG}]},...r,...l,...f,h,ee,...ae,oe,se],endsParent:!0,illegal:/["']/},le={match:[/(func|macro)/,/\s+/,eG(re.match,hG,fG)],className:{1:`keyword`,3:`title.function`},contains:[w,ce,t],illegal:[/\[/,/%/]},ue={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:`keyword`},contains:[w,ce,t],illegal:/\[|%/},T={match:[/operator/,/\s+/,fG],className:{1:`keyword`,3:`title`}},de={begin:[/precedencegroup/,/\s+/,gG],className:{1:`keyword`,3:`title`},contains:[oe],keywords:[...sG,...oG],end:/}/},E={match:[/class\b/,/\s+/,/func\b/,/\s+/,/\b[A-Za-z_][A-Za-z0-9_]*\b/],scope:{1:`keyword`,3:`keyword`,5:`title.function`}},fe={match:[/class\b/,/\s+/,/var\b/],scope:{1:`keyword`,3:`keyword`}},pe={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,hG,/\s*/],beginScope:{1:`keyword`,3:`title.class`},keywords:c,contains:[w,...l,{begin:/:/,end:/\{/,keywords:c,contains:[{scope:`title.class.inherited`,match:gG},...l],relevance:0}]};for(let e of ee.variants){let t=e.contains.find(e=>e.label===`interpol`);t.keywords=c;let n=[...l,...u,...f,h,ee,...ie];t.contains=[...n,{begin:/\(/,end:/\)/,contains:[`self`,...n]}]}return{name:`Swift`,keywords:c,contains:[...r,le,ue,E,fe,pe,T,de,{beginKeywords:`import`,end:/$/,contains:[...r],relevance:0},ne,...l,...u,...f,h,ee,...ie,...ae,oe,se]}}var bG=`[A-Za-z$_][0-9A-Za-z$_]*`,xG=`as.in.of.if.for.while.finally.var.new.function.do.return.void.else.break.catch.instanceof.with.throw.case.default.try.switch.continue.typeof.delete.let.yield.const.class.debugger.async.await.static.import.from.export.extends.using`.split(`.`),SG=[`true`,`false`,`null`,`undefined`,`NaN`,`Infinity`],CG=`Object.Function.Boolean.Symbol.Math.Date.Number.BigInt.String.RegExp.Array.Float32Array.Float64Array.Int8Array.Uint8Array.Uint8ClampedArray.Int16Array.Int32Array.Uint16Array.Uint32Array.BigInt64Array.BigUint64Array.Set.Map.WeakSet.WeakMap.ArrayBuffer.SharedArrayBuffer.Atomics.DataView.JSON.Promise.Generator.GeneratorFunction.AsyncFunction.Reflect.Proxy.Intl.WebAssembly`.split(`.`),wG=[`Error`,`EvalError`,`InternalError`,`RangeError`,`ReferenceError`,`SyntaxError`,`TypeError`,`URIError`],TG=[`setInterval`,`setTimeout`,`clearInterval`,`clearTimeout`,`require`,`exports`,`eval`,`isFinite`,`isNaN`,`parseFloat`,`parseInt`,`decodeURI`,`decodeURIComponent`,`encodeURI`,`encodeURIComponent`,`escape`,`unescape`],EG=[`arguments`,`this`,`super`,`console`,`window`,`document`,`localStorage`,`sessionStorage`,`module`,`global`],DG=[].concat(TG,CG,wG);function OG(e){let t=e.regex,n=(e,{after:t})=>{let n=`</`+e[0].slice(1);return e.input.indexOf(n,t)!==-1},r=bG,i={begin:`<>`,end:`</>`},a=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{let r=e[0].length+e.index,i=e.input[r];if(i===`<`||i===`,`){t.ignoreMatch();return}i===`>`&&(n(e,{after:r})||t.ignoreMatch());let a,o=e.input.substring(r);if(a=o.match(/^\s*=/)){t.ignoreMatch();return}if((a=o.match(/^\s+extends\s+/))&&a.index===0){t.ignoreMatch();return}}},s={$pattern:bG,keyword:xG,literal:SG,built_in:DG,"variable.language":EG},c=`[0-9](_?[0-9])*`,l=`\\.(${c})`,u=`0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*`,d={className:`number`,variants:[{begin:`(\\b(${u})((${l})|\\.)?|(${l}))[eE][+-]?(${c})\\b`},{begin:`\\b(${u})\\b((${l})\\b|\\.)?|(${l})\\b`},{begin:`\\b(0|[1-9](_?[0-9])*)n\\b`},{begin:`\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b`},{begin:`\\b0[bB][0-1](_?[0-1])*n?\\b`},{begin:`\\b0[oO][0-7](_?[0-7])*n?\\b`},{begin:`\\b0[0-7]+n?\\b`}],relevance:0},f={className:`subst`,begin:`\\$\\{`,end:`\\}`,keywords:s,contains:[]},p={begin:".?html`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`xml`}},m={begin:".?css`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`css`}},h={begin:".?gql`",end:``,starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:`graphql`}},g={className:`string`,begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,f]},_={className:`comment`,variants:[e.COMMENT(/\/\*\*(?!\/)/,`\\*/`,{relevance:0,contains:[{begin:`(?=@[A-Za-z]+)`,relevance:0,contains:[{className:`doctag`,begin:`@[A-Za-z]+`},{className:`type`,begin:`\\{`,end:`\\}`,excludeEnd:!0,excludeBegin:!0,relevance:0},{className:`variable`,begin:`[A-Za-z$_][0-9A-Za-z$_]*(?=\\s*(-)|$)`,endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},v=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,m,h,g,{match:/\$\d+/},d];f.contains=v.concat({begin:/\{/,end:/\}/,keywords:s,contains:[`self`].concat(v)});let y=[].concat(_,f.contains),b=y.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:[`self`].concat(y)}]),ee={className:`params`,begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b},te={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,`(`,t.concat(/\./,r),`)*`)],scope:{1:`keyword`,3:`title.class`,5:`keyword`,7:`title.class.inherited`}},{match:[/class/,/\s+/,r],scope:{1:`keyword`,3:`title.class`}}]},x={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:`title.class`,keywords:{_:[...CG,...wG]}},S={label:`use_strict`,className:`meta`,relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},ne={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:`keyword`,3:`title.function`},label:`func.def`,contains:[ee],illegal:/%/},re={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:`variable.constant`};function ie(e){return t.concat(`(?!`,e.join(`|`),`)`)}let ae={match:t.concat(/\b/,ie([...TG,`super`,`import`].map(e=>`${e}\\s*\\(`)),r,t.lookahead(/\s*\(/)),className:`title.function`,relevance:0},oe={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:`prototype`,className:`property`,relevance:0},C={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:`keyword`,3:`title.function`},contains:[{begin:/\(\)/},ee]},se=`(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|`+e.UNDERSCORE_IDENT_RE+`)\\s*=>`,w={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(se)],keywords:`async`,className:{1:`keyword`,3:`title.function`},contains:[ee]};return{name:`JavaScript`,aliases:[`js`,`jsx`,`mjs`,`cjs`],keywords:s,exports:{PARAMS_CONTAINS:b,CLASS_REFERENCE:x},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:`shebang`,binary:`node`,relevance:5}),S,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,m,h,g,_,{match:/\$\d+/},d,x,{scope:`attr`,match:r+t.lookahead(`:`),relevance:0},w,{begin:`(`+e.RE_STARTERS_RE+`|\\b(case|return|throw)\\b)\\s*`,keywords:`return throw case`,relevance:0,contains:[_,e.REGEXP_MODE,{className:`function`,begin:se,returnBegin:!0,end:`\\s*=>`,contains:[{className:`params`,variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:b}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:a},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:`xml`,contains:[{begin:o.begin,end:o.end,skip:!0,contains:[`self`]}]}]},ne,{beginKeywords:`while if switch catch for`},{begin:`\\b(?!function)`+e.UNDERSCORE_IDENT_RE+`\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{`,returnBegin:!0,label:`func.def`,contains:[ee,e.inherit(e.TITLE_MODE,{begin:r,className:`title.function`})]},{match:/\.\.\./,relevance:0},oe,{match:`\\$[A-Za-z$_][0-9A-Za-z$_]*`,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:`title.function`},contains:[ee]},ae,re,te,C,{match:/\$[(.]/}]}}function kG(e){let t=e.regex,n=OG(e),r=bG,i=[`any`,`void`,`number`,`boolean`,`string`,`object`,`never`,`symbol`,`bigint`,`unknown`],a={begin:[/namespace/,/\s+/,e.IDENT_RE],beginScope:{1:`keyword`,3:`title.class`}},o={beginKeywords:`interface`,end:/\{/,excludeEnd:!0,keywords:{keyword:`interface extends`,built_in:i},contains:[n.exports.CLASS_REFERENCE]},s={className:`meta`,relevance:10,begin:/^\s*['"]use strict['"]/},c={$pattern:bG,keyword:xG.concat([`type`,`interface`,`public`,`private`,`protected`,`implements`,`declare`,`abstract`,`readonly`,`enum`,`override`,`satisfies`]),literal:SG,built_in:DG.concat(i),"variable.language":EG},l={className:`meta`,begin:`@[A-Za-z$_][0-9A-Za-z$_]*`},u=(e,t,n)=>{let r=e.contains.findIndex(e=>e.label===t);if(r===-1)throw Error(`can not find mode to replace`);e.contains.splice(r,1,n)};Object.assign(n.keywords,c),n.exports.PARAMS_CONTAINS.push(l);let d=n.contains.find(e=>e.scope===`attr`),f=Object.assign({},d,{match:t.concat(r,t.lookahead(/\s*\?:/))});n.exports.PARAMS_CONTAINS.push([n.exports.CLASS_REFERENCE,d,f]),n.contains=n.contains.concat([l,a,o,f]),u(n,`shebang`,e.SHEBANG()),u(n,`use_strict`,s);let p=n.contains.find(e=>e.label===`func.def`);return p.relevance=0,Object.assign(n,{name:`TypeScript`,aliases:[`ts`,`tsx`,`mts`,`cts`]}),n}function AG(e){let t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r=/[\p{L}0-9._:-]+/u,i={className:`symbol`,begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},a={begin:/\s/,contains:[{className:`keyword`,begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},o=e.inherit(a,{begin:/\(/,end:/\)/}),s=e.inherit(e.APOS_STRING_MODE,{className:`string`}),c=e.inherit(e.QUOTE_STRING_MODE,{className:`string`}),l={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:`attr`,begin:r,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:`string`,endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[i]},{begin:/'/,end:/'/,contains:[i]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:`HTML, XML`,aliases:[`html`,`xhtml`,`rss`,`atom`,`xjb`,`xsd`,`xsl`,`plist`,`wsf`,`svg`],case_insensitive:!0,unicodeRegex:!0,contains:[{className:`meta`,begin:/<![a-z]/,end:/>/,relevance:10,contains:[a,c,s,o,{begin:/\[/,end:/\]/,contains:[{className:`meta`,begin:/<![a-z]/,end:/>/,contains:[a,o,c,s]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},i,{className:`meta`,end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[c]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:`tag`,begin:/<style(?=\s|>)/,end:/>/,keywords:{name:`style`},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:[`css`,`xml`]}},{className:`tag`,begin:/<script(?=\s|>)/,end:/>/,keywords:{name:`script`},contains:[l],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:[`javascript`,`handlebars`,`xml`]}},{className:`tag`,begin:/<>|<\/>/},{className:`tag`,begin:t.concat(/</,t.lookahead(t.concat(n,t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:`name`,begin:n,relevance:0,starts:l}]},{className:`tag`,begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:`name`,begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}function jG(e){let t=`true false yes no null`,n={className:`attr`,variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},r={className:`template-variable`,variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},i={className:`string`,relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:`char.escape`,relevance:0}]},a={className:`string`,relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,r]},o=e.inherit(a,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),s={className:`number`,begin:`\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b`},c={end:`,`,endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},l={begin:/\{/,end:/\}/,contains:[c],illegal:`\\n`,relevance:0},u={begin:`\\[`,end:`\\]`,contains:[c],illegal:`\\n`,relevance:0},d=[n,{className:`meta`,begin:`^---\\s*$`,relevance:10},{className:`string`,begin:`[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*`},{begin:`<%[%=-]?`,end:`[%-]?%>`,subLanguage:`ruby`,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:`type`,begin:`!\\w+![\\w#;/?:@&=+$,.~*'()[\\]]+`},{className:`type`,begin:`!<[\\w#;/?:@&=+$,.~*'()[\\]]+>`},{className:`type`,begin:`![\\w#;/?:@&=+$,.~*'()[\\]]+`},{className:`type`,begin:`!![\\w#;/?:@&=+$,.~*'()[\\]]+`},{className:`meta`,begin:`&`+e.UNDERSCORE_IDENT_RE+`$`},{className:`meta`,begin:`\\*`+e.UNDERSCORE_IDENT_RE+`$`},{className:`bullet`,begin:`-(?=[ ]|$)`,relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},s,{className:`number`,begin:e.C_NUMBER_RE+`\\b`,relevance:0},l,u,i,a],f=[...d];return f.pop(),f.push(o),c.contains=f,{name:`YAML`,case_insensitive:!0,aliases:[`yml`],contains:d}}var MG={bash:PU,c:FU,clojure:hU,cpp:IU,csharp:LU,css:KU,curl:e=>{let t={className:`string`,begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,{className:`variable`,begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]}],relevance:0},n={className:`literal`,begin:/(--request|-X)\s/,contains:[{className:`symbol`,begin:/(get|post|delete|options|head|put|patch|trace|connect)/,end:/\s/,returnEnd:!0}],returnEnd:!0,relevance:10},r={className:`literal`,begin:/--/,end:/[\s"]/,returnEnd:!0,relevance:0},i={className:`literal`,begin:/-\w/,end:/[\s"]/,returnEnd:!0,relevance:0},a={className:`string`,begin:/\\"/,relevance:0},o={className:`string`,begin:/'/,end:/'/,relevance:0},s={className:`number`,variants:[{begin:e.C_NUMBER_RE}],relevance:0};return{name:`curl`,aliases:[`curl`],keywords:`curl`,case_insensitive:!0,contains:[n,r,i,t,a,o,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,s,{match:/(\/[a-z._-]+)+/}]}},dart:gU,diff:qU,docker:_U,dockerfile:_U,elixir:vU,fsharp:TU,go:JU,graphql:YU,haskell:EU,html:AG,http:DU,ini:XU,java:nW,javascript:dW,json:fW,kotlin:_W,less:DW,lua:OW,makefile:kW,markdown:AW,matlab:OU,mojo:e=>{let t=FW(e),{regex:n}=e,r=/[\p{XID_Start}_]\p{XID_Continue}*/u,i=t.keywords,a=[`fn`,`struct`,`trait`,`var`,`let`,`alias`,`comptime`,`owned`,`borrowed`,`inout`,`ref`,`mut`,`read`,`out`,`raises`,`capturing`],o=`Int.UInt.Int8.Int16.Int32.Int64.UInt8.UInt16.UInt32.UInt64.Float16.Float32.Float64.Bool.String.StringLiteral.StringSlice.SIMD.DType.Scalar.List.Dict.Set.Tuple.Optional.Variant.Span.Pointer.UnsafePointer.Reference.Error`.split(`.`),s=(...e)=>Array.from(new Set(e.flat())),c={...i,keyword:s(i.keyword??[],a),type:s(i.type??[],o)},l=[...c.keyword??[],...i.built_in??[],...i.literal??[],...c.type??[]].map(e=>e.replace(/\|\d+$/,``)),u=n.concat(`(?!(?:`,l.join(`|`),`)\\b)`),d={scope:`title.function`,relevance:0,match:n.concat(/\b/,u,r,n.lookahead(/\(/))};return{...t,name:`Mojo`,aliases:[`mojo`,`🔥`],keywords:c,contains:[...t.contains??[],d]}},nginx:kU,objectivec:jW,ocaml:AU,perl:MW,php:NW,plaintext:PW,powershell:jU,properties:MU,python:e=>{let t=FW(e),{regex:n}=e,r=/[\p{XID_Start}_]\p{XID_Continue}*/u,i=t.keywords,a=[...i.keyword??[],...i.built_in??[],...i.literal??[],...i.type??[]].map(e=>e.replace(/\|\d+$/,``)),o=n.concat(`(?!(?:`,a.join(`|`),`)\\b)`),s={scope:`title.function`,relevance:0,match:n.concat(/\b/,o,r,n.lookahead(/\s*\(/))};return{...t,contains:[...t.contains??[],s]}},r:IW,ruby:LW,rust:RW,scala:NU,scss:qW,shell:JW,sql:YW,swift:yG,toml:XU,typescript:kG,xml:AG,yaml:jG},NG=class{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}};NG.prototype.normal={},NG.prototype.property={},NG.prototype.space=void 0;function PG(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new NG(n,r,t)}function FG(e){return e.toLowerCase()}var IG=class{constructor(e,t){this.attribute=t,this.property=e}};IG.prototype.attribute=``,IG.prototype.booleanish=!1,IG.prototype.boolean=!1,IG.prototype.commaOrSpaceSeparated=!1,IG.prototype.commaSeparated=!1,IG.prototype.defined=!1,IG.prototype.mustUseProperty=!1,IG.prototype.number=!1,IG.prototype.overloadedBoolean=!1,IG.prototype.property=``,IG.prototype.spaceSeparated=!1,IG.prototype.space=void 0;var LG=jH({boolean:()=>zG,booleanish:()=>BG,commaOrSpaceSeparated:()=>WG,commaSeparated:()=>UG,number:()=>W,overloadedBoolean:()=>VG,spaceSeparated:()=>HG}),RG=0,zG=GG(),BG=GG(),VG=GG(),W=GG(),HG=GG(),UG=GG(),WG=GG();function GG(){return 2**++RG}var KG=Object.keys(LG),qG=class extends IG{constructor(e,t,n,r){let i=-1;if(super(e,t),JG(this,`space`,r),typeof n==`number`)for(;++i<KG.length;){let e=KG[i];JG(this,KG[i],(n&LG[e])===LG[e])}}};qG.prototype.defined=!0;function JG(e,t,n){n&&(e[t]=n)}function YG(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let a=new qG(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),t[r]=a,n[FG(r)]=r,n[FG(a.attribute)]=r}return new NG(t,n,e.space)}var XG=YG({properties:{ariaActiveDescendant:null,ariaAtomic:BG,ariaAutoComplete:null,ariaBusy:BG,ariaChecked:BG,ariaColCount:W,ariaColIndex:W,ariaColSpan:W,ariaControls:HG,ariaCurrent:null,ariaDescribedBy:HG,ariaDetails:null,ariaDisabled:BG,ariaDropEffect:HG,ariaErrorMessage:null,ariaExpanded:BG,ariaFlowTo:HG,ariaGrabbed:BG,ariaHasPopup:null,ariaHidden:BG,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:HG,ariaLevel:W,ariaLive:null,ariaModal:BG,ariaMultiLine:BG,ariaMultiSelectable:BG,ariaOrientation:null,ariaOwns:HG,ariaPlaceholder:null,ariaPosInSet:W,ariaPressed:BG,ariaReadOnly:BG,ariaRelevant:null,ariaRequired:BG,ariaRoleDescription:HG,ariaRowCount:W,ariaRowIndex:W,ariaRowSpan:W,ariaSelected:BG,ariaSetSize:W,ariaSort:null,ariaValueMax:W,ariaValueMin:W,ariaValueNow:W,ariaValueText:null,role:null},transform(e,t){return t===`role`?t:`aria-`+t.slice(4).toLowerCase()}});function ZG(e,t){return t in e?e[t]:t}function QG(e,t){return ZG(e,t.toLowerCase())}var $G=YG({attributes:{acceptcharset:`accept-charset`,classname:`class`,htmlfor:`for`,httpequiv:`http-equiv`},mustUseProperty:[`checked`,`multiple`,`muted`,`selected`],properties:{abbr:null,accept:UG,acceptCharset:HG,accessKey:HG,action:null,allow:null,allowFullScreen:zG,allowPaymentRequest:zG,allowUserMedia:zG,alt:null,as:null,async:zG,autoCapitalize:null,autoComplete:HG,autoFocus:zG,autoPlay:zG,blocking:HG,capture:null,charSet:null,checked:zG,cite:null,className:HG,cols:W,colSpan:null,content:null,contentEditable:BG,controls:zG,controlsList:HG,coords:W|UG,crossOrigin:null,data:null,dateTime:null,decoding:null,default:zG,defer:zG,dir:null,dirName:null,disabled:zG,download:VG,draggable:BG,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:zG,formTarget:null,headers:HG,height:W,hidden:VG,high:W,href:null,hrefLang:null,htmlFor:HG,httpEquiv:HG,id:null,imageSizes:null,imageSrcSet:null,inert:zG,inputMode:null,integrity:null,is:null,isMap:zG,itemId:null,itemProp:HG,itemRef:HG,itemScope:zG,itemType:HG,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:zG,low:W,manifest:null,max:null,maxLength:W,media:null,method:null,min:null,minLength:W,multiple:zG,muted:zG,name:null,nonce:null,noModule:zG,noValidate:zG,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:zG,optimum:W,pattern:null,ping:HG,placeholder:null,playsInline:zG,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:zG,referrerPolicy:null,rel:HG,required:zG,reversed:zG,rows:W,rowSpan:W,sandbox:HG,scope:null,scoped:zG,seamless:zG,selected:zG,shadowRootClonable:zG,shadowRootDelegatesFocus:zG,shadowRootMode:null,shape:null,size:W,sizes:null,slot:null,span:W,spellCheck:BG,src:null,srcDoc:null,srcLang:null,srcSet:null,start:W,step:null,style:null,tabIndex:W,target:null,title:null,translate:null,type:null,typeMustMatch:zG,useMap:null,value:BG,width:W,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:HG,axis:null,background:null,bgColor:null,border:W,borderColor:null,bottomMargin:W,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:zG,declare:zG,event:null,face:null,frame:null,frameBorder:null,hSpace:W,leftMargin:W,link:null,longDesc:null,lowSrc:null,marginHeight:W,marginWidth:W,noResize:zG,noHref:zG,noShade:zG,noWrap:zG,object:null,profile:null,prompt:null,rev:null,rightMargin:W,rules:null,scheme:null,scrolling:BG,standby:null,summary:null,text:null,topMargin:W,valueType:null,version:null,vAlign:null,vLink:null,vSpace:W,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:zG,disableRemotePlayback:zG,prefix:null,property:null,results:W,security:null,unselectable:null},space:`html`,transform:QG}),eK=YG({attributes:{accentHeight:`accent-height`,alignmentBaseline:`alignment-baseline`,arabicForm:`arabic-form`,baselineShift:`baseline-shift`,capHeight:`cap-height`,className:`class`,clipPath:`clip-path`,clipRule:`clip-rule`,colorInterpolation:`color-interpolation`,colorInterpolationFilters:`color-interpolation-filters`,colorProfile:`color-profile`,colorRendering:`color-rendering`,crossOrigin:`crossorigin`,dataType:`datatype`,dominantBaseline:`dominant-baseline`,enableBackground:`enable-background`,fillOpacity:`fill-opacity`,fillRule:`fill-rule`,floodColor:`flood-color`,floodOpacity:`flood-opacity`,fontFamily:`font-family`,fontSize:`font-size`,fontSizeAdjust:`font-size-adjust`,fontStretch:`font-stretch`,fontStyle:`font-style`,fontVariant:`font-variant`,fontWeight:`font-weight`,glyphName:`glyph-name`,glyphOrientationHorizontal:`glyph-orientation-horizontal`,glyphOrientationVertical:`glyph-orientation-vertical`,hrefLang:`hreflang`,horizAdvX:`horiz-adv-x`,horizOriginX:`horiz-origin-x`,horizOriginY:`horiz-origin-y`,imageRendering:`image-rendering`,letterSpacing:`letter-spacing`,lightingColor:`lighting-color`,markerEnd:`marker-end`,markerMid:`marker-mid`,markerStart:`marker-start`,navDown:`nav-down`,navDownLeft:`nav-down-left`,navDownRight:`nav-down-right`,navLeft:`nav-left`,navNext:`nav-next`,navPrev:`nav-prev`,navRight:`nav-right`,navUp:`nav-up`,navUpLeft:`nav-up-left`,navUpRight:`nav-up-right`,onAbort:`onabort`,onActivate:`onactivate`,onAfterPrint:`onafterprint`,onBeforePrint:`onbeforeprint`,onBegin:`onbegin`,onCancel:`oncancel`,onCanPlay:`oncanplay`,onCanPlayThrough:`oncanplaythrough`,onChange:`onchange`,onClick:`onclick`,onClose:`onclose`,onCopy:`oncopy`,onCueChange:`oncuechange`,onCut:`oncut`,onDblClick:`ondblclick`,onDrag:`ondrag`,onDragEnd:`ondragend`,onDragEnter:`ondragenter`,onDragExit:`ondragexit`,onDragLeave:`ondragleave`,onDragOver:`ondragover`,onDragStart:`ondragstart`,onDrop:`ondrop`,onDurationChange:`ondurationchange`,onEmptied:`onemptied`,onEnd:`onend`,onEnded:`onended`,onError:`onerror`,onFocus:`onfocus`,onFocusIn:`onfocusin`,onFocusOut:`onfocusout`,onHashChange:`onhashchange`,onInput:`oninput`,onInvalid:`oninvalid`,onKeyDown:`onkeydown`,onKeyPress:`onkeypress`,onKeyUp:`onkeyup`,onLoad:`onload`,onLoadedData:`onloadeddata`,onLoadedMetadata:`onloadedmetadata`,onLoadStart:`onloadstart`,onMessage:`onmessage`,onMouseDown:`onmousedown`,onMouseEnter:`onmouseenter`,onMouseLeave:`onmouseleave`,onMouseMove:`onmousemove`,onMouseOut:`onmouseout`,onMouseOver:`onmouseover`,onMouseUp:`onmouseup`,onMouseWheel:`onmousewheel`,onOffline:`onoffline`,onOnline:`ononline`,onPageHide:`onpagehide`,onPageShow:`onpageshow`,onPaste:`onpaste`,onPause:`onpause`,onPlay:`onplay`,onPlaying:`onplaying`,onPopState:`onpopstate`,onProgress:`onprogress`,onRateChange:`onratechange`,onRepeat:`onrepeat`,onReset:`onreset`,onResize:`onresize`,onScroll:`onscroll`,onSeeked:`onseeked`,onSeeking:`onseeking`,onSelect:`onselect`,onShow:`onshow`,onStalled:`onstalled`,onStorage:`onstorage`,onSubmit:`onsubmit`,onSuspend:`onsuspend`,onTimeUpdate:`ontimeupdate`,onToggle:`ontoggle`,onUnload:`onunload`,onVolumeChange:`onvolumechange`,onWaiting:`onwaiting`,onZoom:`onzoom`,overlinePosition:`overline-position`,overlineThickness:`overline-thickness`,paintOrder:`paint-order`,panose1:`panose-1`,pointerEvents:`pointer-events`,referrerPolicy:`referrerpolicy`,renderingIntent:`rendering-intent`,shapeRendering:`shape-rendering`,stopColor:`stop-color`,stopOpacity:`stop-opacity`,strikethroughPosition:`strikethrough-position`,strikethroughThickness:`strikethrough-thickness`,strokeDashArray:`stroke-dasharray`,strokeDashOffset:`stroke-dashoffset`,strokeLineCap:`stroke-linecap`,strokeLineJoin:`stroke-linejoin`,strokeMiterLimit:`stroke-miterlimit`,strokeOpacity:`stroke-opacity`,strokeWidth:`stroke-width`,tabIndex:`tabindex`,textAnchor:`text-anchor`,textDecoration:`text-decoration`,textRendering:`text-rendering`,transformOrigin:`transform-origin`,typeOf:`typeof`,underlinePosition:`underline-position`,underlineThickness:`underline-thickness`,unicodeBidi:`unicode-bidi`,unicodeRange:`unicode-range`,unitsPerEm:`units-per-em`,vAlphabetic:`v-alphabetic`,vHanging:`v-hanging`,vIdeographic:`v-ideographic`,vMathematical:`v-mathematical`,vectorEffect:`vector-effect`,vertAdvY:`vert-adv-y`,vertOriginX:`vert-origin-x`,vertOriginY:`vert-origin-y`,wordSpacing:`word-spacing`,writingMode:`writing-mode`,xHeight:`x-height`,playbackOrder:`playbackorder`,timelineBegin:`timelinebegin`},properties:{about:WG,accentHeight:W,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:W,amplitude:W,arabicForm:null,ascent:W,attributeName:null,attributeType:null,azimuth:W,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:W,by:null,calcMode:null,capHeight:W,className:HG,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:W,diffuseConstant:W,direction:null,display:null,dur:null,divisor:W,dominantBaseline:null,download:zG,dx:null,dy:null,edgeMode:null,editable:null,elevation:W,enableBackground:null,end:null,event:null,exponent:W,externalResourcesRequired:null,fill:null,fillOpacity:W,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:UG,g2:UG,glyphName:UG,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:W,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:W,horizOriginX:W,horizOriginY:W,id:null,ideographic:W,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:W,k:W,k1:W,k2:W,k3:W,k4:W,kernelMatrix:WG,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:W,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:W,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:W,overlineThickness:W,paintOrder:null,panose1:null,path:null,pathLength:W,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:HG,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:W,pointsAtY:W,pointsAtZ:W,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:WG,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:WG,rev:WG,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:WG,requiredFeatures:WG,requiredFonts:WG,requiredFormats:WG,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:W,specularExponent:W,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:W,strikethroughThickness:W,string:null,stroke:null,strokeDashArray:WG,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:W,strokeOpacity:W,strokeWidth:null,style:null,surfaceScale:W,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:WG,tabIndex:W,tableValues:null,target:null,targetX:W,targetY:W,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:WG,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:W,underlineThickness:W,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:W,values:null,vAlphabetic:W,vMathematical:W,vectorEffect:null,vHanging:W,vIdeographic:W,version:null,vertAdvY:W,vertOriginX:W,vertOriginY:W,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:W,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:`svg`,transform:ZG}),tK=YG({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:`xlink`,transform(e,t){return`xlink:`+t.slice(5).toLowerCase()}}),nK=YG({attributes:{xmlnsxlink:`xmlns:xlink`},properties:{xmlnsXLink:null,xmlns:null},space:`xmlns`,transform:QG}),rK=YG({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:`xml`,transform(e,t){return`xml:`+t.slice(3).toLowerCase()}}),iK=/[A-Z]/g,aK=/-[a-z]/g,oK=/^data[-\w.:]+$/i;function sK(e,t){let n=FG(t),r=t,i=IG;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)===`data`&&oK.test(t)){if(t.charAt(4)===`-`){let e=t.slice(5).replace(aK,lK);r=`data`+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!aK.test(e)){let n=e.replace(iK,cK);n.charAt(0)!==`-`&&(n=`-`+n),t=`data`+n}}i=qG}return new i(r,t)}function cK(e){return`-`+e.toLowerCase()}function lK(e){return e.charAt(1).toUpperCase()}var uK=PG([XG,$G,tK,nK,rK],`html`),dK=PG([XG,eK,tK,nK,rK],`svg`);function fK(e){let t=[],n=String(e||``),r=n.indexOf(`,`),i=0,a=!1;for(;!a;){r===-1&&(r=n.length,a=!0);let e=n.slice(i,r).trim();(e||!a)&&t.push(e),i=r+1,r=n.indexOf(`,`,i)}return t}function pK(e,t){let n=t||{};return(e[e.length-1]===``?[...e,``]:e).join((n.padRight?` `:``)+`,`+(n.padLeft===!1?``:` `)).trim()}var mK=/[#.]/g;function hK(e,t){let n=e||``,r={},i=0,a,o;for(;i<n.length;){mK.lastIndex=i;let e=mK.exec(n),t=n.slice(i,e?e.index:n.length);t&&(a?a===`#`?r.id=t:Array.isArray(r.className)?r.className.push(t):r.className=[t]:o=t,i+=t.length),e&&(a=e[0],i++)}return{type:`element`,tagName:o||t||`div`,properties:r,children:[]}}function gK(e){let t=String(e||``).trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function _K(e){return e.join(` `).trim()}var vK=new Set([`button`,`menu`,`reset`,`submit`]),yK={}.hasOwnProperty;function bK(e,t,n){let r=n&&EK(n);function i(n,i,...a){let o=-1,s;if(n==null){s={type:`root`,children:[]};let e=i;a.unshift(e)}else if(s=hK(n,t),s.tagName=s.tagName.toLowerCase(),r&&yK.call(r,s.tagName)&&(s.tagName=r[s.tagName]),xK(i,s.tagName)){let t;for(t in i)yK.call(i,t)&&SK(e,s.properties,t,i[t])}else a.unshift(i);for(;++o<a.length;)CK(s.children,a[o]);return s.type===`element`&&s.tagName===`template`&&(s.content={type:`root`,children:s.children},s.children=[]),s}return i}function xK(e,t){return typeof e!=`object`||!e||Array.isArray(e)?!1:t===`input`||!e.type||typeof e.type!=`string`?!0:`children`in e&&Array.isArray(e.children)?!1:t===`button`?vK.has(e.type.toLowerCase()):!(`value`in e)}function SK(e,t,n,r){let i=sK(e,n),a=-1,o;if(r!=null){if(typeof r==`number`){if(Number.isNaN(r))return;o=r}else o=typeof r==`boolean`?r:typeof r==`string`?i.spaceSeparated?gK(r):i.commaSeparated?fK(r):i.commaOrSpaceSeparated?gK(fK(r).join(` `)):wK(i,i.property,r):Array.isArray(r)?r.concat():i.property===`style`?TK(r):String(r);if(Array.isArray(o)){let e=[];for(;++a<o.length;)e[a]=wK(i,i.property,o[a]);o=e}if(i.property===`className`&&Array.isArray(t.className)){let e=o;o=t.className.concat(e)}t[i.property]=o}}function CK(e,t){let n=-1;if(t!=null)if(typeof t==`string`||typeof t==`number`)e.push({type:`text`,value:String(t)});else if(Array.isArray(t))for(;++n<t.length;)CK(e,t[n]);else if(typeof t==`object`&&`type`in t)t.type===`root`?CK(e,t.children):e.push(t);else throw Error("Expected node, nodes, or string, got `"+t+"`")}function wK(e,t,n){if(typeof n==`string`){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===``||FG(n)===FG(t)))return!0}return n}function TK(e){let t=[],n;for(n in e)yK.call(e,n)&&t.push([n,e[n]].join(`: `));return t.join(`; `)}function EK(e){let t={},n=-1;for(;++n<e.length;)t[e[n].toLowerCase()]=e[n];return t}var DK=`altGlyph.altGlyphDef.altGlyphItem.animateColor.animateMotion.animateTransform.clipPath.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDistantLight.feDropShadow.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.foreignObject.glyphRef.linearGradient.radialGradient.solidColor.textArea.textPath`.split(`.`),OK=bK(uK,`div`),kK=bK(dK,`g`,DK),AK=/\r?\n|\r/g;function jK(e){let t=String(e),n=[];for(AK.lastIndex=0;AK.test(t);)n.push(AK.lastIndex);return n.push(t.length+1),{toPoint:r,toOffset:i};function r(e){let t=-1;if(typeof e==`number`&&e>-1&&e<n[n.length-1]){for(;++t<n.length;)if(n[t]>e)return{line:t+1,column:e-(t>0?n[t-1]:0)+1,offset:e}}}function i(e){let t=e&&e.line,r=e&&e.column;if(typeof t==`number`&&typeof r==`number`&&!Number.isNaN(t)&&!Number.isNaN(r)&&t-1 in n){let e=(n[t-2]||0)+r-1||0;if(e>-1&&e<n[n.length-1])return e}}}var MK={html:`http://www.w3.org/1999/xhtml`,mathml:`http://www.w3.org/1998/Math/MathML`,svg:`http://www.w3.org/2000/svg`,xlink:`http://www.w3.org/1999/xlink`,xml:`http://www.w3.org/XML/1998/namespace`,xmlns:`http://www.w3.org/2000/xmlns/`},NK={}.hasOwnProperty,PK=Object.prototype;function FK(e,t){let n=t||{};return IK({file:n.file||void 0,location:!1,schema:n.space===`svg`?dK:uK,verbose:n.verbose||!1},e)}function IK(e,t){let n;switch(t.nodeName){case`#comment`:{let r=t;return n={type:`comment`,value:r.data},zK(e,r,n),n}case`#document`:case`#document-fragment`:{let r=t,i=`mode`in r?r.mode===`quirks`||r.mode===`limited-quirks`:!1;if(n={type:`root`,children:LK(e,t.childNodes),data:{quirksMode:i}},e.file&&e.location){let t=String(e.file),r=jK(t),i=r.toPoint(0),a=r.toPoint(t.length);n.position={start:i,end:a}}return n}case`#documentType`:{let r=t;return n={type:`doctype`},zK(e,r,n),n}case`#text`:{let r=t;return n={type:`text`,value:r.value},zK(e,r,n),n}default:return n=RK(e,t),n}}function LK(e,t){let n=-1,r=[];for(;++n<t.length;){let i=IK(e,t[n]);r.push(i)}return r}function RK(e,t){let n=e.schema;e.schema=t.namespaceURI===MK.svg?dK:uK;let r=-1,i={};for(;++r<t.attrs.length;){let e=t.attrs[r],n=(e.prefix?e.prefix+`:`:``)+e.name;NK.call(PK,n)||(i[n]=e.value)}let a=(e.schema.space===`svg`?kK:OK)(t.tagName,i,LK(e,t.childNodes));if(zK(e,t,a),a.tagName===`template`){let n=t,r=n.sourceCodeLocation,i=r&&r.startTag&&VK(r.startTag),o=r&&r.endTag&&VK(r.endTag),s=IK(e,n.content);i&&o&&e.file&&(s.position={start:i.end,end:o.start}),a.content=s}return e.schema=n,a}function zK(e,t,n){if(`sourceCodeLocation`in t&&t.sourceCodeLocation&&e.file){let r=BK(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function BK(e,t,n){let r=VK(n);if(t.type===`element`){let i=t.children[t.children.length-1];if(r&&!n.endTag&&i&&i.position&&i.position.end&&(r.end=Object.assign({},i.position.end)),e.verbose){let r={},i;if(n.attrs)for(i in n.attrs)NK.call(n.attrs,i)&&(r[sK(e.schema,i).property]=VK(n.attrs[i]));n.startTag;let a=VK(n.startTag),o=n.endTag?VK(n.endTag):void 0,s={opening:a};o&&(s.closing=o),s.properties=r,t.data={position:s}}}return r}function VK(e){let t=HK({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=HK({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function HK(e){return e.line&&e.column?e:void 0}var UK=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),G;(function(e){e[e.EOF=-1]=`EOF`,e[e.NULL=0]=`NULL`,e[e.TABULATION=9]=`TABULATION`,e[e.CARRIAGE_RETURN=13]=`CARRIAGE_RETURN`,e[e.LINE_FEED=10]=`LINE_FEED`,e[e.FORM_FEED=12]=`FORM_FEED`,e[e.SPACE=32]=`SPACE`,e[e.EXCLAMATION_MARK=33]=`EXCLAMATION_MARK`,e[e.QUOTATION_MARK=34]=`QUOTATION_MARK`,e[e.AMPERSAND=38]=`AMPERSAND`,e[e.APOSTROPHE=39]=`APOSTROPHE`,e[e.HYPHEN_MINUS=45]=`HYPHEN_MINUS`,e[e.SOLIDUS=47]=`SOLIDUS`,e[e.DIGIT_0=48]=`DIGIT_0`,e[e.DIGIT_9=57]=`DIGIT_9`,e[e.SEMICOLON=59]=`SEMICOLON`,e[e.LESS_THAN_SIGN=60]=`LESS_THAN_SIGN`,e[e.EQUALS_SIGN=61]=`EQUALS_SIGN`,e[e.GREATER_THAN_SIGN=62]=`GREATER_THAN_SIGN`,e[e.QUESTION_MARK=63]=`QUESTION_MARK`,e[e.LATIN_CAPITAL_A=65]=`LATIN_CAPITAL_A`,e[e.LATIN_CAPITAL_Z=90]=`LATIN_CAPITAL_Z`,e[e.RIGHT_SQUARE_BRACKET=93]=`RIGHT_SQUARE_BRACKET`,e[e.GRAVE_ACCENT=96]=`GRAVE_ACCENT`,e[e.LATIN_SMALL_A=97]=`LATIN_SMALL_A`,e[e.LATIN_SMALL_Z=122]=`LATIN_SMALL_Z`})(G||={});var WK={DASH_DASH:`--`,CDATA_START:`[CDATA[`,DOCTYPE:`doctype`,SCRIPT:`script`,PUBLIC:`public`,SYSTEM:`system`};function GK(e){return e>=55296&&e<=57343}function KK(e){return e>=56320&&e<=57343}function qK(e,t){return(e-55296)*1024+9216+t}function JK(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function YK(e){return e>=64976&&e<=65007||UK.has(e)}var K;(function(e){e.controlCharacterInInputStream=`control-character-in-input-stream`,e.noncharacterInInputStream=`noncharacter-in-input-stream`,e.surrogateInInputStream=`surrogate-in-input-stream`,e.nonVoidHtmlElementStartTagWithTrailingSolidus=`non-void-html-element-start-tag-with-trailing-solidus`,e.endTagWithAttributes=`end-tag-with-attributes`,e.endTagWithTrailingSolidus=`end-tag-with-trailing-solidus`,e.unexpectedSolidusInTag=`unexpected-solidus-in-tag`,e.unexpectedNullCharacter=`unexpected-null-character`,e.unexpectedQuestionMarkInsteadOfTagName=`unexpected-question-mark-instead-of-tag-name`,e.invalidFirstCharacterOfTagName=`invalid-first-character-of-tag-name`,e.unexpectedEqualsSignBeforeAttributeName=`unexpected-equals-sign-before-attribute-name`,e.missingEndTagName=`missing-end-tag-name`,e.unexpectedCharacterInAttributeName=`unexpected-character-in-attribute-name`,e.unknownNamedCharacterReference=`unknown-named-character-reference`,e.missingSemicolonAfterCharacterReference=`missing-semicolon-after-character-reference`,e.unexpectedCharacterAfterDoctypeSystemIdentifier=`unexpected-character-after-doctype-system-identifier`,e.unexpectedCharacterInUnquotedAttributeValue=`unexpected-character-in-unquoted-attribute-value`,e.eofBeforeTagName=`eof-before-tag-name`,e.eofInTag=`eof-in-tag`,e.missingAttributeValue=`missing-attribute-value`,e.missingWhitespaceBetweenAttributes=`missing-whitespace-between-attributes`,e.missingWhitespaceAfterDoctypePublicKeyword=`missing-whitespace-after-doctype-public-keyword`,e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers=`missing-whitespace-between-doctype-public-and-system-identifiers`,e.missingWhitespaceAfterDoctypeSystemKeyword=`missing-whitespace-after-doctype-system-keyword`,e.missingQuoteBeforeDoctypePublicIdentifier=`missing-quote-before-doctype-public-identifier`,e.missingQuoteBeforeDoctypeSystemIdentifier=`missing-quote-before-doctype-system-identifier`,e.missingDoctypePublicIdentifier=`missing-doctype-public-identifier`,e.missingDoctypeSystemIdentifier=`missing-doctype-system-identifier`,e.abruptDoctypePublicIdentifier=`abrupt-doctype-public-identifier`,e.abruptDoctypeSystemIdentifier=`abrupt-doctype-system-identifier`,e.cdataInHtmlContent=`cdata-in-html-content`,e.incorrectlyOpenedComment=`incorrectly-opened-comment`,e.eofInScriptHtmlCommentLikeText=`eof-in-script-html-comment-like-text`,e.eofInDoctype=`eof-in-doctype`,e.nestedComment=`nested-comment`,e.abruptClosingOfEmptyComment=`abrupt-closing-of-empty-comment`,e.eofInComment=`eof-in-comment`,e.incorrectlyClosedComment=`incorrectly-closed-comment`,e.eofInCdata=`eof-in-cdata`,e.absenceOfDigitsInNumericCharacterReference=`absence-of-digits-in-numeric-character-reference`,e.nullCharacterReference=`null-character-reference`,e.surrogateCharacterReference=`surrogate-character-reference`,e.characterReferenceOutsideUnicodeRange=`character-reference-outside-unicode-range`,e.controlCharacterReference=`control-character-reference`,e.noncharacterCharacterReference=`noncharacter-character-reference`,e.missingWhitespaceBeforeDoctypeName=`missing-whitespace-before-doctype-name`,e.missingDoctypeName=`missing-doctype-name`,e.invalidCharacterSequenceAfterDoctypeName=`invalid-character-sequence-after-doctype-name`,e.duplicateAttribute=`duplicate-attribute`,e.nonConformingDoctype=`non-conforming-doctype`,e.missingDoctype=`missing-doctype`,e.misplacedDoctype=`misplaced-doctype`,e.endTagWithoutMatchingOpenElement=`end-tag-without-matching-open-element`,e.closingOfElementWithOpenChildElements=`closing-of-element-with-open-child-elements`,e.disallowedContentInNoscriptInHead=`disallowed-content-in-noscript-in-head`,e.openElementsLeftAfterEof=`open-elements-left-after-eof`,e.abandonedHeadElementChild=`abandoned-head-element-child`,e.misplacedStartTagForHeadElement=`misplaced-start-tag-for-head-element`,e.nestedNoscriptInHead=`nested-noscript-in-head`,e.eofInElementThatCanContainOnlyText=`eof-in-element-that-can-contain-only-text`})(K||={});var XK=65536,ZK=class{constructor(e){this.handler=e,this.html=``,this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=XK,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e,t){let{line:n,col:r,offset:i}=this,a=r+t,o=i+t;return{code:e,startLine:n,endLine:n,startCol:a,endCol:a,startOffset:o,endOffset:o}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(KK(t))return this.pos++,this._addGap(),qK(e,t)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,G.EOF;return this._err(K.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t<e.length;t++)if((this.html.charCodeAt(this.pos+t)|32)!==e.charCodeAt(t))return!1;return!0}peek(e){let t=this.pos+e;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,G.EOF;let n=this.html.charCodeAt(t);return n===G.CARRIAGE_RETURN?G.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,G.EOF;let e=this.html.charCodeAt(this.pos);return e===G.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,G.LINE_FEED):e===G.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,GK(e)&&(e=this._processSurrogate(e)),this.handler.onParseError===null||e>31&&e<127||e===G.LINE_FEED||e===G.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){JK(e)?this._err(K.controlCharacterInInputStream):YK(e)&&this._err(K.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}},QK;(function(e){e[e.CHARACTER=0]=`CHARACTER`,e[e.NULL_CHARACTER=1]=`NULL_CHARACTER`,e[e.WHITESPACE_CHARACTER=2]=`WHITESPACE_CHARACTER`,e[e.START_TAG=3]=`START_TAG`,e[e.END_TAG=4]=`END_TAG`,e[e.COMMENT=5]=`COMMENT`,e[e.DOCTYPE=6]=`DOCTYPE`,e[e.EOF=7]=`EOF`,e[e.HIBERNATION=8]=`HIBERNATION`})(QK||={});function $K(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}var eq=new Uint16Array(`ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻\xA0ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌`.split(``).map(e=>e.charCodeAt(0))),tq=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);String.fromCodePoint;function nq(e){return e>=55296&&e<=57343||e>1114111?65533:tq.get(e)??e}var rq;(function(e){e[e.NUM=35]=`NUM`,e[e.SEMI=59]=`SEMI`,e[e.EQUALS=61]=`EQUALS`,e[e.ZERO=48]=`ZERO`,e[e.NINE=57]=`NINE`,e[e.LOWER_A=97]=`LOWER_A`,e[e.LOWER_F=102]=`LOWER_F`,e[e.LOWER_X=120]=`LOWER_X`,e[e.LOWER_Z=122]=`LOWER_Z`,e[e.UPPER_A=65]=`UPPER_A`,e[e.UPPER_F=70]=`UPPER_F`,e[e.UPPER_Z=90]=`UPPER_Z`})(rq||={});var iq=32,aq;(function(e){e[e.VALUE_LENGTH=49152]=`VALUE_LENGTH`,e[e.BRANCH_LENGTH=16256]=`BRANCH_LENGTH`,e[e.JUMP_TABLE=127]=`JUMP_TABLE`})(aq||={});function oq(e){return e>=rq.ZERO&&e<=rq.NINE}function sq(e){return e>=rq.UPPER_A&&e<=rq.UPPER_F||e>=rq.LOWER_A&&e<=rq.LOWER_F}function cq(e){return e>=rq.UPPER_A&&e<=rq.UPPER_Z||e>=rq.LOWER_A&&e<=rq.LOWER_Z||oq(e)}function lq(e){return e===rq.EQUALS||cq(e)}var uq;(function(e){e[e.EntityStart=0]=`EntityStart`,e[e.NumericStart=1]=`NumericStart`,e[e.NumericDecimal=2]=`NumericDecimal`,e[e.NumericHex=3]=`NumericHex`,e[e.NamedEntity=4]=`NamedEntity`})(uq||={});var dq;(function(e){e[e.Legacy=0]=`Legacy`,e[e.Strict=1]=`Strict`,e[e.Attribute=2]=`Attribute`})(dq||={});var fq=class{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=uq.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=dq.Strict}startEntity(e){this.decodeMode=e,this.state=uq.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case uq.EntityStart:return e.charCodeAt(t)===rq.NUM?(this.state=uq.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=uq.NamedEntity,this.stateNamedEntity(e,t));case uq.NumericStart:return this.stateNumericStart(e,t);case uq.NumericDecimal:return this.stateNumericDecimal(e,t);case uq.NumericHex:return this.stateNumericHex(e,t);case uq.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(e.charCodeAt(t)|iq)===rq.LOWER_X?(this.state=uq.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=uq.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){let i=n-t;this.result=this.result*r**+i+Number.parseInt(e.substr(t,i),r),this.consumed+=i}}stateNumericHex(e,t){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(oq(r)||sq(r))t+=1;else return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(r,3)}return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(oq(r))t+=1;else return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2)}return this.addToNumericResult(e,n,t,10),-1}emitNumericEntity(e,t){var n;if(this.consumed<=t)return(n=this.errors)==null||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===rq.SEMI)this.consumed+=1;else if(this.decodeMode===dq.Strict)return 0;return this.emitCodePoint(nq(this.result),this.consumed),this.errors&&(e!==rq.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,r=n[this.treeIndex],i=(r&aq.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){let a=e.charCodeAt(t);if(this.treeIndex=pq(n,r,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return this.result===0||this.decodeMode===dq.Attribute&&(i===0||lq(a))?0:this.emitNotTerminatedNamedEntity();if(r=n[this.treeIndex],i=(r&aq.VALUE_LENGTH)>>14,i!==0){if(a===rq.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==dq.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:n}=this,r=(n[t]&aq.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),(e=this.errors)==null||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(t===1?r[e]&~aq.VALUE_LENGTH:r[e+1],n),t===3&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case uq.NamedEntity:return this.result!==0&&(this.decodeMode!==dq.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case uq.NumericDecimal:return this.emitNumericEntity(0,2);case uq.NumericHex:return this.emitNumericEntity(0,3);case uq.NumericStart:return(e=this.errors)==null||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case uq.EntityStart:return 0}}};function pq(e,t,n,r){let i=(t&aq.BRANCH_LENGTH)>>7,a=t&aq.JUMP_TABLE;if(i===0)return a!==0&&r===a?n:-1;if(a){let t=r-a;return t<0||t>=i?-1:e[n+t]-1}let o=n,s=o+i-1;for(;o<=s;){let t=o+s>>>1,n=e[t];if(n<r)o=t+1;else if(n>r)s=t-1;else return e[t+i]}return-1}var q;(function(e){e.HTML=`http://www.w3.org/1999/xhtml`,e.MATHML=`http://www.w3.org/1998/Math/MathML`,e.SVG=`http://www.w3.org/2000/svg`,e.XLINK=`http://www.w3.org/1999/xlink`,e.XML=`http://www.w3.org/XML/1998/namespace`,e.XMLNS=`http://www.w3.org/2000/xmlns/`})(q||={});var mq;(function(e){e.TYPE=`type`,e.ACTION=`action`,e.ENCODING=`encoding`,e.PROMPT=`prompt`,e.NAME=`name`,e.COLOR=`color`,e.FACE=`face`,e.SIZE=`size`})(mq||={});var hq;(function(e){e.NO_QUIRKS=`no-quirks`,e.QUIRKS=`quirks`,e.LIMITED_QUIRKS=`limited-quirks`})(hq||={});var J;(function(e){e.A=`a`,e.ADDRESS=`address`,e.ANNOTATION_XML=`annotation-xml`,e.APPLET=`applet`,e.AREA=`area`,e.ARTICLE=`article`,e.ASIDE=`aside`,e.B=`b`,e.BASE=`base`,e.BASEFONT=`basefont`,e.BGSOUND=`bgsound`,e.BIG=`big`,e.BLOCKQUOTE=`blockquote`,e.BODY=`body`,e.BR=`br`,e.BUTTON=`button`,e.CAPTION=`caption`,e.CENTER=`center`,e.CODE=`code`,e.COL=`col`,e.COLGROUP=`colgroup`,e.DD=`dd`,e.DESC=`desc`,e.DETAILS=`details`,e.DIALOG=`dialog`,e.DIR=`dir`,e.DIV=`div`,e.DL=`dl`,e.DT=`dt`,e.EM=`em`,e.EMBED=`embed`,e.FIELDSET=`fieldset`,e.FIGCAPTION=`figcaption`,e.FIGURE=`figure`,e.FONT=`font`,e.FOOTER=`footer`,e.FOREIGN_OBJECT=`foreignObject`,e.FORM=`form`,e.FRAME=`frame`,e.FRAMESET=`frameset`,e.H1=`h1`,e.H2=`h2`,e.H3=`h3`,e.H4=`h4`,e.H5=`h5`,e.H6=`h6`,e.HEAD=`head`,e.HEADER=`header`,e.HGROUP=`hgroup`,e.HR=`hr`,e.HTML=`html`,e.I=`i`,e.IMG=`img`,e.IMAGE=`image`,e.INPUT=`input`,e.IFRAME=`iframe`,e.KEYGEN=`keygen`,e.LABEL=`label`,e.LI=`li`,e.LINK=`link`,e.LISTING=`listing`,e.MAIN=`main`,e.MALIGNMARK=`malignmark`,e.MARQUEE=`marquee`,e.MATH=`math`,e.MENU=`menu`,e.META=`meta`,e.MGLYPH=`mglyph`,e.MI=`mi`,e.MO=`mo`,e.MN=`mn`,e.MS=`ms`,e.MTEXT=`mtext`,e.NAV=`nav`,e.NOBR=`nobr`,e.NOFRAMES=`noframes`,e.NOEMBED=`noembed`,e.NOSCRIPT=`noscript`,e.OBJECT=`object`,e.OL=`ol`,e.OPTGROUP=`optgroup`,e.OPTION=`option`,e.P=`p`,e.PARAM=`param`,e.PLAINTEXT=`plaintext`,e.PRE=`pre`,e.RB=`rb`,e.RP=`rp`,e.RT=`rt`,e.RTC=`rtc`,e.RUBY=`ruby`,e.S=`s`,e.SCRIPT=`script`,e.SEARCH=`search`,e.SECTION=`section`,e.SELECT=`select`,e.SOURCE=`source`,e.SMALL=`small`,e.SPAN=`span`,e.STRIKE=`strike`,e.STRONG=`strong`,e.STYLE=`style`,e.SUB=`sub`,e.SUMMARY=`summary`,e.SUP=`sup`,e.TABLE=`table`,e.TBODY=`tbody`,e.TEMPLATE=`template`,e.TEXTAREA=`textarea`,e.TFOOT=`tfoot`,e.TD=`td`,e.TH=`th`,e.THEAD=`thead`,e.TITLE=`title`,e.TR=`tr`,e.TRACK=`track`,e.TT=`tt`,e.U=`u`,e.UL=`ul`,e.SVG=`svg`,e.VAR=`var`,e.WBR=`wbr`,e.XMP=`xmp`})(J||={});var Y;(function(e){e[e.UNKNOWN=0]=`UNKNOWN`,e[e.A=1]=`A`,e[e.ADDRESS=2]=`ADDRESS`,e[e.ANNOTATION_XML=3]=`ANNOTATION_XML`,e[e.APPLET=4]=`APPLET`,e[e.AREA=5]=`AREA`,e[e.ARTICLE=6]=`ARTICLE`,e[e.ASIDE=7]=`ASIDE`,e[e.B=8]=`B`,e[e.BASE=9]=`BASE`,e[e.BASEFONT=10]=`BASEFONT`,e[e.BGSOUND=11]=`BGSOUND`,e[e.BIG=12]=`BIG`,e[e.BLOCKQUOTE=13]=`BLOCKQUOTE`,e[e.BODY=14]=`BODY`,e[e.BR=15]=`BR`,e[e.BUTTON=16]=`BUTTON`,e[e.CAPTION=17]=`CAPTION`,e[e.CENTER=18]=`CENTER`,e[e.CODE=19]=`CODE`,e[e.COL=20]=`COL`,e[e.COLGROUP=21]=`COLGROUP`,e[e.DD=22]=`DD`,e[e.DESC=23]=`DESC`,e[e.DETAILS=24]=`DETAILS`,e[e.DIALOG=25]=`DIALOG`,e[e.DIR=26]=`DIR`,e[e.DIV=27]=`DIV`,e[e.DL=28]=`DL`,e[e.DT=29]=`DT`,e[e.EM=30]=`EM`,e[e.EMBED=31]=`EMBED`,e[e.FIELDSET=32]=`FIELDSET`,e[e.FIGCAPTION=33]=`FIGCAPTION`,e[e.FIGURE=34]=`FIGURE`,e[e.FONT=35]=`FONT`,e[e.FOOTER=36]=`FOOTER`,e[e.FOREIGN_OBJECT=37]=`FOREIGN_OBJECT`,e[e.FORM=38]=`FORM`,e[e.FRAME=39]=`FRAME`,e[e.FRAMESET=40]=`FRAMESET`,e[e.H1=41]=`H1`,e[e.H2=42]=`H2`,e[e.H3=43]=`H3`,e[e.H4=44]=`H4`,e[e.H5=45]=`H5`,e[e.H6=46]=`H6`,e[e.HEAD=47]=`HEAD`,e[e.HEADER=48]=`HEADER`,e[e.HGROUP=49]=`HGROUP`,e[e.HR=50]=`HR`,e[e.HTML=51]=`HTML`,e[e.I=52]=`I`,e[e.IMG=53]=`IMG`,e[e.IMAGE=54]=`IMAGE`,e[e.INPUT=55]=`INPUT`,e[e.IFRAME=56]=`IFRAME`,e[e.KEYGEN=57]=`KEYGEN`,e[e.LABEL=58]=`LABEL`,e[e.LI=59]=`LI`,e[e.LINK=60]=`LINK`,e[e.LISTING=61]=`LISTING`,e[e.MAIN=62]=`MAIN`,e[e.MALIGNMARK=63]=`MALIGNMARK`,e[e.MARQUEE=64]=`MARQUEE`,e[e.MATH=65]=`MATH`,e[e.MENU=66]=`MENU`,e[e.META=67]=`META`,e[e.MGLYPH=68]=`MGLYPH`,e[e.MI=69]=`MI`,e[e.MO=70]=`MO`,e[e.MN=71]=`MN`,e[e.MS=72]=`MS`,e[e.MTEXT=73]=`MTEXT`,e[e.NAV=74]=`NAV`,e[e.NOBR=75]=`NOBR`,e[e.NOFRAMES=76]=`NOFRAMES`,e[e.NOEMBED=77]=`NOEMBED`,e[e.NOSCRIPT=78]=`NOSCRIPT`,e[e.OBJECT=79]=`OBJECT`,e[e.OL=80]=`OL`,e[e.OPTGROUP=81]=`OPTGROUP`,e[e.OPTION=82]=`OPTION`,e[e.P=83]=`P`,e[e.PARAM=84]=`PARAM`,e[e.PLAINTEXT=85]=`PLAINTEXT`,e[e.PRE=86]=`PRE`,e[e.RB=87]=`RB`,e[e.RP=88]=`RP`,e[e.RT=89]=`RT`,e[e.RTC=90]=`RTC`,e[e.RUBY=91]=`RUBY`,e[e.S=92]=`S`,e[e.SCRIPT=93]=`SCRIPT`,e[e.SEARCH=94]=`SEARCH`,e[e.SECTION=95]=`SECTION`,e[e.SELECT=96]=`SELECT`,e[e.SOURCE=97]=`SOURCE`,e[e.SMALL=98]=`SMALL`,e[e.SPAN=99]=`SPAN`,e[e.STRIKE=100]=`STRIKE`,e[e.STRONG=101]=`STRONG`,e[e.STYLE=102]=`STYLE`,e[e.SUB=103]=`SUB`,e[e.SUMMARY=104]=`SUMMARY`,e[e.SUP=105]=`SUP`,e[e.TABLE=106]=`TABLE`,e[e.TBODY=107]=`TBODY`,e[e.TEMPLATE=108]=`TEMPLATE`,e[e.TEXTAREA=109]=`TEXTAREA`,e[e.TFOOT=110]=`TFOOT`,e[e.TD=111]=`TD`,e[e.TH=112]=`TH`,e[e.THEAD=113]=`THEAD`,e[e.TITLE=114]=`TITLE`,e[e.TR=115]=`TR`,e[e.TRACK=116]=`TRACK`,e[e.TT=117]=`TT`,e[e.U=118]=`U`,e[e.UL=119]=`UL`,e[e.SVG=120]=`SVG`,e[e.VAR=121]=`VAR`,e[e.WBR=122]=`WBR`,e[e.XMP=123]=`XMP`})(Y||={});var gq=new Map([[J.A,Y.A],[J.ADDRESS,Y.ADDRESS],[J.ANNOTATION_XML,Y.ANNOTATION_XML],[J.APPLET,Y.APPLET],[J.AREA,Y.AREA],[J.ARTICLE,Y.ARTICLE],[J.ASIDE,Y.ASIDE],[J.B,Y.B],[J.BASE,Y.BASE],[J.BASEFONT,Y.BASEFONT],[J.BGSOUND,Y.BGSOUND],[J.BIG,Y.BIG],[J.BLOCKQUOTE,Y.BLOCKQUOTE],[J.BODY,Y.BODY],[J.BR,Y.BR],[J.BUTTON,Y.BUTTON],[J.CAPTION,Y.CAPTION],[J.CENTER,Y.CENTER],[J.CODE,Y.CODE],[J.COL,Y.COL],[J.COLGROUP,Y.COLGROUP],[J.DD,Y.DD],[J.DESC,Y.DESC],[J.DETAILS,Y.DETAILS],[J.DIALOG,Y.DIALOG],[J.DIR,Y.DIR],[J.DIV,Y.DIV],[J.DL,Y.DL],[J.DT,Y.DT],[J.EM,Y.EM],[J.EMBED,Y.EMBED],[J.FIELDSET,Y.FIELDSET],[J.FIGCAPTION,Y.FIGCAPTION],[J.FIGURE,Y.FIGURE],[J.FONT,Y.FONT],[J.FOOTER,Y.FOOTER],[J.FOREIGN_OBJECT,Y.FOREIGN_OBJECT],[J.FORM,Y.FORM],[J.FRAME,Y.FRAME],[J.FRAMESET,Y.FRAMESET],[J.H1,Y.H1],[J.H2,Y.H2],[J.H3,Y.H3],[J.H4,Y.H4],[J.H5,Y.H5],[J.H6,Y.H6],[J.HEAD,Y.HEAD],[J.HEADER,Y.HEADER],[J.HGROUP,Y.HGROUP],[J.HR,Y.HR],[J.HTML,Y.HTML],[J.I,Y.I],[J.IMG,Y.IMG],[J.IMAGE,Y.IMAGE],[J.INPUT,Y.INPUT],[J.IFRAME,Y.IFRAME],[J.KEYGEN,Y.KEYGEN],[J.LABEL,Y.LABEL],[J.LI,Y.LI],[J.LINK,Y.LINK],[J.LISTING,Y.LISTING],[J.MAIN,Y.MAIN],[J.MALIGNMARK,Y.MALIGNMARK],[J.MARQUEE,Y.MARQUEE],[J.MATH,Y.MATH],[J.MENU,Y.MENU],[J.META,Y.META],[J.MGLYPH,Y.MGLYPH],[J.MI,Y.MI],[J.MO,Y.MO],[J.MN,Y.MN],[J.MS,Y.MS],[J.MTEXT,Y.MTEXT],[J.NAV,Y.NAV],[J.NOBR,Y.NOBR],[J.NOFRAMES,Y.NOFRAMES],[J.NOEMBED,Y.NOEMBED],[J.NOSCRIPT,Y.NOSCRIPT],[J.OBJECT,Y.OBJECT],[J.OL,Y.OL],[J.OPTGROUP,Y.OPTGROUP],[J.OPTION,Y.OPTION],[J.P,Y.P],[J.PARAM,Y.PARAM],[J.PLAINTEXT,Y.PLAINTEXT],[J.PRE,Y.PRE],[J.RB,Y.RB],[J.RP,Y.RP],[J.RT,Y.RT],[J.RTC,Y.RTC],[J.RUBY,Y.RUBY],[J.S,Y.S],[J.SCRIPT,Y.SCRIPT],[J.SEARCH,Y.SEARCH],[J.SECTION,Y.SECTION],[J.SELECT,Y.SELECT],[J.SOURCE,Y.SOURCE],[J.SMALL,Y.SMALL],[J.SPAN,Y.SPAN],[J.STRIKE,Y.STRIKE],[J.STRONG,Y.STRONG],[J.STYLE,Y.STYLE],[J.SUB,Y.SUB],[J.SUMMARY,Y.SUMMARY],[J.SUP,Y.SUP],[J.TABLE,Y.TABLE],[J.TBODY,Y.TBODY],[J.TEMPLATE,Y.TEMPLATE],[J.TEXTAREA,Y.TEXTAREA],[J.TFOOT,Y.TFOOT],[J.TD,Y.TD],[J.TH,Y.TH],[J.THEAD,Y.THEAD],[J.TITLE,Y.TITLE],[J.TR,Y.TR],[J.TRACK,Y.TRACK],[J.TT,Y.TT],[J.U,Y.U],[J.UL,Y.UL],[J.SVG,Y.SVG],[J.VAR,Y.VAR],[J.WBR,Y.WBR],[J.XMP,Y.XMP]]);function _q(e){return gq.get(e)??Y.UNKNOWN}var X=Y,vq={[q.HTML]:new Set([X.ADDRESS,X.APPLET,X.AREA,X.ARTICLE,X.ASIDE,X.BASE,X.BASEFONT,X.BGSOUND,X.BLOCKQUOTE,X.BODY,X.BR,X.BUTTON,X.CAPTION,X.CENTER,X.COL,X.COLGROUP,X.DD,X.DETAILS,X.DIR,X.DIV,X.DL,X.DT,X.EMBED,X.FIELDSET,X.FIGCAPTION,X.FIGURE,X.FOOTER,X.FORM,X.FRAME,X.FRAMESET,X.H1,X.H2,X.H3,X.H4,X.H5,X.H6,X.HEAD,X.HEADER,X.HGROUP,X.HR,X.HTML,X.IFRAME,X.IMG,X.INPUT,X.LI,X.LINK,X.LISTING,X.MAIN,X.MARQUEE,X.MENU,X.META,X.NAV,X.NOEMBED,X.NOFRAMES,X.NOSCRIPT,X.OBJECT,X.OL,X.P,X.PARAM,X.PLAINTEXT,X.PRE,X.SCRIPT,X.SECTION,X.SELECT,X.SOURCE,X.STYLE,X.SUMMARY,X.TABLE,X.TBODY,X.TD,X.TEMPLATE,X.TEXTAREA,X.TFOOT,X.TH,X.THEAD,X.TITLE,X.TR,X.TRACK,X.UL,X.WBR,X.XMP]),[q.MATHML]:new Set([X.MI,X.MO,X.MN,X.MS,X.MTEXT,X.ANNOTATION_XML]),[q.SVG]:new Set([X.TITLE,X.FOREIGN_OBJECT,X.DESC]),[q.XLINK]:new Set,[q.XML]:new Set,[q.XMLNS]:new Set},yq=new Set([X.H1,X.H2,X.H3,X.H4,X.H5,X.H6]);J.STYLE,J.SCRIPT,J.XMP,J.IFRAME,J.NOEMBED,J.NOFRAMES,J.PLAINTEXT;var Z;(function(e){e[e.DATA=0]=`DATA`,e[e.RCDATA=1]=`RCDATA`,e[e.RAWTEXT=2]=`RAWTEXT`,e[e.SCRIPT_DATA=3]=`SCRIPT_DATA`,e[e.PLAINTEXT=4]=`PLAINTEXT`,e[e.TAG_OPEN=5]=`TAG_OPEN`,e[e.END_TAG_OPEN=6]=`END_TAG_OPEN`,e[e.TAG_NAME=7]=`TAG_NAME`,e[e.RCDATA_LESS_THAN_SIGN=8]=`RCDATA_LESS_THAN_SIGN`,e[e.RCDATA_END_TAG_OPEN=9]=`RCDATA_END_TAG_OPEN`,e[e.RCDATA_END_TAG_NAME=10]=`RCDATA_END_TAG_NAME`,e[e.RAWTEXT_LESS_THAN_SIGN=11]=`RAWTEXT_LESS_THAN_SIGN`,e[e.RAWTEXT_END_TAG_OPEN=12]=`RAWTEXT_END_TAG_OPEN`,e[e.RAWTEXT_END_TAG_NAME=13]=`RAWTEXT_END_TAG_NAME`,e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]=`SCRIPT_DATA_LESS_THAN_SIGN`,e[e.SCRIPT_DATA_END_TAG_OPEN=15]=`SCRIPT_DATA_END_TAG_OPEN`,e[e.SCRIPT_DATA_END_TAG_NAME=16]=`SCRIPT_DATA_END_TAG_NAME`,e[e.SCRIPT_DATA_ESCAPE_START=17]=`SCRIPT_DATA_ESCAPE_START`,e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]=`SCRIPT_DATA_ESCAPE_START_DASH`,e[e.SCRIPT_DATA_ESCAPED=19]=`SCRIPT_DATA_ESCAPED`,e[e.SCRIPT_DATA_ESCAPED_DASH=20]=`SCRIPT_DATA_ESCAPED_DASH`,e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]=`SCRIPT_DATA_ESCAPED_DASH_DASH`,e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]=`SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN`,e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]=`SCRIPT_DATA_ESCAPED_END_TAG_OPEN`,e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]=`SCRIPT_DATA_ESCAPED_END_TAG_NAME`,e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]=`SCRIPT_DATA_DOUBLE_ESCAPE_START`,e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]=`SCRIPT_DATA_DOUBLE_ESCAPED`,e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]=`SCRIPT_DATA_DOUBLE_ESCAPED_DASH`,e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]=`SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH`,e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]=`SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN`,e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]=`SCRIPT_DATA_DOUBLE_ESCAPE_END`,e[e.BEFORE_ATTRIBUTE_NAME=31]=`BEFORE_ATTRIBUTE_NAME`,e[e.ATTRIBUTE_NAME=32]=`ATTRIBUTE_NAME`,e[e.AFTER_ATTRIBUTE_NAME=33]=`AFTER_ATTRIBUTE_NAME`,e[e.BEFORE_ATTRIBUTE_VALUE=34]=`BEFORE_ATTRIBUTE_VALUE`,e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]=`ATTRIBUTE_VALUE_DOUBLE_QUOTED`,e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]=`ATTRIBUTE_VALUE_SINGLE_QUOTED`,e[e.ATTRIBUTE_VALUE_UNQUOTED=37]=`ATTRIBUTE_VALUE_UNQUOTED`,e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]=`AFTER_ATTRIBUTE_VALUE_QUOTED`,e[e.SELF_CLOSING_START_TAG=39]=`SELF_CLOSING_START_TAG`,e[e.BOGUS_COMMENT=40]=`BOGUS_COMMENT`,e[e.MARKUP_DECLARATION_OPEN=41]=`MARKUP_DECLARATION_OPEN`,e[e.COMMENT_START=42]=`COMMENT_START`,e[e.COMMENT_START_DASH=43]=`COMMENT_START_DASH`,e[e.COMMENT=44]=`COMMENT`,e[e.COMMENT_LESS_THAN_SIGN=45]=`COMMENT_LESS_THAN_SIGN`,e[e.COMMENT_LESS_THAN_SIGN_BANG=46]=`COMMENT_LESS_THAN_SIGN_BANG`,e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]=`COMMENT_LESS_THAN_SIGN_BANG_DASH`,e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]=`COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH`,e[e.COMMENT_END_DASH=49]=`COMMENT_END_DASH`,e[e.COMMENT_END=50]=`COMMENT_END`,e[e.COMMENT_END_BANG=51]=`COMMENT_END_BANG`,e[e.DOCTYPE=52]=`DOCTYPE`,e[e.BEFORE_DOCTYPE_NAME=53]=`BEFORE_DOCTYPE_NAME`,e[e.DOCTYPE_NAME=54]=`DOCTYPE_NAME`,e[e.AFTER_DOCTYPE_NAME=55]=`AFTER_DOCTYPE_NAME`,e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]=`AFTER_DOCTYPE_PUBLIC_KEYWORD`,e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]=`BEFORE_DOCTYPE_PUBLIC_IDENTIFIER`,e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]=`DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED`,e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]=`DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED`,e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]=`AFTER_DOCTYPE_PUBLIC_IDENTIFIER`,e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]=`BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS`,e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]=`AFTER_DOCTYPE_SYSTEM_KEYWORD`,e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]=`BEFORE_DOCTYPE_SYSTEM_IDENTIFIER`,e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]=`DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED`,e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]=`DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED`,e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]=`AFTER_DOCTYPE_SYSTEM_IDENTIFIER`,e[e.BOGUS_DOCTYPE=67]=`BOGUS_DOCTYPE`,e[e.CDATA_SECTION=68]=`CDATA_SECTION`,e[e.CDATA_SECTION_BRACKET=69]=`CDATA_SECTION_BRACKET`,e[e.CDATA_SECTION_END=70]=`CDATA_SECTION_END`,e[e.CHARACTER_REFERENCE=71]=`CHARACTER_REFERENCE`,e[e.AMBIGUOUS_AMPERSAND=72]=`AMBIGUOUS_AMPERSAND`})(Z||={});var bq={DATA:Z.DATA,RCDATA:Z.RCDATA,RAWTEXT:Z.RAWTEXT,SCRIPT_DATA:Z.SCRIPT_DATA,PLAINTEXT:Z.PLAINTEXT,CDATA_SECTION:Z.CDATA_SECTION};function xq(e){return e>=G.DIGIT_0&&e<=G.DIGIT_9}function Sq(e){return e>=G.LATIN_CAPITAL_A&&e<=G.LATIN_CAPITAL_Z}function Cq(e){return e>=G.LATIN_SMALL_A&&e<=G.LATIN_SMALL_Z}function wq(e){return Cq(e)||Sq(e)}function Tq(e){return wq(e)||xq(e)}function Eq(e){return e+32}function Dq(e){return e===G.SPACE||e===G.LINE_FEED||e===G.TABULATION||e===G.FORM_FEED}function Oq(e){return Dq(e)||e===G.SOLIDUS||e===G.GREATER_THAN_SIGN}function kq(e){return e===G.NULL?K.nullCharacterReference:e>1114111?K.characterReferenceOutsideUnicodeRange:GK(e)?K.surrogateCharacterReference:YK(e)?K.noncharacterCharacterReference:JK(e)||e===G.CARRIAGE_RETURN?K.controlCharacterReference:null}var Aq=class{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName=``,this.active=!1,this.state=Z.DATA,this.returnState=Z.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:``,value:``},this.preprocessor=new ZK(t),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new fq(eq,(e,t)=>{this.preprocessor.pos=this.entityStartPos+t-1,this._flushCodePointConsumedAsCharacterReference(e)},t.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(K.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:e=>{this._err(K.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+e)},validateNumericCharacterReference:e=>{let t=kq(e);t&&this._err(t,1)}}:void 0)}_err(e,t=0){var n,r;(r=(n=this.handler).onParseError)==null||r.call(n,this.preprocessor.getError(e,t))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error(`Parser was already resumed`);this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||e?.())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||n?.()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t<e;t++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,t){return this.preprocessor.startsWith(e,t)?(this._advanceBy(e.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:QK.START_TAG,tagName:``,tagID:Y.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:QK.END_TAG,tagName:``,tagID:Y.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:QK.COMMENT,data:``,location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:QK.DOCTYPE,name:e,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:``},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e;let t=this.currentToken;if($K(t,this.currentAttr.name)===null){if(t.attrs.push(this.currentAttr),t.location&&this.currentLocation){let n=(e=t.location).attrs??(e.attrs=Object.create(null));n[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(K.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(e){this._emitCurrentCharacterToken(e.location),this.currentToken=null,e.location&&(e.location.endLine=this.preprocessor.line,e.location.endCol=this.preprocessor.col+1,e.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){let e=this.currentToken;this.prepareToken(e),e.tagID=_q(e.tagName),e.type===QK.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(K.endTagWithAttributes),e.selfClosing&&this._err(K.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case QK.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case QK.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case QK.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:QK.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken)if(this.currentCharacterToken.type===e){this.currentCharacterToken.chars+=t;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(e,t)}_emitCodePoint(e){let t=Dq(e)?QK.WHITESPACE_CHARACTER:e===G.NULL?QK.NULL_CHARACTER:QK.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(QK.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=Z.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?dq.Attribute:dq.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===Z.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===Z.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===Z.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case Z.DATA:this._stateData(e);break;case Z.RCDATA:this._stateRcdata(e);break;case Z.RAWTEXT:this._stateRawtext(e);break;case Z.SCRIPT_DATA:this._stateScriptData(e);break;case Z.PLAINTEXT:this._statePlaintext(e);break;case Z.TAG_OPEN:this._stateTagOpen(e);break;case Z.END_TAG_OPEN:this._stateEndTagOpen(e);break;case Z.TAG_NAME:this._stateTagName(e);break;case Z.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case Z.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case Z.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case Z.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case Z.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case Z.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case Z.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case Z.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case Z.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case Z.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case Z.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case Z.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case Z.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case Z.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case Z.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case Z.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case Z.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case Z.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case Z.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case Z.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case Z.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case Z.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case Z.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case Z.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case Z.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case Z.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case Z.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case Z.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case Z.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case Z.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case Z.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case Z.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case Z.BOGUS_COMMENT:this._stateBogusComment(e);break;case Z.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case Z.COMMENT_START:this._stateCommentStart(e);break;case Z.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case Z.COMMENT:this._stateComment(e);break;case Z.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case Z.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case Z.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case Z.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case Z.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case Z.COMMENT_END:this._stateCommentEnd(e);break;case Z.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case Z.DOCTYPE:this._stateDoctype(e);break;case Z.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case Z.DOCTYPE_NAME:this._stateDoctypeName(e);break;case Z.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case Z.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case Z.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case Z.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case Z.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case Z.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case Z.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case Z.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case Z.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case Z.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case Z.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case Z.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case Z.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case Z.CDATA_SECTION:this._stateCdataSection(e);break;case Z.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case Z.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case Z.CHARACTER_REFERENCE:this._stateCharacterReference();break;case Z.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;default:throw Error(`Unknown state`)}}_stateData(e){switch(e){case G.LESS_THAN_SIGN:this.state=Z.TAG_OPEN;break;case G.AMPERSAND:this._startCharacterReference();break;case G.NULL:this._err(K.unexpectedNullCharacter),this._emitCodePoint(e);break;case G.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case G.AMPERSAND:this._startCharacterReference();break;case G.LESS_THAN_SIGN:this.state=Z.RCDATA_LESS_THAN_SIGN;break;case G.NULL:this._err(K.unexpectedNullCharacter),this._emitChars(`�`);break;case G.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case G.LESS_THAN_SIGN:this.state=Z.RAWTEXT_LESS_THAN_SIGN;break;case G.NULL:this._err(K.unexpectedNullCharacter),this._emitChars(`�`);break;case G.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case G.LESS_THAN_SIGN:this.state=Z.SCRIPT_DATA_LESS_THAN_SIGN;break;case G.NULL:this._err(K.unexpectedNullCharacter),this._emitChars(`�`);break;case G.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case G.NULL:this._err(K.unexpectedNullCharacter),this._emitChars(`�`);break;case G.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(wq(e))this._createStartTagToken(),this.state=Z.TAG_NAME,this._stateTagName(e);else switch(e){case G.EXCLAMATION_MARK:this.state=Z.MARKUP_DECLARATION_OPEN;break;case G.SOLIDUS:this.state=Z.END_TAG_OPEN;break;case G.QUESTION_MARK:this._err(K.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=Z.BOGUS_COMMENT,this._stateBogusComment(e);break;case G.EOF:this._err(K.eofBeforeTagName),this._emitChars(`<`),this._emitEOFToken();break;default:this._err(K.invalidFirstCharacterOfTagName),this._emitChars(`<`),this.state=Z.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(wq(e))this._createEndTagToken(),this.state=Z.TAG_NAME,this._stateTagName(e);else switch(e){case G.GREATER_THAN_SIGN:this._err(K.missingEndTagName),this.state=Z.DATA;break;case G.EOF:this._err(K.eofBeforeTagName),this._emitChars(`</`),this._emitEOFToken();break;default:this._err(K.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=Z.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){let t=this.currentToken;switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:this.state=Z.BEFORE_ATTRIBUTE_NAME;break;case G.SOLIDUS:this.state=Z.SELF_CLOSING_START_TAG;break;case G.GREATER_THAN_SIGN:this.state=Z.DATA,this.emitCurrentTagToken();break;case G.NULL:this._err(K.unexpectedNullCharacter),t.tagName+=`�`;break;case G.EOF:this._err(K.eofInTag),this._emitEOFToken();break;default:t.tagName+=String.fromCodePoint(Sq(e)?Eq(e):e)}}_stateRcdataLessThanSign(e){e===G.SOLIDUS?this.state=Z.RCDATA_END_TAG_OPEN:(this._emitChars(`<`),this.state=Z.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){wq(e)?(this.state=Z.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars(`</`),this.state=Z.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();let t=this.currentToken;switch(t.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=Z.BEFORE_ATTRIBUTE_NAME,!1;case G.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=Z.SELF_CLOSING_START_TAG,!1;case G.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=Z.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(`</`),this.state=Z.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===G.SOLIDUS?this.state=Z.RAWTEXT_END_TAG_OPEN:(this._emitChars(`<`),this.state=Z.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){wq(e)?(this.state=Z.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars(`</`),this.state=Z.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(`</`),this.state=Z.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case G.SOLIDUS:this.state=Z.SCRIPT_DATA_END_TAG_OPEN;break;case G.EXCLAMATION_MARK:this.state=Z.SCRIPT_DATA_ESCAPE_START,this._emitChars(`<!`);break;default:this._emitChars(`<`),this.state=Z.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){wq(e)?(this.state=Z.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars(`</`),this.state=Z.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(`</`),this.state=Z.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===G.HYPHEN_MINUS?(this.state=Z.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars(`-`)):(this.state=Z.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===G.HYPHEN_MINUS?(this.state=Z.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars(`-`)):(this.state=Z.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case G.HYPHEN_MINUS:this.state=Z.SCRIPT_DATA_ESCAPED_DASH,this._emitChars(`-`);break;case G.LESS_THAN_SIGN:this.state=Z.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case G.NULL:this._err(K.unexpectedNullCharacter),this._emitChars(`�`);break;case G.EOF:this._err(K.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case G.HYPHEN_MINUS:this.state=Z.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars(`-`);break;case G.LESS_THAN_SIGN:this.state=Z.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case G.NULL:this._err(K.unexpectedNullCharacter),this.state=Z.SCRIPT_DATA_ESCAPED,this._emitChars(`�`);break;case G.EOF:this._err(K.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Z.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case G.HYPHEN_MINUS:this._emitChars(`-`);break;case G.LESS_THAN_SIGN:this.state=Z.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case G.GREATER_THAN_SIGN:this.state=Z.SCRIPT_DATA,this._emitChars(`>`);break;case G.NULL:this._err(K.unexpectedNullCharacter),this.state=Z.SCRIPT_DATA_ESCAPED,this._emitChars(`�`);break;case G.EOF:this._err(K.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Z.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===G.SOLIDUS?this.state=Z.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:wq(e)?(this._emitChars(`<`),this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars(`<`),this.state=Z.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){wq(e)?(this.state=Z.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars(`</`),this.state=Z.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(`</`),this.state=Z.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(WK.SCRIPT,!1)&&Oq(this.preprocessor.peek(WK.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e<WK.SCRIPT.length;e++)this._emitCodePoint(this._consume());this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=Z.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case G.HYPHEN_MINUS:this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars(`-`);break;case G.LESS_THAN_SIGN:this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars(`<`);break;case G.NULL:this._err(K.unexpectedNullCharacter),this._emitChars(`�`);break;case G.EOF:this._err(K.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case G.HYPHEN_MINUS:this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars(`-`);break;case G.LESS_THAN_SIGN:this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars(`<`);break;case G.NULL:this._err(K.unexpectedNullCharacter),this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(`�`);break;case G.EOF:this._err(K.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case G.HYPHEN_MINUS:this._emitChars(`-`);break;case G.LESS_THAN_SIGN:this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars(`<`);break;case G.GREATER_THAN_SIGN:this.state=Z.SCRIPT_DATA,this._emitChars(`>`);break;case G.NULL:this._err(K.unexpectedNullCharacter),this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(`�`);break;case G.EOF:this._err(K.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===G.SOLIDUS?(this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars(`/`)):(this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(WK.SCRIPT,!1)&&Oq(this.preprocessor.peek(WK.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e<WK.SCRIPT.length;e++)this._emitCodePoint(this._consume());this.state=Z.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=Z.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:break;case G.SOLIDUS:case G.GREATER_THAN_SIGN:case G.EOF:this.state=Z.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case G.EQUALS_SIGN:this._err(K.unexpectedEqualsSignBeforeAttributeName),this._createAttr(`=`),this.state=Z.ATTRIBUTE_NAME;break;default:this._createAttr(``),this.state=Z.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:case G.SOLIDUS:case G.GREATER_THAN_SIGN:case G.EOF:this._leaveAttrName(),this.state=Z.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case G.EQUALS_SIGN:this._leaveAttrName(),this.state=Z.BEFORE_ATTRIBUTE_VALUE;break;case G.QUOTATION_MARK:case G.APOSTROPHE:case G.LESS_THAN_SIGN:this._err(K.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break;case G.NULL:this._err(K.unexpectedNullCharacter),this.currentAttr.name+=`�`;break;default:this.currentAttr.name+=String.fromCodePoint(Sq(e)?Eq(e):e)}}_stateAfterAttributeName(e){switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:break;case G.SOLIDUS:this.state=Z.SELF_CLOSING_START_TAG;break;case G.EQUALS_SIGN:this.state=Z.BEFORE_ATTRIBUTE_VALUE;break;case G.GREATER_THAN_SIGN:this.state=Z.DATA,this.emitCurrentTagToken();break;case G.EOF:this._err(K.eofInTag),this._emitEOFToken();break;default:this._createAttr(``),this.state=Z.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:break;case G.QUOTATION_MARK:this.state=Z.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case G.APOSTROPHE:this.state=Z.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case G.GREATER_THAN_SIGN:this._err(K.missingAttributeValue),this.state=Z.DATA,this.emitCurrentTagToken();break;default:this.state=Z.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case G.QUOTATION_MARK:this.state=Z.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case G.AMPERSAND:this._startCharacterReference();break;case G.NULL:this._err(K.unexpectedNullCharacter),this.currentAttr.value+=`�`;break;case G.EOF:this._err(K.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case G.APOSTROPHE:this.state=Z.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case G.AMPERSAND:this._startCharacterReference();break;case G.NULL:this._err(K.unexpectedNullCharacter),this.currentAttr.value+=`�`;break;case G.EOF:this._err(K.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:this._leaveAttrValue(),this.state=Z.BEFORE_ATTRIBUTE_NAME;break;case G.AMPERSAND:this._startCharacterReference();break;case G.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=Z.DATA,this.emitCurrentTagToken();break;case G.NULL:this._err(K.unexpectedNullCharacter),this.currentAttr.value+=`�`;break;case G.QUOTATION_MARK:case G.APOSTROPHE:case G.LESS_THAN_SIGN:case G.EQUALS_SIGN:case G.GRAVE_ACCENT:this._err(K.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break;case G.EOF:this._err(K.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:this._leaveAttrValue(),this.state=Z.BEFORE_ATTRIBUTE_NAME;break;case G.SOLIDUS:this._leaveAttrValue(),this.state=Z.SELF_CLOSING_START_TAG;break;case G.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=Z.DATA,this.emitCurrentTagToken();break;case G.EOF:this._err(K.eofInTag),this._emitEOFToken();break;default:this._err(K.missingWhitespaceBetweenAttributes),this.state=Z.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case G.GREATER_THAN_SIGN:{let e=this.currentToken;e.selfClosing=!0,this.state=Z.DATA,this.emitCurrentTagToken();break}case G.EOF:this._err(K.eofInTag),this._emitEOFToken();break;default:this._err(K.unexpectedSolidusInTag),this.state=Z.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){let t=this.currentToken;switch(e){case G.GREATER_THAN_SIGN:this.state=Z.DATA,this.emitCurrentComment(t);break;case G.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case G.NULL:this._err(K.unexpectedNullCharacter),t.data+=`�`;break;default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch(WK.DASH_DASH,!0)?(this._createCommentToken(WK.DASH_DASH.length+1),this.state=Z.COMMENT_START):this._consumeSequenceIfMatch(WK.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(WK.DOCTYPE.length+1),this.state=Z.DOCTYPE):this._consumeSequenceIfMatch(WK.CDATA_START,!0)?this.inForeignNode?this.state=Z.CDATA_SECTION:(this._err(K.cdataInHtmlContent),this._createCommentToken(WK.CDATA_START.length+1),this.currentToken.data=`[CDATA[`,this.state=Z.BOGUS_COMMENT):this._ensureHibernation()||(this._err(K.incorrectlyOpenedComment),this._createCommentToken(2),this.state=Z.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case G.HYPHEN_MINUS:this.state=Z.COMMENT_START_DASH;break;case G.GREATER_THAN_SIGN:{this._err(K.abruptClosingOfEmptyComment),this.state=Z.DATA;let e=this.currentToken;this.emitCurrentComment(e);break}default:this.state=Z.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){let t=this.currentToken;switch(e){case G.HYPHEN_MINUS:this.state=Z.COMMENT_END;break;case G.GREATER_THAN_SIGN:this._err(K.abruptClosingOfEmptyComment),this.state=Z.DATA,this.emitCurrentComment(t);break;case G.EOF:this._err(K.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=`-`,this.state=Z.COMMENT,this._stateComment(e)}}_stateComment(e){let t=this.currentToken;switch(e){case G.HYPHEN_MINUS:this.state=Z.COMMENT_END_DASH;break;case G.LESS_THAN_SIGN:t.data+=`<`,this.state=Z.COMMENT_LESS_THAN_SIGN;break;case G.NULL:this._err(K.unexpectedNullCharacter),t.data+=`�`;break;case G.EOF:this._err(K.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){let t=this.currentToken;switch(e){case G.EXCLAMATION_MARK:t.data+=`!`,this.state=Z.COMMENT_LESS_THAN_SIGN_BANG;break;case G.LESS_THAN_SIGN:t.data+=`<`;break;default:this.state=Z.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===G.HYPHEN_MINUS?this.state=Z.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=Z.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===G.HYPHEN_MINUS?this.state=Z.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=Z.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==G.GREATER_THAN_SIGN&&e!==G.EOF&&this._err(K.nestedComment),this.state=Z.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){let t=this.currentToken;switch(e){case G.HYPHEN_MINUS:this.state=Z.COMMENT_END;break;case G.EOF:this._err(K.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=`-`,this.state=Z.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){let t=this.currentToken;switch(e){case G.GREATER_THAN_SIGN:this.state=Z.DATA,this.emitCurrentComment(t);break;case G.EXCLAMATION_MARK:this.state=Z.COMMENT_END_BANG;break;case G.HYPHEN_MINUS:t.data+=`-`;break;case G.EOF:this._err(K.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=`--`,this.state=Z.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){let t=this.currentToken;switch(e){case G.HYPHEN_MINUS:t.data+=`--!`,this.state=Z.COMMENT_END_DASH;break;case G.GREATER_THAN_SIGN:this._err(K.incorrectlyClosedComment),this.state=Z.DATA,this.emitCurrentComment(t);break;case G.EOF:this._err(K.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=`--!`,this.state=Z.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:this.state=Z.BEFORE_DOCTYPE_NAME;break;case G.GREATER_THAN_SIGN:this.state=Z.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break;case G.EOF:{this._err(K.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._err(K.missingWhitespaceBeforeDoctypeName),this.state=Z.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(Sq(e))this._createDoctypeToken(String.fromCharCode(Eq(e))),this.state=Z.DOCTYPE_NAME;else switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:break;case G.NULL:this._err(K.unexpectedNullCharacter),this._createDoctypeToken(`�`),this.state=Z.DOCTYPE_NAME;break;case G.GREATER_THAN_SIGN:{this._err(K.missingDoctypeName),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=Z.DATA;break}case G.EOF:{this._err(K.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=Z.DOCTYPE_NAME}}_stateDoctypeName(e){let t=this.currentToken;switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:this.state=Z.AFTER_DOCTYPE_NAME;break;case G.GREATER_THAN_SIGN:this.state=Z.DATA,this.emitCurrentDoctype(t);break;case G.NULL:this._err(K.unexpectedNullCharacter),t.name+=`�`;break;case G.EOF:this._err(K.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.name+=String.fromCodePoint(Sq(e)?Eq(e):e)}}_stateAfterDoctypeName(e){let t=this.currentToken;switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:break;case G.GREATER_THAN_SIGN:this.state=Z.DATA,this.emitCurrentDoctype(t);break;case G.EOF:this._err(K.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._consumeSequenceIfMatch(WK.PUBLIC,!1)?this.state=Z.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(WK.SYSTEM,!1)?this.state=Z.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(K.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=Z.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){let t=this.currentToken;switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:this.state=Z.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case G.QUOTATION_MARK:this._err(K.missingWhitespaceAfterDoctypePublicKeyword),t.publicId=``,this.state=Z.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case G.APOSTROPHE:this._err(K.missingWhitespaceAfterDoctypePublicKeyword),t.publicId=``,this.state=Z.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case G.GREATER_THAN_SIGN:this._err(K.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=Z.DATA,this.emitCurrentDoctype(t);break;case G.EOF:this._err(K.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(K.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=Z.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:break;case G.QUOTATION_MARK:t.publicId=``,this.state=Z.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case G.APOSTROPHE:t.publicId=``,this.state=Z.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case G.GREATER_THAN_SIGN:this._err(K.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=Z.DATA,this.emitCurrentDoctype(t);break;case G.EOF:this._err(K.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(K.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=Z.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case G.QUOTATION_MARK:this.state=Z.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case G.NULL:this._err(K.unexpectedNullCharacter),t.publicId+=`�`;break;case G.GREATER_THAN_SIGN:this._err(K.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Z.DATA;break;case G.EOF:this._err(K.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case G.APOSTROPHE:this.state=Z.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case G.NULL:this._err(K.unexpectedNullCharacter),t.publicId+=`�`;break;case G.GREATER_THAN_SIGN:this._err(K.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Z.DATA;break;case G.EOF:this._err(K.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:this.state=Z.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case G.GREATER_THAN_SIGN:this.state=Z.DATA,this.emitCurrentDoctype(t);break;case G.QUOTATION_MARK:this._err(K.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId=``,this.state=Z.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case G.APOSTROPHE:this._err(K.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId=``,this.state=Z.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case G.EOF:this._err(K.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(K.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Z.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){let t=this.currentToken;switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:break;case G.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=Z.DATA;break;case G.QUOTATION_MARK:t.systemId=``,this.state=Z.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case G.APOSTROPHE:t.systemId=``,this.state=Z.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case G.EOF:this._err(K.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(K.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Z.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){let t=this.currentToken;switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:this.state=Z.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case G.QUOTATION_MARK:this._err(K.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId=``,this.state=Z.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case G.APOSTROPHE:this._err(K.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId=``,this.state=Z.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case G.GREATER_THAN_SIGN:this._err(K.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Z.DATA,this.emitCurrentDoctype(t);break;case G.EOF:this._err(K.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(K.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Z.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:break;case G.QUOTATION_MARK:t.systemId=``,this.state=Z.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case G.APOSTROPHE:t.systemId=``,this.state=Z.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case G.GREATER_THAN_SIGN:this._err(K.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Z.DATA,this.emitCurrentDoctype(t);break;case G.EOF:this._err(K.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(K.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Z.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case G.QUOTATION_MARK:this.state=Z.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case G.NULL:this._err(K.unexpectedNullCharacter),t.systemId+=`�`;break;case G.GREATER_THAN_SIGN:this._err(K.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Z.DATA;break;case G.EOF:this._err(K.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case G.APOSTROPHE:this.state=Z.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case G.NULL:this._err(K.unexpectedNullCharacter),t.systemId+=`�`;break;case G.GREATER_THAN_SIGN:this._err(K.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Z.DATA;break;case G.EOF:this._err(K.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case G.SPACE:case G.LINE_FEED:case G.TABULATION:case G.FORM_FEED:break;case G.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=Z.DATA;break;case G.EOF:this._err(K.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(K.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=Z.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){let t=this.currentToken;switch(e){case G.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=Z.DATA;break;case G.NULL:this._err(K.unexpectedNullCharacter);break;case G.EOF:this.emitCurrentDoctype(t),this._emitEOFToken();break;default:}}_stateCdataSection(e){switch(e){case G.RIGHT_SQUARE_BRACKET:this.state=Z.CDATA_SECTION_BRACKET;break;case G.EOF:this._err(K.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===G.RIGHT_SQUARE_BRACKET?this.state=Z.CDATA_SECTION_END:(this._emitChars(`]`),this.state=Z.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case G.GREATER_THAN_SIGN:this.state=Z.DATA;break;case G.RIGHT_SQUARE_BRACKET:this._emitChars(`]`);break;default:this._emitChars(`]]`),this.state=Z.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(){let e=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(e<0)if(this.preprocessor.lastChunkWritten)e=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}e===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(G.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&Tq(this.preprocessor.peek(1))?Z.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(e){Tq(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===G.SEMICOLON&&this._err(K.unknownNamedCharacterReference),this.state=this.returnState,this._callState(e))}},jq=new Set([Y.DD,Y.DT,Y.LI,Y.OPTGROUP,Y.OPTION,Y.P,Y.RB,Y.RP,Y.RT,Y.RTC]),Mq=new Set([...jq,Y.CAPTION,Y.COLGROUP,Y.TBODY,Y.TD,Y.TFOOT,Y.TH,Y.THEAD,Y.TR]),Nq=new Set([Y.APPLET,Y.CAPTION,Y.HTML,Y.MARQUEE,Y.OBJECT,Y.TABLE,Y.TD,Y.TEMPLATE,Y.TH]),Pq=new Set([...Nq,Y.OL,Y.UL]),Fq=new Set([...Nq,Y.BUTTON]),Iq=new Set([Y.ANNOTATION_XML,Y.MI,Y.MN,Y.MO,Y.MS,Y.MTEXT]),Lq=new Set([Y.DESC,Y.FOREIGN_OBJECT,Y.TITLE]),Rq=new Set([Y.TR,Y.TEMPLATE,Y.HTML]),zq=new Set([Y.TBODY,Y.TFOOT,Y.THEAD,Y.TEMPLATE,Y.HTML]),Bq=new Set([Y.TABLE,Y.TEMPLATE,Y.HTML]),Vq=new Set([Y.TD,Y.TH]),Hq=class{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=Y.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===Y.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===q.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==q.HTML);this.shortenToLength(Math.max(t,0))}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&--this.tmplCount,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){let t=this._indexOf(e);this.shortenToLength(Math.max(t,0))}popUntilPopped(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(Math.max(n,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(yq,q.HTML)}popUntilTableCellPopped(){this.popUntilPopped(Vq,q.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,t){for(let n=this.stackTop;n>=0;n--)if(e.has(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return-1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(Bq,q.HTML)}clearBackToTableBodyContext(){this.clearBackTo(zq,q.HTML)}clearBackToTableRowContext(){this.clearBackTo(Rq,q.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===Y.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===Y.HTML}hasInDynamicScope(e,t){for(let n=this.stackTop;n>=0;n--){let r=this.tagIDs[n];switch(this.treeAdapter.getNamespaceURI(this.items[n])){case q.HTML:if(r===e)return!0;if(t.has(r))return!1;break;case q.SVG:if(Lq.has(r))return!1;break;case q.MATHML:if(Iq.has(r))return!1;break}}return!0}hasInScope(e){return this.hasInDynamicScope(e,Nq)}hasInListItemScope(e){return this.hasInDynamicScope(e,Pq)}hasInButtonScope(e){return this.hasInDynamicScope(e,Fq)}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e];switch(this.treeAdapter.getNamespaceURI(this.items[e])){case q.HTML:if(yq.has(t))return!0;if(Nq.has(t))return!1;break;case q.SVG:if(Lq.has(t))return!1;break;case q.MATHML:if(Iq.has(t))return!1;break}}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===q.HTML)switch(this.tagIDs[t]){case e:return!0;case Y.TABLE:case Y.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===q.HTML)switch(this.tagIDs[e]){case Y.TBODY:case Y.THEAD:case Y.TFOOT:return!0;case Y.TABLE:case Y.HTML:return!1}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===q.HTML)switch(this.tagIDs[t]){case e:return!0;case Y.OPTION:case Y.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&jq.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&Mq.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==void 0&&this.currentTagId!==e&&Mq.has(this.currentTagId);)this.pop()}},Uq=3,Wq;(function(e){e[e.Marker=0]=`Marker`,e[e.Element=1]=`Element`})(Wq||={});var Gq={type:Wq.Marker},Kq=class{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,i=this.treeAdapter.getTagName(e),a=this.treeAdapter.getNamespaceURI(e);for(let e=0;e<this.entries.length;e++){let t=this.entries[e];if(t.type===Wq.Marker)break;let{element:o}=t;if(this.treeAdapter.getTagName(o)===i&&this.treeAdapter.getNamespaceURI(o)===a){let t=this.treeAdapter.getAttrList(o);t.length===r&&n.push({idx:e,attrs:t})}}return n}_ensureNoahArkCondition(e){if(this.entries.length<Uq)return;let t=this.treeAdapter.getAttrList(e),n=this._getNoahArkConditionCandidates(e,t);if(n.length<Uq)return;let r=new Map(t.map(e=>[e.name,e.value])),i=0;for(let e=0;e<n.length;e++){let t=n[e];t.attrs.every(e=>r.get(e.name)===e.value)&&(i+=1,i>=Uq&&this.entries.splice(t.idx,1))}}insertMarker(){this.entries.unshift(Gq)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:Wq.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:Wq.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);t!==-1&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(Gq);e===-1?this.entries.length=0:this.entries.splice(0,e+1)}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===Wq.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===Wq.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===Wq.Element&&t.element===e)}},qq={createDocument(){return{nodeName:`#document`,mode:hq.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:`#document-fragment`,childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:`#comment`,data:e,parentNode:null}},createTextNode(e){return{nodeName:`#text`,value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){let i=e.childNodes.find(e=>e.nodeName===`#documentType`);if(i)i.name=t,i.publicId=n,i.systemId=r;else{let i={nodeName:`#documentType`,name:t,publicId:n,systemId:r,parentNode:null};qq.appendChild(e,i)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(qq.isTextNode(n)){n.value+=t;return}}qq.appendChild(e,qq.createTextNode(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&qq.isTextNode(r)?r.value+=t:qq.insertBefore(e,qq.createTextNode(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName===`#text`},isCommentNode(e){return e.nodeName===`#comment`},isDocumentTypeNode(e){return e.nodeName===`#documentType`},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,`tagName`)},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},Jq=`html`,Yq=`about:legacy-compat`,Xq=`http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd`,Zq=`+//silmaril//dtd html pro v0r11 19970101//,-//as//dtd html 3.0 aswedit + extensions//,-//advasoft ltd//dtd html 3.0 aswedit + extensions//,-//ietf//dtd html 2.0 level 1//,-//ietf//dtd html 2.0 level 2//,-//ietf//dtd html 2.0 strict level 1//,-//ietf//dtd html 2.0 strict level 2//,-//ietf//dtd html 2.0 strict//,-//ietf//dtd html 2.0//,-//ietf//dtd html 2.1e//,-//ietf//dtd html 3.0//,-//ietf//dtd html 3.2 final//,-//ietf//dtd html 3.2//,-//ietf//dtd html 3//,-//ietf//dtd html level 0//,-//ietf//dtd html level 1//,-//ietf//dtd html level 2//,-//ietf//dtd html level 3//,-//ietf//dtd html strict level 0//,-//ietf//dtd html strict level 1//,-//ietf//dtd html strict level 2//,-//ietf//dtd html strict level 3//,-//ietf//dtd html strict//,-//ietf//dtd html//,-//metrius//dtd metrius presentational//,-//microsoft//dtd internet explorer 2.0 html strict//,-//microsoft//dtd internet explorer 2.0 html//,-//microsoft//dtd internet explorer 2.0 tables//,-//microsoft//dtd internet explorer 3.0 html strict//,-//microsoft//dtd internet explorer 3.0 html//,-//microsoft//dtd internet explorer 3.0 tables//,-//netscape comm. corp.//dtd html//,-//netscape comm. corp.//dtd strict html//,-//o'reilly and associates//dtd html 2.0//,-//o'reilly and associates//dtd html extended 1.0//,-//o'reilly and associates//dtd html extended relaxed 1.0//,-//sq//dtd html 2.0 hotmetal + extensions//,-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//,-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//,-//spyglass//dtd html 2.0 extended//,-//sun microsystems corp.//dtd hotjava html//,-//sun microsystems corp.//dtd hotjava strict html//,-//w3c//dtd html 3 1995-03-24//,-//w3c//dtd html 3.2 draft//,-//w3c//dtd html 3.2 final//,-//w3c//dtd html 3.2//,-//w3c//dtd html 3.2s draft//,-//w3c//dtd html 4.0 frameset//,-//w3c//dtd html 4.0 transitional//,-//w3c//dtd html experimental 19960712//,-//w3c//dtd html experimental 970421//,-//w3c//dtd w3 html//,-//w3o//dtd w3 html 3.0//,-//webtechs//dtd mozilla html 2.0//,-//webtechs//dtd mozilla html//`.split(`,`),Qq=[...Zq,`-//w3c//dtd html 4.01 frameset//`,`-//w3c//dtd html 4.01 transitional//`],$q=new Set([`-//w3o//dtd w3 html strict 3.0//en//`,`-/w3c/dtd html 4.0 transitional/en`,`html`]),eJ=[`-//w3c//dtd xhtml 1.0 frameset//`,`-//w3c//dtd xhtml 1.0 transitional//`],tJ=[...eJ,`-//w3c//dtd html 4.01 frameset//`,`-//w3c//dtd html 4.01 transitional//`];function nJ(e,t){return t.some(t=>e.startsWith(t))}function rJ(e){return e.name===Jq&&e.publicId===null&&(e.systemId===null||e.systemId===Yq)}function iJ(e){if(e.name!==Jq)return hq.QUIRKS;let{systemId:t}=e;if(t&&t.toLowerCase()===Xq)return hq.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),$q.has(n))return hq.QUIRKS;let e=t===null?Qq:Zq;if(nJ(n,e))return hq.QUIRKS;if(e=t===null?eJ:tJ,nJ(n,e))return hq.LIMITED_QUIRKS}return hq.NO_QUIRKS}var aJ={TEXT_HTML:`text/html`,APPLICATION_XML:`application/xhtml+xml`},oJ=`definitionurl`,sJ=`definitionURL`,cJ=new Map(`attributeName.attributeType.baseFrequency.baseProfile.calcMode.clipPathUnits.diffuseConstant.edgeMode.filterUnits.glyphRef.gradientTransform.gradientUnits.kernelMatrix.kernelUnitLength.keyPoints.keySplines.keyTimes.lengthAdjust.limitingConeAngle.markerHeight.markerUnits.markerWidth.maskContentUnits.maskUnits.numOctaves.pathLength.patternContentUnits.patternTransform.patternUnits.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.refX.refY.repeatCount.repeatDur.requiredExtensions.requiredFeatures.specularConstant.specularExponent.spreadMethod.startOffset.stdDeviation.stitchTiles.surfaceScale.systemLanguage.tableValues.targetX.targetY.textLength.viewBox.viewTarget.xChannelSelector.yChannelSelector.zoomAndPan`.split(`.`).map(e=>[e.toLowerCase(),e])),lJ=new Map([[`xlink:actuate`,{prefix:`xlink`,name:`actuate`,namespace:q.XLINK}],[`xlink:arcrole`,{prefix:`xlink`,name:`arcrole`,namespace:q.XLINK}],[`xlink:href`,{prefix:`xlink`,name:`href`,namespace:q.XLINK}],[`xlink:role`,{prefix:`xlink`,name:`role`,namespace:q.XLINK}],[`xlink:show`,{prefix:`xlink`,name:`show`,namespace:q.XLINK}],[`xlink:title`,{prefix:`xlink`,name:`title`,namespace:q.XLINK}],[`xlink:type`,{prefix:`xlink`,name:`type`,namespace:q.XLINK}],[`xml:lang`,{prefix:`xml`,name:`lang`,namespace:q.XML}],[`xml:space`,{prefix:`xml`,name:`space`,namespace:q.XML}],[`xmlns`,{prefix:``,name:`xmlns`,namespace:q.XMLNS}],[`xmlns:xlink`,{prefix:`xmlns`,name:`xlink`,namespace:q.XMLNS}]]),uJ=new Map(`altGlyph.altGlyphDef.altGlyphItem.animateColor.animateMotion.animateTransform.clipPath.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDistantLight.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.foreignObject.glyphRef.linearGradient.radialGradient.textPath`.split(`.`).map(e=>[e.toLowerCase(),e])),dJ=new Set([Y.B,Y.BIG,Y.BLOCKQUOTE,Y.BODY,Y.BR,Y.CENTER,Y.CODE,Y.DD,Y.DIV,Y.DL,Y.DT,Y.EM,Y.EMBED,Y.H1,Y.H2,Y.H3,Y.H4,Y.H5,Y.H6,Y.HEAD,Y.HR,Y.I,Y.IMG,Y.LI,Y.LISTING,Y.MENU,Y.META,Y.NOBR,Y.OL,Y.P,Y.PRE,Y.RUBY,Y.S,Y.SMALL,Y.SPAN,Y.STRONG,Y.STRIKE,Y.SUB,Y.SUP,Y.TABLE,Y.TT,Y.U,Y.UL,Y.VAR]);function fJ(e){let t=e.tagID;return t===Y.FONT&&e.attrs.some(({name:e})=>e===mq.COLOR||e===mq.SIZE||e===mq.FACE)||dJ.has(t)}function pJ(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===oJ){e.attrs[t].name=sJ;break}}function mJ(e){for(let t=0;t<e.attrs.length;t++){let n=cJ.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function hJ(e){for(let t=0;t<e.attrs.length;t++){let n=lJ.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function gJ(e){let t=uJ.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=_q(e.tagName))}function _J(e,t){return t===q.MATHML&&(e===Y.MI||e===Y.MO||e===Y.MN||e===Y.MS||e===Y.MTEXT)}function vJ(e,t,n){if(t===q.MATHML&&e===Y.ANNOTATION_XML){for(let e=0;e<n.length;e++)if(n[e].name===mq.ENCODING){let t=n[e].value.toLowerCase();return t===aJ.TEXT_HTML||t===aJ.APPLICATION_XML}}return t===q.SVG&&(e===Y.FOREIGN_OBJECT||e===Y.DESC||e===Y.TITLE)}function yJ(e,t,n,r){return(!r||r===q.HTML)&&vJ(e,t,n)||(!r||r===q.MATHML)&&_J(e,t)}var bJ=`hidden`,xJ=8,SJ=3,Q;(function(e){e[e.INITIAL=0]=`INITIAL`,e[e.BEFORE_HTML=1]=`BEFORE_HTML`,e[e.BEFORE_HEAD=2]=`BEFORE_HEAD`,e[e.IN_HEAD=3]=`IN_HEAD`,e[e.IN_HEAD_NO_SCRIPT=4]=`IN_HEAD_NO_SCRIPT`,e[e.AFTER_HEAD=5]=`AFTER_HEAD`,e[e.IN_BODY=6]=`IN_BODY`,e[e.TEXT=7]=`TEXT`,e[e.IN_TABLE=8]=`IN_TABLE`,e[e.IN_TABLE_TEXT=9]=`IN_TABLE_TEXT`,e[e.IN_CAPTION=10]=`IN_CAPTION`,e[e.IN_COLUMN_GROUP=11]=`IN_COLUMN_GROUP`,e[e.IN_TABLE_BODY=12]=`IN_TABLE_BODY`,e[e.IN_ROW=13]=`IN_ROW`,e[e.IN_CELL=14]=`IN_CELL`,e[e.IN_SELECT=15]=`IN_SELECT`,e[e.IN_SELECT_IN_TABLE=16]=`IN_SELECT_IN_TABLE`,e[e.IN_TEMPLATE=17]=`IN_TEMPLATE`,e[e.AFTER_BODY=18]=`AFTER_BODY`,e[e.IN_FRAMESET=19]=`IN_FRAMESET`,e[e.AFTER_FRAMESET=20]=`AFTER_FRAMESET`,e[e.AFTER_AFTER_BODY=21]=`AFTER_AFTER_BODY`,e[e.AFTER_AFTER_FRAMESET=22]=`AFTER_AFTER_FRAMESET`})(Q||={});var CJ={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},wJ=new Set([Y.TABLE,Y.TBODY,Y.TFOOT,Y.THEAD,Y.TR]),TJ={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:qq,onParseError:null},EJ=class{constructor(e,t,n=null,r=null){this.fragmentContext=n,this.scriptHandler=r,this.currentToken=null,this.stopped=!1,this.insertionMode=Q.INITIAL,this.originalInsertionMode=Q.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...TJ,...e},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=t??this.treeAdapter.createDocument(),this.tokenizer=new Aq(this.options,this),this.activeFormattingElements=new Kq(this.treeAdapter),this.fragmentContextID=n?_q(this.treeAdapter.getTagName(n)):Y.UNKNOWN,this._setContextModes(n??this.document,this.fragmentContextID),this.openElements=new Hq(this.document,this.treeAdapter,this)}static parse(e,t){let n=new this(t);return n.tokenizer.write(e,!0),n.document}static getFragmentParser(e,t){let n={...TJ,...t};e??=n.treeAdapter.createElement(J.TEMPLATE,q.HTML,[]);let r=n.treeAdapter.createElement(`documentmock`,q.HTML,[]),i=new this(n,r,e);return i.fragmentContextID===Y.TEMPLATE&&i.tmplInsertionModeStack.unshift(Q.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){let e=this.treeAdapter.getFirstChild(this.document),t=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,t),t}_err(e,t,n){if(!this.onParseError)return;let r=e.location??CJ,i={code:t,startLine:r.startLine,startCol:r.startCol,startOffset:r.startOffset,endLine:n?r.startLine:r.endLine,endCol:n?r.startCol:r.endCol,endOffset:n?r.startOffset:r.endOffset};this.onParseError(i)}onItemPush(e,t,n){var r,i;(i=(r=this.treeAdapter).onItemPush)==null||i.call(r,e),n&&this.openElements.stackTop>0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),(r=(n=this.treeAdapter).onItemPop)==null||r.call(n,e,this.openElements.current),t){let e,t;this.openElements.stackTop===0&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||e&&this.treeAdapter.getNamespaceURI(e)===q.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&e!==void 0&&t!==void 0&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,q.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=Q.TEXT}switchToPlaintextParsing(){this.insertionMode=Q.TEXT,this.originalInsertionMode=Q.IN_BODY,this.tokenizer.state=bq.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===J.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==q.HTML))switch(this.fragmentContextID){case Y.TITLE:case Y.TEXTAREA:this.tokenizer.state=bq.RCDATA;break;case Y.STYLE:case Y.XMP:case Y.IFRAME:case Y.NOEMBED:case Y.NOFRAMES:case Y.NOSCRIPT:this.tokenizer.state=bq.RAWTEXT;break;case Y.SCRIPT:this.tokenizer.state=bq.SCRIPT_DATA;break;case Y.PLAINTEXT:this.tokenizer.state=bq.PLAINTEXT;break;default:}}_setDocumentType(e){let t=e.name||``,n=e.publicId||``,r=e.systemId||``;if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let t=this.treeAdapter.getChildNodes(this.document).find(e=>this.treeAdapter.isDocumentTypeNode(e));t&&this.treeAdapter.setNodeSourceCodeLocation(t,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t??this.document,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,q.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,q.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(J.HTML,q.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,Y.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),i=r[(n?r.lastIndexOf(n):r.length)-1];if(this.treeAdapter.getNodeSourceCodeLocation(i)){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),i=t.type===QK.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,i)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let t,n;return this.openElements.stackTop===0&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,e.tagID===Y.SVG&&this.treeAdapter.getTagName(t)===J.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(t)===q.MATHML?!1:this.tokenizer.inForeignNode||(e.tagID===Y.MGLYPH||e.tagID===Y.MALIGNMARK)&&n!==void 0&&!this._isIntegrationPoint(n,t,q.HTML)}_processToken(e){switch(e.type){case QK.CHARACTER:this.onCharacter(e);break;case QK.NULL_CHARACTER:this.onNullCharacter(e);break;case QK.COMMENT:this.onComment(e);break;case QK.DOCTYPE:this.onDoctype(e);break;case QK.START_TAG:this._processStartTag(e);break;case QK.END_TAG:this.onEndTag(e);break;case QK.EOF:this.onEof(e);break;case QK.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e);break}}_isIntegrationPoint(e,t,n){return yJ(e,this.treeAdapter.getNamespaceURI(t),this.treeAdapter.getAttrList(t),n)}_reconstructActiveFormattingElements(){let e=this.activeFormattingElements.entries.length;if(e){let t=this.activeFormattingElements.entries.findIndex(e=>e.type===Wq.Marker||this.openElements.contains(e.element)),n=t===-1?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=Q.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(Y.P),this.openElements.popUntilTagNamePopped(Y.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(e===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case Y.TR:this.insertionMode=Q.IN_ROW;return;case Y.TBODY:case Y.THEAD:case Y.TFOOT:this.insertionMode=Q.IN_TABLE_BODY;return;case Y.CAPTION:this.insertionMode=Q.IN_CAPTION;return;case Y.COLGROUP:this.insertionMode=Q.IN_COLUMN_GROUP;return;case Y.TABLE:this.insertionMode=Q.IN_TABLE;return;case Y.BODY:this.insertionMode=Q.IN_BODY;return;case Y.FRAMESET:this.insertionMode=Q.IN_FRAMESET;return;case Y.SELECT:this._resetInsertionModeForSelect(e);return;case Y.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case Y.HTML:this.insertionMode=this.headElement?Q.AFTER_HEAD:Q.BEFORE_HEAD;return;case Y.TD:case Y.TH:if(e>0){this.insertionMode=Q.IN_CELL;return}break;case Y.HEAD:if(e>0){this.insertionMode=Q.IN_HEAD;return}break}this.insertionMode=Q.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===Y.TEMPLATE)break;if(e===Y.TABLE){this.insertionMode=Q.IN_SELECT_IN_TABLE;return}}this.insertionMode=Q.IN_SELECT}_isElementCausesFosterParenting(e){return wJ.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case Y.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===q.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case Y.TABLE:{let n=this.treeAdapter.getParentNode(t);return n?{parent:n,beforeElement:t}:{parent:this.openElements.items[e-1],beforeElement:null}}default:}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){return vq[this.treeAdapter.getNamespaceURI(e)].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){WX(this,e);return}switch(this.insertionMode){case Q.INITIAL:zJ(this,e);break;case Q.BEFORE_HTML:HJ(this,e);break;case Q.BEFORE_HEAD:GJ(this,e);break;case Q.IN_HEAD:YJ(this,e);break;case Q.IN_HEAD_NO_SCRIPT:QJ(this,e);break;case Q.AFTER_HEAD:tY(this,e);break;case Q.IN_BODY:case Q.IN_CAPTION:case Q.IN_CELL:case Q.IN_TEMPLATE:iY(this,e);break;case Q.TEXT:case Q.IN_SELECT:case Q.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case Q.IN_TABLE:case Q.IN_TABLE_BODY:case Q.IN_ROW:$Y(this,e);break;case Q.IN_TABLE_TEXT:fX(this,e);break;case Q.IN_COLUMN_GROUP:yX(this,e);break;case Q.AFTER_BODY:FX(this,e);break;case Q.AFTER_AFTER_BODY:VX(this,e);break;default:}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){UX(this,e);return}switch(this.insertionMode){case Q.INITIAL:zJ(this,e);break;case Q.BEFORE_HTML:HJ(this,e);break;case Q.BEFORE_HEAD:GJ(this,e);break;case Q.IN_HEAD:YJ(this,e);break;case Q.IN_HEAD_NO_SCRIPT:QJ(this,e);break;case Q.AFTER_HEAD:tY(this,e);break;case Q.TEXT:this._insertCharacters(e);break;case Q.IN_TABLE:case Q.IN_TABLE_BODY:case Q.IN_ROW:$Y(this,e);break;case Q.IN_COLUMN_GROUP:yX(this,e);break;case Q.AFTER_BODY:FX(this,e);break;case Q.AFTER_AFTER_BODY:VX(this,e);break;default:}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){PJ(this,e);return}switch(this.insertionMode){case Q.INITIAL:case Q.BEFORE_HTML:case Q.BEFORE_HEAD:case Q.IN_HEAD:case Q.IN_HEAD_NO_SCRIPT:case Q.AFTER_HEAD:case Q.IN_BODY:case Q.IN_TABLE:case Q.IN_CAPTION:case Q.IN_COLUMN_GROUP:case Q.IN_TABLE_BODY:case Q.IN_ROW:case Q.IN_CELL:case Q.IN_SELECT:case Q.IN_SELECT_IN_TABLE:case Q.IN_TEMPLATE:case Q.IN_FRAMESET:case Q.AFTER_FRAMESET:PJ(this,e);break;case Q.IN_TABLE_TEXT:pX(this,e);break;case Q.AFTER_BODY:FJ(this,e);break;case Q.AFTER_AFTER_BODY:case Q.AFTER_AFTER_FRAMESET:IJ(this,e);break;default:}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case Q.INITIAL:RJ(this,e);break;case Q.BEFORE_HEAD:case Q.IN_HEAD:case Q.IN_HEAD_NO_SCRIPT:case Q.AFTER_HEAD:this._err(e,K.misplacedDoctype);break;case Q.IN_TABLE_TEXT:pX(this,e);break;default:}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,K.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?KX(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case Q.INITIAL:zJ(this,e);break;case Q.BEFORE_HTML:BJ(this,e);break;case Q.BEFORE_HEAD:UJ(this,e);break;case Q.IN_HEAD:KJ(this,e);break;case Q.IN_HEAD_NO_SCRIPT:XJ(this,e);break;case Q.AFTER_HEAD:$J(this,e);break;case Q.IN_BODY:LY(this,e);break;case Q.IN_TABLE:cX(this,e);break;case Q.IN_TABLE_TEXT:pX(this,e);break;case Q.IN_CAPTION:hX(this,e);break;case Q.IN_COLUMN_GROUP:_X(this,e);break;case Q.IN_TABLE_BODY:bX(this,e);break;case Q.IN_ROW:SX(this,e);break;case Q.IN_CELL:wX(this,e);break;case Q.IN_SELECT:EX(this,e);break;case Q.IN_SELECT_IN_TABLE:OX(this,e);break;case Q.IN_TEMPLATE:AX(this,e);break;case Q.AFTER_BODY:NX(this,e);break;case Q.IN_FRAMESET:IX(this,e);break;case Q.AFTER_FRAMESET:RX(this,e);break;case Q.AFTER_AFTER_BODY:BX(this,e);break;case Q.AFTER_AFTER_FRAMESET:HX(this,e);break;default:}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?qX(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case Q.INITIAL:zJ(this,e);break;case Q.BEFORE_HTML:VJ(this,e);break;case Q.BEFORE_HEAD:WJ(this,e);break;case Q.IN_HEAD:qJ(this,e);break;case Q.IN_HEAD_NO_SCRIPT:ZJ(this,e);break;case Q.AFTER_HEAD:eY(this,e);break;case Q.IN_BODY:YY(this,e);break;case Q.TEXT:ZY(this,e);break;case Q.IN_TABLE:lX(this,e);break;case Q.IN_TABLE_TEXT:pX(this,e);break;case Q.IN_CAPTION:gX(this,e);break;case Q.IN_COLUMN_GROUP:vX(this,e);break;case Q.IN_TABLE_BODY:xX(this,e);break;case Q.IN_ROW:CX(this,e);break;case Q.IN_CELL:TX(this,e);break;case Q.IN_SELECT:DX(this,e);break;case Q.IN_SELECT_IN_TABLE:kX(this,e);break;case Q.IN_TEMPLATE:jX(this,e);break;case Q.AFTER_BODY:PX(this,e);break;case Q.IN_FRAMESET:LX(this,e);break;case Q.AFTER_FRAMESET:zX(this,e);break;case Q.AFTER_AFTER_BODY:VX(this,e);break;default:}}onEof(e){switch(this.insertionMode){case Q.INITIAL:zJ(this,e);break;case Q.BEFORE_HTML:HJ(this,e);break;case Q.BEFORE_HEAD:GJ(this,e);break;case Q.IN_HEAD:YJ(this,e);break;case Q.IN_HEAD_NO_SCRIPT:QJ(this,e);break;case Q.AFTER_HEAD:tY(this,e);break;case Q.IN_BODY:case Q.IN_TABLE:case Q.IN_CAPTION:case Q.IN_COLUMN_GROUP:case Q.IN_TABLE_BODY:case Q.IN_ROW:case Q.IN_CELL:case Q.IN_SELECT:case Q.IN_SELECT_IN_TABLE:XY(this,e);break;case Q.TEXT:QY(this,e);break;case Q.IN_TABLE_TEXT:pX(this,e);break;case Q.IN_TEMPLATE:MX(this,e);break;case Q.AFTER_BODY:case Q.IN_FRAMESET:case Q.AFTER_FRAMESET:case Q.AFTER_AFTER_BODY:case Q.AFTER_AFTER_FRAMESET:LJ(this,e);break;default:}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===G.LINE_FEED)){if(e.chars.length===1)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case Q.IN_HEAD:case Q.IN_HEAD_NO_SCRIPT:case Q.AFTER_HEAD:case Q.TEXT:case Q.IN_COLUMN_GROUP:case Q.IN_SELECT:case Q.IN_SELECT_IN_TABLE:case Q.IN_FRAMESET:case Q.AFTER_FRAMESET:this._insertCharacters(e);break;case Q.IN_BODY:case Q.IN_CAPTION:case Q.IN_CELL:case Q.IN_TEMPLATE:case Q.AFTER_BODY:case Q.AFTER_AFTER_BODY:case Q.AFTER_AFTER_FRAMESET:rY(this,e);break;case Q.IN_TABLE:case Q.IN_TABLE_BODY:case Q.IN_ROW:$Y(this,e);break;case Q.IN_TABLE_TEXT:dX(this,e);break;default:}}};function DJ(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):JY(e,t),n}function OJ(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[r])&&(n=i)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}function kJ(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let a=0,o=i;o!==n;a++,o=i){i=e.openElements.getCommonAncestor(o);let n=e.activeFormattingElements.getElementEntry(o),s=n&&a>=SJ;!n||s?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=AJ(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}function AJ(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function jJ(e,t,n){let r=_q(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(r))e._fosterParentElement(n);else{let i=e.treeAdapter.getNamespaceURI(t);r===Y.TEMPLATE&&i===q.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function MJ(e,t,n){let r=e.treeAdapter.getNamespaceURI(n.element),{token:i}=n,a=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,a),e.treeAdapter.appendChild(t,a),e.activeFormattingElements.insertElementAfterBookmark(a,i),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,a,i.tagID)}function NJ(e,t){for(let n=0;n<xJ;n++){let n=DJ(e,t);if(!n)break;let r=OJ(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let i=kJ(e,r,n.element),a=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(i),a&&jJ(e,a,i),MJ(e,r,n)}}function PJ(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function FJ(e,t){e._appendCommentNode(t,e.openElements.items[0])}function IJ(e,t){e._appendCommentNode(t,e.document)}function LJ(e,t){if(e.stopped=!0,t.location){let n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function RJ(e,t){e._setDocumentType(t);let n=t.forceQuirks?hq.QUIRKS:iJ(t);rJ(t)||e._err(t,K.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=Q.BEFORE_HTML}function zJ(e,t){e._err(t,K.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,hq.QUIRKS),e.insertionMode=Q.BEFORE_HTML,e._processToken(t)}function BJ(e,t){t.tagID===Y.HTML?(e._insertElement(t,q.HTML),e.insertionMode=Q.BEFORE_HEAD):HJ(e,t)}function VJ(e,t){let n=t.tagID;(n===Y.HTML||n===Y.HEAD||n===Y.BODY||n===Y.BR)&&HJ(e,t)}function HJ(e,t){e._insertFakeRootElement(),e.insertionMode=Q.BEFORE_HEAD,e._processToken(t)}function UJ(e,t){switch(t.tagID){case Y.HTML:LY(e,t);break;case Y.HEAD:e._insertElement(t,q.HTML),e.headElement=e.openElements.current,e.insertionMode=Q.IN_HEAD;break;default:GJ(e,t)}}function WJ(e,t){let n=t.tagID;n===Y.HEAD||n===Y.BODY||n===Y.HTML||n===Y.BR?GJ(e,t):e._err(t,K.endTagWithoutMatchingOpenElement)}function GJ(e,t){e._insertFakeElement(J.HEAD,Y.HEAD),e.headElement=e.openElements.current,e.insertionMode=Q.IN_HEAD,e._processToken(t)}function KJ(e,t){switch(t.tagID){case Y.HTML:LY(e,t);break;case Y.BASE:case Y.BASEFONT:case Y.BGSOUND:case Y.LINK:case Y.META:e._appendElement(t,q.HTML),t.ackSelfClosing=!0;break;case Y.TITLE:e._switchToTextParsing(t,bq.RCDATA);break;case Y.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,bq.RAWTEXT):(e._insertElement(t,q.HTML),e.insertionMode=Q.IN_HEAD_NO_SCRIPT);break;case Y.NOFRAMES:case Y.STYLE:e._switchToTextParsing(t,bq.RAWTEXT);break;case Y.SCRIPT:e._switchToTextParsing(t,bq.SCRIPT_DATA);break;case Y.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=Q.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(Q.IN_TEMPLATE);break;case Y.HEAD:e._err(t,K.misplacedStartTagForHeadElement);break;default:YJ(e,t)}}function qJ(e,t){switch(t.tagID){case Y.HEAD:e.openElements.pop(),e.insertionMode=Q.AFTER_HEAD;break;case Y.BODY:case Y.BR:case Y.HTML:YJ(e,t);break;case Y.TEMPLATE:JJ(e,t);break;default:e._err(t,K.endTagWithoutMatchingOpenElement)}}function JJ(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==Y.TEMPLATE&&e._err(t,K.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(Y.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,K.endTagWithoutMatchingOpenElement)}function YJ(e,t){e.openElements.pop(),e.insertionMode=Q.AFTER_HEAD,e._processToken(t)}function XJ(e,t){switch(t.tagID){case Y.HTML:LY(e,t);break;case Y.BASEFONT:case Y.BGSOUND:case Y.HEAD:case Y.LINK:case Y.META:case Y.NOFRAMES:case Y.STYLE:KJ(e,t);break;case Y.NOSCRIPT:e._err(t,K.nestedNoscriptInHead);break;default:QJ(e,t)}}function ZJ(e,t){switch(t.tagID){case Y.NOSCRIPT:e.openElements.pop(),e.insertionMode=Q.IN_HEAD;break;case Y.BR:QJ(e,t);break;default:e._err(t,K.endTagWithoutMatchingOpenElement)}}function QJ(e,t){let n=t.type===QK.EOF?K.openElementsLeftAfterEof:K.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=Q.IN_HEAD,e._processToken(t)}function $J(e,t){switch(t.tagID){case Y.HTML:LY(e,t);break;case Y.BODY:e._insertElement(t,q.HTML),e.framesetOk=!1,e.insertionMode=Q.IN_BODY;break;case Y.FRAMESET:e._insertElement(t,q.HTML),e.insertionMode=Q.IN_FRAMESET;break;case Y.BASE:case Y.BASEFONT:case Y.BGSOUND:case Y.LINK:case Y.META:case Y.NOFRAMES:case Y.SCRIPT:case Y.STYLE:case Y.TEMPLATE:case Y.TITLE:e._err(t,K.abandonedHeadElementChild),e.openElements.push(e.headElement,Y.HEAD),KJ(e,t),e.openElements.remove(e.headElement);break;case Y.HEAD:e._err(t,K.misplacedStartTagForHeadElement);break;default:tY(e,t)}}function eY(e,t){switch(t.tagID){case Y.BODY:case Y.HTML:case Y.BR:tY(e,t);break;case Y.TEMPLATE:JJ(e,t);break;default:e._err(t,K.endTagWithoutMatchingOpenElement)}}function tY(e,t){e._insertFakeElement(J.BODY,Y.BODY),e.insertionMode=Q.IN_BODY,nY(e,t)}function nY(e,t){switch(t.type){case QK.CHARACTER:iY(e,t);break;case QK.WHITESPACE_CHARACTER:rY(e,t);break;case QK.COMMENT:PJ(e,t);break;case QK.START_TAG:LY(e,t);break;case QK.END_TAG:YY(e,t);break;case QK.EOF:XY(e,t);break;default:}}function rY(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function iY(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function aY(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function oY(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function sY(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,q.HTML),e.insertionMode=Q.IN_FRAMESET)}function cY(e,t){e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e._insertElement(t,q.HTML)}function lY(e,t){e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&yq.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,q.HTML)}function uY(e,t){e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e._insertElement(t,q.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function dY(e,t){let n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e._insertElement(t,q.HTML),n||(e.formElement=e.openElements.current))}function fY(e,t){e.framesetOk=!1;let n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let r=e.openElements.tagIDs[t];if(n===Y.LI&&r===Y.LI||(n===Y.DD||n===Y.DT)&&(r===Y.DD||r===Y.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==Y.ADDRESS&&r!==Y.DIV&&r!==Y.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e._insertElement(t,q.HTML)}function pY(e,t){e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e._insertElement(t,q.HTML),e.tokenizer.state=bq.PLAINTEXT}function mY(e,t){e.openElements.hasInScope(Y.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(Y.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,q.HTML),e.framesetOk=!1}function hY(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(J.A);n&&(NJ(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,q.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function gY(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,q.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function _Y(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(Y.NOBR)&&(NJ(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,q.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function vY(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,q.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function yY(e,t){e.treeAdapter.getDocumentMode(e.document)!==hq.QUIRKS&&e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e._insertElement(t,q.HTML),e.framesetOk=!1,e.insertionMode=Q.IN_TABLE}function bY(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,q.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function xY(e){let t=$K(e,mq.TYPE);return t!=null&&t.toLowerCase()===bJ}function SY(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,q.HTML),xY(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function CY(e,t){e._appendElement(t,q.HTML),t.ackSelfClosing=!0}function wY(e,t){e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e._appendElement(t,q.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function TY(e,t){t.tagName=J.IMG,t.tagID=Y.IMG,bY(e,t)}function EY(e,t){e._insertElement(t,q.HTML),e.skipNextNewLine=!0,e.tokenizer.state=bq.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=Q.TEXT}function DY(e,t){e.openElements.hasInButtonScope(Y.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,bq.RAWTEXT)}function OY(e,t){e.framesetOk=!1,e._switchToTextParsing(t,bq.RAWTEXT)}function kY(e,t){e._switchToTextParsing(t,bq.RAWTEXT)}function AY(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,q.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===Q.IN_TABLE||e.insertionMode===Q.IN_CAPTION||e.insertionMode===Q.IN_TABLE_BODY||e.insertionMode===Q.IN_ROW||e.insertionMode===Q.IN_CELL?Q.IN_SELECT_IN_TABLE:Q.IN_SELECT}function jY(e,t){e.openElements.currentTagId===Y.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,q.HTML)}function MY(e,t){e.openElements.hasInScope(Y.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,q.HTML)}function NY(e,t){e.openElements.hasInScope(Y.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(Y.RTC),e._insertElement(t,q.HTML)}function PY(e,t){e._reconstructActiveFormattingElements(),pJ(t),hJ(t),t.selfClosing?e._appendElement(t,q.MATHML):e._insertElement(t,q.MATHML),t.ackSelfClosing=!0}function FY(e,t){e._reconstructActiveFormattingElements(),mJ(t),hJ(t),t.selfClosing?e._appendElement(t,q.SVG):e._insertElement(t,q.SVG),t.ackSelfClosing=!0}function IY(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,q.HTML)}function LY(e,t){switch(t.tagID){case Y.I:case Y.S:case Y.B:case Y.U:case Y.EM:case Y.TT:case Y.BIG:case Y.CODE:case Y.FONT:case Y.SMALL:case Y.STRIKE:case Y.STRONG:gY(e,t);break;case Y.A:hY(e,t);break;case Y.H1:case Y.H2:case Y.H3:case Y.H4:case Y.H5:case Y.H6:lY(e,t);break;case Y.P:case Y.DL:case Y.OL:case Y.UL:case Y.DIV:case Y.DIR:case Y.NAV:case Y.MAIN:case Y.MENU:case Y.ASIDE:case Y.CENTER:case Y.FIGURE:case Y.FOOTER:case Y.HEADER:case Y.HGROUP:case Y.DIALOG:case Y.DETAILS:case Y.ADDRESS:case Y.ARTICLE:case Y.SEARCH:case Y.SECTION:case Y.SUMMARY:case Y.FIELDSET:case Y.BLOCKQUOTE:case Y.FIGCAPTION:cY(e,t);break;case Y.LI:case Y.DD:case Y.DT:fY(e,t);break;case Y.BR:case Y.IMG:case Y.WBR:case Y.AREA:case Y.EMBED:case Y.KEYGEN:bY(e,t);break;case Y.HR:wY(e,t);break;case Y.RB:case Y.RTC:MY(e,t);break;case Y.RT:case Y.RP:NY(e,t);break;case Y.PRE:case Y.LISTING:uY(e,t);break;case Y.XMP:DY(e,t);break;case Y.SVG:FY(e,t);break;case Y.HTML:aY(e,t);break;case Y.BASE:case Y.LINK:case Y.META:case Y.STYLE:case Y.TITLE:case Y.SCRIPT:case Y.BGSOUND:case Y.BASEFONT:case Y.TEMPLATE:KJ(e,t);break;case Y.BODY:oY(e,t);break;case Y.FORM:dY(e,t);break;case Y.NOBR:_Y(e,t);break;case Y.MATH:PY(e,t);break;case Y.TABLE:yY(e,t);break;case Y.INPUT:SY(e,t);break;case Y.PARAM:case Y.TRACK:case Y.SOURCE:CY(e,t);break;case Y.IMAGE:TY(e,t);break;case Y.BUTTON:mY(e,t);break;case Y.APPLET:case Y.OBJECT:case Y.MARQUEE:vY(e,t);break;case Y.IFRAME:OY(e,t);break;case Y.SELECT:AY(e,t);break;case Y.OPTION:case Y.OPTGROUP:jY(e,t);break;case Y.NOEMBED:case Y.NOFRAMES:kY(e,t);break;case Y.FRAMESET:sY(e,t);break;case Y.TEXTAREA:EY(e,t);break;case Y.NOSCRIPT:e.options.scriptingEnabled?kY(e,t):IY(e,t);break;case Y.PLAINTEXT:pY(e,t);break;case Y.COL:case Y.TH:case Y.TD:case Y.TR:case Y.HEAD:case Y.FRAME:case Y.TBODY:case Y.TFOOT:case Y.THEAD:case Y.CAPTION:case Y.COLGROUP:break;default:IY(e,t)}}function RY(e,t){if(e.openElements.hasInScope(Y.BODY)&&(e.insertionMode=Q.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function zY(e,t){e.openElements.hasInScope(Y.BODY)&&(e.insertionMode=Q.AFTER_BODY,PX(e,t))}function BY(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function VY(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(Y.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(Y.FORM):n&&e.openElements.remove(n))}function HY(e){e.openElements.hasInButtonScope(Y.P)||e._insertFakeElement(J.P,Y.P),e._closePElement()}function UY(e){e.openElements.hasInListItemScope(Y.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(Y.LI),e.openElements.popUntilTagNamePopped(Y.LI))}function WY(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function GY(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function KY(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function qY(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(J.BR,Y.BR),e.openElements.pop(),e.framesetOk=!1}function JY(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let i=e.openElements.items[t],a=e.openElements.tagIDs[t];if(r===a&&(r!==Y.UNKNOWN||e.treeAdapter.getTagName(i)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(i,a))break}}function YY(e,t){switch(t.tagID){case Y.A:case Y.B:case Y.I:case Y.S:case Y.U:case Y.EM:case Y.TT:case Y.BIG:case Y.CODE:case Y.FONT:case Y.NOBR:case Y.SMALL:case Y.STRIKE:case Y.STRONG:NJ(e,t);break;case Y.P:HY(e);break;case Y.DL:case Y.UL:case Y.OL:case Y.DIR:case Y.DIV:case Y.NAV:case Y.PRE:case Y.MAIN:case Y.MENU:case Y.ASIDE:case Y.BUTTON:case Y.CENTER:case Y.FIGURE:case Y.FOOTER:case Y.HEADER:case Y.HGROUP:case Y.DIALOG:case Y.ADDRESS:case Y.ARTICLE:case Y.DETAILS:case Y.SEARCH:case Y.SECTION:case Y.SUMMARY:case Y.LISTING:case Y.FIELDSET:case Y.BLOCKQUOTE:case Y.FIGCAPTION:BY(e,t);break;case Y.LI:UY(e);break;case Y.DD:case Y.DT:WY(e,t);break;case Y.H1:case Y.H2:case Y.H3:case Y.H4:case Y.H5:case Y.H6:GY(e);break;case Y.BR:qY(e);break;case Y.BODY:RY(e,t);break;case Y.HTML:zY(e,t);break;case Y.FORM:VY(e);break;case Y.APPLET:case Y.OBJECT:case Y.MARQUEE:KY(e,t);break;case Y.TEMPLATE:JJ(e,t);break;default:JY(e,t)}}function XY(e,t){e.tmplInsertionModeStack.length>0?MX(e,t):LJ(e,t)}function ZY(e,t){var n;t.tagID===Y.SCRIPT&&((n=e.scriptHandler)==null||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function QY(e,t){e._err(t,K.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function $Y(e,t){if(e.openElements.currentTagId!==void 0&&wJ.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=Q.IN_TABLE_TEXT,t.type){case QK.CHARACTER:fX(e,t);break;case QK.WHITESPACE_CHARACTER:dX(e,t);break}else uX(e,t)}function eX(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,q.HTML),e.insertionMode=Q.IN_CAPTION}function tX(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,q.HTML),e.insertionMode=Q.IN_COLUMN_GROUP}function nX(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(J.COLGROUP,Y.COLGROUP),e.insertionMode=Q.IN_COLUMN_GROUP,_X(e,t)}function rX(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,q.HTML),e.insertionMode=Q.IN_TABLE_BODY}function iX(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(J.TBODY,Y.TBODY),e.insertionMode=Q.IN_TABLE_BODY,bX(e,t)}function aX(e,t){e.openElements.hasInTableScope(Y.TABLE)&&(e.openElements.popUntilTagNamePopped(Y.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function oX(e,t){xY(t)?e._appendElement(t,q.HTML):uX(e,t),t.ackSelfClosing=!0}function sX(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,q.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function cX(e,t){switch(t.tagID){case Y.TD:case Y.TH:case Y.TR:iX(e,t);break;case Y.STYLE:case Y.SCRIPT:case Y.TEMPLATE:KJ(e,t);break;case Y.COL:nX(e,t);break;case Y.FORM:sX(e,t);break;case Y.TABLE:aX(e,t);break;case Y.TBODY:case Y.TFOOT:case Y.THEAD:rX(e,t);break;case Y.INPUT:oX(e,t);break;case Y.CAPTION:eX(e,t);break;case Y.COLGROUP:tX(e,t);break;default:uX(e,t)}}function lX(e,t){switch(t.tagID){case Y.TABLE:e.openElements.hasInTableScope(Y.TABLE)&&(e.openElements.popUntilTagNamePopped(Y.TABLE),e._resetInsertionMode());break;case Y.TEMPLATE:JJ(e,t);break;case Y.BODY:case Y.CAPTION:case Y.COL:case Y.COLGROUP:case Y.HTML:case Y.TBODY:case Y.TD:case Y.TFOOT:case Y.TH:case Y.THEAD:case Y.TR:break;default:uX(e,t)}}function uX(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,nY(e,t),e.fosterParentingEnabled=n}function dX(e,t){e.pendingCharacterTokens.push(t)}function fX(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function pX(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)uX(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}var mX=new Set([Y.CAPTION,Y.COL,Y.COLGROUP,Y.TBODY,Y.TD,Y.TFOOT,Y.TH,Y.THEAD,Y.TR]);function hX(e,t){let n=t.tagID;mX.has(n)?e.openElements.hasInTableScope(Y.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(Y.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Q.IN_TABLE,cX(e,t)):LY(e,t)}function gX(e,t){let n=t.tagID;switch(n){case Y.CAPTION:case Y.TABLE:e.openElements.hasInTableScope(Y.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(Y.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Q.IN_TABLE,n===Y.TABLE&&lX(e,t));break;case Y.BODY:case Y.COL:case Y.COLGROUP:case Y.HTML:case Y.TBODY:case Y.TD:case Y.TFOOT:case Y.TH:case Y.THEAD:case Y.TR:break;default:YY(e,t)}}function _X(e,t){switch(t.tagID){case Y.HTML:LY(e,t);break;case Y.COL:e._appendElement(t,q.HTML),t.ackSelfClosing=!0;break;case Y.TEMPLATE:KJ(e,t);break;default:yX(e,t)}}function vX(e,t){switch(t.tagID){case Y.COLGROUP:e.openElements.currentTagId===Y.COLGROUP&&(e.openElements.pop(),e.insertionMode=Q.IN_TABLE);break;case Y.TEMPLATE:JJ(e,t);break;case Y.COL:break;default:yX(e,t)}}function yX(e,t){e.openElements.currentTagId===Y.COLGROUP&&(e.openElements.pop(),e.insertionMode=Q.IN_TABLE,e._processToken(t))}function bX(e,t){switch(t.tagID){case Y.TR:e.openElements.clearBackToTableBodyContext(),e._insertElement(t,q.HTML),e.insertionMode=Q.IN_ROW;break;case Y.TH:case Y.TD:e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(J.TR,Y.TR),e.insertionMode=Q.IN_ROW,SX(e,t);break;case Y.CAPTION:case Y.COL:case Y.COLGROUP:case Y.TBODY:case Y.TFOOT:case Y.THEAD:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=Q.IN_TABLE,cX(e,t));break;default:cX(e,t)}}function xX(e,t){let n=t.tagID;switch(t.tagID){case Y.TBODY:case Y.TFOOT:case Y.THEAD:e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=Q.IN_TABLE);break;case Y.TABLE:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=Q.IN_TABLE,lX(e,t));break;case Y.BODY:case Y.CAPTION:case Y.COL:case Y.COLGROUP:case Y.HTML:case Y.TD:case Y.TH:case Y.TR:break;default:lX(e,t)}}function SX(e,t){switch(t.tagID){case Y.TH:case Y.TD:e.openElements.clearBackToTableRowContext(),e._insertElement(t,q.HTML),e.insertionMode=Q.IN_CELL,e.activeFormattingElements.insertMarker();break;case Y.CAPTION:case Y.COL:case Y.COLGROUP:case Y.TBODY:case Y.TFOOT:case Y.THEAD:case Y.TR:e.openElements.hasInTableScope(Y.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Q.IN_TABLE_BODY,bX(e,t));break;default:cX(e,t)}}function CX(e,t){switch(t.tagID){case Y.TR:e.openElements.hasInTableScope(Y.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Q.IN_TABLE_BODY);break;case Y.TABLE:e.openElements.hasInTableScope(Y.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Q.IN_TABLE_BODY,xX(e,t));break;case Y.TBODY:case Y.TFOOT:case Y.THEAD:(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(Y.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=Q.IN_TABLE_BODY,xX(e,t));break;case Y.BODY:case Y.CAPTION:case Y.COL:case Y.COLGROUP:case Y.HTML:case Y.TD:case Y.TH:break;default:lX(e,t)}}function wX(e,t){let n=t.tagID;mX.has(n)?(e.openElements.hasInTableScope(Y.TD)||e.openElements.hasInTableScope(Y.TH))&&(e._closeTableCell(),SX(e,t)):LY(e,t)}function TX(e,t){let n=t.tagID;switch(n){case Y.TD:case Y.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Q.IN_ROW);break;case Y.TABLE:case Y.TBODY:case Y.TFOOT:case Y.THEAD:case Y.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),CX(e,t));break;case Y.BODY:case Y.CAPTION:case Y.COL:case Y.COLGROUP:case Y.HTML:break;default:YY(e,t)}}function EX(e,t){switch(t.tagID){case Y.HTML:LY(e,t);break;case Y.OPTION:e.openElements.currentTagId===Y.OPTION&&e.openElements.pop(),e._insertElement(t,q.HTML);break;case Y.OPTGROUP:e.openElements.currentTagId===Y.OPTION&&e.openElements.pop(),e.openElements.currentTagId===Y.OPTGROUP&&e.openElements.pop(),e._insertElement(t,q.HTML);break;case Y.HR:e.openElements.currentTagId===Y.OPTION&&e.openElements.pop(),e.openElements.currentTagId===Y.OPTGROUP&&e.openElements.pop(),e._appendElement(t,q.HTML),t.ackSelfClosing=!0;break;case Y.INPUT:case Y.KEYGEN:case Y.TEXTAREA:case Y.SELECT:e.openElements.hasInSelectScope(Y.SELECT)&&(e.openElements.popUntilTagNamePopped(Y.SELECT),e._resetInsertionMode(),t.tagID!==Y.SELECT&&e._processStartTag(t));break;case Y.SCRIPT:case Y.TEMPLATE:KJ(e,t);break;default:}}function DX(e,t){switch(t.tagID){case Y.OPTGROUP:e.openElements.stackTop>0&&e.openElements.currentTagId===Y.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===Y.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===Y.OPTGROUP&&e.openElements.pop();break;case Y.OPTION:e.openElements.currentTagId===Y.OPTION&&e.openElements.pop();break;case Y.SELECT:e.openElements.hasInSelectScope(Y.SELECT)&&(e.openElements.popUntilTagNamePopped(Y.SELECT),e._resetInsertionMode());break;case Y.TEMPLATE:JJ(e,t);break;default:}}function OX(e,t){let n=t.tagID;n===Y.CAPTION||n===Y.TABLE||n===Y.TBODY||n===Y.TFOOT||n===Y.THEAD||n===Y.TR||n===Y.TD||n===Y.TH?(e.openElements.popUntilTagNamePopped(Y.SELECT),e._resetInsertionMode(),e._processStartTag(t)):EX(e,t)}function kX(e,t){let n=t.tagID;n===Y.CAPTION||n===Y.TABLE||n===Y.TBODY||n===Y.TFOOT||n===Y.THEAD||n===Y.TR||n===Y.TD||n===Y.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(Y.SELECT),e._resetInsertionMode(),e.onEndTag(t)):DX(e,t)}function AX(e,t){switch(t.tagID){case Y.BASE:case Y.BASEFONT:case Y.BGSOUND:case Y.LINK:case Y.META:case Y.NOFRAMES:case Y.SCRIPT:case Y.STYLE:case Y.TEMPLATE:case Y.TITLE:KJ(e,t);break;case Y.CAPTION:case Y.COLGROUP:case Y.TBODY:case Y.TFOOT:case Y.THEAD:e.tmplInsertionModeStack[0]=Q.IN_TABLE,e.insertionMode=Q.IN_TABLE,cX(e,t);break;case Y.COL:e.tmplInsertionModeStack[0]=Q.IN_COLUMN_GROUP,e.insertionMode=Q.IN_COLUMN_GROUP,_X(e,t);break;case Y.TR:e.tmplInsertionModeStack[0]=Q.IN_TABLE_BODY,e.insertionMode=Q.IN_TABLE_BODY,bX(e,t);break;case Y.TD:case Y.TH:e.tmplInsertionModeStack[0]=Q.IN_ROW,e.insertionMode=Q.IN_ROW,SX(e,t);break;default:e.tmplInsertionModeStack[0]=Q.IN_BODY,e.insertionMode=Q.IN_BODY,LY(e,t)}}function jX(e,t){t.tagID===Y.TEMPLATE&&JJ(e,t)}function MX(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(Y.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):LJ(e,t)}function NX(e,t){t.tagID===Y.HTML?LY(e,t):FX(e,t)}function PX(e,t){if(t.tagID===Y.HTML){if(e.fragmentContext||(e.insertionMode=Q.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===Y.HTML){e._setEndLocation(e.openElements.items[0],t);let n=e.openElements.items[1];n&&!e.treeAdapter.getNodeSourceCodeLocation(n)?.endTag&&e._setEndLocation(n,t)}}else FX(e,t)}function FX(e,t){e.insertionMode=Q.IN_BODY,nY(e,t)}function IX(e,t){switch(t.tagID){case Y.HTML:LY(e,t);break;case Y.FRAMESET:e._insertElement(t,q.HTML);break;case Y.FRAME:e._appendElement(t,q.HTML),t.ackSelfClosing=!0;break;case Y.NOFRAMES:KJ(e,t);break;default:}}function LX(e,t){t.tagID===Y.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==Y.FRAMESET&&(e.insertionMode=Q.AFTER_FRAMESET))}function RX(e,t){switch(t.tagID){case Y.HTML:LY(e,t);break;case Y.NOFRAMES:KJ(e,t);break;default:}}function zX(e,t){t.tagID===Y.HTML&&(e.insertionMode=Q.AFTER_AFTER_FRAMESET)}function BX(e,t){t.tagID===Y.HTML?LY(e,t):VX(e,t)}function VX(e,t){e.insertionMode=Q.IN_BODY,nY(e,t)}function HX(e,t){switch(t.tagID){case Y.HTML:LY(e,t);break;case Y.NOFRAMES:KJ(e,t);break;default:}}function UX(e,t){t.chars=`�`,e._insertCharacters(t)}function WX(e,t){e._insertCharacters(t),e.framesetOk=!1}function GX(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==q.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function KX(e,t){if(fJ(t))GX(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===q.MATHML?pJ(t):r===q.SVG&&(gJ(t),mJ(t)),hJ(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function qX(e,t){if(t.tagID===Y.P||t.tagID===Y.BR){GX(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===q.HTML){e._endTagOutsideForeignContent(t);break}let i=e.treeAdapter.getTagName(r);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(n);break}}}J.AREA,J.BASE,J.BASEFONT,J.BGSOUND,J.BR,J.COL,J.EMBED,J.FRAME,J.HR,J.IMG,J.INPUT,J.KEYGEN,J.LINK,J.META,J.PARAM,J.SOURCE,J.TRACK,J.WBR;function JX(e,t){return EJ.parse(e,t)}function YX(e,t,n){typeof e==`string`&&(n=t,t=e,e=null);let r=EJ.getFragmentParser(e,n);return r.tokenizer.write(t,!0),r.getFragment()}function XX(e){return!e||typeof e!=`object`?``:`position`in e||`type`in e?QX(e.position):`start`in e||`end`in e?QX(e):`line`in e||`column`in e?ZX(e):``}function ZX(e){return $X(e&&e.line)+`:`+$X(e&&e.column)}function QX(e){return ZX(e&&e.start)+`-`+ZX(e&&e.end)}function $X(e){return e&&typeof e==`number`?e:1}var eZ=class extends Error{constructor(e,t,n){super(),typeof t==`string`&&(n=t,t=void 0);let r=``,i={},a=!1;if(t&&(i=`line`in t&&`column`in t||`start`in t&&`end`in t?{place:t}:`type`in t?{ancestors:[t],place:t.position}:{...t}),typeof e==`string`?r=e:!i.cause&&e&&(a=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&typeof n==`string`){let e=n.indexOf(`:`);e===-1?i.ruleId=n:(i.source=n.slice(0,e),i.ruleId=n.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){let e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}let o=i.place&&`start`in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=o?o.line:void 0,this.name=XX(i.place)||`1:1`,this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=a&&i.cause&&typeof i.cause.stack==`string`?i.cause.stack:``,this.actual,this.expected,this.note,this.url}};eZ.prototype.file=``,eZ.prototype.name=``,eZ.prototype.reason=``,eZ.prototype.message=``,eZ.prototype.stack=``,eZ.prototype.column=void 0,eZ.prototype.line=void 0,eZ.prototype.ancestors=void 0,eZ.prototype.cause=void 0,eZ.prototype.fatal=void 0,eZ.prototype.place=void 0,eZ.prototype.ruleId=void 0,eZ.prototype.source=void 0;var tZ={basename:nZ,dirname:rZ,extname:iZ,join:aZ,sep:`/`};function nZ(e,t){if(t!==void 0&&typeof t!=`string`)throw TypeError(`"ext" argument must be a string`);cZ(e);let n=0,r=-1,i=e.length,a;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else r<0&&(a=!0,r=i+1);return r<0?``:e.slice(n,r)}if(t===e)return``;let o=-1,s=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(a){n=i+1;break}}else o<0&&(a=!0,o=i+1),s>-1&&(e.codePointAt(i)===t.codePointAt(s--)?s<0&&(r=i):(s=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function rZ(e){if(cZ(e),e.length===0)return`.`;let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||=!0;return t<0?e.codePointAt(0)===47?`/`:`.`:t===1&&e.codePointAt(0)===47?`//`:e.slice(0,t)}function iZ(e){cZ(e);let t=e.length,n=-1,r=0,i=-1,a=0,o;for(;t--;){let s=e.codePointAt(t);if(s===47){if(o){r=t+1;break}continue}n<0&&(o=!0,n=t+1),s===46?i<0?i=t:a!==1&&(a=1):i>-1&&(a=-1)}return i<0||n<0||a===0||a===1&&i===n-1&&i===r+1?``:e.slice(i,n)}function aZ(...e){let t=-1,n;for(;++t<e.length;)cZ(e[t]),e[t]&&(n=n===void 0?e[t]:n+`/`+e[t]);return n===void 0?`.`:oZ(n)}function oZ(e){cZ(e);let t=e.codePointAt(0)===47,n=sZ(e,!t);return n.length===0&&!t&&(n=`.`),n.length>0&&e.codePointAt(e.length-1)===47&&(n+=`/`),t?`/`+n:n}function sZ(e,t){let n=``,r=0,i=-1,a=0,o=-1,s,c;for(;++o<=e.length;){if(o<e.length)s=e.codePointAt(o);else if(s===47)break;else s=47;if(s===47){if(!(i===o-1||a===1))if(i!==o-1&&a===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(c=n.lastIndexOf(`/`),c!==n.length-1){c<0?(n=``,r=0):(n=n.slice(0,c),r=n.length-1-n.lastIndexOf(`/`)),i=o,a=0;continue}}else if(n.length>0){n=``,r=0,i=o,a=0;continue}}t&&(n=n.length>0?n+`/..`:`..`,r=2)}else n.length>0?n+=`/`+e.slice(i+1,o):n=e.slice(i+1,o),r=o-i-1;i=o,a=0}else s===46&&a>-1?a++:a=-1}return n}function cZ(e){if(typeof e!=`string`)throw TypeError(`Path must be a string. Received `+JSON.stringify(e))}var lZ={cwd:uZ};function uZ(){return`/`}function dZ(e){return!!(typeof e==`object`&&e&&`href`in e&&e.href&&`protocol`in e&&e.protocol&&e.auth===void 0)}function fZ(e){if(typeof e==`string`)e=new URL(e);else if(!dZ(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code=`ERR_INVALID_ARG_TYPE`,t}if(e.protocol!==`file:`){let e=TypeError(`The URL must be of scheme file`);throw e.code=`ERR_INVALID_URL_SCHEME`,e}return pZ(e)}function pZ(e){if(e.hostname!==``){let e=TypeError(`File URL host must be "localhost" or empty on darwin`);throw e.code=`ERR_INVALID_FILE_URL_HOST`,e}let t=e.pathname,n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){let e=t.codePointAt(n+2);if(e===70||e===102){let e=TypeError(`File URL path must not include encoded / characters`);throw e.code=`ERR_INVALID_FILE_URL_PATH`,e}}return decodeURIComponent(t)}var mZ=[`history`,`path`,`basename`,`stem`,`extname`,`dirname`],hZ=class{constructor(e){let t;t=e?dZ(e)?{path:e}:typeof e==`string`||yZ(e)?{value:e}:e:{},this.cwd=`cwd`in t?``:lZ.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<mZ.length;){let e=mZ[n];e in t&&t[e]!==void 0&&t[e]!==null&&(this[e]=e===`history`?[...t[e]]:t[e])}let r;for(r in t)mZ.includes(r)||(this[r]=t[r])}get basename(){return typeof this.path==`string`?tZ.basename(this.path):void 0}set basename(e){_Z(e,`basename`),gZ(e,`basename`),this.path=tZ.join(this.dirname||``,e)}get dirname(){return typeof this.path==`string`?tZ.dirname(this.path):void 0}set dirname(e){vZ(this.basename,`dirname`),this.path=tZ.join(e||``,this.basename)}get extname(){return typeof this.path==`string`?tZ.extname(this.path):void 0}set extname(e){if(gZ(e,`extname`),vZ(this.dirname,`extname`),e){if(e.codePointAt(0)!==46)throw Error("`extname` must start with `.`");if(e.includes(`.`,1))throw Error("`extname` cannot contain multiple dots")}this.path=tZ.join(this.dirname,this.stem+(e||``))}get path(){return this.history[this.history.length-1]}set path(e){dZ(e)&&(e=fZ(e)),_Z(e,`path`),this.path!==e&&this.history.push(e)}get stem(){return typeof this.path==`string`?tZ.basename(this.path,this.extname):void 0}set stem(e){_Z(e,`stem`),gZ(e,`stem`),this.path=tZ.join(this.dirname||``,e+(this.extname||``))}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){let r=new eZ(e,t,n);return this.path&&(r.name=this.path+`:`+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){return this.value===void 0?``:typeof this.value==`string`?this.value:new TextDecoder(e||void 0).decode(this.value)}};function gZ(e,t){if(e&&e.includes(tZ.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+tZ.sep+"`")}function _Z(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function vZ(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}function yZ(e){return!!(e&&typeof e==`object`&&`byteLength`in e&&`byteOffset`in e)}var bZ={abandonedHeadElementChild:{reason:`Unexpected metadata element after head`,description:"Unexpected element after head. Expected the element before `</head>`",url:!1},abruptClosingOfEmptyComment:{reason:`Unexpected abruptly closed empty comment`,description:"Unexpected `>` or `->`. Expected `-->` to close comments"},abruptDoctypePublicIdentifier:{reason:`Unexpected abruptly closed public identifier`,description:"Unexpected `>`. Expected a closing `\"` or `'` after the public identifier"},abruptDoctypeSystemIdentifier:{reason:`Unexpected abruptly closed system identifier`,description:"Unexpected `>`. Expected a closing `\"` or `'` after the identifier identifier"},absenceOfDigitsInNumericCharacterReference:{reason:`Unexpected non-digit at start of numeric character reference`,description:"Unexpected `%c`. Expected `[0-9]` for decimal references or `[0-9a-fA-F]` for hexadecimal references"},cdataInHtmlContent:{reason:`Unexpected CDATA section in HTML`,description:"Unexpected `<![CDATA[` in HTML. Remove it, use a comment, or encode special characters instead"},characterReferenceOutsideUnicodeRange:{reason:`Unexpected too big numeric character reference`,description:`Unexpectedly high character reference. Expected character references to be at most hexadecimal 10ffff (or decimal 1114111)`},closingOfElementWithOpenChildElements:{reason:`Unexpected closing tag with open child elements`,description:`Unexpectedly closing tag. Expected other tags to be closed first`,url:!1},controlCharacterInInputStream:{reason:`Unexpected control character`,description:"Unexpected control character `%x`. Expected a non-control code point, 0x00, or ASCII whitespace"},controlCharacterReference:{reason:`Unexpected control character reference`,description:`Unexpectedly control character in reference. Expected a non-control code point, 0x00, or ASCII whitespace`},disallowedContentInNoscriptInHead:{reason:"Disallowed content inside `<noscript>` in `<head>`",description:"Unexpected text character `%c`. Only use text in `<noscript>`s in `<body>`",url:!1},duplicateAttribute:{reason:`Unexpected duplicate attribute`,description:`Unexpectedly double attribute. Expected attributes to occur only once`},endTagWithAttributes:{reason:`Unexpected attribute on closing tag`,description:"Unexpected attribute. Expected `>` instead"},endTagWithTrailingSolidus:{reason:`Unexpected slash at end of closing tag`,description:"Unexpected `%c-1`. Expected `>` instead"},endTagWithoutMatchingOpenElement:{reason:`Unexpected unopened end tag`,description:`Unexpected end tag. Expected no end tag or another end tag`,url:!1},eofBeforeTagName:{reason:`Unexpected end of file`,description:`Unexpected end of file. Expected tag name instead`},eofInCdata:{reason:`Unexpected end of file in CDATA`,description:"Unexpected end of file. Expected `]]>` to close the CDATA"},eofInComment:{reason:`Unexpected end of file in comment`,description:"Unexpected end of file. Expected `-->` to close the comment"},eofInDoctype:{reason:`Unexpected end of file in doctype`,description:"Unexpected end of file. Expected a valid doctype (such as `<!doctype html>`)"},eofInElementThatCanContainOnlyText:{reason:`Unexpected end of file in element that can only contain text`,description:`Unexpected end of file. Expected text or a closing tag`,url:!1},eofInScriptHtmlCommentLikeText:{reason:`Unexpected end of file in comment inside script`,description:"Unexpected end of file. Expected `-->` to close the comment"},eofInTag:{reason:`Unexpected end of file in tag`,description:"Unexpected end of file. Expected `>` to close the tag"},incorrectlyClosedComment:{reason:`Incorrectly closed comment`,description:"Unexpected `%c-1`. Expected `-->` to close the comment"},incorrectlyOpenedComment:{reason:`Incorrectly opened comment`,description:"Unexpected `%c`. Expected `<!--` to open the comment"},invalidCharacterSequenceAfterDoctypeName:{reason:`Invalid sequence after doctype name`,description:"Unexpected sequence at `%c`. Expected `public` or `system`"},invalidFirstCharacterOfTagName:{reason:`Invalid first character in tag name`,description:"Unexpected `%c`. Expected an ASCII letter instead"},misplacedDoctype:{reason:`Misplaced doctype`,description:`Unexpected doctype. Expected doctype before head`,url:!1},misplacedStartTagForHeadElement:{reason:"Misplaced `<head>` start tag",description:"Unexpected start tag `<head>`. Expected `<head>` directly after doctype",url:!1},missingAttributeValue:{reason:`Missing attribute value`,description:"Unexpected `%c-1`. Expected an attribute value or no `%c-1` instead"},missingDoctype:{reason:`Missing doctype before other content`,description:"Expected a `<!doctype html>` before anything else",url:!1},missingDoctypeName:{reason:`Missing doctype name`,description:"Unexpected doctype end at `%c`. Expected `html` instead"},missingDoctypePublicIdentifier:{reason:`Missing public identifier in doctype`,description:"Unexpected `%c`. Expected identifier for `public` instead"},missingDoctypeSystemIdentifier:{reason:`Missing system identifier in doctype`,description:'Unexpected `%c`. Expected identifier for `system` instead (suggested: `"about:legacy-compat"`)'},missingEndTagName:{reason:`Missing name in end tag`,description:"Unexpected `%c`. Expected an ASCII letter instead"},missingQuoteBeforeDoctypePublicIdentifier:{reason:`Missing quote before public identifier in doctype`,description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingQuoteBeforeDoctypeSystemIdentifier:{reason:`Missing quote before system identifier in doctype`,description:"Unexpected `%c`. Expected `\"` or `'` instead"},missingSemicolonAfterCharacterReference:{reason:`Missing semicolon after character reference`,description:"Unexpected `%c`. Expected `;` instead"},missingWhitespaceAfterDoctypePublicKeyword:{reason:`Missing whitespace after public identifier in doctype`,description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceAfterDoctypeSystemKeyword:{reason:`Missing whitespace after system identifier in doctype`,description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBeforeDoctypeName:{reason:`Missing whitespace before doctype name`,description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenAttributes:{reason:`Missing whitespace between attributes`,description:"Unexpected `%c`. Expected ASCII whitespace instead"},missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:{reason:`Missing whitespace between public and system identifiers in doctype`,description:"Unexpected `%c`. Expected ASCII whitespace instead"},nestedComment:{reason:`Unexpected nested comment`,description:"Unexpected `<!--`. Expected `-->`"},nestedNoscriptInHead:{reason:"Unexpected nested `<noscript>` in `<head>`",description:"Unexpected `<noscript>`. Expected a closing tag or a meta element",url:!1},nonConformingDoctype:{reason:`Unexpected non-conforming doctype declaration`,description:'Expected `<!doctype html>` or `<!doctype html system "about:legacy-compat">`',url:!1},nonVoidHtmlElementStartTagWithTrailingSolidus:{reason:`Unexpected trailing slash on start tag of non-void element`,description:"Unexpected `/`. Expected `>` instead"},noncharacterCharacterReference:{reason:`Unexpected noncharacter code point referenced by character reference`,description:`Unexpected code point. Do not use noncharacters in HTML`},noncharacterInInputStream:{reason:`Unexpected noncharacter character`,description:"Unexpected code point `%x`. Do not use noncharacters in HTML"},nullCharacterReference:{reason:`Unexpected NULL character referenced by character reference`,description:`Unexpected code point. Do not use NULL characters in HTML`},openElementsLeftAfterEof:{reason:`Unexpected end of file`,description:`Unexpected end of file. Expected closing tag instead`,url:!1},surrogateCharacterReference:{reason:`Unexpected surrogate character referenced by character reference`,description:`Unexpected code point. Do not use lone surrogate characters in HTML`},surrogateInInputStream:{reason:`Unexpected surrogate character`,description:"Unexpected code point `%x`. Do not use lone surrogate characters in HTML"},unexpectedCharacterAfterDoctypeSystemIdentifier:{reason:`Invalid character after system identifier in doctype`,description:"Unexpected character at `%c`. Expected `>`"},unexpectedCharacterInAttributeName:{reason:`Unexpected character in attribute name`,description:"Unexpected `%c`. Expected whitespace, `/`, `>`, `=`, or probably an ASCII letter"},unexpectedCharacterInUnquotedAttributeValue:{reason:`Unexpected character in unquoted attribute value`,description:"Unexpected `%c`. Quote the attribute value to include it"},unexpectedEqualsSignBeforeAttributeName:{reason:`Unexpected equals sign before attribute name`,description:"Unexpected `%c`. Add an attribute name before it"},unexpectedNullCharacter:{reason:`Unexpected NULL character`,description:"Unexpected code point `%x`. Do not use NULL characters in HTML"},unexpectedQuestionMarkInsteadOfTagName:{reason:`Unexpected question mark instead of tag name`,description:"Unexpected `%c`. Expected an ASCII letter instead"},unexpectedSolidusInTag:{reason:`Unexpected slash in tag`,description:"Unexpected `%c-1`. Expected it followed by `>` or in a quoted attribute value"},unknownNamedCharacterReference:{reason:`Unexpected unknown named character reference`,description:`Unexpected character reference. Expected known named character references`}},xZ=`https://html.spec.whatwg.org/multipage/parsing.html#parse-error-`,SZ=/-[a-z]/g,CZ=/%c(?:([-+])(\d+))?/g,wZ=/%x/g,TZ={2:!0,1:!1,0:null},EZ={};function DZ(e,t){let n=t||EZ,r=n.onerror,i=e instanceof hZ?e:new hZ(e),a=n.fragment?YX:JX,o=String(i);return FK(a(o,{sourceCodeLocationInfo:!0,onParseError:n.onerror?s:null,scriptingEnabled:!1}),{file:i,space:n.space,verbose:n.verbose});function s(e){let t=e.code,a=OZ(t),s=n[a]??!0,c=typeof s==`number`?s:+!!s;if(c){let n=bZ[a],o=new eZ(l(n.reason),{place:{start:{line:e.startLine,column:e.startCol,offset:e.startOffset},end:{line:e.endLine,column:e.endCol,offset:e.endOffset}},ruleId:t,source:`hast-util-from-html`});i.path&&(o.file=i.path,o.name=i.path+`:`+o.name),o.fatal=TZ[c],o.note=l(n.description),o.url=n.url===!1?void 0:xZ+t,r(o)}function l(t){return t.replace(CZ,n).replace(wZ,r);function n(t,n,r){let i=(r?Number.parseInt(r,10):0)*(n===`-`?-1:1);return AZ(o.charAt(e.startOffset+i))}function r(){return jZ(o.charCodeAt(e.startOffset))}}}}function OZ(e){return e.replace(SZ,kZ)}function kZ(e){return e.charAt(1).toUpperCase()}function AZ(e){return e==="`"?"` ` `":e}function jZ(e){return`0x`+e.toString(16).toUpperCase()}function MZ(e){let t=this,{emitParseErrors:n,...r}={...t.data(`settings`),...e};t.parser=i;function i(e,t){return DZ(e,{...r,onerror:n?function(e){t.path&&(e.name=t.path+`:`+e.name,e.file=t.path),t.messages.push(e)}:void 0})}}var NZ=[`area`,`base`,`basefont`,`bgsound`,`br`,`col`,`command`,`embed`,`frame`,`hr`,`image`,`img`,`input`,`keygen`,`link`,`meta`,`param`,`source`,`track`,`wbr`],PZ={}.hasOwnProperty;function FZ(e,t){let n=t||{};function r(t,...n){let i=r.invalid,a=r.handlers;if(t&&PZ.call(t,e)){let n=String(t[e]);i=PZ.call(a,n)?a[n]:r.unknown}if(i)return i.call(this,t,...n)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}var IZ=/["&'<>`]/g,LZ=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,RZ=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,zZ=/[|\\{}()[\]^$+*?.]/g,BZ=new WeakMap;function VZ(e,t){if(e=e.replace(t.subset?HZ(t.subset):IZ,r),t.subset||t.escapeOnly)return e;return e.replace(LZ,n).replace(RZ,r);function n(e,n,r){return t.format((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536,r.charCodeAt(n+2),t)}function r(e,n,r){return t.format(e.charCodeAt(0),r.charCodeAt(n+1),t)}}function HZ(e){let t=BZ.get(e);return t||(t=UZ(e),BZ.set(e,t)),t}function UZ(e){let t=[],n=-1;for(;++n<e.length;)t.push(e[n].replace(zZ,`\\$&`));return RegExp(`(?:`+t.join(`|`)+`)`,`g`)}var WZ=/[\dA-Fa-f]/;function GZ(e,t,n){let r=`&#x`+e.toString(16).toUpperCase();return n&&t&&!WZ.test(String.fromCharCode(t))?r:r+`;`}var KZ=/\d/;function qZ(e,t,n){let r=`&#`+String(e);return n&&t&&!KZ.test(String.fromCharCode(t))?r:r+`;`}var JZ=`AElig.AMP.Aacute.Acirc.Agrave.Aring.Atilde.Auml.COPY.Ccedil.ETH.Eacute.Ecirc.Egrave.Euml.GT.Iacute.Icirc.Igrave.Iuml.LT.Ntilde.Oacute.Ocirc.Ograve.Oslash.Otilde.Ouml.QUOT.REG.THORN.Uacute.Ucirc.Ugrave.Uuml.Yacute.aacute.acirc.acute.aelig.agrave.amp.aring.atilde.auml.brvbar.ccedil.cedil.cent.copy.curren.deg.divide.eacute.ecirc.egrave.eth.euml.frac12.frac14.frac34.gt.iacute.icirc.iexcl.igrave.iquest.iuml.laquo.lt.macr.micro.middot.nbsp.not.ntilde.oacute.ocirc.ograve.ordf.ordm.oslash.otilde.ouml.para.plusmn.pound.quot.raquo.reg.sect.shy.sup1.sup2.sup3.szlig.thorn.times.uacute.ucirc.ugrave.uml.uuml.yacute.yen.yuml`.split(`.`),YZ={nbsp:`\xA0`,iexcl:`¡`,cent:`¢`,pound:`£`,curren:`¤`,yen:`¥`,brvbar:`¦`,sect:`§`,uml:`¨`,copy:`©`,ordf:`ª`,laquo:`«`,not:`¬`,shy:``,reg:`®`,macr:`¯`,deg:`°`,plusmn:`±`,sup2:`²`,sup3:`³`,acute:`´`,micro:`µ`,para:`¶`,middot:`·`,cedil:`¸`,sup1:`¹`,ordm:`º`,raquo:`»`,frac14:`¼`,frac12:`½`,frac34:`¾`,iquest:`¿`,Agrave:`À`,Aacute:`Á`,Acirc:`Â`,Atilde:`Ã`,Auml:`Ä`,Aring:`Å`,AElig:`Æ`,Ccedil:`Ç`,Egrave:`È`,Eacute:`É`,Ecirc:`Ê`,Euml:`Ë`,Igrave:`Ì`,Iacute:`Í`,Icirc:`Î`,Iuml:`Ï`,ETH:`Ð`,Ntilde:`Ñ`,Ograve:`Ò`,Oacute:`Ó`,Ocirc:`Ô`,Otilde:`Õ`,Ouml:`Ö`,times:`×`,Oslash:`Ø`,Ugrave:`Ù`,Uacute:`Ú`,Ucirc:`Û`,Uuml:`Ü`,Yacute:`Ý`,THORN:`Þ`,szlig:`ß`,agrave:`à`,aacute:`á`,acirc:`â`,atilde:`ã`,auml:`ä`,aring:`å`,aelig:`æ`,ccedil:`ç`,egrave:`è`,eacute:`é`,ecirc:`ê`,euml:`ë`,igrave:`ì`,iacute:`í`,icirc:`î`,iuml:`ï`,eth:`ð`,ntilde:`ñ`,ograve:`ò`,oacute:`ó`,ocirc:`ô`,otilde:`õ`,ouml:`ö`,divide:`÷`,oslash:`ø`,ugrave:`ù`,uacute:`ú`,ucirc:`û`,uuml:`ü`,yacute:`ý`,thorn:`þ`,yuml:`ÿ`,fnof:`ƒ`,Alpha:`Α`,Beta:`Β`,Gamma:`Γ`,Delta:`Δ`,Epsilon:`Ε`,Zeta:`Ζ`,Eta:`Η`,Theta:`Θ`,Iota:`Ι`,Kappa:`Κ`,Lambda:`Λ`,Mu:`Μ`,Nu:`Ν`,Xi:`Ξ`,Omicron:`Ο`,Pi:`Π`,Rho:`Ρ`,Sigma:`Σ`,Tau:`Τ`,Upsilon:`Υ`,Phi:`Φ`,Chi:`Χ`,Psi:`Ψ`,Omega:`Ω`,alpha:`α`,beta:`β`,gamma:`γ`,delta:`δ`,epsilon:`ε`,zeta:`ζ`,eta:`η`,theta:`θ`,iota:`ι`,kappa:`κ`,lambda:`λ`,mu:`μ`,nu:`ν`,xi:`ξ`,omicron:`ο`,pi:`π`,rho:`ρ`,sigmaf:`ς`,sigma:`σ`,tau:`τ`,upsilon:`υ`,phi:`φ`,chi:`χ`,psi:`ψ`,omega:`ω`,thetasym:`ϑ`,upsih:`ϒ`,piv:`ϖ`,bull:`•`,hellip:`…`,prime:`′`,Prime:`″`,oline:`‾`,frasl:`⁄`,weierp:`℘`,image:`ℑ`,real:`ℜ`,trade:`™`,alefsym:`ℵ`,larr:`←`,uarr:`↑`,rarr:`→`,darr:`↓`,harr:`↔`,crarr:`↵`,lArr:`⇐`,uArr:`⇑`,rArr:`⇒`,dArr:`⇓`,hArr:`⇔`,forall:`∀`,part:`∂`,exist:`∃`,empty:`∅`,nabla:`∇`,isin:`∈`,notin:`∉`,ni:`∋`,prod:`∏`,sum:`∑`,minus:`−`,lowast:`∗`,radic:`√`,prop:`∝`,infin:`∞`,ang:`∠`,and:`∧`,or:`∨`,cap:`∩`,cup:`∪`,int:`∫`,there4:`∴`,sim:`∼`,cong:`≅`,asymp:`≈`,ne:`≠`,equiv:`≡`,le:`≤`,ge:`≥`,sub:`⊂`,sup:`⊃`,nsub:`⊄`,sube:`⊆`,supe:`⊇`,oplus:`⊕`,otimes:`⊗`,perp:`⊥`,sdot:`⋅`,lceil:`⌈`,rceil:`⌉`,lfloor:`⌊`,rfloor:`⌋`,lang:`〈`,rang:`〉`,loz:`◊`,spades:`♠`,clubs:`♣`,hearts:`♥`,diams:`♦`,quot:`"`,amp:`&`,lt:`<`,gt:`>`,OElig:`Œ`,oelig:`œ`,Scaron:`Š`,scaron:`š`,Yuml:`Ÿ`,circ:`ˆ`,tilde:`˜`,ensp:` `,emsp:` `,thinsp:` `,zwnj:``,zwj:``,lrm:``,rlm:``,ndash:`–`,mdash:`—`,lsquo:`‘`,rsquo:`’`,sbquo:`‚`,ldquo:`“`,rdquo:`”`,bdquo:`„`,dagger:`†`,Dagger:`‡`,permil:`‰`,lsaquo:`‹`,rsaquo:`›`,euro:`€`},XZ=[`cent`,`copy`,`divide`,`gt`,`lt`,`not`,`para`,`times`],ZZ={}.hasOwnProperty,QZ={},$Z;for($Z in YZ)ZZ.call(YZ,$Z)&&(QZ[YZ[$Z]]=$Z);var eQ=/[^\dA-Za-z]/;function tQ(e,t,n,r){let i=String.fromCharCode(e);if(ZZ.call(QZ,i)){let e=QZ[i],a=`&`+e;return n&&JZ.includes(e)&&!XZ.includes(e)&&(!r||t&&t!==61&&eQ.test(String.fromCharCode(t)))?a:a+`;`}return``}function nQ(e,t,n){let r=GZ(e,t,n.omitOptionalSemicolons),i;if((n.useNamedReferences||n.useShortestReferences)&&(i=tQ(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!i)&&n.useShortestReferences){let i=qZ(e,t,n.omitOptionalSemicolons);i.length<r.length&&(r=i)}return i&&(!n.useShortestReferences||i.length<r.length)?i:r}function rQ(e,t){return VZ(e,Object.assign({format:nQ},t))}var iQ=/^>|^->|<!--|-->|--!>|<!-$/g,aQ=[`>`],oQ=[`<`,`>`];function sQ(e,t,n,r){return r.settings.bogusComments?`<?`+rQ(e.value,Object.assign({},r.settings.characterReferences,{subset:aQ}))+`>`:`<!--`+e.value.replace(iQ,i)+`-->`;function i(e){return rQ(e,Object.assign({},r.settings.characterReferences,{subset:oQ}))}}function cQ(e,t,n,r){return`<!`+(r.settings.upperDoctype?`DOCTYPE`:`doctype`)+(r.settings.tightDoctype?``:` `)+`html>`}function lQ(e,t){let n=String(e);if(typeof t!=`string`)throw TypeError(`Expected character`);let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}var uQ=/[ \t\n\f\r]/g;function dQ(e){return typeof e==`object`?e.type===`text`&&fQ(e.value):fQ(e)}function fQ(e){return e.replace(uQ,``)===``}var pQ=gQ(1),mQ=gQ(-1),hQ=[];function gQ(e){return t;function t(t,n,r){let i=t?t.children:hQ,a=(n||0)+e,o=i[a];if(!r)for(;o&&dQ(o);)a+=e,o=i[a];return o}}var _Q={}.hasOwnProperty;function vQ(e){return t;function t(t,n,r){return _Q.call(e,t.tagName)&&e[t.tagName](t,n,r)}}var yQ=vQ({body:SQ,caption:bQ,colgroup:bQ,dd:EQ,dt:TQ,head:bQ,html:xQ,li:wQ,optgroup:OQ,option:kQ,p:CQ,rp:DQ,rt:DQ,tbody:jQ,td:PQ,tfoot:MQ,th:PQ,thead:AQ,tr:NQ});function bQ(e,t,n){let r=pQ(n,t,!0);return!r||r.type!==`comment`&&!(r.type===`text`&&dQ(r.value.charAt(0)))}function xQ(e,t,n){let r=pQ(n,t);return!r||r.type!==`comment`}function SQ(e,t,n){let r=pQ(n,t);return!r||r.type!==`comment`}function CQ(e,t,n){let r=pQ(n,t);return r?r.type===`element`&&(r.tagName===`address`||r.tagName===`article`||r.tagName===`aside`||r.tagName===`blockquote`||r.tagName===`details`||r.tagName===`div`||r.tagName===`dl`||r.tagName===`fieldset`||r.tagName===`figcaption`||r.tagName===`figure`||r.tagName===`footer`||r.tagName===`form`||r.tagName===`h1`||r.tagName===`h2`||r.tagName===`h3`||r.tagName===`h4`||r.tagName===`h5`||r.tagName===`h6`||r.tagName===`header`||r.tagName===`hgroup`||r.tagName===`hr`||r.tagName===`main`||r.tagName===`menu`||r.tagName===`nav`||r.tagName===`ol`||r.tagName===`p`||r.tagName===`pre`||r.tagName===`section`||r.tagName===`table`||r.tagName===`ul`):!n||!(n.type===`element`&&(n.tagName===`a`||n.tagName===`audio`||n.tagName===`del`||n.tagName===`ins`||n.tagName===`map`||n.tagName===`noscript`||n.tagName===`video`))}function wQ(e,t,n){let r=pQ(n,t);return!r||r.type===`element`&&r.tagName===`li`}function TQ(e,t,n){let r=pQ(n,t);return!!(r&&r.type===`element`&&(r.tagName===`dt`||r.tagName===`dd`))}function EQ(e,t,n){let r=pQ(n,t);return!r||r.type===`element`&&(r.tagName===`dt`||r.tagName===`dd`)}function DQ(e,t,n){let r=pQ(n,t);return!r||r.type===`element`&&(r.tagName===`rp`||r.tagName===`rt`)}function OQ(e,t,n){let r=pQ(n,t);return!r||r.type===`element`&&r.tagName===`optgroup`}function kQ(e,t,n){let r=pQ(n,t);return!r||r.type===`element`&&(r.tagName===`option`||r.tagName===`optgroup`)}function AQ(e,t,n){let r=pQ(n,t);return!!(r&&r.type===`element`&&(r.tagName===`tbody`||r.tagName===`tfoot`))}function jQ(e,t,n){let r=pQ(n,t);return!r||r.type===`element`&&(r.tagName===`tbody`||r.tagName===`tfoot`)}function MQ(e,t,n){return!pQ(n,t)}function NQ(e,t,n){let r=pQ(n,t);return!r||r.type===`element`&&r.tagName===`tr`}function PQ(e,t,n){let r=pQ(n,t);return!r||r.type===`element`&&(r.tagName===`td`||r.tagName===`th`)}var FQ=vQ({body:RQ,colgroup:zQ,head:LQ,html:IQ,tbody:BQ});function IQ(e){let t=pQ(e,-1);return!t||t.type!==`comment`}function LQ(e){let t=new Set;for(let n of e.children)if(n.type===`element`&&(n.tagName===`base`||n.tagName===`title`)){if(t.has(n.tagName))return!1;t.add(n.tagName)}let n=e.children[0];return!n||n.type===`element`}function RQ(e){let t=pQ(e,-1,!0);return!t||t.type!==`comment`&&!(t.type===`text`&&dQ(t.value.charAt(0)))&&!(t.type===`element`&&(t.tagName===`meta`||t.tagName===`link`||t.tagName===`script`||t.tagName===`style`||t.tagName===`template`))}function zQ(e,t,n){let r=mQ(n,t),i=pQ(e,-1,!0);return n&&r&&r.type===`element`&&r.tagName===`colgroup`&&yQ(r,n.children.indexOf(r),n)?!1:!!(i&&i.type===`element`&&i.tagName===`col`)}function BQ(e,t,n){let r=mQ(n,t),i=pQ(e,-1);return n&&r&&r.type===`element`&&(r.tagName===`thead`||r.tagName===`tbody`)&&yQ(r,n.children.indexOf(r),n)?!1:!!(i&&i.type===`element`&&i.tagName===`tr`)}var VQ={name:[[`
|
|
20
|
+
\f\r &/=>`.split(``),`
|
|
21
|
+
\f\r "&'/=>\``.split(``)],[`\0
|
|
22
|
+
\f\r "&'/<=>`.split(``),`\0
|
|
23
|
+
\f\r "&'/<=>\``.split(``)]],unquoted:[[`
|
|
24
|
+
\f\r &>`.split(``),`\0
|
|
25
|
+
\f\r "&'<=>\``.split(``)],[`\0
|
|
26
|
+
\f\r "&'<=>\``.split(``),`\0
|
|
27
|
+
\f\r "&'<=>\``.split(``)]],single:[[`&'`.split(``),`"&'\``.split(``)],[`\0&'`.split(``),`\0"&'\``.split(``)]],double:[[`"&`.split(``),`"&'\``.split(``)],[`\0"&`.split(``),`\0"&'\``.split(``)]]};function HQ(e,t,n,r){let i=r.schema,a=i.space!==`svg`&&r.settings.omitOptionalTags,o=i.space===`svg`?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase()),s=[],c;i.space===`html`&&e.tagName===`svg`&&(r.schema=dK);let l=UQ(r,e.properties),u=r.all(i.space===`html`&&e.tagName===`template`?e.content:e);return r.schema=i,u&&(o=!1),(l||!a||!FQ(e,t,n))&&(s.push(`<`,e.tagName,l?` `+l:``),o&&(i.space===`svg`||r.settings.closeSelfClosing)&&(c=l.charAt(l.length-1),(!r.settings.tightSelfClosing||c===`/`||c&&c!==`"`&&c!==`'`)&&s.push(` `),s.push(`/`)),s.push(`>`)),s.push(u),!o&&(!a||!yQ(e,t,n))&&s.push(`</`+e.tagName+`>`),s.join(``)}function UQ(e,t){let n=[],r=-1,i;if(t){for(i in t)if(t[i]!==null&&t[i]!==void 0){let r=WQ(e,i,t[i]);r&&n.push(r)}}for(;++r<n.length;){let t=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&t!==`"`&&t!==`'`&&(n[r]+=` `)}return n.join(``)}function WQ(e,t,n){let r=sK(e.schema,t),i=e.settings.allowParseErrors&&e.schema.space===`html`?0:1,a=+!e.settings.allowDangerousCharacters,o=e.quote,s;if(r.overloadedBoolean&&(n===r.attribute||n===``)?n=!0:(r.boolean||r.overloadedBoolean)&&(typeof n!=`string`||n===r.attribute||n===``)&&(n=!!n),n==null||n===!1||typeof n==`number`&&Number.isNaN(n))return``;let c=rQ(r.attribute,Object.assign({},e.settings.characterReferences,{subset:VQ.name[i][a]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?pK:_K)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?c:(e.settings.preferUnquoted&&(s=rQ(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:VQ.unquoted[i][a]}))),s!==n&&(e.settings.quoteSmart&&lQ(n,o)>lQ(n,e.alternative)&&(o=e.alternative),s=o+rQ(n,Object.assign({},e.settings.characterReferences,{subset:(o===`'`?VQ.single:VQ.double)[i][a],attribute:!0}))+o),c+(s&&`=`+s))}var GQ=[`<`,`&`];function KQ(e,t,n,r){return n&&n.type===`element`&&(n.tagName===`script`||n.tagName===`style`)?e.value:rQ(e.value,Object.assign({},r.settings.characterReferences,{subset:GQ}))}function qQ(e,t,n,r){return r.settings.allowDangerousHtml?e.value:KQ(e,t,n,r)}function JQ(e,t,n,r){return r.all(e)}var YQ=FZ(`type`,{invalid:XQ,unknown:ZQ,handlers:{comment:sQ,doctype:cQ,element:HQ,raw:qQ,root:JQ,text:KQ}});function XQ(e){throw Error("Expected node, not `"+e+"`")}function ZQ(e){throw Error("Cannot compile unknown node `"+e.type+"`")}var QQ={},$Q={},e$=[];function t$(e,t){let n=t||QQ,r=n.quote||`"`,i=r===`"`?`'`:`"`;if(r!==`"`&&r!==`'`)throw Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:n$,all:r$,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||NZ,characterReferences:n.characterReferences||$Q,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space===`svg`?dK:uK,quote:r,alternative:i}.one(Array.isArray(e)?{type:`root`,children:e}:e,void 0,void 0)}function n$(e,t,n){return YQ(e,t,n,this)}function r$(e){let t=[],n=e&&e.children||e$,r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join(``)}function i$(e){let t=this,n={...t.data(`settings`),...e};t.compiler=r;function r(e){return t$(e,n)}}function a$(e){if(e)throw e}var o$=NH(AH(((e,t)=>{var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=function(e){return typeof Array.isArray==`function`?Array.isArray(e):r.call(e)===`[object Array]`},s=function(e){if(!e||r.call(e)!==`[object Object]`)return!1;var t=n.call(e,`constructor`),i=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,`isPrototypeOf`);if(e.constructor&&!t&&!i)return!1;for(var a in e);return a===void 0||n.call(e,a)},c=function(e,t){i&&t.name===`__proto__`?i(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,t){if(t===`__proto__`){if(!n.call(e,t))return;if(a)return a(e,t).value}return e[t]};t.exports=function e(){var t,n,r,i,a,u,d=arguments[0],f=1,p=arguments.length,m=!1;for(typeof d==`boolean`&&(m=d,d=arguments[1]||{},f=2),(d==null||typeof d!=`object`&&typeof d!=`function`)&&(d={});f<p;++f)if(t=arguments[f],t!=null)for(n in t)r=l(d,n),i=l(t,n),d!==i&&(m&&i&&(s(i)||(a=o(i)))?(a?(a=!1,u=r&&o(r)?r:[]):u=r&&s(r)?r:{},c(d,{name:n,newValue:e(m,u,i)})):i!==void 0&&c(d,{name:n,newValue:i}));return d}}))(),1);function s$(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function c$(){let e=[],t={run:n,use:r};return t;function n(...t){let n=-1,r=t.pop();if(typeof r!=`function`)throw TypeError(`Expected function as last argument, not `+r);i(null,...t);function i(a,...o){let s=e[++n],c=-1;if(a){r(a);return}for(;++c<t.length;)(o[c]===null||o[c]===void 0)&&(o[c]=t[c]);t=o,s?l$(s,i)(...o):r(null,...o)}}function r(n){if(typeof n!=`function`)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}}function l$(e,t){let n;return r;function r(...t){let r=e.length>t.length,o;r&&t.push(i);try{o=e.apply(this,t)}catch(e){let t=e;if(r&&n)throw t;return i(t)}r||(o&&o.then&&typeof o.then==`function`?o.then(a,i):o instanceof Error?i(o):a(o))}function i(e,...r){n||(n=!0,t(e,...r))}function a(e){i(null,e)}}var u$=(function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r}),d$={}.hasOwnProperty,f$=new class e extends u${constructor(){super(`copy`),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=c$()}copy(){let t=new e,n=-1;for(;++n<this.attachers.length;){let e=this.attachers[n];t.use(...e)}return t.data((0,o$.default)(!0,{},this.namespace)),t}data(e,t){return typeof e==`string`?arguments.length===2?(h$(`data`,this.frozen),this.namespace[e]=t,this):d$.call(this.namespace,e)&&this.namespace[e]||void 0:e?(h$(`data`,this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;let e=this;for(;++this.freezeIndex<this.attachers.length;){let[t,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);let r=t.call(e,...n);typeof r==`function`&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=v$(e),n=this.parser||this.Parser;return p$(`parse`,n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),p$(`process`,this.parser||this.Parser),m$(`process`,this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,i){let a=v$(e),o=n.parse(a);n.run(o,a,function(e,t,r){if(e||!t||!r)return s(e);let i=t,a=n.stringify(i,r);b$(a)?r.value=a:r.result=a,s(e,r)});function s(e,n){e||!n?i(e):r?r(n):t(void 0,n)}}}processSync(e){let t=!1,n;return this.freeze(),p$(`processSync`,this.parser||this.Parser),m$(`processSync`,this.compiler||this.Compiler),this.process(e,r),_$(`processSync`,`process`,t),n;function r(e,r){t=!0,a$(e),n=r}}run(e,t,n){g$(e),this.freeze();let r=this.transformers;return!n&&typeof t==`function`&&(n=t,t=void 0),n?i(void 0,n):new Promise(i);function i(i,a){let o=v$(t);r.run(e,o,s);function s(t,r,o){let s=r||e;t?a(t):i?i(s):n(void 0,s,o)}}}runSync(e,t){let n=!1,r;return this.run(e,t,i),_$(`runSync`,`run`,n),r;function i(e,t){a$(e),r=t,n=!0}}stringify(e,t){this.freeze();let n=v$(t),r=this.compiler||this.Compiler;return m$(`stringify`,r),g$(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(h$(`use`,this.frozen),e!=null)if(typeof e==`function`)s(e,t);else if(typeof e==`object`)Array.isArray(e)?o(e):a(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function i(e){if(typeof e==`function`)s(e,[]);else if(typeof e==`object`)if(Array.isArray(e)){let[t,...n]=e;s(t,n)}else a(e);else throw TypeError("Expected usable value, not `"+e+"`")}function a(e){if(!(`plugins`in e)&&!(`settings`in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(e.plugins),e.settings&&(r.settings=(0,o$.default)(!0,r.settings,e.settings))}function o(e){let t=-1;if(e!=null)if(Array.isArray(e))for(;++t<e.length;){let n=e[t];i(n)}else throw TypeError("Expected a list of plugins, not `"+e+"`")}function s(e,t){let r=-1,i=-1;for(;++r<n.length;)if(n[r][0]===e){i=r;break}if(i===-1)n.push([e,...t]);else if(t.length>0){let[r,...a]=t,o=n[i][1];s$(o)&&s$(r)&&(r=(0,o$.default)(!0,o,r)),n[i]=[e,r,...a]}}}}().freeze();function p$(e,t){if(typeof t!=`function`)throw TypeError("Cannot `"+e+"` without `parser`")}function m$(e,t){if(typeof t!=`function`)throw TypeError("Cannot `"+e+"` without `compiler`")}function h$(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function g$(e){if(!s$(e)||typeof e.type!=`string`)throw TypeError("Expected node, got `"+e+"`")}function _$(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function v$(e){return y$(e)?e:new hZ(e)}function y$(e){return!!(e&&typeof e==`object`&&`message`in e&&`messages`in e)}function b$(e){return typeof e==`string`||x$(e)}function x$(e){return!!(e&&typeof e==`object`&&`byteLength`in e&&`byteOffset`in e)}function S$(e){return e?.type===`text`}function C$(e){return e?.type===`element`}function w$(e){return{type:`text`,value:e}}function T$(){return{type:`text`,value:`
|
|
28
|
+
`}}function E$(){return e=>{CH(e,`element`,(e,t,n)=>{if(n?.type===`element`&&n.tagName===`pre`&&e.tagName===`code`){let t=0;e.children=D$(e),e.children.forEach(e=>{if(e.type===`element`&&e.tagName===`span`){let n=e.children[e.children.length-1];n&&(!S$(n)||S$(n)&&!k$(n))&&(e.children.push(T$()),t++)}}),e.properties.style=[`--line-count: ${t};`,`--line-digits: ${t.toString().length};`]}})}}function D$(e,t=[],n){let r=()=>t[t.length-1]??(t.push(O$())&&t[t.length-1]||void 0);return e.children.forEach(i=>{if(S$(i)&&k$(i)){let a=i.value.split(/\n/);a.forEach((i,o)=>{n?r()?.children.push({...e,children:[w$(i)]}):r()?.children.push(w$(i)),o!==a.length-1&&t.push(O$())})}else C$(i)&&i.children.some(k$)?D$(i,t,!0):r()?.children.push(i)}),t}function O$(...e){return{type:`element`,tagName:`span`,properties:{class:[`line`]},children:e}}function k$(e){return S$(e)&&/\r?\n/.test(e.value)||C$(e)&&e.children.some(k$)}function A$(e,t){let n=(typeof t?.maskCredentials==`string`?[t.maskCredentials]:t?.maskCredentials??[]).filter(e=>!(e.length<3)),r=`language-${PH[t.lang]??t.lang}`,i=f$().use(MZ,{fragment:!0}).use(j$(e)).use(pU,{languages:t.languages}).use(t?.lineNumbers?E$:(()=>{})).use(i$).processSync(`<pre><code class="${r}"></code></pre>`).toString();return n.length?n.reduce((e,t)=>e.split(t).join(`<span class="credential"><span class="credential-value">${t}</span></span>`),i):i}function j$(e){return()=>t=>{CH(t,`element`,t=>{t.tagName===`code`&&t.children.push({type:`text`,value:e})})}}var M$=[`note`,`tip`,`important`,`warning`,`caution`,`success`];function N$(e){return e.type===`text`&&typeof e.value==`string`&&/^\s*$/.test(e.value)}function P$(){return e=>{CH(e,`element`,(e,t,n)=>{if(e.tagName!==`blockquote`||typeof t!=`number`||!n||n.type!==`root`)return;let r=e.children.findIndex(e=>!N$(e));if(r===-1)return;let i=e.children[r];if(!i||i.type!==`element`||i.tagName!==`p`)return;let a=i.children[0];if(!a||a.type!==`text`||!a.value.startsWith(`[!`))return;let o=a.value.indexOf(`]`);if(o===-1)return;let s=a.value.slice(2,o).toLowerCase();if(!M$.includes(s))return;if(o+1===a.value.length){let t=i.children[1];if(t){if(t.type!==`element`||t.tagName!==`br`||!i.children[2])return;i.children=i.children.slice(2);let e=i.children[0];e&&e.type===`text`&&e.value.charAt(0)===`
|
|
29
|
+
`&&(e.value=e.value.slice(1))}else{let t=r+1<e.children.length&&N$(e.children[r+1])?r+2:r+1;if(t>=e.children.length||e.children[t]?.type!==`element`)return;e.children=e.children.slice(t)}}else a.value.charAt(o+1)===`
|
|
30
|
+
`&&(o+2===a.value.length||!/^\s*$/.test(a.value.slice(o+2)))?a.value=a.value.slice(o+2):a.value=a.value.replace(/^\s*\[!.*?\]\s*/,``);let c=[];for(let t=r;t<e.children.length;t++){let n=e.children[t];n?.type===`element`&&n.tagName===`p`&&n.children?c.push(...n.children):c.push(n)}n.children[t]={type:`element`,tagName:`div`,properties:{className:[`markdown-alert`,`markdown-alert-${s}`]},children:[{type:`element`,tagName:`div`,properties:{className:[`markdown-alert-icon`]},children:[]},{type:`element`,tagName:`div`,properties:{className:[`markdown-alert-content`]},children:[{type:`text`,value:` `},...c]}]}})}}var F$=typeof self==`object`?self:globalThis,I$=(e,t)=>{let n=(t,n)=>(e.set(n,t),t),r=i=>{if(e.has(i))return e.get(i);let[a,o]=t[i];switch(a){case 0:case-1:return n(o,i);case 1:{let e=n([],i);for(let t of o)e.push(r(t));return e}case 2:{let e=n({},i);for(let[t,n]of o)e[r(t)]=r(n);return e}case 3:return n(new Date(o),i);case 4:{let{source:e,flags:t}=o;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of o)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,i);for(let t of o)e.add(r(t));return e}case 7:{let{name:e,message:t}=o;return n(new F$[e](t),i)}case 8:return n(BigInt(o),i);case`BigInt`:return n(Object(BigInt(o)),i)}return n(new F$[a](o),i)};return r},L$=e=>I$(new Map,e)(0),R$=``,{toString:z$}={},{keys:B$}=Object,V$=e=>{let t=typeof e;if(t!==`object`||!e)return[0,t];let n=z$.call(e).slice(8,-1);switch(n){case`Array`:return[1,R$];case`Object`:return[2,R$];case`Date`:return[3,R$];case`RegExp`:return[4,R$];case`Map`:return[5,R$];case`Set`:return[6,R$]}return n.includes(`Array`)?[1,n]:n.includes(`Error`)?[7,n]:[2,n]},H$=([e,t])=>e===0&&(t===`function`||t===`symbol`),U$=(e,t,n,r)=>{let i=(e,t)=>{let i=r.push(e)-1;return n.set(t,i),i},a=r=>{if(n.has(r))return n.get(r);let[o,s]=V$(r);switch(o){case 0:{let t=r;switch(s){case`bigint`:o=8,t=r.toString();break;case`function`:case`symbol`:if(e)throw TypeError(`unable to serialize `+s);t=null;break;case`undefined`:return i([-1],r)}return i([o,t],r)}case 1:{if(s)return i([s,[...r]],r);let e=[],t=i([o,e],r);for(let t of r)e.push(a(t));return t}case 2:{if(s)switch(s){case`BigInt`:return i([s,r.toString()],r);case`Boolean`:case`Number`:case`String`:return i([s,r.valueOf()],r)}if(t&&`toJSON`in r)return a(r.toJSON());let n=[],c=i([o,n],r);for(let t of B$(r))(e||!H$(V$(r[t])))&&n.push([a(t),a(r[t])]);return c}case 3:return i([o,r.toISOString()],r);case 4:{let{source:e,flags:t}=r;return i([o,{source:e,flags:t}],r)}case 5:{let t=[],n=i([o,t],r);for(let[n,i]of r)(e||!(H$(V$(n))||H$(V$(i))))&&t.push([a(n),a(i)]);return n}case 6:{let t=[],n=i([o,t],r);for(let n of r)(e||!H$(V$(n)))&&t.push(a(n));return n}}let{message:c}=r;return i([o,{name:s,message:c}],r)};return a},W$=(e,{json:t,lossy:n}={})=>{let r=[];return U$(!(t||n),!!t,new Map,r)(e),r},G$=typeof structuredClone==`function`?(e,t)=>t&&(`json`in t||`lossy`in t)?L$(W$(e,t)):structuredClone(e):(e,t)=>L$(W$(e,t)),K$=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,q$=/^[a-zA-Z]:\\/;function J$(e){if(typeof e!=`string`)throw TypeError(`Expected a \`string\`, got \`${typeof e}\``);return!q$.test(e)&&K$.test(e)}var Y$=[`http`,`https`],X$=[`nofollow`],Z$={};function Q$(e){let t=e||Z$,n=t.protocols||Y$,r=LH(t.test);return function(e){CH(e,`element`,function(e,i,a){if(e.tagName===`a`&&typeof e.properties.href==`string`&&r(e,i,a)){let r=e.properties.href;if(J$(r)?n.includes(r.slice(0,r.indexOf(`:`))):r.startsWith(`//`)){let n=$$(t.content,e),r=n&&!Array.isArray(n)?[n]:n,i=$$(t.rel,e)||X$,a=typeof i==`string`?gK(i):i,o=$$(t.target,e),s=$$(t.properties,e);if(s&&Object.assign(e.properties,G$(s)),a.length>0&&(e.properties.rel=[...a]),o&&(e.properties.target=o),r){let n=$$(t.contentProperties,e)||{};e.children.push({type:`element`,tagName:`span`,properties:G$(n),children:G$(r)})}}}})}}function $$(e,t){return typeof e==`function`?e(t):e}var e1=LH(function(e){return e.tagName===`audio`||e.tagName===`canvas`||e.tagName===`embed`||e.tagName===`iframe`||e.tagName===`img`||e.tagName===`math`||e.tagName===`object`||e.tagName===`picture`||e.tagName===`svg`||e.tagName===`video`}),t1=`address.article.aside.blockquote.body.br.caption.center.col.colgroup.dd.dialog.dir.div.dl.dt.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.legend.li.li.listing.main.menu.nav.ol.optgroup.option.p.plaintext.pre.section.summary.table.tbody.td.td.tfoot.th.th.thead.tr.ul.wbr.xmp`.split(`.`),n1=[`button`,`input`,`select`,`textarea`],r1=[`area`,`base`,`basefont`,`dialog`,`datalist`,`head`,`link`,`meta`,`noembed`,`noframes`,`param`,`rp`,`script`,`source`,`style`,`template`,`track`,`title`],i1={},a1=dH([`comment`,`doctype`]);function o1(e,t){s1(e,{collapse:v1((t||i1).newlines?g1:_1),whitespace:`normal`})}function s1(e,t){if(`children`in e){let n={...t};return(e.type===`root`||p1(e))&&(n.before=!0,n.after=!0),n.whitespace=y1(e,t),l1(e,n)}if(e.type===`text`){if(t.whitespace===`normal`)return c1(e,t);t.whitespace===`nowrap`&&(e.value=t.collapse(e.value))}return{ignore:a1(e),stripAtStart:!1,remove:!1}}function c1(e,t){let n=t.collapse(e.value),r={ignore:!1,stripAtStart:!1,remove:!1},i=0,a=n.length;return t.before&&h1(n.charAt(0))&&i++,i!==a&&h1(n.charAt(a-1))&&(t.after?a--:r.stripAtStart=!0),i===a?r.remove=!0:e.value=n.slice(i,a),r}function l1(e,t){let n=t.before,r=t.after,i=e.children,a=i.length,o=-1;for(;++o<a;){let e=s1(i[o],{...t,after:u1(i,o,r),before:n});e.remove?(i.splice(o,1),o--,a--):e.ignore||(n=e.stripAtStart),f1(i[o])&&(n=!1)}return{ignore:!1,stripAtStart:!!(n||r),remove:!1}}function u1(e,t,n){for(;++t<e.length;){let n=e[t],r=d1(n);if(r===void 0&&`children`in n&&!m1(n)&&(r=u1(n.children,-1)),typeof r==`boolean`)return r}return n}function d1(e){if(e.type===`element`){if(f1(e))return!1;if(p1(e))return!0}else if(e.type===`text`){if(!dQ(e))return!1}else if(!a1(e))return!1}function f1(e){return e1(e)||IH(e,n1)}function p1(e){return IH(e,t1)}function m1(e){return!!(e.type===`element`&&e.properties.hidden)||a1(e)||IH(e,r1)}function h1(e){return e===` `||e===`
|
|
31
|
+
`}function g1(e){let t=/\r?\n|\r/.exec(e);return t?t[0]:` `}function _1(){return` `}function v1(e){return t;function t(t){return String(t).replace(/[\t\n\v\f\r ]+/g,e)}}function y1(e,t){if(`tagName`in e&&e.properties)switch(e.tagName){case`listing`:case`plaintext`:case`script`:case`style`:case`xmp`:return`pre`;case`nobr`:return`nowrap`;case`pre`:return e.properties.wrap?`pre-wrap`:`pre`;case`td`:case`th`:return e.properties.noWrap?`nowrap`:t.whitespace;case`textarea`:return`pre-wrap`;default:}return t.whitespace}var b1={}.hasOwnProperty;function x1(e,t){let n=e.type===`element`&&b1.call(e.properties,t)&&e.properties[t];return n!=null&&n!==!1}var S1=new Set([`pingback`,`prefetch`,`stylesheet`]);function C1(e){if(e.type!==`element`||e.tagName!==`link`)return!1;if(e.properties.itemProp)return!0;let t=e.properties.rel,n=-1;if(!Array.isArray(t)||t.length===0)return!1;for(;++n<t.length;)if(!S1.has(String(t[n])))return!1;return!0}var w1=LH(`a.abbr.area.b.bdi.bdo.br.button.cite.code.data.datalist.del.dfn.em.i.input.ins.kbd.keygen.label.map.mark.meter.noscript.output.progress.q.ruby.s.samp.script.select.small.span.strong.sub.sup.template.textarea.time.u.var.wbr`.split(`.`)),T1=LH(`meta`);function E1(e){return!!(e.type===`text`||w1(e)||e1(e)||C1(e)||T1(e)&&x1(e,`itemProp`))}var D1=[`pre`,`script`,`style`,`textarea`],O1={};function k1(e,t){let n=t||O1,r={blanks:n.blanks||[],head:!1,indentInitial:n.indentInitial!==!1,indent:typeof n.indent==`number`?` `.repeat(n.indent):typeof n.indent==`string`?n.indent:` `};o1(e,{newlines:!0}),xH(e,i);function i(e,t){if(!(`children`in e))return;if(e.type===`element`&&e.tagName===`head`&&(r.head=!0),r.head&&e.type===`element`&&e.tagName===`body`&&(r.head=!1),e.type===`element`&&D1.includes(e.tagName))return bH;if(e.children.length===0||!j1(r,e))return;let n=t.length;r.indentInitial||n--;let i=!1;for(let t of e.children)(t.type===`comment`||t.type===`text`)&&(t.value.includes(`
|
|
32
|
+
`)&&(i=!0),t.value=t.value.replace(/ *\n/g,`$&`+r.indent.repeat(n)));let o=[],s;for(let t of e.children)(j1(r,t)||i&&!s)&&(a(o,n,t),i=!0),s=t,o.push(t);s&&(i||j1(r,s))&&(dQ(s)&&(o.pop(),s=o[o.length-1]),a(o,n-1)),e.children=o}function a(e,t,n){let i=e[e.length-1],a=i&&dQ(i)?e[e.length-2]:i,o=(A1(r,a)&&A1(r,n)?`
|
|
33
|
+
|
|
34
|
+
`:`
|
|
35
|
+
`)+r.indent.repeat(Math.max(t,0));i&&i.type===`text`?i.value=dQ(i)?o:i.value+o:e.push({type:`text`,value:o})}}function A1(e,t){return!!(t&&t.type===`element`&&e.blanks.length>0&&e.blanks.includes(t.tagName))}function j1(e,t){return t.type===`root`||(t.type===`element`?e.head||t.tagName===`script`||e1(t)||!E1(t):!1)}function M1(e){return function(t){k1(t,e)}}var N1={},P1={}.hasOwnProperty,F1=FZ(`type`,{handlers:{root:L1,element:H1,text:B1,comment:V1,doctype:z1}});function I1(e,t){let n=(t||N1).space;return F1(e,n===`svg`?dK:uK)}function L1(e,t){let n={nodeName:`#document`,mode:(e.data||{}).quirksMode?`quirks`:`no-quirks`,childNodes:[]};return n.childNodes=W1(e.children,n,t),G1(e,n),n}function R1(e,t){let n={nodeName:`#document-fragment`,childNodes:[]};return n.childNodes=W1(e.children,n,t),G1(e,n),n}function z1(e){let t={nodeName:`#documentType`,name:`html`,publicId:``,systemId:``,parentNode:null};return G1(e,t),t}function B1(e){let t={nodeName:`#text`,value:e.value,parentNode:null};return G1(e,t),t}function V1(e){let t={nodeName:`#comment`,data:e.value,parentNode:null};return G1(e,t),t}function H1(e,t){let n=t,r=n;e.type===`element`&&e.tagName.toLowerCase()===`svg`&&n.space===`html`&&(r=dK);let i=[],a;if(e.properties){for(a in e.properties)if(a!==`children`&&P1.call(e.properties,a)){let t=U1(r,a,e.properties[a]);t&&i.push(t)}}let o=r.space,s={nodeName:e.tagName,tagName:e.tagName,attrs:i,namespaceURI:MK[o],childNodes:[],parentNode:null};return s.childNodes=W1(e.children,s,r),G1(e,s),e.tagName===`template`&&e.content&&(s.content=R1(e.content,r)),s}function U1(e,t,n){let r=sK(e,t);if(n===!1||n==null||typeof n==`number`&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?pK(n):_K(n));let i={name:r.attribute,value:n===!0?``:String(n)};if(r.space&&r.space!==`html`&&r.space!==`svg`){let e=i.name.indexOf(`:`);e<0?i.prefix=``:(i.name=i.name.slice(e+1),i.prefix=r.attribute.slice(0,e)),i.namespace=MK[r.space]}return i}function W1(e,t,n){let r=-1,i=[];if(e)for(;++r<e.length;){let a=F1(e[r],n);a.parentNode=t,i.push(a)}return i}function G1(e,t){let n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}var K1=J1(`end`),q1=J1(`start`);function J1(e){return t;function t(t){let n=t&&t.position&&t.position[e]||{};if(typeof n.line==`number`&&n.line>0&&typeof n.column==`number`&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset==`number`&&n.offset>-1?n.offset:void 0}}}function Y1(e){let t=q1(e),n=K1(e);if(t&&n)return{start:t,end:n}}var X1=new Set([`mdxFlowExpression`,`mdxJsxFlowElement`,`mdxJsxTextElement`,`mdxTextExpression`,`mdxjsEsm`]),Z1={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function Q1(e,t){let n=f0(e),r=FZ(`type`,{handlers:{root:e0,element:t0,text:n0,comment:a0,doctype:r0,raw:o0},unknown:s0}),i={parser:n?new EJ(Z1):EJ.getFragmentParser(void 0,Z1),handle(e){r(e,i)},stitches:!1,options:t||{}};r(e,i),c0(i,q1());let a=FK(n?i.parser.document:i.parser.getFragment(),{file:i.options.file});return i.stitches&&CH(a,`comment`,function(e,t,n){let r=e;if(r.value.stitch&&n&&t!==void 0){let e=n.children;return e[t]=r.value.stitch,t}}),a.type===`root`&&a.children.length===1&&a.children[0].type===e.type?a.children[0]:a}function $1(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function e0(e,t){$1(e.children,t)}function t0(e,t){u0(e,t),$1(e.children,t),d0(e,t)}function n0(e,t){let n={type:QK.CHARACTER,chars:e.value,location:p0(e)};c0(t,q1(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function r0(e,t){let n={type:QK.DOCTYPE,name:`html`,forceQuirks:!1,publicId:``,systemId:``,location:p0(e)};c0(t,q1(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function i0(e,t){t.stitches=!0;let n=m0(e);`children`in e&&`children`in n&&(n.children=Q1({type:`root`,children:e.children},t.options).children),a0({type:`comment`,value:{stitch:n}},t)}function a0(e,t){let n=e.value,r={type:QK.COMMENT,data:n,location:p0(e)};c0(t,q1(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function o0(e,t){if(t.parser.tokenizer.preprocessor.html=``,t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,l0(t,q1(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function s0(e,t){let n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))i0(n,t);else{let e=``;throw X1.has(n.type)&&(e=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+n.type+"` node"+e)}}function c0(e,t){l0(e,t);let n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=bq.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:``,value:``}}function l0(e,t){if(t&&t.offset!==void 0){let n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function u0(e,t){let n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===bq.PLAINTEXT)return;c0(t,q1(e));let r=t.parser.openElements.current,i=`namespaceURI`in r?r.namespaceURI:MK.html;i===MK.html&&n===`svg`&&(i=MK.svg);let a=I1({...e,children:[]},{space:i===MK.svg?`svg`:`html`}),o={type:QK.START_TAG,tagName:n,tagID:_q(n),selfClosing:!1,ackSelfClosing:!1,attrs:`attrs`in a?a.attrs:[],location:p0(e)};t.parser.currentToken=o,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function d0(e,t){let n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&NZ.includes(n)||t.parser.tokenizer.state===bq.PLAINTEXT)return;c0(t,K1(e));let r={type:QK.END_TAG,tagName:n,tagID:_q(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:p0(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===bq.RCDATA||t.parser.tokenizer.state===bq.RAWTEXT||t.parser.tokenizer.state===bq.SCRIPT_DATA)&&(t.parser.tokenizer.state=bq.DATA)}function f0(e){let t=e.type===`root`?e.children[0]:e;return!!(t&&(t.type===`doctype`||t.type===`element`&&t.tagName.toLowerCase()===`html`))}function p0(e){let t=q1(e)||{line:void 0,column:void 0,offset:void 0},n=K1(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function m0(e){return`children`in e?G$({...e,children:[]}):G$(e)}function h0(e){return function(t,n){return Q1(t,{...e,file:n})}}var g0=[`ariaDescribedBy`,`ariaLabel`,`ariaLabelledBy`],_0={ancestors:{tbody:[`table`],td:[`table`],th:[`table`],thead:[`table`],tfoot:[`table`],tr:[`table`]},attributes:{a:[...g0,`dataFootnoteBackref`,`dataFootnoteRef`,[`className`,`data-footnote-backref`],`href`],blockquote:[`cite`],code:[[`className`,/^language-./]],del:[`cite`],div:[`itemScope`,`itemType`],dl:[...g0],h2:[[`className`,`sr-only`]],img:[...g0,`longDesc`,`src`],input:[[`disabled`,!0],[`type`,`checkbox`]],ins:[`cite`],li:[[`className`,`task-list-item`]],ol:[...g0,[`className`,`contains-task-list`]],q:[`cite`],section:[`dataFootnotes`,[`className`,`footnotes`]],source:[`srcSet`],summary:[...g0],table:[...g0],ul:[...g0,[`className`,`contains-task-list`]],"*":`abbr.accept.acceptCharset.accessKey.action.align.alt.axis.border.cellPadding.cellSpacing.char.charOff.charSet.checked.clear.colSpan.color.cols.compact.coords.dateTime.dir.encType.frame.hSpace.headers.height.hrefLang.htmlFor.id.isMap.itemProp.label.lang.maxLength.media.method.multiple.name.noHref.noShade.noWrap.open.prompt.readOnly.rev.rowSpan.rows.rules.scope.selected.shape.size.span.start.summary.tabIndex.title.useMap.vAlign.value.width`.split(`.`)},clobber:[`ariaDescribedBy`,`ariaLabelledBy`,`id`,`name`],clobberPrefix:`user-content-`,protocols:{cite:[`http`,`https`],href:[`http`,`https`,`irc`,`ircs`,`mailto`,`xmpp`],longDesc:[`http`,`https`],src:[`http`,`https`]},required:{input:{disabled:!0,type:`checkbox`}},strip:[`script`],tagNames:`a.b.blockquote.br.code.dd.del.details.div.dl.dt.em.h1.h2.h3.h4.h5.h6.hr.i.img.input.ins.kbd.li.ol.p.picture.pre.q.rp.rt.ruby.s.samp.section.source.span.strike.strong.sub.summary.sup.table.tbody.td.tfoot.th.thead.tr.tt.ul.var`.split(`.`)},v0={}.hasOwnProperty;function y0(e,t){let n={type:`root`,children:[]},r=b0({schema:t?{..._0,...t}:_0,stack:[]},e);return r&&(Array.isArray(r)?r.length===1?n=r[0]:n.children=r:n=r),n}function b0(e,t){if(t&&typeof t==`object`){let n=t;switch(typeof n.type==`string`?n.type:``){case`comment`:return x0(e,n);case`doctype`:return S0(e,n);case`element`:return C0(e,n);case`root`:return w0(e,n);case`text`:return T0(e,n);default:}}}function x0(e,t){if(e.schema.allowComments){let e=typeof t.value==`string`?t.value:``,n=e.indexOf(`-->`),r={type:`comment`,value:n<0?e:e.slice(0,n)};return M0(r,t),r}}function S0(e,t){if(e.schema.allowDoctypes){let e={type:`doctype`};return M0(e,t),e}}function C0(e,t){let n=typeof t.tagName==`string`?t.tagName:``;e.stack.push(n);let r=E0(e,t.children),i=D0(e,t.properties);e.stack.pop();let a=!1;if(n&&n!==`*`&&(!e.schema.tagNames||e.schema.tagNames.includes(n))&&(a=!0,e.schema.ancestors&&v0.call(e.schema.ancestors,n))){let t=e.schema.ancestors[n],r=-1;for(a=!1;++r<t.length;)e.stack.includes(t[r])&&(a=!0)}if(!a)return e.schema.strip&&!e.schema.strip.includes(n)?r:void 0;let o={type:`element`,tagName:n,properties:i,children:r};return M0(o,t),o}function w0(e,t){let n={type:`root`,children:E0(e,t.children)};return M0(n,t),n}function T0(e,t){let n={type:`text`,value:typeof t.value==`string`?t.value:``};return M0(n,t),n}function E0(e,t){let n=[];if(Array.isArray(t)){let r=t,i=-1;for(;++i<r.length;){let t=b0(e,r[i]);t&&(Array.isArray(t)?n.push(...t):n.push(t))}}return n}function D0(e,t){let n=e.stack[e.stack.length-1],r=e.schema.attributes,i=e.schema.required,a=r&&v0.call(r,n)?r[n]:void 0,o=r&&v0.call(r,`*`)?r[`*`]:void 0,s=t&&typeof t==`object`?t:{},c={},l;for(l in s)if(v0.call(s,l)){let t=s[l],n=O0(e,N0(a,l),l,t);n??=O0(e,N0(o,l),l,t),n!=null&&(c[l]=n)}if(i&&v0.call(i,n)){let e=i[n];for(l in e)v0.call(e,l)&&!v0.call(c,l)&&(c[l]=e[l])}return c}function O0(e,t,n,r){return t?Array.isArray(r)?k0(e,t,n,r):A0(e,t,n,r):void 0}function k0(e,t,n,r){let i=-1,a=[];for(;++i<r.length;){let o=A0(e,t,n,r[i]);(typeof o==`number`||typeof o==`string`)&&a.push(o)}return a}function A0(e,t,n,r){if(!(typeof r!=`boolean`&&typeof r!=`number`&&typeof r!=`string`)&&j0(e,n,r)){if(typeof t==`object`&&t.length>1){let e=!1,n=0;for(;++n<t.length;){let i=t[n];if(i&&typeof i==`object`&&`flags`in i){if(i.test(String(r))){e=!0;break}}else if(i===r){e=!0;break}}if(!e)return}return e.schema.clobber&&e.schema.clobberPrefix&&e.schema.clobber.includes(n)?e.schema.clobberPrefix+r:r}}function j0(e,t,n){let r=e.schema.protocols&&v0.call(e.schema.protocols,t)?e.schema.protocols[t]:void 0;if(!r||r.length===0)return!0;let i=String(n),a=i.indexOf(`:`),o=i.indexOf(`?`),s=i.indexOf(`#`),c=i.indexOf(`/`);if(a<0||c>-1&&a>c||o>-1&&a>o||s>-1&&a>s)return!0;let l=-1;for(;++l<r.length;){let e=r[l];if(a===e.length&&i.slice(0,e.length)===e)return!0}return!1}function M0(e,t){let n=Y1(t);t.data&&(e.data=G$(t.data)),n&&(e.position=n)}function N0(e,t){let n,r=-1;if(e)for(;++r<e.length;){let i=e[r],a=typeof i==`string`?i:i[0];if(a===t)return i;a===`data*`&&(n=i)}if(t.length>4&&t.slice(0,4).toLowerCase()===`data`)return n}function P0(e){return function(t){return y0(t,e)}}var F0=q0(/[A-Za-z]/),I0=q0(/[\dA-Za-z]/),L0=q0(/[#-'*+\--9=?A-Z^-~]/);function R0(e){return e!==null&&(e<32||e===127)}var z0=q0(/\d/),B0=q0(/[\dA-Fa-f]/),V0=q0(/[!-/:-@[-`{-~]/);function H0(e){return e!==null&&e<-2}function U0(e){return e!==null&&(e<0||e===32)}function W0(e){return e===-2||e===-1||e===32}var G0=q0(/\p{P}|\p{S}/u),K0=q0(/\s/);function q0(e){return t;function t(t){return t!==null&&t>-1&&e.test(String.fromCharCode(t))}}function mce(e){if(typeof e!=`string`)throw TypeError(`Expected a string`);return e.replace(/[|\\{}()[\]^$+*?.]/g,`\\$&`).replace(/-/g,`\\x2d`)}function hce(e,t,n){let r=dH((n||{}).ignore||[]),i=gce(t),a=-1;for(;++a<i.length;)xH(e,`text`,o);function o(e,t){let n=-1,i;for(;++n<t.length;){let e=t[n],a=i?i.children:void 0;if(r(e,a?a.indexOf(e):void 0,i))return;i=e}if(i)return s(e,t)}function s(e,t){let n=t[t.length-1],r=i[a][0],o=i[a][1],s=0,c=n.children.indexOf(e),l=!1,u=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){let n=d.index,i={index:d.index,input:d.input,stack:[...t,e]},a=o(...d,i);if(typeof a==`string`&&(a=a.length>0?{type:`text`,value:a}:void 0),a===!1?r.lastIndex=n+1:(s!==n&&u.push({type:`text`,value:e.value.slice(s,n)}),Array.isArray(a)?u.push(...a):a&&u.push(a),s=n+d[0].length,l=!0),!r.global)break;d=r.exec(e.value)}return l?(s<e.value.length&&u.push({type:`text`,value:e.value.slice(s)}),n.children.splice(c,1,...u)):u=[e],c+u.length}}function gce(e){let t=[];if(!Array.isArray(e))throw TypeError(`Expected find and replace tuple or list of tuples`);let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r<n.length;){let e=n[r];t.push([_ce(e[0]),vce(e[1])])}return t}function _ce(e){return typeof e==`string`?new RegExp(mce(e),`g`):e}function vce(e){return typeof e==`function`?e:function(){return e}}var J0=`phrasing`,Y0=[`autolink`,`link`,`image`,`label`];function yce(){return{transforms:[Ece],enter:{literalAutolink:xce,literalAutolinkEmail:X0,literalAutolinkHttp:X0,literalAutolinkWww:X0},exit:{literalAutolink:Tce,literalAutolinkEmail:wce,literalAutolinkHttp:Sce,literalAutolinkWww:Cce}}}function bce(){return{unsafe:[{character:`@`,before:`[+\\-.\\w]`,after:`[\\-.\\w]`,inConstruct:J0,notInConstruct:Y0},{character:`.`,before:`[Ww]`,after:`[\\-.\\w]`,inConstruct:J0,notInConstruct:Y0},{character:`:`,before:`[ps]`,after:`\\/`,inConstruct:J0,notInConstruct:Y0}]}}function xce(e){this.enter({type:`link`,title:null,url:``,children:[]},e)}function X0(e){this.config.enter.autolinkProtocol.call(this,e)}function Sce(e){this.config.exit.autolinkProtocol.call(this,e)}function Cce(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];t.type,t.url=`http://`+this.sliceSerialize(e)}function wce(e){this.config.exit.autolinkEmail.call(this,e)}function Tce(e){this.exit(e)}function Ece(e){hce(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Dce],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,Oce]],{ignore:[`link`,`linkReference`]})}function Dce(e,t,n,r,i){let a=``;if(!Z0(i)||(/^w/i.test(t)&&(n=t+n,t=``,a=`http://`),!kce(n)))return!1;let o=Ace(n+r);if(!o[0])return!1;let s={type:`link`,title:null,url:a+t+o[0],children:[{type:`text`,value:t+o[0]}]};return o[1]?[s,{type:`text`,value:o[1]}]:s}function Oce(e,t,n,r){return!Z0(r,!0)||/[-\d_]$/.test(n)?!1:{type:`link`,title:null,url:`mailto:`+t+`@`+n,children:[{type:`text`,value:t+`@`+n}]}}function kce(e){let t=e.split(`.`);return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function Ace(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(`)`),i=lQ(e,`(`),a=lQ(e,`)`);for(;r!==-1&&i>a;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(`)`),a++;return[e,n]}function Z0(e,t){let n=e.input.charCodeAt(e.index-1);return(e.index===0||K0(n)||G0(n))&&(!t||n!==47)}function Q0(e){return e.replace(/[\t\n\r ]+/g,` `).replace(/^ | $/g,``).toLowerCase().toUpperCase()}$0.peek=Vce;function jce(){return{enter:{gfmFootnoteDefinition:Nce,gfmFootnoteDefinitionLabelString:Pce,gfmFootnoteCall:Lce,gfmFootnoteCallString:Rce},exit:{gfmFootnoteDefinition:Ice,gfmFootnoteDefinitionLabelString:Fce,gfmFootnoteCall:Bce,gfmFootnoteCallString:zce}}}function Mce(){return{unsafe:[{character:`[`,inConstruct:[`phrasing`,`label`,`reference`]}],handlers:{footnoteDefinition:Hce,footnoteReference:$0}}}function Nce(e){this.enter({type:`footnoteDefinition`,identifier:``,label:``,children:[]},e)}function Pce(){this.buffer()}function Fce(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=Q0(this.sliceSerialize(e)).toLowerCase()}function Ice(e){this.exit(e)}function Lce(e){this.enter({type:`footnoteReference`,identifier:``,label:``},e)}function Rce(){this.buffer()}function zce(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=Q0(this.sliceSerialize(e)).toLowerCase()}function Bce(e){this.exit(e)}function $0(e,t,n,r){let i=n.createTracker(r),a=i.move(`[^`),o=n.enter(`footnoteReference`),s=n.enter(`reference`);return a+=i.move(n.safe(n.associationId(e),{...i.current(),before:a,after:`]`})),s(),o(),a+=i.move(`]`),a}function Vce(){return`[`}function Hce(e,t,n,r){let i=n.createTracker(r),a=i.move(`[^`),o=n.enter(`footnoteDefinition`),s=n.enter(`label`);return a+=i.move(n.safe(n.associationId(e),{...i.current(),before:a,after:`]`})),s(),a+=i.move(`]:`+(e.children&&e.children.length>0?` `:``)),i.shift(4),a+=i.move(n.indentLines(n.containerFlow(e,i.current()),Uce)),o(),a}function Uce(e,t,n){return t===0?e:(n?``:` `)+e}var Wce=[`autolink`,`destinationLiteral`,`destinationRaw`,`reference`,`titleQuote`,`titleApostrophe`];e2.peek=Yce;function Gce(){return{canContainEols:[`delete`],enter:{strikethrough:qce},exit:{strikethrough:Jce}}}function Kce(){return{unsafe:[{character:`~`,inConstruct:`phrasing`,notInConstruct:Wce}],handlers:{delete:e2}}}function qce(e){this.enter({type:`delete`,children:[]},e)}function Jce(e){this.exit(e)}function e2(e,t,n,r){let i=n.createTracker(r),a=n.enter(`strikethrough`),o=i.move(`~~`);return o+=n.containerPhrasing(e,{...i.current(),before:o,after:`~`}),o+=i.move(`~~`),a(),o}function Yce(){return`~`}function Xce(e,t={}){let n=(t.align||[]).concat(),r=t.stringLength||Qce,i=[],a=[],o=[],s=[],c=0,l=-1;for(;++l<e.length;){let n=[],i=[],u=-1;for(e[l].length>c&&(c=e[l].length);++u<e[l].length;){let a=Zce(e[l][u]);if(t.alignDelimiters!==!1){let e=r(a);i[u]=e,(s[u]===void 0||e>s[u])&&(s[u]=e)}n.push(a)}a[l]=n,o[l]=i}let u=-1;if(typeof n==`object`&&`length`in n)for(;++u<c;)i[u]=t2(n[u]);else{let e=t2(n);for(;++u<c;)i[u]=e}u=-1;let d=[],f=[];for(;++u<c;){let e=i[u],n=``,r=``;e===99?(n=`:`,r=`:`):e===108?n=`:`:e===114&&(r=`:`);let a=t.alignDelimiters===!1?1:Math.max(1,s[u]-n.length-r.length),o=n+`-`.repeat(a)+r;t.alignDelimiters!==!1&&(a=n.length+a+r.length,a>s[u]&&(s[u]=a),f[u]=a),d[u]=o}a.splice(1,0,d),o.splice(1,0,f),l=-1;let p=[];for(;++l<a.length;){let e=a[l],n=o[l];u=-1;let r=[];for(;++u<c;){let a=e[u]||``,o=``,l=``;if(t.alignDelimiters!==!1){let e=s[u]-(n[u]||0),t=i[u];t===114?o=` `.repeat(e):t===99?e%2?(o=` `.repeat(e/2+.5),l=` `.repeat(e/2-.5)):(o=` `.repeat(e/2),l=o):l=` `.repeat(e)}t.delimiterStart!==!1&&!u&&r.push(`|`),t.padding!==!1&&!(t.alignDelimiters===!1&&a===``)&&(t.delimiterStart!==!1||u)&&r.push(` `),t.alignDelimiters!==!1&&r.push(o),r.push(a),t.alignDelimiters!==!1&&r.push(l),t.padding!==!1&&r.push(` `),(t.delimiterEnd!==!1||u!==c-1)&&r.push(`|`)}p.push(t.delimiterEnd===!1?r.join(``).replace(/ +$/,``):r.join(``))}return p.join(`
|
|
36
|
+
`)}function Zce(e){return e==null?``:String(e)}function Qce(e){return e.length}function t2(e){let t=typeof e==`string`?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}var $ce={}.hasOwnProperty;function n2(e,t){let n=-1,r;if(t.extensions)for(;++n<t.extensions.length;)n2(e,t.extensions[n]);for(r in t)if($ce.call(t,r))switch(r){case`extensions`:break;case`unsafe`:r2(e[r],t[r]);break;case`join`:r2(e[r],t[r]);break;case`handlers`:ele(e[r],t[r]);break;default:e.options[r]=t[r]}return e}function r2(e,t){t&&e.push(...t)}function ele(e,t){t&&Object.assign(e,t)}function tle(e,t,n,r){let i=n.enter(`blockquote`),a=n.createTracker(r);a.move(`> `),a.shift(2);let o=n.indentLines(n.containerFlow(e,a.current()),nle);return i(),o}function nle(e,t,n){return`>`+(n?``:` `)+e}function i2(e,t){return a2(e,t.inConstruct,!0)&&!a2(e,t.notInConstruct,!1)}function a2(e,t,n){if(typeof t==`string`&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function o2(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===`
|
|
37
|
+
`&&i2(n.stack,n.unsafe[i]))return/[ \t]/.test(r.before)?``:` `;return`\\
|
|
38
|
+
`}function rle(e,t){let n=String(e),r=n.indexOf(t),i=r,a=0,o=0;if(typeof t!=`string`)throw TypeError(`Expected substring`);for(;r!==-1;)r===i?++a>o&&(o=a):a=1,i=r+t.length,r=n.indexOf(t,i);return o}function s2(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function ile(e){let t=e.options.fence||"`";if(t!=="`"&&t!==`~`)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function ale(e,t,n,r){let i=ile(n),a=e.value||``,o=i==="`"?`GraveAccent`:`Tilde`;if(s2(e,n)){let e=n.enter(`codeIndented`),t=n.indentLines(a,ole);return e(),t}let s=n.createTracker(r),c=i.repeat(Math.max(rle(a,i)+1,3)),l=n.enter(`codeFenced`),u=s.move(c);if(e.lang){let t=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:` `,encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${o}`);u+=s.move(` `),u+=s.move(n.safe(e.meta,{before:u,after:`
|
|
39
|
+
`,encode:["`"],...s.current()})),t()}return u+=s.move(`
|
|
40
|
+
`),a&&(u+=s.move(a+`
|
|
41
|
+
`)),u+=s.move(c),l(),u}function ole(e,t,n){return(n?``:` `)+e}function c2(e){let t=e.options.quote||`"`;if(t!==`"`&&t!==`'`)throw Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function sle(e,t,n,r){let i=c2(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.enter(`definition`),s=n.enter(`label`),c=n.createTracker(r),l=c.move(`[`);return l+=c.move(n.safe(n.associationId(e),{before:l,after:`]`,...c.current()})),l+=c.move(`]: `),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter(`destinationLiteral`),l+=c.move(`<`),l+=c.move(n.safe(e.url,{before:l,after:`>`,...c.current()})),l+=c.move(`>`)):(s=n.enter(`destinationRaw`),l+=c.move(n.safe(e.url,{before:l,after:e.title?` `:`
|
|
42
|
+
`,...c.current()}))),s(),e.title&&(s=n.enter(`title${a}`),l+=c.move(` `+i),l+=c.move(n.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),s()),o(),l}function cle(e){let t=e.options.emphasis||`*`;if(t!==`*`&&t!==`_`)throw Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}l2.peek=lle;function l2(e,t,n,r){let i=cle(n),a=n.enter(`emphasis`),o=n.createTracker(r),s=o.move(i);return s+=o.move(n.containerPhrasing(e,{before:s,after:i,...o.current()})),s+=o.move(i),a(),s}function lle(e,t,n){return n.options.emphasis||`*`}var ule={};function u2(e,t){let n=t||ule;return d2(e,typeof n.includeImageAlt!=`boolean`||n.includeImageAlt,typeof n.includeHtml!=`boolean`||n.includeHtml)}function d2(e,t,n){if(dle(e)){if(`value`in e)return e.type===`html`&&!n?``:e.value;if(t&&`alt`in e&&e.alt)return e.alt;if(`children`in e)return f2(e.children,t,n)}return Array.isArray(e)?f2(e,t,n):``}function f2(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=d2(e[i],t,n);return r.join(``)}function dle(e){return!!(e&&typeof e==`object`)}function p2(e,t){let n=!1;return CH(e,function(e){if(`value`in e&&/\r?\n|\r/.test(e.value)||e.type===`break`)return n=!0,!1}),!!((!e.depth||e.depth<3)&&u2(e)&&(t.options.setext||n))}function fle(e,t,n,r){let i=Math.max(Math.min(6,e.depth||1),1),a=n.createTracker(r);if(p2(e,n)){let t=n.enter(`headingSetext`),r=n.enter(`phrasing`),o=n.containerPhrasing(e,{...a.current(),before:`
|
|
43
|
+
`,after:`
|
|
44
|
+
`});return r(),t(),o+`
|
|
45
|
+
`+(i===1?`=`:`-`).repeat(o.length-(Math.max(o.lastIndexOf(`\r`),o.lastIndexOf(`
|
|
46
|
+
`))+1))}let o=`#`.repeat(i),s=n.enter(`headingAtx`),c=n.enter(`phrasing`);a.move(o+` `);let l=n.containerPhrasing(e,{before:`# `,after:`
|
|
47
|
+
`,...a.current()});return/^[\t ]/.test(l)&&(l=`&#x`+l.charCodeAt(0).toString(16).toUpperCase()+`;`+l.slice(1)),l=l?o+` `+l:o,n.options.closeAtx&&(l+=` `+o),c(),s(),l}m2.peek=ple;function m2(e){return e.value||``}function ple(){return`<`}h2.peek=mle;function h2(e,t,n,r){let i=c2(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.enter(`image`),s=n.enter(`label`),c=n.createTracker(r),l=c.move(`![`);return l+=c.move(n.safe(e.alt,{before:l,after:`]`,...c.current()})),l+=c.move(`](`),s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter(`destinationLiteral`),l+=c.move(`<`),l+=c.move(n.safe(e.url,{before:l,after:`>`,...c.current()})),l+=c.move(`>`)):(s=n.enter(`destinationRaw`),l+=c.move(n.safe(e.url,{before:l,after:e.title?` `:`)`,...c.current()}))),s(),e.title&&(s=n.enter(`title${a}`),l+=c.move(` `+i),l+=c.move(n.safe(e.title,{before:l,after:i,...c.current()})),l+=c.move(i),s()),l+=c.move(`)`),o(),l}function mle(){return`!`}g2.peek=hle;function g2(e,t,n,r){let i=e.referenceType,a=n.enter(`imageReference`),o=n.enter(`label`),s=n.createTracker(r),c=s.move(`![`),l=n.safe(e.alt,{before:c,after:`]`,...s.current()});c+=s.move(l+`][`),o();let u=n.stack;n.stack=[],o=n.enter(`reference`);let d=n.safe(n.associationId(e),{before:c,after:`]`,...s.current()});return o(),n.stack=u,a(),i===`full`||!l||l!==d?c+=s.move(d+`]`):i===`shortcut`?c=c.slice(0,-1):c+=s.move(`]`),c}function hle(){return`!`}_2.peek=gle;function _2(e,t,n){let r=e.value||``,i="`",a=-1;for(;RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=` `+r+` `);++a<n.unsafe.length;){let e=n.unsafe[a],t=n.compilePattern(e),i;if(e.atBreak)for(;i=t.exec(r);){let e=i.index;r.charCodeAt(e)===10&&r.charCodeAt(e-1)===13&&e--,r=r.slice(0,e)+` `+r.slice(i.index+1)}}return i+r+i}function gle(){return"`"}function v2(e,t){let n=u2(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type===`text`&&(n===e.url||`mailto:`+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}y2.peek=_le;function y2(e,t,n,r){let i=c2(n),a=i===`"`?`Quote`:`Apostrophe`,o=n.createTracker(r),s,c;if(v2(e,n)){let t=n.stack;n.stack=[],s=n.enter(`autolink`);let r=o.move(`<`);return r+=o.move(n.containerPhrasing(e,{before:r,after:`>`,...o.current()})),r+=o.move(`>`),s(),n.stack=t,r}s=n.enter(`link`),c=n.enter(`label`);let l=o.move(`[`);return l+=o.move(n.containerPhrasing(e,{before:l,after:`](`,...o.current()})),l+=o.move(`](`),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=n.enter(`destinationLiteral`),l+=o.move(`<`),l+=o.move(n.safe(e.url,{before:l,after:`>`,...o.current()})),l+=o.move(`>`)):(c=n.enter(`destinationRaw`),l+=o.move(n.safe(e.url,{before:l,after:e.title?` `:`)`,...o.current()}))),c(),e.title&&(c=n.enter(`title${a}`),l+=o.move(` `+i),l+=o.move(n.safe(e.title,{before:l,after:i,...o.current()})),l+=o.move(i),c()),l+=o.move(`)`),s(),l}function _le(e,t,n){return v2(e,n)?`<`:`[`}b2.peek=vle;function b2(e,t,n,r){let i=e.referenceType,a=n.enter(`linkReference`),o=n.enter(`label`),s=n.createTracker(r),c=s.move(`[`),l=n.containerPhrasing(e,{before:c,after:`]`,...s.current()});c+=s.move(l+`][`),o();let u=n.stack;n.stack=[],o=n.enter(`reference`);let d=n.safe(n.associationId(e),{before:c,after:`]`,...s.current()});return o(),n.stack=u,a(),i===`full`||!l||l!==d?c+=s.move(d+`]`):i===`shortcut`?c=c.slice(0,-1):c+=s.move(`]`),c}function vle(){return`[`}function x2(e){let t=e.options.bullet||`*`;if(t!==`*`&&t!==`+`&&t!==`-`)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function yle(e){let t=x2(e),n=e.options.bulletOther;if(!n)return t===`*`?`-`:`*`;if(n!==`*`&&n!==`+`&&n!==`-`)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function ble(e){let t=e.options.bulletOrdered||`.`;if(t!==`.`&&t!==`)`)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function S2(e){let t=e.options.rule||`*`;if(t!==`*`&&t!==`-`&&t!==`_`)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function xle(e,t,n,r){let i=n.enter(`list`),a=n.bulletCurrent,o=e.ordered?ble(n):x2(n),s=e.ordered?o===`.`?`)`:`.`:yle(n),c=t&&n.bulletLastUsed?o===n.bulletLastUsed:!1;if(!e.ordered){let t=e.children?e.children[0]:void 0;if((o===`*`||o===`-`)&&t&&(!t.children||!t.children[0])&&n.stack[n.stack.length-1]===`list`&&n.stack[n.stack.length-2]===`listItem`&&n.stack[n.stack.length-3]===`list`&&n.stack[n.stack.length-4]===`listItem`&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(c=!0),S2(n)===o&&t){let t=-1;for(;++t<e.children.length;){let n=e.children[t];if(n&&n.type===`listItem`&&n.children&&n.children[0]&&n.children[0].type===`thematicBreak`){c=!0;break}}}}c&&(o=s),n.bulletCurrent=o;let l=n.containerFlow(e,r);return n.bulletLastUsed=o,n.bulletCurrent=a,i(),l}function Sle(e){let t=e.options.listItemIndent||`one`;if(t!==`tab`&&t!==`one`&&t!==`mixed`)throw Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function Cle(e,t,n,r){let i=Sle(n),a=n.bulletCurrent||x2(n);t&&t.type===`list`&&t.ordered&&(a=(typeof t.start==`number`&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+a);let o=a.length+1;(i===`tab`||i===`mixed`&&(t&&t.type===`list`&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);let s=n.createTracker(r);s.move(a+` `.repeat(o-a.length)),s.shift(o);let c=n.enter(`listItem`),l=n.indentLines(n.containerFlow(e,s.current()),u);return c(),l;function u(e,t,n){return t?(n?``:` `.repeat(o))+e:(n?a:a+` `.repeat(o-a.length))+e}}function wle(e,t,n,r){let i=n.enter(`paragraph`),a=n.enter(`phrasing`),o=n.containerPhrasing(e,r);return a(),i(),o}var Tle=dH([`break`,`delete`,`emphasis`,`footnote`,`footnoteReference`,`image`,`imageReference`,`inlineCode`,`inlineMath`,`link`,`linkReference`,`mdxJsxTextElement`,`mdxTextExpression`,`strong`,`text`,`textDirective`]);function Ele(e,t,n,r){return(e.children.some(function(e){return Tle(e)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function Dle(e){let t=e.options.strong||`*`;if(t!==`*`&&t!==`_`)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}C2.peek=Ole;function C2(e,t,n,r){let i=Dle(n),a=n.enter(`strong`),o=n.createTracker(r),s=o.move(i+i);return s+=o.move(n.containerPhrasing(e,{before:s,after:i,...o.current()})),s+=o.move(i+i),a(),s}function Ole(e,t,n){return n.options.strong||`*`}function kle(e,t,n,r){return n.safe(e.value,r)}function Ale(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function jle(e,t,n){let r=(S2(n)+(n.options.ruleSpaces?` `:``)).repeat(Ale(n));return n.options.ruleSpaces?r.slice(0,-1):r}var w2={blockquote:tle,break:o2,code:ale,definition:sle,emphasis:l2,hardBreak:o2,heading:fle,html:m2,image:h2,imageReference:g2,inlineCode:_2,link:y2,linkReference:b2,list:xle,listItem:Cle,paragraph:wle,root:Ele,strong:C2,text:kle,thematicBreak:jle},Mle=[Nle];function Nle(e,t,n,r){if(t.type===`code`&&s2(t,r)&&(e.type===`list`||e.type===t.type&&s2(e,r)))return!1;if(`spread`in n&&typeof n.spread==`boolean`)return e.type===`paragraph`&&(e.type===t.type||t.type===`definition`||t.type===`heading`&&p2(t,r))?void 0:+!!n.spread}var T2=[`autolink`,`destinationLiteral`,`destinationRaw`,`reference`,`titleQuote`,`titleApostrophe`],Ple=[{character:` `,after:`[\\r\\n]`,inConstruct:`phrasing`},{character:` `,before:`[\\r\\n]`,inConstruct:`phrasing`},{character:` `,inConstruct:[`codeFencedLangGraveAccent`,`codeFencedLangTilde`]},{character:`\r`,inConstruct:[`codeFencedLangGraveAccent`,`codeFencedLangTilde`,`codeFencedMetaGraveAccent`,`codeFencedMetaTilde`,`destinationLiteral`,`headingAtx`]},{character:`
|
|
48
|
+
`,inConstruct:[`codeFencedLangGraveAccent`,`codeFencedLangTilde`,`codeFencedMetaGraveAccent`,`codeFencedMetaTilde`,`destinationLiteral`,`headingAtx`]},{character:` `,after:`[\\r\\n]`,inConstruct:`phrasing`},{character:` `,before:`[\\r\\n]`,inConstruct:`phrasing`},{character:` `,inConstruct:[`codeFencedLangGraveAccent`,`codeFencedLangTilde`]},{character:`!`,after:`\\[`,inConstruct:`phrasing`,notInConstruct:T2},{character:`"`,inConstruct:`titleQuote`},{atBreak:!0,character:`#`},{character:`#`,inConstruct:`headingAtx`,after:`(?:[\r
|
|
49
|
+
]|$)`},{character:`&`,after:`[#A-Za-z]`,inConstruct:`phrasing`},{character:`'`,inConstruct:`titleApostrophe`},{character:`(`,inConstruct:`destinationRaw`},{before:`\\]`,character:`(`,inConstruct:`phrasing`,notInConstruct:T2},{atBreak:!0,before:`\\d+`,character:`)`},{character:`)`,inConstruct:`destinationRaw`},{atBreak:!0,character:`*`,after:`(?:[ \r
|
|
50
|
+
*])`},{character:`*`,inConstruct:`phrasing`,notInConstruct:T2},{atBreak:!0,character:`+`,after:`(?:[ \r
|
|
51
|
+
])`},{atBreak:!0,character:`-`,after:`(?:[ \r
|
|
52
|
+
-])`},{atBreak:!0,before:`\\d+`,character:`.`,after:`(?:[ \r
|
|
53
|
+
]|$)`},{atBreak:!0,character:`<`,after:`[!/?A-Za-z]`},{character:`<`,after:`[!/?A-Za-z]`,inConstruct:`phrasing`,notInConstruct:T2},{character:`<`,inConstruct:`destinationLiteral`},{atBreak:!0,character:`=`},{atBreak:!0,character:`>`},{character:`>`,inConstruct:`destinationLiteral`},{atBreak:!0,character:`[`},{character:`[`,inConstruct:`phrasing`,notInConstruct:T2},{character:`[`,inConstruct:[`label`,`reference`]},{character:`\\`,after:`[\\r\\n]`,inConstruct:`phrasing`},{character:`]`,inConstruct:[`label`,`reference`]},{atBreak:!0,character:`_`},{character:`_`,inConstruct:`phrasing`,notInConstruct:T2},{atBreak:!0,character:"`"},{character:"`",inConstruct:[`codeFencedLangGraveAccent`,`codeFencedMetaGraveAccent`]},{character:"`",inConstruct:`phrasing`,notInConstruct:T2},{atBreak:!0,character:`~`}],E2={AElig:`Æ`,AMP:`&`,Aacute:`Á`,Abreve:`Ă`,Acirc:`Â`,Acy:`А`,Afr:`𝔄`,Agrave:`À`,Alpha:`Α`,Amacr:`Ā`,And:`⩓`,Aogon:`Ą`,Aopf:`𝔸`,ApplyFunction:``,Aring:`Å`,Ascr:`𝒜`,Assign:`≔`,Atilde:`Ã`,Auml:`Ä`,Backslash:`∖`,Barv:`⫧`,Barwed:`⌆`,Bcy:`Б`,Because:`∵`,Bernoullis:`ℬ`,Beta:`Β`,Bfr:`𝔅`,Bopf:`𝔹`,Breve:`˘`,Bscr:`ℬ`,Bumpeq:`≎`,CHcy:`Ч`,COPY:`©`,Cacute:`Ć`,Cap:`⋒`,CapitalDifferentialD:`ⅅ`,Cayleys:`ℭ`,Ccaron:`Č`,Ccedil:`Ç`,Ccirc:`Ĉ`,Cconint:`∰`,Cdot:`Ċ`,Cedilla:`¸`,CenterDot:`·`,Cfr:`ℭ`,Chi:`Χ`,CircleDot:`⊙`,CircleMinus:`⊖`,CirclePlus:`⊕`,CircleTimes:`⊗`,ClockwiseContourIntegral:`∲`,CloseCurlyDoubleQuote:`”`,CloseCurlyQuote:`’`,Colon:`∷`,Colone:`⩴`,Congruent:`≡`,Conint:`∯`,ContourIntegral:`∮`,Copf:`ℂ`,Coproduct:`∐`,CounterClockwiseContourIntegral:`∳`,Cross:`⨯`,Cscr:`𝒞`,Cup:`⋓`,CupCap:`≍`,DD:`ⅅ`,DDotrahd:`⤑`,DJcy:`Ђ`,DScy:`Ѕ`,DZcy:`Џ`,Dagger:`‡`,Darr:`↡`,Dashv:`⫤`,Dcaron:`Ď`,Dcy:`Д`,Del:`∇`,Delta:`Δ`,Dfr:`𝔇`,DiacriticalAcute:`´`,DiacriticalDot:`˙`,DiacriticalDoubleAcute:`˝`,DiacriticalGrave:"`",DiacriticalTilde:`˜`,Diamond:`⋄`,DifferentialD:`ⅆ`,Dopf:`𝔻`,Dot:`¨`,DotDot:`⃜`,DotEqual:`≐`,DoubleContourIntegral:`∯`,DoubleDot:`¨`,DoubleDownArrow:`⇓`,DoubleLeftArrow:`⇐`,DoubleLeftRightArrow:`⇔`,DoubleLeftTee:`⫤`,DoubleLongLeftArrow:`⟸`,DoubleLongLeftRightArrow:`⟺`,DoubleLongRightArrow:`⟹`,DoubleRightArrow:`⇒`,DoubleRightTee:`⊨`,DoubleUpArrow:`⇑`,DoubleUpDownArrow:`⇕`,DoubleVerticalBar:`∥`,DownArrow:`↓`,DownArrowBar:`⤓`,DownArrowUpArrow:`⇵`,DownBreve:`̑`,DownLeftRightVector:`⥐`,DownLeftTeeVector:`⥞`,DownLeftVector:`↽`,DownLeftVectorBar:`⥖`,DownRightTeeVector:`⥟`,DownRightVector:`⇁`,DownRightVectorBar:`⥗`,DownTee:`⊤`,DownTeeArrow:`↧`,Downarrow:`⇓`,Dscr:`𝒟`,Dstrok:`Đ`,ENG:`Ŋ`,ETH:`Ð`,Eacute:`É`,Ecaron:`Ě`,Ecirc:`Ê`,Ecy:`Э`,Edot:`Ė`,Efr:`𝔈`,Egrave:`È`,Element:`∈`,Emacr:`Ē`,EmptySmallSquare:`◻`,EmptyVerySmallSquare:`▫`,Eogon:`Ę`,Eopf:`𝔼`,Epsilon:`Ε`,Equal:`⩵`,EqualTilde:`≂`,Equilibrium:`⇌`,Escr:`ℰ`,Esim:`⩳`,Eta:`Η`,Euml:`Ë`,Exists:`∃`,ExponentialE:`ⅇ`,Fcy:`Ф`,Ffr:`𝔉`,FilledSmallSquare:`◼`,FilledVerySmallSquare:`▪`,Fopf:`𝔽`,ForAll:`∀`,Fouriertrf:`ℱ`,Fscr:`ℱ`,GJcy:`Ѓ`,GT:`>`,Gamma:`Γ`,Gammad:`Ϝ`,Gbreve:`Ğ`,Gcedil:`Ģ`,Gcirc:`Ĝ`,Gcy:`Г`,Gdot:`Ġ`,Gfr:`𝔊`,Gg:`⋙`,Gopf:`𝔾`,GreaterEqual:`≥`,GreaterEqualLess:`⋛`,GreaterFullEqual:`≧`,GreaterGreater:`⪢`,GreaterLess:`≷`,GreaterSlantEqual:`⩾`,GreaterTilde:`≳`,Gscr:`𝒢`,Gt:`≫`,HARDcy:`Ъ`,Hacek:`ˇ`,Hat:`^`,Hcirc:`Ĥ`,Hfr:`ℌ`,HilbertSpace:`ℋ`,Hopf:`ℍ`,HorizontalLine:`─`,Hscr:`ℋ`,Hstrok:`Ħ`,HumpDownHump:`≎`,HumpEqual:`≏`,IEcy:`Е`,IJlig:`IJ`,IOcy:`Ё`,Iacute:`Í`,Icirc:`Î`,Icy:`И`,Idot:`İ`,Ifr:`ℑ`,Igrave:`Ì`,Im:`ℑ`,Imacr:`Ī`,ImaginaryI:`ⅈ`,Implies:`⇒`,Int:`∬`,Integral:`∫`,Intersection:`⋂`,InvisibleComma:``,InvisibleTimes:``,Iogon:`Į`,Iopf:`𝕀`,Iota:`Ι`,Iscr:`ℐ`,Itilde:`Ĩ`,Iukcy:`І`,Iuml:`Ï`,Jcirc:`Ĵ`,Jcy:`Й`,Jfr:`𝔍`,Jopf:`𝕁`,Jscr:`𝒥`,Jsercy:`Ј`,Jukcy:`Є`,KHcy:`Х`,KJcy:`Ќ`,Kappa:`Κ`,Kcedil:`Ķ`,Kcy:`К`,Kfr:`𝔎`,Kopf:`𝕂`,Kscr:`𝒦`,LJcy:`Љ`,LT:`<`,Lacute:`Ĺ`,Lambda:`Λ`,Lang:`⟪`,Laplacetrf:`ℒ`,Larr:`↞`,Lcaron:`Ľ`,Lcedil:`Ļ`,Lcy:`Л`,LeftAngleBracket:`⟨`,LeftArrow:`←`,LeftArrowBar:`⇤`,LeftArrowRightArrow:`⇆`,LeftCeiling:`⌈`,LeftDoubleBracket:`⟦`,LeftDownTeeVector:`⥡`,LeftDownVector:`⇃`,LeftDownVectorBar:`⥙`,LeftFloor:`⌊`,LeftRightArrow:`↔`,LeftRightVector:`⥎`,LeftTee:`⊣`,LeftTeeArrow:`↤`,LeftTeeVector:`⥚`,LeftTriangle:`⊲`,LeftTriangleBar:`⧏`,LeftTriangleEqual:`⊴`,LeftUpDownVector:`⥑`,LeftUpTeeVector:`⥠`,LeftUpVector:`↿`,LeftUpVectorBar:`⥘`,LeftVector:`↼`,LeftVectorBar:`⥒`,Leftarrow:`⇐`,Leftrightarrow:`⇔`,LessEqualGreater:`⋚`,LessFullEqual:`≦`,LessGreater:`≶`,LessLess:`⪡`,LessSlantEqual:`⩽`,LessTilde:`≲`,Lfr:`𝔏`,Ll:`⋘`,Lleftarrow:`⇚`,Lmidot:`Ŀ`,LongLeftArrow:`⟵`,LongLeftRightArrow:`⟷`,LongRightArrow:`⟶`,Longleftarrow:`⟸`,Longleftrightarrow:`⟺`,Longrightarrow:`⟹`,Lopf:`𝕃`,LowerLeftArrow:`↙`,LowerRightArrow:`↘`,Lscr:`ℒ`,Lsh:`↰`,Lstrok:`Ł`,Lt:`≪`,Map:`⤅`,Mcy:`М`,MediumSpace:` `,Mellintrf:`ℳ`,Mfr:`𝔐`,MinusPlus:`∓`,Mopf:`𝕄`,Mscr:`ℳ`,Mu:`Μ`,NJcy:`Њ`,Nacute:`Ń`,Ncaron:`Ň`,Ncedil:`Ņ`,Ncy:`Н`,NegativeMediumSpace:``,NegativeThickSpace:``,NegativeThinSpace:``,NegativeVeryThinSpace:``,NestedGreaterGreater:`≫`,NestedLessLess:`≪`,NewLine:`
|
|
54
|
+
`,Nfr:`𝔑`,NoBreak:``,NonBreakingSpace:`\xA0`,Nopf:`ℕ`,Not:`⫬`,NotCongruent:`≢`,NotCupCap:`≭`,NotDoubleVerticalBar:`∦`,NotElement:`∉`,NotEqual:`≠`,NotEqualTilde:`≂̸`,NotExists:`∄`,NotGreater:`≯`,NotGreaterEqual:`≱`,NotGreaterFullEqual:`≧̸`,NotGreaterGreater:`≫̸`,NotGreaterLess:`≹`,NotGreaterSlantEqual:`⩾̸`,NotGreaterTilde:`≵`,NotHumpDownHump:`≎̸`,NotHumpEqual:`≏̸`,NotLeftTriangle:`⋪`,NotLeftTriangleBar:`⧏̸`,NotLeftTriangleEqual:`⋬`,NotLess:`≮`,NotLessEqual:`≰`,NotLessGreater:`≸`,NotLessLess:`≪̸`,NotLessSlantEqual:`⩽̸`,NotLessTilde:`≴`,NotNestedGreaterGreater:`⪢̸`,NotNestedLessLess:`⪡̸`,NotPrecedes:`⊀`,NotPrecedesEqual:`⪯̸`,NotPrecedesSlantEqual:`⋠`,NotReverseElement:`∌`,NotRightTriangle:`⋫`,NotRightTriangleBar:`⧐̸`,NotRightTriangleEqual:`⋭`,NotSquareSubset:`⊏̸`,NotSquareSubsetEqual:`⋢`,NotSquareSuperset:`⊐̸`,NotSquareSupersetEqual:`⋣`,NotSubset:`⊂⃒`,NotSubsetEqual:`⊈`,NotSucceeds:`⊁`,NotSucceedsEqual:`⪰̸`,NotSucceedsSlantEqual:`⋡`,NotSucceedsTilde:`≿̸`,NotSuperset:`⊃⃒`,NotSupersetEqual:`⊉`,NotTilde:`≁`,NotTildeEqual:`≄`,NotTildeFullEqual:`≇`,NotTildeTilde:`≉`,NotVerticalBar:`∤`,Nscr:`𝒩`,Ntilde:`Ñ`,Nu:`Ν`,OElig:`Œ`,Oacute:`Ó`,Ocirc:`Ô`,Ocy:`О`,Odblac:`Ő`,Ofr:`𝔒`,Ograve:`Ò`,Omacr:`Ō`,Omega:`Ω`,Omicron:`Ο`,Oopf:`𝕆`,OpenCurlyDoubleQuote:`“`,OpenCurlyQuote:`‘`,Or:`⩔`,Oscr:`𝒪`,Oslash:`Ø`,Otilde:`Õ`,Otimes:`⨷`,Ouml:`Ö`,OverBar:`‾`,OverBrace:`⏞`,OverBracket:`⎴`,OverParenthesis:`⏜`,PartialD:`∂`,Pcy:`П`,Pfr:`𝔓`,Phi:`Φ`,Pi:`Π`,PlusMinus:`±`,Poincareplane:`ℌ`,Popf:`ℙ`,Pr:`⪻`,Precedes:`≺`,PrecedesEqual:`⪯`,PrecedesSlantEqual:`≼`,PrecedesTilde:`≾`,Prime:`″`,Product:`∏`,Proportion:`∷`,Proportional:`∝`,Pscr:`𝒫`,Psi:`Ψ`,QUOT:`"`,Qfr:`𝔔`,Qopf:`ℚ`,Qscr:`𝒬`,RBarr:`⤐`,REG:`®`,Racute:`Ŕ`,Rang:`⟫`,Rarr:`↠`,Rarrtl:`⤖`,Rcaron:`Ř`,Rcedil:`Ŗ`,Rcy:`Р`,Re:`ℜ`,ReverseElement:`∋`,ReverseEquilibrium:`⇋`,ReverseUpEquilibrium:`⥯`,Rfr:`ℜ`,Rho:`Ρ`,RightAngleBracket:`⟩`,RightArrow:`→`,RightArrowBar:`⇥`,RightArrowLeftArrow:`⇄`,RightCeiling:`⌉`,RightDoubleBracket:`⟧`,RightDownTeeVector:`⥝`,RightDownVector:`⇂`,RightDownVectorBar:`⥕`,RightFloor:`⌋`,RightTee:`⊢`,RightTeeArrow:`↦`,RightTeeVector:`⥛`,RightTriangle:`⊳`,RightTriangleBar:`⧐`,RightTriangleEqual:`⊵`,RightUpDownVector:`⥏`,RightUpTeeVector:`⥜`,RightUpVector:`↾`,RightUpVectorBar:`⥔`,RightVector:`⇀`,RightVectorBar:`⥓`,Rightarrow:`⇒`,Ropf:`ℝ`,RoundImplies:`⥰`,Rrightarrow:`⇛`,Rscr:`ℛ`,Rsh:`↱`,RuleDelayed:`⧴`,SHCHcy:`Щ`,SHcy:`Ш`,SOFTcy:`Ь`,Sacute:`Ś`,Sc:`⪼`,Scaron:`Š`,Scedil:`Ş`,Scirc:`Ŝ`,Scy:`С`,Sfr:`𝔖`,ShortDownArrow:`↓`,ShortLeftArrow:`←`,ShortRightArrow:`→`,ShortUpArrow:`↑`,Sigma:`Σ`,SmallCircle:`∘`,Sopf:`𝕊`,Sqrt:`√`,Square:`□`,SquareIntersection:`⊓`,SquareSubset:`⊏`,SquareSubsetEqual:`⊑`,SquareSuperset:`⊐`,SquareSupersetEqual:`⊒`,SquareUnion:`⊔`,Sscr:`𝒮`,Star:`⋆`,Sub:`⋐`,Subset:`⋐`,SubsetEqual:`⊆`,Succeeds:`≻`,SucceedsEqual:`⪰`,SucceedsSlantEqual:`≽`,SucceedsTilde:`≿`,SuchThat:`∋`,Sum:`∑`,Sup:`⋑`,Superset:`⊃`,SupersetEqual:`⊇`,Supset:`⋑`,THORN:`Þ`,TRADE:`™`,TSHcy:`Ћ`,TScy:`Ц`,Tab:` `,Tau:`Τ`,Tcaron:`Ť`,Tcedil:`Ţ`,Tcy:`Т`,Tfr:`𝔗`,Therefore:`∴`,Theta:`Θ`,ThickSpace:` `,ThinSpace:` `,Tilde:`∼`,TildeEqual:`≃`,TildeFullEqual:`≅`,TildeTilde:`≈`,Topf:`𝕋`,TripleDot:`⃛`,Tscr:`𝒯`,Tstrok:`Ŧ`,Uacute:`Ú`,Uarr:`↟`,Uarrocir:`⥉`,Ubrcy:`Ў`,Ubreve:`Ŭ`,Ucirc:`Û`,Ucy:`У`,Udblac:`Ű`,Ufr:`𝔘`,Ugrave:`Ù`,Umacr:`Ū`,UnderBar:`_`,UnderBrace:`⏟`,UnderBracket:`⎵`,UnderParenthesis:`⏝`,Union:`⋃`,UnionPlus:`⊎`,Uogon:`Ų`,Uopf:`𝕌`,UpArrow:`↑`,UpArrowBar:`⤒`,UpArrowDownArrow:`⇅`,UpDownArrow:`↕`,UpEquilibrium:`⥮`,UpTee:`⊥`,UpTeeArrow:`↥`,Uparrow:`⇑`,Updownarrow:`⇕`,UpperLeftArrow:`↖`,UpperRightArrow:`↗`,Upsi:`ϒ`,Upsilon:`Υ`,Uring:`Ů`,Uscr:`𝒰`,Utilde:`Ũ`,Uuml:`Ü`,VDash:`⊫`,Vbar:`⫫`,Vcy:`В`,Vdash:`⊩`,Vdashl:`⫦`,Vee:`⋁`,Verbar:`‖`,Vert:`‖`,VerticalBar:`∣`,VerticalLine:`|`,VerticalSeparator:`❘`,VerticalTilde:`≀`,VeryThinSpace:` `,Vfr:`𝔙`,Vopf:`𝕍`,Vscr:`𝒱`,Vvdash:`⊪`,Wcirc:`Ŵ`,Wedge:`⋀`,Wfr:`𝔚`,Wopf:`𝕎`,Wscr:`𝒲`,Xfr:`𝔛`,Xi:`Ξ`,Xopf:`𝕏`,Xscr:`𝒳`,YAcy:`Я`,YIcy:`Ї`,YUcy:`Ю`,Yacute:`Ý`,Ycirc:`Ŷ`,Ycy:`Ы`,Yfr:`𝔜`,Yopf:`𝕐`,Yscr:`𝒴`,Yuml:`Ÿ`,ZHcy:`Ж`,Zacute:`Ź`,Zcaron:`Ž`,Zcy:`З`,Zdot:`Ż`,ZeroWidthSpace:``,Zeta:`Ζ`,Zfr:`ℨ`,Zopf:`ℤ`,Zscr:`𝒵`,aacute:`á`,abreve:`ă`,ac:`∾`,acE:`∾̳`,acd:`∿`,acirc:`â`,acute:`´`,acy:`а`,aelig:`æ`,af:``,afr:`𝔞`,agrave:`à`,alefsym:`ℵ`,aleph:`ℵ`,alpha:`α`,amacr:`ā`,amalg:`⨿`,amp:`&`,and:`∧`,andand:`⩕`,andd:`⩜`,andslope:`⩘`,andv:`⩚`,ang:`∠`,ange:`⦤`,angle:`∠`,angmsd:`∡`,angmsdaa:`⦨`,angmsdab:`⦩`,angmsdac:`⦪`,angmsdad:`⦫`,angmsdae:`⦬`,angmsdaf:`⦭`,angmsdag:`⦮`,angmsdah:`⦯`,angrt:`∟`,angrtvb:`⊾`,angrtvbd:`⦝`,angsph:`∢`,angst:`Å`,angzarr:`⍼`,aogon:`ą`,aopf:`𝕒`,ap:`≈`,apE:`⩰`,apacir:`⩯`,ape:`≊`,apid:`≋`,apos:`'`,approx:`≈`,approxeq:`≊`,aring:`å`,ascr:`𝒶`,ast:`*`,asymp:`≈`,asympeq:`≍`,atilde:`ã`,auml:`ä`,awconint:`∳`,awint:`⨑`,bNot:`⫭`,backcong:`≌`,backepsilon:`϶`,backprime:`‵`,backsim:`∽`,backsimeq:`⋍`,barvee:`⊽`,barwed:`⌅`,barwedge:`⌅`,bbrk:`⎵`,bbrktbrk:`⎶`,bcong:`≌`,bcy:`б`,bdquo:`„`,becaus:`∵`,because:`∵`,bemptyv:`⦰`,bepsi:`϶`,bernou:`ℬ`,beta:`β`,beth:`ℶ`,between:`≬`,bfr:`𝔟`,bigcap:`⋂`,bigcirc:`◯`,bigcup:`⋃`,bigodot:`⨀`,bigoplus:`⨁`,bigotimes:`⨂`,bigsqcup:`⨆`,bigstar:`★`,bigtriangledown:`▽`,bigtriangleup:`△`,biguplus:`⨄`,bigvee:`⋁`,bigwedge:`⋀`,bkarow:`⤍`,blacklozenge:`⧫`,blacksquare:`▪`,blacktriangle:`▴`,blacktriangledown:`▾`,blacktriangleleft:`◂`,blacktriangleright:`▸`,blank:`␣`,blk12:`▒`,blk14:`░`,blk34:`▓`,block:`█`,bne:`=⃥`,bnequiv:`≡⃥`,bnot:`⌐`,bopf:`𝕓`,bot:`⊥`,bottom:`⊥`,bowtie:`⋈`,boxDL:`╗`,boxDR:`╔`,boxDl:`╖`,boxDr:`╓`,boxH:`═`,boxHD:`╦`,boxHU:`╩`,boxHd:`╤`,boxHu:`╧`,boxUL:`╝`,boxUR:`╚`,boxUl:`╜`,boxUr:`╙`,boxV:`║`,boxVH:`╬`,boxVL:`╣`,boxVR:`╠`,boxVh:`╫`,boxVl:`╢`,boxVr:`╟`,boxbox:`⧉`,boxdL:`╕`,boxdR:`╒`,boxdl:`┐`,boxdr:`┌`,boxh:`─`,boxhD:`╥`,boxhU:`╨`,boxhd:`┬`,boxhu:`┴`,boxminus:`⊟`,boxplus:`⊞`,boxtimes:`⊠`,boxuL:`╛`,boxuR:`╘`,boxul:`┘`,boxur:`└`,boxv:`│`,boxvH:`╪`,boxvL:`╡`,boxvR:`╞`,boxvh:`┼`,boxvl:`┤`,boxvr:`├`,bprime:`‵`,breve:`˘`,brvbar:`¦`,bscr:`𝒷`,bsemi:`⁏`,bsim:`∽`,bsime:`⋍`,bsol:`\\`,bsolb:`⧅`,bsolhsub:`⟈`,bull:`•`,bullet:`•`,bump:`≎`,bumpE:`⪮`,bumpe:`≏`,bumpeq:`≏`,cacute:`ć`,cap:`∩`,capand:`⩄`,capbrcup:`⩉`,capcap:`⩋`,capcup:`⩇`,capdot:`⩀`,caps:`∩︀`,caret:`⁁`,caron:`ˇ`,ccaps:`⩍`,ccaron:`č`,ccedil:`ç`,ccirc:`ĉ`,ccups:`⩌`,ccupssm:`⩐`,cdot:`ċ`,cedil:`¸`,cemptyv:`⦲`,cent:`¢`,centerdot:`·`,cfr:`𝔠`,chcy:`ч`,check:`✓`,checkmark:`✓`,chi:`χ`,cir:`○`,cirE:`⧃`,circ:`ˆ`,circeq:`≗`,circlearrowleft:`↺`,circlearrowright:`↻`,circledR:`®`,circledS:`Ⓢ`,circledast:`⊛`,circledcirc:`⊚`,circleddash:`⊝`,cire:`≗`,cirfnint:`⨐`,cirmid:`⫯`,cirscir:`⧂`,clubs:`♣`,clubsuit:`♣`,colon:`:`,colone:`≔`,coloneq:`≔`,comma:`,`,commat:`@`,comp:`∁`,compfn:`∘`,complement:`∁`,complexes:`ℂ`,cong:`≅`,congdot:`⩭`,conint:`∮`,copf:`𝕔`,coprod:`∐`,copy:`©`,copysr:`℗`,crarr:`↵`,cross:`✗`,cscr:`𝒸`,csub:`⫏`,csube:`⫑`,csup:`⫐`,csupe:`⫒`,ctdot:`⋯`,cudarrl:`⤸`,cudarrr:`⤵`,cuepr:`⋞`,cuesc:`⋟`,cularr:`↶`,cularrp:`⤽`,cup:`∪`,cupbrcap:`⩈`,cupcap:`⩆`,cupcup:`⩊`,cupdot:`⊍`,cupor:`⩅`,cups:`∪︀`,curarr:`↷`,curarrm:`⤼`,curlyeqprec:`⋞`,curlyeqsucc:`⋟`,curlyvee:`⋎`,curlywedge:`⋏`,curren:`¤`,curvearrowleft:`↶`,curvearrowright:`↷`,cuvee:`⋎`,cuwed:`⋏`,cwconint:`∲`,cwint:`∱`,cylcty:`⌭`,dArr:`⇓`,dHar:`⥥`,dagger:`†`,daleth:`ℸ`,darr:`↓`,dash:`‐`,dashv:`⊣`,dbkarow:`⤏`,dblac:`˝`,dcaron:`ď`,dcy:`д`,dd:`ⅆ`,ddagger:`‡`,ddarr:`⇊`,ddotseq:`⩷`,deg:`°`,delta:`δ`,demptyv:`⦱`,dfisht:`⥿`,dfr:`𝔡`,dharl:`⇃`,dharr:`⇂`,diam:`⋄`,diamond:`⋄`,diamondsuit:`♦`,diams:`♦`,die:`¨`,digamma:`ϝ`,disin:`⋲`,div:`÷`,divide:`÷`,divideontimes:`⋇`,divonx:`⋇`,djcy:`ђ`,dlcorn:`⌞`,dlcrop:`⌍`,dollar:`$`,dopf:`𝕕`,dot:`˙`,doteq:`≐`,doteqdot:`≑`,dotminus:`∸`,dotplus:`∔`,dotsquare:`⊡`,doublebarwedge:`⌆`,downarrow:`↓`,downdownarrows:`⇊`,downharpoonleft:`⇃`,downharpoonright:`⇂`,drbkarow:`⤐`,drcorn:`⌟`,drcrop:`⌌`,dscr:`𝒹`,dscy:`ѕ`,dsol:`⧶`,dstrok:`đ`,dtdot:`⋱`,dtri:`▿`,dtrif:`▾`,duarr:`⇵`,duhar:`⥯`,dwangle:`⦦`,dzcy:`џ`,dzigrarr:`⟿`,eDDot:`⩷`,eDot:`≑`,eacute:`é`,easter:`⩮`,ecaron:`ě`,ecir:`≖`,ecirc:`ê`,ecolon:`≕`,ecy:`э`,edot:`ė`,ee:`ⅇ`,efDot:`≒`,efr:`𝔢`,eg:`⪚`,egrave:`è`,egs:`⪖`,egsdot:`⪘`,el:`⪙`,elinters:`⏧`,ell:`ℓ`,els:`⪕`,elsdot:`⪗`,emacr:`ē`,empty:`∅`,emptyset:`∅`,emptyv:`∅`,emsp13:` `,emsp14:` `,emsp:` `,eng:`ŋ`,ensp:` `,eogon:`ę`,eopf:`𝕖`,epar:`⋕`,eparsl:`⧣`,eplus:`⩱`,epsi:`ε`,epsilon:`ε`,epsiv:`ϵ`,eqcirc:`≖`,eqcolon:`≕`,eqsim:`≂`,eqslantgtr:`⪖`,eqslantless:`⪕`,equals:`=`,equest:`≟`,equiv:`≡`,equivDD:`⩸`,eqvparsl:`⧥`,erDot:`≓`,erarr:`⥱`,escr:`ℯ`,esdot:`≐`,esim:`≂`,eta:`η`,eth:`ð`,euml:`ë`,euro:`€`,excl:`!`,exist:`∃`,expectation:`ℰ`,exponentiale:`ⅇ`,fallingdotseq:`≒`,fcy:`ф`,female:`♀`,ffilig:`ffi`,fflig:`ff`,ffllig:`ffl`,ffr:`𝔣`,filig:`fi`,fjlig:`fj`,flat:`♭`,fllig:`fl`,fltns:`▱`,fnof:`ƒ`,fopf:`𝕗`,forall:`∀`,fork:`⋔`,forkv:`⫙`,fpartint:`⨍`,frac12:`½`,frac13:`⅓`,frac14:`¼`,frac15:`⅕`,frac16:`⅙`,frac18:`⅛`,frac23:`⅔`,frac25:`⅖`,frac34:`¾`,frac35:`⅗`,frac38:`⅜`,frac45:`⅘`,frac56:`⅚`,frac58:`⅝`,frac78:`⅞`,frasl:`⁄`,frown:`⌢`,fscr:`𝒻`,gE:`≧`,gEl:`⪌`,gacute:`ǵ`,gamma:`γ`,gammad:`ϝ`,gap:`⪆`,gbreve:`ğ`,gcirc:`ĝ`,gcy:`г`,gdot:`ġ`,ge:`≥`,gel:`⋛`,geq:`≥`,geqq:`≧`,geqslant:`⩾`,ges:`⩾`,gescc:`⪩`,gesdot:`⪀`,gesdoto:`⪂`,gesdotol:`⪄`,gesl:`⋛︀`,gesles:`⪔`,gfr:`𝔤`,gg:`≫`,ggg:`⋙`,gimel:`ℷ`,gjcy:`ѓ`,gl:`≷`,glE:`⪒`,gla:`⪥`,glj:`⪤`,gnE:`≩`,gnap:`⪊`,gnapprox:`⪊`,gne:`⪈`,gneq:`⪈`,gneqq:`≩`,gnsim:`⋧`,gopf:`𝕘`,grave:"`",gscr:`ℊ`,gsim:`≳`,gsime:`⪎`,gsiml:`⪐`,gt:`>`,gtcc:`⪧`,gtcir:`⩺`,gtdot:`⋗`,gtlPar:`⦕`,gtquest:`⩼`,gtrapprox:`⪆`,gtrarr:`⥸`,gtrdot:`⋗`,gtreqless:`⋛`,gtreqqless:`⪌`,gtrless:`≷`,gtrsim:`≳`,gvertneqq:`≩︀`,gvnE:`≩︀`,hArr:`⇔`,hairsp:` `,half:`½`,hamilt:`ℋ`,hardcy:`ъ`,harr:`↔`,harrcir:`⥈`,harrw:`↭`,hbar:`ℏ`,hcirc:`ĥ`,hearts:`♥`,heartsuit:`♥`,hellip:`…`,hercon:`⊹`,hfr:`𝔥`,hksearow:`⤥`,hkswarow:`⤦`,hoarr:`⇿`,homtht:`∻`,hookleftarrow:`↩`,hookrightarrow:`↪`,hopf:`𝕙`,horbar:`―`,hscr:`𝒽`,hslash:`ℏ`,hstrok:`ħ`,hybull:`⁃`,hyphen:`‐`,iacute:`í`,ic:``,icirc:`î`,icy:`и`,iecy:`е`,iexcl:`¡`,iff:`⇔`,ifr:`𝔦`,igrave:`ì`,ii:`ⅈ`,iiiint:`⨌`,iiint:`∭`,iinfin:`⧜`,iiota:`℩`,ijlig:`ij`,imacr:`ī`,image:`ℑ`,imagline:`ℐ`,imagpart:`ℑ`,imath:`ı`,imof:`⊷`,imped:`Ƶ`,in:`∈`,incare:`℅`,infin:`∞`,infintie:`⧝`,inodot:`ı`,int:`∫`,intcal:`⊺`,integers:`ℤ`,intercal:`⊺`,intlarhk:`⨗`,intprod:`⨼`,iocy:`ё`,iogon:`į`,iopf:`𝕚`,iota:`ι`,iprod:`⨼`,iquest:`¿`,iscr:`𝒾`,isin:`∈`,isinE:`⋹`,isindot:`⋵`,isins:`⋴`,isinsv:`⋳`,isinv:`∈`,it:``,itilde:`ĩ`,iukcy:`і`,iuml:`ï`,jcirc:`ĵ`,jcy:`й`,jfr:`𝔧`,jmath:`ȷ`,jopf:`𝕛`,jscr:`𝒿`,jsercy:`ј`,jukcy:`є`,kappa:`κ`,kappav:`ϰ`,kcedil:`ķ`,kcy:`к`,kfr:`𝔨`,kgreen:`ĸ`,khcy:`х`,kjcy:`ќ`,kopf:`𝕜`,kscr:`𝓀`,lAarr:`⇚`,lArr:`⇐`,lAtail:`⤛`,lBarr:`⤎`,lE:`≦`,lEg:`⪋`,lHar:`⥢`,lacute:`ĺ`,laemptyv:`⦴`,lagran:`ℒ`,lambda:`λ`,lang:`⟨`,langd:`⦑`,langle:`⟨`,lap:`⪅`,laquo:`«`,larr:`←`,larrb:`⇤`,larrbfs:`⤟`,larrfs:`⤝`,larrhk:`↩`,larrlp:`↫`,larrpl:`⤹`,larrsim:`⥳`,larrtl:`↢`,lat:`⪫`,latail:`⤙`,late:`⪭`,lates:`⪭︀`,lbarr:`⤌`,lbbrk:`❲`,lbrace:`{`,lbrack:`[`,lbrke:`⦋`,lbrksld:`⦏`,lbrkslu:`⦍`,lcaron:`ľ`,lcedil:`ļ`,lceil:`⌈`,lcub:`{`,lcy:`л`,ldca:`⤶`,ldquo:`“`,ldquor:`„`,ldrdhar:`⥧`,ldrushar:`⥋`,ldsh:`↲`,le:`≤`,leftarrow:`←`,leftarrowtail:`↢`,leftharpoondown:`↽`,leftharpoonup:`↼`,leftleftarrows:`⇇`,leftrightarrow:`↔`,leftrightarrows:`⇆`,leftrightharpoons:`⇋`,leftrightsquigarrow:`↭`,leftthreetimes:`⋋`,leg:`⋚`,leq:`≤`,leqq:`≦`,leqslant:`⩽`,les:`⩽`,lescc:`⪨`,lesdot:`⩿`,lesdoto:`⪁`,lesdotor:`⪃`,lesg:`⋚︀`,lesges:`⪓`,lessapprox:`⪅`,lessdot:`⋖`,lesseqgtr:`⋚`,lesseqqgtr:`⪋`,lessgtr:`≶`,lesssim:`≲`,lfisht:`⥼`,lfloor:`⌊`,lfr:`𝔩`,lg:`≶`,lgE:`⪑`,lhard:`↽`,lharu:`↼`,lharul:`⥪`,lhblk:`▄`,ljcy:`љ`,ll:`≪`,llarr:`⇇`,llcorner:`⌞`,llhard:`⥫`,lltri:`◺`,lmidot:`ŀ`,lmoust:`⎰`,lmoustache:`⎰`,lnE:`≨`,lnap:`⪉`,lnapprox:`⪉`,lne:`⪇`,lneq:`⪇`,lneqq:`≨`,lnsim:`⋦`,loang:`⟬`,loarr:`⇽`,lobrk:`⟦`,longleftarrow:`⟵`,longleftrightarrow:`⟷`,longmapsto:`⟼`,longrightarrow:`⟶`,looparrowleft:`↫`,looparrowright:`↬`,lopar:`⦅`,lopf:`𝕝`,loplus:`⨭`,lotimes:`⨴`,lowast:`∗`,lowbar:`_`,loz:`◊`,lozenge:`◊`,lozf:`⧫`,lpar:`(`,lparlt:`⦓`,lrarr:`⇆`,lrcorner:`⌟`,lrhar:`⇋`,lrhard:`⥭`,lrm:``,lrtri:`⊿`,lsaquo:`‹`,lscr:`𝓁`,lsh:`↰`,lsim:`≲`,lsime:`⪍`,lsimg:`⪏`,lsqb:`[`,lsquo:`‘`,lsquor:`‚`,lstrok:`ł`,lt:`<`,ltcc:`⪦`,ltcir:`⩹`,ltdot:`⋖`,lthree:`⋋`,ltimes:`⋉`,ltlarr:`⥶`,ltquest:`⩻`,ltrPar:`⦖`,ltri:`◃`,ltrie:`⊴`,ltrif:`◂`,lurdshar:`⥊`,luruhar:`⥦`,lvertneqq:`≨︀`,lvnE:`≨︀`,mDDot:`∺`,macr:`¯`,male:`♂`,malt:`✠`,maltese:`✠`,map:`↦`,mapsto:`↦`,mapstodown:`↧`,mapstoleft:`↤`,mapstoup:`↥`,marker:`▮`,mcomma:`⨩`,mcy:`м`,mdash:`—`,measuredangle:`∡`,mfr:`𝔪`,mho:`℧`,micro:`µ`,mid:`∣`,midast:`*`,midcir:`⫰`,middot:`·`,minus:`−`,minusb:`⊟`,minusd:`∸`,minusdu:`⨪`,mlcp:`⫛`,mldr:`…`,mnplus:`∓`,models:`⊧`,mopf:`𝕞`,mp:`∓`,mscr:`𝓂`,mstpos:`∾`,mu:`μ`,multimap:`⊸`,mumap:`⊸`,nGg:`⋙̸`,nGt:`≫⃒`,nGtv:`≫̸`,nLeftarrow:`⇍`,nLeftrightarrow:`⇎`,nLl:`⋘̸`,nLt:`≪⃒`,nLtv:`≪̸`,nRightarrow:`⇏`,nVDash:`⊯`,nVdash:`⊮`,nabla:`∇`,nacute:`ń`,nang:`∠⃒`,nap:`≉`,napE:`⩰̸`,napid:`≋̸`,napos:`ʼn`,napprox:`≉`,natur:`♮`,natural:`♮`,naturals:`ℕ`,nbsp:`\xA0`,nbump:`≎̸`,nbumpe:`≏̸`,ncap:`⩃`,ncaron:`ň`,ncedil:`ņ`,ncong:`≇`,ncongdot:`⩭̸`,ncup:`⩂`,ncy:`н`,ndash:`–`,ne:`≠`,neArr:`⇗`,nearhk:`⤤`,nearr:`↗`,nearrow:`↗`,nedot:`≐̸`,nequiv:`≢`,nesear:`⤨`,nesim:`≂̸`,nexist:`∄`,nexists:`∄`,nfr:`𝔫`,ngE:`≧̸`,nge:`≱`,ngeq:`≱`,ngeqq:`≧̸`,ngeqslant:`⩾̸`,nges:`⩾̸`,ngsim:`≵`,ngt:`≯`,ngtr:`≯`,nhArr:`⇎`,nharr:`↮`,nhpar:`⫲`,ni:`∋`,nis:`⋼`,nisd:`⋺`,niv:`∋`,njcy:`њ`,nlArr:`⇍`,nlE:`≦̸`,nlarr:`↚`,nldr:`‥`,nle:`≰`,nleftarrow:`↚`,nleftrightarrow:`↮`,nleq:`≰`,nleqq:`≦̸`,nleqslant:`⩽̸`,nles:`⩽̸`,nless:`≮`,nlsim:`≴`,nlt:`≮`,nltri:`⋪`,nltrie:`⋬`,nmid:`∤`,nopf:`𝕟`,not:`¬`,notin:`∉`,notinE:`⋹̸`,notindot:`⋵̸`,notinva:`∉`,notinvb:`⋷`,notinvc:`⋶`,notni:`∌`,notniva:`∌`,notnivb:`⋾`,notnivc:`⋽`,npar:`∦`,nparallel:`∦`,nparsl:`⫽⃥`,npart:`∂̸`,npolint:`⨔`,npr:`⊀`,nprcue:`⋠`,npre:`⪯̸`,nprec:`⊀`,npreceq:`⪯̸`,nrArr:`⇏`,nrarr:`↛`,nrarrc:`⤳̸`,nrarrw:`↝̸`,nrightarrow:`↛`,nrtri:`⋫`,nrtrie:`⋭`,nsc:`⊁`,nsccue:`⋡`,nsce:`⪰̸`,nscr:`𝓃`,nshortmid:`∤`,nshortparallel:`∦`,nsim:`≁`,nsime:`≄`,nsimeq:`≄`,nsmid:`∤`,nspar:`∦`,nsqsube:`⋢`,nsqsupe:`⋣`,nsub:`⊄`,nsubE:`⫅̸`,nsube:`⊈`,nsubset:`⊂⃒`,nsubseteq:`⊈`,nsubseteqq:`⫅̸`,nsucc:`⊁`,nsucceq:`⪰̸`,nsup:`⊅`,nsupE:`⫆̸`,nsupe:`⊉`,nsupset:`⊃⃒`,nsupseteq:`⊉`,nsupseteqq:`⫆̸`,ntgl:`≹`,ntilde:`ñ`,ntlg:`≸`,ntriangleleft:`⋪`,ntrianglelefteq:`⋬`,ntriangleright:`⋫`,ntrianglerighteq:`⋭`,nu:`ν`,num:`#`,numero:`№`,numsp:` `,nvDash:`⊭`,nvHarr:`⤄`,nvap:`≍⃒`,nvdash:`⊬`,nvge:`≥⃒`,nvgt:`>⃒`,nvinfin:`⧞`,nvlArr:`⤂`,nvle:`≤⃒`,nvlt:`<⃒`,nvltrie:`⊴⃒`,nvrArr:`⤃`,nvrtrie:`⊵⃒`,nvsim:`∼⃒`,nwArr:`⇖`,nwarhk:`⤣`,nwarr:`↖`,nwarrow:`↖`,nwnear:`⤧`,oS:`Ⓢ`,oacute:`ó`,oast:`⊛`,ocir:`⊚`,ocirc:`ô`,ocy:`о`,odash:`⊝`,odblac:`ő`,odiv:`⨸`,odot:`⊙`,odsold:`⦼`,oelig:`œ`,ofcir:`⦿`,ofr:`𝔬`,ogon:`˛`,ograve:`ò`,ogt:`⧁`,ohbar:`⦵`,ohm:`Ω`,oint:`∮`,olarr:`↺`,olcir:`⦾`,olcross:`⦻`,oline:`‾`,olt:`⧀`,omacr:`ō`,omega:`ω`,omicron:`ο`,omid:`⦶`,ominus:`⊖`,oopf:`𝕠`,opar:`⦷`,operp:`⦹`,oplus:`⊕`,or:`∨`,orarr:`↻`,ord:`⩝`,order:`ℴ`,orderof:`ℴ`,ordf:`ª`,ordm:`º`,origof:`⊶`,oror:`⩖`,orslope:`⩗`,orv:`⩛`,oscr:`ℴ`,oslash:`ø`,osol:`⊘`,otilde:`õ`,otimes:`⊗`,otimesas:`⨶`,ouml:`ö`,ovbar:`⌽`,par:`∥`,para:`¶`,parallel:`∥`,parsim:`⫳`,parsl:`⫽`,part:`∂`,pcy:`п`,percnt:`%`,period:`.`,permil:`‰`,perp:`⊥`,pertenk:`‱`,pfr:`𝔭`,phi:`φ`,phiv:`ϕ`,phmmat:`ℳ`,phone:`☎`,pi:`π`,pitchfork:`⋔`,piv:`ϖ`,planck:`ℏ`,planckh:`ℎ`,plankv:`ℏ`,plus:`+`,plusacir:`⨣`,plusb:`⊞`,pluscir:`⨢`,plusdo:`∔`,plusdu:`⨥`,pluse:`⩲`,plusmn:`±`,plussim:`⨦`,plustwo:`⨧`,pm:`±`,pointint:`⨕`,popf:`𝕡`,pound:`£`,pr:`≺`,prE:`⪳`,prap:`⪷`,prcue:`≼`,pre:`⪯`,prec:`≺`,precapprox:`⪷`,preccurlyeq:`≼`,preceq:`⪯`,precnapprox:`⪹`,precneqq:`⪵`,precnsim:`⋨`,precsim:`≾`,prime:`′`,primes:`ℙ`,prnE:`⪵`,prnap:`⪹`,prnsim:`⋨`,prod:`∏`,profalar:`⌮`,profline:`⌒`,profsurf:`⌓`,prop:`∝`,propto:`∝`,prsim:`≾`,prurel:`⊰`,pscr:`𝓅`,psi:`ψ`,puncsp:` `,qfr:`𝔮`,qint:`⨌`,qopf:`𝕢`,qprime:`⁗`,qscr:`𝓆`,quaternions:`ℍ`,quatint:`⨖`,quest:`?`,questeq:`≟`,quot:`"`,rAarr:`⇛`,rArr:`⇒`,rAtail:`⤜`,rBarr:`⤏`,rHar:`⥤`,race:`∽̱`,racute:`ŕ`,radic:`√`,raemptyv:`⦳`,rang:`⟩`,rangd:`⦒`,range:`⦥`,rangle:`⟩`,raquo:`»`,rarr:`→`,rarrap:`⥵`,rarrb:`⇥`,rarrbfs:`⤠`,rarrc:`⤳`,rarrfs:`⤞`,rarrhk:`↪`,rarrlp:`↬`,rarrpl:`⥅`,rarrsim:`⥴`,rarrtl:`↣`,rarrw:`↝`,ratail:`⤚`,ratio:`∶`,rationals:`ℚ`,rbarr:`⤍`,rbbrk:`❳`,rbrace:`}`,rbrack:`]`,rbrke:`⦌`,rbrksld:`⦎`,rbrkslu:`⦐`,rcaron:`ř`,rcedil:`ŗ`,rceil:`⌉`,rcub:`}`,rcy:`р`,rdca:`⤷`,rdldhar:`⥩`,rdquo:`”`,rdquor:`”`,rdsh:`↳`,real:`ℜ`,realine:`ℛ`,realpart:`ℜ`,reals:`ℝ`,rect:`▭`,reg:`®`,rfisht:`⥽`,rfloor:`⌋`,rfr:`𝔯`,rhard:`⇁`,rharu:`⇀`,rharul:`⥬`,rho:`ρ`,rhov:`ϱ`,rightarrow:`→`,rightarrowtail:`↣`,rightharpoondown:`⇁`,rightharpoonup:`⇀`,rightleftarrows:`⇄`,rightleftharpoons:`⇌`,rightrightarrows:`⇉`,rightsquigarrow:`↝`,rightthreetimes:`⋌`,ring:`˚`,risingdotseq:`≓`,rlarr:`⇄`,rlhar:`⇌`,rlm:``,rmoust:`⎱`,rmoustache:`⎱`,rnmid:`⫮`,roang:`⟭`,roarr:`⇾`,robrk:`⟧`,ropar:`⦆`,ropf:`𝕣`,roplus:`⨮`,rotimes:`⨵`,rpar:`)`,rpargt:`⦔`,rppolint:`⨒`,rrarr:`⇉`,rsaquo:`›`,rscr:`𝓇`,rsh:`↱`,rsqb:`]`,rsquo:`’`,rsquor:`’`,rthree:`⋌`,rtimes:`⋊`,rtri:`▹`,rtrie:`⊵`,rtrif:`▸`,rtriltri:`⧎`,ruluhar:`⥨`,rx:`℞`,sacute:`ś`,sbquo:`‚`,sc:`≻`,scE:`⪴`,scap:`⪸`,scaron:`š`,sccue:`≽`,sce:`⪰`,scedil:`ş`,scirc:`ŝ`,scnE:`⪶`,scnap:`⪺`,scnsim:`⋩`,scpolint:`⨓`,scsim:`≿`,scy:`с`,sdot:`⋅`,sdotb:`⊡`,sdote:`⩦`,seArr:`⇘`,searhk:`⤥`,searr:`↘`,searrow:`↘`,sect:`§`,semi:`;`,seswar:`⤩`,setminus:`∖`,setmn:`∖`,sext:`✶`,sfr:`𝔰`,sfrown:`⌢`,sharp:`♯`,shchcy:`щ`,shcy:`ш`,shortmid:`∣`,shortparallel:`∥`,shy:``,sigma:`σ`,sigmaf:`ς`,sigmav:`ς`,sim:`∼`,simdot:`⩪`,sime:`≃`,simeq:`≃`,simg:`⪞`,simgE:`⪠`,siml:`⪝`,simlE:`⪟`,simne:`≆`,simplus:`⨤`,simrarr:`⥲`,slarr:`←`,smallsetminus:`∖`,smashp:`⨳`,smeparsl:`⧤`,smid:`∣`,smile:`⌣`,smt:`⪪`,smte:`⪬`,smtes:`⪬︀`,softcy:`ь`,sol:`/`,solb:`⧄`,solbar:`⌿`,sopf:`𝕤`,spades:`♠`,spadesuit:`♠`,spar:`∥`,sqcap:`⊓`,sqcaps:`⊓︀`,sqcup:`⊔`,sqcups:`⊔︀`,sqsub:`⊏`,sqsube:`⊑`,sqsubset:`⊏`,sqsubseteq:`⊑`,sqsup:`⊐`,sqsupe:`⊒`,sqsupset:`⊐`,sqsupseteq:`⊒`,squ:`□`,square:`□`,squarf:`▪`,squf:`▪`,srarr:`→`,sscr:`𝓈`,ssetmn:`∖`,ssmile:`⌣`,sstarf:`⋆`,star:`☆`,starf:`★`,straightepsilon:`ϵ`,straightphi:`ϕ`,strns:`¯`,sub:`⊂`,subE:`⫅`,subdot:`⪽`,sube:`⊆`,subedot:`⫃`,submult:`⫁`,subnE:`⫋`,subne:`⊊`,subplus:`⪿`,subrarr:`⥹`,subset:`⊂`,subseteq:`⊆`,subseteqq:`⫅`,subsetneq:`⊊`,subsetneqq:`⫋`,subsim:`⫇`,subsub:`⫕`,subsup:`⫓`,succ:`≻`,succapprox:`⪸`,succcurlyeq:`≽`,succeq:`⪰`,succnapprox:`⪺`,succneqq:`⪶`,succnsim:`⋩`,succsim:`≿`,sum:`∑`,sung:`♪`,sup1:`¹`,sup2:`²`,sup3:`³`,sup:`⊃`,supE:`⫆`,supdot:`⪾`,supdsub:`⫘`,supe:`⊇`,supedot:`⫄`,suphsol:`⟉`,suphsub:`⫗`,suplarr:`⥻`,supmult:`⫂`,supnE:`⫌`,supne:`⊋`,supplus:`⫀`,supset:`⊃`,supseteq:`⊇`,supseteqq:`⫆`,supsetneq:`⊋`,supsetneqq:`⫌`,supsim:`⫈`,supsub:`⫔`,supsup:`⫖`,swArr:`⇙`,swarhk:`⤦`,swarr:`↙`,swarrow:`↙`,swnwar:`⤪`,szlig:`ß`,target:`⌖`,tau:`τ`,tbrk:`⎴`,tcaron:`ť`,tcedil:`ţ`,tcy:`т`,tdot:`⃛`,telrec:`⌕`,tfr:`𝔱`,there4:`∴`,therefore:`∴`,theta:`θ`,thetasym:`ϑ`,thetav:`ϑ`,thickapprox:`≈`,thicksim:`∼`,thinsp:` `,thkap:`≈`,thksim:`∼`,thorn:`þ`,tilde:`˜`,times:`×`,timesb:`⊠`,timesbar:`⨱`,timesd:`⨰`,tint:`∭`,toea:`⤨`,top:`⊤`,topbot:`⌶`,topcir:`⫱`,topf:`𝕥`,topfork:`⫚`,tosa:`⤩`,tprime:`‴`,trade:`™`,triangle:`▵`,triangledown:`▿`,triangleleft:`◃`,trianglelefteq:`⊴`,triangleq:`≜`,triangleright:`▹`,trianglerighteq:`⊵`,tridot:`◬`,trie:`≜`,triminus:`⨺`,triplus:`⨹`,trisb:`⧍`,tritime:`⨻`,trpezium:`⏢`,tscr:`𝓉`,tscy:`ц`,tshcy:`ћ`,tstrok:`ŧ`,twixt:`≬`,twoheadleftarrow:`↞`,twoheadrightarrow:`↠`,uArr:`⇑`,uHar:`⥣`,uacute:`ú`,uarr:`↑`,ubrcy:`ў`,ubreve:`ŭ`,ucirc:`û`,ucy:`у`,udarr:`⇅`,udblac:`ű`,udhar:`⥮`,ufisht:`⥾`,ufr:`𝔲`,ugrave:`ù`,uharl:`↿`,uharr:`↾`,uhblk:`▀`,ulcorn:`⌜`,ulcorner:`⌜`,ulcrop:`⌏`,ultri:`◸`,umacr:`ū`,uml:`¨`,uogon:`ų`,uopf:`𝕦`,uparrow:`↑`,updownarrow:`↕`,upharpoonleft:`↿`,upharpoonright:`↾`,uplus:`⊎`,upsi:`υ`,upsih:`ϒ`,upsilon:`υ`,upuparrows:`⇈`,urcorn:`⌝`,urcorner:`⌝`,urcrop:`⌎`,uring:`ů`,urtri:`◹`,uscr:`𝓊`,utdot:`⋰`,utilde:`ũ`,utri:`▵`,utrif:`▴`,uuarr:`⇈`,uuml:`ü`,uwangle:`⦧`,vArr:`⇕`,vBar:`⫨`,vBarv:`⫩`,vDash:`⊨`,vangrt:`⦜`,varepsilon:`ϵ`,varkappa:`ϰ`,varnothing:`∅`,varphi:`ϕ`,varpi:`ϖ`,varpropto:`∝`,varr:`↕`,varrho:`ϱ`,varsigma:`ς`,varsubsetneq:`⊊︀`,varsubsetneqq:`⫋︀`,varsupsetneq:`⊋︀`,varsupsetneqq:`⫌︀`,vartheta:`ϑ`,vartriangleleft:`⊲`,vartriangleright:`⊳`,vcy:`в`,vdash:`⊢`,vee:`∨`,veebar:`⊻`,veeeq:`≚`,vellip:`⋮`,verbar:`|`,vert:`|`,vfr:`𝔳`,vltri:`⊲`,vnsub:`⊂⃒`,vnsup:`⊃⃒`,vopf:`𝕧`,vprop:`∝`,vrtri:`⊳`,vscr:`𝓋`,vsubnE:`⫋︀`,vsubne:`⊊︀`,vsupnE:`⫌︀`,vsupne:`⊋︀`,vzigzag:`⦚`,wcirc:`ŵ`,wedbar:`⩟`,wedge:`∧`,wedgeq:`≙`,weierp:`℘`,wfr:`𝔴`,wopf:`𝕨`,wp:`℘`,wr:`≀`,wreath:`≀`,wscr:`𝓌`,xcap:`⋂`,xcirc:`◯`,xcup:`⋃`,xdtri:`▽`,xfr:`𝔵`,xhArr:`⟺`,xharr:`⟷`,xi:`ξ`,xlArr:`⟸`,xlarr:`⟵`,xmap:`⟼`,xnis:`⋻`,xodot:`⨀`,xopf:`𝕩`,xoplus:`⨁`,xotime:`⨂`,xrArr:`⟹`,xrarr:`⟶`,xscr:`𝓍`,xsqcup:`⨆`,xuplus:`⨄`,xutri:`△`,xvee:`⋁`,xwedge:`⋀`,yacute:`ý`,yacy:`я`,ycirc:`ŷ`,ycy:`ы`,yen:`¥`,yfr:`𝔶`,yicy:`ї`,yopf:`𝕪`,yscr:`𝓎`,yucy:`ю`,yuml:`ÿ`,zacute:`ź`,zcaron:`ž`,zcy:`з`,zdot:`ż`,zeetrf:`ℨ`,zeta:`ζ`,zfr:`𝔷`,zhcy:`ж`,zigrarr:`⇝`,zopf:`𝕫`,zscr:`𝓏`,zwj:``,zwnj:``},Fle={}.hasOwnProperty;function D2(e){return Fle.call(E2,e)?E2[e]:!1}function O2(e,t){let n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)==65535||(n&65535)==65534||n>1114111?`�`:String.fromCodePoint(n)}var Ile=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function k2(e){return e.replace(Ile,Lle)}function Lle(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){let e=n.charCodeAt(1),t=e===120||e===88;return O2(n.slice(t?2:1),t?16:10)}return D2(n)||e}function Rle(e){return e.label||!e.identifier?e.label||``:k2(e.identifier)}function zle(e){if(!e._compiled){let t=(e.atBreak?`[\\r\\n][\\t ]*`:``)+(e.before?`(?:`+e.before+`)`:``);e._compiled=RegExp((t?`(`+t+`)`:``)+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?`\\`:``)+e.character+(e.after?`(?:`+e.after+`)`:``),`g`)}return e._compiled}function Ble(e,t,n){let r=t.indexStack,i=e.children||[],a=[],o=-1,s=n.before;r.push(-1);let c=t.createTracker(n);for(;++o<i.length;){let l=i[o],u;if(r[r.length-1]=o,o+1<i.length){let n=t.handle.handlers[i[o+1].type];n&&n.peek&&(n=n.peek),u=n?n(i[o+1],e,t,{before:``,after:``,...c.current()}).charAt(0):``}else u=n.after;a.length>0&&(s===`\r`||s===`
|
|
55
|
+
`)&&l.type===`html`&&(a[a.length-1]=a[a.length-1].replace(/(\r?\n|\r)$/,` `),s=` `,c=t.createTracker(n),c.move(a.join(``))),a.push(c.move(t.handle(l,e,t,{...c.current(),before:s,after:u}))),s=a[a.length-1].slice(-1)}return r.pop(),a.join(``)}function Vle(e,t,n){let r=t.indexStack,i=e.children||[],a=t.createTracker(n),o=[],s=-1;for(r.push(-1);++s<i.length;){let n=i[s];r[r.length-1]=s,o.push(a.move(t.handle(n,e,t,{before:`
|
|
56
|
+
`,after:`
|
|
57
|
+
`,...a.current()}))),n.type!==`list`&&(t.bulletLastUsed=void 0),s<i.length-1&&o.push(a.move(Hle(n,i[s+1],e,t)))}return r.pop(),o.join(``)}function Hle(e,t,n,r){let i=r.join.length;for(;i--;){let a=r.join[i](e,t,n,r);if(a===!0||a===1)break;if(typeof a==`number`)return`
|
|
58
|
+
`.repeat(1+a);if(a===!1)return`
|
|
59
|
+
|
|
60
|
+
<!---->
|
|
61
|
+
|
|
62
|
+
`}return`
|
|
63
|
+
|
|
64
|
+
`}var Ule=/\r?\n|\r/g;function Wle(e,t){let n=[],r=0,i=0,a;for(;a=Ule.exec(e);)o(e.slice(r,a.index)),n.push(a[0]),r=a.index+a[0].length,i++;return o(e.slice(r)),n.join(``);function o(e){n.push(t(e,i,!e))}}function Gle(e,t,n){let r=(n.before||``)+(t||``)+(n.after||``),i=[],a=[],o={},s=-1;for(;++s<e.unsafe.length;){let t=e.unsafe[s];if(!i2(e.stack,t))continue;let n=e.compilePattern(t),a;for(;a=n.exec(r);){let e=`before`in t||!!t.atBreak,n=`after`in t,r=a.index+(e?a[1].length:0);i.includes(r)?(o[r].before&&!e&&(o[r].before=!1),o[r].after&&!n&&(o[r].after=!1)):(i.push(r),o[r]={before:e,after:n})}}i.sort(Kle);let c=n.before?n.before.length:0,l=r.length-(n.after?n.after.length:0);for(s=-1;++s<i.length;){let e=i[s];e<c||e>=l||e+1<l&&i[s+1]===e+1&&o[e].after&&!o[e+1].before&&!o[e+1].after||i[s-1]===e-1&&o[e].before&&!o[e-1].before&&!o[e-1].after||(c!==e&&a.push(A2(r.slice(c,e),`\\`)),c=e,/[!-/:-@[-`{-~]/.test(r.charAt(e))&&(!n.encode||!n.encode.includes(r.charAt(e)))?a.push(`\\`):(a.push(`&#x`+r.charCodeAt(e).toString(16).toUpperCase()+`;`),c++))}return a.push(A2(r.slice(c,l),n.after)),a.join(``)}function Kle(e,t){return e-t}function A2(e,t){let n=/\\(?=[!-/:-@[-`{-~])/g,r=[],i=[],a=e+t,o=-1,s=0,c;for(;c=n.exec(a);)r.push(c.index);for(;++o<r.length;)s!==r[o]&&i.push(e.slice(s,r[o])),i.push(`\\`),s=r[o];return i.push(e.slice(s)),i.join(``)}function qle(e){let t=e||{},n=t.now||{},r=t.lineShift||0,i=n.line||1,a=n.column||1;return{move:c,current:o,shift:s};function o(){return{now:{line:i,column:a},lineShift:r}}function s(e){r+=e}function c(e){let t=e||``,n=t.split(/\r?\n|\r/g),o=n[n.length-1];return i+=n.length-1,a=n.length===1?a+o.length:1+o.length+r,t}}function Jle(e,t={}){let n={enter:i,indentLines:Wle,associationId:Rle,containerPhrasing:Qle,containerFlow:$le,createTracker:qle,compilePattern:zle,safe:eue,stack:[],unsafe:[...Ple],join:[...Mle],handlers:{...w2},options:{},indexStack:[],handle:void 0};n2(n,t),n.options.tightDefinitions&&n.join.push(Zle),n.handle=FZ(`type`,{invalid:Yle,unknown:Xle,handlers:n.handlers});let r=n.handle(e,void 0,n,{before:`
|
|
65
|
+
`,after:`
|
|
66
|
+
`,now:{line:1,column:1},lineShift:0});return r&&r.charCodeAt(r.length-1)!==10&&r.charCodeAt(r.length-1)!==13&&(r+=`
|
|
67
|
+
`),r;function i(e){return n.stack.push(e),t;function t(){n.stack.pop()}}}function Yle(e){throw Error("Cannot handle value `"+e+"`, expected node")}function Xle(e){throw Error("Cannot handle unknown node `"+e.type+"`")}function Zle(e,t){if(e.type===`definition`&&e.type===t.type)return 0}function Qle(e,t){return Ble(e,this,t)}function $le(e,t){return Vle(e,this,t)}function eue(e,t){return Gle(this,e,t)}function tue(){return{enter:{table:nue,tableData:M2,tableHeader:M2,tableRow:iue},exit:{codeText:aue,table:rue,tableData:j2,tableHeader:j2,tableRow:j2}}}function nue(e){let t=e._align;this.enter({type:`table`,align:t.map(function(e){return e===`none`?null:e}),children:[]},e),this.data.inTable=!0}function rue(e){this.exit(e),this.data.inTable=void 0}function iue(e){this.enter({type:`tableRow`,children:[]},e)}function j2(e){this.exit(e)}function M2(e){this.enter({type:`tableCell`,children:[]},e)}function aue(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,oue));let n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function oue(e,t){return t===`|`?t:e}function sue(e){let t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,a=n?` `:`|`;return{unsafe:[{character:`\r`,inConstruct:`tableCell`},{character:`
|
|
68
|
+
`,inConstruct:`tableCell`},{atBreak:!0,character:`|`,after:`[ :-]`},{character:`|`,inConstruct:`tableCell`},{atBreak:!0,character:`:`,after:`-`},{atBreak:!0,character:`-`,after:`[:|-]`}],handlers:{inlineCode:f,table:o,tableCell:c,tableRow:s}};function o(e,t,n,r){return l(u(e,n,r),e.align)}function s(e,t,n,r){let i=l([d(e,n,r)]);return i.slice(0,i.indexOf(`
|
|
69
|
+
`))}function c(e,t,n,r){let i=n.enter(`tableCell`),o=n.enter(`phrasing`),s=n.containerPhrasing(e,{...r,before:a,after:a});return o(),i(),s}function l(e,t){return Xce(e,{align:t,alignDelimiters:r,padding:n,stringLength:i})}function u(e,t,n){let r=e.children,i=-1,a=[],o=t.enter(`table`);for(;++i<r.length;)a[i]=d(r[i],t,n);return o(),a}function d(e,t,n){let r=e.children,i=-1,a=[],o=t.enter(`tableRow`);for(;++i<r.length;)a[i]=c(r[i],e,t,n);return o(),a}function f(e,t,n){let r=w2.inlineCode(e,t,n);return n.stack.includes(`tableCell`)&&(r=r.replace(/\|/g,`\\$&`)),r}}function cue(){return{exit:{taskListCheckValueChecked:N2,taskListCheckValueUnchecked:N2,paragraph:uue}}}function lue(){return{unsafe:[{atBreak:!0,character:`-`,after:`[:|-]`}],handlers:{listItem:due}}}function N2(e){let t=this.stack[this.stack.length-2];t.type,t.checked=e.type===`taskListCheckValueChecked`}function uue(e){let t=this.stack[this.stack.length-2];if(t&&t.type===`listItem`&&typeof t.checked==`boolean`){let e=this.stack[this.stack.length-1];e.type;let n=e.children[0];if(n&&n.type===`text`){let r=t.children,i=-1,a;for(;++i<r.length;){let e=r[i];if(e.type===`paragraph`){a=e;break}}a===e&&(n.value=n.value.slice(1),n.value.length===0?e.children.shift():e.position&&n.position&&typeof n.position.start.offset==`number`&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function due(e,t,n,r){let i=e.children[0],a=typeof e.checked==`boolean`&&i&&i.type===`paragraph`,o=`[`+(e.checked?`x`:` `)+`] `,s=n.createTracker(r);a&&s.move(o);let c=w2.listItem(e,t,n,{...r,...s.current()});return a&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,l)),c;function l(e){return e+o}}function fue(){return[yce(),jce(),Gce(),tue(),cue()]}function pue(e){return{extensions:[bce(),Mce(),Kce(),sue(e),lue()]}}function P2(e,t,n,r){let i=e.length,a=0,o;if(t=t<0?-t>i?0:i+t:t>i?i:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);a<r.length;)o=r.slice(a,a+1e4),o.unshift(t,0),e.splice(...o),a+=1e4,t+=1e4}function F2(e,t){return e.length>0?(P2(e,e.length,0,t),e):t}var I2={}.hasOwnProperty;function L2(e){let t={},n=-1;for(;++n<e.length;)mue(t,e[n]);return t}function mue(e,t){let n;for(n in t){let r=(I2.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n],a;if(i)for(a in i){I2.call(r,a)||(r[a]=[]);let e=i[a];hue(r[a],Array.isArray(e)?e:e?[e]:[])}}}function hue(e,t){let n=-1,r=[];for(;++n<t.length;)(t[n].add===`after`?e:r).push(t[n]);P2(e,0,0,r)}var gue={tokenize:Sue,partial:!0},R2={tokenize:Cue,partial:!0},z2={tokenize:wue,partial:!0},B2={tokenize:Tue,partial:!0},_ue={tokenize:Eue,partial:!0},V2={tokenize:bue,previous:K2},H2={tokenize:xue,previous:q2},U2={tokenize:yue,previous:J2},W2={};function vue(){return{text:W2}}for(var G2=48;G2<123;)W2[G2]=U2,G2++,G2===58?G2=65:G2===91&&(G2=97);W2[43]=U2,W2[45]=U2,W2[46]=U2,W2[95]=U2,W2[72]=[U2,H2],W2[104]=[U2,H2],W2[87]=[U2,V2],W2[119]=[U2,V2];function yue(e,t,n){let r=this,i,a;return o;function o(t){return!Y2(t)||!J2.call(r,r.previous)||X2(r.events)?n(t):(e.enter(`literalAutolink`),e.enter(`literalAutolinkEmail`),s(t))}function s(t){return Y2(t)?(e.consume(t),s):t===64?(e.consume(t),c):n(t)}function c(t){return t===46?e.check(_ue,u,l)(t):t===45||t===95||I0(t)?(a=!0,e.consume(t),c):u(t)}function l(t){return e.consume(t),i=!0,c}function u(o){return a&&i&&F0(r.previous)?(e.exit(`literalAutolinkEmail`),e.exit(`literalAutolink`),t(o)):n(o)}}function bue(e,t,n){let r=this;return i;function i(t){return t!==87&&t!==119||!K2.call(r,r.previous)||X2(r.events)?n(t):(e.enter(`literalAutolink`),e.enter(`literalAutolinkWww`),e.check(gue,e.attempt(R2,e.attempt(z2,a),n),n)(t))}function a(n){return e.exit(`literalAutolinkWww`),e.exit(`literalAutolink`),t(n)}}function xue(e,t,n){let r=this,i=``,a=!1;return o;function o(t){return(t===72||t===104)&&q2.call(r,r.previous)&&!X2(r.events)?(e.enter(`literalAutolink`),e.enter(`literalAutolinkHttp`),i+=String.fromCodePoint(t),e.consume(t),s):n(t)}function s(t){if(F0(t)&&i.length<5)return i+=String.fromCodePoint(t),e.consume(t),s;if(t===58){let n=i.toLowerCase();if(n===`http`||n===`https`)return e.consume(t),c}return n(t)}function c(t){return t===47?(e.consume(t),a?l:(a=!0,c)):n(t)}function l(t){return t===null||R0(t)||U0(t)||K0(t)||G0(t)?n(t):e.attempt(R2,e.attempt(z2,u),n)(t)}function u(n){return e.exit(`literalAutolinkHttp`),e.exit(`literalAutolink`),t(n)}}function Sue(e,t,n){let r=0;return i;function i(t){return(t===87||t===119)&&r<3?(r++,e.consume(t),i):t===46&&r===3?(e.consume(t),a):n(t)}function a(e){return e===null?n(e):t(e)}}function Cue(e,t,n){let r,i,a;return o;function o(t){return t===46||t===95?e.check(B2,c,s)(t):t===null||U0(t)||K0(t)||t!==45&&G0(t)?c(t):(a=!0,e.consume(t),o)}function s(t){return t===95?r=!0:(i=r,r=void 0),e.consume(t),o}function c(e){return i||r||!a?n(e):t(e)}}function wue(e,t){let n=0,r=0;return i;function i(o){return o===40?(n++,e.consume(o),i):o===41&&r<n?a(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(B2,t,a)(o):o===null||U0(o)||K0(o)?t(o):(e.consume(o),i)}function a(t){return t===41&&r++,e.consume(t),i}}function Tue(e,t,n){return r;function r(o){return o===33||o===34||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===63||o===95||o===126?(e.consume(o),r):o===38?(e.consume(o),a):o===93?(e.consume(o),i):o===60||o===null||U0(o)||K0(o)?t(o):n(o)}function i(e){return e===null||e===40||e===91||U0(e)||K0(e)?t(e):r(e)}function a(e){return F0(e)?o(e):n(e)}function o(t){return t===59?(e.consume(t),r):F0(t)?(e.consume(t),o):n(t)}}function Eue(e,t,n){return r;function r(t){return e.consume(t),i}function i(e){return I0(e)?n(e):t(e)}}function K2(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||U0(e)}function q2(e){return!F0(e)}function J2(e){return!(e===47||Y2(e))}function Y2(e){return e===43||e===45||e===46||e===95||I0(e)}function X2(e){let t=e.length,n=!1;for(;t--;){let r=e[t][1];if((r.type===`labelLink`||r.type===`labelImage`)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}function Z2(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let a=e.charCodeAt(n),o=``;if(a===37&&I0(e.charCodeAt(n+1))&&I0(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(o=String.fromCharCode(a));else if(a>55295&&a<57344){let t=e.charCodeAt(n+1);a<56320&&t>56319&&t<57344?(o=String.fromCharCode(a,t),i=1):o=`�`}else o=String.fromCharCode(a);o&&=(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,``),i&&=(n+=i,0)}return t.join(``)+e.slice(r)}function Q2(e){if(e===null||U0(e)||K0(e))return 1;if(G0(e))return 2}function $2(e,t,n){let r=[],i=-1;for(;++i<e.length;){let a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}var e4={name:`attention`,tokenize:Oue,resolveAll:Due};function Due(e,t){let n=-1,r,i,a,o,s,c,l,u;for(;++n<e.length;)if(e[n][0]===`enter`&&e[n][1].type===`attentionSequence`&&e[n][1]._close){for(r=n;r--;)if(e[r][0]===`exit`&&e[r][1].type===`attentionSequence`&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;c=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;let d=Object.assign({},e[r][1].end),f=Object.assign({},e[n][1].start);t4(d,-c),t4(f,c),o={type:c>1?`strongSequence`:`emphasisSequence`,start:d,end:Object.assign({},e[r][1].end)},s={type:c>1?`strongSequence`:`emphasisSequence`,start:Object.assign({},e[n][1].start),end:f},a={type:c>1?`strongText`:`emphasisText`,start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},i={type:c>1?`strong`:`emphasis`,start:Object.assign({},o.start),end:Object.assign({},s.end)},e[r][1].end=Object.assign({},o.start),e[n][1].start=Object.assign({},s.end),l=[],e[r][1].end.offset-e[r][1].start.offset&&(l=F2(l,[[`enter`,e[r][1],t],[`exit`,e[r][1],t]])),l=F2(l,[[`enter`,i,t],[`enter`,o,t],[`exit`,o,t],[`enter`,a,t]]),l=F2(l,$2(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),l=F2(l,[[`exit`,a,t],[`enter`,s,t],[`exit`,s,t],[`exit`,i,t]]),e[n][1].end.offset-e[n][1].start.offset?(u=2,l=F2(l,[[`enter`,e[n][1],t],[`exit`,e[n][1],t]])):u=0,P2(e,r-1,n-r+3,l),n=r+l.length-u-2;break}}for(n=-1;++n<e.length;)e[n][1].type===`attentionSequence`&&(e[n][1].type=`data`);return e}function Oue(e,t){let n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=Q2(r),a;return o;function o(t){return a=t,e.enter(`attentionSequence`),s(t)}function s(o){if(o===a)return e.consume(o),s;let c=e.exit(`attentionSequence`),l=Q2(o),u=!l||l===2&&i||n.includes(o),d=!i||i===2&&l||n.includes(r);return c._open=!!(a===42?u:u&&(i||!d)),c._close=!!(a===42?d:d&&(l||!u)),t(o)}}function t4(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}var kue={name:`autolink`,tokenize:Aue};function Aue(e,t,n){let r=0;return i;function i(t){return e.enter(`autolink`),e.enter(`autolinkMarker`),e.consume(t),e.exit(`autolinkMarker`),e.enter(`autolinkProtocol`),a}function a(t){return F0(t)?(e.consume(t),o):t===64?n(t):l(t)}function o(e){return e===43||e===45||e===46||I0(e)?(r=1,s(e)):l(e)}function s(t){return t===58?(e.consume(t),r=0,c):(t===43||t===45||t===46||I0(t))&&r++<32?(e.consume(t),s):(r=0,l(t))}function c(r){return r===62?(e.exit(`autolinkProtocol`),e.enter(`autolinkMarker`),e.consume(r),e.exit(`autolinkMarker`),e.exit(`autolink`),t):r===null||r===32||r===60||R0(r)?n(r):(e.consume(r),c)}function l(t){return t===64?(e.consume(t),u):L0(t)?(e.consume(t),l):n(t)}function u(e){return I0(e)?d(e):n(e)}function d(n){return n===46?(e.consume(n),r=0,u):n===62?(e.exit(`autolinkProtocol`).type=`autolinkEmail`,e.enter(`autolinkMarker`),e.consume(n),e.exit(`autolinkMarker`),e.exit(`autolink`),t):f(n)}function f(t){if((t===45||I0(t))&&r++<63){let n=t===45?f:d;return e.consume(t),n}return n(t)}}function n4(e,t,n,r){let i=r?r-1:1/0,a=0;return o;function o(r){return W0(r)?(e.enter(n),s(r)):t(r)}function s(r){return W0(r)&&a++<i?(e.consume(r),s):(e.exit(n),t(r))}}var r4={tokenize:jue,partial:!0};function jue(e,t,n){return r;function r(t){return W0(t)?n4(e,i,`linePrefix`)(t):i(t)}function i(e){return e===null||H0(e)?t(e):n(e)}}var i4={name:`blockQuote`,tokenize:Mue,continuation:{tokenize:Nue},exit:Pue};function Mue(e,t,n){let r=this;return i;function i(t){if(t===62){let n=r.containerState;return n.open||=(e.enter(`blockQuote`,{_container:!0}),!0),e.enter(`blockQuotePrefix`),e.enter(`blockQuoteMarker`),e.consume(t),e.exit(`blockQuoteMarker`),a}return n(t)}function a(n){return W0(n)?(e.enter(`blockQuotePrefixWhitespace`),e.consume(n),e.exit(`blockQuotePrefixWhitespace`),e.exit(`blockQuotePrefix`),t):(e.exit(`blockQuotePrefix`),t(n))}}function Nue(e,t,n){let r=this;return i;function i(t){return W0(t)?n4(e,a,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):a(t)}function a(r){return e.attempt(i4,t,n)(r)}}function Pue(e){e.exit(`blockQuote`)}var a4={name:`characterEscape`,tokenize:Fue};function Fue(e,t,n){return r;function r(t){return e.enter(`characterEscape`),e.enter(`escapeMarker`),e.consume(t),e.exit(`escapeMarker`),i}function i(r){return V0(r)?(e.enter(`characterEscapeValue`),e.consume(r),e.exit(`characterEscapeValue`),e.exit(`characterEscape`),t):n(r)}}var o4={name:`characterReference`,tokenize:Iue};function Iue(e,t,n){let r=this,i=0,a,o;return s;function s(t){return e.enter(`characterReference`),e.enter(`characterReferenceMarker`),e.consume(t),e.exit(`characterReferenceMarker`),c}function c(t){return t===35?(e.enter(`characterReferenceMarkerNumeric`),e.consume(t),e.exit(`characterReferenceMarkerNumeric`),l):(e.enter(`characterReferenceValue`),a=31,o=I0,u(t))}function l(t){return t===88||t===120?(e.enter(`characterReferenceMarkerHexadecimal`),e.consume(t),e.exit(`characterReferenceMarkerHexadecimal`),e.enter(`characterReferenceValue`),a=6,o=B0,u):(e.enter(`characterReferenceValue`),a=7,o=z0,u(t))}function u(s){if(s===59&&i){let i=e.exit(`characterReferenceValue`);return o===I0&&!D2(r.sliceSerialize(i))?n(s):(e.enter(`characterReferenceMarker`),e.consume(s),e.exit(`characterReferenceMarker`),e.exit(`characterReference`),t)}return o(s)&&i++<a?(e.consume(s),u):n(s)}}var s4={tokenize:Rue,partial:!0},c4={name:`codeFenced`,tokenize:Lue,concrete:!0};function Lue(e,t,n){let r=this,i={tokenize:ee,partial:!0},a=0,o=0,s;return c;function c(e){return l(e)}function l(t){let n=r.events[r.events.length-1];return a=n&&n[1].type===`linePrefix`?n[2].sliceSerialize(n[1],!0).length:0,s=t,e.enter(`codeFenced`),e.enter(`codeFencedFence`),e.enter(`codeFencedFenceSequence`),u(t)}function u(t){return t===s?(o++,e.consume(t),u):o<3?n(t):(e.exit(`codeFencedFenceSequence`),W0(t)?n4(e,d,`whitespace`)(t):d(t))}function d(n){return n===null||H0(n)?(e.exit(`codeFencedFence`),r.interrupt?t(n):e.check(s4,h,b)(n)):(e.enter(`codeFencedFenceInfo`),e.enter(`chunkString`,{contentType:`string`}),f(n))}function f(t){return t===null||H0(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceInfo`),d(t)):W0(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceInfo`),n4(e,p,`whitespace`)(t)):t===96&&t===s?n(t):(e.consume(t),f)}function p(t){return t===null||H0(t)?d(t):(e.enter(`codeFencedFenceMeta`),e.enter(`chunkString`,{contentType:`string`}),m(t))}function m(t){return t===null||H0(t)?(e.exit(`chunkString`),e.exit(`codeFencedFenceMeta`),d(t)):t===96&&t===s?n(t):(e.consume(t),m)}function h(t){return e.attempt(i,b,g)(t)}function g(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),_}function _(t){return a>0&&W0(t)?n4(e,v,`linePrefix`,a+1)(t):v(t)}function v(t){return t===null||H0(t)?e.check(s4,h,b)(t):(e.enter(`codeFlowValue`),y(t))}function y(t){return t===null||H0(t)?(e.exit(`codeFlowValue`),v(t)):(e.consume(t),y)}function b(n){return e.exit(`codeFenced`),t(n)}function ee(e,t,n){let i=0;return a;function a(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),c}function c(t){return e.enter(`codeFencedFence`),W0(t)?n4(e,l,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):l(t)}function l(t){return t===s?(e.enter(`codeFencedFenceSequence`),u(t)):n(t)}function u(t){return t===s?(i++,e.consume(t),u):i>=o?(e.exit(`codeFencedFenceSequence`),W0(t)?n4(e,d,`whitespace`)(t):d(t)):n(t)}function d(r){return r===null||H0(r)?(e.exit(`codeFencedFence`),t(r)):n(r)}}}function Rue(e,t,n){let r=this;return i;function i(t){return t===null?n(t):(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),a)}function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}var l4={name:`codeIndented`,tokenize:Bue},zue={tokenize:Vue,partial:!0};function Bue(e,t,n){let r=this;return i;function i(t){return e.enter(`codeIndented`),n4(e,a,`linePrefix`,5)(t)}function a(e){let t=r.events[r.events.length-1];return t&&t[1].type===`linePrefix`&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):n(e)}function o(t){return t===null?c(t):H0(t)?e.attempt(zue,o,c)(t):(e.enter(`codeFlowValue`),s(t))}function s(t){return t===null||H0(t)?(e.exit(`codeFlowValue`),o(t)):(e.consume(t),s)}function c(n){return e.exit(`codeIndented`),t(n)}}function Vue(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):H0(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),i):n4(e,a,`linePrefix`,5)(t)}function a(e){let a=r.events[r.events.length-1];return a&&a[1].type===`linePrefix`&&a[2].sliceSerialize(a[1],!0).length>=4?t(e):H0(e)?i(e):n(e)}}var Hue={name:`codeText`,tokenize:Gue,resolve:Uue,previous:Wue};function Uue(e){let t=e.length-4,n=3,r,i;if((e[n][1].type===`lineEnding`||e[n][1].type===`space`)&&(e[t][1].type===`lineEnding`||e[t][1].type===`space`)){for(r=n;++r<t;)if(e[r][1].type===`codeTextData`){e[n][1].type=`codeTextPadding`,e[t][1].type=`codeTextPadding`,n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!==`lineEnding`&&(i=r):(r===t||e[r][1].type===`lineEnding`)&&(e[i][1].type=`codeTextData`,r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function Wue(e){return e!==96||this.events[this.events.length-1][1].type===`characterEscape`}function Gue(e,t,n){let r=0,i,a;return o;function o(t){return e.enter(`codeText`),e.enter(`codeTextSequence`),s(t)}function s(t){return t===96?(e.consume(t),r++,s):(e.exit(`codeTextSequence`),c(t))}function c(t){return t===null?n(t):t===32?(e.enter(`space`),e.consume(t),e.exit(`space`),c):t===96?(a=e.enter(`codeTextSequence`),i=0,u(t)):H0(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),c):(e.enter(`codeTextData`),l(t))}function l(t){return t===null||t===32||t===96||H0(t)?(e.exit(`codeTextData`),c(t)):(e.consume(t),l)}function u(n){return n===96?(e.consume(n),i++,u):i===r?(e.exit(`codeTextSequence`),e.exit(`codeText`),t(n)):(a.type=`codeTextData`,l(n))}}var Kue=class{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=t??1/0;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){let r=t||0;this.setCursor(Math.trunc(e));let i=this.right.splice(this.right.length-r,1/0);return n&&u4(this.left,n),i.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),u4(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),u4(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&this.right.length===0||e<0&&this.left.length===0))if(e<this.left.length){let t=this.left.splice(e,1/0);u4(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);u4(this.left,t.reverse())}}};function u4(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function d4(e){let t={},n=-1,r,i,a,o,s,c,l,u=new Kue(e);for(;++n<u.length;){for(;n in t;)n=t[n];if(r=u.get(n),n&&r[1].type===`chunkFlow`&&u.get(n-1)[1].type===`listItemPrefix`&&(c=r[1]._tokenizer.events,a=0,a<c.length&&c[a][1].type===`lineEndingBlank`&&(a+=2),a<c.length&&c[a][1].type===`content`))for(;++a<c.length&&c[a][1].type!==`content`;)c[a][1].type===`chunkText`&&(c[a][1]._isInFirstContentOfListItem=!0,a++);if(r[0]===`enter`)r[1].contentType&&(Object.assign(t,que(u,n)),n=t[n],l=!0);else if(r[1]._container){for(a=n,i=void 0;a--&&(o=u.get(a),o[1].type===`lineEnding`||o[1].type===`lineEndingBlank`);)o[0]===`enter`&&(i&&(u.get(i)[1].type=`lineEndingBlank`),o[1].type=`lineEnding`,i=a);i&&(r[1].end=Object.assign({},u.get(i)[1].start),s=u.slice(i,n),s.unshift(r),u.splice(i,n-i+1,s))}}return P2(e,0,1/0,u.slice(0)),!l}function que(e,t){let n=e.get(t)[1],r=e.get(t)[2],i=t-1,a=[],o=n._tokenizer||r.parser[n.contentType](n.start),s=o.events,c=[],l={},u,d,f=-1,p=n,m=0,h=0,g=[h];for(;p;){for(;e.get(++i)[1]!==p;);a.push(i),p._tokenizer||(u=r.sliceStream(p),p.next||u.push(null),d&&o.defineSkip(p.start),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(u),p._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),d=p,p=p.next}for(p=n;++f<s.length;)s[f][0]===`exit`&&s[f-1][0]===`enter`&&s[f][1].type===s[f-1][1].type&&s[f][1].start.line!==s[f][1].end.line&&(h=f+1,g.push(h),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(o.events=[],p?(p._tokenizer=void 0,p.previous=void 0):g.pop(),f=g.length;f--;){let t=s.slice(g[f],g[f+1]),n=a.pop();c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),f=-1;++f<c.length;)l[m+c[f][0]]=m+c[f][1],m+=c[f][1]-c[f][0]-1;return l}var Jue={tokenize:Zue,resolve:Xue},Yue={tokenize:Que,partial:!0};function Xue(e){return d4(e),e}function Zue(e,t){let n;return r;function r(t){return e.enter(`content`),n=e.enter(`chunkContent`,{contentType:`content`}),i(t)}function i(t){return t===null?a(t):H0(t)?e.check(Yue,o,a)(t):(e.consume(t),i)}function a(n){return e.exit(`chunkContent`),e.exit(`content`),t(n)}function o(t){return e.consume(t),e.exit(`chunkContent`),n.next=e.enter(`chunkContent`,{contentType:`content`,previous:n}),n=n.next,i}}function Que(e,t,n){let r=this;return i;function i(t){return e.exit(`chunkContent`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),n4(e,a,`linePrefix`)}function a(i){if(i===null||H0(i))return n(i);let a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes(`codeIndented`)&&a&&a[1].type===`linePrefix`&&a[2].sliceSerialize(a[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}function f4(e,t,n,r,i,a,o,s,c){let l=c||1/0,u=0;return d;function d(t){return t===60?(e.enter(r),e.enter(i),e.enter(a),e.consume(t),e.exit(a),f):t===null||t===32||t===41||R0(t)?n(t):(e.enter(r),e.enter(o),e.enter(s),e.enter(`chunkString`,{contentType:`string`}),h(t))}function f(n){return n===62?(e.enter(a),e.consume(n),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(s),e.enter(`chunkString`,{contentType:`string`}),p(n))}function p(t){return t===62?(e.exit(`chunkString`),e.exit(s),f(t)):t===null||t===60||H0(t)?n(t):(e.consume(t),t===92?m:p)}function m(t){return t===60||t===62||t===92?(e.consume(t),p):p(t)}function h(i){return!u&&(i===null||i===41||U0(i))?(e.exit(`chunkString`),e.exit(s),e.exit(o),e.exit(r),t(i)):u<l&&i===40?(e.consume(i),u++,h):i===41?(e.consume(i),u--,h):i===null||i===32||i===40||R0(i)?n(i):(e.consume(i),i===92?g:h)}function g(t){return t===40||t===41||t===92?(e.consume(t),h):h(t)}}function p4(e,t,n,r,i,a){let o=this,s=0,c;return l;function l(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(a),u}function u(l){return s>999||l===null||l===91||l===93&&!c||l===94&&!s&&`_hiddenFootnoteSupport`in o.parser.constructs?n(l):l===93?(e.exit(a),e.enter(i),e.consume(l),e.exit(i),e.exit(r),t):H0(l)?(e.enter(`lineEnding`),e.consume(l),e.exit(`lineEnding`),u):(e.enter(`chunkString`,{contentType:`string`}),d(l))}function d(t){return t===null||t===91||t===93||H0(t)||s++>999?(e.exit(`chunkString`),u(t)):(e.consume(t),c||=!W0(t),t===92?f:d)}function f(t){return t===91||t===92||t===93?(e.consume(t),s++,d):d(t)}}function m4(e,t,n,r,i,a){let o;return s;function s(t){return t===34||t===39||t===40?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),o=t===40?41:t,c):n(t)}function c(n){return n===o?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(a),l(n))}function l(t){return t===o?(e.exit(a),c(o)):t===null?n(t):H0(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),n4(e,l,`linePrefix`)):(e.enter(`chunkString`,{contentType:`string`}),u(t))}function u(t){return t===o||t===null||H0(t)?(e.exit(`chunkString`),l(t)):(e.consume(t),t===92?d:u)}function d(t){return t===o||t===92?(e.consume(t),u):u(t)}}function h4(e,t){let n;return r;function r(i){return H0(i)?(e.enter(`lineEnding`),e.consume(i),e.exit(`lineEnding`),n=!0,r):W0(i)?n4(e,r,n?`linePrefix`:`lineSuffix`)(i):t(i)}}var $ue={name:`definition`,tokenize:tde},ede={tokenize:nde,partial:!0};function tde(e,t,n){let r=this,i;return a;function a(t){return e.enter(`definition`),o(t)}function o(t){return p4.call(r,e,s,n,`definitionLabel`,`definitionLabelMarker`,`definitionLabelString`)(t)}function s(t){return i=Q0(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),t===58?(e.enter(`definitionMarker`),e.consume(t),e.exit(`definitionMarker`),c):n(t)}function c(t){return U0(t)?h4(e,l)(t):l(t)}function l(t){return f4(e,u,n,`definitionDestination`,`definitionDestinationLiteral`,`definitionDestinationLiteralMarker`,`definitionDestinationRaw`,`definitionDestinationString`)(t)}function u(t){return e.attempt(ede,d,d)(t)}function d(t){return W0(t)?n4(e,f,`whitespace`)(t):f(t)}function f(a){return a===null||H0(a)?(e.exit(`definition`),r.parser.defined.push(i),t(a)):n(a)}}function nde(e,t,n){return r;function r(t){return U0(t)?h4(e,i)(t):n(t)}function i(t){return m4(e,a,n,`definitionTitle`,`definitionTitleMarker`,`definitionTitleString`)(t)}function a(t){return W0(t)?n4(e,o,`whitespace`)(t):o(t)}function o(e){return e===null||H0(e)?t(e):n(e)}}var rde={name:`hardBreakEscape`,tokenize:ide};function ide(e,t,n){return r;function r(t){return e.enter(`hardBreakEscape`),e.consume(t),i}function i(r){return H0(r)?(e.exit(`hardBreakEscape`),t(r)):n(r)}}var ade={name:`headingAtx`,tokenize:sde,resolve:ode};function ode(e,t){let n=e.length-2,r=3,i,a;return e[r][1].type===`whitespace`&&(r+=2),n-2>r&&e[n][1].type===`whitespace`&&(n-=2),e[n][1].type===`atxHeadingSequence`&&(r===n-1||n-4>r&&e[n-2][1].type===`whitespace`)&&(n-=r+1===n?2:4),n>r&&(i={type:`atxHeadingText`,start:e[r][1].start,end:e[n][1].end},a={type:`chunkText`,start:e[r][1].start,end:e[n][1].end,contentType:`text`},P2(e,r,n-r+1,[[`enter`,i,t],[`enter`,a,t],[`exit`,a,t],[`exit`,i,t]])),e}function sde(e,t,n){let r=0;return i;function i(t){return e.enter(`atxHeading`),a(t)}function a(t){return e.enter(`atxHeadingSequence`),o(t)}function o(t){return t===35&&r++<6?(e.consume(t),o):t===null||U0(t)?(e.exit(`atxHeadingSequence`),s(t)):n(t)}function s(n){return n===35?(e.enter(`atxHeadingSequence`),c(n)):n===null||H0(n)?(e.exit(`atxHeading`),t(n)):W0(n)?n4(e,s,`whitespace`)(n):(e.enter(`atxHeadingText`),l(n))}function c(t){return t===35?(e.consume(t),c):(e.exit(`atxHeadingSequence`),s(t))}function l(t){return t===null||t===35||U0(t)?(e.exit(`atxHeadingText`),s(t)):(e.consume(t),l)}}var cde=`address.article.aside.base.basefont.blockquote.body.caption.center.col.colgroup.dd.details.dialog.dir.div.dl.dt.fieldset.figcaption.figure.footer.form.frame.frameset.h1.h2.h3.h4.h5.h6.head.header.hr.html.iframe.legend.li.link.main.menu.menuitem.nav.noframes.ol.optgroup.option.p.param.search.section.summary.table.tbody.td.tfoot.th.thead.title.tr.track.ul`.split(`.`),g4=[`pre`,`script`,`style`,`textarea`],lde={name:`htmlFlow`,tokenize:pde,resolveTo:fde,concrete:!0},ude={tokenize:hde,partial:!0},dde={tokenize:mde,partial:!0};function fde(e){let t=e.length;for(;t--&&!(e[t][0]===`enter`&&e[t][1].type===`htmlFlow`););return t>1&&e[t-2][1].type===`linePrefix`&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function pde(e,t,n){let r=this,i,a,o,s,c;return l;function l(e){return u(e)}function u(t){return e.enter(`htmlFlow`),e.enter(`htmlFlowData`),e.consume(t),d}function d(s){return s===33?(e.consume(s),f):s===47?(e.consume(s),a=!0,h):s===63?(e.consume(s),i=3,r.interrupt?t:T):F0(s)?(e.consume(s),o=String.fromCharCode(s),g):n(s)}function f(a){return a===45?(e.consume(a),i=2,p):a===91?(e.consume(a),i=5,s=0,m):F0(a)?(e.consume(a),i=4,r.interrupt?t:T):n(a)}function p(i){return i===45?(e.consume(i),r.interrupt?t:T):n(i)}function m(i){return i===`CDATA[`.charCodeAt(s++)?(e.consume(i),s===6?r.interrupt?t:ae:m):n(i)}function h(t){return F0(t)?(e.consume(t),o=String.fromCharCode(t),g):n(t)}function g(s){if(s===null||s===47||s===62||U0(s)){let c=s===47,l=o.toLowerCase();return!c&&!a&&g4.includes(l)?(i=1,r.interrupt?t(s):ae(s)):cde.includes(o.toLowerCase())?(i=6,c?(e.consume(s),_):r.interrupt?t(s):ae(s)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):a?v(s):y(s))}return s===45||I0(s)?(e.consume(s),o+=String.fromCharCode(s),g):n(s)}function _(i){return i===62?(e.consume(i),r.interrupt?t:ae):n(i)}function v(t){return W0(t)?(e.consume(t),v):re(t)}function y(t){return t===47?(e.consume(t),re):t===58||t===95||F0(t)?(e.consume(t),b):W0(t)?(e.consume(t),y):re(t)}function b(t){return t===45||t===46||t===58||t===95||I0(t)?(e.consume(t),b):ee(t)}function ee(t){return t===61?(e.consume(t),te):W0(t)?(e.consume(t),ee):y(t)}function te(t){return t===null||t===60||t===61||t===62||t===96?n(t):t===34||t===39?(e.consume(t),c=t,x):W0(t)?(e.consume(t),te):S(t)}function x(t){return t===c?(e.consume(t),c=null,ne):t===null||H0(t)?n(t):(e.consume(t),x)}function S(t){return t===null||t===34||t===39||t===47||t===60||t===61||t===62||t===96||U0(t)?ee(t):(e.consume(t),S)}function ne(e){return e===47||e===62||W0(e)?y(e):n(e)}function re(t){return t===62?(e.consume(t),ie):n(t)}function ie(t){return t===null||H0(t)?ae(t):W0(t)?(e.consume(t),ie):n(t)}function ae(t){return t===45&&i===2?(e.consume(t),w):t===60&&i===1?(e.consume(t),ce):t===62&&i===4?(e.consume(t),de):t===63&&i===3?(e.consume(t),T):t===93&&i===5?(e.consume(t),ue):H0(t)&&(i===6||i===7)?(e.exit(`htmlFlowData`),e.check(ude,E,oe)(t)):t===null||H0(t)?(e.exit(`htmlFlowData`),oe(t)):(e.consume(t),ae)}function oe(t){return e.check(dde,C,E)(t)}function C(t){return e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),se}function se(t){return t===null||H0(t)?oe(t):(e.enter(`htmlFlowData`),ae(t))}function w(t){return t===45?(e.consume(t),T):ae(t)}function ce(t){return t===47?(e.consume(t),o=``,le):ae(t)}function le(t){if(t===62){let n=o.toLowerCase();return g4.includes(n)?(e.consume(t),de):ae(t)}return F0(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),le):ae(t)}function ue(t){return t===93?(e.consume(t),T):ae(t)}function T(t){return t===62?(e.consume(t),de):t===45&&i===2?(e.consume(t),T):ae(t)}function de(t){return t===null||H0(t)?(e.exit(`htmlFlowData`),E(t)):(e.consume(t),de)}function E(n){return e.exit(`htmlFlow`),t(n)}}function mde(e,t,n){let r=this;return i;function i(t){return H0(t)?(e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),a):n(t)}function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}function hde(e,t,n){return r;function r(r){return e.enter(`lineEnding`),e.consume(r),e.exit(`lineEnding`),e.attempt(r4,t,n)}}var gde={name:`htmlText`,tokenize:_de};function _de(e,t,n){let r=this,i,a,o;return s;function s(t){return e.enter(`htmlText`),e.enter(`htmlTextData`),e.consume(t),c}function c(t){return t===33?(e.consume(t),l):t===47?(e.consume(t),ee):t===63?(e.consume(t),y):F0(t)?(e.consume(t),S):n(t)}function l(t){return t===45?(e.consume(t),u):t===91?(e.consume(t),a=0,m):F0(t)?(e.consume(t),v):n(t)}function u(t){return t===45?(e.consume(t),p):n(t)}function d(t){return t===null?n(t):t===45?(e.consume(t),f):H0(t)?(o=d,ce(t)):(e.consume(t),d)}function f(t){return t===45?(e.consume(t),p):d(t)}function p(e){return e===62?w(e):e===45?f(e):d(e)}function m(t){return t===`CDATA[`.charCodeAt(a++)?(e.consume(t),a===6?h:m):n(t)}function h(t){return t===null?n(t):t===93?(e.consume(t),g):H0(t)?(o=h,ce(t)):(e.consume(t),h)}function g(t){return t===93?(e.consume(t),_):h(t)}function _(t){return t===62?w(t):t===93?(e.consume(t),_):h(t)}function v(t){return t===null||t===62?w(t):H0(t)?(o=v,ce(t)):(e.consume(t),v)}function y(t){return t===null?n(t):t===63?(e.consume(t),b):H0(t)?(o=y,ce(t)):(e.consume(t),y)}function b(e){return e===62?w(e):y(e)}function ee(t){return F0(t)?(e.consume(t),te):n(t)}function te(t){return t===45||I0(t)?(e.consume(t),te):x(t)}function x(t){return H0(t)?(o=x,ce(t)):W0(t)?(e.consume(t),x):w(t)}function S(t){return t===45||I0(t)?(e.consume(t),S):t===47||t===62||U0(t)?ne(t):n(t)}function ne(t){return t===47?(e.consume(t),w):t===58||t===95||F0(t)?(e.consume(t),re):H0(t)?(o=ne,ce(t)):W0(t)?(e.consume(t),ne):w(t)}function re(t){return t===45||t===46||t===58||t===95||I0(t)?(e.consume(t),re):ie(t)}function ie(t){return t===61?(e.consume(t),ae):H0(t)?(o=ie,ce(t)):W0(t)?(e.consume(t),ie):ne(t)}function ae(t){return t===null||t===60||t===61||t===62||t===96?n(t):t===34||t===39?(e.consume(t),i=t,oe):H0(t)?(o=ae,ce(t)):W0(t)?(e.consume(t),ae):(e.consume(t),C)}function oe(t){return t===i?(e.consume(t),i=void 0,se):t===null?n(t):H0(t)?(o=oe,ce(t)):(e.consume(t),oe)}function C(t){return t===null||t===34||t===39||t===60||t===61||t===96?n(t):t===47||t===62||U0(t)?ne(t):(e.consume(t),C)}function se(e){return e===47||e===62||U0(e)?ne(e):n(e)}function w(r){return r===62?(e.consume(r),e.exit(`htmlTextData`),e.exit(`htmlText`),t):n(r)}function ce(t){return e.exit(`htmlTextData`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),le}function le(t){return W0(t)?n4(e,ue,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):ue(t)}function ue(t){return e.enter(`htmlTextData`),o(t)}}var _4={name:`labelEnd`,tokenize:Cde,resolveTo:Sde,resolveAll:xde},vde={tokenize:wde},yde={tokenize:Tde},bde={tokenize:Ede};function xde(e){let t=-1;for(;++t<e.length;){let n=e[t][1];(n.type===`labelImage`||n.type===`labelLink`||n.type===`labelEnd`)&&(e.splice(t+1,n.type===`labelImage`?4:2),n.type=`data`,t++)}return e}function Sde(e,t){let n=e.length,r=0,i,a,o,s;for(;n--;)if(i=e[n][1],a){if(i.type===`link`||i.type===`labelLink`&&i._inactive)break;e[n][0]===`enter`&&i.type===`labelLink`&&(i._inactive=!0)}else if(o){if(e[n][0]===`enter`&&(i.type===`labelImage`||i.type===`labelLink`)&&!i._balanced&&(a=n,i.type!==`labelLink`)){r=2;break}}else i.type===`labelEnd`&&(o=n);let c={type:e[a][1].type===`labelLink`?`link`:`image`,start:Object.assign({},e[a][1].start),end:Object.assign({},e[e.length-1][1].end)},l={type:`label`,start:Object.assign({},e[a][1].start),end:Object.assign({},e[o][1].end)},u={type:`labelText`,start:Object.assign({},e[a+r+2][1].end),end:Object.assign({},e[o-2][1].start)};return s=[[`enter`,c,t],[`enter`,l,t]],s=F2(s,e.slice(a+1,a+r+3)),s=F2(s,[[`enter`,u,t]]),s=F2(s,$2(t.parser.constructs.insideSpan.null,e.slice(a+r+4,o-3),t)),s=F2(s,[[`exit`,u,t],e[o-2],e[o-1],[`exit`,l,t]]),s=F2(s,e.slice(o+1)),s=F2(s,[[`exit`,c,t]]),P2(e,a,e.length,s),e}function Cde(e,t,n){let r=this,i=r.events.length,a,o;for(;i--;)if((r.events[i][1].type===`labelImage`||r.events[i][1].type===`labelLink`)&&!r.events[i][1]._balanced){a=r.events[i][1];break}return s;function s(t){return a?a._inactive?d(t):(o=r.parser.defined.includes(Q0(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter(`labelEnd`),e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelEnd`),c):n(t)}function c(t){return t===40?e.attempt(vde,u,o?u:d)(t):t===91?e.attempt(yde,u,o?l:d)(t):o?u(t):d(t)}function l(t){return e.attempt(bde,u,d)(t)}function u(e){return t(e)}function d(e){return a._balanced=!0,n(e)}}function wde(e,t,n){return r;function r(t){return e.enter(`resource`),e.enter(`resourceMarker`),e.consume(t),e.exit(`resourceMarker`),i}function i(t){return U0(t)?h4(e,a)(t):a(t)}function a(t){return t===41?u(t):f4(e,o,s,`resourceDestination`,`resourceDestinationLiteral`,`resourceDestinationLiteralMarker`,`resourceDestinationRaw`,`resourceDestinationString`,32)(t)}function o(t){return U0(t)?h4(e,c)(t):u(t)}function s(e){return n(e)}function c(t){return t===34||t===39||t===40?m4(e,l,n,`resourceTitle`,`resourceTitleMarker`,`resourceTitleString`)(t):u(t)}function l(t){return U0(t)?h4(e,u)(t):u(t)}function u(r){return r===41?(e.enter(`resourceMarker`),e.consume(r),e.exit(`resourceMarker`),e.exit(`resource`),t):n(r)}}function Tde(e,t,n){let r=this;return i;function i(t){return p4.call(r,e,a,o,`reference`,`referenceMarker`,`referenceString`)(t)}function a(e){return r.parser.defined.includes(Q0(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}function Ede(e,t,n){return r;function r(t){return e.enter(`reference`),e.enter(`referenceMarker`),e.consume(t),e.exit(`referenceMarker`),i}function i(r){return r===93?(e.enter(`referenceMarker`),e.consume(r),e.exit(`referenceMarker`),e.exit(`reference`),t):n(r)}}var Dde={name:`labelStartImage`,tokenize:Ode,resolveAll:_4.resolveAll};function Ode(e,t,n){let r=this;return i;function i(t){return e.enter(`labelImage`),e.enter(`labelImageMarker`),e.consume(t),e.exit(`labelImageMarker`),a}function a(t){return t===91?(e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelImage`),o):n(t)}function o(e){return e===94&&`_hiddenFootnoteSupport`in r.parser.constructs?n(e):t(e)}}var kde={name:`labelStartLink`,tokenize:Ade,resolveAll:_4.resolveAll};function Ade(e,t,n){let r=this;return i;function i(t){return e.enter(`labelLink`),e.enter(`labelMarker`),e.consume(t),e.exit(`labelMarker`),e.exit(`labelLink`),a}function a(e){return e===94&&`_hiddenFootnoteSupport`in r.parser.constructs?n(e):t(e)}}var v4={name:`lineEnding`,tokenize:jde};function jde(e,t){return n;function n(n){return e.enter(`lineEnding`),e.consume(n),e.exit(`lineEnding`),n4(e,t,`linePrefix`)}}var y4={name:`thematicBreak`,tokenize:Mde};function Mde(e,t,n){let r=0,i;return a;function a(t){return e.enter(`thematicBreak`),o(t)}function o(e){return i=e,s(e)}function s(a){return a===i?(e.enter(`thematicBreakSequence`),c(a)):r>=3&&(a===null||H0(a))?(e.exit(`thematicBreak`),t(a)):n(a)}function c(t){return t===i?(e.consume(t),r++,c):(e.exit(`thematicBreakSequence`),W0(t)?n4(e,s,`whitespace`)(t):s(t))}}var b4={name:`list`,tokenize:Fde,continuation:{tokenize:Ide},exit:Rde},Nde={tokenize:zde,partial:!0},Pde={tokenize:Lde,partial:!0};function Fde(e,t,n){let r=this,i=r.events[r.events.length-1],a=i&&i[1].type===`linePrefix`?i[2].sliceSerialize(i[1],!0).length:0,o=0;return s;function s(t){let i=r.containerState.type||(t===42||t===43||t===45?`listUnordered`:`listOrdered`);if(i===`listUnordered`?!r.containerState.marker||t===r.containerState.marker:z0(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),i===`listUnordered`)return e.enter(`listItemPrefix`),t===42||t===45?e.check(y4,n,l)(t):l(t);if(!r.interrupt||t===49)return e.enter(`listItemPrefix`),e.enter(`listItemValue`),c(t)}return n(t)}function c(t){return z0(t)&&++o<10?(e.consume(t),c):(!r.interrupt||o<2)&&(r.containerState.marker?t===r.containerState.marker:t===41||t===46)?(e.exit(`listItemValue`),l(t)):n(t)}function l(t){return e.enter(`listItemMarker`),e.consume(t),e.exit(`listItemMarker`),r.containerState.marker=r.containerState.marker||t,e.check(r4,r.interrupt?n:u,e.attempt(Nde,f,d))}function u(e){return r.containerState.initialBlankLine=!0,a++,f(e)}function d(t){return W0(t)?(e.enter(`listItemPrefixWhitespace`),e.consume(t),e.exit(`listItemPrefixWhitespace`),f):n(t)}function f(n){return r.containerState.size=a+r.sliceSerialize(e.exit(`listItemPrefix`),!0).length,t(n)}}function Ide(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(r4,i,a);function i(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,n4(e,t,`listItemIndent`,r.containerState.size+1)(n)}function a(n){return r.containerState.furtherBlankLines||!W0(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Pde,t,o)(n))}function o(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,n4(e,e.attempt(b4,t,n),`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(i)}}function Lde(e,t,n){let r=this;return n4(e,i,`listItemIndent`,r.containerState.size+1);function i(e){let i=r.events[r.events.length-1];return i&&i[1].type===`listItemIndent`&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)}}function Rde(e){e.exit(this.containerState.type)}function zde(e,t,n){let r=this;return n4(e,i,`listItemPrefixWhitespace`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:5);function i(e){let i=r.events[r.events.length-1];return!W0(e)&&i&&i[1].type===`listItemPrefixWhitespace`?t(e):n(e)}}var x4={name:`setextUnderline`,tokenize:Vde,resolveTo:Bde};function Bde(e,t){let n=e.length,r,i,a;for(;n--;)if(e[n][0]===`enter`){if(e[n][1].type===`content`){r=n;break}e[n][1].type===`paragraph`&&(i=n)}else e[n][1].type===`content`&&e.splice(n,1),!a&&e[n][1].type===`definition`&&(a=n);let o={type:`setextHeading`,start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[i][1].type=`setextHeadingText`,a?(e.splice(i,0,[`enter`,o,t]),e.splice(a+1,0,[`exit`,e[r][1],t]),e[r][1].end=Object.assign({},e[a][1].end)):e[r][1]=o,e.push([`exit`,o,t]),e}function Vde(e,t,n){let r=this,i;return a;function a(t){let a=r.events.length,s;for(;a--;)if(r.events[a][1].type!==`lineEnding`&&r.events[a][1].type!==`linePrefix`&&r.events[a][1].type!==`content`){s=r.events[a][1].type===`paragraph`;break}return!r.parser.lazy[r.now().line]&&(r.interrupt||s)?(e.enter(`setextHeadingLine`),i=t,o(t)):n(t)}function o(t){return e.enter(`setextHeadingLineSequence`),s(t)}function s(t){return t===i?(e.consume(t),s):(e.exit(`setextHeadingLineSequence`),W0(t)?n4(e,c,`lineSuffix`)(t):c(t))}function c(r){return r===null||H0(r)?(e.exit(`setextHeadingLine`),t(r)):n(r)}}var Hde={tokenize:Xde,partial:!0};function Ude(){return{document:{91:{tokenize:qde,continuation:{tokenize:Jde},exit:Yde}},text:{91:{tokenize:Kde},93:{add:`after`,tokenize:Wde,resolveTo:Gde}}}}function Wde(e,t,n){let r=this,i=r.events.length,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),o;for(;i--;){let e=r.events[i][1];if(e.type===`labelImage`){o=e;break}if(e.type===`gfmFootnoteCall`||e.type===`labelLink`||e.type===`label`||e.type===`image`||e.type===`link`)break}return s;function s(i){if(!o||!o._balanced)return n(i);let s=Q0(r.sliceSerialize({start:o.end,end:r.now()}));return s.codePointAt(0)!==94||!a.includes(s.slice(1))?n(i):(e.enter(`gfmFootnoteCallLabelMarker`),e.consume(i),e.exit(`gfmFootnoteCallLabelMarker`),t(i))}}function Gde(e,t){let n=e.length;for(;n--;)if(e[n][1].type===`labelImage`&&e[n][0]===`enter`){e[n][1];break}e[n+1][1].type=`data`,e[n+3][1].type=`gfmFootnoteCallLabelMarker`;let r={type:`gfmFootnoteCall`,start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:`gfmFootnoteCallMarker`,start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;let a={type:`gfmFootnoteCallString`,start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:`chunkString`,contentType:`string`,start:Object.assign({},a.start),end:Object.assign({},a.end)},s=[e[n+1],e[n+2],[`enter`,r,t],e[n+3],e[n+4],[`enter`,i,t],[`exit`,i,t],[`enter`,a,t],[`enter`,o,t],[`exit`,o,t],[`exit`,a,t],e[e.length-2],e[e.length-1],[`exit`,r,t]];return e.splice(n,e.length-n+1,...s),e}function Kde(e,t,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),a=0,o;return s;function s(t){return e.enter(`gfmFootnoteCall`),e.enter(`gfmFootnoteCallLabelMarker`),e.consume(t),e.exit(`gfmFootnoteCallLabelMarker`),c}function c(t){return t===94?(e.enter(`gfmFootnoteCallMarker`),e.consume(t),e.exit(`gfmFootnoteCallMarker`),e.enter(`gfmFootnoteCallString`),e.enter(`chunkString`).contentType=`string`,l):n(t)}function l(s){if(a>999||s===93&&!o||s===null||s===91||U0(s))return n(s);if(s===93){e.exit(`chunkString`);let a=e.exit(`gfmFootnoteCallString`);return i.includes(Q0(r.sliceSerialize(a)))?(e.enter(`gfmFootnoteCallLabelMarker`),e.consume(s),e.exit(`gfmFootnoteCallLabelMarker`),e.exit(`gfmFootnoteCall`),t):n(s)}return U0(s)||(o=!0),a++,e.consume(s),s===92?u:l}function u(t){return t===91||t===92||t===93?(e.consume(t),a++,l):l(t)}}function qde(e,t,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),a,o=0,s;return c;function c(t){return e.enter(`gfmFootnoteDefinition`)._container=!0,e.enter(`gfmFootnoteDefinitionLabel`),e.enter(`gfmFootnoteDefinitionLabelMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionLabelMarker`),l}function l(t){return t===94?(e.enter(`gfmFootnoteDefinitionMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionMarker`),e.enter(`gfmFootnoteDefinitionLabelString`),e.enter(`chunkString`).contentType=`string`,u):n(t)}function u(t){if(o>999||t===93&&!s||t===null||t===91||U0(t))return n(t);if(t===93){e.exit(`chunkString`);let n=e.exit(`gfmFootnoteDefinitionLabelString`);return a=Q0(r.sliceSerialize(n)),e.enter(`gfmFootnoteDefinitionLabelMarker`),e.consume(t),e.exit(`gfmFootnoteDefinitionLabelMarker`),e.exit(`gfmFootnoteDefinitionLabel`),f}return U0(t)||(s=!0),o++,e.consume(t),t===92?d:u}function d(t){return t===91||t===92||t===93?(e.consume(t),o++,u):u(t)}function f(t){return t===58?(e.enter(`definitionMarker`),e.consume(t),e.exit(`definitionMarker`),i.includes(a)||i.push(a),n4(e,p,`gfmFootnoteDefinitionWhitespace`)):n(t)}function p(e){return t(e)}}function Jde(e,t,n){return e.check(r4,t,e.attempt(Hde,t,n))}function Yde(e){e.exit(`gfmFootnoteDefinition`)}function Xde(e,t,n){let r=this;return n4(e,i,`gfmFootnoteDefinitionIndent`,5);function i(e){let i=r.events[r.events.length-1];return i&&i[1].type===`gfmFootnoteDefinitionIndent`&&i[2].sliceSerialize(i[1],!0).length===4?t(e):n(e)}}function Zde(e){let t=(e||{}).singleTilde,n={tokenize:i,resolveAll:r};return t??=!0,{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function r(e,t){let n=-1;for(;++n<e.length;)if(e[n][0]===`enter`&&e[n][1].type===`strikethroughSequenceTemporary`&&e[n][1]._close){let r=n;for(;r--;)if(e[r][0]===`exit`&&e[r][1].type===`strikethroughSequenceTemporary`&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset===e[r][1].end.offset-e[r][1].start.offset){e[n][1].type=`strikethroughSequence`,e[r][1].type=`strikethroughSequence`;let i={type:`strikethrough`,start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},a={type:`strikethroughText`,start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},o=[[`enter`,i,t],[`enter`,e[r][1],t],[`exit`,e[r][1],t],[`enter`,a,t]],s=t.parser.constructs.insideSpan.null;s&&P2(o,o.length,0,$2(s,e.slice(r+1,n),t)),P2(o,o.length,0,[[`exit`,a,t],[`enter`,e[n][1],t],[`exit`,e[n][1],t],[`exit`,i,t]]),P2(e,r-1,n-r+3,o),n=r+o.length-2;break}}for(n=-1;++n<e.length;)e[n][1].type===`strikethroughSequenceTemporary`&&(e[n][1].type=`data`);return e}function i(e,n,r){let i=this.previous,a=this.events,o=0;return s;function s(t){return i===126&&a[a.length-1][1].type!==`characterEscape`?r(t):(e.enter(`strikethroughSequenceTemporary`),c(t))}function c(a){let s=Q2(i);if(a===126)return o>1?r(a):(e.consume(a),o++,c);if(o<2&&!t)return r(a);let l=e.exit(`strikethroughSequenceTemporary`),u=Q2(a);return l._open=!u||u===2&&!!s,l._close=!s||s===2&&!!u,n(a)}}}var Qde=class{constructor(){this.map=[]}add(e,t,n){$de(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),this.map.length===0)return;let t=this.map.length,n=[];for(;t>0;)--t,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}};function $de(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}function efe(e,t){let n=!1,r=[];for(;t<e.length;){let i=e[t];if(n){if(i[0]===`enter`)i[1].type===`tableContent`&&r.push(e[t+1][1].type===`tableDelimiterMarker`?`left`:`none`);else if(i[1].type===`tableContent`){if(e[t-1][1].type===`tableDelimiterMarker`){let e=r.length-1;r[e]=r[e]===`left`?`center`:`right`}}else if(i[1].type===`tableDelimiterRow`)break}else i[0]===`enter`&&i[1].type===`tableDelimiterRow`&&(n=!0);t+=1}return r}function tfe(){return{flow:{null:{tokenize:nfe,resolveAll:rfe}}}}function nfe(e,t,n){let r=this,i=0,a=0,o;return s;function s(e){let t=r.events.length-1;for(;t>-1;){let e=r.events[t][1].type;if(e===`lineEnding`||e===`linePrefix`)t--;else break}let i=t>-1?r.events[t][1].type:null,a=i===`tableHead`||i===`tableRow`?te:c;return a===te&&r.parser.lazy[r.now().line]?n(e):a(e)}function c(t){return e.enter(`tableHead`),e.enter(`tableRow`),l(t)}function l(e){return e===124?u(e):(o=!0,a+=1,u(e))}function u(t){return t===null?n(t):H0(t)?a>1?(a=0,r.interrupt=!0,e.exit(`tableRow`),e.enter(`lineEnding`),e.consume(t),e.exit(`lineEnding`),p):n(t):W0(t)?n4(e,u,`whitespace`)(t):(a+=1,o&&(o=!1,i+=1),t===124?(e.enter(`tableCellDivider`),e.consume(t),e.exit(`tableCellDivider`),o=!0,u):(e.enter(`data`),d(t)))}function d(t){return t===null||t===124||U0(t)?(e.exit(`data`),u(t)):(e.consume(t),t===92?f:d)}function f(t){return t===92||t===124?(e.consume(t),d):d(t)}function p(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter(`tableDelimiterRow`),o=!1,W0(t)?n4(e,m,`linePrefix`,r.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)(t):m(t))}function m(t){return t===45||t===58?g(t):t===124?(o=!0,e.enter(`tableCellDivider`),e.consume(t),e.exit(`tableCellDivider`),h):ee(t)}function h(t){return W0(t)?n4(e,g,`whitespace`)(t):g(t)}function g(t){return t===58?(a+=1,o=!0,e.enter(`tableDelimiterMarker`),e.consume(t),e.exit(`tableDelimiterMarker`),_):t===45?(a+=1,_(t)):t===null||H0(t)?b(t):ee(t)}function _(t){return t===45?(e.enter(`tableDelimiterFiller`),v(t)):ee(t)}function v(t){return t===45?(e.consume(t),v):t===58?(o=!0,e.exit(`tableDelimiterFiller`),e.enter(`tableDelimiterMarker`),e.consume(t),e.exit(`tableDelimiterMarker`),y):(e.exit(`tableDelimiterFiller`),y(t))}function y(t){return W0(t)?n4(e,b,`whitespace`)(t):b(t)}function b(n){return n===124?m(n):n===null||H0(n)?!o||i!==a?ee(n):(e.exit(`tableDelimiterRow`),e.exit(`tableHead`),t(n)):ee(n)}function ee(e){return n(e)}function te(t){return e.enter(`tableRow`),x(t)}function x(n){return n===124?(e.enter(`tableCellDivider`),e.consume(n),e.exit(`tableCellDivider`),x):n===null||H0(n)?(e.exit(`tableRow`),t(n)):W0(n)?n4(e,x,`whitespace`)(n):(e.enter(`data`),S(n))}function S(t){return t===null||t===124||U0(t)?(e.exit(`data`),x(t)):(e.consume(t),t===92?ne:S)}function ne(t){return t===92||t===124?(e.consume(t),S):S(t)}}function rfe(e,t){let n=-1,r=!0,i=0,a=[0,0,0,0],o=[0,0,0,0],s=!1,c=0,l,u,d,f=new Qde;for(;++n<e.length;){let p=e[n],m=p[1];p[0]===`enter`?m.type===`tableHead`?(s=!1,c!==0&&(C4(f,t,c,l,u),u=void 0,c=0),l={type:`table`,start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(n,0,[[`enter`,l,t]])):m.type===`tableRow`||m.type===`tableDelimiterRow`?(r=!0,d=void 0,a=[0,0,0,0],o=[0,n+1,0,0],s&&(s=!1,u={type:`tableBody`,start:Object.assign({},m.start),end:Object.assign({},m.end)},f.add(n,0,[[`enter`,u,t]])),i=m.type===`tableDelimiterRow`?2:u?3:1):i&&(m.type===`data`||m.type===`tableDelimiterMarker`||m.type===`tableDelimiterFiller`)?(r=!1,o[2]===0&&(a[1]!==0&&(o[0]=o[1],d=S4(f,t,a,i,void 0,d),a=[0,0,0,0]),o[2]=n)):m.type===`tableCellDivider`&&(r?r=!1:(a[1]!==0&&(o[0]=o[1],d=S4(f,t,a,i,void 0,d)),a=o,o=[a[1],n,0,0])):m.type===`tableHead`?(s=!0,c=n):m.type===`tableRow`||m.type===`tableDelimiterRow`?(c=n,a[1]===0?o[1]!==0&&(d=S4(f,t,o,i,n,d)):(o[0]=o[1],d=S4(f,t,a,i,n,d)),i=0):i&&(m.type===`data`||m.type===`tableDelimiterMarker`||m.type===`tableDelimiterFiller`)&&(o[3]=n)}for(c!==0&&C4(f,t,c,l,u),f.consume(t.events),n=-1;++n<t.events.length;){let e=t.events[n];e[0]===`enter`&&e[1].type===`table`&&(e[1]._align=efe(t.events,n))}return e}function S4(e,t,n,r,i,a){let o=r===1?`tableHeader`:r===2?`tableDelimiter`:`tableData`;n[0]!==0&&(a.end=Object.assign({},w4(t.events,n[0])),e.add(n[0],0,[[`exit`,a,t]]));let s=w4(t.events,n[1]);if(a={type:o,start:Object.assign({},s),end:Object.assign({},s)},e.add(n[1],0,[[`enter`,a,t]]),n[2]!==0){let i=w4(t.events,n[2]),a=w4(t.events,n[3]),o={type:`tableContent`,start:Object.assign({},i),end:Object.assign({},a)};if(e.add(n[2],0,[[`enter`,o,t]]),r!==2){let r=t.events[n[2]],i=t.events[n[3]];if(r[1].end=Object.assign({},i[1].end),r[1].type=`chunkText`,r[1].contentType=`text`,n[3]>n[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[[`exit`,o,t]])}return i!==void 0&&(a.end=Object.assign({},w4(t.events,i)),e.add(i,0,[[`exit`,a,t]]),a=void 0),a}function C4(e,t,n,r,i){let a=[],o=w4(t.events,n);i&&(i.end=Object.assign({},o),a.push([`exit`,i,t])),r.end=Object.assign({},o),a.push([`exit`,r,t]),e.add(n+1,0,a)}function w4(e,t){let n=e[t],r=n[0]===`enter`?`start`:`end`;return n[1][r]}var ife={tokenize:ofe};function afe(){return{text:{91:ife}}}function ofe(e,t,n){let r=this;return i;function i(t){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(t):(e.enter(`taskListCheck`),e.enter(`taskListCheckMarker`),e.consume(t),e.exit(`taskListCheckMarker`),a)}function a(t){return U0(t)?(e.enter(`taskListCheckValueUnchecked`),e.consume(t),e.exit(`taskListCheckValueUnchecked`),o):t===88||t===120?(e.enter(`taskListCheckValueChecked`),e.consume(t),e.exit(`taskListCheckValueChecked`),o):n(t)}function o(t){return t===93?(e.enter(`taskListCheckMarker`),e.consume(t),e.exit(`taskListCheckMarker`),e.exit(`taskListCheck`),s):n(t)}function s(r){return H0(r)?t(r):W0(r)?e.check({tokenize:sfe},t,n)(r):n(r)}}function sfe(e,t,n){return n4(e,r,`whitespace`);function r(e){return e===null?n(e):t(e)}}function cfe(e){return L2([vue(),Ude(),Zde(e),tfe(),afe()])}var lfe={};function T4(e){let t=this,n=e||lfe,r=t.data(),i=r.micromarkExtensions||=[],a=r.fromMarkdownExtensions||=[],o=r.toMarkdownExtensions||=[];i.push(cfe(n)),a.push(fue()),o.push(pue(n))}var ufe={tokenize:dfe};function dfe(e){let t=e.attempt(this.parser.constructs.contentInitial,r,i),n;return t;function r(n){if(n===null){e.consume(n);return}return e.enter(`lineEnding`),e.consume(n),e.exit(`lineEnding`),n4(e,t,`linePrefix`)}function i(t){return e.enter(`paragraph`),a(t)}function a(t){let r=e.enter(`chunkText`,{contentType:`text`,previous:n});return n&&(n.next=r),n=r,o(t)}function o(t){if(t===null){e.exit(`chunkText`),e.exit(`paragraph`),e.consume(t);return}return H0(t)?(e.consume(t),e.exit(`chunkText`),a):(e.consume(t),o)}}var ffe={tokenize:pfe},E4={tokenize:mfe};function pfe(e){let t=this,n=[],r=0,i,a,o;return s;function s(i){if(r<n.length){let a=n[r];return t.containerState=a[1],e.attempt(a[0].continuation,c,l)(i)}return l(i)}function c(e){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&v();let n=t.events.length,a=n,o;for(;a--;)if(t.events[a][0]===`exit`&&t.events[a][1].type===`chunkFlow`){o=t.events[a][1].end;break}_(r);let s=n;for(;s<t.events.length;)t.events[s][1].end=Object.assign({},o),s++;return P2(t.events,a+1,0,t.events.slice(n)),t.events.length=s,l(e)}return s(e)}function l(a){if(r===n.length){if(!i)return f(a);if(i.currentConstruct&&i.currentConstruct.concrete)return m(a);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(E4,u,d)(a)}function u(e){return i&&v(),_(r),f(e)}function d(e){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,m(e)}function f(n){return t.containerState={},e.attempt(E4,p,m)(n)}function p(e){return r++,n.push([t.currentConstruct,t.containerState]),f(e)}function m(n){if(n===null){i&&v(),_(0),e.consume(n);return}return i||=t.parser.flow(t.now()),e.enter(`chunkFlow`,{contentType:`flow`,previous:a,_tokenizer:i}),h(n)}function h(n){if(n===null){g(e.exit(`chunkFlow`),!0),_(0),e.consume(n);return}return H0(n)?(e.consume(n),g(e.exit(`chunkFlow`)),r=0,t.interrupt=void 0,s):(e.consume(n),h)}function g(e,n){let s=t.sliceStream(e);if(n&&s.push(null),e.previous=a,a&&(a.next=e),a=e,i.defineSkip(e.start),i.write(s),t.parser.lazy[e.start.line]){let e=i.events.length;for(;e--;)if(i.events[e][1].start.offset<o&&(!i.events[e][1].end||i.events[e][1].end.offset>o))return;let n=t.events.length,a=n,s,c;for(;a--;)if(t.events[a][0]===`exit`&&t.events[a][1].type===`chunkFlow`){if(s){c=t.events[a][1].end;break}s=!0}for(_(r),e=n;e<t.events.length;)t.events[e][1].end=Object.assign({},c),e++;P2(t.events,a+1,0,t.events.slice(n)),t.events.length=e}}function _(r){let i=n.length;for(;i-->r;){let r=n[i];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function v(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function mfe(e,t,n){return n4(e,e.attempt(this.parser.constructs.document,t,n),`linePrefix`,this.parser.constructs.disable.null.includes(`codeIndented`)?void 0:4)}var hfe={tokenize:gfe};function gfe(e){let t=this,n=e.attempt(r4,r,e.attempt(this.parser.constructs.flowInitial,i,n4(e,e.attempt(this.parser.constructs.flow,i,e.attempt(Jue,i)),`linePrefix`)));return n;function r(r){if(r===null){e.consume(r);return}return e.enter(`lineEndingBlank`),e.consume(r),e.exit(`lineEndingBlank`),t.currentConstruct=void 0,n}function i(r){if(r===null){e.consume(r);return}return e.enter(`lineEnding`),e.consume(r),e.exit(`lineEnding`),t.currentConstruct=void 0,n}}var _fe={resolveAll:O4()},vfe=D4(`string`),yfe=D4(`text`);function D4(e){return{tokenize:t,resolveAll:O4(e===`text`?bfe:void 0)};function t(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,a,o);return a;function a(e){return c(e)?i(e):o(e)}function o(e){if(e===null){t.consume(e);return}return t.enter(`data`),t.consume(e),s}function s(e){return c(e)?(t.exit(`data`),i(e)):(t.consume(e),s)}function c(e){if(e===null)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}function O4(e){return t;function t(t,n){let r=-1,i;for(;++r<=t.length;)i===void 0?t[r]&&t[r][1].type===`data`&&(i=r,r++):(!t[r]||t[r][1].type!==`data`)&&(r!==i+2&&(t[i][1].end=t[r-1][1].end,t.splice(i+2,r-i-2),r=i+2),i=void 0);return e?e(t,n):t}}function bfe(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type===`lineEnding`)&&e[n-1][1].type===`data`){let r=e[n-1][1],i=t.sliceStream(r),a=i.length,o=-1,s=0,c;for(;a--;){let e=i[a];if(typeof e==`string`){for(o=e.length;e.charCodeAt(o-1)===32;)s++,o--;if(o)break;o=-1}else if(e===-2)c=!0,s++;else if(e!==-1){a++;break}}if(s){let i={type:n===e.length||c||s<2?`lineSuffix`:`hardBreakTrailing`,start:{line:r.end.line,column:r.end.column-s,offset:r.end.offset-s,_index:r.start._index+a,_bufferIndex:a?o:r.start._bufferIndex+o},end:Object.assign({},r.end)};r.end=Object.assign({},i.start),r.start.offset===r.end.offset?Object.assign(r,i):(e.splice(n,0,[`enter`,i,t],[`exit`,i,t]),n+=2)}n++}return e}function xfe(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),i={},a=[],o=[],s=[],c={consume:v,enter:y,exit:b,attempt:x(ee),check:x(te),interrupt:x(te,{interrupt:!0})},l={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:p,sliceSerialize:f,now:m,defineSkip:h,write:d},u=t.tokenize.call(l,c);return t.resolveAll&&a.push(t),l;function d(e){return o=F2(o,e),g(),o[o.length-1]===null?(S(t,0),l.events=$2(a,l.events,l),l.events):[]}function f(e,t){return Cfe(p(e),t)}function p(e){return Sfe(o,e)}function m(){let{line:e,column:t,offset:n,_index:i,_bufferIndex:a}=r;return{line:e,column:t,offset:n,_index:i,_bufferIndex:a}}function h(e){i[e.line]=e.column,re()}function g(){let e;for(;r._index<o.length;){let t=o[r._index];if(typeof t==`string`)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)_(t.charCodeAt(r._bufferIndex));else _(t)}}function _(e){u=u(e)}function v(e){H0(e)?(r.line++,r.column=1,r.offset+=e===-3?2:1,re()):e!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),l.previous=e}function y(e,t){let n=t||{};return n.type=e,n.start=m(),l.events.push([`enter`,n,l]),s.push(n),n}function b(e){let t=s.pop();return t.end=m(),l.events.push([`exit`,t,l]),t}function ee(e,t){S(e,t.from)}function te(e,t){t.restore()}function x(e,t){return n;function n(n,r,i){let a,o,s,u;return Array.isArray(n)?f(n):`tokenize`in n?f([n]):d(n);function d(e){return t;function t(t){let n=t!==null&&e[t],r=t!==null&&e.null;return f([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}function f(e){return a=e,o=0,e.length===0?i:p(e[o])}function p(e){return n;function n(n){return u=ne(),s=e,e.partial||(l.currentConstruct=e),e.name&&l.parser.constructs.disable.null.includes(e.name)?h(n):e.tokenize.call(t?Object.assign(Object.create(l),t):l,c,m,h)(n)}}function m(t){return e(s,u),r}function h(e){return u.restore(),++o<a.length?p(a[o]):i}}}function S(e,t){e.resolveAll&&!a.includes(e)&&a.push(e),e.resolve&&P2(l.events,t,l.events.length-t,e.resolve(l.events.slice(t),l)),e.resolveTo&&(l.events=e.resolveTo(l.events,l))}function ne(){let e=m(),t=l.previous,n=l.currentConstruct,i=l.events.length,a=Array.from(s);return{restore:o,from:i};function o(){r=e,l.previous=t,l.currentConstruct=n,l.events.length=i,s=a,re()}}function re(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function Sfe(e,t){let n=t.start._index,r=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex,o;if(n===i)o=[e[n].slice(r,a)];else{if(o=e.slice(n,i),r>-1){let e=o[0];typeof e==`string`?o[0]=e.slice(r):o.shift()}a>0&&o.push(e[i].slice(0,a))}return o}function Cfe(e,t){let n=-1,r=[],i;for(;++n<e.length;){let a=e[n],o;if(typeof a==`string`)o=a;else switch(a){case-5:o=`\r`;break;case-4:o=`
|
|
70
|
+
`;break;case-3:o=`\r
|
|
71
|
+
`;break;case-2:o=t?` `:` `;break;case-1:if(!t&&i)continue;o=` `;break;default:o=String.fromCharCode(a)}i=a===-2,r.push(o)}return r.join(``)}var wfe=jH({attentionMarkers:()=>Mfe,contentInitial:()=>Efe,disable:()=>Nfe,document:()=>Tfe,flow:()=>Ofe,flowInitial:()=>Dfe,insideSpan:()=>jfe,string:()=>kfe,text:()=>Afe}),Tfe={42:b4,43:b4,45:b4,48:b4,49:b4,50:b4,51:b4,52:b4,53:b4,54:b4,55:b4,56:b4,57:b4,62:i4},Efe={91:$ue},Dfe={[-2]:l4,[-1]:l4,32:l4},Ofe={35:ade,42:y4,45:[x4,y4],60:lde,61:x4,95:y4,96:c4,126:c4},kfe={38:o4,92:a4},Afe={[-5]:v4,[-4]:v4,[-3]:v4,33:Dde,38:o4,42:e4,60:[kue,gde],91:kde,92:[rde,a4],93:_4,95:e4,96:Hue},jfe={null:[e4,_fe]},Mfe={null:[42,95]},Nfe={null:[]};function Pfe(e){let t={defined:[],lazy:{},constructs:L2([wfe,...(e||{}).extensions||[]]),content:n(ufe),document:n(ffe),flow:n(hfe),string:n(vfe),text:n(yfe)};return t;function n(e){return n;function n(n){return xfe(t,e,n)}}}function Ffe(e){for(;!d4(e););return e}var k4=/[\0\t\n\r]/g;function Ife(){let e=1,t=``,n=!0,r;return i;function i(i,a,o){let s=[],c,l,u,d,f;for(i=t+(typeof i==`string`?i.toString():new TextDecoder(a||void 0).decode(i)),u=0,t=``,n&&=(i.charCodeAt(0)===65279&&u++,void 0);u<i.length;){if(k4.lastIndex=u,c=k4.exec(i),d=c&&c.index!==void 0?c.index:i.length,f=i.charCodeAt(d),!c){t=i.slice(u);break}if(f===10&&u===d&&r)s.push(-3),r=void 0;else switch(r&&=(s.push(-5),void 0),u<d&&(s.push(i.slice(u,d)),e+=d-u),f){case 0:s.push(65533),e++;break;case 9:for(l=Math.ceil(e/4)*4,s.push(-2);e++<l;)s.push(-1);break;case 10:s.push(-4),e=1;break;default:r=!0,e=1}u=d+1}return o&&(r&&s.push(-5),t&&s.push(t),s.push(null)),s}}var A4={}.hasOwnProperty;function Lfe(e,t,n){return typeof t!=`string`&&(n=t,t=void 0),Rfe(n)(Ffe(Pfe(n).document().write(Ife()(e,t,!0))))}function Rfe(e){let t={transforms:[],canContainEols:[`emphasis`,`fragment`,`heading`,`paragraph`,`strong`],enter:{autolink:a(Ee),autolinkProtocol:ne,autolinkEmail:ne,atxHeading:a(we),blockQuote:a(ye),characterEscape:ne,characterReference:ne,codeFenced:a(be),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:a(be,o),codeText:a(xe,o),codeTextData:ne,data:ne,codeFlowValue:ne,definition:a(Se),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:a(Ce),hardBreakEscape:a(D),hardBreakTrailing:a(D),htmlFlow:a(O,o),htmlFlowData:ne,htmlText:a(O,o),htmlTextData:ne,image:a(Te),label:o,link:a(Ee),listItem:a(De),listItemValue:f,listOrdered:a(k,d),listUnordered:a(k),paragraph:a(A),reference:fe,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:a(we),strong:a(Oe),thematicBreak:a(j)},exit:{atxHeading:c(),atxHeadingSequence:ee,autolink:c(),autolinkEmail:ve,autolinkProtocol:_e,blockQuote:c(),characterEscapeValue:re,characterReferenceMarkerHexadecimal:me,characterReferenceMarkerNumeric:me,characterReferenceValue:he,characterReference:ge,codeFenced:c(g),codeFencedFence:h,codeFencedFenceInfo:p,codeFencedFenceMeta:m,codeFlowValue:re,codeIndented:c(_),codeText:c(se),codeTextData:re,data:re,definition:c(),definitionDestinationString:b,definitionLabelString:v,definitionTitleString:y,emphasis:c(),hardBreakEscape:c(ae),hardBreakTrailing:c(ae),htmlFlow:c(oe),htmlFlowData:re,htmlText:c(C),htmlTextData:re,image:c(ce),label:ue,labelText:le,lineEnding:ie,link:c(w),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:pe,resourceDestinationString:T,resourceTitleString:de,resource:E,setextHeading:c(S),setextHeadingLineSequence:x,setextHeadingText:te,strong:c(),thematicBreak:c()}};M4(t,(e||{}).mdastExtensions||[]);let n={};return r;function r(e){let r={type:`root`,children:[]},a={stack:[r],tokenStack:[],config:t,enter:s,exit:l,buffer:o,resume:u,data:n},c=[],d=-1;for(;++d<e.length;)(e[d][1].type===`listOrdered`||e[d][1].type===`listUnordered`)&&(e[d][0]===`enter`?c.push(d):d=i(e,c.pop(),d));for(d=-1;++d<e.length;){let n=t[e[d][0]];A4.call(n,e[d][1].type)&&n[e[d][1].type].call(Object.assign({sliceSerialize:e[d][2].sliceSerialize},a),e[d][1])}if(a.tokenStack.length>0){let e=a.tokenStack[a.tokenStack.length-1];(e[1]||N4).call(a,void 0,e[0])}for(r.position={start:j4(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:j4(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},d=-1;++d<t.transforms.length;)r=t.transforms[d](r)||r;return r}function i(e,t,n){let r=t-1,i=-1,a=!1,o,s,c,l;for(;++r<=n;){let t=e[r];switch(t[1].type){case`listUnordered`:case`listOrdered`:case`blockQuote`:t[0]===`enter`?i++:i--,l=void 0;break;case`lineEndingBlank`:t[0]===`enter`&&(o&&!l&&!i&&!c&&(c=r),l=void 0);break;case`linePrefix`:case`listItemValue`:case`listItemMarker`:case`listItemPrefix`:case`listItemPrefixWhitespace`:break;default:l=void 0}if(!i&&t[0]===`enter`&&t[1].type===`listItemPrefix`||i===-1&&t[0]===`exit`&&(t[1].type===`listUnordered`||t[1].type===`listOrdered`)){if(o){let i=r;for(s=void 0;i--;){let t=e[i];if(t[1].type===`lineEnding`||t[1].type===`lineEndingBlank`){if(t[0]===`exit`)continue;s&&(e[s][1].type=`lineEndingBlank`,a=!0),t[1].type=`lineEnding`,s=i}else if(!(t[1].type===`linePrefix`||t[1].type===`blockQuotePrefix`||t[1].type===`blockQuotePrefixWhitespace`||t[1].type===`blockQuoteMarker`||t[1].type===`listItemIndent`))break}c&&(!s||c<s)&&(o._spread=!0),o.end=Object.assign({},s?e[s][1].start:t[1].end),e.splice(s||r,0,[`exit`,o,t[2]]),r++,n++}if(t[1].type===`listItemPrefix`){let i={type:`listItem`,_spread:!1,start:Object.assign({},t[1].start),end:void 0};o=i,e.splice(r,0,[`enter`,i,t[2]]),r++,n++,c=void 0,l=!0}}}return e[t][1]._spread=a,n}function a(e,t){return n;function n(n){s.call(this,e(n),n),t&&t.call(this,n)}}function o(){this.stack.push({type:`fragment`,children:[]})}function s(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n]),e.position={start:j4(t.start),end:void 0}}function c(e){return t;function t(t){e&&e.call(this,t),l.call(this,t)}}function l(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||N4).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+XX({start:e.start,end:e.end})+`): it’s not open`);n.position.end=j4(e.end)}function u(){return u2(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function f(e){if(this.data.expectingFirstListItemValue){let t=this.stack[this.stack.length-2];t.start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0}}function p(){let e=this.resume(),t=this.stack[this.stack.length-1];t.lang=e}function m(){let e=this.resume(),t=this.stack[this.stack.length-1];t.meta=e}function h(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function g(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,``),this.data.flowCodeInside=void 0}function _(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e.replace(/(\r?\n|\r)$/g,``)}function v(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Q0(this.sliceSerialize(e)).toLowerCase()}function y(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e}function b(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e}function ee(e){let t=this.stack[this.stack.length-1];t.depth||=this.sliceSerialize(e).length}function te(){this.data.setextHeadingSlurpLineEnding=!0}function x(e){let t=this.stack[this.stack.length-1];t.depth=this.sliceSerialize(e).codePointAt(0)===61?1:2}function S(){this.data.setextHeadingSlurpLineEnding=void 0}function ne(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];(!n||n.type!==`text`)&&(n=ke(),n.position={start:j4(e.start),end:void 0},t.push(n)),this.stack.push(n)}function re(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=j4(e.end)}function ie(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){let t=n.children[n.children.length-1];t.position.end=j4(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(ne.call(this,e),re.call(this,e))}function ae(){this.data.atHardBreak=!0}function oe(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function C(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function se(){let e=this.resume(),t=this.stack[this.stack.length-1];t.value=e}function w(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||`shortcut`;e.type+=`Reference`,e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function ce(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||`shortcut`;e.type+=`Reference`,e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function le(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=k2(t),n.identifier=Q0(t).toLowerCase()}function ue(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,n.type===`link`?n.children=e.children:n.alt=t}function T(){let e=this.resume(),t=this.stack[this.stack.length-1];t.url=e}function de(){let e=this.resume(),t=this.stack[this.stack.length-1];t.title=e}function E(){this.data.inReference=void 0}function fe(){this.data.referenceType=`collapsed`}function pe(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=Q0(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType=`full`}function me(e){this.data.characterReferenceType=e.type}function he(e){let t=this.sliceSerialize(e),n=this.data.characterReferenceType,r;n?(r=O2(t,n===`characterReferenceMarkerNumeric`?10:16),this.data.characterReferenceType=void 0):r=D2(t);let i=this.stack[this.stack.length-1];i.value+=r}function ge(e){let t=this.stack.pop();t.position.end=j4(e.end)}function _e(e){re.call(this,e);let t=this.stack[this.stack.length-1];t.url=this.sliceSerialize(e)}function ve(e){re.call(this,e);let t=this.stack[this.stack.length-1];t.url=`mailto:`+this.sliceSerialize(e)}function ye(){return{type:`blockquote`,children:[]}}function be(){return{type:`code`,lang:null,meta:null,value:``}}function xe(){return{type:`inlineCode`,value:``}}function Se(){return{type:`definition`,identifier:``,label:null,title:null,url:``}}function Ce(){return{type:`emphasis`,children:[]}}function we(){return{type:`heading`,depth:0,children:[]}}function D(){return{type:`break`}}function O(){return{type:`html`,value:``}}function Te(){return{type:`image`,title:null,url:``,alt:null}}function Ee(){return{type:`link`,title:null,url:``,children:[]}}function k(e){return{type:`list`,ordered:e.type===`listOrdered`,start:null,spread:e._spread,children:[]}}function De(e){return{type:`listItem`,spread:e._spread,checked:null,children:[]}}function A(){return{type:`paragraph`,children:[]}}function Oe(){return{type:`strong`,children:[]}}function ke(){return{type:`text`,value:``}}function j(){return{type:`thematicBreak`}}}function j4(e){return{line:e.line,column:e.column,offset:e.offset}}function M4(e,t){let n=-1;for(;++n<t.length;){let r=t[n];Array.isArray(r)?M4(e,r):zfe(e,r)}}function zfe(e,t){let n;for(n in t)if(A4.call(t,n))switch(n){case`canContainEols`:{let r=t[n];r&&e[n].push(...r);break}case`transforms`:{let r=t[n];r&&e[n].push(...r);break}case`enter`:case`exit`:{let r=t[n];r&&Object.assign(e[n],r);break}}}function N4(e,t){throw Error(e?"Cannot close `"+e.type+"` ("+XX({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+XX({start:t.start,end:t.end})+`) is open`:"Cannot close document, a token (`"+t.type+"`, "+XX({start:t.start,end:t.end})+`) is still open`)}function P4(e){let t=this;t.parser=n;function n(n){return Lfe(n,{...t.data(`settings`),...e,extensions:t.data(`micromarkExtensions`)||[],mdastExtensions:t.data(`fromMarkdownExtensions`)||[]})}}function Bfe(e,t){let n={type:`element`,tagName:`blockquote`,properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function Vfe(e,t){let n={type:`element`,tagName:`br`,properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:`text`,value:`
|
|
72
|
+
`}]}function Hfe(e,t){let n=t.value?t.value+`
|
|
73
|
+
`:``,r={};t.lang&&(r.className=[`language-`+t.lang]);let i={type:`element`,tagName:`code`,properties:r,children:[{type:`text`,value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:`element`,tagName:`pre`,properties:{},children:[i]},e.patch(t,i),i}function Ufe(e,t){let n={type:`element`,tagName:`del`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Wfe(e,t){let n={type:`element`,tagName:`em`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Gfe(e,t){let n=typeof e.options.clobberPrefix==`string`?e.options.clobberPrefix:`user-content-`,r=String(t.identifier).toUpperCase(),i=Z2(r.toLowerCase()),a=e.footnoteOrder.indexOf(r),o,s=e.footnoteCounts.get(r);s===void 0?(s=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=a+1,s+=1,e.footnoteCounts.set(r,s);let c={type:`element`,tagName:`a`,properties:{href:`#`+n+`fn-`+i,id:n+`fnref-`+i+(s>1?`-`+s:``),dataFootnoteRef:!0,ariaDescribedBy:[`footnote-label`]},children:[{type:`text`,value:String(o)}]};e.patch(t,c);let l={type:`element`,tagName:`sup`,properties:{},children:[c]};return e.patch(t,l),e.applyData(t,l)}function Kfe(e,t){let n={type:`element`,tagName:`h`+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function qfe(e,t){if(e.options.allowDangerousHtml){let n={type:`raw`,value:t.value};return e.patch(t,n),e.applyData(t,n)}}function F4(e,t){let n=t.referenceType,r=`]`;if(n===`collapsed`?r+=`[]`:n===`full`&&(r+=`[`+(t.label||t.identifier)+`]`),t.type===`imageReference`)return[{type:`text`,value:`![`+t.alt+r}];let i=e.all(t),a=i[0];a&&a.type===`text`?a.value=`[`+a.value:i.unshift({type:`text`,value:`[`});let o=i[i.length-1];return o&&o.type===`text`?o.value+=r:i.push({type:`text`,value:r}),i}function Jfe(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return F4(e,t);let i={src:Z2(r.url||``),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);let a={type:`element`,tagName:`img`,properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)}function Yfe(e,t){let n={src:Z2(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);let r={type:`element`,tagName:`img`,properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function Xfe(e,t){let n={type:`text`,value:t.value.replace(/\r?\n|\r/g,` `)};e.patch(t,n);let r={type:`element`,tagName:`code`,properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function Zfe(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return F4(e,t);let i={href:Z2(r.url||``)};r.title!==null&&r.title!==void 0&&(i.title=r.title);let a={type:`element`,tagName:`a`,properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function Qfe(e,t){let n={href:Z2(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);let r={type:`element`,tagName:`a`,properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function $fe(e,t,n){let r=e.all(t),i=n?epe(n):I4(t),a={},o=[];if(typeof t.checked==`boolean`){let e=r[0],n;e&&e.type===`element`&&e.tagName===`p`?n=e:(n={type:`element`,tagName:`p`,properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:`text`,value:` `}),n.children.unshift({type:`element`,tagName:`input`,properties:{type:`checkbox`,checked:t.checked,disabled:!0},children:[]}),a.className=[`task-list-item`]}let s=-1;for(;++s<r.length;){let e=r[s];(i||s!==0||e.type!==`element`||e.tagName!==`p`)&&o.push({type:`text`,value:`
|
|
74
|
+
`}),e.type===`element`&&e.tagName===`p`&&!i?o.push(...e.children):o.push(e)}let c=r[r.length-1];c&&(i||c.type!==`element`||c.tagName!==`p`)&&o.push({type:`text`,value:`
|
|
75
|
+
`});let l={type:`element`,tagName:`li`,properties:a,children:o};return e.patch(t,l),e.applyData(t,l)}function epe(e){let t=!1;if(e.type===`list`){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r<n.length;)t=I4(n[r])}return t}function I4(e){return e.spread??e.children.length>1}function tpe(e,t){let n={},r=e.all(t),i=-1;for(typeof t.start==`number`&&t.start!==1&&(n.start=t.start);++i<r.length;){let e=r[i];if(e.type===`element`&&e.tagName===`li`&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes(`task-list-item`)){n.className=[`contains-task-list`];break}}let a={type:`element`,tagName:t.ordered?`ol`:`ul`,properties:n,children:e.wrap(r,!0)};return e.patch(t,a),e.applyData(t,a)}function npe(e,t){let n={type:`element`,tagName:`p`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function rpe(e,t){let n={type:`root`,children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function ipe(e,t){let n={type:`element`,tagName:`strong`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function ape(e,t){let n=e.all(t),r=n.shift(),i=[];if(r){let n={type:`element`,tagName:`thead`,properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){let r={type:`element`,tagName:`tbody`,properties:{},children:e.wrap(n,!0)},a=q1(t.children[1]),o=K1(t.children[t.children.length-1]);a&&o&&(r.position={start:a,end:o}),i.push(r)}let a={type:`element`,tagName:`table`,properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)}function ope(e,t,n){let r=n?n.children:void 0,i=(r?r.indexOf(t):1)===0?`th`:`td`,a=n&&n.type===`table`?n.align:void 0,o=a?a.length:t.children.length,s=-1,c=[];for(;++s<o;){let n=t.children[s],r={},o=a?a[s]:void 0;o&&(r.align=o);let l={type:`element`,tagName:i,properties:r,children:[]};n&&(l.children=e.all(n),e.patch(n,l),l=e.applyData(n,l)),c.push(l)}let l={type:`element`,tagName:`tr`,properties:{},children:e.wrap(c,!0)};return e.patch(t,l),e.applyData(t,l)}function spe(e,t){let n={type:`element`,tagName:`td`,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}var L4=9,R4=32;function cpe(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),i=0,a=[];for(;r;)a.push(z4(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(z4(t.slice(i),i>0,!1)),a.join(``)}function z4(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;t===L4||t===R4;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;t===L4||t===R4;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):``}function lpe(e,t){let n={type:`text`,value:cpe(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function upe(e,t){let n={type:`element`,tagName:`hr`,properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}var dpe={blockquote:Bfe,break:Vfe,code:Hfe,delete:Ufe,emphasis:Wfe,footnoteReference:Gfe,heading:Kfe,html:qfe,imageReference:Jfe,image:Yfe,inlineCode:Xfe,linkReference:Zfe,link:Qfe,listItem:$fe,list:tpe,paragraph:npe,root:rpe,strong:ipe,table:ape,tableCell:spe,tableRow:ope,text:lpe,thematicBreak:upe,toml:B4,yaml:B4,definition:B4,footnoteDefinition:B4};function B4(){}function fpe(e,t){let n=[{type:`text`,value:`↩`}];return t>1&&n.push({type:`element`,tagName:`sup`,properties:{},children:[{type:`text`,value:String(t)}]}),n}function ppe(e,t){return`Back to reference `+(e+1)+(t>1?`-`+t:``)}function mpe(e){let t=typeof e.options.clobberPrefix==`string`?e.options.clobberPrefix:`user-content-`,n=e.options.footnoteBackContent||fpe,r=e.options.footnoteBackLabel||ppe,i=e.options.footnoteLabel||`Footnotes`,a=e.options.footnoteLabelTagName||`h2`,o=e.options.footnoteLabelProperties||{className:[`sr-only`]},s=[],c=-1;for(;++c<e.footnoteOrder.length;){let i=e.footnoteById.get(e.footnoteOrder[c]);if(!i)continue;let a=e.all(i),o=String(i.identifier).toUpperCase(),l=Z2(o.toLowerCase()),u=0,d=[],f=e.footnoteCounts.get(o);for(;f!==void 0&&++u<=f;){d.length>0&&d.push({type:`text`,value:` `});let e=typeof n==`string`?n:n(c,u);typeof e==`string`&&(e={type:`text`,value:e}),d.push({type:`element`,tagName:`a`,properties:{href:`#`+t+`fnref-`+l+(u>1?`-`+u:``),dataFootnoteBackref:``,ariaLabel:typeof r==`string`?r:r(c,u),className:[`data-footnote-backref`]},children:Array.isArray(e)?e:[e]})}let p=a[a.length-1];if(p&&p.type===`element`&&p.tagName===`p`){let e=p.children[p.children.length-1];e&&e.type===`text`?e.value+=` `:p.children.push({type:`text`,value:` `}),p.children.push(...d)}else a.push(...d);let m={type:`element`,tagName:`li`,properties:{id:t+`fn-`+l},children:e.wrap(a,!0)};e.patch(i,m),s.push(m)}if(s.length!==0)return{type:`element`,tagName:`section`,properties:{dataFootnotes:!0,className:[`footnotes`]},children:[{type:`element`,tagName:a,properties:{...G$(o),id:`footnote-label`},children:[{type:`text`,value:i}]},{type:`text`,value:`
|
|
76
|
+
`},{type:`element`,tagName:`ol`,properties:{},children:e.wrap(s,!0)},{type:`text`,value:`
|
|
77
|
+
`}]}}var V4={}.hasOwnProperty,hpe={};function gpe(e,t){let n=t||hpe,r=new Map,i=new Map,a={all:s,applyData:vpe,definitionById:r,footnoteById:i,footnoteCounts:new Map,footnoteOrder:[],handlers:{...dpe,...n.handlers},one:o,options:n,patch:_pe,wrap:bpe};return CH(e,function(e){if(e.type===`definition`||e.type===`footnoteDefinition`){let t=e.type===`definition`?r:i,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),a;function o(e,t){let n=e.type,r=a.handlers[n];if(V4.call(a.handlers,n)&&r)return r(a,e,t);if(a.options.passThrough&&a.options.passThrough.includes(n)){if(`children`in e){let{children:t,...n}=e,r=G$(n);return r.children=a.all(e),r}return G$(e)}return(a.options.unknownHandler||ype)(a,e,t)}function s(e){let t=[];if(`children`in e){let n=e.children,r=-1;for(;++r<n.length;){let i=a.one(n[r],e);if(i){if(r&&n[r-1].type===`break`&&(!Array.isArray(i)&&i.type===`text`&&(i.value=H4(i.value)),!Array.isArray(i)&&i.type===`element`)){let e=i.children[0];e&&e.type===`text`&&(e.value=H4(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t}}function _pe(e,t){e.position&&(t.position=Y1(e))}function vpe(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;typeof t==`string`&&(n.type===`element`?n.tagName=t:n={type:`element`,tagName:t,properties:{},children:`children`in n?n.children:[n]}),n.type===`element`&&i&&Object.assign(n.properties,G$(i)),`children`in n&&n.children&&r!=null&&(n.children=r)}return n}function ype(e,t){let n=t.data||{},r=`value`in t&&!(V4.call(n,`hProperties`)||V4.call(n,`hChildren`))?{type:`text`,value:t.value}:{type:`element`,tagName:`div`,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function bpe(e,t){let n=[],r=-1;for(t&&n.push({type:`text`,value:`
|
|
78
|
+
`});++r<e.length;)r&&n.push({type:`text`,value:`
|
|
79
|
+
`}),n.push(e[r]);return t&&e.length>0&&n.push({type:`text`,value:`
|
|
80
|
+
`}),n}function H4(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function U4(e,t){let n=gpe(e,t),r=n.one(e,void 0),i=mpe(n),a=Array.isArray(r)?{type:`root`,children:r}:r||{type:`root`,children:[]};return i&&(`children`in a,a.children.push({type:`text`,value:`
|
|
81
|
+
`},i)),a}function W4(e,t){return e&&`run`in e?async function(n,r){let i=U4(n,{file:r,...t});await e.run(i,r)}:function(n,r){return U4(n,{file:r,...e||t})}}function xpe(e){let t=this;t.compiler=n;function n(n){return Jle(n,{...t.data(`settings`),...e,extensions:t.data(`toMarkdownExtensions`)||[]})}}var G4=e=>e.type===`heading`&&`depth`in e&&`children`in e,Spe=(e,...t)=>t=>{!e?.transform||!e?.type||CH(t,e?.type,t=>(e?.transform&&e?.transform(t),bH))},Cpe=new Set([`dd`,`dt`,`li`,`p`,`summary`,`td`,`th`]),K4=/[`*_\[~]/,q4=f$().use(P4).use(T4).use(()=>e=>{CH(e,`html`,(e,t,n)=>{typeof t!=`number`||!n||!(`children`in n)||!Array.isArray(n.children)||(n.children[t]={type:`text`,value:e.value??``})})}).use(W4),wpe=f$().use(MZ,{fragment:!0}),Tpe=f$().use(i$),Epe=e=>{let t=q4.runSync(q4.parse(e));if(t.children.length!==1)return[];let n=t.children.at(0);return!n||n.type!==`element`||n.tagName!==`p`?[]:n.children},Dpe=()=>e=>{CH(e,`element`,e=>{Cpe.has(e.tagName)&&(e.children=e.children.flatMap(e=>{if(e.type!==`text`||!K4.test(e.value))return[e];let t=Epe(e.value);return t.length?t:[e]}))})},Ope=()=>e=>{CH(e,`raw`,e=>{if(typeof e.value!=`string`||!K4.test(e.value))return;let t=wpe.parse(e.value);Dpe()(t),e.value=Tpe.stringify(t)})};function kpe(e,t){let n=t?.removeTags??[],r=[..._0.tagNames??[],...t?.allowTags??[]].filter(e=>!n.includes(e));return f$().use(P4).use(T4).use(Spe,{transform:t?.transform,type:t?.transformType}).use(W4,{allowDangerousHtml:!0}).use(P$).use(Ope).use(h0).use(P0,{..._0,clobberPrefix:``,tagNames:r,attributes:{..._0.attributes,abbr:[`title`],"*":[..._0.attributes?.[`*`]??[],`className`]},strip:[`script`,`style`,`object`,`embed`,`form`]}).use(pU,{languages:MG,detect:!0,className:`custom-scroll`}).use(Q$,{target:`_blank`}).use(M1).use(i$).processSync(e).toString()}function J4(e){return f$().use(P4).use(T4).parse(e)}function Ape(e,t=1){let n=J4(e),r=[];return CH(n,`heading`,e=>{let n=Y4(e);n&&r.push({depth:e.depth??t,value:n})}),r}function Y4(e){return e.type===`text`?e.value??``:`children`in e&&Array.isArray(e.children)?e.children.map(e=>Y4(e)).join(``):``}function jpe(e){let t=J4(e),n=[],r=[];return t.children?.forEach(e=>{e.type===`heading`?(r.length&&n.push(r),n.push([e]),r=[]):r.push(e)}),r.length&&n.push(r),n.map(e=>Mpe(e))}function Mpe(e){return f$().use(xpe).use(T4).stringify({type:`root`,children:e}).trim()}var Npe=[`innerHTML`],X4=T({inheritAttrs:!1,__name:`ScalarMarkdown`,props:{value:{},withImages:{type:Boolean,default:!1},withAnchors:{type:Boolean,default:!1},transform:{type:Function},transformType:{},clamp:{},anchorPrefix:{}},setup(e,{expose:t}){let{cx:n}=xc();t({el:De(`div`)});let r=t=>{if(!e.withAnchors)return e.transform?.(t)||t;if(!G4(t))return t;let n=Y4(t).toLowerCase().replace(/\s+/g,`-`);return t.data={hProperties:{id:e.anchorPrefix?`${e.anchorPrefix}/description/${n}`:n}},e.transform?e.transform(t):t},i=M(()=>kpe(e.value??``,{removeTags:e.withImages?[]:[`img`,`picture`],transform:e.withAnchors&&e.transformType===`heading`?r:e.transform,transformType:e.transformType}));return(t,r)=>(y(),N(`div`,o({ref:`div`},E(n)(`markdown`,{"line-clamp-(--markdown-clamp)":!!e.clamp}),{style:{"--markdown-clamp":e.clamp},innerHTML:i.value}),null,16,Npe))}}),Ppe=[`aria-controls`,`aria-expanded`],Z4=T({inheritAttrs:!1,__name:`ScalarMarkdownSummary`,props:Fe({value:{},withImages:{type:Boolean},withAnchors:{type:Boolean},transform:{type:Function},transformType:{},clamp:{default:1},anchorPrefix:{},controlled:{type:Boolean}},{modelValue:{type:Boolean,default:!1},modelModifiers:{},truncated:{type:Boolean,default:!1},truncatedModifiers:{}}),emits:[`update:modelValue`,`update:truncated`],setup(e){let t=Ae(e,[`clamp`]),n=be(),r=ce(e,`modelValue`),i=ce(e,`truncated`),a=De(`scalar-markdown`);hz(()=>a.value?.el,s);function s(){let e=a.value?.el;e&&(i.value=e.scrollHeight>e.clientHeight||e.scrollWidth>e.clientWidth)}le(s);let{cx:c}=xc();return(a,s)=>(y(),N(`div`,Ge(Qe(E(c)(`group/summary flex gap-0.5`,r.value?`flex-col`:`flex-row items-baseline`))),[O(X4,o(t,{id:E(n),ref:`scalar-markdown`,clamp:r.value?void 0:e.clamp,class:{"markdown-summary truncate":!r.value}}),null,16,[`id`,`clamp`,`class`]),!e.controlled&&(i.value||r.value)?(y(),N(`button`,{key:0,"aria-controls":E(n),"aria-expanded":r.value,class:v([`whitespace-nowrap font-medium hover:underline`,{"self-end":r.value}]),type:`button`,onClick:s[0]||=e=>r.value=!r.value},[S(a.$slots,`button`,{open:r.value},()=>[F(ye(r.value?` Show Less`:`More`),1)])],10,Ppe)):A(``,!0)],16))}}),Fpe=T({inheritAttrs:!1,__name:`ScalarPopover`,props:{focus:{type:Boolean},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},setup(e){let{cx:t}=xc();return(n,r)=>(y(),k(E(ka),{as:`template`},{default:D(({open:r})=>[O(E(CR),Ge(Qe(n.$props)),{floating:D(({width:i,height:a})=>[O(E(ja),o({focus:e.focus,style:{width:i,height:a}},E(t)(`relative flex flex-col p-0.75`)),{default:D(({close:e})=>[S(n.$slots,`popover`,{close:()=>e(),open:r}),S(n.$slots,`backdrop`,{open:r},()=>[O(E(wR))])]),_:2},1040,[`focus`,`style`])]),default:D(()=>[O(E(Aa),{as:`template`},{default:D(()=>[S(n.$slots,`default`,{open:r})]),_:2},1024)]),_:2},1040)]),_:3}))}}),Ipe=[`aria-disabled`],Lpe={key:0,class:`sr-only`},Q4=T({inheritAttrs:!1,__name:`ScalarIconButton`,props:{label:{},icon:{type:[Object,Function]},disabled:{type:Boolean},variant:{default:`ghost`},size:{default:`md`},thickness:{},weight:{},tooltip:{type:[Boolean,String,Object]}},setup(e){let t=yc({base:`scalar-icon-button grid aspect-square cursor-pointer rounded`,variants:{size:{xxs:`size-3.5 p-0.5`,xs:`size-5 p-1`,sm:`size-6 p-1`,md:`size-10 p-3`,full:`size-full`},disabled:{true:`cursor-not-allowed shadow-none`},variant:GF},compoundVariants:[{size:`md`,variant:`ghost`,class:`size-8 p-2 m-1 -outline-offset-2 rounded-lg`}]}),{cx:n}=xc(),r=De(`ref`);return RV({content:M(()=>e.label),offset:M(()=>e.variant===`ghost`?0:4),placement:M(()=>typeof e.tooltip==`boolean`?void 0:e.tooltip),targetRef:M(()=>e.tooltip?r.value:void 0)}),(r,i)=>(y(),N(`button`,o({ref:`ref`,"aria-disabled":e.disabled,type:`button`},E(n)(E(t)({size:e.size,variant:e.variant,disabled:e.disabled}))),[O(E(HF),{icon:e.icon,thickness:e.thickness,weight:e.weight},null,8,[`icon`,`thickness`,`weight`]),e.tooltip?A(``,!0):(y(),N(`span`,Lpe,ye(e.label),1))],16,Ipe))}}),$4=T({name:`ValueEmitter`,props:{value:{}},emits:[`change`,`unmount`],setup(e,{emit:t}){let n=t;return Ye(()=>e.value,e=>n(`change`,e),{immediate:!0}),se(()=>n(`unmount`)),(e,t)=>null}}),Rpe=[`aria-labelledby`],zpe={class:`text-c-1 m-0 flex flex-1 items-center gap-1.5 leading-[20px]`},Bpe=[`id`],Vpe={key:0,class:`sr-only`},Hpe={key:0,class:`bg-b-2 text-c-2 inline-flex h-5 w-5 items-center justify-center rounded-full border text-xs font-semibold`},Upe={class:`sr-only`},Wpe={key:0,class:`ui-not-open:hidden flex items-center gap-2 pr-0.75`},e3=T({name:`CollapsibleSection`,props:{defaultOpen:{type:Boolean,default:!0},itemCount:{default:0},isStatic:{type:Boolean}},emits:[`update:modelValue`],setup(e,{emit:t}){let n=t,r=be();return(t,i)=>(y(),k(E(ra),{as:`div`,class:v([`group/collapse text-c-2 focus-within:text-c-1 last:ui-open:border-b-0`,{"last-of-type:first-of-type:border-b-0":e.isStatic,"border-b":!e.isStatic}]),defaultOpen:e.defaultOpen,static:e.isStatic},{default:D(({open:a})=>[O($4,{value:a,onChange:i[0]||=e=>n(`update:modelValue`,e)},null,8,[`value`]),P(`section`,{"aria-labelledby":E(r),class:`contents`},[P(`div`,{class:v([`bg-b-2 flex items-center`,e.isStatic&&`rounded-t-xl border-x border-t`])},[O(E(ia),{class:v([`hover:text-c-1 group box-content flex max-h-8 flex-1 items-center gap-2.5 overflow-hidden px-1 py-1.5 text-base font-medium outline-none md:px-1.5 xl:pr-0.5 xl:pl-2`,e.isStatic&&`!pl-3`]),disabled:e.isStatic},{default:D(()=>[e.isStatic?A(``,!0):(y(),k(E(VF),{key:0,class:`text-c-3 group-hover:text-c-1 rounded-px ui-open:rotate-90 ui-not-open:rotate-0 outline-offset-2 group-focus-visible:outline`,icon:`ChevronRight`,size:`md`})),P(`h2`,zpe,[P(`span`,{id:E(r),class:`contents`},[S(t.$slots,`title`,{open:a}),a?A(``,!0):(y(),N(`span`,Vpe,` (Collapsed) `))],8,Bpe),!a&&e.itemCount?(y(),N(`span`,Hpe,[F(ye(e.itemCount)+` `,1),P(`span`,Upe,`Item`+ye(e.itemCount===1?``:`s`),1)])):A(``,!0)])]),_:2},1032,[`class`,`disabled`]),t.$slots.actions?(y(),N(`div`,Wpe,[S(t.$slots,`actions`,{open:a})])):A(``,!0)],2),O(E(aa),o(t.$attrs,{class:`diclosure-panel h-full max-h-fit rounded-b`}),{default:D(()=>[S(t.$slots,`default`,{open:a})]),_:2},1040)],8,Rpe)]),_:3},8,[`class`,`defaultOpen`,`static`]))}}),Gpe=T({__name:`ScalarListboxItem`,props:{option:{},multiselect:{type:Boolean}},setup(e){let t=yc({base:[`group/item`,`flex min-w-0 items-center gap-1.5 rounded px-2 py-1.5 text-left`,`truncate bg-transparent text-c-1`,`cursor-pointer hover:bg-b-2`],variants:{selected:{true:`text-c-1`},active:{true:`bg-b-2`},disabled:{true:`pointer-events-none opacity-50`}}});return(n,r)=>(y(),k(E(xa),{as:`template`,disabled:e.option.disabled,value:e.option},{default:D(({active:n,selected:r})=>[P(`li`,{class:v(E(bc)(E(t)({active:n,selected:r,disabled:e.option.disabled})))},[O(ZF,{multiselect:e.multiselect,selected:r},null,8,[`multiselect`,`selected`]),P(`span`,{class:v([`inline-block min-w-0 flex-1 truncate`,e.option.color?e.option.color:`text-c-1`])},ye(e.option.label),3)],2)]),_:1},8,[`disabled`,`value`]))}}),Kpe={class:`custom-scroll min-h-0 flex-1`},t3=T({inheritAttrs:!1,__name:`ScalarListbox`,props:{options:{},id:{},label:{},multiple:{type:Boolean},modelValue:{},placement:{},offset:{type:[Number,Object,Function]},resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},emits:[`update:modelValue`],setup(e){let{cx:t}=xc();return(n,r)=>(y(),k(E(_a),{modelValue:e.modelValue,multiple:e.multiple,"onUpdate:modelValue":r[0]||=e=>n.$emit(`update:modelValue`,e)},{default:D(({open:r})=>[e.label?(y(),k(E(va),{key:0,class:`sr-only`},{default:D(()=>[F(ye(e.label),1)]),_:1})):A(``,!0),O(E(CR),o(n.$props,{placement:e.placement??`bottom-start`}),{floating:D(({width:n})=>[r?(y(),N(`div`,o({key:0,style:{width:n}},E(t)(`relative flex max-h-[inherit] w-40 max-w-[inherit] rounded text-sm`)),[P(`div`,Kpe,[O(E(ba),{class:`flex flex-col gap-0.75 p-0.75 -outline-offset-1`},{default:D(()=>[(y(!0),N(Me,null,_(e.options,t=>(y(),k(Gpe,{key:t.id,multiselect:e.multiple,option:t},null,8,[`multiselect`,`option`]))),128))]),_:1})]),O(E(wR))],16)):A(``,!0)]),default:D(()=>[O(E(ya),{id:e.id,as:`template`},{default:D(()=>[S(n.$slots,`default`,{open:r})]),_:2},1032,[`id`])]),_:2},1040,[`placement`])]),_:3},8,[`modelValue`,`multiple`]))}}),n3={c:[`libcurl`],clojure:[`clj_http`],csharp:[`httpclient`,`restsharp`],dart:[`http`],fsharp:[`httpclient`],go:[`native`],http:[`http1.1`],java:[`asynchttp`,`nethttp`,`okhttp`,`unirest`],js:[`axios`,`fetch`,`jquery`,`ofetch`,`xhr`],kotlin:[`okhttp`],node:[`axios`,`fetch`,`ofetch`,`undici`],objc:[`nsurlsession`],ocaml:[`cohttp`],php:[`curl`,`guzzle`,`laravel`],powershell:[`restmethod`,`webrequest`],python:[`python3`,`requests`,`aiohttp`,`httpx_sync`,`httpx_async`],r:[`httr2`],ruby:[`native`],rust:[`reqwest`],shell:[`curl`,`httpie`,`wget`],swift:[`nsurlsession`]},r3=_T(n3).flatMap(([e,t])=>t.map(t=>`${e}/${t}`)),qpe=e=>(e||`GET`).toUpperCase(),i3=e=>e.replaceAll(`\\`,`\\\\`).replaceAll(`"`,`\\"`).replaceAll(`
|
|
82
|
+
`,`\\n`).replaceAll(`\r`,`\\r`).replaceAll(` `,`\\t`),Jpe=e=>{if(!e)return``;try{let t=new URL(e),n=t.pathname===`/`&&!e.endsWith(`/`)&&!e.includes(`?`)&&!e.includes(`#`)?``:t.pathname;return`${t.protocol}//${t.host}${n}${t.search}${t.hash}`}catch{return e}},Ype=(e,t)=>{let n=t?.length?t.map(e=>`${e.name}=${e.value}`).join(`&`):``;return n?e?`${e}${e.includes(`?`)?`&`:`?`}${n}`:`?${n}`:e},Xpe=e=>e?.length?e.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `):null,Zpe=e=>e?.length?e.map(e=>new URLSearchParams([[e.name,e.value??``]]).toString()).join(`&`):null,a3=e=>{if(e===void 0)return``;try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}},o3=e=>{let t=e.split(`
|
|
83
|
+
`);return t.length<=1?[` curl_easy_setopt(curl, CURLOPT_POSTFIELDS, "${i3(e)}");`]:[` curl_easy_setopt(curl, CURLOPT_POSTFIELDS,`,...t.map((e,n)=>{let r=n===t.length-1;return` "${i3(e)}${r?``:`\\n`}"${r?`);`:``}`})]},Qpe={target:`c`,client:`libcurl`,title:`Libcurl`,generate(e,t){if(!e)return``;let n=qpe(e.method),r=Ype(Jpe(e.url??``),e.queryString),i=!!e.headers?.length,a=!!e.cookies?.length,o=e.postData,s=o?.mimeType===`multipart/form-data`&&!!o.params?.length,c=e.headers??[],l=c.some(e=>e.name.toLowerCase()===`accept-encoding`&&/gzip|deflate/.test(e.value)),u=[`#include <curl/curl.h>`,``,`int main(void) {`,` curl_global_init(CURL_GLOBAL_DEFAULT);`,` CURL *curl = curl_easy_init();`,` if (!curl) {`,` curl_global_cleanup();`,` return 1;`,` }`,``,` curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "${i3(n)}");`,` curl_easy_setopt(curl, CURLOPT_URL, "${i3(r)}");`];if(t?.auth?.username&&t.auth.password&&u.push(` curl_easy_setopt(curl, CURLOPT_USERPWD, "${i3(`${t.auth.username}:${t.auth.password}`)}");`),i&&(u.push(``,` struct curl_slist *headers = NULL;`),c.forEach(e=>{u.push(` headers = curl_slist_append(headers, "${i3(`${e.name}: ${e.value}`)}");`)}),u.push(` curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);`)),a){let t=Xpe(e.cookies);t&&u.push(``,` curl_easy_setopt(curl, CURLOPT_COOKIE, "${i3(t)}");`)}if(l&&u.push(``,` curl_easy_setopt(curl, CURLOPT_ACCEPT_ENCODING, "");`),o){if(s&&o.params)u.push(``,` curl_mime *mime = curl_mime_init(curl);`),o.params.forEach(e=>{u.push(``,` {`,` curl_mimepart *part = curl_mime_addpart(mime);`),e.name&&u.push(` curl_mime_name(part, "${i3(e.name)}");`),e.fileName===void 0?u.push(` curl_mime_data(part, "${i3(e.value??``)}", CURL_ZERO_TERMINATED);`):u.push(` curl_mime_filedata(part, "${i3(e.fileName)}");`),e.contentType&&u.push(` curl_mime_type(part, "${i3(e.contentType)}");`),u.push(` }`)}),u.push(``,` curl_easy_setopt(curl, CURLOPT_MIMEPOST, mime);`);else if(o.mimeType===`application/x-www-form-urlencoded`&&o.params?.length){let e=Zpe(o.params);e!==null&&u.push(``,` curl_easy_setopt(curl, CURLOPT_POSTFIELDS, "${i3(e)}");`)}else if(o.mimeType===`application/json`&&o.text!==void 0)u.push(``,...o3(a3(o.text)));else if(o.text!==void 0){let e=o.mimeType===`application/octet-stream`?o.text:a3(o.text);u.push(``,...o3(e))}}return u.push(``,` CURLcode res = curl_easy_perform(curl);`),u.push(` curl_easy_cleanup(curl);`),s&&u.push(` curl_mime_free(mime);`),i&&u.push(` curl_slist_free_all(headers);`),u.push(` curl_global_cleanup();`,``,` return (int)res;`,`}`),u.join(`
|
|
84
|
+
`)}};function s3(e){return{...e,method:(e.method||`GET`).toUpperCase()}}function c3(e){return e?.length?`?${e.map(e=>`${e.name}=${e.value}`).join(`&`)}`:``}var l3=e=>(e||`GET`).toUpperCase(),u3=e=>{if(!e)return``;try{let t=new URL(e);return t.pathname===`/`?`${t.origin}${t.search}${t.hash}`:t.toString()}catch{return e}},d3=(e,t)=>{let n=c3(t);return n?e?`${e}${e.includes(`?`)?`&`:`?`}${n.slice(1)}`:n:e},f3=(e,t)=>{let n=new Map;if(e?.forEach(e=>{e.name&&n.set(e.name,e.value??``)}),t?.length){let e=t.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `);n.set(`Cookie`,e)}return Array.from(n.entries()).map(([e,t])=>({name:e,value:t}))},p3=(e,t,n)=>{let r=e[t];r===void 0?e[t]=n:Array.isArray(r)?r.push(n):e[t]=[r,n]};function m3(e=[]){return e.reduce((e,{name:t,value:n})=>(p3(e,t,n),e),{})}function $pe(e,t){return`${e}${t}`}function eme(e){let t={};if(e.headers)for(let n of e.headers)n.value&&!/[; ]/.test(n.name)&&(t[n.name]=n.value);return e.cookies&&e.cookies.length>0&&(t.Cookie=e.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `)),t}var h3=e=>e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`),g3=class{name;constructor(e){this.name=e}toString(){return`:${this.name}`}},_3=class{path;constructor(e){this.path=e}toString(){return`(clojure.java.io/file "${h3(this.path)}")`}},v3=e=>typeof e==`object`&&!!e&&!Array.isArray(e)&&!(e instanceof g3)&&!(e instanceof _3)&&Object.keys(e).length===0,tme=e=>{for(let t of Object.keys(e))v3(e[t])&&delete e[t];return e},y3=(e,t)=>t.replace(/\n/g,`\n${` `.repeat(e)}`),b3=e=>e==null?`nil`:e instanceof g3||e instanceof _3?e.toString():typeof e==`string`?`"${h3(e)}"`:Array.isArray(e)?`[${y3(1,e.reduce((e,t)=>`${e} ${b3(t)}`,``).trim())}]`:typeof e==`object`?`{${y3(1,Object.keys(e).reduce((t,n)=>`${t}:${n} ${y3(n.length+2,b3(e[n]))}\n `,``).trim())}}`:String(e),x3=(e,t)=>Object.keys(e).find(e=>e.toLowerCase()===t.toLowerCase()),S3=(e,t)=>{let n=x3(e,t);n&&delete e[n]},nme=[`get`,`post`,`put`,`delete`,`patch`,`head`,`options`],rme={target:`clojure`,client:`clj_http`,title:`clj-http`,generate(e,t){let n=l3(e?.method).toLowerCase();if(!nme.includes(n))return`Method not supported`;let r=new URL(e?.url??``),i=r.pathname===`/`?r.origin:r.toString(),a=m3([...Array.from(r.searchParams.entries()).map(([e,t])=>({name:e,value:t})),...e?.queryString??[]]);Object.keys(a).length>0&&(i=i.split(`?`)[0]??i);let o=(e?.headers??[]).reduce((e,t)=>(e[t.name]=t.value??``,e),{});e?.cookies?.length&&(o.Cookie=e.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `));let s={headers:o,"query-params":a};t?.auth?.username&&t?.auth?.password&&(s[`basic-auth`]=[t.auth.username,t.auth.password]);let c=e?.postData;switch(c?.mimeType){case`application/json`:if(s[`content-type`]=new g3(`json`),c.text)try{s[`form-params`]=JSON.parse(c.text)}catch{s.body=c.text}S3(o,`content-type`);break;case`application/x-www-form-urlencoded`:s[`form-params`]=(c.params??[]).reduce((e,t)=>(t.name&&t.value!==void 0&&(e[t.name]=t.value),e),{}),S3(o,`content-type`);break;case`multipart/form-data`:c.params&&(s.multipart=c.params.map(e=>typeof e.fileName==`string`&&!e.value?{name:e.name,content:new _3(e.fileName)}:{name:e.name,content:e.value})),S3(o,`content-type`);break;default:c?.text&&(s.body=c.text,S3(o,`content-type`))}let l=x3(o,`accept`);l&&o[l]===`application/json`&&(s.accept=new g3(`json`),delete o[l]);let u=tme(s),d=`(require '[clj-http.client :as client])
|
|
85
|
+
`,f=h3(i);return v3(u)?`${d}\n(client/${n} "${f}")`:`${d}\n(client/${n} "${f}" ${y3(11+n.length+f.length,b3(u))})`}},ime={target:`csharp`,client:`httpclient`,title:`HttpClient`,generate(e,t){let n={method:`GET`,url:``,...e};n.method=n.method.toUpperCase();let r=c3(n.queryString),i=`${n.url}${r}`,a=[];a.push(`using var client = new HttpClient();`),a.push(``);let o=ame(n.method);return a.push(`var request = new HttpRequestMessage(${o}, "${i}");`),ome(a,n,t),sme(a,n),a.push(``),a.push(`using var response = await client.SendAsync(request);`),a.join(`
|
|
86
|
+
`)}};function ame(e){switch(e){case`GET`:return`HttpMethod.Get`;case`POST`:return`HttpMethod.Post`;case`PUT`:return`HttpMethod.Put`;case`DELETE`:return`HttpMethod.Delete`;case`PATCH`:return`HttpMethod.Patch`;case`HEAD`:return`HttpMethod.Head`;case`OPTIONS`:return`HttpMethod.Options`;default:return`new HttpMethod("${e}")`}}function ome(e,t,n){let r=t.headers||[],i=t.cookies||[],a=r.find(e=>e.name.toLowerCase()===`authorization`);if(a){let[t,n]=a.value.split(` `,2);t&&n&&e.push(`request.Headers.Authorization = new AuthenticationHeaderValue("${t}", "${n}");`)}else if(n?.auth?.username&&n?.auth?.password){let t=Bw(`${n.auth.username}:${n.auth.password}`);e.push(`request.Headers.Authorization = new AuthenticationHeaderValue("Basic", "${t}");`)}let o=new Map;for(let e of r){let t=e.name,n=e.value;t.toLowerCase()!==`authorization`&&o.set(t,n)}for(let[n,r]of o)if(n.toLowerCase()===`accept`&&cme(r))e.push(`request.Headers.Accept.Add(new MediaTypeWithQualityHeaderValue("${r}"));`);else if(n.toLowerCase()===`content-type`&&t.postData)continue;else e.push(`request.Headers.TryAddWithoutValidation("${n}", "${r}");`);if(i.length>0){let t=i.map(e=>`${e.name}=${e.value}`).join(`; `);e.push(`request.Headers.TryAddWithoutValidation("Cookie", "${t}");`)}}function sme(e,t){if(!t.postData)return;let{mimeType:n,text:r,params:i}=t.postData;if(n===`application/json`&&r)try{let t=JSON.parse(r),n=C3(JSON.stringify(t,null,2));e.push(`request.Content = new StringContent(`),e.push(`${n},`),e.push(`System.Text.Encoding.UTF8, "application/json");`)}catch{let t=C3(r);e.push(`request.Content = new StringContent(`),e.push(`${t},`),e.push(`System.Text.Encoding.UTF8, "application/json");`)}else if(n===`application/x-www-form-urlencoded`&&i){let t=i.map(e=>e.name);if(t.length!==new Set(t).size){e.push(`var formParams = new List<KeyValuePair<string, string>>`),e.push(`{`);for(let t of i)e.push(` new("${t.name}", "${t.value}"),`);e.push(`};`),e.push(`request.Content = new FormUrlEncodedContent(formParams);`)}else{e.push(`var formParams = new Dictionary<string, string>`),e.push(`{`);for(let t of i)e.push(` ["${t.name}"] = "${t.value}",`);e.push(`};`),e.push(`request.Content = new FormUrlEncodedContent(formParams);`)}}else if(n===`multipart/form-data`&&i){e.push(`var content = new MultipartFormDataContent();`);let t=0;for(let n of i)if(n.fileName!==void 0)if(n.contentType){let r=`fileContent${t++}`;e.push(`var ${r} = new StreamContent(File.OpenRead("${w3(n.fileName)}"));`),e.push(`${r}.Headers.ContentType = new MediaTypeHeaderValue("${n.contentType}");`),e.push(`content.Add(${r}, "${w3(n.name)}", "${w3(n.fileName)}");`)}else e.push(`content.Add(new StreamContent(File.OpenRead("${w3(n.fileName)}")), "${w3(n.name)}", "${w3(n.fileName)}");`);else if(n.contentType){let r=`stringContent${t++}`;e.push(`var ${r} = new StringContent("${w3(n.value??``)}");`),e.push(`${r}.Headers.ContentType = new MediaTypeHeaderValue("${n.contentType}");`),e.push(`content.Add(${r}, "${w3(n.name)}");`)}else e.push(`content.Add(new StringContent("${w3(n.value??``)}"), "${w3(n.name)}");`);e.push(`request.Content = content;`)}else if(n===`application/octet-stream`&&r)e.push(`var content = new ByteArrayContent(System.Text.Encoding.UTF8.GetBytes("`+r.replace(/"/g,`\\"`)+`"));`),e.push(`content.Headers.ContentType = new MediaTypeHeaderValue("application/octet-stream");`),e.push(`request.Content = content;`);else if(r){let t=C3(r);e.push(`request.Content = new StringContent(`),e.push(`${t},`),e.push(`System.Text.Encoding.UTF8, "${n}");`)}}function C3(e){let t=3;for(;e.includes(`"`.repeat(t));)t++;let n=`"`.repeat(t);return`${n}\n${e}\n${n}`}function w3(e){return e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`)}function cme(e){return/^[a-zA-Z0-9][a-zA-Z0-9!#$&\-\^_]*\/[a-zA-Z0-9][a-zA-Z0-9!#$&\-\^_]*(\s*;\s*[a-zA-Z0-9][a-zA-Z0-9!#$&\-\^_]*=.*)?$/.test(e)}var lme=e=>{if(!e)return!1;let{subtype:t}=Eo(e);return t===`json`||t.endsWith(`+json`)},ume=e=>`Method.${e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}`,T3=e=>e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`).replace(/\n/g,`\\n`).replace(/\r/g,`\\r`).replace(/\t/g,`\\t`),dme=e=>{let t=3;for(;e.includes(`"`.repeat(t));)t++;let n=`"`.repeat(t);return`${n}\n${e}\n${n}`},fme={target:`csharp`,client:`restsharp`,title:`RestSharp`,generate(e,t){let n={method:`GET`,url:``,...e};n.method=n.method.toUpperCase();let r=d3(n.url,n.queryString),i=``;try{i=new URL(r).host}catch{}let a=[];a.push(`var client = new RestClient("${T3(r)}");`),a.push(`var request = new RestRequest("", ${ume(n.method)});`);let{username:o,password:s}=t?.auth??{},c=!!(o&&s);if(c){let e=Bw(`${o}:${s}`);a.push(`request.AddHeader("Authorization", "Basic ${e}");`)}if(n.headers?.forEach(e=>{c&&e.name.toLowerCase()===`authorization`||a.push(`request.AddHeader("${T3(e.name)}", "${T3(e.value)}");`)}),n.cookies?.forEach(e=>{a.push(`request.AddCookie("${T3(e.name)}", "${T3(e.value)}", "/", "${T3(i)}");`)}),n.postData){let{mimeType:e,text:t,params:r}=n.postData,i=e?Eo(e).essence:void 0;if(lme(e)){if(t){let e=t;try{e=JSON.stringify(JSON.parse(t),null,2)}catch{}a.push(`request.AddStringBody(${dme(e)}, ContentType.Json);`)}}else i===`application/x-www-form-urlencoded`&&r?r.forEach(e=>{a.push(`request.AddParameter("${T3(e.name)}", "${T3(e.value??``)}");`)}):i===`multipart/form-data`&&r?r.forEach(e=>{e.fileName===void 0?a.push(`request.AddParameter("${T3(e.name)}", "${T3(e.value??``)}");`):e.contentType?a.push(`request.AddFile("${T3(e.name)}", "${T3(e.fileName)}", "${T3(e.contentType)}");`):a.push(`request.AddFile("${T3(e.name)}", "${T3(e.fileName)}");`)}):i===`application/octet-stream`&&t?a.push(`request.AddParameter("application/octet-stream", "${T3(t)}", ParameterType.RequestBody);`):t&&a.push(`request.AddParameter("${T3(e??``)}", "${T3(t)}", ParameterType.RequestBody);`)}return a.push(`var response = await client.ExecuteAsync(request);`),a.join(`
|
|
87
|
+
`)}},pme={target:`dart`,client:`http`,title:`Http`,generate(e,t){let n={method:`GET`,...e};n.method=n.method.toUpperCase();let r=`import 'package:http/http.dart' as http;
|
|
88
|
+
|
|
89
|
+
void main() async {
|
|
90
|
+
`,i=``,a=``;n.cookies&&n.cookies.length>0&&(a=n.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `),i=` "Cookie": "${a}",\n`);let o=n.headers?.reduce((e,t)=>(t.value&&!/[; ]/.test(t.name)&&(e[t.name]=t.value),e),{})||{};if(t?.auth){let{username:e,password:n}=t.auth;e&&n&&(o.Authorization=`'Basic ' + base64Encode(utf8.encode('${`${e}:${n}`}'))`)}if(i&&(o.Cookie=a),Object.keys(o).length>0){r+=` final headers = <String,String>{
|
|
91
|
+
`;for(let[e,t]of Object.entries(o))t.includes(`utf8.encode`)?r+=` '${e}': ${t},\n`:r+=` '${e}': '${t}',\n`;r+=` };
|
|
92
|
+
|
|
93
|
+
`}let s=n.queryString?.length?`?`+n.queryString.map(e=>`${e.name}=${e.value}`).join(`&`):``,c=`${n.url}${s}`,l=``;if(n.postData)if(n.postData.mimeType===`application/json`)l=` final body = r'${n.postData.text}';\n\n`;else if(n.postData.mimeType===`application/x-www-form-urlencoded`)l=` final body = '${n.postData.params?.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??``)}`).join(`&`)||``}';\n\n`;else if(n.postData.mimeType===`multipart/form-data`){l=` final body = <String,String>{
|
|
94
|
+
`;for(let e of n.postData.params||[]){let t=e.value||``,n=e.fileName||``;l+=` '${e.name}': '${n||t}',\n`}l+=` };
|
|
95
|
+
|
|
96
|
+
`}else n.postData.mimeType===`application/octet-stream`&&(l=` final body = '${n.postData.text}';\n\n`);l&&(r+=l);let u=n.method.toLowerCase(),d=Object.keys(o).length>0?`, headers: headers`:``;return r+=` final response = await http.${u}(Uri.parse('${c}')${d}${l?`, body: body`:``});\n`,r+=` print(response.body);
|
|
97
|
+
`,r+=`}`,r}},mme={target:`fsharp`,client:`httpclient`,title:`HttpClient`,generate:(e,t)=>{if(!e)return``;let n=gme(e.url,e.queryString),r=``;return r+=_me(e.method,n),e.headers&&e.headers.length>0&&(r+=vme(e.headers)),e.postData&&(r+=bme(e.postData)),e.cookies&&e.cookies.length>0&&e.url?(r+=yme(e.cookies,e.url),r+=`let client = new HttpClient(handler)
|
|
98
|
+
`):r+=`let client = new HttpClient()
|
|
99
|
+
`,r+=`let! result = client.SendAsync(httpRequestMessage)
|
|
100
|
+
`,r}};function hme(e){return!e||e.length===0?``:`?`+e.map(e=>`${e.name}=${e.value}`).join(`&`)}function gme(e,t){return e?!t||t.length===0?e:e+hme(t):``}function _me(e,t){return`let httpRequestMessage = new HttpRequestMessage(
|
|
101
|
+
HttpMethod("${e}"),
|
|
102
|
+
new Uri("${E3(t)}")
|
|
103
|
+
)\n\n`}function vme(e){let t=``;for(let n of e)t+=`httpRequestMessage.Headers.Add("${E3(n.name??``)}", "${E3(n.value??``)}")\n`;return t+=`
|
|
104
|
+
`,t}function yme(e,t){let n=`let cookieContainer = CookieContainer()
|
|
105
|
+
`;for(let r of e)n+=`cookieContainer.Add(Uri("${E3(t)}"), Cookie("${E3(r.name??``)}", "${E3(r.value??``)}"))\n`;return n+=`use handler = new HttpClientHandler()
|
|
106
|
+
`,n+=`handler.CookieContainer <- cookieContainer
|
|
107
|
+
|
|
108
|
+
`,n}function bme(e){if(!e)return``;let t=``;switch(e.mimeType){case`multipart/form-data`:t+=Sme(e);break;case`application/x-www-form-urlencoded`:t+=wme(e);break;case`application/json`:t+=Cme(e);break;default:t+=xme(e,e.mimeType);break}return t+=`httpRequestMessage.Content <- content
|
|
109
|
+
|
|
110
|
+
`,t}function xme(e,t){let n=`let content = new StringContent("${E3(e.text??``)}", Encoding.UTF8, "${E3(t??``)}")\n`;return n+=`content.Headers.ContentType <- MediaTypeHeaderValue("${E3(t??``)}")\n`,n}function Sme(e){let t=`let content = new MultipartFormDataContent()
|
|
111
|
+
`,n=0,r=0;for(let i of e.params)if(i.value===`BINARY`){let e=E3(i.fileName??``);t+=`let fileStreamContent_${n} = new StreamContent(File.OpenRead("${e}"))\n`,i.contentType&&(t+=`fileStreamContent_${n}.Headers.ContentType <- MediaTypeHeaderValue("${E3(i.contentType)}")\n`),t+=`content.Add(fileStreamContent_${n}, "${e}", "${e}")\n`,n++}else{let e=E3(i.name??``),n=E3(i.value??``);i.contentType?(t+=`let stringContent_${r} = new StringContent("${n}")\n`,t+=`stringContent_${r}.Headers.ContentType <- MediaTypeHeaderValue("${E3(i.contentType)}")\n`,t+=`content.Add(stringContent_${r}, "${e}")\n`,r++):t+=`content.Add(new StringContent("${n}"), "${e}")\n`}return t}function Cme(e){let t;try{t=JSON.stringify(JSON.parse(e.text??`{}`),null,2)}catch{t=e.text??`{}`}return`let content = new StringContent("""${t}""", Encoding.UTF8, "application/json")\n`}function wme(e){let t=`let formUrlEncodedContentDictionary = new Dictionary<string, string>()
|
|
112
|
+
`;for(let n of e.params)t+=`formUrlEncodedContentDictionary.Add("${E3(n.name??``)}", "${E3(n.value??``)}")\n`;return t+=`let content = new FormUrlEncodedContent(formUrlEncodedContentDictionary)
|
|
113
|
+
`,t}function E3(e){return e==null?``:e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`).replace(/\n/g,`\\n`).replace(/\r/g,`\\r`).replace(/\t/g,`\\t`)}var Tme=e=>e.includes(` `)?e:D3(e),D3=e=>JSON.stringify(e),Eme=e=>{if(e===void 0)return``;try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}},Dme=e=>!e.includes("`"),Ome=(e,t=!1)=>t&&Dme(e)?`\`${e}\``:D3(e),kme=e=>{let t=new Set;if(!e)return{imports:t,setupLines:[],requestBody:`nil`,needsMultipartContentTypeHeader:!1};if(e.mimeType===`application/x-www-form-urlencoded`&&e.params?.length)return t.add(`neturl "net/url"`),t.add(`strings`),{imports:t,setupLines:[`postData := neturl.Values{}`,...e.params.map(e=>`postData.Set(${D3(e.name)}, ${D3(e.value??``)})`)],requestBody:`strings.NewReader(postData.Encode())`,needsMultipartContentTypeHeader:!1};if(e.mimeType===`multipart/form-data`&&e.params?.length){t.add(`bytes`),t.add(`mime/multipart`);let n=[`payload := &bytes.Buffer{}`,`writer := multipart.NewWriter(payload)`],r=e.params.some(e=>e.fileName!==void 0),i=!1,a=!1;return r&&(t.add(`os`),t.add(`io`)),e.params.forEach(e=>{n.push(``),e.fileName===void 0?n.push(`_ = writer.WriteField(${D3(e.name)}, ${D3(e.value??``)})`):(n.push(`part, _ ${i?`=`:`:=`} writer.CreateFormFile(${D3(e.name)}, ${D3(e.fileName)})`),n.push(``),n.push(`f, _ ${a?`=`:`:=`} os.Open(${D3(e.fileName)})`),n.push(`defer f.Close()`),n.push(``),n.push(`_, _ = io.Copy(part, f)`),i=!0,a=!0)}),n.push(`writer.Close()`),{imports:t,setupLines:n,requestBody:`payload`,needsMultipartContentTypeHeader:!0}}return t.add(`strings`),{imports:t,setupLines:[`payload := strings.NewReader(${Ome(e.mimeType===`application/json`?Eme(e.text):e.text??``,e.mimeType===`application/json`)})`],requestBody:`payload`,needsMultipartContentTypeHeader:!1}},Ame=e=>Array.from(new Set([`fmt`,`io`,`net/http`,...e])).sort(),jme={target:`go`,client:`native`,title:`NewRequest`,generate(e,t){if(!e)return``;let n=l3(e.method),r=u3(d3(e.url??``,e.queryString)),i=f3(e.headers,e.cookies),a=kme(e.postData),o=[`package main`,``,`import (`,...Ame(a.imports).map(e=>`\t${Tme(e)}`),`)`,``,`func main() {`,`\trequestUrl := ${D3(r)}`,``,...a.setupLines.map(e=>e?`\t${e}`:``)];return a.setupLines.length&&o.push(``),o.push(`\treq, _ := http.NewRequest(${D3(n)}, requestUrl, ${a.requestBody})`),o.push(``),a.needsMultipartContentTypeHeader&&o.push(` req.Header.Set("Content-Type", writer.FormDataContentType())`),t?.auth?.username&&t?.auth?.password&&o.push(`\treq.SetBasicAuth(${D3(t.auth.username)}, ${D3(t.auth.password)})`),i.forEach(e=>{o.push(`\treq.Header.Add(${D3(e.name)}, ${D3(e.value)})`)}),(a.needsMultipartContentTypeHeader||i.length||t?.auth?.username&&t.auth.password)&&o.push(``),o.push(` res, _ := http.DefaultClient.Do(req)`),o.push(``),o.push(` defer res.Body.Close()`),o.push(` body, _ := io.ReadAll(res.Body)`),o.push(``),o.push(` fmt.Println(res)`),o.push(` fmt.Println(string(body))`),o.push(``),o.push(`}`),o.join(`
|
|
114
|
+
`)}},Mme={target:`http`,client:`http1.1`,title:`HTTP/1.1`,generate(e){let t={method:`GET`,headers:[],queryString:[],...e};t.method=t.method.toUpperCase();let n,r;try{n=new URL(t.url||`http://`),r=n.pathname+(n.search||``)}catch{r=t.url||`/`}let i=n?.hostname||`UNKNOWN_HOSTNAME`,a=`${t.method} ${r} HTTP/1.1\r\n`;if(t.queryString.length){let e=t.queryString.map(e=>`${e.name}=${e.value}`).join(`&`);a=`${t.method} ${r}?${e} HTTP/1.1\r\n`}let o=new Map;if(o.set(`Host`,i),t.headers.forEach(e=>{o.has(e.name)?o.set(e.name,`${o.get(e.name)}, ${e.value}`):o.set(e.name,e.value)}),t.queryString.length){let e=t.queryString.map(e=>`${e.name}=${e.value}`).join(`&`);a=`${t.method} ${r}?${e} HTTP/1.1\r\n`}let s=``;if(t.postData){if(t.postData.mimeType===`application/json`&&t.postData.text)o.set(`Content-Type`,`application/json`),s=t.postData.text;else if(t.postData.mimeType===`application/octet-stream`&&t.postData.text)o.set(`Content-Type`,`application/octet-stream`),s=t.postData.text;else if(t.postData.mimeType===`application/x-www-form-urlencoded`&&t.postData.params){let e=t.postData.params.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??``)}`).join(`&`);o.set(`Content-Type`,`application/x-www-form-urlencoded`),s=e}else if(t.postData.mimeType===`multipart/form-data`&&t.postData.params){let e=`----WebKitFormBoundary7MA4YWxkTrZu0gW`;o.set(`Content-Type`,`multipart/form-data; boundary=${e}`),s=t.postData.params.map(t=>{let n=t.contentType?`Content-Type: ${t.contentType}\r\n`:``;return t.fileName?`--${e}\r\nContent-Disposition: form-data; name="${t.name}"; filename="${t.fileName}"\r\n${n}\r\n`:`--${e}\r\nContent-Disposition: form-data; name="${t.name}"\r\n${n}\r\n${t.value??``}\r\n`}).join(``)+`--${e}--\r\n`}}return o.forEach((e,t)=>{a+=`${t}: ${e}\r\n`}),a+=`\r\n${s}`,a}},O3=``,k3=`
|
|
115
|
+
`,A3=class{postProcessors;code;indentationCharacter;lineJoin;indentLine;unshift;push;blank;join;addPostProcessor;constructor({indent:e,join:t}={}){this.postProcessors=[],this.code=[],this.indentationCharacter=O3,this.lineJoin=k3,this.indentLine=(e,t=0)=>`${this.indentationCharacter.repeat(t)}${e}`,this.unshift=(e,t)=>{let n=this.indentLine(e,t);this.code.unshift(n)},this.push=(e,t)=>{let n=this.indentLine(e,t);this.code.push(n)},this.blank=()=>{this.code.push(``)},this.join=()=>{let e=this.code.join(this.lineJoin);return this.postProcessors.reduce((e,t)=>t(e),e)},this.addPostProcessor=e=>{this.postProcessors=[...this.postProcessors,e]},this.indentationCharacter=e||O3,this.lineJoin=t??k3}};function j3(e,t={}){let{delimiter:n=`"`,escapeChar:r=`\\`,escapeNewlines:i=!0}=t;return[...e.toString()].map(e=>e===`\b`?`${r}b`:e===` `?`${r}t`:e===`
|
|
116
|
+
`?i?`${r}n`:e:e===`\f`?`${r}f`:e===`\r`?i?`${r}r`:e:e===r?r+r:e===n?r+n:e<` `||e>`~`?JSON.stringify(e).slice(1,-1):e).join(``)}var Nme=e=>j3(e,{delimiter:`'`}),M3=e=>j3(e,{delimiter:`"`}),Pme={info:{key:`asynchttp`,title:`AsyncHttp`,link:`https://github.com/AsyncHttpClient/async-http-client`,description:`Asynchronous Http and WebSocket Client library for Java`},convert:({method:e,allHeaders:t,postData:n,fullUrl:r},i)=>{let{blank:a,push:o,join:s}=new A3({indent:{indent:` `,...i}.indent});return o(`AsyncHttpClient client = new DefaultAsyncHttpClient();`),o(`client.prepare("${e.toUpperCase()}", "${r}")`),Object.keys(t).forEach(e=>{o(`.setHeader("${e}", "${M3(t[e])}")`,1)}),n?.text&&o(`.setBody(${JSON.stringify(n.text)})`,1),o(`.execute()`,1),o(`.toCompletableFuture()`,1),o(`.thenAccept(System.out::println)`,1),o(`.join();`,1),a(),o(`client.close();`),s()}};function N3(e,t){let n=new URL(t?.url??``),r=n.pathname===`/`?n.origin:n.toString(),i={method:t?.method??`GET`,url:r,httpVersion:`HTTP/1.1`,cookies:[],headers:t?.headers??[],headersSize:-1,bodySize:-1,queryString:Array.from(n.searchParams.entries()).map(([e,t])=>({name:e,value:t})),postData:t?.postData},a=(i?.headers??[]).reduce((e,t)=>({...e,[t.name]:t.value}),{}),o=m3(i.queryString),s=(i.cookies??[]).reduce((e,t)=>({...e,[t.name]:t.value}),{}),c=new URL(i.url),l={protocol:c.protocol,hostname:c.hostname,host:c.hostname,port:c.port,pathname:c.pathname.split(`/`).map(e=>encodeURIComponent(decodeURIComponent(e))).join(`/`)+c.search,path:c.pathname.split(`/`).map(e=>encodeURIComponent(decodeURIComponent(e))).join(`/`)+c.search,search:c.search,hash:c.hash,href:c.href,origin:c.origin,password:c.password,searchParams:c.searchParams,username:c.username,toString:c.toString,toJSON:()=>c.toJSON()},u={url:i.url,uriObj:l,method:i.method?.toLocaleUpperCase()??`GET`,httpVersion:i.httpVersion,cookies:i.cookies??[],headers:i.headers??[],headersSize:i.headersSize??0,headersObj:a??{},bodySize:i.bodySize??0,queryString:i.queryString??[],postData:i.postData?{mimeType:i.postData.mimeType??`application/json`,text:i.postData.text??``,params:i.postData.params??[],paramsObj:i.postData.params?.reduce((e,t)=>(t.name&&t.value!==void 0&&(e[t.name]=t.value),e),{})??{}}:void 0,allHeaders:a??{},fullUrl:i.url,queryObj:o??{},cookiesObj:s??{}};if(u.postData?.mimeType===`application/json`&&u.postData.text)try{u.postData.jsonObj=JSON.parse(u.postData.text)}catch(e){console.error(`Error parsing JSON:`,e)}return typeof e.convert==`function`?e.convert(u):``}var Fme={target:`java`,client:`asynchttp`,title:`AsyncHttp`,generate(e){return N3(Pme,e)}},Ime={info:{key:`nethttp`,title:`java.net.http`,link:`https://openjdk.java.net/groups/net/httpclient/intro.html`,description:`Java Standardized HTTP Client API`},convert:({allHeaders:e,fullUrl:t,method:n,postData:r},i)=>{let{push:a,join:o}=new A3({indent:{indent:` `,...i}.indent});return a(`HttpRequest request = HttpRequest.newBuilder()`),a(`.uri(URI.create("${t}"))`,2),Object.keys(e).forEach(t=>{a(`.header("${t}", "${M3(e[t])}")`,2)}),r?.text?a(`.method("${n.toUpperCase()}", HttpRequest.BodyPublishers.ofString(${JSON.stringify(r.text)}))`,2):a(`.method("${n.toUpperCase()}", HttpRequest.BodyPublishers.noBody())`,2),a(`.build();`,2),a(`HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());`),a(`System.out.println(response.body());`),o()}},Lme={target:`java`,client:`nethttp`,title:`java.net.http`,generate(e){return N3(Ime,e)}},Rme={info:{key:`okhttp`,title:`OkHttp`,link:`http://square.github.io/okhttp/`,description:`An HTTP Request Client Library`},convert:({postData:e,method:t,fullUrl:n,allHeaders:r},i)=>{let{push:a,blank:o,join:s}=new A3({indent:{indent:` `,...i}.indent});return a(`OkHttpClient client = new OkHttpClient();`),o(),e!=null&&(e.mimeType===`application/x-www-form-urlencoded`&&e.params?(a(`FormBody formBody = new FormBody.Builder()`),e.params.forEach(e=>{a(`.addEncoded("${e.name}", "${e.value}")`,1)}),a(`.build();`,1),o()):e.mimeType===`multipart/form-data`&&e.params?(a(`MultipartBody body = new MultipartBody.Builder()`),a(`.setType(MultipartBody.FORM)`,1),e.params.forEach(e=>{e.fileName===void 0?e.value!==void 0&&a(`.addFormDataPart("${e.name}", "${e.value}")`,1):a(`.addFormDataPart("${e.name}", "${e.fileName}", RequestBody.create(MediaType.parse("application/octet-stream"), new File("${e.fileName}")))`,1)}),a(`.build();`,1),o()):(a(`MediaType mediaType = MediaType.parse("${e.mimeType}");`),a(`RequestBody body = RequestBody.create(mediaType, ${JSON.stringify(e.text)});`))),a(`Request request = new Request.Builder()`),a(`.url("${n}")`,1),[`GET`,`POST`,`PUT`,`DELETE`,`PATCH`,`HEAD`].includes(t.toUpperCase())?[`POST`,`PUT`,`DELETE`,`PATCH`].includes(t.toUpperCase())?e!=null&&(e.text||e.params)?a(`.${t.toLowerCase()}(body)`,1):a(`.${t.toLowerCase()}(null)`,1):a(`.${t.toLowerCase()}()`,1):e?.text?a(`.method("${t.toUpperCase()}", body)`,1):a(`.method("${t.toUpperCase()}", null)`,1),Object.keys(r).forEach(e=>{a(`.addHeader("${e}", "${M3(r[e])}")`,1)}),a(`.build();`,1),o(),a(`Response response = client.newCall(request).execute();`),s()}},zme={target:`java`,client:`okhttp`,title:`OkHttp`,generate(e){return N3(Rme,e)}},Bme={info:{key:`unirest`,title:`Unirest`,link:`http://unirest.io/java.html`,description:`Lightweight HTTP Request Client Library`},convert:({method:e,allHeaders:t,postData:n,fullUrl:r},i)=>{let{join:a,push:o}=new A3({indent:{indent:` `,...i}.indent});return[`GET`,`POST`,`PUT`,`DELETE`,`PATCH`,`HEAD`,`OPTIONS`].includes(e.toUpperCase())?o(`HttpResponse<String> response = Unirest.${e.toLowerCase()}("${r}")`):o(`HttpResponse<String> response = Unirest.customMethod("${e.toUpperCase()}","${r}")`),Object.keys(t).forEach(e=>{o(`.header("${e}", "${M3(t[e])}")`,1)}),n?.text&&o(`.body(${JSON.stringify(n.text)})`,1),o(`.asString();`,1),a()}},Vme={target:`java`,client:`unirest`,title:`Unirest`,generate(e){return N3(Bme,e)}};function Hme(e){return!/^[$A-Z_][0-9A-Z_$]*$/i.test(e)}function Ume(e){return e.replaceAll(`\\`,`\\\\`).replaceAll(`
|
|
117
|
+
`,`\\n`).replaceAll(`\r`,`\\r`).replaceAll(`'`,`\\'`)}var P3=class{value;constructor(e){this.value=e}};function F3(e,t=0){let n=[],r=` `.repeat(t),i=` `.repeat(t+2);if(Object.keys(e).length===0)return`{}`;for(let[r,a]of Object.entries(e)){let e=Hme(r)?`'${Ume(r)}'`:r;if(a instanceof P3){let t=a.value.split(`
|
|
118
|
+
`),r=`${a.value}`;t.length>1&&(r=t.map((e,t)=>t===0?e:`${i}${e}`).join(`
|
|
119
|
+
`)),n.push(`${i}${e}: ${r}`)}else if(Array.isArray(a)){let r=a.map(e=>typeof e==`string`?`'${e}'`:e&&typeof e==`object`?F3(e):JSON.stringify(e));if(r.some(e=>e.includes(`
|
|
120
|
+
`))){let a=r.map(e=>Wme(e,t+4)).join(`,
|
|
121
|
+
`);n.push(`${i}${e}: [\n${a}\n${i}]`)}else n.push(`${i}${e}: [${r.join(`, `)}]`)}else if(a&&typeof a==`object`)n.push(`${i}${e}: ${F3(a,t+2)}`);else if(typeof a==`string`){let t=`'${a}'`;n.push(`${i}${e}: ${t}`)}else n.push(`${i}${e}: ${a}`)}return`{\n${n.join(`,
|
|
122
|
+
`)}\n${r}}`}function Wme(e,t){let n=` `.repeat(t);return e.split(`
|
|
123
|
+
`).map(e=>`${n}${e}`).join(`
|
|
124
|
+
`)}var I3=e=>e.replaceAll(`\\`,`\\\\`).replaceAll(`
|
|
125
|
+
`,`\\n`).replaceAll(`\r`,`\\r`).replaceAll(`'`,`\\'`),L3=e=>typeof e==`string`?I3(e):Array.isArray(e)?e.map(e=>L3(e)):e&&typeof e==`object`&&!(e instanceof P3)?Object.entries(e).reduce((e,[t,n])=>(e[t]=L3(n),e),{}):e,R3=(e,t,n)=>{if(n===``){e[t]=n;return}p3(e,t,n)},Gme=e=>{let t={};return e?.headers?.forEach(e=>{R3(t,e.name,e.value)}),e?.cookies?.length&&R3(t,`Cookie`,e.cookies.map(e=>`${e.name}=${e.value}`).join(`; `)),Object.keys(t).length?t:void 0},Kme=e=>{let t=[],n=e?.postData;if(!n)return{setup:t};if(n.mimeType===`application/json`){if(!n.text)return{setup:t};try{return{setup:t,data:JSON.parse(n.text)}}catch{return{setup:t,data:n.text}}}return n.mimeType===`application/x-www-form-urlencoded`&&n.params?.length?(t.push(`const encodedParams = new URLSearchParams()`),n.params.forEach(e=>{let n=I3(e.name),r=I3(e.value??``);t.push(`encodedParams.append('${n}', '${r}')`)}),{setup:t,data:new P3(`encodedParams`)}):n.mimeType===`multipart/form-data`&&n.params?.length?(t.push(`const formData = new FormData()`),n.params.forEach(e=>{let n=I3(e.name);if(e.fileName!==void 0){let r=I3(e.fileName),i=e.contentType?`, { type: '${I3(e.contentType)}' }`:``;t.push(`formData.append('${n}', new Blob([]${i}), '${r}')`);return}if(e.contentType){let r=I3(e.contentType),i=I3(e.value??``);t.push(`formData.append('${n}', new Blob(['${i}'], { type: '${r}' }))`);return}let r=I3(e.value??``);t.push(`formData.append('${n}', '${r}')`)}),{setup:t,data:new P3(`formData`)}):n.text?{setup:t,data:n.text}:{setup:t}},z3=e=>({target:e,client:`axios`,title:`Axios`,generate(e,t){let n={method:`GET`,...e};n.method=n.method.toUpperCase();let r={method:n.method,url:I3(n.url??``)},i=m3(n.queryString);Object.keys(i).length&&(r.params=L3(i));let a=Gme(n);a&&(r.headers=L3(a)),t?.auth?.username&&t?.auth?.password&&(r.auth={username:I3(t.auth.username),password:I3(t.auth.password)});let{setup:o,data:s}=Kme(n);return s!==void 0&&(r.data=s instanceof P3?s:L3(s)),`import axios from 'axios'
|
|
126
|
+
|
|
127
|
+
${o.length?`${o.join(`
|
|
128
|
+
`)}\n\n`:``}const options = ${F3(r)}
|
|
129
|
+
|
|
130
|
+
try {
|
|
131
|
+
const { data } = await axios.request(options)
|
|
132
|
+
console.log(data)
|
|
133
|
+
} catch (error) {
|
|
134
|
+
console.error(error)
|
|
135
|
+
}`}}),qme=z3(`js`),Jme={target:`js`,client:`fetch`,title:`Fetch`,generate(e){let t={method:`GET`,...e},n=``;t.method=t.method.toUpperCase();let r={method:t.method===`GET`?void 0:t.method},i=c3(t.queryString);if(t.headers?.length&&(r.headers={},t.headers.forEach(e=>{r.headers[e.name]=e.value})),t.cookies?.length&&(r.headers=r.headers||{},t.cookies.forEach(e=>{r.headers[`Set-Cookie`]=r.headers[`Set-Cookie`]?`${r.headers[`Set-Cookie`]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`})),Object.keys(r).forEach(e=>{r[e]===void 0&&delete r[e]}),t.postData){let{mimeType:e,text:i,params:a}=t.postData;if(e===`application/json`&&i)try{r.body=new P3(`JSON.stringify(${F3(JSON.parse(i))})`)}catch{r.body=i}else e===`multipart/form-data`&&a?(n=`const formData = new FormData()
|
|
136
|
+
`,a.forEach(e=>{e.fileName===void 0?e.value!==void 0&&(n+=`formData.append('${e.name}', '${e.value}')\n`):n+=`formData.append('${e.name}', new Blob([]), '${e.fileName}')\n`}),n+=`
|
|
137
|
+
`,r.body=new P3(`formData`)):e===`application/x-www-form-urlencoded`&&a?r.body=new P3(`new URLSearchParams(${F3(Object.fromEntries(a.map(e=>[e.name,e.value])))})`):r.body=t.postData.text}let a=Object.keys(r).length?`, ${F3(r)}`:``;return`${n}fetch('${t.url}${i}'${a})`}},{toString:Yme}=Object.prototype;function Xme(e){return Yme.call(e)===`[object RegExp]`}function Zme(e){let t=typeof e;return e!==null&&(t===`object`||t===`function`)}var{propertyIsEnumerable:Qme}=Object.prototype;function $me(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>Qme.call(e,t))]}var ehe=`await.break.case.catch.class.const.continue.debugger.default.delete.do.else.enum.export.extends.false.finally.for.function.if.import.in.instanceof.new.null.return.super.switch.this.throw.true.try.typeof.var.void.while.with.yield.implements.interface.let.package.private.protected.public.static.arguments.eval`.split(`.`),the=[`globalThis`,`Infinity`,`NaN`,`undefined`];function nhe({includeGlobalProperties:e=!1}={}){return new Set([...ehe,...e?the:[]])}var rhe=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}]*/u,B3=`(?<![@#$_\\p{ID_Continue}\\p{ID_Start}])(?!(?:${[...nhe({includeGlobalProperties:!0})].join(`|`)})(?![$_\\p{ID_Continue}]))${rhe.source}`,ihe=new RegExp(B3,`u`),ahe=RegExp(`^${B3}$`,`u`);function ohe({exact:e=!0}={}){return e?ahe:ihe}function she(e){let t=(...t)=>e(...t);return Object.defineProperty(t,"name",{value:`functionTimeout(${e.name||`<anonymous>`})`,configurable:!0}),t}function che(){return!1}var V3=i(e(((e,t)=>{t.exports=Worker}))(),1),lhe=class extends Error{constructor(e){super(e),this.name=`TimeoutError`}},uhe=class extends Error{constructor(e){super(),this.name=`AbortError`,this.message=e}},H3=e=>globalThis.DOMException===void 0?new uhe(e):new DOMException(e),U3=e=>{let t=e.reason===void 0?H3(`This operation was aborted.`):e.reason;return t instanceof Error?t:H3(t)};function dhe(e,t){let{milliseconds:n,fallback:r,message:i,customTimers:a={setTimeout,clearTimeout}}=t,o,s,c=new Promise((c,l)=>{if(typeof n!=`number`||Math.sign(n)!==1)throw TypeError(`Expected \`milliseconds\` to be a positive number, got \`${n}\``);if(t.signal){let{signal:e}=t;e.aborted&&l(U3(e)),s=()=>{l(U3(e))},e.addEventListener(`abort`,s,{once:!0})}if(n===1/0){e.then(c,l);return}let u=new lhe;o=a.setTimeout.call(void 0,()=>{if(r){try{c(r())}catch(e){l(e)}return}typeof e.cancel==`function`&&e.cancel(),i===!1?c():i instanceof Error?l(i):(u.message=i??`Promise timed out after ${n} milliseconds`,l(u))},n),(async()=>{try{c(await e)}catch(e){l(e)}})()}).finally(()=>{c.clear(),s&&t.signal&&t.signal.removeEventListener(`abort`,s)});return c.clear=()=>{a.clearTimeout.call(void 0,o),o=void 0},c}var fhe=e=>{let t=e.addEventListener||e.on||e.addListener,n=e.removeEventListener||e.off||e.removeListener;if(!t||!n)throw TypeError(`Emitter is not compatible`);return{addListener:t.bind(e),removeListener:n.bind(e)}};function phe(e,t,n){let r,i=new Promise((i,a)=>{if(n={rejectionEvents:[`error`],multiArgs:!1,resolveImmediately:!1,...n},!(n.count>=0&&(n.count===1/0||Number.isInteger(n.count))))throw TypeError("The `count` option should be at least 0 or more");n.signal?.throwIfAborted();let o=[t].flat(),s=[],{addListener:c,removeListener:l}=fhe(e),u=(...e)=>{let t=n.multiArgs?e:e[0];n.filter&&!n.filter(t)||(s.push(t),n.count===s.length&&(r(),i(s)))},d=e=>{r(),a(e)};r=()=>{for(let e of o)l(e,u);for(let e of n.rejectionEvents)l(e,d)};for(let e of o)c(e,u);for(let e of n.rejectionEvents)c(e,d);n.signal&&n.signal.addEventListener(`abort`,()=>{d(n.signal.reason)},{once:!0}),n.resolveImmediately&&i(s)});if(i.cancel=r,typeof n.timeout==`number`){let e=dhe(i,{milliseconds:n.timeout});return e.cancel=r,e}return i}function W3(e,t,n){typeof n==`function`&&(n={filter:n}),n={...n,count:1,resolveImmediately:!1};let r=phe(e,t,n),i=r.then(e=>e[0]);return i.cancel=r.cancel,i}var mhe=!!globalThis.process?.versions?.node,hhe=e=>new globalThis.Blob([e],{type:`text/javascript`}),ghe=e=>`data:text/javascript;base64,${globalThis.Buffer.from(e).toString(`base64`)}`;function G3(e){let t,n;return mhe?n=new V3.default(ghe(e),{type:`module`}):(t=URL.createObjectURL(hhe(e)),n=new V3.default(t,{type:`module`})),{worker:n,cleanup:()=>{t&&URL.revokeObjectURL(t),n?.terminate()}}}var _he=e=>`
|
|
138
|
+
globalThis.onmessage = async ({data: arguments_}) => {
|
|
139
|
+
try {
|
|
140
|
+
const output = await (${e.toString()})(...arguments_);
|
|
141
|
+
globalThis.postMessage({output});
|
|
142
|
+
} catch (error) {
|
|
143
|
+
globalThis.postMessage({error});
|
|
144
|
+
}
|
|
145
|
+
};
|
|
146
|
+
`;function K3(e){let t=_he(e),n=()=>G3(t);async function r({worker:e,arguments_:t}){let n=W3(e,`message`,{rejectionEvents:[`error`,`messageerror`]});e.postMessage(t);let{data:{output:r,error:i}}=await n;if(i)throw i;return r}let i=async(...e)=>{let{worker:t,cleanup:i}=n();try{return await r({arguments_:e,worker:t})}finally{i()}};return i.withSignal=e=>async(...t)=>{e.throwIfAborted();let{worker:i,cleanup:a}=n(),o=W3(e,[],{rejectionEvents:[`abort`]});try{return await Promise.race([r({arguments_:t,worker:i}),o])}catch(t){throw e.throwIfAborted(),t}finally{o.cancel(),a()}},i}var vhe=e=>`
|
|
147
|
+
const nothing = Symbol('nothing');
|
|
148
|
+
let iterator = nothing;
|
|
149
|
+
|
|
150
|
+
globalThis.onmessage = async ({data: arguments_}) => {
|
|
151
|
+
try {
|
|
152
|
+
if (iterator === nothing) {
|
|
153
|
+
iterator = await (${e.toString()})(...arguments_);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
const output = await iterator.next();
|
|
157
|
+
globalThis.postMessage({output});
|
|
158
|
+
} catch (error) {
|
|
159
|
+
globalThis.postMessage({error});
|
|
160
|
+
}
|
|
161
|
+
};
|
|
162
|
+
`;function yhe(e){let t=vhe(e),n=()=>G3(t),r=(...e)=>({async*[Symbol.asyncIterator](){let{worker:t,cleanup:r}=n();try{let n=!0;for(;;){let r=W3(t,`message`,{rejectionEvents:[`error`,`messageerror`]});t.postMessage(n?e:void 0),n=!1;let{data:{output:i,error:a}}=await r;if(a)throw a;let{value:o,done:s}=i;if(s)break;yield o}}finally{r()}}});return r.withSignal=e=>(...t)=>({async*[Symbol.asyncIterator](){e.throwIfAborted();let{worker:r,cleanup:i}=n(),a=W3(e,[],{rejectionEvents:[`abort`]});try{let e=!0;for(;;){let n=Promise.race([W3(r,`message`,{rejectionEvents:[`error`,`messageerror`]}),a]);r.postMessage(e?t:void 0),e=!1;let{data:{output:i,error:o}}=await n;if(o)throw o;let{value:s,done:c}=i;if(c)break;yield s}}catch(t){throw e.throwIfAborted(),t}finally{a.cancel(),i()}}}),r}var bhe={},xhe=e=>{if(e===void 0||Number.isNaN(e))return;let t=Math.max(1,Math.trunc(Math.abs(e)));if(Number.isFinite(t))return t};function She(e,t,{timeout:n,throwOnTimeout:r}={}){try{return she(()=>structuredClone(e).test(t),{timeout:xhe(n),context:bhe})()}catch(e){if(che(e)&&!r)return!1;throw e}}K3((e,t,n)=>new RegExp(e,t).test(n)),K3((e,t,n)=>{let r=new RegExp(e,t).exec(n);if(r!==null)return{match:r[0],index:r.index,groups:r.slice(1),namedGroups:r.groups??{},input:r.input}}),yhe(function*(e,t,n){let r=new RegExp(e,t),i=n.matchAll(r);for(let e of i)yield{match:e[0],index:e.index,groups:e.slice(1),namedGroups:e.groups??{},input:e.input}});var Che=ohe();function whe(e){if(typeof e!=`string`)throw TypeError(`Expected a string, got \`${typeof e}\`.`);return e.length>1e5?!1:She(Che,e,{timeout:1e3})}var The={"\n":String.raw`\n`,"\r":String.raw`\r`," ":String.raw`\t`,"\b":String.raw`\b`,"\f":String.raw`\f`,"\v":String.raw`\v`,"\0":String.raw`\0`};function q3(e,t,n){let r=[];return(function e(t,n={},i=``){let a=n.indent||` `,o;o=n.inlineCharacterLimit===void 0?{newline:`
|
|
163
|
+
`,newlineOrSpace:`
|
|
164
|
+
`,pad:i,indent:i+a}:{newline:`@@__STRINGIFY_OBJECT_NEW_LINE__@@`,newlineOrSpace:`@@__STRINGIFY_OBJECT_NEW_LINE_OR_SPACE__@@`,pad:`@@__STRINGIFY_OBJECT_PAD__@@`,indent:`@@__STRINGIFY_OBJECT_INDENT__@@`};let s=e=>{if(n.inlineCharacterLimit===void 0)return e;let t=e.replaceAll(o.newline,``).replaceAll(o.newlineOrSpace,` `).replaceAll(o.pad,``).replaceAll(o.indent,``);return t.length<=n.inlineCharacterLimit?t:e.replaceAll(o.newline,`
|
|
165
|
+
`).replaceAll(o.newlineOrSpace,`
|
|
166
|
+
`).replaceAll(o.pad,i).replaceAll(o.indent,i+a)};if(r.includes(t))return`"[Circular]"`;let c=typeof t;if(t==null||c===`number`||c===`boolean`||c===`function`||Xme(t))return String(t);if(c===`bigint`)return String(t)+`n`;if(c===`symbol`){let{description:r}=t;if(r===void 0)return`Symbol()`;if(r?.startsWith(`Symbol.`)&&Symbol[r.slice(7)]===t)return r;let i=Symbol.keyFor(t);return i===void 0?`Symbol(${e(r,n)})`:`Symbol.for(${e(i,n)})`}if(t instanceof Date)return Number.isNaN(t.getTime())?`new Date('Invalid Date')`:`new Date('${t.toISOString()}')`;if(t instanceof Map||t instanceof Set){let c=t instanceof Map,l=c?`Map`:`Set`;if(t.size===0)return`new ${l}()`;r.push(t);let u=[...t].map(t=>{if(c){let[r,s]=t;return o.indent+`[${e(r,n,i+a)}, ${e(s,n,i+a)}]`}return o.indent+e(t,n,i+a)}).join(`,`+o.newlineOrSpace);return r.pop(),s(`new ${l}([${o.newline}${u}${o.newline}${o.pad}])`)}if(Array.isArray(t)){if(t.length===0)return`[]`;r.push(t);let c=t.map((r,s)=>{let c=e(r,n,i+a);return n.transform&&(c=n.transform(t,s,c)),o.indent+c}).join(`,`+o.newlineOrSpace);return r.pop(),s(`[${o.newline}${c}${o.newline}${o.pad}]`)}if(Zme(t)){let c=$me(t);if(n.filter&&(c=c.filter(e=>n.filter(t,e))),c.length===0)return`{}`;r.push(t);let l=c.map(r=>{let s=typeof r==`symbol`,c;c=s?`[${e(r,n)}]`:whe(r)?r:e(r,n);let l=e(t[r],n,i+a);return n.transform&&(l=n.transform(t,r,l)),o.indent+c+`: `+l}).join(`,`+o.newlineOrSpace);return r.pop(),s(`{${o.newline}${l}${o.newline}${o.pad}}`)}let l=String(t).replaceAll(`\\`,`\\\\`).replaceAll(/[\u0000-\u001F\u007F]/g,e=>The[e]??`\\u${e.codePointAt(0).toString(16).padStart(4,`0`)}`);return n.singleQuotes===!1?`"${l.replaceAll(`"`,String.raw`\"`)}"`:`'${l.replaceAll(`'`,String.raw`\'`)}'`})(e,t,n)}var J3=(e,t)=>Object.keys(e).find(e=>e.toLowerCase()===t.toLowerCase()),Y3=(e,t)=>{let n=J3(e,t);if(n)return e[n]},X3=(e,t)=>!!J3(e,t),Ehe={info:{key:`jquery`,title:`jQuery`,link:`http://api.jquery.com/jquery.ajax/`,description:`Perform an asynchronous HTTP (Ajax) requests with jQuery`},convert:({fullUrl:e,method:t,allHeaders:n,postData:r},i)=>{let a={indent:` `,...i},{blank:o,push:s,join:c}=new A3({indent:a.indent}),l={async:!0,crossDomain:!0,url:e,method:t,headers:n};switch(r?.mimeType){case`application/x-www-form-urlencoded`:l.data=r?.paramsObj?r.paramsObj:r.text;break;case`application/json`:l.processData=!1,l.data=r.text;break;case`multipart/form-data`:if(!r?.params)break;if(s(`const form = new FormData();`),r.params.forEach(e=>{s(`form.append('${e.name}', '${e.value||e.fileName||``}');`)}),l.processData=!1,l.contentType=!1,l.mimeType=`multipart/form-data`,l.data=`[form]`,X3(n,`content-type`)&&Y3(n,`content-type`)?.includes(`boundary`)){let e=J3(n,`content-type`);e&&delete l.headers[e]}o();break;default:r?.text&&(l.data=r.text)}return s(`const settings = ${q3(l,{indent:a.indent}).replace(`'[form]'`,`form`)};`),o(),s(`$.ajax(settings).done(function (response) {`),s(`console.log(response);`,1),s(`});`),c()}},Dhe={target:`js`,client:`jquery`,title:`jQuery`,generate(e){return N3(Ehe,e)}},Ohe={target:`js`,client:`ofetch`,title:`ofetch`,generate(e){let t={method:`GET`,...e};t.method=t.method.toUpperCase();let n={method:t.method===`GET`?void 0:t.method};t.queryString?.length&&(n.query=m3(t.queryString)),t.headers?.length&&(n.headers={},t.headers.forEach(e=>{n.headers[e.name]=e.value})),t.cookies?.length&&(n.headers=n.headers||{},t.cookies.forEach(e=>{n.headers[`Set-Cookie`]=n.headers[`Set-Cookie`]?`${n.headers[`Set-Cookie`]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`})),Object.keys(n).forEach(e=>{n[e]===void 0&&delete n[e]}),t.postData&&(n.body=t.postData.text,t.postData.mimeType===`application/json`&&(n.body=JSON.parse(n.body)));let r=Object.keys(n).length?`, ${F3(n)}`:``;return`import { ofetch } from 'ofetch'
|
|
167
|
+
|
|
168
|
+
ofetch('${t.url}'${r})`}},khe={info:{key:`xhr`,title:`XMLHttpRequest`,link:`https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest`,description:`W3C Standard API that provides scripted client functionality`},convert:({postData:e,allHeaders:t,method:n,fullUrl:r},i)=>{let a={indent:` `,cors:!0,...i},{blank:o,push:s,join:c}=new A3({indent:a.indent});switch(e?.mimeType){case`application/json`:s(`const data = JSON.stringify(${q3(e?.jsonObj,{indent:a.indent})});`),o();break;case`multipart/form-data`:if(!e?.params)break;if(s(`const data = new FormData();`),e.params.forEach(e=>{s(`data.append('${e.name}', '${e.value||e.fileName||``}');`)}),X3(t,`content-type`)&&Y3(t,`content-type`)?.includes(`boundary`)){let e=J3(t,`content-type`);e&&delete t[e]}o();break;default:s(`const data = ${e?.text?`'${e.text}'`:`null`};`),o()}return s(`const xhr = new XMLHttpRequest();`),a.cors&&s(`xhr.withCredentials = true;`),o(),s(`xhr.addEventListener('readystatechange', function () {`),s(`if (this.readyState === this.DONE) {`,1),s(`console.log(this.responseText);`,2),s(`}`,1),s(`});`),o(),s(`xhr.open('${n}', '${r}');`),Object.keys(t).forEach(e=>{s(`xhr.setRequestHeader('${e}', '${Nme(t[e])}');`)}),o(),s(`xhr.send(data);`),c()}},Ahe={target:`js`,client:`xhr`,title:`XHR`,generate(e){return N3(khe,e)}},jhe=[`GET`,`POST`,`PUT`,`DELETE`,`PATCH`,`HEAD`],Mhe=[`POST`,`PUT`,`DELETE`,`PATCH`],Z3=e=>`"${M3(e)}"`,Nhe={target:`kotlin`,client:`okhttp`,title:`OkHttp`,generate(e,t){let n=l3(e?.method),r=u3(d3(e?.url??``,e?.queryString)),i=e?.postData,a=[`val client = OkHttpClient()`,``],o=!1;i?.mimeType===`application/x-www-form-urlencoded`&&i.params?(a.push(`val body = FormBody.Builder()`),i.params.forEach(e=>{a.push(` .addEncoded(${Z3(e.name??``)}, ${Z3(e.value??``)})`)}),a.push(` .build()`,``),o=!0):i?.mimeType===`multipart/form-data`&&i.params?(a.push(`val body = MultipartBody.Builder()`,` .setType(MultipartBody.FORM)`),i.params.forEach(e=>{e.fileName===void 0?e.value!==void 0&&a.push(` .addFormDataPart(${Z3(e.name??``)}, ${Z3(e.value)})`):a.push(` .addFormDataPart(${Z3(e.name??``)}, ${Z3(e.fileName)}, RequestBody.create(MediaType.parse("application/octet-stream"), File(${Z3(e.fileName)})))`)}),a.push(` .build()`,``),o=!0):i&&(a.push(`val mediaType = MediaType.parse(${Z3(i.mimeType??``)})`),a.push(`val body = RequestBody.create(mediaType, ${JSON.stringify(i.text??``)})`),o=!0),a.push(`val request = Request.Builder()`,` .url(${Z3(r)})`);let s=o?`body`:`null`;return jhe.includes(n)?Mhe.includes(n)?a.push(` .${n.toLowerCase()}(${s})`):a.push(` .${n.toLowerCase()}()`):a.push(` .method(${Z3(n)}, ${s})`),t?.auth?.username&&t?.auth?.password&&a.push(` .addHeader("Authorization", Credentials.basic(${Z3(t.auth.username)}, ${Z3(t.auth.password)}))`),f3(e?.headers,e?.cookies).forEach(e=>{a.push(` .addHeader(${Z3(e.name)}, ${Z3(e.value)})`)}),a.push(` .build()`,``,`val response = client.newCall(request).execute()`),a.join(`
|
|
169
|
+
`)}},Phe=z3(`node`),Fhe={target:`node`,client:`fetch`,title:`Fetch`,generate(e){let t={method:`GET`,...e},n=``;t.method=t.method.toUpperCase();let r={method:t.method===`GET`?void 0:t.method},i=c3(t.queryString);if(t.headers?.length&&(r.headers={},t.headers.forEach(e=>{r.headers[e.name]=e.value})),t.cookies?.length&&(r.headers=r.headers||{},t.cookies.forEach(e=>{r.headers[`Set-Cookie`]=r.headers[`Set-Cookie`]?`${r.headers[`Set-Cookie`]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`})),Object.keys(r).forEach(e=>{r[e]===void 0&&delete r[e]}),t.postData){let{mimeType:e,text:i,params:a}=t.postData,o=!1;if(e===`application/json`&&i)try{r.body=new P3(`JSON.stringify(${F3(JSON.parse(i))})`)}catch{r.body=i}else e===`multipart/form-data`&&a?(n=`const formData = new FormData()
|
|
170
|
+
`,a.forEach(e=>{e.fileName===void 0?e.value!==void 0&&(n+=`formData.append('${e.name}', '${e.value}')\n`):(o||=(n=`import fs from 'node:fs'\n\n${n}`,!0),n+=`formData.append('${e.name}', new Blob([fs.readFileSync('${e.fileName}')]), '${e.fileName}')\n`)}),n+=`
|
|
171
|
+
`,r.body=new P3(`formData`)):e===`application/x-www-form-urlencoded`&&a?r.body=new P3(`new URLSearchParams(${F3(Object.fromEntries(a.map(e=>[e.name,e.value])))})`):r.body=t.postData.text}let a=Object.keys(r).length?`, ${F3(r)}`:``;return`${n}fetch('${t.url}${i}'${a})`}},Ihe={target:`node`,client:`ofetch`,title:`ofetch`,generate(e){let t={method:`GET`,...e};t.method=t.method.toUpperCase();let n={method:t.method===`GET`?void 0:t.method};t.queryString?.length&&(n.query=m3(t.queryString)),t.headers?.length&&(n.headers={},t.headers.forEach(e=>{n.headers[e.name]=e.value})),t.cookies?.length&&(n.headers=n.headers||{},t.cookies.forEach(e=>{n.headers[`Set-Cookie`]=n.headers[`Set-Cookie`]?`${n.headers[`Set-Cookie`]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`})),Object.keys(n).forEach(e=>{n[e]===void 0&&delete n[e]}),t.postData&&(n.body=t.postData.text,t.postData.mimeType===`application/json`&&(n.body=JSON.parse(n.body)));let r=Object.keys(n).length?`, ${F3(n)}`:``;return`import { ofetch } from 'ofetch'
|
|
172
|
+
|
|
173
|
+
ofetch('${t.url}'${r})`}},Lhe={target:`node`,client:`undici`,title:`undici`,generate(e){let t={method:`GET`,...e};t.method=t.method.toUpperCase();let n={method:t.method===`GET`?void 0:t.method},r=c3(t.queryString);t.headers?.length&&(n.headers={},t.headers.forEach(e=>{n.headers[e.name]=e.value})),t.cookies?.length&&(n.headers=n.headers||{},t.cookies.forEach(e=>{n.headers[`Set-Cookie`]=n.headers[`Set-Cookie`]?`${n.headers[`Set-Cookie`]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`})),Object.keys(n).forEach(e=>{n[e]===void 0&&delete n[e]}),t.postData&&(n.body=t.postData.text,t.postData.mimeType===`application/json`&&(n.body=new P3(`JSON.stringify(${F3(JSON.parse(n.body))})`)));let i=Object.keys(n).length?`, ${F3(n)}`:``;return`import { request } from 'undici'
|
|
174
|
+
|
|
175
|
+
const { statusCode, body } = await request('${t.url}${r}'${i})`}},Rhe=`---011000010111000001101001`,Q3=e=>`@"${e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`).replace(/\n/g,`\\n`).replace(/\r/g,`\\r`).replace(/\t/g,`\\t`)}"`,$3=(e,t)=>{let n=t===void 0?`, `:`,\n ${` `.repeat(t)}`;switch(Object.prototype.toString.call(e)){case`[object Number]`:return`@${e}`;case`[object Array]`:return`@[ ${e.map(e=>$3(e)).join(n)} ]`;case`[object Object]`:return`@{ ${Object.entries(e).map(([e,t])=>`@"${e}": ${$3(t)}`).join(n)} }`;case`[object Boolean]`:return e?`@YES`:`@NO`;default:return e==null?`[NSNull null]`:Q3(e.toString())}},e6=(e,t,n)=>{let r=`${e} *${t} = `;return`${r}${$3(n,r.length)};`},zhe={target:`objc`,client:`nsurlsession`,title:`NSURLSession`,generate(e,t){if(!e)return``;let n=l3(e.method),r=u3(d3(e.url??``,e.queryString)),i=f3(e.headers,e.cookies),a=[`#import <Foundation/Foundation.h>`],o=i.length>0;if(o){let e=Object.fromEntries(i.map(e=>[e.name,e.value]));a.push(``,e6(`NSDictionary`,`headers`,e))}let s=!1;if(e.postData){let{mimeType:t,text:n,params:r}=e.postData;if(t===`application/json`&&n!==void 0)try{let e=JSON.parse(n);a.push(``,e6(`NSDictionary`,`parameters`,e)),a.push(``,`NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];`),s=!0}catch{a.push(``,`NSData *postData = [${Q3(n)} dataUsingEncoding:NSUTF8StringEncoding];`),s=!0}else if(t===`application/x-www-form-urlencoded`&&r?.length){s=!0;let[e,...t]=r;a.push(``,`NSMutableData *postData = [[NSMutableData alloc] initWithData:[${Q3(`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??``)}`)} dataUsingEncoding:NSUTF8StringEncoding]];`),t.forEach(e=>{a.push(`[postData appendData:[${Q3(`&${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??``)}`)} dataUsingEncoding:NSUTF8StringEncoding]];`)})}else t===`multipart/form-data`&&r?.length?(s=!0,a.push(``,e6(`NSArray`,`parameters`,r),`NSString *boundary = @"${Rhe}";`,``,`NSError *error;`,`NSMutableString *body = [NSMutableString string];`,`for (NSDictionary *param in parameters) {`,` [body appendFormat:@"--%@\\r\\n", boundary];`,` if (param[@"fileName"]) {`,` [body appendFormat:@"Content-Disposition:form-data; name=\\"%@\\"; filename=\\"%@\\"\\r\\n", param[@"name"], param[@"fileName"]];`,` [body appendFormat:@"Content-Type: %@\\r\\n\\r\\n", param[@"contentType"]];`,` [body appendFormat:@"%@", [NSString stringWithContentsOfFile:param[@"fileName"] encoding:NSUTF8StringEncoding error:&error]];`,` if (error) {`,` NSLog(@"%@", error);`,` }`,` } else {`,` [body appendFormat:@"Content-Disposition:form-data; name=\\"%@\\"\\r\\n\\r\\n", param[@"name"]];`,` [body appendFormat:@"%@", param[@"value"]];`,` }`,`}`,`[body appendFormat:@"\\r\\n--%@--\\r\\n", boundary];`,`NSData *postData = [body dataUsingEncoding:NSUTF8StringEncoding];`)):t===`application/octet-stream`?(s=!0,a.push(``,`NSData *postData = [${Q3(n??``)} dataUsingEncoding:NSUTF8StringEncoding];`)):n!==void 0&&(s=!0,a.push(``,`NSData *postData = [${Q3(n)} dataUsingEncoding:NSUTF8StringEncoding];`))}if(a.push(``,`NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:${Q3(r)}]`,` cachePolicy:NSURLRequestUseProtocolCachePolicy`,` timeoutInterval:10.0];`,`[request setHTTPMethod:@"${n}"];`),o&&a.push(`[request setAllHTTPHeaderFields:headers];`),s&&a.push(`[request setHTTPBody:postData];`),t?.auth?.username&&t?.auth?.password){let e=Q3(`${t.auth.username}:${t.auth.password}`);a.push(`NSData *authData = [${e} dataUsingEncoding:NSUTF8StringEncoding];`,`NSString *authValue = [NSString stringWithFormat:@"Basic %@", [authData base64EncodedStringWithOptions:0]];`,`[request setValue:authValue forHTTPHeaderField:@"Authorization"];`)}return a.push(``,`NSURLSession *session = [NSURLSession sharedSession];`,`NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request`,`completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {`,` if (error) {`,` NSLog(@"%@", error);`,` } else {`,` NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;`,` NSLog(@"%@", httpResponse);`,` }`,`}];`,`[dataTask resume];`),a.join(`
|
|
176
|
+
`)}},Bhe={info:{key:`cohttp`,title:`CoHTTP`,link:`https://github.com/mirage/ocaml-cohttp`,description:`Cohttp is a very lightweight HTTP server using Lwt or Async for OCaml`},convert:({fullUrl:e,allHeaders:t,postData:n,method:r},i)=>{let a={indent:` `,...i},o=[`get`,`post`,`head`,`delete`,`patch`,`put`,`options`],{push:s,blank:c,join:l}=new A3({indent:a.indent});s(`open Cohttp_lwt_unix`),s(`open Cohttp`),s(`open Lwt`),c(),s(`let uri = Uri.of_string "${e}" in`);let u=Object.keys(t);return u.length===1?s(`let headers = Header.add (Header.init ()) "${u[0]}" "${M3(t[u[0]])}" in`):u.length>1&&(s(`let headers = Header.add_list (Header.init ()) [`),u.forEach(e=>{s(`("${e}", "${M3(t[e])}");`,1)}),s(`] in`)),n?.text&&s(`let body = Cohttp_lwt_body.of_string ${JSON.stringify(n.text)} in`),c(),s(`Client.call ${u.length?`~headers `:``}${n?.text?`~body `:``}${o.includes(r.toLowerCase())?`\`${r.toUpperCase()}`:`(Code.method_of_string "${r}")`} uri`),s(`>>= fun (res, body_stream) ->`),s(`(* Do stuff with the result *)`,1),l()}},Vhe={target:`ocaml`,client:`cohttp`,title:`Cohttp`,generate(e){return N3(Bhe,e)}};function t6(e){return` `.repeat(e*2)}var n6=class{value;constructor(e){this.value=e}};function r6(e,t=0){if(e==null)return`null`;if(e instanceof n6){let n=e.value.split(`
|
|
177
|
+
`);if(n.length>1){let e=t6(t+1);return n.map((t,n)=>n===0?t:`${e}${t}`).join(`
|
|
178
|
+
`)}return e.value}if(typeof e==`string`)return`'${e.replace(/\\/g,`\\\\`).replace(/'/g,`\\'`)}'`;if(typeof e==`number`||typeof e==`boolean`)return String(e);if(Array.isArray(e)){if(e.length===0)return`[]`;let n=e.map(e=>r6(e,t+1)).join(`,
|
|
179
|
+
`+t6(t+1));return`[\n${t6(t+1)}${n}\n${t6(t)}]`}if(typeof e==`object`){let n=Object.entries(e);if(n.length===0)return`[]`;let r=n.map(([e,n])=>`'${e}' => ${r6(n,t+1)}`).join(`,
|
|
180
|
+
`+t6(t+1));return`[\n${t6(t+1)}${r}\n${t6(t)}]`}return`null`}var Hhe={target:`php`,client:`curl`,title:`cURL`,generate(e,t){let n={method:`GET`,...e};n.method=n.method.toUpperCase();let r=[],i=!1,a=n.queryString?.length?`?`+n.queryString.map(e=>`${e.name}=${e.value}`).join(`&`):``,o=`${n.url}${a}`;r.push(`$ch = curl_init("${o}");`),r.push(``),n.method===`POST`?r.push(`curl_setopt($ch, CURLOPT_POST, true);`):n.method!==`GET`&&r.push(`curl_setopt($ch, CURLOPT_CUSTOMREQUEST, '${n.method}');`),t?.auth?.username&&t?.auth?.password&&r.push(`curl_setopt($ch, CURLOPT_USERPWD, '${t.auth.username}:${t.auth.password}');`);let s=[...n.headers||[]],c=()=>s.some(e=>e.name.toLowerCase()===`content-type`);if(n.postData&&(n.postData.mimeType===`application/x-www-form-urlencoded`&&n.postData.params&&!c()?s.push({name:`Content-Type`,value:`application/x-www-form-urlencoded`}):n.postData.mimeType===`application/octet-stream`&&!c()&&s.push({name:`Content-Type`,value:`application/octet-stream`})),s.length){let e=s.map(e=>`'${e.name}: ${e.value}'`);r.push(`curl_setopt($ch, CURLOPT_HTTPHEADER, [${e.join(`, `)}]);`);let t=s.find(e=>e.name.toLowerCase()===`accept-encoding`);t&&/gzip|deflate/.test(t.value)&&r.push(`curl_setopt($ch, CURLOPT_ENCODING, '');`)}if(n.cookies?.length){let e=n.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `);r.push(`curl_setopt($ch, CURLOPT_COOKIE, '${e}');`)}if(n.postData){if(n.postData.mimeType===`application/json`){if(n.postData.text)try{let e=r6(JSON.parse(n.postData.text));r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(${e}));`)}catch{r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${n.postData.text}');`)}}else if(n.postData.mimeType===`multipart/form-data`&&n.postData.params)i=!0,r.push(`$mime = curl_mime_init($ch);`),n.postData.params.forEach((e,t)=>{let n=`$part${t}`;r.push(`${n} = curl_mime_addpart($mime);`),r.push(`curl_mime_name(${n}, '${e.name}');`),e.fileName===void 0?e.value!==void 0&&r.push(`curl_mime_data(${n}, '${e.value}');`):r.push(`curl_mime_filedata(${n}, '${e.fileName}');`),e.contentType&&r.push(`curl_mime_type(${n}, '${e.contentType}');`)}),r.push(`curl_setopt($ch, CURLOPT_MIMEPOST, $mime);`);else if(n.postData.mimeType===`application/x-www-form-urlencoded`&&n.postData.params){let e=n.postData.params.map(e=>`${encodeURIComponent(e.name)}=${e.value?encodeURIComponent(e.value):``}`).join(`&`);r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${e}');`)}else if(n.postData.mimeType===`application/octet-stream`)r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${n.postData.text||``}');`);else if(n.postData.text)try{let e=r6(JSON.parse(n.postData.text));r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(${e}));`)}catch{r.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${n.postData.text}');`)}}return r.push(``),r.push(`curl_exec($ch);`),i&&r.push(`curl_mime_free($mime);`),r.push(``),r.push(`curl_close($ch);`),r.join(`
|
|
181
|
+
`).replace(/\n\n\n/g,`
|
|
182
|
+
|
|
183
|
+
`)}},Uhe={target:`php`,client:`guzzle`,title:`Guzzle`,generate(e,t){if(!e)return``;let n={},r=(e.method||`GET`).toUpperCase(),i=e.url||``;if(e.headers&&Array.isArray(e.headers)&&e.headers.length>0){let t={};e.headers.forEach(e=>{t[e.name]===void 0?t[e.name]=e.value:Array.isArray(t[e.name])?t[e.name].push(e.value):t[e.name]=[t[e.name],e.value]}),n.headers=t}if(e.queryString&&e.queryString.length>0&&(n.query=m3(e.queryString)),e.cookies&&e.cookies.length>0){let t={};e.cookies.forEach(e=>{t[e.name]=e.value}),n.cookies=t}if(t?.auth?.username&&t.auth.password&&(n.auth=[t.auth.username,t.auth.password]),e.postData)if(e.postData.mimeType===`application/json`)try{n.json=JSON.parse(e.postData.text||`{}`)}catch{n.body=e.postData.text}else if(e.postData.mimeType===`multipart/form-data`){if(e.postData.params)n.multipart=e.postData.params.map(e=>{let t={name:e.name,contents:e.fileName?new n6(`fopen('${e.fileName}', 'r')`):e.value||``};return e.contentType&&(t.headers={"Content-Type":e.contentType}),t});else if(e.postData.text)try{n.form_params=JSON.parse(e.postData.text)}catch{n.body=e.postData.text}}else if(e.postData.mimeType===`application/x-www-form-urlencoded`){if(e.postData.params){let t={};e.postData.params.forEach(e=>{t[e.name]=e.value||``}),n.form_params=t}}else n.body=e.postData.text;e.headers&&Array.isArray(e.headers)&&e.headers.some(e=>e.name===`Accept-Encoding`&&e.value.includes(`gzip`))&&(n.decode_content=!0);let a=`$client = new GuzzleHttp\\Client();
|
|
184
|
+
|
|
185
|
+
`;if(Object.keys(n).length>0){let e=r6(n);a+=`$response = $client->request('${r}', '${i}', ${e});`}else a+=`$response = $client->request('${r}', '${i}');`;return a}},i6=e=>e.replace(/\\/g,`\\\\`).replace(/'/g,`\\'`),a6=e=>`'${i6(e)}'`,Whe=i6,o6=e=>Array.isArray(e)?e.map(e=>o6(e)):e&&typeof e==`object`?Object.entries(e).reduce((e,[t,n])=>(e[Whe(t)]=o6(n),e),{}):e,Ghe=e=>{if(!e)return`localhost`;try{return new URL(e).hostname||`localhost`}catch{return`localhost`}},Khe={target:`php`,client:`laravel`,title:`Laravel HTTP Client`,generate(e,t){let n={method:`GET`,...e};n.method=n.method.toUpperCase();let r=c3(n.queryString),i=`${n.url??``}${r}`,a=[];if(t?.auth?.username&&t.auth.password&&a.push(`withBasicAuth(${a6(t.auth.username)}, ${a6(t.auth.password)})`),n.headers?.length){let e={};n.headers.forEach(t=>{p3(e,t.name,t.value)}),a.push(`withHeaders(${r6(o6(e))})`)}if(n.cookies?.length){let e={};n.cookies.forEach(t=>{p3(e,t.name,t.value)}),a.push(`withCookies(${r6(o6(e))}, ${a6(Ghe(n.url??``))})`)}let o;if(n.postData){if(n.postData.mimeType===`application/json`){if(n.postData.text)try{o=JSON.parse(n.postData.text)}catch{a.push(`withBody(${a6(n.postData.text)}, 'application/json')`)}}else if(n.postData.mimeType===`application/x-www-form-urlencoded`&&n.postData.params){let e={};n.postData.params.forEach(t=>{p3(e,t.name,t.value??``)}),a.push(`asForm()`),o=e}else if(n.postData.mimeType===`multipart/form-data`&&n.postData.params){let e={};n.postData.params.forEach(t=>{if(t.fileName!==void 0){let e=[a6(t.name),`file_get_contents(${a6(t.fileName)})`,a6(t.fileName)];t.contentType&&e.push(r6(o6({"Content-Type":t.contentType}))),a.push(`attach(${e.join(`, `)})`)}else t.contentType?a.push(`attach(${a6(t.name)}, ${a6(t.value??``)}, null, ${r6(o6({"Content-Type":t.contentType}))})`):p3(e,t.name,t.value??``)}),Object.keys(e).length>0&&(o=e)}else if(n.postData.mimeType===`application/octet-stream`)a.push(`withBody(${a6(n.postData.text??``)}, 'application/octet-stream')`);else if(n.postData.text)try{o=JSON.parse(n.postData.text)}catch{a.push(`withBody(${a6(n.postData.text)}, ${a6(n.postData.mimeType||`text/plain`)})`)}}let s=n.method.toLowerCase(),c=[`delete`,`get`,`head`,`patch`,`post`,`put`].includes(s)?o!==void 0&&s!==`head`?`${s}(${a6(i)}, ${r6(o6(o),1)})`:`${s}(${a6(i)})`:o===void 0?`send(${a6(n.method)}, ${a6(i)})`:`send(${a6(n.method)}, ${a6(i)}, ${r6(o6(o),1)})`;return`use Illuminate\\Support\\Facades\\Http;\n\n$response = ${a.length>0?[`Http::${a[0]}`,...a.slice(1).map(e=>` ->${e}`),` ->${c}`].join(`
|
|
186
|
+
`):`Http::${c}`};`}},s6=e=>({method:t,headersObj:n,cookies:r,uriObj:i,fullUrl:a,postData:o,allHeaders:s})=>{let{push:c,join:l}=new A3;if(![`GET`,`POST`,`PUT`,`DELETE`,`PATCH`,`HEAD`,`OPTIONS`].includes(t.toUpperCase()))return`Method not supported`;let u=[],d=Object.keys(n);return d.length&&(c(`$headers=@{}`),d.forEach(e=>{e!==`connection`&&c(`$headers.Add("${e}", "${j3(n[e],{escapeChar:"`"})}")`)}),u.push(`-Headers $headers`)),r.length&&(c(`$session = New-Object Microsoft.PowerShell.Commands.WebRequestSession`),r.forEach(e=>{c(`$cookie = New-Object System.Net.Cookie`),c(`$cookie.Name = '${e.name}'`),c(`$cookie.Value = '${e.value}'`),c(`$cookie.Domain = '${i.host}'`),c(`$session.Cookies.Add($cookie)`)}),u.push(`-WebSession $session`)),o?.text&&(u.push(`-ContentType '${j3(Y3(s,`content-type`),{delimiter:`'`,escapeChar:"`"})}'`),u.push(`-Body '${o.text}'`)),c(`$response = ${e} -Uri '${a}' -Method ${t} ${u.join(` `)}`),l()},qhe={info:{key:`restmethod`,title:`Invoke-RestMethod`,link:`https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-RestMethod`,description:`Powershell Invoke-RestMethod client`},convert:s6(`Invoke-RestMethod`)},Jhe={target:`powershell`,client:`restmethod`,title:`Invoke-RestMethod`,generate(e){return N3(qhe,e)}},Yhe={info:{key:`webrequest`,title:`Invoke-WebRequest`,link:`https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-WebRequest`,description:`Powershell Invoke-WebRequest client`},convert:s6(`Invoke-WebRequest`)},Xhe={target:`powershell`,client:`webrequest`,title:`Invoke-WebRequest`,generate(e){return N3(Yhe,e)}};function c6(e){let t=[[`true`,`True`],[`false`,`False`],[`null`,`None`]],n=e;for(let[e,r]of t){let t=[`(: )${e}(?=,|\\n)`,`^( +)${e}(?=,|\\n)`];for(let e of t)n=n.replace(new RegExp(e,`gm`),`$1${r}`)}return n}function l6(e,t=4){return c6(JSON.stringify(e,null,2).split(`
|
|
187
|
+
`).map((e,n)=>n===0?e:` `.repeat(t)+e).join(`
|
|
188
|
+
`))}function u6(e,t,n){let r={url:`https://example.com`,method:`get`,...t},i=r.method.toLowerCase(),a={};if(r.headers?.length&&(a.headers=r.headers.reduce((e,t)=>(t.name in e||(e[t.name]=t.value),e),{})),r.queryString?.length&&(a.params=m3(r.queryString)),r.cookies?.length&&(a.cookies=Object.fromEntries(r.cookies.map(e=>[e.name,e.value]))),n?.auth?.username&&n?.auth?.password&&(a.auth=[n.auth.username,n.auth.password]),r.postData){let{mimeType:e,text:t,params:n}=r.postData;if(e===`application/json`&&t)try{a.json=JSON.parse(t)}catch{a.data=t}else if(e===`application/octet-stream`&&t)a.data=t;else if(e===`multipart/form-data`&&n){let e=[],t={};n.forEach(n=>{if(n.fileName!==void 0){let t=JSON.stringify(n.name),r=JSON.stringify(n.fileName),i=`open(${r}, "rb")`;if(n.contentType){let a=JSON.stringify(n.contentType);e.push(`(${t}, (${r}, ${i}, ${a}))`)}else e.push(`(${t}, ${i})`)}else if(n.value!==void 0)if(n.contentType){let t=JSON.stringify(n.name),r=JSON.stringify(n.value),i=JSON.stringify(n.contentType);e.push(`(${t}, (None, ${r}, ${i}))`)}else p3(t,n.name,n.value)}),e.length&&(a.files=e),Object.keys(t).length&&(a.data=t)}else if(e===`application/x-www-form-urlencoded`&&n){let e={};n.forEach(t=>{p3(e,t.name,t.value??``)}),a.data=e}}let o=[],s=`"${r.url}"`;r.url.length>40?o.push(s):o.push(``);for(let[e,t]of Object.entries(a))if(e===`auth`)o.push(`${e}=(${c6(JSON.stringify(t[0]))}, ${c6(JSON.stringify(t[1]))})`);else if(e===`files`){let n=`[
|
|
189
|
+
`+t.map(e=>` ${e}`).join(`,
|
|
190
|
+
`)+`
|
|
191
|
+
]`;o.push(`${e}=${n}`)}else if(e===`json`){let n=l6(t);o.push(`${e}=${n}`)}else if(e===`data`&&r.postData?.mimeType===`application/octet-stream`)o.push(`${e}=b"${t}"`);else{let n=l6(t);o.push(`${e}=${n}`)}return r.url.length>40?`${e}.${i}(\n ${o.join(`,
|
|
192
|
+
`)}\n)`:o.length<=1?`${e}.${i}(${s})`:`${e}.${i}(${s}${o.length>1?`,`:``}\n ${o.slice(1).join(`,
|
|
193
|
+
`)}\n)`}var Zhe=(e,t=` `)=>e.split(`
|
|
194
|
+
`).map(e=>e.trim()===``?e:`${t}${e}`).join(`
|
|
195
|
+
`),Qhe=(e,t,n,r)=>{let i=JSON.stringify(n);return n.length>40?`${e}.${t}(\n ${[i,...r].join(`,
|
|
196
|
+
`)}\n)`:r.length===0?`${e}.${t}(${i})`:`${e}.${t}(${i},\n ${r.join(`,
|
|
197
|
+
`)}\n)`},$he={target:`python`,client:`aiohttp`,title:`aiohttp`,generate(e,t){let n={url:`https://example.com`,method:`get`,...e},r=n.method?.toLowerCase()??`get`,i=[],a=[],o=[];if(n.headers?.length){let e=n.headers.reduce((e,t)=>(t.name in e||(e[t.name]=t.value),e),{});i.push(`headers=${l6(e)}`)}if(n.queryString?.length&&i.push(`params=${l6(m3(n.queryString))}`),n.cookies?.length){let e=Object.fromEntries(n.cookies.map(e=>[e.name,e.value]));a.push(`cookies=${l6(e)}`)}if(t?.auth?.username&&t?.auth?.password&&a.push(`auth=aiohttp.BasicAuth(${JSON.stringify(t.auth.username)}, ${JSON.stringify(t.auth.password)})`),n.postData){let{mimeType:e,text:t,params:r}=n.postData;if(e===`application/json`&&t)try{i.push(`json=${l6(JSON.parse(t))}`)}catch{i.push(`data=${JSON.stringify(t)}`)}else if(e===`application/octet-stream`&&t)i.push(`data=b"${t}"`);else if(e===`multipart/form-data`&&r)o.push(`data = aiohttp.FormData()`),r.forEach(e=>{if(e.fileName!==void 0){let t=[JSON.stringify(e.name),`open(${JSON.stringify(e.fileName)}, "rb")`,`filename=${JSON.stringify(e.fileName)}`];e.contentType&&t.push(`content_type=${JSON.stringify(e.contentType)}`),o.push(`data.add_field(${t.join(`, `)})`);return}if(e.contentType){o.push(`data.add_field(${JSON.stringify(e.name)}, ${JSON.stringify(e.value??``)}, content_type=${JSON.stringify(e.contentType)})`);return}o.push(`data.add_field(${JSON.stringify(e.name)}, ${JSON.stringify(e.value??``)})`)}),i.push(`data=data`);else if(e===`application/x-www-form-urlencoded`&&r){let e={};r.forEach(t=>{p3(e,t.name,t.value??``)}),i.push(`data=${l6(e)}`)}else t&&i.push(`data=${JSON.stringify(t)}`)}let s=a.length===0?`async with aiohttp.ClientSession() as session:`:`async with aiohttp.ClientSession(\n ${a.join(`,
|
|
198
|
+
`)}\n) as session:`,c=Qhe(`await session`,r,n.url??``,i);return`${s}\n${Zhe([...o,c].join(`
|
|
199
|
+
`))}`}},ege={target:`python`,client:`httpx_async`,title:`HTTPX (Async)`,generate(e,t){let n=u6(`await client`,e,t);return n=n.split(`
|
|
200
|
+
`).map(e=>e.trim()===``?e:` `+e).join(`
|
|
201
|
+
`),`async with httpx.AsyncClient() as client:\n${n}`}},tge={target:`python`,client:`httpx_sync`,title:`HTTPX (Sync)`,generate(e,t){return u6(`httpx`,e,t)}},nge=e=>{if(typeof globalThis.btoa==`function`)return globalThis.btoa(e);if(typeof Buffer<`u`)return Buffer.from(e,`utf-8`).toString(`base64`);throw Error(`Could not encode basic auth credentials`)},rge=e=>{if(!e)return new URL(`https://example.com`);try{return new URL(e)}catch{return new URL(e,`https://example.com`)}},ige=(e,t=[])=>{if(!t.length)return e.search;let n=c3(t);return e.search?`${e.search}&${n.slice(1)}`:n},age=e=>`b"${JSON.stringify(e).slice(1,-1)}"`,oge=(e,t,n)=>{let r=e.postData;if(!r)return{payloadLines:[]};let{mimeType:i,text:a,params:o}=r;if(i===`application/json`&&a)try{let e=JSON.parse(a);return n.add(`import json`),{payloadLines:[`payload = json.dumps(${l6(e,0)})`],payloadVariable:`payload`}}catch{return{payloadLines:[`payload = ${JSON.stringify(a)}`],payloadVariable:`payload`}}if(i===`application/octet-stream`&&a)return{payloadLines:[`payload = ${age(a)}`],payloadVariable:`payload`};if(i===`application/x-www-form-urlencoded`&&o){n.add(`import urllib.parse`);let e={};return o.forEach(t=>{p3(e,t.name,t.value??``)}),t[`Content-Type`]||=`application/x-www-form-urlencoded`,{payloadLines:[`payload = urllib.parse.urlencode(${l6(e,0)}, doseq=True)`],payloadVariable:`payload`}}if(i===`multipart/form-data`&&o){let e=[`boundary = "----ScalarSnippetzBoundary"`,`data_list = []`];return o.forEach(t=>{e.push(`data_list.append("--" + boundary)`),t.fileName===void 0?e.push(`data_list.append(${JSON.stringify(`Content-Disposition: form-data; name="${t.name}"`)})`):e.push(`data_list.append(${JSON.stringify(`Content-Disposition: form-data; name="${t.name}"; filename="${t.fileName}"`)})`),t.contentType&&e.push(`data_list.append(${JSON.stringify(`Content-Type: ${t.contentType}`)})`),e.push(`data_list.append("")`),t.fileName===void 0?e.push(`data_list.append(${JSON.stringify(t.value??``)})`):e.push(`data_list.append(open(${JSON.stringify(t.fileName)}, "rb").read().decode("latin-1"))`)}),e.push(`data_list.append("--" + boundary + "--")`),e.push(`data_list.append("")`),e.push(`payload = "\\r\\n".join(data_list)`),t[`Content-Type`]=`multipart/form-data; boundary=----ScalarSnippetzBoundary`,{payloadLines:e,payloadVariable:`payload`}}if(a)try{let e=JSON.parse(a);return n.add(`import json`),{payloadLines:[`payload = json.dumps(${l6(e,0)})`],payloadVariable:`payload`}}catch{return{payloadLines:[`payload = ${JSON.stringify(a)}`],payloadVariable:`payload`}}return{payloadLines:[]}},sge={target:`python`,client:`python3`,title:`http.client`,generate(e,t){let n=s3({url:`https://example.com`,...e}),r=rge(n.url??`https://example.com`),i=ige(r,n.queryString),a=`${r.pathname||`/`}${i}`,o=n.headers?.reduce((e,t)=>(t.name in e||(e[t.name]=t.value),e),{})??{};if(n.cookies?.length){let e=n.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `);o.Cookie?o.Cookie=`${o.Cookie}; ${e}`:o.Cookie=e}t?.auth?.username&&t.auth.password&&(o.Authorization=`Basic ${nge(`${t.auth.username}:${t.auth.password}`)}`);let s=new Set([`import http.client`]),c=[],l=oge(n,o,s);c.push(...l.payloadLines),Object.keys(o).length&&c.push(`headers = ${l6(o,0)}`);let u=[JSON.stringify(n.method),JSON.stringify(a)];l.payloadVariable&&u.push(`body=${l.payloadVariable}`),Object.keys(o).length&&u.push(`headers=headers`);let d=u.length<=2?`conn.request(${u.join(`, `)})`:`conn.request(\n ${u.join(`,
|
|
202
|
+
`)},\n)`;return[...s,``,`conn = http.client.${r.protocol===`https:`?`HTTPSConnection`:`HTTPConnection`}(${JSON.stringify(r.host)})`,...c.length?[``,...c]:[],``,d,``,`response = conn.getresponse()`,`print(response.read().decode())`,``,`conn.close()`].join(`
|
|
203
|
+
`)}},cge={target:`python`,client:`requests`,title:`Requests`,generate(e,t){return u6(`requests`,e,t)}},lge=(e,t)=>{try{return d6(JSON.parse(e),t)}catch{return`"${e}"`}},d6=(e,t)=>{if(e==null)return`NULL`;if(typeof e==`boolean`)return e?`TRUE`:`FALSE`;if(typeof e==`number`)return String(e);if(typeof e==`string`)return`"${e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`)}"`;if(Array.isArray(e))return e.length===0?`list()`:`list(\n${e.map(e=>`${t} ${d6(e,t+` `)}`).join(`,
|
|
204
|
+
`)}\n${t})`;if(typeof e==`object`){let n=Object.entries(e);return n.length===0?`list()`:`list(\n${n.map(([e,n])=>`${t} ${e} = ${d6(n,t+` `)}`).join(`,
|
|
205
|
+
`)}\n${t})`}return String(e)},uge={target:`r`,client:`httr2`,title:`httr2`,generate(e,t){let n={url:`https://example.com`,method:`GET`,...e},r=n.method.toUpperCase(),i=[`library(httr2)`,``];i.push(`response <- request("${n.url}") |>`);let a=[];r!==`GET`&&a.push(` req_method("${r}")`);let o={};if(n.headers?.length)for(let e of n.headers)o[e.name]=e.value;if(n.cookies?.length&&(o.Cookie=n.cookies.map(e=>`${e.name}=${e.value}`).join(`; `)),t?.auth?.username&&t?.auth?.password&&a.push(` req_auth_basic("${t.auth.username}", "${t.auth.password}")`),Object.keys(o).length){let e=Object.entries(o);if(e.length===1){let[t,n]=e[0];a.push(` req_headers("${t}" = "${n}")`)}else{let t=e.map(([e,t])=>` "${e}" = "${t}"`).join(`,
|
|
206
|
+
`);a.push(` req_headers(\n${t}\n )`)}}if(n.queryString?.length){let e=m3(n.queryString),t=Object.entries(e);if(t.length===1){let[e,n]=t[0];if(Array.isArray(n)){let t=n.map(e=>`"${e}"`).join(`, `);a.push(` req_url_query("${e}" = c(${t}))`)}else a.push(` req_url_query("${e}" = "${n}")`)}else{let e=t.map(([e,t])=>Array.isArray(t)?` "${e}" = c(${t.map(e=>`"${e}"`).join(`, `)})`:` "${e}" = "${t}"`).join(`,
|
|
207
|
+
`);a.push(` req_url_query(\n${e}\n )`)}}if(n.postData){let{mimeType:e,text:t,params:r}=n.postData;if(e===`application/json`&&t){let e=lge(t,` `);a.push(` req_body_json(${e})`)}else if(e===`multipart/form-data`&&r){let e=r.map(e=>e.fileName===void 0?` ${e.name} = "${e.value??``}"`:` ${e.name} = curl::form_file("${e.fileName}")`).join(`,
|
|
208
|
+
`);a.push(` req_body_multipart(\n${e}\n )`)}else if(e===`application/x-www-form-urlencoded`&&r){let e=r.map(e=>` "${e.name}" = "${e.value??``}"`).join(`,
|
|
209
|
+
`);a.push(` req_body_form(\n${e}\n )`)}else t&&a.push(` req_body_raw("${t}", type = "${e??`application/octet-stream`}")`)}return a.push(` req_perform()`),i[i.length-1]=`response <- request("${n.url}") |>`,i.push(a.join(` |>
|
|
210
|
+
`)),i.push(``),i.push(`resp_body_string(response)`),i.join(`
|
|
211
|
+
`)}},f6=e=>e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`),p6=e=>e.replace(/\\/g,`\\\\`).replace(/'/g,`\\'`),m6=e=>encodeURIComponent(e).replace(/'/g,`%27`),dge=new Set([`GET`,`POST`,`HEAD`,`DELETE`,`PATCH`,`PUT`,`OPTIONS`,`COPY`,`LOCK`,`UNLOCK`,`MOVE`,`TRACE`]),h6=e=>e.charAt(0)+e.slice(1).toLowerCase(),fge=(e,t,n)=>{if(dge.has(t))return;let r=h6(t);e.push(`class Net::HTTP::${r} < Net::HTTPRequest`),e.push(` METHOD = '${t}'`),e.push(` REQUEST_HAS_BODY = '${n?`true`:`false`}'`),e.push(` RESPONSE_HAS_BODY = true`),e.push(`end`),e.push(``)},pge=e=>{try{let t=new URL(e),n=t.pathname.split(`/`).map(e=>encodeURIComponent(decodeURIComponent(e)).replace(/%5B/g,`[`).replace(/%5D/g,`]`).replace(/%24/g,`$`)).join(`/`);return t.pathname===`/`?`${t.origin}${t.search}${t.hash}`:`${t.origin}${n}${t.search}${t.hash}`}catch{return e}},mge={target:`ruby`,client:`native`,title:`net::http`,generate(e,t){let n={method:`GET`,...e};n.method=n.method.toUpperCase();let r=c3(n.queryString),i=pge(`${n.url??``}${r}`),a=[`require 'uri'`,`require 'net/http'`,``];fge(a,n.method,!!n.postData?.text),a.push(`url = URI("${f6(i)}")`,``),a.push(`http = Net::HTTP.new(url.host, url.port)`),i.startsWith(`https://`)&&a.push(`http.use_ssl = true`),a.push(``);let o=h6(n.method);if(a.push(`request = Net::HTTP::${o}.new(url)`),t?.auth?.username&&t?.auth?.password){let e=f6(t.auth.username),n=f6(t.auth.password);a.push(`request.basic_auth("${e}", "${n}")`)}if(n.headers?.length&&n.headers.forEach(e=>{a.push(`request["${f6(e.name)}"] = '${p6(e.value)}'`)}),n.cookies?.length){let e=n.cookies.map(e=>`${m6(e.name)}=${m6(e.value)}`).join(`; `);a.push(`request["Cookie"] = '${p6(e)}'`)}if(n.postData){let{mimeType:e,text:t,params:r}=n.postData;if(e===`application/json`&&t!==void 0)try{let e=JSON.parse(t),n=JSON.stringify(e,null,2);a.push(`request.body = <<~JSON`),a.push(n),a.push(`JSON`)}catch{a.push(`request.body = ${JSON.stringify(t)}`)}else if(e===`application/x-www-form-urlencoded`&&r){let e=r.map(e=>`${m6(e.name)}=${m6(e.value??``)}`).join(`&`);a.push(`request.body = '${p6(e)}'`)}else e===`multipart/form-data`&&r?(a.push(`form_data = []`),r.forEach(e=>{let t=p6(e.name);if(e.fileName!==void 0){let n=p6(e.fileName);if(e.contentType){let r=p6(e.contentType);a.push(`form_data << ['${t}', File.open('${n}'), { filename: '${n}', content_type: '${r}' }]`)}else a.push(`form_data << ['${t}', File.open('${n}')]`)}else if(e.contentType){let n=p6(e.value??``),r=p6(e.contentType);a.push(`form_data << ['${t}', '${n}', { content_type: '${r}' }]`)}else{let n=p6(e.value??``);a.push(`form_data << ['${t}', '${n}']`)}}),a.push(`request.set_form(form_data, 'multipart/form-data')`)):e===`application/octet-stream`?a.push(`request.body = ${JSON.stringify(t??``)}`):t!==void 0&&a.push(`request.body = ${JSON.stringify(t)}`)}return a.push(``,`response = http.request(request)`,`puts response.read_body`),a.join(`
|
|
212
|
+
`)}};function hge(e){return e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`).replace(/\n/g,`\\n`).replace(/\r/g,`\\r`).replace(/\t/g,`\\t`).replace(/\0/g,`\\0`)}function g6(e){return`"${hge(e)}"`}function _6(e,t){return`${` `.repeat(e*4)}${t}`}function v6(e,...t){return _6(1,`.${e}(${t.join(`, `)})`)}function gge(e){try{let t=JSON.parse(e),n=JSON.stringify(t,null,4).split(`
|
|
213
|
+
`);return n.map((e,t)=>t===0?e:(n.length-1,_6(1,e))).join(`
|
|
214
|
+
`)}catch{return e}}var _ge={target:`rust`,client:`reqwest`,title:`reqwest`,generate(e,t){if(!e)return``;let n=s3(e),r=c3(n.queryString),i=$pe(n.url||``,r),a=eme(n),o=[],s=yge(t?.auth);s&&o.push(s),o.push(...bge(a));let c=xge(n.postData);return c&&o.push(c),Sge(i,n.method,o)}},vge=e=>{if(e.fileName){let t=[_6(2,`let part = reqwest::multipart::Part::text(${g6(e.value||``)})`),_6(3,`.file_name(${g6(e.fileName)})`)];return e.contentType?(t.push(_6(3,`.mime_str(${g6(e.contentType)})`)),t.push(_6(3,`.unwrap();`))):t[t.length-1]+=`;`,t.push(_6(2,`form = form.part(${g6(e.name)}, part);`)),t.join(`
|
|
215
|
+
`)}return e.contentType?[_6(2,`let part = reqwest::multipart::Part::text(${g6(e.value||``)})`),_6(3,`.mime_str(${g6(e.contentType)})`),_6(3,`.unwrap();`),_6(2,`form = form.part(${g6(e.name)}, part);`)].join(`
|
|
216
|
+
`):_6(2,`form = form.text(${g6(e.name)}, ${g6(e.value||``)});`)},yge=e=>!e?.username||!e?.password?null:v6(`basic_auth`,g6(e.username),g6(e.password)),bge=e=>Object.entries(e).map(([e,t])=>v6(`header`,g6(e),g6(t))),xge=e=>{if(!e)return null;let{mimeType:t,text:n,params:r}=e;switch(t){case`application/json`:return v6(`json`,`&serde_json::json!(${gge(n)})`);case`application/x-www-form-urlencoded`:return v6(`form`,`&[${r?.map(e=>`(${g6(e.name)}, ${g6(e.value||``)})`).join(`, `)||``}]`);case`multipart/form-data`:{let e=r?.map(vge).join(`
|
|
217
|
+
`)||``;return _6(1,[`.multipart({`,_6(2,`let mut form = reqwest::multipart::Form::new();`),e,_6(3,`form`),_6(2,`})`)].join(`
|
|
218
|
+
`))}default:return v6(`body`,g6(n||``))}},Sge=(e,t,n)=>{let r=[`let client = reqwest::Client::new();`,``];n.length>0?(r.push(`let request = client`),r.push(_6(1,`.${t.toLowerCase()}(${g6(e)})`)),r.push(...n)):r.push(`let request = client.${t.toLowerCase()}(${g6(e)})`);let i=r[r.length-1];return r[r.length-1]=i+`;`,r.push(``),r.push(`let response = request.send().await?;`),r.join(`
|
|
219
|
+
`)},y6=e=>e.replace(/'/g,`'\\''`),b6=e=>{if(!e)return!1;let{subtype:t}=Eo(e);return t===`json`||t.endsWith(`+json`)},Cge={target:`shell`,client:`curl`,title:`Curl`,generate(e,t){let n={method:`GET`,...e};n.method=n.method.toUpperCase();let r=[`curl`],i=n.url??``,a=i.includes(`?`)?`&`:`?`,o=`${i}${n.queryString?.length?a+n.queryString.map(e=>`${e.name}=${e.value}`).join(`&`):``}`;if(r[0]=`curl ${/^[A-Za-z0-9._~:/%@+,=-]*$/.test(o)?o:`'${y6(o)}'`}`,n.method!==`GET`&&r.push(`--request ${n.method}`),t?.auth?.username&&t?.auth?.password){let e=y6(`${t.auth.username}:${t.auth.password}`);r.push(`--user '${e}'`)}if(n.headers?.length){n.headers.forEach(e=>{let t=y6(`${e.name}: ${e.value}`);r.push(`--header '${t}'`)});let e=n.headers.find(e=>e.name.toLowerCase()===`accept-encoding`);e&&/gzip|deflate/.test(e.value)&&r.push(`--compressed`)}if(n.cookies?.length){let e=y6(n.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `));r.push(`--cookie '${e}'`)}if(n.postData)if(b6(n.postData.mimeType)){if(n.postData.text)try{let e=JSON.parse(n.postData.text),t=y6(JSON.stringify(e,null,2));r.push(`--data '${t}'`)}catch{let e=y6(n.postData.text??``);r.push(`--data '${e}'`)}}else if(n.postData.mimeType===`application/octet-stream`){let e=y6(n.postData.text??``);r.push(`--data-binary '${e}'`)}else if(n.postData.mimeType===`application/x-www-form-urlencoded`&&n.postData.params)n.postData.params.forEach(e=>{let t=y6(e.value??``),n=y6(encodeURIComponent(e.name));r.push(`--data-urlencode '${n}=${t}'`)});else if(n.postData.mimeType===`multipart/form-data`&&n.postData.params)n.postData.params.forEach(e=>{let t=y6(e.name),n=e.contentType?`;type=${e.contentType}`:``;if(e.fileName!==void 0){let i=y6(`${e.fileName}${n}`);r.push(`--form '${t}=@${i}'`)}else{let i=e.value??``,a=b6(e.contentType),o=i;if(a&&i)try{o=JSON.stringify(JSON.parse(i),null,2)}catch{}let s=y6(`${o}${n}`);r.push(`--form '${t}=${s}'`)}});else try{let e=JSON.parse(n.postData.text??``),t=y6(JSON.stringify(e,null,2));r.push(`--data '${t}'`)}catch{let e=y6(n.postData.text??``);r.push(`--data '${e}'`)}return r.join(` \\
|
|
220
|
+
`)}},x6=(e=``)=>/^[a-z0-9-_/.@%^=:]+$/i.test(e)?e:`'${e.replace(/'/g,`'\\''`)}'`,wge={info:{key:`httpie`,title:`HTTPie`,link:`http://httpie.org/`,description:`a CLI, cURL-like tool for humans`},convert:({allHeaders:e,postData:t,queryObj:n,fullUrl:r,method:i,url:a},o)=>{let s={body:!1,cert:!1,headers:!1,indent:` `,pretty:!1,print:!1,queryParams:!1,short:!1,style:!1,timeout:!1,verbose:!1,verify:!1,...o},{push:c,join:l,unshift:u}=new A3({indent:s.indent,join:s.indent===!1?` `:` \\\n${s.indent}`}),d=!1,f=[];s.headers&&f.push(s.short?`-h`:`--headers`),s.body&&f.push(s.short?`-b`:`--body`),s.verbose&&f.push(s.short?`-v`:`--verbose`),s.print&&f.push(`${s.short?`-p`:`--print`}=${s.print}`),s.verify&&f.push(`--verify=${s.verify}`),s.cert&&f.push(`--cert=${s.cert}`),s.pretty&&f.push(`--pretty=${s.pretty}`),s.style&&f.push(`--style=${s.style}`),s.timeout&&f.push(`--timeout=${s.timeout}`),s.queryParams&&Object.keys(n).forEach(e=>{let t=n[e];Array.isArray(t)?t.forEach(t=>{c(`${e}==${x6(t)}`)}):c(`${e}==${x6(t)}`)}),Object.keys(e).sort().forEach(t=>{c(`${t}:${x6(e[t])}`)}),t?.mimeType===`application/x-www-form-urlencoded`?t.params?.length&&(f.push(s.short?`-f`:`--form`),t.params.forEach(e=>{c(`${e.name}=${x6(e.value)}`)})):t?.mimeType===`multipart/form-data`?t?.params?.length&&(f.push(`--multipart`),t.params.forEach(e=>{e.fileName?c(`${e.name}@${x6(e.fileName)}`):c(`${e.name}='${x6(e.value)}'`)})):d=!0;let p=f.length?`${f.join(` `)} `:``;return a=x6(s.queryParams?a:r),u(`http ${p}${i} ${a}`),d&&t?.text&&u(`echo ${x6(t.text)} | `),l()}},Tge={target:`shell`,client:`httpie`,title:`HTTPie`,generate(e){return N3(wge,e)}},S6=e=>{if(!e)return!1;let{subtype:t}=Eo(e);return t===`json`||t.endsWith(`+json`)},C6=e=>{try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}},Ege={target:`shell`,client:`wget`,title:`Wget`,generate(e,t){let n={...e,method:(e?.method??`GET`).toUpperCase()},r=n.url??``,i=r.includes(`?`)?`&`:`?`,a=`${r}${n.queryString?.length?i+n.queryString.map(e=>`${e.name}=${e.value}`).join(`&`):``}`,o=/^[A-Za-z0-9._~:/%@+,=-]*$/.test(a)?a:`'${y6(a)}'`,s=[`wget --quiet`,`--method ${n.method}`];if(t?.auth?.username&&t?.auth?.password&&(s.push(`--user '${y6(t.auth.username)}'`),s.push(`--password '${y6(t.auth.password)}'`)),n.headers?.length&&n.headers.forEach(e=>{let t=y6(`${e.name}: ${e.value}`);s.push(`--header '${t}'`)}),n.cookies?.length){let e=n.cookies.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`).join(`; `);s.push(`--header 'Cookie: ${y6(e)}'`)}if(n.postData){let{mimeType:e,text:t,params:r}=n.postData;if(S6(e))t&&s.push(`--body-data '${y6(C6(t))}'`);else if(e===`application/octet-stream`)s.push(`--body-data '${y6(t??``)}'`);else if(e===`application/x-www-form-urlencoded`&&r){let e=r.map(e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value??``)}`).join(`&`);s.push(`--body-data '${y6(e)}'`)}else e===`multipart/form-data`&&r?r.forEach(e=>{if(e.fileName!==void 0)s.push(`--body-file='${y6(e.fileName)}'`);else{let t=e.value??``,n=S6(e.contentType)&&t?C6(t):t;s.push(`--body-data '${y6(`${e.name}=${n}`)}'`)}}):t&&s.push(`--body-data '${y6(C6(t))}'`)}return s.push(`--output-document`,`- ${o}`),s.join(` \\
|
|
221
|
+
`)}},w6=e=>JSON.stringify(e),Dge=e=>{let t=1;for(;e.includes(`"""${`#`.repeat(t)}`);)t+=1;return`#`.repeat(t)},Oge=e=>{try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}},T6=e=>encodeURIComponent(e),E6=e=>e.replace(/\\/g,`\\\\`).replace(/"/g,`\\"`),kge=e=>{let t=[`let boundary = UUID().uuidString`,`var body = Data()`,``,`func appendToBody(_ value: String) {`,` body.append(value.data(using: .utf8)!)`,`}`,``];return e.forEach(e=>{let n=E6(e.name),r=E6(e.fileName??``),i=e.contentType?E6(e.contentType):void 0;t.push(`appendToBody("--\\(boundary)\\r\\n")`),e.fileName===void 0?(t.push(`appendToBody(${w6(`Content-Disposition: form-data; name="${n}"\r\n`)})`),i&&t.push(`appendToBody(${w6(`Content-Type: ${i}\r\n`)})`),t.push(`appendToBody("\\r\\n")`),t.push(`appendToBody(${w6(e.value??``)})`),t.push(`appendToBody("\\r\\n")`)):(t.push(`appendToBody(${w6(`Content-Disposition: form-data; name="${n}"; filename="${r}"\r\n`)})`),i&&t.push(`appendToBody(${w6(`Content-Type: ${i}\r\n`)})`),t.push(`appendToBody("\\r\\n")`),t.push(`appendToBody(${w6(`<# File data for ${e.fileName||`file`} #>\r\n`)})`)),t.push(``)}),t.push(`appendToBody("--\\(boundary)--\\r\\n")`),t},D6=[{key:`c`,title:`C`,default:`libcurl`,clients:[Qpe]},{key:`csharp`,title:`C#`,default:`restsharp`,clients:[ime,fme]},{key:`clojure`,title:`Clojure`,default:`clj_http`,clients:[rme]},{key:`dart`,title:`Dart`,default:`http`,clients:[pme]},{key:`fsharp`,title:`F#`,default:`httpclient`,clients:[mme]},{key:`go`,title:`Go`,default:`native`,clients:[jme]},{key:`http`,title:`HTTP`,default:`http1.1`,clients:[Mme]},{key:`java`,title:`Java`,default:`unirest`,clients:[Fme,Lme,zme,Vme]},{key:`js`,title:`JavaScript`,default:`fetch`,clients:[Jme,qme,Ohe,Dhe,Ahe]},{key:`kotlin`,title:`Kotlin`,default:`okhttp`,clients:[Nhe]},{key:`node`,title:`Node.js`,default:`fetch`,clients:[Fhe,Phe,Ihe,Lhe]},{key:`objc`,title:`Objective-C`,default:`nsurlsession`,clients:[zhe]},{key:`ocaml`,title:`OCaml`,default:`cohttp`,clients:[Vhe]},{key:`php`,title:`PHP`,default:`curl`,clients:[Hhe,Uhe,Khe]},{key:`powershell`,title:`PowerShell`,default:`webrequest`,clients:[Xhe,Jhe]},{key:`python`,title:`Python`,default:`python3`,clients:[sge,cge,$he,tge,ege]},{key:`r`,title:`R`,default:`httr2`,clients:[uge]},{key:`ruby`,title:`Ruby`,default:`native`,clients:[mge]},{key:`rust`,title:`Rust`,default:`reqwest`,clients:[_ge]},{key:`shell`,title:`Shell`,default:`curl`,clients:[Cge,Ege,Tge]},{key:`swift`,title:`Swift`,default:`nsurlsession`,clients:[{target:`swift`,client:`nsurlsession`,title:`NSURLSession`,generate(e,t){if(!e)return``;let n=l3(e.method),r=u3(d3(e.url??``,e.queryString)),i=f3(e.headers,e.cookies),a=[`import Foundation`,``,`var request = URLRequest(url: URL(string: ${w6(r)})!)`];if(a.push(`request.httpMethod = ${w6(n)}`),i.forEach(e=>{a.push(`request.setValue(${w6(e.value)}, forHTTPHeaderField: ${w6(e.name)})`)}),t?.auth?.username&&t?.auth?.password&&(a.push(`let credentials = ${w6(`${t.auth.username}:${t.auth.password}`)}`),a.push(`let encodedCredentials = Data(credentials.utf8).base64EncodedString()`),a.push(`request.setValue("Basic \\(encodedCredentials)", forHTTPHeaderField: "Authorization")`)),e.postData){let{mimeType:t,text:n,params:r}=e.postData;if(t===`application/json`&&n!==void 0){let e=Oge(n),t=Dge(e);a.push(`let jsonBody = ${t}"""`),a.push(e),a.push(`"""${t}`),a.push(`request.httpBody = jsonBody.data(using: .utf8)`)}else if(t===`application/x-www-form-urlencoded`&&r?.length){let e=r.map(e=>`${T6(e.name)}=${T6(e.value??``)}`).join(`&`);a.push(`let formBody = ${w6(e)}`),a.push(`request.httpBody = formBody.data(using: .utf8)`)}else t===`multipart/form-data`&&r?.length?(a.push(...kge(r)),a.push(`request.setValue("multipart/form-data; boundary=\\(boundary)", forHTTPHeaderField: "Content-Type")`),a.push(`request.httpBody = body`)):t===`application/octet-stream`?(a.push(`let binaryBody = Data(${w6(n??``)}.utf8)`),a.push(`request.httpBody = binaryBody`)):n!==void 0&&(a.push(`let rawBody = ${w6(n)}`),a.push(`request.httpBody = rawBody.data(using: .utf8)`))}return a.push(``),a.push(`let (data, response) = try await URLSession.shared.data(for: request)`),a.push(``),a.push(`guard let httpResponse = response as? HTTPURLResponse,`),a.push(` 200..<300 ~= httpResponse.statusCode else {`),a.push(` throw URLError(.badServerResponse)`),a.push(`}`),a.push(``),a.push(`print(String(data: data, encoding: .utf8) ?? "")`),a.join(`
|
|
222
|
+
`)}}]}];function O6(){function e(e,t){return D6.find(({key:t})=>t===e)?.clients.find(e=>e.client===t)}return{print(t,n,r){return e(t,n)?.generate(r)},clients(){return D6},plugins(){return D6.flatMap(({key:e,clients:t})=>t.map(t=>({target:e,client:t.client})))},findPlugin:e,hasPlugin(t,n){return!!e(t,n)}}}var Age=`shell/curl`,k6=e=>r3.includes(e),jge=e=>k6(e)||typeof e==`string`&&e.startsWith(`custom/`),Mge=(e,t)=>{let n=t=>{for(let n of e){let e=n.options.find(e=>e.id===t);if(e)return e}},r=e.find(e=>e.key===`custom`)?.options[0];if(t?.startsWith(`custom`))return n(t)??r??n(`shell/curl`)??e[0]?.options[0];if(t){let e=n(t);if(e)return e}return r||(n(`shell/curl`)??e[0]?.options[0])},A6=e=>{let t=new Map;return e.map(e=>{let n=(e.lang||`plaintext`).toLowerCase(),r=t.get(n)??0;return t.set(n,r+1),r===0?`custom/${n}`:`custom/${n}/${r}`})},Nge=(e=r3)=>{let t=new Set(e);return O6().clients().flatMap(e=>{let n=e.clients.flatMap(n=>{let r=`${e.key}/${n.client}`;return t.has(r)?{id:r,lang:n.client===`curl`?`curl`:e.key,title:`${C(e.title)} ${n.title}`,label:n.title,targetKey:e.key,targetTitle:e.title,clientKey:n.client}:[]});return n.length===0?[]:{label:e.title,key:e.key,options:n}})},Pge=typeof OVERRIDE_PACKAGE_VERSION<`u`?OVERRIDE_PACKAGE_VERSION:`0.1.11`,Fge={"&":`&`,"<":`<`,">":`>`,'"':`"`,"'":`'`};function j6(e){return e.replace(/[&<>"']/g,e=>Fge[e]??e)}function M6(e,t={}){let{indent:n=` `,format:r=!0,xmlDeclaration:i=!0}=t,a=(e,t,r)=>{let i=``;if(Array.isArray(e))for(let n=0,o=e.length;n<o;n++)i+=a(e[n],t,r);else if(typeof e==`object`&&e){let o=!1,s=``,c=``;for(let t in e)t.charAt(0)===`@`&&(s+=` `+t.substr(1)+`="`+j6(e[t].toString())+`"`);for(let t in e)if(t===`#text`)c+=j6(e[t]?.toString()??``);else if(t===`#cdata`){let n=e[t]?.toString()??``;c+=`<![CDATA[`+n.replace(/]]>/g,`]]]]><![CDATA[>`)+`]]>`}else t.charAt(0)!==`@`&&(o=!0,c+=a(e[t],t,r+n));o||c?(i+=r+`<`+t+s+`>
|
|
223
|
+
`,i+=c,i+=r+`</`+t+`>
|
|
224
|
+
`):i+=r+`<`+t+s+`/>
|
|
225
|
+
`}else i+=r+`<`+t+`>`+j6(e?.toString()||``)+`</`+t+`>
|
|
226
|
+
`;return i},o=``;i&&(o+=`<?xml version="1.0" encoding="UTF-8"?>`,r&&(o+=`
|
|
227
|
+
`));for(let t in e)Object.hasOwn(e,t)&&(o+=a(e[t],t,``));return r?o.trim():o.replace(/\n/g,``).replace(/>\s+</g,`><`).trim()}var N6=(e,t,n,r=!1)=>{let i=[],a=Array.isArray(e)?e.filter(e=>!e.isDisabled).map(e=>[String(e.name),e.value]):Object.entries(e);for(let[e,o]of a){if(o==null)continue;let a=n?void 0:t?.[e],s=a&&(a.style!==void 0||a.explode!==void 0||a.allowReserved!==void 0),c=s||!r?void 0:a?.contentType,l=n?null:bw(e,o,a);if(l)for(let e of l)i.push({name:e.key,value:e.value});else if(o instanceof File){let t=$c(o);i.push({name:e,value:`@${t.name}`,...c?{contentType:c}:{}})}else if(c&&typeof o==`object`)i.push({name:e,value:JSON.stringify($c(o)),contentType:c});else if(r&&!n&&!s&&typeof o==`object`&&!Array.isArray(o))i.push({name:e,value:JSON.stringify($c(o)),contentType:`application/json`});else if(Array.isArray(o)&&r&&!n&&!s&&o.some(e=>Dc(e)&&!(e instanceof File)))i.push({name:e,value:JSON.stringify($c(o)),contentType:`application/json`});else if(Array.isArray(o))for(let t of o)if(t instanceof File){let n=$c(t);i.push({name:e,value:`@${n.name}`})}else i.push({name:e,value:String(t)});else if(typeof o==`object`){let t=N6(o,void 0,e);for(let n of t)i.push({name:`${e}.${n.name}`,value:n.value})}else i.push({name:e,value:String(o),...c?{contentType:c}:{}})}return i},Ige=({requestBody:e,contentType:t,example:n,requestBodyCompositionSelection:r})=>{let i=t||Object.keys(e.content)[0]||``,a=i===`other`?``:i,o=e=>`@${$c(e).name||`filename`}`,s=e.content[i]?.encoding,c=i===`multipart/form-data`||i===`application/x-www-form-urlencoded`,l=i===`application/xml`,u=nl(e,n,t)?.value;if(u!==void 0){let e=typeof u==`object`&&u?$c(u):u;return c&&typeof e==`object`&&e?{mimeType:a,params:N6(e,s,void 0,i===`multipart/form-data`)}:l&&typeof e==`object`&&e?{mimeType:a,text:M6(e)}:e instanceof File?{mimeType:a,text:o(e)}:{mimeType:a,text:typeof e==`string`?e:JSON.stringify(e)}}let d=Tc(e.content[i]?.schema);if(d!==void 0){let e=dw(el(d),{compositionSelection:r,mode:`write`,xml:l},{schemaPath:[`requestBody`]});if(e!==void 0)return c&&typeof e==`object`&&e?{mimeType:a,params:N6(e,s,void 0,i===`multipart/form-data`)}:l&&typeof e==`object`&&e?{mimeType:a,text:M6(e)}:{mimeType:a,text:typeof e==`string`?e:JSON.stringify(e)}}},Lge=e=>(e??[]).map(e=>Tc(e)),Rge=e=>`allowReserved`in e&&e.allowReserved!==void 0?e.allowReserved:`schema`in e&&e.schema&&typeof e.schema==`object`&&`allowReserved`in e.schema?e.schema.allowReserved===!0:!1,P6=(e,t)=>Rge(t)?e:encodeURIComponent(e),zge=e=>{if(e.in===`header`)return{style:`simple`,explode:`explode`in e&&e.explode!==void 0&&e.explode};if(e.in===`cookie`)return{style:`form`,explode:`explode`in e&&e.explode!==void 0?e.explode:!0};let t={path:`simple`,query:`form`,header:`simple`,cookie:`form`}[e.in],n=`style`in e&&e.style?e.style:t;return{style:n,explode:`explode`in e&&e.explode!==void 0?e.explode:n===`form`}},Bge=(e,t,n,r)=>{let i=nl(e,t,n);if(hT(e,i,r))return;if(i?.value!==void 0)return fT(i.value,e);if(!(`schema`in e)||!e.schema)return;let a=e.in===`path`?{emptyString:`{${e.name}}`}:{};return dw(Tc(e.schema),a)},Vge=({harRequest:e,parameters:t,example:n,defaultDisabled:r})=>{let i=[...e.headers],a=[...e.queryString],o=e.url,s=Lge(t);for(let t of s){if(!t.in||!t.name)continue;let s=Bge(t,n,void 0,r);if(s===void 0)continue;let{style:c,explode:l}=zge(t);switch(t.in){case`path`:o=Hge(o,t,s,c,l);break;case`query`:if(`content`in t&&t.content){let e=fw(s,Object.keys(t.content)[0]??`application/json`);a.push({name:t.name,value:P6(e,t)});break}switch(c){case`form`:{let e=mw(s,l);if(Array.isArray(e))for(let n of e){let e=n.key||t.name;a.push({name:e,value:P6(String(n.value),t)})}else a.push({name:t.name,value:P6(String(e),t)});break}case`spaceDelimited`:{let e=gw(s);a.push({name:t.name,value:P6(e,t)});break}case`pipeDelimited`:{let e=_w(s);a.push({name:t.name,value:P6(e,t)});break}case`deepObject`:if(Array.isArray(s)){let e=mw(s,!0);if(Array.isArray(e))for(let n of e){let e=n.key||t.name;a.push({name:e,value:P6(String(n.value),t)})}else a.push({name:t.name,value:P6(String(e),t)})}else{let e=vw(t.name,s);for(let n of e)a.push({name:n.key,value:P6(n.value,t)})}break;default:a.push({name:t.name,value:P6(String(s),t)})}break;case`header`:{let e=pw(s,l);i.push({name:t.name,value:String(e)});break}case`cookie`:{let n=hw(s,l);if(Array.isArray(n))for(let r of n){let n=r.key||t.name,i=r.value===null?`null`:String(r.value);e.cookies.push({name:n,value:i})}else{let r=n===null?`null`:String(n);e.cookies.push({name:t.name,value:r})}break}}}return{url:o,headers:i,queryString:a,cookies:e.cookies}},Hge=(e,t,n,r,i)=>{switch(r){case`matrix`:if(i){if(Array.isArray(n)){let r=n.map(e=>`${t.name}=${e}`).join(`;`);return e.replace(`{;${t.name}}`,`;${r}`)}if(typeof n==`object`&&n){let r=Object.entries(n).map(([e,t])=>`${e}=${t}`).join(`;`);return e.replace(`{;${t.name}}`,`;${r}`)}return e.replace(`{;${t.name}}`,`;${t.name}=${n}`)}if(Array.isArray(n))return e.replace(`{;${t.name}}`,`;${t.name}=${n.join(`,`)}`);if(typeof n==`object`&&n){let r=Object.entries(n).map(([e,t])=>`${e},${t}`).join(`,`);return e.replace(`{;${t.name}}`,`;${t.name}=${r}`)}return e.replace(`{;${t.name}}`,`;${t.name}=${n}`);case`label`:if(i){if(Array.isArray(n))return e.replace(`{.${t.name}}`,`.${n.join(`.`)}`);if(typeof n==`object`&&n){let r=Object.entries(n).map(([e,t])=>`${e}=${t}`).join(`.`);return e.replace(`{.${t.name}}`,`.${r}`)}return e.replace(`{.${t.name}}`,`.${n}`)}if(Array.isArray(n))return e.replace(`{.${t.name}}`,`.${n.join(`,`)}`);if(typeof n==`object`&&n){let r=Object.entries(n).map(([e,t])=>`${e},${t}`).join(`,`);return e.replace(`{.${t.name}}`,`.${r}`)}return e.replace(`{.${t.name}}`,`.${n}`);case`simple`:{let r=pw(n,i);return e.replace(`{${t.name}}`,String(r))}default:return e.replace(`{${t.name}}`,String(n))}},Uge=e=>{let t={headers:[],queryString:[],cookies:[]};for(let n of e){if(n.type===`apiKey`){let e=n[`x-scalar-secret-token`]||`YOUR_SECRET_TOKEN`;if(!n.name)continue;let r={name:n.name,value:e};switch(n.in){case`header`:t.headers.push(r);break;case`query`:t.queryString.push(r);break;case`cookie`:t.cookies.push(r);break}continue}if(n.type===`http`){if(n.scheme===`basic`){let e=`${n[`x-scalar-secret-username`]||``}:${n[`x-scalar-secret-password`]||``}`,r=e===`:`?`username:password`:Bw(e);t.headers.push({name:`Authorization`,value:`Basic ${r}`})}else if(n.scheme===`bearer`){let e=n[`x-scalar-secret-token`]||`YOUR_SECRET_TOKEN`;t.headers.push({name:`Authorization`,value:`Bearer ${e}`})}continue}if(n.type===`oauth2`&&n.flows){let e=Object.values(n.flows).find(e=>e[`x-scalar-secret-token`])?.[`x-scalar-secret-token`]||`YOUR_SECRET_TOKEN`;t.headers.push({name:`Authorization`,value:`Bearer ${e}`})}}return t},Wge=(e,t)=>{if(!e?.url)return t;let n=e.url;return e.variables?vo(xw(n,Object.entries(e.variables).reduce((e,[t,n])=>(n.default!==void 0&&(e[t]=n.default),e),{})),t):vo(n,t)},F6=({includeDefaultHeaders:e=!1,operation:t,contentType:n,method:r,path:i,server:a=null,example:o,securitySchemes:s,globalCookies:c,requestBodyCompositionSelection:l,defaultDisabledParameters:u=!1})=>{let d=wse(e?bT({method:r,operation:t,exampleName:o??`default`,hideDisabledHeaders:!0,hideOverriddenHeaders:!0,options:{isElectron:Do(),appVersion:Pge}}):{}),f=t[`x-scalar-disable-parameters`]?.[`global-cookies`]?.[o??`default`]??{},p={method:r,url:Wge(a,i),headers:Object.entries(d).map(([e,t])=>({name:e,value:t})),queryString:[],postData:void 0,httpVersion:`HTTP/1.1`,cookies:[],headersSize:-1,bodySize:-1};if(t.parameters){let{url:e,headers:n,queryString:r,cookies:i}=Vge({harRequest:p,parameters:t.parameters,example:o,defaultDisabled:u}),a=c?.filter(t=>Vw({cookie:t,url:e,disabledGlobalCookies:f}))?.map(e=>({name:e.name,value:e.value}))??[];p.url=e,p.headers=n,p.queryString=r,p.cookies=[...a,...i]}let m=Tc(t.requestBody);if(m?.content){let e=Ige({requestBody:m,contentType:n,example:o,requestBodyCompositionSelection:l});if(e&&(p.postData=e,p.bodySize=e.text?.length??-1,e.mimeType)){let t=p.headers.find(e=>e.name.toLowerCase()===`content-type`);t&&!t.value?t.value=e.mimeType:t||p.headers.push({name:`Content-Type`,value:e.mimeType})}}if(s){let{headers:e,queryString:t,cookies:n}=Uge(s);p.headers.push(...e),p.queryString.push(...t),p.cookies.push(...n)}let h=0;for(let e of p.headers)h+=(e.name?.length??0)+2+(e.value?.length??0)+2;return p.headersSize=h,p},I6=`ws://replace.me`,Gge=(e,t,n)=>{try{if(!n.url)return[Error(`Please enter a URL to see a code snippet`),null];let r=n.url.startsWith(`/`)?``:`/`;try{new URL(n.url)}catch{n.url=`${I6}${r}${n.url}`}if(n.postData?.mimeType===`application/json`)try{JSON.parse(n.postData.text||`{}`)}catch(e){return console.error(`[getSnippet] Invalid JSON body`,e),[Error(`Invalid JSON body`),null]}let i=e.replace(`javascript`,`js`);if(O6().hasPlugin(i,t)){let e=O6().print(i,t,n);return e?[null,e.replace(`${I6}${r}`,``)]:[Error(`Error generating snippet`),null]}}catch(e){return console.error(`[getSnippet] Error generating snippet`,e),[Error(`Error generating snippet`),null]}return[Error(`No snippet found`),null]},Kge=({clientId:e,customCodeSamples:t,includeDefaultHeaders:n=!1,operation:r,method:i,path:a,example:o,contentType:s,server:c,securitySchemes:l,globalCookies:u,requestBodyCompositionSelection:d,defaultDisabledParameters:f})=>{try{if(!e)return``;if(e.startsWith(`custom`))return t[A6(t).indexOf(e)]?.source??`Custom example not found`;let p=F6({operation:r,contentType:s,method:i,path:a,server:c,securitySchemes:l,example:o,globalCookies:u,includeDefaultHeaders:n,requestBodyCompositionSelection:d,defaultDisabledParameters:f}),[m,h]=e.split(`/`),[g,_]=Gge(m,h,p);return g?(console.error(`[generateCodeSnippet]`,g),g.message??`Error generating code snippet`):_}catch(e){return console.error(`[generateCodeSnippet]`,e),`Error generating code snippet`}},L6=(e,t)=>Object.entries(e??{}).map(([e,n])=>({lang:e,source:n,...t?{label:t}:{}})),qge=e=>e?(Array.isArray(e)?e:[e]).flatMap(e=>L6(e.request,e.title)):[],Jge=e=>(e??[]).map(e=>({lang:e.language,source:e.code,...e.name?{label:e.name}:{}})),R6=`SDK`,z6=`Code Examples`,Yge=e=>{let t=e[`x-scalar-examples`]??[];if(t.length)return{label:R6,samples:t};let n=L6(e[`x-stainless-snippets`]);if(n.length)return{label:R6,samples:n};let r=qge(e[`x-stainless-examples`]);if(r.length)return{label:R6,samples:r};let i=Jge(e[`x-readme`]?.[`code-samples`]);return i.length?{label:z6,samples:i}:{label:z6,samples:[`x-custom-examples`,`x-codeSamples`,`x-code-samples`].flatMap(t=>e[t]??[])}},Xge=(e=``)=>(e[0]?.toUpperCase()??``)+e.slice(1),Zge={c:`C`,clojure:`Clojure`,cpp:`C++`,"c++":`C++`,csharp:`C#`,"c#":`C#`,css:`CSS`,curl:`cURL`,dart:`Dart`,fsharp:`F#`,"f#":`F#`,go:`Go`,golang:`Go`,graphql:`GraphQL`,html:`HTML`,http:`HTTP`,java:`Java`,javascript:`JavaScript`,js:`JavaScript`,json:`JSON`,kotlin:`Kotlin`,node:`Node.js`,nodejs:`Node.js`,objc:`Objective-C`,"objective-c":`Objective-C`,ocaml:`OCaml`,php:`PHP`,powershell:`PowerShell`,py:`Python`,python:`Python`,r:`R`,ruby:`Ruby`,rust:`Rust`,scala:`Scala`,sh:`Shell`,shell:`Shell`,bash:`Shell`,sql:`SQL`,swift:`Swift`,ts:`TypeScript`,typescript:`TypeScript`,xml:`XML`,yaml:`YAML`,yml:`YAML`},Qge=e=>{if(e)return Zge[e.toLowerCase()]??Xge(e)},$ge=(e,t,n=z6)=>{if(e.length){let r=A6(e);return[{label:n,key:`custom`,options:e.map((e,t)=>{let n=r[t]??`custom/${t}`,i=e.label||Qge(e.lang)||n;return{id:n,lang:e.lang||`plaintext`,title:i,label:i,clientKey:`custom`}})},...t]}return t},e_e=e=>e.flatMap(e=>e.type===`apiKey`?e[`x-scalar-secret-token`]:e?.type===`http`?[e[`x-scalar-secret-token`],e[`x-scalar-secret-username`],e[`x-scalar-secret-password`],Bw(`${e[`x-scalar-secret-username`]}:${e[`x-scalar-secret-password`]}`)]:e.type===`oauth2`?Object.values(e.flows).map(e=>e[`x-scalar-secret-token`]):[]).filter(Boolean),B6={get:{short:`GET`,colorClass:`text-blue`,colorVar:`var(--scalar-color-blue)`,backgroundColor:`bg-blue/10`},post:{short:`POST`,colorClass:`text-green`,colorVar:`var(--scalar-color-green)`,backgroundColor:`bg-green/10`},put:{short:`PUT`,colorClass:`text-orange`,colorVar:`var(--scalar-color-orange)`,backgroundColor:`bg-orange/10`},patch:{short:`PATCH`,colorClass:`text-yellow`,colorVar:`var(--scalar-color-yellow)`,backgroundColor:`bg-yellow/10`},delete:{short:`DEL`,colorClass:`text-red`,colorVar:`var(--scalar-color-red)`,backgroundColor:`bg-red/10`},options:{short:`OPTS`,colorClass:`text-purple`,colorVar:`var(--scalar-color-purple)`,backgroundColor:`bg-purple/10`},head:{short:`HEAD`,colorClass:`text-c-2`,colorVar:`var(--scalar-color-2)`,backgroundColor:`bg-c-2/10`},trace:{short:`TRACE`,colorClass:`text-c-2`,colorVar:`var(--scalar-color-2)`,backgroundColor:`bg-c-2/10`}},V6=e=>{let t=e.trim().toLowerCase();return B6[t]??{short:t,color:`text-c-2`,backgroundColor:`bg-c-2`}},H6=`get`,U6=e=>{if(typeof e!=`string`)return console.warn(`Request method is not a string. Using ${H6} as the default.`),H6;let t=e.trim().toLowerCase();return ET(t)?t:(console.warn(`${e||`Request method`} is not a valid request method. Using ${H6} as the default.`),H6)},W6=T({inheritAttrs:!1,__name:`ScalarCopyBackdrop`,setup(e){let{cx:t}=xc();return(e,n)=>(y(),N(`div`,Ge(Qe(E(t)(`absolute inset-y-0.5 -z-2 left-0 right-0 bg-b-1 rounded`))),null,16))}}),t_e={"aria-hidden":`true`,class:`flex items-center py-1.5 mask-y-from-[calc(100%-8px)] mask-y-to-100%`},n_e={key:0,class:`whitespace-nowrap px-1.5`},r_e={key:0,class:`sr-only`,role:`alert`},i_e={key:1,class:`sr-only`},G6=T({inheritAttrs:!1,__name:`ScalarCopyButton`,props:Fe({showLabel:{type:Boolean},placement:{default:`right`}},{copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:[`update:copied`],setup(e){let t=ce(e,`copied`),{cx:n}=xc(),r=M(()=>t.value?io:ao);return(i,a)=>(y(),N(`button`,o({type:`button`},E(n)(`group/copy-button relative z-0 flex items-center justify-center`,`size-6 p-1.25 -m-1 rounded text-xs bg-b-2`,t.value?`text-c-1`:`text-c-2 hover:text-c-1`)),[O(jt,{enterActiveClass:`transition-transform`,enterFromClass:`scale-0`,enterToClass:`scale-100`,leaveActiveClass:`transition-transform`,leaveFromClass:`scale-100`,leaveToClass:`scale-0`,mode:`out-in`},{default:D(()=>[(y(),k(te(r.value),{class:`size-full`}))]),_:1}),a[4]||=P(`div`,{class:`bg-inherit rounded-[inherit] absolute inset-0 -z-1`},null,-1),P(`div`,{class:v([`group/copy-label absolute flex items-center -inset-y-0.5 rounded`,{"left-0 pl-[100%]":e.placement===`right`,"right-0 pr-[100%]":e.placement===`left`}])},[P(`div`,t_e,[O(jt,{enterActiveClass:`transition-transform ease-out`,enterFromClass:`translate-y-1.5`,enterToClass:`translate-y-0`,leaveActiveClass:`transition-transform ease-in`,leaveFromClass:`translate-y-0`,leaveToClass:`-translate-y-1.5`,mode:`out-in`},{default:D(()=>[t.value?(y(),N(`div`,n_e,[S(i.$slots,`copied`,{},()=>[a[0]||=F(`Copied`,-1)])])):(y(),N(`div`,{key:1,class:v([`whitespace-nowrap px-1.5`,{"group-hocus/copy-button:block hidden":!e.showLabel&&!t.value}])},[S(i.$slots,`copy`,{},()=>[a[1]||=F(`Copy`,-1)])],2))]),_:3})]),t.value?(y(),N(`div`,r_e,[S(i.$slots,`copied`,{},()=>[a[2]||=F(`Copied`,-1)])])):(y(),N(`div`,i_e,[S(i.$slots,`copy`,{},()=>[a[3]||=F(`Copy`,-1)])])),S(i.$slots,`backdrop`,{},()=>[O(W6)])],2)],16))}}),a_e=T({__name:`ScalarCopy`,props:Fe({content:{default:``},placement:{},showLabel:{type:Boolean},duration:{default:1500},immediate:{type:Boolean}},{copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:[`update:copied`],setup(e){let t=ce(e,`copied`);le(()=>{e.immediate&&n(e.content)});let{copy:n,copied:r}=mz({legacy:!0,copiedDuring:e.duration});return Ye(r,e=>t.value=e),(i,a)=>(y(),k(G6,{copied:t.value||E(r),placement:e.placement,showLabel:e.showLabel,onClick:a[0]||=t=>E(n)(e.content)},Se({_:2},[i.$slots.copy?{name:`copy`,fn:D(()=>[S(i.$slots,`copy`)]),key:`0`}:void 0,i.$slots.copied?{name:`copied`,fn:D(()=>[S(i.$slots,`copied`)]),key:`1`}:void 0,i.$slots.backdrop?{name:`backdrop`,fn:D(()=>[S(i.$slots,`backdrop`)]),key:`2`}:void 0]),1032,[`copied`,`placement`,`showLabel`]))}}),K6={bash:`Bash`,c:`C`,clojure:`Clojure`,cpp:`C++`,csharp:`C#`,css:`CSS`,curl:`cURL`,dart:`Dart`,diff:`Diff`,docker:`Docker`,dockerfile:`Dockerfile`,elixir:`Elixir`,fsharp:`F#`,go:`Go`,graphql:`GraphQL`,haskell:`Haskell`,html:`HTML`,http:`HTTP`,ini:`INI`,java:`Java`,javascript:`JavaScript`,json:`JSON`,kotlin:`Kotlin`,less:`Less`,lua:`Lua`,makefile:`Makefile`,markdown:`Markdown`,matlab:`MATLAB`,mojo:`Mojo`,nginx:`Nginx`,objectivec:`Objective-C`,ocaml:`OCaml`,perl:`Perl`,php:`PHP`,plaintext:`Plain Text`,powershell:`PowerShell`,properties:`Properties`,python:`Python`,r:`R`,ruby:`Ruby`,rust:`Rust`,scala:`Scala`,scss:`SCSS`,shell:`Shell`,sql:`SQL`,swift:`Swift`,toml:`TOML`,typescript:`TypeScript`,xml:`XML`,yaml:`YAML`},o_e={class:`hidden group-hocus-within/code-block:inline`},q6=T({inheritAttrs:!1,__name:`ScalarCodeBlockCopy`,props:Fe({showLang:{type:Boolean},content:{},lang:{}},{copied:{type:Boolean,default:!1},copiedModifiers:{}}),emits:[`update:copied`],setup(e){let t=ce(e,`copied`),n=M(()=>typeof e.content==`string`?e.content:JSON.stringify(e.content,null,2)),r=e=>e in K6,{cx:i}=xc();return(a,s)=>(y(),k(E(a_e),o({content:n.value,showLabel:``,copied:t.value,"onUpdate:copied":s[0]||=e=>t.value=e,placement:`left`},{...E(i)(t.value?`opacity-100`:`opacity-0 group-hocus-within/code-block:opacity-100`)}),Se({backdrop:D(()=>[S(a.$slots,`backdrop`)]),_:2},[e.lang?{name:`copy`,fn:D(()=>[P(`span`,o_e,[e.showLang?(y(),N(`span`,{key:0,class:v([`group-hocus/copy-button:sr-only`,{capitalize:!r(e.lang)}])},ye(r(e.lang)?E(K6)[e.lang]:e.lang),3)):A(``,!0),P(`span`,{class:v({"group-hocus/copy-button:not-sr-only sr-only":e.showLang})},`Copy`,2)])]),key:`0`}:void 0]),1040,[`content`,`copied`]))}}),J6=e=>{if(typeof e==`string`)try{let t=JSON.parse(e);return typeof t==`object`&&t?JSON.stringify(t,null,2):e}catch{return e}return typeof e==`object`?s_e(e):e?.toString()??``};function s_e(e){let t=new Set;return JSON.stringify(e,(e,n)=>{if(typeof n==`object`&&n){if(t.has(n))return`[Circular]`;t.add(n)}return n},2)}var c_e={tabindex:`0`,class:`custom-scroll overflow-x-auto p-2 -outline-offset-2 rounded-[inherit] min-h-0 min-w-0 flex-1`},l_e=[`id`,`innerHTML`],u_e=T({inheritAttrs:!1,__name:`ScalarCodeBlock`,props:{content:{},prettyPrintedContent:{},lang:{default:`plaintext`},lineNumbers:{type:Boolean,default:!1},hideCredentials:{},copy:{type:[String,Boolean],default:`hover`}},setup(e){let t=be(),n=M(()=>e.prettyPrintedContent||J6(e.content??``)),r=M(()=>A$(n.value,{lang:e.lang.trim(),languages:MG,lineNumbers:e.lineNumbers,maskCredentials:e.hideCredentials}).slice(5,-6)),i=M(()=>!n.value.includes(`
|
|
228
|
+
`)),a=M(()=>n.value!==null&&n.value!==`null`&&n.value!==`404 Not Found`),{cx:o}=xc();return(s,c)=>(y(),N(`div`,Ge(Qe(E(o)(`scalar-code-block group/code-block flex flex-col`,`relative bg-b-1 min-h-0 min-w-0 focus-visible:outline`))),[P(`div`,c_e,[P(`pre`,{id:E(t),class:`m-0 bg-transparent text-nowrap whitespace-pre w-fit`,innerHTML:r.value},null,8,l_e)]),e.copy&&a.value?(y(),k(E(q6),{key:0,class:v([`scalar-code-copy absolute`,[i.value?`top-1/2 -translate-y-1/2 m-0 right-1`:`top-2.5 right-2.5`,{"opacity-100":e.copy===`always`}]]),content:n.value,showLang:!i.value,lang:e.lang,"aria-controls":E(t)},{backdrop:D(()=>[O(W6,{class:v([`scalar-code-copy-backdrop`,[i.value?`-inset-y-0.75 -right-1 group-hocus-within/code-block:-left-0.5 left-3`:`-right-1.5 -top-1`]])},null,8,[`class`])]),_:1},8,[`class`,`content`,`showLang`,`lang`,`aria-controls`])):A(``,!0)],16))}}),d_e={key:0,class:`shrink-0 whitespace-nowrap text-xs tabular-nums text-c-3`},f_e=[`disabled`],p_e=[`disabled`],m_e=BT(T({__name:`ScalarVirtualTextSearch`,props:{query:{},matchCount:{},activeMatchIndex:{}},emits:[`update:query`,`next`,`prev`,`close`],setup(e,{expose:t,emit:n}){let r=e,i=n,a=j(null),o=j(r.query);Ye(()=>r.query,e=>{o.value=e}),Ye(o,e=>{i(`update:query`,e)});let s=()=>{Ne(()=>a.value?.focus())},c=e=>{e.key===`Enter`&&(e.preventDefault(),e.shiftKey?i(`prev`):i(`next`)),e.key===`Escape`&&(e.preventDefault(),i(`close`))};return t({focus:s}),(t,n)=>(y(),N(`div`,{class:`scalar-virtual-text-search ml-auto mr-2 mt-2 flex h-fit w-fit items-center gap-1 overflow-visible rounded-lg bg-b-2 px-2 py-1 shadow-md`,onClick:n[4]||=Bn(()=>{},[`stop`])},[O(E(so),{class:`pointer-events-none size-3.5 shrink-0 text-c-3`}),Ue(P(`input`,{ref_key:`searchInputRef`,ref:a,"onUpdate:modelValue":n[0]||=e=>o.value=e,"aria-label":`Search in text`,autocomplete:`off`,class:`scalar-virtual-text-search-input min-w-0 w-36 appearance-none border-none bg-transparent px-1 py-0.5 text-xs text-c-1 outline-none`,placeholder:`Find...`,spellcheck:`false`,type:`search`,onKeydown:c},null,544),[[kn,o.value]]),o.value?(y(),N(`span`,d_e,ye(e.matchCount>0?`${e.activeMatchIndex+1} of ${e.matchCount}`:`No results`),1)):A(``,!0),n[5]||=P(`span`,{class:`mx-0.5 h-3.5 w-px bg-b-3`},null,-1),P(`button`,{"aria-label":`Previous match`,class:`flex size-5 items-center justify-center rounded text-c-3 hover:bg-b-3 hover:text-c-1 disabled:pointer-events-none disabled:opacity-30`,disabled:e.matchCount===0,title:`Previous match (Shift+Enter)`,type:`button`,onClick:n[1]||=e=>i(`prev`)},[O(E(wee),{class:`size-3`})],8,f_e),P(`button`,{"aria-label":`Next match`,class:`flex size-5 items-center justify-center rounded text-c-3 hover:bg-b-3 hover:text-c-1 disabled:pointer-events-none disabled:opacity-30`,disabled:e.matchCount===0,title:`Next match (Enter)`,type:`button`,onClick:n[2]||=e=>i(`next`)},[O(E(to),{class:`size-3`})],8,p_e),P(`button`,{"aria-label":`Close search`,class:`flex size-5 items-center justify-center rounded text-c-3 hover:bg-b-3 hover:text-c-1`,title:`Close (Escape)`,type:`button`,onClick:n[3]||=e=>i(`close`)},[O(E(po),{class:`size-3`})])]))}}),[[`__scopeId`,`data-v-95edadbb`]]),h_e={key:0,class:`sticky top-0 z-10 flex h-0 w-full justify-end overflow-visible`},g_e=BT(T({__name:`ScalarVirtualText`,props:{text:{},lineHeight:{default:20},containerClass:{default:``},contentClass:{default:``},lineClass:{default:``},searchable:{type:Boolean,default:!1}},setup(e){let t=e,n=j(null),r=j(null),i=j(0),a=j(0),o=j(``),s=j(!1),c=j(0),l=M(()=>t.text.split(`
|
|
229
|
+
`)),u=M(()=>l.value.length*t.lineHeight),d=M(()=>Math.floor(i.value/t.lineHeight)),f=M(()=>Math.min(Math.ceil((i.value+a.value)/t.lineHeight),l.value.length)),p=M(()=>Math.max(0,d.value-10)),m=M(()=>{let e=Math.min(l.value.length,f.value+10);return l.value.slice(p.value,e)}),h=M(()=>p.value*t.lineHeight),g=M(()=>{let e=o.value;if(!e)return[];let t=e.toLowerCase(),n=[];for(let r=0;r<l.value.length;r++){let i=l.value[r];if(!i)continue;let a=i.toLowerCase(),o=0;for(;o<a.length;){let i=a.indexOf(t,o);if(i===-1)break;n.push({line:r,start:i,end:i+e.length}),o=i+t.length}}return n}),b=M(()=>{let e=new Set;for(let t of g.value)e.add(t.line);return e});Ye(()=>g.value.length,e=>{e===0?c.value=0:c.value>=e&&(c.value=e-1)});let ee=e=>{if(!n.value)return;let r=e.line*t.lineHeight,i=n.value.scrollTop,a=i+n.value.clientHeight;(r<i||r+t.lineHeight>a)&&(n.value.scrollTop=r-n.value.clientHeight/2)},te=e=>{let t=g.value[e];t&&(c.value=e,ee(t))},S=()=>{g.value.length!==0&&te((c.value+1)%g.value.length)},ne=()=>{g.value.length!==0&&te((c.value-1+g.value.length)%g.value.length)},re=()=>{s.value=!0,Ne(()=>r.value?.focus())},ie=()=>{s.value=!1,o.value=``,c.value=0},ae=e=>{t.searchable&&((e.metaKey||e.ctrlKey)&&e.key===`f`&&(e.preventDefault(),e.stopPropagation(),re()),e.key===`Escape`&&s.value&&(e.preventDefault(),ie()))};Ye(o,()=>{c.value=0;let e=g.value[0];e&&ee(e)});let oe=()=>n.value&&(i.value=n.value.scrollTop),C=()=>n.value&&(a.value=n.value.clientHeight);le(()=>{C(),window.addEventListener(`resize`,C)}),se(()=>{window.removeEventListener(`resize`,C)});let w=e=>{let t=l.value[e]??``;if(!o.value||!b.value.has(e))return[{text:t,highlight:!1,active:!1}];let n=g.value.filter(t=>t.line===e),r=[],i=0;for(let e of n){e.start>i&&r.push({text:t.slice(i,e.start),highlight:!1,active:!1});let n=g.value.indexOf(e)===c.value;r.push({text:t.slice(e.start,e.end),highlight:!0,active:n}),i=e.end}return i<t.length&&r.push({text:t.slice(i),highlight:!1,active:!1}),r},ce=e=>p.value+e;return(i,a)=>(y(),N(`div`,{ref_key:`containerRef`,ref:n,class:v([`scalar-virtual-text relative overflow-auto`,e.containerClass]),tabindex:`0`,onKeydown:ae,onScroll:oe},[e.searchable&&s.value?(y(),N(`div`,h_e,[O(m_e,{ref_key:`searchRef`,ref:r,query:o.value,"onUpdate:query":a[0]||=e=>o.value=e,activeMatchIndex:c.value,matchCount:g.value.length,onClose:ie,onNext:S,onPrev:ne},null,8,[`query`,`activeMatchIndex`,`matchCount`])])):A(``,!0),P(`div`,{style:x({height:`${u.value}px`})},null,4),P(`code`,{class:v([`scalar-virtual-text-content absolute left-0 right-0 top-0`,e.contentClass]),style:x({transform:`translateY(${h.value}px)`})},[(y(!0),N(Me,null,_(m.value,(n,r)=>(y(),N(`div`,{key:p.value+r,class:v([`scalar-virtual-text-line`,e.lineClass]),style:x({height:`${t.lineHeight}px`,lineHeight:`${t.lineHeight}px`})},[o.value&&b.value.has(ce(r))?(y(!0),N(Me,{key:0},_(w(ce(r)),(e,t)=>(y(),N(Me,{key:t},[e.highlight?(y(),N(`mark`,{key:0,class:v([`scalar-virtual-text-highlight`,e.active?`scalar-virtual-text-highlight-active`:``])},ye(e.text),3)):(y(),N(Me,{key:1},[F(ye(e.text),1)],64))],64))),128)):(y(),N(Me,{key:1},[F(ye(n),1)],64))],6))),128))],6)],34))}}),[[`__scopeId`,`data-v-77b9d685`]]),Y6=(e={})=>{let{delay:t=328,maxWait:n}=e,r=new Map,i=new Map,a=new Map,o=()=>{r.forEach(clearTimeout),i.forEach(clearTimeout),r.clear(),i.clear(),a.clear()},s=e=>{let t=a.get(e),n=r.get(e);n!==void 0&&(clearTimeout(n),r.delete(e));let o=i.get(e);if(o!==void 0&&(clearTimeout(o),i.delete(e)),a.delete(e),t!==void 0)try{t()}catch{}};return{execute:(e,o)=>{a.set(e,o);let c=r.get(e);c!==void 0&&clearTimeout(c),r.set(e,setTimeout(()=>s(e),t)),n!==void 0&&!i.has(e)&&i.set(e,setTimeout(()=>s(e),n))},cleanup:o,flush:e=>{a.has(e)&&s(e)},flushAll:()=>{let e=[...a.keys()];for(let t of e)s(t)}}},__e=(e={})=>{let{debug:t=!1}=e,n=new Map,r=new Set,i=[],a=null,{execute:o,flushAll:s}=Y6({delay:328}),c=e=>{let t=n.get(e)??new Set;return n.set(e,t),t},l=()=>{if(i.length!==0){if(t)if(i.length===1){let e=i[0];e&&console.log(`[EventBus] ${e.message}`,...e.args)}else{console.groupCollapsed(`[EventBus] ${i.length} operations`);for(let{message:e,args:t}of i)console.log(e,...t);console.groupEnd()}i.length=0,a=null}},u=(e,...n)=>{t&&(i.push({message:e,args:n}),a&&clearTimeout(a),a=setTimeout(l,500))},d=(e,t)=>{let n=r=>{p(e,n),t(r)};return f(e,n)},f=(e,t)=>{let n=c(e);return n.add(t),u(`Added listener for "${String(e)}" (${n.size} total)`),()=>p(e,t)},p=(e,t)=>{let r=n.get(e);r&&(r.delete(t),u(`Removed listener for "${String(e)}" (${r.size} remaining)`),r.size===0&&n.delete(e))},m=e=>(r.add(e),u(`Added wildcard listener (${r.size} total)`),()=>h(e)),h=e=>{r.delete(e),u(`Removed wildcard listener (${r.size} remaining)`)},g=(e,t,i)=>{let a=i?.skipUnpackProxy?t:$c(t,{depth:5}),o=n.get(e),s=o!==void 0&&o.size>0;if(!s&&r.size===0){u(`🛑 No listeners for "${String(e)}"`);return}if(s&&o){u(`Emitting "${String(e)}" to ${o.size} listener(s)`,t);let n=Array.from(o);for(let t of n)try{t(a)}catch(t){console.error(`[EventBus] Error in listener for "${String(e)}":`,t)}}if(r.size>0){u(`Emitting "${String(e)}" to ${r.size} wildcard listener(s)`,t);let n={event:e,payload:a},i=Array.from(r);for(let t of i)try{t(n)}catch(t){console.error(`[EventBus] Error in wildcard listener for "${String(e)}":`,t)}}};return{on:f,once:d,off:p,onAny:m,offAny:h,emit:(...e)=>{let[t,n,r]=e;if(!r?.debounceKey){g(t,n,r);return}let i=`${t}-${r.debounceKey}`;o(i,()=>g(t,n,r))},flushDebouncedEmits:()=>{s()}}},v_e=e=>e!==void 0&&Object.keys(e).length>0,X6=(e,{includePath:t=!0,includeEnv:n=!0}={})=>[t&&mo.PATH,n&&mo.VARIABLES].flatMap(t=>t?[...e.matchAll(t)].map(e=>e[1]?.trim()).filter(e=>e!==void 0):[]),Z6=(e,t)=>{let n={};for(let r of t){let t=e.indexOf(`{${r}}`);t!==-1&&(n[r]=t)}return n},y_e=(e,t,n,r)=>{let i=X6(t,{includePath:!0,includeEnv:!1}).filter(e=>e!==void 0),a=X6(e,{includePath:!0,includeEnv:!1}).filter(e=>e!==void 0),o=Z6(t,i),s=Z6(e,a),c=Object.create(null);for(let e of n){let t=r(e);t?.in===`path`&&(c[t.name]=e)}let l=new Set,u=new Set,d=[];for(let e of a){if(c[e]){l.add(e),u.add(c[e]);continue}let t=s[e],n=i.find(e=>o[e]===t&&!l.has(e));if(n&&c[n]!==void 0){let t=c[n];t&&(r(t).name=e,u.add(t)),l.add(n);continue}d.push({in:`path`,name:e})}let f=[];for(let e of n){let t=r(e),n=$c(e,{depth:1});if(t?.in!==`path`){f.push(n);continue}u.has(e)&&f.push(n)}return f.concat(d)},Q6=e=>!!(e?.[`x-internal`]||e?.[`x-scalar-ignore`]),b_e=/[^\p{L}\p{M}\p{N}\s_-]/gu,x_e=/[\s_-]+/g,S_e=/^-+|-+$/g,C_e=/\p{M}/gu,$6=new Map,e8=(e,t={})=>{let{allowedSpecialChars:n=``,preserveCase:r=!1,normalizationForm:i=`NFC`,stripAccents:a=!1}=t,o=(()=>{if(n.length===0)return b_e;let e=$6.get(n);if(e)return e;let t=n.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,`\\$&`),r=RegExp(`[^\\p{L}\\p{M}\\p{N}\\s_\\-${t}]`,`gu`);return $6.set(n,r),r})(),s=e.slice(0,255).trim(),c=a?s.normalize(`NFD`).replace(C_e,``):s.normalize(i);return(r?c:c.toLowerCase()).replace(o,``).replace(x_e,`-`).replace(S_e,``)},w_e=(e,t)=>{let n=t?.modelsSectionLabel??`Models`,r=e8(n),i=n=>{let a=e8(e);if(n.type===`text`)return t?.generateHeadingSlug?t?.generateHeadingSlug({slug:n.slug}):n.slug?`${a}/description/${n.slug}`:`${a}/`;if(n.type===`tag`){let e=n.isGroup?`tag-group`:`tag`;return t?.generateTagSlug?`${a}/${e}/${t.generateTagSlug(n.tag)}`:`${a}/${e}/${e8(n.tag.name??``)}`}if(n.type===`asyncapi-channel`)return`${n.parentTag?`${i({type:`tag`,tag:n.parentTag.tag,parentId:n.parentTag.id})}/`:`${a}/`}asyncapi-channel/${e8(n.channelName)}`;if(n.type===`asyncapi-message`)return`${n.parentId}/asyncapi-message/${e8(n.messageName)}`;if(n.type===`asyncapi-operation`)return`${n.parentId}/asyncapi-operation/${e8(n.operationName)}`;if(n.type===`operation`){let e=n.parentTag?`${i({type:`tag`,tag:n.parentTag.tag,parentId:n.parentTag.id})}/`:`${a}/`;return t?.generateOperationSlug?`${e}${t.generateOperationSlug({path:n.path,operationId:n.operation.operationId,method:n.method.toUpperCase(),summary:n.operation.summary})}`:`${e}${n.method.toUpperCase()}${n.path}`}if(n.type===`webhook`){let e=n.parentTag?`${i({type:`tag`,parentId:n.parentTag.id,tag:n.parentTag.tag})}/`:`${a}/`;return t?.generateWebhookSlug?`${e}webhook/${t.generateWebhookSlug({name:n.name,method:n.method?.toUpperCase()})}`:`${e}webhook/${n.method?.toUpperCase()}/${e8(n.name,{allowedSpecialChars:`.`})}`}if(n.type===`model`){if(!n.name)return`${a}/${r}`;let e=n.parentTag?`${i({type:`tag`,parentId:n.parentTag.id,tag:n.parentTag.tag})}/`:`${a}/`;return t?.generateModelSlug?`${e}${r}/${t.generateModelSlug({name:n.name})}`:`${e}${r}/${e8(n.name,{preserveCase:!0})}`}return n.type===`example`?`${n.parentId}/example/${e8(n.name)}`:n.type===`document`?a:(console.warn(`[WARNING]: unhandled id generation for navigation item:`,n),`unknown-id`)};return{hideModels:t?.hideModels??!1,modelsSectionLabel:n,operationsSorter:t?.operationsSorter,tagsSorter:t?.tagsSorter,operationTitleSource:t?.operationTitleSource,generateId:i}},T_e={key:1,class:`rounded border bg-b-2 p-3 text-sm`},E_e={key:0,class:`mt-2 rounded border bg-b-1 p-2 font-code text-c-2`},D_e=T({__name:`ScalarErrorBoundary`,setup(e){let t=j(!1),n=j();return re((e,r,i)=>(console.error(`[ERROR]`,e,i),t.value=!0,n.value=e,!1)),(e,r)=>t.value?(y(),N(`div`,T_e,[r[0]||=P(`div`,{class:`p-2`},`Oops, something went wrong here.`,-1),n.value?(y(),N(`div`,E_e,ye(n.value?.name)+`: `+ye(n.value?.message),1)):A(``,!0)])):S(e.$slots,`default`,{},void 0,void 0,0)}});function O_e(e,t){return t.reduce((e,t)=>{if(e!=null)return e[t]},e)}var k_e={key:0,class:`close-button z-10 fixed right-2 top-2`},A_e={};function t8(){return ze({open:!1,show(){this.open=!0},hide(){this.open=!1}})}var n8=BT(T({...A_e,__name:`ScalarModal`,props:{state:{},title:{},bodyClass:{},maxWidth:{},size:{default:`md`},variant:{}},emits:[`close`],setup(e,{emit:t}){let n=t,r=yc({base:[`scalar-modal`,`flex flex-col relative mb-0 rounded-lg bg-b-1 p-0 text-left leading-snug text-c-1 opacity-0 w-[calc(100vw-12px)] md:w-[calc(100vw-16px)] lg:w-[calc(100vw-32px)]`].join(` `),variants:{size:{xxs:`mt-[20svh] max-h-[60svh] max-w-[360px]`,xs:`mt-[20svh] max-h-[60svh] max-w-[480px]`,sm:`mt-[20svh] max-h-[60svh] max-w-[540px]`,md:`mt-[20svh] max-h-[60svh] max-w-[640px]`,lg:`m-auto max-h-[80svh] max-w-[800px]`,xl:`m-auto max-h-[90svh] max-w-[1000px]`,full:`full-size-styles max-h-dvh mt-0 lg:w-full`},variant:{form:`scalar-modal-form`,search:`scalar-modal-search mt-[15svh] max-h-[60svh] max-w-[540px]`,error:`scalar-modal-error`}}}),i=yc({base:[`scalar-modal-body`,`relative flex-1 min-h-0 p-3`].join(` `),variants:{variant:{form:`overflow-visible`,search:`flex flex-col !m-0 overflow-hidden p-0`,error:`overflow-y-scroll`},size:{xxs:``,xs:``,sm:``,md:``,lg:``,xl:`m-0 p-0`,full:` rounded-none`}}});return(t,a)=>(y(),k(E(Yi),{open:e.state.open,onClose:a[1]||=()=>{e.state.hide(),n(`close`)}},{default:D(()=>[P(`div`,{class:v(E(bc)(e.size===`full`?`scalar-modal-layout-full`:`scalar-modal-layout`,`fixed left-0 top-0 flex items-start justify-center`,`z-overlay h-dvh w-dvw`,`bg-backdrop opacity-0 dark:bg-backdrop-dark`,e.size===`full`&&`flex`))},[O(E(Xi),{class:v(E(r)({size:e.size,variant:e.variant})),style:x({maxWidth:e.maxWidth})},{default:D(()=>[e.title?(y(),k(E(Zi),{key:0,class:`scalar-modal-header m-0 -mb-1 rounded-lg pt-3 px-3 text-left text-sm font-medium text-c-1`},{default:D(()=>[F(ye(e.title),1)]),_:1})):A(``,!0),e.size===`full`?(y(),N(`div`,{key:1,class:v(e.bodyClass)},[S(t.$slots,`default`,{},void 0,!0)],2)):(y(),N(`div`,{key:2,class:v(E(bc)(E(i)({size:e.size,variant:e.variant}),e.bodyClass))},[S(t.$slots,`default`,{},void 0,!0)],2))]),_:3},8,[`class`,`style`]),e.size===`full`?(y(),N(`div`,k_e,[O(E(Q4),{class:`hover:bg-b-3 focus:outline-none`,icon:E(po),label:`Close modal`,onClick:a[0]||=t=>e.state.hide()},null,8,[`icon`])])):A(``,!0)],2)]),_:3},8,[`open`]))}}),[[`__scopeId`,`data-v-5bb1dcc2`]]),j_e={class:`text-c-2 mb-4 text-sm leading-normal`},M_e={class:`flex justify-between gap-2`},N_e=T({__name:`DeleteRequestAuthModal`,props:{state:{},label:{}},emits:[`close`,`delete`],setup(e,{emit:t}){let n=t,r=()=>{n(`delete`)};return(t,i)=>(y(),k(E(n8),{size:`xxs`,state:e.state,title:`Delete Security Scheme`},{default:D(()=>[P(`p`,j_e,` This cannot be undone. You're about to delete the `+ye(e.label)+` security scheme from the collection. `,1),P(`div`,M_e,[O(E(qF),{class:`flex h-8 cursor-pointer items-center gap-1.5 px-3 shadow-none focus:outline-none`,type:`button`,variant:`outlined`,onClick:i[0]||=e=>n(`close`)},{default:D(()=>[...i[1]||=[F(` Cancel `,-1)]]),_:1}),O(E(qF),{class:`flex h-8 cursor-pointer items-center gap-1.5 px-3 shadow-none focus:outline-none`,type:`submit`,onClick:r},{default:D(()=>[F(` Delete `+ye(e.label),1)]),_:1})])]),_:1},8,[`state`]))}}),P_e={apiKeyCookie:{label:`API Key in Cookies`,payload:{type:`apiKey`,in:`cookie`,name:`apiKeyCookie`}},apiKeyHeader:{label:`API Key in Headers`,payload:{type:`apiKey`,in:`header`,name:`apiKeyHeader`}},apiKeyQuery:{label:`API Key in Query Params`,payload:{type:`apiKey`,in:`query`,name:`apiKeyQuery`}},httpBasic:{label:`HTTP Basic`,payload:{type:`http`,scheme:`basic`}},httpBearer:{label:`HTTP Bearer`,payload:{type:`http`,scheme:`bearer`}},oauth2Implicit:{label:`Oauth2 Implicit Flow`,payload:{type:`oauth2`,flows:{implicit:{authorizationUrl:``,refreshUrl:``,scopes:{}}}}},oauth2Password:{label:`Oauth2 Password Flow`,payload:{type:`oauth2`,flows:{password:{tokenUrl:``,refreshUrl:``,scopes:{}}}}},oauth2ClientCredentials:{label:`Oauth2 Client Credentials`,payload:{type:`oauth2`,flows:{clientCredentials:{tokenUrl:``,refreshUrl:``,scopes:{}}}}},oauth2AuthorizationFlow:{label:`Oauth2 Authorization Code`,payload:{type:`oauth2`,flows:{authorizationCode:{authorizationUrl:``,tokenUrl:``,refreshUrl:``,"x-usePkce":`no`,scopes:{}}}}}},r8=e=>{let t=0,n=0,r=e.length,i=r&15,a=r-i,o=2277735313,s=1291169091,c=1390208809,l=944331445;for(let r=0;r<a;r+=16){let i=e.charCodeAt(r)&255|(e.charCodeAt(r+1)&255)<<8|(e.charCodeAt(r+2)&255)<<16|(e.charCodeAt(r+3)&255)<<24,a=e.charCodeAt(r+4)&255|(e.charCodeAt(r+5)&255)<<8|(e.charCodeAt(r+6)&255)<<16|(e.charCodeAt(r+7)&255)<<24,u=e.charCodeAt(r+8)&255|(e.charCodeAt(r+9)&255)<<8|(e.charCodeAt(r+10)&255)<<16|(e.charCodeAt(r+11)&255)<<24,d=e.charCodeAt(r+12)&255|(e.charCodeAt(r+13)&255)<<8|(e.charCodeAt(r+14)&255)<<16|(e.charCodeAt(r+15)&255)<<24;i=Math.imul(i,o),i=i<<15|i>>>17,i=Math.imul(i,s),t^=i,t=t<<13|t>>>19,t=Math.imul(t,5)+3864292196,a=Math.imul(a,s),a=a<<16|a>>>16,a=Math.imul(a,c),n^=a,n=n<<17|n>>>15,n=Math.imul(n,5)+461845907,u=Math.imul(u,c),u=u<<17|u>>>15,u=Math.imul(u,l),t^=u,t=t<<15|t>>>17,t=Math.imul(t,5)+1390208809,d=Math.imul(d,l),d=d<<18|d>>>14,d=Math.imul(d,o),n^=d,n=n<<13|n>>>19,n=Math.imul(n,5)+944331445}if(i>0){let r=0,u=0,d=0,f=0;i>=15&&(f^=(e.charCodeAt(a+14)&255)<<16),i>=14&&(f^=(e.charCodeAt(a+13)&255)<<8),i>=13&&(f^=e.charCodeAt(a+12)&255,f=Math.imul(f,l),f=f<<18|f>>>14,f=Math.imul(f,o),n^=f),i>=12&&(d^=(e.charCodeAt(a+11)&255)<<24),i>=11&&(d^=(e.charCodeAt(a+10)&255)<<16),i>=10&&(d^=(e.charCodeAt(a+9)&255)<<8),i>=9&&(d^=e.charCodeAt(a+8)&255,d=Math.imul(d,c),d=d<<17|d>>>15,d=Math.imul(d,l),t^=d),i>=8&&(u^=(e.charCodeAt(a+7)&255)<<24),i>=7&&(u^=(e.charCodeAt(a+6)&255)<<16),i>=6&&(u^=(e.charCodeAt(a+5)&255)<<8),i>=5&&(u^=e.charCodeAt(a+4)&255,u=Math.imul(u,s),u=u<<16|u>>>16,u=Math.imul(u,c),n^=u),i>=4&&(r^=(e.charCodeAt(a+3)&255)<<24),i>=3&&(r^=(e.charCodeAt(a+2)&255)<<16),i>=2&&(r^=(e.charCodeAt(a+1)&255)<<8),i>=1&&(r^=e.charCodeAt(a)&255,r=Math.imul(r,o),r=r<<15|r>>>17,r=Math.imul(r,s),t^=r)}return t^=r,n^=r,t+=n,n+=t,t^=t>>>16,t=Math.imul(t,2246822507),t^=t>>>13,t=Math.imul(t,3266489909),t^=t>>>16,n^=n>>>16,n=Math.imul(n,2246822507),n^=n>>>13,n=Math.imul(n,3266489909),n^=n>>>16,t+=n,n+=t,(t>>>0).toString(16).padStart(8,`0`)+(n>>>0).toString(16).padStart(8,`0`)},i8=e=>JSON.stringify(Object.keys(e)),a8=({name:e,value:t})=>({id:r8(JSON.stringify(t)),label:e,value:t,isDeletable:!0}),o8=e=>a8({name:Object.keys(e).join(` & `),value:e}),s8=(e,t)=>{let n=Object.keys(e);if(n.length>1)return n.some(e=>{let n=Tc(t[e]);return n?Q6(n):!1})?void 0:o8(e);if(n[0]){let r=Tc(t[n[0]]);return!r||Q6(r)?void 0:a8({name:n[0],value:e})}},F_e=e=>{let t=null;for(let[n,r]of Object.entries(e)){let e=Tc(r);if(e?.type!==`oauth2`||Q6(e))continue;let i=e.flows;if(!i)continue;let a=e[`x-default-scopes`]??[];if(i.authorizationCode&&!Q6(i.authorizationCode))return{name:n,flows:i,flowType:`authorizationCode`,scopes:a};i.implicit&&!Q6(i.implicit)&&!t&&(t={name:n,flows:i,flowType:`implicit`,scopes:a})}return t},I_e=(e,t,n,r=!1)=>{let i=new Map(n.map(e=>[i8(e),e])),{requiredFormatted:a,requiredSchemeNames:o,existingIds:s}=e.reduce((e,n)=>{let r=s8(i.get(i8(n))??n,t);r&&(e.requiredFormatted.push(r),e.existingIds.add(r.id));for(let t of Object.keys(n))e.requiredSchemeNames.add(t);return e},{requiredFormatted:[],requiredSchemeNames:new Set,existingIds:new Set}),c=[];for(let[e,n]of Object.entries(t)){if(o.has(e))continue;let t=Tc(n);if(t&&!Q6(t)){let t=a8({name:e,value:{[e]:[]}});c.push(t),s.add(t.id)}}for(let e of n){let n=s8(e,t);n&&!s.has(n.id)&&(c.push(n),s.add(n.id))}let l=[{label:`Required authentication`,options:a},{label:`Available authentication`,options:c}];return r?(l.push({label:`Add new authentication`,options:Object.entries(P_e).map(([e,t])=>({id:e,label:t.label,value:{[e]:[]},payload:t.payload,isDeletable:!1}))}),l):a.length?l:c},L_e=e=>{let t=new URL(e);return{searchParams:t.searchParams,hashParams:new URLSearchParams(t.hash.slice(1))}},c8=(e,t,n)=>{let r=e.get(n);if(r!==null)return{params:e,value:r};let i=t.get(n);return i===null?{params:null,value:null}:{params:t,value:i}},l8=(e,t=`access_token`)=>{try{let{searchParams:n,hashParams:r}=L_e(e()),i=c8(n,r,t),a=c8(n,r,`code`);return{accessToken:i.value,accessTokenParams:i.params,code:a.value,codeParams:a.params,error:n.get(`error`)??r.get(`error`),errorDescription:n.get(`error_description`)??r.get(`error_description`),refreshToken:n.get(`refresh_token`)??r.get(`refresh_token`)}}catch{return{accessToken:null,accessTokenParams:null,code:null,codeParams:null,error:null,errorDescription:null,refreshToken:null}}},u8=(e,t={})=>Cw(Sw(e?.url??``,vT(e)),t),d8=(e,t={})=>{let n=u8(e,t);return n?ho(n)?typeof window>`u`?{}:{basePath:n}:{baseUrl:n}:{}},R_e=()=>{let e=new Uint8Array(32);return crypto.getRandomValues(e),Rw(e,!0)},z_e=async(e,t)=>{if(t===`plain`)return e;if(typeof crypto?.subtle?.digest!=`function`)return console.warn(`SHA-256 is only supported when using https, using a plain text code challenge instead.`),e;let n=new TextEncoder().encode(e),r=await crypto.subtle.digest(`SHA-256`,n);return Rw(new Uint8Array(r),!0)},f8=async(e,t,n,r,i,a={},o,s)=>{let c=e[t];try{if(!c)return[Error(`Flow not found`),null];let l=n.join(` `);if(t===`clientCredentials`||t===`password`)return p8(e,t,l,{proxyUrl:i,customFetch:o},r,a);let u=(Math.random()+1).toString(36).substring(2,10),d=yo(e[t][`x-scalar-secret-auth-url`]??e[t].authorizationUrl,d8(r,a)),f=new URL(d),p=null;if(t===`implicit`)f.searchParams.set(`response_type`,`token`);else if(t===`authorizationCode`){let n=e[t];if(f.searchParams.set(`response_type`,`code`),n[`x-usePkce`]!==`no`){let e=R_e(),t=await z_e(e,n[`x-usePkce`]);p={codeVerifier:e,codeChallenge:t,codeChallengeMethod:n[`x-usePkce`]===`SHA-256`?`S256`:`plain`},f.searchParams.set(`code_challenge`,t),f.searchParams.set(`code_challenge_method`,p.codeChallengeMethod)}}let m=e[t];if(!s)if(m[`x-scalar-secret-redirect-uri`].startsWith(`/`)){let e=u8(r,a)||window.location.origin+window.location.pathname,t=new URL(m[`x-scalar-secret-redirect-uri`],e).toString();f.searchParams.set(`redirect_uri`,t)}else f.searchParams.set(`redirect_uri`,m[`x-scalar-secret-redirect-uri`]);if(c[`x-scalar-security-query`]&&Object.keys(c[`x-scalar-security-query`]).forEach(e=>{let t=c[`x-scalar-security-query`]?.[e];t&&f.searchParams.set(e,t)}),f.searchParams.set(`client_id`,c[`x-scalar-secret-client-id`]),f.searchParams.set(`state`,u),l&&f.searchParams.set(`scope`,l),s){let[n,d]=await s({authorizationUrl:f.toString()});if(n||!d)return[n??Error(`Failed to capture the OAuth2 redirect`),null];let{accessToken:m,accessTokenParams:h,code:g,codeParams:_,error:v,errorDescription:y,refreshToken:b}=l8(()=>d.callbackUrl,c[`x-tokenName`]||`access_token`);return v?[Error(`OAuth error: ${v}${y?` (${y})`:``}`),null]:m?(h?.get(`state`)??null)===u?[null,{accessToken:m,...b?{refreshToken:b}:{}}]:[Error(`State mismatch`),null]:g&&t===`authorizationCode`?(_?.get(`state`)??null)===u?p8(e,t,l,{code:g,pkce:p,proxyUrl:i,customFetch:o,redirectUri:d.redirectUri},r,a):[Error(`State mismatch`),null]:[Error(`No authorization code or access token was returned`),null]}let h=window.open(f,`openAuth2Window`,`left=100,top=100,width=800,height=600`);return h?new Promise(n=>{let s=setInterval(()=>{let{accessToken:d,accessTokenParams:f,code:m,codeParams:g,error:_,errorDescription:v,refreshToken:y}=l8(()=>h.location.href,c[`x-tokenName`]||`access_token`);if(h.closed||d||m||_){if(clearInterval(s),h.close(),_){n([Error(`OAuth error: ${_}${v?` (${v})`:``}`),null]);return}if(d){(f?.get(`state`)??null)===u?n([null,{accessToken:d,...y?{refreshToken:y}:{}}]):n([Error(`State mismatch`),null]);return}if(m&&t===`authorizationCode`){(g?.get(`state`)??null)===u?p8(e,t,l,{code:m,pkce:p,proxyUrl:i,customFetch:o},r,a).then(n).catch(e=>{n([e instanceof Error?e:Error(`Failed to get an access token`,{cause:e}),null])}):n([Error(`State mismatch`),null]);return}n([Error(`Window was closed without granting authorization`),null])}},200)}):[Error(`Failed to open auth window`),null]}catch(e){return[e instanceof Error?e:Error(`Failed to authorize oauth2 flow`,{cause:e}),null]}},p8=async(e,t,n,{code:r,pkce:i,proxyUrl:a,customFetch:o=fetch,redirectUri:s}={},c,l={})=>{let u=e[t];if(!u)return[Error(`OAuth2 flow was not defined`),null];let d=new URLSearchParams;n&&(t===`clientCredentials`||t===`password`)&&d.set(`scope`,n);let f=u[`x-scalar-credentials-location`]===`body`,p=!!u[`x-scalar-secret-client-secret`];if((f||t===`authorizationCode`&&!p)&&d.set(`client_id`,u[`x-scalar-secret-client-id`]),f&&p&&d.set(`client_secret`,u[`x-scalar-secret-client-secret`]),s?d.set(`redirect_uri`,s):`x-scalar-secret-redirect-uri`in u&&u[`x-scalar-secret-redirect-uri`]&&d.set(`redirect_uri`,u[`x-scalar-secret-redirect-uri`]),r)d.set(`code`,r),d.set(`grant_type`,`authorization_code`),i&&d.set(`code_verifier`,i.codeVerifier);else if(t===`password`){let n=e[t];d.set(`grant_type`,`password`),d.set(`username`,n[`x-scalar-secret-username`]),d.set(`password`,n[`x-scalar-secret-password`])}else d.set(`grant_type`,`client_credentials`);u[`x-scalar-security-body`]&&Object.entries(u[`x-scalar-security-body`]).forEach(([e,t])=>{t!=null&&d.set(e,String(t))});try{let e={"Content-Type":`application/x-www-form-urlencoded`};!f&&p&&(e.Authorization=`Basic ${Bw(`${u[`x-scalar-secret-client-id`]}:${u[`x-scalar-secret-client-secret`]}`)}`);let t=yo(u[`x-scalar-secret-token-url`]??u.tokenUrl,d8(c,l)),n=await(await o(Aw(a,t)?`${a}?${new URLSearchParams([[`scalar_url`,t]]).toString()}`:t,{method:`POST`,headers:e,body:d})).json(),r=n[u[`x-tokenName`]||`access_token`],i=n.refresh_token;return r?[null,{accessToken:r,...typeof i==`string`?{refreshToken:i}:{}}]:[Error(n.error_description??n.error??`Failed to get an access token`),null]}catch(e){return[e instanceof Error?e:Error(`Failed to get an access token. Please check your credentials.`,{cause:e}),null]}},m8=async(e,t,n,r,i={},a=fetch)=>{let o=e[t];if(!o)return[Error(`OAuth2 flow was not defined`),null];let s=o[`x-scalar-secret-refresh-token`];if(!s)return[Error(`No refresh token available`),null];let c=new URLSearchParams;c.set(`grant_type`,`refresh_token`),c.set(`refresh_token`,s);let l=o[`x-scalar-credentials-location`]===`body`,u=!!o[`x-scalar-secret-client-secret`];(l||t===`authorizationCode`&&!u)&&c.set(`client_id`,o[`x-scalar-secret-client-id`]),l&&u&&c.set(`client_secret`,o[`x-scalar-secret-client-secret`]),o[`x-scalar-security-body`]&&Object.entries(o[`x-scalar-security-body`]).forEach(([e,t])=>{t!=null&&c.set(e,String(t))});try{let e={"Content-Type":`application/x-www-form-urlencoded`};!l&&u&&(e.Authorization=`Basic ${Bw(`${o[`x-scalar-secret-client-id`]}:${o[`x-scalar-secret-client-secret`]}`)}`);let t=yo(o.refreshUrl||o[`x-scalar-secret-token-url`]||o.tokenUrl,d8(r,i)),d=await(await a(Aw(n,t)?`${n}?${new URLSearchParams([[`scalar_url`,t]]).toString()}`:t,{method:`POST`,headers:e,body:c})).json(),f=d[o[`x-tokenName`]||`access_token`],p=d.refresh_token;return f?[null,{accessToken:f,...typeof p==`string`?{refreshToken:p}:{refreshToken:s}}]:[Error(d.error_description??d.error??`Token refresh failed`),null]}catch(e){return[e instanceof Error?e:Error(`Failed to refresh the access token. Please re-authorize.`,{cause:e}),null]}},h8=e=>e?Object.entries(e).filter(e=>e[1]!==void 0&&!Q6(e[1])).map(([e,t],n)=>({key:e,order:t[`x-order`],index:n})).sort((e,t)=>e.order!==void 0&&t.order!==void 0?e.order-t.order:e.order===void 0?t.order===void 0?e.index-t.index:1:-1).map(e=>e.key):[],g8=e=>e.oauth2RedirectUri?e.oauth2RedirectUri:typeof window>`u`||window.location.protocol===`file:`?``:window.location.origin+window.location.pathname,_8=(e,t)=>{let{bearerSchemeName:n,oauth2Name:r,flowType:i,tokens:a}=t;e.emit(`auth:update:security-scheme-secrets`,{payload:{type:`http`,"x-scalar-secret-token":a.accessToken},name:n}),a.refreshToken&&e.emit(`auth:update:security-scheme-secrets`,{payload:{type:`oauth2`,[i]:{"x-scalar-secret-refresh-token":a.refreshToken}},name:r})},B_e=async e=>{let{eventBus:t,bearerSchemeName:n,oauth2Name:r,flows:i,flowType:a,scopes:o,server:s,proxyUrl:c,environment:l,options:u}=e,d=i[a],f=await f8(d&&(a===`authorizationCode`||a===`implicit`)?{...i,[a]:{...d,"x-scalar-secret-redirect-uri":d[`x-scalar-secret-redirect-uri`]||g8(u??{})||``}}:i,a,o,s,c,gT(l),u?.customFetch,u?.captureOAuth2Callback),p=f[1];return p?.accessToken&&_8(t,{bearerSchemeName:n,oauth2Name:r,flowType:a,tokens:p}),f},V_e=[`for`],H_e={class:`relative flex min-w-0 flex-1`},U_e=[`readOnly`,`type`,`value`],W_e={key:1,class:`centered-y text-orange absolute right-7 text-xs`},G_e=Ma(T({inheritAttrs:!1,__name:`DataTableInput`,props:{id:{},type:{},containerClass:{},required:{type:Boolean,default:!1},modelValue:{},canAddCustomEnumValue:{type:Boolean,default:!0},readOnly:{type:Boolean,default:!1},enum:{},environment:{},description:{},withFakeData:{type:Boolean,default:!0}},emits:[`update:modelValue`,`inputFocus`,`inputBlur`,`selectVariable`],setup(e,{emit:t}){let n=e,r=t,i=j(!0),a=j(!1),s=De(`codeInput`),c=()=>!a.value&&r(`inputBlur`),l=M(()=>n.type===`password`?`text`:n.type??`text`),u=()=>{!n.enum?.length&&!n.readOnly&&s.value?.focus()};return(t,a)=>(y(),k(qV,{class:v([`relative flex`,e.containerClass])},{default:D(()=>[t.$slots.default?(y(),N(`div`,{key:0,class:`text-c-1 flex items-center pr-0 pl-3`,for:e.id??``,onClick:u},[S(t.$slots,`default`,{},void 0,!0),a[6]||=F(`: `,-1)],8,V_e)):A(``,!0),P(`div`,H_e,[n.enum&&n.enum.length?(y(),k(Vz,{key:0,canAddCustomValue:n.canAddCustomEnumValue,modelValue:n.modelValue,value:n.enum,"onUpdate:modelValue":a[0]||=e=>r(`update:modelValue`,e)},null,8,[`canAddCustomValue`,`modelValue`,`value`])):(y(),N(Me,{key:1},[i.value&&e.type===`password`?(y(),N(`input`,o({key:0},e.id?{...t.$attrs,id:e.id}:t.$attrs,{autocomplete:`off`,class:[`text-c-1 disabled:text-c-2 peer w-full min-w-0 border-none px-2 py-1.25 -outline-offset-1`,{"scalar-password-input":e.type===`password`}],"data-1p-ignore":``,readOnly:e.readOnly,spellcheck:`false`,type:l.value,value:e.modelValue,onInput:a[1]||=e=>r(`update:modelValue`,e.target.value??``)}),null,16,U_e)):(y(),k(E(cH),o({key:1},t.$attrs,{id:e.id,ref_key:`codeInput`,ref:s,class:[`text-c-1 disabled:text-c-2 peer w-full min-w-0 border-none -outline-offset-1`,[e.type===`password`&&e.description&&`pr-12`,e.description&&`pr-8`,e.type===`password`&&`scalar-password-input`]],environment:e.environment,modelValue:e.modelValue??``,readOnly:e.readOnly,required:!!e.required,type:l.value,withFakeData:e.withFakeData,onBlur:c,onFocus:a[2]||=e=>r(`inputFocus`),"onUpdate:modelValue":a[3]||=e=>r(`update:modelValue`,e)}),null,16,[`id`,`class`,`environment`,`modelValue`,`readOnly`,`required`,`type`,`withFakeData`]))],64))]),t.$slots.warning?(y(),N(`div`,W_e,[S(t.$slots,`warning`,{},void 0,!0)])):A(``,!0),S(t.$slots,`icon`,{},void 0,!0),e.modelValue?(y(),k(E(Q4),{key:2,class:`-ml-.25 h-6 w-6 self-center p-1.25`,icon:E(po),label:`Clear Value`,onClick:a[4]||=e=>r(`update:modelValue`,``)},null,8,[`icon`])):A(``,!0),e.type===`password`?(y(),k(E(Q4),{key:3,class:`-ml-.5 mr-1.25 h-6 w-6 self-center p-1.25`,"data-testid":`data-table-password-toggle`,icon:i.value?E(Xee):E(rte),label:i.value?`Show Password`:`Hide Password`,onClick:a[5]||=e=>i.value=!i.value},null,8,[`icon`,`label`])):A(``,!0)]),_:3},8,[`class`]))}}),[[`__scopeId`,`data-v-a6f4752a`]]),K_e=[`for`],v8=T({__name:`RequestAuthDataTableInput`,props:Fe({containerClass:{},environment:{},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},type:{}},{modelValue:{default:``,required:!0},modelModifiers:{}}),emits:Fe([`inputFocus`,`inputBlur`,`selectVariable`],[`update:modelValue`]),setup(e,{emit:t}){let n=t,r=ce(e,`modelValue`),i=be();return(t,a)=>(y(),k(E(G_e),o({id:E(i)},t.$attrs,{modelValue:r.value,"onUpdate:modelValue":a[0]||=e=>r.value=e,canAddCustomEnumValue:!e.readOnly,containerClass:e.containerClass,environment:e.environment,readOnly:e.readOnly,required:e.required,type:e.type,onInputBlur:a[1]||=e=>n(`inputBlur`),onInputFocus:a[2]||=e=>n(`inputFocus`),onSelectVariable:a[3]||=e=>n(`selectVariable`,e)}),{default:D(()=>[P(`label`,{for:E(i)},[S(t.$slots,`default`)],8,K_e)]),icon:D(()=>[S(t.$slots,`icon`)]),_:3},16,[`id`,`modelValue`,`canAddCustomEnumValue`,`containerClass`,`environment`,`readOnly`,`required`,`type`]))}}),q_e={class:`flex gap-2`},J_e={class:`flex max-h-8 flex-1`},Y_e=T({name:`CommandActionForm`,props:{loader:{},disabled:{type:Boolean,default:!1}},emits:[`submit`,`cancel`,`back`],setup(e,{emit:t}){let n=t,{cx:r}=xc(),i=()=>{e.disabled||n(`submit`)};return(t,n)=>(y(),N(`form`,{class:`flex w-full flex-col gap-3`,onKeydown:n[0]||=Vn(Bn(()=>{},[`stop`]),[`enter`]),onSubmit:Bn(i,[`prevent`,`stop`])},[P(`div`,Ge(Qe(E(r)(`relative flex min-h-20 flex-col rounded`))),[S(t.$slots,`default`)],16),P(`div`,q_e,[P(`div`,J_e,[S(t.$slots,`options`)]),O(E(qF),{class:`max-h-8 px-3 text-xs`,disabled:e.disabled,loader:e.loader,type:`submit`},{default:D(()=>[S(t.$slots,`submit`,{},()=>[n[1]||=F(`Continue`,-1)])]),_:3},8,[`disabled`,`loader`])])],32))}}),X_e=[`placeholder`],y8=T({name:`CommandActionInput`,inheritAttrs:!1,props:{modelValue:{},placeholder:{},autofocus:{type:Boolean,default:!0}},emits:[`update:modelValue`,`delete`],setup(e,{emit:t}){let n=t,r=j(null),i=M({get:()=>e.modelValue??``,set:e=>n(`update:modelValue`,e)});le(()=>{Ne(()=>{e.autofocus&&r.value?.focus()})});let a=e=>{if(e.shiftKey||!e.target)return;e.preventDefault();let t=e.target,n=new Event(`submit`,{cancelable:!0});t.form?.dispatchEvent(n)},s=e=>{i.value===``&&(e.preventDefault(),e.stopPropagation(),n(`delete`,e))};return(t,n)=>Ue((y(),N(`textarea`,o({id:`command-action-input`,ref_key:`input`,ref:r,"onUpdate:modelValue":n[0]||=e=>i.value=e,class:`min-h-8 w-full flex-1 resize-none border border-transparent py-1.5 pl-8.5 text-sm outline-none focus:border-b-1`,placeholder:e.placeholder??``,wrap:`hard`},t.$attrs,{onKeydown:[Vn(s,[`delete`]),Vn(a,[`enter`])]}),null,16,X_e)),[[kn,i.value]])}}),Z_e={class:`flex min-h-8 items-start gap-2 text-sm`},Q_e={class:`flex min-h-8 items-start gap-2 text-sm`},$_e={key:0,class:`text-red text-xs`,role:`alert`},eve=T({__name:`OAuthScopesAddModal`,props:{state:{},scopes:{},scope:{default:null}},emits:[`cancel`,`submit`],setup(e,{emit:t}){let n=t,r=M(()=>e.scope!==null),i=M(()=>r.value?`Edit Scope`:`Add Scope`),a=M(()=>r.value?`Save`:`Add Scope`),o=j({name:``,description:``}),s=j(!1);Ye(()=>o.value.name,()=>{s.value=!0});let c=M(()=>o.value.name.trim()),l=M(()=>!c.value||r.value&&c.value===e.scope?.name?!1:e.scopes.includes(c.value)),u=M(()=>l.value?`A scope named "${c.value}" already exists.`:s.value&&!c.value?`Scope name is required.`:null),d=M(()=>!c.value||l.value),f=()=>{d.value||(n(`submit`,{name:c.value,description:o.value.description,...r.value&&e.scope?{oldName:e.scope.name}:{}}),e.state.hide())};return Ye(()=>e.state.open,t=>{t&&(o.value=e.scope?{name:e.scope.name,description:e.scope.description}:{name:``,description:``},Ne(()=>{s.value=!1}))}),(t,r)=>(y(),k(E(n8),{bodyClass:`overflow-y-auto`,size:`xs`,state:e.state,title:i.value},{default:D(()=>[O(E(Y_e),{disabled:d.value,onCancel:r[2]||=e=>n(`cancel`),onSubmit:f},{submit:D(()=>[F(ye(a.value),1)]),default:D(()=>[P(`div`,Z_e,[r[3]||=F(` Name: `,-1),O(E(y8),{modelValue:o.value.name,"onUpdate:modelValue":r[0]||=e=>o.value.name=e,autofocus:``,class:`field-sizing-content !p-0`,placeholder:`read:user`},null,8,[`modelValue`])]),P(`div`,Q_e,[r[4]||=F(` Description: `,-1),O(E(y8),{modelValue:o.value.description,"onUpdate:modelValue":r[1]||=e=>o.value.description=e,autofocus:!1,class:`field-sizing-content !p-0`,placeholder:`Read user data`},null,8,[`modelValue`])]),u.value?(y(),N(`div`,$_e,ye(u.value),1)):A(``,!0)]),_:1},8,[`disabled`])]),_:1},8,[`state`,`title`]))}}),tve=[`aria-label`,`placeholder`],b8=T({inheritAttrs:!1,__name:`ScalarSearchInput`,props:Fe({loader:{},label:{},placeholder:{},clearLabel:{}},{modelValue:{},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=ce(e,`modelValue`),n=j(null);function r(){t.value=``,n.value&&n.value.focus()}let{stylingAttrsCx:i,otherAttrs:a}=xc();return(s,c)=>(y(),N(`label`,Ge(Qe(E(i)(`flex items-center text-lg font-medium h-10 pl-3 pr-1.5 py-2 gap-2.25`))),[O(E(so),{class:`text-sidebar-c-search size-4`}),Ue(P(`input`,o({ref_key:`inputRef`,ref:n},E(a),{"onUpdate:modelValue":c[0]||=e=>t.value=e,"aria-label":e.label??`Enter search query`,autocapitalize:`off`,autocomplete:`off`,autocorrect:`off`,class:`flex-1 appearance-none rounded border-none bg-transparent outline-none`,placeholder:e.placeholder??`Search...`,spellcheck:`false`,type:`search`}),null,16,tve),[[kn,t.value]]),e.loader&&e.loader.isActive?(y(),k(E(WF),{key:0,class:`mr-1`,loader:e.loader,size:`lg`},null,8,[`loader`])):t.value?(y(),k(E(Q4),{key:1,class:`-my-1`,icon:E(po),label:e.clearLabel??`Clear Search`,size:`sm`,weight:`bold`,onClick:Bn(r,[`stop`,`prevent`])},null,8,[`icon`,`label`])):A(``,!0)],16))}}),nve={class:`flex h-fit w-full`},rve={class:`group/scopes-accordion flex h-auto min-h-8 items-center gap-1.5 pr-2.25 pl-3 text-left`},ive={class:`flex shrink-0 items-center gap-1.75`},ave={class:`grid max-h-40 auto-rows-auto overflow-x-hidden overflow-y-auto`,style:{gridTemplateColumns:`1fr auto`}},ove={class:`no-scrollbar text-c-2 group-hover/scope-row:text-c-1 flex min-h-8 min-w-0 flex-1 items-center gap-1 overflow-x-auto px-3 py-1.5 pr-20 text-xs text-nowrap`},sve={class:`font-code shrink-0 text-xs`},cve={class:`whitespace-nowrap`},lve=T({__name:`OAuthScopesInput`,props:{flowType:{},flow:{},selectedScopes:{}},emits:[`update:selectedScopes`,`upsert:scope`,`delete:scope`],setup(e,{emit:t}){let n=t,r=j(``),i=j(null),a=M(()=>Object.entries(e.flow?.scopes??{}).map(([e,t])=>({id:e,label:e,description:t}))),o=M(()=>Object.keys(e.flow?.scopes??{}).length),s=M(()=>o.value>=10),c=M(()=>{let e=s.value?r.value:``;if(!e)return a.value;let t=new RegExp(e.split(``).map(e=>e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)).join(`.*`),`i`);return a.value.filter(({label:e,description:n})=>t.test(`${e} ${n}`))}),l=M(()=>Object.keys(e.flow?.scopes??{}).length>0),u=M(()=>e.selectedScopes.length===Object.keys(e.flow?.scopes??{}).length),d=(e,t)=>{n(`update:selectedScopes`,{scope:e,selected:t})},f=()=>n(`update:selectedScopes`,{scopes:Object.keys(e.flow?.scopes??{})}),p=()=>n(`update:selectedScopes`,{scopes:[]}),m=t8(),h=j(0),g=j(!1);Ye(l,(e,t)=>{t&&!e&&(g.value=!1,h.value+=1)});let b=()=>{i.value=null,m.show()},ee=e=>{i.value={name:e.id,description:e.description??``},m.show()},te=async t=>{let r=!t.oldName;n(`upsert:scope`,{scope:t.name,description:t.description,flowType:e.flowType,...t.oldName?{oldScope:t.oldName}:{},...r?{enable:!0}:{}}),r&&(g.value=!0,h.value+=1,await Ne(),g.value=!1)},x=t=>{n(`delete:scope`,{scope:t,flowType:e.flowType})};return(t,n)=>(y(),k(E(qV),{class:`h-auto !max-h-[initial] min-h-8 items-center`},{default:D(()=>[P(`div`,nve,[n[7]||=P(`div`,{class:`text-c-1 h-full items-center`},null,-1),(y(),k(E(ra),{key:h.value,as:`div`,class:`bl flex w-full flex-col`,defaultOpen:g.value},{default:D(()=>[P(`div`,rve,[O(E(ia),{class:v([`min-w-0 flex-1 text-left`,l.value?`hover:text-c-1 cursor-pointer`:`cursor-default`,(e.selectedScopes.length||0)>0?`text-c-1`:`text-c-3`]),disabled:!l.value},{default:D(()=>[l.value?(y(),N(Me,{key:0},[F(` Scopes Selected `+ye(e.selectedScopes.length||0)+` / `+ye(Object.keys(e.flow?.scopes??{}).length||0),1)],64)):(y(),N(Me,{key:1},[F(` No Scopes Defined `)],64))]),_:1},8,[`class`,`disabled`]),P(`div`,ive,[O(E(qF),{class:`pr-0.75 pl-1 transition-none`,size:`sm`,variant:`ghost`,onClick:Bn(b,[`stop`])},{default:D(()=>[...n[3]||=[F(` Add Scope `,-1)]]),_:1}),l.value&&u.value?(y(),k(E(qF),{key:0,class:`pr-0.75 pl-1 transition-none`,size:`sm`,variant:`ghost`,onClick:Bn(p,[`stop`])},{default:D(()=>[...n[4]||=[F(` Deselect All `,-1)]]),_:1})):A(``,!0),l.value&&!u.value?(y(),k(E(qF),{key:1,class:`pr-0.75 pl-1 transition-none`,size:`sm`,variant:`ghost`,onClick:Bn(f,[`stop`])},{default:D(()=>[...n[5]||=[F(` Select All `,-1)]]),_:1})):A(``,!0),l.value?(y(),k(E(ia),{key:2,class:`text-c-3 hover:text-c-2 -m-0.5 flex shrink-0 items-center justify-center rounded p-0.5 focus-visible:outline-offset-2`},{default:D(({open:e})=>[O(E(VF),{class:`group-hover/scopes-accordion:text-c-2`,icon:e?`ChevronDown`:`ChevronRight`,size:`md`},null,8,[`icon`])]),_:1})):A(``,!0)])]),O(E(aa),{as:`template`},{default:D(()=>[P(`div`,null,[s.value?(y(),k(E(b8),{key:0,modelValue:r.value,"onUpdate:modelValue":n[0]||=e=>r.value=e,class:`flex items-center text-xs`},null,8,[`modelValue`])):A(``,!0),P(`table`,ave,[(y(!0),N(Me,null,_(c.value,({id:t,label:r,description:i})=>(y(),k(E(ZV),{key:t,class:`text-c-2 group/scope-row`,onClick:n=>d(t,!e.selectedScopes.includes(t))},{default:D(()=>[O(E(qV),{class:`box-border flex !max-h-[initial] w-full min-w-0 cursor-pointer items-stretch overflow-hidden px-0 py-0`},{default:D(()=>[P(`div`,ove,[P(`span`,sve,ye(r),1),String(i??``).trim()?(y(),N(Me,{key:0},[n[6]||=P(`span`,{class:`shrink-0`},`–`,-1),P(`span`,cve,ye(i),1)],64)):A(``,!0)]),P(`div`,{class:`oauth-scope-row-action-rail absolute top-0 right-0 z-[1] flex h-full min-w-[4.5rem] items-center justify-end gap-0.5 py-1 pr-2 pl-4 opacity-0 transition-opacity group-focus-within/scope-row:opacity-100 group-hover/scope-row:opacity-100`,onClick:n[1]||=Bn(()=>{},[`stop`])},[O(E(Q4),{icon:E(co),label:`Edit ${r}`,size:`sm`,onClick:Bn(e=>ee({id:t,description:i??``}),[`stop`])},null,8,[`icon`,`label`,`onClick`]),O(E(Q4),{icon:E(uo),label:`Delete ${r}`,size:`sm`,onClick:Bn(e=>x(t),[`stop`])},null,8,[`icon`,`label`,`onClick`])])]),_:2},1024),O(E(uH),{ariaLabel:`Select ${r} scope`,modelValue:e.selectedScopes.includes(t),onClick:n[2]||=Bn(()=>{},[`stop`]),"onUpdate:modelValue":e=>d(t,e)},null,8,[`ariaLabel`,`modelValue`,`onUpdate:modelValue`])]),_:2},1032,[`onClick`]))),128))])])]),_:1})]),_:1},8,[`defaultOpen`]))]),O(eve,{scope:i.value,scopes:Object.keys(e.flow.scopes??{}),state:E(m),onSubmit:te},null,8,[`scope`,`scopes`,`state`])]),_:1}))}}),uve=Object.defineProperty,dve=(e,t,n)=>t in e?uve(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,x8=(e,t,n)=>dve(e,typeof t==`symbol`?t:t+``,n);function fve(e){if(!e||typeof document>`u`)return;function t(){let t=document.head||document.getElementsByTagName(`head`)[0];if(!t)return;let n=document.createElement(`style`);n.type=`text/css`,t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}document.readyState===`loading`?document.addEventListener(`DOMContentLoaded`,t):t()}fve(`:where([data-sonner-toaster][dir=ltr]),:where(html[dir=ltr]){--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}:where([data-sonner-toaster][dir=rtl]),:where(html[dir=rtl]){--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted=true]){transform:translateY(-10px)}@media (hover:none) and (pointer:coarse){:where([data-sonner-toaster][data-lifted=true]){transform:none}}:where([data-sonner-toaster][data-x-position=right]){right:max(var(--offset),env(safe-area-inset-right))}:where([data-sonner-toaster][data-x-position=left]){left:max(var(--offset),env(safe-area-inset-left))}:where([data-sonner-toaster][data-x-position=center]){left:50%;transform:translateX(-50%)}:where([data-sonner-toaster][data-y-position=top]){top:max(var(--offset),env(safe-area-inset-top))}:where([data-sonner-toaster][data-y-position=bottom]){bottom:max(var(--offset),env(safe-area-inset-bottom))}:where([data-sonner-toast]){--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled=true]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}:where([data-sonner-toast][data-y-position=top]){top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position=bottom]){bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise=true]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme=dark]) :where([data-cancel]){background:rgba(255,255,255,.3)}[data-sonner-toast] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}:where([data-sonner-toast]) :where([data-disabled=true]){cursor:not-allowed}[data-sonner-toast]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping=true])::before{content:'';position:absolute;left:0;right:0;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position=top][data-swiping=true])::before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position=bottom][data-swiping=true])::before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping=false][data-removed=true])::before{content:'';position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast])::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted=true]){--y:translateY(0);opacity:1}:where([data-sonner-toast][data-expanded=false][data-front=false]){--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded=false][data-front=false][data-styled=true])>*{opacity:0}:where([data-sonner-toast][data-visible=false]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted=true][data-expanded=true]){--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]){--y:translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]){--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]){--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed=true][data-front=false])::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{from{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;--mobile-offset:16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 91%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 91%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 91%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 100%, 12%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 12%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}`);var S8=0,C8=new class{constructor(){x8(this,`subscribers`),x8(this,`toasts`),x8(this,`subscribe`,e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)})),x8(this,`publish`,e=>{this.subscribers.forEach(t=>t(e))}),x8(this,`addToast`,e=>{this.publish(e),this.toasts=[...this.toasts,e]}),x8(this,`create`,e=>{let{message:t,...n}=e,r=typeof e.id==`number`||e.id&&e.id?.length>0?e.id:S8++,i=this.toasts.find(e=>e.id===r),a=e.dismissible===void 0||e.dismissible;return i?this.toasts=this.toasts.map(n=>n.id===r?(this.publish({...n,...e,id:r,title:t}),{...n,...e,id:r,dismissible:a,title:t}):n):this.addToast({title:t,...n,dismissible:a,id:r}),r}),x8(this,`dismiss`,e=>(e||this.toasts.forEach(e=>{this.subscribers.forEach(t=>t({id:e.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e)),x8(this,`message`,(e,t)=>this.create({...t,message:e,type:`default`})),x8(this,`error`,(e,t)=>this.create({...t,type:`error`,message:e})),x8(this,`success`,(e,t)=>this.create({...t,type:`success`,message:e})),x8(this,`info`,(e,t)=>this.create({...t,type:`info`,message:e})),x8(this,`warning`,(e,t)=>this.create({...t,type:`warning`,message:e})),x8(this,`loading`,(e,t)=>this.create({...t,type:`loading`,message:e})),x8(this,`promise`,(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:`loading`,message:t.loading,description:typeof t.description==`function`?void 0:t.description}));let r=e instanceof Promise?e:e(),i=n!==void 0,a,o=r.then(async e=>{if(a=[`resolve`,e],mve(e)&&!e.ok){i=!1;let r=typeof t.error==`function`?await t.error(`HTTP error! status: ${e.status}`):t.error,a=typeof t.description==`function`?await t.description(`HTTP error! status: ${e.status}`):t.description;this.create({id:n,type:`error`,message:r,description:a})}else if(t.success!==void 0){i=!1;let r=typeof t.success==`function`?await t.success(e):t.success,a=typeof t.description==`function`?await t.description(e):t.description;this.create({id:n,type:`success`,message:r,description:a})}}).catch(async e=>{if(a=[`reject`,e],t.error!==void 0){i=!1;let r=typeof t.error==`function`?await t.error(e):t.error,a=typeof t.description==`function`?await t.description(e):t.description;this.create({id:n,type:`error`,message:r,description:a})}}).finally(()=>{var e;i&&(this.dismiss(n),n=void 0),(e=t.finally)==null||e.call(t)}),s=()=>new Promise((e,t)=>o.then(()=>a[0]===`reject`?t(a[1]):e(a[1])).catch(t));return typeof n!=`string`&&typeof n!=`number`?{unwrap:s}:Object.assign(n,{unwrap:s})}),x8(this,`custom`,(e,t)=>{let n=t?.id||S8++;return this.publish({component:e,id:n,...t}),n}),this.subscribers=[],this.toasts=[]}};function pve(e,t){let n=t?.id||S8++;return C8.create({message:e,id:n,type:`default`,...t}),n}var mve=e=>e&&typeof e==`object`&&`ok`in e&&typeof e.ok==`boolean`&&`status`in e&&typeof e.status==`number`,w8=Object.assign(pve,{success:C8.success,info:C8.info,warning:C8.warning,error:C8.error,custom:C8.custom,message:C8.message,promise:C8.promise,dismiss:C8.dismiss,loading:C8.loading},{getHistory:()=>C8.toasts});function T8(e){return e.label!==void 0}function hve(){let e=j(!1);return Ve(()=>{let t=()=>{e.value=document.hidden};return document.addEventListener(`visibilitychange`,t),()=>window.removeEventListener(`visibilitychange`,t)}),{isDocumentHidden:e}}var gve=[`aria-live`,`data-rich-colors`,`data-styled`,`data-mounted`,`data-promise`,`data-removed`,`data-visible`,`data-y-position`,`data-x-position`,`data-index`,`data-front`,`data-swiping`,`data-dismissible`,`data-type`,`data-invert`,`data-swipe-out`,`data-expanded`],_ve=[`aria-label`,`data-disabled`],E8=4e3,vve=20,yve=200,bve=T({__name:`Toast`,props:{toast:{},toasts:{},index:{},expanded:{type:Boolean},invert:{type:Boolean},heights:{},gap:{},position:{},visibleToasts:{},expandByDefault:{type:Boolean},closeButton:{type:Boolean},interacting:{type:Boolean},style:{},cancelButtonStyle:{},actionButtonStyle:{},duration:{},class:{},unstyled:{type:Boolean},descriptionClass:{},loadingIcon:{},classes:{},icons:{},closeButtonAriaLabel:{},pauseWhenPageIsHidden:{type:Boolean},cn:{type:Function},defaultRichColors:{type:Boolean}},emits:[`update:heights`,`removeToast`],setup(e,{emit:t}){let n=e,r=t,i=j(!1),a=j(!1),s=j(!1),c=j(!1),l=j(!1),u=j(0),d=j(0),f=j(n.toast.duration||n.duration||E8),p=j(null),m=j(null),h=M(()=>n.index===0),g=M(()=>n.index+1<=n.visibleToasts),_=M(()=>n.toast.type),b=M(()=>n.toast.dismissible!==!1),ee=M(()=>n.toast.class||``),ne=M(()=>n.descriptionClass||``),re=n.toast.style||{},ie=M(()=>n.heights.findIndex(e=>e.toastId===n.toast.id)||0),ae=M(()=>n.toast.closeButton??n.closeButton);M(()=>n.toast.duration||n.duration||E8);let oe=j(0),C=j(0),w=j(null),ce=M(()=>n.position.split(`-`)),ue=M(()=>ce.value[0]),T=M(()=>ce.value[1]),de=M(()=>typeof n.toast.title!=`string`),fe=M(()=>typeof n.toast.description!=`string`),pe=M(()=>n.heights.reduce((e,t,n)=>n>=ie.value?e:e+t.height,0)),me=hve(),he=M(()=>n.toast.invert||n.invert),ge=M(()=>_.value===`loading`),_e=M(()=>ie.value*n.gap+pe.value||0);le(()=>{if(!i.value)return;let e=m.value,t=e?.style.height;e.style.height=`auto`;let a=e.getBoundingClientRect().height;e.style.height=t,d.value=a;let o;o=n.heights.find(e=>e.toastId===n.toast.id)?n.heights.map(e=>e.toastId===n.toast.id?{...e,height:a}:e):[{toastId:n.toast.id,height:a,position:n.toast.position},...n.heights],r(`update:heights`,o)});function ve(){a.value=!0,u.value=_e.value;let e=n.heights.filter(e=>e.toastId!==n.toast.id);r(`update:heights`,e),setTimeout(()=>{r(`removeToast`,n.toast)},yve)}function be(){var e,t;if(ge.value||!b.value)return{};ve(),(t=(e=n.toast).onDismiss)==null||t.call(e,n.toast)}function xe(e){ge.value||!b.value||(p.value=new Date,u.value=_e.value,e.target.setPointerCapture(e.pointerId),e.target.tagName!==`BUTTON`&&(s.value=!0,w.value={x:e.clientX,y:e.clientY}))}function Se(){var e,t,r;if(c.value||!b)return;w.value=null;let i=Number(m.value?.style.getPropertyValue(`--swipe-amount`).replace(`px`,``)||0),a=new Date().getTime()-p.value?.getTime(),o=Math.abs(i)/a;if(Math.abs(i)>=vve||o>.11){u.value=_e.value,(t=(e=n.toast).onDismiss)==null||t.call(e,n.toast),ve(),c.value=!0,l.value=!1;return}(r=m.value)==null||r.style.setProperty(`--swipe-amount`,`0px`),s.value=!1}function Ce(e){var t;if(!w.value||!b.value)return;let n=e.clientY-w.value.y,r=window.getSelection()?.toString().length>0,i=ue.value===`top`?Math.min(0,n):Math.max(0,n);Math.abs(i)>0&&(l.value=!0),!r&&((t=m.value)==null||t.style.setProperty(`--swipe-amount`,`${i}px`))}return Ve(e=>{if(n.toast.promise&&_.value===`loading`||n.toast.duration===1/0||n.toast.type===`loading`)return;let t;n.expanded||n.interacting||n.pauseWhenPageIsHidden&&me?(()=>{if(C.value<oe.value){let e=new Date().getTime()-oe.value;f.value-=e}C.value=new Date().getTime()})():f.value!==1/0&&(oe.value=new Date().getTime(),t=setTimeout(()=>{var e,t;(t=(e=n.toast).onAutoClose)==null||t.call(e,n.toast),ve()},f.value)),e(()=>{clearTimeout(t)})}),Ye(()=>n.toast.delete,()=>{n.toast.delete&&ve()},{deep:!0}),le(()=>{if(i.value=!0,m.value){let e=m.value.getBoundingClientRect().height;d.value=e;let t=[{toastId:n.toast.id,height:e,position:n.toast.position},...n.heights];r(`update:heights`,t)}}),se(()=>{if(m.value){let e=n.heights.filter(e=>e.toastId!==n.toast.id);r(`update:heights`,e)}}),(e,t)=>{var r,l;return y(),N(`li`,{ref_key:`toastRef`,ref:m,"aria-live":e.toast.important?`assertive`:`polite`,"aria-atomic":`true`,role:`status`,tabindex:`0`,"data-sonner-toast":`true`,class:v(e.cn(n.class,ee.value,e.classes?.toast,e.toast.classes?.toast,e.classes?.[_.value],e.toast?.classes?.[_.value])),"data-rich-colors":e.toast.richColors??e.defaultRichColors,"data-styled":!(e.toast.component||(r=e.toast)!=null&&r.unstyled||e.unstyled),"data-mounted":i.value,"data-promise":!!e.toast.promise,"data-removed":a.value,"data-visible":g.value,"data-y-position":ue.value,"data-x-position":T.value,"data-index":e.index,"data-front":h.value,"data-swiping":s.value,"data-dismissible":b.value,"data-type":_.value,"data-invert":he.value,"data-swipe-out":c.value,"data-expanded":!!(e.expanded||e.expandByDefault&&i.value),style:x({"--index":e.index,"--toasts-before":e.index,"--z-index":e.toasts.length-e.index,"--offset":`${a.value?u.value:_e.value}px`,"--initial-height":e.expandByDefault?`auto`:`${d.value}px`,...e.style,...E(re)}),onPointerdown:xe,onPointerup:Se,onPointermove:Ce},[ae.value&&!e.toast.component?(y(),N(`button`,{key:0,"aria-label":e.closeButtonAriaLabel||`Close toast`,"data-disabled":ge.value,"data-close-button":`true`,class:v(e.cn(e.classes?.closeButton,e.toast?.classes?.closeButton)),onClick:be},[(l=e.icons)!=null&&l.close?(y(),k(te(e.icons?.close),{key:0})):S(e.$slots,`close-icon`,{key:1})],10,_ve)):A(``,!0),e.toast.component?(y(),k(te(e.toast.component),o({key:1},e.toast.componentProps,{onCloseToast:be}),null,16)):(y(),N(Me,{key:2},[_.value!=="default"||e.toast.icon||e.toast.promise?(y(),N(`div`,{key:0,"data-icon":``,class:v(e.cn(e.classes?.icon,e.toast?.classes?.icon))},[e.toast.icon?(y(),k(te(e.toast.icon),{key:0})):(y(),N(Me,{key:1},[_.value===`loading`?S(e.$slots,`loading-icon`,{key:0}):_.value===`success`?S(e.$slots,`success-icon`,{key:1}):_.value===`error`?S(e.$slots,`error-icon`,{key:2}):_.value===`warning`?S(e.$slots,`warning-icon`,{key:3}):_.value===`info`?S(e.$slots,`info-icon`,{key:4}):A(``,!0)],64))],2)):A(``,!0),P(`div`,{"data-content":``,class:v(e.cn(e.classes?.content,e.toast?.classes?.content))},[P(`div`,{"data-title":``,class:v(e.cn(e.classes?.title,e.toast.classes?.title))},[de.value?(y(),k(te(e.toast.title),Ge(o({key:0},e.toast.componentProps)),null,16)):(y(),N(Me,{key:1},[F(ye(e.toast.title),1)],64))],2),e.toast.description?(y(),N(`div`,{key:0,"data-description":``,class:v(e.cn(e.descriptionClass,ne.value,e.classes?.description,e.toast.classes?.description))},[fe.value?(y(),k(te(e.toast.description),Ge(o({key:0},e.toast.componentProps)),null,16)):(y(),N(Me,{key:1},[F(ye(e.toast.description),1)],64))],2)):A(``,!0)],2),e.toast.cancel?(y(),N(`button`,{key:1,style:x(e.toast.cancelButtonStyle||e.cancelButtonStyle),class:v(e.cn(e.classes?.cancelButton,e.toast.classes?.cancelButton)),"data-button":``,"data-cancel":``,onClick:t[0]||=t=>{var n,r;E(T8)(e.toast.cancel)&&b.value&&((r=(n=e.toast.cancel).onClick)==null||r.call(n,t),ve())}},ye(E(T8)(e.toast.cancel)?e.toast.cancel?.label:e.toast.cancel),7)):A(``,!0),e.toast.action?(y(),N(`button`,{key:2,style:x(e.toast.actionButtonStyle||e.actionButtonStyle),class:v(e.cn(e.classes?.actionButton,e.toast.classes?.actionButton)),"data-button":``,"data-action":``,onClick:t[1]||=t=>{var n,r;E(T8)(e.toast.action)&&(t.defaultPrevented||((r=(n=e.toast.action).onClick)==null||r.call(n,t),!t.defaultPrevented&&ve()))}},ye(E(T8)(e.toast.action)?e.toast.action?.label:e.toast.action),7)):A(``,!0)],64))],46,gve)}}}),D8=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},xve={},Sve={xmlns:`http://www.w3.org/2000/svg`,width:`12`,height:`12`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stoke-width":`1.5`,"stroke-linecap":`round`,"stroke-linejoin":`round`};function Cve(e,t){return y(),N(`svg`,Sve,t[0]||=[P(`line`,{x1:`18`,y1:`6`,x2:`6`,y2:`18`},null,-1),P(`line`,{x1:`6`,y1:`6`,x2:`18`,y2:`18`},null,-1)])}var wve=D8(xve,[[`render`,Cve]]),Tve=[`data-visible`],Eve={class:`sonner-spinner`},Dve=T({__name:`Loader`,props:{visible:{type:Boolean}},setup(e){let t=Array(12).fill(0);return(e,n)=>(y(),N(`div`,{class:`sonner-loading-wrapper`,"data-visible":e.visible},[P(`div`,Eve,[(y(!0),N(Me,null,_(E(t),e=>(y(),N(`div`,{key:`spinner-bar-${e}`,class:`sonner-loading-bar`}))),128))])],8,Tve))}}),Ove={},kve={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`};function Ave(e,t){return y(),N(`svg`,kve,t[0]||=[P(`path`,{"fill-rule":`evenodd`,d:`M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z`,"clip-rule":`evenodd`},null,-1)])}var jve=D8(Ove,[[`render`,Ave]]),Mve={},Nve={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`};function Pve(e,t){return y(),N(`svg`,Nve,t[0]||=[P(`path`,{"fill-rule":`evenodd`,d:`M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z`,"clip-rule":`evenodd`},null,-1)])}var Fve=D8(Mve,[[`render`,Pve]]),Ive={},Lve={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`currentColor`,height:`20`,width:`20`};function Rve(e,t){return y(),N(`svg`,Lve,t[0]||=[P(`path`,{"fill-rule":`evenodd`,d:`M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z`,"clip-rule":`evenodd`},null,-1)])}var zve=D8(Ive,[[`render`,Rve]]),Bve={},Vve={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 20 20`,fill:`currentColor`,height:`20`,width:`20`};function Hve(e,t){return y(),N(`svg`,Vve,t[0]||=[P(`path`,{"fill-rule":`evenodd`,d:`M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z`,"clip-rule":`evenodd`},null,-1)])}var Uve=D8(Bve,[[`render`,Hve]]),Wve=[`aria-label`],Gve=[`dir`,`data-theme`,`data-rich-colors`,`data-y-position`,`data-x-position`,`data-lifted`],Kve=3,O8=`32px`,qve=356,Jve=14,Yve=typeof window<`u`&&typeof document<`u`;function Xve(...e){return e.filter(Boolean).join(` `)}var Zve=T({name:`Toaster`,inheritAttrs:!1,__name:`Toaster`,props:{invert:{type:Boolean,default:!1},theme:{default:`light`},position:{default:`bottom-right`},hotkey:{default:()=>[`altKey`,`KeyT`]},richColors:{type:Boolean,default:!1},expand:{type:Boolean,default:!1},duration:{},gap:{default:Jve},visibleToasts:{default:Kve},closeButton:{type:Boolean,default:!1},toastOptions:{default:()=>({})},class:{default:``},style:{default:()=>({})},offset:{default:O8},dir:{default:`auto`},icons:{},containerAriaLabel:{default:`Notifications`},pauseWhenPageIsHidden:{type:Boolean,default:!1},cn:{type:Function,default:Xve}},setup(e){let t=e;function n(){if(typeof window>`u`||typeof document>`u`)return`ltr`;let e=document.documentElement.getAttribute(`dir`);return e===`auto`||!e?window.getComputedStyle(document.documentElement).direction:e}let r=_e(),i=j([]),a=M(()=>(e,t)=>i.value.filter(n=>!n.position&&t===0||n.position===e)),s=M(()=>{let e=i.value.filter(e=>e.position).map(e=>e.position);return e.length>0?Array.from(new Set([t.position].concat(e))):[t.position]}),c=j([]),l=j(!1),u=j(!1),d=j(t.theme===`system`?typeof window<`u`&&window.matchMedia&&window.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`:t.theme),f=j(null),p=j(null),m=j(!1),h=t.hotkey.join(`+`).replace(/Key/g,``).replace(/Digit/g,``);function g(e){var t;(t=i.value.find(t=>t.id===e.id))!=null&&t.delete||C8.dismiss(e.id),i.value=i.value.filter(({id:t})=>t!==e.id)}function b(e){var t,n;m.value&&!((n=(t=e.currentTarget)?.contains)!=null&&n.call(t,e.relatedTarget))&&(m.value=!1,p.value&&=(p.value.focus({preventScroll:!0}),null))}function ee(e){e.target instanceof HTMLElement&&e.target.dataset.dismissible===`false`||m.value||(m.value=!0,p.value=e.relatedTarget)}function te(e){e.target&&e.target instanceof HTMLElement&&e.target.dataset.dismissible===`false`||(u.value=!0)}return Ve(e=>{e(C8.subscribe(e=>{if(e.dismiss){i.value=i.value.map(t=>t.id===e.id?{...t,delete:!0}:t);return}Ne(()=>{let t=i.value.findIndex(t=>t.id===e.id);t===-1?i.value=[e,...i.value]:i.value=[...i.value.slice(0,t),{...i.value[t],...e},...i.value.slice(t+1)]})}))}),Ye(()=>t.theme,e=>{if(e!==`system`){d.value=e;return}if(e===`system`&&(window.matchMedia&&window.matchMedia(`(prefers-color-scheme: dark)`).matches?d.value=`dark`:d.value=`light`),typeof window>`u`)return;let t=window.matchMedia(`(prefers-color-scheme: dark)`);try{t.addEventListener(`change`,({matches:e})=>{e?d.value=`dark`:d.value=`light`})}catch{t.addListener(({matches:e})=>{try{e?d.value=`dark`:d.value=`light`}catch(e){console.error(e)}})}}),Ve(()=>{f.value&&p.value&&(p.value.focus({preventScroll:!0}),p.value=null,m.value=!1)}),Ve(()=>{i.value.length<=1&&(l.value=!1)}),Ve(e=>{function n(e){let n=t.hotkey.every(t=>e[t]||e.code===t),r=Array.isArray(f.value)?f.value[0]:f.value;n&&(l.value=!0,r?.focus());let i=document.activeElement===f.value||r?.contains(document.activeElement);e.code===`Escape`&&i&&(l.value=!1)}Yve&&(document.addEventListener(`keydown`,n),e(()=>{document.removeEventListener(`keydown`,n)}))}),(e,d)=>(y(),N(`section`,{"aria-label":`${e.containerAriaLabel} ${E(h)}`,tabIndex:-1,"aria-live":`polite`,"aria-relevant":`additions text`,"aria-atomic":`false`},[(y(!0),N(Me,null,_(s.value,(s,p)=>(y(),N(`ol`,o({key:s,ref_for:!0,ref_key:`listRef`,ref:f,"data-sonner-toaster":``,class:t.class,dir:e.dir===`auto`?n():e.dir,tabIndex:-1,"data-theme":e.theme,"data-rich-colors":e.richColors,"data-y-position":s.split(`-`)[0],"data-x-position":s.split(`-`)[1],"data-lifted":l.value&&i.value.length>1&&!e.expand,style:{"--front-toast-height":`${c.value[0]?.height}px`,"--offset":typeof e.offset==`number`?`${e.offset}px`:e.offset||O8,"--width":`${qve}px`,"--gap":`${e.gap}px`,...e.style,...E(r).style}},e.$attrs,{onBlur:b,onFocus:ee,onMouseenter:d[1]||=()=>l.value=!0,onMousemove:d[2]||=()=>l.value=!0,onMouseleave:d[3]||=()=>{u.value||(l.value=!1)},onPointerdown:te,onPointerup:d[4]||=()=>u.value=!1}),[(y(!0),N(Me,null,_(a.value(s,p),(t,n)=>(y(),k(bve,{key:t.id,heights:c.value.filter(e=>e.position===t.position),icons:e.icons,index:n,toast:t,defaultRichColors:e.richColors,duration:e.toastOptions?.duration??e.duration,class:v(e.toastOptions?.class??``),descriptionClass:e.toastOptions?.descriptionClass,invert:e.invert,visibleToasts:e.visibleToasts,closeButton:e.toastOptions?.closeButton??e.closeButton,interacting:u.value,position:s,style:x(e.toastOptions?.style),unstyled:e.toastOptions?.unstyled,classes:e.toastOptions?.classes,cancelButtonStyle:e.toastOptions?.cancelButtonStyle,actionButtonStyle:e.toastOptions?.actionButtonStyle,toasts:i.value.filter(e=>e.position===t.position),expandByDefault:e.expand,gap:e.gap,expanded:l.value,pauseWhenPageIsHidden:e.pauseWhenPageIsHidden,cn:e.cn,"onUpdate:heights":d[0]||=e=>{c.value=e},onRemoveToast:g},{"close-icon":D(()=>[S(e.$slots,`close-icon`,{},()=>[O(wve)])]),"loading-icon":D(()=>[S(e.$slots,`loading-icon`,{},()=>[O(Dve,{visible:t.type===`loading`},null,8,[`visible`])])]),"success-icon":D(()=>[S(e.$slots,`success-icon`,{},()=>[O(jve)])]),"error-icon":D(()=>[S(e.$slots,`error-icon`,{},()=>[O(Uve)])]),"warning-icon":D(()=>[S(e.$slots,`warning-icon`,{},()=>[O(zve)])]),"info-icon":D(()=>[S(e.$slots,`info-icon`,{},()=>[O(Fve)])]),_:2},1032,[`heights`,`icons`,`index`,`toast`,`defaultRichColors`,`duration`,`class`,`descriptionClass`,`invert`,`visibleToasts`,`closeButton`,`interacting`,`position`,`style`,`unstyled`,`classes`,`cancelButtonStyle`,`actionButtonStyle`,`toasts`,`expandByDefault`,`gap`,`expanded`,`pauseWhenPageIsHidden`,`cn`]))),128))],16,Gve))),128))],8,Wve))}});(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`/**
|
|
230
|
+
* We need to be explicit to avoid !important. :)
|
|
231
|
+
*
|
|
232
|
+
* Original: https://github.com/xiaoluoboding/vue-sonner/blob/311ecc8d9a51b619f968e20f4b44992ad8412850/packages/styles.css#L91-L103
|
|
233
|
+
*/
|
|
234
|
+
.scalar-toaster [data-sonner-toast][data-styled='true'] {
|
|
235
|
+
background: var(--scalar-background-1);
|
|
236
|
+
color: var(--scalar-color-1);
|
|
237
|
+
padding: 18px;
|
|
238
|
+
border: none;
|
|
239
|
+
border-radius: var(--scalar-radius-lg);
|
|
240
|
+
font-size: var(--scalar-font-size-3);
|
|
241
|
+
font-weight: var(--scalar-font-medium);
|
|
242
|
+
box-shadow: var(--scalar-shadow-2);
|
|
243
|
+
}
|
|
244
|
+
.scalar-toaster [data-sonner-toast] [data-icon] {
|
|
245
|
+
align-self: flex-start;
|
|
246
|
+
position: relative;
|
|
247
|
+
top: 2px;
|
|
248
|
+
}
|
|
249
|
+
.scalar-toaster [data-sonner-toast][data-styled='true'][data-expanded='true'] {
|
|
250
|
+
height: auto;
|
|
251
|
+
}
|
|
252
|
+
.scalar-toaster [data-sonner-toast][data-type='error'] {
|
|
253
|
+
background: var(--scalar-background-1);
|
|
254
|
+
}
|
|
255
|
+
.scalar-toaster [data-sonner-toast][data-type='error'] [data-icon] {
|
|
256
|
+
color: color-mix(in srgb, var(--scalar-color-red) 75%, var(--scalar-color-1));
|
|
257
|
+
}
|
|
258
|
+
.scalar-toaster [data-sonner-toast][data-type='warning'] {
|
|
259
|
+
background: var(--scalar-background-1);
|
|
260
|
+
}
|
|
261
|
+
.scalar-toaster [data-sonner-toast][data-type='warning'] [data-icon] {
|
|
262
|
+
color: color-mix(
|
|
263
|
+
in srgb,
|
|
264
|
+
var(--scalar-color-orange) 90%,
|
|
265
|
+
var(--scalar-color-1)
|
|
266
|
+
);
|
|
267
|
+
}
|
|
268
|
+
/*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();var k8={toast:()=>null};function Qve(e){k8.toast=e}function A8(){return{initializeToasts:Qve,toast:(e,t=`info`,n={timeout:3e3})=>{k8.toast(e,t,n)}}}var $ve=T({__name:`ScalarToasts`,setup(e){let t=j(!1);le(()=>t.value=!0);let n={success:w8.success,error:w8.error,warn:w8.warning,info:w8},{initializeToasts:r}=A8();return r((e,t=`info`,r={})=>{(n[t]||n.info)(e,{duration:r.timeout||3e3,description:r.description})}),(e,n)=>t.value?(y(),k(E(Zve),{key:0,class:`scalar-toaster`})):A(``,!0)}});function j8(){return ze({isValid:!1,isInvalid:!1,isLoading:!1,isActive:!1,start(){this.isLoading=!0,this.isActive=!0,this.isInvalid=!1,this.isValid=!1},validate(e={}){let{duration:t=1100,persist:n=!1}=e;this.isLoading=!1,this.isInvalid=!1,this.isValid=!0,this.isActive=!0;let r=n?t:t-300;return new Promise(e=>setTimeout(n?()=>e():()=>this.clear().then(()=>e()),r))},invalidate(e={}){let{duration:t=1100,persist:n=!1}=e??{};this.isLoading=!1,this.isValid=!1,this.isInvalid=!0,this.isActive=!0;let r=n?t:t-300;return new Promise(e=>setTimeout(n?()=>e():()=>this.clear().then(()=>e()),r))},clear(e={}){let{duration:t=300}=e;return this.isValid=!1,this.isInvalid=!1,this.isLoading=!1,new Promise(e=>{setTimeout(()=>{this.isActive=!1,e()},t)})}})}Object.freeze({status:`aborted`});function $(e,t,n){function r(n,r){if(n._zod||Object.defineProperty(n,"_zod",{value:{def:r,constr:o,traits:new Set},enumerable:!1}),n._zod.traits.has(e))return;n._zod.traits.add(e),t(n,r);let i=o.prototype,a=Object.keys(i);for(let e=0;e<a.length;e++){let t=a[e];t in n||(n[t]=i[t].bind(n))}}let i=n?.Parent??Object;class a extends i{}Object.defineProperty(a,"name",{value:e});function o(e){var t;let i=n?.Parent?new a:this;r(i,e),(t=i._zod).deferred??(t.deferred=[]);for(let e of i._zod.deferred)e();return i}return Object.defineProperty(o,"init",{value:r}),Object.defineProperty(o,Symbol.hasInstance,{value:t=>n?.Parent&&t instanceof n.Parent?!0:t?._zod?.traits?.has(e)}),Object.defineProperty(o,"name",{value:e}),o}var M8=class extends Error{constructor(){super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`)}},N8=class extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name=`ZodEncodeError`}},P8={};function F8(e){return e&&Object.assign(P8,e),P8}function I8(e){let t=Object.values(e).filter(e=>typeof e==`number`);return Object.entries(e).filter(([e,n])=>t.indexOf(+e)===-1).map(([e,t])=>t)}function L8(e,t){return typeof t==`bigint`?t.toString():t}function R8(e){return{get value(){{let t=e();return Object.defineProperty(this,"value",{value:t}),t}throw Error(`cached value already set`)}}}function z8(e){return e==null}function B8(e){let t=+!!e.startsWith(`^`),n=e.endsWith(`$`)?e.length-1:e.length;return e.slice(t,n)}function eye(e,t){let n=(e.toString().split(`.`)[1]||``).length,r=t.toString(),i=(r.split(`.`)[1]||``).length;if(i===0&&/\d?e-\d?/.test(r)){let e=r.match(/\d?e-(\d?)/);e?.[1]&&(i=Number.parseInt(e[1]))}let a=n>i?n:i;return Number.parseInt(e.toFixed(a).replace(`.`,``))%Number.parseInt(t.toFixed(a).replace(`.`,``))/10**a}var V8=Symbol(`evaluating`);function H8(e,t,n){let r;Object.defineProperty(e,t,{get(){if(r!==V8)return r===void 0&&(r=V8,r=n()),r},set(n){Object.defineProperty(e,t,{value:n})},configurable:!0})}function U8(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function W8(...e){let t={};for(let n of e){let e=Object.getOwnPropertyDescriptors(n);Object.assign(t,e)}return Object.defineProperties({},t)}function G8(e){return JSON.stringify(e)}function tye(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,``).replace(/[\s_-]+/g,`-`).replace(/^-+|-+$/g,``)}var K8=`captureStackTrace`in Error?Error.captureStackTrace:(...e)=>{};function q8(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}var nye=R8(()=>{if(typeof navigator<`u`&&navigator?.userAgent?.includes(`Cloudflare`))return!1;try{return Function(``),!0}catch{return!1}});function J8(e){if(q8(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!=`function`)return!0;let n=t.prototype;return!(q8(n)===!1||Object.prototype.hasOwnProperty.call(n,`isPrototypeOf`)===!1)}function Y8(e){return J8(e)?{...e}:Array.isArray(e)?[...e]:e}var rye=new Set([`string`,`number`,`symbol`]);function X8(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function Z8(e,t,n){let r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function Q8(e){let t=e;if(!t)return{};if(typeof t==`string`)return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error==`string`?{...t,error:()=>t.error}:t}function iye(e){return Object.keys(e).filter(t=>e[t]._zod.optin===`optional`&&e[t]._zod.optout===`optional`)}var aye={safeint:[-(2**53-1),2**53-1],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function oye(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.pick() cannot be used on object schemas containing refinements`);return Z8(e,W8(e._zod.def,{get shape(){let e={};for(let r in t){if(!(r in n.shape))throw Error(`Unrecognized key: "${r}"`);t[r]&&(e[r]=n.shape[r])}return U8(this,`shape`,e),e},checks:[]}))}function sye(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.omit() cannot be used on object schemas containing refinements`);return Z8(e,W8(e._zod.def,{get shape(){let r={...e._zod.def.shape};for(let e in t){if(!(e in n.shape))throw Error(`Unrecognized key: "${e}"`);t[e]&&delete r[e]}return U8(this,`shape`,r),r},checks:[]}))}function cye(e,t){if(!J8(t))throw Error(`Invalid input to extend: expected a plain object`);let n=e._zod.def.checks;if(n&&n.length>0){let n=e._zod.def.shape;for(let e in t)if(Object.getOwnPropertyDescriptor(n,e)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}return Z8(e,W8(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return U8(this,`shape`,n),n}}))}function lye(e,t){if(!J8(t))throw Error(`Invalid input to safeExtend: expected a plain object`);return Z8(e,W8(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return U8(this,`shape`,n),n}}))}function uye(e,t){return Z8(e,W8(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t._zod.def.shape};return U8(this,`shape`,n),n},get catchall(){return t._zod.def.catchall},checks:[]}))}function dye(e,t,n){let r=t._zod.def.checks;if(r&&r.length>0)throw Error(`.partial() cannot be used on object schemas containing refinements`);return Z8(t,W8(t._zod.def,{get shape(){let r=t._zod.def.shape,i={...r};if(n)for(let t in n){if(!(t in r))throw Error(`Unrecognized key: "${t}"`);n[t]&&(i[t]=e?new e({type:`optional`,innerType:r[t]}):r[t])}else for(let t in r)i[t]=e?new e({type:`optional`,innerType:r[t]}):r[t];return U8(this,`shape`,i),i},checks:[]}))}function fye(e,t,n){return Z8(t,W8(t._zod.def,{get shape(){let r=t._zod.def.shape,i={...r};if(n)for(let t in n){if(!(t in i))throw Error(`Unrecognized key: "${t}"`);n[t]&&(i[t]=new e({type:`nonoptional`,innerType:r[t]}))}else for(let t in r)i[t]=new e({type:`nonoptional`,innerType:r[t]});return U8(this,`shape`,i),i}}))}function $8(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function e5(e,t){return t.map(t=>{var n;return(n=t).path??(n.path=[]),t.path.unshift(e),t})}function t5(e){return typeof e==`string`?e:e?.message}function n5(e,t,n){let r={...e,path:e.path??[]};return e.message||(r.message=t5(e.inst?._zod.def?.error?.(e))??t5(t?.error?.(e))??t5(n.customError?.(e))??t5(n.localeError?.(e))??`Invalid input`),delete r.inst,delete r.continue,t?.reportInput||delete r.input,r}function r5(e){return Array.isArray(e)?`array`:typeof e==`string`?`string`:`unknown`}function i5(...e){let[t,n,r]=e;return typeof t==`string`?{message:t,code:`custom`,input:n,inst:r}:{...t}}var a5=(e,t)=>{e.name=`$ZodError`,Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,L8,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},o5=$(`$ZodError`,a5),s5=$(`$ZodError`,a5,{Parent:Error});function pye(e,t=e=>e.message){let n={},r=[];for(let i of e.issues)i.path.length>0?(n[i.path[0]]=n[i.path[0]]||[],n[i.path[0]].push(t(i))):r.push(t(i));return{formErrors:r,fieldErrors:n}}function mye(e,t=e=>e.message){let n={_errors:[]},r=e=>{for(let i of e.issues)if(i.code===`invalid_union`&&i.errors.length)i.errors.map(e=>r({issues:e}));else if(i.code===`invalid_key`)r({issues:i.issues});else if(i.code===`invalid_element`)r({issues:i.issues});else if(i.path.length===0)n._errors.push(t(i));else{let e=n,r=0;for(;r<i.path.length;){let n=i.path[r];r===i.path.length-1?(e[n]=e[n]||{_errors:[]},e[n]._errors.push(t(i))):e[n]=e[n]||{_errors:[]},e=e[n],r++}}};return r(e),n}var c5=e=>(t,n,r,i)=>{let a=r?Object.assign(r,{async:!1}):{async:!1},o=t._zod.run({value:n,issues:[]},a);if(o instanceof Promise)throw new M8;if(o.issues.length){let t=new((i?.Err)??e)(o.issues.map(e=>n5(e,a,F8())));throw K8(t,i?.callee),t}return o.value},l5=e=>async(t,n,r,i)=>{let a=r?Object.assign(r,{async:!0}):{async:!0},o=t._zod.run({value:n,issues:[]},a);if(o instanceof Promise&&(o=await o),o.issues.length){let t=new((i?.Err)??e)(o.issues.map(e=>n5(e,a,F8())));throw K8(t,i?.callee),t}return o.value},u5=e=>(t,n,r)=>{let i=r?{...r,async:!1}:{async:!1},a=t._zod.run({value:n,issues:[]},i);if(a instanceof Promise)throw new M8;return a.issues.length?{success:!1,error:new(e??o5)(a.issues.map(e=>n5(e,i,F8())))}:{success:!0,data:a.value}},hye=u5(s5),d5=e=>async(t,n,r)=>{let i=r?Object.assign(r,{async:!0}):{async:!0},a=t._zod.run({value:n,issues:[]},i);return a instanceof Promise&&(a=await a),a.issues.length?{success:!1,error:new e(a.issues.map(e=>n5(e,i,F8())))}:{success:!0,data:a.value}},gye=d5(s5),_ye=e=>(t,n,r)=>{let i=r?Object.assign(r,{direction:`backward`}):{direction:`backward`};return c5(e)(t,n,i)},vye=e=>(t,n,r)=>c5(e)(t,n,r),yye=e=>async(t,n,r)=>{let i=r?Object.assign(r,{direction:`backward`}):{direction:`backward`};return l5(e)(t,n,i)},bye=e=>async(t,n,r)=>l5(e)(t,n,r),xye=e=>(t,n,r)=>{let i=r?Object.assign(r,{direction:`backward`}):{direction:`backward`};return u5(e)(t,n,i)},Sye=e=>(t,n,r)=>u5(e)(t,n,r),Cye=e=>async(t,n,r)=>{let i=r?Object.assign(r,{direction:`backward`}):{direction:`backward`};return d5(e)(t,n,i)},wye=e=>async(t,n,r)=>d5(e)(t,n,r),Tye=/^[cC][^\s-]{8,}$/,Eye=/^[0-9a-z]+$/,Dye=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,Oye=/^[0-9a-vA-V]{20}$/,kye=/^[A-Za-z0-9]{27}$/,Aye=/^[a-zA-Z0-9_-]{21}$/,jye=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,Mye=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,f5=e=>e?RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,Nye=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,Pye=`^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$`;function Fye(){return new RegExp(Pye,`u`)}var Iye=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Lye=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,Rye=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,zye=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Bye=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,p5=/^[A-Za-z0-9_-]*$/,Vye=/^\+[1-9]\d{6,14}$/,m5=`(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))`,Hye=RegExp(`^${m5}$`);function h5(e){let t=`(?:[01]\\d|2[0-3]):[0-5]\\d`;return typeof e.precision==`number`?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function Uye(e){return RegExp(`^${h5(e)}$`)}function Wye(e){let t=h5({precision:e.precision}),n=[`Z`];e.local&&n.push(``),e.offset&&n.push(`([+-](?:[01]\\d|2[0-3]):[0-5]\\d)`);let r=`${t}(?:${n.join(`|`)})`;return RegExp(`^${m5}T(?:${r})$`)}var Gye=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??``}}`:`[\\s\\S]*`;return RegExp(`^${t}$`)},Kye=/^-?\d+$/,g5=/^-?\d+(?:\.\d+)?$/,qye=/^(?:true|false)$/i,Jye=/^null$/i,Yye=/^[^A-Z]*$/,Xye=/^[^a-z]*$/,_5=$(`$ZodCheck`,(e,t)=>{var n;e._zod??={},e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),v5={number:`number`,bigint:`bigint`,object:`date`},y5=$(`$ZodCheckLessThan`,(e,t)=>{_5.init(e,t);let n=v5[typeof t.value];e._zod.onattach.push(e=>{let n=e._zod.bag,r=(t.inclusive?n.maximum:n.exclusiveMaximum)??1/0;t.value<r&&(t.inclusive?n.maximum=t.value:n.exclusiveMaximum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:n,code:`too_big`,maximum:typeof t.value==`object`?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),b5=$(`$ZodCheckGreaterThan`,(e,t)=>{_5.init(e,t);let n=v5[typeof t.value];e._zod.onattach.push(e=>{let n=e._zod.bag,r=(t.inclusive?n.minimum:n.exclusiveMinimum)??-1/0;t.value>r&&(t.inclusive?n.minimum=t.value:n.exclusiveMinimum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:n,code:`too_small`,minimum:typeof t.value==`object`?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),Zye=$(`$ZodCheckMultipleOf`,(e,t)=>{_5.init(e,t),e._zod.onattach.push(e=>{var n;(n=e._zod.bag).multipleOf??(n.multipleOf=t.value)}),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw Error(`Cannot mix number and bigint in multiple_of check.`);(typeof n.value==`bigint`?n.value%t.value===BigInt(0):eye(n.value,t.value)===0)||n.issues.push({origin:typeof n.value,code:`not_multiple_of`,divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),Qye=$(`$ZodCheckNumberFormat`,(e,t)=>{_5.init(e,t),t.format=t.format||`float64`;let n=t.format?.includes(`int`),r=n?`int`:`number`,[i,a]=aye[t.format];e._zod.onattach.push(e=>{let r=e._zod.bag;r.format=t.format,r.minimum=i,r.maximum=a,n&&(r.pattern=Kye)}),e._zod.check=o=>{let s=o.value;if(n){if(!Number.isInteger(s)){o.issues.push({expected:r,format:t.format,code:`invalid_type`,continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?o.issues.push({input:s,code:`too_big`,maximum:2**53-1,note:`Integers must be within the safe integer range.`,inst:e,origin:r,inclusive:!0,continue:!t.abort}):o.issues.push({input:s,code:`too_small`,minimum:-(2**53-1),note:`Integers must be within the safe integer range.`,inst:e,origin:r,inclusive:!0,continue:!t.abort});return}}s<i&&o.issues.push({origin:`number`,input:s,code:`too_small`,minimum:i,inclusive:!0,inst:e,continue:!t.abort}),s>a&&o.issues.push({origin:`number`,input:s,code:`too_big`,maximum:a,inclusive:!0,inst:e,continue:!t.abort})}}),$ye=$(`$ZodCheckMaxLength`,(e,t)=>{var n;_5.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!z8(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.maximum??1/0;t.maximum<n&&(e._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{let r=n.value;if(r.length<=t.maximum)return;let i=r5(r);n.issues.push({origin:i,code:`too_big`,maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),ebe=$(`$ZodCheckMinLength`,(e,t)=>{var n;_5.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!z8(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.minimum??-1/0;t.minimum>n&&(e._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{let r=n.value;if(r.length>=t.minimum)return;let i=r5(r);n.issues.push({origin:i,code:`too_small`,minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),tbe=$(`$ZodCheckLengthEquals`,(e,t)=>{var n;_5.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!z8(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag;n.minimum=t.length,n.maximum=t.length,n.length=t.length}),e._zod.check=n=>{let r=n.value,i=r.length;if(i===t.length)return;let a=r5(r),o=i>t.length;n.issues.push({origin:a,...o?{code:`too_big`,maximum:t.length}:{code:`too_small`,minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),x5=$(`$ZodCheckStringFormat`,(e,t)=>{var n,r;_5.init(e,t),e._zod.onattach.push(e=>{let n=e._zod.bag;n.format=t.format,t.pattern&&(n.patterns??=new Set,n.patterns.add(t.pattern))}),t.pattern?(n=e._zod).check??(n.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:`string`,code:`invalid_format`,format:t.format,input:n.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(r=e._zod).check??(r.check=()=>{})}),nbe=$(`$ZodCheckRegex`,(e,t)=>{x5.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:`string`,code:`invalid_format`,format:`regex`,input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),rbe=$(`$ZodCheckLowerCase`,(e,t)=>{t.pattern??=Yye,x5.init(e,t)}),ibe=$(`$ZodCheckUpperCase`,(e,t)=>{t.pattern??=Xye,x5.init(e,t)}),abe=$(`$ZodCheckIncludes`,(e,t)=>{_5.init(e,t);let n=X8(t.includes),r=new RegExp(typeof t.position==`number`?`^.{${t.position}}${n}`:n);t.pattern=r,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(r)}),e._zod.check=n=>{n.value.includes(t.includes,t.position)||n.issues.push({origin:`string`,code:`invalid_format`,format:`includes`,includes:t.includes,input:n.value,inst:e,continue:!t.abort})}}),obe=$(`$ZodCheckStartsWith`,(e,t)=>{_5.init(e,t);let n=RegExp(`^${X8(t.prefix)}.*`);t.pattern??=n,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(n)}),e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`starts_with`,prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),sbe=$(`$ZodCheckEndsWith`,(e,t)=>{_5.init(e,t);let n=RegExp(`.*${X8(t.suffix)}$`);t.pattern??=n,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(n)}),e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`ends_with`,suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}}),cbe=$(`$ZodCheckOverwrite`,(e,t)=>{_5.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}}),lbe=class{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),--this.indent}write(e){if(typeof e==`function`){e(this,{execution:`sync`}),e(this,{execution:`async`});return}let t=e.split(`
|
|
269
|
+
`).filter(e=>e),n=Math.min(...t.map(e=>e.length-e.trimStart().length)),r=t.map(e=>e.slice(n)).map(e=>` `.repeat(this.indent*2)+e);for(let e of r)this.content.push(e)}compile(){let e=Function,t=this?.args,n=[...(this?.content??[``]).map(e=>` ${e}`)];return new e(...t,n.join(`
|
|
270
|
+
`))}},ube={major:4,minor:3,patch:5},S5=$(`$ZodType`,(e,t)=>{var n;e??={},e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=ube;let r=[...e._zod.def.checks??[]];e._zod.traits.has(`$ZodCheck`)&&r.unshift(e);for(let t of r)for(let n of t._zod.onattach)n(e);if(r.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let t=(e,t,n)=>{let r=$8(e),i;for(let a of t){if(a._zod.def.when){if(!a._zod.def.when(e))continue}else if(r)continue;let t=e.issues.length,o=a._zod.check(e);if(o instanceof Promise&&n?.async===!1)throw new M8;if(i||o instanceof Promise)i=(i??Promise.resolve()).then(async()=>{await o,e.issues.length!==t&&(r||=$8(e,t))});else{if(e.issues.length===t)continue;r||=$8(e,t)}}return i?i.then(()=>e):e},n=(n,i,a)=>{if($8(n))return n.aborted=!0,n;let o=t(i,r,a);if(o instanceof Promise){if(a.async===!1)throw new M8;return o.then(t=>e._zod.parse(t,a))}return e._zod.parse(o,a)};e._zod.run=(i,a)=>{if(a.skipChecks)return e._zod.parse(i,a);if(a.direction===`backward`){let t=e._zod.parse({value:i.value,issues:[]},{...a,skipChecks:!0});return t instanceof Promise?t.then(e=>n(e,i,a)):n(t,i,a)}let o=e._zod.parse(i,a);if(o instanceof Promise){if(a.async===!1)throw new M8;return o.then(e=>t(e,r,a))}return t(o,r,a)}}H8(e,`~standard`,()=>({validate:t=>{try{let n=hye(e,t);return n.success?{value:n.data}:{issues:n.error?.issues}}catch{return gye(e,t).then(e=>e.success?{value:e.data}:{issues:e.error?.issues})}},vendor:`zod`,version:1}))}),C5=$(`$ZodString`,(e,t)=>{S5.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??Gye(e._zod.bag),e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value==`string`||n.issues.push({expected:`string`,code:`invalid_type`,input:n.value,inst:e}),n}}),w5=$(`$ZodStringFormat`,(e,t)=>{x5.init(e,t),C5.init(e,t)}),dbe=$(`$ZodGUID`,(e,t)=>{t.pattern??=Mye,w5.init(e,t)}),fbe=$(`$ZodUUID`,(e,t)=>{if(t.version){let e={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(e===void 0)throw Error(`Invalid UUID version: "${t.version}"`);t.pattern??=f5(e)}else t.pattern??=f5();w5.init(e,t)}),pbe=$(`$ZodEmail`,(e,t)=>{t.pattern??=Nye,w5.init(e,t)}),mbe=$(`$ZodURL`,(e,t)=>{w5.init(e,t),e._zod.check=n=>{try{let r=n.value.trim(),i=new URL(r);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(i.hostname)||n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid hostname`,pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(i.protocol.endsWith(`:`)?i.protocol.slice(0,-1):i.protocol)||n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid protocol`,pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort})),t.normalize?n.value=i.href:n.value=r;return}catch{n.issues.push({code:`invalid_format`,format:`url`,input:n.value,inst:e,continue:!t.abort})}}}),hbe=$(`$ZodEmoji`,(e,t)=>{t.pattern??=Fye(),w5.init(e,t)}),gbe=$(`$ZodNanoID`,(e,t)=>{t.pattern??=Aye,w5.init(e,t)}),_be=$(`$ZodCUID`,(e,t)=>{t.pattern??=Tye,w5.init(e,t)}),vbe=$(`$ZodCUID2`,(e,t)=>{t.pattern??=Eye,w5.init(e,t)}),ybe=$(`$ZodULID`,(e,t)=>{t.pattern??=Dye,w5.init(e,t)}),bbe=$(`$ZodXID`,(e,t)=>{t.pattern??=Oye,w5.init(e,t)}),xbe=$(`$ZodKSUID`,(e,t)=>{t.pattern??=kye,w5.init(e,t)}),Sbe=$(`$ZodISODateTime`,(e,t)=>{t.pattern??=Wye(t),w5.init(e,t)}),Cbe=$(`$ZodISODate`,(e,t)=>{t.pattern??=Hye,w5.init(e,t)}),wbe=$(`$ZodISOTime`,(e,t)=>{t.pattern??=Uye(t),w5.init(e,t)}),Tbe=$(`$ZodISODuration`,(e,t)=>{t.pattern??=jye,w5.init(e,t)}),Ebe=$(`$ZodIPv4`,(e,t)=>{t.pattern??=Iye,w5.init(e,t),e._zod.bag.format=`ipv4`}),Dbe=$(`$ZodIPv6`,(e,t)=>{t.pattern??=Lye,w5.init(e,t),e._zod.bag.format=`ipv6`,e._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:`invalid_format`,format:`ipv6`,input:n.value,inst:e,continue:!t.abort})}}}),Obe=$(`$ZodCIDRv4`,(e,t)=>{t.pattern??=Rye,w5.init(e,t)}),kbe=$(`$ZodCIDRv6`,(e,t)=>{t.pattern??=zye,w5.init(e,t),e._zod.check=n=>{let r=n.value.split(`/`);try{if(r.length!==2)throw Error();let[e,t]=r;if(!t)throw Error();let n=Number(t);if(`${n}`!==t||n<0||n>128)throw Error();new URL(`http://[${e}]`)}catch{n.issues.push({code:`invalid_format`,format:`cidrv6`,input:n.value,inst:e,continue:!t.abort})}}});function T5(e){if(e===``)return!0;if(e.length%4!=0)return!1;try{return atob(e),!0}catch{return!1}}var Abe=$(`$ZodBase64`,(e,t)=>{t.pattern??=Bye,w5.init(e,t),e._zod.bag.contentEncoding=`base64`,e._zod.check=n=>{T5(n.value)||n.issues.push({code:`invalid_format`,format:`base64`,input:n.value,inst:e,continue:!t.abort})}});function jbe(e){if(!p5.test(e))return!1;let t=e.replace(/[-_]/g,e=>e===`-`?`+`:`/`);return T5(t.padEnd(Math.ceil(t.length/4)*4,`=`))}var Mbe=$(`$ZodBase64URL`,(e,t)=>{t.pattern??=p5,w5.init(e,t),e._zod.bag.contentEncoding=`base64url`,e._zod.check=n=>{jbe(n.value)||n.issues.push({code:`invalid_format`,format:`base64url`,input:n.value,inst:e,continue:!t.abort})}}),Nbe=$(`$ZodE164`,(e,t)=>{t.pattern??=Vye,w5.init(e,t)});function Pbe(e,t=null){try{let n=e.split(`.`);if(n.length!==3)return!1;let[r]=n;if(!r)return!1;let i=JSON.parse(atob(r));return!(`typ`in i&&i?.typ!==`JWT`||!i.alg||t&&(!(`alg`in i)||i.alg!==t))}catch{return!1}}var Fbe=$(`$ZodJWT`,(e,t)=>{w5.init(e,t),e._zod.check=n=>{Pbe(n.value,t.alg)||n.issues.push({code:`invalid_format`,format:`jwt`,input:n.value,inst:e,continue:!t.abort})}}),E5=$(`$ZodNumber`,(e,t)=>{S5.init(e,t),e._zod.pattern=e._zod.bag.pattern??g5,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=Number(n.value)}catch{}let i=n.value;if(typeof i==`number`&&!Number.isNaN(i)&&Number.isFinite(i))return n;let a=typeof i==`number`?Number.isNaN(i)?`NaN`:Number.isFinite(i)?void 0:`Infinity`:void 0;return n.issues.push({expected:`number`,code:`invalid_type`,input:i,inst:e,...a?{received:a}:{}}),n}}),Ibe=$(`$ZodNumberFormat`,(e,t)=>{Qye.init(e,t),E5.init(e,t)}),Lbe=$(`$ZodBoolean`,(e,t)=>{S5.init(e,t),e._zod.pattern=qye,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=!!n.value}catch{}let i=n.value;return typeof i==`boolean`||n.issues.push({expected:`boolean`,code:`invalid_type`,input:i,inst:e}),n}}),Rbe=$(`$ZodNull`,(e,t)=>{S5.init(e,t),e._zod.pattern=Jye,e._zod.values=new Set([null]),e._zod.parse=(t,n)=>{let r=t.value;return r===null||t.issues.push({expected:`null`,code:`invalid_type`,input:r,inst:e}),t}}),zbe=$(`$ZodUnknown`,(e,t)=>{S5.init(e,t),e._zod.parse=e=>e}),Bbe=$(`$ZodNever`,(e,t)=>{S5.init(e,t),e._zod.parse=(t,n)=>(t.issues.push({expected:`never`,code:`invalid_type`,input:t.value,inst:e}),t)});function D5(e,t,n){e.issues.length&&t.issues.push(...e5(n,e.issues)),t.value[n]=e.value}var Vbe=$(`$ZodArray`,(e,t)=>{S5.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!Array.isArray(i))return n.issues.push({expected:`array`,code:`invalid_type`,input:i,inst:e}),n;n.value=Array(i.length);let a=[];for(let e=0;e<i.length;e++){let o=i[e],s=t.element._zod.run({value:o,issues:[]},r);s instanceof Promise?a.push(s.then(t=>D5(t,n,e))):D5(s,n,e)}return a.length?Promise.all(a).then(()=>n):n}});function O5(e,t,n,r,i){if(e.issues.length){if(i&&!(n in r))return;t.issues.push(...e5(n,e.issues))}e.value===void 0?n in r&&(t.value[n]=void 0):t.value[n]=e.value}function k5(e){let t=Object.keys(e.shape);for(let n of t)if(!e.shape?.[n]?._zod?.traits?.has(`$ZodType`))throw Error(`Invalid element at key "${n}": expected a Zod schema`);let n=iye(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(n)}}function A5(e,t,n,r,i,a){let o=[],s=i.keySet,c=i.catchall._zod,l=c.def.type,u=c.optout===`optional`;for(let i in t){if(s.has(i))continue;if(l===`never`){o.push(i);continue}let a=c.run({value:t[i],issues:[]},r);a instanceof Promise?e.push(a.then(e=>O5(e,n,i,t,u))):O5(a,n,i,t,u)}return o.length&&n.issues.push({code:`unrecognized_keys`,keys:o,input:t,inst:a}),e.length?Promise.all(e).then(()=>n):n}var Hbe=$(`$ZodObject`,(e,t)=>{if(S5.init(e,t),!Object.getOwnPropertyDescriptor(t,`shape`)?.get){let e=t.shape;Object.defineProperty(t,"shape",{get:()=>{let n={...e};return Object.defineProperty(t,"shape",{value:n}),n}})}let n=R8(()=>k5(t));H8(e._zod,`propValues`,()=>{let e=t.shape,n={};for(let t in e){let r=e[t]._zod;if(r.values){n[t]??(n[t]=new Set);for(let e of r.values)n[t].add(e)}}return n});let r=q8,i=t.catchall,a;e._zod.parse=(t,o)=>{a??=n.value;let s=t.value;if(!r(s))return t.issues.push({expected:`object`,code:`invalid_type`,input:s,inst:e}),t;t.value={};let c=[],l=a.shape;for(let e of a.keys){let n=l[e],r=n._zod.optout===`optional`,i=n._zod.run({value:s[e],issues:[]},o);i instanceof Promise?c.push(i.then(n=>O5(n,t,e,s,r))):O5(i,t,e,s,r)}return i?A5(c,s,t,o,n.value,e):c.length?Promise.all(c).then(()=>t):t}}),Ube=$(`$ZodObjectJIT`,(e,t)=>{Hbe.init(e,t);let n=e._zod.parse,r=R8(()=>k5(t)),i=e=>{let t=new lbe([`shape`,`payload`,`ctx`]),n=r.value,i=e=>{let t=G8(e);return`shape[${t}]._zod.run({ value: input[${t}], issues: [] }, ctx)`};t.write(`const input = payload.value;`);let a=Object.create(null),o=0;for(let e of n.keys)a[e]=`key_${o++}`;t.write(`const newResult = {};`);for(let r of n.keys){let n=a[r],o=G8(r),s=e[r]?._zod?.optout===`optional`;t.write(`const ${n} = ${i(r)};`),s?t.write(`
|
|
271
|
+
if (${n}.issues.length) {
|
|
272
|
+
if (${o} in input) {
|
|
273
|
+
payload.issues = payload.issues.concat(${n}.issues.map(iss => ({
|
|
274
|
+
...iss,
|
|
275
|
+
path: iss.path ? [${o}, ...iss.path] : [${o}]
|
|
276
|
+
})));
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
if (${n}.value === undefined) {
|
|
281
|
+
if (${o} in input) {
|
|
282
|
+
newResult[${o}] = undefined;
|
|
283
|
+
}
|
|
284
|
+
} else {
|
|
285
|
+
newResult[${o}] = ${n}.value;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
`):t.write(`
|
|
289
|
+
if (${n}.issues.length) {
|
|
290
|
+
payload.issues = payload.issues.concat(${n}.issues.map(iss => ({
|
|
291
|
+
...iss,
|
|
292
|
+
path: iss.path ? [${o}, ...iss.path] : [${o}]
|
|
293
|
+
})));
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
if (${n}.value === undefined) {
|
|
297
|
+
if (${o} in input) {
|
|
298
|
+
newResult[${o}] = undefined;
|
|
299
|
+
}
|
|
300
|
+
} else {
|
|
301
|
+
newResult[${o}] = ${n}.value;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
`)}t.write(`payload.value = newResult;`),t.write(`return payload;`);let s=t.compile();return(t,n)=>s(e,t,n)},a,o=q8,s=!P8.jitless,c=s&&nye.value,l=t.catchall,u;e._zod.parse=(d,f)=>{u??=r.value;let p=d.value;return o(p)?s&&c&&f?.async===!1&&f.jitless!==!0?(a||=i(t.shape),d=a(d,f),l?A5([],p,d,f,u,e):d):n(d,f):(d.issues.push({expected:`object`,code:`invalid_type`,input:p,inst:e}),d)}});function j5(e,t,n,r){for(let n of e)if(n.issues.length===0)return t.value=n.value,t;let i=e.filter(e=>!$8(e));return i.length===1?(t.value=i[0].value,i[0]):(t.issues.push({code:`invalid_union`,input:t.value,inst:n,errors:e.map(e=>e.issues.map(e=>n5(e,r,F8())))}),t)}var M5=$(`$ZodUnion`,(e,t)=>{S5.init(e,t),H8(e._zod,`optin`,()=>t.options.some(e=>e._zod.optin===`optional`)?`optional`:void 0),H8(e._zod,`optout`,()=>t.options.some(e=>e._zod.optout===`optional`)?`optional`:void 0),H8(e._zod,`values`,()=>{if(t.options.every(e=>e._zod.values))return new Set(t.options.flatMap(e=>Array.from(e._zod.values)))}),H8(e._zod,`pattern`,()=>{if(t.options.every(e=>e._zod.pattern)){let e=t.options.map(e=>e._zod.pattern);return RegExp(`^(${e.map(e=>B8(e.source)).join(`|`)})$`)}});let n=t.options.length===1,r=t.options[0]._zod.run;e._zod.parse=(i,a)=>{if(n)return r(i,a);let o=!1,s=[];for(let e of t.options){let t=e._zod.run({value:i.value,issues:[]},a);if(t instanceof Promise)s.push(t),o=!0;else{if(t.issues.length===0)return t;s.push(t)}}return o?Promise.all(s).then(t=>j5(t,i,e,a)):j5(s,i,e,a)}}),Wbe=$(`$ZodDiscriminatedUnion`,(e,t)=>{t.inclusive=!1,M5.init(e,t);let n=e._zod.parse;H8(e._zod,`propValues`,()=>{let e={};for(let n of t.options){let r=n._zod.propValues;if(!r||Object.keys(r).length===0)throw Error(`Invalid discriminated union option at index "${t.options.indexOf(n)}"`);for(let[t,n]of Object.entries(r)){e[t]||(e[t]=new Set);for(let r of n)e[t].add(r)}}return e});let r=R8(()=>{let e=t.options,n=new Map;for(let r of e){let e=r._zod.propValues?.[t.discriminator];if(!e||e.size===0)throw Error(`Invalid discriminated union option at index "${t.options.indexOf(r)}"`);for(let t of e){if(n.has(t))throw Error(`Duplicate discriminator value "${String(t)}"`);n.set(t,r)}}return n});e._zod.parse=(i,a)=>{let o=i.value;if(!q8(o))return i.issues.push({code:`invalid_type`,expected:`object`,input:o,inst:e}),i;let s=r.value.get(o?.[t.discriminator]);return s?s._zod.run(i,a):t.unionFallback?n(i,a):(i.issues.push({code:`invalid_union`,errors:[],note:`No matching discriminator`,discriminator:t.discriminator,input:o,path:[t.discriminator],inst:e}),i)}}),Gbe=$(`$ZodIntersection`,(e,t)=>{S5.init(e,t),e._zod.parse=(e,n)=>{let r=e.value,i=t.left._zod.run({value:r,issues:[]},n),a=t.right._zod.run({value:r,issues:[]},n);return i instanceof Promise||a instanceof Promise?Promise.all([i,a]).then(([t,n])=>P5(e,t,n)):P5(e,i,a)}});function N5(e,t){if(e===t||e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(J8(e)&&J8(t)){let n=Object.keys(t),r=Object.keys(e).filter(e=>n.indexOf(e)!==-1),i={...e,...t};for(let n of r){let r=N5(e[n],t[n]);if(!r.valid)return{valid:!1,mergeErrorPath:[n,...r.mergeErrorPath]};i[n]=r.data}return{valid:!0,data:i}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let r=0;r<e.length;r++){let i=e[r],a=t[r],o=N5(i,a);if(!o.valid)return{valid:!1,mergeErrorPath:[r,...o.mergeErrorPath]};n.push(o.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function P5(e,t,n){let r=new Map,i;for(let n of t.issues)if(n.code===`unrecognized_keys`){i??=n;for(let e of n.keys)r.has(e)||r.set(e,{}),r.get(e).l=!0}else e.issues.push(n);for(let t of n.issues)if(t.code===`unrecognized_keys`)for(let e of t.keys)r.has(e)||r.set(e,{}),r.get(e).r=!0;else e.issues.push(t);let a=[...r].filter(([,e])=>e.l&&e.r).map(([e])=>e);if(a.length&&i&&e.issues.push({...i,keys:a}),$8(e))return e;let o=N5(t.value,n.value);if(!o.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(o.mergeErrorPath)}`);return e.value=o.data,e}var Kbe=$(`$ZodRecord`,(e,t)=>{S5.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!J8(i))return n.issues.push({expected:`record`,code:`invalid_type`,input:i,inst:e}),n;let a=[],o=t.keyType._zod.values;if(o){n.value={};let s=new Set;for(let e of o)if(typeof e==`string`||typeof e==`number`||typeof e==`symbol`){s.add(typeof e==`number`?e.toString():e);let o=t.valueType._zod.run({value:i[e],issues:[]},r);o instanceof Promise?a.push(o.then(t=>{t.issues.length&&n.issues.push(...e5(e,t.issues)),n.value[e]=t.value})):(o.issues.length&&n.issues.push(...e5(e,o.issues)),n.value[e]=o.value)}let c;for(let e in i)s.has(e)||(c??=[],c.push(e));c&&c.length>0&&n.issues.push({code:`unrecognized_keys`,input:i,inst:e,keys:c})}else{n.value={};for(let o of Reflect.ownKeys(i)){if(o===`__proto__`)continue;let s=t.keyType._zod.run({value:o,issues:[]},r);if(s instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);if(typeof o==`string`&&g5.test(o)&&s.issues.length&&s.issues.some(e=>e.code===`invalid_type`&&e.expected===`number`)){let e=t.keyType._zod.run({value:Number(o),issues:[]},r);if(e instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);e.issues.length===0&&(s=e)}if(s.issues.length){t.mode===`loose`?n.value[o]=i[o]:n.issues.push({code:`invalid_key`,origin:`record`,issues:s.issues.map(e=>n5(e,r,F8())),input:o,path:[o],inst:e});continue}let c=t.valueType._zod.run({value:i[o],issues:[]},r);c instanceof Promise?a.push(c.then(e=>{e.issues.length&&n.issues.push(...e5(o,e.issues)),n.value[s.value]=e.value})):(c.issues.length&&n.issues.push(...e5(o,c.issues)),n.value[s.value]=c.value)}}return a.length?Promise.all(a).then(()=>n):n}}),qbe=$(`$ZodEnum`,(e,t)=>{S5.init(e,t);let n=I8(t.entries),r=new Set(n);e._zod.values=r,e._zod.pattern=RegExp(`^(${n.filter(e=>rye.has(typeof e)).map(e=>typeof e==`string`?X8(e):e.toString()).join(`|`)})$`),e._zod.parse=(t,i)=>{let a=t.value;return r.has(a)||t.issues.push({code:`invalid_value`,values:n,input:a,inst:e}),t}}),Jbe=$(`$ZodLiteral`,(e,t)=>{if(S5.init(e,t),t.values.length===0)throw Error(`Cannot create literal schema with no valid values`);let n=new Set(t.values);e._zod.values=n,e._zod.pattern=RegExp(`^(${t.values.map(e=>typeof e==`string`?X8(e):e?X8(e.toString()):String(e)).join(`|`)})$`),e._zod.parse=(r,i)=>{let a=r.value;return n.has(a)||r.issues.push({code:`invalid_value`,values:t.values,input:a,inst:e}),r}}),Ybe=$(`$ZodTransform`,(e,t)=>{S5.init(e,t),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new N8(e.constructor.name);let i=t.transform(n.value,n);if(r.async)return(i instanceof Promise?i:Promise.resolve(i)).then(e=>(n.value=e,n));if(i instanceof Promise)throw new M8;return n.value=i,n}});function F5(e,t){return e.issues.length&&t===void 0?{issues:[],value:void 0}:e}var I5=$(`$ZodOptional`,(e,t)=>{S5.init(e,t),e._zod.optin=`optional`,e._zod.optout=`optional`,H8(e._zod,`values`,()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),H8(e._zod,`pattern`,()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${B8(e.source)})?$`):void 0}),e._zod.parse=(e,n)=>{if(t.innerType._zod.optin===`optional`){let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(t=>F5(t,e.value)):F5(r,e.value)}return e.value===void 0?e:t.innerType._zod.run(e,n)}}),Xbe=$(`$ZodExactOptional`,(e,t)=>{I5.init(e,t),H8(e._zod,`values`,()=>t.innerType._zod.values),H8(e._zod,`pattern`,()=>t.innerType._zod.pattern),e._zod.parse=(e,n)=>t.innerType._zod.run(e,n)}),Zbe=$(`$ZodNullable`,(e,t)=>{S5.init(e,t),H8(e._zod,`optin`,()=>t.innerType._zod.optin),H8(e._zod,`optout`,()=>t.innerType._zod.optout),H8(e._zod,`pattern`,()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${B8(e.source)}|null)$`):void 0}),H8(e._zod,`values`,()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(e,n)=>e.value===null?e:t.innerType._zod.run(e,n)}),Qbe=$(`$ZodDefault`,(e,t)=>{S5.init(e,t),e._zod.optin=`optional`,H8(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);if(e.value===void 0)return e.value=t.defaultValue,e;let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(e=>L5(e,t)):L5(r,t)}});function L5(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var $be=$(`$ZodPrefault`,(e,t)=>{S5.init(e,t),e._zod.optin=`optional`,H8(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>(n.direction===`backward`||e.value===void 0&&(e.value=t.defaultValue),t.innerType._zod.run(e,n))}),exe=$(`$ZodNonOptional`,(e,t)=>{S5.init(e,t),H8(e._zod,`values`,()=>{let e=t.innerType._zod.values;return e?new Set([...e].filter(e=>e!==void 0)):void 0}),e._zod.parse=(n,r)=>{let i=t.innerType._zod.run(n,r);return i instanceof Promise?i.then(t=>R5(t,e)):R5(i,e)}});function R5(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:`invalid_type`,expected:`nonoptional`,input:e.value,inst:t}),e}var txe=$(`$ZodCatch`,(e,t)=>{S5.init(e,t),H8(e._zod,`optin`,()=>t.innerType._zod.optin),H8(e._zod,`optout`,()=>t.innerType._zod.optout),H8(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(r=>(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>n5(e,n,F8()))},input:e.value}),e.issues=[]),e)):(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>n5(e,n,F8()))},input:e.value}),e.issues=[]),e)}}),nxe=$(`$ZodPipe`,(e,t)=>{S5.init(e,t),H8(e._zod,`values`,()=>t.in._zod.values),H8(e._zod,`optin`,()=>t.in._zod.optin),H8(e._zod,`optout`,()=>t.out._zod.optout),H8(e._zod,`propValues`,()=>t.in._zod.propValues),e._zod.parse=(e,n)=>{if(n.direction===`backward`){let r=t.out._zod.run(e,n);return r instanceof Promise?r.then(e=>z5(e,t.in,n)):z5(r,t.in,n)}let r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>z5(e,t.out,n)):z5(r,t.out,n)}});function z5(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},n)}var rxe=$(`$ZodReadonly`,(e,t)=>{S5.init(e,t),H8(e._zod,`propValues`,()=>t.innerType._zod.propValues),H8(e._zod,`values`,()=>t.innerType._zod.values),H8(e._zod,`optin`,()=>t.innerType?._zod?.optin),H8(e._zod,`optout`,()=>t.innerType?._zod?.optout),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(B5):B5(r)}});function B5(e){return e.value=Object.freeze(e.value),e}var ixe=$(`$ZodLazy`,(e,t)=>{S5.init(e,t),H8(e._zod,`innerType`,()=>t.getter()),H8(e._zod,`pattern`,()=>e._zod.innerType?._zod?.pattern),H8(e._zod,`propValues`,()=>e._zod.innerType?._zod?.propValues),H8(e._zod,`optin`,()=>e._zod.innerType?._zod?.optin??void 0),H8(e._zod,`optout`,()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(t,n)=>e._zod.innerType._zod.run(t,n)}),axe=$(`$ZodCustom`,(e,t)=>{_5.init(e,t),S5.init(e,t),e._zod.parse=(e,t)=>e,e._zod.check=n=>{let r=n.value,i=t.fn(r);if(i instanceof Promise)return i.then(t=>V5(t,n,r,e));V5(i,n,r,e)}});function V5(e,t,n,r){if(!e){let e={code:`custom`,input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(e.params=r._zod.def.params),t.issues.push(i5(e))}}var H5,oxe=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...t){let n=t[0];return this._map.set(e,n),n&&typeof n==`object`&&`id`in n&&this._idmap.set(n.id,e),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){let t=this._map.get(e);return t&&typeof t==`object`&&`id`in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){let t=e._zod.parent;if(t){let n={...this.get(t)??{}};delete n.id;let r={...n,...this._map.get(e)};return Object.keys(r).length?r:void 0}return this._map.get(e)}has(e){return this._map.has(e)}};function sxe(){return new oxe}(H5=globalThis).__zod_globalRegistry??(H5.__zod_globalRegistry=sxe());var U5=globalThis.__zod_globalRegistry;function cxe(e,t){return new e({type:`string`,...Q8(t)})}function lxe(e,t){return new e({type:`string`,format:`email`,check:`string_format`,abort:!1,...Q8(t)})}function W5(e,t){return new e({type:`string`,format:`guid`,check:`string_format`,abort:!1,...Q8(t)})}function uxe(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,...Q8(t)})}function dxe(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v4`,...Q8(t)})}function fxe(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v6`,...Q8(t)})}function pxe(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v7`,...Q8(t)})}function mxe(e,t){return new e({type:`string`,format:`url`,check:`string_format`,abort:!1,...Q8(t)})}function hxe(e,t){return new e({type:`string`,format:`emoji`,check:`string_format`,abort:!1,...Q8(t)})}function gxe(e,t){return new e({type:`string`,format:`nanoid`,check:`string_format`,abort:!1,...Q8(t)})}function _xe(e,t){return new e({type:`string`,format:`cuid`,check:`string_format`,abort:!1,...Q8(t)})}function vxe(e,t){return new e({type:`string`,format:`cuid2`,check:`string_format`,abort:!1,...Q8(t)})}function yxe(e,t){return new e({type:`string`,format:`ulid`,check:`string_format`,abort:!1,...Q8(t)})}function bxe(e,t){return new e({type:`string`,format:`xid`,check:`string_format`,abort:!1,...Q8(t)})}function xxe(e,t){return new e({type:`string`,format:`ksuid`,check:`string_format`,abort:!1,...Q8(t)})}function Sxe(e,t){return new e({type:`string`,format:`ipv4`,check:`string_format`,abort:!1,...Q8(t)})}function Cxe(e,t){return new e({type:`string`,format:`ipv6`,check:`string_format`,abort:!1,...Q8(t)})}function wxe(e,t){return new e({type:`string`,format:`cidrv4`,check:`string_format`,abort:!1,...Q8(t)})}function Txe(e,t){return new e({type:`string`,format:`cidrv6`,check:`string_format`,abort:!1,...Q8(t)})}function Exe(e,t){return new e({type:`string`,format:`base64`,check:`string_format`,abort:!1,...Q8(t)})}function Dxe(e,t){return new e({type:`string`,format:`base64url`,check:`string_format`,abort:!1,...Q8(t)})}function Oxe(e,t){return new e({type:`string`,format:`e164`,check:`string_format`,abort:!1,...Q8(t)})}function kxe(e,t){return new e({type:`string`,format:`jwt`,check:`string_format`,abort:!1,...Q8(t)})}function Axe(e,t){return new e({type:`string`,format:`datetime`,check:`string_format`,offset:!1,local:!1,precision:null,...Q8(t)})}function jxe(e,t){return new e({type:`string`,format:`date`,check:`string_format`,...Q8(t)})}function Mxe(e,t){return new e({type:`string`,format:`time`,check:`string_format`,precision:null,...Q8(t)})}function Nxe(e,t){return new e({type:`string`,format:`duration`,check:`string_format`,...Q8(t)})}function Pxe(e,t){return new e({type:`number`,checks:[],...Q8(t)})}function Fxe(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`safeint`,...Q8(t)})}function Ixe(e,t){return new e({type:`boolean`,...Q8(t)})}function Lxe(e,t){return new e({type:`null`,...Q8(t)})}function Rxe(e){return new e({type:`unknown`})}function zxe(e,t){return new e({type:`never`,...Q8(t)})}function G5(e,t){return new y5({check:`less_than`,...Q8(t),value:e,inclusive:!1})}function K5(e,t){return new y5({check:`less_than`,...Q8(t),value:e,inclusive:!0})}function q5(e,t){return new b5({check:`greater_than`,...Q8(t),value:e,inclusive:!1})}function J5(e,t){return new b5({check:`greater_than`,...Q8(t),value:e,inclusive:!0})}function Y5(e,t){return new Zye({check:`multiple_of`,...Q8(t),value:e})}function X5(e,t){return new $ye({check:`max_length`,...Q8(t),maximum:e})}function Z5(e,t){return new ebe({check:`min_length`,...Q8(t),minimum:e})}function Q5(e,t){return new tbe({check:`length_equals`,...Q8(t),length:e})}function Bxe(e,t){return new nbe({check:`string_format`,format:`regex`,...Q8(t),pattern:e})}function Vxe(e){return new rbe({check:`string_format`,format:`lowercase`,...Q8(e)})}function Hxe(e){return new ibe({check:`string_format`,format:`uppercase`,...Q8(e)})}function Uxe(e,t){return new abe({check:`string_format`,format:`includes`,...Q8(t),includes:e})}function Wxe(e,t){return new obe({check:`string_format`,format:`starts_with`,...Q8(t),prefix:e})}function Gxe(e,t){return new sbe({check:`string_format`,format:`ends_with`,...Q8(t),suffix:e})}function $5(e){return new cbe({check:`overwrite`,tx:e})}function Kxe(e){return $5(t=>t.normalize(e))}function qxe(){return $5(e=>e.trim())}function Jxe(){return $5(e=>e.toLowerCase())}function Yxe(){return $5(e=>e.toUpperCase())}function Xxe(){return $5(e=>tye(e))}function Zxe(e,t,n){return new e({type:`array`,element:t,...Q8(n)})}function Qxe(e,t,n){let r=Q8(n);return r.abort??=!0,new e({type:`custom`,check:`custom`,fn:t,...r})}function $xe(e,t,n){return new e({type:`custom`,check:`custom`,fn:t,...Q8(n)})}function eSe(e){let t=tSe(n=>(n.addIssue=e=>{if(typeof e==`string`)n.issues.push(i5(e,n.value,t._zod.def));else{let r=e;r.fatal&&(r.continue=!1),r.code??=`custom`,r.input??=n.value,r.inst??=t,r.continue??=!t._zod.def.abort,n.issues.push(i5(r))}},e(n.value,n)));return t}function tSe(e,t){let n=new _5({check:`custom`,...Q8(t)});return n._zod.check=e,n}function e7(e){let t=e?.target??`draft-2020-12`;return t===`draft-4`&&(t=`draft-04`),t===`draft-7`&&(t=`draft-07`),{processors:e.processors??{},metadataRegistry:e?.metadata??U5,target:t,unrepresentable:e?.unrepresentable??`throw`,override:e?.override??(()=>{}),io:e?.io??`output`,counter:0,seen:new Map,cycles:e?.cycles??`ref`,reused:e?.reused??`inline`,external:e?.external??void 0}}function t7(e,t,n={path:[],schemaPath:[]}){var r;let i=e._zod.def,a=t.seen.get(e);if(a)return a.count++,n.schemaPath.includes(e)&&(a.cycle=n.path),a.schema;let o={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,o);let s=e._zod.toJSONSchema?.();if(s)o.schema=s;else{let r={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,o.schema,r);else{let n=o.schema,a=t.processors[i.type];if(!a)throw Error(`[toJSONSchema]: Non-representable type encountered: ${i.type}`);a(e,t,n,r)}let a=e._zod.parent;a&&(o.ref||=a,t7(a,t,r),t.seen.get(a).isParent=!0)}let c=t.metadataRegistry.get(e);return c&&Object.assign(o.schema,c),t.io===`input`&&i7(e)&&(delete o.schema.examples,delete o.schema.default),t.io===`input`&&o.schema._prefault&&((r=o.schema).default??(r.default=o.schema._prefault)),delete o.schema._prefault,t.seen.get(e).schema}function n7(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=new Map;for(let t of e.seen.entries()){let n=e.metadataRegistry.get(t[0])?.id;if(n){let e=r.get(n);if(e&&e!==t[0])throw Error(`Duplicate schema id "${n}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);r.set(n,t[0])}}let i=t=>{let r=e.target===`draft-2020-12`?`$defs`:`definitions`;if(e.external){let n=e.external.registry.get(t[0])?.id,i=e.external.uri??(e=>e);if(n)return{ref:i(n)};let a=t[1].defId??t[1].schema.id??`schema${e.counter++}`;return t[1].defId=a,{defId:a,ref:`${i(`__shared`)}#/${r}/${a}`}}if(t[1]===n)return{ref:`#`};let i=`#/${r}/`,a=t[1].schema.id??`__schema${e.counter++}`;return{defId:a,ref:i+a}},a=e=>{if(e[1].schema.$ref)return;let t=e[1],{ref:n,defId:r}=i(e);t.def={...t.schema},r&&(t.defId=r);let a=t.schema;for(let e in a)delete a[e];a.$ref=n};if(e.cycles===`throw`)for(let t of e.seen.entries()){let e=t[1];if(e.cycle)throw Error(`Cycle detected: #/${e.cycle?.join(`/`)}/<root>
|
|
305
|
+
|
|
306
|
+
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let n of e.seen.entries()){let r=n[1];if(t===n[0]){a(n);continue}if(e.external){let r=e.external.registry.get(n[0])?.id;if(t!==n[0]&&r){a(n);continue}}if(e.metadataRegistry.get(n[0])?.id){a(n);continue}if(r.cycle){a(n);continue}if(r.count>1&&e.reused===`ref`){a(n);continue}}}function r7(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=t=>{let n=e.seen.get(t);if(n.ref===null)return;let i=n.def??n.schema,a={...i},o=n.ref;if(n.ref=null,o){r(o);let n=e.seen.get(o),s=n.schema;if(s.$ref&&(e.target===`draft-07`||e.target===`draft-04`||e.target===`openapi-3.0`)?(i.allOf=i.allOf??[],i.allOf.push(s)):Object.assign(i,s),Object.assign(i,a),t._zod.parent===o)for(let e in i)e===`$ref`||e===`allOf`||e in a||delete i[e];if(s.$ref)for(let e in i)e===`$ref`||e===`allOf`||e in n.def&&JSON.stringify(i[e])===JSON.stringify(n.def[e])&&delete i[e]}let s=t._zod.parent;if(s&&s!==o){r(s);let t=e.seen.get(s);if(t?.schema.$ref&&(i.$ref=t.schema.$ref,t.def))for(let e in i)e===`$ref`||e===`allOf`||e in t.def&&JSON.stringify(i[e])===JSON.stringify(t.def[e])&&delete i[e]}e.override({zodSchema:t,jsonSchema:i,path:n.path??[]})};for(let t of[...e.seen.entries()].reverse())r(t[0]);let i={};if(e.target===`draft-2020-12`?i.$schema=`https://json-schema.org/draft/2020-12/schema`:e.target===`draft-07`?i.$schema=`http://json-schema.org/draft-07/schema#`:e.target===`draft-04`?i.$schema=`http://json-schema.org/draft-04/schema#`:e.target,e.external?.uri){let n=e.external.registry.get(t)?.id;if(!n)throw Error("Schema is missing an `id` property");i.$id=e.external.uri(n)}Object.assign(i,n.def??n.schema);let a=e.external?.defs??{};for(let t of e.seen.entries()){let e=t[1];e.def&&e.defId&&(a[e.defId]=e.def)}e.external||Object.keys(a).length>0&&(e.target===`draft-2020-12`?i.$defs=a:i.definitions=a);try{let n=JSON.parse(JSON.stringify(i));return Object.defineProperty(n,"~standard",{value:{...t[`~standard`],jsonSchema:{input:a7(t,`input`,e.processors),output:a7(t,`output`,e.processors)}},enumerable:!1,writable:!1}),n}catch{throw Error(`Error converting schema to JSON.`)}}function i7(e,t){let n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let r=e._zod.def;if(r.type===`transform`)return!0;if(r.type===`array`)return i7(r.element,n);if(r.type===`set`)return i7(r.valueType,n);if(r.type===`lazy`)return i7(r.getter(),n);if(r.type===`promise`||r.type===`optional`||r.type===`nonoptional`||r.type===`nullable`||r.type===`readonly`||r.type==="default"||r.type===`prefault`)return i7(r.innerType,n);if(r.type===`intersection`)return i7(r.left,n)||i7(r.right,n);if(r.type===`record`||r.type===`map`)return i7(r.keyType,n)||i7(r.valueType,n);if(r.type===`pipe`)return i7(r.in,n)||i7(r.out,n);if(r.type===`object`){for(let e in r.shape)if(i7(r.shape[e],n))return!0;return!1}if(r.type===`union`){for(let e of r.options)if(i7(e,n))return!0;return!1}if(r.type===`tuple`){for(let e of r.items)if(i7(e,n))return!0;return!!(r.rest&&i7(r.rest,n))}return!1}var nSe=(e,t={})=>n=>{let r=e7({...n,processors:t});return t7(e,r),n7(r,e),r7(r,e)},a7=(e,t,n={})=>r=>{let{libraryOptions:i,target:a}=r??{},o=e7({...i??{},target:a,io:t,processors:n});return t7(e,o),n7(o,e),r7(o,e)},rSe={guid:`uuid`,url:`uri`,datetime:`date-time`,json_string:`json-string`,regex:``},o7=(e,t,n,r)=>{let i=n;i.type=`string`;let{minimum:a,maximum:o,format:s,patterns:c,contentEncoding:l}=e._zod.bag;if(typeof a==`number`&&(i.minLength=a),typeof o==`number`&&(i.maxLength=o),s&&(i.format=rSe[s]??s,i.format===``&&delete i.format,s===`time`&&delete i.format),l&&(i.contentEncoding=l),c&&c.size>0){let e=[...c];e.length===1?i.pattern=e[0].source:e.length>1&&(i.allOf=[...e.map(e=>({...t.target===`draft-07`||t.target===`draft-04`||t.target===`openapi-3.0`?{type:`string`}:{},pattern:e.source}))])}},s7=(e,t,n,r)=>{let i=n,{minimum:a,maximum:o,format:s,multipleOf:c,exclusiveMaximum:l,exclusiveMinimum:u}=e._zod.bag;typeof s==`string`&&s.includes(`int`)?i.type=`integer`:i.type=`number`,typeof u==`number`&&(t.target===`draft-04`||t.target===`openapi-3.0`?(i.minimum=u,i.exclusiveMinimum=!0):i.exclusiveMinimum=u),typeof a==`number`&&(i.minimum=a,typeof u==`number`&&t.target!==`draft-04`&&(u>=a?delete i.minimum:delete i.exclusiveMinimum)),typeof l==`number`&&(t.target===`draft-04`||t.target===`openapi-3.0`?(i.maximum=l,i.exclusiveMaximum=!0):i.exclusiveMaximum=l),typeof o==`number`&&(i.maximum=o,typeof l==`number`&&t.target!==`draft-04`&&(l<=o?delete i.maximum:delete i.exclusiveMaximum)),typeof c==`number`&&(i.multipleOf=c)},c7=(e,t,n,r)=>{n.type=`boolean`},iSe=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`BigInt cannot be represented in JSON Schema`)},aSe=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Symbols cannot be represented in JSON Schema`)},l7=(e,t,n,r)=>{t.target===`openapi-3.0`?(n.type=`string`,n.nullable=!0,n.enum=[null]):n.type=`null`},oSe=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Undefined cannot be represented in JSON Schema`)},sSe=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Void cannot be represented in JSON Schema`)},u7=(e,t,n,r)=>{n.not={}},cSe=(e,t,n,r)=>{},lSe=(e,t,n,r)=>{},uSe=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Date cannot be represented in JSON Schema`)},d7=(e,t,n,r)=>{let i=e._zod.def,a=I8(i.entries);a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),n.enum=a},f7=(e,t,n,r)=>{let i=e._zod.def,a=[];for(let e of i.values)if(e===void 0){if(t.unrepresentable===`throw`)throw Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof e==`bigint`){if(t.unrepresentable===`throw`)throw Error(`BigInt literals cannot be represented in JSON Schema`);a.push(Number(e))}else a.push(e);if(a.length!==0)if(a.length===1){let e=a[0];n.type=e===null?`null`:typeof e,t.target===`draft-04`||t.target===`openapi-3.0`?n.enum=[e]:n.const=e}else a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),a.every(e=>typeof e==`boolean`)&&(n.type=`boolean`),a.every(e=>e===null)&&(n.type=`null`),n.enum=a},dSe=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`NaN cannot be represented in JSON Schema`)},fSe=(e,t,n,r)=>{let i=n,a=e._zod.pattern;if(!a)throw Error(`Pattern not found in template literal`);i.type=`string`,i.pattern=a.source},pSe=(e,t,n,r)=>{let i=n,a={type:`string`,format:`binary`,contentEncoding:`binary`},{minimum:o,maximum:s,mime:c}=e._zod.bag;o!==void 0&&(a.minLength=o),s!==void 0&&(a.maxLength=s),c?c.length===1?(a.contentMediaType=c[0],Object.assign(i,a)):(Object.assign(i,a),i.anyOf=c.map(e=>({contentMediaType:e}))):Object.assign(i,a)},mSe=(e,t,n,r)=>{n.type=`boolean`},p7=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Custom types cannot be represented in JSON Schema`)},hSe=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Function types cannot be represented in JSON Schema`)},m7=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Transforms cannot be represented in JSON Schema`)},gSe=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Map cannot be represented in JSON Schema`)},_Se=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Set cannot be represented in JSON Schema`)},h7=(e,t,n,r)=>{let i=n,a=e._zod.def,{minimum:o,maximum:s}=e._zod.bag;typeof o==`number`&&(i.minItems=o),typeof s==`number`&&(i.maxItems=s),i.type=`array`,i.items=t7(a.element,t,{...r,path:[...r.path,`items`]})},g7=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`object`,i.properties={};let o=a.shape;for(let e in o)i.properties[e]=t7(o[e],t,{...r,path:[...r.path,`properties`,e]});let s=new Set(Object.keys(o)),c=new Set([...s].filter(e=>{let n=a.shape[e]._zod;return t.io===`input`?n.optin===void 0:n.optout===void 0}));c.size>0&&(i.required=Array.from(c)),a.catchall?._zod.def.type===`never`?i.additionalProperties=!1:a.catchall?a.catchall&&(i.additionalProperties=t7(a.catchall,t,{...r,path:[...r.path,`additionalProperties`]})):t.io===`output`&&(i.additionalProperties=!1)},_7=(e,t,n,r)=>{let i=e._zod.def,a=i.inclusive===!1,o=i.options.map((e,n)=>t7(e,t,{...r,path:[...r.path,a?`oneOf`:`anyOf`,n]}));a?n.oneOf=o:n.anyOf=o},v7=(e,t,n,r)=>{let i=e._zod.def,a=t7(i.left,t,{...r,path:[...r.path,`allOf`,0]}),o=t7(i.right,t,{...r,path:[...r.path,`allOf`,1]}),s=e=>`allOf`in e&&Object.keys(e).length===1;n.allOf=[...s(a)?a.allOf:[a],...s(o)?o.allOf:[o]]},vSe=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`array`;let o=t.target===`draft-2020-12`?`prefixItems`:`items`,s=t.target===`draft-2020-12`||t.target===`openapi-3.0`?`items`:`additionalItems`,c=a.items.map((e,n)=>t7(e,t,{...r,path:[...r.path,o,n]})),l=a.rest?t7(a.rest,t,{...r,path:[...r.path,s,...t.target===`openapi-3.0`?[a.items.length]:[]]}):null;t.target===`draft-2020-12`?(i.prefixItems=c,l&&(i.items=l)):t.target===`openapi-3.0`?(i.items={anyOf:c},l&&i.items.anyOf.push(l),i.minItems=c.length,l||(i.maxItems=c.length)):(i.items=c,l&&(i.additionalItems=l));let{minimum:u,maximum:d}=e._zod.bag;typeof u==`number`&&(i.minItems=u),typeof d==`number`&&(i.maxItems=d)},y7=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`object`;let o=a.keyType,s=o._zod.bag?.patterns;if(a.mode===`loose`&&s&&s.size>0){let e=t7(a.valueType,t,{...r,path:[...r.path,`patternProperties`,`*`]});i.patternProperties={};for(let t of s)i.patternProperties[t.source]=e}else(t.target===`draft-07`||t.target===`draft-2020-12`)&&(i.propertyNames=t7(a.keyType,t,{...r,path:[...r.path,`propertyNames`]})),i.additionalProperties=t7(a.valueType,t,{...r,path:[...r.path,`additionalProperties`]});let c=o._zod.values;if(c){let e=[...c].filter(e=>typeof e==`string`||typeof e==`number`);e.length>0&&(i.required=e)}},b7=(e,t,n,r)=>{let i=e._zod.def,a=t7(i.innerType,t,r),o=t.seen.get(e);t.target===`openapi-3.0`?(o.ref=i.innerType,n.nullable=!0):n.anyOf=[a,{type:`null`}]},x7=(e,t,n,r)=>{let i=e._zod.def;t7(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},S7=(e,t,n,r)=>{let i=e._zod.def;t7(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.default=JSON.parse(JSON.stringify(i.defaultValue))},C7=(e,t,n,r)=>{let i=e._zod.def;t7(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,t.io===`input`&&(n._prefault=JSON.parse(JSON.stringify(i.defaultValue)))},w7=(e,t,n,r)=>{let i=e._zod.def;t7(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType;let o;try{o=i.catchValue(void 0)}catch{throw Error(`Dynamic catch values are not supported in JSON Schema`)}n.default=o},T7=(e,t,n,r)=>{let i=e._zod.def,a=t.io===`input`?i.in._zod.def.type===`transform`?i.out:i.in:i.out;t7(a,t,r);let o=t.seen.get(e);o.ref=a},E7=(e,t,n,r)=>{let i=e._zod.def;t7(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.readOnly=!0},ySe=(e,t,n,r)=>{let i=e._zod.def;t7(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},D7=(e,t,n,r)=>{let i=e._zod.def;t7(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},O7=(e,t,n,r)=>{let i=e._zod.innerType;t7(i,t,r);let a=t.seen.get(e);a.ref=i},k7={string:o7,number:s7,boolean:c7,bigint:iSe,symbol:aSe,null:l7,undefined:oSe,void:sSe,never:u7,any:cSe,unknown:lSe,date:uSe,enum:d7,literal:f7,nan:dSe,template_literal:fSe,file:pSe,success:mSe,custom:p7,function:hSe,transform:m7,map:gSe,set:_Se,array:h7,object:g7,union:_7,intersection:v7,tuple:vSe,record:y7,nullable:b7,nonoptional:x7,default:S7,prefault:C7,catch:w7,pipe:T7,readonly:E7,promise:ySe,optional:D7,lazy:O7};function bSe(e,t){if(`_idmap`in e){let n=e,r=e7({...t,processors:k7}),i={};for(let e of n._idmap.entries()){let[t,n]=e;t7(n,r)}let a={};r.external={registry:n,uri:t?.uri,defs:i};for(let e of n._idmap.entries()){let[t,n]=e;n7(r,n),a[t]=r7(r,n)}return Object.keys(i).length>0&&(a.__shared={[r.target===`draft-2020-12`?`$defs`:`definitions`]:i}),{schemas:a}}let n=e7({...t,processors:k7});return t7(e,n),n7(n,e),r7(n,e)}var xSe=$(`ZodISODateTime`,(e,t)=>{Sbe.init(e,t),I7.init(e,t)});function SSe(e){return Axe(xSe,e)}var CSe=$(`ZodISODate`,(e,t)=>{Cbe.init(e,t),I7.init(e,t)});function wSe(e){return jxe(CSe,e)}var TSe=$(`ZodISOTime`,(e,t)=>{wbe.init(e,t),I7.init(e,t)});function ESe(e){return Mxe(TSe,e)}var DSe=$(`ZodISODuration`,(e,t)=>{Tbe.init(e,t),I7.init(e,t)});function OSe(e){return Nxe(DSe,e)}var A7=(e,t)=>{o5.init(e,t),e.name=`ZodError`,Object.defineProperties(e,{format:{value:t=>mye(e,t)},flatten:{value:t=>pye(e,t)},addIssue:{value:t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,L8,2)}},addIssues:{value:t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,L8,2)}},isEmpty:{get(){return e.issues.length===0}}})};$(`ZodError`,A7);var j7=$(`ZodError`,A7,{Parent:Error}),kSe=c5(j7),ASe=l5(j7),jSe=u5(j7),M7=d5(j7),MSe=_ye(j7),NSe=vye(j7),PSe=yye(j7),FSe=bye(j7),ISe=xye(j7),LSe=Sye(j7),RSe=Cye(j7),zSe=wye(j7),N7=$(`ZodType`,(e,t)=>(S5.init(e,t),Object.assign(e[`~standard`],{jsonSchema:{input:a7(e,`input`),output:a7(e,`output`)}}),e.toJSONSchema=nSe(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.check=(...n)=>e.clone(W8(t,{checks:[...t.checks??[],...n.map(e=>typeof e==`function`?{_zod:{check:e,def:{check:`custom`},onattach:[]}}:e)]}),{parent:!0}),e.with=e.check,e.clone=(t,n)=>Z8(e,t,n),e.brand=()=>e,e.register=((t,n)=>(t.add(e,n),e)),e.parse=(t,n)=>kSe(e,t,n,{callee:e.parse}),e.safeParse=(t,n)=>jSe(e,t,n),e.parseAsync=async(t,n)=>ASe(e,t,n,{callee:e.parseAsync}),e.safeParseAsync=async(t,n)=>M7(e,t,n),e.spa=e.safeParseAsync,e.encode=(t,n)=>MSe(e,t,n),e.decode=(t,n)=>NSe(e,t,n),e.encodeAsync=async(t,n)=>PSe(e,t,n),e.decodeAsync=async(t,n)=>FSe(e,t,n),e.safeEncode=(t,n)=>ISe(e,t,n),e.safeDecode=(t,n)=>LSe(e,t,n),e.safeEncodeAsync=async(t,n)=>RSe(e,t,n),e.safeDecodeAsync=async(t,n)=>zSe(e,t,n),e.refine=(t,n)=>e.check(FCe(t,n)),e.superRefine=t=>e.check(ICe(t)),e.overwrite=t=>e.check($5(t)),e.optional=()=>n9(e),e.exactOptional=()=>bCe(e),e.nullable=()=>r9(e),e.nullish=()=>n9(r9(e)),e.nonoptional=t=>ECe(e,t),e.array=()=>G7(e),e.or=t=>Y7([e,t]),e.and=t=>mCe(e,t),e.transform=t=>a9(e,vCe(t)),e.default=t=>CCe(e,t),e.prefault=t=>TCe(e,t),e.catch=t=>OCe(e,t),e.pipe=t=>a9(e,t),e.readonly=()=>jCe(e),e.describe=t=>{let n=e.clone();return U5.add(n,{description:t}),n},Object.defineProperty(e,"description",{get(){return U5.get(e)?.description},configurable:!0}),e.meta=(...t)=>{if(t.length===0)return U5.get(e);let n=e.clone();return U5.add(n,t[0]),n},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e.apply=t=>t(e),e)),P7=$(`_ZodString`,(e,t)=>{C5.init(e,t),N7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>o7(e,t,n,r);let n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,e.regex=(...t)=>e.check(Bxe(...t)),e.includes=(...t)=>e.check(Uxe(...t)),e.startsWith=(...t)=>e.check(Wxe(...t)),e.endsWith=(...t)=>e.check(Gxe(...t)),e.min=(...t)=>e.check(Z5(...t)),e.max=(...t)=>e.check(X5(...t)),e.length=(...t)=>e.check(Q5(...t)),e.nonempty=(...t)=>e.check(Z5(1,...t)),e.lowercase=t=>e.check(Vxe(t)),e.uppercase=t=>e.check(Hxe(t)),e.trim=()=>e.check(qxe()),e.normalize=(...t)=>e.check(Kxe(...t)),e.toLowerCase=()=>e.check(Jxe()),e.toUpperCase=()=>e.check(Yxe()),e.slugify=()=>e.check(Xxe())}),BSe=$(`ZodString`,(e,t)=>{C5.init(e,t),P7.init(e,t),e.email=t=>e.check(lxe(VSe,t)),e.url=t=>e.check(mxe(HSe,t)),e.jwt=t=>e.check(kxe(rCe,t)),e.emoji=t=>e.check(hxe(USe,t)),e.guid=t=>e.check(W5(L7,t)),e.uuid=t=>e.check(uxe(R7,t)),e.uuidv4=t=>e.check(dxe(R7,t)),e.uuidv6=t=>e.check(fxe(R7,t)),e.uuidv7=t=>e.check(pxe(R7,t)),e.nanoid=t=>e.check(gxe(WSe,t)),e.guid=t=>e.check(W5(L7,t)),e.cuid=t=>e.check(_xe(GSe,t)),e.cuid2=t=>e.check(vxe(KSe,t)),e.ulid=t=>e.check(yxe(qSe,t)),e.base64=t=>e.check(Exe(eCe,t)),e.base64url=t=>e.check(Dxe(tCe,t)),e.xid=t=>e.check(bxe(JSe,t)),e.ksuid=t=>e.check(xxe(YSe,t)),e.ipv4=t=>e.check(Sxe(XSe,t)),e.ipv6=t=>e.check(Cxe(ZSe,t)),e.cidrv4=t=>e.check(wxe(QSe,t)),e.cidrv6=t=>e.check(Txe($Se,t)),e.e164=t=>e.check(Oxe(nCe,t)),e.datetime=t=>e.check(SSe(t)),e.date=t=>e.check(wSe(t)),e.time=t=>e.check(ESe(t)),e.duration=t=>e.check(OSe(t))});function F7(e){return cxe(BSe,e)}var I7=$(`ZodStringFormat`,(e,t)=>{w5.init(e,t),P7.init(e,t)}),VSe=$(`ZodEmail`,(e,t)=>{pbe.init(e,t),I7.init(e,t)}),L7=$(`ZodGUID`,(e,t)=>{dbe.init(e,t),I7.init(e,t)}),R7=$(`ZodUUID`,(e,t)=>{fbe.init(e,t),I7.init(e,t)}),HSe=$(`ZodURL`,(e,t)=>{mbe.init(e,t),I7.init(e,t)}),USe=$(`ZodEmoji`,(e,t)=>{hbe.init(e,t),I7.init(e,t)}),WSe=$(`ZodNanoID`,(e,t)=>{gbe.init(e,t),I7.init(e,t)}),GSe=$(`ZodCUID`,(e,t)=>{_be.init(e,t),I7.init(e,t)}),KSe=$(`ZodCUID2`,(e,t)=>{vbe.init(e,t),I7.init(e,t)}),qSe=$(`ZodULID`,(e,t)=>{ybe.init(e,t),I7.init(e,t)}),JSe=$(`ZodXID`,(e,t)=>{bbe.init(e,t),I7.init(e,t)}),YSe=$(`ZodKSUID`,(e,t)=>{xbe.init(e,t),I7.init(e,t)}),XSe=$(`ZodIPv4`,(e,t)=>{Ebe.init(e,t),I7.init(e,t)}),ZSe=$(`ZodIPv6`,(e,t)=>{Dbe.init(e,t),I7.init(e,t)}),QSe=$(`ZodCIDRv4`,(e,t)=>{Obe.init(e,t),I7.init(e,t)}),$Se=$(`ZodCIDRv6`,(e,t)=>{kbe.init(e,t),I7.init(e,t)}),eCe=$(`ZodBase64`,(e,t)=>{Abe.init(e,t),I7.init(e,t)}),tCe=$(`ZodBase64URL`,(e,t)=>{Mbe.init(e,t),I7.init(e,t)}),nCe=$(`ZodE164`,(e,t)=>{Nbe.init(e,t),I7.init(e,t)}),rCe=$(`ZodJWT`,(e,t)=>{Fbe.init(e,t),I7.init(e,t)}),z7=$(`ZodNumber`,(e,t)=>{E5.init(e,t),N7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>s7(e,t,n,r),e.gt=(t,n)=>e.check(q5(t,n)),e.gte=(t,n)=>e.check(J5(t,n)),e.min=(t,n)=>e.check(J5(t,n)),e.lt=(t,n)=>e.check(G5(t,n)),e.lte=(t,n)=>e.check(K5(t,n)),e.max=(t,n)=>e.check(K5(t,n)),e.int=t=>e.check(V7(t)),e.safe=t=>e.check(V7(t)),e.positive=t=>e.check(q5(0,t)),e.nonnegative=t=>e.check(J5(0,t)),e.negative=t=>e.check(G5(0,t)),e.nonpositive=t=>e.check(K5(0,t)),e.multipleOf=(t,n)=>e.check(Y5(t,n)),e.step=(t,n)=>e.check(Y5(t,n)),e.finite=()=>e;let n=e._zod.bag;e.minValue=Math.max(n.minimum??-1/0,n.exclusiveMinimum??-1/0)??null,e.maxValue=Math.min(n.maximum??1/0,n.exclusiveMaximum??1/0)??null,e.isInt=(n.format??``).includes(`int`)||Number.isSafeInteger(n.multipleOf??.5),e.isFinite=!0,e.format=n.format??null});function B7(e){return Pxe(z7,e)}var iCe=$(`ZodNumberFormat`,(e,t)=>{Ibe.init(e,t),z7.init(e,t)});function V7(e){return Fxe(iCe,e)}var aCe=$(`ZodBoolean`,(e,t)=>{Lbe.init(e,t),N7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>c7(e,t,n,r)});function H7(e){return Ixe(aCe,e)}var oCe=$(`ZodNull`,(e,t)=>{Rbe.init(e,t),N7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>l7(e,t,n,r)});function sCe(e){return Lxe(oCe,e)}var cCe=$(`ZodUnknown`,(e,t)=>{zbe.init(e,t),N7.init(e,t),e._zod.processJSONSchema=(e,t,n)=>void 0});function U7(){return Rxe(cCe)}var lCe=$(`ZodNever`,(e,t)=>{Bbe.init(e,t),N7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>u7(e,t,n,r)});function W7(e){return zxe(lCe,e)}var uCe=$(`ZodArray`,(e,t)=>{Vbe.init(e,t),N7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>h7(e,t,n,r),e.element=t.element,e.min=(t,n)=>e.check(Z5(t,n)),e.nonempty=t=>e.check(Z5(1,t)),e.max=(t,n)=>e.check(X5(t,n)),e.length=(t,n)=>e.check(Q5(t,n)),e.unwrap=()=>e.element});function G7(e,t){return Zxe(uCe,e,t)}var K7=$(`ZodObject`,(e,t)=>{Ube.init(e,t),N7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>g7(e,t,n,r),H8(e,`shape`,()=>t.shape),e.keyof=()=>$7(Object.keys(e._zod.def.shape)),e.catchall=t=>e.clone({...e._zod.def,catchall:t}),e.passthrough=()=>e.clone({...e._zod.def,catchall:U7()}),e.loose=()=>e.clone({...e._zod.def,catchall:U7()}),e.strict=()=>e.clone({...e._zod.def,catchall:W7()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=t=>cye(e,t),e.safeExtend=t=>lye(e,t),e.merge=t=>uye(e,t),e.pick=t=>oye(e,t),e.omit=t=>sye(e,t),e.partial=(...t)=>dye(t9,e,t[0]),e.required=(...t)=>fye(i9,e,t[0])});function q7(e,t){return new K7({type:`object`,shape:e??{},...Q8(t)})}function dCe(e,t){return new K7({type:`object`,shape:e,catchall:W7(),...Q8(t)})}var J7=$(`ZodUnion`,(e,t)=>{M5.init(e,t),N7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>_7(e,t,n,r),e.options=t.options});function Y7(e,t){return new J7({type:`union`,options:e,...Q8(t)})}var fCe=$(`ZodDiscriminatedUnion`,(e,t)=>{J7.init(e,t),Wbe.init(e,t)});function X7(e,t,n){return new fCe({type:`union`,options:t,discriminator:e,...Q8(n)})}var pCe=$(`ZodIntersection`,(e,t)=>{Gbe.init(e,t),N7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>v7(e,t,n,r)});function mCe(e,t){return new pCe({type:`intersection`,left:e,right:t})}var hCe=$(`ZodRecord`,(e,t)=>{Kbe.init(e,t),N7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>y7(e,t,n,r),e.keyType=t.keyType,e.valueType=t.valueType});function Z7(e,t,n){return new hCe({type:`record`,keyType:e,valueType:t,...Q8(n)})}var Q7=$(`ZodEnum`,(e,t)=>{qbe.init(e,t),N7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>d7(e,t,n,r),e.enum=t.entries,e.options=Object.values(t.entries);let n=new Set(Object.keys(t.entries));e.extract=(e,r)=>{let i={};for(let r of e)if(n.has(r))i[r]=t.entries[r];else throw Error(`Key ${r} not found in enum`);return new Q7({...t,checks:[],...Q8(r),entries:i})},e.exclude=(e,r)=>{let i={...t.entries};for(let t of e)if(n.has(t))delete i[t];else throw Error(`Key ${t} not found in enum`);return new Q7({...t,checks:[],...Q8(r),entries:i})}});function $7(e,t){return new Q7({type:`enum`,entries:Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e,...Q8(t)})}var gCe=$(`ZodLiteral`,(e,t)=>{Jbe.init(e,t),N7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>f7(e,t,n,r),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function e9(e,t){return new gCe({type:`literal`,values:Array.isArray(e)?e:[e],...Q8(t)})}var _Ce=$(`ZodTransform`,(e,t)=>{Ybe.init(e,t),N7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>m7(e,t,n,r),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new N8(e.constructor.name);n.addIssue=r=>{if(typeof r==`string`)n.issues.push(i5(r,n.value,t));else{let t=r;t.fatal&&(t.continue=!1),t.code??=`custom`,t.input??=n.value,t.inst??=e,n.issues.push(i5(t))}};let i=t.transform(n.value,n);return i instanceof Promise?i.then(e=>(n.value=e,n)):(n.value=i,n)}});function vCe(e){return new _Ce({type:`transform`,transform:e})}var t9=$(`ZodOptional`,(e,t)=>{I5.init(e,t),N7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>D7(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function n9(e){return new t9({type:`optional`,innerType:e})}var yCe=$(`ZodExactOptional`,(e,t)=>{Xbe.init(e,t),N7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>D7(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function bCe(e){return new yCe({type:`optional`,innerType:e})}var xCe=$(`ZodNullable`,(e,t)=>{Zbe.init(e,t),N7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>b7(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function r9(e){return new xCe({type:`nullable`,innerType:e})}var SCe=$(`ZodDefault`,(e,t)=>{Qbe.init(e,t),N7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>S7(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function CCe(e,t){return new SCe({type:`default`,innerType:e,get defaultValue(){return typeof t==`function`?t():Y8(t)}})}var wCe=$(`ZodPrefault`,(e,t)=>{$be.init(e,t),N7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>C7(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function TCe(e,t){return new wCe({type:`prefault`,innerType:e,get defaultValue(){return typeof t==`function`?t():Y8(t)}})}var i9=$(`ZodNonOptional`,(e,t)=>{exe.init(e,t),N7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>x7(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function ECe(e,t){return new i9({type:`nonoptional`,innerType:e,...Q8(t)})}var DCe=$(`ZodCatch`,(e,t)=>{txe.init(e,t),N7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>w7(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function OCe(e,t){return new DCe({type:`catch`,innerType:e,catchValue:typeof t==`function`?t:()=>t})}var kCe=$(`ZodPipe`,(e,t)=>{nxe.init(e,t),N7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>T7(e,t,n,r),e.in=t.in,e.out=t.out});function a9(e,t){return new kCe({type:`pipe`,in:e,out:t})}var ACe=$(`ZodReadonly`,(e,t)=>{rxe.init(e,t),N7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>E7(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function jCe(e){return new ACe({type:`readonly`,innerType:e})}var MCe=$(`ZodLazy`,(e,t)=>{ixe.init(e,t),N7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>O7(e,t,n,r),e.unwrap=()=>e._zod.def.getter()});function NCe(e){return new MCe({type:`lazy`,getter:e})}var o9=$(`ZodCustom`,(e,t)=>{axe.init(e,t),N7.init(e,t),e._zod.processJSONSchema=(t,n,r)=>p7(e,t,n,r)});function PCe(e,t){return Qxe(o9,e??(()=>!0),t)}function FCe(e,t={}){return $xe(o9,e,t)}function ICe(e){return eSe(e)}function LCe(e,t={}){let n=new o9({type:`custom`,check:`custom`,fn:t=>t instanceof e,abort:!0,...Q8(t)});return n._zod.bag.Class=e,n._zod.check=t=>{t.value instanceof e||t.issues.push({code:`invalid_type`,expected:e.name,input:t.value,inst:n,path:[...n._zod.def.path??[]]})},n}var RCe=F7().min(7).default(()=>UV()),s9=q7({description:F7().optional(),"x-scalar-ignore":H7().optional()}),c9=q7({uid:RCe.brand(),nameKey:F7().optional().default(``)}),l9=s9.extend({type:e9(`apiKey`),name:F7().optional().default(``),in:$7([`query`,`header`,`cookie`]).optional().default(`header`).catch(`header`)}),zCe=q7({value:F7().default(``)}),BCe=l9.merge(c9).merge(zCe),u9=s9.extend({type:e9(`http`),scheme:F7().toLowerCase().pipe($7([`basic`,`bearer`])).optional().default(`basic`),bearerFormat:Y7([e9(`JWT`),F7()]).optional().default(`JWT`)}),VCe=q7({username:F7().default(``),password:F7().default(``),token:F7().default(``)}),HCe=u9.merge(c9).merge(VCe),d9=s9.extend({type:e9(`openIdConnect`),openIdConnectUrl:F7().optional().default(``)}),UCe=d9.merge(c9),f9=F7().default(``),p9=F7().default(``),m9=q7({refreshUrl:F7().optional().default(``),scopes:Z7(F7(),F7().optional().default(``)).optional().default({}).catch({}),selectedScopes:G7(F7()).optional().default([]),"x-scalar-client-id":F7().optional().default(``),token:F7().default(``),"x-scalar-security-query":Z7(F7(),F7()).optional(),"x-scalar-security-body":Z7(F7(),F7()).optional(),"x-tokenName":F7().optional(),"x-order":B7().optional(),"x-scalar-ignore":H7().optional()}),h9=typeof window<`u`?window.location.origin+window.location.pathname:``,g9=[`SHA-256`,`plain`,`no`],_9=$7([`header`,`body`]).optional(),v9=s9.extend({type:e9(`oauth2`),"x-default-scopes":G7(F7()).optional(),flows:q7({implicit:m9.extend({type:e9(`implicit`).default(`implicit`),authorizationUrl:f9,"x-scalar-redirect-uri":F7().optional().default(h9)}),password:m9.extend({type:e9(`password`).default(`password`),tokenUrl:p9,clientSecret:F7().default(``),username:F7().default(``),password:F7().default(``),"x-scalar-credentials-location":_9}),clientCredentials:m9.extend({type:e9(`clientCredentials`).default(`clientCredentials`),tokenUrl:p9,clientSecret:F7().default(``),"x-scalar-credentials-location":_9}),authorizationCode:m9.extend({type:e9(`authorizationCode`).default(`authorizationCode`),authorizationUrl:f9,"x-usePkce":$7(g9).optional().default(`no`),"x-scalar-redirect-uri":F7().optional().default(h9),tokenUrl:p9,clientSecret:F7().default(``),"x-scalar-credentials-location":_9})}).partial().default({implicit:{selectedScopes:[],scopes:{},"x-scalar-client-id":``,refreshUrl:``,token:``,type:`implicit`,authorizationUrl:`http://localhost:8080`,"x-scalar-redirect-uri":h9}})}),WCe=v9.merge(c9);Z7(F7(),G7(F7()).optional().default([])),Y7([l9,u9,v9,d9]),X7(`type`,[BCe,HCe,UCe,WCe]).transform(e=>(e.type===`oauth2`&&e[`x-default-scopes`]?.length&&Object.keys(e.flows).forEach(t=>{e.flows[t]?.selectedScopes&&e[`x-default-scopes`]&&(e.flows[t].selectedScopes=[e[`x-default-scopes`]].flat())}),e));var GCe={class:`flex h-8 items-center justify-end gap-2 border-t`},KCe={class:`flex h-8 w-full items-center justify-end border-t`},y9=T({__name:`OAuth2`,props:{environment:{},flows:{},type:{},selectedScopes:{},scheme:{},server:{},proxyUrl:{},name:{},eventBus:{},options:{default:()=>({})},hideActions:{type:Boolean}},emits:[`update:selectedScopes`,`upsert:scope`,`delete:scope`],setup(e,{emit:t}){let n=t,r=j8(),{toast:i}=A8(),a=M(()=>e.flows[e.type]),o=M(()=>{let t=a.value.scopes;return t?e.selectedScopes.filter(e=>Object.hasOwn(t,e)):[]}),s=M(()=>`x-scalar-secret-client-secret`in a.value),c=M(()=>a.value[`x-scalar-secret-client-secret`]??``),l=t=>{if(e.scheme.type===`openIdConnect`)return u(t);e.scheme.type===`oauth2`&&e.eventBus.emit(`auth:update:security-scheme`,{payload:{type:e.scheme.type,flows:{[e.type]:t}},name:e.name})},u=t=>e.eventBus.emit(`auth:update:security-scheme-secrets`,{payload:{type:e.scheme.type,[e.type]:t},name:e.name}),d=()=>{r.isLoading||e.eventBus.emit(`auth:clear:security-scheme-secrets`,{name:e.name})},f=()=>{r.isLoading||u({"x-scalar-secret-token":``,"x-scalar-secret-refresh-token":``})},p=j(null),m=j(!1),h=t=>JSON.stringify({type:e.type,authorizationUrl:t&&`authorizationUrl`in t?t.authorizationUrl:``,tokenUrl:t&&`tokenUrl`in t?t.tokenUrl:``,refreshUrl:t?.refreshUrl??``,scopes:Object.keys(t?.scopes??{})});Ye(()=>a.value,t=>{if(!t||!(`x-scalar-secret-redirect-uri`in t))return;let n=h(t);if(p.value!==n&&(p.value=n,m.value=!1),m.value)return;let r=t[`x-scalar-secret-redirect-uri`],i=g8(e.options);m.value=!0,!(r||!i||e.options.captureOAuth2Callback)&&u({"x-scalar-secret-redirect-uri":i})},{immediate:!0});let g=async()=>{if(r.isLoading)return;r.start();let[t,n]=await f8(e.flows,e.type,o.value,e.server,e.proxyUrl,gT(e.environment),e.options.customFetch,e.options.captureOAuth2Callback);await r.clear(),n?.accessToken?u({"x-scalar-secret-token":n.accessToken,...n.refreshToken?{"x-scalar-secret-refresh-token":n.refreshToken}:{}}):(console.error(t),i(t?.message??`Failed to authorize`,`error`))},_=M(()=>e.type!==`implicit`),v=M(()=>`tokenUrl`in a.value&&a.value.tokenUrl?a.value.tokenUrl:`https://galaxy.scalar.com/oauth/refresh`),b=async()=>{if(r.isLoading||e.type===`implicit`)return;r.start();let[t,n]=await m8(e.flows,e.type,e.proxyUrl,e.server,gT(e.environment),e.options.customFetch);await r.clear(),n?.accessToken?u({"x-scalar-secret-token":n.accessToken,...n.refreshToken?{"x-scalar-secret-refresh-token":n.refreshToken}:{}}):(console.error(t),i(t?.message??`Failed to refresh token`,`error`))},ee=t=>{let n=t===`body`?`body`:`header`;e.scheme.type!==`openIdConnect`&&l({"x-scalar-credentials-location":n}),u({"x-scalar-credentials-location":n})};return(t,i)=>a.value[`x-scalar-secret-token`]?(y(),N(Me,{key:0},[O(E(ZV),null,{default:D(()=>[O(v8,{class:`border-r-transparent`,environment:e.environment,modelValue:a.value[`x-scalar-secret-token`],placeholder:`QUxMIFlPVVIgQkFTRSBBUkUgQkVMT05HIFRPIFVT`,type:`password`,"onUpdate:modelValue":i[0]||=e=>u({"x-scalar-secret-token":e})},{default:D(()=>[...i[14]||=[F(` Access Token `,-1)]]),_:1},8,[`environment`,`modelValue`])]),_:1}),_.value?(y(),k(E(ZV),{key:0},{default:D(()=>[O(v8,{class:`border-r-transparent`,environment:e.environment,modelValue:a.value.refreshUrl??``,placeholder:v.value,"onUpdate:modelValue":i[1]||=e=>l({refreshUrl:e})},{default:D(()=>[...i[15]||=[F(` Refresh URL `,-1)]]),_:1},8,[`environment`,`modelValue`,`placeholder`])]),_:1})):A(``,!0),e.hideActions?A(``,!0):(y(),k(E(ZV),{key:1,class:`min-w-full`},{default:D(()=>[P(`div`,GCe,[_.value?(y(),k(E(qF),{key:0,class:`p-0 px-2 py-0.5`,loader:E(r),size:`sm`,variant:`outlined`,onClick:b},{default:D(()=>[...i[16]||=[F(` Refresh `,-1)]]),_:1},8,[`loader`])):A(``,!0),O(E(qF),{class:`mr-1 p-0 px-2 py-0.5`,disabled:E(r).isLoading,size:`sm`,variant:`outlined`,onClick:f},{default:D(()=>[...i[17]||=[F(` Clear `,-1)]]),_:1},8,[`disabled`])])]),_:1}))],64)):(y(),N(Me,{key:1},[O(E(ZV),null,{default:D(()=>[`authorizationUrl`in a.value?(y(),k(v8,{key:0,containerClass:`border-r-0`,environment:e.environment,modelValue:a.value[`x-scalar-secret-auth-url`]??``,placeholder:`https://galaxy.scalar.com/authorize`,"onUpdate:modelValue":i[2]||=e=>{u({"x-scalar-secret-auth-url":e}),l({authorizationUrl:e})}},{default:D(()=>[...i[18]||=[F(` Auth URL `,-1)]]),_:1},8,[`environment`,`modelValue`])):A(``,!0),`tokenUrl`in a.value?(y(),k(v8,{key:1,environment:e.environment,modelValue:a.value[`x-scalar-secret-token-url`]??``,placeholder:`https://galaxy.scalar.com/token`,"onUpdate:modelValue":i[3]||=e=>{u({"x-scalar-secret-token-url":e}),l({tokenUrl:e})}},{default:D(()=>[...i[19]||=[F(` Token URL `,-1)]]),_:1},8,[`environment`,`modelValue`])):A(``,!0)]),_:1}),`x-scalar-secret-redirect-uri`in a.value?(y(),k(E(ZV),{key:0},{default:D(()=>[O(v8,{environment:e.environment,modelValue:a.value[`x-scalar-secret-redirect-uri`],placeholder:e.options.captureOAuth2Callback?`${E(g8)(e.options)||`http://127.0.0.1`} (handled automatically)`:`Optional redirect URL`,"onUpdate:modelValue":i[4]||=e=>{m.value=!0,u({"x-scalar-secret-redirect-uri":e})}},{default:D(()=>[...i[20]||=[F(` Redirect URL `,-1)]]),_:1},8,[`environment`,`modelValue`,`placeholder`])]),_:1})):A(``,!0),`x-scalar-secret-username`in a.value&&`x-scalar-secret-password`in a.value?(y(),N(Me,{key:1},[O(E(ZV),null,{default:D(()=>[O(v8,{class:`text-c-2`,environment:e.environment,modelValue:a.value[`x-scalar-secret-username`],placeholder:`janedoe`,"onUpdate:modelValue":i[5]||=e=>u({"x-scalar-secret-username":e})},{default:D(()=>[...i[21]||=[F(` Username `,-1)]]),_:1},8,[`environment`,`modelValue`])]),_:1}),O(E(ZV),null,{default:D(()=>[O(v8,{environment:e.environment,modelValue:a.value[`x-scalar-secret-password`],placeholder:`********`,type:`password`,"onUpdate:modelValue":i[6]||=e=>u({"x-scalar-secret-password":e})},{default:D(()=>[...i[22]||=[F(` Password `,-1)]]),_:1},8,[`environment`,`modelValue`])]),_:1})],64)):A(``,!0),O(E(ZV),null,{default:D(()=>[O(v8,{environment:e.environment,modelValue:a.value[`x-scalar-secret-client-id`],placeholder:`12345`,"onUpdate:modelValue":i[7]||=e=>u({"x-scalar-secret-client-id":e})},{default:D(()=>[...i[23]||=[F(` Client ID `,-1)]]),_:1},8,[`environment`,`modelValue`])]),_:1}),s.value?(y(),k(E(ZV),{key:2},{default:D(()=>[O(v8,{environment:e.environment,modelValue:c.value,placeholder:`XYZ123`,type:`password`,"onUpdate:modelValue":i[8]||=e=>u({"x-scalar-secret-client-secret":e})},{default:D(()=>[...i[24]||=[F(` Client Secret `,-1)]]),_:1},8,[`environment`,`modelValue`])]),_:1})):A(``,!0),`x-usePkce`in a.value?(y(),k(E(ZV),{key:3},{default:D(()=>[O(v8,{enum:E(g9),environment:e.environment,modelValue:a.value[`x-usePkce`],readOnly:``,"onUpdate:modelValue":i[9]||=e=>l({"x-usePkce":e})},{default:D(()=>[...i[25]||=[F(` Use PKCE `,-1)]]),_:1},8,[`enum`,`environment`,`modelValue`])]),_:1})):A(``,!0),e.type===`implicit`?A(``,!0):(y(),k(E(ZV),{key:4},{default:D(()=>[O(v8,{enum:[`header`,`body`],environment:e.environment,modelValue:a.value[`x-scalar-credentials-location`]||`header`,placeholder:`header`,readOnly:``,"onUpdate:modelValue":i[10]||=e=>ee(e)},{default:D(()=>[...i[26]||=[F(` Credentials Location `,-1)]]),_:1},8,[`environment`,`modelValue`])]),_:1})),O(E(ZV),null,{default:D(()=>[O(lve,{flow:a.value,flowType:e.type,selectedScopes:o.value,"onUpdate:selectedScopes":i[11]||=e=>n(`update:selectedScopes`,e),"onUpsert:scope":i[12]||=e=>n(`upsert:scope`,e),"onDelete:scope":i[13]||=e=>n(`delete:scope`,e)},null,8,[`flow`,`flowType`,`selectedScopes`])]),_:1}),e.hideActions?A(``,!0):(y(),k(E(ZV),{key:5,class:`min-w-full`},{default:D(()=>[P(`div`,KCe,[e.scheme.type===`openIdConnect`?(y(),k(E(qF),{key:0,class:`mr-1 p-0 px-2 py-0.5`,disabled:E(r).isLoading,size:`sm`,variant:`outlined`,onClick:d},{default:D(()=>[...i[27]||=[F(` Clear `,-1)]]),_:1},8,[`disabled`])):A(``,!0),O(E(qF),{class:`mr-0.75 p-0 px-2 py-0.5`,loader:E(r),size:`sm`,variant:`outlined`,onClick:g},{default:D(()=>[...i[28]||=[F(` Authorize `,-1)]]),_:1},8,[`loader`])])]),_:1}))],64))}}),qCe=V.Object({authorization_endpoint:V.Optional(V.String()),token_endpoint:V.Optional(V.String()),scopes_supported:V.Optional(V.Array(V.String())),grant_types_supported:V.Optional(V.Array(V.String())),code_challenge_methods_supported:V.Optional(V.Array(V.String()))}),JCe=async(e,t,n=fetch)=>{try{let r=e.trim();if(!r)return[Error(`URL cannot be empty`),null];r.endsWith(`/`)&&(r=r.slice(0,-1)),r.includes(`/.well-known/openid-configuration`)||(r=`${r}/.well-known/openid-configuration`);let i=await n(kw(t,r));if(!i.ok)return[Error(`Failed to fetch OpenID Connect discovery document: ${i.status} ${i.statusText}`),null];let a=zx(qCe,await i.json());return!a.authorization_endpoint&&!a.token_endpoint?[Error(`Invalid OpenID Connect discovery document: missing required endpoints`),null]:[null,a]}catch(e){return e instanceof Error?[e,null]:[Error(`Failed to fetch OpenID Connect discovery document`),null]}},YCe=uy(V.Object({type:V.Literal(`apiKey`)}),SC),XCe=uy(V.Object({type:V.Literal(`http`)}),SC,CC),b9=uy(_re,SC,fre),ZCe=V.Object({implicit:V.Optional(uy(b9,TC)),password:V.Optional(uy(b9,CC,wC,xC)),clientCredentials:V.Optional(uy(b9,wC,xC)),authorizationCode:V.Optional(uy(b9,wC,TC,xC))}),QCe=uy(V.Object({type:V.Literal(`oauth2`)}),ZCe),x9=V.Object({type:V.Literal(`openIdConnect`),implicit:V.Optional(uy(DC,b9,TC)),password:V.Optional(uy(OC,b9,CC,wC,xC)),clientCredentials:V.Optional(uy(kC,b9,wC,xC)),authorizationCode:V.Optional(uy(AC,b9,wC,TC,xC))}),$Ce=uy(V.Object({type:V.Union([V.Literal(`userPassword`),V.Literal(`plain`),V.Literal(`scramSha256`),V.Literal(`scramSha512`)])}),CC),ewe=uy(V.Object({type:V.Literal(`X509`)}),vre,yre),twe=uy(V.Object({type:V.Union([V.Literal(`symmetricEncryption`),V.Literal(`asymmetricEncryption`)])}),SC),nwe=uy(V.Object({type:V.Literal(`gssapi`)}),bre),S9=V.Union([YCe,XCe,QCe,x9,$Ce,ewe,twe,nwe]),rwe=V.Record(V.String(),S9),C9=V.Object({selectedIndex:V.Number(),selectedSchemes:V.Array(Uie)}),w9=V.Object({secrets:rwe,selected:V.Object({document:V.Optional(C9),path:V.Optional(V.Record(V.String(),V.Record(V.String(),V.Optional(C9))))})}),iwe=V.Record(V.String(),w9),awe=e=>{let t=Object.fromEntries((e.scopes_supported??[]).map(e=>[e,``])),n=new Set(e.grant_types_supported??[`authorization_code`,`implicit`]),r=e.authorization_endpoint,i=e.token_endpoint,a=e.code_challenge_methods_supported?.includes(`S256`)?`SHA-256`:e.code_challenge_methods_supported?.includes(`plain`)?`plain`:`no`,o={};return n.has(`implicit`)&&r&&(o.implicit={authorizationUrl:r,refreshUrl:r,scopes:t}),n.has(`password`)&&i&&(o.password={tokenUrl:i,refreshUrl:i,scopes:t}),n.has(`client_credentials`)&&i&&(o.clientCredentials={tokenUrl:i,refreshUrl:i,scopes:t}),n.has(`authorization_code`)&&r&&i&&(o.authorizationCode={authorizationUrl:r,tokenUrl:i,refreshUrl:i,"x-usePkce":a,scopes:t}),zx(x9,o)},owe={class:`flex h-8 w-full items-center justify-end border-t`},swe=T({__name:`OpenIDConnect`,props:{environment:{},eventBus:{},getStaticBorderClass:{type:Function},name:{},proxyUrl:{},scheme:{},customFetch:{}},setup(e){let t=j8(),{toast:n}=A8(),r=async()=>{if(t.isLoading||!e.scheme.openIdConnectUrl)return;t.start();let[r,i]=await JCe(e.scheme.openIdConnectUrl,e.proxyUrl,e.customFetch);if(await t.clear(),r){console.error(r),n(r?.message??`Failed to fetch OpenID Connect configuration`,`error`);return}let a=awe(i);e.eventBus.emit(`auth:update:security-scheme-secrets`,{payload:a,name:e.name,overwrite:!0})},i=t=>e.eventBus.emit(`auth:update:security-scheme`,{payload:{type:`openIdConnect`,openIdConnectUrl:t},name:e.name});return(n,a)=>(y(),N(Me,null,[O(E(ZV),null,{default:D(()=>[O(v8,{containerClass:e.getStaticBorderClass(),environment:e.environment,modelValue:e.scheme.openIdConnectUrl,placeholder:`https://example.com/.well-known/openid-configuration`,required:``,"onUpdate:modelValue":i},{default:D(()=>[...a[0]||=[F(` Discovery URL `,-1)]]),_:1},8,[`containerClass`,`environment`,`modelValue`])]),_:1}),O(E(ZV),{class:`min-w-full`},{default:D(()=>[P(`div`,owe,[O(E(qF),{class:`mr-0.75 p-0 px-2 py-0.5`,disabled:!e.scheme.openIdConnectUrl,loader:E(t),size:`sm`,variant:`outlined`,onClick:r},{default:D(()=>[...a[1]||=[F(` Fetch Configuration `,-1)]]),_:1},8,[`disabled`,`loader`])])]),_:1})],64))}}),cwe={class:`bg-b-1 min-w-0 flex-1 px-3 py-1.25`},lwe={class:`text-c-1 leading-5.5 font-medium`},uwe={class:`flex h-8 items-center gap-2 border-t px-3`},dwe={class:`flex min-h-8 border-t text-base`},fwe={class:`flex h-8 max-w-full gap-2.5 overflow-x-auto px-3`},pwe=[`onClick`],mwe={class:`relative z-10`},hwe={key:9,class:`text-c-3 flex items-center justify-center border-t p-4 px-4 text-center text-xs text-balance`},gwe={key:10,class:`text-c-3 flex items-center justify-center border-t p-4 px-4 text-center text-xs text-balance`},_we={class:`flex h-8 items-center justify-end gap-2 border-t`},vwe=T({__name:`RequestAuthTab`,props:{environment:{},isStatic:{type:Boolean},proxyUrl:{},selectedSecuritySchemas:{},securitySchemes:{},server:{},eventBus:{},options:{},documentType:{default:`openapi`}},emits:[`update:selectedScopes`,`upsert:scope`,`delete:scope`],setup(e,{emit:t}){let n=M(()=>TT(e.documentType)),r=t,i=M(()=>Object.entries(e.selectedSecuritySchemas).map(([t,n=[]])=>{let r=Tc(e.securitySchemes[t]);return{scheme:r,name:t,scopes:n,visibleFlowKeys:r?.type===`oauth2`||r?.type===`openIdConnect`?h8(r.flows):[]}})),a=j(``),o=M(()=>i.value.flatMap(e=>e.visibleFlowKeys).some(e=>e===a.value)?a.value:``),s=e=>{a.value=e},c=M(()=>i.value.length>1),l=(e,t)=>{let n=C(e);switch(t.type){case`apiKey`:return`${n}: ${t.in}`;case`openIdConnect`:case`oauth2`:{let e=h8(t.flows)[0],r=o.value||e;return r?`${n}: ${r}`:n}case`http`:return`${n}: ${t.scheme}`;default:return n}},u=e=>e.in!==`user`&&e.in!==`password`,d=e=>xT(e?.type),f=e=>ST(e?.type),p=e=>e?.type===`X509`,m=e=>e?.type===`gssapi`,h=e=>e?.type,g=(e,t)=>o.value===e||t===0&&!o.value,b=()=>e.isStatic&&`border-t`,ee=(t,n)=>e.eventBus.emit(`auth:update:security-scheme-secrets`,{payload:{type:`http`,...t},name:n}),te=(t,n)=>e.eventBus.emit(`auth:update:security-scheme-secrets`,{payload:{type:`apiKey`,...t},name:n}),x=(t,n)=>e.eventBus.emit(`auth:update:security-scheme-secrets`,{payload:t,name:n}),S=(t,n)=>e.eventBus.emit(`auth:update:security-scheme`,{payload:{type:`apiKey`,...t},name:n}),ne=(t,n)=>{r(`update:selectedScopes`,{id:Object.keys(e.selectedSecuritySchemas),name:t,...n})},re=(e,t)=>{r(`upsert:scope`,{...t,name:e})},ie=(e,t)=>{r(`delete:scope`,{...t,name:e})},ae=(t,n)=>{let r=`floating-bg text-c-3 relative cursor-pointer border-b border-transparent py-1 text-base font-medium`;return g(t,n)?`${r} !text-c-1 !rounded-none border-b !border-current ${e.isStatic?`opacity-100`:``}`:r},oe=M(()=>F_e(e.securitySchemes)),se=M(()=>oe.value?Tc(e.securitySchemes[oe.value.name]):void 0),w=j8(),{toast:ce}=A8(),le=t8(),ue=j(),T=async t=>{let n=oe.value;if(!n||w.isLoading)return;w.start();let[r]=await B_e({eventBus:e.eventBus,bearerSchemeName:t,oauth2Name:n.name,flows:n.flows,flowType:n.flowType,scopes:n.scopes,server:e.server,proxyUrl:e.proxyUrl,environment:e.environment,options:e.options});await w.clear(),r&&ce(r?.message??`Failed to authorize`,`error`)},de=async t=>{let n=oe.value;if(!n||n.flowType!==`authorizationCode`||w.isLoading)return;w.start();let[r,i]=await m8(n.flows,n.flowType,e.proxyUrl,e.server,gT(e.environment),e.options?.customFetch);await w.clear(),i?.accessToken?_8(e.eventBus,{bearerSchemeName:t,oauth2Name:n.name,flowType:n.flowType,tokens:i}):r&&ce(r?.message??`Failed to refresh`,`error`)},fe=e=>{ue.value=e,le.show()},pe=()=>{let e=ue.value;le.hide(),e&&T(e)};return(t,r)=>(y(),N(Me,null,[(y(!0),N(Me,null,_(i.value,({scheme:t,name:i,scopes:a,visibleFlowKeys:o})=>(y(),N(Me,{key:i},[c.value&&t?(y(),k(E(ZV),{key:0},{default:D(()=>[O(E(qV),{"aria-label":l(i,t),class:`max-h-[auto]`},{default:D(()=>[P(`div`,cwe,[P(`p`,lwe,ye(l(i,t)),1),t.description?(y(),k(E(Z4),{key:0,class:`auth-description text-c-2 w-full`,value:t.description},null,8,[`value`])):A(``,!0)])]),_:2},1032,[`aria-label`])]),_:2},1024)):A(``,!0),t?.description&&!c.value?(y(),k(E(ZV),{key:1},{default:D(()=>[O(E(qV),{"aria-label":t.description,class:`max-h-[auto]`},{default:D(()=>[O(E(Z4),{class:`auth-description bg-b-1 text-c-2 min-w-0 flex-1 px-3 py-1.25`,value:t.description},null,8,[`value`])]),_:2},1032,[`aria-label`])]),_:2},1024)):A(``,!0),t?.type===`http`?(y(),N(Me,{key:2},[t.scheme===`bearer`?(y(),k(E(ZV),{key:0},{default:D(()=>[O(v8,{containerClass:b(),environment:e.environment,modelValue:t[`x-scalar-secret-token`],placeholder:`Token`,type:`password`,"onUpdate:modelValue":e=>ee({"x-scalar-secret-token":e},i)},{default:D(()=>[...r[4]||=[F(` Bearer Token `,-1)]]),_:1},8,[`containerClass`,`environment`,`modelValue`,`onUpdate:modelValue`])]),_:2},1024)):A(``,!0),t.scheme===`bearer`&&oe.value?(y(),k(E(ZV),{key:1},{default:D(()=>[P(`div`,uwe,[r[6]||=P(`span`,{class:`text-c-3 mr-auto text-xs`},`Get a token`,-1),O(E(qF),{class:`p-0 px-2 py-0.5`,loader:E(w),size:`sm`,type:`button`,variant:`outlined`,onClick:e=>T(i)},{default:D(()=>[F(` Authorize via `+ye(oe.value.name),1)]),_:2},1032,[`loader`,`onClick`]),t[`x-scalar-secret-token`]&&oe.value.flowType===`authorizationCode`?(y(),k(E(qF),{key:0,class:`p-0 px-2 py-0.5`,disabled:E(w).isLoading,size:`sm`,type:`button`,variant:`outlined`,onClick:e=>de(i)},{default:D(()=>[...r[5]||=[F(` Refresh `,-1)]]),_:1},8,[`disabled`,`onClick`])):A(``,!0),O(E(Q4),{icon:E(oo),label:`Configure ${oe.value.name}`,size:`xs`,onClick:e=>fe(i)},null,8,[`icon`,`label`,`onClick`])])]),_:2},1024)):t?.scheme===`basic`?(y(),N(Me,{key:2},[O(E(ZV),null,{default:D(()=>[O(v8,{class:`text-c-2`,environment:e.environment,modelValue:t[`x-scalar-secret-username`],placeholder:`janedoe`,required:``,"onUpdate:modelValue":e=>ee({"x-scalar-secret-username":e},i)},{default:D(()=>[...r[7]||=[F(` Username `,-1)]]),_:1},8,[`environment`,`modelValue`,`onUpdate:modelValue`])]),_:2},1024),O(E(ZV),null,{default:D(()=>[O(v8,{environment:e.environment,modelValue:t[`x-scalar-secret-password`],placeholder:`********`,type:`password`,"onUpdate:modelValue":e=>ee({"x-scalar-secret-password":e},i)},{default:D(()=>[...r[8]||=[F(` Password `,-1)]]),_:1},8,[`environment`,`modelValue`,`onUpdate:modelValue`])]),_:2},1024)],64)):A(``,!0)],64)):t?.type===`apiKey`?(y(),N(Me,{key:3},[u(t)?(y(),k(E(ZV),{key:0},{default:D(()=>[O(v8,{containerClass:b(),environment:e.environment,modelValue:t.name,placeholder:`api-key`,"onUpdate:modelValue":e=>S({name:e},i)},{default:D(()=>[...r[9]||=[F(` Name `,-1)]]),_:1},8,[`containerClass`,`environment`,`modelValue`,`onUpdate:modelValue`])]),_:2},1024)):A(``,!0),O(E(ZV),null,{default:D(()=>[O(v8,{containerClass:u(t)?void 0:b(),environment:e.environment,modelValue:t[`x-scalar-secret-token`],placeholder:`QUxMIFlPVVIgQkFTRSBBUkUgQkVMT05HIFRPIFVT`,type:`password`,"onUpdate:modelValue":e=>te({"x-scalar-secret-token":e},i)},{default:D(()=>[...r[10]||=[F(` Value `,-1)]]),_:1},8,[`containerClass`,`environment`,`modelValue`,`onUpdate:modelValue`])]),_:2},1024)],64)):t?.type===`oauth2`||t?.type===`openIdConnect`?(y(),N(Me,{key:4},[t?.type===`openIdConnect`&&!o.length?(y(),k(swe,{key:0,customFetch:e.options?.customFetch,environment:e.environment,eventBus:e.eventBus,getStaticBorderClass:b,name:i,proxyUrl:e.proxyUrl,scheme:t},null,8,[`customFetch`,`environment`,`eventBus`,`name`,`proxyUrl`,`scheme`])):A(``,!0),o.length>1?(y(),k(E(ZV),{key:1},{default:D(()=>[P(`div`,dwe,[P(`div`,fwe,[(y(!0),N(Me,null,_(o,(e,t)=>(y(),N(`button`,{key:e,class:v(ae(e,t)),type:`button`,onClick:t=>s(e)},[P(`span`,mwe,ye(e),1)],10,pwe))),128))])])]),_:2},1024)):A(``,!0),(y(!0),N(Me,null,_(o,(n,r)=>(y(),N(Me,{key:n},[t.flows&&g(n,r)?(y(),k(y9,{key:0,environment:e.environment,eventBus:e.eventBus,flows:t.flows,name:i,options:e.options,proxyUrl:e.proxyUrl,scheme:t,selectedScopes:a,server:e.server,type:n,"onDelete:scope":e=>ie(i,e),"onUpdate:selectedScopes":e=>ne(i,e),"onUpsert:scope":e=>re(i,e)},null,8,[`environment`,`eventBus`,`flows`,`name`,`options`,`proxyUrl`,`scheme`,`selectedScopes`,`server`,`type`,`onDelete:scope`,`onUpdate:selectedScopes`,`onUpsert:scope`])):A(``,!0)],64))),128))],64)):d(t)?(y(),N(Me,{key:5},[O(E(ZV),null,{default:D(()=>[O(v8,{class:`text-c-2`,containerClass:b(),environment:e.environment,modelValue:t[`x-scalar-secret-username`],placeholder:`janedoe`,required:``,"onUpdate:modelValue":e=>x({type:t.type,"x-scalar-secret-username":e},i)},{default:D(()=>[...r[11]||=[F(` Username `,-1)]]),_:1},8,[`containerClass`,`environment`,`modelValue`,`onUpdate:modelValue`])]),_:2},1024),O(E(ZV),null,{default:D(()=>[O(v8,{environment:e.environment,modelValue:t[`x-scalar-secret-password`],placeholder:`********`,type:`password`,"onUpdate:modelValue":e=>x({type:t.type,"x-scalar-secret-password":e},i)},{default:D(()=>[...r[12]||=[F(` Password `,-1)]]),_:1},8,[`environment`,`modelValue`,`onUpdate:modelValue`])]),_:2},1024)],64)):p(t)?(y(),N(Me,{key:6},[O(E(ZV),null,{default:D(()=>[O(v8,{containerClass:b(),environment:e.environment,modelValue:t[`x-scalar-secret-client-certificate`],placeholder:`-----BEGIN CERTIFICATE-----`,type:`password`,"onUpdate:modelValue":e=>x({type:t.type,"x-scalar-secret-client-certificate":e},i)},{default:D(()=>[...r[13]||=[F(` Client Certificate `,-1)]]),_:1},8,[`containerClass`,`environment`,`modelValue`,`onUpdate:modelValue`])]),_:2},1024),O(E(ZV),null,{default:D(()=>[O(v8,{environment:e.environment,modelValue:t[`x-scalar-secret-private-key`],placeholder:`-----BEGIN PRIVATE KEY-----`,type:`password`,"onUpdate:modelValue":e=>x({type:t.type,"x-scalar-secret-private-key":e},i)},{default:D(()=>[...r[14]||=[F(` Private Key `,-1)]]),_:1},8,[`environment`,`modelValue`,`onUpdate:modelValue`])]),_:2},1024)],64)):f(t)?(y(),k(E(ZV),{key:7},{default:D(()=>[O(v8,{containerClass:b(),environment:e.environment,modelValue:t[`x-scalar-secret-token`],placeholder:`********`,type:`password`,"onUpdate:modelValue":e=>x({type:t.type,"x-scalar-secret-token":e},i)},{default:D(()=>[...r[15]||=[F(` Key `,-1)]]),_:1},8,[`containerClass`,`environment`,`modelValue`,`onUpdate:modelValue`])]),_:2},1024)):m(t)?(y(),k(E(ZV),{key:8},{default:D(()=>[O(v8,{containerClass:b(),environment:e.environment,modelValue:t[`x-scalar-secret-service-name`],placeholder:`kafka`,"onUpdate:modelValue":e=>x({type:t.type,"x-scalar-secret-service-name":e},i)},{default:D(()=>[...r[16]||=[F(` Service Name `,-1)]]),_:1},8,[`containerClass`,`environment`,`modelValue`,`onUpdate:modelValue`])]),_:2},1024)):h(t)?(y(),N(`div`,hwe,[r[17]||=F(` The `,-1),P(`code`,null,ye(h(t)),1),r[18]||=F(` security scheme type is not supported yet. `,-1)])):(y(),N(`div`,gwe,` The security scheme is missing a type, please double check your `+ye(n.value)+` document or Authentication Configuration `,1))],64))),128)),oe.value&&se.value?(y(),k(E(n8),{key:0,state:E(le),size:`sm`,title:`Configure ${oe.value.name}`},{default:D(()=>[O(E(KV),{columns:[``],presentational:``},{default:D(()=>[O(y9,{hideActions:``,environment:e.environment,eventBus:e.eventBus,flows:oe.value.flows,name:oe.value.name,options:e.options,proxyUrl:e.proxyUrl,scheme:se.value,selectedScopes:oe.value.scopes,server:e.server,type:oe.value.flowType,"onDelete:scope":r[0]||=e=>ie(oe.value.name,e),"onUpdate:selectedScopes":r[1]||=e=>ne(oe.value.name,e),"onUpsert:scope":r[2]||=e=>re(oe.value.name,e)},null,8,[`environment`,`eventBus`,`flows`,`name`,`options`,`proxyUrl`,`scheme`,`selectedScopes`,`server`,`type`])]),_:1}),P(`div`,_we,[O(E(qF),{class:`p-0 px-2 py-0.5`,size:`sm`,variant:`outlined`,onClick:r[3]||=e=>E(le).hide()},{default:D(()=>[...r[19]||=[F(` Cancel `,-1)]]),_:1}),O(E(qF),{class:`p-0 px-2 py-0.5`,loader:E(w),size:`sm`,onClick:pe},{default:D(()=>[...r[20]||=[F(` Authorize `,-1)]]),_:1},8,[`loader`])])]),_:1},8,[`state`,`title`])):A(``,!0)],64))}}),ywe=[`onClick`],bwe={class:`relative z-10 font-medium whitespace-nowrap`},xwe={key:0,class:`absolute inset-x-1 bottom-[var(--scalar-border-width)] left-1/2 z-1 h-px w-full -translate-x-1/2 bg-current`},Swe=T({__name:`RequestAuthDataTable`,props:{environment:{},isStatic:{type:Boolean},selectedSchemeOptions:{},activeAuthIndex:{},proxyUrl:{},securitySchemes:{default:()=>({})},server:{},eventBus:{},meta:{},options:{},documentType:{}},setup(e,{expose:t}){let n=M(()=>e.selectedSchemeOptions[e.activeAuthIndex]),r=M(()=>e.selectedSchemeOptions.length>1),i=t=>e.eventBus.emit(`auth:update:active-index`,{index:t,meta:e.meta}),a=t=>e.eventBus.emit(`auth:update:selected-scopes`,{...t,meta:e.meta}),o=t=>e.eventBus.emit(`auth:upsert:scopes`,t),s=t=>e.eventBus.emit(`auth:delete:scopes`,t),c=t=>e.activeAuthIndex===t;return t({activeScheme:n}),(t,l)=>(y(),N(`form`,{onSubmit:l[0]||=Bn(()=>{},[`prevent`])},[r.value?(y(),N(`div`,{key:0,class:v([`box-content flex flex-wrap gap-x-2.5 overflow-hidden border-x border-t px-3`,{"border-x-0":!e.isStatic}]),"data-testid":`auth-tabs`},[(y(!0),N(Me,null,_(e.selectedSchemeOptions,(e,t)=>(y(),N(`div`,{key:e.id,class:`relative z-1 -mb-[var(--scalar-border-width)] flex h-8`},[P(`button`,{class:v([`floating-bg relative cursor-pointer border-b border-transparent py-1 text-sm font-medium transition-colors`,c(t)?`text-c-1`:`text-c-3`]),type:`button`,onClick:e=>i(t)},[P(`span`,bwe,ye(e.label),1)],10,ywe),c(t)?(y(),N(`div`,xwe)):A(``,!0)]))),128))],2)):A(``,!0),n.value?(y(),k(E(KV),{key:1,class:v([`flex-1`,{"bg-b-1 rounded-b-lg border-x border-b":e.isStatic}]),columns:[``],presentational:``},{default:D(()=>[O(vwe,{documentType:e.documentType,environment:e.environment,eventBus:e.eventBus,isStatic:e.isStatic,options:e.options,proxyUrl:e.proxyUrl,securitySchemes:e.securitySchemes,selectedSecuritySchemas:n.value.value,server:e.server,"onDelete:scope":s,"onUpdate:selectedScopes":a,"onUpsert:scope":o},null,8,[`documentType`,`environment`,`eventBus`,`isStatic`,`options`,`proxyUrl`,`securitySchemes`,`selectedSecuritySchemas`,`server`])]),_:1},8,[`class`])):(y(),N(`div`,{key:2,class:v([`bg-b-1 text-c-3 flex min-h-16 items-center justify-center border-t px-4 text-sm`,{"min-h-[calc(4rem+0.5px)] rounded-b-lg border":e.isStatic}])},` No authentication selected `,2))],32))}}),Cwe=[`id`],wwe={class:`min-w-0 flex-1 truncate`},Twe=T({__name:`AuthSelector`,props:{environment:{},eventBus:{},createAnySecurityScheme:{type:Boolean,default:!1},canDeleteSchemes:{type:Boolean,default:!0},defaultOpen:{type:Boolean,default:!0},isStatic:{type:Boolean,default:!1},meta:{},proxyUrl:{},securityRequirements:{},securitySchemes:{},selectedSecurity:{},server:{},title:{},options:{},documentType:{}},setup(e,{expose:t}){let n=be(),r=j(null),i=j(!1),a=t8(),o=j(null),s=M(()=>{if(!e.securityRequirements?.length)return null;let t=kT(e.securityRequirements);return{icon:t?`Unlock`:`Lock`,text:t?`Optional`:`Required`}}),c=M(()=>I_e(e.securityRequirements??[],e.securitySchemes??{},e.selectedSecurity?.selectedSchemes??[],e.createAnySecurityScheme)),l=M(()=>{let t=e.selectedSecurity?.selectedSchemes;return t?.length?t.flatMap(t=>{let n=Object.keys(t);if(n.length===0)return[];if(n.length>1)return o8(t);let r=n[0];return!r||!Tc(e.securitySchemes?.[r])?[]:a8({name:r,value:t})}):[]}),u=e=>{i.value&&e.stopPropagation(),r.value?.$el.click()},d=t=>{let n=t.filter(e=>e.payload===void 0).map(e=>$c(e.value,{depth:2})),r=t.filter(e=>e.payload!==void 0).map(e=>({name:e.label,scheme:e.payload}));e.eventBus.emit(`auth:update:selected-security-schemes`,{selectedRequirements:n,newSchemes:r,meta:e.meta})},f=e=>{o.value={label:e.label,payload:e.value},a.show()},p=()=>{o.value&&(e.eventBus.emit(`auth:delete:security-scheme`,{names:Object.keys(o.value.payload)}),o.value=null,a.hide())};return t({authIndicator:s,selectedSchemeOptions:l,schemeOptions:c}),(t,m)=>(y(),k(E(e3),{class:`group/params relative`,defaultOpen:e.defaultOpen,isStatic:e.isStatic,itemCount:l.value.length,"onUpdate:modelValue":m[1]||=e=>i.value=e},{title:D(()=>[P(`div`,{id:E(n),class:`inline-flex items-center gap-0.5 leading-[20px]`},[P(`span`,null,ye(e.title),1),s.value?(y(),N(`span`,{key:0,class:v([`text-c-3 hover:bg-b-3 hover:text-c-1 -my-0.5 -mr-1 cursor-pointer rounded px-1 py-0.5 leading-[normal] font-normal`,{"text-c-1":s.value.text===`Required`}]),"data-testid":`auth-indicator`,onClick:u},ye(s.value.text),3)):A(``,!0)],8,Cwe)]),actions:D(()=>[O(E(DR),{class:`w-72 text-xs`,modelValue:l.value,multiple:``,options:c.value,placement:`bottom-end`,teleport:``,onDelete:f,"onUpdate:modelValue":d},{option:D(({option:t,selected:n})=>[O(E(ZF),{multiselect:``,selected:n},null,8,[`selected`]),P(`div`,wwe,ye(t.label),1),t.isDeletable&&e.canDeleteSchemes?(y(),k(E(Q4),{key:0,class:`-m-0.5 shrink-0 p-0.5 opacity-0 group-hover/item:opacity-100`,icon:E(uo),label:`Delete ${t.label}`,size:`xs`,onClick:Bn(e=>f(t),[`stop`])},null,8,[`icon`,`label`,`onClick`])):A(``,!0)]),default:D(()=>[O(E(qF),{ref_key:`comboboxButtonRef`,ref:r,"aria-describedby":E(n),class:`group/combobox-button hover:text-c-1 text-c-2 flex h-fit w-full items-center gap-1 px-0.75 py-0.25 text-base font-normal`,variant:`ghost`},{default:D(()=>[l.value.length===1?(y(),N(Me,{key:0},[m[2]||=P(`span`,{class:`sr-only`},`Selected Auth Type:`,-1),F(` `+ye(l.value[0]?.label),1)],64)):l.value.length>1?(y(),N(Me,{key:1},[m[3]||=F(` Multiple `,-1),m[4]||=P(`span`,{class:`sr-only`},`Auth Types Selected`,-1)],64)):(y(),N(Me,{key:2},[m[5]||=P(`span`,{class:`sr-only`},`Select`,-1),m[6]||=F(` Auth Type `,-1)],64)),O(E(to),{class:`size-3 shrink-0 transition-transform duration-100 group-aria-expanded/combobox-button:rotate-180`,weight:`bold`})]),_:1},8,[`aria-describedby`])]),_:1},8,[`modelValue`,`options`])]),default:D(()=>[O(Swe,{activeAuthIndex:e.selectedSecurity?.selectedIndex??0,documentType:e.documentType,environment:e.environment,eventBus:e.eventBus,isStatic:e.isStatic,meta:e.meta,options:e.options,proxyUrl:e.proxyUrl,securitySchemes:e.securitySchemes,selectedSchemeOptions:l.value,server:e.server},null,8,[`activeAuthIndex`,`documentType`,`environment`,`eventBus`,`isStatic`,`meta`,`options`,`proxyUrl`,`securitySchemes`,`selectedSchemeOptions`,`server`]),o.value?(y(),k(N_e,{key:0,label:o.value.label,scheme:o.value,state:E(a),onClose:m[0]||=e=>E(a).hide(),onDelete:p},null,8,[`label`,`scheme`,`state`])):A(``,!0)]),_:1},8,[`defaultOpen`,`isStatic`,`itemCount`]))}}),T9={parse:e=>{let t=r(e,{merge:!0,maxAliasCount:1e4});if(typeof t!=`object`)throw Error(`Invalid YAML object`);return t},parseSafe(e,t){try{return T9.parse(e)}catch(e){return typeof t==`function`?t(e):t}},stringify:t},E9={parse:e=>{let t=JSON.parse(e);if(typeof t!=`object`)throw Error(`Invalid JSON object`);return t},parseSafe(e,t){try{return E9.parse(e)}catch(e){return typeof t==`function`?t(e):t}},stringify:e=>JSON.stringify(e)};function Ewe(e){let t=e.trim();if(t[0]!==`{`&&t[0]!==`[`)return e;try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}}var Dwe=e=>{if(typeof e!=`string`)return e;let t=E9.parseSafe(e,null);if(t)return t;if(e.length>0&&[`{`,`[`].includes(e[0]??``))throw Error(`Invalid JSON or YAML`);return T9.parseSafe(e,e=>{throw Error(e)})},Owe={key:0,class:`sr-only`},kwe=T({__name:`ServerVariablesSelect`,props:{enum:{},value:{},controls:{}},emits:[`change`],setup(e,{emit:t}){let n=e,r=t,i=M(()=>n.enum.map(e=>({id:e,label:e}))),a=M({get:()=>i.value.find(e=>e.id===n.value),set:e=>r(`change`,e?.id??``)});return(t,n)=>(y(),k(E(t3),{modelValue:a.value,"onUpdate:modelValue":n[0]||=e=>a.value=e,options:i.value},{default:D(()=>[O(E(qF),{"aria-controls":e.controls,class:`group/button h-8 gap-1.5 p-1.5 text-base font-normal`,variant:`ghost`},{default:D(()=>[P(`span`,{class:v({"text-c-1":e.value})},[e.value?(y(),N(`span`,Owe,` Selected: `)):A(``,!0),F(` `+ye(e.value||`Select value`),1)],2),O(E(to),{weight:`bold`,class:`mt-0.25 size-3 transition-transform duration-100 group-aria-expanded/button:rotate-180`})]),_:1},8,[`aria-controls`])]),_:1},8,[`modelValue`,`options`]))}}),Awe=T({__name:`ServerVariablesTextbox`,props:{value:{},controls:{}},emits:[`change`],setup(e,{emit:t}){let n=e,r=t,i=M({get:()=>n.value,set:e=>r(`change`,e)});return(t,n)=>Ue((y(),N(`input`,o({"onUpdate:modelValue":n[0]||=e=>i.value=e},e.controls?{...t.$attrs,"aria-controls":e.controls}:{},{autocomplete:`off`,class:`text-c-1 w-full border-transparent px-1.5 py-1.25 -outline-offset-1 group-last/label:rounded-br-lg`,placeholder:`value`,spellcheck:`false`,type:`text`}),null,16)),[[kn,i.value]])}}),jwe=[`for`],Mwe=T({__name:`ServerVariablesForm`,props:{variables:{},values:{},controls:{},layout:{default:`client`}},emits:[`update:variable`],setup(e,{emit:t}){let n=t,r=be();function i(e,t){n(`update:variable`,e,t)}let a=t=>(e.values?.[t]??e.variables?.[t]?.default??``).toString();return(t,n)=>e.variables&&Object.keys(e.variables??{}).length?(y(!0),N(Me,{key:0},_(Object.keys(e.variables),t=>(y(),N(`div`,{key:t,class:v([`group/label flex h-8 w-full`,e.layout===`reference`&&`items-center border-x border-b last:rounded-b-lg`])},[P(`label`,{class:`flex items-center py-2 pl-3 group-has-[input]/label:mr-0 after:content-[':']`,for:`${E(r)}-${t}`},ye(t),9,jwe),e.variables?.[t]?.enum?.length?(y(),k(kwe,{key:0,id:`${E(r)}-${t}`,controls:e.controls,enum:e.variables[t]?.enum?.map(e=>`${e}`)??[],value:a(t),onChange:e=>i(t,e)},null,8,[`id`,`controls`,`enum`,`value`,`onChange`])):(y(),k(Awe,{key:1,id:`${E(r)}-${t}`,controls:e.controls,value:a(t),onChange:e=>i(t,e)},null,8,[`id`,`controls`,`value`,`onChange`]))],2))),128)):A(``,!0)}}),Nwe={path:/[\/\.-]/,property:/[A-Z\_\.-]/},Pwe={key:0},D9=T({inheritAttrs:!1,__name:`ScalarWrappingText`,props:{text:{default:``},preset:{default:`path`},regex:{}},setup(e){let t=M(()=>{let t=new RegExp(e.regex??Nwe[e.preset],`g`);return e.text.replace(t,`$&`).split(``).filter(Boolean)});return(e,n)=>(y(!0),N(Me,null,_(t.value,(e,t)=>(y(),N(Me,{key:t},[t===0?A(``,!0):(y(),N(`wbr`,Pwe)),F(ye(e),1)],64))),128))}}),Fwe=e=>e===void 0?`undefined`:typeof e==`string`?e:JSON.stringify(e);function Iwe(e={}){let{notify:t=e=>n(e,`info`)}=e,{toast:n}=A8();async function r(e){try{let n=Fwe(e);await navigator.clipboard.writeText(n),t(`Copied to the clipboard`)}catch(e){console.error(e.message),t(`Failed to copy to clipboard`)}}return{copyToClipboard:r}}var O9=`scalar-app`,k9=`headlessui-portal-root`,Lwe=e=>e!==null&&e instanceof HTMLElement,A9=e=>{!e||e.classList.contains(O9)||e.classList.add(O9)},Rwe=()=>{A9(document.getElementById(k9));let e=new MutationObserver(e=>e.forEach(({addedNodes:e})=>e.forEach(e=>{Lwe(e)&&e.id===k9&&A9(e)})));return e.observe(document.body,{childList:!0}),e},zwe=T({inheritAttrs:!1,__name:`ScalarSidebar`,setup(e){let{cx:t}=xc();return(e,n)=>(y(),N(`aside`,Ge(Qe(E(t)(`flex flex-col border-r bg-sidebar-b-1 border-sidebar-border w-72`))),[S(e.$slots,`default`)],16))}}),j9=BT(T({inheritAttrs:!1,__name:`ScalarSidebarIndent`,props:{indent:{default:0},selected:{type:Boolean,default:!1},disabled:{type:Boolean}},setup(e){let t=M(()=>Array.from({length:e.indent},(e,t)=>t)),{cx:n}=xc();return(r,i)=>(y(),N(`div`,Ge(Qe(E(n)(`scalar-sidebar-indent flex justify-center`,{"mr-[calc(20px-var(--scalar-sidebar-indent))]":e.indent>0,"scalar-sidebar-indent-selected":e.selected}))),[(y(!0),N(Me,null,_(t.value,(n,r)=>(y(),N(`div`,{key:n,class:`relative w-[var(--scalar-sidebar-indent)]`},[i[0]||=P(`div`,{class:`scalar-sidebar-indent-border absolute left-2 inset-y-0 w-border bg-sidebar-indent-border`},null,-1),r===t.value.length-1?(y(),N(`div`,{key:0,class:v([`absolute left-2 inset-y-0 w-border`,e.disabled?``:e.selected?`bg-sidebar-indent-border-active`:`group-hover/button:bg-sidebar-indent-border-hover`])},null,2)):A(``,!0)]))),128))],16))}}),[[`__scopeId`,`data-v-3e080c68`]]),Bwe={key:0,class:`h-lh *:size-4 mr-1 flex items-center`},Vwe={class:`group/button-label flex-1 min-w-0`},M9=T({inheritAttrs:!1,__name:`ScalarSidebarButton`,props:{is:{default:`a`},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{default:0}},setup(e){let t=yc({base:[`group/button peer/button flex items-stretch rounded p-2`,`font-sidebar text-base/4 text-sidebar-c-2 no-underline wrap-break-word`],variants:{active:{true:`text-sidebar-c-active font-sidebar-active`},disabled:{true:`cursor-auto`},selected:{true:`cursor-auto bg-sidebar-b-active text-sidebar-c-active font-sidebar-active`}},compoundVariants:[{selected:!1,disabled:!1,active:!1,class:`hover:bg-sidebar-b-hover hover:text-sidebar-c-hover`},{selected:!1,disabled:!1,active:!0,class:`hover:bg-sidebar-b-hover`}],defaultVariants:{selected:!1,disabled:!1,active:!1}}),{cx:n}=xc();return(r,i)=>(y(),k(te(e.is),o({"aria-current":e.selected?`page`:void 0,type:e.is===`button`?`button`:void 0},E(n)(E(t)({selected:e.selected,disabled:e.disabled,active:e.active}))),{default:D(()=>[S(r.$slots,`indent`,{},()=>[O(j9,{class:`-my-2`,disabled:e.disabled,indent:e.indent,selected:e.selected},null,8,[`disabled`,`indent`,`selected`])]),e.icon||r.$slots.icon?(y(),N(`div`,Bwe,[S(r.$slots,`icon`,{},()=>[e.icon?(y(),k(E(HF),{key:0,icon:e.icon},null,8,[`icon`])):A(``,!0)])])):A(``,!0),P(`div`,Vwe,[S(r.$slots,`default`)]),S(r.$slots,`aside`)]),_:3},16,[`aria-current`,`type`]))}}),Hwe={class:`sr-only`},N9=T({inheritAttrs:!1,__name:`ScalarSidebarGroupToggle`,props:{is:{default:`div`},open:{type:Boolean,default:!1},icon:{type:[Object,Function]}},setup(e){let t=yc({base:`size-4 flex items-center justify-center transition-transform duration-100`,variants:{open:{true:`rotate-90`}},defaultVariants:{open:!1}}),{cx:n}=xc();return(r,i)=>(y(),k(te(e.is),o({type:e.is===`button`?`button`:void 0},E(n)(E(t)({open:e.open}))),{default:D(()=>[S(r.$slots,`default`,{open:e.open},()=>[e.icon?(y(),k(E(HF),{key:0,icon:e.icon},null,8,[`icon`])):(y(),k(E(ro),{key:1,class:`size-3`,weight:`bold`}))]),P(`span`,Hwe,[S(r.$slots,`label`,{open:e.open},()=>[F(ye(e.open?`Close`:`Open`)+` Group `,1)])])]),_:3},16,[`type`]))}}),P9=Symbol(),F9=(e={})=>{let{increment:t=!1,reset:n=!1}=e,r=f(P9,0);return n?fe(P9,0):t&&r<6?fe(P9,r+1):fe(P9,r),{level:r}},I9=T({inheritAttrs:!1,__name:`ScalarSidebarItem`,props:{is:{},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{}},setup(e){let t=e,{level:n}=F9(),{cx:r}=xc();return(i,a)=>(y(),N(`li`,Ge(Qe(E(r)(`group/item flex flex-col text-base`))),[S(i.$slots,`before`),S(i.$slots,`button`,{level:E(n)},()=>[O(M9,o(t,{indent:e.indent??E(n)}),Se({_:2},[i.$slots.default?{name:`default`,fn:D(()=>[S(i.$slots,`default`)]),key:`0`}:void 0,i.$slots.icon?{name:`icon`,fn:D(()=>[S(i.$slots,`icon`)]),key:`1`}:void 0,i.$slots.aside?{name:`aside`,fn:D(()=>[S(i.$slots,`aside`)]),key:`2`}:void 0]),1040,[`indent`])]),S(i.$slots,`after`)],16))}}),L9=T({__name:`ScalarSidebarLoading`,props:{items:{default:4}},setup(e){return(t,n)=>(y(!0),N(Me,null,_(e.items,e=>(y(),k(I9,{key:e,class:`pointer-events-none`},{default:D(()=>[...n[0]||=[P(`div`,{class:`group/button-loading bg-sidebar-c-2/15 rounded-lg animate-pulse h-lh w-full box-content py-px -my-px`},null,-1)]]),_:1}))),128))}}),Uwe={class:`group/group-button relative flex flex-col text-base`},R9={key:0,class:`size-4`},Wwe=[`aria-expanded`],Gwe={key:0,class:`group/items flex flex-col gap-px`},Kwe=T({inheritAttrs:!1,__name:`ScalarSidebarGroup`,props:Fe({is:{default:`li`},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{},controlled:{type:Boolean},discrete:{type:Boolean},loading:{type:Boolean}},{open:{type:Boolean,default:!1},openModifiers:{}}),emits:Fe([`click`,`toggle`],[`update:open`]),setup(e,{emit:t}){let n=t,r=ce(e,`open`),{level:i}=F9({increment:!0}),{cx:a}=xc(),o=t=>{n(`click`,t),!e.controlled&&!e.discrete&&(r.value=!r.value)},s=t=>{n(`toggle`,t),!e.controlled&&e.discrete&&(r.value=!r.value)};return(t,n)=>(y(),k(te(e.is),Ge(Qe(E(a)(`group/item flex flex-col gap-px`))),{default:D(()=>[P(`div`,Uwe,[S(t.$slots,`before`,{open:r.value}),S(t.$slots,`button`,{level:E(i),open:r.value},()=>[O(M9,{is:`button`,active:e.active,"aria-expanded":r.value,disabled:e.disabled,icon:e.icon,indent:E(i),selected:e.selected,onClick:o},Se({indent:D(()=>[O(j9,{class:`mr-0 -my-2`,indent:E(i),selected:e.selected},null,8,[`indent`,`selected`])]),aside:D(()=>[S(t.$slots,`aside`,{open:r.value}),e.discrete?(y(),N(`div`,R9)):S(t.$slots,`toggle`,{open:r.value},()=>[O(N9,{class:`text-sidebar-c-2`,open:r.value},null,8,[`open`])],void 0,1)]),default:D(()=>[S(t.$slots,`default`,{open:r.value})]),_:2},[t.$slots.icon?{name:`icon`,fn:D(()=>[S(t.$slots,`icon`,{open:r.value})]),key:`0`}:void 0]),1032,[`active`,`aria-expanded`,`disabled`,`icon`,`indent`,`selected`]),e.discrete?(y(),N(`button`,{key:0,"aria-expanded":r.value,class:v([`absolute top-[1lh] -translate-y-1/2 p-0.75 rounded right-1.25 text-sidebar-c-2`,e.selected?`hover:bg-sidebar-b-1 hover:text-sidebar-c-1`:`hover:bg-sidebar-b-hover hover:text-sidebar-c-hover`]),type:`button`,onClick:s},[S(t.$slots,`toggle`,{open:r.value},()=>[O(N9,{open:r.value},{label:D(()=>[F(ye(r.value?`Close`:`Open`)+` `,1),S(t.$slots,`default`,{open:r.value})]),_:3},8,[`open`])])],10,Wwe)):A(``,!0)]),S(t.$slots,`after`,{open:r.value})]),r.value?(y(),N(`ul`,Gwe,[e.loading?(y(),k(L9,{key:0})):S(t.$slots,`items`,{open:r.value},void 0,void 0,1)])):A(``,!0)]),_:3},16))}}),qwe=Symbol(),Jwe=()=>{let e=Ce(new Set),t=M(()=>{for(let t of e)if(t())return!0;return!1});return fe(qwe,e),{open:t}},Ywe=T({inheritAttrs:!1,__name:`ScalarSidebarItems`,props:{is:{default:`ul`}},setup(e){let{open:t}=Jwe(),{cx:n}=xc();return(r,i)=>(y(),k(te(e.is),Ge(Qe(E(n)(`group/items relative flex flex-col p-(--scalar-sidebar-padding) gap-px transition-transform duration-300`,E(t)?`-translate-x-full`:`translate-x-0`))),{default:D(()=>[S(r.$slots,`default`)]),_:3},16))}}),z9=T({inheritAttrs:!1,__name:`ScalarSidebarSpacer`,props:{indent:{default:0}},setup(e){let{cx:t}=xc();return(n,r)=>(y(),N(`div`,Ge(Qe(E(t)(`flex px-2 h-1`))),[O(j9,{indent:e.indent},null,8,[`indent`])],16))}}),Xwe={class:`flex flex-col gap-px`},B9=T({inheritAttrs:!1,__name:`ScalarSidebarSection`,props:{is:{default:`li`},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{},loading:{type:Boolean}},setup(e){let{level:t}=F9({increment:!1}),{cx:n}=xc();return(r,i)=>(y(),k(te(e.is),Ge(Qe(E(n)(`group/item group/sidebar-section contents`))),{default:D(()=>[O(z9,{class:`group/spacer-before h-3`,indent:E(t)},null,8,[`indent`]),r.$slots.default?(y(),k(M9,{key:0,is:`div`,class:`text-sm/4 py-1.75 font-bold`,disabled:``,icon:e.icon,indent:E(t)},{default:D(()=>[S(r.$slots,`default`)]),_:3},8,[`icon`,`indent`])):A(``,!0),P(`ul`,Xwe,[e.loading?(y(),k(L9,{key:0})):S(r.$slots,`items`,{},void 0,void 0,1)]),O(z9,{class:`group/spacer-after h-3`,indent:E(t)},null,8,[`indent`])]),_:3},16))}}),V9=T({__name:`HttpMethod`,props:{as:{},property:{},short:{type:Boolean},method:{}},setup(e){let t=e,n=M(()=>V6(String(t.method||``))),r=M(()=>U6(t.method));return(t,i)=>(y(),k(te(e.as??`span`),{class:`uppercase`,style:x({[e.property||`color`]:n.value.colorVar})},{default:D(()=>[S(t.$slots,`default`),F(` `+ye(e.short?n.value.short:r.value),1)]),_:3},8,[`style`]))}}),Zwe=new Set([`document`,`operation`,`example`,`tag`]),H9=(e,t,n)=>n&&t.length===1&&t[0]?.type===`example`&&t[0]?.name==="default"?[]:e===`reference`?t:t.filter(e=>Zwe.has(e.type)),Qwe=(e,t)=>{let n=!1;return(...r)=>{n||(e(...r),n=!0,setTimeout(()=>n=!1,t))}},$we=yc({base:`relative after:absolute after:inset-x-0 after:block after:bg-blue after:opacity-15 after:pointer-events-none after:rounded`,variants:{position:{before:`after:-top-0.5 after:h-0.75`,after:`after:-bottom-0.5 after:h-0.75`,into:`after:inset-0`}}}),U9=j(null),W9=j(null);function eTe(e){let{ceiling:t=.8,floor:n=.2,isDraggable:r=!0,isDroppable:i=!0,parentIds:a=[],id:o,onDragStart:s,onDragEnd:c}=e,l=M(()=>a.at(-1)??null),u=e=>typeof i==`function`?i(U9.value,{id:o,parentId:l.value,offset:e}):d(i),f=e=>{if(!d(r)||!e.dataTransfer||!(e.target instanceof HTMLElement))return;e.target.setAttribute(`data-dragging`,`true`),e.dataTransfer.dropEffect=`move`,e.dataTransfer.effectAllowed=`move`;let t={id:o,parentId:l.value};U9.value=t,s?.(t)},p=Qwe(e=>{if(!U9.value||U9.value.id===o||a.includes(U9.value?.id??``))return;let r=W9.value?.offset,i=e.target.offsetHeight,s=n*i,c=t*i,d=null;e.offsetY<=0&&r&&r!==`after`?d=r:e.offsetY<=s?d=`before`:e.offsetY>=c?d=`after`:e.offsetY>s&&e.offsetY<c&&(d=`into`),u(d)&&(W9.value={id:o,parentId:l.value,offset:d})},25),m=()=>{if(!W9.value||!U9.value)return;let e={...U9.value},t={...W9.value};U9.value=null,W9.value=null,document.querySelectorAll(`[data-dragging]`).forEach(e=>e.removeAttribute(`data-dragging`)),e.id!==t.id&&c?.(e,t)},h=M(()=>{let e=o===W9.value?.id?W9.value.offset:void 0;return e?$we({position:e}):``});return{draggableAttrs:M(()=>({class:h.value||void 0,draggable:d(r)?!0:void 0})),draggableEvents:{dragend:m,dragover:e=>{e.preventDefault(),e.stopPropagation(),p(e)},dragstart:e=>{e.stopPropagation(),f(e)}},draggingItem:U9,hoveredItem:W9}}var G9=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},tTe={class:`sr-only`},K9=G9(T({__name:`SidebarHttpBadge`,props:{method:{},active:{type:Boolean},label:{},webhook:{type:Boolean}},setup(e){return(t,n)=>(y(),k(V9,{class:v([`sidebar-heading-type`,`sidebar-heading-type--${e.method.toLowerCase()}`,{"sidebar-heading-type-active":e.active}]),method:e.method,property:`--method-color`,short:``},{default:D(()=>[P(`span`,tTe,ye(e.label??`HTTP Method`)+`:\xA0`,1),S(t.$slots,`default`,{},()=>[e.webhook?(y(),k(E(fo),{key:0,style:x({color:E(V6)(e.method).colorVar}),weight:`bold`},null,8,[`style`])):A(``,!0)],!0)]),_:3},8,[`class`,`method`]))}}),[[`__scopeId`,`data-v-bdef8365`]]),nTe={},rTe={class:`absolute top-[1lh] right-0.75 flex -translate-y-1/2 opacity-0 peer-hover/button:opacity-100 peer-focus-visible/button:opacity-100 focus-within:opacity-100 hover:opacity-100 has-[&[aria-expanded=true]]:opacity-100`};function iTe(e,t){return y(),N(`div`,rTe,[S(e.$slots,`default`)])}var q9=G9(nTe,[[`render`,iTe]]),J9=e=>`children`in e&&Array.isArray(e.children)&&e.children.length>0,aTe=(e,t,n,r)=>J9(t)?r&&t.type===`operation`&&t.children?.length===1&&t.children[0]?.type===`example`&&t.children[0]?.name==="default"?!1:e===`client`||e===`reference`&&t.type!==`operation`&&t.type!==`webhook`:e===`client`&&n?t.type===`document`||t.type===`tag`:!1,Y9=T({__name:`SidebarItemLabel`,props:{item:{},operationTitleSource:{}},setup(e){return(t,n)=>e.item.type===`model`||e.item.type===`example`?(y(),k(E(D9),{key:0,preset:`property`,text:e.item.title},null,8,[`text`])):(y(),k(E(D9),{key:1,text:e.operationTitleSource===`path`&&`path`in e.item?e.item.path:e.item.title},null,8,[`text`]))}}),X9=Object.assign({"./icons/basic-shape-diamond.svg":()=>import(`./basic-shape-diamond.svg-o5eiY2I7.js`),"./icons/basic-shape-hexagon.svg":()=>import(`./basic-shape-hexagon.svg-CGuS7mbd.js`),"./icons/basic-shape-primary-circle-ellipse-round.svg":()=>import(`./basic-shape-primary-circle-ellipse-round.svg-DDIpXiBm.js`),"./icons/basic-shape-primary-square-rectangle.svg":()=>import(`./basic-shape-primary-square-rectangle.svg-DzVEJHMB.js`),"./icons/basic-shape-shield.svg":()=>import(`./basic-shape-shield.svg-BZzapRqv.js`),"./icons/computer-device-desktop-monitor.svg":()=>import(`./computer-device-desktop-monitor.svg-OSM05r1I.js`),"./icons/computer-device-desktop.svg":()=>import(`./computer-device-desktop.svg-BMFzGZ27.js`),"./icons/computer-device-laptop.svg":()=>import(`./computer-device-laptop.svg-CMAjzuB-.js`),"./icons/computer-device-mobile-phone-android-samsung-back.svg":()=>import(`./computer-device-mobile-phone-android-samsung-back.svg-D4xBONmL.js`),"./icons/computer-device-mobile-phone-android-samsung.svg":()=>import(`./computer-device-mobile-phone-android-samsung.svg-gbMJLjJw.js`),"./icons/computer-device-mobile-phone-iphone-x-back.svg":()=>import(`./computer-device-mobile-phone-iphone-x-back.svg-Bl1rmdKA.js`),"./icons/computer-device-mobile-phone-iphone-x.svg":()=>import(`./computer-device-mobile-phone-iphone-x.svg-DVetP0aa.js`),"./icons/computer-device-mobile-tablet-touch.svg":()=>import(`./computer-device-mobile-tablet-touch.svg-Zi88BP4L.js`),"./icons/computer-device-mobile-tablet.svg":()=>import(`./computer-device-mobile-tablet.svg-C1ggisWP.js`),"./icons/computer-device-network-ethernet-cat6.svg":()=>import(`./computer-device-network-ethernet-cat6.svg-BIUymdC1.js`),"./icons/computer-device-network-lan-www.svg":()=>import(`./computer-device-network-lan-www.svg-CoFUlIVO.js`),"./icons/computer-device-network-wifi-connection.svg":()=>import(`./computer-device-network-wifi-connection.svg-DeWsacxI.js`),"./icons/computer-device-network-wifi-router.svg":()=>import(`./computer-device-network-wifi-router.svg-BjpZEot4.js`),"./icons/ecology-science-erlenmeyer-flask.svg":()=>import(`./ecology-science-erlenmeyer-flask.svg-ftjGGirE.js`),"./icons/image-flash-lightning.svg":()=>import(`./image-flash-lightning.svg-DYQ0W4Fi.js`),"./icons/image-picture-flower.svg":()=>import(`./image-picture-flower.svg-Bfe5SVDf.js`),"./icons/interface-alert-exclamation-diamond.svg":()=>import(`./interface-alert-exclamation-diamond.svg-D1HePDNM.js`),"./icons/interface-alert-exclamation-triangle-warning.svg":()=>import(`./interface-alert-exclamation-triangle-warning.svg-CILUsxBC.js`),"./icons/interface-alert-information-circle.svg":()=>import(`./interface-alert-information-circle.svg-9LrbJM5J.js`),"./icons/interface-award-crown.svg":()=>import(`./interface-award-crown.svg-DllWgiU1.js`),"./icons/interface-bookmark-tag.svg":()=>import(`./interface-bookmark-tag.svg-Dc-JL-Kc.js`),"./icons/interface-bookmark.svg":()=>import(`./interface-bookmark.svg-Dc-JL-Kc.js`),"./icons/interface-calendar-date-one.svg":()=>import(`./interface-calendar-date-one.svg-DO2jelhF.js`),"./icons/interface-content-book-open-pages.svg":()=>import(`./interface-content-book-open-pages.svg-BJjMjIgA.js`),"./icons/interface-content-book-page.svg":()=>import(`./interface-content-book-page.svg-C6rKB2fs.js`),"./icons/interface-content-file.svg":()=>import(`./interface-content-file.svg-CS0q2FKx.js`),"./icons/interface-content-folder.svg":()=>import(`./interface-content-folder.svg-CThTWsJX.js`).then(e=>e.n),"./icons/interface-copy-clipboard.svg":()=>import(`./interface-copy-clipboard.svg-DdN67cLv.js`),"./icons/interface-edit-attachment.svg":()=>import(`./interface-edit-attachment.svg-Ciizphuh.js`),"./icons/interface-edit-binocular.svg":()=>import(`./interface-edit-binocular.svg-Dw1nDqmL.js`),"./icons/interface-edit-magic-wand.svg":()=>import(`./interface-edit-magic-wand.svg-BYS0jm_E.js`),"./icons/interface-edit-tool-paint-roller.svg":()=>import(`./interface-edit-tool-paint-roller.svg-NioSHZC2.js`),"./icons/interface-edit-tool-pencil.svg":()=>import(`./interface-edit-tool-pencil.svg-P87QFlat.js`),"./icons/interface-favorite-award.svg":()=>import(`./interface-favorite-award.svg-DBBAChSi.js`),"./icons/interface-favorite-flag.svg":()=>import(`./interface-favorite-flag.svg-HlhPomHY.js`),"./icons/interface-favorite-heart.svg":()=>import(`./interface-favorite-heart.svg-Cqu2GYDo.js`),"./icons/interface-favorite-star.svg":()=>import(`./interface-favorite-star.svg-BD4JY_J2.js`),"./icons/interface-favorite-stars-sparkles.svg":()=>import(`./interface-favorite-stars-sparkles.svg-BXi6aO8q.js`),"./icons/interface-hierarchy-flowchart.svg":()=>import(`./interface-hierarchy-flowchart.svg-CDEVSsD4.js`),"./icons/interface-home-house.svg":()=>import(`./interface-home-house.svg-DJetUjwj.js`),"./icons/interface-hyperlink.svg":()=>import(`./interface-hyperlink.svg-DJ1LREmz.js`),"./icons/interface-lighting-brightness.svg":()=>import(`./interface-lighting-brightness.svg-TGKAaHYV.js`),"./icons/interface-lock-closed.svg":()=>import(`./interface-lock-closed.svg-3hehWr3i.js`),"./icons/interface-lock-open-unlock.svg":()=>import(`./interface-lock-open-unlock.svg-CuXKcv1m.js`),"./icons/interface-login-key.svg":()=>import(`./interface-login-key.svg-Chwvvywd.js`),"./icons/interface-search.svg":()=>import(`./interface-search.svg-JDE3fk0u.js`),"./icons/interface-setting-cog.svg":()=>import(`./interface-setting-cog.svg-BBCkeh4K.js`),"./icons/interface-share-megaphone-bullhorn.svg":()=>import(`./interface-share-megaphone-bullhorn.svg-CDdxF-4y.js`),"./icons/interface-share-rocket.svg":()=>import(`./interface-share-rocket.svg-DSbdn_o7.js`),"./icons/interface-share-satellite.svg":()=>import(`./interface-share-satellite.svg-CefBVZvY.js`),"./icons/interface-share-space-ship.svg":()=>import(`./interface-share-space-ship.svg-tFA2dsSU.js`),"./icons/interface-share.svg":()=>import(`./interface-share.svg-BpOGopyv.js`),"./icons/interface-signal-square.svg":()=>import(`./interface-signal-square.svg-BcX_BoaC.js`),"./icons/interface-time-clock-circle.svg":()=>import(`./interface-time-clock-circle.svg-C8B_L_RM.js`),"./icons/interface-time-hour-glass.svg":()=>import(`./interface-time-hour-glass.svg-qw-oeoVn.js`),"./icons/interface-users-multiple.svg":()=>import(`./interface-users-multiple.svg-Cs13Eewq.js`),"./icons/interface-weather-moon.svg":()=>import(`./interface-weather-moon.svg-CV-oDTae.js`),"./icons/mail-chat-bubble-square.svg":()=>import(`./mail-chat-bubble-square.svg-dpauJhin.js`),"./icons/mail-send-email-paper-airplane.svg":()=>import(`./mail-send-email-paper-airplane.svg-BBofxojL.js`),"./icons/mail-send-envelope.svg":()=>import(`./mail-send-envelope.svg-DyENgYOI.js`),"./icons/money-cashier-receipt.svg":()=>import(`./money-cashier-receipt.svg-dNTr5aio.js`),"./icons/money-currency-dollar-pay.svg":()=>import(`./money-currency-dollar-pay.svg-1ZESPtFY.js`),"./icons/money-graph-arrow-increase.svg":()=>import(`./money-graph-arrow-increase.svg-kEZ2u2z2.js`),"./icons/money-graph-bar-chart-increase.svg":()=>import(`./money-graph-bar-chart-increase.svg-B-t2UWB3.js`),"./icons/nature-ecology-leaf.svg":()=>import(`./nature-ecology-leaf.svg-DZ2GJV8m.js`),"./icons/phone-telephone.svg":()=>import(`./phone-telephone.svg-C12QjpN7.js`),"./icons/programming-bug.svg":()=>import(`./programming-bug.svg-wLTsruN9.js`),"./icons/programming-cloud.svg":()=>import(`./programming-cloud.svg-3XU6dNUg.js`),"./icons/programming-computer-database-server.svg":()=>import(`./programming-computer-database-server.svg-B1JrHSPd.js`),"./icons/programming-computer-database.svg":()=>import(`./programming-computer-database.svg-BxHSuFl7.js`),"./icons/programming-module-four-layout.svg":()=>import(`./programming-module-four-layout.svg-CeV35q45.js`),"./icons/programming-module-three.svg":()=>import(`./programming-module-three.svg-YIBpLt45.js`),"./icons/programming-module.svg":()=>import(`./programming-module.svg-CU_pEibI.js`),"./icons/programming-script-code.svg":()=>import(`./programming-script-code.svg-CLzinmHT.js`),"./icons/shopping-cart.svg":()=>import(`./shopping-cart.svg-Brzddu3K.js`),"./icons/shopping-gift-present.svg":()=>import(`./shopping-gift-present.svg-l2K48g7L.js`),"./icons/shopping-shipping-box-parcel-package.svg":()=>import(`./shopping-shipping-box-parcel-package.svg-DesGopPo.js`),"./icons/tag-new-circle.svg":()=>import(`./tag-new-circle.svg-DE-VaLZU.js`),"./icons/travel-map-earth-globe.svg":()=>import(`./travel-map-earth-globe.svg-DLaOMzx6.js`)}),Z9=Object.assign({"./icons/interface-content-folder.svg":nt})[`./icons/interface-content-folder.svg`];Object.keys(X9).map(e=>e.replace(`./icons/`,``).replace(`.svg`,``)).map(e=>({src:e,title:e.replaceAll(`-`,` `),tags:[]}));var Q9=new Map;Z9?.default&&Q9.set(`interface-content-folder`,Oe(Z9.default));async function oTe(e){let t=Q9.get(e);if(t)return t;let n=X9[`./icons/${e}.svg`];if(!n)return;let r=await n(),i=Oe(r.default??r);return Q9.set(e,i),i}var sTe=T({__name:`LibraryIcon`,props:{src:{}},setup(e){let t=e,n=et();return Ve(async()=>{n.value=await oTe(t.src)}),(e,t)=>n.value?(y(),k(te(n.value),{key:0})):A(``,!0)}}),cTe={key:0,class:`line-through`},lTe={key:0,class:`line-through`},uTe=T({__name:`SidebarItem`,props:{item:{},layout:{},isSelected:{type:Function},isExpanded:{type:Function},options:{},isDraggable:{},isDroppable:{type:Function}},emits:[`selectItem`,`onDragEnd`,`toggleGroup`],setup(e,{emit:t}){let n=t,r=a(),i=e=>`isGroup`in e&&e.isGroup,s=e=>(`isDeprecated`in e&&e.isDeprecated)??!1,c=(e,t)=>{n(`onDragEnd`,e,t)},{draggableAttrs:l,draggableEvents:u}=eTe({id:e.item.id,isDraggable:e.isDraggable,isDroppable:e.isDroppable,onDragEnd:c}),d=M(()=>J9(e.item)?H9(e.layout,e.item.children,e.options?.hideOperationDefaultExamples):[]);return(t,a)=>{let f=eee(`SidebarItem`,!0);return d.value.length>0&&i(e.item)?(y(),k(E(B9),o({key:0,"data-sidebar-id":e.item.id},E(l),ve(E(u))),{items:D(()=>[(y(!0),N(Me,null,_(d.value,i=>(y(),k(f,{key:i.id,isDraggable:e.isDraggable,isDroppable:e.isDroppable,isExpanded:e.isExpanded,isSelected:e.isSelected,item:i,layout:e.layout,options:e.options,onOnDragEnd:c,onSelectItem:a[0]||=e=>n(`selectItem`,e),onToggleGroup:a[1]||=e=>n(`toggleGroup`,e)},Se({_:2},[r.decorator?{name:`decorator`,fn:D(e=>[S(t.$slots,`decorator`,o({ref_for:!0},e))]),key:`0`}:void 0,r.empty?{name:`empty`,fn:D(e=>[S(t.$slots,`empty`,o({ref_for:!0},e))]),key:`1`}:void 0,r.icon?{name:`icon`,fn:D(e=>[S(t.$slots,`icon`,o({ref_for:!0},e))]),key:`2`}:void 0]),1032,[`isDraggable`,`isDroppable`,`isExpanded`,`isSelected`,`item`,`layout`,`options`]))),128))]),default:D(()=>[F(ye(e.item.title)+` `,1)]),_:3},16,[`data-sidebar-id`])):E(aTe)(e.layout,e.item,r.empty!==void 0,e.options?.hideOperationDefaultExamples??!1)?(y(),k(E(Kwe),o({key:1,active:e.isSelected(e.item.id),class:`relative`,controlled:``,"data-sidebar-id":e.item.id},E(l),{discrete:e.layout===`reference`&&e.item.type===`text`,open:e.isExpanded(e.item.id)},ve(E(u)),{onClick:a[4]||=()=>n(`selectItem`,e.item.id),onToggle:a[5]||=()=>n(`toggleGroup`,e.item.id)}),Se({items:D(()=>[(y(!0),N(Me,null,_(d.value,i=>(y(),k(f,{key:i.id,isDraggable:e.isDraggable,isDroppable:e.isDroppable,isExpanded:e.isExpanded,isSelected:e.isSelected,item:i,layout:e.layout,options:e.options,parentIds:[],onOnDragEnd:c,onSelectItem:a[2]||=e=>n(`selectItem`,e),onToggleGroup:a[3]||=e=>n(`toggleGroup`,e)},Se({_:2},[r.decorator?{name:`decorator`,fn:D(e=>[S(t.$slots,`decorator`,o({ref_for:!0},e))]),key:`0`}:void 0,r.empty?{name:`empty`,fn:D(e=>[S(t.$slots,`empty`,o({ref_for:!0},e))]),key:`1`}:void 0,r.icon?{name:`icon`,fn:D(e=>[S(t.$slots,`icon`,o({ref_for:!0},e))]),key:`2`}:void 0]),1032,[`isDraggable`,`isDroppable`,`isExpanded`,`isSelected`,`item`,`layout`,`options`]))),128)),r.empty&&(e.item.children?.length??0)===0?S(t.$slots,`empty`,{item:e.item},void 0,void 0,0):A(``,!0)]),default:D(()=>[s(e.item)?(y(),N(`span`,cTe,[O(Y9,{item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,[`item`,`operationTitleSource`])])):(y(),k(Y9,{key:1,item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,[`item`,`operationTitleSource`]))]),_:2},[e.item.type===`document`?{name:`icon`,fn:D(({open:n})=>[S(t.$slots,`icon`,{item:e.item,open:n},()=>[O(E(sTe),{class:`block`,src:`icon`in e.item&&e.item.icon||`interface-content-folder`},null,8,[`src`])])]),key:`0`}:void 0,`method`in e.item?{name:`aside`,fn:D(()=>[O(K9,{active:e.isSelected(e.item.id),class:v([`ml-2 h-4 self-start`,{"group-hover/button:opacity-0 group-focus-visible/button:opacity-0 group-has-[~*_[aria-expanded=true]]/button:opacity-0 group-has-[~*:focus-within]/button:opacity-0 group-has-[~*:hover]/button:opacity-0":r.decorator}]),label:e.options?.labels?.httpMethod,method:e.item.method,webhook:e.item.type===`webhook`},null,8,[`active`,`class`,`label`,`method`,`webhook`])]),key:`1`}:void 0,`method`in e.item?{name:`toggle`,fn:D(()=>[a[7]||=P(`span`,{class:`hidden`},null,-1)]),key:`2`}:{name:`toggle`,fn:D(({open:t})=>[O(E(N9),{class:`text-sidebar-c-2`,open:t},{label:D(()=>[F(ye(t?e.options?.labels?.closeGroup??`Close Group`:e.options?.labels?.openGroup??`Open Group`),1)]),_:2},1032,[`open`])]),key:`3`},r.decorator?{name:`after`,fn:D(()=>[O(q9,null,{default:D(()=>[S(t.$slots,`decorator`,{item:e.item})]),_:3})]),key:`4`}:void 0]),1040,[`active`,`data-sidebar-id`,`discrete`,`open`])):(y(),k(E(I9),o({key:2,is:`button`},E(l),{class:`relative`,"data-sidebar-id":e.item.id,selected:e.isSelected(e.item.id)},ve(E(u)),{onClick:a[6]||=()=>n(`selectItem`,e.item.id)}),Se({default:D(()=>[s(e.item)?(y(),N(`span`,lTe,[O(Y9,{item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,[`item`,`operationTitleSource`])])):(y(),k(Y9,{key:1,item:e.item,operationTitleSource:e.options?.operationTitleSource},null,8,[`item`,`operationTitleSource`]))]),_:2},[r.icon?{name:`icon`,fn:D(()=>[S(t.$slots,`icon`,{item:e.item,open:!0})]),key:`0`}:void 0,`method`in e.item?{name:`aside`,fn:D(()=>[`method`in e.item?(y(),k(K9,{key:0,active:e.isSelected(e.item.id),class:v([`ml-2 h-4 self-start`,{"group-hover/button:opacity-0 group-focus-visible/button:opacity-0 group-has-[~*_[aria-expanded=true]]/button:opacity-0 group-has-[~*:focus-within]/button:opacity-0 group-has-[~*:hover]/button:opacity-0":r.decorator}]),label:e.options?.labels?.httpMethod,method:e.item.method,webhook:e.item.type===`webhook`},null,8,[`active`,`class`,`label`,`method`,`webhook`])):A(``,!0)]),key:`1`}:void 0,r.decorator?{name:`after`,fn:D(()=>[O(q9,null,{default:D(()=>[S(t.$slots,`decorator`,{item:e.item})]),_:3})]),key:`2`}:void 0]),1040,[`data-sidebar-id`,`selected`]))}}}),dTe=T({__name:`ScalarSidebar`,props:{layout:{},items:{},isSelected:{type:Function},isExpanded:{type:Function},options:{},indent:{default:20},isDraggable:{},isDroppable:{type:Function}},emits:[`reorder`,`selectItem`,`toggleGroup`],setup(e,{emit:t}){let n=t,r=a(),i=(e,t)=>{n(`reorder`,e,t)};return(t,a)=>(y(),k(E(zwe),{class:`flex min-h-0 flex-col`,style:x({"--scalar-sidebar-indent":e.indent+`px`})},{default:D(()=>[S(t.$slots,`header`),S(t.$slots,`default`,{},()=>[O(E(Ywe),{class:`custom-scroll`},{default:D(()=>[S(t.$slots,`before`),(y(!0),N(Me,null,_(E(H9)(e.layout,e.items),s=>(y(),k(uTe,{key:s.id,isDraggable:e.isDraggable??e.layout===`client`,isDroppable:e.isDroppable,isExpanded:e.isExpanded,isSelected:e.isSelected,item:s,layout:e.layout,options:e.options,onOnDragEnd:i,onSelectItem:a[0]||=e=>n(`selectItem`,e),onToggleGroup:a[1]||=e=>n(`toggleGroup`,e)},Se({_:2},[r.decorator?{name:`decorator`,fn:D(e=>[S(t.$slots,`decorator`,o({ref_for:!0},e))]),key:`0`}:void 0,r.empty?{name:`empty`,fn:D(e=>[S(t.$slots,`empty`,o({ref_for:!0},e))]),key:`1`}:void 0,r.icon?{name:`icon`,fn:D(e=>[S(t.$slots,`icon`,o({ref_for:!0},e))]),key:`2`}:void 0]),1032,[`isDraggable`,`isDroppable`,`isExpanded`,`isSelected`,`item`,`layout`,`options`]))),128))]),_:3}),S(t.$slots,`spacer`,{},()=>[a[2]||=P(`div`,{class:`flex-1`},null,-1)])]),S(t.$slots,`footer`)]),_:3},8,[`style`]))}}),$9=({items:e,nestedKey:t=`children`,filter:n=()=>!0,getId:r=e=>e.id})=>{let i=new Map,a=e=>{n(e)&&i.set(r(e),e),t in e&&Array.isArray(e[t])&&e[t]?.forEach(t=>a({...t,parent:e}))};return e.forEach(a),i},fTe=(e,t)=>{let n=M(()=>$9({items:d(e),nestedKey:t?.key??`children`})),r=j({}),i=j({}),a=j(null);return{items:M(()=>d(e)),index:n,selectedItems:r,expandedItems:i,selectedItem:a,setSelected:e=>{let i=e=>{e&&(r.value[e.id]=!0,`parent`in e&&e.parent&&i(e.parent))};t?.hooks?.onBeforeSelect&&t.hooks.onBeforeSelect(e),r.value={},a.value=e,e!==null&&i(n.value.get(e)),t?.hooks?.onAfterSelect&&t.hooks.onAfterSelect(e)},setExpanded:(e,r)=>{let a=e=>{e&&(i.value[e.id]=!0,`parent`in e&&e.parent&&a(e.parent))};t?.hooks?.onBeforeExpand&&t.hooks.onBeforeExpand(e),r===!1?i.value[e]=!1:a(n.value.get(e)),t?.hooks?.onAfterExpand&&t.hooks.onAfterExpand(e)},isExpanded:e=>i.value[e]??!1,isSelected:e=>r.value[e]??!1,getEntryById:e=>n.value.get(e),reset:()=>{r.value={},i.value={}}}},pTe=e=>{if(e===!0)return[];if(!e||Array.isArray(e)&&e.length===0)return r3;let t=new Set(r3);if(Array.isArray(e))for(let n of e){let e=n3[n];if(e)for(let r of e)t.delete(`${n}/${r}`);else if(n.includes(`/`))t.delete(n);else for(let e of OT(n3))t.delete(`${e}/${n}`)}else if(typeof e==`object`){for(let[n,r]of Object.entries(e))if(r===!0){let e=n3[n];if(e)for(let r of e)t.delete(`${n}/${r}`)}else if(Array.isArray(r))for(let e of r)t.delete(e),t.delete(`${n}/${e}`)}return Array.from(t)};export{Y6 as $,Pa as $a,Wl as $i,vT as $n,pt as $o,wre as $r,vz as $t,Z7 as A,Ao as Aa,zx as Ai,qse as An,nr as Ao,fae as Ar,jpe as At,b8 as B,uo as Ba,Rd as Bi,Nse as Bn,qt as Bo,pie as Br,RV as Bt,PCe as C,Tc as Ca,Qx as Ci,qF as Cn,_r as Co,_w as Cr,$4 as Ct,W7 as D,yc as Da,Vx as Di,BT as Dn,lr as Do,pae as Dr,X4 as Dt,e9 as E,xc as Ea,Kx as Ei,VF as En,gr as Eo,lae as Er,Z4 as Et,M7 as F,_o as Fa,vg as Fi,OT as Fn,Jn as Fo,Gie as Fr,qV as Ft,D_e as G,oo as Ga,Hl as Gi,Mse as Gn,ot as Go,Yre as Gr,Pz as Gt,n8 as H,co as Ha,au as Hi,Lse as Hn,Bn as Ho,lie as Hr,mV as Ht,bSe as I,vo as Ia,bm as Ii,zse as In,An as Io,Lie as Ir,KV as It,Q6 as J,io as Ja,Gl as Ji,wT as Jn,ht as Jo,Ure as Jr,az as Jt,w_e as K,Uee as Ka,Ml as Ki,jse as Kn,tee as Ko,Kre as Kr,Az as Kt,j8 as L,mo as La,Zd as Li,Rse as Ln,Ln as Lo,Oie as Lr,UV as Lt,F7 as M,Do as Ma,Ry as Mi,jT as Mn,Qn as Mo,dw as Mr,uH as Mt,Y7 as N,Eo as Na,my as Ni,Use as Nn,jt as No,YC as Nr,cH as Nt,B7 as O,bc as Oa,Ux as Oi,$se as On,ir as Oo,dae as Or,Ape as Ot,U7 as P,xo as Pa,V as Pi,Bse as Pn,qn as Po,Hie as Pr,ZV as Pt,__e as Q,Va as Qa,Nl as Qi,bT as Qn,at as Qo,Ere as Qr,gz as Qt,$ve as R,po as Ra,Vd as Ri,Fse as Rn,Nn as Ro,_ie as Rr,VV as Rt,H7 as S,Dc as Sa,eS as Si,ZF as Sn,fr as So,hw as Sr,e3 as St,NCe as T,Sc as Ta,Jx as Ti,HF as Tn,Cr as To,gw as Tr,Fpe as Tt,t8 as U,so as Ua,eu as Ui,Pse as Un,ct as Uo,sie as Ur,Vz as Ut,r8 as V,lo as Va,Ld as Vi,DT as Vn,Vn as Vo,die as Vr,xV as Vt,O_e as W,gte as Wa,Ql as Wi,ET as Wn,dt as Wo,nie as Wr,Fz as Wt,X6 as X,to as Xa,Xl as Xi,Ose as Xn,gt as Xo,Lre as Xr,nz as Xt,y_e as Y,ro as Ya,Fl as Yi,CT as Yn,_t as Yo,zre as Yr,dz as Yt,v_e as Z,Ja as Za,ql as Zi,Ese as Zn,st as Zo,Are as Zr,mz as Zt,S9 as _,jc as _a,dS as _i,mR as _n,Mr as _o,xw as _r,k6 as _t,V9 as a,Ul as aa,sre as ai,PR as an,Zr as ao,_se as ar,rt as as,W6 as at,sCe as b,kc as ba,aS as bi,dR as bn,Sr as bo,vw as br,r3 as bt,Rwe as c,cl as ca,ere as ci,AR as cn,Kr as co,sT as cr,V6 as ct,Mwe as d,$c as da,wS as di,CR as dn,Wr as do,Bw as dr,Yge as dt,Kl as ea,Sre as ei,Sz as en,Ma as eo,_T as er,L as es,g_e as et,Ewe as f,Xc as fa,CS as fi,yR as fn,Ur as fo,kw as fr,Kge as ft,iwe as g,Pc as ga,fS as gi,fR as gn,Pr as go,Sw as gr,Mge as gt,w9 as h,Hc as ha,hS as hi,uR as hn,Hr as ho,Cw as hr,A6 as ht,dTe as i,zl as ia,lre as ii,qR as in,aa as io,mT as ir,lt as is,G6 as it,dCe as j,ko as ja,wb as ji,MT as jn,rr as jo,uae as jr,Y4 as jt,q7 as k,Mo as ka,Bx as ki,Jse as kn,R as ko,cae as kr,G4 as kt,Iwe as l,nl as la,Zne as li,ER as ln,qr as lo,lT as lr,e_e as lt,Twe as m,Bc as ma,_S as mi,sR as mn,Fr as mo,Dw as mr,Nge as mt,fTe as n,Yl as na,gre as ni,Dz as nn,ra as no,hT as nr,I as ns,J6 as nt,B9 as o,rl as oa,ore as oi,JR as on,Qr as oo,hse as or,it as os,U6 as ot,Dwe as p,Gc as pa,yS as pi,SR as pn,Lr as po,Ow as pr,F6 as pt,e8 as q,ao as qa,Jl as qi,TT as qn,ut as qo,Wre as qr,kz as qt,$9 as r,Zl as ra,dre as ri,IR as rn,ia as ro,fT as rr,mt as rs,q6 as rt,M9 as s,sl as sa,are as si,ZR as sn,Yr as so,cT as sr,B6 as st,pTe as t,Pl as ta,mre as ti,_z as tn,la as to,gT as tr,ft as ts,u_e as tt,D9 as u,el as ua,Wne as ui,wR as un,Jr as uo,Vw as ur,$ge as ut,$7 as v,Nc as va,lS as vi,cR as vn,Ar as vo,bw as vr,jge as vt,X7 as w,wc as wa,Xx as wi,WF as wn,hr as wo,pw as wr,Q4 as wt,G7 as x,Ec as xa,rS as xi,uI as xn,wr as xo,mw as xr,t3 as xt,LCe as y,Ac as ya,sS as yi,lR as yn,dr as yo,fw as yr,Age as yt,A8 as z,fo as za,Bd as zi,Ise as zn,kn as zo,hie as zr,BV as zt};
|