@ganpatiinfo/gids-core-web 16.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 (271) 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/webComponents/GidsProfile/GidsProfile.d.ts +4 -0
  110. package/dist/types/components/webComponents/GidsProfileMenu/GidsProfileMenu.d.ts +4 -0
  111. package/dist/types/components.d.ts +168 -2
  112. package/dist-bundled/es/gids-action-bar.js +9 -9
  113. package/dist-bundled/es/gids-activity-gauge.js +1 -1
  114. package/dist-bundled/es/gids-advanced-tooltip.js +2 -2
  115. package/dist-bundled/es/gids-bar-chart.js +1 -1
  116. package/dist-bundled/es/gids-bento-card.js +84 -0
  117. package/dist-bundled/es/gids-calendar-header-panel.js +3 -3
  118. package/dist-bundled/es/gids-calendar-month-list.js +1 -1
  119. package/dist-bundled/es/gids-calendar-year-list.js +2 -2
  120. package/dist-bundled/es/gids-calendar.js +24 -24
  121. package/dist-bundled/es/gids-carousel.js +179 -0
  122. package/dist-bundled/es/gids-chart-legend-item.js +3 -3
  123. package/dist-bundled/es/gids-chart-legend.js +4 -4
  124. package/dist-bundled/es/gids-chart.js +11 -11
  125. package/dist-bundled/es/gids-chevron-button.js +3 -3
  126. package/dist-bundled/es/gids-dot.js +3 -3
  127. package/dist-bundled/es/gids-dropdown-field.js +9 -9
  128. package/dist-bundled/es/gids-dropdown-picker.js +4 -4
  129. package/dist-bundled/es/gids-dropdown.js +4 -4
  130. package/dist-bundled/es/gids-expansion-body-list-item.js +3 -3
  131. package/dist-bundled/es/gids-expansion-body-list.js +3 -3
  132. package/dist-bundled/es/gids-expansion-group.js +4 -4
  133. package/dist-bundled/es/gids-expansion.js +3 -3
  134. package/dist-bundled/es/gids-field.js +4 -4
  135. package/dist-bundled/es/gids-filter.js +2 -2
  136. package/dist-bundled/es/gids-flyout-panel.js +110 -0
  137. package/dist-bundled/es/gids-header-navigation-item.js +1 -1
  138. package/dist-bundled/es/gids-header-navigation.js +5 -5
  139. package/dist-bundled/es/gids-icon.js +4 -4
  140. package/dist-bundled/es/gids-input.js +2 -2
  141. package/dist-bundled/es/gids-level-gauge.js +2 -2
  142. package/dist-bundled/es/gids-line-chart.js +4 -4
  143. package/dist-bundled/es/gids-md-table.js +5 -5
  144. package/dist-bundled/es/gids-notification.js +1 -1
  145. package/dist-bundled/es/gids-overflow-container.js +5 -5
  146. package/dist-bundled/es/gids-overlay-provider.js +4 -4
  147. package/dist-bundled/es/gids-password-field.js +15 -15
  148. package/dist-bundled/es/gids-pie-chart.js +4 -4
  149. package/dist-bundled/es/gids-popover.js +4 -4
  150. package/dist-bundled/es/gids-profile-menu-header.js +1 -1
  151. package/dist-bundled/es/gids-profile-menu.js +3 -3
  152. package/dist-bundled/es/gids-profile.js +40 -34
  153. package/dist-bundled/es/gids-progress-circle.js +1 -1
  154. package/dist-bundled/es/gids-scrim.js +2 -2
  155. package/dist-bundled/es/gids-skeleton.js +9 -9
  156. package/dist-bundled/es/gids-snackbar.js +1 -1
  157. package/dist-bundled/es/gids-tab-item.js +7 -7
  158. package/dist-bundled/es/gids-tab.js +2 -2
  159. package/dist-bundled/es/gids-text-field.js +16 -16
  160. package/dist-bundled/es/gids-toggle-button.js +1 -1
  161. package/dist-bundled/es/gids-tooltip.js +7 -7
  162. package/dist-bundled/es/gids-transfer-list.js +7 -7
  163. package/dist-bundled/es/index.js +2 -2
  164. package/dist-bundled/es/{p-CoS0NuDU-ByDvQAzA.js → p-4zKS6zkg-CujzUjb6.js} +3 -3
  165. package/dist-bundled/es/{p-Degg_WJz-ORZcjc8G.js → p-83YZrIJw-Cu-e6WD3.js} +3 -3
  166. package/dist-bundled/es/{p-oJFgjzK5-CzagP1qD.js → p-B0hLXifA-CoImnX3T.js} +4 -4
  167. package/dist-bundled/es/p-BKcvOO8o-DcnO39au.js +1065 -0
  168. package/dist-bundled/es/{p-Dd-ec-e0-BqX_F6y0.js → p-BdsUwTgh-Cc7AQBsx.js} +9 -9
  169. package/dist-bundled/es/{p-Dg2yoUxw-DliMstZy.js → p-BkxmRN-4-DSiXCW8b.js} +5 -5
  170. package/dist-bundled/es/{p-C2POfZhu-DzG_JxV6.js → p-BsC3-MVH-j4fPhip5.js} +1 -1
  171. package/dist-bundled/es/{p-CiWZdp48-1vf7Xh2R.js → p-BthkC6NU-F03MhDw7.js} +7 -7
  172. package/dist-bundled/es/{p-DMNS1d8v-BX8e_AsY.js → p-C-Lpfqcg-DIuBhXzX.js} +5 -5
  173. package/dist-bundled/es/{p-pVSQxFDF-CsWxUaZX.js → p-C6GHG170-Di8lwQkY.js} +4 -4
  174. package/dist-bundled/es/{p-DGXqnrKo-C7feKS94.js → p-CBiu-Vh3-r-McGzCb.js} +9 -9
  175. package/dist-bundled/es/{p-Co23kQaH-QJyKkzgc.js → p-CH4nrjpL-CrEJXTn0.js} +9 -9
  176. package/dist-bundled/es/{p-DObJEzlz-tt9h5cuI.js → p-CIxuyUAl-B2DxRM64.js} +4 -4
  177. package/dist-bundled/es/{p-DiTjFG30-CQkxfu2K.js → p-CMW3SjbP-ZYYIF_i6.js} +4 -4
  178. package/dist-bundled/es/p-CPgZgSBN-DsTNcUR7.js +7 -0
  179. package/dist-bundled/es/p-CTri3IsV-B1u0rrXF.js +122 -0
  180. package/dist-bundled/es/{p-CaauwQNd-D6_PbcRr.js → p-CZ_9Mt3B-BIYkPAXM.js} +1 -1
  181. package/dist-bundled/es/{p-DAuO4g6g-C8miaL-N.js → p-Cacy0Dji-D-D254kT.js} +7 -7
  182. package/dist-bundled/es/{p-CXFvqDBs-offadaUn.js → p-CcKHKwS0-Bw63tTOA.js} +1 -1
  183. package/dist-bundled/es/p-Cf3Ny79u-VGT_IyGI.js +82 -0
  184. package/dist-bundled/es/{p-DbaNvRpS-r7kCW1TY.js → p-CrqHKmjy-DwSsCofb.js} +10 -10
  185. package/dist-bundled/es/{p-UDG6tkD1-JTLPxkEn.js → p-Cz9nwmgK-BO8HUAvD.js} +10 -10
  186. package/dist-bundled/es/{p-Bs8TP3Rb-BdcS7d5q.js → p-D0coZTd2-KhJZ57gK.js} +3 -3
  187. package/dist-bundled/es/{p-CCpxJ8wu-CMYQqNoP.js → p-DKOr5iAk-DA3Kc4Cn.js} +9 -9
  188. package/dist-bundled/es/{p-Chb2OeFe-DDv_WPhe.js → p-DYjV5XrH-CI9LfBFx.js} +3 -3
  189. package/dist-bundled/es/{p-C-HyXFGR-UnFcWLOQ.js → p-DZ6xQXis-XT86MMis.js} +7 -7
  190. package/dist-bundled/es/{p-CHGTBObD-D_K9_Tmh.js → p-DaB_FzcG-DnRTURxL.js} +1 -1
  191. package/dist-bundled/es/{p-DxX3B1f0-D1URliVh.js → p-DgKrPmDn-C2CSKicX.js} +6 -6
  192. package/dist-bundled/es/{p-UVmSPzTd-CR1higgJ.js → p-Dg_WeHpV-DehzGL6g.js} +9 -9
  193. package/dist-bundled/es/{p-UxDcM-C5-BJO4X0jM.js → p-Do_VlNHg-_g7lcvwR.js} +2 -2
  194. package/dist-bundled/es/{p-DELTZ9Fh-Byr0nLtY.js → p-DrDadv7P-D4rbSYTr.js} +4 -4
  195. package/dist-bundled/es/{p-bhEHIxPv-ujyxL30O.js → p-Dw_kb9MC-BTd0lrGA.js} +36 -21
  196. package/dist-bundled/es/{p-CZBiavxU-CIstIm2b.js → p-GcC8pCKF-CZJFTFeN.js} +10 -10
  197. package/dist-bundled/es/{p-BrYLEey4-DuajY4uD.js → p-KQxuw_F--BTSoDfF9.js} +9 -9
  198. package/dist-bundled/es/{p-d-t7__OQ-CKPQZt2t.js → p-PcSMc4jQ-CzYLaIZr.js} +14 -14
  199. package/dist-bundled/es/{p-D4Pimu_8-ARSuGBs4.js → p-iQRr_fAH-ClfWEu03.js} +13 -13
  200. package/dist-bundled/es/{p-u06XOrpj-C1tNznDd.js → p-j2_DKwBz-CqyuxxnN.js} +8 -8
  201. package/dist-bundled/es/{p-Bw2pVReY-K9pdG-hw.js → p-jGho9nbS-BDiBvsn2.js} +10 -10
  202. package/dist-bundled/es/{p-Bzjuvoza-CzNs69NV.js → p-xbqOQZl9-BK9vjfj7.js} +15 -15
  203. package/dist-bundled/umd/gids-action-bar.umd.js +3 -3
  204. package/dist-bundled/umd/gids-activity-gauge.umd.js +2 -2
  205. package/dist-bundled/umd/gids-advanced-tooltip.umd.js +2 -2
  206. package/dist-bundled/umd/gids-bar-chart.umd.js +1 -1
  207. package/dist-bundled/umd/gids-bento-card.umd.js +5 -0
  208. package/dist-bundled/umd/gids-calendar-header-panel.umd.js +1 -1
  209. package/dist-bundled/umd/gids-calendar-month-list.umd.js +1 -1
  210. package/dist-bundled/umd/gids-calendar-year-list.umd.js +1 -1
  211. package/dist-bundled/umd/gids-calendar.umd.js +1 -1
  212. package/dist-bundled/umd/gids-carousel.umd.js +5 -0
  213. package/dist-bundled/umd/gids-chart-legend-item.umd.js +1 -1
  214. package/dist-bundled/umd/gids-chart-legend.umd.js +1 -1
  215. package/dist-bundled/umd/gids-chart.umd.js +1 -1
  216. package/dist-bundled/umd/gids-chevron-button.umd.js +1 -1
  217. package/dist-bundled/umd/gids-dot.umd.js +1 -1
  218. package/dist-bundled/umd/gids-dropdown-field.umd.js +1 -1
  219. package/dist-bundled/umd/gids-dropdown-picker.umd.js +2 -2
  220. package/dist-bundled/umd/gids-dropdown.umd.js +1 -1
  221. package/dist-bundled/umd/gids-expansion-body-list-item.umd.js +1 -1
  222. package/dist-bundled/umd/gids-expansion-body-list.umd.js +1 -1
  223. package/dist-bundled/umd/gids-expansion-group.umd.js +1 -1
  224. package/dist-bundled/umd/gids-expansion.umd.js +1 -1
  225. package/dist-bundled/umd/gids-field.umd.js +2 -2
  226. package/dist-bundled/umd/gids-filter.umd.js +3 -3
  227. package/dist-bundled/umd/gids-flyout-panel.umd.js +5 -0
  228. package/dist-bundled/umd/gids-header-navigation-item.umd.js +2 -2
  229. package/dist-bundled/umd/gids-header-navigation.umd.js +2 -2
  230. package/dist-bundled/umd/gids-icon.umd.js +1 -1
  231. package/dist-bundled/umd/gids-input.umd.js +2 -2
  232. package/dist-bundled/umd/gids-line-chart.umd.js +1 -1
  233. package/dist-bundled/umd/gids-md-table.umd.js +1 -1
  234. package/dist-bundled/umd/gids-overflow-container.umd.js +1 -1
  235. package/dist-bundled/umd/gids-overlay-provider.umd.js +1 -1
  236. package/dist-bundled/umd/gids-password-field.umd.js +1 -1
  237. package/dist-bundled/umd/gids-pie-chart.umd.js +1 -1
  238. package/dist-bundled/umd/gids-popover.umd.js +2 -2
  239. package/dist-bundled/umd/gids-profile-menu-header.umd.js +1 -1
  240. package/dist-bundled/umd/gids-profile-menu.umd.js +2 -2
  241. package/dist-bundled/umd/gids-profile.umd.js +2 -2
  242. package/dist-bundled/umd/gids-scrim.umd.js +1 -1
  243. package/dist-bundled/umd/gids-skeleton.umd.js +1 -1
  244. package/dist-bundled/umd/gids-tab-item.umd.js +1 -1
  245. package/dist-bundled/umd/gids-tab.umd.js +1 -1
  246. package/dist-bundled/umd/gids-text-field.umd.js +2 -2
  247. package/dist-bundled/umd/gids-toggle-button.umd.js +3 -3
  248. package/dist-bundled/umd/gids-tooltip.umd.js +2 -2
  249. package/dist-bundled/umd/gids-transfer-list.umd.js +1 -1
  250. package/dist-bundled/umd/index.umd.js +2 -2
  251. package/dist-bundled/umd-complete/gids-core-web.umd.js +4 -4
  252. package/package.json +29 -5
  253. package/dist/p-B8kX8Vqv.js +0 -1
  254. package/dist/p-BBszCFSA.js +0 -1
  255. package/dist/p-Bw2pVReY.js +0 -1
  256. package/dist/p-C2POfZhu.js +0 -1
  257. package/dist/p-CXFvqDBs.js +0 -1
  258. package/dist/p-CZBiavxU.js +0 -1
  259. package/dist/p-CcpdJCql.js +0 -1
  260. package/dist/p-D4Pimu_8.js +0 -1
  261. package/dist/p-DMNS1d8v.js +0 -1
  262. package/dist/p-DObJEzlz.js +0 -1
  263. package/dist/p-Dg2yoUxw.js +0 -1
  264. package/dist/p-UVmSPzTd.js +0 -1
  265. package/dist/p-UxDcM-C5.js +0 -1
  266. package/dist/p-bhEHIxPv.js +0 -1
  267. package/dist-bundled/es/p-B8kX8Vqv-trBz4jdS.js +0 -7
  268. package/dist-bundled/es/p-BBszCFSA-BN0-eWJX.js +0 -115
  269. package/dist-bundled/es/p-BKcvOO8o-L5KtCP_k.js +0 -1024
  270. package/dist-bundled/es/p-CcpdJCql-CkEW2RAp.js +0 -64
  271. /package/dist-bundled/es/{p-Bf3p-DY2-CPqEc-vc.js → p-B4hcsDH0-CPqEc-vc.js} +0 -0
