@ionic/core 8.3.4-dev.11730232091.1ee1a719 → 8.3.4-dev.11730395663.1a0f4848
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/components/action-sheet.js +8 -13
- package/components/alert.js +15 -18
- package/components/animation.js +1 -1
- package/components/backdrop.js +6 -10
- package/components/button.js +11 -41
- package/components/buttons.js +7 -11
- package/components/capacitor.js +1 -1
- package/components/checkbox.js +15 -30
- package/components/content.js +446 -0
- package/components/data.js +4 -4
- package/components/focus-visible.js +1 -8
- package/components/framework-delegate.js +1 -3
- package/components/hardware-back-button.js +115 -0
- package/components/header.js +356 -0
- package/components/helpers.js +1 -4
- package/components/index2.js +2 -2
- package/components/index4.js +11 -10
- package/components/index5.js +3 -27
- package/components/index6.js +20 -114
- package/components/index7.js +27 -163
- package/components/index8.js +128 -0
- package/{dist/esm/index-7f65e865.js → components/index9.js} +2 -3
- package/components/input-shims.js +2 -2
- package/components/input.utils.js +2 -1
- package/components/ion-accordion-group.js +6 -9
- package/components/ion-accordion.js +17 -36
- package/components/ion-app.js +77 -9
- package/components/ion-avatar.js +3 -52
- package/components/ion-back-button.js +19 -29
- package/components/ion-badge.js +8 -44
- package/components/ion-breadcrumb.js +11 -45
- package/components/ion-breadcrumbs.js +5 -9
- package/components/ion-card-content.js +7 -11
- package/components/ion-card-header.js +5 -9
- package/components/ion-card-subtitle.js +5 -9
- package/components/ion-card-title.js +5 -9
- package/components/ion-card.js +9 -17
- package/components/ion-chip.js +8 -45
- package/components/ion-col.js +5 -5
- package/components/ion-content.js +1 -443
- package/components/ion-datetime-button.js +6 -9
- package/components/ion-datetime.js +20 -96
- package/components/ion-fab-button.js +10 -33
- package/components/ion-fab-list.js +5 -5
- package/components/ion-fab.js +6 -6
- package/components/ion-footer.js +12 -18
- package/components/ion-grid.js +5 -5
- package/components/ion-header.js +1 -360
- package/components/ion-img.js +2 -5
- package/components/ion-infinite-scroll-content.js +8 -13
- package/components/ion-infinite-scroll.js +5 -5
- package/components/ion-input-password-toggle.js +14 -53
- package/components/ion-input.js +20 -118
- package/components/ion-item-divider.js +5 -9
- package/components/ion-item-group.js +5 -9
- package/components/ion-item-option.js +8 -28
- package/components/ion-item-options.js +5 -9
- package/components/ion-item-sliding.js +5 -5
- package/components/ion-loading.js +8 -13
- package/components/ion-menu-button.js +10 -28
- package/components/ion-menu-toggle.js +5 -5
- package/components/ion-menu.js +25 -29
- package/components/ion-modal.js +1 -1767
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +6 -8
- package/components/ion-note.js +5 -9
- package/components/ion-picker-legacy.js +8 -7
- package/components/ion-progress-bar.js +6 -11
- package/components/ion-range.js +8 -11
- package/components/ion-refresher-content.js +9 -28
- package/components/ion-refresher.js +7 -11
- package/components/ion-reorder-group.js +5 -5
- package/components/ion-reorder.js +5 -31
- package/components/ion-router-link.js +6 -6
- package/components/ion-router-outlet.js +3 -4
- package/components/ion-row.js +2 -5
- package/components/ion-searchbar.js +16 -93
- package/components/ion-segment-button.js +29 -14
- package/components/ion-segment-content.d.ts +11 -0
- package/components/ion-segment-content.js +37 -0
- package/components/ion-segment-view.d.ts +11 -0
- package/components/ion-segment-view.js +140 -0
- package/components/ion-segment.js +115 -24
- package/components/ion-select-modal.d.ts +11 -0
- package/components/ion-select-modal.js +9 -0
- package/components/ion-select-option.js +2 -5
- package/components/ion-select.js +140 -116
- package/components/ion-skeleton-text.js +5 -6
- package/components/ion-split-pane.js +8 -12
- package/components/ion-tab-bar.js +8 -31
- package/components/ion-tab-button.js +7 -12
- package/components/ion-tab.js +2 -2
- package/components/ion-tabs.js +2 -2
- package/components/ion-text.js +5 -5
- package/components/ion-textarea.js +11 -38
- package/components/ion-thumbnail.js +2 -5
- package/components/ion-title.js +1 -74
- package/components/ion-toast.js +12 -30
- package/components/ion-toggle.js +18 -77
- package/components/ion-toolbar.js +1 -92
- package/components/ionic-global.js +84 -374
- package/components/ios.transition.js +0 -1
- package/components/item.js +11 -41
- package/components/keyboard-controller.js +2 -4
- package/components/label.js +5 -9
- package/components/list-header.js +5 -9
- package/components/list.js +6 -29
- package/components/modal.js +1742 -0
- package/components/notch-controller.js +1 -1
- package/components/overlays.js +5 -4
- package/components/picker-column-option.js +5 -9
- package/components/picker-column.js +8 -7
- package/components/picker-column2.js +4 -4
- package/components/picker.js +4 -8
- package/components/popover.js +8 -11
- package/components/radio-group.js +7 -7
- package/components/radio.js +12 -14
- package/components/ripple-effect.js +8 -18
- package/components/select-modal.js +197 -0
- package/components/select-popover.js +2 -9
- package/components/spinner.js +9 -36
- package/components/status-tap.js +1 -1
- package/components/title.js +75 -0
- package/components/toolbar.js +93 -0
- package/css/core.css +1 -1
- package/css/core.css.map +1 -1
- package/css/display.css.map +1 -1
- package/css/flex-utils.css.map +1 -1
- package/css/float-elements.css.map +1 -1
- package/css/global.bundle.css.map +1 -1
- package/css/ionic-swiper.css +1 -1
- package/css/ionic-swiper.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/normalize.css.map +1 -1
- package/css/padding.css.map +1 -1
- package/css/palettes/dark.always.css.map +1 -1
- package/css/palettes/dark.class.css.map +1 -1
- package/css/palettes/dark.system.css.map +1 -1
- package/css/palettes/high-contrast-dark.always.css.map +1 -1
- package/css/palettes/high-contrast-dark.class.css.map +1 -1
- package/css/palettes/high-contrast-dark.system.css.map +1 -1
- package/css/palettes/high-contrast.always.css.map +1 -1
- package/css/palettes/high-contrast.class.css.map +1 -1
- package/css/palettes/high-contrast.system.css.map +1 -1
- package/css/structure.css.map +1 -1
- package/css/text-alignment.css.map +1 -1
- package/css/text-transformation.css.map +1 -1
- package/css/typography.css.map +1 -1
- package/css/utils.bundle.css.map +1 -1
- package/dist/cjs/{animation-232e0c8f.js → animation-b4fdf128.js} +2 -2
- package/dist/cjs/{app-globals-0189a70c.js → app-globals-21afee77.js} +1 -1
- package/dist/cjs/{button-active-41228dbf.js → button-active-3f2f60b4.js} +4 -4
- package/dist/cjs/{capacitor-806e7fee.js → capacitor-c04564bf.js} +3 -3
- package/dist/cjs/{data-cad5d489.js → data-21dc0f81.js} +6 -6
- package/dist/{esm/focus-visible-501aff19.js → cjs/focus-visible-7a0ce04f.js} +3 -8
- package/dist/cjs/{framework-delegate-cf116b1d.js → framework-delegate-55f5683a.js} +2 -4
- package/dist/cjs/{haptic-f0cad9a6.js → haptic-f6b37aa3.js} +1 -1
- package/dist/cjs/hardware-back-button-9e8a2c4f.js +122 -0
- package/dist/cjs/{helpers-e75eb909.js → helpers-afaa9001.js} +1 -4
- package/dist/cjs/index-5915f9b3.js +38 -0
- package/dist/cjs/{index-1d02518d.js → index-5b6a7459.js} +3 -3
- package/dist/cjs/{config-1349d5b4.js → index-73f75efb.js} +0 -79
- package/dist/cjs/{index-71085796.js → index-8e789962.js} +17 -16
- package/dist/cjs/{index-2c8b42cd.js → index-9509ecad.js} +7 -8
- package/dist/cjs/index-c8d52405.js +10 -0
- package/dist/cjs/{index-3ac79a1b.js → index-f05acd21.js} +12 -11
- package/dist/cjs/index.cjs.js +13 -10
- package/dist/cjs/{input-shims-2958dcc9.js → input-shims-9e59ef62.js} +17 -17
- package/dist/cjs/{input.utils-ed749ecb.js → input.utils-611cde0b.js} +5 -4
- package/dist/cjs/ion-accordion_2.cjs.entry.js +32 -53
- package/dist/cjs/ion-action-sheet.cjs.entry.js +30 -32
- package/dist/cjs/ion-alert.cjs.entry.js +46 -45
- package/dist/cjs/ion-app_8.cjs.entry.js +189 -144
- package/dist/cjs/ion-avatar_3.cjs.entry.js +13 -96
- package/dist/cjs/ion-back-button.cjs.entry.js +25 -34
- package/dist/cjs/ion-backdrop.cjs.entry.js +9 -13
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +25 -62
- package/dist/cjs/ion-button_2.cjs.entry.js +24 -54
- package/dist/cjs/ion-card_5.cjs.entry.js +36 -59
- package/dist/cjs/ion-checkbox.cjs.entry.js +23 -37
- package/dist/cjs/ion-chip.cjs.entry.js +9 -44
- package/dist/cjs/ion-col_3.cjs.entry.js +15 -18
- package/dist/cjs/ion-datetime-button.cjs.entry.js +15 -18
- package/dist/cjs/ion-datetime_3.cjs.entry.js +115 -188
- package/dist/cjs/ion-fab_3.cjs.entry.js +29 -51
- package/dist/cjs/ion-img.cjs.entry.js +9 -12
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +29 -32
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +19 -57
- package/dist/cjs/ion-input.cjs.entry.js +39 -133
- package/dist/cjs/ion-item-option_3.cjs.entry.js +29 -51
- package/dist/cjs/ion-item_8.cjs.entry.js +60 -131
- package/dist/cjs/ion-loading.cjs.entry.js +30 -31
- package/dist/cjs/ion-menu_3.cjs.entry.js +64 -82
- package/dist/cjs/ion-modal.cjs.entry.js +67 -94
- package/dist/cjs/ion-nav_2.cjs.entry.js +28 -29
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +9 -13
- package/dist/cjs/ion-picker-column.cjs.entry.js +17 -16
- package/dist/cjs/ion-picker.cjs.entry.js +9 -13
- package/dist/cjs/ion-popover.cjs.entry.js +30 -31
- package/dist/cjs/ion-progress-bar.cjs.entry.js +14 -18
- package/dist/cjs/ion-radio_2.cjs.entry.js +29 -31
- package/dist/cjs/ion-range.cjs.entry.js +28 -31
- package/dist/cjs/ion-refresher_2.cjs.entry.js +53 -73
- package/dist/cjs/ion-reorder_2.cjs.entry.js +22 -45
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +12 -22
- package/dist/cjs/ion-route_4.cjs.entry.js +17 -17
- package/dist/cjs/ion-searchbar.cjs.entry.js +31 -107
- package/dist/cjs/ion-segment-content.cjs.entry.js +23 -0
- package/dist/cjs/ion-segment-view.cjs.entry.js +122 -0
- package/dist/cjs/ion-segment_2.cjs.entry.js +152 -47
- package/dist/cjs/ion-select-modal.cjs.entry.js +111 -0
- package/dist/cjs/ion-select_3.cjs.entry.js +98 -128
- package/dist/cjs/ion-spinner.cjs.entry.js +17 -42
- package/dist/cjs/ion-split-pane.cjs.entry.js +12 -16
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +28 -52
- package/dist/cjs/ion-tab_2.cjs.entry.js +14 -14
- package/dist/cjs/ion-text.cjs.entry.js +7 -7
- package/dist/cjs/ion-textarea.cjs.entry.js +32 -56
- package/dist/cjs/ion-toast.cjs.entry.js +43 -58
- package/dist/cjs/ion-toggle.cjs.entry.js +31 -88
- package/dist/cjs/ionic-global-d9a8bb5b.js +237 -0
- package/dist/cjs/ionic.cjs.js +7 -7
- package/dist/cjs/{ios.transition-4411892c.js → ios.transition-cf40433b.js} +7 -6
- package/dist/cjs/{keyboard-ed6e1327.js → keyboard-0272231f.js} +1 -1
- package/dist/cjs/{keyboard-e0062bfc.js → keyboard-af1bb365.js} +3 -4
- package/dist/cjs/{keyboard-controller-020444ad.js → keyboard-controller-c05e747a.js} +9 -11
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{md.transition-261f9f67.js → md.transition-ededf99f.js} +7 -5
- package/dist/cjs/{notch-controller-70ad2323.js → notch-controller-d69150f5.js} +4 -4
- package/dist/cjs/{overlays-22320753.js → overlays-0123d7d4.js} +19 -18
- package/dist/cjs/{status-tap-cfc7f9a5.js → status-tap-37681226.js} +8 -8
- package/dist/cjs/{swipe-back-ecdf1cf5.js → swipe-back-0303a5e4.js} +1 -2
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/accordion/accordion.ios.css +58 -73
- package/dist/collection/components/accordion/accordion.js +21 -37
- package/dist/collection/components/accordion/accordion.md.css +59 -67
- package/dist/collection/components/accordion-group/accordion-group.ios.css +4 -16
- package/dist/collection/components/accordion-group/accordion-group.js +8 -11
- package/dist/collection/components/accordion-group/accordion-group.md.css +4 -22
- package/dist/collection/components/action-sheet/action-sheet.ios.css +6 -18
- package/dist/collection/components/action-sheet/action-sheet.js +10 -14
- package/dist/collection/components/action-sheet/action-sheet.md.css +5 -17
- package/dist/collection/components/alert/alert.ios.css +1 -19
- package/dist/collection/components/alert/alert.js +17 -18
- package/dist/collection/components/alert/alert.md.css +1 -19
- package/dist/collection/components/app/app.js +78 -12
- package/dist/collection/components/avatar/avatar.ios.css +0 -12
- package/dist/collection/components/avatar/avatar.js +4 -92
- package/dist/collection/components/avatar/avatar.md.css +0 -12
- package/dist/collection/components/back-button/back-button.ios.css +48 -60
- package/dist/collection/components/back-button/back-button.js +19 -27
- package/dist/collection/components/back-button/back-button.md.css +48 -60
- package/dist/collection/components/backdrop/backdrop.ios.css +1 -13
- package/dist/collection/components/backdrop/backdrop.js +6 -12
- package/dist/collection/components/backdrop/backdrop.md.css +1 -13
- package/dist/collection/components/badge/badge.ios.css +3 -106
- package/dist/collection/components/badge/badge.js +8 -75
- package/dist/collection/components/badge/badge.md.css +3 -106
- package/dist/collection/components/breadcrumb/breadcrumb.ios.css +8 -20
- package/dist/collection/components/breadcrumb/breadcrumb.js +11 -43
- package/dist/collection/components/breadcrumb/breadcrumb.md.css +8 -20
- package/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +0 -6
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +9 -11
- package/dist/collection/components/breadcrumbs/breadcrumbs.md.css +0 -6
- package/dist/collection/components/button/button.ios.css +36 -129
- package/dist/collection/components/button/button.js +16 -46
- package/dist/collection/components/button/button.md.css +40 -120
- package/dist/collection/components/buttons/buttons.ios.css +7 -59
- package/dist/collection/components/buttons/buttons.js +8 -14
- package/dist/collection/components/buttons/buttons.md.css +3 -55
- package/dist/collection/components/card/card.ios.css +14 -65
- package/dist/collection/components/card/card.js +10 -34
- package/dist/collection/components/card/card.md.css +14 -65
- package/dist/collection/components/card-content/card-content.ios.css +1 -16
- package/dist/collection/components/card-content/card-content.js +8 -11
- package/dist/collection/components/card-content/card-content.md.css +1 -16
- package/dist/collection/components/card-header/card-header.ios.css +15 -27
- package/dist/collection/components/card-header/card-header.js +9 -12
- package/dist/collection/components/card-header/card-header.md.css +15 -27
- package/dist/collection/components/card-subtitle/card-subtitle.ios.css +0 -12
- package/dist/collection/components/card-subtitle/card-subtitle.js +8 -11
- package/dist/collection/components/card-subtitle/card-subtitle.md.css +0 -12
- package/dist/collection/components/card-title/card-title.ios.css +0 -73
- package/dist/collection/components/card-title/card-title.js +8 -11
- package/dist/collection/components/card-title/card-title.md.css +0 -73
- package/dist/collection/components/checkbox/checkbox.ios.css +2 -20
- package/dist/collection/components/checkbox/checkbox.js +40 -64
- package/dist/collection/components/checkbox/checkbox.md.css +3 -21
- package/dist/collection/components/chip/chip.ios.css +1 -20
- package/dist/collection/components/chip/chip.js +8 -77
- package/dist/collection/components/chip/chip.md.css +1 -20
- package/dist/collection/components/col/col.css +0 -12
- package/dist/collection/components/col/col.js +5 -9
- package/dist/collection/components/content/content.css +2 -8
- package/dist/collection/components/content/content.js +11 -16
- package/dist/collection/components/datetime/datetime.ios.css +73 -232
- package/dist/collection/components/datetime/datetime.js +19 -95
- package/dist/collection/components/datetime/datetime.md.css +73 -232
- package/dist/collection/components/datetime/utils/data.js +3 -3
- package/dist/collection/components/datetime-button/datetime-button.ios.css +0 -6
- package/dist/collection/components/datetime-button/datetime-button.js +8 -11
- package/dist/collection/components/datetime-button/datetime-button.md.css +0 -6
- package/dist/collection/components/fab/fab.css +1 -25
- package/dist/collection/components/fab/fab.js +5 -9
- package/dist/collection/components/fab-button/fab-button.ios.css +6 -18
- package/dist/collection/components/fab-button/fab-button.js +15 -36
- package/dist/collection/components/fab-button/fab-button.md.css +8 -20
- package/dist/collection/components/fab-list/fab-list.css +0 -12
- package/dist/collection/components/fab-list/fab-list.js +5 -9
- package/dist/collection/components/footer/footer.ios.css +2 -14
- package/dist/collection/components/footer/footer.js +15 -20
- package/dist/collection/components/footer/footer.md.css +0 -12
- package/dist/collection/components/grid/grid.css +0 -12
- package/dist/collection/components/grid/grid.js +5 -9
- package/dist/collection/components/header/header.ios.css +10 -25
- package/dist/collection/components/header/header.js +17 -42
- package/dist/collection/components/header/header.md.css +8 -23
- package/dist/collection/components/img/img.js +2 -8
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +4 -8
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +0 -12
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +10 -16
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +0 -12
- package/dist/collection/components/input/input.ios.css +2 -21
- package/dist/collection/components/input/input.js +30 -144
- package/dist/collection/components/input/input.md.css +4 -43
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +12 -48
- package/dist/collection/components/item/item.ios.css +69 -109
- package/dist/collection/components/item/item.js +16 -44
- package/dist/collection/components/item/item.md.css +68 -120
- package/dist/collection/components/item-divider/item-divider.ios.css +0 -18
- package/dist/collection/components/item-divider/item-divider.js +8 -11
- package/dist/collection/components/item-divider/item-divider.md.css +0 -18
- package/dist/collection/components/item-group/item-group.ios.css +0 -12
- package/dist/collection/components/item-group/item-group.js +7 -13
- package/dist/collection/components/item-group/item-group.md.css +0 -12
- package/dist/collection/components/item-option/item-option.ios.css +2 -14
- package/dist/collection/components/item-option/item-option.js +8 -43
- package/dist/collection/components/item-option/item-option.md.css +2 -14
- package/dist/collection/components/item-options/item-options.ios.css +0 -18
- package/dist/collection/components/item-options/item-options.js +7 -13
- package/dist/collection/components/item-options/item-options.md.css +0 -18
- package/dist/collection/components/item-sliding/item-sliding.css +0 -6
- package/dist/collection/components/item-sliding/item-sliding.js +4 -8
- package/dist/collection/components/label/label.ios.css +0 -18
- package/dist/collection/components/label/label.js +8 -11
- package/dist/collection/components/label/label.md.css +0 -18
- package/dist/collection/components/list/list.ios.css +0 -18
- package/dist/collection/components/list/list.js +9 -47
- package/dist/collection/components/list/list.md.css +2 -20
- package/dist/collection/components/list-header/list-header.ios.css +0 -18
- package/dist/collection/components/list-header/list-header.js +8 -11
- package/dist/collection/components/list-header/list-header.md.css +0 -18
- package/dist/collection/components/loading/loading.ios.css +1 -13
- package/dist/collection/components/loading/loading.js +10 -13
- package/dist/collection/components/loading/loading.md.css +1 -13
- package/dist/collection/components/menu/menu.ios.css +3 -15
- package/dist/collection/components/menu/menu.js +52 -37
- package/dist/collection/components/menu/menu.md.css +3 -15
- package/dist/collection/components/menu-button/menu-button.ios.css +14 -48
- package/dist/collection/components/menu-button/menu-button.js +10 -26
- package/dist/collection/components/menu-button/menu-button.md.css +15 -49
- package/dist/collection/components/menu-toggle/menu-toggle.js +5 -8
- package/dist/collection/components/modal/animations/sheet.js +2 -8
- package/dist/collection/components/modal/gestures/sheet.js +6 -10
- package/dist/collection/components/modal/modal.ios.css +63 -106
- package/dist/collection/components/modal/modal.js +11 -47
- package/dist/collection/components/modal/modal.md.css +63 -106
- package/dist/collection/components/nav/nav.css +1 -7
- package/dist/collection/components/nav/nav.js +5 -11
- package/dist/collection/components/nav-link/nav-link.js +1 -5
- package/dist/collection/components/note/note.ios.css +0 -12
- package/dist/collection/components/note/note.js +8 -11
- package/dist/collection/components/note/note.md.css +0 -12
- package/dist/collection/components/picker/picker.ios.css +3 -15
- package/dist/collection/components/picker/picker.js +5 -8
- package/dist/collection/components/picker/picker.md.css +3 -15
- package/dist/collection/components/picker-column/picker-column.css +2 -9
- package/dist/collection/components/picker-column/picker-column.js +7 -8
- package/dist/collection/components/picker-column-option/picker-column-option.ios.css +0 -6
- package/dist/collection/components/picker-column-option/picker-column-option.js +7 -13
- package/dist/collection/components/picker-column-option/picker-column-option.md.css +0 -6
- package/dist/collection/components/picker-legacy/picker.ios.css +1 -13
- package/dist/collection/components/picker-legacy/picker.js +6 -7
- package/dist/collection/components/picker-legacy/picker.md.css +1 -13
- package/dist/collection/components/picker-legacy-column/picker-column.ios.css +0 -12
- package/dist/collection/components/picker-legacy-column/picker-column.js +4 -4
- package/dist/collection/components/picker-legacy-column/picker-column.md.css +0 -12
- package/dist/collection/components/popover/popover.ios.css +1 -13
- package/dist/collection/components/popover/popover.js +12 -15
- package/dist/collection/components/popover/popover.md.css +1 -13
- package/dist/collection/components/progress-bar/progress-bar.ios.css +2 -8
- package/dist/collection/components/progress-bar/progress-bar.js +7 -10
- package/dist/collection/components/progress-bar/progress-bar.md.css +2 -8
- package/dist/collection/components/radio/radio.ios.css +91 -134
- package/dist/collection/components/radio/radio.js +15 -16
- package/dist/collection/components/radio/radio.md.css +91 -134
- package/dist/collection/components/radio-group/radio-group.js +7 -11
- package/dist/collection/components/range/range.ios.css +0 -12
- package/dist/collection/components/range/range.js +9 -12
- package/dist/collection/components/range/range.md.css +0 -12
- package/dist/collection/components/refresher/refresher.ios.css +1 -14
- package/dist/collection/components/refresher/refresher.js +8 -11
- package/dist/collection/components/refresher/refresher.md.css +2 -15
- package/dist/collection/components/refresher-content/refresher-content.js +7 -28
- package/dist/collection/components/reorder/reorder.ios.css +0 -6
- package/dist/collection/components/reorder/reorder.js +6 -33
- package/dist/collection/components/reorder/reorder.md.css +0 -6
- package/dist/collection/components/reorder-group/reorder-group.css +0 -6
- package/dist/collection/components/reorder-group/reorder-group.js +4 -8
- package/dist/collection/components/ripple-effect/{ripple-effect.common.css → ripple-effect.css} +1 -7
- package/dist/collection/components/ripple-effect/ripple-effect.js +6 -14
- package/dist/collection/components/route/route.js +0 -4
- package/dist/collection/components/router/router.js +0 -4
- package/dist/collection/components/router-link/router-link.css +2 -8
- package/dist/collection/components/router-link/router-link.js +5 -9
- package/dist/collection/components/router-outlet/router-outlet.css +1 -7
- package/dist/collection/components/router-outlet/router-outlet.js +2 -5
- package/dist/collection/components/row/row.css +0 -12
- package/dist/collection/components/row/row.js +2 -9
- package/dist/collection/components/searchbar/searchbar.ios.css +18 -56
- package/dist/collection/components/searchbar/searchbar.js +25 -97
- package/dist/collection/components/searchbar/searchbar.md.css +18 -56
- package/dist/collection/components/segment/segment.ios.css +2 -45
- package/dist/collection/components/segment/segment.js +121 -23
- package/dist/collection/components/segment/segment.md.css +2 -45
- package/dist/collection/components/segment-button/segment-button.ios.css +105 -146
- package/dist/collection/components/segment-button/segment-button.js +46 -14
- package/dist/collection/components/segment-button/segment-button.md.css +107 -148
- package/dist/collection/components/segment-content/segment-content.css +6 -0
- package/dist/collection/components/segment-content/segment-content.js +21 -0
- package/dist/collection/components/segment-view/segment-view-interface.js +1 -0
- package/dist/collection/components/{input-password-toggle/input-password-toggle.common.css → segment-view/segment-view.ios.css} +29 -7
- package/dist/collection/components/segment-view/segment-view.js +227 -0
- package/dist/collection/components/{accordion-group/accordion-group.ionic.css → segment-view/segment-view.md.css} +49 -47
- package/dist/collection/components/select/select.ios.css +3 -22
- package/dist/collection/components/select/select.js +90 -93
- package/dist/collection/components/select/select.md.css +5 -38
- package/dist/collection/components/select-modal/select-modal-interface.js +1 -0
- package/dist/collection/components/select-modal/select-modal.ios.css +3 -0
- package/dist/collection/components/select-modal/select-modal.js +159 -0
- package/dist/collection/components/{segment/segment.ionic.css → select-modal/select-modal.md.css} +26 -33
- package/dist/collection/components/select-modal/test/fixtures.js +48 -0
- package/dist/collection/components/select-option/select-option.js +2 -9
- package/dist/collection/components/select-popover/select-popover.ios.css +0 -18
- package/dist/collection/components/select-popover/select-popover.js +4 -12
- package/dist/collection/components/select-popover/select-popover.md.css +0 -18
- package/dist/collection/components/skeleton-text/skeleton-text.css +0 -6
- package/dist/collection/components/skeleton-text/skeleton-text.js +5 -9
- package/dist/collection/components/spinner/{spinner.ionic.css → spinner.css} +0 -63
- package/dist/collection/components/spinner/spinner.js +6 -46
- package/dist/collection/components/split-pane/split-pane.ios.css +2 -20
- package/dist/collection/components/split-pane/split-pane.js +8 -14
- package/dist/collection/components/split-pane/split-pane.md.css +2 -20
- package/dist/collection/components/tab/tab.js +2 -6
- package/dist/collection/components/tab-bar/tab-bar.ios.css +43 -71
- package/dist/collection/components/tab-bar/tab-bar.js +10 -65
- package/dist/collection/components/tab-bar/tab-bar.md.css +43 -71
- package/dist/collection/components/tab-button/tab-button.ios.css +88 -103
- package/dist/collection/components/tab-button/tab-button.js +8 -11
- package/dist/collection/components/tab-button/tab-button.md.css +88 -103
- package/dist/collection/components/tabs/tabs.css +1 -7
- package/dist/collection/components/tabs/tabs.js +1 -4
- package/dist/collection/components/text/text.css +0 -6
- package/dist/collection/components/text/text.js +6 -7
- package/dist/collection/components/textarea/textarea.ios.css +96 -201
- package/dist/collection/components/textarea/textarea.js +16 -59
- package/dist/collection/components/textarea/textarea.md.css +97 -214
- package/dist/collection/components/thumbnail/thumbnail.css +0 -6
- package/dist/collection/components/thumbnail/thumbnail.js +2 -9
- package/dist/collection/components/title/title.ios.css +4 -32
- package/dist/collection/components/title/title.js +7 -13
- package/dist/collection/components/title/title.md.css +4 -32
- package/dist/collection/components/toast/animations/utils.js +1 -1
- package/dist/collection/components/toast/toast.ios.css +35 -74
- package/dist/collection/components/toast/toast.js +11 -45
- package/dist/collection/components/toast/toast.md.css +35 -74
- package/dist/collection/components/toggle/toggle.ios.css +120 -166
- package/dist/collection/components/toggle/toggle.js +18 -73
- package/dist/collection/components/toggle/toggle.md.css +120 -163
- package/dist/collection/components/toolbar/toolbar.ios.css +47 -90
- package/dist/collection/components/toolbar/toolbar.js +10 -13
- package/dist/collection/components/toolbar/toolbar.md.css +47 -90
- package/dist/collection/global/ionic-global.js +13 -229
- package/dist/collection/utils/focus-visible.js +0 -7
- package/dist/collection/utils/framework-delegate.js +1 -3
- package/dist/collection/utils/helpers.js +1 -3
- package/dist/collection/utils/keyboard/keyboard-controller.js +1 -3
- package/dist/collection/utils/menu-controller/animations/overlay.js +3 -3
- package/dist/collection/utils/menu-controller/animations/push.js +1 -2
- package/dist/collection/utils/menu-controller/animations/reveal.js +1 -2
- package/dist/collection/utils/menu-controller/index.js +2 -2
- package/dist/collection/utils/overlays.js +1 -2
- package/dist/collection/utils/test/playwright/generator.js +23 -48
- package/dist/collection/utils/test/playwright/page/utils/goto.js +5 -14
- package/dist/collection/utils/test/playwright/page/utils/set-content.js +1 -14
- package/dist/collection/utils/transition/ios.transition.js +0 -1
- package/dist/docs.json +734 -7013
- package/dist/esm/{animation-16546c84.js → animation-eab5a4ca.js} +1 -1
- package/dist/esm/{app-globals-35381e66.js → app-globals-5dbb61a5.js} +1 -1
- package/dist/esm/{button-active-c768aceb.js → button-active-f6503382.js} +2 -2
- package/dist/esm/{capacitor-0897b83c.js → capacitor-59395cbd.js} +1 -1
- package/dist/esm/{data-d9b1fbdb.js → data-ae11fd43.js} +4 -4
- package/dist/{cjs/focus-visible-9aa87fa3.js → esm/focus-visible-dd40d69f.js} +1 -11
- package/dist/esm/{framework-delegate-56698eb0.js → framework-delegate-63d1a679.js} +2 -4
- package/dist/esm/{haptic-d9a770b8.js → haptic-ac164e4c.js} +1 -1
- package/dist/esm/hardware-back-button-06ef3c3e.js +116 -0
- package/dist/esm/{helpers-d57f52c8.js → helpers-da915de8.js} +1 -4
- package/dist/esm/{index-82405a4a.js → index-24b48b06.js} +13 -12
- package/dist/esm/{config-0b6b1b3d.js → index-28849c61.js} +1 -76
- package/dist/esm/{index-edf94b3b.js → index-3ad7f18b.js} +6 -5
- package/dist/esm/{index-f8ad386a.js → index-5cc724f3.js} +2 -2
- package/dist/esm/index-79b30591.js +167 -0
- package/dist/esm/index-9b0d46f4.js +34 -0
- package/dist/esm/index-a5d50daf.js +7 -0
- package/dist/esm/{index-d997525d.js → index-e2cf2ceb.js} +1 -1
- package/dist/esm/index.js +13 -10
- package/dist/esm/{input-shims-0f3cc1c3.js → input-shims-0314bbe5.js} +6 -6
- package/dist/esm/{input.utils-ef4d8197.js → input.utils-09c71bc7.js} +3 -2
- package/dist/esm/ion-accordion_2.entry.js +24 -45
- package/dist/esm/ion-action-sheet.entry.js +19 -21
- package/dist/esm/ion-alert.entry.js +26 -25
- package/dist/esm/ion-app_8.entry.js +140 -95
- package/dist/esm/ion-avatar_3.entry.js +10 -93
- package/dist/esm/ion-back-button.entry.js +21 -30
- package/dist/esm/ion-backdrop.entry.js +7 -11
- package/dist/esm/ion-breadcrumb_2.entry.js +17 -54
- package/dist/esm/ion-button_2.entry.js +13 -43
- package/dist/esm/ion-card_5.entry.js +29 -52
- package/dist/esm/ion-checkbox.entry.js +16 -30
- package/dist/esm/ion-chip.entry.js +8 -43
- package/dist/esm/ion-col_3.entry.js +11 -14
- package/dist/esm/ion-datetime-button.entry.js +9 -12
- package/dist/esm/ion-datetime_3.entry.js +40 -113
- package/dist/esm/ion-fab_3.entry.js +21 -43
- package/dist/esm/ion-img.entry.js +4 -7
- package/dist/esm/ion-infinite-scroll_2.entry.js +15 -18
- package/dist/esm/ion-input-password-toggle.entry.js +15 -53
- package/dist/esm/ion-input.entry.js +25 -119
- package/dist/esm/ion-item-option_3.entry.js +18 -40
- package/dist/esm/ion-item_8.entry.js +42 -113
- package/dist/esm/ion-loading.entry.js +16 -17
- package/dist/esm/ion-menu_3.entry.js +45 -63
- package/dist/esm/ion-modal.entry.js +31 -58
- package/dist/esm/ion-nav_2.entry.js +12 -13
- package/dist/esm/ion-picker-column-option.entry.js +7 -11
- package/dist/esm/ion-picker-column.entry.js +12 -11
- package/dist/esm/ion-picker.entry.js +6 -10
- package/dist/esm/ion-popover.entry.js +16 -17
- package/dist/esm/ion-progress-bar.entry.js +8 -12
- package/dist/esm/ion-radio_2.entry.js +20 -22
- package/dist/esm/ion-range.entry.js +10 -13
- package/dist/esm/ion-refresher_2.entry.js +21 -41
- package/dist/esm/ion-reorder_2.entry.js +15 -38
- package/dist/esm/ion-ripple-effect.entry.js +8 -18
- package/dist/esm/ion-route_4.entry.js +8 -8
- package/dist/esm/ion-searchbar.entry.js +18 -94
- package/dist/esm/ion-segment-content.entry.js +19 -0
- package/dist/esm/ion-segment-view.entry.js +118 -0
- package/dist/esm/ion-segment_2.entry.js +143 -38
- package/dist/esm/ion-select-modal.entry.js +107 -0
- package/dist/esm/ion-select_3.entry.js +73 -103
- package/dist/esm/ion-spinner.entry.js +8 -33
- package/dist/esm/ion-split-pane.entry.js +9 -13
- package/dist/esm/ion-tab-bar_2.entry.js +20 -44
- package/dist/esm/ion-tab_2.entry.js +7 -7
- package/dist/esm/ion-text.entry.js +6 -6
- package/dist/esm/ion-textarea.entry.js +17 -41
- package/dist/esm/ion-toast.entry.js +18 -33
- package/dist/esm/ion-toggle.entry.js +23 -80
- package/dist/esm/ionic-global-c81d82ab.js +231 -0
- package/dist/esm/ionic.js +5 -5
- package/dist/esm/{ios.transition-4b9fe79e.js → ios.transition-4ee1a3af.js} +7 -6
- package/dist/esm/{keyboard-584d2e6f.js → keyboard-52278bd7.js} +3 -4
- package/dist/esm/{keyboard-ad38b8fc.js → keyboard-73175e24.js} +1 -1
- package/dist/esm/{keyboard-controller-9c9c2301.js → keyboard-controller-ec5c2bfa.js} +3 -5
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-a71dc418.js → md.transition-5106a0d2.js} +7 -5
- package/dist/esm/{notch-controller-4d9a7b28.js → notch-controller-55b09e11.js} +2 -2
- package/dist/esm/{overlays-9da9aef5.js → overlays-9c75ec54.js} +7 -6
- package/dist/esm/{status-tap-82f51b25.js → status-tap-f472b09f.js} +4 -4
- package/dist/esm/{swipe-back-c5709ce5.js → swipe-back-e5394307.js} +1 -2
- package/dist/esm-es5/animation-eab5a4ca.js +4 -0
- package/dist/esm-es5/app-globals-5dbb61a5.js +4 -0
- package/dist/esm-es5/button-active-f6503382.js +4 -0
- package/dist/esm-es5/capacitor-59395cbd.js +4 -0
- package/dist/esm-es5/data-ae11fd43.js +4 -0
- package/dist/esm-es5/focus-visible-dd40d69f.js +4 -0
- package/dist/esm-es5/framework-delegate-63d1a679.js +4 -0
- package/dist/esm-es5/{haptic-d9a770b8.js → haptic-ac164e4c.js} +1 -1
- package/dist/esm-es5/hardware-back-button-06ef3c3e.js +4 -0
- package/dist/esm-es5/helpers-da915de8.js +4 -0
- package/dist/esm-es5/index-24b48b06.js +4 -0
- package/dist/esm-es5/{config-0b6b1b3d.js → index-28849c61.js} +2 -2
- package/dist/esm-es5/index-3ad7f18b.js +4 -0
- package/dist/esm-es5/index-5cc724f3.js +4 -0
- package/dist/esm-es5/index-79b30591.js +4 -0
- package/dist/esm-es5/index-9b0d46f4.js +4 -0
- package/dist/esm-es5/index-a5d50daf.js +4 -0
- package/dist/esm-es5/{index-d997525d.js → index-e2cf2ceb.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-0314bbe5.js +4 -0
- package/dist/esm-es5/input.utils-09c71bc7.js +4 -0
- package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
- package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
- package/dist/esm-es5/ion-alert.entry.js +1 -1
- package/dist/esm-es5/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
- package/dist/esm-es5/ion-back-button.entry.js +1 -1
- package/dist/esm-es5/ion-backdrop.entry.js +1 -1
- package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm-es5/ion-button_2.entry.js +1 -1
- package/dist/esm-es5/ion-card_5.entry.js +1 -1
- package/dist/esm-es5/ion-checkbox.entry.js +2 -2
- package/dist/esm-es5/ion-chip.entry.js +1 -1
- package/dist/esm-es5/ion-col_3.entry.js +1 -1
- package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-fab_3.entry.js +1 -1
- package/dist/esm-es5/ion-img.entry.js +1 -1
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
- package/dist/esm-es5/ion-input-password-toggle.entry.js +1 -1
- package/dist/esm-es5/ion-input.entry.js +1 -1
- package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
- package/dist/esm-es5/ion-item_8.entry.js +1 -1
- package/dist/esm-es5/ion-loading.entry.js +1 -1
- package/dist/esm-es5/ion-menu_3.entry.js +1 -1
- package/dist/esm-es5/ion-modal.entry.js +1 -1
- package/dist/esm-es5/ion-nav_2.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column-option.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column.entry.js +1 -1
- package/dist/esm-es5/ion-picker.entry.js +1 -1
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
- package/dist/esm-es5/ion-radio_2.entry.js +1 -1
- package/dist/esm-es5/ion-range.entry.js +1 -1
- package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
- package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
- package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
- package/dist/esm-es5/ion-route_4.entry.js +1 -1
- package/dist/esm-es5/ion-searchbar.entry.js +1 -1
- package/dist/esm-es5/ion-segment-content.entry.js +4 -0
- package/dist/esm-es5/ion-segment-view.entry.js +4 -0
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select-modal.entry.js +4 -0
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-spinner.entry.js +1 -1
- package/dist/esm-es5/ion-split-pane.entry.js +1 -1
- package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm-es5/ion-tab_2.entry.js +1 -1
- package/dist/esm-es5/ion-text.entry.js +1 -1
- package/dist/esm-es5/ion-textarea.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/esm-es5/ionic-global-c81d82ab.js +4 -0
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/ios.transition-4ee1a3af.js +4 -0
- package/dist/esm-es5/keyboard-52278bd7.js +4 -0
- package/dist/esm-es5/{keyboard-ad38b8fc.js → keyboard-73175e24.js} +1 -1
- package/dist/esm-es5/keyboard-controller-ec5c2bfa.js +4 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-5106a0d2.js +4 -0
- package/dist/esm-es5/notch-controller-55b09e11.js +4 -0
- package/dist/esm-es5/overlays-9c75ec54.js +4 -0
- package/dist/esm-es5/status-tap-f472b09f.js +4 -0
- package/dist/esm-es5/swipe-back-e5394307.js +4 -0
- package/dist/html.html-data.json +265 -2289
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/ionic.js +1 -1
- package/dist/ionic/{p-6f8c2e62.system.entry.js → p-01186920.system.entry.js} +1 -1
- package/dist/ionic/p-0303d0f8.js +4 -0
- package/dist/ionic/p-0574e87e.js +4 -0
- package/dist/ionic/p-06e58c4e.js +4 -0
- package/dist/ionic/p-06fee233.js +4 -0
- package/dist/ionic/p-081a4ce4.entry.js +4 -0
- package/dist/ionic/p-0c06e09b.system.js +4 -0
- package/dist/ionic/p-14be4015.entry.js +4 -0
- package/dist/ionic/p-15e76dd1.entry.js +4 -0
- package/dist/ionic/p-16188af7.entry.js +4 -0
- package/dist/ionic/p-16799667.system.entry.js +4 -0
- package/dist/ionic/p-16bfb979.system.entry.js +4 -0
- package/dist/ionic/p-17474161.system.js +4 -0
- package/dist/ionic/{p-61a51379.system.js → p-19ea7bff.system.js} +1 -1
- package/dist/ionic/p-19ec4f42.entry.js +4 -0
- package/dist/ionic/p-1acf0142.entry.js +4 -0
- package/dist/ionic/p-1c1b8e1f.entry.js +4 -0
- package/dist/ionic/p-1dfc11b3.system.js +4 -0
- package/dist/ionic/p-1e010627.system.entry.js +4 -0
- package/dist/ionic/p-1e4371bd.js +4 -0
- package/dist/ionic/p-1e67b266.system.entry.js +4 -0
- package/dist/ionic/{p-115d74cd.system.js → p-1e955a45.system.js} +1 -1
- package/dist/ionic/p-1ebd1e27.system.entry.js +4 -0
- package/dist/ionic/p-2097482f.entry.js +4 -0
- package/dist/ionic/{p-a65fe34d.system.entry.js → p-2172893e.system.entry.js} +1 -1
- package/dist/ionic/p-21e5e7e4.js +4 -0
- package/dist/ionic/p-22c020db.system.entry.js +4 -0
- package/dist/ionic/p-2507278c.system.entry.js +4 -0
- package/dist/ionic/p-25180df3.system.js +5 -0
- package/dist/ionic/p-2690b1de.js +4 -0
- package/dist/ionic/{p-4ed7dfdb.js → p-27281edd.js} +1 -1
- package/dist/ionic/{p-adec897a.system.entry.js → p-2799c6d3.system.entry.js} +1 -1
- package/dist/ionic/p-2abae1cc.system.entry.js +4 -0
- package/dist/ionic/p-2b7827c7.js +4 -0
- package/dist/ionic/p-2b838f86.system.entry.js +4 -0
- package/dist/ionic/p-2e46590d.system.entry.js +4 -0
- package/dist/ionic/p-2eba228d.system.entry.js +4 -0
- package/dist/ionic/p-312d16df.entry.js +4 -0
- package/dist/ionic/p-322c5fb4.system.js +4 -0
- package/dist/ionic/p-347ac2ef.system.entry.js +4 -0
- package/dist/ionic/p-34b11c24.js +4 -0
- package/dist/ionic/{p-2c5d7d84.system.js → p-372ae7f4.system.js} +1 -1
- package/dist/ionic/p-3ad285e3.system.js +4 -0
- package/dist/ionic/{p-d8339079.system.js → p-3c8e5c23.system.js} +1 -1
- package/dist/ionic/p-3cc276f4.js +4 -0
- package/dist/ionic/p-424eb140.system.entry.js +4 -0
- package/dist/ionic/p-4439fc2a.entry.js +4 -0
- package/dist/ionic/p-45693d7e.entry.js +4 -0
- package/dist/ionic/p-49a0e74c.entry.js +4 -0
- package/dist/ionic/p-4c2d5b80.system.js +4 -0
- package/dist/ionic/{p-6ecebfc6.entry.js → p-4ec778aa.entry.js} +1 -1
- package/dist/ionic/p-52d7a191.entry.js +4 -0
- package/dist/ionic/p-52f9cf4b.entry.js +4 -0
- package/dist/ionic/p-567de071.system.entry.js +4 -0
- package/dist/ionic/p-5823babc.system.entry.js +4 -0
- package/dist/ionic/p-58d5df0c.system.entry.js +4 -0
- package/dist/ionic/p-5972efea.system.entry.js +4 -0
- package/dist/ionic/p-5ab1b709.entry.js +4 -0
- package/dist/ionic/p-5b932840.entry.js +4 -0
- package/dist/ionic/{p-3bfe43bc.system.js → p-5da94421.system.js} +2 -2
- package/dist/ionic/p-5f9b0722.entry.js +4 -0
- package/dist/ionic/p-61e494dc.system.entry.js +4 -0
- package/dist/ionic/p-62af944c.entry.js +4 -0
- package/dist/ionic/p-63b0abde.system.entry.js +4 -0
- package/dist/ionic/p-66640ff7.system.entry.js +4 -0
- package/dist/ionic/p-69066a53.js +4 -0
- package/dist/ionic/p-69666e8a.system.entry.js +4 -0
- package/dist/ionic/p-6a901f69.system.entry.js +4 -0
- package/dist/ionic/p-6d32975a.entry.js +4 -0
- package/dist/ionic/p-6e2961d4.system.entry.js +4 -0
- package/dist/ionic/p-72812e99.js +4 -0
- package/dist/ionic/p-72bc8a1c.js +4 -0
- package/dist/ionic/p-73dc4950.entry.js +4 -0
- package/dist/ionic/{p-0695a0af.system.entry.js → p-7458862e.system.entry.js} +1 -1
- package/dist/ionic/p-792919fd.system.js +4 -0
- package/dist/ionic/p-797eeea8.system.entry.js +4 -0
- package/dist/ionic/p-7b30edcc.js +4 -0
- package/dist/ionic/p-7b9a2b23.entry.js +4 -0
- package/dist/ionic/p-7ed1657c.system.entry.js +4 -0
- package/dist/ionic/p-845f8376.entry.js +4 -0
- package/dist/ionic/p-8635f5e6.system.js +4 -0
- package/dist/ionic/p-88e63c7d.js +4 -0
- package/dist/ionic/{p-e61e3bb4.system.js → p-8985cdb6.system.js} +1 -1
- package/dist/ionic/{p-b9b36d56.js → p-89b61afc.js} +1 -1
- package/dist/ionic/p-908d6080.entry.js +4 -0
- package/dist/ionic/p-90df71aa.system.entry.js +4 -0
- package/dist/ionic/{p-747e9c9a.system.js → p-9146695e.system.js} +1 -1
- package/dist/ionic/p-937a7e21.entry.js +4 -0
- package/dist/ionic/p-94afeb70.entry.js +4 -0
- package/dist/ionic/p-95775830.entry.js +4 -0
- package/dist/ionic/p-96cc4814.js +4 -0
- package/dist/ionic/p-975fc268.system.entry.js +4 -0
- package/dist/ionic/{p-093de343.system.entry.js → p-98231c01.system.entry.js} +1 -1
- package/dist/ionic/p-985a7e17.system.entry.js +4 -0
- package/dist/ionic/p-98871496.system.js +4 -0
- package/dist/ionic/p-98e71235.system.entry.js +4 -0
- package/dist/ionic/p-98ff6b32.entry.js +4 -0
- package/dist/ionic/p-9c901780.entry.js +4 -0
- package/dist/ionic/p-9df2c6fb.entry.js +4 -0
- package/dist/ionic/{p-3a11234f.system.js → p-9ea607bd.system.js} +2 -2
- package/dist/ionic/p-9ee1e8a6.entry.js +4 -0
- package/dist/ionic/p-9f3008d4.system.js +4 -0
- package/dist/ionic/p-9fa07aec.entry.js +4 -0
- package/dist/ionic/p-a15ddedb.system.js +4 -0
- package/dist/ionic/p-a2aee540.entry.js +4 -0
- package/dist/ionic/p-a440397c.js +4 -0
- package/dist/ionic/p-a4565eb5.system.js +4 -0
- package/dist/ionic/p-a49378bb.system.entry.js +4 -0
- package/dist/ionic/p-a61cba41.entry.js +4 -0
- package/dist/ionic/p-a69b9fc5.system.js +4 -0
- package/dist/ionic/{p-f8e329da.system.js → p-a93873de.system.js} +1 -1
- package/dist/ionic/p-abe101da.system.js +4 -0
- package/dist/ionic/p-adbc4bdf.entry.js +4 -0
- package/dist/ionic/{p-4b153a9f.entry.js → p-afecb188.entry.js} +1 -1
- package/dist/ionic/{p-c9ef0ca7.system.js → p-b06ac4a5.system.js} +1 -1
- package/dist/ionic/p-b1e1364f.system.entry.js +4 -0
- package/dist/ionic/p-b51e4004.js +4 -0
- package/dist/ionic/p-b82d4cab.js +4 -0
- package/dist/ionic/p-b889e5de.system.js +4 -0
- package/dist/ionic/p-b9d7015f.entry.js +4 -0
- package/dist/ionic/p-bb0db172.entry.js +4 -0
- package/dist/ionic/p-bc36ad98.system.entry.js +4 -0
- package/dist/ionic/p-bdad26e3.entry.js +4 -0
- package/dist/ionic/p-c29f8157.system.entry.js +4 -0
- package/dist/ionic/p-c2b74d92.system.entry.js +4 -0
- package/dist/ionic/p-c41ac815.entry.js +4 -0
- package/dist/ionic/p-c468af8a.system.js +4 -0
- package/dist/ionic/p-c61cc894.js +4 -0
- package/dist/ionic/{p-d1e991c3.js → p-c7e16491.js} +1 -1
- package/dist/ionic/p-c9f3a539.entry.js +4 -0
- package/dist/ionic/p-ca065903.system.entry.js +4 -0
- package/dist/ionic/p-cac0e0b3.system.entry.js +4 -0
- package/dist/ionic/p-cfab4f20.entry.js +4 -0
- package/dist/ionic/p-d18ab582.system.entry.js +4 -0
- package/dist/ionic/p-d1db10ed.system.entry.js +4 -0
- package/dist/ionic/p-d47265c8.js +4 -0
- package/dist/ionic/{p-0a820472.js → p-d60342e3.js} +1 -1
- package/dist/ionic/p-d6841eac.js +4 -0
- package/dist/ionic/{p-dbfc5db6.js → p-d743e981.js} +1 -1
- package/dist/ionic/p-d77e12ca.entry.js +4 -0
- package/dist/ionic/p-d7aa6b00.entry.js +4 -0
- package/dist/ionic/{p-a9fd9d48.js → p-d836d43e.js} +2 -2
- package/dist/ionic/p-da074ff7.entry.js +4 -0
- package/dist/ionic/{p-58f16ef6.js → p-da2b833b.js} +1 -1
- package/dist/ionic/{p-2b428cf6.entry.js → p-de930745.entry.js} +1 -1
- package/dist/ionic/{p-25e2c98f.system.js → p-dfb78785.system.js} +1 -1
- package/dist/ionic/p-e4ee80be.system.entry.js +4 -0
- package/dist/ionic/p-e7ed4a7f.system.js +4 -0
- package/dist/ionic/p-e9a173ed.entry.js +4 -0
- package/dist/ionic/p-eba29931.entry.js +4 -0
- package/dist/ionic/p-eba81f15.entry.js +4 -0
- package/dist/ionic/p-ebf042e0.system.entry.js +4 -0
- package/dist/ionic/p-ecceeb90.js +4 -0
- package/dist/ionic/p-ed75fcfb.system.entry.js +4 -0
- package/dist/ionic/p-eedf2757.entry.js +4 -0
- package/dist/ionic/p-ef4a65bd.system.entry.js +4 -0
- package/dist/ionic/p-efaffe74.entry.js +4 -0
- package/dist/ionic/p-f1acf541.system.entry.js +4 -0
- package/dist/ionic/p-f3102647.system.entry.js +4 -0
- package/dist/ionic/p-f4bc18a1.system.entry.js +4 -0
- package/dist/ionic/{p-d9e1c48c.system.js → p-f687573e.system.js} +1 -1
- package/dist/ionic/p-f9a53abb.system.js +4 -0
- package/dist/ionic/p-fca6ef5f.system.entry.js +4 -0
- package/dist/ionic/p-ff4b7e40.system.js +4 -0
- package/dist/types/components/accordion/accordion.d.ts +3 -5
- package/dist/types/components/accordion-group/accordion-group.d.ts +1 -2
- package/dist/types/components/action-sheet/action-sheet-interface.d.ts +7 -3
- package/dist/types/components/action-sheet/action-sheet.d.ts +2 -3
- package/dist/types/components/alert/alert-interface.d.ts +7 -3
- package/dist/types/components/alert/alert.d.ts +2 -3
- package/dist/types/components/app/app.d.ts +2 -4
- package/dist/types/components/avatar/avatar.d.ts +0 -28
- package/dist/types/components/back-button/back-button.d.ts +1 -2
- package/dist/types/components/backdrop/backdrop.d.ts +0 -4
- package/dist/types/components/badge/badge.d.ts +1 -23
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +1 -4
- package/dist/types/components/breadcrumbs/breadcrumbs.d.ts +2 -2
- package/dist/types/components/button/button.d.ts +4 -15
- package/dist/types/components/buttons/buttons.d.ts +1 -5
- package/dist/types/components/card/card.d.ts +1 -8
- package/dist/types/components/card-content/card-content.d.ts +1 -2
- package/dist/types/components/card-header/card-header.d.ts +2 -3
- package/dist/types/components/card-subtitle/card-subtitle.d.ts +1 -2
- package/dist/types/components/card-title/card-title.d.ts +1 -2
- package/dist/types/components/checkbox/checkbox.d.ts +6 -15
- package/dist/types/components/chip/chip.d.ts +1 -19
- package/dist/types/components/col/col.d.ts +0 -4
- package/dist/types/components/content/content.d.ts +0 -3
- package/dist/types/components/datetime/datetime.d.ts +1 -26
- package/dist/types/components/datetime/utils/data.d.ts +3 -3
- package/dist/types/components/datetime-button/datetime-button.d.ts +1 -2
- package/dist/types/components/fab/fab.d.ts +0 -4
- package/dist/types/components/fab-button/fab-button.d.ts +3 -5
- package/dist/types/components/fab-list/fab-list.d.ts +0 -4
- package/dist/types/components/footer/footer.d.ts +3 -4
- package/dist/types/components/grid/grid.d.ts +0 -4
- package/dist/types/components/header/header.d.ts +3 -9
- package/dist/types/components/img/img.d.ts +0 -3
- package/dist/types/components/infinite-scroll/infinite-scroll.d.ts +0 -4
- package/dist/types/components/infinite-scroll-content/infinite-scroll-content.d.ts +0 -4
- package/dist/types/components/input/input.d.ts +5 -31
- package/dist/types/components/input-password-toggle/input-password-toggle.d.ts +0 -2
- package/dist/types/components/item/item.d.ts +4 -11
- package/dist/types/components/item-divider/item-divider.d.ts +1 -2
- package/dist/types/components/item-group/item-group.d.ts +0 -4
- package/dist/types/components/item-option/item-option.d.ts +1 -11
- package/dist/types/components/item-options/item-options.d.ts +0 -4
- package/dist/types/components/item-sliding/item-sliding.d.ts +0 -4
- package/dist/types/components/label/label.d.ts +1 -2
- package/dist/types/components/list/list.d.ts +1 -15
- package/dist/types/components/list-header/list-header.d.ts +1 -2
- package/dist/types/components/loading/loading-interface.d.ts +7 -2
- package/dist/types/components/loading/loading.d.ts +2 -3
- package/dist/types/components/menu/menu-interface.d.ts +5 -2
- package/dist/types/components/menu/menu.d.ts +6 -9
- package/dist/types/components/menu-button/menu-button.d.ts +1 -3
- package/dist/types/components/menu-toggle/menu-toggle.d.ts +0 -3
- package/dist/types/components/modal/gestures/sheet.d.ts +1 -1
- package/dist/types/components/modal/modal-interface.d.ts +7 -4
- package/dist/types/components/modal/modal.d.ts +1 -11
- package/dist/types/components/nav/nav-interface.d.ts +1 -9
- package/dist/types/components/nav/nav.d.ts +1 -5
- package/dist/types/components/nav-link/nav-link.d.ts +0 -4
- package/dist/types/components/note/note.d.ts +1 -2
- package/dist/types/components/picker/picker.d.ts +1 -2
- package/dist/types/components/picker-column/picker-column.d.ts +1 -2
- package/dist/types/components/picker-column-option/picker-column-option.d.ts +0 -4
- package/dist/types/components/picker-legacy/picker.d.ts +1 -2
- package/dist/types/components/popover/popover-interface.d.ts +6 -3
- package/dist/types/components/popover/popover.d.ts +5 -6
- package/dist/types/components/progress-bar/progress-bar.d.ts +1 -2
- package/dist/types/components/radio/radio.d.ts +2 -3
- package/dist/types/components/radio-group/radio-group.d.ts +0 -4
- package/dist/types/components/range/range.d.ts +1 -2
- package/dist/types/components/refresher/refresher.d.ts +1 -2
- package/dist/types/components/refresher-content/refresher-content.d.ts +0 -4
- package/dist/types/components/reorder/reorder.d.ts +0 -9
- package/dist/types/components/reorder-group/reorder-group.d.ts +0 -4
- package/dist/types/components/ripple-effect/ripple-effect.d.ts +0 -4
- package/dist/types/components/route/route.d.ts +0 -4
- package/dist/types/components/router/router.d.ts +0 -4
- package/dist/types/components/router-link/router-link.d.ts +0 -4
- package/dist/types/components/router-outlet/router-outlet.d.ts +1 -4
- package/dist/types/components/row/row.d.ts +0 -4
- package/dist/types/components/searchbar/searchbar.d.ts +8 -30
- package/dist/types/components/segment/segment.d.ts +22 -3
- package/dist/types/components/segment-button/segment-button.d.ts +5 -2
- package/dist/types/components/segment-content/segment-content.d.ts +4 -0
- package/dist/types/components/segment-view/segment-view-interface.d.ts +4 -0
- package/dist/types/components/segment-view/segment-view.d.ts +55 -0
- package/dist/types/components/select/select-interface.d.ts +1 -1
- package/dist/types/components/select/select.d.ts +10 -24
- package/dist/types/components/select-modal/select-modal-interface.d.ts +10 -0
- package/dist/types/components/select-modal/select-modal.d.ts +16 -0
- package/dist/types/components/select-modal/test/fixtures.d.ts +16 -0
- package/dist/types/components/select-option/select-option.d.ts +0 -4
- package/dist/types/components/select-popover/select-popover.d.ts +0 -3
- package/dist/types/components/skeleton-text/skeleton-text.d.ts +0 -4
- package/dist/types/components/spinner/spinner.d.ts +0 -15
- package/dist/types/components/split-pane/split-pane.d.ts +0 -4
- package/dist/types/components/tab/tab.d.ts +0 -4
- package/dist/types/components/tab-bar/tab-bar.d.ts +2 -22
- package/dist/types/components/tab-button/tab-button.d.ts +1 -2
- package/dist/types/components/tabs/tabs.d.ts +0 -3
- package/dist/types/components/text/text.d.ts +1 -2
- package/dist/types/components/textarea/textarea.d.ts +4 -16
- package/dist/types/components/thumbnail/thumbnail.d.ts +0 -4
- package/dist/types/components/title/title.d.ts +0 -4
- package/dist/types/components/toast/animations/utils.d.ts +2 -2
- package/dist/types/components/toast/toast-interface.d.ts +7 -3
- package/dist/types/components/toast/toast.d.ts +2 -12
- package/dist/types/components/toggle/toggle.d.ts +1 -15
- package/dist/types/components/toolbar/toolbar.d.ts +3 -4
- package/dist/types/components.d.ts +288 -1374
- package/dist/types/global/ionic-global.d.ts +2 -27
- package/dist/types/interface.d.ts +0 -3
- package/dist/types/utils/config.d.ts +2 -106
- package/dist/types/utils/focus-visible.d.ts +0 -1
- package/dist/types/utils/overlays-interface.d.ts +2 -32
- package/dist/types/utils/test/playwright/generator.d.ts +2 -31
- package/hydrate/index.js +1335 -2338
- package/hydrate/index.mjs +1335 -2338
- package/package.json +4 -9
- package/components/caret-down.js +0 -6
- package/components/caret-left.js +0 -6
- package/components/caret-right.js +0 -6
- package/components/config2.js +0 -79
- package/components/list2.js +0 -6
- package/components/x.js +0 -6
- package/css/ionic/bundle.ionic.css +0 -1
- package/css/ionic/bundle.ionic.css.map +0 -1
- package/css/ionic/core.ionic.css +0 -1
- package/css/ionic/core.ionic.css.map +0 -1
- package/css/ionic/global.bundle.ionic.css +0 -1
- package/css/ionic/global.bundle.ionic.css.map +0 -1
- package/css/ionic/ionic-swiper.ionic.css +0 -1
- package/css/ionic/ionic-swiper.ionic.css.map +0 -1
- package/css/ionic/link.ionic.css +0 -1
- package/css/ionic/link.ionic.css.map +0 -1
- package/css/ionic/structure.ionic.css +0 -1
- package/css/ionic/structure.ionic.css.map +0 -1
- package/css/ionic/typography.ionic.css +0 -1
- package/css/ionic/typography.ionic.css.map +0 -1
- package/css/ionic/utils.bundle.ionic.css +0 -1
- package/css/ionic/utils.bundle.ionic.css.map +0 -1
- package/dist/cjs/caret-down-3c215cff.js +0 -8
- package/dist/cjs/caret-left-2bb66970.js +0 -8
- package/dist/cjs/caret-right-88e03970.js +0 -8
- package/dist/cjs/ionic-global-3647b9f5.js +0 -534
- package/dist/cjs/list-2930c629.js +0 -8
- package/dist/cjs/x-81a8f51c.js +0 -8
- package/dist/collection/components/accordion/accordion.ionic.css +0 -201
- package/dist/collection/components/avatar/avatar.ionic.css +0 -269
- package/dist/collection/components/backdrop/backdrop.ionic.css +0 -151
- package/dist/collection/components/badge/badge.ionic.css +0 -249
- package/dist/collection/components/button/button.ionic.css +0 -589
- package/dist/collection/components/buttons/buttons.ionic.css +0 -100
- package/dist/collection/components/card/card.ionic.css +0 -137
- package/dist/collection/components/card-content/card-content.ionic.css +0 -90
- package/dist/collection/components/card-header/card-header.ionic.css +0 -87
- package/dist/collection/components/card-subtitle/card-subtitle.ionic.css +0 -146
- package/dist/collection/components/checkbox/checkbox.ionic.css +0 -402
- package/dist/collection/components/chip/chip.ionic.css +0 -160
- package/dist/collection/components/datetime/datetime.ionic.css +0 -668
- package/dist/collection/components/header/header.ionic.css +0 -86
- package/dist/collection/components/input/input.ionic.css +0 -1096
- package/dist/collection/components/input-password-toggle/input-password-toggle.ionic.css +0 -141
- package/dist/collection/components/item/item.ionic.css +0 -501
- package/dist/collection/components/item-option/item-option.ionic.css +0 -332
- package/dist/collection/components/item-options/item-options.ionic.css +0 -258
- package/dist/collection/components/list/list.ionic.css +0 -193
- package/dist/collection/components/list-header/list-header.ionic.css +0 -236
- package/dist/collection/components/menu-button/menu-button.ionic.css +0 -238
- package/dist/collection/components/modal/modal.ionic.css +0 -239
- package/dist/collection/components/radio/radio.ionic.css +0 -418
- package/dist/collection/components/ripple-effect/ripple-effect.ionic.css +0 -154
- package/dist/collection/components/searchbar/searchbar.ionic.css +0 -345
- package/dist/collection/components/segment-button/segment-button.ionic.css +0 -350
- package/dist/collection/components/spinner/spinner.common.css +0 -199
- package/dist/collection/components/tab-bar/tab-bar.ionic.css +0 -250
- package/dist/collection/components/tab-button/tab-button.ionic.css +0 -271
- package/dist/collection/components/textarea/textarea.ionic.css +0 -804
- package/dist/collection/components/title/title.ionic.css +0 -145
- package/dist/collection/components/toast/toast.ionic.css +0 -358
- package/dist/collection/components/toggle/toggle.ionic.css +0 -419
- package/dist/collection/components/toolbar/toolbar.ionic.css +0 -233
- package/dist/esm/caret-down-3eaad1cc.js +0 -6
- package/dist/esm/caret-left-33424bb0.js +0 -6
- package/dist/esm/caret-right-68d856ad.js +0 -6
- package/dist/esm/ionic-global-d7017fd9.js +0 -520
- package/dist/esm/list-6524700c.js +0 -6
- package/dist/esm/x-a64bcd9f.js +0 -6
- package/dist/esm-es5/animation-16546c84.js +0 -4
- package/dist/esm-es5/app-globals-35381e66.js +0 -4
- package/dist/esm-es5/button-active-c768aceb.js +0 -4
- package/dist/esm-es5/capacitor-0897b83c.js +0 -4
- package/dist/esm-es5/caret-down-3eaad1cc.js +0 -4
- package/dist/esm-es5/caret-left-33424bb0.js +0 -4
- package/dist/esm-es5/caret-right-68d856ad.js +0 -4
- package/dist/esm-es5/data-d9b1fbdb.js +0 -4
- package/dist/esm-es5/focus-visible-501aff19.js +0 -4
- package/dist/esm-es5/framework-delegate-56698eb0.js +0 -4
- package/dist/esm-es5/helpers-d57f52c8.js +0 -4
- package/dist/esm-es5/index-7f65e865.js +0 -4
- package/dist/esm-es5/index-82405a4a.js +0 -4
- package/dist/esm-es5/index-edf94b3b.js +0 -4
- package/dist/esm-es5/index-f8ad386a.js +0 -4
- package/dist/esm-es5/input-shims-0f3cc1c3.js +0 -4
- package/dist/esm-es5/input.utils-ef4d8197.js +0 -4
- package/dist/esm-es5/ionic-global-d7017fd9.js +0 -4
- package/dist/esm-es5/ios.transition-4b9fe79e.js +0 -4
- package/dist/esm-es5/keyboard-584d2e6f.js +0 -4
- package/dist/esm-es5/keyboard-controller-9c9c2301.js +0 -4
- package/dist/esm-es5/list-6524700c.js +0 -4
- package/dist/esm-es5/md.transition-a71dc418.js +0 -4
- package/dist/esm-es5/notch-controller-4d9a7b28.js +0 -4
- package/dist/esm-es5/overlays-9da9aef5.js +0 -4
- package/dist/esm-es5/status-tap-82f51b25.js +0 -4
- package/dist/esm-es5/swipe-back-c5709ce5.js +0 -4
- package/dist/esm-es5/x-a64bcd9f.js +0 -4
- package/dist/ionic/p-01d80901.system.js +0 -4
- package/dist/ionic/p-036e1c5b.entry.js +0 -4
- package/dist/ionic/p-0689d382.entry.js +0 -4
- package/dist/ionic/p-06ec4706.js +0 -4
- package/dist/ionic/p-087e8765.system.entry.js +0 -4
- package/dist/ionic/p-08df90cf.system.js +0 -4
- package/dist/ionic/p-08f1ef0c.entry.js +0 -4
- package/dist/ionic/p-0a701833.entry.js +0 -4
- package/dist/ionic/p-1037b7dd.js +0 -4
- package/dist/ionic/p-12e3e308.entry.js +0 -4
- package/dist/ionic/p-13046601.system.entry.js +0 -4
- package/dist/ionic/p-1331f417.system.entry.js +0 -4
- package/dist/ionic/p-14719a77.entry.js +0 -4
- package/dist/ionic/p-15d51b10.js +0 -4
- package/dist/ionic/p-19ac8e04.system.entry.js +0 -4
- package/dist/ionic/p-221e5078.system.js +0 -4
- package/dist/ionic/p-243adf8c.js +0 -4
- package/dist/ionic/p-25389914.entry.js +0 -4
- package/dist/ionic/p-25564f4c.system.entry.js +0 -4
- package/dist/ionic/p-26f7c080.system.js +0 -4
- package/dist/ionic/p-28d04212.system.js +0 -4
- package/dist/ionic/p-291dc0b3.system.entry.js +0 -4
- package/dist/ionic/p-29d6d1fc.system.entry.js +0 -4
- package/dist/ionic/p-2a559ac6.js +0 -4
- package/dist/ionic/p-2a79e451.entry.js +0 -4
- package/dist/ionic/p-2be91f19.entry.js +0 -4
- package/dist/ionic/p-2c368e32.entry.js +0 -4
- package/dist/ionic/p-2d580501.entry.js +0 -4
- package/dist/ionic/p-2d621d56.system.entry.js +0 -4
- package/dist/ionic/p-2da8c20c.system.entry.js +0 -4
- package/dist/ionic/p-2e6d744f.system.entry.js +0 -4
- package/dist/ionic/p-361c24e5.system.entry.js +0 -4
- package/dist/ionic/p-36bdcfc4.js +0 -4
- package/dist/ionic/p-388ac217.js +0 -4
- package/dist/ionic/p-39d15e64.system.entry.js +0 -4
- package/dist/ionic/p-3a5869c3.entry.js +0 -4
- package/dist/ionic/p-3ca5196c.js +0 -4
- package/dist/ionic/p-419fac38.entry.js +0 -4
- package/dist/ionic/p-4228a245.entry.js +0 -4
- package/dist/ionic/p-429dd2b5.system.js +0 -4
- package/dist/ionic/p-434c7348.system.entry.js +0 -4
- package/dist/ionic/p-45e150eb.js +0 -4
- package/dist/ionic/p-46787abb.system.js +0 -4
- package/dist/ionic/p-46cc2492.system.js +0 -4
- package/dist/ionic/p-49a3fc76.entry.js +0 -4
- package/dist/ionic/p-4a9b61ed.system.entry.js +0 -4
- package/dist/ionic/p-4c251d59.entry.js +0 -4
- package/dist/ionic/p-4d000ec5.entry.js +0 -4
- package/dist/ionic/p-4e202665.js +0 -4
- package/dist/ionic/p-51151575.system.entry.js +0 -4
- package/dist/ionic/p-5468bfbf.entry.js +0 -4
- package/dist/ionic/p-5b57d327.system.js +0 -4
- package/dist/ionic/p-5ce35a03.js +0 -4
- package/dist/ionic/p-607c9c33.js +0 -4
- package/dist/ionic/p-643e2eb8.js +0 -4
- package/dist/ionic/p-660f3b98.entry.js +0 -4
- package/dist/ionic/p-6703f239.entry.js +0 -4
- package/dist/ionic/p-68f3fa48.system.entry.js +0 -4
- package/dist/ionic/p-69e54172.js +0 -4
- package/dist/ionic/p-6a0dd6bc.js +0 -4
- package/dist/ionic/p-6ad6d594.js +0 -4
- package/dist/ionic/p-6b64dce1.entry.js +0 -4
- package/dist/ionic/p-6d9e1887.system.entry.js +0 -4
- package/dist/ionic/p-70c6cd75.system.js +0 -4
- package/dist/ionic/p-719fca78.entry.js +0 -4
- package/dist/ionic/p-71e8ffdd.system.js +0 -4
- package/dist/ionic/p-726b9197.system.entry.js +0 -4
- package/dist/ionic/p-73e32456.system.js +0 -4
- package/dist/ionic/p-774d5b57.system.entry.js +0 -4
- package/dist/ionic/p-776adb3d.entry.js +0 -4
- package/dist/ionic/p-7811f251.system.entry.js +0 -4
- package/dist/ionic/p-7d02004b.entry.js +0 -4
- package/dist/ionic/p-7ebc381e.entry.js +0 -4
- package/dist/ionic/p-80342c88.system.entry.js +0 -4
- package/dist/ionic/p-8181e971.entry.js +0 -4
- package/dist/ionic/p-8248976b.system.entry.js +0 -4
- package/dist/ionic/p-836515ee.entry.js +0 -4
- package/dist/ionic/p-8421aedf.js +0 -4
- package/dist/ionic/p-8d7bc281.system.entry.js +0 -4
- package/dist/ionic/p-931d77d5.entry.js +0 -4
- package/dist/ionic/p-95c2258a.entry.js +0 -4
- package/dist/ionic/p-974aaf78.entry.js +0 -4
- package/dist/ionic/p-99ab41a8.system.entry.js +0 -4
- package/dist/ionic/p-9abdb4a7.system.entry.js +0 -4
- package/dist/ionic/p-9e4ede77.system.entry.js +0 -4
- package/dist/ionic/p-9e8e25e4.system.js +0 -4
- package/dist/ionic/p-9e9bff83.system.js +0 -4
- package/dist/ionic/p-9f51595b.entry.js +0 -4
- package/dist/ionic/p-9fa0b117.entry.js +0 -4
- package/dist/ionic/p-9fcaadad.system.entry.js +0 -4
- package/dist/ionic/p-a856dbc6.entry.js +0 -4
- package/dist/ionic/p-a9af4103.js +0 -4
- package/dist/ionic/p-aacc6ddd.system.js +0 -5
- package/dist/ionic/p-ab6e0f02.system.entry.js +0 -4
- package/dist/ionic/p-adaa7af1.entry.js +0 -4
- package/dist/ionic/p-b19a9aa9.system.js +0 -4
- package/dist/ionic/p-b297c7b5.system.js +0 -4
- package/dist/ionic/p-b5bf8a04.entry.js +0 -4
- package/dist/ionic/p-b6fc8ee2.system.entry.js +0 -4
- package/dist/ionic/p-ba3ddec4.js +0 -4
- package/dist/ionic/p-bad792a6.entry.js +0 -4
- package/dist/ionic/p-bd50f24e.system.entry.js +0 -4
- package/dist/ionic/p-c08a9937.system.entry.js +0 -4
- package/dist/ionic/p-c248c88d.system.js +0 -4
- package/dist/ionic/p-c24ff776.system.entry.js +0 -4
- package/dist/ionic/p-c6191942.js +0 -4
- package/dist/ionic/p-c6e47379.entry.js +0 -4
- package/dist/ionic/p-c7e967c0.system.entry.js +0 -4
- package/dist/ionic/p-c8097757.system.entry.js +0 -4
- package/dist/ionic/p-c8f207d8.entry.js +0 -4
- package/dist/ionic/p-cb131dda.system.entry.js +0 -4
- package/dist/ionic/p-d0259f44.system.js +0 -4
- package/dist/ionic/p-d0953ec9.system.entry.js +0 -4
- package/dist/ionic/p-d10313a6.system.js +0 -4
- package/dist/ionic/p-d2ef848a.entry.js +0 -4
- package/dist/ionic/p-d346c889.system.entry.js +0 -4
- package/dist/ionic/p-d67b88b0.system.entry.js +0 -4
- package/dist/ionic/p-d8b501bd.system.entry.js +0 -4
- package/dist/ionic/p-da968066.entry.js +0 -4
- package/dist/ionic/p-db8aeb40.system.js +0 -4
- package/dist/ionic/p-dd50ef12.js +0 -4
- package/dist/ionic/p-df668729.entry.js +0 -4
- package/dist/ionic/p-e270862e.js +0 -4
- package/dist/ionic/p-e3b70846.system.js +0 -4
- package/dist/ionic/p-e51ff133.system.entry.js +0 -4
- package/dist/ionic/p-e5239905.system.entry.js +0 -4
- package/dist/ionic/p-eeb60a8f.entry.js +0 -4
- package/dist/ionic/p-eec767ca.entry.js +0 -4
- package/dist/ionic/p-f065578f.js +0 -4
- package/dist/ionic/p-f0d3419a.entry.js +0 -4
- package/dist/ionic/p-f4ae533b.js +0 -4
- package/dist/ionic/p-f61ce679.js +0 -4
- package/dist/ionic/p-fbcb3139.entry.js +0 -4
- package/dist/ionic/p-fca5d1b1.system.entry.js +0 -4
- package/dist/ionic/p-ffa51f41.system.entry.js +0 -4
- /package/dist/collection/components/{refresher-content/refresher-content.css → input-password-toggle/input-password-toggle.css} +0 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,e,r,o){function i(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,n){function a(t){try{p(o.next(t))}catch(t){n(t)}}function s(t){try{p(o["throw"](t))}catch(t){n(t)}}function p(t){t.done?r(t.value):i(t.value).then(a,s)}p((o=o.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,i,n,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(e){return p([t,e])}}function p(s){if(o)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(r=0)),r)try{if(o=1,i&&(n=s[0]&2?i["return"]:s[0]?i["throw"]||((n=i["return"])&&n.call(i),0):i.next)&&!(n=n.call(i,s[1])).done)return n;if(i=0,n)s=[s[0]&2,n.value];switch(s[0]){case 0:case 1:n=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;i=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(n=r.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){r.label=s[1];break}if(s[0]===6&&r.label<n[1]){r.label=n[1];n=s;break}if(n&&r.label<n[2]){r.label=n[2];r.ops.push(s);break}if(n[2])r.ops.pop();r.trys.pop();continue}s=e.call(t,r)}catch(t){s=[6,t];i=0}finally{o=n=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};
|
|
2
|
+
/*!
|
|
3
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
+
*/System.register(["./p-25180df3.system.js","./p-98871496.system.js","./p-8635f5e6.system.js","./p-3ad285e3.system.js","./p-4f255d5a.system.js","./p-ff4b7e40.system.js","./p-a69b9fc5.system.js","./p-4609d030.system.js","./p-f9a53abb.system.js","./p-9146695e.system.js","./p-792919fd.system.js","./p-9f3008d4.system.js","./p-20d469d0.system.js"],(function(t){"use strict";var e,r,o,i,n,a,s,p,f,c,v,u,d,h,l,g,b,x,m,w,k,y,P,_,D,T,j,N;return{setters:[function(t){e=t.r;r=t.d;o=t.h;i=t.f;n=t.i},function(t){a=t.B;s=t.j;p=t.k;f=t.f;c=t.n;v=t.g;u=t.h;d=t.F},function(t){h=t.C;l=t.a;g=t.d},function(t){b=t.r;x=t.g;m=t.a;w=t.k},function(t){k=t.c},function(t){y=t.p},function(t){P=t.b;_=t.a},function(t){D=t.g},function(t){T=t.e;j=t.w},function(t){N=t.c},function(){},function(){},function(){}],execute:function(){var O=this;var A=function(t){if(!t){return{arrowWidth:0,arrowHeight:0}}var e=t.getBoundingClientRect(),r=e.width,o=e.height;return{arrowWidth:r,arrowHeight:o}};var I=function(t,e,r){var o=e.getBoundingClientRect();var i=o.height;var n=o.width;if(t==="cover"&&r){var a=r.getBoundingClientRect();n=a.width}return{contentWidth:n,contentHeight:i}};var W=function(t,e,r,o){var i=[];var n=x(o);var a=n.querySelector(".popover-content");switch(e){case"hover":i=[{eventName:"mouseenter",callback:function(e){var o=document.elementFromPoint(e.clientX,e.clientY);if(o===t){return}r.dismiss(undefined,undefined,false)}}];break;case"context-menu":case"click":default:i=[{eventName:"click",callback:function(e){var o=e.target;var i=o.closest("[data-ion-popover-trigger]");if(i===t){e.stopPropagation();return}r.dismiss(undefined,undefined,false)}}];break}i.forEach((function(t){var e=t.eventName,r=t.callback;return a.addEventListener(e,r)}));return function(){i.forEach((function(t){var e=t.eventName,r=t.callback;return a.removeEventListener(e,r)}))}};var L=function(t,e,r){var o=[];switch(e){case"hover":var i;o=[{eventName:"mouseenter",callback:function(t){return __awaiter(O,void 0,void 0,(function(){return __generator(this,(function(e){t.stopPropagation();if(i){clearTimeout(i)}i=setTimeout((function(){b((function(){r.presentFromTrigger(t);i=undefined}))}),100);return[2]}))}))}},{eventName:"mouseleave",callback:function(t){if(i){clearTimeout(i)}var e=t.relatedTarget;if(!e){return}if(e.closest("ion-popover")!==r){r.dismiss(undefined,undefined,false)}}},{eventName:"click",callback:function(t){return t.stopPropagation()}},{eventName:"ionPopoverActivateTrigger",callback:function(t){return r.presentFromTrigger(t,true)}}];break;case"context-menu":o=[{eventName:"contextmenu",callback:function(t){t.preventDefault();r.presentFromTrigger(t)}},{eventName:"click",callback:function(t){return t.stopPropagation()}},{eventName:"ionPopoverActivateTrigger",callback:function(t){return r.presentFromTrigger(t,true)}}];break;case"click":default:o=[{eventName:"click",callback:function(t){return r.presentFromTrigger(t)}},{eventName:"ionPopoverActivateTrigger",callback:function(t){return r.presentFromTrigger(t,true)}}];break}o.forEach((function(e){var r=e.eventName,o=e.callback;return t.addEventListener(r,o)}));t.setAttribute("data-ion-popover-trigger","true");return function(){o.forEach((function(e){var r=e.eventName,o=e.callback;return t.removeEventListener(r,o)}));t.removeAttribute("data-ion-popover-trigger")}};var z=function(t,e){if(!e||e.tagName!=="ION-ITEM"){return-1}return t.findIndex((function(t){return t===e}))};var E=function(t,e){var r=z(t,e);return t[r+1]};var X=function(t,e){var r=z(t,e);return t[r-1]};var Y=function(t){var e=x(t);var r=e.querySelector("button");if(r){b((function(){return r.focus()}))}};var C=function(t){return t.hasAttribute("data-ion-popover-trigger")};var M=function(t){var e=function(e){return __awaiter(O,void 0,void 0,(function(){var r,o,i,n,a,s,p,f,c,v,u;return __generator(this,(function(d){switch(d.label){case 0:o=document.activeElement;i=[];n=(r=e.target)===null||r===void 0?void 0:r.tagName;if(n!=="ION-POPOVER"&&n!=="ION-ITEM"){return[2]}try{i=Array.from(t.querySelectorAll("ion-item:not(ion-popover ion-popover *):not([disabled])"))}catch(t){}a=e.key;switch(a){case"ArrowLeft":return[3,1];case"ArrowDown":return[3,3];case"ArrowUp":return[3,4];case"Home":return[3,5];case"End":return[3,6];case"ArrowRight":return[3,7];case" ":return[3,7];case"Enter":return[3,7]}return[3,8];case 1:return[4,t.getParentPopover()];case 2:s=d.sent();if(s){t.dismiss(undefined,undefined,false)}return[3,8];case 3:e.preventDefault();p=E(i,o);if(p!==undefined){Y(p)}return[3,8];case 4:e.preventDefault();f=X(i,o);if(f!==undefined){Y(f)}return[3,8];case 5:e.preventDefault();c=i[0];if(c!==undefined){Y(c)}return[3,8];case 6:e.preventDefault();v=i[i.length-1];if(v!==undefined){Y(v)}return[3,8];case 7:if(o&&C(o)){u=new CustomEvent("ionPopoverActivateTrigger");o.dispatchEvent(u)}return[3,8];case 8:return[2]}}))}))};t.addEventListener("keydown",e);return function(){return t.removeEventListener("keydown",e)}};var S=function(t,e,r,o,i,n,a,s,p,f,c){var v;var u={top:0,left:0,width:0,height:0};switch(n){case"event":if(!c){return p}var d=c;u={top:d.clientY,left:d.clientX,width:1,height:1};break;case"trigger":default:var h=c;var l=f||((v=h===null||h===void 0?void 0:h.detail)===null||v===void 0?void 0:v.ionShadowTarget)||(h===null||h===void 0?void 0:h.target);if(!l){return p}var g=l.getBoundingClientRect();u={top:g.top,left:g.left,width:g.width,height:g.height};break}var b=G(a,u,e,r,o,i,t);var x=U(s,a,u,e,r);var m=b.top+x.top;var w=b.left+x.left;var k=B(a,o,i,m,w,e,r,t),y=k.arrowTop,P=k.arrowLeft;var _=V(a,s,t),D=_.originX,T=_.originY;return{top:m,left:w,referenceCoordinates:u,arrowTop:y,arrowLeft:P,originX:D,originY:T}};var V=function(t,e,r){switch(t){case"top":return{originX:H(e),originY:"bottom"};case"bottom":return{originX:H(e),originY:"top"};case"left":return{originX:"right",originY:R(e)};case"right":return{originX:"left",originY:R(e)};case"start":return{originX:r?"left":"right",originY:R(e)};case"end":return{originX:r?"right":"left",originY:R(e)}}};var H=function(t){switch(t){case"start":return"left";case"center":return"center";case"end":return"right"}};var R=function(t){switch(t){case"start":return"top";case"center":return"center";case"end":return"bottom"}};var B=function(t,e,r,o,i,n,a,s){var p={arrowTop:o+a/2-e/2,arrowLeft:i+n-e/2};var f={arrowTop:o+a/2-e/2,arrowLeft:i-e*1.5};switch(t){case"top":return{arrowTop:o+a,arrowLeft:i+n/2-e/2};case"bottom":return{arrowTop:o-r,arrowLeft:i+n/2-e/2};case"left":return p;case"right":return f;case"start":return s?f:p;case"end":return s?p:f;default:return{arrowTop:0,arrowLeft:0}}};var G=function(t,e,r,o,i,n,a){var s={top:e.top,left:e.left-r-i};var p={top:e.top,left:e.left+e.width+i};switch(t){case"top":return{top:e.top-o-n,left:e.left};case"right":return p;case"bottom":return{top:e.top+e.height+n,left:e.left};case"left":return s;case"start":return a?p:s;case"end":return a?s:p}};var U=function(t,e,r,o,i){switch(t){case"center":return F(e,r,o,i);case"end":return q(e,r,o,i);case"start":default:return{top:0,left:0}}};var q=function(t,e,r,o){switch(t){case"start":case"end":case"left":case"right":return{top:-(o-e.height),left:0};case"top":case"bottom":default:return{top:0,left:-(r-e.width)}}};var F=function(t,e,r,o){switch(t){case"start":case"end":case"left":case"right":return{top:-(o/2-e.height/2),left:0};case"top":case"bottom":default:return{top:0,left:-(r/2-e.width/2)}}};var J=function(t,e,r,o,i,n,a,s,p,f,c,v,u,d,h){if(u===void 0){u=0}if(d===void 0){d=0}if(h===void 0){h=0}var l=u;var g=d;var b=r;var x=e;var m;var w=f;var k=c;var y=false;var P=false;var _=v?v.top+v.height:n/2-s/2;var D=v?v.height:0;var T=false;if(b<o+p){b=o;y=true;w="left"}else if(a+o+b+p>i){P=true;b=i-a-o;w="right"}if(_+D+s>n&&(t==="top"||t==="bottom")){if(_-s>0){x=Math.max(12,_-s-D-(h-1));l=x+s;k="bottom";T=true}else{m=o}}return{top:x,left:b,bottom:m,originX:w,originY:k,checkSafeAreaLeft:y,checkSafeAreaRight:P,arrowTop:l,arrowLeft:g,addPopoverBottomClass:T}};var K=function(t,e,r,o){if(e===void 0){e=false}if(!r&&!o){return false}if(t!=="top"&&t!=="bottom"&&e){return false}return true};var Q=5;var Z=function(t,e){var r;var o=e.event,i=e.size,n=e.trigger,a=e.reference,s=e.side,p=e.align;var f=t.ownerDocument;var c=f.dir==="rtl";var v=f.defaultView.innerWidth;var u=f.defaultView.innerHeight;var d=x(t);var h=d.querySelector(".popover-content");var l=d.querySelector(".popover-arrow");var g=n||((r=o===null||o===void 0?void 0:o.detail)===null||r===void 0?void 0:r.ionShadowTarget)||(o===null||o===void 0?void 0:o.target);var b=I(i,h,g),m=b.contentWidth,w=b.contentHeight;var k=A(l),y=k.arrowWidth,P=k.arrowHeight;var _={top:u/2-w/2,left:v/2-m/2,originX:c?"right":"left",originY:"top"};var D=S(c,m,w,y,P,a,s,p,_,n,o);var T=i==="cover"?0:Q;var j=i==="cover"?0:25;var O=J(s,D.top,D.left,T,v,u,m,w,j,D.originX,D.originY,D.referenceCoordinates,D.arrowTop,D.arrowLeft,P),W=O.originX,L=O.originY,z=O.top,E=O.left,X=O.bottom,Y=O.checkSafeAreaLeft,C=O.checkSafeAreaRight,M=O.arrowTop,V=O.arrowLeft,H=O.addPopoverBottomClass;var R=N();var B=N();var G=N();B.addElement(d.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]);G.addElement(d.querySelector(".popover-arrow")).addElement(d.querySelector(".popover-content")).fromTo("opacity",.01,1);return R.easing("ease").duration(100).beforeAddWrite((function(){if(i==="cover"){t.style.setProperty("--width","".concat(m,"px"))}if(H){t.classList.add("popover-bottom")}if(X!==undefined){h.style.setProperty("bottom","".concat(X,"px"))}var e=" + var(--ion-safe-area-left, 0)";var r=" - var(--ion-safe-area-right, 0)";var a="".concat(E,"px");if(Y){a="".concat(E,"px").concat(e)}if(C){a="".concat(E,"px").concat(r)}h.style.setProperty("top","calc(".concat(z,"px + var(--offset-y, 0))"));h.style.setProperty("left","calc(".concat(a," + var(--offset-x, 0))"));h.style.setProperty("transform-origin","".concat(L," ").concat(W));if(l!==null){var p=D.top!==z||D.left!==E;var f=K(s,p,o,n);if(f){l.style.setProperty("top","calc(".concat(M,"px + var(--offset-y, 0))"));l.style.setProperty("left","calc(".concat(V,"px + var(--offset-x, 0))"))}else{l.style.setProperty("display","none")}}})).addAnimation([B,G])};var $=function(t){var e=x(t);var r=e.querySelector(".popover-content");var o=e.querySelector(".popover-arrow");var i=N();var n=N();var a=N();n.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0);a.addElement(e.querySelector(".popover-arrow")).addElement(e.querySelector(".popover-content")).fromTo("opacity",.99,0);return i.easing("ease").afterAddWrite((function(){t.style.removeProperty("--width");t.classList.remove("popover-bottom");r.style.removeProperty("top");r.style.removeProperty("left");r.style.removeProperty("bottom");r.style.removeProperty("transform-origin");if(o){o.style.removeProperty("top");o.style.removeProperty("left");o.style.removeProperty("display")}})).duration(300).addAnimation([n,a])};var tt=12;var et=function(t,e){var r;var o=e.event,i=e.size,n=e.trigger,a=e.reference,s=e.side,p=e.align;var f=t.ownerDocument;var c=f.dir==="rtl";var v=f.defaultView.innerWidth;var u=f.defaultView.innerHeight;var d=x(t);var h=d.querySelector(".popover-content");var l=n||((r=o===null||o===void 0?void 0:o.detail)===null||r===void 0?void 0:r.ionShadowTarget)||(o===null||o===void 0?void 0:o.target);var g=I(i,h,l),b=g.contentWidth,m=g.contentHeight;var w={top:u/2-m/2,left:v/2-b/2,originX:c?"right":"left",originY:"top"};var k=S(c,b,m,0,0,a,s,p,w,n,o);var y=i==="cover"?0:tt;var P=J(s,k.top,k.left,y,v,u,b,m,0,k.originX,k.originY,k.referenceCoordinates),_=P.originX,D=P.originY,T=P.top,j=P.left,O=P.bottom;var A=N();var W=N();var L=N();var z=N();var E=N();W.addElement(d.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]);L.addElement(d.querySelector(".popover-wrapper")).duration(150).fromTo("opacity",.01,1);z.addElement(h).beforeStyles({top:"calc(".concat(T,"px + var(--offset-y, 0px))"),left:"calc(".concat(j,"px + var(--offset-x, 0px))"),"transform-origin":"".concat(D," ").concat(_)}).beforeAddWrite((function(){if(O!==undefined){h.style.setProperty("bottom","".concat(O,"px"))}})).fromTo("transform","scale(0.8)","scale(1)");E.addElement(d.querySelector(".popover-viewport")).fromTo("opacity",.01,1);return A.easing("cubic-bezier(0.36,0.66,0.04,1)").duration(300).beforeAddWrite((function(){if(i==="cover"){t.style.setProperty("--width","".concat(b,"px"))}if(D==="bottom"){t.classList.add("popover-bottom")}})).addAnimation([W,L,z,E])};var rt=function(t){var e=x(t);var r=e.querySelector(".popover-content");var o=N();var i=N();var n=N();i.addElement(e.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0);n.addElement(e.querySelector(".popover-wrapper")).fromTo("opacity",.99,0);return o.easing("ease").afterAddWrite((function(){t.style.removeProperty("--width");t.classList.remove("popover-bottom");r.style.removeProperty("top");r.style.removeProperty("left");r.style.removeProperty("bottom");r.style.removeProperty("transform-origin")})).duration(150).addAnimation([i,n])};var ot=':host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}::slotted(.popover-viewport){--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host{--width:200px;--max-height:90%;--box-shadow:none;--backdrop-opacity:var(--ion-backdrop-opacity, 0.08)}:host(.popover-desktop){--box-shadow:0px 4px 16px 0px rgba(0, 0, 0, 0.12)}.popover-content{border-radius:10px}:host(.popover-desktop) .popover-content{border:0.5px solid var(--ion-color-step-100, var(--ion-background-color-step-100, #e6e6e6))}.popover-arrow{display:block;position:absolute;width:20px;height:10px;overflow:hidden;z-index:11}.popover-arrow::after{top:3px;border-radius:3px;position:absolute;width:14px;height:14px;-webkit-transform:rotate(45deg);transform:rotate(45deg);background:var(--background);content:"";z-index:10}.popover-arrow::after{inset-inline-start:3px}:host(.popover-bottom) .popover-arrow{top:auto;bottom:-10px}:host(.popover-bottom) .popover-arrow::after{top:-6px}:host(.popover-side-left) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host(.popover-side-right) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host(.popover-side-top) .popover-arrow{-webkit-transform:rotate(180deg);transform:rotate(180deg)}:host(.popover-side-start) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}:host-context([dir=rtl]):host(.popover-side-start) .popover-arrow,:host-context([dir=rtl]).popover-side-start .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}@supports selector(:dir(rtl)){:host(.popover-side-start:dir(rtl)) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}}:host(.popover-side-end) .popover-arrow{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}:host-context([dir=rtl]):host(.popover-side-end) .popover-arrow,:host-context([dir=rtl]).popover-side-end .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}@supports selector(:dir(rtl)){:host(.popover-side-end:dir(rtl)) .popover-arrow{-webkit-transform:rotate(90deg);transform:rotate(90deg)}}.popover-arrow,.popover-content{opacity:0}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.popover-translucent) .popover-content,:host(.popover-translucent) .popover-arrow::after{background:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}';var it=ot;var nt=":host{--background:var(--ion-background-color, #fff);--min-width:0;--min-height:0;--max-width:auto;--height:auto;--offset-x:0px;--offset-y:0px;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);z-index:1001}:host(.popover-nested){pointer-events:none}:host(.popover-nested) .popover-wrapper{pointer-events:auto}:host(.overlay-hidden){display:none}.popover-wrapper{z-index:10}.popover-content{display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:column;flex-direction:column;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:auto;z-index:10}::slotted(.popover-viewport){--ion-safe-area-top:0px;--ion-safe-area-right:0px;--ion-safe-area-bottom:0px;--ion-safe-area-left:0px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host(.popover-nested.popover-side-left){--offset-x:5px}:host(.popover-nested.popover-side-right){--offset-x:-5px}:host(.popover-nested.popover-side-start){--offset-x:5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-start),:host-context([dir=rtl]).popover-nested.popover-side-start{--offset-x:-5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-start:dir(rtl)){--offset-x:-5px}}:host(.popover-nested.popover-side-end){--offset-x:-5px}:host-context([dir=rtl]):host(.popover-nested.popover-side-end),:host-context([dir=rtl]).popover-nested.popover-side-end{--offset-x:5px}@supports selector(:dir(rtl)){:host(.popover-nested.popover-side-end:dir(rtl)){--offset-x:5px}}:host{--width:250px;--max-height:90%;--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}.popover-content{border-radius:4px;-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]) .popover-content{-webkit-transform-origin:right top;transform-origin:right top}[dir=rtl] .popover-content{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){.popover-content:dir(rtl){-webkit-transform-origin:right top;transform-origin:right top}}.popover-viewport{-webkit-transition-delay:100ms;transition-delay:100ms}.popover-wrapper{opacity:0}";var at=nt;var st=t("ion_popover",function(){function t(t){var o=this;e(this,t);this.didPresent=r(this,"ionPopoverDidPresent",7);this.willPresent=r(this,"ionPopoverWillPresent",7);this.willDismiss=r(this,"ionPopoverWillDismiss",7);this.didDismiss=r(this,"ionPopoverDidDismiss",7);this.didPresentShorthand=r(this,"didPresent",7);this.willPresentShorthand=r(this,"willPresent",7);this.willDismissShorthand=r(this,"willDismiss",7);this.didDismissShorthand=r(this,"didDismiss",7);this.ionMount=r(this,"ionMount",7);this.parentPopover=null;this.coreDelegate=h();this.lockController=k();this.inline=false;this.focusDescendantOnPresent=false;this.onBackdropTap=function(){o.dismiss(undefined,a)};this.onLifecycle=function(t){var e=o.usersElement;var r=pt[t.type];if(e&&r){var i=new CustomEvent(r,{bubbles:false,cancelable:false,detail:t.detail});e.dispatchEvent(i)}};this.configureTriggerInteraction=function(){var t=o,e=t.trigger,r=t.triggerAction,i=t.el,n=t.destroyTriggerInteraction;if(n){n()}if(e===undefined){return}var a=o.triggerEl=e!==undefined?document.getElementById(e):null;if(!a){y('A trigger element with the ID "'.concat(e,'" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on ion-popover.'),o.el);return}o.destroyTriggerInteraction=L(a,r,i)};this.configureKeyboardInteraction=function(){var t=o,e=t.destroyKeyboardInteraction,r=t.el;if(e){e()}o.destroyKeyboardInteraction=M(r)};this.configureDismissInteraction=function(){var t=o,e=t.destroyDismissInteraction,r=t.parentPopover,i=t.triggerAction,n=t.triggerEl,a=t.el;if(!r||!n){return}if(e){e()}o.destroyDismissInteraction=W(n,i,a,r)};this.presented=false;this.hasController=false;this.delegate=undefined;this.overlayIndex=undefined;this.enterAnimation=undefined;this.leaveAnimation=undefined;this.component=undefined;this.componentProps=undefined;this.keyboardClose=true;this.cssClass=undefined;this.backdropDismiss=true;this.event=undefined;this.showBackdrop=true;this.translucent=false;this.animated=true;this.htmlAttributes=undefined;this.triggerAction="click";this.trigger=undefined;this.size="auto";this.dismissOnSelect=false;this.reference="trigger";this.side="bottom";this.alignment=undefined;this.arrow=true;this.isOpen=false;this.keyboardEvents=false;this.focusTrap=true;this.keepContentsMounted=false}t.prototype.onTriggerChange=function(){this.configureTriggerInteraction()};t.prototype.onIsOpenChange=function(t,e){if(t===true&&e===false){this.present()}else if(t===false&&e===true){this.dismiss()}};t.prototype.connectedCallback=function(){var t=this,e=t.configureTriggerInteraction,r=t.el;s(r);e()};t.prototype.disconnectedCallback=function(){var t=this.destroyTriggerInteraction;if(t){t()}};t.prototype.componentWillLoad=function(){var t,e;var r=this.el;var o=(e=(t=this.htmlAttributes)===null||t===void 0?void 0:t.id)!==null&&e!==void 0?e:p(r);this.parentPopover=r.closest("ion-popover:not(#".concat(o,")"));if(this.alignment===undefined){this.alignment=P(this)==="ios"?"center":"start"}};t.prototype.componentDidLoad=function(){var t=this;var e=this,r=e.parentPopover,o=e.isOpen;if(o===true){b((function(){return t.present()}))}if(r){m(r,"ionPopoverWillDismiss",(function(){t.dismiss(undefined,undefined,false)}))}this.configureTriggerInteraction()};t.prototype.presentFromTrigger=function(t){return __awaiter(this,arguments,void 0,(function(t,e){if(e===void 0){e=false}return __generator(this,(function(r){switch(r.label){case 0:this.focusDescendantOnPresent=e;return[4,this.present(t)];case 1:r.sent();this.focusDescendantOnPresent=false;return[2]}}))}))};t.prototype.getDelegate=function(t){if(t===void 0){t=false}if(this.workingDelegate&&!t){return{delegate:this.workingDelegate,inline:this.inline}}var e=this.el.parentNode;var r=this.inline=e!==null&&!this.hasController;var o=this.workingDelegate=r?this.delegate||this.coreDelegate:this.delegate;return{inline:r,delegate:o}};t.prototype.present=function(t){return __awaiter(this,void 0,void 0,(function(){var e,r,o,i,n,a;return __generator(this,(function(s){switch(s.label){case 0:return[4,this.lockController.lock()];case 1:e=s.sent();if(this.presented){e();return[2]}r=this.el;o=this.getDelegate(true),i=o.inline,n=o.delegate;this.ionMount.emit();a=this;return[4,l(n,r,this.component,["popover-viewport"],this.componentProps,i)];case 2:a.usersElement=s.sent();if(!this.keyboardEvents){this.configureKeyboardInteraction()}this.configureDismissInteraction();if(!w(r))return[3,4];return[4,T(this.usersElement)];case 3:s.sent();return[3,6];case 4:if(!!this.keepContentsMounted)return[3,6];return[4,j()];case 5:s.sent();s.label=6;case 6:return[4,f(this,"popoverEnter",Z,et,{event:t||this.event,size:this.size,trigger:this.triggerEl,reference:this.reference,side:this.side,align:this.alignment})];case 7:s.sent();if(this.focusDescendantOnPresent){c(r)}e();return[2]}}))}))};t.prototype.dismiss=function(t,e){return __awaiter(this,arguments,void 0,(function(t,e,r){var o,i,n,a,s,p;if(r===void 0){r=true}return __generator(this,(function(f){switch(f.label){case 0:return[4,this.lockController.lock()];case 1:o=f.sent();i=this,n=i.destroyKeyboardInteraction,a=i.destroyDismissInteraction;if(r&&this.parentPopover){this.parentPopover.dismiss(t,e,r)}return[4,v(this,t,e,"popoverLeave",$,rt,this.event)];case 2:s=f.sent();if(!s)return[3,4];if(n){n();this.destroyKeyboardInteraction=undefined}if(a){a();this.destroyDismissInteraction=undefined}p=this.getDelegate().delegate;return[4,g(p,this.usersElement)];case 3:f.sent();f.label=4;case 4:o();return[2,s]}}))}))};t.prototype.getParentPopover=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.parentPopover]}))}))};t.prototype.onDidDismiss=function(){return u(this.el,"ionPopoverDidDismiss")};t.prototype.onWillDismiss=function(){return u(this.el,"ionPopoverWillDismiss")};t.prototype.render=function(){var t;var e=this;var r=P(this);var n=this,a=n.onLifecycle,s=n.parentPopover,p=n.dismissOnSelect,f=n.side,c=n.arrow,v=n.htmlAttributes,u=n.focusTrap;var h=_("desktop");var l=c&&!s;return o(i,Object.assign({key:"ffe8b37c9ffb5cac210a7307e6cdfcf78712905b","aria-modal":"true","no-router":true,tabindex:"-1"},v,{style:{zIndex:"".concat(2e4+this.overlayIndex)},class:Object.assign(Object.assign({},D(this.cssClass)),(t={},t[r]=true,t["popover-translucent"]=this.translucent,t["overlay-hidden"]=true,t["popover-desktop"]=h,t["popover-side-".concat(f)]=true,t[d]=u===false,t["popover-nested"]=!!s,t)),onIonPopoverDidPresent:a,onIonPopoverWillPresent:a,onIonPopoverWillDismiss:a,onIonPopoverDidDismiss:a,onIonBackdropTap:this.onBackdropTap}),!s&&o("ion-backdrop",{key:"12b3ffa3928b4d56a4f09c3d2f5d493d47b45255",tappable:this.backdropDismiss,visible:this.showBackdrop,part:"backdrop"}),o("div",{key:"2c2862d5c7e75b637973c712b4982bf4978c0cdf",class:"popover-wrapper ion-overlay-wrapper",onClick:p?function(){return e.dismiss()}:undefined},l&&o("div",{key:"0cfacc52afaa7abc28c1b7742889d7a1c23a37ad",class:"popover-arrow",part:"arrow"}),o("div",{key:"3ef570c44d4fe7f063dd419008c92c8c40d3cd22",class:"popover-content",part:"content"},o("slot",{key:"6fc5dfdce20fee1642bc1f05d41b5bf7d1034457"}))))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{trigger:["onTriggerChange"],triggerAction:["onTriggerChange"],isOpen:["onIsOpenChange"]}},enumerable:false,configurable:true});return t}());var pt={ionPopoverDidPresent:"ionViewDidEnter",ionPopoverWillPresent:"ionViewWillEnter",ionPopoverWillDismiss:"ionViewWillLeave",ionPopoverDidDismiss:"ionViewDidLeave"};st.style={ios:it,md:at}}}}));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
const o="ion-focused",t=["Tab","ArrowDown","Space","Escape"," ","Shift","Enter","ArrowLeft","ArrowRight","ArrowUp","Home","End"],e=e=>{let s=[],n=!0;const c=e?e.shadowRoot:document,u=e||document.body,r=t=>{s.forEach((t=>t.classList.remove(o))),t.forEach((t=>t.classList.add(o))),s=t},d=()=>{n=!1,r([])},f=o=>{n=t.includes(o.key),n||r([])},i=o=>{if(n&&void 0!==o.composedPath){const t=o.composedPath().filter((o=>!!o.classList&&o.classList.contains("ion-focusable")));r(t)}},w=()=>{c.activeElement===u&&r([])};return c.addEventListener("keydown",f),c.addEventListener("focusin",i),c.addEventListener("focusout",w),c.addEventListener("touchstart",d,{passive:!0}),c.addEventListener("mousedown",d),{destroy:()=>{c.removeEventListener("keydown",f),c.removeEventListener("focusin",i),c.removeEventListener("focusout",w),c.removeEventListener("touchstart",d),c.removeEventListener("mousedown",d)},setFocus:r}};export{e as startFocusVisible}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import{p as e}from"./p-3ca5196c.js";const t=(e,t)=>e.month===t.month&&e.day===t.day&&e.year===t.year,n=(e,t)=>!!(e.year<t.year||e.year===t.year&&e.month<t.month||e.year===t.year&&e.month===t.month&&null!==e.day&&e.day<t.day),o=(e,t)=>!!(e.year>t.year||e.year===t.year&&e.month>t.month||e.year===t.year&&e.month===t.month&&null!==e.day&&e.day>t.day),r=(t,r,a)=>{const i=Array.isArray(t)?t:[t];for(const d of i)if(void 0!==r&&n(d,r)||void 0!==a&&o(d,a)){e(`The value provided to ion-datetime is out of bounds.\n\nMin: ${JSON.stringify(r)}\nMax: ${JSON.stringify(a)}\nValue: ${JSON.stringify(t)}`);break}},a=(e,t)=>{if(void 0!==t)return t;const n=new Intl.DateTimeFormat(e,{hour:"numeric"}),o=n.resolvedOptions();if(void 0!==o.hourCycle)return o.hourCycle;const r=new Date("5/18/2021 00:00"),a=n.formatToParts(r).find((e=>"hour"===e.type));if(!a)throw new Error("Hour value not found from DateTimeFormat");switch(a.value){case"0":return"h11";case"12":return"h12";case"00":return"h23";case"24":return"h24";default:throw new Error(`Invalid hour cycle "${t}"`)}},i=e=>"h23"===e||"h24"===e,d=(e,t)=>4===e||6===e||9===e||11===e?30:2===e?(e=>e%4==0&&e%100!=0||e%400==0)(t)?29:28:31,u=(e,t={month:"numeric",year:"numeric"})=>"month"===new Intl.DateTimeFormat(e,t).formatToParts(new Date)[0].type,l=e=>"dayPeriod"===new Intl.DateTimeFormat(e,{hour:"numeric"}).formatToParts(new Date)[0].type,s=/^(\d{4}|[+\-]\d{6})(?:-(\d{2})(?:-(\d{2}))?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/,c=/^((\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/,v=e=>{if(void 0===e)return;let t,n=e;return"string"==typeof e&&(n=e.replace(/\[|\]|\s/g,"").split(",")),t=Array.isArray(n)?n.map((e=>parseInt(e,10))).filter(isFinite):[n],t},m=e=>({month:parseInt(e.getAttribute("data-month"),10),day:parseInt(e.getAttribute("data-day"),10),year:parseInt(e.getAttribute("data-year"),10),dayOfWeek:parseInt(e.getAttribute("data-day-of-week"),10)});function y(t){if(Array.isArray(t)){const e=[];for(const n of t){const t=y(n);if(!t)return;e.push(t)}return e}let n=null;if(null!=t&&""!==t&&(n=c.exec(t),n?(n.unshift(void 0,void 0),n[2]=n[3]=void 0):n=s.exec(t)),null!==n){for(let e=1;e<8;e++)n[e]=void 0!==n[e]?parseInt(n[e],10):void 0;return{year:n[1],month:n[2],day:n[3],hour:n[4],minute:n[5],ampm:n[4]<12?"am":"pm"}}e(`Unable to parse date string: ${t}. Please provide a valid ISO 8601 datetime string.`)}const h=(e,t,r)=>t&&n(e,t)?t:r&&o(e,r)?r:e,f=e=>e>=12?"pm":"am",w=(e,t)=>{const n=y(e);if(void 0===n)return;const{month:o,day:r,year:a,hour:i,minute:u}=n,l=null!=a?a:t.year,s=null!=o?o:12;return{month:s,day:null!=r?r:d(s,l),year:l,hour:null!=i?i:23,minute:null!=u?u:59}},O=(e,t)=>{const n=y(e);if(void 0===n)return;const{month:o,day:r,year:a,hour:i,minute:d}=n;return{month:null!=o?o:1,day:null!=r?r:1,year:null!=a?a:t.year,hour:null!=i?i:0,minute:null!=d?d:0}},$=e=>("0"+(void 0!==e?Math.abs(e):"0")).slice(-2);function p(e){if(Array.isArray(e))return e.map((e=>p(e)));let t="";var n;return void 0!==e.year?(t=("000"+(void 0!==(n=e.year)?Math.abs(n):"0")).slice(-4),void 0!==e.month&&(t+="-"+$(e.month),void 0!==e.day&&(t+="-"+$(e.day),void 0!==e.hour&&(t+=`T${$(e.hour)}:${$(e.minute)}:00`)))):void 0!==e.hour&&(t=$(e.hour)+":"+$(e.minute)),t}const b=(e,t)=>void 0===t?e:"am"===t?12===e?0:e:12===e?12:e+12,I=e=>{const{dayOfWeek:t}=e;if(null==t)throw new Error("No day of week provided");return M(e,t)},j=e=>{const{dayOfWeek:t}=e;if(null==t)throw new Error("No day of week provided");return Z(e,6-t)},T=e=>Z(e,1),D=e=>M(e,1),k=e=>M(e,7),x=e=>Z(e,7),M=(e,t)=>{const{month:n,day:o,year:r}=e;if(null===o)throw new Error("No day provided");const a={month:n,day:o,year:r};if(a.day=o-t,a.day<1&&(a.month-=1),a.month<1&&(a.month=12,a.year-=1),a.day<1){const e=d(a.month,a.year);a.day=e+a.day}return a},Z=(e,t)=>{const{month:n,day:o,year:r}=e;if(null===o)throw new Error("No day provided");const a={month:n,day:o,year:r},i=d(n,r);return a.day=o+t,a.day>i&&(a.day-=i,a.month+=1),a.month>12&&(a.month=1,a.year+=1),a},C=e=>{const t=1===e.month?12:e.month-1,n=1===e.month?e.year-1:e.year,o=d(t,n);return{month:t,year:n,day:o<e.day?o:e.day}},U=e=>{const t=12===e.month?1:e.month+1,n=12===e.month?e.year+1:e.year,o=d(t,n);return{month:t,year:n,day:o<e.day?o:e.day}},g=(e,t)=>{const n=e.month,o=e.year+t,r=d(n,o);return{month:n,year:o,day:r<e.day?r:e.day}},E=e=>g(e,-1),N=e=>g(e,1),P=(e,t,n)=>t?e:b(e,n),A=(e,t)=>{const{ampm:n,hour:o}=e;let r=o;return"am"===n&&"pm"===t?r=b(r,"pm"):"pm"===n&&"am"===t&&(r=Math.abs(r-12)),r},G=(e,n,o)=>{const{month:r,day:a,year:i}=e,u=h(Object.assign({},e),n,o),l=d(r,i);return null!==a&&l<a&&(u.day=l),void 0!==n&&t(u,n)&&void 0!==u.hour&&void 0!==n.hour&&(u.hour<n.hour?(u.hour=n.hour,u.minute=n.minute):u.hour===n.hour&&void 0!==u.minute&&void 0!==n.minute&&u.minute<n.minute&&(u.minute=n.minute)),void 0!==o&&t(e,o)&&void 0!==u.hour&&void 0!==o.hour&&(u.hour>o.hour?(u.hour=o.hour,u.minute=o.minute):u.hour===o.hour&&void 0!==u.minute&&void 0!==o.minute&&u.minute>o.minute&&(u.minute=o.minute)),u},V=({refParts:e,monthValues:r,dayValues:a,yearValues:i,hourValues:d,minuteValues:u,minParts:l,maxParts:s})=>{const{hour:c,minute:v,day:m,month:y,year:h}=e,w=Object.assign(Object.assign({},e),{dayOfWeek:void 0});if(void 0!==i){const e=i.filter((e=>!(void 0!==l&&e<l.year||void 0!==s&&e>s.year)));w.year=W(h,e)}if(void 0!==r){const e=r.filter((e=>!(void 0!==l&&w.year===l.year&&e<l.month||void 0!==s&&w.year===s.year&&e>s.month)));w.month=W(y,e)}if(null!==m&&void 0!==a){const e=a.filter((e=>!(void 0!==l&&n(Object.assign(Object.assign({},w),{day:e}),l)||void 0!==s&&o(Object.assign(Object.assign({},w),{day:e}),s))));w.day=W(m,e)}if(void 0!==c&&void 0!==d){const e=d.filter((e=>!(void 0!==(null==l?void 0:l.hour)&&t(w,l)&&e<l.hour||void 0!==(null==s?void 0:s.hour)&&t(w,s)&&e>s.hour)));w.hour=W(c,e),w.ampm=f(w.hour)}if(void 0!==v&&void 0!==u){const e=u.filter((e=>!(void 0!==(null==l?void 0:l.minute)&&t(w,l)&&w.hour===l.hour&&e<l.minute||void 0!==(null==s?void 0:s.minute)&&t(w,s)&&w.hour===s.hour&&e>s.minute)));w.minute=W(v,e)}return w},W=(e,t)=>{let n=t[0],o=Math.abs(n-e);for(let r=1;r<t.length;r++){const a=t[r],i=Math.abs(a-e);i<o&&(n=a,o=i)}return n},F=e=>Object.assign(Object.assign({},e),{timeZone:"UTC",timeZoneName:void 0}),J=(e,t,n,o={hour:"numeric",minute:"numeric"})=>{const r={hour:t.hour,minute:t.minute};return void 0===r.hour||void 0===r.minute?"Invalid Time":new Intl.DateTimeFormat(e,Object.assign(Object.assign({},F(o)),{hourCycle:n})).format(new Date(p(Object.assign({year:2023,day:1,month:1},r))+"Z"))},S=e=>{const t=e.toString();return t.length>1?t:`0${t}`},H=(e,t)=>{if(0===e)switch(t){case"h11":return"0";case"h12":return"12";case"h23":return"00";case"h24":return"24";default:throw new Error(`Invalid hour cycle "${t}"`)}return i(t)?S(e):e.toString()},R=(e,t,n)=>{if(null===n.day)return null;const o=K(n),r=new Intl.DateTimeFormat(e,{weekday:"long",month:"long",day:"numeric",timeZone:"UTC"}).format(o);return t?`Today, ${r}`:r},q=(e,t)=>{const n=K(t);return new Intl.DateTimeFormat(e,{month:"long",year:"numeric",timeZone:"UTC"}).format(n)},z=(e,t)=>Q(e,t,{day:"numeric"}).find((e=>"day"===e.type)).value,B=(e,t)=>L(e,t,{year:"numeric"}),K=e=>{var t,n,o;return new Date(`${null!==(t=e.month)&&void 0!==t?t:1}/${null!==(n=e.day)&&void 0!==n?n:1}/${null!==(o=e.year)&&void 0!==o?o:2023}${void 0!==e.hour&&void 0!==e.minute?` ${e.hour}:${e.minute}`:""} GMT+0000`)},L=(e,t,n)=>{const o=K(t);return X(e,F(n)).format(o)},Q=(e,t,n)=>{const o=K(t);return X(e,n).formatToParts(o)},X=(e,t)=>new Intl.DateTimeFormat(e,Object.assign(Object.assign({},t),{timeZone:"UTC"})),Y=e=>{if("RelativeTimeFormat"in Intl){const t=new Intl.RelativeTimeFormat(e,{numeric:"auto"}).format(0,"day");return t.charAt(0).toUpperCase()+t.slice(1)}return"Today"},_=e=>{const t=e.getTimezoneOffset();return e.setMinutes(e.getMinutes()-t),e},ee=_(new Date("2022T01:00")),te=_(new Date("2022T13:00")),ne=(e,t)=>{const n="am"===t?ee:te,o=new Intl.DateTimeFormat(e,{hour:"numeric",timeZone:"UTC"}).formatToParts(n).find((e=>"dayPeriod"===e.type));return o?o.value:(e=>void 0===e?"":e.toUpperCase())(t)},oe=e=>Array.isArray(e)?e.join(","):e,re=()=>_(new Date).toISOString(),ae=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59],ie=[0,1,2,3,4,5,6,7,8,9,10,11],de=[0,1,2,3,4,5,6,7,8,9,10,11],ue=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23],le=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,0],se=(e,t,n=0)=>{const o=new Intl.DateTimeFormat(e,{weekday:"ios"===t?"short":"narrow"}),r=new Date("11/01/2020"),a=[];for(let e=n;e<n+7;e++){const t=new Date(r);t.setDate(t.getDate()+e),a.push(o.format(t))}return a},ce=(e,t,n)=>{const o=d(e,t),r=new Date(`${e}/1/${t}`).getDay(),a=r>=n?r-(n+1):6-(n-r);let i=[];for(let e=1;e<=o;e++)i.push({day:e,dayOfWeek:(a+e)%7});for(let e=0;e<=a;e++)i=[{day:null,dayOfWeek:null},...i];return i},ve=(e,r,d="h12",u,l,s,c)=>{const v=a(e,d),m=i(v);let y=(e=>{switch(e){case"h11":return ie;case"h12":return de;case"h23":return ue;case"h24":return le;default:throw new Error(`Invalid hour cycle "${e}"`)}})(v),h=ae,f=!0,w=!0;if(s&&(y=y.filter((e=>s.includes(e)))),c&&(h=h.filter((e=>c.includes(e)))),u)if(t(r,u)){if(void 0!==u.hour&&(y=y.filter((e=>(m?e:"pm"===r.ampm?(e+12)%24:e)>=u.hour)),f=u.hour<13),void 0!==u.minute){let e=!1;void 0!==u.hour&&void 0!==r.hour&&r.hour>u.hour&&(e=!0),h=h.filter((t=>!!e||t>=u.minute))}}else n(r,u)&&(y=[],h=[],f=w=!1);return l&&(t(r,l)?(void 0!==l.hour&&(y=y.filter((e=>(m?e:"pm"===r.ampm?(e+12)%24:e)<=l.hour)),w=l.hour>=12),void 0!==l.minute&&r.hour===l.hour&&(h=h.filter((e=>e<=l.minute)))):o(r,l)&&(y=[],h=[],f=w=!1)),{hours:y,minutes:h,am:f,pm:w}},me=(e,t)=>{const o={month:e.month,year:e.year,day:e.day};if(void 0!==t&&(e.month!==t.month||e.year!==t.year)){const r={month:t.month,year:t.year,day:t.day};return n(r,o)?[r,o,U(e)]:[C(e),o,r]}return[C(e),o,U(e)]},ye=(e,t,n,o,r,a={month:"long"})=>{const{year:i}=t,d=[];if(void 0!==r){let t=r;void 0!==(null==o?void 0:o.month)&&(t=t.filter((e=>e<=o.month))),void 0!==(null==n?void 0:n.month)&&(t=t.filter((e=>e>=n.month))),t.forEach((t=>{const n=new Date(`${t}/1/${i} GMT+0000`),o=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},a),{timeZone:"UTC"})).format(n);d.push({text:o,value:t})}))}else{const t=o&&o.year===i?o.month:12;for(let o=n&&n.year===i?n.month:1;o<=t;o++){const t=new Date(`${o}/1/${i} GMT+0000`),n=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},a),{timeZone:"UTC"})).format(t);d.push({text:n,value:o})}}return d},he=(e,t,n,o,r,a={day:"numeric"})=>{const{month:i,year:u}=t,l=[],s=d(i,u),c=null!=(null==o?void 0:o.day)&&o.year===u&&o.month===i?o.day:s,v=null!=(null==n?void 0:n.day)&&n.year===u&&n.month===i?n.day:1;if(void 0!==r){let t=r;t=t.filter((e=>e>=v&&e<=c)),t.forEach((t=>{const n=new Date(`${i}/${t}/${u} GMT+0000`),o=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},a),{timeZone:"UTC"})).format(n);l.push({text:o,value:t})}))}else for(let t=v;t<=c;t++){const n=new Date(`${i}/${t}/${u} GMT+0000`),o=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},a),{timeZone:"UTC"})).format(n);l.push({text:o,value:t})}return l},fe=(e,t,n,o,r)=>{var a,i;let d=[];if(void 0!==r)d=r,void 0!==(null==o?void 0:o.year)&&(d=d.filter((e=>e<=o.year))),void 0!==(null==n?void 0:n.year)&&(d=d.filter((e=>e>=n.year)));else{const{year:e}=t,r=null!==(a=null==o?void 0:o.year)&&void 0!==a?a:e;for(let t=null!==(i=null==n?void 0:n.year)&&void 0!==i?i:e-100;t<=r;t++)d.push(t)}return d.map((n=>({text:B(e,{year:n,month:t.month,day:t.day}),value:n})))},we=(e,t)=>e.month===t.month&&e.year===t.year?[e]:[e,...we(U(e),t)],Oe=(e,n,o,r,a,i)=>{let d=[],u=[],l=we(o,r);return i&&(l=l.filter((({month:e})=>i.includes(e)))),l.forEach((i=>{const l={month:i.month,day:null,year:i.year},s=he(e,l,o,r,a,{month:"short",day:"numeric",weekday:"short"}),c=[],v=[];s.forEach((o=>{const r=t(Object.assign(Object.assign({},l),{day:o.value}),n);v.push({text:r?Y(e):o.text,value:`${l.year}-${l.month}-${o.value}`}),c.push({month:l.month,year:l.year,day:o.value})})),u=[...u,...c],d=[...d,...v]})),{parts:u,items:d}},$e=(e,t,n,o,r,d,u)=>{const l=a(e,n),s=i(l),{hours:c,minutes:v,am:m,pm:y}=ve(e,t,l,o,r,d,u),h=c.map((e=>({text:H(e,l),value:P(e,s,t.ampm)}))),f=v.map((e=>({text:S(e),value:e}))),w=[];return m&&!s&&w.push({text:ne(e,"am"),value:"am"}),y&&!s&&w.push({text:ne(e,"pm"),value:"pm"}),{minutesData:f,hoursData:h,dayPeriodData:w}};export{d as A,Oe as B,ye as C,he as D,fe as E,u as F,$e as G,l as H,se as I,q as J,ce as K,a as L,J as M,L as N,oe as O,h as P,f as Q,A as R,z as a,o as b,t as c,C as d,U as e,m as f,R as g,N as h,n as i,E as j,j as k,I as l,D as m,T as n,k as o,x as p,O as q,w as r,y as s,v as t,p as u,G as v,r as w,re as x,V as y,me as z}
|
|
4
|
+
import{p as e}from"./p-06fee233.js";const t=(e,t)=>e.month===t.month&&e.day===t.day&&e.year===t.year,n=(e,t)=>!!(e.year<t.year||e.year===t.year&&e.month<t.month||e.year===t.year&&e.month===t.month&&null!==e.day&&e.day<t.day),o=(e,t)=>!!(e.year>t.year||e.year===t.year&&e.month>t.month||e.year===t.year&&e.month===t.month&&null!==e.day&&e.day>t.day),r=(t,r,a)=>{const i=Array.isArray(t)?t:[t];for(const d of i)if(void 0!==r&&n(d,r)||void 0!==a&&o(d,a)){e(`The value provided to ion-datetime is out of bounds.\n\nMin: ${JSON.stringify(r)}\nMax: ${JSON.stringify(a)}\nValue: ${JSON.stringify(t)}`);break}},a=(e,t)=>{if(void 0!==t)return t;const n=new Intl.DateTimeFormat(e,{hour:"numeric"}),o=n.resolvedOptions();if(void 0!==o.hourCycle)return o.hourCycle;const r=new Date("5/18/2021 00:00"),a=n.formatToParts(r).find((e=>"hour"===e.type));if(!a)throw new Error("Hour value not found from DateTimeFormat");switch(a.value){case"0":return"h11";case"12":return"h12";case"00":return"h23";case"24":return"h24";default:throw new Error(`Invalid hour cycle "${t}"`)}},i=e=>"h23"===e||"h24"===e,d=(e,t)=>4===e||6===e||9===e||11===e?30:2===e?(e=>e%4==0&&e%100!=0||e%400==0)(t)?29:28:31,u=(e,t={month:"numeric",year:"numeric"})=>"month"===new Intl.DateTimeFormat(e,t).formatToParts(new Date)[0].type,l=e=>"dayPeriod"===new Intl.DateTimeFormat(e,{hour:"numeric"}).formatToParts(new Date)[0].type,s=/^(\d{4}|[+\-]\d{6})(?:-(\d{2})(?:-(\d{2}))?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/,c=/^((\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{3}))?)?(?:(Z)|([+\-])(\d{2})(?::(\d{2}))?)?)?$/,v=e=>{if(void 0===e)return;let t,n=e;return"string"==typeof e&&(n=e.replace(/\[|\]|\s/g,"").split(",")),t=Array.isArray(n)?n.map((e=>parseInt(e,10))).filter(isFinite):[n],t},m=e=>({month:parseInt(e.getAttribute("data-month"),10),day:parseInt(e.getAttribute("data-day"),10),year:parseInt(e.getAttribute("data-year"),10),dayOfWeek:parseInt(e.getAttribute("data-day-of-week"),10)});function y(t){if(Array.isArray(t)){const e=[];for(const n of t){const t=y(n);if(!t)return;e.push(t)}return e}let n=null;if(null!=t&&""!==t&&(n=c.exec(t),n?(n.unshift(void 0,void 0),n[2]=n[3]=void 0):n=s.exec(t)),null!==n){for(let e=1;e<8;e++)n[e]=void 0!==n[e]?parseInt(n[e],10):void 0;return{year:n[1],month:n[2],day:n[3],hour:n[4],minute:n[5],ampm:n[4]<12?"am":"pm"}}e(`Unable to parse date string: ${t}. Please provide a valid ISO 8601 datetime string.`)}const h=(e,t,r)=>t&&n(e,t)?t:r&&o(e,r)?r:e,f=e=>e>=12?"pm":"am",w=(e,t)=>{const n=y(e);if(void 0===n)return;const{month:o,day:r,year:a,hour:i,minute:u}=n,l=null!=a?a:t.year,s=null!=o?o:12;return{month:s,day:null!=r?r:d(s,l),year:l,hour:null!=i?i:23,minute:null!=u?u:59}},O=(e,t)=>{const n=y(e);if(void 0===n)return;const{month:o,day:r,year:a,hour:i,minute:d}=n;return{month:null!=o?o:1,day:null!=r?r:1,year:null!=a?a:t.year,hour:null!=i?i:0,minute:null!=d?d:0}},$=e=>("0"+(void 0!==e?Math.abs(e):"0")).slice(-2);function p(e){if(Array.isArray(e))return e.map((e=>p(e)));let t="";var n;return void 0!==e.year?(t=("000"+(void 0!==(n=e.year)?Math.abs(n):"0")).slice(-4),void 0!==e.month&&(t+="-"+$(e.month),void 0!==e.day&&(t+="-"+$(e.day),void 0!==e.hour&&(t+=`T${$(e.hour)}:${$(e.minute)}:00`)))):void 0!==e.hour&&(t=$(e.hour)+":"+$(e.minute)),t}const b=(e,t)=>void 0===t?e:"am"===t?12===e?0:e:12===e?12:e+12,I=e=>{const{dayOfWeek:t}=e;if(null==t)throw new Error("No day of week provided");return M(e,t)},j=e=>{const{dayOfWeek:t}=e;if(null==t)throw new Error("No day of week provided");return Z(e,6-t)},T=e=>Z(e,1),D=e=>M(e,1),k=e=>M(e,7),x=e=>Z(e,7),M=(e,t)=>{const{month:n,day:o,year:r}=e;if(null===o)throw new Error("No day provided");const a={month:n,day:o,year:r};if(a.day=o-t,a.day<1&&(a.month-=1),a.month<1&&(a.month=12,a.year-=1),a.day<1){const e=d(a.month,a.year);a.day=e+a.day}return a},Z=(e,t)=>{const{month:n,day:o,year:r}=e;if(null===o)throw new Error("No day provided");const a={month:n,day:o,year:r},i=d(n,r);return a.day=o+t,a.day>i&&(a.day-=i,a.month+=1),a.month>12&&(a.month=1,a.year+=1),a},C=e=>{const t=1===e.month?12:e.month-1,n=1===e.month?e.year-1:e.year,o=d(t,n);return{month:t,year:n,day:o<e.day?o:e.day}},U=e=>{const t=12===e.month?1:e.month+1,n=12===e.month?e.year+1:e.year,o=d(t,n);return{month:t,year:n,day:o<e.day?o:e.day}},g=(e,t)=>{const n=e.month,o=e.year+t,r=d(n,o);return{month:n,year:o,day:r<e.day?r:e.day}},E=e=>g(e,-1),N=e=>g(e,1),P=(e,t,n)=>t?e:b(e,n),A=(e,t)=>{const{ampm:n,hour:o}=e;let r=o;return"am"===n&&"pm"===t?r=b(r,"pm"):"pm"===n&&"am"===t&&(r=Math.abs(r-12)),r},G=(e,n,o)=>{const{month:r,day:a,year:i}=e,u=h(Object.assign({},e),n,o),l=d(r,i);return null!==a&&l<a&&(u.day=l),void 0!==n&&t(u,n)&&void 0!==u.hour&&void 0!==n.hour&&(u.hour<n.hour?(u.hour=n.hour,u.minute=n.minute):u.hour===n.hour&&void 0!==u.minute&&void 0!==n.minute&&u.minute<n.minute&&(u.minute=n.minute)),void 0!==o&&t(e,o)&&void 0!==u.hour&&void 0!==o.hour&&(u.hour>o.hour?(u.hour=o.hour,u.minute=o.minute):u.hour===o.hour&&void 0!==u.minute&&void 0!==o.minute&&u.minute>o.minute&&(u.minute=o.minute)),u},V=({refParts:e,monthValues:r,dayValues:a,yearValues:i,hourValues:d,minuteValues:u,minParts:l,maxParts:s})=>{const{hour:c,minute:v,day:m,month:y,year:h}=e,w=Object.assign(Object.assign({},e),{dayOfWeek:void 0});if(void 0!==i){const e=i.filter((e=>!(void 0!==l&&e<l.year||void 0!==s&&e>s.year)));w.year=W(h,e)}if(void 0!==r){const e=r.filter((e=>!(void 0!==l&&w.year===l.year&&e<l.month||void 0!==s&&w.year===s.year&&e>s.month)));w.month=W(y,e)}if(null!==m&&void 0!==a){const e=a.filter((e=>!(void 0!==l&&n(Object.assign(Object.assign({},w),{day:e}),l)||void 0!==s&&o(Object.assign(Object.assign({},w),{day:e}),s))));w.day=W(m,e)}if(void 0!==c&&void 0!==d){const e=d.filter((e=>!(void 0!==(null==l?void 0:l.hour)&&t(w,l)&&e<l.hour||void 0!==(null==s?void 0:s.hour)&&t(w,s)&&e>s.hour)));w.hour=W(c,e),w.ampm=f(w.hour)}if(void 0!==v&&void 0!==u){const e=u.filter((e=>!(void 0!==(null==l?void 0:l.minute)&&t(w,l)&&w.hour===l.hour&&e<l.minute||void 0!==(null==s?void 0:s.minute)&&t(w,s)&&w.hour===s.hour&&e>s.minute)));w.minute=W(v,e)}return w},W=(e,t)=>{let n=t[0],o=Math.abs(n-e);for(let r=1;r<t.length;r++){const a=t[r],i=Math.abs(a-e);i<o&&(n=a,o=i)}return n},F=e=>Object.assign(Object.assign({},e),{timeZone:"UTC",timeZoneName:void 0}),J=(e,t,n,o={hour:"numeric",minute:"numeric"})=>{const r={hour:t.hour,minute:t.minute};return void 0===r.hour||void 0===r.minute?"Invalid Time":new Intl.DateTimeFormat(e,Object.assign(Object.assign({},F(o)),{hourCycle:n})).format(new Date(p(Object.assign({year:2023,day:1,month:1},r))+"Z"))},S=e=>{const t=e.toString();return t.length>1?t:`0${t}`},H=(e,t)=>{if(0===e)switch(t){case"h11":return"0";case"h12":return"12";case"h23":return"00";case"h24":return"24";default:throw new Error(`Invalid hour cycle "${t}"`)}return i(t)?S(e):e.toString()},R=(e,t,n)=>{if(null===n.day)return null;const o=K(n),r=new Intl.DateTimeFormat(e,{weekday:"long",month:"long",day:"numeric",timeZone:"UTC"}).format(o);return t?`Today, ${r}`:r},q=(e,t)=>{const n=K(t);return new Intl.DateTimeFormat(e,{month:"long",year:"numeric",timeZone:"UTC"}).format(n)},z=(e,t)=>Q(e,t,{day:"numeric"}).find((e=>"day"===e.type)).value,B=(e,t)=>L(e,t,{year:"numeric"}),K=e=>{var t,n,o;return new Date(`${null!==(t=e.month)&&void 0!==t?t:1}/${null!==(n=e.day)&&void 0!==n?n:1}/${null!==(o=e.year)&&void 0!==o?o:2023}${void 0!==e.hour&&void 0!==e.minute?` ${e.hour}:${e.minute}`:""} GMT+0000`)},L=(e,t,n)=>{const o=K(t);return X(e,F(n)).format(o)},Q=(e,t,n)=>{const o=K(t);return X(e,n).formatToParts(o)},X=(e,t)=>new Intl.DateTimeFormat(e,Object.assign(Object.assign({},t),{timeZone:"UTC"})),Y=e=>{if("RelativeTimeFormat"in Intl){const t=new Intl.RelativeTimeFormat(e,{numeric:"auto"}).format(0,"day");return t.charAt(0).toUpperCase()+t.slice(1)}return"Today"},_=e=>{const t=e.getTimezoneOffset();return e.setMinutes(e.getMinutes()-t),e},ee=_(new Date("2022T01:00")),te=_(new Date("2022T13:00")),ne=(e,t)=>{const n="am"===t?ee:te,o=new Intl.DateTimeFormat(e,{hour:"numeric",timeZone:"UTC"}).formatToParts(n).find((e=>"dayPeriod"===e.type));return o?o.value:(e=>void 0===e?"":e.toUpperCase())(t)},oe=e=>Array.isArray(e)?e.join(","):e,re=()=>_(new Date).toISOString(),ae=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59],ie=[0,1,2,3,4,5,6,7,8,9,10,11],de=[0,1,2,3,4,5,6,7,8,9,10,11],ue=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23],le=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,0],se=(e,t,n=0)=>{const o=new Intl.DateTimeFormat(e,{weekday:"ios"===t?"short":"narrow"}),r=new Date("11/01/2020"),a=[];for(let e=n;e<n+7;e++){const t=new Date(r);t.setDate(t.getDate()+e),a.push(o.format(t))}return a},ce=(e,t,n)=>{const o=d(e,t),r=new Date(`${e}/1/${t}`).getDay(),a=r>=n?r-(n+1):6-(n-r);let i=[];for(let e=1;e<=o;e++)i.push({day:e,dayOfWeek:(a+e)%7});for(let e=0;e<=a;e++)i=[{day:null,dayOfWeek:null},...i];return i},ve=(e,r,d="h12",u,l,s,c)=>{const v=a(e,d),m=i(v);let y=(e=>{switch(e){case"h11":return ie;case"h12":return de;case"h23":return ue;case"h24":return le;default:throw new Error(`Invalid hour cycle "${e}"`)}})(v),h=ae,f=!0,w=!0;if(s&&(y=y.filter((e=>s.includes(e)))),c&&(h=h.filter((e=>c.includes(e)))),u)if(t(r,u)){if(void 0!==u.hour&&(y=y.filter((e=>(m?e:"pm"===r.ampm?(e+12)%24:e)>=u.hour)),f=u.hour<13),void 0!==u.minute){let e=!1;void 0!==u.hour&&void 0!==r.hour&&r.hour>u.hour&&(e=!0),h=h.filter((t=>!!e||t>=u.minute))}}else n(r,u)&&(y=[],h=[],f=w=!1);return l&&(t(r,l)?(void 0!==l.hour&&(y=y.filter((e=>(m?e:"pm"===r.ampm?(e+12)%24:e)<=l.hour)),w=l.hour>=12),void 0!==l.minute&&r.hour===l.hour&&(h=h.filter((e=>e<=l.minute)))):o(r,l)&&(y=[],h=[],f=w=!1)),{hours:y,minutes:h,am:f,pm:w}},me=(e,t)=>{const o={month:e.month,year:e.year,day:e.day};if(void 0!==t&&(e.month!==t.month||e.year!==t.year)){const r={month:t.month,year:t.year,day:t.day};return n(r,o)?[r,o,U(e)]:[C(e),o,r]}return[C(e),o,U(e)]},ye=(e,t,n,o,r,a={month:"long"})=>{const{year:i}=t,d=[];if(void 0!==r){let t=r;void 0!==(null==o?void 0:o.month)&&(t=t.filter((e=>e<=o.month))),void 0!==(null==n?void 0:n.month)&&(t=t.filter((e=>e>=n.month))),t.forEach((t=>{const n=new Date(`${t}/1/${i} GMT+0000`),o=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},a),{timeZone:"UTC"})).format(n);d.push({text:o,value:t})}))}else{const t=o&&o.year===i?o.month:12;for(let o=n&&n.year===i?n.month:1;o<=t;o++){const t=new Date(`${o}/1/${i} GMT+0000`),n=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},a),{timeZone:"UTC"})).format(t);d.push({text:n,value:o})}}return d},he=(e,t,n,o,r,a={day:"numeric"})=>{const{month:i,year:u}=t,l=[],s=d(i,u),c=null!=(null==o?void 0:o.day)&&o.year===u&&o.month===i?o.day:s,v=null!=(null==n?void 0:n.day)&&n.year===u&&n.month===i?n.day:1;if(void 0!==r){let t=r;t=t.filter((e=>e>=v&&e<=c)),t.forEach((t=>{const n=new Date(`${i}/${t}/${u} GMT+0000`),o=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},a),{timeZone:"UTC"})).format(n);l.push({text:o,value:t})}))}else for(let t=v;t<=c;t++){const n=new Date(`${i}/${t}/${u} GMT+0000`),o=new Intl.DateTimeFormat(e,Object.assign(Object.assign({},a),{timeZone:"UTC"})).format(n);l.push({text:o,value:t})}return l},fe=(e,t,n,o,r)=>{var a,i;let d=[];if(void 0!==r)d=r,void 0!==(null==o?void 0:o.year)&&(d=d.filter((e=>e<=o.year))),void 0!==(null==n?void 0:n.year)&&(d=d.filter((e=>e>=n.year)));else{const{year:e}=t,r=null!==(a=null==o?void 0:o.year)&&void 0!==a?a:e;for(let t=null!==(i=null==n?void 0:n.year)&&void 0!==i?i:e-100;t<=r;t++)d.push(t)}return d.map((n=>({text:B(e,{year:n,month:t.month,day:t.day}),value:n})))},we=(e,t)=>e.month===t.month&&e.year===t.year?[e]:[e,...we(U(e),t)],Oe=(e,n,o,r,a,i)=>{let d=[],u=[],l=we(o,r);return i&&(l=l.filter((({month:e})=>i.includes(e)))),l.forEach((i=>{const l={month:i.month,day:null,year:i.year},s=he(e,l,o,r,a,{month:"short",day:"numeric",weekday:"short"}),c=[],v=[];s.forEach((o=>{const r=t(Object.assign(Object.assign({},l),{day:o.value}),n);v.push({text:r?Y(e):o.text,value:`${l.year}-${l.month}-${o.value}`}),c.push({month:l.month,year:l.year,day:o.value})})),u=[...u,...c],d=[...d,...v]})),{parts:u,items:d}},$e=(e,t,n,o,r,d,u)=>{const l=a(e,n),s=i(l),{hours:c,minutes:v,am:m,pm:y}=ve(e,t,l,o,r,d,u),h=c.map((e=>({text:H(e,l),value:P(e,s,t.ampm)}))),f=v.map((e=>({text:S(e),value:e}))),w=[];return m&&!s&&w.push({text:ne(e,"am"),value:"am"}),y&&!s&&w.push({text:ne(e,"pm"),value:"pm"}),{minutesData:f,hoursData:h,dayPeriodData:w}};export{d as A,Oe as B,ye as C,he as D,fe as E,u as F,$e as G,l as H,se as I,q as J,ce as K,a as L,J as M,L as N,oe as O,h as P,f as Q,A as R,z as a,o as b,t as c,C as d,U as e,m as f,R as g,N as h,n as i,E as j,j as k,I as l,D as m,T as n,k as o,x as p,O as q,w as r,y as s,v as t,p as u,G as v,r as w,re as x,V as y,me as z}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import{c as t}from"./p-c7e16491.js";import{g as o}from"./p-88e63c7d.js";import"./p-7b30edcc.js";import"./p-0574e87e.js";import"./p-d836d43e.js";import"./p-06fee233.js";import"./p-b51e4004.js";const n=t=>document.querySelector(`${t}.ion-cloned-element`),a=t=>t.shadowRoot||t,e=t=>{const o="ION-TABS"===t.tagName?t:t.querySelector("ion-tabs"),n="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=o){const t=o.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=t?t.querySelector(n):null}return t.querySelector(n)},s=(t,o)=>{const n="ION-TABS"===t.tagName?t:t.querySelector("ion-tabs");let a=[];if(null!=n){const t=n.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=t&&(a=t.querySelectorAll("ion-buttons"))}else a=t.querySelectorAll("ion-buttons");for(const t of a){const n=t.closest("ion-header"),a=n&&!n.classList.contains("header-collapse-condense-inactive"),e=t.querySelector("ion-back-button"),s=t.classList.contains("buttons-collapse");if(null!==e&&("start"===t.slot||""===t.slot)&&(s&&a&&o||!s))return e}return null},r=(o,e,s,r,i,l,f,p,d)=>{var $,u;const m=e?`calc(100% - ${i.right+4}px)`:i.left-4+"px",b=e?"right":"left",y=e?"left":"right",X=e?"right":"left";let x=1,v=1,h=`scale(${v})`;const g="scale(1)";if(l&&f){const t=(null===($=l.textContent)||void 0===$?void 0:$.trim())===(null===(u=p.textContent)||void 0===u?void 0:u.trim());x=d.width/f.width,v=(d.height-c)/f.height,h=t?`scale(${x}, ${v})`:`scale(${v})`}const w=a(r).querySelector("ion-icon").getBoundingClientRect(),k=e?w.width/2-(w.right-i.right)+"px":i.left-w.width/2+"px",j=e?`-${window.innerWidth-i.right}px`:`${i.left}px`,T=`${d.top}px`,A=`${i.top}px`,B=s?[{offset:0,transform:`translate3d(${j}, ${A}, 0)`},{offset:1,transform:`translate3d(${k}, ${T}, 0)`}]:[{offset:0,transform:`translate3d(${k}, ${T}, 0)`},{offset:1,transform:`translate3d(${j}, ${A}, 0)`}],I=s?[{offset:0,opacity:1,transform:g},{offset:1,opacity:0,transform:h}]:[{offset:0,opacity:0,transform:h},{offset:1,opacity:1,transform:g}],N=s?[{offset:0,opacity:1,transform:"scale(1)"},{offset:.2,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:0,transform:"scale(0.6)"}]:[{offset:0,opacity:0,transform:"scale(0.6)"},{offset:.6,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:1,transform:"scale(1)"}],O=t(),S=t(),z=t(),q=n("ion-back-button"),C=a(q).querySelector(".button-text"),D=a(q).querySelector("ion-icon");q.text=r.text,q.mode=r.mode,q.icon=r.icon,q.color=r.color,q.disabled=r.disabled,q.style.setProperty("display","block"),q.style.setProperty("position","fixed"),S.addElement(D),O.addElement(C),z.addElement(q),z.beforeStyles({position:"absolute",top:"0px",[X]:"0px"}).beforeAddWrite((()=>{r.style.setProperty("display","none"),q.style.setProperty(b,m)})).afterAddWrite((()=>{r.style.setProperty("display",""),q.style.setProperty("display","none"),q.style.removeProperty(b)})).keyframes(B),O.beforeStyles({"transform-origin":`${b} top`}).keyframes(I),S.beforeStyles({"transform-origin":`${y} center`}).keyframes(N),o.addAnimation([O,S,z])},i=(o,a,e,s,r,i,l,f,p)=>{var d,$;const u=a?"right":"left",m=a?`calc(100% - ${r.right}px)`:`${r.left}px`,b=`${r.top}px`;let y=a?`-${window.innerWidth-l.right-8}px`:`${l.x+8}px`,X=.5;const x="scale(1)";let v=`scale(${X})`;if(f&&p){y=a?`-${window.innerWidth-p.right-8}px`:p.x-8+"px";const t=(null===(d=f.textContent)||void 0===d?void 0:d.trim())===(null===($=s.textContent)||void 0===$?void 0:$.trim());X=p.height/(i.height-c),v=t?`scale(${p.width/i.width}, ${X})`:`scale(${X})`}const h=l.top+l.height/2-r.height*X/2+"px",g=e?[{offset:0,opacity:0,transform:`translate3d(${y}, ${h}, 0) ${v}`},{offset:.1,opacity:0},{offset:1,opacity:1,transform:`translate3d(0px, ${b}, 0) ${x}`}]:[{offset:0,opacity:.99,transform:`translate3d(0px, ${b}, 0) ${x}`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${y}, ${h}, 0) ${v}`}],w=n("ion-title"),k=t();w.innerText=s.innerText,w.size=s.size,w.color=s.color,k.addElement(w),k.beforeStyles({"transform-origin":`${u} top`,height:`${r.height}px`,display:"",position:"relative",[u]:m}).beforeAddWrite((()=>{s.style.setProperty("opacity","0")})).afterAddWrite((()=>{s.style.setProperty("opacity",""),w.style.setProperty("display","none")})).keyframes(g),o.addAnimation(k)},l=(n,l)=>{var c;try{const f="cubic-bezier(0.32,0.72,0,1)",p="opacity",d="transform",$="0%",u=.8,m="rtl"===n.ownerDocument.dir,b=m?"-99.5%":"99.5%",y=m?"33%":"-33%",X=l.enteringEl,x=l.leavingEl,v="back"===l.direction,h=X.querySelector(":scope > ion-content"),g=X.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),w=X.querySelectorAll(":scope > ion-header > ion-toolbar"),k=t(),j=t();if(k.addElement(X).duration((null!==(c=l.duration)&&void 0!==c?c:0)||540).easing(l.easing||f).fill("both").beforeRemoveClass("ion-page-invisible"),x&&null!=n){const o=t();o.addElement(n),k.addAnimation(o)}if(h||0!==w.length||0!==g.length?(j.addElement(h),j.addElement(g)):j.addElement(X.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),k.addAnimation(j),v?j.beforeClearStyles([p]).fromTo("transform",`translateX(${y})`,`translateX(${$})`).fromTo(p,u,1):j.beforeClearStyles([p]).fromTo("transform",`translateX(${b})`,`translateX(${$})`),h){const o=a(h).querySelector(".transition-effect");if(o){const n=o.querySelector(".transition-cover"),a=o.querySelector(".transition-shadow"),e=t(),s=t(),r=t();e.addElement(o).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),s.addElement(n).beforeClearStyles([p]).fromTo(p,0,.1),r.addElement(a).beforeClearStyles([p]).fromTo(p,.03,.7),e.addAnimation([s,r]),j.addAnimation([e])}}const T=X.querySelector("ion-header.header-collapse-condense"),{forward:A,backward:B}=((t,o,n,l,c)=>{const f=s(l,n),p=e(c),d=e(l),$=s(c,n),u=null!==f&&null!==p&&!n,m=null!==d&&null!==$&&n;if(u){const e=p.getBoundingClientRect(),s=f.getBoundingClientRect(),l=a(f).querySelector(".button-text"),c=null==l?void 0:l.getBoundingClientRect(),d=a(p).querySelector(".toolbar-title").getBoundingClientRect();i(t,o,n,p,e,d,s,l,c),r(t,o,n,f,s,l,c,p,d)}else if(m){const e=d.getBoundingClientRect(),s=$.getBoundingClientRect(),l=a($).querySelector(".button-text"),c=null==l?void 0:l.getBoundingClientRect(),f=a(d).querySelector(".toolbar-title").getBoundingClientRect();i(t,o,n,d,e,f,s,l,c),r(t,o,n,$,s,l,c,d,f)}return{forward:u,backward:m}})(k,m,v,X,x);if(w.forEach((o=>{const n=t();n.addElement(o),k.addAnimation(n);const e=t();e.addElement(o.querySelector("ion-title"));const s=t(),r=Array.from(o.querySelectorAll("ion-buttons,[menuToggle]")),i=o.closest("ion-header"),l=null==i?void 0:i.classList.contains("header-collapse-condense-inactive");let c;c=r.filter(v?t=>{const o=t.classList.contains("buttons-collapse");return o&&!l||!o}:t=>!t.classList.contains("buttons-collapse")),s.addElement(c);const f=t();f.addElement(o.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const d=t();d.addElement(a(o).querySelector(".toolbar-background"));const u=t(),X=o.querySelector("ion-back-button");if(X&&u.addElement(X),n.addAnimation([e,s,f,d,u]),s.fromTo(p,.01,1),f.fromTo(p,.01,1),v)l||e.fromTo("transform",`translateX(${y})`,`translateX(${$})`).fromTo(p,.01,1),f.fromTo("transform",`translateX(${y})`,`translateX(${$})`),u.fromTo(p,.01,1);else if(T||e.fromTo("transform",`translateX(${b})`,`translateX(${$})`).fromTo(p,.01,1),f.fromTo("transform",`translateX(${b})`,`translateX(${$})`),d.beforeClearStyles([p,"transform"]),(null==i?void 0:i.translucent)?d.fromTo("transform",m?"translateX(-100%)":"translateX(100%)","translateX(0px)"):d.fromTo(p,.01,"var(--opacity)"),A||u.fromTo(p,.01,1),X&&!A){const o=t();o.addElement(a(X).querySelector(".button-text")).fromTo("transform",m?"translateX(-100px)":"translateX(100px)","translateX(0px)"),n.addAnimation(o)}})),x){const n=t(),e=x.querySelector(":scope > ion-content"),s=x.querySelectorAll(":scope > ion-header > ion-toolbar"),r=x.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(e||0!==s.length||0!==r.length?(n.addElement(e),n.addElement(r)):n.addElement(x.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),k.addAnimation(n),v){n.beforeClearStyles([p]).fromTo("transform",`translateX(${$})`,m?"translateX(-100%)":"translateX(100%)");const t=o(x);k.afterAddWrite((()=>{"normal"===k.getDirection()&&t.style.setProperty("display","none")}))}else n.fromTo("transform",`translateX(${$})`,`translateX(${y})`).fromTo(p,1,u);if(e){const o=a(e).querySelector(".transition-effect");if(o){const a=o.querySelector(".transition-cover"),e=o.querySelector(".transition-shadow"),s=t(),r=t(),i=t();s.addElement(o).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),r.addElement(a).beforeClearStyles([p]).fromTo(p,.1,0),i.addElement(e).beforeClearStyles([p]).fromTo(p,.7,.03),s.addAnimation([r,i]),n.addAnimation([s])}}s.forEach((o=>{const n=t();n.addElement(o);const e=t();e.addElement(o.querySelector("ion-title"));const s=t(),r=o.querySelectorAll("ion-buttons,[menuToggle]"),i=o.closest("ion-header"),l=null==i?void 0:i.classList.contains("header-collapse-condense-inactive"),c=Array.from(r).filter((t=>{const o=t.classList.contains("buttons-collapse");return o&&!l||!o}));s.addElement(c);const f=t(),u=o.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");u.length>0&&f.addElement(u);const b=t();b.addElement(a(o).querySelector(".toolbar-background"));const X=t(),x=o.querySelector("ion-back-button");if(x&&X.addElement(x),n.addAnimation([e,s,f,X,b]),k.addAnimation(n),X.fromTo(p,.99,0),s.fromTo(p,.99,0),f.fromTo(p,.99,0),v){if(l||e.fromTo("transform",`translateX(${$})`,m?"translateX(-100%)":"translateX(100%)").fromTo(p,.99,0),f.fromTo("transform",`translateX(${$})`,m?"translateX(-100%)":"translateX(100%)"),b.beforeClearStyles([p,"transform"]),(null==i?void 0:i.translucent)?b.fromTo("transform","translateX(0px)",m?"translateX(-100%)":"translateX(100%)"):b.fromTo(p,"var(--opacity)",0),x&&!B){const o=t();o.addElement(a(x).querySelector(".button-text")).fromTo("transform",`translateX(${$})`,`translateX(${(m?-124:124)+"px"})`),n.addAnimation(o)}}else l||e.fromTo("transform",`translateX(${$})`,`translateX(${y})`).fromTo(p,.99,0).afterClearStyles([d,p]),f.fromTo("transform",`translateX(${$})`,`translateX(${y})`).afterClearStyles([d,p]),X.afterClearStyles([p]),e.afterClearStyles([p]),s.afterClearStyles([p])}))}return k}catch(t){throw t}},c=10;export{l as iosTransitionAnimation,a as shadow}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import{r as t,d as o,e,h as i,f as n,i as a}from"./p-d836d43e.js";import{c as r}from"./p-69066a53.js";import{r as c}from"./p-b51e4004.js";import{c as s}from"./p-ccd02320.js";import{d,e as l,B as h,i as b,f as p,g as u,h as g,s as v,j as m,k as f}from"./p-a440397c.js";import{g as k}from"./p-47794def.js";import{b as x}from"./p-0574e87e.js";import{c as y}from"./p-c7e16491.js";import"./p-89b61afc.js";import"./p-c61cc894.js";import"./p-7b30edcc.js";import"./p-8ededb41.js";import"./p-9b97df10.js";import"./p-ecceeb90.js";import"./p-3cc276f4.js";import"./p-06fee233.js";const w=t=>{const o=y(),e=y(),i=y();return e.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),i.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)"),o.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([e,i])},j=t=>{const o=y(),e=y(),i=y();return e.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),i.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)"),o.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(450).addAnimation([e,i])},z=t=>{const o=y(),e=y(),i=y();return e.addElement(t.querySelector("ion-backdrop")).fromTo("opacity",.01,"var(--backdrop-opacity)").beforeStyles({"pointer-events":"none"}).afterClearStyles(["pointer-events"]),i.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(100%)","translateY(0%)"),o.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(400).addAnimation([e,i])},C=t=>{const o=y(),e=y(),i=y();return e.addElement(t.querySelector("ion-backdrop")).fromTo("opacity","var(--backdrop-opacity)",0),i.addElement(t.querySelector(".action-sheet-wrapper")).fromTo("transform","translateY(0%)","translateY(100%)"),o.addElement(t).easing("cubic-bezier(.36,.66,.04,1)").duration(450).addAnimation([e,i])},D=class{constructor(e){t(this,e),this.didPresent=o(this,"ionActionSheetDidPresent",7),this.willPresent=o(this,"ionActionSheetWillPresent",7),this.willDismiss=o(this,"ionActionSheetWillDismiss",7),this.didDismiss=o(this,"ionActionSheetDidDismiss",7),this.didPresentShorthand=o(this,"didPresent",7),this.willPresentShorthand=o(this,"willPresent",7),this.willDismissShorthand=o(this,"willDismiss",7),this.didDismissShorthand=o(this,"didDismiss",7),this.delegateController=d(this),this.lockController=s(),this.triggerController=l(),this.presented=!1,this.onBackdropTap=()=>{this.dismiss(void 0,h)},this.dispatchCancelHandler=t=>{if(b(t.detail.role)){const t=this.getButtons().find((t=>"cancel"===t.role));this.callButtonHandler(t)}},this.overlayIndex=void 0,this.delegate=void 0,this.hasController=!1,this.keyboardClose=!0,this.enterAnimation=void 0,this.leaveAnimation=void 0,this.buttons=[],this.cssClass=void 0,this.backdropDismiss=!0,this.header=void 0,this.subHeader=void 0,this.translucent=!1,this.animated=!0,this.htmlAttributes=void 0,this.isOpen=!1,this.trigger=void 0}onIsOpenChange(t,o){!0===t&&!1===o?this.present():!1===t&&!0===o&&this.dismiss()}triggerChanged(){const{trigger:t,el:o,triggerController:e}=this;t&&e.addClickListener(o,t)}async present(){const t=await this.lockController.lock();await this.delegateController.attachViewToDom(),await p(this,"actionSheetEnter",w,z),t()}async dismiss(t,o){const e=await this.lockController.lock(),i=await u(this,t,o,"actionSheetLeave",j,C);return i&&this.delegateController.removeViewFromDom(),e(),i}onDidDismiss(){return g(this.el,"ionActionSheetDidDismiss")}onWillDismiss(){return g(this.el,"ionActionSheetWillDismiss")}async buttonClick(t){const o=t.role;return b(o)?this.dismiss(t.data,o):await this.callButtonHandler(t)?this.dismiss(t.data,t.role):Promise.resolve()}async callButtonHandler(t){return!t||!1!==await v(t.handler)}getButtons(){return this.buttons.map((t=>"string"==typeof t?{text:t}:t))}connectedCallback(){m(this.el),this.triggerChanged()}disconnectedCallback(){this.gesture&&(this.gesture.destroy(),this.gesture=void 0),this.triggerController.removeClickListener()}componentWillLoad(){var t;(null===(t=this.htmlAttributes)||void 0===t?void 0:t.id)||f(this.el)}componentDidLoad(){const{groupEl:t,wrapperEl:o}=this;!this.gesture&&"ios"===x(this)&&o&&t&&e((()=>{t.scrollHeight>t.clientHeight||(this.gesture=r(o,(t=>t.classList.contains("action-sheet-button"))),this.gesture.enable(!0))})),!0===this.isOpen&&c((()=>this.present())),this.triggerChanged()}render(){const{header:t,htmlAttributes:o,overlayIndex:e}=this,a=x(this),r=this.getButtons(),c=r.find((t=>"cancel"===t.role)),s=r.filter((t=>"cancel"!==t.role)),d=`action-sheet-${e}-header`;return i(n,Object.assign({key:"7bbd202ca9e19727e7514abbe073687d982f80c3",role:"dialog","aria-modal":"true","aria-labelledby":void 0!==t?d:null,tabindex:"-1"},o,{style:{zIndex:`${2e4+this.overlayIndex}`},class:Object.assign(Object.assign({[a]:!0},k(this.cssClass)),{"overlay-hidden":!0,"action-sheet-translucent":this.translucent}),onIonActionSheetWillDismiss:this.dispatchCancelHandler,onIonBackdropTap:this.onBackdropTap}),i("ion-backdrop",{key:"23344a9221a2e6720d7b9de5249dc37256cafa7b",tappable:this.backdropDismiss}),i("div",{key:"d46361bb5cdc32a7922dcf76b566f358a6174bfa",tabindex:"0"}),i("div",{key:"136c3f2e77c8a2eac8e9ae4bb13d735e1d62598d",class:"action-sheet-wrapper ion-overlay-wrapper",ref:t=>this.wrapperEl=t},i("div",{key:"6168ea8b2be42020b2edeb8ff3a0f3d1254be37a",class:"action-sheet-container"},i("div",{key:"29b9e6619dc54574733a704d6bf885839151bd84",class:"action-sheet-group",ref:t=>this.groupEl=t},void 0!==t&&i("div",{key:"536ce764bfddb3816ea3512d90f4acef2ccb8589",id:d,class:{"action-sheet-title":!0,"action-sheet-has-sub-title":void 0!==this.subHeader}},t,this.subHeader&&i("div",{key:"6d888219145824fd36cdfe0d3c8388bbf2769777",class:"action-sheet-sub-title"},this.subHeader)),s.map((t=>i("button",Object.assign({},t.htmlAttributes,{type:"button",id:t.id,class:O(t),onClick:()=>this.buttonClick(t),disabled:t.disabled}),i("span",{class:"action-sheet-button-inner"},t.icon&&i("ion-icon",{icon:t.icon,"aria-hidden":"true",lazy:!1,class:"action-sheet-icon"}),t.text),"md"===a&&i("ion-ripple-effect",null))))),c&&i("div",{key:"46f98f0ed5a9bdb3e35feb9ae71c4489c17b7d77",class:"action-sheet-group action-sheet-group-cancel"},i("button",Object.assign({key:"e3c457bced8ad5f692e48de26e65f731fd631b4f"},c.htmlAttributes,{type:"button",class:O(c),onClick:()=>this.buttonClick(c)}),i("span",{key:"4cba6dc559f734ecc852e024959210cd0dd25354",class:"action-sheet-button-inner"},c.icon&&i("ion-icon",{key:"9df64989aad1b4d1e75edf4d37ab208965cfe37f",icon:c.icon,"aria-hidden":"true",lazy:!1,class:"action-sheet-icon"}),c.text),"md"===a&&i("ion-ripple-effect",{key:"558089275a29177cefdb2e38eefc9b5c8b62872b"}))))),i("div",{key:"fa4df6e043b00a6e4126dbc71cb344cfc2b2e7bc",tabindex:"0"}))}get el(){return a(this)}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}}},O=t=>Object.assign({"action-sheet-button":!0,"ion-activatable":!t.disabled,"ion-focusable":!t.disabled,[`action-sheet-${t.role}`]:void 0!==t.role},k(t.cssClass));D.style={ios:'.sc-ion-action-sheet-ios-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:auto;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:block;position:fixed;outline:none;font-family:var(--ion-font-family, inherit);-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-action-sheet-ios-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-ios{left:0;right:0;bottom:0;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:block;position:absolute;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);z-index:10;pointer-events:none}.action-sheet-button.sc-ion-action-sheet-ios{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-ios:disabled{color:var(--button-color-disabled);opacity:0.4}.action-sheet-button-inner.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-ios{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:calc(100vh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)));max-height:calc(100dvh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)))}.action-sheet-group.sc-ion-action-sheet-ios{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}@media (any-pointer: coarse){.action-sheet-group.sc-ion-action-sheet-ios::-webkit-scrollbar{display:none}}.action-sheet-group-cancel.sc-ion-action-sheet-ios{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-ios::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.action-sheet-selected.sc-ion-action-sheet-ios{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-ios::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios{color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-ios::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-ios:not(:disabled):hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-ios:not(:disabled):hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-ios-h{--background:var(--ion-overlay-background-color, var(--ion-color-step-100, var(--ion-background-color-step-100, #f9f9f9)));--backdrop-opacity:var(--ion-backdrop-opacity, 0.4);--button-background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent;--button-background-activated:var(--ion-text-color, #000);--button-background-activated-opacity:.08;--button-background-hover:currentColor;--button-background-hover-opacity:.04;--button-background-focused:currentColor;--button-background-focused-opacity:.12;--button-background-selected:var(--ion-color-step-150, var(--ion-background-color-step-150, var(--ion-background-color, #fff)));--button-background-selected-opacity:1;--button-color:var(--ion-color-primary, #0054e9);--button-color-disabled:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));--color:var(--ion-color-step-400, var(--ion-text-color-step-600, #999999));text-align:center}.action-sheet-wrapper.sc-ion-action-sheet-ios{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:var(--ion-safe-area-top, 0);padding-bottom:var(--ion-safe-area-bottom, 0);-webkit-box-sizing:content-box;box-sizing:content-box}.action-sheet-container.sc-ion-action-sheet-ios{-webkit-padding-start:8px;padding-inline-start:8px;-webkit-padding-end:8px;padding-inline-end:8px;padding-top:0;padding-bottom:0}.action-sheet-group.sc-ion-action-sheet-ios{border-radius:13px;margin-bottom:8px}.action-sheet-group.sc-ion-action-sheet-ios:first-child{margin-top:10px}.action-sheet-group.sc-ion-action-sheet-ios:last-child{margin-bottom:10px}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-group.sc-ion-action-sheet-ios{background-color:transparent;-webkit-backdrop-filter:saturate(280%) blur(20px);backdrop-filter:saturate(280%) blur(20px)}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-title.sc-ion-action-sheet-ios,.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-button.sc-ion-action-sheet-ios{background-color:transparent;background-image:-webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)), to(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8))), -webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4)), color-stop(50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4)), color-stop(50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8)));background-image:linear-gradient(0deg, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8), rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 100%), linear-gradient(0deg, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4), rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.4) 50%, rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.8) 50%);background-repeat:no-repeat;background-position:top, bottom;background-size:100% calc(100% - 1px), 100% 1px;-webkit-backdrop-filter:saturate(120%);backdrop-filter:saturate(120%)}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-button.ion-activated.sc-ion-action-sheet-ios{background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.7);background-image:none}.action-sheet-translucent.sc-ion-action-sheet-ios-h .action-sheet-cancel.sc-ion-action-sheet-ios{background:var(--button-background-selected)}}.action-sheet-title.sc-ion-action-sheet-ios{background:-webkit-gradient(linear, left bottom, left top, from(rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)), color-stop(50%, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)), color-stop(50%, transparent)) bottom/100% 1px no-repeat transparent;background:linear-gradient(0deg, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08), rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08) 50%, transparent 50%) bottom/100% 1px no-repeat transparent}.action-sheet-title.sc-ion-action-sheet-ios{-webkit-padding-start:10px;padding-inline-start:10px;-webkit-padding-end:10px;padding-inline-end:10px;padding-top:14px;padding-bottom:13px;color:var(--color, var(--ion-color-step-400, var(--ion-text-color-step-600, #999999)));font-size:max(13px, 0.8125rem);font-weight:400;text-align:center}.action-sheet-title.action-sheet-has-sub-title.sc-ion-action-sheet-ios{font-weight:600}.action-sheet-sub-title.sc-ion-action-sheet-ios{padding-left:0;padding-right:0;padding-top:6px;padding-bottom:0;font-size:max(13px, 0.8125rem);font-weight:400}.action-sheet-button.sc-ion-action-sheet-ios{-webkit-padding-start:14px;padding-inline-start:14px;-webkit-padding-end:14px;padding-inline-end:14px;padding-top:14px;padding-bottom:14px;min-height:56px;font-size:max(20px, 1.25rem);contain:content}.action-sheet-button.sc-ion-action-sheet-ios .action-sheet-icon.sc-ion-action-sheet-ios{-webkit-margin-end:0.3em;margin-inline-end:0.3em;font-size:max(28px, 1.75rem);pointer-events:none}.action-sheet-button.sc-ion-action-sheet-ios:last-child{background-image:none}.action-sheet-selected.sc-ion-action-sheet-ios{font-weight:bold}.action-sheet-cancel.sc-ion-action-sheet-ios{font-weight:600}.action-sheet-cancel.sc-ion-action-sheet-ios::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-destructive.sc-ion-action-sheet-ios,.action-sheet-destructive.ion-activated.sc-ion-action-sheet-ios,.action-sheet-destructive.ion-focused.sc-ion-action-sheet-ios{color:var(--ion-color-danger, #c5000f)}@media (any-hover: hover){.action-sheet-destructive.sc-ion-action-sheet-ios:hover{color:var(--ion-color-danger, #c5000f)}}',md:'.sc-ion-action-sheet-md-h{--color:initial;--button-color-activated:var(--button-color);--button-color-focused:var(--button-color);--button-color-hover:var(--button-color);--button-color-selected:var(--button-color);--min-width:auto;--width:100%;--max-width:500px;--min-height:auto;--height:auto;--max-height:calc(100% - (var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;left:0;right:0;top:0;bottom:0;display:block;position:fixed;outline:none;font-family:var(--ion-font-family, inherit);-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:1001}.overlay-hidden.sc-ion-action-sheet-md-h{display:none}.action-sheet-wrapper.sc-ion-action-sheet-md{left:0;right:0;bottom:0;-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0);display:block;position:absolute;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);z-index:10;pointer-events:none}.action-sheet-button.sc-ion-action-sheet-md{display:block;position:relative;width:100%;border:0;outline:none;background:var(--button-background);color:var(--button-color);font-family:inherit;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-md:disabled{color:var(--button-color-disabled);opacity:0.4}.action-sheet-button-inner.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;pointer-events:none;width:100%;height:100%;z-index:1}.action-sheet-container.sc-ion-action-sheet-md{display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:calc(100vh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)));max-height:calc(100dvh - (var(--ion-safe-area-top, 0) + var(--ion-safe-area-bottom, 0)))}.action-sheet-group.sc-ion-action-sheet-md{-ms-flex-negative:2;flex-shrink:2;overscroll-behavior-y:contain;overflow-y:auto;-webkit-overflow-scrolling:touch;pointer-events:all;background:var(--background)}@media (any-pointer: coarse){.action-sheet-group.sc-ion-action-sheet-md::-webkit-scrollbar{display:none}}.action-sheet-group-cancel.sc-ion-action-sheet-md{-ms-flex-negative:0;flex-shrink:0;overflow:hidden}.action-sheet-button.sc-ion-action-sheet-md::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.action-sheet-selected.sc-ion-action-sheet-md{color:var(--button-color-selected)}.action-sheet-selected.sc-ion-action-sheet-md::after{background:var(--button-background-selected);opacity:var(--button-background-selected-opacity)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md{color:var(--button-color-activated)}.action-sheet-button.ion-activated.sc-ion-action-sheet-md::after{background:var(--button-background-activated);opacity:var(--button-background-activated-opacity)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md{color:var(--button-color-focused)}.action-sheet-button.ion-focused.sc-ion-action-sheet-md::after{background:var(--button-background-focused);opacity:var(--button-background-focused-opacity)}@media (any-hover: hover){.action-sheet-button.sc-ion-action-sheet-md:not(:disabled):hover{color:var(--button-color-hover)}.action-sheet-button.sc-ion-action-sheet-md:not(:disabled):hover::after{background:var(--button-background-hover);opacity:var(--button-background-hover-opacity)}}.sc-ion-action-sheet-md-h{--background:var(--ion-overlay-background-color, var(--ion-background-color, #fff));--backdrop-opacity:var(--ion-backdrop-opacity, 0.32);--button-background:transparent;--button-background-selected:currentColor;--button-background-selected-opacity:0;--button-background-activated:transparent;--button-background-activated-opacity:0;--button-background-hover:currentColor;--button-background-hover-opacity:.04;--button-background-focused:currentColor;--button-background-focused-opacity:.12;--button-color:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));--button-color-disabled:var(--button-color);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}.action-sheet-wrapper.sc-ion-action-sheet-md{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:var(--ion-safe-area-top, 0);margin-bottom:0}.action-sheet-title.sc-ion-action-sheet-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:20px;padding-bottom:17px;min-height:60px;color:var(--color, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54));font-size:1rem;text-align:start}.action-sheet-sub-title.sc-ion-action-sheet-md{padding-left:0;padding-right:0;padding-top:16px;padding-bottom:0;font-size:0.875rem}.action-sheet-group.sc-ion-action-sheet-md:first-child{padding-top:0}.action-sheet-group.sc-ion-action-sheet-md:last-child{padding-bottom:var(--ion-safe-area-bottom)}.action-sheet-button.sc-ion-action-sheet-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:12px;padding-bottom:12px;position:relative;min-height:52px;font-size:1rem;text-align:start;contain:content;overflow:hidden}.action-sheet-icon.sc-ion-action-sheet-md{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:32px;margin-inline-end:32px;margin-top:0;margin-bottom:0;color:var(--color);font-size:1.5rem}.action-sheet-button-inner.sc-ion-action-sheet-md{-ms-flex-pack:start;justify-content:flex-start}.action-sheet-selected.sc-ion-action-sheet-md{font-weight:bold}'};export{D as ion_action_sheet}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import{r as o,h as t,f as i,i as r}from"./p-d836d43e.js";import{h as n}from"./p-b51e4004.js";import{o as e,c as a}from"./p-47794def.js";import{b as s}from"./p-0574e87e.js";const d=class{constructor(t){o(this,t),this.inheritedAriaAttributes={},this.color=void 0,this.button=!1,this.type="button",this.disabled=!1,this.download=void 0,this.href=void 0,this.rel=void 0,this.routerDirection="forward",this.routerAnimation=void 0,this.target=void 0}componentWillLoad(){this.inheritedAriaAttributes=n(this.el,["aria-label"])}isClickable(){return void 0!==this.href||this.button}renderCard(o){const i=this.isClickable();if(!i)return[t("slot",null)];const{href:r,routerAnimation:n,routerDirection:a,inheritedAriaAttributes:s}=this,d=i?void 0===r?"button":"a":"div";return t(d,Object.assign({},"button"===d?{type:this.type}:{download:this.download,href:this.href,rel:this.rel,target:this.target},s,{class:"card-native",part:"native",disabled:this.disabled,onClick:o=>e(r,o,a,n)}),t("slot",null),i&&"md"===o&&t("ion-ripple-effect",null))}render(){const o=s(this);return t(i,{key:"85e9b30bd81e79a0c7ac75cb3664bdcf9e4afc4d",class:a(this.color,{[o]:!0,"card-disabled":this.disabled,"ion-activatable":this.isClickable()})},this.renderCard(o))}get el(){return r(this)}};d.style={ios:":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))));-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:24px;margin-bottom:24px;border-radius:8px;-webkit-transition:-webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:-webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1), -webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);font-size:0.875rem;-webkit-box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);box-shadow:0 4px 16px rgba(0, 0, 0, 0.12)}:host(.ion-activated){-webkit-transform:scale3d(0.97, 0.97, 1);transform:scale3d(0.97, 0.97, 1)}",md:":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:100%;min-height:var(--min-height);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-550, var(--ion-text-color-step-450, #737373))));-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:10px;margin-bottom:10px;border-radius:4px;font-size:0.875rem;-webkit-box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}"};const c=class{constructor(t){o(this,t)}render(){const o=s(this);return t(i,{key:"d98e4d1fc6ad3237549f9bc17e4c67ec5059b1b3",class:{[o]:!0,[`card-content-${o}`]:!0}})}};c.style={ios:"ion-card-content{display:block;position:relative}.card-content-ios{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:20px;font-size:1rem;line-height:1.4}.card-content-ios h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.5rem;font-weight:normal}.card-content-ios h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:1rem;font-weight:normal}.card-content-ios h3,.card-content-ios h4,.card-content-ios h5,.card-content-ios h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:0.875rem;font-weight:normal}.card-content-ios p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:0.875rem}ion-card-header+.card-content-ios{padding-top:0}",md:"ion-card-content{display:block;position:relative}.card-content-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:13px;padding-bottom:13px;font-size:0.875rem;line-height:1.5}.card-content-md h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:1.5rem;font-weight:normal}.card-content-md h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:1rem;font-weight:normal}.card-content-md h3,.card-content-md h4,.card-content-md h5,.card-content-md h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:0.875rem;font-weight:normal}.card-content-md p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:0.875rem;font-weight:normal;line-height:1.5}ion-card-header+.card-content-md{padding-top:0}"};const l=class{constructor(t){o(this,t),this.color=void 0,this.translucent=!1}render(){const o=s(this);return t(i,{key:"64246b81931203a64d553c788cd736f41e23f37b",class:a(this.color,{"card-header-translucent":this.translucent,"ion-inherit-color":!0,[o]:!0})},t("slot",{key:"af2da2dfe266889afeb57fac25c6a730558dbba4"}))}};l.style={ios:":host{--background:transparent;--color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:16px;-ms-flex-direction:column-reverse;flex-direction:column-reverse}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.card-header-translucent){background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.9);-webkit-backdrop-filter:saturate(180%) blur(30px);backdrop-filter:saturate(180%) blur(30px)}}",md:":host{--background:transparent;--color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:16px;padding-bottom:16px}::slotted(ion-card-title:not(:first-child)),::slotted(ion-card-subtitle:not(:first-child)){margin-top:8px}"};const p=class{constructor(t){o(this,t),this.color=void 0}render(){const o=s(this);return t(i,{key:"84d820a19d9074f9c8bc61ccba1ca40062a60b73",role:"heading","aria-level":"3",class:a(this.color,{"ion-inherit-color":!0,[o]:!0})},t("slot",{key:"e4d07d395a1f4469a90847636083101b32b776a1"}))}};p.style={ios:":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666));margin-left:0;margin-right:0;margin-top:0;margin-bottom:4px;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:0.75rem;font-weight:700;letter-spacing:0.4px;text-transform:uppercase}",md:":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-550, var(--ion-text-color-step-450, #737373));margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:0.875rem;font-weight:500}"};const g=class{constructor(t){o(this,t),this.color=void 0}render(){const o=s(this);return t(i,{key:"fca001a86396e83718d5211cd71912fdf40dea2f",role:"heading","aria-level":"2",class:a(this.color,{"ion-inherit-color":!0,[o]:!0})},t("slot",{key:"2ba416aed488b2ff462fa75fb3b70373a6dd7da6"}))}};g.style={ios:":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-text-color, #000);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:1.75rem;font-weight:700;line-height:1.2}",md:":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-850, var(--ion-text-color-step-150, #262626));margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:1.25rem;font-weight:500;line-height:1.2}"};export{d as ion_card,c as ion_card_content,l as ion_card_header,p as ion_card_subtitle,g as ion_card_title}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
var t=Object.defineProperty,e={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},n=new WeakMap,o=t=>n.get(t),s=(t,e)=>n.set(e.t=t,e),l=(t,e)=>e in t,r=(t,e)=>(0,console.error)(t,e),i=new Map,c=new Map,f=[],u="s-id",a="c-id",d="slot-fb{display:contents}slot-fb[hidden]{display:none}",h="http://www.w3.org/1999/xlink",$="undefined"!=typeof window?window:{},p=$.document||{head:{}},m=$.HTMLElement||class{},v={o:0,l:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},y=t=>{Object.assign(v,t)},b=!0,w=t=>Promise.resolve(t),g=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),j=!1,O=[],k=[],S=(t,e)=>n=>{t.push(n),j||(j=!0,e&&4&v.o?E(C):v.raf(C))},x=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){r(t)}t.length=0},C=()=>{x(O),x(k),(j=O.length>0)&&v.raf(C)},E=t=>w().then(t),N=S(O,!1),M=S(k,!0),R=t=>{const e=new URL(t,v.l);return e.origin!==$.location.origin?e.href:e.pathname},A={},P=t=>"object"==(t=typeof t)||"function"===t;function I(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((e,n)=>{for(var o in n)t(e,o,{get:n[o],enumerable:!0})})({},{err:()=>U,map:()=>D,ok:()=>T,unwrap:()=>W,unwrapErr:()=>_});var T=t=>({isOk:!0,isErr:!1,value:t}),U=t=>({isOk:!1,isErr:!0,value:t});function D(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>T(t))):T(n)}if(t.isErr)return U(t.value);throw"should never get here"}var F,L,B,W=t=>{if(t.isOk)return t.value;throw t.value},_=t=>{if(t.isErr)return t.value;throw t.value},H=(t,e,...n)=>{let o=null,s=null,l=null,r=!1,i=!1;const c=[],f=e=>{for(let n=0;n<e.length;n++)o=e[n],Array.isArray(o)?f(o):null!=o&&"boolean"!=typeof o&&((r="function"!=typeof t&&!P(o))&&(o+=""),r&&i?c[c.length-1].i+=o:c.push(r?J(null,o):o),i=r)};if(f(n),e){e.key&&(s=e.key),e.name&&(l=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,c,G);const u=J(t,null);return u.u=e,c.length>0&&(u.h=c),u.$=s,u.p=l,u},J=(t,e)=>({o:0,v:t,i:e,j:null,h:null,u:null,$:null,p:null}),q={},G={forEach:(t,e)=>t.map(V).forEach(e),map:(t,e)=>t.map(V).map(e).map(z)},V=t=>({vattrs:t.u,vchildren:t.h,vkey:t.$,vname:t.p,vtag:t.v,vtext:t.i}),z=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),H(t.vtag,e,...t.vchildren||[])}const e=J(t.vtag,t.vtext);return e.u=t.vattrs,e.h=t.vchildren,e.$=t.vkey,e.p=t.vname,e},K=(t,e,n,o,s,l,r)=>{let i,c,f,u;if(1===l.nodeType){if(i=l.getAttribute(a),i&&(c=i.split("."),c[0]!==r&&"0"!==c[0]||(f={o:0,O:c[0],k:c[1],S:c[2],C:c[3],v:l.tagName.toLowerCase(),j:l,u:null,h:null,$:null,p:null,i:null},e.push(f),l.removeAttribute(a),t.h||(t.h=[]),t.h[f.C]=f,t=f,o&&"0"===f.S&&(o[f.C]=f.j))),l.shadowRoot)for(u=l.shadowRoot.childNodes.length-1;u>=0;u--)K(t,e,n,o,s,l.shadowRoot.childNodes[u],r);for(u=l.childNodes.length-1;u>=0;u--)K(t,e,n,o,s,l.childNodes[u],r)}else if(8===l.nodeType)c=l.nodeValue.split("."),c[1]!==r&&"0"!==c[1]||(i=c[0],f={o:0,O:c[1],k:c[2],S:c[3],C:c[4],j:l,u:null,h:null,$:null,p:null,v:null,i:null},"t"===i?(f.j=l.nextSibling,f.j&&3===f.j.nodeType&&(f.i=f.j.textContent,e.push(f),l.remove(),t.h||(t.h=[]),t.h[f.C]=f,o&&"0"===f.S&&(o[f.C]=f.j))):f.O===r&&("s"===i?(f.v="slot",l["s-sn"]=c[5]?f.p=c[5]:"",l["s-sr"]=!0,o&&(f.j=p.createElement(f.v),f.p&&f.j.setAttribute("name",f.p),l.parentNode.insertBefore(f.j,l),l.remove(),"0"===f.S&&(o[f.C]=f.j)),n.push(f),t.h||(t.h=[]),t.h[f.C]=f):"r"===i&&(o?l.remove():(s["s-cr"]=l,l["s-cn"]=!0))));else if(t&&"style"===t.v){const e=J(null,l.textContent);e.j=l,e.C="0",t.h=[e]}},Q=(t,e)=>{if(1===t.nodeType){let n=0;if(t.shadowRoot)for(;n<t.shadowRoot.childNodes.length;n++)Q(t.shadowRoot.childNodes[n],e);for(n=0;n<t.childNodes.length;n++)Q(t.childNodes[n],e)}else if(8===t.nodeType){const n=t.nodeValue.split(".");"o"===n[0]&&(e.set(n[1]+"."+n[2],t),t.nodeValue="",t["s-en"]=n[3])}},X=t=>f.push(t),Y=t=>o(t).N,Z=t=>o(t).$hostElement$,tt=(t,e,n)=>{const o=Z(t);return{emit:t=>et(o,e,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:t})}},et=(t,e,n)=>{const o=v.ce(e,n);return t.dispatchEvent(o),o},nt=new WeakMap,ot=(t,e,n)=>{var o;const s=st(e,n),l=c.get(s);if(t=11===t.nodeType?t:p,l)if("string"==typeof l){let n,r=nt.get(t=t.head||t);if(r||nt.set(t,r=new Set),!r.has(s)){if(t.host&&(n=t.querySelector(`[sty-id="${s}"]`)))n.innerHTML=l;else{n=p.createElement("style"),n.innerHTML=l;const s=null!=(o=v.M)?o:I(p);null!=s&&n.setAttribute("nonce",s),(!(1&e.o)||1&e.o&&"HEAD"!==t.nodeName)&&t.insertBefore(n,t.querySelector("link"))}4&e.o&&(n.innerHTML+=d),r&&r.add(s)}}else t.adoptedStyleSheets.includes(l)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,l]);return s},st=(t,e)=>"sc-"+(e&&32&t.o?t.R+"-"+e:t.R),lt=(t,e,n,o,s,r)=>{if(n!==o){let i=l(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,s=it(n),l=it(o);e.remove(...s.filter((t=>t&&!l.includes(t)))),e.add(...l.filter((t=>t&&!s.includes(t))))}else if("style"===e){for(const e in n)o&&null!=o[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in o)n&&o[e]===n[e]||(e.includes("-")?t.style.setProperty(e,o[e]):t.style[e]=o[e])}else if("key"===e);else if("ref"===e)o&&o(t);else if(i||"o"!==e[0]||"n"!==e[1]){const l=P(o);if((i||l&&null!==o)&&!s)try{if(t.tagName.includes("-"))t[e]=o;else{const s=null==o?"":o;"list"===e?i=!1:null!=n&&t[e]==s||(t[e]=s)}}catch(t){}let f=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(e=c,f=!0),null==o||!1===o?!1===o&&""!==t.getAttribute(e)||(f?t.removeAttributeNS(h,e):t.removeAttribute(e)):(!i||4&r||s)&&!l&&(o=!0===o?"":o,f?t.setAttributeNS(h,e,o):t.setAttribute(e,o))}else if(e="-"===e[2]?e.slice(3):l($,c)?c.slice(2):c[2]+e.slice(3),n||o){const s=e.endsWith(ct);e=e.replace(ft,""),n&&v.rel(t,e,n,s),o&&v.ael(t,e,o,s)}}},rt=/\s/,it=t=>t?t.split(rt):[],ct="Capture",ft=RegExp(ct+"$"),ut=(t,e,n)=>{const o=11===e.j.nodeType&&e.j.host?e.j.host:e.j,s=t&&t.u||A,l=e.u||A;for(const t of at(Object.keys(s)))t in l||lt(o,t,s[t],void 0,n,e.o);for(const t of at(Object.keys(l)))lt(o,t,s[t],l[t],n,e.o)};function at(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var dt=!1,ht=!1,$t=!1,pt=!1,mt=(t,e,n,o)=>{var s;const l=e.h[n];let r,i,c,f=0;if(dt||($t=!0,"slot"===l.v&&(F&&o.classList.add(F+"-s"),l.o|=l.h?2:1)),null!==l.i)r=l.j=p.createTextNode(l.i);else if(1&l.o)r=l.j=p.createTextNode("");else{if(pt||(pt="svg"===l.v),r=l.j=p.createElementNS(pt?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!dt&&2&l.o?"slot-fb":l.v),pt&&"foreignObject"===l.v&&(pt=!1),ut(null,l,pt),!!r.getRootNode().querySelector("body")&&null!=F&&r["s-si"]!==F&&r.classList.add(r["s-si"]=F),At(r,o),l.h)for(f=0;f<l.h.length;++f)i=mt(t,l,f,r),i&&r.appendChild(i);"svg"===l.v?pt=!1:"foreignObject"===r.tagName&&(pt=!0)}return r["s-hn"]=B,3&l.o&&(r["s-sr"]=!0,r["s-cr"]=L,r["s-sn"]=l.p||"",r["s-rf"]=null==(s=l.u)?void 0:s.ref,c=t&&t.h&&t.h[n],c&&c.v===l.v&&t.j&&vt(t.j)),r},vt=t=>{v.o|=1;const e=t.closest(B.toLowerCase());if(null!=e){const n=Array.from(e.childNodes).find((t=>t["s-cr"])),o=Array.from(t.childNodes);for(const t of n?o.reverse():o)null!=t["s-sh"]&&(Mt(e,t,null!=n?n:null),t["s-sh"]=void 0,$t=!0)}v.o&=-2},yt=(t,e)=>{v.o|=1;const n=Array.from(t.childNodes);if(t["s-sr"]){let e=t;for(;e=e.nextSibling;)e&&e["s-sn"]===t["s-sn"]&&e["s-sh"]===B&&n.push(e)}for(let t=n.length-1;t>=0;t--){const o=n[t];o["s-hn"]!==B&&o["s-ol"]&&(Mt(Ot(o),o,jt(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,$t=!0),e&&yt(o,e)}v.o&=-2},bt=(t,e,n,o,s,l)=>{let r,i=t["s-cr"]&&t["s-cr"].parentNode||t;for(i.shadowRoot&&i.tagName===B&&(i=i.shadowRoot);s<=l;++s)o[s]&&(r=mt(null,n,s,t),r&&(o[s].j=r,Mt(i,r,jt(e))))},wt=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.j;Nt(e),t&&(ht=!0,t["s-ol"]?t["s-ol"].remove():yt(t,!0),t.remove())}}},gt=(t,e,n=!1)=>!(t.v!==e.v||("slot"===t.v?"k"in t&&n&&8!==t.j.nodeType||t.p!==e.p:!n&&t.$!==e.$)),jt=t=>t&&t["s-ol"]||t,Ot=t=>(t["s-ol"]?t["s-ol"]:t).parentNode,kt=(t,e,n=!1)=>{const o=e.j=t.j,s=t.h,l=e.h,r=e.v,i=e.i;let c;null===i?(pt="svg"===r||"foreignObject"!==r&&pt,"slot"!==r||dt?ut(t,e,pt):t.p!==e.p&&(e.j["s-sn"]=e.p||"",vt(e.j.parentElement)),null!==s&&null!==l?((t,e,n,o,s=!1)=>{let l,r,i=0,c=0,f=0,u=0,a=e.length-1,d=e[0],h=e[a],$=o.length-1,p=o[0],m=o[$];for(;i<=a&&c<=$;)if(null==d)d=e[++i];else if(null==h)h=e[--a];else if(null==p)p=o[++c];else if(null==m)m=o[--$];else if(gt(d,p,s))kt(d,p,s),d=e[++i],p=o[++c];else if(gt(h,m,s))kt(h,m,s),h=e[--a],m=o[--$];else if(gt(d,m,s))"slot"!==d.v&&"slot"!==m.v||yt(d.j.parentNode,!1),kt(d,m,s),Mt(t,d.j,h.j.nextSibling),d=e[++i],m=o[--$];else if(gt(h,p,s))"slot"!==d.v&&"slot"!==m.v||yt(h.j.parentNode,!1),kt(h,p,s),Mt(t,h.j,d.j),h=e[--a],p=o[++c];else{for(f=-1,u=i;u<=a;++u)if(e[u]&&null!==e[u].$&&e[u].$===p.$){f=u;break}f>=0?(r=e[f],r.v!==p.v?l=mt(e&&e[c],n,f,t):(kt(r,p,s),e[f]=void 0,l=r.j),p=o[++c]):(l=mt(e&&e[c],n,c,t),p=o[++c]),l&&Mt(Ot(d.j),l,jt(d.j))}i>a?bt(t,null==o[$+1]?null:o[$+1].j,n,o,c,$):c>$&&wt(e,i,a)})(o,s,e,l,n):null!==l?(null!==t.i&&(o.textContent=""),bt(o,null,e,l,0,l.length-1)):!n&&null!==s&&wt(s,0,s.length-1),pt&&"svg"===r&&(pt=!1)):(c=o["s-cr"])?c.parentNode.textContent=i:t.i!==i&&(o.data=i)},St=t=>{const e=t.childNodes;for(const t of e)if(1===t.nodeType){if(t["s-sr"]){const n=t["s-sn"];t.hidden=!1;for(const o of e)if(o!==t)if(o["s-hn"]!==t["s-hn"]||""!==n){if(1===o.nodeType&&(n===o.getAttribute("slot")||n===o["s-sn"])||3===o.nodeType&&n===o["s-sn"]){t.hidden=!0;break}}else if(1===o.nodeType||3===o.nodeType&&""!==o.textContent.trim()){t.hidden=!0;break}}St(t)}},xt=[],Ct=t=>{let e,n,o;for(const s of t.childNodes){if(s["s-sr"]&&(e=s["s-cr"])&&e.parentNode){n=e.parentNode.childNodes;const t=s["s-sn"];for(o=n.length-1;o>=0;o--)if(e=n[o],!(e["s-cn"]||e["s-nr"]||e["s-hn"]===s["s-hn"]||e["s-sh"]&&e["s-sh"]===s["s-hn"]))if(Et(e,t)){let n=xt.find((t=>t.A===e));ht=!0,e["s-sn"]=e["s-sn"]||t,n?(n.A["s-sh"]=s["s-hn"],n.P=s):(e["s-sh"]=s["s-hn"],xt.push({P:s,A:e})),e["s-sr"]&&xt.map((t=>{Et(t.A,e["s-sn"])&&(n=xt.find((t=>t.A===e)),n&&!t.P&&(t.P=n.P))}))}else xt.some((t=>t.A===e))||xt.push({A:e})}1===s.nodeType&&Ct(s)}},Et=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,Nt=t=>{t.u&&t.u.ref&&t.u.ref(null),t.h&&t.h.map(Nt)},Mt=(t,e,n)=>{const o=null==t?void 0:t.insertBefore(e,n);return At(e,t),o},Rt=t=>{const e=[];return t&&e.push(...t["s-scs"]||[],t["s-si"],t["s-sc"],...Rt(t.parentElement)),e},At=(t,e,n=!1)=>{var o;if(t&&e&&1===t.nodeType){const s=new Set(Rt(e).filter(Boolean));if(s.size&&(null==(o=t.classList)||o.add(...t["s-scs"]=[...s]),t["s-ol"]||n))for(const e of Array.from(t.childNodes))At(e,t,!0)}},Pt=(t,e)=>{e&&!t.I&&e["s-p"]&&e["s-p"].push(new Promise((e=>t.I=e)))},It=(t,e)=>{if(t.o|=16,!(4&t.o))return Pt(t,t.T),M((()=>Tt(t,e)));t.o|=512},Tt=(t,e)=>{const n=t.t;if(!n)throw Error(`Can't render component <${t.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let o;return e&&(t.o|=256,t.U&&(t.U.map((([t,e])=>Ht(n,t,e))),t.U=void 0),o=Ht(n,"componentWillLoad")),o=Ut(o,(()=>Ht(n,"componentWillRender"))),Ut(o,(()=>Ft(t,n,e)))},Ut=(t,e)=>Dt(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),Dt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Ft=async(t,e,n)=>{var o;const s=t.$hostElement$,l=s["s-rc"];n&&(t=>{const e=t.D,n=t.$hostElement$,o=e.o,s=ot(n.shadowRoot?n.shadowRoot:n.getRootNode(),e,t.N);10&o&&2&o&&(n["s-sc"]=s,n.classList.add(s+"-h"),2&o&&n.classList.add(s+"-s"))})(t);Lt(t,e,s,n),l&&(l.map((t=>t())),s["s-rc"]=void 0);{const e=null!=(o=s["s-p"])?o:[],n=()=>Bt(t);0===e.length?n():(Promise.all(e).then(n),t.o|=4,e.length=0)}},Lt=(t,e,n,o)=>{try{e=e.render&&e.render(),t.o&=-17,t.o|=2,((t,e,n=!1)=>{var o,s,l,r,i;const c=t.$hostElement$,f=t.D,u=t.F||J(null,null),a=(t=>t&&t.v===q)(e)?e:H(null,null,e);if(B=c.tagName,f.L&&(a.u=a.u||{},f.L.map((([t,e])=>a.u[e]=c[t]))),n&&a.u)for(const t of Object.keys(a.u))c.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(a.u[t]=c[t]);if(a.v=null,a.o|=4,t.F=a,a.j=u.j=c.shadowRoot||c,F=c["s-sc"],dt=!!(1&f.o),L=c["s-cr"],ht=!1,kt(u,a,n),v.o|=1,$t){Ct(a.j);for(const t of xt){const e=t.A;if(!e["s-ol"]){const t=p.createTextNode("");t["s-nr"]=e,Mt(e.parentNode,e["s-ol"]=t,e)}}for(const t of xt){const e=t.A,i=t.P;if(i){const t=i.parentNode;let n=i.nextSibling;if(n&&1===n.nodeType){let l=null==(o=e["s-ol"])?void 0:o.previousSibling;for(;l;){let o=null!=(s=l["s-nr"])?s:null;if(o&&o["s-sn"]===e["s-sn"]&&t===o.parentNode){for(o=o.nextSibling;o===e||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){n=o;break}}l=l.previousSibling}}(!n&&t!==e.parentNode||e.nextSibling!==n)&&e!==n&&(Mt(t,e,n),1===e.nodeType&&(e.hidden=null!=(l=e["s-ih"])&&l)),e&&"function"==typeof i["s-rf"]&&i["s-rf"](e)}else 1===e.nodeType&&(n&&(e["s-ih"]=null!=(r=e.hidden)&&r),e.hidden=!0)}}if(ht&&St(a.j),v.o&=-2,xt.length=0,2&f.o)for(const t of a.j.childNodes)t["s-hn"]===B||t["s-sh"]||(n&&null==t["s-ih"]&&(t["s-ih"]=null!=(i=t.hidden)&&i),t.hidden=!0);L=void 0})(t,e,o)}catch(e){r(e,t.$hostElement$)}return null},Bt=t=>{const e=t.$hostElement$,n=t.t,o=t.T;Ht(n,"componentDidRender"),64&t.o?Ht(n,"componentDidUpdate"):(t.o|=64,Jt(e),Ht(n,"componentDidLoad"),t.B(e),o||_t()),t.W(e),t.I&&(t.I(),t.I=void 0),512&t.o&&E((()=>It(t,!1))),t.o&=-517},Wt=t=>{{const e=o(t),n=e.$hostElement$.isConnected;return n&&2==(18&e.o)&&It(e,!1),n}},_t=()=>{Jt(p.documentElement),E((()=>et($,"appload",{detail:{namespace:"ionic"}})))},Ht=(t,e,n)=>{if(t&&t[e])try{return t[e](n)}catch(t){r(t)}},Jt=t=>t.classList.add("hydrated"),qt=(t,e,n)=>{var s,l;const i=t.prototype;if(e._||e.H||t.watchers){t.watchers&&!e.H&&(e.H=t.watchers);const c=Object.entries(null!=(s=e._)?s:{});if(c.map((([t,[s]])=>{31&s||2&n&&32&s?Object.defineProperty(i,t,{get(){return((t,e)=>o(this).J.get(e))(0,t)},set(n){((t,e,n,s)=>{const l=o(t);if(!l)throw Error(`Couldn't find host element for "${s.R}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=l.$hostElement$,c=l.J.get(e),f=l.o,u=l.t;if(n=((t,e)=>null==t||P(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?parseFloat(t):1&e?t+"":t)(n,s._[e][0]),(!(8&f)||void 0===c)&&n!==c&&(!Number.isNaN(c)||!Number.isNaN(n))&&(l.J.set(e,n),u)){if(s.H&&128&f){const t=s.H[e];t&&t.map((t=>{try{u[t](n,c,e)}catch(t){r(t,i)}}))}2==(18&f)&&It(l,!1)}})(this,t,n,e)},configurable:!0,enumerable:!0}):1&n&&64&s&&Object.defineProperty(i,t,{value(...e){var n;const s=o(this);return null==(n=null==s?void 0:s.q)?void 0:n.then((()=>{var n;return null==(n=s.t)?void 0:n[t](...e)}))}})})),1&n){const n=new Map;i.attributeChangedCallback=function(t,s,l){v.jmp((()=>{var r;const c=n.get(t);if(this.hasOwnProperty(c))l=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==l)return;if(null==c){const n=o(this),i=null==n?void 0:n.o;if(i&&!(8&i)&&128&i&&l!==s){const o=n.t,i=null==(r=e.H)?void 0:r[t];null==i||i.forEach((e=>{null!=o[e]&&o[e].call(o,l,s,t)}))}return}}this[c]=(null!==l||"boolean"!=typeof this[c])&&l}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(l=e.H)?l:{}),...c.filter((([t,e])=>15&e[0])).map((([t,o])=>{var s;const l=o[1]||t;return n.set(l,t),512&o[0]&&(null==(s=e.L)||s.push([t,l])),l}))]))}}return t},Gt=t=>{Ht(t,"connectedCallback")},Vt=t=>{if(!(1&v.o)){const e=o(t),n=e.D,s=()=>{};if(1&e.o)ae(t,e,n.G),(null==e?void 0:e.t)?Gt(e.t):(null==e?void 0:e.V)&&e.V.then((()=>Gt(e.t)));else{let o;if(e.o|=1,o=t.getAttribute(u),o){if(1&n.o){const e=ot(t.shadowRoot,n,t.getAttribute("s-mode"));t.classList.remove(e+"-h",e+"-s")}((t,e,n,o)=>{const s=t.shadowRoot,l=[],r=s?[]:null,i=o.F=J(e,null);v.K||Q(p.body,v.K=new Map),t[u]=n,t.removeAttribute(u),K(i,l,[],r,t,t,n),l.map((t=>{const n=t.O+"."+t.k,o=v.K.get(n),l=t.j;o&&""===o["s-en"]&&o.parentNode.insertBefore(l,o.nextSibling),s||(l["s-hn"]=e,o&&(l["s-ol"]=o,l["s-ol"]["s-nr"]=l)),v.K.delete(n)})),s&&r.map((t=>{t&&s.appendChild(t)}))})(t,n.R,o,e)}o||12&n.o&&zt(t);{let n=t;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){Pt(e,e.T=n);break}}n._&&Object.entries(n._).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let o;if(!(32&e.o)){if(e.o|=32,n.X){const t=(t=>{const e=t.R.replace(/-/g,"_"),n=t.X;if(!n)return;const o=i.get(n);return o?o[e]:import(`./${n}.entry.js`).then((t=>(i.set(n,t),t[e])),r)
|
|
5
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(t&&"then"in t){const e=()=>{};o=await t,e()}else o=t;if(!o)throw Error(`Constructor for "${n.
|
|
4
|
+
var t=Object.defineProperty,e={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},n=new WeakMap,o=t=>n.get(t),s=(t,e)=>n.set(e.t=t,e),l=(t,e)=>e in t,r=(t,e)=>(0,console.error)(t,e),i=new Map,c=new Map,f=[],u="s-id",a="c-id",d="slot-fb{display:contents}slot-fb[hidden]{display:none}",h="http://www.w3.org/1999/xlink",$="undefined"!=typeof window?window:{},p=$.document||{head:{}},m=$.HTMLElement||class{},v={o:0,l:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},y=t=>{Object.assign(v,t)},b=!0,w=t=>Promise.resolve(t),g=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),j=!1,k=[],O=[],S=(t,e)=>n=>{t.push(n),j||(j=!0,e&&4&v.o?E(C):v.raf(C))},x=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){r(t)}t.length=0},C=()=>{x(k),x(O),(j=k.length>0)&&v.raf(C)},E=t=>w().then(t),M=S(k,!1),A=S(O,!0),R=t=>{const e=new URL(t,v.l);return e.origin!==$.location.origin?e.href:e.pathname},P={},N=t=>"object"==(t=typeof t)||"function"===t;function T(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((e,n)=>{for(var o in n)t(e,o,{get:n[o],enumerable:!0})})({},{err:()=>I,map:()=>L,ok:()=>D,unwrap:()=>_,unwrapErr:()=>B});var D=t=>({isOk:!0,isErr:!1,value:t}),I=t=>({isOk:!1,isErr:!0,value:t});function L(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>D(t))):D(n)}if(t.isErr)return I(t.value);throw"should never get here"}var U,F,W,_=t=>{if(t.isOk)return t.value;throw t.value},B=t=>{if(t.isErr)return t.value;throw t.value},H=(t,e,...n)=>{let o=null,s=null,l=null,r=!1,i=!1;const c=[],f=e=>{for(let n=0;n<e.length;n++)o=e[n],Array.isArray(o)?f(o):null!=o&&"boolean"!=typeof o&&((r="function"!=typeof t&&!N(o))&&(o+=""),r&&i?c[c.length-1].i+=o:c.push(r?q(null,o):o),i=r)};if(f(n),e){e.key&&(s=e.key),e.name&&(l=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,c,V);const u=q(t,null);return u.u=e,c.length>0&&(u.h=c),u.$=s,u.p=l,u},q=(t,e)=>({o:0,m:t,i:e,v:null,h:null,u:null,$:null,p:null}),G={},V={forEach:(t,e)=>t.map(z).forEach(e),map:(t,e)=>t.map(z).map(e).map(J)},z=t=>({vattrs:t.u,vchildren:t.h,vkey:t.$,vname:t.p,vtag:t.m,vtext:t.i}),J=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),H(t.vtag,e,...t.vchildren||[])}const e=q(t.vtag,t.vtext);return e.u=t.vattrs,e.h=t.vchildren,e.$=t.vkey,e.p=t.vname,e},K=(t,e,n,o,s,l,r)=>{let i,c,f,u;if(1===l.nodeType){if(i=l.getAttribute(a),i&&(c=i.split("."),c[0]!==r&&"0"!==c[0]||(f={o:0,j:c[0],k:c[1],O:c[2],S:c[3],m:l.tagName.toLowerCase(),v:l,u:null,h:null,$:null,p:null,i:null},e.push(f),l.removeAttribute(a),t.h||(t.h=[]),t.h[f.S]=f,t=f,o&&"0"===f.O&&(o[f.S]=f.v))),l.shadowRoot)for(u=l.shadowRoot.childNodes.length-1;u>=0;u--)K(t,e,n,o,s,l.shadowRoot.childNodes[u],r);for(u=l.childNodes.length-1;u>=0;u--)K(t,e,n,o,s,l.childNodes[u],r)}else if(8===l.nodeType)c=l.nodeValue.split("."),c[1]!==r&&"0"!==c[1]||(i=c[0],f={o:0,j:c[1],k:c[2],O:c[3],S:c[4],v:l,u:null,h:null,$:null,p:null,m:null,i:null},"t"===i?(f.v=l.nextSibling,f.v&&3===f.v.nodeType&&(f.i=f.v.textContent,e.push(f),l.remove(),t.h||(t.h=[]),t.h[f.S]=f,o&&"0"===f.O&&(o[f.S]=f.v))):f.j===r&&("s"===i?(f.m="slot",l["s-sn"]=c[5]?f.p=c[5]:"",l["s-sr"]=!0,o&&(f.v=p.createElement(f.m),f.p&&f.v.setAttribute("name",f.p),l.parentNode.insertBefore(f.v,l),l.remove(),"0"===f.O&&(o[f.S]=f.v)),n.push(f),t.h||(t.h=[]),t.h[f.S]=f):"r"===i&&(o?l.remove():(s["s-cr"]=l,l["s-cn"]=!0))));else if(t&&"style"===t.m){const e=q(null,l.textContent);e.v=l,e.S="0",t.h=[e]}},Q=(t,e)=>{if(1===t.nodeType){let n=0;if(t.shadowRoot)for(;n<t.shadowRoot.childNodes.length;n++)Q(t.shadowRoot.childNodes[n],e);for(n=0;n<t.childNodes.length;n++)Q(t.childNodes[n],e)}else if(8===t.nodeType){const n=t.nodeValue.split(".");"o"===n[0]&&(e.set(n[1]+"."+n[2],t),t.nodeValue="",t["s-en"]=n[3])}},X=t=>f.push(t),Y=t=>o(t).C,Z=t=>o(t).$hostElement$,tt=(t,e,n)=>{const o=Z(t);return{emit:t=>et(o,e,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:t})}},et=(t,e,n)=>{const o=v.ce(e,n);return t.dispatchEvent(o),o},nt=new WeakMap,ot=(t,e,n)=>{var o;const s=st(e,n),l=c.get(s);if(t=11===t.nodeType?t:p,l)if("string"==typeof l){let n,r=nt.get(t=t.head||t);if(r||nt.set(t,r=new Set),!r.has(s)){if(t.host&&(n=t.querySelector(`[sty-id="${s}"]`)))n.innerHTML=l;else{n=p.createElement("style"),n.innerHTML=l;const s=null!=(o=v.M)?o:T(p);null!=s&&n.setAttribute("nonce",s),(!(1&e.o)||1&e.o&&"HEAD"!==t.nodeName)&&t.insertBefore(n,t.querySelector("link"))}4&e.o&&(n.innerHTML+=d),r&&r.add(s)}}else t.adoptedStyleSheets.includes(l)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,l]);return s},st=(t,e)=>"sc-"+(e&&32&t.o?t.A+"-"+e:t.A),lt=(t,e,n,o,s,r)=>{if(n!==o){let i=l(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,s=it(n),l=it(o);e.remove(...s.filter((t=>t&&!l.includes(t)))),e.add(...l.filter((t=>t&&!s.includes(t))))}else if("style"===e){for(const e in n)o&&null!=o[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in o)n&&o[e]===n[e]||(e.includes("-")?t.style.setProperty(e,o[e]):t.style[e]=o[e])}else if("key"===e);else if("ref"===e)o&&o(t);else if(i||"o"!==e[0]||"n"!==e[1]){const l=N(o);if((i||l&&null!==o)&&!s)try{if(t.tagName.includes("-"))t[e]=o;else{const s=null==o?"":o;"list"===e?i=!1:null!=n&&t[e]==s||(t[e]=s)}}catch(t){}let f=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(e=c,f=!0),null==o||!1===o?!1===o&&""!==t.getAttribute(e)||(f?t.removeAttributeNS(h,e):t.removeAttribute(e)):(!i||4&r||s)&&!l&&(o=!0===o?"":o,f?t.setAttributeNS(h,e,o):t.setAttribute(e,o))}else if(e="-"===e[2]?e.slice(3):l($,c)?c.slice(2):c[2]+e.slice(3),n||o){const s=e.endsWith(ct);e=e.replace(ft,""),n&&v.rel(t,e,n,s),o&&v.ael(t,e,o,s)}}},rt=/\s/,it=t=>t?t.split(rt):[],ct="Capture",ft=RegExp(ct+"$"),ut=(t,e,n)=>{const o=11===e.v.nodeType&&e.v.host?e.v.host:e.v,s=t&&t.u||P,l=e.u||P;for(const t of at(Object.keys(s)))t in l||lt(o,t,s[t],void 0,n,e.o);for(const t of at(Object.keys(l)))lt(o,t,s[t],l[t],n,e.o)};function at(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var dt=!1,ht=!1,$t=!1,pt=!1,mt=(t,e,n,o)=>{var s;const l=e.h[n];let r,i,c,f=0;if(dt||($t=!0,"slot"===l.m&&(U&&o.classList.add(U+"-s"),l.o|=l.h?2:1)),null!==l.i)r=l.v=p.createTextNode(l.i);else if(1&l.o)r=l.v=p.createTextNode("");else{if(pt||(pt="svg"===l.m),r=l.v=p.createElementNS(pt?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!dt&&2&l.o?"slot-fb":l.m),pt&&"foreignObject"===l.m&&(pt=!1),ut(null,l,pt),!!r.getRootNode().querySelector("body")&&null!=U&&r["s-si"]!==U&&r.classList.add(r["s-si"]=U),Pt(r,o),l.h)for(f=0;f<l.h.length;++f)i=mt(t,l,f,r),i&&r.appendChild(i);"svg"===l.m?pt=!1:"foreignObject"===r.tagName&&(pt=!0)}return r["s-hn"]=W,3&l.o&&(r["s-sr"]=!0,r["s-cr"]=F,r["s-sn"]=l.p||"",r["s-rf"]=null==(s=l.u)?void 0:s.ref,c=t&&t.h&&t.h[n],c&&c.m===l.m&&t.v&&vt(t.v)),r},vt=t=>{v.o|=1;const e=t.closest(W.toLowerCase());if(null!=e){const n=Array.from(e.childNodes).find((t=>t["s-cr"])),o=Array.from(t.childNodes);for(const t of n?o.reverse():o)null!=t["s-sh"]&&(At(e,t,null!=n?n:null),t["s-sh"]=void 0,$t=!0)}v.o&=-2},yt=(t,e)=>{v.o|=1;const n=Array.from(t.childNodes);if(t["s-sr"]){let e=t;for(;e=e.nextSibling;)e&&e["s-sn"]===t["s-sn"]&&e["s-sh"]===W&&n.push(e)}for(let t=n.length-1;t>=0;t--){const o=n[t];o["s-hn"]!==W&&o["s-ol"]&&(At(kt(o),o,jt(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,$t=!0),e&&yt(o,e)}v.o&=-2},bt=(t,e,n,o,s,l)=>{let r,i=t["s-cr"]&&t["s-cr"].parentNode||t;for(i.shadowRoot&&i.tagName===W&&(i=i.shadowRoot);s<=l;++s)o[s]&&(r=mt(null,n,s,t),r&&(o[s].v=r,At(i,r,jt(e))))},wt=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.v;Mt(e),t&&(ht=!0,t["s-ol"]?t["s-ol"].remove():yt(t,!0),t.remove())}}},gt=(t,e,n=!1)=>!(t.m!==e.m||("slot"===t.m?"k"in t&&n&&8!==t.v.nodeType||t.p!==e.p:!n&&t.$!==e.$)),jt=t=>t&&t["s-ol"]||t,kt=t=>(t["s-ol"]?t["s-ol"]:t).parentNode,Ot=(t,e,n=!1)=>{const o=e.v=t.v,s=t.h,l=e.h,r=e.m,i=e.i;let c;null===i?(pt="svg"===r||"foreignObject"!==r&&pt,"slot"!==r||dt?ut(t,e,pt):t.p!==e.p&&(e.v["s-sn"]=e.p||"",vt(e.v.parentElement)),null!==s&&null!==l?((t,e,n,o,s=!1)=>{let l,r,i=0,c=0,f=0,u=0,a=e.length-1,d=e[0],h=e[a],$=o.length-1,p=o[0],m=o[$];for(;i<=a&&c<=$;)if(null==d)d=e[++i];else if(null==h)h=e[--a];else if(null==p)p=o[++c];else if(null==m)m=o[--$];else if(gt(d,p,s))Ot(d,p,s),d=e[++i],p=o[++c];else if(gt(h,m,s))Ot(h,m,s),h=e[--a],m=o[--$];else if(gt(d,m,s))"slot"!==d.m&&"slot"!==m.m||yt(d.v.parentNode,!1),Ot(d,m,s),At(t,d.v,h.v.nextSibling),d=e[++i],m=o[--$];else if(gt(h,p,s))"slot"!==d.m&&"slot"!==m.m||yt(h.v.parentNode,!1),Ot(h,p,s),At(t,h.v,d.v),h=e[--a],p=o[++c];else{for(f=-1,u=i;u<=a;++u)if(e[u]&&null!==e[u].$&&e[u].$===p.$){f=u;break}f>=0?(r=e[f],r.m!==p.m?l=mt(e&&e[c],n,f,t):(Ot(r,p,s),e[f]=void 0,l=r.v),p=o[++c]):(l=mt(e&&e[c],n,c,t),p=o[++c]),l&&At(kt(d.v),l,jt(d.v))}i>a?bt(t,null==o[$+1]?null:o[$+1].v,n,o,c,$):c>$&&wt(e,i,a)})(o,s,e,l,n):null!==l?(null!==t.i&&(o.textContent=""),bt(o,null,e,l,0,l.length-1)):!n&&null!==s&&wt(s,0,s.length-1),pt&&"svg"===r&&(pt=!1)):(c=o["s-cr"])?c.parentNode.textContent=i:t.i!==i&&(o.data=i)},St=t=>{const e=t.childNodes;for(const t of e)if(1===t.nodeType){if(t["s-sr"]){const n=t["s-sn"];t.hidden=!1;for(const o of e)if(o!==t)if(o["s-hn"]!==t["s-hn"]||""!==n){if(1===o.nodeType&&(n===o.getAttribute("slot")||n===o["s-sn"])||3===o.nodeType&&n===o["s-sn"]){t.hidden=!0;break}}else if(1===o.nodeType||3===o.nodeType&&""!==o.textContent.trim()){t.hidden=!0;break}}St(t)}},xt=[],Ct=t=>{let e,n,o;for(const s of t.childNodes){if(s["s-sr"]&&(e=s["s-cr"])&&e.parentNode){n=e.parentNode.childNodes;const t=s["s-sn"];for(o=n.length-1;o>=0;o--)if(e=n[o],!(e["s-cn"]||e["s-nr"]||e["s-hn"]===s["s-hn"]||e["s-sh"]&&e["s-sh"]===s["s-hn"]))if(Et(e,t)){let n=xt.find((t=>t.R===e));ht=!0,e["s-sn"]=e["s-sn"]||t,n?(n.R["s-sh"]=s["s-hn"],n.P=s):(e["s-sh"]=s["s-hn"],xt.push({P:s,R:e})),e["s-sr"]&&xt.map((t=>{Et(t.R,e["s-sn"])&&(n=xt.find((t=>t.R===e)),n&&!t.P&&(t.P=n.P))}))}else xt.some((t=>t.R===e))||xt.push({R:e})}1===s.nodeType&&Ct(s)}},Et=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,Mt=t=>{t.u&&t.u.ref&&t.u.ref(null),t.h&&t.h.map(Mt)},At=(t,e,n)=>{const o=null==t?void 0:t.insertBefore(e,n);return Pt(e,t),o},Rt=t=>{const e=[];return t&&e.push(...t["s-scs"]||[],t["s-si"],t["s-sc"],...Rt(t.parentElement)),e},Pt=(t,e,n=!1)=>{var o;if(t&&e&&1===t.nodeType){const s=new Set(Rt(e).filter(Boolean));if(s.size&&(null==(o=t.classList)||o.add(...t["s-scs"]=[...s]),t["s-ol"]||n))for(const e of Array.from(t.childNodes))Pt(e,t,!0)}},Nt=(t,e)=>{e&&!t.N&&e["s-p"]&&e["s-p"].push(new Promise((e=>t.N=e)))},Tt=(t,e)=>{if(t.o|=16,!(4&t.o))return Nt(t,t.T),A((()=>Dt(t,e)));t.o|=512},Dt=(t,e)=>{const n=t.t;if(!n)throw Error(`Can't render component <${t.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let o;return e&&(t.o|=256,t.D&&(t.D.map((([t,e])=>Ht(n,t,e))),t.D=void 0),o=Ht(n,"componentWillLoad")),o=It(o,(()=>Ht(n,"componentWillRender"))),It(o,(()=>Ut(t,n,e)))},It=(t,e)=>Lt(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),Lt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Ut=async(t,e,n)=>{var o;const s=t.$hostElement$,l=s["s-rc"];n&&(t=>{const e=t.I,n=t.$hostElement$,o=e.o,s=ot(n.shadowRoot?n.shadowRoot:n.getRootNode(),e,t.C);10&o&&2&o&&(n["s-sc"]=s,n.classList.add(s+"-h"),2&o&&n.classList.add(s+"-s"))})(t);Ft(t,e,s,n),l&&(l.map((t=>t())),s["s-rc"]=void 0);{const e=null!=(o=s["s-p"])?o:[],n=()=>Wt(t);0===e.length?n():(Promise.all(e).then(n),t.o|=4,e.length=0)}},Ft=(t,e,n,o)=>{try{e=e.render&&e.render(),t.o&=-17,t.o|=2,((t,e,n=!1)=>{var o,s,l,r,i;const c=t.$hostElement$,f=t.I,u=t.L||q(null,null),a=(t=>t&&t.m===G)(e)?e:H(null,null,e);if(W=c.tagName,f.U&&(a.u=a.u||{},f.U.map((([t,e])=>a.u[e]=c[t]))),n&&a.u)for(const t of Object.keys(a.u))c.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(a.u[t]=c[t]);if(a.m=null,a.o|=4,t.L=a,a.v=u.v=c.shadowRoot||c,U=c["s-sc"],dt=!!(1&f.o),F=c["s-cr"],ht=!1,Ot(u,a,n),v.o|=1,$t){Ct(a.v);for(const t of xt){const e=t.R;if(!e["s-ol"]){const t=p.createTextNode("");t["s-nr"]=e,At(e.parentNode,e["s-ol"]=t,e)}}for(const t of xt){const e=t.R,i=t.P;if(i){const t=i.parentNode;let n=i.nextSibling;if(n&&1===n.nodeType){let l=null==(o=e["s-ol"])?void 0:o.previousSibling;for(;l;){let o=null!=(s=l["s-nr"])?s:null;if(o&&o["s-sn"]===e["s-sn"]&&t===o.parentNode){for(o=o.nextSibling;o===e||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){n=o;break}}l=l.previousSibling}}(!n&&t!==e.parentNode||e.nextSibling!==n)&&e!==n&&(At(t,e,n),1===e.nodeType&&(e.hidden=null!=(l=e["s-ih"])&&l)),e&&"function"==typeof i["s-rf"]&&i["s-rf"](e)}else 1===e.nodeType&&(n&&(e["s-ih"]=null!=(r=e.hidden)&&r),e.hidden=!0)}}if(ht&&St(a.v),v.o&=-2,xt.length=0,2&f.o)for(const t of a.v.childNodes)t["s-hn"]===W||t["s-sh"]||(n&&null==t["s-ih"]&&(t["s-ih"]=null!=(i=t.hidden)&&i),t.hidden=!0);F=void 0})(t,e,o)}catch(e){r(e,t.$hostElement$)}return null},Wt=t=>{const e=t.$hostElement$,n=t.t,o=t.T;Ht(n,"componentDidRender"),64&t.o?Ht(n,"componentDidUpdate"):(t.o|=64,qt(e),Ht(n,"componentDidLoad"),t.F(e),o||Bt()),t.W(e),t.N&&(t.N(),t.N=void 0),512&t.o&&E((()=>Tt(t,!1))),t.o&=-517},_t=t=>{{const e=o(t),n=e.$hostElement$.isConnected;return n&&2==(18&e.o)&&Tt(e,!1),n}},Bt=()=>{qt(p.documentElement),E((()=>et($,"appload",{detail:{namespace:"ionic"}})))},Ht=(t,e,n)=>{if(t&&t[e])try{return t[e](n)}catch(t){r(t)}},qt=t=>t.classList.add("hydrated"),Gt=(t,e,n)=>{var s,l;const i=t.prototype;if(e._||e.B||t.watchers){t.watchers&&!e.B&&(e.B=t.watchers);const c=Object.entries(null!=(s=e._)?s:{});if(c.map((([t,[s]])=>{31&s||2&n&&32&s?Object.defineProperty(i,t,{get(){return((t,e)=>o(this).H.get(e))(0,t)},set(n){((t,e,n,s)=>{const l=o(t);if(!l)throw Error(`Couldn't find host element for "${s.A}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=l.$hostElement$,c=l.H.get(e),f=l.o,u=l.t;if(n=((t,e)=>null==t||N(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?parseFloat(t):1&e?t+"":t)(n,s._[e][0]),(!(8&f)||void 0===c)&&n!==c&&(!Number.isNaN(c)||!Number.isNaN(n))&&(l.H.set(e,n),u)){if(s.B&&128&f){const t=s.B[e];t&&t.map((t=>{try{u[t](n,c,e)}catch(t){r(t,i)}}))}2==(18&f)&&Tt(l,!1)}})(this,t,n,e)},configurable:!0,enumerable:!0}):1&n&&64&s&&Object.defineProperty(i,t,{value(...e){var n;const s=o(this);return null==(n=null==s?void 0:s.q)?void 0:n.then((()=>{var n;return null==(n=s.t)?void 0:n[t](...e)}))}})})),1&n){const n=new Map;i.attributeChangedCallback=function(t,s,l){v.jmp((()=>{var r;const c=n.get(t);if(this.hasOwnProperty(c))l=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==l)return;if(null==c){const n=o(this),i=null==n?void 0:n.o;if(i&&!(8&i)&&128&i&&l!==s){const o=n.t,i=null==(r=e.B)?void 0:r[t];null==i||i.forEach((e=>{null!=o[e]&&o[e].call(o,l,s,t)}))}return}}this[c]=(null!==l||"boolean"!=typeof this[c])&&l}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(l=e.B)?l:{}),...c.filter((([t,e])=>15&e[0])).map((([t,o])=>{var s;const l=o[1]||t;return n.set(l,t),512&o[0]&&(null==(s=e.U)||s.push([t,l])),l}))]))}}return t},Vt=t=>{Ht(t,"connectedCallback")},zt=t=>{if(!(1&v.o)){const e=o(t),n=e.I,s=()=>{};if(1&e.o)ae(t,e,n.G),(null==e?void 0:e.t)?Vt(e.t):(null==e?void 0:e.V)&&e.V.then((()=>Vt(e.t)));else{let o;if(e.o|=1,o=t.getAttribute(u),o){if(1&n.o){const e=ot(t.shadowRoot,n,t.getAttribute("s-mode"));t.classList.remove(e+"-h",e+"-s")}((t,e,n,o)=>{const s=t.shadowRoot,l=[],r=s?[]:null,i=o.L=q(e,null);v.J||Q(p.body,v.J=new Map),t[u]=n,t.removeAttribute(u),K(i,l,[],r,t,t,n),l.map((t=>{const n=t.j+"."+t.k,o=v.J.get(n),l=t.v;o&&""===o["s-en"]&&o.parentNode.insertBefore(l,o.nextSibling),s||(l["s-hn"]=e,o&&(l["s-ol"]=o,l["s-ol"]["s-nr"]=l)),v.J.delete(n)})),s&&r.map((t=>{t&&s.appendChild(t)}))})(t,n.A,o,e)}o||12&n.o&&Jt(t);{let n=t;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){Nt(e,e.T=n);break}}n._&&Object.entries(n._).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let o;if(!(32&e.o)){if(e.o|=32,n.K){const t=(t=>{const e=t.A.replace(/-/g,"_"),n=t.K;if(!n)return;const o=i.get(n);return o?o[e]:import(`./${n}.entry.js`).then((t=>(i.set(n,t),t[e])),r)
|
|
5
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(t&&"then"in t){const e=()=>{};o=await t,e()}else o=t;if(!o)throw Error(`Constructor for "${n.A}#${e.C}" was not found`);o.isProxied||(n.B=o.watchers,Gt(o,n,2),o.isProxied=!0);const s=()=>{};e.o|=8;try{new o(e)}catch(t){r(t)}e.o&=-9,e.o|=128,s(),Vt(e.t)}else o=t.constructor,customElements.whenDefined(t.localName).then((()=>e.o|=128));if(o&&o.style){let s;"string"==typeof o.style?s=o.style:"string"!=typeof o.style&&(e.C=(t=>f.map((e=>e(t))).find((t=>!!t)))(t),e.C&&(s=o.style[e.C]));const l=st(n,e.C);if(!c.has(l)){const t=()=>{};((t,e,n)=>{let o=c.get(t);g&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,c.set(t,o)})(l,s,!!(1&n.o)),t()}}}const s=e.T,l=()=>Tt(e,!0);s&&s["s-rc"]?s["s-rc"].push(l):l()})(t,e,n)}s()}},Jt=t=>{const e=t["s-cr"]=p.createComment("");e["s-cn"]=!0,At(t,e,t.firstChild)},Kt=t=>{Ht(t,"disconnectedCallback")},Qt=t=>{const e=t.cloneNode;t.cloneNode=function(t){const n=this,o=n.shadowRoot&&b,s=e.call(n,!!o&&t);if(!o&&t){let t,e,o=0;const l=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"];for(;o<n.childNodes.length;o++)t=n.childNodes[o]["s-nr"],e=l.every((t=>!n.childNodes[o][t])),t&&(s.__appendChild?s.__appendChild(t.cloneNode(!0)):s.appendChild(t.cloneNode(!0))),e&&s.appendChild(n.childNodes[o].cloneNode(!0))}return s}},Xt=t=>{t.__appendChild=t.appendChild,t.appendChild=function(t){const e=t["s-sn"]=ie(t),n=ce(this.childNodes,e,this.tagName);if(n){const o=fe(n,e),s=o[o.length-1],l=At(s.parentNode,t,s.nextSibling);return St(this),l}return this.__appendChild(t)}},Yt=t=>{t.__removeChild=t.removeChild,t.removeChild=function(t){if(t&&void 0!==t["s-sn"]){const e=ce(this.childNodes,t["s-sn"],this.tagName);if(e){const n=fe(e,t["s-sn"]).find((e=>e===t));if(n)return n.remove(),void St(this)}}return this.__removeChild(t)}},Zt=t=>{const e=t.prepend;t.prepend=function(...t){t.forEach((t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t));const n=t["s-sn"]=ie(t),o=ce(this.childNodes,n,this.tagName);if(o){const e=document.createTextNode("");e["s-nr"]=t,o["s-cr"].parentNode.__appendChild(e),t["s-ol"]=e;const s=fe(o,n)[0];return At(s.parentNode,t,s.nextSibling)}return 1===t.nodeType&&t.getAttribute("slot")&&(t.hidden=!0),e.call(this,t)}))}},te=t=>{t.append=function(...t){t.forEach((t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t)),this.appendChild(t)}))}},ee=t=>{const e=t.insertAdjacentHTML;t.insertAdjacentHTML=function(t,n){if("afterbegin"!==t&&"beforeend"!==t)return e.call(this,t,n);const o=this.ownerDocument.createElement("_");let s;if(o.innerHTML=n,"afterbegin"===t)for(;s=o.firstChild;)this.prepend(s);else if("beforeend"===t)for(;s=o.firstChild;)this.append(s)}},ne=t=>{t.insertAdjacentText=function(t,e){this.insertAdjacentHTML(t,e)}},oe=t=>{const e=t.insertAdjacentElement;t.insertAdjacentElement=function(t,n){return"afterbegin"!==t&&"beforeend"!==t?e.call(this,t,n):"afterbegin"===t?(this.prepend(n),n):"beforeend"===t?(this.append(n),n):n}},se=t=>{const e=Object.getOwnPropertyDescriptor(Node.prototype,"textContent");Object.defineProperty(t,"__textContent",e),Object.defineProperty(t,"textContent",{get(){return" "+re(this.childNodes).map((t=>{var e,n;const o=[];let s=t.nextSibling;for(;s&&s["s-sn"]===t["s-sn"];)3!==s.nodeType&&1!==s.nodeType||o.push(null!=(n=null==(e=s.textContent)?void 0:e.trim())?n:""),s=s.nextSibling;return o.filter((t=>""!==t)).join(" ")})).filter((t=>""!==t)).join(" ")+" "},set(t){re(this.childNodes).forEach((e=>{let n=e.nextSibling;for(;n&&n["s-sn"]===e["s-sn"];){const t=n;n=n.nextSibling,t.remove()}if(""===e["s-sn"]){const n=this.ownerDocument.createTextNode(t);n["s-sn"]="",At(e.parentElement,n,e.nextSibling)}else e.remove()}))}})},le=(t,e)=>{class n extends Array{item(t){return this[t]}}if(8&e.o){const e=t.__lookupGetter__("childNodes");Object.defineProperty(t,"children",{get(){return this.childNodes.map((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get:()=>t.children.length}),Object.defineProperty(t,"childNodes",{get(){const t=e.call(this);if(!(1&v.o)&&2&o(this).o){const e=new n;for(let n=0;n<t.length;n++){const o=t[n]["s-nr"];o&&e.push(o)}return e}return n.from(t)}})}},re=t=>{const e=[];for(const n of Array.from(t))n["s-sr"]&&e.push(n),e.push(...re(n.childNodes));return e},ie=t=>t["s-sn"]||1===t.nodeType&&t.getAttribute("slot")||"",ce=(t,e,n)=>{let o,s=0;for(;s<t.length;s++){if(o=t[s],o["s-sr"]&&o["s-sn"]===e&&o["s-hn"]===n)return o;if(o=ce(o.childNodes,e,n),o)return o}return null},fe=(t,e)=>{const n=[t];for(;(t=t.nextSibling)&&t["s-sn"]===e;)n.push(t);return n},ue=(t,e={})=>{var s;const l=[],r=e.exclude||[],i=$.customElements,c=p.head,f=c.querySelector("meta[charset]"),u=p.createElement("style"),a=[];let h,m=!0;Object.assign(v,e),v.l=new URL(e.resourcesUrl||"./",p.baseURI).href,v.o|=2;let y=!1;if(t.map((t=>{t[1].map((e=>{var s;const c={o:e[0],A:e[1],_:e[2],G:e[3]};4&c.o&&(y=!0),c._=e[2],c.G=e[3],c.U=[],c.B=null!=(s=e[4])?s:{};const f=c.A,u=class extends HTMLElement{constructor(t){if(super(t),this.hasRegisteredEventListeners=!1,((t,e)=>{const o={o:0,$hostElement$:t,I:e,H:new Map};o.q=new Promise((t=>o.W=t)),o.V=new Promise((t=>o.F=t)),t["s-p"]=[],t["s-rc"]=[],n.set(t,o)})(t=this,c),1&c.o)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.A}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else t.attachShadow({mode:"open",delegatesFocus:!!(16&c.o)})}connectedCallback(){const t=o(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,ae(this,t,c.G)),h&&(clearTimeout(h),h=null),m?a.push(this):v.jmp((()=>zt(this)))}disconnectedCallback(){v.jmp((()=>(async()=>{if(!(1&v.o)){const t=o(this);t.X&&(t.X.map((t=>t())),t.X=void 0),(null==t?void 0:t.t)?Kt(t.t):(null==t?void 0:t.V)&&t.V.then((()=>Kt(t.t)))}})()))}componentOnReady(){return o(this).V}};2&c.o&&((t,e)=>{Qt(t),Xt(t),te(t),Zt(t),oe(t),ee(t),ne(t),se(t),le(t,e),Yt(t)})(u.prototype,c),c.K=t[0],r.includes(f)||i.get(f)||(l.push(f),i.define(f,Gt(u,c,1)))}))})),l.length>0&&(y&&(u.textContent+=d),u.textContent+=l.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",u.innerHTML.length)){u.setAttribute("data-styles","");const t=null!=(s=v.M)?s:T(p);null!=t&&u.setAttribute("nonce",t),c.insertBefore(u,f?f.nextSibling:c.firstChild)}m=!1,a.length?a.map((t=>t.connectedCallback())):v.jmp((()=>h=setTimeout(Bt,30)))},ae=(t,e,n)=>{n&&n.map((([n,o,s])=>{const l=he(t,n),r=de(e,s),i=$e(n);v.ael(l,o,r,i),(e.X=e.X||[]).push((()=>v.rel(l,o,r,i)))}))},de=(t,e)=>n=>{var o;try{256&t.o?null==(o=t.t)||o[e](n):(t.D=t.D||[]).push([e,n])}catch(t){r(t)}},he=(t,e)=>4&e?p:8&e?$:16&e?p.body:t,$e=t=>({passive:!!(1&t),capture:!!(2&t)}),pe=t=>v.M=t;export{e as B,m as H,y as a,ue as b,X as c,tt as d,M as e,G as f,Y as g,H as h,Z as i,_t as j,R as k,w as p,s as r,pe as s,A as w}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import{r as t,h as o,f as s,i as e}from"./p-d836d43e.js";import{p as i}from"./p-06fee233.js";import{c as n}from"./p-47794def.js";import{x as a,y as r}from"./p-da2b833b.js";import{b as p}from"./p-0574e87e.js";const d=class{constructor(o){t(this,o),this.togglePasswordVisibility=()=>{const{inputElRef:t}=this;t&&(t.type="text"===t.type?"password":"text")},this.color=void 0,this.showIcon=void 0,this.hideIcon=void 0,this.type="password"}onTypeChange(t){"text"===t||"password"===t||i(`ion-input-password-toggle only supports inputs of type "text" or "password". Input of type "${t}" is not compatible.`,this.el)}connectedCallback(){const{el:t}=this,o=this.inputElRef=t.closest("ion-input");o?this.type=o.type:i("No ancestor ion-input found for ion-input-password-toggle. This component must be slotted inside of an ion-input.",t)}disconnectedCallback(){this.inputElRef=null}render(){var t,e;const{color:i,type:d}=this,l=p(this),c=null!==(t=this.showIcon)&&void 0!==t?t:a,h=null!==(e=this.hideIcon)&&void 0!==e?e:r,u="text"===d;return o(s,{key:"d9811e25bfeb2aa197352bb9be852e9e420739d5",class:n(i,{[l]:!0})},o("ion-button",{key:"1eaea1442b248fb2b8d61538b27274e647a07804",mode:l,color:i,fill:"clear",shape:"round","aria-checked":u?"true":"false","aria-label":"show password",role:"switch",type:"button",onPointerDown:t=>{t.preventDefault()},onClick:this.togglePasswordVisibility},o("ion-icon",{key:"9c88de8f4631d9bde222ce2edf6950d639e04773",slot:"icon-only","aria-hidden":"true",icon:u?h:c})))}get el(){return e(this)}static get watchers(){return{type:["onTypeChange"]}}};d.style={ios:"",md:""};export{d as ion_input_password_toggle}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
const s="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='square' stroke-miterlimit='10' stroke-width='48' d='M244 400L100 256l144-144M120 256h292' class='ionicon-fill-none'/></svg>",o="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 268l144 144 144-144M256 392V100' class='ionicon-fill-none'/></svg>",i="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M368 64L144 256l224 192V64z'/></svg>",n="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M64 144l192 224 192-224H64z'/></svg>",a="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M448 368L256 144 64 368h384z'/></svg>",t="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' d='M416 128L192 384l-96-96' class='ionicon-fill-none ionicon-stroke-width'/></svg>",l="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M328 112L184 256l144 144' class='ionicon-fill-none'/></svg>",g="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 184l144 144 144-144' class='ionicon-fill-none'/></svg>",e="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M136 208l120-104 120 104M136 304l120 104 120-104' stroke-width='48' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none'/></svg>",w="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M184 112l144 144-144 144' class='ionicon-fill-none'/></svg>",c="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M184 112l144 144-144 144' class='ionicon-fill-none'/></svg>",v="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M289.94 256l95-95A24 24 0 00351 127l-95 95-95-95a24 24 0 00-34 34l95 95-95 95a24 24 0 1034 34l95-95 95 95a24 24 0 0034-34z'/></svg>",r="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48zm75.31 260.69a16 16 0 11-22.62 22.62L256 278.63l-52.69 52.68a16 16 0 01-22.62-22.62L233.37 256l-52.68-52.69a16 16 0 0122.62-22.62L256 233.37l52.69-52.68a16 16 0 0122.62 22.62L278.63 256z'/></svg>",d="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M400 145.49L366.51 112 256 222.51 145.49 112 112 145.49 222.51 256 112 366.51 145.49 400 256 289.49 366.51 400 400 366.51 289.49 256 400 145.49z'/></svg>",m="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><circle cx='256' cy='256' r='192' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>",x="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><circle cx='256' cy='256' r='48'/><circle cx='416' cy='256' r='48'/><circle cx='96' cy='256' r='48'/></svg>",h="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><circle cx='256' cy='256' r='64'/><path d='M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96c-42.52 0-84.33 12.15-124.27 36.11-40.73 24.43-77.63 60.12-109.68 106.07a31.92 31.92 0 00-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416c46.71 0 93.81-14.43 136.2-41.72 38.46-24.77 72.72-59.66 99.08-100.92a32.2 32.2 0 00-.1-34.76zM256 352a96 96 0 1196-96 96.11 96.11 0 01-96 96z'/></svg>",p="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M432 448a15.92 15.92 0 01-11.31-4.69l-352-352a16 16 0 0122.62-22.62l352 352A16 16 0 01432 448zM248 315.85l-51.79-51.79a2 2 0 00-3.39 1.69 64.11 64.11 0 0053.49 53.49 2 2 0 001.69-3.39zM264 196.15L315.87 248a2 2 0 003.4-1.69 64.13 64.13 0 00-53.55-53.55 2 2 0 00-1.72 3.39z'/><path d='M491 273.36a32.2 32.2 0 00-.1-34.76c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.68 96a226.54 226.54 0 00-71.82 11.79 4 4 0 00-1.56 6.63l47.24 47.24a4 4 0 003.82 1.05 96 96 0 01116 116 4 4 0 001.05 3.81l67.95 68a4 4 0 005.4.24 343.81 343.81 0 0067.24-77.4zM256 352a96 96 0 01-93.3-118.63 4 4 0 00-1.05-3.81l-66.84-66.87a4 4 0 00-5.41-.23c-24.39 20.81-47 46.13-67.67 75.72a31.92 31.92 0 00-.64 35.54c26.41 41.33 60.39 76.14 98.28 100.65C162.06 402 207.92 416 255.68 416a238.22 238.22 0 0072.64-11.55 4 4 0 001.61-6.64l-47.47-47.46a4 4 0 00-3.81-1.05A96 96 0 01256 352z'/></svg>",u="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-miterlimit='10' d='M80 160h352M80 256h352M80 352h352' class='ionicon-fill-none ionicon-stroke-width'/></svg>",k="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M64 384h384v-42.67H64zm0-106.67h384v-42.66H64zM64 128v42.67h384V128z'/></svg>",f="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' d='M400 256H112' class='ionicon-fill-none ionicon-stroke-width'/></svg>",M="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' d='M96 256h320M96 176h320M96 336h320' class='ionicon-fill-none ionicon-stroke-width'/></svg>",B="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='square' stroke-linejoin='round' stroke-width='44' d='M118 304h276M118 208h276' class='ionicon-fill-none'/></svg>",z="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M221.09 64a157.09 157.09 0 10157.09 157.09A157.1 157.1 0 00221.09 64z' stroke-miterlimit='10' class='ionicon-fill-none ionicon-stroke-width'/><path stroke-linecap='round' stroke-miterlimit='10' d='M338.29 338.29L448 448' class='ionicon-fill-none ionicon-stroke-width'/></svg>",L="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M464 428L339.92 303.9a160.48 160.48 0 0030.72-94.58C370.64 120.37 298.27 48 209.32 48S48 120.37 48 209.32s72.37 161.32 161.32 161.32a160.48 160.48 0 0094.58-30.72L428 464zM209.32 319.69a110.38 110.38 0 11110.37-110.37 110.5 110.5 0 01-110.37 110.37z'/></svg>";export{s as a,r as b,l as c,d,L as e,t as f,m as g,
|
|
4
|
+
const s="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='square' stroke-miterlimit='10' stroke-width='48' d='M244 400L100 256l144-144M120 256h292' class='ionicon-fill-none'/></svg>",o="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 268l144 144 144-144M256 392V100' class='ionicon-fill-none'/></svg>",i="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M368 64L144 256l224 192V64z'/></svg>",n="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M64 144l192 224 192-224H64z'/></svg>",a="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M448 368L256 144 64 368h384z'/></svg>",t="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' d='M416 128L192 384l-96-96' class='ionicon-fill-none ionicon-stroke-width'/></svg>",l="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M328 112L184 256l144 144' class='ionicon-fill-none'/></svg>",g="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 184l144 144 144-144' class='ionicon-fill-none'/></svg>",e="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M136 208l120-104 120 104M136 304l120 104 120-104' stroke-width='48' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none'/></svg>",w="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M184 112l144 144-144 144' class='ionicon-fill-none'/></svg>",c="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M184 112l144 144-144 144' class='ionicon-fill-none'/></svg>",v="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M289.94 256l95-95A24 24 0 00351 127l-95 95-95-95a24 24 0 00-34 34l95 95-95 95a24 24 0 1034 34l95-95 95 95a24 24 0 0034-34z'/></svg>",r="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48zm75.31 260.69a16 16 0 11-22.62 22.62L256 278.63l-52.69 52.68a16 16 0 01-22.62-22.62L233.37 256l-52.68-52.69a16 16 0 0122.62-22.62L256 233.37l52.69-52.68a16 16 0 0122.62 22.62L278.63 256z'/></svg>",d="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M400 145.49L366.51 112 256 222.51 145.49 112 112 145.49 222.51 256 112 366.51 145.49 400 256 289.49 366.51 400 400 366.51 289.49 256 400 145.49z'/></svg>",m="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><circle cx='256' cy='256' r='192' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>",x="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><circle cx='256' cy='256' r='48'/><circle cx='416' cy='256' r='48'/><circle cx='96' cy='256' r='48'/></svg>",h="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><circle cx='256' cy='256' r='64'/><path d='M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96c-42.52 0-84.33 12.15-124.27 36.11-40.73 24.43-77.63 60.12-109.68 106.07a31.92 31.92 0 00-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416c46.71 0 93.81-14.43 136.2-41.72 38.46-24.77 72.72-59.66 99.08-100.92a32.2 32.2 0 00-.1-34.76zM256 352a96 96 0 1196-96 96.11 96.11 0 01-96 96z'/></svg>",p="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M432 448a15.92 15.92 0 01-11.31-4.69l-352-352a16 16 0 0122.62-22.62l352 352A16 16 0 01432 448zM248 315.85l-51.79-51.79a2 2 0 00-3.39 1.69 64.11 64.11 0 0053.49 53.49 2 2 0 001.69-3.39zM264 196.15L315.87 248a2 2 0 003.4-1.69 64.13 64.13 0 00-53.55-53.55 2 2 0 00-1.72 3.39z'/><path d='M491 273.36a32.2 32.2 0 00-.1-34.76c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.68 96a226.54 226.54 0 00-71.82 11.79 4 4 0 00-1.56 6.63l47.24 47.24a4 4 0 003.82 1.05 96 96 0 01116 116 4 4 0 001.05 3.81l67.95 68a4 4 0 005.4.24 343.81 343.81 0 0067.24-77.4zM256 352a96 96 0 01-93.3-118.63 4 4 0 00-1.05-3.81l-66.84-66.87a4 4 0 00-5.41-.23c-24.39 20.81-47 46.13-67.67 75.72a31.92 31.92 0 00-.64 35.54c26.41 41.33 60.39 76.14 98.28 100.65C162.06 402 207.92 416 255.68 416a238.22 238.22 0 0072.64-11.55 4 4 0 001.61-6.64l-47.47-47.46a4 4 0 00-3.81-1.05A96 96 0 01256 352z'/></svg>",u="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-miterlimit='10' d='M80 160h352M80 256h352M80 352h352' class='ionicon-fill-none ionicon-stroke-width'/></svg>",k="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M64 384h384v-42.67H64zm0-106.67h384v-42.66H64zM64 128v42.67h384V128z'/></svg>",f="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' d='M400 256H112' class='ionicon-fill-none ionicon-stroke-width'/></svg>",M="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='round' stroke-linejoin='round' d='M96 256h320M96 176h320M96 336h320' class='ionicon-fill-none ionicon-stroke-width'/></svg>",B="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path stroke-linecap='square' stroke-linejoin='round' stroke-width='44' d='M118 304h276M118 208h276' class='ionicon-fill-none'/></svg>",z="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M221.09 64a157.09 157.09 0 10157.09 157.09A157.1 157.1 0 00221.09 64z' stroke-miterlimit='10' class='ionicon-fill-none ionicon-stroke-width'/><path stroke-linecap='round' stroke-miterlimit='10' d='M338.29 338.29L448 448' class='ionicon-fill-none ionicon-stroke-width'/></svg>",L="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' class='ionicon' viewBox='0 0 512 512'><path d='M464 428L339.92 303.9a160.48 160.48 0 0030.72-94.58C370.64 120.37 298.27 48 209.32 48S48 120.37 48 209.32s72.37 161.32 161.32 161.32a160.48 160.48 0 0094.58-30.72L428 464zM209.32 319.69a110.38 110.38 0 11110.37-110.37 110.5 110.5 0 01-110.37 110.37z'/></svg>";export{s as a,r as b,l as c,d,L as e,t as f,m as g,i as h,o as i,M as j,B as k,g as l,c as m,x as n,w as o,a as p,n as q,f as r,z as s,v as t,u,k as v,e as w,h as x,p as y}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import{r as t,j as o,g as n,l as e,m as i}from"./p-a9fd9d48.js";import{c as r,o as s}from"./p-c6191942.js";import{o as c,c as a}from"./p-47794def.js";import{c as h}from"./p-3ca5196c.js";const u=class{constructor(n){t(this,n),this.ionRouteDataChanged=o(this,"ionRouteDataChanged",7),this.url="",this.component=void 0,this.componentProps=void 0,this.beforeLeave=void 0,this.beforeEnter=void 0}onUpdate(t){this.ionRouteDataChanged.emit(t)}onComponentProps(t,o){if(t===o)return;const n=t?Object.keys(t):[],e=o?Object.keys(o):[];if(n.length===e.length){for(const e of n)if(t[e]!==o[e])return void this.onUpdate(t)}else this.onUpdate(t)}connectedCallback(){this.ionRouteDataChanged.emit()}static get watchers(){return{url:["onUpdate"],component:["onUpdate"],componentProps:["onComponentProps"]}}},l=class{constructor(n){t(this,n),this.ionRouteRedirectChanged=o(this,"ionRouteRedirectChanged",7),this.from=void 0,this.to=void 0}propDidChange(){this.ionRouteRedirectChanged.emit()}connectedCallback(){this.ionRouteRedirectChanged.emit()}static get watchers(){return{from:["propDidChange"],to:["propDidChange"]}}},f="root",d="forward",w=t=>"/"+t.filter((t=>t.length>0)).join("/"),p=t=>{let o,n=[""];if(null!=t){const e=t.indexOf("?");e>-1&&(o=t.substring(e+1),t=t.substring(0,e)),n=t.split("/").map((t=>t.trim())).filter((t=>t.length>0)),0===n.length&&(n=[""])}return{segments:n,queryString:o}},m=async(t,o,n,e,i=!1,s)=>{try{const c=b(t);if(e>=o.length||!c)return i;await new Promise((t=>r(c,t)));const a=o[e],h=await c.setRouteId(a.id,a.params,n,s);return h.changed&&(n=f,i=!0),i=await m(h.element,o,n,e+1,i,s),h.markVisible&&await h.markVisible(),i}catch(t){return console.error(t),!1}},v=":not([no-router]) ion-nav, :not([no-router]) ion-tabs, :not([no-router]) ion-router-outlet",b=t=>{if(!t)return;if(t.matches(v))return t;const o=t.querySelector(v);return null!=o?o:void 0},g=(t,o)=>o.find((o=>((t,o)=>{const{from:n,to:e}=o;if(void 0===e)return!1;if(n.length>t.length)return!1;for(let o=0;o<n.length;o++){const e=n[o];if("*"===e)return!0;if(e!==t[o])return!1}return n.length===t.length})(t,o))),y=(t,o)=>{const n=Math.min(t.length,o.length);let e=0;for(let i=0;i<n;i++){const n=t[i],r=o[i];if(n.id.toLowerCase()!==r.id)break;if(n.params){const t=Object.keys(n.params);if(t.length===r.segments.length){const o=t.map((t=>`:${t}`));for(let t=0;t<o.length&&o[t].toLowerCase()===r.segments[t];t++)e++}}e++}return e},R=(t,o)=>{const n=new O(t);let e,i=!1;for(let t=0;t<o.length;t++){const r=o[t].segments;if(""===r[0])i=!0;else{for(const o of r){const i=n.next();if(":"===o[0]){if(""===i)return null;e=e||[],(e[t]||(e[t]={}))[o.slice(1)]=i}else if(i!==o)return null}i=!1}}return i&&i!==(""===n.next())?null:e?o.map(((t,o)=>({id:t.id,segments:t.segments,params:C(t.params,e[o]),beforeEnter:t.beforeEnter,beforeLeave:t.beforeLeave}))):o},C=(t,o)=>t||o?Object.assign(Object.assign({},t),o):void 0,j=(t,o)=>{let n=null,e=0;for(const i of o){const o=R(t,i);if(null!==o){const t=k(o);t>e&&(e=t,n=o)}}return n},k=t=>{let o=1,n=1;for(const e of t)for(const t of e.segments)":"===t[0]?o+=Math.pow(1,n):""!==t&&(o+=Math.pow(2,n)),n++;return o};class O{constructor(t){this.segments=t.slice()}next(){return this.segments.length>0?this.segments.shift():""}}const D=(t,o)=>o in t?t[o]:t.hasAttribute(o)?t.getAttribute(o):null,E=t=>Array.from(t.children).filter((t=>"ION-ROUTE-REDIRECT"===t.tagName)).map((t=>{const o=D(t,"to");return{from:p(D(t,"from")).segments,to:null==o?void 0:p(o)}})),S=t=>L($(t)),$=t=>Array.from(t.children).filter((t=>"ION-ROUTE"===t.tagName&&t.component)).map((t=>{const o=D(t,"component");return{segments:p(D(t,"url")).segments,id:o.toLowerCase(),params:t.componentProps,beforeLeave:t.beforeLeave,beforeEnter:t.beforeEnter,children:$(t)}})),L=t=>{const o=[];for(const n of t)P([],o,n);return o},P=(t,o,n)=>{if(t=[...t,{id:n.id,segments:n.segments,params:n.params,beforeLeave:n.beforeLeave,beforeEnter:n.beforeEnter}],0!==n.children.length)for(const e of n.children)P(t,o,e);else o.push(t)},U=class{constructor(n){t(this,n),this.ionRouteWillChange=o(this,"ionRouteWillChange",7),this.ionRouteDidChange=o(this,"ionRouteDidChange",7),this.previousPath=null,this.busy=!1,this.state=0,this.lastState=0,this.root="/",this.useHash=!0}async componentWillLoad(){await(b(document.body)?Promise.resolve():new Promise((t=>{window.addEventListener("ionNavWillLoad",(()=>t()),{once:!0})})));const t=await this.runGuards(this.getSegments());if(!0!==t){if("object"==typeof t){const{redirect:o}=t,n=p(o);this.setSegments(n.segments,f,n.queryString),await this.writeNavStateRoot(n.segments,f)}}else await this.onRoutesChanged()}componentDidLoad(){window.addEventListener("ionRouteRedirectChanged",s(this.onRedirectChanged.bind(this),10)),window.addEventListener("ionRouteDataChanged",s(this.onRoutesChanged.bind(this),100))}async onPopState(){const t=this.historyDirection();let o=this.getSegments();const n=await this.runGuards(o);if(!0!==n){if("object"!=typeof n)return!1;o=p(n.redirect).segments}return this.writeNavStateRoot(o,t)}onBackButton(t){t.detail.register(0,(t=>{this.back(),t()}))}async canTransition(){const t=await this.runGuards();return!0===t||"object"==typeof t&&t.redirect}async push(t,o="forward",n){var e;if(t.startsWith(".")){const o=null!==(e=this.previousPath)&&void 0!==e?e:"/",n=new URL(t,`https://host/${o}`);t=n.pathname+n.search}let i=p(t);const r=await this.runGuards(i.segments);if(!0!==r){if("object"!=typeof r)return!1;i=p(r.redirect)}return this.setSegments(i.segments,o,i.queryString),this.writeNavStateRoot(i.segments,o,n)}back(){return window.history.back(),Promise.resolve(this.waitPromise)}async printDebug(){(t=>{console.group(`[ion-core] ROUTES[${t.length}]`);for(const o of t){const t=[];o.forEach((o=>t.push(...o.segments)));const n=o.map((t=>t.id));console.debug(`%c ${w(t)}`,"font-weight: bold; padding-left: 20px","=>\t",`(${n.join(", ")})`)}console.groupEnd()})(S(this.el)),(t=>{console.group(`[ion-core] REDIRECTS[${t.length}]`);for(const o of t)o.to&&console.debug("FROM: ",`$c ${w(o.from)}`,"font-weight: bold"," TO: ",`$c ${w(o.to.segments)}`,"font-weight: bold");console.groupEnd()})(E(this.el))}async navChanged(t){if(this.busy)return console.warn("[ion-router] router is busy, navChanged was cancelled"),!1;const{ids:o,outlet:n}=await(async()=>{const t=[];let o,n=window.document.body;for(;o=b(n);){const e=await o.getRouteId();if(!e)break;n=e.element,e.element=void 0,t.push(e)}return{ids:t,outlet:o}})(),e=((t,o)=>{let n=null,e=0;for(const i of o){const o=y(t,i);o>e&&(n=i,e=o)}return n?n.map(((o,n)=>{var e;return{id:o.id,segments:o.segments,params:C(o.params,null===(e=t[n])||void 0===e?void 0:e.params)}})):null})(o,S(this.el));if(!e)return console.warn("[ion-router] no matching URL for ",o.map((t=>t.id))),!1;const i=(t=>{const o=[];for(const n of t)for(const t of n.segments)if(":"===t[0]){const e=n.params&&n.params[t.slice(1)];if(!e)return null;o.push(e)}else""!==t&&o.push(t);return o})(e);return i?(this.setSegments(i,t),await this.safeWriteNavState(n,e,f,i,null,o.length),!0):(console.warn("[ion-router] router could not match path because some required param is missing"),!1)}onRedirectChanged(){const t=this.getSegments();t&&g(t,E(this.el))&&this.writeNavStateRoot(t,f)}onRoutesChanged(){return this.writeNavStateRoot(this.getSegments(),f)}historyDirection(){var t;const o=window;null===o.history.state&&(this.state++,o.history.replaceState(this.state,o.document.title,null===(t=o.document.location)||void 0===t?void 0:t.href));const n=o.history.state,e=this.lastState;return this.lastState=n,n>e||n>=e&&e>0?d:n<e?"back":f}async writeNavStateRoot(t,o,n){if(!t)return console.error("[ion-router] URL is not part of the routing set"),!1;const e=E(this.el),i=g(t,e);let r=null;if(i){const{segments:n,queryString:e}=i.to;this.setSegments(n,o,e),r=i.from,t=n}const s=S(this.el),c=j(t,s);return c?this.safeWriteNavState(document.body,c,o,t,r,0,n):(console.error("[ion-router] the path does not match any route"),!1)}async safeWriteNavState(t,o,n,e,i,r=0,s){const c=await this.lock();let a=!1;try{a=await this.writeNavState(t,o,n,e,i,r,s)}catch(t){console.error(t)}return c(),a}async lock(){const t=this.waitPromise;let o;return this.waitPromise=new Promise((t=>o=t)),void 0!==t&&await t,o}async runGuards(t=this.getSegments(),o){if(void 0===o&&(o=p(this.previousPath).segments),!t||!o)return!0;const n=S(this.el),e=j(o,n),i=e&&e[e.length-1].beforeLeave,r=!i||await i();if(!1===r||"object"==typeof r)return r;const s=j(t,n),c=s&&s[s.length-1].beforeEnter;return!c||c()}async writeNavState(t,o,n,e,i,r=0,s){if(this.busy)return console.warn("[ion-router] router is busy, transition was cancelled"),!1;this.busy=!0;const c=this.routeChangeEvent(e,i);c&&this.ionRouteWillChange.emit(c);const a=await m(t,o,n,r,!1,s);return this.busy=!1,c&&this.ionRouteDidChange.emit(c),a}setSegments(t,o,n){this.state++,((t,o,n,e,i,r,s)=>{const c=((t,o,n)=>{let e=w(t);return o&&(e="#"+e),void 0!==n&&(e+="?"+n),e})([...p(o).segments,...e],n,s);i===d?t.pushState(r,"",c):t.replaceState(r,"",c)})(window.history,this.root,this.useHash,t,o,this.state,n)}getSegments(){return((t,o,n)=>{const e=p(this.root).segments,i=n?t.hash.slice(1):t.pathname;return((t,o)=>{if(t.length>o.length)return null;if(t.length<=1&&""===t[0])return o;for(let n=0;n<t.length;n++)if(t[n]!==o[n])return null;return o.length===t.length?[""]:o.slice(t.length)})(e,p(i).segments)})(window.location,0,this.useHash)}routeChangeEvent(t,o){const n=this.previousPath,e=w(t);return this.previousPath=e,e===n?null:{from:n,redirectedFrom:o?w(o):null,to:e}}get el(){return n(this)}},x=class{constructor(o){t(this,o),this.onClick=t=>{c(this.href,t,this.routerDirection,this.routerAnimation)},this.color=void 0,this.href=void 0,this.rel=void 0,this.routerDirection="forward",this.routerAnimation=void 0,this.target=void 0}render(){const t=h(this),o={href:this.href,rel:this.rel,target:this.target};return e(i,{key:"faf50a5dd2b054f763fcf2e5bf6ad221d667f84a",onClick:this.onClick,class:a(this.color,{[t]:!0,"ion-activatable":!0})},e("a",Object.assign({key:"584d22b9804b6e46792de22a5f3af82f4dceac7b"},o),e("slot",{key:"bc5c5f59c198fc1ebf8d92dc5b799528e6a8e993"})))}};x.style=":host{--background:transparent;--color:var(--ion-color-primary, #0054e9);background:var(--background);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}a{color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;white-space:inherit}";export{u as ion_route,l as ion_route_redirect,U as ion_router,x as ion_router_link}
|
|
4
|
+
import{r as t,d as o,i as n,h as e,f as i}from"./p-d836d43e.js";import{c as r,o as s}from"./p-b51e4004.js";import{o as c,c as a}from"./p-47794def.js";import{b as h}from"./p-0574e87e.js";const u=class{constructor(n){t(this,n),this.ionRouteDataChanged=o(this,"ionRouteDataChanged",7),this.url="",this.component=void 0,this.componentProps=void 0,this.beforeLeave=void 0,this.beforeEnter=void 0}onUpdate(t){this.ionRouteDataChanged.emit(t)}onComponentProps(t,o){if(t===o)return;const n=t?Object.keys(t):[],e=o?Object.keys(o):[];if(n.length===e.length){for(const e of n)if(t[e]!==o[e])return void this.onUpdate(t)}else this.onUpdate(t)}connectedCallback(){this.ionRouteDataChanged.emit()}static get watchers(){return{url:["onUpdate"],component:["onUpdate"],componentProps:["onComponentProps"]}}},l=class{constructor(n){t(this,n),this.ionRouteRedirectChanged=o(this,"ionRouteRedirectChanged",7),this.from=void 0,this.to=void 0}propDidChange(){this.ionRouteRedirectChanged.emit()}connectedCallback(){this.ionRouteRedirectChanged.emit()}static get watchers(){return{from:["propDidChange"],to:["propDidChange"]}}},f="root",d="forward",w=t=>"/"+t.filter((t=>t.length>0)).join("/"),p=t=>{let o,n=[""];if(null!=t){const e=t.indexOf("?");e>-1&&(o=t.substring(e+1),t=t.substring(0,e)),n=t.split("/").map((t=>t.trim())).filter((t=>t.length>0)),0===n.length&&(n=[""])}return{segments:n,queryString:o}},m=async(t,o,n,e,i=!1,s)=>{try{const c=v(t);if(e>=o.length||!c)return i;await new Promise((t=>r(c,t)));const a=o[e],h=await c.setRouteId(a.id,a.params,n,s);return h.changed&&(n=f,i=!0),i=await m(h.element,o,n,e+1,i,s),h.markVisible&&await h.markVisible(),i}catch(t){return console.error(t),!1}},b=":not([no-router]) ion-nav, :not([no-router]) ion-tabs, :not([no-router]) ion-router-outlet",v=t=>{if(!t)return;if(t.matches(b))return t;const o=t.querySelector(b);return null!=o?o:void 0},g=(t,o)=>o.find((o=>((t,o)=>{const{from:n,to:e}=o;if(void 0===e)return!1;if(n.length>t.length)return!1;for(let o=0;o<n.length;o++){const e=n[o];if("*"===e)return!0;if(e!==t[o])return!1}return n.length===t.length})(t,o))),y=(t,o)=>{const n=Math.min(t.length,o.length);let e=0;for(let i=0;i<n;i++){const n=t[i],r=o[i];if(n.id.toLowerCase()!==r.id)break;if(n.params){const t=Object.keys(n.params);if(t.length===r.segments.length){const o=t.map((t=>`:${t}`));for(let t=0;t<o.length&&o[t].toLowerCase()===r.segments[t];t++)e++}}e++}return e},R=(t,o)=>{const n=new O(t);let e,i=!1;for(let t=0;t<o.length;t++){const r=o[t].segments;if(""===r[0])i=!0;else{for(const o of r){const i=n.next();if(":"===o[0]){if(""===i)return null;e=e||[],(e[t]||(e[t]={}))[o.slice(1)]=i}else if(i!==o)return null}i=!1}}return i&&i!==(""===n.next())?null:e?o.map(((t,o)=>({id:t.id,segments:t.segments,params:C(t.params,e[o]),beforeEnter:t.beforeEnter,beforeLeave:t.beforeLeave}))):o},C=(t,o)=>t||o?Object.assign(Object.assign({},t),o):void 0,k=(t,o)=>{let n=null,e=0;for(const i of o){const o=R(t,i);if(null!==o){const t=j(o);t>e&&(e=t,n=o)}}return n},j=t=>{let o=1,n=1;for(const e of t)for(const t of e.segments)":"===t[0]?o+=Math.pow(1,n):""!==t&&(o+=Math.pow(2,n)),n++;return o};class O{constructor(t){this.segments=t.slice()}next(){return this.segments.length>0?this.segments.shift():""}}const D=(t,o)=>o in t?t[o]:t.hasAttribute(o)?t.getAttribute(o):null,E=t=>Array.from(t.children).filter((t=>"ION-ROUTE-REDIRECT"===t.tagName)).map((t=>{const o=D(t,"to");return{from:p(D(t,"from")).segments,to:null==o?void 0:p(o)}})),S=t=>L($(t)),$=t=>Array.from(t.children).filter((t=>"ION-ROUTE"===t.tagName&&t.component)).map((t=>{const o=D(t,"component");return{segments:p(D(t,"url")).segments,id:o.toLowerCase(),params:t.componentProps,beforeLeave:t.beforeLeave,beforeEnter:t.beforeEnter,children:$(t)}})),L=t=>{const o=[];for(const n of t)P([],o,n);return o},P=(t,o,n)=>{if(t=[...t,{id:n.id,segments:n.segments,params:n.params,beforeLeave:n.beforeLeave,beforeEnter:n.beforeEnter}],0!==n.children.length)for(const e of n.children)P(t,o,e);else o.push(t)},U=class{constructor(n){t(this,n),this.ionRouteWillChange=o(this,"ionRouteWillChange",7),this.ionRouteDidChange=o(this,"ionRouteDidChange",7),this.previousPath=null,this.busy=!1,this.state=0,this.lastState=0,this.root="/",this.useHash=!0}async componentWillLoad(){await(v(document.body)?Promise.resolve():new Promise((t=>{window.addEventListener("ionNavWillLoad",(()=>t()),{once:!0})})));const t=await this.runGuards(this.getSegments());if(!0!==t){if("object"==typeof t){const{redirect:o}=t,n=p(o);this.setSegments(n.segments,f,n.queryString),await this.writeNavStateRoot(n.segments,f)}}else await this.onRoutesChanged()}componentDidLoad(){window.addEventListener("ionRouteRedirectChanged",s(this.onRedirectChanged.bind(this),10)),window.addEventListener("ionRouteDataChanged",s(this.onRoutesChanged.bind(this),100))}async onPopState(){const t=this.historyDirection();let o=this.getSegments();const n=await this.runGuards(o);if(!0!==n){if("object"!=typeof n)return!1;o=p(n.redirect).segments}return this.writeNavStateRoot(o,t)}onBackButton(t){t.detail.register(0,(t=>{this.back(),t()}))}async canTransition(){const t=await this.runGuards();return!0===t||"object"==typeof t&&t.redirect}async push(t,o="forward",n){var e;if(t.startsWith(".")){const o=null!==(e=this.previousPath)&&void 0!==e?e:"/",n=new URL(t,`https://host/${o}`);t=n.pathname+n.search}let i=p(t);const r=await this.runGuards(i.segments);if(!0!==r){if("object"!=typeof r)return!1;i=p(r.redirect)}return this.setSegments(i.segments,o,i.queryString),this.writeNavStateRoot(i.segments,o,n)}back(){return window.history.back(),Promise.resolve(this.waitPromise)}async printDebug(){(t=>{console.group(`[ion-core] ROUTES[${t.length}]`);for(const o of t){const t=[];o.forEach((o=>t.push(...o.segments)));const n=o.map((t=>t.id));console.debug(`%c ${w(t)}`,"font-weight: bold; padding-left: 20px","=>\t",`(${n.join(", ")})`)}console.groupEnd()})(S(this.el)),(t=>{console.group(`[ion-core] REDIRECTS[${t.length}]`);for(const o of t)o.to&&console.debug("FROM: ",`$c ${w(o.from)}`,"font-weight: bold"," TO: ",`$c ${w(o.to.segments)}`,"font-weight: bold");console.groupEnd()})(E(this.el))}async navChanged(t){if(this.busy)return console.warn("[ion-router] router is busy, navChanged was cancelled"),!1;const{ids:o,outlet:n}=await(async()=>{const t=[];let o,n=window.document.body;for(;o=v(n);){const e=await o.getRouteId();if(!e)break;n=e.element,e.element=void 0,t.push(e)}return{ids:t,outlet:o}})(),e=((t,o)=>{let n=null,e=0;for(const i of o){const o=y(t,i);o>e&&(n=i,e=o)}return n?n.map(((o,n)=>{var e;return{id:o.id,segments:o.segments,params:C(o.params,null===(e=t[n])||void 0===e?void 0:e.params)}})):null})(o,S(this.el));if(!e)return console.warn("[ion-router] no matching URL for ",o.map((t=>t.id))),!1;const i=(t=>{const o=[];for(const n of t)for(const t of n.segments)if(":"===t[0]){const e=n.params&&n.params[t.slice(1)];if(!e)return null;o.push(e)}else""!==t&&o.push(t);return o})(e);return i?(this.setSegments(i,t),await this.safeWriteNavState(n,e,f,i,null,o.length),!0):(console.warn("[ion-router] router could not match path because some required param is missing"),!1)}onRedirectChanged(){const t=this.getSegments();t&&g(t,E(this.el))&&this.writeNavStateRoot(t,f)}onRoutesChanged(){return this.writeNavStateRoot(this.getSegments(),f)}historyDirection(){var t;const o=window;null===o.history.state&&(this.state++,o.history.replaceState(this.state,o.document.title,null===(t=o.document.location)||void 0===t?void 0:t.href));const n=o.history.state,e=this.lastState;return this.lastState=n,n>e||n>=e&&e>0?d:n<e?"back":f}async writeNavStateRoot(t,o,n){if(!t)return console.error("[ion-router] URL is not part of the routing set"),!1;const e=E(this.el),i=g(t,e);let r=null;if(i){const{segments:n,queryString:e}=i.to;this.setSegments(n,o,e),r=i.from,t=n}const s=S(this.el),c=k(t,s);return c?this.safeWriteNavState(document.body,c,o,t,r,0,n):(console.error("[ion-router] the path does not match any route"),!1)}async safeWriteNavState(t,o,n,e,i,r=0,s){const c=await this.lock();let a=!1;try{a=await this.writeNavState(t,o,n,e,i,r,s)}catch(t){console.error(t)}return c(),a}async lock(){const t=this.waitPromise;let o;return this.waitPromise=new Promise((t=>o=t)),void 0!==t&&await t,o}async runGuards(t=this.getSegments(),o){if(void 0===o&&(o=p(this.previousPath).segments),!t||!o)return!0;const n=S(this.el),e=k(o,n),i=e&&e[e.length-1].beforeLeave,r=!i||await i();if(!1===r||"object"==typeof r)return r;const s=k(t,n),c=s&&s[s.length-1].beforeEnter;return!c||c()}async writeNavState(t,o,n,e,i,r=0,s){if(this.busy)return console.warn("[ion-router] router is busy, transition was cancelled"),!1;this.busy=!0;const c=this.routeChangeEvent(e,i);c&&this.ionRouteWillChange.emit(c);const a=await m(t,o,n,r,!1,s);return this.busy=!1,c&&this.ionRouteDidChange.emit(c),a}setSegments(t,o,n){this.state++,((t,o,n,e,i,r,s)=>{const c=((t,o,n)=>{let e=w(t);return o&&(e="#"+e),void 0!==n&&(e+="?"+n),e})([...p(o).segments,...e],n,s);i===d?t.pushState(r,"",c):t.replaceState(r,"",c)})(window.history,this.root,this.useHash,t,o,this.state,n)}getSegments(){return((t,o,n)=>{const e=p(this.root).segments,i=n?t.hash.slice(1):t.pathname;return((t,o)=>{if(t.length>o.length)return null;if(t.length<=1&&""===t[0])return o;for(let n=0;n<t.length;n++)if(t[n]!==o[n])return null;return o.length===t.length?[""]:o.slice(t.length)})(e,p(i).segments)})(window.location,0,this.useHash)}routeChangeEvent(t,o){const n=this.previousPath,e=w(t);return this.previousPath=e,e===n?null:{from:n,redirectedFrom:o?w(o):null,to:e}}get el(){return n(this)}},x=class{constructor(o){t(this,o),this.onClick=t=>{c(this.href,t,this.routerDirection,this.routerAnimation)},this.color=void 0,this.href=void 0,this.rel=void 0,this.routerDirection="forward",this.routerAnimation=void 0,this.target=void 0}render(){const t=h(this),o={href:this.href,rel:this.rel,target:this.target};return e(i,{key:"529ceed5beaf92d7b4cc315c82f449eac18310e8",onClick:this.onClick,class:a(this.color,{[t]:!0,"ion-activatable":!0})},e("a",Object.assign({key:"d5f1f8b256695d70bdafd20ff3d1b625963fa2da"},o),e("slot",{key:"613fcdb36a71e076f989551ea21f1d5c118b1cd2"})))}};x.style=":host{--background:transparent;--color:var(--ion-color-primary, #0054e9);background:var(--background);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}a{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit}";export{u as ion_route,l as ion_route_redirect,U as ion_router,x as ion_router_link}
|