voyager-ionic-core 7.7.0 → 7.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/action-sheet.js +8 -4
- package/components/alert.js +6 -2
- package/components/helpers.js +2 -2
- package/components/ion-loading.js +6 -2
- package/components/ion-modal.js +8 -6
- package/components/ion-picker.js +6 -2
- package/components/ion-select.js +3 -3
- package/components/ion-toast.js +6 -2
- package/components/item.js +3 -12
- package/components/label.js +2 -2
- package/components/overlays.js +120 -29
- package/components/popover.js +7 -3
- package/components/select-popover.js +2 -2
- package/dist/cjs/{animation-fdab9de5.js → animation-c2840aea.js} +1 -1
- package/dist/cjs/{app-globals-5a17c5e1.js → app-globals-92ad1b3d.js} +1 -1
- package/dist/cjs/{button-active-b8c3f603.js → button-active-2d6520ec.js} +1 -1
- package/dist/cjs/{form-controller-7b90d7b7.js → form-controller-c83330c0.js} +1 -1
- package/dist/cjs/{framework-delegate-a3e6d060.js → framework-delegate-e0e13baa.js} +1 -1
- package/dist/cjs/{hardware-back-button-d23873bb.js → hardware-back-button-2696acaf.js} +2 -2
- package/dist/cjs/{helpers-2e1028fa.js → helpers-da4c0ed1.js} +2 -2
- package/dist/cjs/{index-5a471146.js → index-0ffe376d.js} +25 -22
- package/dist/cjs/{index-8c679cbf.js → index-4c96691f.js} +4 -4
- package/dist/cjs/{index-10da82ce.js → index-62290fec.js} +1 -1
- package/dist/cjs/{index-84351d21.js → index-9bfcb6e8.js} +4 -4
- package/dist/cjs/{index-53d162b2.js → index-bef98850.js} +1 -1
- package/dist/cjs/index.cjs.js +11 -11
- package/dist/cjs/{input-shims-6f804705.js → input-shims-a9a85bb9.js} +2 -2
- package/dist/cjs/{input.utils-d693d18a.js → input.utils-d7dca90f.js} +1 -1
- package/dist/cjs/ion-accordion_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-action-sheet.cjs.entry.js +16 -12
- package/dist/cjs/ion-alert.cjs.entry.js +14 -10
- package/dist/cjs/ion-app_8.cjs.entry.js +12 -12
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-back-button.cjs.entry.js +3 -3
- package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-button_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-card_5.cjs.entry.js +3 -3
- package/dist/cjs/ion-checkbox.cjs.entry.js +4 -4
- package/dist/cjs/ion-chip.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime-button.cjs.entry.js +3 -3
- package/dist/cjs/ion-datetime_3.cjs.entry.js +13 -9
- package/dist/cjs/ion-fab_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-img.cjs.entry.js +3 -3
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-input.cjs.entry.js +6 -6
- package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-item_8.cjs.entry.js +7 -7
- package/dist/cjs/ion-loading.cjs.entry.js +13 -9
- package/dist/cjs/ion-menu_3.cjs.entry.js +8 -8
- package/dist/cjs/ion-modal.cjs.entry.js +16 -14
- package/dist/cjs/ion-nav_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-picker-column-internal.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker-internal.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +15 -11
- package/dist/cjs/ion-progress-bar.cjs.entry.js +3 -3
- package/dist/cjs/ion-radio_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-range.cjs.entry.js +5 -5
- package/dist/cjs/ion-refresher_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-reorder_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
- package/dist/cjs/ion-route_4.cjs.entry.js +3 -3
- package/dist/cjs/ion-searchbar.cjs.entry.js +3 -3
- package/dist/cjs/ion-segment_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-select_3.cjs.entry.js +12 -12
- package/dist/cjs/ion-spinner.cjs.entry.js +2 -2
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +6 -6
- package/dist/cjs/ion-toast.cjs.entry.js +13 -9
- package/dist/cjs/ion-toggle.cjs.entry.js +4 -4
- package/dist/cjs/{ionic-global-7358c23e.js → ionic-global-59a10130.js} +1 -1
- package/dist/cjs/ionic.cjs.js +6 -6
- package/dist/cjs/{ios.transition-8e40c54e.js → ios.transition-96679580.js} +4 -4
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{md.transition-597a2479.js → md.transition-d6c98822.js} +4 -4
- package/dist/cjs/{notch-controller-db0127c4.js → notch-controller-bfbcbb7a.js} +1 -1
- package/dist/cjs/{overlays-eaf2075f.js → overlays-db5d96f3.js} +122 -32
- package/dist/cjs/{status-tap-b0bfea34.js → status-tap-7ad5f0fb.js} +3 -3
- package/dist/cjs/{swipe-back-7a848bb8.js → swipe-back-dcd0d4a9.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/action-sheet/action-sheet.ios.css +13 -1
- package/dist/collection/components/action-sheet/action-sheet.js +9 -5
- package/dist/collection/components/alert/alert.js +8 -4
- package/dist/collection/components/item/item.js +3 -12
- package/dist/collection/components/label/label.ios.css +0 -4
- package/dist/collection/components/label/label.md.css +0 -4
- package/dist/collection/components/label/test/item/item.e2e.js +24 -0
- package/dist/collection/components/loading/loading.js +8 -4
- package/dist/collection/components/modal/modal.js +10 -8
- package/dist/collection/components/modal/test/animations/modal.e2e.js +36 -0
- package/dist/collection/components/picker/picker.js +8 -4
- package/dist/collection/components/popover/popover.ios.css +7 -0
- package/dist/collection/components/popover/popover.js +8 -4
- package/dist/collection/components/select/select.js +3 -3
- package/dist/collection/components/select-popover/select-popover.ios.css +10 -0
- package/dist/collection/components/select-popover/select-popover.md.css +10 -0
- package/dist/collection/components/toast/test/toast.spec.js +12 -0
- package/dist/collection/components/toast/toast.js +8 -4
- package/dist/collection/utils/helpers.js +1 -1
- package/dist/collection/utils/overlays.js +119 -28
- package/dist/collection/utils/test/overlays/overlays.e2e.js +122 -0
- package/dist/collection/utils/test/overlays/overlays.spec.js +51 -0
- package/dist/docs.json +23 -23
- package/dist/esm/{animation-60dbdd13.js → animation-6a0c5338.js} +1 -1
- package/dist/esm/{app-globals-47226a12.js → app-globals-5cf6195b.js} +1 -1
- package/dist/esm/{button-active-4bee452c.js → button-active-47ac8092.js} +1 -1
- package/dist/esm/{form-controller-014aa89f.js → form-controller-21dd62b1.js} +1 -1
- package/dist/esm/{framework-delegate-fed7fe7c.js → framework-delegate-ed4ba327.js} +1 -1
- package/dist/esm/{hardware-back-button-f42b9c80.js → hardware-back-button-b410a047.js} +2 -2
- package/dist/esm/{helpers-c0b9ca37.js → helpers-be245865.js} +2 -2
- package/dist/esm/{index-d64f34ea.js → index-020f5464.js} +1 -1
- package/dist/esm/{index-4b98143d.js → index-348ed70a.js} +4 -4
- package/dist/esm/{index-73881b51.js → index-4c30cddd.js} +25 -22
- package/dist/esm/{index-48209844.js → index-e1b622e3.js} +4 -4
- package/dist/esm/{index-eb12ef92.js → index-f3946ac1.js} +1 -1
- package/dist/esm/index.js +11 -11
- package/dist/esm/{input-shims-b90ca55f.js → input-shims-5329bbe8.js} +2 -2
- package/dist/esm/{input.utils-6e9b0046.js → input.utils-a445f677.js} +1 -1
- package/dist/esm/ion-accordion_2.entry.js +3 -3
- package/dist/esm/ion-action-sheet.entry.js +16 -12
- package/dist/esm/ion-alert.entry.js +14 -10
- package/dist/esm/ion-app_8.entry.js +12 -12
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-back-button.entry.js +3 -3
- package/dist/esm/ion-backdrop.entry.js +2 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +3 -3
- package/dist/esm/ion-button_2.entry.js +3 -3
- package/dist/esm/ion-card_5.entry.js +3 -3
- package/dist/esm/ion-checkbox.entry.js +4 -4
- package/dist/esm/ion-chip.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +2 -2
- package/dist/esm/ion-datetime-button.entry.js +3 -3
- package/dist/esm/ion-datetime_3.entry.js +13 -9
- package/dist/esm/ion-fab_3.entry.js +3 -3
- package/dist/esm/ion-img.entry.js +3 -3
- package/dist/esm/ion-infinite-scroll_2.entry.js +4 -4
- package/dist/esm/ion-input.entry.js +6 -6
- package/dist/esm/ion-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +7 -7
- package/dist/esm/ion-loading.entry.js +13 -9
- package/dist/esm/ion-menu_3.entry.js +8 -8
- package/dist/esm/ion-modal.entry.js +16 -14
- package/dist/esm/ion-nav_2.entry.js +6 -6
- package/dist/esm/ion-picker-column-internal.entry.js +3 -3
- package/dist/esm/ion-picker-internal.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +15 -11
- package/dist/esm/ion-progress-bar.entry.js +3 -3
- package/dist/esm/ion-radio_2.entry.js +4 -4
- package/dist/esm/ion-range.entry.js +5 -5
- package/dist/esm/ion-refresher_2.entry.js +5 -5
- package/dist/esm/ion-reorder_2.entry.js +4 -4
- package/dist/esm/ion-ripple-effect.entry.js +2 -2
- package/dist/esm/ion-route_4.entry.js +3 -3
- package/dist/esm/ion-searchbar.entry.js +3 -3
- package/dist/esm/ion-segment_2.entry.js +3 -3
- package/dist/esm/ion-select_3.entry.js +12 -12
- package/dist/esm/ion-spinner.entry.js +2 -2
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +3 -3
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +6 -6
- package/dist/esm/ion-toast.entry.js +13 -9
- package/dist/esm/ion-toggle.entry.js +4 -4
- package/dist/esm/{ionic-global-778b7863.js → ionic-global-ad9a1810.js} +1 -1
- package/dist/esm/ionic.js +7 -7
- package/dist/esm/{ios.transition-7ff7381d.js → ios.transition-7459f819.js} +4 -4
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{md.transition-28a9a26b.js → md.transition-b8224313.js} +4 -4
- package/dist/esm/{notch-controller-15d281a4.js → notch-controller-6bd3e0f9.js} +1 -1
- package/dist/esm/{overlays-fad5fe01.js → overlays-19b26885.js} +123 -32
- package/dist/esm/{status-tap-2b335fb7.js → status-tap-b41ece3c.js} +3 -3
- package/dist/esm/{swipe-back-fa0ec5cd.js → swipe-back-c6d0e5d9.js} +1 -1
- package/dist/esm-es5/{animation-60dbdd13.js → animation-6a0c5338.js} +1 -1
- package/dist/esm-es5/app-globals-5cf6195b.js +4 -0
- package/dist/esm-es5/{button-active-4bee452c.js → button-active-47ac8092.js} +1 -1
- package/dist/esm-es5/{form-controller-014aa89f.js → form-controller-21dd62b1.js} +1 -1
- package/dist/esm-es5/{framework-delegate-fed7fe7c.js → framework-delegate-ed4ba327.js} +1 -1
- package/dist/esm-es5/{hardware-back-button-f42b9c80.js → hardware-back-button-b410a047.js} +1 -1
- package/dist/esm-es5/helpers-be245865.js +4 -0
- package/dist/esm-es5/index-020f5464.js +4 -0
- package/dist/esm-es5/{index-4b98143d.js → index-348ed70a.js} +1 -1
- package/dist/esm-es5/{index-73881b51.js → index-4c30cddd.js} +1 -1
- package/dist/esm-es5/{index-48209844.js → index-e1b622e3.js} +1 -1
- package/dist/esm-es5/{index-eb12ef92.js → index-f3946ac1.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{input-shims-b90ca55f.js → input-shims-5329bbe8.js} +1 -1
- package/dist/esm-es5/{input.utils-6e9b0046.js → input.utils-a445f677.js} +1 -1
- package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
- package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
- package/dist/esm-es5/ion-alert.entry.js +1 -1
- package/dist/esm-es5/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
- package/dist/esm-es5/ion-back-button.entry.js +1 -1
- package/dist/esm-es5/ion-backdrop.entry.js +1 -1
- package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm-es5/ion-button_2.entry.js +1 -1
- package/dist/esm-es5/ion-card_5.entry.js +1 -1
- package/dist/esm-es5/ion-checkbox.entry.js +1 -1
- package/dist/esm-es5/ion-chip.entry.js +1 -1
- package/dist/esm-es5/ion-col_3.entry.js +1 -1
- package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-fab_3.entry.js +1 -1
- package/dist/esm-es5/ion-img.entry.js +1 -1
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
- package/dist/esm-es5/ion-input.entry.js +1 -1
- package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
- package/dist/esm-es5/ion-item_8.entry.js +1 -1
- package/dist/esm-es5/ion-loading.entry.js +1 -1
- package/dist/esm-es5/ion-menu_3.entry.js +1 -1
- package/dist/esm-es5/ion-modal.entry.js +1 -1
- package/dist/esm-es5/ion-nav_2.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column-internal.entry.js +1 -1
- package/dist/esm-es5/ion-picker-internal.entry.js +1 -1
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
- package/dist/esm-es5/ion-radio_2.entry.js +1 -1
- package/dist/esm-es5/ion-range.entry.js +1 -1
- package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
- package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
- package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
- package/dist/esm-es5/ion-route_4.entry.js +1 -1
- package/dist/esm-es5/ion-searchbar.entry.js +1 -1
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-spinner.entry.js +1 -1
- package/dist/esm-es5/ion-split-pane.entry.js +1 -1
- package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm-es5/ion-tab_2.entry.js +1 -1
- package/dist/esm-es5/ion-text.entry.js +1 -1
- package/dist/esm-es5/ion-textarea.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/esm-es5/{ionic-global-778b7863.js → ionic-global-ad9a1810.js} +1 -1
- package/dist/esm-es5/ionic.js +2 -2
- package/dist/esm-es5/{ios.transition-7ff7381d.js → ios.transition-7459f819.js} +1 -1
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/md.transition-b8224313.js +4 -0
- package/dist/esm-es5/{notch-controller-15d281a4.js → notch-controller-6bd3e0f9.js} +1 -1
- package/dist/esm-es5/overlays-19b26885.js +4 -0
- package/dist/esm-es5/{status-tap-2b335fb7.js → status-tap-b41ece3c.js} +1 -1
- package/dist/esm-es5/{swipe-back-fa0ec5cd.js → swipe-back-c6d0e5d9.js} +1 -1
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/ionic.js +1 -1
- package/dist/ionic/{p-38a6fee7.entry.js → p-021f9d72.entry.js} +1 -1
- package/dist/ionic/{p-680f96e8.system.entry.js → p-02542247.system.entry.js} +1 -1
- package/dist/ionic/p-02ad4bbe.js +4 -0
- package/dist/ionic/{p-b4d8fe47.js → p-05253db9.js} +1 -1
- package/dist/ionic/{p-efe9180b.entry.js → p-079da3df.entry.js} +1 -1
- package/dist/ionic/p-0b34d3a7.system.js +4 -0
- package/dist/ionic/{p-51f08a9f.entry.js → p-12527c4b.entry.js} +1 -1
- package/dist/ionic/{p-c6fef62b.system.js → p-125f8cdd.system.js} +1 -1
- package/dist/ionic/{p-b253ad7f.js → p-12a8643e.js} +1 -1
- package/dist/ionic/{p-f7b43141.system.entry.js → p-15a40a0b.system.entry.js} +1 -1
- package/dist/ionic/{p-5eea8b4c.system.js → p-1636923f.system.js} +1 -1
- package/dist/ionic/{p-333f06ed.entry.js → p-16a61810.entry.js} +1 -1
- package/dist/ionic/p-1846513c.js +4 -0
- package/dist/ionic/{p-6f38d0c5.system.entry.js → p-18918a24.system.entry.js} +1 -1
- package/dist/ionic/{p-ce2eabd5.entry.js → p-1a680496.entry.js} +1 -1
- package/dist/ionic/{p-b8c685a7.system.js → p-1bc9b5f5.system.js} +1 -1
- package/dist/ionic/{p-396c1a55.entry.js → p-1f16d040.entry.js} +1 -1
- package/dist/ionic/{p-e6aaff14.system.entry.js → p-1f19958f.system.entry.js} +1 -1
- package/dist/ionic/{p-d7260b87.entry.js → p-2178329b.entry.js} +1 -1
- package/dist/ionic/p-257046d2.system.js +4 -0
- package/dist/ionic/p-262024fd.entry.js +4 -0
- package/dist/ionic/{p-9f5b40c0.system.entry.js → p-2765a571.system.entry.js} +1 -1
- package/dist/ionic/{p-7c32fb95.system.entry.js → p-288649db.system.entry.js} +1 -1
- package/dist/ionic/{p-94be3ad7.js → p-2c118b1e.js} +1 -1
- package/dist/ionic/{p-3a98f8db.entry.js → p-2c4bfe1c.entry.js} +1 -1
- package/dist/ionic/{p-25b08bc4.system.js → p-2c86025e.system.js} +1 -1
- package/dist/ionic/{p-8569d759.system.entry.js → p-2ea71956.system.entry.js} +1 -1
- package/dist/ionic/{p-9db1e4c5.entry.js → p-2fd3c3dd.entry.js} +1 -1
- package/dist/ionic/{p-aa7ae6aa.entry.js → p-3079950e.entry.js} +1 -1
- package/dist/ionic/{p-b8c4df21.entry.js → p-337ac0f5.entry.js} +1 -1
- package/dist/ionic/p-36be3332.js +4 -0
- package/dist/ionic/{p-9eb4ea47.system.entry.js → p-437f4d02.system.entry.js} +1 -1
- package/dist/ionic/{p-c858f685.js → p-46bcc2f5.js} +1 -1
- package/dist/ionic/{p-108f730a.entry.js → p-4788693d.entry.js} +1 -1
- package/dist/ionic/{p-5f456b3c.system.entry.js → p-479f5926.system.entry.js} +1 -1
- package/dist/ionic/{p-34947dff.system.entry.js → p-482ea916.system.entry.js} +1 -1
- package/dist/ionic/p-49f481cc.system.entry.js +4 -0
- package/dist/ionic/{p-0eef8b34.system.entry.js → p-4b8a620f.system.entry.js} +1 -1
- package/dist/ionic/{p-df468a8f.entry.js → p-521b3971.entry.js} +1 -1
- package/dist/ionic/{p-31c495c2.js → p-56ee6d9a.js} +1 -1
- package/dist/ionic/{p-30c9e049.system.entry.js → p-5cb5f63d.system.entry.js} +1 -1
- package/dist/ionic/{p-1aa7c019.js → p-5d7e32ce.js} +1 -1
- package/dist/ionic/{p-4fc40349.system.entry.js → p-5de920f4.system.entry.js} +1 -1
- package/dist/ionic/{p-6871553b.system.js → p-62b7320a.system.js} +1 -1
- package/dist/ionic/{p-bc2c03d7.system.entry.js → p-644d03d7.system.entry.js} +1 -1
- package/dist/ionic/{p-3f028207.system.js → p-6525a8cd.system.js} +1 -1
- package/dist/ionic/{p-d8607ede.entry.js → p-657ccdd6.entry.js} +1 -1
- package/dist/ionic/p-6812d37d.js +4 -0
- package/dist/ionic/{p-61ba2137.system.js → p-6afef6c1.system.js} +1 -1
- package/dist/ionic/p-6b6ca3f5.system.entry.js +4 -0
- package/dist/ionic/p-6c45c617.js +4 -0
- package/dist/ionic/{p-8a671f16.entry.js → p-6e23d039.entry.js} +1 -1
- package/dist/ionic/p-6f59cdbc.system.entry.js +4 -0
- package/dist/ionic/{p-dce9bc53.entry.js → p-70fbf4e2.entry.js} +1 -1
- package/dist/ionic/{p-20a6513f.system.entry.js → p-717e2526.system.entry.js} +1 -1
- package/dist/ionic/{p-76893257.system.js → p-72fa96bf.system.js} +1 -1
- package/dist/ionic/{p-0fd295ef.system.entry.js → p-741a0f0d.system.entry.js} +1 -1
- package/dist/ionic/{p-1c531ca2.entry.js → p-7670acd8.entry.js} +1 -1
- package/dist/ionic/{p-84879f61.system.entry.js → p-76b8bcb8.system.entry.js} +1 -1
- package/dist/ionic/{p-a3f572a7.js → p-779aede8.js} +1 -1
- package/dist/ionic/{p-9f6397ce.entry.js → p-7a615a5a.entry.js} +1 -1
- package/dist/ionic/{p-89b5aff2.entry.js → p-7e16220b.entry.js} +1 -1
- package/dist/ionic/{p-a1bfaa5c.system.entry.js → p-7e838f43.system.entry.js} +1 -1
- package/dist/ionic/{p-2da0a76c.entry.js → p-7f30ad48.entry.js} +1 -1
- package/dist/ionic/{p-70026e8f.system.entry.js → p-80aed9fb.system.entry.js} +1 -1
- package/dist/ionic/{p-a2ad515b.entry.js → p-822730c4.entry.js} +1 -1
- package/dist/ionic/{p-dbb4c012.entry.js → p-84b85535.entry.js} +1 -1
- package/dist/ionic/p-85f66c3c.entry.js +4 -0
- package/dist/ionic/{p-d181166c.system.entry.js → p-860e2539.system.entry.js} +1 -1
- package/dist/ionic/{p-58e3ae88.system.entry.js → p-86813176.system.entry.js} +1 -1
- package/dist/ionic/{p-a051c371.entry.js → p-88e9052d.entry.js} +1 -1
- package/dist/ionic/{p-b94882a9.system.js → p-89ca4c4b.system.js} +1 -1
- package/dist/ionic/{p-c569d1c8.entry.js → p-8cc34120.entry.js} +1 -1
- package/dist/ionic/{p-f46775e4.entry.js → p-8e651c29.entry.js} +1 -1
- package/dist/ionic/{p-f97b9cdd.system.entry.js → p-9056778e.system.entry.js} +1 -1
- package/dist/ionic/{p-92c2178e.system.entry.js → p-91f4e611.system.entry.js} +1 -1
- package/dist/ionic/{p-9393a49f.js → p-942a9358.js} +1 -1
- package/dist/ionic/{p-ef441122.entry.js → p-96084f36.entry.js} +1 -1
- package/dist/ionic/{p-a114530c.entry.js → p-973b4db3.entry.js} +1 -1
- package/dist/ionic/{p-3c6f02cf.system.js → p-97ca0cb9.system.js} +1 -1
- package/dist/ionic/{p-a02b2d75.entry.js → p-98aa0553.entry.js} +1 -1
- package/dist/ionic/{p-1f6cdf2c.system.entry.js → p-9998cb62.system.entry.js} +1 -1
- package/dist/ionic/{p-5615cf3f.system.entry.js → p-9de75bac.system.entry.js} +1 -1
- package/dist/ionic/{p-3cdbaa49.entry.js → p-a02ea777.entry.js} +1 -1
- package/dist/ionic/{p-c2289cd1.js → p-a1036ce7.js} +1 -1
- package/dist/ionic/{p-fd3f475f.entry.js → p-a1222c24.entry.js} +1 -1
- package/dist/ionic/{p-eda7a1db.system.entry.js → p-a3df16b9.system.entry.js} +1 -1
- package/dist/ionic/{p-dd60faa5.system.entry.js → p-a4aa6dd2.system.entry.js} +1 -1
- package/dist/ionic/{p-49543c9c.system.js → p-a667dd1f.system.js} +1 -1
- package/dist/ionic/{p-8ddc00f7.js → p-a6c0a380.js} +1 -1
- package/dist/ionic/{p-5e60dbc8.entry.js → p-a8459bfb.entry.js} +1 -1
- package/dist/ionic/{p-9a6ab80a.system.entry.js → p-a85d9047.system.entry.js} +1 -1
- package/dist/ionic/{p-ac20160b.system.entry.js → p-abcedc15.system.entry.js} +1 -1
- package/dist/ionic/{p-e68980ff.system.entry.js → p-ae2b3a7a.system.entry.js} +1 -1
- package/dist/ionic/{p-eb1fdf9f.system.entry.js → p-ae828bd9.system.entry.js} +1 -1
- package/dist/ionic/{p-20f7a91e.system.entry.js → p-b0aa3806.system.entry.js} +1 -1
- package/dist/ionic/{p-078fd095.system.entry.js → p-b27bba38.system.entry.js} +1 -1
- package/dist/ionic/p-b4d2f43c.system.js +4 -0
- package/dist/ionic/{p-594ead2f.entry.js → p-b58686e0.entry.js} +1 -1
- package/dist/ionic/{p-fe92da17.entry.js → p-b6279412.entry.js} +1 -1
- package/dist/ionic/{p-400574bf.entry.js → p-b727af6a.entry.js} +1 -1
- package/dist/ionic/{p-a19f5ae1.entry.js → p-ba0fbecc.entry.js} +1 -1
- package/dist/ionic/{p-0e29919c.system.entry.js → p-baf8eeac.system.entry.js} +1 -1
- package/dist/ionic/{p-95c44e02.system.js → p-bcd9cad8.system.js} +1 -1
- package/dist/ionic/{p-37c33319.system.js → p-bd313b73.system.js} +1 -1
- package/dist/ionic/p-bdca4784.js +4 -0
- package/dist/ionic/{p-0ae25399.system.entry.js → p-c1a871ff.system.entry.js} +1 -1
- package/dist/ionic/{p-c3d041af.entry.js → p-c1c7309e.entry.js} +1 -1
- package/dist/ionic/{p-e6cfaa07.system.entry.js → p-c7288e78.system.entry.js} +1 -1
- package/dist/ionic/{p-d74ca358.entry.js → p-cb3065b8.entry.js} +1 -1
- package/dist/ionic/{p-5a0c301f.entry.js → p-cb9812f7.entry.js} +1 -1
- package/dist/ionic/{p-55d5cd00.system.js → p-cbcffe6e.system.js} +1 -1
- package/dist/ionic/{p-df281664.system.entry.js → p-ce1c0a0e.system.entry.js} +1 -1
- package/dist/ionic/{p-4b2d5b9c.js → p-ceceac26.js} +1 -1
- package/dist/ionic/p-cfb4d7e0.js +4 -0
- package/dist/ionic/{p-3a54c070.system.entry.js → p-d143fefa.system.entry.js} +1 -1
- package/dist/ionic/{p-97eca294.entry.js → p-d425b1de.entry.js} +1 -1
- package/dist/ionic/{p-78edc0cd.system.entry.js → p-d6c6541b.system.entry.js} +1 -1
- package/dist/ionic/{p-341b4519.js → p-de55ec45.js} +1 -1
- package/dist/ionic/{p-001010b6.system.js → p-df504a37.system.js} +1 -1
- package/dist/ionic/{p-ea8fbf09.entry.js → p-dff97cfa.entry.js} +1 -1
- package/dist/ionic/{p-d95c8e90.entry.js → p-e1c52dc6.entry.js} +1 -1
- package/dist/ionic/{p-044ad008.system.entry.js → p-e4e74b5f.system.entry.js} +1 -1
- package/dist/ionic/{p-cd055d60.system.entry.js → p-e626800f.system.entry.js} +1 -1
- package/dist/ionic/{p-84f589e1.entry.js → p-e94c1402.entry.js} +1 -1
- package/dist/ionic/{p-30d77a91.system.js → p-ebc1ca90.system.js} +1 -1
- package/dist/ionic/{p-2f66e177.system.entry.js → p-ebc86ce9.system.entry.js} +1 -1
- package/dist/ionic/{p-88ca4854.entry.js → p-ed4760ef.entry.js} +1 -1
- package/dist/ionic/p-ed7a529f.js +5 -0
- package/dist/ionic/{p-fd36799d.system.js → p-f02c41af.system.js} +1 -1
- package/dist/ionic/{p-1d8c2cfc.system.entry.js → p-f0e54781.system.entry.js} +1 -1
- package/dist/ionic/{p-f88dd429.entry.js → p-fa8d3b01.entry.js} +1 -1
- package/dist/ionic/p-fbd01db3.system.js +4 -0
- package/dist/ionic/{p-e2bb92ed.system.js → p-fe320051.system.js} +1 -1
- package/dist/types/components/action-sheet/action-sheet.d.ts +4 -0
- package/dist/types/components/alert/alert.d.ts +4 -0
- package/dist/types/components/loading/loading.d.ts +4 -0
- package/dist/types/components/modal/modal.d.ts +4 -0
- package/dist/types/components/picker/picker.d.ts +4 -0
- package/dist/types/components/popover/popover.d.ts +4 -0
- package/dist/types/components/toast/toast.d.ts +4 -0
- package/dist/types/components.d.ts +7 -7
- package/dist/types/utils/helpers.d.ts +1 -1
- package/dist/types/utils/overlays.d.ts +5 -0
- package/hydrate/index.d.ts +1 -1
- package/hydrate/index.js +292 -68
- package/package.json +6 -6
- package/dist/esm-es5/app-globals-47226a12.js +0 -4
- package/dist/esm-es5/helpers-c0b9ca37.js +0 -4
- package/dist/esm-es5/index-d64f34ea.js +0 -4
- package/dist/esm-es5/md.transition-28a9a26b.js +0 -4
- package/dist/esm-es5/overlays-fad5fe01.js +0 -4
- package/dist/ionic/p-0b955124.system.js +0 -4
- package/dist/ionic/p-1375f21f.js +0 -4
- package/dist/ionic/p-3eb2da31.js +0 -4
- package/dist/ionic/p-41fde260.entry.js +0 -4
- package/dist/ionic/p-4f777b5e.js +0 -4
- package/dist/ionic/p-52e02877.entry.js +0 -4
- package/dist/ionic/p-62067818.system.entry.js +0 -4
- package/dist/ionic/p-62a3c609.system.js +0 -4
- package/dist/ionic/p-6b02edd6.js +0 -4
- package/dist/ionic/p-86670b91.system.js +0 -4
- package/dist/ionic/p-8f1ce253.js +0 -4
- package/dist/ionic/p-b1f0c48e.system.entry.js +0 -4
- package/dist/ionic/p-b4a95b80.system.entry.js +0 -4
- package/dist/ionic/p-c5c3710c.js +0 -4
- package/dist/ionic/p-c80c7e90.system.js +0 -4
- package/dist/ionic/p-e1271366.js +0 -5
- package/dist/ionic/p-fd2aa50c.js +0 -4
- /package/dist/ionic/{p-b5839dc2.js → p-1b3ffb2f.js} +0 -0
- /package/dist/ionic/{p-fd8ced99.system.js → p-5fc8d5ef.system.js} +0 -0
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { d as doc } from './index-a5d50daf.js';
|
|
5
|
-
import { OVERLAY_BACK_BUTTON_PRIORITY, shoudUseCloseWatcher } from './hardware-back-button-
|
|
6
|
-
import { b as getIonMode, c as config } from './ionic-global-
|
|
7
|
-
import { C as CoreDelegate } from './framework-delegate-
|
|
8
|
-
import { c as componentOnReady, f as
|
|
5
|
+
import { OVERLAY_BACK_BUTTON_PRIORITY, shoudUseCloseWatcher } from './hardware-back-button-b410a047.js';
|
|
6
|
+
import { b as getIonMode, c as config } from './ionic-global-ad9a1810.js';
|
|
7
|
+
import { C as CoreDelegate } from './framework-delegate-ed4ba327.js';
|
|
8
|
+
import { c as componentOnReady, f as focusVisibleElement, a as addEventListener, b as removeEventListener, g as getElementRoot } from './helpers-be245865.js';
|
|
9
9
|
import { p as printIonWarning } from './index-9b0d46f4.js';
|
|
10
10
|
|
|
11
11
|
let lastOverlayIndex = 0;
|
|
@@ -98,32 +98,48 @@ const createOverlay = (tagName, opts) => {
|
|
|
98
98
|
* valid usage for the disabled property on ion-button.
|
|
99
99
|
*/
|
|
100
100
|
const focusableQueryString = '[tabindex]:not([tabindex^="-"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^="-"]):not([hidden]):not([disabled]), textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), button:not([tabindex^="-"]):not([hidden]):not([disabled]), select:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])';
|
|
101
|
+
const isOverlayHidden = (overlay) => overlay.classList.contains('overlay-hidden');
|
|
102
|
+
/**
|
|
103
|
+
* Focuses the first descendant in an overlay
|
|
104
|
+
* that can receive focus. If none exists,
|
|
105
|
+
* the entire overlay will be focused.
|
|
106
|
+
*/
|
|
101
107
|
const focusFirstDescendant = (ref, overlay) => {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
if (shadowRoot) {
|
|
105
|
-
// If there are no inner focusable elements, just focus the host element.
|
|
106
|
-
firstInput = shadowRoot.querySelector(focusableQueryString) || firstInput;
|
|
107
|
-
}
|
|
108
|
-
if (firstInput) {
|
|
109
|
-
focusElement(firstInput);
|
|
110
|
-
}
|
|
111
|
-
else {
|
|
112
|
-
// Focus overlay instead of letting focus escape
|
|
113
|
-
overlay.focus();
|
|
114
|
-
}
|
|
108
|
+
const firstInput = ref.querySelector(focusableQueryString);
|
|
109
|
+
focusElementInOverlay(firstInput, overlay);
|
|
115
110
|
};
|
|
116
|
-
|
|
111
|
+
/**
|
|
112
|
+
* Focuses the last descendant in an overlay
|
|
113
|
+
* that can receive focus. If none exists,
|
|
114
|
+
* the entire overlay will be focused.
|
|
115
|
+
*/
|
|
117
116
|
const focusLastDescendant = (ref, overlay) => {
|
|
118
117
|
const inputs = Array.from(ref.querySelectorAll(focusableQueryString));
|
|
119
|
-
|
|
120
|
-
|
|
118
|
+
const lastInput = inputs.length > 0 ? inputs[inputs.length - 1] : null;
|
|
119
|
+
focusElementInOverlay(lastInput, overlay);
|
|
120
|
+
};
|
|
121
|
+
/**
|
|
122
|
+
* Focuses a particular element in an overlay. If the element
|
|
123
|
+
* doesn't have anything focusable associated with it then
|
|
124
|
+
* the overlay itself will be focused.
|
|
125
|
+
* This should be used instead of the focus() method
|
|
126
|
+
* on most elements because the focusable element
|
|
127
|
+
* may not be the host element.
|
|
128
|
+
*
|
|
129
|
+
* For example, if an ion-button should be focused
|
|
130
|
+
* then we should actually focus the native <button>
|
|
131
|
+
* element inside of ion-button's shadow root, not
|
|
132
|
+
* the host element itself.
|
|
133
|
+
*/
|
|
134
|
+
const focusElementInOverlay = (hostToFocus, overlay) => {
|
|
135
|
+
let elementToFocus = hostToFocus;
|
|
136
|
+
const shadowRoot = hostToFocus === null || hostToFocus === void 0 ? void 0 : hostToFocus.shadowRoot;
|
|
121
137
|
if (shadowRoot) {
|
|
122
138
|
// If there are no inner focusable elements, just focus the host element.
|
|
123
|
-
|
|
139
|
+
elementToFocus = shadowRoot.querySelector(focusableQueryString) || hostToFocus;
|
|
124
140
|
}
|
|
125
|
-
if (
|
|
126
|
-
|
|
141
|
+
if (elementToFocus) {
|
|
142
|
+
focusVisibleElement(elementToFocus);
|
|
127
143
|
}
|
|
128
144
|
else {
|
|
129
145
|
// Focus overlay instead of letting focus escape
|
|
@@ -174,6 +190,21 @@ const trapKeyboardFocus = (ev, doc) => {
|
|
|
174
190
|
*/
|
|
175
191
|
if (lastOverlay === target) {
|
|
176
192
|
lastOverlay.lastFocus = undefined;
|
|
193
|
+
/**
|
|
194
|
+
* Toasts can be presented from an overlay.
|
|
195
|
+
* However, focus should still be returned to
|
|
196
|
+
* the overlay when clicking a toast. Normally,
|
|
197
|
+
* focus would be returned to the last focusable
|
|
198
|
+
* descendant in the overlay which may not always be
|
|
199
|
+
* the button that the toast was presented from. In this case,
|
|
200
|
+
* the focus may be returned to an unexpected element.
|
|
201
|
+
* To account for this, we make sure to return focus to the
|
|
202
|
+
* last focused element in the overlay if focus is
|
|
203
|
+
* moved to the toast.
|
|
204
|
+
*/
|
|
205
|
+
}
|
|
206
|
+
else if (target.tagName === 'ION-TOAST') {
|
|
207
|
+
focusElementInOverlay(lastOverlay.lastFocus, lastOverlay);
|
|
177
208
|
/**
|
|
178
209
|
* Otherwise, we must be focusing an element
|
|
179
210
|
* inside of the overlay. The two possible options
|
|
@@ -245,6 +276,21 @@ const trapKeyboardFocus = (ev, doc) => {
|
|
|
245
276
|
*/
|
|
246
277
|
if (lastOverlay.contains(target)) {
|
|
247
278
|
lastOverlay.lastFocus = target;
|
|
279
|
+
/**
|
|
280
|
+
* Toasts can be presented from an overlay.
|
|
281
|
+
* However, focus should still be returned to
|
|
282
|
+
* the overlay when clicking a toast. Normally,
|
|
283
|
+
* focus would be returned to the last focusable
|
|
284
|
+
* descendant in the overlay which may not always be
|
|
285
|
+
* the button that the toast was presented from. In this case,
|
|
286
|
+
* the focus may be returned to an unexpected element.
|
|
287
|
+
* To account for this, we make sure to return focus to the
|
|
288
|
+
* last focused element in the overlay if focus is
|
|
289
|
+
* moved to the toast.
|
|
290
|
+
*/
|
|
291
|
+
}
|
|
292
|
+
else if (target.tagName === 'ION-TOAST') {
|
|
293
|
+
focusElementInOverlay(lastOverlay.lastFocus, lastOverlay);
|
|
248
294
|
}
|
|
249
295
|
else {
|
|
250
296
|
/**
|
|
@@ -408,6 +454,15 @@ const present = async (overlay, name, iosEnterAnimation, mdEnterAnimation, opts)
|
|
|
408
454
|
return;
|
|
409
455
|
}
|
|
410
456
|
setRootAriaHidden(true);
|
|
457
|
+
/**
|
|
458
|
+
* Hide all other overlays from screen readers so only this one
|
|
459
|
+
* can be read. Note that presenting an overlay always makes
|
|
460
|
+
* it the topmost one.
|
|
461
|
+
*/
|
|
462
|
+
if (doc !== undefined) {
|
|
463
|
+
const presentedOverlays = getPresentedOverlays(doc);
|
|
464
|
+
presentedOverlays.forEach((o) => o.setAttribute('aria-hidden', 'true'));
|
|
465
|
+
}
|
|
411
466
|
overlay.presented = true;
|
|
412
467
|
overlay.willPresent.emit();
|
|
413
468
|
(_a = overlay.willPresentShorthand) === null || _a === void 0 ? void 0 : _a.emit();
|
|
@@ -430,7 +485,7 @@ const present = async (overlay, name, iosEnterAnimation, mdEnterAnimation, opts)
|
|
|
430
485
|
* from returning focus as a result.
|
|
431
486
|
*/
|
|
432
487
|
if (overlay.el.tagName !== 'ION-TOAST') {
|
|
433
|
-
|
|
488
|
+
restoreElementFocus(overlay.el);
|
|
434
489
|
}
|
|
435
490
|
/**
|
|
436
491
|
* If the focused element is already
|
|
@@ -441,6 +496,14 @@ const present = async (overlay, name, iosEnterAnimation, mdEnterAnimation, opts)
|
|
|
441
496
|
if (overlay.keyboardClose && (document.activeElement === null || !overlay.el.contains(document.activeElement))) {
|
|
442
497
|
overlay.el.focus();
|
|
443
498
|
}
|
|
499
|
+
/**
|
|
500
|
+
* If this overlay was previously dismissed without being
|
|
501
|
+
* the topmost one (such as by manually calling dismiss()),
|
|
502
|
+
* it would still have aria-hidden on being presented again.
|
|
503
|
+
* Removing it here ensures the overlay is visible to screen
|
|
504
|
+
* readers.
|
|
505
|
+
*/
|
|
506
|
+
overlay.el.removeAttribute('aria-hidden');
|
|
444
507
|
};
|
|
445
508
|
/**
|
|
446
509
|
* When an overlay component is dismissed,
|
|
@@ -452,7 +515,7 @@ const present = async (overlay, name, iosEnterAnimation, mdEnterAnimation, opts)
|
|
|
452
515
|
* to where they were before they
|
|
453
516
|
* opened the overlay.
|
|
454
517
|
*/
|
|
455
|
-
const
|
|
518
|
+
const restoreElementFocus = async (overlayEl) => {
|
|
456
519
|
let previousElement = document.activeElement;
|
|
457
520
|
if (!previousElement) {
|
|
458
521
|
return;
|
|
@@ -464,18 +527,35 @@ const focusPreviousElementOnDismissIfNeeded = async (overlayEl) => {
|
|
|
464
527
|
}
|
|
465
528
|
await overlayEl.onDidDismiss();
|
|
466
529
|
/**
|
|
467
|
-
*
|
|
468
|
-
*
|
|
469
|
-
*
|
|
470
|
-
*
|
|
471
|
-
*
|
|
530
|
+
* After onDidDismiss, the overlay loses focus
|
|
531
|
+
* because it is removed from the document
|
|
532
|
+
*
|
|
533
|
+
* > An element will also lose focus [...]
|
|
534
|
+
* > if the element is removed from the document)
|
|
535
|
+
*
|
|
536
|
+
* https://developer.mozilla.org/en-US/docs/Web/API/Element/blur_event
|
|
537
|
+
*
|
|
538
|
+
* Additionally, `document.activeElement` returns:
|
|
539
|
+
*
|
|
540
|
+
* > The Element which currently has focus,
|
|
541
|
+
* > `<body>` or null if there is
|
|
542
|
+
* > no focused element.
|
|
543
|
+
*
|
|
544
|
+
* https://developer.mozilla.org/en-US/docs/Web/API/Document/activeElement#value
|
|
545
|
+
*
|
|
546
|
+
* However, if the user has already focused
|
|
547
|
+
* an element sometime between onWillDismiss
|
|
548
|
+
* and onDidDismiss (for example, focusing a
|
|
549
|
+
* text box after tapping a button in an
|
|
550
|
+
* action sheet) then don't restore focus to
|
|
551
|
+
* previous element
|
|
472
552
|
*/
|
|
473
553
|
if (document.activeElement === null || document.activeElement === document.body) {
|
|
474
554
|
previousElement.focus();
|
|
475
555
|
}
|
|
476
556
|
};
|
|
477
557
|
const dismiss = async (overlay, data, role, name, iosLeaveAnimation, mdLeaveAnimation, opts) => {
|
|
478
|
-
var _a, _b;
|
|
558
|
+
var _a, _b, _c;
|
|
479
559
|
if (!overlay.presented) {
|
|
480
560
|
return false;
|
|
481
561
|
}
|
|
@@ -502,6 +582,10 @@ const dismiss = async (overlay, data, role, name, iosLeaveAnimation, mdLeaveAnim
|
|
|
502
582
|
}
|
|
503
583
|
overlay.didDismiss.emit({ data, role });
|
|
504
584
|
(_b = overlay.didDismissShorthand) === null || _b === void 0 ? void 0 : _b.emit({ data, role });
|
|
585
|
+
// Get a reference to all animations currently assigned to this overlay
|
|
586
|
+
// Then tear them down to return the overlay to its initial visual state
|
|
587
|
+
const animations = activeAnimations.get(overlay) || [];
|
|
588
|
+
animations.forEach((ani) => ani.destroy());
|
|
505
589
|
activeAnimations.delete(overlay);
|
|
506
590
|
/**
|
|
507
591
|
* Make overlay hidden again in case it is being reused.
|
|
@@ -522,6 +606,13 @@ const dismiss = async (overlay, data, role, name, iosLeaveAnimation, mdLeaveAnim
|
|
|
522
606
|
console.error(err);
|
|
523
607
|
}
|
|
524
608
|
overlay.el.remove();
|
|
609
|
+
/**
|
|
610
|
+
* If there are other overlays presented, unhide the new
|
|
611
|
+
* topmost one from screen readers.
|
|
612
|
+
*/
|
|
613
|
+
if (doc !== undefined) {
|
|
614
|
+
(_c = getPresentedOverlay(doc)) === null || _c === void 0 ? void 0 : _c.removeAttribute('aria-hidden');
|
|
615
|
+
}
|
|
525
616
|
return true;
|
|
526
617
|
};
|
|
527
618
|
const getAppRoot = (doc) => {
|
|
@@ -718,4 +809,4 @@ const createTriggerController = () => {
|
|
|
718
809
|
};
|
|
719
810
|
};
|
|
720
811
|
|
|
721
|
-
export { BACKDROP as B, GESTURE as G, OVERLAY_GESTURE_PRIORITY as O, alertController as a, actionSheetController as b, popoverController as c, createDelegateController as d, createTriggerController as e, present as f, dismiss as g, eventMethod as h, isCancel as i, prepareOverlay as j, setOverlayId as k, loadingController as l, modalController as m,
|
|
812
|
+
export { BACKDROP as B, GESTURE as G, OVERLAY_GESTURE_PRIORITY as O, alertController as a, actionSheetController as b, popoverController as c, createDelegateController as d, createTriggerController as e, present as f, dismiss as g, eventMethod as h, isCancel as i, prepareOverlay as j, setOverlayId as k, loadingController as l, modalController as m, focusFirstDescendant as n, getPresentedOverlay as o, pickerController as p, safeCall as s, toastController as t };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { e as readTask, w as writeTask } from './index-
|
|
5
|
-
import { f as findClosestIonContent, s as scrollToTop } from './index-
|
|
6
|
-
import { c as componentOnReady } from './helpers-
|
|
4
|
+
import { e as readTask, w as writeTask } from './index-4c30cddd.js';
|
|
5
|
+
import { f as findClosestIonContent, s as scrollToTop } from './index-f3946ac1.js';
|
|
6
|
+
import { c as componentOnReady } from './helpers-be245865.js';
|
|
7
7
|
import './index-9b0d46f4.js';
|
|
8
8
|
|
|
9
9
|
const startStatusTap = () => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { l as clamp } from './helpers-
|
|
4
|
+
import { l as clamp } from './helpers-be245865.js';
|
|
5
5
|
import { i as isRTL } from './dir-babeabeb.js';
|
|
6
6
|
import { createGesture } from './index-2cf77112.js';
|
|
7
7
|
import './gesture-controller-1bf57181.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import{__spreadArray}from"tslib";
|
|
2
2
|
/*!
|
|
3
3
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/import{w as win}from"./index-a5d50daf.js";import{r as raf}from"./helpers-c0b9ca37.js";var animationPrefix;var processKeyframes=function(n){n.forEach((function(n){for(var r in n){if(n.hasOwnProperty(r)){var e=n[r];if(r==="easing"){var t="animation-timing-function";n[t]=e;delete n[r]}else{var t=convertCamelCaseToHypen(r);if(t!==r){n[t]=e;delete n[r]}}}}}));return n};var convertCamelCaseToHypen=function(n){return n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()};var getAnimationPrefix=function(n){if(animationPrefix===undefined){var r=n.style.animationName!==undefined;var e=n.style.webkitAnimationName!==undefined;animationPrefix=!r&&e?"-webkit-":""}return animationPrefix};var setStyleProperty=function(n,r,e){var t=r.startsWith("animation")?getAnimationPrefix(n):"";n.style.setProperty(t+r,e)};var removeStyleProperty=function(n,r){var e=r.startsWith("animation")?getAnimationPrefix(n):"";n.style.removeProperty(e+r)};var animationEnd=function(n,r){var e;var t={passive:true};var i=function(){if(e){e()}};var a=function(e){if(n===e.target){i();r(e)}};if(n){n.addEventListener("webkitAnimationEnd",a,t);n.addEventListener("animationend",a,t);e=function(){n.removeEventListener("webkitAnimationEnd",a,t);n.removeEventListener("animationend",a,t)}}return i};var generateKeyframeRules=function(n){if(n===void 0){n=[]}return n.map((function(n){var r=n.offset;var e=[];for(var t in n){if(n.hasOwnProperty(t)&&t!=="offset"){e.push("".concat(t,": ").concat(n[t],";"))}}return"".concat(r*100,"% { ").concat(e.join(" ")," }")})).join(" ")};var keyframeIds=[];var generateKeyframeName=function(n){var r=keyframeIds.indexOf(n);if(r<0){r=keyframeIds.push(n)-1}return"ion-animation-".concat(r)};var getStyleContainer=function(n){var r=n.getRootNode!==undefined?n.getRootNode():n;return r.head||r};var createKeyframeStylesheet=function(n,r,e){var t;var i=getStyleContainer(e);var a=getAnimationPrefix(e);var f=i.querySelector("#"+n);if(f){return f}var o=((t=e.ownerDocument)!==null&&t!==void 0?t:document).createElement("style");o.id=n;o.textContent="@".concat(a,"keyframes ").concat(n," { ").concat(r," } @").concat(a,"keyframes ").concat(n,"-alt { ").concat(r," }");i.appendChild(o);return o};var addClassToArray=function(n,r){if(n===void 0){n=[]}if(r!==undefined){var e=Array.isArray(r)?r:[r];return __spreadArray(__spreadArray([],n,true),e,true)}return n};var createAnimation=function(n){var r;var e;var t;var i;var a;var f;var o=[];var u=[];var v=[];var l=false;var s;var c={};var d=[];var y=[];var m={};var p=0;var S=false;var P=false;var g;var A;var C;var b;var T=true;var k=false;var E=true;var _;var x;var K=false;var h=n;var w=[];var I=[];var R=[];var F=[];var D=[];var W=[];var j=[];var H=[];var M=[];var N=[];var $=[];var z=typeof AnimationEffect==="function"||win!==undefined&&typeof win.AnimationEffect==="function";var Z=typeof Element==="function"&&typeof Element.prototype.animate==="function"&&z;var q=100;var B=function(){return $};var G=function(n){D.forEach((function(r){r.destroy(n)}));J(n);F.length=0;D.length=0;o.length=0;X();l=false;E=true;return x};var J=function(n){Y();if(n){nn()}};var L=function(){S=false;P=false;E=true;A=undefined;C=undefined;b=undefined;p=0;k=false;T=true;K=false};var O=function(){return p!==0&&!K};var Q=function(n,r){var e=r.findIndex((function(r){return r.c===n}));if(e>-1){r.splice(e,1)}};var U=function(n,r){R.push({c:n,o:r});return x};var V=function(n,r){var e=(r===null||r===void 0?void 0:r.oneTimeCallback)?I:w;e.push({c:n,o:r});return x};var X=function(){w.length=0;I.length=0;return x};var Y=function(){if(Z){$.forEach((function(n){n.cancel()}));$.length=0}else{var n=F.slice();raf((function(){n.forEach((function(n){removeStyleProperty(n,"animation-name");removeStyleProperty(n,"animation-duration");removeStyleProperty(n,"animation-timing-function");removeStyleProperty(n,"animation-iteration-count");removeStyleProperty(n,"animation-delay");removeStyleProperty(n,"animation-play-state");removeStyleProperty(n,"animation-fill-mode");removeStyleProperty(n,"animation-direction")}))}))}};var nn=function(){W.forEach((function(n){if(n===null||n===void 0?void 0:n.parentNode){n.parentNode.removeChild(n)}}));W.length=0};var rn=function(n){j.push(n);return x};var en=function(n){H.push(n);return x};var tn=function(n){M.push(n);return x};var an=function(n){N.push(n);return x};var fn=function(n){u=addClassToArray(u,n);return x};var on=function(n){v=addClassToArray(v,n);return x};var un=function(n){if(n===void 0){n={}}c=n;return x};var vn=function(n){if(n===void 0){n=[]}for(var r=0,e=n;r<e.length;r++){var t=e[r];c[t]=""}return x};var ln=function(n){d=addClassToArray(d,n);return x};var sn=function(n){y=addClassToArray(y,n);return x};var cn=function(n){if(n===void 0){n={}}m=n;return x};var dn=function(n){if(n===void 0){n=[]}for(var r=0,e=n;r<e.length;r++){var t=e[r];m[t]=""}return x};var yn=function(){if(a!==undefined){return a}if(s){return s.getFill()}return"both"};var mn=function(){if(A!==undefined){return A}if(f!==undefined){return f}if(s){return s.getDirection()}return"normal"};var pn=function(){if(S){return"linear"}if(t!==undefined){return t}if(s){return s.getEasing()}return"linear"};var Sn=function(){if(P){return 0}if(C!==undefined){return C}if(e!==undefined){return e}if(s){return s.getDuration()}return 0};var Pn=function(){if(i!==undefined){return i}if(s){return s.getIterations()}return 1};var gn=function(){if(b!==undefined){return b}if(r!==undefined){return r}if(s){return s.getDelay()}return 0};var An=function(){return o};var Cn=function(n){f=n;zn(true);return x};var bn=function(n){a=n;zn(true);return x};var Tn=function(n){r=n;zn(true);return x};var kn=function(n){t=n;zn(true);return x};var En=function(n){if(!Z&&n===0){n=1}e=n;zn(true);return x};var _n=function(n){i=n;zn(true);return x};var xn=function(n){s=n;return x};var Kn=function(n){if(n!=null){if(n.nodeType===1){F.push(n)}else if(n.length>=0){for(var r=0;r<n.length;r++){F.push(n[r])}}else{console.error("Invalid addElement value")}}return x};var hn=function(n){if(n!=null){if(Array.isArray(n)){for(var r=0,e=n;r<e.length;r++){var t=e[r];t.parent(x);D.push(t)}}else{n.parent(x);D.push(n)}}return x};var wn=function(n){var r=o!==n;o=n;if(r){In(o)}return x};var In=function(n){if(Z){B().forEach((function(r){var e=r.effect;if(e.setKeyframes){e.setKeyframes(n)}else{var t=new KeyframeEffect(e.target,n,e.getTiming());r.effect=t}}))}else{Wn()}};var Rn=function(){j.forEach((function(n){return n()}));H.forEach((function(n){return n()}));var n=u;var r=v;var e=c;F.forEach((function(t){var i=t.classList;n.forEach((function(n){return i.add(n)}));r.forEach((function(n){return i.remove(n)}));for(var a in e){if(e.hasOwnProperty(a)){setStyleProperty(t,a,e[a])}}}))};var Fn=function(){On();M.forEach((function(n){return n()}));N.forEach((function(n){return n()}));var n=T?1:0;var r=d;var e=y;var t=m;F.forEach((function(n){var i=n.classList;r.forEach((function(n){return i.add(n)}));e.forEach((function(n){return i.remove(n)}));for(var a in t){if(t.hasOwnProperty(a)){setStyleProperty(n,a,t[a])}}}));C=undefined;A=undefined;b=undefined;w.forEach((function(r){return r.c(n,x)}));I.forEach((function(r){return r.c(n,x)}));I.length=0;E=true;if(T){k=true}T=true};var Dn=function(){if(p===0){return}p--;if(p===0){Fn();if(s){s.animationFinish()}}};var Wn=function(r){if(r===void 0){r=true}nn();var e=processKeyframes(o);F.forEach((function(t){if(e.length>0){var i=generateKeyframeRules(e);_=n!==undefined?n:generateKeyframeName(i);var a=createKeyframeStylesheet(_,i,t);W.push(a);setStyleProperty(t,"animation-duration","".concat(Sn(),"ms"));setStyleProperty(t,"animation-timing-function",pn());setStyleProperty(t,"animation-delay","".concat(gn(),"ms"));setStyleProperty(t,"animation-fill-mode",yn());setStyleProperty(t,"animation-direction",mn());var f=Pn()===Infinity?"infinite":Pn().toString();setStyleProperty(t,"animation-iteration-count",f);setStyleProperty(t,"animation-play-state","paused");if(r){setStyleProperty(t,"animation-name","".concat(a.id,"-alt"))}raf((function(){setStyleProperty(t,"animation-name",a.id||null)}))}}))};var jn=function(){F.forEach((function(n){var r=n.animate(o,{id:h,delay:gn(),duration:Sn(),easing:pn(),iterations:Pn(),fill:yn(),direction:mn()});r.pause();$.push(r)}));if($.length>0){$[0].onfinish=function(){Dn()}}};var Hn=function(n){if(n===void 0){n=true}Rn();if(o.length>0){if(Z){jn()}else{Wn(n)}}l=true};var Mn=function(n){n=Math.min(Math.max(n,0),.9999);if(Z){$.forEach((function(r){r.currentTime=r.effect.getComputedTiming().delay+Sn()*n;r.pause()}))}else{var r="-".concat(Sn()*n,"ms");F.forEach((function(n){if(o.length>0){setStyleProperty(n,"animation-delay",r);setStyleProperty(n,"animation-play-state","paused")}}))}};var Nn=function(n){$.forEach((function(n){n.effect.updateTiming({delay:gn(),duration:Sn(),easing:pn(),iterations:Pn(),fill:yn(),direction:mn()})}));if(n!==undefined){Mn(n)}};var $n=function(n,r){if(n===void 0){n=true}raf((function(){F.forEach((function(e){setStyleProperty(e,"animation-name",_||null);setStyleProperty(e,"animation-duration","".concat(Sn(),"ms"));setStyleProperty(e,"animation-timing-function",pn());setStyleProperty(e,"animation-delay",r!==undefined?"-".concat(r*Sn(),"ms"):"".concat(gn(),"ms"));setStyleProperty(e,"animation-fill-mode",yn()||null);setStyleProperty(e,"animation-direction",mn()||null);var t=Pn()===Infinity?"infinite":Pn().toString();setStyleProperty(e,"animation-iteration-count",t);if(n){setStyleProperty(e,"animation-name","".concat(_,"-alt"))}raf((function(){setStyleProperty(e,"animation-name",_||null)}))}))}))};var zn=function(n,r,e){if(n===void 0){n=false}if(r===void 0){r=true}if(n){D.forEach((function(t){t.update(n,r,e)}))}if(Z){Nn(e)}else{$n(r,e)}return x};var Zn=function(n,r){if(n===void 0){n=false}D.forEach((function(e){e.progressStart(n,r)}));Gn();S=n;if(!l){Hn()}zn(false,true,r);return x};var qn=function(n){D.forEach((function(r){r.progressStep(n)}));Mn(n);return x};var Bn=function(n,r,e){S=false;D.forEach((function(t){t.progressEnd(n,r,e)}));if(e!==undefined){C=e}k=false;T=true;if(n===0){A=mn()==="reverse"?"normal":"reverse";if(A==="reverse"){T=false}if(Z){zn();Mn(1-r)}else{b=(1-r)*Sn()*-1;zn(false,false)}}else if(n===1){if(Z){zn();Mn(r)}else{b=r*Sn()*-1;zn(false,false)}}if(n!==undefined&&!s){Yn()}return x};var Gn=function(){if(l){if(Z){$.forEach((function(n){n.pause()}))}else{F.forEach((function(n){setStyleProperty(n,"animation-play-state","paused")}))}K=true}};var Jn=function(){D.forEach((function(n){n.pause()}));Gn();return x};var Ln=function(){g=undefined;Dn()};var On=function(){if(g){clearTimeout(g)}};var Qn=function(){On();raf((function(){F.forEach((function(n){if(o.length>0){setStyleProperty(n,"animation-play-state","running")}}))}));if(o.length===0||F.length===0){Dn()}else{var n=gn()||0;var r=Sn()||0;var e=Pn()||1;if(isFinite(e)){g=setTimeout(Ln,n+r*e+q)}animationEnd(F[0],(function(){On();raf((function(){Un();raf(Dn)}))}))}};var Un=function(){F.forEach((function(n){removeStyleProperty(n,"animation-duration");removeStyleProperty(n,"animation-delay");removeStyleProperty(n,"animation-play-state")}))};var Vn=function(){$.forEach((function(n){n.play()}));if(o.length===0||F.length===0){Dn()}};var Xn=function(){if(Z){Mn(0);Nn()}else{$n()}};var Yn=function(n){return new Promise((function(r){if(n===null||n===void 0?void 0:n.sync){P=true;V((function(){return P=false}),{oneTimeCallback:true})}if(!l){Hn()}if(k){Xn();k=false}if(E){p=D.length+1;E=false}var e=function(){Q(t,I);r()};var t=function(){Q(e,R);r()};V(t,{oneTimeCallback:true});U(e,{oneTimeCallback:true});D.forEach((function(n){n.play()}));if(Z){Vn()}else{Qn()}K=false}))};var nr=function(){D.forEach((function(n){n.stop()}));if(l){Y();l=false}L();R.forEach((function(n){return n.c(0,x)}));R.length=0};var rr=function(n,r){var e;var t=o[0];if(t!==undefined&&(t.offset===undefined||t.offset===0)){t[n]=r}else{o=__spreadArray([(e={offset:0},e[n]=r,e)],o,true)}return x};var er=function(n,r){var e;var t=o[o.length-1];if(t!==undefined&&(t.offset===undefined||t.offset===1)){t[n]=r}else{o=__spreadArray(__spreadArray([],o,true),[(e={offset:1},e[n]=r,e)],false)}return x};var tr=function(n,r,e){return rr(n,r).to(n,e)};return x={parentAnimation:s,elements:F,childAnimations:D,id:h,animationFinish:Dn,from:rr,to:er,fromTo:tr,parent:xn,play:Yn,pause:Jn,stop:nr,destroy:G,keyframes:wn,addAnimation:hn,addElement:Kn,update:zn,fill:bn,direction:Cn,iterations:_n,duration:En,easing:kn,delay:Tn,getWebAnimations:B,getKeyframes:An,getFill:yn,getDirection:mn,getDelay:gn,getIterations:Pn,getEasing:pn,getDuration:Sn,afterAddRead:tn,afterAddWrite:an,afterClearStyles:dn,afterStyles:cn,afterRemoveClass:sn,afterAddClass:ln,beforeAddRead:rn,beforeAddWrite:en,beforeClearStyles:vn,beforeStyles:un,beforeRemoveClass:on,beforeAddClass:fn,onFinish:V,isRunning:O,progressStart:Zn,progressStep:qn,progressEnd:Bn}};export{createAnimation as c};
|
|
4
|
+
*/import{w as win}from"./index-a5d50daf.js";import{r as raf}from"./helpers-be245865.js";var animationPrefix;var processKeyframes=function(n){n.forEach((function(n){for(var r in n){if(n.hasOwnProperty(r)){var e=n[r];if(r==="easing"){var t="animation-timing-function";n[t]=e;delete n[r]}else{var t=convertCamelCaseToHypen(r);if(t!==r){n[t]=e;delete n[r]}}}}}));return n};var convertCamelCaseToHypen=function(n){return n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()};var getAnimationPrefix=function(n){if(animationPrefix===undefined){var r=n.style.animationName!==undefined;var e=n.style.webkitAnimationName!==undefined;animationPrefix=!r&&e?"-webkit-":""}return animationPrefix};var setStyleProperty=function(n,r,e){var t=r.startsWith("animation")?getAnimationPrefix(n):"";n.style.setProperty(t+r,e)};var removeStyleProperty=function(n,r){var e=r.startsWith("animation")?getAnimationPrefix(n):"";n.style.removeProperty(e+r)};var animationEnd=function(n,r){var e;var t={passive:true};var i=function(){if(e){e()}};var a=function(e){if(n===e.target){i();r(e)}};if(n){n.addEventListener("webkitAnimationEnd",a,t);n.addEventListener("animationend",a,t);e=function(){n.removeEventListener("webkitAnimationEnd",a,t);n.removeEventListener("animationend",a,t)}}return i};var generateKeyframeRules=function(n){if(n===void 0){n=[]}return n.map((function(n){var r=n.offset;var e=[];for(var t in n){if(n.hasOwnProperty(t)&&t!=="offset"){e.push("".concat(t,": ").concat(n[t],";"))}}return"".concat(r*100,"% { ").concat(e.join(" ")," }")})).join(" ")};var keyframeIds=[];var generateKeyframeName=function(n){var r=keyframeIds.indexOf(n);if(r<0){r=keyframeIds.push(n)-1}return"ion-animation-".concat(r)};var getStyleContainer=function(n){var r=n.getRootNode!==undefined?n.getRootNode():n;return r.head||r};var createKeyframeStylesheet=function(n,r,e){var t;var i=getStyleContainer(e);var a=getAnimationPrefix(e);var f=i.querySelector("#"+n);if(f){return f}var o=((t=e.ownerDocument)!==null&&t!==void 0?t:document).createElement("style");o.id=n;o.textContent="@".concat(a,"keyframes ").concat(n," { ").concat(r," } @").concat(a,"keyframes ").concat(n,"-alt { ").concat(r," }");i.appendChild(o);return o};var addClassToArray=function(n,r){if(n===void 0){n=[]}if(r!==undefined){var e=Array.isArray(r)?r:[r];return __spreadArray(__spreadArray([],n,true),e,true)}return n};var createAnimation=function(n){var r;var e;var t;var i;var a;var f;var o=[];var u=[];var v=[];var l=false;var s;var c={};var d=[];var y=[];var m={};var p=0;var S=false;var P=false;var g;var A;var C;var b;var T=true;var k=false;var E=true;var _;var x;var K=false;var h=n;var w=[];var I=[];var R=[];var F=[];var D=[];var W=[];var j=[];var H=[];var M=[];var N=[];var $=[];var z=typeof AnimationEffect==="function"||win!==undefined&&typeof win.AnimationEffect==="function";var Z=typeof Element==="function"&&typeof Element.prototype.animate==="function"&&z;var q=100;var B=function(){return $};var G=function(n){D.forEach((function(r){r.destroy(n)}));J(n);F.length=0;D.length=0;o.length=0;X();l=false;E=true;return x};var J=function(n){Y();if(n){nn()}};var L=function(){S=false;P=false;E=true;A=undefined;C=undefined;b=undefined;p=0;k=false;T=true;K=false};var O=function(){return p!==0&&!K};var Q=function(n,r){var e=r.findIndex((function(r){return r.c===n}));if(e>-1){r.splice(e,1)}};var U=function(n,r){R.push({c:n,o:r});return x};var V=function(n,r){var e=(r===null||r===void 0?void 0:r.oneTimeCallback)?I:w;e.push({c:n,o:r});return x};var X=function(){w.length=0;I.length=0;return x};var Y=function(){if(Z){$.forEach((function(n){n.cancel()}));$.length=0}else{var n=F.slice();raf((function(){n.forEach((function(n){removeStyleProperty(n,"animation-name");removeStyleProperty(n,"animation-duration");removeStyleProperty(n,"animation-timing-function");removeStyleProperty(n,"animation-iteration-count");removeStyleProperty(n,"animation-delay");removeStyleProperty(n,"animation-play-state");removeStyleProperty(n,"animation-fill-mode");removeStyleProperty(n,"animation-direction")}))}))}};var nn=function(){W.forEach((function(n){if(n===null||n===void 0?void 0:n.parentNode){n.parentNode.removeChild(n)}}));W.length=0};var rn=function(n){j.push(n);return x};var en=function(n){H.push(n);return x};var tn=function(n){M.push(n);return x};var an=function(n){N.push(n);return x};var fn=function(n){u=addClassToArray(u,n);return x};var on=function(n){v=addClassToArray(v,n);return x};var un=function(n){if(n===void 0){n={}}c=n;return x};var vn=function(n){if(n===void 0){n=[]}for(var r=0,e=n;r<e.length;r++){var t=e[r];c[t]=""}return x};var ln=function(n){d=addClassToArray(d,n);return x};var sn=function(n){y=addClassToArray(y,n);return x};var cn=function(n){if(n===void 0){n={}}m=n;return x};var dn=function(n){if(n===void 0){n=[]}for(var r=0,e=n;r<e.length;r++){var t=e[r];m[t]=""}return x};var yn=function(){if(a!==undefined){return a}if(s){return s.getFill()}return"both"};var mn=function(){if(A!==undefined){return A}if(f!==undefined){return f}if(s){return s.getDirection()}return"normal"};var pn=function(){if(S){return"linear"}if(t!==undefined){return t}if(s){return s.getEasing()}return"linear"};var Sn=function(){if(P){return 0}if(C!==undefined){return C}if(e!==undefined){return e}if(s){return s.getDuration()}return 0};var Pn=function(){if(i!==undefined){return i}if(s){return s.getIterations()}return 1};var gn=function(){if(b!==undefined){return b}if(r!==undefined){return r}if(s){return s.getDelay()}return 0};var An=function(){return o};var Cn=function(n){f=n;zn(true);return x};var bn=function(n){a=n;zn(true);return x};var Tn=function(n){r=n;zn(true);return x};var kn=function(n){t=n;zn(true);return x};var En=function(n){if(!Z&&n===0){n=1}e=n;zn(true);return x};var _n=function(n){i=n;zn(true);return x};var xn=function(n){s=n;return x};var Kn=function(n){if(n!=null){if(n.nodeType===1){F.push(n)}else if(n.length>=0){for(var r=0;r<n.length;r++){F.push(n[r])}}else{console.error("Invalid addElement value")}}return x};var hn=function(n){if(n!=null){if(Array.isArray(n)){for(var r=0,e=n;r<e.length;r++){var t=e[r];t.parent(x);D.push(t)}}else{n.parent(x);D.push(n)}}return x};var wn=function(n){var r=o!==n;o=n;if(r){In(o)}return x};var In=function(n){if(Z){B().forEach((function(r){var e=r.effect;if(e.setKeyframes){e.setKeyframes(n)}else{var t=new KeyframeEffect(e.target,n,e.getTiming());r.effect=t}}))}else{Wn()}};var Rn=function(){j.forEach((function(n){return n()}));H.forEach((function(n){return n()}));var n=u;var r=v;var e=c;F.forEach((function(t){var i=t.classList;n.forEach((function(n){return i.add(n)}));r.forEach((function(n){return i.remove(n)}));for(var a in e){if(e.hasOwnProperty(a)){setStyleProperty(t,a,e[a])}}}))};var Fn=function(){On();M.forEach((function(n){return n()}));N.forEach((function(n){return n()}));var n=T?1:0;var r=d;var e=y;var t=m;F.forEach((function(n){var i=n.classList;r.forEach((function(n){return i.add(n)}));e.forEach((function(n){return i.remove(n)}));for(var a in t){if(t.hasOwnProperty(a)){setStyleProperty(n,a,t[a])}}}));C=undefined;A=undefined;b=undefined;w.forEach((function(r){return r.c(n,x)}));I.forEach((function(r){return r.c(n,x)}));I.length=0;E=true;if(T){k=true}T=true};var Dn=function(){if(p===0){return}p--;if(p===0){Fn();if(s){s.animationFinish()}}};var Wn=function(r){if(r===void 0){r=true}nn();var e=processKeyframes(o);F.forEach((function(t){if(e.length>0){var i=generateKeyframeRules(e);_=n!==undefined?n:generateKeyframeName(i);var a=createKeyframeStylesheet(_,i,t);W.push(a);setStyleProperty(t,"animation-duration","".concat(Sn(),"ms"));setStyleProperty(t,"animation-timing-function",pn());setStyleProperty(t,"animation-delay","".concat(gn(),"ms"));setStyleProperty(t,"animation-fill-mode",yn());setStyleProperty(t,"animation-direction",mn());var f=Pn()===Infinity?"infinite":Pn().toString();setStyleProperty(t,"animation-iteration-count",f);setStyleProperty(t,"animation-play-state","paused");if(r){setStyleProperty(t,"animation-name","".concat(a.id,"-alt"))}raf((function(){setStyleProperty(t,"animation-name",a.id||null)}))}}))};var jn=function(){F.forEach((function(n){var r=n.animate(o,{id:h,delay:gn(),duration:Sn(),easing:pn(),iterations:Pn(),fill:yn(),direction:mn()});r.pause();$.push(r)}));if($.length>0){$[0].onfinish=function(){Dn()}}};var Hn=function(n){if(n===void 0){n=true}Rn();if(o.length>0){if(Z){jn()}else{Wn(n)}}l=true};var Mn=function(n){n=Math.min(Math.max(n,0),.9999);if(Z){$.forEach((function(r){r.currentTime=r.effect.getComputedTiming().delay+Sn()*n;r.pause()}))}else{var r="-".concat(Sn()*n,"ms");F.forEach((function(n){if(o.length>0){setStyleProperty(n,"animation-delay",r);setStyleProperty(n,"animation-play-state","paused")}}))}};var Nn=function(n){$.forEach((function(n){n.effect.updateTiming({delay:gn(),duration:Sn(),easing:pn(),iterations:Pn(),fill:yn(),direction:mn()})}));if(n!==undefined){Mn(n)}};var $n=function(n,r){if(n===void 0){n=true}raf((function(){F.forEach((function(e){setStyleProperty(e,"animation-name",_||null);setStyleProperty(e,"animation-duration","".concat(Sn(),"ms"));setStyleProperty(e,"animation-timing-function",pn());setStyleProperty(e,"animation-delay",r!==undefined?"-".concat(r*Sn(),"ms"):"".concat(gn(),"ms"));setStyleProperty(e,"animation-fill-mode",yn()||null);setStyleProperty(e,"animation-direction",mn()||null);var t=Pn()===Infinity?"infinite":Pn().toString();setStyleProperty(e,"animation-iteration-count",t);if(n){setStyleProperty(e,"animation-name","".concat(_,"-alt"))}raf((function(){setStyleProperty(e,"animation-name",_||null)}))}))}))};var zn=function(n,r,e){if(n===void 0){n=false}if(r===void 0){r=true}if(n){D.forEach((function(t){t.update(n,r,e)}))}if(Z){Nn(e)}else{$n(r,e)}return x};var Zn=function(n,r){if(n===void 0){n=false}D.forEach((function(e){e.progressStart(n,r)}));Gn();S=n;if(!l){Hn()}zn(false,true,r);return x};var qn=function(n){D.forEach((function(r){r.progressStep(n)}));Mn(n);return x};var Bn=function(n,r,e){S=false;D.forEach((function(t){t.progressEnd(n,r,e)}));if(e!==undefined){C=e}k=false;T=true;if(n===0){A=mn()==="reverse"?"normal":"reverse";if(A==="reverse"){T=false}if(Z){zn();Mn(1-r)}else{b=(1-r)*Sn()*-1;zn(false,false)}}else if(n===1){if(Z){zn();Mn(r)}else{b=r*Sn()*-1;zn(false,false)}}if(n!==undefined&&!s){Yn()}return x};var Gn=function(){if(l){if(Z){$.forEach((function(n){n.pause()}))}else{F.forEach((function(n){setStyleProperty(n,"animation-play-state","paused")}))}K=true}};var Jn=function(){D.forEach((function(n){n.pause()}));Gn();return x};var Ln=function(){g=undefined;Dn()};var On=function(){if(g){clearTimeout(g)}};var Qn=function(){On();raf((function(){F.forEach((function(n){if(o.length>0){setStyleProperty(n,"animation-play-state","running")}}))}));if(o.length===0||F.length===0){Dn()}else{var n=gn()||0;var r=Sn()||0;var e=Pn()||1;if(isFinite(e)){g=setTimeout(Ln,n+r*e+q)}animationEnd(F[0],(function(){On();raf((function(){Un();raf(Dn)}))}))}};var Un=function(){F.forEach((function(n){removeStyleProperty(n,"animation-duration");removeStyleProperty(n,"animation-delay");removeStyleProperty(n,"animation-play-state")}))};var Vn=function(){$.forEach((function(n){n.play()}));if(o.length===0||F.length===0){Dn()}};var Xn=function(){if(Z){Mn(0);Nn()}else{$n()}};var Yn=function(n){return new Promise((function(r){if(n===null||n===void 0?void 0:n.sync){P=true;V((function(){return P=false}),{oneTimeCallback:true})}if(!l){Hn()}if(k){Xn();k=false}if(E){p=D.length+1;E=false}var e=function(){Q(t,I);r()};var t=function(){Q(e,R);r()};V(t,{oneTimeCallback:true});U(e,{oneTimeCallback:true});D.forEach((function(n){n.play()}));if(Z){Vn()}else{Qn()}K=false}))};var nr=function(){D.forEach((function(n){n.stop()}));if(l){Y();l=false}L();R.forEach((function(n){return n.c(0,x)}));R.length=0};var rr=function(n,r){var e;var t=o[0];if(t!==undefined&&(t.offset===undefined||t.offset===0)){t[n]=r}else{o=__spreadArray([(e={offset:0},e[n]=r,e)],o,true)}return x};var er=function(n,r){var e;var t=o[o.length-1];if(t!==undefined&&(t.offset===undefined||t.offset===1)){t[n]=r}else{o=__spreadArray(__spreadArray([],o,true),[(e={offset:1},e[n]=r,e)],false)}return x};var tr=function(n,r,e){return rr(n,r).to(n,e)};return x={parentAnimation:s,elements:F,childAnimations:D,id:h,animationFinish:Dn,from:rr,to:er,fromTo:tr,parent:xn,play:Yn,pause:Jn,stop:nr,destroy:G,keyframes:wn,addAnimation:hn,addElement:Kn,update:zn,fill:bn,direction:Cn,iterations:_n,duration:En,easing:kn,delay:Tn,getWebAnimations:B,getKeyframes:An,getFill:yn,getDirection:mn,getDelay:gn,getIterations:Pn,getEasing:pn,getDuration:Sn,afterAddRead:tn,afterAddWrite:an,afterClearStyles:dn,afterStyles:cn,afterRemoveClass:sn,afterAddClass:ln,beforeAddRead:rn,beforeAddWrite:en,beforeClearStyles:vn,beforeStyles:un,beforeRemoveClass:on,beforeAddClass:fn,onFinish:V,isRunning:O,progressStart:Zn,progressStep:qn,progressEnd:Bn}};export{createAnimation as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import{w as writeTask}from"./index-
|
|
4
|
+
import{w as writeTask}from"./index-4c30cddd.js";import{h as hapticSelectionEnd,a as hapticSelectionStart,b as hapticSelectionChanged}from"./haptic-554688a5.js";import{createGesture}from"./index-2cf77112.js";var createButtonActiveGesture=function(t,e){var n;var r;var i=function(t,r,i){if(typeof document==="undefined"){return}var o=document.elementFromPoint(t,r);if(!o||!e(o)){c();return}if(o!==n){c();a(o,i)}};var a=function(t,e){n=t;if(!r){r=n}var i=n;writeTask((function(){return i.classList.add("ion-activated")}));e()};var c=function(t){if(t===void 0){t=false}if(!n){return}var e=n;writeTask((function(){return e.classList.remove("ion-activated")}));if(t&&r!==n){n.click()}n=undefined};return createGesture({el:t,gestureName:"buttonActiveDrag",threshold:0,onStart:function(t){return i(t.currentX,t.currentY,hapticSelectionStart)},onMove:function(t){return i(t.currentX,t.currentY,hapticSelectionChanged)},onEnd:function(){c(true);hapticSelectionEnd();r=undefined}})};export{createButtonActiveGesture as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import{h as findItemLabel}from"./helpers-
|
|
4
|
+
import{h as findItemLabel}from"./helpers-be245865.js";var createLegacyFormController=function(r){var e=r;var a;var l=function(){if(a===undefined){var r=e.label!==undefined||hasLabelSlot(e);var l=e.hasAttribute("aria-label")||e.hasAttribute("aria-labelledby")&&e.shadowRoot===null;var n=findItemLabel(e);a=e.legacy===true||!r&&!l&&n!==null}return a};return{hasLegacyControl:l}};var hasLabelSlot=function(r){if(NAMED_LABEL_SLOT_COMPONENTS.includes(r.tagName)&&r.querySelector('[slot="label"]')!==null){return true}if(UNNAMED_LABEL_SLOT_COMPONENTS.includes(r.tagName)&&r.textContent!==""){return true}return false};var NAMED_LABEL_SLOT_COMPONENTS=["ION-INPUT","ION-TEXTAREA","ION-SELECT","ION-RANGE"];var UNNAMED_LABEL_SLOT_COMPONENTS=["ION-TOGGLE","ION-CHECKBOX","ION-RADIO"];export{createLegacyFormController as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import{__awaiter,__generator}from"tslib";
|
|
2
2
|
/*!
|
|
3
3
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/import{c as componentOnReady}from"./helpers-
|
|
4
|
+
*/import{c as componentOnReady}from"./helpers-be245865.js";var attachComponent=function(e,n,t,r,o,i){return __awaiter(void 0,void 0,void 0,(function(){var a,u;return __generator(this,(function(c){switch(c.label){case 0:if(e){return[2,e.attachViewToDom(n,t,o,r)]}if(!i&&typeof t!=="string"&&!(t instanceof HTMLElement)){throw new Error("framework delegate is missing")}u=typeof t==="string"?(a=n.ownerDocument)===null||a===void 0?void 0:a.createElement(t):t;if(r){r.forEach((function(e){return u.classList.add(e)}))}if(o){Object.assign(u,o)}n.appendChild(u);return[4,new Promise((function(e){return componentOnReady(u,e)}))];case 1:c.sent();return[2,u]}}))}))};var detachComponent=function(e,n){if(n){if(e){var t=n.parentElement;return e.removeViewFromDom(t,n)}n.remove()}return Promise.resolve()};var CoreDelegate=function(){var e;var n;var t=function(t,r,o,i){if(o===void 0){o={}}if(i===void 0){i=[]}return __awaiter(void 0,void 0,void 0,(function(){var a,u,c,f,s,d,v;return __generator(this,(function(m){switch(m.label){case 0:e=t;if(!r)return[3,2];f=typeof r==="string"?(a=e.ownerDocument)===null||a===void 0?void 0:a.createElement(r):r;i.forEach((function(e){return f.classList.add(e)}));Object.assign(f,o);e.appendChild(f);c=f;return[4,new Promise((function(e){return componentOnReady(f,e)}))];case 1:m.sent();return[3,3];case 2:if(e.children.length>0&&(e.tagName==="ION-MODAL"||e.tagName==="ION-POPOVER")){s=c=e.children[0];if(!s.classList.contains("ion-delegate-host")){d=(u=e.ownerDocument)===null||u===void 0?void 0:u.createElement("div");d.classList.add("ion-delegate-host");i.forEach((function(e){return d.classList.add(e)}));d.append.apply(d,e.children);e.appendChild(d);c=d}}m.label=3;case 3:v=document.querySelector("ion-app")||document.body;n=document.createComment("ionic teleport");e.parentNode.insertBefore(n,e);v.appendChild(e);return[2,c!==null&&c!==void 0?c:e]}}))}))};var r=function(){if(e&&n){n.parentNode.insertBefore(e,n);n.remove()}return Promise.resolve()};return{attachViewToDom:t,removeViewFromDom:r}};export{CoreDelegate as C,attachComponent as a,detachComponent as d};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import{__awaiter,__generator}from"tslib";
|
|
2
2
|
/*!
|
|
3
3
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/import{w as win}from"./index-a5d50daf.js";import{c as config}from"./ionic-global-
|
|
4
|
+
*/import{w as win}from"./index-a5d50daf.js";import{c as config}from"./ionic-global-ad9a1810.js";import"./index-4c30cddd.js";var shoudUseCloseWatcher=function(){return config.get("experimentalCloseWatcher",false)&&win!==undefined&&"CloseWatcher"in win};var blockHardwareBackButton=function(){document.addEventListener("backbutton",(function(){}))};var startHardwareBackButton=function(){var r=document;var n=false;var t=function(){if(n){return}var t=0;var e=[];var a=new CustomEvent("ionBackButton",{bubbles:false,detail:{register:function(r,n){e.push({priority:r,handler:n,id:t++})}}});r.dispatchEvent(a);var o=function(r){return __awaiter(void 0,void 0,void 0,(function(){var n,t;return __generator(this,(function(e){switch(e.label){case 0:e.trys.push([0,3,,4]);if(!(r===null||r===void 0?void 0:r.handler))return[3,2];n=r.handler(i);if(!(n!=null))return[3,2];return[4,n];case 1:e.sent();e.label=2;case 2:return[3,4];case 3:t=e.sent();console.error(t);return[3,4];case 4:return[2]}}))}))};var i=function(){if(e.length>0){var r={priority:Number.MIN_SAFE_INTEGER,handler:function(){return undefined},id:-1};e.forEach((function(n){if(n.priority>=r.priority){r=n}}));n=true;e=e.filter((function(n){return n.id!==r.id}));o(r).then((function(){return n=false}))}};i()};if(shoudUseCloseWatcher()){var e;var a=function(){e===null||e===void 0?void 0:e.destroy();e=new win.CloseWatcher;e.onclose=function(){t();a()}};a()}else{r.addEventListener("backbutton",t)}};var OVERLAY_BACK_BUTTON_PRIORITY=100;var MENU_BACK_BUTTON_PRIORITY=99;export{MENU_BACK_BUTTON_PRIORITY,OVERLAY_BACK_BUTTON_PRIORITY,blockHardwareBackButton,shoudUseCloseWatcher,startHardwareBackButton};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{__spreadArray}from"tslib";
|
|
2
|
+
/*!
|
|
3
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
+
*/var transitionEndAsync=function(a,r){if(r===void 0){r=0}return new Promise((function(i){transitionEnd(a,r,i)}))};var transitionEnd=function(a,r,i){if(r===void 0){r=0}var e;var n;var t={passive:true};var o=500;var u=function(){if(e){e()}};var l=function(r){if(r===undefined||a===r.target){u();i(r)}};if(a){a.addEventListener("webkitTransitionEnd",l,t);a.addEventListener("transitionend",l,t);n=setTimeout(l,r+o);e=function(){if(n!==undefined){clearTimeout(n);n=undefined}a.removeEventListener("webkitTransitionEnd",l,t);a.removeEventListener("transitionend",l,t)}}return u};var componentOnReady=function(a,r){if(a.componentOnReady){a.componentOnReady().then((function(a){return r(a)}))}else{raf((function(){return r(a)}))}};var hasLazyBuild=function(a){return a.componentOnReady!==undefined};var inheritAttributes=function(a,r){if(r===void 0){r=[]}var i={};r.forEach((function(r){if(a.hasAttribute(r)){var e=a.getAttribute(r);if(e!==null){i[r]=a.getAttribute(r)}a.removeAttribute(r)}}));return i};var ariaAttributes=["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"];var inheritAriaAttributes=function(a,r){var i=ariaAttributes;if(r&&r.length>0){i=i.filter((function(a){return!r.includes(a)}))}return inheritAttributes(a,i)};var addEventListener=function(a,r,i,e){var n;if(typeof window!=="undefined"){var t=window;var o=(n=t===null||t===void 0?void 0:t.Ionic)===null||n===void 0?void 0:n.config;if(o){var u=o.get("_ael");if(u){return u(a,r,i,e)}else if(o._ael){return o._ael(a,r,i,e)}}}return a.addEventListener(r,i,e)};var removeEventListener=function(a,r,i,e){var n;if(typeof window!=="undefined"){var t=window;var o=(n=t===null||t===void 0?void 0:t.Ionic)===null||n===void 0?void 0:n.config;if(o){var u=o.get("_rel");if(u){return u(a,r,i,e)}else if(o._rel){return o._rel(a,r,i,e)}}}return a.removeEventListener(r,i,e)};var getElementRoot=function(a,r){if(r===void 0){r=a}return a.shadowRoot||r};var raf=function(a){if(typeof __zone_symbol__requestAnimationFrame==="function"){return __zone_symbol__requestAnimationFrame(a)}if(typeof requestAnimationFrame==="function"){return requestAnimationFrame(a)}return setTimeout(a)};var hasShadowDom=function(a){return!!a.shadowRoot&&!!a.attachShadow};var findItemLabel=function(a){var r=a.closest("ion-item");if(r){return r.querySelector("ion-label")}return null};var focusVisibleElement=function(a){a.focus();if(a.classList.contains("ion-focusable")){var r=a.closest("ion-app");if(r){r.setFocus([a])}}};var getAriaLabel=function(a,r){var i;var e=a.getAttribute("aria-labelledby");var n=a.id;var t=e!==null&&e.trim()!==""?e:r+"-lbl";var o=e!==null&&e.trim()!==""?document.getElementById(e):findItemLabel(a);if(o){if(e===null){o.id=t}i=o.textContent;o.setAttribute("aria-hidden","true")}else if(n.trim()!==""){o=document.querySelector('label[for="'.concat(n,'"]'));if(o){if(o.id!==""){t=o.id}else{o.id=t="".concat(n,"-lbl")}i=o.textContent}}return{label:o,labelId:t,labelText:i}};var renderHiddenInput=function(a,r,i,e,n){if(a||hasShadowDom(r)){var t=r.querySelector("input.aux-input");if(!t){t=r.ownerDocument.createElement("input");t.type="hidden";t.classList.add("aux-input");r.appendChild(t)}t.disabled=n;t.name=i;t.value=e||""}};var clamp=function(a,r,i){return Math.max(a,Math.min(r,i))};var assert=function(a,r){if(!a){var i="ASSERT: "+r;console.error(i);debugger;throw new Error(i)}};var now=function(a){return a.timeStamp||Date.now()};var pointerCoord=function(a){if(a){var r=a.changedTouches;if(r&&r.length>0){var i=r[0];return{x:i.clientX,y:i.clientY}}if(a.pageX!==undefined){return{x:a.pageX,y:a.pageY}}}return{x:0,y:0}};var isEndSide=function(a){var r=document.dir==="rtl";switch(a){case"start":return r;case"end":return!r;default:throw new Error('"'.concat(a,'" is not a valid value for [side]. Use "start" or "end" instead.'))}};var debounceEvent=function(a,r){var i=a._original||a;return{_original:a,emit:debounce(i.emit.bind(i),r)}};var debounce=function(a,r){if(r===void 0){r=0}var i;return function(){var e=[];for(var n=0;n<arguments.length;n++){e[n]=arguments[n]}clearTimeout(i);i=setTimeout.apply(void 0,__spreadArray([a,r],e,false))}};var shallowEqualStringMap=function(a,r){a!==null&&a!==void 0?a:a={};r!==null&&r!==void 0?r:r={};if(a===r){return true}var i=Object.keys(a);if(i.length!==Object.keys(r).length){return false}for(var e=0,n=i;e<n.length;e++){var t=n[e];if(!(t in r)){return false}if(a[t]!==r[t]){return false}}return true};export{addEventListener as a,removeEventListener as b,componentOnReady as c,renderHiddenInput as d,getAriaLabel as e,focusVisibleElement as f,getElementRoot as g,findItemLabel as h,inheritAriaAttributes as i,debounceEvent as j,inheritAttributes as k,clamp as l,hasLazyBuild as m,hasShadowDom as n,assert as o,isEndSide as p,debounce as q,raf as r,shallowEqualStringMap as s,transitionEndAsync as t,now as u,pointerCoord as v};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import{d as doc}from"./index-a5d50daf.js";import{u as now,v as pointerCoord}from"./helpers-be245865.js";var startTapClick=function(e){if(doc===undefined){return}var r=-MOUSE_WAIT*10;var n=0;var t;var i;var a;var o=e.getBoolean("animated",true)&&e.getBoolean("rippleEffect",true);var f=new WeakMap;var u=function(e){r=now(e);E(e)};var c=function(e){r=now(e);A(e)};var v=function(e){if(e.button===2){return}var n=now(e)-MOUSE_WAIT;if(r<n){E(e)}};var d=function(e){var n=now(e)-MOUSE_WAIT;if(r<n){A(e)}};var T=function(){if(a)clearTimeout(a);a=undefined;if(t){D(false);t=undefined}};var E=function(e){if(t){return}s(getActivatableTarget(e),e)};var A=function(e){s(undefined,e)};var s=function(e,r){if(e&&e===t){return}if(a)clearTimeout(a);a=undefined;var n=pointerCoord(r),i=n.x,o=n.y;if(t){if(f.has(t)){throw new Error("internal error")}if(!t.classList.contains(ACTIVATED)){l(t,i,o)}D(true)}if(e){var u=f.get(e);if(u){clearTimeout(u);f.delete(e)}e.classList.remove(ACTIVATED);var c=function(){l(e,i,o);a=undefined};if(isInstant(e)){c()}else{a=setTimeout(c,ADD_ACTIVATED_DEFERS)}}t=e};var l=function(e,r,t){n=Date.now();e.classList.add(ACTIVATED);if(!o)return;var a=getRippleEffect(e);if(a!==null){p();i=a.addRipple(r,t)}};var p=function(){if(i!==undefined){i.then((function(e){return e()}));i=undefined}};var D=function(e){p();var r=t;if(!r){return}var i=CLEAR_STATE_DEFERS-Date.now()+n;if(e&&i>0&&!isInstant(r)){var a=setTimeout((function(){r.classList.remove(ACTIVATED);f.delete(r)}),CLEAR_STATE_DEFERS);f.set(r,a)}else{r.classList.remove(ACTIVATED)}};doc.addEventListener("ionGestureCaptured",T);doc.addEventListener("touchstart",u,true);doc.addEventListener("touchcancel",c,true);doc.addEventListener("touchend",c,true);doc.addEventListener("pointercancel",T,true);doc.addEventListener("mousedown",v,true);doc.addEventListener("mouseup",d,true)};var getActivatableTarget=function(e){if(e.composedPath!==undefined){var r=e.composedPath();for(var n=0;n<r.length-2;n++){var t=r[n];if(!(t instanceof ShadowRoot)&&t.classList.contains("ion-activatable")){return t}}}else{return e.target.closest(".ion-activatable")}};var isInstant=function(e){return e.classList.contains("ion-activatable-instant")};var getRippleEffect=function(e){if(e.shadowRoot){var r=e.shadowRoot.querySelector("ion-ripple-effect");if(r){return r}}return e.querySelector("ion-ripple-effect")};var ACTIVATED="ion-activated";var ADD_ACTIVATED_DEFERS=100;var CLEAR_STATE_DEFERS=150;var MOUSE_WAIT=2500;export{startTapClick};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import{__awaiter,__generator}from"tslib";
|
|
2
2
|
/*!
|
|
3
3
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/import{w as writeTask,B as Build}from"./index-
|
|
4
|
+
*/import{w as writeTask,B as Build}from"./index-4c30cddd.js";import{r as raf}from"./helpers-be245865.js";var LIFECYCLE_WILL_ENTER="ionViewWillEnter";var LIFECYCLE_DID_ENTER="ionViewDidEnter";var LIFECYCLE_WILL_LEAVE="ionViewWillLeave";var LIFECYCLE_DID_LEAVE="ionViewDidLeave";var LIFECYCLE_WILL_UNLOAD="ionViewWillUnload";var iosTransitionAnimation=function(){return import("./ios.transition-7459f819.js")};var mdTransitionAnimation=function(){return import("./md.transition-b8224313.js")};var transition=function(n){return new Promise((function(e,i){writeTask((function(){beforeTransition(n);runTransition(n).then((function(i){if(i.animation){i.animation.destroy()}afterTransition(n);e(i)}),(function(e){afterTransition(n);i(e)}))}))}))};var beforeTransition=function(n){var e=n.enteringEl;var i=n.leavingEl;setZIndex(e,i,n.direction);if(n.showGoBack){e.classList.add("can-go-back")}else{e.classList.remove("can-go-back")}setPageHidden(e,false);e.style.setProperty("pointer-events","none");if(i){setPageHidden(i,false);i.style.setProperty("pointer-events","none")}};var runTransition=function(n){return __awaiter(void 0,void 0,void 0,(function(){var e,i;return __generator(this,(function(r){switch(r.label){case 0:return[4,getAnimationBuilder(n)];case 1:e=r.sent();i=e&&Build.isBrowser?animation(e,n):noAnimation(n);return[2,i]}}))}))};var afterTransition=function(n){var e=n.enteringEl;var i=n.leavingEl;e.classList.remove("ion-page-invisible");e.style.removeProperty("pointer-events");if(i!==undefined){i.classList.remove("ion-page-invisible");i.style.removeProperty("pointer-events")}};var getAnimationBuilder=function(n){return __awaiter(void 0,void 0,void 0,(function(){var e,i;return __generator(this,(function(r){switch(r.label){case 0:if(!n.leavingEl||!n.animated||n.duration===0){return[2,undefined]}if(n.animationBuilder){return[2,n.animationBuilder]}if(!(n.mode==="ios"))return[3,2];return[4,iosTransitionAnimation()];case 1:i=r.sent().iosTransitionAnimation;return[3,4];case 2:return[4,mdTransitionAnimation()];case 3:i=r.sent().mdTransitionAnimation;r.label=4;case 4:e=i;return[2,e]}}))}))};var animation=function(n,e){return __awaiter(void 0,void 0,void 0,(function(){var i,r;return __generator(this,(function(t){switch(t.label){case 0:return[4,waitForReady(e,true)];case 1:t.sent();i=n(e.baseEl,e);fireWillEvents(e.enteringEl,e.leavingEl);return[4,playTransition(i,e)];case 2:r=t.sent();if(e.progressCallback){e.progressCallback(undefined)}if(r){fireDidEvents(e.enteringEl,e.leavingEl)}return[2,{hasCompleted:r,animation:i}]}}))}))};var noAnimation=function(n){return __awaiter(void 0,void 0,void 0,(function(){var e,i;return __generator(this,(function(r){switch(r.label){case 0:e=n.enteringEl;i=n.leavingEl;return[4,waitForReady(n,false)];case 1:r.sent();fireWillEvents(e,i);fireDidEvents(e,i);return[2,{hasCompleted:true}]}}))}))};var waitForReady=function(n,e){return __awaiter(void 0,void 0,void 0,(function(){var i;return __generator(this,(function(r){switch(r.label){case 0:i=n.deepWait!==undefined?n.deepWait:e;if(!i)return[3,2];return[4,Promise.all([deepReady(n.enteringEl),deepReady(n.leavingEl)])];case 1:r.sent();r.label=2;case 2:return[4,notifyViewReady(n.viewIsReady,n.enteringEl)];case 3:r.sent();return[2]}}))}))};var notifyViewReady=function(n,e){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(i){switch(i.label){case 0:if(!n)return[3,2];return[4,n(e)];case 1:i.sent();i.label=2;case 2:return[2]}}))}))};var playTransition=function(n,e){var i=e.progressCallback;var r=new Promise((function(e){n.onFinish((function(n){return e(n===1)}))}));if(i){n.progressStart(true);i(n)}else{n.play()}return r};var fireWillEvents=function(n,e){lifecycle(e,LIFECYCLE_WILL_LEAVE);lifecycle(n,LIFECYCLE_WILL_ENTER)};var fireDidEvents=function(n,e){lifecycle(n,LIFECYCLE_DID_ENTER);lifecycle(e,LIFECYCLE_DID_LEAVE)};var lifecycle=function(n,e){if(n){var i=new CustomEvent(e,{bubbles:false,cancelable:false});n.dispatchEvent(i)}};var waitForMount=function(){return new Promise((function(n){return raf((function(){return raf((function(){return n()}))}))}))};var deepReady=function(n){return __awaiter(void 0,void 0,void 0,(function(){var e,i,r;return __generator(this,(function(t){switch(t.label){case 0:e=n;if(!e)return[3,6];if(!(e.componentOnReady!=null))return[3,2];return[4,e.componentOnReady()];case 1:i=t.sent();if(i!=null){return[2]}return[3,4];case 2:if(!(e.__registerHost!=null))return[3,4];r=new Promise((function(n){return raf(n)}));return[4,r];case 3:t.sent();return[2];case 4:return[4,Promise.all(Array.from(e.children).map(deepReady))];case 5:t.sent();t.label=6;case 6:return[2]}}))}))};var setPageHidden=function(n,e){if(e){n.setAttribute("aria-hidden","true");n.classList.add("ion-page-hidden")}else{n.hidden=false;n.removeAttribute("aria-hidden");n.classList.remove("ion-page-hidden")}};var setZIndex=function(n,e,i){if(n!==undefined){n.style.zIndex=i==="back"?"99":"101"}if(e!==undefined){e.style.zIndex="100"}};var getIonPageElement=function(n){if(n.classList.contains("ion-page")){return n}var e=n.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs");if(e){return e}return n};export{LIFECYCLE_WILL_ENTER as L,LIFECYCLE_DID_ENTER as a,LIFECYCLE_WILL_LEAVE as b,LIFECYCLE_DID_LEAVE as c,LIFECYCLE_WILL_UNLOAD as d,deepReady as e,getIonPageElement as g,lifecycle as l,setPageHidden as s,transition as t,waitForMount as w};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import{__awaiter,__extends,__generator,__spreadArray}from"tslib";
|
|
2
2
|
/*!
|
|
3
3
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/var NAMESPACE="ionic";var BUILD={allRenderFn:false,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,cmpDidLoad:true,cmpDidRender:true,cmpDidUnload:false,cmpDidUpdate:true,cmpShouldUpdate:false,cmpWillLoad:true,cmpWillRender:true,cmpWillUpdate:false,connectedCallback:true,constructableCSS:true,cssAnnotations:true,devTools:false,disconnectedCallback:true,element:false,event:true,experimentalScopedSlotChanges:false,experimentalSlotFixes:false,formAssociated:false,hasRenderFn:true,hostListener:true,hostListenerTarget:true,hostListenerTargetBody:true,hostListenerTargetDocument:true,hostListenerTargetParent:false,hostListenerTargetWindow:true,hotModuleReplacement:false,hydrateClientSide:true,hydrateServerSide:false,hydratedAttribute:false,hydratedClass:true,initializeNextTick:false,invisiblePrehydration:true,isDebug:false,isDev:false,isTesting:false,lazyLoad:true,lifecycle:true,lifecycleDOMEvents:false,member:true,method:true,mode:true,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:true,propNumber:true,propString:true,reflect:true,scoped:true,scopedSlotTextContentFix:false,scriptDataOpts:false,shadowDelegatesFocus:true,shadowDom:true,slot:true,slotChildNodesFix:false,slotRelocation:true,state:true,style:true,svg:true,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:true,vdomKey:true,vdomListener:true,vdomPropOrAttr:true,vdomRef:true,vdomRender:true,vdomStyle:true,vdomText:true,vdomXlink:true,watchCallback:true};var scopeId;var contentRef;var hostTagName;var useNativeShadowDom=false;var checkSlotFallbackVisibility=false;var checkSlotRelocate=false;var isSvgMode=false;var queuePending=false;var Build={isDev:false,isBrowser:true,isServer:false,isTesting:false};var getAssetPath=function(e){var t=new URL(e,plt.t);return t.origin!==win.location.origin?t.href:t.pathname};var createTime=function(e,t){if(t===void 0){t=""}{return function(){return}}};var uniqueTime=function(e,t){{return function(){return}}};var CONTENT_REF_ID="r";var ORG_LOCATION_ID="o";var SLOT_NODE_ID="s";var TEXT_NODE_ID="t";var HYDRATE_ID="s-id";var HYDRATED_STYLE_ID="sty-id";var HYDRATE_CHILD_ID="c-id";var HYDRATED_CSS="{visibility:hidden}.hydrated{visibility:inherit}";var SLOT_FB_CSS="slot-fb{display:contents}slot-fb[hidden]{display:none}";var XLINK_NS="http://www.w3.org/1999/xlink";var EMPTY_OBJ={};var SVG_NS="http://www.w3.org/2000/svg";var HTML_NS="http://www.w3.org/1999/xhtml";var isDef=function(e){return e!=null};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};function queryNonceMetaTagContent(e){var t,r,n;return(n=(r=(t=e.head)===null||t===void 0?void 0:t.querySelector('meta[name="csp-nonce"]'))===null||r===void 0?void 0:r.getAttribute("content"))!==null&&n!==void 0?n:undefined}var h=function(e,t){var r=[];for(var n=2;n<arguments.length;n++){r[n-2]=arguments[n]}var a=null;var i=null;var o=null;var l=false;var s=false;var u=[];var f=function(t){for(var r=0;r<t.length;r++){a=t[r];if(Array.isArray(a)){f(a)}else if(a!=null&&typeof a!=="boolean"){if(l=typeof e!=="function"&&!isComplexType(a)){a=String(a)}if(l&&s){u[u.length-1].i+=a}else{u.push(l?newVNode(null,a):a)}s=l}}};f(r);if(t){if(t.key){i=t.key}if(t.name){o=t.name}{var c=t.className||t.class;if(c){t.class=typeof c!=="object"?c:Object.keys(c).filter((function(e){return c[e]})).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,u,vdomFnUtils)}var v=newVNode(e,null);v.o=t;if(u.length>0){v.l=u}{v.u=i}{v.v=o}return v};var newVNode=function(e,t){var r={p:0,m:e,i:t,h:null,l:null};{r.o=null}{r.u=null}{r.v=null}return r};var Host={};var isHost=function(e){return e&&e.m===Host};var vdomFnUtils={forEach:function(e,t){return e.map(convertToPublic).forEach(t)},map:function(e,t){return e.map(convertToPublic).map(t).map(convertToPrivate)}};var convertToPublic=function(e){return{vattrs:e.o,vchildren:e.l,vkey:e.u,vname:e.v,vtag:e.m,vtext:e.i}};var convertToPrivate=function(e){if(typeof e.vtag==="function"){var t=Object.assign({},e.vattrs);if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return h.apply(void 0,__spreadArray([e.vtag,t],e.vchildren||[],false))}var r=newVNode(e.vtag,e.vtext);r.o=e.vattrs;r.l=e.vchildren;r.u=e.vkey;r.v=e.vname;return r};var initializeClientHydrate=function(e,t,r,n){var a=createTime("hydrateClient",t);var i=e.shadowRoot;var o=[];var l=[];var s=i?[]:null;var u=n.S=newVNode(t,null);if(!plt.T){initializeDocumentHydrate(doc.body,plt.T=new Map)}e[HYDRATE_ID]=r;e.removeAttribute(HYDRATE_ID);clientHydrate(u,o,l,s,e,e,r);o.map((function(e){var r=e.C+"."+e._;var n=plt.T.get(r);var a=e.h;if(n&&supportsShadow&&n["s-en"]===""){n.parentNode.insertBefore(a,n.nextSibling)}if(!i){a["s-hn"]=t;if(n){a["s-ol"]=n;a["s-ol"]["s-nr"]=a}}plt.T.delete(r)}));if(i){s.map((function(e){if(e){i.appendChild(e)}}))}a()};var clientHydrate=function(e,t,r,n,a,i,o){var l;var s;var u;var f;if(i.nodeType===1){l=i.getAttribute(HYDRATE_CHILD_ID);if(l){s=l.split(".");if(s[0]===o||s[0]==="0"){u={p:0,C:s[0],_:s[1],R:s[2],$:s[3],m:i.tagName.toLowerCase(),h:i,o:null,l:null,u:null,v:null,i:null};t.push(u);i.removeAttribute(HYDRATE_CHILD_ID);if(!e.l){e.l=[]}e.l[u.$]=u;e=u;if(n&&u.R==="0"){n[u.$]=u.h}}}for(f=i.childNodes.length-1;f>=0;f--){clientHydrate(e,t,r,n,a,i.childNodes[f],o)}if(i.shadowRoot){for(f=i.shadowRoot.childNodes.length-1;f>=0;f--){clientHydrate(e,t,r,n,a,i.shadowRoot.childNodes[f],o)}}}else if(i.nodeType===8){s=i.nodeValue.split(".");if(s[1]===o||s[1]==="0"){l=s[0];u={p:0,C:s[1],_:s[2],R:s[3],$:s[4],h:i,o:null,l:null,u:null,v:null,m:null,i:null};if(l===TEXT_NODE_ID){u.h=i.nextSibling;if(u.h&&u.h.nodeType===3){u.i=u.h.textContent;t.push(u);i.remove();if(!e.l){e.l=[]}e.l[u.$]=u;if(n&&u.R==="0"){n[u.$]=u.h}}}else if(u.C===o){if(l===SLOT_NODE_ID){u.m="slot";if(s[5]){i["s-sn"]=u.v=s[5]}else{i["s-sn"]=""}i["s-sr"]=true;if(n){u.h=doc.createElement(u.m);if(u.v){u.h.setAttribute("name",u.v)}i.parentNode.insertBefore(u.h,i);i.remove();if(u.R==="0"){n[u.$]=u.h}}r.push(u);if(!e.l){e.l=[]}e.l[u.$]=u}else if(l===CONTENT_REF_ID){if(n){i.remove()}else{a["s-cr"]=i;i["s-cn"]=true}}}}}else if(e&&e.m==="style"){var c=newVNode(null,i.textContent);c.h=i;c.$="0";e.l=[c]}};var initializeDocumentHydrate=function(e,t){if(e.nodeType===1){var r=0;for(;r<e.childNodes.length;r++){initializeDocumentHydrate(e.childNodes[r],t)}if(e.shadowRoot){for(r=0;r<e.shadowRoot.childNodes.length;r++){initializeDocumentHydrate(e.shadowRoot.childNodes[r],t)}}}else if(e.nodeType===8){var n=e.nodeValue.split(".");if(n[0]===ORG_LOCATION_ID){t.set(n[1]+"."+n[2],e);e.nodeValue="";e["s-en"]=n[3]}}};var computeMode=function(e){return modeResolutionChain.map((function(t){return t(e)})).find((function(e){return!!e}))};var setMode=function(e){return modeResolutionChain.push(e)};var getMode=function(e){return getHostRef(e).D};var parsePropertyValue=function(e,t){if(e!=null&&!isComplexType(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var getElement=function(e){return getHostRef(e).$hostElement$};var createEvent=function(e,t,r){var n=getElement(e);return{emit:function(e){return emitEvent(n,t,{bubbles:!!(r&4),composed:!!(r&2),cancelable:!!(r&1),detail:e})}}};var emitEvent=function(e,t,r){var n=plt.ce(t,r);e.dispatchEvent(n);return n};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,t,r){var n=styles.get(e);if(supportsConstructableStylesheets&&r){n=n||new CSSStyleSheet;if(typeof n==="string"){n=t}else{n.replaceSync(t)}}else{n=t}styles.set(e,n)};var addStyle=function(e,t,r){var n;var a=getScopeId(t,r);var i=styles.get(a);e=e.nodeType===11?e:doc;if(i){if(typeof i==="string"){e=e.head||e;var o=rootAppliedStyles.get(e);var l=void 0;if(!o){rootAppliedStyles.set(e,o=new Set)}if(!o.has(a)){if(e.host&&(l=e.querySelector("[".concat(HYDRATED_STYLE_ID,'="').concat(a,'"]')))){l.innerHTML=i}else{l=doc.createElement("style");l.innerHTML=i;var s=(n=plt.N)!==null&&n!==void 0?n:queryNonceMetaTagContent(doc);if(s!=null){l.setAttribute("nonce",s)}e.insertBefore(l,e.querySelector("link"))}if(t.p&4){l.innerHTML+=SLOT_FB_CSS}if(o){o.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[i],false)}}return a};var attachStyles=function(e){var t=e.k;var r=e.$hostElement$;var n=t.p;var a=createTime("attachStyles",t.L);var i=addStyle(r.shadowRoot?r.shadowRoot:r.getRootNode(),t,e.D);if(n&10){r["s-sc"]=i;r.classList.add(i+"-h");if(n&2){r.classList.add(i+"-s")}}a()};var getScopeId=function(e,t){return"sc-"+(t&&e.p&32?e.L+"-"+t:e.L)};var convertScopedToShadow=function(e){return e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{")};var setAccessor=function(e,t,r,n,a,i){if(r!==n){var o=isMemberInElement(e,t);var l=t.toLowerCase();if(t==="class"){var s=e.classList;var u=parseClassList(r);var f=parseClassList(n);s.remove.apply(s,u.filter((function(e){return e&&!f.includes(e)})));s.add.apply(s,f.filter((function(e){return e&&!u.includes(e)})))}else if(t==="style"){{for(var c in r){if(!n||n[c]==null){if(c.includes("-")){e.style.removeProperty(c)}else{e.style[c]=""}}}}for(var c in n){if(!r||n[c]!==r[c]){if(c.includes("-")){e.style.setProperty(c,n[c])}else{e.style[c]=n[c]}}}}else if(t==="key");else if(t==="ref"){if(n){n(e)}}else if(!o&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(isMemberInElement(win,l)){t=l.slice(2)}else{t=l[2]+t.slice(3)}if(r||n){var v=t.endsWith(CAPTURE_EVENT_SUFFIX);t=t.replace(CAPTURE_EVENT_REGEX,"");if(r){plt.rel(e,t,r,v)}if(n){plt.ael(e,t,n,v)}}}else{var d=isComplexType(n);if((o||d&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var p=n==null?"":n;if(t==="list"){o=false}else if(r==null||e[t]!=p){e[t]=p}}else{e[t]=n}}catch(e){}}var m=false;{if(l!==(l=l.replace(/^xlink\:?/,""))){t=l;m=true}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){if(m){e.removeAttributeNS(XLINK_NS,t)}else{e.removeAttribute(t)}}}else if((!o||i&4||a)&&!d){n=n===true?"":n;if(m){e.setAttributeNS(XLINK_NS,t,n)}else{e.setAttribute(t,n)}}}}};var parseClassListRegex=/\s/;var parseClassList=function(e){return!e?[]:e.split(parseClassListRegex)};var CAPTURE_EVENT_SUFFIX="Capture";var CAPTURE_EVENT_REGEX=new RegExp(CAPTURE_EVENT_SUFFIX+"$");var updateElement=function(e,t,r,n){var a=t.h.nodeType===11&&t.h.host?t.h.host:t.h;var i=e&&e.o||EMPTY_OBJ;var o=t.o||EMPTY_OBJ;{for(n in i){if(!(n in o)){setAccessor(a,n,i[n],undefined,r,t.p)}}}for(n in o){setAccessor(a,n,i[n],o[n],r,t.p)}};var createElm=function(e,t,r,n){var a=t.l[r];var i=0;var o;var l;var s;if(!useNativeShadowDom){checkSlotRelocate=true;if(a.m==="slot"){if(scopeId){n.classList.add(scopeId+"-s")}a.p|=a.l?2:1}}if(a.i!==null){o=a.h=doc.createTextNode(a.i)}else if(a.p&1){o=a.h=doc.createTextNode("")}else{if(!isSvgMode){isSvgMode=a.m==="svg"}o=a.h=doc.createElementNS(isSvgMode?SVG_NS:HTML_NS,a.p&2?"slot-fb":a.m);if(isSvgMode&&a.m==="foreignObject"){isSvgMode=false}{updateElement(null,a,isSvgMode)}if(isDef(scopeId)&&o["s-si"]!==scopeId){o.classList.add(o["s-si"]=scopeId)}if(a.l){for(i=0;i<a.l.length;++i){l=createElm(e,a,i,o);if(l){o.appendChild(l)}}}{if(a.m==="svg"){isSvgMode=false}else if(o.tagName==="foreignObject"){isSvgMode=true}}}o["s-hn"]=hostTagName;{if(a.p&(2|1)){o["s-sr"]=true;o["s-cr"]=contentRef;o["s-sn"]=a.v||"";s=e&&e.l&&e.l[r];if(s&&s.m===a.m&&e.h){{putBackInOriginalLocation(e.h,false)}}}}return o};var putBackInOriginalLocation=function(e,t){plt.p|=1;var r=e.childNodes;for(var n=r.length-1;n>=0;n--){var a=r[n];if(a["s-hn"]!==hostTagName&&a["s-ol"]){parentReferenceNode(a).insertBefore(a,referenceNode(a));a["s-ol"].remove();a["s-ol"]=undefined;a["s-sh"]=undefined;checkSlotRelocate=true}if(t){putBackInOriginalLocation(a,t)}}plt.p&=~1};var addVnodes=function(e,t,r,n,a,i){var o=e["s-cr"]&&e["s-cr"].parentNode||e;var l;if(o.shadowRoot&&o.tagName===hostTagName){o=o.shadowRoot}for(;a<=i;++a){if(n[a]){l=createElm(null,r,a,e);if(l){n[a].h=l;o.insertBefore(l,referenceNode(t))}}}};var removeVnodes=function(e,t,r){for(var n=t;n<=r;++n){var a=e[n];if(a){var i=a.h;nullifyVNodeRefs(a);if(i){{checkSlotFallbackVisibility=true;if(i["s-ol"]){i["s-ol"].remove()}else{putBackInOriginalLocation(i,true)}}i.remove()}}}};var updateChildren=function(e,t,r,n,a){if(a===void 0){a=false}var i=0;var o=0;var l=0;var s=0;var u=t.length-1;var f=t[0];var c=t[u];var v=n.length-1;var d=n[0];var p=n[v];var m;var h;while(i<=u&&o<=v){if(f==null){f=t[++i]}else if(c==null){c=t[--u]}else if(d==null){d=n[++o]}else if(p==null){p=n[--v]}else if(isSameVnode(f,d,a)){patch(f,d,a);f=t[++i];d=n[++o]}else if(isSameVnode(c,p,a)){patch(c,p,a);c=t[--u];p=n[--v]}else if(isSameVnode(f,p,a)){if(f.m==="slot"||p.m==="slot"){putBackInOriginalLocation(f.h.parentNode,false)}patch(f,p,a);e.insertBefore(f.h,c.h.nextSibling);f=t[++i];p=n[--v]}else if(isSameVnode(c,d,a)){if(f.m==="slot"||p.m==="slot"){putBackInOriginalLocation(c.h.parentNode,false)}patch(c,d,a);e.insertBefore(c.h,f.h);c=t[--u];d=n[++o]}else{l=-1;{for(s=i;s<=u;++s){if(t[s]&&t[s].u!==null&&t[s].u===d.u){l=s;break}}}if(l>=0){h=t[l];if(h.m!==d.m){m=createElm(t&&t[o],r,l,e)}else{patch(h,d,a);t[l]=undefined;m=h.h}d=n[++o]}else{m=createElm(t&&t[o],r,o,e);d=n[++o]}if(m){{parentReferenceNode(f.h).insertBefore(m,referenceNode(f.h))}}}}if(i>u){addVnodes(e,n[v+1]==null?null:n[v+1].h,r,n,o,v)}else if(o>v){removeVnodes(t,i,u)}};var isSameVnode=function(e,t,r){if(r===void 0){r=false}if(e.m===t.m){if(e.m==="slot"){return e.v===t.v}if(!r){return e.u===t.u}return true}return false};var referenceNode=function(e){return e&&e["s-ol"]||e};var parentReferenceNode=function(e){return(e["s-ol"]?e["s-ol"]:e).parentNode};var patch=function(e,t,r){if(r===void 0){r=false}var n=t.h=e.h;var a=e.l;var i=t.l;var o=t.m;var l=t.i;var s;if(l===null){{isSvgMode=o==="svg"?true:o==="foreignObject"?false:isSvgMode}{if(o==="slot");else{updateElement(e,t,isSvgMode)}}if(a!==null&&i!==null){updateChildren(n,a,t,i,r)}else if(i!==null){if(e.i!==null){n.textContent=""}addVnodes(n,null,t,i,0,i.length-1)}else if(a!==null){removeVnodes(a,0,a.length-1)}if(isSvgMode&&o==="svg"){isSvgMode=false}}else if(s=n["s-cr"]){s.parentNode.textContent=l}else if(e.i!==l){n.data=l}};var updateFallbackSlotVisibility=function(e){var t=e.childNodes;for(var r=0,n=t;r<n.length;r++){var a=n[r];if(a.nodeType===1){if(a["s-sr"]){var i=a["s-sn"];a.hidden=false;for(var o=0,l=t;o<l.length;o++){var s=l[o];if(s!==a){if(s["s-hn"]!==a["s-hn"]||i!==""){if(s.nodeType===1&&(i===s.getAttribute("slot")||i===s["s-sn"])){a.hidden=true;break}}else{if(s.nodeType===1||s.nodeType===3&&s.textContent.trim()!==""){a.hidden=true;break}}}}}updateFallbackSlotVisibility(a)}}};var relocateNodes=[];var markSlotContentForRelocation=function(e){var t;var r;var n;for(var a=0,i=e.childNodes;a<i.length;a++){var o=i[a];if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){r=t.parentNode.childNodes;var l=o["s-sn"];var s=function(){t=r[n];if(!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==o["s-hn"]&&!BUILD.experimentalSlotFixes){if(isNodeLocatedInSlot(t,l)){var e=relocateNodes.find((function(e){return e.I===t}));checkSlotFallbackVisibility=true;t["s-sn"]=t["s-sn"]||l;if(e){e.I["s-sh"]=o["s-hn"];e.H=o}else{t["s-sh"]=o["s-hn"];relocateNodes.push({H:o,I:t})}if(t["s-sr"]){relocateNodes.map((function(r){if(isNodeLocatedInSlot(r.I,t["s-sn"])){e=relocateNodes.find((function(e){return e.I===t}));if(e&&!r.H){r.H=e.H}}}))}}else if(!relocateNodes.some((function(e){return e.I===t}))){relocateNodes.push({I:t})}}};for(n=r.length-1;n>=0;n--){s()}}if(o.nodeType===1){markSlotContentForRelocation(o)}}};var isNodeLocatedInSlot=function(e,t){if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};var nullifyVNodeRefs=function(e){{e.o&&e.o.ref&&e.o.ref(null);e.l&&e.l.map(nullifyVNodeRefs)}};var renderVdom=function(e,t,r){if(r===void 0){r=false}var n,a,i,o;var l=e.$hostElement$;var s=e.k;var u=e.S||newVNode(null,null);var f=isHost(t)?t:h(null,null,t);hostTagName=l.tagName;if(s.A){f.o=f.o||{};s.A.map((function(e){var t=e[0],r=e[1];return f.o[r]=l[t]}))}if(r&&f.o){for(var c=0,v=Object.keys(f.o);c<v.length;c++){var d=v[c];if(l.hasAttribute(d)&&!["key","ref","style","class"].includes(d)){f.o[d]=l[d]}}}f.m=null;f.p|=4;e.S=f;f.h=u.h=l.shadowRoot||l;{scopeId=l["s-sc"]}{contentRef=l["s-cr"];useNativeShadowDom=(s.p&1)!==0;checkSlotFallbackVisibility=false}patch(u,f,r);{plt.p|=1;if(checkSlotRelocate){markSlotContentForRelocation(f.h);for(var p=0,m=relocateNodes;p<m.length;p++){var y=m[p];var S=y.I;if(!S["s-ol"]){var g=doc.createTextNode("");g["s-nr"]=S;S.parentNode.insertBefore(S["s-ol"]=g,S)}}for(var T=0,C=relocateNodes;T<C.length;T++){var y=C[T];var S=y.I;var _=y.H;if(_){var b=_.parentNode;var E=_.nextSibling;{var g=(n=S["s-ol"])===null||n===void 0?void 0:n.previousSibling;while(g){var R=(a=g["s-nr"])!==null&&a!==void 0?a:null;if(R&&R["s-sn"]===S["s-sn"]&&b===R.parentNode){R=R.nextSibling;if(!R||!R["s-nr"]){E=R;break}}g=g.previousSibling}}if(!E&&b!==S.parentNode||S.nextSibling!==E){if(S!==E){if(!S["s-hn"]&&S["s-ol"]){S["s-hn"]=S["s-ol"].parentNode.nodeName}b.insertBefore(S,E);if(S.nodeType===1){S.hidden=(i=S["s-ih"])!==null&&i!==void 0?i:false}}}}else{if(S.nodeType===1){if(r){S["s-ih"]=(o=S.hidden)!==null&&o!==void 0?o:false}S.hidden=true}}}}if(checkSlotFallbackVisibility){updateFallbackSlotVisibility(f.h)}plt.p&=~1;relocateNodes.length=0}contentRef=undefined};var attachToAncestor=function(e,t){if(t&&!e.M&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.M=t})))}};var scheduleUpdate=function(e,t){{e.p|=16}if(e.p&4){e.p|=512;return}attachToAncestor(e,e.O);var r=function(){return dispatchHooks(e,t)};return writeTask(r)};var dispatchHooks=function(e,t){var r=createTime("scheduleUpdate",e.k.L);var n=e.V;var a;if(t){{e.p|=256;if(e.F){e.F.map((function(e){var t=e[0],r=e[1];return safeCall(n,t,r)}));e.F=undefined}}{a=safeCall(n,"componentWillLoad")}}{a=enqueue(a,(function(){return safeCall(n,"componentWillRender")}))}r();return enqueue(a,(function(){return updateComponent(e,n,t)}))};var enqueue=function(e,t){return isPromisey(e)?e.then(t):t()};var isPromisey=function(e){return e instanceof Promise||e&&e.then&&typeof e.then==="function"};var updateComponent=function(e,t,r){return __awaiter(void 0,void 0,void 0,(function(){var n,a,i,o,l,s,u;return __generator(this,(function(f){a=e.$hostElement$;i=createTime("update",e.k.L);o=a["s-rc"];if(r){attachStyles(e)}l=createTime("render",e.k.L);{callRender(e,t,a,r)}if(o){o.map((function(e){return e()}));a["s-rc"]=undefined}l();i();{s=(n=a["s-p"])!==null&&n!==void 0?n:[];u=function(){return postUpdateComponent(e)};if(s.length===0){u()}else{Promise.all(s).then(u);e.p|=4;s.length=0}}return[2]}))}))};var callRender=function(e,t,r,n){try{t=t.render&&t.render();{e.p&=~16}{e.p|=2}{{{renderVdom(e,t,n)}}}}catch(t){consoleError(t,e.$hostElement$)}return null};var postUpdateComponent=function(e){var t=e.k.L;var r=e.$hostElement$;var n=createTime("postUpdate",t);var a=e.V;var i=e.O;{safeCall(a,"componentDidRender")}if(!(e.p&64)){e.p|=64;{addHydratedFlag(r)}{safeCall(a,"componentDidLoad")}n();{e.P(r);if(!i){appDidLoad()}}}else{{safeCall(a,"componentDidUpdate")}n()}{e.U(r)}{if(e.M){e.M();e.M=undefined}if(e.p&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.p&=~(4|512)}};var forceUpdate=function(e){{var t=getHostRef(e);var r=t.$hostElement$.isConnected;if(r&&(t.p&(2|16))===2){scheduleUpdate(t,false)}return r}};var appDidLoad=function(e){{addHydratedFlag(doc.documentElement)}nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var safeCall=function(e,t,r){if(e&&e[t]){try{return e[t](r)}catch(e){consoleError(e)}}return undefined};var addHydratedFlag=function(e){return e.classList.add("hydrated")};var getValue=function(e,t){return getHostRef(e).q.get(t)};var setValue=function(e,t,r,n){var a=getHostRef(e);var i=a.$hostElement$;var o=a.q.get(t);var l=a.p;var s=a.V;r=parsePropertyValue(r,n.B[t][0]);var u=Number.isNaN(o)&&Number.isNaN(r);var f=r!==o&&!u;if((!(l&8)||o===undefined)&&f){a.q.set(t,r);if(s){if(n.Y&&l&128){var c=n.Y[t];if(c){c.map((function(e){try{s[e](r,o,t)}catch(e){consoleError(e,i)}}))}}if((l&(2|16))===2){scheduleUpdate(a,false)}}}};var proxyComponent=function(e,t,r){var n;var a=e.prototype;if(t.B){if(e.watchers){t.Y=e.watchers}var i=Object.entries(t.B);i.map((function(e){var n=e[0],i=e[1][0];if(i&31||r&2&&i&32){Object.defineProperty(a,n,{get:function(){return getValue(this,n)},set:function(e){setValue(this,n,e,t)},configurable:true,enumerable:true})}else if(r&1&&i&64){Object.defineProperty(a,n,{value:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var r;var a=getHostRef(this);return(r=a===null||a===void 0?void 0:a.j)===null||r===void 0?void 0:r.then((function(){var t;return(t=a.V)===null||t===void 0?void 0:t[n].apply(t,e)}))}})}}));if(r&1){var o=new Map;a.attributeChangedCallback=function(e,r,n){var i=this;plt.jmp((function(){var l;var s=o.get(e);if(i.hasOwnProperty(s)){n=i[s];delete i[s]}else if(a.hasOwnProperty(s)&&typeof i[s]==="number"&&i[s]==n){return}else if(s==null){var u=getHostRef(i);var f=u===null||u===void 0?void 0:u.p;if(f&&!(f&8)&&f&128&&n!==r){var c=u.V;var v=(l=t.Y)===null||l===void 0?void 0:l[e];v===null||v===void 0?void 0:v.forEach((function(t){if(c[t]!=null){c[t].call(c,n,r,e)}}))}return}i[s]=n===null&&typeof i[s]==="boolean"?false:n}))};e.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((n=t.Y)!==null&&n!==void 0?n:{}),true),i.filter((function(e){var t=e[0],r=e[1];return r[0]&15})).map((function(e){var r=e[0],n=e[1];var a;var i=n[1]||r;o.set(i,r);if(n[0]&512){(a=t.A)===null||a===void 0?void 0:a.push([r,i])}return i})),true)))}}return e};var initializeComponent=function(e,t,r,n){return __awaiter(void 0,void 0,void 0,(function(){var n,a,i,o,l,s,u,f;return __generator(this,(function(c){switch(c.label){case 0:if(!((t.p&32)===0))return[3,3];t.p|=32;n=loadModule(r);if(!n.then)return[3,2];a=uniqueTime();return[4,n];case 1:n=c.sent();a();c.label=2;case 2:if(!n.isProxied){{r.Y=n.watchers}proxyComponent(n,r,2);n.isProxied=true}i=createTime("createInstance",r.L);{t.p|=8}try{new n(t)}catch(e){consoleError(e)}{t.p&=~8}{t.p|=128}i();fireConnectedCallback(t.V);if(n.style){o=n.style;if(typeof o!=="string"){o=o[t.D=computeMode(e)]}l=getScopeId(r,t.D);if(!styles.has(l)){s=createTime("registerStyles",r.L);registerStyle(l,o,!!(r.p&1));s()}}c.label=3;case 3:u=t.O;f=function(){return scheduleUpdate(t,true)};if(u&&u["s-rc"]){u["s-rc"].push(f)}else{f()}return[2]}}))}))};var fireConnectedCallback=function(e){{safeCall(e,"connectedCallback")}};var connectedCallback=function(e){if((plt.p&1)===0){var t=getHostRef(e);var r=t.k;var n=createTime("connectedCallback",r.L);if(!(t.p&1)){t.p|=1;var a=void 0;{a=e.getAttribute(HYDRATE_ID);if(a){if(r.p&1){var i=addStyle(e.shadowRoot,r,e.getAttribute("s-mode"));e.classList.remove(i+"-h",i+"-s")}initializeClientHydrate(e,r.L,a,t)}}if(!a){if(r.p&(4|8)){setContentReference(e)}}{var o=e;while(o=o.parentNode||o.host){if(o.nodeType===1&&o.hasAttribute("s-id")&&o["s-p"]||o["s-p"]){attachToAncestor(t,t.O=o);break}}}if(r.B){Object.entries(r.B).map((function(t){var r=t[0],n=t[1][0];if(n&31&&e.hasOwnProperty(r)){var a=e[r];delete e[r];e[r]=a}}))}{initializeComponent(e,t,r)}}else{addHostEventListeners(e,t,r.W);if(t===null||t===void 0?void 0:t.V){fireConnectedCallback(t.V)}else if(t===null||t===void 0?void 0:t.X){t.X.then((function(){return fireConnectedCallback(t.V)}))}}n()}};var setContentReference=function(e){var t=e["s-cr"]=doc.createComment("");t["s-cn"]=true;e.insertBefore(t,e.firstChild)};var disconnectInstance=function(e){{safeCall(e,"disconnectedCallback")}};var disconnectedCallback=function(e){return __awaiter(void 0,void 0,void 0,(function(){var t;return __generator(this,(function(r){if((plt.p&1)===0){t=getHostRef(e);{if(t.G){t.G.map((function(e){return e()}));t.G=undefined}}if(t===null||t===void 0?void 0:t.V){disconnectInstance(t.V)}else if(t===null||t===void 0?void 0:t.X){t.X.then((function(){return disconnectInstance(t.V)}))}}return[2]}))}))};var bootstrapLazy=function(e,t){if(t===void 0){t={}}var r;var n=createTime();var a=[];var i=t.exclude||[];var o=win.customElements;var l=doc.head;var s=l.querySelector("meta[charset]");var u=doc.createElement("style");var f=[];var c=doc.querySelectorAll("[".concat(HYDRATED_STYLE_ID,"]"));var v;var d=true;var p=0;Object.assign(plt,t);plt.t=new URL(t.resourcesUrl||"./",doc.baseURI).href;{plt.p|=2}{for(;p<c.length;p++){registerStyle(c[p].getAttribute(HYDRATED_STYLE_ID),convertScopedToShadow(c[p].innerHTML),true)}}var m=false;e.map((function(e){e[1].map((function(t){var r;var n={p:t[0],L:t[1],B:t[2],W:t[3]};if(n.p&4){m=true}{n.B=t[2]}{n.W=t[3]}{n.A=[]}{n.Y=(r=t[4])!==null&&r!==void 0?r:{}}var l=n.L;var s=function(e){__extends(t,e);function t(t){var r=e.call(this,t)||this;t=r;registerHost(t,n);if(n.p&1){{{t.attachShadow({mode:"open",delegatesFocus:!!(n.p&16)})}}}return r}t.prototype.connectedCallback=function(){var e=this;if(v){clearTimeout(v);v=null}if(d){f.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}))};t.prototype.componentOnReady=function(){return getHostRef(this).X};return t}(HTMLElement);n.K=e[0];if(!i.includes(l)&&!o.get(l)){a.push(l);o.define(l,proxyComponent(s,n,1))}}))}));if(m){u.innerHTML+=SLOT_FB_CSS}{u.innerHTML+=a+HYDRATED_CSS}if(u.innerHTML.length){u.setAttribute("data-styles","");var h=(r=plt.N)!==null&&r!==void 0?r:queryNonceMetaTagContent(doc);if(h!=null){u.setAttribute("nonce",h)}l.insertBefore(u,s?s.nextSibling:l.firstChild)}d=false;if(f.length){f.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return v=setTimeout(appDidLoad,30)}))}}n()};var addHostEventListeners=function(e,t,r,n){if(r){r.map((function(r){var n=r[0],a=r[1],i=r[2];var o=getHostListenerTarget(e,n);var l=hostListenerProxy(t,i);var s=hostListenerOpts(n);plt.ael(o,a,l,s);(t.G=t.G||[]).push((function(){return plt.rel(o,a,l,s)}))}))}};var hostListenerProxy=function(e,t){return function(r){try{{if(e.p&256){e.V[t](r)}else{(e.F=e.F||[]).push([t,r])}}}catch(e){consoleError(e)}}};var getHostListenerTarget=function(e,t){if(t&4)return doc;if(t&8)return win;if(t&16)return doc.body;return e};var hostListenerOpts=function(e){return supportsListenerOptions?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0};var setNonce=function(e){return plt.N=e};var hostRefs=new WeakMap;var getHostRef=function(e){return hostRefs.get(e)};var registerInstance=function(e,t){return hostRefs.set(t.V=e,t)};var registerHost=function(e,t){var r={p:0,$hostElement$:e,k:t,q:new Map};{r.j=new Promise((function(e){return r.U=e}))}{r.X=new Promise((function(e){return r.P=e}));e["s-p"]=[];e["s-rc"]=[]}addHostEventListeners(e,r,t.W);return hostRefs.set(e,r)};var isMemberInElement=function(e,t){return t in e};var consoleError=function(e,t){return(0,console.error)(e,t)};var cmpModules=new Map;var loadModule=function(e,t,r){var n=e.L.replace(/-/g,"_");var a=e.K;var i=cmpModules.get(a);if(i){return i[n]}
|
|
4
|
+
*/var NAMESPACE="ionic";var BUILD={allRenderFn:false,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,cmpDidLoad:true,cmpDidRender:true,cmpDidUnload:false,cmpDidUpdate:true,cmpShouldUpdate:false,cmpWillLoad:true,cmpWillRender:true,cmpWillUpdate:false,connectedCallback:true,constructableCSS:true,cssAnnotations:true,devTools:false,disconnectedCallback:true,element:false,event:true,experimentalScopedSlotChanges:false,experimentalSlotFixes:false,formAssociated:false,hasRenderFn:true,hostListener:true,hostListenerTarget:true,hostListenerTargetBody:true,hostListenerTargetDocument:true,hostListenerTargetParent:false,hostListenerTargetWindow:true,hotModuleReplacement:false,hydrateClientSide:true,hydrateServerSide:false,hydratedAttribute:false,hydratedClass:true,initializeNextTick:false,invisiblePrehydration:true,isDebug:false,isDev:false,isTesting:false,lazyLoad:true,lifecycle:true,lifecycleDOMEvents:false,member:true,method:true,mode:true,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:true,propNumber:true,propString:true,reflect:true,scoped:true,scopedSlotTextContentFix:false,scriptDataOpts:false,shadowDelegatesFocus:true,shadowDom:true,slot:true,slotChildNodesFix:false,slotRelocation:true,state:true,style:true,svg:true,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:true,vdomKey:true,vdomListener:true,vdomPropOrAttr:true,vdomRef:true,vdomRender:true,vdomStyle:true,vdomText:true,vdomXlink:true,watchCallback:true};var scopeId;var contentRef;var hostTagName;var useNativeShadowDom=false;var checkSlotFallbackVisibility=false;var checkSlotRelocate=false;var isSvgMode=false;var queuePending=false;var Build={isDev:false,isBrowser:true,isServer:false,isTesting:false};var getAssetPath=function(e){var t=new URL(e,plt.t);return t.origin!==win.location.origin?t.href:t.pathname};var createTime=function(e,t){if(t===void 0){t=""}{return function(){return}}};var uniqueTime=function(e,t){{return function(){return}}};var CONTENT_REF_ID="r";var ORG_LOCATION_ID="o";var SLOT_NODE_ID="s";var TEXT_NODE_ID="t";var HYDRATE_ID="s-id";var HYDRATED_STYLE_ID="sty-id";var HYDRATE_CHILD_ID="c-id";var HYDRATED_CSS="{visibility:hidden}.hydrated{visibility:inherit}";var SLOT_FB_CSS="slot-fb{display:contents}slot-fb[hidden]{display:none}";var XLINK_NS="http://www.w3.org/1999/xlink";var EMPTY_OBJ={};var SVG_NS="http://www.w3.org/2000/svg";var HTML_NS="http://www.w3.org/1999/xhtml";var isDef=function(e){return e!=null};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};function queryNonceMetaTagContent(e){var t,r,n;return(n=(r=(t=e.head)===null||t===void 0?void 0:t.querySelector('meta[name="csp-nonce"]'))===null||r===void 0?void 0:r.getAttribute("content"))!==null&&n!==void 0?n:undefined}var h=function(e,t){var r=[];for(var n=2;n<arguments.length;n++){r[n-2]=arguments[n]}var a=null;var i=null;var o=null;var l=false;var s=false;var u=[];var f=function(t){for(var r=0;r<t.length;r++){a=t[r];if(Array.isArray(a)){f(a)}else if(a!=null&&typeof a!=="boolean"){if(l=typeof e!=="function"&&!isComplexType(a)){a=String(a)}if(l&&s){u[u.length-1].i+=a}else{u.push(l?newVNode(null,a):a)}s=l}}};f(r);if(t){if(t.key){i=t.key}if(t.name){o=t.name}{var c=t.className||t.class;if(c){t.class=typeof c!=="object"?c:Object.keys(c).filter((function(e){return c[e]})).join(" ")}}}if(typeof e==="function"){return e(t===null?{}:t,u,vdomFnUtils)}var v=newVNode(e,null);v.o=t;if(u.length>0){v.l=u}{v.u=i}{v.v=o}return v};var newVNode=function(e,t){var r={p:0,m:e,i:t,h:null,l:null};{r.o=null}{r.u=null}{r.v=null}return r};var Host={};var isHost=function(e){return e&&e.m===Host};var vdomFnUtils={forEach:function(e,t){return e.map(convertToPublic).forEach(t)},map:function(e,t){return e.map(convertToPublic).map(t).map(convertToPrivate)}};var convertToPublic=function(e){return{vattrs:e.o,vchildren:e.l,vkey:e.u,vname:e.v,vtag:e.m,vtext:e.i}};var convertToPrivate=function(e){if(typeof e.vtag==="function"){var t=Object.assign({},e.vattrs);if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return h.apply(void 0,__spreadArray([e.vtag,t],e.vchildren||[],false))}var r=newVNode(e.vtag,e.vtext);r.o=e.vattrs;r.l=e.vchildren;r.u=e.vkey;r.v=e.vname;return r};var initializeClientHydrate=function(e,t,r,n){var a=createTime("hydrateClient",t);var i=e.shadowRoot;var o=[];var l=[];var s=i?[]:null;var u=n.S=newVNode(t,null);if(!plt.T){initializeDocumentHydrate(doc.body,plt.T=new Map)}e[HYDRATE_ID]=r;e.removeAttribute(HYDRATE_ID);clientHydrate(u,o,l,s,e,e,r);o.map((function(e){var r=e.C+"."+e._;var n=plt.T.get(r);var a=e.h;if(n&&supportsShadow&&n["s-en"]===""){n.parentNode.insertBefore(a,n.nextSibling)}if(!i){a["s-hn"]=t;if(n){a["s-ol"]=n;a["s-ol"]["s-nr"]=a}}plt.T.delete(r)}));if(i){s.map((function(e){if(e){i.appendChild(e)}}))}a()};var clientHydrate=function(e,t,r,n,a,i,o){var l;var s;var u;var f;if(i.nodeType===1){l=i.getAttribute(HYDRATE_CHILD_ID);if(l){s=l.split(".");if(s[0]===o||s[0]==="0"){u={p:0,C:s[0],_:s[1],R:s[2],$:s[3],m:i.tagName.toLowerCase(),h:i,o:null,l:null,u:null,v:null,i:null};t.push(u);i.removeAttribute(HYDRATE_CHILD_ID);if(!e.l){e.l=[]}e.l[u.$]=u;e=u;if(n&&u.R==="0"){n[u.$]=u.h}}}for(f=i.childNodes.length-1;f>=0;f--){clientHydrate(e,t,r,n,a,i.childNodes[f],o)}if(i.shadowRoot){for(f=i.shadowRoot.childNodes.length-1;f>=0;f--){clientHydrate(e,t,r,n,a,i.shadowRoot.childNodes[f],o)}}}else if(i.nodeType===8){s=i.nodeValue.split(".");if(s[1]===o||s[1]==="0"){l=s[0];u={p:0,C:s[1],_:s[2],R:s[3],$:s[4],h:i,o:null,l:null,u:null,v:null,m:null,i:null};if(l===TEXT_NODE_ID){u.h=i.nextSibling;if(u.h&&u.h.nodeType===3){u.i=u.h.textContent;t.push(u);i.remove();if(!e.l){e.l=[]}e.l[u.$]=u;if(n&&u.R==="0"){n[u.$]=u.h}}}else if(u.C===o){if(l===SLOT_NODE_ID){u.m="slot";if(s[5]){i["s-sn"]=u.v=s[5]}else{i["s-sn"]=""}i["s-sr"]=true;if(n){u.h=doc.createElement(u.m);if(u.v){u.h.setAttribute("name",u.v)}i.parentNode.insertBefore(u.h,i);i.remove();if(u.R==="0"){n[u.$]=u.h}}r.push(u);if(!e.l){e.l=[]}e.l[u.$]=u}else if(l===CONTENT_REF_ID){if(n){i.remove()}else{a["s-cr"]=i;i["s-cn"]=true}}}}}else if(e&&e.m==="style"){var c=newVNode(null,i.textContent);c.h=i;c.$="0";e.l=[c]}};var initializeDocumentHydrate=function(e,t){if(e.nodeType===1){var r=0;for(;r<e.childNodes.length;r++){initializeDocumentHydrate(e.childNodes[r],t)}if(e.shadowRoot){for(r=0;r<e.shadowRoot.childNodes.length;r++){initializeDocumentHydrate(e.shadowRoot.childNodes[r],t)}}}else if(e.nodeType===8){var n=e.nodeValue.split(".");if(n[0]===ORG_LOCATION_ID){t.set(n[1]+"."+n[2],e);e.nodeValue="";e["s-en"]=n[3]}}};var computeMode=function(e){return modeResolutionChain.map((function(t){return t(e)})).find((function(e){return!!e}))};var setMode=function(e){return modeResolutionChain.push(e)};var getMode=function(e){return getHostRef(e).D};var parsePropertyValue=function(e,t){if(e!=null&&!isComplexType(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var getElement=function(e){return getHostRef(e).$hostElement$};var createEvent=function(e,t,r){var n=getElement(e);return{emit:function(e){return emitEvent(n,t,{bubbles:!!(r&4),composed:!!(r&2),cancelable:!!(r&1),detail:e})}}};var emitEvent=function(e,t,r){var n=plt.ce(t,r);e.dispatchEvent(n);return n};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,t,r){var n=styles.get(e);if(supportsConstructableStylesheets&&r){n=n||new CSSStyleSheet;if(typeof n==="string"){n=t}else{n.replaceSync(t)}}else{n=t}styles.set(e,n)};var addStyle=function(e,t,r){var n;var a=getScopeId(t,r);var i=styles.get(a);e=e.nodeType===11?e:doc;if(i){if(typeof i==="string"){e=e.head||e;var o=rootAppliedStyles.get(e);var l=void 0;if(!o){rootAppliedStyles.set(e,o=new Set)}if(!o.has(a)){if(e.host&&(l=e.querySelector("[".concat(HYDRATED_STYLE_ID,'="').concat(a,'"]')))){l.innerHTML=i}else{l=doc.createElement("style");l.innerHTML=i;var s=(n=plt.N)!==null&&n!==void 0?n:queryNonceMetaTagContent(doc);if(s!=null){l.setAttribute("nonce",s)}e.insertBefore(l,e.querySelector("link"))}if(t.p&4){l.innerHTML+=SLOT_FB_CSS}if(o){o.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[i],false)}}return a};var attachStyles=function(e){var t=e.k;var r=e.$hostElement$;var n=t.p;var a=createTime("attachStyles",t.L);var i=addStyle(r.shadowRoot?r.shadowRoot:r.getRootNode(),t,e.D);if(n&10){r["s-sc"]=i;r.classList.add(i+"-h");if(n&2){r.classList.add(i+"-s")}}a()};var getScopeId=function(e,t){return"sc-"+(t&&e.p&32?e.L+"-"+t:e.L)};var convertScopedToShadow=function(e){return e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{")};var setAccessor=function(e,t,r,n,a,i){if(r!==n){var o=isMemberInElement(e,t);var l=t.toLowerCase();if(t==="class"){var s=e.classList;var u=parseClassList(r);var f=parseClassList(n);s.remove.apply(s,u.filter((function(e){return e&&!f.includes(e)})));s.add.apply(s,f.filter((function(e){return e&&!u.includes(e)})))}else if(t==="style"){{for(var c in r){if(!n||n[c]==null){if(c.includes("-")){e.style.removeProperty(c)}else{e.style[c]=""}}}}for(var c in n){if(!r||n[c]!==r[c]){if(c.includes("-")){e.style.setProperty(c,n[c])}else{e.style[c]=n[c]}}}}else if(t==="key");else if(t==="ref"){if(n){n(e)}}else if(!o&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(isMemberInElement(win,l)){t=l.slice(2)}else{t=l[2]+t.slice(3)}if(r||n){var v=t.endsWith(CAPTURE_EVENT_SUFFIX);t=t.replace(CAPTURE_EVENT_REGEX,"");if(r){plt.rel(e,t,r,v)}if(n){plt.ael(e,t,n,v)}}}else{var d=isComplexType(n);if((o||d&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var p=n==null?"":n;if(t==="list"){o=false}else if(r==null||e[t]!=p){e[t]=p}}else{e[t]=n}}catch(e){}}var m=false;{if(l!==(l=l.replace(/^xlink\:?/,""))){t=l;m=true}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){if(m){e.removeAttributeNS(XLINK_NS,t)}else{e.removeAttribute(t)}}}else if((!o||i&4||a)&&!d){n=n===true?"":n;if(m){e.setAttributeNS(XLINK_NS,t,n)}else{e.setAttribute(t,n)}}}}};var parseClassListRegex=/\s/;var parseClassList=function(e){return!e?[]:e.split(parseClassListRegex)};var CAPTURE_EVENT_SUFFIX="Capture";var CAPTURE_EVENT_REGEX=new RegExp(CAPTURE_EVENT_SUFFIX+"$");var updateElement=function(e,t,r,n){var a=t.h.nodeType===11&&t.h.host?t.h.host:t.h;var i=e&&e.o||EMPTY_OBJ;var o=t.o||EMPTY_OBJ;{for(n in i){if(!(n in o)){setAccessor(a,n,i[n],undefined,r,t.p)}}}for(n in o){setAccessor(a,n,i[n],o[n],r,t.p)}};var createElm=function(e,t,r,n){var a=t.l[r];var i=0;var o;var l;var s;if(!useNativeShadowDom){checkSlotRelocate=true;if(a.m==="slot"){if(scopeId){n.classList.add(scopeId+"-s")}a.p|=a.l?2:1}}if(a.i!==null){o=a.h=doc.createTextNode(a.i)}else if(a.p&1){o=a.h=doc.createTextNode("")}else{if(!isSvgMode){isSvgMode=a.m==="svg"}o=a.h=doc.createElementNS(isSvgMode?SVG_NS:HTML_NS,a.p&2?"slot-fb":a.m);if(isSvgMode&&a.m==="foreignObject"){isSvgMode=false}{updateElement(null,a,isSvgMode)}if(isDef(scopeId)&&o["s-si"]!==scopeId){o.classList.add(o["s-si"]=scopeId)}if(a.l){for(i=0;i<a.l.length;++i){l=createElm(e,a,i,o);if(l){o.appendChild(l)}}}{if(a.m==="svg"){isSvgMode=false}else if(o.tagName==="foreignObject"){isSvgMode=true}}}o["s-hn"]=hostTagName;{if(a.p&(2|1)){o["s-sr"]=true;o["s-cr"]=contentRef;o["s-sn"]=a.v||"";s=e&&e.l&&e.l[r];if(s&&s.m===a.m&&e.h){{putBackInOriginalLocation(e.h,false)}}}}return o};var putBackInOriginalLocation=function(e,t){plt.p|=1;var r=e.childNodes;for(var n=r.length-1;n>=0;n--){var a=r[n];if(a["s-hn"]!==hostTagName&&a["s-ol"]){parentReferenceNode(a).insertBefore(a,referenceNode(a));a["s-ol"].remove();a["s-ol"]=undefined;a["s-sh"]=undefined;checkSlotRelocate=true}if(t){putBackInOriginalLocation(a,t)}}plt.p&=~1};var addVnodes=function(e,t,r,n,a,i){var o=e["s-cr"]&&e["s-cr"].parentNode||e;var l;if(o.shadowRoot&&o.tagName===hostTagName){o=o.shadowRoot}for(;a<=i;++a){if(n[a]){l=createElm(null,r,a,e);if(l){n[a].h=l;o.insertBefore(l,referenceNode(t))}}}};var removeVnodes=function(e,t,r){for(var n=t;n<=r;++n){var a=e[n];if(a){var i=a.h;nullifyVNodeRefs(a);if(i){{checkSlotFallbackVisibility=true;if(i["s-ol"]){i["s-ol"].remove()}else{putBackInOriginalLocation(i,true)}}i.remove()}}}};var updateChildren=function(e,t,r,n,a){if(a===void 0){a=false}var i=0;var o=0;var l=0;var s=0;var u=t.length-1;var f=t[0];var c=t[u];var v=n.length-1;var d=n[0];var p=n[v];var m;var h;while(i<=u&&o<=v){if(f==null){f=t[++i]}else if(c==null){c=t[--u]}else if(d==null){d=n[++o]}else if(p==null){p=n[--v]}else if(isSameVnode(f,d,a)){patch(f,d,a);f=t[++i];d=n[++o]}else if(isSameVnode(c,p,a)){patch(c,p,a);c=t[--u];p=n[--v]}else if(isSameVnode(f,p,a)){if(f.m==="slot"||p.m==="slot"){putBackInOriginalLocation(f.h.parentNode,false)}patch(f,p,a);e.insertBefore(f.h,c.h.nextSibling);f=t[++i];p=n[--v]}else if(isSameVnode(c,d,a)){if(f.m==="slot"||p.m==="slot"){putBackInOriginalLocation(c.h.parentNode,false)}patch(c,d,a);e.insertBefore(c.h,f.h);c=t[--u];d=n[++o]}else{l=-1;{for(s=i;s<=u;++s){if(t[s]&&t[s].u!==null&&t[s].u===d.u){l=s;break}}}if(l>=0){h=t[l];if(h.m!==d.m){m=createElm(t&&t[o],r,l,e)}else{patch(h,d,a);t[l]=undefined;m=h.h}d=n[++o]}else{m=createElm(t&&t[o],r,o,e);d=n[++o]}if(m){{parentReferenceNode(f.h).insertBefore(m,referenceNode(f.h))}}}}if(i>u){addVnodes(e,n[v+1]==null?null:n[v+1].h,r,n,o,v)}else if(o>v){removeVnodes(t,i,u)}};var isSameVnode=function(e,t,r){if(r===void 0){r=false}if(e.m===t.m){if(e.m==="slot"){return e.v===t.v}if(!r){return e.u===t.u}return true}return false};var referenceNode=function(e){return e&&e["s-ol"]||e};var parentReferenceNode=function(e){return(e["s-ol"]?e["s-ol"]:e).parentNode};var patch=function(e,t,r){if(r===void 0){r=false}var n=t.h=e.h;var a=e.l;var i=t.l;var o=t.m;var l=t.i;var s;if(l===null){{isSvgMode=o==="svg"?true:o==="foreignObject"?false:isSvgMode}{if(o==="slot"&&!useNativeShadowDom);else{updateElement(e,t,isSvgMode)}}if(a!==null&&i!==null){updateChildren(n,a,t,i,r)}else if(i!==null){if(e.i!==null){n.textContent=""}addVnodes(n,null,t,i,0,i.length-1)}else if(a!==null){removeVnodes(a,0,a.length-1)}if(isSvgMode&&o==="svg"){isSvgMode=false}}else if(s=n["s-cr"]){s.parentNode.textContent=l}else if(e.i!==l){n.data=l}};var updateFallbackSlotVisibility=function(e){var t=e.childNodes;for(var r=0,n=t;r<n.length;r++){var a=n[r];if(a.nodeType===1){if(a["s-sr"]){var i=a["s-sn"];a.hidden=false;for(var o=0,l=t;o<l.length;o++){var s=l[o];if(s!==a){if(s["s-hn"]!==a["s-hn"]||i!==""){if(s.nodeType===1&&(i===s.getAttribute("slot")||i===s["s-sn"])){a.hidden=true;break}}else{if(s.nodeType===1||s.nodeType===3&&s.textContent.trim()!==""){a.hidden=true;break}}}}}updateFallbackSlotVisibility(a)}}};var relocateNodes=[];var markSlotContentForRelocation=function(e){var t;var r;var n;for(var a=0,i=e.childNodes;a<i.length;a++){var o=i[a];if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){r=t.parentNode.childNodes;var l=o["s-sn"];var s=function(){t=r[n];if(!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==o["s-hn"]&&!BUILD.experimentalSlotFixes){if(isNodeLocatedInSlot(t,l)){var e=relocateNodes.find((function(e){return e.I===t}));checkSlotFallbackVisibility=true;t["s-sn"]=t["s-sn"]||l;if(e){e.I["s-sh"]=o["s-hn"];e.H=o}else{t["s-sh"]=o["s-hn"];relocateNodes.push({H:o,I:t})}if(t["s-sr"]){relocateNodes.map((function(r){if(isNodeLocatedInSlot(r.I,t["s-sn"])){e=relocateNodes.find((function(e){return e.I===t}));if(e&&!r.H){r.H=e.H}}}))}}else if(!relocateNodes.some((function(e){return e.I===t}))){relocateNodes.push({I:t})}}};for(n=r.length-1;n>=0;n--){s()}}if(o.nodeType===1){markSlotContentForRelocation(o)}}};var isNodeLocatedInSlot=function(e,t){if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};var nullifyVNodeRefs=function(e){{e.o&&e.o.ref&&e.o.ref(null);e.l&&e.l.map(nullifyVNodeRefs)}};var renderVdom=function(e,t,r){if(r===void 0){r=false}var n,a,i,o;var l=e.$hostElement$;var s=e.k;var u=e.S||newVNode(null,null);var f=isHost(t)?t:h(null,null,t);hostTagName=l.tagName;if(s.A){f.o=f.o||{};s.A.map((function(e){var t=e[0],r=e[1];return f.o[r]=l[t]}))}if(r&&f.o){for(var c=0,v=Object.keys(f.o);c<v.length;c++){var d=v[c];if(l.hasAttribute(d)&&!["key","ref","style","class"].includes(d)){f.o[d]=l[d]}}}f.m=null;f.p|=4;e.S=f;f.h=u.h=l.shadowRoot||l;{scopeId=l["s-sc"]}useNativeShadowDom=(s.p&1)!==0;{contentRef=l["s-cr"];checkSlotFallbackVisibility=false}patch(u,f,r);{plt.p|=1;if(checkSlotRelocate){markSlotContentForRelocation(f.h);for(var p=0,m=relocateNodes;p<m.length;p++){var y=m[p];var S=y.I;if(!S["s-ol"]){var g=doc.createTextNode("");g["s-nr"]=S;S.parentNode.insertBefore(S["s-ol"]=g,S)}}for(var T=0,C=relocateNodes;T<C.length;T++){var y=C[T];var S=y.I;var _=y.H;if(_){var b=_.parentNode;var E=_.nextSibling;{var g=(n=S["s-ol"])===null||n===void 0?void 0:n.previousSibling;while(g){var R=(a=g["s-nr"])!==null&&a!==void 0?a:null;if(R&&R["s-sn"]===S["s-sn"]&&b===R.parentNode){R=R.nextSibling;if(!R||!R["s-nr"]){E=R;break}}g=g.previousSibling}}if(!E&&b!==S.parentNode||S.nextSibling!==E){if(S!==E){if(!S["s-hn"]&&S["s-ol"]){S["s-hn"]=S["s-ol"].parentNode.nodeName}b.insertBefore(S,E);if(S.nodeType===1){S.hidden=(i=S["s-ih"])!==null&&i!==void 0?i:false}}}}else{if(S.nodeType===1){if(r){S["s-ih"]=(o=S.hidden)!==null&&o!==void 0?o:false}S.hidden=true}}}}if(checkSlotFallbackVisibility){updateFallbackSlotVisibility(f.h)}plt.p&=~1;relocateNodes.length=0}contentRef=undefined};var attachToAncestor=function(e,t){if(t&&!e.M&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.M=t})))}};var scheduleUpdate=function(e,t){{e.p|=16}if(e.p&4){e.p|=512;return}attachToAncestor(e,e.O);var r=function(){return dispatchHooks(e,t)};return writeTask(r)};var dispatchHooks=function(e,t){var r=createTime("scheduleUpdate",e.k.L);var n=e.V;var a;if(t){{e.p|=256;if(e.F){e.F.map((function(e){var t=e[0],r=e[1];return safeCall(n,t,r)}));e.F=undefined}}{a=safeCall(n,"componentWillLoad")}}{a=enqueue(a,(function(){return safeCall(n,"componentWillRender")}))}r();return enqueue(a,(function(){return updateComponent(e,n,t)}))};var enqueue=function(e,t){return isPromisey(e)?e.then(t):t()};var isPromisey=function(e){return e instanceof Promise||e&&e.then&&typeof e.then==="function"};var updateComponent=function(e,t,r){return __awaiter(void 0,void 0,void 0,(function(){var n,a,i,o,l,s,u;return __generator(this,(function(f){a=e.$hostElement$;i=createTime("update",e.k.L);o=a["s-rc"];if(r){attachStyles(e)}l=createTime("render",e.k.L);{callRender(e,t,a,r)}if(o){o.map((function(e){return e()}));a["s-rc"]=undefined}l();i();{s=(n=a["s-p"])!==null&&n!==void 0?n:[];u=function(){return postUpdateComponent(e)};if(s.length===0){u()}else{Promise.all(s).then(u);e.p|=4;s.length=0}}return[2]}))}))};var callRender=function(e,t,r,n){try{t=t.render&&t.render();{e.p&=~16}{e.p|=2}{{{renderVdom(e,t,n)}}}}catch(t){consoleError(t,e.$hostElement$)}return null};var postUpdateComponent=function(e){var t=e.k.L;var r=e.$hostElement$;var n=createTime("postUpdate",t);var a=e.V;var i=e.O;{safeCall(a,"componentDidRender")}if(!(e.p&64)){e.p|=64;{addHydratedFlag(r)}{safeCall(a,"componentDidLoad")}n();{e.P(r);if(!i){appDidLoad()}}}else{{safeCall(a,"componentDidUpdate")}n()}{e.U(r)}{if(e.M){e.M();e.M=undefined}if(e.p&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.p&=~(4|512)}};var forceUpdate=function(e){{var t=getHostRef(e);var r=t.$hostElement$.isConnected;if(r&&(t.p&(2|16))===2){scheduleUpdate(t,false)}return r}};var appDidLoad=function(e){{addHydratedFlag(doc.documentElement)}nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var safeCall=function(e,t,r){if(e&&e[t]){try{return e[t](r)}catch(e){consoleError(e)}}return undefined};var addHydratedFlag=function(e){return e.classList.add("hydrated")};var getValue=function(e,t){return getHostRef(e).q.get(t)};var setValue=function(e,t,r,n){var a=getHostRef(e);var i=a.$hostElement$;var o=a.q.get(t);var l=a.p;var s=a.V;r=parsePropertyValue(r,n.B[t][0]);var u=Number.isNaN(o)&&Number.isNaN(r);var f=r!==o&&!u;if((!(l&8)||o===undefined)&&f){a.q.set(t,r);if(s){if(n.Y&&l&128){var c=n.Y[t];if(c){c.map((function(e){try{s[e](r,o,t)}catch(e){consoleError(e,i)}}))}}if((l&(2|16))===2){scheduleUpdate(a,false)}}}};var proxyComponent=function(e,t,r){var n;var a=e.prototype;if(t.B){if(e.watchers){t.Y=e.watchers}var i=Object.entries(t.B);i.map((function(e){var n=e[0],i=e[1][0];if(i&31||r&2&&i&32){Object.defineProperty(a,n,{get:function(){return getValue(this,n)},set:function(e){setValue(this,n,e,t)},configurable:true,enumerable:true})}else if(r&1&&i&64){Object.defineProperty(a,n,{value:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var r;var a=getHostRef(this);return(r=a===null||a===void 0?void 0:a.j)===null||r===void 0?void 0:r.then((function(){var t;return(t=a.V)===null||t===void 0?void 0:t[n].apply(t,e)}))}})}}));if(r&1){var o=new Map;a.attributeChangedCallback=function(e,r,n){var i=this;plt.jmp((function(){var l;var s=o.get(e);if(i.hasOwnProperty(s)){n=i[s];delete i[s]}else if(a.hasOwnProperty(s)&&typeof i[s]==="number"&&i[s]==n){return}else if(s==null){var u=getHostRef(i);var f=u===null||u===void 0?void 0:u.p;if(f&&!(f&8)&&f&128&&n!==r){var c=u.V;var v=(l=t.Y)===null||l===void 0?void 0:l[e];v===null||v===void 0?void 0:v.forEach((function(t){if(c[t]!=null){c[t].call(c,n,r,e)}}))}return}i[s]=n===null&&typeof i[s]==="boolean"?false:n}))};e.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((n=t.Y)!==null&&n!==void 0?n:{}),true),i.filter((function(e){var t=e[0],r=e[1];return r[0]&15})).map((function(e){var r=e[0],n=e[1];var a;var i=n[1]||r;o.set(i,r);if(n[0]&512){(a=t.A)===null||a===void 0?void 0:a.push([r,i])}return i})),true)))}}return e};var initializeComponent=function(e,t,r,n){return __awaiter(void 0,void 0,void 0,(function(){var n,a,i,o,l,s,u,f;return __generator(this,(function(c){switch(c.label){case 0:if(!((t.p&32)===0))return[3,3];t.p|=32;n=loadModule(r);if(!n.then)return[3,2];a=uniqueTime();return[4,n];case 1:n=c.sent();a();c.label=2;case 2:if(!n.isProxied){{r.Y=n.watchers}proxyComponent(n,r,2);n.isProxied=true}i=createTime("createInstance",r.L);{t.p|=8}try{new n(t)}catch(e){consoleError(e)}{t.p&=~8}{t.p|=128}i();fireConnectedCallback(t.V);if(n.style){o=n.style;if(typeof o!=="string"){o=o[t.D=computeMode(e)]}l=getScopeId(r,t.D);if(!styles.has(l)){s=createTime("registerStyles",r.L);registerStyle(l,o,!!(r.p&1));s()}}c.label=3;case 3:u=t.O;f=function(){return scheduleUpdate(t,true)};if(u&&u["s-rc"]){u["s-rc"].push(f)}else{f()}return[2]}}))}))};var fireConnectedCallback=function(e){{safeCall(e,"connectedCallback")}};var connectedCallback=function(e){if((plt.p&1)===0){var t=getHostRef(e);var r=t.k;var n=createTime("connectedCallback",r.L);if(!(t.p&1)){t.p|=1;var a=void 0;{a=e.getAttribute(HYDRATE_ID);if(a){if(r.p&1){var i=addStyle(e.shadowRoot,r,e.getAttribute("s-mode"));e.classList.remove(i+"-h",i+"-s")}initializeClientHydrate(e,r.L,a,t)}}if(!a){if(r.p&(4|8)){setContentReference(e)}}{var o=e;while(o=o.parentNode||o.host){if(o.nodeType===1&&o.hasAttribute("s-id")&&o["s-p"]||o["s-p"]){attachToAncestor(t,t.O=o);break}}}if(r.B){Object.entries(r.B).map((function(t){var r=t[0],n=t[1][0];if(n&31&&e.hasOwnProperty(r)){var a=e[r];delete e[r];e[r]=a}}))}{initializeComponent(e,t,r)}}else{addHostEventListeners(e,t,r.W);if(t===null||t===void 0?void 0:t.V){fireConnectedCallback(t.V)}else if(t===null||t===void 0?void 0:t.X){t.X.then((function(){return fireConnectedCallback(t.V)}))}}n()}};var setContentReference=function(e){var t=e["s-cr"]=doc.createComment("");t["s-cn"]=true;e.insertBefore(t,e.firstChild)};var disconnectInstance=function(e){{safeCall(e,"disconnectedCallback")}};var disconnectedCallback=function(e){return __awaiter(void 0,void 0,void 0,(function(){var t;return __generator(this,(function(r){if((plt.p&1)===0){t=getHostRef(e);{if(t.G){t.G.map((function(e){return e()}));t.G=undefined}}if(t===null||t===void 0?void 0:t.V){disconnectInstance(t.V)}else if(t===null||t===void 0?void 0:t.X){t.X.then((function(){return disconnectInstance(t.V)}))}}return[2]}))}))};var bootstrapLazy=function(e,t){if(t===void 0){t={}}var r;var n=createTime();var a=[];var i=t.exclude||[];var o=win.customElements;var l=doc.head;var s=l.querySelector("meta[charset]");var u=doc.createElement("style");var f=[];var c=doc.querySelectorAll("[".concat(HYDRATED_STYLE_ID,"]"));var v;var d=true;var p=0;Object.assign(plt,t);plt.t=new URL(t.resourcesUrl||"./",doc.baseURI).href;{plt.p|=2}{for(;p<c.length;p++){registerStyle(c[p].getAttribute(HYDRATED_STYLE_ID),convertScopedToShadow(c[p].innerHTML),true)}}var m=false;e.map((function(e){e[1].map((function(t){var r;var n={p:t[0],L:t[1],B:t[2],W:t[3]};if(n.p&4){m=true}{n.B=t[2]}{n.W=t[3]}{n.A=[]}{n.Y=(r=t[4])!==null&&r!==void 0?r:{}}var l=n.L;var s=function(e){__extends(t,e);function t(t){var r=e.call(this,t)||this;t=r;registerHost(t,n);if(n.p&1){{{t.attachShadow({mode:"open",delegatesFocus:!!(n.p&16)})}}}return r}t.prototype.connectedCallback=function(){var e=this;if(v){clearTimeout(v);v=null}if(d){f.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}))};t.prototype.componentOnReady=function(){return getHostRef(this).X};return t}(HTMLElement);n.K=e[0];if(!i.includes(l)&&!o.get(l)){a.push(l);o.define(l,proxyComponent(s,n,1))}}))}));if(a.length>0){if(m){u.innerHTML+=SLOT_FB_CSS}{u.innerHTML+=a+HYDRATED_CSS}if(u.innerHTML.length){u.setAttribute("data-styles","");var h=(r=plt.N)!==null&&r!==void 0?r:queryNonceMetaTagContent(doc);if(h!=null){u.setAttribute("nonce",h)}l.insertBefore(u,s?s.nextSibling:l.firstChild)}}d=false;if(f.length){f.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return v=setTimeout(appDidLoad,30)}))}}n()};var addHostEventListeners=function(e,t,r,n){if(r){r.map((function(r){var n=r[0],a=r[1],i=r[2];var o=getHostListenerTarget(e,n);var l=hostListenerProxy(t,i);var s=hostListenerOpts(n);plt.ael(o,a,l,s);(t.G=t.G||[]).push((function(){return plt.rel(o,a,l,s)}))}))}};var hostListenerProxy=function(e,t){return function(r){try{{if(e.p&256){e.V[t](r)}else{(e.F=e.F||[]).push([t,r])}}}catch(e){consoleError(e)}}};var getHostListenerTarget=function(e,t){if(t&4)return doc;if(t&8)return win;if(t&16)return doc.body;return e};var hostListenerOpts=function(e){return supportsListenerOptions?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0};var setNonce=function(e){return plt.N=e};var hostRefs=new WeakMap;var getHostRef=function(e){return hostRefs.get(e)};var registerInstance=function(e,t){return hostRefs.set(t.V=e,t)};var registerHost=function(e,t){var r={p:0,$hostElement$:e,k:t,q:new Map};{r.j=new Promise((function(e){return r.U=e}))}{r.X=new Promise((function(e){return r.P=e}));e["s-p"]=[];e["s-rc"]=[]}addHostEventListeners(e,r,t.W);return hostRefs.set(e,r)};var isMemberInElement=function(e,t){return t in e};var consoleError=function(e,t){return(0,console.error)(e,t)};var cmpModules=new Map;var loadModule=function(e,t,r){var n=e.L.replace(/-/g,"_");var a=e.K;var i=cmpModules.get(a);if(i){return i[n]}
|
|
5
5
|
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import("./".concat(a,".entry.js").concat("")).then((function(e){{cmpModules.set(a,e)}return e[n]}),consoleError)};var styles=new Map;var modeResolutionChain=[];var win=typeof window!=="undefined"?window:{};var doc=win.document||{head:{}};var plt={p:0,t:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,r,n){return e.addEventListener(t,r,n)},rel:function(e,t,r,n){return e.removeEventListener(t,r,n)},ce:function(e,t){return new CustomEvent(e,t)}};var setPlatformHelpers=function(e){Object.assign(plt,e)};var supportsShadow=true;var supportsListenerOptions=function(){var e=false;try{doc.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){e=true}}))}catch(e){}return e}();var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructableStylesheets=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,t){return function(r){e.push(r);if(!queuePending){queuePending=true;if(t&&plt.p&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){consoleError(e)}}e.length=0};var flush=function(){consume(queueDomReads);{consume(queueDomWrites);if(queuePending=queueDomReads.length>0){plt.raf(flush)}}};var nextTick=function(e){return promiseResolve().then(e)};var readTask=queueTask(queueDomReads,false);var writeTask=queueTask(queueDomWrites,true);export{Build as B,Host as H,setPlatformHelpers as a,bootstrapLazy as b,setMode as c,createEvent as d,readTask as e,getElement as f,getMode as g,h,forceUpdate as i,getAssetPath as j,promiseResolve as p,registerInstance as r,setNonce as s,writeTask as w};
|