@ganpatiinfo/gids-core-web 17.0.0 → 18.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.
Files changed (268) hide show
  1. package/dist/css/elements.css +4 -0
  2. package/dist/css/elements.css.map +1 -1
  3. package/dist/css/index.css +701 -4
  4. package/dist/css/index.css.map +1 -1
  5. package/dist/custom-elements.json +7 -1
  6. package/dist/gids-action-bar.js +1 -1
  7. package/dist/gids-activity-gauge.js +1 -1
  8. package/dist/gids-advanced-tooltip.js +1 -1
  9. package/dist/gids-bar-chart.js +1 -1
  10. package/dist/gids-bento-card.d.ts +11 -0
  11. package/dist/gids-bento-card.js +1 -0
  12. package/dist/gids-calendar-header-panel.js +1 -1
  13. package/dist/gids-calendar-month-list.js +1 -1
  14. package/dist/gids-calendar-year-list.js +1 -1
  15. package/dist/gids-calendar.js +1 -1
  16. package/dist/gids-carousel.d.ts +11 -0
  17. package/dist/gids-carousel.js +1 -0
  18. package/dist/gids-chart-legend-item.js +1 -1
  19. package/dist/gids-chart-legend.js +1 -1
  20. package/dist/gids-chart.js +1 -1
  21. package/dist/gids-chevron-button.js +1 -1
  22. package/dist/gids-dot.js +1 -1
  23. package/dist/gids-dropdown-field.js +1 -1
  24. package/dist/gids-dropdown-picker.js +1 -1
  25. package/dist/gids-dropdown.js +1 -1
  26. package/dist/gids-expansion-body-list-item.js +1 -1
  27. package/dist/gids-expansion-body-list.js +1 -1
  28. package/dist/gids-expansion-group.js +1 -1
  29. package/dist/gids-expansion.js +1 -1
  30. package/dist/gids-field.js +1 -1
  31. package/dist/gids-filter.js +1 -1
  32. package/dist/gids-flyout-panel.d.ts +11 -0
  33. package/dist/gids-flyout-panel.js +1 -0
  34. package/dist/gids-header-navigation-item.js +1 -1
  35. package/dist/gids-header-navigation.js +1 -1
  36. package/dist/gids-icon.js +1 -1
  37. package/dist/gids-input.js +1 -1
  38. package/dist/gids-level-gauge.js +1 -1
  39. package/dist/gids-line-chart.js +1 -1
  40. package/dist/gids-md-table.js +1 -1
  41. package/dist/gids-notification.js +1 -1
  42. package/dist/gids-overflow-container.js +1 -1
  43. package/dist/gids-overlay-provider.js +1 -1
  44. package/dist/gids-password-field.js +1 -1
  45. package/dist/gids-pie-chart.js +1 -1
  46. package/dist/gids-popover.js +1 -1
  47. package/dist/gids-profile-menu-header.js +1 -1
  48. package/dist/gids-profile-menu.js +1 -1
  49. package/dist/gids-profile.js +1 -1
  50. package/dist/gids-progress-circle.js +1 -1
  51. package/dist/gids-scrim.js +1 -1
  52. package/dist/gids-skeleton.js +1 -1
  53. package/dist/gids-snackbar.js +1 -1
  54. package/dist/gids-tab-item.js +1 -1
  55. package/dist/gids-tab.js +1 -1
  56. package/dist/gids-text-field.js +1 -1
  57. package/dist/gids-toggle-button.js +1 -1
  58. package/dist/gids-tooltip.js +1 -1
  59. package/dist/gids-transfer-list.js +1 -1
  60. package/dist/index.js +1 -1
  61. package/dist/{p-CoS0NuDU.js → p-4zKS6zkg.js} +1 -1
  62. package/dist/{p-Degg_WJz.js → p-83YZrIJw.js} +1 -1
  63. package/dist/{p-oJFgjzK5.js → p-B0hLXifA.js} +1 -1
  64. package/dist/{p-Bf3p-DY2.js → p-B4hcsDH0.js} +1 -1
  65. package/dist/{p-Dd-ec-e0.js → p-BdsUwTgh.js} +1 -1
  66. package/dist/p-BkxmRN-4.js +1 -0
  67. package/dist/p-BsC3-MVH.js +1 -0
  68. package/dist/{p-CiWZdp48.js → p-BthkC6NU.js} +1 -1
  69. package/dist/p-C-Lpfqcg.js +1 -0
  70. package/dist/{p-pVSQxFDF.js → p-C6GHG170.js} +1 -1
  71. package/dist/{p-DGXqnrKo.js → p-CBiu-Vh3.js} +1 -1
  72. package/dist/{p-Co23kQaH.js → p-CH4nrjpL.js} +1 -1
  73. package/dist/p-CIxuyUAl.js +1 -0
  74. package/dist/{p-DiTjFG30.js → p-CMW3SjbP.js} +1 -1
  75. package/dist/p-CPgZgSBN.js +1 -0
  76. package/dist/p-CTri3IsV.js +1 -0
  77. package/dist/{p-CaauwQNd.js → p-CZ_9Mt3B.js} +1 -1
  78. package/dist/{p-DAuO4g6g.js → p-Cacy0Dji.js} +1 -1
  79. package/dist/p-CcKHKwS0.js +1 -0
  80. package/dist/p-Cf3Ny79u.js +1 -0
  81. package/dist/{p-DbaNvRpS.js → p-CrqHKmjy.js} +1 -1
  82. package/dist/{p-UDG6tkD1.js → p-Cz9nwmgK.js} +1 -1
  83. package/dist/{p-Bs8TP3Rb.js → p-D0coZTd2.js} +1 -1
  84. package/dist/{p-CCpxJ8wu.js → p-DKOr5iAk.js} +1 -1
  85. package/dist/{p-Chb2OeFe.js → p-DYjV5XrH.js} +1 -1
  86. package/dist/{p-C-HyXFGR.js → p-DZ6xQXis.js} +1 -1
  87. package/dist/{p-CHGTBObD.js → p-DaB_FzcG.js} +1 -1
  88. package/dist/{p-DxX3B1f0.js → p-DgKrPmDn.js} +1 -1
  89. package/dist/p-Dg_WeHpV.js +1 -0
  90. package/dist/p-Do_VlNHg.js +1 -0
  91. package/dist/{p-DELTZ9Fh.js → p-DrDadv7P.js} +1 -1
  92. package/dist/p-Dw_kb9MC.js +1 -0
  93. package/dist/p-GcC8pCKF.js +1 -0
  94. package/dist/{p-BrYLEey4.js → p-KQxuw_F-.js} +1 -1
  95. package/dist/{p-d-t7__OQ.js → p-PcSMc4jQ.js} +1 -1
  96. package/dist/p-iQRr_fAH.js +1 -0
  97. package/dist/{p-u06XOrpj.js → p-j2_DKwBz.js} +1 -1
  98. package/dist/p-jGho9nbS.js +1 -0
  99. package/dist/{p-Bzjuvoza.js → p-xbqOQZl9.js} +1 -1
  100. package/dist/types/components/html/_GidsCarouselControl/GidsCarouselControl.d.ts +6 -0
  101. package/dist/types/components/html/_GidsCarouselPagination/GidsCarouselPagination.d.ts +5 -0
  102. package/dist/types/components/html/_GidsCarouselPaginationItem/GidsCarouselPaginationItem.d.ts +5 -0
  103. package/dist/types/components/shared/GidsFloatingElementManager.d.ts +6 -1
  104. package/dist/types/components/shared/GidsFloatingElementTypes.d.ts +2 -1
  105. package/dist/types/components/webComponents/GidsBentoCard/GidsBentoCard.d.ts +34 -0
  106. package/dist/types/components/webComponents/GidsCarousel/GidsCarousel.d.ts +49 -0
  107. package/dist/types/components/webComponents/GidsFlyoutPanel/GidsFlyoutPanel.d.ts +24 -0
  108. package/dist/types/components/webComponents/GidsHeaderNavigationItem/GidsHeaderNavigationItem.d.ts +2 -0
  109. package/dist/types/components.d.ts +165 -2
  110. package/dist-bundled/es/gids-action-bar.js +9 -9
  111. package/dist-bundled/es/gids-activity-gauge.js +1 -1
  112. package/dist-bundled/es/gids-advanced-tooltip.js +2 -2
  113. package/dist-bundled/es/gids-bar-chart.js +1 -1
  114. package/dist-bundled/es/gids-bento-card.js +84 -0
  115. package/dist-bundled/es/gids-calendar-header-panel.js +3 -3
  116. package/dist-bundled/es/gids-calendar-month-list.js +1 -1
  117. package/dist-bundled/es/gids-calendar-year-list.js +2 -2
  118. package/dist-bundled/es/gids-calendar.js +24 -24
  119. package/dist-bundled/es/gids-carousel.js +179 -0
  120. package/dist-bundled/es/gids-chart-legend-item.js +3 -3
  121. package/dist-bundled/es/gids-chart-legend.js +4 -4
  122. package/dist-bundled/es/gids-chart.js +11 -11
  123. package/dist-bundled/es/gids-chevron-button.js +3 -3
  124. package/dist-bundled/es/gids-dot.js +3 -3
  125. package/dist-bundled/es/gids-dropdown-field.js +9 -9
  126. package/dist-bundled/es/gids-dropdown-picker.js +4 -4
  127. package/dist-bundled/es/gids-dropdown.js +4 -4
  128. package/dist-bundled/es/gids-expansion-body-list-item.js +3 -3
  129. package/dist-bundled/es/gids-expansion-body-list.js +3 -3
  130. package/dist-bundled/es/gids-expansion-group.js +4 -4
  131. package/dist-bundled/es/gids-expansion.js +3 -3
  132. package/dist-bundled/es/gids-field.js +4 -4
  133. package/dist-bundled/es/gids-filter.js +2 -2
  134. package/dist-bundled/es/gids-flyout-panel.js +110 -0
  135. package/dist-bundled/es/gids-header-navigation-item.js +1 -1
  136. package/dist-bundled/es/gids-header-navigation.js +5 -5
  137. package/dist-bundled/es/gids-icon.js +4 -4
  138. package/dist-bundled/es/gids-input.js +2 -2
  139. package/dist-bundled/es/gids-level-gauge.js +2 -2
  140. package/dist-bundled/es/gids-line-chart.js +4 -4
  141. package/dist-bundled/es/gids-md-table.js +5 -5
  142. package/dist-bundled/es/gids-notification.js +1 -1
  143. package/dist-bundled/es/gids-overflow-container.js +5 -5
  144. package/dist-bundled/es/gids-overlay-provider.js +4 -4
  145. package/dist-bundled/es/gids-password-field.js +15 -15
  146. package/dist-bundled/es/gids-pie-chart.js +4 -4
  147. package/dist-bundled/es/gids-popover.js +4 -4
  148. package/dist-bundled/es/gids-profile-menu-header.js +1 -1
  149. package/dist-bundled/es/gids-profile-menu.js +4 -4
  150. package/dist-bundled/es/gids-profile.js +9 -9
  151. package/dist-bundled/es/gids-progress-circle.js +1 -1
  152. package/dist-bundled/es/gids-scrim.js +2 -2
  153. package/dist-bundled/es/gids-skeleton.js +9 -9
  154. package/dist-bundled/es/gids-snackbar.js +1 -1
  155. package/dist-bundled/es/gids-tab-item.js +7 -7
  156. package/dist-bundled/es/gids-tab.js +2 -2
  157. package/dist-bundled/es/gids-text-field.js +16 -16
  158. package/dist-bundled/es/gids-toggle-button.js +1 -1
  159. package/dist-bundled/es/gids-tooltip.js +7 -7
  160. package/dist-bundled/es/gids-transfer-list.js +7 -7
  161. package/dist-bundled/es/index.js +2 -2
  162. package/dist-bundled/es/{p-CoS0NuDU-ByDvQAzA.js → p-4zKS6zkg-CujzUjb6.js} +3 -3
  163. package/dist-bundled/es/{p-Degg_WJz-ORZcjc8G.js → p-83YZrIJw-Cu-e6WD3.js} +3 -3
  164. package/dist-bundled/es/{p-oJFgjzK5-CzagP1qD.js → p-B0hLXifA-CoImnX3T.js} +4 -4
  165. package/dist-bundled/es/p-BKcvOO8o-DcnO39au.js +1065 -0
  166. package/dist-bundled/es/{p-Dd-ec-e0-BqX_F6y0.js → p-BdsUwTgh-Cc7AQBsx.js} +9 -9
  167. package/dist-bundled/es/{p-Dg2yoUxw-DliMstZy.js → p-BkxmRN-4-DSiXCW8b.js} +5 -5
  168. package/dist-bundled/es/{p-C2POfZhu-DzG_JxV6.js → p-BsC3-MVH-j4fPhip5.js} +1 -1
  169. package/dist-bundled/es/{p-CiWZdp48-1vf7Xh2R.js → p-BthkC6NU-F03MhDw7.js} +7 -7
  170. package/dist-bundled/es/{p-DMNS1d8v-BX8e_AsY.js → p-C-Lpfqcg-DIuBhXzX.js} +5 -5
  171. package/dist-bundled/es/{p-pVSQxFDF-CsWxUaZX.js → p-C6GHG170-Di8lwQkY.js} +4 -4
  172. package/dist-bundled/es/{p-DGXqnrKo-C7feKS94.js → p-CBiu-Vh3-r-McGzCb.js} +9 -9
  173. package/dist-bundled/es/{p-Co23kQaH-QJyKkzgc.js → p-CH4nrjpL-CrEJXTn0.js} +9 -9
  174. package/dist-bundled/es/{p-DObJEzlz-tt9h5cuI.js → p-CIxuyUAl-B2DxRM64.js} +4 -4
  175. package/dist-bundled/es/{p-DiTjFG30-CQkxfu2K.js → p-CMW3SjbP-ZYYIF_i6.js} +4 -4
  176. package/dist-bundled/es/p-CPgZgSBN-DsTNcUR7.js +7 -0
  177. package/dist-bundled/es/p-CTri3IsV-B1u0rrXF.js +122 -0
  178. package/dist-bundled/es/{p-CaauwQNd-D6_PbcRr.js → p-CZ_9Mt3B-BIYkPAXM.js} +1 -1
  179. package/dist-bundled/es/{p-DAuO4g6g-C8miaL-N.js → p-Cacy0Dji-D-D254kT.js} +7 -7
  180. package/dist-bundled/es/{p-CXFvqDBs-offadaUn.js → p-CcKHKwS0-Bw63tTOA.js} +1 -1
  181. package/dist-bundled/es/{p-BAs2-lhK-31X-j6-3.js → p-Cf3Ny79u-VGT_IyGI.js} +6 -6
  182. package/dist-bundled/es/{p-DbaNvRpS-r7kCW1TY.js → p-CrqHKmjy-DwSsCofb.js} +10 -10
  183. package/dist-bundled/es/{p-UDG6tkD1-JTLPxkEn.js → p-Cz9nwmgK-BO8HUAvD.js} +10 -10
  184. package/dist-bundled/es/{p-Bs8TP3Rb-BdcS7d5q.js → p-D0coZTd2-KhJZ57gK.js} +3 -3
  185. package/dist-bundled/es/{p-CCpxJ8wu-CMYQqNoP.js → p-DKOr5iAk-DA3Kc4Cn.js} +9 -9
  186. package/dist-bundled/es/{p-Chb2OeFe-DDv_WPhe.js → p-DYjV5XrH-CI9LfBFx.js} +3 -3
  187. package/dist-bundled/es/{p-C-HyXFGR-UnFcWLOQ.js → p-DZ6xQXis-XT86MMis.js} +7 -7
  188. package/dist-bundled/es/{p-CHGTBObD-D_K9_Tmh.js → p-DaB_FzcG-DnRTURxL.js} +1 -1
  189. package/dist-bundled/es/{p-DxX3B1f0-D1URliVh.js → p-DgKrPmDn-C2CSKicX.js} +6 -6
  190. package/dist-bundled/es/{p-UVmSPzTd-CR1higgJ.js → p-Dg_WeHpV-DehzGL6g.js} +9 -9
  191. package/dist-bundled/es/{p-UxDcM-C5-BJO4X0jM.js → p-Do_VlNHg-_g7lcvwR.js} +2 -2
  192. package/dist-bundled/es/{p-DELTZ9Fh-Byr0nLtY.js → p-DrDadv7P-D4rbSYTr.js} +4 -4
  193. package/dist-bundled/es/{p-bhEHIxPv-ujyxL30O.js → p-Dw_kb9MC-BTd0lrGA.js} +36 -21
  194. package/dist-bundled/es/{p-CZBiavxU-CIstIm2b.js → p-GcC8pCKF-CZJFTFeN.js} +10 -10
  195. package/dist-bundled/es/{p-BrYLEey4-DuajY4uD.js → p-KQxuw_F--BTSoDfF9.js} +9 -9
  196. package/dist-bundled/es/{p-d-t7__OQ-CKPQZt2t.js → p-PcSMc4jQ-CzYLaIZr.js} +14 -14
  197. package/dist-bundled/es/{p-D4Pimu_8-ARSuGBs4.js → p-iQRr_fAH-ClfWEu03.js} +13 -13
  198. package/dist-bundled/es/{p-u06XOrpj-C1tNznDd.js → p-j2_DKwBz-CqyuxxnN.js} +8 -8
  199. package/dist-bundled/es/{p-Bw2pVReY-K9pdG-hw.js → p-jGho9nbS-BDiBvsn2.js} +10 -10
  200. package/dist-bundled/es/{p-Bzjuvoza-CzNs69NV.js → p-xbqOQZl9-BK9vjfj7.js} +15 -15
  201. package/dist-bundled/umd/gids-action-bar.umd.js +3 -3
  202. package/dist-bundled/umd/gids-activity-gauge.umd.js +2 -2
  203. package/dist-bundled/umd/gids-advanced-tooltip.umd.js +2 -2
  204. package/dist-bundled/umd/gids-bar-chart.umd.js +1 -1
  205. package/dist-bundled/umd/gids-bento-card.umd.js +5 -0
  206. package/dist-bundled/umd/gids-calendar-header-panel.umd.js +1 -1
  207. package/dist-bundled/umd/gids-calendar-month-list.umd.js +1 -1
  208. package/dist-bundled/umd/gids-calendar-year-list.umd.js +1 -1
  209. package/dist-bundled/umd/gids-calendar.umd.js +1 -1
  210. package/dist-bundled/umd/gids-carousel.umd.js +5 -0
  211. package/dist-bundled/umd/gids-chart-legend-item.umd.js +1 -1
  212. package/dist-bundled/umd/gids-chart-legend.umd.js +1 -1
  213. package/dist-bundled/umd/gids-chart.umd.js +1 -1
  214. package/dist-bundled/umd/gids-chevron-button.umd.js +1 -1
  215. package/dist-bundled/umd/gids-dot.umd.js +1 -1
  216. package/dist-bundled/umd/gids-dropdown-field.umd.js +1 -1
  217. package/dist-bundled/umd/gids-dropdown-picker.umd.js +2 -2
  218. package/dist-bundled/umd/gids-dropdown.umd.js +1 -1
  219. package/dist-bundled/umd/gids-expansion-body-list-item.umd.js +1 -1
  220. package/dist-bundled/umd/gids-expansion-body-list.umd.js +1 -1
  221. package/dist-bundled/umd/gids-expansion-group.umd.js +1 -1
  222. package/dist-bundled/umd/gids-expansion.umd.js +1 -1
  223. package/dist-bundled/umd/gids-field.umd.js +2 -2
  224. package/dist-bundled/umd/gids-filter.umd.js +3 -3
  225. package/dist-bundled/umd/gids-flyout-panel.umd.js +5 -0
  226. package/dist-bundled/umd/gids-header-navigation-item.umd.js +2 -2
  227. package/dist-bundled/umd/gids-header-navigation.umd.js +2 -2
  228. package/dist-bundled/umd/gids-icon.umd.js +1 -1
  229. package/dist-bundled/umd/gids-input.umd.js +2 -2
  230. package/dist-bundled/umd/gids-line-chart.umd.js +1 -1
  231. package/dist-bundled/umd/gids-md-table.umd.js +1 -1
  232. package/dist-bundled/umd/gids-overflow-container.umd.js +1 -1
  233. package/dist-bundled/umd/gids-overlay-provider.umd.js +1 -1
  234. package/dist-bundled/umd/gids-password-field.umd.js +1 -1
  235. package/dist-bundled/umd/gids-pie-chart.umd.js +1 -1
  236. package/dist-bundled/umd/gids-popover.umd.js +2 -2
  237. package/dist-bundled/umd/gids-profile-menu-header.umd.js +1 -1
  238. package/dist-bundled/umd/gids-profile-menu.umd.js +1 -1
  239. package/dist-bundled/umd/gids-profile.umd.js +1 -1
  240. package/dist-bundled/umd/gids-scrim.umd.js +1 -1
  241. package/dist-bundled/umd/gids-skeleton.umd.js +1 -1
  242. package/dist-bundled/umd/gids-tab-item.umd.js +1 -1
  243. package/dist-bundled/umd/gids-tab.umd.js +1 -1
  244. package/dist-bundled/umd/gids-text-field.umd.js +2 -2
  245. package/dist-bundled/umd/gids-toggle-button.umd.js +3 -3
  246. package/dist-bundled/umd/gids-tooltip.umd.js +2 -2
  247. package/dist-bundled/umd/gids-transfer-list.umd.js +1 -1
  248. package/dist-bundled/umd/index.umd.js +2 -2
  249. package/dist-bundled/umd-complete/gids-core-web.umd.js +4 -4
  250. package/package.json +29 -5
  251. package/dist/p-B8kX8Vqv.js +0 -1
  252. package/dist/p-BAs2-lhK.js +0 -1
  253. package/dist/p-BBszCFSA.js +0 -1
  254. package/dist/p-Bw2pVReY.js +0 -1
  255. package/dist/p-C2POfZhu.js +0 -1
  256. package/dist/p-CXFvqDBs.js +0 -1
  257. package/dist/p-CZBiavxU.js +0 -1
  258. package/dist/p-D4Pimu_8.js +0 -1
  259. package/dist/p-DMNS1d8v.js +0 -1
  260. package/dist/p-DObJEzlz.js +0 -1
  261. package/dist/p-Dg2yoUxw.js +0 -1
  262. package/dist/p-UVmSPzTd.js +0 -1
  263. package/dist/p-UxDcM-C5.js +0 -1
  264. package/dist/p-bhEHIxPv.js +0 -1
  265. package/dist-bundled/es/p-B8kX8Vqv-trBz4jdS.js +0 -7
  266. package/dist-bundled/es/p-BBszCFSA-BN0-eWJX.js +0 -115
  267. package/dist-bundled/es/p-BKcvOO8o-L5KtCP_k.js +0 -1024
  268. /package/dist-bundled/es/{p-Bf3p-DY2-CPqEc-vc.js → p-B4hcsDH0-CPqEc-vc.js} +0 -0
