@baloise/ds-core 20.0.0-next.4 → 20.0.0-next.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +9 -0
- package/components/all.d.ts +56 -0
- package/components/all.js +84 -0
- package/components/ds-accordion.js +1 -1
- package/components/ds-alert-container.js +1 -1
- package/components/ds-app.js +1 -1
- package/components/ds-badge.js +1 -1
- package/components/ds-button-group.js +1 -1
- package/components/ds-button.js +1 -1
- package/components/ds-card-actions.js +1 -1
- package/components/ds-card-content.js +1 -1
- package/components/ds-card-header.js +1 -1
- package/components/ds-card-subtitle.js +1 -1
- package/components/ds-card-title.js +1 -1
- package/components/ds-card.js +1 -1
- package/components/ds-carousel-item.d.ts +11 -0
- package/components/ds-carousel-item.js +4 -0
- package/components/ds-carousel.d.ts +11 -0
- package/components/ds-carousel.js +4 -0
- package/components/ds-checkbox-group.js +1 -1
- package/components/ds-checkbox.js +1 -1
- package/components/ds-close.js +1 -1
- package/components/ds-content.js +1 -1
- package/components/ds-data-item.d.ts +11 -0
- package/components/ds-data-item.js +4 -0
- package/components/ds-data-label.d.ts +11 -0
- package/components/ds-data-label.js +4 -0
- package/components/ds-data-value.d.ts +11 -0
- package/components/ds-data-value.js +4 -0
- package/components/ds-data.d.ts +11 -0
- package/components/ds-data.js +4 -0
- package/components/ds-date.d.ts +11 -0
- package/components/ds-date.js +4 -0
- package/components/ds-divider.js +1 -1
- package/components/ds-drawer.d.ts +11 -0
- package/components/ds-drawer.js +4 -0
- package/components/ds-file-upload.d.ts +11 -0
- package/components/ds-file-upload.js +4 -0
- package/components/ds-footer.d.ts +11 -0
- package/components/ds-footer.js +4 -0
- package/components/ds-heading.js +1 -1
- package/components/ds-hint-text.d.ts +11 -0
- package/components/ds-hint-text.js +4 -0
- package/components/ds-hint-title.d.ts +11 -0
- package/components/ds-hint-title.js +4 -0
- package/components/ds-hint.d.ts +11 -0
- package/components/ds-hint.js +4 -0
- package/components/ds-icon.js +1 -1
- package/components/ds-input.js +1 -1
- package/components/ds-item.js +1 -1
- package/components/ds-label.js +1 -1
- package/components/ds-list.js +1 -1
- package/components/ds-logo.js +1 -1
- package/components/ds-modal-body.d.ts +11 -0
- package/components/ds-modal-body.js +4 -0
- package/components/ds-modal-header.d.ts +11 -0
- package/components/ds-modal-header.js +4 -0
- package/components/ds-modal.d.ts +11 -0
- package/components/ds-modal.js +4 -0
- package/components/ds-navbar.d.ts +11 -0
- package/components/ds-navbar.js +4 -0
- package/components/ds-notification.js +1 -1
- package/components/ds-number-input.js +1 -1
- package/components/ds-pagination.js +1 -1
- package/components/ds-popup.d.ts +11 -0
- package/components/ds-popup.js +4 -0
- package/components/ds-progress-bar.js +1 -1
- package/components/ds-radio-group.js +1 -1
- package/components/ds-radio.js +1 -1
- package/components/ds-segment-item.js +1 -1
- package/components/ds-segment.js +1 -1
- package/components/ds-select-optgroup.d.ts +11 -0
- package/components/ds-select-optgroup.js +4 -0
- package/components/ds-select-option.d.ts +11 -0
- package/components/ds-select-option.js +4 -0
- package/components/ds-select.d.ts +11 -0
- package/components/ds-select.js +4 -0
- package/components/ds-shape.js +1 -1
- package/components/ds-snackbar.js +1 -1
- package/components/ds-spinner.js +1 -1
- package/components/ds-stack.js +1 -1
- package/components/ds-step-panel.d.ts +11 -0
- package/components/ds-step-panel.js +4 -0
- package/components/ds-step.d.ts +11 -0
- package/components/ds-step.js +4 -0
- package/components/ds-steps.d.ts +11 -0
- package/components/ds-steps.js +4 -0
- package/components/ds-tab-panel.d.ts +11 -0
- package/components/ds-tab-panel.js +4 -0
- package/components/ds-tab.d.ts +11 -0
- package/components/ds-tab.js +4 -0
- package/components/ds-tabs.d.ts +11 -0
- package/components/ds-tabs.js +4 -0
- package/components/ds-tag-group.js +1 -1
- package/components/ds-tag.js +1 -1
- package/components/ds-text.js +1 -1
- package/components/ds-textarea.js +1 -1
- package/components/ds-toast.js +1 -1
- package/components/ds-toggle.js +1 -1
- package/components/ds-tooltip.d.ts +11 -0
- package/components/ds-tooltip.js +4 -0
- package/components/index.js +1 -1
- package/components/p-3Mi9vpmB.js +4 -0
- package/components/p-B-en4B17.js +4 -0
- package/components/p-B1gnrQ9b.js +4 -0
- package/components/p-BU0dY8pq.js +4 -0
- package/components/p-BfXZJ1Fe.js +4 -0
- package/components/p-BgzU1loG.js +4 -0
- package/components/p-BhbWmCTu.js +4 -0
- package/components/p-BqY0KzJC.js +4 -0
- package/components/p-BrIcCcce.js +4 -0
- package/components/p-BrJFPhMA.js +4 -0
- package/components/p-Btdh3fq7.js +4 -0
- package/components/{p-Urcs7-vS.js → p-BwfAXfmz.js} +1 -1
- package/components/p-ByX1_7SF.js +4 -0
- package/components/p-C1jqbZdf.js +4 -0
- package/{dist/design-system/p-15bc012833.entry.js → components/p-CA7G72wZ.js} +1 -1
- package/components/p-CQHwI4iD.js +4 -0
- package/components/p-CYWn3X22.js +4 -0
- package/components/p-CjIxf5zy.js +4 -0
- package/components/p-Ctnm_MBD.js +4 -0
- package/components/p-CvaNxQtw.js +4 -0
- package/components/p-D9ILiUgm.js +4 -0
- package/components/{p-BATOumsf.js → p-D9YYP2SG.js} +1 -1
- package/components/p-DAYd9ty0.js +4 -0
- package/components/p-DIK6Zkg6.js +4 -0
- package/{dist/design-system/p-BkESlUMc.js → components/p-DQBzmbR6.js} +1 -1
- package/components/{p-z1jJgtep.js → p-DU7t9H9h.js} +1 -1
- package/components/p-DYTOWDAA.js +4 -0
- package/components/p-DYlqkAWn.js +4 -0
- package/components/p-DbM7ALm9.js +14 -0
- package/{dist/design-system/p-D2tr7015.js → components/p-DbY6Pfeh.js} +1 -1
- package/components/{p-DZqqelPH.js → p-DcSNuA8W.js} +1 -1
- package/components/p-DenZRIeA.js +4 -0
- package/components/p-DokkRjWC.js +4 -0
- package/{dist/design-system/p-BwrOVItb.js → components/p-Dr4MUfss.js} +1 -1
- package/components/p-DsvYY32v.js +4 -0
- package/components/p-Du7QOHtz.js +5 -0
- package/components/{p-E8U6M5ii.js → p-FBQaJyH0.js} +1 -1
- package/components/{p-Dr4dquer.js → p-J0mxIuTt.js} +1 -1
- package/{dist/design-system/p-DJxr2Dcd.js → components/p-UCeQ1JCs.js} +1 -1
- package/components/p-Uy_dVz21.js +4 -0
- package/components/p-WO0X5Vmy.js +4 -0
- package/components/p-bGV2P6rT.js +4 -0
- package/components/{p-Bt20CEww.js → p-n3_2KEz0.js} +1 -1
- package/dist/cjs/array-CioNm_V1.js +1985 -0
- package/dist/cjs/{breakpoints.decorator-qaoHOU6Q.js → breakpoints.decorator-C-Qm21UK.js} +1 -1
- package/dist/cjs/{breakpoints.subject-DhAN_ZAn.js → breakpoints.subject-XNcGwhzh.js} +3 -3
- package/dist/cjs/{button.interfaces-BueDWsuH.js → button.interfaces-CqlUGR-N.js} +1 -1
- package/dist/cjs/carousel.interfaces-BFQpUNrw.js +12 -0
- package/dist/cjs/{config.decorator-Qmrq4ZYj.js → config.decorator-ThGLtT-3.js} +1 -1
- package/dist/cjs/{config.utils-Cv4cx_Xa.js → config.utils-MhZvq4Qm.js} +1 -1
- package/dist/cjs/create-validator-decorator-BIgFqrMJ.js +212 -0
- package/dist/cjs/design-system.cjs.js +3 -3
- package/dist/cjs/{device-CptgCtVc.js → device-BnjBOLnP.js} +1 -1
- package/dist/cjs/ds-accordion.cjs.entry.js +30 -34
- package/dist/cjs/ds-alert-container.cjs.entry.js +12 -15
- package/dist/cjs/ds-app.cjs.entry.js +16 -6
- package/dist/cjs/ds-badge.cjs.entry.js +32 -25
- package/dist/cjs/ds-button-group.cjs.entry.js +14 -17
- package/dist/cjs/ds-button_2.cjs.entry.js +58 -73
- package/dist/cjs/ds-card-actions.cjs.entry.js +6 -8
- package/dist/cjs/ds-card-content.cjs.entry.js +2 -2
- package/dist/cjs/ds-card-header.cjs.entry.js +8 -5
- package/dist/cjs/ds-card-subtitle.cjs.entry.js +13 -13
- package/dist/cjs/ds-card-title.cjs.entry.js +11 -7
- package/dist/cjs/ds-card.cjs.entry.js +30 -42
- package/dist/cjs/ds-carousel-item.cjs.entry.js +128 -0
- package/dist/cjs/ds-carousel.cjs.entry.js +473 -0
- package/dist/cjs/ds-checkbox-group.cjs.entry.js +41 -2012
- package/dist/cjs/ds-checkbox.cjs.entry.js +23 -19
- package/dist/cjs/ds-content_2.cjs.entry.js +330 -0
- package/dist/cjs/ds-data-item.cjs.entry.js +146 -0
- package/dist/cjs/ds-data-label.cjs.entry.js +41 -0
- package/dist/cjs/ds-data-value.cjs.entry.js +31 -0
- package/dist/cjs/ds-data.cjs.entry.js +43 -0
- package/dist/cjs/ds-date.cjs.entry.js +5334 -0
- package/dist/cjs/{ds-logo.cjs.entry.js → ds-divider_2.cjs.entry.js} +130 -25
- package/dist/cjs/ds-drawer_2.cjs.entry.js +602 -0
- package/dist/cjs/ds-file-upload.cjs.entry.js +515 -0
- package/dist/cjs/ds-footer.cjs.entry.js +159 -0
- package/dist/cjs/ds-heading.cjs.entry.js +21 -19
- package/dist/cjs/ds-hint-text.cjs.entry.js +28 -0
- package/dist/cjs/ds-hint-title.cjs.entry.js +31 -0
- package/dist/cjs/ds-hint.cjs.entry.js +243 -0
- package/dist/cjs/ds-icon_2.cjs.entry.js +78 -70
- package/dist/cjs/ds-input.cjs.entry.js +45 -43
- package/dist/cjs/ds-item.cjs.entry.js +29 -34
- package/dist/cjs/ds-label.cjs.entry.js +22 -30
- package/dist/cjs/ds-list.cjs.entry.js +6 -12
- package/dist/cjs/ds-modal-body.cjs.entry.js +34 -0
- package/dist/cjs/ds-modal-header.cjs.entry.js +31 -0
- package/dist/cjs/ds-modal.cjs.entry.js +201 -0
- package/dist/cjs/ds-navbar.cjs.entry.js +359 -0
- package/dist/cjs/ds-notification.cjs.entry.js +19 -27
- package/dist/cjs/ds-number-input.cjs.entry.js +128 -45
- package/dist/cjs/ds-pagination.cjs.entry.js +41 -37
- package/dist/cjs/ds-progress-bar.cjs.entry.js +25 -29
- package/dist/cjs/ds-radio-group.cjs.entry.js +30 -29
- package/dist/cjs/ds-radio.cjs.entry.js +26 -33
- package/dist/cjs/ds-segment-item.cjs.entry.js +9 -9
- package/dist/cjs/ds-segment.cjs.entry.js +29 -117
- package/dist/cjs/ds-select-optgroup.cjs.entry.js +49 -0
- package/dist/cjs/ds-select-option.cjs.entry.js +57 -0
- package/dist/cjs/ds-select.cjs.entry.js +2772 -0
- package/dist/cjs/ds-shape.cjs.entry.js +10 -16
- package/dist/cjs/ds-snackbar.cjs.entry.js +40 -57
- package/dist/cjs/ds-step-panel.cjs.entry.js +55 -0
- package/dist/cjs/ds-step.cjs.entry.js +170 -0
- package/dist/cjs/ds-steps.cjs.entry.js +227 -0
- package/dist/cjs/ds-tab-panel.cjs.entry.js +55 -0
- package/dist/cjs/ds-tab.cjs.entry.js +120 -0
- package/dist/cjs/ds-tabs.cjs.entry.js +364 -0
- package/dist/cjs/ds-tag-group.cjs.entry.js +3 -3
- package/dist/cjs/ds-tag.cjs.entry.js +19 -26
- package/dist/cjs/ds-text.cjs.entry.js +28 -32
- package/dist/cjs/ds-textarea.cjs.entry.js +32 -31
- package/dist/cjs/ds-toast.cjs.entry.js +40 -54
- package/dist/cjs/ds-toggle.cjs.entry.js +22 -21
- package/dist/cjs/ds-tooltip.cjs.entry.js +182 -0
- package/dist/cjs/{field.util-RjuvTLNZ.js → field.util-L-DkeMVk.js} +1 -1
- package/dist/cjs/floating-ui.dom-Cu3dZdFD.js +1628 -0
- package/dist/cjs/focus-D3VVgpM7.js +1958 -0
- package/dist/cjs/footer.i18n-CpGxizgm.js +162 -0
- package/dist/cjs/{form-control-Bno2tBGf.js → form-control-CtMcJUuC.js} +2 -2
- package/dist/cjs/has-value-DK0oRqXI.js +12 -0
- package/dist/cjs/{index-CdD-TT_n.js → index-sC3JnTlJ.js} +497 -175
- package/dist/cjs/index.cjs.js +26 -8283
- package/dist/cjs/keyboard-C7y0jXYb.js +23 -0
- package/dist/cjs/{listener-DgVWqfa1.js → listener-BwB_xent.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/luxon-q23LOWrr.js +8137 -0
- package/dist/cjs/one-of-BZGRIMtQ.js +30 -0
- package/dist/cjs/popup.interfaces-B-mwd9rh.js +23 -0
- package/dist/cjs/required-COz3Unzu.js +38 -0
- package/dist/cjs/resize.decorator-DWM_fQgv.js +98 -0
- package/dist/cjs/scroll-CUuEh4xd.js +89 -0
- package/dist/cjs/svg-D9RbiR8R.js +2443 -0
- package/dist/cjs/{tslib.es6-BTi-SLnA.js → tslib.es6-CxyosZMg.js} +1 -1
- package/dist/cjs/type-hmc4CJcO.js +33 -0
- package/dist/collection/collection-manifest.json +30 -2
- package/dist/collection/components/accordion/accordion.host.css +1 -1
- package/dist/collection/components/accordion/accordion.js +22 -29
- package/dist/collection/components/alert/alert-container.js +8 -14
- package/dist/collection/components/alert/alert.controller.js +1 -1
- package/dist/collection/components/alert/snackbar/snackbar.js +30 -53
- package/dist/collection/components/alert/toast/toast.js +32 -53
- package/dist/collection/components/app/app.js +11 -3
- package/dist/collection/components/badge/badge.interfaces.js +1 -1
- package/dist/collection/components/badge/badge.js +28 -25
- package/dist/collection/components/button/button-group/button-group.js +8 -14
- package/dist/collection/components/button/button.host.css +1 -1
- package/dist/collection/components/button/button.interfaces.js +1 -1
- package/dist/collection/components/button/button.js +44 -54
- package/dist/collection/components/card/card-actions/card-actions.js +3 -6
- package/dist/collection/components/card/card-header/card-header.js +4 -3
- package/dist/collection/components/card/card-subtitle/card-subtitle.js +8 -11
- package/dist/collection/components/card/card-title/card-title.js +6 -5
- package/dist/collection/components/card/card.host.css +1 -1
- package/dist/collection/components/card/card.js +25 -38
- package/dist/collection/components/carousel/carousel/carousel.host.css +1 -0
- package/dist/collection/components/carousel/carousel/carousel.i18n.js +65 -0
- package/dist/collection/components/carousel/carousel/carousel.js +631 -0
- package/dist/collection/components/carousel/carousel-item/carousel-item.host.css +1 -0
- package/dist/collection/components/carousel/carousel-item/carousel-item.js +313 -0
- package/dist/collection/components/carousel/carousel.interfaces.js +6 -0
- package/dist/collection/components/carousel/test/carousel.a11y.play.js +34 -0
- package/dist/collection/components/carousel/test/carousel.component.play.js +57 -0
- package/dist/collection/components/carousel/test/carousel.visual.play.js +24 -0
- package/dist/collection/components/checkbox/checkbox-group/checkbox-group.host.css +1 -1
- package/dist/collection/components/checkbox/checkbox-group/checkbox-group.js +25 -26
- package/dist/collection/components/checkbox/checkbox.js +18 -18
- package/dist/collection/components/close/close.js +10 -21
- package/dist/collection/components/content/content.js +38 -52
- package/dist/collection/components/data/data-item.host.css +1 -0
- package/dist/collection/components/data/data-item.i18n.js +35 -0
- package/dist/collection/components/data/data-item.js +244 -0
- package/dist/collection/components/data/data-label.host.css +1 -0
- package/dist/collection/components/data/data-label.js +72 -0
- package/dist/collection/components/data/data-value.host.css +1 -0
- package/dist/collection/components/data/data-value.js +38 -0
- package/dist/collection/components/data/data.host.css +1 -0
- package/dist/collection/components/data/data.js +75 -0
- package/dist/collection/components/data/test/data.a11y.play.js +31 -0
- package/dist/collection/components/data/test/data.component.play.js +104 -0
- package/dist/collection/components/data/test/data.visual.play.js +25 -0
- package/dist/collection/components/date/date.host.css +1 -0
- package/dist/collection/components/date/date.i18n.js +105 -0
- package/dist/collection/components/date/date.interfaces.js +4 -0
- package/dist/collection/components/date/date.js +1241 -0
- package/dist/collection/components/date/date.mask.js +189 -0
- package/dist/collection/components/date/date.picker.js +536 -0
- package/dist/collection/components/date/test/date.a11y.play.js +27 -0
- package/dist/collection/components/date/test/date.component.play.js +69 -0
- package/dist/collection/components/date/test/date.visual.play.js +43 -0
- package/dist/collection/components/divider/divider.host.css +1 -1
- package/dist/collection/components/divider/divider.js +11 -24
- package/dist/collection/components/drawer/drawer.host.css +1 -0
- package/dist/collection/{utils/property-checkers/constants.js → components/drawer/drawer.interfaces.js} +1 -1
- package/dist/collection/components/drawer/drawer.js +492 -0
- package/dist/collection/components/drawer/test/drawer.a11y.play.js +39 -0
- package/dist/collection/components/drawer/test/drawer.component.play.js +131 -0
- package/dist/collection/components/drawer/test/drawer.visual.play.js +31 -0
- package/dist/collection/components/file-upload/file-upload.host.css +1 -0
- package/dist/collection/components/file-upload/file-upload.i18n.js +55 -0
- package/dist/collection/components/file-upload/file-upload.interfaces.js +10 -0
- package/dist/collection/components/file-upload/file-upload.js +1030 -0
- package/dist/collection/components/file-upload/test/file-upload.a11y.play.js +52 -0
- package/dist/collection/components/file-upload/test/file-upload.component.play.js +124 -0
- package/dist/collection/components/file-upload/test/file-upload.visual.play.js +18 -0
- package/dist/collection/components/file-upload/utils/file-list.util.js +13 -0
- package/dist/collection/components/file-upload/utils/file-size.util.js +10 -0
- package/dist/collection/components/file-upload/utils/file-validation.util.js +48 -0
- package/dist/collection/components/footer/footer.host.css +1 -0
- package/dist/collection/components/footer/footer.i18n.js +155 -0
- package/dist/collection/components/footer/footer.interfaces.js +4 -0
- package/dist/collection/components/footer/footer.js +350 -0
- package/dist/collection/components/footer/test/footer.a11y.play.js +17 -0
- package/dist/collection/components/footer/test/footer.component.play.js +74 -0
- package/dist/collection/components/footer/test/footer.visual.play.js +16 -0
- package/dist/collection/components/form/test/form.visual.play.js +13 -1
- package/dist/collection/components/heading/heading.js +16 -17
- package/dist/collection/components/hint/hint-text/hint-text.js +28 -0
- package/dist/collection/components/hint/hint-title/hint-title.js +31 -0
- package/dist/collection/components/hint/hint.host.css +1 -0
- package/dist/collection/components/hint/hint.i18n.js +35 -0
- package/dist/collection/components/hint/hint.interfaces.js +1 -0
- package/dist/collection/components/hint/hint.js +410 -0
- package/dist/collection/components/hint/test/hint.a11y.play.js +41 -0
- package/dist/collection/components/hint/test/hint.component.play.js +110 -0
- package/dist/collection/components/hint/test/hint.visual.play.js +39 -0
- package/dist/collection/components/icon/icon.host.css +1 -1
- package/dist/collection/components/icon/icon.interfaces.js +1 -0
- package/dist/collection/components/icon/icon.js +73 -42
- package/dist/collection/components/icon/test/icon.component.play.js +23 -1
- package/dist/collection/components/input/clear-button.i18n.js +35 -0
- package/dist/collection/components/input/clear-button.util.js +11 -0
- package/dist/collection/components/input/input.host.css +1 -1
- package/dist/collection/components/input/input.js +36 -37
- package/dist/collection/components/input/test/input.component.play.js +1 -1
- package/dist/collection/components/input/trigger-button.i18n.js +45 -0
- package/dist/collection/components/label/label.js +16 -28
- package/dist/collection/components/list/item/item.host.css +1 -1
- package/dist/collection/components/list/item/item.interfaces.js +1 -1
- package/dist/collection/components/list/item/item.js +27 -34
- package/dist/collection/components/list/list.js +3 -10
- package/dist/collection/components/list/test/list.visual.play.js +30 -0
- package/dist/collection/components/logo/logo.js +11 -18
- package/dist/collection/components/modal/modal-body/modal-body.host.css +1 -0
- package/dist/collection/components/modal/modal-body/modal-body.js +41 -0
- package/dist/collection/components/modal/modal-header/modal-header.js +32 -0
- package/dist/collection/components/modal/modal.controller.js +31 -0
- package/dist/collection/components/modal/modal.host.css +1 -0
- package/dist/collection/components/modal/modal.interfaces.js +1 -0
- package/dist/collection/components/modal/modal.js +461 -0
- package/dist/collection/components/modal/test/modal.a11y.play.js +59 -0
- package/dist/collection/components/modal/test/modal.component.play.js +196 -0
- package/dist/collection/components/modal/test/modal.visual.play.js +36 -0
- package/dist/collection/components/navbar/navbar.host.css +1 -0
- package/dist/collection/components/navbar/navbar.i18n.js +65 -0
- package/dist/collection/components/navbar/navbar.interfaces.js +6 -0
- package/dist/collection/components/navbar/navbar.js +544 -0
- package/dist/collection/components/navbar/test/navbar.a11y.play.js +26 -0
- package/dist/collection/components/navbar/test/navbar.component.play.js +76 -0
- package/dist/collection/components/navbar/test/navbar.visual.play.js +14 -0
- package/dist/collection/components/notification/notification.js +14 -26
- package/dist/collection/components/number-input/number-input.host.css +1 -1
- package/dist/collection/components/number-input/number-input.js +23 -24
- package/dist/collection/components/pagination/pagination.host.css +1 -1
- package/dist/collection/components/pagination/pagination.js +29 -28
- package/dist/collection/components/popup/popup.host.css +1 -0
- package/dist/collection/components/popup/popup.interfaces.js +18 -0
- package/dist/collection/components/popup/popup.js +869 -0
- package/dist/collection/components/popup/test/popup.a11y.play.js +50 -0
- package/dist/collection/components/popup/test/popup.component.play.js +168 -0
- package/dist/collection/components/popup/test/popup.visual.play.js +33 -0
- package/dist/collection/components/progress-bar/progress-bar.host.css +1 -1
- package/dist/collection/components/progress-bar/progress-bar.js +13 -20
- package/dist/collection/components/radio/radio-group/radio-group.host.css +1 -1
- package/dist/collection/components/radio/radio-group/radio-group.js +22 -23
- package/dist/collection/components/radio/radio.js +19 -20
- package/dist/collection/components/segment/segment/segment.host.css +1 -1
- package/dist/collection/components/segment/segment/segment.js +19 -20
- package/dist/collection/components/segment/segment-item.js +6 -7
- package/dist/collection/components/select/select-optgroup.host.css +1 -0
- package/dist/collection/components/select/select-optgroup.js +82 -0
- package/dist/collection/components/select/select-option.host.css +1 -0
- package/dist/collection/components/select/select-option.js +112 -0
- package/dist/collection/components/select/select.host.css +1 -0
- package/dist/collection/components/select/select.i18n.js +45 -0
- package/dist/collection/components/select/select.interfaces.js +4 -0
- package/dist/collection/components/select/select.js +1024 -0
- package/dist/collection/components/select/select.picker.js +276 -0
- package/dist/collection/components/select/test/select.a11y.play.js +81 -0
- package/dist/collection/components/select/test/select.component.play.js +184 -0
- package/dist/collection/components/select/test/select.visual.play.js +70 -0
- package/dist/collection/components/shape/shape.js +7 -14
- package/dist/collection/components/spinner/spinner.js +18 -26
- package/dist/collection/components/stack/stack.host.css +1 -1
- package/dist/collection/components/stack/stack.js +41 -153
- package/dist/collection/components/steps/step/step.host.css +1 -0
- package/dist/collection/components/steps/step/step.js +431 -0
- package/dist/collection/components/steps/step-panel/step-panel.host.css +1 -0
- package/dist/collection/components/steps/step-panel/step-panel.js +104 -0
- package/dist/collection/components/steps/steps/steps.host.css +1 -0
- package/dist/collection/components/steps/steps/steps.js +356 -0
- package/dist/collection/components/steps/steps.interfaces.js +4 -0
- package/dist/collection/components/steps/test/steps.a11y.play.js +73 -0
- package/dist/collection/components/steps/test/steps.component.play.js +182 -0
- package/dist/collection/components/steps/test/steps.visual.play.js +18 -0
- package/dist/collection/components/tabs/tab/tab.host.css +1 -0
- package/dist/collection/components/tabs/tab/tab.js +278 -0
- package/dist/collection/components/tabs/tab-panel/tab-panel.host.css +1 -0
- package/dist/collection/components/tabs/tab-panel/tab-panel.js +104 -0
- package/dist/collection/components/tabs/tabs/tabs.host.css +1 -0
- package/dist/collection/components/tabs/tabs/tabs.i18n.js +45 -0
- package/dist/collection/components/tabs/tabs/tabs.js +552 -0
- package/dist/collection/components/tabs/tabs.interfaces.js +12 -0
- package/dist/collection/components/tabs/test/tabs.a11y.play.js +60 -0
- package/dist/collection/components/tabs/test/tabs.component.play.js +129 -0
- package/dist/collection/components/tabs/test/tabs.visual.play.js +31 -0
- package/dist/collection/components/tag/tag-group/tag-group.js +1 -1
- package/dist/collection/components/tag/tag.js +15 -26
- package/dist/collection/components/text/text.js +23 -30
- package/dist/collection/components/textarea/textarea.host.css +1 -1
- package/dist/collection/components/textarea/textarea.js +24 -25
- package/dist/collection/components/time-input/test/time-input.visual.play.js +18 -0
- package/dist/collection/components/toggle/toggle.js +19 -20
- package/dist/collection/components/tooltip/test/tooltip.a11y.play.js +32 -0
- package/dist/collection/components/tooltip/test/tooltip.component.play.js +51 -0
- package/dist/collection/components/tooltip/test/tooltip.visual.play.js +16 -0
- package/dist/collection/components/tooltip/tooltip.host.css +1 -0
- package/dist/collection/components/tooltip/tooltip.interfaces.js +4 -0
- package/dist/collection/components/tooltip/tooltip.js +407 -0
- package/dist/collection/foundation/colors.visual.play.js +18 -0
- package/dist/collection/global/config/config.const.js +11 -0
- package/dist/collection/global/config/config.default.js +92 -42
- package/dist/collection/global/config/config.js +1 -1
- package/dist/collection/global/config/config.meta.js +27 -0
- package/dist/collection/global/config/index.js +1 -0
- package/dist/collection/global/config/initialize.js +2 -1
- package/dist/collection/global/constants/tags.constant.js +29 -1
- package/dist/collection/global/constants/version.constant.js +1 -1
- package/dist/collection/global/index.js +0 -1
- package/dist/collection/global/initialize.js +2 -0
- package/dist/collection/index.js +5 -20
- package/dist/collection/utils/attributes.js +0 -15
- package/dist/collection/utils/focus.js +72 -0
- package/dist/collection/utils/form-control.js +1 -1
- package/dist/collection/utils/has-value.js +7 -0
- package/dist/collection/utils/helpers.js +14 -74
- package/dist/collection/utils/index.js +7 -5
- package/dist/collection/utils/{property-checkers/is-value-empty.js → is-value-empty.js} +1 -1
- package/dist/collection/utils/number.js +6 -25
- package/dist/collection/utils/property-decorators/array-of.js +25 -0
- package/dist/collection/utils/property-decorators/bound.js +79 -0
- package/dist/collection/utils/property-decorators/create-validator-decorator.js +212 -0
- package/dist/collection/utils/property-decorators/date.js +24 -0
- package/dist/collection/utils/property-decorators/index.js +12 -0
- package/dist/collection/utils/property-decorators/iso-date.js +24 -0
- package/dist/collection/utils/property-decorators/one-of.js +25 -0
- package/dist/collection/utils/property-decorators/pattern.js +25 -0
- package/dist/collection/utils/property-decorators/required.js +44 -0
- package/dist/collection/utils/property-decorators/type.js +28 -0
- package/dist/collection/utils/property-decorators/url.js +32 -0
- package/dist/collection/utils/property-types.js +1 -0
- package/dist/collection/utils/svg.js +19 -0
- package/dist/design-system/design-system.esm.js +1 -1
- package/dist/design-system/index.esm.js +1 -1
- package/dist/design-system/p-01430d5c28.entry.js +4 -0
- package/dist/design-system/p-014d464627.entry.js +4 -0
- package/dist/design-system/p-0663d7c0f1.entry.js +4 -0
- package/dist/design-system/p-0bd2ce2da3.entry.js +4 -0
- package/dist/design-system/p-0ff0be5b83.entry.js +4 -0
- package/dist/design-system/p-10c136d00d.entry.js +4 -0
- package/dist/design-system/p-11f34d0c7d.entry.js +4 -0
- package/dist/design-system/p-13d1ce3158.entry.js +4 -0
- package/dist/design-system/p-163d606781.entry.js +4 -0
- package/dist/design-system/p-1VXOIrN2.js +4 -0
- package/dist/design-system/p-202ecb8f01.entry.js +4 -0
- package/dist/design-system/p-27d181c5ac.entry.js +4 -0
- package/dist/design-system/p-2a35e0b9b0.entry.js +4 -0
- package/dist/design-system/p-2f51e1d39b.entry.js +4 -0
- package/dist/design-system/p-3134821ac6.entry.js +4 -0
- package/dist/design-system/p-3292ae6a05.entry.js +4 -0
- package/dist/design-system/p-372bf379f9.entry.js +4 -0
- package/dist/design-system/p-3895178b39.entry.js +4 -0
- package/dist/design-system/p-3c6b7a2967.entry.js +4 -0
- package/dist/design-system/p-3ef4bd1c59.entry.js +4 -0
- package/dist/design-system/p-493b18cc46.entry.js +4 -0
- package/dist/design-system/p-4a99464dae.entry.js +4 -0
- package/dist/design-system/p-4e6638d14e.entry.js +4 -0
- package/dist/design-system/p-53dda5d400.entry.js +4 -0
- package/dist/design-system/p-5d17209d91.entry.js +4 -0
- package/dist/design-system/p-5e51fa8df4.entry.js +4 -0
- package/dist/design-system/p-60d29d8b8e.entry.js +4 -0
- package/dist/design-system/p-62cb503015.entry.js +4 -0
- package/dist/design-system/p-650289138a.entry.js +4 -0
- package/dist/design-system/p-65c221261c.entry.js +4 -0
- package/dist/design-system/p-68c9f4f630.entry.js +4 -0
- package/dist/design-system/p-68ebed7eee.entry.js +4 -0
- package/dist/design-system/p-6b6531379b.entry.js +4 -0
- package/dist/design-system/p-6d168ba9ad.entry.js +4 -0
- package/dist/design-system/p-6ef31a3c07.entry.js +4 -0
- package/dist/design-system/p-774b89ed0b.entry.js +4 -0
- package/dist/design-system/p-787bd92bcc.entry.js +4 -0
- package/{components/p-E1SnOz0L.js → dist/design-system/p-78NZc8PM.js} +1 -1
- package/dist/design-system/p-7c353652a9.entry.js +4 -0
- package/dist/design-system/p-7c8bf0f33e.entry.js +4 -0
- package/dist/design-system/p-7e702193fc.entry.js +4 -0
- package/dist/design-system/p-8353961d39.entry.js +4 -0
- package/dist/design-system/{p-1d312498a6.entry.js → p-8406f6faf1.entry.js} +1 -1
- package/dist/design-system/p-9f2dd0b55b.entry.js +4 -0
- package/dist/design-system/p-B-en4B17.js +4 -0
- package/dist/design-system/p-B1e0kNRJ.js +14 -0
- package/dist/design-system/p-B8KVoKrH.js +5 -0
- package/dist/design-system/p-BAY6Z8bT.js +4 -0
- package/dist/design-system/p-BLGVE-7Z.js +4 -0
- package/dist/design-system/{p-C7EnKCpl.js → p-BMM6Nxeh.js} +1 -1
- package/{components/p-Diz11uvt.js → dist/design-system/p-BPGfTrrM.js} +1 -1
- package/dist/design-system/p-BhdSNuGP.js +4 -0
- package/dist/design-system/p-BkTv_bQR.js +4 -0
- package/dist/design-system/p-BqY0KzJC.js +4 -0
- package/dist/design-system/p-BrJFPhMA.js +4 -0
- package/dist/design-system/p-BvEM6oCl.js +4 -0
- package/dist/design-system/p-C1jqbZdf.js +4 -0
- package/dist/design-system/p-C6MVahkC.js +5 -0
- package/dist/design-system/{p-DCf2fJmI.js → p-C7i6xLTJ.js} +1 -1
- package/dist/design-system/p-CvTcEsXg.js +4 -0
- package/dist/design-system/p-CwCAiaMq.js +4 -0
- package/{components/p-5Sp1eJOt.js → dist/design-system/p-DTxLRTYr.js} +1 -1
- package/dist/design-system/{p-Dnjznncd.js → p-DgVaaZT_.js} +1 -1
- package/dist/design-system/{p-CAcwu8uP.js → p-Dm2lqE3-.js} +1 -1
- package/dist/design-system/p-HwbqEzpk.js +4 -0
- package/dist/design-system/p-LCY5n5tq.js +4 -0
- package/dist/design-system/p-Uy_dVz21.js +4 -0
- package/dist/design-system/p-a465c1acce.entry.js +4 -0
- package/dist/design-system/p-a62b7985a0.entry.js +4 -0
- package/dist/design-system/p-a8de98dd7b.entry.js +4 -0
- package/dist/design-system/p-ad2b17b0a0.entry.js +4 -0
- package/dist/design-system/p-afd8bbe699.entry.js +4 -0
- package/dist/design-system/{p-7e6ed497e7.entry.js → p-b68bc14064.entry.js} +1 -1
- package/dist/design-system/p-b955a93959.entry.js +4 -0
- package/dist/design-system/p-c37f266740.entry.js +4 -0
- package/dist/design-system/p-caad93b943.entry.js +4 -0
- package/dist/design-system/p-cca79bfeb1.entry.js +4 -0
- package/dist/design-system/p-d5f8d8f5e1.entry.js +4 -0
- package/dist/design-system/p-dcb749efc7.entry.js +4 -0
- package/dist/design-system/p-dd38f8f206.entry.js +4 -0
- package/dist/design-system/p-ddf2a7dfee.entry.js +4 -0
- package/dist/design-system/p-df5899b930.entry.js +4 -0
- package/dist/design-system/p-e7472337ed.entry.js +4 -0
- package/dist/design-system/p-e85c92ca1a.entry.js +4 -0
- package/dist/design-system/p-f0119fe693.entry.js +4 -0
- package/dist/design-system/p-f4958b9e97.entry.js +4 -0
- package/dist/design-system/p-f62643c33d.entry.js +4 -0
- package/dist/design-system/p-fa9568abce.entry.js +4 -0
- package/dist/design-system/p-fcd98f22b7.entry.js +4 -0
- package/dist/design-system/p-feeef4a8cb.entry.js +4 -0
- package/dist/design-system/{p-BLPSziW-.js → p-hLAmwHiq.js} +1 -1
- package/dist/design-system/p-ij4OEkzJ.js +4 -0
- package/dist/design-system/p-tl_BegdE.js +4 -0
- package/dist/esm/array-dJH4dfMr.js +1983 -0
- package/dist/esm/{breakpoints.decorator-L2xeP46f.js → breakpoints.decorator-DZ0xN4Np.js} +1 -1
- package/dist/esm/{breakpoints.subject-BhbzG-rl.js → breakpoints.subject-BNnXcKMw.js} +3 -3
- package/dist/esm/{button.interfaces-BkESlUMc.js → button.interfaces-BPGfTrrM.js} +1 -1
- package/dist/esm/carousel.interfaces-B-en4B17.js +8 -0
- package/dist/esm/{config.decorator-BQNIja4k.js → config.decorator-ZQ0_Zx5y.js} +1 -1
- package/dist/esm/{config.utils-COlKFRlV.js → config.utils-D9o7rffC.js} +1 -1
- package/dist/esm/create-validator-decorator-DovxquEu.js +208 -0
- package/dist/esm/design-system.js +4 -4
- package/dist/esm/{device-Dhwt3m7W.js → device-CRuIJzXR.js} +1 -1
- package/dist/esm/ds-accordion.entry.js +30 -34
- package/dist/esm/ds-alert-container.entry.js +12 -15
- package/dist/esm/ds-app.entry.js +16 -6
- package/dist/esm/ds-badge.entry.js +32 -25
- package/dist/esm/ds-button-group.entry.js +14 -17
- package/dist/esm/ds-button_2.entry.js +58 -73
- package/dist/esm/ds-card-actions.entry.js +6 -8
- package/dist/esm/ds-card-content.entry.js +2 -2
- package/dist/esm/ds-card-header.entry.js +8 -5
- package/dist/esm/ds-card-subtitle.entry.js +13 -13
- package/dist/esm/ds-card-title.entry.js +11 -7
- package/dist/esm/ds-card.entry.js +30 -42
- package/dist/esm/ds-carousel-item.entry.js +126 -0
- package/dist/esm/ds-carousel.entry.js +471 -0
- package/dist/esm/ds-checkbox-group.entry.js +40 -2011
- package/dist/esm/ds-checkbox.entry.js +23 -19
- package/dist/esm/ds-content_2.entry.js +327 -0
- package/dist/esm/ds-data-item.entry.js +144 -0
- package/dist/esm/ds-data-label.entry.js +39 -0
- package/dist/esm/ds-data-value.entry.js +29 -0
- package/dist/esm/ds-data.entry.js +41 -0
- package/dist/esm/ds-date.entry.js +5332 -0
- package/dist/esm/{ds-logo.entry.js → ds-divider_2.entry.js} +130 -26
- package/dist/esm/ds-drawer_2.entry.js +599 -0
- package/dist/esm/ds-file-upload.entry.js +513 -0
- package/dist/esm/ds-footer.entry.js +157 -0
- package/dist/esm/ds-heading.entry.js +21 -19
- package/dist/esm/ds-hint-text.entry.js +26 -0
- package/dist/esm/ds-hint-title.entry.js +29 -0
- package/dist/esm/ds-hint.entry.js +241 -0
- package/dist/esm/ds-icon_2.entry.js +78 -70
- package/dist/esm/ds-input.entry.js +46 -44
- package/dist/esm/ds-item.entry.js +29 -34
- package/dist/esm/ds-label.entry.js +22 -30
- package/dist/esm/ds-list.entry.js +6 -12
- package/dist/esm/ds-modal-body.entry.js +32 -0
- package/dist/esm/ds-modal-header.entry.js +29 -0
- package/dist/esm/ds-modal.entry.js +199 -0
- package/dist/esm/ds-navbar.entry.js +357 -0
- package/dist/esm/ds-notification.entry.js +19 -27
- package/dist/esm/ds-number-input.entry.js +129 -46
- package/dist/esm/ds-pagination.entry.js +41 -37
- package/dist/esm/ds-progress-bar.entry.js +25 -29
- package/dist/esm/ds-radio-group.entry.js +31 -30
- package/dist/esm/ds-radio.entry.js +25 -32
- package/dist/esm/ds-segment-item.entry.js +9 -9
- package/dist/esm/ds-segment.entry.js +28 -116
- package/dist/esm/ds-select-optgroup.entry.js +47 -0
- package/dist/esm/ds-select-option.entry.js +55 -0
- package/dist/esm/ds-select.entry.js +2770 -0
- package/dist/esm/ds-shape.entry.js +10 -16
- package/dist/esm/ds-snackbar.entry.js +40 -57
- package/dist/esm/ds-step-panel.entry.js +53 -0
- package/dist/esm/ds-step.entry.js +168 -0
- package/dist/esm/ds-steps.entry.js +225 -0
- package/dist/esm/ds-tab-panel.entry.js +53 -0
- package/dist/esm/ds-tab.entry.js +118 -0
- package/dist/esm/ds-tabs.entry.js +362 -0
- package/dist/esm/ds-tag-group.entry.js +3 -3
- package/dist/esm/ds-tag.entry.js +19 -26
- package/dist/esm/ds-text.entry.js +28 -32
- package/dist/esm/ds-textarea.entry.js +33 -32
- package/dist/esm/ds-toast.entry.js +40 -54
- package/dist/esm/ds-toggle.entry.js +22 -21
- package/dist/esm/ds-tooltip.entry.js +180 -0
- package/dist/esm/{field.util-BXxRO7CD.js → field.util-BjZzAi09.js} +1 -1
- package/dist/esm/floating-ui.dom-BqY0KzJC.js +1621 -0
- package/dist/esm/focus-ZxHImoOj.js +1956 -0
- package/dist/esm/footer.i18n-BrJFPhMA.js +159 -0
- package/dist/esm/{form-control-D2O-sb65.js → form-control-DvJo0GKN.js} +2 -2
- package/dist/esm/has-value-DU9L2JaI.js +10 -0
- package/dist/esm/{index-CuwLeg-T.js → index-C6MVahkC.js} +496 -175
- package/dist/esm/index.js +13 -8273
- package/dist/esm/{input.interfaces-C7EnKCpl.js → input.interfaces-BMM6Nxeh.js} +1 -1
- package/dist/esm/keyboard-Uy_dVz21.js +20 -0
- package/dist/esm/{listener-C_kjUVTE.js → listener-DHP2OPMZ.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/luxon-C1jqbZdf.js +8133 -0
- package/dist/esm/one-of-CKPv0Nqm.js +28 -0
- package/dist/esm/popup.interfaces-BAY6Z8bT.js +20 -0
- package/dist/esm/required-Dqsbx5fH.js +36 -0
- package/dist/esm/resize.decorator-B8h8D676.js +96 -0
- package/dist/esm/scroll-CsH7NHo5.js +87 -0
- package/dist/esm/svg-B8KVoKrH.js +2440 -0
- package/dist/esm/{tslib.es6-tdchDLyb.js → tslib.es6-C9GKXw-5.js} +1 -1
- package/dist/esm/type-DzkhLOG_.js +31 -0
- package/dist/types/components/accordion/accordion.d.ts +0 -5
- package/dist/types/components/alert/alert-container.d.ts +0 -5
- package/dist/types/components/alert/snackbar/snackbar.d.ts +0 -5
- package/dist/types/components/alert/toast/toast.d.ts +0 -5
- package/dist/types/components/badge/badge.d.ts +1 -3
- package/dist/types/components/badge/badge.interfaces.d.ts +1 -1
- package/dist/types/components/button/button-group/button-group.d.ts +0 -5
- package/dist/types/components/button/button.d.ts +1 -3
- package/dist/types/components/button/button.interfaces.d.ts +1 -1
- package/dist/types/components/card/card-actions/card-actions.d.ts +0 -1
- package/dist/types/components/card/card-subtitle/card-subtitle.d.ts +0 -1
- package/dist/types/components/card/card.d.ts +1 -3
- package/dist/types/components/carousel/carousel/carousel.d.ts +114 -0
- package/dist/types/components/carousel/carousel/carousel.i18n.d.ts +9 -0
- package/dist/types/components/carousel/carousel-item/carousel-item.d.ts +70 -0
- package/dist/types/components/carousel/carousel.interfaces.d.ts +14 -0
- package/dist/types/components/carousel/test/carousel.a11y.play.d.ts +1 -0
- package/dist/types/components/carousel/test/carousel.component.play.d.ts +1 -0
- package/dist/types/components/carousel/test/carousel.visual.play.d.ts +1 -0
- package/dist/types/components/close/close.d.ts +1 -3
- package/dist/types/components/content/content.d.ts +2 -5
- package/dist/types/components/data/data-item.d.ts +43 -0
- package/dist/types/components/data/data-item.i18n.d.ts +6 -0
- package/dist/types/components/data/data-item.interfaces.d.ts +4 -0
- package/dist/types/components/data/data-label.d.ts +19 -0
- package/dist/types/components/data/data-label.interfaces.d.ts +3 -0
- package/dist/types/components/data/data-value.d.ts +15 -0
- package/dist/types/components/data/data-value.interfaces.d.ts +5 -0
- package/dist/types/components/data/data.d.ts +19 -0
- package/dist/types/components/data/data.interfaces.d.ts +4 -0
- package/dist/types/components/data/test/data.a11y.play.d.ts +1 -0
- package/dist/types/components/data/test/data.component.play.d.ts +1 -0
- package/dist/types/components/data/test/data.visual.play.d.ts +1 -0
- package/dist/types/components/date/date.d.ts +214 -0
- package/dist/types/components/date/date.i18n.d.ts +13 -0
- package/dist/types/components/date/date.interfaces.d.ts +18 -0
- package/dist/types/components/date/date.mask.d.ts +29 -0
- package/dist/types/components/date/date.picker.d.ts +67 -0
- package/dist/types/components/date/test/date.a11y.play.d.ts +1 -0
- package/dist/types/components/date/test/date.component.play.d.ts +1 -0
- package/dist/types/components/date/test/date.visual.play.d.ts +1 -0
- package/dist/types/components/divider/divider.d.ts +1 -3
- package/dist/types/components/drawer/drawer.d.ts +102 -0
- package/dist/types/components/drawer/drawer.interfaces.d.ts +8 -0
- package/dist/types/components/drawer/test/drawer.a11y.play.d.ts +1 -0
- package/dist/types/components/drawer/test/drawer.component.play.d.ts +1 -0
- package/dist/types/components/drawer/test/drawer.visual.play.d.ts +1 -0
- package/dist/types/components/file-upload/file-upload.d.ts +192 -0
- package/dist/types/components/file-upload/file-upload.i18n.d.ts +8 -0
- package/dist/types/components/file-upload/file-upload.interfaces.d.ts +24 -0
- package/dist/types/components/file-upload/test/file-upload.a11y.play.d.ts +1 -0
- package/dist/types/components/file-upload/test/file-upload.component.play.d.ts +1 -0
- package/dist/types/components/file-upload/test/file-upload.visual.play.d.ts +1 -0
- package/dist/types/components/file-upload/utils/file-list.util.d.ts +2 -0
- package/dist/types/components/file-upload/utils/file-size.util.d.ts +1 -0
- package/dist/types/components/file-upload/utils/file-validation.util.d.ts +13 -0
- package/dist/types/components/footer/footer.d.ts +68 -0
- package/dist/types/components/footer/footer.i18n.d.ts +7 -0
- package/dist/types/components/footer/footer.interfaces.d.ts +19 -0
- package/dist/types/components/footer/test/footer.a11y.play.d.ts +1 -0
- package/dist/types/components/footer/test/footer.component.play.d.ts +1 -0
- package/dist/types/components/footer/test/footer.visual.play.d.ts +1 -0
- package/dist/types/components/hint/hint-text/hint-text.d.ts +15 -0
- package/dist/types/components/hint/hint-title/hint-title.d.ts +16 -0
- package/dist/types/components/hint/hint.d.ts +87 -0
- package/dist/types/components/hint/hint.i18n.d.ts +6 -0
- package/dist/types/components/hint/hint.interfaces.d.ts +4 -0
- package/dist/types/components/hint/test/hint.a11y.play.d.ts +1 -0
- package/dist/types/components/hint/test/hint.component.play.d.ts +1 -0
- package/dist/types/components/hint/test/hint.visual.play.d.ts +1 -0
- package/dist/types/components/icon/icon.d.ts +7 -3
- package/dist/types/components/icon/icon.interfaces.d.ts +1 -1
- package/dist/types/components/input/clear-button.i18n.d.ts +6 -0
- package/dist/types/components/input/clear-button.util.d.ts +10 -0
- package/dist/types/components/input/trigger-button.i18n.d.ts +7 -0
- package/dist/types/components/label/label.d.ts +3 -5
- package/dist/types/components/list/item/item.d.ts +0 -5
- package/dist/types/components/list/item/item.interfaces.d.ts +1 -1
- package/dist/types/components/list/list.d.ts +0 -5
- package/dist/types/components/list/test/list.visual.play.d.ts +1 -0
- package/dist/types/components/logo/logo.d.ts +1 -2
- package/dist/types/components/modal/modal-body/modal-body.d.ts +15 -0
- package/dist/types/components/modal/modal-header/modal-header.d.ts +17 -0
- package/dist/types/components/modal/modal.controller.d.ts +3 -0
- package/dist/types/components/modal/modal.d.ts +97 -0
- package/dist/types/components/modal/modal.interfaces.d.ts +15 -0
- package/dist/types/components/modal/test/modal.a11y.play.d.ts +1 -0
- package/dist/types/components/modal/test/modal.component.play.d.ts +1 -0
- package/dist/types/components/modal/test/modal.visual.play.d.ts +1 -0
- package/dist/types/components/navbar/navbar.d.ts +128 -0
- package/dist/types/components/navbar/navbar.i18n.d.ts +9 -0
- package/dist/types/components/navbar/navbar.interfaces.d.ts +10 -0
- package/dist/types/components/navbar/test/navbar.a11y.play.d.ts +1 -0
- package/dist/types/components/navbar/test/navbar.component.play.d.ts +1 -0
- package/dist/types/components/navbar/test/navbar.visual.play.d.ts +1 -0
- package/dist/types/components/notification/notification.d.ts +1 -3
- package/dist/types/components/pagination/pagination.d.ts +0 -5
- package/dist/types/components/popup/popup.d.ts +152 -0
- package/dist/types/components/popup/popup.interfaces.d.ts +14 -0
- package/dist/types/components/popup/test/popup.a11y.play.d.ts +1 -0
- package/dist/types/components/popup/test/popup.component.play.d.ts +1 -0
- package/dist/types/components/popup/test/popup.visual.play.d.ts +1 -0
- package/dist/types/components/progress-bar/progress-bar.d.ts +0 -5
- package/dist/types/components/select/select-optgroup.d.ts +28 -0
- package/dist/types/components/select/select-option.d.ts +34 -0
- package/dist/types/components/select/select.d.ts +193 -0
- package/dist/types/components/select/select.i18n.d.ts +7 -0
- package/dist/types/components/select/select.interfaces.d.ts +16 -0
- package/dist/types/components/select/select.picker.d.ts +57 -0
- package/dist/types/components/select/test/select.a11y.play.d.ts +1 -0
- package/dist/types/components/select/test/select.component.play.d.ts +1 -0
- package/dist/types/components/select/test/select.visual.play.d.ts +1 -0
- package/dist/types/components/shape/shape.d.ts +2 -7
- package/dist/types/components/spinner/spinner.d.ts +0 -2
- package/dist/types/components/stack/stack.d.ts +7 -19
- package/dist/types/components/steps/step/step.d.ts +89 -0
- package/dist/types/components/steps/step-panel/step-panel.d.ts +34 -0
- package/dist/types/components/steps/steps/steps.d.ts +77 -0
- package/dist/types/components/steps/steps.interfaces.d.ts +10 -0
- package/dist/types/components/steps/test/steps.a11y.play.d.ts +1 -0
- package/dist/types/components/steps/test/steps.component.play.d.ts +1 -0
- package/dist/types/components/steps/test/steps.visual.play.d.ts +1 -0
- package/dist/types/components/tabs/tab/tab.d.ts +67 -0
- package/dist/types/components/tabs/tab-panel/tab-panel.d.ts +34 -0
- package/dist/types/components/tabs/tabs/tabs.d.ts +97 -0
- package/dist/types/components/tabs/tabs/tabs.i18n.d.ts +7 -0
- package/dist/types/components/tabs/tabs.interfaces.d.ts +12 -0
- package/dist/types/components/tabs/test/tabs.a11y.play.d.ts +1 -0
- package/dist/types/components/tabs/test/tabs.component.play.d.ts +1 -0
- package/dist/types/components/tabs/test/tabs.visual.play.d.ts +1 -0
- package/dist/types/components/tag/tag.d.ts +1 -3
- package/dist/types/components/text/text.d.ts +2 -7
- package/dist/types/components/time-input/test/time-input.visual.play.d.ts +1 -0
- package/dist/types/components/tooltip/test/tooltip.a11y.play.d.ts +1 -0
- package/dist/types/components/tooltip/test/tooltip.component.play.d.ts +1 -0
- package/dist/types/components/tooltip/test/tooltip.visual.play.d.ts +1 -0
- package/dist/types/components/tooltip/tooltip.d.ts +85 -0
- package/dist/types/components/tooltip/tooltip.interfaces.d.ts +10 -0
- package/dist/types/components.d.ts +4913 -1926
- package/dist/types/foundation/colors.visual.play.d.ts +1 -0
- package/dist/types/global/config/config.const.d.ts +3 -0
- package/dist/types/global/config/config.default.d.ts +0 -40
- package/dist/types/global/config/config.meta.d.ts +2 -0
- package/dist/types/global/config/config.types.d.ts +27 -0
- package/dist/types/global/config/index.d.ts +1 -0
- package/dist/types/global/index.d.ts +0 -1
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/carousel.po.d.ts +12 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/data-item.po.d.ts +16 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/data.po.d.ts +12 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/date.po.d.ts +15 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/drawer.po.d.ts +11 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/file-upload.po.d.ts +16 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/footer.po.d.ts +16 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/hint.po.d.ts +10 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/index.d.ts +15 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/modal.po.d.ts +15 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/navbar.po.d.ts +13 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/popup.po.d.ts +11 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/select.po.d.ts +24 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/steps.po.d.ts +13 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/tabs.po.d.ts +13 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/components/tooltip.po.d.ts +6 -0
- package/dist/types/home/runner/work/design-system/design-system/packages/core/.stencil/packages/playwright/src/lib/page/utils/goto.d.ts +1 -1
- package/dist/types/index.d.ts +4 -1
- package/dist/types/stencil-public-runtime.d.ts +1 -0
- package/dist/types/utils/attributes.d.ts +0 -8
- package/dist/types/utils/focus.d.ts +18 -0
- package/dist/types/utils/form-control.d.ts +2 -2
- package/dist/types/utils/has-value.d.ts +1 -0
- package/dist/types/utils/index.d.ts +7 -5
- package/dist/types/utils/number.d.ts +0 -3
- package/dist/types/utils/property-decorators/array-of.d.ts +9 -0
- package/dist/types/utils/property-decorators/bound.d.ts +36 -0
- package/dist/types/utils/property-decorators/create-validator-decorator.d.ts +48 -0
- package/dist/types/utils/property-decorators/date.d.ts +6 -0
- package/dist/types/utils/property-decorators/index.d.ts +9 -0
- package/dist/types/utils/property-decorators/iso-date.d.ts +6 -0
- package/dist/types/utils/property-decorators/one-of.d.ts +8 -0
- package/dist/types/utils/property-decorators/pattern.d.ts +8 -0
- package/dist/types/utils/property-decorators/required.d.ts +17 -0
- package/dist/types/utils/property-decorators/type.d.ts +9 -0
- package/dist/types/utils/property-decorators/url.d.ts +6 -0
- package/dist/types/utils/svg.d.ts +2 -0
- package/docs/cem.json +17659 -0
- package/docs/components.json +38767 -17409
- package/docs/html.html-data.json +1529 -147
- package/docs/tags.json +29 -1
- package/package.json +45 -38
- package/sbom.cdx.json +54391 -0
- package/README.md +0 -33
- package/components/p-82RSSk25.js +0 -4
- package/components/p-BEngECpF.js +0 -4
- package/components/p-BMBthpLd.js +0 -4
- package/components/p-BNY3JzuV.js +0 -4
- package/components/p-BOTkpyFe.js +0 -5
- package/components/p-BOgMmRCt.js +0 -4
- package/components/p-CDYlUuhB.js +0 -4
- package/components/p-Cb75Rr6o.js +0 -4
- package/components/p-CojUmpFm.js +0 -4
- package/components/p-DHeVI6dR.js +0 -4
- package/components/p-DTPbL3uY.js +0 -4
- package/components/p-DnnGnukM.js +0 -4
- package/components/p-DtuTnY5l.js +0 -4
- package/components/p-JZ1uDtZv.js +0 -4
- package/components/p-cSbDziZm.js +0 -4
- package/components/p-gA-94RPS.js +0 -4
- package/components/p-xDEngwqW.js +0 -4
- package/dist/cjs/contact-SPfz2A_q.js +0 -1647
- package/dist/cjs/ds-content.cjs.entry.js +0 -154
- package/dist/cjs/ds-divider.cjs.entry.js +0 -131
- package/dist/cjs/ds-stack.cjs.entry.js +0 -224
- package/dist/cjs/isEmpty-BmKp4bH4.js +0 -99
- package/dist/cjs/stack.interfaces-6vlKvBmb.js +0 -68
- package/dist/cjs/svg-D7Mwbcvp.js +0 -1482
- package/dist/cjs/validate.decorator-C9-9HA0Y.js +0 -115
- package/dist/collection/global/constants/icons.constant.js +0 -42
- package/dist/collection/utils/element-states/element-states.decorator.js +0 -23
- package/dist/collection/utils/element-states/element-states.listener.js +0 -55
- package/dist/collection/utils/element-states/element-states.subject.js +0 -24
- package/dist/collection/utils/element-states/index.js +0 -5
- package/dist/collection/utils/keyboard/index.js +0 -6
- package/dist/collection/utils/keyboard/keyboard.decorator.js +0 -23
- package/dist/collection/utils/keyboard/keyboard.listener.js +0 -34
- package/dist/collection/utils/keyboard/keyboard.subject.js +0 -24
- package/dist/collection/utils/property-checkers/check-array-of.js +0 -13
- package/dist/collection/utils/property-checkers/check-date.js +0 -18
- package/dist/collection/utils/property-checkers/check-iso-date.js +0 -14
- package/dist/collection/utils/property-checkers/check-one-of.js +0 -13
- package/dist/collection/utils/property-checkers/check-pattern.js +0 -13
- package/dist/collection/utils/property-checkers/check-type.js +0 -20
- package/dist/collection/utils/property-checkers/check-url.js +0 -20
- package/dist/collection/utils/property-checkers/empty-or.js +0 -15
- package/dist/collection/utils/property-checkers/index.js +0 -57
- package/dist/collection/utils/property-checkers/required-and.js +0 -20
- package/dist/collection/utils/swipe/index.js +0 -6
- package/dist/collection/utils/swipe/swipe.decorator.js +0 -23
- package/dist/collection/utils/swipe/swipe.listener.js +0 -33
- package/dist/collection/utils/swipe/swipe.subject.js +0 -28
- package/dist/collection/utils/validate.decorator.js +0 -203
- package/dist/design-system/p-03bbcdf9de.entry.js +0 -4
- package/dist/design-system/p-1154323457.entry.js +0 -4
- package/dist/design-system/p-1f0601a4f4.entry.js +0 -4
- package/dist/design-system/p-21b080a49a.entry.js +0 -4
- package/dist/design-system/p-27c34c4e5f.entry.js +0 -4
- package/dist/design-system/p-2b91de302f.entry.js +0 -4
- package/dist/design-system/p-31c1235ac5.entry.js +0 -4
- package/dist/design-system/p-3259acaa64.entry.js +0 -4
- package/dist/design-system/p-339d85cca0.entry.js +0 -4
- package/dist/design-system/p-35e63b52e7.entry.js +0 -4
- package/dist/design-system/p-363f3a7ab4.entry.js +0 -4
- package/dist/design-system/p-3d901720f7.entry.js +0 -4
- package/dist/design-system/p-40ba8b9812.entry.js +0 -4
- package/dist/design-system/p-432430e14f.entry.js +0 -4
- package/dist/design-system/p-487807f228.entry.js +0 -4
- package/dist/design-system/p-4a049d1b7f.entry.js +0 -4
- package/dist/design-system/p-4f4cce8ce4.entry.js +0 -4
- package/dist/design-system/p-5a901a9b8e.entry.js +0 -4
- package/dist/design-system/p-5d3330bf93.entry.js +0 -4
- package/dist/design-system/p-640223834c.entry.js +0 -4
- package/dist/design-system/p-6b9aab417f.entry.js +0 -4
- package/dist/design-system/p-799705af3a.entry.js +0 -4
- package/dist/design-system/p-82RSSk25.js +0 -4
- package/dist/design-system/p-8e0872fef0.entry.js +0 -4
- package/dist/design-system/p-9617d56181.entry.js +0 -4
- package/dist/design-system/p-BaIoYrFa.js +0 -5
- package/dist/design-system/p-Cb75Rr6o.js +0 -4
- package/dist/design-system/p-CqZ6YSy9.js +0 -4
- package/dist/design-system/p-CqzM3doy.js +0 -4
- package/dist/design-system/p-CuwLeg-T.js +0 -5
- package/dist/design-system/p-DTPbL3uY.js +0 -4
- package/dist/design-system/p-aff68865ee.entry.js +0 -4
- package/dist/design-system/p-b3c6327744.entry.js +0 -4
- package/dist/design-system/p-be9023a38b.entry.js +0 -4
- package/dist/design-system/p-c031d1dce5.entry.js +0 -4
- package/dist/design-system/p-c3ae96e220.entry.js +0 -4
- package/dist/design-system/p-d430812a57.entry.js +0 -4
- package/dist/design-system/p-de1354f022.entry.js +0 -4
- package/dist/design-system/p-e3d0c82e2a.entry.js +0 -4
- package/dist/design-system/p-ea1a5e1f75.entry.js +0 -4
- package/dist/design-system/p-ea7169501c.entry.js +0 -4
- package/dist/design-system/p-eab397e041.entry.js +0 -4
- package/dist/design-system/p-ecba4deb9a.entry.js +0 -4
- package/dist/design-system/p-fe0dbd4b03.entry.js +0 -4
- package/dist/design-system/p-ng5ZzTOj.js +0 -4
- package/dist/esm/contact-Cb75Rr6o.js +0 -1636
- package/dist/esm/ds-content.entry.js +0 -152
- package/dist/esm/ds-divider.entry.js +0 -129
- package/dist/esm/ds-stack.entry.js +0 -222
- package/dist/esm/isEmpty-DmZYZqE9.js +0 -97
- package/dist/esm/stack.interfaces-ng5ZzTOj.js +0 -62
- package/dist/esm/svg-BaIoYrFa.js +0 -1480
- package/dist/esm/validate.decorator-82RSSk25.js +0 -110
- package/dist/types/global/constants/icons.constant.d.ts +0 -38
- package/dist/types/utils/element-states/element-states.decorator.d.ts +0 -3
- package/dist/types/utils/element-states/element-states.interfaces.d.ts +0 -10
- package/dist/types/utils/element-states/element-states.listener.d.ts +0 -15
- package/dist/types/utils/element-states/element-states.subject.d.ts +0 -8
- package/dist/types/utils/element-states/index.d.ts +0 -2
- package/dist/types/utils/keyboard/index.d.ts +0 -3
- package/dist/types/utils/keyboard/keyboard.decorator.d.ts +0 -3
- package/dist/types/utils/keyboard/keyboard.interfaces.d.ts +0 -8
- package/dist/types/utils/keyboard/keyboard.listener.d.ts +0 -9
- package/dist/types/utils/keyboard/keyboard.subject.d.ts +0 -8
- package/dist/types/utils/property-checkers/check-array-of.d.ts +0 -2
- package/dist/types/utils/property-checkers/check-date.d.ts +0 -1
- package/dist/types/utils/property-checkers/check-iso-date.d.ts +0 -1
- package/dist/types/utils/property-checkers/check-one-of.d.ts +0 -1
- package/dist/types/utils/property-checkers/check-pattern.d.ts +0 -1
- package/dist/types/utils/property-checkers/check-type.d.ts +0 -2
- package/dist/types/utils/property-checkers/check-url.d.ts +0 -1
- package/dist/types/utils/property-checkers/constants.d.ts +0 -1
- package/dist/types/utils/property-checkers/empty-or.d.ts +0 -1
- package/dist/types/utils/property-checkers/index.d.ts +0 -19
- package/dist/types/utils/property-checkers/required-and.d.ts +0 -1
- package/dist/types/utils/swipe/index.d.ts +0 -3
- package/dist/types/utils/swipe/swipe.decorator.d.ts +0 -5
- package/dist/types/utils/swipe/swipe.interfaces.d.ts +0 -10
- package/dist/types/utils/swipe/swipe.listener.d.ts +0 -10
- package/dist/types/utils/swipe/swipe.subject.d.ts +0 -11
- package/dist/types/utils/validate.decorator.d.ts +0 -114
- /package/dist/collection/{utils/element-states/element-states.interfaces.js → components/data/data-item.interfaces.js} +0 -0
- /package/dist/collection/{utils/keyboard/keyboard.interfaces.js → components/data/data-label.interfaces.js} +0 -0
- /package/dist/collection/{utils/property-checkers/property-types.js → components/data/data-value.interfaces.js} +0 -0
- /package/dist/collection/{utils/swipe/swipe.interfaces.js → components/data/data.interfaces.js} +0 -0
- /package/dist/collection/utils/{property-checkers/is-iso-date.js → is-iso-date.js} +0 -0
- /package/dist/collection/utils/{keyboard/keyboard.helpers.js → keyboard.js} +0 -0
- /package/dist/types/utils/{property-checkers/is-iso-date.d.ts → is-iso-date.d.ts} +0 -0
- /package/dist/types/utils/{property-checkers/is-value-empty.d.ts → is-value-empty.d.ts} +0 -0
- /package/dist/types/utils/{keyboard/keyboard.helpers.d.ts → keyboard.d.ts} +0 -0
- /package/dist/types/utils/{property-checkers/property-types.d.ts → property-types.d.ts} +0 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Helvetia Design System https://design.baloise.dev/ - Apache License 2.0
|
|
3
|
+
*/
|
|
4
|
+
import{d as n}from"./p-C6MVahkC.js";
|
|
5
|
+
/*!
|
|
6
|
+
* tabbable 6.5.0
|
|
7
|
+
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
8
|
+
*/
|
|
9
|
+
var t=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","area[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],e=t.join(","),r="undefined"==typeof Element,i=r?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,o=!r&&Element.prototype.getRootNode?function(n){var t;return null==n||null===(t=n.getRootNode)||void 0===t?void 0:t.call(n)}:function(n){return null==n?void 0:n.ownerDocument},u=function(n,t){var e;void 0===t&&(t=!0);var r=null==n||null===(e=n.getAttribute)||void 0===e?void 0:e.call(n,"inert");return""===r||"true"===r||t&&n&&("function"==typeof n.closest?n.closest("[inert]"):u(n.parentNode))},a=function(n,t,r){if(u(n))return[];var o=Array.prototype.slice.apply(n.querySelectorAll(e));return t&&i.call(n,e)&&o.unshift(n),o.filter(r)},c=function(n,t,r){for(var o=[],a=Array.from(n);a.length;){var l=a.shift();if(!u(l,!1))if("SLOT"===l.tagName){var f=l.assignedElements(),s=c(f.length?f:l.children,!0,r);r.flatten?o.push.apply(o,s):o.push({scopeParent:l,candidates:s})}else{i.call(l,e)&&r.filter(l)&&(t||!n.includes(l))&&o.push(l);var v=l.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(l),d=!u(v,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(l));if(v&&d){var p=c(!0===v?l.children:v.children,!0,r);r.flatten?o.push.apply(o,p):o.push({scopeParent:l,candidates:p})}else a.unshift.apply(a,l.children)}}return o},l=function(n){return!isNaN(parseInt(n.getAttribute("tabindex"),10))},f=function(n){if(!n)throw new Error("No node provided");return n.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(n.tagName)||function(n){var t,e=null==n||null===(t=n.getAttribute)||void 0===t?void 0:t.call(n,"contenteditable");return""===e||"true"===e}(n))&&!l(n)?0:n.tabIndex},s=function(n,t){return n.tabIndex===t.tabIndex?n.documentOrder-t.documentOrder:n.tabIndex-t.tabIndex},v=function(n){return"INPUT"===n.tagName},d=function(n){var t=n.getBoundingClientRect();return 0===t.width&&0===t.height},p=function(n,t){return!(t.disabled||function(n){return v(n)&&"hidden"===n.type}(t)||function(n,t){var e=t.displayCheck,r=t.getShadowRoot;if("full-native"===e&&"checkVisibility"in n)return!n.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});var u=getComputedStyle(n).visibility;if("hidden"===u||"collapse"===u)return!0;var a=i.call(n,"details>summary:first-of-type");if(i.call(a?n.parentElement:n,"details:not([open]) *"))return!0;if(e&&"full"!==e&&"full-native"!==e&&"legacy-full"!==e){if("non-zero-area"===e)return d(n)}else{if("function"==typeof r){for(var c=n;n;){var l=n.parentElement,f=o(n);if(l&&!l.shadowRoot&&!0===r(l))return d(n);n=n.assignedSlot?n.assignedSlot:l||f===n.ownerDocument?l:f.host}n=c}if(function(n){var t,e,r,i,u=n&&o(n),a=null===(t=u)||void 0===t?void 0:t.host,c=!1;if(u&&u!==n)for(c=!!(null!==(e=a)&&void 0!==e&&null!==(r=e.ownerDocument)&&void 0!==r&&r.contains(a)||null!=n&&null!==(i=n.ownerDocument)&&void 0!==i&&i.contains(n));!c&&a;){var l,f,s;c=!(null===(f=a=null===(l=u=o(a))||void 0===l?void 0:l.host)||void 0===f||null===(s=f.ownerDocument)||void 0===s||!s.contains(a))}return c}(n))return!n.getClientRects().length;if("legacy-full"!==e)return!0}return!1}(t,n)||function(n){return"DETAILS"===n.tagName&&Array.prototype.slice.apply(n.children).some((function(n){return"SUMMARY"===n.tagName}))}(t)||function(n){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(n.tagName))for(var t=n.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var e=0;e<t.children.length;e++){var r=t.children.item(e);if("LEGEND"===r.tagName)return!!i.call(t,"fieldset[disabled] *")||!r.contains(n)}return!0}t=t.parentElement}return!1}(t))},h=function(n,t){return!(function(n){return function(n){return v(n)&&"radio"===n.type}(n)&&!function(n){if(!n.name)return!0;var t,e=n.form||o(n),r=function(n){return e.querySelectorAll('input[type="radio"][name="'+n+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(n.name));else try{t=r(n.name)}catch(n){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",n.message),!1}var i=function(n,t){for(var e=0;e<n.length;e++)if(n[e].checked&&n[e].form===t)return n[e]}(t,n.form);return!i||i===n}(n)}(t)||f(t)<0||!p(n,t))},b=function(n){var t=parseInt(n.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},y=function(n){var t=[],e=[];return n.forEach((function(n,r){var i=!!n.scopeParent,o=i?n.scopeParent:n,u=function(n,t){var e=f(n);return e<0&&t&&!l(n)?0:e}(o,i),a=i?y(n.candidates):o;0===u?i?t.push.apply(t,a):t.push(o):e.push({documentOrder:r,tabIndex:u,item:n,isScope:i,content:a})})),e.sort(s).reduce((function(n,t){return t.isScope?n.push.apply(n,t.content):n.push(t.content),n}),[]).concat(t)},w=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return!1!==i.call(n,e)&&h(t,n)},m=t.concat("iframe:not([inert]):not([inert] *)").join(","),S=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return!1!==i.call(n,m)&&p(t,n)};
|
|
10
|
+
/*!
|
|
11
|
+
* focus-trap 8.2.2
|
|
12
|
+
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
13
|
+
*/
|
|
14
|
+
function E(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=Array(t);e<t;e++)r[e]=n[e];return r}function T(n,t){var e="undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(!e){if(Array.isArray(n)||(e=A(n))||t){e&&(n=e);var r=0,i=function(){};return{s:i,n:function(){return r>=n.length?{done:!0}:{done:!1,value:n[r++]}},e:function(n){throw n},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,u=!0,a=!1;return{s:function(){e=e.call(n)},n:function(){var n=e.next();return u=n.done,n},e:function(n){a=!0,o=n},f:function(){try{u||null==e.return||e.return()}finally{if(a)throw o}}}}function F(n,t,e){return(t=function(n){var t=function(n,t){if("object"!=typeof n||!n)return n;var e=n[Symbol.toPrimitive];if(void 0!==e){var r=e.call(n,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n,"string");return"symbol"==typeof t?t:t+""}(t))in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}function k(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),e.push.apply(e,r)}return e}function O(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?k(Object(e),!0).forEach((function(t){F(n,t,e[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):k(Object(e)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))}))}return n}function A(n,t){if(n){if("string"==typeof n)return E(n,t);var e={}.toString.call(n).slice(8,-1);return"Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?E(n,t):void 0}}var j={getActiveTrap:function(n){return(null==n?void 0:n.length)>0?n[n.length-1]:null},activateTrap:function(n,t){t!==j.getActiveTrap(n)&&j.pauseTrap(n);var e=n.indexOf(t);-1===e||n.splice(e,1),n.push(t)},deactivateTrap:function(n,t){var e=n.indexOf(t);-1!==e&&n.splice(e,1),j.unpauseTrap(n)},pauseTrap:function(n){var t=j.getActiveTrap(n);null==t||t._setPausedState(!0)},unpauseTrap:function(n){var t=j.getActiveTrap(n);t&&!t._isManuallyPaused()&&t._setPausedState(!1)}},N=function(n){return"Tab"===(null==n?void 0:n.key)||9===(null==n?void 0:n.keyCode)},g=function(n){return N(n)&&!n.shiftKey},I=function(n){return N(n)&&n.shiftKey},P=function(n){return setTimeout(n,0)},D=function(n){for(var t=arguments.length,e=new Array(t>1?t-1:0),r=1;r<t;r++)e[r-1]=arguments[r];return"function"==typeof n?n.apply(void 0,e):n},R=function(n){return n.target.shadowRoot&&"function"==typeof n.composedPath?n.composedPath()[0]:n.target},C=[],x=function(n,t){var e,r=(null==t?void 0:t.document)||document,i=(null==t?void 0:t.trapStack)||C,o=O({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,delayReturnFocus:!0,isolateSubtrees:!1,isKeyForward:g,isKeyBackward:I},t),u={containers:[],containerGroups:[],tabbableGroups:[],adjacentElements:new Set,alreadySilent:new Set,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},l=function(n,t,e){return n&&void 0!==n[t]?n[t]:o[e||t]},s=function(n,t){var e="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return u.containerGroups.findIndex((function(t){var r=t.container,i=t.tabbableNodes;return r.contains(n)||(null==e?void 0:e.includes(r))||i.find((function(t){return t===n}))}))},v=function(n){var t,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.hasFallback,u=void 0!==i&&i,a=e.params,c=o[n];if("function"==typeof c&&(c=c.apply(void 0,function(n){if(Array.isArray(n))return E(n)}(t=void 0===a?[]:a)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(t)||A(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())),!0===c&&(c=void 0),!c){if(void 0===c||!1===c)return c;throw new Error("`".concat(n,"` was specified but was not a node, or did not return a node"))}var l=c;if("string"==typeof c){try{l=r.querySelector(c)}catch(t){throw new Error("`".concat(n,'` appears to be an invalid selector; error="').concat(t.message,'"'))}if(!l&&!u)throw new Error("`".concat(n,"` as selector refers to no known node"))}return l},d=function(n){var t=n.activeElement;return t?t.shadowRoot&&null!==t.shadowRoot.activeElement?d(t.shadowRoot):t:null},m=function(){var n=v("initialFocus",{hasFallback:!0});if(!1===n)return!1;if(void 0===n||n&&!S(n,o.tabbableOptions)){var t=d(r);if(s(t)>=0)n=t;else{var e=u.tabbableGroups[0];n=e&&e.firstTabbableNode||v("fallbackFocus")}}else null===n&&(n=v("fallbackFocus"));if(!n)throw new Error("Your focus-trap needs to have at least one focusable element");return n},F=function(){if(u.containerGroups=u.containers.map((function(n){var t=function(n,t){var e;return e=(t=t||{}).getShadowRoot?c([n],t.includeContainer,{filter:h.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:b}):a(n,t.includeContainer,h.bind(null,t)),y(e)}(n,o.tabbableOptions),e=function(n,t){return(t=t||{}).getShadowRoot?c([n],t.includeContainer,{filter:p.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):a(n,t.includeContainer,p.bind(null,t))}(n,o.tabbableOptions),r=t.length>0?t[0]:void 0,i=t.length>0?t[t.length-1]:void 0,u=e.find((function(n){return w(n)})),l=e.slice().reverse().find((function(n){return w(n)})),s=!!t.find((function(n){return f(n)>0}));return{container:n,tabbableNodes:t,focusableNodes:e,posTabIndexesFound:s,firstTabbableNode:r,lastTabbableNode:i,firstDomTabbableNode:u,lastDomTabbableNode:l,nextTabbableNode:function(n){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=t.indexOf(n);return i<0?r?e.slice(e.indexOf(n)+1).find((function(n){return w(n)})):e.slice(0,e.indexOf(n)).reverse().find((function(n){return w(n)})):t[i+(r?1:-1)]}}})),u.tabbableGroups=u.containerGroups.filter((function(n){return n.tabbableNodes.length>0})),u.tabbableGroups.length<=0&&!v("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(u.containerGroups.find((function(n){return n.posTabIndexesFound}))&&u.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},k=function(n){!1!==n&&n!==d(document)&&(n&&n.focus?(n.focus({preventScroll:!!o.preventScroll}),u.mostRecentlyFocusedNode=n,function(n){return n.tagName&&"input"===n.tagName.toLowerCase()&&"function"==typeof n.select}(n)&&n.select()):k(m()))},x=function(n){var t=v("setReturnFocus",{params:[n]});return t||!1!==t&&n},L=function(n){var t=n.target,e=n.event,r=n.isBackward,i=void 0!==r&&r;t=t||R(e),F();var a=null;if(u.tabbableGroups.length>0){var c=s(t,e),l=c>=0?u.containerGroups[c]:void 0;if(c<0)a=i?u.tabbableGroups[u.tabbableGroups.length-1].lastTabbableNode:u.tabbableGroups[0].firstTabbableNode;else if(i){var d=u.tabbableGroups.findIndex((function(n){return t===n.firstTabbableNode}));if(d<0&&(l.container===t||S(t,o.tabbableOptions)&&!w(t,o.tabbableOptions)&&!l.nextTabbableNode(t,!1))&&(d=c),d>=0){var p=u.tabbableGroups[0===d?u.tabbableGroups.length-1:d-1];a=f(t)>=0?p.lastTabbableNode:p.lastDomTabbableNode}else N(e)||(a=l.nextTabbableNode(t,!1))}else{var h=u.tabbableGroups.findIndex((function(n){return t===n.lastTabbableNode}));if(h<0&&(l.container===t||S(t,o.tabbableOptions)&&!w(t,o.tabbableOptions)&&!l.nextTabbableNode(t))&&(h=c),h>=0){var b=u.tabbableGroups[h===u.tabbableGroups.length-1?0:h+1];a=f(t)>=0?b.firstTabbableNode:b.firstDomTabbableNode}else N(e)||(a=l.nextTabbableNode(t))}}else a=v("fallbackFocus");return a},U=function(n){var t=R(n);s(t,n)>=0||(D(o.clickOutsideDeactivates,n)?e.deactivate({returnFocus:o.returnFocusOnDeactivate}):D(o.allowOutsideClick,n)||n.preventDefault())},M=function(n){var t=R(n),e=s(t,n)>=0;if(e||t instanceof Document)e&&(u.mostRecentlyFocusedNode=t);else{var r;n.stopImmediatePropagation();var i=!0;if(u.mostRecentlyFocusedNode)if(f(u.mostRecentlyFocusedNode)>0){var a=s(u.mostRecentlyFocusedNode),c=u.containerGroups[a].tabbableNodes;if(c.length>0){var l=c.findIndex((function(n){return n===u.mostRecentlyFocusedNode}));l>=0&&(o.isKeyForward(u.recentNavEvent)?l+1<c.length&&(r=c[l+1],i=!1):l-1>=0&&(r=c[l-1],i=!1))}}else u.containerGroups.some((function(n){return n.tabbableNodes.some((function(n){return f(n)>0}))}))||(i=!1);else i=!1;i&&(r=L({target:u.mostRecentlyFocusedNode,isBackward:o.isKeyBackward(u.recentNavEvent)})),k(r||u.mostRecentlyFocusedNode||m())}u.recentNavEvent=void 0},B=function(n){(o.isKeyForward(n)||o.isKeyBackward(n))&&function(n){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];u.recentNavEvent=n;var e=L({event:n,isBackward:t});e&&(N(n)&&n.preventDefault(),k(e))}(n,o.isKeyBackward(n))},V=function(n){var t;"Escape"!==(null==(t=n)?void 0:t.key)&&"Esc"!==(null==t?void 0:t.key)&&27!==(null==t?void 0:t.keyCode)||!1===D(o.escapeDeactivates,n)||(n.preventDefault(),e.deactivate())},G=function(n){var t=R(n);s(t,n)>=0||D(o.clickOutsideDeactivates,n)||D(o.allowOutsideClick,n)||(n.preventDefault(),n.stopImmediatePropagation())},Y=function(){var n;if(u.active)return j.activateTrap(i,e),o.delayInitialFocus?n=new Promise((function(n){u.delayInitialFocusTimer=P((function(){k(m()),n()}))})):k(m()),r.addEventListener("focusin",M,!0),r.addEventListener("mousedown",U,{capture:!0,passive:!1}),r.addEventListener("touchstart",U,{capture:!0,passive:!1}),r.addEventListener("click",G,{capture:!0,passive:!1}),r.addEventListener("keydown",B,{capture:!0,passive:!1}),r.addEventListener("keydown",V),n},$=function(){if(u.active)return r.removeEventListener("focusin",M,!0),r.removeEventListener("mousedown",U,!0),r.removeEventListener("touchstart",U,!0),r.removeEventListener("click",G,!0),r.removeEventListener("keydown",B,!0),r.removeEventListener("keydown",V),e},_="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver((function(n){var t=u.mostRecentlyFocusedNode;if(t&&n.some((function(n){return Array.from(n.removedNodes).some((function(n){return n===t||"function"==typeof n.contains&&n.contains(t)}))}))&&u.containers.some((function(n){return null==n?void 0:n.isConnected}))){F();var e=m();k(e)}})):void 0,z=function(){_&&(_.disconnect(),u.active&&!u.paused&&u.containers.map((function(n){_.observe(n,{subtree:!0,childList:!0})})))};return e={get active(){return u.active},get paused(){return u.paused},activate:function(n){if(u.active)return this;var t,o=l(n,"onActivate"),a=l(n,"onPostActivate"),c=l(n,"checkCanFocusTrap"),f=j.getActiveTrap(i),s=!1;f&&!f.paused&&(null===(t=f._setSubtreeIsolation)||void 0===t||t.call(f,!1),s=!0);try{c||F(),u.active=!0,u.paused=!1,u.nodeFocusedBeforeActivation=d(r),null==o||o({trap:e});var v=function(){c&&F();var n=function(){e._setSubtreeIsolation(!0),z(),null==a||a({trap:e})},t=Y();t?t.then(n):n()};if(c)return c(u.containers.concat()).then(v,v),this;v()}catch(n){var p;throw f===j.getActiveTrap(i)&&s&&(null===(p=f._setSubtreeIsolation)||void 0===p||p.call(f,!0)),n}return this},deactivate:function(n){if(!u.active)return this;var t=O({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},n);clearTimeout(u.delayInitialFocusTimer),u.delayInitialFocusTimer=void 0,u.paused||e._setSubtreeIsolation(!1),u.alreadySilent.clear(),$(),u.active=!1,u.paused=!1,z(),j.deactivateTrap(i,e);var r=l(t,"onDeactivate"),a=l(t,"onPostDeactivate"),c=l(t,"checkCanReturnFocus"),f=l(t,"delayReturnFocus"),s=l(t,"returnFocus","returnFocusOnDeactivate");null==r||r({trap:e});var v=function(){s&&k(x(u.nodeFocusedBeforeActivation)),null==a||a({trap:e})},d=function(){f&&s?P(v):v()};return s&&c?(c(x(u.nodeFocusedBeforeActivation)).then(d,d),this):(d(),this)},pause:function(n){return u.active?(u.manuallyPaused=!0,this._setPausedState(!0,n)):this},unpause:function(n){return u.active?(u.manuallyPaused=!1,i[i.length-1]!==this?this:this._setPausedState(!1,n)):this},updateContainerElements:function(n){var t=[].concat(n).filter(Boolean);return u.containers=t.map((function(n){return"string"==typeof n?r.querySelector(n):n})),o.isolateSubtrees&&function(n){u.active&&!u.paused&&e._setSubtreeIsolation(!1),u.adjacentElements.clear(),u.alreadySilent.clear();var t,r=new Set,i=new Set,o=T(n);try{for(o.s();!(t=o.n()).done;){var a=t.value;r.add(a);for(var c="undefined"!=typeof ShadowRoot&&a.getRootNode()instanceof ShadowRoot,l=a;l;){r.add(l);var f=l.parentElement,s=[];f?s=f.children:!f&&c&&(s=l.getRootNode().children,f=l.getRootNode().host,c="undefined"!=typeof ShadowRoot&&f.getRootNode()instanceof ShadowRoot);var v,d=T(s);try{for(d.s();!(v=d.n()).done;)i.add(v.value)}catch(n){d.e(n)}finally{d.f()}l=f}}}catch(n){o.e(n)}finally{o.f()}r.forEach((function(n){i.delete(n)})),u.adjacentElements=i}(u.containers),u.active&&(F(),u.paused||e._setSubtreeIsolation(!0)),z(),this}},Object.defineProperties(e,{_isManuallyPaused:{value:function(){return u.manuallyPaused}},_setPausedState:{value:function(n,t){if(u.paused===n)return this;if(u.paused=n,n){var r=l(t,"onPause"),i=l(t,"onPostPause");null==r||r({trap:e}),$(),e._setSubtreeIsolation(!1),z(),null==i||i({trap:e})}else{var o=l(t,"onUnpause"),a=l(t,"onPostUnpause");null==o||o({trap:e}),function(){F();var n=function(){e._setSubtreeIsolation(!0),z(),null==a||a({trap:e})},t=Y();t?t.then(n):n()}()}return this}},_setSubtreeIsolation:{value:function(n){o.isolateSubtrees&&u.adjacentElements.forEach((function(t){var e;n?"aria-hidden"===o.isolateSubtrees?("true"!==t.ariaHidden&&"true"!==(null===(e=t.getAttribute("aria-hidden"))||void 0===e?void 0:e.toLowerCase())||u.alreadySilent.add(t),t.setAttribute("aria-hidden","true")):((t.inert||t.hasAttribute("inert"))&&u.alreadySilent.add(t),t.setAttribute("inert",!0)):u.alreadySilent.has(t)||t.removeAttribute("aria-hidden"===o.isolateSubtrees?"aria-hidden":"inert")}))}}}),e.updateContainerElements(n),e};class L{constructor(){this.focusTrap=null,this.disabled=!1,this.previousFocusedElement=null,this.restoreElement=null}connect(){}disconnect(){this.disabled||this.disable(),this.target=void 0,this.focusTrap=null,this.previousFocusedElement=null,this.restoreElement=null}isDisabled(){return this.disabled}enable(n){(null==n?void 0:n.target)&&(this.target=n.target),this.target&&((null==n?void 0:n.restoreElement)&&(this.restoreElement=n.restoreElement),this.initializeFocusTrap(),this.disabled=!1)}disable(){!this.disabled&&this.target&&(this.deactivateFocusTrap(),this.disabled=!0)}initializeFocusTrap(){this.target&&(n.hasDocument&&n.hasWindow&&(this.previousFocusedElement=document.activeElement),this.focusTrap=x(this.target,{escapeDeactivates:!1,initialFocus:!1,fallbackFocus:this.target,tabbableOptions:{getShadowRoot:!0}}),this.focusTrap.activate())}deactivateFocusTrap(){this.focusTrap&&(this.focusTrap.deactivate(),this.focusTrap=null)}restoreFocus(t){const e=t||this.restoreElement||this.previousFocusedElement;e&&n.hasDocument&&e.focus()}}export{L as F}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Helvetia Design System https://design.baloise.dev/ - Apache License 2.0
|
|
3
|
+
*/
|
|
4
|
+
/*! @license DOMPurify 3.4.12 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.12/LICENSE */
|
|
5
|
+
function t(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}const e=Object.entries,n=Object.setPrototypeOf,r=Object.isFrozen,o=Object.getPrototypeOf,i=Object.getOwnPropertyDescriptor;let a=Object.freeze,l=Object.seal,c=Object.create,s="undefined"!=typeof Reflect&&Reflect,u=s.apply,f=s.construct;a||(a=function(t){return t}),l||(l=function(t){return t}),u||(u=function(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return t.apply(e,r)}),f||(f=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return new t(...n)});const p=I(Array.prototype.forEach),m=I(Array.prototype.lastIndexOf),d=I(Array.prototype.pop),h=I(Array.prototype.push),y=I(Array.prototype.splice),g=Array.isArray,b=I(String.prototype.toLowerCase),w=I(String.prototype.toString),v=I(String.prototype.match),x=I(String.prototype.replace),S=I(String.prototype.indexOf),k=I(String.prototype.trim),T=I(Number.prototype.toString),A=I(Boolean.prototype.toString),E="undefined"==typeof BigInt?null:I(BigInt.prototype.toString),O="undefined"==typeof Symbol?null:I(Symbol.prototype.toString),D=I(Object.prototype.hasOwnProperty),z=I(Object.prototype.toString),R=I(RegExp.prototype.test),_=(j=TypeError,function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return f(j,e)});var j;function I(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return u(t,e,r)}}function L(t,e){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:b;if(n&&n(t,null),!g(e))return t;let i=e.length;for(;i--;){let n=e[i];if("string"==typeof n){const t=o(n);t!==n&&(r(e)||(e[i]=t),n=t)}t[n]=!0}return t}function N(t){for(let e=0;e<t.length;e++)D(t,e)||(t[e]=null);return t}function M(n){const r=c(null);for(const l of e(n)){var o=(a=2,function(t){if(Array.isArray(t))return t}(i=l)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,l=[],c=!0,s=!1;try{if(i=(n=n.call(t)).next,0===e);else for(;!(c=(r=i.call(n)).done)&&(l.push(r.value),l.length!==e);c=!0);}catch(t){s=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return l}}(i,a)||function(e,n){if(e){if("string"==typeof e)return t(e,n);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}}(i,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());const e=o[0],c=o[1];D(n,e)&&(r[e]=g(c)?N(c):c&&"object"==typeof c&&c.constructor===Object?M(c):c)}var i,a;return r}function F(t,e){for(;null!==t;){const n=i(t,e);if(n){if(n.get)return I(n.get);if("function"==typeof n.value)return I(n.value)}t=o(t)}return function(){return null}}const C=a(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),B=a(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),P=a(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),U=a(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),G=a(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Y=a(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),$=a(["#text"]),q=a(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),H=a(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),W=a(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),V=a(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),K=l(/{{[\w\W]*|^[\w\W]*}}/g),X=l(/<%[\w\W]*|^[\w\W]*%>/g),J=l(/\${[\w\W]*/g),Q=l(/^data-[\-\w.\u00B7-\uFFFF]+$/),Z=l(/^aria-[\-\w]+$/),tt=l(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),et=l(/^(?:\w+script|data):/i),nt=l(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),rt=l(/^html$/i),ot=l(/^[a-z][.\w]*(-[.\w]+)+$/i),it=l(/<[/\w!]/g),at=l(/<[/\w]/g),lt=l(/<\/no(script|embed|frames)/i),ct=l(/\/>/i),st=function(){return"undefined"==typeof window?null:window},ut=function(t,e,n,r){return D(t,e)&&g(t[e])?L(r.base?M(r.base):{},t[e],r.transform):n};var ft=function t(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:st();const r=e=>t(e);if(r.version="3.4.12",r.removed=[],!n||!n.document||9!==n.document.nodeType||!n.Element)return r.isSupported=!1,r;let o=n.document;const i=o,s=i.currentScript,u=n.HTMLTemplateElement,f=n.Node,j=n.NodeFilter,I=n.DOMParser,N=n.trustedTypes,ft=n.Element.prototype,pt=F(ft,"cloneNode"),mt=F(ft,"remove"),dt=F(ft,"nextSibling"),ht=F(ft,"childNodes"),yt=F(ft,"parentNode"),gt=F(ft,"shadowRoot"),bt=F(ft,"attributes"),wt=f&&f.prototype?F(f.prototype,"nodeType"):null,vt=f&&f.prototype?F(f.prototype,"nodeName"):null;if("function"==typeof u){const t=o.createElement("template");t.content&&t.content.ownerDocument&&(o=t.content.ownerDocument)}let xt,St,kt="",Tt=!1,At=0;const Et=function(){if(At>0)throw _('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},Ot=function(t){Et(),At++;try{return xt.createHTML(t)}finally{At--}},Dt=o.implementation,zt=o.createNodeIterator,Rt=o.createDocumentFragment,_t=o.getElementsByTagName,jt=i.importNode;let It={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};r.isSupported="function"==typeof e&&"function"==typeof yt&&Dt&&void 0!==Dt.createHTMLDocument;const Lt=K,Nt=X,Mt=J,Ft=Q,Ct=Z,Bt=et,Pt=nt,Ut=ot;let Gt=tt,Yt=null;const $t=L({},[...C,...B,...P,...G,...$]);let qt=null;const Ht=L({},[...q,...H,...W,...V]);let Wt=Object.seal(c(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Vt=null,Kt=null;const Xt=Object.seal(c(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Jt=!0,Qt=!0,Zt=!1,te=!0,ee=!1,ne=!0,re=!1,oe=!1,ie=null,ae=null,le=!1,ce=!1,se=!1,ue=!1,fe=!0,pe=!1;const me="user-content-";let de=!0,he=!1,ye={},ge=null;const be=L({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let we=null;const ve=L({},["audio","video","img","source","image","track"]);let xe=null;const Se=L({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ke="http://www.w3.org/1998/Math/MathML",Te="http://www.w3.org/2000/svg",Ae="http://www.w3.org/1999/xhtml";let Ee=Ae,Oe=!1,De=null;const ze=L({},[ke,Te,Ae],w),Re=a(["mi","mo","mn","ms","mtext"]);let _e=L({},Re);const je=a(["annotation-xml"]);let Ie=L({},je);const Le=L({},["title","style","font","a","script"]);let Ne=null;const Me=["application/xhtml+xml","text/html"];let Fe=null,Ce=null;const Be=o.createElement("form"),Pe=function(t){return t instanceof RegExp||t instanceof Function},Ue=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(Ce&&Ce===t)return;t&&"object"==typeof t||(t={}),t=M(t),Ne=-1===Me.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,Fe="application/xhtml+xml"===Ne?w:b,Yt=ut(t,"ALLOWED_TAGS",$t,{transform:Fe}),qt=ut(t,"ALLOWED_ATTR",Ht,{transform:Fe}),De=ut(t,"ALLOWED_NAMESPACES",ze,{transform:w}),xe=ut(t,"ADD_URI_SAFE_ATTR",Se,{transform:Fe,base:Se}),we=ut(t,"ADD_DATA_URI_TAGS",ve,{transform:Fe,base:ve}),ge=ut(t,"FORBID_CONTENTS",be,{transform:Fe}),Vt=ut(t,"FORBID_TAGS",M({}),{transform:Fe}),Kt=ut(t,"FORBID_ATTR",M({}),{transform:Fe}),ye=!!D(t,"USE_PROFILES")&&(t.USE_PROFILES&&"object"==typeof t.USE_PROFILES?M(t.USE_PROFILES):t.USE_PROFILES),Jt=!1!==t.ALLOW_ARIA_ATTR,Qt=!1!==t.ALLOW_DATA_ATTR,Zt=t.ALLOW_UNKNOWN_PROTOCOLS||!1,te=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,ee=t.SAFE_FOR_TEMPLATES||!1,ne=!1!==t.SAFE_FOR_XML,re=t.WHOLE_DOCUMENT||!1,ce=t.RETURN_DOM||!1,se=t.RETURN_DOM_FRAGMENT||!1,ue=t.RETURN_TRUSTED_TYPE||!1,le=t.FORCE_BODY||!1,fe=!1!==t.SANITIZE_DOM,pe=t.SANITIZE_NAMED_PROPS||!1,de=!1!==t.KEEP_CONTENT,he=t.IN_PLACE||!1,Gt=function(t){try{return R(t,""),!0}catch(t){return!1}}(t.ALLOWED_URI_REGEXP)?t.ALLOWED_URI_REGEXP:tt,Ee="string"==typeof t.NAMESPACE?t.NAMESPACE:Ae,_e=D(t,"MATHML_TEXT_INTEGRATION_POINTS")&&t.MATHML_TEXT_INTEGRATION_POINTS&&"object"==typeof t.MATHML_TEXT_INTEGRATION_POINTS?M(t.MATHML_TEXT_INTEGRATION_POINTS):L({},Re),Ie=D(t,"HTML_INTEGRATION_POINTS")&&t.HTML_INTEGRATION_POINTS&&"object"==typeof t.HTML_INTEGRATION_POINTS?M(t.HTML_INTEGRATION_POINTS):L({},je);const e=D(t,"CUSTOM_ELEMENT_HANDLING")&&t.CUSTOM_ELEMENT_HANDLING&&"object"==typeof t.CUSTOM_ELEMENT_HANDLING?M(t.CUSTOM_ELEMENT_HANDLING):c(null);if(Wt=c(null),D(e,"tagNameCheck")&&Pe(e.tagNameCheck)&&(Wt.tagNameCheck=e.tagNameCheck),D(e,"attributeNameCheck")&&Pe(e.attributeNameCheck)&&(Wt.attributeNameCheck=e.attributeNameCheck),D(e,"allowCustomizedBuiltInElements")&&"boolean"==typeof e.allowCustomizedBuiltInElements&&(Wt.allowCustomizedBuiltInElements=e.allowCustomizedBuiltInElements),l(Wt),ee&&(Qt=!1),se&&(ce=!0),ye&&(Yt=L({},$),qt=c(null),!0===ye.html&&(L(Yt,C),L(qt,q)),!0===ye.svg&&(L(Yt,B),L(qt,H),L(qt,V)),!0===ye.svgFilters&&(L(Yt,P),L(qt,H),L(qt,V)),!0===ye.mathMl&&(L(Yt,G),L(qt,W),L(qt,V))),Xt.tagCheck=null,Xt.attributeCheck=null,D(t,"ADD_TAGS")&&("function"==typeof t.ADD_TAGS?Xt.tagCheck=t.ADD_TAGS:g(t.ADD_TAGS)&&(Yt===$t&&(Yt=M(Yt)),L(Yt,t.ADD_TAGS,Fe))),D(t,"ADD_ATTR")&&("function"==typeof t.ADD_ATTR?Xt.attributeCheck=t.ADD_ATTR:g(t.ADD_ATTR)&&(qt===Ht&&(qt=M(qt)),L(qt,t.ADD_ATTR,Fe))),D(t,"ADD_URI_SAFE_ATTR")&&g(t.ADD_URI_SAFE_ATTR)&&L(xe,t.ADD_URI_SAFE_ATTR,Fe),D(t,"FORBID_CONTENTS")&&g(t.FORBID_CONTENTS)&&(ge===be&&(ge=M(ge)),L(ge,t.FORBID_CONTENTS,Fe)),D(t,"ADD_FORBID_CONTENTS")&&g(t.ADD_FORBID_CONTENTS)&&(ge===be&&(ge=M(ge)),L(ge,t.ADD_FORBID_CONTENTS,Fe)),de&&(Yt["#text"]=!0),re&&L(Yt,["html","head","body"]),Yt.table&&(L(Yt,["tbody"]),delete Vt.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw _('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw _('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const e=xt;xt=t.TRUSTED_TYPES_POLICY;try{kt=Ot("")}catch(t){throw xt=e,t}}else null===t.TRUSTED_TYPES_POLICY?(xt=void 0,kt=""):(void 0===xt&&(Tt||(St=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";e&&e.hasAttribute(r)&&(n=e.getAttribute(r));const o="dompurify"+(n?"#"+n:"");try{return t.createPolicy(o,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(N,s),Tt=!0),xt=St),xt&&"string"==typeof kt&&(kt=Ot("")));a&&a(t),Ce=t},Ge=L({},[...B,...P,...U]),Ye=L({},[...G,...Y]),$e=function(t){h(r.removed,{element:t});try{yt(t).removeChild(t)}catch(e){if(mt(t),!yt(t))throw _("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},qe=function(t){Ve(t);const e=ht(t);if(e){const t=[];p(e,(e=>{h(t,e)})),p(t,(t=>{try{mt(t)}catch(t){}}))}const n=bt(t);if(n)for(let e=n.length-1;e>=0;--e){const r=n[e],o=r&&r.name;if("string"==typeof o)try{t.removeAttribute(o)}catch(t){}}},He=function(t,e){try{h(r.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){h(r.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t)if(ce||se)try{$e(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},We=function(t){const e=bt(t);if(e)for(let n=e.length-1;n>=0;--n){const r=e[n],o=r&&r.name;if("string"==typeof o&&!qt[Fe(o)])try{t.removeAttribute(o)}catch(t){}}},Ve=function(t){const e=[t];for(;e.length>0;){const t=e.pop();1===(wt?wt(t):t.nodeType)&&We(t);const n=ht(t);if(n)for(let t=n.length-1;t>=0;--t)e.push(n[t])}},Ke=function(t){let e=null,n=null;if(le)t="<remove></remove>"+t;else{const e=v(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===Ne&&Ee===Ae&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const r=xt?Ot(t):t;if(Ee===Ae)try{e=(new I).parseFromString(r,Ne)}catch(t){}if(!e||!e.documentElement){e=Dt.createDocument(Ee,"template",null);try{e.documentElement.innerHTML=Oe?kt:r}catch(t){}}const i=e.body||e.documentElement;return t&&n&&i.insertBefore(o.createTextNode(n),i.childNodes[0]||null),Ee===Ae?_t.call(e,re?"html":"body")[0]:re?e.documentElement:i},Xe=function(t){return zt.call(t.ownerDocument||t,t,j.SHOW_ELEMENT|j.SHOW_COMMENT|j.SHOW_TEXT|j.SHOW_PROCESSING_INSTRUCTION|j.SHOW_CDATA_SECTION,null)},Je=function(t){return t=x(t,Lt," "),t=x(t,Nt," "),x(t,Mt," ")},Qe=function(t){var e;t.normalize();const n=zt.call(t.ownerDocument||t,t,j.SHOW_TEXT|j.SHOW_COMMENT|j.SHOW_CDATA_SECTION|j.SHOW_PROCESSING_INSTRUCTION,null);let r=n.nextNode();for(;r;)r.data=Je(r.data),r=n.nextNode();const o=null===(e=t.querySelectorAll)||void 0===e?void 0:e.call(t,"template");o&&p(o,(t=>{tn(t.content)&&Qe(t.content)}))},Ze=function(t){const e=vt?vt(t):null;return"string"==typeof e&&"form"===Fe(e)&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||t.attributes!==bt(t)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes||t.nodeType!==wt(t)||t.childNodes!==ht(t))},tn=function(t){if(!wt||"object"!=typeof t||null===t)return!1;try{return 11===wt(t)}catch(t){return!1}},en=function(t){if(!wt||"object"!=typeof t||null===t)return!1;try{return"number"==typeof wt(t)}catch(t){return!1}};function nn(t,e,n){0!==t.length&&p(t,(t=>{t.call(r,e,n,Ce)}))}const rn=function(t,e){if(nn(It.beforeSanitizeElements,t,null),t!==e&&null===yt(t))return!0;if(Ze(t))return $e(t),!0;const n=Fe(vt?vt(t):t.nodeName);if(nn(It.uponSanitizeElement,t,{tagName:n,allowedTags:Yt}),t!==e&&null===yt(t))return!0;if(function(t,e){return!!(ne&&t.hasChildNodes()&&!en(t.firstElementChild)&&R(it,t.textContent)&&R(it,t.innerHTML))||!(!ne||t.namespaceURI!==Ae||"style"!==e||!en(t.firstElementChild))||7===t.nodeType||!(!ne||8!==t.nodeType||!R(at,t.data))}(t,n))return $e(t),!0;if(Vt[n]||!(Xt.tagCheck instanceof Function&&Xt.tagCheck(n))&&!Yt[n]){const e=function(t,e){if(!Vt[e]&&ln(e)){if(Wt.tagNameCheck instanceof RegExp&&R(Wt.tagNameCheck,e))return!1;if(Wt.tagNameCheck instanceof Function&&Wt.tagNameCheck(e))return!1}if(de&&!ge[e]){const e=yt(t),n=ht(t);if(n&&e)for(let r=n.length-1;r>=0;--r){const o=he?n[r]:pt(n[r],!0);e.insertBefore(o,dt(t))}}return $e(t),!0}(t,n);return!1===e&&nn(It.afterSanitizeElements,t,null),e}if(1===(wt?wt(t):t.nodeType)&&!function(t){let e=yt(t);e&&e.tagName||(e={namespaceURI:Ee,tagName:"template"});const n=b(t.tagName),r=b(e.tagName);return!!De[t.namespaceURI]&&(t.namespaceURI===Te?function(t,e,n){return e.namespaceURI===Ae?"svg"===t:e.namespaceURI===ke?"svg"===t&&("annotation-xml"===n||_e[n]):Boolean(Ge[t])}(n,e,r):t.namespaceURI===ke?function(t,e,n){return e.namespaceURI===Ae?"math"===t:e.namespaceURI===Te?"math"===t&&Ie[n]:Boolean(Ye[t])}(n,e,r):t.namespaceURI===Ae?function(t,e,n){return!(e.namespaceURI===Te&&!Ie[n])&&!(e.namespaceURI===ke&&!_e[n])&&!Ye[t]&&(Le[t]||!Ge[t])}(n,e,r):!("application/xhtml+xml"!==Ne||!De[t.namespaceURI]))}(t))return $e(t),!0;if(("noscript"===n||"noembed"===n||"noframes"===n)&&R(lt,t.innerHTML))return $e(t),!0;if(ee&&3===t.nodeType){const e=Je(t.textContent);t.textContent!==e&&(h(r.removed,{element:t.cloneNode()}),t.textContent=e)}return nn(It.afterSanitizeElements,t,null),!1},on=function(t,e,n){if(Kt[e])return!1;if(ne&&"patchsrc"===e)return!1;if(ne&&"for"===e&&"label"!==t&&"output"!==t)return!1;if(fe&&("id"===e||"name"===e)&&(n in o||n in Be))return!1;const r=qt[e]||Xt.attributeCheck instanceof Function&&Xt.attributeCheck(e,t);if(Qt&&R(Ft,e));else if(Jt&&R(Ct,e));else if(r){if(xe[e]);else if(R(Gt,x(n,Pt,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==S(n,"data:")||!we[t])if(Zt&&!R(Bt,x(n,Pt,"")));else if(n)return!1}else if(!(ln(t)&&(Wt.tagNameCheck instanceof RegExp&&R(Wt.tagNameCheck,t)||Wt.tagNameCheck instanceof Function&&Wt.tagNameCheck(t))&&(Wt.attributeNameCheck instanceof RegExp&&R(Wt.attributeNameCheck,e)||Wt.attributeNameCheck instanceof Function&&Wt.attributeNameCheck(e,t))||"is"===e&&Wt.allowCustomizedBuiltInElements&&(Wt.tagNameCheck instanceof RegExp&&R(Wt.tagNameCheck,n)||Wt.tagNameCheck instanceof Function&&Wt.tagNameCheck(n))))return!1;return!0},an=L({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),ln=function(t){return!an[b(t)]&&R(Ut,t)},cn=function(t,e,n,r){if(xt&&"object"==typeof N&&"function"==typeof N.getAttributeType&&!n)switch(N.getAttributeType(t,e)){case"TrustedHTML":return Ot(r);case"TrustedScriptURL":return function(t){Et(),At++;try{return xt.createScriptURL(t)}finally{At--}}(r)}return r},sn=function(t,e,n,o){try{n?t.setAttributeNS(n,e,o):t.setAttribute(e,o),Ze(t)?$e(t):d(r.removed)}catch(n){He(e,t)}},un=function(t){nn(It.beforeSanitizeAttributes,t,null);const e=t.attributes;if(!e||Ze(t))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:qt,forceKeepAttr:void 0};let r=e.length;const o=Fe(t.nodeName);for(;r--;){const i=e[r],a=i.name,l=i.namespaceURI,c=i.value,s=Fe(a),u=c;let f="value"===a?u:k(u);n.attrName=s,n.attrValue=f,n.keepAttr=!0,n.forceKeepAttr=void 0,nn(It.uponSanitizeAttribute,t,n),f=n.attrValue,!pe||"id"!==s&&"name"!==s||0===S(f,me)||(He(a,t),f=me+f),ne&&R(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,f)||"attributename"===s&&v(f,"href")?He(a,t):n.forceKeepAttr||(!n.keepAttr||!te&&R(ct,f)?He(a,t):(ee&&(f=Je(f)),on(o,s,f)?(f=cn(o,s,l,f),f!==u&&sn(t,a,l,f)):He(a,t)))}nn(It.afterSanitizeAttributes,t,null)},fn=function(t){let e=null;const n=Xe(t);for(nn(It.beforeSanitizeShadowDOM,t,null);e=n.nextNode();)if(nn(It.uponSanitizeShadowNode,e,null),rn(e,t),un(e),tn(e.content)&&fn(e.content),1===(wt?wt(e):e.nodeType)){const t=gt(e);tn(t)&&(pn(t),fn(t))}nn(It.afterSanitizeShadowDOM,t,null)},pn=function(t){const e=[{node:t,shadow:null}];for(;e.length>0;){const t=e.pop();if(t.shadow){fn(t.shadow);continue}const n=t.node,r=1===(wt?wt(n):n.nodeType),o=ht(n);if(o)for(let t=o.length-1;t>=0;--t)e.push({node:o[t],shadow:null});if(r){const t=vt?vt(n):null;if("string"==typeof t&&"template"===Fe(t)){const t=n.content;tn(t)&&e.push({node:t,shadow:null})}}if(r){const t=gt(n);tn(t)&&e.push({node:null,shadow:t},{node:t,shadow:null})}}};return r.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,o=null,a=null,l=null;if(Oe=!t,Oe&&(t="\x3c!--\x3e"),"string"!=typeof t&&!en(t)&&"string"!=typeof(t=function(t){switch(typeof t){case"string":return t;case"number":return T(t);case"boolean":return A(t);case"bigint":return E?E(t):"0";case"symbol":return O?O(t):"Symbol()";case"undefined":default:return z(t);case"function":case"object":{if(null===t)return z(t);const e=t,n=F(e,"toString");if("function"==typeof n){const t=n(e);return"string"==typeof t?t:z(t)}return z(t)}}}(t)))throw _("dirty is not a string, aborting");if(!r.isSupported)return t;oe?(Yt=ie,qt=ae):Ue(e),(It.uponSanitizeElement.length>0||It.uponSanitizeAttribute.length>0)&&(Yt=M(Yt)),It.uponSanitizeAttribute.length>0&&(qt=M(qt)),r.removed=[];const c=he&&"string"!=typeof t&&en(t);if(c){!function(t){if(!ne)return;const e=[t];for(;e.length>0;){const t=e.pop(),n=wt?wt(t):t.nodeType;if(7===n||8===n&&R(at,t.data)){try{mt(t)}catch(t){}continue}if(1===n){const e=t,n=Fe(vt?vt(t):t.nodeName);try{e.hasAttribute&&e.hasAttribute("patchsrc")&&e.removeAttribute("patchsrc"),e.hasAttribute&&e.hasAttribute("for")&&"label"!==n&&"output"!==n&&e.removeAttribute("for")}catch(t){}}const r=ht(t);if(r)for(let t=r.length-1;t>=0;--t)e.push(r[t])}}(t);const e=vt?vt(t):t.nodeName;if("string"==typeof e){const n=Fe(e);if(!Yt[n]||Vt[n])throw qe(t),_("root node is forbidden and cannot be sanitized in-place")}if(Ze(t))throw qe(t),_("root node is clobbered and cannot be sanitized in-place");try{pn(t)}catch(e){throw qe(t),e}}else if(en(t))n=Ke("\x3c!----\x3e"),o=n.ownerDocument.importNode(t,!0),1===o.nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?n=o:n.appendChild(o),pn(o);else{if(!ce&&!ee&&!re&&-1===t.indexOf("<"))return xt&&ue?Ot(t):t;if(n=Ke(t),!n)return ce?null:ue?kt:""}n&&le&&$e(n.firstChild);const s=c?t:n,u=Xe(s);try{for(;a=u.nextNode();)rn(a,s),un(a),tn(a.content)&&fn(a.content)}catch(e){throw c&&(qe(t),p(r.removed,(t=>{t.element&&Ve(t.element)}))),e}if(c)return p(r.removed,(t=>{t.element&&Ve(t.element)})),ee&&Qe(t),t;if(ce){if(ee&&Qe(n),se)for(l=Rt.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(qt.shadowroot||qt.shadowrootmode)&&(l=jt.call(i,l,!0)),l}let f=re?n.outerHTML:n.innerHTML;return re&&Yt["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&R(rt,n.ownerDocument.doctype.name)&&(f="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+f),ee&&(f=Je(f)),xt&&ue?Ot(f):f},r.setConfig=function(){Ue(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),oe=!0,ie=Yt,ae=qt},r.clearConfig=function(){Ce=null,oe=!1,ie=null,ae=null,xt=St,kt=""},r.isValidAttribute=function(t,e,n){Ce||Ue({});const r=Fe(t),o=Fe(e);return on(r,o,n)},r.addHook=function(t,e){"function"==typeof e&&D(It,t)&&h(It[t],e)},r.removeHook=function(t,e){if(D(It,t)){if(void 0!==e){const n=m(It[t],e);return-1===n?void 0:y(It[t],n,1)[0]}return d(It[t])}},r.removeHooks=function(t){D(It,t)&&(It[t]=[])},r.removeAllHooks=function(){It={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},r}();const pt=t=>ft.sanitize(t,{USE_PROFILES:{svg:!0},FORBID_ATTR:["height","width"]}),mt=new Map,dt=t=>(mt.has(t)||mt.set(t,fetch(t).then((e=>{if(!e.ok)throw new Error(`ds-icon: failed to fetch SVG "${t}" (${e.status})`);return e.text()})).then((t=>pt(t))).catch((e=>(console.error(e),mt.delete(t),"")))),mt.get(t));export{dt as f,pt as s}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Helvetia Design System https://design.baloise.dev/ - Apache License 2.0
|
|
3
|
+
*/
|
|
4
|
+
const t=["top","top-start","top-end","right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end"],o=["dialog","listbox","menu","tree","grid"];export{t as P,o as a}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Helvetia Design System https://design.baloise.dev/ - Apache License 2.0
|
|
3
|
+
*/
|
|
4
|
+
import{E as a,F as l}from"./p-C6MVahkC.js";import{a as e}from"./p-DYfTMCkl.js";import{I as i}from"./p-C7I7OlaM.js";const s=(s,r)=>{var n;const t=null!==(n=s.inputId)&&void 0!==n?n:"input",d="fieldset"===s.role?"group":void 0,o="fieldset"===s.role?"fieldset":"div";return a(l,{class:Object.assign({"ds-field ":!0,"is-disabled":!!s.disabled,"is-danger":"danger"===s.color||!!s.invalid,"is-success":"success"===s.color&&!s.invalid,"is-warning":"warning"===s.color&&!s.invalid},s.cssClasses)},a(o,{id:"inner",part:"inner",role:d,"aria-disabled":e(s.disabled),"aria-invalid":e(s.invalid),"aria-labelledby":"label","aria-describedby":"description",onClick:a=>{var l;return null===(l=s.onClick)||void 0===l?void 0:l.call(s,a)}},s.label&&("fieldset"===s.role?a("legend",{part:"label",id:"label"},a("slot",{name:"label"},s.label),!s.required&&a("span",null,i[s.language].optional||"")):a("label",{htmlFor:t,part:"label",id:"label"},a("slot",{name:"label"},s.label),!s.required&&a("span",null,i[s.language].optional||""))),a("div",{id:"container",part:"control"},a("slot",{name:"start"}),r,a("slot",{name:"end"}),!0===s.loading&&a("ds-spinner",{small:!0,variation:"circle",color:s.disabled?"white":"blue"})),s.label&&a("span",{id:"description",part:"description",role:s.invalid&&s.invalidText?"alert":void 0},s.invalid&&s.invalidText&&a("ds-icon",{name:"alert"}),a("slot",{name:"description"},s.invalid&&s.invalidText?s.invalidText:s.description))))};export{s as F}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Helvetia Design System https://design.baloise.dev/ - Apache License 2.0
|
|
3
3
|
*/
|
|
4
|
-
const e=["primary","danger","success","warning",""],a=["on","off",""],n=["none","text","tel","url","email","numeric","decimal","search",""],r=["vehicle-registration-number","contract-number","basic-contract-number","claim-number","offer-number","be-enterprise-number","be-iban",""],c=["color","date","datetime-local","email","file","image","month","number","password","range","search","tel","text","time","url","week",""],t=["on","off","name","honorific-prefix","given-name","additional-name","family-name","honorific-suffix","nickname","email","username","new-password","current-password","one-time-code","organization-title","organization","street-address","address-line1","address-line2","address-line3","address-level4","address-level3","address-level2","address-level1","country","country-name","postal-code","cc-name","cc-given-name","cc-additional-name","cc-family-name","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc","cc-type","transaction-currency","transaction-amount","language","bday","bday-day","bday-month","bday-year","sex","tel","tel-country-code","tel-national","tel-area-code","tel-local","tel-extension","impp","url","photo",""];export{e as I,
|
|
4
|
+
const e=["primary","danger","success","warning",""],a=["on","off",""],n=["none","text","tel","url","email","numeric","decimal","search",""],r=["vehicle-registration-number","contract-number","basic-contract-number","claim-number","offer-number","be-enterprise-number","be-iban",""],c=["color","date","datetime-local","email","file","image","month","number","password","range","search","tel","text","time","url","week",""],t=["on","off","name","honorific-prefix","given-name","additional-name","family-name","honorific-suffix","nickname","email","username","new-password","current-password","one-time-code","organization-title","organization","street-address","address-line1","address-line2","address-line3","address-level4","address-level3","address-level2","address-level1","country","country-name","postal-code","cc-name","cc-given-name","cc-additional-name","cc-family-name","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc","cc-type","transaction-currency","transaction-amount","language","bday","bday-day","bday-month","bday-year","sex","tel","tel-country-code","tel-national","tel-area-code","tel-local","tel-extension","impp","url","photo",""];export{e as I,t as a,c as b,a as c,n as d,r as e}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Helvetia Design System https://design.baloise.dev/ - Apache License 2.0
|
|
3
3
|
*/
|
|
4
|
-
const t=["right","center","left",""],r=["auto","row","column"],e=["","primary","secondary","tertiary","tertiary-purple","tertiary-red","tertiary-yellow","tertiary-green","link","light","success","warning","danger","text","info","primary-light","info-light"],a=["button","reset","submit"],i=["sm","","lg","xl","small"],s=["_blank","_parent","_self","_top"];export{s as B,
|
|
4
|
+
const t=["right","center","left",""],r=["auto","row","column"],e=["","primary","secondary","tertiary","tertiary-purple","tertiary-red","tertiary-yellow","tertiary-green","link","light","success","warning","danger","text","info","primary-light","info-light"],a=["button","reset","submit"],i=["sm","","lg","xl","small"],s=["_blank","_parent","_self","_top",""];export{s as B,t as a,r as b,e as c,a as d,i as e}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Helvetia Design System https://design.baloise.dev/ - Apache License 2.0
|
|
3
|
+
*/
|
|
4
|
+
import{d as t}from"./p-C6MVahkC.js";class o{constructor(){this.x=void 0,this.y=void 0,this.disabled=!1}static disableSmoothScrolling(){this.setScrollBehavior("auto")}static enableSmoothScrolling(){this.setScrollBehavior("smooth")}static setScrollBehavior(o){var i;if(t.hasDocument){const t=document;document.body.style.scrollBehavior=o;const s=null===(i=t.firstChild)||void 0===i?void 0:i.nextSibling;"smooth"===getComputedStyle(s).scrollBehavior&&(s.style.scrollBehavior=o)}}connect(o){o?this.target=o:t.hasDocument&&(this.target=document),onscroll=null,onkeydown=null}disconnect(){this.disabled&&this.enable(),this.target=void 0,onscroll=null,onkeydown=null}isDisabled(){return this.disabled}enable(){this.target&&t.hasWindow&&t.hasDocument&&(document.documentElement.style.overflow="",document.body.classList.remove("noscroll"),document.body.style.position="",document.body.style.top="",document.body.style.width="",void 0!==this.x&&void 0!==this.y&&(window.scrollTo(this.x,this.y),this.x=void 0,this.y=void 0),this.disabled=!1)}disable(){!this.disabled&&this.target&&t.hasWindow&&t.hasDocument&&(this.x=window.pageXOffset||document.documentElement.scrollLeft,this.y=window.pageYOffset||document.documentElement.scrollTop,document.documentElement.style.overflow="hidden",document.body.classList.add("noscroll"),document.body.style.position="fixed",document.body.style.top=`-${this.y}px`,document.body.style.width="100%",this.disabled=!0)}}export{o as S}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Helvetia Design System https://design.baloise.dev/ - Apache License 2.0
|
|
3
|
+
*/
|
|
4
|
+
const t=Math.min,n=Math.max,e=Math.round,o=Math.floor,r=t=>({x:t,y:t}),i={left:"right",right:"left",bottom:"top",top:"bottom"};function l(e,o,r){return n(e,t(o,r))}function c(t,n){return"function"==typeof t?t(n):t}function a(t){return t.split("-")[0]}function u(t){return t.split("-")[1]}function s(t){return"x"===t?"y":"x"}function f(t){return"y"===t?"height":"width"}function d(t){const n=t[0];return"t"===n||"b"===n?"y":"x"}function m(t){return s(d(t))}function y(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const h=["left","right"],p=["right","left"],w=["top","bottom"],g=["bottom","top"];function x(t){const n=a(t);return i[n]+t.slice(n.length)}function v(t){return"number"!=typeof t?function(t){var n,e,o,r;return{top:null!=(n=t.top)?n:0,right:null!=(e=t.right)?e:0,bottom:null!=(o=t.bottom)?o:0,left:null!=(r=t.left)?r:0}}(t):{top:t,right:t,bottom:t,left:t}}function b(t){const{x:n,y:e,width:o,height:r}=t;return{width:o,height:r,top:e,left:n,right:n+o,bottom:e+r,x:n,y:e}}function A(t,n,e){let{reference:o,floating:r}=t;const i=d(n),l=m(n),c=f(l),s=a(n),y="y"===i,h=o.x+o.width/2-r.width/2,p=o.y+o.height/2-r.height/2,w=o[c]/2-r[c]/2;let g;switch(s){case"top":g={x:h,y:o.y-r.height};break;case"bottom":g={x:h,y:o.y+o.height};break;case"right":g={x:o.x+o.width,y:p};break;case"left":g={x:o.x-r.width,y:p};break;default:g={x:o.x,y:o.y}}const x=u(n);return x&&(g[l]+=w*("end"===x?1:-1)*(e&&y?-1:1)),g}async function S(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:i,rects:l,elements:a,strategy:u}=t,{boundary:s="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:m=!1,padding:y=0}=c(n,t),h=v(y),p=a[m?"floating"===d?"reference":"floating":d],w=b(await i.getClippingRect({element:null==(e=await(null==i.isElement?void 0:i.isElement(p)))||e?p:p.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:s,rootBoundary:f,strategy:u})),g="floating"===d?{x:o,y:r,width:l.floating.width,height:l.floating.height}:l.reference,x=await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),A=await(null==i.isElement?void 0:i.isElement(x))&&await(null==i.getScale?void 0:i.getScale(x))||{x:1,y:1},S=b(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:x,strategy:u}):g);return{top:(w.top-S.top+h.top)/A.y,bottom:(S.bottom-w.bottom+h.bottom)/A.y,left:(w.left-S.left+h.left)/A.x,right:(S.right-w.right+h.right)/A.x}}const R=new Set(["left","top"]);function F(){return"undefined"!=typeof window}function O(t){return T(t)?(t.nodeName||"").toLowerCase():"#document"}function k(t){var n;return(null==t||null==(n=t.ownerDocument)?void 0:n.defaultView)||window}function C(t){var n;return null==(n=(T(t)?t.ownerDocument:t.document)||window.document)?void 0:n.documentElement}function T(t){return!!F()&&(t instanceof Node||t instanceof k(t).Node)}function z(t){return!!F()&&(t instanceof Element||t instanceof k(t).Element)}function D(t){return!!F()&&(t instanceof HTMLElement||t instanceof k(t).HTMLElement)}function M(t){return!(!F()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof k(t).ShadowRoot)}function P(t){const{overflow:n,overflowX:e,overflowY:o,display:r}=H(t);return/auto|scroll|overlay|hidden|clip/.test(n+o+e)&&"inline"!==r&&"contents"!==r}function L(t){return/^(table|td|th)$/.test(O(t))}function E(t){try{if(t.matches(":popover-open"))return!0}catch(t){}try{return t.matches(":modal")}catch(t){return!1}}const B=/transform|translate|scale|rotate|perspective|filter/,$=/paint|layout|strict|content/,I=t=>!!t&&"none"!==t;let N;function V(t){const n=z(t)?H(t):t;return I(n.transform)||I(n.translate)||I(n.scale)||I(n.rotate)||I(n.perspective)||!j()&&(I(n.backdropFilter)||I(n.filter))||B.test(n.willChange||"")||$.test(n.contain||"")}function j(){return null==N&&(N="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),N}function q(t){return/^(html|body|#document)$/.test(O(t))}function H(t){return k(t).getComputedStyle(t)}function W(t){return z(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function X(t){if("html"===O(t))return t;const n=t.assignedSlot||t.parentNode||M(t)&&t.host||C(t);return M(n)?n.host:n}function Y(t){const n=X(t);return q(n)?(t.ownerDocument||t).body:D(n)&&P(n)?n:Y(n)}function _(t,n,e){var o;void 0===n&&(n=[]),void 0===e&&(e=!0);const r=Y(t),i=r===(null==(o=t.ownerDocument)?void 0:o.body),l=k(r);if(i){const t=G(l);return n.concat(l,l.visualViewport||[],P(r)?r:[],t&&e?_(t):[])}return n.concat(r,_(r,[],e))}function G(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function J(t){const n=H(t);let o=parseFloat(n.width)||0,r=parseFloat(n.height)||0;const i=D(t),l=i?t.offsetWidth:o,c=i?t.offsetHeight:r,a=e(o)!==l||e(r)!==c;return a&&(o=l,r=c),{width:o,height:r,$:a}}function K(t){return z(t)?t:t.contextElement}function Q(t){const n=K(t);if(!D(n))return r(1);const o=n.getBoundingClientRect(),{width:i,height:l,$:c}=J(n);let a=(c?e(o.width):o.width)/i,u=(c?e(o.height):o.height)/l;return a&&Number.isFinite(a)||(a=1),u&&Number.isFinite(u)||(u=1),{x:a,y:u}}const U=r(0);function Z(t){const n=k(t);return j()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:U}function tt(t,n,e,o){void 0===n&&(n=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),l=K(t);let c=r(1);n&&(o?z(o)&&(c=Q(o)):c=Q(t));const a=function(t,n,e){return void 0===n&&(n=!1),!!e&&n&&e===k(t)}(l,e,o)?Z(l):r(0);let u=(i.left+a.x)/c.x,s=(i.top+a.y)/c.y,f=i.width/c.x,d=i.height/c.y;if(l&&o){const t=k(l),n=z(o)?k(o):o;let e=t,r=G(e);for(;r&&n!==e;){const t=Q(r),n=r.getBoundingClientRect(),o=H(r),i=n.left+(r.clientLeft+parseFloat(o.paddingLeft))*t.x,l=n.top+(r.clientTop+parseFloat(o.paddingTop))*t.y;u*=t.x,s*=t.y,f*=t.x,d*=t.y,u+=i,s+=l,e=k(r),r=G(e)}}return b({width:f,height:d,x:u,y:s})}function nt(t,n){const e=W(t).scrollLeft;return n?n.left+e:tt(C(t)).left+e}function et(t,n){const e=t.getBoundingClientRect();return{x:e.left+n.scrollLeft-nt(t,e),y:e.top+n.scrollTop}}function ot(t,e,o){let r;if("viewport"===e||"layoutViewport"===e)r=function(t,n,e){void 0===e&&(e="viewport");const o="layoutViewport"===e,r=k(t),i=C(t),l=r.visualViewport;let c=i.clientWidth,a=i.clientHeight,u=0,s=0;if(l){const t=!j()||"fixed"===n;o?t||(u=-l.offsetLeft,s=-l.offsetTop):(c=l.width,a=l.height,t&&(u=l.offsetLeft,s=l.offsetTop))}if(nt(i)<=0){const t=i.ownerDocument,n=t.body,e=getComputedStyle(n),o="CSS1Compat"===t.compatMode&&parseFloat(e.marginLeft)+parseFloat(e.marginRight)||0,r=Math.abs(i.clientWidth-n.clientWidth-o),l="stable both-edges"===getComputedStyle(i).scrollbarGutter?r/2:r;l<=25&&(c-=l)}return{width:c,height:a,x:u,y:s}}(t,o,e);else if("document"===e)r=function(t){const e=W(t),o=t.ownerDocument.body,r=n(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=n(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let l=-e.scrollLeft+nt(t);const c=-e.scrollTop;return"rtl"===H(o).direction&&(l+=n(t.clientWidth,o.clientWidth)-r),{width:r,height:i,x:l,y:c}}(C(t));else if(z(e))r=function(t,n){const e=tt(t,!0,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft,i=Q(t);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:r*i.x,y:o*i.y}}(e,o);else{const n=Z(t);r={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return b(r)}function rt(t,n,e){const o=D(n),i=C(n),l="fixed"===e,c=tt(t,!0,l,n);let a={scrollLeft:0,scrollTop:0};const u=r(0);if((o||!l)&&(("body"!==O(n)||P(i))&&(a=W(n)),o)){const t=tt(n,!0,l,n);u.x=t.x+n.clientLeft,u.y=t.y+n.clientTop}!o&&i&&(u.x=nt(i));const s=!i||o||l?r(0):et(i,a);return{x:c.left+a.scrollLeft-u.x-s.x,y:c.top+a.scrollTop-u.y-s.y,width:c.width,height:c.height}}function it(t){return"static"===H(t).position}function lt(t,n){if(!D(t)||"fixed"===H(t).position)return null;if(n)return n(t);let e=t.offsetParent;return C(t)===e&&(e=e.ownerDocument.body),e}function ct(t,n){const e=k(t);if(E(t))return e;if(!D(t)){let n=X(t);for(;n&&!q(n);){if(z(n)&&!it(n))return n;n=X(n)}return e}let o=lt(t,n);for(;o&&L(o)&&it(o);)o=lt(o,n);return o&&q(o)&&it(o)&&!V(o)?e:o||function(t){let n=X(t);for(;D(n)&&!q(n);){if(V(n))return n;if(E(n))return null;n=X(n)}return null}(t)||e}const at={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:n,rect:e,offsetParent:o,strategy:i}=t;const l="fixed"===i,c=C(o),a=!!n&&E(n.floating);if(o===c||a&&l)return e;let u={scrollLeft:0,scrollTop:0},s=r(1);const f=r(0),d=D(o);if((d||!l)&&(("body"!==O(o)||P(c))&&(u=W(o)),d)){const t=tt(o);s=Q(o),f.x=t.x+o.clientLeft,f.y=t.y+o.clientTop}const m=!c||d||l?r(0):et(c,u);return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-u.scrollLeft*s.x+f.x+m.x,y:e.y*s.y-u.scrollTop*s.y+f.y+m.y}},getDocumentElement:C,getClippingRect:function(e){let{element:o,boundary:r,rootBoundary:i,strategy:l}=e;const c=[..."clippingAncestors"===r?E(o)?[]:function(t,n){const e=n.get(t);if(e)return e;let o=_(t,[],!1).filter((t=>z(t)&&"body"!==O(t))),r=null;const i="fixed"===H(t).position;let l=i?X(t):t;for(;z(l)&&!q(l);){const t=H(l),n=V(l),e=r?r.position:i?"fixed":"";n||"fixed"!==e&&("absolute"!==e||"static"!==t.position)?r=t:o=o.filter((t=>t!==l)),l=X(l)}return n.set(t,o),o}(o,this._c):[].concat(r),i],a=ot(o,c[0],l);let u=a.top,s=a.right,f=a.bottom,d=a.left;for(let e=1;e<c.length;e++){const r=ot(o,c[e],l);u=n(r.top,u),s=t(r.right,s),f=t(r.bottom,f),d=n(r.left,d)}return{width:s-d,height:f-u,x:d,y:u}},getOffsetParent:ct,getElementRects:async function(t){const n=this.getOffsetParent||ct,e=this.getDimensions,o=await e(t.floating);return{reference:rt(t.reference,await n(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},getClientRects:function(t){return t.getClientRects?Array.from(t.getClientRects()):[]},getDimensions:function(t){const{width:n,height:e}=J(t);return{width:n,height:e}},getScale:Q,isElement:z,isRTL:function(t){return"rtl"===H(t).direction}};function ut(t,n){return t.x===n.x&&t.y===n.y&&t.width===n.width&&t.height===n.height}function st(e,r,i,l){void 0===l&&(l={});const{ancestorScroll:c=!0,ancestorResize:a=!0,elementResize:u="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:f=!1}=l,d=K(e),m=c||a?[...d?_(d):[],...r?_(r):[]]:[];m.forEach((t=>{c&&t.addEventListener("scroll",i),a&&t.addEventListener("resize",i)}));const y=d&&s?function(e,r,i){let l,c=null;const a=C(e);function u(){var t;clearTimeout(l),null==(t=c)||t.disconnect(),c=null}function s(i,f){void 0===i&&(i=!1),void 0===f&&(f=1),u();const d=e.getBoundingClientRect(),{left:m,top:y,width:h,height:p}=d;if(i||r(),!h||!p)return;const w={rootMargin:-o(y)+"px "+-o(a.clientWidth-(m+h))+"px "+-o(a.clientHeight-(y+p))+"px "+-o(m)+"px",threshold:n(0,t(1,f))||1};let g=!0;function x(t){const n=t[0].intersectionRatio;if(!ut(d,e.getBoundingClientRect()))return s();if(n!==f){if(!g)return s();n?s(!1,n):l=setTimeout((()=>{s(!1,1e-7)}),1e3)}g=!1}try{c=new IntersectionObserver(x,{...w,root:a.ownerDocument})}catch(t){c=new IntersectionObserver(x,w)}c.observe(e)}const f=k(e),d=()=>s(i);return f.addEventListener("resize",d),s(!0),()=>{f.removeEventListener("resize",d),u()}}(d,i,a):null;let h,p=-1,w=null;u&&(w=new ResizeObserver((t=>{let[n]=t;n&&n.target===d&&w&&r&&(w.unobserve(r),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{var t;null==(t=w)||t.observe(r)}))),i()})),d&&!f&&w.observe(d),r&&w.observe(r));let g=f?tt(e):null;return f&&function t(){const n=tt(e);g&&!ut(g,n)&&i(),g=n,h=requestAnimationFrame(t)}(),i(),()=>{var t;m.forEach((t=>{c&&t.removeEventListener("scroll",i),a&&t.removeEventListener("resize",i)})),null==y||y(),null==(t=w)||t.disconnect(),w=null,f&&cancelAnimationFrame(h)}}const ft=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(n){var e,o;const{x:r,y:i,placement:l,middlewareData:s}=n,f=await async function(t,n){const{placement:e,platform:o,elements:r}=t,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),l=a(e),s=u(e),f="y"===d(e),m=R.has(l)?-1:1,y=i&&f?-1:1,h=c(n,t);let{mainAxis:p,crossAxis:w,alignmentAxis:g}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return s&&"number"==typeof g&&(w="end"===s?-1*g:g),f?{x:w*y,y:p*m}:{x:p*m,y:w*y}}(n,t);return l===(null==(e=s.offset)?void 0:e.placement)&&null!=(o=s.arrow)&&o.alignmentOffset?{}:{x:r+f.x,y:i+f.y,data:{...f,placement:l}}}}},dt=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(n){const{x:e,y:o,placement:r,platform:i}=n,{mainAxis:a=!0,crossAxis:u=!1,limiter:f={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...m}=c(t,n),y={x:e,y:o},h=await i.detectOverflow(n,m),p=d(r),w=s(p);let g=y[w],x=y[p];const v=(t,n)=>l(n+h["y"===t?"top":"left"],n,n-h["y"===t?"bottom":"right"]);a&&(g=v(w,g)),u&&(x=v(p,x));const b=f.fn({...n,[w]:g,[p]:x});return{...b,data:{x:b.x-e,y:b.y-o,enabled:{[w]:a,[p]:u}}}}}},mt=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(n){var e,o;const{placement:r,middlewareData:i,rects:l,initialPlacement:s,platform:v,elements:b}=n,{mainAxis:A=!0,crossAxis:S=!0,fallbackPlacements:R,fallbackStrategy:F="bestFit",fallbackAxisSideDirection:O="none",flipAlignment:k=!0,...C}=c(t,n);if(null!=(e=i.arrow)&&e.alignmentOffset)return{};const T=a(r),z=d(s),D=a(s)===s,M=await(null==v.isRTL?void 0:v.isRTL(b.floating)),P=R||(D||!k?[x(s)]:function(t){const n=x(t);return[y(t),n,y(n)]}(s)),L="none"!==O;!R&&L&&P.push(...function(t,n,e,o){const r=u(t);let i=function(t,n,e){switch(t){case"top":case"bottom":return e?n?p:h:n?h:p;case"left":case"right":return n?w:g;default:return[]}}(a(t),"start"===e,o);return r&&(i=i.map((t=>t+"-"+r)),n&&(i=i.concat(i.map(y)))),i}(s,k,O,M));const E=[s,...P],B=await v.detectOverflow(n,C),$=[];let I=(null==(o=i.flip)?void 0:o.overflows)||[];if(A&&$.push(B[T]),S){const t=function(t,n,e){void 0===e&&(e=!1);const o=u(t),r=m(t),i=f(r);let l="x"===r?o===(e?"end":"start")?"right":"left":"start"===o?"bottom":"top";return n.reference[i]>n.floating[i]&&(l=x(l)),[l,x(l)]}(r,l,M);$.push(B[t[0]],B[t[1]])}if(I=[...I,{placement:r,overflows:$}],!$.every((t=>t<=0))){var N,V;const t=((null==(N=i.flip)?void 0:N.index)||0)+1,n=E[t];if(n&&("alignment"!==S||z===d(n)||I.every((t=>d(t.placement)!==z||t.overflows[0]>0))))return{data:{index:t,overflows:I},reset:{placement:n}};let e=null==(V=I.filter((t=>t.overflows[0]<=0)).sort(((t,n)=>t.overflows[1]-n.overflows[1]))[0])?void 0:V.placement;if(!e)switch(F){case"bestFit":{var j;const t=null==(j=I.filter((t=>{if(L){const n=d(t.placement);return n===z||"y"===n}return!0})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:j[0];t&&(e=t);break}case"initialPlacement":e=s}if(r!==e)return{reset:{placement:e}}}return{}}}},yt=n=>({name:"arrow",options:n,async fn(e){const{x:o,y:r,placement:i,rects:a,platform:s,elements:d,middlewareData:y}=e,{element:h,padding:p=0}=c(n,e)||{};if(null==h)return{};const w=v(p),g={x:o,y:r},x=m(i),b=f(x),A=await s.getDimensions(h),S="y"===x,R=S?"top":"left",F=S?"bottom":"right",O=S?"clientHeight":"clientWidth",k=a.reference[b]+a.reference[x]-g[x]-a.floating[b],C=g[x]-a.reference[x],T=await(null==s.getOffsetParent?void 0:s.getOffsetParent(h));let z=T?T[O]:0;z&&await(null==s.isElement?void 0:s.isElement(T))||(z=d.floating[O]||a.floating[b]);const D=k/2-C/2,M=z/2-A[b]/2-1,P=t(w[R],M),L=t(w[F],M),E=z-A[b]-L,B=z/2-A[b]/2+D,$=l(P,B,E),I=!y.arrow&&null!=u(i)&&B!==$&&a.reference[b]/2-(B<P?P:L)-A[b]/2<0,N=I?B<P?B-P:B-E:0;return{[x]:g[x]+N,data:{[x]:$,centerOffset:B-$-N,...I&&{alignmentOffset:N}},reset:I}}}),ht=(t,n,e)=>{const o=new Map,r=null!=e?e:{},i={...at,...r.platform,_c:o};return(async(t,n,e)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:l}=e,c=l.detectOverflow?l:{...l,detectOverflow:S},a=await(null==l.isRTL?void 0:l.isRTL(n));let u=await l.getElementRects({reference:t,floating:n,strategy:r}),{x:s,y:f}=A(u,o,a),d=o,m=0;const y={};for(let e=0;e<i.length;e++){const h=i[e];if(!h)continue;const{name:p,fn:w}=h,{x:g,y:x,data:v,reset:b}=await w({x:s,y:f,initialPlacement:o,placement:d,strategy:r,middlewareData:y,rects:u,platform:c,elements:{reference:t,floating:n}});s=null!=g?g:s,f=null!=x?x:f,y[p]={...y[p],...v},b&&m<50&&(m++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(u=!0===b.rects?await l.getElementRects({reference:t,floating:n,strategy:r}):b.rects),({x:s,y:f}=A(u,d,a))),e=-1)}return{x:s,y:f,placement:d,strategy:r,middlewareData:y}})(t,n,{...r,platform:i})};export{st as a,yt as b,ht as c,mt as f,ft as o,dt as s}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Helvetia Design System https://design.baloise.dev/ - Apache License 2.0
|
|
3
|
+
*/
|
|
4
|
+
const e=["default","fluid","compact",""],a={de:{languageSelector:"Sprache waehlen",languageLabels:{de:"DE - Deutsch",fr:"FR - Francais",it:"IT - Italiano",en:"EN - English",nl:"NL - Nederlands",es:"ES - Espanol",pl:"PL - Polski",pt:"PT - Portugues",sv:"SV - Svenska",fi:"FI - Suomi"}},en:{languageSelector:"Select language",languageLabels:{de:"DE - German",fr:"FR - French",it:"IT - Italian",en:"EN - English",nl:"NL - Dutch",es:"ES - Spanish",pl:"PL - Polish",pt:"PT - Portuguese",sv:"SV - Swedish",fi:"FI - Finnish"}},fr:{languageSelector:"Choisir la langue",languageLabels:{de:"DE - Allemand",fr:"FR - Francais",it:"IT - Italien",en:"EN - Anglais",nl:"NL - Neerlandais",es:"ES - Espagnol",pl:"PL - Polonais",pt:"PT - Portugais",sv:"SV - Suedois",fi:"FI - Finnois"}},it:{languageSelector:"Seleziona lingua",languageLabels:{de:"DE - Tedesco",fr:"FR - Francese",it:"IT - Italiano",en:"EN - Inglese",nl:"NL - Olandese",es:"ES - Spagnolo",pl:"PL - Polacco",pt:"PT - Portoghese",sv:"SV - Svedese",fi:"FI - Finlandese"}},nl:{languageSelector:"Selecteer taal",languageLabels:{de:"DE - Duits",fr:"FR - Frans",it:"IT - Italiaans",en:"EN - Engels",nl:"NL - Nederlands",es:"ES - Spaans",pl:"PL - Pools",pt:"PT - Portugees",sv:"SV - Zweeds",fi:"FI - Fins"}},es:{languageSelector:"Seleccionar idioma",languageLabels:{de:"DE - Aleman",fr:"FR - Frances",it:"IT - Italiano",en:"EN - Ingles",nl:"NL - Neerlandes",es:"ES - Espanol",pl:"PL - Polaco",pt:"PT - Portugues",sv:"SV - Sueco",fi:"FI - Fines"}},pl:{languageSelector:"Wybierz jezyk",languageLabels:{de:"DE - Niemiecki",fr:"FR - Francuski",it:"IT - Wloski",en:"EN - Angielski",nl:"NL - Holenderski",es:"ES - Hiszpanski",pl:"PL - Polski",pt:"PT - Portugalski",sv:"SV - Szwedzki",fi:"FI - Finski"}},pt:{languageSelector:"Selecionar idioma",languageLabels:{de:"DE - Alemao",fr:"FR - Frances",it:"IT - Italiano",en:"EN - Ingles",nl:"NL - Neerlandes",es:"ES - Espanhol",pl:"PL - Polones",pt:"PT - Portugues",sv:"SV - Sueco",fi:"FI - Finlandes"}},sv:{languageSelector:"Valj sprak",languageLabels:{de:"DE - Tyska",fr:"FR - Franska",it:"IT - Italienska",en:"EN - Engelska",nl:"NL - Nederlandska",es:"ES - Spanska",pl:"PL - Polska",pt:"PT - Portugisiska",sv:"SV - Svenska",fi:"FI - Finska"}},fi:{languageSelector:"Valitse kieli",languageLabels:{de:"DE - Saksa",fr:"FR - Ranska",it:"IT - Italia",en:"EN - Englanti",nl:"NL - Hollanti",es:"ES - Espanja",pl:"PL - Puola",pt:"PT - Portugali",sv:"SV - Ruotsi",fi:"FI - Suomi"}}};export{e as F,a as i}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Helvetia Design System https://design.baloise.dev/ - Apache License 2.0
|
|
3
|
+
*/
|
|
4
|
+
import{c as r,g as o}from"./p-HwbqEzpk.js";function n(n){return r({priority:1,blocking:!1,run(r,t){const{value:s,showError:e}=o(r,t);return!!n.includes(s)||(e(`must be one of [${n.join(", ")}]`),!1)}})}export{n as O}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Helvetia Design System https://design.baloise.dev/ - Apache License 2.0
|
|
3
|
+
*/
|
|
4
|
+
class t extends Error{}class e extends t{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class n extends t{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class r extends t{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class s extends t{}class i extends t{constructor(t){super(`Invalid unit ${t}`)}}class u extends t{}class o extends t{constructor(){super("Zone is an abstract class")}}const a="numeric",c="short",h="long",l={year:a,month:a,day:a},d={year:a,month:c,day:a},m={year:a,month:c,day:a,weekday:c},f={year:a,month:h,day:a},y={year:a,month:h,day:a,weekday:h},g={hour:a,minute:a},w={hour:a,minute:a,second:a},p={hour:a,minute:a,second:a,timeZoneName:c},M={hour:a,minute:a,second:a,timeZoneName:h},S={hour:a,minute:a,hourCycle:"h23"},k={hour:a,minute:a,second:a,hourCycle:"h23"},N={hour:a,minute:a,second:a,hourCycle:"h23",timeZoneName:c},T={hour:a,minute:a,second:a,hourCycle:"h23",timeZoneName:h},b={year:a,month:a,day:a,hour:a,minute:a},v={year:a,month:a,day:a,hour:a,minute:a,second:a},E={year:a,month:c,day:a,hour:a,minute:a},D={year:a,month:c,day:a,hour:a,minute:a,second:a},O={year:a,month:c,day:a,weekday:c,hour:a,minute:a},$={year:a,month:h,day:a,hour:a,minute:a,timeZoneName:c},I={year:a,month:h,day:a,hour:a,minute:a,second:a,timeZoneName:c},x={year:a,month:h,day:a,weekday:h,hour:a,minute:a,timeZoneName:h},F={year:a,month:h,day:a,weekday:h,hour:a,minute:a,second:a,timeZoneName:h};class Z{get type(){throw new o}get name(){throw new o}get ianaName(){return this.name}get isUniversal(){throw new o}offsetName(t,e){throw new o}formatOffset(t,e){throw new o}offset(t){throw new o}equals(t){throw new o}get isValid(){throw new o}}let L=null;class W extends Z{static get instance(){return null===L&&(L=new W),L}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:n}){return ee(t,e,n)}formatOffset(t,e){return ie(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const A=new Map,C={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6},_=new Map;class j extends Z{static create(t){let e=_.get(t);return void 0===e&&_.set(t,e=new j(t)),e}static resetCache(){_.clear(),A.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=j.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:n}){return ee(t,e,n,this.name)}formatOffset(t,e){return ie(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const n=function(t){let e=A.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),A.set(t,e)),e}(this.name);let[r,s,i,u,o,a,c]=n.formatToParts?function(t,e){const n=t.formatToParts(e),r=[];for(let t=0;t<n.length;t++){const{type:e,value:s}=n[t],i=C[e];"era"===e?r[i]=s:Lt(i)||(r[i]=parseInt(s,10))}return r}(n,e):function(t,e){const n=t.format(e).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,s,i,u,o,a,c,h]=r;return[u,s,i,o,a,c,h]}(n,e);"BC"===u&&(r=1-Math.abs(r));let h=+e;const l=h%1e3;return h-=l>=0?l:1e3+l,(Qt({year:r,month:s,day:i,hour:24===o?0:o,minute:a,second:c,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let q={};const H=new Map;function z(t,e={}){const n=JSON.stringify([t,e]);let r=H.get(n);return void 0===r&&(r=new Intl.DateTimeFormat(t,e),H.set(n,r)),r}const R=new Map,U=new Map;let J=null;const G=new Map;function P(t){let e=G.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),G.set(t,e)),e}const Y=new Map;function V(t,e,n,r){const s=t.listingMode();return"error"===s?null:"en"===s?n(e):r(e)}class B{constructor(t,e,n){this.padTo=n.padTo||0,this.floor=n.floor||!1;const{padTo:r,floor:s,...i}=n;if(!e||Object.keys(i).length>0){const e={useGrouping:!1,...n};n.padTo>0&&(e.minimumIntegerDigits=n.padTo),this.inf=function(t,e={}){const n=JSON.stringify([t,e]);let r=R.get(n);return void 0===r&&(r=new Intl.NumberFormat(t,e),R.set(n,r)),r}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Rt(this.floor?Math.floor(t):Pt(t,3),this.padTo)}}class Q{constructor(t,e,n){let r;if(this.opts=n,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,n=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&j.create(n).valid?(r=n,this.dt=t):(r="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,r=t.zone.name):(r="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||r,this.dtf=z(e,s)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class K{constructor(t,e,n){this.opts={style:"long",...n},!e&&Ct()&&(this.rtf=function(t,e={}){const{base:n,...r}=e,s=JSON.stringify([t,r]);let i=U.get(s);return void 0===i&&(i=new Intl.RelativeTimeFormat(t,e),U.set(s,i)),i}(t,n))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,n="always",r=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},i=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===n&&i){const n="days"===t;switch(e){case 1:return n?"tomorrow":`next ${s[t][0]}`;case-1:return n?"yesterday":`last ${s[t][0]}`;case 0:return n?"today":`this ${s[t][0]}`}}const u=Object.is(e,-0)||e<0,o=Math.abs(e),a=1===o,c=s[t],h=r?a?c[1]:c[2]||c[1]:a?s[t][0]:t;return u?`${o} ${h} ago`:`in ${o} ${h}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const X={firstDay:1,minimalDays:4,weekend:[6,7]};class tt{static fromOpts(t){return tt.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,n,r,s=!1){const i=t||pt.defaultLocale,u=i||(s?"en-US":J||(J=(new Intl.DateTimeFormat).resolvedOptions().locale,J)),o=e||pt.defaultNumberingSystem,a=n||pt.defaultOutputCalendar,c=Ht(r)||pt.defaultWeekSettings;return new tt(u,o,a,c,i)}static resetCache(){J=null,H.clear(),R.clear(),U.clear(),G.clear(),Y.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:n,weekSettings:r}={}){return tt.create(t,e,n,r)}constructor(t,e,n,r,s){const[i,u,o]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const n=t.indexOf("-u-");if(-1===n)return[t];{let e,r;try{e=z(t).resolvedOptions(),r=t}catch(s){const i=t.substring(0,n);e=z(i).resolvedOptions(),r=i}const{numberingSystem:s,calendar:i}=e;return[r,s,i]}}(t);this.locale=i,this.numberingSystem=e||u||null,this.outputCalendar=n||o||null,this.weekSettings=r,this.intl=function(t,e,n){return n||e?(t.includes("-u-")||(t+="-u"),n&&(t+=`-ca-${n}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=s,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===P(t.locale).numberingSystem)),this.fastNumbersCached}listingMode(){return this.isEnglish()&&!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar)?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?tt.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Ht(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return V(this,t,he,(()=>{const n="ja"===this.intl||this.intl.startsWith("ja-"),r=(e&=!n)?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let n=1;n<=12;n++){const r=mr.utc(2009,n,1);e.push(t(r))}return e}(n?t=>this.dtFormatter(t,r).format():t=>this.extract(t,r,"month"))),this.monthsCache[s][t]}))}weekdays(t,e=!1){return V(this,t,fe,(()=>{const n=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},r=e?"format":"standalone";return this.weekdaysCache[r][t]||(this.weekdaysCache[r][t]=function(t){const e=[];for(let n=1;n<=7;n++){const r=mr.utc(2016,11,13+n);e.push(t(r))}return e}((t=>this.extract(t,n,"weekday")))),this.weekdaysCache[r][t]}))}meridiems(){return V(this,void 0,(()=>ye),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[mr.utc(2016,11,13,9),mr.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return V(this,t,Me,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[mr.utc(-40,1,1),mr.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,n){const r=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===n));return r?r.value:null}numberFormatter(t={}){return new B(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Q(t,this.intl,e)}relFormatter(t={}){return new K(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const n=JSON.stringify([t,e]);let r=q[n];return r||(r=new Intl.ListFormat(t,e),q[n]=r),r}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||P(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:_t()?function(t){let e=Y.get(t);if(!e){const n=new Intl.Locale(t);e="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,"minimalDays"in e||(e={...X,...e}),Y.set(t,e)}return e}(this.locale):X}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let et=null;class nt extends Z{static get utcInstance(){return null===et&&(et=new nt(0)),et}static instance(t){return 0===t?nt.utcInstance:new nt(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new nt(ne(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ie(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ie(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ie(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class rt extends Z{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function st(t,e){if(Lt(t)||null===t)return e;if(t instanceof Z)return t;if("string"==typeof t){const n=t.toLowerCase();return"default"===n?e:"local"===n||"system"===n?W.instance:"utc"===n||"gmt"===n?nt.utcInstance:nt.parseSpecifier(n)||j.create(t)}return Wt(t)?nt.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new rt(t)}const it={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},ut={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},ot=it.hanidec.replace(/[\[|\]]/g,"").split(""),at=new Map;function ct({numberingSystem:t},e=""){const n=t||"latn";let r=at.get(n);void 0===r&&(r=new Map,at.set(n,r));let s=r.get(e);return void 0===s&&(s=new RegExp(`${it[n]}${e}`),r.set(e,s)),s}let ht,lt=()=>Date.now(),dt="system",mt=null,ft=null,yt=null,gt=60,wt=null;class pt{static get now(){return lt}static set now(t){lt=t}static set defaultZone(t){dt=t}static get defaultZone(){return st(dt,W.instance)}static get defaultLocale(){return mt}static set defaultLocale(t){mt=t}static get defaultNumberingSystem(){return ft}static set defaultNumberingSystem(t){ft=t}static get defaultOutputCalendar(){return yt}static set defaultOutputCalendar(t){yt=t}static get defaultWeekSettings(){return wt}static set defaultWeekSettings(t){wt=Ht(t)}static get twoDigitCutoffYear(){return gt}static set twoDigitCutoffYear(t){gt=t%100}static get throwOnInvalid(){return ht}static set throwOnInvalid(t){ht=t}static resetCaches(){tt.resetCache(),j.resetCache(),mr.resetCache(),at.clear()}}class Mt{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const St=[0,31,59,90,120,151,181,212,243,273,304,334],kt=[0,31,60,91,121,152,182,213,244,274,305,335];function Nt(t,e){return new Mt("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function Tt(t,e,n){const r=new Date(Date.UTC(t,e-1,n));t<100&&t>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);const s=r.getUTCDay();return 0===s?7:s}function bt(t,e,n){return n+(Yt(t)?kt:St)[e-1]}function vt(t,e){const n=Yt(t)?kt:St,r=n.findIndex((t=>t<e));return{month:r+1,day:e-n[r]}}function Et(t,e){return(t-e+7)%7+1}function Dt(t,e=4,n=1){const{year:r,month:s,day:i}=t,u=bt(r,s,i),o=Et(Tt(r,s,i),n);let a,c=Math.floor((u-o+14-e)/7);return c<1?(a=r-1,c=Xt(a,e,n)):c>Xt(r,e,n)?(a=r+1,c=1):a=r,{weekYear:a,weekNumber:c,weekday:o,...ue(t)}}function Ot(t,e=4,n=1){const{weekYear:r,weekNumber:s,weekday:i}=t,u=Et(Tt(r,1,e),n),o=Vt(r);let a,c=7*s+i-u-7+e;c<1?(a=r-1,c+=Vt(a)):c>o?(a=r+1,c-=Vt(r)):a=r;const{month:h,day:l}=vt(a,c);return{year:a,month:h,day:l,...ue(t)}}function $t(t){const{year:e,month:n,day:r}=t;return{year:e,ordinal:bt(e,n,r),...ue(t)}}function It(t){const{year:e,ordinal:n}=t,{month:r,day:s}=vt(e,n);return{year:e,month:r,day:s,...ue(t)}}function xt(t,e){if(!Lt(t.localWeekday)||!Lt(t.localWeekNumber)||!Lt(t.localWeekYear)){if(!Lt(t.weekday)||!Lt(t.weekNumber)||!Lt(t.weekYear))throw new s("Cannot mix locale-based week fields with ISO-based week fields");return Lt(t.localWeekday)||(t.weekday=t.localWeekday),Lt(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Lt(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function Ft(t){const e=At(t.year),n=zt(t.month,1,12),r=zt(t.day,1,Bt(t.year,t.month));return e?n?!r&&Nt("day",t.day):Nt("month",t.month):Nt("year",t.year)}function Zt(t){const{hour:e,minute:n,second:r,millisecond:s}=t,i=zt(e,0,23)||24===e&&0===n&&0===r&&0===s,u=zt(n,0,59),o=zt(r,0,59),a=zt(s,0,999);return i?u?o?!a&&Nt("millisecond",s):Nt("second",r):Nt("minute",n):Nt("hour",e)}function Lt(t){return void 0===t}function Wt(t){return"number"==typeof t}function At(t){return"number"==typeof t&&t%1==0}function Ct(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function _t(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function jt(t,e,n){if(0!==t.length)return t.reduce(((t,r)=>{const s=[e(r),r];return t&&n(t[0],s[0])===t[0]?t:s}),null)[1]}function qt(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ht(t){if(null==t)return null;if("object"!=typeof t)throw new u("Week settings must be an object");if(!zt(t.firstDay,1,7)||!zt(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!zt(t,1,7))))throw new u("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function zt(t,e,n){return At(t)&&t>=e&&t<=n}function Rt(t,e=2){let n;return n=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),n}function Ut(t){return Lt(t)||null===t||""===t?void 0:parseInt(t,10)}function Jt(t){return Lt(t)||null===t||""===t?void 0:parseFloat(t)}function Gt(t){if(!Lt(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Pt(t,e,n="round"){const r=10**e;switch(n){case"expand":return t>0?Math.ceil(t*r)/r:Math.floor(t*r)/r;case"trunc":return Math.trunc(t*r)/r;case"round":return Math.round(t*r)/r;case"floor":return Math.floor(t*r)/r;case"ceil":return Math.ceil(t*r)/r;default:throw new RangeError(`Value rounding ${n} is out of range`)}}function Yt(t){return t%4==0&&(t%100!=0||t%400==0)}function Vt(t){return Yt(t)?366:365}function Bt(t,e){const n=(r=e-1)-12*Math.floor(r/12)+1;var r;return 2===n?Yt(t+(e-n)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function Qt(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Kt(t,e,n){return-Et(Tt(t,1,e),n)+e-1}function Xt(t,e=4,n=1){const r=Kt(t,e,n),s=Kt(t+1,e,n);return(Vt(t)-r+s)/7}function te(t){return t>99?t:t>pt.twoDigitCutoffYear?1900+t:2e3+t}function ee(t,e,n,r=null){const s=new Date(t),i={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(i.timeZone=r);const u={timeZoneName:e,...i},o=new Intl.DateTimeFormat(n,u).formatToParts(s).find((t=>"timezonename"===t.type.toLowerCase()));return o?o.value:null}function ne(t,e){let n=parseInt(t,10);Number.isNaN(n)&&(n=0);const r=parseInt(e,10)||0;return 60*n+(n<0||Object.is(n,-0)?-r:r)}function re(t){const e=Number(t);if("boolean"==typeof t||""===t||!Number.isFinite(e))throw new u(`Invalid unit value ${t}`);return e}function se(t,e){const n={};for(const r in t)if(qt(t,r)){const s=t[r];if(null==s)continue;n[e(r)]=re(s)}return n}function ie(t,e){const n=Math.trunc(Math.abs(t/60)),r=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${Rt(n,2)}:${Rt(r,2)}`;case"narrow":return`${s}${n}${r>0?`:${r}`:""}`;case"techie":return`${s}${Rt(n,2)}${Rt(r,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function ue(t){return function(t){return["hour","minute","second","millisecond"].reduce(((e,n)=>(e[n]=t[n],e)),{})}(t)}const oe=["January","February","March","April","May","June","July","August","September","October","November","December"],ae=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ce=["J","F","M","A","M","J","J","A","S","O","N","D"];function he(t){switch(t){case"narrow":return[...ce];case"short":return[...ae];case"long":return[...oe];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const le=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],de=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],me=["M","T","W","T","F","S","S"];function fe(t){switch(t){case"narrow":return[...me];case"short":return[...de];case"long":return[...le];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const ye=["AM","PM"],ge=["Before Christ","Anno Domini"],we=["BC","AD"],pe=["B","A"];function Me(t){switch(t){case"narrow":return[...pe];case"short":return[...we];case"long":return[...ge];default:return null}}function Se(t,e){let n="";for(const r of t)n+=r.literal?r.val:e(r.val);return n}const ke={D:l,DD:d,DDD:f,DDDD:y,t:g,tt:w,ttt:p,tttt:M,T:S,TT:k,TTT:N,TTTT:T,f:b,ff:E,fff:$,ffff:x,F:v,FF:D,FFF:I,FFFF:F};class Ne{static create(t,e={}){return new Ne(t,e)}static parseFormat(t){let e=null,n="",r=!1;const s=[];for(let i=0;i<t.length;i++){const u=t.charAt(i);"'"===u?((n.length>0||r)&&s.push({literal:r||/^\s+$/.test(n),val:""===n?"'":n}),e=null,n="",r=!r):r||u===e?n+=u:(n.length>0&&s.push({literal:/^\s+$/.test(n),val:n}),n=u,e=u)}return n.length>0&&s.push({literal:r||/^\s+$/.test(n),val:n}),s}static macroTokenToFormatOpts(t){return ke[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0,n){if(this.opts.forceSimple)return Rt(t,e);const r={...this.opts};return e>0&&(r.padTo=e),n&&(r.signDisplay=n),this.loc.numberFormatter(r).format(t)}formatDateTimeFromString(t,e){const n="en"===this.loc.listingMode(),r=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(e,n)=>this.loc.extract(t,e,n),i=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",u=(e,r)=>n?function(t,e){return he(e)[t.month-1]}(t,e):s(r?{month:e}:{month:e,day:"numeric"},"month"),o=(e,r)=>n?function(t,e){return fe(e)[t.weekday-1]}(t,e):s(r?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),a=e=>{const n=Ne.macroTokenToFormatOpts(e);return n?this.formatWithSystemDefault(t,n):e},c=e=>n?function(t,e){return Me(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return Se(Ne.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return i({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return i({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return i({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return n?function(t){return ye[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod");case"d":return r?s({day:"numeric"},"day"):this.num(t.day);case"dd":return r?s({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return o("short",!0);case"cccc":return o("long",!0);case"ccccc":return o("narrow",!0);case"EEE":return o("short",!1);case"EEEE":return o("long",!1);case"EEEEE":return o("narrow",!1);case"L":return r?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return r?s({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return u("short",!0);case"LLLL":return u("long",!0);case"LLLLL":return u("narrow",!0);case"M":return r?s({month:"numeric"},"month"):this.num(t.month);case"MM":return r?s({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return u("short",!1);case"MMMM":return u("long",!1);case"MMMMM":return u("narrow",!1);case"y":return r?s({year:"numeric"},"year"):this.num(t.year);case"yy":return r?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return r?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return r?s({year:"numeric"},"year"):this.num(t.year,6);case"G":return c("short");case"GG":return c("long");case"GGGGG":return c("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return a(e)}}))}formatDurationFromString(t,e){const n="negativeLargestOnly"===this.opts.signMode?-1:1,r=t=>{switch(t[0]){case"S":return"milliseconds";case"s":return"seconds";case"m":return"minutes";case"h":return"hours";case"d":return"days";case"w":return"weeks";case"M":return"months";case"y":return"years";default:return null}},s=Ne.parseFormat(e),i=s.reduce(((t,{literal:e,val:n})=>e?t:t.concat(n)),[]),u=t.shiftTo(...i.map(r).filter((t=>t)));return Se(s,((t,e)=>s=>{const i=r(s);if(i){const r=e.isNegativeDuration&&i!==e.largestUnit?n:1;let u;return u="negativeLargestOnly"===this.opts.signMode&&i!==e.largestUnit?"never":"all"===this.opts.signMode?"always":"auto",this.num(t.get(i)*r,s.length,u)}return s})(u,{isNegativeDuration:u<0,largestUnit:Object.keys(u.values)[0]}))}}const Te=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function be(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function ve(...t){return e=>t.reduce((([t,n,r],s)=>{const[i,u,o]=s(e,r);return[{...t,...i},u||n,o]}),[{},null,1]).slice(0,2)}function Ee(t,...e){if(null==t)return[null,null];for(const[n,r]of e){const e=n.exec(t);if(e)return r(e)}return[null,null]}function De(...t){return(e,n)=>{const r={};let s;for(s=0;s<t.length;s++)r[t[s]]=Ut(e[n+s]);return[r,null,n+s]}}const Oe=/(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/,$e=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Ie=RegExp(`${$e.source}(?:${Oe.source}?(?:\\[(${Te.source})\\])?)?`),xe=RegExp(`(?:[Tt]${Ie.source})?`),Fe=De("weekYear","weekNumber","weekDay"),Ze=De("year","ordinal"),Le=RegExp(`${$e.source} ?(?:${Oe.source}|(${Te.source}))?`),We=RegExp(`(?: ${Le.source})?`);function Ae(t,e,n){const r=t[e];return Lt(r)?n:Ut(r)}function Ce(t,e){return[{hours:Ae(t,e,0),minutes:Ae(t,e+1,0),seconds:Ae(t,e+2,0),milliseconds:Gt(t[e+3])},null,e+4]}function _e(t,e){const n=!t[e]&&!t[e+1],r=ne(t[e+1],t[e+2]);return[{},n?null:nt.instance(r),e+3]}function je(t,e){return[{},t[e]?j.create(t[e]):null,e+1]}const qe=RegExp(`^T?${$e.source}$`),He=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function ze(t){const[e,n,r,s,i,u,o,a,c]=t,h="-"===e[0],l=a&&"-"===a[0],d=(t,e=!1)=>void 0!==t&&(e||t&&h)?-t:t;return[{years:d(Jt(n)),months:d(Jt(r)),weeks:d(Jt(s)),days:d(Jt(i)),hours:d(Jt(u)),minutes:d(Jt(o)),seconds:d(Jt(a),"-0"===a),milliseconds:d(Gt(c),l)}]}const Re={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ue(t,e,n,r,s,i,u){const o={year:2===e.length?te(Ut(e)):Ut(e),month:ae.indexOf(n)+1,day:Ut(r),hour:Ut(s),minute:Ut(i)};return u&&(o.second=Ut(u)),t&&(o.weekday=t.length>3?le.indexOf(t)+1:de.indexOf(t)+1),o}const Je=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Ge(t){const[,e,n,r,s,i,u,o,a,c,h,l]=t,d=Ue(e,s,r,n,i,u,o);let m;return m=a?Re[a]:c?0:ne(h,l),[d,new nt(m)]}const Pe=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Ye=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Ve=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Be(t){const[,e,n,r,s,i,u,o]=t;return[Ue(e,s,r,n,i,u,o),nt.utcInstance]}function Qe(t){const[,e,n,r,s,i,u,o]=t;return[Ue(e,o,n,r,s,i,u),nt.utcInstance]}const Ke=be(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,xe),Xe=be(/(\d{4})-?W(\d\d)(?:-?(\d))?/,xe),tn=be(/(\d{4})-?(\d{3})/,xe),en=be(Ie),nn=ve((function(t,e){return[{year:Ae(t,e),month:Ae(t,e+1,1),day:Ae(t,e+2,1)},null,e+3]}),Ce,_e,je),rn=ve(Fe,Ce,_e,je),sn=ve(Ze,Ce,_e,je),un=ve(Ce,_e,je),on=ve(Ce),an=be(/(\d{4})-(\d\d)-(\d\d)/,We),cn=be(Le),hn=ve(Ce,_e,je),ln="Invalid Duration",dn={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},mn={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...dn},fn={years:{quarters:4,months:12,weeks:52.1775,days:365.2425,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:30.436875,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...dn},yn=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],gn=yn.slice(0).reverse();function wn(t,e,n=!1){const r={values:n?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new kn(r)}function pn(t,e){let n=e.milliseconds??0;for(const r of gn.slice(1))e[r]&&(n+=e[r]*t[r].milliseconds);return n}function Mn(t,e){const n=pn(t,e)<0?-1:1;yn.reduceRight(((r,s)=>{if(Lt(e[s]))return r;if(r){const i=t[s][r],u=Math.floor(e[r]*n/i);e[s]+=u*n,e[r]-=u*i*n}return s}),null),yn.reduce(((n,r)=>{if(Lt(e[r]))return n;if(n){const s=e[n]%1;e[n]-=s,e[r]+=s*t[n][r]}return r}),null)}function Sn(t){const e={};for(const[n,r]of Object.entries(t))0!==r&&(e[n]=r);return e}class kn{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let n=e?fn:mn;t.matrix&&(n=t.matrix),this.values=t.values,this.loc=t.loc||tt.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=n,this.isLuxonDuration=!0}static fromMillis(t,e){return kn.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new u("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new kn({values:se(t,kn.normalizeUnit),loc:tt.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Wt(t))return kn.fromMillis(t);if(kn.isDuration(t))return t;if("object"==typeof t)return kn.fromObject(t);throw new u(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[n]=function(t){return Ee(t,[He,ze])}(t);return n?kn.fromObject(n,e):kn.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[n]=function(t){return Ee(t,[qe,on])}(t);return n?kn.fromObject(n,e):kn.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new u("need to specify a reason the Duration is invalid");const n=t instanceof Mt?t:new Mt(t,e);if(pt.throwOnInvalid)throw new r(n);return new kn({invalid:n})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new i(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const n={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?Ne.create(this.loc,n).formatDurationFromString(this,t):ln}toHuman(t={}){if(!this.isValid)return ln;const e=!1!==t.showZeros,n=yn.map((n=>{const r=this.values[n];return Lt(r)||0===r&&!e?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:n.slice(0,-1)}).format(r)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Pt(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();return e<0||e>=864e5?null:(t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1},mr.fromMillis(e,{zone:"UTC"}).toISOTime(t))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?pn(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=kn.fromDurationLike(t),n={};for(const t of yn)(qt(e.values,t)||qt(this.values,t))&&(n[t]=e.get(t)+this.get(t));return wn(this,{values:n},!0)}minus(t){if(!this.isValid)return this;const e=kn.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const n of Object.keys(this.values))e[n]=re(t(this.values[n],n));return wn(this,{values:e},!0)}get(t){return this[kn.normalizeUnit(t)]}set(t){return this.isValid?wn(this,{values:{...this.values,...se(t,kn.normalizeUnit)}}):this}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:n,matrix:r}={}){return wn(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:r,conversionAccuracy:n})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return Mn(this.matrix,t),wn(this,{values:t},!0)}rescale(){return this.isValid?wn(this,{values:Sn(this.normalize().shiftToAll().toObject())},!0):this}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>kn.normalizeUnit(t)));const e={},n={},r=this.toObject();let s;for(const i of yn)if(t.indexOf(i)>=0){s=i;let t=0;for(const e in n)t+=this.matrix[e][i]*n[e],n[e]=0;Wt(r[i])&&(t+=r[i]);const u=Math.trunc(t);e[i]=u,n[i]=(1e3*t-1e3*u)/1e3}else Wt(r[i])&&(n[i]=r[i]);for(const t in n)0!==n[t]&&(e[s]+=t===s?n[t]:n[t]/this.matrix[s][t]);return Mn(this.matrix,e),wn(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return wn(this,{values:t},!0)}removeZeros(){return this.isValid?wn(this,{values:Sn(this.values)},!0):this}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const r of yn)if(n=t.values[r],!(void 0===(e=this.values[r])||0===e?void 0===n||0===n:e===n))return!1;var e,n;return!0}}const Nn="Invalid Interval";class Tn{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new u("need to specify a reason the Interval is invalid");const r=t instanceof Mt?t:new Mt(t,e);if(pt.throwOnInvalid)throw new n(r);return new Tn({invalid:r})}static fromDateTimes(t,e){const n=fr(t),r=fr(e),s=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?Tn.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:Tn.invalid("missing or invalid end"):Tn.invalid("missing or invalid start")}(n,r);return null==s?new Tn({start:n,end:r}):s}static after(t,e){const n=kn.fromDurationLike(e),r=fr(t);return Tn.fromDateTimes(r,r.plus(n))}static before(t,e){const n=kn.fromDurationLike(e),r=fr(t);return Tn.fromDateTimes(r.minus(n),r)}static fromISO(t,e){const[n,r]=(t||"").split("/",2);if(n&&r){let t,s,i,u;try{t=mr.fromISO(n,e),s=t.isValid}catch(r){s=!1}try{i=mr.fromISO(r,e),u=i.isValid}catch(r){u=!1}if(s&&u)return Tn.fromDateTimes(t,i);if(s){const n=kn.fromISO(r,e);if(n.isValid)return Tn.after(t,n)}else if(u){const t=kn.fromISO(n,e);if(t.isValid)return Tn.before(i,t)}}return Tn.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const n=this.start.startOf(t,e);let r;return r=e?.useLocaleWeeks?this.end.reconfigure({locale:n.locale}):this.end,r=r.startOf(t,e),Math.floor(r.diff(n,t).get(t))+(r.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&this.s<=t&&this.e>t}set({start:t,end:e}={}){return this.isValid?Tn.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(fr).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),n=[];let{s:r}=this,s=0;for(;r<this.e;){const t=e[s]||this.e,i=+t>+this.e?this.e:t;n.push(Tn.fromDateTimes(r,i)),r=i,s+=1}return n}splitBy(t){const e=kn.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let n,{s:r}=this,s=1;const i=[];for(;r<this.e;){const t=this.start.plus(e.mapUnits((t=>t*s)));n=+t>+this.e?this.e:t,i.push(Tn.fromDateTimes(r,n)),r=n,s+=1}return i}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&this.s<=t.s&&this.e>=t.e}equals(t){return!(!this.isValid||!t.isValid)&&this.s.equals(t.s)&&this.e.equals(t.e)}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,n=this.e<t.e?this.e:t.e;return e>=n?null:Tn.fromDateTimes(e,n)}union(t){return this.isValid?Tn.fromDateTimes(this.s<t.s?this.s:t.s,this.e>t.e?this.e:t.e):this}static merge(t){const[e,n]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],n)=>e?e.overlaps(n)||e.abutsStart(n)?[t,e.union(n)]:[t.concat([e]),n]:[t,n]),[[],null]);return n&&e.push(n),e}static xor(t){let e=null,n=0;const r=[],s=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),i=Array.prototype.concat(...s).sort(((t,e)=>t.time-e.time));for(const t of i)n+="s"===t.type?1:-1,1===n?e=t.time:(e&&+e!=+t.time&&r.push(Tn.fromDateTimes(e,t.time)),e=null);return Tn.merge(r)}difference(...t){return Tn.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Nn}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=l,e={}){return this.isValid?Ne.create(this.s.loc.clone(e),t).formatInterval(this):Nn}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Nn}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Nn}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Nn}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:Nn}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):kn.invalid(this.invalidReason)}mapEndpoints(t){return Tn.fromDateTimes(t(this.s),t(this.e))}}class bn{static hasDST(t=pt.defaultZone){const e=mr.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return j.isValidZone(t)}static normalizeZone(t){return st(t,pt.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||tt.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||tt.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||tt.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:n=null,locObj:r=null,outputCalendar:s="gregory"}={}){return(r||tt.create(e,n,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:n=null,locObj:r=null,outputCalendar:s="gregory"}={}){return(r||tt.create(e,n,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:n=null,locObj:r=null}={}){return(r||tt.create(e,n,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:n=null,locObj:r=null}={}){return(r||tt.create(e,n,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return tt.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return tt.create(e,null,"gregory").eras(t)}static features(){return{relative:Ct(),localeWeek:_t()}}}function vn(t,e){const n=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(e)-n(t);return Math.floor(kn.fromMillis(r).as("days"))}function En(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let n=0;n<t.length;n++){const r=t.charCodeAt(n);if(-1!==t[n].search(it.hanidec))e+=ot.indexOf(t[n]);else for(const t in ut){const[n,s]=ut[t];r>=n&&r<=s&&(e+=r-n)}}return parseInt(e,10)}return e}(t))}}const Dn=`[ ${String.fromCharCode(160)}]`,On=new RegExp(Dn,"g");function $n(t){return t.replace(/\./g,"\\.?").replace(On,Dn)}function In(t){return t.replace(/\./g,"").replace(On," ").toLowerCase()}function xn(t,e){return null===t?null:{regex:RegExp(t.map($n).join("|")),deser:([n])=>t.findIndex((t=>In(n)===In(t)))+e}}function Fn(t,e){return{regex:t,deser:([,t,e])=>ne(t,e),groups:e}}function Zn(t){return{regex:t,deser:([t])=>t}}const Ln={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Wn=null;function An(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const n=jn(Ne.macroTokenToFormatOpts(t.val),e);return null==n||n.includes(void 0)?t:n}(t,e))))}class Cn{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=An(Ne.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const n=ct(e),r=ct(e,"{2}"),s=ct(e,"{3}"),i=ct(e,"{4}"),u=ct(e,"{6}"),o=ct(e,"{1,2}"),a=ct(e,"{1,3}"),c=ct(e,"{1,6}"),h=ct(e,"{1,9}"),l=ct(e,"{2,4}"),d=ct(e,"{4,6}"),m=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},f=(f=>{if(t.literal)return m(f);switch(f.val){case"G":return xn(e.eras("short"),0);case"GG":return xn(e.eras("long"),0);case"y":return En(c);case"yy":case"kk":return En(l,te);case"yyyy":case"kkkk":return En(i);case"yyyyy":return En(d);case"yyyyyy":return En(u);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return En(o);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return En(r);case"MMM":return xn(e.months("short",!0),1);case"MMMM":return xn(e.months("long",!0),1);case"LLL":return xn(e.months("short",!1),1);case"LLLL":return xn(e.months("long",!1),1);case"o":case"S":return En(a);case"ooo":case"SSS":return En(s);case"u":return Zn(h);case"uu":return Zn(o);case"uuu":case"E":case"c":return En(n);case"a":return xn(e.meridiems(),0);case"EEE":return xn(e.weekdays("short",!1),1);case"EEEE":return xn(e.weekdays("long",!1),1);case"ccc":return xn(e.weekdays("short",!0),1);case"cccc":return xn(e.weekdays("long",!0),1);case"Z":case"ZZ":return Fn(new RegExp(`([+-]${o.source})(?::(${r.source}))?`),2);case"ZZZ":return Fn(new RegExp(`([+-]${o.source})(${r.source})?`),2);case"z":return Zn(/[a-z_+-/]{1,256}?/i);case" ":return Zn(/[^\S\n\r]/);default:return m(f)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return f.token=t,f}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=[`^${(n=this.units).map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"")}$`,n];this.regex=RegExp(t,"i"),this.handlers=e}var n}explainFromTokens(t){if(this.isValid){const[e,n]=function(t,e,n){const r=t.match(e);if(r){const t={};let e=1;for(const s in n)if(qt(n,s)){const i=n[s],u=i.groups?i.groups+1:1;!i.literal&&i.token&&(t[i.token.val[0]]=i.deser(r.slice(e,e+u))),e+=u}return[r,t]}return[r,{}]}(t,this.regex,this.handlers),[r,i,u]=n?function(t){let e,n=null;return Lt(t.z)||(n=j.create(t.z)),Lt(t.Z)||(n||(n=new nt(t.Z)),e=t.Z),Lt(t.q)||(t.M=3*(t.q-1)+1),Lt(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Lt(t.u)||(t.S=Gt(t.u)),[Object.keys(t).reduce(((e,n)=>{const r=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(n);return r&&(e[r]=t[n]),e}),{}),n,e]}(n):[null,null,void 0];if(qt(n,"a")&&qt(n,"H"))throw new s("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:n,result:r,zone:i,specificOffset:u}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function _n(t,e,n){return new Cn(t,n).explainFromTokens(e)}function jn(t,e){if(!t)return null;const n=Ne.create(e,t).dtFormatter((Wn||(Wn=mr.fromMillis(1555555555555)),Wn)),r=n.formatToParts(),s=n.resolvedOptions();return r.map((e=>function(t,e,n){const{type:r,value:s}=t;if("literal"===r){const t=/^\s+$/.test(s);return{literal:!t,val:t?" ":s}}let i=r;"hour"===r&&(i=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":n.hour12?"hour12":"hour24");let u=Ln[i];if("object"==typeof u&&(u=u[e[r]]),u)return{literal:!1,val:u}}(e,t,s)))}const qn="Invalid DateTime",Hn=864e13;function zn(t){return new Mt("unsupported zone",`the zone "${t.name}" is not supported`)}function Rn(t){return null===t.weekData&&(t.weekData=Dt(t.c)),t.weekData}function Un(t){return null===t.localWeekData&&(t.localWeekData=Dt(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Jn(t,e){const n={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new mr({...n,...e,old:n})}function Gn(t,e,n){let r=t-60*e*1e3;const s=n.offset(r);if(e===s)return[r,e];r-=60*(s-e)*1e3;const i=n.offset(r);return s===i?[r,s]:[t-60*Math.min(s,i)*1e3,Math.max(s,i)]}function Pn(t,e){const n=new Date(t+=60*e*1e3);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function Yn(t,e,n){return Gn(Qt(t),e,n)}function Vn(t,e){const n=t.o,r=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),i={...t.c,year:r,month:s,day:Math.min(t.c.day,Bt(r,s))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},u=kn.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),o=Qt(i);let[a,c]=Gn(o,n,t.zone);return 0!==u&&(a+=u,c=t.zone.offset(a)),{ts:a,o:c}}function Bn(t,e,n,r,s,i){const{setZone:u,zone:o}=n;if(t&&0!==Object.keys(t).length||e){const r=e||o,s=mr.fromObject(t,{...n,zone:r,specificOffset:i});return u?s:s.setZone(o)}return mr.invalid(new Mt("unparsable",`the input "${s}" can't be parsed as ${r}`))}function Qn(t,e,n=!0){return t.isValid?Ne.create(tt.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Kn(t,e,n){const r=t.c.year>9999||t.c.year<0;let s="";if(r&&t.c.year>=0&&(s+="+"),s+=Rt(t.c.year,r?6:4),"year"===n)return s;if(e){if(s+="-",s+=Rt(t.c.month),"month"===n)return s;s+="-"}else if(s+=Rt(t.c.month),"month"===n)return s;return s+=Rt(t.c.day),s}function Xn(t,e,n,r,s,i,u){let o=!n||0!==t.c.millisecond||0!==t.c.second,a="";switch(u){case"day":case"month":case"year":break;default:if(a+=Rt(t.c.hour),"hour"===u)break;if(e){if(a+=":",a+=Rt(t.c.minute),"minute"===u)break;o&&(a+=":",a+=Rt(t.c.second))}else{if(a+=Rt(t.c.minute),"minute"===u)break;o&&(a+=Rt(t.c.second))}if("second"===u)break;!o||r&&0===t.c.millisecond||(a+=".",a+=Rt(t.c.millisecond,3))}return s&&(t.isOffsetFixed&&0===t.offset&&!i?a+="Z":t.o<0?(a+="-",a+=Rt(Math.trunc(-t.o/60)),a+=":",a+=Rt(Math.trunc(-t.o%60))):(a+="+",a+=Rt(Math.trunc(t.o/60)),a+=":",a+=Rt(Math.trunc(t.o%60)))),i&&(a+="["+t.zone.ianaName+"]"),a}const tr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},er={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},nr={ordinal:1,hour:0,minute:0,second:0,millisecond:0},rr=["year","month","day","hour","minute","second","millisecond"],sr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ir=["year","ordinal","hour","minute","second","millisecond"];function ur(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new i(t);return e}function or(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return ur(t)}}function ar(t,e){const n=st(e.zone,pt.defaultZone);if(!n.isValid)return mr.invalid(zn(n));const r=tt.fromObject(e);let s,i;if(Lt(t.year))s=pt.now();else{for(const e of rr)Lt(t[e])&&(t[e]=tr[e]);const e=Ft(t)||Zt(t);if(e)return mr.invalid(e);const r=function(t){if(void 0===lr&&(lr=pt.now()),"iana"!==t.type)return t.offset(lr);const e=t.name;let n=dr.get(e);return void 0===n&&(n=t.offset(lr),dr.set(e,n)),n}(n);[s,i]=Yn(t,r,n)}return new mr({ts:s,zone:n,loc:r,o:i})}function cr(t,e,n){const r=!!Lt(n.round)||n.round,s=Lt(n.rounding)?"trunc":n.rounding,i=(t,i)=>(t=Pt(t,r||n.calendary?0:2,n.calendary?"round":s),e.loc.clone(n).relFormatter(n).format(t,i)),u=r=>n.calendary?e.hasSame(t,r)?0:e.startOf(r).diff(t.startOf(r),r).get(r):e.diff(t,r).get(r);if(n.unit)return i(u(n.unit),n.unit);for(const t of n.units){const e=u(t);if(Math.abs(e)>=1)return i(e,t)}return i(t>e?-0:0,n.units[n.units.length-1])}function hr(t){let e,n={};return t.length>0&&"object"==typeof t[t.length-1]?(n=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[n,e]}let lr;const dr=new Map;class mr{constructor(t){const e=t.zone||pt.defaultZone;let n=t.invalid||(Number.isNaN(t.ts)?new Mt("invalid input"):null)||(e.isValid?null:zn(e));this.ts=Lt(t.ts)?pt.now():t.ts;let r=null,s=null;if(!n)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[r,s]=[t.old.c,t.old.o];else{const i=Wt(t.o)&&!t.old?t.o:e.offset(this.ts);r=Pn(this.ts,i),n=Number.isNaN(r.year)?new Mt("invalid input"):null,r=n?null:r,s=n?null:i}this._zone=e,this.loc=t.loc||tt.create(),this.invalid=n,this.weekData=null,this.localWeekData=null,this.c=r,this.o=s,this.isLuxonDateTime=!0}static now(){return new mr({})}static local(){const[t,e]=hr(arguments),[n,r,s,i,u,o,a]=e;return ar({year:n,month:r,day:s,hour:i,minute:u,second:o,millisecond:a},t)}static utc(){const[t,e]=hr(arguments),[n,r,s,i,u,o,a]=e;return t.zone=nt.utcInstance,ar({year:n,month:r,day:s,hour:i,minute:u,second:o,millisecond:a},t)}static fromJSDate(t,e={}){const n="[object Date]"===Object.prototype.toString.call(t)?t.valueOf():NaN;if(Number.isNaN(n))return mr.invalid("invalid input");const r=st(e.zone,pt.defaultZone);return r.isValid?new mr({ts:n,zone:r,loc:tt.fromObject(e)}):mr.invalid(zn(r))}static fromMillis(t,e={}){if(Wt(t))return t<-Hn||t>Hn?mr.invalid("Timestamp out of range"):new mr({ts:t,zone:st(e.zone,pt.defaultZone),loc:tt.fromObject(e)});throw new u(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Wt(t))return new mr({ts:1e3*t,zone:st(e.zone,pt.defaultZone),loc:tt.fromObject(e)});throw new u("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const n=st(e.zone,pt.defaultZone);if(!n.isValid)return mr.invalid(zn(n));const r=tt.fromObject(e),i=se(t,or),{minDaysInFirstWeek:u,startOfWeek:o}=xt(i,r),a=pt.now(),c=Lt(e.specificOffset)?n.offset(a):e.specificOffset,h=!Lt(i.ordinal),l=!Lt(i.year),d=!Lt(i.month)||!Lt(i.day),m=l||d,f=i.weekYear||i.weekNumber;if((m||h)&&f)throw new s("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(d&&h)throw new s("Can't mix ordinal dates with month/day");const y=f||i.weekday&&!m;let g,w,p=Pn(a,c);y?(g=sr,w=er,p=Dt(p,u,o)):h?(g=ir,w=nr,p=$t(p)):(g=rr,w=tr);let M=!1;for(const t of g)Lt(i[t])?i[t]=M?w[t]:p[t]:M=!0;const S=y?function(t,e=4,n=1){const r=At(t.weekYear),s=zt(t.weekNumber,1,Xt(t.weekYear,e,n)),i=zt(t.weekday,1,7);return r?s?!i&&Nt("weekday",t.weekday):Nt("week",t.weekNumber):Nt("weekYear",t.weekYear)}(i,u,o):h?function(t){const e=At(t.year),n=zt(t.ordinal,1,Vt(t.year));return e?!n&&Nt("ordinal",t.ordinal):Nt("year",t.year)}(i):Ft(i),k=S||Zt(i);if(k)return mr.invalid(k);const N=y?Ot(i,u,o):h?It(i):i,[T,b]=Yn(N,c,n),v=new mr({ts:T,zone:n,o:b,loc:r});return i.weekday&&m&&t.weekday!==v.weekday?mr.invalid("mismatched weekday",`you can't specify both a weekday of ${i.weekday} and a date of ${v.toISO()}`):v.isValid?v:mr.invalid(v.invalid)}static fromISO(t,e={}){const[n,r]=function(t){return Ee(t,[Ke,nn],[Xe,rn],[tn,sn],[en,un])}(t);return Bn(n,r,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[n,r]=function(t){return Ee(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Je,Ge])}(t);return Bn(n,r,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[n,r]=function(t){return Ee(t,[Pe,Be],[Ye,Be],[Ve,Qe])}(t);return Bn(n,r,e,"HTTP",e)}static fromFormat(t,e,n={}){if(Lt(t)||Lt(e))throw new u("fromFormat requires an input string and a format");const{locale:r=null,numberingSystem:s=null}=n,i=tt.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0}),[o,a,c,h]=function(t,e,n){const{result:r,zone:s,specificOffset:i,invalidReason:u}=_n(t,e,n);return[r,s,i,u]}(i,t,e);return h?mr.invalid(h):Bn(o,a,n,`format ${e}`,t,c)}static fromString(t,e,n={}){return mr.fromFormat(t,e,n)}static fromSQL(t,e={}){const[n,r]=function(t){return Ee(t,[an,nn],[cn,hn])}(t);return Bn(n,r,e,"SQL",t)}static invalid(t,n=null){if(!t)throw new u("need to specify a reason the DateTime is invalid");const r=t instanceof Mt?t:new Mt(t,n);if(pt.throwOnInvalid)throw new e(r);return new mr({invalid:r})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const n=jn(t,tt.fromObject(e));return n?n.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return An(Ne.parseFormat(t),tt.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){lr=void 0,dr.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Rn(this).weekYear:NaN}get weekNumber(){return this.isValid?Rn(this).weekNumber:NaN}get weekday(){return this.isValid?Rn(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Un(this).weekday:NaN}get localWeekNumber(){return this.isValid?Un(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Un(this).weekYear:NaN}get ordinal(){return this.isValid?$t(this.c).ordinal:NaN}get monthShort(){return this.isValid?bn.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?bn.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?bn.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?bn.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,n=Qt(this.c),r=this.zone.offset(n-t),s=this.zone.offset(n+t),i=this.zone.offset(n-r*e),u=this.zone.offset(n-s*e);if(i===u)return[this];const o=n-i*e,a=n-u*e,c=Pn(o,i),h=Pn(a,u);return c.hour===h.hour&&c.minute===h.minute&&c.second===h.second&&c.millisecond===h.millisecond?[Jn(this,{ts:o}),Jn(this,{ts:a})]:[this]}get isInLeapYear(){return Yt(this.year)}get daysInMonth(){return Bt(this.year,this.month)}get daysInYear(){return this.isValid?Vt(this.year):NaN}get weeksInWeekYear(){return this.isValid?Xt(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Xt(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:n,calendar:r}=Ne.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:n,outputCalendar:r}}toUTC(t=0,e={}){return this.setZone(nt.instance(t),e)}toLocal(){return this.setZone(pt.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:n=!1}={}){if((t=st(t,pt.defaultZone)).equals(this.zone))return this;if(t.isValid){let r=this.ts;if(e||n){const e=t.offset(this.ts),n=this.toObject();[r]=Yn(n,e,t)}return Jn(this,{ts:r,zone:t})}return mr.invalid(zn(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:n}={}){return Jn(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:n})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=se(t,or),{minDaysInFirstWeek:n,startOfWeek:r}=xt(e,this.loc),i=!Lt(e.weekYear)||!Lt(e.weekNumber)||!Lt(e.weekday),u=!Lt(e.ordinal),o=!Lt(e.year),a=!Lt(e.month)||!Lt(e.day);if((o||a||u)&&(e.weekYear||e.weekNumber))throw new s("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&u)throw new s("Can't mix ordinal dates with month/day");let c;i?c=Ot({...Dt(this.c,n,r),...e},n,r):Lt(e.ordinal)?(c={...this.toObject(),...e},Lt(e.day)&&(c.day=Math.min(Bt(c.year,c.month),c.day))):c=It({...$t(this.c),...e});const[h,l]=Yn(c,this.o,this.zone);return Jn(this,{ts:h,o:l})}plus(t){return this.isValid?Jn(this,Vn(this,kn.fromDurationLike(t))):this}minus(t){return this.isValid?Jn(this,Vn(this,kn.fromDurationLike(t).negate())):this}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const n={},r=kn.normalizeUnit(t);switch(r){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0}if("weeks"===r)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(n.weekNumber=this.weekNumber-1),n.weekday=t}else n.weekday=1;if("quarters"===r){const t=Math.ceil(this.month/3);n.month=3*(t-1)+1}return this.set(n)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?Ne.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):qn}toLocaleString(t=l,e={}){return this.isValid?Ne.create(this.loc.clone(e),t).formatDateTime(this):qn}toLocaleParts(t={}){return this.isValid?Ne.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:n=!1,includeOffset:r=!0,extendedZone:s=!1,precision:i="milliseconds"}={}){if(!this.isValid)return null;const u="extended"===t;let o=Kn(this,u,i=ur(i));return rr.indexOf(i)>=3&&(o+="T"),o+=Xn(this,u,e,n,r,s,i),o}toISODate({format:t="extended",precision:e="day"}={}){return this.isValid?Kn(this,"extended"===t,ur(e)):null}toISOWeekDate(){return Qn(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:n=!0,includePrefix:r=!1,extendedZone:s=!1,format:i="extended",precision:u="milliseconds"}={}){return this.isValid?(u=ur(u),(r&&rr.indexOf(u)>=3?"T":"")+Xn(this,"extended"===i,e,t,n,s,u)):null}toRFC2822(){return Qn(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Qn(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Kn(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:n=!0}={}){let r="HH:mm:ss.SSS";return(e||t)&&(n&&(r+=" "),e?r+="z":t&&(r+="ZZ")),Qn(this,r,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():qn}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",n={}){if(!this.isValid||!t.isValid)return kn.invalid("created by diffing an invalid DateTime");const r={locale:this.locale,numberingSystem:this.numberingSystem,...n},s=(o=e,Array.isArray(o)?o:[o]).map(kn.normalizeUnit),i=t.valueOf()>this.valueOf(),u=function(t,e,n,r){let[s,i,u,o]=function(t,e,n){const r=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const n=vn(t,e);return(n-n%7)/7}],["days",vn]],s={},i=t;let u,o;for(const[a,c]of r)n.indexOf(a)>=0&&(u=a,s[a]=c(t,e),o=i.plus(s),o>e?(s[a]--,(t=i.plus(s))>e&&(o=t,s[a]--,t=i.plus(s))):t=o);return[t,s,o,u]}(t,e,n);const a=e-s,c=n.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===c.length&&(u<e&&(u=s.plus({[o]:1})),u!==s&&(i[o]=(i[o]||0)+a/(u-s)));const h=kn.fromObject(i,r);return c.length>0?kn.fromMillis(a,r).shiftTo(...c).plus(h):h}(i?this:t,i?t:this,s,r);var o;return i?u.negate():u}diffNow(t="milliseconds",e={}){return this.diff(mr.now(),t,e)}until(t){return this.isValid?Tn.fromDateTimes(this,t):this}hasSame(t,e,n){if(!this.isValid)return!1;const r=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(e,n)<=r&&r<=s.endOf(e,n)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||mr.fromObject({},{zone:this.zone}),n=t.padding?this<e?-t.padding:t.padding:0;let r=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(r=t.unit,s=void 0),cr(e,this.plus(n),{...t,numeric:"always",units:r,unit:s})}toRelativeCalendar(t={}){return this.isValid?cr(t.base||mr.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(mr.isDateTime))throw new u("min requires all arguments be DateTimes");return jt(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(mr.isDateTime))throw new u("max requires all arguments be DateTimes");return jt(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,n={}){const{locale:r=null,numberingSystem:s=null}=n;return _n(tt.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,n={}){return mr.fromFormatExplain(t,e,n)}static buildFormatParser(t,e={}){const{locale:n=null,numberingSystem:r=null}=e,s=tt.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0});return new Cn(s,t)}static fromFormatParser(t,e,n={}){if(Lt(t)||Lt(e))throw new u("fromFormatParser requires an input string and a format parser");const{locale:r=null,numberingSystem:s=null}=n,i=tt.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0});if(!i.equals(e.locale))throw new u(`fromFormatParser called with a locale of ${i}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:h}=e.explainFromTokens(t);return h?mr.invalid(h):Bn(o,a,n,`format ${e.format}`,t,c)}static get DATE_SHORT(){return l}static get DATE_MED(){return d}static get DATE_MED_WITH_WEEKDAY(){return m}static get DATE_FULL(){return f}static get DATE_HUGE(){return y}static get TIME_SIMPLE(){return g}static get TIME_WITH_SECONDS(){return w}static get TIME_WITH_SHORT_OFFSET(){return p}static get TIME_WITH_LONG_OFFSET(){return M}static get TIME_24_SIMPLE(){return S}static get TIME_24_WITH_SECONDS(){return k}static get TIME_24_WITH_SHORT_OFFSET(){return N}static get TIME_24_WITH_LONG_OFFSET(){return T}static get DATETIME_SHORT(){return b}static get DATETIME_SHORT_WITH_SECONDS(){return v}static get DATETIME_MED(){return E}static get DATETIME_MED_WITH_SECONDS(){return D}static get DATETIME_MED_WITH_WEEKDAY(){return O}static get DATETIME_FULL(){return $}static get DATETIME_FULL_WITH_SECONDS(){return I}static get DATETIME_HUGE(){return x}static get DATETIME_HUGE_WITH_SECONDS(){return F}}function fr(t){if(mr.isDateTime(t))return t;if(t&&t.valueOf&&Wt(t.valueOf()))return mr.fromJSDate(t);if(t&&"object"==typeof t)return mr.fromObject(t);throw new u(`Unknown datetime argument: ${t}, of type ${typeof t}`)}export{mr as D,bn as I,pt as S}
|