@ionic/core 8.5.4-dev.11744052844.17c6a004 → 8.5.4-dev.11744209290.123af9eb
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 +37 -23
- package/components/alert.js +41 -25
- package/components/animation.js +1 -1
- package/components/backdrop.js +11 -4
- package/components/button-active.js +1 -1
- package/components/button.js +29 -23
- package/components/buttons.js +14 -4
- package/components/capacitor.js +1 -1
- package/components/checkbox.js +40 -16
- package/components/content.js +24 -5
- package/components/data.js +1 -1
- package/components/gesture-controller.js +1 -1
- package/components/haptic.js +1 -1
- package/components/hardware-back-button.js +1 -1
- package/components/header.js +12 -7
- package/components/helpers.js +2 -5
- package/components/icon.js +1 -2
- package/components/index3.js +3 -5
- package/components/index4.js +1 -1
- package/components/index5.js +28 -3
- package/components/index7.js +163 -27
- package/components/index8.js +1 -1
- package/components/index9.js +3 -163
- package/components/input-shims.js +2 -2
- package/components/input.utils.js +1 -1
- package/components/ion-accordion-group.js +19 -6
- package/components/ion-accordion.js +32 -14
- package/components/ion-app.js +3 -4
- package/components/ion-avatar.js +2 -4
- package/components/ion-back-button.js +12 -13
- package/components/ion-badge.js +2 -5
- package/components/ion-breadcrumb.js +22 -20
- package/components/ion-breadcrumbs.js +14 -10
- package/components/ion-card-content.js +2 -4
- package/components/ion-card-header.js +7 -5
- package/components/ion-card-subtitle.js +2 -5
- package/components/ion-card-title.js +2 -5
- package/components/ion-card.js +16 -11
- package/components/ion-chip.js +8 -5
- package/components/ion-col.js +1 -26
- package/components/ion-datetime-button.js +15 -13
- package/components/ion-datetime.js +126 -53
- package/components/ion-fab-button.js +37 -20
- package/components/ion-fab-list.js +7 -2
- package/components/ion-fab.js +10 -4
- package/components/ion-footer.js +13 -8
- package/components/ion-grid.js +4 -2
- package/components/ion-img.js +1 -6
- package/components/ion-infinite-scroll-content.js +2 -6
- package/components/ion-infinite-scroll.js +27 -6
- package/components/ion-input-password-toggle.js +7 -9
- package/components/ion-input.js +69 -41
- package/components/ion-item-divider.js +9 -5
- package/components/ion-item-group.js +2 -4
- package/components/ion-item-option.js +14 -12
- package/components/ion-item-options.js +6 -4
- package/components/ion-item-sliding.js +4 -2
- package/components/ion-loading.js +36 -19
- package/components/ion-menu-button.js +15 -10
- package/components/ion-menu-toggle.js +9 -5
- package/components/ion-menu.js +25 -9
- package/components/ion-nav-link.js +6 -6
- package/components/ion-nav.js +7 -10
- package/components/ion-note.js +2 -5
- package/components/ion-picker-legacy.js +44 -24
- package/components/ion-progress-bar.js +19 -6
- package/components/ion-range.js +65 -25
- package/components/ion-refresher-content.js +1 -5
- package/components/ion-refresher.js +54 -6
- package/components/ion-reorder-group.js +6 -4
- package/components/ion-reorder.js +3 -5
- package/components/ion-route-redirect.js +0 -2
- package/components/ion-route.js +9 -7
- package/components/ion-router-link.js +7 -9
- package/components/ion-router-outlet.js +10 -8
- package/components/ion-router.js +18 -0
- package/components/ion-row.js +1 -2
- package/components/ion-searchbar.js +78 -29
- package/components/ion-segment-button.js +19 -10
- package/components/ion-segment-content.js +1 -2
- package/components/ion-segment-view.js +5 -5
- package/components/ion-segment.js +22 -11
- package/components/ion-select-option.js +4 -3
- package/components/ion-select.js +58 -32
- package/components/ion-skeleton-text.js +4 -2
- package/components/ion-split-pane.js +10 -5
- package/components/ion-tab-bar.js +7 -6
- package/components/ion-tab-button.js +10 -12
- package/components/ion-tab.js +2 -5
- package/components/ion-tabs.js +3 -4
- package/components/ion-text.js +1 -3
- package/components/ion-textarea.js +62 -34
- package/components/ion-thumbnail.js +1 -2
- package/components/ion-toast.js +55 -32
- package/components/ion-toggle.js +44 -20
- package/components/item.js +20 -14
- package/components/keyboard-controller.js +2 -2
- package/components/keyboard.js +134 -69
- package/components/keyboard2.js +69 -134
- package/components/label.js +2 -6
- package/components/list-header.js +2 -6
- package/components/list.js +5 -5
- package/components/modal.js +117 -39
- package/components/notch-controller.js +1 -1
- package/components/overlays.js +2 -2
- package/components/picker-column-option.js +18 -5
- package/components/picker-column.js +25 -10
- package/components/picker-column2.js +5 -8
- package/components/picker.js +2 -4
- package/components/popover.js +129 -37
- package/components/radio-group.js +10 -10
- package/components/radio.js +27 -13
- package/components/refresher.utils.js +2 -2
- package/components/ripple-effect.js +10 -2
- package/components/select-modal.js +3 -8
- package/components/select-popover.js +5 -8
- package/components/spinner.js +4 -5
- package/components/swipe-back.js +1 -1
- package/components/title.js +2 -6
- package/components/toolbar.js +2 -5
- package/css/global.bundle.css +1 -1
- package/css/global.bundle.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/structure.css +1 -1
- package/css/structure.css.map +1 -1
- package/dist/cjs/{animation-b4fdf128.js → animation-Bz5ImL40.js} +1 -1
- package/dist/cjs/{app-globals-dd592863.js → app-globals-Di9ZJzjm.js} +1 -1
- package/dist/cjs/{button-active-43e2b419.js → button-active-BlMN9Iyq.js} +3 -3
- package/dist/cjs/{capacitor-c04564bf.js → capacitor-DmA66EwP.js} +1 -1
- package/dist/cjs/{data-27cc2c9c.js → data-DlPf8ZXm.js} +1 -1
- package/dist/cjs/{framework-delegate-50a86d56.js → framework-delegate-B0-bTZ_Y.js} +1 -1
- package/dist/cjs/{gesture-controller-9436f482.js → gesture-controller-dtqlP_q4.js} +1 -1
- package/dist/cjs/{haptic-f6b37aa3.js → haptic-ClPPQ_PS.js} +1 -1
- package/dist/cjs/{hardware-back-button-5a99001f.js → hardware-back-button-lTgcqUpk.js} +3 -3
- package/dist/cjs/{helpers-3a248559.js → helpers-CLmZlPvl.js} +1 -4
- package/dist/cjs/{index-e36bd277.js → index-B4SdCKIQ.js} +2 -2
- package/dist/cjs/{index-e630fd95.js → index-BE9YH63j.js} +6 -6
- package/dist/cjs/{index-2e236a04.js → index-BVfbh2cJ.js} +1378 -671
- package/dist/cjs/{index-ee07ed59.js → index-CAvQ7Tka.js} +3 -4
- package/dist/cjs/{index-073c7cdc.js → index-CPbAsnJK.js} +1 -0
- package/dist/cjs/{index-4b70187a.js → index-CXThGkw7.js} +9 -9
- package/dist/cjs/{index-509ca0d3.js → index-CquwaYOd.js} +3 -3
- package/dist/cjs/{index-48b2a28e.js → index-rYFHa7ZR.js} +1 -1
- package/dist/cjs/index.cjs.js +18 -20
- package/dist/cjs/{input-shims-22a9973f.js → input-shims-DA_nJulF.js} +8 -8
- package/dist/cjs/{input.utils-e82b8ed0.js → input.utils-UHOCoNWM.js} +3 -3
- package/dist/cjs/ion-accordion_2.cjs.entry.js +54 -25
- package/dist/cjs/ion-action-sheet.cjs.entry.js +50 -38
- package/dist/cjs/ion-alert.cjs.entry.js +55 -41
- package/dist/cjs/ion-app_8.cjs.entry.js +96 -65
- package/dist/cjs/ion-avatar_3.cjs.entry.js +8 -16
- package/dist/cjs/ion-back-button.cjs.entry.js +15 -18
- package/dist/cjs/ion-backdrop.cjs.entry.js +13 -8
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +38 -34
- package/dist/cjs/ion-button_2.cjs.entry.js +33 -30
- package/dist/cjs/ion-card_5.cjs.entry.js +32 -35
- package/dist/cjs/ion-checkbox.cjs.entry.js +44 -22
- package/dist/cjs/ion-chip.cjs.entry.js +11 -10
- package/dist/cjs/ion-col_3.cjs.entry.js +8 -34
- package/dist/cjs/ion-datetime-button.cjs.entry.js +20 -20
- package/dist/cjs/ion-datetime_3.cjs.entry.js +182 -94
- package/dist/cjs/ion-fab_3.cjs.entry.js +57 -31
- package/dist/cjs/ion-img.cjs.entry.js +4 -11
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +35 -20
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +11 -15
- package/dist/cjs/ion-input.cjs.entry.js +76 -50
- package/dist/cjs/ion-item-option_3.cjs.entry.js +32 -28
- package/dist/cjs/ion-item_8.cjs.entry.js +49 -52
- package/dist/cjs/ion-loading.cjs.entry.js +46 -31
- package/dist/cjs/ion-menu_3.cjs.entry.js +62 -39
- package/dist/cjs/ion-modal.cjs.entry.js +128 -52
- package/dist/cjs/ion-nav_2.cjs.entry.js +17 -22
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +22 -11
- package/dist/cjs/ion-picker-column.cjs.entry.js +30 -17
- package/dist/cjs/ion-picker.cjs.entry.js +4 -8
- package/dist/cjs/ion-popover.cjs.entry.js +137 -47
- package/dist/cjs/ion-progress-bar.cjs.entry.js +22 -11
- package/dist/cjs/ion-radio_2.cjs.entry.js +42 -30
- package/dist/cjs/ion-range.cjs.entry.js +71 -33
- package/dist/cjs/ion-refresher_2.cjs.entry.js +68 -26
- package/dist/cjs/ion-reorder_2.cjs.entry.js +17 -19
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +12 -6
- package/dist/cjs/ion-route_4.cjs.entry.js +34 -20
- package/dist/cjs/ion-searchbar.cjs.entry.js +83 -36
- package/dist/cjs/ion-segment-content.cjs.entry.js +2 -5
- package/dist/cjs/ion-segment-view.cjs.entry.js +6 -8
- package/dist/cjs/ion-segment_2.cjs.entry.js +47 -29
- package/dist/cjs/ion-select-modal.cjs.entry.js +13 -20
- package/dist/cjs/ion-select_3.cjs.entry.js +79 -57
- package/dist/cjs/ion-spinner.cjs.entry.js +8 -11
- package/dist/cjs/ion-split-pane.cjs.entry.js +12 -9
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +25 -28
- package/dist/cjs/ion-tab_2.cjs.entry.js +8 -14
- package/dist/cjs/ion-text.cjs.entry.js +4 -8
- package/dist/cjs/ion-textarea.cjs.entry.js +69 -43
- package/dist/cjs/ion-toast.cjs.entry.js +65 -44
- package/dist/cjs/ion-toggle.cjs.entry.js +53 -31
- package/dist/cjs/{ionic-global-acb665ad.js → ionic-global-AdqEvgj6.js} +1 -1
- package/dist/cjs/ionic.cjs.js +8 -8
- package/dist/cjs/{ios.transition-ae7afca9.js → ios.transition-B8HcmmPx.js} +7 -7
- package/dist/cjs/{keyboard-0272231f.js → keyboard-UuAS4D_9.js} +1 -1
- package/dist/cjs/{keyboard-controller-c05e747a.js → keyboard-controller-GXBiBRKS.js} +2 -2
- package/dist/cjs/{keyboard-af1bb365.js → keyboard-hHzlEQpk.js} +3 -3
- package/dist/cjs/loader.cjs.js +4 -6
- package/dist/cjs/{md.transition-26003e25.js → md.transition-54O0AjJC.js} +7 -7
- package/dist/cjs/{notch-controller-ae03a497.js → notch-controller-DNfj7cO6.js} +2 -2
- package/dist/cjs/{overlays-32e1b66b.js → overlays-CSyZW4m0.js} +7 -7
- package/dist/cjs/{status-tap-03023755.js → status-tap-B1Kcv7yf.js} +5 -5
- package/dist/cjs/{swipe-back-cd0d9f77.js → swipe-back-Di-t3rsI.js} +4 -4
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/accordion/accordion.js +43 -13
- package/dist/collection/components/accordion-group/accordion-group.js +35 -8
- package/dist/collection/components/action-sheet/action-sheet.js +84 -31
- package/dist/collection/components/alert/alert.js +94 -34
- package/dist/collection/components/back-button/back-button.js +30 -14
- package/dist/collection/components/backdrop/backdrop.js +18 -3
- package/dist/collection/components/badge/badge.js +3 -4
- package/dist/collection/components/breadcrumb/breadcrumb.js +57 -26
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +24 -10
- package/dist/collection/components/button/button.js +74 -33
- package/dist/collection/components/buttons/buttons.js +15 -1
- package/dist/collection/components/card/card.js +44 -16
- package/dist/collection/components/card-header/card-header.js +11 -3
- package/dist/collection/components/card-subtitle/card-subtitle.js +3 -4
- package/dist/collection/components/card-title/card-title.js +3 -4
- package/dist/collection/components/checkbox/checkbox.js +74 -24
- package/dist/collection/components/chip/chip.js +15 -4
- package/dist/collection/components/col/col.js +72 -50
- package/dist/collection/components/content/content.js +43 -9
- package/dist/collection/components/datetime/datetime.js +211 -72
- package/dist/collection/components/datetime-button/datetime-button.js +21 -11
- package/dist/collection/components/fab/fab.js +21 -6
- package/dist/collection/components/fab-button/fab-button.js +76 -28
- package/dist/collection/components/fab-list/fab-list.js +12 -2
- package/dist/collection/components/footer/footer.js +16 -5
- package/dist/collection/components/grid/grid.js +6 -1
- package/dist/collection/components/header/header.js +15 -4
- package/dist/collection/components/img/img.js +6 -6
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +35 -7
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +6 -4
- package/dist/collection/components/input/input.js +168 -69
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +16 -8
- package/dist/collection/components/item/item.js +56 -21
- package/dist/collection/components/item-divider/item-divider.js +13 -3
- package/dist/collection/components/item-option/item-option.js +36 -16
- package/dist/collection/components/item-options/item-options.js +7 -1
- package/dist/collection/components/item-sliding/item-sliding.js +6 -1
- package/dist/collection/components/label/label.js +6 -4
- package/dist/collection/components/list/list.js +9 -3
- package/dist/collection/components/list-header/list-header.js +6 -6
- package/dist/collection/components/loading/loading.js +86 -29
- package/dist/collection/components/menu/menu.js +42 -10
- package/dist/collection/components/menu-button/menu-button.js +27 -10
- package/dist/collection/components/menu-toggle/menu-toggle.js +14 -5
- package/dist/collection/components/modal/modal.js +188 -51
- package/dist/collection/components/nav/nav.js +24 -11
- package/dist/collection/components/nav-link/nav-link.js +18 -8
- package/dist/collection/components/note/note.js +3 -4
- package/dist/collection/components/picker-column/picker-column.js +34 -10
- package/dist/collection/components/picker-column-option/picker-column-option.js +25 -4
- package/dist/collection/components/picker-legacy/picker.js +91 -31
- package/dist/collection/components/picker-legacy-column/picker-column.js +4 -2
- package/dist/collection/components/popover/popover.js +208 -55
- package/dist/collection/components/progress-bar/progress-bar.js +31 -6
- package/dist/collection/components/radio/radio.js +46 -16
- package/dist/collection/components/radio-group/radio-group.js +26 -12
- package/dist/collection/components/range/range.js +109 -34
- package/dist/collection/components/refresher/refresher.js +68 -6
- package/dist/collection/components/refresher-content/refresher-content.js +12 -8
- package/dist/collection/components/reorder-group/reorder-group.js +6 -1
- package/dist/collection/components/ripple-effect/ripple-effect.js +12 -1
- package/dist/collection/components/route/route.js +24 -9
- package/dist/collection/components/route-redirect/route-redirect.js +6 -6
- package/dist/collection/components/router/router.js +24 -2
- package/dist/collection/components/router-link/router-link.js +24 -12
- package/dist/collection/components/router-outlet/router-outlet.js +24 -8
- package/dist/collection/components/searchbar/searchbar.js +141 -46
- package/dist/collection/components/segment/segment.js +38 -13
- package/dist/collection/components/segment-button/segment-button.js +32 -11
- package/dist/collection/components/segment-view/segment-view.js +6 -2
- package/dist/collection/components/select/select.ios.css +3 -5
- package/dist/collection/components/select/select.js +117 -45
- package/dist/collection/components/select/select.md.css +15 -51
- package/dist/collection/components/select-modal/select-modal.js +9 -4
- package/dist/collection/components/select-option/select-option.js +9 -3
- package/dist/collection/components/select-popover/select-popover.js +18 -8
- package/dist/collection/components/skeleton-text/skeleton-text.js +6 -1
- package/dist/collection/components/spinner/spinner.js +15 -7
- package/dist/collection/components/split-pane/split-pane.js +17 -4
- package/dist/collection/components/tab/tab.js +14 -7
- package/dist/collection/components/tab-bar/tab-bar.js +14 -5
- package/dist/collection/components/tab-button/tab-button.js +32 -16
- package/dist/collection/components/tabs/tabs.js +5 -3
- package/dist/collection/components/text/text.js +3 -4
- package/dist/collection/components/textarea/textarea.js +144 -57
- package/dist/collection/components/title/title.js +6 -6
- package/dist/collection/components/toast/toast.js +119 -45
- package/dist/collection/components/toggle/toggle.js +75 -25
- package/dist/collection/components/toolbar/toolbar.js +3 -2
- package/dist/docs.d.ts +8 -0
- package/dist/docs.json +1799 -584
- package/dist/esm/{animation-eab5a4ca.js → animation-CCtpQcsN.js} +1 -1
- package/dist/esm/{app-globals-7b6cbf1a.js → app-globals-CispSZgz.js} +1 -1
- package/dist/esm/{button-active-90f1dbc4.js → button-active-D92yWoWC.js} +3 -3
- package/dist/esm/{capacitor-59395cbd.js → capacitor-CFERIeaU.js} +1 -1
- package/dist/esm/{data-174ad5e0.js → data-Dq3-TN9Z.js} +2 -2
- package/dist/esm/{framework-delegate-2eea1763.js → framework-delegate-D3CI7y6x.js} +1 -1
- package/dist/esm/{gesture-controller-314a54f6.js → gesture-controller-BTEOs1at.js} +1 -1
- package/dist/esm/{haptic-ac164e4c.js → haptic-DzAMWJuk.js} +2 -2
- package/dist/esm/{hardware-back-button-864101a3.js → hardware-back-button-CRemSDoj.js} +3 -3
- package/dist/esm/{helpers-78efeec3.js → helpers-Di6ciXLG.js} +2 -5
- package/dist/esm/{index-40894f4b.js → index-B2_fY2up.js} +2 -2
- package/dist/esm/{index-e2cf2ceb.js → index-BLV6ykCk.js} +2 -1
- package/dist/esm/{index-527b9e34.js → index-C5UXyyFe.js} +1378 -651
- package/dist/esm/{index-39782642.js → index-CfgBF1SE.js} +4 -6
- package/dist/esm/{index-e919e353.js → index-DWiwgv23.js} +3 -3
- package/dist/esm/{index-ecb55b8d.js → index-DYJvRcE0.js} +6 -6
- package/dist/esm/{index-f9f5d018.js → index-DZLiflRE.js} +6 -6
- package/dist/esm/{index-738d7504.js → index-PfJyigSK.js} +2 -2
- package/dist/esm/index.js +18 -18
- package/dist/esm/{input-shims-7dc1f6dc.js → input-shims-BL_oixbH.js} +8 -8
- package/dist/esm/{input.utils-28bf4ef0.js → input.utils-Bd73EHpQ.js} +3 -3
- package/dist/esm/ion-accordion_2.entry.js +54 -23
- package/dist/esm/ion-action-sheet.entry.js +50 -36
- package/dist/esm/ion-alert.entry.js +55 -39
- package/dist/esm/ion-app_8.entry.js +96 -63
- package/dist/esm/ion-avatar_3.entry.js +8 -14
- package/dist/esm/ion-back-button.entry.js +15 -16
- package/dist/esm/ion-backdrop.entry.js +13 -6
- package/dist/esm/ion-breadcrumb_2.entry.js +38 -32
- package/dist/esm/ion-button_2.entry.js +33 -28
- package/dist/esm/ion-card_5.entry.js +32 -33
- package/dist/esm/ion-checkbox.entry.js +44 -20
- package/dist/esm/ion-chip.entry.js +11 -8
- package/dist/esm/ion-col_3.entry.js +8 -32
- package/dist/esm/ion-datetime-button.entry.js +20 -18
- package/dist/esm/ion-datetime_3.entry.js +182 -92
- package/dist/esm/ion-fab_3.entry.js +57 -29
- package/dist/esm/ion-img.entry.js +4 -9
- package/dist/esm/ion-infinite-scroll_2.entry.js +35 -18
- package/dist/esm/ion-input-password-toggle.entry.js +11 -13
- package/dist/esm/ion-input.entry.js +76 -48
- package/dist/esm/ion-item-option_3.entry.js +32 -26
- package/dist/esm/ion-item_8.entry.js +49 -50
- package/dist/esm/ion-loading.entry.js +46 -29
- package/dist/esm/ion-menu_3.entry.js +62 -37
- package/dist/esm/ion-modal.entry.js +128 -50
- package/dist/esm/ion-nav_2.entry.js +17 -20
- package/dist/esm/ion-picker-column-option.entry.js +22 -9
- package/dist/esm/ion-picker-column.entry.js +30 -15
- package/dist/esm/ion-picker.entry.js +4 -6
- package/dist/esm/ion-popover.entry.js +137 -45
- package/dist/esm/ion-progress-bar.entry.js +22 -9
- package/dist/esm/ion-radio_2.entry.js +42 -28
- package/dist/esm/ion-range.entry.js +71 -31
- package/dist/esm/ion-refresher_2.entry.js +68 -24
- package/dist/esm/ion-reorder_2.entry.js +17 -17
- package/dist/esm/ion-ripple-effect.entry.js +12 -4
- package/dist/esm/ion-route_4.entry.js +34 -18
- package/dist/esm/ion-searchbar.entry.js +83 -34
- package/dist/esm/ion-segment-content.entry.js +2 -3
- package/dist/esm/ion-segment-view.entry.js +6 -6
- package/dist/esm/ion-segment_2.entry.js +47 -27
- package/dist/esm/ion-select-modal.entry.js +13 -18
- package/dist/esm/ion-select_3.entry.js +79 -55
- package/dist/esm/ion-spinner.entry.js +8 -9
- package/dist/esm/ion-split-pane.entry.js +12 -7
- package/dist/esm/ion-tab-bar_2.entry.js +25 -26
- package/dist/esm/ion-tab_2.entry.js +8 -12
- package/dist/esm/ion-text.entry.js +4 -6
- package/dist/esm/ion-textarea.entry.js +69 -41
- package/dist/esm/ion-toast.entry.js +65 -42
- package/dist/esm/ion-toggle.entry.js +53 -29
- package/dist/esm/{ionic-global-ca86cf32.js → ionic-global-GkM1xiqt.js} +1 -1
- package/dist/esm/ionic.js +7 -6
- package/dist/esm/{ios.transition-7fe5dbea.js → ios.transition-BcTzvx5_.js} +7 -7
- package/dist/esm/{keyboard-73175e24.js → keyboard-CUw4ekVy.js} +1 -1
- package/dist/esm/{keyboard-controller-ec5c2bfa.js → keyboard-controller-BaaVITYt.js} +2 -2
- package/dist/esm/{keyboard-52278bd7.js → keyboard-ywgs5efA.js} +3 -3
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-8dc58b46.js → md.transition-DYGWIgPE.js} +7 -7
- package/dist/esm/{notch-controller-00d92e89.js → notch-controller-PoOhjO4o.js} +2 -2
- package/dist/esm/{overlays-41a5d51b.js → overlays-BuSzwtlC.js} +7 -7
- package/dist/esm/{status-tap-f6d08e9e.js → status-tap-BPk7Ddsi.js} +5 -5
- package/dist/esm/{swipe-back-07df2095.js → swipe-back-Df75PJ2J.js} +4 -4
- package/dist/html.html-data.json +212 -0
- package/dist/index.js +1 -1
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/p-06d06c2f.entry.js +4 -0
- package/dist/ionic/p-10e11b67.entry.js +4 -0
- package/dist/ionic/p-10f11601.entry.js +4 -0
- package/dist/ionic/p-171d5d3e.entry.js +4 -0
- package/dist/ionic/p-210385cd.entry.js +4 -0
- package/dist/ionic/p-2469206a.entry.js +4 -0
- package/dist/ionic/p-261e3a47.entry.js +4 -0
- package/dist/ionic/p-2a2ab89d.entry.js +4 -0
- package/dist/ionic/p-2f416d26.entry.js +4 -0
- package/dist/ionic/p-3628b1f7.entry.js +4 -0
- package/dist/ionic/p-3bd766ca.entry.js +4 -0
- package/dist/ionic/p-414f60f0.entry.js +4 -0
- package/dist/ionic/p-49419ffd.entry.js +4 -0
- package/dist/ionic/p-49b72347.entry.js +4 -0
- package/dist/ionic/p-52eca165.entry.js +4 -0
- package/dist/ionic/p-6a8928b1.entry.js +4 -0
- package/dist/ionic/p-6d4f1c6e.entry.js +4 -0
- package/dist/ionic/{p-e8245753.entry.js → p-6f5d9223.entry.js} +1 -1
- package/dist/ionic/p-72d7dd7c.entry.js +4 -0
- package/dist/ionic/p-75959e43.entry.js +4 -0
- package/dist/ionic/p-76878c5f.entry.js +4 -0
- package/dist/ionic/p-7deacfed.entry.js +4 -0
- package/dist/ionic/p-841761ee.entry.js +4 -0
- package/dist/ionic/p-85d22d84.entry.js +4 -0
- package/dist/ionic/{p-c005cc37.entry.js → p-879a7b00.entry.js} +1 -1
- package/dist/ionic/p-8ca2b22c.entry.js +4 -0
- package/dist/ionic/p-8e57bbf1.entry.js +4 -0
- package/dist/ionic/p-92aed080.entry.js +4 -0
- package/dist/ionic/p-930ec949.entry.js +4 -0
- package/dist/ionic/p-9ca05f27.entry.js +4 -0
- package/dist/ionic/p-9d7d6758.entry.js +4 -0
- package/dist/ionic/p-9d8be89a.entry.js +4 -0
- package/dist/ionic/p-9eeaBrnk.js +4 -0
- package/dist/ionic/p-B1sP_kPm.js +4 -0
- package/dist/ionic/{p-f53ee2e7.js → p-B3UoCFcu.js} +1 -1
- package/dist/ionic/p-B61pJgh5.js +4 -0
- package/dist/ionic/p-B8iLKNde.js +4 -0
- package/dist/ionic/p-BBmUb2In.js +4 -0
- package/dist/ionic/{p-da2b833b.js → p-BLV6ykCk.js} +1 -1
- package/dist/ionic/p-BTEIaRld.js +4 -0
- package/dist/ionic/p-BwAZiDRk.js +4 -0
- package/dist/ionic/{p-624ecf03.js → p-C3eOXAUO.js} +1 -1
- package/dist/ionic/p-C5UXyyFe.js +5 -0
- package/dist/ionic/p-CIGNaXM1.js +4 -0
- package/dist/ionic/{p-89b61afc.js → p-CKvCXMs9.js} +1 -1
- package/dist/ionic/{p-f7ce606e.js → p-CdKu7oC9.js} +1 -1
- package/dist/ionic/{p-22bc235f.js → p-CdWpy93z.js} +1 -1
- package/dist/ionic/{p-3f4327f7.js → p-CeCT60rb.js} +1 -1
- package/dist/ionic/p-CiN6q3Lh.js +4 -0
- package/dist/ionic/p-Cl0B-RWe.js +4 -0
- package/dist/ionic/p-CtWGkNnJ.js +4 -0
- package/dist/ionic/{p-27281edd.js → p-D13Eaw-8.js} +1 -1
- package/dist/ionic/p-DFllLYu2.js +4 -0
- package/dist/ionic/p-DYo1kLGy.js +4 -0
- package/dist/ionic/p-Di6ciXLG.js +4 -0
- package/dist/ionic/{p-597ff9af.js → p-XWSYNdC9.js} +1 -1
- package/dist/ionic/p-a1581941.entry.js +4 -0
- package/dist/ionic/p-a1767652.entry.js +4 -0
- package/dist/ionic/p-a3ec5708.entry.js +4 -0
- package/dist/ionic/p-a8506291.entry.js +4 -0
- package/dist/ionic/p-a951373a.entry.js +4 -0
- package/dist/ionic/p-b3485dee.entry.js +4 -0
- package/dist/ionic/{p-2567237c.entry.js → p-b8a159eb.entry.js} +1 -1
- package/dist/ionic/p-bb3cf0f1.entry.js +4 -0
- package/dist/ionic/p-c0634ff3.entry.js +4 -0
- package/dist/ionic/p-ccbc5737.entry.js +4 -0
- package/dist/ionic/{p-9b069739.entry.js → p-d3ee5846.entry.js} +1 -1
- package/dist/ionic/p-d6a3361a.entry.js +4 -0
- package/dist/ionic/p-d7a76cd0.entry.js +4 -0
- package/dist/ionic/p-d85dfc51.entry.js +4 -0
- package/dist/ionic/{p-b87a9f1d.entry.js → p-dcf2e017.entry.js} +1 -1
- package/dist/ionic/p-ddc1c497.entry.js +4 -0
- package/dist/ionic/p-e01503b2.entry.js +4 -0
- package/dist/ionic/p-f9c55d46.entry.js +4 -0
- package/dist/ionic/p-fc3eb210.entry.js +4 -0
- package/dist/ionic/{p-756e4559.js → p-lw61HGQ-.js} +1 -1
- package/dist/ionic/{p-b9fa7882.js → p-mxKP5hf-.js} +1 -1
- package/dist/ionic/p-umtghMQY.js +4 -0
- package/dist/ionic/p-yluxF5qo.js +4 -0
- package/dist/ionic/p-zEz12j4K.js +4 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +9 -0
- package/hydrate/index.d.ts +40 -5
- package/hydrate/index.js +4540 -2180
- package/hydrate/index.mjs +4539 -2179
- package/loader/cdn.js +1 -2
- package/loader/index.cjs.js +1 -2
- package/loader/index.es2017.js +0 -1
- package/loader/index.js +1 -2
- package/package.json +2 -2
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm-es5/animation-eab5a4ca.js +0 -4
- package/dist/esm-es5/app-globals-7b6cbf1a.js +0 -4
- package/dist/esm-es5/button-active-90f1dbc4.js +0 -4
- package/dist/esm-es5/capacitor-59395cbd.js +0 -4
- package/dist/esm-es5/compare-with-utils-a96ff2ea.js +0 -4
- package/dist/esm-es5/config-49c88215.js +0 -4
- package/dist/esm-es5/cubic-bezier-fe2083dc.js +0 -4
- package/dist/esm-es5/data-174ad5e0.js +0 -4
- package/dist/esm-es5/dir-babeabeb.js +0 -4
- package/dist/esm-es5/focus-visible-dd40d69f.js +0 -4
- package/dist/esm-es5/framework-delegate-2eea1763.js +0 -4
- package/dist/esm-es5/gesture-controller-314a54f6.js +0 -4
- package/dist/esm-es5/haptic-ac164e4c.js +0 -4
- package/dist/esm-es5/hardware-back-button-864101a3.js +0 -4
- package/dist/esm-es5/helpers-78efeec3.js +0 -4
- package/dist/esm-es5/index-39782642.js +0 -4
- package/dist/esm-es5/index-40894f4b.js +0 -4
- package/dist/esm-es5/index-527b9e34.js +0 -5
- package/dist/esm-es5/index-738d7504.js +0 -4
- package/dist/esm-es5/index-a5d50daf.js +0 -4
- package/dist/esm-es5/index-e2cf2ceb.js +0 -4
- package/dist/esm-es5/index-e919e353.js +0 -4
- package/dist/esm-es5/index-ecb55b8d.js +0 -4
- package/dist/esm-es5/index-f9f5d018.js +0 -4
- package/dist/esm-es5/index.js +0 -4
- package/dist/esm-es5/input-shims-7dc1f6dc.js +0 -4
- package/dist/esm-es5/input.utils-28bf4ef0.js +0 -4
- package/dist/esm-es5/ion-accordion_2.entry.js +0 -4
- package/dist/esm-es5/ion-action-sheet.entry.js +0 -4
- package/dist/esm-es5/ion-alert.entry.js +0 -4
- package/dist/esm-es5/ion-app_8.entry.js +0 -4
- package/dist/esm-es5/ion-avatar_3.entry.js +0 -4
- package/dist/esm-es5/ion-back-button.entry.js +0 -4
- package/dist/esm-es5/ion-backdrop.entry.js +0 -4
- package/dist/esm-es5/ion-breadcrumb_2.entry.js +0 -4
- package/dist/esm-es5/ion-button_2.entry.js +0 -4
- package/dist/esm-es5/ion-card_5.entry.js +0 -4
- package/dist/esm-es5/ion-checkbox.entry.js +0 -4
- package/dist/esm-es5/ion-chip.entry.js +0 -4
- package/dist/esm-es5/ion-col_3.entry.js +0 -4
- package/dist/esm-es5/ion-datetime-button.entry.js +0 -4
- package/dist/esm-es5/ion-datetime_3.entry.js +0 -4
- package/dist/esm-es5/ion-fab_3.entry.js +0 -4
- package/dist/esm-es5/ion-img.entry.js +0 -4
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +0 -4
- package/dist/esm-es5/ion-input-password-toggle.entry.js +0 -4
- package/dist/esm-es5/ion-input.entry.js +0 -4
- package/dist/esm-es5/ion-item-option_3.entry.js +0 -4
- package/dist/esm-es5/ion-item_8.entry.js +0 -4
- package/dist/esm-es5/ion-loading.entry.js +0 -4
- package/dist/esm-es5/ion-menu_3.entry.js +0 -4
- package/dist/esm-es5/ion-modal.entry.js +0 -4
- package/dist/esm-es5/ion-nav_2.entry.js +0 -4
- package/dist/esm-es5/ion-picker-column-option.entry.js +0 -4
- package/dist/esm-es5/ion-picker-column.entry.js +0 -4
- package/dist/esm-es5/ion-picker.entry.js +0 -4
- package/dist/esm-es5/ion-popover.entry.js +0 -4
- package/dist/esm-es5/ion-progress-bar.entry.js +0 -4
- package/dist/esm-es5/ion-radio_2.entry.js +0 -4
- package/dist/esm-es5/ion-range.entry.js +0 -4
- package/dist/esm-es5/ion-refresher_2.entry.js +0 -4
- package/dist/esm-es5/ion-reorder_2.entry.js +0 -4
- package/dist/esm-es5/ion-ripple-effect.entry.js +0 -4
- package/dist/esm-es5/ion-route_4.entry.js +0 -4
- package/dist/esm-es5/ion-searchbar.entry.js +0 -4
- package/dist/esm-es5/ion-segment-content.entry.js +0 -4
- package/dist/esm-es5/ion-segment-view.entry.js +0 -4
- package/dist/esm-es5/ion-segment_2.entry.js +0 -4
- package/dist/esm-es5/ion-select-modal.entry.js +0 -4
- package/dist/esm-es5/ion-select_3.entry.js +0 -4
- package/dist/esm-es5/ion-spinner.entry.js +0 -4
- package/dist/esm-es5/ion-split-pane.entry.js +0 -4
- package/dist/esm-es5/ion-tab-bar_2.entry.js +0 -4
- package/dist/esm-es5/ion-tab_2.entry.js +0 -4
- package/dist/esm-es5/ion-text.entry.js +0 -4
- package/dist/esm-es5/ion-textarea.entry.js +0 -4
- package/dist/esm-es5/ion-toast.entry.js +0 -4
- package/dist/esm-es5/ion-toggle.entry.js +0 -4
- package/dist/esm-es5/ionic-global-ca86cf32.js +0 -4
- package/dist/esm-es5/ionic.js +0 -4
- package/dist/esm-es5/ios.transition-7fe5dbea.js +0 -4
- package/dist/esm-es5/keyboard-52278bd7.js +0 -4
- package/dist/esm-es5/keyboard-73175e24.js +0 -4
- package/dist/esm-es5/keyboard-controller-ec5c2bfa.js +0 -4
- package/dist/esm-es5/loader.js +0 -4
- package/dist/esm-es5/lock-controller-316928be.js +0 -4
- package/dist/esm-es5/md.transition-8dc58b46.js +0 -4
- package/dist/esm-es5/notch-controller-00d92e89.js +0 -4
- package/dist/esm-es5/overlays-41a5d51b.js +0 -4
- package/dist/esm-es5/spinner-configs-964f7cf3.js +0 -4
- package/dist/esm-es5/status-tap-f6d08e9e.js +0 -4
- package/dist/esm-es5/swipe-back-07df2095.js +0 -4
- package/dist/esm-es5/theme-01f3f29c.js +0 -4
- package/dist/esm-es5/watch-options-c2911ace.js +0 -4
- package/dist/ionic/ionic.js +0 -127
- package/dist/ionic/p-012c3ceb.system.js +0 -4
- package/dist/ionic/p-027a48f1.entry.js +0 -4
- package/dist/ionic/p-058b7f35.js +0 -4
- package/dist/ionic/p-05b65d7a.entry.js +0 -4
- package/dist/ionic/p-08e01816.system.js +0 -4
- package/dist/ionic/p-09d185ff.system.js +0 -4
- package/dist/ionic/p-0a456b7f.entry.js +0 -4
- package/dist/ionic/p-0adb6909.system.entry.js +0 -4
- package/dist/ionic/p-0bedc891.system.entry.js +0 -4
- package/dist/ionic/p-0d1be7c9.system.entry.js +0 -4
- package/dist/ionic/p-0ec5b7cf.system.js +0 -4
- package/dist/ionic/p-14114a59.system.entry.js +0 -4
- package/dist/ionic/p-15bb1dde.system.js +0 -4
- package/dist/ionic/p-180b4f9a.entry.js +0 -4
- package/dist/ionic/p-19c32a76.entry.js +0 -4
- package/dist/ionic/p-1b0b2210.entry.js +0 -4
- package/dist/ionic/p-1bf5ec17.system.js +0 -4
- package/dist/ionic/p-1c1d781d.system.entry.js +0 -4
- package/dist/ionic/p-1c8b3ac9.entry.js +0 -4
- package/dist/ionic/p-1de5dfcd.system.entry.js +0 -4
- package/dist/ionic/p-1dfc11b3.system.js +0 -4
- package/dist/ionic/p-1e4371bd.js +0 -4
- package/dist/ionic/p-1e955a45.system.js +0 -4
- package/dist/ionic/p-20d469d0.system.js +0 -4
- package/dist/ionic/p-21891ead.js +0 -4
- package/dist/ionic/p-28c81576.entry.js +0 -4
- package/dist/ionic/p-29a5b4e4.entry.js +0 -4
- package/dist/ionic/p-29da3dcd.entry.js +0 -4
- package/dist/ionic/p-2a2c6bf4.system.entry.js +0 -4
- package/dist/ionic/p-2b7827c7.js +0 -4
- package/dist/ionic/p-33518a04.entry.js +0 -4
- package/dist/ionic/p-35f14792.entry.js +0 -4
- package/dist/ionic/p-383a6058.entry.js +0 -4
- package/dist/ionic/p-3855fef7.system.js +0 -4
- package/dist/ionic/p-38eaf9cf.system.entry.js +0 -4
- package/dist/ionic/p-3ba2a2cd.system.js +0 -4
- package/dist/ionic/p-3e1e14d9.system.js +0 -4
- package/dist/ionic/p-41e70fa2.entry.js +0 -4
- package/dist/ionic/p-44fde7d5.system.entry.js +0 -4
- package/dist/ionic/p-44ff75ea.js +0 -4
- package/dist/ionic/p-455cd7cc.system.js +0 -4
- package/dist/ionic/p-4609d030.system.js +0 -4
- package/dist/ionic/p-4630688e.system.entry.js +0 -4
- package/dist/ionic/p-4662a25c.system.entry.js +0 -4
- package/dist/ionic/p-48ded460.entry.js +0 -4
- package/dist/ionic/p-49d53551.system.entry.js +0 -4
- package/dist/ionic/p-4b07c60a.system.js +0 -4
- package/dist/ionic/p-4c7e6fec.system.entry.js +0 -4
- package/dist/ionic/p-4ea4c73a.system.entry.js +0 -4
- package/dist/ionic/p-4eeca839.system.entry.js +0 -4
- package/dist/ionic/p-4f255d5a.system.js +0 -4
- package/dist/ionic/p-50e0ce13.entry.js +0 -4
- package/dist/ionic/p-51479be0.system.entry.js +0 -4
- package/dist/ionic/p-5578033e.system.entry.js +0 -4
- package/dist/ionic/p-5fb1321f.entry.js +0 -4
- package/dist/ionic/p-607aa181.entry.js +0 -4
- package/dist/ionic/p-61373098.js +0 -4
- package/dist/ionic/p-6155027f.system.entry.js +0 -4
- package/dist/ionic/p-61e794fb.entry.js +0 -4
- package/dist/ionic/p-64d8ac48.js +0 -4
- package/dist/ionic/p-657ada6a.entry.js +0 -4
- package/dist/ionic/p-65943bec.system.entry.js +0 -4
- package/dist/ionic/p-65e732b9.entry.js +0 -4
- package/dist/ionic/p-66a5d6a8.js +0 -5
- package/dist/ionic/p-69a96be9.system.entry.js +0 -4
- package/dist/ionic/p-6c044a1d.system.js +0 -4
- package/dist/ionic/p-7058a5e4.system.entry.js +0 -4
- package/dist/ionic/p-705fda69.system.js +0 -4
- package/dist/ionic/p-707408c5.system.entry.js +0 -4
- package/dist/ionic/p-70abb1f2.system.entry.js +0 -4
- package/dist/ionic/p-747f9517.entry.js +0 -4
- package/dist/ionic/p-772d1657.system.js +0 -4
- package/dist/ionic/p-77aa5fef.system.entry.js +0 -4
- package/dist/ionic/p-792919fd.system.js +0 -4
- package/dist/ionic/p-7b886108.system.entry.js +0 -4
- package/dist/ionic/p-7c9daa6f.entry.js +0 -4
- package/dist/ionic/p-7cc33a9a.system.js +0 -4
- package/dist/ionic/p-7e3b5638.system.entry.js +0 -4
- package/dist/ionic/p-7f49a9c4.entry.js +0 -4
- package/dist/ionic/p-843ac05d.system.entry.js +0 -4
- package/dist/ionic/p-87b0d2c9.entry.js +0 -4
- package/dist/ionic/p-8985cdb6.system.js +0 -4
- package/dist/ionic/p-8b1c1fd7.entry.js +0 -4
- package/dist/ionic/p-8b22be32.system.entry.js +0 -4
- package/dist/ionic/p-8d98e2bb.entry.js +0 -4
- package/dist/ionic/p-8ededb41.js +0 -4
- package/dist/ionic/p-9146695e.system.js +0 -4
- package/dist/ionic/p-959cf042.system.entry.js +0 -4
- package/dist/ionic/p-96eec056.entry.js +0 -4
- package/dist/ionic/p-978bdf4c.system.js +0 -4
- package/dist/ionic/p-979d4f5c.system.js +0 -4
- package/dist/ionic/p-9870728f.js +0 -4
- package/dist/ionic/p-99803283.entry.js +0 -4
- package/dist/ionic/p-9af7f110.js +0 -4
- package/dist/ionic/p-9e45532a.system.js +0 -4
- package/dist/ionic/p-a26d7667.system.entry.js +0 -4
- package/dist/ionic/p-a3c931ad.system.js +0 -4
- package/dist/ionic/p-a4866e3e.system.js +0 -4
- package/dist/ionic/p-a520973b.entry.js +0 -4
- package/dist/ionic/p-a6625de8.system.js +0 -4
- package/dist/ionic/p-a75a9e5a.system.entry.js +0 -4
- package/dist/ionic/p-a768ae50.entry.js +0 -4
- package/dist/ionic/p-a7830ff8.entry.js +0 -4
- package/dist/ionic/p-a9198501.system.entry.js +0 -4
- package/dist/ionic/p-a93873de.system.js +0 -4
- package/dist/ionic/p-ab7337e1.entry.js +0 -4
- package/dist/ionic/p-abe101da.system.js +0 -4
- package/dist/ionic/p-ac09b6e9.system.entry.js +0 -4
- package/dist/ionic/p-ac58d726.system.entry.js +0 -4
- package/dist/ionic/p-b06ac4a5.system.js +0 -4
- package/dist/ionic/p-b1673667.entry.js +0 -4
- package/dist/ionic/p-b1f9fbe8.system.entry.js +0 -4
- package/dist/ionic/p-b2ee0628.system.entry.js +0 -4
- package/dist/ionic/p-b8a461f5.system.entry.js +0 -4
- package/dist/ionic/p-bf64af90.system.js +0 -4
- package/dist/ionic/p-c095b902.entry.js +0 -4
- package/dist/ionic/p-c27c57ea.system.entry.js +0 -4
- package/dist/ionic/p-c3f9d9fe.js +0 -4
- package/dist/ionic/p-c468af8a.system.js +0 -4
- package/dist/ionic/p-c53c414d.system.entry.js +0 -4
- package/dist/ionic/p-c61cc894.js +0 -4
- package/dist/ionic/p-c63d8dc1.js +0 -4
- package/dist/ionic/p-c7e16491.js +0 -4
- package/dist/ionic/p-ccb740ea.entry.js +0 -4
- package/dist/ionic/p-cec54707.system.entry.js +0 -4
- package/dist/ionic/p-cfc08422.entry.js +0 -4
- package/dist/ionic/p-cff4f96c.entry.js +0 -4
- package/dist/ionic/p-d40f2b7a.js +0 -4
- package/dist/ionic/p-d70a9e6d.system.js +0 -4
- package/dist/ionic/p-d823e7b6.system.entry.js +0 -4
- package/dist/ionic/p-d882f1e2.system.entry.js +0 -4
- package/dist/ionic/p-d8d84afa.system.js +0 -4
- package/dist/ionic/p-db3b409e.system.entry.js +0 -4
- package/dist/ionic/p-e11ff516.entry.js +0 -4
- package/dist/ionic/p-e29c5aab.system.entry.js +0 -4
- package/dist/ionic/p-e2ce5f8b.entry.js +0 -4
- package/dist/ionic/p-e3284879.system.entry.js +0 -4
- package/dist/ionic/p-e3e4eed7.entry.js +0 -4
- package/dist/ionic/p-e4683bfd.system.entry.js +0 -4
- package/dist/ionic/p-e4d2c281.entry.js +0 -4
- package/dist/ionic/p-e65b8460.entry.js +0 -4
- package/dist/ionic/p-e673a0a2.system.js +0 -4
- package/dist/ionic/p-e6cdfa96.system.entry.js +0 -4
- package/dist/ionic/p-ece78e7b.js +0 -4
- package/dist/ionic/p-ee86cfff.system.js +0 -4
- package/dist/ionic/p-f11a9436.system.js +0 -5
- package/dist/ionic/p-f201b53a.system.js +0 -4
- package/dist/ionic/p-f23124c4.system.js +0 -4
- package/dist/ionic/p-f233f1e0.system.js +0 -4
- package/dist/ionic/p-f387b3c6.system.entry.js +0 -4
- package/dist/ionic/p-f5a04e5e.system.entry.js +0 -4
- package/dist/ionic/p-f6bb9be7.system.entry.js +0 -4
- package/dist/ionic/p-f70fc14a.entry.js +0 -4
- package/dist/ionic/p-f834322a.entry.js +0 -4
- package/dist/ionic/p-f896194a.system.entry.js +0 -4
- package/dist/ionic/p-fa70eaab.entry.js +0 -4
- package/dist/ionic/p-ffa3ba3c.js +0 -4
- package/loader/package.json +0 -11
- /package/dist/cjs/{compare-with-utils-df1001d7.js → compare-with-utils-DSicavqM.js} +0 -0
- /package/dist/cjs/{config-4f60b98a.js → config-BHiHGeHc.js} +0 -0
- /package/dist/cjs/{cubic-bezier-f2dccc53.js → cubic-bezier-DAjy1V-e.js} +0 -0
- /package/dist/cjs/{dir-94c21456.js → dir-Cn0z1rJH.js} +0 -0
- /package/dist/cjs/{focus-visible-7a0ce04f.js → focus-visible-CCvKiLh3.js} +0 -0
- /package/dist/cjs/{index-c8d52405.js → index-DkNv4J_i.js} +0 -0
- /package/dist/cjs/{lock-controller-6585a42a.js → lock-controller-aDB9wrEf.js} +0 -0
- /package/dist/cjs/{spinner-configs-282fd50a.js → spinner-configs-DxHKnd3-.js} +0 -0
- /package/dist/cjs/{theme-d1c573d2.js → theme-CeDs6Hcv.js} +0 -0
- /package/dist/cjs/{watch-options-f5f3e158.js → watch-options-CviOsrTS.js} +0 -0
- /package/dist/esm/{compare-with-utils-a96ff2ea.js → compare-with-utils-sObYyvOy.js} +0 -0
- /package/dist/esm/{config-49c88215.js → config-O8NobGs3.js} +0 -0
- /package/dist/esm/{cubic-bezier-fe2083dc.js → cubic-bezier-hHmYLOfE.js} +0 -0
- /package/dist/esm/{dir-babeabeb.js → dir-C53feagD.js} +0 -0
- /package/dist/esm/{focus-visible-dd40d69f.js → focus-visible-BmVRXR1y.js} +0 -0
- /package/dist/esm/{index-a5d50daf.js → index-ZjP4CjeZ.js} +0 -0
- /package/dist/esm/{lock-controller-316928be.js → lock-controller-B-hirT0v.js} +0 -0
- /package/dist/esm/{spinner-configs-964f7cf3.js → spinner-configs-D4RIp70E.js} +0 -0
- /package/dist/esm/{theme-01f3f29c.js → theme-DiVJyqlX.js} +0 -0
- /package/dist/esm/{watch-options-c2911ace.js → watch-options-Dtdm8lKC.js} +0 -0
- /package/dist/ionic/{p-ccd02320.js → p-B-hirT0v.js} +0 -0
- /package/dist/ionic/{p-9b97df10.js → p-BTEOs1at.js} +0 -0
- /package/dist/ionic/{p-d47265c8.js → p-BmVRXR1y.js} +0 -0
- /package/dist/ionic/{p-fb813dab.js → p-C53feagD.js} +0 -0
- /package/dist/ionic/{p-f0c2a614.js → p-D4RIp70E.js} +0 -0
- /package/dist/ionic/{p-47794def.js → p-DiVJyqlX.js} +0 -0
- /package/dist/ionic/{p-459d13d5.js → p-Dtdm8lKC.js} +0 -0
- /package/dist/ionic/{p-41d5544e.js → p-O8NobGs3.js} +0 -0
- /package/dist/ionic/{p-7b30edcc.js → p-ZjP4CjeZ.js} +0 -0
- /package/dist/ionic/{p-2408c236.js → p-hHmYLOfE.js} +0 -0
- /package/dist/ionic/{p-de756e5c.js → p-sObYyvOy.js} +0 -0
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
var t=Object.defineProperty,e={isBrowser:!0},n=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(n||{}),o=(t=>(t.Array="array",t.Date="date",t.Map="map",t.Object="object",t.RegularExpression="regexp",t.Set="set",t.Channel="channel",t.Symbol="symbol",t))(o||{}),s="type",l="value",i="serialized:",r=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},c=(t,e)=>{t.__stencil__getHostRef=()=>e,e.t=t},u=(t,e)=>e in t,f=(t,e)=>(0,console.error)(t,e),a=new Map,d=new Map,h=[],p="s-id",v="sty-id",b="c-id",$="slot-fb{display:contents}slot-fb[hidden]{display:none}",m="http://www.w3.org/1999/xlink",g="undefined"!=typeof window?window:{},y=g.HTMLElement||class{},w={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)},S=t=>Promise.resolve(t),j=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),O=!1,N=[],x=[],k=(t,e)=>n=>{t.push(n),O||(O=!0,e&&4&w.o?I(C):w.raf(C))},E=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){f(t)}t.length=0},C=()=>{E(N),E(x),(O=N.length>0)&&w.raf(C)},I=t=>S().then(t),M=k(N,!1),A=k(x,!0),L=t=>{const e=new URL(t,w.l);return e.origin!==g.location.origin?e.href:e.pathname},R=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}var B=class t{static fromLocalValue(e){const n=e[s],o=l in e?e[l]:void 0;switch(n){case"string":case"boolean":return o;case"bigint":return BigInt(o);case"undefined":return;case"null":return null;case"number":return"NaN"===o?NaN:"-0"===o?-0:"Infinity"===o?1/0:"-Infinity"===o?-1/0:o;case"array":return o.map((e=>t.fromLocalValue(e)));case"date":return new Date(o);case"map":const e=new Map;for(const[n,s]of o){const o="object"==typeof n&&null!==n?t.fromLocalValue(n):n,l=t.fromLocalValue(s);e.set(o,l)}return e;case"object":const s={};for(const[e,n]of o)s[e]=t.fromLocalValue(n);return s;case"regexp":const{pattern:l,flags:i}=o;return RegExp(l,i);case"set":const r=new Set;for(const e of o)r.add(t.fromLocalValue(e));return r;case"symbol":return Symbol(o);default:throw Error("Unsupported type: "+n)}}static fromLocalValueArray(e){return e.map((e=>t.fromLocalValue(e)))}static isLocalValueObject(t){if("object"!=typeof t||null===t)return!1;if(!t.hasOwnProperty(s))return!1;const e=t[s];return!!Object.values({...n,...o}).includes(e)&&("null"===e||"undefined"===e||t.hasOwnProperty(l))}};((e,n)=>{for(var o in n)t(e,o,{get:n[o],enumerable:!0})})({},{err:()=>F,map:()=>U,ok:()=>P,unwrap:()=>_,unwrapErr:()=>D});var P=t=>({isOk:!0,isErr:!1,value:t}),F=t=>({isOk:!1,isErr:!0,value:t});function U(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>P(t))):P(n)}if(t.isErr)return F(t.value);throw"should never get here"}var _=t=>{if(t.isOk)return t.value;throw t.value},D=t=>{if(t.isErr)return t.value;throw t.value},W=t=>{const e=mt(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&z(e,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!H(t,q(t),!1).length)}));let n=0;for(n=0;n<e.length;n++){const t=e[n];1===t.nodeType&&mt(t,"childNodes").length&&W(t)}},V=t=>{const e=[];for(let n=0;n<t.length;n++){const o=t[n]["s-nr"]||void 0;o&&o.isConnected&&e.push(o)}return e};function z(t,e,n){let o,s=0,l=[];for(;s<t.length;s++){if(o=t[s],o["s-sr"]&&(!e||o["s-hn"]===e)&&(void 0===n||q(o)===n)&&(l.push(o),void 0!==n))return l;l=[...l,...z(o.childNodes,e,n)]}return l}var H=(t,e,n=!0)=>{const o=[];(n&&t["s-sr"]||!t["s-sr"])&&o.push(t);let s=t;for(;s=s.nextSibling;)q(s)!==e||!n&&s["s-sr"]||o.push(s);return o},J=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,Y=(t,e,n,o)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const s=document.createTextNode("");if(s["s-nr"]=t,!e["s-cr"]||!e["s-cr"].parentNode)return;const l=e["s-cr"].parentNode,i=mt(l,n?"prepend":"appendChild");if(void 0!==o){s["s-oo"]=o;const t=mt(l,"childNodes"),e=[s];t.forEach((t=>{t["s-nr"]&&e.push(t)})),e.sort(((t,e)=>!t["s-oo"]||t["s-oo"]<(e["s-oo"]||0)?-1:!e["s-oo"]||e["s-oo"]<t["s-oo"]?1:0)),e.forEach((t=>i.call(l,t)))}else i.call(l,s);t["s-ol"]=s,t["s-sh"]=e["s-hn"]},q=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function G(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const e=e=>function(t){const n=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots. \n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const s=this["s-cr"].parentElement;return(s.__childNodes?s.childNodes:V(s.childNodes)).forEach((t=>{o===q(t)&&n.push(t)})),e?n.filter((t=>1===t.nodeType)):n}.bind(t);t.assignedElements=e(!0),t.assignedNodes=e(!1)}function K(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function Q(t,e){var n;if(!(e=e||(null==(n=t["s-ol"])?void 0:n.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=q(t)||"";return{slotNode:z(mt(e,"childNodes"),e.tagName,o)[0],slotName:o}}var X=t=>{const e=t.cloneNode;t.cloneNode=function(t){const n=this.shadowRoot&&true,o=e.call(this,!!n&&t);if(!n&&t){let t,e,n=0;const s=["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"],l=this.__childNodes||this.childNodes;for(;n<l.length;n++)t=l[n]["s-nr"],e=s.every((t=>!l[n][t])),t&&(o.__appendChild?o.__appendChild(t.cloneNode(!0)):o.appendChild(t.cloneNode(!0))),e&&o.appendChild(l[n].cloneNode(!0))}return o}},Z=t=>{t.__appendChild=t.appendChild,t.appendChild=function(t){const{slotName:e,slotNode:n}=Q(t,this);if(n){Y(t,n);const o=H(n,e),s=o[o.length-1],l=mt(s,"parentNode"),i=mt(l,"insertBefore")(t,s.nextSibling);return K(n),W(this),i}return this.__appendChild(t)}},tt=t=>{t.__removeChild=t.removeChild,t.removeChild=function(t){return t&&void 0!==t["s-sn"]&&z(this.__childNodes||this.childNodes,this.tagName,t["s-sn"])&&t.isConnected?(t.remove(),void W(this)):this.__removeChild(t)}},et=t=>{t.__prepend=t.prepend,t.prepend=function(...e){e.forEach((e=>{"string"==typeof e&&(e=this.ownerDocument.createTextNode(e));const n=(e["s-sn"]=q(e))||"",o=z(mt(this,"childNodes"),this.tagName,n)[0];if(o){Y(e,o,!0);const t=H(o,n)[0],s=mt(t,"parentNode"),l=mt(s,"insertBefore")(e,mt(t,"nextSibling"));return K(o),l}return 1===e.nodeType&&e.getAttribute("slot")&&(e.hidden=!0),t.__prepend(e)}))}},nt=t=>{t.__append=t.append,t.append=function(...t){t.forEach((t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t)),this.appendChild(t)}))}},ot=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)}},st=t=>{t.insertAdjacentText=function(t,e){this.insertAdjacentHTML(t,e)}},lt=t=>{t.__insertBefore||(t.__insertBefore=t.insertBefore,t.insertBefore=function(t,e){const{slotName:n,slotNode:o}=Q(t,this),s=this.__childNodes?this.childNodes:V(this.childNodes);if(o){let l=!1;if(s.forEach((s=>{if(s!==e&&null!==e);else{if(l=!0,null===e||n!==e["s-sn"])return void this.appendChild(t);if(n===e["s-sn"]){Y(t,o);const n=mt(e,"parentNode");mt(n,"insertBefore")(t,e),K(o)}}})),l)return t}const l=null==e?void 0:e.__parentNode;return l&&!this.isSameNode(l)?this.appendChild(t):this.__insertBefore(t,e)})},it=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}},rt=t=>{$t("textContent",t),Object.defineProperty(t,"textContent",{get:function(){let t="";return(this.__childNodes?this.childNodes:V(this.childNodes)).forEach((e=>t+=e.textContent||"")),t},set:function(t){(this.__childNodes?this.childNodes:V(this.childNodes)).forEach((t=>{t["s-ol"]&&t["s-ol"].remove(),t.remove()})),this.insertAdjacentHTML("beforeend",t)}})},ct=t=>{class e extends Array{item(t){return this[t]}}$t("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),$t("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]}}),$t("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]}}),$t("childNodes",t),Object.defineProperty(t,"childNodes",{get(){const t=new e;return t.push(...V(this.__childNodes)),t}})},ut=t=>{t&&void 0===t.__nextSibling&&globalThis.Node&&(ft(t),dt(t),pt(t),t.nodeType===Node.ELEMENT_NODE&&(at(t),ht(t)))},ft=t=>{t&&!t.__nextSibling&&($t("nextSibling",t),Object.defineProperty(t,"nextSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.childNodes,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n+1]:this.__nextSibling}}))},at=t=>{t&&!t.__nextElementSibling&&($t("nextElementSibling",t),Object.defineProperty(t,"nextElementSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.children,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n+1]:this.__nextElementSibling}}))},dt=t=>{t&&!t.__previousSibling&&($t("previousSibling",t),Object.defineProperty(t,"previousSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.childNodes,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n-1]:this.__previousSibling}}))},ht=t=>{t&&!t.__previousElementSibling&&($t("previousElementSibling",t),Object.defineProperty(t,"previousElementSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.children,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n-1]:this.__previousElementSibling}}))},pt=t=>{t&&!t.__parentNode&&($t("parentNode",t),Object.defineProperty(t,"parentNode",{get:function(){var t;return(null==(t=this["s-ol"])?void 0:t.parentNode)||this.__parentNode},set:function(t){this.__parentNode=t}}))},vt=["children","nextElementSibling","previousElementSibling"],bt=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function $t(t,e){let n;vt.includes(t)?n=Object.getOwnPropertyDescriptor(Element.prototype,t):bt.includes(t)&&(n=Object.getOwnPropertyDescriptor(Node.prototype,t)),n||(n=Object.getOwnPropertyDescriptor(e,t)),n&&Object.defineProperty(e,"__"+t,n)}function mt(t,e){if("__"+e in t){const n=t["__"+e];return"function"!=typeof n?n:n.bind(t)}return"function"!=typeof t[e]?t[e]:t[e].bind(t)}var gt=(t,e,...n)=>{let o=null,s=null,l=null,i=!1,r=!1;const c=[],u=e=>{for(let n=0;n<e.length;n++)o=e[n],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof t&&!R(o))&&(o+=""),i&&r?c[c.length-1].i+=o:c.push(i?yt(null,o):o),r=i)};if(u(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,St);const f=yt(t,null);return f.u=e,c.length>0&&(f.h=c),f.p=s,f.v=l,f},yt=(t,e)=>({o:0,$:t,i:e,m:null,h:null,u:null,p:null,v:null}),wt={},St={forEach:(t,e)=>t.map(jt).forEach(e),map:(t,e)=>t.map(jt).map(e).map(Ot)},jt=t=>({vattrs:t.u,vchildren:t.h,vkey:t.p,vname:t.v,vtag:t.$,vtext:t.i}),Ot=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),gt(t.vtag,e,...t.vchildren||[])}const e=yt(t.vtag,t.vtext);return e.u=t.vattrs,e.h=t.vchildren,e.p=t.vkey,e.v=t.vname,e},Nt=(t,e,n,o,s,l,i,r=[])=>{let c,u,f,a;const d=s["s-sc"];if(1===l.nodeType){if(c=l.getAttribute(b),c&&(u=c.split("."),u[0]===i||"0"===u[0])){f=kt({o:0,S:u[0],j:u[1],O:u[2],N:u[3],$:l.tagName.toLowerCase(),m:l,u:{class:l.className||""}}),e.push(f),l.removeAttribute(b),t.h||(t.h=[]),d&&(l["s-si"]=d,f.u.class+=" "+d);const s=f.m.getAttribute("s-sn");"string"==typeof s&&("slot-fb"===f.$&&(Et(s,u[2],f,l,t,e,n,o,r),d&&l.classList.add(d)),f.m["s-sn"]=s,f.m.removeAttribute("s-sn")),void 0!==f.N&&(t.h[f.N]=f),t=f,o&&"0"===f.O&&(o[f.N]=f.m)}if(l.shadowRoot)for(a=l.shadowRoot.childNodes.length-1;a>=0;a--)Nt(t,e,n,o,s,l.shadowRoot.childNodes[a],i,r);const h=l.__childNodes||l.childNodes;for(a=h.length-1;a>=0;a--)Nt(t,e,n,o,s,h[a],i,r)}else if(8===l.nodeType)u=l.nodeValue.split("."),(u[1]===i||"0"===u[1])&&(c=u[0],f=kt({S:u[1],j:u[2],O:u[3],N:u[4]||"0",m:l,u:null,h:null,p:null,v:null,$:null,i:null}),"t"===c?(f.m=Lt(l,3),f.m&&3===f.m.nodeType&&(f.i=f.m.textContent,e.push(f),l.remove(),i===f.S&&(t.h||(t.h=[]),t.h[f.N]=f),o&&"0"===f.O&&(o[f.N]=f.m))):"c"===c?(f.m=Lt(l,8),f.m&&8===f.m.nodeType&&(e.push(f),l.remove())):f.S===i&&("s"===c?Et(l["s-sn"]=u[5]||"",u[2],f,l,t,e,n,o,r):"r"===c&&(o?l.remove():(s["s-cr"]=l,l["s-cn"]=!0))));else if(t&&"style"===t.$){const e=yt(null,l.textContent);e.m=l,e.N="0",t.h=[e]}else 3!==l.nodeType||l.wholeText.trim()||l.remove();return t},xt=(t,e)=>{if(1===t.nodeType){const n=t[p]||t.getAttribute(p);n&&e.set(n,t);let o=0;if(t.shadowRoot)for(;o<t.shadowRoot.childNodes.length;o++)xt(t.shadowRoot.childNodes[o],e);const s=t.__childNodes||t.childNodes;for(o=0;o<s.length;o++)xt(s[o],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])}},kt=t=>({o:0,S:null,j:null,O:null,N:"0",m:null,u:null,h:null,p:null,v:null,$:null,i:null,...t});function Et(t,e,n,o,s,l,i,r,c){o["s-sr"]=!0,n.v=t||null,n.$="slot";const u=(null==s?void 0:s.m)?s.m["s-id"]||s.m.getAttribute("s-id"):"";if(r&&g.document){const l=n.m=g.document.createElement(n.$);n.v&&n.m.setAttribute("name",t),u&&u!==n.S?s.m.insertBefore(l,s.m.children[0]):o.parentNode.insertBefore(n.m,o),At(c,e,t,o,n.S),o.remove(),"0"===n.O&&(r[n.N]=n.m)}else{const i=n.m,r=u&&u!==n.S&&s.m.shadowRoot;At(c,e,t,o,r?u:n.S),G(o),r&&s.m.insertBefore(i,s.m.children[0]),l.push(n)}i.push(n),s.h||(s.h=[]),s.h[n.N]=n}var Ct,It,Mt,At=(t,e,n,o,s)=>{let l=o.nextSibling;for(t[e]=t[e]||[];l&&((l.getAttribute&&l.getAttribute("slot")||l["s-sn"])===n||""===n&&!l["s-sn"]&&(8===l.nodeType&&1!==l.nodeValue.indexOf(".")||3===l.nodeType));)l["s-sn"]=n,t[e].push({slot:o,node:l,hostId:s}),l=l.nextSibling},Lt=(t,e)=>{let n=t;do{n=n.nextSibling}while(n&&(n.nodeType!==e||!n.nodeValue));return n},Rt=t=>h.push(t),Tt=t=>r(t).k,Bt=(t,e)=>{if("string"==typeof t&&(t.startsWith("{")&&t.endsWith("}")||t.startsWith("[")&&t.endsWith("]")))try{return JSON.parse(t)}catch(t){}return"string"==typeof t&&t.startsWith(i)?t=function(t){return"string"==typeof t&&t.startsWith(i)?B.fromLocalValue(JSON.parse(atob(t.slice(11)))):t}(t):null==t||R(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&e?t+"":t},Pt=t=>r(t).$hostElement$,Ft=(t,e,n)=>{const o=Pt(t);return{emit:t=>Ut(o,e,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:t})}},Ut=(t,e,n)=>{const o=w.ce(e,n);return t.dispatchEvent(o),o},_t=new WeakMap,Dt=(t,e,n)=>{let o=d.get(t);j&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,d.set(t,o)},Wt=(t,e,n)=>{var o;const s=Vt(e,n),l=d.get(s);if(!g.document)return s;if(t=11===t.nodeType?t:g.document,l)if("string"==typeof l){let n,i=_t.get(t=t.head||t);if(i||_t.set(t,i=new Set),!i.has(s)){if(t.host&&(n=t.querySelector(`[${v}="${s}"]`)))n.innerHTML=l;else{n=document.querySelector(`[${v}="${s}"]`)||g.document.createElement("style"),n.innerHTML=l;const i=null!=(o=w.C)?o:T(g.document);if(null!=i&&n.setAttribute("nonce",i),!(1&e.o))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),o=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(n,(null==o?void 0:o.parentNode)===t?o:null)}else if("host"in t)if(j){const e=new CSSStyleSheet;e.replaceSync(l),t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=l+e.innerHTML:t.prepend(n)}else t.append(n);1&e.o&&t.insertBefore(n,null)}4&e.o&&(n.innerHTML+=$),i&&i.add(s)}}else t.adoptedStyleSheets.includes(l)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,l]);return s},Vt=(t,e)=>"sc-"+(e&&32&t.o?t.I+"-"+e:t.I),zt=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Ht=(t,e,n,o,s,l,i)=>{if(n===o)return;let r=u(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,s=Yt(n);let l=Yt(o);t["s-si"]&&i?(l.push(t["s-si"]),s.forEach((e=>{e.startsWith(t["s-si"])&&l.push(e)})),l=[...new Set(l)],e.add(...l)):(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(r||"o"!==e[0]||"n"!==e[1]){const i=R(o);if((r||i&&null!==o)&&!s)try{if(t.tagName.includes("-"))t[e]!==o&&(t[e]=o);else{const s=null==o?"":o;"list"===e?r=!1:null!=n&&t[e]==s||("function"==typeof t.__lookupSetter__(e)?t[e]=s:t.setAttribute(e,s))}}catch(t){}let u=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(e=c,u=!0),null==o||!1===o?!1===o&&""!==t.getAttribute(e)||(u?t.removeAttributeNS(m,e):t.removeAttribute(e)):(!r||4&l||s)&&!i&&1===t.nodeType&&(o=!0===o?"":o,u?t.setAttributeNS(m,e,o):t.setAttribute(e,o))}else if(e="-"===e[2]?e.slice(3):u(g,c)?c.slice(2):c[2]+e.slice(3),n||o){const s=e.endsWith(qt);e=e.replace(Gt,""),n&&w.rel(t,e,n,s),o&&w.ael(t,e,o,s)}},Jt=/\s/,Yt=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(Jt):[]),qt="Capture",Gt=RegExp(qt+"$"),Kt=(t,e,n,o)=>{const s=11===e.m.nodeType&&e.m.host?e.m.host:e.m,l=t&&t.u||{},i=e.u||{};for(const t of Qt(Object.keys(l)))t in i||Ht(s,t,l[t],void 0,n,e.o,o);for(const t of Qt(Object.keys(i)))Ht(s,t,l[t],i[t],n,e.o,o)};function Qt(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var Xt=!1,Zt=!1,te=!1,ee=!1,ne=(t,e,n)=>{var o;const s=e.h[n];let l,i,r,c=0;if(Xt||(te=!0,"slot"===s.$&&(s.o|=s.h?2:1)),null!==s.i)l=s.m=g.document.createTextNode(s.i);else if(1&s.o)l=s.m=g.document.createTextNode(""),Kt(null,s,ee);else{if(ee||(ee="svg"===s.$),!g.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(l=s.m=g.document.createElementNS(ee?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!Xt&&2&s.o?"slot-fb":s.$),ee&&"foreignObject"===s.$&&(ee=!1),Kt(null,s,ee),null!=Ct&&void 0!==Ct&&l["s-si"]!==Ct&&l.classList.add(l["s-si"]=Ct),s.h)for(c=0;c<s.h.length;++c)i=ne(t,s,c),i&&l.appendChild(i);"svg"===s.$?ee=!1:"foreignObject"===l.tagName&&(ee=!0)}return l["s-hn"]=Mt,3&s.o&&(l["s-sr"]=!0,l["s-cr"]=It,l["s-sn"]=s.v||"",l["s-rf"]=null==(o=s.u)?void 0:o.ref,G(l),r=t&&t.h&&t.h[n],r&&r.$===s.$&&t.m&&oe(t.m),pe(It,l,e.m,null==t?void 0:t.m)),l},oe=t=>{w.o|=1;const e=t.closest(Mt.toLowerCase());if(null!=e){const n=Array.from(e.__childNodes||e.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of n?o.reverse():o)null!=t["s-sh"]&&(he(e,t,null!=n?n:null),t["s-sh"]=void 0,te=!0)}w.o&=-2},se=(t,e)=>{w.o|=1;const n=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let e=t;for(;e=e.nextSibling;)e&&e["s-sn"]===t["s-sn"]&&e["s-sh"]===Mt&&n.push(e)}for(let t=n.length-1;t>=0;t--){const o=n[t];o["s-hn"]!==Mt&&o["s-ol"]&&(he(ce(o).parentNode,o,ce(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,te=!0),e&&se(o,e)}w.o&=-2},le=(t,e,n,o,s,l)=>{let i,r=t["s-cr"]&&t["s-cr"].parentNode||t;for(r.shadowRoot&&r.tagName===Mt&&(r=r.shadowRoot);s<=l;++s)o[s]&&(i=ne(null,n,s),i&&(o[s].m=i,he(r,i,ce(e))))},ie=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.m;de(e),t&&(Zt=!0,t["s-ol"]?t["s-ol"].remove():se(t,!0),t.remove())}}},re=(t,e,n=!1)=>t.$===e.$&&("slot"===t.$?t.v===e.v:n?(n&&!t.p&&e.p&&(t.p=e.p),!0):t.p===e.p),ce=t=>t&&t["s-ol"]||t,ue=(t,e,n=!1)=>{const o=e.m=t.m,s=t.h,l=e.h,i=e.$,r=e.i;let c;null===r?(ee="svg"===i||"foreignObject"!==i&&ee,"slot"!==i||Xt||t.v!==e.v&&(e.m["s-sn"]=e.v||"",oe(e.m.parentElement)),Kt(t,e,ee,n),null!==s&&null!==l?((t,e,n,o,s=!1)=>{let l,i,r=0,c=0,u=0,f=0,a=e.length-1,d=e[0],h=e[a],p=o.length-1,v=o[0],b=o[p];for(;r<=a&&c<=p;)if(null==d)d=e[++r];else if(null==h)h=e[--a];else if(null==v)v=o[++c];else if(null==b)b=o[--p];else if(re(d,v,s))ue(d,v,s),d=e[++r],v=o[++c];else if(re(h,b,s))ue(h,b,s),h=e[--a],b=o[--p];else if(re(d,b,s))"slot"!==d.$&&"slot"!==b.$||se(d.m.parentNode,!1),ue(d,b,s),he(t,d.m,h.m.nextSibling),d=e[++r],b=o[--p];else if(re(h,v,s))"slot"!==d.$&&"slot"!==b.$||se(h.m.parentNode,!1),ue(h,v,s),he(t,h.m,d.m),h=e[--a],v=o[++c];else{for(u=-1,f=r;f<=a;++f)if(e[f]&&null!==e[f].p&&e[f].p===v.p){u=f;break}u>=0?(i=e[u],i.$!==v.$?l=ne(e&&e[c],n,u):(ue(i,v,s),e[u]=void 0,l=i.m),v=o[++c]):(l=ne(e&&e[c],n,c),v=o[++c]),l&&he(ce(d.m).parentNode,l,ce(d.m))}r>a?le(t,null==o[p+1]?null:o[p+1].m,n,o,c,p):c>p&&ie(e,r,a)})(o,s,e,l,n):null!==l?(null!==t.i&&(o.textContent=""),le(o,null,e,l,0,l.length-1)):!n&&null!==s&&ie(s,0,s.length-1),ee&&"svg"===i&&(ee=!1)):(c=o["s-cr"])?c.parentNode.textContent=r:t.i!==r&&(o.data=r)},fe=[],ae=t=>{let e,n,o;const s=t.__childNodes||t.childNodes;for(const t of s){if(t["s-sr"]&&(e=t["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;const s=t["s-sn"];for(o=n.length-1;o>=0;o--)if(e=n[o],!(e["s-cn"]||e["s-nr"]||e["s-hn"]===t["s-hn"]||e["s-sh"]&&e["s-sh"]===t["s-hn"]))if(J(e,s)){let n=fe.find((t=>t.M===e));Zt=!0,e["s-sn"]=e["s-sn"]||s,n?(n.M["s-sh"]=t["s-hn"],n.A=t):(e["s-sh"]=t["s-hn"],fe.push({A:t,M:e})),e["s-sr"]&&fe.map((t=>{J(t.M,e["s-sn"])&&(n=fe.find((t=>t.M===e)),n&&!t.A&&(t.A=n.A))}))}else fe.some((t=>t.M===e))||fe.push({M:e})}1===t.nodeType&&ae(t)}},de=t=>{t.u&&t.u.ref&&t.u.ref(null),t.h&&t.h.map(de)},he=(t,e,n)=>{if("string"==typeof e["s-sn"]&&e["s-sr"]&&e["s-cr"])pe(e["s-cr"],e,t,e.parentElement);else if("string"==typeof e["s-sn"]){11!==t.getRootNode().nodeType&&pt(e),t.insertBefore(e,n);const{slotNode:o}=Q(e);return o&&K(o),e}return t.__insertBefore?t.__insertBefore(e,n):null==t?void 0:t.insertBefore(e,n)};function pe(t,e,n,o){var s,l;let i;if(t&&"string"==typeof e["s-sn"]&&e["s-sr"]&&t.parentNode&&t.parentNode["s-sc"]&&(i=e["s-si"]||t.parentNode["s-sc"])){const t=e["s-sn"],r=e["s-hn"];if(null==(s=n.classList)||s.add(i+"-s"),o&&(null==(l=o.classList)?void 0:l.contains(i+"-s"))){let e=(o.__childNodes||o.childNodes)[0],n=!1;for(;e;){if(e["s-sn"]!==t&&e["s-hn"]===r&&e["s-sr"]){n=!0;break}e=e.nextSibling}n||o.classList.remove(i+"-s")}}}var ve=(t,e)=>{if(e&&!t.L&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t.L=()=>{e["s-p"].splice(n-1,1),o()})))}},be=(t,e)=>{if(t.o|=16,!(4&t.o))return ve(t,t.R),A((()=>$e(t,e)));t.o|=512},$e=(t,e)=>{const n=t.$hostElement$,o=t.t;if(!o)throw Error(`Can't render component <${n.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 s;return e?(t.o|=256,t.T&&(t.T.map((([t,e])=>Ne(o,t,e,n))),t.T=void 0),s=Ne(o,"componentWillLoad",void 0,n)):s=Ne(o,"componentWillUpdate",void 0,n),s=me(s,(()=>Ne(o,"componentWillRender",void 0,n))),me(s,(()=>ye(t,o,e)))},me=(t,e)=>ge(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),ge=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,ye=async(t,e,n)=>{var o;const s=t.$hostElement$,l=s["s-rc"];n&&(t=>{const e=t.B,n=t.$hostElement$,o=e.o,s=Wt(n.shadowRoot?n.shadowRoot:n.getRootNode(),e,t.k);10&o&&(n["s-sc"]=s,n.classList.add(s+"-h"))})(t);we(t,e,s,n),l&&(l.map((t=>t())),s["s-rc"]=void 0);{const e=null!=(o=s["s-p"])?o:[],n=()=>Se(t);0===e.length?n():(Promise.all(e).then(n),t.o|=4,e.length=0)}},we=(t,e,n,o)=>{try{e=e.render&&e.render(),t.o&=-17,t.o|=2,((t,e,n=!1)=>{var o,s,l,i,r;const c=t.$hostElement$,u=t.B,f=t.P||yt(null,null),a=(t=>t&&t.$===wt)(e)?e:gt(null,null,e);if(Mt=c.tagName,u.F&&(a.u=a.u||{},u.F.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.$=null,a.o|=4,t.P=a,a.m=f.m=c.shadowRoot||c,Ct=c["s-sc"],Xt=!(!(1&u.o)||128&u.o),It=c["s-cr"],Zt=!1,ue(f,a,n),w.o|=1,te){ae(a.m);for(const t of fe){const e=t.M;if(!e["s-ol"]&&g.document){const t=g.document.createTextNode("");t["s-nr"]=e,he(e.parentNode,e["s-ol"]=t,e)}}for(const t of fe){const e=t.M,r=t.A;if(r){const t=r.parentNode;let n=r.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||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.parentNode)||(e.__nextSibling||e.nextSibling)!==n)&&e!==n&&(he(t,e,n),1===e.nodeType&&"SLOT-FB"!==e.tagName&&(e.hidden=null!=(l=e["s-ih"])&&l)),e&&"function"==typeof r["s-rf"]&&r["s-rf"](r)}else 1===e.nodeType&&(n&&(e["s-ih"]=null!=(i=e.hidden)&&i),e.hidden=!0)}}if(Zt&&W(a.m),w.o&=-2,fe.length=0,2&u.o){const t=a.m.__childNodes||a.m.childNodes;for(const e of t)e["s-hn"]===Mt||e["s-sh"]||(n&&null==e["s-ih"]&&(e["s-ih"]=null!=(r=e.hidden)&&r),e.hidden=!0)}It=void 0})(t,e,o)}catch(e){f(e,t.$hostElement$)}return null},Se=t=>{const e=t.$hostElement$,n=t.t,o=t.R;Ne(n,"componentDidRender",void 0,e),64&t.o?Ne(n,"componentDidUpdate",void 0,e):(t.o|=64,xe(e),Ne(n,"componentDidLoad",void 0,e),t.U(e),o||Oe()),t._(e),t.L&&(t.L(),t.L=void 0),512&t.o&&I((()=>be(t,!1))),t.o&=-517},je=t=>{{const e=r(t),n=e.$hostElement$.isConnected;return n&&2==(18&e.o)&&be(e,!1),n}},Oe=()=>{I((()=>Ut(g,"appload",{detail:{namespace:"ionic"}})))},Ne=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){f(t,o)}},xe=t=>t.classList.add("hydrated"),ke=(t,e,n,o)=>{const s=r(t);if(!s)throw Error(`Couldn't find host element for "${o.I}" 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/stenciljs/core/issues/5457).`);const l=s.$hostElement$,i=s.D.get(e),c=s.o,u=s.t;if(n=Bt(n,o.W[e][0]),(!(8&c)||void 0===i)&&n!==i&&(!Number.isNaN(i)||!Number.isNaN(n))&&(s.D.set(e,n),u)){if(o.V&&128&c){const t=o.V[e];t&&t.map((t=>{try{u[t](n,i,e)}catch(t){f(t,l)}}))}if(2==(18&c)){if(u.componentShouldUpdate&&!1===u.componentShouldUpdate(n,i,e))return;be(s,!1)}}},Ee=(t,e,n)=>{var o,s;const l=t.prototype;if(e.W||e.V||t.watchers){t.watchers&&!e.V&&(e.V=t.watchers);const i=Object.entries(null!=(o=e.W)?o:{});if(i.map((([t,[o]])=>{if(31&o||2&n&&32&o){const{get:s,set:i}=Object.getOwnPropertyDescriptor(l,t)||{};s&&(e.W[t][0]|=2048),i&&(e.W[t][0]|=4096),(1&n||!s)&&Object.defineProperty(l,t,{get(){{if(!(2048&e.W[t][0]))return((t,e)=>r(this).D.get(e))(0,t);const n=r(this),o=n?n.t:l;if(!o)return;return o[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(l,t,{set(s){const l=r(this);if(i){const n=32&o?this[t]:l.$hostElement$[t];return void 0===n&&l.D.get(t)?s=l.D.get(t):!l.D.get(t)&&n&&l.D.set(t,n),i.call(this,Bt(s,o)),void ke(this,t,s=32&o?this[t]:l.$hostElement$[t],e)}{if(!(1&n&&4096&e.W[t][0]))return ke(this,t,s,e),void(1&n&&!l.t&&l.H.then((()=>{4096&e.W[t][0]&&l.t[t]!==l.D.get(t)&&(l.t[t]=s)})));const i=()=>{const n=l.t[t];!l.D.get(t)&&n&&l.D.set(t,n),l.t[t]=Bt(s,o),ke(this,t,l.t[t],e)};l.t?i():l.H.then((()=>i()))}}})}else 1&n&&64&o&&Object.defineProperty(l,t,{value(...e){var n;const o=r(this);return null==(n=null==o?void 0:o.J)?void 0:n.then((()=>{var n;return null==(n=o.t)?void 0:n[t](...e)}))}})})),1&n){const n=new Map;l.attributeChangedCallback=function(t,o,s){w.jmp((()=>{var i;const c=n.get(t);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(l.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const n=r(this),l=null==n?void 0:n.o;if(l&&!(8&l)&&128&l&&s!==o){const l=n.t,r=null==(i=e.V)?void 0:i[t];null==r||r.forEach((e=>{null!=l[e]&&l[e].call(l,s,o,t)}))}return}}const u=Object.getOwnPropertyDescriptor(l,c);(s=(null!==s||"boolean"!=typeof this[c])&&s)===this[c]||u.get&&!u.set||(this[c]=s)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=e.V)?s:{}),...i.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.F)||s.push([t,l])),l}))]))}}return t},Ce=(t,e)=>{Ne(t,"connectedCallback",void 0,e)},Ie=t=>{if(!(1&w.o)){const e=r(t),n=e.B,o=()=>{};if(1&e.o)Re(t,e,n.Y),(null==e?void 0:e.t)?Ce(e.t,t):(null==e?void 0:e.H)&&e.H.then((()=>Ce(e.t,t)));else{let o;if(e.o|=1,o=t.getAttribute(p),o){if(1&n.o){const e=Wt(t.shadowRoot,n,t.getAttribute("s-mode"));t.classList.remove(e+"-h",e+"-s")}else if(2&n.o){const e=Vt(n,t.getAttribute("s-mode"));t["s-sc"]=e}((t,e,n,o)=>{var s;const l=t.shadowRoot,i=[],r=[],c=[],u=l?[]:null,f=yt(e,null);let a;f.m=t,Object.entries((null==(s=o.B)?void 0:s.W)||{}).forEach((([e,[n,s]])=>{var l;if(!(31&n))return;const i=t.getAttribute(s||e);if(null!==i){const t=Bt(i,n);null==(l=null==o?void 0:o.D)||l.set(e,t)}}));{const e=o.B;e&&10&e.o&&t["s-sc"]?(a=t["s-sc"],t.classList.add(a+"-h")):t["s-sc"]&&delete t["s-sc"]}!g.document||w.q&&w.q.size||xt(g.document.body,w.q=new Map),t[p]=n,t.removeAttribute(p),o.P=Nt(f,i,r,u,t,t,n,c);let d=0;const h=i.length;let v;for(;d<h;d++){v=i[d];const n=v.S+"."+v.j,o=w.q.get(n),s=v.m;l||(s["s-hn"]=e.toUpperCase(),"slot"===v.$&&(s["s-cr"]=t["s-cr"])),"slot"===v.$&&(v.v=v.m["s-sn"]||v.m.name||null,v.h?(v.o|=2,v.m.childNodes.length||v.h.forEach((t=>{v.m.appendChild(t.m)}))):v.o|=1),o&&o.isConnected&&(l&&""===o["s-en"]&&o.parentNode.insertBefore(s,o.nextSibling),o.parentNode.removeChild(o),l||(s["s-oo"]=parseInt(v.j))),w.q.delete(n)}const b=[],$=c.length;let m,y,S,j,O=0;for(;O<$;O++)if(m=c[O],m&&m.length)for(S=m.length,y=0;y<S;y++){if(j=m[y],b[j.hostId]||(b[j.hostId]=w.q.get(j.hostId)),!b[j.hostId])continue;const t=b[j.hostId];t.shadowRoot&&l||(j.slot["s-cr"]=t["s-cr"],j.slot["s-cr"]=!j.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0],Y(j.node,j.slot,!1,j.node["s-oo"]),ut(j.node)),t.shadowRoot&&j.node.parentElement!==t&&t.appendChild(j.node)}if(a&&r.length&&r.forEach((t=>{t.m.parentElement.classList.add(a+"-s")})),l&&!l.childNodes.length){let e=0;const n=u.length;if(n){for(;e<n;e++)l.appendChild(u[e]);Array.from(t.childNodes).forEach((t=>{"string"!=typeof t["s-sn"]&&(1===t.nodeType&&t.slot&&t.hidden?t.removeAttribute("hidden"):(8===t.nodeType||3===t.nodeType&&!t.wholeText.trim())&&t.parentNode.removeChild(t))}))}}w.q.delete(t["s-id"]),o.$hostElement$=t})(t,n.I,o,e)}o||12&n.o&&Me(t);{let n=t;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){ve(e,e.R=n);break}}n.W&&Object.entries(n.W).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.G){const s=((t,e)=>{const n=t.I.replace(/-/g,"_"),o=t.G;if(!o)return;const s=a.get(o);return s?s[n]:import(`./${o}.entry.js`).then((t=>(a.set(o,t),t[n])),(t=>{f(t,e.$hostElement$)}))
|
|
5
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,e);if(s&&"then"in s){const t=()=>{};o=await s,t()}else o=s;if(!o)throw Error(`Constructor for "${n.I}#${e.k}" was not found`);o.isProxied||(n.V=o.watchers,Ee(o,n,2),o.isProxied=!0);const l=()=>{};e.o|=8;try{new o(e)}catch(e){f(e,t)}e.o&=-9,e.o|=128,l(),Ce(e.t,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.k=(t=>h.map((e=>e(t))).find((t=>!!t)))(t),e.k&&(s=o.style[e.k]));const l=Vt(n,e.k);if(!d.has(l)){const t=()=>{};Dt(l,s,!!(1&n.o)),t()}}}const s=e.R,l=()=>be(e,!0);s&&s["s-rc"]?s["s-rc"].push(l):l()})(t,e,n)}o()}},Me=t=>{if(!g.document)return;const e=t["s-cr"]=g.document.createComment("");e["s-cn"]=!0,he(t,e,t.firstChild)},Ae=(t,e)=>{Ne(t,"disconnectedCallback",void 0,e||t)},Le=(t,e={})=>{var n;if(!g.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const o=[],s=e.exclude||[],l=g.customElements,i=g.document.head,c=i.querySelector("meta[charset]"),u=g.document.createElement("style"),f=[];let a,d=!0;Object.assign(w,e),w.l=new URL(e.resourcesUrl||"./",g.document.baseURI).href,w.o|=2,(()=>{if(!g.document)return;const t=g.document.querySelectorAll(`[${v}]`);let e=0;for(;e<t.length;e++)Dt(t[e].getAttribute(v),zt(t[e].innerHTML),!0)})();let h=!1;if(t.map((t=>{t[1].map((e=>{var n;const i={o:e[0],I:e[1],W:e[2],Y:e[3]};4&i.o&&(h=!0),i.W=e[2],i.Y=e[3],i.F=[],i.V=null!=(n=e[4])?n:{};const c=i.I,u=class extends HTMLElement{constructor(t){if(super(t),this.hasRegisteredEventListeners=!1,((t,e)=>{const n={o:0,$hostElement$:t,B:e,D:new Map};n.J=new Promise((t=>n._=t)),n.H=new Promise((t=>n.U=t)),t["s-p"]=[],t["s-rc"]=[];const o=n;t.__stencil__getHostRef=()=>o})(t=this,i),1&i.o)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${i.I}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else t.attachShadow({mode:"open",delegatesFocus:!!(16&i.o)})}connectedCallback(){const t=r(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Re(this,t,i.Y)),a&&(clearTimeout(a),a=null),d?f.push(this):w.jmp((()=>Ie(this)))}disconnectedCallback(){w.jmp((()=>(async t=>{if(!(1&w.o)){const e=r(t);e.K&&(e.K.map((t=>t())),e.K=void 0),(null==e?void 0:e.t)?Ae(e.t,t):(null==e?void 0:e.H)&&e.H.then((()=>Ae(e.t,t)))}_t.has(t)&&_t.delete(t),t.shadowRoot&&_t.has(t.shadowRoot)&&_t.delete(t.shadowRoot)})(this))),w.raf((()=>{var t;const e=r(this),n=f.findIndex((t=>t===this));n>-1&&f.splice(n,1),(null==(t=null==e?void 0:e.P)?void 0:t.m)instanceof Node&&!e.P.m.isConnected&&delete e.P.m}))}componentOnReady(){return r(this).H}};2&i.o&&(t=>{X(t),Z(t),nt(t),et(t),it(t),ot(t),st(t),lt(t),rt(t),ct(t),tt(t)})(u.prototype),i.G=t[0],s.includes(c)||l.get(c)||(o.push(c),l.define(c,Ee(u,i,1)))}))})),o.length>0&&(h&&(u.textContent+=$),u.textContent+=o.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",u.innerHTML.length)){u.setAttribute("data-styles","");const t=null!=(n=w.C)?n:T(g.document);null!=t&&u.setAttribute("nonce",t),i.insertBefore(u,c?c.nextSibling:i.firstChild)}d=!1,f.length?f.map((t=>t.connectedCallback())):w.jmp((()=>a=setTimeout(Oe,30)))},Re=(t,e,n)=>{n&&g.document&&n.map((([n,o,s])=>{const l=Be(g.document,t,n),i=Te(e,s),r=Pe(n);w.ael(l,o,i,r),(e.K=e.K||[]).push((()=>w.rel(l,o,i,r)))}))},Te=(t,e)=>n=>{var o;try{256&t.o?null==(o=t.t)||o[e](n):(t.T=t.T||[]).push([e,n])}catch(e){f(e,t.$hostElement$)}},Be=(t,e,n)=>4&n?t:8&n?g:16&n?t.body:e,Pe=t=>({passive:!!(1&t),capture:!!(2&t)}),Fe=t=>w.C=t;export{e as B,y as H,M as a,Le as b,Ft as c,wt as d,L as e,je as f,Pt as g,gt as h,Tt as i,Rt as j,S as p,c as r,Fe as s,A as w}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import{g as t}from"./p-
|
|
4
|
+
import{g as t}from"./p-CIGNaXM1.js";var n,s;!function(t){t.Heavy="HEAVY",t.Medium="MEDIUM",t.Light="LIGHT"}(n||(n={})),function(t){t.Success="SUCCESS",t.Warning="WARNING",t.Error="ERROR"}(s||(s={}));const i={getEngine(){const n=t();if(null==n?void 0:n.isPluginAvailable("Haptics"))return n.Plugins.Haptics},available(){if(!this.getEngine())return!1;const n=t();return"web"!==(null==n?void 0:n.getPlatform())||"undefined"!=typeof navigator&&void 0!==navigator.vibrate},impact(t){const n=this.getEngine();n&&n.impact({style:t.style})},notification(t){const n=this.getEngine();n&&n.notification({type:t.type})},selection(){this.impact({style:n.Light})},selectionStart(){const t=this.getEngine();t&&t.selectionStart()},selectionChanged(){const t=this.getEngine();t&&t.selectionChanged()},selectionEnd(){const t=this.getEngine();t&&t.selectionEnd()}},o=()=>i.available(),e=()=>{o()&&i.selection()},a=()=>{o()&&i.selectionStart()},c=()=>{o()&&i.selectionChanged()},r=()=>{o()&&i.selectionEnd()},l=t=>{o()&&i.impact(t)};export{n as I,c as a,a as b,e as c,l as d,r as h}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import{p as e}from"./p-3f4327f7.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{a as e}from"./p-CeCT60rb.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 C(e,t)},j=e=>{const{dayOfWeek:t}=e;if(null==t)throw new Error("No day of week provided");return M(e,6-t)},T=e=>M(e,1),D=e=>C(e,1),k=e=>C(e,7),x=e=>M(e,7),C=(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},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},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},Z=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)]:[Z(e),o,r]}return[Z(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{V as A,me as B,d as C,Oe as D,ye as E,he as F,fe as G,u as H,$e as I,l as J,A as K,se as L,q as M,ce as N,a as O,J as P,L as Q,oe as R,o as a,U as b,t as c,z as d,R as e,m as f,Z 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,f as t,h as u,G as v,r as w,v as x,p as y,re as z}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import{c as o}from"./p-
|
|
4
|
+
import{c as o}from"./p-XWSYNdC9.js";const s=(s,...e)=>{const n=o.get("logLevel","WARN");if(["WARN"].includes(n))return console.warn(`[Ionic Warning]: ${s}`,...e)},e=(s,...e)=>{const n=o.get("logLevel","ERROR");if(["ERROR","WARN"].includes(n))return console.error(`[Ionic Error]: ${s}`,...e)},n=(o,...s)=>console.error(`<${o.tagName.toLowerCase()}> must be used inside ${s.join(" or ")}.`);export{s as a,n as b,e as p}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import{w as o,d as t}from"./p-ZjP4CjeZ.js";import{g as n,c as i,f as r}from"./p-B1sP_kPm.js";import{f as a,m as e,r as s,c as d}from"./p-Di6ciXLG.js";import{a as c,K as l}from"./p-D13Eaw-8.js";import"./p-CeCT60rb.js";import"./p-XWSYNdC9.js";import"./p-C5UXyyFe.js";import"./p-CIGNaXM1.js";const u=new WeakMap,f=(o,t,n,i=0,r=!1)=>{u.has(o)!==n&&(n?p(o,t,i,r):w(o,t))},p=(o,t,n,i=!1)=>{const r=t.parentNode,a=t.cloneNode(!1);a.classList.add("cloned-input"),a.tabIndex=-1,i&&(a.disabled=!0),r.appendChild(a),u.set(o,a);const e="rtl"===o.ownerDocument.dir?9999:-9999;o.style.pointerEvents="none",t.style.transform=`translate3d(${e}px,${n}px,0) scale(0)`},w=(o,t)=>{const n=u.get(o);n&&(u.delete(o),n.remove()),o.style.pointerEvents="",t.style.transform=""},m="input, textarea, [no-blur], [contenteditable]",y="$ionPaddingTimer",S=(o,t,n)=>{const i=o[y];i&&clearTimeout(i),t>0?o.style.setProperty("--keyboard-offset",`${t}px`):o[y]=setTimeout((()=>{o.style.setProperty("--keyboard-offset","0px"),n&&n()}),120)},h=(o,t,n)=>{o.addEventListener("focusout",(()=>{t&&S(t,0,n)}),{once:!0})};let b=0;const D="data-ionic-skip-scroll-assist",M=o=>{document.activeElement!==o&&(o.setAttribute(D,"true"),o.focus())},j=async(o,t,r,a,e,d,c=!1,l=0,u=!0)=>{if(!r&&!a)return;const p=((o,t,n,i)=>{var r;return((o,t,n,i)=>{const r=o.top,a=o.bottom,e=t.top,s=e+15,d=Math.min(t.bottom,i-n)-50-a,c=s-r,l=Math.round(d<0?-d:c>0?-c:0),u=Math.min(l,r-e),f=Math.abs(u);return{scrollAmount:u,scrollDuration:Math.min(400,Math.max(150,f/.3)),scrollPadding:n,inputSafeY:4-(r-s)}})((null!==(r=o.closest("ion-item,[ion-item]"))&&void 0!==r?r:o).getBoundingClientRect(),t.getBoundingClientRect(),n,i)})(o,r||a,e,l);if(r&&Math.abs(p.scrollAmount)<4)return M(t),void(d&&null!==r&&(S(r,b),h(t,r,(()=>b=0))));if(f(o,t,!0,p.inputSafeY,c),M(t),s((()=>o.click())),d&&r&&(b=p.scrollPadding,S(r,b)),"undefined"!=typeof window){let a;const e=async()=>{void 0!==a&&clearTimeout(a),window.removeEventListener("ionKeyboardDidShow",s),window.removeEventListener("ionKeyboardDidShow",e),r&&await i(r,0,p.scrollAmount,p.scrollDuration),f(o,t,!1,p.inputSafeY),M(t),d&&h(t,r,(()=>b=0))},s=()=>{window.removeEventListener("ionKeyboardDidShow",s),window.addEventListener("ionKeyboardDidShow",e)};if(r){const o=await n(r);if(u&&p.scrollAmount>o.scrollHeight-o.clientHeight-o.scrollTop)return"password"===t.type?(p.scrollAmount+=50,window.addEventListener("ionKeyboardDidShow",s)):window.addEventListener("ionKeyboardDidShow",e),void(a=setTimeout(e,1e3))}e()}},v=async(n,i)=>{if(void 0===t)return;const s="ios"===i,u="android"===i,p=n.getNumber("keyboardHeight",290),w=n.getBoolean("scrollAssist",!0),y=n.getBoolean("hideCaretOnScroll",s),S=n.getBoolean("inputBlurring",!1),h=n.getBoolean("scrollPadding",!0),b=Array.from(t.querySelectorAll("ion-input, ion-textarea")),M=new WeakMap,v=new WeakMap,K=await l.getResizeMode(),k=async t=>{await new Promise((o=>d(t,o)));const n=t.shadowRoot||t,i=n.querySelector("input")||n.querySelector("textarea"),s=r(t),l=s?null:t.closest("ion-footer");if(i){if(s&&y&&!M.has(t)){const o=((o,t,n)=>{if(!n||!t)return()=>{};const i=n=>{var i;(i=t)===i.getRootNode().activeElement&&f(o,t,n)},r=()=>f(o,t,!1),s=()=>i(!0),d=()=>i(!1);return a(n,"ionScrollStart",s),a(n,"ionScrollEnd",d),t.addEventListener("blur",r),()=>{e(n,"ionScrollStart",s),e(n,"ionScrollEnd",d),t.removeEventListener("blur",r)}})(t,i,s);M.set(t,o)}if("date"!==i.type&&"datetime-local"!==i.type&&(s||l)&&w&&!v.has(t)){const n=((t,n,i,r,a,e,s,d=!1)=>{const l=e&&(void 0===s||s.mode===c.None);let u=!1;const f=void 0!==o?o.innerHeight:0,p=o=>{!1!==u?j(t,n,i,r,o.detail.keyboardHeight,l,d,f,!1):u=!0},w=()=>{u=!1,null==o||o.removeEventListener("ionKeyboardDidShow",p),t.removeEventListener("focusout",w)},m=async()=>{n.hasAttribute(D)?n.removeAttribute(D):(j(t,n,i,r,a,l,d,f),null==o||o.addEventListener("ionKeyboardDidShow",p),t.addEventListener("focusout",w))};return t.addEventListener("focusin",m),()=>{t.removeEventListener("focusin",m),null==o||o.removeEventListener("ionKeyboardDidShow",p),t.removeEventListener("focusout",w)}})(t,i,s,l,p,h,K,u);v.set(t,n)}}};S&&(()=>{let o=!0,t=!1;const n=document;a(n,"ionScrollStart",(()=>{t=!0})),n.addEventListener("focusin",(()=>{o=!0}),!0),n.addEventListener("touchend",(i=>{if(t)return void(t=!1);const r=n.activeElement;if(!r)return;if(r.matches(m))return;const a=i.target;a!==r&&(a.matches(m)||a.closest(m)||(o=!1,setTimeout((()=>{o||r.blur()}),50)))}),!1)})();for(const o of b)k(o);t.addEventListener("ionInputDidLoad",(o=>{k(o.detail)})),t.addEventListener("ionInputDidUnload",(o=>{(o=>{if(y){const t=M.get(o);t&&t(),M.delete(o)}if(w){const t=v.get(o);t&&t(),v.delete(o)}})(o.detail)}))};export{v as startInputShims}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import{G as t}from"./p-BTEOs1at.js";const e=(t,e,n,r)=>{const s=!!o(t)&&{capture:!1,passive:!!r.passive};let i,c;return t.__zone_symbol__addEventListener?(i="__zone_symbol__addEventListener",c="__zone_symbol__removeEventListener"):(i="addEventListener",c="removeEventListener"),t[i](e,n,s),()=>{t[c](e,n,s)}},o=t=>{if(void 0===n)try{const e=Object.defineProperty({},"passive",{get:()=>{n=!0}});t.addEventListener("optsTest",(()=>{}),e)}catch(t){n=!1}return!!n};let n;const r=t=>t instanceof Document?t:t.ownerDocument,s=o=>{let n=!1,s=!1,d=!0,u=!1;const l=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},o),v=l.canStart,m=l.onWillStart,p=l.onStart,f=l.onEnd,y=l.notCaptured,h=l.onMove,_=l.threshold,b=l.passive,D=l.blurOnStart,E={type:"pan",startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,event:void 0,data:void 0},g=((t,e,o)=>{const n=o*(Math.PI/180),r="x"===t,s=Math.cos(n),i=e*e;let c=0,a=0,d=!1,u=0;return{start(t,e){c=t,a=e,u=0,d=!0},detect(t,e){if(!d)return!1;const o=t-c,n=e-a,l=o*o+n*n;if(l<i)return!1;const v=Math.sqrt(l),m=(r?o:n)/v;return u=m>s?1:m<-s?-1:0,d=!1,!0},isGesture:()=>0!==u,getDirection:()=>u}})(l.direction,l.threshold,l.maxAngle),x=t.createGesture({name:o.gestureName,priority:o.gesturePriority,disableScroll:o.disableScroll}),L=()=>{n&&(u=!1,h&&h(E))},T=()=>!!x.capture()&&(n=!0,d=!1,E.startX=E.currentX,E.startY=E.currentY,E.startTime=E.currentTime,m?m(E).then(X):X(),!0),X=()=>{D&&(()=>{if("undefined"!=typeof document){const t=document.activeElement;(null==t?void 0:t.blur)&&t.blur()}})(),p&&p(E),d=!0},Y=()=>{n=!1,s=!1,u=!1,d=!0,x.release()},j=t=>{const e=n,o=d;Y(),o&&(i(E,t),e?f&&f(E):y&&y(E))},M=((t,o,n,s,i)=>{let c,a,d,u,l,v,m,p=0;const f=r=>{p=Date.now()+2e3,o(r)&&(!a&&n&&(a=e(t,"touchmove",n,i)),d||(d=e(r.target,"touchend",h,i)),u||(u=e(r.target,"touchcancel",h,i)))},y=s=>{p>Date.now()||o(s)&&(!v&&n&&(v=e(r(t),"mousemove",n,i)),m||(m=e(r(t),"mouseup",_,i)))},h=t=>{b(),s&&s(t)},_=t=>{D(),s&&s(t)},b=()=>{a&&a(),d&&d(),u&&u(),a=d=u=void 0},D=()=>{v&&v(),m&&m(),v=m=void 0},E=()=>{b(),D()},g=(o=!0)=>{o?(c||(c=e(t,"touchstart",f,i)),l||(l=e(t,"mousedown",y,i))):(c&&c(),l&&l(),c=l=void 0,E())};return{enable:g,stop:E,destroy:()=>{g(!1),s=n=o=void 0}}})(l.el,(t=>{const e=a(t);return!(s||!d)&&(c(t,E),E.startX=E.currentX,E.startY=E.currentY,E.startTime=E.currentTime=e,E.velocityX=E.velocityY=E.deltaX=E.deltaY=0,E.event=t,(!v||!1!==v(E))&&(x.release(),!!x.start()&&(s=!0,0===_?T():(g.start(E.startX,E.startY),!0))))}),(t=>{n?!u&&d&&(u=!0,i(E,t),requestAnimationFrame(L)):(i(E,t),g.detect(E.currentX,E.currentY)&&(g.isGesture()&&T()||O()))}),j,{passive:b}),O=()=>{Y(),M.stop(),y&&y(E)};return{enable(t=!0){t||(n&&j(void 0),Y()),M.enable(t)},destroy(){x.destroy(),M.destroy()}}},i=(t,e)=>{if(!e)return;const o=t.currentX,n=t.currentY,r=t.currentTime;c(e,t);const s=t.currentX,i=t.currentY,d=(t.currentTime=a(e))-r;if(d>0&&d<100){const e=(i-n)/d;t.velocityX=(s-o)/d*.7+.3*t.velocityX,t.velocityY=.7*e+.3*t.velocityY}t.deltaX=s-t.startX,t.deltaY=i-t.startY,t.event=e},c=(t,e)=>{let o=0,n=0;if(t){const e=t.changedTouches;if(e&&e.length>0){const t=e[0];o=t.clientX,n=t.clientY}else void 0!==t.pageX&&(o=t.pageX,n=t.pageY)}e.currentX=o,e.currentY=n},a=t=>t.timeStamp||Date.now();export{t as GESTURE_CONTROLLER,s as createGesture}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import{w as o,d as i}from"./p-ZjP4CjeZ.js";import{K as n,a as l}from"./p-D13Eaw-8.js";const r=o=>{if(void 0===i||o===l.None||void 0===o)return null;const n=i.querySelector("ion-app");return null!=n?n:i.body},e=o=>{const i=r(o);return null===i?0:i.clientHeight},s=async i=>{let l,s,t,a;const d=async()=>{const i=await n.getResizeMode(),r=void 0===i?void 0:i.mode;l=()=>{void 0===a&&(a=e(r)),t=!0,u(t,r)},s=()=>{t=!1,u(t,r)},null==o||o.addEventListener("keyboardWillShow",l),null==o||o.addEventListener("keyboardWillHide",s)},u=(o,n)=>{i&&i(o,c(n))},c=o=>{if(0===a||a===e(o))return;const i=r(o);return null!==i?new Promise((o=>{const n=new ResizeObserver((()=>{i.clientHeight===a&&(n.disconnect(),o())}));n.observe(i)})):void 0};return await d(),{init:d,destroy:()=>{null==o||o.removeEventListener("keyboardWillShow",l),null==o||o.removeEventListener("keyboardWillHide",s),l=s=void 0},isKeyboardVisible:()=>t}};export{s as c}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import{g as o}from"./p-
|
|
4
|
+
import{g as o}from"./p-CIGNaXM1.js";var n,i;!function(o){o.Unimplemented="UNIMPLEMENTED",o.Unavailable="UNAVAILABLE"}(n||(n={})),function(o){o.Body="body",o.Ionic="ionic",o.Native="native",o.None="none"}(i||(i={}));const t={getEngine(){const n=o();if(null==n?void 0:n.isPluginAvailable("Keyboard"))return n.Plugins.Keyboard},getResizeMode(){const o=this.getEngine();return(null==o?void 0:o.getResizeMode)?o.getResizeMode().catch((o=>{if(o.code!==n.Unimplemented)throw o})):Promise.resolve(void 0)}};export{t as K,i as a}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import{e as t}from"./p-Di6ciXLG.js";import{i as o}from"./p-C53feagD.js";import{createGesture as r}from"./p-Cl0B-RWe.js";import"./p-BTEOs1at.js";const s=(s,e,n,a,i)=>{const c=s.ownerDocument.defaultView;let p=o(s);const m=t=>p?-t.deltaX:t.deltaX;return r({el:s,gestureName:"goback-swipe",gesturePriority:101,threshold:10,canStart:t=>(p=o(s),(t=>{const{startX:o}=t;return p?o>=c.innerWidth-50:o<=50})(t)&&e()),onStart:n,onMove:t=>{const o=m(t);a(o/c.innerWidth)},onEnd:o=>{const r=m(o),s=c.innerWidth,e=r/s,n=(t=>p?-t.velocityX:t.velocityX)(o),a=n>=0&&(n>.2||r>s/2),f=(a?1-e:e)*s;let l=0;if(f>5){const t=f/Math.abs(n);l=Math.min(t,540)}i(a,e<=0?.01:t(0,e,.9999),l)}})};export{s as createSwipeBackGesture}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import{c as i}from"./p-XWSYNdC9.js";import{w as n,B as e}from"./p-C5UXyyFe.js";import{a}from"./p-CeCT60rb.js";import{r as o}from"./p-Di6ciXLG.js";const r="ionViewWillEnter",s="ionViewDidEnter",t="ionViewWillLeave",c="ionViewDidLeave",l="ionViewWillUnload",d=i=>{i.tabIndex=-1,i.focus()},u=i=>null!==i.offsetParent,p="ion-last-focus",w=n=>{if(i.get("focusManagerPriority",!1)){const i=document.activeElement;null!==i&&(null==n?void 0:n.contains(i))&&i.setAttribute(p,"true")}},f=n=>{const e=i.get("focusManagerPriority",!1);if(Array.isArray(e)&&!n.contains(document.activeElement)){const i=n.querySelector(`[${p}]`);if(i&&u(i))return void d(i);for(const i of e)switch(i){case"content":const e=n.querySelector('main, [role="main"]');if(e&&u(e))return void d(e);break;case"heading":const o=n.querySelector('h1, [role="heading"][aria-level="1"]');if(o&&u(o))return void d(o);break;case"banner":const r=n.querySelector('header, [role="banner"]');if(r&&u(r))return void d(r);break;default:a(`Unrecognized focus manager priority value ${i}`)}d(n)}},m=i=>new Promise(((e,a)=>{n((()=>{v(i),b(i).then((n=>{n.animation&&n.animation.destroy(),g(i),e(n)}),(n=>{g(i),a(n)}))}))})),v=i=>{const n=i.enteringEl,e=i.leavingEl;w(e),E(n,e,i.direction),i.showGoBack?n.classList.add("can-go-back"):n.classList.remove("can-go-back"),B(n,!1),n.style.setProperty("pointer-events","none"),e&&(B(e,!1),e.style.setProperty("pointer-events","none"))},b=async i=>{const n=await y(i);return n&&e.isBrowser?h(n,i):P(i)},g=i=>{const n=i.enteringEl,e=i.leavingEl;n.classList.remove("ion-page-invisible"),n.style.removeProperty("pointer-events"),void 0!==e&&(e.classList.remove("ion-page-invisible"),e.style.removeProperty("pointer-events")),f(n)},y=async i=>{if(i.leavingEl&&i.animated&&0!==i.duration)return i.animationBuilder?i.animationBuilder:"ios"===i.mode?(await import("./p-B61pJgh5.js")).iosTransitionAnimation:(await import("./p-BwAZiDRk.js")).mdTransitionAnimation},h=async(i,n)=>{await k(n,!0);const e=i(n.baseEl,n);V(n.enteringEl,n.leavingEl);const a=await j(e,n);return n.progressCallback&&n.progressCallback(void 0),a&&D(n.enteringEl,n.leavingEl),{hasCompleted:a,animation:e}},P=async n=>{const e=n.enteringEl,a=n.leavingEl,o=i.get("focusManagerPriority",!1);return await k(n,o),V(e,a),D(e,a),{hasCompleted:!0}},k=async(i,n)=>{(void 0!==i.deepWait?i.deepWait:n)&&await Promise.all([A(i.enteringEl),A(i.leavingEl)]),await C(i.viewIsReady,i.enteringEl)},C=async(i,n)=>{i&&await i(n)},j=(i,n)=>{const e=n.progressCallback,a=new Promise((n=>{i.onFinish((i=>n(1===i)))}));return e?(i.progressStart(!0),e(i)):i.play(),a},V=(i,n)=>{L(n,t),L(i,r)},D=(i,n)=>{L(i,s),L(n,c)},L=(i,n)=>{if(i){const e=new CustomEvent(n,{bubbles:!1,cancelable:!1});i.dispatchEvent(e)}},W=()=>new Promise((i=>o((()=>o((()=>i())))))),A=async i=>{const n=i;if(n){if(null!=n.componentOnReady){if(null!=await n.componentOnReady())return}else if(null!=n.__registerHost){const i=new Promise((i=>o(i)));return void await i}await Promise.all(Array.from(n.children).map(A))}},B=(i,n)=>{n?(i.setAttribute("aria-hidden","true"),i.classList.add("ion-page-hidden")):(i.hidden=!1,i.removeAttribute("aria-hidden"),i.classList.remove("ion-page-hidden"))},E=(i,n,e)=>{void 0!==i&&(i.style.zIndex="back"===e?"99":"101"),void 0!==n&&(n.style.zIndex="100")},M=i=>{if(i.classList.contains("ion-page"))return i;return i.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||i};export{r as L,s as a,t as b,c,l as d,A as e,M as g,L as l,B as s,m as t,W as w}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
const a=(a,r=0)=>new Promise((e=>{i(a,r,e)})),i=(a,i=0,r)=>{let e,t;const n={passive:!0},o=()=>{e&&e()},s=i=>{void 0!==i&&a!==i.target||(o(),r(i))};return a&&(a.addEventListener("webkitTransitionEnd",s,n),a.addEventListener("transitionend",s,n),t=setTimeout(s,i+500),e=()=>{void 0!==t&&(clearTimeout(t),t=void 0),a.removeEventListener("webkitTransitionEnd",s,n),a.removeEventListener("transitionend",s,n)}),o},r=(a,i)=>{a.componentOnReady?a.componentOnReady().then((a=>i(a))):c((()=>i(a)))},e=a=>void 0!==a.componentOnReady,t=(a,i=[])=>{const r={};return i.forEach((i=>{a.hasAttribute(i)&&(null!==a.getAttribute(i)&&(r[i]=a.getAttribute(i)),a.removeAttribute(i))})),r},n=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],o=a=>t(a,n),s=(a,i,r,e)=>a.addEventListener(i,r,e),l=(a,i,r,e)=>a.removeEventListener(i,r,e),u=(a,i=a)=>a.shadowRoot||i,c=a=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(a):"function"==typeof requestAnimationFrame?requestAnimationFrame(a):setTimeout(a),d=a=>!!a.shadowRoot&&!!a.attachShadow,m=a=>{if(a.focus(),a.classList.contains("ion-focusable")){const i=a.closest("ion-app");i&&i.setFocus([a])}},p=(a,i,r,e,t)=>{{let a=i.querySelector("input.aux-input");a||(a=i.ownerDocument.createElement("input"),a.type="hidden",a.classList.add("aux-input"),i.appendChild(a)),a.disabled=t,a.name=r,a.value=e||""}},f=(a,i,r)=>Math.max(a,Math.min(i,r)),b=(a,i)=>{if(!a){const a="ASSERT: "+i;throw console.error(a),new Error(a)}},v=a=>{if(a){const i=a.changedTouches;if(i&&i.length>0){const a=i[0];return{x:a.clientX,y:a.clientY}}if(void 0!==a.pageX)return{x:a.pageX,y:a.pageY}}return{x:0,y:0}},w=a=>{const i="rtl"===document.dir;switch(a){case"start":return i;case"end":return!i;default:throw new Error(`"${a}" is not a valid value for [side]. Use "start" or "end" instead.`)}},x=(a,i)=>{const r=a._original||a;return{_original:a,emit:y(r.emit.bind(r),i)}},y=(a,i=0)=>{let r;return(...e)=>{clearTimeout(r),r=setTimeout(a,i,...e)}},h=(a,i)=>{if(null!=a||(a={}),null!=i||(i={}),a===i)return!0;const r=Object.keys(a);if(r.length!==Object.keys(i).length)return!1;for(const e of r){if(!(e in i))return!1;if(a[e]!==i[e])return!1}return!0},_=a=>"number"==typeof a&&!isNaN(a)&&isFinite(a);export{p as a,t as b,r as c,x as d,f as e,s as f,u as g,e as h,o as i,_ as j,d as k,b as l,l as m,m as n,w as o,y as p,v as q,c as r,h as s,a as t}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import{
|
|
4
|
+
import{i as t,j as o}from"./p-C5UXyyFe.js";class e{constructor(){this.m=new Map}reset(t){this.m=new Map(Object.entries(t))}get(t,o){const e=this.m.get(t);return void 0!==e?e:o}getBoolean(t,o=!1){const e=this.m.get(t);return void 0===e?o:"string"==typeof e?"true"===e:!!e}getNumber(t,o){const e=parseFloat(this.m.get(t));return isNaN(e)?void 0!==o?o:NaN:e}set(t,o){this.m.set(t,o)}}const n=new e,i="ionic:",r="ionic-persist-config",s=t=>c(t),d=(t,o)=>("string"==typeof t&&(o=t,t=void 0),s(t).includes(o)),c=(t=window)=>{if(void 0===t)return[];t.Ionic=t.Ionic||{};let o=t.Ionic.platforms;return null==o&&(o=t.Ionic.platforms=a(t),o.forEach((o=>t.document.documentElement.classList.add(`plt-${o}`)))),o},a=t=>{const o=n.get("platform");return Object.keys(w).filter((e=>{const n=null==o?void 0:o[e];return"function"==typeof n?n(t):w[e](t)}))},u=t=>!!b(t,/iPad/i)||!(!b(t,/Macintosh/i)||!p(t)),l=t=>b(t,/android|sink/i),p=t=>f(t,"(any-pointer:coarse)"),m=t=>v(t)||h(t),v=t=>!!(t.cordova||t.phonegap||t.PhoneGap),h=t=>{const o=t.Capacitor;return!!((null==o?void 0:o.isNative)||(null==o?void 0:o.isNativePlatform)&&o.isNativePlatform())},b=(t,o)=>o.test(t.navigator.userAgent),f=(t,o)=>{var e;return null===(e=t.matchMedia)||void 0===e?void 0:e.call(t,o).matches},w={ipad:u,iphone:t=>b(t,/iPhone/i),ios:t=>b(t,/iPhone|iPod/i)||u(t),android:l,phablet:t=>{const o=t.innerWidth,e=t.innerHeight,n=Math.min(o,e),i=Math.max(o,e);return n>390&&n<520&&i>620&&i<800},tablet:t=>{const o=t.innerWidth,e=t.innerHeight,n=Math.min(o,e),i=Math.max(o,e);return u(t)||(t=>l(t)&&!b(t,/mobile/i))(t)||n>460&&n<820&&i>780&&i<1400},cordova:v,capacitor:h,electron:t=>b(t,/electron/i),pwa:t=>{var o;return!(!(null===(o=t.matchMedia)||void 0===o?void 0:o.call(t,"(display-mode: standalone)").matches)&&!t.navigator.standalone)},mobile:p,mobileweb:t=>p(t)&&!m(t),desktop:t=>!p(t),hybrid:m};let y;const g=o=>o&&t(o)||y,O=(t={})=>{if("undefined"==typeof window)return;const e=window.document,s=window,a=s.Ionic=s.Ionic||{},u=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(t=>{try{const o=t.sessionStorage.getItem(r);return null!==o?JSON.parse(o):{}}catch(t){return{}}})(s)),{persistConfig:!1}),a.config),(t=>{const o={};return t.location.search.slice(1).split("&").map((t=>t.split("="))).map((([t,o])=>{try{return[decodeURIComponent(t),decodeURIComponent(o)]}catch(t){return["",""]}})).filter((([t])=>{return t.substr(0,(o=i).length)===o;var o})).map((([t,o])=>[t.slice(6),o])).forEach((([t,e])=>{o[t]=e})),o})(s)),t);n.reset(u),n.getBoolean("persistConfig")&&((t,o)=>{try{t.sessionStorage.setItem(r,JSON.stringify(o))}catch(t){return}})(s,u),c(s),a.config=n,a.mode=y=n.get("mode",e.documentElement.getAttribute("mode")||(d(s,"ios")?"ios":"md")),n.set("mode",y),e.documentElement.setAttribute("mode",y),e.documentElement.classList.add(y),n.getBoolean("_testing")&&n.set("animated",!1);const l=t=>{var o;return null===(o=t.tagName)||void 0===o?void 0:o.startsWith("ION-")},p=t=>["ios","md"].includes(t);o((t=>{for(;t;){const o=t.mode||t.getAttribute("mode");if(o){if(p(o))return o;l(t)&&console.warn('Invalid ionic mode: "'+o+'", expected: "ios" or "md"')}t=t.parentElement}return y}))};export{d as a,g as b,n as c,s as g,O as i}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import{r as t,c as o,w as n,h as e,d as i,g as r,f as a}from"./p-C5UXyyFe.js";import{r as s,f as c,m as l,b as d}from"./p-Di6ciXLG.js";import{i as h}from"./p-C53feagD.js";import{c as b,h as g}from"./p-DiVJyqlX.js";import{b as m}from"./p-XWSYNdC9.js";const u=class{constructor(n){t(this,n),this.ionChange=o(this,"ionChange",7),this.ionSelect=o(this,"ionSelect",7),this.ionStyle=o(this,"ionStyle",7),this.segmentViewEl=null,this.activated=!1,this.disabled=!1,this.scrollable=!1,this.swipeGesture=!0,this.selectOnFocus=!1,this.onClick=t=>{const o=t.target,n=this.checked;"ION-SEGMENT"!==o.tagName&&(this.value=o.value,o!==n&&this.emitValueChange(),this.segmentViewEl?(this.updateSegmentView(),this.scrollable&&n&&this.checkButton(n,o)):!this.scrollable&&this.swipeGesture||(n?this.checkButton(n,o):this.setCheckedClasses()))},this.onSlottedItemsChange=()=>{this.valueChanged(this.value)},this.getSegmentButton=t=>{var o,n;const e=this.getButtons().filter((t=>!t.disabled)),i=e.findIndex((t=>t===document.activeElement));switch(t){case"first":return e[0];case"last":return e[e.length-1];case"next":return null!==(o=e[i+1])&&void 0!==o?o:e[0];case"previous":return null!==(n=e[i-1])&&void 0!==n?n:e[e.length-1];default:return null}}}colorChanged(t,o){(void 0===o&&void 0!==t||void 0!==o&&void 0===t)&&this.emitStyle()}swipeGestureChanged(){this.gestureChanged()}valueChanged(t,o){if(this.segmentViewEl&&void 0===t)this.value=this.getButtons()[0].value;else{if(void 0!==o&&void 0!==t){const n=this.getButtons(),e=n.find((t=>t.value===o)),i=n.find((o=>o.value===t));e&&i&&(this.segmentViewEl?!1!==this.triggerScrollOnValueChange&&this.updateSegmentView():this.checkButton(e,i))}else void 0!==t&&void 0===o&&this.segmentViewEl&&this.updateSegmentView();this.ionSelect.emit({value:t}),this.segmentViewEl||this.scrollActiveButtonIntoView(),this.triggerScrollOnValueChange=void 0}}disabledChanged(){if(this.gestureChanged(),this.segmentViewEl)this.segmentViewEl.disabled=this.disabled;else{const t=this.getButtons();for(const o of t)o.disabled=this.disabled}}gestureChanged(){this.gesture&&this.gesture.enable(!this.scrollable&&!this.disabled&&this.swipeGesture)}connectedCallback(){this.emitStyle(),this.segmentViewEl=this.getSegmentView()}disconnectedCallback(){this.segmentViewEl=null}componentWillLoad(){this.emitStyle()}async componentDidLoad(){this.segmentViewEl=this.getSegmentView(),this.setCheckedClasses(),s((()=>{this.scrollActiveButtonIntoView(!1)})),this.gesture=(await import("./p-Cl0B-RWe.js")).createGesture({el:this.el,gestureName:"segment",gesturePriority:100,threshold:0,passive:!1,onStart:t=>this.onStart(t),onMove:t=>this.onMove(t),onEnd:t=>this.onEnd(t)}),this.gestureChanged(),this.disabled&&this.disabledChanged(),this.updateSegmentView(!1)}onStart(t){this.valueBeforeGesture=this.value,this.activate(t)}onMove(t){this.setNextIndex(t)}onEnd(t){this.setActivated(!1),this.setNextIndex(t,!0),t.event.stopImmediatePropagation();const o=this.value;void 0!==o&&this.valueBeforeGesture!==o&&(this.emitValueChange(),this.updateSegmentView()),this.valueBeforeGesture=void 0}emitValueChange(){const{value:t}=this;this.ionChange.emit({value:t})}getButtons(){return Array.from(this.el.querySelectorAll("ion-segment-button"))}get checked(){return this.getButtons().find((t=>t.value===this.value))}setActivated(t){this.getButtons().forEach((o=>{o.classList.toggle("segment-button-activated",t)})),this.activated=t}activate(t){const o=t.event.target,n=this.getButtons().find((t=>t.value===this.value));"ION-SEGMENT-BUTTON"===o.tagName&&(n||(this.value=o.value,this.setCheckedClasses()),this.value===o.value&&this.setActivated(!0))}getIndicator(t){return(t.shadowRoot||t).querySelector(".segment-button-indicator")}checkButton(t,o){const e=this.getIndicator(t),i=this.getIndicator(o);if(null===e||null===i)return;const r=e.getBoundingClientRect(),a=i.getBoundingClientRect(),s=`translate3d(${r.left-a.left}px, 0, 0) scaleX(${r.width/a.width})`;n((()=>{i.classList.remove("segment-button-indicator-animated"),i.style.setProperty("transform",s),i.getBoundingClientRect(),i.classList.add("segment-button-indicator-animated"),i.style.setProperty("transform",""),this.scrollActiveButtonIntoView(!0)})),this.value=o.value,this.setCheckedClasses()}setCheckedClasses(){const t=this.getButtons(),o=t.findIndex((t=>t.value===this.value))+1;for(const o of t)o.classList.remove("segment-button-after-checked");o<t.length&&t[o].classList.add("segment-button-after-checked")}getSegmentView(){const t=this.getButtons().find((t=>t.contentId)),o=document.querySelector(`ion-segment-content[id="${null==t?void 0:t.contentId}"]`);return null==o?void 0:o.closest("ion-segment-view")}handleSegmentViewScroll(t){const{scrollRatio:o,isManualScroll:n}=t.detail;if(!n)return;const e=t.target,i=this.segmentViewEl,r=this.el;if(t.composedPath().includes(i)||(null==e?void 0:e.contains(r))){const t=this.getButtons();if(!t.length)return;const n=t.findIndex((t=>t.value===this.value)),e=t[n],i=Math.round(o*(t.length-1));void 0!==this.lastNextIndex&&this.lastNextIndex===i||(this.lastNextIndex=i,this.triggerScrollOnValueChange=!1,this.checkButton(e,t[i]),this.emitValueChange())}}updateSegmentView(t=!0){const o=this.getButtons().find((t=>t.value===this.value));if(!(null==o?void 0:o.contentId))return;const n=this.segmentViewEl;n&&n.setContent(o.contentId,t)}scrollActiveButtonIntoView(t=!0){const{scrollable:o,value:n,el:e}=this;if(o){const o=this.getButtons().find((t=>t.value===n));if(void 0!==o){const n=e.getBoundingClientRect(),i=o.getBoundingClientRect();e.scrollTo({top:0,left:e.scrollLeft+(i.x-n.x-n.width/2+i.width/2),behavior:t?"smooth":"instant"})}}}setNextIndex(t,o=!1){const n=h(this.el),e=this.activated,i=this.getButtons(),r=i.findIndex((t=>t.value===this.value)),a=i[r];let s,c;if(-1===r)return;const l=a.getBoundingClientRect(),d=l.left,b=l.width,g=t.currentX,m=l.top+l.height/2,u=this.el.getRootNode().elementFromPoint(g,m);if(e&&!o){if(n?g>d+b:g<d){const t=r-1;t>=0&&(c=t)}else if((n?g<d:g>d+b)&&e&&!o){const t=r+1;t<i.length&&(c=t)}void 0===c||i[c].disabled||(s=i[c])}if(!e&&o&&(s=u),null!=s){if("ION-SEGMENT"===s.tagName)return!1;a!==s&&this.checkButton(a,s)}return!0}emitStyle(){this.ionStyle.emit({segment:!0})}onKeyDown(t){const o=h(this.el);let n,e=this.selectOnFocus;switch(t.key){case"ArrowRight":t.preventDefault(),n=this.getSegmentButton(o?"previous":"next");break;case"ArrowLeft":t.preventDefault(),n=this.getSegmentButton(o?"next":"previous");break;case"Home":t.preventDefault(),n=this.getSegmentButton("first");break;case"End":t.preventDefault(),n=this.getSegmentButton("last");break;case" ":case"Enter":t.preventDefault(),n=document.activeElement,e=!0}if(n){if(e){const t=this.checked;this.checkButton(t||n,n),n!==t&&this.emitValueChange()}n.setFocus()}}render(){const t=m(this);return e(i,{key:"a64e39352050b516f7dc82ce95a4bcff8431d1d0",role:"tablist",onClick:this.onClick,class:b(this.color,{[t]:!0,"in-toolbar":g("ion-toolbar",this.el),"in-toolbar-color":g("ion-toolbar[color]",this.el),"segment-activated":this.activated,"segment-disabled":this.disabled,"segment-scrollable":this.scrollable})},e("slot",{key:"bb3f3ec30e59e0461fa620d8961ab730cc802a4e",onSlotchange:this.onSlottedItemsChange}))}get el(){return r(this)}static get watchers(){return{color:["colorChanged"],swipeGesture:["swipeGestureChanged"],value:["valueChanged"],disabled:["disabledChanged"]}}};u.style={ios:":host{--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:grid;grid-auto-columns:1fr;position:relative;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:center;justify-content:center;width:100%;background:var(--background);font-family:var(--ion-font-family, inherit);text-align:center;contain:paint;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.segment-scrollable){-ms-flex-pack:start;justify-content:start;width:auto;overflow-x:auto;grid-auto-columns:minmax(-webkit-min-content, 1fr);grid-auto-columns:minmax(min-content, 1fr)}:host(.segment-scrollable::-webkit-scrollbar){display:none}:host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.065);border-radius:8px;overflow:hidden;z-index:0}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.065)}:host(.in-toolbar){-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;width:auto}:host(.in-toolbar:not(.ion-color)){background:var(--ion-toolbar-segment-background, var(--background))}:host(.in-toolbar-color:not(.ion-color)){background:rgba(var(--ion-color-contrast-rgb), 0.11)}",md:":host{--ripple-color:currentColor;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:grid;grid-auto-columns:1fr;position:relative;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:center;justify-content:center;width:100%;background:var(--background);font-family:var(--ion-font-family, inherit);text-align:center;contain:paint;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.segment-scrollable){-ms-flex-pack:start;justify-content:start;width:auto;overflow-x:auto;grid-auto-columns:minmax(-webkit-min-content, 1fr);grid-auto-columns:minmax(min-content, 1fr)}:host(.segment-scrollable::-webkit-scrollbar){display:none}:host{--background:transparent;grid-auto-columns:minmax(auto, 360px)}:host(.in-toolbar){min-height:var(--min-height)}:host(.segment-scrollable) ::slotted(ion-segment-button){min-width:auto}"};let v=0;const f=class{constructor(o){t(this,o),this.segmentEl=null,this.inheritedAttributes={},this.checked=!1,this.disabled=!1,this.layout="icon-top",this.type="button",this.value="ion-sb-"+v++,this.updateStyle=()=>{a(this)},this.updateState=()=>{const{segmentEl:t}=this;t&&(this.checked=t.value===this.value,t.disabled&&(this.disabled=!0))}}valueChanged(){this.updateState()}connectedCallback(){const t=this.segmentEl=this.el.closest("ion-segment");t&&(this.updateState(),c(t,"ionSelect",this.updateState),c(t,"ionStyle",this.updateStyle)),this.contentId&&this.disabled&&(console.warn("Segment Button: Segment buttons cannot be disabled when associated with an <ion-segment-content>."),this.disabled=!1)}disconnectedCallback(){const t=this.segmentEl;t&&(l(t,"ionSelect",this.updateState),l(t,"ionStyle",this.updateStyle),this.segmentEl=null)}componentWillLoad(){if(this.inheritedAttributes=Object.assign({},d(this.el,["aria-label"])),!this.contentId)return;const t=document.getElementById(this.contentId);t?"ION-SEGMENT-CONTENT"===t.tagName||console.error(`Segment Button: Element with id="${this.contentId}" is not an <ion-segment-content> element.`):console.error(`Segment Button: Unable to find Segment Content with id="${this.contentId}".`)}get hasLabel(){return!!this.el.querySelector("ion-label")}get hasIcon(){return!!this.el.querySelector("ion-icon")}async setFocus(){const{nativeEl:t}=this;void 0!==t&&t.focus()}render(){const{checked:t,type:o,disabled:n,hasIcon:r,hasLabel:a,layout:s,segmentEl:c}=this,l=m(this);return e(i,{key:"f2f679a08b131cd35d63f649b9d1f1907df30a89",class:{[l]:!0,"in-toolbar":g("ion-toolbar",this.el),"in-toolbar-color":g("ion-toolbar[color]",this.el),"in-segment":g("ion-segment",this.el),"in-segment-color":void 0!==(null==c?void 0:c.color),"segment-button-has-label":a,"segment-button-has-icon":r,"segment-button-has-label-only":a&&!r,"segment-button-has-icon-only":r&&!a,"segment-button-disabled":n,"segment-button-checked":t,[`segment-button-layout-${s}`]:!0,"ion-activatable":!0,"ion-activatable-instant":!0,"ion-focusable":!0}},e("button",Object.assign({key:"8e887b5031da705a3695c0870be08696d66188de","aria-selected":t?"true":"false",role:"tab",ref:t=>this.nativeEl=t,type:o,class:"button-native",part:"native",disabled:n},this.inheritedAttributes),e("span",{key:"73b795c39cb09438e50922abf6b3a010e31fa2b6",class:"button-inner"},e("slot",{key:"9769ddc917d7e459bd80dcd81c10c379e73d1b3e"})),"md"===l&&e("ion-ripple-effect",{key:"8e4c06d6bae1034af8cc5db86fcca0ae72d042b1"})),e("div",{key:"ae73ee0e429e54a43269f99b6d3d7e1c6e8f60cc",part:"indicator",class:"segment-button-indicator segment-button-indicator-animated"},e("div",{key:"d38eabe8161403799cfbad73dd6bf912d965442c",part:"indicator-background",class:"segment-button-indicator-background"})))}get el(){return r(this)}static get watchers(){return{value:["valueChanged"]}}};f.style={ios:':host{--color:initial;--color-hover:var(--color);--color-checked:var(--color);--color-disabled:var(--color);--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;height:auto;background:var(--background);color:var(--color);text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;grid-row:1;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:0;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;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;min-width:inherit;max-width:inherit;height:auto;min-height:inherit;max-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:none;outline:none;background:transparent;contain:content;pointer-events:none;overflow:hidden;z-index:2}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}:host(.segment-button-checked){background:var(--background-checked);color:var(--color-checked)}:host(.segment-button-disabled){cursor:default;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(:focus){outline:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.segment-button-checked:hover) .button-native{color:var(--color-checked)}}::slotted(ion-icon){-ms-flex-negative:0;flex-shrink:0;-ms-flex-order:-1;order:-1;pointer-events:none}::slotted(ion-label){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;line-height:22px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.segment-button-layout-icon-top) .button-native{-ms-flex-direction:column;flex-direction:column}:host(.segment-button-layout-icon-start) .button-native{-ms-flex-direction:row;flex-direction:row}:host(.segment-button-layout-icon-end) .button-native{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.segment-button-layout-icon-bottom) .button-native{-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.segment-button-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.segment-button-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color, var(--color-checked))}.segment-button-indicator{-webkit-transform-origin:left;transform-origin:left;position:absolute;opacity:0;-webkit-box-sizing:border-box;box-sizing:border-box;will-change:transform, opacity;pointer-events:none}.segment-button-indicator-background{width:100%;height:var(--indicator-height);-webkit-transform:var(--indicator-transform);transform:var(--indicator-transform);-webkit-box-shadow:var(--indicator-box-shadow);box-shadow:var(--indicator-box-shadow);pointer-events:none}.segment-button-indicator-animated{-webkit-transition:var(--indicator-transition);transition:var(--indicator-transition)}:host(.segment-button-checked) .segment-button-indicator{opacity:1}@media (prefers-reduced-motion: reduce){.segment-button-indicator-background{-webkit-transform:none;transform:none}.segment-button-indicator-animated{-webkit-transition:none;transition:none}}:host{--background:none;--background-checked:none;--background-hover:none;--background-hover-opacity:0;--background-focused:none;--background-focused-opacity:0;--border-radius:7px;--border-width:1px;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--border-style:solid;--indicator-box-shadow:0 0 5px rgba(0, 0, 0, 0.16);--indicator-color:var(--ion-color-step-350, var(--ion-background-color-step-350, var(--ion-background-color, #fff)));--indicator-height:100%;--indicator-transition:transform 260ms cubic-bezier(0.4, 0, 0.2, 1);--indicator-transform:none;--transition:100ms all linear;--padding-top:0;--padding-end:13px;--padding-bottom:0;--padding-start:13px;margin-top:2px;margin-bottom:2px;position:relative;-ms-flex-direction:row;flex-direction:row;min-width:70px;min-height:28px;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);font-size:13px;font-weight:450;line-height:37px}:host::before{margin-left:0;margin-right:0;margin-top:5px;margin-bottom:5px;-webkit-transition:160ms opacity ease-in-out;transition:160ms opacity ease-in-out;-webkit-transition-delay:100ms;transition-delay:100ms;border-left:var(--border-width) var(--border-style) var(--border-color);content:"";opacity:1;will-change:opacity}:host(:first-of-type)::before{border-left-color:transparent}:host(.segment-button-disabled){opacity:0.3}::slotted(ion-icon){font-size:24px}:host(.segment-button-layout-icon-start) ::slotted(ion-label){-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:0;margin-inline-end:0}:host(.segment-button-layout-icon-end) ::slotted(ion-label){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:2px;margin-inline-end:2px}.segment-button-indicator{-webkit-padding-start:2px;padding-inline-start:2px;-webkit-padding-end:2px;padding-inline-end:2px;left:0;right:0;top:0;bottom:0}.segment-button-indicator-background{border-radius:var(--border-radius);background:var(--indicator-color)}.segment-button-indicator-background{-webkit-transition:var(--indicator-transition);transition:var(--indicator-transition)}:host(.segment-button-checked)::before,:host(.segment-button-after-checked)::before{opacity:0}:host(.segment-button-checked){z-index:-1}:host(.segment-button-activated){--indicator-transform:scale(0.95)}:host(.ion-focused) .button-native{opacity:0.7}@media (any-hover: hover){:host(:hover) .button-native{opacity:0.5}:host(.segment-button-checked:hover) .button-native{opacity:1}}:host(.in-segment-color){background:none;color:var(--ion-text-color, #000)}:host(.in-segment-color) .segment-button-indicator-background{background:var(--ion-color-step-350, var(--ion-background-color-step-350, var(--ion-background-color, #fff)))}@media (any-hover: hover){:host(.in-segment-color:hover) .button-native,:host(.in-segment-color.segment-button-checked:hover) .button-native{color:var(--ion-text-color, #000)}}:host(.in-toolbar:not(.in-segment-color)){--background-checked:var(--ion-toolbar-segment-background-checked, none);--color:var(--ion-toolbar-segment-color, var(--ion-toolbar-color), initial);--color-checked:var(--ion-toolbar-segment-color-checked, var(--ion-toolbar-color), initial);--indicator-color:var(--ion-toolbar-segment-indicator-color, var(--ion-color-step-350, var(--ion-background-color-step-350, var(--ion-background-color, #fff))))}:host(.in-toolbar-color) .segment-button-indicator-background{background:var(--ion-color-contrast)}:host(.in-toolbar-color:not(.in-segment-color)) .button-native{color:var(--ion-color-contrast)}:host(.in-toolbar-color.segment-button-checked:not(.in-segment-color)) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.in-toolbar-color:not(.in-segment-color):hover) .button-native{color:var(--ion-color-contrast)}:host(.in-toolbar-color.segment-button-checked:not(.in-segment-color):hover) .button-native{color:var(--ion-color-base)}}',md:':host{--color:initial;--color-hover:var(--color);--color-checked:var(--color);--color-disabled:var(--color);--padding-start:0;--padding-end:0;--padding-top:0;--padding-bottom:0;border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;height:auto;background:var(--background);color:var(--color);text-decoration:none;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;grid-row:1;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:0;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;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:inherit;flex-direction:inherit;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;min-width:inherit;max-width:inherit;height:auto;min-height:inherit;max-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:none;outline:none;background:transparent;contain:content;pointer-events:none;overflow:hidden;z-index:2}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:inherit;flex-flow:inherit;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}:host(.segment-button-checked){background:var(--background-checked);color:var(--color-checked)}:host(.segment-button-disabled){cursor:default;pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(:focus){outline:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}:host(.segment-button-checked:hover) .button-native{color:var(--color-checked)}}::slotted(ion-icon){-ms-flex-negative:0;flex-shrink:0;-ms-flex-order:-1;order:-1;pointer-events:none}::slotted(ion-label){display:block;-ms-flex-item-align:center;align-self:center;max-width:100%;line-height:22px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;pointer-events:none}:host(.segment-button-layout-icon-top) .button-native{-ms-flex-direction:column;flex-direction:column}:host(.segment-button-layout-icon-start) .button-native{-ms-flex-direction:row;flex-direction:row}:host(.segment-button-layout-icon-end) .button-native{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.segment-button-layout-icon-bottom) .button-native{-ms-flex-direction:column-reverse;flex-direction:column-reverse}:host(.segment-button-layout-icon-hide) ::slotted(ion-icon){display:none}:host(.segment-button-layout-label-hide) ::slotted(ion-label){display:none}ion-ripple-effect{color:var(--ripple-color, var(--color-checked))}.segment-button-indicator{-webkit-transform-origin:left;transform-origin:left;position:absolute;opacity:0;-webkit-box-sizing:border-box;box-sizing:border-box;will-change:transform, opacity;pointer-events:none}.segment-button-indicator-background{width:100%;height:var(--indicator-height);-webkit-transform:var(--indicator-transform);transform:var(--indicator-transform);-webkit-box-shadow:var(--indicator-box-shadow);box-shadow:var(--indicator-box-shadow);pointer-events:none}.segment-button-indicator-animated{-webkit-transition:var(--indicator-transition);transition:var(--indicator-transition)}:host(.segment-button-checked) .segment-button-indicator{opacity:1}@media (prefers-reduced-motion: reduce){.segment-button-indicator-background{-webkit-transform:none;transform:none}.segment-button-indicator-animated{-webkit-transition:none;transition:none}}:host{--background:none;--background-checked:none;--background-hover:var(--color-checked);--background-focused:var(--color-checked);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04;--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--color-checked:var(--ion-color-primary, #0054e9);--indicator-box-shadow:none;--indicator-color:var(--color-checked);--indicator-height:2px;--indicator-transition:transform 250ms cubic-bezier(0.4, 0, 0.2, 1);--indicator-transform:none;--padding-top:0;--padding-end:16px;--padding-bottom:0;--padding-start:16px;--transition:color 0.15s linear 0s, opacity 0.15s linear 0s;min-width:90px;min-height:48px;border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);font-size:14px;font-weight:500;letter-spacing:0.06em;line-height:40px;text-transform:uppercase}:host(.segment-button-disabled){opacity:0.3}:host(.in-segment-color){background:none;color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6)}:host(.in-segment-color) ion-ripple-effect{color:var(--ion-color-base)}:host(.in-segment-color) .segment-button-indicator-background{background:var(--ion-color-base)}:host(.in-segment-color.segment-button-checked) .button-native{color:var(--ion-color-base)}:host(.in-segment-color.ion-focused) .button-native::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.in-segment-color:hover) .button-native{color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6)}:host(.in-segment-color:hover) .button-native::after{background:var(--ion-color-base)}:host(.in-segment-color.segment-button-checked:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-segment-color)){--background:var(--ion-toolbar-segment-background, none);--background-checked:var(--ion-toolbar-segment-background-checked, none);--color:var(--ion-toolbar-segment-color, rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.6));--color-checked:var(--ion-toolbar-segment-color-checked, var(--ion-color-primary, #0054e9));--indicator-color:var(--ion-toolbar-segment-color-checked, var(--color-checked))}:host(.in-toolbar-color:not(.in-segment-color)) .button-native{color:rgba(var(--ion-color-contrast-rgb), 0.6)}:host(.in-toolbar-color.segment-button-checked:not(.in-segment-color)) .button-native{color:var(--ion-color-contrast)}@media (any-hover: hover){:host(.in-toolbar-color:not(.in-segment-color)) .button-native::after{background:var(--ion-color-contrast)}}::slotted(ion-icon){margin-top:12px;margin-bottom:12px;font-size:24px}::slotted(ion-label){margin-top:12px;margin-bottom:12px}:host(.segment-button-layout-icon-top) ::slotted(ion-label),:host(.segment-button-layout-icon-bottom) ::slotted(ion-icon){margin-top:0}:host(.segment-button-layout-icon-top) ::slotted(ion-icon),:host(.segment-button-layout-icon-bottom) ::slotted(ion-label){margin-bottom:0}:host(.segment-button-layout-icon-start) ::slotted(ion-label){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:0;margin-inline-end:0}:host(.segment-button-layout-icon-end) ::slotted(ion-label){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px}:host(.segment-button-has-icon-only) ::slotted(ion-icon){margin-top:12px;margin-bottom:12px}:host(.segment-button-has-label-only) ::slotted(ion-label){margin-top:12px;margin-bottom:12px}.segment-button-indicator{left:0;right:0;bottom:0}.segment-button-indicator-background{background:var(--indicator-color)}:host(.in-toolbar:not(.in-segment-color)) .segment-button-indicator-background{background:var(--ion-toolbar-segment-indicator-color, var(--indicator-color))}:host(.in-toolbar-color:not(.in-segment-color)) .segment-button-indicator-background{background:var(--ion-color-contrast)}'};export{u as ion_segment,f as ion_segment_button}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import{r as o,h as i,d as r}from"./p-C5UXyyFe.js";import{c as n}from"./p-DiVJyqlX.js";import{b as t}from"./p-XWSYNdC9.js";const a=class{constructor(i){o(this,i),this.outline=!1,this.disabled=!1}render(){const o=t(this);return i(r,{key:"fa2e9a4837ef87a17ef10f388e8caa7f604d9145","aria-disabled":this.disabled?"true":null,class:n(this.color,{[o]:!0,"chip-outline":this.outline,"chip-disabled":this.disabled,"ion-activatable":!0})},i("slot",{key:"3793fbd9d915cef7241fb101e2bc64c08b9ba482"}),"md"===o&&i("ion-ripple-effect",{key:"d3b95b53918611dec095a50f2aaaab65617947a4"}))}};a.style={ios:":host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.87);border-radius:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:4px;margin-inline-end:4px;margin-top:4px;margin-bottom:4px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;min-height:32px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);cursor:pointer;overflow:hidden;vertical-align:middle;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.chip-disabled){cursor:default;opacity:0.4;pointer-events:none}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.08);color:var(--ion-color-shade)}:host(.ion-color:focus){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.ion-color.ion-activated){background:rgba(var(--ion-color-base-rgb), 0.16)}:host(.chip-outline){border-width:1px;border-style:solid}:host(.chip-outline){border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.32);background:transparent}:host(.chip-outline.ion-color){border-color:rgba(var(--ion-color-base-rgb), 0.32)}:host(.chip-outline:not(.ion-color):focus){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}:host(.chip-outline.ion-activated:not(.ion-color)){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)}::slotted(ion-icon){font-size:1.4285714286em}:host(:not(.ion-color)) ::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}::slotted(ion-icon:first-child){-webkit-margin-start:-4px;margin-inline-start:-4px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-icon:last-child){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-4px;margin-inline-end:-4px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-avatar){-ms-flex-negative:0;flex-shrink:0;width:1.7142857143em;height:1.7142857143em}::slotted(ion-avatar:first-child){-webkit-margin-start:-8px;margin-inline-start:-8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-avatar:last-child){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-8px;margin-inline-end:-8px;margin-top:-4px;margin-bottom:-4px}:host(:focus){outline:none}:host(:focus){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-activated){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}@media (any-hover: hover){:host(:hover){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-color:hover){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.chip-outline:not(.ion-color):hover){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}}:host{font-size:clamp(13px, 0.875rem, 22px)}",md:":host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.87);border-radius:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:4px;margin-inline-end:4px;margin-top:4px;margin-bottom:4px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;min-height:32px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);cursor:pointer;overflow:hidden;vertical-align:middle;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.chip-disabled){cursor:default;opacity:0.4;pointer-events:none}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.08);color:var(--ion-color-shade)}:host(.ion-color:focus){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.ion-color.ion-activated){background:rgba(var(--ion-color-base-rgb), 0.16)}:host(.chip-outline){border-width:1px;border-style:solid}:host(.chip-outline){border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.32);background:transparent}:host(.chip-outline.ion-color){border-color:rgba(var(--ion-color-base-rgb), 0.32)}:host(.chip-outline:not(.ion-color):focus){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}:host(.chip-outline.ion-activated:not(.ion-color)){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)}::slotted(ion-icon){font-size:1.4285714286em}:host(:not(.ion-color)) ::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}::slotted(ion-icon:first-child){-webkit-margin-start:-4px;margin-inline-start:-4px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-icon:last-child){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-4px;margin-inline-end:-4px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-avatar){-ms-flex-negative:0;flex-shrink:0;width:1.7142857143em;height:1.7142857143em}::slotted(ion-avatar:first-child){-webkit-margin-start:-8px;margin-inline-start:-8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-avatar:last-child){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-8px;margin-inline-end:-8px;margin-top:-4px;margin-bottom:-4px}:host(:focus){outline:none}:host(:focus){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-activated){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}@media (any-hover: hover){:host(:hover){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-color:hover){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.chip-outline:not(.ion-color):hover){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}}:host{font-size:0.875rem}"};export{a as ion_chip}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import{e as o,r as t,c as n,h as i,d as r,g as e}from"./p-C5UXyyFe.js";import{k as a,i as s}from"./p-Di6ciXLG.js";import{a as l}from"./p-CeCT60rb.js";import{o as c,c as d,h as b}from"./p-DiVJyqlX.js";import{b as h}from"./p-XWSYNdC9.js";let u;const p=(o,t,n,i,r)=>(n="ios"===(n&&f(n))?"ios":"md",i&&"ios"===n?o=f(i):r&&"md"===n?o=f(r):(o||!t||g(t)||(o=t),v(o)&&(o=f(o))),v(o)&&""!==o.trim()?""!==o.replace(/[a-z]|-|\d/gi,"")?null:o:null),m=o=>v(o)&&(o=o.trim(),g(o))?o:null,g=o=>o.length>0&&/(\/|\.)/.test(o),v=o=>"string"==typeof o,f=o=>o.toLowerCase(),x=class{constructor(o){t(this,o),this.ionFocus=n(this,"ionFocus",7),this.ionBlur=n(this,"ionBlur",7),this.inItem=!1,this.inListHeader=!1,this.inToolbar=!1,this.formButtonEl=null,this.formEl=null,this.inheritedAttributes={},this.isCircle=!1,this.buttonType="button",this.disabled=!1,this.routerDirection="forward",this.strong=!1,this.type="button",this.handleClick=o=>{const{el:t}=this;"button"===this.type?c(this.href,o,this.routerDirection,this.routerAnimation):a(t)&&this.submitForm(o)},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.slotChanged=()=>{this.isCircle=this.hasIconOnly}}disabledChanged(){const{disabled:o}=this;this.formButtonEl&&(this.formButtonEl.disabled=o)}renderHiddenButton(){const o=this.formEl=this.findForm();if(o){const{formButtonEl:t}=this;if(null!==t&&o.contains(t))return;const n=this.formButtonEl=document.createElement("button");n.type=this.type,n.style.display="none",n.disabled=this.disabled,o.appendChild(n)}}componentWillLoad(){this.inToolbar=!!this.el.closest("ion-buttons"),this.inListHeader=!!this.el.closest("ion-list-header"),this.inItem=!!this.el.closest("ion-item")||!!this.el.closest("ion-item-divider"),this.inheritedAttributes=s(this.el)}get hasIconOnly(){return!!this.el.querySelector('[slot="icon-only"]')}get rippleType(){return(void 0===this.fill||"clear"===this.fill)&&this.hasIconOnly&&this.inToolbar?"unbounded":"bounded"}findForm(){const{form:o}=this;if(o instanceof HTMLFormElement)return o;if("string"==typeof o){const t=document.getElementById(o);return t?t instanceof HTMLFormElement?t:(l(`Form with selector: "#${o}" could not be found. Verify that the id is attached to a <form> element.`,this.el),null):(l(`Form with selector: "#${o}" could not be found. Verify that the id is correct and the form is rendered in the DOM.`,this.el),null)}return void 0!==o?(l('The provided "form" element is invalid. Verify that the form is a HTMLFormElement and rendered in the DOM.',this.el),null):this.el.closest("form")}submitForm(o){this.formEl&&this.formButtonEl&&(o.preventDefault(),this.formButtonEl.click())}render(){const o=h(this),{buttonType:t,type:n,disabled:e,rel:a,target:s,size:l,href:c,color:u,expand:p,hasIconOnly:m,shape:g,strong:v,inheritedAttributes:f}=this,x=void 0===l&&this.inItem?"small":l,k=void 0===c?"button":"a",y="button"===k?{type:n}:{download:this.download,href:c,rel:a,target:s};let w=this.fill;return null==w&&(w=this.inToolbar||this.inListHeader?"clear":"solid"),"button"!==n&&this.renderHiddenButton(),i(r,{key:"340a809d85698741bb36e796355cae89a970655f",onClick:this.handleClick,"aria-disabled":e?"true":null,class:d(u,{[o]:!0,[t]:!0,[`${t}-${p}`]:void 0!==p,[`${t}-${x}`]:void 0!==x,[`${t}-${g}`]:void 0!==g,[`${t}-${w}`]:!0,[`${t}-strong`]:v,"in-toolbar":b("ion-toolbar",this.el),"in-toolbar-color":b("ion-toolbar[color]",this.el),"in-buttons":b("ion-buttons",this.el),"button-has-icon-only":m,"button-disabled":e,"ion-activatable":!0,"ion-focusable":!0})},i(k,Object.assign({key:"03ae1b94a0d606aa65aa6f82c2fc76abcf3f1300"},y,{class:"button-native",part:"native",disabled:e,onFocus:this.onFocus,onBlur:this.onBlur},f),i("span",{key:"90bf53d4ffcab88ee596ece7113d5b6409e61143",class:"button-inner"},i("slot",{key:"a7876695f0d8702e8bcb471ae4c0984f27d77458",name:"icon-only",onSlotchange:this.slotChanged}),i("slot",{key:"2c8551586f8726884d7797a6d3fee2d4b3aab35f",name:"start"}),i("slot",{key:"9ab07accdb22b08d0a463a7c821c9793507d1f7d"}),i("slot",{key:"8984afe177e6ba021435875a3798e2a64f3bdf2c",name:"end"})),"md"===o&&i("ion-ripple-effect",{key:"3e9f01e7a1198b6b7109502293a971da7072a4f3",type:this.rippleType})))}get el(){return e(this)}static get watchers(){return{disabled:["disabledChanged"]}}};x.style={ios:':host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;white-space:normal;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-font-kerning:none;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #0054e9);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #0054e9);--background:transparent;--color:var(--ion-color-primary, #0054e9)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #0054e9)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);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;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;min-height:inherit;-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:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-native::-moz-focus-inner{border:0}.button-inner{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;width:100%;height:100%;z-index:1}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted(ion-icon){font-size:1.35em;pointer-events:none}::slotted(ion-icon[slot=start]){-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em;margin-top:0;margin-bottom:0}::slotted(ion-icon[slot=end]){-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em;margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host{--border-radius:14px;--padding-top:13px;--padding-bottom:13px;--padding-start:1em;--padding-end:1em;--transition:background-color, opacity 100ms linear;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:4px;margin-bottom:4px;min-height:3.1em;font-size:min(1rem, 48px);font-weight:500;letter-spacing:0}:host(.button-solid){--background-activated:var(--ion-color-primary-shade, #004acd);--background-focused:var(--ion-color-primary-shade, #004acd);--background-hover:var(--ion-color-primary-tint, #1a65eb);--background-activated-opacity:1;--background-focused-opacity:1;--background-hover-opacity:1}:host(.button-outline){--border-radius:14px;--border-width:1px;--border-style:solid;--background-activated:var(--ion-color-primary, #0054e9);--background-focused:var(--ion-color-primary, #0054e9);--background-hover:transparent;--background-focused-opacity:.1;--color-activated:var(--ion-color-primary-contrast, #fff)}:host(.button-clear){--background-activated:transparent;--background-activated-opacity:0;--background-focused:var(--ion-color-primary, #0054e9);--background-hover:transparent;--background-focused-opacity:.1;font-size:min(1.0625rem, 51px);font-weight:normal}:host(.in-buttons){font-size:clamp(17px, 1.0625rem, 21.08px);font-weight:400}:host(.button-large){--border-radius:16px;--padding-top:17px;--padding-start:1em;--padding-end:1em;--padding-bottom:17px;min-height:3.1em;font-size:min(1.25rem, 60px)}:host(.button-small){--border-radius:6px;--padding-top:4px;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:4px;min-height:2.1em;font-size:min(0.8125rem, 39px)}:host(.button-round){--border-radius:999px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}:host(.button-strong){font-weight:600}:host(.button-has-icon-only){--padding-top:0;--padding-bottom:var(--padding-top);--padding-end:var(--padding-top);--padding-start:var(--padding-end);min-width:clamp(30px, 2.125em, 60px);min-height:clamp(30px, 2.125em, 60px)}::slotted(ion-icon[slot=icon-only]){font-size:clamp(15.12px, 1.125em, 43.02px)}:host(.button-small.button-has-icon-only){min-width:clamp(23px, 2.16em, 54px);min-height:clamp(23px, 2.16em, 54px)}:host(.button-small) ::slotted(ion-icon[slot=icon-only]){font-size:clamp(12.1394px, 1.308125em, 40.1856px)}:host(.button-large.button-has-icon-only){min-width:clamp(46px, 2.5em, 78px);min-height:clamp(46px, 2.5em, 78px)}:host(.button-large) ::slotted(ion-icon[slot=icon-only]){font-size:clamp(15.12px, 0.9em, 43.056px)}:host(.button-outline.ion-focused.ion-color) .button-native,:host(.button-clear.ion-focused.ion-color) .button-native{color:var(--ion-color-base)}:host(.button-outline.ion-focused.ion-color) .button-native::after,:host(.button-clear.ion-focused.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-shade)}@media (any-hover: hover){:host(.button-clear:not(.ion-activated):hover),:host(.button-outline:not(.ion-activated):hover){opacity:0.6}:host(.button-clear.ion-color:hover) .button-native,:host(.button-outline.ion-color:hover) .button-native{color:var(--ion-color-base)}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:transparent}:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-tint)}:host(:hover.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color):not(.ion-activated)) .button-native::after{background:#fff;opacity:0.1}}:host(.button-clear.ion-activated){opacity:0.4}:host(.button-outline.ion-activated.ion-color) .button-native{color:var(--ion-color-contrast)}:host(.button-outline.ion-activated.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-activated) .button-native::after{background:var(--ion-color-shade)}:host(.button-outline.ion-activated.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--color));color:var(--ion-toolbar-background, var(--background), var(--ion-color-primary-contrast, #fff))}',md:':host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;white-space:normal;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-font-kerning:none;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #0054e9);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #0054e9);--background:transparent;--color:var(--ion-color-primary, #0054e9)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #0054e9)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);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;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;min-height:inherit;-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:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-native::-moz-focus-inner{border:0}.button-inner{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;width:100%;height:100%;z-index:1}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted(ion-icon){font-size:1.35em;pointer-events:none}::slotted(ion-icon[slot=start]){-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em;margin-top:0;margin-bottom:0}::slotted(ion-icon[slot=end]){-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em;margin-top:0;margin-bottom:0}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host{--border-radius:4px;--padding-top:8px;--padding-bottom:8px;--padding-start:1.1em;--padding-end:1.1em;--transition:box-shadow 280ms cubic-bezier(.4, 0, .2, 1),\n background-color 15ms linear,\n color 15ms linear;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:4px;margin-bottom:4px;min-height:36px;font-size:0.875rem;font-weight:500;letter-spacing:0.06em;text-transform:uppercase}:host(.button-solid){--background-activated:transparent;--background-hover:var(--ion-color-primary-contrast, #fff);--background-focused:var(--ion-color-primary-contrast, #fff);--background-activated-opacity:0;--background-focused-opacity:.24;--background-hover-opacity:.08;--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)}:host(.button-solid.ion-activated){--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)}:host(.button-outline){--border-width:2px;--border-style:solid;--box-shadow:none;--background-activated:transparent;--background-focused:var(--ion-color-primary, #0054e9);--background-hover:var(--ion-color-primary, #0054e9);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}:host(.button-outline.ion-activated.ion-color) .button-native{background:transparent}:host(.button-clear){--background-activated:transparent;--background-focused:var(--ion-color-primary, #0054e9);--background-hover:var(--ion-color-primary, #0054e9);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}:host(.button-round){--border-radius:999px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}:host(.button-large){--padding-top:14px;--padding-start:1em;--padding-end:1em;--padding-bottom:14px;min-height:2.8em;font-size:1.25rem}:host(.button-small){--padding-top:4px;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:4px;min-height:2.1em;font-size:0.8125rem}:host(.button-strong){font-weight:bold}:host(.button-has-icon-only){--padding-top:0;--padding-bottom:var(--padding-top);--padding-end:var(--padding-top);--padding-start:var(--padding-end);min-width:clamp(30px, 2.86em, 60px);min-height:clamp(30px, 2.86em, 60px)}::slotted(ion-icon[slot=icon-only]){font-size:clamp(15.104px, 1.6em, 43.008px)}:host(.button-small.button-has-icon-only){min-width:clamp(23px, 2.16em, 54px);min-height:clamp(23px, 2.16em, 54px)}:host(.button-small) ::slotted(ion-icon[slot=icon-only]){font-size:clamp(13.002px, 1.23125em, 40.385px)}:host(.button-large.button-has-icon-only){min-width:clamp(46px, 2.5em, 78px);min-height:clamp(46px, 2.5em, 78px)}:host(.button-large) ::slotted(ion-icon[slot=icon-only]){font-size:clamp(15.008px, 1.4em, 43.008px)}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-contrast)}:host(.button-clear.ion-color.ion-focused) .button-native::after,:host(.button-outline.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-contrast)}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}:host(.button-outline.ion-activated.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-background, var(--color));color:var(--ion-toolbar-color, var(--background), var(--ion-color-primary-contrast, #fff))}'};const k=o=>{if(1===o.nodeType){if("script"===o.nodeName.toLowerCase())return!1;for(let t=0;t<o.attributes.length;t++){const n=o.attributes[t].name;if(v(n)&&0===n.toLowerCase().indexOf("on"))return!1}for(let t=0;t<o.childNodes.length;t++)if(!k(o.childNodes[t]))return!1}return!0},y=new Map,w=new Map;let z;const $=class{constructor(o){t(this,o),this.iconName=null,this.inheritedAttributes={},this.didLoadIcon=!1,this.svgContent=void 0,this.isVisible=!1,this.mode=C(),this.color=void 0,this.ios=void 0,this.md=void 0,this.flipRtl=void 0,this.name=void 0,this.src=void 0,this.icon=void 0,this.size=void 0,this.lazy=!1,this.sanitize=!0}componentWillLoad(){this.inheritedAttributes=((o,t=[])=>{const n={};return t.forEach((t=>{o.hasAttribute(t)&&(null!==o.getAttribute(t)&&(n[t]=o.getAttribute(t)),o.removeAttribute(t))})),n})(this.el,["aria-label"])}connectedCallback(){this.waitUntilVisible(this.el,"50px",(()=>{this.isVisible=!0,this.loadIcon()}))}componentDidLoad(){this.didLoadIcon||this.loadIcon()}disconnectedCallback(){this.io&&(this.io.disconnect(),this.io=void 0)}waitUntilVisible(o,t,n){if(this.lazy&&"undefined"!=typeof window&&window.IntersectionObserver){const i=this.io=new window.IntersectionObserver((o=>{o[0].isIntersecting&&(i.disconnect(),this.io=void 0,n())}),{rootMargin:t});i.observe(o)}else n()}loadIcon(){if(this.isVisible){const t=(t=>{let n=m(t.src);if(n)return n;if(n=p(t.name,t.icon,t.mode,t.ios,t.md),n)return((t,n)=>{const i=(()=>{if("undefined"==typeof window)return new Map;if(!u){const o=window;o.Ionicons=o.Ionicons||{},u=o.Ionicons.map=o.Ionicons.map||new Map}return u})().get(t);if(i)return i;try{return o(`svg/${t}.svg`)}catch(o){console.warn(`[Ionicons Warning]: Could not load icon with name "${t}". Ensure that the icon is registered using addIcons or that the icon SVG data is passed directly to the icon component.`,n)}})(n,t);if(t.icon){if(n=m(t.icon),n)return n;if(n=m(t.icon[t.mode]),n)return n}return null})(this);t&&(y.has(t)?this.svgContent=y.get(t):((o,t)=>{let n=w.get(o);if(!n){if("undefined"==typeof fetch||"undefined"==typeof document)return y.set(o,""),Promise.resolve();if((o=>o.startsWith("data:image/svg+xml"))(o)&&(o=>-1!==o.indexOf(";utf8,"))(o)){z||(z=new DOMParser);const t=z.parseFromString(o,"text/html").querySelector("svg");return t&&y.set(o,t.outerHTML),Promise.resolve()}n=fetch(o).then((n=>{if(n.ok)return n.text().then((n=>{n&&!1!==t&&(n=(o=>{const t=document.createElement("div");t.innerHTML=o;for(let o=t.childNodes.length-1;o>=0;o--)"svg"!==t.childNodes[o].nodeName.toLowerCase()&&t.removeChild(t.childNodes[o]);const n=t.firstElementChild;if(n&&"svg"===n.nodeName.toLowerCase()){const o=n.getAttribute("class")||"";if(n.setAttribute("class",(o+" s-ion-icon").trim()),k(n))return t.innerHTML}return""})(n)),y.set(o,n||"")}));y.set(o,"")})),w.set(o,n)}return n})(t,this.sanitize).then((()=>this.svgContent=y.get(t))),this.didLoadIcon=!0)}this.iconName=p(this.name,this.icon,this.mode,this.ios,this.md)}render(){const{flipRtl:o,iconName:t,inheritedAttributes:n,el:e}=this,a=this.mode||"md",s=!!t&&(t.includes("arrow")||t.includes("chevron"))&&!1!==o,l=o||s;return i(r,Object.assign({role:"img",class:Object.assign(Object.assign({[a]:!0},X(this.color)),{[`icon-${this.size}`]:!!this.size,"flip-rtl":l,"icon-rtl":l&&(c=e,c&&""!==c.dir?"rtl"===c.dir.toLowerCase():"rtl"===(null===document||void 0===document?void 0:document.dir.toLowerCase()))})},n),i("div",this.svgContent?{class:"icon-inner",innerHTML:this.svgContent}:{class:"icon-inner"}));var c}static get assetsDirs(){return["svg"]}get el(){return e(this)}static get watchers(){return{name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"],ios:["loadIcon"],md:["loadIcon"]}}},C=()=>"undefined"!=typeof document&&document.documentElement.getAttribute("mode")||"md",X=o=>o?{"ion-color":!0,[`ion-color-${o}`]:!0}:null;$.style=":host{display:inline-block;width:1em;height:1em;contain:strict;fill:currentColor;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host .ionicon{stroke:currentColor}.ionicon-fill-none{fill:none}.ionicon-stroke-width{stroke-width:32px;stroke-width:var(--ionicon-stroke-width, 32px)}.icon-inner,.ionicon,svg{display:block;height:100%;width:100%}@supports (background: -webkit-named-image(i)){:host(.icon-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}}@supports not selector(:dir(rtl)) and selector(:host-context([dir='rtl'])){:host(.icon-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}}:host(.flip-rtl):host-context([dir='rtl']) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}@supports selector(:dir(rtl)){:host(.flip-rtl:dir(rtl)) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.flip-rtl:dir(ltr)) .icon-inner{-webkit-transform:scaleX(1);transform:scaleX(1)}}:host(.icon-small){font-size:1.125rem !important}:host(.icon-large){font-size:2rem !important}:host(.ion-color){color:var(--ion-color-base) !important}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}";export{x as ion_button,$ as ion_icon}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import{r as t,c as o,a as e,h as i,d as n,g as a}from"./p-C5UXyyFe.js";import{c as r}from"./p-B8iLKNde.js";import{r as s}from"./p-Di6ciXLG.js";import{c}from"./p-B-hirT0v.js";import{d,e as l,B as h,i as b,f as p,g as u,h as g,s as m,j as v,k as f}from"./p-B3UoCFcu.js";import{g as k}from"./p-DiVJyqlX.js";import{b as x}from"./p-XWSYNdC9.js";import{c as y}from"./p-yluxF5qo.js";import"./p-CKvCXMs9.js";import"./p-CIGNaXM1.js";import"./p-ZjP4CjeZ.js";import"./p-Cl0B-RWe.js";import"./p-BTEOs1at.js";import"./p-BTEIaRld.js";import"./p-mxKP5hf-.js";import"./p-CeCT60rb.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=c(),this.triggerController=l(),this.presented=!1,this.hasController=!1,this.keyboardClose=!0,this.buttons=[],this.backdropDismiss=!0,this.translucent=!1,this.animated=!0,this.isOpen=!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)}}}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 m(t.handler)}getButtons(){return this.buttons.map((t=>"string"==typeof t?{text:t}:t))}connectedCallback(){v(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&&s((()=>this.present())),this.triggerChanged()}render(){const{header:t,htmlAttributes:o,overlayIndex:e}=this,a=x(this),r=this.getButtons(),s=r.find((t=>"cancel"===t.role)),c=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:"fbc2ba15549c2ab04e759e82df6e177fd80cc0a6",tabindex:"0","aria-hidden":"true"}),i("div",{key:"748ee5235d0b4cb26d6f1b7589f77af2e37ad28a",class:"action-sheet-wrapper ion-overlay-wrapper",ref:t=>this.wrapperEl=t},i("div",{key:"7ce5fa236cf75e9b1e49c4725c9a811078706554",class:"action-sheet-container"},i("div",{key:"dc2251f3bcee4a93e3449f09621cbd2b65d329e9",class:"action-sheet-group",ref:t=>this.groupEl=t},void 0!==t&&i("div",{key:"48d325c8a852f56ed57a9ada1a6709d05ba32ee2",id:d,class:{"action-sheet-title":!0,"action-sheet-has-sub-title":void 0!==this.subHeader}},t,this.subHeader&&i("div",{key:"66093728052eb67f37a35f3232761ce4a08896f3",class:"action-sheet-sub-title"},this.subHeader)),c.map((t=>i("button",Object.assign({},t.htmlAttributes,{type:"button",id:t.id,class:B(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))))),s&&i("div",{key:"f4eb8e3e2885b85af5080df18d0de0bdd1d719de",class:"action-sheet-group action-sheet-group-cancel"},i("button",Object.assign({key:"169f4eb09255aba85062baad49ceb151239fbfb7"},s.htmlAttributes,{type:"button",class:B(s),onClick:()=>this.buttonClick(s)}),i("span",{key:"25fb8a466dd67ea94c79cfb4f9965527e1ce6d42",class:"action-sheet-button-inner"},s.icon&&i("ion-icon",{key:"eb5b071e120a2c86afdf967af6a763a43044d1ca",icon:s.icon,"aria-hidden":"true",lazy:!1,class:"action-sheet-icon"}),s.text),"md"===a&&i("ion-ripple-effect",{key:"452ad7e1052b2c681e2d98de8193949755ad4d54"}))))),i("div",{key:"e1cecf280c987c050d9445e2c458b903f153089b",tabindex:"0","aria-hidden":"true"}))}get el(){return a(this)}static get watchers(){return{isOpen:["onIsOpenChange"],trigger:["triggerChanged"]}}},B=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 i,c as t,h as e,d as s,g as n}from"./p-C5UXyyFe.js";import{d as o}from"./p-ZjP4CjeZ.js";import{r as a,g as r}from"./p-Di6ciXLG.js";import{b as l,a as c,h as d}from"./p-CKvCXMs9.js";import{a as h,b as p}from"./p-XWSYNdC9.js";import{c as f}from"./p-DiVJyqlX.js";import"./p-CIGNaXM1.js";const u=class{constructor(s){i(this,s),this.ionChange=t(this,"ionChange",7),this.isScrolling=!1,this.isColumnVisible=!1,this.canExitInputMode=!0,this.updateValueTextOnScroll=!1,this.ariaLabel=null,this.isActive=!1,this.disabled=!1,this.color="primary",this.numericInput=!1,this.centerPickerItemInView=(i,t=!0,e=!0)=>{const{isColumnVisible:s,scrollEl:n}=this;if(s&&n){const s=i.offsetTop-3*i.clientHeight+i.clientHeight/2;n.scrollTop!==s&&(this.canExitInputMode=e,this.updateValueTextOnScroll=!1,n.scroll({top:s,left:0,behavior:t?"smooth":void 0}))}},this.setPickerItemActiveState=(i,t)=>{t?i.classList.add(m):i.classList.remove(m)},this.inputModeChange=i=>{if(!this.numericInput)return;const{useInputMode:t,inputModeColumn:e}=i.detail;this.setInputModeActive(!(!t||void 0!==e&&e!==this.el))},this.setInputModeActive=i=>{this.isScrolling?this.scrollEndCallback=()=>{this.isActive=i}:this.isActive=i},this.initializeScrollListener=()=>{const i=h("ios"),{el:t,scrollEl:e}=this;let s,n=this.activeItem;const r=()=>{a((()=>{var a;if(!e)return;s&&(clearTimeout(s),s=void 0),this.isScrolling||(i&&l(),this.isScrolling=!0);const r=e.getBoundingClientRect(),h=r.x+r.width/2,p=r.y+r.height/2,f=t.getRootNode(),u=f instanceof ShadowRoot?f:o;if(void 0===u)return;const m=u.elementsFromPoint(h,p).find((i=>"ION-PICKER-COLUMN-OPTION"===i.tagName));void 0!==n&&this.setPickerItemActiveState(n,!1),void 0===m||m.disabled||(m!==n&&(i&&c(),this.canExitInputMode&&this.exitInputMode()),n=m,this.setPickerItemActiveState(m,!0),this.updateValueTextOnScroll&&(null===(a=this.assistiveFocusable)||void 0===a||a.setAttribute("aria-valuetext",this.getOptionValueText(m))),s=setTimeout((()=>{this.isScrolling=!1,this.updateValueTextOnScroll=!0,i&&d();const{scrollEndCallback:t}=this;t&&(t(),this.scrollEndCallback=void 0),this.canExitInputMode=!0,this.setValue(m.value)}),250))}))};a((()=>{e&&(e.addEventListener("scroll",r),this.destroyScrollListener=()=>{e.removeEventListener("scroll",r)})}))},this.exitInputMode=()=>{const{parentEl:i}=this;null!=i&&(i.exitInputMode(),this.el.classList.remove("picker-column-active"))},this.findNextOption=(i=1)=>{const{activeItem:t}=this;if(!t)return null;let e=t,s=t.nextElementSibling;for(;null!=s;){if(i>0&&i--,"ION-PICKER-COLUMN-OPTION"===s.tagName&&!s.disabled&&0===i)return s;e=s,s=s.nextElementSibling}return e},this.findPreviousOption=(i=1)=>{const{activeItem:t}=this;if(!t)return null;let e=t,s=t.previousElementSibling;for(;null!=s;){if(i>0&&i--,"ION-PICKER-COLUMN-OPTION"===s.tagName&&!s.disabled&&0===i)return s;e=s,s=s.previousElementSibling}return e},this.onKeyDown=i=>{const t=h("mobile");let e=null;switch(i.key){case"ArrowDown":e=t?this.findPreviousOption():this.findNextOption();break;case"ArrowUp":e=t?this.findNextOption():this.findPreviousOption();break;case"PageUp":e=t?this.findNextOption(5):this.findPreviousOption(5);break;case"PageDown":e=t?this.findPreviousOption(5):this.findNextOption(5);break;case"Home":e=this.el.querySelector("ion-picker-column-option:first-of-type");break;case"End":e=this.el.querySelector("ion-picker-column-option:last-of-type")}null!==e&&(this.setValue(e.value),i.preventDefault())},this.getOptionValueText=i=>{var t;return i?null!==(t=i.getAttribute("aria-label"))&&void 0!==t?t:i.innerText:""},this.renderAssistiveFocusable=()=>{const{activeItem:i}=this,t=this.getOptionValueText(i);return e("div",{ref:i=>this.assistiveFocusable=i,class:"assistive-focusable",role:"slider",tabindex:this.disabled?void 0:0,"aria-label":this.ariaLabel,"aria-valuemin":0,"aria-valuemax":0,"aria-valuenow":0,"aria-valuetext":t,"aria-orientation":"vertical",onKeyDown:i=>this.onKeyDown(i)})}}ariaLabelChanged(i){this.ariaLabel=i}valueChange(){this.isColumnVisible&&this.scrollActiveItemIntoView(!0)}componentWillLoad(){const i=this.parentEl=this.el.closest("ion-picker");new IntersectionObserver((i=>{if(i[i.length-1].isIntersecting){const{activeItem:i,el:t}=this;this.isColumnVisible=!0;const e=r(t).querySelector(`.${m}`);e&&this.setPickerItemActiveState(e,!1),this.scrollActiveItemIntoView(),i&&this.setPickerItemActiveState(i,!0),this.initializeScrollListener()}else this.isColumnVisible=!1,this.destroyScrollListener&&(this.destroyScrollListener(),this.destroyScrollListener=void 0)}),{threshold:.001,root:this.parentEl}).observe(this.el),null!==i&&i.addEventListener("ionInputModeChange",(i=>this.inputModeChange(i)))}componentDidRender(){const{el:i,activeItem:t,isColumnVisible:e,value:s}=this;if(e&&!t){const t=i.querySelector("ion-picker-column-option");null!==t&&t.value!==s&&this.setValue(t.value)}}async scrollActiveItemIntoView(i=!1){const t=this.activeItem;t&&this.centerPickerItemInView(t,i,!1)}async setValue(i){!0!==this.disabled&&this.value!==i&&(this.value=i,this.ionChange.emit({value:i}))}async setFocus(){this.assistiveFocusable&&this.assistiveFocusable.focus()}connectedCallback(){var i;this.ariaLabel=null!==(i=this.el.getAttribute("aria-label"))&&void 0!==i?i:"Select a value"}get activeItem(){const{value:i}=this;return Array.from(this.el.querySelectorAll("ion-picker-column-option")).find((t=>!(!this.disabled&&t.disabled)&&t.value===i))}render(){const{color:i,disabled:t,isActive:n,numericInput:o}=this,a=p(this);return e(s,{key:"a221dc10f1eb7c41637a16d2c7167c16939822fd",class:f(i,{[a]:!0,"picker-column-active":n,"picker-column-numeric-input":o,"picker-column-disabled":t})},this.renderAssistiveFocusable(),e("slot",{key:"81b0656f606856f3dc0a657bf167d81a5011405e",name:"prefix"}),e("div",{key:"71b9de67c04150255dd66592601c9d926db0c31c","aria-hidden":"true",class:"picker-opts",ref:i=>{this.scrollEl=i},tabIndex:-1},e("div",{key:"ebdc2f08c83db0cf17b4be29f28fcb00f529601e",class:"picker-item-empty","aria-hidden":"true"}," "),e("div",{key:"04ab56fcb8e6a7d6af00204c4560feb99ff34a56",class:"picker-item-empty","aria-hidden":"true"}," "),e("div",{key:"6cf8f538903faf0fe1e4130f3eaf7b4e2e17cb52",class:"picker-item-empty","aria-hidden":"true"}," "),e("slot",{key:"1cc392307b70c576be5b81b5226ceba735957f0f"}),e("div",{key:"23e3f28e2a99b9aa8b7c8f68ad9583e3ca63e9e2",class:"picker-item-empty","aria-hidden":"true"}," "),e("div",{key:"8a0563f09780c3116af0caebe4f40587ec1f041f",class:"picker-item-empty","aria-hidden":"true"}," "),e("div",{key:"13207e248fc0009f37e0c90a3ee2bac2f130b856",class:"picker-item-empty","aria-hidden":"true"}," ")),e("slot",{key:"55ecf2ab5f214f936c2468cbdb7952daf89416b8",name:"suffix"}))}get el(){return n(this)}static get watchers(){return{"aria-label":["ariaLabelChanged"],value:["valueChange"]}}},m="option-active";u.style=":host{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;max-width:100%;height:200px;font-size:22px;text-align:center}.assistive-focusable{left:0;right:0;top:0;bottom:0;position:absolute;z-index:1;pointer-events:none}.assistive-focusable:focus{outline:none}.picker-opts{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0px;padding-bottom:0px;min-width:26px;max-height:200px;outline:none;text-align:inherit;-webkit-scroll-snap-type:y mandatory;-ms-scroll-snap-type:y mandatory;scroll-snap-type:y mandatory;overflow-x:hidden;overflow-y:scroll;scrollbar-width:none}.picker-item-empty{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%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.picker-opts::-webkit-scrollbar{display:none}::slotted(ion-picker-column-option){display:block;scroll-snap-align:center}.picker-item-empty,:host(:not([disabled])) ::slotted(ion-picker-column-option.option-disabled){scroll-snap-align:none}::slotted([slot=prefix]),::slotted([slot=suffix]){max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}::slotted([slot=prefix]){-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0;padding-bottom:0;-ms-flex-pack:end;justify-content:end}::slotted([slot=suffix]){-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:0;padding-bottom:0;-ms-flex-pack:start;justify-content:start}:host(.picker-column-disabled) .picker-opts{overflow-y:hidden}:host(.picker-column-disabled) ::slotted(ion-picker-column-option){cursor:default;opacity:0.4;pointer-events:none}@media (any-hover: hover){:host(:focus) .picker-opts{outline:none;background:rgba(var(--ion-color-base-rgb), 0.2)}}";export{u as ion_picker_column}
|