@ganpatiinfo/gids-core-web 20.0.0 → 22.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/index.css +607 -59
- package/dist/css/index.css.map +1 -1
- package/dist/gids-action-bar.d.ts +1 -1
- package/dist/gids-action-bar.js +1 -1
- package/dist/gids-activity-gauge.d.ts +1 -1
- package/dist/gids-activity-gauge.js +1 -1
- package/dist/gids-advanced-tooltip.d.ts +1 -1
- package/dist/gids-advanced-tooltip.js +1 -1
- package/dist/gids-bar-chart.d.ts +1 -1
- package/dist/gids-bar-chart.js +1 -1
- package/dist/gids-bento-card.d.ts +1 -1
- package/dist/gids-bento-card.js +1 -1
- package/dist/gids-calendar-header-panel.d.ts +1 -1
- package/dist/gids-calendar-header-panel.js +1 -1
- package/dist/gids-calendar-month-list.d.ts +1 -1
- package/dist/gids-calendar-month-list.js +1 -1
- package/dist/gids-calendar-year-list.d.ts +1 -1
- package/dist/gids-calendar-year-list.js +1 -1
- package/dist/gids-calendar.d.ts +1 -1
- package/dist/gids-calendar.js +1 -1
- package/dist/gids-carousel.d.ts +1 -1
- package/dist/gids-chart-legend-item.d.ts +1 -1
- package/dist/gids-chart-legend-item.js +1 -1
- package/dist/gids-chart-legend.d.ts +1 -1
- package/dist/gids-chart-legend.js +1 -1
- package/dist/gids-chart.d.ts +1 -1
- package/dist/gids-chart.js +1 -1
- package/dist/gids-chevron-button.d.ts +1 -1
- package/dist/gids-chevron-button.js +1 -1
- package/dist/gids-dot.d.ts +1 -1
- package/dist/gids-dot.js +1 -1
- package/dist/gids-dropdown-field.d.ts +1 -1
- package/dist/gids-dropdown-field.js +1 -1
- package/dist/gids-dropdown-picker.d.ts +1 -1
- package/dist/gids-dropdown-picker.js +1 -1
- package/dist/gids-dropdown.d.ts +1 -1
- package/dist/gids-dropdown.js +1 -1
- package/dist/gids-expansion-body-list-item.d.ts +1 -1
- package/dist/gids-expansion-body-list-item.js +1 -1
- package/dist/gids-expansion-body-list.d.ts +1 -1
- package/dist/gids-expansion-body-list.js +1 -1
- package/dist/gids-expansion-group.d.ts +1 -1
- package/dist/gids-expansion-group.js +1 -1
- package/dist/gids-expansion.d.ts +1 -1
- package/dist/gids-expansion.js +1 -1
- package/dist/gids-field.d.ts +1 -1
- package/dist/gids-field.js +1 -1
- package/dist/gids-filter.d.ts +1 -1
- package/dist/gids-filter.js +1 -1
- package/dist/gids-flyout-panel.d.ts +1 -1
- package/dist/gids-flyout-panel.js +1 -1
- package/dist/gids-form.d.ts +11 -0
- package/dist/gids-form.js +1 -0
- package/dist/gids-header-navigation-item.d.ts +1 -1
- package/dist/gids-header-navigation-item.js +1 -1
- package/dist/gids-header-navigation.d.ts +1 -1
- package/dist/gids-header-navigation.js +1 -1
- package/dist/gids-icon.d.ts +1 -1
- package/dist/gids-icon.js +1 -1
- package/dist/gids-input.d.ts +1 -1
- package/dist/gids-input.js +1 -1
- package/dist/gids-level-gauge.d.ts +1 -1
- package/dist/gids-line-chart.d.ts +1 -1
- package/dist/gids-line-chart.js +1 -1
- package/dist/gids-md-table.d.ts +1 -1
- package/dist/gids-md-table.js +1 -1
- package/dist/gids-notification.d.ts +1 -1
- package/dist/gids-overflow-container.d.ts +1 -1
- package/dist/gids-overflow-container.js +1 -1
- package/dist/gids-overlay-provider.d.ts +1 -1
- package/dist/gids-overlay-provider.js +1 -1
- package/dist/gids-password-field.d.ts +1 -1
- package/dist/gids-password-field.js +1 -1
- package/dist/gids-pie-chart.d.ts +1 -1
- package/dist/gids-pie-chart.js +1 -1
- package/dist/gids-popover.d.ts +1 -1
- package/dist/gids-popover.js +1 -1
- package/dist/gids-profile-menu-header.d.ts +1 -1
- package/dist/gids-profile-menu-header.js +1 -1
- package/dist/gids-profile-menu.d.ts +1 -1
- package/dist/gids-profile-menu.js +1 -1
- package/dist/gids-profile.d.ts +1 -1
- package/dist/gids-profile.js +1 -1
- package/dist/gids-progress-circle.d.ts +1 -1
- package/dist/gids-scrim.d.ts +1 -1
- package/dist/gids-scrim.js +1 -1
- package/dist/gids-sidebar-item.d.ts +11 -0
- package/dist/gids-sidebar-item.js +1 -0
- package/dist/gids-sidebar-menu.d.ts +11 -0
- package/dist/gids-sidebar-menu.js +1 -0
- package/dist/gids-sidebar.d.ts +11 -0
- package/dist/gids-sidebar.js +1 -0
- package/dist/gids-skeleton.d.ts +1 -1
- package/dist/gids-skeleton.js +1 -1
- package/dist/gids-snackbar.d.ts +1 -1
- package/dist/gids-tab-item.d.ts +1 -1
- package/dist/gids-tab-item.js +1 -1
- package/dist/gids-tab.d.ts +1 -1
- package/dist/gids-tab.js +1 -1
- package/dist/gids-text-field.d.ts +1 -1
- package/dist/gids-text-field.js +1 -1
- package/dist/gids-toggle-button.d.ts +1 -1
- package/dist/gids-toggle-button.js +1 -1
- package/dist/gids-tooltip.d.ts +1 -1
- package/dist/gids-tooltip.js +1 -1
- package/dist/gids-transfer-list.d.ts +1 -1
- package/dist/gids-transfer-list.js +1 -1
- package/dist/p--kh67-_Z.js +1 -0
- package/dist/{p-DrDadv7P.js → p-B2flLE0s.js} +1 -1
- package/dist/{p-jGho9nbS.js → p-BAqWcL0K.js} +1 -1
- package/dist/p-BCbovLBE.js +1 -0
- package/dist/{p-PcSMc4jQ.js → p-BIxBMTG9.js} +1 -1
- package/dist/{p-DgKrPmDn.js → p-BQT5yy5L.js} +1 -1
- package/dist/p-BRNvHMdK.js +1 -0
- package/dist/{p-CBiu-Vh3.js → p-B_FEFM5I.js} +1 -1
- package/dist/{p-Dw_kb9MC.js → p-B_St7yaX.js} +1 -1
- package/dist/{p-D0coZTd2.js → p-CAjDiWIc.js} +1 -1
- package/dist/{p-DYjV5XrH.js → p-CIjK3iHM.js} +1 -1
- package/dist/p-CV1-78HB.js +1 -0
- package/dist/{p-BdsUwTgh.js → p-D0RJMGGj.js} +1 -1
- package/dist/{p-CH4nrjpL.js → p-DKSnGphd.js} +1 -1
- package/dist/{p-CIxuyUAl.js → p-DLRj-mUX.js} +1 -1
- package/dist/{p-DKOr5iAk.js → p-DMxvWIj1.js} +1 -1
- package/dist/p-DQQhGF5N.js +1 -0
- package/dist/p-DZ1ZcTMe.js +1 -0
- package/dist/{p-BthkC6NU.js → p-DnRuhvRw.js} +1 -1
- package/dist/p-DpvdbdZ-.js +1 -0
- package/dist/{p-DZ6xQXis.js → p-DrxfD2yZ.js} +1 -1
- package/dist/{p-C6GHG170.js → p-Ds5IzXj3.js} +1 -1
- package/dist/{p-j2_DKwBz.js → p-DzOOjiNH.js} +1 -1
- package/dist/{p-Cacy0Dji.js → p-E13ycS5K.js} +1 -1
- package/dist/{p-Cz9nwmgK.js → p-TfH966_e.js} +1 -1
- package/dist/{p-CMW3SjbP.js → p-_W77iniK.js} +1 -1
- package/dist/p-bfWlRsx_.js +1 -0
- package/dist/p-kWyyLyT3.js +1 -0
- package/dist/{p-CrqHKmjy.js → p-mv_7K1EM.js} +1 -1
- package/dist/{p-xbqOQZl9.js → p-tEbUT3n3.js} +1 -1
- package/dist/types/components/html/GidsSidebarMenuItem/GidsSidebarMenuItem.d.ts +6 -0
- package/dist/types/components/shared/GidsFloatingElementManager.d.ts +1 -1
- package/dist/types/components/webComponents/GidsFlyoutPanel/GidsFlyoutPanel.d.ts +4 -0
- package/dist/types/components/webComponents/GidsForm/GidsForm.d.ts +32 -0
- package/dist/types/components/webComponents/GidsProfileMenuHeader/GidsProfileMenuHeader.d.ts +2 -0
- package/dist/types/components/webComponents/GidsSidebar/GidsSidebar.d.ts +55 -0
- package/dist/types/components/webComponents/GidsSidebarItem/GidsSidebarItem.d.ts +56 -0
- package/dist/types/components/webComponents/GidsSidebarMenu/GidsSidebarMenu.d.ts +38 -0
- package/dist/types/components.d.ts +462 -2
- package/dist-bundled/es/gids-action-bar.js +7 -7
- package/dist-bundled/es/gids-activity-gauge.js +3 -3
- package/dist-bundled/es/gids-advanced-tooltip.js +1 -1
- package/dist-bundled/es/gids-bar-chart.js +3 -3
- package/dist-bundled/es/gids-bento-card.js +1 -1
- package/dist-bundled/es/gids-calendar-header-panel.js +3 -3
- package/dist-bundled/es/gids-calendar-month-list.js +3 -3
- package/dist-bundled/es/gids-calendar-year-list.js +1 -1
- package/dist-bundled/es/gids-calendar.js +23 -23
- package/dist-bundled/es/gids-carousel.js +1 -1
- package/dist-bundled/es/gids-chart-legend-item.js +3 -3
- package/dist-bundled/es/gids-chart-legend.js +4 -4
- package/dist-bundled/es/gids-chart.js +21 -21
- package/dist-bundled/es/gids-chevron-button.js +4 -4
- package/dist-bundled/es/gids-dot.js +1 -1
- package/dist-bundled/es/gids-dropdown-field.js +5 -5
- package/dist-bundled/es/gids-dropdown-picker.js +4 -4
- package/dist-bundled/es/gids-dropdown.js +3 -3
- package/dist-bundled/es/gids-expansion-body-list-item.js +3 -3
- package/dist-bundled/es/gids-expansion-body-list.js +2 -2
- package/dist-bundled/es/gids-expansion-group.js +4 -4
- package/dist-bundled/es/gids-expansion.js +7 -7
- package/dist-bundled/es/gids-field.js +3 -3
- package/dist-bundled/es/gids-filter.js +1 -1
- package/dist-bundled/es/gids-flyout-panel.js +4 -108
- package/dist-bundled/es/gids-form.js +92 -0
- package/dist-bundled/es/gids-header-navigation-item.js +3 -3
- package/dist-bundled/es/gids-header-navigation.js +49 -62
- package/dist-bundled/es/gids-icon.js +3 -3
- package/dist-bundled/es/gids-input.js +1 -1
- package/dist-bundled/es/gids-line-chart.js +1 -1
- package/dist-bundled/es/gids-md-table.js +54 -54
- package/dist-bundled/es/gids-overflow-container.js +4 -4
- package/dist-bundled/es/gids-overlay-provider.js +2 -2
- package/dist-bundled/es/gids-password-field.js +12 -12
- package/dist-bundled/es/gids-pie-chart.js +4 -4
- package/dist-bundled/es/gids-popover.js +1 -1
- package/dist-bundled/es/gids-profile-menu-header.js +1 -1
- package/dist-bundled/es/gids-profile-menu.js +4 -4
- package/dist-bundled/es/gids-profile.js +13 -13
- package/dist-bundled/es/gids-scrim.js +1 -1
- package/dist-bundled/es/gids-sidebar-item.js +6 -0
- package/dist-bundled/es/gids-sidebar-menu.js +6 -0
- package/dist-bundled/es/gids-sidebar.js +150 -0
- package/dist-bundled/es/gids-skeleton.js +1 -1
- package/dist-bundled/es/gids-tab-item.js +13 -13
- package/dist-bundled/es/gids-tab.js +7 -7
- package/dist-bundled/es/gids-text-field.js +5 -5
- package/dist-bundled/es/gids-toggle-button.js +1 -1
- package/dist-bundled/es/gids-tooltip.js +4 -4
- package/dist-bundled/es/gids-transfer-list.js +25 -26
- package/dist-bundled/es/{p-Cf3Ny79u-VGT_IyGI.js → p--kh67-_Z-B-vf_gng.js} +12 -11
- package/dist-bundled/es/{p-DrDadv7P-D4rbSYTr.js → p-B2flLE0s-SMg7vg1a.js} +2 -2
- package/dist-bundled/es/{p-jGho9nbS-BDiBvsn2.js → p-BAqWcL0K-DNkV1R_C.js} +9 -9
- package/dist-bundled/es/p-BCbovLBE-CDxKiOtS.js +102 -0
- package/dist-bundled/es/{p-PcSMc4jQ-CzYLaIZr.js → p-BIxBMTG9-Ctr342ff.js} +12 -12
- package/dist-bundled/es/{p-DgKrPmDn-C2CSKicX.js → p-BQT5yy5L-C1C_zTi-.js} +4 -4
- package/dist-bundled/es/p-BRNvHMdK-CqGtfAsn.js +11 -0
- package/dist-bundled/es/{p-CBiu-Vh3-r-McGzCb.js → p-B_FEFM5I-JoBieRfG.js} +5 -5
- package/dist-bundled/es/{p-Dw_kb9MC-BTd0lrGA.js → p-B_St7yaX-Da4DWjGh.js} +4 -4
- package/dist-bundled/es/{p-D0coZTd2-KhJZ57gK.js → p-CAjDiWIc-C9dOa7FT.js} +1 -1
- package/dist-bundled/es/{p-DYjV5XrH-CI9LfBFx.js → p-CIjK3iHM-DEW8PRM5.js} +7 -7
- package/dist-bundled/es/{p-KQxuw_F--BTSoDfF9.js → p-CV1-78HB-C0k_l_CT.js} +18 -23
- package/dist-bundled/es/{p-BdsUwTgh-Cc7AQBsx.js → p-D0RJMGGj-BflZ9l8y.js} +4 -4
- package/dist-bundled/es/{p-CH4nrjpL-CrEJXTn0.js → p-DKSnGphd-CZSPfB-N.js} +8 -8
- package/dist-bundled/es/{p-CIxuyUAl-B2DxRM64.js → p-DLRj-mUX-BapdQYpI.js} +6 -6
- package/dist-bundled/es/{p-DKOr5iAk-DA3Kc4Cn.js → p-DMxvWIj1-BxbvrlFL.js} +11 -11
- package/dist-bundled/es/{p-GcC8pCKF-CZJFTFeN.js → p-DQQhGF5N-mCqb5VTE.js} +8 -8
- package/dist-bundled/es/p-DZ1ZcTMe-W8kofPko.js +10 -0
- package/dist-bundled/es/{p-BthkC6NU-F03MhDw7.js → p-DnRuhvRw-Beh0bANh.js} +2 -2
- package/dist-bundled/es/{p-Do_VlNHg-_g7lcvwR.js → p-Do_VlNHg-Ck03dQOR.js} +1 -1
- package/dist-bundled/es/p-DpvdbdZ--C7QlXxK2.js +118 -0
- package/dist-bundled/es/{p-DZ6xQXis-XT86MMis.js → p-DrxfD2yZ-Cetyr3S9.js} +9 -9
- package/dist-bundled/es/{p-C6GHG170-Di8lwQkY.js → p-Ds5IzXj3-B2o0ML2C.js} +13 -13
- package/dist-bundled/es/{p-j2_DKwBz-CqyuxxnN.js → p-DzOOjiNH-CqI4E-mj.js} +6 -6
- package/dist-bundled/es/{p-Cacy0Dji-D-D254kT.js → p-E13ycS5K-BBDydae3.js} +2 -2
- package/dist-bundled/es/{p-Cz9nwmgK-BO8HUAvD.js → p-TfH966_e-BzZRV8Rj.js} +8 -8
- package/dist-bundled/es/{p-CMW3SjbP-ZYYIF_i6.js → p-_W77iniK-ChKfEOp3.js} +2 -2
- package/dist-bundled/es/p-bfWlRsx_-CNZjBYOE.js +110 -0
- package/dist-bundled/es/p-iQRr_fAH-Dvv1n8QD.js +1650 -0
- package/dist-bundled/es/p-kWyyLyT3-VhX9LNzT.js +267 -0
- package/dist-bundled/es/{p-CrqHKmjy-DwSsCofb.js → p-mv_7K1EM-U3yKC45e.js} +2 -2
- package/dist-bundled/es/{p-xbqOQZl9-BK9vjfj7.js → p-tEbUT3n3-Byef6fQN.js} +11 -11
- package/dist-bundled/umd/gids-action-bar.umd.js +3 -3
- package/dist-bundled/umd/gids-activity-gauge.umd.js +2 -2
- package/dist-bundled/umd/gids-advanced-tooltip.umd.js +2 -2
- package/dist-bundled/umd/gids-bar-chart.umd.js +8 -8
- package/dist-bundled/umd/gids-bento-card.umd.js +2 -2
- package/dist-bundled/umd/gids-calendar-header-panel.umd.js +2 -2
- package/dist-bundled/umd/gids-calendar-month-list.umd.js +2 -2
- package/dist-bundled/umd/gids-calendar-year-list.umd.js +2 -2
- package/dist-bundled/umd/gids-calendar.umd.js +2 -2
- package/dist-bundled/umd/gids-carousel.umd.js +2 -2
- package/dist-bundled/umd/gids-chart-legend-item.umd.js +2 -2
- package/dist-bundled/umd/gids-chart-legend.umd.js +1 -1
- package/dist-bundled/umd/gids-chart.umd.js +5 -5
- package/dist-bundled/umd/gids-chevron-button.umd.js +2 -2
- package/dist-bundled/umd/gids-dot.umd.js +2 -2
- package/dist-bundled/umd/gids-dropdown-field.umd.js +2 -2
- package/dist-bundled/umd/gids-dropdown-picker.umd.js +2 -2
- package/dist-bundled/umd/gids-dropdown.umd.js +2 -2
- package/dist-bundled/umd/gids-expansion-body-list-item.umd.js +1 -1
- package/dist-bundled/umd/gids-expansion-body-list.umd.js +1 -1
- package/dist-bundled/umd/gids-expansion-group.umd.js +2 -2
- package/dist-bundled/umd/gids-expansion.umd.js +2 -2
- package/dist-bundled/umd/gids-field.umd.js +2 -2
- package/dist-bundled/umd/gids-filter.umd.js +3 -3
- package/dist-bundled/umd/gids-flyout-panel.umd.js +2 -2
- package/dist-bundled/umd/gids-form.umd.js +5 -0
- package/dist-bundled/umd/gids-header-navigation-item.umd.js +2 -2
- package/dist-bundled/umd/gids-header-navigation.umd.js +2 -2
- package/dist-bundled/umd/gids-icon.umd.js +2 -2
- package/dist-bundled/umd/gids-input.umd.js +2 -2
- package/dist-bundled/umd/gids-line-chart.umd.js +2 -2
- package/dist-bundled/umd/gids-md-table.umd.js +2 -2
- package/dist-bundled/umd/gids-overflow-container.umd.js +1 -1
- package/dist-bundled/umd/gids-overlay-provider.umd.js +2 -2
- package/dist-bundled/umd/gids-password-field.umd.js +2 -2
- package/dist-bundled/umd/gids-pie-chart.umd.js +2 -2
- package/dist-bundled/umd/gids-popover.umd.js +1 -1
- package/dist-bundled/umd/gids-profile-menu-header.umd.js +2 -2
- package/dist-bundled/umd/gids-profile-menu.umd.js +2 -2
- package/dist-bundled/umd/gids-profile.umd.js +2 -2
- package/dist-bundled/umd/gids-scrim.umd.js +1 -1
- package/dist-bundled/umd/gids-sidebar-item.umd.js +5 -0
- package/dist-bundled/umd/gids-sidebar-menu.umd.js +5 -0
- package/dist-bundled/umd/gids-sidebar.umd.js +5 -0
- package/dist-bundled/umd/gids-skeleton.umd.js +1 -1
- package/dist-bundled/umd/gids-tab-item.umd.js +1 -1
- package/dist-bundled/umd/gids-tab.umd.js +1 -1
- package/dist-bundled/umd/gids-text-field.umd.js +2 -2
- package/dist-bundled/umd/gids-toggle-button.umd.js +2 -2
- package/dist-bundled/umd/gids-tooltip.umd.js +2 -2
- package/dist-bundled/umd/gids-transfer-list.umd.js +2 -2
- package/dist-bundled/umd-complete/gids-core-web.umd.js +4 -4
- package/package.json +39 -7
- package/dist/p-B0hLXifA.js +0 -1
- package/dist/p-Cf3Ny79u.js +0 -1
- package/dist/p-GcC8pCKF.js +0 -1
- package/dist/p-KQxuw_F-.js +0 -1
- package/dist-bundled/es/p-B0hLXifA-CoImnX3T.js +0 -99
- package/dist-bundled/es/p-iQRr_fAH-ClfWEu03.js +0 -198
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
(function($,
|
|
1
|
+
(function($,j){typeof exports=="object"&&typeof module<"u"?j(exports):typeof define=="function"&&define.amd?define(["exports"],j):($=typeof globalThis<"u"?globalThis:$||self,j($.gidsCoreWebGidsDropdown={}))})(this,(function($){"use strict";function j(e,t,r){const s=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==s;){const i=Object.getOwnPropertyDescriptor(e,t);if(i&&(!r||i.get))return i;e=Object.getPrototypeOf(e)}}var V,nt=(e,t)=>{var r;Object.entries((r=t.o.t)!=null?r:{}).map((([s,[i]])=>{if(31&i||32&i){const o=e[s],l=j(Object.getPrototypeOf(e),s,!0)||Object.getOwnPropertyDescriptor(e,s);l&&Object.defineProperty(e,s,{get(){return l.get.call(this)},set(a){l.set.call(this,a)},configurable:!0,enumerable:!0}),t.l.has(s)?e[s]=t.l.get(s):o!==void 0&&(e[s]=o)}}))},O=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},ye=(e,t)=>t in e,q=(e,t)=>(0,console.error)(e,t),G=new Map,ke="http://www.w3.org/1999/xlink",lt=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],x=typeof window<"u"?window:{},xe=x.HTMLElement||class{},C={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,r,s)=>e.addEventListener(t,r,s),rel:(e,t,r,s)=>e.removeEventListener(t,r,s),ce:(e,t)=>new CustomEvent(e,t)},at=(()=>{var e;let t=!1;try{(e=x.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),ee=(()=>{try{return!!x.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),te=!!ee&&!!x.document&&Object.getOwnPropertyDescriptor(x.document.adoptedStyleSheets,"length").writable,se=!1,Se=[],Ee=[],ct=(e,t)=>r=>{e.push(r),se||(se=!0,4&C.i?ie(re):C.raf(re))},Ce=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(r){q(r)}e.length=0},re=()=>{Ce(Se),Ce(Ee),(se=Se.length>0)&&C.raf(re)},ie=e=>Promise.resolve(void 0).then(e),dt=ct(Ee);function ut(){const e=this.attachShadow({mode:"open"});V===void 0&&(V=null),V&&(te?e.adoptedStyleSheets.push(V):e.adoptedStyleSheets=[...e.adoptedStyleSheets,V])}var Ie=e=>{const t=ne(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&oe(t,e.tagName).forEach((s=>{s.nodeType===1&&s.tagName==="SLOT-FB"&&(s.hidden=!!ht(s,M(s),!1).length)}));let r=0;for(r=0;r<t.length;r++){const s=t[r];s.nodeType===1&&ne(s,"childNodes").length&&Ie(s)}};function oe(e,t,r){let s,i=0,o=[];for(;i<e.length;i++){if(s=e[i],s["s-sr"]&&(!t||s["s-hn"]===t)&&(r===void 0||M(s)===r)&&(o.push(s),r!==void 0))return o;o=[...o,...oe(s.childNodes,t,r)]}return o}var ht=(e,t,r=!0)=>{const s=[];(r&&e["s-sr"]||!e["s-sr"])&&s.push(e);let i=e;for(;i=i.nextSibling;)M(i)!==t||!r&&i["s-sr"]||s.push(i);return s},_e=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",M=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function ne(e,t){if("__"+t in e){const r=e["__"+t];return typeof r!="function"?r:r.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var le,T,D=new WeakMap,Ae=e=>"sc-"+e.p,ae=e=>(e=typeof e)=="object"||e==="function",k=(e,t,...r)=>{let s=null,i=null,o=null,l=!1,a=!1;const n=[],d=c=>{for(let h=0;h<c.length;h++)s=c[h],Array.isArray(s)?d(s):s!=null&&typeof s!="boolean"&&((l=typeof e!="function"&&!ae(s))&&(s=String(s)),l&&a?n[n.length-1].h+=s:n.push(l?H(null,s):s),a=l)};if(d(r),t){t.key&&(i=t.key),t.name&&(o=t.name);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter((h=>c[h])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,n,ft);const u=H(e,null);return u.v=t,n.length>0&&(u.m=n),u.$=i,u.j=o,u},H=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),pt={},ft={forEach:(e,t)=>e.map(Ne).forEach(t),map:(e,t)=>e.map(Ne).map(t).map(gt)},Ne=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),gt=e=>{if(typeof e.vtag=="function"){const r={...e.vattrs};return e.vkey&&(r.key=e.vkey),e.vname&&(r.name=e.vname),k(e.vtag,r,...e.vchildren||[])}const t=H(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},Le=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let r=!1;for(const i of t){if(r)break;for(const o of e[i])if(typeof o=="string"){r=!0;break}}if(!r)return e;const s={};for(const i of t)s[i]=e[i].map((o=>typeof o=="string"?{[o]:0}:o));return s},Oe=(e,t,r)=>e==null||ae(e)?e:4&t?(r&&typeof e=="string"||e!=="false")&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,mt=(e,t,r)=>{const s=C.ce(t,r);return e.dispatchEvent(s),s},Pe=(e,t,r,s,i,o)=>{if(r===s)return;let l=ye(e,t),a=t.toLowerCase();if(t==="class"){const n=e.classList,d=De(r);let u=De(s);n.remove(...d.filter((c=>c&&!u.includes(c)))),n.add(...u.filter((c=>c&&!d.includes(c))))}else if(t==="style"){for(const n in r)s&&s[n]!=null||(n.includes("-")?e.style.removeProperty(n):e.style[n]="");for(const n in s)r&&s[n]===r[n]||(n.includes("-")?e.style.setProperty(n,s[n]):e.style[n]=s[n])}else if(t!=="key"){if(t==="ref")s&&wt(s,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const n=t.slice(5);let d;{const u=O(e);if(u&&u.o&&u.o.t){const c=u.o.t[n];c&&c[1]&&(d=c[1])}}return d||(d=n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(s==null||s===!1?s===!1&&e.getAttribute(d)!==""||e.removeAttribute(d):e.setAttribute(d,s===!0?"":s))}if(t[0]==="p"&&t.startsWith("prop:")){const n=t.slice(5);try{e[n]=s}catch{}return}{const n=ae(s);if((l||n&&s!==null)&&!i)try{if(e.tagName.includes("-"))e[t]!==s&&(e[t]=s);else{const u=s??"";t==="list"?l=!1:r!=null&&e[t]===u||(typeof e.__lookupSetter__(t)=="function"?e[t]=u:e.setAttribute(t,u))}}catch{}let d=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,d=!0),s==null||s===!1?s===!1&&e.getAttribute(t)!==""||(d?e.removeAttributeNS(ke,t):e.removeAttribute(t)):(!l||4&o||i)&&!n&&e.nodeType===1&&(s=s===!0?"":s,d?e.setAttributeNS(ke,t,s):e.setAttribute(t,s))}}else if(t=t[2]==="-"?t.slice(3):ye(x,a)?a.slice(2):a[2]+t.slice(3),r||s){const n=t.endsWith($e);t=t.replace(vt,""),r&&C.rel(e,t,r,n),s&&C.ael(e,t,s,n)}}},bt=/\s/,De=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(bt):[]),$e="Capture",vt=new RegExp($e+"$"),ce=(e,t,r)=>{const s=t.S.nodeType===11&&t.S.host?t.S.host:t.S,i=e&&e.v||{},o=t.v||{};for(const l of qe(Object.keys(i)))l in o||Pe(s,l,i[l],void 0,r,t.i);for(const l of qe(Object.keys(o)))Pe(s,l,i[l],o[l],r,t.i)};function qe(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var B=!1,W=!1,K=!1,I=!1,de=[],ue=[],U=(e,t,r)=>{var s;const i=t.m[r];let o,l,a,n=0;if(B||(K=!0,i.O==="slot"&&(i.i|=i.m?2:1)),i.h!=null)o=i.S=x.document.createTextNode(i.h);else if(1&i.i)o=i.S=x.document.createTextNode(""),ce(null,i,I);else{if(I||(I=i.O==="svg"),!x.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(o=i.S=x.document.createElementNS(I?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!B&&2&i.i?"slot-fb":i.O),I&&i.O==="foreignObject"&&(I=!1),ce(null,i,I),i.m){const d=i.O==="template"?o.content:o;for(n=0;n<i.m.length;++n)l=U(e,i,n),l&&d.appendChild(l)}i.O==="svg"?I=!1:o.tagName==="foreignObject"&&(I=!0)}return o["s-hn"]=T,3&i.i&&(o["s-sr"]=!0,o["s-cr"]=le,o["s-sn"]=i.j||"",o["s-rf"]=(s=i.v)==null?void 0:s.ref,(function(d){if(d.assignedElements||d.assignedNodes||!d["s-sr"])return;const u=c=>(function(h){const f=[],p=this["s-sn"];h?.flatten&&console.error(`
|
|
2
2
|
Flattening is not supported for Stencil non-shadow slots.
|
|
3
3
|
You can use \`.childNodes\` to nested slot fallback content.
|
|
4
4
|
If you have a particular use case, please open an issue on the Stencil repo.
|
|
5
|
-
`);const S=this["s-cr"].parentElement;return(S.__childNodes?S.childNodes:(b=>{const v=[];for(let g=0;g<b.length;g++){const m=b[g]["s-nr"]||void 0;m&&m.isConnected&&v.push(m)}return v})(S.childNodes)).forEach((b=>{f===B(b)&&p.push(b)})),d?p.filter((b=>b.nodeType===1)):p}).bind(c);c.assignedElements=h(!0),c.assignedNodes=h(!1)})(o),a=e&&e.m&&e.m[n],a&&a.O===i.O&&e.S&&Fe(e.S)),o},Fe=e=>{I.i|=1;const t=e.closest(F.toLowerCase());if(t!=null){const n=Array.from(t.__childNodes||t.childNodes).find((i=>i["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const i of n?s.reverse():s)i["s-sh"]!=null&&(N(t,i,n??null),i["s-sh"]=void 0,U=!0)}I.i&=-2},Y=(e,t)=>{I.i|=1;const n=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let s=e;for(;s=s.nextSibling;)s&&s["s-sn"]===e["s-sn"]&&s["s-sh"]===F&&n.push(s)}for(let s=n.length-1;s>=0;s--){const i=n[s];i["s-hn"]!==F&&i["s-ol"]&&(N(G(i).parentNode,i,G(i)),i["s-ol"].remove(),i["s-ol"]=void 0,i["s-sh"]=void 0,U=!0),t&&Y(i,t)}I.i&=-2},Ve=(e,t,n,s,i,o)=>{let r,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===F&&(a=a.shadowRoot),n.O==="template"&&(a=a.content);i<=o;++i)s[i]&&(r=z(null,n,i),r&&(s[i].S=r,N(a,r,G(t))))},je=(e,t,n)=>{for(let s=t;s<=n;++s){const i=e[s];if(i){const o=i.S;Be(i),o&&(K=!0,o["s-ol"]?o["s-ol"].remove():Y(o,!0),o.remove())}}},J=(e,t,n=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:n?(n&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),G=e=>e&&e["s-ol"]||e,j=(e,t,n=!1)=>{const s=t.S=e.S,i=e.m,o=t.m,r=t.O,a=t.h;let l;a==null?(k=r==="svg"||r!=="foreignObject"&&k,r!=="slot"||R||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Fe(t.S.parentElement)),de(e,t,k),i!==null&&o!==null?((c,h,d,u,p=!1)=>{let f,S,b=0,v=0,g=0,m=0,C=h.length-1,y=h[0],x=h[C],_=u.length-1,A=u[0],L=u[_];const ot=d.O==="template"?c.content:c;for(;b<=C&&v<=_;)if(y==null)y=h[++b];else if(x==null)x=h[--C];else if(A==null)A=u[++v];else if(L==null)L=u[--_];else if(J(y,A,p))j(y,A,p),y=h[++b],A=u[++v];else if(J(x,L,p))j(x,L,p),x=h[--C],L=u[--_];else if(J(y,L,p))y.O!=="slot"&&L.O!=="slot"||Y(y.S.parentNode,!1),j(y,L,p),N(ot,y.S,x.S.nextSibling),y=h[++b],L=u[--_];else if(J(x,A,p))y.O!=="slot"&&L.O!=="slot"||Y(x.S.parentNode,!1),j(x,A,p),N(ot,x.S,y.S),x=h[--C],A=u[++v];else{for(g=-1,m=b;m<=C;++m)if(h[m]&&h[m].$!==null&&h[m].$===A.$){g=m;break}g>=0?(S=h[g],S.O!==A.O?f=z(h&&h[v],d,g):(j(S,A,p),h[g]=void 0,f=S.S),A=u[++v]):(f=z(h&&h[v],d,v),A=u[++v]),f&&N(G(y.S).parentNode,f,G(y.S))}b>C?Ve(c,u[_+1]==null?null:u[_+1].S,d,u,v,_):v>_&&je(h,b,C)})(s,i,t,o,n):o!==null?(e.h!==null&&(s.textContent=""),Ve(s,null,t,o,0,o.length-1)):!n&&i!==null&&je(i,0,i.length-1),k&&r==="svg"&&(k=!1)):(l=s["s-cr"])?l.parentNode.textContent=a:e.h!==a&&(s.data=a)},P=[],Me=e=>{let t,n,s;const i=e.__childNodes||e.childNodes;for(const o of i){if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;const r=o["s-sn"];for(s=n.length-1;s>=0;s--)if(t=n[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===o["s-hn"]||t["s-sh"]&&t["s-sh"]===o["s-hn"]))if(_e(t,r)){let a=P.find((l=>l.k===t));K=!0,t["s-sn"]=t["s-sn"]||r,a?(a.k["s-sh"]=o["s-hn"],a.N=o):(t["s-sh"]=o["s-hn"],P.push({N:o,k:t})),t["s-sr"]&&P.map((l=>{_e(l.k,t["s-sn"])&&(a=P.find((c=>c.k===t)),a&&!l.N&&(l.N=a.N))}))}else P.some((a=>a.k===t))||P.push({k:t})}o.nodeType===1&&Me(o)}},Be=e=>{e.v&&e.v.ref&&ce.push((()=>e.v.ref(null))),e.m&&e.m.map(Be)},bt=(e,t)=>{he.push((()=>e(t)))},N=(e,t,n,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,n);const{slotNode:i}=(function(o,r){var a;if(!(r=r||((a=o["s-ol"])==null?void 0:a.parentElement)))return{slotNode:null,slotName:""};const l=o["s-sn"]=B(o)||"";return{slotNode:oe(le(r,"childNodes"),r.tagName,l)[0],slotName:l}})(t);return i&&!s&&i.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,n):e?.insertBefore(t,n)},St=(e,t,n=!1)=>{var s,i,o,r,a;const l=e.$hostElement$,c=e.o,h=e.M||W(null,null);var d;const u=(d=t)&&d.O===ft?t:w(null,null,t);if(F=l.tagName,c.C&&(u.v=u.v||{},c.C.forEach((([p,f])=>{u.v[f]=l[p]}))),n&&u.v)for(const p of Object.keys(u.v))l.hasAttribute(p)&&!["key","ref","style","class"].includes(p)&&(u.v[p]=l[p]);if(u.O=null,u.i|=4,e.M=u,u.S=h.S=l.shadowRoot||l,R=!(!(1&c.i)||128&c.i),re=l["s-cr"],K=!1,j(h,u,n),I.i|=1,U){Me(u.S);for(const p of P){const f=p.k;if(!f["s-ol"]&&E.document){const S=E.document.createTextNode("");S["s-nr"]=f,N(f.parentNode,f["s-ol"]=S,f,n)}}for(const p of P){const f=p.k,S=p.N;if(f.nodeType===1&&n&&(f["s-ih"]=(s=f.hidden)!=null&&s),S){const b=S.parentNode;let v=S.nextSibling;if(v&&v.nodeType===1){let g=(i=f["s-ol"])==null?void 0:i.previousSibling;for(;g;){let m=(o=g["s-nr"])!=null?o:null;if(m&&m["s-sn"]===f["s-sn"]&&b===(m.__parentNode||m.parentNode)){for(m=m.nextSibling;m===f||m?.["s-sr"];)m=m?.nextSibling;if(!m||!m["s-nr"]){v=m;break}}g=g.previousSibling}}if((!v&&b!==(f.__parentNode||f.parentNode)||(f.__nextSibling||f.nextSibling)!==v)&&f!==v){if(N(b,f,v,n),f.nodeType===8&&f.nodeValue.startsWith("s-nt-")){const g=E.document.createTextNode(f.nodeValue.replace(/^s-nt-/,""));g["s-hn"]=f["s-hn"],g["s-sn"]=f["s-sn"],g["s-sh"]=f["s-sh"],g["s-sr"]=f["s-sr"],g["s-ol"]=f["s-ol"],g["s-ol"]["s-nr"]=g,N(f.parentNode,g,f,n),f.parentNode.removeChild(f)}f.nodeType===1&&f.tagName!=="SLOT-FB"&&(f.hidden=(r=f["s-ih"])!=null&&r)}f&&typeof S["s-rf"]=="function"&&S["s-rf"](S)}else f.nodeType===1&&(f.hidden=!0)}}if(K&&ke(u.S),I.i&=-2,P.length=0,!R&&!(1&c.i)&&l["s-cr"]){const p=u.S.__childNodes||u.S.childNodes;for(const f of p)if(f["s-hn"]!==F&&!f["s-sh"]){if(n&&f["s-ih"]==null&&(f["s-ih"]=(a=f.hidden)!=null&&a),f.nodeType===1)f.hidden=!0;else if(f.nodeType===3&&f.nodeValue.trim()){const S=E.document.createComment("s-nt-"+f.nodeValue);S["s-sn"]=f["s-sn"],N(f.parentNode,S,f,n),f.parentNode.removeChild(f)}}}re=void 0,ce.forEach((p=>p())),ce.length=0,he.forEach((p=>p())),he.length=0},Re=(e,t)=>{if(t&&!e.A&&t["s-p"]){const n=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(n-1,1),s()})))}},ue=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Re(e,e.R);const n=()=>wt(e,t);if(!t)return ct(n);queueMicrotask((()=>{n()}))},wt=(e,t)=>{const n=e.$hostElement$,s=n;if(!s)throw new 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 i;return i=H(s,t?"componentWillLoad":"componentWillUpdate",void 0,n),i=Ge(i,(()=>H(s,"componentWillRender",void 0,n))),Ge(i,(()=>xt(e,s,t)))},Ge=(e,t)=>Et(e)?e.then(t).catch((n=>{console.error(n),t()})):t(),Et=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",xt=async(e,t,n)=>{var s;const i=e.$hostElement$,o=i["s-rc"];n&&(r=>{const a=r.o,l=r.$hostElement$,c=a.i,h=((d,u)=>{var p,f,S;const b=Ae(u),v=q.get(b);if(!E.document)return b;if(d=d.nodeType===11?d:E.document,v)if(typeof v=="string"){let g,m=D.get(d=d.head||d);if(m||D.set(d,m=new Set),!m.has(b)){g=E.document.createElement("style"),g.textContent=v;const C=(p=I._)!=null?p:(function(){var y,x,_;return(_=(x=(y=E.document.head)==null?void 0:y.querySelector('meta[name="csp-nonce"]'))==null?void 0:x.getAttribute("content"))!=null?_:void 0})();if(C!=null&&g.setAttribute("nonce",C),!(1&u.i))if(d.nodeName==="HEAD"){const y=d.querySelectorAll("link[rel=preconnect]"),x=y.length>0?y[y.length-1].nextSibling:d.querySelector("style");d.insertBefore(g,x?.parentNode===d?x:null)}else if("host"in d)if(ee){const y=new((f=d.defaultView)!=null?f:d.ownerDocument.defaultView).CSSStyleSheet;y.replaceSync(v),te?d.adoptedStyleSheets.unshift(y):d.adoptedStyleSheets=[y,...d.adoptedStyleSheets]}else{const y=d.querySelector("style");y?y.textContent=v+y.textContent:d.prepend(g)}else d.append(g);1&u.i&&d.insertBefore(g,null),4&u.i&&(g.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),m&&m.add(b)}}else{let g=D.get(d);if(g||D.set(d,g=new Set),!g.has(b)){const m=(S=d.defaultView)!=null?S:d.ownerDocument.defaultView;let C;if(v.constructor===m.CSSStyleSheet)C=v;else{C=new m.CSSStyleSheet;for(let y=0;y<v.cssRules.length;y++)C.insertRule(v.cssRules[y].cssText,y)}te?d.adoptedStyleSheets.push(C):d.adoptedStyleSheets=[...d.adoptedStyleSheets,C],g.add(b)}}return b})(l.shadowRoot?l.shadowRoot:l.getRootNode(),a);10&c&&(l["s-sc"]=h,l.classList.add(h+"-h"))})(e),Ct(e,t,i,n),o&&(o.map((r=>r())),i["s-rc"]=void 0);{const r=(s=i["s-p"])!=null?s:[],a=()=>It(e);r.length===0?a():(Promise.all(r).then(a).catch(a),e.i|=4,r.length=0)}},Ct=(e,t,n,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,St(e,t,s)}catch(i){T(i,e.$hostElement$)}return null},It=e=>{const t=e.$hostElement$,n=t,s=e.R;H(n,"componentDidRender",void 0,t),64&e.i?H(n,"componentDidUpdate",void 0,t):(e.i|=64,_t(t),H(n,"componentDidLoad",void 0,t),e.L(t),s||kt()),e.A&&(e.A(),e.A=void 0),512&e.i&&ie((()=>ue(e,!1))),e.i&=-517},kt=()=>{ie((()=>gt(E,"appload",{detail:{namespace:"gids-core-web"}})))},H=(e,t,n,s)=>{if(e&&e[t])try{return e[t](n)}catch(i){T(i,s)}},_t=e=>e.classList.add("hydrated"),He=(e,t,n,s)=>{const i=O(e);if(!i)return;const o=e,r=i.l.get(t),a=i.i,l=o;n=Oe(n,s.t[t][0],!!(64&s.i));const c=Number.isNaN(r)&&Number.isNaN(n);if(n!==r&&!c){if(i.l.set(t,n),s.F){const h=s.F[t];h&&h.map((d=>{try{const[[u,p]]=Object.entries(d);(128&a||1&p)&&(l?l[u](n,r,t):i.T.push((()=>{i.D[u](n,r,t)})))}catch(u){T(u,o)}}))}if(2&a){if(l.componentShouldUpdate&&l.componentShouldUpdate(n,r,t)===!1&&!(16&a))return;16&a||ue(i,!1)}}},At=(e,t,n)=>{var s,i;const o=e.prototype;64&t.i&&1&n&&rt.forEach((r=>{const a=o[r];Object.defineProperty(o,r,{value(...l){var c;const h=O(this),d=this;d?typeof a=="function"&&a.call(d,...l):(c=h?.H)==null||c.then((u=>{const p=u[r];typeof p=="function"&&p.call(u,...l)}))}})}));{e.watchers&&!t.F&&(t.F=Le(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const r=Object.entries((s=t.t)!=null?s:{});r.map((([a,[l]])=>{if(31&l||32&l){const{get:c,set:h}=V(o,a)||{};c&&(t.t[a][0]|=2048),h&&(t.t[a][0]|=4096),Object.defineProperty(o,a,{get(){return c?c.apply(this):(d=a,O(this).l.get(d));var d},configurable:!0,enumerable:!0}),Object.defineProperty(o,a,{set(d){const u=O(this);if(u){if(h)return(32&l?this[a]:u.$hostElement$[a])===void 0&&u.l.get(a)&&(d=u.l.get(a)),h.apply(this,[Oe(d,l,!!(64&t.i))]),void He(this,a,d=32&l?this[a]:u.$hostElement$[a],t);He(this,a,d,t)}}})}}));{const a=new Map;o.attributeChangedCallback=function(l,c,h){I.jmp((()=>{var d;const u=a.get(l),p=O(this);if(this.hasOwnProperty(u),o.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==h)return;if(u==null){const g=p?.i;if(p&&g&&!(8&g)&&h!==c){const m=this,C=(d=t.F)==null?void 0:d[l];C?.forEach((y=>{const[[x,_]]=Object.entries(y);m[x]!=null&&(128&g||1&_)&&m[x].call(m,h,c,l)}))}return}const f=r.find((([g])=>g===u)),S=f&&4&f[1][0],b=S&&h===null&&this[u]===void 0;S&&(h=h!==null&&h!=="false");const v=Object.getOwnPropertyDescriptor(o,u);b||h==this[u]||v.get&&!v.set||(this[u]=h)}))},e.observedAttributes=Array.from(new Set([...Object.keys((i=t.F)!=null?i:{}),...r.filter((([l,c])=>31&c[0])).map((([l,c])=>{var h;const d=c[1]||l;return a.set(d,l),512&c[0]&&((h=t.C)==null||h.push([l,d])),d}))]))}}return e},qe=(e,t)=>{const n={i:t[0],p:t[1]};try{n.t=t[2],n.W=t[3],n.F=Le(e.F),n.P=e.P,n.U=e.U,n.C=[];const s=e.prototype.connectedCallback,i=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((o,r)=>{const a={i:0,$hostElement$:o,o:r,l:new Map,B:new Map};a.H=new Promise((c=>a.L=c)),o["s-p"]=[],o["s-rc"]=[];const l=a;o.__stencil__getHostRef=()=>l,512&r.i&<(o,a)})(this,n)},connectedCallback(){if(!this.__hasHostListenerAttached){const o=O(this);if(!o)return;We(this,o,n.W),this.__hasHostListenerAttached=!0}(o=>{if(!(1&I.i)){const r=O(o);if(!r)return;const a=r.o;if(1&r.i)We(o,r,a.W),r?.D||r?.H&&r.H.then((()=>{}));else{r.i|=1,12&a.i&&(l=>{if(!E.document)return;const c=l["s-cr"]=E.document.createComment("");c["s-cn"]=!0,N(l,c,l.firstChild)})(o);{let l=o;for(;l=l.parentNode||l.host;)if(l["s-p"]){Re(r,r.R=l);break}}a.t&&Object.entries(a.t).map((([l,[c]])=>{if(31&c&&Object.prototype.hasOwnProperty.call(o,l)){const h=o[l];delete o[l],o[l]=h}})),(async(l,c,h)=>{let d;try{if(!(32&c.i)&&(c.i|=32,d=l.constructor,customElements.whenDefined(l.localName).then((()=>c.i|=128)),d&&d.style)){let f;typeof d.style=="string"&&(f=d.style);const S=Ae(h);q.has(S)||((b,v,g)=>{let m=q.get(b);ee&&g?(m=m||new CSSStyleSheet,typeof m=="string"?m=v:m.replaceSync(v)):m=v,q.set(b,m)})(S,f,!!(1&h.i))}const u=c.R,p=()=>ue(c,!0);u&&u["s-rc"]?u["s-rc"].push(p):p()}catch(u){T(u,l),c.A&&(c.A(),c.A=void 0),c.L&&c.L(l)}})(o,r,a)}}})(this),s&&s.call(this)},disconnectedCallback(){(async o=>{if(!(1&I.i)){const r=O(o);r?.V&&(r.V.map((a=>a())),r.V=void 0)}D.has(o)&&D.delete(o),o.shadowRoot&&D.has(o.shadowRoot)&&D.delete(o.shadowRoot)})(this),i&&i.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${n.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else ht.call(this,n)}}),Object.defineProperty(e,"is",{value:n.p,configurable:!0}),At(e,n,3)}catch(s){return T(s),e}},Nt=(e,t)=>t,We=(e,t,n)=>{n&&E.document&&n.map((([s,i,o])=>{const r=Ot(E.document,e,s),a=Lt(t,o),l=Pt(s);I.ael(r,i,a,l),(t.V=t.V||[]).push((()=>I.rel(r,i,a,l)))}))},Lt=(e,t)=>n=>{try{e.$hostElement$[t](n)}catch(s){T(s,e.$hostElement$)}},Ot=(e,t,n)=>8&n?E:t,Pt=e=>at?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function os(e){return e}function Ke(e){var t,n,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Ke(e[t]))&&(s&&(s+=" "),s+=n)}else for(n in e)e[n]&&(s&&(s+=" "),s+=n);return s}function X(){for(var e,t,n=0,s="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Ke(e))&&(s&&(s+=" "),s+=t);return s}const Z=64,Ue=10,ze=Z/2-Ue/2,Dt=Z/2,fe=2*Math.PI*ze,$t=`0 0 ${Z} ${Z}`,Tt=Object.freeze(Object.defineProperty({__proto__:null,calculateStrokeDasharray:(e=0,t)=>{const n=typeof t=="number"&&t>0?t:1,i=Math.max(0,Math.min(n,e))/n*100,o=(fe*i/100).toFixed(2),r=(fe-parseFloat(o)).toFixed(2);return`${o} ${r}`},centerPosition:Dt,circumference:fe,radius:ze,thickness:Ue,viewBox:$t},Symbol.toStringTag,{value:"Module"})),Ft=Object.freeze(Object.defineProperty({__proto__:null,getGidsChevronButtonControlClassNames:({size:e},t)=>X("gids-chevron-button-control",{"gids-chevron-button-control--small":e==="sm","gids-chevron-button-control--large":e==="lg"},t),getGidsDropdownClassNames:({expanded:e},t)=>X("gids-dropdown",{"gids-dropdown--expanded":e},t)},Symbol.toStringTag,{value:"Module"})),Vt=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>X("gids-icon",{"gids-icon--xs":e==="xs","gids-icon--sm":e==="sm","gids-icon--md":e==="md","gids-icon--lg":e==="lg"},t)},Symbol.toStringTag,{value:"Module"})),jt=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerControlClassNames:({size:e,indeterminate:t,value:n},s)=>X("gids-spinner-control",{"gids-spinner-control--xs":e==="xs","gids-spinner-control--sm":e==="sm","gids-spinner-control--lg":e==="lg","gids-spinner-control--xl":e==="xl","gids-spinner-control--2xl":e==="2xl","gids-spinner-control--determinate":t===!1},n,s)},Symbol.toStringTag,{value:"Module"})),pe=Symbol("defaultPath"),Ye=Symbol("pathSet"),me="gids-asset-paths-set";class Mt extends EventTarget{#t=new Map;constructor(){super()}#e(t,n){this.#t.set(t,n)}#s(t){return this.#t.get(t)??null}#n=()=>{this.dispatchEvent(new Event(me))};haveAssetPathsBeenSet(){return this.#s(Ye)!==null}setAssetPaths(t,n){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(pe,t);else{for(const s in t)this.#e(s,t[s]);n&&this.#e(pe,n)}this.#e(Ye,"true"),setTimeout(this.#n,0)}}getAssetFilePath(t){const n=this.#s(t);if(n===null){const s=this.#s(pe);if(s!==null)return`${s}${s.endsWith("/")?"":"/"}${t}`}return n}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(me,t,{once:!0}),()=>{this.removeEventListener(me,t)}}}const ge=Symbol.for("GIDS"),Bt=()=>(globalThis[ge]===void 0&&(globalThis[ge]={assetPaths:{}}),globalThis[ge]),Rt=e=>{const t=Bt().assetPaths;return t[e]===void 0&&(t[e]=new Mt),t[e]};function ve(){return Rt("@ganpatiinfo/gids-web-shared")}function Gt(){return ve().haveAssetPathsBeenSet()}function Je(e){return ve().getAssetFilePath(e)}function Ht(e){return ve().onAssetPathsSet(e)}let qt=0;const Wt=(e,t="gids")=>e||`${t}-${qt++}`,Kt=e=>e.type==="hidden",Ut=e=>{if(!(e instanceof HTMLElement))return!1;const{nodeName:t}=e;return!!(["BUTTON","DETAILS","EMBED","IFRAME","KEYGEN","LABEL","SELECT","TEXTAREA"].includes(t)||t==="A"&&e.hasAttribute("href")||e instanceof HTMLInputElement&&!Kt(e)||["AUDIO","VIDEO"].includes(t)&&e.hasAttribute("controls")||["IMG","OBJECT"].includes(t)&&e.hasAttribute("usemap")||e.hasAttribute("tabindex")&&e.tabIndex>-1)},Xe={"icons-other.svg":["accessibility","add","remove","announcement","approval","archive","audio","backward","banking","battery","bluetooth","bookmark","bulb","calendar","camera","card","cart","chart","chat","cloud","code","compass","desktop","email","emergency","exchange","finance","fingerprint","flag","folder","forward","gift","globe","goals","happy","hashtag","headphones","history","image","insurance","investment","in-progress","key","link","list","location","lock","map","maximise","microphone","minimise","mobile","moon","network","neutral","ai","new","draft","pending","new-chat","pause","percent","placeholder","play","power","rain","refresh","repeat","sad","save","savings","shield","shuffle","side-navigation","snow","speaker","stop","sun","tablet","temperature","thumbs-down","thumbs-up","travel","trend-down","trend-up","unlock","upset","verified","very-happy","video","volume-down","volume-max","volume-min","volume-mute","volume-up","wallet","wealth","wi-fi","wind"],"icons-core.svg":["arrow-down","arrow-left","arrow-right","arrow-up","attachment","checkmark","chevron-down","chevron-horizontal","chevron-left","chevron-right","chevron-up","chevron-vertical","copy","cross","danger","dashboard","delete","document","download","drag","edit","external","eye","filter","grid","hide","home","information","log-in","log-out","menu","minus","more","notifications","options","phone","plus","positive","printer","question","search","select","select-all","send","settings","share","star","time","upload","user","users","warning"]},Ze=new Map;for(const e in Xe)for(const t of Xe[e])Ze.set(t,e);function zt(e){return Ze.get(e)}function Qe(e,t="regular",n){const s=zt(e);let i=s??"";return n&&s&&(i=n(s)??s),`${i}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:Yt}=Vt,ye=({name:e,size:t,appearance:n,alt:s,class:i,titleId:o,src:r,...a})=>{const l=Wt(o);let c=r;return c===void 0&&Gt()&&(c=Qe(e,n,Je)),w("svg",{ref:h=>{c===void 0&&Ht((()=>{(function(d,u,p){if(!d)return;const f=document.createElementNS("http://www.w3.org/2000/svg","use");f.setAttribute("href",Qe(u,p,Je)),d.appendChild(f)})(h,e,n)}))},width:"16",height:"16",class:Yt({size:t},i),role:"img","aria-hidden":s===""?"true":void 0,"aria-labelledby":s===""?void 0:l,...a},s!==""&&w("title",{id:l},s||e),c!==void 0?w("use",{href:c}):null)},{getGidsSpinnerControlClassNames:Jt}=jt,{calculateStrokeDasharray:Xt,thickness:et,radius:tt,centerPosition:Q,viewBox:Zt}=Tt,Qt=({size:e,indeterminate:t,value:n,max:s,...i})=>{let o;return t||(o={strokeDashArray:Xt(n,s||0),strokeDashoffset:"0"}),w("svg",{class:Jt({size:e,indeterminate:t,value:n}),viewBox:Zt,...i},w("circle",{class:"gids-spinner-control__track",cx:Q,cy:Q,r:tt,"stroke-width":et}),w("circle",{style:o,class:"gids-spinner-control__progress",cx:Q,cy:Q,r:tt,"stroke-width":et}))},es=qe(class extends Ee{constructor(e){super(),e!==!1&&this.__registerHost(),this.#e={},this._focusInput=t=>{const n=t.target;n===this.#t||this._isWithinInteractiveElement(n)||this.#t?.focus()},this._handleInputFocusAndBlur=t=>{this._el.dispatchEvent(new FocusEvent(t.type,{relatedTarget:t.relatedTarget}))}}get defaultValue(){return this.#t?.defaultValue??this.#e.defaultValue??""}set defaultValue(e){this.#t?this.#t.defaultValue=e:this.#e.defaultValue=e}get value(){return this.#t?.value??this.#e.value??this.#e.defaultValue??""}set value(e){this.#t?this.#t.value=e:this.#e.value=e}#t;#e;_isWithinInteractiveElement(e){if(e===null||e===this._el||!this._el.contains(e))return!1;if(Ut(e))return!0;{const t=e.parentElement;if(t)return this._isWithinInteractiveElement(t)}return!1}connectedCallback(){this._el.addEventListener("click",this._focusInput)}disconnectedCallback(){this._el.removeEventListener("click",this._focusInput)}render(){return w(Nt,{key:"ecbda1a363fff11d477fc954db9521e49f2be856"},w("slot",{key:"91da6b8209b6ec8d029716c0ecd409844073dccc",name:"leadingIcon"}),this.leadingLabel&&w("span",{key:"05baed582bbe66d678ce076ad94914cbd24f1d26",class:"gids-input__label"},this.leadingLabel),w("slot",{key:"6250a740115a58f76b47c79375461f84fddc1b51",name:"leadingAccessory"}),w("input",{key:"57f082d129990ae975794483a42ac2754fd13f09",...this.inputProps,ref:e=>{this.#t=e,this.#e.value!==void 0&&(this.#t.value=this.#e.value,delete this.#e.value),this.#e.defaultValue!==void 0&&(this.#t.defaultValue=this.#e.defaultValue,delete this.#e.defaultValue)},class:"gids-input__control",name:this.name,disabled:this.disabled,readOnly:this.readOnly,required:this.required,onFocus:this._handleInputFocusAndBlur,onBlur:this._handleInputFocusAndBlur}),w("slot",{key:"ac04528c2c4f5606d507ac133b6509f6a9d5fe9e",name:"trailingAccessory"}),this.trailingLabel&&w("span",{key:"806996ab18f5c0f3e226af14703642646b4e72d8",class:"gids-input__label"},this.trailingLabel),w("slot",{key:"7efc92e65a26a6bdc0840648d1ec358767c8b7a5",name:"trailingIcon"}),this.status==="incomplete"&&w(ye,{key:"17ffd9ff869b013c125dfb5fef9d4c90dd357ec0",name:"warning",appearance:"filled",class:"gids-input__warning-icon"}),this.status==="complete"&&w(ye,{key:"246410eec89d9b2d485ee92c030ca406d6047242",name:"positive",appearance:"filled",class:"gids-input__positive-icon"}),this.loading&&w(Qt,{key:"ef4f55e9b7fd23738c36e40e71f60e7ad54b3e8f",size:"md",indeterminate:!0}))}get _el(){return this}},[260,"gids-input",{appearance:[513],defaultValue:[6657,"default-value"],disabled:[516],inputProps:[16],leadingLabel:[513,"leading-label"],trailingLabel:[513,"trailing-label"],loading:[516],name:[513],readOnly:[516,"readonly"],required:[516],status:[513],value:[6145]}]);function st(){typeof customElements<"u"&&["gids-input"].forEach((e=>{e==="gids-input"&&(customElements.get(e)||customElements.define(e,es))}))}st();const{getGidsDropdownClassNames:ts,getGidsChevronButtonControlClassNames:ss}=Ft,be="gids-dropdown-item--active",nt=qe(class extends Ee{constructor(e){super(),e!==!1&&this.__registerHost(),this.appearance="default",this.expanded=!1,this.filterValue="",this.isFilterEditing=!1,this.hasLeadingIcon=!1,this.hasLeadingAccessory=!1,this.activeIndex=-1,this.hasItemListener=!1,this.suppressNextMenuClickSelection=!1,this.hasDocumentListeners=!1,this.hasPendingControlRevalidation=!1,this.handleDropdownItemSelect=t=>{const{value:n,title:s,disabled:i,id:o,isPlaceholderItem:r}=t.detail;i||typeof n!="string"||(this.suppressNextMenuClickSelection=!0,queueMicrotask((()=>{this.suppressNextMenuClickSelection=!1})),this.applySelection({id:o,value:n,title:s,disabled:!1,originalEvent:t,isPlaceholderItem:r}))},this.handleMenuClick=t=>{if(this.suppressNextMenuClickSelection)return;const n=t.target;if(!(n instanceof Element))return;const s=n.closest(".gids-dropdown-item");if(!s||!this.hostElement.contains(s)||s.hasAttribute("disabled")||s.getAttribute("aria-disabled")==="true")return;const i=s instanceof HTMLButtonElement?s.value:s.getAttribute("value")||"";if(typeof i!="string"||i.length===0)return;const o=s instanceof HTMLButtonElement?s.id:s.getAttribute("id")??"";if(typeof o!="string"||o.length===0)return;const r=s.getAttribute("is-placeholder-item")??"";let a=s.textContent?.trim()??"";a.endsWith("checkmark")&&(a=a.slice(0,-9).trim()),this.applySelection({id:o,value:i,title:a.trim(),disabled:!1,originalEvent:t,isPlaceholderItem:!(!r||r!=="true")})},this.handleFilterInput=t=>{const n=t.target;this.filterValue=n?.value??"",this.isFilterEditing=!0,this.clearActive(),this.expanded||this.setExpandedState(!0,t),this.applyFilter()},this.handleInputKeyDown=t=>{if(!this.isInteractive())return;const n=t.key,s=n==="ArrowDown";if((s||n==="ArrowUp")&&!t.metaKey&&!t.ctrlKey)return t.preventDefault(),this.expanded||this.setExpandedState(!0,t),void this.moveActive(s?1:-1);if(n==="Home"&&this.expanded)return t.preventDefault(),void this.setActiveByIndex(0);if(n==="End"&&this.expanded)return t.preventDefault(),void this.setActiveByIndex(this.getVisibleEnabledItems().length-1);if(n==="Enter"){if(!this.expanded)return t.preventDefault(),this.setExpandedState(!0,t),void this.setActiveByIndex(0);this.selectActive()&&t.preventDefault()}},this.handleTriggerToggle=t=>{this.isInteractive()&&this.setExpandedState(!this.expanded,t)},this.handleInputFocusAndBlur=t=>{this.hostElement.dispatchEvent(new FocusEvent(t.type,{relatedTarget:t.relatedTarget}))},this.handleInputClickToggle=t=>{t.defaultPrevented||this.handleTriggerToggle(t)},this.handleChevronClickToggle=t=>{t.defaultPrevented||(t.stopPropagation(),this.handleTriggerToggle(t))},this.handleDocumentPointerDown=t=>{t.button!==2&&this.expanded&&((typeof t.composedPath=="function"?t.composedPath():[]).includes(this.hostElement)||this.hostElement.contains(t.target)||this.setExpandedState(!1,t))},this.handleDocumentKeyDown=t=>{if(!this.expanded)return;const n=t.key;if(n==="Escape"||n==="Esc")return t.preventDefault(),void this.setExpandedState(!1,t);n==="Tab"&&this.setExpandedState(!1,t)},this.handleFormReset=()=>{this.value=this.initialValue,this.selectedItemTitle=void 0,this.isFilterEditing=!1,this.filterValue="",this.setExpandedState(!1)}}handleExpandedChange(e){e&&!this.isInteractive()&&(this.expanded=!1)}handleInteractivityChange(){!this.isInteractive()&&this.expanded&&this.setExpandedState(!1)}connectedCallback(){this.initialValue=this.value,this.attachItemListener(),this.attachDocumentListeners(),this.attachFormListener()}disconnectedCallback(){this.detachItemListener(),this.detachDocumentListeners(),this.detachFormListener()}componentWillLoad(){this.checkSlots()}componentWillUpdate(){this.checkSlots()}checkSlots(){this.hasLeadingIcon=!!this.hostElement.querySelector('[slot="leadingIconDropdown"]'),this.hasLeadingAccessory=!!this.hostElement.querySelector('[slot="leadingAccessoryDropdown"]')}getItemElements(){return Array.from(this.hostElement.querySelectorAll(".gids-dropdown-item"))}getVisibleEnabledItems(){return this.getItemElements().filter((e=>e.style.display!=="none"&&!e.hasAttribute("disabled")&&e.getAttribute("aria-disabled")!=="true"))}attachItemListener(){this.hasItemListener||(this.hostElement.addEventListener("onPressDropdownItem",this.handleDropdownItemSelect),this.hasItemListener=!0)}detachItemListener(){this.hasItemListener&&(this.hostElement.removeEventListener("onPressDropdownItem",this.handleDropdownItemSelect),this.hasItemListener=!1)}applySelection(e){this.value=e.value,this.selectedItemTitle=typeof e.title=="string"?e.title:void 0,this.isFilterEditing=!1,this.filterValue="",this.clearActive(),this.emitNativeSelectionEvents(this.selectedItemTitle??""),this.setExpandedState(!1,this.coerceEvent(e.originalEvent)),this.onSelectionChange?.(e),this.hostElement.dispatchEvent(new CustomEvent("gidsDropdownChange",{bubbles:!0,composed:!0,detail:e}))}getInputControl(){return this.hostElement.querySelector(".gids-input__control")}emitNativeSelectionEvents(e){const t=this.getInputControl();t&&(t.value=e,t.dispatchEvent(new Event("input",{bubbles:!0,composed:!0})),t.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))}clearActive(){this.activeIndex=-1,this.getItemElements().forEach((e=>e.classList.remove(be))),this.setActiveDescendant(void 0)}setActiveByIndex(e){const t=this.getVisibleEnabledItems();if(this.getItemElements().forEach((i=>i.classList.remove(be))),t.length===0)return this.activeIndex=-1,void this.setActiveDescendant(void 0);const n=Math.max(0,Math.min(e,t.length-1)),s=t[n];if(!s)return this.activeIndex=-1,void this.setActiveDescendant(void 0);this.activeIndex=n,s.classList.add(be),s.scrollIntoView({block:"nearest"}),this.setActiveDescendant(s.id||void 0)}moveActive(e){const t=this.getVisibleEnabledItems();t.length!==0?this.setActiveByIndex(this.activeIndex===-1?e>0?0:t.length-1:(this.activeIndex+e+t.length)%t.length):this.clearActive()}selectActive(){const e=this.getVisibleEnabledItems();if(e.length===0)return!1;const t=this.activeIndex>=0?e[this.activeIndex]:e[0];return!!t&&(t.click(),this.getInputControl()?.focus(),!0)}applyFilter(){const e=this.filterValue.trim().toLowerCase();this.getItemElements().forEach((t=>{const n=(t.textContent??"").toLowerCase(),s=e.length===0||n.includes(e);t.style.display=s?"":"none"}))}setActiveDescendant(e){const t=this.getInputControl();t&&(e?t.setAttribute("aria-activedescendant",e):t.removeAttribute("aria-activedescendant"))}setExpandedState(e,t){const n=!!e;n&&!this.isInteractive()||this.expanded!==n&&(this.expanded=n,n||(this.isFilterEditing=!1,this.filterValue="",this.clearActive(),this.applyFilter(),this.syncInputDisplayValue()),this.hostElement.dispatchEvent(new CustomEvent("gidsDropdownToggle",{bubbles:!0,composed:!0,detail:{expanded:n,originalEvent:t}})))}syncInputDisplayValue(){const e=this.getInputControl();e&&e.value!==(this.selectedItemTitle??"")&&(e.value=this.selectedItemTitle??"")}attachDocumentListeners(){this.hasDocumentListeners||typeof document>"u"||(document.addEventListener("pointerdown",this.handleDocumentPointerDown),document.addEventListener("keydown",this.handleDocumentKeyDown),this.hasDocumentListeners=!0)}detachDocumentListeners(){this.hasDocumentListeners&&typeof document<"u"&&(document.removeEventListener("pointerdown",this.handleDocumentPointerDown),document.removeEventListener("keydown",this.handleDocumentKeyDown),this.hasDocumentListeners=!1)}attachFormListener(){const e=this.hostElement.closest("form");this.patternForm!==e&&(this.patternForm&&this.patternForm.removeEventListener("reset",this.handleFormReset),this.patternForm=e??void 0,this.patternForm?.addEventListener("reset",this.handleFormReset))}detachFormListener(){this.patternForm&&(this.patternForm.removeEventListener("reset",this.handleFormReset),this.patternForm=void 0)}get form(){return this.getInputControl()?.form??this.patternForm??null}get validity(){return this.getInputControl()?.validity??{}}get validationMessage(){return this.getInputControl()?.validationMessage??""}get willValidate(){return this.getInputControl()?.willValidate??!1}async checkValidity(){return this.getInputControl()?.checkValidity()??!0}async reportValidity(){return this.getInputControl()?.reportValidity()??!0}async setCustomValidity(e){return this.getInputControl()?.setCustomValidity(e)}isInteractive(){return!(this.disabled||this.readOnly)}coerceEvent(e){if(typeof Event<"u"&&e!==null)return e instanceof Event?e:void 0}scheduleControlRevalidation(){if(this.hasPendingControlRevalidation)return;this.hasPendingControlRevalidation=!0;const e=()=>{this.hasPendingControlRevalidation=!1,this.checkValidity()};typeof requestAnimationFrame!="function"?e():requestAnimationFrame(e)}getEnhancedInputProps(){const e={...this.inputProps??{}};typeof e.autoComplete=="string"&&e?.autoComplete?.trim?.()?.length!==0||(e.autoComplete="off");const t=e.onInput;e.onInput=i=>{t?.(i),this.handleFilterInput(i)};const n=e.onBlur;e.onBlur=i=>{n?.(i),this.scheduleControlRevalidation()};const s=e.onKeyDown;return e.onKeyDown=i=>{s?.(i),i.defaultPrevented||this.handleInputKeyDown(i)},e}render(){const e=this.expanded&&this.isInteractive(),t=ts({expanded:e}),n=this.getEnhancedInputProps(),s=typeof n.id=="string"?n.id:void 0,i=s?`${s}__menu`:void 0;n.role="combobox",n["aria-expanded"]=e?"true":"false",n["aria-haspopup"]="listbox",n["aria-autocomplete"]="list",i&&(n["aria-controls"]=i);const o=this.isFilterEditing?this.filterValue:this.selectedItemTitle??this.value??"",r=e?"true":"false",a=w("button",{key:"9e3dac49fc4d28756ee8a3cc6acf5b3e8fbd3946",class:ss({size:"lg"}),slot:"trailingAccessory",type:"button",onClick:this.handleChevronClickToggle,"aria-label":e?"Collapse options":"Expanded options","aria-expanded":r,"aria-haspopup":"listbox","aria-controls":i,disabled:this.disabled||this.readOnly,tabIndex:-1},w("span",{key:"bff0ebcd17028764e49a39510f7383cffcbcdb68",class:"gids-button__content"},w(ye,{key:"d606133c6a3ef63163f8bab07a76eecaefd513c1",name:"chevron-vertical",alt:""})));return w("div",{key:"90b78fe845b07971f2ce56ceca1bf5e06d948c16",class:t},w("gids-input",{key:"06c87d5843f19553d11b7f3de1e193f605d38c8f",appearance:this.appearance,loading:this.loading,disabled:this.disabled,readOnly:this.readOnly,required:this.required,value:o,name:this.name,inputProps:n,onClick:this.handleInputClickToggle,onFocus:this.handleInputFocusAndBlur,onBlur:this.handleInputFocusAndBlur},this.hasLeadingIcon&&w("slot",{key:"795e828bf59f60318522f9f6c5804969f4a4e898",name:"leadingIconDropdown",slot:"leadingIcon"}),this.hasLeadingAccessory&&w("slot",{key:"f94eadb4e2f8e05d9543c3ee6ce38cdf68401062",name:"leadingAccessoryDropdown",slot:"leadingAccessory"}),a),w("div",{key:"579971401473c61304064214df63b202a367446e",class:"gids-dropdown__menu",id:i,role:"listbox",onClick:this.handleMenuClick},w("slot",{key:"009f17ab13f9da11e2c3fb1464ae8ac3ec49ee39"})))}get hostElement(){return this}static get watchers(){return{expanded:[{handleExpandedChange:0}],disabled:[{handleInteractivityChange:0}],readOnly:[{handleInteractivityChange:0}]}}static get style(){return'@charset "UTF-8";.gids-dropdown{position:relative}.gids-dropdown__menu{position:absolute;inset-inline:0;top:calc(100% + var(--gids-gap-050));z-index:3;display:none;flex-direction:column;min-height:55px;max-height:20rem;overflow-x:hidden;overflow-y:auto;background-color:var(--gids-elevation-surface-overlay-default);box-shadow:var(--gids-elevation-shadow-overlay);border-radius:var(--gids-border-radius-lg)}.gids-dropdown__menu>*{flex-shrink:0}.gids-dropdown--expanded .gids-dropdown__menu{display:flex}.gids-dropdown__leading-icon{display:flex;align-items:center}.gids-dropdown__accessory{display:flex;align-items:center}'}},[260,"gids-dropdown",{appearance:[1],expanded:[1540],inputProps:[16],disabled:[516],readOnly:[516,"read-only"],loading:[516],value:[513],name:[1],onSelectionChange:[16],required:[4],filterValue:[32],isFilterEditing:[32],selectedItemTitle:[32],hasLeadingIcon:[32],hasLeadingAccessory:[32],checkValidity:[64],reportValidity:[64],setCustomValidity:[64]},void 0,{expanded:[{handleExpandedChange:0}],disabled:[{handleInteractivityChange:0}],readOnly:[{handleInteractivityChange:0}]}]);function it(){typeof customElements<"u"&&["gids-dropdown","gids-input"].forEach((e=>{switch(e){case"gids-dropdown":customElements.get(e)||customElements.define(e,nt);break;case"gids-input":customElements.get(e)||st()}}))}it();const ns=nt,is=it;$.GidsDropdown=ns,$.defineCustomElement=is,Object.defineProperty($,Symbol.toStringTag,{value:"Module"})}));
|
|
5
|
+
`);const y=this["s-cr"].parentElement;return(y.__childNodes?y.childNodes:(w=>{const b=[];for(let m=0;m<w.length;m++){const g=w[m]["s-nr"]||void 0;g&&g.isConnected&&b.push(g)}return b})(y.childNodes)).forEach((w=>{p===M(w)&&f.push(w)})),c?f.filter((w=>w.nodeType===1)):f}).bind(d);d.assignedElements=u(!0),d.assignedNodes=u(!1)})(o),a=e&&e.m&&e.m[r],a&&a.O===i.O&&e.S&&Te(e.S)),o},Te=e=>{C.i|=1;const t=e.closest(T.toLowerCase());if(t!=null){const r=Array.from(t.__childNodes||t.childNodes).find((i=>i["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const i of r?s.reverse():s)i["s-sh"]!=null&&(N(t,i,r??null),i["s-sh"]=void 0,K=!0)}C.i&=-2},Y=(e,t)=>{C.i|=1;const r=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let s=e;for(;s=s.nextSibling;)s&&s["s-sn"]===e["s-sn"]&&s["s-sh"]===T&&r.push(s)}for(let s=r.length-1;s>=0;s--){const i=r[s];i["s-hn"]!==T&&i["s-ol"]&&(N(z(i).parentNode,i,z(i)),i["s-ol"].remove(),i["s-ol"]=void 0,i["s-sh"]=void 0,K=!0),t&&Y(i,t)}C.i&=-2},je=(e,t,r,s,i,o)=>{let l,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===T&&(a=a.shadowRoot),r.O==="template"&&(a=a.content);i<=o;++i)s[i]&&(l=U(null,r,i),l&&(s[i].S=l,N(a,l,z(t))))},Fe=(e,t,r)=>{for(let s=t;s<=r;++s){const i=e[s];if(i){const o=i.S;Me(i),o&&(W=!0,o["s-ol"]?o["s-ol"].remove():Y(o,!0),o.remove())}}},J=(e,t,r=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:r?(r&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),z=e=>e&&e["s-ol"]||e,F=(e,t,r=!1)=>{const s=t.S=e.S,i=e.m,o=t.m,l=t.O,a=t.h;let n;a==null?(I=l==="svg"||l!=="foreignObject"&&I,l!=="slot"||B||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Te(t.S.parentElement)),ce(e,t,I),i!==null&&o!==null?((d,u,c,h,f=!1)=>{let p,y,w=0,b=0,m=0,g=0,E=u.length-1,v=u[0],S=u[E],_=h.length-1,A=h[0],L=h[_];const ot=c.O==="template"?d.content:d;for(;w<=E&&b<=_;)if(v==null)v=u[++w];else if(S==null)S=u[--E];else if(A==null)A=h[++b];else if(L==null)L=h[--_];else if(J(v,A,f))F(v,A,f),v=u[++w],A=h[++b];else if(J(S,L,f))F(S,L,f),S=u[--E],L=h[--_];else if(J(v,L,f))v.O!=="slot"&&L.O!=="slot"||Y(v.S.parentNode,!1),F(v,L,f),N(ot,v.S,S.S.nextSibling),v=u[++w],L=h[--_];else if(J(S,A,f))v.O!=="slot"&&L.O!=="slot"||Y(S.S.parentNode,!1),F(S,A,f),N(ot,S.S,v.S),S=u[--E],A=h[++b];else{for(m=-1,g=w;g<=E;++g)if(u[g]&&u[g].$!==null&&u[g].$===A.$){m=g;break}m>=0?(y=u[m],y.O!==A.O?p=U(u&&u[b],c,m):(F(y,A,f),u[m]=void 0,p=y.S),A=h[++b]):(p=U(u&&u[b],c,b),A=h[++b]),p&&N(z(v.S).parentNode,p,z(v.S))}w>E?je(d,h[_+1]==null?null:h[_+1].S,c,h,b,_):b>_&&Fe(u,w,E)})(s,i,t,o,r):o!==null?(e.h!==null&&(s.textContent=""),je(s,null,t,o,0,o.length-1)):!r&&i!==null&&Fe(i,0,i.length-1),I&&l==="svg"&&(I=!1)):(n=s["s-cr"])?n.parentNode.textContent=a:e.h!==a&&(s.data=a)},P=[],Ve=e=>{let t,r,s;const i=e.__childNodes||e.childNodes;for(const o of i){if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){r=t.parentNode.__childNodes||t.parentNode.childNodes;const l=o["s-sn"];for(s=r.length-1;s>=0;s--)if(t=r[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===o["s-hn"]||t["s-sh"]&&t["s-sh"]===o["s-hn"]))if(_e(t,l)){let a=P.find((n=>n.k===t));W=!0,t["s-sn"]=t["s-sn"]||l,a?(a.k["s-sh"]=o["s-hn"],a.N=o):(t["s-sh"]=o["s-hn"],P.push({N:o,k:t})),t["s-sr"]&&P.map((n=>{_e(n.k,t["s-sn"])&&(a=P.find((d=>d.k===t)),a&&!n.N&&(n.N=a.N))}))}else P.some((a=>a.k===t))||P.push({k:t})}o.nodeType===1&&Ve(o)}},Me=e=>{e.v&&e.v.ref&&de.push((()=>e.v.ref(null))),e.m&&e.m.map(Me)},wt=(e,t)=>{ue.push((()=>e(t)))},N=(e,t,r,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,r);const{slotNode:i}=(function(o,l){var a;if(!(l=l||((a=o["s-ol"])==null?void 0:a.parentElement)))return{slotNode:null,slotName:""};const n=o["s-sn"]=M(o)||"";return{slotNode:oe(ne(l,"childNodes"),l.tagName,n)[0],slotName:n}})(t);return i&&!s&&i.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,r):e?.insertBefore(t,r)},yt=(e,t,r=!1)=>{var s,i,o,l,a;const n=e.$hostElement$,d=e.o,u=e.M||H(null,null);var c;const h=(c=t)&&c.O===pt?t:k(null,null,t);if(T=n.tagName,d.C&&(h.v=h.v||{},d.C.forEach((([f,p])=>{h.v[p]=n[f]}))),r&&h.v)for(const f of Object.keys(h.v))n.hasAttribute(f)&&!["key","ref","style","class"].includes(f)&&(h.v[f]=n[f]);if(h.O=null,h.i|=4,e.M=h,h.S=u.S=n.shadowRoot||n,B=!(!(1&d.i)||128&d.i),le=n["s-cr"],W=!1,F(u,h,r),C.i|=1,K){Ve(h.S);for(const f of P){const p=f.k;if(!p["s-ol"]&&x.document){const y=x.document.createTextNode("");y["s-nr"]=p,N(p.parentNode,p["s-ol"]=y,p,r)}}for(const f of P){const p=f.k,y=f.N;if(p.nodeType===1&&r&&(p["s-ih"]=(s=p.hidden)!=null&&s),y){const w=y.parentNode;let b=y.nextSibling;if(b&&b.nodeType===1){let m=(i=p["s-ol"])==null?void 0:i.previousSibling;for(;m;){let g=(o=m["s-nr"])!=null?o:null;if(g&&g["s-sn"]===p["s-sn"]&&w===(g.__parentNode||g.parentNode)){for(g=g.nextSibling;g===p||g?.["s-sr"];)g=g?.nextSibling;if(!g||!g["s-nr"]){b=g;break}}m=m.previousSibling}}if((!b&&w!==(p.__parentNode||p.parentNode)||(p.__nextSibling||p.nextSibling)!==b)&&p!==b){if(N(w,p,b,r),p.nodeType===8&&p.nodeValue.startsWith("s-nt-")){const m=x.document.createTextNode(p.nodeValue.replace(/^s-nt-/,""));m["s-hn"]=p["s-hn"],m["s-sn"]=p["s-sn"],m["s-sh"]=p["s-sh"],m["s-sr"]=p["s-sr"],m["s-ol"]=p["s-ol"],m["s-ol"]["s-nr"]=m,N(p.parentNode,m,p,r),p.parentNode.removeChild(p)}p.nodeType===1&&p.tagName!=="SLOT-FB"&&(p.hidden=(l=p["s-ih"])!=null&&l)}p&&typeof y["s-rf"]=="function"&&y["s-rf"](y)}else p.nodeType===1&&(p.hidden=!0)}}if(W&&Ie(h.S),C.i&=-2,P.length=0,!B&&!(1&d.i)&&n["s-cr"]){const f=h.S.__childNodes||h.S.childNodes;for(const p of f)if(p["s-hn"]!==T&&!p["s-sh"]){if(r&&p["s-ih"]==null&&(p["s-ih"]=(a=p.hidden)!=null&&a),p.nodeType===1)p.hidden=!0;else if(p.nodeType===3&&p.nodeValue.trim()){const y=x.document.createComment("s-nt-"+p.nodeValue);y["s-sn"]=p["s-sn"],N(p.parentNode,y,p,r),p.parentNode.removeChild(p)}}}le=void 0,de.forEach((f=>f())),de.length=0,ue.forEach((f=>f())),ue.length=0},Be=(e,t)=>{if(t&&!e.A&&t["s-p"]){const r=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(r-1,1),s()})))}},he=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Be(e,e.R);const r=()=>kt(e,t);if(!t)return dt(r);queueMicrotask((()=>{r()}))},kt=(e,t)=>{const r=e.$hostElement$,s=r;if(!s)throw new Error(`Can't render component <${r.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 i;return i=R(s,t?"componentWillLoad":"componentWillUpdate",void 0,r),i=ze(i,(()=>R(s,"componentWillRender",void 0,r))),ze(i,(()=>St(e,s,t)))},ze=(e,t)=>xt(e)?e.then(t).catch((r=>{console.error(r),t()})):t(),xt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",St=async(e,t,r)=>{var s;const i=e.$hostElement$,o=i["s-rc"];r&&(l=>{const a=l.o,n=l.$hostElement$,d=a.i,u=((c,h)=>{var f,p,y;const w=Ae(h),b=G.get(w);if(!x.document)return w;if(c=c.nodeType===11?c:x.document,b)if(typeof b=="string"){let m,g=D.get(c=c.head||c);if(g||D.set(c,g=new Set),!g.has(w)){m=x.document.createElement("style"),m.textContent=b;const E=(f=C._)!=null?f:(function(){var v,S,_;return(_=(S=(v=x.document.head)==null?void 0:v.querySelector('meta[name="csp-nonce"]'))==null?void 0:S.getAttribute("content"))!=null?_:void 0})();if(E!=null&&m.setAttribute("nonce",E),!(1&h.i))if(c.nodeName==="HEAD"){const v=c.querySelectorAll("link[rel=preconnect]"),S=v.length>0?v[v.length-1].nextSibling:c.querySelector("style");c.insertBefore(m,S?.parentNode===c?S:null)}else if("host"in c)if(ee){const v=new((p=c.defaultView)!=null?p:c.ownerDocument.defaultView).CSSStyleSheet;v.replaceSync(b),te?c.adoptedStyleSheets.unshift(v):c.adoptedStyleSheets=[v,...c.adoptedStyleSheets]}else{const v=c.querySelector("style");v?v.textContent=b+v.textContent:c.prepend(m)}else c.append(m);1&h.i&&c.insertBefore(m,null),4&h.i&&(m.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),g&&g.add(w)}}else{let m=D.get(c);if(m||D.set(c,m=new Set),!m.has(w)){const g=(y=c.defaultView)!=null?y:c.ownerDocument.defaultView;let E;if(b.constructor===g.CSSStyleSheet)E=b;else{E=new g.CSSStyleSheet;for(let v=0;v<b.cssRules.length;v++)E.insertRule(b.cssRules[v].cssText,v)}te?c.adoptedStyleSheets.push(E):c.adoptedStyleSheets=[...c.adoptedStyleSheets,E],m.add(w)}}return w})(n.shadowRoot?n.shadowRoot:n.getRootNode(),a);10&d&&(n["s-sc"]=u,n.classList.add(u+"-h"))})(e),Et(e,t,i,r),o&&(o.map((l=>l())),i["s-rc"]=void 0);{const l=(s=i["s-p"])!=null?s:[],a=()=>Ct(e);l.length===0?a():(Promise.all(l).then(a).catch(a),e.i|=4,l.length=0)}},Et=(e,t,r,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,yt(e,t,s)}catch(i){q(i,e.$hostElement$)}return null},Ct=e=>{const t=e.$hostElement$,r=t,s=e.R;R(r,"componentDidRender",void 0,t),64&e.i?R(r,"componentDidUpdate",void 0,t):(e.i|=64,_t(t),R(r,"componentDidLoad",void 0,t),e.L(t),s||It()),e.A&&(e.A(),e.A=void 0),512&e.i&&ie((()=>he(e,!1))),e.i&=-517},It=()=>{ie((()=>mt(x,"appload",{detail:{namespace:"gids-core-web"}})))},R=(e,t,r,s)=>{if(e&&e[t])try{return e[t](r)}catch(i){q(i,s)}},_t=e=>e.classList.add("hydrated"),Re=(e,t,r,s)=>{const i=O(e);if(!i)return;const o=e,l=i.l.get(t),a=i.i,n=o;r=Oe(r,s.t[t][0],!!(64&s.i));const d=Number.isNaN(l)&&Number.isNaN(r);if(r!==l&&!d){if(i.l.set(t,r),s.F){const u=s.F[t];u&&u.map((c=>{try{const[[h,f]]=Object.entries(c);(128&a||1&f)&&(n?n[h](r,l,t):i.T.push((()=>{i.D[h](r,l,t)})))}catch(h){q(h,o)}}))}if(2&a){if(n.componentShouldUpdate&&n.componentShouldUpdate(r,l,t)===!1&&!(16&a))return;16&a||he(i,!1)}}},At=(e,t,r)=>{var s,i;const o=e.prototype;64&t.i&&1&r&<.forEach((l=>{const a=o[l];Object.defineProperty(o,l,{value(...n){var d;const u=O(this),c=this;c?typeof a=="function"&&a.call(c,...n):(d=u?.H)==null||d.then((h=>{const f=h[l];typeof f=="function"&&f.call(h,...n)}))}})}));{e.watchers&&!t.F&&(t.F=Le(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const l=Object.entries((s=t.t)!=null?s:{});l.map((([a,[n]])=>{if(31&n||32&n){const{get:d,set:u}=j(o,a)||{};d&&(t.t[a][0]|=2048),u&&(t.t[a][0]|=4096),Object.defineProperty(o,a,{get(){return d?d.apply(this):(c=a,O(this).l.get(c));var c},configurable:!0,enumerable:!0}),Object.defineProperty(o,a,{set(c){const h=O(this);if(h){if(u)return(32&n?this[a]:h.$hostElement$[a])===void 0&&h.l.get(a)&&(c=h.l.get(a)),u.apply(this,[Oe(c,n,!!(64&t.i))]),void Re(this,a,c=32&n?this[a]:h.$hostElement$[a],t);Re(this,a,c,t)}}})}}));{const a=new Map;o.attributeChangedCallback=function(n,d,u){C.jmp((()=>{var c;const h=a.get(n),f=O(this);if(this.hasOwnProperty(h),o.hasOwnProperty(h)&&typeof this[h]=="number"&&this[h]==u)return;if(h==null){const m=f?.i;if(f&&m&&!(8&m)&&u!==d){const g=this,E=(c=t.F)==null?void 0:c[n];E?.forEach((v=>{const[[S,_]]=Object.entries(v);g[S]!=null&&(128&m||1&_)&&g[S].call(g,u,d,n)}))}return}const p=l.find((([m])=>m===h)),y=p&&4&p[1][0],w=y&&u===null&&this[h]===void 0;y&&(u=u!==null&&u!=="false");const b=Object.getOwnPropertyDescriptor(o,h);w||u==this[h]||b.get&&!b.set||(this[h]=u)}))},e.observedAttributes=Array.from(new Set([...Object.keys((i=t.F)!=null?i:{}),...l.filter((([n,d])=>31&d[0])).map((([n,d])=>{var u;const c=d[1]||n;return a.set(c,n),512&d[0]&&((u=t.C)==null||u.push([n,c])),c}))]))}}return e},Ge=(e,t)=>{const r={i:t[0],p:t[1]};try{r.t=t[2],r.W=t[3],r.F=Le(e.F),r.P=e.P,r.U=e.U,r.C=[];const s=e.prototype.connectedCallback,i=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((o,l)=>{const a={i:0,$hostElement$:o,o:l,l:new Map,B:new Map};a.H=new Promise((d=>a.L=d)),o["s-p"]=[],o["s-rc"]=[];const n=a;o.__stencil__getHostRef=()=>n,512&l.i&&nt(o,a)})(this,r)},connectedCallback(){if(!this.__hasHostListenerAttached){const o=O(this);if(!o)return;He(this,o,r.W),this.__hasHostListenerAttached=!0}(o=>{if(!(1&C.i)){const l=O(o);if(!l)return;const a=l.o;if(1&l.i)He(o,l,a.W),l?.D||l?.H&&l.H.then((()=>{}));else{l.i|=1,12&a.i&&(n=>{if(!x.document)return;const d=n["s-cr"]=x.document.createComment("");d["s-cn"]=!0,N(n,d,n.firstChild)})(o);{let n=o;for(;n=n.parentNode||n.host;)if(n["s-p"]){Be(l,l.R=n);break}}a.t&&Object.entries(a.t).map((([n,[d]])=>{if(31&d&&Object.prototype.hasOwnProperty.call(o,n)){const u=o[n];delete o[n],o[n]=u}})),(async(n,d,u)=>{let c;try{if(!(32&d.i)&&(d.i|=32,c=n.constructor,customElements.whenDefined(n.localName).then((()=>d.i|=128)),c&&c.style)){let p;typeof c.style=="string"&&(p=c.style);const y=Ae(u);G.has(y)||((w,b,m)=>{let g=G.get(w);ee&&m?(g=g||new CSSStyleSheet,typeof g=="string"?g=b:g.replaceSync(b)):g=b,G.set(w,g)})(y,p,!!(1&u.i))}const h=d.R,f=()=>he(d,!0);h&&h["s-rc"]?h["s-rc"].push(f):f()}catch(h){q(h,n),d.A&&(d.A(),d.A=void 0),d.L&&d.L(n)}})(o,l,a)}}})(this),s&&s.call(this)},disconnectedCallback(){(async o=>{if(!(1&C.i)){const l=O(o);l?.V&&(l.V.map((a=>a())),l.V=void 0)}D.has(o)&&D.delete(o),o.shadowRoot&&D.has(o.shadowRoot)&&D.delete(o.shadowRoot)})(this),i&&i.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${r.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else ut.call(this,r)}}),Object.defineProperty(e,"is",{value:r.p,configurable:!0}),At(e,r,3)}catch(s){return q(s),e}},Nt=(e,t)=>t,He=(e,t,r)=>{r&&x.document&&r.map((([s,i,o])=>{const l=Ot(x.document,e,s),a=Lt(t,o),n=Pt(s);C.ael(l,i,a,n),(t.V=t.V||[]).push((()=>C.rel(l,i,a,n)))}))},Lt=(e,t)=>r=>{try{e.$hostElement$[t](r)}catch(s){q(s,e.$hostElement$)}},Ot=(e,t,r)=>8&r?x:t,Pt=e=>at?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function os(e){return e}function We(e){var t,r,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(r=We(e[t]))&&(s&&(s+=" "),s+=r)}else for(r in e)e[r]&&(s&&(s+=" "),s+=r);return s}function X(){for(var e,t,r=0,s="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=We(e))&&(s&&(s+=" "),s+=t);return s}const Z=64,Ke=10,Ue=Z/2-Ke/2,Dt=Z/2,pe=2*Math.PI*Ue,$t=`0 0 ${Z} ${Z}`,qt=Object.freeze(Object.defineProperty({__proto__:null,calculateStrokeDasharray:(e=0,t)=>{const r=typeof t=="number"&&t>0?t:1,i=Math.max(0,Math.min(r,e))/r*100,o=(pe*i/100).toFixed(2),l=(pe-parseFloat(o)).toFixed(2);return`${o} ${l}`},centerPosition:Dt,circumference:pe,radius:Ue,thickness:Ke,viewBox:$t},Symbol.toStringTag,{value:"Module"})),Tt=Object.freeze(Object.defineProperty({__proto__:null,getGidsChevronButtonControlClassNames:({size:e},t)=>X("gids-chevron-button-control",{"gids-chevron-button-control--small":e==="sm","gids-chevron-button-control--large":e==="lg"},t),getGidsDropdownClassNames:({expanded:e},t)=>X("gids-dropdown",{"gids-dropdown--expanded":e},t)},Symbol.toStringTag,{value:"Module"})),jt=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>X("gids-icon",{"gids-icon--xs":e==="xs","gids-icon--sm":e==="sm","gids-icon--md":e==="md","gids-icon--lg":e==="lg"},t)},Symbol.toStringTag,{value:"Module"})),Ft=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerControlClassNames:({size:e,indeterminate:t,value:r},s)=>X("gids-spinner-control",{"gids-spinner-control--xs":e==="xs","gids-spinner-control--sm":e==="sm","gids-spinner-control--lg":e==="lg","gids-spinner-control--xl":e==="xl","gids-spinner-control--2xl":e==="2xl","gids-spinner-control--determinate":t===!1},r,s)},Symbol.toStringTag,{value:"Module"})),fe=Symbol("defaultPath"),Ye=Symbol("pathSet"),ge="gids-asset-paths-set";class Vt extends EventTarget{#t=new Map;constructor(){super()}#e(t,r){this.#t.set(t,r)}#s(t){return this.#t.get(t)??null}#r=()=>{this.dispatchEvent(new Event(ge))};haveAssetPathsBeenSet(){return this.#s(Ye)!==null}setAssetPaths(t,r){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(fe,t);else{for(const s in t)this.#e(s,t[s]);r&&this.#e(fe,r)}this.#e(Ye,"true"),setTimeout(this.#r,0)}}getAssetFilePath(t){const r=this.#s(t);if(r===null){const s=this.#s(fe);if(s!==null)return`${s}${s.endsWith("/")?"":"/"}${t}`}return r}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(ge,t,{once:!0}),()=>{this.removeEventListener(ge,t)}}}const me=Symbol.for("GIDS"),Mt=()=>(globalThis[me]===void 0&&(globalThis[me]={assetPaths:{}}),globalThis[me]),Bt=e=>{const t=Mt().assetPaths;return t[e]===void 0&&(t[e]=new Vt),t[e]};function be(){return Bt("@ganpatiinfo/gids-web-shared")}function zt(){return be().haveAssetPathsBeenSet()}function Je(e){return be().getAssetFilePath(e)}function Rt(e){return be().onAssetPathsSet(e)}let Gt=0;const Ht=(e,t="gids")=>e||`${t}-${Gt++}`,Wt=e=>e.type==="hidden",Kt=e=>{if(!(e instanceof HTMLElement))return!1;const{nodeName:t}=e;return!!(["BUTTON","DETAILS","EMBED","IFRAME","KEYGEN","LABEL","SELECT","TEXTAREA"].includes(t)||t==="A"&&e.hasAttribute("href")||e instanceof HTMLInputElement&&!Wt(e)||["AUDIO","VIDEO"].includes(t)&&e.hasAttribute("controls")||["IMG","OBJECT"].includes(t)&&e.hasAttribute("usemap")||e.hasAttribute("tabindex")&&e.tabIndex>-1)},Xe={"icons-other.svg":["accessibility","add","remove","announcement","approval","archive","audio","backward","banking","battery","bluetooth","bookmark","bulb","calendar","camera","card","cart","chart","chat","cloud","code","compass","desktop","email","emergency","exchange","finance","fingerprint","flag","folder","forward","gift","globe","goals","happy","hashtag","headphones","history","image","insurance","investment","in-progress","key","link","list","location","lock","map","maximise","microphone","minimise","mobile","moon","network","neutral","ai","new","draft","pending","new-chat","pause","percent","placeholder","play","power","rain","refresh","repeat","sad","save","savings","shield","shuffle","side-navigation","snow","speaker","stop","sun","tablet","temperature","thumbs-down","thumbs-up","travel","trend-down","trend-up","unlock","upset","verified","very-happy","video","volume-down","volume-max","volume-min","volume-mute","volume-up","wallet","wealth","wi-fi","wind","acorn","address-book","address-book-tabs","air-traffic-control","airplane","airplane-in-flight","airplane-landing","airplane-takeoff","airplane-taxiing","airplane-tilt","airplay","alarm","alien","align-bottom","align-bottom-simple","align-center-horizontal","align-center-horizontal-simple","align-center-vertical","align-center-vertical-simple","align-left","align-left-simple","align-right","align-right-simple","align-top","align-top-simple","amazon-logo","ambulance","anchor","anchor-simple","android-logo","angle","angular-logo","aperture","app-store-logo","app-window","apple-logo","apple-podcasts-logo","approximate-equals","armchair","arrow-arc-left","arrow-arc-right","arrow-bend-double-up-left","arrow-bend-double-up-right","arrow-bend-down-left","arrow-bend-down-right","arrow-bend-left-down","arrow-bend-left-up","arrow-bend-right-down","arrow-bend-right-up","arrow-bend-up-left","arrow-bend-up-right","arrow-circle-down","arrow-circle-down-left","arrow-circle-down-right","arrow-circle-left","arrow-circle-right","arrow-circle-up","arrow-circle-up-left","arrow-circle-up-right","arrow-clockwise","arrow-counter-clockwise","arrow-down-left","arrow-down-right","arrow-elbow-down-left","arrow-elbow-down-right","arrow-elbow-left","arrow-elbow-left-down","arrow-elbow-left-up","arrow-elbow-right","arrow-elbow-right-down","arrow-elbow-right-up","arrow-elbow-up-left","arrow-elbow-up-right","arrow-fat-down","arrow-fat-left","arrow-fat-line-down","arrow-fat-line-left","arrow-fat-line-right","arrow-fat-line-up","arrow-fat-lines-down","arrow-fat-lines-left","arrow-fat-lines-right","arrow-fat-lines-up","arrow-fat-right","arrow-fat-up","arrow-line-down","arrow-line-down-left","arrow-line-down-right","arrow-line-left","arrow-line-right","arrow-line-up","arrow-line-up-left","arrow-line-up-right","arrow-square-down","arrow-square-down-left","arrow-square-down-right","arrow-square-in","arrow-square-left","arrow-square-out","arrow-square-right","arrow-square-up","arrow-square-up-left","arrow-square-up-right","arrow-u-down-left","arrow-u-down-right","arrow-u-left-down","arrow-u-left-up","arrow-u-right-down","arrow-u-right-up","arrow-u-up-left","arrow-u-up-right","arrow-up-left","arrow-up-right","arrows-clockwise","arrows-counter-clockwise","arrows-down-up","arrows-horizontal","arrows-in","arrows-in-cardinal","arrows-in-line-horizontal","arrows-in-line-vertical","arrows-in-simple","arrows-left-right","arrows-merge","arrows-out","arrows-out-cardinal","arrows-out-line-horizontal","arrows-out-line-vertical","arrows-out-simple","arrows-split","arrows-vertical","article","article-medium","article-ny-times","asclepius","asterisk","asterisk-simple","at","atom","avocado","axe","baby","baby-carriage","backpack","backspace","bag","bag-simple","balloon","bandaids","bank","barbell","barcode","barn","barricade","baseball","baseball-cap","baseball-helmet","basket","basketball","bathtub","battery-charging","battery-charging-vertical","battery-empty","battery-full","battery-high","battery-low","battery-medium","battery-plus","battery-plus-vertical","battery-vertical-empty","battery-vertical-full","battery-vertical-high","battery-vertical-low","battery-vertical-medium","battery-warning","battery-warning-vertical","beach-ball","beanie","bed","beer-bottle","beer-stein","behance-logo","bell","bell-ringing","bell-simple","bell-simple-ringing","bell-simple-slash","bell-simple-z","bell-slash","bell-z","belt","bezier-curve","bicycle","binary","binoculars","biohazard","bird","blueprint","bluetooth-connected","bluetooth-slash","bluetooth-x","boat","bomb","bone","book","book-bookmark","book-open","book-open-text","book-open-user","bookmark-simple","bookmarks","bookmarks-simple","books","boot","boules","bounding-box","bowl-food","bowl-steam","bowling-ball","box-arrow-down","box-arrow-up","boxing-glove","brackets-angle","brackets-curly","brackets-round","brackets-square","brain","brandy","bread","bridge","briefcase","briefcase-metal","broadcast","broom","browser","browsers","bug","bug-beetle","bug-droid","building","building-apartment","building-office","buildings","bulldozer","bus","butterfly","cable-car","cactus","cake","calculator","calendar-blank","calendar-check","calendar-dot","calendar-dots","calendar-heart","calendar-minus","calendar-plus","calendar-slash","calendar-star","calendar-x","call-bell","camera-plus","camera-rotate","camera-slash","campfire","car","car-battery","car-profile","car-simple","cardholder","cards","cards-three","caret-circle-double-down","caret-circle-double-left","caret-circle-double-right","caret-circle-double-up","caret-circle-down","caret-circle-left","caret-circle-right","caret-circle-up","caret-circle-up-down","caret-double-down","caret-double-left","caret-double-right","caret-double-up","caret-down","caret-left","caret-line-down","caret-line-left","caret-line-right","caret-line-up","caret-right","caret-up","caret-up-down","carrot","cash-register","cassette-tape","castle-turret","cat","cell-signal-full","cell-signal-high","cell-signal-low","cell-signal-medium","cell-signal-none","cell-signal-slash","cell-signal-x","cell-tower","certificate","chair","chalkboard","chalkboard-simple","chalkboard-teacher","champagne","charging-station","chart-bar","chart-bar-horizontal","chart-donut","chart-line","chart-line-down","chart-line-up","chart-pie","chart-pie-slice","chart-polar","chart-scatter","chat-centered","chat-centered-dots","chat-centered-slash","chat-centered-text","chat-circle","chat-circle-dots","chat-circle-slash","chat-circle-text","chat-dots","chat-slash","chat-teardrop","chat-teardrop-dots","chat-teardrop-slash","chat-teardrop-text","chat-text","chats","chats-circle","chats-teardrop","check","check-circle","check-fat","check-square","check-square-offset","checkerboard","checks","cheers","cheese","chef-hat","cherries","church","cigarette","cigarette-slash","circle","circle-dashed","circle-half","circle-half-tilt","circle-notch","circles-four","circles-three","circles-three-plus","circuitry","city","clipboard","clipboard-text","clock","clock-afternoon","clock-clockwise","clock-countdown","clock-counter-clockwise","clock-user","closed-captioning","cloud-arrow-down","cloud-arrow-up","cloud-check","cloud-fog","cloud-lightning","cloud-moon","cloud-rain","cloud-slash","cloud-snow","cloud-sun","cloud-warning","cloud-x","clover","club","coat-hanger","coda-logo","code-block","code-simple","codepen-logo","codesandbox-logo","coffee","coffee-bean","coin","coin-vertical","coins","columns","columns-plus-left","columns-plus-right","command","compass-rose","compass-tool","computer-tower","confetti","contactless-payment","control","cookie","cooking-pot","copy-simple","copyleft","copyright","corners-in","corners-out","couch","court-basketball","cow","cowboy-hat","cpu","crane","crane-tower","credit-card","cricket","crop","crosshair","crosshair-simple","crown","crown-cross","crown-simple","cube","cube-focus","cube-transparent","currency-btc","currency-circle-dollar","currency-cny","currency-dollar","currency-dollar-simple","currency-eth","currency-eur","currency-gbp","currency-inr","currency-jpy","currency-krw","currency-kzt","currency-ngn","currency-rub","cursor","cursor-click","cursor-text","cylinder","database","desk","desktop-tower","detective","dev-to-logo","device-mobile","device-mobile-camera","device-mobile-slash","device-mobile-speaker","device-rotate","device-tablet","device-tablet-camera","device-tablet-speaker","devices","diamond","diamonds-four","dice-five","dice-four","dice-one","dice-six","dice-three","dice-two","disc","disco-ball","discord-logo","divide","dna","dog","door","door-open","dot","dot-outline","dots-nine","dots-six","dots-six-vertical","dots-three","dots-three-circle","dots-three-circle-vertical","dots-three-outline","dots-three-outline-vertical","dots-three-vertical","download-simple","dress","dresser","dribbble-logo","drone","drop","drop-half","drop-half-bottom","drop-simple","drop-slash","dropbox-logo","ear","ear-slash","egg","egg-crack","eject","eject-simple","elevator","empty","engine","envelope","envelope-open","envelope-simple","envelope-simple-open","equalizer","equals","eraser","escalator-down","escalator-up","exam","exclamation-mark","exclude","exclude-square","export","eye-closed","eye-slash","eyedropper","eyedropper-sample","eyeglasses","eyes","face-mask","facebook-logo","factory","faders","faders-horizontal","fallout-shelter","fan","farm","fast-forward","fast-forward-circle","feather","fediverse-logo","figma-logo","file","file-archive","file-arrow-down","file-arrow-up","file-audio","file-c","file-c-sharp","file-cloud","file-code","file-cpp","file-css","file-csv","file-dashed","file-doc","file-html","file-image","file-ini","file-jpg","file-js","file-jsx","file-lock","file-magnifying-glass","file-md","file-minus","file-pdf","file-plus","file-png","file-ppt","file-py","file-rs","file-sql","file-svg","file-text","file-ts","file-tsx","file-txt","file-video","file-vue","file-x","file-xls","file-zip","files","film-reel","film-script","film-slate","film-strip","fingerprint-simple","finn-the-human","fire","fire-extinguisher","fire-simple","fire-truck","first-aid","first-aid-kit","fish","fish-simple","flag-banner","flag-banner-fold","flag-checkered","flag-pennant","flame","flashlight","flask","flip-horizontal","flip-vertical","floppy-disk","floppy-disk-back","flow-arrow","flower","flower-lotus","flower-tulip","flying-saucer","folder-dashed","folder-lock","folder-minus","folder-open","folder-plus","folder-simple","folder-simple-dashed","folder-simple-lock","folder-simple-minus","folder-simple-plus","folder-simple-star","folder-simple-user","folder-star","folder-user","folders","football","football-helmet","footprints","fork-knife","four-k","frame-corners","framer-logo","function","funnel","funnel-simple","funnel-simple-x","funnel-x","game-controller","garage","gas-can","gas-pump","gauge","gavel","gear","gear-fine","gear-six","gender-female","gender-intersex","gender-male","gender-neuter","gender-nonbinary","gender-transgender","ghost","gif","git-branch","git-commit","git-diff","git-fork","git-merge","git-pull-request","github-logo","gitlab-logo","gitlab-logo-simple","globe-hemisphere-east","globe-hemisphere-west","globe-simple","globe-simple-x","globe-stand","globe-x","goggles","golf","goodreads-logo","google-cardboard-logo","google-chrome-logo","google-drive-logo","google-logo","google-photos-logo","google-play-logo","google-podcasts-logo","gps","gps-fix","gps-slash","gradient","graduation-cap","grains","grains-slash","graph","graphics-card","greater-than","greater-than-or-equal","grid-four","grid-nine","guitar","hair-dryer","hamburger","hammer","hand","hand-arrow-down","hand-arrow-up","hand-coins","hand-deposit","hand-eye","hand-fist","hand-grabbing","hand-heart","hand-palm","hand-peace","hand-pointing","hand-soap","hand-swipe-left","hand-swipe-right","hand-tap","hand-waving","hand-withdraw","handbag","handbag-simple","hands-clapping","hands-praying","handshake","hard-drive","hard-drives","hard-hat","hash","hash-straight","head-circuit","headlights","headset","heart","heart-break","heart-half","heart-straight","heart-straight-break","heartbeat","hexagon","high-definition","high-heel","highlighter","highlighter-circle","hockey","hoodie","horse","hospital","hourglass","hourglass-high","hourglass-low","hourglass-medium","hourglass-simple","hourglass-simple-high","hourglass-simple-low","hourglass-simple-medium","house","house-line","house-simple","hurricane","ice-cream","identification-badge","identification-card","image-broken","image-square","images","images-square","infinity","info","instagram-logo","intersect","intersect-square","intersect-three","intersection","invoice","island","jar","jar-label","jeep","joystick","kanban","key-return","keyboard","keyhole","knife","ladder","ladder-simple","lamp","lamp-pendant","laptop","lasso","lastfm-logo","layout","leaf","lectern","lego","lego-smiley","less-than","less-than-or-equal","letter-circle-h","letter-circle-p","letter-circle-v","lifebuoy","lightbulb","lightbulb-filament","lighthouse","lightning","lightning-a","lightning-slash","line-segment","line-segments","line-vertical","link-break","link-simple","link-simple-break","link-simple-horizontal","link-simple-horizontal-break","linkedin-logo","linktree-logo","linux-logo","list-bullets","list-checks","list-dashes","list-heart","list-magnifying-glass","list-numbers","list-plus","list-star","lock-key","lock-key-open","lock-laminated","lock-laminated-open","lock-open","lock-simple","lock-simple-open","lockers","log","magic-wand","magnet","magnet-straight","magnifying-glass","magnifying-glass-minus","magnifying-glass-plus","mailbox","map-pin","map-pin-area","map-pin-line","map-pin-plus","map-pin-simple","map-pin-simple-area","map-pin-simple-line","map-trifold","markdown-logo","marker-circle","martini","mask-happy","mask-sad","mastodon-logo","math-operations","matrix-logo","medal","medal-military","medium-logo","megaphone","megaphone-simple","member-of","memory","messenger-logo","meta-logo","meteor","metronome","microphone-slash","microphone-stage","microscope","microsoft-excel-logo","microsoft-outlook-logo","microsoft-powerpoint-logo","microsoft-teams-logo","microsoft-word-logo","minus-circle","minus-square","money","money-wavy","monitor","monitor-arrow-up","monitor-play","moon-stars","moped","moped-front","mosque","motorcycle","mountains","mouse","mouse-left-click","mouse-middle-click","mouse-right-click","mouse-scroll","mouse-simple","music-note","music-note-simple","music-notes","music-notes-minus","music-notes-plus","music-notes-simple","navigation-arrow","needle","network-slash","network-x","newspaper","newspaper-clipping","not-equals","not-member-of","not-subset-of","not-superset-of","notches","note","note-blank","note-pencil","notebook","notepad","notification","notion-logo","nuclear-plant","number-circle-eight","number-circle-five","number-circle-four","number-circle-nine","number-circle-one","number-circle-seven","number-circle-six","number-circle-three","number-circle-two","number-circle-zero","number-eight","number-five","number-four","number-nine","number-one","number-seven","number-six","number-square-eight","number-square-five","number-square-four","number-square-nine","number-square-one","number-square-seven","number-square-six","number-square-three","number-square-two","number-square-zero","number-three","number-two","number-zero","numpad","nut","ny-times-logo","octagon","office-chair","onigiri","open-ai-logo","option","orange","orange-slice","oven","package","paint-brush","paint-brush-broad","paint-brush-household","paint-bucket","paint-roller","palette","panorama","pants","paper-plane","paper-plane-right","paper-plane-tilt","paperclip","paperclip-horizontal","parachute","paragraph","parallelogram","park","password","path","patreon-logo","pause-circle","paw-print","paypal-logo","peace","pen","pen-nib","pen-nib-straight","pencil","pencil-circle","pencil-line","pencil-ruler","pencil-simple","pencil-simple-line","pencil-simple-slash","pencil-slash","pentagon","pentagram","pepper","person","person-arms-spread","person-simple","person-simple-bike","person-simple-circle","person-simple-hike","person-simple-run","person-simple-ski","person-simple-snowboard","person-simple-swim","person-simple-tai-chi","person-simple-throw","person-simple-walk","perspective","phone-call","phone-disconnect","phone-incoming","phone-list","phone-outgoing","phone-pause","phone-plus","phone-slash","phone-transfer","phone-x","phosphor-logo","pi","piano-keys","picnic-table","picture-in-picture","piggy-bank","pill","ping-pong","pint-glass","pinterest-logo","pinwheel","pipe","pipe-wrench","pix-logo","pizza","planet","plant","play-circle","play-pause","playlist","plug","plug-charging","plugs","plugs-connected","plus-circle","plus-minus","plus-square","poker-chip","police-car","polygon","popcorn","popsicle","potted-plant","prescription","presentation","presentation-chart","prohibit","prohibit-inset","projector-screen","projector-screen-chart","pulse","push-pin","push-pin-simple","push-pin-simple-slash","push-pin-slash","puzzle-piece","qr-code","question-mark","queue","quotes","rabbit","racquet","radical","radio","radio-button","radioactive","rainbow","rainbow-cloud","ranking","read-cv-logo","receipt","receipt-x","record","rectangle","rectangle-dashed","recycle","reddit-logo","repeat-once","replit-logo","resize","rewind","rewind-circle","road-horizon","robot","rocket","rocket-launch","rows","rows-plus-bottom","rows-plus-top","rss","rss-simple","rug","ruler","sailboat","scales","scan","scan-smiley","scissors","scooter","screencast","screwdriver","scribble","scribble-loop","scroll","seal","seal-check","seal-percent","seal-question","seal-warning","seat","seatbelt","security-camera","selection","selection-all","selection-background","selection-foreground","selection-inverse","selection-plus","selection-slash","shapes","share-fat","share-network","shield-check","shield-checkered","shield-chevron","shield-plus","shield-slash","shield-star","shield-warning","shipping-container","shirt-folded","shooting-star","shopping-bag","shopping-bag-open","shopping-cart","shopping-cart-simple","shovel","shower","shrimp","shuffle-angular","shuffle-simple","sidebar","sidebar-simple","sigma","sign-in","sign-out","signature","signpost","sim-card","siren","sketch-logo","skip-back","skip-back-circle","skip-forward","skip-forward-circle","skull","skype-logo","slack-logo","sliders","sliders-horizontal","slideshow","smiley","smiley-angry","smiley-blank","smiley-meh","smiley-melting","smiley-nervous","smiley-sad","smiley-sticker","smiley-wink","smiley-x-eyes","snapchat-logo","sneaker","sneaker-move","snowflake","soccer-ball","sock","solar-panel","solar-roof","sort-ascending","sort-descending","soundcloud-logo","spade","sparkle","speaker-hifi","speaker-high","speaker-low","speaker-none","speaker-simple-high","speaker-simple-low","speaker-simple-none","speaker-simple-slash","speaker-simple-x","speaker-slash","speaker-x","speedometer","sphere","spinner","spinner-ball","spinner-gap","spiral","split-horizontal","split-vertical","spotify-logo","spray-bottle","square","square-half","square-half-bottom","square-logo","square-split-horizontal","square-split-vertical","squares-four","stack","stack-minus","stack-overflow-logo","stack-plus","stack-simple","stairs","stamp","standard-definition","star-and-crescent","star-four","star-half","star-of-david","steam-logo","steering-wheel","steps","stethoscope","sticker","stool","stop-circle","storefront","strategy","stripe-logo","student","subset-of","subset-proper-of","subtitles","subtitles-slash","subtract","subtract-square","subway","suitcase","suitcase-rolling","suitcase-simple","sun-dim","sun-horizon","sunglasses","superset-of","superset-proper-of","swap","swatches","swimming-pool","sword","synagogue","syringe","t-shirt","table","tabs","tag","tag-chevron","tag-simple","target","taxi","tea-bag","telegram-logo","television","television-simple","tennis-ball","tent","terminal","terminal-window","test-tube","text-a-underline","text-aa","text-align-center","text-align-justify","text-align-left","text-align-right","text-b","text-columns","text-h","text-h-five","text-h-four","text-h-one","text-h-six","text-h-three","text-h-two","text-indent","text-italic","text-outdent","text-strikethrough","text-subscript","text-superscript","text-t","text-t-slash","text-underline","textbox","thermometer","thermometer-cold","thermometer-hot","thermometer-simple","threads-logo","three-d","ticket","tidal-logo","tiktok-logo","tilde","timer","tip-jar","tipi","tire","toggle-left","toggle-right","toilet","toilet-paper","toolbox","tooth","tornado","tote","tote-simple","towel","tractor","trademark","trademark-registered","traffic-cone","traffic-sign","traffic-signal","train","train-regional","train-simple","tram","translate","trash","trash-simple","tray","tray-arrow-down","tray-arrow-up","treasure-chest","tree","tree-evergreen","tree-palm","tree-structure","tree-view","triangle","triangle-dashed","trolley","trolley-suitcase","trophy","truck","truck-trailer","tumblr-logo","twitch-logo","twitter-logo","umbrella","umbrella-simple","union","unite","unite-square","upload-simple","usb","user-check","user-circle","user-circle-check","user-circle-dashed","user-circle-gear","user-circle-minus","user-circle-plus","user-focus","user-gear","user-list","user-minus","user-plus","user-rectangle","user-sound","user-square","user-switch","users-four","users-three","van","vault","vector-three","vector-two","vibrate","video-camera","video-camera-slash","video-conference","vignette","vinyl-record","virtual-reality","virus","visor","voicemail","volleyball","wall","warehouse","warning-circle","warning-diamond","warning-octagon","washing-machine","watch","wave-sawtooth","wave-sine","wave-square","wave-triangle","waveform","waveform-slash","waves","webcam","webcam-slash","webhooks-logo","wechat-logo","whatsapp-logo","wheelchair","wheelchair-motion","wifi-high","wifi-low","wifi-medium","wifi-none","wifi-slash","wifi-x","windmill","windows-logo","wine","wrench","x","x-circle","x-logo","x-square","yarn","yin-yang","youtube-logo"],"icons-core.svg":["arrow-down","arrow-left","arrow-right","arrow-up","attachment","checkmark","chevron-down","chevron-horizontal","chevron-left","chevron-right","chevron-up","chevron-vertical","copy","cross","danger","dashboard","delete","document","download","drag","edit","external","eye","filter","grid","hide","home","information","log-in","log-out","menu","minus","more","notifications","options","phone","plus","positive","printer","question","search","select","select-all","send","settings","share","star","time","upload","user","users","warning"]},Ze=new Map;for(const e in Xe)for(const t of Xe[e])Ze.set(t,e);function Ut(e){return Ze.get(e)}function Qe(e,t="regular",r){const s=Ut(e);let i=s??"";return r&&s&&(i=r(s)??s),`${i}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:Yt}=jt,ve=({name:e,size:t,appearance:r,alt:s,class:i,titleId:o,src:l,...a})=>{const n=Ht(o);let d=l;return d===void 0&&zt()&&(d=Qe(e,r,Je)),k("svg",{ref:u=>{d===void 0&&Rt((()=>{(function(c,h,f){if(!c)return;const p=document.createElementNS("http://www.w3.org/2000/svg","use");p.setAttribute("href",Qe(h,f,Je)),c.appendChild(p)})(u,e,r)}))},width:"16",height:"16",class:Yt({size:t},i),role:"img","aria-hidden":s===""?"true":void 0,"aria-labelledby":s===""?void 0:n,...a},s!==""&&k("title",{id:n},s||e),d!==void 0?k("use",{href:d}):null)},{getGidsSpinnerControlClassNames:Jt}=Ft,{calculateStrokeDasharray:Xt,thickness:et,radius:tt,centerPosition:Q,viewBox:Zt}=qt,Qt=({size:e,indeterminate:t,value:r,max:s,...i})=>{let o;return t||(o={strokeDashArray:Xt(r,s||0),strokeDashoffset:"0"}),k("svg",{class:Jt({size:e,indeterminate:t,value:r}),viewBox:Zt,...i},k("circle",{class:"gids-spinner-control__track",cx:Q,cy:Q,r:tt,"stroke-width":et}),k("circle",{style:o,class:"gids-spinner-control__progress",cx:Q,cy:Q,r:tt,"stroke-width":et}))},es=Ge(class extends xe{constructor(e){super(),e!==!1&&this.__registerHost(),this.#e={},this._focusInput=t=>{const r=t.target;r===this.#t||this._isWithinInteractiveElement(r)||this.#t?.focus()},this._handleInputFocusAndBlur=t=>{this._el.dispatchEvent(new FocusEvent(t.type,{relatedTarget:t.relatedTarget}))}}get defaultValue(){return this.#t?.defaultValue??this.#e.defaultValue??""}set defaultValue(e){this.#t?this.#t.defaultValue=e:this.#e.defaultValue=e}get value(){return this.#t?.value??this.#e.value??this.#e.defaultValue??""}set value(e){this.#t?this.#t.value=e:this.#e.value=e}#t;#e;_isWithinInteractiveElement(e){if(e===null||e===this._el||!this._el.contains(e))return!1;if(Kt(e))return!0;{const t=e.parentElement;if(t)return this._isWithinInteractiveElement(t)}return!1}connectedCallback(){this._el.addEventListener("click",this._focusInput)}disconnectedCallback(){this._el.removeEventListener("click",this._focusInput)}render(){return k(Nt,{key:"2c544e40744c4f3f264117a0f863bf594b520ea0"},k("slot",{key:"a0f0ee09eefbb1a10f5b07dd96a2edb2278fe661",name:"leadingIcon"}),this.leadingLabel&&k("span",{key:"d7f1c22c9b7dca4ddb16b54e1f6d8df54c9cea41",class:"gids-input__label"},this.leadingLabel),k("slot",{key:"55edf5a87aa0ec574f2324dfa5f46fcc2a7d6bf6",name:"leadingAccessory"}),k("input",{key:"b7aed46c782dcd4da796dca7e43bf6974bb5ba53",...this.inputProps,ref:e=>{this.#t=e,this.#e.value!==void 0&&(this.#t.value=this.#e.value,delete this.#e.value),this.#e.defaultValue!==void 0&&(this.#t.defaultValue=this.#e.defaultValue,delete this.#e.defaultValue)},class:"gids-input__control",name:this.name,disabled:this.disabled,readOnly:this.readOnly,required:this.required,onFocus:this._handleInputFocusAndBlur,onBlur:this._handleInputFocusAndBlur}),k("slot",{key:"f2b11319075c8efdee53f410c9be6a366eb96a53",name:"trailingAccessory"}),this.trailingLabel&&k("span",{key:"be6891ba9714f58c5245cdaaac2b80d5362f96c6",class:"gids-input__label"},this.trailingLabel),k("slot",{key:"a277264aff77c51c41d43d4b6eab2cf2072979c4",name:"trailingIcon"}),this.status==="incomplete"&&k(ve,{key:"e108c8b0ecbe509e1aee59172b46c5eb258d4eb6",name:"warning",appearance:"filled",class:"gids-input__warning-icon"}),this.status==="complete"&&k(ve,{key:"3a9b1fc10f99588a23a13a2abf6648bfcba02eff",name:"positive",appearance:"filled",class:"gids-input__positive-icon"}),this.loading&&k(Qt,{key:"372490f8eb6f0902c4fd729dc3829edda9270514",size:"md",indeterminate:!0}))}get _el(){return this}},[260,"gids-input",{appearance:[513],defaultValue:[6657,"default-value"],disabled:[516],inputProps:[16],leadingLabel:[513,"leading-label"],trailingLabel:[513,"trailing-label"],loading:[516],name:[513],readOnly:[516,"readonly"],required:[516],status:[513],value:[6145]}]);function st(){typeof customElements<"u"&&["gids-input"].forEach((e=>{e==="gids-input"&&(customElements.get(e)||customElements.define(e,es))}))}st();const{getGidsDropdownClassNames:ts,getGidsChevronButtonControlClassNames:ss}=Tt,we="gids-dropdown-item--active",rt=Ge(class extends xe{constructor(e){super(),e!==!1&&this.__registerHost(),this.appearance="default",this.expanded=!1,this.filterValue="",this.isFilterEditing=!1,this.hasLeadingIcon=!1,this.hasLeadingAccessory=!1,this.activeIndex=-1,this.hasItemListener=!1,this.suppressNextMenuClickSelection=!1,this.hasDocumentListeners=!1,this.hasPendingControlRevalidation=!1,this.handleDropdownItemSelect=t=>{const{value:r,title:s,disabled:i,id:o,isPlaceholderItem:l}=t.detail;i||typeof r!="string"||(this.suppressNextMenuClickSelection=!0,queueMicrotask((()=>{this.suppressNextMenuClickSelection=!1})),this.applySelection({id:o,value:r,title:s,disabled:!1,originalEvent:t,isPlaceholderItem:l}))},this.handleMenuClick=t=>{if(this.suppressNextMenuClickSelection)return;const r=t.target;if(!(r instanceof Element))return;const s=r.closest(".gids-dropdown-item");if(!s||!this.hostElement.contains(s)||s.hasAttribute("disabled")||s.getAttribute("aria-disabled")==="true")return;const i=s instanceof HTMLButtonElement?s.value:s.getAttribute("value")||"";if(typeof i!="string"||i.length===0)return;const o=s instanceof HTMLButtonElement?s.id:s.getAttribute("id")??"";if(typeof o!="string"||o.length===0)return;const l=s.getAttribute("is-placeholder-item")??"";let a=s.textContent?.trim()??"";a.endsWith("checkmark")&&(a=a.slice(0,-9).trim()),this.applySelection({id:o,value:i,title:a.trim(),disabled:!1,originalEvent:t,isPlaceholderItem:!(!l||l!=="true")})},this.handleFilterInput=t=>{const r=t.target;this.filterValue=r?.value??"",this.isFilterEditing=!0,this.clearActive(),this.expanded||this.setExpandedState(!0,t),this.applyFilter()},this.handleInputKeyDown=t=>{if(!this.isInteractive())return;const r=t.key,s=r==="ArrowDown";if((s||r==="ArrowUp")&&!t.metaKey&&!t.ctrlKey)return t.preventDefault(),this.expanded||this.setExpandedState(!0,t),void this.moveActive(s?1:-1);if(r==="Home"&&this.expanded)return t.preventDefault(),void this.setActiveByIndex(0);if(r==="End"&&this.expanded)return t.preventDefault(),void this.setActiveByIndex(this.getVisibleEnabledItems().length-1);if(r==="Enter"){if(!this.expanded)return t.preventDefault(),this.setExpandedState(!0,t),void this.setActiveByIndex(0);this.selectActive()&&t.preventDefault()}},this.handleTriggerToggle=t=>{this.isInteractive()&&this.setExpandedState(!this.expanded,t)},this.handleInputFocusAndBlur=t=>{this.hostElement.dispatchEvent(new FocusEvent(t.type,{relatedTarget:t.relatedTarget}))},this.handleInputClickToggle=t=>{t.defaultPrevented||this.handleTriggerToggle(t)},this.handleChevronClickToggle=t=>{t.defaultPrevented||(t.stopPropagation(),this.handleTriggerToggle(t))},this.handleDocumentPointerDown=t=>{t.button!==2&&this.expanded&&((typeof t.composedPath=="function"?t.composedPath():[]).includes(this.hostElement)||this.hostElement.contains(t.target)||this.setExpandedState(!1,t))},this.handleDocumentKeyDown=t=>{if(!this.expanded)return;const r=t.key;if(r==="Escape"||r==="Esc")return t.preventDefault(),void this.setExpandedState(!1,t);r==="Tab"&&this.setExpandedState(!1,t)},this.handleFormReset=()=>{this.value=this.initialValue,this.selectedItemTitle=void 0,this.isFilterEditing=!1,this.filterValue="",this.setExpandedState(!1)}}handleExpandedChange(e){e&&!this.isInteractive()&&(this.expanded=!1)}handleInteractivityChange(){!this.isInteractive()&&this.expanded&&this.setExpandedState(!1)}connectedCallback(){this.initialValue=this.value,this.attachItemListener(),this.attachDocumentListeners(),this.attachFormListener()}disconnectedCallback(){this.detachItemListener(),this.detachDocumentListeners(),this.detachFormListener()}componentWillLoad(){this.checkSlots()}componentWillUpdate(){this.checkSlots()}checkSlots(){this.hasLeadingIcon=!!this.hostElement.querySelector('[slot="leadingIconDropdown"]'),this.hasLeadingAccessory=!!this.hostElement.querySelector('[slot="leadingAccessoryDropdown"]')}getItemElements(){return Array.from(this.hostElement.querySelectorAll(".gids-dropdown-item"))}getVisibleEnabledItems(){return this.getItemElements().filter((e=>e.style.display!=="none"&&!e.hasAttribute("disabled")&&e.getAttribute("aria-disabled")!=="true"))}attachItemListener(){this.hasItemListener||(this.hostElement.addEventListener("onPressDropdownItem",this.handleDropdownItemSelect),this.hasItemListener=!0)}detachItemListener(){this.hasItemListener&&(this.hostElement.removeEventListener("onPressDropdownItem",this.handleDropdownItemSelect),this.hasItemListener=!1)}applySelection(e){this.value=e.value,this.selectedItemTitle=typeof e.title=="string"?e.title:void 0,this.isFilterEditing=!1,this.filterValue="",this.clearActive(),this.emitNativeSelectionEvents(this.selectedItemTitle??""),this.setExpandedState(!1,this.coerceEvent(e.originalEvent)),this.onSelectionChange?.(e),this.hostElement.dispatchEvent(new CustomEvent("gidsDropdownChange",{bubbles:!0,composed:!0,detail:e}))}getInputControl(){return this.hostElement.querySelector(".gids-input__control")}emitNativeSelectionEvents(e){const t=this.getInputControl();t&&(t.value=e,t.dispatchEvent(new Event("input",{bubbles:!0,composed:!0})),t.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))}clearActive(){this.activeIndex=-1,this.getItemElements().forEach((e=>e.classList.remove(we))),this.setActiveDescendant(void 0)}setActiveByIndex(e){const t=this.getVisibleEnabledItems();if(this.getItemElements().forEach((i=>i.classList.remove(we))),t.length===0)return this.activeIndex=-1,void this.setActiveDescendant(void 0);const r=Math.max(0,Math.min(e,t.length-1)),s=t[r];if(!s)return this.activeIndex=-1,void this.setActiveDescendant(void 0);this.activeIndex=r,s.classList.add(we),s.scrollIntoView({block:"nearest"}),this.setActiveDescendant(s.id||void 0)}moveActive(e){const t=this.getVisibleEnabledItems();t.length!==0?this.setActiveByIndex(this.activeIndex===-1?e>0?0:t.length-1:(this.activeIndex+e+t.length)%t.length):this.clearActive()}selectActive(){const e=this.getVisibleEnabledItems();if(e.length===0)return!1;const t=this.activeIndex>=0?e[this.activeIndex]:e[0];return!!t&&(t.click(),this.getInputControl()?.focus(),!0)}applyFilter(){const e=this.filterValue.trim().toLowerCase();this.getItemElements().forEach((t=>{const r=(t.textContent??"").toLowerCase(),s=e.length===0||r.includes(e);t.style.display=s?"":"none"}))}setActiveDescendant(e){const t=this.getInputControl();t&&(e?t.setAttribute("aria-activedescendant",e):t.removeAttribute("aria-activedescendant"))}setExpandedState(e,t){const r=!!e;r&&!this.isInteractive()||this.expanded!==r&&(this.expanded=r,r||(this.isFilterEditing=!1,this.filterValue="",this.clearActive(),this.applyFilter(),this.syncInputDisplayValue()),this.hostElement.dispatchEvent(new CustomEvent("gidsDropdownToggle",{bubbles:!0,composed:!0,detail:{expanded:r,originalEvent:t}})))}syncInputDisplayValue(){const e=this.getInputControl();e&&e.value!==(this.selectedItemTitle??"")&&(e.value=this.selectedItemTitle??"")}attachDocumentListeners(){this.hasDocumentListeners||typeof document>"u"||(document.addEventListener("pointerdown",this.handleDocumentPointerDown),document.addEventListener("keydown",this.handleDocumentKeyDown),this.hasDocumentListeners=!0)}detachDocumentListeners(){this.hasDocumentListeners&&typeof document<"u"&&(document.removeEventListener("pointerdown",this.handleDocumentPointerDown),document.removeEventListener("keydown",this.handleDocumentKeyDown),this.hasDocumentListeners=!1)}attachFormListener(){const e=this.hostElement.closest("form");this.patternForm!==e&&(this.patternForm&&this.patternForm.removeEventListener("reset",this.handleFormReset),this.patternForm=e??void 0,this.patternForm?.addEventListener("reset",this.handleFormReset))}detachFormListener(){this.patternForm&&(this.patternForm.removeEventListener("reset",this.handleFormReset),this.patternForm=void 0)}get form(){return this.getInputControl()?.form??this.patternForm??null}get validity(){return this.getInputControl()?.validity??{}}get validationMessage(){return this.getInputControl()?.validationMessage??""}get willValidate(){return this.getInputControl()?.willValidate??!1}async checkValidity(){return this.getInputControl()?.checkValidity()??!0}async reportValidity(){return this.getInputControl()?.reportValidity()??!0}async setCustomValidity(e){return this.getInputControl()?.setCustomValidity(e)}isInteractive(){return!(this.disabled||this.readOnly)}coerceEvent(e){if(typeof Event<"u"&&e!==null)return e instanceof Event?e:void 0}scheduleControlRevalidation(){if(this.hasPendingControlRevalidation)return;this.hasPendingControlRevalidation=!0;const e=()=>{this.hasPendingControlRevalidation=!1,this.checkValidity()};typeof requestAnimationFrame!="function"?e():requestAnimationFrame(e)}getEnhancedInputProps(){const e={...this.inputProps??{}};typeof e.autoComplete=="string"&&e?.autoComplete?.trim?.()?.length!==0||(e.autoComplete="off");const t=e.onInput;e.onInput=i=>{t?.(i),this.handleFilterInput(i)};const r=e.onBlur;e.onBlur=i=>{r?.(i),this.scheduleControlRevalidation()};const s=e.onKeyDown;return e.onKeyDown=i=>{s?.(i),i.defaultPrevented||this.handleInputKeyDown(i)},e}render(){const e=this.expanded&&this.isInteractive(),t=ts({expanded:e}),r=this.getEnhancedInputProps(),s=typeof r.id=="string"?r.id:void 0,i=s?`${s}__menu`:void 0;r.role="combobox",r["aria-expanded"]=e?"true":"false",r["aria-haspopup"]="listbox",r["aria-autocomplete"]="list",i&&(r["aria-controls"]=i);const o=this.isFilterEditing?this.filterValue:this.selectedItemTitle??this.value??"",l=e?"true":"false",a=k("button",{key:"ef56b4d650c7ede283ac956e1bb3fdb99f0464b9",class:ss({size:"lg"}),slot:"trailingAccessory",type:"button",onClick:this.handleChevronClickToggle,"aria-label":e?"Collapse options":"Expanded options","aria-expanded":l,"aria-haspopup":"listbox","aria-controls":i,disabled:this.disabled||this.readOnly,tabIndex:-1},k("span",{key:"3707be6a0a5b247f6c624486c3ff5f69add5991c",class:"gids-button__content"},k(ve,{key:"b36624f20725a6093fbe786dd34ae70131035b1d",name:"chevron-vertical",alt:""})));return k("div",{key:"07368ce8b66a08e4f874e9335a774a305d07b709",class:t},k("gids-input",{key:"13f996dabaf673f24ccb3752f5239a6461d8612e",appearance:this.appearance,loading:this.loading,disabled:this.disabled,readOnly:this.readOnly,required:this.required,value:o,name:this.name,inputProps:r,onClick:this.handleInputClickToggle,onFocus:this.handleInputFocusAndBlur,onBlur:this.handleInputFocusAndBlur},this.hasLeadingIcon&&k("slot",{key:"7ec0577f5a08094ca8caf73882dd5fee142f8229",name:"leadingIconDropdown",slot:"leadingIcon"}),this.hasLeadingAccessory&&k("slot",{key:"41a33c1e726a203c096de11b82ce4bd7e39b4641",name:"leadingAccessoryDropdown",slot:"leadingAccessory"}),a),k("div",{key:"c59f22dec8e5ca68bfa4bee0ba5ffc7150602468",class:"gids-dropdown__menu",id:i,role:"listbox",onClick:this.handleMenuClick},k("slot",{key:"93bb68248f925d570f01533382d71044079ee786"})))}get hostElement(){return this}static get watchers(){return{expanded:[{handleExpandedChange:0}],disabled:[{handleInteractivityChange:0}],readOnly:[{handleInteractivityChange:0}]}}static get style(){return'@charset "UTF-8";.gids-dropdown{position:relative}.gids-dropdown__menu{position:absolute;inset-inline:0;top:calc(100% + var(--gids-gap-050));z-index:3;display:none;flex-direction:column;min-height:55px;max-height:20rem;overflow-x:hidden;overflow-y:auto;background-color:var(--gids-elevation-surface-overlay-default);box-shadow:var(--gids-elevation-shadow-overlay);border-radius:var(--gids-border-radius-lg)}.gids-dropdown__menu>*{flex-shrink:0}.gids-dropdown--expanded .gids-dropdown__menu{display:flex}.gids-dropdown__leading-icon{display:flex;align-items:center}.gids-dropdown__accessory{display:flex;align-items:center}'}},[260,"gids-dropdown",{appearance:[1],expanded:[1540],inputProps:[16],disabled:[516],readOnly:[516,"read-only"],loading:[516],value:[513],name:[1],onSelectionChange:[16],required:[4],filterValue:[32],isFilterEditing:[32],selectedItemTitle:[32],hasLeadingIcon:[32],hasLeadingAccessory:[32],checkValidity:[64],reportValidity:[64],setCustomValidity:[64]},void 0,{expanded:[{handleExpandedChange:0}],disabled:[{handleInteractivityChange:0}],readOnly:[{handleInteractivityChange:0}]}]);function it(){typeof customElements<"u"&&["gids-dropdown","gids-input"].forEach((e=>{switch(e){case"gids-dropdown":customElements.get(e)||customElements.define(e,rt);break;case"gids-input":customElements.get(e)||st()}}))}it();const rs=rt,is=it;$.GidsDropdown=rs,$.defineCustomElement=is,Object.defineProperty($,Symbol.toStringTag,{value:"Module"})}));
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
Flattening is not supported for Stencil non-shadow slots.
|
|
3
3
|
You can use \`.childNodes\` to nested slot fallback content.
|
|
4
4
|
If you have a particular use case, please open an issue on the Stencil repo.
|
|
5
|
-
`);const S=this["s-cr"].parentElement;return(S.__childNodes?S.childNodes:(v=>{const m=[];for(let y=0;y<v.length;y++){const g=v[y]["s-nr"]||void 0;g&&g.isConnected&&m.push(g)}return m})(S.childNodes)).forEach((v=>{h===M(v)&&f.push(v)})),d?f.filter((v=>v.nodeType===1)):f}).bind(c);c.assignedElements=p(!0),c.assignedNodes=p(!1)})(l),r=e&&e.m&&e.m[i],r&&r.O===o.O&&e.S&&Ce(e.S)),l},Ce=e=>{N.i|=1;const t=e.closest(D.toLowerCase());if(t!=null){const i=Array.from(t.__childNodes||t.childNodes).find((o=>o["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const o of i?s.reverse():s)o["s-sh"]!=null&&(E(t,o,i??null),o["s-sh"]=void 0,q=!0)}N.i&=-2},Z=(e,t)=>{N.i|=1;const i=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let s=e;for(;s=s.nextSibling;)s&&s["s-sn"]===e["s-sn"]&&s["s-sh"]===D&&i.push(s)}for(let s=i.length-1;s>=0;s--){const o=i[s];o["s-hn"]!==D&&o["s-ol"]&&(E(B(o).parentNode,o,B(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,q=!0),t&&Z(o,t)}N.i&=-2},ke=(e,t,i,s,o,l)=>{let a,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===D&&(r=r.shadowRoot),i.O==="template"&&(r=r.content);o<=l;++o)s[o]&&(a=Y(null,i,o),a&&(s[o].S=a,E(r,a,B(t))))},Oe=(e,t,i)=>{for(let s=t;s<=i;++s){const o=e[s];if(o){const l=o.S;Le(o),l&&(G=!0,l["s-ol"]?l["s-ol"].remove():Z(l,!0),l.remove())}}},J=(e,t,i=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:i?(i&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),B=e=>e&&e["s-ol"]||e,R=(e,t,i=!1)=>{const s=t.S=e.S,o=e.m,l=t.m,a=t.O,r=t.h;let n;r==null?(w=a==="svg"||a!=="foreignObject"&&w,a!=="slot"||H||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Ce(t.S.parentElement)),ne(e,t,w),o!==null&&l!==null?((c,p,d,u,f=!1)=>{let h,S,v=0,m=0,y=0,g=0,T=p.length-1,b=p[0],_=p[T],C=u.length-1,k=u[0],L=u[C];const ze=d.O==="template"?c.content:c;for(;v<=T&&m<=C;)if(b==null)b=p[++v];else if(_==null)_=p[--T];else if(k==null)k=u[++m];else if(L==null)L=u[--C];else if(J(b,k,f))R(b,k,f),b=p[++v],k=u[++m];else if(J(_,L,f))R(_,L,f),_=p[--T],L=u[--C];else if(J(b,L,f))b.O!=="slot"&&L.O!=="slot"||Z(b.S.parentNode,!1),R(b,L,f),E(ze,b.S,_.S.nextSibling),b=p[++v],L=u[--C];else if(J(_,k,f))b.O!=="slot"&&L.O!=="slot"||Z(_.S.parentNode,!1),R(_,k,f),E(ze,_.S,b.S),_=p[--T],k=u[++m];else{for(y=-1,g=v;g<=T;++g)if(p[g]&&p[g].$!==null&&p[g].$===k.$){y=g;break}y>=0?(S=p[y],S.O!==k.O?h=Y(p&&p[m],d,y):(R(S,k,f),p[y]=void 0,h=S.S),k=u[++m]):(h=Y(p&&p[m],d,m),k=u[++m]),h&&E(B(b.S).parentNode,h,B(b.S))}v>T?ke(c,u[C+1]==null?null:u[C+1].S,d,u,m,C):m>C&&Oe(p,v,T)})(s,o,t,l,i):l!==null?(e.h!==null&&(s.textContent=""),ke(s,null,t,l,0,l.length-1)):!i&&o!==null&&Oe(o,0,o.length-1),w&&a==="svg"&&(w=!1)):(n=s["s-cr"])?n.parentNode.textContent=r:e.h!==r&&(s.data=r)},$=[],Ee=e=>{let t,i,s;const o=e.__childNodes||e.childNodes;for(const l of o){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){i=t.parentNode.__childNodes||t.parentNode.childNodes;const a=l["s-sn"];for(s=i.length-1;s>=0;s--)if(t=i[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===l["s-hn"]||t["s-sh"]&&t["s-sh"]===l["s-hn"]))if(ye(t,a)){let r=$.find((n=>n.k===t));G=!0,t["s-sn"]=t["s-sn"]||a,r?(r.k["s-sh"]=l["s-hn"],r.N=l):(t["s-sh"]=l["s-hn"],$.push({N:l,k:t})),t["s-sr"]&&$.map((n=>{ye(n.k,t["s-sn"])&&(r=$.find((c=>c.k===t)),r&&!n.N&&(n.N=r.N))}))}else $.some((r=>r.k===t))||$.push({k:t})}l.nodeType===1&&Ee(l)}},Le=e=>{e.v&&e.v.ref&&ae.push((()=>e.v.ref(null))),e.m&&e.m.map(Le)},Xe=(e,t)=>{re.push((()=>e(t)))},E=(e,t,i,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,i);const{slotNode:o}=(function(l,a){var r;if(!(a=a||((r=l["s-ol"])==null?void 0:r.parentElement)))return{slotNode:null,slotName:""};const n=l["s-sn"]=M(l)||"";return{slotNode:se(ie(a,"childNodes"),a.tagName,n)[0],slotName:n}})(t);return o&&!s&&o.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,i):e?.insertBefore(t,i)},et=(e,t,i=!1)=>{var s,o,l,a,r;const n=e.$hostElement$,c=e.o,p=e.M||W(null,null);var d;const u=(d=t)&&d.O===be?t:O(null,null,t);if(D=n.tagName,c.C&&(u.v=u.v||{},c.C.forEach((([f,h])=>{u.v[h]=n[f]}))),i&&u.v)for(const f of Object.keys(u.v))n.hasAttribute(f)&&!["key","ref","style","class"].includes(f)&&(u.v[f]=n[f]);if(u.O=null,u.i|=4,e.M=u,u.S=p.S=n.shadowRoot||n,H=!(!(1&c.i)||128&c.i),oe=n["s-cr"],G=!1,R(p,u,i),N.i|=1,q){Ee(u.S);for(const f of $){const h=f.k;if(!h["s-ol"]&&x.document){const S=x.document.createTextNode("");S["s-nr"]=h,E(h.parentNode,h["s-ol"]=S,h,i)}}for(const f of $){const h=f.k,S=f.N;if(h.nodeType===1&&i&&(h["s-ih"]=(s=h.hidden)!=null&&s),S){const v=S.parentNode;let m=S.nextSibling;if(m&&m.nodeType===1){let y=(o=h["s-ol"])==null?void 0:o.previousSibling;for(;y;){let g=(l=y["s-nr"])!=null?l:null;if(g&&g["s-sn"]===h["s-sn"]&&v===(g.__parentNode||g.parentNode)){for(g=g.nextSibling;g===h||g?.["s-sr"];)g=g?.nextSibling;if(!g||!g["s-nr"]){m=g;break}}y=y.previousSibling}}if((!m&&v!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==m)&&h!==m){if(E(v,h,m,i),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const y=x.document.createTextNode(h.nodeValue.replace(/^s-nt-/,""));y["s-hn"]=h["s-hn"],y["s-sn"]=h["s-sn"],y["s-sh"]=h["s-sh"],y["s-sr"]=h["s-sr"],y["s-ol"]=h["s-ol"],y["s-ol"]["s-nr"]=y,E(h.parentNode,y,h,i),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(a=h["s-ih"])!=null&&a)}h&&typeof S["s-rf"]=="function"&&S["s-rf"](S)}else h.nodeType===1&&(h.hidden=!0)}}if(G&&fe(u.S),N.i&=-2,$.length=0,!H&&!(1&c.i)&&n["s-cr"]){const f=u.S.__childNodes||u.S.childNodes;for(const h of f)if(h["s-hn"]!==D&&!h["s-sh"]){if(i&&h["s-ih"]==null&&(h["s-ih"]=(r=h.hidden)!=null&&r),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const S=x.document.createComment("s-nt-"+h.nodeValue);S["s-sn"]=h["s-sn"],E(h.parentNode,S,h,i),h.parentNode.removeChild(h)}}}oe=void 0,ae.forEach((f=>f())),ae.length=0,re.forEach((f=>f())),re.length=0},je=(e,t)=>{if(t&&!e.A&&t["s-p"]){const i=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(i-1,1),s()})))}},de=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);je(e,e.R);const i=()=>tt(e,t);if(!t)return We(i);queueMicrotask((()=>{i()}))},tt=(e,t)=>{const i=e.$hostElement$,s=i;if(!s)throw new Error(`Can't render component <${i.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let o;return o=F(s,t?"componentWillLoad":"componentWillUpdate",void 0,i),o=$e(o,(()=>F(s,"componentWillRender",void 0,i))),$e(o,(()=>it(e,s,t)))},$e=(e,t)=>st(e)?e.then(t).catch((i=>{console.error(i),t()})):t(),st=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",it=async(e,t,i)=>{var s;const o=e.$hostElement$,l=o["s-rc"];i&&(a=>{const r=a.o,n=a.$hostElement$,c=r.i,p=((d,u)=>{var f,h,S;const v=me(u),m=U.get(v);if(!x.document)return v;if(d=d.nodeType===11?d:x.document,m)if(typeof m=="string"){let y,g=A.get(d=d.head||d);if(g||A.set(d,g=new Set),!g.has(v)){y=x.document.createElement("style"),y.textContent=m;const T=(f=N._)!=null?f:(function(){var b,_,C;return(C=(_=(b=x.document.head)==null?void 0:b.querySelector('meta[name="csp-nonce"]'))==null?void 0:_.getAttribute("content"))!=null?C:void 0})();if(T!=null&&y.setAttribute("nonce",T),!(1&u.i))if(d.nodeName==="HEAD"){const b=d.querySelectorAll("link[rel=preconnect]"),_=b.length>0?b[b.length-1].nextSibling:d.querySelector("style");d.insertBefore(y,_?.parentNode===d?_:null)}else if("host"in d)if(K){const b=new((h=d.defaultView)!=null?h:d.ownerDocument.defaultView).CSSStyleSheet;b.replaceSync(m),Q?d.adoptedStyleSheets.unshift(b):d.adoptedStyleSheets=[b,...d.adoptedStyleSheets]}else{const b=d.querySelector("style");b?b.textContent=m+b.textContent:d.prepend(y)}else d.append(y);1&u.i&&d.insertBefore(y,null),4&u.i&&(y.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),g&&g.add(v)}}else{let y=A.get(d);if(y||A.set(d,y=new Set),!y.has(v)){const g=(S=d.defaultView)!=null?S:d.ownerDocument.defaultView;let T;if(m.constructor===g.CSSStyleSheet)T=m;else{T=new g.CSSStyleSheet;for(let b=0;b<m.cssRules.length;b++)T.insertRule(m.cssRules[b].cssText,b)}Q?d.adoptedStyleSheets.push(T):d.adoptedStyleSheets=[...d.adoptedStyleSheets,T],y.add(v)}}return v})(n.shadowRoot?n.shadowRoot:n.getRootNode(),r);10&c&&(n["s-sc"]=p,n.classList.add(p+"-h"))})(e),ot(e,t,o,i),l&&(l.map((a=>a())),o["s-rc"]=void 0);{const a=(s=o["s-p"])!=null?s:[],r=()=>lt(e);a.length===0?r():(Promise.all(a).then(r).catch(r),e.i|=4,a.length=0)}},ot=(e,t,i,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,et(e,t,s)}catch(o){I(o,e.$hostElement$)}return null},lt=e=>{const t=e.$hostElement$,i=t,s=e.R;F(i,"componentDidRender",void 0,t),64&e.i?F(i,"componentDidUpdate",void 0,t):(e.i|=64,at(t),F(i,"componentDidLoad",void 0,t),e.L(t),s||nt()),e.A&&(e.A(),e.A=void 0),512&e.i&&te((()=>de(e,!1))),e.i&=-517},nt=()=>{te((()=>Je(x,"appload",{detail:{namespace:"gids-core-web"}})))},F=(e,t,i,s)=>{if(e&&e[t])try{return e[t](i)}catch(o){I(o,s)}},at=e=>e.classList.add("hydrated"),Ae=(e,t,i,s)=>{const o=j(e);if(!o)return;const l=e,a=o.l.get(t),r=o.i,n=l;i=xe(i,s.t[t][0],!!(64&s.i));const c=Number.isNaN(a)&&Number.isNaN(i);if(i!==a&&!c){if(o.l.set(t,i),s.F){const p=s.F[t];p&&p.map((d=>{try{const[[u,f]]=Object.entries(d);(128&r||1&f)&&(n?n[u](i,a,t):o.T.push((()=>{o.D[u](i,a,t)})))}catch(u){I(u,l)}}))}if(2&r){if(n.componentShouldUpdate&&n.componentShouldUpdate(i,a,t)===!1&&!(16&r))return;16&r||de(o,!1)}}},rt=(e,t,i)=>{var s,o;const l=e.prototype;64&t.i&&1&i&&He.forEach((a=>{const r=l[a];Object.defineProperty(l,a,{value(...n){var c;const p=j(this),d=this;d?typeof r=="function"&&r.call(d,...n):(c=p?.H)==null||c.then((u=>{const f=u[a];typeof f=="function"&&f.call(u,...n)}))}})}));{e.watchers&&!t.F&&(t.F=Se(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const a=Object.entries((s=t.t)!=null?s:{});a.map((([r,[n]])=>{if(31&n||32&n){const{get:c,set:p}=V(l,r)||{};c&&(t.t[r][0]|=2048),p&&(t.t[r][0]|=4096),Object.defineProperty(l,r,{get(){return c?c.apply(this):(d=r,j(this).l.get(d));var d},configurable:!0,enumerable:!0}),Object.defineProperty(l,r,{set(d){const u=j(this);if(u){if(p)return(32&n?this[r]:u.$hostElement$[r])===void 0&&u.l.get(r)&&(d=u.l.get(r)),p.apply(this,[xe(d,n,!!(64&t.i))]),void Ae(this,r,d=32&n?this[r]:u.$hostElement$[r],t);Ae(this,r,d,t)}}})}}));{const r=new Map;l.attributeChangedCallback=function(n,c,p){N.jmp((()=>{var d;const u=r.get(n),f=j(this);if(this.hasOwnProperty(u),l.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==p)return;if(u==null){const y=f?.i;if(f&&y&&!(8&y)&&p!==c){const g=this,T=(d=t.F)==null?void 0:d[n];T?.forEach((b=>{const[[_,C]]=Object.entries(b);g[_]!=null&&(128&y||1&C)&&g[_].call(g,p,c,n)}))}return}const h=a.find((([y])=>y===u)),S=h&&4&h[1][0],v=S&&p===null&&this[u]===void 0;S&&(p=p!==null&&p!=="false");const m=Object.getOwnPropertyDescriptor(l,u);v||p==this[u]||m.get&&!m.set||(this[u]=p)}))},e.observedAttributes=Array.from(new Set([...Object.keys((o=t.F)!=null?o:{}),...a.filter((([n,c])=>31&c[0])).map((([n,c])=>{var p;const d=c[1]||n;return r.set(d,n),512&c[0]&&((p=t.C)==null||p.push([n,d])),d}))]))}}return e},dt=(e,t)=>{const i={i:t[0],p:t[1]};try{i.t=t[2],i.W=t[3],i.F=Se(e.F),i.P=e.P,i.U=e.U,i.C=[];const s=e.prototype.connectedCallback,o=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((l,a)=>{const r={i:0,$hostElement$:l,o:a,l:new Map,B:new Map};r.H=new Promise((c=>r.L=c)),l["s-p"]=[],l["s-rc"]=[];const n=r;l.__stencil__getHostRef=()=>n,512&a.i&&Me(l,r)})(this,i)},connectedCallback(){if(!this.__hasHostListenerAttached){const l=j(this);if(!l)return;Pe(this,l,i.W),this.__hasHostListenerAttached=!0}(l=>{if(!(1&N.i)){const a=j(l);if(!a)return;const r=a.o;if(1&a.i)Pe(l,a,r.W),a?.D||a?.H&&a.H.then((()=>{}));else{a.i|=1,12&r.i&&(n=>{if(!x.document)return;const c=n["s-cr"]=x.document.createComment("");c["s-cn"]=!0,E(n,c,n.firstChild)})(l);{let n=l;for(;n=n.parentNode||n.host;)if(n["s-p"]){je(a,a.R=n);break}}r.t&&Object.entries(r.t).map((([n,[c]])=>{if(31&c&&Object.prototype.hasOwnProperty.call(l,n)){const p=l[n];delete l[n],l[n]=p}})),(async(n,c,p)=>{let d;try{if(!(32&c.i)&&(c.i|=32,d=n.constructor,customElements.whenDefined(n.localName).then((()=>c.i|=128)),d&&d.style)){let h;typeof d.style=="string"&&(h=d.style);const S=me(p);U.has(S)||((v,m,y)=>{let g=U.get(v);K&&y?(g=g||new CSSStyleSheet,typeof g=="string"?g=m:g.replaceSync(m)):g=m,U.set(v,g)})(S,h,!!(1&p.i))}const u=c.R,f=()=>de(c,!0);u&&u["s-rc"]?u["s-rc"].push(f):f()}catch(u){I(u,n),c.A&&(c.A(),c.A=void 0),c.L&&c.L(n)}})(l,a,r)}}})(this),s&&s.call(this)},disconnectedCallback(){(async l=>{if(!(1&N.i)){const a=j(l);a?.V&&(a.V.map((r=>r())),a.V=void 0)}A.has(l)&&A.delete(l),l.shadowRoot&&A.has(l.shadowRoot)&&A.delete(l.shadowRoot)})(this),o&&o.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${i.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Ge.call(this,i)}}),Object.defineProperty(e,"is",{value:i.p,configurable:!0}),rt(e,i,3)}catch(s){return I(s),e}},Pe=(e,t,i)=>{i&&x.document&&i.map((([s,o,l])=>{const a=pt(x.document,e,s),r=ct(t,l),n=ut(s);N.ael(a,o,r,n),(t.V=t.V||[]).push((()=>N.rel(a,o,r,n)))}))},ct=(e,t)=>i=>{try{e.$hostElement$[t](i)}catch(s){I(s,e.$hostElement$)}},pt=(e,t,i)=>8&i?x:t,ut=e=>Fe?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function St(e){return e}function Ie(e){var t,i,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(i=Ie(e[t]))&&(s&&(s+=" "),s+=i)}else for(i in e)e[i]&&(s&&(s+=" "),s+=i);return s}function De(){for(var e,t,i=0,s="",o=arguments.length;i<o;i++)(e=arguments[i])&&(t=Ie(e))&&(s&&(s+=" "),s+=t);return s}const ht=Object.freeze(Object.defineProperty({__proto__:null,getGidsDisplaTagClassNames:({size:e,appearance:t,color:i},s)=>De("gids-display-tag",{"gids-display-tag--xsmall":e==="xs","gids-display-tag--small":e==="sm","gids-display-tag--large":e==="lg","gids-display-tag--accent-1":t==="subtle"&&i==="accent-1","gids-display-tag--accent-2":t==="subtle"&&i==="accent-2","gids-display-tag--accent-3":t==="subtle"&&i==="accent-3","gids-display-tag--accent-4":t==="subtle"&&i==="accent-4","gids-display-tag--accent-5":t==="subtle"&&i==="accent-5","gids-display-tag--bold-accent-1":t==="bold"&&i==="accent-1","gids-display-tag--bold-accent-2":t==="bold"&&i==="accent-2","gids-display-tag--bold-accent-3":t==="bold"&&i==="accent-3","gids-display-tag--bold-accent-4":t==="bold"&&i==="accent-4","gids-display-tag--bold-accent-5":t==="bold"&&i==="accent-5"},s)},Symbol.toStringTag,{value:"Module"})),gt=Object.freeze(Object.defineProperty({__proto__:null,getGidsExpansionBodyListItemClassNames:e=>De("gids-expansion-body-list-item",e)},Symbol.toStringTag,{value:"Module"})),{getGidsDisplaTagClassNames:ft}=ht,yt=({label:e,appearance:t="subtle",color:i,size:s="md",icon:o,class:l,...a})=>O("span",{class:ft({size:s,appearance:t,color:i},l),...a},o,e),{getGidsExpansionBodyListItemClassNames:mt}=gt,Ve=dt(class extends Be{constructor(e){super(),e!==!1&&this.__registerHost(),this.displayTagVisible=!1,this.displayTagColor="accent-5",this.displayTagSize="xs",this.displayTagAppearance="subtle",this.hasSubtitleItemListener=!1,this.hasSupportingTextItemListener=!1,this.handleSubtitleClick=t=>{this.applySubtitleSelection({listItemId:this.listItemId,label:this.label,subtitle:this.subtitle,supportingText:this.supportingText,listItemPressedType:"subtitle",originalEvent:t})},this.handleSupportingTextClick=t=>{this.applySupportingTextSelection({listItemId:this.listItemId,label:this.label,subtitle:this.subtitle,supportingText:this.supportingText,listItemPressedType:"supporting-text",originalEvent:t})}}handleDisplayTagVisibilityChange(e){this.displayTagVisible=e}handleDisplayTagColorChange(e){this.displayTagColor=e}handleDisplayTagSizeChange(e){this.displayTagSize=e}handleDisplayTagAppearanceChange(e){this.displayTagAppearance=e}connectedCallback(){this.attachSubtitleItemListener(),this.attachSupportingTextItemListener()}disconnectedCallback(){this.detachSubtitleItemListener(),this.detachSupportingTextItemListener()}applySubtitleSelection(e){this.onSubtitlePress&&this.onSubtitlePress(e)}applySupportingTextSelection(e){this.onSupportingTextPress&&this.onSupportingTextPress(e)}attachSubtitleItemListener(){this.hasSubtitleItemListener||(this.hostElement.addEventListener("onSubtitlePress",this.handleSubtitleClick),this.hasSubtitleItemListener=!0)}attachSupportingTextItemListener(){this.hasSupportingTextItemListener||(this.hostElement.addEventListener("onSupportingTextPress",this.handleSupportingTextClick),this.hasSupportingTextItemListener=!0)}detachSubtitleItemListener(){this.hasSubtitleItemListener&&(this.hostElement.removeEventListener("onSubtitlePress",this.handleSubtitleClick),this.hasSubtitleItemListener=!1)}detachSupportingTextItemListener(){this.hasSupportingTextItemListener&&(this.hostElement.removeEventListener("onSupportingTextPress",this.handleSupportingTextClick),this.hasSupportingTextItemListener=!1)}isValidLabel(){return!(!this?.label||this.label==="")}isValidSubtitle(){return!(!this?.subtitle||this.subtitle==="")}isValidSupportingText(){return!(!this?.supportingText||this.supportingText==="")}isDisplayTagVisible(){return!(!this.displayTagVisible||!this?.displayTagLabel||this.displayTagLabel==="")}convertTextToUppercase(e){return e&&e!==""?e.toUpperCase():""}render(){const e=mt(),t=this?.label,i=this?.subtitle,s=this?.supportingText,o=this.isValidLabel(),l=this.isValidSubtitle(),a=this.isValidSupportingText(),r=this.isDisplayTagVisible(),n=this?.displayTagLabel??"";return O(be,{key:"bfe69722ce1b8b0f7f2d935131009ba755bd25cb",class:e},o||l||r?O("div",{class:"gids-expansion-body-list-item__primary-container"},o||r?O("div",{class:"gids-expansion-body-list-item__primary-content"},o?O("span",{class:"gids-expansion-body-list-item__label"},this.convertTextToUppercase(t)):void 0,r?O(yt,{color:this.displayTagColor||"accent-5",label:n,size:this.displayTagSize,appearance:this.displayTagAppearance}):void 0):void 0,l?O("button",{type:"button",class:"gids-expansion-body-list-item__subtitle",onClick:this.handleSubtitleClick},i):void 0):void 0,a?O("div",{class:"gids-expansion-body-list-item__secondary-container"},O("button",{type:"button",class:"gids-expansion-body-list-item__supporting-text",onClick:this.handleSupportingTextClick},this.convertTextToUppercase(s))):void 0)}get hostElement(){return this}static get watchers(){return{displayTagVisible:[{handleDisplayTagVisibilityChange:0}],displayTagColor:[{handleDisplayTagColorChange:0}],displayTagSize:[{handleDisplayTagSizeChange:0}],displayTagAppearance:[{handleDisplayTagAppearanceChange:0}]}}static get style(){return'.gids-expansion-body-list-item{display:flex;flex:1;gap:var(--gids-gap-400);padding-bottom:var(--gids-padding-vertical-edge-to-element-300);position:relative;cursor:default}.gids-expansion-body-list-item::after{content:"";position:absolute;bottom:0;left:0;width:100%;height:1px;background-color:var(--gids-color-border-default);transition:background 0.3s ease-in-out;z-index:1}.gids-expansion-body-list-item::before{content:"";position:absolute;bottom:0;left:0;width:100%;height:2px;background:linear-gradient(to right, transparent 0%, transparent 25%, var(--gids-color-background-selected-pressed) 45%, var(--gids-color-background-selected-pressed) 55%, transparent 75%, transparent 100%);opacity:0;transition:opacity 0.3s ease-in-out;z-index:2}.gids-expansion-body-list-item:has(.gids-expansion-body-list-item__subtitle:hover)::after{background:linear-gradient(to right, var(--gids-color-border-default) 0%, var(--gids-color-border-default) 15%, var(--gids-color-background-selected-pressed) 45%, var(--gids-color-background-selected-pressed) 70%, var(--gids-color-border-default) 90%, var(--gids-color-border-default) 100%)}.gids-expansion-body-list-item:has(.gids-expansion-body-list-item__subtitle:hover)::before{opacity:1}.gids-expansion-body-list-item__primary-container{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;flex:1 0;gap:var(--gids-gap-150)}.gids-expansion-body-list-item__primary-content{display:flex;align-items:center;justify-content:center;gap:var(--gids-gap-200)}.gids-expansion-body-list-item__secondary-container{display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end}.gids-expansion-body-list-item__label{font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit);color:var(--gids-color-text-subtle);cursor:default}.gids-expansion-body-list-item__subtitle{margin:0;padding:0;appearance:none;border:none;background:none;font-family:var(--gids-typography-label-medium__font-family);font-size:var(--gids-typography-label-medium__font-size);font-weight:var(--gids-typography-label-medium__font-weight);letter-spacing:var(--gids-typography-label-medium__letter-spacing);line-height:var(--gids-typography-label-medium__line-height);text-transform:var(--gids-typography-label-medium__text-transform, inherit);font-variant-caps:var(--gids-typography-label-medium__font-variant-caps, inherit);color:var(--gids-color-text-default);cursor:pointer}.gids-expansion-body-list-item__supporting-text{margin:0;padding:0;appearance:none;border:none;background:none;font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit);color:var(--gids-color-text-subtle);padding:var(--gids-padding-vertical-edge-to-element-050) var(--gids-padding-horizontal-edge-to-element-100);border-radius:var(--gids-border-radius-sm);cursor:pointer;transition:background-color 0.3s ease-in-out, color 0.3s ease-in-out}.gids-expansion-body-list-item__supporting-text:hover{background-color:var(--gids-color-background-brand-bold-hovered);color:var(--gids-color-text-inverse)}.gids-expansion-body-list-item__supporting-text:active{background-color:var(--gids-color-background-brand-bold-pressed);color:var(--gids-color-text-inverse)}'}},[0,"gids-expansion-body-list-item",{listItemId:[1,"list-item-id"],label:[1],subtitle:[1],supportingText:[1,"supporting-text"],displayTagVisible:[4,"display-tag-visible"],displayTagColor:[1,"display-tag-color"],displayTagSize:[1,"display-tag-size"],displayTagAppearance:[1,"display-tag-appearance"],displayTagLabel:[1,"display-tag-label"],onSubtitlePress:[16],onSupportingTextPress:[16]},void 0,{displayTagVisible:[{handleDisplayTagVisibilityChange:0}],displayTagColor:[{handleDisplayTagColorChange:0}],displayTagSize:[{handleDisplayTagSizeChange:0}],displayTagAppearance:[{handleDisplayTagAppearanceChange:0}]}]);function Re(){typeof customElements<"u"&&["gids-expansion-body-list-item"].forEach((e=>{e==="gids-expansion-body-list-item"&&(customElements.get(e)||customElements.define(e,Ve))}))}Re();const bt=Ve,vt=Re;P.GidsExpansionBodyListItem=bt,P.defineCustomElement=vt,Object.defineProperty(P,Symbol.toStringTag,{value:"Module"})}));
|
|
5
|
+
`);const S=this["s-cr"].parentElement;return(S.__childNodes?S.childNodes:(v=>{const m=[];for(let y=0;y<v.length;y++){const g=v[y]["s-nr"]||void 0;g&&g.isConnected&&m.push(g)}return m})(S.childNodes)).forEach((v=>{h===M(v)&&f.push(v)})),d?f.filter((v=>v.nodeType===1)):f}).bind(c);c.assignedElements=p(!0),c.assignedNodes=p(!1)})(l),r=e&&e.m&&e.m[i],r&&r.O===o.O&&e.S&&Ce(e.S)),l},Ce=e=>{N.i|=1;const t=e.closest(D.toLowerCase());if(t!=null){const i=Array.from(t.__childNodes||t.childNodes).find((o=>o["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const o of i?s.reverse():s)o["s-sh"]!=null&&(E(t,o,i??null),o["s-sh"]=void 0,q=!0)}N.i&=-2},Z=(e,t)=>{N.i|=1;const i=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let s=e;for(;s=s.nextSibling;)s&&s["s-sn"]===e["s-sn"]&&s["s-sh"]===D&&i.push(s)}for(let s=i.length-1;s>=0;s--){const o=i[s];o["s-hn"]!==D&&o["s-ol"]&&(E(B(o).parentNode,o,B(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,q=!0),t&&Z(o,t)}N.i&=-2},ke=(e,t,i,s,o,l)=>{let a,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===D&&(r=r.shadowRoot),i.O==="template"&&(r=r.content);o<=l;++o)s[o]&&(a=Y(null,i,o),a&&(s[o].S=a,E(r,a,B(t))))},Oe=(e,t,i)=>{for(let s=t;s<=i;++s){const o=e[s];if(o){const l=o.S;Le(o),l&&(G=!0,l["s-ol"]?l["s-ol"].remove():Z(l,!0),l.remove())}}},J=(e,t,i=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:i?(i&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),B=e=>e&&e["s-ol"]||e,R=(e,t,i=!1)=>{const s=t.S=e.S,o=e.m,l=t.m,a=t.O,r=t.h;let n;r==null?(w=a==="svg"||a!=="foreignObject"&&w,a!=="slot"||H||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Ce(t.S.parentElement)),ne(e,t,w),o!==null&&l!==null?((c,p,d,u,f=!1)=>{let h,S,v=0,m=0,y=0,g=0,T=p.length-1,b=p[0],_=p[T],C=u.length-1,k=u[0],L=u[C];const ze=d.O==="template"?c.content:c;for(;v<=T&&m<=C;)if(b==null)b=p[++v];else if(_==null)_=p[--T];else if(k==null)k=u[++m];else if(L==null)L=u[--C];else if(J(b,k,f))R(b,k,f),b=p[++v],k=u[++m];else if(J(_,L,f))R(_,L,f),_=p[--T],L=u[--C];else if(J(b,L,f))b.O!=="slot"&&L.O!=="slot"||Z(b.S.parentNode,!1),R(b,L,f),E(ze,b.S,_.S.nextSibling),b=p[++v],L=u[--C];else if(J(_,k,f))b.O!=="slot"&&L.O!=="slot"||Z(_.S.parentNode,!1),R(_,k,f),E(ze,_.S,b.S),_=p[--T],k=u[++m];else{for(y=-1,g=v;g<=T;++g)if(p[g]&&p[g].$!==null&&p[g].$===k.$){y=g;break}y>=0?(S=p[y],S.O!==k.O?h=Y(p&&p[m],d,y):(R(S,k,f),p[y]=void 0,h=S.S),k=u[++m]):(h=Y(p&&p[m],d,m),k=u[++m]),h&&E(B(b.S).parentNode,h,B(b.S))}v>T?ke(c,u[C+1]==null?null:u[C+1].S,d,u,m,C):m>C&&Oe(p,v,T)})(s,o,t,l,i):l!==null?(e.h!==null&&(s.textContent=""),ke(s,null,t,l,0,l.length-1)):!i&&o!==null&&Oe(o,0,o.length-1),w&&a==="svg"&&(w=!1)):(n=s["s-cr"])?n.parentNode.textContent=r:e.h!==r&&(s.data=r)},$=[],Ee=e=>{let t,i,s;const o=e.__childNodes||e.childNodes;for(const l of o){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){i=t.parentNode.__childNodes||t.parentNode.childNodes;const a=l["s-sn"];for(s=i.length-1;s>=0;s--)if(t=i[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===l["s-hn"]||t["s-sh"]&&t["s-sh"]===l["s-hn"]))if(ye(t,a)){let r=$.find((n=>n.k===t));G=!0,t["s-sn"]=t["s-sn"]||a,r?(r.k["s-sh"]=l["s-hn"],r.N=l):(t["s-sh"]=l["s-hn"],$.push({N:l,k:t})),t["s-sr"]&&$.map((n=>{ye(n.k,t["s-sn"])&&(r=$.find((c=>c.k===t)),r&&!n.N&&(n.N=r.N))}))}else $.some((r=>r.k===t))||$.push({k:t})}l.nodeType===1&&Ee(l)}},Le=e=>{e.v&&e.v.ref&&ae.push((()=>e.v.ref(null))),e.m&&e.m.map(Le)},Xe=(e,t)=>{re.push((()=>e(t)))},E=(e,t,i,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,i);const{slotNode:o}=(function(l,a){var r;if(!(a=a||((r=l["s-ol"])==null?void 0:r.parentElement)))return{slotNode:null,slotName:""};const n=l["s-sn"]=M(l)||"";return{slotNode:se(ie(a,"childNodes"),a.tagName,n)[0],slotName:n}})(t);return o&&!s&&o.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,i):e?.insertBefore(t,i)},et=(e,t,i=!1)=>{var s,o,l,a,r;const n=e.$hostElement$,c=e.o,p=e.M||W(null,null);var d;const u=(d=t)&&d.O===be?t:O(null,null,t);if(D=n.tagName,c.C&&(u.v=u.v||{},c.C.forEach((([f,h])=>{u.v[h]=n[f]}))),i&&u.v)for(const f of Object.keys(u.v))n.hasAttribute(f)&&!["key","ref","style","class"].includes(f)&&(u.v[f]=n[f]);if(u.O=null,u.i|=4,e.M=u,u.S=p.S=n.shadowRoot||n,H=!(!(1&c.i)||128&c.i),oe=n["s-cr"],G=!1,R(p,u,i),N.i|=1,q){Ee(u.S);for(const f of $){const h=f.k;if(!h["s-ol"]&&x.document){const S=x.document.createTextNode("");S["s-nr"]=h,E(h.parentNode,h["s-ol"]=S,h,i)}}for(const f of $){const h=f.k,S=f.N;if(h.nodeType===1&&i&&(h["s-ih"]=(s=h.hidden)!=null&&s),S){const v=S.parentNode;let m=S.nextSibling;if(m&&m.nodeType===1){let y=(o=h["s-ol"])==null?void 0:o.previousSibling;for(;y;){let g=(l=y["s-nr"])!=null?l:null;if(g&&g["s-sn"]===h["s-sn"]&&v===(g.__parentNode||g.parentNode)){for(g=g.nextSibling;g===h||g?.["s-sr"];)g=g?.nextSibling;if(!g||!g["s-nr"]){m=g;break}}y=y.previousSibling}}if((!m&&v!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==m)&&h!==m){if(E(v,h,m,i),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const y=x.document.createTextNode(h.nodeValue.replace(/^s-nt-/,""));y["s-hn"]=h["s-hn"],y["s-sn"]=h["s-sn"],y["s-sh"]=h["s-sh"],y["s-sr"]=h["s-sr"],y["s-ol"]=h["s-ol"],y["s-ol"]["s-nr"]=y,E(h.parentNode,y,h,i),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(a=h["s-ih"])!=null&&a)}h&&typeof S["s-rf"]=="function"&&S["s-rf"](S)}else h.nodeType===1&&(h.hidden=!0)}}if(G&&fe(u.S),N.i&=-2,$.length=0,!H&&!(1&c.i)&&n["s-cr"]){const f=u.S.__childNodes||u.S.childNodes;for(const h of f)if(h["s-hn"]!==D&&!h["s-sh"]){if(i&&h["s-ih"]==null&&(h["s-ih"]=(r=h.hidden)!=null&&r),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const S=x.document.createComment("s-nt-"+h.nodeValue);S["s-sn"]=h["s-sn"],E(h.parentNode,S,h,i),h.parentNode.removeChild(h)}}}oe=void 0,ae.forEach((f=>f())),ae.length=0,re.forEach((f=>f())),re.length=0},je=(e,t)=>{if(t&&!e.A&&t["s-p"]){const i=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(i-1,1),s()})))}},de=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);je(e,e.R);const i=()=>tt(e,t);if(!t)return We(i);queueMicrotask((()=>{i()}))},tt=(e,t)=>{const i=e.$hostElement$,s=i;if(!s)throw new Error(`Can't render component <${i.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let o;return o=F(s,t?"componentWillLoad":"componentWillUpdate",void 0,i),o=$e(o,(()=>F(s,"componentWillRender",void 0,i))),$e(o,(()=>it(e,s,t)))},$e=(e,t)=>st(e)?e.then(t).catch((i=>{console.error(i),t()})):t(),st=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",it=async(e,t,i)=>{var s;const o=e.$hostElement$,l=o["s-rc"];i&&(a=>{const r=a.o,n=a.$hostElement$,c=r.i,p=((d,u)=>{var f,h,S;const v=me(u),m=U.get(v);if(!x.document)return v;if(d=d.nodeType===11?d:x.document,m)if(typeof m=="string"){let y,g=A.get(d=d.head||d);if(g||A.set(d,g=new Set),!g.has(v)){y=x.document.createElement("style"),y.textContent=m;const T=(f=N._)!=null?f:(function(){var b,_,C;return(C=(_=(b=x.document.head)==null?void 0:b.querySelector('meta[name="csp-nonce"]'))==null?void 0:_.getAttribute("content"))!=null?C:void 0})();if(T!=null&&y.setAttribute("nonce",T),!(1&u.i))if(d.nodeName==="HEAD"){const b=d.querySelectorAll("link[rel=preconnect]"),_=b.length>0?b[b.length-1].nextSibling:d.querySelector("style");d.insertBefore(y,_?.parentNode===d?_:null)}else if("host"in d)if(K){const b=new((h=d.defaultView)!=null?h:d.ownerDocument.defaultView).CSSStyleSheet;b.replaceSync(m),Q?d.adoptedStyleSheets.unshift(b):d.adoptedStyleSheets=[b,...d.adoptedStyleSheets]}else{const b=d.querySelector("style");b?b.textContent=m+b.textContent:d.prepend(y)}else d.append(y);1&u.i&&d.insertBefore(y,null),4&u.i&&(y.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),g&&g.add(v)}}else{let y=A.get(d);if(y||A.set(d,y=new Set),!y.has(v)){const g=(S=d.defaultView)!=null?S:d.ownerDocument.defaultView;let T;if(m.constructor===g.CSSStyleSheet)T=m;else{T=new g.CSSStyleSheet;for(let b=0;b<m.cssRules.length;b++)T.insertRule(m.cssRules[b].cssText,b)}Q?d.adoptedStyleSheets.push(T):d.adoptedStyleSheets=[...d.adoptedStyleSheets,T],y.add(v)}}return v})(n.shadowRoot?n.shadowRoot:n.getRootNode(),r);10&c&&(n["s-sc"]=p,n.classList.add(p+"-h"))})(e),ot(e,t,o,i),l&&(l.map((a=>a())),o["s-rc"]=void 0);{const a=(s=o["s-p"])!=null?s:[],r=()=>lt(e);a.length===0?r():(Promise.all(a).then(r).catch(r),e.i|=4,a.length=0)}},ot=(e,t,i,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,et(e,t,s)}catch(o){I(o,e.$hostElement$)}return null},lt=e=>{const t=e.$hostElement$,i=t,s=e.R;F(i,"componentDidRender",void 0,t),64&e.i?F(i,"componentDidUpdate",void 0,t):(e.i|=64,at(t),F(i,"componentDidLoad",void 0,t),e.L(t),s||nt()),e.A&&(e.A(),e.A=void 0),512&e.i&&te((()=>de(e,!1))),e.i&=-517},nt=()=>{te((()=>Je(x,"appload",{detail:{namespace:"gids-core-web"}})))},F=(e,t,i,s)=>{if(e&&e[t])try{return e[t](i)}catch(o){I(o,s)}},at=e=>e.classList.add("hydrated"),Ae=(e,t,i,s)=>{const o=j(e);if(!o)return;const l=e,a=o.l.get(t),r=o.i,n=l;i=xe(i,s.t[t][0],!!(64&s.i));const c=Number.isNaN(a)&&Number.isNaN(i);if(i!==a&&!c){if(o.l.set(t,i),s.F){const p=s.F[t];p&&p.map((d=>{try{const[[u,f]]=Object.entries(d);(128&r||1&f)&&(n?n[u](i,a,t):o.T.push((()=>{o.D[u](i,a,t)})))}catch(u){I(u,l)}}))}if(2&r){if(n.componentShouldUpdate&&n.componentShouldUpdate(i,a,t)===!1&&!(16&r))return;16&r||de(o,!1)}}},rt=(e,t,i)=>{var s,o;const l=e.prototype;64&t.i&&1&i&&He.forEach((a=>{const r=l[a];Object.defineProperty(l,a,{value(...n){var c;const p=j(this),d=this;d?typeof r=="function"&&r.call(d,...n):(c=p?.H)==null||c.then((u=>{const f=u[a];typeof f=="function"&&f.call(u,...n)}))}})}));{e.watchers&&!t.F&&(t.F=Se(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const a=Object.entries((s=t.t)!=null?s:{});a.map((([r,[n]])=>{if(31&n||32&n){const{get:c,set:p}=V(l,r)||{};c&&(t.t[r][0]|=2048),p&&(t.t[r][0]|=4096),Object.defineProperty(l,r,{get(){return c?c.apply(this):(d=r,j(this).l.get(d));var d},configurable:!0,enumerable:!0}),Object.defineProperty(l,r,{set(d){const u=j(this);if(u){if(p)return(32&n?this[r]:u.$hostElement$[r])===void 0&&u.l.get(r)&&(d=u.l.get(r)),p.apply(this,[xe(d,n,!!(64&t.i))]),void Ae(this,r,d=32&n?this[r]:u.$hostElement$[r],t);Ae(this,r,d,t)}}})}}));{const r=new Map;l.attributeChangedCallback=function(n,c,p){N.jmp((()=>{var d;const u=r.get(n),f=j(this);if(this.hasOwnProperty(u),l.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==p)return;if(u==null){const y=f?.i;if(f&&y&&!(8&y)&&p!==c){const g=this,T=(d=t.F)==null?void 0:d[n];T?.forEach((b=>{const[[_,C]]=Object.entries(b);g[_]!=null&&(128&y||1&C)&&g[_].call(g,p,c,n)}))}return}const h=a.find((([y])=>y===u)),S=h&&4&h[1][0],v=S&&p===null&&this[u]===void 0;S&&(p=p!==null&&p!=="false");const m=Object.getOwnPropertyDescriptor(l,u);v||p==this[u]||m.get&&!m.set||(this[u]=p)}))},e.observedAttributes=Array.from(new Set([...Object.keys((o=t.F)!=null?o:{}),...a.filter((([n,c])=>31&c[0])).map((([n,c])=>{var p;const d=c[1]||n;return r.set(d,n),512&c[0]&&((p=t.C)==null||p.push([n,d])),d}))]))}}return e},dt=(e,t)=>{const i={i:t[0],p:t[1]};try{i.t=t[2],i.W=t[3],i.F=Se(e.F),i.P=e.P,i.U=e.U,i.C=[];const s=e.prototype.connectedCallback,o=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((l,a)=>{const r={i:0,$hostElement$:l,o:a,l:new Map,B:new Map};r.H=new Promise((c=>r.L=c)),l["s-p"]=[],l["s-rc"]=[];const n=r;l.__stencil__getHostRef=()=>n,512&a.i&&Me(l,r)})(this,i)},connectedCallback(){if(!this.__hasHostListenerAttached){const l=j(this);if(!l)return;Pe(this,l,i.W),this.__hasHostListenerAttached=!0}(l=>{if(!(1&N.i)){const a=j(l);if(!a)return;const r=a.o;if(1&a.i)Pe(l,a,r.W),a?.D||a?.H&&a.H.then((()=>{}));else{a.i|=1,12&r.i&&(n=>{if(!x.document)return;const c=n["s-cr"]=x.document.createComment("");c["s-cn"]=!0,E(n,c,n.firstChild)})(l);{let n=l;for(;n=n.parentNode||n.host;)if(n["s-p"]){je(a,a.R=n);break}}r.t&&Object.entries(r.t).map((([n,[c]])=>{if(31&c&&Object.prototype.hasOwnProperty.call(l,n)){const p=l[n];delete l[n],l[n]=p}})),(async(n,c,p)=>{let d;try{if(!(32&c.i)&&(c.i|=32,d=n.constructor,customElements.whenDefined(n.localName).then((()=>c.i|=128)),d&&d.style)){let h;typeof d.style=="string"&&(h=d.style);const S=me(p);U.has(S)||((v,m,y)=>{let g=U.get(v);K&&y?(g=g||new CSSStyleSheet,typeof g=="string"?g=m:g.replaceSync(m)):g=m,U.set(v,g)})(S,h,!!(1&p.i))}const u=c.R,f=()=>de(c,!0);u&&u["s-rc"]?u["s-rc"].push(f):f()}catch(u){I(u,n),c.A&&(c.A(),c.A=void 0),c.L&&c.L(n)}})(l,a,r)}}})(this),s&&s.call(this)},disconnectedCallback(){(async l=>{if(!(1&N.i)){const a=j(l);a?.V&&(a.V.map((r=>r())),a.V=void 0)}A.has(l)&&A.delete(l),l.shadowRoot&&A.has(l.shadowRoot)&&A.delete(l.shadowRoot)})(this),o&&o.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${i.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Ge.call(this,i)}}),Object.defineProperty(e,"is",{value:i.p,configurable:!0}),rt(e,i,3)}catch(s){return I(s),e}},Pe=(e,t,i)=>{i&&x.document&&i.map((([s,o,l])=>{const a=pt(x.document,e,s),r=ct(t,l),n=ut(s);N.ael(a,o,r,n),(t.V=t.V||[]).push((()=>N.rel(a,o,r,n)))}))},ct=(e,t)=>i=>{try{e.$hostElement$[t](i)}catch(s){I(s,e.$hostElement$)}},pt=(e,t,i)=>8&i?x:t,ut=e=>Fe?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function St(e){return e}function Ie(e){var t,i,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(i=Ie(e[t]))&&(s&&(s+=" "),s+=i)}else for(i in e)e[i]&&(s&&(s+=" "),s+=i);return s}function De(){for(var e,t,i=0,s="",o=arguments.length;i<o;i++)(e=arguments[i])&&(t=Ie(e))&&(s&&(s+=" "),s+=t);return s}const ht=Object.freeze(Object.defineProperty({__proto__:null,getGidsDisplaTagClassNames:({size:e,appearance:t,color:i},s)=>De("gids-display-tag",{"gids-display-tag--xsmall":e==="xs","gids-display-tag--small":e==="sm","gids-display-tag--large":e==="lg","gids-display-tag--accent-1":t==="subtle"&&i==="accent-1","gids-display-tag--accent-2":t==="subtle"&&i==="accent-2","gids-display-tag--accent-3":t==="subtle"&&i==="accent-3","gids-display-tag--accent-4":t==="subtle"&&i==="accent-4","gids-display-tag--accent-5":t==="subtle"&&i==="accent-5","gids-display-tag--bold-accent-1":t==="bold"&&i==="accent-1","gids-display-tag--bold-accent-2":t==="bold"&&i==="accent-2","gids-display-tag--bold-accent-3":t==="bold"&&i==="accent-3","gids-display-tag--bold-accent-4":t==="bold"&&i==="accent-4","gids-display-tag--bold-accent-5":t==="bold"&&i==="accent-5"},s)},Symbol.toStringTag,{value:"Module"})),gt=Object.freeze(Object.defineProperty({__proto__:null,getGidsExpansionBodyListItemClassNames:e=>De("gids-expansion-body-list-item",e)},Symbol.toStringTag,{value:"Module"})),{getGidsDisplaTagClassNames:ft}=ht,yt=({label:e,appearance:t="subtle",color:i,size:s="md",icon:o,class:l,...a})=>O("span",{class:ft({size:s,appearance:t,color:i},l),...a},o,e),{getGidsExpansionBodyListItemClassNames:mt}=gt,Ve=dt(class extends Be{constructor(e){super(),e!==!1&&this.__registerHost(),this.displayTagVisible=!1,this.displayTagColor="accent-5",this.displayTagSize="xs",this.displayTagAppearance="subtle",this.hasSubtitleItemListener=!1,this.hasSupportingTextItemListener=!1,this.handleSubtitleClick=t=>{this.applySubtitleSelection({listItemId:this.listItemId,label:this.label,subtitle:this.subtitle,supportingText:this.supportingText,listItemPressedType:"subtitle",originalEvent:t})},this.handleSupportingTextClick=t=>{this.applySupportingTextSelection({listItemId:this.listItemId,label:this.label,subtitle:this.subtitle,supportingText:this.supportingText,listItemPressedType:"supporting-text",originalEvent:t})}}handleDisplayTagVisibilityChange(e){this.displayTagVisible=e}handleDisplayTagColorChange(e){this.displayTagColor=e}handleDisplayTagSizeChange(e){this.displayTagSize=e}handleDisplayTagAppearanceChange(e){this.displayTagAppearance=e}connectedCallback(){this.attachSubtitleItemListener(),this.attachSupportingTextItemListener()}disconnectedCallback(){this.detachSubtitleItemListener(),this.detachSupportingTextItemListener()}applySubtitleSelection(e){this.onSubtitlePress&&this.onSubtitlePress(e)}applySupportingTextSelection(e){this.onSupportingTextPress&&this.onSupportingTextPress(e)}attachSubtitleItemListener(){this.hasSubtitleItemListener||(this.hostElement.addEventListener("onSubtitlePress",this.handleSubtitleClick),this.hasSubtitleItemListener=!0)}attachSupportingTextItemListener(){this.hasSupportingTextItemListener||(this.hostElement.addEventListener("onSupportingTextPress",this.handleSupportingTextClick),this.hasSupportingTextItemListener=!0)}detachSubtitleItemListener(){this.hasSubtitleItemListener&&(this.hostElement.removeEventListener("onSubtitlePress",this.handleSubtitleClick),this.hasSubtitleItemListener=!1)}detachSupportingTextItemListener(){this.hasSupportingTextItemListener&&(this.hostElement.removeEventListener("onSupportingTextPress",this.handleSupportingTextClick),this.hasSupportingTextItemListener=!1)}isValidLabel(){return!(!this?.label||this.label==="")}isValidSubtitle(){return!(!this?.subtitle||this.subtitle==="")}isValidSupportingText(){return!(!this?.supportingText||this.supportingText==="")}isDisplayTagVisible(){return!(!this.displayTagVisible||!this?.displayTagLabel||this.displayTagLabel==="")}convertTextToUppercase(e){return e&&e!==""?e.toUpperCase():""}render(){const e=mt(),t=this?.label,i=this?.subtitle,s=this?.supportingText,o=this.isValidLabel(),l=this.isValidSubtitle(),a=this.isValidSupportingText(),r=this.isDisplayTagVisible(),n=this?.displayTagLabel??"";return O(be,{key:"8da02d6491ec86087b4b42c64d553e31c533fade",class:e},o||l||r?O("div",{class:"gids-expansion-body-list-item__primary-container"},o||r?O("div",{class:"gids-expansion-body-list-item__primary-content"},o?O("span",{class:"gids-expansion-body-list-item__label"},this.convertTextToUppercase(t)):void 0,r?O(yt,{color:this.displayTagColor||"accent-5",label:n,size:this.displayTagSize,appearance:this.displayTagAppearance}):void 0):void 0,l?O("button",{type:"button",class:"gids-expansion-body-list-item__subtitle",onClick:this.handleSubtitleClick},i):void 0):void 0,a?O("div",{class:"gids-expansion-body-list-item__secondary-container"},O("button",{type:"button",class:"gids-expansion-body-list-item__supporting-text",onClick:this.handleSupportingTextClick},this.convertTextToUppercase(s))):void 0)}get hostElement(){return this}static get watchers(){return{displayTagVisible:[{handleDisplayTagVisibilityChange:0}],displayTagColor:[{handleDisplayTagColorChange:0}],displayTagSize:[{handleDisplayTagSizeChange:0}],displayTagAppearance:[{handleDisplayTagAppearanceChange:0}]}}static get style(){return'.gids-expansion-body-list-item{display:flex;flex:1;gap:var(--gids-gap-400);padding-bottom:var(--gids-padding-vertical-edge-to-element-300);position:relative;cursor:default}.gids-expansion-body-list-item::after{content:"";position:absolute;bottom:0;left:0;width:100%;height:1px;background-color:var(--gids-color-border-default);transition:background 0.3s ease-in-out;z-index:1}.gids-expansion-body-list-item::before{content:"";position:absolute;bottom:0;left:0;width:100%;height:2px;background:linear-gradient(to right, transparent 0%, transparent 25%, var(--gids-color-background-selected-pressed) 45%, var(--gids-color-background-selected-pressed) 55%, transparent 75%, transparent 100%);opacity:0;transition:opacity 0.3s ease-in-out;z-index:2}.gids-expansion-body-list-item:has(.gids-expansion-body-list-item__subtitle:hover)::after{background:linear-gradient(to right, var(--gids-color-border-default) 0%, var(--gids-color-border-default) 15%, var(--gids-color-background-selected-pressed) 45%, var(--gids-color-background-selected-pressed) 70%, var(--gids-color-border-default) 90%, var(--gids-color-border-default) 100%)}.gids-expansion-body-list-item:has(.gids-expansion-body-list-item__subtitle:hover)::before{opacity:1}.gids-expansion-body-list-item__primary-container{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;flex:1 0;gap:var(--gids-gap-150)}.gids-expansion-body-list-item__primary-content{display:flex;align-items:center;justify-content:center;gap:var(--gids-gap-200)}.gids-expansion-body-list-item__secondary-container{display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end}.gids-expansion-body-list-item__label{font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit);color:var(--gids-color-text-subtle);cursor:default}.gids-expansion-body-list-item__subtitle{margin:0;padding:0;appearance:none;border:none;background:none;font-family:var(--gids-typography-label-medium__font-family);font-size:var(--gids-typography-label-medium__font-size);font-weight:var(--gids-typography-label-medium__font-weight);letter-spacing:var(--gids-typography-label-medium__letter-spacing);line-height:var(--gids-typography-label-medium__line-height);text-transform:var(--gids-typography-label-medium__text-transform, inherit);font-variant-caps:var(--gids-typography-label-medium__font-variant-caps, inherit);color:var(--gids-color-text-default);cursor:pointer}.gids-expansion-body-list-item__supporting-text{margin:0;padding:0;appearance:none;border:none;background:none;font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit);color:var(--gids-color-text-subtle);padding:var(--gids-padding-vertical-edge-to-element-050) var(--gids-padding-horizontal-edge-to-element-100);border-radius:var(--gids-border-radius-sm);cursor:pointer;transition:background-color 0.3s ease-in-out, color 0.3s ease-in-out}.gids-expansion-body-list-item__supporting-text:hover{background-color:var(--gids-color-background-brand-bold-hovered);color:var(--gids-color-text-inverse)}.gids-expansion-body-list-item__supporting-text:active{background-color:var(--gids-color-background-brand-bold-pressed);color:var(--gids-color-text-inverse)}'}},[0,"gids-expansion-body-list-item",{listItemId:[1,"list-item-id"],label:[1],subtitle:[1],supportingText:[1,"supporting-text"],displayTagVisible:[4,"display-tag-visible"],displayTagColor:[1,"display-tag-color"],displayTagSize:[1,"display-tag-size"],displayTagAppearance:[1,"display-tag-appearance"],displayTagLabel:[1,"display-tag-label"],onSubtitlePress:[16],onSupportingTextPress:[16]},void 0,{displayTagVisible:[{handleDisplayTagVisibilityChange:0}],displayTagColor:[{handleDisplayTagColorChange:0}],displayTagSize:[{handleDisplayTagSizeChange:0}],displayTagAppearance:[{handleDisplayTagAppearanceChange:0}]}]);function Re(){typeof customElements<"u"&&["gids-expansion-body-list-item"].forEach((e=>{e==="gids-expansion-body-list-item"&&(customElements.get(e)||customElements.define(e,Ve))}))}Re();const bt=Ve,vt=Re;P.GidsExpansionBodyListItem=bt,P.defineCustomElement=vt,Object.defineProperty(P,Symbol.toStringTag,{value:"Module"})}));
|