@reapit/elements 5.0.0-beta.60 → 5.0.0-beta.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/js/{anchor-button-iRZRDpiJ.js → anchor-button-BDdDbqRF.js} +1 -1
- package/dist/js/{anchor-button-BLkN4e95.cjs → anchor-button-qUpKG6px.cjs} +1 -1
- package/dist/js/anchor-positioning-BE1BAJzc.js +210 -0
- package/dist/js/anchor-positioning-DGfgb1OU.cjs +59 -0
- package/dist/js/{app-switcher-L5BwviDO.cjs → app-switcher-BVWKLNBP.cjs} +1 -1
- package/dist/js/{app-switcher-BxNAiD3Q.js → app-switcher-DgZcEQS0.js} +3 -3
- package/dist/js/at-a-glance-Dk4sZwAl.js +330 -0
- package/dist/js/at-a-glance-Xj0li1Dm.cjs +1 -0
- package/dist/js/autocomplete-BbOHe_2t.js +58 -0
- package/dist/js/autocomplete-D0vKABmX.cjs +1 -0
- package/dist/js/autocomplete-control-Ddah11Qw.js +43 -0
- package/dist/js/autocomplete-control-IlAuj9Gg.cjs +1 -0
- package/dist/js/{badge-CNv_SHOf.cjs → badge-DZ7zeLug.cjs} +1 -1
- package/dist/js/{badge-C4eMkitq.js → badge-ntRw2gnO.js} +1 -1
- package/dist/js/{bottom-bar-mNVkH8h_.cjs → bottom-bar-BaunqLTn.cjs} +1 -1
- package/dist/js/{bottom-bar-DswNNvwU.js → bottom-bar-BgqRBSgu.js} +1 -1
- package/dist/js/{button-Cv5pNws2.cjs → button-Ccwmxlgv.cjs} +1 -1
- package/dist/js/{button-BzRPgU1z.js → button-DB4XETG9.js} +1 -1
- package/dist/js/{button-base-B_Ks3sJk.js → button-base-BcnVjgNa.js} +14 -14
- package/dist/js/button-base-tw0zLUCC.cjs +1 -0
- package/dist/js/checkbox-control-BX5tvR42.js +23 -0
- package/dist/js/checkbox-control-DV_psN4F.cjs +1 -0
- package/dist/js/checkbox-group-control-O_wPnLhn.js +80 -0
- package/dist/js/checkbox-group-control-STqRmURg.cjs +1 -0
- package/dist/js/chip-group-66bqmP7S.cjs +1 -0
- package/dist/js/chip-group-Bbc7ODc9.js +55 -0
- package/dist/js/chip-select-control-DAEVXXLk.cjs +1 -0
- package/dist/js/chip-select-control-DXaemJHi.js +38 -0
- package/dist/js/combobox-DmzxFDJp.cjs +1 -0
- package/dist/js/combobox-vYU1IEFA.js +690 -0
- package/dist/js/core/app-switcher.cjs +1 -1
- package/dist/js/core/app-switcher.js +1 -1
- package/dist/js/core/at-a-glance.cjs +1 -0
- package/dist/js/core/at-a-glance.js +26 -0
- package/dist/js/core/autocomplete-control.cjs +1 -0
- package/dist/js/core/autocomplete-control.js +4 -0
- package/dist/js/core/autocomplete.cjs +1 -0
- package/dist/js/core/autocomplete.js +6 -0
- package/dist/js/core/badge.cjs +1 -1
- package/dist/js/core/badge.js +1 -1
- package/dist/js/core/bottom-bar.cjs +1 -1
- package/dist/js/core/bottom-bar.js +1 -1
- package/dist/js/core/button.cjs +1 -1
- package/dist/js/core/button.js +3 -3
- package/dist/js/core/checkbox-control.cjs +1 -1
- package/dist/js/core/checkbox-control.js +1 -1
- package/dist/js/core/checkbox-group-control.cjs +1 -1
- package/dist/js/core/checkbox-group-control.js +1 -1
- package/dist/js/core/chip-group.cjs +1 -1
- package/dist/js/core/chip-group.js +1 -1
- package/dist/js/core/chip-select-control.cjs +1 -1
- package/dist/js/core/chip-select-control.js +1 -1
- package/dist/js/core/combobox.cjs +1 -0
- package/dist/js/core/combobox.js +60 -0
- package/dist/js/core/compact-select.cjs +1 -0
- package/dist/js/core/compact-select.js +68 -0
- package/dist/js/core/date-time-control.cjs +1 -1
- package/dist/js/core/date-time-control.js +1 -1
- package/dist/js/core/date-time-input.cjs +1 -1
- package/dist/js/core/date-time-input.js +1 -1
- package/dist/js/core/dialog.cjs +1 -1
- package/dist/js/core/dialog.js +1 -1
- package/dist/js/core/drawer.cjs +1 -1
- package/dist/js/core/drawer.js +1 -1
- package/dist/js/core/empty-data.cjs +1 -1
- package/dist/js/core/empty-data.js +1 -1
- package/dist/js/core/features.cjs +1 -1
- package/dist/js/core/features.js +1 -1
- package/dist/js/core/menu.cjs +1 -1
- package/dist/js/core/menu.js +1 -1
- package/dist/js/core/pagination.cjs +1 -1
- package/dist/js/core/pagination.js +1 -1
- package/dist/js/core/radio-group-control.cjs +1 -1
- package/dist/js/core/radio-group-control.js +1 -1
- package/dist/js/core/search-input.cjs +1 -1
- package/dist/js/core/search-input.js +3 -2
- package/dist/js/core/select-control.cjs +1 -0
- package/dist/js/core/select-control.js +4 -0
- package/dist/js/core/select-native-control.cjs +1 -0
- package/dist/js/core/select-native-control.js +4 -0
- package/dist/js/core/select.cjs +1 -0
- package/dist/js/core/select.js +6 -0
- package/dist/js/core/side-bar.cjs +1 -1
- package/dist/js/core/side-bar.js +1 -1
- package/dist/js/core/split-button.cjs +1 -1
- package/dist/js/core/split-button.js +1 -1
- package/dist/js/core/table.cjs +1 -1
- package/dist/js/core/table.js +1 -1
- package/dist/js/core/text-control.cjs +1 -1
- package/dist/js/core/text-control.js +1 -1
- package/dist/js/core/text-input.cjs +1 -1
- package/dist/js/core/text-input.js +1 -1
- package/dist/js/core/textarea-control.cjs +1 -1
- package/dist/js/core/textarea-control.js +1 -1
- package/dist/js/core/textarea.cjs +1 -1
- package/dist/js/core/textarea.js +3 -3
- package/dist/js/core/tooltip.cjs +1 -1
- package/dist/js/core/tooltip.js +1 -1
- package/dist/js/core/top-bar.cjs +1 -1
- package/dist/js/core/top-bar.js +1 -1
- package/dist/js/css-anchor-positioning-fn-BAjj14xc.cjs +17 -0
- package/dist/js/{css-anchor-positioning-fn-8Er8T2lM.js → css-anchor-positioning-fn-CoDEvwLG.js} +3596 -3520
- package/dist/js/date-time-control-B7ijIShP.cjs +1 -0
- package/dist/js/date-time-control-BQ6exDEj.js +35 -0
- package/dist/js/{date-time-input-BgdO3sO3.cjs → date-time-input-COXb8cVD.cjs} +1 -1
- package/dist/js/{date-time-input-CxVYHXK5.js → date-time-input-O4mVL-UI.js} +3 -3
- package/dist/js/deprecated/modal.cjs +1 -1
- package/dist/js/deprecated/modal.js +1 -1
- package/dist/js/deprecated/select.cjs +1 -1
- package/dist/js/deprecated/select.js +3 -3
- package/dist/js/{dialog-Bs2HHt0X.cjs → dialog-CIcqgltv.cjs} +1 -1
- package/dist/js/{dialog-D3zoVqua.js → dialog-GJqo4qVv.js} +3 -3
- package/dist/js/{drawer-wWfUva0i.cjs → drawer-ClnTbHbU.cjs} +1 -1
- package/dist/js/{drawer-BBFY72o1.js → drawer-zFOSlbq5.js} +73 -61
- package/dist/js/{empty-data-Bx8e2yeJ.cjs → empty-data-C3H4ZIXX.cjs} +1 -1
- package/dist/js/{empty-data-B3XeEPry.js → empty-data-jmAfUItf.js} +3 -3
- package/dist/js/{features-BhveqBlv.js → features-CrKtIrzO.js} +1 -1
- package/dist/js/{features-CJpKBH5H.cjs → features-kOnpc8sr.cjs} +1 -1
- package/dist/js/handle-arrow-navigation-CKkGc2A5.cjs +1 -0
- package/dist/js/handle-arrow-navigation-r7GKm-no.js +33 -0
- package/dist/js/icons/buy.cjs +1 -1
- package/dist/js/icons/buy.js +1 -1
- package/dist/js/icons/calendar-user.cjs +1 -1
- package/dist/js/icons/calendar-user.js +1 -1
- package/dist/js/icons/checkbox-disabled.cjs +1 -0
- package/dist/js/icons/checkbox-disabled.js +6 -0
- package/dist/js/icons/clear.cjs +1 -0
- package/dist/js/icons/clear.js +6 -0
- package/dist/js/icons/email-disabled.cjs +1 -1
- package/dist/js/icons/email-disabled.js +2 -2
- package/dist/js/icons/euro.cjs +1 -1
- package/dist/js/icons/euro.js +1 -1
- package/dist/js/icons/expand.cjs +1 -1
- package/dist/js/icons/expand.js +1 -1
- package/dist/js/icons/favourite.cjs +1 -1
- package/dist/js/icons/favourite.js +1 -1
- package/dist/js/icons/keyboard.cjs +1 -1
- package/dist/js/icons/keyboard.js +1 -1
- package/dist/js/icons/location-alt.cjs +1 -1
- package/dist/js/icons/location-alt.js +1 -1
- package/dist/js/icons/location-outline.cjs +1 -0
- package/dist/js/icons/location-outline.js +6 -0
- package/dist/js/icons/lock.cjs +1 -1
- package/dist/js/icons/lock.js +3 -3
- package/dist/js/icons/menu-collapse.cjs +1 -1
- package/dist/js/icons/menu-collapse.js +1 -1
- package/dist/js/icons/menu-expand.cjs +1 -1
- package/dist/js/icons/menu-expand.js +1 -1
- package/dist/js/icons/message-alt.cjs +1 -1
- package/dist/js/icons/message-alt.js +1 -1
- package/dist/js/icons/note.cjs +1 -1
- package/dist/js/icons/note.js +1 -1
- package/dist/js/icons/pound.cjs +1 -1
- package/dist/js/icons/pound.js +1 -1
- package/dist/js/icons/printer.cjs +1 -0
- package/dist/js/icons/printer.js +6 -0
- package/dist/js/icons/priority-low.cjs +1 -1
- package/dist/js/icons/priority-low.js +1 -1
- package/dist/js/icons/radio-disabled.cjs +1 -0
- package/dist/js/icons/radio-disabled.js +6 -0
- package/dist/js/icons/restore.cjs +1 -1
- package/dist/js/icons/restore.js +1 -1
- package/dist/js/icons/send.cjs +1 -1
- package/dist/js/icons/send.js +2 -2
- package/dist/js/icons/settings-alt.cjs +1 -1
- package/dist/js/icons/settings-alt.js +1 -1
- package/dist/js/icons/share.cjs +1 -1
- package/dist/js/icons/share.js +1 -1
- package/dist/js/icons/skip.cjs +1 -0
- package/dist/js/icons/skip.js +6 -0
- package/dist/js/icons/social-facebook.cjs +1 -0
- package/dist/js/icons/social-facebook.js +6 -0
- package/dist/js/icons/social-instagram.cjs +1 -0
- package/dist/js/icons/social-instagram.js +6 -0
- package/dist/js/icons/social-linkedin.cjs +1 -0
- package/dist/js/icons/social-linkedin.js +6 -0
- package/dist/js/icons/social-x.cjs +1 -0
- package/dist/js/icons/social-x.js +6 -0
- package/dist/js/icons/social-youtube.cjs +1 -0
- package/dist/js/icons/social-youtube.js +6 -0
- package/dist/js/icons/tag.cjs +1 -1
- package/dist/js/icons/tag.js +1 -1
- package/dist/js/icons/user-outline.cjs +1 -0
- package/dist/js/icons/user-outline.js +6 -0
- package/dist/js/icons/video.cjs +1 -1
- package/dist/js/icons/video.js +1 -1
- package/dist/js/icons/walking.cjs +1 -1
- package/dist/js/icons/walking.js +1 -1
- package/dist/js/icons/web.cjs +1 -0
- package/dist/js/icons/web.js +6 -0
- package/dist/js/index.cjs +1 -1
- package/dist/js/index.js +1496 -1369
- package/dist/js/lab/search-input.cjs +1 -1
- package/dist/js/lab/search-input.js +2 -2
- package/dist/js/lab/select-custom.cjs +1 -1
- package/dist/js/lab/select-custom.js +6 -6
- package/dist/js/listbox-WqmeAQ3c.cjs +1 -0
- package/dist/js/listbox-z26X2kKG.js +335 -0
- package/dist/js/match-media-BhV24ZxC.js +7 -0
- package/dist/js/match-media-CbN_J5GN.cjs +1 -0
- package/dist/js/{menu-CBeq-0T4.js → menu-C1vGEA92.js} +54 -47
- package/dist/js/menu-GxHkUuv-.cjs +1 -0
- package/dist/js/{modal-DKlfnpvX.js → modal-DHGiIVEh.js} +25 -25
- package/dist/js/modal-DtRra0Y8.cjs +1 -0
- package/dist/js/{pagination-C1lz9wwq.js → pagination-AKajPRWK.js} +1 -1
- package/dist/js/{pagination-Bn3xDaYg.cjs → pagination-BsjPCoTa.cjs} +1 -1
- package/dist/js/popover-CH-6Mc2I.js +85 -0
- package/dist/js/popover-CUAeSUdU.cjs +1 -0
- package/dist/js/radio-group-control--oDDh_mt.cjs +1 -0
- package/dist/js/radio-group-control-CIi2IzvJ.js +115 -0
- package/dist/js/search-input-P7uo0pIh.js +79 -0
- package/dist/js/search-input-iGgUwfw7.cjs +1 -0
- package/dist/js/select-BcO4bwIu.cjs +1 -0
- package/dist/js/select-CUsOgdsQ.js +53 -0
- package/dist/js/select-CsCYHJSX.cjs +1 -0
- package/dist/js/select-GBZSXtmy.js +22 -0
- package/dist/js/select-control-DtOt-YWz.cjs +1 -0
- package/dist/js/select-control-k3vB6VlD.js +48 -0
- package/dist/js/select-native-control-D754Vcty.js +35 -0
- package/dist/js/select-native-control-lF3GUKy8.cjs +1 -0
- package/dist/js/{side-bar-CVYEUZUt.js → side-bar-BIh8Gmz0.js} +46 -45
- package/dist/js/side-bar-wQGhHxQE.cjs +1 -0
- package/dist/js/{split-button-DmGaQtfM.cjs → split-button-Bbbg58PG.cjs} +1 -1
- package/dist/js/{split-button-BgTcuFGf.js → split-button-Bx14hvm7.js} +3 -3
- package/dist/js/style.css +1 -1
- package/dist/js/table-BVWjirIs.cjs +1 -0
- package/dist/js/{table-Bl_O1Vba.js → table-Hr5aWZeT.js} +2 -2
- package/dist/js/text-control-BuUv9ihH.js +35 -0
- package/dist/js/text-control-DJsYUo8t.cjs +1 -0
- package/dist/js/text-input-Ce-v6n3v.cjs +1 -0
- package/dist/js/{text-input-CkB96hQ9.js → text-input-DAMUZr1s.js} +33 -31
- package/dist/js/textarea-DCg3FZLn.cjs +1 -0
- package/dist/js/textarea-control-BUMon2es.cjs +1 -0
- package/dist/js/textarea-control-CQI7qpuH.js +35 -0
- package/dist/js/{textarea-B57gvWjo.js → textarea-hvAcHN7k.js} +13 -13
- package/dist/js/{tooltip-B0jGN026.js → tooltip-AKtYPwAT.js} +1 -1
- package/dist/js/{tooltip-DVVnlf_8.cjs → tooltip-CXN3ioZt.cjs} +1 -1
- package/dist/js/{top-bar-DNjBwRD0.cjs → top-bar-CJerQrcH.cjs} +1 -1
- package/dist/js/{top-bar-Dv1_vO38.js → top-bar-n7rICsQe.js} +2 -2
- package/dist/js/use-match-media-3UiitAUD.js +20 -0
- package/dist/js/use-match-media-BfoAxEfC.cjs +1 -0
- package/dist/js/use-mutation-observer-BBugqUeF.cjs +1 -0
- package/dist/js/use-mutation-observer-hOVGFYZQ.js +19 -0
- package/dist/js/utils/anchor-positioning.cjs +1 -0
- package/dist/js/utils/anchor-positioning.js +7 -0
- package/dist/js/utils/keyboard-navigation.cjs +1 -1
- package/dist/js/utils/keyboard-navigation.js +4 -33
- package/dist/js/utils/listbox.cjs +1 -0
- package/dist/js/utils/listbox.js +24 -0
- package/dist/js/utils/match-media.cjs +1 -1
- package/dist/js/utils/match-media.js +4 -3
- package/dist/js/utils/mutation-observer.cjs +1 -0
- package/dist/js/utils/mutation-observer.js +4 -0
- package/dist/js/utils/popover.cjs +1 -1
- package/dist/js/utils/popover.js +8 -4
- package/dist/types/core/at-a-glance/__story__/build-cards.d.ts +12 -0
- package/dist/types/core/at-a-glance/__story__/build-cards.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/__tests__/at-a-glance.test.d.ts +2 -0
- package/dist/types/core/at-a-glance/__tests__/at-a-glance.test.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/anchor-card/__tests__/anchor-card.test.d.ts +2 -0
- package/dist/types/core/at-a-glance/anchor-card/__tests__/anchor-card.test.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/anchor-card/anchor-card.d.ts +33 -0
- package/dist/types/core/at-a-glance/anchor-card/anchor-card.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/anchor-card/anchor-card.figma.d.ts +2 -0
- package/dist/types/core/at-a-glance/anchor-card/anchor-card.figma.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/anchor-card/anchor-card.stories.d.ts +44 -0
- package/dist/types/core/at-a-glance/anchor-card/anchor-card.stories.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/anchor-card/index.d.ts +2 -0
- package/dist/types/core/at-a-glance/anchor-card/index.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/anchor-card/styles.d.ts +2 -0
- package/dist/types/core/at-a-glance/anchor-card/styles.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/at-a-glance.d.ts +30 -0
- package/dist/types/core/at-a-glance/at-a-glance.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/at-a-glance.figma.d.ts +2 -0
- package/dist/types/core/at-a-glance/at-a-glance.figma.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/at-a-glance.stories.d.ts +57 -0
- package/dist/types/core/at-a-glance/at-a-glance.stories.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/button-card/__tests__/button-card.test.d.ts +2 -0
- package/dist/types/core/at-a-glance/button-card/__tests__/button-card.test.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/button-card/button-card.d.ts +31 -0
- package/dist/types/core/at-a-glance/button-card/button-card.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/button-card/button-card.stories.d.ts +39 -0
- package/dist/types/core/at-a-glance/button-card/button-card.stories.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/button-card/index.d.ts +2 -0
- package/dist/types/core/at-a-glance/button-card/index.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/button-card/styles.d.ts +2 -0
- package/dist/types/core/at-a-glance/button-card/styles.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/card/__tests__/card.test.d.ts +2 -0
- package/dist/types/core/at-a-glance/card/__tests__/card.test.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/card/card.d.ts +29 -0
- package/dist/types/core/at-a-glance/card/card.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/card/card.figma.d.ts +2 -0
- package/dist/types/core/at-a-glance/card/card.figma.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/card/card.stories.d.ts +36 -0
- package/dist/types/core/at-a-glance/card/card.stories.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/card/index.d.ts +3 -0
- package/dist/types/core/at-a-glance/card/index.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/card/styles.d.ts +22 -0
- package/dist/types/core/at-a-glance/card/styles.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/carousel/__tests__/calculate-scroll-state.test.d.ts +2 -0
- package/dist/types/core/at-a-glance/carousel/__tests__/calculate-scroll-state.test.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/carousel/__tests__/carousel.test.d.ts +2 -0
- package/dist/types/core/at-a-glance/carousel/__tests__/carousel.test.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/carousel/__tests__/scroll-container-left.test.d.ts +2 -0
- package/dist/types/core/at-a-glance/carousel/__tests__/scroll-container-left.test.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/carousel/__tests__/scroll-container-right.test.d.ts +2 -0
- package/dist/types/core/at-a-glance/carousel/__tests__/scroll-container-right.test.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/carousel/__tests__/use-scroll-observer.test.d.ts +2 -0
- package/dist/types/core/at-a-glance/carousel/__tests__/use-scroll-observer.test.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/carousel/calculate-scroll-state.d.ts +28 -0
- package/dist/types/core/at-a-glance/carousel/calculate-scroll-state.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/carousel/carousel.d.ts +21 -0
- package/dist/types/core/at-a-glance/carousel/carousel.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/carousel/carousel.figma.d.ts +2 -0
- package/dist/types/core/at-a-glance/carousel/carousel.figma.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/carousel/carousel.stories.d.ts +25 -0
- package/dist/types/core/at-a-glance/carousel/carousel.stories.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/carousel/index.d.ts +4 -0
- package/dist/types/core/at-a-glance/carousel/index.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/carousel/scroll-container-left.d.ts +19 -0
- package/dist/types/core/at-a-glance/carousel/scroll-container-left.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/carousel/scroll-container-right.d.ts +19 -0
- package/dist/types/core/at-a-glance/carousel/scroll-container-right.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/carousel/styles.d.ts +4 -0
- package/dist/types/core/at-a-glance/carousel/styles.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/carousel/use-scroll-observer.d.ts +35 -0
- package/dist/types/core/at-a-glance/carousel/use-scroll-observer.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/grid/__tests__/grid-item.test.d.ts +2 -0
- package/dist/types/core/at-a-glance/grid/__tests__/grid-item.test.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/grid/__tests__/grid.test.d.ts +2 -0
- package/dist/types/core/at-a-glance/grid/__tests__/grid.test.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/grid/grid-item.d.ts +28 -0
- package/dist/types/core/at-a-glance/grid/grid-item.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/grid/grid.d.ts +39 -0
- package/dist/types/core/at-a-glance/grid/grid.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/grid/grid.figma.d.ts +2 -0
- package/dist/types/core/at-a-glance/grid/grid.figma.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/grid/grid.stories.d.ts +32 -0
- package/dist/types/core/at-a-glance/grid/grid.stories.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/grid/index.d.ts +4 -0
- package/dist/types/core/at-a-glance/grid/index.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/grid/styles.d.ts +3 -0
- package/dist/types/core/at-a-glance/grid/styles.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/header/__tests__/header.test.d.ts +2 -0
- package/dist/types/core/at-a-glance/header/__tests__/header.test.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/header/header.d.ts +35 -0
- package/dist/types/core/at-a-glance/header/header.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/header/header.figma.d.ts +2 -0
- package/dist/types/core/at-a-glance/header/header.figma.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/header/header.stories.d.ts +34 -0
- package/dist/types/core/at-a-glance/header/header.stories.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/header/index.d.ts +3 -0
- package/dist/types/core/at-a-glance/header/index.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/header/styles.d.ts +3 -0
- package/dist/types/core/at-a-glance/header/styles.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/index.d.ts +9 -0
- package/dist/types/core/at-a-glance/index.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/listbox/__tests__/listbox-option.test.d.ts +2 -0
- package/dist/types/core/at-a-glance/listbox/__tests__/listbox-option.test.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/listbox/__tests__/listbox.test.d.ts +2 -0
- package/dist/types/core/at-a-glance/listbox/__tests__/listbox.test.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/listbox/index.d.ts +3 -0
- package/dist/types/core/at-a-glance/listbox/index.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/listbox/listbox-option.d.ts +38 -0
- package/dist/types/core/at-a-glance/listbox/listbox-option.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/listbox/listbox-option.figma.d.ts +2 -0
- package/dist/types/core/at-a-glance/listbox/listbox-option.figma.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/listbox/listbox.d.ts +23 -0
- package/dist/types/core/at-a-glance/listbox/listbox.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/listbox/listbox.stories.d.ts +39 -0
- package/dist/types/core/at-a-glance/listbox/listbox.stories.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/listbox/styles.d.ts +2 -0
- package/dist/types/core/at-a-glance/listbox/styles.d.ts.map +1 -0
- package/dist/types/core/at-a-glance/styles.d.ts +2 -0
- package/dist/types/core/at-a-glance/styles.d.ts.map +1 -0
- package/dist/types/core/autocomplete/__tests__/autocomplete-button.test.d.ts +2 -0
- package/dist/types/core/autocomplete/__tests__/autocomplete-button.test.d.ts.map +1 -0
- package/dist/types/core/autocomplete/__tests__/autocomplete-popup.test.d.ts +2 -0
- package/dist/types/core/autocomplete/__tests__/autocomplete-popup.test.d.ts.map +1 -0
- package/dist/types/core/autocomplete/__tests__/autocomplete.test.d.ts +2 -0
- package/dist/types/core/autocomplete/__tests__/autocomplete.test.d.ts.map +1 -0
- package/dist/types/core/autocomplete/autocomplete-button.d.ts +19 -0
- package/dist/types/core/autocomplete/autocomplete-button.d.ts.map +1 -0
- package/dist/types/core/autocomplete/autocomplete-popup.d.ts +19 -0
- package/dist/types/core/autocomplete/autocomplete-popup.d.ts.map +1 -0
- package/dist/types/core/autocomplete/autocomplete.d.ts +55 -0
- package/dist/types/core/autocomplete/autocomplete.d.ts.map +1 -0
- package/dist/types/core/autocomplete/autocomplete.stories.d.ts +603 -0
- package/dist/types/core/autocomplete/autocomplete.stories.d.ts.map +1 -0
- package/dist/types/core/autocomplete/index.d.ts +4 -0
- package/dist/types/core/autocomplete/index.d.ts.map +1 -0
- package/dist/types/core/autocomplete-control/__tests__/autocomplete-control.test.d.ts +2 -0
- package/dist/types/core/autocomplete-control/__tests__/autocomplete-control.test.d.ts.map +1 -0
- package/dist/types/core/autocomplete-control/autocomplete-control.d.ts +24 -0
- package/dist/types/core/autocomplete-control/autocomplete-control.d.ts.map +1 -0
- package/dist/types/core/autocomplete-control/autocomplete-control.stories.d.ts +70 -0
- package/dist/types/core/autocomplete-control/autocomplete-control.stories.d.ts.map +1 -0
- package/dist/types/core/autocomplete-control/index.d.ts +2 -0
- package/dist/types/core/autocomplete-control/index.d.ts.map +1 -0
- package/dist/types/core/button/button-base.d.ts +2 -2
- package/dist/types/core/button/button-base.d.ts.map +1 -1
- package/dist/types/core/checkbox-group-control/checkbox-group-control.d.ts.map +1 -1
- package/dist/types/core/chip-group/chip-group-item.d.ts +6 -4
- package/dist/types/core/chip-group/chip-group-item.d.ts.map +1 -1
- package/dist/types/core/chip-group/chip-group.d.ts +18 -2
- package/dist/types/core/chip-group/chip-group.d.ts.map +1 -1
- package/dist/types/core/chip-group/chip-group.stories.d.ts +15 -2
- package/dist/types/core/chip-group/chip-group.stories.d.ts.map +1 -1
- package/dist/types/core/chip-group/context.d.ts +21 -0
- package/dist/types/core/chip-group/context.d.ts.map +1 -0
- package/dist/types/core/chip-select/context.d.ts.map +1 -1
- package/dist/types/core/chip-select-control/chip-select-control.d.ts.map +1 -1
- package/dist/types/core/combobox/__tests__/combobox-popup.test.d.ts +2 -0
- package/dist/types/core/combobox/__tests__/combobox-popup.test.d.ts.map +1 -0
- package/dist/types/core/combobox/__tests__/combobox.test.d.ts +2 -0
- package/dist/types/core/combobox/__tests__/combobox.test.d.ts.map +1 -0
- package/dist/types/core/combobox/__tests__/get-listbox-id.test.d.ts +2 -0
- package/dist/types/core/combobox/__tests__/get-listbox-id.test.d.ts.map +1 -0
- package/dist/types/core/combobox/__tests__/get-popup-id.test.d.ts +2 -0
- package/dist/types/core/combobox/__tests__/get-popup-id.test.d.ts.map +1 -0
- package/dist/types/core/combobox/__tests__/use-button.test.d.ts +2 -0
- package/dist/types/core/combobox/__tests__/use-button.test.d.ts.map +1 -0
- package/dist/types/core/combobox/__tests__/use-has-selection.test.d.ts +2 -0
- package/dist/types/core/combobox/__tests__/use-has-selection.test.d.ts.map +1 -0
- package/dist/types/core/combobox/__tests__/use-selected-options.test.d.ts +2 -0
- package/dist/types/core/combobox/__tests__/use-selected-options.test.d.ts.map +1 -0
- package/dist/types/core/combobox/__tests__/use-state.test.d.ts +2 -0
- package/dist/types/core/combobox/__tests__/use-state.test.d.ts.map +1 -0
- package/dist/types/core/combobox/button/__tests__/button.test.d.ts +2 -0
- package/dist/types/core/combobox/button/__tests__/button.test.d.ts.map +1 -0
- package/dist/types/core/combobox/button/__tests__/clear-button.test.d.ts +2 -0
- package/dist/types/core/combobox/button/__tests__/clear-button.test.d.ts.map +1 -0
- package/dist/types/core/combobox/button/__tests__/open-popup-button.test.d.ts +2 -0
- package/dist/types/core/combobox/button/__tests__/open-popup-button.test.d.ts.map +1 -0
- package/dist/types/core/combobox/button/button.d.ts +46 -0
- package/dist/types/core/combobox/button/button.d.ts.map +1 -0
- package/dist/types/core/combobox/button/button.stories.d.ts +344 -0
- package/dist/types/core/combobox/button/button.stories.d.ts.map +1 -0
- package/dist/types/core/combobox/button/clear-button.d.ts +15 -0
- package/dist/types/core/combobox/button/clear-button.d.ts.map +1 -0
- package/dist/types/core/combobox/button/index.d.ts +5 -0
- package/dist/types/core/combobox/button/index.d.ts.map +1 -0
- package/dist/types/core/combobox/button/open-popup-button.d.ts +15 -0
- package/dist/types/core/combobox/button/open-popup-button.d.ts.map +1 -0
- package/dist/types/core/combobox/button/styles.d.ts +6 -0
- package/dist/types/core/combobox/button/styles.d.ts.map +1 -0
- package/dist/types/core/combobox/combobox-popup.d.ts +22 -0
- package/dist/types/core/combobox/combobox-popup.d.ts.map +1 -0
- package/dist/types/core/combobox/combobox.d.ts +116 -0
- package/dist/types/core/combobox/combobox.d.ts.map +1 -0
- package/dist/types/core/combobox/combobox.stories.d.ts +49 -0
- package/dist/types/core/combobox/combobox.stories.d.ts.map +1 -0
- package/dist/types/core/combobox/context.d.ts +36 -0
- package/dist/types/core/combobox/context.d.ts.map +1 -0
- package/dist/types/core/combobox/default-options-context.d.ts +14 -0
- package/dist/types/core/combobox/default-options-context.d.ts.map +1 -0
- package/dist/types/core/combobox/get-listbox-id.d.ts +7 -0
- package/dist/types/core/combobox/get-listbox-id.d.ts.map +1 -0
- package/dist/types/core/combobox/get-popup-id.d.ts +7 -0
- package/dist/types/core/combobox/get-popup-id.d.ts.map +1 -0
- package/dist/types/core/combobox/index.d.ts +16 -0
- package/dist/types/core/combobox/index.d.ts.map +1 -0
- package/dist/types/core/combobox/listbox/__tests__/listbox-option.test.d.ts +2 -0
- package/dist/types/core/combobox/listbox/__tests__/listbox-option.test.d.ts.map +1 -0
- package/dist/types/core/combobox/listbox/__tests__/listbox-placeholder.test.d.ts +2 -0
- package/dist/types/core/combobox/listbox/__tests__/listbox-placeholder.test.d.ts.map +1 -0
- package/dist/types/core/combobox/listbox/__tests__/listbox.test.d.ts +2 -0
- package/dist/types/core/combobox/listbox/__tests__/listbox.test.d.ts.map +1 -0
- package/dist/types/core/combobox/listbox/index.d.ts +6 -0
- package/dist/types/core/combobox/listbox/index.d.ts.map +1 -0
- package/dist/types/core/combobox/listbox/listbox-optgroup.d.ts +14 -0
- package/dist/types/core/combobox/listbox/listbox-optgroup.d.ts.map +1 -0
- package/dist/types/core/combobox/listbox/listbox-option.d.ts +21 -0
- package/dist/types/core/combobox/listbox/listbox-option.d.ts.map +1 -0
- package/dist/types/core/combobox/listbox/listbox-placeholder.d.ts +18 -0
- package/dist/types/core/combobox/listbox/listbox-placeholder.d.ts.map +1 -0
- package/dist/types/core/combobox/listbox/listbox.d.ts +38 -0
- package/dist/types/core/combobox/listbox/listbox.d.ts.map +1 -0
- package/dist/types/core/combobox/listbox/listbox.stories.d.ts +596 -0
- package/dist/types/core/combobox/listbox/listbox.stories.d.ts.map +1 -0
- package/dist/types/core/combobox/listbox/styles.d.ts +3 -0
- package/dist/types/core/combobox/listbox/styles.d.ts.map +1 -0
- package/dist/types/core/combobox/optgroup/__tests__/optgroup.test.d.ts +2 -0
- package/dist/types/core/combobox/optgroup/__tests__/optgroup.test.d.ts.map +1 -0
- package/dist/types/core/combobox/optgroup/index.d.ts +3 -0
- package/dist/types/core/combobox/optgroup/index.d.ts.map +1 -0
- package/dist/types/core/combobox/optgroup/optgroup.d.ts +18 -0
- package/dist/types/core/combobox/optgroup/optgroup.d.ts.map +1 -0
- package/dist/types/core/combobox/optgroup/optgroup.figma.d.ts +2 -0
- package/dist/types/core/combobox/optgroup/optgroup.figma.d.ts.map +1 -0
- package/dist/types/core/combobox/optgroup/optgroup.stories.d.ts +38 -0
- package/dist/types/core/combobox/optgroup/optgroup.stories.d.ts.map +1 -0
- package/dist/types/core/combobox/optgroup/styles.d.ts +3 -0
- package/dist/types/core/combobox/optgroup/styles.d.ts.map +1 -0
- package/dist/types/core/combobox/option/__tests__/get-option-label.test.d.ts +2 -0
- package/dist/types/core/combobox/option/__tests__/get-option-label.test.d.ts.map +1 -0
- package/dist/types/core/combobox/option/__tests__/option-supplementary-info.test.d.ts +2 -0
- package/dist/types/core/combobox/option/__tests__/option-supplementary-info.test.d.ts.map +1 -0
- package/dist/types/core/combobox/option/__tests__/option.test.d.ts +2 -0
- package/dist/types/core/combobox/option/__tests__/option.test.d.ts.map +1 -0
- package/dist/types/core/combobox/option/get-option-label.d.ts +5 -0
- package/dist/types/core/combobox/option/get-option-label.d.ts.map +1 -0
- package/dist/types/core/combobox/option/index.d.ts +5 -0
- package/dist/types/core/combobox/option/index.d.ts.map +1 -0
- package/dist/types/core/combobox/option/option-additional-info.d.ts +19 -0
- package/dist/types/core/combobox/option/option-additional-info.d.ts.map +1 -0
- package/dist/types/core/combobox/option/option-additional-info.figma.d.ts +2 -0
- package/dist/types/core/combobox/option/option-additional-info.figma.d.ts.map +1 -0
- package/dist/types/core/combobox/option/option.d.ts +29 -0
- package/dist/types/core/combobox/option/option.d.ts.map +1 -0
- package/dist/types/core/combobox/option/option.figma.d.ts +2 -0
- package/dist/types/core/combobox/option/option.figma.d.ts.map +1 -0
- package/dist/types/core/combobox/option/option.stories.d.ts +68 -0
- package/dist/types/core/combobox/option/option.stories.d.ts.map +1 -0
- package/dist/types/core/combobox/option/styles.d.ts +9 -0
- package/dist/types/core/combobox/option/styles.d.ts.map +1 -0
- package/dist/types/core/combobox/popup-dialog/__tests__/FakeToggleEvent.d.ts +10 -0
- package/dist/types/core/combobox/popup-dialog/__tests__/FakeToggleEvent.d.ts.map +1 -0
- package/dist/types/core/combobox/popup-dialog/__tests__/close-button.test.d.ts +2 -0
- package/dist/types/core/combobox/popup-dialog/__tests__/close-button.test.d.ts.map +1 -0
- package/dist/types/core/combobox/popup-dialog/__tests__/close-popup.test.d.ts +2 -0
- package/dist/types/core/combobox/popup-dialog/__tests__/close-popup.test.d.ts.map +1 -0
- package/dist/types/core/combobox/popup-dialog/__tests__/event-handlers.test.d.ts +2 -0
- package/dist/types/core/combobox/popup-dialog/__tests__/event-handlers.test.d.ts.map +1 -0
- package/dist/types/core/combobox/popup-dialog/__tests__/open-popup.test.d.ts +2 -0
- package/dist/types/core/combobox/popup-dialog/__tests__/open-popup.test.d.ts.map +1 -0
- package/dist/types/core/combobox/popup-dialog/__tests__/popup-dialog.test.d.ts +2 -0
- package/dist/types/core/combobox/popup-dialog/__tests__/popup-dialog.test.d.ts.map +1 -0
- package/dist/types/core/combobox/popup-dialog/__tests__/use-popup-observer.test.d.ts +2 -0
- package/dist/types/core/combobox/popup-dialog/__tests__/use-popup-observer.test.d.ts.map +1 -0
- package/dist/types/core/combobox/popup-dialog/__tests__/use-popup-state.test.d.ts +2 -0
- package/dist/types/core/combobox/popup-dialog/__tests__/use-popup-state.test.d.ts.map +1 -0
- package/dist/types/core/combobox/popup-dialog/close-button.d.ts +8 -0
- package/dist/types/core/combobox/popup-dialog/close-button.d.ts.map +1 -0
- package/dist/types/core/combobox/popup-dialog/close-popup.d.ts +7 -0
- package/dist/types/core/combobox/popup-dialog/close-popup.d.ts.map +1 -0
- package/dist/types/core/combobox/popup-dialog/context.d.ts +23 -0
- package/dist/types/core/combobox/popup-dialog/context.d.ts.map +1 -0
- package/dist/types/core/combobox/popup-dialog/event-handlers.d.ts +73 -0
- package/dist/types/core/combobox/popup-dialog/event-handlers.d.ts.map +1 -0
- package/dist/types/core/combobox/popup-dialog/index.d.ts +9 -0
- package/dist/types/core/combobox/popup-dialog/index.d.ts.map +1 -0
- package/dist/types/core/combobox/popup-dialog/open-popup.d.ts +7 -0
- package/dist/types/core/combobox/popup-dialog/open-popup.d.ts.map +1 -0
- package/dist/types/core/combobox/popup-dialog/popup-dialog.d.ts +64 -0
- package/dist/types/core/combobox/popup-dialog/popup-dialog.d.ts.map +1 -0
- package/dist/types/core/combobox/popup-dialog/popup-dialog.stories.d.ts +83 -0
- package/dist/types/core/combobox/popup-dialog/popup-dialog.stories.d.ts.map +1 -0
- package/dist/types/core/combobox/popup-dialog/styles.d.ts +4 -0
- package/dist/types/core/combobox/popup-dialog/styles.d.ts.map +1 -0
- package/dist/types/core/combobox/popup-dialog/use-popup-observer.d.ts +7 -0
- package/dist/types/core/combobox/popup-dialog/use-popup-observer.d.ts.map +1 -0
- package/dist/types/core/combobox/popup-dialog/use-popup-state.d.ts +7 -0
- package/dist/types/core/combobox/popup-dialog/use-popup-state.d.ts.map +1 -0
- package/dist/types/core/combobox/search-input/__tests__/determine-search-input-variant.test.d.ts +2 -0
- package/dist/types/core/combobox/search-input/__tests__/determine-search-input-variant.test.d.ts.map +1 -0
- package/dist/types/core/combobox/search-input/__tests__/search-input.test.d.ts +2 -0
- package/dist/types/core/combobox/search-input/__tests__/search-input.test.d.ts.map +1 -0
- package/dist/types/core/combobox/search-input/determine-search-input-variant.d.ts +49 -0
- package/dist/types/core/combobox/search-input/determine-search-input-variant.d.ts.map +1 -0
- package/dist/types/core/combobox/search-input/index.d.ts +2 -0
- package/dist/types/core/combobox/search-input/index.d.ts.map +1 -0
- package/dist/types/core/combobox/search-input/search-input.d.ts +37 -0
- package/dist/types/core/combobox/search-input/search-input.d.ts.map +1 -0
- package/dist/types/core/combobox/search-input/search-input.stories.d.ts +620 -0
- package/dist/types/core/combobox/search-input/search-input.stories.d.ts.map +1 -0
- package/dist/types/core/combobox/selected-content/index.d.ts +2 -0
- package/dist/types/core/combobox/selected-content/index.d.ts.map +1 -0
- package/dist/types/core/combobox/selected-content/selected-content.d.ts +20 -0
- package/dist/types/core/combobox/selected-content/selected-content.d.ts.map +1 -0
- package/dist/types/core/combobox/selected-content/selected-content.stories.d.ts +564 -0
- package/dist/types/core/combobox/selected-content/selected-content.stories.d.ts.map +1 -0
- package/dist/types/core/combobox/selection-chips/__tests__/selection-chip.test.d.ts +2 -0
- package/dist/types/core/combobox/selection-chips/__tests__/selection-chip.test.d.ts.map +1 -0
- package/dist/types/core/combobox/selection-chips/__tests__/selection-chips.test.d.ts +2 -0
- package/dist/types/core/combobox/selection-chips/__tests__/selection-chips.test.d.ts.map +1 -0
- package/dist/types/core/combobox/selection-chips/context.d.ts +17 -0
- package/dist/types/core/combobox/selection-chips/context.d.ts.map +1 -0
- package/dist/types/core/combobox/selection-chips/index.d.ts +2 -0
- package/dist/types/core/combobox/selection-chips/index.d.ts.map +1 -0
- package/dist/types/core/combobox/selection-chips/selection-chip.d.ts +15 -0
- package/dist/types/core/combobox/selection-chips/selection-chip.d.ts.map +1 -0
- package/dist/types/core/combobox/selection-chips/selection-chips.d.ts +31 -0
- package/dist/types/core/combobox/selection-chips/selection-chips.d.ts.map +1 -0
- package/dist/types/core/combobox/selection-chips/selection-chips.stories.d.ts +588 -0
- package/dist/types/core/combobox/selection-chips/selection-chips.stories.d.ts.map +1 -0
- package/dist/types/core/combobox/selection-chips/styles.d.ts +2 -0
- package/dist/types/core/combobox/selection-chips/styles.d.ts.map +1 -0
- package/dist/types/core/combobox/styles.d.ts +9 -0
- package/dist/types/core/combobox/styles.d.ts.map +1 -0
- package/dist/types/core/combobox/use-button.d.ts +61 -0
- package/dist/types/core/combobox/use-button.d.ts.map +1 -0
- package/dist/types/core/combobox/use-has-selection.d.ts +17 -0
- package/dist/types/core/combobox/use-has-selection.d.ts.map +1 -0
- package/dist/types/core/combobox/use-selected-options.d.ts +28 -0
- package/dist/types/core/combobox/use-selected-options.d.ts.map +1 -0
- package/dist/types/core/combobox/use-state.d.ts +7 -0
- package/dist/types/core/combobox/use-state.d.ts.map +1 -0
- package/dist/types/core/compact-select/__tests__/compact-select-button.test.d.ts +2 -0
- package/dist/types/core/compact-select/__tests__/compact-select-button.test.d.ts.map +1 -0
- package/dist/types/core/compact-select/__tests__/compact-select-popup.test.d.ts +2 -0
- package/dist/types/core/compact-select/__tests__/compact-select-popup.test.d.ts.map +1 -0
- package/dist/types/core/compact-select/__tests__/compact-select.test.d.ts +2 -0
- package/dist/types/core/compact-select/__tests__/compact-select.test.d.ts.map +1 -0
- package/dist/types/core/compact-select/compact-select-button.d.ts +15 -0
- package/dist/types/core/compact-select/compact-select-button.d.ts.map +1 -0
- package/dist/types/core/compact-select/compact-select-popup.d.ts +12 -0
- package/dist/types/core/compact-select/compact-select-popup.d.ts.map +1 -0
- package/dist/types/core/compact-select/compact-select.d.ts +43 -0
- package/dist/types/core/compact-select/compact-select.d.ts.map +1 -0
- package/dist/types/core/compact-select/compact-select.stories.d.ts +32 -0
- package/dist/types/core/compact-select/compact-select.stories.d.ts.map +1 -0
- package/dist/types/core/compact-select/index.d.ts +3 -0
- package/dist/types/core/compact-select/index.d.ts.map +1 -0
- package/dist/types/core/compact-select/styles.d.ts +4 -0
- package/dist/types/core/compact-select/styles.d.ts.map +1 -0
- package/dist/types/core/date-time-control/date-time-control.d.ts.map +1 -1
- package/dist/types/core/drawer/drawer.d.ts +1 -1
- package/dist/types/core/drawer/drawer.d.ts.map +1 -1
- package/dist/types/core/filter-bar/applied-filters/applied-filters.stories.d.ts.map +1 -1
- package/dist/types/core/filter-bar/filter-bar.stories.d.ts.map +1 -1
- package/dist/types/core/form-control/error-text/styles.d.ts.map +1 -1
- package/dist/types/core/form-control/help-text/styles.d.ts.map +1 -1
- package/dist/types/core/form-control/label/styles.d.ts.map +1 -1
- package/dist/types/core/form-control/styles.d.ts.map +1 -1
- package/dist/types/core/index.d.ts +7 -0
- package/dist/types/core/index.d.ts.map +1 -1
- package/dist/types/core/menu/group/group.d.ts.map +1 -1
- package/dist/types/core/menu/use-close-menu-on-click.d.ts.map +1 -1
- package/dist/types/core/radio-group-control/radio-group-control.d.ts.map +1 -1
- package/dist/types/core/search-input/__tests__/clear-search-input.test.d.ts +2 -0
- package/dist/types/core/search-input/__tests__/clear-search-input.test.d.ts.map +1 -0
- package/dist/types/core/search-input/clear-button/clear-button.d.ts +3 -1
- package/dist/types/core/search-input/clear-button/clear-button.d.ts.map +1 -1
- package/dist/types/core/search-input/clear-search-input.d.ts +16 -0
- package/dist/types/core/search-input/clear-search-input.d.ts.map +1 -0
- package/dist/types/core/search-input/index.d.ts +1 -0
- package/dist/types/core/search-input/index.d.ts.map +1 -1
- package/dist/types/core/search-input/search-input.d.ts +4 -2
- package/dist/types/core/search-input/search-input.d.ts.map +1 -1
- package/dist/types/core/search-input/search-input.stories.d.ts +4 -0
- package/dist/types/core/search-input/search-input.stories.d.ts.map +1 -1
- package/dist/types/core/select/__tests__/select-button.test.d.ts +2 -0
- package/dist/types/core/select/__tests__/select-button.test.d.ts.map +1 -0
- package/dist/types/core/select/__tests__/select-popup.test.d.ts +2 -0
- package/dist/types/core/select/__tests__/select-popup.test.d.ts.map +1 -0
- package/dist/types/core/select/__tests__/select.test.d.ts +2 -0
- package/dist/types/core/select/__tests__/select.test.d.ts.map +1 -0
- package/dist/types/core/select/index.d.ts +4 -0
- package/dist/types/core/select/index.d.ts.map +1 -0
- package/dist/types/core/select/select-button.d.ts +18 -0
- package/dist/types/core/select/select-button.d.ts.map +1 -0
- package/dist/types/core/select/select-popup.d.ts +12 -0
- package/dist/types/core/select/select-popup.d.ts.map +1 -0
- package/dist/types/core/select/select.d.ts +48 -0
- package/dist/types/core/select/select.d.ts.map +1 -0
- package/dist/types/core/select/select.stories.d.ts +599 -0
- package/dist/types/core/select/select.stories.d.ts.map +1 -0
- package/dist/types/core/select-control/__tests__/select-control.test.d.ts +2 -0
- package/dist/types/core/select-control/__tests__/select-control.test.d.ts.map +1 -0
- package/dist/types/core/select-control/index.d.ts +2 -0
- package/dist/types/core/select-control/index.d.ts.map +1 -0
- package/dist/types/core/select-control/select-control.d.ts +24 -0
- package/dist/types/core/select-control/select-control.d.ts.map +1 -0
- package/dist/types/core/select-control/select-control.stories.d.ts +71 -0
- package/dist/types/core/select-control/select-control.stories.d.ts.map +1 -0
- package/dist/types/core/select-native-control/__tests__/select-native-control.test.d.ts +2 -0
- package/dist/types/core/select-native-control/__tests__/select-native-control.test.d.ts.map +1 -0
- package/dist/types/core/select-native-control/index.d.ts +2 -0
- package/dist/types/core/select-native-control/index.d.ts.map +1 -0
- package/dist/types/core/select-native-control/select-native-control.d.ts +21 -0
- package/dist/types/core/select-native-control/select-native-control.d.ts.map +1 -0
- package/dist/types/core/select-native-control/select-native-control.figma.d.ts +2 -0
- package/dist/types/core/select-native-control/select-native-control.figma.d.ts.map +1 -0
- package/dist/types/core/select-native-control/select-native-control.stories.d.ts +76 -0
- package/dist/types/core/select-native-control/select-native-control.stories.d.ts.map +1 -0
- package/dist/types/core/table/table.d.ts.map +1 -1
- package/dist/types/core/text/styles.d.ts.map +1 -1
- package/dist/types/core/text/text.d.ts +6 -3
- package/dist/types/core/text/text.d.ts.map +1 -1
- package/dist/types/core/text-control/text-control.d.ts.map +1 -1
- package/dist/types/core/text-input/styles.d.ts.map +1 -1
- package/dist/types/core/text-input/text-input.d.ts +2 -0
- package/dist/types/core/text-input/text-input.d.ts.map +1 -1
- package/dist/types/core/textarea/styles.d.ts +6 -6
- package/dist/types/core/textarea/styles.d.ts.map +1 -1
- package/dist/types/core/textarea-control/textarea-control.d.ts.map +1 -1
- package/dist/types/deprecated/button/button.stories.d.ts +1 -1
- package/dist/types/deprecated/select/__styles__/index.d.ts +1 -1
- package/dist/types/deprecated/select/__styles__/index.d.ts.map +1 -1
- package/dist/types/deprecated/select/select.d.ts +3 -3
- package/dist/types/deprecated/select/select.d.ts.map +1 -1
- package/dist/types/deprecated/select/select.stories.d.ts +1 -1
- package/dist/types/icons/checkbox-disabled.d.ts +5 -0
- package/dist/types/icons/checkbox-disabled.d.ts.map +1 -0
- package/dist/types/icons/clear.d.ts +5 -0
- package/dist/types/icons/clear.d.ts.map +1 -0
- package/dist/types/icons/index.d.ts +13 -0
- package/dist/types/icons/index.d.ts.map +1 -1
- package/dist/types/icons/location-outline.d.ts +5 -0
- package/dist/types/icons/location-outline.d.ts.map +1 -0
- package/dist/types/icons/printer.d.ts +5 -0
- package/dist/types/icons/printer.d.ts.map +1 -0
- package/dist/types/icons/radio-disabled.d.ts +5 -0
- package/dist/types/icons/radio-disabled.d.ts.map +1 -0
- package/dist/types/icons/skip.d.ts +5 -0
- package/dist/types/icons/skip.d.ts.map +1 -0
- package/dist/types/icons/social-facebook.d.ts +5 -0
- package/dist/types/icons/social-facebook.d.ts.map +1 -0
- package/dist/types/icons/social-instagram.d.ts +5 -0
- package/dist/types/icons/social-instagram.d.ts.map +1 -0
- package/dist/types/icons/social-linkedin.d.ts +5 -0
- package/dist/types/icons/social-linkedin.d.ts.map +1 -0
- package/dist/types/icons/social-x.d.ts +5 -0
- package/dist/types/icons/social-x.d.ts.map +1 -0
- package/dist/types/icons/social-youtube.d.ts +5 -0
- package/dist/types/icons/social-youtube.d.ts.map +1 -0
- package/dist/types/icons/user-outline.d.ts +5 -0
- package/dist/types/icons/user-outline.d.ts.map +1 -0
- package/dist/types/icons/web.d.ts +5 -0
- package/dist/types/icons/web.d.ts.map +1 -0
- package/dist/types/utils/anchor-positioning/__tests__/build-anchor-positioning-css.test.d.ts.map +1 -0
- package/dist/types/utils/anchor-positioning/__tests__/map-inset-position-to-css.test.d.ts +2 -0
- package/dist/types/utils/anchor-positioning/__tests__/map-inset-position-to-css.test.d.ts.map +1 -0
- package/dist/types/utils/anchor-positioning/__tests__/map-placement-to-css.test.d.ts.map +1 -0
- package/dist/types/utils/anchor-positioning/anchor-positioning.d.ts +19 -0
- package/dist/types/utils/anchor-positioning/anchor-positioning.d.ts.map +1 -0
- package/dist/types/utils/anchor-positioning/anchor-positioning.stories.d.ts +58 -0
- package/dist/types/utils/anchor-positioning/anchor-positioning.stories.d.ts.map +1 -0
- package/dist/types/utils/anchor-positioning/build-anchor-positioning-css.d.ts +40 -0
- package/dist/types/utils/anchor-positioning/build-anchor-positioning-css.d.ts.map +1 -0
- package/dist/types/utils/anchor-positioning/index.d.ts +4 -0
- package/dist/types/utils/anchor-positioning/index.d.ts.map +1 -0
- package/dist/types/utils/anchor-positioning/map-inset-position-to-css.d.ts +32 -0
- package/dist/types/utils/anchor-positioning/map-inset-position-to-css.d.ts.map +1 -0
- package/dist/types/utils/anchor-positioning/map-placement-to-css.d.ts +20 -0
- package/dist/types/utils/anchor-positioning/map-placement-to-css.d.ts.map +1 -0
- package/dist/types/utils/listbox/__tests__/get-select-id.test.d.ts +2 -0
- package/dist/types/utils/listbox/__tests__/get-select-id.test.d.ts.map +1 -0
- package/dist/types/utils/listbox/__tests__/listbox.test.d.ts +2 -0
- package/dist/types/utils/listbox/__tests__/listbox.test.d.ts.map +1 -0
- package/dist/types/utils/listbox/__tests__/use-listbox-selection-observer.test.d.ts +2 -0
- package/dist/types/utils/listbox/__tests__/use-listbox-selection-observer.test.d.ts.map +1 -0
- package/dist/types/utils/listbox/__tests__/use-listbox-state.test.d.ts +2 -0
- package/dist/types/utils/listbox/__tests__/use-listbox-state.test.d.ts.map +1 -0
- package/dist/types/utils/listbox/context.d.ts +26 -0
- package/dist/types/utils/listbox/context.d.ts.map +1 -0
- package/dist/types/utils/listbox/dom-helpers/__tests__/clear-listbox-value.test.d.ts +2 -0
- package/dist/types/utils/listbox/dom-helpers/__tests__/clear-listbox-value.test.d.ts.map +1 -0
- package/dist/types/utils/listbox/dom-helpers/__tests__/common.test.d.ts +2 -0
- package/dist/types/utils/listbox/dom-helpers/__tests__/common.test.d.ts.map +1 -0
- package/dist/types/utils/listbox/dom-helpers/__tests__/get-listbox-selected-options.test.d.ts +2 -0
- package/dist/types/utils/listbox/dom-helpers/__tests__/get-listbox-selected-options.test.d.ts.map +1 -0
- package/dist/types/utils/listbox/dom-helpers/__tests__/get-listbox-value.test.d.ts +2 -0
- package/dist/types/utils/listbox/dom-helpers/__tests__/get-listbox-value.test.d.ts.map +1 -0
- package/dist/types/utils/listbox/dom-helpers/__tests__/is-listbox-option-selected.test.d.ts +2 -0
- package/dist/types/utils/listbox/dom-helpers/__tests__/is-listbox-option-selected.test.d.ts.map +1 -0
- package/dist/types/utils/listbox/dom-helpers/__tests__/set-listbox-option-selected-state.test.d.ts +2 -0
- package/dist/types/utils/listbox/dom-helpers/__tests__/set-listbox-option-selected-state.test.d.ts.map +1 -0
- package/dist/types/utils/listbox/dom-helpers/clear-listbox-value.d.ts +25 -0
- package/dist/types/utils/listbox/dom-helpers/clear-listbox-value.d.ts.map +1 -0
- package/dist/types/utils/listbox/dom-helpers/common.d.ts +28 -0
- package/dist/types/utils/listbox/dom-helpers/common.d.ts.map +1 -0
- package/dist/types/utils/listbox/dom-helpers/get-listbox-selected-options.d.ts +41 -0
- package/dist/types/utils/listbox/dom-helpers/get-listbox-selected-options.d.ts.map +1 -0
- package/dist/types/utils/listbox/dom-helpers/get-listbox-value.d.ts +14 -0
- package/dist/types/utils/listbox/dom-helpers/get-listbox-value.d.ts.map +1 -0
- package/dist/types/utils/listbox/dom-helpers/index.d.ts +7 -0
- package/dist/types/utils/listbox/dom-helpers/index.d.ts.map +1 -0
- package/dist/types/utils/listbox/dom-helpers/is-listbox-option-selected.d.ts +37 -0
- package/dist/types/utils/listbox/dom-helpers/is-listbox-option-selected.d.ts.map +1 -0
- package/dist/types/utils/listbox/dom-helpers/selectors.d.ts +23 -0
- package/dist/types/utils/listbox/dom-helpers/selectors.d.ts.map +1 -0
- package/dist/types/utils/listbox/dom-helpers/set-listbox-option-selected-state.d.ts +27 -0
- package/dist/types/utils/listbox/dom-helpers/set-listbox-option-selected-state.d.ts.map +1 -0
- package/dist/types/utils/listbox/get-select-id.d.ts +2 -0
- package/dist/types/utils/listbox/get-select-id.d.ts.map +1 -0
- package/dist/types/utils/listbox/index.d.ts +11 -0
- package/dist/types/utils/listbox/index.d.ts.map +1 -0
- package/dist/types/utils/listbox/listbox.d.ts +141 -0
- package/dist/types/utils/listbox/listbox.d.ts.map +1 -0
- package/dist/types/utils/listbox/listbox.stories.d.ts +92 -0
- package/dist/types/utils/listbox/listbox.stories.d.ts.map +1 -0
- package/dist/types/utils/listbox/optgroup/__tests__/optgroup.test.d.ts +2 -0
- package/dist/types/utils/listbox/optgroup/__tests__/optgroup.test.d.ts.map +1 -0
- package/dist/types/utils/listbox/optgroup/index.d.ts +2 -0
- package/dist/types/utils/listbox/optgroup/index.d.ts.map +1 -0
- package/dist/types/utils/listbox/optgroup/optgroup.d.ts +33 -0
- package/dist/types/utils/listbox/optgroup/optgroup.d.ts.map +1 -0
- package/dist/types/utils/listbox/option/__tests__/option.test.d.ts +2 -0
- package/dist/types/utils/listbox/option/__tests__/option.test.d.ts.map +1 -0
- package/dist/types/utils/listbox/option/__tests__/update-option-selection.test.d.ts +2 -0
- package/dist/types/utils/listbox/option/__tests__/update-option-selection.test.d.ts.map +1 -0
- package/dist/types/utils/listbox/option/index.d.ts +2 -0
- package/dist/types/utils/listbox/option/index.d.ts.map +1 -0
- package/dist/types/utils/listbox/option/option.d.ts +39 -0
- package/dist/types/utils/listbox/option/option.d.ts.map +1 -0
- package/dist/types/utils/listbox/option/update-option-selection.d.ts +24 -0
- package/dist/types/utils/listbox/option/update-option-selection.d.ts.map +1 -0
- package/dist/types/utils/listbox/render-context.d.ts +16 -0
- package/dist/types/utils/listbox/render-context.d.ts.map +1 -0
- package/dist/types/utils/listbox/select/__tests__/select.test.d.ts +2 -0
- package/dist/types/utils/listbox/select/__tests__/select.test.d.ts.map +1 -0
- package/dist/types/utils/listbox/select/index.d.ts +3 -0
- package/dist/types/utils/listbox/select/index.d.ts.map +1 -0
- package/dist/types/utils/listbox/select/select.d.ts +28 -0
- package/dist/types/utils/listbox/select/select.d.ts.map +1 -0
- package/dist/types/utils/listbox/select/styles.d.ts +2 -0
- package/dist/types/utils/listbox/select/styles.d.ts.map +1 -0
- package/dist/types/utils/listbox/use-focus-management/__tests__/handle-blur-event.test.d.ts +2 -0
- package/dist/types/utils/listbox/use-focus-management/__tests__/handle-blur-event.test.d.ts.map +1 -0
- package/dist/types/utils/listbox/use-focus-management/__tests__/handle-focus-event.test.d.ts +2 -0
- package/dist/types/utils/listbox/use-focus-management/__tests__/handle-focus-event.test.d.ts.map +1 -0
- package/dist/types/utils/listbox/use-focus-management/__tests__/use-focus-management.test.d.ts +2 -0
- package/dist/types/utils/listbox/use-focus-management/__tests__/use-focus-management.test.d.ts.map +1 -0
- package/dist/types/utils/listbox/use-focus-management/handle-blur-event.d.ts +18 -0
- package/dist/types/utils/listbox/use-focus-management/handle-blur-event.d.ts.map +1 -0
- package/dist/types/utils/listbox/use-focus-management/handle-focus-event.d.ts +24 -0
- package/dist/types/utils/listbox/use-focus-management/handle-focus-event.d.ts.map +1 -0
- package/dist/types/utils/listbox/use-focus-management/index.d.ts +2 -0
- package/dist/types/utils/listbox/use-focus-management/index.d.ts.map +1 -0
- package/dist/types/utils/listbox/use-focus-management/use-focus-management.d.ts +31 -0
- package/dist/types/utils/listbox/use-focus-management/use-focus-management.d.ts.map +1 -0
- package/dist/types/utils/listbox/use-listbox-selection-observer.d.ts +16 -0
- package/dist/types/utils/listbox/use-listbox-selection-observer.d.ts.map +1 -0
- package/dist/types/utils/listbox/use-listbox-state.d.ts +30 -0
- package/dist/types/utils/listbox/use-listbox-state.d.ts.map +1 -0
- package/dist/types/utils/mutation-observer/__tests__/use-mutation-observer.test.d.ts +2 -0
- package/dist/types/utils/mutation-observer/__tests__/use-mutation-observer.test.d.ts.map +1 -0
- package/dist/types/utils/mutation-observer/index.d.ts +2 -0
- package/dist/types/utils/mutation-observer/index.d.ts.map +1 -0
- package/dist/types/utils/mutation-observer/use-mutation-observer.d.ts +32 -0
- package/dist/types/utils/mutation-observer/use-mutation-observer.d.ts.map +1 -0
- package/dist/types/utils/popover/get-closest-popover-element.d.ts +2 -2
- package/dist/types/utils/popover/get-popover-trigger-props.d.ts +6 -8
- package/dist/types/utils/popover/get-popover-trigger-props.d.ts.map +1 -1
- package/dist/types/utils/popover/index.d.ts +2 -1
- package/dist/types/utils/popover/index.d.ts.map +1 -1
- package/dist/types/utils/popover/popover.d.ts +25 -55
- package/dist/types/utils/popover/popover.d.ts.map +1 -1
- package/dist/types/utils/popover/popover.stories.d.ts +19 -2
- package/dist/types/utils/popover/popover.stories.d.ts.map +1 -1
- package/package.json +32 -30
- package/dist/js/button-base-D8LjBAOF.cjs +0 -1
- package/dist/js/checkbox-control-CQnfBvph.cjs +0 -1
- package/dist/js/checkbox-control-DLIP3r9I.js +0 -22
- package/dist/js/checkbox-group-control-BOda9k19.js +0 -69
- package/dist/js/checkbox-group-control-DZaXmETO.cjs +0 -1
- package/dist/js/chip-group-CMOQNhYo.cjs +0 -1
- package/dist/js/chip-group-_1Ujkr17.js +0 -25
- package/dist/js/chip-select-control-AgupgCE2.js +0 -28
- package/dist/js/chip-select-control-D-xOl5kM.cjs +0 -1
- package/dist/js/css-anchor-positioning-fn-DmupQmpv.cjs +0 -17
- package/dist/js/date-time-control-DVnFGgtf.cjs +0 -1
- package/dist/js/date-time-control-DmolK-aY.js +0 -24
- package/dist/js/match-media-BEA-ogMA.cjs +0 -1
- package/dist/js/match-media-DGLjaFrm.js +0 -24
- package/dist/js/menu-Dnh4NX8q.cjs +0 -1
- package/dist/js/modal-CVFm4Zkj.cjs +0 -1
- package/dist/js/popover-Y-ha5ifI.cjs +0 -59
- package/dist/js/popover-bBQLwPua.js +0 -188
- package/dist/js/radio-group-control-BzTfznjG.cjs +0 -1
- package/dist/js/radio-group-control-Dasa9-6L.js +0 -104
- package/dist/js/search-input-BE3DpSLl.cjs +0 -1
- package/dist/js/search-input-DNymJ1pF.js +0 -59
- package/dist/js/select-CL3U-vtY.cjs +0 -1
- package/dist/js/select-ZpW0tfJg.js +0 -22
- package/dist/js/side-bar-Dq4xIMA6.cjs +0 -1
- package/dist/js/table-DMCCX0Sr.cjs +0 -1
- package/dist/js/text-control-B77UKUVG.js +0 -24
- package/dist/js/text-control-CgoKajrV.cjs +0 -1
- package/dist/js/text-input-Blkz7WfX.cjs +0 -1
- package/dist/js/textarea-Cy77oVLX.cjs +0 -1
- package/dist/js/textarea-control-BTEeJJbe.cjs +0 -1
- package/dist/js/textarea-control-DURVkxZM.js +0 -24
- package/dist/types/core/select-native/select-native.figma.d.ts +0 -2
- package/dist/types/core/select-native/select-native.figma.d.ts.map +0 -1
- package/dist/types/utils/popover/__tests__/build-anchor-positioning-css.test.d.ts.map +0 -1
- package/dist/types/utils/popover/__tests__/map-placement-to-css.test.d.ts.map +0 -1
- package/dist/types/utils/popover/build-anchor-positioning-css.d.ts +0 -16
- package/dist/types/utils/popover/build-anchor-positioning-css.d.ts.map +0 -1
- package/dist/types/utils/popover/map-placement-to-css.d.ts +0 -9
- package/dist/types/utils/popover/map-placement-to-css.d.ts.map +0 -1
- /package/dist/types/utils/{popover → anchor-positioning}/__tests__/build-anchor-positioning-css.test.d.ts +0 -0
- /package/dist/types/utils/{popover → anchor-positioning}/__tests__/map-placement-to-css.test.d.ts +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),t=require("./chip-select-ChrOjBdP.cjs"),r=require("./form-control-Be_ITYmU.cjs"),u=require("./label-text-CtdGurHG.cjs"),h=require("react");function o({children:C,errorText:i,helpText:l,label:d,required:c,size:s="medium",...x}){const n=h.useId();return e.jsxs(r.FormControl,{"aria-describedby":n,as:"fieldset",size:s,children:[e.jsx(r.FormControl.Label,{as:"legend",children:e.jsx(u.LabelText,{isRequired:c,children:d})}),e.jsx(t.ChipSelect,{...x,required:c,size:s,children:C}),i?e.jsx(r.FormControl.ErrorText,{id:n,children:i}):l&&e.jsx(r.FormControl.HelpText,{id:n,children:l})]})}o.Option=t.ChipSelect.Option;o.determineNextControlledState=t.ChipSelect.determineNextControlledState;o.Context=t.ChipSelect.Context;o.useContext=t.ChipSelect.useContext;exports.ChipSelectControl=o;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var ys=Object.defineProperty,gs=Object.defineProperties,bs=Object.getOwnPropertyDescriptors,Tn=Object.getOwnPropertySymbols,Ss=Object.prototype.hasOwnProperty,vs=Object.prototype.propertyIsEnumerable,An=(t,e,n)=>e in t?ys(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,V=(t,e)=>{for(var n in e||(e={}))Ss.call(e,n)&&An(t,n,e[n]);if(Tn)for(var n of Tn(e))vs.call(e,n)&&An(t,n,e[n]);return t},J=(t,e)=>gs(t,bs(e)),_=(t,e,n)=>new Promise((r,i)=>{var o=a=>{try{c(n.next(a))}catch(s){i(s)}},l=a=>{try{c(n.throw(a))}catch(s){i(s)}},c=a=>a.done?r(a.value):Promise.resolve(a.value).then(o,l);c((n=n.apply(t,e)).next())});const nn=Math.min,Vt=Math.max,xe=Math.round,fe=Math.floor,bt=t=>({x:t,y:t});function Cs(t,e){return typeof t=="function"?t(e):t}function xs(t){return V({top:0,right:0,bottom:0,left:0},t)}function ws(t){return typeof t!="number"?xs(t):{top:t,right:t,bottom:t,left:t}}function we(t){const{x:e,y:n,width:r,height:i}=t;return{width:r,height:i,top:n,left:e,right:e+r,bottom:n+i,x:e,y:n}}function Ls(t,e){return _(this,null,function*(){var n;e===void 0&&(e={});const{x:r,y:i,platform:o,rects:l,elements:c,strategy:a}=t,{boundary:s="clippingAncestors",rootBoundary:u="viewport",elementContext:h="floating",altBoundary:f=!1,padding:d=0}=Cs(e,t),p=ws(d),k=c[f?h==="floating"?"reference":"floating":h],g=we(yield o.getClippingRect({element:(n=yield o.isElement==null?void 0:o.isElement(k))==null||n?k:k.contextElement||(yield o.getDocumentElement==null?void 0:o.getDocumentElement(c.floating)),boundary:s,rootBoundary:u,strategy:a})),y=h==="floating"?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,w=yield o.getOffsetParent==null?void 0:o.getOffsetParent(c.floating),x=(yield o.isElement==null?void 0:o.isElement(w))?(yield o.getScale==null?void 0:o.getScale(w))||{x:1,y:1}:{x:1,y:1},T=we(o.convertOffsetParentRelativeRectToViewportRelativeRect?yield o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:y,offsetParent:w,strategy:a}):y);return{top:(g.top-T.top+p.top)/x.y,bottom:(T.bottom-g.bottom+p.bottom)/x.y,left:(g.left-T.left+p.left)/x.x,right:(T.right-g.right+p.right)/x.x}})}function Ee(){return typeof window<"u"}function Zt(t){return Rr(t)?(t.nodeName||"").toLowerCase():"#document"}function it(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function vt(t){var e;return(e=(Rr(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Rr(t){return Ee()?t instanceof Node||t instanceof it(t).Node:!1}function ut(t){return Ee()?t instanceof Element||t instanceof it(t).Element:!1}function St(t){return Ee()?t instanceof HTMLElement||t instanceof it(t).HTMLElement:!1}function _n(t){return!Ee()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof it(t).ShadowRoot}const Os=new Set(["inline","contents"]);function ue(t){const{overflow:e,overflowX:n,overflowY:r,display:i}=ht(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!Os.has(i)}const Ts=new Set(["table","td","th"]);function As(t){return Ts.has(Zt(t))}const _s=[":popover-open",":modal"];function je(t){return _s.some(e=>{try{return t.matches(e)}catch{return!1}})}const Ps=["transform","translate","scale","rotate","perspective"],Es=["transform","translate","scale","rotate","perspective","filter"],js=["paint","layout","strict","content"];function yn(t){const e=gn(),n=ut(t)?ht(t):t;return Ps.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||Es.some(r=>(n.willChange||"").includes(r))||js.some(r=>(n.contain||"").includes(r))}function Ds(t){let e=Tt(t);for(;St(e)&&!Qt(e);){if(yn(e))return e;if(je(e))return null;e=Tt(e)}return null}function gn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Rs=new Set(["html","body","#document"]);function Qt(t){return Rs.has(Zt(t))}function ht(t){return it(t).getComputedStyle(t)}function De(t){return ut(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Tt(t){if(Zt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||_n(t)&&t.host||vt(t);return _n(e)?e.host:e}function Ir(t){const e=Tt(t);return Qt(e)?t.ownerDocument?t.ownerDocument.body:t.body:St(e)&&ue(e)?e:Ir(e)}function le(t,e,n){var r;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=Ir(t),o=i===((r=t.ownerDocument)==null?void 0:r.body),l=it(i);if(o){const c=rn(l);return e.concat(l,l.visualViewport||[],ue(i)?i:[],c&&n?le(c):[])}return e.concat(i,le(i,[],n))}function rn(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Mr(t){const e=ht(t);let n=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const i=St(t),o=i?t.offsetWidth:n,l=i?t.offsetHeight:r,c=xe(n)!==o||xe(r)!==l;return c&&(n=o,r=l),{width:n,height:r,$:c}}function bn(t){return ut(t)?t:t.contextElement}function Ht(t){const e=bn(t);if(!St(e))return bt(1);const n=e.getBoundingClientRect(),{width:r,height:i,$:o}=Mr(e);let l=(o?xe(n.width):n.width)/r,c=(o?xe(n.height):n.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!c||!Number.isFinite(c))&&(c=1),{x:l,y:c}}const Is=bt(0);function Nr(t){const e=it(t);return!gn()||!e.visualViewport?Is:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Ms(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==it(t)?!1:e}function Rt(t,e,n,r){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),o=bn(t);let l=bt(1);e&&(r?ut(r)&&(l=Ht(r)):l=Ht(t));const c=Ms(o,n,r)?Nr(o):bt(0);let a=(i.left+c.x)/l.x,s=(i.top+c.y)/l.y,u=i.width/l.x,h=i.height/l.y;if(o){const f=it(o),d=r&&ut(r)?it(r):r;let p=f,k=rn(p);for(;k&&r&&d!==p;){const g=Ht(k),y=k.getBoundingClientRect(),w=ht(k),x=y.left+(k.clientLeft+parseFloat(w.paddingLeft))*g.x,T=y.top+(k.clientTop+parseFloat(w.paddingTop))*g.y;a*=g.x,s*=g.y,u*=g.x,h*=g.y,a+=x,s+=T,p=it(k),k=rn(p)}}return we({width:u,height:h,x:a,y:s})}function Re(t,e){const n=De(t).scrollLeft;return e?e.left+n:Rt(vt(t)).left+n}function Fr(t,e){const n=t.getBoundingClientRect(),r=n.left+e.scrollLeft-Re(t,n),i=n.top+e.scrollTop;return{x:r,y:i}}function Ns(t){let{elements:e,rect:n,offsetParent:r,strategy:i}=t;const o=i==="fixed",l=vt(r),c=e?je(e.floating):!1;if(r===l||c&&o)return n;let a={scrollLeft:0,scrollTop:0},s=bt(1);const u=bt(0),h=St(r);if((h||!h&&!o)&&((Zt(r)!=="body"||ue(l))&&(a=De(r)),St(r))){const d=Rt(r);s=Ht(r),u.x=d.x+r.clientLeft,u.y=d.y+r.clientTop}const f=l&&!h&&!o?Fr(l,a):bt(0);return{width:n.width*s.x,height:n.height*s.y,x:n.x*s.x-a.scrollLeft*s.x+u.x+f.x,y:n.y*s.y-a.scrollTop*s.y+u.y+f.y}}function Fs(t){return Array.from(t.getClientRects())}function zs(t){const e=vt(t),n=De(t),r=t.ownerDocument.body,i=Vt(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),o=Vt(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let l=-n.scrollLeft+Re(t);const c=-n.scrollTop;return ht(r).direction==="rtl"&&(l+=Vt(e.clientWidth,r.clientWidth)-i),{width:i,height:o,x:l,y:c}}const Pn=25;function $s(t,e){const n=it(t),r=vt(t),i=n.visualViewport;let o=r.clientWidth,l=r.clientHeight,c=0,a=0;if(i){o=i.width,l=i.height;const u=gn();(!u||u&&e==="fixed")&&(c=i.offsetLeft,a=i.offsetTop)}const s=Re(r);if(s<=0){const u=r.ownerDocument,h=u.body,f=getComputedStyle(h),d=u.compatMode==="CSS1Compat"&&parseFloat(f.marginLeft)+parseFloat(f.marginRight)||0,p=Math.abs(r.clientWidth-h.clientWidth-d);p<=Pn&&(o-=p)}else s<=Pn&&(o+=s);return{width:o,height:l,x:c,y:a}}const Bs=new Set(["absolute","fixed"]);function Ws(t,e){const n=Rt(t,!0,e==="fixed"),r=n.top+t.clientTop,i=n.left+t.clientLeft,o=St(t)?Ht(t):bt(1),l=t.clientWidth*o.x,c=t.clientHeight*o.y,a=i*o.x,s=r*o.y;return{width:l,height:c,x:a,y:s}}function En(t,e,n){let r;if(e==="viewport")r=$s(t,n);else if(e==="document")r=zs(vt(t));else if(ut(e))r=Ws(e,n);else{const i=Nr(t);r={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return we(r)}function zr(t,e){const n=Tt(t);return n===e||!ut(n)||Qt(n)?!1:ht(n).position==="fixed"||zr(n,e)}function Us(t,e){const n=e.get(t);if(n)return n;let r=le(t,[],!1).filter(c=>ut(c)&&Zt(c)!=="body"),i=null;const o=ht(t).position==="fixed";let l=o?Tt(t):t;for(;ut(l)&&!Qt(l);){const c=ht(l),a=yn(l);!a&&c.position==="fixed"&&(i=null),(o?!a&&!i:!a&&c.position==="static"&&i&&Bs.has(i.position)||ue(l)&&!a&&zr(t,l))?r=r.filter(s=>s!==l):i=c,l=Tt(l)}return e.set(t,r),r}function Vs(t){let{element:e,boundary:n,rootBoundary:r,strategy:i}=t;const o=[...n==="clippingAncestors"?je(e)?[]:Us(e,this._c):[].concat(n),r],l=o[0],c=o.reduce((a,s)=>{const u=En(e,s,i);return a.top=Vt(u.top,a.top),a.right=nn(u.right,a.right),a.bottom=nn(u.bottom,a.bottom),a.left=Vt(u.left,a.left),a},En(e,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Hs(t){const{width:e,height:n}=Mr(t);return{width:e,height:n}}function qs(t,e,n){const r=St(e),i=vt(e),o=n==="fixed",l=Rt(t,!0,o,e);let c={scrollLeft:0,scrollTop:0};const a=bt(0);function s(){a.x=Re(i)}if(r||!r&&!o)if((Zt(e)!=="body"||ue(i))&&(c=De(e)),r){const d=Rt(e,!0,o,e);a.x=d.x+e.clientLeft,a.y=d.y+e.clientTop}else i&&s();o&&!r&&i&&s();const u=i&&!r&&!o?Fr(i,c):bt(0),h=l.left+c.scrollLeft-a.x-u.x,f=l.top+c.scrollTop-a.y-u.y;return{x:h,y:f,width:l.width,height:l.height}}function Ne(t){return ht(t).position==="static"}function jn(t,e){if(!St(t)||ht(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return vt(t)===n&&(n=n.ownerDocument.body),n}function $r(t,e){const n=it(t);if(je(t))return n;if(!St(t)){let i=Tt(t);for(;i&&!Qt(i);){if(ut(i)&&!Ne(i))return i;i=Tt(i)}return n}let r=jn(t,e);for(;r&&As(r)&&Ne(r);)r=jn(r,e);return r&&Qt(r)&&Ne(r)&&!yn(r)?n:r||Ds(t)||n}const Qs=function(t){return _(this,null,function*(){const e=this.getOffsetParent||$r,n=this.getDimensions,r=yield n(t.floating);return{reference:qs(t.reference,yield e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}})};function Gs(t){return ht(t).direction==="rtl"}const nt={convertOffsetParentRelativeRectToViewportRelativeRect:Ns,getDocumentElement:vt,getClippingRect:Vs,getOffsetParent:$r,getElementRects:Qs,getClientRects:Fs,getDimensions:Hs,getScale:Ht,isElement:ut,isRTL:Gs};function Br(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Xs(t,e){let n=null,r;const i=vt(t);function o(){var c;clearTimeout(r),(c=n)==null||c.disconnect(),n=null}function l(c,a){c===void 0&&(c=!1),a===void 0&&(a=1),o();const s=t.getBoundingClientRect(),{left:u,top:h,width:f,height:d}=s;if(c||e(),!f||!d)return;const p=fe(h),k=fe(i.clientWidth-(u+f)),g=fe(i.clientHeight-(h+d)),y=fe(u),w={rootMargin:-p+"px "+-k+"px "+-g+"px "+-y+"px",threshold:Vt(0,nn(1,a))||1};let x=!0;function T(lt){const v=lt[0].intersectionRatio;if(v!==a){if(!x)return l();v?l(!1,v):r=setTimeout(()=>{l(!1,1e-7)},1e3)}v===1&&!Br(s,t.getBoundingClientRect())&&l(),x=!1}try{n=new IntersectionObserver(T,J(V({},w),{root:i.ownerDocument}))}catch{n=new IntersectionObserver(T,w)}n.observe(t)}return l(!0),o}function on(t,e,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:a=!1}=r,s=bn(t),u=i||o?[...s?le(s):[],...le(e)]:[];u.forEach(y=>{i&&y.addEventListener("scroll",n,{passive:!0}),o&&y.addEventListener("resize",n)});const h=s&&c?Xs(s,n):null;let f=-1,d=null;l&&(d=new ResizeObserver(y=>{let[w]=y;w&&w.target===s&&d&&(d.unobserve(e),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var x;(x=d)==null||x.observe(e)})),n()}),s&&!a&&d.observe(s),d.observe(e));let p,k=a?Rt(t):null;a&&g();function g(){const y=Rt(t);k&&!Br(k,y)&&n(),k=y,p=requestAnimationFrame(g)}return n(),()=>{var y;u.forEach(w=>{i&&w.removeEventListener("scroll",n),o&&w.removeEventListener("resize",n)}),h?.(),(y=d)==null||y.disconnect(),d=null,a&&cancelAnimationFrame(p)}}const Ys=Ls,{hasOwnProperty:Sn}=Object.prototype,te=function(){};function Dn(t){return typeof t=="function"?t:te}function Rn(t,e){return function(n,r,i){n.type===e&&t.call(this,n,r,i)}}function Js(t,e){const n=e.structure,r=[];for(const i in n){if(Sn.call(n,i)===!1)continue;let o=n[i];const l={name:i,type:!1,nullable:!1};Array.isArray(o)||(o=[o]);for(const c of o)c===null?l.nullable=!0:typeof c=="string"?l.type="node":Array.isArray(c)&&(l.type="list");l.type&&r.push(l)}return r.length?{context:e.walkContext,fields:r}:null}function Zs(t){const e={};for(const n in t.node)if(Sn.call(t.node,n)){const r=t.node[n];if(!r.structure)throw new Error("Missed `structure` field in `"+n+"` node type definition");e[n]=Js(n,r)}return e}function In(t,e){const n=t.fields.slice(),r=t.context,i=typeof r=="string";return e&&n.reverse(),function(o,l,c,a){let s;i&&(s=l[r],l[r]=o);for(const u of n){const h=o[u.name];if(!u.nullable||h){if(u.type==="list"){if(e?h.reduceRight(a,!1):h.reduce(a,!1))return!0}else if(c(h))return!0}}i&&(l[r]=s)}}function Mn({StyleSheet:t,Atrule:e,Rule:n,Block:r,DeclarationList:i}){return{Atrule:{StyleSheet:t,Atrule:e,Rule:n,Block:r},Rule:{StyleSheet:t,Atrule:e,Rule:n,Block:r},Declaration:{StyleSheet:t,Atrule:e,Rule:n,Block:r,DeclarationList:i}}}function Ks(t){const e=Zs(t),n={},r={},i=Symbol("break-walk"),o=Symbol("skip-node");for(const s in e)Sn.call(e,s)&&e[s]!==null&&(n[s]=In(e[s],!1),r[s]=In(e[s],!0));const l=Mn(n),c=Mn(r),a=function(s,u){function h(y,w,x){const T=f.call(g,y,w,x);return T===i?!0:T===o?!1:!!(p.hasOwnProperty(y.type)&&p[y.type](y,g,h,k)||d.call(g,y,w,x)===i)}let f=te,d=te,p=n,k=(y,w,x,T)=>y||h(w,x,T);const g={break:i,skip:o,root:s,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if(typeof u=="function")f=u;else if(u&&(f=Dn(u.enter),d=Dn(u.leave),u.reverse&&(p=r),u.visit)){if(l.hasOwnProperty(u.visit))p=u.reverse?c[u.visit]:l[u.visit];else if(!e.hasOwnProperty(u.visit))throw new Error("Bad value `"+u.visit+"` for `visit` option (should be: "+Object.keys(e).sort().join(", ")+")");f=Rn(f,u.visit),d=Rn(d,u.visit)}if(f===te&&d===te)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");h(s)};return a.break=i,a.skip=o,a.find=function(s,u){let h=null;return a(s,function(f,d,p){if(u.call(this,f,d,p))return h=f,i}),h},a.findLast=function(s,u){let h=null;return a(s,{reverse:!0,enter(f,d,p){if(u.call(this,f,d,p))return h=f,i}}),h},a.findAll=function(s,u){const h=[];return a(s,function(f,d,p){u.call(this,f,d,p)&&h.push(f)}),h},a}const wt=0,m=1,C=2,W=3,D=4,Ct=5,tl=6,G=7,at=8,O=9,S=10,F=11,L=12,B=13,Ie=14,tt=15,Y=16,K=17,pt=18,Kt=19,ae=20,P=21,b=22,ft=23,Gt=24,X=25,el=0;function rt(t){return t>=48&&t<=57}function Xt(t){return rt(t)||t>=65&&t<=70||t>=97&&t<=102}function vn(t){return t>=65&&t<=90}function nl(t){return t>=97&&t<=122}function rl(t){return vn(t)||nl(t)}function il(t){return t>=128}function Le(t){return rl(t)||il(t)||t===95}function Wr(t){return Le(t)||rt(t)||t===45}function ol(t){return t>=0&&t<=8||t===11||t>=14&&t<=31||t===127}function Oe(t){return t===10||t===13||t===12}function It(t){return Oe(t)||t===32||t===9}function gt(t,e){return!(t!==92||Oe(e)||e===el)}function Fe(t,e,n){return t===45?Le(e)||e===45||gt(e,n):Le(t)?!0:t===92?gt(t,e):!1}function ze(t,e,n){return t===43||t===45?rt(e)?2:e===46&&rt(n)?3:0:t===46?rt(e)?2:0:rt(t)?1:0}function Ur(t){return t===65279||t===65534?1:0}const sn=new Array(128),sl=128,ge=130,Vr=131,Cn=132,Hr=133;for(let t=0;t<sn.length;t++)sn[t]=It(t)&&ge||rt(t)&&Vr||Le(t)&&Cn||ol(t)&&Hr||t||sl;function $e(t){return t<128?sn[t]:Cn}function qt(t,e){return e<t.length?t.charCodeAt(e):0}function ln(t,e,n){return n===13&&qt(t,e+1)===10?2:1}function qr(t,e,n){let r=t.charCodeAt(e);return vn(r)&&(r=r|32),r===n}function Te(t,e,n,r){if(n-e!==r.length||e<0||n>t.length)return!1;for(let i=e;i<n;i++){const o=r.charCodeAt(i-e);let l=t.charCodeAt(i);if(vn(l)&&(l=l|32),l!==o)return!1}return!0}function ll(t,e){for(;e>=0&&It(t.charCodeAt(e));e--);return e+1}function pe(t,e){for(;e<t.length&&It(t.charCodeAt(e));e++);return e}function Be(t,e){for(;e<t.length&&rt(t.charCodeAt(e));e++);return e}function Yt(t,e){if(e+=2,Xt(qt(t,e-1))){for(const r=Math.min(t.length,e+5);e<r&&Xt(qt(t,e));e++);const n=qt(t,e);It(n)&&(e+=ln(t,e,n))}return e}function de(t,e){for(;e<t.length;e++){const n=t.charCodeAt(e);if(!Wr(n)){if(gt(n,qt(t,e+1))){e=Yt(t,e)-1;continue}break}}return e}function Qr(t,e){let n=t.charCodeAt(e);if((n===43||n===45)&&(n=t.charCodeAt(e+=1)),rt(n)&&(e=Be(t,e+1),n=t.charCodeAt(e)),n===46&&rt(t.charCodeAt(e+1))&&(e+=2,e=Be(t,e)),qr(t,e,101)){let r=0;n=t.charCodeAt(e+1),(n===45||n===43)&&(r=1,n=t.charCodeAt(e+2)),rt(n)&&(e=Be(t,e+1+r+1))}return e}function We(t,e){for(;e<t.length;e++){const n=t.charCodeAt(e);if(n===41){e++;break}gt(n,qt(t,e+1))&&(e=Yt(t,e))}return e}function Gr(t){if(t.length===1&&!Xt(t.charCodeAt(0)))return t[0];let e=parseInt(t,16);return(e===0||e>=55296&&e<=57343||e>1114111)&&(e=65533),String.fromCodePoint(e)}const Xr=["EOF-token","ident-token","function-token","at-keyword-token","hash-token","string-token","bad-string-token","url-token","bad-url-token","delim-token","number-token","percentage-token","dimension-token","whitespace-token","CDO-token","CDC-token","colon-token","semicolon-token","comma-token","[-token","]-token","(-token",")-token","{-token","}-token","comment-token"],al=16*1024;function Ae(t=null,e){return t===null||t.length<e?new Uint32Array(Math.max(e+1024,al)):t}const Nn=10,cl=12,Fn=13;function zn(t){const e=t.source,n=e.length,r=e.length>0?Ur(e.charCodeAt(0)):0,i=Ae(t.lines,n),o=Ae(t.columns,n);let l=t.startLine,c=t.startColumn;for(let a=r;a<n;a++){const s=e.charCodeAt(a);i[a]=l,o[a]=c++,(s===Nn||s===Fn||s===cl)&&(s===Fn&&a+1<n&&e.charCodeAt(a+1)===Nn&&(a++,i[a]=l,o[a]=c),l++,c=1)}i[n]=l,o[n]=c,t.lines=i,t.columns=o,t.computed=!0}class ul{constructor(e,n,r,i){this.setSource(e,n,r,i),this.lines=null,this.columns=null}setSource(e="",n=0,r=1,i=1){this.source=e,this.startOffset=n,this.startLine=r,this.startColumn=i,this.computed=!1}getLocation(e,n){return this.computed||zn(this),{source:n,offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]}}getLocationRange(e,n,r){return this.computed||zn(this),{source:r,start:{offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]},end:{offset:this.startOffset+n,line:this.lines[n],column:this.columns[n]}}}}const mt=16777215,kt=24,Mt=new Uint8Array(32);Mt[C]=b;Mt[P]=b;Mt[Kt]=ae;Mt[ft]=Gt;function $n(t){return Mt[t]!==0}class hl{constructor(e,n){this.setSource(e,n)}reset(){this.eof=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStart=this.firstCharOffset,this.tokenEnd=this.firstCharOffset}setSource(e="",n=()=>{}){e=String(e||"");const r=e.length,i=Ae(this.offsetAndType,e.length+1),o=Ae(this.balance,e.length+1);let l=0,c=-1,a=0,s=e.length;this.offsetAndType=null,this.balance=null,o.fill(0),n(e,(u,h,f)=>{const d=l++;if(i[d]=u<<kt|f,c===-1&&(c=h),o[d]=s,u===a){const p=o[s];o[s]=d,s=p,a=Mt[i[p]>>kt]}else $n(u)&&(s=d,a=Mt[u])}),i[l]=wt<<kt|r,o[l]=l;for(let u=0;u<l;u++){const h=o[u];if(h<=u){const f=o[h];f!==u&&(o[u]=f)}else h>l&&(o[u]=l)}this.source=e,this.firstCharOffset=c===-1?0:c,this.tokenCount=l,this.offsetAndType=i,this.balance=o,this.reset(),this.next()}lookupType(e){return e+=this.tokenIndex,e<this.tokenCount?this.offsetAndType[e]>>kt:wt}lookupTypeNonSC(e){for(let n=this.tokenIndex;n<this.tokenCount;n++){const r=this.offsetAndType[n]>>kt;if(r!==B&&r!==X&&e--===0)return r}return wt}lookupOffset(e){return e+=this.tokenIndex,e<this.tokenCount?this.offsetAndType[e-1]&mt:this.source.length}lookupOffsetNonSC(e){for(let n=this.tokenIndex;n<this.tokenCount;n++){const r=this.offsetAndType[n]>>kt;if(r!==B&&r!==X&&e--===0)return n-this.tokenIndex}return wt}lookupValue(e,n){return e+=this.tokenIndex,e<this.tokenCount?Te(this.source,this.offsetAndType[e-1]&mt,this.offsetAndType[e]&mt,n):!1}getTokenStart(e){return e===this.tokenIndex?this.tokenStart:e>0?e<this.tokenCount?this.offsetAndType[e-1]&mt:this.offsetAndType[this.tokenCount]&mt:this.firstCharOffset}substrToCursor(e){return this.source.substring(e,this.tokenStart)}isBalanceEdge(e){return this.balance[this.tokenIndex]<e}isDelim(e,n){return n?this.lookupType(n)===O&&this.source.charCodeAt(this.lookupOffset(n))===e:this.tokenType===O&&this.source.charCodeAt(this.tokenStart)===e}skip(e){let n=this.tokenIndex+e;n<this.tokenCount?(this.tokenIndex=n,this.tokenStart=this.offsetAndType[n-1]&mt,n=this.offsetAndType[n],this.tokenType=n>>kt,this.tokenEnd=n&mt):(this.tokenIndex=this.tokenCount,this.next())}next(){let e=this.tokenIndex+1;e<this.tokenCount?(this.tokenIndex=e,this.tokenStart=this.tokenEnd,e=this.offsetAndType[e],this.tokenType=e>>kt,this.tokenEnd=e&mt):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=wt,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;this.tokenType===B||this.tokenType===X;)this.next()}skipUntilBalanced(e,n){let r=e,i=0,o=0;t:for(;r<this.tokenCount;r++){if(i=this.balance[r],i<e)break t;switch(o=r>0?this.offsetAndType[r-1]&mt:this.firstCharOffset,n(this.source.charCodeAt(o))){case 1:break t;case 2:r++;break t;default:$n(this.offsetAndType[r]>>kt)&&(r=i)}}this.skip(r-this.tokenIndex)}forEachToken(e){for(let n=0,r=this.firstCharOffset;n<this.tokenCount;n++){const i=r,o=this.offsetAndType[n],l=o&mt,c=o>>kt;r=l,e(c,i,l,n)}}dump(){const e=new Array(this.tokenCount);return this.forEachToken((n,r,i,o)=>{e[o]={idx:o,type:Xr[n],chunk:this.source.substring(r,i),balance:this.balance[o]}}),e}}function Yr(t,e){function n(h){return h<c?t.charCodeAt(h):0}function r(){if(s=Qr(t,s),Fe(n(s),n(s+1),n(s+2))){u=L,s=de(t,s);return}if(n(s)===37){u=F,s++;return}u=S}function i(){const h=s;if(s=de(t,s),Te(t,h,s,"url")&&n(s)===40){if(s=pe(t,s+1),n(s)===34||n(s)===39){u=C,s=h+4;return}l();return}if(n(s)===40){u=C,s++;return}u=m}function o(h){for(h||(h=n(s++)),u=Ct;s<t.length;s++){const f=t.charCodeAt(s);switch($e(f)){case h:s++;return;case ge:if(Oe(f)){s+=ln(t,s,f),u=tl;return}break;case 92:if(s===t.length-1)break;const d=n(s+1);Oe(d)?s+=ln(t,s+1,d):gt(f,d)&&(s=Yt(t,s)-1);break}}}function l(){for(u=G,s=pe(t,s);s<t.length;s++){const h=t.charCodeAt(s);switch($e(h)){case 41:s++;return;case ge:if(s=pe(t,s),n(s)===41||s>=t.length){s<t.length&&s++;return}s=We(t,s),u=at;return;case 34:case 39:case 40:case Hr:s=We(t,s),u=at;return;case 92:if(gt(h,n(s+1))){s=Yt(t,s)-1;break}s=We(t,s),u=at;return}}}t=String(t||"");const c=t.length;let a=Ur(n(0)),s=a,u;for(;s<c;){const h=t.charCodeAt(s);switch($e(h)){case ge:u=B,s=pe(t,s+1);break;case 34:o();break;case 35:Wr(n(s+1))||gt(n(s+1),n(s+2))?(u=D,s=de(t,s+1)):(u=O,s++);break;case 39:o();break;case 40:u=P,s++;break;case 41:u=b,s++;break;case 43:ze(h,n(s+1),n(s+2))?r():(u=O,s++);break;case 44:u=pt,s++;break;case 45:ze(h,n(s+1),n(s+2))?r():n(s+1)===45&&n(s+2)===62?(u=tt,s=s+3):Fe(h,n(s+1),n(s+2))?i():(u=O,s++);break;case 46:ze(h,n(s+1),n(s+2))?r():(u=O,s++);break;case 47:n(s+1)===42?(u=X,s=t.indexOf("*/",s+2),s=s===-1?t.length:s+2):(u=O,s++);break;case 58:u=Y,s++;break;case 59:u=K,s++;break;case 60:n(s+1)===33&&n(s+2)===45&&n(s+3)===45?(u=Ie,s=s+4):(u=O,s++);break;case 64:Fe(n(s+1),n(s+2),n(s+3))?(u=W,s=de(t,s+1)):(u=O,s++);break;case 91:u=Kt,s++;break;case 92:gt(h,n(s+1))?i():(u=O,s++);break;case 93:u=ae,s++;break;case 123:u=ft,s++;break;case 125:u=Gt,s++;break;case Vr:r();break;case Cn:i();break;default:u=O,s++}e(u,a,a=s)}}const yt=43,et=45,be=110,Pt=!0,fl=!1;function Se(t,e){let n=this.tokenStart+t;const r=this.charCodeAt(n);for((r===yt||r===et)&&(e&&this.error("Number sign is not allowed"),n++);n<this.tokenEnd;n++)rt(this.charCodeAt(n))||this.error("Integer is expected",n)}function Ut(t){return Se.call(this,0,t)}function xt(t,e){if(!this.cmpChar(this.tokenStart+t,e)){let n="";switch(e){case be:n="N is expected";break;case et:n="HyphenMinus is expected";break}this.error(n,this.tokenStart+t)}}function Ue(){let t=0,e=0,n=this.tokenType;for(;n===B||n===X;)n=this.lookupType(++t);if(n!==S)if(this.isDelim(yt,t)||this.isDelim(et,t)){e=this.isDelim(yt,t)?yt:et;do n=this.lookupType(++t);while(n===B||n===X);n!==S&&(this.skip(t),Ut.call(this,Pt))}else return null;return t>0&&this.skip(t),e===0&&(n=this.charCodeAt(this.tokenStart),n!==yt&&n!==et&&this.error("Number sign is expected")),Ut.call(this,e!==0),e===et?"-"+this.consume(S):this.consume(S)}const pl="AnPlusB",dl={a:[String,null],b:[String,null]};function Jr(){const t=this.tokenStart;let e=null,n=null;if(this.tokenType===S)Ut.call(this,fl),n=this.consume(S);else if(this.tokenType===m&&this.cmpChar(this.tokenStart,et))switch(e="-1",xt.call(this,1,be),this.tokenEnd-this.tokenStart){case 2:this.next(),n=Ue.call(this);break;case 3:xt.call(this,2,et),this.next(),this.skipSC(),Ut.call(this,Pt),n="-"+this.consume(S);break;default:xt.call(this,2,et),Se.call(this,3,Pt),this.next(),n=this.substrToCursor(t+2)}else if(this.tokenType===m||this.isDelim(yt)&&this.lookupType(1)===m){let r=0;switch(e="1",this.isDelim(yt)&&(r=1,this.next()),xt.call(this,0,be),this.tokenEnd-this.tokenStart){case 1:this.next(),n=Ue.call(this);break;case 2:xt.call(this,1,et),this.next(),this.skipSC(),Ut.call(this,Pt),n="-"+this.consume(S);break;default:xt.call(this,1,et),Se.call(this,2,Pt),this.next(),n=this.substrToCursor(t+r+1)}}else if(this.tokenType===L){const r=this.charCodeAt(this.tokenStart),i=r===yt||r===et;let o=this.tokenStart+i;for(;o<this.tokenEnd&&rt(this.charCodeAt(o));o++);o===this.tokenStart+i&&this.error("Integer is expected",this.tokenStart+i),xt.call(this,o-this.tokenStart,be),e=this.substring(t,o),o+1===this.tokenEnd?(this.next(),n=Ue.call(this)):(xt.call(this,o-this.tokenStart+1,et),o+2===this.tokenEnd?(this.next(),this.skipSC(),Ut.call(this,Pt),n="-"+this.consume(S)):(Se.call(this,o-this.tokenStart+2,Pt),this.next(),n=this.substrToCursor(o+1)))}else this.error();return e!==null&&e.charCodeAt(0)===yt&&(e=e.substr(1)),n!==null&&n.charCodeAt(0)===yt&&(n=n.substr(1)),{type:"AnPlusB",loc:this.getLocation(t,this.tokenStart),a:e,b:n}}function Zr(t){if(t.a){const e=t.a==="+1"&&"n"||t.a==="1"&&"n"||t.a==="-1"&&"-n"||t.a+"n";if(t.b){const n=t.b[0]==="-"||t.b[0]==="+"?t.b:"+"+t.b;this.tokenize(e+n)}else this.tokenize(e)}else this.tokenize(t.b)}const ml=Object.freeze(Object.defineProperty({__proto__:null,generate:Zr,name:pl,parse:Jr,structure:dl},Symbol.toStringTag,{value:"Module"}));function Bn(){return this.Raw(this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function kl(){for(let t=1,e;e=this.lookupType(t);t++){if(e===Gt)return!0;if(e===ft||e===W)return!1}return!1}const yl="Atrule",gl="atrule",bl={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]};function Kr(t=!1){const e=this.tokenStart;let n,r,i=null,o=null;switch(this.eat(W),n=this.substrToCursor(e+1),r=n.toLowerCase(),this.skipSC(),this.eof===!1&&this.tokenType!==ft&&this.tokenType!==K&&(this.parseAtrulePrelude?i=this.parseWithFallback(this.AtrulePrelude.bind(this,n,t),Bn):i=Bn.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case K:this.next();break;case ft:hasOwnProperty.call(this.atrule,r)&&typeof this.atrule[r].block=="function"?o=this.atrule[r].block.call(this,t):o=this.Block(kl.call(this));break}return{type:"Atrule",loc:this.getLocation(e,this.tokenStart),name:n,prelude:i,block:o}}function ti(t){this.token(W,"@"+t.name),t.prelude!==null&&this.node(t.prelude),t.block?this.node(t.block):this.token(K,";")}const Sl=Object.freeze(Object.defineProperty({__proto__:null,generate:ti,name:yl,parse:Kr,structure:bl,walkContext:gl},Symbol.toStringTag,{value:"Module"})),vl="AtrulePrelude",Cl="atrulePrelude",xl={children:[[]]};function ei(t){let e=null;return t!==null&&(t=t.toLowerCase()),this.skipSC(),hasOwnProperty.call(this.atrule,t)&&typeof this.atrule[t].prelude=="function"?e=this.atrule[t].prelude.call(this):e=this.readSequence(this.scope.AtrulePrelude),this.skipSC(),this.eof!==!0&&this.tokenType!==ft&&this.tokenType!==K&&this.error("Semicolon or block is expected"),{type:"AtrulePrelude",loc:this.getLocationFromList(e),children:e}}function ni(t){this.children(t)}const wl=Object.freeze(Object.defineProperty({__proto__:null,generate:ni,name:vl,parse:ei,structure:xl,walkContext:Cl},Symbol.toStringTag,{value:"Module"})),Ll=36,ri=42,ve=61,Ol=94,an=124,Tl=126;function Al(){this.eof&&this.error("Unexpected end of input");const t=this.tokenStart;let e=!1;return this.isDelim(ri)?(e=!0,this.next()):this.isDelim(an)||this.eat(m),this.isDelim(an)?this.charCodeAt(this.tokenStart+1)!==ve?(this.next(),this.eat(m)):e&&this.error("Identifier is expected",this.tokenEnd):e&&this.error("Vertical line is expected"),{type:"Identifier",loc:this.getLocation(t,this.tokenStart),name:this.substrToCursor(t)}}function _l(){const t=this.tokenStart,e=this.charCodeAt(t);return e!==ve&&e!==Tl&&e!==Ol&&e!==Ll&&e!==ri&&e!==an&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),e!==ve&&(this.isDelim(ve)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(t)}const Pl="AttributeSelector",El={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]};function ii(){const t=this.tokenStart;let e,n=null,r=null,i=null;return this.eat(Kt),this.skipSC(),e=Al.call(this),this.skipSC(),this.tokenType!==ae&&(this.tokenType!==m&&(n=_l.call(this),this.skipSC(),r=this.tokenType===Ct?this.String():this.Identifier(),this.skipSC()),this.tokenType===m&&(i=this.consume(m),this.skipSC())),this.eat(ae),{type:"AttributeSelector",loc:this.getLocation(t,this.tokenStart),name:e,matcher:n,value:r,flags:i}}function oi(t){this.token(O,"["),this.node(t.name),t.matcher!==null&&(this.tokenize(t.matcher),this.node(t.value)),t.flags!==null&&this.token(m,t.flags),this.token(O,"]")}const jl=Object.freeze(Object.defineProperty({__proto__:null,generate:oi,name:Pl,parse:ii,structure:El},Symbol.toStringTag,{value:"Module"})),Dl=38;function si(){return this.Raw(null,!0)}function Wn(){return this.parseWithFallback(this.Rule,si)}function Un(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function Rl(){if(this.tokenType===K)return Un.call(this,this.tokenIndex);const t=this.parseWithFallback(this.Declaration,Un);return this.tokenType===K&&this.next(),t}const Il="Block",Ml="block",Nl={children:[["Atrule","Rule","Declaration"]]};function li(t){const e=t?Rl:Wn,n=this.tokenStart;let r=this.createList();this.eat(ft);t:for(;!this.eof;)switch(this.tokenType){case Gt:break t;case B:case X:this.next();break;case W:r.push(this.parseWithFallback(this.Atrule.bind(this,t),si));break;default:t&&this.isDelim(Dl)?r.push(Wn.call(this)):r.push(e.call(this))}return this.eof||this.eat(Gt),{type:"Block",loc:this.getLocation(n,this.tokenStart),children:r}}function ai(t){this.token(ft,"{"),this.children(t,e=>{e.type==="Declaration"&&this.token(K,";")}),this.token(Gt,"}")}const Fl=Object.freeze(Object.defineProperty({__proto__:null,generate:ai,name:Il,parse:li,structure:Nl,walkContext:Ml},Symbol.toStringTag,{value:"Module"})),zl="Brackets",$l={children:[[]]};function ci(t,e){const n=this.tokenStart;let r=null;return this.eat(Kt),r=t.call(this,e),this.eof||this.eat(ae),{type:"Brackets",loc:this.getLocation(n,this.tokenStart),children:r}}function ui(t){this.token(O,"["),this.children(t),this.token(O,"]")}const Bl=Object.freeze(Object.defineProperty({__proto__:null,generate:ui,name:zl,parse:ci,structure:$l},Symbol.toStringTag,{value:"Module"})),Wl="CDC",Ul=[];function hi(){const t=this.tokenStart;return this.eat(tt),{type:"CDC",loc:this.getLocation(t,this.tokenStart)}}function fi(){this.token(tt,"-->")}const Vl=Object.freeze(Object.defineProperty({__proto__:null,generate:fi,name:Wl,parse:hi,structure:Ul},Symbol.toStringTag,{value:"Module"})),Hl="CDO",ql=[];function pi(){const t=this.tokenStart;return this.eat(Ie),{type:"CDO",loc:this.getLocation(t,this.tokenStart)}}function di(){this.token(Ie,"<!--")}const Ql=Object.freeze(Object.defineProperty({__proto__:null,generate:di,name:Hl,parse:pi,structure:ql},Symbol.toStringTag,{value:"Module"})),Gl=46,Xl="ClassSelector",Yl={name:String};function mi(){return this.eatDelim(Gl),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(m)}}function ki(t){this.token(O,"."),this.token(m,t.name)}const Jl=Object.freeze(Object.defineProperty({__proto__:null,generate:ki,name:Xl,parse:mi,structure:Yl},Symbol.toStringTag,{value:"Module"})),Zl=43,Vn=47,Kl=62,ta=126,ea="Combinator",na={name:String};function yi(){const t=this.tokenStart;let e;switch(this.tokenType){case B:e=" ";break;case O:switch(this.charCodeAt(this.tokenStart)){case Kl:case Zl:case ta:this.next();break;case Vn:this.next(),this.eatIdent("deep"),this.eatDelim(Vn);break;default:this.error("Combinator is expected")}e=this.substrToCursor(t);break}return{type:"Combinator",loc:this.getLocation(t,this.tokenStart),name:e}}function gi(t){this.tokenize(t.name)}const ra=Object.freeze(Object.defineProperty({__proto__:null,generate:gi,name:ea,parse:yi,structure:na},Symbol.toStringTag,{value:"Module"})),ia=42,oa=47,sa="Comment",la={value:String};function bi(){const t=this.tokenStart;let e=this.tokenEnd;return this.eat(X),e-t+2>=2&&this.charCodeAt(e-2)===ia&&this.charCodeAt(e-1)===oa&&(e-=2),{type:"Comment",loc:this.getLocation(t,this.tokenStart),value:this.substring(t+2,e)}}function Si(t){this.token(X,"/*"+t.value+"*/")}const aa=Object.freeze(Object.defineProperty({__proto__:null,generate:Si,name:sa,parse:bi,structure:la},Symbol.toStringTag,{value:"Module"})),ca=new Set([Y,b,wt]),ua="Condition",ha={kind:String,children:[["Identifier","Feature","FeatureFunction","FeatureRange","SupportsDeclaration"]]};function Hn(t){return this.lookupTypeNonSC(1)===m&&ca.has(this.lookupTypeNonSC(2))?this.Feature(t):this.FeatureRange(t)}const fa={media:Hn,container:Hn,supports(){return this.SupportsDeclaration()}};function vi(t="media"){const e=this.createList();t:for(;!this.eof;)switch(this.tokenType){case X:case B:this.next();continue;case m:e.push(this.Identifier());break;case P:{let n=this.parseWithFallback(()=>fa[t].call(this,t),()=>null);n||(n=this.parseWithFallback(()=>{this.eat(P);const r=this.Condition(t);return this.eat(b),r},()=>this.GeneralEnclosed(t))),e.push(n);break}case C:{let n=this.parseWithFallback(()=>this.FeatureFunction(t),()=>null);n||(n=this.GeneralEnclosed(t)),e.push(n);break}default:break t}return e.isEmpty&&this.error("Condition is expected"),{type:"Condition",loc:this.getLocationFromList(e),kind:t,children:e}}function Ci(t){t.children.forEach(e=>{e.type==="Condition"?(this.token(P,"("),this.node(e),this.token(b,")")):this.node(e)})}const pa=Object.freeze(Object.defineProperty({__proto__:null,generate:Ci,name:ua,parse:vi,structure:ha},Symbol.toStringTag,{value:"Module"})),qn=45;function da(t,e){return e=e||0,t.length-e>=2&&t.charCodeAt(e)===qn&&t.charCodeAt(e+1)===qn}const xi=33,ma=35,ka=36,ya=38,ga=42,ba=43,Qn=47;function Sa(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!0)}function va(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1)}function Ca(){const t=this.tokenIndex,e=this.Value();return e.type!=="Raw"&&this.eof===!1&&this.tokenType!==K&&this.isDelim(xi)===!1&&this.isBalanceEdge(t)===!1&&this.error(),e}const xa="Declaration",wa="declaration",La={important:[Boolean,String],property:String,value:["Value","Raw"]};function wi(){const t=this.tokenStart,e=this.tokenIndex,n=Oa.call(this),r=da(n),i=r?this.parseCustomProperty:this.parseValue,o=r?va:Sa;let l=!1,c;this.skipSC(),this.eat(Y);const a=this.tokenIndex;if(r||this.skipSC(),i?c=this.parseWithFallback(Ca,o):c=o.call(this,this.tokenIndex),r&&c.type==="Value"&&c.children.isEmpty){for(let s=a-this.tokenIndex;s<=0;s++)if(this.lookupType(s)===B){c.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}return this.isDelim(xi)&&(l=Ta.call(this),this.skipSC()),this.eof===!1&&this.tokenType!==K&&this.isBalanceEdge(e)===!1&&this.error(),{type:"Declaration",loc:this.getLocation(t,this.tokenStart),important:l,property:n,value:c}}function Li(t){this.token(m,t.property),this.token(Y,":"),this.node(t.value),t.important&&(this.token(O,"!"),this.token(m,t.important===!0?"important":t.important))}function Oa(){const t=this.tokenStart;if(this.tokenType===O)switch(this.charCodeAt(this.tokenStart)){case ga:case ka:case ba:case ma:case ya:this.next();break;case Qn:this.next(),this.isDelim(Qn)&&this.next();break}return this.tokenType===D?this.eat(D):this.eat(m),this.substrToCursor(t)}function Ta(){this.eat(O),this.skipSC();const t=this.consume(m);return t==="important"?!0:t}const Aa=Object.freeze(Object.defineProperty({__proto__:null,generate:Li,name:xa,parse:wi,structure:La,walkContext:wa},Symbol.toStringTag,{value:"Module"})),_a=38;function Ve(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}const Pa="DeclarationList",Ea={children:[["Declaration","Atrule","Rule"]]};function Oi(){const t=this.createList();for(;!this.eof;)switch(this.tokenType){case B:case X:case K:this.next();break;case W:t.push(this.parseWithFallback(this.Atrule.bind(this,!0),Ve));break;default:this.isDelim(_a)?t.push(this.parseWithFallback(this.Rule,Ve)):t.push(this.parseWithFallback(this.Declaration,Ve))}return{type:"DeclarationList",loc:this.getLocationFromList(t),children:t}}function Ti(t){this.children(t,e=>{e.type==="Declaration"&&this.token(K,";")})}const ja=Object.freeze(Object.defineProperty({__proto__:null,generate:Ti,name:Pa,parse:Oi,structure:Ea},Symbol.toStringTag,{value:"Module"})),Da="Dimension",Ra={value:String,unit:String};function Ai(){const t=this.tokenStart,e=this.consumeNumber(L);return{type:"Dimension",loc:this.getLocation(t,this.tokenStart),value:e,unit:this.substring(t+e.length,this.tokenStart)}}function _i(t){this.token(L,t.value+t.unit)}const Ia=Object.freeze(Object.defineProperty({__proto__:null,generate:_i,name:Da,parse:Ai,structure:Ra},Symbol.toStringTag,{value:"Module"})),Ma=47,Na="Feature",Fa={kind:String,name:String,value:["Identifier","Number","Dimension","Ratio","Function",null]};function Pi(t){const e=this.tokenStart;let n,r=null;if(this.eat(P),this.skipSC(),n=this.consume(m),this.skipSC(),this.tokenType!==b){switch(this.eat(Y),this.skipSC(),this.tokenType){case S:this.lookupNonWSType(1)===O?r=this.Ratio():r=this.Number();break;case L:r=this.Dimension();break;case m:r=this.Identifier();break;case C:r=this.parseWithFallback(()=>{const i=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(Ma)&&this.error(),i},()=>this.Ratio());break;default:this.error("Number, dimension, ratio or identifier is expected")}this.skipSC()}return this.eof||this.eat(b),{type:"Feature",loc:this.getLocation(e,this.tokenStart),kind:t,name:n,value:r}}function Ei(t){this.token(P,"("),this.token(m,t.name),t.value!==null&&(this.token(Y,":"),this.node(t.value)),this.token(b,")")}const za=Object.freeze(Object.defineProperty({__proto__:null,generate:Ei,name:Na,parse:Pi,structure:Fa},Symbol.toStringTag,{value:"Module"})),$a="FeatureFunction",Ba={kind:String,feature:String,value:["Declaration","Selector"]};function Wa(t,e){const n=(this.features[t]||{})[e];return typeof n!="function"&&this.error(`Unknown feature ${e}()`),n}function ji(t="unknown"){const e=this.tokenStart,n=this.consumeFunctionName(),r=Wa.call(this,t,n.toLowerCase());this.skipSC();const i=this.parseWithFallback(()=>{const o=this.tokenIndex,l=r.call(this);return this.eof===!1&&this.isBalanceEdge(o)===!1&&this.error(),l},()=>this.Raw(null,!1));return this.eof||this.eat(b),{type:"FeatureFunction",loc:this.getLocation(e,this.tokenStart),kind:t,feature:n,value:i}}function Di(t){this.token(C,t.feature+"("),this.node(t.value),this.token(b,")")}const Ua=Object.freeze(Object.defineProperty({__proto__:null,generate:Di,name:$a,parse:ji,structure:Ba},Symbol.toStringTag,{value:"Module"})),Gn=47,Va=60,Xn=61,Ha=62,qa="FeatureRange",Qa={kind:String,left:["Identifier","Number","Dimension","Ratio","Function"],leftComparison:String,middle:["Identifier","Number","Dimension","Ratio","Function"],rightComparison:[String,null],right:["Identifier","Number","Dimension","Ratio","Function",null]};function He(){switch(this.skipSC(),this.tokenType){case S:return this.isDelim(Gn,this.lookupOffsetNonSC(1))?this.Ratio():this.Number();case L:return this.Dimension();case m:return this.Identifier();case C:return this.parseWithFallback(()=>{const t=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(Gn)&&this.error(),t},()=>this.Ratio());default:this.error("Number, dimension, ratio or identifier is expected")}}function Yn(t){if(this.skipSC(),this.isDelim(Va)||this.isDelim(Ha)){const e=this.source[this.tokenStart];return this.next(),this.isDelim(Xn)?(this.next(),e+"="):e}if(this.isDelim(Xn))return"=";this.error(`Expected ${t?'":", ':""}"<", ">", "=" or ")"`)}function Ri(t="unknown"){const e=this.tokenStart;this.skipSC(),this.eat(P);const n=He.call(this),r=Yn.call(this,n.type==="Identifier"),i=He.call(this);let o=null,l=null;return this.lookupNonWSType(0)!==b&&(o=Yn.call(this),l=He.call(this)),this.skipSC(),this.eat(b),{type:"FeatureRange",loc:this.getLocation(e,this.tokenStart),kind:t,left:n,leftComparison:r,middle:i,rightComparison:o,right:l}}function Ii(t){this.token(P,"("),this.node(t.left),this.tokenize(t.leftComparison),this.node(t.middle),t.right&&(this.tokenize(t.rightComparison),this.node(t.right)),this.token(b,")")}const Ga=Object.freeze(Object.defineProperty({__proto__:null,generate:Ii,name:qa,parse:Ri,structure:Qa},Symbol.toStringTag,{value:"Module"})),Xa="Function",Ya="function",Ja={name:String,children:[[]]};function Mi(t,e){const n=this.tokenStart,r=this.consumeFunctionName(),i=r.toLowerCase();let o;return o=e.hasOwnProperty(i)?e[i].call(this,e):t.call(this,e),this.eof||this.eat(b),{type:"Function",loc:this.getLocation(n,this.tokenStart),name:r,children:o}}function Ni(t){this.token(C,t.name+"("),this.children(t),this.token(b,")")}const Za=Object.freeze(Object.defineProperty({__proto__:null,generate:Ni,name:Xa,parse:Mi,structure:Ja,walkContext:Ya},Symbol.toStringTag,{value:"Module"})),Ka="GeneralEnclosed",tc={kind:String,function:[String,null],children:[[]]};function Fi(t){const e=this.tokenStart;let n=null;this.tokenType===C?n=this.consumeFunctionName():this.eat(P);const r=this.parseWithFallback(()=>{const i=this.tokenIndex,o=this.readSequence(this.scope.Value);return this.eof===!1&&this.isBalanceEdge(i)===!1&&this.error(),o},()=>this.createSingleNodeList(this.Raw(null,!1)));return this.eof||this.eat(b),{type:"GeneralEnclosed",loc:this.getLocation(e,this.tokenStart),kind:t,function:n,children:r}}function zi(t){t.function?this.token(C,t.function+"("):this.token(P,"("),this.children(t),this.token(b,")")}const ec=Object.freeze(Object.defineProperty({__proto__:null,generate:zi,name:Ka,parse:Fi,structure:tc},Symbol.toStringTag,{value:"Module"})),nc="XXX",rc="Hash",ic={value:String};function $i(){const t=this.tokenStart;return this.eat(D),{type:"Hash",loc:this.getLocation(t,this.tokenStart),value:this.substrToCursor(t+1)}}function Bi(t){this.token(D,"#"+t.value)}const oc=Object.freeze(Object.defineProperty({__proto__:null,generate:Bi,name:rc,parse:$i,structure:ic,xxx:nc},Symbol.toStringTag,{value:"Module"})),sc="Identifier",lc={name:String};function Wi(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(m)}}function Ui(t){this.token(m,t.name)}const ac=Object.freeze(Object.defineProperty({__proto__:null,generate:Ui,name:sc,parse:Wi,structure:lc},Symbol.toStringTag,{value:"Module"})),cc="IdSelector",uc={name:String};function Vi(){const t=this.tokenStart;return this.eat(D),{type:"IdSelector",loc:this.getLocation(t,this.tokenStart),name:this.substrToCursor(t+1)}}function Hi(t){this.token(O,"#"+t.name)}const hc=Object.freeze(Object.defineProperty({__proto__:null,generate:Hi,name:cc,parse:Vi,structure:uc},Symbol.toStringTag,{value:"Module"})),fc=46,pc="Layer",dc={name:String};function qi(){let t=this.tokenStart,e=this.consume(m);for(;this.isDelim(fc);)this.eat(O),e+="."+this.consume(m);return{type:"Layer",loc:this.getLocation(t,this.tokenStart),name:e}}function Qi(t){this.tokenize(t.name)}const mc=Object.freeze(Object.defineProperty({__proto__:null,generate:Qi,name:pc,parse:qi,structure:dc},Symbol.toStringTag,{value:"Module"})),kc="LayerList",yc={children:[["Layer"]]};function Gi(){const t=this.createList();for(this.skipSC();!this.eof&&(t.push(this.Layer()),this.lookupTypeNonSC(0)===pt);)this.skipSC(),this.next(),this.skipSC();return{type:"LayerList",loc:this.getLocationFromList(t),children:t}}function Xi(t){this.children(t,()=>this.token(pt,","))}const gc=Object.freeze(Object.defineProperty({__proto__:null,generate:Xi,name:kc,parse:Gi,structure:yc},Symbol.toStringTag,{value:"Module"})),bc="MediaQuery",Sc={modifier:[String,null],mediaType:[String,null],condition:["Condition",null]};function Yi(){const t=this.tokenStart;let e=null,n=null,r=null;if(this.skipSC(),this.tokenType===m&&this.lookupTypeNonSC(1)!==P){const i=this.consume(m),o=i.toLowerCase();switch(o==="not"||o==="only"?(this.skipSC(),e=o,n=this.consume(m)):n=i,this.lookupTypeNonSC(0)){case m:{this.skipSC(),this.eatIdent("and"),r=this.Condition("media");break}case ft:case K:case pt:case wt:break;default:this.error("Identifier or parenthesis is expected")}}else switch(this.tokenType){case m:case P:case C:{r=this.Condition("media");break}case ft:case K:case wt:break;default:this.error("Identifier or parenthesis is expected")}return{type:"MediaQuery",loc:this.getLocation(t,this.tokenStart),modifier:e,mediaType:n,condition:r}}function Ji(t){t.mediaType?(t.modifier&&this.token(m,t.modifier),this.token(m,t.mediaType),t.condition&&(this.token(m,"and"),this.node(t.condition))):t.condition&&this.node(t.condition)}const vc=Object.freeze(Object.defineProperty({__proto__:null,generate:Ji,name:bc,parse:Yi,structure:Sc},Symbol.toStringTag,{value:"Module"})),Cc="MediaQueryList",xc={children:[["MediaQuery"]]};function Zi(){const t=this.createList();for(this.skipSC();!this.eof&&(t.push(this.MediaQuery()),this.tokenType===pt);)this.next();return{type:"MediaQueryList",loc:this.getLocationFromList(t),children:t}}function Ki(t){this.children(t,()=>this.token(pt,","))}const wc=Object.freeze(Object.defineProperty({__proto__:null,generate:Ki,name:Cc,parse:Zi,structure:xc},Symbol.toStringTag,{value:"Module"})),Lc=38,Oc="NestingSelector",Tc={};function to(){const t=this.tokenStart;return this.eatDelim(Lc),{type:"NestingSelector",loc:this.getLocation(t,this.tokenStart)}}function eo(){this.token(O,"&")}const Ac=Object.freeze(Object.defineProperty({__proto__:null,generate:eo,name:Oc,parse:to,structure:Tc},Symbol.toStringTag,{value:"Module"})),_c="Nth",Pc={nth:["AnPlusB","Identifier"],selector:["SelectorList",null]};function no(){this.skipSC();const t=this.tokenStart;let e=t,n=null,r;return this.lookupValue(0,"odd")||this.lookupValue(0,"even")?r=this.Identifier():r=this.AnPlusB(),e=this.tokenStart,this.skipSC(),this.lookupValue(0,"of")&&(this.next(),n=this.SelectorList(),e=this.tokenStart),{type:"Nth",loc:this.getLocation(t,e),nth:r,selector:n}}function ro(t){this.node(t.nth),t.selector!==null&&(this.token(m,"of"),this.node(t.selector))}const Ec=Object.freeze(Object.defineProperty({__proto__:null,generate:ro,name:_c,parse:no,structure:Pc},Symbol.toStringTag,{value:"Module"})),jc="Number",Dc={value:String};function io(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(S)}}function oo(t){this.token(S,t.value)}const Rc=Object.freeze(Object.defineProperty({__proto__:null,generate:oo,name:jc,parse:io,structure:Dc},Symbol.toStringTag,{value:"Module"})),Ic="Operator",Mc={value:String};function so(){const t=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(t,this.tokenStart),value:this.substrToCursor(t)}}function lo(t){this.tokenize(t.value)}const Nc=Object.freeze(Object.defineProperty({__proto__:null,generate:lo,name:Ic,parse:so,structure:Mc},Symbol.toStringTag,{value:"Module"})),Fc="Parentheses",zc={children:[[]]};function ao(t,e){const n=this.tokenStart;let r=null;return this.eat(P),r=t.call(this,e),this.eof||this.eat(b),{type:"Parentheses",loc:this.getLocation(n,this.tokenStart),children:r}}function co(t){this.token(P,"("),this.children(t),this.token(b,")")}const $c=Object.freeze(Object.defineProperty({__proto__:null,generate:co,name:Fc,parse:ao,structure:zc},Symbol.toStringTag,{value:"Module"})),Bc="Percentage",Wc={value:String};function uo(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(F)}}function ho(t){this.token(F,t.value+"%")}const Uc=Object.freeze(Object.defineProperty({__proto__:null,generate:ho,name:Bc,parse:uo,structure:Wc},Symbol.toStringTag,{value:"Module"})),Vc="PseudoClassSelector",Hc="function",qc={name:String,children:[["Raw"],null]};function fo(){const t=this.tokenStart;let e=null,n,r;return this.eat(Y),this.tokenType===C?(n=this.consumeFunctionName(),r=n.toLowerCase(),this.lookupNonWSType(0)==b?e=this.createList():hasOwnProperty.call(this.pseudo,r)?(this.skipSC(),e=this.pseudo[r].call(this),this.skipSC()):(e=this.createList(),e.push(this.Raw(null,!1))),this.eat(b)):n=this.consume(m),{type:"PseudoClassSelector",loc:this.getLocation(t,this.tokenStart),name:n,children:e}}function po(t){this.token(Y,":"),t.children===null?this.token(m,t.name):(this.token(C,t.name+"("),this.children(t),this.token(b,")"))}const Qc=Object.freeze(Object.defineProperty({__proto__:null,generate:po,name:Vc,parse:fo,structure:qc,walkContext:Hc},Symbol.toStringTag,{value:"Module"})),Gc="PseudoElementSelector",Xc="function",Yc={name:String,children:[["Raw"],null]};function mo(){const t=this.tokenStart;let e=null,n,r;return this.eat(Y),this.eat(Y),this.tokenType===C?(n=this.consumeFunctionName(),r=n.toLowerCase(),this.lookupNonWSType(0)==b?e=this.createList():hasOwnProperty.call(this.pseudo,r)?(this.skipSC(),e=this.pseudo[r].call(this),this.skipSC()):(e=this.createList(),e.push(this.Raw(null,!1))),this.eat(b)):n=this.consume(m),{type:"PseudoElementSelector",loc:this.getLocation(t,this.tokenStart),name:n,children:e}}function ko(t){this.token(Y,":"),this.token(Y,":"),t.children===null?this.token(m,t.name):(this.token(C,t.name+"("),this.children(t),this.token(b,")"))}const Jc=Object.freeze(Object.defineProperty({__proto__:null,generate:ko,name:Gc,parse:mo,structure:Yc,walkContext:Xc},Symbol.toStringTag,{value:"Module"})),Jn=47;function Zn(){switch(this.skipSC(),this.tokenType){case S:return this.Number();case C:return this.Function(this.readSequence,this.scope.Value);default:this.error("Number of function is expected")}}const Zc="Ratio",Kc={left:["Number","Function"],right:["Number","Function",null]};function yo(){const t=this.tokenStart,e=Zn.call(this);let n=null;return this.skipSC(),this.isDelim(Jn)&&(this.eatDelim(Jn),n=Zn.call(this)),{type:"Ratio",loc:this.getLocation(t,this.tokenStart),left:e,right:n}}function go(t){this.node(t.left),this.token(O,"/"),t.right?this.node(t.right):this.node(S,1)}const tu=Object.freeze(Object.defineProperty({__proto__:null,generate:go,name:Zc,parse:yo,structure:Kc},Symbol.toStringTag,{value:"Module"}));function eu(){return this.tokenIndex>0&&this.lookupType(-1)===B?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}const nu="Raw",ru={value:String};function bo(t,e){const n=this.getTokenStart(this.tokenIndex);let r;return this.skipUntilBalanced(this.tokenIndex,t||this.consumeUntilBalanceEnd),e&&this.tokenStart>n?r=eu.call(this):r=this.tokenStart,{type:"Raw",loc:this.getLocation(n,r),value:this.substring(n,r)}}function So(t){this.tokenize(t.value)}const iu=Object.freeze(Object.defineProperty({__proto__:null,generate:So,name:nu,parse:bo,structure:ru},Symbol.toStringTag,{value:"Module"}));function Kn(){return this.Raw(this.consumeUntilLeftCurlyBracket,!0)}function ou(){const t=this.SelectorList();return t.type!=="Raw"&&this.eof===!1&&this.tokenType!==ft&&this.error(),t}const su="Rule",lu="rule",au={prelude:["SelectorList","Raw"],block:["Block"]};function vo(){const t=this.tokenIndex,e=this.tokenStart;let n,r;return this.parseRulePrelude?n=this.parseWithFallback(ou,Kn):n=Kn.call(this,t),r=this.Block(!0),{type:"Rule",loc:this.getLocation(e,this.tokenStart),prelude:n,block:r}}function Co(t){this.node(t.prelude),this.node(t.block)}const cu=Object.freeze(Object.defineProperty({__proto__:null,generate:Co,name:su,parse:vo,structure:au,walkContext:lu},Symbol.toStringTag,{value:"Module"})),uu="Scope",hu={root:["SelectorList","Raw",null],limit:["SelectorList","Raw",null]};function xo(){let t=null,e=null;this.skipSC();const n=this.tokenStart;return this.tokenType===P&&(this.next(),this.skipSC(),t=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(b)),this.lookupNonWSType(0)===m&&(this.skipSC(),this.eatIdent("to"),this.skipSC(),this.eat(P),this.skipSC(),e=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(b)),{type:"Scope",loc:this.getLocation(n,this.tokenStart),root:t,limit:e}}function wo(t){t.root&&(this.token(P,"("),this.node(t.root),this.token(b,")")),t.limit&&(this.token(m,"to"),this.token(P,"("),this.node(t.limit),this.token(b,")"))}const fu=Object.freeze(Object.defineProperty({__proto__:null,generate:wo,name:uu,parse:xo,structure:hu},Symbol.toStringTag,{value:"Module"})),pu="Selector",du={children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator"]]};function Lo(){const t=this.readSequence(this.scope.Selector);return this.getFirstListNode(t)===null&&this.error("Selector is expected"),{type:"Selector",loc:this.getLocationFromList(t),children:t}}function Oo(t){this.children(t)}const mu=Object.freeze(Object.defineProperty({__proto__:null,generate:Oo,name:pu,parse:Lo,structure:du},Symbol.toStringTag,{value:"Module"})),ku="SelectorList",yu="selector",gu={children:[["Selector","Raw"]]};function To(){const t=this.createList();for(;!this.eof;){if(t.push(this.Selector()),this.tokenType===pt){this.next();continue}break}return{type:"SelectorList",loc:this.getLocationFromList(t),children:t}}function Ao(t){this.children(t,()=>this.token(pt,","))}const bu=Object.freeze(Object.defineProperty({__proto__:null,generate:Ao,name:ku,parse:To,structure:gu,walkContext:yu},Symbol.toStringTag,{value:"Module"})),cn=92,_o=34,Su=39;function Po(t){const e=t.length,n=t.charCodeAt(0),r=n===_o||n===Su?1:0,i=r===1&&e>1&&t.charCodeAt(e-1)===n?e-2:e-1;let o="";for(let l=r;l<=i;l++){let c=t.charCodeAt(l);if(c===cn){if(l===i){l!==e-1&&(o=t.substr(l+1));break}if(c=t.charCodeAt(++l),gt(cn,c)){const a=l-1,s=Yt(t,a);l=s-1,o+=Gr(t.substring(a+1,s))}else c===13&&t.charCodeAt(l+1)===10&&l++}else o+=t[l]}return o}function vu(t,e){const n=_o;let r="",i=!1;for(let o=0;o<t.length;o++){const l=t.charCodeAt(o);if(l===0){r+="�";continue}if(l<=31||l===127){r+="\\"+l.toString(16),i=!0;continue}l===n||l===cn?(r+="\\"+t.charAt(o),i=!1):(i&&(Xt(l)||It(l))&&(r+=" "),r+=t.charAt(o),i=!1)}return'"'+r+'"'}const Cu="String",xu={value:String};function Eo(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:Po(this.consume(Ct))}}function jo(t){this.token(Ct,vu(t.value))}const wu=Object.freeze(Object.defineProperty({__proto__:null,generate:jo,name:Cu,parse:Eo,structure:xu},Symbol.toStringTag,{value:"Module"})),Lu=33;function tr(){return this.Raw(null,!1)}const Ou="StyleSheet",Tu="stylesheet",Au={children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]};function Do(){const t=this.tokenStart,e=this.createList();let n;for(;!this.eof;){switch(this.tokenType){case B:this.next();continue;case X:if(this.charCodeAt(this.tokenStart+2)!==Lu){this.next();continue}n=this.Comment();break;case Ie:n=this.CDO();break;case tt:n=this.CDC();break;case W:n=this.parseWithFallback(this.Atrule,tr);break;default:n=this.parseWithFallback(this.Rule,tr)}e.push(n)}return{type:"StyleSheet",loc:this.getLocation(t,this.tokenStart),children:e}}function Ro(t){this.children(t)}const _u=Object.freeze(Object.defineProperty({__proto__:null,generate:Ro,name:Ou,parse:Do,structure:Au,walkContext:Tu},Symbol.toStringTag,{value:"Module"})),Pu="SupportsDeclaration",Eu={declaration:"Declaration"};function Io(){const t=this.tokenStart;this.eat(P),this.skipSC();const e=this.Declaration();return this.eof||this.eat(b),{type:"SupportsDeclaration",loc:this.getLocation(t,this.tokenStart),declaration:e}}function Mo(t){this.token(P,"("),this.node(t.declaration),this.token(b,")")}const ju=Object.freeze(Object.defineProperty({__proto__:null,generate:Mo,name:Pu,parse:Io,structure:Eu},Symbol.toStringTag,{value:"Module"})),Du=42,er=124;function qe(){this.tokenType!==m&&this.isDelim(Du)===!1&&this.error("Identifier or asterisk is expected"),this.next()}const Ru="TypeSelector",Iu={name:String};function No(){const t=this.tokenStart;return this.isDelim(er)?(this.next(),qe.call(this)):(qe.call(this),this.isDelim(er)&&(this.next(),qe.call(this))),{type:"TypeSelector",loc:this.getLocation(t,this.tokenStart),name:this.substrToCursor(t)}}function Fo(t){this.tokenize(t.name)}const Mu=Object.freeze(Object.defineProperty({__proto__:null,generate:Fo,name:Ru,parse:No,structure:Iu},Symbol.toStringTag,{value:"Module"})),zo=43,$o=45,un=63;function ee(t,e){let n=0;for(let r=this.tokenStart+t;r<this.tokenEnd;r++){const i=this.charCodeAt(r);if(i===$o&&e&&n!==0)return ee.call(this,t+n+1,!1),-1;Xt(i)||this.error(e&&n!==0?"Hyphen minus"+(n<6?" or hex digit":"")+" is expected":n<6?"Hex digit is expected":"Unexpected input",r),++n>6&&this.error("Too many hex digits",r)}return this.next(),n}function me(t){let e=0;for(;this.isDelim(un);)++e>t&&this.error("Too many question marks"),this.next()}function Nu(t){this.charCodeAt(this.tokenStart)!==t&&this.error((t===zo?"Plus sign":"Hyphen minus")+" is expected")}function Fu(){let t=0;switch(this.tokenType){case S:if(t=ee.call(this,1,!0),this.isDelim(un)){me.call(this,6-t);break}if(this.tokenType===L||this.tokenType===S){Nu.call(this,$o),ee.call(this,1,!1);break}break;case L:t=ee.call(this,1,!0),t>0&&me.call(this,6-t);break;default:if(this.eatDelim(zo),this.tokenType===m){t=ee.call(this,0,!0),t>0&&me.call(this,6-t);break}if(this.isDelim(un)){this.next(),me.call(this,5);break}this.error("Hex digit or question mark is expected")}}const zu="UnicodeRange",$u={value:String};function Bo(){const t=this.tokenStart;return this.eatIdent("u"),Fu.call(this),{type:"UnicodeRange",loc:this.getLocation(t,this.tokenStart),value:this.substrToCursor(t)}}function Wo(t){this.tokenize(t.value)}const Bu=Object.freeze(Object.defineProperty({__proto__:null,generate:Wo,name:zu,parse:Bo,structure:$u},Symbol.toStringTag,{value:"Module"})),Wu=32,hn=92,Uu=34,Vu=39,Hu=40,Uo=41;function qu(t){const e=t.length;let n=4,r=t.charCodeAt(e-1)===Uo?e-2:e-1,i="";for(;n<r&&It(t.charCodeAt(n));)n++;for(;n<r&&It(t.charCodeAt(r));)r--;for(let o=n;o<=r;o++){let l=t.charCodeAt(o);if(l===hn){if(o===r){o!==e-1&&(i=t.substr(o+1));break}if(l=t.charCodeAt(++o),gt(hn,l)){const c=o-1,a=Yt(t,c);o=a-1,i+=Gr(t.substring(c+1,a))}else l===13&&t.charCodeAt(o+1)===10&&o++}else i+=t[o]}return i}function Qu(t){let e="",n=!1;for(let r=0;r<t.length;r++){const i=t.charCodeAt(r);if(i===0){e+="�";continue}if(i<=31||i===127){e+="\\"+i.toString(16),n=!0;continue}i===Wu||i===hn||i===Uu||i===Vu||i===Hu||i===Uo?(e+="\\"+t.charAt(r),n=!1):(n&&Xt(i)&&(e+=" "),e+=t.charAt(r),n=!1)}return"url("+e+")"}const Gu="Url",Xu={value:String};function Vo(){const t=this.tokenStart;let e;switch(this.tokenType){case G:e=qu(this.consume(G));break;case C:this.cmpStr(this.tokenStart,this.tokenEnd,"url(")||this.error("Function name must be `url`"),this.eat(C),this.skipSC(),e=Po(this.consume(Ct)),this.skipSC(),this.eof||this.eat(b);break;default:this.error("Url or Function is expected")}return{type:"Url",loc:this.getLocation(t,this.tokenStart),value:e}}function Ho(t){this.token(G,Qu(t.value))}const Yu=Object.freeze(Object.defineProperty({__proto__:null,generate:Ho,name:Gu,parse:Vo,structure:Xu},Symbol.toStringTag,{value:"Module"})),Ju="Value",Zu={children:[[]]};function qo(){const t=this.tokenStart,e=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(t,this.tokenStart),children:e}}function Qo(t){this.children(t)}const Ku=Object.freeze(Object.defineProperty({__proto__:null,generate:Qo,name:Ju,parse:qo,structure:Zu},Symbol.toStringTag,{value:"Module"})),th=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),eh="WhiteSpace",nh={value:String};function Go(){return this.eat(B),th}function Xo(t){this.token(B,t.value)}const rh=Object.freeze(Object.defineProperty({__proto__:null,generate:Xo,name:eh,parse:Go,structure:nh},Symbol.toStringTag,{value:"Module"})),ih=Object.freeze(Object.defineProperty({__proto__:null,AnPlusB:ml,Atrule:Sl,AtrulePrelude:wl,AttributeSelector:jl,Block:Fl,Brackets:Bl,CDC:Vl,CDO:Ql,ClassSelector:Jl,Combinator:ra,Comment:aa,Condition:pa,Declaration:Aa,DeclarationList:ja,Dimension:Ia,Feature:za,FeatureFunction:Ua,FeatureRange:Ga,Function:Za,GeneralEnclosed:ec,Hash:oc,IdSelector:hc,Identifier:ac,Layer:mc,LayerList:gc,MediaQuery:vc,MediaQueryList:wc,NestingSelector:Ac,Nth:Ec,Number:Rc,Operator:Nc,Parentheses:$c,Percentage:Uc,PseudoClassSelector:Qc,PseudoElementSelector:Jc,Ratio:tu,Raw:iu,Rule:cu,Scope:fu,Selector:mu,SelectorList:bu,String:wu,StyleSheet:_u,SupportsDeclaration:ju,TypeSelector:Mu,UnicodeRange:Bu,Url:Yu,Value:Ku,WhiteSpace:rh},Symbol.toStringTag,{value:"Module"})),oh={node:ih},Lt=Ks(oh),xn=["left","right","top","bottom","inset-block-start","inset-block-end","inset-inline-start","inset-inline-end","inset-block","inset-inline","inset"];function ce(t){return xn.includes(t)}const wn=["margin-block-start","margin-block-end","margin-block","margin-inline-start","margin-inline-end","margin-inline","margin-bottom","margin-left","margin-right","margin-top","margin"];function sh(t){return wn.includes(t)}const Ln=["width","height","min-width","min-height","max-width","max-height","block-size","inline-size","min-block-size","min-inline-size","max-block-size","max-inline-size"];function Yo(t){return Ln.includes(t)}const Jo=["justify-self","align-self","place-self"];function lh(t){return Jo.includes(t)}const Zo=[...xn,...wn,...Ln,...Jo,"position-anchor","position-area"],ah=[...Ln,...xn,...wn];function Ko(t){return ah.includes(t)}const ch=["top","left","right","bottom","start","end","self-start","self-end","center","inside","outside"];function ts(t){return ch.includes(t)}const uh=["width","height","block","inline","self-block","self-inline"];function hh(t){return uh.includes(t)}const nr=new Set(["Atrule","Selector","Declaration"]);function fh(t){const e=new SourceMapGenerator,n={line:1,column:0},r={line:0,column:0},i={line:1,column:0},o={generated:i};let l=1,c=0,a=!1;const s=t.node;t.node=function(f){if(f.loc&&f.loc.start&&nr.has(f.type)){const d=f.loc.start.line,p=f.loc.start.column-1;(r.line!==d||r.column!==p)&&(r.line=d,r.column=p,n.line=l,n.column=c,a&&(a=!1,(n.line!==i.line||n.column!==i.column)&&e.addMapping(o)),a=!0,e.addMapping({source:f.loc.source,original:r,generated:n}))}s.call(this,f),a&&nr.has(f.type)&&(i.line=l,i.column=c)};const u=t.emit;t.emit=function(f,d,p){for(let k=0;k<f.length;k++)f.charCodeAt(k)===10?(l++,c=0):c++;u(f,d,p)};const h=t.result;return t.result=function(){return a&&e.addMapping(o),{css:h(),map:e}},t}const ph=43,dh=45,Qe=(t,e)=>{if(t===O&&(t=e),typeof t=="string"){const n=t.charCodeAt(0);return n>127?32768:n<<8}return t},es=[[m,m],[m,C],[m,G],[m,at],[m,"-"],[m,S],[m,F],[m,L],[m,tt],[m,P],[W,m],[W,C],[W,G],[W,at],[W,"-"],[W,S],[W,F],[W,L],[W,tt],[D,m],[D,C],[D,G],[D,at],[D,"-"],[D,S],[D,F],[D,L],[D,tt],[L,m],[L,C],[L,G],[L,at],[L,"-"],[L,S],[L,F],[L,L],[L,tt],["#",m],["#",C],["#",G],["#",at],["#","-"],["#",S],["#",F],["#",L],["#",tt],["-",m],["-",C],["-",G],["-",at],["-","-"],["-",S],["-",F],["-",L],["-",tt],[S,m],[S,C],[S,G],[S,at],[S,S],[S,F],[S,L],[S,"%"],[S,tt],["@",m],["@",C],["@",G],["@",at],["@","-"],["@",tt],[".",S],[".",F],[".",L],["+",S],["+",F],["+",L],["/","*"]],mh=es.concat([[m,D],[L,D],[D,D],[W,P],[W,Ct],[W,Y],[F,F],[F,L],[F,C],[F,"-"],[b,m],[b,C],[b,F],[b,L],[b,D],[b,"-"]]);function ns(t){const e=new Set(t.map(([n,r])=>Qe(n)<<16|Qe(r)));return function(n,r,i){const o=Qe(r,i),l=i.charCodeAt(0);return(l===dh&&r!==m&&r!==C&&r!==tt||l===ph?e.has(n<<16|l<<8):e.has(n<<16|o))&&this.emit(" ",B,!0),o}}const kh=ns(es),rs=ns(mh),rr=Object.freeze(Object.defineProperty({__proto__:null,safe:rs,spec:kh},Symbol.toStringTag,{value:"Module"})),yh=92;function gh(t,e){if(typeof e=="function"){let n=null;t.children.forEach(r=>{n!==null&&e.call(this,n),this.node(r),n=r});return}t.children.forEach(this.node,this)}function bh(t){Yr(t,(e,n,r)=>{this.token(e,t.slice(n,r))})}function Sh(t){const e=new Map;for(let[n,r]of Object.entries(t.node))typeof(r.generate||r)=="function"&&e.set(n,r.generate||r);return function(n,r){let i="",o=0,l={node(a){if(e.has(a.type))e.get(a.type).call(c,a);else throw new Error("Unknown node type: "+a.type)},tokenBefore:rs,token(a,s){o=this.tokenBefore(o,a,s),this.emit(s,a,!1),a===O&&s.charCodeAt(0)===yh&&this.emit(`
|
|
2
|
-
`,B,!0)},emit(a){i+=a},result(){return i}};r&&(typeof r.decorator=="function"&&(l=r.decorator(l)),r.sourceMap&&(l=fh(l)),r.mode in rr&&(l.tokenBefore=rr[r.mode]));const c={node:a=>l.node(a),children:gh,token:(a,s)=>l.token(a,s),tokenize:bh};return l.node(n),l.result()}}const vh=Object.freeze(Object.defineProperty({__proto__:null,AnPlusB:Zr,Atrule:ti,AtrulePrelude:ni,AttributeSelector:oi,Block:ai,Brackets:ui,CDC:fi,CDO:di,ClassSelector:ki,Combinator:gi,Comment:Si,Condition:Ci,Declaration:Li,DeclarationList:Ti,Dimension:_i,Feature:Ei,FeatureFunction:Di,FeatureRange:Ii,Function:Ni,GeneralEnclosed:zi,Hash:Bi,IdSelector:Hi,Identifier:Ui,Layer:Qi,LayerList:Xi,MediaQuery:Ji,MediaQueryList:Ki,NestingSelector:eo,Nth:ro,Number:oo,Operator:lo,Parentheses:co,Percentage:ho,PseudoClassSelector:po,PseudoElementSelector:ko,Ratio:go,Raw:So,Rule:Co,Scope:wo,Selector:Oo,SelectorList:Ao,String:jo,StyleSheet:Ro,SupportsDeclaration:Mo,TypeSelector:Fo,UnicodeRange:Wo,Url:Ho,Value:Qo,WhiteSpace:Xo},Symbol.toStringTag,{value:"Module"})),Ch={node:vh},xh=Sh(Ch);let Wt=null;class Q{static createItem(e){return{prev:null,next:null,data:e}}constructor(){this.head=null,this.tail=null,this.cursor=null}createItem(e){return Q.createItem(e)}allocateCursor(e,n){let r;return Wt!==null?(r=Wt,Wt=Wt.cursor,r.prev=e,r.next=n,r.cursor=this.cursor):r={prev:e,next:n,cursor:this.cursor},this.cursor=r,r}releaseCursor(){const{cursor:e}=this;this.cursor=e.cursor,e.prev=null,e.next=null,e.cursor=Wt,Wt=e}updateCursors(e,n,r,i){let{cursor:o}=this;for(;o!==null;)o.prev===e&&(o.prev=n),o.next===r&&(o.next=i),o=o.cursor}*[Symbol.iterator](){for(let e=this.head;e!==null;e=e.next)yield e.data}get size(){let e=0;for(let n=this.head;n!==null;n=n.next)e++;return e}get isEmpty(){return this.head===null}get first(){return this.head&&this.head.data}get last(){return this.tail&&this.tail.data}fromArray(e){let n=null;this.head=null;for(let r of e){const i=Q.createItem(r);n!==null?n.next=i:this.head=i,i.prev=n,n=i}return this.tail=n,this}toArray(){return[...this]}toJSON(){return[...this]}forEach(e,n=this){const r=this.allocateCursor(null,this.head);for(;r.next!==null;){const i=r.next;r.next=i.next,e.call(n,i.data,i,this)}this.releaseCursor()}forEachRight(e,n=this){const r=this.allocateCursor(this.tail,null);for(;r.prev!==null;){const i=r.prev;r.prev=i.prev,e.call(n,i.data,i,this)}this.releaseCursor()}reduce(e,n,r=this){let i=this.allocateCursor(null,this.head),o=n,l;for(;i.next!==null;)l=i.next,i.next=l.next,o=e.call(r,o,l.data,l,this);return this.releaseCursor(),o}reduceRight(e,n,r=this){let i=this.allocateCursor(this.tail,null),o=n,l;for(;i.prev!==null;)l=i.prev,i.prev=l.prev,o=e.call(r,o,l.data,l,this);return this.releaseCursor(),o}some(e,n=this){for(let r=this.head;r!==null;r=r.next)if(e.call(n,r.data,r,this))return!0;return!1}map(e,n=this){const r=new Q;for(let i=this.head;i!==null;i=i.next)r.appendData(e.call(n,i.data,i,this));return r}filter(e,n=this){const r=new Q;for(let i=this.head;i!==null;i=i.next)e.call(n,i.data,i,this)&&r.appendData(i.data);return r}nextUntil(e,n,r=this){if(e===null)return;const i=this.allocateCursor(null,e);for(;i.next!==null;){const o=i.next;if(i.next=o.next,n.call(r,o.data,o,this))break}this.releaseCursor()}prevUntil(e,n,r=this){if(e===null)return;const i=this.allocateCursor(e,null);for(;i.prev!==null;){const o=i.prev;if(i.prev=o.prev,n.call(r,o.data,o,this))break}this.releaseCursor()}clear(){this.head=null,this.tail=null}copy(){const e=new Q;for(let n of this)e.appendData(n);return e}prepend(e){return this.updateCursors(null,e,this.head,e),this.head!==null?(this.head.prev=e,e.next=this.head):this.tail=e,this.head=e,this}prependData(e){return this.prepend(Q.createItem(e))}append(e){return this.insert(e)}appendData(e){return this.insert(Q.createItem(e))}insert(e,n=null){if(n!==null)if(this.updateCursors(n.prev,e,n,e),n.prev===null){if(this.head!==n)throw new Error("before doesn't belong to list");this.head=e,n.prev=e,e.next=n,this.updateCursors(null,e)}else n.prev.next=e,e.prev=n.prev,n.prev=e,e.next=n;else this.updateCursors(this.tail,e,null,e),this.tail!==null?(this.tail.next=e,e.prev=this.tail):this.head=e,this.tail=e;return this}insertData(e,n){return this.insert(Q.createItem(e),n)}remove(e){if(this.updateCursors(e,e.prev,e,e.next),e.prev!==null)e.prev.next=e.next;else{if(this.head!==e)throw new Error("item doesn't belong to list");this.head=e.next}if(e.next!==null)e.next.prev=e.prev;else{if(this.tail!==e)throw new Error("item doesn't belong to list");this.tail=e.prev}return e.prev=null,e.next=null,e}push(e){this.insert(Q.createItem(e))}pop(){return this.tail!==null?this.remove(this.tail):null}unshift(e){this.prepend(Q.createItem(e))}shift(){return this.head!==null?this.remove(this.head):null}prependList(e){return this.insertList(e,this.head)}appendList(e){return this.insertList(e)}insertList(e,n){return e.head===null?this:(n!=null?(this.updateCursors(n.prev,e.tail,n,e.head),n.prev!==null?(n.prev.next=e.head,e.head.prev=n.prev):this.head=e.head,n.prev=e.tail,e.tail.next=n):(this.updateCursors(this.tail,e.tail,null,e.head),this.tail!==null?(this.tail.next=e.head,e.head.prev=this.tail):this.head=e.head,this.tail=e.tail),e.head=null,e.tail=null,this)}replace(e,n){"head"in n?this.insertList(n,e):this.insert(n,e),this.remove(e)}}function wh(t,e){const n=Object.create(SyntaxError.prototype),r=new Error;return Object.assign(n,{name:t,message:e,get stack(){return(r.stack||"").replace(/^(.+\n){1,3}/,`${t}: ${e}
|
|
3
|
-
`)}})}const Ge=100,ir=60,or=" ";function sr({source:t,line:e,column:n,baseLine:r,baseColumn:i},o){function l(p,k){return s.slice(p,k).map((g,y)=>String(p+y+1).padStart(f)+" |"+g).join(`
|
|
4
|
-
`)}const c=`
|
|
5
|
-
`.repeat(Math.max(r-1,0)),a=" ".repeat(Math.max(i-1,0)),s=(c+a+t).split(/\r\n?|\n|\f/),u=Math.max(1,e-o)-1,h=Math.min(e+o,s.length+1),f=Math.max(4,String(h).length)+1;let d=0;n+=(or.length-1)*(s[e-1].substr(0,n-1).match(/\t/g)||[]).length,n>Ge&&(d=n-ir+3,n=ir-2);for(let p=u;p<=h;p++)p>=0&&p<s.length&&(s[p]=s[p].replace(/\t/g,or),s[p]=(d>0&&s[p].length>d?"…":"")+s[p].substr(d,Ge-2)+(s[p].length>d+Ge-1?"…":""));return[l(u,e),new Array(n+f+2).join("-")+"^",l(e,h)].filter(Boolean).join(`
|
|
6
|
-
`).replace(/^(\s+\d+\s+\|\n)+/,"").replace(/\n(\s+\d+\s+\|)+$/,"")}function lr(t,e,n,r,i,o=1,l=1){return Object.assign(wh("SyntaxError",t),{source:e,offset:n,line:r,column:i,sourceFragment(c){return sr({source:e,line:r,column:i,baseLine:o,baseColumn:l},isNaN(c)?0:c)},get formattedMessage(){return`Parse error: ${t}
|
|
7
|
-
`+sr({source:e,line:r,column:i,baseLine:o,baseColumn:l},2)}})}function Lh(t){const e=this.createList();let n=!1;const r={recognizer:t};for(;!this.eof;){switch(this.tokenType){case X:this.next();continue;case B:n=!0,this.next();continue}let i=t.getNode.call(this,r);if(i===void 0)break;n&&(t.onWhiteSpace&&t.onWhiteSpace.call(this,i,e,r),n=!1),e.push(i)}return n&&t.onWhiteSpace&&t.onWhiteSpace.call(this,null,e,r),e}const ar=()=>{},Oh=33,Th=35,Xe=59,cr=123,ur=0;function Ah(t){return function(){return this[t]()}}function Ye(t){const e=Object.create(null);for(const n of Object.keys(t)){const r=t[n],i=r.parse||r;i&&(e[n]=i)}return e}function _h(t){const e={context:Object.create(null),features:Object.assign(Object.create(null),t.features),scope:Object.assign(Object.create(null),t.scope),atrule:Ye(t.atrule),pseudo:Ye(t.pseudo),node:Ye(t.node)};for(const[n,r]of Object.entries(t.parseContext))switch(typeof r){case"function":e.context[n]=r;break;case"string":e.context[n]=Ah(r);break}return V(V({config:e},e),e.node)}function Ph(t){let e="",n="<unknown>",r=!1,i=ar,o=!1;const l=new ul,c=Object.assign(new hl,_h(t||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:Lh,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket(a){return a===cr?1:0},consumeUntilLeftCurlyBracketOrSemicolon(a){return a===cr||a===Xe?1:0},consumeUntilExclamationMarkOrSemicolon(a){return a===Oh||a===Xe?1:0},consumeUntilSemicolonIncluded(a){return a===Xe?2:0},createList(){return new Q},createSingleNodeList(a){return new Q().appendData(a)},getFirstListNode(a){return a&&a.first},getLastListNode(a){return a&&a.last},parseWithFallback(a,s){const u=this.tokenIndex;try{return a.call(this)}catch(h){if(o)throw h;this.skip(u-this.tokenIndex);const f=s.call(this);return o=!0,i(h,f),o=!1,f}},lookupNonWSType(a){let s;do if(s=this.lookupType(a++),s!==B&&s!==X)return s;while(s!==ur);return ur},charCodeAt(a){return a>=0&&a<e.length?e.charCodeAt(a):0},substring(a,s){return e.substring(a,s)},substrToCursor(a){return this.source.substring(a,this.tokenStart)},cmpChar(a,s){return qr(e,a,s)},cmpStr(a,s,u){return Te(e,a,s,u)},consume(a){const s=this.tokenStart;return this.eat(a),this.substrToCursor(s)},consumeFunctionName(){const a=e.substring(this.tokenStart,this.tokenEnd-1);return this.eat(C),a},consumeNumber(a){const s=e.substring(this.tokenStart,Qr(e,this.tokenStart));return this.eat(a),s},eat(a){if(this.tokenType!==a){const s=Xr[a].slice(0,-6).replace(/-/g," ").replace(/^./,f=>f.toUpperCase());let u=`${/[[\](){}]/.test(s)?`"${s}"`:s} is expected`,h=this.tokenStart;switch(a){case m:this.tokenType===C||this.tokenType===G?(h=this.tokenEnd-1,u="Identifier is expected but function found"):u="Identifier is expected";break;case D:this.isDelim(Th)&&(this.next(),h++,u="Name is expected");break;case F:this.tokenType===S&&(h=this.tokenEnd,u="Percent sign is expected");break}this.error(u,h)}this.next()},eatIdent(a){(this.tokenType!==m||this.lookupValue(0,a)===!1)&&this.error(`Identifier "${a}" is expected`),this.next()},eatDelim(a){this.isDelim(a)||this.error(`Delim "${String.fromCharCode(a)}" is expected`),this.next()},getLocation(a,s){return r?l.getLocationRange(a,s,n):null},getLocationFromList(a){if(r){const s=this.getFirstListNode(a),u=this.getLastListNode(a);return l.getLocationRange(s!==null?s.loc.start.offset-l.startOffset:this.tokenStart,u!==null?u.loc.end.offset-l.startOffset:this.tokenStart,n)}return null},error(a,s){const u=typeof s<"u"&&s<e.length?l.getLocation(s):this.eof?l.getLocation(ll(e,e.length-1)):l.getLocation(this.tokenStart);throw new lr(a||"Unexpected input",e,u.offset,u.line,u.column,l.startLine,l.startColumn)}});return Object.assign(function(a,s){e=a,s=s||{},c.setSource(e,Yr),l.setSource(e,s.offset,s.line,s.column),n=s.filename||"<unknown>",r=!!s.positions,i=typeof s.onParseError=="function"?s.onParseError:ar,o=!1,c.parseAtrulePrelude="parseAtrulePrelude"in s?!!s.parseAtrulePrelude:!0,c.parseRulePrelude="parseRulePrelude"in s?!!s.parseRulePrelude:!0,c.parseValue="parseValue"in s?!!s.parseValue:!0,c.parseCustomProperty="parseCustomProperty"in s?!!s.parseCustomProperty:!1;const{context:u="default",onComment:h}=s;if(!(u in c.context))throw new Error("Unknown context `"+u+"`");typeof h=="function"&&c.forEachToken((d,p,k)=>{if(d===X){const g=c.getLocation(p,k),y=Te(e,k-2,k,"*/")?e.slice(p+2,k-2):e.slice(p+2,k);h(y,g)}});const f=c.context[u].call(c,s);return c.eof||c.error(),f},{SyntaxError:lr,config:c.config})}const Eh=35,jh=42,hr=43,Dh=45,Rh=47,Ih=117;function is(t){switch(this.tokenType){case D:return this.Hash();case pt:return this.Operator();case P:return this.Parentheses(this.readSequence,t.recognizer);case Kt:return this.Brackets(this.readSequence,t.recognizer);case Ct:return this.String();case L:return this.Dimension();case F:return this.Percentage();case S:return this.Number();case C:return this.cmpStr(this.tokenStart,this.tokenEnd,"url(")?this.Url():this.Function(this.readSequence,t.recognizer);case G:return this.Url();case m:return this.cmpChar(this.tokenStart,Ih)&&this.cmpChar(this.tokenStart+1,hr)?this.UnicodeRange():this.Identifier();case O:{const e=this.charCodeAt(this.tokenStart);if(e===Rh||e===jh||e===hr||e===Dh)return this.Operator();e===Eh&&this.error("Hex or identifier is expected",this.tokenStart+1);break}}}const Mh={getNode:is},Nh=35,Fh=38,zh=42,$h=43,Bh=47,fr=46,Wh=62,Uh=124,Vh=126;function Hh(t,e){e.last!==null&&e.last.type!=="Combinator"&&t!==null&&t.type!=="Combinator"&&e.push({type:"Combinator",loc:null,name:" "})}function qh(){switch(this.tokenType){case Kt:return this.AttributeSelector();case D:return this.IdSelector();case Y:return this.lookupType(1)===Y?this.PseudoElementSelector():this.PseudoClassSelector();case m:return this.TypeSelector();case S:case F:return this.Percentage();case L:this.charCodeAt(this.tokenStart)===fr&&this.error("Identifier is expected",this.tokenStart+1);break;case O:{switch(this.charCodeAt(this.tokenStart)){case $h:case Wh:case Vh:case Bh:return this.Combinator();case fr:return this.ClassSelector();case zh:case Uh:return this.TypeSelector();case Nh:return this.IdSelector();case Fh:return this.NestingSelector()}break}}}const Qh={onWhiteSpace:Hh,getNode:qh};function Gh(){return this.createSingleNodeList(this.Raw(null,!1))}function Xh(){const t=this.createList();if(this.skipSC(),t.push(this.Identifier()),this.skipSC(),this.tokenType===pt){t.push(this.Operator());const e=this.tokenIndex,n=this.parseCustomProperty?this.Value(null):this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1);if(n.type==="Value"&&n.children.isEmpty){for(let r=e-this.tokenIndex;r<=0;r++)if(this.lookupType(r)===B){n.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}t.push(n)}return t}function pr(t){return t!==null&&t.type==="Operator"&&(t.value[t.value.length-1]==="-"||t.value[t.value.length-1]==="+")}const Yh={getNode:is,onWhiteSpace(t,e){pr(t)&&(t.value=" "+t.value),pr(e.last)&&(e.last.value+=" ")},expression:Gh,var:Xh},Jh=Object.freeze(Object.defineProperty({__proto__:null,AtrulePrelude:Mh,Selector:Qh,Value:Yh},Symbol.toStringTag,{value:"Module"})),Zh=new Set(["none","and","not","or"]),Kh={parse:{prelude(){const t=this.createList();if(this.tokenType===m){const e=this.substring(this.tokenStart,this.tokenEnd);Zh.has(e.toLowerCase())||t.push(this.Identifier())}return t.push(this.Condition("container")),t},block(t=!1){return this.Block(t)}}},tf={parse:{prelude:null,block(){return this.Block(!0)}}};function Je(t,e){return this.parseWithFallback(()=>{try{return t.call(this)}finally{this.skipSC(),this.lookupNonWSType(0)!==b&&this.error()}},e||(()=>this.Raw(null,!0)))}const dr={layer(){this.skipSC();const t=this.createList(),e=Je.call(this,this.Layer);return(e.type!=="Raw"||e.value!=="")&&t.push(e),t},supports(){this.skipSC();const t=this.createList(),e=Je.call(this,this.Declaration,()=>Je.call(this,()=>this.Condition("supports")));return(e.type!=="Raw"||e.value!=="")&&t.push(e),t}},ef={parse:{prelude(){const t=this.createList();switch(this.tokenType){case Ct:t.push(this.String());break;case G:case C:t.push(this.Url());break;default:this.error("String or url() is expected")}return this.skipSC(),this.tokenType===m&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer")?t.push(this.Identifier()):this.tokenType===C&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer(")&&t.push(this.Function(null,dr)),this.skipSC(),this.tokenType===C&&this.cmpStr(this.tokenStart,this.tokenEnd,"supports(")&&t.push(this.Function(null,dr)),(this.lookupNonWSType(0)===m||this.lookupNonWSType(0)===P)&&t.push(this.MediaQueryList()),t},block:null}},nf={parse:{prelude(){return this.createSingleNodeList(this.LayerList())},block(){return this.Block(!1)}}},rf={parse:{prelude(){return this.createSingleNodeList(this.MediaQueryList())},block(t=!1){return this.Block(t)}}},of={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}},sf={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}},lf={parse:{prelude(){return this.createSingleNodeList(this.Scope())},block(t=!1){return this.Block(t)}}},af={parse:{prelude:null,block(t=!1){return this.Block(t)}}},cf={parse:{prelude(){return this.createSingleNodeList(this.Condition("supports"))},block(t=!1){return this.Block(t)}}},uf={container:Kh,"font-face":tf,import:ef,layer:nf,media:rf,nest:of,page:sf,scope:lf,"starting-style":af,supports:cf};function hf(){const t=this.createList();this.skipSC();t:for(;!this.eof;){switch(this.tokenType){case m:t.push(this.Identifier());break;case Ct:t.push(this.String());break;case pt:t.push(this.Operator());break;case b:break t;default:this.error("Identifier, string or comma is expected")}this.skipSC()}return t}const _t={parse(){return this.createSingleNodeList(this.SelectorList())}},Ze={parse(){return this.createSingleNodeList(this.Selector())}},ff={parse(){return this.createSingleNodeList(this.Identifier())}},pf={parse:hf},ke={parse(){return this.createSingleNodeList(this.Nth())}},df={dir:ff,has:_t,lang:pf,matches:_t,is:_t,"-moz-any":_t,"-webkit-any":_t,where:_t,not:_t,"nth-child":ke,"nth-last-child":ke,"nth-last-of-type":ke,"nth-of-type":ke,slotted:Ze,host:Ze,"host-context":Ze},mf=Object.freeze(Object.defineProperty({__proto__:null,AnPlusB:Jr,Atrule:Kr,AtrulePrelude:ei,AttributeSelector:ii,Block:li,Brackets:ci,CDC:hi,CDO:pi,ClassSelector:mi,Combinator:yi,Comment:bi,Condition:vi,Declaration:wi,DeclarationList:Oi,Dimension:Ai,Feature:Pi,FeatureFunction:ji,FeatureRange:Ri,Function:Mi,GeneralEnclosed:Fi,Hash:$i,IdSelector:Vi,Identifier:Wi,Layer:qi,LayerList:Gi,MediaQuery:Yi,MediaQueryList:Zi,NestingSelector:to,Nth:no,Number:io,Operator:so,Parentheses:ao,Percentage:uo,PseudoClassSelector:fo,PseudoElementSelector:mo,Ratio:yo,Raw:bo,Rule:vo,Scope:xo,Selector:Lo,SelectorList:To,String:Eo,StyleSheet:Do,SupportsDeclaration:Io,TypeSelector:No,UnicodeRange:Bo,Url:Vo,Value:qo,WhiteSpace:Go},Symbol.toStringTag,{value:"Module"})),kf={parseContext:{default:"StyleSheet",stylesheet:"StyleSheet",atrule:"Atrule",atrulePrelude(t){return this.AtrulePrelude(t.atrule?String(t.atrule):null)},mediaQueryList:"MediaQueryList",mediaQuery:"MediaQuery",condition(t){return this.Condition(t.kind)},rule:"Rule",selectorList:"SelectorList",selector:"Selector",block(){return this.Block(!0)},declarationList:"DeclarationList",declaration:"Declaration",value:"Value"},features:{supports:{selector(){return this.Selector()}},container:{style(){return this.Declaration()}}},scope:Jh,atrule:uf,pseudo:df,node:mf},yf=Ph(kf);function _e(t){const e={};for(const n of Object.keys(t)){let r=t[n];r&&(Array.isArray(r)||r instanceof Q?r=r.map(_e):r.constructor===Object&&(r=_e(r))),e[n]=r}return e}let gf="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",ct=(t=21)=>{let e="",n=t|0;for(;n--;)e+=gf[Math.random()*64|0];return e};const os=ct(),ne=new Set;function Pe(t){return!!(t&&t.type==="Function"&&t.name==="anchor")}function Ot(t,e=!1){return yf(t,{parseAtrulePrelude:!1,parseCustomProperty:!0,onParseError:n=>{e&&ne.add(n)}})}function Z(t){return xh(t,{mode:"spec"})}function bf(t){return t.type==="Declaration"}function Sf(t){return t.toArray().reduce((e,n)=>n.type==="Operator"&&n.value===","?(e.push([]),e):(n.type==="Identifier"&&e[e.length-1].push(n),e),[[]])}function fn(t){return t?t.children.map(e=>{var n;let r;((n=e.children.last)==null?void 0:n.type)==="PseudoElementSelector"&&(e=_e(e),r=Z(e.children.last),e.children.pop());const i=Z(e);return{selector:i+(r??""),elementPart:i,pseudoElementPart:r}}).toArray():[]}function vf(){ne.size>0&&(console.group(`The CSS anchor positioning polyfill was not applied due to ${ne.size===1?"a CSS parse error":"CSS parse errors"}.`),ne.forEach(t=>{console.warn(t.formattedMessage)}),console.groupEnd())}function Cf(){ne.clear()}const pn=[...Zo,"anchor-scope","anchor-name"].reduce((t,e)=>(t[e]=`--${e}-${os}`,t),{});function xf(t,e){return bf(t)&&pn[t.property]&&e?(e.children.appendData(J(V({},t),{property:pn[t.property]})),{updated:!0}):{}}function wf(t){for(const e of t){let n=!1;const r=Ot(e.css,!0);Lt(r,{visit:"Declaration",enter(i){var o;const l=(o=this.rule)==null?void 0:o.block,{updated:c}=xf(i,l);c&&(n=!0)}}),n&&(e.css=Z(r),e.changed=!0)}return t.some(e=>e.changed===!0)}var ss=(t=>(t.All="all",t.None="none",t))(ss||{});function st(t,e){var n;return e=(n=pn[e])!=null?n:e,(t instanceof HTMLElement?getComputedStyle(t):t.computedStyle).getPropertyValue(e).trim()}function Jt(t,e,n){return st(t,e)===n}function Lf(t,{selector:e,pseudoElementPart:n}){const r=getComputedStyle(t,n),i=document.createElement("div"),o=document.createElement("style");i.id=`fake-pseudo-element-${ct()}`;for(const c of Array.from(r)){const a=r.getPropertyValue(c);i.style.setProperty(c,a)}o.textContent+=`#${i.id}${n} { content: ${r.content}; }`,o.textContent+=`${e} { display: none !important; }`,document.head.append(o);const l=n==="::before"?"afterbegin":"beforeend";return t.insertAdjacentElement(l,i),{fakePseudoElement:i,sheet:o,computedStyle:r}}function Of(t){let e=t;for(;e;){if(Jt(e,"overflow","scroll"))return e;e=e.parentElement}return e}function Tf(t){let e=Of(t);return e===document.documentElement&&(e=null),e??{scrollTop:0,scrollLeft:0}}function Af(t,e){const{elementPart:n,pseudoElementPart:r}=t,i=[];if(r&&!(r==="::before"||r==="::after"))return i;const o=re(e.roots,n);if(!r)return i.push(...o),i;for(const l of o){const{fakePseudoElement:c,sheet:a,computedStyle:s}=Lf(l,t),u=c.getBoundingClientRect(),{scrollY:h,scrollX:f}=globalThis,d=Tf(l);i.push({fakePseudoElement:c,computedStyle:s,removeFakePseudoElement(){c.remove(),a.remove()},contextElement:l,getBoundingClientRect(){const{scrollY:p,scrollX:k}=globalThis,{scrollTop:g,scrollLeft:y}=d;return DOMRect.fromRect({y:u.y+(h-p)+(d.scrollTop-g),x:u.x+(f-k)+(d.scrollLeft-y),width:u.width,height:u.height})}})}return i}function _f(t,e){const n=st(t,"anchor-name");return e?n.split(",").map(r=>r.trim()).includes(e):!n}function Pf(t,e){const n=st(t,"anchor-scope");return n===e||n==="all"}const On=t=>_(null,null,function*(){var e,n,r;let i=yield(e=nt.getOffsetParent)==null?void 0:e.call(nt,t);return(yield(n=nt.isElement)==null?void 0:n.call(nt,i))||(i=(yield(r=nt.getDocumentElement)==null?void 0:r.call(nt,t))||window.document.documentElement),i}),re=(t,e)=>t.flatMap(n=>[...n.querySelectorAll(e)]),mr="InvalidMimeType";function Ef(t){return!!((t.type==="text/css"||t.rel==="stylesheet")&&t.href)}function jf(t){const e=new URL(t.href,document.baseURI);if(Ef(t)&&e.origin===location.origin)return e}function Df(t){return _(this,null,function*(){return(yield Promise.all(t.map(e=>_(null,null,function*(){var n;if(!e.url)return e;if((n=e.el)!=null&&n.disabled)return null;try{const r=yield fetch(e.url.toString()),i=r.headers.get("content-type");if(!(i!=null&&i.startsWith("text/css"))){const l=new Error(`Error loading ${e.url}: expected content-type "text/css", got "${i}".`);throw l.name=mr,l}const o=yield r.text();return J(V({},e),{css:o})}catch(r){if(r instanceof Error&&r.name===mr)return console.warn(r),null;throw r}})))).filter(e=>e!==null)})}const kr='[style*="anchor"]',yr='[style*="position-area"]';function Rf(t){const e=t?t.filter(r=>r instanceof HTMLElement&&(r.matches(kr)||r.matches(yr))):Array.from(document.querySelectorAll([kr,yr].join(","))),n=[];return e.filter(r=>r instanceof HTMLElement).forEach(r=>{const i=ct(12),o="data-has-inline-styles";r.setAttribute(o,i);const l=r.getAttribute("style"),c=`[${o}="${i}"] { ${l} }`;n.push({el:r,css:c})}),n}function If(t){return _(this,null,function*(){var e,n;const r=(e=t.elements)!=null?e:re(t.roots,"link, style"),i=[];r.filter(c=>c instanceof HTMLElement).forEach(c=>{if(c.tagName.toLowerCase()==="link"){const a=jf(c);a&&i.push({el:c,url:a})}c.tagName.toLowerCase()==="style"&&i.push({el:c,css:c.innerHTML})});const o=t.excludeInlineStyles?(n=t.elements)!=null?n:[]:void 0,l=Rf(o);return yield Df([...i,...l])})}const Mf="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let ls=(t=21)=>{let e="",n=crypto.getRandomValues(new Uint8Array(t|=0));for(;t--;)e+=Mf[n[t]&63];return e};const as="--pa-cascade-property",cs="data-anchor-position-wrapper",us="data-pa-wrapper-for-",gr="POLYFILL-POSITION-AREA",Nf=["left","center","right","span-left","span-right","x-start","x-end","span-x-start","span-x-end","x-self-start","x-self-end","span-x-self-start","span-x-self-end","span-all","top","bottom","span-top","span-bottom","y-start","y-end","span-y-start","span-y-end","y-self-start","y-self-end","span-y-self-start","span-y-self-end","block-start","block-end","span-block-start","span-block-end","inline-start","inline-end","span-inline-start","span-inline-end","self-block-start","self-block-end","span-self-block-start","span-self-block-end","self-inline-start","self-inline-end","span-self-inline-start","span-self-inline-end","start","end","span-start","span-end","self-start","self-end","span-self-start","span-self-end"];function hs(t){return Nf.includes(t)}const br={left:[0,1,"Irrelevant"],center:[1,2,"Irrelevant"],right:[2,3,"Irrelevant"],"span-left":[0,2,"Irrelevant"],"span-right":[1,3,"Irrelevant"],"x-start":[0,1,"Physical"],"x-end":[2,3,"Physical"],"span-x-start":[0,2,"Physical"],"span-x-end":[1,3,"Physical"],"x-self-start":[0,1,"PhysicalSelf"],"x-self-end":[2,3,"PhysicalSelf"],"span-x-self-start":[0,2,"PhysicalSelf"],"span-x-self-end":[1,3,"PhysicalSelf"],"span-all":[0,3,"Irrelevant"],top:[0,1,"Irrelevant"],bottom:[2,3,"Irrelevant"],"span-top":[0,2,"Irrelevant"],"span-bottom":[1,3,"Irrelevant"],"y-start":[0,1,"Physical"],"y-end":[2,3,"Physical"],"span-y-start":[0,2,"Physical"],"span-y-end":[1,3,"Physical"],"y-self-start":[0,1,"PhysicalSelf"],"y-self-end":[2,3,"PhysicalSelf"],"span-y-self-start":[0,2,"PhysicalSelf"],"span-y-self-end":[1,3,"PhysicalSelf"],"block-start":[0,1,"Logical"],"block-end":[2,3,"Logical"],"span-block-start":[0,2,"Logical"],"span-block-end":[1,3,"Logical"],"inline-start":[0,1,"Logical"],"inline-end":[2,3,"Logical"],"span-inline-start":[0,2,"Logical"],"span-inline-end":[1,3,"Logical"],"self-block-start":[0,1,"LogicalSelf"],"self-block-end":[2,3,"LogicalSelf"],"span-self-block-start":[0,2,"LogicalSelf"],"span-self-block-end":[1,3,"LogicalSelf"],"self-inline-start":[0,1,"LogicalSelf"],"self-inline-end":[2,3,"LogicalSelf"],"span-self-inline-start":[0,2,"LogicalSelf"],"span-self-inline-end":[1,3,"LogicalSelf"],start:[0,1,"Logical"],end:[2,3,"Logical"],"span-start":[0,2,"Logical"],"span-end":[1,3,"Logical"],"self-start":[0,1,"LogicalSelf"],"self-end":[2,3,"LogicalSelf"],"span-self-start":[0,2,"LogicalSelf"],"span-self-end":[1,3,"LogicalSelf"]},Ff=["left","center","right","span-left","span-right","x-start","x-end","span-x-start","span-x-end","x-self-start","x-self-end","span-x-self-start","span-x-self-end","span-all"],zf=["top","center","bottom","span-top","span-bottom","y-start","y-end","span-y-start","span-y-end","y-self-start","y-self-end","span-y-self-start","span-y-self-end","span-all"],$f=["block-start","center","block-end","span-block-start","span-block-end","span-all"],Bf=["inline-start","center","inline-end","span-inline-start","span-inline-end","span-all"],Wf=["self-block-start","center","self-block-end","span-self-block-start","span-self-block-end","span-all"],Uf=["self-inline-start","center","self-inline-end","span-self-inline-start","span-self-inline-end","span-all"],Sr=["start","center","end","span-start","span-end","span-all"],vr=["self-start","center","self-end","span-self-start","span-self-end","span-all"],Vf=["block","top","bottom","y"],Hf=["inline","left","right","x"];function dn(t){const e=t.split("-");for(const n of e){if(Vf.includes(n))return"block";if(Hf.includes(n))return"inline"}return"ambiguous"}function qf(t,e){return e[0].includes(t[0])&&e[1].includes(t[1])||e[0].includes(t[1])&&e[1].includes(t[0])}const Qf=[[Ff,zf],[$f,Bf],[Wf,Uf],[Sr,Sr],[vr,vr]];function Gf(t){for(const e of Qf)if(qf(t,e))return!0;return!1}const Cr=t=>{const e=getComputedStyle(t);return{writingMode:e.writingMode,direction:e.direction}},Xf=(t,e)=>_(null,null,function*(){const n=yield On(t);switch(e){case"Logical":case"Physical":return Cr(n);case"LogicalSelf":case"PhysicalSelf":return Cr(t);default:return null}}),Ke=t=>t.reverse().map(e=>3-e),fs=(t,e)=>t==="Irrelevant"?e:t,Yf=(t,e)=>_(null,[t,e],function*({block:n,inline:r},i){const o=fs(n[2],r[2]),l=yield Xf(i,o),c={block:[n[0],n[1]],inline:[r[0],r[1]]};if(l){if(l.direction==="rtl"&&(c.inline=Ke(c.inline)),l.writingMode.startsWith("vertical")){const a=c.block;c.block=c.inline,c.inline=a}if(l.writingMode.startsWith("sideways")){const a=c.block;c.block=c.inline,c.inline=a,l.writingMode.endsWith("lr")&&(c.block=Ke(c.block))}l.writingMode.endsWith("rl")&&(c.inline=Ke(c.inline))}return c}),Jf=({block:t,inline:e})=>{const n=[0,"top","bottom",0],r=[0,"left","right",0];return{block:[n[t[0]],n[t[1]]],inline:[r[e[0]],r[e[1]]]}};function xr([t,e]){return t===0&&e===3?"center":t===0?"end":e===3?"start":"center"}function Zf(t){return t.type==="Declaration"&&t.property==="position-area"}function Kf(t){const e=t.value.children.toArray().map(({name:n})=>n);return e.length===1&&(dn(e[0])==="ambiguous"?e.push(e[0]):e.push("span-all")),e}function tp(t){if(!Zf(t))return;const e=Kf(t);if(!Gf(e))return;const n={};switch(dn(e[0])){case"block":n.block=e[0],n.inline=e[1];break;case"inline":n.inline=e[0],n.block=e[1];break;case"ambiguous":dn(e[1])=="block"?(n.block=e[1],n.inline=e[0]):(n.inline=e[1],n.block=e[0]);break}const r={block:br[n.block],inline:br[n.inline]},i=`--pa-declaration-${ls(12)}`;return{values:n,grid:r,selectorUUID:i}}function ep(t,e){["justify-self","align-self"].forEach(n=>{e.children.appendData({type:"Declaration",property:n,value:{type:"Raw",value:`var(--pa-value-${n})`},important:!1})}),e.children.appendData({type:"Declaration",property:as,value:{type:"Raw",value:t.selectorUUID},important:!1})}function np(t,e){var n,r;let i;if(((n=t.parentElement)==null?void 0:n.tagName)===gr)i=t.parentElement;else{i=document.createElement(gr),i.style.display="grid",i.style.position="absolute";const o=getComputedStyle(t).pointerEvents;i.style.pointerEvents="none",t.style.pointerEvents=o,["top","left","right","bottom"].forEach(l=>{i.style.setProperty(l,`var(--pa-value-${l})`)}),(r=t.parentElement)==null||r.insertBefore(i,t),i.appendChild(t)}return i.setAttribute(`${us}${e}`,""),i}function rp(t,e,n){return _(this,null,function*(){const r=`--pa-target-${ls(12)}`,i=yield Yf(e.grid,t),o=Jf(i),l=fs(e.grid.block[2],e.grid.inline[2]),c=["LogicalSelf","PhysicalSelf"].includes(l)?i:e.grid,a={block:xr([c.block[0],c.block[1]]),inline:xr([c.inline[0],c.inline[1]])};return{insets:o,alignments:a,targetUUID:r,targetEl:t,anchorEl:n,wrapperEl:np(t,r),values:e.values,grid:e.grid,selectorUUID:e.selectorUUID}})}function ip(t,e){return`
|
|
8
|
-
[${cs}="${e}"][${us}${t}] {
|
|
9
|
-
--pa-value-top: var(${t}-top);
|
|
10
|
-
--pa-value-left: var(${t}-left);
|
|
11
|
-
--pa-value-right: var(${t}-right);
|
|
12
|
-
--pa-value-bottom: var(${t}-bottom);
|
|
13
|
-
--pa-value-justify-self: var(${t}-justify-self);
|
|
14
|
-
--pa-value-align-self: var(${t}-align-self);
|
|
15
|
-
}
|
|
16
|
-
`.replaceAll(`
|
|
17
|
-
`,"")}const op=["normal","most-width","most-height","most-block-size","most-inline-size"],sp=["flip-block","flip-inline","flip-start"];function lp(t){return t.type==="Declaration"}function ap(t){return t.type==="Declaration"&&t.property==="position-try-fallbacks"}function cp(t){return t.type==="Declaration"&&t.property==="position-try-order"}function up(t){return t.type==="Declaration"&&t.property==="position-try"}function hp(t){return t.type==="Atrule"&&t.name==="position-try"}function fp(t){return sp.includes(t)}function pp(t){return op.includes(t)}function dp(t,e){const n=document.querySelector(t);if(n){let r=kp(n);return e.forEach(i=>{r=ps(r,i)}),r}}function mp(t,e){let n=t.declarations;return e.forEach(r=>{n=ps(n,r)}),n}function kp(t){const e={};return Zo.forEach(n=>{const r=st(t,`--${n}-${os}`);r&&(e[n]=r)}),e}const yp={"flip-block":{top:"bottom",bottom:"top","inset-block-start":"inset-block-end","inset-block-end":"inset-block-start","margin-top":"margin-bottom","margin-bottom":"margin-top"},"flip-inline":{left:"right",right:"left","inset-inline-start":"inset-inline-end","inset-inline-end":"inset-inline-start","margin-left":"margin-right","margin-right":"margin-left"},"flip-start":{left:"top",right:"bottom",top:"left",bottom:"right","inset-block-start":"inset-block-end","inset-block-end":"inset-block-start","inset-inline-start":"inset-inline-end","inset-inline-end":"inset-inline-start","inset-block":"inset-inline","inset-inline":"inset-block"}},gp={"flip-block":{top:"bottom",bottom:"top",start:"end",end:"start","self-end":"self-start","self-start":"self-end"},"flip-inline":{left:"right",right:"left",start:"end",end:"start","self-end":"self-start","self-start":"self-end"},"flip-start":{top:"left",left:"top",right:"bottom",bottom:"right"}},bp={"flip-block":{top:"bottom",bottom:"top",start:"end",end:"start"},"flip-inline":{left:"right",right:"left",start:"end",end:"start"},"flip-start":{}};function Sp(t,e){return yp[e][t]||t}function vp(t,e){return gp[e][t]||t}function Cp(t,e){if(e==="flip-start")return t;{const n=bp[e];return t.split("-").map(r=>n[r]||r).join("-")}}function xp(t,e,n){if(t==="margin"){const[r,i,o,l]=e.children.toArray();n==="flip-block"?l?e.children.fromArray([o,i,r,l]):o&&e.children.fromArray([o,i,r]):n==="flip-inline"&&l&&e.children.fromArray([r,l,o,i])}else if(t==="margin-block"){const[r,i]=e.children.toArray();n==="flip-block"&&i&&e.children.fromArray([i,r])}else if(t==="margin-inline"){const[r,i]=e.children.toArray();n==="flip-inline"&&i&&e.children.fromArray([i,r])}}const wp=(t,e)=>{var n;return((n=Ot(`#id{${t}: ${e};}`).children.first)==null?void 0:n.block.children.first).value};function ps(t,e){const n={};return Object.entries(t).forEach(([r,i])=>{const o=r,l=wp(o,i),c=Sp(o,e);c!==o&&(n[o]!=null||(n[o]="revert")),Lt(l,{visit:"Function",enter(a){Pe(a)&&a.children.forEach(s=>{ie(s)&&ts(s.name)&&(s.name=vp(s.name,e))})}}),o==="position-area"&&l.children.forEach(a=>{ie(a)&&hs(a.name)&&(a.name=Cp(a.name,e))}),o.startsWith("margin")&&xp(o,l,e),n[c]=Z(l)}),n}function ds(t){const e=Sf(t),n=[];return e.forEach(r=>{const i={atRules:[],tactics:[],positionAreas:[]};r.forEach(o=>{fp(o.name)?i.tactics.push(o.name):o.name.startsWith("--")?i.atRules.push(o.name):hs(o.name)&&i.positionAreas.push(o.name)}),i.positionAreas.length?n.push({positionArea:i.positionAreas[0],type:"position-area"}):i.atRules.length&&i.tactics.length?n.push({tactics:i.tactics,atRule:i.atRules[0],type:"at-rule-with-try-tactic"}):i.atRules.length?n.push({atRule:i.atRules[0],type:"at-rule"}):i.tactics.length&&n.push({tactics:i.tactics,type:"try-tactic"})}),n}function Lp(t){return ap(t)&&t.value.children.first?ds(t.value.children):[]}function Op(t){if(up(t)&&t.value.children.first){const e=_e(t);let n;const r=e.value.children.first.name;r&&pp(r)&&(n=r,e.value.children.shift());const i=ds(e.value.children);return{order:n,options:i}}return{}}function Tp(t){return cp(t)&&t.value.children.first?{order:t.value.children.first.name}:{}}function Ap(t){const{order:e,options:n}=Op(t);if(e||n)return{order:e,options:n};const{order:r}=Tp(t),i=Lp(t);return r||i?{order:r,options:i}:{}}function _p(t){return ce(t.property)||sh(t.property)||Yo(t.property)||lh(t.property)||["position-anchor","position-area"].includes(t.property)}function Pp(t){var e,n;if(hp(t)&&(e=t.prelude)!=null&&e.value&&(n=t.block)!=null&&n.children){const r=t.prelude.value,i=t.block.children.filter(l=>lp(l)&&_p(l)),o={uuid:`${r}-try-${ct(12)}`,declarations:Object.fromEntries(i.map(l=>[l.property,Z(l.value)]))};return{name:r,tryBlock:o}}return{}}function Ep(t){const e={},n={},r={};for(const i of t){const o=Ot(i.css);Lt(o,{visit:"Atrule",enter(l){const{name:c,tryBlock:a}=Pp(l);c&&a&&(e[c]=a)}})}for(const i of t){let o=!1;const l=new Set,c=Ot(i.css);Lt(c,{visit:"Declaration",enter(a){var s;const u=(s=this.rule)==null?void 0:s.prelude,h=fn(u);if(!h.length)return;const{order:f,options:d}=Ap(a),p={};f&&(p.order=f),h.forEach(({selector:k})=>{var g;d?.forEach(y=>{var w;let x;if(y.type==="at-rule")x=y.atRule;else if(y.type==="try-tactic"){x=`${k}-${y.tactics.join("-")}`;const T=dp(k,y.tactics);T&&(e[x]={uuid:`${k}-${y.tactics.join("-")}-try-${ct(12)}`,declarations:T})}else if(y.type==="at-rule-with-try-tactic"){x=`${k}-${y.atRule}-${y.tactics.join("-")}`;const T=e[y.atRule],lt=mp(T,y.tactics);lt&&(e[x]={uuid:`${k}-${y.atRule}-${y.tactics.join("-")}-try-${ct(12)}`,declarations:lt})}if(x&&e[x]){const T=`[data-anchor-polyfill="${e[x].uuid}"]`;n[T]!=null||(n[T]=[]),n[T].push(k),l.has(x)||(p.fallbacks!=null||(p.fallbacks=[]),p.fallbacks.push(e[x]),l.add(x),(w=this.stylesheet)==null||w.children.prependData({type:"Rule",prelude:{type:"Raw",value:T},block:{type:"Block",children:new Q().fromArray(Object.entries(e[x].declarations).map(([lt,v])=>({type:"Declaration",important:!0,property:lt,value:{type:"Raw",value:v}})))}}),o=!0)}}),Object.keys(p).length>0&&(r[k]?(p.order&&(r[k].order=p.order),p.fallbacks&&((g=r[k]).fallbacks!=null||(g.fallbacks=[]),r[k].fallbacks.push(...p.fallbacks))):r[k]=p)})}}),o&&(i.css=Z(c),i.changed=!0)}return{fallbackTargets:n,validPositions:r}}function jp(t,e){return!t||t===e?!1:ms(t)?t.document.contains(e):t.contains(e)}function ms(t){return!!(t&&t===t.window)}function Dp(t){return Jt(t,"position","fixed")}function mn(t){return!!(t&&(Dp(t)||Jt(t,"position","absolute")))}function wr(t,e){return t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING}function Rp(t){return _(this,null,function*(){return yield nt.getOffsetParent(t)})}function tn(t){return _(this,null,function*(){if(!["absolute","fixed"].includes(st(t,"position")))return yield Rp(t);let e=t.parentElement;for(;e;){if(!Jt(e,"position","static")&&Jt(e,"display","block"))return e;e=e.parentElement}return window})}function Ip(t,e,n,r){return _(this,null,function*(){const i=yield tn(t),o=yield tn(n);if(!(jp(o,t)||ms(o))||i===o&&!(!mn(t)||wr(t,n)))return!1;if(i!==o){let l;const c=[];for(l=i;l&&l!==o&&l!==window;)c.push(l),l=yield tn(l);const a=c[c.length-1];if(a instanceof HTMLElement&&!(!mn(a)||wr(a,n)))return!1}{let l=t.parentElement;for(;l;){if(Jt(l,"content-visibility","hidden"))return!1;l=l.parentElement}}return!(e&&r&&Lr(t,e,r)!==Lr(n,e,r))})}function Lr(t,e,n){for(;!(t.matches(n)&&Pf(t,e));){if(!t.parentElement)return null;t=t.parentElement}return t}function Mp(t,e,n,r,i){return _(this,null,function*(){if(!(t instanceof HTMLElement&&n.length&&mn(t)))return null;const o=n.flatMap(c=>Af(c,i)).filter(c=>_f(c,e)),l=r.map(c=>c.selector).join(",")||null;for(let c=o.length-1;c>=0;c--){const a=o[c],s="fakePseudoElement"in a;if(yield Ip(s?a.fakePseudoElement:a,e,t,l))return s&&a.removeFakePseudoElement(),a}return null})}function Np(t){return t.type==="Declaration"&&t.property==="anchor-name"}function Fp(t){return t.type==="Declaration"&&t.property==="anchor-scope"}function kn(t){return!!(t&&t.type==="Function"&&t.name==="anchor-size")}function Ce(t){return!!(t&&t.type==="Function"&&t.name==="var")}function ie(t){return!!(t.type==="Identifier"&&t.name)}function zp(t){return!!(t.type==="Percentage"&&t.value)}function Or(t,e){let n,r,i,o="",l=!1,c;const a=[];t.children.toArray().forEach(f=>{if(l){o=`${o}${Z(f)}`;return}if(f.type==="Operator"&&f.value===","){l=!0;return}a.push(f)});let[s,u]=a;if(u||(u=s,s=void 0),s&&(ie(s)&&s.name.startsWith("--")?n=s.name:Ce(s)&&s.children.first&&(c=s.children.first.name)),u)if(Pe(t)){if(ie(u)&&ts(u.name))r=u.name;else if(zp(u)){const f=Number(u.value);r=Number.isNaN(f)?void 0:f}}else kn(t)&&ie(u)&&hh(u.name)&&(i=u.name);const h=`--anchor-${ct(12)}`;return Object.assign(t,{type:"Raw",value:`var(${h})`,children:null}),Reflect.deleteProperty(t,"name"),{anchorName:n,anchorSide:r,anchorSize:i,fallbackValue:o||"0px",customPropName:c,uuid:h}}function Tr(t){return t.value.children.map(({name:e})=>e)}let oe={},jt={},Dt={},se={},Et={};function $p(){oe={},jt={},Dt={},se={},Et={}}function Bp(t,e){var n;if((Pe(t)||kn(t))&&e){if(e.property.startsWith("--")){const r=Z(e.value),i=Or(t);return se[i.uuid]=r,Dt[e.property]=[...(n=Dt[e.property])!=null?n:[],i],{changed:!0}}if(Pe(t)&&ce(e.property)||kn(t)&&Ko(e.property)){const r=Or(t);return{prop:e.property,data:r,changed:!0}}}return{}}function Ar(t,e,n){return _(this,null,function*(){let r=e?.anchorName;const i=e?.customPropName;if(t&&!r){const a=st(t,"position-anchor");a?r=a:i&&(r=st(t,i))}const o=r?oe[r]||[]:[],l=r?jt[ss.All]||[]:[],c=r?jt[r]||[]:[];return yield Mp(t,r||null,o,[...l,...c],{roots:n.roots})})}function Wp(t,e){return _(this,null,function*(){var n,r,i,o,l,c,a,s,u,h,f;const d={},p={};$p();const{fallbackTargets:k,validPositions:g}=Ep(t);for(const v of t){let R=!1;const z=Ot(v.css);Lt(z,function(A){var $,I,E,U;const j=($=this.rule)==null?void 0:$.prelude,M=fn(j);if(Np(A)&&M.length)for(const N of Tr(A))oe[N]!=null||(oe[N]=[]),oe[N].push(...M);if(Fp(A)&&M.length)for(const N of Tr(A))jt[N]!=null||(jt[N]=[]),jt[N].push(...M);const{prop:q,data:dt,changed:At}=Bp(A,this.declaration);if(q&&dt&&M.length)for(const{selector:N}of M)d[N]=J(V({},d[N]),{[q]:[...(E=(I=d[N])==null?void 0:I[q])!=null?E:[],dt]});let H;if(this.block&&(H=tp(A),H)){ep(H,this.block);for(const{selector:N}of M)p[N]=[...(U=p[N])!=null?U:[],H]}(At||H)&&(R=!0)}),R&&(v.css=Z(z),v.changed=!0)}const y=new Set(Object.keys(Dt)),w={},x=v=>{var R,z,A,$,I;const E=[],U=new Set((z=(R=w[v])==null?void 0:R.names)!=null?z:[]);for(;U.size>0;)for(const j of U)E.push(...(A=Dt[j])!=null?A:[]),U.delete(j),(I=($=w[j])==null?void 0:$.names)!=null&&I.length&&w[j].names.forEach(M=>U.add(M));return E};for(;y.size>0;){const v=[];for(const R of t){let z=!1;const A=Ot(R.css);Lt(A,{visit:"Function",enter($){var I,E;const U=(I=this.rule)==null?void 0:I.prelude,j=this.declaration,M=j?.property;if(U?.children.isEmpty===!1&&Ce($)&&j&&M&&$.children.first&&y.has($.children.first.name)&&M.startsWith("--")){const q=$.children.first,dt=(E=Dt[q.name])!=null?E:[],At=x(q.name);if(!(dt.length||At.length))return;const H=`${q.name}-anchor-${ct(12)}`,N=Z(j.value);se[H]=N,w[M]||(w[M]={names:[],uuids:[]});const Nt=w[M];Nt.names.includes(q.name)||Nt.names.push(q.name),Nt.uuids.push(H),v.push(M),q.name=H,z=!0}}}),z&&(R.css=Z(A),R.changed=!0)}y.clear(),v.forEach(R=>y.add(R))}for(const v of t){let R=!1;const z=Ot(v.css);Lt(z,{visit:"Function",enter(A){var $,I,E,U,j,M,q;const dt=($=this.rule)==null?void 0:$.prelude,At=this.declaration,H=At?.property;if(dt?.children.isEmpty===!1&&Ce(A)&&At&&H&&A.children.first&&(ce(H)||Yo(H))){const N=A.children.first,Nt=(I=Dt[N.name])!=null?I:[],Me=x(N.name);if(!(Nt.length||Me.length))return;const he=`${H}-${ct(12)}`;if(Me.length){const Ft=new Set([N.name]);for(;Ft.size>0;)for(const zt of Ft){const ot=w[zt];if((E=ot?.names)!=null&&E.length&&(U=ot?.uuids)!=null&&U.length)for(const $t of ot.names)for(const Bt of ot.uuids)Et[Bt]=J(V({},Et[Bt]),{[he]:`${$t}-${he}`});Ft.delete(zt),(j=ot?.names)!=null&&j.length&&ot.names.forEach($t=>Ft.add($t))}}const ks=fn(dt);for(const Ft of[...Nt,...Me]){const zt=V({},Ft),ot=`--anchor-${ct(12)}-${H}`,$t=zt.uuid;zt.uuid=ot;for(const{selector:Bt}of ks)d[Bt]=J(V({},d[Bt]),{[H]:[...(q=(M=d[Bt])==null?void 0:M[H])!=null?q:[],zt]});Et[$t]=J(V({},Et[$t]),{[he]:ot})}N.name=`${N.name}-${he}`,R=!0}}}),R&&(v.css=Z(z),v.changed=!0)}if(Object.keys(Et).length>0)for(const v of t){let R=!1;const z=Ot(v.css);Lt(z,{visit:"Function",enter(A){var $,I,E,U;if(Ce(A)&&(I=($=A.children.first)==null?void 0:$.name)!=null&&I.startsWith("--")&&(U=(E=this.declaration)==null?void 0:E.property)!=null&&U.startsWith("--")&&this.block){const j=A.children.first,M=Et[j.name];if(M)for(const[q,dt]of Object.entries(M))this.block.children.appendData({type:"Declaration",important:!1,property:`${this.declaration.property}-${q}`,value:{type:"Raw",value:Z(this.declaration.value).replace(`var(${j.name})`,`var(${dt})`)}}),R=!0;se[j.name]&&(this.declaration.value={type:"Raw",value:se[j.name]},R=!0)}}}),R&&(v.css=Z(z),v.changed=!0)}const T=new Map;for(const[v,R]of Object.entries(d)){let z;v.startsWith("[data-anchor-polyfill=")&&(n=k[v])!=null&&n.length?z=re(e.roots,k[v].join(",")):z=re(e.roots,v);for(const[A,$]of Object.entries(R))for(const I of $)for(const E of z){const U=yield Ar(E,I,{roots:e.roots}),j=`--anchor-${ct(12)}`;T.set(E,J(V({},(r=T.get(E))!=null?r:{}),{[I.uuid]:j})),E.setAttribute("style",`${I.uuid}: var(${j}); ${(i=E.getAttribute("style"))!=null?i:""}`),g[v]=J(V({},g[v]),{declarations:J(V({},(o=g[v])==null?void 0:o.declarations),{[A]:[...(a=(c=(l=g[v])==null?void 0:l.declarations)==null?void 0:c[A])!=null?a:[],J(V({},I),{anchorEl:U,targetEl:E,uuid:j})]})})}}const lt={el:document.createElement("link"),changed:!1,created:!0,css:""};t.push(lt);for(const[v,R]of Object.entries(p)){const z=re(e.roots,v);for(const A of z){const $=yield Ar(A,null,{roots:e.roots});for(const I of R){const E=yield rp(A,I,$);lt.css+=ip(E.targetUUID,I.selectorUUID),lt.changed=!0,g[v]=J(V({},g[v]),{declarations:J(V({},(s=g[v])==null?void 0:s.declarations),{"position-area":[...(f=(h=(u=g[v])==null?void 0:u.declarations)==null?void 0:h["position-area"])!=null?f:[],E]})})}}}return{rules:g,inlineStyles:T,anchorScopes:jt}})}const Up=["as","blocking","crossorigin","disabled","fetchpriority","href","hreflang","integrity","referrerpolicy","rel","type"];function _r(t,e,n=!1){const r=[];for(const{el:i,css:o,changed:l,created:c=!1}of t){const a={el:i,css:o,changed:!1};if(l){if(i.tagName.toLowerCase()==="style")i.innerHTML=o;else if(i instanceof HTMLLinkElement){const s=document.createElement("style");s.textContent=o;for(const u of i.getAttributeNames())if(!u.startsWith("on")&&!Up.includes(u)){const h=i.getAttribute(u);h!==null&&s.setAttribute(u,h)}i.hasAttribute("href")&&s.setAttribute("data-original-href",i.getAttribute("href")),c?(s.setAttribute("data-generated-by-polyfill","true"),document.head.insertAdjacentElement("beforeend",s)):(i.insertAdjacentElement("beforebegin",s),i.remove()),a.el=s}else if(i.hasAttribute("data-has-inline-styles")){const s=i.getAttribute("data-has-inline-styles");if(s){const u=`[data-has-inline-styles="${s}"]{`;let h=o.slice(u.length,-1);const f=e?.get(i);if(f)for(const[d,p]of Object.entries(f))h=`${d}: var(${p}); ${h}`;i.setAttribute("style",h)}}}n&&i.hasAttribute("data-has-inline-styles")&&i.removeAttribute("data-has-inline-styles"),r.push(a)}return r}const Vp=J(V({},nt),{_c:new Map}),Hp=(t,e)=>{let n;switch(t){case"start":case"self-start":n=0;break;case"end":case"self-end":n=100;break;default:typeof t=="number"&&!Number.isNaN(t)&&(n=t)}if(n!==void 0)return e?100-n:n},qp=(t,e)=>{let n;switch(t){case"block":case"self-block":n=e?"width":"height";break;case"inline":case"self-inline":n=e?"height":"width";break}return n},Pr=t=>{switch(t){case"top":case"bottom":return"y";case"left":case"right":return"x"}return null},Qp=t=>{switch(t){case"x":return"width";case"y":return"height"}return null},Er=t=>st(t,"display")==="inline",jr=(t,e)=>(e==="x"?["border-left-width","border-right-width"]:["border-top-width","border-bottom-width"]).reduce((n,r)=>n+parseInt(st(t,r),10),0)||0,ye=(t,e)=>parseInt(st(t,`margin-${e}`),10)||0,Gp=t=>({top:ye(t,"top"),right:ye(t,"right"),bottom:ye(t,"bottom"),left:ye(t,"left")}),en=t=>_(null,[t],function*({targetEl:e,targetProperty:n,anchorRect:r,anchorSide:i,anchorSize:o,fallback:l=null}){var c;if(!((o||i!==void 0)&&e&&r))return l;if(o){if(!Ko(n))return l;let a;switch(o){case"width":case"height":a=o;break;default:{let s=!1;const u=st(e,"writing-mode");s=u.startsWith("vertical-")||u.startsWith("sideways-"),a=qp(o,s)}}return a?`${r[a]}px`:l}if(i!==void 0){let a,s;const u=Pr(n);if(!(ce(n)&&u&&(!ce(i)||u===Pr(i))))return l;const h=["top","left"];switch(i){case"left":case"top":a=0;break;case"right":case"bottom":a=100;break;case"center":a=50;break;case"inside":a=h.includes(n)?0:100;break;case"outside":a=h.includes(n)?100:0;break;default:if(e){const p=(yield(c=nt.isRTL)==null?void 0:c.call(nt,e))||!1;a=Hp(i,p)}}const f=typeof a=="number"&&!Number.isNaN(a),d=Qp(u);if(f&&d){(n==="bottom"||n==="right")&&(s=yield On(e));let p=r[u]+r[d]*(a/100);switch(n){case"bottom":{if(!s)break;let k=s.clientHeight;if(k===0&&Er(s)){const g=jr(s,u);k=s.offsetHeight-g}p=k-p;break}case"right":{if(!s)break;let k=s.clientWidth;if(k===0&&Er(s)){const g=jr(s,u);k=s.offsetWidth-g}p=k-p;break}}return`${p}px`}}return l}),Xp=t=>"wrapperEl"in t,Yp=t=>"uuid"in t;function Jp(t,e=!1){return _(this,null,function*(){const n=document.documentElement;for(const[r,i]of Object.entries(t))for(const o of i){const l=o.anchorEl,c=o.targetEl;if(l&&c)if(Xp(o)){const a=o.wrapperEl,s=(u,h,f)=>_(null,null,function*(){return u===0?"0px":yield en({targetEl:a,targetProperty:h,anchorRect:f,anchorSide:u})});on(l,a,()=>_(null,null,function*(){const u=st(c,as);a.setAttribute(cs,u);const h=yield nt.getElementRects({reference:l,floating:a,strategy:"absolute"}),f=o.insets,d=yield s(f.block[0],"top",h.reference),p=yield s(f.block[1],"bottom",h.reference),k=yield s(f.inline[0],"left",h.reference),g=yield s(f.inline[1],"right",h.reference);n.style.setProperty(`${o.targetUUID}-top`,d||null),n.style.setProperty(`${o.targetUUID}-left`,k||null),n.style.setProperty(`${o.targetUUID}-right`,g||null),n.style.setProperty(`${o.targetUUID}-bottom`,p||null),n.style.setProperty(`${o.targetUUID}-justify-self`,o.alignments.inline),n.style.setProperty(`${o.targetUUID}-align-self`,o.alignments.block)}),{animationFrame:e})}else on(l,c,()=>_(null,null,function*(){const a=yield nt.getElementRects({reference:l,floating:c,strategy:"absolute"}),s=yield en({targetEl:c,targetProperty:r,anchorRect:a.reference,anchorSide:o.anchorSide,anchorSize:o.anchorSize,fallback:o.fallbackValue});n.style.setProperty(o.uuid,s)}),{animationFrame:e});else if(Yp(o)){const a=yield en({targetProperty:r,anchorSide:o.anchorSide,anchorSize:o.anchorSize,fallback:o.fallbackValue});n.style.setProperty(o.uuid,a)}}})}function Dr(t,e){return _(this,null,function*(){const n=yield nt.getElementRects({reference:t,floating:t,strategy:"absolute"});return yield Ys({x:t.offsetLeft,y:t.offsetTop,platform:Vp,rects:n,elements:{floating:t,reference:e},strategy:"absolute"},{padding:Gp(t)})})}function Zp(t,e,n=!1){return _(this,null,function*(){if(!e.length)return;const r=document.querySelectorAll(t);for(const i of r){let o=!1;const l=yield On(i);on({},i,()=>_(null,null,function*(){if(o)return;o=!0,i.removeAttribute("data-anchor-polyfill");const c=yield Dr(i,l);if(Object.values(c).every(a=>a<=0)){i.removeAttribute("data-anchor-polyfill-last-successful"),o=!1;return}for(const[a,{uuid:s}]of e.entries()){i.setAttribute("data-anchor-polyfill",s);const u=yield Dr(i,l);if(Object.values(u).every(h=>h<=0)){i.setAttribute("data-anchor-polyfill-last-successful",s),o=!1;break}if(a===e.length-1){const h=i.getAttribute("data-anchor-polyfill-last-successful");h?i.setAttribute("data-anchor-polyfill",h):i.removeAttribute("data-anchor-polyfill"),o=!1;break}}}),{animationFrame:n,layoutShift:!1})}})}function Kp(t,e=!1){return _(this,null,function*(){var n,r;for(const i of Object.values(t))yield Jp((n=i.declarations)!=null?n:{},e);for(const[i,o]of Object.entries(t))yield Zp(i,(r=o.fallbacks)!=null?r:[],e)})}function td(t={}){const e=typeof t=="boolean"?{useAnimationFrame:t}:t,n=e.useAnimationFrame===void 0?!!window.UPDATE_ANCHOR_ON_ANIMATION_FRAME:e.useAnimationFrame;return Array.isArray(e.elements)||(e.elements=void 0),(!Array.isArray(e.roots)||e.roots.length===0)&&(e.roots=[document]),Object.assign(e,{useAnimationFrame:n})}function ed(t){return _(this,null,function*(){const e=td(t??window.ANCHOR_POSITIONING_POLYFILL_OPTIONS);let n=yield If(e),r={},i;Cf();try{wf(n)&&(n=_r(n));const o=yield Wp(n,{roots:e.roots});r=o.rules,i=o.inlineStyles}catch(o){throw vf(),o}return Object.values(r).length&&(_r(n,i,!0),yield Kp(r,e.useAnimationFrame)),r})}exports.default=ed;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),C=require("./date-time-input-BgdO3sO3.cjs"),t=require("./form-control-Be_ITYmU.cjs"),u=require("react");function j({errorText:e,helpText:n,id:l,label:i,maxWidth:m,required:s,size:d="medium",...a}){const I=u.useId(),c=l??I,o=u.useId();return r.jsxs(t.FormControl,{as:"div",size:d,maxWidth:m,children:[i&&r.jsx(t.FormControl.Label,{htmlFor:c,isRequired:s,children:i}),r.jsx(C.DateTimeInput,{...a,"aria-describedby":o,id:c,required:s,size:d}),e?r.jsx(t.FormControl.ErrorText,{id:o,children:e}):n&&r.jsx(t.FormControl.HelpText,{id:o,children:n})]})}exports.DateTimeControl=j;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { jsxs as f, jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { D as I } from "./date-time-input-CxVYHXK5.js";
|
|
3
|
-
import { a as r } from "./form-control-Cv1xUB2V.js";
|
|
4
|
-
import { useId as a } from "react";
|
|
5
|
-
function j({
|
|
6
|
-
errorText: t,
|
|
7
|
-
helpText: d,
|
|
8
|
-
id: c,
|
|
9
|
-
label: n,
|
|
10
|
-
maxWidth: p,
|
|
11
|
-
required: m,
|
|
12
|
-
size: e = "medium",
|
|
13
|
-
...l
|
|
14
|
-
}) {
|
|
15
|
-
const u = a(), s = c ?? u, o = a();
|
|
16
|
-
return /* @__PURE__ */ f(r, { as: "div", size: e, maxWidth: p, children: [
|
|
17
|
-
n && /* @__PURE__ */ i(r.Label, { htmlFor: s, isRequired: m, children: n }),
|
|
18
|
-
/* @__PURE__ */ i(I, { ...l, "aria-describedby": o, id: s, required: m, size: e }),
|
|
19
|
-
t ? /* @__PURE__ */ i(r.ErrorText, { id: o, children: t }) : d && /* @__PURE__ */ i(r.HelpText, { id: o, children: d })
|
|
20
|
-
] });
|
|
21
|
-
}
|
|
22
|
-
export {
|
|
23
|
-
j as D
|
|
24
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const n=require("react");function h(e){const[t,a]=n.useState(()=>globalThis.matchMedia(e).matches);return n.useEffect(function(){const s=globalThis.matchMedia(e);a(s.matches);const c=u=>{a(u.matches)};return s.addEventListener("change",c),()=>{s.removeEventListener("change",c)}},[e]),t}function r({condition:e,children:t}){return h(e)?t:null}exports.MatchMedia=r;exports.useMatchMedia=h;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { useState as h, useEffect as r } from "react";
|
|
2
|
-
function u(e) {
|
|
3
|
-
const [t, a] = h(() => globalThis.matchMedia(e).matches);
|
|
4
|
-
return r(
|
|
5
|
-
function() {
|
|
6
|
-
const s = globalThis.matchMedia(e);
|
|
7
|
-
a(s.matches);
|
|
8
|
-
const c = (n) => {
|
|
9
|
-
a(n.matches);
|
|
10
|
-
};
|
|
11
|
-
return s.addEventListener("change", c), () => {
|
|
12
|
-
s.removeEventListener("change", c);
|
|
13
|
-
};
|
|
14
|
-
},
|
|
15
|
-
[e]
|
|
16
|
-
), t;
|
|
17
|
-
}
|
|
18
|
-
function o({ condition: e, children: t }) {
|
|
19
|
-
return u(e) ? t : null;
|
|
20
|
-
}
|
|
21
|
-
export {
|
|
22
|
-
o as M,
|
|
23
|
-
u
|
|
24
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),v=require("./index-8ctufnBx.cjs"),a=require("./index-Dmlb2--K.cjs"),r=require("react"),g=require("./popover-Y-ha5ifI.cjs"),D=require("./divider-CGhRVA_A.cjs"),j=require("./utils/keyboard-navigation.cjs"),_=a.styled_default("div")({name:"ElMenuGroup",class:"el-menu-group",propsAsIs:!1}),k=a.styled_default("div")({name:"ElMenuGroupLabelContainer",class:"el-menu-group-label-container",propsAsIs:!1});function E({"aria-label":e,children:n,label:l,role:i="group",...o}){const s=r.useId();return t.jsxs(_,{...o,"aria-label":e,"aria-labelledby":e?void 0:s,role:i,children:[l&&t.jsx(k,{id:s,children:l}),n]})}E.displayName="Menu.Group";const G="el-menu-item",b=a.styled_default("span")({name:"ElMenuItemIconContainer",class:"el-menu-item-icon-container",propsAsIs:!1}),P=a.styled_default("span")({name:"ElMenuItemContentContainer",class:"el-menu-item-content-container",propsAsIs:!1}),N=a.styled_default("span")({name:"ElMenuItemLabel",class:"el-menu-item-label",propsAsIs:!1}),T=a.styled_default("span")({name:"ElMenuItemLabelText",class:"el-menu-item-label-text",propsAsIs:!1}),L=a.styled_default("span")({name:"ElMenuItemBadgeContainer",class:"el-menu-item-badge-container",propsAsIs:!1}),q=a.styled_default("span")({name:"ElMenuItemSupplementaryInfo",class:"el-menu-item-supplementary-info",propsAsIs:!1});function x({"aria-disabled":e,as:n,badge:l,className:i,children:o,iconLeft:s,iconRight:d,onClick:c,role:f="menuitem",supplementaryInfo:m,...p}){const I=r.useId(),y=r.useId(),A=r.useId(),B=r.useCallback(M=>{if(M.currentTarget.getAttribute("aria-disabled")==="true"){M.preventDefault(),M.stopPropagation();return}c?.(M)},[c]);return t.jsxs(n,{...p,"aria-details":`${y} ${A}`,"aria-disabled":!!p.disabled||!!e,"aria-labelledby":I,className:v.cx_default(G,i),onClick:B,role:f,children:[s&&t.jsx(b,{"aria-hidden":!0,children:s}),t.jsxs(P,{children:[t.jsxs(N,{children:[o&&t.jsx(T,{id:I,children:o}),l&&t.jsx(L,{id:y,children:l})]}),m&&t.jsx(q,{id:A,children:m})]}),d&&t.jsx(b,{"aria-hidden":!0,children:d})]})}function C(e){return t.jsx(x,{as:"a",...e})}C.displayName="Menu.AnchorItem";function h(e){return t.jsx(x,{as:"button",...e})}h.displayName="Menu.Item";const $="el-menu";function S(e){return r.useCallback(n=>{e?.(n),!n.defaultPrevented&&n.target instanceof HTMLElement&&(n.target.role==="menuitem"||n.target.closest('[role="menuitem"]')!==null)&&n.currentTarget.hidePopover()},[e])}function H(e){return r.useCallback(n=>{e?.(n),!n.defaultPrevented&&(j.handleLinkActivation(n),j.handleArrowNavigation(n))},[e])}function u({"aria-labelledby":e,children:n,className:l,gap:i="--spacing-1",maxHeight:o,maxWidth:s,onClick:d,onKeyDown:c,placement:f="top-start",...m}){const p=S(d),I=H(c);return t.jsx(g.Popover,{...m,"aria-labelledby":e,anchorId:e,className:v.cx_default($,l),elevation:"xl",gap:`var(${i})`,maxHeight:`var(${o})`,maxWidth:`var(${s})`,onClick:p,onKeyDown:I,placement:f,positionTryFallbacks:"flip-block, flip-inline",popover:"auto",role:"menu",children:n})}u.AnchorItem=C;u.Divider=D.Divider;u.Group=E;u.Item=h;u.getClosestMenuElement=g.Popover.getClosestPopoverElement;u.getTriggerProps=g.Popover.getTriggerProps;exports.AnchorMenuItem=C;exports.ElMenuGroup=_;exports.ElMenuGroupLabelContainer=k;exports.ElMenuItemBadgeContainer=L;exports.ElMenuItemContentContainer=P;exports.ElMenuItemIconContainer=b;exports.ElMenuItemLabel=N;exports.ElMenuItemLabelText=T;exports.ElMenuItemSupplementaryInfo=q;exports.Menu=u;exports.MenuGroup=E;exports.MenuItem=h;exports.MenuItemBase=x;exports.elMenu=$;exports.elMenuItem=G;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const l=require("react/jsx-runtime"),d=require("react"),o=require("./index-8ctufnBx.cjs"),t=require("./index-Dmlb2--K.cjs"),m=require("./deprecated-states-WNjTkCrU.cjs"),r=t.styled_default("div")({name:"ElModalBg",class:"el-modal-bg",propsAsIs:!1}),M=t.styled_default("div")({name:"ElModal",class:"el-modal",propsAsIs:!1}),E=t.styled_default("div")({name:"ElModalHeader",class:"el-modal-header",propsAsIs:!1}),I=t.styled_default("div")({name:"ElModalBody",class:"el-modal-body",propsAsIs:!1}),x=({className:e,children:a,...s})=>l.jsx(r,{className:o.cx_default(e),...s,children:a}),y=d.forwardRef(({className:e,children:a,...s},c)=>l.jsx(M,{className:o.cx_default(e),...s,ref:c,children:a})),p=({className:e,children:a,...s})=>l.jsx(E,{className:o.cx_default(e),...s,children:a}),j=({className:e,children:a,...s})=>l.jsx(r,{className:o.cx_default(e),...s,children:a}),v=(e,a)=>()=>{a&&e.current&&e.current.focus()},b=({isOpen:e,onModalClose:a,title:s,className:c,children:B,...u})=>{const i=u.id||d.useId(),n=d.createRef();d.useEffect(()=>{const f=_=>{_.key==="Escape"&&a()};return document.addEventListener("keyup",f,!1),()=>{document.removeEventListener("keyup",f,!1)}},[a]);const g=o.cx_default(c,m.elIsActive);return d.useEffect(v(n,e),[n,e]),d.useEffect(()=>{console.warn("Modal component will be removed in future major version. Use `Dialog` component instead")},[]),e?l.jsxs(l.Fragment,{children:[l.jsx(x,{className:m.elIsActive,onClick:a}),l.jsxs(y,{role:"dialog","aria-modal":"true","aria-describedby":i,className:g,ref:n,autoFocus:!0,...u,children:[s&&l.jsx(p,{children:s}),l.jsx(j,{id:i,children:B})]})]}):null};exports.ElModal=M;exports.ElModalBg=r;exports.ElModalBody=I;exports.ElModalHeader=E;exports.Modal=b;exports.ModalBg=x;exports.ModalBody=j;exports.ModalContainer=y;exports.ModalHeader=p;exports.handleModalFocus=v;
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"use strict";const l=require("react/jsx-runtime"),d=require("./index-8ctufnBx.cjs"),h=require("react");function u({id:o,popoverTarget:t,popoverTargetAction:e}){return{id:o,popovertarget:t,popovertargetaction:e}}function y(){return CSS.supports("anchor-name","--myanchor")}async function C({elements:o,excludeInlineStyles:t=!0,useAnimationFrame:e=!1}={}){if(!y()){const{default:r}=await Promise.resolve().then(()=>require("./css-anchor-positioning-fn-DmupQmpv.cjs"));await r({elements:o,excludeInlineStyles:t,useAnimationFrame:e})}}function k(o,t){switch(o){case"bottom":return`
|
|
2
|
-
top: anchor(bottom);
|
|
3
|
-
justify-self: anchor-center;
|
|
4
|
-
margin-block: ${t};
|
|
5
|
-
`;case"bottom-end":return`
|
|
6
|
-
top: anchor(bottom);
|
|
7
|
-
right: anchor(right);
|
|
8
|
-
margin-block: ${t};
|
|
9
|
-
`;case"bottom-start":return`
|
|
10
|
-
top: anchor(bottom);
|
|
11
|
-
left: anchor(left);
|
|
12
|
-
margin-block: ${t};
|
|
13
|
-
`;case"left":return`
|
|
14
|
-
align-self: anchor-center;
|
|
15
|
-
right: anchor(left);
|
|
16
|
-
margin-inline: ${t};
|
|
17
|
-
`;case"left-end":return`
|
|
18
|
-
bottom: anchor(bottom);
|
|
19
|
-
right: anchor(left);
|
|
20
|
-
margin-inline: ${t};
|
|
21
|
-
`;case"left-start":return`
|
|
22
|
-
top: anchor(top);
|
|
23
|
-
right: anchor(left);
|
|
24
|
-
margin-inline: ${t};
|
|
25
|
-
`;case"right":return`
|
|
26
|
-
align-self: anchor-center;
|
|
27
|
-
left: anchor(right);
|
|
28
|
-
margin-inline: ${t};
|
|
29
|
-
`;case"right-end":return`
|
|
30
|
-
bottom: anchor(bottom);
|
|
31
|
-
left: anchor(right);
|
|
32
|
-
margin-inline: ${t};
|
|
33
|
-
`;case"right-start":return`
|
|
34
|
-
top: anchor(top);
|
|
35
|
-
left: anchor(right);
|
|
36
|
-
margin-inline: ${t};
|
|
37
|
-
`;case"top":return`
|
|
38
|
-
bottom: anchor(top);
|
|
39
|
-
justify-self: anchor-center;
|
|
40
|
-
margin-block: ${t};
|
|
41
|
-
`;case"top-end":return`
|
|
42
|
-
bottom: anchor(top);
|
|
43
|
-
right: anchor(right);
|
|
44
|
-
margin-block: ${t};
|
|
45
|
-
`;case"top-start":return`
|
|
46
|
-
bottom: anchor(top);
|
|
47
|
-
left: anchor(left);
|
|
48
|
-
margin-block: ${t};
|
|
49
|
-
`}}function x({anchorElementId:o,placement:t,positionedElementId:e,positionTryFallbacks:r,gap:c}){const n=`--${CSS.escape(o)}`,i=k(t,c);return`
|
|
50
|
-
#${CSS.escape(o)} {
|
|
51
|
-
anchor-name: ${n};
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
#${CSS.escape(e)} {
|
|
55
|
-
position-anchor: ${n};
|
|
56
|
-
position-try-fallbacks: ${r};
|
|
57
|
-
${i}
|
|
58
|
-
}
|
|
59
|
-
`}const p="el-popover";function j(o){return o.closest("[popover]")}function s({anchorId:o,borderRadius:t,children:e,className:r,elevation:c="none",gap:n="0",id:i,maxHeight:f,maxWidth:m,placement:g,positionTryFallbacks:S="none",popover:b="auto",style:P,...$}){const a=h.useRef(null),v=x({anchorElementId:o,positionedElementId:i,placement:g,positionTryFallbacks:S,gap:n});return h.useLayoutEffect(function(){a.current&&C({elements:[a.current]})},[]),l.jsxs("div",{...$,className:d.cx_default(p,r),"data-elevation":c,id:i,popover:b,style:{...P,"--popover-border-radius":t,"--popover-max-height":f,"--popover-max-width":m},children:[l.jsx("style",{ref:a,children:v}),e]})}s.getTriggerProps=u;s.getClosestPopoverElement=j;exports.Popover=s;exports.elPopover=p;exports.getPopoverTriggerProps=u;
|