@ionic/core 8.5.7-dev.11747858611.1d1dc603 → 8.5.7-dev.11747949628.1b740070
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/ion-input-password-toggle.js +3 -3
- package/components/ion-item-divider.js +2 -2
- package/components/ion-item-group.js +1 -1
- package/components/ion-item-option.js +2 -2
- package/components/ion-item-options.js +1 -1
- package/components/ion-item-sliding.js +1 -1
- package/components/ion-loading.js +2 -2
- package/components/ion-menu-button.js +2 -2
- package/components/ion-menu-toggle.js +2 -2
- package/components/ion-menu.js +2 -2
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +1 -1
- package/components/ion-note.js +2 -2
- package/components/ion-picker-legacy.js +2 -2
- package/components/ion-progress-bar.js +1 -1
- package/components/ion-range.js +3 -3
- package/components/ion-refresher-content.js +1 -1
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +1 -1
- package/components/ion-router-link.js +2 -2
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +4 -4
- package/components/ion-segment-button.js +2 -2
- package/components/ion-segment-content.js +1 -1
- package/components/ion-segment-view.js +2 -2
- package/components/ion-segment.js +2 -2
- package/components/ion-select-option.js +1 -1
- package/components/ion-select.js +2 -2
- package/components/ion-skeleton-text.js +2 -2
- package/components/ion-split-pane.js +2 -2
- package/components/ion-tab-bar.js +2 -2
- package/components/ion-tab-button.js +2 -2
- package/components/ion-tab.js +2 -2
- package/components/ion-tabs.js +1 -1
- package/components/ion-text.js +2 -2
- package/components/ion-textarea.js +2 -2
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-toast.js +2 -2
- package/components/ion-toggle.js +3 -3
- package/components/label.js +2 -2
- package/components/list-header.js +2 -2
- package/components/list.js +1 -1
- package/components/modal.js +4 -4
- package/components/picker-column-option.js +2 -2
- package/components/picker-column2.js +2 -2
- package/components/popover.js +2 -2
- package/components/radio-group.js +1 -1
- package/components/radio.js +3 -3
- package/components/ripple-effect.js +1 -1
- package/components/select-modal.js +1 -1
- package/components/select-popover.js +1 -1
- package/components/spinner.js +1 -1
- package/components/title.js +2 -2
- package/components/toolbar.js +2 -2
- package/dist/cjs/{app-globals-DvwumQAI.js → app-globals-CWtQHdcK.js} +1 -1
- package/dist/cjs/{button-active-Du_YCFSd.js → button-active-BzpKQ5zN.js} +1 -1
- package/dist/cjs/{index-QuFS9UpQ.js → index-C6GLB0dQ.js} +3 -3
- package/dist/cjs/{index-DCB2XSaQ.js → index-CrE5792q.js} +1 -1
- package/dist/cjs/{index-B6-BlKCh.js → index-qOuhvt-6.js} +0 -4
- 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 +9 -9
- package/dist/cjs/ion-avatar_3.cjs.entry.js +3 -3
- 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 +3 -3
- package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime_3.cjs.entry.js +7 -7
- 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-password-toggle.cjs.entry.js +5 -5
- package/dist/cjs/ion-input.cjs.entry.js +2 -2
- package/dist/cjs/ion-item-option_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-item_8.cjs.entry.js +14 -14
- package/dist/cjs/ion-loading.cjs.entry.js +5 -5
- package/dist/cjs/ion-menu_3.cjs.entry.js +10 -10
- package/dist/cjs/ion-modal.cjs.entry.js +8 -8
- package/dist/cjs/ion-nav_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +4 -4
- package/dist/cjs/ion-picker-column.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker.cjs.entry.js +1 -1
- package/dist/cjs/ion-popover.cjs.entry.js +6 -6
- package/dist/cjs/ion-progress-bar.cjs.entry.js +3 -3
- package/dist/cjs/ion-radio_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-range.cjs.entry.js +5 -5
- package/dist/cjs/ion-refresher_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-reorder_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +3 -3
- package/dist/cjs/ion-route_4.cjs.entry.js +4 -4
- package/dist/cjs/ion-searchbar.cjs.entry.js +6 -6
- package/dist/cjs/ion-segment-content.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment-view.cjs.entry.js +3 -3
- package/dist/cjs/ion-segment_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-select-modal.cjs.entry.js +4 -4
- package/dist/cjs/ion-select_3.cjs.entry.js +7 -7
- package/dist/cjs/ion-spinner.cjs.entry.js +3 -3
- package/dist/cjs/ion-split-pane.cjs.entry.js +4 -4
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-tab_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-text.cjs.entry.js +4 -4
- package/dist/cjs/ion-textarea.cjs.entry.js +4 -4
- package/dist/cjs/ion-toast.cjs.entry.js +5 -5
- package/dist/cjs/ion-toggle.cjs.entry.js +5 -5
- package/dist/cjs/{ionic-global-C3I6b0Is.js → ionic-global-BC3ee-Wa.js} +1 -1
- package/dist/cjs/ionic.cjs.js +4 -4
- package/dist/cjs/{ios.transition-CL8Q2_Bi.js → ios.transition-C9J4bBGV.js} +2 -2
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-D1Ast6la.js → md.transition-DT8PB4eS.js} +2 -2
- package/dist/cjs/{overlays-Ci3nLg5M.js → overlays-B4rlyxhY.js} +1 -1
- package/dist/cjs/{status-tap-Bx_wzOTo.js → status-tap-B8fjNFjq.js} +1 -1
- package/dist/collection/collection-manifest.json +0 -1
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +3 -3
- package/dist/collection/components/item-divider/item-divider.js +2 -2
- package/dist/collection/components/item-group/item-group.js +1 -1
- package/dist/collection/components/item-option/item-option.js +2 -2
- package/dist/collection/components/item-options/item-options.js +1 -1
- package/dist/collection/components/item-sliding/item-sliding.js +1 -1
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list-header/list-header.js +2 -2
- package/dist/collection/components/loading/loading.js +2 -2
- package/dist/collection/components/menu/menu.js +2 -2
- package/dist/collection/components/menu-button/menu-button.js +2 -2
- package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
- package/dist/collection/components/modal/modal.js +4 -4
- package/dist/collection/components/nav/nav.js +1 -1
- package/dist/collection/components/nav-link/nav-link.js +1 -1
- package/dist/collection/components/note/note.js +2 -2
- package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
- package/dist/collection/components/picker-legacy/picker.js +2 -2
- package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
- package/dist/collection/components/popover/popover.js +2 -2
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/radio/radio.js +3 -3
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/range/range.js +3 -3
- package/dist/collection/components/refresher/refresher.js +1 -1
- package/dist/collection/components/refresher-content/refresher-content.js +1 -1
- package/dist/collection/components/reorder/reorder.js +1 -1
- package/dist/collection/components/reorder-group/reorder-group.js +1 -1
- package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
- package/dist/collection/components/router-link/router-link.js +2 -2
- package/dist/collection/components/router-outlet/router-outlet.js +1 -1
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/searchbar/searchbar.js +4 -4
- package/dist/collection/components/segment/segment.js +2 -2
- package/dist/collection/components/segment-button/segment-button.js +2 -2
- package/dist/collection/components/segment-content/segment-content.js +1 -1
- package/dist/collection/components/segment-view/segment-view.js +2 -2
- package/dist/collection/components/select/select.js +2 -2
- package/dist/collection/components/select-modal/select-modal.js +1 -1
- package/dist/collection/components/select-option/select-option.js +1 -1
- package/dist/collection/components/select-popover/select-popover.js +1 -1
- package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-pane/split-pane.js +2 -2
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.js +2 -2
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text/text.js +2 -2
- package/dist/collection/components/textarea/textarea.js +2 -2
- package/dist/collection/components/thumbnail/thumbnail.js +1 -1
- package/dist/collection/components/title/title.js +2 -2
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/toggle.js +3 -3
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/docs.json +1 -907
- package/dist/esm/{app-globals-C74-VMUb.js → app-globals-Ts_E1ch0.js} +1 -1
- package/dist/esm/{button-active-DRCPpzqj.js → button-active-BQqkZ_sm.js} +1 -1
- package/dist/esm/{index-lgeUQ6qY.js → index-B83thFnh.js} +3 -3
- package/dist/esm/{index-3GtB1kQI.js → index-EP3pwcdb.js} +1 -4
- package/dist/esm/{index-lp0kQfoC.js → index-RyWq7qIc.js} +1 -1
- 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 +9 -9
- package/dist/esm/ion-avatar_3.entry.js +3 -3
- 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 +3 -3
- package/dist/esm/ion-datetime-button.entry.js +2 -2
- package/dist/esm/ion-datetime_3.entry.js +7 -7
- 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-password-toggle.entry.js +5 -5
- package/dist/esm/ion-input.entry.js +2 -2
- package/dist/esm/ion-item-option_3.entry.js +6 -6
- package/dist/esm/ion-item_8.entry.js +14 -14
- package/dist/esm/ion-loading.entry.js +5 -5
- package/dist/esm/ion-menu_3.entry.js +10 -10
- package/dist/esm/ion-modal.entry.js +8 -8
- package/dist/esm/ion-nav_2.entry.js +5 -5
- package/dist/esm/ion-picker-column-option.entry.js +4 -4
- package/dist/esm/ion-picker-column.entry.js +2 -2
- package/dist/esm/ion-picker.entry.js +1 -1
- package/dist/esm/ion-popover.entry.js +6 -6
- package/dist/esm/ion-progress-bar.entry.js +3 -3
- package/dist/esm/ion-radio_2.entry.js +6 -6
- package/dist/esm/ion-range.entry.js +5 -5
- package/dist/esm/ion-refresher_2.entry.js +4 -4
- package/dist/esm/ion-reorder_2.entry.js +4 -4
- package/dist/esm/ion-ripple-effect.entry.js +3 -3
- package/dist/esm/ion-route_4.entry.js +4 -4
- package/dist/esm/ion-searchbar.entry.js +6 -6
- package/dist/esm/ion-segment-content.entry.js +2 -2
- package/dist/esm/ion-segment-view.entry.js +3 -3
- package/dist/esm/ion-segment_2.entry.js +6 -6
- package/dist/esm/ion-select-modal.entry.js +4 -4
- package/dist/esm/ion-select_3.entry.js +7 -7
- package/dist/esm/ion-spinner.entry.js +3 -3
- package/dist/esm/ion-split-pane.entry.js +4 -4
- package/dist/esm/ion-tab-bar_2.entry.js +6 -6
- package/dist/esm/ion-tab_2.entry.js +4 -4
- package/dist/esm/ion-text.entry.js +4 -4
- package/dist/esm/ion-textarea.entry.js +4 -4
- package/dist/esm/ion-toast.entry.js +5 -5
- package/dist/esm/ion-toggle.entry.js +5 -5
- package/dist/esm/{ionic-global-Dw-MNnQB.js → ionic-global-DapnXdYs.js} +1 -1
- package/dist/esm/ionic.js +5 -5
- package/dist/esm/{ios.transition-Doo_7Vid.js → ios.transition-DN6Dy4K4.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-BbcCfRk9.js → md.transition-DR8zuFnL.js} +2 -2
- package/dist/esm/{overlays-Pn0MyOv4.js → overlays-Blhb_0oI.js} +1 -1
- package/dist/esm/{status-tap-Cn5uETrs.js → status-tap-CZEjiztV.js} +1 -1
- package/dist/html.html-data.json +0 -160
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-14d26301.entry.js → p-030daf32.entry.js} +1 -1
- package/dist/ionic/{p-f331dda5.entry.js → p-0434efbb.entry.js} +1 -1
- package/dist/ionic/p-07a47eb6.entry.js +4 -0
- package/dist/ionic/{p-43f012a4.entry.js → p-08232f2d.entry.js} +1 -1
- package/dist/ionic/{p-ff88b250.entry.js → p-0c2a069d.entry.js} +1 -1
- package/dist/ionic/{p-2e42fa68.entry.js → p-112af08b.entry.js} +1 -1
- package/dist/ionic/{p-1e9ea564.entry.js → p-12b44c66.entry.js} +1 -1
- package/dist/ionic/{p-e83ead65.entry.js → p-1a19090e.entry.js} +1 -1
- package/dist/ionic/{p-2517fcdf.entry.js → p-306eab7a.entry.js} +1 -1
- package/dist/ionic/{p-6bd192d8.entry.js → p-38598652.entry.js} +1 -1
- package/dist/ionic/{p-0bcd3299.entry.js → p-38921e2f.entry.js} +1 -1
- package/dist/ionic/{p-b18a4590.entry.js → p-38dcbd40.entry.js} +1 -1
- package/dist/ionic/{p-1da92348.entry.js → p-3edb2346.entry.js} +1 -1
- package/dist/ionic/{p-cde545fa.entry.js → p-4119d144.entry.js} +1 -1
- package/dist/ionic/{p-9c7d7711.entry.js → p-46a1ce99.entry.js} +1 -1
- package/dist/ionic/{p-8d7afec5.entry.js → p-46c15fe2.entry.js} +1 -1
- package/dist/ionic/p-46f82b82.entry.js +4 -0
- package/dist/ionic/{p-a20a15cc.entry.js → p-484073b5.entry.js} +1 -1
- package/dist/ionic/{p-98f759e4.entry.js → p-49122d48.entry.js} +1 -1
- package/dist/ionic/{p-592db4a8.entry.js → p-4a5cf7ac.entry.js} +1 -1
- package/dist/ionic/p-5459e444.entry.js +4 -0
- package/dist/ionic/{p-a22fe54d.entry.js → p-5b8abc2f.entry.js} +1 -1
- package/dist/ionic/{p-96d912f5.entry.js → p-5fb997f8.entry.js} +1 -1
- package/dist/ionic/{p-29186993.entry.js → p-61f52724.entry.js} +1 -1
- package/dist/ionic/{p-2c6931ed.entry.js → p-89e3b3c6.entry.js} +1 -1
- package/dist/ionic/{p-e5495b3b.entry.js → p-8dda7cd4.entry.js} +1 -1
- package/dist/ionic/{p-920540c6.entry.js → p-93996b12.entry.js} +1 -1
- package/dist/ionic/{p-178084cb.entry.js → p-94375099.entry.js} +1 -1
- package/dist/ionic/{p-fb714eec.entry.js → p-99c93730.entry.js} +1 -1
- package/dist/ionic/{p-0bc3d6d0.entry.js → p-9a0bde6e.entry.js} +1 -1
- package/dist/ionic/{p-DYqTiW2v.js → p-BSMFLyVh.js} +1 -1
- package/dist/ionic/{p-wsLGfiE0.js → p-CgRZM5_E.js} +1 -1
- package/dist/ionic/p-CqNf-A5G.js +4 -0
- package/dist/ionic/{p-BBMlbfDQ.js → p-DCstKNei.js} +1 -1
- package/dist/ionic/{p-CjUUcfjC.js → p-DPhSdjFK.js} +1 -1
- package/dist/ionic/{p-CuVupNFU.js → p-Dnc554yu.js} +1 -1
- package/dist/ionic/{p-3GtB1kQI.js → p-EP3pwcdb.js} +2 -2
- package/dist/ionic/p-EglNvYQn.js +4 -0
- package/dist/ionic/{p-BC2IYr2c.js → p-LpklIrOy.js} +1 -1
- package/dist/ionic/{p-CGyDG2ar.js → p-Uz6zKimy.js} +1 -1
- package/dist/ionic/{p-ed36aee8.entry.js → p-a178af33.entry.js} +1 -1
- package/dist/ionic/{p-c1b0e3b6.entry.js → p-a26637b1.entry.js} +1 -1
- package/dist/ionic/{p-e2d9c488.entry.js → p-a4bcf305.entry.js} +1 -1
- package/dist/ionic/{p-691fa8c7.entry.js → p-a9997b1b.entry.js} +1 -1
- package/dist/ionic/{p-eec040ff.entry.js → p-ade7bda6.entry.js} +1 -1
- package/dist/ionic/{p-bc84650a.entry.js → p-aeb7297a.entry.js} +1 -1
- package/dist/ionic/{p-250c972f.entry.js → p-b2b0f539.entry.js} +1 -1
- package/dist/ionic/{p-3fa87259.entry.js → p-bc9feb4b.entry.js} +1 -1
- package/dist/ionic/{p-99cc16fb.entry.js → p-c19bc276.entry.js} +1 -1
- package/dist/ionic/{p-fd156864.entry.js → p-c3abde95.entry.js} +1 -1
- package/dist/ionic/{p-832b6c90.entry.js → p-c9bca536.entry.js} +1 -1
- package/dist/ionic/{p-d4742f5c.entry.js → p-ce26cd7d.entry.js} +1 -1
- package/dist/ionic/{p-f35cb090.entry.js → p-d77d0b41.entry.js} +1 -1
- package/dist/ionic/{p-7a6c96ca.entry.js → p-d887000e.entry.js} +1 -1
- package/dist/ionic/{p-05427be9.entry.js → p-d9c08f93.entry.js} +1 -1
- package/dist/ionic/{p-3ca63859.entry.js → p-e2e4b1f1.entry.js} +1 -1
- package/dist/ionic/{p-da105dce.entry.js → p-e426331f.entry.js} +1 -1
- package/dist/ionic/{p-9262223a.entry.js → p-e471e1e5.entry.js} +1 -1
- package/dist/ionic/{p-ee504ce4.entry.js → p-e5e82fa5.entry.js} +1 -1
- package/dist/ionic/{p-2438054c.entry.js → p-f0c5ea4c.entry.js} +1 -1
- package/dist/ionic/{p-5756b724.entry.js → p-ff362ebc.entry.js} +1 -1
- package/dist/types/components.d.ts +0 -167
- package/dist/types/interface.d.ts +0 -1
- package/hydrate/index.js +99 -688
- package/hydrate/index.mjs +99 -688
- package/package.json +1 -1
- package/components/ion-input-otp.d.ts +0 -11
- package/components/ion-input-otp.js +0 -608
- package/dist/cjs/ion-input-otp.cjs.entry.js +0 -571
- package/dist/collection/components/input-otp/input-otp-interface.js +0 -1
- package/dist/collection/components/input-otp/input-otp.ios.css +0 -377
- package/dist/collection/components/input-otp/input-otp.js +0 -996
- package/dist/collection/components/input-otp/input-otp.md.css +0 -377
- package/dist/esm/ion-input-otp.entry.js +0 -569
- package/dist/ionic/p-1fe35f29.entry.js +0 -4
- package/dist/ionic/p-58f92c36.entry.js +0 -4
- package/dist/ionic/p-8c496d65.entry.js +0 -4
- package/dist/ionic/p-B7Khsp7D.js +0 -4
- package/dist/ionic/p-CO_y91jJ.js +0 -4
- package/dist/ionic/p-bf6b00ab.entry.js +0 -4
- package/dist/types/components/input-otp/input-otp-interface.d.ts +0 -21
- package/dist/types/components/input-otp/input-otp.d.ts +0 -270
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
var t=Object.defineProperty,e={isBrowser:!0},n=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(n||{}),o=(t=>(t.Array="array",t.Date="date",t.Map="map",t.Object="object",t.RegularExpression="regexp",t.Set="set",t.Channel="channel",t.Symbol="symbol",t))(o||{}),s="type",l="value",i="serialized:",r=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},c=(t,e)=>{t.__stencil__getHostRef=()=>e,e.t=t},u=(t,e)=>e in t,f=(t,e)=>(0,console.error)(t,e),a=new Map,d=new Map,h=[],p="s-id",v="sty-id",$="c-id",b="slot-fb{display:contents}slot-fb[hidden]{display:none}",m="http://www.w3.org/1999/xlink",g="undefined"!=typeof window?window:{},y=g.HTMLElement||class{},w={o:0,l:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},S=t=>Promise.resolve(t),j=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),O=!1,N=[],x=[],E=(t,e)=>n=>{t.push(n),O||(O=!0,e&&4&w.o?I(C):w.raf(C))},k=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){f(t)}t.length=0},C=()=>{k(N),k(x),(O=N.length>0)&&w.raf(C)},I=t=>S().then(t),M=E(N,!1),R=E(x,!0),A=t=>{const e=new URL(t,w.l);return e.origin!==g.location.origin?e.href:e.pathname},L=t=>"object"==(t=typeof t)||"function"===t;function T(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}var B=class t{static fromLocalValue(e){const n=e[s],o=l in e?e[l]:void 0;switch(n){case"string":case"boolean":return o;case"bigint":return BigInt(o);case"undefined":return;case"null":return null;case"number":return"NaN"===o?NaN:"-0"===o?-0:"Infinity"===o?1/0:"-Infinity"===o?-1/0:o;case"array":return o.map((e=>t.fromLocalValue(e)));case"date":return new Date(o);case"map":const e=new Map;for(const[n,s]of o){const o="object"==typeof n&&null!==n?t.fromLocalValue(n):n,l=t.fromLocalValue(s);e.set(o,l)}return e;case"object":const s={};for(const[e,n]of o)s[e]=t.fromLocalValue(n);return s;case"regexp":const{pattern:l,flags:i}=o;return RegExp(l,i);case"set":const r=new Set;for(const e of o)r.add(t.fromLocalValue(e));return r;case"symbol":return Symbol(o);default:throw Error("Unsupported type: "+n)}}static fromLocalValueArray(e){return e.map((e=>t.fromLocalValue(e)))}static isLocalValueObject(t){if("object"!=typeof t||null===t)return!1;if(!t.hasOwnProperty(s))return!1;const e=t[s];return!!Object.values({...n,...o}).includes(e)&&("null"===e||"undefined"===e||t.hasOwnProperty(l))}};((e,n)=>{for(var o in n)t(e,o,{get:n[o],enumerable:!0})})({},{err:()=>P,map:()=>U,ok:()=>F,unwrap:()=>_,unwrapErr:()=>D});var F=t=>({isOk:!0,isErr:!1,value:t}),P=t=>({isOk:!1,isErr:!0,value:t});function U(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>F(t))):F(n)}if(t.isErr)return P(t.value);throw"should never get here"}var _=t=>{if(t.isOk)return t.value;throw t.value},D=t=>{if(t.isErr)return t.value;throw t.value},W=t=>{const e=mt(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&z(e,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!H(t,q(t),!1).length)}));let n=0;for(n=0;n<e.length;n++){const t=e[n];1===t.nodeType&&mt(t,"childNodes").length&&W(t)}},V=t=>{const e=[];for(let n=0;n<t.length;n++){const o=t[n]["s-nr"]||void 0;o&&o.isConnected&&e.push(o)}return e};function z(t,e,n){let o,s=0,l=[];for(;s<t.length;s++){if(o=t[s],o["s-sr"]&&(!e||o["s-hn"]===e)&&(void 0===n||q(o)===n)&&(l.push(o),void 0!==n))return l;l=[...l,...z(o.childNodes,e,n)]}return l}var H=(t,e,n=!0)=>{const o=[];(n&&t["s-sr"]||!t["s-sr"])&&o.push(t);let s=t;for(;s=s.nextSibling;)q(s)!==e||!n&&s["s-sr"]||o.push(s);return o},J=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,Y=(t,e,n,o)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const s=document.createTextNode("");if(s["s-nr"]=t,!e["s-cr"]||!e["s-cr"].parentNode)return;const l=e["s-cr"].parentNode,i=mt(l,n?"prepend":"appendChild");if(void 0!==o){s["s-oo"]=o;const t=mt(l,"childNodes"),e=[s];t.forEach((t=>{t["s-nr"]&&e.push(t)})),e.sort(((t,e)=>!t["s-oo"]||t["s-oo"]<(e["s-oo"]||0)?-1:!e["s-oo"]||e["s-oo"]<t["s-oo"]?1:0)),e.forEach((t=>i.call(l,t)))}else i.call(l,s);t["s-ol"]=s,t["s-sh"]=e["s-hn"]},q=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function G(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const e=e=>function(t){const n=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots. \n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const s=this["s-cr"].parentElement;return(s.__childNodes?s.childNodes:V(s.childNodes)).forEach((t=>{o===q(t)&&n.push(t)})),e?n.filter((t=>1===t.nodeType)):n}.bind(t);t.assignedElements=e(!0),t.assignedNodes=e(!1)}function K(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function Q(t,e){var n;if(!(e=e||(null==(n=t["s-ol"])?void 0:n.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=q(t)||"";return{slotNode:z(mt(e,"childNodes"),e.tagName,o)[0],slotName:o}}var X=t=>{const e=t.cloneNode;t.cloneNode=function(t){const n=this.shadowRoot&&true,o=e.call(this,!!n&&t);if(!n&&t){let t,e,n=0;const s=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"],l=this.__childNodes||this.childNodes;for(;n<l.length;n++)t=l[n]["s-nr"],e=s.every((t=>!l[n][t])),t&&(o.__appendChild?o.__appendChild(t.cloneNode(!0)):o.appendChild(t.cloneNode(!0))),e&&o.appendChild(l[n].cloneNode(!0))}return o}},Z=t=>{t.__appendChild=t.appendChild,t.appendChild=function(t){const{slotName:e,slotNode:n}=Q(t,this);if(n){Y(t,n);const o=H(n,e),s=o[o.length-1],l=mt(s,"parentNode"),i=mt(l,"insertBefore")(t,s.nextSibling);return K(n),W(this),i}return this.__appendChild(t)}},tt=t=>{t.__removeChild=t.removeChild,t.removeChild=function(t){return t&&void 0!==t["s-sn"]&&z(this.__childNodes||this.childNodes,this.tagName,t["s-sn"])&&t.isConnected?(t.remove(),void W(this)):this.__removeChild(t)}},et=t=>{t.__prepend=t.prepend,t.prepend=function(...e){e.forEach((e=>{"string"==typeof e&&(e=this.ownerDocument.createTextNode(e));const n=(e["s-sn"]=q(e))||"",o=z(mt(this,"childNodes"),this.tagName,n)[0];if(o){Y(e,o,!0);const t=H(o,n)[0],s=mt(t,"parentNode"),l=mt(s,"insertBefore")(e,mt(t,"nextSibling"));return K(o),l}return 1===e.nodeType&&e.getAttribute("slot")&&(e.hidden=!0),t.__prepend(e)}))}},nt=t=>{t.__append=t.append,t.append=function(...t){t.forEach((t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t)),this.appendChild(t)}))}},ot=t=>{const e=t.insertAdjacentHTML;t.insertAdjacentHTML=function(t,n){if("afterbegin"!==t&&"beforeend"!==t)return e.call(this,t,n);const o=this.ownerDocument.createElement("_");let s;if(o.innerHTML=n,"afterbegin"===t)for(;s=o.firstChild;)this.prepend(s);else if("beforeend"===t)for(;s=o.firstChild;)this.append(s)}},st=t=>{t.insertAdjacentText=function(t,e){this.insertAdjacentHTML(t,e)}},lt=t=>{t.__insertBefore||(t.__insertBefore=t.insertBefore,t.insertBefore=function(t,e){const{slotName:n,slotNode:o}=Q(t,this),s=this.__childNodes?this.childNodes:V(this.childNodes);if(o){let l=!1;if(s.forEach((s=>{if(s!==e&&null!==e);else{if(l=!0,null===e||n!==e["s-sn"])return void this.appendChild(t);if(n===e["s-sn"]){Y(t,o);const n=mt(e,"parentNode");mt(n,"insertBefore")(t,e),K(o)}}})),l)return t}const l=null==e?void 0:e.__parentNode;return l&&!this.isSameNode(l)?this.appendChild(t):this.__insertBefore(t,e)})},it=t=>{const e=t.insertAdjacentElement;t.insertAdjacentElement=function(t,n){return"afterbegin"!==t&&"beforeend"!==t?e.call(this,t,n):"afterbegin"===t?(this.prepend(n),n):"beforeend"===t?(this.append(n),n):n}},rt=t=>{bt("textContent",t),Object.defineProperty(t,"textContent",{get:function(){let t="";return(this.__childNodes?this.childNodes:V(this.childNodes)).forEach((e=>t+=e.textContent||"")),t},set:function(t){(this.__childNodes?this.childNodes:V(this.childNodes)).forEach((t=>{t["s-ol"]&&t["s-ol"].remove(),t.remove()})),this.insertAdjacentHTML("beforeend",t)}})},ct=t=>{class e extends Array{item(t){return this[t]}}bt("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),bt("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]}}),bt("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]}}),bt("childNodes",t),Object.defineProperty(t,"childNodes",{get(){const t=new e;return t.push(...V(this.__childNodes)),t}})},ut=t=>{t&&void 0===t.__nextSibling&&globalThis.Node&&(ft(t),dt(t),pt(t),t.nodeType===Node.ELEMENT_NODE&&(at(t),ht(t)))},ft=t=>{t&&!t.__nextSibling&&(bt("nextSibling",t),Object.defineProperty(t,"nextSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.childNodes,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n+1]:this.__nextSibling}}))},at=t=>{t&&!t.__nextElementSibling&&(bt("nextElementSibling",t),Object.defineProperty(t,"nextElementSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.children,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n+1]:this.__nextElementSibling}}))},dt=t=>{t&&!t.__previousSibling&&(bt("previousSibling",t),Object.defineProperty(t,"previousSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.childNodes,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n-1]:this.__previousSibling}}))},ht=t=>{t&&!t.__previousElementSibling&&(bt("previousElementSibling",t),Object.defineProperty(t,"previousElementSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.children,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n-1]:this.__previousElementSibling}}))},pt=t=>{t&&!t.__parentNode&&(bt("parentNode",t),Object.defineProperty(t,"parentNode",{get:function(){var t;return(null==(t=this["s-ol"])?void 0:t.parentNode)||this.__parentNode},set:function(t){this.__parentNode=t}}))},vt=["children","nextElementSibling","previousElementSibling"],$t=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function bt(t,e){let n;vt.includes(t)?n=Object.getOwnPropertyDescriptor(Element.prototype,t):$t.includes(t)&&(n=Object.getOwnPropertyDescriptor(Node.prototype,t)),n||(n=Object.getOwnPropertyDescriptor(e,t)),n&&Object.defineProperty(e,"__"+t,n)}function mt(t,e){if("__"+e in t){const n=t["__"+e];return"function"!=typeof n?n:n.bind(t)}return"function"!=typeof t[e]?t[e]:t[e].bind(t)}var gt=(t,e,...n)=>{let o=null,s=null,l=null,i=!1,r=!1;const c=[],u=e=>{for(let n=0;n<e.length;n++)o=e[n],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof t&&!L(o))&&(o+=""),i&&r?c[c.length-1].i+=o:c.push(i?yt(null,o):o),r=i)};if(u(n),e){e.key&&(s=e.key),e.name&&(l=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,c,St);const f=yt(t,null);return f.u=e,c.length>0&&(f.h=c),f.p=s,f.v=l,f},yt=(t,e)=>({o:0,$:t,i:e,m:null,h:null,u:null,p:null,v:null}),wt={},St={forEach:(t,e)=>t.map(jt).forEach(e),map:(t,e)=>t.map(jt).map(e).map(Ot)},jt=t=>({vattrs:t.u,vchildren:t.h,vkey:t.p,vname:t.v,vtag:t.$,vtext:t.i}),Ot=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),gt(t.vtag,e,...t.vchildren||[])}const e=yt(t.vtag,t.vtext);return e.u=t.vattrs,e.h=t.vchildren,e.p=t.vkey,e.v=t.vname,e},Nt=(t,e,n,o,s,l,i,r=[])=>{let c,u,f,a;const d=s["s-sc"];if(1===l.nodeType){if(c=l.getAttribute($),c&&(u=c.split("."),u[0]===i||"0"===u[0])){f=Et({o:0,S:u[0],j:u[1],O:u[2],N:u[3],$:l.tagName.toLowerCase(),m:l,u:{class:l.className||""}}),e.push(f),l.removeAttribute($),t.h||(t.h=[]),d&&(l["s-si"]=d,f.u.class+=" "+d);const s=f.m.getAttribute("s-sn");"string"==typeof s&&("slot-fb"===f.$&&(kt(s,u[2],f,l,t,e,n,o,r),d&&l.classList.add(d)),f.m["s-sn"]=s,f.m.removeAttribute("s-sn")),void 0!==f.N&&(t.h[f.N]=f),t=f,o&&"0"===f.O&&(o[f.N]=f.m)}if(l.shadowRoot)for(a=l.shadowRoot.childNodes.length-1;a>=0;a--)Nt(t,e,n,o,s,l.shadowRoot.childNodes[a],i,r);const h=l.__childNodes||l.childNodes;for(a=h.length-1;a>=0;a--)Nt(t,e,n,o,s,h[a],i,r)}else if(8===l.nodeType)u=l.nodeValue.split("."),(u[1]===i||"0"===u[1])&&(c=u[0],f=Et({S:u[1],j:u[2],O:u[3],N:u[4]||"0",m:l,u:null,h:null,p:null,v:null,$:null,i:null}),"t"===c?(f.m=It(l,3),f.m&&3===f.m.nodeType&&(f.i=f.m.textContent,e.push(f),l.remove(),i===f.S&&(t.h||(t.h=[]),t.h[f.N]=f),o&&"0"===f.O&&(o[f.N]=f.m))):"c"===c?(f.m=It(l,8),f.m&&8===f.m.nodeType&&(e.push(f),l.remove())):f.S===i&&("s"===c?kt(l["s-sn"]=u[5]||"",u[2],f,l,t,e,n,o,r):"r"===c&&(o?l.remove():(s["s-cr"]=l,l["s-cn"]=!0))));else if(t&&"style"===t.$){const e=yt(null,l.textContent);e.m=l,e.N="0",t.h=[e]}else 3!==l.nodeType||l.wholeText.trim()||l.remove();return t},xt=(t,e)=>{if(1===t.nodeType){const n=t[p]||t.getAttribute(p);n&&e.set(n,t);let o=0;if(t.shadowRoot)for(;o<t.shadowRoot.childNodes.length;o++)xt(t.shadowRoot.childNodes[o],e);const s=t.__childNodes||t.childNodes;for(o=0;o<s.length;o++)xt(s[o],e)}else if(8===t.nodeType){const n=t.nodeValue.split(".");"o"===n[0]&&(e.set(n[1]+"."+n[2],t),t.nodeValue="",t["s-en"]=n[3])}},Et=t=>({o:0,S:null,j:null,O:null,N:"0",m:null,u:null,h:null,p:null,v:null,$:null,i:null,...t});function kt(t,e,n,o,s,l,i,r,c){o["s-sr"]=!0,n.v=t||null,n.$="slot";const u=(null==s?void 0:s.m)?s.m["s-id"]||s.m.getAttribute("s-id"):"";if(r&&g.document){const l=n.m=g.document.createElement(n.$);n.v&&n.m.setAttribute("name",t),u&&u!==n.S?s.m.insertBefore(l,s.m.children[0]):o.parentNode.insertBefore(n.m,o),Ct(c,e,t,o,n.S),o.remove(),"0"===n.O&&(r[n.N]=n.m)}else{const i=n.m,r=u&&u!==n.S&&s.m.shadowRoot;Ct(c,e,t,o,r?u:n.S),G(o),r&&s.m.insertBefore(i,s.m.children[0]),l.push(n)}i.push(n),s.h||(s.h=[]),s.h[n.N]=n}var Ct=(t,e,n,o,s)=>{let l=o.nextSibling;for(t[e]=t[e]||[];l&&((l.getAttribute&&l.getAttribute("slot")||l["s-sn"])===n||""===n&&!l["s-sn"]&&(8===l.nodeType&&1!==l.nodeValue.indexOf(".")||3===l.nodeType));)l["s-sn"]=n,t[e].push({slot:o,node:l,hostId:s}),l=l.nextSibling},It=(t,e)=>{let n=t;do{n=n.nextSibling}while(n&&(n.nodeType!==e||!n.nodeValue));return n},Mt=t=>{const e=(t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))(t);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${e}))(${e}\\b)`,"g")};Mt("::slotted"),Mt(":host"),Mt(":host-context");var Rt,At,Lt,Tt=t=>h.push(t),Bt=t=>r(t).k,Ft=(t,e)=>{if("string"==typeof t&&(t.startsWith("{")&&t.endsWith("}")||t.startsWith("[")&&t.endsWith("]")))try{return JSON.parse(t)}catch(t){}return"string"==typeof t&&t.startsWith(i)?t=function(t){return"string"==typeof t&&t.startsWith(i)?B.fromLocalValue(JSON.parse(atob(t.slice(11)))):t}(t):null==t||L(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&e?t+"":t},Pt=t=>r(t).$hostElement$,Ut=(t,e,n)=>{const o=Pt(t);return{emit:t=>_t(o,e,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:t})}},_t=(t,e,n)=>{const o=w.ce(e,n);return t.dispatchEvent(o),o},Dt=new WeakMap,Wt=(t,e,n)=>{let o=d.get(t);j&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,d.set(t,o)},Vt=(t,e,n)=>{var o;const s=zt(e,n),l=d.get(s);if(!g.document)return s;if(t=11===t.nodeType?t:g.document,l)if("string"==typeof l){let n,i=Dt.get(t=t.head||t);if(i||Dt.set(t,i=new Set),!i.has(s)){if(t.host&&(n=t.querySelector(`[${v}="${s}"]`)))n.innerHTML=l;else{n=document.querySelector(`[${v}="${s}"]`)||g.document.createElement("style"),n.innerHTML=l;const i=null!=(o=w.C)?o:T(g.document);if(null!=i&&n.setAttribute("nonce",i),!(1&e.o))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),o=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(n,(null==o?void 0:o.parentNode)===t?o:null)}else if("host"in t)if(j){const e=new CSSStyleSheet;e.replaceSync(l),t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=l+e.innerHTML:t.prepend(n)}else t.append(n);1&e.o&&t.insertBefore(n,null)}4&e.o&&(n.innerHTML+=b),i&&i.add(s)}}else t.adoptedStyleSheets.includes(l)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,l]);return s},zt=(t,e)=>"sc-"+(e&&32&t.o?t.I+"-"+e:t.I),Ht=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Jt=(t,e,n,o,s,l,i)=>{if(n===o)return;let r=u(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,s=qt(n);let l=qt(o);t["s-si"]&&i?(l.push(t["s-si"]),s.forEach((e=>{e.startsWith(t["s-si"])&&l.push(e)})),l=[...new Set(l)],e.add(...l)):(e.remove(...s.filter((t=>t&&!l.includes(t)))),e.add(...l.filter((t=>t&&!s.includes(t)))))}else if("style"===e){for(const e in n)o&&null!=o[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in o)n&&o[e]===n[e]||(e.includes("-")?t.style.setProperty(e,o[e]):t.style[e]=o[e])}else if("key"===e);else if("ref"===e)o&&o(t);else if(r||"o"!==e[0]||"n"!==e[1]){const i=L(o);if((r||i&&null!==o)&&!s)try{if(t.tagName.includes("-"))t[e]!==o&&(t[e]=o);else{const s=null==o?"":o;"list"===e?r=!1:null!=n&&t[e]==s||("function"==typeof t.__lookupSetter__(e)?t[e]=s:t.setAttribute(e,s))}}catch(t){}let u=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(e=c,u=!0),null==o||!1===o?!1===o&&""!==t.getAttribute(e)||(u?t.removeAttributeNS(m,e):t.removeAttribute(e)):(!r||4&l||s)&&!i&&1===t.nodeType&&(o=!0===o?"":o,u?t.setAttributeNS(m,e,o):t.setAttribute(e,o))}else if(e="-"===e[2]?e.slice(3):u(g,c)?c.slice(2):c[2]+e.slice(3),n||o){const s=e.endsWith(Gt);e=e.replace(Kt,""),n&&w.rel(t,e,n,s),o&&w.ael(t,e,o,s)}},Yt=/\s/,qt=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(Yt):[]),Gt="Capture",Kt=RegExp(Gt+"$"),Qt=(t,e,n,o)=>{const s=11===e.m.nodeType&&e.m.host?e.m.host:e.m,l=t&&t.u||{},i=e.u||{};for(const t of Xt(Object.keys(l)))t in i||Jt(s,t,l[t],void 0,n,e.o,o);for(const t of Xt(Object.keys(i)))Jt(s,t,l[t],i[t],n,e.o,o)};function Xt(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var Zt=!1,te=!1,ee=!1,ne=!1,oe=(t,e,n)=>{var o;const s=e.h[n];let l,i,r,c=0;if(Zt||(ee=!0,"slot"===s.$&&(s.o|=s.h?2:1)),null!==s.i)l=s.m=g.document.createTextNode(s.i);else if(1&s.o)l=s.m=g.document.createTextNode(""),Qt(null,s,ne);else{if(ne||(ne="svg"===s.$),!g.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(l=s.m=g.document.createElementNS(ne?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!Zt&&2&s.o?"slot-fb":s.$),ne&&"foreignObject"===s.$&&(ne=!1),Qt(null,s,ne),null!=Rt&&void 0!==Rt&&l["s-si"]!==Rt&&l.classList.add(l["s-si"]=Rt),s.h)for(c=0;c<s.h.length;++c)i=oe(t,s,c),i&&l.appendChild(i);"svg"===s.$?ne=!1:"foreignObject"===l.tagName&&(ne=!0)}return l["s-hn"]=Lt,3&s.o&&(l["s-sr"]=!0,l["s-cr"]=At,l["s-sn"]=s.v||"",l["s-rf"]=null==(o=s.u)?void 0:o.ref,G(l),r=t&&t.h&&t.h[n],r&&r.$===s.$&&t.m&&se(t.m),ve(At,l,e.m,null==t?void 0:t.m)),l},se=t=>{w.o|=1;const e=t.closest(Lt.toLowerCase());if(null!=e){const n=Array.from(e.__childNodes||e.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of n?o.reverse():o)null!=t["s-sh"]&&(pe(e,t,null!=n?n:null),t["s-sh"]=void 0,ee=!0)}w.o&=-2},le=(t,e)=>{w.o|=1;const n=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let e=t;for(;e=e.nextSibling;)e&&e["s-sn"]===t["s-sn"]&&e["s-sh"]===Lt&&n.push(e)}for(let t=n.length-1;t>=0;t--){const o=n[t];o["s-hn"]!==Lt&&o["s-ol"]&&(pe(ue(o).parentNode,o,ue(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,ee=!0),e&&le(o,e)}w.o&=-2},ie=(t,e,n,o,s,l)=>{let i,r=t["s-cr"]&&t["s-cr"].parentNode||t;for(r.shadowRoot&&r.tagName===Lt&&(r=r.shadowRoot);s<=l;++s)o[s]&&(i=oe(null,n,s),i&&(o[s].m=i,pe(r,i,ue(e))))},re=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.m;he(e),t&&(te=!0,t["s-ol"]?t["s-ol"].remove():le(t,!0),t.remove())}}},ce=(t,e,n=!1)=>t.$===e.$&&("slot"===t.$?t.v===e.v:n?(n&&!t.p&&e.p&&(t.p=e.p),!0):t.p===e.p),ue=t=>t&&t["s-ol"]||t,fe=(t,e,n=!1)=>{const o=e.m=t.m,s=t.h,l=e.h,i=e.$,r=e.i;let c;null===r?(ne="svg"===i||"foreignObject"!==i&&ne,"slot"!==i||Zt||t.v!==e.v&&(e.m["s-sn"]=e.v||"",se(e.m.parentElement)),Qt(t,e,ne,n),null!==s&&null!==l?((t,e,n,o,s=!1)=>{let l,i,r=0,c=0,u=0,f=0,a=e.length-1,d=e[0],h=e[a],p=o.length-1,v=o[0],$=o[p];for(;r<=a&&c<=p;)if(null==d)d=e[++r];else if(null==h)h=e[--a];else if(null==v)v=o[++c];else if(null==$)$=o[--p];else if(ce(d,v,s))fe(d,v,s),d=e[++r],v=o[++c];else if(ce(h,$,s))fe(h,$,s),h=e[--a],$=o[--p];else if(ce(d,$,s))"slot"!==d.$&&"slot"!==$.$||le(d.m.parentNode,!1),fe(d,$,s),pe(t,d.m,h.m.nextSibling),d=e[++r],$=o[--p];else if(ce(h,v,s))"slot"!==d.$&&"slot"!==$.$||le(h.m.parentNode,!1),fe(h,v,s),pe(t,h.m,d.m),h=e[--a],v=o[++c];else{for(u=-1,f=r;f<=a;++f)if(e[f]&&null!==e[f].p&&e[f].p===v.p){u=f;break}u>=0?(i=e[u],i.$!==v.$?l=oe(e&&e[c],n,u):(fe(i,v,s),e[u]=void 0,l=i.m),v=o[++c]):(l=oe(e&&e[c],n,c),v=o[++c]),l&&pe(ue(d.m).parentNode,l,ue(d.m))}r>a?ie(t,null==o[p+1]?null:o[p+1].m,n,o,c,p):c>p&&re(e,r,a)})(o,s,e,l,n):null!==l?(null!==t.i&&(o.textContent=""),ie(o,null,e,l,0,l.length-1)):!n&&null!==s&&re(s,0,s.length-1),ne&&"svg"===i&&(ne=!1)):(c=o["s-cr"])?c.parentNode.textContent=r:t.i!==r&&(o.data=r)},ae=[],de=t=>{let e,n,o;const s=t.__childNodes||t.childNodes;for(const t of s){if(t["s-sr"]&&(e=t["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;const s=t["s-sn"];for(o=n.length-1;o>=0;o--)if(e=n[o],!(e["s-cn"]||e["s-nr"]||e["s-hn"]===t["s-hn"]||e["s-sh"]&&e["s-sh"]===t["s-hn"]))if(J(e,s)){let n=ae.find((t=>t.M===e));te=!0,e["s-sn"]=e["s-sn"]||s,n?(n.M["s-sh"]=t["s-hn"],n.R=t):(e["s-sh"]=t["s-hn"],ae.push({R:t,M:e})),e["s-sr"]&&ae.map((t=>{J(t.M,e["s-sn"])&&(n=ae.find((t=>t.M===e)),n&&!t.R&&(t.R=n.R))}))}else ae.some((t=>t.M===e))||ae.push({M:e})}1===t.nodeType&&de(t)}},he=t=>{t.u&&t.u.ref&&t.u.ref(null),t.h&&t.h.map(he)},pe=(t,e,n)=>{if("string"==typeof e["s-sn"]&&e["s-sr"]&&e["s-cr"])ve(e["s-cr"],e,t,e.parentElement);else if("string"==typeof e["s-sn"]){11!==t.getRootNode().nodeType&&pt(e),t.insertBefore(e,n);const{slotNode:o}=Q(e);return o&&K(o),e}return t.__insertBefore?t.__insertBefore(e,n):null==t?void 0:t.insertBefore(e,n)};function ve(t,e,n,o){var s,l;let i;if(t&&"string"==typeof e["s-sn"]&&e["s-sr"]&&t.parentNode&&t.parentNode["s-sc"]&&(i=e["s-si"]||t.parentNode["s-sc"])){const t=e["s-sn"],r=e["s-hn"];if(null==(s=n.classList)||s.add(i+"-s"),o&&(null==(l=o.classList)?void 0:l.contains(i+"-s"))){let e=(o.__childNodes||o.childNodes)[0],n=!1;for(;e;){if(e["s-sn"]!==t&&e["s-hn"]===r&&e["s-sr"]){n=!0;break}e=e.nextSibling}n||o.classList.remove(i+"-s")}}}var $e=(t,e)=>{if(e&&!t.A&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t.A=()=>{e["s-p"].splice(n-1,1),o()})))}},be=(t,e)=>{if(t.o|=16,!(4&t.o))return $e(t,t.L),R((()=>me(t,e)));t.o|=512},me=(t,e)=>{const n=t.$hostElement$,o=t.t;if(!o)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let s;return e?(t.o|=256,t.T&&(t.T.map((([t,e])=>xe(o,t,e,n))),t.T=void 0),s=xe(o,"componentWillLoad",void 0,n)):s=xe(o,"componentWillUpdate",void 0,n),s=ge(s,(()=>xe(o,"componentWillRender",void 0,n))),ge(s,(()=>we(t,o,e)))},ge=(t,e)=>ye(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),ye=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,we=async(t,e,n)=>{var o;const s=t.$hostElement$,l=s["s-rc"];n&&(t=>{const e=t.B,n=t.$hostElement$,o=e.o,s=Vt(n.shadowRoot?n.shadowRoot:n.getRootNode(),e,t.k);10&o&&(n["s-sc"]=s,n.classList.add(s+"-h"))})(t);Se(t,e,s,n),l&&(l.map((t=>t())),s["s-rc"]=void 0);{const e=null!=(o=s["s-p"])?o:[],n=()=>je(t);0===e.length?n():(Promise.all(e).then(n),t.o|=4,e.length=0)}},Se=(t,e,n,o)=>{try{e=e.render&&e.render(),t.o&=-17,t.o|=2,((t,e,n=!1)=>{var o,s,l,i,r;const c=t.$hostElement$,u=t.B,f=t.F||yt(null,null),a=(t=>t&&t.$===wt)(e)?e:gt(null,null,e);if(Lt=c.tagName,u.P&&(a.u=a.u||{},u.P.map((([t,e])=>a.u[e]=c[t]))),n&&a.u)for(const t of Object.keys(a.u))c.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(a.u[t]=c[t]);if(a.$=null,a.o|=4,t.F=a,a.m=f.m=c.shadowRoot||c,Rt=c["s-sc"],Zt=!(!(1&u.o)||128&u.o),At=c["s-cr"],te=!1,fe(f,a,n),w.o|=1,ee){de(a.m);for(const t of ae){const e=t.M;if(!e["s-ol"]&&g.document){const t=g.document.createTextNode("");t["s-nr"]=e,pe(e.parentNode,e["s-ol"]=t,e)}}for(const t of ae){const e=t.M,r=t.R;if(r){const t=r.parentNode;let n=r.nextSibling;if(n&&1===n.nodeType){let l=null==(o=e["s-ol"])?void 0:o.previousSibling;for(;l;){let o=null!=(s=l["s-nr"])?s:null;if(o&&o["s-sn"]===e["s-sn"]&&t===(o.__parentNode||o.parentNode)){for(o=o.nextSibling;o===e||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){n=o;break}}l=l.previousSibling}}(!n&&t!==(e.__parentNode||e.parentNode)||(e.__nextSibling||e.nextSibling)!==n)&&e!==n&&(pe(t,e,n),1===e.nodeType&&"SLOT-FB"!==e.tagName&&(e.hidden=null!=(l=e["s-ih"])&&l)),e&&"function"==typeof r["s-rf"]&&r["s-rf"](r)}else 1===e.nodeType&&(n&&(e["s-ih"]=null!=(i=e.hidden)&&i),e.hidden=!0)}}if(te&&W(a.m),w.o&=-2,ae.length=0,2&u.o){const t=a.m.__childNodes||a.m.childNodes;for(const e of t)e["s-hn"]===Lt||e["s-sh"]||(n&&null==e["s-ih"]&&(e["s-ih"]=null!=(r=e.hidden)&&r),e.hidden=!0)}At=void 0})(t,e,o)}catch(e){f(e,t.$hostElement$)}return null},je=t=>{const e=t.$hostElement$,n=t.t,o=t.L;xe(n,"componentDidRender",void 0,e),64&t.o?xe(n,"componentDidUpdate",void 0,e):(t.o|=64,Ee(e),xe(n,"componentDidLoad",void 0,e),t.U(e),o||Ne()),t._(e),t.A&&(t.A(),t.A=void 0),512&t.o&&I((()=>be(t,!1))),t.o&=-517},Oe=t=>{{const e=r(t),n=e.$hostElement$.isConnected;return n&&2==(18&e.o)&&be(e,!1),n}},Ne=()=>{I((()=>_t(g,"appload",{detail:{namespace:"ionic"}})))},xe=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){f(t,o)}},Ee=t=>t.classList.add("hydrated"),ke=(t,e,n,o)=>{const s=r(t);if(!s)throw Error(`Couldn't find host element for "${o.I}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const l=s.$hostElement$,i=s.D.get(e),c=s.o,u=s.t;if(n=Ft(n,o.W[e][0]),(!(8&c)||void 0===i)&&n!==i&&(!Number.isNaN(i)||!Number.isNaN(n))&&(s.D.set(e,n),u)){if(o.V&&128&c){const t=o.V[e];t&&t.map((t=>{try{u[t](n,i,e)}catch(t){f(t,l)}}))}if(2==(18&c)){if(u.componentShouldUpdate&&!1===u.componentShouldUpdate(n,i,e))return;be(s,!1)}}},Ce=(t,e,n)=>{var o,s;const l=t.prototype;if(e.W||e.V||t.watchers){t.watchers&&!e.V&&(e.V=t.watchers);const i=Object.entries(null!=(o=e.W)?o:{});if(i.map((([t,[o]])=>{if(31&o||2&n&&32&o){const{get:s,set:i}=Object.getOwnPropertyDescriptor(l,t)||{};s&&(e.W[t][0]|=2048),i&&(e.W[t][0]|=4096),(1&n||!s)&&Object.defineProperty(l,t,{get(){{if(!(2048&e.W[t][0]))return((t,e)=>r(this).D.get(e))(0,t);const n=r(this),o=n?n.t:l;if(!o)return;return o[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(l,t,{set(s){const l=r(this);if(i){const n=32&o?this[t]:l.$hostElement$[t];return void 0===n&&l.D.get(t)?s=l.D.get(t):!l.D.get(t)&&n&&l.D.set(t,n),i.call(this,Ft(s,o)),void ke(this,t,s=32&o?this[t]:l.$hostElement$[t],e)}{if(!(1&n&&4096&e.W[t][0]))return ke(this,t,s,e),void(1&n&&!l.t&&l.H.then((()=>{4096&e.W[t][0]&&l.t[t]!==l.D.get(t)&&(l.t[t]=s)})));const i=()=>{const n=l.t[t];!l.D.get(t)&&n&&l.D.set(t,n),l.t[t]=Ft(s,o),ke(this,t,l.t[t],e)};l.t?i():l.H.then((()=>i()))}}})}else 1&n&&64&o&&Object.defineProperty(l,t,{value(...e){var n;const o=r(this);return null==(n=null==o?void 0:o.J)?void 0:n.then((()=>{var n;return null==(n=o.t)?void 0:n[t](...e)}))}})})),1&n){const n=new Map;l.attributeChangedCallback=function(t,o,s){w.jmp((()=>{var i;const c=n.get(t);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(l.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const n=r(this),l=null==n?void 0:n.o;if(l&&!(8&l)&&128&l&&s!==o){const l=n.t,r=null==(i=e.V)?void 0:i[t];null==r||r.forEach((e=>{null!=l[e]&&l[e].call(l,s,o,t)}))}return}}const u=Object.getOwnPropertyDescriptor(l,c);(s=(null!==s||"boolean"!=typeof this[c])&&s)===this[c]||u.get&&!u.set||(this[c]=s)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=e.V)?s:{}),...i.filter((([t,e])=>15&e[0])).map((([t,o])=>{var s;const l=o[1]||t;return n.set(l,t),512&o[0]&&(null==(s=e.P)||s.push([t,l])),l}))]))}}return t},Ie=(t,e)=>{xe(t,"connectedCallback",void 0,e)},Me=t=>{if(!(1&w.o)){const e=r(t),n=e.B,o=()=>{};if(1&e.o)Be(t,e,n.Y),(null==e?void 0:e.t)?Ie(e.t,t):(null==e?void 0:e.H)&&e.H.then((()=>Ie(e.t,t)));else{let o;if(e.o|=1,o=t.getAttribute(p),o){if(1&n.o){const e=Vt(t.shadowRoot,n,t.getAttribute("s-mode"));t.classList.remove(e+"-h",e+"-s")}else if(2&n.o){const e=zt(n,t.getAttribute("s-mode"));t["s-sc"]=e}((t,e,n,o)=>{var s;const l=t.shadowRoot,i=[],r=[],c=[],u=l?[]:null,f=yt(e,null);let a;f.m=t,Object.entries((null==(s=o.B)?void 0:s.W)||{}).forEach((([e,[n,s]])=>{var l;if(!(31&n))return;const i=t.getAttribute(s||e);if(null!==i){const t=Ft(i,n);null==(l=null==o?void 0:o.D)||l.set(e,t)}}));{const e=o.B;e&&10&e.o&&t["s-sc"]?(a=t["s-sc"],t.classList.add(a+"-h")):t["s-sc"]&&delete t["s-sc"]}!g.document||w.q&&w.q.size||xt(g.document.body,w.q=new Map),t[p]=n,t.removeAttribute(p),o.F=Nt(f,i,r,u,t,t,n,c);let d=0;const h=i.length;let v;for(;d<h;d++){v=i[d];const n=v.S+"."+v.j,o=w.q.get(n),s=v.m;l||(s["s-hn"]=e.toUpperCase(),"slot"===v.$&&(s["s-cr"]=t["s-cr"])),"slot"===v.$&&(v.v=v.m["s-sn"]||v.m.name||null,v.h?(v.o|=2,v.m.childNodes.length||v.h.forEach((t=>{v.m.appendChild(t.m)}))):v.o|=1),o&&o.isConnected&&(l&&""===o["s-en"]&&o.parentNode.insertBefore(s,o.nextSibling),o.parentNode.removeChild(o),l||(s["s-oo"]=parseInt(v.j))),w.q.delete(n)}const $=[],b=c.length;let m,y,S,j,O=0;for(;O<b;O++)if(m=c[O],m&&m.length)for(S=m.length,y=0;y<S;y++){if(j=m[y],$[j.hostId]||($[j.hostId]=w.q.get(j.hostId)),!$[j.hostId])continue;const t=$[j.hostId];t.shadowRoot&&l||(j.slot["s-cr"]=t["s-cr"],j.slot["s-cr"]=!j.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0],Y(j.node,j.slot,!1,j.node["s-oo"]),ut(j.node)),t.shadowRoot&&j.node.parentElement!==t&&t.appendChild(j.node)}if(a&&r.length&&r.forEach((t=>{t.m.parentElement.classList.add(a+"-s")})),l&&!l.childNodes.length){let e=0;const n=u.length;if(n){for(;e<n;e++)l.appendChild(u[e]);Array.from(t.childNodes).forEach((t=>{"string"!=typeof t["s-sn"]&&(1===t.nodeType&&t.slot&&t.hidden?t.removeAttribute("hidden"):(8===t.nodeType||3===t.nodeType&&!t.wholeText.trim())&&t.parentNode.removeChild(t))}))}}w.q.delete(t["s-id"]),o.$hostElement$=t})(t,n.I,o,e)}o||12&n.o&&Re(t);{let n=t;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){$e(e,e.L=n);break}}n.W&&Object.entries(n.W).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let o;if(!(32&e.o)){if(e.o|=32,n.G){const s=((t,e)=>{const n=t.I.replace(/-/g,"_"),o=t.G;if(!o)return;const s=a.get(o);return s?s[n]:import(`./${o}.entry.js`).then((t=>(a.set(o,t),t[n])),(t=>{f(t,e.$hostElement$)}))
|
|
5
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,e);if(s&&"then"in s){const t=()=>{};o=await s,t()}else o=s;if(!o)throw Error(`Constructor for "${n.I}#${e.k}" was not found`);o.isProxied||(n.V=o.watchers,Ce(o,n,2),o.isProxied=!0);const l=()=>{};e.o|=8;try{new o(e)}catch(e){f(e,t)}e.o&=-9,e.o|=128,l(),Ie(e.t,t)}else o=t.constructor,customElements.whenDefined(t.localName).then((()=>e.o|=128));if(o&&o.style){let s;"string"==typeof o.style?s=o.style:"string"!=typeof o.style&&(e.k=(t=>h.map((e=>e(t))).find((t=>!!t)))(t),e.k&&(s=o.style[e.k]));const l=zt(n,e.k);if(!d.has(l)){const t=()=>{};Wt(l,s,!!(1&n.o)),t()}}}const s=e.L,l=()=>be(e,!0);s&&s["s-rc"]?s["s-rc"].push(l):l()})(t,e,n)}o()}},Re=t=>{if(!g.document)return;const e=t["s-cr"]=g.document.createComment("");e["s-cn"]=!0,pe(t,e,t.firstChild)},Ae=(t,e)=>{xe(t,"disconnectedCallback",void 0,e||t)},Le=(t,e={})=>{var n;if(!g.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const o=[],s=e.exclude||[],l=g.customElements,i=g.document.head,c=i.querySelector("meta[charset]"),u=g.document.createElement("style"),f=[];let a,d=!0;Object.assign(w,e),w.l=new URL(e.resourcesUrl||"./",g.document.baseURI).href,w.o|=2,(()=>{if(!g.document)return;const t=g.document.querySelectorAll(`[${v}]`);let e=0;for(;e<t.length;e++)Wt(t[e].getAttribute(v),Ht(t[e].innerHTML),!0)})();let h=!1;if(t.map((t=>{t[1].map((e=>{var n;const i={o:e[0],I:e[1],W:e[2],Y:e[3]};4&i.o&&(h=!0),i.W=e[2],i.Y=e[3],i.
|
|
4
|
+
var t=Object.defineProperty,e={isBrowser:!0},n=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(n||{}),o=(t=>(t.Array="array",t.Date="date",t.Map="map",t.Object="object",t.RegularExpression="regexp",t.Set="set",t.Channel="channel",t.Symbol="symbol",t))(o||{}),s="type",l="value",i="serialized:",r=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},c=(t,e)=>{t.__stencil__getHostRef=()=>e,e.t=t},u=(t,e)=>e in t,f=(t,e)=>(0,console.error)(t,e),a=new Map,d=new Map,h=[],p="s-id",v="sty-id",$="c-id",b="slot-fb{display:contents}slot-fb[hidden]{display:none}",m="http://www.w3.org/1999/xlink",g="undefined"!=typeof window?window:{},y=g.HTMLElement||class{},w={o:0,l:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},S=t=>Promise.resolve(t),j=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),O=!1,N=[],x=[],E=(t,e)=>n=>{t.push(n),O||(O=!0,e&&4&w.o?I(C):w.raf(C))},k=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){f(t)}t.length=0},C=()=>{k(N),k(x),(O=N.length>0)&&w.raf(C)},I=t=>S().then(t),M=E(N,!1),R=E(x,!0),A=t=>{const e=new URL(t,w.l);return e.origin!==g.location.origin?e.href:e.pathname},L=t=>"object"==(t=typeof t)||"function"===t;function T(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}var B=class t{static fromLocalValue(e){const n=e[s],o=l in e?e[l]:void 0;switch(n){case"string":case"boolean":return o;case"bigint":return BigInt(o);case"undefined":return;case"null":return null;case"number":return"NaN"===o?NaN:"-0"===o?-0:"Infinity"===o?1/0:"-Infinity"===o?-1/0:o;case"array":return o.map((e=>t.fromLocalValue(e)));case"date":return new Date(o);case"map":const e=new Map;for(const[n,s]of o){const o="object"==typeof n&&null!==n?t.fromLocalValue(n):n,l=t.fromLocalValue(s);e.set(o,l)}return e;case"object":const s={};for(const[e,n]of o)s[e]=t.fromLocalValue(n);return s;case"regexp":const{pattern:l,flags:i}=o;return RegExp(l,i);case"set":const r=new Set;for(const e of o)r.add(t.fromLocalValue(e));return r;case"symbol":return Symbol(o);default:throw Error("Unsupported type: "+n)}}static fromLocalValueArray(e){return e.map((e=>t.fromLocalValue(e)))}static isLocalValueObject(t){if("object"!=typeof t||null===t)return!1;if(!t.hasOwnProperty(s))return!1;const e=t[s];return!!Object.values({...n,...o}).includes(e)&&("null"===e||"undefined"===e||t.hasOwnProperty(l))}};((e,n)=>{for(var o in n)t(e,o,{get:n[o],enumerable:!0})})({},{err:()=>F,map:()=>U,ok:()=>P,unwrap:()=>_,unwrapErr:()=>D});var P=t=>({isOk:!0,isErr:!1,value:t}),F=t=>({isOk:!1,isErr:!0,value:t});function U(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>P(t))):P(n)}if(t.isErr)return F(t.value);throw"should never get here"}var _=t=>{if(t.isOk)return t.value;throw t.value},D=t=>{if(t.isErr)return t.value;throw t.value},W=t=>{const e=mt(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&z(e,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!H(t,q(t),!1).length)}));let n=0;for(n=0;n<e.length;n++){const t=e[n];1===t.nodeType&&mt(t,"childNodes").length&&W(t)}},V=t=>{const e=[];for(let n=0;n<t.length;n++){const o=t[n]["s-nr"]||void 0;o&&o.isConnected&&e.push(o)}return e};function z(t,e,n){let o,s=0,l=[];for(;s<t.length;s++){if(o=t[s],o["s-sr"]&&(!e||o["s-hn"]===e)&&(void 0===n||q(o)===n)&&(l.push(o),void 0!==n))return l;l=[...l,...z(o.childNodes,e,n)]}return l}var H=(t,e,n=!0)=>{const o=[];(n&&t["s-sr"]||!t["s-sr"])&&o.push(t);let s=t;for(;s=s.nextSibling;)q(s)!==e||!n&&s["s-sr"]||o.push(s);return o},J=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,Y=(t,e,n,o)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const s=document.createTextNode("");if(s["s-nr"]=t,!e["s-cr"]||!e["s-cr"].parentNode)return;const l=e["s-cr"].parentNode,i=mt(l,n?"prepend":"appendChild");if(void 0!==o){s["s-oo"]=o;const t=mt(l,"childNodes"),e=[s];t.forEach((t=>{t["s-nr"]&&e.push(t)})),e.sort(((t,e)=>!t["s-oo"]||t["s-oo"]<(e["s-oo"]||0)?-1:!e["s-oo"]||e["s-oo"]<t["s-oo"]?1:0)),e.forEach((t=>i.call(l,t)))}else i.call(l,s);t["s-ol"]=s,t["s-sh"]=e["s-hn"]},q=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function G(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const e=e=>function(t){const n=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots. \n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const s=this["s-cr"].parentElement;return(s.__childNodes?s.childNodes:V(s.childNodes)).forEach((t=>{o===q(t)&&n.push(t)})),e?n.filter((t=>1===t.nodeType)):n}.bind(t);t.assignedElements=e(!0),t.assignedNodes=e(!1)}function K(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function Q(t,e){var n;if(!(e=e||(null==(n=t["s-ol"])?void 0:n.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=q(t)||"";return{slotNode:z(mt(e,"childNodes"),e.tagName,o)[0],slotName:o}}var X=t=>{const e=t.cloneNode;t.cloneNode=function(t){const n=this.shadowRoot&&true,o=e.call(this,!!n&&t);if(!n&&t){let t,e,n=0;const s=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"],l=this.__childNodes||this.childNodes;for(;n<l.length;n++)t=l[n]["s-nr"],e=s.every((t=>!l[n][t])),t&&(o.__appendChild?o.__appendChild(t.cloneNode(!0)):o.appendChild(t.cloneNode(!0))),e&&o.appendChild(l[n].cloneNode(!0))}return o}},Z=t=>{t.__appendChild=t.appendChild,t.appendChild=function(t){const{slotName:e,slotNode:n}=Q(t,this);if(n){Y(t,n);const o=H(n,e),s=o[o.length-1],l=mt(s,"parentNode"),i=mt(l,"insertBefore")(t,s.nextSibling);return K(n),W(this),i}return this.__appendChild(t)}},tt=t=>{t.__removeChild=t.removeChild,t.removeChild=function(t){return t&&void 0!==t["s-sn"]&&z(this.__childNodes||this.childNodes,this.tagName,t["s-sn"])&&t.isConnected?(t.remove(),void W(this)):this.__removeChild(t)}},et=t=>{t.__prepend=t.prepend,t.prepend=function(...e){e.forEach((e=>{"string"==typeof e&&(e=this.ownerDocument.createTextNode(e));const n=(e["s-sn"]=q(e))||"",o=z(mt(this,"childNodes"),this.tagName,n)[0];if(o){Y(e,o,!0);const t=H(o,n)[0],s=mt(t,"parentNode"),l=mt(s,"insertBefore")(e,mt(t,"nextSibling"));return K(o),l}return 1===e.nodeType&&e.getAttribute("slot")&&(e.hidden=!0),t.__prepend(e)}))}},nt=t=>{t.__append=t.append,t.append=function(...t){t.forEach((t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t)),this.appendChild(t)}))}},ot=t=>{const e=t.insertAdjacentHTML;t.insertAdjacentHTML=function(t,n){if("afterbegin"!==t&&"beforeend"!==t)return e.call(this,t,n);const o=this.ownerDocument.createElement("_");let s;if(o.innerHTML=n,"afterbegin"===t)for(;s=o.firstChild;)this.prepend(s);else if("beforeend"===t)for(;s=o.firstChild;)this.append(s)}},st=t=>{t.insertAdjacentText=function(t,e){this.insertAdjacentHTML(t,e)}},lt=t=>{t.__insertBefore||(t.__insertBefore=t.insertBefore,t.insertBefore=function(t,e){const{slotName:n,slotNode:o}=Q(t,this),s=this.__childNodes?this.childNodes:V(this.childNodes);if(o){let l=!1;if(s.forEach((s=>{if(s!==e&&null!==e);else{if(l=!0,null===e||n!==e["s-sn"])return void this.appendChild(t);if(n===e["s-sn"]){Y(t,o);const n=mt(e,"parentNode");mt(n,"insertBefore")(t,e),K(o)}}})),l)return t}const l=null==e?void 0:e.__parentNode;return l&&!this.isSameNode(l)?this.appendChild(t):this.__insertBefore(t,e)})},it=t=>{const e=t.insertAdjacentElement;t.insertAdjacentElement=function(t,n){return"afterbegin"!==t&&"beforeend"!==t?e.call(this,t,n):"afterbegin"===t?(this.prepend(n),n):"beforeend"===t?(this.append(n),n):n}},rt=t=>{bt("textContent",t),Object.defineProperty(t,"textContent",{get:function(){let t="";return(this.__childNodes?this.childNodes:V(this.childNodes)).forEach((e=>t+=e.textContent||"")),t},set:function(t){(this.__childNodes?this.childNodes:V(this.childNodes)).forEach((t=>{t["s-ol"]&&t["s-ol"].remove(),t.remove()})),this.insertAdjacentHTML("beforeend",t)}})},ct=t=>{class e extends Array{item(t){return this[t]}}bt("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),bt("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]}}),bt("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]}}),bt("childNodes",t),Object.defineProperty(t,"childNodes",{get(){const t=new e;return t.push(...V(this.__childNodes)),t}})},ut=t=>{t&&void 0===t.__nextSibling&&globalThis.Node&&(ft(t),dt(t),pt(t),t.nodeType===Node.ELEMENT_NODE&&(at(t),ht(t)))},ft=t=>{t&&!t.__nextSibling&&(bt("nextSibling",t),Object.defineProperty(t,"nextSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.childNodes,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n+1]:this.__nextSibling}}))},at=t=>{t&&!t.__nextElementSibling&&(bt("nextElementSibling",t),Object.defineProperty(t,"nextElementSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.children,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n+1]:this.__nextElementSibling}}))},dt=t=>{t&&!t.__previousSibling&&(bt("previousSibling",t),Object.defineProperty(t,"previousSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.childNodes,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n-1]:this.__previousSibling}}))},ht=t=>{t&&!t.__previousElementSibling&&(bt("previousElementSibling",t),Object.defineProperty(t,"previousElementSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.children,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n-1]:this.__previousElementSibling}}))},pt=t=>{t&&!t.__parentNode&&(bt("parentNode",t),Object.defineProperty(t,"parentNode",{get:function(){var t;return(null==(t=this["s-ol"])?void 0:t.parentNode)||this.__parentNode},set:function(t){this.__parentNode=t}}))},vt=["children","nextElementSibling","previousElementSibling"],$t=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function bt(t,e){let n;vt.includes(t)?n=Object.getOwnPropertyDescriptor(Element.prototype,t):$t.includes(t)&&(n=Object.getOwnPropertyDescriptor(Node.prototype,t)),n||(n=Object.getOwnPropertyDescriptor(e,t)),n&&Object.defineProperty(e,"__"+t,n)}function mt(t,e){if("__"+e in t){const n=t["__"+e];return"function"!=typeof n?n:n.bind(t)}return"function"!=typeof t[e]?t[e]:t[e].bind(t)}var gt=(t,e,...n)=>{let o=null,s=null,l=null,i=!1,r=!1;const c=[],u=e=>{for(let n=0;n<e.length;n++)o=e[n],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof t&&!L(o))&&(o+=""),i&&r?c[c.length-1].i+=o:c.push(i?yt(null,o):o),r=i)};if(u(n),e){e.key&&(s=e.key),e.name&&(l=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,c,St);const f=yt(t,null);return f.u=e,c.length>0&&(f.h=c),f.p=s,f.v=l,f},yt=(t,e)=>({o:0,$:t,i:e,m:null,h:null,u:null,p:null,v:null}),wt={},St={forEach:(t,e)=>t.map(jt).forEach(e),map:(t,e)=>t.map(jt).map(e).map(Ot)},jt=t=>({vattrs:t.u,vchildren:t.h,vkey:t.p,vname:t.v,vtag:t.$,vtext:t.i}),Ot=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),gt(t.vtag,e,...t.vchildren||[])}const e=yt(t.vtag,t.vtext);return e.u=t.vattrs,e.h=t.vchildren,e.p=t.vkey,e.v=t.vname,e},Nt=(t,e,n,o,s,l,i,r=[])=>{let c,u,f,a;const d=s["s-sc"];if(1===l.nodeType){if(c=l.getAttribute($),c&&(u=c.split("."),u[0]===i||"0"===u[0])){f=Et({o:0,S:u[0],j:u[1],O:u[2],N:u[3],$:l.tagName.toLowerCase(),m:l,u:{class:l.className||""}}),e.push(f),l.removeAttribute($),t.h||(t.h=[]),d&&(l["s-si"]=d,f.u.class+=" "+d);const s=f.m.getAttribute("s-sn");"string"==typeof s&&("slot-fb"===f.$&&(kt(s,u[2],f,l,t,e,n,o,r),d&&l.classList.add(d)),f.m["s-sn"]=s,f.m.removeAttribute("s-sn")),void 0!==f.N&&(t.h[f.N]=f),t=f,o&&"0"===f.O&&(o[f.N]=f.m)}if(l.shadowRoot)for(a=l.shadowRoot.childNodes.length-1;a>=0;a--)Nt(t,e,n,o,s,l.shadowRoot.childNodes[a],i,r);const h=l.__childNodes||l.childNodes;for(a=h.length-1;a>=0;a--)Nt(t,e,n,o,s,h[a],i,r)}else if(8===l.nodeType)u=l.nodeValue.split("."),(u[1]===i||"0"===u[1])&&(c=u[0],f=Et({S:u[1],j:u[2],O:u[3],N:u[4]||"0",m:l,u:null,h:null,p:null,v:null,$:null,i:null}),"t"===c?(f.m=It(l,3),f.m&&3===f.m.nodeType&&(f.i=f.m.textContent,e.push(f),l.remove(),i===f.S&&(t.h||(t.h=[]),t.h[f.N]=f),o&&"0"===f.O&&(o[f.N]=f.m))):"c"===c?(f.m=It(l,8),f.m&&8===f.m.nodeType&&(e.push(f),l.remove())):f.S===i&&("s"===c?kt(l["s-sn"]=u[5]||"",u[2],f,l,t,e,n,o,r):"r"===c&&(o?l.remove():(s["s-cr"]=l,l["s-cn"]=!0))));else if(t&&"style"===t.$){const e=yt(null,l.textContent);e.m=l,e.N="0",t.h=[e]}else 3!==l.nodeType||l.wholeText.trim()||l.remove();return t},xt=(t,e)=>{if(1===t.nodeType){const n=t[p]||t.getAttribute(p);n&&e.set(n,t);let o=0;if(t.shadowRoot)for(;o<t.shadowRoot.childNodes.length;o++)xt(t.shadowRoot.childNodes[o],e);const s=t.__childNodes||t.childNodes;for(o=0;o<s.length;o++)xt(s[o],e)}else if(8===t.nodeType){const n=t.nodeValue.split(".");"o"===n[0]&&(e.set(n[1]+"."+n[2],t),t.nodeValue="",t["s-en"]=n[3])}},Et=t=>({o:0,S:null,j:null,O:null,N:"0",m:null,u:null,h:null,p:null,v:null,$:null,i:null,...t});function kt(t,e,n,o,s,l,i,r,c){o["s-sr"]=!0,n.v=t||null,n.$="slot";const u=(null==s?void 0:s.m)?s.m["s-id"]||s.m.getAttribute("s-id"):"";if(r&&g.document){const l=n.m=g.document.createElement(n.$);n.v&&n.m.setAttribute("name",t),u&&u!==n.S?s.m.insertBefore(l,s.m.children[0]):o.parentNode.insertBefore(n.m,o),Ct(c,e,t,o,n.S),o.remove(),"0"===n.O&&(r[n.N]=n.m)}else{const i=n.m,r=u&&u!==n.S&&s.m.shadowRoot;Ct(c,e,t,o,r?u:n.S),G(o),r&&s.m.insertBefore(i,s.m.children[0]),l.push(n)}i.push(n),s.h||(s.h=[]),s.h[n.N]=n}var Ct=(t,e,n,o,s)=>{let l=o.nextSibling;for(t[e]=t[e]||[];l&&((l.getAttribute&&l.getAttribute("slot")||l["s-sn"])===n||""===n&&!l["s-sn"]&&(8===l.nodeType&&1!==l.nodeValue.indexOf(".")||3===l.nodeType));)l["s-sn"]=n,t[e].push({slot:o,node:l,hostId:s}),l=l.nextSibling},It=(t,e)=>{let n=t;do{n=n.nextSibling}while(n&&(n.nodeType!==e||!n.nodeValue));return n},Mt=t=>{const e=(t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))(t);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${e}))(${e}\\b)`,"g")};Mt("::slotted"),Mt(":host"),Mt(":host-context");var Rt,At,Lt,Tt=t=>h.push(t),Bt=t=>r(t).k,Pt=(t,e)=>{if("string"==typeof t&&(t.startsWith("{")&&t.endsWith("}")||t.startsWith("[")&&t.endsWith("]")))try{return JSON.parse(t)}catch(t){}return"string"==typeof t&&t.startsWith(i)?t=function(t){return"string"==typeof t&&t.startsWith(i)?B.fromLocalValue(JSON.parse(atob(t.slice(11)))):t}(t):null==t||L(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&e?t+"":t},Ft=t=>r(t).$hostElement$,Ut=(t,e,n)=>{const o=Ft(t);return{emit:t=>_t(o,e,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:t})}},_t=(t,e,n)=>{const o=w.ce(e,n);return t.dispatchEvent(o),o},Dt=new WeakMap,Wt=(t,e,n)=>{let o=d.get(t);j&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,d.set(t,o)},Vt=(t,e,n)=>{var o;const s=zt(e,n),l=d.get(s);if(!g.document)return s;if(t=11===t.nodeType?t:g.document,l)if("string"==typeof l){let n,i=Dt.get(t=t.head||t);if(i||Dt.set(t,i=new Set),!i.has(s)){if(t.host&&(n=t.querySelector(`[${v}="${s}"]`)))n.innerHTML=l;else{n=document.querySelector(`[${v}="${s}"]`)||g.document.createElement("style"),n.innerHTML=l;const i=null!=(o=w.C)?o:T(g.document);if(null!=i&&n.setAttribute("nonce",i),!(1&e.o))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),o=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(n,(null==o?void 0:o.parentNode)===t?o:null)}else if("host"in t)if(j){const e=new CSSStyleSheet;e.replaceSync(l),t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=l+e.innerHTML:t.prepend(n)}else t.append(n);1&e.o&&t.insertBefore(n,null)}4&e.o&&(n.innerHTML+=b),i&&i.add(s)}}else t.adoptedStyleSheets.includes(l)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,l]);return s},zt=(t,e)=>"sc-"+(e&&32&t.o?t.I+"-"+e:t.I),Ht=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Jt=(t,e,n,o,s,l,i)=>{if(n===o)return;let r=u(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,s=qt(n);let l=qt(o);t["s-si"]&&i?(l.push(t["s-si"]),s.forEach((e=>{e.startsWith(t["s-si"])&&l.push(e)})),l=[...new Set(l)],e.add(...l)):(e.remove(...s.filter((t=>t&&!l.includes(t)))),e.add(...l.filter((t=>t&&!s.includes(t)))))}else if("style"===e){for(const e in n)o&&null!=o[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in o)n&&o[e]===n[e]||(e.includes("-")?t.style.setProperty(e,o[e]):t.style[e]=o[e])}else if("key"===e);else if("ref"===e)o&&o(t);else if(r||"o"!==e[0]||"n"!==e[1]){const i=L(o);if((r||i&&null!==o)&&!s)try{if(t.tagName.includes("-"))t[e]!==o&&(t[e]=o);else{const s=null==o?"":o;"list"===e?r=!1:null!=n&&t[e]==s||("function"==typeof t.__lookupSetter__(e)?t[e]=s:t.setAttribute(e,s))}}catch(t){}let u=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(e=c,u=!0),null==o||!1===o?!1===o&&""!==t.getAttribute(e)||(u?t.removeAttributeNS(m,e):t.removeAttribute(e)):(!r||4&l||s)&&!i&&1===t.nodeType&&(o=!0===o?"":o,u?t.setAttributeNS(m,e,o):t.setAttribute(e,o))}else if(e="-"===e[2]?e.slice(3):u(g,c)?c.slice(2):c[2]+e.slice(3),n||o){const s=e.endsWith(Gt);e=e.replace(Kt,""),n&&w.rel(t,e,n,s),o&&w.ael(t,e,o,s)}},Yt=/\s/,qt=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(Yt):[]),Gt="Capture",Kt=RegExp(Gt+"$"),Qt=(t,e,n,o)=>{const s=11===e.m.nodeType&&e.m.host?e.m.host:e.m,l=t&&t.u||{},i=e.u||{};for(const t of Xt(Object.keys(l)))t in i||Jt(s,t,l[t],void 0,n,e.o,o);for(const t of Xt(Object.keys(i)))Jt(s,t,l[t],i[t],n,e.o,o)};function Xt(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var Zt=!1,te=!1,ee=!1,ne=!1,oe=(t,e,n)=>{var o;const s=e.h[n];let l,i,r,c=0;if(Zt||(ee=!0,"slot"===s.$&&(s.o|=s.h?2:1)),null!==s.i)l=s.m=g.document.createTextNode(s.i);else if(1&s.o)l=s.m=g.document.createTextNode(""),Qt(null,s,ne);else{if(ne||(ne="svg"===s.$),!g.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(l=s.m=g.document.createElementNS(ne?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!Zt&&2&s.o?"slot-fb":s.$),ne&&"foreignObject"===s.$&&(ne=!1),Qt(null,s,ne),null!=Rt&&void 0!==Rt&&l["s-si"]!==Rt&&l.classList.add(l["s-si"]=Rt),s.h)for(c=0;c<s.h.length;++c)i=oe(t,s,c),i&&l.appendChild(i);"svg"===s.$?ne=!1:"foreignObject"===l.tagName&&(ne=!0)}return l["s-hn"]=Lt,3&s.o&&(l["s-sr"]=!0,l["s-cr"]=At,l["s-sn"]=s.v||"",l["s-rf"]=null==(o=s.u)?void 0:o.ref,G(l),r=t&&t.h&&t.h[n],r&&r.$===s.$&&t.m&&se(t.m),ve(At,l,e.m,null==t?void 0:t.m)),l},se=t=>{w.o|=1;const e=t.closest(Lt.toLowerCase());if(null!=e){const n=Array.from(e.__childNodes||e.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of n?o.reverse():o)null!=t["s-sh"]&&(pe(e,t,null!=n?n:null),t["s-sh"]=void 0,ee=!0)}w.o&=-2},le=(t,e)=>{w.o|=1;const n=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let e=t;for(;e=e.nextSibling;)e&&e["s-sn"]===t["s-sn"]&&e["s-sh"]===Lt&&n.push(e)}for(let t=n.length-1;t>=0;t--){const o=n[t];o["s-hn"]!==Lt&&o["s-ol"]&&(pe(ue(o).parentNode,o,ue(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,ee=!0),e&&le(o,e)}w.o&=-2},ie=(t,e,n,o,s,l)=>{let i,r=t["s-cr"]&&t["s-cr"].parentNode||t;for(r.shadowRoot&&r.tagName===Lt&&(r=r.shadowRoot);s<=l;++s)o[s]&&(i=oe(null,n,s),i&&(o[s].m=i,pe(r,i,ue(e))))},re=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.m;he(e),t&&(te=!0,t["s-ol"]?t["s-ol"].remove():le(t,!0),t.remove())}}},ce=(t,e,n=!1)=>t.$===e.$&&("slot"===t.$?t.v===e.v:n?(n&&!t.p&&e.p&&(t.p=e.p),!0):t.p===e.p),ue=t=>t&&t["s-ol"]||t,fe=(t,e,n=!1)=>{const o=e.m=t.m,s=t.h,l=e.h,i=e.$,r=e.i;let c;null===r?(ne="svg"===i||"foreignObject"!==i&&ne,"slot"!==i||Zt||t.v!==e.v&&(e.m["s-sn"]=e.v||"",se(e.m.parentElement)),Qt(t,e,ne,n),null!==s&&null!==l?((t,e,n,o,s=!1)=>{let l,i,r=0,c=0,u=0,f=0,a=e.length-1,d=e[0],h=e[a],p=o.length-1,v=o[0],$=o[p];for(;r<=a&&c<=p;)if(null==d)d=e[++r];else if(null==h)h=e[--a];else if(null==v)v=o[++c];else if(null==$)$=o[--p];else if(ce(d,v,s))fe(d,v,s),d=e[++r],v=o[++c];else if(ce(h,$,s))fe(h,$,s),h=e[--a],$=o[--p];else if(ce(d,$,s))"slot"!==d.$&&"slot"!==$.$||le(d.m.parentNode,!1),fe(d,$,s),pe(t,d.m,h.m.nextSibling),d=e[++r],$=o[--p];else if(ce(h,v,s))"slot"!==d.$&&"slot"!==$.$||le(h.m.parentNode,!1),fe(h,v,s),pe(t,h.m,d.m),h=e[--a],v=o[++c];else{for(u=-1,f=r;f<=a;++f)if(e[f]&&null!==e[f].p&&e[f].p===v.p){u=f;break}u>=0?(i=e[u],i.$!==v.$?l=oe(e&&e[c],n,u):(fe(i,v,s),e[u]=void 0,l=i.m),v=o[++c]):(l=oe(e&&e[c],n,c),v=o[++c]),l&&pe(ue(d.m).parentNode,l,ue(d.m))}r>a?ie(t,null==o[p+1]?null:o[p+1].m,n,o,c,p):c>p&&re(e,r,a)})(o,s,e,l,n):null!==l?(null!==t.i&&(o.textContent=""),ie(o,null,e,l,0,l.length-1)):!n&&null!==s&&re(s,0,s.length-1),ne&&"svg"===i&&(ne=!1)):(c=o["s-cr"])?c.parentNode.textContent=r:t.i!==r&&(o.data=r)},ae=[],de=t=>{let e,n,o;const s=t.__childNodes||t.childNodes;for(const t of s){if(t["s-sr"]&&(e=t["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;const s=t["s-sn"];for(o=n.length-1;o>=0;o--)if(e=n[o],!(e["s-cn"]||e["s-nr"]||e["s-hn"]===t["s-hn"]||e["s-sh"]&&e["s-sh"]===t["s-hn"]))if(J(e,s)){let n=ae.find((t=>t.M===e));te=!0,e["s-sn"]=e["s-sn"]||s,n?(n.M["s-sh"]=t["s-hn"],n.R=t):(e["s-sh"]=t["s-hn"],ae.push({R:t,M:e})),e["s-sr"]&&ae.map((t=>{J(t.M,e["s-sn"])&&(n=ae.find((t=>t.M===e)),n&&!t.R&&(t.R=n.R))}))}else ae.some((t=>t.M===e))||ae.push({M:e})}1===t.nodeType&&de(t)}},he=t=>{t.u&&t.u.ref&&t.u.ref(null),t.h&&t.h.map(he)},pe=(t,e,n)=>{if("string"==typeof e["s-sn"]&&e["s-sr"]&&e["s-cr"])ve(e["s-cr"],e,t,e.parentElement);else if("string"==typeof e["s-sn"]){11!==t.getRootNode().nodeType&&pt(e),t.insertBefore(e,n);const{slotNode:o}=Q(e);return o&&K(o),e}return t.__insertBefore?t.__insertBefore(e,n):null==t?void 0:t.insertBefore(e,n)};function ve(t,e,n,o){var s,l;let i;if(t&&"string"==typeof e["s-sn"]&&e["s-sr"]&&t.parentNode&&t.parentNode["s-sc"]&&(i=e["s-si"]||t.parentNode["s-sc"])){const t=e["s-sn"],r=e["s-hn"];if(null==(s=n.classList)||s.add(i+"-s"),o&&(null==(l=o.classList)?void 0:l.contains(i+"-s"))){let e=(o.__childNodes||o.childNodes)[0],n=!1;for(;e;){if(e["s-sn"]!==t&&e["s-hn"]===r&&e["s-sr"]){n=!0;break}e=e.nextSibling}n||o.classList.remove(i+"-s")}}}var $e=(t,e)=>{if(e&&!t.A&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t.A=()=>{e["s-p"].splice(n-1,1),o()})))}},be=(t,e)=>{if(t.o|=16,!(4&t.o))return $e(t,t.L),R((()=>me(t,e)));t.o|=512},me=(t,e)=>{const n=t.$hostElement$,o=t.t;if(!o)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let s;return e?(t.o|=256,t.T&&(t.T.map((([t,e])=>xe(o,t,e,n))),t.T=void 0),s=xe(o,"componentWillLoad",void 0,n)):s=xe(o,"componentWillUpdate",void 0,n),s=ge(s,(()=>xe(o,"componentWillRender",void 0,n))),ge(s,(()=>we(t,o,e)))},ge=(t,e)=>ye(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),ye=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,we=async(t,e,n)=>{var o;const s=t.$hostElement$,l=s["s-rc"];n&&(t=>{const e=t.B,n=t.$hostElement$,o=e.o,s=Vt(n.shadowRoot?n.shadowRoot:n.getRootNode(),e,t.k);10&o&&(n["s-sc"]=s,n.classList.add(s+"-h"))})(t);Se(t,e,s,n),l&&(l.map((t=>t())),s["s-rc"]=void 0);{const e=null!=(o=s["s-p"])?o:[],n=()=>je(t);0===e.length?n():(Promise.all(e).then(n),t.o|=4,e.length=0)}},Se=(t,e,n,o)=>{try{e=e.render&&e.render(),t.o&=-17,t.o|=2,((t,e,n=!1)=>{var o,s,l,i,r;const c=t.$hostElement$,u=t.B,f=t.P||yt(null,null),a=(t=>t&&t.$===wt)(e)?e:gt(null,null,e);if(Lt=c.tagName,u.F&&(a.u=a.u||{},u.F.map((([t,e])=>a.u[e]=c[t]))),n&&a.u)for(const t of Object.keys(a.u))c.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(a.u[t]=c[t]);if(a.$=null,a.o|=4,t.P=a,a.m=f.m=c.shadowRoot||c,Rt=c["s-sc"],Zt=!(!(1&u.o)||128&u.o),At=c["s-cr"],te=!1,fe(f,a,n),w.o|=1,ee){de(a.m);for(const t of ae){const e=t.M;if(!e["s-ol"]&&g.document){const t=g.document.createTextNode("");t["s-nr"]=e,pe(e.parentNode,e["s-ol"]=t,e)}}for(const t of ae){const e=t.M,r=t.R;if(r){const t=r.parentNode;let n=r.nextSibling;if(n&&1===n.nodeType){let l=null==(o=e["s-ol"])?void 0:o.previousSibling;for(;l;){let o=null!=(s=l["s-nr"])?s:null;if(o&&o["s-sn"]===e["s-sn"]&&t===(o.__parentNode||o.parentNode)){for(o=o.nextSibling;o===e||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){n=o;break}}l=l.previousSibling}}(!n&&t!==(e.__parentNode||e.parentNode)||(e.__nextSibling||e.nextSibling)!==n)&&e!==n&&(pe(t,e,n),1===e.nodeType&&"SLOT-FB"!==e.tagName&&(e.hidden=null!=(l=e["s-ih"])&&l)),e&&"function"==typeof r["s-rf"]&&r["s-rf"](r)}else 1===e.nodeType&&(n&&(e["s-ih"]=null!=(i=e.hidden)&&i),e.hidden=!0)}}if(te&&W(a.m),w.o&=-2,ae.length=0,2&u.o){const t=a.m.__childNodes||a.m.childNodes;for(const e of t)e["s-hn"]===Lt||e["s-sh"]||(n&&null==e["s-ih"]&&(e["s-ih"]=null!=(r=e.hidden)&&r),e.hidden=!0)}At=void 0})(t,e,o)}catch(e){f(e,t.$hostElement$)}return null},je=t=>{const e=t.$hostElement$,n=t.t,o=t.L;xe(n,"componentDidRender",void 0,e),64&t.o?xe(n,"componentDidUpdate",void 0,e):(t.o|=64,Ee(e),xe(n,"componentDidLoad",void 0,e),t.U(e),o||Ne()),t._(e),t.A&&(t.A(),t.A=void 0),512&t.o&&I((()=>be(t,!1))),t.o&=-517},Oe=t=>{{const e=r(t),n=e.$hostElement$.isConnected;return n&&2==(18&e.o)&&be(e,!1),n}},Ne=()=>{I((()=>_t(g,"appload",{detail:{namespace:"ionic"}})))},xe=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){f(t,o)}},Ee=t=>t.classList.add("hydrated"),ke=(t,e,n,o)=>{const s=r(t);if(!s)throw Error(`Couldn't find host element for "${o.I}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const l=s.$hostElement$,i=s.D.get(e),c=s.o,u=s.t;if(n=Pt(n,o.W[e][0]),(!(8&c)||void 0===i)&&n!==i&&(!Number.isNaN(i)||!Number.isNaN(n))&&(s.D.set(e,n),u)){if(o.V&&128&c){const t=o.V[e];t&&t.map((t=>{try{u[t](n,i,e)}catch(t){f(t,l)}}))}if(2==(18&c)){if(u.componentShouldUpdate&&!1===u.componentShouldUpdate(n,i,e))return;be(s,!1)}}},Ce=(t,e,n)=>{var o,s;const l=t.prototype;if(e.W||e.V||t.watchers){t.watchers&&!e.V&&(e.V=t.watchers);const i=Object.entries(null!=(o=e.W)?o:{});if(i.map((([t,[o]])=>{if(31&o||2&n&&32&o){const{get:s,set:i}=Object.getOwnPropertyDescriptor(l,t)||{};s&&(e.W[t][0]|=2048),i&&(e.W[t][0]|=4096),(1&n||!s)&&Object.defineProperty(l,t,{get(){{if(!(2048&e.W[t][0]))return((t,e)=>r(this).D.get(e))(0,t);const n=r(this),o=n?n.t:l;if(!o)return;return o[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(l,t,{set(s){const l=r(this);if(i){const n=32&o?this[t]:l.$hostElement$[t];return void 0===n&&l.D.get(t)?s=l.D.get(t):!l.D.get(t)&&n&&l.D.set(t,n),i.call(this,Pt(s,o)),void ke(this,t,s=32&o?this[t]:l.$hostElement$[t],e)}{if(!(1&n&&4096&e.W[t][0]))return ke(this,t,s,e),void(1&n&&!l.t&&l.H.then((()=>{4096&e.W[t][0]&&l.t[t]!==l.D.get(t)&&(l.t[t]=s)})));const i=()=>{const n=l.t[t];!l.D.get(t)&&n&&l.D.set(t,n),l.t[t]=Pt(s,o),ke(this,t,l.t[t],e)};l.t?i():l.H.then((()=>i()))}}})}else 1&n&&64&o&&Object.defineProperty(l,t,{value(...e){var n;const o=r(this);return null==(n=null==o?void 0:o.J)?void 0:n.then((()=>{var n;return null==(n=o.t)?void 0:n[t](...e)}))}})})),1&n){const n=new Map;l.attributeChangedCallback=function(t,o,s){w.jmp((()=>{var i;const c=n.get(t);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(l.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const n=r(this),l=null==n?void 0:n.o;if(l&&!(8&l)&&128&l&&s!==o){const l=n.t,r=null==(i=e.V)?void 0:i[t];null==r||r.forEach((e=>{null!=l[e]&&l[e].call(l,s,o,t)}))}return}}const u=Object.getOwnPropertyDescriptor(l,c);(s=(null!==s||"boolean"!=typeof this[c])&&s)===this[c]||u.get&&!u.set||(this[c]=s)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=e.V)?s:{}),...i.filter((([t,e])=>15&e[0])).map((([t,o])=>{var s;const l=o[1]||t;return n.set(l,t),512&o[0]&&(null==(s=e.F)||s.push([t,l])),l}))]))}}return t},Ie=(t,e)=>{xe(t,"connectedCallback",void 0,e)},Me=t=>{if(!(1&w.o)){const e=r(t),n=e.B,o=()=>{};if(1&e.o)Te(t,e,n.Y),(null==e?void 0:e.t)?Ie(e.t,t):(null==e?void 0:e.H)&&e.H.then((()=>Ie(e.t,t)));else{let o;if(e.o|=1,o=t.getAttribute(p),o){if(1&n.o){const e=Vt(t.shadowRoot,n,t.getAttribute("s-mode"));t.classList.remove(e+"-h",e+"-s")}else if(2&n.o){const e=zt(n,t.getAttribute("s-mode"));t["s-sc"]=e}((t,e,n,o)=>{var s;const l=t.shadowRoot,i=[],r=[],c=[],u=l?[]:null,f=yt(e,null);let a;f.m=t,Object.entries((null==(s=o.B)?void 0:s.W)||{}).forEach((([e,[n,s]])=>{var l;if(!(31&n))return;const i=t.getAttribute(s||e);if(null!==i){const t=Pt(i,n);null==(l=null==o?void 0:o.D)||l.set(e,t)}}));{const e=o.B;e&&10&e.o&&t["s-sc"]?(a=t["s-sc"],t.classList.add(a+"-h")):t["s-sc"]&&delete t["s-sc"]}!g.document||w.q&&w.q.size||xt(g.document.body,w.q=new Map),t[p]=n,t.removeAttribute(p),o.P=Nt(f,i,r,u,t,t,n,c);let d=0;const h=i.length;let v;for(;d<h;d++){v=i[d];const n=v.S+"."+v.j,o=w.q.get(n),s=v.m;l||(s["s-hn"]=e.toUpperCase(),"slot"===v.$&&(s["s-cr"]=t["s-cr"])),"slot"===v.$&&(v.v=v.m["s-sn"]||v.m.name||null,v.h?(v.o|=2,v.m.childNodes.length||v.h.forEach((t=>{v.m.appendChild(t.m)}))):v.o|=1),o&&o.isConnected&&(l&&""===o["s-en"]&&o.parentNode.insertBefore(s,o.nextSibling),o.parentNode.removeChild(o),l||(s["s-oo"]=parseInt(v.j))),w.q.delete(n)}const $=[],b=c.length;let m,y,S,j,O=0;for(;O<b;O++)if(m=c[O],m&&m.length)for(S=m.length,y=0;y<S;y++){if(j=m[y],$[j.hostId]||($[j.hostId]=w.q.get(j.hostId)),!$[j.hostId])continue;const t=$[j.hostId];t.shadowRoot&&l||(j.slot["s-cr"]=t["s-cr"],j.slot["s-cr"]=!j.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0],Y(j.node,j.slot,!1,j.node["s-oo"]),ut(j.node)),t.shadowRoot&&j.node.parentElement!==t&&t.appendChild(j.node)}if(a&&r.length&&r.forEach((t=>{t.m.parentElement.classList.add(a+"-s")})),l&&!l.childNodes.length){let e=0;const n=u.length;if(n){for(;e<n;e++)l.appendChild(u[e]);Array.from(t.childNodes).forEach((t=>{"string"!=typeof t["s-sn"]&&(1===t.nodeType&&t.slot&&t.hidden?t.removeAttribute("hidden"):(8===t.nodeType||3===t.nodeType&&!t.wholeText.trim())&&t.parentNode.removeChild(t))}))}}w.q.delete(t["s-id"]),o.$hostElement$=t})(t,n.I,o,e)}o||12&n.o&&Re(t);{let n=t;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){$e(e,e.L=n);break}}n.W&&Object.entries(n.W).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let o;if(!(32&e.o)){if(e.o|=32,n.G){const s=((t,e)=>{const n=t.I.replace(/-/g,"_"),o=t.G;if(!o)return;const s=a.get(o);return s?s[n]:import(`./${o}.entry.js`).then((t=>(a.set(o,t),t[n])),(t=>{f(t,e.$hostElement$)}))
|
|
5
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,e);if(s&&"then"in s){const t=()=>{};o=await s,t()}else o=s;if(!o)throw Error(`Constructor for "${n.I}#${e.k}" was not found`);o.isProxied||(n.V=o.watchers,Ce(o,n,2),o.isProxied=!0);const l=()=>{};e.o|=8;try{new o(e)}catch(e){f(e,t)}e.o&=-9,e.o|=128,l(),Ie(e.t,t)}else o=t.constructor,customElements.whenDefined(t.localName).then((()=>e.o|=128));if(o&&o.style){let s;"string"==typeof o.style?s=o.style:"string"!=typeof o.style&&(e.k=(t=>h.map((e=>e(t))).find((t=>!!t)))(t),e.k&&(s=o.style[e.k]));const l=zt(n,e.k);if(!d.has(l)){const t=()=>{};Wt(l,s,!!(1&n.o)),t()}}}const s=e.L,l=()=>be(e,!0);s&&s["s-rc"]?s["s-rc"].push(l):l()})(t,e,n)}o()}},Re=t=>{if(!g.document)return;const e=t["s-cr"]=g.document.createComment("");e["s-cn"]=!0,pe(t,e,t.firstChild)},Ae=(t,e)=>{xe(t,"disconnectedCallback",void 0,e||t)},Le=(t,e={})=>{var n;if(!g.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const o=[],s=e.exclude||[],l=g.customElements,i=g.document.head,c=i.querySelector("meta[charset]"),u=g.document.createElement("style"),f=[];let a,d=!0;Object.assign(w,e),w.l=new URL(e.resourcesUrl||"./",g.document.baseURI).href,w.o|=2,(()=>{if(!g.document)return;const t=g.document.querySelectorAll(`[${v}]`);let e=0;for(;e<t.length;e++)Wt(t[e].getAttribute(v),Ht(t[e].innerHTML),!0)})();let h=!1;if(t.map((t=>{t[1].map((e=>{var n;const i={o:e[0],I:e[1],W:e[2],Y:e[3]};4&i.o&&(h=!0),i.W=e[2],i.Y=e[3],i.F=[],i.V=null!=(n=e[4])?n:{};const c=i.I,u=class extends HTMLElement{constructor(t){if(super(t),this.hasRegisteredEventListeners=!1,((t,e)=>{const n={o:0,$hostElement$:t,B:e,D:new Map};n.J=new Promise((t=>n._=t)),n.H=new Promise((t=>n.U=t)),t["s-p"]=[],t["s-rc"]=[];const o=n;t.__stencil__getHostRef=()=>o})(t=this,i),1&i.o)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${i.I}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else t.attachShadow({mode:"open",delegatesFocus:!!(16&i.o)})}connectedCallback(){const t=r(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Te(this,t,i.Y)),a&&(clearTimeout(a),a=null),d?f.push(this):w.jmp((()=>Me(this)))}disconnectedCallback(){w.jmp((()=>(async t=>{if(!(1&w.o)){const e=r(t);e.K&&(e.K.map((t=>t())),e.K=void 0),(null==e?void 0:e.t)?Ae(e.t,t):(null==e?void 0:e.H)&&e.H.then((()=>Ae(e.t,t)))}Dt.has(t)&&Dt.delete(t),t.shadowRoot&&Dt.has(t.shadowRoot)&&Dt.delete(t.shadowRoot)})(this))),w.raf((()=>{var t;const e=r(this),n=f.findIndex((t=>t===this));n>-1&&f.splice(n,1),(null==(t=null==e?void 0:e.P)?void 0:t.m)instanceof Node&&!e.P.m.isConnected&&delete e.P.m}))}componentOnReady(){return r(this).H}};2&i.o&&(t=>{X(t),Z(t),nt(t),et(t),it(t),ot(t),st(t),lt(t),rt(t),ct(t),tt(t)})(u.prototype),i.G=t[0],s.includes(c)||l.get(c)||(o.push(c),l.define(c,Ce(u,i,1)))}))})),o.length>0&&(h&&(u.textContent+=b),u.textContent+=o.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",u.innerHTML.length)){u.setAttribute("data-styles","");const t=null!=(n=w.C)?n:T(g.document);null!=t&&u.setAttribute("nonce",t),i.insertBefore(u,c?c.nextSibling:i.firstChild)}d=!1,f.length?f.map((t=>t.connectedCallback())):w.jmp((()=>a=setTimeout(Ne,30)))},Te=(t,e,n)=>{n&&g.document&&n.map((([n,o,s])=>{const l=Pe(g.document,t,n),i=Be(e,s),r=Fe(n);w.ael(l,o,i,r),(e.K=e.K||[]).push((()=>w.rel(l,o,i,r)))}))},Be=(t,e)=>n=>{var o;try{256&t.o?null==(o=t.t)||o[e](n):(t.T=t.T||[]).push([e,n])}catch(e){f(e,t.$hostElement$)}},Pe=(t,e,n)=>4&n?t:8&n?g:16&n?t.body:e,Fe=t=>({passive:!!(1&t),capture:!!(2&t)}),Ue=t=>w.C=t;export{e as B,y as H,M as a,Le as b,Ut as c,wt as d,A as e,Oe as f,Ft as g,gt as h,Bt as i,Tt as j,S as p,c as r,Ue as s,R as w}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
+
*/
|
|
4
|
+
import{i as o,j as i}from"./p-EP3pwcdb.js";import{c as t,b as e,d as n,s as r,p as d}from"./p-CEo1SqXS.js";const s=o=>c(o),a=(o,i)=>("string"==typeof o&&(i=o,o=void 0),s(o).includes(i)),c=(o=window)=>{if(void 0===o)return[];o.Ionic=o.Ionic||{};let i=o.Ionic.platforms;return null==i&&(i=o.Ionic.platforms=l(o),i.forEach((i=>o.document.documentElement.classList.add(`plt-${i}`)))),i},l=o=>{const i=t.get("platform");return Object.keys(j).filter((t=>{const e=null==i?void 0:i[t];return"function"==typeof e?e(o):j[t](o)}))},p=o=>!!w(o,/iPad/i)||!(!w(o,/Macintosh/i)||!m(o)),u=o=>w(o,/android|sink/i),m=o=>h(o,"(any-pointer:coarse)"),b=o=>v(o)||f(o),v=o=>!!(o.cordova||o.phonegap||o.PhoneGap),f=o=>{const i=o.Capacitor;return!!((null==i?void 0:i.isNative)||(null==i?void 0:i.isNativePlatform)&&i.isNativePlatform())},w=(o,i)=>i.test(o.navigator.userAgent),h=(o,i)=>{var t;return null===(t=o.matchMedia)||void 0===t?void 0:t.call(o,i).matches},j={ipad:p,iphone:o=>w(o,/iPhone/i),ios:o=>w(o,/iPhone|iPod/i)||p(o),android:u,phablet:o=>{const i=o.innerWidth,t=o.innerHeight,e=Math.min(i,t),n=Math.max(i,t);return e>390&&e<520&&n>620&&n<800},tablet:o=>{const i=o.innerWidth,t=o.innerHeight,e=Math.min(i,t),n=Math.max(i,t);return p(o)||(o=>u(o)&&!w(o,/mobile/i))(o)||e>460&&e<820&&n>780&&n<1400},cordova:v,capacitor:f,electron:o=>w(o,/electron/i),pwa:o=>{var i;return!(!(null===(i=o.matchMedia)||void 0===i?void 0:i.call(o,"(display-mode: standalone)").matches)&&!o.navigator.standalone)},mobile:m,mobileweb:o=>m(o)&&!b(o),desktop:o=>!m(o),hybrid:b};let O;const y=i=>i&&o(i)||O,g=(o={})=>{if("undefined"==typeof window)return;const s=window.document,l=window,p=l.Ionic=l.Ionic||{},u=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e(l)),{persistConfig:!1}),p.config),n(l)),o);t.reset(u),t.getBoolean("persistConfig")&&r(l,u),c(l),p.config=t,p.mode=O=t.get("mode",s.documentElement.getAttribute("mode")||(a(l,"ios")?"ios":"md")),t.set("mode",O),s.documentElement.setAttribute("mode",O),s.documentElement.classList.add(O),t.getBoolean("_testing")&&t.set("animated",!1);const m=o=>{var i;return null===(i=o.tagName)||void 0===i?void 0:i.startsWith("ION-")},b=o=>["ios","md"].includes(o);i((o=>{for(;o;){const i=o.mode||o.getAttribute("mode");if(i){if(b(i))return i;m(o)&&d('Invalid ionic mode: "'+i+'", expected: "ios" or "md"')}o=o.parentElement}return O}))};export{a,y as b,s as g,g as i}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import{d as n}from"./p-ZjP4CjeZ.js";import{n as o,c as e,f as t,m as i,g as a}from"./p-CG4wBMWx.js";import{OVERLAY_BACK_BUTTON_PRIORITY as d,shouldUseCloseWatcher as r}from"./p-RuOFleJd.js";import{c as s,a as l,p as c}from"./p-CEo1SqXS.js";import{b as u,a as m}from"./p-
|
|
4
|
+
import{d as n}from"./p-ZjP4CjeZ.js";import{n as o,c as e,f as t,m as i,g as a}from"./p-CG4wBMWx.js";import{OVERLAY_BACK_BUTTON_PRIORITY as d,shouldUseCloseWatcher as r}from"./p-RuOFleJd.js";import{c as s,a as l,p as c}from"./p-CEo1SqXS.js";import{b as u,a as m}from"./p-EglNvYQn.js";import{C as p}from"./p-D-bDfEy0.js";import{B as v}from"./p-BTEOs1at.js";const f='[tabindex]:not([tabindex^="-"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^="-"]):not([hidden]):not([disabled]), textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), button:not([tabindex^="-"]):not([hidden]):not([disabled]), select:not([tabindex^="-"]):not([hidden]):not([disabled]), ion-checkbox:not([tabindex^="-"]):not([hidden]):not([disabled]), ion-radio:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])',h=(n,o)=>{const e=n.querySelector(f);y(e,null!=o?o:n)},b=(n,o)=>{const e=Array.from(n.querySelectorAll(f));y(e.length>0?e[e.length-1]:null,null!=o?o:n)},y=(n,e)=>{let t=n;const i=null==n?void 0:n.shadowRoot;if(i&&(t=i.querySelector(f)||n),t){const n=t.closest("ion-radio-group");n?n.setFocus():o(t)}else e.focus()};let w=0,g=0;const O=new WeakMap,T=n=>({create:o=>B(n,o),dismiss:(o,e,t)=>M(document,o,e,n,t),getTop:async()=>G(document,n)}),k=T("ion-alert"),x=T("ion-action-sheet"),j=T("ion-loading"),A=T("ion-modal"),C=T("ion-picker-legacy"),S=T("ion-popover"),I=T("ion-toast"),N=n=>{"undefined"!=typeof document&&P(document);const o=w++;n.overlayIndex=o},D=n=>(n.hasAttribute("id")||(n.id="ion-overlay-"+ ++g),n.id),B=(n,o)=>"undefined"!=typeof window&&void 0!==window.customElements?window.customElements.whenDefined(n).then((()=>{const t=document.createElement(n);return t.classList.add("overlay-hidden"),Object.assign(t,Object.assign(Object.assign({},o),{hasController:!0})),W(document).appendChild(t),new Promise((n=>e(t,n)))})):Promise.resolve(),E=(n,e)=>{let t=n;const i=null==n?void 0:n.shadowRoot;i&&(t=i.querySelector(f)||n),t?o(t):e.focus()},P=n=>{0===w&&(w=1,n.addEventListener("focus",(o=>{((n,o)=>{const e=G(o,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover"),t=n.target;e&&t&&(e.classList.contains(tn)||(e.shadowRoot?(()=>{if(e.contains(t))e.lastFocus=t;else if("ION-TOAST"===t.tagName)E(e.lastFocus,e);else{const n=e.lastFocus;h(e),n===o.activeElement&&b(e),e.lastFocus=o.activeElement}})():(()=>{if(e===t)e.lastFocus=void 0;else if("ION-TOAST"===t.tagName)E(e.lastFocus,e);else{const n=a(e);if(!n.contains(t))return;const i=n.querySelector(".ion-overlay-wrapper");if(!i)return;if(i.contains(t)||t===n.querySelector("ion-backdrop"))e.lastFocus=t;else{const n=e.lastFocus;h(i,e),n===o.activeElement&&b(i,e),e.lastFocus=o.activeElement}}})()))})(o,n)}),!0),n.addEventListener("ionBackButton",(o=>{const e=G(n);(null==e?void 0:e.backdropDismiss)&&o.detail.register(d,(()=>{e.dismiss(void 0,Y)}))})),r()||n.addEventListener("keydown",(o=>{if("Escape"===o.key){const o=G(n);(null==o?void 0:o.backdropDismiss)&&o.dismiss(void 0,Y)}})))},M=(n,o,e,t,i)=>{const a=G(n,t,i);return a?a.dismiss(o,e):Promise.reject("overlay does not exist")},F=(n,o)=>((n,o)=>(void 0===o&&(o="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker-legacy,ion-popover,ion-toast"),Array.from(n.querySelectorAll(o)).filter((n=>n.overlayIndex>0))))(n,o).filter((n=>!n.classList.contains("overlay-hidden"))),G=(n,o,e)=>{const t=F(n,o);return void 0===e?t[t.length-1]:t.find((n=>n.id===e))},$=(n=!1)=>{const o=W(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");o&&(n?o.setAttribute("aria-hidden","true"):o.removeAttribute("aria-hidden"))},q=async(n,o,e,t,i)=>{var a,d;if(n.presented)return;"ION-TOAST"!==n.el.tagName&&($(!0),document.body.classList.add(v)),on(n.el),nn(n.el),n.presented=!0,n.willPresent.emit(),null===(a=n.willPresentShorthand)||void 0===a||a.emit();const r=u(n),l=n.enterAnimation?n.enterAnimation:s.get(o,"ios"===r?e:t);await Z(n,l,n.el,i)&&(n.didPresent.emit(),null===(d=n.didPresentShorthand)||void 0===d||d.emit()),"ION-TOAST"!==n.el.tagName&&L(n.el),!n.keyboardClose||null!==document.activeElement&&n.el.contains(document.activeElement)||n.el.focus(),n.el.removeAttribute("aria-hidden")},L=async n=>{let o=document.activeElement;if(!o)return;const e=null==o?void 0:o.shadowRoot;e&&(o=e.querySelector(f)||o),await n.onDidDismiss(),null!==document.activeElement&&document.activeElement!==document.body||o.focus()},V=async(o,e,t,i,a,d,r)=>{var c,m;if(!o.presented)return!1;const p=(void 0!==n?F(n):[]).filter((n=>"ION-TOAST"!==n.tagName));1===p.length&&p[0].id===o.el.id&&($(!1),document.body.classList.remove(v)),o.presented=!1;try{nn(o.el),o.el.style.setProperty("pointer-events","none"),o.willDismiss.emit({data:e,role:t}),null===(c=o.willDismissShorthand)||void 0===c||c.emit({data:e,role:t});const n=u(o),l=o.leaveAnimation?o.leaveAnimation:s.get(i,"ios"===n?a:d);t!==_&&await Z(o,l,o.el,r),o.didDismiss.emit({data:e,role:t}),null===(m=o.didDismissShorthand)||void 0===m||m.emit({data:e,role:t}),(O.get(o)||[]).forEach((n=>n.destroy())),O.delete(o),o.el.classList.add("overlay-hidden"),o.el.style.removeProperty("pointer-events"),void 0!==o.el.lastFocus&&(o.el.lastFocus=void 0)}catch(n){l(`[${o.el.tagName.toLowerCase()}] - `,n)}return o.el.remove(),en(),!0},W=n=>n.querySelector("ion-app")||n.body,Z=async(n,o,e,t)=>{e.classList.remove("overlay-hidden");const i=o(n.el,t);n.animated&&s.getBoolean("animated",!0)||i.duration(0),n.keyboardClose&&i.beforeAddWrite((()=>{const n=e.ownerDocument.activeElement;(null==n?void 0:n.matches("input,ion-input, ion-textarea"))&&n.blur()}));const a=O.get(n)||[];return O.set(n,[...a,i]),await i.play(),!0},z=(n,o)=>{let e;const t=new Promise((n=>e=n));return J(n,o,(n=>{e(n.detail)})),t},J=(n,o,e)=>{const a=t=>{i(n,o,a),e(t)};t(n,o,a)},Q=n=>"cancel"===n||n===Y,R=n=>n(),X=(n,o)=>{if("function"==typeof n)return s.get("_zoneGate",R)((()=>{try{return n(o)}catch(n){throw n}}))},Y="backdrop",_="gesture",H=39,K=n=>{let o,e=!1;const t=p(),i=(i=!1)=>{if(o&&!i)return{delegate:o,inline:e};const{el:a,hasController:d,delegate:r}=n;return e=null!==a.parentNode&&!d,o=e?r||t:r,{inline:e,delegate:o}};return{attachViewToDom:async o=>{const{delegate:e}=i(!0);if(e)return await e.attachViewToDom(n.el,o);const{hasController:t}=n;if(t&&void 0!==o)throw new Error("framework delegate is missing");return null},removeViewFromDom:()=>{const{delegate:o}=i();o&&void 0!==n.el&&o.removeViewFromDom(n.el.parentElement,n.el)}}},U=()=>{let n;const o=()=>{n&&(n(),n=void 0)};return{addClickListener:(e,t)=>{o();const i=void 0!==t?document.getElementById(t):null;i?n=((n,o)=>{const e=()=>{o.present()};return n.addEventListener("click",e),()=>{n.removeEventListener("click",e)}})(i,e):c(`[${e.tagName.toLowerCase()}] - A trigger element with the ID "${t}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.`,e)},removeClickListener:o}},nn=o=>{void 0!==n&&m("android")&&o.setAttribute("aria-hidden","true")},on=o=>{var e;if(void 0===n)return;const t=F(n);for(let n=t.length-1;n>=0;n--){const i=t[n],a=null!==(e=t[n+1])&&void 0!==e?e:o;(a.hasAttribute("aria-hidden")||"ION-TOAST"!==a.tagName)&&i.setAttribute("aria-hidden","true")}},en=()=>{if(void 0===n)return;const o=F(n);for(let n=o.length-1;n>=0;n--){const e=o[n];if(e.removeAttribute("aria-hidden"),"ION-TOAST"!==e.tagName)break}},tn="ion-disable-focus-trap";export{Y as B,tn as F,_ as G,H as O,k as a,x as b,S as c,K as d,U as e,q as f,V as g,z as h,Q as i,N as j,D as k,j as l,A as m,h as n,G as o,C as p,b as q,X as s,I as t}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import{w as t}from"./p-
|
|
4
|
+
import{w as t}from"./p-EP3pwcdb.js";import{h as o,a as e,b as n}from"./p-CKvCXMs9.js";import{createGesture as r}from"./p-Cl0B-RWe.js";const s=(s,a)=>{let i,c;const d=(t,o,e)=>{if("undefined"==typeof document)return;const n=document.elementFromPoint(t,o);n&&a(n)&&!n.disabled?n!==i&&(p(),m(n,e)):p()},m=(o,e)=>{i=o,c||(c=i);const n=i;t((()=>n.classList.add("ion-activated"))),e()},p=(o=!1)=>{if(!i)return;const e=i;t((()=>e.classList.remove("ion-activated"))),o&&c!==i&&i.click(),i=void 0};return r({el:s,gestureName:"buttonActiveDrag",threshold:0,onStart:t=>d(t.currentX,t.currentY,n),onMove:t=>d(t.currentX,t.currentY,e),onEnd:()=>{p(!0),o(),c=void 0}})};export{s as c}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import{r as i,c as n,w as t,a as e,h as s,d as o,g as l}from"./p-
|
|
4
|
+
import{r as i,c as n,w as t,a as e,h as s,d as o,g as l}from"./p-EP3pwcdb.js";import{f as r,p as c,g as a}from"./p-B0af2jd_.js";import{b as d}from"./p-EglNvYQn.js";import{E as h,a as f}from"./p-C719rkLH.js";import{c as p}from"./p-CEo1SqXS.js";import"./p-CG4wBMWx.js";const m=class{constructor(t){i(this,t),this.ionInfinite=n(this,"ionInfinite",7),this.thrPx=0,this.thrPc=0,this.didFire=!1,this.isBusy=!1,this.isLoading=!1,this.threshold="15%",this.disabled=!1,this.position="bottom",this.onScroll=()=>{const i=this.scrollEl;if(!i||!this.canStart())return 1;const n=this.el.offsetHeight;if(0===n)return 2;const t=i.scrollTop,e=i.offsetHeight,s=0!==this.thrPc?e*this.thrPc:this.thrPx;return("bottom"===this.position?i.scrollHeight-n-t-s-e:t-n-s)<0&&!this.didFire?(this.isLoading=!0,this.didFire=!0,this.ionInfinite.emit(),3):4}}thresholdChanged(){const i=this.threshold;i.lastIndexOf("%")>-1?(this.thrPx=0,this.thrPc=parseFloat(i)/100):(this.thrPx=parseFloat(i),this.thrPc=0)}disabledChanged(){const i=this.disabled;i&&(this.isLoading=!1,this.isBusy=!1),this.enableScrollEvents(!i)}async connectedCallback(){const i=r(this.el);i?(this.scrollEl=await a(i),this.thresholdChanged(),this.disabledChanged(),"top"===this.position&&t((()=>{this.scrollEl&&(this.scrollEl.scrollTop=this.scrollEl.scrollHeight-this.scrollEl.clientHeight)}))):c(this.el)}disconnectedCallback(){this.enableScrollEvents(!1),this.scrollEl=void 0}async complete(){const i=this.scrollEl;if(this.isLoading&&i)if(this.isLoading=!1,"top"===this.position){this.isBusy=!0;const n=i.scrollHeight-i.scrollTop;requestAnimationFrame((()=>{e((()=>{const e=i.scrollHeight-n;requestAnimationFrame((()=>{t((()=>{i.scrollTop=e,this.isBusy=!1,this.didFire=!1}))}))}))}))}else this.didFire=!1}canStart(){return!(this.disabled||this.isBusy||!this.scrollEl||this.isLoading)}enableScrollEvents(i){this.scrollEl&&(i?this.scrollEl.addEventListener("scroll",this.onScroll):this.scrollEl.removeEventListener("scroll",this.onScroll))}render(){const i=d(this),n=this.disabled;return s(o,{key:"e844956795f69be33396ce4480aa7a54ad01b28c",class:{[i]:!0,"infinite-scroll-loading":this.isLoading,"infinite-scroll-enabled":!n}})}get el(){return l(this)}static get watchers(){return{threshold:["thresholdChanged"],disabled:["disabledChanged"]}}};m.style="ion-infinite-scroll{display:none;width:100%}.infinite-scroll-enabled{display:block}";const g=class{constructor(n){i(this,n),this.customHTMLEnabled=p.get("innerHTMLTemplatesEnabled",h)}componentDidLoad(){if(void 0===this.loadingSpinner){const i=d(this);this.loadingSpinner=p.get("infiniteLoadingSpinner",p.get("spinner","ios"===i?"lines":"crescent"))}}renderLoadingText(){const{customHTMLEnabled:i,loadingText:n}=this;return i?s("div",{class:"infinite-loading-text",innerHTML:f(n)}):s("div",{class:"infinite-loading-text"},this.loadingText)}render(){const i=d(this);return s(o,{key:"7c16060dcfe2a0b0fb3e2f8f4c449589a76f1baa",class:{[i]:!0,[`infinite-scroll-content-${i}`]:!0}},s("div",{key:"a94f4d8746e053dc718f97520bd7e48cb316443a",class:"infinite-loading"},this.loadingSpinner&&s("div",{key:"10143d5d2a50a2a2bc5de1cee8e7ab51263bcf23",class:"infinite-loading-spinner"},s("ion-spinner",{key:"8846e88191690d9c61a0b462889ed56fbfed8b0d",name:this.loadingSpinner})),void 0!==this.loadingText&&this.renderLoadingText()))}};g.style={ios:"ion-infinite-scroll-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:84px;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.infinite-loading{margin-left:0;margin-right:0;margin-top:0;margin-bottom:32px;display:none;width:100%}.infinite-loading-text{-webkit-margin-start:32px;margin-inline-start:32px;-webkit-margin-end:32px;margin-inline-end:32px;margin-top:4px;margin-bottom:0}.infinite-scroll-loading ion-infinite-scroll-content>.infinite-loading{display:block}.infinite-scroll-content-ios .infinite-loading-text{color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}.infinite-scroll-content-ios .infinite-loading-spinner .spinner-lines-ios line,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-lines-small-ios line,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-crescent circle{stroke:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}.infinite-scroll-content-ios .infinite-loading-spinner .spinner-bubbles circle,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-circles circle,.infinite-scroll-content-ios .infinite-loading-spinner .spinner-dots circle{fill:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}",md:"ion-infinite-scroll-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:84px;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.infinite-loading{margin-left:0;margin-right:0;margin-top:0;margin-bottom:32px;display:none;width:100%}.infinite-loading-text{-webkit-margin-start:32px;margin-inline-start:32px;-webkit-margin-end:32px;margin-inline-end:32px;margin-top:4px;margin-bottom:0}.infinite-scroll-loading ion-infinite-scroll-content>.infinite-loading{display:block}.infinite-scroll-content-md .infinite-loading-text{color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}.infinite-scroll-content-md .infinite-loading-spinner .spinner-lines-md line,.infinite-scroll-content-md .infinite-loading-spinner .spinner-lines-small-md line,.infinite-scroll-content-md .infinite-loading-spinner .spinner-crescent circle{stroke:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}.infinite-scroll-content-md .infinite-loading-spinner .spinner-bubbles circle,.infinite-scroll-content-md .infinite-loading-spinner .spinner-circles circle,.infinite-scroll-content-md .infinite-loading-spinner .spinner-dots circle{fill:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}"};export{m as ion_infinite_scroll,g as ion_infinite_scroll_content}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import{r as o,h as t,d as i,g as n,c as e}from"./p-3GtB1kQI.js";import{g as a,r as s,f as r,m as d,t as c}from"./p-CG4wBMWx.js";import{l as h}from"./p-BLV6ykCk.js";import{c as l,p}from"./p-CEo1SqXS.js";import{b as g}from"./p-B7Khsp7D.js";const u=class{constructor(t){o(this,t),this.updateListener=()=>this.updateState(!1),this.state=1,this.isNext=!1,this.isPrevious=!1,this.value="ion-accordion-"+b++,this.disabled=!1,this.readonly=!1,this.toggleIcon=h,this.toggleIconSlot="end",this.setItemDefaults=()=>{const o=this.getSlottedHeaderIonItem();o&&(o.button=!0,o.detail=!1,void 0===o.lines&&(o.lines="full"))},this.getSlottedHeaderIonItem=()=>{const{headerEl:o}=this;if(!o)return;const t=o.querySelector("slot");return t&&void 0!==t.assignedElements?t.assignedElements().find((o=>"ION-ITEM"===o.tagName)):void 0},this.setAria=(o=!1)=>{const t=this.getSlottedHeaderIonItem();if(!t)return;const i=a(t).querySelector("button");i&&i.setAttribute("aria-expanded",`${o}`)},this.slotToggleIcon=()=>{const o=this.getSlottedHeaderIonItem();if(!o)return;const{toggleIconSlot:t,toggleIcon:i}=this;if(o.querySelector(".ion-accordion-toggle-icon"))return;const n=document.createElement("ion-icon");n.slot=t,n.lazy=!1,n.classList.add("ion-accordion-toggle-icon"),n.icon=i,n.setAttribute("aria-hidden","true"),o.appendChild(n)},this.expandAccordion=(o=!1)=>{const{contentEl:t,contentElWrapper:i}=this;o||void 0===t||void 0===i?this.state=4:4!==this.state&&(void 0!==this.currentRaf&&cancelAnimationFrame(this.currentRaf),this.shouldAnimate()?s((()=>{this.state=8,this.currentRaf=s((async()=>{const o=i.offsetHeight,n=c(t,2e3);t.style.setProperty("max-height",`${o}px`),await n,this.state=4,t.style.removeProperty("max-height")}))})):this.state=4)},this.collapseAccordion=(o=!1)=>{const{contentEl:t}=this;o||void 0===t?this.state=1:1!==this.state&&(void 0!==this.currentRaf&&cancelAnimationFrame(this.currentRaf),this.shouldAnimate()?this.currentRaf=s((async()=>{t.style.setProperty("max-height",`${t.offsetHeight}px`),s((async()=>{const o=c(t,2e3);this.state=2,await o,this.state=1,t.style.removeProperty("max-height")}))})):this.state=1)},this.shouldAnimate=()=>"undefined"!=typeof window&&(!matchMedia("(prefers-reduced-motion: reduce)").matches&&!(!l.get("animated",!0)||this.accordionGroupEl&&!this.accordionGroupEl.animated)),this.updateState=async(o=!1)=>{const t=this.accordionGroupEl,i=this.value;if(!t)return;const n=t.value;if(Array.isArray(n)?n.includes(i):n===i)this.expandAccordion(o),this.isNext=this.isPrevious=!1;else{this.collapseAccordion(o);const t=this.getNextSibling(),i=null==t?void 0:t.value;void 0!==i&&(this.isPrevious=Array.isArray(n)?n.includes(i):n===i);const e=this.getPreviousSibling(),a=null==e?void 0:e.value;void 0!==a&&(this.isNext=Array.isArray(n)?n.includes(a):n===a)}},this.getNextSibling=()=>{if(!this.el)return;const o=this.el.nextElementSibling;return"ION-ACCORDION"===(null==o?void 0:o.tagName)?o:void 0},this.getPreviousSibling=()=>{if(!this.el)return;const o=this.el.previousElementSibling;return"ION-ACCORDION"===(null==o?void 0:o.tagName)?o:void 0}}valueChanged(){this.updateState()}connectedCallback(){var o;const t=this.accordionGroupEl=null===(o=this.el)||void 0===o?void 0:o.closest("ion-accordion-group");t&&(this.updateState(!0),r(t,"ionValueChange",this.updateListener))}disconnectedCallback(){const o=this.accordionGroupEl;o&&d(o,"ionValueChange",this.updateListener)}componentDidLoad(){this.setItemDefaults(),this.slotToggleIcon(),s((()=>{this.setAria(4===this.state||8===this.state)}))}toggleExpanded(){const{accordionGroupEl:o,disabled:t,readonly:i,value:n,state:e}=this;t||i||!o||o.requestAccordionToggle(n,1===e||2===e)}render(){const{disabled:o,readonly:n}=this,e=g(this),a=4===this.state||8===this.state,s=a?"header expanded":"header",r=a?"content expanded":"content";return this.setAria(a),t(i,{key:"073e1d02c18dcbc20c68648426e87c14750c031d",class:{[e]:!0,"accordion-expanding":8===this.state,"accordion-expanded":4===this.state,"accordion-collapsing":2===this.state,"accordion-collapsed":1===this.state,"accordion-next":this.isNext,"accordion-previous":this.isPrevious,"accordion-disabled":o,"accordion-readonly":n,"accordion-animated":this.shouldAnimate()}},t("div",{key:"9b4cf326de8bb6b4033992903c0c1bfd7eea9bcc",onClick:()=>this.toggleExpanded(),id:"header",part:s,"aria-controls":"content",ref:o=>this.headerEl=o},t("slot",{key:"464c32a37f64655eacf4218284214f5f30b14a1e",name:"header"})),t("div",{key:"8bb52e6a62d7de0106b253201a89a32e79d9a594",id:"content",part:r,role:"region","aria-labelledby":"header",ref:o=>this.contentEl=o},t("div",{key:"1d9dfd952ad493754aaeea7a8f625b33c2dd90a0",id:"content-wrapper",ref:o=>this.contentElWrapper=o},t("slot",{key:"970dfbc55a612d739d0ca3b7b1a08e5c96d0c479",name:"content"}))))}static get delegatesFocus(){return!0}get el(){return n(this)}static get watchers(){return{value:["valueChanged"]}}};let b=0;u.style={ios:":host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}:host(.accordion-next) ::slotted(ion-item[slot=header]){--border-width:0.55px 0px 0.55px 0px}",md:":host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}"};const x=class{constructor(t){o(this,t),this.ionChange=e(this,"ionChange",7),this.ionValueChange=e(this,"ionValueChange",7),this.animated=!0,this.disabled=!1,this.readonly=!1,this.expand="compact"}valueChanged(){const{value:o,multiple:t}=this;!t&&Array.isArray(o)&&p(`[ion-accordion-group] - An array of values was passed, but multiple is "false". This is incorrect usage and may result in unexpected behaviors. To dismiss this warning, pass a string to the "value" property when multiple="false".\n\n Value Passed: [${o.map((o=>`'${o}'`)).join(", ")}]\n`,this.el),this.ionValueChange.emit({value:this.value})}async disabledChanged(){const{disabled:o}=this,t=await this.getAccordions();for(const i of t)i.disabled=o}async readonlyChanged(){const{readonly:o}=this,t=await this.getAccordions();for(const i of t)i.readonly=o}async onKeydown(o){const t=document.activeElement;if(!t)return;if(!t.closest('ion-accordion [slot="header"]'))return;const i="ION-ACCORDION"===t.tagName?t:t.closest("ion-accordion");if(!i)return;if(i.closest("ion-accordion-group")!==this.el)return;const n=await this.getAccordions(),e=n.findIndex((o=>o===i));if(-1===e)return;let a;"ArrowDown"===o.key?a=this.findNextAccordion(n,e):"ArrowUp"===o.key?a=this.findPreviousAccordion(n,e):"Home"===o.key?a=n[0]:"End"===o.key&&(a=n[n.length-1]),void 0!==a&&a!==t&&a.focus()}async componentDidLoad(){this.disabled&&this.disabledChanged(),this.readonly&&this.readonlyChanged(),this.valueChanged()}setValue(o){const t=this.value=o;this.ionChange.emit({value:t})}async requestAccordionToggle(o,t){const{multiple:i,value:n,readonly:e,disabled:a}=this;if(!e&&!a)if(t)if(i){const t=null!=n?n:[],i=Array.isArray(t)?t:[t];void 0===i.find((t=>t===o))&&void 0!==o&&this.setValue([...i,o])}else this.setValue(o);else if(i){const t=null!=n?n:[],i=Array.isArray(t)?t:[t];this.setValue(i.filter((t=>t!==o)))}else this.setValue(void 0)}findNextAccordion(o,t){const i=o[t+1];return void 0===i?o[0]:i}findPreviousAccordion(o,t){const i=o[t-1];return void 0===i?o[o.length-1]:i}async getAccordions(){return Array.from(this.el.querySelectorAll(":scope > ion-accordion"))}render(){const{disabled:o,readonly:n,expand:e}=this,a=g(this);return t(i,{key:"d1a79a93179474fbba66fcf11a92f4871dacc975",class:{[a]:!0,"accordion-group-disabled":o,"accordion-group-readonly":n,[`accordion-group-expand-${e}`]:!0},role:"presentation"},t("slot",{key:"e6b8954b686d1fbb4fc92adb07fddc97a24b0a31"}))}get el(){return n(this)}static get watchers(){return{value:["valueChanged"],disabled:["disabledChanged"],readonly:["readonlyChanged"]}}};x.style={ios:":host{display:block}:host(.accordion-group-expand-inset){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded){border-bottom:none}",md:":host{display:block}:host(.accordion-group-expand-inset){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion){-webkit-box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded){margin-left:0;margin-right:0;margin-top:16px;margin-bottom:16px;border-radius:6px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-previous){border-end-end-radius:6px;border-end-start-radius:6px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-next){border-start-start-radius:6px;border-start-end-radius:6px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion):first-of-type{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}"};export{u as ion_accordion,x as ion_accordion_group}
|
|
4
|
+
import{r as o,h as t,d as i,g as n,c as e}from"./p-EP3pwcdb.js";import{g as a,r as s,f as r,m as d,t as c}from"./p-CG4wBMWx.js";import{l as h}from"./p-BLV6ykCk.js";import{c as l,p}from"./p-CEo1SqXS.js";import{b as g}from"./p-EglNvYQn.js";const u=class{constructor(t){o(this,t),this.updateListener=()=>this.updateState(!1),this.state=1,this.isNext=!1,this.isPrevious=!1,this.value="ion-accordion-"+b++,this.disabled=!1,this.readonly=!1,this.toggleIcon=h,this.toggleIconSlot="end",this.setItemDefaults=()=>{const o=this.getSlottedHeaderIonItem();o&&(o.button=!0,o.detail=!1,void 0===o.lines&&(o.lines="full"))},this.getSlottedHeaderIonItem=()=>{const{headerEl:o}=this;if(!o)return;const t=o.querySelector("slot");return t&&void 0!==t.assignedElements?t.assignedElements().find((o=>"ION-ITEM"===o.tagName)):void 0},this.setAria=(o=!1)=>{const t=this.getSlottedHeaderIonItem();if(!t)return;const i=a(t).querySelector("button");i&&i.setAttribute("aria-expanded",`${o}`)},this.slotToggleIcon=()=>{const o=this.getSlottedHeaderIonItem();if(!o)return;const{toggleIconSlot:t,toggleIcon:i}=this;if(o.querySelector(".ion-accordion-toggle-icon"))return;const n=document.createElement("ion-icon");n.slot=t,n.lazy=!1,n.classList.add("ion-accordion-toggle-icon"),n.icon=i,n.setAttribute("aria-hidden","true"),o.appendChild(n)},this.expandAccordion=(o=!1)=>{const{contentEl:t,contentElWrapper:i}=this;o||void 0===t||void 0===i?this.state=4:4!==this.state&&(void 0!==this.currentRaf&&cancelAnimationFrame(this.currentRaf),this.shouldAnimate()?s((()=>{this.state=8,this.currentRaf=s((async()=>{const o=i.offsetHeight,n=c(t,2e3);t.style.setProperty("max-height",`${o}px`),await n,this.state=4,t.style.removeProperty("max-height")}))})):this.state=4)},this.collapseAccordion=(o=!1)=>{const{contentEl:t}=this;o||void 0===t?this.state=1:1!==this.state&&(void 0!==this.currentRaf&&cancelAnimationFrame(this.currentRaf),this.shouldAnimate()?this.currentRaf=s((async()=>{t.style.setProperty("max-height",`${t.offsetHeight}px`),s((async()=>{const o=c(t,2e3);this.state=2,await o,this.state=1,t.style.removeProperty("max-height")}))})):this.state=1)},this.shouldAnimate=()=>"undefined"!=typeof window&&(!matchMedia("(prefers-reduced-motion: reduce)").matches&&!(!l.get("animated",!0)||this.accordionGroupEl&&!this.accordionGroupEl.animated)),this.updateState=async(o=!1)=>{const t=this.accordionGroupEl,i=this.value;if(!t)return;const n=t.value;if(Array.isArray(n)?n.includes(i):n===i)this.expandAccordion(o),this.isNext=this.isPrevious=!1;else{this.collapseAccordion(o);const t=this.getNextSibling(),i=null==t?void 0:t.value;void 0!==i&&(this.isPrevious=Array.isArray(n)?n.includes(i):n===i);const e=this.getPreviousSibling(),a=null==e?void 0:e.value;void 0!==a&&(this.isNext=Array.isArray(n)?n.includes(a):n===a)}},this.getNextSibling=()=>{if(!this.el)return;const o=this.el.nextElementSibling;return"ION-ACCORDION"===(null==o?void 0:o.tagName)?o:void 0},this.getPreviousSibling=()=>{if(!this.el)return;const o=this.el.previousElementSibling;return"ION-ACCORDION"===(null==o?void 0:o.tagName)?o:void 0}}valueChanged(){this.updateState()}connectedCallback(){var o;const t=this.accordionGroupEl=null===(o=this.el)||void 0===o?void 0:o.closest("ion-accordion-group");t&&(this.updateState(!0),r(t,"ionValueChange",this.updateListener))}disconnectedCallback(){const o=this.accordionGroupEl;o&&d(o,"ionValueChange",this.updateListener)}componentDidLoad(){this.setItemDefaults(),this.slotToggleIcon(),s((()=>{this.setAria(4===this.state||8===this.state)}))}toggleExpanded(){const{accordionGroupEl:o,disabled:t,readonly:i,value:n,state:e}=this;t||i||!o||o.requestAccordionToggle(n,1===e||2===e)}render(){const{disabled:o,readonly:n}=this,e=g(this),a=4===this.state||8===this.state,s=a?"header expanded":"header",r=a?"content expanded":"content";return this.setAria(a),t(i,{key:"073e1d02c18dcbc20c68648426e87c14750c031d",class:{[e]:!0,"accordion-expanding":8===this.state,"accordion-expanded":4===this.state,"accordion-collapsing":2===this.state,"accordion-collapsed":1===this.state,"accordion-next":this.isNext,"accordion-previous":this.isPrevious,"accordion-disabled":o,"accordion-readonly":n,"accordion-animated":this.shouldAnimate()}},t("div",{key:"9b4cf326de8bb6b4033992903c0c1bfd7eea9bcc",onClick:()=>this.toggleExpanded(),id:"header",part:s,"aria-controls":"content",ref:o=>this.headerEl=o},t("slot",{key:"464c32a37f64655eacf4218284214f5f30b14a1e",name:"header"})),t("div",{key:"8bb52e6a62d7de0106b253201a89a32e79d9a594",id:"content",part:r,role:"region","aria-labelledby":"header",ref:o=>this.contentEl=o},t("div",{key:"1d9dfd952ad493754aaeea7a8f625b33c2dd90a0",id:"content-wrapper",ref:o=>this.contentElWrapper=o},t("slot",{key:"970dfbc55a612d739d0ca3b7b1a08e5c96d0c479",name:"content"}))))}static get delegatesFocus(){return!0}get el(){return n(this)}static get watchers(){return{value:["valueChanged"]}}};let b=0;u.style={ios:":host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}:host(.accordion-next) ::slotted(ion-item[slot=header]){--border-width:0.55px 0px 0.55px 0px}",md:":host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}"};const x=class{constructor(t){o(this,t),this.ionChange=e(this,"ionChange",7),this.ionValueChange=e(this,"ionValueChange",7),this.animated=!0,this.disabled=!1,this.readonly=!1,this.expand="compact"}valueChanged(){const{value:o,multiple:t}=this;!t&&Array.isArray(o)&&p(`[ion-accordion-group] - An array of values was passed, but multiple is "false". This is incorrect usage and may result in unexpected behaviors. To dismiss this warning, pass a string to the "value" property when multiple="false".\n\n Value Passed: [${o.map((o=>`'${o}'`)).join(", ")}]\n`,this.el),this.ionValueChange.emit({value:this.value})}async disabledChanged(){const{disabled:o}=this,t=await this.getAccordions();for(const i of t)i.disabled=o}async readonlyChanged(){const{readonly:o}=this,t=await this.getAccordions();for(const i of t)i.readonly=o}async onKeydown(o){const t=document.activeElement;if(!t)return;if(!t.closest('ion-accordion [slot="header"]'))return;const i="ION-ACCORDION"===t.tagName?t:t.closest("ion-accordion");if(!i)return;if(i.closest("ion-accordion-group")!==this.el)return;const n=await this.getAccordions(),e=n.findIndex((o=>o===i));if(-1===e)return;let a;"ArrowDown"===o.key?a=this.findNextAccordion(n,e):"ArrowUp"===o.key?a=this.findPreviousAccordion(n,e):"Home"===o.key?a=n[0]:"End"===o.key&&(a=n[n.length-1]),void 0!==a&&a!==t&&a.focus()}async componentDidLoad(){this.disabled&&this.disabledChanged(),this.readonly&&this.readonlyChanged(),this.valueChanged()}setValue(o){const t=this.value=o;this.ionChange.emit({value:t})}async requestAccordionToggle(o,t){const{multiple:i,value:n,readonly:e,disabled:a}=this;if(!e&&!a)if(t)if(i){const t=null!=n?n:[],i=Array.isArray(t)?t:[t];void 0===i.find((t=>t===o))&&void 0!==o&&this.setValue([...i,o])}else this.setValue(o);else if(i){const t=null!=n?n:[],i=Array.isArray(t)?t:[t];this.setValue(i.filter((t=>t!==o)))}else this.setValue(void 0)}findNextAccordion(o,t){const i=o[t+1];return void 0===i?o[0]:i}findPreviousAccordion(o,t){const i=o[t-1];return void 0===i?o[o.length-1]:i}async getAccordions(){return Array.from(this.el.querySelectorAll(":scope > ion-accordion"))}render(){const{disabled:o,readonly:n,expand:e}=this,a=g(this);return t(i,{key:"d1a79a93179474fbba66fcf11a92f4871dacc975",class:{[a]:!0,"accordion-group-disabled":o,"accordion-group-readonly":n,[`accordion-group-expand-${e}`]:!0},role:"presentation"},t("slot",{key:"e6b8954b686d1fbb4fc92adb07fddc97a24b0a31"}))}get el(){return n(this)}static get watchers(){return{value:["valueChanged"],disabled:["disabledChanged"],readonly:["readonlyChanged"]}}};x.style={ios:":host{display:block}:host(.accordion-group-expand-inset){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded){border-bottom:none}",md:":host{display:block}:host(.accordion-group-expand-inset){-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:16px;margin-bottom:16px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion){-webkit-box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanding),:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-expanded){margin-left:0;margin-right:0;margin-top:16px;margin-bottom:16px;border-radius:6px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-previous){border-end-end-radius:6px;border-end-start-radius:6px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion.accordion-next){border-start-start-radius:6px;border-start-end-radius:6px}:host(.accordion-group-expand-inset) ::slotted(ion-accordion):first-of-type{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0}"};export{u as ion_accordion,x as ion_accordion_group}
|