@@ -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 b=this["s-cr"].parentElement;return(b.__childNodes?b.childNodes:(S=>{const g=[];for(let y=0;y<S.length;y++){const p=S[y]["s-nr"]||void 0;p&&p.isConnected&&g.push(p)}return g})(b.childNodes)).forEach((S=>{h===V(S)&&m.push(S)})),a?m.filter((S=>S.nodeType===1)):m}).bind(d);d.assignedElements=u(!0),d.assignedNodes=u(!1)})(l),c=e&&e.m&&e.m[o],c&&c.O===n.O&&e.S&&Ee(e.S)),l},Ee=e=>{_.i|=1;const t=e.closest(L.toLowerCase());if(t!=null){const o=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const n of o?s.reverse():s)n["s-sh"]!=null&&(E(t,n,o??null),n["s-sh"]=void 0,Y=!0)}_.i&=-2},J=(e,t)=>{_.i|=1;const o=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"]===L&&o.push(s)}for(let s=o.length-1;s>=0;s--){const n=o[s];n["s-hn"]!==L&&n["s-ol"]&&(E(B(n).parentNode,n,B(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,Y=!0),t&&J(n,t)}_.i&=-2},je=(e,t,o,s,n,l)=>{let i,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===L&&(c=c.shadowRoot),o.O==="template"&&(c=c.content);n<=l;++n)s[n]&&(i=Z(null,o,n),i&&(s[n].S=i,E(c,i,B(t))))},xe=(e,t,o)=>{for(let s=t;s<=o;++s){const n=e[s];if(n){const l=n.S;Te(n),l&&(I=!0,l["s-ol"]?l["s-ol"].remove():J(l,!0),l.remove())}}},K=(e,t,o=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:o?(o&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),B=e=>e&&e["s-ol"]||e,D=(e,t,o=!1)=>{const s=t.S=e.S,n=e.m,l=t.m,i=t.O,c=t.h;let r;c==null?(C=i==="svg"||i!=="foreignObject"&&C,i!=="slot"||W||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Ee(t.S.parentElement)),ie(e,t,C),n!==null&&l!==null?((d,u,a,f,m=!1)=>{let h,b,S=0,g=0,y=0,p=0,O=u.length-1,v=u[0],N=u[O],k=f.length-1,$=f[0],j=f[k];const Ue=a.O==="template"?d.content:d;for(;S<=O&&g<=k;)if(v==null)v=u[++S];else if(N==null)N=u[--O];else if($==null)$=f[++g];else if(j==null)j=f[--k];else if(K(v,$,m))D(v,$,m),v=u[++S],$=f[++g];else if(K(N,j,m))D(N,j,m),N=u[--O],j=f[--k];else if(K(v,j,m))v.O!=="slot"&&j.O!=="slot"||J(v.S.parentNode,!1),D(v,j,m),E(Ue,v.S,N.S.nextSibling),v=u[++S],j=f[--k];else if(K(N,$,m))v.O!=="slot"&&j.O!=="slot"||J(N.S.parentNode,!1),D(N,$,m),E(Ue,N.S,v.S),N=u[--O],$=f[++g];else{for(y=-1,p=S;p<=O;++p)if(u[p]&&u[p].$!==null&&u[p].$===$.$){y=p;break}y>=0?(b=u[y],b.O!==$.O?h=Z(u&&u[g],a,y):(D(b,$,m),u[y]=void 0,h=b.S),$=f[++g]):(h=Z(u&&u[g],a,g),$=f[++g]),h&&E(B(v.S).parentNode,h,B(v.S))}S>O?je(d,f[k+1]==null?null:f[k+1].S,a,f,g,k):g>k&&xe(u,S,O)})(s,n,t,l,o):l!==null?(e.h!==null&&(s.textContent=""),je(s,null,t,l,0,l.length-1)):!o&&n!==null&&xe(n,0,n.length-1),C&&i==="svg"&&(C=!1)):(r=s["s-cr"])?r.parentNode.textContent=c:e.h!==c&&(s.data=c)},A=[],Ae=e=>{let t,o,s;const n=e.__childNodes||e.childNodes;for(const l of n){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){o=t.parentNode.__childNodes||t.parentNode.childNodes;const i=l["s-sn"];for(s=o.length-1;s>=0;s--)if(t=o[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===l["s-hn"]||t["s-sh"]&&t["s-sh"]===l["s-hn"]))if(Se(t,i)){let c=A.find((r=>r.k===t));I=!0,t["s-sn"]=t["s-sn"]||i,c?(c.k["s-sh"]=l["s-hn"],c.N=l):(t["s-sh"]=l["s-hn"],A.push({N:l,k:t})),t["s-sr"]&&A.map((r=>{Se(r.k,t["s-sn"])&&(c=A.find((d=>d.k===t)),c&&!r.N&&(r.N=c.N))}))}else A.some((c=>c.k===t))||A.push({k:t})}l.nodeType===1&&Ae(l)}},Te=e=>{e.v&&e.v.ref&&ce.push((()=>e.v.ref(null))),e.m&&e.m.map(Te)},nt=(e,t)=>{ae.push((()=>e(t)))},E=(e,t,o,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,o);const{slotNode:n}=(function(l,i){var c;if(!(i=i||((c=l["s-ol"])==null?void 0:c.parentElement)))return{slotNode:null,slotName:""};const r=l["s-sn"]=V(l)||"";return{slotNode:oe(ne(i,"childNodes"),i.tagName,r)[0],slotName:r}})(t);return n&&!s&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,o):e?.insertBefore(t,o)},lt=(e,t,o=!1)=>{var s,n,l,i,c;const r=e.$hostElement$,d=e.o,u=e.M||z(null,null);var a;const f=(a=t)&&a.O===Qe?t:G(null,null,t);if(L=r.tagName,d.C&&(f.v=f.v||{},d.C.forEach((([m,h])=>{f.v[h]=r[m]}))),o&&f.v)for(const m of Object.keys(f.v))r.hasAttribute(m)&&!["key","ref","style","class"].includes(m)&&(f.v[m]=r[m]);if(f.O=null,f.i|=4,e.M=f,f.S=u.S=r.shadowRoot||r,W=!(!(1&d.i)||128&d.i),le=r["s-cr"],I=!1,D(u,f,o),_.i|=1,Y){Ae(f.S);for(const m of A){const h=m.k;if(!h["s-ol"]&&w.document){const b=w.document.createTextNode("");b["s-nr"]=h,E(h.parentNode,h["s-ol"]=b,h,o)}}for(const m of A){const h=m.k,b=m.N;if(h.nodeType===1&&o&&(h["s-ih"]=(s=h.hidden)!=null&&s),b){const S=b.parentNode;let g=b.nextSibling;if(g&&g.nodeType===1){let y=(n=h["s-ol"])==null?void 0:n.previousSibling;for(;y;){let p=(l=y["s-nr"])!=null?l:null;if(p&&p["s-sn"]===h["s-sn"]&&S===(p.__parentNode||p.parentNode)){for(p=p.nextSibling;p===h||p?.["s-sr"];)p=p?.nextSibling;if(!p||!p["s-nr"]){g=p;break}}y=y.previousSibling}}if((!g&&S!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==g)&&h!==g){if(E(S,h,g,o),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const y=w.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,o),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(i=h["s-ih"])!=null&&i)}h&&typeof b["s-rf"]=="function"&&b["s-rf"](b)}else h.nodeType===1&&(h.hidden=!0)}}if(I&&ve(f.S),_.i&=-2,A.length=0,!W&&!(1&d.i)&&r["s-cr"]){const m=f.S.__childNodes||f.S.childNodes;for(const h of m)if(h["s-hn"]!==L&&!h["s-sh"]){if(o&&h["s-ih"]==null&&(h["s-ih"]=(c=h.hidden)!=null&&c),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const b=w.document.createComment("s-nt-"+h.nodeValue);b["s-sn"]=h["s-sn"],E(h.parentNode,b,h,o),h.parentNode.removeChild(h)}}}le=void 0,ce.forEach((m=>m())),ce.length=0,ae.forEach((m=>m())),ae.length=0},Re=(e,t)=>{if(t&&!e.A&&t["s-p"]){const o=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(o-1,1),s()})))}},de=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Re(e,e.R);const o=()=>rt(e,t);if(!t)return Ze(o);queueMicrotask((()=>{o()}))},rt=(e,t)=>{const o=e.$hostElement$,s=o;if(!s)throw new Error(`Can't render component <${o.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 n;return n=U(s,t?"componentWillLoad":"componentWillUpdate",void 0,o),n=Pe(n,(()=>U(s,"componentWillRender",void 0,o))),Pe(n,(()=>ct(e,s,t)))},Pe=(e,t)=>it(e)?e.then(t).catch((o=>{console.error(o),t()})):t(),it=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",ct=async(e,t,o)=>{var s;const n=e.$hostElement$,l=n["s-rc"];o&&(i=>{const c=i.o,r=i.$hostElement$,d=c.i,u=((a,f)=>{var m,h,b;const S=be(f),g=q.get(S);if(!w.document)return S;if(a=a.nodeType===11?a:w.document,g)if(typeof g=="string"){let y,p=T.get(a=a.head||a);if(p||T.set(a,p=new Set),!p.has(S)){y=w.document.createElement("style"),y.textContent=g;const O=(m=_._)!=null?m:(function(){var v,N,k;return(k=(N=(v=w.document.head)==null?void 0:v.querySelector('meta[name="csp-nonce"]'))==null?void 0:N.getAttribute("content"))!=null?k:void 0})();if(O!=null&&y.setAttribute("nonce",O),!(1&f.i))if(a.nodeName==="HEAD"){const v=a.querySelectorAll("link[rel=preconnect]"),N=v.length>0?v[v.length-1].nextSibling:a.querySelector("style");a.insertBefore(y,N?.parentNode===a?N:null)}else if("host"in a)if(Q){const v=new((h=a.defaultView)!=null?h:a.ownerDocument.defaultView).CSSStyleSheet;v.replaceSync(g),X?a.adoptedStyleSheets.unshift(v):a.adoptedStyleSheets=[v,...a.adoptedStyleSheets]}else{const v=a.querySelector("style");v?v.textContent=g+v.textContent:a.prepend(y)}else a.append(y);1&f.i&&a.insertBefore(y,null),4&f.i&&(y.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),p&&p.add(S)}}else{let y=T.get(a);if(y||T.set(a,y=new Set),!y.has(S)){const p=(b=a.defaultView)!=null?b:a.ownerDocument.defaultView;let O;if(g.constructor===p.CSSStyleSheet)O=g;else{O=new p.CSSStyleSheet;for(let v=0;v<g.cssRules.length;v++)O.insertRule(g.cssRules[v].cssText,v)}X?a.adoptedStyleSheets.push(O):a.adoptedStyleSheets=[...a.adoptedStyleSheets,O],y.add(S)}}return S})(r.shadowRoot?r.shadowRoot:r.getRootNode(),c);10&d&&(r["s-sc"]=u,r.classList.add(u+"-h"))})(e),at(e,t,n,o),l&&(l.map((i=>i())),n["s-rc"]=void 0);{const i=(s=n["s-p"])!=null?s:[],c=()=>dt(e);i.length===0?c():(Promise.all(i).then(c).catch(c),e.i|=4,i.length=0)}},at=(e,t,o,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,lt(e,t,s)}catch(n){P(n,e.$hostElement$)}return null},dt=e=>{const t=e.$hostElement$,o=t,s=e.R;U(o,"componentDidRender",void 0,t),64&e.i?U(o,"componentDidUpdate",void 0,t):(e.i|=64,ft(t),U(o,"componentDidLoad",void 0,t),e.L(t),s||ut()),e.A&&(e.A(),e.A=void 0),512&e.i&&se((()=>de(e,!1))),e.i&=-517},ut=()=>{se((()=>tt(w,"appload",{detail:{namespace:"gids-core-web"}})))},U=(e,t,o,s)=>{if(e&&e[t])try{return e[t](o)}catch(n){P(n,s)}},ft=e=>e.classList.add("hydrated"),Le=(e,t,o,s)=>{const n=x(e);if(!n)return;const l=e,i=n.l.get(t),c=n.i,r=l;o=Oe(o,s.t[t][0],!!(64&s.i));const d=Number.isNaN(i)&&Number.isNaN(o);if(o!==i&&!d){if(n.l.set(t,o),s.F){const u=s.F[t];u&&u.map((a=>{try{const[[f,m]]=Object.entries(a);(128&c||1&m)&&(r?r[f](o,i,t):n.T.push((()=>{n.D[f](o,i,t)})))}catch(f){P(f,l)}}))}if(2&c){if(r.componentShouldUpdate&&r.componentShouldUpdate(o,i,t)===!1&&!(16&c))return;16&c||de(n,!1)}}},ht=(e,t,o)=>{var s,n;const l=e.prototype;64&t.i&&1&o&&Ge.forEach((i=>{const c=l[i];Object.defineProperty(l,i,{value(...r){var d;const u=x(this),a=this;a?typeof c=="function"&&c.call(a,...r):(d=u?.H)==null||d.then((f=>{const m=f[i];typeof m=="function"&&m.call(f,...r)}))}})}));{e.watchers&&!t.F&&(t.F=Ne(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const i=Object.entries((s=t.t)!=null?s:{});i.map((([c,[r]])=>{if(31&r||32&r){const{get:d,set:u}=M(l,c)||{};d&&(t.t[c][0]|=2048),u&&(t.t[c][0]|=4096),Object.defineProperty(l,c,{get(){return d?d.apply(this):(a=c,x(this).l.get(a));var a},configurable:!0,enumerable:!0}),Object.defineProperty(l,c,{set(a){const f=x(this);if(f){if(u)return(32&r?this[c]:f.$hostElement$[c])===void 0&&f.l.get(c)&&(a=f.l.get(c)),u.apply(this,[Oe(a,r,!!(64&t.i))]),void Le(this,c,a=32&r?this[c]:f.$hostElement$[c],t);Le(this,c,a,t)}}})}}));{const c=new Map;l.attributeChangedCallback=function(r,d,u){_.jmp((()=>{var a;const f=c.get(r),m=x(this);if(this.hasOwnProperty(f),l.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==u)return;if(f==null){const y=m?.i;if(m&&y&&!(8&y)&&u!==d){const p=this,O=(a=t.F)==null?void 0:a[r];O?.forEach((v=>{const[[N,k]]=Object.entries(v);p[N]!=null&&(128&y||1&k)&&p[N].call(p,u,d,r)}))}return}const h=i.find((([y])=>y===f)),b=h&&4&h[1][0],S=b&&u===null&&this[f]===void 0;b&&(u=u!==null&&u!=="false");const g=Object.getOwnPropertyDescriptor(l,f);S||u==this[f]||g.get&&!g.set||(this[f]=u)}))},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.F)!=null?n:{}),...i.filter((([r,d])=>31&d[0])).map((([r,d])=>{var u;const a=d[1]||r;return c.set(a,r),512&d[0]&&((u=t.C)==null||u.push([r,a])),a}))]))}}return e},pt=(e,t)=>{const o={i:t[0],p:t[1]};try{o.t=t[2],o.W=t[3],o.F=Ne(e.F),o.P=e.P,o.U=e.U,o.C=[];const s=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((l,i)=>{const c={i:0,$hostElement$:l,o:i,l:new Map,B:new Map};c.H=new Promise((d=>c.L=d)),l["s-p"]=[],l["s-rc"]=[];const r=c;l.__stencil__getHostRef=()=>r,512&i.i&&qe(l,c)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const l=x(this);if(!l)return;Me(this,l,o.W),this.__hasHostListenerAttached=!0}(l=>{if(!(1&_.i)){const i=x(l);if(!i)return;const c=i.o;if(1&i.i)Me(l,i,c.W),i?.D||i?.H&&i.H.then((()=>{}));else{i.i|=1,12&c.i&&(r=>{if(!w.document)return;const d=r["s-cr"]=w.document.createComment("");d["s-cn"]=!0,E(r,d,r.firstChild)})(l);{let r=l;for(;r=r.parentNode||r.host;)if(r["s-p"]){Re(i,i.R=r);break}}c.t&&Object.entries(c.t).map((([r,[d]])=>{if(31&d&&Object.prototype.hasOwnProperty.call(l,r)){const u=l[r];delete l[r],l[r]=u}})),(async(r,d,u)=>{let a;try{if(!(32&d.i)&&(d.i|=32,a=r.constructor,customElements.whenDefined(r.localName).then((()=>d.i|=128)),a&&a.style)){let h;typeof a.style=="string"&&(h=a.style);const b=be(u);q.has(b)||((S,g,y)=>{let p=q.get(S);Q&&y?(p=p||new CSSStyleSheet,typeof p=="string"?p=g:p.replaceSync(g)):p=g,q.set(S,p)})(b,h,!!(1&u.i))}const f=d.R,m=()=>de(d,!0);f&&f["s-rc"]?f["s-rc"].push(m):m()}catch(f){P(f,r),d.A&&(d.A(),d.A=void 0),d.L&&d.L(r)}})(l,i,c)}}})(this),s&&s.call(this)},disconnectedCallback(){(async l=>{if(!(1&_.i)){const i=x(l);i?.V&&(i.V.map((c=>c())),i.V=void 0)}T.has(l)&&T.delete(l),l.shadowRoot&&T.has(l.shadowRoot)&&T.delete(l.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${o.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Je.call(this,o)}}),Object.defineProperty(e,"is",{value:o.p,configurable:!0}),ht(e,o,3)}catch(s){return P(s),e}},Me=(e,t,o)=>{o&&w.document&&o.map((([s,n,l])=>{const i=yt(w.document,e,s),c=mt(t,l),r=gt(s);_.ael(i,n,c,r),(t.V=t.V||[]).push((()=>_.rel(i,n,c,r)))}))},mt=(e,t)=>o=>{try{e.$hostElement$[t](o)}catch(s){P(s,e.$hostElement$)}},yt=(e,t,o)=>8&o?w:t,gt=e=>Ie?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function Ot(e){return e}const H=globalThis.CSSStyleSheet!==void 0?new CSSStyleSheet:void 0;let De=!1;H&&document.adoptedStyleSheets?document.adoptedStyleSheets.push(H):console.warn("CSSStyleSheet is not defined. Omitting constructed stylesheet behaviour.");let ue=null;const fe=globalThis.MutationObserver!==void 0?new MutationObserver((()=>{He()})):void 0,He=()=>{if(H===void 0)return!1;const e=(()=>{if(H===void 0)return;const t=[];for(let o=0;o<document.styleSheets.length;o++){const s=document.styleSheets.item(o);if(s)try{let n=-1,l=0;for(let i=0;i<s.cssRules.length;i++){const c=s.cssRules.item(i);if(c?.cssText.startsWith("gids-global-styles-start"))n=i;else if(n>-1){if(c?.cssText.startsWith("gids-global-styles-end")){l=i-n+1;break}t.push(c)}}if(n>-1)return{rulesStartIndex:n,originalRulesCount:l,rules:t,styleSheet:s}}catch(n){if(!(n instanceof DOMException))throw n}}})();if(e!==void 0){const t=e.styleSheet.ownerNode;return fe!==void 0&&t!==ue&&(ue&&fe.disconnect(),t instanceof Element&&fe.observe(t,{childList:!0,characterData:!0,subtree:!0}),ue=t),H.replaceSync((o=>o.rules.map((s=>s.cssText)).join(""))(e)),(o=>{const{rulesStartIndex:s,originalRulesCount:n,styleSheet:l}=o;for(let i=0;i<n;i++)l.deleteRule(s)})(e),!0}return console.warn("refreshConstructedGidsStylesheet: Gids stylesheet is not found in document."),!1},vt=()=>(De||(De=He()),H);function Fe(e){var t,o,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(o=Fe(e[t]))&&(s&&(s+=" "),s+=o)}else for(o in e)e[o]&&(s&&(s+=" "),s+=o);return s}function St(){for(var e,t,o=0,s="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=Fe(e))&&(s&&(s+=" "),s+=t);return s}const bt=Object.freeze(Object.defineProperty({__proto__:null,getGidsScrimClassNames:e=>St("gids-scrim",e)},Symbol.toStringTag,{value:"Module"})),{getGidsScrimClassNames:Ve}=bt,We=pt(class extends ze{constructor(e){super(),e!==!1&&this.__registerHost(),this.__attachShadow(),this.activeClasses=""}handleExtraClassesChange(e){this.activeClasses=Ve(e)}connectedCallback(){const e=vt();e!==void 0&&this._el.shadowRoot?.adoptedStyleSheets.push(e),this.activeClasses=Ve(this.extraClasses)}render(){return G("div",{key:"dfe5f3ca193fe3c81b79d43391052b06103de249",class:this.activeClasses,part:"root"},G("slot",{key:"ae8ccbb1edf80ba2913c0af0bf06674a81e9e679"}))}get _el(){return this}static get watchers(){return{extraClasses:[{handleExtraClassesChange:0}]}}static get style(){return".gids-scrim{display:flex;flex-direction:column;background-color:var(--gids-color-background-scrim);height:100vh !important;position:absolute;top:0;bottom:0;left:0;right:0;z-index:1001;align-items:center;justify-content:center;backdrop-filter:blur(12)}"}},[257,"gids-scrim",{extraClasses:[513,"extra-classes"],activeClasses:[32]},void 0,{extraClasses:[{handleExtraClassesChange:0}]}]);function Be(){typeof customElements<"u"&&["gids-scrim"].forEach((e=>{e==="gids-scrim"&&(customElements.get(e)||customElements.define(e,We))}))}Be();const wt=We,Nt=Be;R.GidsScrim=wt,R.defineCustomElement=Nt,Object.defineProperty(R,Symbol.toStringTag,{value:"Module"})}));
5
+ `);const b=this["s-cr"].parentElement;return(b.__childNodes?b.childNodes:(S=>{const g=[];for(let y=0;y<S.length;y++){const p=S[y]["s-nr"]||void 0;p&&p.isConnected&&g.push(p)}return g})(b.childNodes)).forEach((S=>{h===V(S)&&m.push(S)})),a?m.filter((S=>S.nodeType===1)):m}).bind(d);d.assignedElements=u(!0),d.assignedNodes=u(!1)})(l),c=e&&e.m&&e.m[o],c&&c.O===n.O&&e.S&&Ee(e.S)),l},Ee=e=>{_.i|=1;const t=e.closest(L.toLowerCase());if(t!=null){const o=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const n of o?s.reverse():s)n["s-sh"]!=null&&(E(t,n,o??null),n["s-sh"]=void 0,Y=!0)}_.i&=-2},J=(e,t)=>{_.i|=1;const o=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"]===L&&o.push(s)}for(let s=o.length-1;s>=0;s--){const n=o[s];n["s-hn"]!==L&&n["s-ol"]&&(E(B(n).parentNode,n,B(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,Y=!0),t&&J(n,t)}_.i&=-2},je=(e,t,o,s,n,l)=>{let i,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===L&&(c=c.shadowRoot),o.O==="template"&&(c=c.content);n<=l;++n)s[n]&&(i=Z(null,o,n),i&&(s[n].S=i,E(c,i,B(t))))},xe=(e,t,o)=>{for(let s=t;s<=o;++s){const n=e[s];if(n){const l=n.S;Te(n),l&&(I=!0,l["s-ol"]?l["s-ol"].remove():J(l,!0),l.remove())}}},K=(e,t,o=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:o?(o&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),B=e=>e&&e["s-ol"]||e,D=(e,t,o=!1)=>{const s=t.S=e.S,n=e.m,l=t.m,i=t.O,c=t.h;let r;c==null?(C=i==="svg"||i!=="foreignObject"&&C,i!=="slot"||W||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Ee(t.S.parentElement)),ie(e,t,C),n!==null&&l!==null?((d,u,a,f,m=!1)=>{let h,b,S=0,g=0,y=0,p=0,O=u.length-1,v=u[0],N=u[O],k=f.length-1,$=f[0],j=f[k];const Ue=a.O==="template"?d.content:d;for(;S<=O&&g<=k;)if(v==null)v=u[++S];else if(N==null)N=u[--O];else if($==null)$=f[++g];else if(j==null)j=f[--k];else if(K(v,$,m))D(v,$,m),v=u[++S],$=f[++g];else if(K(N,j,m))D(N,j,m),N=u[--O],j=f[--k];else if(K(v,j,m))v.O!=="slot"&&j.O!=="slot"||J(v.S.parentNode,!1),D(v,j,m),E(Ue,v.S,N.S.nextSibling),v=u[++S],j=f[--k];else if(K(N,$,m))v.O!=="slot"&&j.O!=="slot"||J(N.S.parentNode,!1),D(N,$,m),E(Ue,N.S,v.S),N=u[--O],$=f[++g];else{for(y=-1,p=S;p<=O;++p)if(u[p]&&u[p].$!==null&&u[p].$===$.$){y=p;break}y>=0?(b=u[y],b.O!==$.O?h=Z(u&&u[g],a,y):(D(b,$,m),u[y]=void 0,h=b.S),$=f[++g]):(h=Z(u&&u[g],a,g),$=f[++g]),h&&E(B(v.S).parentNode,h,B(v.S))}S>O?je(d,f[k+1]==null?null:f[k+1].S,a,f,g,k):g>k&&xe(u,S,O)})(s,n,t,l,o):l!==null?(e.h!==null&&(s.textContent=""),je(s,null,t,l,0,l.length-1)):!o&&n!==null&&xe(n,0,n.length-1),C&&i==="svg"&&(C=!1)):(r=s["s-cr"])?r.parentNode.textContent=c:e.h!==c&&(s.data=c)},A=[],Ae=e=>{let t,o,s;const n=e.__childNodes||e.childNodes;for(const l of n){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){o=t.parentNode.__childNodes||t.parentNode.childNodes;const i=l["s-sn"];for(s=o.length-1;s>=0;s--)if(t=o[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===l["s-hn"]||t["s-sh"]&&t["s-sh"]===l["s-hn"]))if(Se(t,i)){let c=A.find((r=>r.k===t));I=!0,t["s-sn"]=t["s-sn"]||i,c?(c.k["s-sh"]=l["s-hn"],c.N=l):(t["s-sh"]=l["s-hn"],A.push({N:l,k:t})),t["s-sr"]&&A.map((r=>{Se(r.k,t["s-sn"])&&(c=A.find((d=>d.k===t)),c&&!r.N&&(r.N=c.N))}))}else A.some((c=>c.k===t))||A.push({k:t})}l.nodeType===1&&Ae(l)}},Te=e=>{e.v&&e.v.ref&&ce.push((()=>e.v.ref(null))),e.m&&e.m.map(Te)},nt=(e,t)=>{ae.push((()=>e(t)))},E=(e,t,o,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,o);const{slotNode:n}=(function(l,i){var c;if(!(i=i||((c=l["s-ol"])==null?void 0:c.parentElement)))return{slotNode:null,slotName:""};const r=l["s-sn"]=V(l)||"";return{slotNode:oe(ne(i,"childNodes"),i.tagName,r)[0],slotName:r}})(t);return n&&!s&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,o):e?.insertBefore(t,o)},lt=(e,t,o=!1)=>{var s,n,l,i,c;const r=e.$hostElement$,d=e.o,u=e.M||z(null,null);var a;const f=(a=t)&&a.O===Qe?t:G(null,null,t);if(L=r.tagName,d.C&&(f.v=f.v||{},d.C.forEach((([m,h])=>{f.v[h]=r[m]}))),o&&f.v)for(const m of Object.keys(f.v))r.hasAttribute(m)&&!["key","ref","style","class"].includes(m)&&(f.v[m]=r[m]);if(f.O=null,f.i|=4,e.M=f,f.S=u.S=r.shadowRoot||r,W=!(!(1&d.i)||128&d.i),le=r["s-cr"],I=!1,D(u,f,o),_.i|=1,Y){Ae(f.S);for(const m of A){const h=m.k;if(!h["s-ol"]&&w.document){const b=w.document.createTextNode("");b["s-nr"]=h,E(h.parentNode,h["s-ol"]=b,h,o)}}for(const m of A){const h=m.k,b=m.N;if(h.nodeType===1&&o&&(h["s-ih"]=(s=h.hidden)!=null&&s),b){const S=b.parentNode;let g=b.nextSibling;if(g&&g.nodeType===1){let y=(n=h["s-ol"])==null?void 0:n.previousSibling;for(;y;){let p=(l=y["s-nr"])!=null?l:null;if(p&&p["s-sn"]===h["s-sn"]&&S===(p.__parentNode||p.parentNode)){for(p=p.nextSibling;p===h||p?.["s-sr"];)p=p?.nextSibling;if(!p||!p["s-nr"]){g=p;break}}y=y.previousSibling}}if((!g&&S!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==g)&&h!==g){if(E(S,h,g,o),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const y=w.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,o),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(i=h["s-ih"])!=null&&i)}h&&typeof b["s-rf"]=="function"&&b["s-rf"](b)}else h.nodeType===1&&(h.hidden=!0)}}if(I&&ve(f.S),_.i&=-2,A.length=0,!W&&!(1&d.i)&&r["s-cr"]){const m=f.S.__childNodes||f.S.childNodes;for(const h of m)if(h["s-hn"]!==L&&!h["s-sh"]){if(o&&h["s-ih"]==null&&(h["s-ih"]=(c=h.hidden)!=null&&c),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const b=w.document.createComment("s-nt-"+h.nodeValue);b["s-sn"]=h["s-sn"],E(h.parentNode,b,h,o),h.parentNode.removeChild(h)}}}le=void 0,ce.forEach((m=>m())),ce.length=0,ae.forEach((m=>m())),ae.length=0},Re=(e,t)=>{if(t&&!e.A&&t["s-p"]){const o=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(o-1,1),s()})))}},de=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Re(e,e.R);const o=()=>rt(e,t);if(!t)return Ze(o);queueMicrotask((()=>{o()}))},rt=(e,t)=>{const o=e.$hostElement$,s=o;if(!s)throw new Error(`Can't render component <${o.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 n;return n=U(s,t?"componentWillLoad":"componentWillUpdate",void 0,o),n=Pe(n,(()=>U(s,"componentWillRender",void 0,o))),Pe(n,(()=>ct(e,s,t)))},Pe=(e,t)=>it(e)?e.then(t).catch((o=>{console.error(o),t()})):t(),it=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",ct=async(e,t,o)=>{var s;const n=e.$hostElement$,l=n["s-rc"];o&&(i=>{const c=i.o,r=i.$hostElement$,d=c.i,u=((a,f)=>{var m,h,b;const S=be(f),g=q.get(S);if(!w.document)return S;if(a=a.nodeType===11?a:w.document,g)if(typeof g=="string"){let y,p=T.get(a=a.head||a);if(p||T.set(a,p=new Set),!p.has(S)){y=w.document.createElement("style"),y.textContent=g;const O=(m=_._)!=null?m:(function(){var v,N,k;return(k=(N=(v=w.document.head)==null?void 0:v.querySelector('meta[name="csp-nonce"]'))==null?void 0:N.getAttribute("content"))!=null?k:void 0})();if(O!=null&&y.setAttribute("nonce",O),!(1&f.i))if(a.nodeName==="HEAD"){const v=a.querySelectorAll("link[rel=preconnect]"),N=v.length>0?v[v.length-1].nextSibling:a.querySelector("style");a.insertBefore(y,N?.parentNode===a?N:null)}else if("host"in a)if(Q){const v=new((h=a.defaultView)!=null?h:a.ownerDocument.defaultView).CSSStyleSheet;v.replaceSync(g),X?a.adoptedStyleSheets.unshift(v):a.adoptedStyleSheets=[v,...a.adoptedStyleSheets]}else{const v=a.querySelector("style");v?v.textContent=g+v.textContent:a.prepend(y)}else a.append(y);1&f.i&&a.insertBefore(y,null),4&f.i&&(y.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),p&&p.add(S)}}else{let y=T.get(a);if(y||T.set(a,y=new Set),!y.has(S)){const p=(b=a.defaultView)!=null?b:a.ownerDocument.defaultView;let O;if(g.constructor===p.CSSStyleSheet)O=g;else{O=new p.CSSStyleSheet;for(let v=0;v<g.cssRules.length;v++)O.insertRule(g.cssRules[v].cssText,v)}X?a.adoptedStyleSheets.push(O):a.adoptedStyleSheets=[...a.adoptedStyleSheets,O],y.add(S)}}return S})(r.shadowRoot?r.shadowRoot:r.getRootNode(),c);10&d&&(r["s-sc"]=u,r.classList.add(u+"-h"))})(e),at(e,t,n,o),l&&(l.map((i=>i())),n["s-rc"]=void 0);{const i=(s=n["s-p"])!=null?s:[],c=()=>dt(e);i.length===0?c():(Promise.all(i).then(c).catch(c),e.i|=4,i.length=0)}},at=(e,t,o,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,lt(e,t,s)}catch(n){P(n,e.$hostElement$)}return null},dt=e=>{const t=e.$hostElement$,o=t,s=e.R;U(o,"componentDidRender",void 0,t),64&e.i?U(o,"componentDidUpdate",void 0,t):(e.i|=64,ft(t),U(o,"componentDidLoad",void 0,t),e.L(t),s||ut()),e.A&&(e.A(),e.A=void 0),512&e.i&&se((()=>de(e,!1))),e.i&=-517},ut=()=>{se((()=>tt(w,"appload",{detail:{namespace:"gids-core-web"}})))},U=(e,t,o,s)=>{if(e&&e[t])try{return e[t](o)}catch(n){P(n,s)}},ft=e=>e.classList.add("hydrated"),Le=(e,t,o,s)=>{const n=x(e);if(!n)return;const l=e,i=n.l.get(t),c=n.i,r=l;o=Oe(o,s.t[t][0],!!(64&s.i));const d=Number.isNaN(i)&&Number.isNaN(o);if(o!==i&&!d){if(n.l.set(t,o),s.F){const u=s.F[t];u&&u.map((a=>{try{const[[f,m]]=Object.entries(a);(128&c||1&m)&&(r?r[f](o,i,t):n.T.push((()=>{n.D[f](o,i,t)})))}catch(f){P(f,l)}}))}if(2&c){if(r.componentShouldUpdate&&r.componentShouldUpdate(o,i,t)===!1&&!(16&c))return;16&c||de(n,!1)}}},ht=(e,t,o)=>{var s,n;const l=e.prototype;64&t.i&&1&o&&Ge.forEach((i=>{const c=l[i];Object.defineProperty(l,i,{value(...r){var d;const u=x(this),a=this;a?typeof c=="function"&&c.call(a,...r):(d=u?.H)==null||d.then((f=>{const m=f[i];typeof m=="function"&&m.call(f,...r)}))}})}));{e.watchers&&!t.F&&(t.F=Ne(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const i=Object.entries((s=t.t)!=null?s:{});i.map((([c,[r]])=>{if(31&r||32&r){const{get:d,set:u}=M(l,c)||{};d&&(t.t[c][0]|=2048),u&&(t.t[c][0]|=4096),Object.defineProperty(l,c,{get(){return d?d.apply(this):(a=c,x(this).l.get(a));var a},configurable:!0,enumerable:!0}),Object.defineProperty(l,c,{set(a){const f=x(this);if(f){if(u)return(32&r?this[c]:f.$hostElement$[c])===void 0&&f.l.get(c)&&(a=f.l.get(c)),u.apply(this,[Oe(a,r,!!(64&t.i))]),void Le(this,c,a=32&r?this[c]:f.$hostElement$[c],t);Le(this,c,a,t)}}})}}));{const c=new Map;l.attributeChangedCallback=function(r,d,u){_.jmp((()=>{var a;const f=c.get(r),m=x(this);if(this.hasOwnProperty(f),l.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==u)return;if(f==null){const y=m?.i;if(m&&y&&!(8&y)&&u!==d){const p=this,O=(a=t.F)==null?void 0:a[r];O?.forEach((v=>{const[[N,k]]=Object.entries(v);p[N]!=null&&(128&y||1&k)&&p[N].call(p,u,d,r)}))}return}const h=i.find((([y])=>y===f)),b=h&&4&h[1][0],S=b&&u===null&&this[f]===void 0;b&&(u=u!==null&&u!=="false");const g=Object.getOwnPropertyDescriptor(l,f);S||u==this[f]||g.get&&!g.set||(this[f]=u)}))},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.F)!=null?n:{}),...i.filter((([r,d])=>31&d[0])).map((([r,d])=>{var u;const a=d[1]||r;return c.set(a,r),512&d[0]&&((u=t.C)==null||u.push([r,a])),a}))]))}}return e},pt=(e,t)=>{const o={i:t[0],p:t[1]};try{o.t=t[2],o.W=t[3],o.F=Ne(e.F),o.P=e.P,o.U=e.U,o.C=[];const s=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((l,i)=>{const c={i:0,$hostElement$:l,o:i,l:new Map,B:new Map};c.H=new Promise((d=>c.L=d)),l["s-p"]=[],l["s-rc"]=[];const r=c;l.__stencil__getHostRef=()=>r,512&i.i&&qe(l,c)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const l=x(this);if(!l)return;Me(this,l,o.W),this.__hasHostListenerAttached=!0}(l=>{if(!(1&_.i)){const i=x(l);if(!i)return;const c=i.o;if(1&i.i)Me(l,i,c.W),i?.D||i?.H&&i.H.then((()=>{}));else{i.i|=1,12&c.i&&(r=>{if(!w.document)return;const d=r["s-cr"]=w.document.createComment("");d["s-cn"]=!0,E(r,d,r.firstChild)})(l);{let r=l;for(;r=r.parentNode||r.host;)if(r["s-p"]){Re(i,i.R=r);break}}c.t&&Object.entries(c.t).map((([r,[d]])=>{if(31&d&&Object.prototype.hasOwnProperty.call(l,r)){const u=l[r];delete l[r],l[r]=u}})),(async(r,d,u)=>{let a;try{if(!(32&d.i)&&(d.i|=32,a=r.constructor,customElements.whenDefined(r.localName).then((()=>d.i|=128)),a&&a.style)){let h;typeof a.style=="string"&&(h=a.style);const b=be(u);q.has(b)||((S,g,y)=>{let p=q.get(S);Q&&y?(p=p||new CSSStyleSheet,typeof p=="string"?p=g:p.replaceSync(g)):p=g,q.set(S,p)})(b,h,!!(1&u.i))}const f=d.R,m=()=>de(d,!0);f&&f["s-rc"]?f["s-rc"].push(m):m()}catch(f){P(f,r),d.A&&(d.A(),d.A=void 0),d.L&&d.L(r)}})(l,i,c)}}})(this),s&&s.call(this)},disconnectedCallback(){(async l=>{if(!(1&_.i)){const i=x(l);i?.V&&(i.V.map((c=>c())),i.V=void 0)}T.has(l)&&T.delete(l),l.shadowRoot&&T.has(l.shadowRoot)&&T.delete(l.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${o.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Je.call(this,o)}}),Object.defineProperty(e,"is",{value:o.p,configurable:!0}),ht(e,o,3)}catch(s){return P(s),e}},Me=(e,t,o)=>{o&&w.document&&o.map((([s,n,l])=>{const i=yt(w.document,e,s),c=mt(t,l),r=gt(s);_.ael(i,n,c,r),(t.V=t.V||[]).push((()=>_.rel(i,n,c,r)))}))},mt=(e,t)=>o=>{try{e.$hostElement$[t](o)}catch(s){P(s,e.$hostElement$)}},yt=(e,t,o)=>8&o?w:t,gt=e=>Ie?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function Ot(e){return e}const H=globalThis.CSSStyleSheet!==void 0?new CSSStyleSheet:void 0;let De=!1;H&&document.adoptedStyleSheets?document.adoptedStyleSheets.push(H):console.warn("CSSStyleSheet is not defined. Omitting constructed stylesheet behaviour.");let ue=null;const fe=globalThis.MutationObserver!==void 0?new MutationObserver((()=>{He()})):void 0,He=()=>{if(H===void 0)return!1;const e=(()=>{if(H===void 0)return;const t=[];for(let o=0;o<document.styleSheets.length;o++){const s=document.styleSheets.item(o);if(s)try{let n=-1,l=0;for(let i=0;i<s.cssRules.length;i++){const c=s.cssRules.item(i);if(c?.cssText.startsWith("gids-global-styles-start"))n=i;else if(n>-1){if(c?.cssText.startsWith("gids-global-styles-end")){l=i-n+1;break}t.push(c)}}if(n>-1)return{rulesStartIndex:n,originalRulesCount:l,rules:t,styleSheet:s}}catch(n){if(!(n instanceof DOMException))throw n}}})();if(e!==void 0){const t=e.styleSheet.ownerNode;return fe!==void 0&&t!==ue&&(ue&&fe.disconnect(),t instanceof Element&&fe.observe(t,{childList:!0,characterData:!0,subtree:!0}),ue=t),H.replaceSync((o=>o.rules.map((s=>s.cssText)).join(""))(e)),(o=>{const{rulesStartIndex:s,originalRulesCount:n,styleSheet:l}=o;for(let i=0;i<n;i++)l.deleteRule(s)})(e),!0}return console.warn("refreshConstructedGidsStylesheet: Gids stylesheet is not found in document."),!1},vt=()=>(De||(De=He()),H);function Fe(e){var t,o,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(o=Fe(e[t]))&&(s&&(s+=" "),s+=o)}else for(o in e)e[o]&&(s&&(s+=" "),s+=o);return s}function St(){for(var e,t,o=0,s="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=Fe(e))&&(s&&(s+=" "),s+=t);return s}const bt=Object.freeze(Object.defineProperty({__proto__:null,getGidsScrimClassNames:e=>St("gids-scrim",e)},Symbol.toStringTag,{value:"Module"})),{getGidsScrimClassNames:Ve}=bt,We=pt(class extends ze{constructor(e){super(),e!==!1&&this.__registerHost(),this.__attachShadow(),this.activeClasses=""}handleExtraClassesChange(e){this.activeClasses=Ve(e)}connectedCallback(){const e=vt();e!==void 0&&this._el.shadowRoot?.adoptedStyleSheets.push(e),this.activeClasses=Ve(this.extraClasses)}render(){return G("div",{key:"18caab041af3f9687f5adfd316396540a5e86b8e",class:this.activeClasses,part:"root"},G("slot",{key:"2e512b31b80245db0ae80434f89979455cf97392"}))}get _el(){return this}static get watchers(){return{extraClasses:[{handleExtraClassesChange:0}]}}static get style(){return".gids-scrim{display:flex;flex-direction:column;background-color:var(--gids-color-background-scrim);height:100vh !important;position:absolute;top:0;bottom:0;left:0;right:0;z-index:1001;align-items:center;justify-content:center;backdrop-filter:blur(12)}"}},[257,"gids-scrim",{extraClasses:[513,"extra-classes"],activeClasses:[32]},void 0,{extraClasses:[{handleExtraClassesChange:0}]}]);function Be(){typeof customElements<"u"&&["gids-scrim"].forEach((e=>{e==="gids-scrim"&&(customElements.get(e)||customElements.define(e,We))}))}Be();const wt=We,Nt=Be;R.GidsScrim=wt,R.defineCustomElement=Nt,Object.defineProperty(R,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:(b=>{const y=[];for(let g=0;g<b.length;g++){const p=b[g]["s-nr"]||void 0;p&&p.isConnected&&y.push(p)}return y})(S.childNodes)).forEach((b=>{h===F(b)&&m.push(b)})),c?m.filter((b=>b.nodeType===1)):m}).bind(d);d.assignedElements=u(!0),d.assignedNodes=u(!1)})(r),a=e&&e.m&&e.m[o],a&&a.O===n.O&&e.S&&je(e.S)),r},je=e=>{O.i|=1;const t=e.closest(L.toLowerCase());if(t!=null){const o=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const n of o?s.reverse():s)n["s-sh"]!=null&&($(t,n,o??null),n["s-sh"]=void 0,X=!0)}O.i&=-2},G=(e,t)=>{O.i|=1;const o=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"]===L&&o.push(s)}for(let s=o.length-1;s>=0;s--){const n=o[s];n["s-hn"]!==L&&n["s-ol"]&&($(B(n).parentNode,n,B(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,X=!0),t&&G(n,t)}O.i&=-2},Ee=(e,t,o,s,n,r)=>{let i,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===L&&(a=a.shadowRoot),o.O==="template"&&(a=a.content);n<=r;++n)s[n]&&(i=Y(null,o,n),i&&(s[n].S=i,$(a,i,B(t))))},$e=(e,t,o)=>{for(let s=t;s<=o;++s){const n=e[s];if(n){const r=n.S;Ae(n),r&&(z=!0,r["s-ol"]?r["s-ol"].remove():G(r,!0),r.remove())}}},I=(e,t,o=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:o?(o&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),B=e=>e&&e["s-ol"]||e,H=(e,t,o=!1)=>{const s=t.S=e.S,n=e.m,r=t.m,i=t.O,a=t.h;let l;a==null?(_=i==="svg"||i!=="foreignObject"&&_,i!=="slot"||V||e.j!==t.j&&(t.S["s-sn"]=t.j||"",je(t.S.parentElement)),le(e,t,_),n!==null&&r!==null?((d,u,c,f,m=!1)=>{let h,S,b=0,y=0,g=0,p=0,N=u.length-1,v=u[0],w=u[N],j=f.length-1,E=f[0],C=f[j];const Me=c.O==="template"?d.content:d;for(;b<=N&&y<=j;)if(v==null)v=u[++b];else if(w==null)w=u[--N];else if(E==null)E=f[++y];else if(C==null)C=f[--j];else if(I(v,E,m))H(v,E,m),v=u[++b],E=f[++y];else if(I(w,C,m))H(w,C,m),w=u[--N],C=f[--j];else if(I(v,C,m))v.O!=="slot"&&C.O!=="slot"||G(v.S.parentNode,!1),H(v,C,m),$(Me,v.S,w.S.nextSibling),v=u[++b],C=f[--j];else if(I(w,E,m))v.O!=="slot"&&C.O!=="slot"||G(w.S.parentNode,!1),H(w,E,m),$(Me,w.S,v.S),w=u[--N],E=f[++y];else{for(g=-1,p=b;p<=N;++p)if(u[p]&&u[p].$!==null&&u[p].$===E.$){g=p;break}g>=0?(S=u[g],S.O!==E.O?h=Y(u&&u[y],c,g):(H(S,E,m),u[g]=void 0,h=S.S),E=f[++y]):(h=Y(u&&u[y],c,y),E=f[++y]),h&&$(B(v.S).parentNode,h,B(v.S))}b>N?Ee(d,f[j+1]==null?null:f[j+1].S,c,f,y,j):y>j&&$e(u,b,N)})(s,n,t,r,o):r!==null?(e.h!==null&&(s.textContent=""),Ee(s,null,t,r,0,r.length-1)):!o&&n!==null&&$e(n,0,n.length-1),_&&i==="svg"&&(_=!1)):(l=s["s-cr"])?l.parentNode.textContent=a:e.h!==a&&(s.data=a)},x=[],Ce=e=>{let t,o,s;const n=e.__childNodes||e.childNodes;for(const r of n){if(r["s-sr"]&&(t=r["s-cr"])&&t.parentNode){o=t.parentNode.__childNodes||t.parentNode.childNodes;const i=r["s-sn"];for(s=o.length-1;s>=0;s--)if(t=o[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===r["s-hn"]||t["s-sh"]&&t["s-sh"]===r["s-hn"]))if(ge(t,i)){let a=x.find((l=>l.k===t));z=!0,t["s-sn"]=t["s-sn"]||i,a?(a.k["s-sh"]=r["s-hn"],a.N=r):(t["s-sh"]=r["s-hn"],x.push({N:r,k:t})),t["s-sr"]&&x.map((l=>{ge(l.k,t["s-sn"])&&(a=x.find((d=>d.k===t)),a&&!l.N&&(l.N=a.N))}))}else x.some((a=>a.k===t))||x.push({k:t})}r.nodeType===1&&Ce(r)}},Ae=e=>{e.v&&e.v.ref&&ie.push((()=>e.v.ref(null))),e.m&&e.m.map(Ae)},Ke=(e,t)=>{ae.push((()=>e(t)))},$=(e,t,o,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,o);const{slotNode:n}=(function(r,i){var a;if(!(i=i||((a=r["s-ol"])==null?void 0:a.parentElement)))return{slotNode:null,slotName:""};const l=r["s-sn"]=F(r)||"";return{slotNode:te(se(i,"childNodes"),i.tagName,l)[0],slotName:l}})(t);return n&&!s&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,o):e?.insertBefore(t,o)},Qe=(e,t,o=!1)=>{var s,n,r,i,a;const l=e.$hostElement$,d=e.o,u=e.M||q(null,null);var c;const f=(c=t)&&c.O===ve?t:re(null,null,t);if(L=l.tagName,d.C&&(f.v=f.v||{},d.C.forEach((([m,h])=>{f.v[h]=l[m]}))),o&&f.v)for(const m of Object.keys(f.v))l.hasAttribute(m)&&!["key","ref","style","class"].includes(m)&&(f.v[m]=l[m]);if(f.O=null,f.i|=4,e.M=f,f.S=u.S=l.shadowRoot||l,V=!(!(1&d.i)||128&d.i),oe=l["s-cr"],z=!1,H(u,f,o),O.i|=1,X){Ce(f.S);for(const m of x){const h=m.k;if(!h["s-ol"]&&k.document){const S=k.document.createTextNode("");S["s-nr"]=h,$(h.parentNode,h["s-ol"]=S,h,o)}}for(const m of x){const h=m.k,S=m.N;if(h.nodeType===1&&o&&(h["s-ih"]=(s=h.hidden)!=null&&s),S){const b=S.parentNode;let y=S.nextSibling;if(y&&y.nodeType===1){let g=(n=h["s-ol"])==null?void 0:n.previousSibling;for(;g;){let p=(r=g["s-nr"])!=null?r:null;if(p&&p["s-sn"]===h["s-sn"]&&b===(p.__parentNode||p.parentNode)){for(p=p.nextSibling;p===h||p?.["s-sr"];)p=p?.nextSibling;if(!p||!p["s-nr"]){y=p;break}}g=g.previousSibling}}if((!y&&b!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==y)&&h!==y){if($(b,h,y,o),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const g=k.document.createTextNode(h.nodeValue.replace(/^s-nt-/,""));g["s-hn"]=h["s-hn"],g["s-sn"]=h["s-sn"],g["s-sh"]=h["s-sh"],g["s-sr"]=h["s-sr"],g["s-ol"]=h["s-ol"],g["s-ol"]["s-nr"]=g,$(h.parentNode,g,h,o),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(i=h["s-ih"])!=null&&i)}h&&typeof S["s-rf"]=="function"&&S["s-rf"](S)}else h.nodeType===1&&(h.hidden=!0)}}if(z&&me(f.S),O.i&=-2,x.length=0,!V&&!(1&d.i)&&l["s-cr"]){const m=f.S.__childNodes||f.S.childNodes;for(const h of m)if(h["s-hn"]!==L&&!h["s-sh"]){if(o&&h["s-ih"]==null&&(h["s-ih"]=(a=h.hidden)!=null&&a),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const S=k.document.createComment("s-nt-"+h.nodeValue);S["s-sn"]=h["s-sn"],$(h.parentNode,S,h,o),h.parentNode.removeChild(h)}}}oe=void 0,ie.forEach((m=>m())),ie.length=0,ae.forEach((m=>m())),ae.length=0},xe=(e,t)=>{if(t&&!e.A&&t["s-p"]){const o=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(o-1,1),s()})))}},ce=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);xe(e,e.R);const o=()=>et(e,t);if(!t)return qe(o);queueMicrotask((()=>{o()}))},et=(e,t)=>{const o=e.$hostElement$,s=o;if(!s)throw new Error(`Can't render component <${o.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 n;return n=W(s,t?"componentWillLoad":"componentWillUpdate",void 0,o),n=Te(n,(()=>W(s,"componentWillRender",void 0,o))),Te(n,(()=>st(e,s,t)))},Te=(e,t)=>tt(e)?e.then(t).catch((o=>{console.error(o),t()})):t(),tt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",st=async(e,t,o)=>{var s;const n=e.$hostElement$,r=n["s-rc"];o&&(i=>{const a=i.o,l=i.$hostElement$,d=a.i,u=((c,f)=>{var m,h,S;const b=ye(f),y=U.get(b);if(!k.document)return b;if(c=c.nodeType===11?c:k.document,y)if(typeof y=="string"){let g,p=T.get(c=c.head||c);if(p||T.set(c,p=new Set),!p.has(b)){g=k.document.createElement("style"),g.textContent=y;const N=(m=O._)!=null?m:(function(){var v,w,j;return(j=(w=(v=k.document.head)==null?void 0:v.querySelector('meta[name="csp-nonce"]'))==null?void 0:w.getAttribute("content"))!=null?j:void 0})();if(N!=null&&g.setAttribute("nonce",N),!(1&f.i))if(c.nodeName==="HEAD"){const v=c.querySelectorAll("link[rel=preconnect]"),w=v.length>0?v[v.length-1].nextSibling:c.querySelector("style");c.insertBefore(g,w?.parentNode===c?w:null)}else if("host"in c)if(Z){const v=new((h=c.defaultView)!=null?h:c.ownerDocument.defaultView).CSSStyleSheet;v.replaceSync(y),J?c.adoptedStyleSheets.unshift(v):c.adoptedStyleSheets=[v,...c.adoptedStyleSheets]}else{const v=c.querySelector("style");v?v.textContent=y+v.textContent:c.prepend(g)}else c.append(g);1&f.i&&c.insertBefore(g,null),4&f.i&&(g.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),p&&p.add(b)}}else{let g=T.get(c);if(g||T.set(c,g=new Set),!g.has(b)){const p=(S=c.defaultView)!=null?S:c.ownerDocument.defaultView;let N;if(y.constructor===p.CSSStyleSheet)N=y;else{N=new p.CSSStyleSheet;for(let v=0;v<y.cssRules.length;v++)N.insertRule(y.cssRules[v].cssText,v)}J?c.adoptedStyleSheets.push(N):c.adoptedStyleSheets=[...c.adoptedStyleSheets,N],g.add(b)}}return b})(l.shadowRoot?l.shadowRoot:l.getRootNode(),a);10&d&&(l["s-sc"]=u,l.classList.add(u+"-h"))})(e),ot(e,t,n,o),r&&(r.map((i=>i())),n["s-rc"]=void 0);{const i=(s=n["s-p"])!=null?s:[],a=()=>nt(e);i.length===0?a():(Promise.all(i).then(a).catch(a),e.i|=4,i.length=0)}},ot=(e,t,o,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,Qe(e,t,s)}catch(n){R(n,e.$hostElement$)}return null},nt=e=>{const t=e.$hostElement$,o=t,s=e.R;W(o,"componentDidRender",void 0,t),64&e.i?W(o,"componentDidUpdate",void 0,t):(e.i|=64,lt(t),W(o,"componentDidLoad",void 0,t),e.L(t),s||rt()),e.A&&(e.A(),e.A=void 0),512&e.i&&ee((()=>ce(e,!1))),e.i&=-517},rt=()=>{ee((()=>Ie(k,"appload",{detail:{namespace:"gids-core-web"}})))},W=(e,t,o,s)=>{if(e&&e[t])try{return e[t](o)}catch(n){R(n,s)}},lt=e=>e.classList.add("hydrated"),Pe=(e,t,o,s)=>{const n=A(e);if(!n)return;const r=e,i=n.l.get(t),a=n.i,l=r;o=ke(o,s.t[t][0],!!(64&s.i));const d=Number.isNaN(i)&&Number.isNaN(o);if(o!==i&&!d){if(n.l.set(t,o),s.F){const u=s.F[t];u&&u.map((c=>{try{const[[f,m]]=Object.entries(c);(128&a||1&m)&&(l?l[f](o,i,t):n.T.push((()=>{n.D[f](o,i,t)})))}catch(f){R(f,r)}}))}if(2&a){if(l.componentShouldUpdate&&l.componentShouldUpdate(o,i,t)===!1&&!(16&a))return;16&a||ce(n,!1)}}},it=(e,t,o)=>{var s,n;const r=e.prototype;64&t.i&&1&o&&Ve.forEach((i=>{const a=r[i];Object.defineProperty(r,i,{value(...l){var d;const u=A(this),c=this;c?typeof a=="function"&&a.call(c,...l):(d=u?.H)==null||d.then((f=>{const m=f[i];typeof m=="function"&&m.call(f,...l)}))}})}));{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 i=Object.entries((s=t.t)!=null?s:{});i.map((([a,[l]])=>{if(31&l||32&l){const{get:d,set:u}=D(r,a)||{};d&&(t.t[a][0]|=2048),u&&(t.t[a][0]|=4096),Object.defineProperty(r,a,{get(){return d?d.apply(this):(c=a,A(this).l.get(c));var c},configurable:!0,enumerable:!0}),Object.defineProperty(r,a,{set(c){const f=A(this);if(f){if(u)return(32&l?this[a]:f.$hostElement$[a])===void 0&&f.l.get(a)&&(c=f.l.get(a)),u.apply(this,[ke(c,l,!!(64&t.i))]),void Pe(this,a,c=32&l?this[a]:f.$hostElement$[a],t);Pe(this,a,c,t)}}})}}));{const a=new Map;r.attributeChangedCallback=function(l,d,u){O.jmp((()=>{var c;const f=a.get(l),m=A(this);if(this.hasOwnProperty(f),r.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==u)return;if(f==null){const g=m?.i;if(m&&g&&!(8&g)&&u!==d){const p=this,N=(c=t.F)==null?void 0:c[l];N?.forEach((v=>{const[[w,j]]=Object.entries(v);p[w]!=null&&(128&g||1&j)&&p[w].call(p,u,d,l)}))}return}const h=i.find((([g])=>g===f)),S=h&&4&h[1][0],b=S&&u===null&&this[f]===void 0;S&&(u=u!==null&&u!=="false");const y=Object.getOwnPropertyDescriptor(r,f);b||u==this[f]||y.get&&!y.set||(this[f]=u)}))},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.F)!=null?n:{}),...i.filter((([l,d])=>31&d[0])).map((([l,d])=>{var u;const c=d[1]||l;return a.set(c,l),512&d[0]&&((u=t.C)==null||u.push([l,c])),c}))]))}}return e},at=(e,t)=>{const o={i:t[0],p:t[1]};try{o.t=t[2],o.W=t[3],o.F=Se(e.F),o.P=e.P,o.U=e.U,o.C=[];const s=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((r,i)=>{const a={i:0,$hostElement$:r,o:i,l:new Map,B:new Map};a.H=new Promise((d=>a.L=d)),r["s-p"]=[],r["s-rc"]=[];const l=a;r.__stencil__getHostRef=()=>l,512&i.i&&Fe(r,a)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const r=A(this);if(!r)return;Re(this,r,o.W),this.__hasHostListenerAttached=!0}(r=>{if(!(1&O.i)){const i=A(r);if(!i)return;const a=i.o;if(1&i.i)Re(r,i,a.W),i?.D||i?.H&&i.H.then((()=>{}));else{i.i|=1,12&a.i&&(l=>{if(!k.document)return;const d=l["s-cr"]=k.document.createComment("");d["s-cn"]=!0,$(l,d,l.firstChild)})(r);{let l=r;for(;l=l.parentNode||l.host;)if(l["s-p"]){xe(i,i.R=l);break}}a.t&&Object.entries(a.t).map((([l,[d]])=>{if(31&d&&Object.prototype.hasOwnProperty.call(r,l)){const u=r[l];delete r[l],r[l]=u}})),(async(l,d,u)=>{let c;try{if(!(32&d.i)&&(d.i|=32,c=l.constructor,customElements.whenDefined(l.localName).then((()=>d.i|=128)),c&&c.style)){let h;typeof c.style=="string"&&(h=c.style);const S=ye(u);U.has(S)||((b,y,g)=>{let p=U.get(b);Z&&g?(p=p||new CSSStyleSheet,typeof p=="string"?p=y:p.replaceSync(y)):p=y,U.set(b,p)})(S,h,!!(1&u.i))}const f=d.R,m=()=>ce(d,!0);f&&f["s-rc"]?f["s-rc"].push(m):m()}catch(f){R(f,l),d.A&&(d.A(),d.A=void 0),d.L&&d.L(l)}})(r,i,a)}}})(this),s&&s.call(this)},disconnectedCallback(){(async r=>{if(!(1&O.i)){const i=A(r);i?.V&&(i.V.map((a=>a())),i.V=void 0)}T.has(r)&&T.delete(r),r.shadowRoot&&T.has(r.shadowRoot)&&T.delete(r.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${o.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else ze.call(this,o)}}),Object.defineProperty(e,"is",{value:o.p,configurable:!0}),it(e,o,3)}catch(s){return R(s),e}},Re=(e,t,o)=>{o&&k.document&&o.map((([s,n,r])=>{const i=dt(k.document,e,s),a=ct(t,r),l=ut(s);O.ael(i,n,a,l),(t.V=t.V||[]).push((()=>O.rel(i,n,a,l)))}))},ct=(e,t)=>o=>{try{e.$hostElement$[t](o)}catch(s){R(s,e.$hostElement$)}},dt=(e,t,o)=>8&o?k:t,ut=e=>We?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function yt(e){return e}function Le(e){var t,o,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(o=Le(e[t]))&&(s&&(s+=" "),s+=o)}else for(o in e)e[o]&&(s&&(s+=" "),s+=o);return s}function ft(){for(var e,t,o=0,s="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=Le(e))&&(s&&(s+=" "),s+=t);return s}const ht=Object.freeze(Object.defineProperty({__proto__:null,getSkeletonBaseClassNames:({variant:e,animation:t})=>ft("gids-skeleton",{"gids-skeleton--variant-circular":e==="circular","gids-skeleton--variant-rectangular":e==="rectangular","gids-skeleton--variant-rounded":e==="rounded","gids-skeleton--animation-pulse":t==="pulse","gids-skeleton--animation-wave":t==="wave"})},Symbol.toStringTag,{value:"Module"})),{getSkeletonBaseClassNames:pt}=ht,De=at(class extends Be{constructor(e){super(),e!==!1&&this.__registerHost(),this.variant="text",this.animation="none"}getDimension(e){if(e!=null)return typeof e=="number"?e+"px":e}getStyle(){const e={},t=this.getDimension(this.width),o=this.getDimension(this.height);return t!==void 0&&(e.width=t),o!==void 0&&(e.height=o),e}render(){const e=pt({variant:this.variant??"text",animation:this.animation??"none"});return re(ve,{key:"08f348685310371a41275cc52d9142b2bc50c01e",class:e,style:this.getStyle(),"aria-hidden":"true"})}static get style(){return'gids-skeleton,.gids-skeleton-host{--gidsSkeleton-background:var( --gids-color-background-accent-9-subtle-default );--gidsSkeleton-wave-background:linear-gradient( 90deg, transparent 0%, var(--gids-color-background-accent-9-subtler-default) 50%, transparent 100% );--gidsSkeleton-text-border-radius:var(--gids-border-radius-sm);--gidsSkeleton-border-radius:var(--gids-border-radius-md);display:inline-block;position:relative;vertical-align:middle;background-color:var(--gidsSkeleton-background);overflow:hidden;width:auto;height:auto}.gids-skeleton--variant-text{border-radius:var(--gidsSkeleton-text-border-radius);min-height:1.2em;transform:scaleY(0.6);transform-origin:0 50%}.gids-skeleton--variant-circular{border-radius:100% !important;aspect-ratio:1/1}.gids-skeleton--variant-rectangular{border-radius:0}.gids-skeleton--variant-rounded{border-radius:var(--gidsSkeleton-border-radius)}.gids-skeleton--animation-none{animation:none}.gids-skeleton--animation-pulse{animation:gids-skeleton-pulse 1.5s ease-in-out infinite}.gids-skeleton--animation-wave::after{content:"";position:absolute;inset:0;width:100%;height:100%;background:var(--gidsSkeleton-wave-background);transform:translateX(-100%);animation:gids-skeleton-wave 1.6s linear infinite}@keyframes gids-skeleton-pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}@keyframes gids-skeleton-wave{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}@media (prefers-reduced-motion: reduce){.gids-skeleton--animation-pulse{animation:none}.gids-skeleton--animation-wave::after{animation:none}}'}},[0,"gids-skeleton",{variant:[1],animation:[1],width:[8],height:[8]}]);function He(){typeof customElements<"u"&&["gids-skeleton"].forEach((e=>{e==="gids-skeleton"&&(customElements.get(e)||customElements.define(e,De))}))}He();const mt=De,gt=He;P.GidsSkeleton=mt,P.defineCustomElement=gt,Object.defineProperty(P,Symbol.toStringTag,{value:"Module"})}));
5
+ `);const S=this["s-cr"].parentElement;return(S.__childNodes?S.childNodes:(b=>{const y=[];for(let g=0;g<b.length;g++){const p=b[g]["s-nr"]||void 0;p&&p.isConnected&&y.push(p)}return y})(S.childNodes)).forEach((b=>{h===F(b)&&m.push(b)})),c?m.filter((b=>b.nodeType===1)):m}).bind(d);d.assignedElements=u(!0),d.assignedNodes=u(!1)})(r),a=e&&e.m&&e.m[o],a&&a.O===n.O&&e.S&&je(e.S)),r},je=e=>{O.i|=1;const t=e.closest(L.toLowerCase());if(t!=null){const o=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const n of o?s.reverse():s)n["s-sh"]!=null&&($(t,n,o??null),n["s-sh"]=void 0,X=!0)}O.i&=-2},G=(e,t)=>{O.i|=1;const o=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"]===L&&o.push(s)}for(let s=o.length-1;s>=0;s--){const n=o[s];n["s-hn"]!==L&&n["s-ol"]&&($(B(n).parentNode,n,B(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,X=!0),t&&G(n,t)}O.i&=-2},Ee=(e,t,o,s,n,r)=>{let i,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===L&&(a=a.shadowRoot),o.O==="template"&&(a=a.content);n<=r;++n)s[n]&&(i=Y(null,o,n),i&&(s[n].S=i,$(a,i,B(t))))},$e=(e,t,o)=>{for(let s=t;s<=o;++s){const n=e[s];if(n){const r=n.S;Ae(n),r&&(z=!0,r["s-ol"]?r["s-ol"].remove():G(r,!0),r.remove())}}},I=(e,t,o=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:o?(o&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),B=e=>e&&e["s-ol"]||e,H=(e,t,o=!1)=>{const s=t.S=e.S,n=e.m,r=t.m,i=t.O,a=t.h;let l;a==null?(_=i==="svg"||i!=="foreignObject"&&_,i!=="slot"||V||e.j!==t.j&&(t.S["s-sn"]=t.j||"",je(t.S.parentElement)),le(e,t,_),n!==null&&r!==null?((d,u,c,f,m=!1)=>{let h,S,b=0,y=0,g=0,p=0,N=u.length-1,v=u[0],w=u[N],j=f.length-1,E=f[0],C=f[j];const Me=c.O==="template"?d.content:d;for(;b<=N&&y<=j;)if(v==null)v=u[++b];else if(w==null)w=u[--N];else if(E==null)E=f[++y];else if(C==null)C=f[--j];else if(I(v,E,m))H(v,E,m),v=u[++b],E=f[++y];else if(I(w,C,m))H(w,C,m),w=u[--N],C=f[--j];else if(I(v,C,m))v.O!=="slot"&&C.O!=="slot"||G(v.S.parentNode,!1),H(v,C,m),$(Me,v.S,w.S.nextSibling),v=u[++b],C=f[--j];else if(I(w,E,m))v.O!=="slot"&&C.O!=="slot"||G(w.S.parentNode,!1),H(w,E,m),$(Me,w.S,v.S),w=u[--N],E=f[++y];else{for(g=-1,p=b;p<=N;++p)if(u[p]&&u[p].$!==null&&u[p].$===E.$){g=p;break}g>=0?(S=u[g],S.O!==E.O?h=Y(u&&u[y],c,g):(H(S,E,m),u[g]=void 0,h=S.S),E=f[++y]):(h=Y(u&&u[y],c,y),E=f[++y]),h&&$(B(v.S).parentNode,h,B(v.S))}b>N?Ee(d,f[j+1]==null?null:f[j+1].S,c,f,y,j):y>j&&$e(u,b,N)})(s,n,t,r,o):r!==null?(e.h!==null&&(s.textContent=""),Ee(s,null,t,r,0,r.length-1)):!o&&n!==null&&$e(n,0,n.length-1),_&&i==="svg"&&(_=!1)):(l=s["s-cr"])?l.parentNode.textContent=a:e.h!==a&&(s.data=a)},x=[],Ce=e=>{let t,o,s;const n=e.__childNodes||e.childNodes;for(const r of n){if(r["s-sr"]&&(t=r["s-cr"])&&t.parentNode){o=t.parentNode.__childNodes||t.parentNode.childNodes;const i=r["s-sn"];for(s=o.length-1;s>=0;s--)if(t=o[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===r["s-hn"]||t["s-sh"]&&t["s-sh"]===r["s-hn"]))if(ge(t,i)){let a=x.find((l=>l.k===t));z=!0,t["s-sn"]=t["s-sn"]||i,a?(a.k["s-sh"]=r["s-hn"],a.N=r):(t["s-sh"]=r["s-hn"],x.push({N:r,k:t})),t["s-sr"]&&x.map((l=>{ge(l.k,t["s-sn"])&&(a=x.find((d=>d.k===t)),a&&!l.N&&(l.N=a.N))}))}else x.some((a=>a.k===t))||x.push({k:t})}r.nodeType===1&&Ce(r)}},Ae=e=>{e.v&&e.v.ref&&ie.push((()=>e.v.ref(null))),e.m&&e.m.map(Ae)},Ke=(e,t)=>{ae.push((()=>e(t)))},$=(e,t,o,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,o);const{slotNode:n}=(function(r,i){var a;if(!(i=i||((a=r["s-ol"])==null?void 0:a.parentElement)))return{slotNode:null,slotName:""};const l=r["s-sn"]=F(r)||"";return{slotNode:te(se(i,"childNodes"),i.tagName,l)[0],slotName:l}})(t);return n&&!s&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,o):e?.insertBefore(t,o)},Qe=(e,t,o=!1)=>{var s,n,r,i,a;const l=e.$hostElement$,d=e.o,u=e.M||q(null,null);var c;const f=(c=t)&&c.O===ve?t:re(null,null,t);if(L=l.tagName,d.C&&(f.v=f.v||{},d.C.forEach((([m,h])=>{f.v[h]=l[m]}))),o&&f.v)for(const m of Object.keys(f.v))l.hasAttribute(m)&&!["key","ref","style","class"].includes(m)&&(f.v[m]=l[m]);if(f.O=null,f.i|=4,e.M=f,f.S=u.S=l.shadowRoot||l,V=!(!(1&d.i)||128&d.i),oe=l["s-cr"],z=!1,H(u,f,o),O.i|=1,X){Ce(f.S);for(const m of x){const h=m.k;if(!h["s-ol"]&&k.document){const S=k.document.createTextNode("");S["s-nr"]=h,$(h.parentNode,h["s-ol"]=S,h,o)}}for(const m of x){const h=m.k,S=m.N;if(h.nodeType===1&&o&&(h["s-ih"]=(s=h.hidden)!=null&&s),S){const b=S.parentNode;let y=S.nextSibling;if(y&&y.nodeType===1){let g=(n=h["s-ol"])==null?void 0:n.previousSibling;for(;g;){let p=(r=g["s-nr"])!=null?r:null;if(p&&p["s-sn"]===h["s-sn"]&&b===(p.__parentNode||p.parentNode)){for(p=p.nextSibling;p===h||p?.["s-sr"];)p=p?.nextSibling;if(!p||!p["s-nr"]){y=p;break}}g=g.previousSibling}}if((!y&&b!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==y)&&h!==y){if($(b,h,y,o),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const g=k.document.createTextNode(h.nodeValue.replace(/^s-nt-/,""));g["s-hn"]=h["s-hn"],g["s-sn"]=h["s-sn"],g["s-sh"]=h["s-sh"],g["s-sr"]=h["s-sr"],g["s-ol"]=h["s-ol"],g["s-ol"]["s-nr"]=g,$(h.parentNode,g,h,o),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(i=h["s-ih"])!=null&&i)}h&&typeof S["s-rf"]=="function"&&S["s-rf"](S)}else h.nodeType===1&&(h.hidden=!0)}}if(z&&me(f.S),O.i&=-2,x.length=0,!V&&!(1&d.i)&&l["s-cr"]){const m=f.S.__childNodes||f.S.childNodes;for(const h of m)if(h["s-hn"]!==L&&!h["s-sh"]){if(o&&h["s-ih"]==null&&(h["s-ih"]=(a=h.hidden)!=null&&a),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const S=k.document.createComment("s-nt-"+h.nodeValue);S["s-sn"]=h["s-sn"],$(h.parentNode,S,h,o),h.parentNode.removeChild(h)}}}oe=void 0,ie.forEach((m=>m())),ie.length=0,ae.forEach((m=>m())),ae.length=0},xe=(e,t)=>{if(t&&!e.A&&t["s-p"]){const o=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(o-1,1),s()})))}},ce=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);xe(e,e.R);const o=()=>et(e,t);if(!t)return qe(o);queueMicrotask((()=>{o()}))},et=(e,t)=>{const o=e.$hostElement$,s=o;if(!s)throw new Error(`Can't render component <${o.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 n;return n=W(s,t?"componentWillLoad":"componentWillUpdate",void 0,o),n=Te(n,(()=>W(s,"componentWillRender",void 0,o))),Te(n,(()=>st(e,s,t)))},Te=(e,t)=>tt(e)?e.then(t).catch((o=>{console.error(o),t()})):t(),tt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",st=async(e,t,o)=>{var s;const n=e.$hostElement$,r=n["s-rc"];o&&(i=>{const a=i.o,l=i.$hostElement$,d=a.i,u=((c,f)=>{var m,h,S;const b=ye(f),y=U.get(b);if(!k.document)return b;if(c=c.nodeType===11?c:k.document,y)if(typeof y=="string"){let g,p=T.get(c=c.head||c);if(p||T.set(c,p=new Set),!p.has(b)){g=k.document.createElement("style"),g.textContent=y;const N=(m=O._)!=null?m:(function(){var v,w,j;return(j=(w=(v=k.document.head)==null?void 0:v.querySelector('meta[name="csp-nonce"]'))==null?void 0:w.getAttribute("content"))!=null?j:void 0})();if(N!=null&&g.setAttribute("nonce",N),!(1&f.i))if(c.nodeName==="HEAD"){const v=c.querySelectorAll("link[rel=preconnect]"),w=v.length>0?v[v.length-1].nextSibling:c.querySelector("style");c.insertBefore(g,w?.parentNode===c?w:null)}else if("host"in c)if(Z){const v=new((h=c.defaultView)!=null?h:c.ownerDocument.defaultView).CSSStyleSheet;v.replaceSync(y),J?c.adoptedStyleSheets.unshift(v):c.adoptedStyleSheets=[v,...c.adoptedStyleSheets]}else{const v=c.querySelector("style");v?v.textContent=y+v.textContent:c.prepend(g)}else c.append(g);1&f.i&&c.insertBefore(g,null),4&f.i&&(g.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),p&&p.add(b)}}else{let g=T.get(c);if(g||T.set(c,g=new Set),!g.has(b)){const p=(S=c.defaultView)!=null?S:c.ownerDocument.defaultView;let N;if(y.constructor===p.CSSStyleSheet)N=y;else{N=new p.CSSStyleSheet;for(let v=0;v<y.cssRules.length;v++)N.insertRule(y.cssRules[v].cssText,v)}J?c.adoptedStyleSheets.push(N):c.adoptedStyleSheets=[...c.adoptedStyleSheets,N],g.add(b)}}return b})(l.shadowRoot?l.shadowRoot:l.getRootNode(),a);10&d&&(l["s-sc"]=u,l.classList.add(u+"-h"))})(e),ot(e,t,n,o),r&&(r.map((i=>i())),n["s-rc"]=void 0);{const i=(s=n["s-p"])!=null?s:[],a=()=>nt(e);i.length===0?a():(Promise.all(i).then(a).catch(a),e.i|=4,i.length=0)}},ot=(e,t,o,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,Qe(e,t,s)}catch(n){R(n,e.$hostElement$)}return null},nt=e=>{const t=e.$hostElement$,o=t,s=e.R;W(o,"componentDidRender",void 0,t),64&e.i?W(o,"componentDidUpdate",void 0,t):(e.i|=64,lt(t),W(o,"componentDidLoad",void 0,t),e.L(t),s||rt()),e.A&&(e.A(),e.A=void 0),512&e.i&&ee((()=>ce(e,!1))),e.i&=-517},rt=()=>{ee((()=>Ie(k,"appload",{detail:{namespace:"gids-core-web"}})))},W=(e,t,o,s)=>{if(e&&e[t])try{return e[t](o)}catch(n){R(n,s)}},lt=e=>e.classList.add("hydrated"),Pe=(e,t,o,s)=>{const n=A(e);if(!n)return;const r=e,i=n.l.get(t),a=n.i,l=r;o=ke(o,s.t[t][0],!!(64&s.i));const d=Number.isNaN(i)&&Number.isNaN(o);if(o!==i&&!d){if(n.l.set(t,o),s.F){const u=s.F[t];u&&u.map((c=>{try{const[[f,m]]=Object.entries(c);(128&a||1&m)&&(l?l[f](o,i,t):n.T.push((()=>{n.D[f](o,i,t)})))}catch(f){R(f,r)}}))}if(2&a){if(l.componentShouldUpdate&&l.componentShouldUpdate(o,i,t)===!1&&!(16&a))return;16&a||ce(n,!1)}}},it=(e,t,o)=>{var s,n;const r=e.prototype;64&t.i&&1&o&&Ve.forEach((i=>{const a=r[i];Object.defineProperty(r,i,{value(...l){var d;const u=A(this),c=this;c?typeof a=="function"&&a.call(c,...l):(d=u?.H)==null||d.then((f=>{const m=f[i];typeof m=="function"&&m.call(f,...l)}))}})}));{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 i=Object.entries((s=t.t)!=null?s:{});i.map((([a,[l]])=>{if(31&l||32&l){const{get:d,set:u}=D(r,a)||{};d&&(t.t[a][0]|=2048),u&&(t.t[a][0]|=4096),Object.defineProperty(r,a,{get(){return d?d.apply(this):(c=a,A(this).l.get(c));var c},configurable:!0,enumerable:!0}),Object.defineProperty(r,a,{set(c){const f=A(this);if(f){if(u)return(32&l?this[a]:f.$hostElement$[a])===void 0&&f.l.get(a)&&(c=f.l.get(a)),u.apply(this,[ke(c,l,!!(64&t.i))]),void Pe(this,a,c=32&l?this[a]:f.$hostElement$[a],t);Pe(this,a,c,t)}}})}}));{const a=new Map;r.attributeChangedCallback=function(l,d,u){O.jmp((()=>{var c;const f=a.get(l),m=A(this);if(this.hasOwnProperty(f),r.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==u)return;if(f==null){const g=m?.i;if(m&&g&&!(8&g)&&u!==d){const p=this,N=(c=t.F)==null?void 0:c[l];N?.forEach((v=>{const[[w,j]]=Object.entries(v);p[w]!=null&&(128&g||1&j)&&p[w].call(p,u,d,l)}))}return}const h=i.find((([g])=>g===f)),S=h&&4&h[1][0],b=S&&u===null&&this[f]===void 0;S&&(u=u!==null&&u!=="false");const y=Object.getOwnPropertyDescriptor(r,f);b||u==this[f]||y.get&&!y.set||(this[f]=u)}))},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.F)!=null?n:{}),...i.filter((([l,d])=>31&d[0])).map((([l,d])=>{var u;const c=d[1]||l;return a.set(c,l),512&d[0]&&((u=t.C)==null||u.push([l,c])),c}))]))}}return e},at=(e,t)=>{const o={i:t[0],p:t[1]};try{o.t=t[2],o.W=t[3],o.F=Se(e.F),o.P=e.P,o.U=e.U,o.C=[];const s=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((r,i)=>{const a={i:0,$hostElement$:r,o:i,l:new Map,B:new Map};a.H=new Promise((d=>a.L=d)),r["s-p"]=[],r["s-rc"]=[];const l=a;r.__stencil__getHostRef=()=>l,512&i.i&&Fe(r,a)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const r=A(this);if(!r)return;Re(this,r,o.W),this.__hasHostListenerAttached=!0}(r=>{if(!(1&O.i)){const i=A(r);if(!i)return;const a=i.o;if(1&i.i)Re(r,i,a.W),i?.D||i?.H&&i.H.then((()=>{}));else{i.i|=1,12&a.i&&(l=>{if(!k.document)return;const d=l["s-cr"]=k.document.createComment("");d["s-cn"]=!0,$(l,d,l.firstChild)})(r);{let l=r;for(;l=l.parentNode||l.host;)if(l["s-p"]){xe(i,i.R=l);break}}a.t&&Object.entries(a.t).map((([l,[d]])=>{if(31&d&&Object.prototype.hasOwnProperty.call(r,l)){const u=r[l];delete r[l],r[l]=u}})),(async(l,d,u)=>{let c;try{if(!(32&d.i)&&(d.i|=32,c=l.constructor,customElements.whenDefined(l.localName).then((()=>d.i|=128)),c&&c.style)){let h;typeof c.style=="string"&&(h=c.style);const S=ye(u);U.has(S)||((b,y,g)=>{let p=U.get(b);Z&&g?(p=p||new CSSStyleSheet,typeof p=="string"?p=y:p.replaceSync(y)):p=y,U.set(b,p)})(S,h,!!(1&u.i))}const f=d.R,m=()=>ce(d,!0);f&&f["s-rc"]?f["s-rc"].push(m):m()}catch(f){R(f,l),d.A&&(d.A(),d.A=void 0),d.L&&d.L(l)}})(r,i,a)}}})(this),s&&s.call(this)},disconnectedCallback(){(async r=>{if(!(1&O.i)){const i=A(r);i?.V&&(i.V.map((a=>a())),i.V=void 0)}T.has(r)&&T.delete(r),r.shadowRoot&&T.has(r.shadowRoot)&&T.delete(r.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${o.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else ze.call(this,o)}}),Object.defineProperty(e,"is",{value:o.p,configurable:!0}),it(e,o,3)}catch(s){return R(s),e}},Re=(e,t,o)=>{o&&k.document&&o.map((([s,n,r])=>{const i=dt(k.document,e,s),a=ct(t,r),l=ut(s);O.ael(i,n,a,l),(t.V=t.V||[]).push((()=>O.rel(i,n,a,l)))}))},ct=(e,t)=>o=>{try{e.$hostElement$[t](o)}catch(s){R(s,e.$hostElement$)}},dt=(e,t,o)=>8&o?k:t,ut=e=>We?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function yt(e){return e}function Le(e){var t,o,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(o=Le(e[t]))&&(s&&(s+=" "),s+=o)}else for(o in e)e[o]&&(s&&(s+=" "),s+=o);return s}function ft(){for(var e,t,o=0,s="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=Le(e))&&(s&&(s+=" "),s+=t);return s}const ht=Object.freeze(Object.defineProperty({__proto__:null,getSkeletonBaseClassNames:({variant:e,animation:t})=>ft("gids-skeleton",{"gids-skeleton--variant-circular":e==="circular","gids-skeleton--variant-rectangular":e==="rectangular","gids-skeleton--variant-rounded":e==="rounded","gids-skeleton--animation-pulse":t==="pulse","gids-skeleton--animation-wave":t==="wave"})},Symbol.toStringTag,{value:"Module"})),{getSkeletonBaseClassNames:pt}=ht,De=at(class extends Be{constructor(e){super(),e!==!1&&this.__registerHost(),this.variant="text",this.animation="none"}getDimension(e){if(e!=null)return typeof e=="number"?e+"px":e}getStyle(){const e={},t=this.getDimension(this.width),o=this.getDimension(this.height);return t!==void 0&&(e.width=t),o!==void 0&&(e.height=o),e}render(){const e=pt({variant:this.variant??"text",animation:this.animation??"none"});return re(ve,{key:"09fe728912d038d44c4c3f5464ab057461aeabfc",class:e,style:this.getStyle(),"aria-hidden":"true"})}static get style(){return'gids-skeleton,.gids-skeleton-host{--gidsSkeleton-background:var( --gids-color-background-accent-9-subtle-default );--gidsSkeleton-wave-background:linear-gradient( 90deg, transparent 0%, var(--gids-color-background-accent-9-subtler-default) 50%, transparent 100% );--gidsSkeleton-text-border-radius:var(--gids-border-radius-sm);--gidsSkeleton-border-radius:var(--gids-border-radius-md);display:inline-block;position:relative;vertical-align:middle;background-color:var(--gidsSkeleton-background);overflow:hidden;width:auto;height:auto}.gids-skeleton--variant-text{border-radius:var(--gidsSkeleton-text-border-radius);min-height:1.2em;transform:scaleY(0.6);transform-origin:0 50%}.gids-skeleton--variant-circular{border-radius:100% !important;aspect-ratio:1/1}.gids-skeleton--variant-rectangular{border-radius:0}.gids-skeleton--variant-rounded{border-radius:var(--gidsSkeleton-border-radius)}.gids-skeleton--animation-none{animation:none}.gids-skeleton--animation-pulse{animation:gids-skeleton-pulse 1.5s ease-in-out infinite}.gids-skeleton--animation-wave::after{content:"";position:absolute;inset:0;width:100%;height:100%;background:var(--gidsSkeleton-wave-background);transform:translateX(-100%);animation:gids-skeleton-wave 1.6s linear infinite}@keyframes gids-skeleton-pulse{0%{opacity:1}50%{opacity:0.4}100%{opacity:1}}@keyframes gids-skeleton-wave{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}@media (prefers-reduced-motion: reduce){.gids-skeleton--animation-pulse{animation:none}.gids-skeleton--animation-wave::after{animation:none}}'}},[0,"gids-skeleton",{variant:[1],animation:[1],width:[8],height:[8]}]);function He(){typeof customElements<"u"&&["gids-skeleton"].forEach((e=>{e==="gids-skeleton"&&(customElements.get(e)||customElements.define(e,De))}))}He();const mt=De,gt=He;P.GidsSkeleton=mt,P.defineCustomElement=gt,Object.defineProperty(P,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:(y=>{const m=[];for(let p=0;p<y.length;p++){const f=y[p]["s-nr"]||void 0;f&&f.isConnected&&m.push(f)}return m})(S.childNodes)).forEach((y=>{h===H(y)&&b.push(y)})),d?b.filter((y=>y.nodeType===1)):b}).bind(c);c.assignedElements=u(!0),c.assignedNodes=u(!1)})(i),a=e&&e.m&&e.m[s],a&&a.O===r.O&&e.S&&Te(e.S)),i},Te=e=>{_.i|=1;const t=e.closest(R.toLowerCase());if(t!=null){const s=Array.from(t.__childNodes||t.childNodes).find((r=>r["s-cr"])),o=Array.from(e.__childNodes||e.childNodes);for(const r of s?o.reverse():o)r["s-sh"]!=null&&(x(t,r,s??null),r["s-sh"]=void 0,q=!0)}_.i&=-2},Z=(e,t)=>{_.i|=1;const s=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let o=e;for(;o=o.nextSibling;)o&&o["s-sn"]===e["s-sn"]&&o["s-sh"]===R&&s.push(o)}for(let o=s.length-1;o>=0;o--){const r=s[o];r["s-hn"]!==R&&r["s-ol"]&&(x(W(r).parentNode,r,W(r)),r["s-ol"].remove(),r["s-ol"]=void 0,r["s-sh"]=void 0,q=!0),t&&Z(r,t)}_.i&=-2},xe=(e,t,s,o,r,i)=>{let l,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===R&&(a=a.shadowRoot),s.O==="template"&&(a=a.content);r<=i;++r)o[r]&&(l=Y(null,s,r),l&&(o[r].S=l,x(a,l,W(t))))},Ae=(e,t,s)=>{for(let o=t;o<=s;++o){const r=e[o];if(r){const i=r.S;$e(r),i&&(U=!0,i["s-ol"]?i["s-ol"].remove():Z(i,!0),i.remove())}}},J=(e,t,s=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:s?(s&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),W=e=>e&&e["s-ol"]||e,B=(e,t,s=!1)=>{const o=t.S=e.S,r=e.m,i=t.m,l=t.O,a=t.h;let n;a==null?(C=l==="svg"||l!=="foreignObject"&&C,l!=="slot"||M||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Te(t.S.parentElement)),ae(e,t,C),r!==null&&i!==null?((c,u,d,g,b=!1)=>{let h,S,y=0,m=0,p=0,f=0,N=u.length-1,v=u[0],w=u[N],O=g.length-1,T=g[0],j=g[O];const We=d.O==="template"?c.content:c;for(;y<=N&&m<=O;)if(v==null)v=u[++y];else if(w==null)w=u[--N];else if(T==null)T=g[++m];else if(j==null)j=g[--O];else if(J(v,T,b))B(v,T,b),v=u[++y],T=g[++m];else if(J(w,j,b))B(w,j,b),w=u[--N],j=g[--O];else if(J(v,j,b))v.O!=="slot"&&j.O!=="slot"||Z(v.S.parentNode,!1),B(v,j,b),x(We,v.S,w.S.nextSibling),v=u[++y],j=g[--O];else if(J(w,T,b))v.O!=="slot"&&j.O!=="slot"||Z(w.S.parentNode,!1),B(w,T,b),x(We,w.S,v.S),w=u[--N],T=g[++m];else{for(p=-1,f=y;f<=N;++f)if(u[f]&&u[f].$!==null&&u[f].$===T.$){p=f;break}p>=0?(S=u[p],S.O!==T.O?h=Y(u&&u[m],d,p):(B(S,T,b),u[p]=void 0,h=S.S),T=g[++m]):(h=Y(u&&u[m],d,m),T=g[++m]),h&&x(W(v.S).parentNode,h,W(v.S))}y>N?xe(c,g[O+1]==null?null:g[O+1].S,d,g,m,O):m>O&&Ae(u,y,N)})(o,r,t,i,s):i!==null?(e.h!==null&&(o.textContent=""),xe(o,null,t,i,0,i.length-1)):!s&&r!==null&&Ae(r,0,r.length-1),C&&l==="svg"&&(C=!1)):(n=o["s-cr"])?n.parentNode.textContent=a:e.h!==a&&(o.data=a)},E=[],je=e=>{let t,s,o;const r=e.__childNodes||e.childNodes;for(const i of r){if(i["s-sr"]&&(t=i["s-cr"])&&t.parentNode){s=t.parentNode.__childNodes||t.parentNode.childNodes;const l=i["s-sn"];for(o=s.length-1;o>=0;o--)if(t=s[o],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===i["s-hn"]||t["s-sh"]&&t["s-sh"]===i["s-hn"]))if(me(t,l)){let a=E.find((n=>n.k===t));U=!0,t["s-sn"]=t["s-sn"]||l,a?(a.k["s-sh"]=i["s-hn"],a.N=i):(t["s-sh"]=i["s-hn"],E.push({N:i,k:t})),t["s-sr"]&&E.map((n=>{me(n.k,t["s-sn"])&&(a=E.find((c=>c.k===t)),a&&!n.N&&(n.N=a.N))}))}else E.some((a=>a.k===t))||E.push({k:t})}i.nodeType===1&&je(i)}},$e=e=>{e.v&&e.v.ref&&le.push((()=>e.v.ref(null))),e.m&&e.m.map($e)},ot=(e,t)=>{de.push((()=>e(t)))},x=(e,t,s,o)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,s);const{slotNode:r}=(function(i,l){var a;if(!(l=l||((a=i["s-ol"])==null?void 0:a.parentElement)))return{slotNode:null,slotName:""};const n=i["s-sn"]=H(i)||"";return{slotNode:se(re(l,"childNodes"),l.tagName,n)[0],slotName:n}})(t);return r&&!o&&r.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,s):e?.insertBefore(t,s)},st=(e,t,s=!1)=>{var o,r,i,l,a;const n=e.$hostElement$,c=e.o,u=e.M||z(null,null);var d;const g=(d=t)&&d.O===ye?t:A(null,null,t);if(R=n.tagName,c.C&&(g.v=g.v||{},c.C.forEach((([b,h])=>{g.v[h]=n[b]}))),s&&g.v)for(const b of Object.keys(g.v))n.hasAttribute(b)&&!["key","ref","style","class"].includes(b)&&(g.v[b]=n[b]);if(g.O=null,g.i|=4,e.M=g,g.S=u.S=n.shadowRoot||n,M=!(!(1&c.i)||128&c.i),ie=n["s-cr"],U=!1,B(u,g,s),_.i|=1,q){je(g.S);for(const b of E){const h=b.k;if(!h["s-ol"]&&k.document){const S=k.document.createTextNode("");S["s-nr"]=h,x(h.parentNode,h["s-ol"]=S,h,s)}}for(const b of E){const h=b.k,S=b.N;if(h.nodeType===1&&s&&(h["s-ih"]=(o=h.hidden)!=null&&o),S){const y=S.parentNode;let m=S.nextSibling;if(m&&m.nodeType===1){let p=(r=h["s-ol"])==null?void 0:r.previousSibling;for(;p;){let f=(i=p["s-nr"])!=null?i:null;if(f&&f["s-sn"]===h["s-sn"]&&y===(f.__parentNode||f.parentNode)){for(f=f.nextSibling;f===h||f?.["s-sr"];)f=f?.nextSibling;if(!f||!f["s-nr"]){m=f;break}}p=p.previousSibling}}if((!m&&y!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==m)&&h!==m){if(x(y,h,m,s),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const p=k.document.createTextNode(h.nodeValue.replace(/^s-nt-/,""));p["s-hn"]=h["s-hn"],p["s-sn"]=h["s-sn"],p["s-sh"]=h["s-sh"],p["s-sr"]=h["s-sr"],p["s-ol"]=h["s-ol"],p["s-ol"]["s-nr"]=p,x(h.parentNode,p,h,s),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(l=h["s-ih"])!=null&&l)}h&&typeof S["s-rf"]=="function"&&S["s-rf"](S)}else h.nodeType===1&&(h.hidden=!0)}}if(U&&pe(g.S),_.i&=-2,E.length=0,!M&&!(1&c.i)&&n["s-cr"]){const b=g.S.__childNodes||g.S.childNodes;for(const h of b)if(h["s-hn"]!==R&&!h["s-sh"]){if(s&&h["s-ih"]==null&&(h["s-ih"]=(a=h.hidden)!=null&&a),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const S=k.document.createComment("s-nt-"+h.nodeValue);S["s-sn"]=h["s-sn"],x(h.parentNode,S,h,s),h.parentNode.removeChild(h)}}}ie=void 0,le.forEach((b=>b())),le.length=0,de.forEach((b=>b())),de.length=0},Ee=(e,t)=>{if(t&&!e.A&&t["s-p"]){const s=t["s-p"].push(new Promise((o=>e.A=()=>{t["s-p"].splice(s-1,1),o()})))}},ce=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Ee(e,e.R);const s=()=>rt(e,t);if(!t)return Ye(s);queueMicrotask((()=>{s()}))},rt=(e,t)=>{const s=e.$hostElement$,o=s;if(!o)throw new Error(`Can't render component <${s.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 r;return r=F(o,t?"componentWillLoad":"componentWillUpdate",void 0,s),r=Ie(r,(()=>F(o,"componentWillRender",void 0,s))),Ie(r,(()=>nt(e,o,t)))},Ie=(e,t)=>it(e)?e.then(t).catch((s=>{console.error(s),t()})):t(),it=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",nt=async(e,t,s)=>{var o;const r=e.$hostElement$,i=r["s-rc"];s&&(l=>{const a=l.o,n=l.$hostElement$,c=a.i,u=((d,g)=>{var b,h,S;const y=ve(g),m=G.get(y);if(!k.document)return y;if(d=d.nodeType===11?d:k.document,m)if(typeof m=="string"){let p,f=I.get(d=d.head||d);if(f||I.set(d,f=new Set),!f.has(y)){p=k.document.createElement("style"),p.textContent=m;const N=(b=_._)!=null?b:(function(){var v,w,O;return(O=(w=(v=k.document.head)==null?void 0:v.querySelector('meta[name="csp-nonce"]'))==null?void 0:w.getAttribute("content"))!=null?O:void 0})();if(N!=null&&p.setAttribute("nonce",N),!(1&g.i))if(d.nodeName==="HEAD"){const v=d.querySelectorAll("link[rel=preconnect]"),w=v.length>0?v[v.length-1].nextSibling:d.querySelector("style");d.insertBefore(p,w?.parentNode===d?w:null)}else if("host"in d)if(Q){const v=new((h=d.defaultView)!=null?h:d.ownerDocument.defaultView).CSSStyleSheet;v.replaceSync(m),X?d.adoptedStyleSheets.unshift(v):d.adoptedStyleSheets=[v,...d.adoptedStyleSheets]}else{const v=d.querySelector("style");v?v.textContent=m+v.textContent:d.prepend(p)}else d.append(p);1&g.i&&d.insertBefore(p,null),4&g.i&&(p.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),f&&f.add(y)}}else{let p=I.get(d);if(p||I.set(d,p=new Set),!p.has(y)){const f=(S=d.defaultView)!=null?S:d.ownerDocument.defaultView;let N;if(m.constructor===f.CSSStyleSheet)N=m;else{N=new f.CSSStyleSheet;for(let v=0;v<m.cssRules.length;v++)N.insertRule(m.cssRules[v].cssText,v)}X?d.adoptedStyleSheets.push(N):d.adoptedStyleSheets=[...d.adoptedStyleSheets,N],p.add(y)}}return y})(n.shadowRoot?n.shadowRoot:n.getRootNode(),a);10&c&&(n["s-sc"]=u,n.classList.add(u+"-h"))})(e),at(e,t,r,s),i&&(i.map((l=>l())),r["s-rc"]=void 0);{const l=(o=r["s-p"])!=null?o:[],a=()=>lt(e);l.length===0?a():(Promise.all(l).then(a).catch(a),e.i|=4,l.length=0)}},at=(e,t,s,o)=>{try{t=t.render(),e.i&=-17,e.i|=2,st(e,t,o)}catch(r){L(r,e.$hostElement$)}return null},lt=e=>{const t=e.$hostElement$,s=t,o=e.R;F(s,"componentDidRender",void 0,t),64&e.i?F(s,"componentDidUpdate",void 0,t):(e.i|=64,ct(t),F(s,"componentDidLoad",void 0,t),e.L(t),o||dt()),e.A&&(e.A(),e.A=void 0),512&e.i&&oe((()=>ce(e,!1))),e.i&=-517},dt=()=>{oe((()=>Xe(k,"appload",{detail:{namespace:"gids-core-web"}})))},F=(e,t,s,o)=>{if(e&&e[t])try{return e[t](s)}catch(r){L(r,o)}},ct=e=>e.classList.add("hydrated"),Pe=(e,t,s,o)=>{const r=$(e);if(!r)return;const i=e,l=r.l.get(t),a=r.i,n=i;s=we(s,o.t[t][0],!!(64&o.i));const c=Number.isNaN(l)&&Number.isNaN(s);if(s!==l&&!c){if(r.l.set(t,s),o.F){const u=o.F[t];u&&u.map((d=>{try{const[[g,b]]=Object.entries(d);(128&a||1&b)&&(n?n[g](s,l,t):r.T.push((()=>{r.D[g](s,l,t)})))}catch(g){L(g,i)}}))}if(2&a){if(n.componentShouldUpdate&&n.componentShouldUpdate(s,l,t)===!1&&!(16&a))return;16&a||ce(r,!1)}}},ut=(e,t,s)=>{var o,r;const i=e.prototype;64&t.i&&1&s&&Ge.forEach((l=>{const a=i[l];Object.defineProperty(i,l,{value(...n){var c;const u=$(this),d=this;d?typeof a=="function"&&a.call(d,...n):(c=u?.H)==null||c.then((g=>{const b=g[l];typeof b=="function"&&b.call(g,...n)}))}})}));{e.watchers&&!t.F&&(t.F=ke(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const l=Object.entries((o=t.t)!=null?o:{});l.map((([a,[n]])=>{if(31&n||32&n){const{get:c,set:u}=V(i,a)||{};c&&(t.t[a][0]|=2048),u&&(t.t[a][0]|=4096),Object.defineProperty(i,a,{get(){return c?c.apply(this):(d=a,$(this).l.get(d));var d},configurable:!0,enumerable:!0}),Object.defineProperty(i,a,{set(d){const g=$(this);if(g){if(u)return(32&n?this[a]:g.$hostElement$[a])===void 0&&g.l.get(a)&&(d=g.l.get(a)),u.apply(this,[we(d,n,!!(64&t.i))]),void Pe(this,a,d=32&n?this[a]:g.$hostElement$[a],t);Pe(this,a,d,t)}}})}}));{const a=new Map;i.attributeChangedCallback=function(n,c,u){_.jmp((()=>{var d;const g=a.get(n),b=$(this);if(this.hasOwnProperty(g),i.hasOwnProperty(g)&&typeof this[g]=="number"&&this[g]==u)return;if(g==null){const p=b?.i;if(b&&p&&!(8&p)&&u!==c){const f=this,N=(d=t.F)==null?void 0:d[n];N?.forEach((v=>{const[[w,O]]=Object.entries(v);f[w]!=null&&(128&p||1&O)&&f[w].call(f,u,c,n)}))}return}const h=l.find((([p])=>p===g)),S=h&&4&h[1][0],y=S&&u===null&&this[g]===void 0;S&&(u=u!==null&&u!=="false");const m=Object.getOwnPropertyDescriptor(i,g);y||u==this[g]||m.get&&!m.set||(this[g]=u)}))},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.F)!=null?r:{}),...l.filter((([n,c])=>31&c[0])).map((([n,c])=>{var u;const d=c[1]||n;return a.set(d,n),512&c[0]&&((u=t.C)==null||u.push([n,d])),d}))]))}}return e},gt=(e,t)=>{const s={i:t[0],p:t[1]};try{s.t=t[2],s.W=t[3],s.F=ke(e.F),s.P=e.P,s.U=e.U,s.C=[];const o=e.prototype.connectedCallback,r=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((i,l)=>{const a={i:0,$hostElement$:i,o:l,l:new Map,B:new Map};a.H=new Promise((c=>a.L=c)),i["s-p"]=[],i["s-rc"]=[];const n=a;i.__stencil__getHostRef=()=>n,512&l.i&&Fe(i,a)})(this,s)},connectedCallback(){if(!this.__hasHostListenerAttached){const i=$(this);if(!i)return;Le(this,i,s.W),this.__hasHostListenerAttached=!0}(i=>{if(!(1&_.i)){const l=$(i);if(!l)return;const a=l.o;if(1&l.i)Le(i,l,a.W),l?.D||l?.H&&l.H.then((()=>{}));else{l.i|=1,12&a.i&&(n=>{if(!k.document)return;const c=n["s-cr"]=k.document.createComment("");c["s-cn"]=!0,x(n,c,n.firstChild)})(i);{let n=i;for(;n=n.parentNode||n.host;)if(n["s-p"]){Ee(l,l.R=n);break}}a.t&&Object.entries(a.t).map((([n,[c]])=>{if(31&c&&Object.prototype.hasOwnProperty.call(i,n)){const u=i[n];delete i[n],i[n]=u}})),(async(n,c,u)=>{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=ve(u);G.has(S)||((y,m,p)=>{let f=G.get(y);Q&&p?(f=f||new CSSStyleSheet,typeof f=="string"?f=m:f.replaceSync(m)):f=m,G.set(y,f)})(S,h,!!(1&u.i))}const g=c.R,b=()=>ce(c,!0);g&&g["s-rc"]?g["s-rc"].push(b):b()}catch(g){L(g,n),c.A&&(c.A(),c.A=void 0),c.L&&c.L(n)}})(i,l,a)}}})(this),o&&o.call(this)},disconnectedCallback(){(async i=>{if(!(1&_.i)){const l=$(i);l?.V&&(l.V.map((a=>a())),l.V=void 0)}I.has(i)&&I.delete(i),i.shadowRoot&&I.has(i.shadowRoot)&&I.delete(i.shadowRoot)})(this),r&&r.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${s.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Ze.call(this,s)}}),Object.defineProperty(e,"is",{value:s.p,configurable:!0}),ut(e,s,3)}catch(o){return L(o),e}},Le=(e,t,s)=>{s&&k.document&&s.map((([o,r,i])=>{const l=ft(k.document,e,o),a=ht(t,i),n=bt(o);_.ael(l,r,a,n),(t.V=t.V||[]).push((()=>_.rel(l,r,a,n)))}))},ht=(e,t)=>s=>{try{e.$hostElement$[t](s)}catch(o){L(o,e.$hostElement$)}},ft=(e,t,s)=>8&s?k:t,bt=e=>Ue?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function Ct(e){return e}function Re(e){var t,s,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(s=Re(e[t]))&&(o&&(o+=" "),o+=s)}else for(s in e)e[s]&&(o&&(o+=" "),o+=s);return o}function Ve(){for(var e,t,s=0,o="",r=arguments.length;s<r;s++)(e=arguments[s])&&(t=Re(e))&&(o&&(o+=" "),o+=t);return o}const K=99,pt=Object.freeze(Object.defineProperty({__proto__:null,getDisplayContent:(e,t)=>e===void 0?t??"":e>K?`${K}+`:e.toString(),maxCount:K,shouldIncludeA11yText:(e,t,s)=>e==="dot"||t!==void 0&&t>K||s},Symbol.toStringTag,{value:"Module"})),mt=Object.freeze(Object.defineProperty({__proto__:null,getGidsBadgeClassNames:({appearance:e,type:t,outline:s},o)=>Ve("gids-badge",{"gids-badge--danger":e==="danger","gids-badge--positive":e==="positive","gids-badge--warning":e==="warning","gids-badge--inverse":e==="inverse"},{"gids-badge--dot":t==="dot"},{"gids-badge--outline":s},o)},Symbol.toStringTag,{value:"Module"})),vt=Object.freeze(Object.defineProperty({__proto__:null,getGidsTabItemClassNames:({appearance:e,width:t="intrinsic",active:s},o)=>Ve("gids-tab-item",{"gids-tab-item--full":t==="full","gids-tab-item--active-default":e==="default"&&s,"gids-tab-item--active-primary":e==="primary"&&s,"gids-tab-item--active-bordered":e==="bordered"&&s,"gids-tab-item--active-underlined":e==="underlined"&&s,"gids-tab-item--active-subtle":e==="subtle"&&s,"gids-tab-item--default":e==="default"&&!s,"gids-tab-item--primary":e==="primary"&&!s,"gids-tab-item--bordered":e==="bordered"&&!s,"gids-tab-item--underlined":e==="underlined"&&!s,"gids-tab-item--subtle":e==="subtle"&&!s},o)},Symbol.toStringTag,{value:"Module"})),Be=e=>e!==void 0&&(!Array.isArray(e)||e.length>0),{getDisplayContent:De,shouldIncludeA11yText:yt}=pt,{getGidsBadgeClassNames:St}=mt,kt=({appearance:e,type:t,count:s,accessibleText:o,outline:r,class:i,...l})=>{const a=yt(t,s,Be(o));return A("span",{class:St({appearance:e,type:t,outline:r},i),...l},a&&A("span",{class:"gids-visually-hidden"},Be(o)?o:s),t==="notification"?a?A("span",{"aria-hidden":"true"},De(s,o)):De(s,o):null)},{getGidsTabItemClassNames:wt}=vt,He=gt(class extends ze{constructor(e){super(),e!==!1&&this.__registerHost(),this.active=!1,this.width="intrinsic",this.appearance="default",this.badgeVisible=!1,this.badgeAppearance="information",this.badgeType="dot",this.hasLeadingIcon=!1,this.hasTrailingIcon=!1,this.handleHostClick=()=>{this.onPressGidsTabItem&&this.onPressGidsTabItem({itemId:this.itemId,label:this?.label??"",active:this?.active??!1,appearance:this?.appearance??"default",name:this?.name,badgeCount:this?.badgeCount??0})}}handleWidthChange(e){this.width=e}handleAppearanceChange(e){this.appearance=e}handleBadgeVisibilityChange(e){this.badgeVisible=e}handleBadgeAppearanceChange(e){this.badgeAppearance=e}handleBadgeTypeChange(e){this.badgeType=e}handleActiveChange(e){this.active=e}componentWillLoad(){this.checkSlots()}componentWillUpdate(){this.checkSlots()}checkSlots(){this.hasLeadingIcon=!!this.hostElement.querySelector('[slot="leadingIconTabItem"]'),this.hasTrailingIcon=!!this.hostElement.querySelector('[slot="trailingIconTabItem"]')}render(){const e=wt({appearance:this.appearance,width:this.width,active:this.active}),t=this.hasTrailingIcon,s=this.badgeVisible,o=this.appearance==="primary"&&this.active?"inverse":this.badgeAppearance??"information",r=this.label;return A(ye,{key:"77199a879f06e13e122300708079ec317e0b2054",class:e,onClick:this.handleHostClick},this.hasLeadingIcon?A("slot",{name:"leadingIconTabItem"}):void 0,r&&r!==""?A("span",{class:"gids-tab-item__label"},r&&r!==""?r:void 0,s?A(kt,{appearance:o,type:this.badgeType,count:this.badgeCount}):void 0):void 0,t?A("slot",{name:"trailingIconTabItem"}):void 0)}get hostElement(){return this}static get watchers(){return{width:[{handleWidthChange:0}],appearance:[{handleAppearanceChange:0}],badgeVisible:[{handleBadgeVisibilityChange:0}],badgeAppearance:[{handleBadgeAppearanceChange:0}],badgeType:[{handleBadgeTypeChange:0}],active:[{handleActiveChange:0}]}}static get style(){return".gids-tab-item{margin:0;padding:0;appearance:none;border:none;background:none;display:inline-flex;justify-content:center;align-items:center;gap:var(--gids-gap-100);padding:var(--gids-padding-vertical-edge-to-element-150) var(--gids-padding-horizontal-edge-to-element-150);color:var(--gids-color-text-accent-5);white-space:nowrap;flex-shrink:0;cursor:pointer}.gids-tab-item .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-5)}.gids-tab-item__label{font-family:var(--gids-typography-label-small__font-family);font-size:var(--gids-typography-label-small__font-size);font-weight:var(--gids-typography-label-small__font-weight);letter-spacing:var(--gids-typography-label-small__letter-spacing);line-height:var(--gids-typography-label-small__line-height);text-transform:var(--gids-typography-label-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-small__font-variant-caps, inherit);display:flex;justify-content:center;align-items:center;flex:1;gap:var(--gids-gap-150)}.gids-tab-item--full{display:flex}.gids-tab-item--default{border-radius:var(--gids-border-radius-md)}.gids-tab-item--default:hover{background-color:var(--gids-color-background-accent-4-subtler-hovered);color:var(--gids-color-text-accent-4)}.gids-tab-item--default:hover .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--default:active{background-color:var(--gids-color-background-accent-4-subtler-pressed);color:var(--gids-color-text-accent-4)}.gids-tab-item--default:active .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--primary{border-radius:var(--gids-border-radius-md)}.gids-tab-item--primary:hover{background-color:var(--gids-color-background-accent-4-bolder-hovered);color:var(--gids-color-text-inverse)}.gids-tab-item--primary:hover .gids-icon{--gidsIcon-color:var(--gids-color-icon-inverse)}.gids-tab-item--primary:active{background-color:var(--gids-color-background-accent-4-bolder-pressed);color:var(--gids-color-text-inverse)}.gids-tab-item--primary:active .gids-icon{--gidsIcon-color:var(--gids-color-icon-inverse)}.gids-tab-item--bordered{border-radius:var(--gids-border-radius-full)}.gids-tab-item--bordered:hover{background-color:var(--gids-color-background-accent-4-subtlest-hovered);color:var(--gids-color-text-accent-4);border:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4)}.gids-tab-item--bordered:hover .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--bordered:active{background-color:var(--gids-color-background-accent-4-subtlest-pressed);color:var(--gids-color-text-accent-4);border:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4)}.gids-tab-item--bordered:active .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--underlined{border-bottom:var(--gids-border-width-thick) solid var(--gids-color-border-input)}.gids-tab-item--underlined:hover{background-color:var(--gids-color-background-accent-4-subtlest-hovered);border-bottom:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4);border-top-left-radius:var(--gids-border-radius-md);border-top-right-radius:var(--gids-border-radius-md);color:var(--gids-color-text-accent-4)}.gids-tab-item--underlined:active{background-color:var(--gids-color-background-accent-4-subtlest-pressed);border-bottom:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4);border-top-left-radius:var(--gids-border-radius-md);border-top-right-radius:var(--gids-border-radius-md);color:var(--gids-color-text-accent-4)}.gids-tab-item--subtle:hover{color:var(--gids-color-text-accent-4)}.gids-tab-item--subtle:hover .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--subtle:active{color:var(--gids-color-text-accent-4)}.gids-tab-item--subtle:active .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--active-default{border-radius:var(--gids-border-radius-md);background-color:var(--gids-color-background-accent-4-subtler-default);color:var(--gids-color-text-accent-4)}.gids-tab-item--active-default .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--active-default:hover{background-color:var(--gids-color-background-accent-4-subtler-hovered)}.gids-tab-item--active-default:active{background-color:var(--gids-color-background-accent-4-subtler-pressed)}.gids-tab-item--active-primary{border-radius:var(--gids-border-radius-md);background-color:var(--gids-color-background-accent-4-bolder-default);color:var(--gids-color-text-inverse)}.gids-tab-item--active-primary .gids-icon{--gidsIcon-color:var(--gids-color-icon-inverse)}.gids-tab-item--active-primary:hover{background-color:var(--gids-color-background-accent-4-bolder-hovered)}.gids-tab-item--active-primary:active{background-color:var(--gids-color-background-accent-4-bolder-pressed)}.gids-tab-item--active-bordered{border-radius:var(--gids-border-radius-full);border:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4);background-color:var(--gids-color-background-accent-4-subtlest-default);color:var(--gids-color-text-accent-4)}.gids-tab-item--active-bordered .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--active-bordered:hover{background-color:var(--gids-color-background-accent-4-subtlest-hovered)}.gids-tab-item--active-bordered:active{background-color:var(--gids-color-background-accent-4-subtlest-pressed)}.gids-tab-item--active-underlined{border-bottom:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4);border-top-left-radius:var(--gids-border-radius-md);border-top-right-radius:var(--gids-border-radius-md);color:var(--gids-color-text-accent-4);background-color:var(--gids-color-background-accent-4-subtlest-default)}.gids-tab-item--active-underlined .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--active-underlined:hover{background-color:var(--gids-color-background-accent-4-subtlest-hovered)}.gids-tab-item--active-underlined:active{background-color:var(--gids-color-background-accent-4-subtlest-pressed)}.gids-tab-item--active-subtle{color:var(--gids-color-text-accent-4)}.gids-tab-item--active-subtle .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}"}},[260,"gids-tab-item",{itemId:[1,"item-id"],label:[1],active:[4],name:[1],width:[1],appearance:[1],badgeVisible:[4,"badge-visible"],badgeAppearance:[1,"badge-appearance"],badgeCount:[2,"badge-count"],badgeType:[1,"badge-type"],onPressGidsTabItem:[16],hasLeadingIcon:[32],hasTrailingIcon:[32]},void 0,{width:[{handleWidthChange:0}],appearance:[{handleAppearanceChange:0}],badgeVisible:[{handleBadgeVisibilityChange:0}],badgeAppearance:[{handleBadgeAppearanceChange:0}],badgeType:[{handleBadgeTypeChange:0}],active:[{handleActiveChange:0}]}]);function Me(){typeof customElements<"u"&&["gids-tab-item"].forEach((e=>{e==="gids-tab-item"&&(customElements.get(e)||customElements.define(e,He))}))}Me();const Nt=He,_t=Me;P.GidsTabItem=Nt,P.defineCustomElement=_t,Object.defineProperty(P,Symbol.toStringTag,{value:"Module"})}));
5
+ `);const S=this["s-cr"].parentElement;return(S.__childNodes?S.childNodes:(y=>{const m=[];for(let p=0;p<y.length;p++){const f=y[p]["s-nr"]||void 0;f&&f.isConnected&&m.push(f)}return m})(S.childNodes)).forEach((y=>{h===H(y)&&b.push(y)})),d?b.filter((y=>y.nodeType===1)):b}).bind(c);c.assignedElements=u(!0),c.assignedNodes=u(!1)})(i),a=e&&e.m&&e.m[s],a&&a.O===r.O&&e.S&&Te(e.S)),i},Te=e=>{_.i|=1;const t=e.closest(R.toLowerCase());if(t!=null){const s=Array.from(t.__childNodes||t.childNodes).find((r=>r["s-cr"])),o=Array.from(e.__childNodes||e.childNodes);for(const r of s?o.reverse():o)r["s-sh"]!=null&&(x(t,r,s??null),r["s-sh"]=void 0,q=!0)}_.i&=-2},Z=(e,t)=>{_.i|=1;const s=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let o=e;for(;o=o.nextSibling;)o&&o["s-sn"]===e["s-sn"]&&o["s-sh"]===R&&s.push(o)}for(let o=s.length-1;o>=0;o--){const r=s[o];r["s-hn"]!==R&&r["s-ol"]&&(x(W(r).parentNode,r,W(r)),r["s-ol"].remove(),r["s-ol"]=void 0,r["s-sh"]=void 0,q=!0),t&&Z(r,t)}_.i&=-2},xe=(e,t,s,o,r,i)=>{let l,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===R&&(a=a.shadowRoot),s.O==="template"&&(a=a.content);r<=i;++r)o[r]&&(l=Y(null,s,r),l&&(o[r].S=l,x(a,l,W(t))))},Ae=(e,t,s)=>{for(let o=t;o<=s;++o){const r=e[o];if(r){const i=r.S;$e(r),i&&(U=!0,i["s-ol"]?i["s-ol"].remove():Z(i,!0),i.remove())}}},J=(e,t,s=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:s?(s&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),W=e=>e&&e["s-ol"]||e,B=(e,t,s=!1)=>{const o=t.S=e.S,r=e.m,i=t.m,l=t.O,a=t.h;let n;a==null?(C=l==="svg"||l!=="foreignObject"&&C,l!=="slot"||M||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Te(t.S.parentElement)),ae(e,t,C),r!==null&&i!==null?((c,u,d,g,b=!1)=>{let h,S,y=0,m=0,p=0,f=0,N=u.length-1,v=u[0],w=u[N],O=g.length-1,T=g[0],j=g[O];const We=d.O==="template"?c.content:c;for(;y<=N&&m<=O;)if(v==null)v=u[++y];else if(w==null)w=u[--N];else if(T==null)T=g[++m];else if(j==null)j=g[--O];else if(J(v,T,b))B(v,T,b),v=u[++y],T=g[++m];else if(J(w,j,b))B(w,j,b),w=u[--N],j=g[--O];else if(J(v,j,b))v.O!=="slot"&&j.O!=="slot"||Z(v.S.parentNode,!1),B(v,j,b),x(We,v.S,w.S.nextSibling),v=u[++y],j=g[--O];else if(J(w,T,b))v.O!=="slot"&&j.O!=="slot"||Z(w.S.parentNode,!1),B(w,T,b),x(We,w.S,v.S),w=u[--N],T=g[++m];else{for(p=-1,f=y;f<=N;++f)if(u[f]&&u[f].$!==null&&u[f].$===T.$){p=f;break}p>=0?(S=u[p],S.O!==T.O?h=Y(u&&u[m],d,p):(B(S,T,b),u[p]=void 0,h=S.S),T=g[++m]):(h=Y(u&&u[m],d,m),T=g[++m]),h&&x(W(v.S).parentNode,h,W(v.S))}y>N?xe(c,g[O+1]==null?null:g[O+1].S,d,g,m,O):m>O&&Ae(u,y,N)})(o,r,t,i,s):i!==null?(e.h!==null&&(o.textContent=""),xe(o,null,t,i,0,i.length-1)):!s&&r!==null&&Ae(r,0,r.length-1),C&&l==="svg"&&(C=!1)):(n=o["s-cr"])?n.parentNode.textContent=a:e.h!==a&&(o.data=a)},E=[],je=e=>{let t,s,o;const r=e.__childNodes||e.childNodes;for(const i of r){if(i["s-sr"]&&(t=i["s-cr"])&&t.parentNode){s=t.parentNode.__childNodes||t.parentNode.childNodes;const l=i["s-sn"];for(o=s.length-1;o>=0;o--)if(t=s[o],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===i["s-hn"]||t["s-sh"]&&t["s-sh"]===i["s-hn"]))if(me(t,l)){let a=E.find((n=>n.k===t));U=!0,t["s-sn"]=t["s-sn"]||l,a?(a.k["s-sh"]=i["s-hn"],a.N=i):(t["s-sh"]=i["s-hn"],E.push({N:i,k:t})),t["s-sr"]&&E.map((n=>{me(n.k,t["s-sn"])&&(a=E.find((c=>c.k===t)),a&&!n.N&&(n.N=a.N))}))}else E.some((a=>a.k===t))||E.push({k:t})}i.nodeType===1&&je(i)}},$e=e=>{e.v&&e.v.ref&&le.push((()=>e.v.ref(null))),e.m&&e.m.map($e)},ot=(e,t)=>{de.push((()=>e(t)))},x=(e,t,s,o)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,s);const{slotNode:r}=(function(i,l){var a;if(!(l=l||((a=i["s-ol"])==null?void 0:a.parentElement)))return{slotNode:null,slotName:""};const n=i["s-sn"]=H(i)||"";return{slotNode:se(re(l,"childNodes"),l.tagName,n)[0],slotName:n}})(t);return r&&!o&&r.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,s):e?.insertBefore(t,s)},st=(e,t,s=!1)=>{var o,r,i,l,a;const n=e.$hostElement$,c=e.o,u=e.M||z(null,null);var d;const g=(d=t)&&d.O===ye?t:A(null,null,t);if(R=n.tagName,c.C&&(g.v=g.v||{},c.C.forEach((([b,h])=>{g.v[h]=n[b]}))),s&&g.v)for(const b of Object.keys(g.v))n.hasAttribute(b)&&!["key","ref","style","class"].includes(b)&&(g.v[b]=n[b]);if(g.O=null,g.i|=4,e.M=g,g.S=u.S=n.shadowRoot||n,M=!(!(1&c.i)||128&c.i),ie=n["s-cr"],U=!1,B(u,g,s),_.i|=1,q){je(g.S);for(const b of E){const h=b.k;if(!h["s-ol"]&&k.document){const S=k.document.createTextNode("");S["s-nr"]=h,x(h.parentNode,h["s-ol"]=S,h,s)}}for(const b of E){const h=b.k,S=b.N;if(h.nodeType===1&&s&&(h["s-ih"]=(o=h.hidden)!=null&&o),S){const y=S.parentNode;let m=S.nextSibling;if(m&&m.nodeType===1){let p=(r=h["s-ol"])==null?void 0:r.previousSibling;for(;p;){let f=(i=p["s-nr"])!=null?i:null;if(f&&f["s-sn"]===h["s-sn"]&&y===(f.__parentNode||f.parentNode)){for(f=f.nextSibling;f===h||f?.["s-sr"];)f=f?.nextSibling;if(!f||!f["s-nr"]){m=f;break}}p=p.previousSibling}}if((!m&&y!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==m)&&h!==m){if(x(y,h,m,s),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const p=k.document.createTextNode(h.nodeValue.replace(/^s-nt-/,""));p["s-hn"]=h["s-hn"],p["s-sn"]=h["s-sn"],p["s-sh"]=h["s-sh"],p["s-sr"]=h["s-sr"],p["s-ol"]=h["s-ol"],p["s-ol"]["s-nr"]=p,x(h.parentNode,p,h,s),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(l=h["s-ih"])!=null&&l)}h&&typeof S["s-rf"]=="function"&&S["s-rf"](S)}else h.nodeType===1&&(h.hidden=!0)}}if(U&&pe(g.S),_.i&=-2,E.length=0,!M&&!(1&c.i)&&n["s-cr"]){const b=g.S.__childNodes||g.S.childNodes;for(const h of b)if(h["s-hn"]!==R&&!h["s-sh"]){if(s&&h["s-ih"]==null&&(h["s-ih"]=(a=h.hidden)!=null&&a),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const S=k.document.createComment("s-nt-"+h.nodeValue);S["s-sn"]=h["s-sn"],x(h.parentNode,S,h,s),h.parentNode.removeChild(h)}}}ie=void 0,le.forEach((b=>b())),le.length=0,de.forEach((b=>b())),de.length=0},Ee=(e,t)=>{if(t&&!e.A&&t["s-p"]){const s=t["s-p"].push(new Promise((o=>e.A=()=>{t["s-p"].splice(s-1,1),o()})))}},ce=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Ee(e,e.R);const s=()=>rt(e,t);if(!t)return Ye(s);queueMicrotask((()=>{s()}))},rt=(e,t)=>{const s=e.$hostElement$,o=s;if(!o)throw new Error(`Can't render component <${s.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 r;return r=F(o,t?"componentWillLoad":"componentWillUpdate",void 0,s),r=Ie(r,(()=>F(o,"componentWillRender",void 0,s))),Ie(r,(()=>nt(e,o,t)))},Ie=(e,t)=>it(e)?e.then(t).catch((s=>{console.error(s),t()})):t(),it=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",nt=async(e,t,s)=>{var o;const r=e.$hostElement$,i=r["s-rc"];s&&(l=>{const a=l.o,n=l.$hostElement$,c=a.i,u=((d,g)=>{var b,h,S;const y=ve(g),m=G.get(y);if(!k.document)return y;if(d=d.nodeType===11?d:k.document,m)if(typeof m=="string"){let p,f=I.get(d=d.head||d);if(f||I.set(d,f=new Set),!f.has(y)){p=k.document.createElement("style"),p.textContent=m;const N=(b=_._)!=null?b:(function(){var v,w,O;return(O=(w=(v=k.document.head)==null?void 0:v.querySelector('meta[name="csp-nonce"]'))==null?void 0:w.getAttribute("content"))!=null?O:void 0})();if(N!=null&&p.setAttribute("nonce",N),!(1&g.i))if(d.nodeName==="HEAD"){const v=d.querySelectorAll("link[rel=preconnect]"),w=v.length>0?v[v.length-1].nextSibling:d.querySelector("style");d.insertBefore(p,w?.parentNode===d?w:null)}else if("host"in d)if(Q){const v=new((h=d.defaultView)!=null?h:d.ownerDocument.defaultView).CSSStyleSheet;v.replaceSync(m),X?d.adoptedStyleSheets.unshift(v):d.adoptedStyleSheets=[v,...d.adoptedStyleSheets]}else{const v=d.querySelector("style");v?v.textContent=m+v.textContent:d.prepend(p)}else d.append(p);1&g.i&&d.insertBefore(p,null),4&g.i&&(p.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),f&&f.add(y)}}else{let p=I.get(d);if(p||I.set(d,p=new Set),!p.has(y)){const f=(S=d.defaultView)!=null?S:d.ownerDocument.defaultView;let N;if(m.constructor===f.CSSStyleSheet)N=m;else{N=new f.CSSStyleSheet;for(let v=0;v<m.cssRules.length;v++)N.insertRule(m.cssRules[v].cssText,v)}X?d.adoptedStyleSheets.push(N):d.adoptedStyleSheets=[...d.adoptedStyleSheets,N],p.add(y)}}return y})(n.shadowRoot?n.shadowRoot:n.getRootNode(),a);10&c&&(n["s-sc"]=u,n.classList.add(u+"-h"))})(e),at(e,t,r,s),i&&(i.map((l=>l())),r["s-rc"]=void 0);{const l=(o=r["s-p"])!=null?o:[],a=()=>lt(e);l.length===0?a():(Promise.all(l).then(a).catch(a),e.i|=4,l.length=0)}},at=(e,t,s,o)=>{try{t=t.render(),e.i&=-17,e.i|=2,st(e,t,o)}catch(r){L(r,e.$hostElement$)}return null},lt=e=>{const t=e.$hostElement$,s=t,o=e.R;F(s,"componentDidRender",void 0,t),64&e.i?F(s,"componentDidUpdate",void 0,t):(e.i|=64,ct(t),F(s,"componentDidLoad",void 0,t),e.L(t),o||dt()),e.A&&(e.A(),e.A=void 0),512&e.i&&oe((()=>ce(e,!1))),e.i&=-517},dt=()=>{oe((()=>Xe(k,"appload",{detail:{namespace:"gids-core-web"}})))},F=(e,t,s,o)=>{if(e&&e[t])try{return e[t](s)}catch(r){L(r,o)}},ct=e=>e.classList.add("hydrated"),Pe=(e,t,s,o)=>{const r=$(e);if(!r)return;const i=e,l=r.l.get(t),a=r.i,n=i;s=we(s,o.t[t][0],!!(64&o.i));const c=Number.isNaN(l)&&Number.isNaN(s);if(s!==l&&!c){if(r.l.set(t,s),o.F){const u=o.F[t];u&&u.map((d=>{try{const[[g,b]]=Object.entries(d);(128&a||1&b)&&(n?n[g](s,l,t):r.T.push((()=>{r.D[g](s,l,t)})))}catch(g){L(g,i)}}))}if(2&a){if(n.componentShouldUpdate&&n.componentShouldUpdate(s,l,t)===!1&&!(16&a))return;16&a||ce(r,!1)}}},ut=(e,t,s)=>{var o,r;const i=e.prototype;64&t.i&&1&s&&Ge.forEach((l=>{const a=i[l];Object.defineProperty(i,l,{value(...n){var c;const u=$(this),d=this;d?typeof a=="function"&&a.call(d,...n):(c=u?.H)==null||c.then((g=>{const b=g[l];typeof b=="function"&&b.call(g,...n)}))}})}));{e.watchers&&!t.F&&(t.F=ke(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const l=Object.entries((o=t.t)!=null?o:{});l.map((([a,[n]])=>{if(31&n||32&n){const{get:c,set:u}=V(i,a)||{};c&&(t.t[a][0]|=2048),u&&(t.t[a][0]|=4096),Object.defineProperty(i,a,{get(){return c?c.apply(this):(d=a,$(this).l.get(d));var d},configurable:!0,enumerable:!0}),Object.defineProperty(i,a,{set(d){const g=$(this);if(g){if(u)return(32&n?this[a]:g.$hostElement$[a])===void 0&&g.l.get(a)&&(d=g.l.get(a)),u.apply(this,[we(d,n,!!(64&t.i))]),void Pe(this,a,d=32&n?this[a]:g.$hostElement$[a],t);Pe(this,a,d,t)}}})}}));{const a=new Map;i.attributeChangedCallback=function(n,c,u){_.jmp((()=>{var d;const g=a.get(n),b=$(this);if(this.hasOwnProperty(g),i.hasOwnProperty(g)&&typeof this[g]=="number"&&this[g]==u)return;if(g==null){const p=b?.i;if(b&&p&&!(8&p)&&u!==c){const f=this,N=(d=t.F)==null?void 0:d[n];N?.forEach((v=>{const[[w,O]]=Object.entries(v);f[w]!=null&&(128&p||1&O)&&f[w].call(f,u,c,n)}))}return}const h=l.find((([p])=>p===g)),S=h&&4&h[1][0],y=S&&u===null&&this[g]===void 0;S&&(u=u!==null&&u!=="false");const m=Object.getOwnPropertyDescriptor(i,g);y||u==this[g]||m.get&&!m.set||(this[g]=u)}))},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.F)!=null?r:{}),...l.filter((([n,c])=>31&c[0])).map((([n,c])=>{var u;const d=c[1]||n;return a.set(d,n),512&c[0]&&((u=t.C)==null||u.push([n,d])),d}))]))}}return e},gt=(e,t)=>{const s={i:t[0],p:t[1]};try{s.t=t[2],s.W=t[3],s.F=ke(e.F),s.P=e.P,s.U=e.U,s.C=[];const o=e.prototype.connectedCallback,r=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((i,l)=>{const a={i:0,$hostElement$:i,o:l,l:new Map,B:new Map};a.H=new Promise((c=>a.L=c)),i["s-p"]=[],i["s-rc"]=[];const n=a;i.__stencil__getHostRef=()=>n,512&l.i&&Fe(i,a)})(this,s)},connectedCallback(){if(!this.__hasHostListenerAttached){const i=$(this);if(!i)return;Le(this,i,s.W),this.__hasHostListenerAttached=!0}(i=>{if(!(1&_.i)){const l=$(i);if(!l)return;const a=l.o;if(1&l.i)Le(i,l,a.W),l?.D||l?.H&&l.H.then((()=>{}));else{l.i|=1,12&a.i&&(n=>{if(!k.document)return;const c=n["s-cr"]=k.document.createComment("");c["s-cn"]=!0,x(n,c,n.firstChild)})(i);{let n=i;for(;n=n.parentNode||n.host;)if(n["s-p"]){Ee(l,l.R=n);break}}a.t&&Object.entries(a.t).map((([n,[c]])=>{if(31&c&&Object.prototype.hasOwnProperty.call(i,n)){const u=i[n];delete i[n],i[n]=u}})),(async(n,c,u)=>{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=ve(u);G.has(S)||((y,m,p)=>{let f=G.get(y);Q&&p?(f=f||new CSSStyleSheet,typeof f=="string"?f=m:f.replaceSync(m)):f=m,G.set(y,f)})(S,h,!!(1&u.i))}const g=c.R,b=()=>ce(c,!0);g&&g["s-rc"]?g["s-rc"].push(b):b()}catch(g){L(g,n),c.A&&(c.A(),c.A=void 0),c.L&&c.L(n)}})(i,l,a)}}})(this),o&&o.call(this)},disconnectedCallback(){(async i=>{if(!(1&_.i)){const l=$(i);l?.V&&(l.V.map((a=>a())),l.V=void 0)}I.has(i)&&I.delete(i),i.shadowRoot&&I.has(i.shadowRoot)&&I.delete(i.shadowRoot)})(this),r&&r.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${s.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Ze.call(this,s)}}),Object.defineProperty(e,"is",{value:s.p,configurable:!0}),ut(e,s,3)}catch(o){return L(o),e}},Le=(e,t,s)=>{s&&k.document&&s.map((([o,r,i])=>{const l=ft(k.document,e,o),a=ht(t,i),n=bt(o);_.ael(l,r,a,n),(t.V=t.V||[]).push((()=>_.rel(l,r,a,n)))}))},ht=(e,t)=>s=>{try{e.$hostElement$[t](s)}catch(o){L(o,e.$hostElement$)}},ft=(e,t,s)=>8&s?k:t,bt=e=>Ue?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function Ct(e){return e}function Re(e){var t,s,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(s=Re(e[t]))&&(o&&(o+=" "),o+=s)}else for(s in e)e[s]&&(o&&(o+=" "),o+=s);return o}function Ve(){for(var e,t,s=0,o="",r=arguments.length;s<r;s++)(e=arguments[s])&&(t=Re(e))&&(o&&(o+=" "),o+=t);return o}const K=99,pt=Object.freeze(Object.defineProperty({__proto__:null,getDisplayContent:(e,t)=>e===void 0?t??"":e>K?`${K}+`:e.toString(),maxCount:K,shouldIncludeA11yText:(e,t,s)=>e==="dot"||t!==void 0&&t>K||s},Symbol.toStringTag,{value:"Module"})),mt=Object.freeze(Object.defineProperty({__proto__:null,getGidsBadgeClassNames:({appearance:e,type:t,outline:s},o)=>Ve("gids-badge",{"gids-badge--danger":e==="danger","gids-badge--positive":e==="positive","gids-badge--warning":e==="warning","gids-badge--inverse":e==="inverse"},{"gids-badge--dot":t==="dot"},{"gids-badge--outline":s},o)},Symbol.toStringTag,{value:"Module"})),vt=Object.freeze(Object.defineProperty({__proto__:null,getGidsTabItemClassNames:({appearance:e,width:t="intrinsic",active:s},o)=>Ve("gids-tab-item",{"gids-tab-item--full":t==="full","gids-tab-item--active-default":e==="default"&&s,"gids-tab-item--active-primary":e==="primary"&&s,"gids-tab-item--active-bordered":e==="bordered"&&s,"gids-tab-item--active-underlined":e==="underlined"&&s,"gids-tab-item--active-subtle":e==="subtle"&&s,"gids-tab-item--default":e==="default"&&!s,"gids-tab-item--primary":e==="primary"&&!s,"gids-tab-item--bordered":e==="bordered"&&!s,"gids-tab-item--underlined":e==="underlined"&&!s,"gids-tab-item--subtle":e==="subtle"&&!s},o)},Symbol.toStringTag,{value:"Module"})),Be=e=>e!==void 0&&(!Array.isArray(e)||e.length>0),{getDisplayContent:De,shouldIncludeA11yText:yt}=pt,{getGidsBadgeClassNames:St}=mt,kt=({appearance:e,type:t,count:s,accessibleText:o,outline:r,class:i,...l})=>{const a=yt(t,s,Be(o));return A("span",{class:St({appearance:e,type:t,outline:r},i),...l},a&&A("span",{class:"gids-visually-hidden"},Be(o)?o:s),t==="notification"?a?A("span",{"aria-hidden":"true"},De(s,o)):De(s,o):null)},{getGidsTabItemClassNames:wt}=vt,He=gt(class extends ze{constructor(e){super(),e!==!1&&this.__registerHost(),this.active=!1,this.width="intrinsic",this.appearance="default",this.badgeVisible=!1,this.badgeAppearance="information",this.badgeType="dot",this.hasLeadingIcon=!1,this.hasTrailingIcon=!1,this.handleHostClick=()=>{this.onPressGidsTabItem&&this.onPressGidsTabItem({itemId:this.itemId,label:this?.label??"",active:this?.active??!1,appearance:this?.appearance??"default",name:this?.name,badgeCount:this?.badgeCount??0})}}handleWidthChange(e){this.width=e}handleAppearanceChange(e){this.appearance=e}handleBadgeVisibilityChange(e){this.badgeVisible=e}handleBadgeAppearanceChange(e){this.badgeAppearance=e}handleBadgeTypeChange(e){this.badgeType=e}handleActiveChange(e){this.active=e}componentWillLoad(){this.checkSlots()}componentWillUpdate(){this.checkSlots()}checkSlots(){this.hasLeadingIcon=!!this.hostElement.querySelector('[slot="leadingIconTabItem"]'),this.hasTrailingIcon=!!this.hostElement.querySelector('[slot="trailingIconTabItem"]')}render(){const e=wt({appearance:this.appearance,width:this.width,active:this.active}),t=this.hasTrailingIcon,s=this.badgeVisible,o=this.appearance==="primary"&&this.active?"inverse":this.badgeAppearance??"information",r=this.label;return A(ye,{key:"a364c69d22d8bb640c9f280b5d1722f1e379e046",class:e,onClick:this.handleHostClick},this.hasLeadingIcon?A("slot",{name:"leadingIconTabItem"}):void 0,r&&r!==""?A("span",{class:"gids-tab-item__label"},r&&r!==""?r:void 0,s?A(kt,{appearance:o,type:this.badgeType,count:this.badgeCount}):void 0):void 0,t?A("slot",{name:"trailingIconTabItem"}):void 0)}get hostElement(){return this}static get watchers(){return{width:[{handleWidthChange:0}],appearance:[{handleAppearanceChange:0}],badgeVisible:[{handleBadgeVisibilityChange:0}],badgeAppearance:[{handleBadgeAppearanceChange:0}],badgeType:[{handleBadgeTypeChange:0}],active:[{handleActiveChange:0}]}}static get style(){return".gids-tab-item{margin:0;padding:0;appearance:none;border:none;background:none;display:inline-flex;justify-content:center;align-items:center;gap:var(--gids-gap-100);padding:var(--gids-padding-vertical-edge-to-element-150) var(--gids-padding-horizontal-edge-to-element-150);color:var(--gids-color-text-accent-5);white-space:nowrap;flex-shrink:0;cursor:pointer}.gids-tab-item .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-5)}.gids-tab-item__label{font-family:var(--gids-typography-label-small__font-family);font-size:var(--gids-typography-label-small__font-size);font-weight:var(--gids-typography-label-small__font-weight);letter-spacing:var(--gids-typography-label-small__letter-spacing);line-height:var(--gids-typography-label-small__line-height);text-transform:var(--gids-typography-label-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-small__font-variant-caps, inherit);display:flex;justify-content:center;align-items:center;flex:1;gap:var(--gids-gap-150)}.gids-tab-item--full{display:flex}.gids-tab-item--default{border-radius:var(--gids-border-radius-md)}.gids-tab-item--default:hover{background-color:var(--gids-color-background-accent-4-subtler-hovered);color:var(--gids-color-text-accent-4)}.gids-tab-item--default:hover .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--default:active{background-color:var(--gids-color-background-accent-4-subtler-pressed);color:var(--gids-color-text-accent-4)}.gids-tab-item--default:active .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--primary{border-radius:var(--gids-border-radius-md)}.gids-tab-item--primary:hover{background-color:var(--gids-color-background-accent-4-bolder-hovered);color:var(--gids-color-text-inverse)}.gids-tab-item--primary:hover .gids-icon{--gidsIcon-color:var(--gids-color-icon-inverse)}.gids-tab-item--primary:active{background-color:var(--gids-color-background-accent-4-bolder-pressed);color:var(--gids-color-text-inverse)}.gids-tab-item--primary:active .gids-icon{--gidsIcon-color:var(--gids-color-icon-inverse)}.gids-tab-item--bordered{border-radius:var(--gids-border-radius-full)}.gids-tab-item--bordered:hover{background-color:var(--gids-color-background-accent-4-subtlest-hovered);color:var(--gids-color-text-accent-4);border:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4)}.gids-tab-item--bordered:hover .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--bordered:active{background-color:var(--gids-color-background-accent-4-subtlest-pressed);color:var(--gids-color-text-accent-4);border:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4)}.gids-tab-item--bordered:active .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--underlined{border-bottom:var(--gids-border-width-thick) solid var(--gids-color-border-input)}.gids-tab-item--underlined:hover{background-color:var(--gids-color-background-accent-4-subtlest-hovered);border-bottom:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4);border-top-left-radius:var(--gids-border-radius-md);border-top-right-radius:var(--gids-border-radius-md);color:var(--gids-color-text-accent-4)}.gids-tab-item--underlined:active{background-color:var(--gids-color-background-accent-4-subtlest-pressed);border-bottom:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4);border-top-left-radius:var(--gids-border-radius-md);border-top-right-radius:var(--gids-border-radius-md);color:var(--gids-color-text-accent-4)}.gids-tab-item--subtle:hover{color:var(--gids-color-text-accent-4)}.gids-tab-item--subtle:hover .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--subtle:active{color:var(--gids-color-text-accent-4)}.gids-tab-item--subtle:active .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--active-default{border-radius:var(--gids-border-radius-md);background-color:var(--gids-color-background-accent-4-subtler-default);color:var(--gids-color-text-accent-4)}.gids-tab-item--active-default .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--active-default:hover{background-color:var(--gids-color-background-accent-4-subtler-hovered)}.gids-tab-item--active-default:active{background-color:var(--gids-color-background-accent-4-subtler-pressed)}.gids-tab-item--active-primary{border-radius:var(--gids-border-radius-md);background-color:var(--gids-color-background-accent-4-bolder-default);color:var(--gids-color-text-inverse)}.gids-tab-item--active-primary .gids-icon{--gidsIcon-color:var(--gids-color-icon-inverse)}.gids-tab-item--active-primary:hover{background-color:var(--gids-color-background-accent-4-bolder-hovered)}.gids-tab-item--active-primary:active{background-color:var(--gids-color-background-accent-4-bolder-pressed)}.gids-tab-item--active-bordered{border-radius:var(--gids-border-radius-full);border:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4);background-color:var(--gids-color-background-accent-4-subtlest-default);color:var(--gids-color-text-accent-4)}.gids-tab-item--active-bordered .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--active-bordered:hover{background-color:var(--gids-color-background-accent-4-subtlest-hovered)}.gids-tab-item--active-bordered:active{background-color:var(--gids-color-background-accent-4-subtlest-pressed)}.gids-tab-item--active-underlined{border-bottom:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4);border-top-left-radius:var(--gids-border-radius-md);border-top-right-radius:var(--gids-border-radius-md);color:var(--gids-color-text-accent-4);background-color:var(--gids-color-background-accent-4-subtlest-default)}.gids-tab-item--active-underlined .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--active-underlined:hover{background-color:var(--gids-color-background-accent-4-subtlest-hovered)}.gids-tab-item--active-underlined:active{background-color:var(--gids-color-background-accent-4-subtlest-pressed)}.gids-tab-item--active-subtle{color:var(--gids-color-text-accent-4)}.gids-tab-item--active-subtle .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}"}},[260,"gids-tab-item",{itemId:[1,"item-id"],label:[1],active:[4],name:[1],width:[1],appearance:[1],badgeVisible:[4,"badge-visible"],badgeAppearance:[1,"badge-appearance"],badgeCount:[2,"badge-count"],badgeType:[1,"badge-type"],onPressGidsTabItem:[16],hasLeadingIcon:[32],hasTrailingIcon:[32]},void 0,{width:[{handleWidthChange:0}],appearance:[{handleAppearanceChange:0}],badgeVisible:[{handleBadgeVisibilityChange:0}],badgeAppearance:[{handleBadgeAppearanceChange:0}],badgeType:[{handleBadgeTypeChange:0}],active:[{handleActiveChange:0}]}]);function Me(){typeof customElements<"u"&&["gids-tab-item"].forEach((e=>{e==="gids-tab-item"&&(customElements.get(e)||customElements.define(e,He))}))}Me();const Nt=He,_t=Me;P.GidsTabItem=Nt,P.defineCustomElement=_t,Object.defineProperty(P,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:(b=>{const y=[];for(let g=0;g<b.length;g++){const p=b[g]["s-nr"]||void 0;p&&p.isConnected&&y.push(p)}return y})(S.childNodes)).forEach((b=>{h===F(b)&&m.push(b)})),c?m.filter((b=>b.nodeType===1)):m}).bind(d);d.assignedElements=u(!0),d.assignedNodes=u(!1)})(l),a=e&&e.m&&e.m[o],a&&a.O===n.O&&e.S&&Te(e.S)),l},Te=e=>{_.i|=1;const t=e.closest(L.toLowerCase());if(t!=null){const o=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const n of o?s.reverse():s)n["s-sh"]!=null&&(j(t,n,o??null),n["s-sh"]=void 0,z=!0)}_.i&=-2},Z=(e,t)=>{_.i|=1;const o=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"]===L&&o.push(s)}for(let s=o.length-1;s>=0;s--){const n=o[s];n["s-hn"]!==L&&n["s-ol"]&&(j(W(n).parentNode,n,W(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,z=!0),t&&Z(n,t)}_.i&=-2},Ee=(e,t,o,s,n,l)=>{let i,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===L&&(a=a.shadowRoot),o.O==="template"&&(a=a.content);n<=l;++n)s[n]&&(i=Y(null,o,n),i&&(s[n].S=i,j(a,i,W(t))))},je=(e,t,o)=>{for(let s=t;s<=o;++s){const n=e[s];if(n){const l=n.S;Ae(n),l&&(q=!0,l["s-ol"]?l["s-ol"].remove():Z(l,!0),l.remove())}}},J=(e,t,o=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:o?(o&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),W=e=>e&&e["s-ol"]||e,H=(e,t,o=!1)=>{const s=t.S=e.S,n=e.m,l=t.m,i=t.O,a=t.h;let r;a==null?(C=i==="svg"||i!=="foreignObject"&&C,i!=="slot"||V||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Te(t.S.parentElement)),re(e,t,C),n!==null&&l!==null?((d,u,c,f,m=!1)=>{let h,S,b=0,y=0,g=0,p=0,O=u.length-1,v=u[0],N=u[O],T=f.length-1,E=f[0],k=f[T];const Me=c.O==="template"?d.content:d;for(;b<=O&&y<=T;)if(v==null)v=u[++b];else if(N==null)N=u[--O];else if(E==null)E=f[++y];else if(k==null)k=f[--T];else if(J(v,E,m))H(v,E,m),v=u[++b],E=f[++y];else if(J(N,k,m))H(N,k,m),N=u[--O],k=f[--T];else if(J(v,k,m))v.O!=="slot"&&k.O!=="slot"||Z(v.S.parentNode,!1),H(v,k,m),j(Me,v.S,N.S.nextSibling),v=u[++b],k=f[--T];else if(J(N,E,m))v.O!=="slot"&&k.O!=="slot"||Z(N.S.parentNode,!1),H(N,E,m),j(Me,N.S,v.S),N=u[--O],E=f[++y];else{for(g=-1,p=b;p<=O;++p)if(u[p]&&u[p].$!==null&&u[p].$===E.$){g=p;break}g>=0?(S=u[g],S.O!==E.O?h=Y(u&&u[y],c,g):(H(S,E,m),u[g]=void 0,h=S.S),E=f[++y]):(h=Y(u&&u[y],c,y),E=f[++y]),h&&j(W(v.S).parentNode,h,W(v.S))}b>O?Ee(d,f[T+1]==null?null:f[T+1].S,c,f,y,T):y>T&&je(u,b,O)})(s,n,t,l,o):l!==null?(e.h!==null&&(s.textContent=""),Ee(s,null,t,l,0,l.length-1)):!o&&n!==null&&je(n,0,n.length-1),C&&i==="svg"&&(C=!1)):(r=s["s-cr"])?r.parentNode.textContent=a:e.h!==a&&(s.data=a)},$=[],ke=e=>{let t,o,s;const n=e.__childNodes||e.childNodes;for(const l of n){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){o=t.parentNode.__childNodes||t.parentNode.childNodes;const i=l["s-sn"];for(s=o.length-1;s>=0;s--)if(t=o[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===l["s-hn"]||t["s-sh"]&&t["s-sh"]===l["s-hn"]))if(ge(t,i)){let a=$.find((r=>r.k===t));q=!0,t["s-sn"]=t["s-sn"]||i,a?(a.k["s-sh"]=l["s-hn"],a.N=l):(t["s-sh"]=l["s-hn"],$.push({N:l,k:t})),t["s-sr"]&&$.map((r=>{ge(r.k,t["s-sn"])&&(a=$.find((d=>d.k===t)),a&&!r.N&&(r.N=a.N))}))}else $.some((a=>a.k===t))||$.push({k:t})}l.nodeType===1&&ke(l)}},Ae=e=>{e.v&&e.v.ref&&ie.push((()=>e.v.ref(null))),e.m&&e.m.map(Ae)},Qe=(e,t)=>{ae.push((()=>e(t)))},j=(e,t,o,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,o);const{slotNode:n}=(function(l,i){var a;if(!(i=i||((a=l["s-ol"])==null?void 0:a.parentElement)))return{slotNode:null,slotName:""};const r=l["s-sn"]=F(l)||"";return{slotNode:se(oe(i,"childNodes"),i.tagName,r)[0],slotName:r}})(t);return n&&!s&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,o):e?.insertBefore(t,o)},Xe=(e,t,o=!1)=>{var s,n,l,i,a;const r=e.$hostElement$,d=e.o,u=e.M||G(null,null);var c;const f=(c=t)&&c.O===ve?t:U(null,null,t);if(L=r.tagName,d.C&&(f.v=f.v||{},d.C.forEach((([m,h])=>{f.v[h]=r[m]}))),o&&f.v)for(const m of Object.keys(f.v))r.hasAttribute(m)&&!["key","ref","style","class"].includes(m)&&(f.v[m]=r[m]);if(f.O=null,f.i|=4,e.M=f,f.S=u.S=r.shadowRoot||r,V=!(!(1&d.i)||128&d.i),ne=r["s-cr"],q=!1,H(u,f,o),_.i|=1,z){ke(f.S);for(const m of $){const h=m.k;if(!h["s-ol"]&&w.document){const S=w.document.createTextNode("");S["s-nr"]=h,j(h.parentNode,h["s-ol"]=S,h,o)}}for(const m of $){const h=m.k,S=m.N;if(h.nodeType===1&&o&&(h["s-ih"]=(s=h.hidden)!=null&&s),S){const b=S.parentNode;let y=S.nextSibling;if(y&&y.nodeType===1){let g=(n=h["s-ol"])==null?void 0:n.previousSibling;for(;g;){let p=(l=g["s-nr"])!=null?l:null;if(p&&p["s-sn"]===h["s-sn"]&&b===(p.__parentNode||p.parentNode)){for(p=p.nextSibling;p===h||p?.["s-sr"];)p=p?.nextSibling;if(!p||!p["s-nr"]){y=p;break}}g=g.previousSibling}}if((!y&&b!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==y)&&h!==y){if(j(b,h,y,o),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const g=w.document.createTextNode(h.nodeValue.replace(/^s-nt-/,""));g["s-hn"]=h["s-hn"],g["s-sn"]=h["s-sn"],g["s-sh"]=h["s-sh"],g["s-sr"]=h["s-sr"],g["s-ol"]=h["s-ol"],g["s-ol"]["s-nr"]=g,j(h.parentNode,g,h,o),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(i=h["s-ih"])!=null&&i)}h&&typeof S["s-rf"]=="function"&&S["s-rf"](S)}else h.nodeType===1&&(h.hidden=!0)}}if(q&&me(f.S),_.i&=-2,$.length=0,!V&&!(1&d.i)&&r["s-cr"]){const m=f.S.__childNodes||f.S.childNodes;for(const h of m)if(h["s-hn"]!==L&&!h["s-sh"]){if(o&&h["s-ih"]==null&&(h["s-ih"]=(a=h.hidden)!=null&&a),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const S=w.document.createComment("s-nt-"+h.nodeValue);S["s-sn"]=h["s-sn"],j(h.parentNode,S,h,o),h.parentNode.removeChild(h)}}}ne=void 0,ie.forEach((m=>m())),ie.length=0,ae.forEach((m=>m())),ae.length=0},$e=(e,t)=>{if(t&&!e.A&&t["s-p"]){const o=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(o-1,1),s()})))}},ce=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);$e(e,e.R);const o=()=>et(e,t);if(!t)return Ue(o);queueMicrotask((()=>{o()}))},et=(e,t)=>{const o=e.$hostElement$,s=o;if(!s)throw new Error(`Can't render component <${o.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 n;return n=I(s,t?"componentWillLoad":"componentWillUpdate",void 0,o),n=Pe(n,(()=>I(s,"componentWillRender",void 0,o))),Pe(n,(()=>st(e,s,t)))},Pe=(e,t)=>tt(e)?e.then(t).catch((o=>{console.error(o),t()})):t(),tt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",st=async(e,t,o)=>{var s;const n=e.$hostElement$,l=n["s-rc"];o&&(i=>{const a=i.o,r=i.$hostElement$,d=a.i,u=((c,f)=>{var m,h,S;const b=ye(f),y=B.get(b);if(!w.document)return b;if(c=c.nodeType===11?c:w.document,y)if(typeof y=="string"){let g,p=P.get(c=c.head||c);if(p||P.set(c,p=new Set),!p.has(b)){g=w.document.createElement("style"),g.textContent=y;const O=(m=_._)!=null?m:(function(){var v,N,T;return(T=(N=(v=w.document.head)==null?void 0:v.querySelector('meta[name="csp-nonce"]'))==null?void 0:N.getAttribute("content"))!=null?T:void 0})();if(O!=null&&g.setAttribute("nonce",O),!(1&f.i))if(c.nodeName==="HEAD"){const v=c.querySelectorAll("link[rel=preconnect]"),N=v.length>0?v[v.length-1].nextSibling:c.querySelector("style");c.insertBefore(g,N?.parentNode===c?N:null)}else if("host"in c)if(K){const v=new((h=c.defaultView)!=null?h:c.ownerDocument.defaultView).CSSStyleSheet;v.replaceSync(y),Q?c.adoptedStyleSheets.unshift(v):c.adoptedStyleSheets=[v,...c.adoptedStyleSheets]}else{const v=c.querySelector("style");v?v.textContent=y+v.textContent:c.prepend(g)}else c.append(g);1&f.i&&c.insertBefore(g,null),4&f.i&&(g.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),p&&p.add(b)}}else{let g=P.get(c);if(g||P.set(c,g=new Set),!g.has(b)){const p=(S=c.defaultView)!=null?S:c.ownerDocument.defaultView;let O;if(y.constructor===p.CSSStyleSheet)O=y;else{O=new p.CSSStyleSheet;for(let v=0;v<y.cssRules.length;v++)O.insertRule(y.cssRules[v].cssText,v)}Q?c.adoptedStyleSheets.push(O):c.adoptedStyleSheets=[...c.adoptedStyleSheets,O],g.add(b)}}return b})(r.shadowRoot?r.shadowRoot:r.getRootNode(),a);10&d&&(r["s-sc"]=u,r.classList.add(u+"-h"))})(e),ot(e,t,n,o),l&&(l.map((i=>i())),n["s-rc"]=void 0);{const i=(s=n["s-p"])!=null?s:[],a=()=>nt(e);i.length===0?a():(Promise.all(i).then(a).catch(a),e.i|=4,i.length=0)}},ot=(e,t,o,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,Xe(e,t,s)}catch(n){R(n,e.$hostElement$)}return null},nt=e=>{const t=e.$hostElement$,o=t,s=e.R;I(o,"componentDidRender",void 0,t),64&e.i?I(o,"componentDidUpdate",void 0,t):(e.i|=64,rt(t),I(o,"componentDidLoad",void 0,t),e.L(t),s||lt()),e.A&&(e.A(),e.A=void 0),512&e.i&&te((()=>ce(e,!1))),e.i&=-517},lt=()=>{te((()=>Ze(w,"appload",{detail:{namespace:"gids-core-web"}})))},I=(e,t,o,s)=>{if(e&&e[t])try{return e[t](o)}catch(n){R(n,s)}},rt=e=>e.classList.add("hydrated"),xe=(e,t,o,s)=>{const n=A(e);if(!n)return;const l=e,i=n.l.get(t),a=n.i,r=l;o=we(o,s.t[t][0],!!(64&s.i));const d=Number.isNaN(i)&&Number.isNaN(o);if(o!==i&&!d){if(n.l.set(t,o),s.F){const u=s.F[t];u&&u.map((c=>{try{const[[f,m]]=Object.entries(c);(128&a||1&m)&&(r?r[f](o,i,t):n.T.push((()=>{n.D[f](o,i,t)})))}catch(f){R(f,l)}}))}if(2&a){if(r.componentShouldUpdate&&r.componentShouldUpdate(o,i,t)===!1&&!(16&a))return;16&a||ce(n,!1)}}},it=(e,t,o)=>{var s,n;const l=e.prototype;64&t.i&&1&o&&Ve.forEach((i=>{const a=l[i];Object.defineProperty(l,i,{value(...r){var d;const u=A(this),c=this;c?typeof a=="function"&&a.call(c,...r):(d=u?.H)==null||d.then((f=>{const m=f[i];typeof m=="function"&&m.call(f,...r)}))}})}));{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 i=Object.entries((s=t.t)!=null?s:{});i.map((([a,[r]])=>{if(31&r||32&r){const{get:d,set:u}=D(l,a)||{};d&&(t.t[a][0]|=2048),u&&(t.t[a][0]|=4096),Object.defineProperty(l,a,{get(){return d?d.apply(this):(c=a,A(this).l.get(c));var c},configurable:!0,enumerable:!0}),Object.defineProperty(l,a,{set(c){const f=A(this);if(f){if(u)return(32&r?this[a]:f.$hostElement$[a])===void 0&&f.l.get(a)&&(c=f.l.get(a)),u.apply(this,[we(c,r,!!(64&t.i))]),void xe(this,a,c=32&r?this[a]:f.$hostElement$[a],t);xe(this,a,c,t)}}})}}));{const a=new Map;l.attributeChangedCallback=function(r,d,u){_.jmp((()=>{var c;const f=a.get(r),m=A(this);if(this.hasOwnProperty(f),l.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==u)return;if(f==null){const g=m?.i;if(m&&g&&!(8&g)&&u!==d){const p=this,O=(c=t.F)==null?void 0:c[r];O?.forEach((v=>{const[[N,T]]=Object.entries(v);p[N]!=null&&(128&g||1&T)&&p[N].call(p,u,d,r)}))}return}const h=i.find((([g])=>g===f)),S=h&&4&h[1][0],b=S&&u===null&&this[f]===void 0;S&&(u=u!==null&&u!=="false");const y=Object.getOwnPropertyDescriptor(l,f);b||u==this[f]||y.get&&!y.set||(this[f]=u)}))},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.F)!=null?n:{}),...i.filter((([r,d])=>31&d[0])).map((([r,d])=>{var u;const c=d[1]||r;return a.set(c,r),512&d[0]&&((u=t.C)==null||u.push([r,c])),c}))]))}}return e},at=(e,t)=>{const o={i:t[0],p:t[1]};try{o.t=t[2],o.W=t[3],o.F=Se(e.F),o.P=e.P,o.U=e.U,o.C=[];const s=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((l,i)=>{const a={i:0,$hostElement$:l,o:i,l:new Map,B:new Map};a.H=new Promise((d=>a.L=d)),l["s-p"]=[],l["s-rc"]=[];const r=a;l.__stencil__getHostRef=()=>r,512&i.i&&Fe(l,a)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const l=A(this);if(!l)return;Re(this,l,o.W),this.__hasHostListenerAttached=!0}(l=>{if(!(1&_.i)){const i=A(l);if(!i)return;const a=i.o;if(1&i.i)Re(l,i,a.W),i?.D||i?.H&&i.H.then((()=>{}));else{i.i|=1,12&a.i&&(r=>{if(!w.document)return;const d=r["s-cr"]=w.document.createComment("");d["s-cn"]=!0,j(r,d,r.firstChild)})(l);{let r=l;for(;r=r.parentNode||r.host;)if(r["s-p"]){$e(i,i.R=r);break}}a.t&&Object.entries(a.t).map((([r,[d]])=>{if(31&d&&Object.prototype.hasOwnProperty.call(l,r)){const u=l[r];delete l[r],l[r]=u}})),(async(r,d,u)=>{let c;try{if(!(32&d.i)&&(d.i|=32,c=r.constructor,customElements.whenDefined(r.localName).then((()=>d.i|=128)),c&&c.style)){let h;typeof c.style=="string"&&(h=c.style);const S=ye(u);B.has(S)||((b,y,g)=>{let p=B.get(b);K&&g?(p=p||new CSSStyleSheet,typeof p=="string"?p=y:p.replaceSync(y)):p=y,B.set(b,p)})(S,h,!!(1&u.i))}const f=d.R,m=()=>ce(d,!0);f&&f["s-rc"]?f["s-rc"].push(m):m()}catch(f){R(f,r),d.A&&(d.A(),d.A=void 0),d.L&&d.L(r)}})(l,i,a)}}})(this),s&&s.call(this)},disconnectedCallback(){(async l=>{if(!(1&_.i)){const i=A(l);i?.V&&(i.V.map((a=>a())),i.V=void 0)}P.has(l)&&P.delete(l),l.shadowRoot&&P.has(l.shadowRoot)&&P.delete(l.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${o.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Ge.call(this,o)}}),Object.defineProperty(e,"is",{value:o.p,configurable:!0}),it(e,o,3)}catch(s){return R(s),e}},Re=(e,t,o)=>{o&&w.document&&o.map((([s,n,l])=>{const i=dt(w.document,e,s),a=ct(t,l),r=ut(s);_.ael(i,n,a,r),(t.V=t.V||[]).push((()=>_.rel(i,n,a,r)))}))},ct=(e,t)=>o=>{try{e.$hostElement$[t](o)}catch(s){R(s,e.$hostElement$)}},dt=(e,t,o)=>8&o?w:t,ut=e=>Ie?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function yt(e){return e}function Le(e){var t,o,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(o=Le(e[t]))&&(s&&(s+=" "),s+=o)}else for(o in e)e[o]&&(s&&(s+=" "),s+=o);return s}function ft(){for(var e,t,o=0,s="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=Le(e))&&(s&&(s+=" "),s+=t);return s}const ht=Object.freeze(Object.defineProperty({__proto__:null,getGidsTabClassNames:({width:e,appearance:t},o)=>ft("gids-tab",{"gids-tab--full":e==="full","gids-tab--item-subtle":t==="subtle","gids-tab--item-underlined":t==="underlined"},o)},Symbol.toStringTag,{value:"Module"})),{getGidsTabClassNames:pt}=ht,De=at(class extends We{constructor(e){super(),e!==!1&&this.__registerHost(),this.width="intrinsic",this.appearance="default"}handleWidthChange(e){this.width=e}handleAppearanceChange(e){this.appearance=e}handleActiveTabIdChange(e){this.activeTabId=e}componentDidLoad(){this.syncPropsToChildren(),this.hostElement.addEventListener("slotchange",(()=>this.syncPropsToChildren()))}componentDidUpdate(){this.syncPropsToChildren()}syncPropsToChildren(){this.hostElement.querySelectorAll("gids-tab-item").forEach((e=>{e&&(e.appearance=this.appearance,e.width=this.width,e.active=this.isTabActive(e.itemId),e.onPressGidsTabItem=t=>{this.activeTabId=t?.itemId,this.onPressGidsTab&&this.onPressGidsTab(t),this.syncPropsToChildren()})}))}isTabActive(e){return e===this.activeTabId}render(){const e=pt({width:this.width,appearance:this.appearance});return U(ve,{key:"5354ec9e19dda3898ad0cf9ef533b1ea58200677",class:e},U("slot",{key:"676abaabb312f31ccf02c88e260930b052e88ae4"}))}get hostElement(){return this}static get watchers(){return{width:[{handleWidthChange:0}],appearance:[{handleAppearanceChange:0}],activeTabId:[{handleActiveTabIdChange:0}]}}static get style(){return".gids-tab{display:inline-flex;align-items:center;justify-content:flex-start;gap:var(--gids-gap-150);overflow-y:hidden;overflow-x:scroll}.gids-tab--full{display:flex}.gids-tab--item-subtle{gap:0}.gids-tab--item-underlined{gap:0}"}},[260,"gids-tab",{width:[1],appearance:[1],activeTabId:[1,"active-tab-id"],onPressGidsTab:[16]},void 0,{width:[{handleWidthChange:0}],appearance:[{handleAppearanceChange:0}],activeTabId:[{handleActiveTabIdChange:0}]}]);function He(){typeof customElements<"u"&&["gids-tab"].forEach((e=>{e==="gids-tab"&&(customElements.get(e)||customElements.define(e,De))}))}He();const mt=De,gt=He;x.GidsTab=mt,x.defineCustomElement=gt,Object.defineProperty(x,Symbol.toStringTag,{value:"Module"})}));
5
+ `);const S=this["s-cr"].parentElement;return(S.__childNodes?S.childNodes:(b=>{const y=[];for(let g=0;g<b.length;g++){const p=b[g]["s-nr"]||void 0;p&&p.isConnected&&y.push(p)}return y})(S.childNodes)).forEach((b=>{h===F(b)&&m.push(b)})),c?m.filter((b=>b.nodeType===1)):m}).bind(d);d.assignedElements=u(!0),d.assignedNodes=u(!1)})(l),a=e&&e.m&&e.m[o],a&&a.O===n.O&&e.S&&Te(e.S)),l},Te=e=>{_.i|=1;const t=e.closest(L.toLowerCase());if(t!=null){const o=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const n of o?s.reverse():s)n["s-sh"]!=null&&(j(t,n,o??null),n["s-sh"]=void 0,z=!0)}_.i&=-2},Z=(e,t)=>{_.i|=1;const o=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"]===L&&o.push(s)}for(let s=o.length-1;s>=0;s--){const n=o[s];n["s-hn"]!==L&&n["s-ol"]&&(j(W(n).parentNode,n,W(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,z=!0),t&&Z(n,t)}_.i&=-2},Ee=(e,t,o,s,n,l)=>{let i,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===L&&(a=a.shadowRoot),o.O==="template"&&(a=a.content);n<=l;++n)s[n]&&(i=Y(null,o,n),i&&(s[n].S=i,j(a,i,W(t))))},je=(e,t,o)=>{for(let s=t;s<=o;++s){const n=e[s];if(n){const l=n.S;Ae(n),l&&(q=!0,l["s-ol"]?l["s-ol"].remove():Z(l,!0),l.remove())}}},J=(e,t,o=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:o?(o&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),W=e=>e&&e["s-ol"]||e,H=(e,t,o=!1)=>{const s=t.S=e.S,n=e.m,l=t.m,i=t.O,a=t.h;let r;a==null?(C=i==="svg"||i!=="foreignObject"&&C,i!=="slot"||V||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Te(t.S.parentElement)),re(e,t,C),n!==null&&l!==null?((d,u,c,f,m=!1)=>{let h,S,b=0,y=0,g=0,p=0,O=u.length-1,v=u[0],N=u[O],T=f.length-1,E=f[0],k=f[T];const Me=c.O==="template"?d.content:d;for(;b<=O&&y<=T;)if(v==null)v=u[++b];else if(N==null)N=u[--O];else if(E==null)E=f[++y];else if(k==null)k=f[--T];else if(J(v,E,m))H(v,E,m),v=u[++b],E=f[++y];else if(J(N,k,m))H(N,k,m),N=u[--O],k=f[--T];else if(J(v,k,m))v.O!=="slot"&&k.O!=="slot"||Z(v.S.parentNode,!1),H(v,k,m),j(Me,v.S,N.S.nextSibling),v=u[++b],k=f[--T];else if(J(N,E,m))v.O!=="slot"&&k.O!=="slot"||Z(N.S.parentNode,!1),H(N,E,m),j(Me,N.S,v.S),N=u[--O],E=f[++y];else{for(g=-1,p=b;p<=O;++p)if(u[p]&&u[p].$!==null&&u[p].$===E.$){g=p;break}g>=0?(S=u[g],S.O!==E.O?h=Y(u&&u[y],c,g):(H(S,E,m),u[g]=void 0,h=S.S),E=f[++y]):(h=Y(u&&u[y],c,y),E=f[++y]),h&&j(W(v.S).parentNode,h,W(v.S))}b>O?Ee(d,f[T+1]==null?null:f[T+1].S,c,f,y,T):y>T&&je(u,b,O)})(s,n,t,l,o):l!==null?(e.h!==null&&(s.textContent=""),Ee(s,null,t,l,0,l.length-1)):!o&&n!==null&&je(n,0,n.length-1),C&&i==="svg"&&(C=!1)):(r=s["s-cr"])?r.parentNode.textContent=a:e.h!==a&&(s.data=a)},$=[],ke=e=>{let t,o,s;const n=e.__childNodes||e.childNodes;for(const l of n){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){o=t.parentNode.__childNodes||t.parentNode.childNodes;const i=l["s-sn"];for(s=o.length-1;s>=0;s--)if(t=o[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===l["s-hn"]||t["s-sh"]&&t["s-sh"]===l["s-hn"]))if(ge(t,i)){let a=$.find((r=>r.k===t));q=!0,t["s-sn"]=t["s-sn"]||i,a?(a.k["s-sh"]=l["s-hn"],a.N=l):(t["s-sh"]=l["s-hn"],$.push({N:l,k:t})),t["s-sr"]&&$.map((r=>{ge(r.k,t["s-sn"])&&(a=$.find((d=>d.k===t)),a&&!r.N&&(r.N=a.N))}))}else $.some((a=>a.k===t))||$.push({k:t})}l.nodeType===1&&ke(l)}},Ae=e=>{e.v&&e.v.ref&&ie.push((()=>e.v.ref(null))),e.m&&e.m.map(Ae)},Qe=(e,t)=>{ae.push((()=>e(t)))},j=(e,t,o,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,o);const{slotNode:n}=(function(l,i){var a;if(!(i=i||((a=l["s-ol"])==null?void 0:a.parentElement)))return{slotNode:null,slotName:""};const r=l["s-sn"]=F(l)||"";return{slotNode:se(oe(i,"childNodes"),i.tagName,r)[0],slotName:r}})(t);return n&&!s&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,o):e?.insertBefore(t,o)},Xe=(e,t,o=!1)=>{var s,n,l,i,a;const r=e.$hostElement$,d=e.o,u=e.M||G(null,null);var c;const f=(c=t)&&c.O===ve?t:U(null,null,t);if(L=r.tagName,d.C&&(f.v=f.v||{},d.C.forEach((([m,h])=>{f.v[h]=r[m]}))),o&&f.v)for(const m of Object.keys(f.v))r.hasAttribute(m)&&!["key","ref","style","class"].includes(m)&&(f.v[m]=r[m]);if(f.O=null,f.i|=4,e.M=f,f.S=u.S=r.shadowRoot||r,V=!(!(1&d.i)||128&d.i),ne=r["s-cr"],q=!1,H(u,f,o),_.i|=1,z){ke(f.S);for(const m of $){const h=m.k;if(!h["s-ol"]&&w.document){const S=w.document.createTextNode("");S["s-nr"]=h,j(h.parentNode,h["s-ol"]=S,h,o)}}for(const m of $){const h=m.k,S=m.N;if(h.nodeType===1&&o&&(h["s-ih"]=(s=h.hidden)!=null&&s),S){const b=S.parentNode;let y=S.nextSibling;if(y&&y.nodeType===1){let g=(n=h["s-ol"])==null?void 0:n.previousSibling;for(;g;){let p=(l=g["s-nr"])!=null?l:null;if(p&&p["s-sn"]===h["s-sn"]&&b===(p.__parentNode||p.parentNode)){for(p=p.nextSibling;p===h||p?.["s-sr"];)p=p?.nextSibling;if(!p||!p["s-nr"]){y=p;break}}g=g.previousSibling}}if((!y&&b!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==y)&&h!==y){if(j(b,h,y,o),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const g=w.document.createTextNode(h.nodeValue.replace(/^s-nt-/,""));g["s-hn"]=h["s-hn"],g["s-sn"]=h["s-sn"],g["s-sh"]=h["s-sh"],g["s-sr"]=h["s-sr"],g["s-ol"]=h["s-ol"],g["s-ol"]["s-nr"]=g,j(h.parentNode,g,h,o),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(i=h["s-ih"])!=null&&i)}h&&typeof S["s-rf"]=="function"&&S["s-rf"](S)}else h.nodeType===1&&(h.hidden=!0)}}if(q&&me(f.S),_.i&=-2,$.length=0,!V&&!(1&d.i)&&r["s-cr"]){const m=f.S.__childNodes||f.S.childNodes;for(const h of m)if(h["s-hn"]!==L&&!h["s-sh"]){if(o&&h["s-ih"]==null&&(h["s-ih"]=(a=h.hidden)!=null&&a),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const S=w.document.createComment("s-nt-"+h.nodeValue);S["s-sn"]=h["s-sn"],j(h.parentNode,S,h,o),h.parentNode.removeChild(h)}}}ne=void 0,ie.forEach((m=>m())),ie.length=0,ae.forEach((m=>m())),ae.length=0},$e=(e,t)=>{if(t&&!e.A&&t["s-p"]){const o=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(o-1,1),s()})))}},ce=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);$e(e,e.R);const o=()=>et(e,t);if(!t)return Ue(o);queueMicrotask((()=>{o()}))},et=(e,t)=>{const o=e.$hostElement$,s=o;if(!s)throw new Error(`Can't render component <${o.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 n;return n=I(s,t?"componentWillLoad":"componentWillUpdate",void 0,o),n=Pe(n,(()=>I(s,"componentWillRender",void 0,o))),Pe(n,(()=>st(e,s,t)))},Pe=(e,t)=>tt(e)?e.then(t).catch((o=>{console.error(o),t()})):t(),tt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",st=async(e,t,o)=>{var s;const n=e.$hostElement$,l=n["s-rc"];o&&(i=>{const a=i.o,r=i.$hostElement$,d=a.i,u=((c,f)=>{var m,h,S;const b=ye(f),y=B.get(b);if(!w.document)return b;if(c=c.nodeType===11?c:w.document,y)if(typeof y=="string"){let g,p=P.get(c=c.head||c);if(p||P.set(c,p=new Set),!p.has(b)){g=w.document.createElement("style"),g.textContent=y;const O=(m=_._)!=null?m:(function(){var v,N,T;return(T=(N=(v=w.document.head)==null?void 0:v.querySelector('meta[name="csp-nonce"]'))==null?void 0:N.getAttribute("content"))!=null?T:void 0})();if(O!=null&&g.setAttribute("nonce",O),!(1&f.i))if(c.nodeName==="HEAD"){const v=c.querySelectorAll("link[rel=preconnect]"),N=v.length>0?v[v.length-1].nextSibling:c.querySelector("style");c.insertBefore(g,N?.parentNode===c?N:null)}else if("host"in c)if(K){const v=new((h=c.defaultView)!=null?h:c.ownerDocument.defaultView).CSSStyleSheet;v.replaceSync(y),Q?c.adoptedStyleSheets.unshift(v):c.adoptedStyleSheets=[v,...c.adoptedStyleSheets]}else{const v=c.querySelector("style");v?v.textContent=y+v.textContent:c.prepend(g)}else c.append(g);1&f.i&&c.insertBefore(g,null),4&f.i&&(g.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),p&&p.add(b)}}else{let g=P.get(c);if(g||P.set(c,g=new Set),!g.has(b)){const p=(S=c.defaultView)!=null?S:c.ownerDocument.defaultView;let O;if(y.constructor===p.CSSStyleSheet)O=y;else{O=new p.CSSStyleSheet;for(let v=0;v<y.cssRules.length;v++)O.insertRule(y.cssRules[v].cssText,v)}Q?c.adoptedStyleSheets.push(O):c.adoptedStyleSheets=[...c.adoptedStyleSheets,O],g.add(b)}}return b})(r.shadowRoot?r.shadowRoot:r.getRootNode(),a);10&d&&(r["s-sc"]=u,r.classList.add(u+"-h"))})(e),ot(e,t,n,o),l&&(l.map((i=>i())),n["s-rc"]=void 0);{const i=(s=n["s-p"])!=null?s:[],a=()=>nt(e);i.length===0?a():(Promise.all(i).then(a).catch(a),e.i|=4,i.length=0)}},ot=(e,t,o,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,Xe(e,t,s)}catch(n){R(n,e.$hostElement$)}return null},nt=e=>{const t=e.$hostElement$,o=t,s=e.R;I(o,"componentDidRender",void 0,t),64&e.i?I(o,"componentDidUpdate",void 0,t):(e.i|=64,rt(t),I(o,"componentDidLoad",void 0,t),e.L(t),s||lt()),e.A&&(e.A(),e.A=void 0),512&e.i&&te((()=>ce(e,!1))),e.i&=-517},lt=()=>{te((()=>Ze(w,"appload",{detail:{namespace:"gids-core-web"}})))},I=(e,t,o,s)=>{if(e&&e[t])try{return e[t](o)}catch(n){R(n,s)}},rt=e=>e.classList.add("hydrated"),xe=(e,t,o,s)=>{const n=A(e);if(!n)return;const l=e,i=n.l.get(t),a=n.i,r=l;o=we(o,s.t[t][0],!!(64&s.i));const d=Number.isNaN(i)&&Number.isNaN(o);if(o!==i&&!d){if(n.l.set(t,o),s.F){const u=s.F[t];u&&u.map((c=>{try{const[[f,m]]=Object.entries(c);(128&a||1&m)&&(r?r[f](o,i,t):n.T.push((()=>{n.D[f](o,i,t)})))}catch(f){R(f,l)}}))}if(2&a){if(r.componentShouldUpdate&&r.componentShouldUpdate(o,i,t)===!1&&!(16&a))return;16&a||ce(n,!1)}}},it=(e,t,o)=>{var s,n;const l=e.prototype;64&t.i&&1&o&&Ve.forEach((i=>{const a=l[i];Object.defineProperty(l,i,{value(...r){var d;const u=A(this),c=this;c?typeof a=="function"&&a.call(c,...r):(d=u?.H)==null||d.then((f=>{const m=f[i];typeof m=="function"&&m.call(f,...r)}))}})}));{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 i=Object.entries((s=t.t)!=null?s:{});i.map((([a,[r]])=>{if(31&r||32&r){const{get:d,set:u}=D(l,a)||{};d&&(t.t[a][0]|=2048),u&&(t.t[a][0]|=4096),Object.defineProperty(l,a,{get(){return d?d.apply(this):(c=a,A(this).l.get(c));var c},configurable:!0,enumerable:!0}),Object.defineProperty(l,a,{set(c){const f=A(this);if(f){if(u)return(32&r?this[a]:f.$hostElement$[a])===void 0&&f.l.get(a)&&(c=f.l.get(a)),u.apply(this,[we(c,r,!!(64&t.i))]),void xe(this,a,c=32&r?this[a]:f.$hostElement$[a],t);xe(this,a,c,t)}}})}}));{const a=new Map;l.attributeChangedCallback=function(r,d,u){_.jmp((()=>{var c;const f=a.get(r),m=A(this);if(this.hasOwnProperty(f),l.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==u)return;if(f==null){const g=m?.i;if(m&&g&&!(8&g)&&u!==d){const p=this,O=(c=t.F)==null?void 0:c[r];O?.forEach((v=>{const[[N,T]]=Object.entries(v);p[N]!=null&&(128&g||1&T)&&p[N].call(p,u,d,r)}))}return}const h=i.find((([g])=>g===f)),S=h&&4&h[1][0],b=S&&u===null&&this[f]===void 0;S&&(u=u!==null&&u!=="false");const y=Object.getOwnPropertyDescriptor(l,f);b||u==this[f]||y.get&&!y.set||(this[f]=u)}))},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.F)!=null?n:{}),...i.filter((([r,d])=>31&d[0])).map((([r,d])=>{var u;const c=d[1]||r;return a.set(c,r),512&d[0]&&((u=t.C)==null||u.push([r,c])),c}))]))}}return e},at=(e,t)=>{const o={i:t[0],p:t[1]};try{o.t=t[2],o.W=t[3],o.F=Se(e.F),o.P=e.P,o.U=e.U,o.C=[];const s=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((l,i)=>{const a={i:0,$hostElement$:l,o:i,l:new Map,B:new Map};a.H=new Promise((d=>a.L=d)),l["s-p"]=[],l["s-rc"]=[];const r=a;l.__stencil__getHostRef=()=>r,512&i.i&&Fe(l,a)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const l=A(this);if(!l)return;Re(this,l,o.W),this.__hasHostListenerAttached=!0}(l=>{if(!(1&_.i)){const i=A(l);if(!i)return;const a=i.o;if(1&i.i)Re(l,i,a.W),i?.D||i?.H&&i.H.then((()=>{}));else{i.i|=1,12&a.i&&(r=>{if(!w.document)return;const d=r["s-cr"]=w.document.createComment("");d["s-cn"]=!0,j(r,d,r.firstChild)})(l);{let r=l;for(;r=r.parentNode||r.host;)if(r["s-p"]){$e(i,i.R=r);break}}a.t&&Object.entries(a.t).map((([r,[d]])=>{if(31&d&&Object.prototype.hasOwnProperty.call(l,r)){const u=l[r];delete l[r],l[r]=u}})),(async(r,d,u)=>{let c;try{if(!(32&d.i)&&(d.i|=32,c=r.constructor,customElements.whenDefined(r.localName).then((()=>d.i|=128)),c&&c.style)){let h;typeof c.style=="string"&&(h=c.style);const S=ye(u);B.has(S)||((b,y,g)=>{let p=B.get(b);K&&g?(p=p||new CSSStyleSheet,typeof p=="string"?p=y:p.replaceSync(y)):p=y,B.set(b,p)})(S,h,!!(1&u.i))}const f=d.R,m=()=>ce(d,!0);f&&f["s-rc"]?f["s-rc"].push(m):m()}catch(f){R(f,r),d.A&&(d.A(),d.A=void 0),d.L&&d.L(r)}})(l,i,a)}}})(this),s&&s.call(this)},disconnectedCallback(){(async l=>{if(!(1&_.i)){const i=A(l);i?.V&&(i.V.map((a=>a())),i.V=void 0)}P.has(l)&&P.delete(l),l.shadowRoot&&P.has(l.shadowRoot)&&P.delete(l.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${o.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Ge.call(this,o)}}),Object.defineProperty(e,"is",{value:o.p,configurable:!0}),it(e,o,3)}catch(s){return R(s),e}},Re=(e,t,o)=>{o&&w.document&&o.map((([s,n,l])=>{const i=dt(w.document,e,s),a=ct(t,l),r=ut(s);_.ael(i,n,a,r),(t.V=t.V||[]).push((()=>_.rel(i,n,a,r)))}))},ct=(e,t)=>o=>{try{e.$hostElement$[t](o)}catch(s){R(s,e.$hostElement$)}},dt=(e,t,o)=>8&o?w:t,ut=e=>Ie?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function yt(e){return e}function Le(e){var t,o,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(o=Le(e[t]))&&(s&&(s+=" "),s+=o)}else for(o in e)e[o]&&(s&&(s+=" "),s+=o);return s}function ft(){for(var e,t,o=0,s="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=Le(e))&&(s&&(s+=" "),s+=t);return s}const ht=Object.freeze(Object.defineProperty({__proto__:null,getGidsTabClassNames:({width:e,appearance:t},o)=>ft("gids-tab",{"gids-tab--full":e==="full","gids-tab--item-subtle":t==="subtle","gids-tab--item-underlined":t==="underlined"},o)},Symbol.toStringTag,{value:"Module"})),{getGidsTabClassNames:pt}=ht,De=at(class extends We{constructor(e){super(),e!==!1&&this.__registerHost(),this.width="intrinsic",this.appearance="default"}handleWidthChange(e){this.width=e}handleAppearanceChange(e){this.appearance=e}handleActiveTabIdChange(e){this.activeTabId=e}componentDidLoad(){this.syncPropsToChildren(),this.hostElement.addEventListener("slotchange",(()=>this.syncPropsToChildren()))}componentDidUpdate(){this.syncPropsToChildren()}syncPropsToChildren(){this.hostElement.querySelectorAll("gids-tab-item").forEach((e=>{e&&(e.appearance=this.appearance,e.width=this.width,e.active=this.isTabActive(e.itemId),e.onPressGidsTabItem=t=>{this.activeTabId=t?.itemId,this.onPressGidsTab&&this.onPressGidsTab(t),this.syncPropsToChildren()})}))}isTabActive(e){return e===this.activeTabId}render(){const e=pt({width:this.width,appearance:this.appearance});return U(ve,{key:"d4894b3e60a3057a392c717db7d5f1415fe1e1e8",class:e},U("slot",{key:"f9bc6099f9b57ecc507462ee1f2a5f613176ced1"}))}get hostElement(){return this}static get watchers(){return{width:[{handleWidthChange:0}],appearance:[{handleAppearanceChange:0}],activeTabId:[{handleActiveTabIdChange:0}]}}static get style(){return".gids-tab{display:inline-flex;align-items:center;justify-content:flex-start;gap:var(--gids-gap-150);overflow-y:hidden;overflow-x:scroll}.gids-tab--full{display:flex}.gids-tab--item-subtle{gap:0}.gids-tab--item-underlined{gap:0}"}},[260,"gids-tab",{width:[1],appearance:[1],activeTabId:[1,"active-tab-id"],onPressGidsTab:[16]},void 0,{width:[{handleWidthChange:0}],appearance:[{handleAppearanceChange:0}],activeTabId:[{handleActiveTabIdChange:0}]}]);function He(){typeof customElements<"u"&&["gids-tab"].forEach((e=>{e==="gids-tab"&&(customElements.get(e)||customElements.define(e,De))}))}He();const mt=De,gt=He;x.GidsTab=mt,x.defineCustomElement=gt,Object.defineProperty(x,Symbol.toStringTag,{value:"Module"})}));