@ionic/core 7.5.3-dev.11698411574.1c60b825 → 7.5.3-dev.11698434629.14c8f4e2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{app-globals-4f5ed8eb.js → app-globals-fe1ad535.js} +1 -1
- package/dist/cjs/{button-active-d10303b7.js → button-active-c0ff1915.js} +1 -1
- package/dist/cjs/{index-20dc1b81.js → index-174dc666.js} +3 -3
- package/dist/cjs/{index-5a197a0f.js → index-305a23dc.js} +5 -21
- package/dist/cjs/{index-c4d69ef7.js → index-5a2463aa.js} +1 -1
- package/dist/cjs/index.cjs.js +7 -7
- package/dist/cjs/ion-accordion_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-action-sheet.cjs.entry.js +4 -4
- package/dist/cjs/ion-alert.cjs.entry.js +4 -4
- package/dist/cjs/ion-app_8.cjs.entry.js +4 -4
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-back-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-button_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-card_5.cjs.entry.js +2 -2
- package/dist/cjs/ion-checkbox.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/ion-datetime_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-fab_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-img.cjs.entry.js +2 -2
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-input.cjs.entry.js +2 -2
- package/dist/cjs/ion-item-option_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-item_8.cjs.entry.js +2 -2
- package/dist/cjs/ion-loading.cjs.entry.js +3 -3
- package/dist/cjs/ion-menu_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-modal.cjs.entry.js +4 -4
- package/dist/cjs/ion-nav_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker-column-internal.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-internal.cjs.entry.js +1 -1
- package/dist/cjs/ion-popover.cjs.entry.js +4 -4
- package/dist/cjs/ion-progress-bar.cjs.entry.js +2 -2
- package/dist/cjs/ion-radio_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-range.cjs.entry.js +2 -2
- package/dist/cjs/ion-refresher_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
- package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-select_3.cjs.entry.js +3 -3
- 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 +2 -2
- package/dist/cjs/ion-tab_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
- package/dist/cjs/ion-toast.cjs.entry.js +3 -3
- package/dist/cjs/ion-toggle.cjs.entry.js +2 -2
- package/dist/cjs/{ionic-global-781e63f9.js → ionic-global-fb752503.js} +1 -1
- package/dist/cjs/ionic.cjs.js +4 -4
- package/dist/cjs/{ios.transition-9f16745a.js → ios.transition-74ad019b.js} +2 -2
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{md.transition-faf90121.js → md.transition-efcc0ad3.js} +2 -2
- package/dist/cjs/{overlays-cb7bc642.js → overlays-1a734051.js} +1 -1
- package/dist/cjs/{status-tap-07f1f743.js → status-tap-b19eb3c8.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/docs.json +2 -2
- package/dist/esm/{app-globals-9a5ce61d.js → app-globals-ec816a70.js} +1 -1
- package/dist/esm/{button-active-a3a0d0a2.js → button-active-d926d4f4.js} +1 -1
- package/dist/esm/{index-e89bed48.js → index-aae132ba.js} +1 -1
- package/dist/esm/{index-944910da.js → index-b49b173c.js} +5 -21
- package/dist/esm/{index-6c73dc54.js → index-ec72506a.js} +3 -3
- package/dist/esm/index.js +7 -7
- package/dist/esm/ion-accordion_2.entry.js +2 -2
- package/dist/esm/ion-action-sheet.entry.js +4 -4
- package/dist/esm/ion-alert.entry.js +4 -4
- package/dist/esm/ion-app_8.entry.js +4 -4
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-back-button.entry.js +2 -2
- package/dist/esm/ion-backdrop.entry.js +2 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +2 -2
- package/dist/esm/ion-button_2.entry.js +2 -2
- package/dist/esm/ion-card_5.entry.js +2 -2
- package/dist/esm/ion-checkbox.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/ion-datetime_3.entry.js +3 -3
- package/dist/esm/ion-fab_3.entry.js +2 -2
- package/dist/esm/ion-img.entry.js +2 -2
- package/dist/esm/ion-infinite-scroll_2.entry.js +2 -2
- package/dist/esm/ion-input.entry.js +2 -2
- package/dist/esm/ion-item-option_3.entry.js +2 -2
- package/dist/esm/ion-item_8.entry.js +2 -2
- package/dist/esm/ion-loading.entry.js +3 -3
- package/dist/esm/ion-menu_3.entry.js +4 -4
- package/dist/esm/ion-modal.entry.js +4 -4
- package/dist/esm/ion-nav_2.entry.js +3 -3
- package/dist/esm/ion-picker-column-internal.entry.js +2 -2
- package/dist/esm/ion-picker-internal.entry.js +1 -1
- package/dist/esm/ion-popover.entry.js +4 -4
- package/dist/esm/ion-progress-bar.entry.js +2 -2
- package/dist/esm/ion-radio_2.entry.js +2 -2
- package/dist/esm/ion-range.entry.js +2 -2
- package/dist/esm/ion-refresher_2.entry.js +2 -2
- package/dist/esm/ion-reorder_2.entry.js +2 -2
- package/dist/esm/ion-ripple-effect.entry.js +2 -2
- package/dist/esm/ion-route_4.entry.js +2 -2
- package/dist/esm/ion-searchbar.entry.js +2 -2
- package/dist/esm/ion-segment_2.entry.js +2 -2
- package/dist/esm/ion-select_3.entry.js +3 -3
- 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 +2 -2
- package/dist/esm/ion-tab_2.entry.js +1 -1
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +2 -2
- package/dist/esm/ion-toast.entry.js +3 -3
- package/dist/esm/ion-toggle.entry.js +2 -2
- package/dist/esm/{ionic-global-b8eaaa3e.js → ionic-global-246ca78f.js} +1 -1
- package/dist/esm/ionic.js +5 -5
- package/dist/esm/{ios.transition-d001280d.js → ios.transition-f1cea7e0.js} +2 -2
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{md.transition-d6d884d8.js → md.transition-1bf39c32.js} +2 -2
- package/dist/esm/{overlays-159cc19a.js → overlays-cec6bac8.js} +1 -1
- package/dist/esm/{status-tap-36ce0926.js → status-tap-4e96ecf3.js} +1 -1
- package/dist/esm-es5/app-globals-ec816a70.js +4 -0
- package/dist/esm-es5/{button-active-a3a0d0a2.js → button-active-d926d4f4.js} +1 -1
- package/dist/esm-es5/{index-e89bed48.js → index-aae132ba.js} +1 -1
- package/dist/esm-es5/index-b49b173c.js +5 -0
- package/dist/esm-es5/{index-6c73dc54.js → index-ec72506a.js} +1 -1
- package/dist/esm-es5/index.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-b8eaaa3e.js → ionic-global-246ca78f.js} +1 -1
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/{ios.transition-d001280d.js → ios.transition-f1cea7e0.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/md.transition-1bf39c32.js +4 -0
- package/dist/esm-es5/{overlays-159cc19a.js → overlays-cec6bac8.js} +1 -1
- package/dist/esm-es5/{status-tap-36ce0926.js → status-tap-4e96ecf3.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-4c213797.entry.js → p-0362c48a.entry.js} +1 -1
- package/dist/ionic/p-06ac429a.js +5 -0
- package/dist/ionic/{p-387e737b.system.entry.js → p-07989b03.system.entry.js} +1 -1
- package/dist/ionic/{p-bfa3dd2f.system.entry.js → p-08e3ebcc.system.entry.js} +1 -1
- package/dist/ionic/{p-8b488106.entry.js → p-0b00b937.entry.js} +1 -1
- package/dist/ionic/{p-38fa8dfe.system.entry.js → p-0c0d536f.system.entry.js} +1 -1
- package/dist/ionic/{p-7ce89f44.system.js → p-0fb53284.system.js} +1 -1
- package/dist/ionic/{p-0f6557af.entry.js → p-108f9d49.entry.js} +1 -1
- package/dist/ionic/{p-847e9843.system.entry.js → p-1551659d.system.entry.js} +1 -1
- package/dist/ionic/{p-6de1eb1a.system.entry.js → p-1676eeff.system.entry.js} +1 -1
- package/dist/ionic/{p-eab102c4.js → p-181b7c2a.js} +1 -1
- package/dist/ionic/{p-c9b17546.system.entry.js → p-1e4def26.system.entry.js} +1 -1
- package/dist/ionic/{p-f83551a2.entry.js → p-1ecba429.entry.js} +1 -1
- package/dist/ionic/{p-a9957c1c.system.entry.js → p-2222b68a.system.entry.js} +2 -2
- package/dist/ionic/{p-d8e506e1.system.entry.js → p-23410b18.system.entry.js} +1 -1
- package/dist/ionic/{p-f0cb124b.system.entry.js → p-26d0ec66.system.entry.js} +1 -1
- package/dist/ionic/{p-bb2321d4.entry.js → p-28293683.entry.js} +1 -1
- package/dist/ionic/p-28ea45b9.js +4 -0
- package/dist/ionic/{p-33fa58e1.system.entry.js → p-306d845d.system.entry.js} +1 -1
- package/dist/ionic/{p-a27178b8.entry.js → p-31119a15.entry.js} +1 -1
- package/dist/ionic/p-311d91cc.js +4 -0
- package/dist/ionic/{p-92a9c97d.system.entry.js → p-3574440a.system.entry.js} +1 -1
- package/dist/ionic/{p-1402883d.entry.js → p-360d0872.entry.js} +1 -1
- package/dist/ionic/{p-91f9ab37.system.entry.js → p-372f1f80.system.entry.js} +1 -1
- package/dist/ionic/{p-bc127e2f.entry.js → p-3816e896.entry.js} +1 -1
- package/dist/ionic/{p-1709aa82.entry.js → p-3818f63f.entry.js} +1 -1
- package/dist/ionic/{p-a072c63c.system.entry.js → p-3e2ddf5e.system.entry.js} +1 -1
- package/dist/ionic/{p-d03fa58c.entry.js → p-43392db6.entry.js} +1 -1
- package/dist/ionic/{p-6d7dc1f0.system.entry.js → p-45844e7a.system.entry.js} +1 -1
- package/dist/ionic/{p-4b8c6e8d.entry.js → p-4e50b8d1.entry.js} +1 -1
- package/dist/ionic/{p-7d4cdcfa.entry.js → p-4e6e43c1.entry.js} +1 -1
- package/dist/ionic/{p-9a10359a.entry.js → p-4e70a7cc.entry.js} +1 -1
- package/dist/ionic/{p-5220802a.entry.js → p-4e9114af.entry.js} +1 -1
- package/dist/ionic/{p-7ba45534.js → p-507845ca.js} +1 -1
- package/dist/ionic/{p-916bf664.system.entry.js → p-57f074a4.system.entry.js} +1 -1
- package/dist/ionic/{p-4bb32073.system.entry.js → p-588687d2.system.entry.js} +1 -1
- package/dist/ionic/{p-af7600b4.system.entry.js → p-590250f4.system.entry.js} +1 -1
- package/dist/ionic/{p-b8f06678.system.entry.js → p-5a692624.system.entry.js} +1 -1
- package/dist/ionic/{p-4c8f8896.entry.js → p-5c92c941.entry.js} +1 -1
- package/dist/ionic/{p-dea72c9b.entry.js → p-5f546346.entry.js} +1 -1
- package/dist/ionic/{p-3b1306ee.entry.js → p-5fb7c384.entry.js} +1 -1
- package/dist/ionic/{p-bee0b609.entry.js → p-5fba0b2d.entry.js} +1 -1
- package/dist/ionic/p-629aa3fd.system.js +5 -0
- package/dist/ionic/{p-5d5ad59c.system.js → p-62b29300.system.js} +1 -1
- package/dist/ionic/p-664d1430.system.js +4 -0
- package/dist/ionic/{p-0d34d02d.system.entry.js → p-68f78c9b.system.entry.js} +1 -1
- package/dist/ionic/{p-50620a90.entry.js → p-6ea2e653.entry.js} +1 -1
- package/dist/ionic/{p-08efeff8.entry.js → p-70263330.entry.js} +1 -1
- package/dist/ionic/{p-c13a6f20.system.entry.js → p-7427a3ec.system.entry.js} +1 -1
- package/dist/ionic/{p-46e3c243.system.entry.js → p-74f892e9.system.entry.js} +1 -1
- package/dist/ionic/{p-f91f01c7.js → p-76378400.js} +1 -1
- package/dist/ionic/{p-6284b679.system.entry.js → p-79d430f7.system.entry.js} +1 -1
- package/dist/ionic/{p-23976263.js → p-79fdc224.js} +1 -1
- package/dist/ionic/{p-0b21c105.system.entry.js → p-7b48cf4f.system.entry.js} +1 -1
- package/dist/ionic/{p-80bfcf13.entry.js → p-8083aadb.entry.js} +1 -1
- package/dist/ionic/{p-0643e492.entry.js → p-83198481.entry.js} +1 -1
- package/dist/ionic/{p-2da100db.entry.js → p-892710a8.entry.js} +1 -1
- package/dist/ionic/{p-e3bf1fd6.entry.js → p-8b1237b9.entry.js} +1 -1
- package/dist/ionic/{p-6cdfa23a.system.entry.js → p-8c09ef6b.system.entry.js} +1 -1
- package/dist/ionic/{p-6e242781.system.js → p-8f01a9a2.system.js} +1 -1
- package/dist/ionic/{p-1e205921.system.entry.js → p-8fdd6396.system.entry.js} +1 -1
- package/dist/ionic/{p-b669ee1a.system.js → p-939e0fa1.system.js} +1 -1
- package/dist/ionic/{p-c1b71ab2.entry.js → p-96ba8eac.entry.js} +1 -1
- package/dist/ionic/{p-c1e45f8d.entry.js → p-99eba967.entry.js} +1 -1
- package/dist/ionic/{p-7b208278.system.entry.js → p-9c1dce7a.system.entry.js} +1 -1
- package/dist/ionic/p-9d166dc1.js +4 -0
- package/dist/ionic/{p-6de0318a.system.entry.js → p-9ebd9c24.system.entry.js} +1 -1
- package/dist/ionic/p-a04bfada.entry.js +4 -0
- package/dist/ionic/{p-fa0163d1.system.entry.js → p-a107434d.system.entry.js} +2 -2
- package/dist/ionic/{p-698e973c.system.entry.js → p-a3980e51.system.entry.js} +1 -1
- package/dist/ionic/{p-688c8947.system.js → p-aa377971.system.js} +1 -1
- package/dist/ionic/{p-3bdaec39.system.entry.js → p-ae1de8af.system.entry.js} +1 -1
- package/dist/ionic/{p-be7a8322.system.entry.js → p-af37e8de.system.entry.js} +1 -1
- package/dist/ionic/{p-b0a4a33b.entry.js → p-afb6658f.entry.js} +1 -1
- package/dist/ionic/{p-ed403b06.system.js → p-b216de09.system.js} +2 -2
- package/dist/ionic/p-b3c68723.system.js +4 -0
- package/dist/ionic/{p-ced9bbc6.entry.js → p-b998e8eb.entry.js} +1 -1
- package/dist/ionic/{p-ddd011a6.system.entry.js → p-b9a17fcb.system.entry.js} +1 -1
- package/dist/ionic/{p-c0a5c5f2.system.js → p-be7fcb09.system.js} +1 -1
- package/dist/ionic/{p-aae1b424.entry.js → p-c4a5de01.entry.js} +1 -1
- package/dist/ionic/{p-1065ec66.system.js → p-c50ea33f.system.js} +1 -1
- package/dist/ionic/{p-f3c4886c.system.entry.js → p-c66eb2d7.system.entry.js} +1 -1
- package/dist/ionic/{p-dd7cfb1e.system.entry.js → p-c6cae705.system.entry.js} +1 -1
- package/dist/ionic/p-c842da0a.js +4 -0
- package/dist/ionic/{p-29e7d6b7.system.entry.js → p-c8d705d1.system.entry.js} +1 -1
- package/dist/ionic/{p-1dec625e.entry.js → p-c9f70283.entry.js} +1 -1
- package/dist/ionic/{p-bfe29933.entry.js → p-cabd2c6d.entry.js} +1 -1
- package/dist/ionic/{p-c4041d2c.system.entry.js → p-ce56d7b5.system.entry.js} +1 -1
- package/dist/ionic/{p-092c9d0d.system.entry.js → p-cf1822ca.system.entry.js} +1 -1
- package/dist/ionic/{p-77daa27e.js → p-cf62e1c8.js} +1 -1
- package/dist/ionic/{p-bab64e15.entry.js → p-cf67c66c.entry.js} +1 -1
- package/dist/ionic/{p-ec287b26.entry.js → p-db0140c0.entry.js} +1 -1
- package/dist/ionic/{p-716681ed.entry.js → p-db1a1e00.entry.js} +1 -1
- package/dist/ionic/{p-55b95498.system.entry.js → p-db2332fe.system.entry.js} +1 -1
- package/dist/ionic/{p-a2466f5d.system.entry.js → p-db6fb00c.system.entry.js} +1 -1
- package/dist/ionic/{p-c346faa1.system.entry.js → p-dbdb0d8e.system.entry.js} +1 -1
- package/dist/ionic/{p-4920b10e.entry.js → p-dc583535.entry.js} +1 -1
- package/dist/ionic/{p-4e9a578e.entry.js → p-dcce7252.entry.js} +1 -1
- package/dist/ionic/{p-75fc381f.system.entry.js → p-de252f17.system.entry.js} +1 -1
- package/dist/ionic/{p-c47b5d0f.entry.js → p-df189fa7.entry.js} +1 -1
- package/dist/ionic/{p-7ccdc82d.system.entry.js → p-e21ebd84.system.entry.js} +1 -1
- package/dist/ionic/{p-1751bbf5.entry.js → p-e552cf80.entry.js} +1 -1
- package/dist/ionic/{p-59d32725.system.entry.js → p-e7308ea0.system.entry.js} +1 -1
- package/dist/ionic/{p-6b3b7c9d.system.entry.js → p-ea1f5746.system.entry.js} +1 -1
- package/dist/ionic/p-eac263dd.entry.js +4 -0
- package/dist/ionic/{p-01abcceb.entry.js → p-ebdf4f41.entry.js} +1 -1
- package/dist/ionic/{p-6fc8dfaf.entry.js → p-f089f3b1.entry.js} +1 -1
- package/dist/ionic/{p-323aa85c.system.entry.js → p-f21e24aa.system.entry.js} +1 -1
- package/dist/ionic/{p-cb102122.system.entry.js → p-f275d76b.system.entry.js} +1 -1
- package/dist/ionic/{p-b7746ee7.entry.js → p-f4bd51c5.entry.js} +1 -1
- package/dist/ionic/{p-c937de57.entry.js → p-f5e7ed0e.entry.js} +1 -1
- package/dist/ionic/{p-4fbba106.entry.js → p-f919c026.entry.js} +1 -1
- package/dist/ionic/{p-aabf9d6d.entry.js → p-fcf47f80.entry.js} +1 -1
- package/dist/ionic/{p-a9b8b271.system.js → p-fe08d5d6.system.js} +1 -1
- package/hydrate/index.d.ts +1 -1
- package/hydrate/index.js +45 -51
- package/package.json +3 -3
- package/dist/esm-es5/app-globals-9a5ce61d.js +0 -4
- package/dist/esm-es5/index-944910da.js +0 -5
- package/dist/esm-es5/md.transition-d6d884d8.js +0 -4
- package/dist/ionic/p-42925f81.system.js +0 -5
- package/dist/ionic/p-526c9a33.entry.js +0 -4
- package/dist/ionic/p-624203ea.entry.js +0 -4
- package/dist/ionic/p-a4e5c7ee.system.js +0 -4
- package/dist/ionic/p-b0f8f55c.js +0 -5
- package/dist/ionic/p-b853a48c.js +0 -4
- package/dist/ionic/p-bce80e30.js +0 -4
- package/dist/ionic/p-c49b5f86.system.js +0 -4
- package/dist/ionic/p-ecbc8ecd.js +0 -4
- package/dist/ionic/p-fb0631e7.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import{j as o,r as t,d as n,h as i,H as r,f as e}from"./p-b0f8f55c.js";import{n as a,i as s}from"./p-63eb0acd.js";import{p as l}from"./p-1b8e1d03.js";import{o as c,c as d,h as b}from"./p-1d072d3d.js";import{b as h}from"./p-f91f01c7.js";let u;const p=(o,t,n,i,r)=>(n="ios"===(n&&m(n))?"ios":"md",i&&"ios"===n?o=m(i):r&&"md"===n?o=m(r):(o||!t||g(t)||(o=t),f(o)&&(o=m(o))),f(o)&&""!==o.trim()?""!==o.replace(/[a-z]|-|\d/gi,"")?null:o:null),v=o=>f(o)&&(o=o.trim(),g(o))?o:null,g=o=>o.length>0&&/(\/|\.)/.test(o),f=o=>"string"==typeof o,m=o=>o.toLowerCase(),k=class{constructor(o){t(this,o),this.ionFocus=n(this,"ionFocus",7),this.ionBlur=n(this,"ionBlur",7),this.inItem=!1,this.inListHeader=!1,this.inToolbar=!1,this.formButtonEl=null,this.formEl=null,this.inheritedAttributes={},this.handleClick=o=>{const{el:t}=this;"button"===this.type?c(this.href,o,this.routerDirection,this.routerAnimation):a(t)&&this.submitForm(o)},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.color=void 0,this.buttonType="button",this.disabled=!1,this.expand=void 0,this.fill=void 0,this.routerDirection="forward",this.routerAnimation=void 0,this.download=void 0,this.href=void 0,this.rel=void 0,this.shape=void 0,this.size=void 0,this.strong=!1,this.target=void 0,this.type="button",this.form=void 0}disabledChanged(){const{disabled:o}=this;this.formButtonEl&&(this.formButtonEl.disabled=o)}renderHiddenButton(){const o=this.formEl=this.findForm();if(o){const{formButtonEl:t}=this;if(null!==t&&o.contains(t))return;const n=this.formButtonEl=document.createElement("button");n.type=this.type,n.style.display="none",n.disabled=this.disabled,o.appendChild(n)}}componentWillLoad(){this.inToolbar=!!this.el.closest("ion-buttons"),this.inListHeader=!!this.el.closest("ion-list-header"),this.inItem=!!this.el.closest("ion-item")||!!this.el.closest("ion-item-divider"),this.inheritedAttributes=s(this.el)}get hasIconOnly(){return!!this.el.querySelector('[slot="icon-only"]')}get rippleType(){return(void 0===this.fill||"clear"===this.fill)&&this.hasIconOnly&&this.inToolbar?"unbounded":"bounded"}findForm(){const{form:o}=this;if(o instanceof HTMLFormElement)return o;if("string"==typeof o){const t=document.getElementById(o);return t?t instanceof HTMLFormElement?t:(l(`Form with selector: "#${o}" could not be found. Verify that the id is attached to a <form> element.`,this.el),null):(l(`Form with selector: "#${o}" could not be found. Verify that the id is correct and the form is rendered in the DOM.`,this.el),null)}return void 0!==o?(l('The provided "form" element is invalid. Verify that the form is a HTMLFormElement and rendered in the DOM.',this.el),null):this.el.closest("form")}submitForm(o){this.formEl&&this.formButtonEl&&(o.preventDefault(),this.formButtonEl.click())}render(){const o=h(this),{buttonType:t,type:n,disabled:e,rel:a,target:s,size:l,href:c,color:u,expand:p,hasIconOnly:v,shape:g,strong:f,inheritedAttributes:m}=this,k=void 0===l&&this.inItem?"small":l,x=void 0===c?"button":"a",w="button"===x?{type:n}:{download:this.download,href:c,rel:a,target:s};let y=this.fill;return null==y&&(y=this.inToolbar||this.inListHeader?"clear":"solid"),"button"!==n&&this.renderHiddenButton(),i(r,{onClick:this.handleClick,"aria-disabled":e?"true":null,class:d(u,{[o]:!0,[t]:!0,[`${t}-${p}`]:void 0!==p,[`${t}-${k}`]:void 0!==k,[`${t}-${g}`]:void 0!==g,[`${t}-${y}`]:!0,[`${t}-strong`]:f,"in-toolbar":b("ion-toolbar",this.el),"in-toolbar-color":b("ion-toolbar[color]",this.el),"in-buttons":b("ion-buttons",this.el),"button-has-icon-only":v,"button-disabled":e,"ion-activatable":!0,"ion-focusable":!0})},i(x,Object.assign({},w,{class:"button-native",part:"native",disabled:e,onFocus:this.onFocus,onBlur:this.onBlur},m),i("span",{class:"button-inner"},i("slot",{name:"icon-only"}),i("slot",{name:"start"}),i("slot",null),i("slot",{name:"end"})),"md"===o&&i("ion-ripple-effect",{type:this.rippleType})))}get el(){return e(this)}static get watchers(){return{disabled:["disabledChanged"]}}};k.style={ios:':host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-font-kerning:none;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #3880ff);--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-native::-moz-focus-inner{border:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted(ion-icon){font-size:1.35em;pointer-events:none}::slotted(ion-icon[slot=start]){-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em;margin-top:0;margin-bottom:0}::slotted(ion-icon[slot=end]){-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em;margin-top:0;margin-bottom:0}::slotted(ion-icon[slot=icon-only]){font-size:1.8em}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host(.button-outline.ion-activated.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--color));color:var(--ion-toolbar-background, var(--background), var(--ion-color-primary-contrast, #fff))}:host{--border-radius:14px;--padding-top:13px;--padding-bottom:13px;--padding-start:1em;--padding-end:1em;--transition:background-color, opacity 100ms linear;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:4px;margin-bottom:4px;min-height:3.1em;font-size:min(1rem, 48px);font-weight:500;letter-spacing:0}:host(.button-solid){--background-activated:var(--ion-color-primary-shade, #3171e0);--background-focused:var(--ion-color-primary-shade, #3171e0);--background-hover:var(--ion-color-primary-tint, #4c8dff);--background-activated-opacity:1;--background-focused-opacity:1;--background-hover-opacity:1}:host(.button-outline){--border-radius:14px;--border-width:1px;--border-style:solid;--background-activated:var(--ion-color-primary, #3880ff);--background-focused:var(--ion-color-primary, #3880ff);--background-hover:transparent;--background-focused-opacity:.1;--color-activated:var(--ion-color-primary-contrast, #fff)}:host(.button-clear){--background-activated:transparent;--background-activated-opacity:0;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:transparent;--background-focused-opacity:.1;font-size:min(1.0625rem, 51px);font-weight:normal}:host(.in-buttons){font-size:clamp(17px, 1.0625rem, 21.08px);font-weight:400}:host(.button-large){--border-radius:16px;--padding-top:17px;--padding-start:1em;--padding-end:1em;--padding-bottom:17px;min-height:3.1em;font-size:min(1.25rem, 60px)}:host(.button-small){--border-radius:6px;--padding-top:4px;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:4px;min-height:2.1em;font-size:min(0.8125rem, 39px)}:host(.button-has-icon-only){--padding-top:0;--padding-bottom:0}:host(.button-round){--border-radius:64px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}:host(.button-strong){font-weight:600}:host(.button-outline.ion-focused.ion-color) .button-native,:host(.button-clear.ion-focused.ion-color) .button-native{color:var(--ion-color-base)}:host(.button-outline.ion-focused.ion-color) .button-native::after,:host(.button-clear.ion-focused.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-shade)}@media (any-hover: hover){:host(.button-clear:not(.ion-activated):hover),:host(.button-outline:not(.ion-activated):hover){opacity:0.6}:host(.button-clear.ion-color:hover) .button-native,:host(.button-outline.ion-color:hover) .button-native{color:var(--ion-color-base)}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:transparent}:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-tint)}:host(:hover.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color):not(.ion-activated)) .button-native::after{background:#fff;opacity:0.1}}:host(.button-clear.ion-activated){opacity:0.4}:host(.button-outline.ion-activated.ion-color) .button-native{color:var(--ion-color-contrast)}:host(.button-outline.ion-activated.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-activated) .button-native::after{background:var(--ion-color-shade)}',md:':host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-font-kerning:none;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #3880ff);--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-native::-moz-focus-inner{border:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted(ion-icon){font-size:1.35em;pointer-events:none}::slotted(ion-icon[slot=start]){-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em;margin-top:0;margin-bottom:0}::slotted(ion-icon[slot=end]){-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em;margin-top:0;margin-bottom:0}::slotted(ion-icon[slot=icon-only]){font-size:1.8em}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host(.button-outline.ion-activated.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--color));color:var(--ion-toolbar-background, var(--background), var(--ion-color-primary-contrast, #fff))}:host{--border-radius:4px;--padding-top:8px;--padding-bottom:8px;--padding-start:1.1em;--padding-end:1.1em;--transition:box-shadow 280ms cubic-bezier(.4, 0, .2, 1),\n background-color 15ms linear,\n color 15ms linear;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:4px;margin-bottom:4px;min-height:36px;font-size:0.875rem;font-weight:500;letter-spacing:0.06em;text-transform:uppercase}:host(.button-solid){--background-activated:transparent;--background-hover:var(--ion-color-primary-contrast, #fff);--background-focused:var(--ion-color-primary-contrast, #fff);--background-activated-opacity:0;--background-focused-opacity:.24;--background-hover-opacity:.08;--box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}:host(.button-solid.ion-activated){--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12)}:host(.button-outline){--border-width:2px;--border-style:solid;--box-shadow:none;--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:var(--ion-color-primary, #3880ff);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}:host(.button-outline.ion-activated.ion-color) .button-native{background:transparent}:host(.button-clear){--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:var(--ion-color-primary, #3880ff);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}:host(.button-round){--border-radius:64px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}:host(.button-large){--padding-top:14px;--padding-start:1em;--padding-end:1em;--padding-bottom:14px;min-height:2.8em;font-size:1.25rem}:host(.button-small){--padding-top:4px;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:4px;min-height:2.1em;font-size:0.8125rem}:host(.button-has-icon-only){--padding-top:0;--padding-bottom:0}:host(.button-strong){font-weight:bold}::slotted(ion-icon[slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-contrast)}:host(.button-clear.ion-color.ion-focused) .button-native::after,:host(.button-outline.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-contrast)}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}'};const x=o=>{if(1===o.nodeType){if("script"===o.nodeName.toLowerCase())return!1;for(let t=0;t<o.attributes.length;t++){const n=o.attributes[t].name;if(f(n)&&0===n.toLowerCase().indexOf("on"))return!1}for(let t=0;t<o.childNodes.length;t++)if(!x(o.childNodes[t]))return!1}return!0},w=new Map,y=new Map;let z;const $=class{constructor(o){t(this,o),this.iconName=null,this.inheritedAttributes={},this.didLoadIcon=!1,this.svgContent=void 0,this.isVisible=!1,this.mode=j(),this.color=void 0,this.ios=void 0,this.md=void 0,this.flipRtl=void 0,this.name=void 0,this.src=void 0,this.icon=void 0,this.size=void 0,this.lazy=!1,this.sanitize=!0}componentWillLoad(){this.inheritedAttributes=((o,t=[])=>{const n={};return t.forEach((t=>{o.hasAttribute(t)&&(null!==o.getAttribute(t)&&(n[t]=o.getAttribute(t)),o.removeAttribute(t))})),n})(this.el,["aria-label"])}connectedCallback(){this.waitUntilVisible(this.el,"50px",(()=>{this.isVisible=!0,this.loadIcon()}))}componentDidLoad(){this.didLoadIcon||this.loadIcon()}disconnectedCallback(){this.io&&(this.io.disconnect(),this.io=void 0)}waitUntilVisible(o,t,n){if(this.lazy&&"undefined"!=typeof window&&window.IntersectionObserver){const i=this.io=new window.IntersectionObserver((o=>{o[0].isIntersecting&&(i.disconnect(),this.io=void 0,n())}),{rootMargin:t});i.observe(o)}else n()}loadIcon(){if(this.isVisible){const t=(t=>{let n=v(t.src);if(n)return n;if(n=p(t.name,t.icon,t.mode,t.ios,t.md),n)return i=n,(()=>{if("undefined"==typeof window)return new Map;if(!u){const o=window;o.Ionicons=o.Ionicons||{},u=o.Ionicons.map=o.Ionicons.map||new Map}return u})().get(i)||o(`svg/${i}.svg`);var i;if(t.icon){if(n=v(t.icon),n)return n;if(n=v(t.icon[t.mode]),n)return n}return null})(this);t&&(w.has(t)?this.svgContent=w.get(t):((o,t)=>{let n=y.get(o);if(!n){if("undefined"==typeof fetch||"undefined"==typeof document)return w.set(o,""),Promise.resolve();if((o=>o.startsWith("data:image/svg+xml"))(o)&&(o=>-1!==o.indexOf(";utf8,"))(o)){z||(z=new DOMParser);const t=z.parseFromString(o,"text/html").querySelector("svg");return t&&w.set(o,t.outerHTML),Promise.resolve()}n=fetch(o).then((n=>{if(n.ok)return n.text().then((n=>{n&&!1!==t&&(n=(o=>{const t=document.createElement("div");t.innerHTML=o;for(let o=t.childNodes.length-1;o>=0;o--)"svg"!==t.childNodes[o].nodeName.toLowerCase()&&t.removeChild(t.childNodes[o]);const n=t.firstElementChild;if(n&&"svg"===n.nodeName.toLowerCase()){const o=n.getAttribute("class")||"";if(n.setAttribute("class",(o+" s-ion-icon").trim()),x(n))return t.innerHTML}return""})(n)),w.set(o,n||"")}));w.set(o,"")})),y.set(o,n)}return n})(t,this.sanitize).then((()=>this.svgContent=w.get(t))),this.didLoadIcon=!0)}this.iconName=p(this.name,this.icon,this.mode,this.ios,this.md)}render(){const{flipRtl:o,iconName:t,inheritedAttributes:n,el:e}=this,a=this.mode||"md",s=!!t&&(t.includes("arrow")||t.includes("chevron"))&&!1!==o,l=o||s;return i(r,Object.assign({role:"img",class:Object.assign(Object.assign({[a]:!0},M(this.color)),{[`icon-${this.size}`]:!!this.size,"flip-rtl":l,"icon-rtl":l&&(c=e,c&&""!==c.dir?"rtl"===c.dir.toLowerCase():"rtl"===(null===document||void 0===document?void 0:document.dir.toLowerCase()))})},n),i("div",this.svgContent?{class:"icon-inner",innerHTML:this.svgContent}:{class:"icon-inner"}));var c}static get assetsDirs(){return["svg"]}get el(){return e(this)}static get watchers(){return{name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"],ios:["loadIcon"],md:["loadIcon"]}}},j=()=>"undefined"!=typeof document&&document.documentElement.getAttribute("mode")||"md",M=o=>o?{"ion-color":!0,[`ion-color-${o}`]:!0}:null;$.style=":host{display:inline-block;width:1em;height:1em;contain:strict;fill:currentColor;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host .ionicon{stroke:currentColor}.ionicon-fill-none{fill:none}.ionicon-stroke-width{stroke-width:32px;stroke-width:var(--ionicon-stroke-width, 32px)}.icon-inner,.ionicon,svg{display:block;height:100%;width:100%}@supports (background: -webkit-named-image(i)){:host(.icon-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}}@supports not selector(:dir(rtl)) and selector(:host-context([dir='rtl'])){:host(.icon-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}}:host(.flip-rtl):host-context([dir='rtl']) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}@supports selector(:dir(rtl)){:host(.flip-rtl:dir(rtl)) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.flip-rtl:dir(ltr)) .icon-inner{-webkit-transform:scaleX(1);transform:scaleX(1)}}:host(.icon-small){font-size:1.125rem !important}:host(.icon-large){font-size:2rem !important}:host(.ion-color){color:var(--ion-color-base) !important}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}";export{k as ion_button,$ as ion_icon}
|
|
4
|
+
import{j as o,r as t,d as n,h as i,H as r,f as e}from"./p-06ac429a.js";import{n as a,i as s}from"./p-63eb0acd.js";import{p as l}from"./p-1b8e1d03.js";import{o as c,c as d,h as b}from"./p-1d072d3d.js";import{b as h}from"./p-76378400.js";let u;const p=(o,t,n,i,r)=>(n="ios"===(n&&m(n))?"ios":"md",i&&"ios"===n?o=m(i):r&&"md"===n?o=m(r):(o||!t||g(t)||(o=t),f(o)&&(o=m(o))),f(o)&&""!==o.trim()?""!==o.replace(/[a-z]|-|\d/gi,"")?null:o:null),v=o=>f(o)&&(o=o.trim(),g(o))?o:null,g=o=>o.length>0&&/(\/|\.)/.test(o),f=o=>"string"==typeof o,m=o=>o.toLowerCase(),k=class{constructor(o){t(this,o),this.ionFocus=n(this,"ionFocus",7),this.ionBlur=n(this,"ionBlur",7),this.inItem=!1,this.inListHeader=!1,this.inToolbar=!1,this.formButtonEl=null,this.formEl=null,this.inheritedAttributes={},this.handleClick=o=>{const{el:t}=this;"button"===this.type?c(this.href,o,this.routerDirection,this.routerAnimation):a(t)&&this.submitForm(o)},this.onFocus=()=>{this.ionFocus.emit()},this.onBlur=()=>{this.ionBlur.emit()},this.color=void 0,this.buttonType="button",this.disabled=!1,this.expand=void 0,this.fill=void 0,this.routerDirection="forward",this.routerAnimation=void 0,this.download=void 0,this.href=void 0,this.rel=void 0,this.shape=void 0,this.size=void 0,this.strong=!1,this.target=void 0,this.type="button",this.form=void 0}disabledChanged(){const{disabled:o}=this;this.formButtonEl&&(this.formButtonEl.disabled=o)}renderHiddenButton(){const o=this.formEl=this.findForm();if(o){const{formButtonEl:t}=this;if(null!==t&&o.contains(t))return;const n=this.formButtonEl=document.createElement("button");n.type=this.type,n.style.display="none",n.disabled=this.disabled,o.appendChild(n)}}componentWillLoad(){this.inToolbar=!!this.el.closest("ion-buttons"),this.inListHeader=!!this.el.closest("ion-list-header"),this.inItem=!!this.el.closest("ion-item")||!!this.el.closest("ion-item-divider"),this.inheritedAttributes=s(this.el)}get hasIconOnly(){return!!this.el.querySelector('[slot="icon-only"]')}get rippleType(){return(void 0===this.fill||"clear"===this.fill)&&this.hasIconOnly&&this.inToolbar?"unbounded":"bounded"}findForm(){const{form:o}=this;if(o instanceof HTMLFormElement)return o;if("string"==typeof o){const t=document.getElementById(o);return t?t instanceof HTMLFormElement?t:(l(`Form with selector: "#${o}" could not be found. Verify that the id is attached to a <form> element.`,this.el),null):(l(`Form with selector: "#${o}" could not be found. Verify that the id is correct and the form is rendered in the DOM.`,this.el),null)}return void 0!==o?(l('The provided "form" element is invalid. Verify that the form is a HTMLFormElement and rendered in the DOM.',this.el),null):this.el.closest("form")}submitForm(o){this.formEl&&this.formButtonEl&&(o.preventDefault(),this.formButtonEl.click())}render(){const o=h(this),{buttonType:t,type:n,disabled:e,rel:a,target:s,size:l,href:c,color:u,expand:p,hasIconOnly:v,shape:g,strong:f,inheritedAttributes:m}=this,k=void 0===l&&this.inItem?"small":l,x=void 0===c?"button":"a",w="button"===x?{type:n}:{download:this.download,href:c,rel:a,target:s};let y=this.fill;return null==y&&(y=this.inToolbar||this.inListHeader?"clear":"solid"),"button"!==n&&this.renderHiddenButton(),i(r,{onClick:this.handleClick,"aria-disabled":e?"true":null,class:d(u,{[o]:!0,[t]:!0,[`${t}-${p}`]:void 0!==p,[`${t}-${k}`]:void 0!==k,[`${t}-${g}`]:void 0!==g,[`${t}-${y}`]:!0,[`${t}-strong`]:f,"in-toolbar":b("ion-toolbar",this.el),"in-toolbar-color":b("ion-toolbar[color]",this.el),"in-buttons":b("ion-buttons",this.el),"button-has-icon-only":v,"button-disabled":e,"ion-activatable":!0,"ion-focusable":!0})},i(x,Object.assign({},w,{class:"button-native",part:"native",disabled:e,onFocus:this.onFocus,onBlur:this.onBlur},m),i("span",{class:"button-inner"},i("slot",{name:"icon-only"}),i("slot",{name:"start"}),i("slot",null),i("slot",{name:"end"})),"md"===o&&i("ion-ripple-effect",{type:this.rippleType})))}get el(){return e(this)}static get watchers(){return{disabled:["disabledChanged"]}}};k.style={ios:':host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-font-kerning:none;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #3880ff);--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-native::-moz-focus-inner{border:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted(ion-icon){font-size:1.35em;pointer-events:none}::slotted(ion-icon[slot=start]){-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em;margin-top:0;margin-bottom:0}::slotted(ion-icon[slot=end]){-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em;margin-top:0;margin-bottom:0}::slotted(ion-icon[slot=icon-only]){font-size:1.8em}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host(.button-outline.ion-activated.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--color));color:var(--ion-toolbar-background, var(--background), var(--ion-color-primary-contrast, #fff))}:host{--border-radius:14px;--padding-top:13px;--padding-bottom:13px;--padding-start:1em;--padding-end:1em;--transition:background-color, opacity 100ms linear;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:4px;margin-bottom:4px;min-height:3.1em;font-size:min(1rem, 48px);font-weight:500;letter-spacing:0}:host(.button-solid){--background-activated:var(--ion-color-primary-shade, #3171e0);--background-focused:var(--ion-color-primary-shade, #3171e0);--background-hover:var(--ion-color-primary-tint, #4c8dff);--background-activated-opacity:1;--background-focused-opacity:1;--background-hover-opacity:1}:host(.button-outline){--border-radius:14px;--border-width:1px;--border-style:solid;--background-activated:var(--ion-color-primary, #3880ff);--background-focused:var(--ion-color-primary, #3880ff);--background-hover:transparent;--background-focused-opacity:.1;--color-activated:var(--ion-color-primary-contrast, #fff)}:host(.button-clear){--background-activated:transparent;--background-activated-opacity:0;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:transparent;--background-focused-opacity:.1;font-size:min(1.0625rem, 51px);font-weight:normal}:host(.in-buttons){font-size:clamp(17px, 1.0625rem, 21.08px);font-weight:400}:host(.button-large){--border-radius:16px;--padding-top:17px;--padding-start:1em;--padding-end:1em;--padding-bottom:17px;min-height:3.1em;font-size:min(1.25rem, 60px)}:host(.button-small){--border-radius:6px;--padding-top:4px;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:4px;min-height:2.1em;font-size:min(0.8125rem, 39px)}:host(.button-has-icon-only){--padding-top:0;--padding-bottom:0}:host(.button-round){--border-radius:64px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}:host(.button-strong){font-weight:600}:host(.button-outline.ion-focused.ion-color) .button-native,:host(.button-clear.ion-focused.ion-color) .button-native{color:var(--ion-color-base)}:host(.button-outline.ion-focused.ion-color) .button-native::after,:host(.button-clear.ion-focused.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-shade)}@media (any-hover: hover){:host(.button-clear:not(.ion-activated):hover),:host(.button-outline:not(.ion-activated):hover){opacity:0.6}:host(.button-clear.ion-color:hover) .button-native,:host(.button-outline.ion-color:hover) .button-native{color:var(--ion-color-base)}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:transparent}:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-tint)}:host(:hover.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color):not(.ion-activated)) .button-native::after{background:#fff;opacity:0.1}}:host(.button-clear.ion-activated){opacity:0.4}:host(.button-outline.ion-activated.ion-color) .button-native{color:var(--ion-color-contrast)}:host(.button-outline.ion-activated.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-activated) .button-native::after{background:var(--ion-color-shade)}',md:':host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-font-kerning:none;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #3880ff);--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-native::-moz-focus-inner{border:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}::slotted([slot=start]),::slotted([slot=end]){-ms-flex-negative:0;flex-shrink:0}::slotted(ion-icon){font-size:1.35em;pointer-events:none}::slotted(ion-icon[slot=start]){-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em;margin-top:0;margin-bottom:0}::slotted(ion-icon[slot=end]){-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em;margin-top:0;margin-bottom:0}::slotted(ion-icon[slot=icon-only]){font-size:1.8em}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host(.button-outline.ion-activated.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--color));color:var(--ion-toolbar-background, var(--background), var(--ion-color-primary-contrast, #fff))}:host{--border-radius:4px;--padding-top:8px;--padding-bottom:8px;--padding-start:1.1em;--padding-end:1.1em;--transition:box-shadow 280ms cubic-bezier(.4, 0, .2, 1),\n background-color 15ms linear,\n color 15ms linear;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:4px;margin-bottom:4px;min-height:36px;font-size:0.875rem;font-weight:500;letter-spacing:0.06em;text-transform:uppercase}:host(.button-solid){--background-activated:transparent;--background-hover:var(--ion-color-primary-contrast, #fff);--background-focused:var(--ion-color-primary-contrast, #fff);--background-activated-opacity:0;--background-focused-opacity:.24;--background-hover-opacity:.08;--box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}:host(.button-solid.ion-activated){--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12)}:host(.button-outline){--border-width:2px;--border-style:solid;--box-shadow:none;--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:var(--ion-color-primary, #3880ff);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}:host(.button-outline.ion-activated.ion-color) .button-native{background:transparent}:host(.button-clear){--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:var(--ion-color-primary, #3880ff);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}:host(.button-round){--border-radius:64px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}:host(.button-large){--padding-top:14px;--padding-start:1em;--padding-end:1em;--padding-bottom:14px;min-height:2.8em;font-size:1.25rem}:host(.button-small){--padding-top:4px;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:4px;min-height:2.1em;font-size:0.8125rem}:host(.button-has-icon-only){--padding-top:0;--padding-bottom:0}:host(.button-strong){font-weight:bold}::slotted(ion-icon[slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-contrast)}:host(.button-clear.ion-color.ion-focused) .button-native::after,:host(.button-outline.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-contrast)}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}'};const x=o=>{if(1===o.nodeType){if("script"===o.nodeName.toLowerCase())return!1;for(let t=0;t<o.attributes.length;t++){const n=o.attributes[t].name;if(f(n)&&0===n.toLowerCase().indexOf("on"))return!1}for(let t=0;t<o.childNodes.length;t++)if(!x(o.childNodes[t]))return!1}return!0},w=new Map,y=new Map;let z;const $=class{constructor(o){t(this,o),this.iconName=null,this.inheritedAttributes={},this.didLoadIcon=!1,this.svgContent=void 0,this.isVisible=!1,this.mode=j(),this.color=void 0,this.ios=void 0,this.md=void 0,this.flipRtl=void 0,this.name=void 0,this.src=void 0,this.icon=void 0,this.size=void 0,this.lazy=!1,this.sanitize=!0}componentWillLoad(){this.inheritedAttributes=((o,t=[])=>{const n={};return t.forEach((t=>{o.hasAttribute(t)&&(null!==o.getAttribute(t)&&(n[t]=o.getAttribute(t)),o.removeAttribute(t))})),n})(this.el,["aria-label"])}connectedCallback(){this.waitUntilVisible(this.el,"50px",(()=>{this.isVisible=!0,this.loadIcon()}))}componentDidLoad(){this.didLoadIcon||this.loadIcon()}disconnectedCallback(){this.io&&(this.io.disconnect(),this.io=void 0)}waitUntilVisible(o,t,n){if(this.lazy&&"undefined"!=typeof window&&window.IntersectionObserver){const i=this.io=new window.IntersectionObserver((o=>{o[0].isIntersecting&&(i.disconnect(),this.io=void 0,n())}),{rootMargin:t});i.observe(o)}else n()}loadIcon(){if(this.isVisible){const t=(t=>{let n=v(t.src);if(n)return n;if(n=p(t.name,t.icon,t.mode,t.ios,t.md),n)return i=n,(()=>{if("undefined"==typeof window)return new Map;if(!u){const o=window;o.Ionicons=o.Ionicons||{},u=o.Ionicons.map=o.Ionicons.map||new Map}return u})().get(i)||o(`svg/${i}.svg`);var i;if(t.icon){if(n=v(t.icon),n)return n;if(n=v(t.icon[t.mode]),n)return n}return null})(this);t&&(w.has(t)?this.svgContent=w.get(t):((o,t)=>{let n=y.get(o);if(!n){if("undefined"==typeof fetch||"undefined"==typeof document)return w.set(o,""),Promise.resolve();if((o=>o.startsWith("data:image/svg+xml"))(o)&&(o=>-1!==o.indexOf(";utf8,"))(o)){z||(z=new DOMParser);const t=z.parseFromString(o,"text/html").querySelector("svg");return t&&w.set(o,t.outerHTML),Promise.resolve()}n=fetch(o).then((n=>{if(n.ok)return n.text().then((n=>{n&&!1!==t&&(n=(o=>{const t=document.createElement("div");t.innerHTML=o;for(let o=t.childNodes.length-1;o>=0;o--)"svg"!==t.childNodes[o].nodeName.toLowerCase()&&t.removeChild(t.childNodes[o]);const n=t.firstElementChild;if(n&&"svg"===n.nodeName.toLowerCase()){const o=n.getAttribute("class")||"";if(n.setAttribute("class",(o+" s-ion-icon").trim()),x(n))return t.innerHTML}return""})(n)),w.set(o,n||"")}));w.set(o,"")})),y.set(o,n)}return n})(t,this.sanitize).then((()=>this.svgContent=w.get(t))),this.didLoadIcon=!0)}this.iconName=p(this.name,this.icon,this.mode,this.ios,this.md)}render(){const{flipRtl:o,iconName:t,inheritedAttributes:n,el:e}=this,a=this.mode||"md",s=!!t&&(t.includes("arrow")||t.includes("chevron"))&&!1!==o,l=o||s;return i(r,Object.assign({role:"img",class:Object.assign(Object.assign({[a]:!0},M(this.color)),{[`icon-${this.size}`]:!!this.size,"flip-rtl":l,"icon-rtl":l&&(c=e,c&&""!==c.dir?"rtl"===c.dir.toLowerCase():"rtl"===(null===document||void 0===document?void 0:document.dir.toLowerCase()))})},n),i("div",this.svgContent?{class:"icon-inner",innerHTML:this.svgContent}:{class:"icon-inner"}));var c}static get assetsDirs(){return["svg"]}get el(){return e(this)}static get watchers(){return{name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"],ios:["loadIcon"],md:["loadIcon"]}}},j=()=>"undefined"!=typeof document&&document.documentElement.getAttribute("mode")||"md",M=o=>o?{"ion-color":!0,[`ion-color-${o}`]:!0}:null;$.style=":host{display:inline-block;width:1em;height:1em;contain:strict;fill:currentColor;-webkit-box-sizing:content-box !important;box-sizing:content-box !important}:host .ionicon{stroke:currentColor}.ionicon-fill-none{fill:none}.ionicon-stroke-width{stroke-width:32px;stroke-width:var(--ionicon-stroke-width, 32px)}.icon-inner,.ionicon,svg{display:block;height:100%;width:100%}@supports (background: -webkit-named-image(i)){:host(.icon-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}}@supports not selector(:dir(rtl)) and selector(:host-context([dir='rtl'])){:host(.icon-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}}:host(.flip-rtl):host-context([dir='rtl']) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}@supports selector(:dir(rtl)){:host(.flip-rtl:dir(rtl)) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.flip-rtl:dir(ltr)) .icon-inner{-webkit-transform:scaleX(1);transform:scaleX(1)}}:host(.icon-small){font-size:1.125rem !important}:host(.icon-large){font-size:2rem !important}:host(.ion-color){color:var(--ion-color-base) !important}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary, #3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary, #0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary, #f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success, #10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning, #ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger, #f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light, #f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium, #989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark, #222428)}";export{k as ion_button,$ as ion_icon}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import{r as t,d as i,h as s,H as o,f as e}from"./p-
|
|
4
|
+
import{r as t,d as i,h as s,H as o,f as e}from"./p-06ac429a.js";import{k as r}from"./p-63eb0acd.js";import{b as n}from"./p-76378400.js";const h=class{constructor(s){t(this,s),this.ionImgWillLoad=i(this,"ionImgWillLoad",7),this.ionImgDidLoad=i(this,"ionImgDidLoad",7),this.ionError=i(this,"ionError",7),this.inheritedAttributes={},this.onLoad=()=>{this.ionImgDidLoad.emit()},this.onError=()=>{this.ionError.emit()},this.loadSrc=void 0,this.loadError=void 0,this.alt=void 0,this.src=void 0}srcChanged(){this.addIO()}componentWillLoad(){this.inheritedAttributes=r(this.el,["draggable"])}componentDidLoad(){this.addIO()}addIO(){void 0!==this.src&&("undefined"!=typeof window&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"isIntersecting"in window.IntersectionObserverEntry.prototype?(this.removeIO(),this.io=new IntersectionObserver((t=>{t[t.length-1].isIntersecting&&(this.load(),this.removeIO())})),this.io.observe(this.el)):setTimeout((()=>this.load()),200))}load(){this.loadError=this.onError,this.loadSrc=this.src,this.ionImgWillLoad.emit()}removeIO(){this.io&&(this.io.disconnect(),this.io=void 0)}render(){const{loadSrc:t,alt:i,onLoad:e,loadError:r,inheritedAttributes:h}=this,{draggable:d}=h;return s(o,{class:n(this)},s("img",{decoding:"async",src:t,alt:i,onLoad:e,onError:r,part:"image",draggable:a(d)}))}get el(){return e(this)}static get watchers(){return{src:["srcChanged"]}}},a=t=>{switch(t){case"true":return!0;case"false":return!1;default:return}};h.style=":host{display:block;-o-object-fit:contain;object-fit:contain}img{display:block;width:100%;height:100%;-o-object-fit:inherit;object-fit:inherit;-o-object-position:inherit;object-position:inherit}";export{h as ion_img}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
System.register(["./p-3602001b.system.js","./p-
|
|
4
|
+
System.register(["./p-3602001b.system.js","./p-62b29300.system.js","./p-be7fcb09.system.js","./p-664d1430.system.js","./p-c4f2dce7.system.js","./p-fa8d4788.system.js","./p-939e0fa1.system.js","./p-815c2fba.system.js","./p-2b89ea1b.system.js","./p-44bc8b45.system.js","./p-c50ea33f.system.js","./p-8f01a9a2.system.js","./p-0e94957a.system.js","./p-629aa3fd.system.js","./p-9e852ff1.system.js","./p-479cdbf8.system.js","./p-8c15eda7.system.js","./p-613d4042.system.js"],(function(e){"use strict";return{setters:[function(s){e("createAnimation",s.c)},function(s){var t={};t.LIFECYCLE_DID_ENTER=s.a;t.LIFECYCLE_DID_LEAVE=s.c;t.LIFECYCLE_WILL_ENTER=s.L;t.LIFECYCLE_WILL_LEAVE=s.b;t.LIFECYCLE_WILL_UNLOAD=s.d;t.getIonPageElement=s.g;e(t)},function(s){e("iosTransitionAnimation",s.iosTransitionAnimation)},function(s){e("mdTransitionAnimation",s.mdTransitionAnimation)},function(s){e("getTimeGivenProgression",s.g)},function(s){e("createGesture",s.createGesture)},function(s){var t={};t.getPlatforms=s.g;t.initialize=s.i;t.isPlatform=s.a;e(t)},function(s){e("componentOnReady",s.c)},function(s){var t={};t.IonicSafeString=s.I;t.getMode=s.g;t.setupConfig=s.s;e(t)},function(s){e("openURL",s.o)},function(s){e("menuController",s.m)},function(s){var t={};t.actionSheetController=s.b;t.alertController=s.a;t.loadingController=s.l;t.modalController=s.m;t.pickerController=s.p;t.popoverController=s.c;t.toastController=s.t;e(t)},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){var s=e("IonicSlides",(function(e){var s=e.swiper,t=e.extendParams;var i={effect:undefined,direction:"horizontal",initialSlide:0,loop:false,parallax:false,slidesPerView:1,spaceBetween:0,speed:300,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:false,slidesOffsetBefore:0,slidesOffsetAfter:0,touchEventsTarget:"container",freeMode:false,freeModeMomentum:true,freeModeMomentumRatio:1,freeModeMomentumBounce:true,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:false,freeModeMinimumVelocity:.02,autoHeight:false,setWrapperSize:false,zoom:{maxRatio:3,minRatio:1,toggle:false},touchRatio:1,touchAngle:45,simulateTouch:true,touchStartPreventDefault:false,shortSwipes:true,longSwipes:true,longSwipesRatio:.5,longSwipesMs:300,followFinger:true,threshold:0,touchMoveStopPropagation:true,touchReleaseOnEdges:false,iOSEdgeSwipeDetection:false,iOSEdgeSwipeThreshold:20,resistance:true,resistanceRatio:.85,watchSlidesProgress:false,watchSlidesVisibility:false,preventClicks:true,preventClicksPropagation:true,slideToClickedSlide:false,loopAdditionalSlides:0,noSwiping:true,runCallbacksOnInit:true,coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:true},flipEffect:{slideShadows:true,limitRotation:true},cubeEffect:{slideShadows:true,shadow:true,shadowOffset:20,shadowScale:.94},fadeEffect:{crossFade:false},a11y:{prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide"}};if(s.pagination){i.pagination={type:"bullets",clickable:false,hideOnClick:false}}if(s.scrollbar){i.scrollbar={hide:true}}t(i)}))}}}));
|
package/hydrate/index.d.ts
CHANGED
package/hydrate/index.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
/*!
|
|
9
|
-
Stencil Mock Doc v4.6.0
|
|
9
|
+
Stencil Mock Doc v4.6.0 | MIT Licensed | https://stenciljs.com
|
|
10
10
|
*/
|
|
11
11
|
const CONTENT_REF_ID = 'r';
|
|
12
12
|
const ORG_LOCATION_ID = 'o';
|
|
@@ -4961,7 +4961,7 @@ function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResu
|
|
|
4961
4961
|
|
|
4962
4962
|
|
|
4963
4963
|
const NAMESPACE = 'ionic';
|
|
4964
|
-
const BUILD = /* ionic */ { allRenderFn: false, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: false, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true,
|
|
4964
|
+
const BUILD = /* ionic */ { allRenderFn: false, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: false, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: true, hydratedAttribute: false, hydratedClass: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: true, observeAttribute: true, patchPseudoShadowDom: false, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: true, scriptDataOpts: false, shadowDelegatesFocus: true, shadowDom: true, shadowDomShim: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, 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 };
|
|
4965
4965
|
|
|
4966
4966
|
// TODO(FW-2832): types
|
|
4967
4967
|
class Config {
|
|
@@ -5302,14 +5302,14 @@ function hydrateApp(e, t, o, n, s) {
|
|
|
5302
5302
|
}, e.document.createElementNS = function t(o, n) {
|
|
5303
5303
|
const s = $.call(e.document, o, n);
|
|
5304
5304
|
return f(s), s;
|
|
5305
|
-
}, p = global.setTimeout((function
|
|
5305
|
+
}, p = global.setTimeout((function D() {
|
|
5306
5306
|
a(`Hydrate exceeded timeout${function e(t) {
|
|
5307
5307
|
return Array.from(t).map(waitingOnElementMsg);
|
|
5308
5308
|
}(d)}`);
|
|
5309
5309
|
}), t.timeout), plt.$resourcesUrl$ = new URL(t.resourcesUrl || "./", doc$1.baseURI).href,
|
|
5310
5310
|
globalScripts(), g(e.document.body), y().then(l).catch(a);
|
|
5311
|
-
} catch (
|
|
5312
|
-
a(
|
|
5311
|
+
} catch (I) {
|
|
5312
|
+
a(I);
|
|
5313
5313
|
}
|
|
5314
5314
|
}
|
|
5315
5315
|
|
|
@@ -5542,30 +5542,28 @@ const createTime = (e, t = "") => {
|
|
|
5542
5542
|
let scopeId, contentRef, hostTagName, useNativeShadowDom = !1, checkSlotFallbackVisibility = !1, checkSlotRelocate = !1, isSvgMode = !1;
|
|
5543
5543
|
|
|
5544
5544
|
const createElm = (e, t, o, n) => {
|
|
5545
|
-
|
|
5546
|
-
|
|
5547
|
-
|
|
5548
|
-
|
|
5549
|
-
|
|
5550
|
-
|
|
5551
|
-
|
|
5552
|
-
|
|
5553
|
-
|
|
5554
|
-
|
|
5555
|
-
("svg" === l.$tag$ ? isSvgMode = !1 : "foreignObject" === a.tagName && (isSvgMode = !0));
|
|
5545
|
+
const s = t.$children$[o];
|
|
5546
|
+
let l, a, r, i = 0;
|
|
5547
|
+
if (!useNativeShadowDom && (checkSlotRelocate = !0, "slot" === s.$tag$ && (scopeId && n.classList.add(scopeId + "-s"),
|
|
5548
|
+
s.$flags$ |= s.$children$ ? 2 : 1)), null !== s.$text$) l = s.$elm$ = doc$1.createTextNode(s.$text$); else if (1 & s.$flags$) l = s.$elm$ = slotReferenceDebugNode(s) ; else {
|
|
5549
|
+
if (!isSvgMode && (isSvgMode = "svg" === s.$tag$), l = s.$elm$ = doc$1.createElementNS(isSvgMode ? "http://www.w3.org/2000/svg" : "http://www.w3.org/1999/xhtml", 2 & s.$flags$ ? "slot-fb" : s.$tag$) ,
|
|
5550
|
+
isSvgMode && "foreignObject" === s.$tag$ && (isSvgMode = !1), updateElement(null, s, isSvgMode),
|
|
5551
|
+
null != scopeId && l["s-si"] !== scopeId && l.classList.add(l["s-si"] = scopeId),
|
|
5552
|
+
s.$children$) for (i = 0; i < s.$children$.length; ++i) a = createElm(e, s, i, l),
|
|
5553
|
+
a && l.appendChild(a);
|
|
5554
|
+
("svg" === s.$tag$ ? isSvgMode = !1 : "foreignObject" === l.tagName && (isSvgMode = !0));
|
|
5556
5555
|
}
|
|
5557
|
-
return (
|
|
5558
|
-
|
|
5559
|
-
|
|
5560
|
-
|
|
5556
|
+
return (l["s-hn"] = hostTagName, 3 & s.$flags$ && (l["s-sr"] = !0,
|
|
5557
|
+
l["s-cr"] = contentRef, l["s-sn"] = s.$name$ || "", r = e && e.$children$ && e.$children$[o],
|
|
5558
|
+
r && r.$tag$ === s.$tag$ && e.$elm$ && putBackInOriginalLocation(e.$elm$, !1))),
|
|
5559
|
+
l;
|
|
5561
5560
|
}, putBackInOriginalLocation = (e, t) => {
|
|
5562
5561
|
plt.$flags$ |= 1;
|
|
5563
5562
|
const o = e.childNodes;
|
|
5564
5563
|
for (let e = o.length - 1; e >= 0; e--) {
|
|
5565
5564
|
const n = o[e];
|
|
5566
5565
|
n["s-hn"] !== hostTagName && n["s-ol"] && (parentReferenceNode(n).insertBefore(n, referenceNode(n)),
|
|
5567
|
-
n["s-ol"].remove(), n["s-ol"] = void 0,
|
|
5568
|
-
t && putBackInOriginalLocation(n, t);
|
|
5566
|
+
n["s-ol"].remove(), n["s-ol"] = void 0, checkSlotRelocate = !0), t && putBackInOriginalLocation(n, t);
|
|
5569
5567
|
}
|
|
5570
5568
|
plt.$flags$ &= -2;
|
|
5571
5569
|
}, addVnodes = (e, t, o, n, s, l) => {
|
|
@@ -5628,13 +5626,12 @@ const createElm = (e, t, o, n) => {
|
|
|
5628
5626
|
if (s["s-sr"] && (t = s["s-cr"]) && t.parentNode) {
|
|
5629
5627
|
o = t.parentNode.childNodes;
|
|
5630
5628
|
const e = s["s-sn"];
|
|
5631
|
-
for (n = o.length - 1; n >= 0; n--) if (t = o[n], !
|
|
5629
|
+
for (n = o.length - 1; n >= 0; n--) if (t = o[n], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== s["s-hn"]) if (isNodeLocatedInSlot(t, e)) {
|
|
5632
5630
|
let o = relocateNodes.find((e => e.$nodeToRelocate$ === t));
|
|
5633
|
-
checkSlotFallbackVisibility = !0, t["s-sn"] = t["s-sn"] || e, o ?
|
|
5634
|
-
o.$slotRefNode$ = s) : (t["s-sh"] = s["s-hn"], relocateNodes.push({
|
|
5631
|
+
checkSlotFallbackVisibility = !0, t["s-sn"] = t["s-sn"] || e, o ? o.$slotRefNode$ = s : relocateNodes.push({
|
|
5635
5632
|
$slotRefNode$: s,
|
|
5636
5633
|
$nodeToRelocate$: t
|
|
5637
|
-
})
|
|
5634
|
+
}), t["s-sr"] && relocateNodes.map((e => {
|
|
5638
5635
|
isNodeLocatedInSlot(e.$nodeToRelocate$, t["s-sn"]) && (o = relocateNodes.find((e => e.$nodeToRelocate$ === t)),
|
|
5639
5636
|
o && !e.$slotRefNode$ && (e.$slotRefNode$ = o.$slotRefNode$));
|
|
5640
5637
|
}));
|
|
@@ -5647,36 +5644,33 @@ const createElm = (e, t, o, n) => {
|
|
|
5647
5644
|
}, isNodeLocatedInSlot = (e, t) => 1 === e.nodeType ? null === e.getAttribute("slot") && "" === t || e.getAttribute("slot") === t : e["s-sn"] === t || "" === t, nullifyVNodeRefs = e => {
|
|
5648
5645
|
(e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(nullifyVNodeRefs));
|
|
5649
5646
|
}, renderVdom = (e, t, o = !1) => {
|
|
5650
|
-
const
|
|
5651
|
-
if (hostTagName =
|
|
5652
|
-
if (
|
|
5653
|
-
o &&
|
|
5654
|
-
if (
|
|
5655
|
-
(scopeId =
|
|
5656
|
-
useNativeShadowDom = supportsShadow, checkSlotFallbackVisibility = !1), patch(
|
|
5647
|
+
const n = e.$hostElement$, s = e.$cmpMeta$, l = e.$vnode$ || newVNode(null, null), a = isHost(t) ? t : h(null, null, t);
|
|
5648
|
+
if (hostTagName = n.tagName, BUILD.isDev ) ;
|
|
5649
|
+
if (s.$attrsToReflect$ && (a.$attrs$ = a.$attrs$ || {}, s.$attrsToReflect$.map((([e, t]) => a.$attrs$[t] = n[e]))),
|
|
5650
|
+
o && a.$attrs$) for (const e of Object.keys(a.$attrs$)) n.hasAttribute(e) && ![ "key", "ref", "style", "class" ].includes(e) && (a.$attrs$[e] = n[e]);
|
|
5651
|
+
if (a.$tag$ = null, a.$flags$ |= 4, e.$vnode$ = a, a.$elm$ = l.$elm$ = n.shadowRoot || n,
|
|
5652
|
+
(scopeId = n["s-sc"]), (contentRef = n["s-cr"],
|
|
5653
|
+
useNativeShadowDom = supportsShadow, checkSlotFallbackVisibility = !1), patch(l, a),
|
|
5657
5654
|
BUILD.slotRelocation) {
|
|
5658
5655
|
if (plt.$flags$ |= 1, checkSlotRelocate) {
|
|
5659
|
-
let e, t, o, s, l
|
|
5660
|
-
markSlotContentForRelocation(
|
|
5661
|
-
let
|
|
5662
|
-
for (;
|
|
5656
|
+
let e, t, o, n, s, l;
|
|
5657
|
+
markSlotContentForRelocation(a.$elm$);
|
|
5658
|
+
let r = 0;
|
|
5659
|
+
for (;r < relocateNodes.length; r++) e = relocateNodes[r], t = e.$nodeToRelocate$,
|
|
5663
5660
|
t["s-ol"] || (o = originalLocationDebugNode(t) ,
|
|
5664
5661
|
o["s-nr"] = t, t.parentNode.insertBefore(t["s-ol"] = o, t));
|
|
5665
|
-
for (
|
|
5666
|
-
|
|
5667
|
-
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
|
|
5672
|
-
|
|
5673
|
-
|
|
5674
|
-
|
|
5675
|
-
s.insertBefore(t, l));
|
|
5676
|
-
} else 1 === t.nodeType && (t.hidden = !0);
|
|
5677
|
-
}
|
|
5662
|
+
for (r = 0; r < relocateNodes.length; r++) if (e = relocateNodes[r], t = e.$nodeToRelocate$,
|
|
5663
|
+
e.$slotRefNode$) {
|
|
5664
|
+
for (n = e.$slotRefNode$.parentNode, s = e.$slotRefNode$.nextSibling, o = t["s-ol"]; o = o.previousSibling; ) if (l = o["s-nr"],
|
|
5665
|
+
l && l["s-sn"] === t["s-sn"] && n === l.parentNode && (l = l.nextSibling, !l || !l["s-nr"])) {
|
|
5666
|
+
s = l;
|
|
5667
|
+
break;
|
|
5668
|
+
}
|
|
5669
|
+
(!s && n !== t.parentNode || t.nextSibling !== s) && t !== s && (!t["s-hn"] && t["s-ol"] && (t["s-hn"] = t["s-ol"].parentNode.nodeName),
|
|
5670
|
+
n.insertBefore(t, s));
|
|
5671
|
+
} else 1 === t.nodeType && (t.hidden = !0);
|
|
5678
5672
|
}
|
|
5679
|
-
checkSlotFallbackVisibility && updateFallbackSlotVisibility(
|
|
5673
|
+
checkSlotFallbackVisibility && updateFallbackSlotVisibility(a.$elm$), plt.$flags$ &= -2,
|
|
5680
5674
|
relocateNodes.length = 0;
|
|
5681
5675
|
}
|
|
5682
5676
|
}, slotReferenceDebugNode = e => doc$1.createComment(`<slot${e.$name$ ? ' name="' + e.$name$ + '"' : ""}> (host=${hostTagName.toLowerCase()})`), originalLocationDebugNode = e => doc$1.createComment("org-location for " + (e.localName ? `<${e.localName}> (host=${e["s-hn"]})` : `[${e.textContent}]`)), attachToAncestor = (e, t) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ionic/core",
|
|
3
|
-
"version": "7.5.3-dev.
|
|
3
|
+
"version": "7.5.3-dev.11698434629.14c8f4e2",
|
|
4
4
|
"description": "Base components for Ionic",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ionic",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"loader/"
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@stencil/core": "^4.6.0
|
|
34
|
+
"@stencil/core": "^4.6.0",
|
|
35
35
|
"ionicons": "^7.2.1",
|
|
36
36
|
"tslib": "^2.1.0"
|
|
37
37
|
},
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@stencil/angular-output-target": "^0.8.2",
|
|
51
51
|
"@stencil/react-output-target": "^0.5.3",
|
|
52
52
|
"@stencil/sass": "^3.0.7",
|
|
53
|
-
"@stencil/vue-output-target": "^0.
|
|
53
|
+
"@stencil/vue-output-target": "^0.0.1-dev.11698434337.14ecd9f2",
|
|
54
54
|
"@types/jest": "^27.5.2",
|
|
55
55
|
"@types/node": "^14.6.0",
|
|
56
56
|
"@typescript-eslint/eslint-plugin": "^6.7.2",
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import{__awaiter,__extends,__generator,__spreadArray}from"tslib";
|
|
2
|
-
/*!
|
|
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,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 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],D:s[2],R: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.R]=u;e=u;if(n&&u.D==="0"){n[u.R]=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],D:s[3],R: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.R]=u;if(n&&u.D==="0"){n[u.R]=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.D==="0"){n[u.R]=u.h}}r.push(u);if(!e.l){e.l=[]}e.l[u.R]=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.R="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)._};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(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._);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){plt.rel(e,t,r,false)}if(n){plt.ael(e,t,n,false)}}else{var v=isComplexType(n);if((o||v&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var d=n==null?"":n;if(t==="list"){o=false}else if(r==null||e[t]!=d){e[t]=d}}else{e[t]=n}}catch(e){}}var p=false;{if(l!==(l=l.replace(/^xlink\:?/,""))){t=l;p=true}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){if(p){e.removeAttributeNS(XLINK_NS,t)}else{e.removeAttribute(t)}}}else if((!o||i&4||a)&&!v){n=n===true?"":n;if(p){e.setAttributeNS(XLINK_NS,t,n)}else{e.setAttribute(t,n)}}}}};var parseClassListRegex=/\s/;var parseClassList=function(e){return!e?[]:e.split(parseClassListRegex)};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;var i=t.l[r];var o=0;var l;var s;var u;if(!useNativeShadowDom){checkSlotRelocate=true;if(i.m==="slot"){if(scopeId){n.classList.add(scopeId+"-s")}i.p|=i.l?2:1}}if(i.i!==null){l=i.h=doc.createTextNode(i.i)}else if(i.p&1){l=i.h=doc.createTextNode("")}else{if(!isSvgMode){isSvgMode=i.m==="svg"}l=i.h=doc.createElementNS(isSvgMode?SVG_NS:HTML_NS,i.p&2?"slot-fb":i.m);if(isSvgMode&&i.m==="foreignObject"){isSvgMode=false}{updateElement(null,i,isSvgMode)}if(isDef(scopeId)&&l["s-si"]!==scopeId){l.classList.add(l["s-si"]=scopeId)}if(i.l){for(o=0;o<i.l.length;++o){s=createElm(e,i,o,l);if(s){l.appendChild(s)}}}{if(i.m==="svg"){isSvgMode=false}else if(l.tagName==="foreignObject"){isSvgMode=true}}}{l["s-hn"]=hostTagName;if(i.p&(2|1)){l["s-sr"]=true;l["s-fs"]=(a=i.o)===null||a===void 0?void 0:a.slot;l["s-cr"]=contentRef;l["s-sn"]=i.v||"";u=e&&e.l&&e.l[r];if(u&&u.m===i.m&&e.h){putBackInOriginalLocation(e.h,false)}}}return l};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){var a=0;var i=0;var o=0;var l=0;var s=t.length-1;var u=t[0];var f=t[s];var c=n.length-1;var v=n[0];var d=n[c];var p;var m;while(a<=s&&i<=c){if(u==null){u=t[++a]}else if(f==null){f=t[--s]}else if(v==null){v=n[++i]}else if(d==null){d=n[--c]}else if(isSameVnode(u,v)){patch(u,v);u=t[++a];v=n[++i]}else if(isSameVnode(f,d)){patch(f,d);f=t[--s];d=n[--c]}else if(isSameVnode(u,d)){if(u.m==="slot"||d.m==="slot"){putBackInOriginalLocation(u.h.parentNode,false)}patch(u,d);e.insertBefore(u.h,f.h.nextSibling);u=t[++a];d=n[--c]}else if(isSameVnode(f,v)){if(u.m==="slot"||d.m==="slot"){putBackInOriginalLocation(f.h.parentNode,false)}patch(f,v);e.insertBefore(f.h,u.h);f=t[--s];v=n[++i]}else{o=-1;{for(l=a;l<=s;++l){if(t[l]&&t[l].u!==null&&t[l].u===v.u){o=l;break}}}if(o>=0){m=t[o];if(m.m!==v.m){p=createElm(t&&t[i],r,o,e)}else{patch(m,v);t[o]=undefined;p=m.h}v=n[++i]}else{p=createElm(t&&t[i],r,i,e);v=n[++i]}if(p){{parentReferenceNode(u.h).insertBefore(p,referenceNode(u.h))}}}}if(a>s){addVnodes(e,n[c+1]==null?null:n[c+1].h,r,n,i,c)}else if(i>c){removeVnodes(t,a,s)}};var isSameVnode=function(e,t){if(e.m===t.m){if(e.m==="slot"){return e.v===t.v}{return e.u===t.u}}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){var r=t.h=e.h;var n=e.l;var a=t.l;var i=t.m;var o=t.i;var l;if(o===null){{isSvgMode=i==="svg"?true:i==="foreignObject"?false:isSvgMode}{if(i==="slot");else{updateElement(e,t,isSvgMode)}}if(n!==null&&a!==null){updateChildren(r,n,t,a)}else if(a!==null){if(e.i!==null){r.textContent=""}addVnodes(r,null,t,a,0,a.length-1)}else if(n!==null){removeVnodes(n,0,n.length-1)}if(isSvgMode&&i==="svg"){isSvgMode=false}}else if(l=r["s-cr"]){l.parentNode.textContent=o}else if(e.i!==o){r.data=o}};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["s-hn"]!==a["s-hn"]||i!==""){if(s.nodeType===1&&i===s.getAttribute("slot")){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=e.$hostElement$;var a=e.k;var i=e.S||newVNode(null,null);var o=isHost(t)?t:h(null,null,t);hostTagName=n.tagName;if(a.M){o.o=o.o||{};a.M.map((function(e){var t=e[0],r=e[1];return o.o[r]=n[t]}))}if(r&&o.o){for(var l=0,s=Object.keys(o.o);l<s.length;l++){var u=s[l];if(n.hasAttribute(u)&&!["key","ref","style","class"].includes(u)){o.o[u]=n[u]}}}o.m=null;o.p|=4;e.S=o;o.h=i.h=n.shadowRoot||n;{scopeId=n["s-sc"]}{contentRef=n["s-cr"];useNativeShadowDom=(a.p&1)!==0;checkSlotFallbackVisibility=false}patch(i,o);{plt.p|=1;if(checkSlotRelocate){markSlotContentForRelocation(o.h);var f=void 0;var c=void 0;var v=void 0;var d=void 0;var p=void 0;var m=void 0;var y=0;for(;y<relocateNodes.length;y++){f=relocateNodes[y];c=f.I;if(!c["s-ol"]){v=doc.createTextNode("");v["s-nr"]=c;c.parentNode.insertBefore(c["s-ol"]=v,c)}}for(y=0;y<relocateNodes.length;y++){f=relocateNodes[y];c=f.I;var g=f.H;if(g){d=g.parentNode;p=g.nextSibling;v=c["s-ol"];while(v=v.previousSibling){m=v["s-nr"];if(m&&m["s-sn"]===c["s-sn"]&&d===m.parentNode){m=m.nextSibling;if(!m||!m["s-nr"]){p=m;break}}}if(!p&&d!==c.parentNode||c.nextSibling!==p){if(c!==p){if(!c["s-hn"]&&c["s-ol"]){c["s-hn"]=c["s-ol"].parentNode.nodeName}d.insertBefore(c,p)}}}else{if(c.nodeType===1){c.hidden=true}}}}if(checkSlotFallbackVisibility){updateFallbackSlotVisibility(o.h)}plt.p&=~1;relocateNodes.length=0}};var attachToAncestor=function(e,t){if(t&&!e.A&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.A=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.P){e.P.map((function(e){var t=e[0],r=e[1];return safeCall(n,t,r)}));e.P=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.F(r);if(!i){appDidLoad()}}}else{{safeCall(a,"componentDidUpdate")}n()}{e.q(r)}{if(e.A){e.A();e.A=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).U.get(t)};var setValue=function(e,t,r,n){var a=getHostRef(e);var i=a.$hostElement$;var o=a.U.get(t);var l=a.p;var s=a.V;r=parsePropertyValue(r,n.Y[t][0]);var u=Number.isNaN(o)&&Number.isNaN(r);var f=r!==o&&!u;if((!(l&8)||o===undefined)&&f){a.U.set(t,r);if(s){if(n.j&&l&128){var c=n.j[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;if(t.Y){if(e.watchers){t.j=e.watchers}var a=Object.entries(t.Y);var i=e.prototype;a.map((function(e){var n=e[0],a=e[1][0];if(a&31||r&2&&a&32){Object.defineProperty(i,n,{get:function(){return getValue(this,n)},set:function(e){setValue(this,n,e,t)},configurable:true,enumerable:true})}else if(r&1&&a&64){Object.defineProperty(i,n,{value:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var r=getHostRef(this);return r.B.then((function(){var t;return(t=r.V)[n].apply(t,e)}))}})}}));if(r&1){var o=new Map;i.attributeChangedCallback=function(e,r,n){var a=this;plt.jmp((function(){var l=o.get(e);if(a.hasOwnProperty(l)){n=a[l];delete a[l]}else if(i.hasOwnProperty(l)&&typeof a[l]==="number"&&a[l]==n){return}else if(l==null){var s=getHostRef(a);var u=s===null||s===void 0?void 0:s.p;if(!(u&8)&&u&128&&n!==r){var f=s.V;var c=t.j[e];c===null||c===void 0?void 0:c.forEach((function(t){if(f[t]!=null){f[t].call(f,n,r,e)}}))}return}a[l]=n===null&&typeof a[l]==="boolean"?false:n}))};e.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((n=t.j)!==null&&n!==void 0?n:{}),true),a.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=n[1]||r;o.set(a,r);if(n[0]&512){t.M.push([r,a])}return a})),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.j=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._=computeMode(e)]}l=getScopeId(r,t._);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.Y){Object.entries(r.Y).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)}}e.map((function(e){e[1].map((function(t){var r;var n={p:t[0],L:t[1],Y:t[2],W:t[3]};{n.Y=t[2]}{n.W=t[3]}{n.M=[]}{n.j=(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))}}))}));{u.innerHTML=a+HYDRATED_CSS;u.setAttribute("data-styles","");var m=(r=plt.N)!==null&&r!==void 0?r:queryNonceMetaTagContent(doc);if(m!=null){u.setAttribute("nonce",m)}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.P=e.P||[]).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(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,U:new Map};{r.B=new Promise((function(e){return r.q=e}))}{r.X=new Promise((function(e){return r.F=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
|
-
/*!__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 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};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import{c as createAnimation}from"./animation-8aa13916.js";import{g as getIonPageElement}from"./index-6c73dc54.js";import"./index-7a14ecec.js";import"./helpers-3379ba19.js";import"./index-944910da.js";var mdTransitionAnimation=function(a,i){var n,e,t;var r="40px";var o="0px";var m=i.direction==="back";var c=i.enteringEl;var s=i.leavingEl;var l=getIonPageElement(c);var v=l.querySelector("ion-toolbar");var p=createAnimation();p.addElement(l).fill("both").beforeRemoveClass("ion-page-invisible");if(m){p.duration(((n=i.duration)!==null&&n!==void 0?n:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)")}else{p.duration(((e=i.duration)!==null&&e!==void 0?e:0)||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform","translateY(".concat(r,")"),"translateY(".concat(o,")")).fromTo("opacity",.01,1)}if(v){var b=createAnimation();b.addElement(v);p.addAnimation(b)}if(s&&m){p.duration(((t=i.duration)!==null&&t!==void 0?t:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");var d=createAnimation();d.addElement(getIonPageElement(s)).onFinish((function(a){if(a===1&&d.elements.length>0){d.elements[0].style.setProperty("display","none")}})).fromTo("transform","translateY(".concat(o,")"),"translateY(".concat(r,")")).fromTo("opacity",1,0);p.addAnimation(d)}return p};export{mdTransitionAnimation};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
var __extends=this&&this.__extends||function(){var r=function(e,n){r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,e){r.__proto__=e}||function(r,e){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))r[n]=e[n]};return r(e,n)};return function(e,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");r(e,n);function t(){this.constructor=e}e.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}}();var __awaiter=this&&this.__awaiter||function(r,e,n,t){function i(r){return r instanceof n?r:new n((function(e){e(r)}))}return new(n||(n=Promise))((function(n,a){function f(r){try{o(t.next(r))}catch(r){a(r)}}function u(r){try{o(t["throw"](r))}catch(r){a(r)}}function o(r){r.done?n(r.value):i(r.value).then(f,u)}o((t=t.apply(r,e||[])).next())}))};var __generator=this&&this.__generator||function(r,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},t,i,a,f;return f={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(f[Symbol.iterator]=function(){return this}),f;function u(r){return function(e){return o([r,e])}}function o(u){if(t)throw new TypeError("Generator is already executing.");while(f&&(f=0,u[0]&&(n=0)),n)try{if(t=1,i&&(a=u[0]&2?i["return"]:u[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;if(i=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;i=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){n.label=u[1];break}if(u[0]===6&&n.label<a[1]){n.label=a[1];a=u;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(u);break}if(a[2])n.ops.pop();n.trys.pop();continue}u=e.call(r,n)}catch(r){u=[6,r];i=0}finally{t=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(r,e,n){if(n||arguments.length===2)for(var t=0,i=e.length,a;t<i;t++){if(a||!(t in e)){if(!a)a=Array.prototype.slice.call(e,0,t);a[t]=e[t]}}return r.concat(a||Array.prototype.slice.call(e))};
|
|
2
|
-
/*!
|
|
3
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/System.register([],(function(r,e){"use strict";return{execute:function(){var n=this;var t="ionic";var i={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,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 a;var f;var u;var o=false;var l=false;var v=false;var s=false;var c=false;var d=r("B",{isDev:false,isBrowser:true,isServer:false,isTesting:false});var h=r("j",(function(r){var e=new URL(r,ae.t);return e.origin!==te.location.origin?e.href:e.pathname}));var p=function(r,e){if(e===void 0){e=""}{return function(){return}}};var $=function(r,e){{return function(){return}}};var y="r";var m="o";var b="s";var w="t";var g="s-id";var _="sty-id";var S="c-id";var k="{visibility:hidden}.hydrated{visibility:inherit}";var x="http://www.w3.org/1999/xlink";var j={};var C="http://www.w3.org/2000/svg";var O="http://www.w3.org/1999/xhtml";var T=function(r){return r!=null};var A=function(r){r=typeof r;return r==="object"||r==="function"};function L(r){var e,n,t;return(t=(n=(e=r.head)===null||e===void 0?void 0:e.querySelector('meta[name="csp-nonce"]'))===null||n===void 0?void 0:n.getAttribute("content"))!==null&&t!==void 0?t:undefined}var D=r("h",(function(r,e){var n=[];for(var t=2;t<arguments.length;t++){n[t-2]=arguments[t]}var i=null;var a=null;var f=null;var u=false;var o=false;var l=[];var v=function(e){for(var n=0;n<e.length;n++){i=e[n];if(Array.isArray(i)){v(i)}else if(i!=null&&typeof i!=="boolean"){if(u=typeof r!=="function"&&!A(i)){i=String(i)}if(u&&o){l[l.length-1].i+=i}else{l.push(u?R(null,i):i)}o=u}}};v(n);if(e){if(e.key){a=e.key}if(e.name){f=e.name}{var s=e.className||e.class;if(s){e.class=typeof s!=="object"?s:Object.keys(s).filter((function(r){return s[r]})).join(" ")}}}if(typeof r==="function"){return r(e===null?{}:e,l,P)}var c=R(r,null);c.u=e;if(l.length>0){c.o=l}{c.l=a}{c.v=f}return c}));var R=function(r,e){var n={h:0,p:r,i:e,$:null,o:null};{n.u=null}{n.l=null}{n.v=null}return n};var F=r("H",{});var M=function(r){return r&&r.p===F};var P={forEach:function(r,e){return r.map(U).forEach(e)},map:function(r,e){return r.map(U).map(e).map(N)}};var U=function(r){return{vattrs:r.u,vchildren:r.o,vkey:r.l,vname:r.v,vtag:r.p,vtext:r.i}};var N=function(r){if(typeof r.vtag==="function"){var e=Object.assign({},r.vattrs);if(r.vkey){e.key=r.vkey}if(r.vname){e.name=r.vname}return D.apply(void 0,__spreadArray([r.vtag,e],r.vchildren||[],false))}var n=R(r.vtag,r.vtext);n.u=r.vattrs;n.o=r.vchildren;n.l=r.vkey;n.v=r.vname;return n};var W=function(r,e,n,t){var i=p("hydrateClient",e);var a=r.shadowRoot;var f=[];var u=[];var o=a?[]:null;var l=t.m=R(e,null);if(!ae._){I(ie.body,ae._=new Map)}r[g]=n;r.removeAttribute(g);E(l,f,u,o,r,r,n);f.map((function(r){var n=r.S+"."+r.k;var t=ae._.get(n);var i=r.$;if(t&&ue&&t["s-en"]===""){t.parentNode.insertBefore(i,t.nextSibling)}if(!a){i["s-hn"]=e;if(t){i["s-ol"]=t;i["s-ol"]["s-nr"]=i}}ae._.delete(n)}));if(a){o.map((function(r){if(r){a.appendChild(r)}}))}i()};var E=function(r,e,n,t,i,a,f){var u;var o;var l;var v;if(a.nodeType===1){u=a.getAttribute(S);if(u){o=u.split(".");if(o[0]===f||o[0]==="0"){l={h:0,S:o[0],k:o[1],j:o[2],C:o[3],p:a.tagName.toLowerCase(),$:a,u:null,o:null,l:null,v:null,i:null};e.push(l);a.removeAttribute(S);if(!r.o){r.o=[]}r.o[l.C]=l;r=l;if(t&&l.j==="0"){t[l.C]=l.$}}}for(v=a.childNodes.length-1;v>=0;v--){E(r,e,n,t,i,a.childNodes[v],f)}if(a.shadowRoot){for(v=a.shadowRoot.childNodes.length-1;v>=0;v--){E(r,e,n,t,i,a.shadowRoot.childNodes[v],f)}}}else if(a.nodeType===8){o=a.nodeValue.split(".");if(o[1]===f||o[1]==="0"){u=o[0];l={h:0,S:o[1],k:o[2],j:o[3],C:o[4],$:a,u:null,o:null,l:null,v:null,p:null,i:null};if(u===w){l.$=a.nextSibling;if(l.$&&l.$.nodeType===3){l.i=l.$.textContent;e.push(l);a.remove();if(!r.o){r.o=[]}r.o[l.C]=l;if(t&&l.j==="0"){t[l.C]=l.$}}}else if(l.S===f){if(u===b){l.p="slot";if(o[5]){a["s-sn"]=l.v=o[5]}else{a["s-sn"]=""}a["s-sr"]=true;if(t){l.$=ie.createElement(l.p);if(l.v){l.$.setAttribute("name",l.v)}a.parentNode.insertBefore(l.$,a);a.remove();if(l.j==="0"){t[l.C]=l.$}}n.push(l);if(!r.o){r.o=[]}r.o[l.C]=l}else if(u===y){if(t){a.remove()}else{i["s-cr"]=a;a["s-cn"]=true}}}}}else if(r&&r.p==="style"){var s=R(null,a.textContent);s.$=a;s.C="0";r.o=[s]}};var I=function(r,e){if(r.nodeType===1){var n=0;for(;n<r.childNodes.length;n++){I(r.childNodes[n],e)}if(r.shadowRoot){for(n=0;n<r.shadowRoot.childNodes.length;n++){I(r.shadowRoot.childNodes[n],e)}}}else if(r.nodeType===8){var t=r.nodeValue.split(".");if(t[0]===m){e.set(t[1]+"."+t[2],r);r.nodeValue="";r["s-en"]=t[3]}}};var B=function(r){return ne.map((function(e){return e(r)})).find((function(r){return!!r}))};var z=r("c",(function(r){return ne.push(r)}));var H=r("g",(function(r){return Kr(r).O}));var Q=function(r,e){if(r!=null&&!A(r)){if(e&4){return r==="false"?false:r===""||!!r}if(e&2){return parseFloat(r)}if(e&1){return String(r)}return r}return r};var q=r("f",(function(r){return Kr(r).$hostElement$}));var G=r("d",(function(r,e,n){var t=q(r);return{emit:function(r){return K(t,e,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:r})}}}));var K=function(r,e,n){var t=ae.ce(e,n);r.dispatchEvent(t);return t};var V=new WeakMap;var X=function(r,e,n){var t=ee.get(r);if(le&&n){t=t||new CSSStyleSheet;if(typeof t==="string"){t=e}else{t.replaceSync(e)}}else{t=e}ee.set(r,t)};var J=function(r,e,n){var t;var i=Z(e,n);var a=ee.get(i);r=r.nodeType===11?r:ie;if(a){if(typeof a==="string"){r=r.head||r;var f=V.get(r);var u=void 0;if(!f){V.set(r,f=new Set)}if(!f.has(i)){if(r.host&&(u=r.querySelector("[".concat(_,'="').concat(i,'"]')))){u.innerHTML=a}else{u=ie.createElement("style");u.innerHTML=a;var o=(t=ae.T)!==null&&t!==void 0?t:L(ie);if(o!=null){u.setAttribute("nonce",o)}r.insertBefore(u,r.querySelector("link"))}if(f){f.add(i)}}}else if(!r.adoptedStyleSheets.includes(a)){r.adoptedStyleSheets=__spreadArray(__spreadArray([],r.adoptedStyleSheets,true),[a],false)}}return i};var Y=function(r){var e=r.A;var n=r.$hostElement$;var t=e.h;var i=p("attachStyles",e.L);var a=J(n.shadowRoot?n.shadowRoot:n.getRootNode(),e,r.O);if(t&10){n["s-sc"]=a;n.classList.add(a+"-h");if(t&2){n.classList.add(a+"-s")}}i()};var Z=function(r,e){return"sc-"+(e&&r.h&32?r.L+"-"+e:r.L)};var rr=function(r){return r.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{")};var er=function(r,e,n,t,i,a){if(n!==t){var f=Jr(r,e);var u=e.toLowerCase();if(e==="class"){var o=r.classList;var l=tr(n);var v=tr(t);o.remove.apply(o,l.filter((function(r){return r&&!v.includes(r)})));o.add.apply(o,v.filter((function(r){return r&&!l.includes(r)})))}else if(e==="style"){{for(var s in n){if(!t||t[s]==null){if(s.includes("-")){r.style.removeProperty(s)}else{r.style[s]=""}}}}for(var s in t){if(!n||t[s]!==n[s]){if(s.includes("-")){r.style.setProperty(s,t[s])}else{r.style[s]=t[s]}}}}else if(e==="key");else if(e==="ref"){if(t){t(r)}}else if(!f&&e[0]==="o"&&e[1]==="n"){if(e[2]==="-"){e=e.slice(3)}else if(Jr(te,u)){e=u.slice(2)}else{e=u[2]+e.slice(3)}if(n){ae.rel(r,e,n,false)}if(t){ae.ael(r,e,t,false)}}else{var c=A(t);if((f||c&&t!==null)&&!i){try{if(!r.tagName.includes("-")){var d=t==null?"":t;if(e==="list"){f=false}else if(n==null||r[e]!=d){r[e]=d}}else{r[e]=t}}catch(r){}}var h=false;{if(u!==(u=u.replace(/^xlink\:?/,""))){e=u;h=true}}if(t==null||t===false){if(t!==false||r.getAttribute(e)===""){if(h){r.removeAttributeNS(x,e)}else{r.removeAttribute(e)}}}else if((!f||a&4||i)&&!c){t=t===true?"":t;if(h){r.setAttributeNS(x,e,t)}else{r.setAttribute(e,t)}}}}};var nr=/\s/;var tr=function(r){return!r?[]:r.split(nr)};var ir=function(r,e,n,t){var i=e.$.nodeType===11&&e.$.host?e.$.host:e.$;var a=r&&r.u||j;var f=e.u||j;{for(t in a){if(!(t in f)){er(i,t,a[t],undefined,n,e.h)}}}for(t in f){er(i,t,a[t],f[t],n,e.h)}};var ar=function(r,e,n,t){var i;var l=e.o[n];var c=0;var d;var h;var p;if(!o){v=true;if(l.p==="slot"){if(a){t.classList.add(a+"-s")}l.h|=l.o?2:1}}if(l.i!==null){d=l.$=ie.createTextNode(l.i)}else if(l.h&1){d=l.$=ie.createTextNode("")}else{if(!s){s=l.p==="svg"}d=l.$=ie.createElementNS(s?C:O,l.h&2?"slot-fb":l.p);if(s&&l.p==="foreignObject"){s=false}{ir(null,l,s)}if(T(a)&&d["s-si"]!==a){d.classList.add(d["s-si"]=a)}if(l.o){for(c=0;c<l.o.length;++c){h=ar(r,l,c,d);if(h){d.appendChild(h)}}}{if(l.p==="svg"){s=false}else if(d.tagName==="foreignObject"){s=true}}}{d["s-hn"]=u;if(l.h&(2|1)){d["s-sr"]=true;d["s-fs"]=(i=l.u)===null||i===void 0?void 0:i.slot;d["s-cr"]=f;d["s-sn"]=l.v||"";p=r&&r.o&&r.o[n];if(p&&p.p===l.p&&r.$){fr(r.$,false)}}}return d};var fr=function(r,e){ae.h|=1;var n=r.childNodes;for(var t=n.length-1;t>=0;t--){var i=n[t];if(i["s-hn"]!==u&&i["s-ol"]){cr(i).insertBefore(i,sr(i));i["s-ol"].remove();i["s-ol"]=undefined;i["s-sh"]=undefined;v=true}if(e){fr(i,e)}}ae.h&=~1};var ur=function(r,e,n,t,i,a){var f=r["s-cr"]&&r["s-cr"].parentNode||r;var o;if(f.shadowRoot&&f.tagName===u){f=f.shadowRoot}for(;i<=a;++i){if(t[i]){o=ar(null,n,i,r);if(o){t[i].$=o;f.insertBefore(o,sr(e))}}}};var or=function(r,e,n){for(var t=e;t<=n;++t){var i=r[t];if(i){var a=i.$;mr(i);if(a){{l=true;if(a["s-ol"]){a["s-ol"].remove()}else{fr(a,true)}}a.remove()}}}};var lr=function(r,e,n,t){var i=0;var a=0;var f=0;var u=0;var o=e.length-1;var l=e[0];var v=e[o];var s=t.length-1;var c=t[0];var d=t[s];var h;var p;while(i<=o&&a<=s){if(l==null){l=e[++i]}else if(v==null){v=e[--o]}else if(c==null){c=t[++a]}else if(d==null){d=t[--s]}else if(vr(l,c)){dr(l,c);l=e[++i];c=t[++a]}else if(vr(v,d)){dr(v,d);v=e[--o];d=t[--s]}else if(vr(l,d)){if(l.p==="slot"||d.p==="slot"){fr(l.$.parentNode,false)}dr(l,d);r.insertBefore(l.$,v.$.nextSibling);l=e[++i];d=t[--s]}else if(vr(v,c)){if(l.p==="slot"||d.p==="slot"){fr(v.$.parentNode,false)}dr(v,c);r.insertBefore(v.$,l.$);v=e[--o];c=t[++a]}else{f=-1;{for(u=i;u<=o;++u){if(e[u]&&e[u].l!==null&&e[u].l===c.l){f=u;break}}}if(f>=0){p=e[f];if(p.p!==c.p){h=ar(e&&e[a],n,f,r)}else{dr(p,c);e[f]=undefined;h=p.$}c=t[++a]}else{h=ar(e&&e[a],n,a,r);c=t[++a]}if(h){{cr(l.$).insertBefore(h,sr(l.$))}}}}if(i>o){ur(r,t[s+1]==null?null:t[s+1].$,n,t,a,s)}else if(a>s){or(e,i,o)}};var vr=function(r,e){if(r.p===e.p){if(r.p==="slot"){return r.v===e.v}{return r.l===e.l}}return false};var sr=function(r){return r&&r["s-ol"]||r};var cr=function(r){return(r["s-ol"]?r["s-ol"]:r).parentNode};var dr=function(r,e){var n=e.$=r.$;var t=r.o;var i=e.o;var a=e.p;var f=e.i;var u;if(f===null){{s=a==="svg"?true:a==="foreignObject"?false:s}{if(a==="slot");else{ir(r,e,s)}}if(t!==null&&i!==null){lr(n,t,e,i)}else if(i!==null){if(r.i!==null){n.textContent=""}ur(n,null,e,i,0,i.length-1)}else if(t!==null){or(t,0,t.length-1)}if(s&&a==="svg"){s=false}}else if(u=n["s-cr"]){u.parentNode.textContent=f}else if(r.i!==f){n.data=f}};var hr=function(r){var e=r.childNodes;for(var n=0,t=e;n<t.length;n++){var i=t[n];if(i.nodeType===1){if(i["s-sr"]){var a=i["s-sn"];i.hidden=false;for(var f=0,u=e;f<u.length;f++){var o=u[f];if(o["s-hn"]!==i["s-hn"]||a!==""){if(o.nodeType===1&&a===o.getAttribute("slot")){i.hidden=true;break}}else{if(o.nodeType===1||o.nodeType===3&&o.textContent.trim()!==""){i.hidden=true;break}}}}hr(i)}}};var pr=[];var $r=function(r){var e;var n;var t;for(var a=0,f=r.childNodes;a<f.length;a++){var u=f[a];if(u["s-sr"]&&(e=u["s-cr"])&&e.parentNode){n=e.parentNode.childNodes;var o=u["s-sn"];var v=function(){e=n[t];if(!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==u["s-hn"]&&!i.experimentalSlotFixes){if(yr(e,o)){var r=pr.find((function(r){return r.D===e}));l=true;e["s-sn"]=e["s-sn"]||o;if(r){r.D["s-sh"]=u["s-hn"];r.R=u}else{e["s-sh"]=u["s-hn"];pr.push({R:u,D:e})}if(e["s-sr"]){pr.map((function(n){if(yr(n.D,e["s-sn"])){r=pr.find((function(r){return r.D===e}));if(r&&!n.R){n.R=r.R}}}))}}else if(!pr.some((function(r){return r.D===e}))){pr.push({D:e})}}};for(t=n.length-1;t>=0;t--){v()}}if(u.nodeType===1){$r(u)}}};var yr=function(r,e){if(r.nodeType===1){if(r.getAttribute("slot")===null&&e===""){return true}if(r.getAttribute("slot")===e){return true}return false}if(r["s-sn"]===e){return true}return e===""};var mr=function(r){{r.u&&r.u.ref&&r.u.ref(null);r.o&&r.o.map(mr)}};var br=function(r,e,n){if(n===void 0){n=false}var t=r.$hostElement$;var i=r.A;var s=r.m||R(null,null);var c=M(e)?e:D(null,null,e);u=t.tagName;if(i.F){c.u=c.u||{};i.F.map((function(r){var e=r[0],n=r[1];return c.u[n]=t[e]}))}if(n&&c.u){for(var d=0,h=Object.keys(c.u);d<h.length;d++){var p=h[d];if(t.hasAttribute(p)&&!["key","ref","style","class"].includes(p)){c.u[p]=t[p]}}}c.p=null;c.h|=4;r.m=c;c.$=s.$=t.shadowRoot||t;{a=t["s-sc"]}{f=t["s-cr"];o=(i.h&1)!==0;l=false}dr(s,c);{ae.h|=1;if(v){$r(c.$);var $=void 0;var y=void 0;var m=void 0;var b=void 0;var w=void 0;var g=void 0;var _=0;for(;_<pr.length;_++){$=pr[_];y=$.D;if(!y["s-ol"]){m=ie.createTextNode("");m["s-nr"]=y;y.parentNode.insertBefore(y["s-ol"]=m,y)}}for(_=0;_<pr.length;_++){$=pr[_];y=$.D;var S=$.R;if(S){b=S.parentNode;w=S.nextSibling;m=y["s-ol"];while(m=m.previousSibling){g=m["s-nr"];if(g&&g["s-sn"]===y["s-sn"]&&b===g.parentNode){g=g.nextSibling;if(!g||!g["s-nr"]){w=g;break}}}if(!w&&b!==y.parentNode||y.nextSibling!==w){if(y!==w){if(!y["s-hn"]&&y["s-ol"]){y["s-hn"]=y["s-ol"].parentNode.nodeName}b.insertBefore(y,w)}}}else{if(y.nodeType===1){y.hidden=true}}}}if(l){hr(c.$)}ae.h&=~1;pr.length=0}};var wr=function(r,e){if(e&&!r.M&&e["s-p"]){e["s-p"].push(new Promise((function(e){return r.M=e})))}};var gr=function(r,e){{r.h|=16}if(r.h&4){r.h|=512;return}wr(r,r.P);var n=function(){return _r(r,e)};return ye(n)};var _r=function(r,e){var n=p("scheduleUpdate",r.A.L);var t=r.U;var i;if(e){{r.h|=256;if(r.N){r.N.map((function(r){var e=r[0],n=r[1];return Ar(t,e,n)}));r.N=undefined}}{i=Ar(t,"componentWillLoad")}}{i=Sr(i,(function(){return Ar(t,"componentWillRender")}))}n();return Sr(i,(function(){return xr(r,t,e)}))};var Sr=function(r,e){return kr(r)?r.then(e):e()};var kr=function(r){return r instanceof Promise||r&&r.then&&typeof r.then==="function"};var xr=function(r,e,t){return __awaiter(n,void 0,void 0,(function(){var n,i,a,f,u,o,l;return __generator(this,(function(v){i=r.$hostElement$;a=p("update",r.A.L);f=i["s-rc"];if(t){Y(r)}u=p("render",r.A.L);{jr(r,e,i,t)}if(f){f.map((function(r){return r()}));i["s-rc"]=undefined}u();a();{o=(n=i["s-p"])!==null&&n!==void 0?n:[];l=function(){return Cr(r)};if(o.length===0){l()}else{Promise.all(o).then(l);r.h|=4;o.length=0}}return[2]}))}))};var jr=function(r,e,n,t){try{e=e.render&&e.render();{r.h&=~16}{r.h|=2}{{{br(r,e,t)}}}}catch(e){Yr(e,r.$hostElement$)}return null};var Cr=function(r){var e=r.A.L;var n=r.$hostElement$;var t=p("postUpdate",e);var i=r.U;var a=r.P;{Ar(i,"componentDidRender")}if(!(r.h&64)){r.h|=64;{Lr(n)}{Ar(i,"componentDidLoad")}t();{r.W(n);if(!a){Tr()}}}else{{Ar(i,"componentDidUpdate")}t()}{r.I(n)}{if(r.M){r.M();r.M=undefined}if(r.h&512){pe((function(){return gr(r,false)}))}r.h&=~(4|512)}};var Or=r("i",(function(r){{var e=Kr(r);var n=e.$hostElement$.isConnected;if(n&&(e.h&(2|16))===2){gr(e,false)}return n}}));var Tr=function(r){{Lr(ie.documentElement)}pe((function(){return K(te,"appload",{detail:{namespace:t}})}))};var Ar=function(r,e,n){if(r&&r[e]){try{return r[e](n)}catch(r){Yr(r)}}return undefined};var Lr=function(r){return r.classList.add("hydrated")};var Dr=function(r,e){return Kr(r).B.get(e)};var Rr=function(r,e,n,t){var i=Kr(r);var a=i.$hostElement$;var f=i.B.get(e);var u=i.h;var o=i.U;n=Q(n,t.H[e][0]);var l=Number.isNaN(f)&&Number.isNaN(n);var v=n!==f&&!l;if((!(u&8)||f===undefined)&&v){i.B.set(e,n);if(o){if(t.q&&u&128){var s=t.q[e];if(s){s.map((function(r){try{o[r](n,f,e)}catch(r){Yr(r,a)}}))}}if((u&(2|16))===2){gr(i,false)}}}};var Fr=function(r,e,n){var t;if(e.H){if(r.watchers){e.q=r.watchers}var i=Object.entries(e.H);var a=r.prototype;i.map((function(r){var t=r[0],i=r[1][0];if(i&31||n&2&&i&32){Object.defineProperty(a,t,{get:function(){return Dr(this,t)},set:function(r){Rr(this,t,r,e)},configurable:true,enumerable:true})}else if(n&1&&i&64){Object.defineProperty(a,t,{value:function(){var r=[];for(var e=0;e<arguments.length;e++){r[e]=arguments[e]}var n=Kr(this);return n.G.then((function(){var e;return(e=n.U)[t].apply(e,r)}))}})}}));if(n&1){var f=new Map;a.attributeChangedCallback=function(r,n,t){var i=this;ae.jmp((function(){var u=f.get(r);if(i.hasOwnProperty(u)){t=i[u];delete i[u]}else if(a.hasOwnProperty(u)&&typeof i[u]==="number"&&i[u]==t){return}else if(u==null){var o=Kr(i);var l=o===null||o===void 0?void 0:o.h;if(!(l&8)&&l&128&&t!==n){var v=o.U;var s=e.q[r];s===null||s===void 0?void 0:s.forEach((function(e){if(v[e]!=null){v[e].call(v,t,n,r)}}))}return}i[u]=t===null&&typeof i[u]==="boolean"?false:t}))};r.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((t=e.q)!==null&&t!==void 0?t:{}),true),i.filter((function(r){var e=r[0],n=r[1];return n[0]&15})).map((function(r){var n=r[0],t=r[1];var i=t[1]||n;f.set(i,n);if(t[0]&512){e.F.push([n,i])}return i})),true)))}}return r};var Mr=function(r,e,t,i){return __awaiter(n,void 0,void 0,(function(){var n,i,a,f,u,o,l,v;return __generator(this,(function(s){switch(s.label){case 0:if(!((e.h&32)===0))return[3,3];e.h|=32;n=re(t);if(!n.then)return[3,2];i=$();return[4,n];case 1:n=s.sent();i();s.label=2;case 2:if(!n.isProxied){{t.q=n.watchers}Fr(n,t,2);n.isProxied=true}a=p("createInstance",t.L);{e.h|=8}try{new n(e)}catch(r){Yr(r)}{e.h&=~8}{e.h|=128}a();Pr(e.U);if(n.style){f=n.style;if(typeof f!=="string"){f=f[e.O=B(r)]}u=Z(t,e.O);if(!ee.has(u)){o=p("registerStyles",t.L);X(u,f,!!(t.h&1));o()}}s.label=3;case 3:l=e.P;v=function(){return gr(e,true)};if(l&&l["s-rc"]){l["s-rc"].push(v)}else{v()}return[2]}}))}))};var Pr=function(r){{Ar(r,"connectedCallback")}};var Ur=function(r){if((ae.h&1)===0){var e=Kr(r);var n=e.A;var t=p("connectedCallback",n.L);if(!(e.h&1)){e.h|=1;var i=void 0;{i=r.getAttribute(g);if(i){if(n.h&1){var a=J(r.shadowRoot,n,r.getAttribute("s-mode"));r.classList.remove(a+"-h",a+"-s")}W(r,n.L,i,e)}}if(!i){if(n.h&(4|8)){Nr(r)}}{var f=r;while(f=f.parentNode||f.host){if(f.nodeType===1&&f.hasAttribute("s-id")&&f["s-p"]||f["s-p"]){wr(e,e.P=f);break}}}if(n.H){Object.entries(n.H).map((function(e){var n=e[0],t=e[1][0];if(t&31&&r.hasOwnProperty(n)){var i=r[n];delete r[n];r[n]=i}}))}{Mr(r,e,n)}}else{Br(r,e,n.K);if(e===null||e===void 0?void 0:e.U){Pr(e.U)}else if(e===null||e===void 0?void 0:e.V){e.V.then((function(){return Pr(e.U)}))}}t()}};var Nr=function(r){var e=r["s-cr"]=ie.createComment("");e["s-cn"]=true;r.insertBefore(e,r.firstChild)};var Wr=function(r){{Ar(r,"disconnectedCallback")}};var Er=function(r){return __awaiter(n,void 0,void 0,(function(){var e;return __generator(this,(function(n){if((ae.h&1)===0){e=Kr(r);{if(e.X){e.X.map((function(r){return r()}));e.X=undefined}}if(e===null||e===void 0?void 0:e.U){Wr(e.U)}else if(e===null||e===void 0?void 0:e.V){e.V.then((function(){return Wr(e.U)}))}}return[2]}))}))};var Ir=r("b",(function(r,e){if(e===void 0){e={}}var n;var t=p();var i=[];var a=e.exclude||[];var f=te.customElements;var u=ie.head;var o=u.querySelector("meta[charset]");var l=ie.createElement("style");var v=[];var s=ie.querySelectorAll("[".concat(_,"]"));var c;var d=true;var h=0;Object.assign(ae,e);ae.t=new URL(e.resourcesUrl||"./",ie.baseURI).href;{ae.h|=2}{for(;h<s.length;h++){X(s[h].getAttribute(_),rr(s[h].innerHTML),true)}}r.map((function(r){r[1].map((function(e){var n;var t={h:e[0],L:e[1],H:e[2],K:e[3]};{t.H=e[2]}{t.K=e[3]}{t.F=[]}{t.q=(n=e[4])!==null&&n!==void 0?n:{}}var u=t.L;var o=function(r){__extends(e,r);function e(e){var n=r.call(this,e)||this;e=n;Xr(e,t);if(t.h&1){{{e.attachShadow({mode:"open",delegatesFocus:!!(t.h&16)})}}}return n}e.prototype.connectedCallback=function(){var r=this;if(c){clearTimeout(c);c=null}if(d){v.push(this)}else{ae.jmp((function(){return Ur(r)}))}};e.prototype.disconnectedCallback=function(){var r=this;ae.jmp((function(){return Er(r)}))};e.prototype.componentOnReady=function(){return Kr(this).V};return e}(HTMLElement);t.J=r[0];if(!a.includes(u)&&!f.get(u)){i.push(u);f.define(u,Fr(o,t,1))}}))}));{l.innerHTML=i+k;l.setAttribute("data-styles","");var $=(n=ae.T)!==null&&n!==void 0?n:L(ie);if($!=null){l.setAttribute("nonce",$)}u.insertBefore(l,o?o.nextSibling:u.firstChild)}d=false;if(v.length){v.map((function(r){return r.connectedCallback()}))}else{{ae.jmp((function(){return c=setTimeout(Tr,30)}))}}t()}));var Br=function(r,e,n,t){if(n){n.map((function(n){var t=n[0],i=n[1],a=n[2];var f=Hr(r,t);var u=zr(e,a);var o=Qr(t);ae.ael(f,i,u,o);(e.X=e.X||[]).push((function(){return ae.rel(f,i,u,o)}))}))}};var zr=function(r,e){return function(n){try{{if(r.h&256){r.U[e](n)}else{(r.N=r.N||[]).push([e,n])}}}catch(r){Yr(r)}}};var Hr=function(r,e){if(e&4)return ie;if(e&8)return te;if(e&16)return ie.body;return r};var Qr=function(r){return(r&2)!==0};var qr=r("s",(function(r){return ae.T=r}));var Gr=new WeakMap;var Kr=function(r){return Gr.get(r)};var Vr=r("r",(function(r,e){return Gr.set(e.U=r,e)}));var Xr=function(r,e){var n={h:0,$hostElement$:r,A:e,B:new Map};{n.G=new Promise((function(r){return n.I=r}))}{n.V=new Promise((function(r){return n.W=r}));r["s-p"]=[];r["s-rc"]=[]}Br(r,n,e.K);return Gr.set(r,n)};var Jr=function(r,e){return e in r};var Yr=function(r,e){return(0,console.error)(r,e)};var Zr=new Map;var re=function(r,n,t){var i=r.L.replace(/-/g,"_");var a=r.J;var f=Zr.get(a);if(f){return f[i]}
|
|
5
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return e.import("./".concat(a,".entry.js").concat("")).then((function(r){{Zr.set(a,r)}return r[i]}),Yr)};var ee=new Map;var ne=[];var te=typeof window!=="undefined"?window:{};var ie=te.document||{head:{}};var ae={h:0,t:"",jmp:function(r){return r()},raf:function(r){return requestAnimationFrame(r)},ael:function(r,e,n,t){return r.addEventListener(e,n,t)},rel:function(r,e,n,t){return r.removeEventListener(e,n,t)},ce:function(r,e){return new CustomEvent(r,e)}};var fe=r("a",(function(r){Object.assign(ae,r)}));var ue=true;var oe=r("p",(function(r){return Promise.resolve(r)}));var le=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(r){}return false}();var ve=[];var se=[];var ce=function(r,e){return function(n){r.push(n);if(!c){c=true;if(e&&ae.h&4){pe(he)}else{ae.raf(he)}}}};var de=function(r){for(var e=0;e<r.length;e++){try{r[e](performance.now())}catch(r){Yr(r)}}r.length=0};var he=function(){de(ve);{de(se);if(c=ve.length>0){ae.raf(he)}}};var pe=function(r){return oe().then(r)};var $e=r("e",ce(ve,false));var ye=r("w",ce(se,true))}}}));
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import{r as t,d as o,f as n,h as i,H as e}from"./p-b0f8f55c.js";import{c as r,q as s}from"./p-63eb0acd.js";import{o as c,c as a}from"./p-1d072d3d.js";import{b as h}from"./p-f91f01c7.js";const u=class{constructor(n){t(this,n),this.ionRouteDataChanged=o(this,"ionRouteDataChanged",7),this.url="",this.component=void 0,this.componentProps=void 0,this.beforeLeave=void 0,this.beforeEnter=void 0}onUpdate(t){this.ionRouteDataChanged.emit(t)}onComponentProps(t,o){if(t===o)return;const n=t?Object.keys(t):[],i=o?Object.keys(o):[];if(n.length===i.length){for(const i of n)if(t[i]!==o[i])return void this.onUpdate(t)}else this.onUpdate(t)}connectedCallback(){this.ionRouteDataChanged.emit()}static get watchers(){return{url:["onUpdate"],component:["onUpdate"],componentProps:["onComponentProps"]}}},l=class{constructor(n){t(this,n),this.ionRouteRedirectChanged=o(this,"ionRouteRedirectChanged",7),this.from=void 0,this.to=void 0}propDidChange(){this.ionRouteRedirectChanged.emit()}connectedCallback(){this.ionRouteRedirectChanged.emit()}static get watchers(){return{from:["propDidChange"],to:["propDidChange"]}}},f="root",d="forward",w=t=>"/"+t.filter((t=>t.length>0)).join("/"),p=t=>{let o,n=[""];if(null!=t){const i=t.indexOf("?");i>-1&&(o=t.substring(i+1),t=t.substring(0,i)),n=t.split("/").map((t=>t.trim())).filter((t=>t.length>0)),0===n.length&&(n=[""])}return{segments:n,queryString:o}},m=async(t,o,n,i,e=!1,s)=>{try{const c=g(t);if(i>=o.length||!c)return e;await new Promise((t=>r(c,t)));const a=o[i],h=await c.setRouteId(a.id,a.params,n,s);return h.changed&&(n=f,e=!0),e=await m(h.element,o,n,i+1,e,s),h.markVisible&&await h.markVisible(),e}catch(t){return console.error(t),!1}},v=":not([no-router]) ion-nav, :not([no-router]) ion-tabs, :not([no-router]) ion-router-outlet",g=t=>{if(!t)return;if(t.matches(v))return t;const o=t.querySelector(v);return null!=o?o:void 0},b=(t,o)=>o.find((o=>((t,o)=>{const{from:n,to:i}=o;if(void 0===i)return!1;if(n.length>t.length)return!1;for(let o=0;o<n.length;o++){const i=n[o];if("*"===i)return!0;if(i!==t[o])return!1}return n.length===t.length})(t,o))),y=(t,o)=>{const n=Math.min(t.length,o.length);let i=0;for(let e=0;e<n;e++){const n=t[e],r=o[e];if(n.id.toLowerCase()!==r.id)break;if(n.params){const t=Object.keys(n.params);if(t.length===r.segments.length){const o=t.map((t=>`:${t}`));for(let t=0;t<o.length&&o[t].toLowerCase()===r.segments[t];t++)i++}}i++}return i},R=(t,o)=>{const n=new O(t);let i,e=!1;for(let t=0;t<o.length;t++){const r=o[t].segments;if(""===r[0])e=!0;else{for(const o of r){const e=n.next();if(":"===o[0]){if(""===e)return null;i=i||[],(i[t]||(i[t]={}))[o.slice(1)]=e}else if(e!==o)return null}e=!1}}return e&&e!==(""===n.next())?null:i?o.map(((t,o)=>({id:t.id,segments:t.segments,params:C(t.params,i[o]),beforeEnter:t.beforeEnter,beforeLeave:t.beforeLeave}))):o},C=(t,o)=>t||o?Object.assign(Object.assign({},t),o):void 0,j=(t,o)=>{let n=null,i=0;for(const e of o){const o=R(t,e);if(null!==o){const t=k(o);t>i&&(i=t,n=o)}}return n},k=t=>{let o=1,n=1;for(const i of t)for(const t of i.segments)":"===t[0]?o+=Math.pow(1,n):""!==t&&(o+=Math.pow(2,n)),n++;return o};class O{constructor(t){this.segments=t.slice()}next(){return this.segments.length>0?this.segments.shift():""}}const D=(t,o)=>o in t?t[o]:t.hasAttribute(o)?t.getAttribute(o):null,E=t=>Array.from(t.children).filter((t=>"ION-ROUTE-REDIRECT"===t.tagName)).map((t=>{const o=D(t,"to");return{from:p(D(t,"from")).segments,to:null==o?void 0:p(o)}})),S=t=>L($(t)),$=t=>Array.from(t.children).filter((t=>"ION-ROUTE"===t.tagName&&t.component)).map((t=>{const o=D(t,"component");return{segments:p(D(t,"url")).segments,id:o.toLowerCase(),params:t.componentProps,beforeLeave:t.beforeLeave,beforeEnter:t.beforeEnter,children:$(t)}})),L=t=>{const o=[];for(const n of t)P([],o,n);return o},P=(t,o,n)=>{if(t=[...t,{id:n.id,segments:n.segments,params:n.params,beforeLeave:n.beforeLeave,beforeEnter:n.beforeEnter}],0!==n.children.length)for(const i of n.children)P(t,o,i);else o.push(t)},U=class{constructor(n){t(this,n),this.ionRouteWillChange=o(this,"ionRouteWillChange",7),this.ionRouteDidChange=o(this,"ionRouteDidChange",7),this.previousPath=null,this.busy=!1,this.state=0,this.lastState=0,this.root="/",this.useHash=!0}async componentWillLoad(){await(g(document.body)?Promise.resolve():new Promise((t=>{window.addEventListener("ionNavWillLoad",(()=>t()),{once:!0})})));const t=await this.runGuards(this.getSegments());if(!0!==t){if("object"==typeof t){const{redirect:o}=t,n=p(o);this.setSegments(n.segments,f,n.queryString),await this.writeNavStateRoot(n.segments,f)}}else await this.onRoutesChanged()}componentDidLoad(){window.addEventListener("ionRouteRedirectChanged",s(this.onRedirectChanged.bind(this),10)),window.addEventListener("ionRouteDataChanged",s(this.onRoutesChanged.bind(this),100))}async onPopState(){const t=this.historyDirection();let o=this.getSegments();const n=await this.runGuards(o);if(!0!==n){if("object"!=typeof n)return!1;o=p(n.redirect).segments}return this.writeNavStateRoot(o,t)}onBackButton(t){t.detail.register(0,(t=>{this.back(),t()}))}async canTransition(){const t=await this.runGuards();return!0===t||"object"==typeof t&&t.redirect}async push(t,o="forward",n){var i;if(t.startsWith(".")){const o=null!==(i=this.previousPath)&&void 0!==i?i:"/",n=new URL(t,`https://host/${o}`);t=n.pathname+n.search}let e=p(t);const r=await this.runGuards(e.segments);if(!0!==r){if("object"!=typeof r)return!1;e=p(r.redirect)}return this.setSegments(e.segments,o,e.queryString),this.writeNavStateRoot(e.segments,o,n)}back(){return window.history.back(),Promise.resolve(this.waitPromise)}async printDebug(){(t=>{console.group(`[ion-core] ROUTES[${t.length}]`);for(const o of t){const t=[];o.forEach((o=>t.push(...o.segments)));const n=o.map((t=>t.id));console.debug(`%c ${w(t)}`,"font-weight: bold; padding-left: 20px","=>\t",`(${n.join(", ")})`)}console.groupEnd()})(S(this.el)),(t=>{console.group(`[ion-core] REDIRECTS[${t.length}]`);for(const o of t)o.to&&console.debug("FROM: ",`$c ${w(o.from)}`,"font-weight: bold"," TO: ",`$c ${w(o.to.segments)}`,"font-weight: bold");console.groupEnd()})(E(this.el))}async navChanged(t){if(this.busy)return console.warn("[ion-router] router is busy, navChanged was cancelled"),!1;const{ids:o,outlet:n}=await(async()=>{const t=[];let o,n=window.document.body;for(;o=g(n);){const i=await o.getRouteId();if(!i)break;n=i.element,i.element=void 0,t.push(i)}return{ids:t,outlet:o}})(),i=((t,o)=>{let n=null,i=0;for(const e of o){const o=y(t,e);o>i&&(n=e,i=o)}return n?n.map(((o,n)=>{var i;return{id:o.id,segments:o.segments,params:C(o.params,null===(i=t[n])||void 0===i?void 0:i.params)}})):null})(o,S(this.el));if(!i)return console.warn("[ion-router] no matching URL for ",o.map((t=>t.id))),!1;const e=(t=>{const o=[];for(const n of t)for(const t of n.segments)if(":"===t[0]){const i=n.params&&n.params[t.slice(1)];if(!i)return null;o.push(i)}else""!==t&&o.push(t);return o})(i);return e?(this.setSegments(e,t),await this.safeWriteNavState(n,i,f,e,null,o.length),!0):(console.warn("[ion-router] router could not match path because some required param is missing"),!1)}onRedirectChanged(){const t=this.getSegments();t&&b(t,E(this.el))&&this.writeNavStateRoot(t,f)}onRoutesChanged(){return this.writeNavStateRoot(this.getSegments(),f)}historyDirection(){var t;const o=window;null===o.history.state&&(this.state++,o.history.replaceState(this.state,o.document.title,null===(t=o.document.location)||void 0===t?void 0:t.href));const n=o.history.state,i=this.lastState;return this.lastState=n,n>i||n>=i&&i>0?d:n<i?"back":f}async writeNavStateRoot(t,o,n){if(!t)return console.error("[ion-router] URL is not part of the routing set"),!1;const i=E(this.el),e=b(t,i);let r=null;if(e){const{segments:n,queryString:i}=e.to;this.setSegments(n,o,i),r=e.from,t=n}const s=S(this.el),c=j(t,s);return c?this.safeWriteNavState(document.body,c,o,t,r,0,n):(console.error("[ion-router] the path does not match any route"),!1)}async safeWriteNavState(t,o,n,i,e,r=0,s){const c=await this.lock();let a=!1;try{a=await this.writeNavState(t,o,n,i,e,r,s)}catch(t){console.error(t)}return c(),a}async lock(){const t=this.waitPromise;let o;return this.waitPromise=new Promise((t=>o=t)),void 0!==t&&await t,o}async runGuards(t=this.getSegments(),o){if(void 0===o&&(o=p(this.previousPath).segments),!t||!o)return!0;const n=S(this.el),i=j(o,n),e=i&&i[i.length-1].beforeLeave,r=!e||await e();if(!1===r||"object"==typeof r)return r;const s=j(t,n),c=s&&s[s.length-1].beforeEnter;return!c||c()}async writeNavState(t,o,n,i,e,r=0,s){if(this.busy)return console.warn("[ion-router] router is busy, transition was cancelled"),!1;this.busy=!0;const c=this.routeChangeEvent(i,e);c&&this.ionRouteWillChange.emit(c);const a=await m(t,o,n,r,!1,s);return this.busy=!1,c&&this.ionRouteDidChange.emit(c),a}setSegments(t,o,n){this.state++,((t,o,n,i,e,r,s)=>{const c=((t,o,n)=>{let i=w(t);return o&&(i="#"+i),void 0!==n&&(i+="?"+n),i})([...p(o).segments,...i],n,s);e===d?t.pushState(r,"",c):t.replaceState(r,"",c)})(window.history,this.root,this.useHash,t,o,this.state,n)}getSegments(){return((t,o,n)=>{const i=p(this.root).segments,e=n?t.hash.slice(1):t.pathname;return((t,o)=>{if(t.length>o.length)return null;if(t.length<=1&&""===t[0])return o;for(let n=0;n<t.length;n++)if(t[n]!==o[n])return null;return o.length===t.length?[""]:o.slice(t.length)})(i,p(e).segments)})(window.location,0,this.useHash)}routeChangeEvent(t,o){const n=this.previousPath,i=w(t);return this.previousPath=i,i===n?null:{from:n,redirectedFrom:o?w(o):null,to:i}}get el(){return n(this)}},x=class{constructor(o){t(this,o),this.onClick=t=>{c(this.href,t,this.routerDirection,this.routerAnimation)},this.color=void 0,this.href=void 0,this.rel=void 0,this.routerDirection="forward",this.routerAnimation=void 0,this.target=void 0}render(){const t=h(this),o={href:this.href,rel:this.rel,target:this.target};return i(e,{onClick:this.onClick,class:a(this.color,{[t]:!0,"ion-activatable":!0})},i("a",Object.assign({},o),i("slot",null)))}};x.style=":host{--background:transparent;--color:var(--ion-color-primary, #3880ff);background:var(--background);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}a{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit}";export{u as ion_route,l as ion_route_redirect,U as ion_router,x as ion_router_link}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import{r as o,h as s,H as r}from"./p-b0f8f55c.js";import{c as t}from"./p-1d072d3d.js";import{b as c}from"./p-f91f01c7.js";const i=class{constructor(s){o(this,s),this.color=void 0}render(){const o=c(this);return s(r,{class:t(this.color,{[o]:!0})},s("slot",null))}};i.style=":host(.ion-color){color:var(--ion-color-base)}";export{i as ion_text}
|