@@ -1,5 +1,5 @@
1
- (function(L,R){typeof exports=="object"&&typeof module<"u"?R(exports):typeof define=="function"&&define.amd?define(["exports"],R):(L=typeof globalThis<"u"?globalThis:L||self,R(L.gidsCoreWebGidsInput={}))})(this,(function(L){"use strict";function R(e,t,n){const s=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==s;){const o=Object.getOwnPropertyDescriptor(e,t);if(o&&(!n||o.get))return o;e=Object.getPrototypeOf(e)}}var D,st=(e,t)=>{var n;Object.entries((n=t.o.t)!=null?n:{}).map((([s,[o]])=>{if(31&o||32&o){const r=e[s],i=R(Object.getPrototypeOf(e),s,!0)||Object.getOwnPropertyDescriptor(e,s);i&&Object.defineProperty(e,s,{get(){return i.get.call(this)},set(a){i.set.call(this,a)},configurable:!0,enumerable:!0}),t.l.has(s)?e[s]=t.l.get(s):r!==void 0&&(e[s]=r)}}))},x=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},ve=(e,t)=>t in e,I=(e,t)=>(0,console.error)(e,t),W=new Map,ye="http://www.w3.org/1999/xlink",nt=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],w=typeof window<"u"?window:{},ot=w.HTMLElement||class{},E={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},rt=(()=>{var e;let t=!1;try{(e=w.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),Q=(()=>{try{return!!w.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),ee=!!Q&&!!w.document&&Object.getOwnPropertyDescriptor(w.document.adoptedStyleSheets,"length").writable,te=!1,be=[],Se=[],lt=(e,t)=>n=>{e.push(n),te||(te=!0,4&E.i?ne(se):E.raf(se))},we=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){I(n)}e.length=0},se=()=>{we(be),we(Se),(te=be.length>0)&&E.raf(se)},ne=e=>Promise.resolve(void 0).then(e),it=lt(Se);function at(){const e=this.attachShadow({mode:"open"});D===void 0&&(D=null),D&&(ee?e.adoptedStyleSheets.push(D):e.adoptedStyleSheets=[...e.adoptedStyleSheets,D])}var _e=e=>{const t=re(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&oe(t,e.tagName).forEach((s=>{s.nodeType===1&&s.tagName==="SLOT-FB"&&(s.hidden=!!ct(s,B(s),!1).length)}));let n=0;for(n=0;n<t.length;n++){const s=t[n];s.nodeType===1&&re(s,"childNodes").length&&_e(s)}};function oe(e,t,n){let s,o=0,r=[];for(;o<e.length;o++){if(s=e[o],s["s-sr"]&&(!t||s["s-hn"]===t)&&(n===void 0||B(s)===n)&&(r.push(s),n!==void 0))return r;r=[...r,...oe(s.childNodes,t,n)]}return r}var ct=(e,t,n=!0)=>{const s=[];(n&&e["s-sr"]||!e["s-sr"])&&s.push(e);let o=e;for(;o=o.nextSibling;)B(o)!==t||!n&&o["s-sr"]||s.push(o);return s},Ne=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",B=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function re(e,t){if("__"+t in e){const n=e["__"+t];return typeof n!="function"?n:n.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var le,M,T=new WeakMap,ke=e=>"sc-"+e.p,ie=e=>(e=typeof e)=="object"||e==="function",k=(e,t,...n)=>{let s=null,o=null,r=null,i=!1,a=!1;const l=[],u=c=>{for(let f=0;f<c.length;f++)s=c[f],Array.isArray(s)?u(s):s!=null&&typeof s!="boolean"&&((i=typeof e!="function"&&!ie(s))&&(s=String(s)),i&&a?l[l.length-1].h+=s:l.push(i?q(null,s):s),a=i)};if(u(n),t){t.key&&(o=t.key),t.name&&(r=t.name);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter((f=>c[f])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,l,dt);const d=q(e,null);return d.v=t,l.length>0&&(d.m=l),d.$=o,d.j=r,d},q=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),ut={},dt={forEach:(e,t)=>e.map(Ee).forEach(t),map:(e,t)=>e.map(Ee).map(t).map(ft)},Ee=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),ft=e=>{if(typeof e.vtag=="function"){const n={...e.vattrs};return e.vkey&&(n.key=e.vkey),e.vname&&(n.name=e.vname),k(e.vtag,n,...e.vchildren||[])}const t=q(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},Ae=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let n=!1;for(const o of t){if(n)break;for(const r of e[o])if(typeof r=="string"){n=!0;break}}if(!n)return e;const s={};for(const o of t)s[o]=e[o].map((r=>typeof r=="string"?{[r]:0}:r));return s},Oe=(e,t,n)=>e==null||ie(e)?e:4&t?(n&&typeof e=="string"||e!=="false")&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,ht=(e,t,n)=>{const s=E.ce(t,n);return e.dispatchEvent(s),s},$e=(e,t,n,s,o,r)=>{if(n===s)return;let i=ve(e,t),a=t.toLowerCase();if(t==="class"){const l=e.classList,u=Pe(n);let d=Pe(s);l.remove(...u.filter((c=>c&&!d.includes(c)))),l.add(...d.filter((c=>c&&!u.includes(c))))}else if(t==="style"){for(const l in n)s&&s[l]!=null||(l.includes("-")?e.style.removeProperty(l):e.style[l]="");for(const l in s)n&&s[l]===n[l]||(l.includes("-")?e.style.setProperty(l,s[l]):e.style[l]=s[l])}else if(t!=="key"){if(t==="ref")s&&gt(s,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const l=t.slice(5);let u;{const d=x(e);if(d&&d.o&&d.o.t){const c=d.o.t[l];c&&c[1]&&(u=c[1])}}return u||(u=l.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(s==null||s===!1?s===!1&&e.getAttribute(u)!==""||e.removeAttribute(u):e.setAttribute(u,s===!0?"":s))}if(t[0]==="p"&&t.startsWith("prop:")){const l=t.slice(5);try{e[l]=s}catch{}return}{const l=ie(s);if((i||l&&s!==null)&&!o)try{if(e.tagName.includes("-"))e[t]!==s&&(e[t]=s);else{const d=s??"";t==="list"?i=!1:n!=null&&e[t]===d||(typeof e.__lookupSetter__(t)=="function"?e[t]=d:e.setAttribute(t,d))}}catch{}let u=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,u=!0),s==null||s===!1?s===!1&&e.getAttribute(t)!==""||(u?e.removeAttributeNS(ye,t):e.removeAttribute(t)):(!i||4&r||o)&&!l&&e.nodeType===1&&(s=s===!0?"":s,u?e.setAttributeNS(ye,t,s):e.setAttribute(t,s))}}else if(t=t[2]==="-"?t.slice(3):ve(w,a)?a.slice(2):a[2]+t.slice(3),n||s){const l=t.endsWith(Ce);t=t.replace(mt,""),n&&E.rel(e,t,n,l),s&&E.ael(e,t,s,l)}}},pt=/\s/,Pe=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(pt):[]),Ce="Capture",mt=new RegExp(Ce+"$"),ae=(e,t,n)=>{const s=t.S.nodeType===11&&t.S.host?t.S.host:t.S,o=e&&e.v||{},r=t.v||{};for(const i of xe(Object.keys(o)))i in r||$e(s,i,o[i],void 0,n,t.i);for(const i of xe(Object.keys(r)))$e(s,i,o[i],r[i],n,t.i)};function xe(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var F=!1,U=!1,z=!1,A=!1,ce=[],ue=[],K=(e,t,n)=>{var s;const o=t.m[n];let r,i,a,l=0;if(F||(z=!0,o.O==="slot"&&(o.i|=o.m?2:1)),o.h!=null)r=o.S=w.document.createTextNode(o.h);else if(1&o.i)r=o.S=w.document.createTextNode(""),ae(null,o,A);else{if(A||(A=o.O==="svg"),!w.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(r=o.S=w.document.createElementNS(A?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!F&&2&o.i?"slot-fb":o.O),A&&o.O==="foreignObject"&&(A=!1),ae(null,o,A),o.m){const u=o.O==="template"?r.content:r;for(l=0;l<o.m.length;++l)i=K(e,o,l),i&&u.appendChild(i)}o.O==="svg"?A=!1:r.tagName==="foreignObject"&&(A=!0)}return r["s-hn"]=M,3&o.i&&(r["s-sr"]=!0,r["s-cr"]=le,r["s-sn"]=o.j||"",r["s-rf"]=(s=o.v)==null?void 0:s.ref,(function(u){if(u.assignedElements||u.assignedNodes||!u["s-sr"])return;const d=c=>(function(f){const p=[],h=this["s-sn"];f?.flatten&&console.error(`
1
+ (function(L,R){typeof exports=="object"&&typeof module<"u"?R(exports):typeof define=="function"&&define.amd?define(["exports"],R):(L=typeof globalThis<"u"?globalThis:L||self,R(L.gidsCoreWebGidsInput={}))})(this,(function(L){"use strict";function R(e,t,n){const s=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==s;){const o=Object.getOwnPropertyDescriptor(e,t);if(o&&(!n||o.get))return o;e=Object.getPrototypeOf(e)}}var D,st=(e,t)=>{var n;Object.entries((n=t.o.t)!=null?n:{}).map((([s,[o]])=>{if(31&o||32&o){const l=e[s],i=R(Object.getPrototypeOf(e),s,!0)||Object.getOwnPropertyDescriptor(e,s);i&&Object.defineProperty(e,s,{get(){return i.get.call(this)},set(a){i.set.call(this,a)},configurable:!0,enumerable:!0}),t.l.has(s)?e[s]=t.l.get(s):l!==void 0&&(e[s]=l)}}))},x=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},ve=(e,t)=>t in e,I=(e,t)=>(0,console.error)(e,t),W=new Map,ye="http://www.w3.org/1999/xlink",nt=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],w=typeof window<"u"?window:{},ot=w.HTMLElement||class{},E={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},lt=(()=>{var e;let t=!1;try{(e=w.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),Q=(()=>{try{return!!w.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),ee=!!Q&&!!w.document&&Object.getOwnPropertyDescriptor(w.document.adoptedStyleSheets,"length").writable,te=!1,be=[],Se=[],rt=(e,t)=>n=>{e.push(n),te||(te=!0,4&E.i?ne(se):E.raf(se))},we=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){I(n)}e.length=0},se=()=>{we(be),we(Se),(te=be.length>0)&&E.raf(se)},ne=e=>Promise.resolve(void 0).then(e),it=rt(Se);function at(){const e=this.attachShadow({mode:"open"});D===void 0&&(D=null),D&&(ee?e.adoptedStyleSheets.push(D):e.adoptedStyleSheets=[...e.adoptedStyleSheets,D])}var _e=e=>{const t=le(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&oe(t,e.tagName).forEach((s=>{s.nodeType===1&&s.tagName==="SLOT-FB"&&(s.hidden=!!ct(s,B(s),!1).length)}));let n=0;for(n=0;n<t.length;n++){const s=t[n];s.nodeType===1&&le(s,"childNodes").length&&_e(s)}};function oe(e,t,n){let s,o=0,l=[];for(;o<e.length;o++){if(s=e[o],s["s-sr"]&&(!t||s["s-hn"]===t)&&(n===void 0||B(s)===n)&&(l.push(s),n!==void 0))return l;l=[...l,...oe(s.childNodes,t,n)]}return l}var ct=(e,t,n=!0)=>{const s=[];(n&&e["s-sr"]||!e["s-sr"])&&s.push(e);let o=e;for(;o=o.nextSibling;)B(o)!==t||!n&&o["s-sr"]||s.push(o);return s},Ne=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",B=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function le(e,t){if("__"+t in e){const n=e["__"+t];return typeof n!="function"?n:n.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var re,M,T=new WeakMap,ke=e=>"sc-"+e.p,ie=e=>(e=typeof e)=="object"||e==="function",k=(e,t,...n)=>{let s=null,o=null,l=null,i=!1,a=!1;const r=[],d=c=>{for(let f=0;f<c.length;f++)s=c[f],Array.isArray(s)?d(s):s!=null&&typeof s!="boolean"&&((i=typeof e!="function"&&!ie(s))&&(s=String(s)),i&&a?r[r.length-1].h+=s:r.push(i?q(null,s):s),a=i)};if(d(n),t){t.key&&(o=t.key),t.name&&(l=t.name);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter((f=>c[f])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,r,ut);const u=q(e,null);return u.v=t,r.length>0&&(u.m=r),u.$=o,u.j=l,u},q=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),dt={},ut={forEach:(e,t)=>e.map(Ee).forEach(t),map:(e,t)=>e.map(Ee).map(t).map(ft)},Ee=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),ft=e=>{if(typeof e.vtag=="function"){const n={...e.vattrs};return e.vkey&&(n.key=e.vkey),e.vname&&(n.name=e.vname),k(e.vtag,n,...e.vchildren||[])}const t=q(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},Ae=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let n=!1;for(const o of t){if(n)break;for(const l of e[o])if(typeof l=="string"){n=!0;break}}if(!n)return e;const s={};for(const o of t)s[o]=e[o].map((l=>typeof l=="string"?{[l]:0}:l));return s},Oe=(e,t,n)=>e==null||ie(e)?e:4&t?(n&&typeof e=="string"||e!=="false")&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,ht=(e,t,n)=>{const s=E.ce(t,n);return e.dispatchEvent(s),s},$e=(e,t,n,s,o,l)=>{if(n===s)return;let i=ve(e,t),a=t.toLowerCase();if(t==="class"){const r=e.classList,d=Pe(n);let u=Pe(s);r.remove(...d.filter((c=>c&&!u.includes(c)))),r.add(...u.filter((c=>c&&!d.includes(c))))}else if(t==="style"){for(const r in n)s&&s[r]!=null||(r.includes("-")?e.style.removeProperty(r):e.style[r]="");for(const r in s)n&&s[r]===n[r]||(r.includes("-")?e.style.setProperty(r,s[r]):e.style[r]=s[r])}else if(t!=="key"){if(t==="ref")s&&gt(s,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const r=t.slice(5);let d;{const u=x(e);if(u&&u.o&&u.o.t){const c=u.o.t[r];c&&c[1]&&(d=c[1])}}return d||(d=r.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(s==null||s===!1?s===!1&&e.getAttribute(d)!==""||e.removeAttribute(d):e.setAttribute(d,s===!0?"":s))}if(t[0]==="p"&&t.startsWith("prop:")){const r=t.slice(5);try{e[r]=s}catch{}return}{const r=ie(s);if((i||r&&s!==null)&&!o)try{if(e.tagName.includes("-"))e[t]!==s&&(e[t]=s);else{const u=s??"";t==="list"?i=!1:n!=null&&e[t]===u||(typeof e.__lookupSetter__(t)=="function"?e[t]=u:e.setAttribute(t,u))}}catch{}let d=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,d=!0),s==null||s===!1?s===!1&&e.getAttribute(t)!==""||(d?e.removeAttributeNS(ye,t):e.removeAttribute(t)):(!i||4&l||o)&&!r&&e.nodeType===1&&(s=s===!0?"":s,d?e.setAttributeNS(ye,t,s):e.setAttribute(t,s))}}else if(t=t[2]==="-"?t.slice(3):ve(w,a)?a.slice(2):a[2]+t.slice(3),n||s){const r=t.endsWith(Ce);t=t.replace(mt,""),n&&E.rel(e,t,n,r),s&&E.ael(e,t,s,r)}}},pt=/\s/,Pe=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(pt):[]),Ce="Capture",mt=new RegExp(Ce+"$"),ae=(e,t,n)=>{const s=t.S.nodeType===11&&t.S.host?t.S.host:t.S,o=e&&e.v||{},l=t.v||{};for(const i of xe(Object.keys(o)))i in l||$e(s,i,o[i],void 0,n,t.i);for(const i of xe(Object.keys(l)))$e(s,i,o[i],l[i],n,t.i)};function xe(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var F=!1,U=!1,z=!1,A=!1,ce=[],de=[],K=(e,t,n)=>{var s;const o=t.m[n];let l,i,a,r=0;if(F||(z=!0,o.O==="slot"&&(o.i|=o.m?2:1)),o.h!=null)l=o.S=w.document.createTextNode(o.h);else if(1&o.i)l=o.S=w.document.createTextNode(""),ae(null,o,A);else{if(A||(A=o.O==="svg"),!w.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(l=o.S=w.document.createElementNS(A?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!F&&2&o.i?"slot-fb":o.O),A&&o.O==="foreignObject"&&(A=!1),ae(null,o,A),o.m){const d=o.O==="template"?l.content:l;for(r=0;r<o.m.length;++r)i=K(e,o,r),i&&d.appendChild(i)}o.O==="svg"?A=!1:l.tagName==="foreignObject"&&(A=!0)}return l["s-hn"]=M,3&o.i&&(l["s-sr"]=!0,l["s-cr"]=re,l["s-sn"]=o.j||"",l["s-rf"]=(s=o.v)==null?void 0:s.ref,(function(d){if(d.assignedElements||d.assignedNodes||!d["s-sr"])return;const u=c=>(function(f){const p=[],h=this["s-sn"];f?.flatten&&console.error(`
2
2
  Flattening is not supported for Stencil non-shadow slots.
3
3
  You can use \`.childNodes\` to nested slot fallback content.
4
4
  If you have a particular use case, please open an issue on the Stencil repo.
5
- `);const S=this["s-cr"].parentElement;return(S.__childNodes?S.childNodes:(b=>{const v=[];for(let g=0;g<b.length;g++){const m=b[g]["s-nr"]||void 0;m&&m.isConnected&&v.push(m)}return v})(S.childNodes)).forEach((b=>{h===B(b)&&p.push(b)})),c?p.filter((b=>b.nodeType===1)):p}).bind(u);u.assignedElements=d(!0),u.assignedNodes=d(!1)})(r),a=e&&e.m&&e.m[n],a&&a.O===o.O&&e.S&&je(e.S)),r},je=e=>{E.i|=1;const t=e.closest(M.toLowerCase());if(t!=null){const n=Array.from(t.__childNodes||t.childNodes).find((o=>o["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const o of n?s.reverse():s)o["s-sh"]!=null&&(P(t,o,n??null),o["s-sh"]=void 0,z=!0)}E.i&=-2},Y=(e,t)=>{E.i|=1;const n=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let s=e;for(;s=s.nextSibling;)s&&s["s-sn"]===e["s-sn"]&&s["s-sh"]===M&&n.push(s)}for(let s=n.length-1;s>=0;s--){const o=n[s];o["s-hn"]!==M&&o["s-ol"]&&(P(G(o).parentNode,o,G(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,z=!0),t&&Y(o,t)}E.i&=-2},Te=(e,t,n,s,o,r)=>{let i,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===M&&(a=a.shadowRoot),n.O==="template"&&(a=a.content);o<=r;++o)s[o]&&(i=K(null,n,o),i&&(s[o].S=i,P(a,i,G(t))))},Le=(e,t,n)=>{for(let s=t;s<=n;++s){const o=e[s];if(o){const r=o.S;Me(o),r&&(U=!0,r["s-ol"]?r["s-ol"].remove():Y(r,!0),r.remove())}}},J=(e,t,n=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:n?(n&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),G=e=>e&&e["s-ol"]||e,V=(e,t,n=!1)=>{const s=t.S=e.S,o=e.m,r=t.m,i=t.O,a=t.h;let l;a==null?(A=i==="svg"||i!=="foreignObject"&&A,i!=="slot"||F||e.j!==t.j&&(t.S["s-sn"]=t.j||"",je(t.S.parentElement)),ae(e,t,A),o!==null&&r!==null?((u,d,c,f,p=!1)=>{let h,S,b=0,v=0,g=0,m=0,N=d.length-1,y=d[0],_=d[N],O=f.length-1,$=f[0],C=f[O];const tt=c.O==="template"?u.content:u;for(;b<=N&&v<=O;)if(y==null)y=d[++b];else if(_==null)_=d[--N];else if($==null)$=f[++v];else if(C==null)C=f[--O];else if(J(y,$,p))V(y,$,p),y=d[++b],$=f[++v];else if(J(_,C,p))V(_,C,p),_=d[--N],C=f[--O];else if(J(y,C,p))y.O!=="slot"&&C.O!=="slot"||Y(y.S.parentNode,!1),V(y,C,p),P(tt,y.S,_.S.nextSibling),y=d[++b],C=f[--O];else if(J(_,$,p))y.O!=="slot"&&C.O!=="slot"||Y(_.S.parentNode,!1),V(_,$,p),P(tt,_.S,y.S),_=d[--N],$=f[++v];else{for(g=-1,m=b;m<=N;++m)if(d[m]&&d[m].$!==null&&d[m].$===$.$){g=m;break}g>=0?(S=d[g],S.O!==$.O?h=K(d&&d[v],c,g):(V(S,$,p),d[g]=void 0,h=S.S),$=f[++v]):(h=K(d&&d[v],c,v),$=f[++v]),h&&P(G(y.S).parentNode,h,G(y.S))}b>N?Te(u,f[O+1]==null?null:f[O+1].S,c,f,v,O):v>O&&Le(d,b,N)})(s,o,t,r,n):r!==null?(e.h!==null&&(s.textContent=""),Te(s,null,t,r,0,r.length-1)):!n&&o!==null&&Le(o,0,o.length-1),A&&i==="svg"&&(A=!1)):(l=s["s-cr"])?l.parentNode.textContent=a:e.h!==a&&(s.data=a)},j=[],Ie=e=>{let t,n,s;const o=e.__childNodes||e.childNodes;for(const r of o){if(r["s-sr"]&&(t=r["s-cr"])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;const i=r["s-sn"];for(s=n.length-1;s>=0;s--)if(t=n[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===r["s-hn"]||t["s-sh"]&&t["s-sh"]===r["s-hn"]))if(Ne(t,i)){let a=j.find((l=>l.k===t));U=!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"],j.push({N:r,k:t})),t["s-sr"]&&j.map((l=>{Ne(l.k,t["s-sn"])&&(a=j.find((u=>u.k===t)),a&&!l.N&&(l.N=a.N))}))}else j.some((a=>a.k===t))||j.push({k:t})}r.nodeType===1&&Ie(r)}},Me=e=>{e.v&&e.v.ref&&ce.push((()=>e.v.ref(null))),e.m&&e.m.map(Me)},gt=(e,t)=>{ue.push((()=>e(t)))},P=(e,t,n,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,n);const{slotNode:o}=(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"]=B(r)||"";return{slotNode:oe(re(i,"childNodes"),i.tagName,l)[0],slotName:l}})(t);return o&&!s&&o.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,n):e?.insertBefore(t,n)},vt=(e,t,n=!1)=>{var s,o,r,i,a;const l=e.$hostElement$,u=e.o,d=e.M||q(null,null);var c;const f=(c=t)&&c.O===ut?t:k(null,null,t);if(M=l.tagName,u.C&&(f.v=f.v||{},u.C.forEach((([p,h])=>{f.v[h]=l[p]}))),n&&f.v)for(const p of Object.keys(f.v))l.hasAttribute(p)&&!["key","ref","style","class"].includes(p)&&(f.v[p]=l[p]);if(f.O=null,f.i|=4,e.M=f,f.S=d.S=l.shadowRoot||l,F=!(!(1&u.i)||128&u.i),le=l["s-cr"],U=!1,V(d,f,n),E.i|=1,z){Ie(f.S);for(const p of j){const h=p.k;if(!h["s-ol"]&&w.document){const S=w.document.createTextNode("");S["s-nr"]=h,P(h.parentNode,h["s-ol"]=S,h,n)}}for(const p of j){const h=p.k,S=p.N;if(h.nodeType===1&&n&&(h["s-ih"]=(s=h.hidden)!=null&&s),S){const b=S.parentNode;let v=S.nextSibling;if(v&&v.nodeType===1){let g=(o=h["s-ol"])==null?void 0:o.previousSibling;for(;g;){let m=(r=g["s-nr"])!=null?r:null;if(m&&m["s-sn"]===h["s-sn"]&&b===(m.__parentNode||m.parentNode)){for(m=m.nextSibling;m===h||m?.["s-sr"];)m=m?.nextSibling;if(!m||!m["s-nr"]){v=m;break}}g=g.previousSibling}}if((!v&&b!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==v)&&h!==v){if(P(b,h,v,n),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,P(h.parentNode,g,h,n),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(U&&_e(f.S),E.i&=-2,j.length=0,!F&&!(1&u.i)&&l["s-cr"]){const p=f.S.__childNodes||f.S.childNodes;for(const h of p)if(h["s-hn"]!==M&&!h["s-sh"]){if(n&&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"],P(h.parentNode,S,h,n),h.parentNode.removeChild(h)}}}le=void 0,ce.forEach((p=>p())),ce.length=0,ue.forEach((p=>p())),ue.length=0},Re=(e,t)=>{if(t&&!e.A&&t["s-p"]){const n=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(n-1,1),s()})))}},de=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Re(e,e.R);const n=()=>yt(e,t);if(!t)return it(n);queueMicrotask((()=>{n()}))},yt=(e,t)=>{const n=e.$hostElement$,s=n;if(!s)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let o;return o=H(s,t?"componentWillLoad":"componentWillUpdate",void 0,n),o=Ve(o,(()=>H(s,"componentWillRender",void 0,n))),Ve(o,(()=>St(e,s,t)))},Ve=(e,t)=>bt(e)?e.then(t).catch((n=>{console.error(n),t()})):t(),bt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",St=async(e,t,n)=>{var s;const o=e.$hostElement$,r=o["s-rc"];n&&(i=>{const a=i.o,l=i.$hostElement$,u=a.i,d=((c,f)=>{var p,h,S;const b=ke(f),v=W.get(b);if(!w.document)return b;if(c=c.nodeType===11?c:w.document,v)if(typeof v=="string"){let g,m=T.get(c=c.head||c);if(m||T.set(c,m=new Set),!m.has(b)){g=w.document.createElement("style"),g.textContent=v;const N=(p=E._)!=null?p:(function(){var y,_,O;return(O=(_=(y=w.document.head)==null?void 0:y.querySelector('meta[name="csp-nonce"]'))==null?void 0:_.getAttribute("content"))!=null?O:void 0})();if(N!=null&&g.setAttribute("nonce",N),!(1&f.i))if(c.nodeName==="HEAD"){const y=c.querySelectorAll("link[rel=preconnect]"),_=y.length>0?y[y.length-1].nextSibling:c.querySelector("style");c.insertBefore(g,_?.parentNode===c?_:null)}else if("host"in c)if(Q){const y=new((h=c.defaultView)!=null?h:c.ownerDocument.defaultView).CSSStyleSheet;y.replaceSync(v),ee?c.adoptedStyleSheets.unshift(y):c.adoptedStyleSheets=[y,...c.adoptedStyleSheets]}else{const y=c.querySelector("style");y?y.textContent=v+y.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}"),m&&m.add(b)}}else{let g=T.get(c);if(g||T.set(c,g=new Set),!g.has(b)){const m=(S=c.defaultView)!=null?S:c.ownerDocument.defaultView;let N;if(v.constructor===m.CSSStyleSheet)N=v;else{N=new m.CSSStyleSheet;for(let y=0;y<v.cssRules.length;y++)N.insertRule(v.cssRules[y].cssText,y)}ee?c.adoptedStyleSheets.push(N):c.adoptedStyleSheets=[...c.adoptedStyleSheets,N],g.add(b)}}return b})(l.shadowRoot?l.shadowRoot:l.getRootNode(),a);10&u&&(l["s-sc"]=d,l.classList.add(d+"-h"))})(e),wt(e,t,o,n),r&&(r.map((i=>i())),o["s-rc"]=void 0);{const i=(s=o["s-p"])!=null?s:[],a=()=>_t(e);i.length===0?a():(Promise.all(i).then(a).catch(a),e.i|=4,i.length=0)}},wt=(e,t,n,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,vt(e,t,s)}catch(o){I(o,e.$hostElement$)}return null},_t=e=>{const t=e.$hostElement$,n=t,s=e.R;H(n,"componentDidRender",void 0,t),64&e.i?H(n,"componentDidUpdate",void 0,t):(e.i|=64,kt(t),H(n,"componentDidLoad",void 0,t),e.L(t),s||Nt()),e.A&&(e.A(),e.A=void 0),512&e.i&&ne((()=>de(e,!1))),e.i&=-517},Nt=()=>{ne((()=>ht(w,"appload",{detail:{namespace:"gids-core-web"}})))},H=(e,t,n,s)=>{if(e&&e[t])try{return e[t](n)}catch(o){I(o,s)}},kt=e=>e.classList.add("hydrated"),De=(e,t,n,s)=>{const o=x(e);if(!o)return;const r=e,i=o.l.get(t),a=o.i,l=r;n=Oe(n,s.t[t][0],!!(64&s.i));const u=Number.isNaN(i)&&Number.isNaN(n);if(n!==i&&!u){if(o.l.set(t,n),s.F){const d=s.F[t];d&&d.map((c=>{try{const[[f,p]]=Object.entries(c);(128&a||1&p)&&(l?l[f](n,i,t):o.T.push((()=>{o.D[f](n,i,t)})))}catch(f){I(f,r)}}))}if(2&a){if(l.componentShouldUpdate&&l.componentShouldUpdate(n,i,t)===!1&&!(16&a))return;16&a||de(o,!1)}}},Et=(e,t,n)=>{var s,o;const r=e.prototype;64&t.i&&1&n&&nt.forEach((i=>{const a=r[i];Object.defineProperty(r,i,{value(...l){var u;const d=x(this),c=this;c?typeof a=="function"&&a.call(c,...l):(u=d?.H)==null||u.then((f=>{const p=f[i];typeof p=="function"&&p.call(f,...l)}))}})}));{e.watchers&&!t.F&&(t.F=Ae(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:u,set:d}=R(r,a)||{};u&&(t.t[a][0]|=2048),d&&(t.t[a][0]|=4096),Object.defineProperty(r,a,{get(){return u?u.apply(this):(c=a,x(this).l.get(c));var c},configurable:!0,enumerable:!0}),Object.defineProperty(r,a,{set(c){const f=x(this);if(f){if(d)return(32&l?this[a]:f.$hostElement$[a])===void 0&&f.l.get(a)&&(c=f.l.get(a)),d.apply(this,[Oe(c,l,!!(64&t.i))]),void De(this,a,c=32&l?this[a]:f.$hostElement$[a],t);De(this,a,c,t)}}})}}));{const a=new Map;r.attributeChangedCallback=function(l,u,d){E.jmp((()=>{var c;const f=a.get(l),p=x(this);if(this.hasOwnProperty(f),r.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==d)return;if(f==null){const g=p?.i;if(p&&g&&!(8&g)&&d!==u){const m=this,N=(c=t.F)==null?void 0:c[l];N?.forEach((y=>{const[[_,O]]=Object.entries(y);m[_]!=null&&(128&g||1&O)&&m[_].call(m,d,u,l)}))}return}const h=i.find((([g])=>g===f)),S=h&&4&h[1][0],b=S&&d===null&&this[f]===void 0;S&&(d=d!==null&&d!=="false");const v=Object.getOwnPropertyDescriptor(r,f);b||d==this[f]||v.get&&!v.set||(this[f]=d)}))},e.observedAttributes=Array.from(new Set([...Object.keys((o=t.F)!=null?o:{}),...i.filter((([l,u])=>31&u[0])).map((([l,u])=>{var d;const c=u[1]||l;return a.set(c,l),512&u[0]&&((d=t.C)==null||d.push([l,c])),c}))]))}}return e},At=(e,t)=>{const n={i:t[0],p:t[1]};try{n.t=t[2],n.W=t[3],n.F=Ae(e.F),n.P=e.P,n.U=e.U,n.C=[];const s=e.prototype.connectedCallback,o=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((u=>a.L=u)),r["s-p"]=[],r["s-rc"]=[];const l=a;r.__stencil__getHostRef=()=>l,512&i.i&&st(r,a)})(this,n)},connectedCallback(){if(!this.__hasHostListenerAttached){const r=x(this);if(!r)return;Be(this,r,n.W),this.__hasHostListenerAttached=!0}(r=>{if(!(1&E.i)){const i=x(r);if(!i)return;const a=i.o;if(1&i.i)Be(r,i,a.W),i?.D||i?.H&&i.H.then((()=>{}));else{i.i|=1,12&a.i&&(l=>{if(!w.document)return;const u=l["s-cr"]=w.document.createComment("");u["s-cn"]=!0,P(l,u,l.firstChild)})(r);{let l=r;for(;l=l.parentNode||l.host;)if(l["s-p"]){Re(i,i.R=l);break}}a.t&&Object.entries(a.t).map((([l,[u]])=>{if(31&u&&Object.prototype.hasOwnProperty.call(r,l)){const d=r[l];delete r[l],r[l]=d}})),(async(l,u,d)=>{let c;try{if(!(32&u.i)&&(u.i|=32,c=l.constructor,customElements.whenDefined(l.localName).then((()=>u.i|=128)),c&&c.style)){let h;typeof c.style=="string"&&(h=c.style);const S=ke(d);W.has(S)||((b,v,g)=>{let m=W.get(b);Q&&g?(m=m||new CSSStyleSheet,typeof m=="string"?m=v:m.replaceSync(v)):m=v,W.set(b,m)})(S,h,!!(1&d.i))}const f=u.R,p=()=>de(u,!0);f&&f["s-rc"]?f["s-rc"].push(p):p()}catch(f){I(f,l),u.A&&(u.A(),u.A=void 0),u.L&&u.L(l)}})(r,i,a)}}})(this),s&&s.call(this)},disconnectedCallback(){(async r=>{if(!(1&E.i)){const i=x(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),o&&o.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${n.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else at.call(this,n)}}),Object.defineProperty(e,"is",{value:n.p,configurable:!0}),Et(e,n,3)}catch(s){return I(s),e}},Ot=(e,t)=>t,Be=(e,t,n)=>{n&&w.document&&n.map((([s,o,r])=>{const i=Pt(w.document,e,s),a=$t(t,r),l=Ct(s);E.ael(i,o,a,l),(t.V=t.V||[]).push((()=>E.rel(i,o,a,l)))}))},$t=(e,t)=>n=>{try{e.$hostElement$[t](n)}catch(s){I(s,e.$hostElement$)}},Pt=(e,t,n)=>8&n?w:t,Ct=e=>rt?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function Qt(e){return e}function Fe(e){var t,n,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Fe(e[t]))&&(s&&(s+=" "),s+=n)}else for(n in e)e[n]&&(s&&(s+=" "),s+=n);return s}function Ge(){for(var e,t,n=0,s="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Fe(e))&&(s&&(s+=" "),s+=t);return s}const X=64,He=10,We=X/2-He/2,xt=X/2,fe=2*Math.PI*We,jt=`0 0 ${X} ${X}`,Tt=Object.freeze(Object.defineProperty({__proto__:null,calculateStrokeDasharray:(e=0,t)=>{const n=typeof t=="number"&&t>0?t:1,o=Math.max(0,Math.min(n,e))/n*100,r=(fe*o/100).toFixed(2),i=(fe-parseFloat(r)).toFixed(2);return`${r} ${i}`},centerPosition:xt,circumference:fe,radius:We,thickness:He,viewBox:jt},Symbol.toStringTag,{value:"Module"})),Lt=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>Ge("gids-icon",{"gids-icon--xs":e==="xs","gids-icon--sm":e==="sm","gids-icon--md":e==="md","gids-icon--lg":e==="lg"},t)},Symbol.toStringTag,{value:"Module"})),It=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerControlClassNames:({size:e,indeterminate:t,value:n},s)=>Ge("gids-spinner-control",{"gids-spinner-control--xs":e==="xs","gids-spinner-control--sm":e==="sm","gids-spinner-control--lg":e==="lg","gids-spinner-control--xl":e==="xl","gids-spinner-control--2xl":e==="2xl","gids-spinner-control--determinate":t===!1},n,s)},Symbol.toStringTag,{value:"Module"})),he=Symbol("defaultPath"),qe=Symbol("pathSet"),pe="gids-asset-paths-set";class Mt extends EventTarget{#t=new Map;constructor(){super()}#e(t,n){this.#t.set(t,n)}#s(t){return this.#t.get(t)??null}#n=()=>{this.dispatchEvent(new Event(pe))};haveAssetPathsBeenSet(){return this.#s(qe)!==null}setAssetPaths(t,n){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(he,t);else{for(const s in t)this.#e(s,t[s]);n&&this.#e(he,n)}this.#e(qe,"true"),setTimeout(this.#n,0)}}getAssetFilePath(t){const n=this.#s(t);if(n===null){const s=this.#s(he);if(s!==null)return`${s}${s.endsWith("/")?"":"/"}${t}`}return n}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(pe,t,{once:!0}),()=>{this.removeEventListener(pe,t)}}}const me=Symbol.for("GIDS"),Rt=()=>(globalThis[me]===void 0&&(globalThis[me]={assetPaths:{}}),globalThis[me]),Vt=e=>{const t=Rt().assetPaths;return t[e]===void 0&&(t[e]=new Mt),t[e]};function ge(){return Vt("@ganpatiinfo/gids-web-shared")}function Dt(){return ge().haveAssetPathsBeenSet()}function Ue(e){return ge().getAssetFilePath(e)}function Bt(e){return ge().onAssetPathsSet(e)}let Ft=0;const Gt=(e,t="gids")=>e||`${t}-${Ft++}`,Ht=e=>e.type==="hidden",Wt=e=>{if(!(e instanceof HTMLElement))return!1;const{nodeName:t}=e;return!!(["BUTTON","DETAILS","EMBED","IFRAME","KEYGEN","LABEL","SELECT","TEXTAREA"].includes(t)||t==="A"&&e.hasAttribute("href")||e instanceof HTMLInputElement&&!Ht(e)||["AUDIO","VIDEO"].includes(t)&&e.hasAttribute("controls")||["IMG","OBJECT"].includes(t)&&e.hasAttribute("usemap")||e.hasAttribute("tabindex")&&e.tabIndex>-1)},ze={"icons-other.svg":["accessibility","add","remove","announcement","approval","archive","audio","backward","banking","battery","bluetooth","bookmark","bulb","calendar","camera","card","cart","chart","chat","cloud","code","compass","desktop","email","emergency","exchange","finance","fingerprint","flag","folder","forward","gift","globe","goals","happy","hashtag","headphones","history","image","insurance","investment","in-progress","key","link","list","location","lock","map","maximise","microphone","minimise","mobile","moon","network","neutral","ai","new","draft","pending","new-chat","pause","percent","placeholder","play","power","rain","refresh","repeat","sad","save","savings","shield","shuffle","side-navigation","snow","speaker","stop","sun","tablet","temperature","thumbs-down","thumbs-up","travel","trend-down","trend-up","unlock","upset","verified","very-happy","video","volume-down","volume-max","volume-min","volume-mute","volume-up","wallet","wealth","wi-fi","wind"],"icons-core.svg":["arrow-down","arrow-left","arrow-right","arrow-up","attachment","checkmark","chevron-down","chevron-horizontal","chevron-left","chevron-right","chevron-up","chevron-vertical","copy","cross","danger","dashboard","delete","document","download","drag","edit","external","eye","filter","grid","hide","home","information","log-in","log-out","menu","minus","more","notifications","options","phone","plus","positive","printer","question","search","select","select-all","send","settings","share","star","time","upload","user","users","warning"]},Ke=new Map;for(const e in ze)for(const t of ze[e])Ke.set(t,e);function qt(e){return Ke.get(e)}function Ye(e,t="regular",n){const s=qt(e);let o=s??"";return n&&s&&(o=n(s)??s),`${o}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:Ut}=Lt,Je=({name:e,size:t,appearance:n,alt:s,class:o,titleId:r,src:i,...a})=>{const l=Gt(r);let u=i;return u===void 0&&Dt()&&(u=Ye(e,n,Ue)),k("svg",{ref:d=>{u===void 0&&Bt((()=>{(function(c,f,p){if(!c)return;const h=document.createElementNS("http://www.w3.org/2000/svg","use");h.setAttribute("href",Ye(f,p,Ue)),c.appendChild(h)})(d,e,n)}))},width:"16",height:"16",class:Ut({size:t},o),role:"img","aria-hidden":s===""?"true":void 0,"aria-labelledby":s===""?void 0:l,...a},s!==""&&k("title",{id:l},s||e),u!==void 0?k("use",{href:u}):null)},{getGidsSpinnerControlClassNames:zt}=It,{calculateStrokeDasharray:Kt,thickness:Xe,radius:Ze,centerPosition:Z,viewBox:Yt}=Tt,Jt=({size:e,indeterminate:t,value:n,max:s,...o})=>{let r;return t||(r={strokeDashArray:Kt(n,s||0),strokeDashoffset:"0"}),k("svg",{class:zt({size:e,indeterminate:t,value:n}),viewBox:Yt,...o},k("circle",{class:"gids-spinner-control__track",cx:Z,cy:Z,r:Ze,"stroke-width":Xe}),k("circle",{style:r,class:"gids-spinner-control__progress",cx:Z,cy:Z,r:Ze,"stroke-width":Xe}))},Qe=At(class extends ot{constructor(e){super(),e!==!1&&this.__registerHost(),this.#e={},this._focusInput=t=>{const n=t.target;n===this.#t||this._isWithinInteractiveElement(n)||this.#t?.focus()},this._handleInputFocusAndBlur=t=>{this._el.dispatchEvent(new FocusEvent(t.type,{relatedTarget:t.relatedTarget}))}}get defaultValue(){return this.#t?.defaultValue??this.#e.defaultValue??""}set defaultValue(e){this.#t?this.#t.defaultValue=e:this.#e.defaultValue=e}get value(){return this.#t?.value??this.#e.value??this.#e.defaultValue??""}set value(e){this.#t?this.#t.value=e:this.#e.value=e}#t;#e;_isWithinInteractiveElement(e){if(e===null||e===this._el||!this._el.contains(e))return!1;if(Wt(e))return!0;{const t=e.parentElement;if(t)return this._isWithinInteractiveElement(t)}return!1}connectedCallback(){this._el.addEventListener("click",this._focusInput)}disconnectedCallback(){this._el.removeEventListener("click",this._focusInput)}render(){return k(Ot,{key:"3e5c67807cc1acb5e6c2500670f1d0fea9381d88"},k("slot",{key:"47f73fead08570ba0b52f30ca966e1a987fa7ab1",name:"leadingIcon"}),this.leadingLabel&&k("span",{key:"ce9d892b1f69e26a99ba2a4bf3ee7ca7b34a91db",class:"gids-input__label"},this.leadingLabel),k("slot",{key:"fb55dde9ab4544932144763d8478ea2a9b52c4e9",name:"leadingAccessory"}),k("input",{key:"c5eb30883b552ccf8c92a8050f41dc997480b2f6",...this.inputProps,ref:e=>{this.#t=e,this.#e.value!==void 0&&(this.#t.value=this.#e.value,delete this.#e.value),this.#e.defaultValue!==void 0&&(this.#t.defaultValue=this.#e.defaultValue,delete this.#e.defaultValue)},class:"gids-input__control",name:this.name,disabled:this.disabled,readOnly:this.readOnly,required:this.required,onFocus:this._handleInputFocusAndBlur,onBlur:this._handleInputFocusAndBlur}),k("slot",{key:"9a6c373345f0fa962f4799eeb0df8c832868fbda",name:"trailingAccessory"}),this.trailingLabel&&k("span",{key:"92eb392fefe5ce474d2b9e161c4037180fbcc647",class:"gids-input__label"},this.trailingLabel),k("slot",{key:"e0869ac0156f877de99cb540e45b6229c95427ae",name:"trailingIcon"}),this.status==="incomplete"&&k(Je,{key:"4f18050a0dda1d5a5beba5f5953072cfd0ff1688",name:"warning",appearance:"filled",class:"gids-input__warning-icon"}),this.status==="complete"&&k(Je,{key:"51ddf5dc0ecee91201245f2f7ed837e02f100aeb",name:"positive",appearance:"filled",class:"gids-input__positive-icon"}),this.loading&&k(Jt,{key:"641dcdf6432777c6f945a548ab36c682f35974a1",size:"md",indeterminate:!0}))}get _el(){return this}},[260,"gids-input",{appearance:[513],defaultValue:[6657,"default-value"],disabled:[516],inputProps:[16],leadingLabel:[513,"leading-label"],trailingLabel:[513,"trailing-label"],loading:[516],name:[513],readOnly:[516,"readonly"],required:[516],status:[513],value:[6145]}]);function et(){typeof customElements<"u"&&["gids-input"].forEach((e=>{e==="gids-input"&&(customElements.get(e)||customElements.define(e,Qe))}))}et();const Xt=Qe,Zt=et;L.GidsInput=Xt,L.defineCustomElement=Zt,Object.defineProperty(L,Symbol.toStringTag,{value:"Module"})}));
5
+ `);const S=this["s-cr"].parentElement;return(S.__childNodes?S.childNodes:(b=>{const v=[];for(let g=0;g<b.length;g++){const m=b[g]["s-nr"]||void 0;m&&m.isConnected&&v.push(m)}return v})(S.childNodes)).forEach((b=>{h===B(b)&&p.push(b)})),c?p.filter((b=>b.nodeType===1)):p}).bind(d);d.assignedElements=u(!0),d.assignedNodes=u(!1)})(l),a=e&&e.m&&e.m[n],a&&a.O===o.O&&e.S&&je(e.S)),l},je=e=>{E.i|=1;const t=e.closest(M.toLowerCase());if(t!=null){const n=Array.from(t.__childNodes||t.childNodes).find((o=>o["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const o of n?s.reverse():s)o["s-sh"]!=null&&(P(t,o,n??null),o["s-sh"]=void 0,z=!0)}E.i&=-2},Y=(e,t)=>{E.i|=1;const n=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let s=e;for(;s=s.nextSibling;)s&&s["s-sn"]===e["s-sn"]&&s["s-sh"]===M&&n.push(s)}for(let s=n.length-1;s>=0;s--){const o=n[s];o["s-hn"]!==M&&o["s-ol"]&&(P(G(o).parentNode,o,G(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,z=!0),t&&Y(o,t)}E.i&=-2},Te=(e,t,n,s,o,l)=>{let i,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===M&&(a=a.shadowRoot),n.O==="template"&&(a=a.content);o<=l;++o)s[o]&&(i=K(null,n,o),i&&(s[o].S=i,P(a,i,G(t))))},Le=(e,t,n)=>{for(let s=t;s<=n;++s){const o=e[s];if(o){const l=o.S;Me(o),l&&(U=!0,l["s-ol"]?l["s-ol"].remove():Y(l,!0),l.remove())}}},J=(e,t,n=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:n?(n&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),G=e=>e&&e["s-ol"]||e,V=(e,t,n=!1)=>{const s=t.S=e.S,o=e.m,l=t.m,i=t.O,a=t.h;let r;a==null?(A=i==="svg"||i!=="foreignObject"&&A,i!=="slot"||F||e.j!==t.j&&(t.S["s-sn"]=t.j||"",je(t.S.parentElement)),ae(e,t,A),o!==null&&l!==null?((d,u,c,f,p=!1)=>{let h,S,b=0,v=0,g=0,m=0,N=u.length-1,y=u[0],_=u[N],O=f.length-1,$=f[0],C=f[O];const tt=c.O==="template"?d.content:d;for(;b<=N&&v<=O;)if(y==null)y=u[++b];else if(_==null)_=u[--N];else if($==null)$=f[++v];else if(C==null)C=f[--O];else if(J(y,$,p))V(y,$,p),y=u[++b],$=f[++v];else if(J(_,C,p))V(_,C,p),_=u[--N],C=f[--O];else if(J(y,C,p))y.O!=="slot"&&C.O!=="slot"||Y(y.S.parentNode,!1),V(y,C,p),P(tt,y.S,_.S.nextSibling),y=u[++b],C=f[--O];else if(J(_,$,p))y.O!=="slot"&&C.O!=="slot"||Y(_.S.parentNode,!1),V(_,$,p),P(tt,_.S,y.S),_=u[--N],$=f[++v];else{for(g=-1,m=b;m<=N;++m)if(u[m]&&u[m].$!==null&&u[m].$===$.$){g=m;break}g>=0?(S=u[g],S.O!==$.O?h=K(u&&u[v],c,g):(V(S,$,p),u[g]=void 0,h=S.S),$=f[++v]):(h=K(u&&u[v],c,v),$=f[++v]),h&&P(G(y.S).parentNode,h,G(y.S))}b>N?Te(d,f[O+1]==null?null:f[O+1].S,c,f,v,O):v>O&&Le(u,b,N)})(s,o,t,l,n):l!==null?(e.h!==null&&(s.textContent=""),Te(s,null,t,l,0,l.length-1)):!n&&o!==null&&Le(o,0,o.length-1),A&&i==="svg"&&(A=!1)):(r=s["s-cr"])?r.parentNode.textContent=a:e.h!==a&&(s.data=a)},j=[],Ie=e=>{let t,n,s;const o=e.__childNodes||e.childNodes;for(const l of o){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;const i=l["s-sn"];for(s=n.length-1;s>=0;s--)if(t=n[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===l["s-hn"]||t["s-sh"]&&t["s-sh"]===l["s-hn"]))if(Ne(t,i)){let a=j.find((r=>r.k===t));U=!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"],j.push({N:l,k:t})),t["s-sr"]&&j.map((r=>{Ne(r.k,t["s-sn"])&&(a=j.find((d=>d.k===t)),a&&!r.N&&(r.N=a.N))}))}else j.some((a=>a.k===t))||j.push({k:t})}l.nodeType===1&&Ie(l)}},Me=e=>{e.v&&e.v.ref&&ce.push((()=>e.v.ref(null))),e.m&&e.m.map(Me)},gt=(e,t)=>{de.push((()=>e(t)))},P=(e,t,n,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,n);const{slotNode:o}=(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"]=B(l)||"";return{slotNode:oe(le(i,"childNodes"),i.tagName,r)[0],slotName:r}})(t);return o&&!s&&o.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,n):e?.insertBefore(t,n)},vt=(e,t,n=!1)=>{var s,o,l,i,a;const r=e.$hostElement$,d=e.o,u=e.M||q(null,null);var c;const f=(c=t)&&c.O===dt?t:k(null,null,t);if(M=r.tagName,d.C&&(f.v=f.v||{},d.C.forEach((([p,h])=>{f.v[h]=r[p]}))),n&&f.v)for(const p of Object.keys(f.v))r.hasAttribute(p)&&!["key","ref","style","class"].includes(p)&&(f.v[p]=r[p]);if(f.O=null,f.i|=4,e.M=f,f.S=u.S=r.shadowRoot||r,F=!(!(1&d.i)||128&d.i),re=r["s-cr"],U=!1,V(u,f,n),E.i|=1,z){Ie(f.S);for(const p of j){const h=p.k;if(!h["s-ol"]&&w.document){const S=w.document.createTextNode("");S["s-nr"]=h,P(h.parentNode,h["s-ol"]=S,h,n)}}for(const p of j){const h=p.k,S=p.N;if(h.nodeType===1&&n&&(h["s-ih"]=(s=h.hidden)!=null&&s),S){const b=S.parentNode;let v=S.nextSibling;if(v&&v.nodeType===1){let g=(o=h["s-ol"])==null?void 0:o.previousSibling;for(;g;){let m=(l=g["s-nr"])!=null?l:null;if(m&&m["s-sn"]===h["s-sn"]&&b===(m.__parentNode||m.parentNode)){for(m=m.nextSibling;m===h||m?.["s-sr"];)m=m?.nextSibling;if(!m||!m["s-nr"]){v=m;break}}g=g.previousSibling}}if((!v&&b!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==v)&&h!==v){if(P(b,h,v,n),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,P(h.parentNode,g,h,n),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(U&&_e(f.S),E.i&=-2,j.length=0,!F&&!(1&d.i)&&r["s-cr"]){const p=f.S.__childNodes||f.S.childNodes;for(const h of p)if(h["s-hn"]!==M&&!h["s-sh"]){if(n&&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"],P(h.parentNode,S,h,n),h.parentNode.removeChild(h)}}}re=void 0,ce.forEach((p=>p())),ce.length=0,de.forEach((p=>p())),de.length=0},Re=(e,t)=>{if(t&&!e.A&&t["s-p"]){const n=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(n-1,1),s()})))}},ue=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Re(e,e.R);const n=()=>yt(e,t);if(!t)return it(n);queueMicrotask((()=>{n()}))},yt=(e,t)=>{const n=e.$hostElement$,s=n;if(!s)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let o;return o=H(s,t?"componentWillLoad":"componentWillUpdate",void 0,n),o=Ve(o,(()=>H(s,"componentWillRender",void 0,n))),Ve(o,(()=>St(e,s,t)))},Ve=(e,t)=>bt(e)?e.then(t).catch((n=>{console.error(n),t()})):t(),bt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",St=async(e,t,n)=>{var s;const o=e.$hostElement$,l=o["s-rc"];n&&(i=>{const a=i.o,r=i.$hostElement$,d=a.i,u=((c,f)=>{var p,h,S;const b=ke(f),v=W.get(b);if(!w.document)return b;if(c=c.nodeType===11?c:w.document,v)if(typeof v=="string"){let g,m=T.get(c=c.head||c);if(m||T.set(c,m=new Set),!m.has(b)){g=w.document.createElement("style"),g.textContent=v;const N=(p=E._)!=null?p:(function(){var y,_,O;return(O=(_=(y=w.document.head)==null?void 0:y.querySelector('meta[name="csp-nonce"]'))==null?void 0:_.getAttribute("content"))!=null?O:void 0})();if(N!=null&&g.setAttribute("nonce",N),!(1&f.i))if(c.nodeName==="HEAD"){const y=c.querySelectorAll("link[rel=preconnect]"),_=y.length>0?y[y.length-1].nextSibling:c.querySelector("style");c.insertBefore(g,_?.parentNode===c?_:null)}else if("host"in c)if(Q){const y=new((h=c.defaultView)!=null?h:c.ownerDocument.defaultView).CSSStyleSheet;y.replaceSync(v),ee?c.adoptedStyleSheets.unshift(y):c.adoptedStyleSheets=[y,...c.adoptedStyleSheets]}else{const y=c.querySelector("style");y?y.textContent=v+y.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}"),m&&m.add(b)}}else{let g=T.get(c);if(g||T.set(c,g=new Set),!g.has(b)){const m=(S=c.defaultView)!=null?S:c.ownerDocument.defaultView;let N;if(v.constructor===m.CSSStyleSheet)N=v;else{N=new m.CSSStyleSheet;for(let y=0;y<v.cssRules.length;y++)N.insertRule(v.cssRules[y].cssText,y)}ee?c.adoptedStyleSheets.push(N):c.adoptedStyleSheets=[...c.adoptedStyleSheets,N],g.add(b)}}return b})(r.shadowRoot?r.shadowRoot:r.getRootNode(),a);10&d&&(r["s-sc"]=u,r.classList.add(u+"-h"))})(e),wt(e,t,o,n),l&&(l.map((i=>i())),o["s-rc"]=void 0);{const i=(s=o["s-p"])!=null?s:[],a=()=>_t(e);i.length===0?a():(Promise.all(i).then(a).catch(a),e.i|=4,i.length=0)}},wt=(e,t,n,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,vt(e,t,s)}catch(o){I(o,e.$hostElement$)}return null},_t=e=>{const t=e.$hostElement$,n=t,s=e.R;H(n,"componentDidRender",void 0,t),64&e.i?H(n,"componentDidUpdate",void 0,t):(e.i|=64,kt(t),H(n,"componentDidLoad",void 0,t),e.L(t),s||Nt()),e.A&&(e.A(),e.A=void 0),512&e.i&&ne((()=>ue(e,!1))),e.i&=-517},Nt=()=>{ne((()=>ht(w,"appload",{detail:{namespace:"gids-core-web"}})))},H=(e,t,n,s)=>{if(e&&e[t])try{return e[t](n)}catch(o){I(o,s)}},kt=e=>e.classList.add("hydrated"),De=(e,t,n,s)=>{const o=x(e);if(!o)return;const l=e,i=o.l.get(t),a=o.i,r=l;n=Oe(n,s.t[t][0],!!(64&s.i));const d=Number.isNaN(i)&&Number.isNaN(n);if(n!==i&&!d){if(o.l.set(t,n),s.F){const u=s.F[t];u&&u.map((c=>{try{const[[f,p]]=Object.entries(c);(128&a||1&p)&&(r?r[f](n,i,t):o.T.push((()=>{o.D[f](n,i,t)})))}catch(f){I(f,l)}}))}if(2&a){if(r.componentShouldUpdate&&r.componentShouldUpdate(n,i,t)===!1&&!(16&a))return;16&a||ue(o,!1)}}},Et=(e,t,n)=>{var s,o;const l=e.prototype;64&t.i&&1&n&&nt.forEach((i=>{const a=l[i];Object.defineProperty(l,i,{value(...r){var d;const u=x(this),c=this;c?typeof a=="function"&&a.call(c,...r):(d=u?.H)==null||d.then((f=>{const p=f[i];typeof p=="function"&&p.call(f,...r)}))}})}));{e.watchers&&!t.F&&(t.F=Ae(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}=R(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,x(this).l.get(c));var c},configurable:!0,enumerable:!0}),Object.defineProperty(l,a,{set(c){const f=x(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,[Oe(c,r,!!(64&t.i))]),void De(this,a,c=32&r?this[a]:f.$hostElement$[a],t);De(this,a,c,t)}}})}}));{const a=new Map;l.attributeChangedCallback=function(r,d,u){E.jmp((()=>{var c;const f=a.get(r),p=x(this);if(this.hasOwnProperty(f),l.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==u)return;if(f==null){const g=p?.i;if(p&&g&&!(8&g)&&u!==d){const m=this,N=(c=t.F)==null?void 0:c[r];N?.forEach((y=>{const[[_,O]]=Object.entries(y);m[_]!=null&&(128&g||1&O)&&m[_].call(m,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 v=Object.getOwnPropertyDescriptor(l,f);b||u==this[f]||v.get&&!v.set||(this[f]=u)}))},e.observedAttributes=Array.from(new Set([...Object.keys((o=t.F)!=null?o:{}),...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 n={i:t[0],p:t[1]};try{n.t=t[2],n.W=t[3],n.F=Ae(e.F),n.P=e.P,n.U=e.U,n.C=[];const s=e.prototype.connectedCallback,o=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&&st(l,a)})(this,n)},connectedCallback(){if(!this.__hasHostListenerAttached){const l=x(this);if(!l)return;Be(this,l,n.W),this.__hasHostListenerAttached=!0}(l=>{if(!(1&E.i)){const i=x(l);if(!i)return;const a=i.o;if(1&i.i)Be(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,P(r,d,r.firstChild)})(l);{let r=l;for(;r=r.parentNode||r.host;)if(r["s-p"]){Re(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=ke(u);W.has(S)||((b,v,g)=>{let m=W.get(b);Q&&g?(m=m||new CSSStyleSheet,typeof m=="string"?m=v:m.replaceSync(v)):m=v,W.set(b,m)})(S,h,!!(1&u.i))}const f=d.R,p=()=>ue(d,!0);f&&f["s-rc"]?f["s-rc"].push(p):p()}catch(f){I(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&E.i)){const i=x(l);i?.V&&(i.V.map((a=>a())),i.V=void 0)}T.has(l)&&T.delete(l),l.shadowRoot&&T.has(l.shadowRoot)&&T.delete(l.shadowRoot)})(this),o&&o.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${n.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else at.call(this,n)}}),Object.defineProperty(e,"is",{value:n.p,configurable:!0}),Et(e,n,3)}catch(s){return I(s),e}},Ot=(e,t)=>t,Be=(e,t,n)=>{n&&w.document&&n.map((([s,o,l])=>{const i=Pt(w.document,e,s),a=$t(t,l),r=Ct(s);E.ael(i,o,a,r),(t.V=t.V||[]).push((()=>E.rel(i,o,a,r)))}))},$t=(e,t)=>n=>{try{e.$hostElement$[t](n)}catch(s){I(s,e.$hostElement$)}},Pt=(e,t,n)=>8&n?w:t,Ct=e=>lt?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function Qt(e){return e}function Fe(e){var t,n,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Fe(e[t]))&&(s&&(s+=" "),s+=n)}else for(n in e)e[n]&&(s&&(s+=" "),s+=n);return s}function Ge(){for(var e,t,n=0,s="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Fe(e))&&(s&&(s+=" "),s+=t);return s}const X=64,He=10,We=X/2-He/2,xt=X/2,fe=2*Math.PI*We,jt=`0 0 ${X} ${X}`,Tt=Object.freeze(Object.defineProperty({__proto__:null,calculateStrokeDasharray:(e=0,t)=>{const n=typeof t=="number"&&t>0?t:1,o=Math.max(0,Math.min(n,e))/n*100,l=(fe*o/100).toFixed(2),i=(fe-parseFloat(l)).toFixed(2);return`${l} ${i}`},centerPosition:xt,circumference:fe,radius:We,thickness:He,viewBox:jt},Symbol.toStringTag,{value:"Module"})),Lt=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>Ge("gids-icon",{"gids-icon--xs":e==="xs","gids-icon--sm":e==="sm","gids-icon--md":e==="md","gids-icon--lg":e==="lg"},t)},Symbol.toStringTag,{value:"Module"})),It=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerControlClassNames:({size:e,indeterminate:t,value:n},s)=>Ge("gids-spinner-control",{"gids-spinner-control--xs":e==="xs","gids-spinner-control--sm":e==="sm","gids-spinner-control--lg":e==="lg","gids-spinner-control--xl":e==="xl","gids-spinner-control--2xl":e==="2xl","gids-spinner-control--determinate":t===!1},n,s)},Symbol.toStringTag,{value:"Module"})),he=Symbol("defaultPath"),qe=Symbol("pathSet"),pe="gids-asset-paths-set";class Mt extends EventTarget{#t=new Map;constructor(){super()}#e(t,n){this.#t.set(t,n)}#s(t){return this.#t.get(t)??null}#n=()=>{this.dispatchEvent(new Event(pe))};haveAssetPathsBeenSet(){return this.#s(qe)!==null}setAssetPaths(t,n){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(he,t);else{for(const s in t)this.#e(s,t[s]);n&&this.#e(he,n)}this.#e(qe,"true"),setTimeout(this.#n,0)}}getAssetFilePath(t){const n=this.#s(t);if(n===null){const s=this.#s(he);if(s!==null)return`${s}${s.endsWith("/")?"":"/"}${t}`}return n}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(pe,t,{once:!0}),()=>{this.removeEventListener(pe,t)}}}const me=Symbol.for("GIDS"),Rt=()=>(globalThis[me]===void 0&&(globalThis[me]={assetPaths:{}}),globalThis[me]),Vt=e=>{const t=Rt().assetPaths;return t[e]===void 0&&(t[e]=new Mt),t[e]};function ge(){return Vt("@ganpatiinfo/gids-web-shared")}function Dt(){return ge().haveAssetPathsBeenSet()}function Ue(e){return ge().getAssetFilePath(e)}function Bt(e){return ge().onAssetPathsSet(e)}let Ft=0;const Gt=(e,t="gids")=>e||`${t}-${Ft++}`,Ht=e=>e.type==="hidden",Wt=e=>{if(!(e instanceof HTMLElement))return!1;const{nodeName:t}=e;return!!(["BUTTON","DETAILS","EMBED","IFRAME","KEYGEN","LABEL","SELECT","TEXTAREA"].includes(t)||t==="A"&&e.hasAttribute("href")||e instanceof HTMLInputElement&&!Ht(e)||["AUDIO","VIDEO"].includes(t)&&e.hasAttribute("controls")||["IMG","OBJECT"].includes(t)&&e.hasAttribute("usemap")||e.hasAttribute("tabindex")&&e.tabIndex>-1)},ze={"icons-other.svg":["accessibility","add","remove","announcement","approval","archive","audio","backward","banking","battery","bluetooth","bookmark","bulb","calendar","camera","card","cart","chart","chat","cloud","code","compass","desktop","email","emergency","exchange","finance","fingerprint","flag","folder","forward","gift","globe","goals","happy","hashtag","headphones","history","image","insurance","investment","in-progress","key","link","list","location","lock","map","maximise","microphone","minimise","mobile","moon","network","neutral","ai","new","draft","pending","new-chat","pause","percent","placeholder","play","power","rain","refresh","repeat","sad","save","savings","shield","shuffle","side-navigation","snow","speaker","stop","sun","tablet","temperature","thumbs-down","thumbs-up","travel","trend-down","trend-up","unlock","upset","verified","very-happy","video","volume-down","volume-max","volume-min","volume-mute","volume-up","wallet","wealth","wi-fi","wind"],"icons-core.svg":["arrow-down","arrow-left","arrow-right","arrow-up","attachment","checkmark","chevron-down","chevron-horizontal","chevron-left","chevron-right","chevron-up","chevron-vertical","copy","cross","danger","dashboard","delete","document","download","drag","edit","external","eye","filter","grid","hide","home","information","log-in","log-out","menu","minus","more","notifications","options","phone","plus","positive","printer","question","search","select","select-all","send","settings","share","star","time","upload","user","users","warning"]},Ke=new Map;for(const e in ze)for(const t of ze[e])Ke.set(t,e);function qt(e){return Ke.get(e)}function Ye(e,t="regular",n){const s=qt(e);let o=s??"";return n&&s&&(o=n(s)??s),`${o}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:Ut}=Lt,Je=({name:e,size:t,appearance:n,alt:s,class:o,titleId:l,src:i,...a})=>{const r=Gt(l);let d=i;return d===void 0&&Dt()&&(d=Ye(e,n,Ue)),k("svg",{ref:u=>{d===void 0&&Bt((()=>{(function(c,f,p){if(!c)return;const h=document.createElementNS("http://www.w3.org/2000/svg","use");h.setAttribute("href",Ye(f,p,Ue)),c.appendChild(h)})(u,e,n)}))},width:"16",height:"16",class:Ut({size:t},o),role:"img","aria-hidden":s===""?"true":void 0,"aria-labelledby":s===""?void 0:r,...a},s!==""&&k("title",{id:r},s||e),d!==void 0?k("use",{href:d}):null)},{getGidsSpinnerControlClassNames:zt}=It,{calculateStrokeDasharray:Kt,thickness:Xe,radius:Ze,centerPosition:Z,viewBox:Yt}=Tt,Jt=({size:e,indeterminate:t,value:n,max:s,...o})=>{let l;return t||(l={strokeDashArray:Kt(n,s||0),strokeDashoffset:"0"}),k("svg",{class:zt({size:e,indeterminate:t,value:n}),viewBox:Yt,...o},k("circle",{class:"gids-spinner-control__track",cx:Z,cy:Z,r:Ze,"stroke-width":Xe}),k("circle",{style:l,class:"gids-spinner-control__progress",cx:Z,cy:Z,r:Ze,"stroke-width":Xe}))},Qe=At(class extends ot{constructor(e){super(),e!==!1&&this.__registerHost(),this.#e={},this._focusInput=t=>{const n=t.target;n===this.#t||this._isWithinInteractiveElement(n)||this.#t?.focus()},this._handleInputFocusAndBlur=t=>{this._el.dispatchEvent(new FocusEvent(t.type,{relatedTarget:t.relatedTarget}))}}get defaultValue(){return this.#t?.defaultValue??this.#e.defaultValue??""}set defaultValue(e){this.#t?this.#t.defaultValue=e:this.#e.defaultValue=e}get value(){return this.#t?.value??this.#e.value??this.#e.defaultValue??""}set value(e){this.#t?this.#t.value=e:this.#e.value=e}#t;#e;_isWithinInteractiveElement(e){if(e===null||e===this._el||!this._el.contains(e))return!1;if(Wt(e))return!0;{const t=e.parentElement;if(t)return this._isWithinInteractiveElement(t)}return!1}connectedCallback(){this._el.addEventListener("click",this._focusInput)}disconnectedCallback(){this._el.removeEventListener("click",this._focusInput)}render(){return k(Ot,{key:"ecbda1a363fff11d477fc954db9521e49f2be856"},k("slot",{key:"91da6b8209b6ec8d029716c0ecd409844073dccc",name:"leadingIcon"}),this.leadingLabel&&k("span",{key:"05baed582bbe66d678ce076ad94914cbd24f1d26",class:"gids-input__label"},this.leadingLabel),k("slot",{key:"6250a740115a58f76b47c79375461f84fddc1b51",name:"leadingAccessory"}),k("input",{key:"57f082d129990ae975794483a42ac2754fd13f09",...this.inputProps,ref:e=>{this.#t=e,this.#e.value!==void 0&&(this.#t.value=this.#e.value,delete this.#e.value),this.#e.defaultValue!==void 0&&(this.#t.defaultValue=this.#e.defaultValue,delete this.#e.defaultValue)},class:"gids-input__control",name:this.name,disabled:this.disabled,readOnly:this.readOnly,required:this.required,onFocus:this._handleInputFocusAndBlur,onBlur:this._handleInputFocusAndBlur}),k("slot",{key:"ac04528c2c4f5606d507ac133b6509f6a9d5fe9e",name:"trailingAccessory"}),this.trailingLabel&&k("span",{key:"806996ab18f5c0f3e226af14703642646b4e72d8",class:"gids-input__label"},this.trailingLabel),k("slot",{key:"7efc92e65a26a6bdc0840648d1ec358767c8b7a5",name:"trailingIcon"}),this.status==="incomplete"&&k(Je,{key:"17ffd9ff869b013c125dfb5fef9d4c90dd357ec0",name:"warning",appearance:"filled",class:"gids-input__warning-icon"}),this.status==="complete"&&k(Je,{key:"246410eec89d9b2d485ee92c030ca406d6047242",name:"positive",appearance:"filled",class:"gids-input__positive-icon"}),this.loading&&k(Jt,{key:"ef4f55e9b7fd23738c36e40e71f60e7ad54b3e8f",size:"md",indeterminate:!0}))}get _el(){return this}},[260,"gids-input",{appearance:[513],defaultValue:[6657,"default-value"],disabled:[516],inputProps:[16],leadingLabel:[513,"leading-label"],trailingLabel:[513,"trailing-label"],loading:[516],name:[513],readOnly:[516,"readonly"],required:[516],status:[513],value:[6145]}]);function et(){typeof customElements<"u"&&["gids-input"].forEach((e=>{e==="gids-input"&&(customElements.get(e)||customElements.define(e,Qe))}))}et();const Xt=Qe,Zt=et;L.GidsInput=Xt,L.defineCustomElement=Zt,Object.defineProperty(L,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 v=this["s-cr"].parentElement;return(v.__childNodes?v.childNodes:(b=>{const m=[];for(let y=0;y<b.length;y++){const p=b[y]["s-nr"]||void 0;p&&p.isConnected&&m.push(p)}return m})(v.childNodes)).forEach((b=>{f===ge(b)&&u.push(b)})),d?u.filter((b=>b.nodeType===1)):u}).bind(h);h.assignedElements=g(!0),h.assignedNodes=g(!1)})(o),a=e&&e.m&&e.m[i],a&&a.O===s.O&&e.S&&zt(e.S)),o},zt=e=>{k.i|=1;const t=e.closest(K.toLowerCase());if(t!=null){const i=Array.from(t.__childNodes||t.childNodes).find((s=>s["s-cr"])),n=Array.from(e.__childNodes||e.childNodes);for(const s of i?n.reverse():n)s["s-sh"]!=null&&(T(t,s,i??null),s["s-sh"]=void 0,ke=!0)}k.i&=-2},Ne=(e,t)=>{k.i|=1;const i=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let n=e;for(;n=n.nextSibling;)n&&n["s-sn"]===e["s-sn"]&&n["s-sh"]===K&&i.push(n)}for(let n=i.length-1;n>=0;n--){const s=i[n];s["s-hn"]!==K&&s["s-ol"]&&(T(me(s).parentNode,s,me(s)),s["s-ol"].remove(),s["s-ol"]=void 0,s["s-sh"]=void 0,ke=!0),t&&Ne(s,t)}k.i&=-2},It=(e,t,i,n,s,o)=>{let r,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===K&&(a=a.shadowRoot),i.O==="template"&&(a=a.content);s<=o;++s)n[s]&&(r=Ee(null,i,s),r&&(n[s].S=r,T(a,r,me(t))))},Vt=(e,t,i)=>{for(let n=t;n<=i;++n){const s=e[n];if(s){const o=s.S;Bt(s),o&&(Ae=!0,o["s-ol"]?o["s-ol"].remove():Ne(o,!0),o.remove())}}},$e=(e,t,i=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:i?(i&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),me=e=>e&&e["s-ol"]||e,re=(e,t,i=!1)=>{const n=t.S=e.S,s=e.m,o=t.m,r=t.O,a=t.h;let l;a==null?($=r==="svg"||r!=="foreignObject"&&$,r!=="slot"||pe||e.j!==t.j&&(t.S["s-sn"]=t.j||"",zt(t.S.parentElement)),Ze(e,t,$),s!==null&&o!==null?((h,g,d,c,u=!1)=>{let f,v,b=0,m=0,y=0,p=0,_=g.length-1,w=g[0],S=g[_],C=c.length-1,A=c[0],E=c[C];const R=d.O==="template"?h.content:h;for(;b<=_&&m<=C;)if(w==null)w=g[++b];else if(S==null)S=g[--_];else if(A==null)A=c[++m];else if(E==null)E=c[--C];else if($e(w,A,u))re(w,A,u),w=g[++b],A=c[++m];else if($e(S,E,u))re(S,E,u),S=g[--_],E=c[--C];else if($e(w,E,u))w.O!=="slot"&&E.O!=="slot"||Ne(w.S.parentNode,!1),re(w,E,u),T(R,w.S,S.S.nextSibling),w=g[++b],E=c[--C];else if($e(S,A,u))w.O!=="slot"&&E.O!=="slot"||Ne(S.S.parentNode,!1),re(S,A,u),T(R,S.S,w.S),S=g[--_],A=c[++m];else{for(y=-1,p=b;p<=_;++p)if(g[p]&&g[p].$!==null&&g[p].$===A.$){y=p;break}y>=0?(v=g[y],v.O!==A.O?f=Ee(g&&g[m],d,y):(re(v,A,u),g[y]=void 0,f=v.S),A=c[++m]):(f=Ee(g&&g[m],d,m),A=c[++m]),f&&T(me(w.S).parentNode,f,me(w.S))}b>_?It(h,c[C+1]==null?null:c[C+1].S,d,c,m,C):m>C&&Vt(g,b,_)})(n,s,t,o,i):o!==null?(e.h!==null&&(n.textContent=""),It(n,null,t,o,0,o.length-1)):!i&&s!==null&&Vt(s,0,s.length-1),$&&r==="svg"&&($=!1)):(l=n["s-cr"])?l.parentNode.textContent=a:e.h!==a&&(n.data=a)},F=[],Ft=e=>{let t,i,n;const s=e.__childNodes||e.childNodes;for(const o of s){if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){i=t.parentNode.__childNodes||t.parentNode.childNodes;const r=o["s-sn"];for(n=i.length-1;n>=0;n--)if(t=i[n],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===o["s-hn"]||t["s-sh"]&&t["s-sh"]===o["s-hn"]))if(Et(t,r)){let a=F.find((l=>l.k===t));Ae=!0,t["s-sn"]=t["s-sn"]||r,a?(a.k["s-sh"]=o["s-hn"],a.N=o):(t["s-sh"]=o["s-hn"],F.push({N:o,k:t})),t["s-sr"]&&F.map((l=>{Et(l.k,t["s-sn"])&&(a=F.find((h=>h.k===t)),a&&!l.N&&(l.N=a.N))}))}else F.some((a=>a.k===t))||F.push({k:t})}o.nodeType===1&&Ft(o)}},Bt=e=>{e.v&&e.v.ref&&Je.push((()=>e.v.ref(null))),e.m&&e.m.map(Bt)},Fn=(e,t)=>{Qe.push((()=>e(t)))},T=(e,t,i,n)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,i);const{slotNode:s}=(function(o,r){var a;if(!(r=r||((a=o["s-ol"])==null?void 0:a.parentElement)))return{slotNode:null,slotName:""};const l=o["s-sn"]=ge(o)||"";return{slotNode:qe(Xe(r,"childNodes"),r.tagName,l)[0],slotName:l}})(t);return s&&!n&&s.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,i):e?.insertBefore(t,i)},Bn=(e,t,i=!1)=>{var n,s,o,r,a;const l=e.$hostElement$,h=e.o,g=e.M||Oe(null,null);var d;const c=(d=t)&&d.O===$t?t:x(null,null,t);if(K=l.tagName,h.C&&(c.v=c.v||{},h.C.forEach((([u,f])=>{c.v[f]=l[u]}))),i&&c.v)for(const u of Object.keys(c.v))l.hasAttribute(u)&&!["key","ref","style","class"].includes(u)&&(c.v[u]=l[u]);if(c.O=null,c.i|=4,e.M=c,c.S=g.S=l.shadowRoot||l,pe=!(!(1&h.i)||128&h.i),Ye=l["s-cr"],Ae=!1,re(g,c,i),k.i|=1,ke){Ft(c.S);for(const u of F){const f=u.k;if(!f["s-ol"]&&O.document){const v=O.document.createTextNode("");v["s-nr"]=f,T(f.parentNode,f["s-ol"]=v,f,i)}}for(const u of F){const f=u.k,v=u.N;if(f.nodeType===1&&i&&(f["s-ih"]=(n=f.hidden)!=null&&n),v){const b=v.parentNode;let m=v.nextSibling;if(m&&m.nodeType===1){let y=(s=f["s-ol"])==null?void 0:s.previousSibling;for(;y;){let p=(o=y["s-nr"])!=null?o:null;if(p&&p["s-sn"]===f["s-sn"]&&b===(p.__parentNode||p.parentNode)){for(p=p.nextSibling;p===f||p?.["s-sr"];)p=p?.nextSibling;if(!p||!p["s-nr"]){m=p;break}}y=y.previousSibling}}if((!m&&b!==(f.__parentNode||f.parentNode)||(f.__nextSibling||f.nextSibling)!==m)&&f!==m){if(T(b,f,m,i),f.nodeType===8&&f.nodeValue.startsWith("s-nt-")){const y=O.document.createTextNode(f.nodeValue.replace(/^s-nt-/,""));y["s-hn"]=f["s-hn"],y["s-sn"]=f["s-sn"],y["s-sh"]=f["s-sh"],y["s-sr"]=f["s-sr"],y["s-ol"]=f["s-ol"],y["s-ol"]["s-nr"]=y,T(f.parentNode,y,f,i),f.parentNode.removeChild(f)}f.nodeType===1&&f.tagName!=="SLOT-FB"&&(f.hidden=(r=f["s-ih"])!=null&&r)}f&&typeof v["s-rf"]=="function"&&v["s-rf"](v)}else f.nodeType===1&&(f.hidden=!0)}}if(Ae&&kt(c.S),k.i&=-2,F.length=0,!pe&&!(1&h.i)&&l["s-cr"]){const u=c.S.__childNodes||c.S.childNodes;for(const f of u)if(f["s-hn"]!==K&&!f["s-sh"]){if(i&&f["s-ih"]==null&&(f["s-ih"]=(a=f.hidden)!=null&&a),f.nodeType===1)f.hidden=!0;else if(f.nodeType===3&&f.nodeValue.trim()){const v=O.document.createComment("s-nt-"+f.nodeValue);v["s-sn"]=f["s-sn"],T(f.parentNode,v,f,i),f.parentNode.removeChild(f)}}}Ye=void 0,Je.forEach((u=>u())),Je.length=0,Qe.forEach((u=>u())),Qe.length=0},Wt=(e,t)=>{if(t&&!e.A&&t["s-p"]){const i=t["s-p"].push(new Promise((n=>e.A=()=>{t["s-p"].splice(i-1,1),n()})))}},et=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Wt(e,e.R);const i=()=>Wn(e,t);if(!t)return Tn(i);queueMicrotask((()=>{i()}))},Wn=(e,t)=>{const i=e.$hostElement$,n=i;if(!n)throw new Error(`Can't render component <${i.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let s;return s=ye(n,t?"componentWillLoad":"componentWillUpdate",void 0,i),s=Gt(s,(()=>ye(n,"componentWillRender",void 0,i))),Gt(s,(()=>Hn(e,n,t)))},Gt=(e,t)=>Gn(e)?e.then(t).catch((i=>{console.error(i),t()})):t(),Gn=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Hn=async(e,t,i)=>{var n;const s=e.$hostElement$,o=s["s-rc"];i&&(r=>{const a=r.o,l=r.$hostElement$,h=a.i,g=((d,c)=>{var u,f,v;const b=Nt(c),m=Ce.get(b);if(!O.document)return b;if(d=d.nodeType===11?d:O.document,m)if(typeof m=="string"){let y,p=G.get(d=d.head||d);if(p||G.set(d,p=new Set),!p.has(b)){y=O.document.createElement("style"),y.textContent=m;const _=(u=k._)!=null?u:(function(){var w,S,C;return(C=(S=(w=O.document.head)==null?void 0:w.querySelector('meta[name="csp-nonce"]'))==null?void 0:S.getAttribute("content"))!=null?C:void 0})();if(_!=null&&y.setAttribute("nonce",_),!(1&c.i))if(d.nodeName==="HEAD"){const w=d.querySelectorAll("link[rel=preconnect]"),S=w.length>0?w[w.length-1].nextSibling:d.querySelector("style");d.insertBefore(y,S?.parentNode===d?S:null)}else if("host"in d)if(Be){const w=new((f=d.defaultView)!=null?f:d.ownerDocument.defaultView).CSSStyleSheet;w.replaceSync(m),We?d.adoptedStyleSheets.unshift(w):d.adoptedStyleSheets=[w,...d.adoptedStyleSheets]}else{const w=d.querySelector("style");w?w.textContent=m+w.textContent:d.prepend(y)}else d.append(y);1&c.i&&d.insertBefore(y,null),4&c.i&&(y.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),p&&p.add(b)}}else{let y=G.get(d);if(y||G.set(d,y=new Set),!y.has(b)){const p=(v=d.defaultView)!=null?v:d.ownerDocument.defaultView;let _;if(m.constructor===p.CSSStyleSheet)_=m;else{_=new p.CSSStyleSheet;for(let w=0;w<m.cssRules.length;w++)_.insertRule(m.cssRules[w].cssText,w)}We?d.adoptedStyleSheets.push(_):d.adoptedStyleSheets=[...d.adoptedStyleSheets,_],y.add(b)}}return b})(l.shadowRoot?l.shadowRoot:l.getRootNode(),a);10&h&&(l["s-sc"]=g,l.classList.add(g+"-h"))})(e),Un(e,t,s,i),o&&(o.map((r=>r())),s["s-rc"]=void 0);{const r=(n=s["s-p"])!=null?n:[],a=()=>qn(e);r.length===0?a():(Promise.all(r).then(a).catch(a),e.i|=4,r.length=0)}},Un=(e,t,i,n)=>{try{t=t.render(),e.i&=-17,e.i|=2,Bn(e,t,n)}catch(s){Y(s,e.$hostElement$)}return null},qn=e=>{const t=e.$hostElement$,i=t,n=e.R;ye(i,"componentDidRender",void 0,t),64&e.i?ye(i,"componentDidUpdate",void 0,t):(e.i|=64,Yn(t),ye(i,"componentDidLoad",void 0,t),e.L(t),n||Xn()),e.A&&(e.A(),e.A=void 0),512&e.i&&Ue((()=>et(e,!1))),e.i&=-517},Xn=()=>{Ue((()=>zn(O,"appload",{detail:{namespace:"gids-core-web"}})))},ye=(e,t,i,n)=>{if(e&&e[t])try{return e[t](i)}catch(s){Y(s,n)}},Yn=e=>e.classList.add("hydrated"),Ht=(e,t,i,n)=>{const s=V(e);if(!s)return;const o=e,r=s.l.get(t),a=s.i,l=o;i=Tt(i,n.t[t][0],!!(64&n.i));const h=Number.isNaN(r)&&Number.isNaN(i);if(i!==r&&!h){if(s.l.set(t,i),n.F){const g=n.F[t];g&&g.map((d=>{try{const[[c,u]]=Object.entries(d);(128&a||1&u)&&(l?l[c](i,r,t):s.T.push((()=>{s.D[c](i,r,t)})))}catch(c){Y(c,o)}}))}if(2&a){if(l.componentShouldUpdate&&l.componentShouldUpdate(i,r,t)===!1&&!(16&a))return;16&a||et(s,!1)}}},Kn=(e,t,i)=>{var n,s;const o=e.prototype;64&t.i&&1&i&&$n.forEach((r=>{const a=o[r];Object.defineProperty(o,r,{value(...l){var h;const g=V(this),d=this;d?typeof a=="function"&&a.call(d,...l):(h=g?.H)==null||h.then((c=>{const u=c[r];typeof u=="function"&&u.call(c,...l)}))}})}));{e.watchers&&!t.F&&(t.F=Rt(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const r=Object.entries((n=t.t)!=null?n:{});r.map((([a,[l]])=>{if(31&l||32&l){const{get:h,set:g}=oe(o,a)||{};h&&(t.t[a][0]|=2048),g&&(t.t[a][0]|=4096),Object.defineProperty(o,a,{get(){return h?h.apply(this):(d=a,V(this).l.get(d));var d},configurable:!0,enumerable:!0}),Object.defineProperty(o,a,{set(d){const c=V(this);if(c){if(g)return(32&l?this[a]:c.$hostElement$[a])===void 0&&c.l.get(a)&&(d=c.l.get(a)),g.apply(this,[Tt(d,l,!!(64&t.i))]),void Ht(this,a,d=32&l?this[a]:c.$hostElement$[a],t);Ht(this,a,d,t)}}})}}));{const a=new Map;o.attributeChangedCallback=function(l,h,g){k.jmp((()=>{var d;const c=a.get(l),u=V(this);if(this.hasOwnProperty(c),o.hasOwnProperty(c)&&typeof this[c]=="number"&&this[c]==g)return;if(c==null){const y=u?.i;if(u&&y&&!(8&y)&&g!==h){const p=this,_=(d=t.F)==null?void 0:d[l];_?.forEach((w=>{const[[S,C]]=Object.entries(w);p[S]!=null&&(128&y||1&C)&&p[S].call(p,g,h,l)}))}return}const f=r.find((([y])=>y===c)),v=f&&4&f[1][0],b=v&&g===null&&this[c]===void 0;v&&(g=g!==null&&g!=="false");const m=Object.getOwnPropertyDescriptor(o,c);b||g==this[c]||m.get&&!m.set||(this[c]=g)}))},e.observedAttributes=Array.from(new Set([...Object.keys((s=t.F)!=null?s:{}),...r.filter((([l,h])=>31&h[0])).map((([l,h])=>{var g;const d=h[1]||l;return a.set(d,l),512&h[0]&&((g=t.C)==null||g.push([l,d])),d}))]))}}return e},Pe=(e,t)=>{const i={i:t[0],p:t[1]};try{i.t=t[2],i.W=t[3],i.F=Rt(e.F),i.P=e.P,i.U=e.U,i.C=[];const n=e.prototype.connectedCallback,s=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((o,r)=>{const a={i:0,$hostElement$:o,o:r,l:new Map,B:new Map};a.H=new Promise((h=>a.L=h)),o["s-p"]=[],o["s-rc"]=[];const l=a;o.__stencil__getHostRef=()=>l,512&r.i&&Nn(o,a)})(this,i)},connectedCallback(){if(!this.__hasHostListenerAttached){const o=V(this);if(!o)return;Ut(this,o,i.W),this.__hasHostListenerAttached=!0}(o=>{if(!(1&k.i)){const r=V(o);if(!r)return;const a=r.o;if(1&r.i)Ut(o,r,a.W),r?.D||r?.H&&r.H.then((()=>{}));else{r.i|=1,12&a.i&&(l=>{if(!O.document)return;const h=l["s-cr"]=O.document.createComment("");h["s-cn"]=!0,T(l,h,l.firstChild)})(o);{let l=o;for(;l=l.parentNode||l.host;)if(l["s-p"]){Wt(r,r.R=l);break}}a.t&&Object.entries(a.t).map((([l,[h]])=>{if(31&h&&Object.prototype.hasOwnProperty.call(o,l)){const g=o[l];delete o[l],o[l]=g}})),(async(l,h,g)=>{let d;try{if(!(32&h.i)&&(h.i|=32,d=l.constructor,customElements.whenDefined(l.localName).then((()=>h.i|=128)),d&&d.style)){let f;typeof d.style=="string"&&(f=d.style);const v=Nt(g);Ce.has(v)||((b,m,y)=>{let p=Ce.get(b);Be&&y?(p=p||new CSSStyleSheet,typeof p=="string"?p=m:p.replaceSync(m)):p=m,Ce.set(b,p)})(v,f,!!(1&g.i))}const c=h.R,u=()=>et(h,!0);c&&c["s-rc"]?c["s-rc"].push(u):u()}catch(c){Y(c,l),h.A&&(h.A(),h.A=void 0),h.L&&h.L(l)}})(o,r,a)}}})(this),n&&n.call(this)},disconnectedCallback(){(async o=>{if(!(1&k.i)){const r=V(o);r?.V&&(r.V.map((a=>a())),r.V=void 0)}G.has(o)&&G.delete(o),o.shadowRoot&&G.has(o.shadowRoot)&&G.delete(o.shadowRoot)})(this),s&&s.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${i.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Ln.call(this,i)}}),Object.defineProperty(e,"is",{value:i.p,configurable:!0}),Kn(e,i,3)}catch(n){return Y(n),e}},Ut=(e,t,i)=>{i&&O.document&&i.map((([n,s,o])=>{const r=Jn(O.document,e,n),a=Zn(t,o),l=Qn(n);k.ael(r,s,a,l),(t.V=t.V||[]).push((()=>k.rel(r,s,a,l)))}))},Zn=(e,t)=>i=>{try{e.$hostElement$[t](i)}catch(n){Y(n,e.$hostElement$)}},Jn=(e,t,i)=>8&i?O:t,Qn=e=>Pn?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function Ns(e){return e}function qt(e){var t,i,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(i=qt(e[t]))&&(n&&(n+=" "),n+=i)}else for(i in e)e[i]&&(n&&(n+=" "),n+=i);return n}function Z(){for(var e,t,i=0,n="",s=arguments.length;i<s;i++)(e=arguments[i])&&(t=qt(e))&&(n&&(n+=" "),n+=t);return n}const ei=Object.freeze(Object.defineProperty({__proto__:null,getGidsAdvancedTooltipClassNames:({visible:e},t)=>Z("gids-advanced-tooltip",{"gids-advanced-tooltip--visible":e},t)},Symbol.toStringTag,{value:"Module"})),ti=Object.freeze(Object.defineProperty({__proto__:null,getElementVisibility:e=>{const{label:t,supportingText:i}=e,n=typeof t=="string"&&t.trim().length>0,s=typeof i=="string"&&i.trim().length>0;return{hasLabel:n,hasSupportingText:s}}},Symbol.toStringTag,{value:"Module"})),Re=64,Xt=10,Yt=Re/2-Xt/2,ni=Re/2,tt=2*Math.PI*Yt,ii=`0 0 ${Re} ${Re}`,si=Object.freeze(Object.defineProperty({__proto__:null,calculateStrokeDasharray:(e=0,t)=>{const i=typeof t=="number"&&t>0?t:1,s=Math.max(0,Math.min(i,e))/i*100,o=(tt*s/100).toFixed(2),r=(tt-parseFloat(o)).toFixed(2);return`${o} ${r}`},centerPosition:ni,circumference:tt,radius:Yt,thickness:Xt,viewBox:ii},Symbol.toStringTag,{value:"Module"})),oi=Object.freeze(Object.defineProperty({__proto__:null,getGidsChartLegendItemClassNames:({seriesType:e,orientation:t},i)=>Z("gids-chart-legend-item",{"gids-chart-legend-item--series-2":e==="2","gids-chart-legend-item--series-3":e==="3","gids-chart-legend-item--series-4":e==="4","gids-chart-legend-item--series-5":e==="5","gids-chart-legend-item--series-6":e==="6","gids-chart-legend-item--orientation-vertical":t==="vertical"},i)},Symbol.toStringTag,{value:"Module"})),ri=Object.freeze(Object.defineProperty({__proto__:null,getGidsChartLegendClassNames:({orientation:e},t)=>Z("gids-chart-legend",{"gids-chart-legend--orientation-vertical":e==="vertical"},t)},Symbol.toStringTag,{value:"Module"})),li=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>Z("gids-icon",{"gids-icon--xs":e==="xs","gids-icon--sm":e==="sm","gids-icon--md":e==="md","gids-icon--lg":e==="lg"},t)},Symbol.toStringTag,{value:"Module"})),ai=Object.freeze(Object.defineProperty({__proto__:null,getGidsLineChartClassNames:({breakpoint:e},t)=>Z("gids-line-chart",{"gids-line-chart--breakpoint-mobile":e==="mobile"},t)},Symbol.toStringTag,{value:"Module"})),ci=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerControlClassNames:({size:e,indeterminate:t,value:i},n)=>Z("gids-spinner-control",{"gids-spinner-control--xs":e==="xs","gids-spinner-control--sm":e==="sm","gids-spinner-control--lg":e==="lg","gids-spinner-control--xl":e==="xl","gids-spinner-control--2xl":e==="2xl","gids-spinner-control--determinate":t===!1},i,n)},Symbol.toStringTag,{value:"Module"})),di=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerClassNames:({size:e},t)=>Z("gids-spinner",{"gids-spinner--xs":e==="xs","gids-spinner--sm":e==="sm","gids-spinner--lg":e==="lg","gids-spinner--xl":e==="xl","gids-spinner--2xl":e==="2xl"},t)},Symbol.toStringTag,{value:"Module"})),nt=Symbol("defaultPath"),Kt=Symbol("pathSet"),it="gids-asset-paths-set";class hi extends EventTarget{#n=new Map;constructor(){super()}#e(t,i){this.#n.set(t,i)}#t(t){return this.#n.get(t)??null}#i=()=>{this.dispatchEvent(new Event(it))};haveAssetPathsBeenSet(){return this.#t(Kt)!==null}setAssetPaths(t,i){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(nt,t);else{for(const n in t)this.#e(n,t[n]);i&&this.#e(nt,i)}this.#e(Kt,"true"),setTimeout(this.#i,0)}}getAssetFilePath(t){const i=this.#t(t);if(i===null){const n=this.#t(nt);if(n!==null)return`${n}${n.endsWith("/")?"":"/"}${t}`}return i}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(it,t,{once:!0}),()=>{this.removeEventListener(it,t)}}}const st=Symbol.for("GIDS"),fi=()=>(globalThis[st]===void 0&&(globalThis[st]={assetPaths:{}}),globalThis[st]),ui=e=>{const t=fi().assetPaths;return t[e]===void 0&&(t[e]=new hi),t[e]};function ot(){return ui("@ganpatiinfo/gids-web-shared")}function gi(){return ot().haveAssetPathsBeenSet()}function Zt(e){return ot().getAssetFilePath(e)}function pi(e){return ot().onAssetPathsSet(e)}let mi=0;const yi=(e,t="gids")=>e||`${t}-${mi++}`,{getGidsSpinnerControlClassNames:vi}=ci,{calculateStrokeDasharray:bi,thickness:Jt,radius:Qt,centerPosition:Te,viewBox:xi}=si,wi=({size:e,indeterminate:t,value:i,max:n,...s})=>{let o;return t||(o={strokeDashArray:bi(i,n||0),strokeDashoffset:"0"}),x("svg",{class:vi({size:e,indeterminate:t,value:i}),viewBox:xi,...s},x("circle",{class:"gids-spinner-control__track",cx:Te,cy:Te,r:Qt,"stroke-width":Jt}),x("circle",{style:o,class:"gids-spinner-control__progress",cx:Te,cy:Te,r:Qt,"stroke-width":Jt}))},{getGidsSpinnerClassNames:_i}=di,{getElementVisibility:Si}=ti,Ci=({label:e,supportingText:t,size:i,indeterminate:n,value:s,max:o,class:r,...a})=>{const{hasLabel:l,hasSupportingText:h}=Si({label:e,supportingText:t});return x("span",{class:_i({size:i},r),...a},x(wi,{size:i,indeterminate:n,value:s,max:o}),l&&x("span",{class:"gids-spinner__label"},e),h&&x("span",{class:"gids-spinner__supporting-text"},t))},en={"icons-other.svg":["accessibility","add","remove","announcement","approval","archive","audio","backward","banking","battery","bluetooth","bookmark","bulb","calendar","camera","card","cart","chart","chat","cloud","code","compass","desktop","email","emergency","exchange","finance","fingerprint","flag","folder","forward","gift","globe","goals","happy","hashtag","headphones","history","image","insurance","investment","in-progress","key","link","list","location","lock","map","maximise","microphone","minimise","mobile","moon","network","neutral","ai","new","draft","pending","new-chat","pause","percent","placeholder","play","power","rain","refresh","repeat","sad","save","savings","shield","shuffle","side-navigation","snow","speaker","stop","sun","tablet","temperature","thumbs-down","thumbs-up","travel","trend-down","trend-up","unlock","upset","verified","very-happy","video","volume-down","volume-max","volume-min","volume-mute","volume-up","wallet","wealth","wi-fi","wind"],"icons-core.svg":["arrow-down","arrow-left","arrow-right","arrow-up","attachment","checkmark","chevron-down","chevron-horizontal","chevron-left","chevron-right","chevron-up","chevron-vertical","copy","cross","danger","dashboard","delete","document","download","drag","edit","external","eye","filter","grid","hide","home","information","log-in","log-out","menu","minus","more","notifications","options","phone","plus","positive","printer","question","search","select","select-all","send","settings","share","star","time","upload","user","users","warning"]},tn=new Map;for(const e in en)for(const t of en[e])tn.set(t,e);function Oi(e){return tn.get(e)}function nn(e,t="regular",i){const n=Oi(e);let s=n??"";return i&&n&&(s=i(n)??n),`${s}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:Ai}=li,rt=({name:e,size:t,appearance:i,alt:n,class:s,titleId:o,src:r,...a})=>{const l=yi(o);let h=r;return h===void 0&&gi()&&(h=nn(e,i,Zt)),x("svg",{ref:g=>{h===void 0&&pi((()=>{(function(d,c,u){if(!d)return;const f=document.createElementNS("http://www.w3.org/2000/svg","use");f.setAttribute("href",nn(c,u,Zt)),d.appendChild(f)})(g,e,i)}))},width:"16",height:"16",class:Ai({size:t},s),role:"img","aria-hidden":n===""?"true":void 0,"aria-labelledby":n===""?void 0:l,...a},n!==""&&x("title",{id:l},n||e),h!==void 0?x("use",{href:h}):null)},le=Math.min,J=Math.max,Le=Math.round,De=Math.floor,z=e=>({x:e,y:e}),ki={left:"right",right:"left",bottom:"top",top:"bottom"};function lt(e,t,i){return J(e,le(t,i))}function ve(e,t){return typeof e=="function"?e(t):e}function Q(e){return e.split("-")[0]}function be(e){return e.split("-")[1]}function sn(e){return e==="x"?"y":"x"}function at(e){return e==="y"?"height":"width"}function H(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function ct(e){return sn(H(e))}function Ei(e,t,i){i===void 0&&(i=!1);const n=be(e),s=ct(e),o=at(s);let r=s==="x"?n===(i?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(r=je(r)),[r,je(r)]}function Ni(e){const t=je(e);return[dt(e),t,dt(t)]}function dt(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const on=["left","right"],rn=["right","left"],$i=["top","bottom"],Pi=["bottom","top"];function Ri(e,t,i){switch(e){case"top":case"bottom":return i?t?rn:on:t?on:rn;case"left":case"right":return t?$i:Pi;default:return[]}}function Ti(e,t,i,n){const s=be(e);let o=Ri(Q(e),i==="start",n);return s&&(o=o.map(r=>r+"-"+s),t&&(o=o.concat(o.map(dt)))),o}function je(e){const t=Q(e);return ki[t]+e.slice(t.length)}function Li(e){return{top:0,right:0,bottom:0,left:0,...e}}function ln(e){return typeof e!="number"?Li(e):{top:e,right:e,bottom:e,left:e}}function Me(e){const{x:t,y:i,width:n,height:s}=e;return{width:n,height:s,top:i,left:t,right:t+n,bottom:i+s,x:t,y:i}}function an(e,t,i){let{reference:n,floating:s}=e;const o=H(t),r=ct(t),a=at(r),l=Q(t),h=o==="y",g=n.x+n.width/2-s.width/2,d=n.y+n.height/2-s.height/2,c=n[a]/2-s[a]/2;let u;switch(l){case"top":u={x:g,y:n.y-s.height};break;case"bottom":u={x:g,y:n.y+n.height};break;case"right":u={x:n.x+n.width,y:d};break;case"left":u={x:n.x-s.width,y:d};break;default:u={x:n.x,y:n.y}}switch(be(t)){case"start":u[r]-=c*(i&&h?-1:1);break;case"end":u[r]+=c*(i&&h?-1:1);break}return u}async function Di(e,t){var i;t===void 0&&(t={});const{x:n,y:s,platform:o,rects:r,elements:a,strategy:l}=e,{boundary:h="clippingAncestors",rootBoundary:g="viewport",elementContext:d="floating",altBoundary:c=!1,padding:u=0}=ve(t,e),f=ln(u),b=a[c?d==="floating"?"reference":"floating":d],m=Me(await o.getClippingRect({element:(i=await(o.isElement==null?void 0:o.isElement(b)))==null||i?b:b.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:h,rootBoundary:g,strategy:l})),y=d==="floating"?{x:n,y:s,width:r.floating.width,height:r.floating.height}:r.reference,p=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),_=await(o.isElement==null?void 0:o.isElement(p))?await(o.getScale==null?void 0:o.getScale(p))||{x:1,y:1}:{x:1,y:1},w=Me(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:p,strategy:l}):y);return{top:(m.top-w.top+f.top)/_.y,bottom:(w.bottom-m.bottom+f.bottom)/_.y,left:(m.left-w.left+f.left)/_.x,right:(w.right-m.right+f.right)/_.x}}const ji=50,Mi=async(e,t,i)=>{const{placement:n="bottom",strategy:s="absolute",middleware:o=[],platform:r}=i,a=r.detectOverflow?r:{...r,detectOverflow:Di},l=await(r.isRTL==null?void 0:r.isRTL(t));let h=await r.getElementRects({reference:e,floating:t,strategy:s}),{x:g,y:d}=an(h,n,l),c=n,u=0;const f={};for(let v=0;v<o.length;v++){const b=o[v];if(!b)continue;const{name:m,fn:y}=b,{x:p,y:_,data:w,reset:S}=await y({x:g,y:d,initialPlacement:n,placement:c,strategy:s,middlewareData:f,rects:h,platform:a,elements:{reference:e,floating:t}});g=p??g,d=_??d,f[m]={...f[m],...w},S&&u<ji&&(u++,typeof S=="object"&&(S.placement&&(c=S.placement),S.rects&&(h=S.rects===!0?await r.getElementRects({reference:e,floating:t,strategy:s}):S.rects),{x:g,y:d}=an(h,c,l)),v=-1)}return{x:g,y:d,placement:c,strategy:s,middlewareData:f}},zi=e=>({name:"arrow",options:e,async fn(t){const{x:i,y:n,placement:s,rects:o,platform:r,elements:a,middlewareData:l}=t,{element:h,padding:g=0}=ve(e,t)||{};if(h==null)return{};const d=ln(g),c={x:i,y:n},u=ct(s),f=at(u),v=await r.getDimensions(h),b=u==="y",m=b?"top":"left",y=b?"bottom":"right",p=b?"clientHeight":"clientWidth",_=o.reference[f]+o.reference[u]-c[u]-o.floating[f],w=c[u]-o.reference[u],S=await(r.getOffsetParent==null?void 0:r.getOffsetParent(h));let C=S?S[p]:0;(!C||!await(r.isElement==null?void 0:r.isElement(S)))&&(C=a.floating[p]||o.floating[f]);const A=_/2-w/2,E=C/2-v[f]/2-1,R=le(d[m],E),_e=le(d[y],E),ie=R,Se=C-v[f]-_e,N=C/2-v[f]/2+A,se=lt(ie,N,Se),W=!l.arrow&&be(s)!=null&&N!==se&&o.reference[f]/2-(N<ie?R:_e)-v[f]/2<0,j=W?N<ie?N-ie:N-Se:0;return{[u]:c[u]+j,data:{[u]:se,centerOffset:N-se-j,...W&&{alignmentOffset:j}},reset:W}}}),Ii=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var i,n;const{placement:s,middlewareData:o,rects:r,initialPlacement:a,platform:l,elements:h}=t,{mainAxis:g=!0,crossAxis:d=!0,fallbackPlacements:c,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:v=!0,...b}=ve(e,t);if((i=o.arrow)!=null&&i.alignmentOffset)return{};const m=Q(s),y=H(a),p=Q(a)===a,_=await(l.isRTL==null?void 0:l.isRTL(h.floating)),w=c||(p||!v?[je(a)]:Ni(a)),S=f!=="none";!c&&S&&w.push(...Ti(a,v,f,_));const C=[a,...w],A=await l.detectOverflow(t,b),E=[];let R=((n=o.flip)==null?void 0:n.overflows)||[];if(g&&E.push(A[m]),d){const N=Ei(s,r,_);E.push(A[N[0]],A[N[1]])}if(R=[...R,{placement:s,overflows:E}],!E.every(N=>N<=0)){var _e,ie;const N=(((_e=o.flip)==null?void 0:_e.index)||0)+1,se=C[N];if(se&&(!(d==="alignment"?y!==H(se):!1)||R.every(M=>H(M.placement)===y?M.overflows[0]>0:!0)))return{data:{index:N,overflows:R},reset:{placement:se}};let W=(ie=R.filter(j=>j.overflows[0]<=0).sort((j,M)=>j.overflows[1]-M.overflows[1])[0])==null?void 0:ie.placement;if(!W)switch(u){case"bestFit":{var Se;const j=(Se=R.filter(M=>{if(S){const q=H(M.placement);return q===y||q==="y"}return!0}).map(M=>[M.placement,M.overflows.filter(q=>q>0).reduce((q,Es)=>q+Es,0)]).sort((M,q)=>M[1]-q[1])[0])==null?void 0:Se[0];j&&(W=j);break}case"initialPlacement":W=a;break}if(s!==W)return{reset:{placement:W}}}return{}}}},Vi=new Set(["left","top"]);async function Fi(e,t){const{placement:i,platform:n,elements:s}=e,o=await(n.isRTL==null?void 0:n.isRTL(s.floating)),r=Q(i),a=be(i),l=H(i)==="y",h=Vi.has(r)?-1:1,g=o&&l?-1:1,d=ve(t,e);let{mainAxis:c,crossAxis:u,alignmentAxis:f}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&typeof f=="number"&&(u=a==="end"?f*-1:f),l?{x:u*g,y:c*h}:{x:c*h,y:u*g}}const Bi=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var i,n;const{x:s,y:o,placement:r,middlewareData:a}=t,l=await Fi(t,e);return r===((i=a.offset)==null?void 0:i.placement)&&(n=a.arrow)!=null&&n.alignmentOffset?{}:{x:s+l.x,y:o+l.y,data:{...l,placement:r}}}}},Wi=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:i,y:n,placement:s,platform:o}=t,{mainAxis:r=!0,crossAxis:a=!1,limiter:l={fn:m=>{let{x:y,y:p}=m;return{x:y,y:p}}},...h}=ve(e,t),g={x:i,y:n},d=await o.detectOverflow(t,h),c=H(Q(s)),u=sn(c);let f=g[u],v=g[c];if(r){const m=u==="y"?"top":"left",y=u==="y"?"bottom":"right",p=f+d[m],_=f-d[y];f=lt(p,f,_)}if(a){const m=c==="y"?"top":"left",y=c==="y"?"bottom":"right",p=v+d[m],_=v-d[y];v=lt(p,v,_)}const b=l.fn({...t,[u]:f,[c]:v});return{...b,data:{x:b.x-i,y:b.y-n,enabled:{[u]:r,[c]:a}}}}}};function ze(){return typeof window<"u"}function ae(e){return cn(e)?(e.nodeName||"").toLowerCase():"#document"}function P(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function I(e){var t;return(t=(cn(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function cn(e){return ze()?e instanceof Node||e instanceof P(e).Node:!1}function L(e){return ze()?e instanceof Element||e instanceof P(e).Element:!1}function B(e){return ze()?e instanceof HTMLElement||e instanceof P(e).HTMLElement:!1}function dn(e){return!ze()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof P(e).ShadowRoot}function xe(e){const{overflow:t,overflowX:i,overflowY:n,display:s}=D(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+i)&&s!=="inline"&&s!=="contents"}function Gi(e){return/^(table|td|th)$/.test(ae(e))}function Ie(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const Hi=/transform|translate|scale|rotate|perspective|filter/,Ui=/paint|layout|strict|content/,ee=e=>!!e&&e!=="none";let ht;function ft(e){const t=L(e)?D(e):e;return ee(t.transform)||ee(t.translate)||ee(t.scale)||ee(t.rotate)||ee(t.perspective)||!ut()&&(ee(t.backdropFilter)||ee(t.filter))||Hi.test(t.willChange||"")||Ui.test(t.contain||"")}function qi(e){let t=U(e);for(;B(t)&&!ce(t);){if(ft(t))return t;if(Ie(t))return null;t=U(t)}return null}function ut(){return ht==null&&(ht=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),ht}function ce(e){return/^(html|body|#document)$/.test(ae(e))}function D(e){return P(e).getComputedStyle(e)}function Ve(e){return L(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function U(e){if(ae(e)==="html")return e;const t=e.assignedSlot||e.parentNode||dn(e)&&e.host||I(e);return dn(t)?t.host:t}function hn(e){const t=U(e);return ce(t)?e.ownerDocument?e.ownerDocument.body:e.body:B(t)&&xe(t)?t:hn(t)}function we(e,t,i){var n;t===void 0&&(t=[]),i===void 0&&(i=!0);const s=hn(e),o=s===((n=e.ownerDocument)==null?void 0:n.body),r=P(s);if(o){const a=gt(r);return t.concat(r,r.visualViewport||[],xe(s)?s:[],a&&i?we(a):[])}else return t.concat(s,we(s,[],i))}function gt(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function fn(e){const t=D(e);let i=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const s=B(e),o=s?e.offsetWidth:i,r=s?e.offsetHeight:n,a=Le(i)!==o||Le(n)!==r;return a&&(i=o,n=r),{width:i,height:n,$:a}}function pt(e){return L(e)?e:e.contextElement}function de(e){const t=pt(e);if(!B(t))return z(1);const i=t.getBoundingClientRect(),{width:n,height:s,$:o}=fn(t);let r=(o?Le(i.width):i.width)/n,a=(o?Le(i.height):i.height)/s;return(!r||!Number.isFinite(r))&&(r=1),(!a||!Number.isFinite(a))&&(a=1),{x:r,y:a}}const Xi=z(0);function un(e){const t=P(e);return!ut()||!t.visualViewport?Xi:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Yi(e,t,i){return t===void 0&&(t=!1),!i||t&&i!==P(e)?!1:t}function te(e,t,i,n){t===void 0&&(t=!1),i===void 0&&(i=!1);const s=e.getBoundingClientRect(),o=pt(e);let r=z(1);t&&(n?L(n)&&(r=de(n)):r=de(e));const a=Yi(o,i,n)?un(o):z(0);let l=(s.left+a.x)/r.x,h=(s.top+a.y)/r.y,g=s.width/r.x,d=s.height/r.y;if(o){const c=P(o),u=n&&L(n)?P(n):n;let f=c,v=gt(f);for(;v&&n&&u!==f;){const b=de(v),m=v.getBoundingClientRect(),y=D(v),p=m.left+(v.clientLeft+parseFloat(y.paddingLeft))*b.x,_=m.top+(v.clientTop+parseFloat(y.paddingTop))*b.y;l*=b.x,h*=b.y,g*=b.x,d*=b.y,l+=p,h+=_,f=P(v),v=gt(f)}}return Me({width:g,height:d,x:l,y:h})}function Fe(e,t){const i=Ve(e).scrollLeft;return t?t.left+i:te(I(e)).left+i}function gn(e,t){const i=e.getBoundingClientRect(),n=i.left+t.scrollLeft-Fe(e,i),s=i.top+t.scrollTop;return{x:n,y:s}}function Ki(e){let{elements:t,rect:i,offsetParent:n,strategy:s}=e;const o=s==="fixed",r=I(n),a=t?Ie(t.floating):!1;if(n===r||a&&o)return i;let l={scrollLeft:0,scrollTop:0},h=z(1);const g=z(0),d=B(n);if((d||!d&&!o)&&((ae(n)!=="body"||xe(r))&&(l=Ve(n)),d)){const u=te(n);h=de(n),g.x=u.x+n.clientLeft,g.y=u.y+n.clientTop}const c=r&&!d&&!o?gn(r,l):z(0);return{width:i.width*h.x,height:i.height*h.y,x:i.x*h.x-l.scrollLeft*h.x+g.x+c.x,y:i.y*h.y-l.scrollTop*h.y+g.y+c.y}}function Zi(e){return Array.from(e.getClientRects())}function Ji(e){const t=I(e),i=Ve(e),n=e.ownerDocument.body,s=J(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),o=J(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let r=-i.scrollLeft+Fe(e);const a=-i.scrollTop;return D(n).direction==="rtl"&&(r+=J(t.clientWidth,n.clientWidth)-s),{width:s,height:o,x:r,y:a}}const pn=25;function Qi(e,t){const i=P(e),n=I(e),s=i.visualViewport;let o=n.clientWidth,r=n.clientHeight,a=0,l=0;if(s){o=s.width,r=s.height;const g=ut();(!g||g&&t==="fixed")&&(a=s.offsetLeft,l=s.offsetTop)}const h=Fe(n);if(h<=0){const g=n.ownerDocument,d=g.body,c=getComputedStyle(d),u=g.compatMode==="CSS1Compat"&&parseFloat(c.marginLeft)+parseFloat(c.marginRight)||0,f=Math.abs(n.clientWidth-d.clientWidth-u);f<=pn&&(o-=f)}else h<=pn&&(o+=h);return{width:o,height:r,x:a,y:l}}function es(e,t){const i=te(e,!0,t==="fixed"),n=i.top+e.clientTop,s=i.left+e.clientLeft,o=B(e)?de(e):z(1),r=e.clientWidth*o.x,a=e.clientHeight*o.y,l=s*o.x,h=n*o.y;return{width:r,height:a,x:l,y:h}}function mn(e,t,i){let n;if(t==="viewport")n=Qi(e,i);else if(t==="document")n=Ji(I(e));else if(L(t))n=es(t,i);else{const s=un(e);n={x:t.x-s.x,y:t.y-s.y,width:t.width,height:t.height}}return Me(n)}function yn(e,t){const i=U(e);return i===t||!L(i)||ce(i)?!1:D(i).position==="fixed"||yn(i,t)}function ts(e,t){const i=t.get(e);if(i)return i;let n=we(e,[],!1).filter(a=>L(a)&&ae(a)!=="body"),s=null;const o=D(e).position==="fixed";let r=o?U(e):e;for(;L(r)&&!ce(r);){const a=D(r),l=ft(r);!l&&a.position==="fixed"&&(s=null),(o?!l&&!s:!l&&a.position==="static"&&!!s&&(s.position==="absolute"||s.position==="fixed")||xe(r)&&!l&&yn(e,r))?n=n.filter(g=>g!==r):s=a,r=U(r)}return t.set(e,n),n}function ns(e){let{element:t,boundary:i,rootBoundary:n,strategy:s}=e;const r=[...i==="clippingAncestors"?Ie(t)?[]:ts(t,this._c):[].concat(i),n],a=mn(t,r[0],s);let l=a.top,h=a.right,g=a.bottom,d=a.left;for(let c=1;c<r.length;c++){const u=mn(t,r[c],s);l=J(u.top,l),h=le(u.right,h),g=le(u.bottom,g),d=J(u.left,d)}return{width:h-d,height:g-l,x:d,y:l}}function is(e){const{width:t,height:i}=fn(e);return{width:t,height:i}}function ss(e,t,i){const n=B(t),s=I(t),o=i==="fixed",r=te(e,!0,o,t);let a={scrollLeft:0,scrollTop:0};const l=z(0);function h(){l.x=Fe(s)}if(n||!n&&!o)if((ae(t)!=="body"||xe(s))&&(a=Ve(t)),n){const u=te(t,!0,o,t);l.x=u.x+t.clientLeft,l.y=u.y+t.clientTop}else s&&h();o&&!n&&s&&h();const g=s&&!n&&!o?gn(s,a):z(0),d=r.left+a.scrollLeft-l.x-g.x,c=r.top+a.scrollTop-l.y-g.y;return{x:d,y:c,width:r.width,height:r.height}}function mt(e){return D(e).position==="static"}function vn(e,t){if(!B(e)||D(e).position==="fixed")return null;if(t)return t(e);let i=e.offsetParent;return I(e)===i&&(i=i.ownerDocument.body),i}function bn(e,t){const i=P(e);if(Ie(e))return i;if(!B(e)){let s=U(e);for(;s&&!ce(s);){if(L(s)&&!mt(s))return s;s=U(s)}return i}let n=vn(e,t);for(;n&&Gi(n)&&mt(n);)n=vn(n,t);return n&&ce(n)&&mt(n)&&!ft(n)?i:n||qi(e)||i}const os=async function(e){const t=this.getOffsetParent||bn,i=this.getDimensions,n=await i(e.floating);return{reference:ss(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function rs(e){return D(e).direction==="rtl"}const yt={convertOffsetParentRelativeRectToViewportRelativeRect:Ki,getDocumentElement:I,getClippingRect:ns,getOffsetParent:bn,getElementRects:os,getClientRects:Zi,getDimensions:is,getScale:de,isElement:L,isRTL:rs};function xn(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ls(e,t){let i=null,n;const s=I(e);function o(){var a;clearTimeout(n),(a=i)==null||a.disconnect(),i=null}function r(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),o();const h=e.getBoundingClientRect(),{left:g,top:d,width:c,height:u}=h;if(a||t(),!c||!u)return;const f=De(d),v=De(s.clientWidth-(g+c)),b=De(s.clientHeight-(d+u)),m=De(g),p={rootMargin:-f+"px "+-v+"px "+-b+"px "+-m+"px",threshold:J(0,le(1,l))||1};let _=!0;function w(S){const C=S[0].intersectionRatio;if(C!==l){if(!_)return r();C?r(!1,C):n=setTimeout(()=>{r(!1,1e-7)},1e3)}C===1&&!xn(h,e.getBoundingClientRect())&&r(),_=!1}try{i=new IntersectionObserver(w,{...p,root:s.ownerDocument})}catch{i=new IntersectionObserver(w,p)}i.observe(e)}return r(!0),o}function as(e,t,i,n){n===void 0&&(n={});const{ancestorScroll:s=!0,ancestorResize:o=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=n,h=pt(e),g=s||o?[...h?we(h):[],...t?we(t):[]]:[];g.forEach(m=>{s&&m.addEventListener("scroll",i,{passive:!0}),o&&m.addEventListener("resize",i)});const d=h&&a?ls(h,i):null;let c=-1,u=null;r&&(u=new ResizeObserver(m=>{let[y]=m;y&&y.target===h&&u&&t&&(u.unobserve(t),cancelAnimationFrame(c),c=requestAnimationFrame(()=>{var p;(p=u)==null||p.observe(t)})),i()}),h&&!l&&u.observe(h),t&&u.observe(t));let f,v=l?te(e):null;l&&b();function b(){const m=te(e);v&&!xn(v,m)&&i(),v=m,f=requestAnimationFrame(b)}return i(),()=>{var m;g.forEach(y=>{s&&y.removeEventListener("scroll",i),o&&y.removeEventListener("resize",i)}),d?.(),(m=u)==null||m.disconnect(),u=null,l&&cancelAnimationFrame(f)}}const cs=Bi,ds=Wi,hs=Ii,fs=zi,us=(e,t,i)=>{const n=new Map,s={platform:yt,...i},o={...s.platform,_c:n};return Mi(e,t,{...s,platform:o})};function wn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}const gs=/transform|translate|scale|rotate|perspective|filter/,ps=/paint|layout|strict|content/,ne=e=>!!e&&e!=="none";let vt;function ms(e){const t=(i=e,typeof window<"u"&&(i instanceof Element||i instanceof wn(i).Element)?wn(n=e).getComputedStyle(n):e);var i,n;return ne(t.transform)||ne(t.translate)||ne(t.scale)||ne(t.rotate)||ne(t.perspective)||(vt==null&&(vt=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),!vt&&(ne(t.backdropFilter)||ne(t.filter)))||gs.test(t.willChange||"")||ps.test(t.contain||"")}function ys(e){return(function(t){for(let i=t;i;i=bt(i))if(i instanceof Element&&getComputedStyle(i).display==="none")return null;for(let i=bt(t);i;i=bt(i)){if(!(i instanceof Element))continue;const n=getComputedStyle(i);if(n.display!=="contents"&&(n.position!=="static"||ms(n)||i.tagName==="BODY"))return i}return null})(e)}function bt(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}const he=globalThis.CSSStyleSheet!==void 0?new CSSStyleSheet:void 0;let _n=!1;he&&document.adoptedStyleSheets?document.adoptedStyleSheets.push(he):console.warn("CSSStyleSheet is not defined. Omitting constructed stylesheet behaviour.");let xt=null;const wt=globalThis.MutationObserver!==void 0?new MutationObserver((()=>{Sn()})):void 0,Sn=()=>{if(he===void 0)return!1;const e=(()=>{if(he===void 0)return;const t=[];for(let i=0;i<document.styleSheets.length;i++){const n=document.styleSheets.item(i);if(n)try{let s=-1,o=0;for(let r=0;r<n.cssRules.length;r++){const a=n.cssRules.item(r);if(a?.cssText.startsWith("gids-global-styles-start"))s=r;else if(s>-1){if(a?.cssText.startsWith("gids-global-styles-end")){o=r-s+1;break}t.push(a)}}if(s>-1)return{rulesStartIndex:s,originalRulesCount:o,rules:t,styleSheet:n}}catch(s){if(!(s instanceof DOMException))throw s}}})();if(e!==void 0){const t=e.styleSheet.ownerNode;return wt!==void 0&&t!==xt&&(xt&&wt.disconnect(),t instanceof Element&&wt.observe(t,{childList:!0,characterData:!0,subtree:!0}),xt=t),he.replaceSync((i=>i.rules.map((n=>n.cssText)).join(""))(e)),(i=>{const{rulesStartIndex:n,originalRulesCount:s,styleSheet:o}=i;for(let r=0;r<s;r++)o.deleteRule(n)})(e),!0}return console.warn("refreshConstructedGidsStylesheet: Gids stylesheet is not found in document."),!1},vs=()=>(_n||(_n=Sn()),he),{getGidsAdvancedTooltipClassNames:bs}=ei,xs=Pe(class extends ue{constructor(e){super(),e!==!1&&this.__registerHost(),this.__attachShadow(),this.visible=!1,this.x=0,this.y=0,this.offset=12,this.placement="top",this.items=[],this.currentPlacement="top"}connectedCallback(){const e=vs();e&&this.host.shadowRoot?.adoptedStyleSheets.push(e)}componentDidLoad(){const e=this.host.shadowRoot;if(!e)return;const t=e.querySelector(".gids-advanced-tooltip__arrow");t instanceof ue&&(this.tooltipElement=this.host,this.arrowElement=t,this.createVirtualReference(),this.startAutoUpdate(),this.updatePosition())}disconnectedCallback(){this.cleanupAutoUpdate?.()}visibleChanged(){this.updatePosition()}positionChanged(){this.updatePosition()}placementChanged(){this.updatePosition()}itemsChanged(){this.updatePosition()}createVirtualReference(){this.virtualReference||(this.virtualReference={getBoundingClientRect:()=>new DOMRect(this.x,this.y,0,0)})}startAutoUpdate(){this.cleanupAutoUpdate?.(),this.cleanupAutoUpdate=as(this.virtualReference,this.tooltipElement,(()=>{this.updatePosition()}),{ancestorScroll:!0,ancestorResize:!1,elementResize:!0,layoutShift:!0,animationFrame:!0})}getMiddleware(){return[cs(this.offset),hs({padding:this.offset}),ds({padding:this.offset}),fs({element:this.arrowElement,padding:this.offset})]}async updatePosition(){if(this.tooltipElement)try{const{x:e,y:t,placement:i,middlewareData:n}=await us(this.virtualReference,this.tooltipElement,{placement:this.placement,strategy:"fixed",middleware:this.getMiddleware(),platform:{...yt,getOffsetParent:s=>yt.getOffsetParent(s,ys)}});if(this.currentPlacement=i,Object.assign(this.tooltipElement.style,{left:`${e}px`,top:`${t}px`,position:"fixed"}),n.arrow&&this.arrowElement){const{x:s,y:o}=n.arrow;let r;switch(i.split("-")[0]??"top"){case"top":r="bottom";break;case"right":r="left";break;case"bottom":r="top";break;default:r="right"}Object.assign(this.arrowElement.style,{left:s!=null?`${s}px`:"",top:o!=null?`${o}px`:"",right:"",bottom:"",[r]:"-5px",transform:"rotate(45deg)"})}}catch(e){console.error("computePosition failed",e)}}render(){const e=bs({visible:this.visible});return x($t,{key:"2c70f3d6677ca6e2cf379250db5b6cdbb442c8fb",class:e,role:"tooltip",part:"tooltip"},x("div",{key:"45bb876df55d76fe4651b7a0e87bd714c5dcf828",class:"gids-advanced-tooltip__arrow",part:"arrow"}),x("div",{key:"634615debc56fa003fd07617fe3339464d3c6893",class:"gids-advanced-tooltip__content"},this.items.map((t=>x("div",{class:"gids-advanced-tooltip__item",key:`${t.label}-${t.value}`},x("div",{class:"gids-advanced-tooltip__left"},x(rt,{name:"new",size:"xs",appearance:"filled",style:{"--gidsIcon-color":t.seriesIndicatorColor}}),x("span",{class:"gids-advanced-tooltip__label"},t.label)),x("span",{class:"gids-advanced-tooltip__value"},t.value))))))}get host(){return this}static get watchers(){return{visible:[{visibleChanged:0}],x:[{positionChanged:0}],y:[{positionChanged:0}],placement:[{placementChanged:0}],items:[{itemsChanged:0}]}}static get style(){return".gids-advanced-tooltip{position:fixed;display:inline-flex;width:fit-content;height:fit-content;z-index:1001;--gidsAdvancedTooltip-background:var( --gids-color-background-neutral-bold-default );--gidsAdvancedTooltip-label-color:var(--gids-color-text-inverse);--gidsAdvancedTooltip-value-color:var(--gids-color-text-inverse)}.gids-advanced-tooltip--visible{opacity:1}.gids-advanced-tooltip__content{box-shadow:var(--gids-elevation-shadow-overlay);background:var(--gidsAdvancedTooltip-background);border-radius:var(--gids-border-radius-md);padding:var(--gids-padding-vertical-edge-to-element-150) var(--gids-padding-horizontal-edge-to-element-150);min-width:140px}.gids-advanced-tooltip__item{display:flex;justify-content:space-between;align-items:center;gap:var(--gids-gap-200)}.gids-advanced-tooltip__item+.gids-advanced-tooltip__item{margin-top:var(--gids-padding-vertical-edge-to-element-075)}.gids-advanced-tooltip__left{display:flex;align-items:center;gap:var(--gids-gap-100)}.gids-advanced-tooltip__arrow{position:absolute;width:10px;height:10px;background:var(--gidsAdvancedTooltip-background);backdrop-filter:calc(var(--gids-backdrop-blur-2-xl));transform:rotate(45deg)}.gids-advanced-tooltip__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);color:var(--gidsAdvancedTooltip-label-color)}.gids-advanced-tooltip__value{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);color:var(--gidsAdvancedTooltip-value-color);white-space:nowrap}"}},[1,"gids-advanced-tooltip",{visible:[516],x:[2],y:[2],offset:[2],placement:[1],items:[16],currentPlacement:[32]},void 0,{visible:[{visibleChanged:0}],x:[{positionChanged:0}],y:[{positionChanged:0}],placement:[{placementChanged:0}],items:[{itemsChanged:0}]}]);function Cn(){typeof customElements<"u"&&["gids-advanced-tooltip"].forEach((e=>{e==="gids-advanced-tooltip"&&(customElements.get(e)||customElements.define(e,xs))}))}Cn();const{getGidsChartLegendClassNames:ws}=ri,_s=Pe(class extends ue{constructor(e){super(),e!==!1&&this.__registerHost(),this.orientation="horizontal"}handleOrientationChange(e){this.orientation=e}render(){const e=ws({orientation:this.orientation});return x("div",{key:"272620a7f72242f5e3559ee178c520f641bdca35",class:e},x("slot",{key:"e67141f00bb68f420b8af53c0f75ea55e1ccbe95"}))}static get watchers(){return{orientation:[{handleOrientationChange:0}]}}static get style(){return".gids-chart-legend{display:inline-flex;align-items:flex-start;gap:var(--gids-gap-150)}.gids-chart-legend--orientation-vertical{flex-direction:column;gap:var(--gids-gap-050)}"}},[260,"gids-chart-legend",{orientation:[1]},void 0,{orientation:[{handleOrientationChange:0}]}]);function On(){typeof customElements<"u"&&["gids-chart-legend"].forEach((e=>{e==="gids-chart-legend"&&(customElements.get(e)||customElements.define(e,_s))}))}On();const{getGidsChartLegendItemClassNames:Ss}=oi,Cs=Pe(class extends ue{constructor(e){super(),e!==!1&&this.__registerHost(),this.orientation="horizontal",this.seriesType="1"}handleOrientationChange(e){this.orientation=e}handleSeriesTypeChange(e){this.seriesType=e}handleSeriesColorChange(e){this.seriesColor=e}render(){const e=this.seriesColor,t=e&&e!=="",i=Ss({seriesType:t?"none":this.seriesType,orientation:this.orientation});return x("div",{key:"ca543ca5462e15113d66a6be93e565751433bb96",class:i},x("div",{key:"78951ec28f3ae6753ca538e456f393514229ff4b",class:this.orientation==="vertical"?"gids-chart-legend-item__dot-wrapper-vertical":"gids-chart-legend-item__dot-wrapper-horizontal"},x(rt,{key:"81aa6b456c2bcad7fcf9fbad82d66906f3cf4959",name:"new",alt:"new_icon",appearance:"filled",style:t?{"--gidsIcon-color":e}:{}})),x("span",{key:"9d23d232d1351d8d535c213118b2f0cc2caed629",class:"gids-chart-legend-item__label"},x("slot",{key:"33e5ef6da9de59e00057baa5e61e5a448999ac8a"})))}static get watchers(){return{orientation:[{handleOrientationChange:0}],seriesType:[{handleSeriesTypeChange:0}],seriesColor:[{handleSeriesColorChange:0}]}}static get style(){return".gids-chart-legend-item{display:flex;align-items:center;gap:var(--gids-gap-100);--gidsChartLegendItemIcon-color:var(--gids-color-icon-subtle);--gidsIcon-color:var(--gidsChartLegendItemIcon-color);--gidsIcon-height:var(--gids-size-080)}.gids-chart-legend-item--orientation-vertical{display:flex}.gids-chart-legend-item--series-2{--gidsChartLegendItemIcon-color:var(--gids-color-icon-warning)}.gids-chart-legend-item--series-3{--gidsChartLegendItemIcon-color:var(--gids-color-icon-danger)}.gids-chart-legend-item--series-4{--gidsChartLegendItemIcon-color:var(--gids-color-background-positive-bold-hovered)}.gids-chart-legend-item--series-5{--gidsChartLegendItemIcon-color:var(--gids-color-background-information-bold-default)}.gids-chart-legend-item--series-6{--gidsChartLegendItemIcon-color:rgb(238, 70, 188)}.gids-chart-legend-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);text-align:left;color:var(--gids-color-text-subtlest)}.gids-chart-legend-item__dot-wrapper-vertical{display:flex;padding-top:var(--gids-padding-vertical-edge-to-element-075)}.gids-chart-legend-item__dot-wrapper-horizontal{display:flex;align-items:center}"}},[260,"gids-chart-legend-item",{orientation:[1],seriesType:[1,"series-type"],seriesColor:[1,"series-color"]},void 0,{orientation:[{handleOrientationChange:0}],seriesType:[{handleSeriesTypeChange:0}],seriesColor:[{handleSeriesColorChange:0}]}]);function An(){typeof customElements<"u"&&["gids-chart-legend-item"].forEach((e=>{e==="gids-chart-legend-item"&&(customElements.get(e)||customElements.define(e,Cs))}))}An();const{getGidsLineChartClassNames:Os}=ai,kn=Pe(class extends ue{constructor(e){super(),e!==!1&&this.__registerHost(),this.breakpoint="desktop",this.legend="none",this.chartData=[],this.yAxisVisible=!1,this.dataPoints=[],this.chartLoaderSize="lg",this.chartLoading=!1,this.width=0,this.height=0,this.hoveredIndex=null,this.tooltip={visible:!1,x:0,y:0}}chartDataChanged(){this.updateDimensions()}dataPointsChanged(e){this.dataPoints=e}legendChanged(e){this.legend=e}yAxisVisibilityChanged(e){this.yAxisVisible=e}componentDidLoad(){this.updateDimensions(),this.resizeObserver=new ResizeObserver((()=>this.updateDimensions())),this.hostElement.parentElement&&this.resizeObserver.observe(this.hostElement.parentElement)}disconnectedCallback(){this.resizeObserver&&this.resizeObserver.disconnect()}updateDimensions(){const e=this.hostElement.getBoundingClientRect();this.width=e.width,this.height=e.height>0?e.height:300}getTooltipItems(e){return this.chartData.reduce(((t,i)=>{const n=i.data[e];return n&&t.push({label:i?.label??"",value:String(n.value),seriesIndicatorColor:i?.seriesColor??""}),t}),[])}render(){if(this.chartLoading)return x("div",{class:"gids-line-chart__no-data"},x(Ci,{label:this.chartLoadingTitle,supportingText:this.chartLoadingSupportingText,size:this?.chartLoaderSize??"lg"}));const e=this.chartData.flatMap((c=>Array.isArray(c?.data)?c.data.map((u=>u.value)):[])),t=e.length>0?Math.max(...e):10,i=Math.pow(10,Math.floor(Math.log10(t||1)));let n=i;t/i<=2?n=i/5:t/i<=5&&(n=i/2);const s=Math.ceil(t/n)*n;let o=[];if(Array.isArray(this.dataPoints)&&this.dataPoints.length>0)o=[...this.dataPoints].sort(((c,u)=>c-u));else{const u=s/4;for(let f=0;f<5;f++)o.push(Math.round(0+f*u))}const r=Math.max(...o,s)-0||1,a=this?.chartData?.[0]?.data?.map((c=>c.label))??[],l=a.length,h=Os({breakpoint:this.breakpoint});let g=!1,d=!1;return this.breakpoint==="mobile"?this.legend!=="none"&&(g=!0):this.legend==="top"?g=!0:this.legend==="right"&&(d=!0),x("div",{class:h},g?x("div",{class:"gids-line-chart__header"},x("gids-chart-legend",{orientation:"horizontal"},this.chartData.map((c=>x("gids-chart-legend-item",{key:c.label,seriesColor:c?.seriesColor,orientation:"horizontal"},c.label))))):null,x("div",{class:"gids-line-chart__main-container"},x("div",{class:"gids-line-chart__grid-layout"},x("span",{class:"gids-line-chart__y-axis-label"},this.yAxisLabel),x("div",{class:"gids-line-chart__chart-stage-container"},this.yAxisVisible?x("div",{class:"gids-line-chart__y-axis-scale-container"},o.map((c=>x("span",{id:"y-value",class:"gids-line-chart__scale-text gids-line-chart__y-axis-scale-value",key:c,style:{bottom:(c-0)/r*100+"%"}},c)))):null,x("div",{class:"gids-line-chart__chart-stage"},x("svg",{viewBox:"0 0 100 100",class:"gids-line-chart__chart-vector",preserveAspectRatio:"none"},x("defs",null,this.chartData.map(((c,u)=>{const f=c?.fillGradientStartColor,v=c?.fillGradientEndColor;return x("linearGradient",{id:`areaGradient-${u}`,x1:"0",y1:"0",x2:"0",y2:"1",key:u},x("stop",{offset:"0%",style:{stopColor:f,stopOpacity:"1"}}),x("stop",{offset:"100%",style:{stopColor:v,stopOpacity:"0"}}))}))),o.map((c=>{const u=100-(c-0)/r*100;return x("line",{x1:"0",y1:u,x2:"100",y2:u,class:"gids-line-chart__grid-line",key:c})})),this.chartData.map(((c,u)=>{if(!Array.isArray(c.data)||c.data.length<2)return null;const f=c.data.map(((v,b)=>`${b===0?"M":"L"} ${b/(l-1)*100} ${100-(v.value-0)/r*100}`)).join(" ");return x("g",{key:c.label||u},x("path",{d:`${f} L 100 100 L 0 100 Z`,fill:`url(#areaGradient-${u})`,opacity:c?.fillOpacity??"0.1",class:"gids-line-chart__chart-area"}),x("path",{d:f,class:"gids-line-chart__chart-line",fill:"none",style:{stroke:c?.seriesColor,strokeWidth:"2px"}}))})),x("rect",{x:"0",y:"0",width:"100",height:"100",fill:"transparent","pointer-events":"all",onMouseMove:c=>{const u=c.currentTarget.getBoundingClientRect(),f=Math.round((c.clientX-u.left)/u.width*(l-1));this.hoveredIndex=f,this.tooltip={visible:!0,x:c.clientX,y:c.clientY}},onMouseLeave:()=>{this.hoveredIndex=null,this.tooltip={...this.tooltip,visible:!1}}})),this.hoveredIndex!==null&&this.chartData.map(((c,u)=>{if(this.hoveredIndex===null)return;const f=this.hoveredIndex,v=c.data[f];return v?x("div",{id:`chart-dot-${u}`,class:"gids-line-chart__hover-dot",style:{left:f/(l-1)*100+"%",top:100-(v.value-0)/r*100+"%"}},x(rt,{name:"new",size:"xs",appearance:"filled",style:{"--gidsIcon-color":c.seriesColor}})):null})),x("gids-advanced-tooltip",{visible:this.tooltip.visible,x:this.tooltip.x,y:this.tooltip.y,items:this.hoveredIndex!==null?this.getTooltipItems(this.hoveredIndex):[]}))),x("div",{class:"gids-line-chart__x-axis-scale-container"},a.map(((c,u)=>x("span",{class:"gids-line-chart__scale-text",key:u},c)))),x("span",{class:"gids-line-chart__x-axis-label"},this.xAxisLabel)),d?x("gids-chart-legend",{orientation:"vertical"},this.chartData.map((c=>x("gids-chart-legend-item",{key:c.label,seriesColor:c?.seriesColor,orientation:"vertical"},c.label)))):null))}get hostElement(){return this}static get watchers(){return{chartData:[{chartDataChanged:0}],dataPoints:[{dataPointsChanged:0}],legend:[{legendChanged:0}],yAxisVisible:[{yAxisVisibilityChanged:0}]}}static get style(){return":host{display:block;width:100%;height:100%;box-sizing:border-box}.gids-line-chart{display:flex;flex-direction:column;width:100%;height:100%;box-sizing:border-box}.gids-line-chart--breakpoint-mobile{max-width:var(--gids-width-xs)}.gids-line-chart__main-container{display:flex;gap:var(--gids-gap-200)}.gids-line-chart__header{display:flex;justify-content:flex-end;align-items:center;width:100%;margin-bottom:var(--gids-padding-vertical-edge-to-element-200)}.gids-line-chart__grid-layout{display:grid;grid-template-columns:auto 1fr;grid-template-rows:minmax(180px, 280px) auto auto;flex:1;width:100%;height:100%;box-sizing:border-box}.gids-line-chart__y-axis-label{grid-column:1;grid-row:1;display:flex;align-items:center;justify-content:center;margin-right:var(--gids-padding-horizontal-edge-to-element-600);font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit);color:var(--gids-color-text-subtlest);writing-mode:vertical-rl;transform:rotate(180deg);white-space:nowrap}.gids-line-chart__chart-stage-container{grid-column:2;grid-row:1;position:relative;width:100%;height:100%;padding-left:var(--gids-container-padding-desktop);box-sizing:border-box}.gids-line-chart__y-axis-scale-container{position:absolute;top:0;bottom:0;left:0;width:calc(var(--gids-container-padding-desktop) - var(--gids-padding-horizontal-edge-to-element-100));pointer-events:none}.gids-line-chart__y-axis-scale-value{position:absolute;right:0;transform:translateY(50%);margin-right:var(--gids-padding-horizontal-edge-to-element-100)}.gids-line-chart__chart-stage{position:relative;width:100%;height:100%;border-bottom:var(--gids-border-width-thin) solid var(--gids-color-border-default);box-sizing:border-box}.gids-line-chart__chart-vector{display:block;width:100%;height:100%;overflow:visible}.gids-line-chart__grid-line{stroke:var(--gids-color-border-default);stroke-width:0.5;fill:none}.gids-line-chart__chart-area{stroke:none}.gids-line-chart__chart-line{fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.gids-line-chart__x-axis-scale-container{display:flex;grid-column:2;grid-row:2;justify-content:space-between;align-items:center;padding-left:var(--gids-container-padding-desktop);padding-top:var(--gids-padding-vertical-edge-to-element-200);gap:var(--gids-gap-050);box-sizing:border-box}.gids-line-chart__x-axis-label{grid-column:2;grid-row:3;display:flex;justify-content:center;align-items:center;padding-top:var(--gids-padding-vertical-edge-to-element-100);font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit);color:var(--gids-color-text-subtlest);white-space:nowrap}.gids-line-chart__scale-text{font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit);color:var(--gids-color-text-subtlest);user-select:none;white-space:nowrap}.gids-line-chart__no-data{display:flex;align-items:center;justify-content:center;padding:var(--gids-padding-vertical-edge-to-element-300) var(--gids-padding-horizontal-edge-to-element-100);width:100%;height:100%;min-height:200px;color:var(--gids-color-text-subtlest);border:var(--gids-border-width-thin) dashed var(--gids-color-border-default);border-radius:var(--gids-border-radius-md)}.gids-line-chart__hover-dot{position:absolute;transform:translate(-50%, -50%);pointer-events:none;z-index:20}"}},[0,"gids-line-chart",{breakpoint:[1],legend:[1],chartData:[16],yAxisVisible:[4,"y-axis-visible"],xAxisLabel:[1,"x-axis-label"],yAxisLabel:[1,"y-axis-label"],dataPoints:[16],chartLoaderSize:[1,"chart-loader-size"],chartLoading:[4,"chart-loading"],chartLoadingTitle:[1,"chart-loading-title"],chartLoadingSupportingText:[1,"chart-loading-supporting-text"],width:[32],height:[32],hoveredIndex:[32],tooltip:[32]},void 0,{chartData:[{chartDataChanged:0}],dataPoints:[{dataPointsChanged:0}],legend:[{legendChanged:0}],yAxisVisible:[{yAxisVisibilityChanged:0}]}]);function En(){typeof customElements<"u"&&["gids-line-chart","gids-advanced-tooltip","gids-chart-legend","gids-chart-legend-item"].forEach((e=>{switch(e){case"gids-line-chart":customElements.get(e)||customElements.define(e,kn);break;case"gids-advanced-tooltip":customElements.get(e)||Cn();break;case"gids-chart-legend":customElements.get(e)||On();break;case"gids-chart-legend-item":customElements.get(e)||An()}}))}En();const As=kn,ks=En;X.GidsLineChart=As,X.defineCustomElement=ks,Object.defineProperty(X,Symbol.toStringTag,{value:"Module"})}));
5
+ `);const v=this["s-cr"].parentElement;return(v.__childNodes?v.childNodes:(b=>{const m=[];for(let y=0;y<b.length;y++){const p=b[y]["s-nr"]||void 0;p&&p.isConnected&&m.push(p)}return m})(v.childNodes)).forEach((b=>{f===ge(b)&&u.push(b)})),d?u.filter((b=>b.nodeType===1)):u}).bind(h);h.assignedElements=g(!0),h.assignedNodes=g(!1)})(o),a=e&&e.m&&e.m[i],a&&a.O===s.O&&e.S&&zt(e.S)),o},zt=e=>{k.i|=1;const t=e.closest(K.toLowerCase());if(t!=null){const i=Array.from(t.__childNodes||t.childNodes).find((s=>s["s-cr"])),n=Array.from(e.__childNodes||e.childNodes);for(const s of i?n.reverse():n)s["s-sh"]!=null&&(T(t,s,i??null),s["s-sh"]=void 0,ke=!0)}k.i&=-2},Ne=(e,t)=>{k.i|=1;const i=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let n=e;for(;n=n.nextSibling;)n&&n["s-sn"]===e["s-sn"]&&n["s-sh"]===K&&i.push(n)}for(let n=i.length-1;n>=0;n--){const s=i[n];s["s-hn"]!==K&&s["s-ol"]&&(T(me(s).parentNode,s,me(s)),s["s-ol"].remove(),s["s-ol"]=void 0,s["s-sh"]=void 0,ke=!0),t&&Ne(s,t)}k.i&=-2},It=(e,t,i,n,s,o)=>{let r,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===K&&(a=a.shadowRoot),i.O==="template"&&(a=a.content);s<=o;++s)n[s]&&(r=Ee(null,i,s),r&&(n[s].S=r,T(a,r,me(t))))},Vt=(e,t,i)=>{for(let n=t;n<=i;++n){const s=e[n];if(s){const o=s.S;Bt(s),o&&(Ae=!0,o["s-ol"]?o["s-ol"].remove():Ne(o,!0),o.remove())}}},$e=(e,t,i=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:i?(i&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),me=e=>e&&e["s-ol"]||e,re=(e,t,i=!1)=>{const n=t.S=e.S,s=e.m,o=t.m,r=t.O,a=t.h;let l;a==null?($=r==="svg"||r!=="foreignObject"&&$,r!=="slot"||pe||e.j!==t.j&&(t.S["s-sn"]=t.j||"",zt(t.S.parentElement)),Ze(e,t,$),s!==null&&o!==null?((h,g,d,c,u=!1)=>{let f,v,b=0,m=0,y=0,p=0,_=g.length-1,w=g[0],S=g[_],C=c.length-1,A=c[0],E=c[C];const R=d.O==="template"?h.content:h;for(;b<=_&&m<=C;)if(w==null)w=g[++b];else if(S==null)S=g[--_];else if(A==null)A=c[++m];else if(E==null)E=c[--C];else if($e(w,A,u))re(w,A,u),w=g[++b],A=c[++m];else if($e(S,E,u))re(S,E,u),S=g[--_],E=c[--C];else if($e(w,E,u))w.O!=="slot"&&E.O!=="slot"||Ne(w.S.parentNode,!1),re(w,E,u),T(R,w.S,S.S.nextSibling),w=g[++b],E=c[--C];else if($e(S,A,u))w.O!=="slot"&&E.O!=="slot"||Ne(S.S.parentNode,!1),re(S,A,u),T(R,S.S,w.S),S=g[--_],A=c[++m];else{for(y=-1,p=b;p<=_;++p)if(g[p]&&g[p].$!==null&&g[p].$===A.$){y=p;break}y>=0?(v=g[y],v.O!==A.O?f=Ee(g&&g[m],d,y):(re(v,A,u),g[y]=void 0,f=v.S),A=c[++m]):(f=Ee(g&&g[m],d,m),A=c[++m]),f&&T(me(w.S).parentNode,f,me(w.S))}b>_?It(h,c[C+1]==null?null:c[C+1].S,d,c,m,C):m>C&&Vt(g,b,_)})(n,s,t,o,i):o!==null?(e.h!==null&&(n.textContent=""),It(n,null,t,o,0,o.length-1)):!i&&s!==null&&Vt(s,0,s.length-1),$&&r==="svg"&&($=!1)):(l=n["s-cr"])?l.parentNode.textContent=a:e.h!==a&&(n.data=a)},F=[],Ft=e=>{let t,i,n;const s=e.__childNodes||e.childNodes;for(const o of s){if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){i=t.parentNode.__childNodes||t.parentNode.childNodes;const r=o["s-sn"];for(n=i.length-1;n>=0;n--)if(t=i[n],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===o["s-hn"]||t["s-sh"]&&t["s-sh"]===o["s-hn"]))if(Et(t,r)){let a=F.find((l=>l.k===t));Ae=!0,t["s-sn"]=t["s-sn"]||r,a?(a.k["s-sh"]=o["s-hn"],a.N=o):(t["s-sh"]=o["s-hn"],F.push({N:o,k:t})),t["s-sr"]&&F.map((l=>{Et(l.k,t["s-sn"])&&(a=F.find((h=>h.k===t)),a&&!l.N&&(l.N=a.N))}))}else F.some((a=>a.k===t))||F.push({k:t})}o.nodeType===1&&Ft(o)}},Bt=e=>{e.v&&e.v.ref&&Je.push((()=>e.v.ref(null))),e.m&&e.m.map(Bt)},Fn=(e,t)=>{Qe.push((()=>e(t)))},T=(e,t,i,n)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,i);const{slotNode:s}=(function(o,r){var a;if(!(r=r||((a=o["s-ol"])==null?void 0:a.parentElement)))return{slotNode:null,slotName:""};const l=o["s-sn"]=ge(o)||"";return{slotNode:qe(Xe(r,"childNodes"),r.tagName,l)[0],slotName:l}})(t);return s&&!n&&s.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,i):e?.insertBefore(t,i)},Bn=(e,t,i=!1)=>{var n,s,o,r,a;const l=e.$hostElement$,h=e.o,g=e.M||Oe(null,null);var d;const c=(d=t)&&d.O===$t?t:x(null,null,t);if(K=l.tagName,h.C&&(c.v=c.v||{},h.C.forEach((([u,f])=>{c.v[f]=l[u]}))),i&&c.v)for(const u of Object.keys(c.v))l.hasAttribute(u)&&!["key","ref","style","class"].includes(u)&&(c.v[u]=l[u]);if(c.O=null,c.i|=4,e.M=c,c.S=g.S=l.shadowRoot||l,pe=!(!(1&h.i)||128&h.i),Ye=l["s-cr"],Ae=!1,re(g,c,i),k.i|=1,ke){Ft(c.S);for(const u of F){const f=u.k;if(!f["s-ol"]&&O.document){const v=O.document.createTextNode("");v["s-nr"]=f,T(f.parentNode,f["s-ol"]=v,f,i)}}for(const u of F){const f=u.k,v=u.N;if(f.nodeType===1&&i&&(f["s-ih"]=(n=f.hidden)!=null&&n),v){const b=v.parentNode;let m=v.nextSibling;if(m&&m.nodeType===1){let y=(s=f["s-ol"])==null?void 0:s.previousSibling;for(;y;){let p=(o=y["s-nr"])!=null?o:null;if(p&&p["s-sn"]===f["s-sn"]&&b===(p.__parentNode||p.parentNode)){for(p=p.nextSibling;p===f||p?.["s-sr"];)p=p?.nextSibling;if(!p||!p["s-nr"]){m=p;break}}y=y.previousSibling}}if((!m&&b!==(f.__parentNode||f.parentNode)||(f.__nextSibling||f.nextSibling)!==m)&&f!==m){if(T(b,f,m,i),f.nodeType===8&&f.nodeValue.startsWith("s-nt-")){const y=O.document.createTextNode(f.nodeValue.replace(/^s-nt-/,""));y["s-hn"]=f["s-hn"],y["s-sn"]=f["s-sn"],y["s-sh"]=f["s-sh"],y["s-sr"]=f["s-sr"],y["s-ol"]=f["s-ol"],y["s-ol"]["s-nr"]=y,T(f.parentNode,y,f,i),f.parentNode.removeChild(f)}f.nodeType===1&&f.tagName!=="SLOT-FB"&&(f.hidden=(r=f["s-ih"])!=null&&r)}f&&typeof v["s-rf"]=="function"&&v["s-rf"](v)}else f.nodeType===1&&(f.hidden=!0)}}if(Ae&&kt(c.S),k.i&=-2,F.length=0,!pe&&!(1&h.i)&&l["s-cr"]){const u=c.S.__childNodes||c.S.childNodes;for(const f of u)if(f["s-hn"]!==K&&!f["s-sh"]){if(i&&f["s-ih"]==null&&(f["s-ih"]=(a=f.hidden)!=null&&a),f.nodeType===1)f.hidden=!0;else if(f.nodeType===3&&f.nodeValue.trim()){const v=O.document.createComment("s-nt-"+f.nodeValue);v["s-sn"]=f["s-sn"],T(f.parentNode,v,f,i),f.parentNode.removeChild(f)}}}Ye=void 0,Je.forEach((u=>u())),Je.length=0,Qe.forEach((u=>u())),Qe.length=0},Wt=(e,t)=>{if(t&&!e.A&&t["s-p"]){const i=t["s-p"].push(new Promise((n=>e.A=()=>{t["s-p"].splice(i-1,1),n()})))}},et=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Wt(e,e.R);const i=()=>Wn(e,t);if(!t)return Tn(i);queueMicrotask((()=>{i()}))},Wn=(e,t)=>{const i=e.$hostElement$,n=i;if(!n)throw new Error(`Can't render component <${i.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let s;return s=ye(n,t?"componentWillLoad":"componentWillUpdate",void 0,i),s=Gt(s,(()=>ye(n,"componentWillRender",void 0,i))),Gt(s,(()=>Hn(e,n,t)))},Gt=(e,t)=>Gn(e)?e.then(t).catch((i=>{console.error(i),t()})):t(),Gn=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Hn=async(e,t,i)=>{var n;const s=e.$hostElement$,o=s["s-rc"];i&&(r=>{const a=r.o,l=r.$hostElement$,h=a.i,g=((d,c)=>{var u,f,v;const b=Nt(c),m=Ce.get(b);if(!O.document)return b;if(d=d.nodeType===11?d:O.document,m)if(typeof m=="string"){let y,p=G.get(d=d.head||d);if(p||G.set(d,p=new Set),!p.has(b)){y=O.document.createElement("style"),y.textContent=m;const _=(u=k._)!=null?u:(function(){var w,S,C;return(C=(S=(w=O.document.head)==null?void 0:w.querySelector('meta[name="csp-nonce"]'))==null?void 0:S.getAttribute("content"))!=null?C:void 0})();if(_!=null&&y.setAttribute("nonce",_),!(1&c.i))if(d.nodeName==="HEAD"){const w=d.querySelectorAll("link[rel=preconnect]"),S=w.length>0?w[w.length-1].nextSibling:d.querySelector("style");d.insertBefore(y,S?.parentNode===d?S:null)}else if("host"in d)if(Be){const w=new((f=d.defaultView)!=null?f:d.ownerDocument.defaultView).CSSStyleSheet;w.replaceSync(m),We?d.adoptedStyleSheets.unshift(w):d.adoptedStyleSheets=[w,...d.adoptedStyleSheets]}else{const w=d.querySelector("style");w?w.textContent=m+w.textContent:d.prepend(y)}else d.append(y);1&c.i&&d.insertBefore(y,null),4&c.i&&(y.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),p&&p.add(b)}}else{let y=G.get(d);if(y||G.set(d,y=new Set),!y.has(b)){const p=(v=d.defaultView)!=null?v:d.ownerDocument.defaultView;let _;if(m.constructor===p.CSSStyleSheet)_=m;else{_=new p.CSSStyleSheet;for(let w=0;w<m.cssRules.length;w++)_.insertRule(m.cssRules[w].cssText,w)}We?d.adoptedStyleSheets.push(_):d.adoptedStyleSheets=[...d.adoptedStyleSheets,_],y.add(b)}}return b})(l.shadowRoot?l.shadowRoot:l.getRootNode(),a);10&h&&(l["s-sc"]=g,l.classList.add(g+"-h"))})(e),Un(e,t,s,i),o&&(o.map((r=>r())),s["s-rc"]=void 0);{const r=(n=s["s-p"])!=null?n:[],a=()=>qn(e);r.length===0?a():(Promise.all(r).then(a).catch(a),e.i|=4,r.length=0)}},Un=(e,t,i,n)=>{try{t=t.render(),e.i&=-17,e.i|=2,Bn(e,t,n)}catch(s){Y(s,e.$hostElement$)}return null},qn=e=>{const t=e.$hostElement$,i=t,n=e.R;ye(i,"componentDidRender",void 0,t),64&e.i?ye(i,"componentDidUpdate",void 0,t):(e.i|=64,Yn(t),ye(i,"componentDidLoad",void 0,t),e.L(t),n||Xn()),e.A&&(e.A(),e.A=void 0),512&e.i&&Ue((()=>et(e,!1))),e.i&=-517},Xn=()=>{Ue((()=>zn(O,"appload",{detail:{namespace:"gids-core-web"}})))},ye=(e,t,i,n)=>{if(e&&e[t])try{return e[t](i)}catch(s){Y(s,n)}},Yn=e=>e.classList.add("hydrated"),Ht=(e,t,i,n)=>{const s=V(e);if(!s)return;const o=e,r=s.l.get(t),a=s.i,l=o;i=Tt(i,n.t[t][0],!!(64&n.i));const h=Number.isNaN(r)&&Number.isNaN(i);if(i!==r&&!h){if(s.l.set(t,i),n.F){const g=n.F[t];g&&g.map((d=>{try{const[[c,u]]=Object.entries(d);(128&a||1&u)&&(l?l[c](i,r,t):s.T.push((()=>{s.D[c](i,r,t)})))}catch(c){Y(c,o)}}))}if(2&a){if(l.componentShouldUpdate&&l.componentShouldUpdate(i,r,t)===!1&&!(16&a))return;16&a||et(s,!1)}}},Kn=(e,t,i)=>{var n,s;const o=e.prototype;64&t.i&&1&i&&$n.forEach((r=>{const a=o[r];Object.defineProperty(o,r,{value(...l){var h;const g=V(this),d=this;d?typeof a=="function"&&a.call(d,...l):(h=g?.H)==null||h.then((c=>{const u=c[r];typeof u=="function"&&u.call(c,...l)}))}})}));{e.watchers&&!t.F&&(t.F=Rt(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const r=Object.entries((n=t.t)!=null?n:{});r.map((([a,[l]])=>{if(31&l||32&l){const{get:h,set:g}=oe(o,a)||{};h&&(t.t[a][0]|=2048),g&&(t.t[a][0]|=4096),Object.defineProperty(o,a,{get(){return h?h.apply(this):(d=a,V(this).l.get(d));var d},configurable:!0,enumerable:!0}),Object.defineProperty(o,a,{set(d){const c=V(this);if(c){if(g)return(32&l?this[a]:c.$hostElement$[a])===void 0&&c.l.get(a)&&(d=c.l.get(a)),g.apply(this,[Tt(d,l,!!(64&t.i))]),void Ht(this,a,d=32&l?this[a]:c.$hostElement$[a],t);Ht(this,a,d,t)}}})}}));{const a=new Map;o.attributeChangedCallback=function(l,h,g){k.jmp((()=>{var d;const c=a.get(l),u=V(this);if(this.hasOwnProperty(c),o.hasOwnProperty(c)&&typeof this[c]=="number"&&this[c]==g)return;if(c==null){const y=u?.i;if(u&&y&&!(8&y)&&g!==h){const p=this,_=(d=t.F)==null?void 0:d[l];_?.forEach((w=>{const[[S,C]]=Object.entries(w);p[S]!=null&&(128&y||1&C)&&p[S].call(p,g,h,l)}))}return}const f=r.find((([y])=>y===c)),v=f&&4&f[1][0],b=v&&g===null&&this[c]===void 0;v&&(g=g!==null&&g!=="false");const m=Object.getOwnPropertyDescriptor(o,c);b||g==this[c]||m.get&&!m.set||(this[c]=g)}))},e.observedAttributes=Array.from(new Set([...Object.keys((s=t.F)!=null?s:{}),...r.filter((([l,h])=>31&h[0])).map((([l,h])=>{var g;const d=h[1]||l;return a.set(d,l),512&h[0]&&((g=t.C)==null||g.push([l,d])),d}))]))}}return e},Pe=(e,t)=>{const i={i:t[0],p:t[1]};try{i.t=t[2],i.W=t[3],i.F=Rt(e.F),i.P=e.P,i.U=e.U,i.C=[];const n=e.prototype.connectedCallback,s=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((o,r)=>{const a={i:0,$hostElement$:o,o:r,l:new Map,B:new Map};a.H=new Promise((h=>a.L=h)),o["s-p"]=[],o["s-rc"]=[];const l=a;o.__stencil__getHostRef=()=>l,512&r.i&&Nn(o,a)})(this,i)},connectedCallback(){if(!this.__hasHostListenerAttached){const o=V(this);if(!o)return;Ut(this,o,i.W),this.__hasHostListenerAttached=!0}(o=>{if(!(1&k.i)){const r=V(o);if(!r)return;const a=r.o;if(1&r.i)Ut(o,r,a.W),r?.D||r?.H&&r.H.then((()=>{}));else{r.i|=1,12&a.i&&(l=>{if(!O.document)return;const h=l["s-cr"]=O.document.createComment("");h["s-cn"]=!0,T(l,h,l.firstChild)})(o);{let l=o;for(;l=l.parentNode||l.host;)if(l["s-p"]){Wt(r,r.R=l);break}}a.t&&Object.entries(a.t).map((([l,[h]])=>{if(31&h&&Object.prototype.hasOwnProperty.call(o,l)){const g=o[l];delete o[l],o[l]=g}})),(async(l,h,g)=>{let d;try{if(!(32&h.i)&&(h.i|=32,d=l.constructor,customElements.whenDefined(l.localName).then((()=>h.i|=128)),d&&d.style)){let f;typeof d.style=="string"&&(f=d.style);const v=Nt(g);Ce.has(v)||((b,m,y)=>{let p=Ce.get(b);Be&&y?(p=p||new CSSStyleSheet,typeof p=="string"?p=m:p.replaceSync(m)):p=m,Ce.set(b,p)})(v,f,!!(1&g.i))}const c=h.R,u=()=>et(h,!0);c&&c["s-rc"]?c["s-rc"].push(u):u()}catch(c){Y(c,l),h.A&&(h.A(),h.A=void 0),h.L&&h.L(l)}})(o,r,a)}}})(this),n&&n.call(this)},disconnectedCallback(){(async o=>{if(!(1&k.i)){const r=V(o);r?.V&&(r.V.map((a=>a())),r.V=void 0)}G.has(o)&&G.delete(o),o.shadowRoot&&G.has(o.shadowRoot)&&G.delete(o.shadowRoot)})(this),s&&s.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${i.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Ln.call(this,i)}}),Object.defineProperty(e,"is",{value:i.p,configurable:!0}),Kn(e,i,3)}catch(n){return Y(n),e}},Ut=(e,t,i)=>{i&&O.document&&i.map((([n,s,o])=>{const r=Jn(O.document,e,n),a=Zn(t,o),l=Qn(n);k.ael(r,s,a,l),(t.V=t.V||[]).push((()=>k.rel(r,s,a,l)))}))},Zn=(e,t)=>i=>{try{e.$hostElement$[t](i)}catch(n){Y(n,e.$hostElement$)}},Jn=(e,t,i)=>8&i?O:t,Qn=e=>Pn?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function Ns(e){return e}function qt(e){var t,i,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(i=qt(e[t]))&&(n&&(n+=" "),n+=i)}else for(i in e)e[i]&&(n&&(n+=" "),n+=i);return n}function Z(){for(var e,t,i=0,n="",s=arguments.length;i<s;i++)(e=arguments[i])&&(t=qt(e))&&(n&&(n+=" "),n+=t);return n}const ei=Object.freeze(Object.defineProperty({__proto__:null,getGidsAdvancedTooltipClassNames:({visible:e},t)=>Z("gids-advanced-tooltip",{"gids-advanced-tooltip--visible":e},t)},Symbol.toStringTag,{value:"Module"})),ti=Object.freeze(Object.defineProperty({__proto__:null,getElementVisibility:e=>{const{label:t,supportingText:i}=e,n=typeof t=="string"&&t.trim().length>0,s=typeof i=="string"&&i.trim().length>0;return{hasLabel:n,hasSupportingText:s}}},Symbol.toStringTag,{value:"Module"})),Re=64,Xt=10,Yt=Re/2-Xt/2,ni=Re/2,tt=2*Math.PI*Yt,ii=`0 0 ${Re} ${Re}`,si=Object.freeze(Object.defineProperty({__proto__:null,calculateStrokeDasharray:(e=0,t)=>{const i=typeof t=="number"&&t>0?t:1,s=Math.max(0,Math.min(i,e))/i*100,o=(tt*s/100).toFixed(2),r=(tt-parseFloat(o)).toFixed(2);return`${o} ${r}`},centerPosition:ni,circumference:tt,radius:Yt,thickness:Xt,viewBox:ii},Symbol.toStringTag,{value:"Module"})),oi=Object.freeze(Object.defineProperty({__proto__:null,getGidsChartLegendItemClassNames:({seriesType:e,orientation:t},i)=>Z("gids-chart-legend-item",{"gids-chart-legend-item--series-2":e==="2","gids-chart-legend-item--series-3":e==="3","gids-chart-legend-item--series-4":e==="4","gids-chart-legend-item--series-5":e==="5","gids-chart-legend-item--series-6":e==="6","gids-chart-legend-item--orientation-vertical":t==="vertical"},i)},Symbol.toStringTag,{value:"Module"})),ri=Object.freeze(Object.defineProperty({__proto__:null,getGidsChartLegendClassNames:({orientation:e},t)=>Z("gids-chart-legend",{"gids-chart-legend--orientation-vertical":e==="vertical"},t)},Symbol.toStringTag,{value:"Module"})),li=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>Z("gids-icon",{"gids-icon--xs":e==="xs","gids-icon--sm":e==="sm","gids-icon--md":e==="md","gids-icon--lg":e==="lg"},t)},Symbol.toStringTag,{value:"Module"})),ai=Object.freeze(Object.defineProperty({__proto__:null,getGidsLineChartClassNames:({breakpoint:e},t)=>Z("gids-line-chart",{"gids-line-chart--breakpoint-mobile":e==="mobile"},t)},Symbol.toStringTag,{value:"Module"})),ci=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerControlClassNames:({size:e,indeterminate:t,value:i},n)=>Z("gids-spinner-control",{"gids-spinner-control--xs":e==="xs","gids-spinner-control--sm":e==="sm","gids-spinner-control--lg":e==="lg","gids-spinner-control--xl":e==="xl","gids-spinner-control--2xl":e==="2xl","gids-spinner-control--determinate":t===!1},i,n)},Symbol.toStringTag,{value:"Module"})),di=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerClassNames:({size:e},t)=>Z("gids-spinner",{"gids-spinner--xs":e==="xs","gids-spinner--sm":e==="sm","gids-spinner--lg":e==="lg","gids-spinner--xl":e==="xl","gids-spinner--2xl":e==="2xl"},t)},Symbol.toStringTag,{value:"Module"})),nt=Symbol("defaultPath"),Kt=Symbol("pathSet"),it="gids-asset-paths-set";class hi extends EventTarget{#n=new Map;constructor(){super()}#e(t,i){this.#n.set(t,i)}#t(t){return this.#n.get(t)??null}#i=()=>{this.dispatchEvent(new Event(it))};haveAssetPathsBeenSet(){return this.#t(Kt)!==null}setAssetPaths(t,i){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(nt,t);else{for(const n in t)this.#e(n,t[n]);i&&this.#e(nt,i)}this.#e(Kt,"true"),setTimeout(this.#i,0)}}getAssetFilePath(t){const i=this.#t(t);if(i===null){const n=this.#t(nt);if(n!==null)return`${n}${n.endsWith("/")?"":"/"}${t}`}return i}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(it,t,{once:!0}),()=>{this.removeEventListener(it,t)}}}const st=Symbol.for("GIDS"),fi=()=>(globalThis[st]===void 0&&(globalThis[st]={assetPaths:{}}),globalThis[st]),ui=e=>{const t=fi().assetPaths;return t[e]===void 0&&(t[e]=new hi),t[e]};function ot(){return ui("@ganpatiinfo/gids-web-shared")}function gi(){return ot().haveAssetPathsBeenSet()}function Zt(e){return ot().getAssetFilePath(e)}function pi(e){return ot().onAssetPathsSet(e)}let mi=0;const yi=(e,t="gids")=>e||`${t}-${mi++}`,{getGidsSpinnerControlClassNames:vi}=ci,{calculateStrokeDasharray:bi,thickness:Jt,radius:Qt,centerPosition:Te,viewBox:xi}=si,wi=({size:e,indeterminate:t,value:i,max:n,...s})=>{let o;return t||(o={strokeDashArray:bi(i,n||0),strokeDashoffset:"0"}),x("svg",{class:vi({size:e,indeterminate:t,value:i}),viewBox:xi,...s},x("circle",{class:"gids-spinner-control__track",cx:Te,cy:Te,r:Qt,"stroke-width":Jt}),x("circle",{style:o,class:"gids-spinner-control__progress",cx:Te,cy:Te,r:Qt,"stroke-width":Jt}))},{getGidsSpinnerClassNames:_i}=di,{getElementVisibility:Si}=ti,Ci=({label:e,supportingText:t,size:i,indeterminate:n,value:s,max:o,class:r,...a})=>{const{hasLabel:l,hasSupportingText:h}=Si({label:e,supportingText:t});return x("span",{class:_i({size:i},r),...a},x(wi,{size:i,indeterminate:n,value:s,max:o}),l&&x("span",{class:"gids-spinner__label"},e),h&&x("span",{class:"gids-spinner__supporting-text"},t))},en={"icons-other.svg":["accessibility","add","remove","announcement","approval","archive","audio","backward","banking","battery","bluetooth","bookmark","bulb","calendar","camera","card","cart","chart","chat","cloud","code","compass","desktop","email","emergency","exchange","finance","fingerprint","flag","folder","forward","gift","globe","goals","happy","hashtag","headphones","history","image","insurance","investment","in-progress","key","link","list","location","lock","map","maximise","microphone","minimise","mobile","moon","network","neutral","ai","new","draft","pending","new-chat","pause","percent","placeholder","play","power","rain","refresh","repeat","sad","save","savings","shield","shuffle","side-navigation","snow","speaker","stop","sun","tablet","temperature","thumbs-down","thumbs-up","travel","trend-down","trend-up","unlock","upset","verified","very-happy","video","volume-down","volume-max","volume-min","volume-mute","volume-up","wallet","wealth","wi-fi","wind"],"icons-core.svg":["arrow-down","arrow-left","arrow-right","arrow-up","attachment","checkmark","chevron-down","chevron-horizontal","chevron-left","chevron-right","chevron-up","chevron-vertical","copy","cross","danger","dashboard","delete","document","download","drag","edit","external","eye","filter","grid","hide","home","information","log-in","log-out","menu","minus","more","notifications","options","phone","plus","positive","printer","question","search","select","select-all","send","settings","share","star","time","upload","user","users","warning"]},tn=new Map;for(const e in en)for(const t of en[e])tn.set(t,e);function Oi(e){return tn.get(e)}function nn(e,t="regular",i){const n=Oi(e);let s=n??"";return i&&n&&(s=i(n)??n),`${s}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:Ai}=li,rt=({name:e,size:t,appearance:i,alt:n,class:s,titleId:o,src:r,...a})=>{const l=yi(o);let h=r;return h===void 0&&gi()&&(h=nn(e,i,Zt)),x("svg",{ref:g=>{h===void 0&&pi((()=>{(function(d,c,u){if(!d)return;const f=document.createElementNS("http://www.w3.org/2000/svg","use");f.setAttribute("href",nn(c,u,Zt)),d.appendChild(f)})(g,e,i)}))},width:"16",height:"16",class:Ai({size:t},s),role:"img","aria-hidden":n===""?"true":void 0,"aria-labelledby":n===""?void 0:l,...a},n!==""&&x("title",{id:l},n||e),h!==void 0?x("use",{href:h}):null)},le=Math.min,J=Math.max,Le=Math.round,De=Math.floor,z=e=>({x:e,y:e}),ki={left:"right",right:"left",bottom:"top",top:"bottom"};function lt(e,t,i){return J(e,le(t,i))}function ve(e,t){return typeof e=="function"?e(t):e}function Q(e){return e.split("-")[0]}function be(e){return e.split("-")[1]}function sn(e){return e==="x"?"y":"x"}function at(e){return e==="y"?"height":"width"}function H(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function ct(e){return sn(H(e))}function Ei(e,t,i){i===void 0&&(i=!1);const n=be(e),s=ct(e),o=at(s);let r=s==="x"?n===(i?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(r=je(r)),[r,je(r)]}function Ni(e){const t=je(e);return[dt(e),t,dt(t)]}function dt(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const on=["left","right"],rn=["right","left"],$i=["top","bottom"],Pi=["bottom","top"];function Ri(e,t,i){switch(e){case"top":case"bottom":return i?t?rn:on:t?on:rn;case"left":case"right":return t?$i:Pi;default:return[]}}function Ti(e,t,i,n){const s=be(e);let o=Ri(Q(e),i==="start",n);return s&&(o=o.map(r=>r+"-"+s),t&&(o=o.concat(o.map(dt)))),o}function je(e){const t=Q(e);return ki[t]+e.slice(t.length)}function Li(e){return{top:0,right:0,bottom:0,left:0,...e}}function ln(e){return typeof e!="number"?Li(e):{top:e,right:e,bottom:e,left:e}}function Me(e){const{x:t,y:i,width:n,height:s}=e;return{width:n,height:s,top:i,left:t,right:t+n,bottom:i+s,x:t,y:i}}function an(e,t,i){let{reference:n,floating:s}=e;const o=H(t),r=ct(t),a=at(r),l=Q(t),h=o==="y",g=n.x+n.width/2-s.width/2,d=n.y+n.height/2-s.height/2,c=n[a]/2-s[a]/2;let u;switch(l){case"top":u={x:g,y:n.y-s.height};break;case"bottom":u={x:g,y:n.y+n.height};break;case"right":u={x:n.x+n.width,y:d};break;case"left":u={x:n.x-s.width,y:d};break;default:u={x:n.x,y:n.y}}switch(be(t)){case"start":u[r]-=c*(i&&h?-1:1);break;case"end":u[r]+=c*(i&&h?-1:1);break}return u}async function Di(e,t){var i;t===void 0&&(t={});const{x:n,y:s,platform:o,rects:r,elements:a,strategy:l}=e,{boundary:h="clippingAncestors",rootBoundary:g="viewport",elementContext:d="floating",altBoundary:c=!1,padding:u=0}=ve(t,e),f=ln(u),b=a[c?d==="floating"?"reference":"floating":d],m=Me(await o.getClippingRect({element:(i=await(o.isElement==null?void 0:o.isElement(b)))==null||i?b:b.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:h,rootBoundary:g,strategy:l})),y=d==="floating"?{x:n,y:s,width:r.floating.width,height:r.floating.height}:r.reference,p=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),_=await(o.isElement==null?void 0:o.isElement(p))?await(o.getScale==null?void 0:o.getScale(p))||{x:1,y:1}:{x:1,y:1},w=Me(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:p,strategy:l}):y);return{top:(m.top-w.top+f.top)/_.y,bottom:(w.bottom-m.bottom+f.bottom)/_.y,left:(m.left-w.left+f.left)/_.x,right:(w.right-m.right+f.right)/_.x}}const ji=50,Mi=async(e,t,i)=>{const{placement:n="bottom",strategy:s="absolute",middleware:o=[],platform:r}=i,a=r.detectOverflow?r:{...r,detectOverflow:Di},l=await(r.isRTL==null?void 0:r.isRTL(t));let h=await r.getElementRects({reference:e,floating:t,strategy:s}),{x:g,y:d}=an(h,n,l),c=n,u=0;const f={};for(let v=0;v<o.length;v++){const b=o[v];if(!b)continue;const{name:m,fn:y}=b,{x:p,y:_,data:w,reset:S}=await y({x:g,y:d,initialPlacement:n,placement:c,strategy:s,middlewareData:f,rects:h,platform:a,elements:{reference:e,floating:t}});g=p??g,d=_??d,f[m]={...f[m],...w},S&&u<ji&&(u++,typeof S=="object"&&(S.placement&&(c=S.placement),S.rects&&(h=S.rects===!0?await r.getElementRects({reference:e,floating:t,strategy:s}):S.rects),{x:g,y:d}=an(h,c,l)),v=-1)}return{x:g,y:d,placement:c,strategy:s,middlewareData:f}},zi=e=>({name:"arrow",options:e,async fn(t){const{x:i,y:n,placement:s,rects:o,platform:r,elements:a,middlewareData:l}=t,{element:h,padding:g=0}=ve(e,t)||{};if(h==null)return{};const d=ln(g),c={x:i,y:n},u=ct(s),f=at(u),v=await r.getDimensions(h),b=u==="y",m=b?"top":"left",y=b?"bottom":"right",p=b?"clientHeight":"clientWidth",_=o.reference[f]+o.reference[u]-c[u]-o.floating[f],w=c[u]-o.reference[u],S=await(r.getOffsetParent==null?void 0:r.getOffsetParent(h));let C=S?S[p]:0;(!C||!await(r.isElement==null?void 0:r.isElement(S)))&&(C=a.floating[p]||o.floating[f]);const A=_/2-w/2,E=C/2-v[f]/2-1,R=le(d[m],E),_e=le(d[y],E),ie=R,Se=C-v[f]-_e,N=C/2-v[f]/2+A,se=lt(ie,N,Se),W=!l.arrow&&be(s)!=null&&N!==se&&o.reference[f]/2-(N<ie?R:_e)-v[f]/2<0,j=W?N<ie?N-ie:N-Se:0;return{[u]:c[u]+j,data:{[u]:se,centerOffset:N-se-j,...W&&{alignmentOffset:j}},reset:W}}}),Ii=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var i,n;const{placement:s,middlewareData:o,rects:r,initialPlacement:a,platform:l,elements:h}=t,{mainAxis:g=!0,crossAxis:d=!0,fallbackPlacements:c,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:v=!0,...b}=ve(e,t);if((i=o.arrow)!=null&&i.alignmentOffset)return{};const m=Q(s),y=H(a),p=Q(a)===a,_=await(l.isRTL==null?void 0:l.isRTL(h.floating)),w=c||(p||!v?[je(a)]:Ni(a)),S=f!=="none";!c&&S&&w.push(...Ti(a,v,f,_));const C=[a,...w],A=await l.detectOverflow(t,b),E=[];let R=((n=o.flip)==null?void 0:n.overflows)||[];if(g&&E.push(A[m]),d){const N=Ei(s,r,_);E.push(A[N[0]],A[N[1]])}if(R=[...R,{placement:s,overflows:E}],!E.every(N=>N<=0)){var _e,ie;const N=(((_e=o.flip)==null?void 0:_e.index)||0)+1,se=C[N];if(se&&(!(d==="alignment"?y!==H(se):!1)||R.every(M=>H(M.placement)===y?M.overflows[0]>0:!0)))return{data:{index:N,overflows:R},reset:{placement:se}};let W=(ie=R.filter(j=>j.overflows[0]<=0).sort((j,M)=>j.overflows[1]-M.overflows[1])[0])==null?void 0:ie.placement;if(!W)switch(u){case"bestFit":{var Se;const j=(Se=R.filter(M=>{if(S){const q=H(M.placement);return q===y||q==="y"}return!0}).map(M=>[M.placement,M.overflows.filter(q=>q>0).reduce((q,Es)=>q+Es,0)]).sort((M,q)=>M[1]-q[1])[0])==null?void 0:Se[0];j&&(W=j);break}case"initialPlacement":W=a;break}if(s!==W)return{reset:{placement:W}}}return{}}}},Vi=new Set(["left","top"]);async function Fi(e,t){const{placement:i,platform:n,elements:s}=e,o=await(n.isRTL==null?void 0:n.isRTL(s.floating)),r=Q(i),a=be(i),l=H(i)==="y",h=Vi.has(r)?-1:1,g=o&&l?-1:1,d=ve(t,e);let{mainAxis:c,crossAxis:u,alignmentAxis:f}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&typeof f=="number"&&(u=a==="end"?f*-1:f),l?{x:u*g,y:c*h}:{x:c*h,y:u*g}}const Bi=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var i,n;const{x:s,y:o,placement:r,middlewareData:a}=t,l=await Fi(t,e);return r===((i=a.offset)==null?void 0:i.placement)&&(n=a.arrow)!=null&&n.alignmentOffset?{}:{x:s+l.x,y:o+l.y,data:{...l,placement:r}}}}},Wi=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:i,y:n,placement:s,platform:o}=t,{mainAxis:r=!0,crossAxis:a=!1,limiter:l={fn:m=>{let{x:y,y:p}=m;return{x:y,y:p}}},...h}=ve(e,t),g={x:i,y:n},d=await o.detectOverflow(t,h),c=H(Q(s)),u=sn(c);let f=g[u],v=g[c];if(r){const m=u==="y"?"top":"left",y=u==="y"?"bottom":"right",p=f+d[m],_=f-d[y];f=lt(p,f,_)}if(a){const m=c==="y"?"top":"left",y=c==="y"?"bottom":"right",p=v+d[m],_=v-d[y];v=lt(p,v,_)}const b=l.fn({...t,[u]:f,[c]:v});return{...b,data:{x:b.x-i,y:b.y-n,enabled:{[u]:r,[c]:a}}}}}};function ze(){return typeof window<"u"}function ae(e){return cn(e)?(e.nodeName||"").toLowerCase():"#document"}function P(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function I(e){var t;return(t=(cn(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function cn(e){return ze()?e instanceof Node||e instanceof P(e).Node:!1}function L(e){return ze()?e instanceof Element||e instanceof P(e).Element:!1}function B(e){return ze()?e instanceof HTMLElement||e instanceof P(e).HTMLElement:!1}function dn(e){return!ze()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof P(e).ShadowRoot}function xe(e){const{overflow:t,overflowX:i,overflowY:n,display:s}=D(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+i)&&s!=="inline"&&s!=="contents"}function Gi(e){return/^(table|td|th)$/.test(ae(e))}function Ie(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const Hi=/transform|translate|scale|rotate|perspective|filter/,Ui=/paint|layout|strict|content/,ee=e=>!!e&&e!=="none";let ht;function ft(e){const t=L(e)?D(e):e;return ee(t.transform)||ee(t.translate)||ee(t.scale)||ee(t.rotate)||ee(t.perspective)||!ut()&&(ee(t.backdropFilter)||ee(t.filter))||Hi.test(t.willChange||"")||Ui.test(t.contain||"")}function qi(e){let t=U(e);for(;B(t)&&!ce(t);){if(ft(t))return t;if(Ie(t))return null;t=U(t)}return null}function ut(){return ht==null&&(ht=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),ht}function ce(e){return/^(html|body|#document)$/.test(ae(e))}function D(e){return P(e).getComputedStyle(e)}function Ve(e){return L(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function U(e){if(ae(e)==="html")return e;const t=e.assignedSlot||e.parentNode||dn(e)&&e.host||I(e);return dn(t)?t.host:t}function hn(e){const t=U(e);return ce(t)?e.ownerDocument?e.ownerDocument.body:e.body:B(t)&&xe(t)?t:hn(t)}function we(e,t,i){var n;t===void 0&&(t=[]),i===void 0&&(i=!0);const s=hn(e),o=s===((n=e.ownerDocument)==null?void 0:n.body),r=P(s);if(o){const a=gt(r);return t.concat(r,r.visualViewport||[],xe(s)?s:[],a&&i?we(a):[])}else return t.concat(s,we(s,[],i))}function gt(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function fn(e){const t=D(e);let i=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const s=B(e),o=s?e.offsetWidth:i,r=s?e.offsetHeight:n,a=Le(i)!==o||Le(n)!==r;return a&&(i=o,n=r),{width:i,height:n,$:a}}function pt(e){return L(e)?e:e.contextElement}function de(e){const t=pt(e);if(!B(t))return z(1);const i=t.getBoundingClientRect(),{width:n,height:s,$:o}=fn(t);let r=(o?Le(i.width):i.width)/n,a=(o?Le(i.height):i.height)/s;return(!r||!Number.isFinite(r))&&(r=1),(!a||!Number.isFinite(a))&&(a=1),{x:r,y:a}}const Xi=z(0);function un(e){const t=P(e);return!ut()||!t.visualViewport?Xi:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Yi(e,t,i){return t===void 0&&(t=!1),!i||t&&i!==P(e)?!1:t}function te(e,t,i,n){t===void 0&&(t=!1),i===void 0&&(i=!1);const s=e.getBoundingClientRect(),o=pt(e);let r=z(1);t&&(n?L(n)&&(r=de(n)):r=de(e));const a=Yi(o,i,n)?un(o):z(0);let l=(s.left+a.x)/r.x,h=(s.top+a.y)/r.y,g=s.width/r.x,d=s.height/r.y;if(o){const c=P(o),u=n&&L(n)?P(n):n;let f=c,v=gt(f);for(;v&&n&&u!==f;){const b=de(v),m=v.getBoundingClientRect(),y=D(v),p=m.left+(v.clientLeft+parseFloat(y.paddingLeft))*b.x,_=m.top+(v.clientTop+parseFloat(y.paddingTop))*b.y;l*=b.x,h*=b.y,g*=b.x,d*=b.y,l+=p,h+=_,f=P(v),v=gt(f)}}return Me({width:g,height:d,x:l,y:h})}function Fe(e,t){const i=Ve(e).scrollLeft;return t?t.left+i:te(I(e)).left+i}function gn(e,t){const i=e.getBoundingClientRect(),n=i.left+t.scrollLeft-Fe(e,i),s=i.top+t.scrollTop;return{x:n,y:s}}function Ki(e){let{elements:t,rect:i,offsetParent:n,strategy:s}=e;const o=s==="fixed",r=I(n),a=t?Ie(t.floating):!1;if(n===r||a&&o)return i;let l={scrollLeft:0,scrollTop:0},h=z(1);const g=z(0),d=B(n);if((d||!d&&!o)&&((ae(n)!=="body"||xe(r))&&(l=Ve(n)),d)){const u=te(n);h=de(n),g.x=u.x+n.clientLeft,g.y=u.y+n.clientTop}const c=r&&!d&&!o?gn(r,l):z(0);return{width:i.width*h.x,height:i.height*h.y,x:i.x*h.x-l.scrollLeft*h.x+g.x+c.x,y:i.y*h.y-l.scrollTop*h.y+g.y+c.y}}function Zi(e){return Array.from(e.getClientRects())}function Ji(e){const t=I(e),i=Ve(e),n=e.ownerDocument.body,s=J(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),o=J(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let r=-i.scrollLeft+Fe(e);const a=-i.scrollTop;return D(n).direction==="rtl"&&(r+=J(t.clientWidth,n.clientWidth)-s),{width:s,height:o,x:r,y:a}}const pn=25;function Qi(e,t){const i=P(e),n=I(e),s=i.visualViewport;let o=n.clientWidth,r=n.clientHeight,a=0,l=0;if(s){o=s.width,r=s.height;const g=ut();(!g||g&&t==="fixed")&&(a=s.offsetLeft,l=s.offsetTop)}const h=Fe(n);if(h<=0){const g=n.ownerDocument,d=g.body,c=getComputedStyle(d),u=g.compatMode==="CSS1Compat"&&parseFloat(c.marginLeft)+parseFloat(c.marginRight)||0,f=Math.abs(n.clientWidth-d.clientWidth-u);f<=pn&&(o-=f)}else h<=pn&&(o+=h);return{width:o,height:r,x:a,y:l}}function es(e,t){const i=te(e,!0,t==="fixed"),n=i.top+e.clientTop,s=i.left+e.clientLeft,o=B(e)?de(e):z(1),r=e.clientWidth*o.x,a=e.clientHeight*o.y,l=s*o.x,h=n*o.y;return{width:r,height:a,x:l,y:h}}function mn(e,t,i){let n;if(t==="viewport")n=Qi(e,i);else if(t==="document")n=Ji(I(e));else if(L(t))n=es(t,i);else{const s=un(e);n={x:t.x-s.x,y:t.y-s.y,width:t.width,height:t.height}}return Me(n)}function yn(e,t){const i=U(e);return i===t||!L(i)||ce(i)?!1:D(i).position==="fixed"||yn(i,t)}function ts(e,t){const i=t.get(e);if(i)return i;let n=we(e,[],!1).filter(a=>L(a)&&ae(a)!=="body"),s=null;const o=D(e).position==="fixed";let r=o?U(e):e;for(;L(r)&&!ce(r);){const a=D(r),l=ft(r);!l&&a.position==="fixed"&&(s=null),(o?!l&&!s:!l&&a.position==="static"&&!!s&&(s.position==="absolute"||s.position==="fixed")||xe(r)&&!l&&yn(e,r))?n=n.filter(g=>g!==r):s=a,r=U(r)}return t.set(e,n),n}function ns(e){let{element:t,boundary:i,rootBoundary:n,strategy:s}=e;const r=[...i==="clippingAncestors"?Ie(t)?[]:ts(t,this._c):[].concat(i),n],a=mn(t,r[0],s);let l=a.top,h=a.right,g=a.bottom,d=a.left;for(let c=1;c<r.length;c++){const u=mn(t,r[c],s);l=J(u.top,l),h=le(u.right,h),g=le(u.bottom,g),d=J(u.left,d)}return{width:h-d,height:g-l,x:d,y:l}}function is(e){const{width:t,height:i}=fn(e);return{width:t,height:i}}function ss(e,t,i){const n=B(t),s=I(t),o=i==="fixed",r=te(e,!0,o,t);let a={scrollLeft:0,scrollTop:0};const l=z(0);function h(){l.x=Fe(s)}if(n||!n&&!o)if((ae(t)!=="body"||xe(s))&&(a=Ve(t)),n){const u=te(t,!0,o,t);l.x=u.x+t.clientLeft,l.y=u.y+t.clientTop}else s&&h();o&&!n&&s&&h();const g=s&&!n&&!o?gn(s,a):z(0),d=r.left+a.scrollLeft-l.x-g.x,c=r.top+a.scrollTop-l.y-g.y;return{x:d,y:c,width:r.width,height:r.height}}function mt(e){return D(e).position==="static"}function vn(e,t){if(!B(e)||D(e).position==="fixed")return null;if(t)return t(e);let i=e.offsetParent;return I(e)===i&&(i=i.ownerDocument.body),i}function bn(e,t){const i=P(e);if(Ie(e))return i;if(!B(e)){let s=U(e);for(;s&&!ce(s);){if(L(s)&&!mt(s))return s;s=U(s)}return i}let n=vn(e,t);for(;n&&Gi(n)&&mt(n);)n=vn(n,t);return n&&ce(n)&&mt(n)&&!ft(n)?i:n||qi(e)||i}const os=async function(e){const t=this.getOffsetParent||bn,i=this.getDimensions,n=await i(e.floating);return{reference:ss(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function rs(e){return D(e).direction==="rtl"}const yt={convertOffsetParentRelativeRectToViewportRelativeRect:Ki,getDocumentElement:I,getClippingRect:ns,getOffsetParent:bn,getElementRects:os,getClientRects:Zi,getDimensions:is,getScale:de,isElement:L,isRTL:rs};function xn(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ls(e,t){let i=null,n;const s=I(e);function o(){var a;clearTimeout(n),(a=i)==null||a.disconnect(),i=null}function r(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),o();const h=e.getBoundingClientRect(),{left:g,top:d,width:c,height:u}=h;if(a||t(),!c||!u)return;const f=De(d),v=De(s.clientWidth-(g+c)),b=De(s.clientHeight-(d+u)),m=De(g),p={rootMargin:-f+"px "+-v+"px "+-b+"px "+-m+"px",threshold:J(0,le(1,l))||1};let _=!0;function w(S){const C=S[0].intersectionRatio;if(C!==l){if(!_)return r();C?r(!1,C):n=setTimeout(()=>{r(!1,1e-7)},1e3)}C===1&&!xn(h,e.getBoundingClientRect())&&r(),_=!1}try{i=new IntersectionObserver(w,{...p,root:s.ownerDocument})}catch{i=new IntersectionObserver(w,p)}i.observe(e)}return r(!0),o}function as(e,t,i,n){n===void 0&&(n={});const{ancestorScroll:s=!0,ancestorResize:o=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=n,h=pt(e),g=s||o?[...h?we(h):[],...t?we(t):[]]:[];g.forEach(m=>{s&&m.addEventListener("scroll",i,{passive:!0}),o&&m.addEventListener("resize",i)});const d=h&&a?ls(h,i):null;let c=-1,u=null;r&&(u=new ResizeObserver(m=>{let[y]=m;y&&y.target===h&&u&&t&&(u.unobserve(t),cancelAnimationFrame(c),c=requestAnimationFrame(()=>{var p;(p=u)==null||p.observe(t)})),i()}),h&&!l&&u.observe(h),t&&u.observe(t));let f,v=l?te(e):null;l&&b();function b(){const m=te(e);v&&!xn(v,m)&&i(),v=m,f=requestAnimationFrame(b)}return i(),()=>{var m;g.forEach(y=>{s&&y.removeEventListener("scroll",i),o&&y.removeEventListener("resize",i)}),d?.(),(m=u)==null||m.disconnect(),u=null,l&&cancelAnimationFrame(f)}}const cs=Bi,ds=Wi,hs=Ii,fs=zi,us=(e,t,i)=>{const n=new Map,s={platform:yt,...i},o={...s.platform,_c:n};return Mi(e,t,{...s,platform:o})};function wn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}const gs=/transform|translate|scale|rotate|perspective|filter/,ps=/paint|layout|strict|content/,ne=e=>!!e&&e!=="none";let vt;function ms(e){const t=(i=e,typeof window<"u"&&(i instanceof Element||i instanceof wn(i).Element)?wn(n=e).getComputedStyle(n):e);var i,n;return ne(t.transform)||ne(t.translate)||ne(t.scale)||ne(t.rotate)||ne(t.perspective)||(vt==null&&(vt=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),!vt&&(ne(t.backdropFilter)||ne(t.filter)))||gs.test(t.willChange||"")||ps.test(t.contain||"")}function ys(e){return(function(t){for(let i=t;i;i=bt(i))if(i instanceof Element&&getComputedStyle(i).display==="none")return null;for(let i=bt(t);i;i=bt(i)){if(!(i instanceof Element))continue;const n=getComputedStyle(i);if(n.display!=="contents"&&(n.position!=="static"||ms(n)||i.tagName==="BODY"))return i}return null})(e)}function bt(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}const he=globalThis.CSSStyleSheet!==void 0?new CSSStyleSheet:void 0;let _n=!1;he&&document.adoptedStyleSheets?document.adoptedStyleSheets.push(he):console.warn("CSSStyleSheet is not defined. Omitting constructed stylesheet behaviour.");let xt=null;const wt=globalThis.MutationObserver!==void 0?new MutationObserver((()=>{Sn()})):void 0,Sn=()=>{if(he===void 0)return!1;const e=(()=>{if(he===void 0)return;const t=[];for(let i=0;i<document.styleSheets.length;i++){const n=document.styleSheets.item(i);if(n)try{let s=-1,o=0;for(let r=0;r<n.cssRules.length;r++){const a=n.cssRules.item(r);if(a?.cssText.startsWith("gids-global-styles-start"))s=r;else if(s>-1){if(a?.cssText.startsWith("gids-global-styles-end")){o=r-s+1;break}t.push(a)}}if(s>-1)return{rulesStartIndex:s,originalRulesCount:o,rules:t,styleSheet:n}}catch(s){if(!(s instanceof DOMException))throw s}}})();if(e!==void 0){const t=e.styleSheet.ownerNode;return wt!==void 0&&t!==xt&&(xt&&wt.disconnect(),t instanceof Element&&wt.observe(t,{childList:!0,characterData:!0,subtree:!0}),xt=t),he.replaceSync((i=>i.rules.map((n=>n.cssText)).join(""))(e)),(i=>{const{rulesStartIndex:n,originalRulesCount:s,styleSheet:o}=i;for(let r=0;r<s;r++)o.deleteRule(n)})(e),!0}return console.warn("refreshConstructedGidsStylesheet: Gids stylesheet is not found in document."),!1},vs=()=>(_n||(_n=Sn()),he),{getGidsAdvancedTooltipClassNames:bs}=ei,xs=Pe(class extends ue{constructor(e){super(),e!==!1&&this.__registerHost(),this.__attachShadow(),this.visible=!1,this.x=0,this.y=0,this.offset=12,this.placement="top",this.items=[],this.currentPlacement="top"}connectedCallback(){const e=vs();e&&this.host.shadowRoot?.adoptedStyleSheets.push(e)}componentDidLoad(){const e=this.host.shadowRoot;if(!e)return;const t=e.querySelector(".gids-advanced-tooltip__arrow");t instanceof ue&&(this.tooltipElement=this.host,this.arrowElement=t,this.createVirtualReference(),this.startAutoUpdate(),this.updatePosition())}disconnectedCallback(){this.cleanupAutoUpdate?.()}visibleChanged(){this.updatePosition()}positionChanged(){this.updatePosition()}placementChanged(){this.updatePosition()}itemsChanged(){this.updatePosition()}createVirtualReference(){this.virtualReference||(this.virtualReference={getBoundingClientRect:()=>new DOMRect(this.x,this.y,0,0)})}startAutoUpdate(){this.cleanupAutoUpdate?.(),this.cleanupAutoUpdate=as(this.virtualReference,this.tooltipElement,(()=>{this.updatePosition()}),{ancestorScroll:!0,ancestorResize:!1,elementResize:!0,layoutShift:!0,animationFrame:!0})}getMiddleware(){return[cs(this.offset),hs({padding:this.offset}),ds({padding:this.offset}),fs({element:this.arrowElement,padding:this.offset})]}async updatePosition(){if(this.tooltipElement)try{const{x:e,y:t,placement:i,middlewareData:n}=await us(this.virtualReference,this.tooltipElement,{placement:this.placement,strategy:"fixed",middleware:this.getMiddleware(),platform:{...yt,getOffsetParent:s=>yt.getOffsetParent(s,ys)}});if(this.currentPlacement=i,Object.assign(this.tooltipElement.style,{left:`${e}px`,top:`${t}px`,position:"fixed"}),n.arrow&&this.arrowElement){const{x:s,y:o}=n.arrow;let r;switch(i.split("-")[0]??"top"){case"top":r="bottom";break;case"right":r="left";break;case"bottom":r="top";break;default:r="right"}Object.assign(this.arrowElement.style,{left:s!=null?`${s}px`:"",top:o!=null?`${o}px`:"",right:"",bottom:"",[r]:"-5px",transform:"rotate(45deg)"})}}catch(e){console.error("computePosition failed",e)}}render(){const e=bs({visible:this.visible});return x($t,{key:"6152e667a5224e6808917a1182a5e105239457b9",class:e,role:"tooltip",part:"tooltip"},x("div",{key:"038cf107a7ff1936ca8bc28cfd0a913f4c1bf7d2",class:"gids-advanced-tooltip__arrow",part:"arrow"}),x("div",{key:"6cae35d1b61d4e45175909375f69754e762b38b2",class:"gids-advanced-tooltip__content"},this.items.map((t=>x("div",{class:"gids-advanced-tooltip__item",key:`${t.label}-${t.value}`},x("div",{class:"gids-advanced-tooltip__left"},x(rt,{name:"new",size:"xs",appearance:"filled",style:{"--gidsIcon-color":t.seriesIndicatorColor}}),x("span",{class:"gids-advanced-tooltip__label"},t.label)),x("span",{class:"gids-advanced-tooltip__value"},t.value))))))}get host(){return this}static get watchers(){return{visible:[{visibleChanged:0}],x:[{positionChanged:0}],y:[{positionChanged:0}],placement:[{placementChanged:0}],items:[{itemsChanged:0}]}}static get style(){return".gids-advanced-tooltip{position:fixed;display:inline-flex;width:fit-content;height:fit-content;z-index:1001;--gidsAdvancedTooltip-background:var( --gids-color-background-neutral-bold-default );--gidsAdvancedTooltip-label-color:var(--gids-color-text-inverse);--gidsAdvancedTooltip-value-color:var(--gids-color-text-inverse)}.gids-advanced-tooltip--visible{opacity:1}.gids-advanced-tooltip__content{box-shadow:var(--gids-elevation-shadow-overlay);background:var(--gidsAdvancedTooltip-background);border-radius:var(--gids-border-radius-md);padding:var(--gids-padding-vertical-edge-to-element-150) var(--gids-padding-horizontal-edge-to-element-150);min-width:140px}.gids-advanced-tooltip__item{display:flex;justify-content:space-between;align-items:center;gap:var(--gids-gap-200)}.gids-advanced-tooltip__item+.gids-advanced-tooltip__item{margin-top:var(--gids-padding-vertical-edge-to-element-075)}.gids-advanced-tooltip__left{display:flex;align-items:center;gap:var(--gids-gap-100)}.gids-advanced-tooltip__arrow{position:absolute;width:10px;height:10px;background:var(--gidsAdvancedTooltip-background);backdrop-filter:calc(var(--gids-backdrop-blur-2-xl));transform:rotate(45deg)}.gids-advanced-tooltip__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);color:var(--gidsAdvancedTooltip-label-color)}.gids-advanced-tooltip__value{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);color:var(--gidsAdvancedTooltip-value-color);white-space:nowrap}"}},[1,"gids-advanced-tooltip",{visible:[516],x:[2],y:[2],offset:[2],placement:[1],items:[16],currentPlacement:[32]},void 0,{visible:[{visibleChanged:0}],x:[{positionChanged:0}],y:[{positionChanged:0}],placement:[{placementChanged:0}],items:[{itemsChanged:0}]}]);function Cn(){typeof customElements<"u"&&["gids-advanced-tooltip"].forEach((e=>{e==="gids-advanced-tooltip"&&(customElements.get(e)||customElements.define(e,xs))}))}Cn();const{getGidsChartLegendClassNames:ws}=ri,_s=Pe(class extends ue{constructor(e){super(),e!==!1&&this.__registerHost(),this.orientation="horizontal"}handleOrientationChange(e){this.orientation=e}render(){const e=ws({orientation:this.orientation});return x("div",{key:"d8930dd78a4d923145c5985f2c04f033281c98e7",class:e},x("slot",{key:"df109d03028671987581408c825d870ae8a5d28e"}))}static get watchers(){return{orientation:[{handleOrientationChange:0}]}}static get style(){return".gids-chart-legend{display:inline-flex;align-items:flex-start;gap:var(--gids-gap-150)}.gids-chart-legend--orientation-vertical{flex-direction:column;gap:var(--gids-gap-050)}"}},[260,"gids-chart-legend",{orientation:[1]},void 0,{orientation:[{handleOrientationChange:0}]}]);function On(){typeof customElements<"u"&&["gids-chart-legend"].forEach((e=>{e==="gids-chart-legend"&&(customElements.get(e)||customElements.define(e,_s))}))}On();const{getGidsChartLegendItemClassNames:Ss}=oi,Cs=Pe(class extends ue{constructor(e){super(),e!==!1&&this.__registerHost(),this.orientation="horizontal",this.seriesType="1"}handleOrientationChange(e){this.orientation=e}handleSeriesTypeChange(e){this.seriesType=e}handleSeriesColorChange(e){this.seriesColor=e}render(){const e=this.seriesColor,t=e&&e!=="",i=Ss({seriesType:t?"none":this.seriesType,orientation:this.orientation});return x("div",{key:"db67ecf697bef6636b7355746b627db8c3611fa2",class:i},x("div",{key:"b97a49db6ba7bd04b1627105a3620630bd49271d",class:this.orientation==="vertical"?"gids-chart-legend-item__dot-wrapper-vertical":"gids-chart-legend-item__dot-wrapper-horizontal"},x(rt,{key:"1377932ffbdeff6a20afc18cd9afdaf766373858",name:"new",alt:"new_icon",appearance:"filled",style:t?{"--gidsIcon-color":e}:{}})),x("span",{key:"66484c78316a9f49d439b2866db123f8744dae18",class:"gids-chart-legend-item__label"},x("slot",{key:"2c641289641133bc01400d0b8e280514d8661ad6"})))}static get watchers(){return{orientation:[{handleOrientationChange:0}],seriesType:[{handleSeriesTypeChange:0}],seriesColor:[{handleSeriesColorChange:0}]}}static get style(){return".gids-chart-legend-item{display:flex;align-items:center;gap:var(--gids-gap-100);--gidsChartLegendItemIcon-color:var(--gids-color-icon-subtle);--gidsIcon-color:var(--gidsChartLegendItemIcon-color);--gidsIcon-height:var(--gids-size-080)}.gids-chart-legend-item--orientation-vertical{display:flex}.gids-chart-legend-item--series-2{--gidsChartLegendItemIcon-color:var(--gids-color-icon-warning)}.gids-chart-legend-item--series-3{--gidsChartLegendItemIcon-color:var(--gids-color-icon-danger)}.gids-chart-legend-item--series-4{--gidsChartLegendItemIcon-color:var(--gids-color-background-positive-bold-hovered)}.gids-chart-legend-item--series-5{--gidsChartLegendItemIcon-color:var(--gids-color-background-information-bold-default)}.gids-chart-legend-item--series-6{--gidsChartLegendItemIcon-color:rgb(238, 70, 188)}.gids-chart-legend-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);text-align:left;color:var(--gids-color-text-subtlest)}.gids-chart-legend-item__dot-wrapper-vertical{display:flex;padding-top:var(--gids-padding-vertical-edge-to-element-075)}.gids-chart-legend-item__dot-wrapper-horizontal{display:flex;align-items:center}"}},[260,"gids-chart-legend-item",{orientation:[1],seriesType:[1,"series-type"],seriesColor:[1,"series-color"]},void 0,{orientation:[{handleOrientationChange:0}],seriesType:[{handleSeriesTypeChange:0}],seriesColor:[{handleSeriesColorChange:0}]}]);function An(){typeof customElements<"u"&&["gids-chart-legend-item"].forEach((e=>{e==="gids-chart-legend-item"&&(customElements.get(e)||customElements.define(e,Cs))}))}An();const{getGidsLineChartClassNames:Os}=ai,kn=Pe(class extends ue{constructor(e){super(),e!==!1&&this.__registerHost(),this.breakpoint="desktop",this.legend="none",this.chartData=[],this.yAxisVisible=!1,this.dataPoints=[],this.chartLoaderSize="lg",this.chartLoading=!1,this.width=0,this.height=0,this.hoveredIndex=null,this.tooltip={visible:!1,x:0,y:0}}chartDataChanged(){this.updateDimensions()}dataPointsChanged(e){this.dataPoints=e}legendChanged(e){this.legend=e}yAxisVisibilityChanged(e){this.yAxisVisible=e}componentDidLoad(){this.updateDimensions(),this.resizeObserver=new ResizeObserver((()=>this.updateDimensions())),this.hostElement.parentElement&&this.resizeObserver.observe(this.hostElement.parentElement)}disconnectedCallback(){this.resizeObserver&&this.resizeObserver.disconnect()}updateDimensions(){const e=this.hostElement.getBoundingClientRect();this.width=e.width,this.height=e.height>0?e.height:300}getTooltipItems(e){return this.chartData.reduce(((t,i)=>{const n=i.data[e];return n&&t.push({label:i?.label??"",value:String(n.value),seriesIndicatorColor:i?.seriesColor??""}),t}),[])}render(){if(this.chartLoading)return x("div",{class:"gids-line-chart__no-data"},x(Ci,{label:this.chartLoadingTitle,supportingText:this.chartLoadingSupportingText,size:this?.chartLoaderSize??"lg"}));const e=this.chartData.flatMap((c=>Array.isArray(c?.data)?c.data.map((u=>u.value)):[])),t=e.length>0?Math.max(...e):10,i=Math.pow(10,Math.floor(Math.log10(t||1)));let n=i;t/i<=2?n=i/5:t/i<=5&&(n=i/2);const s=Math.ceil(t/n)*n;let o=[];if(Array.isArray(this.dataPoints)&&this.dataPoints.length>0)o=[...this.dataPoints].sort(((c,u)=>c-u));else{const u=s/4;for(let f=0;f<5;f++)o.push(Math.round(0+f*u))}const r=Math.max(...o,s)-0||1,a=this?.chartData?.[0]?.data?.map((c=>c.label))??[],l=a.length,h=Os({breakpoint:this.breakpoint});let g=!1,d=!1;return this.breakpoint==="mobile"?this.legend!=="none"&&(g=!0):this.legend==="top"?g=!0:this.legend==="right"&&(d=!0),x("div",{class:h},g?x("div",{class:"gids-line-chart__header"},x("gids-chart-legend",{orientation:"horizontal"},this.chartData.map((c=>x("gids-chart-legend-item",{key:c.label,seriesColor:c?.seriesColor,orientation:"horizontal"},c.label))))):null,x("div",{class:"gids-line-chart__main-container"},x("div",{class:"gids-line-chart__grid-layout"},x("span",{class:"gids-line-chart__y-axis-label"},this.yAxisLabel),x("div",{class:"gids-line-chart__chart-stage-container"},this.yAxisVisible?x("div",{class:"gids-line-chart__y-axis-scale-container"},o.map((c=>x("span",{id:"y-value",class:"gids-line-chart__scale-text gids-line-chart__y-axis-scale-value",key:c,style:{bottom:(c-0)/r*100+"%"}},c)))):null,x("div",{class:"gids-line-chart__chart-stage"},x("svg",{viewBox:"0 0 100 100",class:"gids-line-chart__chart-vector",preserveAspectRatio:"none"},x("defs",null,this.chartData.map(((c,u)=>{const f=c?.fillGradientStartColor,v=c?.fillGradientEndColor;return x("linearGradient",{id:`areaGradient-${u}`,x1:"0",y1:"0",x2:"0",y2:"1",key:u},x("stop",{offset:"0%",style:{stopColor:f,stopOpacity:"1"}}),x("stop",{offset:"100%",style:{stopColor:v,stopOpacity:"0"}}))}))),o.map((c=>{const u=100-(c-0)/r*100;return x("line",{x1:"0",y1:u,x2:"100",y2:u,class:"gids-line-chart__grid-line",key:c})})),this.chartData.map(((c,u)=>{if(!Array.isArray(c.data)||c.data.length<2)return null;const f=c.data.map(((v,b)=>`${b===0?"M":"L"} ${b/(l-1)*100} ${100-(v.value-0)/r*100}`)).join(" ");return x("g",{key:c.label||u},x("path",{d:`${f} L 100 100 L 0 100 Z`,fill:`url(#areaGradient-${u})`,opacity:c?.fillOpacity??"0.1",class:"gids-line-chart__chart-area"}),x("path",{d:f,class:"gids-line-chart__chart-line",fill:"none",style:{stroke:c?.seriesColor,strokeWidth:"2px"}}))})),x("rect",{x:"0",y:"0",width:"100",height:"100",fill:"transparent","pointer-events":"all",onMouseMove:c=>{const u=c.currentTarget.getBoundingClientRect(),f=Math.round((c.clientX-u.left)/u.width*(l-1));this.hoveredIndex=f,this.tooltip={visible:!0,x:c.clientX,y:c.clientY}},onMouseLeave:()=>{this.hoveredIndex=null,this.tooltip={...this.tooltip,visible:!1}}})),this.hoveredIndex!==null&&this.chartData.map(((c,u)=>{if(this.hoveredIndex===null)return;const f=this.hoveredIndex,v=c.data[f];return v?x("div",{id:`chart-dot-${u}`,class:"gids-line-chart__hover-dot",style:{left:f/(l-1)*100+"%",top:100-(v.value-0)/r*100+"%"}},x(rt,{name:"new",size:"xs",appearance:"filled",style:{"--gidsIcon-color":c.seriesColor}})):null})),x("gids-advanced-tooltip",{visible:this.tooltip.visible,x:this.tooltip.x,y:this.tooltip.y,items:this.hoveredIndex!==null?this.getTooltipItems(this.hoveredIndex):[]}))),x("div",{class:"gids-line-chart__x-axis-scale-container"},a.map(((c,u)=>x("span",{class:"gids-line-chart__scale-text",key:u},c)))),x("span",{class:"gids-line-chart__x-axis-label"},this.xAxisLabel)),d?x("gids-chart-legend",{orientation:"vertical"},this.chartData.map((c=>x("gids-chart-legend-item",{key:c.label,seriesColor:c?.seriesColor,orientation:"vertical"},c.label)))):null))}get hostElement(){return this}static get watchers(){return{chartData:[{chartDataChanged:0}],dataPoints:[{dataPointsChanged:0}],legend:[{legendChanged:0}],yAxisVisible:[{yAxisVisibilityChanged:0}]}}static get style(){return":host{display:block;width:100%;height:100%;box-sizing:border-box}.gids-line-chart{display:flex;flex-direction:column;width:100%;height:100%;box-sizing:border-box}.gids-line-chart--breakpoint-mobile{max-width:var(--gids-width-xs)}.gids-line-chart__main-container{display:flex;gap:var(--gids-gap-200)}.gids-line-chart__header{display:flex;justify-content:flex-end;align-items:center;width:100%;margin-bottom:var(--gids-padding-vertical-edge-to-element-200)}.gids-line-chart__grid-layout{display:grid;grid-template-columns:auto 1fr;grid-template-rows:minmax(180px, 280px) auto auto;flex:1;width:100%;height:100%;box-sizing:border-box}.gids-line-chart__y-axis-label{grid-column:1;grid-row:1;display:flex;align-items:center;justify-content:center;margin-right:var(--gids-padding-horizontal-edge-to-element-600);font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit);color:var(--gids-color-text-subtlest);writing-mode:vertical-rl;transform:rotate(180deg);white-space:nowrap}.gids-line-chart__chart-stage-container{grid-column:2;grid-row:1;position:relative;width:100%;height:100%;padding-left:var(--gids-container-padding-desktop);box-sizing:border-box}.gids-line-chart__y-axis-scale-container{position:absolute;top:0;bottom:0;left:0;width:calc(var(--gids-container-padding-desktop) - var(--gids-padding-horizontal-edge-to-element-100));pointer-events:none}.gids-line-chart__y-axis-scale-value{position:absolute;right:0;transform:translateY(50%);margin-right:var(--gids-padding-horizontal-edge-to-element-100)}.gids-line-chart__chart-stage{position:relative;width:100%;height:100%;border-bottom:var(--gids-border-width-thin) solid var(--gids-color-border-default);box-sizing:border-box}.gids-line-chart__chart-vector{display:block;width:100%;height:100%;overflow:visible}.gids-line-chart__grid-line{stroke:var(--gids-color-border-default);stroke-width:0.5;fill:none}.gids-line-chart__chart-area{stroke:none}.gids-line-chart__chart-line{fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.gids-line-chart__x-axis-scale-container{display:flex;grid-column:2;grid-row:2;justify-content:space-between;align-items:center;padding-left:var(--gids-container-padding-desktop);padding-top:var(--gids-padding-vertical-edge-to-element-200);gap:var(--gids-gap-050);box-sizing:border-box}.gids-line-chart__x-axis-label{grid-column:2;grid-row:3;display:flex;justify-content:center;align-items:center;padding-top:var(--gids-padding-vertical-edge-to-element-100);font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit);color:var(--gids-color-text-subtlest);white-space:nowrap}.gids-line-chart__scale-text{font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit);color:var(--gids-color-text-subtlest);user-select:none;white-space:nowrap}.gids-line-chart__no-data{display:flex;align-items:center;justify-content:center;padding:var(--gids-padding-vertical-edge-to-element-300) var(--gids-padding-horizontal-edge-to-element-100);width:100%;height:100%;min-height:200px;color:var(--gids-color-text-subtlest);border:var(--gids-border-width-thin) dashed var(--gids-color-border-default);border-radius:var(--gids-border-radius-md)}.gids-line-chart__hover-dot{position:absolute;transform:translate(-50%, -50%);pointer-events:none;z-index:20}"}},[0,"gids-line-chart",{breakpoint:[1],legend:[1],chartData:[16],yAxisVisible:[4,"y-axis-visible"],xAxisLabel:[1,"x-axis-label"],yAxisLabel:[1,"y-axis-label"],dataPoints:[16],chartLoaderSize:[1,"chart-loader-size"],chartLoading:[4,"chart-loading"],chartLoadingTitle:[1,"chart-loading-title"],chartLoadingSupportingText:[1,"chart-loading-supporting-text"],width:[32],height:[32],hoveredIndex:[32],tooltip:[32]},void 0,{chartData:[{chartDataChanged:0}],dataPoints:[{dataPointsChanged:0}],legend:[{legendChanged:0}],yAxisVisible:[{yAxisVisibilityChanged:0}]}]);function En(){typeof customElements<"u"&&["gids-line-chart","gids-advanced-tooltip","gids-chart-legend","gids-chart-legend-item"].forEach((e=>{switch(e){case"gids-line-chart":customElements.get(e)||customElements.define(e,kn);break;case"gids-advanced-tooltip":customElements.get(e)||Cn();break;case"gids-chart-legend":customElements.get(e)||On();break;case"gids-chart-legend-item":customElements.get(e)||An()}}))}En();const As=kn,ks=En;X.GidsLineChart=As,X.defineCustomElement=ks,Object.defineProperty(X,Symbol.toStringTag,{value:"Module"})}));