@ganpatiinfo/gids-core-web 20.0.0 → 22.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (288) hide show
  1. package/dist/css/index.css +607 -59
  2. package/dist/css/index.css.map +1 -1
  3. package/dist/gids-action-bar.d.ts +1 -1
  4. package/dist/gids-action-bar.js +1 -1
  5. package/dist/gids-activity-gauge.d.ts +1 -1
  6. package/dist/gids-activity-gauge.js +1 -1
  7. package/dist/gids-advanced-tooltip.d.ts +1 -1
  8. package/dist/gids-advanced-tooltip.js +1 -1
  9. package/dist/gids-bar-chart.d.ts +1 -1
  10. package/dist/gids-bar-chart.js +1 -1
  11. package/dist/gids-bento-card.d.ts +1 -1
  12. package/dist/gids-bento-card.js +1 -1
  13. package/dist/gids-calendar-header-panel.d.ts +1 -1
  14. package/dist/gids-calendar-header-panel.js +1 -1
  15. package/dist/gids-calendar-month-list.d.ts +1 -1
  16. package/dist/gids-calendar-month-list.js +1 -1
  17. package/dist/gids-calendar-year-list.d.ts +1 -1
  18. package/dist/gids-calendar-year-list.js +1 -1
  19. package/dist/gids-calendar.d.ts +1 -1
  20. package/dist/gids-calendar.js +1 -1
  21. package/dist/gids-carousel.d.ts +1 -1
  22. package/dist/gids-chart-legend-item.d.ts +1 -1
  23. package/dist/gids-chart-legend-item.js +1 -1
  24. package/dist/gids-chart-legend.d.ts +1 -1
  25. package/dist/gids-chart-legend.js +1 -1
  26. package/dist/gids-chart.d.ts +1 -1
  27. package/dist/gids-chart.js +1 -1
  28. package/dist/gids-chevron-button.d.ts +1 -1
  29. package/dist/gids-chevron-button.js +1 -1
  30. package/dist/gids-dot.d.ts +1 -1
  31. package/dist/gids-dot.js +1 -1
  32. package/dist/gids-dropdown-field.d.ts +1 -1
  33. package/dist/gids-dropdown-field.js +1 -1
  34. package/dist/gids-dropdown-picker.d.ts +1 -1
  35. package/dist/gids-dropdown-picker.js +1 -1
  36. package/dist/gids-dropdown.d.ts +1 -1
  37. package/dist/gids-dropdown.js +1 -1
  38. package/dist/gids-expansion-body-list-item.d.ts +1 -1
  39. package/dist/gids-expansion-body-list-item.js +1 -1
  40. package/dist/gids-expansion-body-list.d.ts +1 -1
  41. package/dist/gids-expansion-body-list.js +1 -1
  42. package/dist/gids-expansion-group.d.ts +1 -1
  43. package/dist/gids-expansion-group.js +1 -1
  44. package/dist/gids-expansion.d.ts +1 -1
  45. package/dist/gids-expansion.js +1 -1
  46. package/dist/gids-field.d.ts +1 -1
  47. package/dist/gids-field.js +1 -1
  48. package/dist/gids-filter.d.ts +1 -1
  49. package/dist/gids-filter.js +1 -1
  50. package/dist/gids-flyout-panel.d.ts +1 -1
  51. package/dist/gids-flyout-panel.js +1 -1
  52. package/dist/gids-form.d.ts +11 -0
  53. package/dist/gids-form.js +1 -0
  54. package/dist/gids-header-navigation-item.d.ts +1 -1
  55. package/dist/gids-header-navigation-item.js +1 -1
  56. package/dist/gids-header-navigation.d.ts +1 -1
  57. package/dist/gids-header-navigation.js +1 -1
  58. package/dist/gids-icon.d.ts +1 -1
  59. package/dist/gids-icon.js +1 -1
  60. package/dist/gids-input.d.ts +1 -1
  61. package/dist/gids-input.js +1 -1
  62. package/dist/gids-level-gauge.d.ts +1 -1
  63. package/dist/gids-line-chart.d.ts +1 -1
  64. package/dist/gids-line-chart.js +1 -1
  65. package/dist/gids-md-table.d.ts +1 -1
  66. package/dist/gids-md-table.js +1 -1
  67. package/dist/gids-notification.d.ts +1 -1
  68. package/dist/gids-overflow-container.d.ts +1 -1
  69. package/dist/gids-overflow-container.js +1 -1
  70. package/dist/gids-overlay-provider.d.ts +1 -1
  71. package/dist/gids-overlay-provider.js +1 -1
  72. package/dist/gids-password-field.d.ts +1 -1
  73. package/dist/gids-password-field.js +1 -1
  74. package/dist/gids-pie-chart.d.ts +1 -1
  75. package/dist/gids-pie-chart.js +1 -1
  76. package/dist/gids-popover.d.ts +1 -1
  77. package/dist/gids-popover.js +1 -1
  78. package/dist/gids-profile-menu-header.d.ts +1 -1
  79. package/dist/gids-profile-menu-header.js +1 -1
  80. package/dist/gids-profile-menu.d.ts +1 -1
  81. package/dist/gids-profile-menu.js +1 -1
  82. package/dist/gids-profile.d.ts +1 -1
  83. package/dist/gids-profile.js +1 -1
  84. package/dist/gids-progress-circle.d.ts +1 -1
  85. package/dist/gids-scrim.d.ts +1 -1
  86. package/dist/gids-scrim.js +1 -1
  87. package/dist/gids-sidebar-item.d.ts +11 -0
  88. package/dist/gids-sidebar-item.js +1 -0
  89. package/dist/gids-sidebar-menu.d.ts +11 -0
  90. package/dist/gids-sidebar-menu.js +1 -0
  91. package/dist/gids-sidebar.d.ts +11 -0
  92. package/dist/gids-sidebar.js +1 -0
  93. package/dist/gids-skeleton.d.ts +1 -1
  94. package/dist/gids-skeleton.js +1 -1
  95. package/dist/gids-snackbar.d.ts +1 -1
  96. package/dist/gids-tab-item.d.ts +1 -1
  97. package/dist/gids-tab-item.js +1 -1
  98. package/dist/gids-tab.d.ts +1 -1
  99. package/dist/gids-tab.js +1 -1
  100. package/dist/gids-text-field.d.ts +1 -1
  101. package/dist/gids-text-field.js +1 -1
  102. package/dist/gids-toggle-button.d.ts +1 -1
  103. package/dist/gids-toggle-button.js +1 -1
  104. package/dist/gids-tooltip.d.ts +1 -1
  105. package/dist/gids-tooltip.js +1 -1
  106. package/dist/gids-transfer-list.d.ts +1 -1
  107. package/dist/gids-transfer-list.js +1 -1
  108. package/dist/p--kh67-_Z.js +1 -0
  109. package/dist/{p-DrDadv7P.js → p-B2flLE0s.js} +1 -1
  110. package/dist/{p-jGho9nbS.js → p-BAqWcL0K.js} +1 -1
  111. package/dist/p-BCbovLBE.js +1 -0
  112. package/dist/{p-PcSMc4jQ.js → p-BIxBMTG9.js} +1 -1
  113. package/dist/{p-DgKrPmDn.js → p-BQT5yy5L.js} +1 -1
  114. package/dist/p-BRNvHMdK.js +1 -0
  115. package/dist/{p-CBiu-Vh3.js → p-B_FEFM5I.js} +1 -1
  116. package/dist/{p-Dw_kb9MC.js → p-B_St7yaX.js} +1 -1
  117. package/dist/{p-D0coZTd2.js → p-CAjDiWIc.js} +1 -1
  118. package/dist/{p-DYjV5XrH.js → p-CIjK3iHM.js} +1 -1
  119. package/dist/p-CV1-78HB.js +1 -0
  120. package/dist/{p-BdsUwTgh.js → p-D0RJMGGj.js} +1 -1
  121. package/dist/{p-CH4nrjpL.js → p-DKSnGphd.js} +1 -1
  122. package/dist/{p-CIxuyUAl.js → p-DLRj-mUX.js} +1 -1
  123. package/dist/{p-DKOr5iAk.js → p-DMxvWIj1.js} +1 -1
  124. package/dist/p-DQQhGF5N.js +1 -0
  125. package/dist/p-DZ1ZcTMe.js +1 -0
  126. package/dist/{p-BthkC6NU.js → p-DnRuhvRw.js} +1 -1
  127. package/dist/p-DpvdbdZ-.js +1 -0
  128. package/dist/{p-DZ6xQXis.js → p-DrxfD2yZ.js} +1 -1
  129. package/dist/{p-C6GHG170.js → p-Ds5IzXj3.js} +1 -1
  130. package/dist/{p-j2_DKwBz.js → p-DzOOjiNH.js} +1 -1
  131. package/dist/{p-Cacy0Dji.js → p-E13ycS5K.js} +1 -1
  132. package/dist/{p-Cz9nwmgK.js → p-TfH966_e.js} +1 -1
  133. package/dist/{p-CMW3SjbP.js → p-_W77iniK.js} +1 -1
  134. package/dist/p-bfWlRsx_.js +1 -0
  135. package/dist/p-kWyyLyT3.js +1 -0
  136. package/dist/{p-CrqHKmjy.js → p-mv_7K1EM.js} +1 -1
  137. package/dist/{p-xbqOQZl9.js → p-tEbUT3n3.js} +1 -1
  138. package/dist/types/components/html/GidsSidebarMenuItem/GidsSidebarMenuItem.d.ts +6 -0
  139. package/dist/types/components/shared/GidsFloatingElementManager.d.ts +1 -1
  140. package/dist/types/components/webComponents/GidsFlyoutPanel/GidsFlyoutPanel.d.ts +4 -0
  141. package/dist/types/components/webComponents/GidsForm/GidsForm.d.ts +32 -0
  142. package/dist/types/components/webComponents/GidsProfileMenuHeader/GidsProfileMenuHeader.d.ts +2 -0
  143. package/dist/types/components/webComponents/GidsSidebar/GidsSidebar.d.ts +55 -0
  144. package/dist/types/components/webComponents/GidsSidebarItem/GidsSidebarItem.d.ts +56 -0
  145. package/dist/types/components/webComponents/GidsSidebarMenu/GidsSidebarMenu.d.ts +38 -0
  146. package/dist/types/components.d.ts +462 -2
  147. package/dist-bundled/es/gids-action-bar.js +7 -7
  148. package/dist-bundled/es/gids-activity-gauge.js +3 -3
  149. package/dist-bundled/es/gids-advanced-tooltip.js +1 -1
  150. package/dist-bundled/es/gids-bar-chart.js +3 -3
  151. package/dist-bundled/es/gids-bento-card.js +1 -1
  152. package/dist-bundled/es/gids-calendar-header-panel.js +3 -3
  153. package/dist-bundled/es/gids-calendar-month-list.js +3 -3
  154. package/dist-bundled/es/gids-calendar-year-list.js +1 -1
  155. package/dist-bundled/es/gids-calendar.js +23 -23
  156. package/dist-bundled/es/gids-carousel.js +1 -1
  157. package/dist-bundled/es/gids-chart-legend-item.js +3 -3
  158. package/dist-bundled/es/gids-chart-legend.js +4 -4
  159. package/dist-bundled/es/gids-chart.js +21 -21
  160. package/dist-bundled/es/gids-chevron-button.js +4 -4
  161. package/dist-bundled/es/gids-dot.js +1 -1
  162. package/dist-bundled/es/gids-dropdown-field.js +5 -5
  163. package/dist-bundled/es/gids-dropdown-picker.js +4 -4
  164. package/dist-bundled/es/gids-dropdown.js +3 -3
  165. package/dist-bundled/es/gids-expansion-body-list-item.js +3 -3
  166. package/dist-bundled/es/gids-expansion-body-list.js +2 -2
  167. package/dist-bundled/es/gids-expansion-group.js +4 -4
  168. package/dist-bundled/es/gids-expansion.js +7 -7
  169. package/dist-bundled/es/gids-field.js +3 -3
  170. package/dist-bundled/es/gids-filter.js +1 -1
  171. package/dist-bundled/es/gids-flyout-panel.js +4 -108
  172. package/dist-bundled/es/gids-form.js +92 -0
  173. package/dist-bundled/es/gids-header-navigation-item.js +3 -3
  174. package/dist-bundled/es/gids-header-navigation.js +49 -62
  175. package/dist-bundled/es/gids-icon.js +3 -3
  176. package/dist-bundled/es/gids-input.js +1 -1
  177. package/dist-bundled/es/gids-line-chart.js +1 -1
  178. package/dist-bundled/es/gids-md-table.js +54 -54
  179. package/dist-bundled/es/gids-overflow-container.js +4 -4
  180. package/dist-bundled/es/gids-overlay-provider.js +2 -2
  181. package/dist-bundled/es/gids-password-field.js +12 -12
  182. package/dist-bundled/es/gids-pie-chart.js +4 -4
  183. package/dist-bundled/es/gids-popover.js +1 -1
  184. package/dist-bundled/es/gids-profile-menu-header.js +1 -1
  185. package/dist-bundled/es/gids-profile-menu.js +4 -4
  186. package/dist-bundled/es/gids-profile.js +13 -13
  187. package/dist-bundled/es/gids-scrim.js +1 -1
  188. package/dist-bundled/es/gids-sidebar-item.js +6 -0
  189. package/dist-bundled/es/gids-sidebar-menu.js +6 -0
  190. package/dist-bundled/es/gids-sidebar.js +150 -0
  191. package/dist-bundled/es/gids-skeleton.js +1 -1
  192. package/dist-bundled/es/gids-tab-item.js +13 -13
  193. package/dist-bundled/es/gids-tab.js +7 -7
  194. package/dist-bundled/es/gids-text-field.js +5 -5
  195. package/dist-bundled/es/gids-toggle-button.js +1 -1
  196. package/dist-bundled/es/gids-tooltip.js +4 -4
  197. package/dist-bundled/es/gids-transfer-list.js +25 -26
  198. package/dist-bundled/es/{p-Cf3Ny79u-VGT_IyGI.js → p--kh67-_Z-B-vf_gng.js} +12 -11
  199. package/dist-bundled/es/{p-DrDadv7P-D4rbSYTr.js → p-B2flLE0s-SMg7vg1a.js} +2 -2
  200. package/dist-bundled/es/{p-jGho9nbS-BDiBvsn2.js → p-BAqWcL0K-DNkV1R_C.js} +9 -9
  201. package/dist-bundled/es/p-BCbovLBE-CDxKiOtS.js +102 -0
  202. package/dist-bundled/es/{p-PcSMc4jQ-CzYLaIZr.js → p-BIxBMTG9-Ctr342ff.js} +12 -12
  203. package/dist-bundled/es/{p-DgKrPmDn-C2CSKicX.js → p-BQT5yy5L-C1C_zTi-.js} +4 -4
  204. package/dist-bundled/es/p-BRNvHMdK-CqGtfAsn.js +11 -0
  205. package/dist-bundled/es/{p-CBiu-Vh3-r-McGzCb.js → p-B_FEFM5I-JoBieRfG.js} +5 -5
  206. package/dist-bundled/es/{p-Dw_kb9MC-BTd0lrGA.js → p-B_St7yaX-Da4DWjGh.js} +4 -4
  207. package/dist-bundled/es/{p-D0coZTd2-KhJZ57gK.js → p-CAjDiWIc-C9dOa7FT.js} +1 -1
  208. package/dist-bundled/es/{p-DYjV5XrH-CI9LfBFx.js → p-CIjK3iHM-DEW8PRM5.js} +7 -7
  209. package/dist-bundled/es/{p-KQxuw_F--BTSoDfF9.js → p-CV1-78HB-C0k_l_CT.js} +18 -23
  210. package/dist-bundled/es/{p-BdsUwTgh-Cc7AQBsx.js → p-D0RJMGGj-BflZ9l8y.js} +4 -4
  211. package/dist-bundled/es/{p-CH4nrjpL-CrEJXTn0.js → p-DKSnGphd-CZSPfB-N.js} +8 -8
  212. package/dist-bundled/es/{p-CIxuyUAl-B2DxRM64.js → p-DLRj-mUX-BapdQYpI.js} +6 -6
  213. package/dist-bundled/es/{p-DKOr5iAk-DA3Kc4Cn.js → p-DMxvWIj1-BxbvrlFL.js} +11 -11
  214. package/dist-bundled/es/{p-GcC8pCKF-CZJFTFeN.js → p-DQQhGF5N-mCqb5VTE.js} +8 -8
  215. package/dist-bundled/es/p-DZ1ZcTMe-W8kofPko.js +10 -0
  216. package/dist-bundled/es/{p-BthkC6NU-F03MhDw7.js → p-DnRuhvRw-Beh0bANh.js} +2 -2
  217. package/dist-bundled/es/{p-Do_VlNHg-_g7lcvwR.js → p-Do_VlNHg-Ck03dQOR.js} +1 -1
  218. package/dist-bundled/es/p-DpvdbdZ--C7QlXxK2.js +118 -0
  219. package/dist-bundled/es/{p-DZ6xQXis-XT86MMis.js → p-DrxfD2yZ-Cetyr3S9.js} +9 -9
  220. package/dist-bundled/es/{p-C6GHG170-Di8lwQkY.js → p-Ds5IzXj3-B2o0ML2C.js} +13 -13
  221. package/dist-bundled/es/{p-j2_DKwBz-CqyuxxnN.js → p-DzOOjiNH-CqI4E-mj.js} +6 -6
  222. package/dist-bundled/es/{p-Cacy0Dji-D-D254kT.js → p-E13ycS5K-BBDydae3.js} +2 -2
  223. package/dist-bundled/es/{p-Cz9nwmgK-BO8HUAvD.js → p-TfH966_e-BzZRV8Rj.js} +8 -8
  224. package/dist-bundled/es/{p-CMW3SjbP-ZYYIF_i6.js → p-_W77iniK-ChKfEOp3.js} +2 -2
  225. package/dist-bundled/es/p-bfWlRsx_-CNZjBYOE.js +110 -0
  226. package/dist-bundled/es/p-iQRr_fAH-Dvv1n8QD.js +1650 -0
  227. package/dist-bundled/es/p-kWyyLyT3-VhX9LNzT.js +267 -0
  228. package/dist-bundled/es/{p-CrqHKmjy-DwSsCofb.js → p-mv_7K1EM-U3yKC45e.js} +2 -2
  229. package/dist-bundled/es/{p-xbqOQZl9-BK9vjfj7.js → p-tEbUT3n3-Byef6fQN.js} +11 -11
  230. package/dist-bundled/umd/gids-action-bar.umd.js +3 -3
  231. package/dist-bundled/umd/gids-activity-gauge.umd.js +2 -2
  232. package/dist-bundled/umd/gids-advanced-tooltip.umd.js +2 -2
  233. package/dist-bundled/umd/gids-bar-chart.umd.js +8 -8
  234. package/dist-bundled/umd/gids-bento-card.umd.js +2 -2
  235. package/dist-bundled/umd/gids-calendar-header-panel.umd.js +2 -2
  236. package/dist-bundled/umd/gids-calendar-month-list.umd.js +2 -2
  237. package/dist-bundled/umd/gids-calendar-year-list.umd.js +2 -2
  238. package/dist-bundled/umd/gids-calendar.umd.js +2 -2
  239. package/dist-bundled/umd/gids-carousel.umd.js +2 -2
  240. package/dist-bundled/umd/gids-chart-legend-item.umd.js +2 -2
  241. package/dist-bundled/umd/gids-chart-legend.umd.js +1 -1
  242. package/dist-bundled/umd/gids-chart.umd.js +5 -5
  243. package/dist-bundled/umd/gids-chevron-button.umd.js +2 -2
  244. package/dist-bundled/umd/gids-dot.umd.js +2 -2
  245. package/dist-bundled/umd/gids-dropdown-field.umd.js +2 -2
  246. package/dist-bundled/umd/gids-dropdown-picker.umd.js +2 -2
  247. package/dist-bundled/umd/gids-dropdown.umd.js +2 -2
  248. package/dist-bundled/umd/gids-expansion-body-list-item.umd.js +1 -1
  249. package/dist-bundled/umd/gids-expansion-body-list.umd.js +1 -1
  250. package/dist-bundled/umd/gids-expansion-group.umd.js +2 -2
  251. package/dist-bundled/umd/gids-expansion.umd.js +2 -2
  252. package/dist-bundled/umd/gids-field.umd.js +2 -2
  253. package/dist-bundled/umd/gids-filter.umd.js +3 -3
  254. package/dist-bundled/umd/gids-flyout-panel.umd.js +2 -2
  255. package/dist-bundled/umd/gids-form.umd.js +5 -0
  256. package/dist-bundled/umd/gids-header-navigation-item.umd.js +2 -2
  257. package/dist-bundled/umd/gids-header-navigation.umd.js +2 -2
  258. package/dist-bundled/umd/gids-icon.umd.js +2 -2
  259. package/dist-bundled/umd/gids-input.umd.js +2 -2
  260. package/dist-bundled/umd/gids-line-chart.umd.js +2 -2
  261. package/dist-bundled/umd/gids-md-table.umd.js +2 -2
  262. package/dist-bundled/umd/gids-overflow-container.umd.js +1 -1
  263. package/dist-bundled/umd/gids-overlay-provider.umd.js +2 -2
  264. package/dist-bundled/umd/gids-password-field.umd.js +2 -2
  265. package/dist-bundled/umd/gids-pie-chart.umd.js +2 -2
  266. package/dist-bundled/umd/gids-popover.umd.js +1 -1
  267. package/dist-bundled/umd/gids-profile-menu-header.umd.js +2 -2
  268. package/dist-bundled/umd/gids-profile-menu.umd.js +2 -2
  269. package/dist-bundled/umd/gids-profile.umd.js +2 -2
  270. package/dist-bundled/umd/gids-scrim.umd.js +1 -1
  271. package/dist-bundled/umd/gids-sidebar-item.umd.js +5 -0
  272. package/dist-bundled/umd/gids-sidebar-menu.umd.js +5 -0
  273. package/dist-bundled/umd/gids-sidebar.umd.js +5 -0
  274. package/dist-bundled/umd/gids-skeleton.umd.js +1 -1
  275. package/dist-bundled/umd/gids-tab-item.umd.js +1 -1
  276. package/dist-bundled/umd/gids-tab.umd.js +1 -1
  277. package/dist-bundled/umd/gids-text-field.umd.js +2 -2
  278. package/dist-bundled/umd/gids-toggle-button.umd.js +2 -2
  279. package/dist-bundled/umd/gids-tooltip.umd.js +2 -2
  280. package/dist-bundled/umd/gids-transfer-list.umd.js +2 -2
  281. package/dist-bundled/umd-complete/gids-core-web.umd.js +4 -4
  282. package/package.json +39 -7
  283. package/dist/p-B0hLXifA.js +0 -1
  284. package/dist/p-Cf3Ny79u.js +0 -1
  285. package/dist/p-GcC8pCKF.js +0 -1
  286. package/dist/p-KQxuw_F-.js +0 -1
  287. package/dist-bundled/es/p-B0hLXifA-CoImnX3T.js +0 -99
  288. package/dist-bundled/es/p-iQRr_fAH-ClfWEu03.js +0 -198
@@ -1,5 +1,5 @@
1
- (function(L,I){typeof exports=="object"&&typeof module<"u"?I(exports):typeof define=="function"&&define.amd?define(["exports"],I):(L=typeof globalThis<"u"?globalThis:L||self,I(L.gidsCoreWebGidsPieChart={}))})(this,(function(L){"use strict";function I(e,t,i){const s=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==s;){const n=Object.getOwnPropertyDescriptor(e,t);if(n&&(!i||n.get))return n;e=Object.getPrototypeOf(e)}}var G,rt=(e,t)=>{var i;Object.entries((i=t.o.t)!=null?i:{}).map((([s,[n]])=>{if(31&n||32&n){const r=e[s],a=I(Object.getPrototypeOf(e),s,!0)||Object.getOwnPropertyDescriptor(e,s);a&&Object.defineProperty(e,s,{get(){return a.get.call(this)},set(l){a.set.call(this,l)},configurable:!0,enumerable:!0}),t.l.has(s)?e[s]=t.l.get(s):r!==void 0&&(e[s]=r)}}))},P=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},_e=(e,t)=>t in e,D=(e,t)=>(0,console.error)(e,t),W=new Map,Se="http://www.w3.org/1999/xlink",ot=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],w=typeof window<"u"?window:{},ee=w.HTMLElement||class{},C={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,i,s)=>e.addEventListener(t,i,s),rel:(e,t,i,s)=>e.removeEventListener(t,i,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})(),te=(()=>{try{return!!w.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),se=!!te&&!!w.document&&Object.getOwnPropertyDescriptor(w.document.adoptedStyleSheets,"length").writable,ie=!1,we=[],xe=[],at=(e,t)=>i=>{e.push(i),ie||(ie=!0,4&C.i?re(ne):C.raf(ne))},ke=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(i){D(i)}e.length=0},ne=()=>{ke(we),ke(xe),(ie=we.length>0)&&C.raf(ne)},re=e=>Promise.resolve(void 0).then(e),ct=at(xe);function dt(){const e=this.attachShadow({mode:"open"});G===void 0&&(G=null),G&&(se?e.adoptedStyleSheets.push(G):e.adoptedStyleSheets=[...e.adoptedStyleSheets,G])}var Ce=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=!!ht(s,V(s),!1).length)}));let i=0;for(i=0;i<t.length;i++){const s=t[i];s.nodeType===1&&le(s,"childNodes").length&&Ce(s)}};function oe(e,t,i){let s,n=0,r=[];for(;n<e.length;n++){if(s=e[n],s["s-sr"]&&(!t||s["s-hn"]===t)&&(i===void 0||V(s)===i)&&(r.push(s),i!==void 0))return r;r=[...r,...oe(s.childNodes,t,i)]}return r}var ht=(e,t,i=!0)=>{const s=[];(i&&e["s-sr"]||!e["s-sr"])&&s.push(e);let n=e;for(;n=n.nextSibling;)V(n)!==t||!i&&n["s-sr"]||s.push(n);return s},Ne=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",V=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 i=e["__"+t];return typeof i!="function"?i:i.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var ae,z,T=new WeakMap,$e=e=>"sc-"+e.p,ce=e=>(e=typeof e)=="object"||e==="function",_=(e,t,...i)=>{let s=null,n=null,r=null,a=!1,l=!1;const o=[],d=c=>{for(let g=0;g<c.length;g++)s=c[g],Array.isArray(s)?d(s):s!=null&&typeof s!="boolean"&&((a=typeof e!="function"&&!ce(s))&&(s=String(s)),a&&l?o[o.length-1].h+=s:o.push(a?U(null,s):s),l=a)};if(d(i),t){t.key&&(n=t.key),t.name&&(r=t.name);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter((g=>c[g])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,o,ut);const h=U(e,null);return h.v=t,o.length>0&&(h.m=o),h.$=n,h.j=r,h},U=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),gt={},ut={forEach:(e,t)=>e.map(Oe).forEach(t),map:(e,t)=>e.map(Oe).map(t).map(pt)},Oe=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),pt=e=>{if(typeof e.vtag=="function"){const i={...e.vattrs};return e.vkey&&(i.key=e.vkey),e.vname&&(i.name=e.vname),_(e.vtag,i,...e.vchildren||[])}const t=U(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},Ee=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let i=!1;for(const n of t){if(i)break;for(const r of e[n])if(typeof r=="string"){i=!0;break}}if(!i)return e;const s={};for(const n of t)s[n]=e[n].map((r=>typeof r=="string"?{[r]:0}:r));return s},je=(e,t,i)=>e==null||ce(e)?e:4&t?(i&&typeof e=="string"||e!=="false")&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,ft=(e,t,i)=>{const s=C.ce(t,i);return e.dispatchEvent(s),s},Pe=(e,t,i,s,n,r)=>{if(i===s)return;let a=_e(e,t),l=t.toLowerCase();if(t==="class"){const o=e.classList,d=Ae(i);let h=Ae(s);o.remove(...d.filter((c=>c&&!h.includes(c)))),o.add(...h.filter((c=>c&&!d.includes(c))))}else if(t==="style"){for(const o in i)s&&s[o]!=null||(o.includes("-")?e.style.removeProperty(o):e.style[o]="");for(const o in s)i&&s[o]===i[o]||(o.includes("-")?e.style.setProperty(o,s[o]):e.style[o]=s[o])}else if(t!=="key"){if(t==="ref")s&&yt(s,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const o=t.slice(5);let d;{const h=P(e);if(h&&h.o&&h.o.t){const c=h.o.t[o];c&&c[1]&&(d=c[1])}}return d||(d=o.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 o=t.slice(5);try{e[o]=s}catch{}return}{const o=ce(s);if((a||o&&s!==null)&&!n)try{if(e.tagName.includes("-"))e[t]!==s&&(e[t]=s);else{const h=s??"";t==="list"?a=!1:i!=null&&e[t]===h||(typeof e.__lookupSetter__(t)=="function"?e[t]=h:e.setAttribute(t,h))}}catch{}let d=!1;l!==(l=l.replace(/^xlink\:?/,""))&&(t=l,d=!0),s==null||s===!1?s===!1&&e.getAttribute(t)!==""||(d?e.removeAttributeNS(Se,t):e.removeAttribute(t)):(!a||4&r||n)&&!o&&e.nodeType===1&&(s=s===!0?"":s,d?e.setAttributeNS(Se,t,s):e.setAttribute(t,s))}}else if(t=t[2]==="-"?t.slice(3):_e(w,l)?l.slice(2):l[2]+t.slice(3),i||s){const o=t.endsWith(Te);t=t.replace(vt,""),i&&C.rel(e,t,i,o),s&&C.ael(e,t,s,o)}}},mt=/\s/,Ae=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(mt):[]),Te="Capture",vt=new RegExp(Te+"$"),de=(e,t,i)=>{const s=t.S.nodeType===11&&t.S.host?t.S.host:t.S,n=e&&e.v||{},r=t.v||{};for(const a of Le(Object.keys(n)))a in r||Pe(s,a,n[a],void 0,i,t.i);for(const a of Le(Object.keys(r)))Pe(s,a,n[a],r[a],i,t.i)};function Le(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var B=!1,q=!1,K=!1,N=!1,he=[],ge=[],Y=(e,t,i)=>{var s;const n=t.m[i];let r,a,l,o=0;if(B||(K=!0,n.O==="slot"&&(n.i|=n.m?2:1)),n.h!=null)r=n.S=w.document.createTextNode(n.h);else if(1&n.i)r=n.S=w.document.createTextNode(""),de(null,n,N);else{if(N||(N=n.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=n.S=w.document.createElementNS(N?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!B&&2&n.i?"slot-fb":n.O),N&&n.O==="foreignObject"&&(N=!1),de(null,n,N),n.m){const d=n.O==="template"?r.content:r;for(o=0;o<n.m.length;++o)a=Y(e,n,o),a&&d.appendChild(a)}n.O==="svg"?N=!1:r.tagName==="foreignObject"&&(N=!0)}return r["s-hn"]=z,3&n.i&&(r["s-sr"]=!0,r["s-cr"]=ae,r["s-sn"]=n.j||"",r["s-rf"]=(s=n.v)==null?void 0:s.ref,(function(d){if(d.assignedElements||d.assignedNodes||!d["s-sr"])return;const h=c=>(function(g){const p=[],u=this["s-sn"];g?.flatten&&console.error(`
1
+ (function(A,D){typeof exports=="object"&&typeof module<"u"?D(exports):typeof define=="function"&&define.amd?define(["exports"],D):(A=typeof globalThis<"u"?globalThis:A||self,D(A.gidsCoreWebGidsPieChart={}))})(this,(function(A){"use strict";function D(e,t,s){const r=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==r;){const i=Object.getOwnPropertyDescriptor(e,t);if(i&&(!s||i.get))return i;e=Object.getPrototypeOf(e)}}var R,ot=(e,t)=>{var s;Object.entries((s=t.o.t)!=null?s:{}).map((([r,[i]])=>{if(31&i||32&i){const o=e[r],n=D(Object.getPrototypeOf(e),r,!0)||Object.getOwnPropertyDescriptor(e,r);n&&Object.defineProperty(e,r,{get(){return n.get.call(this)},set(l){n.set.call(this,l)},configurable:!0,enumerable:!0}),t.l.has(r)?e[r]=t.l.get(r):o!==void 0&&(e[r]=o)}}))},z=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},ve=(e,t)=>t in e,T=(e,t)=>(0,console.error)(e,t),H=new Map,ke="http://www.w3.org/1999/xlink",at=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],x=typeof window<"u"?window:{},ee=x.HTMLElement||class{},C={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,r)=>e.addEventListener(t,s,r),rel:(e,t,s,r)=>e.removeEventListener(t,s,r),ce:(e,t)=>new CustomEvent(e,t)},lt=(()=>{var e;let t=!1;try{(e=x.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),te=(()=>{try{return!!x.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),re=!!te&&!!x.document&&Object.getOwnPropertyDescriptor(x.document.adoptedStyleSheets,"length").writable,se=!1,xe=[],_e=[],nt=(e,t)=>s=>{e.push(s),se||(se=!0,4&C.i?oe(ie):C.raf(ie))},Se=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){T(s)}e.length=0},ie=()=>{Se(xe),Se(_e),(se=xe.length>0)&&C.raf(ie)},oe=e=>Promise.resolve(void 0).then(e),ct=nt(_e);function dt(){const e=this.attachShadow({mode:"open"});R===void 0&&(R=null),R&&(re?e.adoptedStyleSheets.push(R):e.adoptedStyleSheets=[...e.adoptedStyleSheets,R])}var Ce=e=>{const t=le(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&ae(t,e.tagName).forEach((r=>{r.nodeType===1&&r.tagName==="SLOT-FB"&&(r.hidden=!!ht(r,G(r),!1).length)}));let s=0;for(s=0;s<t.length;s++){const r=t[s];r.nodeType===1&&le(r,"childNodes").length&&Ce(r)}};function ae(e,t,s){let r,i=0,o=[];for(;i<e.length;i++){if(r=e[i],r["s-sr"]&&(!t||r["s-hn"]===t)&&(s===void 0||G(r)===s)&&(o.push(r),s!==void 0))return o;o=[...o,...ae(r.childNodes,t,s)]}return o}var ht=(e,t,s=!0)=>{const r=[];(s&&e["s-sr"]||!e["s-sr"])&&r.push(e);let i=e;for(;i=i.nextSibling;)G(i)!==t||!s&&i["s-sr"]||r.push(i);return r},Ne=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",G=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 s=e["__"+t];return typeof s!="function"?s:s.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var ne,L,q=new WeakMap,$e=e=>"sc-"+e.p,ce=e=>(e=typeof e)=="object"||e==="function",v=(e,t,...s)=>{let r=null,i=null,o=null,n=!1,l=!1;const a=[],d=c=>{for(let p=0;p<c.length;p++)r=c[p],Array.isArray(r)?d(r):r!=null&&typeof r!="boolean"&&((n=typeof e!="function"&&!ce(r))&&(r=String(r)),n&&l?a[a.length-1].h+=r:a.push(n?W(null,r):r),l=n)};if(d(s),t){t.key&&(i=t.key),t.name&&(o=t.name);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter((p=>c[p])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,a,gt);const h=W(e,null);return h.v=t,a.length>0&&(h.m=a),h.$=i,h.j=o,h},W=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),pt={},gt={forEach:(e,t)=>e.map(Oe).forEach(t),map:(e,t)=>e.map(Oe).map(t).map(ut)},Oe=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),ut=e=>{if(typeof e.vtag=="function"){const s={...e.vattrs};return e.vkey&&(s.key=e.vkey),e.vname&&(s.name=e.vname),v(e.vtag,s,...e.vchildren||[])}const t=W(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},je=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let s=!1;for(const i of t){if(s)break;for(const o of e[i])if(typeof o=="string"){s=!0;break}}if(!s)return e;const r={};for(const i of t)r[i]=e[i].map((o=>typeof o=="string"?{[o]:0}:o));return r},Ee=(e,t,s)=>e==null||ce(e)?e:4&t?(s&&typeof e=="string"||e!=="false")&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,mt=(e,t,s)=>{const r=C.ce(t,s);return e.dispatchEvent(r),r},ze=(e,t,s,r,i,o)=>{if(s===r)return;let n=ve(e,t),l=t.toLowerCase();if(t==="class"){const a=e.classList,d=Pe(s);let h=Pe(r);a.remove(...d.filter((c=>c&&!h.includes(c)))),a.add(...h.filter((c=>c&&!d.includes(c))))}else if(t==="style"){for(const a in s)r&&r[a]!=null||(a.includes("-")?e.style.removeProperty(a):e.style[a]="");for(const a in r)s&&r[a]===s[a]||(a.includes("-")?e.style.setProperty(a,r[a]):e.style[a]=r[a])}else if(t!=="key"){if(t==="ref")r&&wt(r,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const a=t.slice(5);let d;{const h=z(e);if(h&&h.o&&h.o.t){const c=h.o.t[a];c&&c[1]&&(d=c[1])}}return d||(d=a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(r==null||r===!1?r===!1&&e.getAttribute(d)!==""||e.removeAttribute(d):e.setAttribute(d,r===!0?"":r))}if(t[0]==="p"&&t.startsWith("prop:")){const a=t.slice(5);try{e[a]=r}catch{}return}{const a=ce(r);if((n||a&&r!==null)&&!i)try{if(e.tagName.includes("-"))e[t]!==r&&(e[t]=r);else{const h=r??"";t==="list"?n=!1:s!=null&&e[t]===h||(typeof e.__lookupSetter__(t)=="function"?e[t]=h:e.setAttribute(t,h))}}catch{}let d=!1;l!==(l=l.replace(/^xlink\:?/,""))&&(t=l,d=!0),r==null||r===!1?r===!1&&e.getAttribute(t)!==""||(d?e.removeAttributeNS(ke,t):e.removeAttribute(t)):(!n||4&o||i)&&!a&&e.nodeType===1&&(r=r===!0?"":r,d?e.setAttributeNS(ke,t,r):e.setAttribute(t,r))}}else if(t=t[2]==="-"?t.slice(3):ve(x,l)?l.slice(2):l[2]+t.slice(3),s||r){const a=t.endsWith(qe);t=t.replace(bt,""),s&&C.rel(e,t,s,a),r&&C.ael(e,t,r,a)}}},ft=/\s/,Pe=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(ft):[]),qe="Capture",bt=new RegExp(qe+"$"),de=(e,t,s)=>{const r=t.S.nodeType===11&&t.S.host?t.S.host:t.S,i=e&&e.v||{},o=t.v||{};for(const n of Ae(Object.keys(i)))n in o||ze(r,n,i[n],void 0,s,t.i);for(const n of Ae(Object.keys(o)))ze(r,n,i[n],o[n],s,t.i)};function Ae(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var V=!1,U=!1,K=!1,N=!1,he=[],pe=[],Y=(e,t,s)=>{var r;const i=t.m[s];let o,n,l,a=0;if(V||(K=!0,i.O==="slot"&&(i.i|=i.m?2:1)),i.h!=null)o=i.S=x.document.createTextNode(i.h);else if(1&i.i)o=i.S=x.document.createTextNode(""),de(null,i,N);else{if(N||(N=i.O==="svg"),!x.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(o=i.S=x.document.createElementNS(N?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!V&&2&i.i?"slot-fb":i.O),N&&i.O==="foreignObject"&&(N=!1),de(null,i,N),i.m){const d=i.O==="template"?o.content:o;for(a=0;a<i.m.length;++a)n=Y(e,i,a),n&&d.appendChild(n)}i.O==="svg"?N=!1:o.tagName==="foreignObject"&&(N=!0)}return o["s-hn"]=L,3&i.i&&(o["s-sr"]=!0,o["s-cr"]=ne,o["s-sn"]=i.j||"",o["s-rf"]=(r=i.v)==null?void 0:r.ref,(function(d){if(d.assignedElements||d.assignedNodes||!d["s-sr"])return;const h=c=>(function(p){const u=[],g=this["s-sn"];p?.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 m=0;m<b.length;m++){const f=b[m]["s-nr"]||void 0;f&&f.isConnected&&v.push(f)}return v})(S.childNodes)).forEach((b=>{u===V(b)&&p.push(b)})),c?p.filter((b=>b.nodeType===1)):p}).bind(d);d.assignedElements=h(!0),d.assignedNodes=h(!1)})(r),l=e&&e.m&&e.m[i],l&&l.O===n.O&&e.S&&De(e.S)),r},De=e=>{C.i|=1;const t=e.closest(z.toLowerCase());if(t!=null){const i=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const n of i?s.reverse():s)n["s-sh"]!=null&&(E(t,n,i??null),n["s-sh"]=void 0,K=!0)}C.i&=-2},Z=(e,t)=>{C.i|=1;const i=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let s=e;for(;s=s.nextSibling;)s&&s["s-sn"]===e["s-sn"]&&s["s-sh"]===z&&i.push(s)}for(let s=i.length-1;s>=0;s--){const n=i[s];n["s-hn"]!==z&&n["s-ol"]&&(E(F(n).parentNode,n,F(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,K=!0),t&&Z(n,t)}C.i&=-2},ze=(e,t,i,s,n,r)=>{let a,l=e["s-cr"]&&e["s-cr"].parentNode||e;for(l.shadowRoot&&l.tagName===z&&(l=l.shadowRoot),i.O==="template"&&(l=l.content);n<=r;++n)s[n]&&(a=Y(null,i,n),a&&(s[n].S=a,E(l,a,F(t))))},Ie=(e,t,i)=>{for(let s=t;s<=i;++s){const n=e[s];if(n){const r=n.S;Re(n),r&&(q=!0,r["s-ol"]?r["s-ol"].remove():Z(r,!0),r.remove())}}},J=(e,t,i=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:i?(i&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),F=e=>e&&e["s-ol"]||e,M=(e,t,i=!1)=>{const s=t.S=e.S,n=e.m,r=t.m,a=t.O,l=t.h;let o;l==null?(N=a==="svg"||a!=="foreignObject"&&N,a!=="slot"||B||e.j!==t.j&&(t.S["s-sn"]=t.j||"",De(t.S.parentElement)),de(e,t,N),n!==null&&r!==null?((d,h,c,g,p=!1)=>{let u,S,b=0,v=0,m=0,f=0,k=h.length-1,y=h[0],x=h[k],$=g.length-1,O=g[0],j=g[$];const nt=c.O==="template"?d.content:d;for(;b<=k&&v<=$;)if(y==null)y=h[++b];else if(x==null)x=h[--k];else if(O==null)O=g[++v];else if(j==null)j=g[--$];else if(J(y,O,p))M(y,O,p),y=h[++b],O=g[++v];else if(J(x,j,p))M(x,j,p),x=h[--k],j=g[--$];else if(J(y,j,p))y.O!=="slot"&&j.O!=="slot"||Z(y.S.parentNode,!1),M(y,j,p),E(nt,y.S,x.S.nextSibling),y=h[++b],j=g[--$];else if(J(x,O,p))y.O!=="slot"&&j.O!=="slot"||Z(x.S.parentNode,!1),M(x,O,p),E(nt,x.S,y.S),x=h[--k],O=g[++v];else{for(m=-1,f=b;f<=k;++f)if(h[f]&&h[f].$!==null&&h[f].$===O.$){m=f;break}m>=0?(S=h[m],S.O!==O.O?u=Y(h&&h[v],c,m):(M(S,O,p),h[m]=void 0,u=S.S),O=g[++v]):(u=Y(h&&h[v],c,v),O=g[++v]),u&&E(F(y.S).parentNode,u,F(y.S))}b>k?ze(d,g[$+1]==null?null:g[$+1].S,c,g,v,$):v>$&&Ie(h,b,k)})(s,n,t,r,i):r!==null?(e.h!==null&&(s.textContent=""),ze(s,null,t,r,0,r.length-1)):!i&&n!==null&&Ie(n,0,n.length-1),N&&a==="svg"&&(N=!1)):(o=s["s-cr"])?o.parentNode.textContent=l:e.h!==l&&(s.data=l)},A=[],Me=e=>{let t,i,s;const n=e.__childNodes||e.childNodes;for(const r of n){if(r["s-sr"]&&(t=r["s-cr"])&&t.parentNode){i=t.parentNode.__childNodes||t.parentNode.childNodes;const a=r["s-sn"];for(s=i.length-1;s>=0;s--)if(t=i[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,a)){let l=A.find((o=>o.k===t));q=!0,t["s-sn"]=t["s-sn"]||a,l?(l.k["s-sh"]=r["s-hn"],l.N=r):(t["s-sh"]=r["s-hn"],A.push({N:r,k:t})),t["s-sr"]&&A.map((o=>{Ne(o.k,t["s-sn"])&&(l=A.find((d=>d.k===t)),l&&!o.N&&(o.N=l.N))}))}else A.some((l=>l.k===t))||A.push({k:t})}r.nodeType===1&&Me(r)}},Re=e=>{e.v&&e.v.ref&&he.push((()=>e.v.ref(null))),e.m&&e.m.map(Re)},yt=(e,t)=>{ge.push((()=>e(t)))},E=(e,t,i,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,i);const{slotNode:n}=(function(r,a){var l;if(!(a=a||((l=r["s-ol"])==null?void 0:l.parentElement)))return{slotNode:null,slotName:""};const o=r["s-sn"]=V(r)||"";return{slotNode:oe(le(a,"childNodes"),a.tagName,o)[0],slotName:o}})(t);return n&&!s&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,i):e?.insertBefore(t,i)},bt=(e,t,i=!1)=>{var s,n,r,a,l;const o=e.$hostElement$,d=e.o,h=e.M||U(null,null);var c;const g=(c=t)&&c.O===gt?t:_(null,null,t);if(z=o.tagName,d.C&&(g.v=g.v||{},d.C.forEach((([p,u])=>{g.v[u]=o[p]}))),i&&g.v)for(const p of Object.keys(g.v))o.hasAttribute(p)&&!["key","ref","style","class"].includes(p)&&(g.v[p]=o[p]);if(g.O=null,g.i|=4,e.M=g,g.S=h.S=o.shadowRoot||o,B=!(!(1&d.i)||128&d.i),ae=o["s-cr"],q=!1,M(h,g,i),C.i|=1,K){Me(g.S);for(const p of A){const u=p.k;if(!u["s-ol"]&&w.document){const S=w.document.createTextNode("");S["s-nr"]=u,E(u.parentNode,u["s-ol"]=S,u,i)}}for(const p of A){const u=p.k,S=p.N;if(u.nodeType===1&&i&&(u["s-ih"]=(s=u.hidden)!=null&&s),S){const b=S.parentNode;let v=S.nextSibling;if(v&&v.nodeType===1){let m=(n=u["s-ol"])==null?void 0:n.previousSibling;for(;m;){let f=(r=m["s-nr"])!=null?r:null;if(f&&f["s-sn"]===u["s-sn"]&&b===(f.__parentNode||f.parentNode)){for(f=f.nextSibling;f===u||f?.["s-sr"];)f=f?.nextSibling;if(!f||!f["s-nr"]){v=f;break}}m=m.previousSibling}}if((!v&&b!==(u.__parentNode||u.parentNode)||(u.__nextSibling||u.nextSibling)!==v)&&u!==v){if(E(b,u,v,i),u.nodeType===8&&u.nodeValue.startsWith("s-nt-")){const m=w.document.createTextNode(u.nodeValue.replace(/^s-nt-/,""));m["s-hn"]=u["s-hn"],m["s-sn"]=u["s-sn"],m["s-sh"]=u["s-sh"],m["s-sr"]=u["s-sr"],m["s-ol"]=u["s-ol"],m["s-ol"]["s-nr"]=m,E(u.parentNode,m,u,i),u.parentNode.removeChild(u)}u.nodeType===1&&u.tagName!=="SLOT-FB"&&(u.hidden=(a=u["s-ih"])!=null&&a)}u&&typeof S["s-rf"]=="function"&&S["s-rf"](S)}else u.nodeType===1&&(u.hidden=!0)}}if(q&&Ce(g.S),C.i&=-2,A.length=0,!B&&!(1&d.i)&&o["s-cr"]){const p=g.S.__childNodes||g.S.childNodes;for(const u of p)if(u["s-hn"]!==z&&!u["s-sh"]){if(i&&u["s-ih"]==null&&(u["s-ih"]=(l=u.hidden)!=null&&l),u.nodeType===1)u.hidden=!0;else if(u.nodeType===3&&u.nodeValue.trim()){const S=w.document.createComment("s-nt-"+u.nodeValue);S["s-sn"]=u["s-sn"],E(u.parentNode,S,u,i),u.parentNode.removeChild(u)}}}ae=void 0,he.forEach((p=>p())),he.length=0,ge.forEach((p=>p())),ge.length=0},Ge=(e,t)=>{if(t&&!e.A&&t["s-p"]){const i=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(i-1,1),s()})))}},ue=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Ge(e,e.R);const i=()=>_t(e,t);if(!t)return ct(i);queueMicrotask((()=>{i()}))},_t=(e,t)=>{const i=e.$hostElement$,s=i;if(!s)throw new Error(`Can't render component <${i.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let n;return n=H(s,t?"componentWillLoad":"componentWillUpdate",void 0,i),n=Ve(n,(()=>H(s,"componentWillRender",void 0,i))),Ve(n,(()=>wt(e,s,t)))},Ve=(e,t)=>St(e)?e.then(t).catch((i=>{console.error(i),t()})):t(),St=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",wt=async(e,t,i)=>{var s;const n=e.$hostElement$,r=n["s-rc"];i&&(a=>{const l=a.o,o=a.$hostElement$,d=l.i,h=((c,g)=>{var p,u,S;const b=$e(g),v=W.get(b);if(!w.document)return b;if(c=c.nodeType===11?c:w.document,v)if(typeof v=="string"){let m,f=T.get(c=c.head||c);if(f||T.set(c,f=new Set),!f.has(b)){m=w.document.createElement("style"),m.textContent=v;const k=(p=C._)!=null?p:(function(){var y,x,$;return($=(x=(y=w.document.head)==null?void 0:y.querySelector('meta[name="csp-nonce"]'))==null?void 0:x.getAttribute("content"))!=null?$:void 0})();if(k!=null&&m.setAttribute("nonce",k),!(1&g.i))if(c.nodeName==="HEAD"){const y=c.querySelectorAll("link[rel=preconnect]"),x=y.length>0?y[y.length-1].nextSibling:c.querySelector("style");c.insertBefore(m,x?.parentNode===c?x:null)}else if("host"in c)if(te){const y=new((u=c.defaultView)!=null?u:c.ownerDocument.defaultView).CSSStyleSheet;y.replaceSync(v),se?c.adoptedStyleSheets.unshift(y):c.adoptedStyleSheets=[y,...c.adoptedStyleSheets]}else{const y=c.querySelector("style");y?y.textContent=v+y.textContent:c.prepend(m)}else c.append(m);1&g.i&&c.insertBefore(m,null),4&g.i&&(m.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),f&&f.add(b)}}else{let m=T.get(c);if(m||T.set(c,m=new Set),!m.has(b)){const f=(S=c.defaultView)!=null?S:c.ownerDocument.defaultView;let k;if(v.constructor===f.CSSStyleSheet)k=v;else{k=new f.CSSStyleSheet;for(let y=0;y<v.cssRules.length;y++)k.insertRule(v.cssRules[y].cssText,y)}se?c.adoptedStyleSheets.push(k):c.adoptedStyleSheets=[...c.adoptedStyleSheets,k],m.add(b)}}return b})(o.shadowRoot?o.shadowRoot:o.getRootNode(),l);10&d&&(o["s-sc"]=h,o.classList.add(h+"-h"))})(e),xt(e,t,n,i),r&&(r.map((a=>a())),n["s-rc"]=void 0);{const a=(s=n["s-p"])!=null?s:[],l=()=>kt(e);a.length===0?l():(Promise.all(a).then(l).catch(l),e.i|=4,a.length=0)}},xt=(e,t,i,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,bt(e,t,s)}catch(n){D(n,e.$hostElement$)}return null},kt=e=>{const t=e.$hostElement$,i=t,s=e.R;H(i,"componentDidRender",void 0,t),64&e.i?H(i,"componentDidUpdate",void 0,t):(e.i|=64,Nt(t),H(i,"componentDidLoad",void 0,t),e.L(t),s||Ct()),e.A&&(e.A(),e.A=void 0),512&e.i&&re((()=>ue(e,!1))),e.i&=-517},Ct=()=>{re((()=>ft(w,"appload",{detail:{namespace:"gids-core-web"}})))},H=(e,t,i,s)=>{if(e&&e[t])try{return e[t](i)}catch(n){D(n,s)}},Nt=e=>e.classList.add("hydrated"),Be=(e,t,i,s)=>{const n=P(e);if(!n)return;const r=e,a=n.l.get(t),l=n.i,o=r;i=je(i,s.t[t][0],!!(64&s.i));const d=Number.isNaN(a)&&Number.isNaN(i);if(i!==a&&!d){if(n.l.set(t,i),s.F){const h=s.F[t];h&&h.map((c=>{try{const[[g,p]]=Object.entries(c);(128&l||1&p)&&(o?o[g](i,a,t):n.T.push((()=>{n.D[g](i,a,t)})))}catch(g){D(g,r)}}))}if(2&l){if(o.componentShouldUpdate&&o.componentShouldUpdate(i,a,t)===!1&&!(16&l))return;16&l||ue(n,!1)}}},$t=(e,t,i)=>{var s,n;const r=e.prototype;64&t.i&&1&i&&ot.forEach((a=>{const l=r[a];Object.defineProperty(r,a,{value(...o){var d;const h=P(this),c=this;c?typeof l=="function"&&l.call(c,...o):(d=h?.H)==null||d.then((g=>{const p=g[a];typeof p=="function"&&p.call(g,...o)}))}})}));{e.watchers&&!t.F&&(t.F=Ee(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const a=Object.entries((s=t.t)!=null?s:{});a.map((([l,[o]])=>{if(31&o||32&o){const{get:d,set:h}=I(r,l)||{};d&&(t.t[l][0]|=2048),h&&(t.t[l][0]|=4096),Object.defineProperty(r,l,{get(){return d?d.apply(this):(c=l,P(this).l.get(c));var c},configurable:!0,enumerable:!0}),Object.defineProperty(r,l,{set(c){const g=P(this);if(g){if(h)return(32&o?this[l]:g.$hostElement$[l])===void 0&&g.l.get(l)&&(c=g.l.get(l)),h.apply(this,[je(c,o,!!(64&t.i))]),void Be(this,l,c=32&o?this[l]:g.$hostElement$[l],t);Be(this,l,c,t)}}})}}));{const l=new Map;r.attributeChangedCallback=function(o,d,h){C.jmp((()=>{var c;const g=l.get(o),p=P(this);if(this.hasOwnProperty(g),r.hasOwnProperty(g)&&typeof this[g]=="number"&&this[g]==h)return;if(g==null){const m=p?.i;if(p&&m&&!(8&m)&&h!==d){const f=this,k=(c=t.F)==null?void 0:c[o];k?.forEach((y=>{const[[x,$]]=Object.entries(y);f[x]!=null&&(128&m||1&$)&&f[x].call(f,h,d,o)}))}return}const u=a.find((([m])=>m===g)),S=u&&4&u[1][0],b=S&&h===null&&this[g]===void 0;S&&(h=h!==null&&h!=="false");const v=Object.getOwnPropertyDescriptor(r,g);b||h==this[g]||v.get&&!v.set||(this[g]=h)}))},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.F)!=null?n:{}),...a.filter((([o,d])=>31&d[0])).map((([o,d])=>{var h;const c=d[1]||o;return l.set(c,o),512&d[0]&&((h=t.C)==null||h.push([o,c])),c}))]))}}return e},pe=(e,t)=>{const i={i:t[0],p:t[1]};try{i.t=t[2],i.W=t[3],i.F=Ee(e.F),i.P=e.P,i.U=e.U,i.C=[];const s=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((r,a)=>{const l={i:0,$hostElement$:r,o:a,l:new Map,B:new Map};l.H=new Promise((d=>l.L=d)),r["s-p"]=[],r["s-rc"]=[];const o=l;r.__stencil__getHostRef=()=>o,512&a.i&&rt(r,l)})(this,i)},connectedCallback(){if(!this.__hasHostListenerAttached){const r=P(this);if(!r)return;Fe(this,r,i.W),this.__hasHostListenerAttached=!0}(r=>{if(!(1&C.i)){const a=P(r);if(!a)return;const l=a.o;if(1&a.i)Fe(r,a,l.W),a?.D||a?.H&&a.H.then((()=>{}));else{a.i|=1,12&l.i&&(o=>{if(!w.document)return;const d=o["s-cr"]=w.document.createComment("");d["s-cn"]=!0,E(o,d,o.firstChild)})(r);{let o=r;for(;o=o.parentNode||o.host;)if(o["s-p"]){Ge(a,a.R=o);break}}l.t&&Object.entries(l.t).map((([o,[d]])=>{if(31&d&&Object.prototype.hasOwnProperty.call(r,o)){const h=r[o];delete r[o],r[o]=h}})),(async(o,d,h)=>{let c;try{if(!(32&d.i)&&(d.i|=32,c=o.constructor,customElements.whenDefined(o.localName).then((()=>d.i|=128)),c&&c.style)){let u;typeof c.style=="string"&&(u=c.style);const S=$e(h);W.has(S)||((b,v,m)=>{let f=W.get(b);te&&m?(f=f||new CSSStyleSheet,typeof f=="string"?f=v:f.replaceSync(v)):f=v,W.set(b,f)})(S,u,!!(1&h.i))}const g=d.R,p=()=>ue(d,!0);g&&g["s-rc"]?g["s-rc"].push(p):p()}catch(g){D(g,o),d.A&&(d.A(),d.A=void 0),d.L&&d.L(o)}})(r,a,l)}}})(this),s&&s.call(this)},disconnectedCallback(){(async r=>{if(!(1&C.i)){const a=P(r);a?.V&&(a.V.map((l=>l())),a.V=void 0)}T.has(r)&&T.delete(r),r.shadowRoot&&T.has(r.shadowRoot)&&T.delete(r.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${i.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else dt.call(this,i)}}),Object.defineProperty(e,"is",{value:i.p,configurable:!0}),$t(e,i,3)}catch(s){return D(s),e}},Fe=(e,t,i)=>{i&&w.document&&i.map((([s,n,r])=>{const a=Et(w.document,e,s),l=Ot(t,r),o=jt(s);C.ael(a,n,l,o),(t.V=t.V||[]).push((()=>C.rel(a,n,l,o)))}))},Ot=(e,t)=>i=>{try{e.$hostElement$[t](i)}catch(s){D(s,e.$hostElement$)}},Et=(e,t,i)=>8&i?w:t,jt=e=>lt?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function hs(e){return e}function He(e){var t,i,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(i=He(e[t]))&&(s&&(s+=" "),s+=i)}else for(i in e)e[i]&&(s&&(s+=" "),s+=i);return s}function R(){for(var e,t,i=0,s="",n=arguments.length;i<n;i++)(e=arguments[i])&&(t=He(e))&&(s&&(s+=" "),s+=t);return s}const Pt=Object.freeze(Object.defineProperty({__proto__:null,getElementVisibility:e=>{const{label:t,supportingText:i}=e,s=typeof t=="string"&&t.trim().length>0,n=typeof i=="string"&&i.trim().length>0;return{hasLabel:s,hasSupportingText:n}}},Symbol.toStringTag,{value:"Module"})),Q=64,We=10,Ue=Q/2-We/2,At=Q/2,fe=2*Math.PI*Ue,Tt=`0 0 ${Q} ${Q}`,Lt=Object.freeze(Object.defineProperty({__proto__:null,calculateStrokeDasharray:(e=0,t)=>{const i=typeof t=="number"&&t>0?t:1,n=Math.max(0,Math.min(i,e))/i*100,r=(fe*n/100).toFixed(2),a=(fe-parseFloat(r)).toFixed(2);return`${r} ${a}`},centerPosition:At,circumference:fe,radius:Ue,thickness:We,viewBox:Tt},Symbol.toStringTag,{value:"Module"})),Dt=Object.freeze(Object.defineProperty({__proto__:null,getGidsChartLegendItemClassNames:({seriesType:e,orientation:t},i)=>R("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"})),zt=Object.freeze(Object.defineProperty({__proto__:null,getGidsChartLegendClassNames:({orientation:e},t)=>R("gids-chart-legend",{"gids-chart-legend--orientation-vertical":e==="vertical"},t)},Symbol.toStringTag,{value:"Module"})),It=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>R("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"})),Mt=Object.freeze(Object.defineProperty({__proto__:null,getGidsPieChartClassNames:({breakpoint:e},t)=>R("gids-pie-chart",{"gids-pie-chart--breakpoint-mobile":e==="mobile"},t)},Symbol.toStringTag,{value:"Module"})),Rt=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerControlClassNames:({size:e,indeterminate:t,value:i},s)=>R("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,s)},Symbol.toStringTag,{value:"Module"})),Gt=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerClassNames:({size:e},t)=>R("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"})),me=Symbol("defaultPath"),qe=Symbol("pathSet"),ve="gids-asset-paths-set";class Vt extends EventTarget{#s=new Map;constructor(){super()}#e(t,i){this.#s.set(t,i)}#t(t){return this.#s.get(t)??null}#i=()=>{this.dispatchEvent(new Event(ve))};haveAssetPathsBeenSet(){return this.#t(qe)!==null}setAssetPaths(t,i){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(me,t);else{for(const s in t)this.#e(s,t[s]);i&&this.#e(me,i)}this.#e(qe,"true"),setTimeout(this.#i,0)}}getAssetFilePath(t){const i=this.#t(t);if(i===null){const s=this.#t(me);if(s!==null)return`${s}${s.endsWith("/")?"":"/"}${t}`}return i}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(ve,t,{once:!0}),()=>{this.removeEventListener(ve,t)}}}const ye=Symbol.for("GIDS"),Bt=()=>(globalThis[ye]===void 0&&(globalThis[ye]={assetPaths:{}}),globalThis[ye]),Ft=e=>{const t=Bt().assetPaths;return t[e]===void 0&&(t[e]=new Vt),t[e]};function be(){return Ft("@ganpatiinfo/gids-web-shared")}function Ht(){return be().haveAssetPathsBeenSet()}function Ke(e){return be().getAssetFilePath(e)}function Wt(e){return be().onAssetPathsSet(e)}let Ut=0;const qt=(e,t="gids")=>e||`${t}-${Ut++}`,{getGidsSpinnerControlClassNames:Kt}=Rt,{calculateStrokeDasharray:Yt,thickness:Ye,radius:Ze,centerPosition:X,viewBox:Zt}=Lt,Jt=({size:e,indeterminate:t,value:i,max:s,...n})=>{let r;return t||(r={strokeDashArray:Yt(i,s||0),strokeDashoffset:"0"}),_("svg",{class:Kt({size:e,indeterminate:t,value:i}),viewBox:Zt,...n},_("circle",{class:"gids-spinner-control__track",cx:X,cy:X,r:Ze,"stroke-width":Ye}),_("circle",{style:r,class:"gids-spinner-control__progress",cx:X,cy:X,r:Ze,"stroke-width":Ye}))},{getGidsSpinnerClassNames:Qt}=Gt,{getElementVisibility:Xt}=Pt,es=({label:e,supportingText:t,size:i,indeterminate:s,value:n,max:r,class:a,...l})=>{const{hasLabel:o,hasSupportingText:d}=Xt({label:e,supportingText:t});return _("span",{class:Qt({size:i},a),...l},_(Jt,{size:i,indeterminate:s,value:n,max:r}),o&&_("span",{class:"gids-spinner__label"},e),d&&_("span",{class:"gids-spinner__supporting-text"},t))},{getGidsChartLegendClassNames:ts}=zt,ss=pe(class extends ee{constructor(e){super(),e!==!1&&this.__registerHost(),this.orientation="horizontal"}handleOrientationChange(e){this.orientation=e}render(){const e=ts({orientation:this.orientation});return _("div",{key:"d8930dd78a4d923145c5985f2c04f033281c98e7",class:e},_("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 Je(){typeof customElements<"u"&&["gids-chart-legend"].forEach((e=>{e==="gids-chart-legend"&&(customElements.get(e)||customElements.define(e,ss))}))}Je();const Qe={"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"]},Xe=new Map;for(const e in Qe)for(const t of Qe[e])Xe.set(t,e);function is(e){return Xe.get(e)}function et(e,t="regular",i){const s=is(e);let n=s??"";return i&&s&&(n=i(s)??s),`${n}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:ns}=It,rs=({name:e,size:t,appearance:i,alt:s,class:n,titleId:r,src:a,...l})=>{const o=qt(r);let d=a;return d===void 0&&Ht()&&(d=et(e,i,Ke)),_("svg",{ref:h=>{d===void 0&&Wt((()=>{(function(c,g,p){if(!c)return;const u=document.createElementNS("http://www.w3.org/2000/svg","use");u.setAttribute("href",et(g,p,Ke)),c.appendChild(u)})(h,e,i)}))},width:"16",height:"16",class:ns({size:t},n),role:"img","aria-hidden":s===""?"true":void 0,"aria-labelledby":s===""?void 0:o,...l},s!==""&&_("title",{id:o},s||e),d!==void 0?_("use",{href:d}):null)},{getGidsChartLegendItemClassNames:os}=Dt,ls=pe(class extends ee{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=os({seriesType:t?"none":this.seriesType,orientation:this.orientation});return _("div",{key:"db67ecf697bef6636b7355746b627db8c3611fa2",class:i},_("div",{key:"b97a49db6ba7bd04b1627105a3620630bd49271d",class:this.orientation==="vertical"?"gids-chart-legend-item__dot-wrapper-vertical":"gids-chart-legend-item__dot-wrapper-horizontal"},_(rs,{key:"1377932ffbdeff6a20afc18cd9afdaf766373858",name:"new",alt:"new_icon",appearance:"filled",style:t?{"--gidsIcon-color":e}:{}})),_("span",{key:"66484c78316a9f49d439b2866db123f8744dae18",class:"gids-chart-legend-item__label"},_("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 tt(){typeof customElements<"u"&&["gids-chart-legend-item"].forEach((e=>{e==="gids-chart-legend-item"&&(customElements.get(e)||customElements.define(e,ls))}))}tt();const{getGidsPieChartClassNames:as}=Mt,st=pe(class extends ee{constructor(e){super(),e!==!1&&this.__registerHost(),this.breakpoint="desktop",this.legendVisible=!1,this.chartData=[],this.size="xxs",this.chartLoaderSize="lg",this.chartLoading=!1,this.width=0,this.height=0}chartDataChanged(){this.updateDimensions()}legendVisibilityChanged(e){this.legendVisible=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:240}render(){if(this.chartLoading)return _("div",{class:"gids-pie-chart__no-data"},_(es,{label:this.chartLoadingTitle,supportingText:this.chartLoadingSupportingText,size:this?.chartLoaderSize??"lg"}));const e=this.chartData.length,t=this.chartData.reduce(((l,o)=>l+(o.value||0)),0);let i=t;e<6&&e>0&&(i=t+t/e*(6-e));const s=i>0?i:1,n=as({breakpoint:this.breakpoint}),r=2*Math.PI*25;let a=0;return _("div",{class:n},_("div",{class:"gids-pie-chart__main-container"},_("div",{class:"gids-pie-chart__chart-stage-container"},_("div",{class:`gids-pie-chart__svg-wrapper gids-pie-chart__svg-wrapper--size-${this.size}`},_("svg",{viewBox:"0 0 100 100",class:"gids-pie-chart__chart-vector"},_("circle",{cx:"50",cy:"50",r:25,class:"gids-pie-chart__track-background"}),this.chartData.map(((l,o)=>{const d=(l.value||0)/s,h=`${d*r} ${r}`,c=-a*r;return a+=d,_("circle",{key:l.label||o,cx:"50",cy:"50",r:25,class:`gids-pie-chart__segment gids-pie-chart__segment-series-${o+1}`,"stroke-dasharray":h,"stroke-dashoffset":c,transform:"rotate(-90 50 50)"})}))))),this.legendVisible?_("div",{class:"gids-pie-chart__legend-container"},_("gids-chart-legend",{orientation:"vertical"},this.chartData.map(((l,o)=>_("gids-chart-legend-item",{key:l.label,seriesType:`${o+1}`,orientation:"vertical"},l.label))))):null))}get hostElement(){return this}static get watchers(){return{chartData:[{chartDataChanged:0}],legendVisible:[{legendVisibilityChanged:0}]}}static get style(){return":host{display:block;width:100%;height:100%;box-sizing:border-box}.gids-pie-chart{display:flex;flex-direction:column;width:100%;height:100%;box-sizing:border-box}.gids-pie-chart--breakpoint-mobile{max-width:var(--gids-width-xs)}.gids-pie-chart__main-container{display:inline-flex;justify-content:center;gap:var(--gids-gap-200);width:100%;height:100%}.gids-pie-chart__chart-stage-container{display:flex;justify-content:center;align-items:center}.gids-pie-chart{}.gids-pie-chart__svg-wrapper{position:relative;display:block;flex-shrink:0}.gids-pie-chart__svg-wrapper--size-xxs{width:180px;height:180px}.gids-pie-chart__svg-wrapper--size-xs{width:220px;height:220px}.gids-pie-chart__svg-wrapper--size-sm{width:260px;height:260px}.gids-pie-chart__svg-wrapper--size-md{width:300px;height:300px}.gids-pie-chart__svg-wrapper--size-lg{width:340px;height:340px}.gids-pie-chart__chart-vector{display:block;width:100%;height:100%}.gids-pie-chart{}.gids-pie-chart__track-background{fill:none;stroke:var(--gids-color-background-neutral-default);stroke-width:12;}.gids-pie-chart__segment{fill:none;stroke-width:12;stroke-linecap:butt;transition:stroke-dashoffset 0.3s ease;}.gids-pie-chart__segment.gids-pie-chart__segment-series-1{stroke:var(--gids-color-icon-subtle);}.gids-pie-chart__segment.gids-pie-chart__segment-series-2{stroke:var(--gids-color-icon-warning);}.gids-pie-chart__segment.gids-pie-chart__segment-series-3{stroke:var(--gids-color-icon-danger);}.gids-pie-chart__segment.gids-pie-chart__segment-series-4{stroke:var(--gids-color-background-positive-bold-hovered);}.gids-pie-chart__segment.gids-pie-chart__segment-series-5{stroke:var(--gids-color-background-information-bold-default);}.gids-pie-chart__segment.gids-pie-chart__segment-series-6{stroke:rgb(238, 70, 188);}.gids-pie-chart__legend-container{display:inline-flex;align-items:flex-start}.gids-pie-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)}"}},[0,"gids-pie-chart",{breakpoint:[1],legendVisible:[4,"legend-visible"],chartData:[16],size:[1],chartLoaderSize:[1,"chart-loader-size"],chartLoading:[4,"chart-loading"],chartLoadingTitle:[1,"chart-loading-title"],chartLoadingSupportingText:[1,"chart-loading-supporting-text"],width:[32],height:[32]},void 0,{chartData:[{chartDataChanged:0}],legendVisible:[{legendVisibilityChanged:0}]}]);function it(){typeof customElements<"u"&&["gids-pie-chart","gids-chart-legend","gids-chart-legend-item"].forEach((e=>{switch(e){case"gids-pie-chart":customElements.get(e)||customElements.define(e,st);break;case"gids-chart-legend":customElements.get(e)||Je();break;case"gids-chart-legend-item":customElements.get(e)||tt()}}))}it();const cs=st,ds=it;L.GidsPieChart=cs,L.defineCustomElement=ds,Object.defineProperty(L,Symbol.toStringTag,{value:"Module"})}));
5
+ `);const k=this["s-cr"].parentElement;return(k.__childNodes?k.childNodes:(y=>{const b=[];for(let f=0;f<y.length;f++){const m=y[f]["s-nr"]||void 0;m&&m.isConnected&&b.push(m)}return b})(k.childNodes)).forEach((y=>{g===G(y)&&u.push(y)})),c?u.filter((y=>y.nodeType===1)):u}).bind(d);d.assignedElements=h(!0),d.assignedNodes=h(!1)})(o),l=e&&e.m&&e.m[s],l&&l.O===i.O&&e.S&&Te(e.S)),o},Te=e=>{C.i|=1;const t=e.closest(L.toLowerCase());if(t!=null){const s=Array.from(t.__childNodes||t.childNodes).find((i=>i["s-cr"])),r=Array.from(e.__childNodes||e.childNodes);for(const i of s?r.reverse():r)i["s-sh"]!=null&&(j(t,i,s??null),i["s-sh"]=void 0,K=!0)}C.i&=-2},Z=(e,t)=>{C.i|=1;const s=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let r=e;for(;r=r.nextSibling;)r&&r["s-sn"]===e["s-sn"]&&r["s-sh"]===L&&s.push(r)}for(let r=s.length-1;r>=0;r--){const i=s[r];i["s-hn"]!==L&&i["s-ol"]&&(j(B(i).parentNode,i,B(i)),i["s-ol"].remove(),i["s-ol"]=void 0,i["s-sh"]=void 0,K=!0),t&&Z(i,t)}C.i&=-2},Le=(e,t,s,r,i,o)=>{let n,l=e["s-cr"]&&e["s-cr"].parentNode||e;for(l.shadowRoot&&l.tagName===L&&(l=l.shadowRoot),s.O==="template"&&(l=l.content);i<=o;++i)r[i]&&(n=Y(null,s,i),n&&(r[i].S=n,j(l,n,B(t))))},De=(e,t,s)=>{for(let r=t;r<=s;++r){const i=e[r];if(i){const o=i.S;Me(i),o&&(U=!0,o["s-ol"]?o["s-ol"].remove():Z(o,!0),o.remove())}}},J=(e,t,s=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:s?(s&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),B=e=>e&&e["s-ol"]||e,I=(e,t,s=!1)=>{const r=t.S=e.S,i=e.m,o=t.m,n=t.O,l=t.h;let a;l==null?(N=n==="svg"||n!=="foreignObject"&&N,n!=="slot"||V||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Te(t.S.parentElement)),de(e,t,N),i!==null&&o!==null?((d,h,c,p,u=!1)=>{let g,k,y=0,b=0,f=0,m=0,S=h.length-1,w=h[0],_=h[S],$=p.length-1,O=p[0],E=p[$];const it=c.O==="template"?d.content:d;for(;y<=S&&b<=$;)if(w==null)w=h[++y];else if(_==null)_=h[--S];else if(O==null)O=p[++b];else if(E==null)E=p[--$];else if(J(w,O,u))I(w,O,u),w=h[++y],O=p[++b];else if(J(_,E,u))I(_,E,u),_=h[--S],E=p[--$];else if(J(w,E,u))w.O!=="slot"&&E.O!=="slot"||Z(w.S.parentNode,!1),I(w,E,u),j(it,w.S,_.S.nextSibling),w=h[++y],E=p[--$];else if(J(_,O,u))w.O!=="slot"&&E.O!=="slot"||Z(_.S.parentNode,!1),I(_,O,u),j(it,_.S,w.S),_=h[--S],O=p[++b];else{for(f=-1,m=y;m<=S;++m)if(h[m]&&h[m].$!==null&&h[m].$===O.$){f=m;break}f>=0?(k=h[f],k.O!==O.O?g=Y(h&&h[b],c,f):(I(k,O,u),h[f]=void 0,g=k.S),O=p[++b]):(g=Y(h&&h[b],c,b),O=p[++b]),g&&j(B(w.S).parentNode,g,B(w.S))}y>S?Le(d,p[$+1]==null?null:p[$+1].S,c,p,b,$):b>$&&De(h,y,S)})(r,i,t,o,s):o!==null?(e.h!==null&&(r.textContent=""),Le(r,null,t,o,0,o.length-1)):!s&&i!==null&&De(i,0,i.length-1),N&&n==="svg"&&(N=!1)):(a=r["s-cr"])?a.parentNode.textContent=l:e.h!==l&&(r.data=l)},P=[],Ie=e=>{let t,s,r;const i=e.__childNodes||e.childNodes;for(const o of i){if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){s=t.parentNode.__childNodes||t.parentNode.childNodes;const n=o["s-sn"];for(r=s.length-1;r>=0;r--)if(t=s[r],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===o["s-hn"]||t["s-sh"]&&t["s-sh"]===o["s-hn"]))if(Ne(t,n)){let l=P.find((a=>a.k===t));U=!0,t["s-sn"]=t["s-sn"]||n,l?(l.k["s-sh"]=o["s-hn"],l.N=o):(t["s-sh"]=o["s-hn"],P.push({N:o,k:t})),t["s-sr"]&&P.map((a=>{Ne(a.k,t["s-sn"])&&(l=P.find((d=>d.k===t)),l&&!a.N&&(a.N=l.N))}))}else P.some((l=>l.k===t))||P.push({k:t})}o.nodeType===1&&Ie(o)}},Me=e=>{e.v&&e.v.ref&&he.push((()=>e.v.ref(null))),e.m&&e.m.map(Me)},wt=(e,t)=>{pe.push((()=>e(t)))},j=(e,t,s,r)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,s);const{slotNode:i}=(function(o,n){var l;if(!(n=n||((l=o["s-ol"])==null?void 0:l.parentElement)))return{slotNode:null,slotName:""};const a=o["s-sn"]=G(o)||"";return{slotNode:ae(le(n,"childNodes"),n.tagName,a)[0],slotName:a}})(t);return i&&!r&&i.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,s):e?.insertBefore(t,s)},yt=(e,t,s=!1)=>{var r,i,o,n,l;const a=e.$hostElement$,d=e.o,h=e.M||W(null,null);var c;const p=(c=t)&&c.O===pt?t:v(null,null,t);if(L=a.tagName,d.C&&(p.v=p.v||{},d.C.forEach((([u,g])=>{p.v[g]=a[u]}))),s&&p.v)for(const u of Object.keys(p.v))a.hasAttribute(u)&&!["key","ref","style","class"].includes(u)&&(p.v[u]=a[u]);if(p.O=null,p.i|=4,e.M=p,p.S=h.S=a.shadowRoot||a,V=!(!(1&d.i)||128&d.i),ne=a["s-cr"],U=!1,I(h,p,s),C.i|=1,K){Ie(p.S);for(const u of P){const g=u.k;if(!g["s-ol"]&&x.document){const k=x.document.createTextNode("");k["s-nr"]=g,j(g.parentNode,g["s-ol"]=k,g,s)}}for(const u of P){const g=u.k,k=u.N;if(g.nodeType===1&&s&&(g["s-ih"]=(r=g.hidden)!=null&&r),k){const y=k.parentNode;let b=k.nextSibling;if(b&&b.nodeType===1){let f=(i=g["s-ol"])==null?void 0:i.previousSibling;for(;f;){let m=(o=f["s-nr"])!=null?o:null;if(m&&m["s-sn"]===g["s-sn"]&&y===(m.__parentNode||m.parentNode)){for(m=m.nextSibling;m===g||m?.["s-sr"];)m=m?.nextSibling;if(!m||!m["s-nr"]){b=m;break}}f=f.previousSibling}}if((!b&&y!==(g.__parentNode||g.parentNode)||(g.__nextSibling||g.nextSibling)!==b)&&g!==b){if(j(y,g,b,s),g.nodeType===8&&g.nodeValue.startsWith("s-nt-")){const f=x.document.createTextNode(g.nodeValue.replace(/^s-nt-/,""));f["s-hn"]=g["s-hn"],f["s-sn"]=g["s-sn"],f["s-sh"]=g["s-sh"],f["s-sr"]=g["s-sr"],f["s-ol"]=g["s-ol"],f["s-ol"]["s-nr"]=f,j(g.parentNode,f,g,s),g.parentNode.removeChild(g)}g.nodeType===1&&g.tagName!=="SLOT-FB"&&(g.hidden=(n=g["s-ih"])!=null&&n)}g&&typeof k["s-rf"]=="function"&&k["s-rf"](k)}else g.nodeType===1&&(g.hidden=!0)}}if(U&&Ce(p.S),C.i&=-2,P.length=0,!V&&!(1&d.i)&&a["s-cr"]){const u=p.S.__childNodes||p.S.childNodes;for(const g of u)if(g["s-hn"]!==L&&!g["s-sh"]){if(s&&g["s-ih"]==null&&(g["s-ih"]=(l=g.hidden)!=null&&l),g.nodeType===1)g.hidden=!0;else if(g.nodeType===3&&g.nodeValue.trim()){const k=x.document.createComment("s-nt-"+g.nodeValue);k["s-sn"]=g["s-sn"],j(g.parentNode,k,g,s),g.parentNode.removeChild(g)}}}ne=void 0,he.forEach((u=>u())),he.length=0,pe.forEach((u=>u())),pe.length=0},Re=(e,t)=>{if(t&&!e.A&&t["s-p"]){const s=t["s-p"].push(new Promise((r=>e.A=()=>{t["s-p"].splice(s-1,1),r()})))}},ge=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Re(e,e.R);const s=()=>vt(e,t);if(!t)return ct(s);queueMicrotask((()=>{s()}))},vt=(e,t)=>{const s=e.$hostElement$,r=s;if(!r)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return i=F(r,t?"componentWillLoad":"componentWillUpdate",void 0,s),i=Ge(i,(()=>F(r,"componentWillRender",void 0,s))),Ge(i,(()=>xt(e,r,t)))},Ge=(e,t)=>kt(e)?e.then(t).catch((s=>{console.error(s),t()})):t(),kt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",xt=async(e,t,s)=>{var r;const i=e.$hostElement$,o=i["s-rc"];s&&(n=>{const l=n.o,a=n.$hostElement$,d=l.i,h=((c,p)=>{var u,g,k;const y=$e(p),b=H.get(y);if(!x.document)return y;if(c=c.nodeType===11?c:x.document,b)if(typeof b=="string"){let f,m=q.get(c=c.head||c);if(m||q.set(c,m=new Set),!m.has(y)){f=x.document.createElement("style"),f.textContent=b;const S=(u=C._)!=null?u:(function(){var w,_,$;return($=(_=(w=x.document.head)==null?void 0:w.querySelector('meta[name="csp-nonce"]'))==null?void 0:_.getAttribute("content"))!=null?$:void 0})();if(S!=null&&f.setAttribute("nonce",S),!(1&p.i))if(c.nodeName==="HEAD"){const w=c.querySelectorAll("link[rel=preconnect]"),_=w.length>0?w[w.length-1].nextSibling:c.querySelector("style");c.insertBefore(f,_?.parentNode===c?_:null)}else if("host"in c)if(te){const w=new((g=c.defaultView)!=null?g:c.ownerDocument.defaultView).CSSStyleSheet;w.replaceSync(b),re?c.adoptedStyleSheets.unshift(w):c.adoptedStyleSheets=[w,...c.adoptedStyleSheets]}else{const w=c.querySelector("style");w?w.textContent=b+w.textContent:c.prepend(f)}else c.append(f);1&p.i&&c.insertBefore(f,null),4&p.i&&(f.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),m&&m.add(y)}}else{let f=q.get(c);if(f||q.set(c,f=new Set),!f.has(y)){const m=(k=c.defaultView)!=null?k:c.ownerDocument.defaultView;let S;if(b.constructor===m.CSSStyleSheet)S=b;else{S=new m.CSSStyleSheet;for(let w=0;w<b.cssRules.length;w++)S.insertRule(b.cssRules[w].cssText,w)}re?c.adoptedStyleSheets.push(S):c.adoptedStyleSheets=[...c.adoptedStyleSheets,S],f.add(y)}}return y})(a.shadowRoot?a.shadowRoot:a.getRootNode(),l);10&d&&(a["s-sc"]=h,a.classList.add(h+"-h"))})(e),_t(e,t,i,s),o&&(o.map((n=>n())),i["s-rc"]=void 0);{const n=(r=i["s-p"])!=null?r:[],l=()=>St(e);n.length===0?l():(Promise.all(n).then(l).catch(l),e.i|=4,n.length=0)}},_t=(e,t,s,r)=>{try{t=t.render(),e.i&=-17,e.i|=2,yt(e,t,r)}catch(i){T(i,e.$hostElement$)}return null},St=e=>{const t=e.$hostElement$,s=t,r=e.R;F(s,"componentDidRender",void 0,t),64&e.i?F(s,"componentDidUpdate",void 0,t):(e.i|=64,Nt(t),F(s,"componentDidLoad",void 0,t),e.L(t),r||Ct()),e.A&&(e.A(),e.A=void 0),512&e.i&&oe((()=>ge(e,!1))),e.i&=-517},Ct=()=>{oe((()=>mt(x,"appload",{detail:{namespace:"gids-core-web"}})))},F=(e,t,s,r)=>{if(e&&e[t])try{return e[t](s)}catch(i){T(i,r)}},Nt=e=>e.classList.add("hydrated"),Ve=(e,t,s,r)=>{const i=z(e);if(!i)return;const o=e,n=i.l.get(t),l=i.i,a=o;s=Ee(s,r.t[t][0],!!(64&r.i));const d=Number.isNaN(n)&&Number.isNaN(s);if(s!==n&&!d){if(i.l.set(t,s),r.F){const h=r.F[t];h&&h.map((c=>{try{const[[p,u]]=Object.entries(c);(128&l||1&u)&&(a?a[p](s,n,t):i.T.push((()=>{i.D[p](s,n,t)})))}catch(p){T(p,o)}}))}if(2&l){if(a.componentShouldUpdate&&a.componentShouldUpdate(s,n,t)===!1&&!(16&l))return;16&l||ge(i,!1)}}},$t=(e,t,s)=>{var r,i;const o=e.prototype;64&t.i&&1&s&&at.forEach((n=>{const l=o[n];Object.defineProperty(o,n,{value(...a){var d;const h=z(this),c=this;c?typeof l=="function"&&l.call(c,...a):(d=h?.H)==null||d.then((p=>{const u=p[n];typeof u=="function"&&u.call(p,...a)}))}})}));{e.watchers&&!t.F&&(t.F=je(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const n=Object.entries((r=t.t)!=null?r:{});n.map((([l,[a]])=>{if(31&a||32&a){const{get:d,set:h}=D(o,l)||{};d&&(t.t[l][0]|=2048),h&&(t.t[l][0]|=4096),Object.defineProperty(o,l,{get(){return d?d.apply(this):(c=l,z(this).l.get(c));var c},configurable:!0,enumerable:!0}),Object.defineProperty(o,l,{set(c){const p=z(this);if(p){if(h)return(32&a?this[l]:p.$hostElement$[l])===void 0&&p.l.get(l)&&(c=p.l.get(l)),h.apply(this,[Ee(c,a,!!(64&t.i))]),void Ve(this,l,c=32&a?this[l]:p.$hostElement$[l],t);Ve(this,l,c,t)}}})}}));{const l=new Map;o.attributeChangedCallback=function(a,d,h){C.jmp((()=>{var c;const p=l.get(a),u=z(this);if(this.hasOwnProperty(p),o.hasOwnProperty(p)&&typeof this[p]=="number"&&this[p]==h)return;if(p==null){const f=u?.i;if(u&&f&&!(8&f)&&h!==d){const m=this,S=(c=t.F)==null?void 0:c[a];S?.forEach((w=>{const[[_,$]]=Object.entries(w);m[_]!=null&&(128&f||1&$)&&m[_].call(m,h,d,a)}))}return}const g=n.find((([f])=>f===p)),k=g&&4&g[1][0],y=k&&h===null&&this[p]===void 0;k&&(h=h!==null&&h!=="false");const b=Object.getOwnPropertyDescriptor(o,p);y||h==this[p]||b.get&&!b.set||(this[p]=h)}))},e.observedAttributes=Array.from(new Set([...Object.keys((i=t.F)!=null?i:{}),...n.filter((([a,d])=>31&d[0])).map((([a,d])=>{var h;const c=d[1]||a;return l.set(c,a),512&d[0]&&((h=t.C)==null||h.push([a,c])),c}))]))}}return e},ue=(e,t)=>{const s={i:t[0],p:t[1]};try{s.t=t[2],s.W=t[3],s.F=je(e.F),s.P=e.P,s.U=e.U,s.C=[];const r=e.prototype.connectedCallback,i=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((o,n)=>{const l={i:0,$hostElement$:o,o:n,l:new Map,B:new Map};l.H=new Promise((d=>l.L=d)),o["s-p"]=[],o["s-rc"]=[];const a=l;o.__stencil__getHostRef=()=>a,512&n.i&&ot(o,l)})(this,s)},connectedCallback(){if(!this.__hasHostListenerAttached){const o=z(this);if(!o)return;Be(this,o,s.W),this.__hasHostListenerAttached=!0}(o=>{if(!(1&C.i)){const n=z(o);if(!n)return;const l=n.o;if(1&n.i)Be(o,n,l.W),n?.D||n?.H&&n.H.then((()=>{}));else{n.i|=1,12&l.i&&(a=>{if(!x.document)return;const d=a["s-cr"]=x.document.createComment("");d["s-cn"]=!0,j(a,d,a.firstChild)})(o);{let a=o;for(;a=a.parentNode||a.host;)if(a["s-p"]){Re(n,n.R=a);break}}l.t&&Object.entries(l.t).map((([a,[d]])=>{if(31&d&&Object.prototype.hasOwnProperty.call(o,a)){const h=o[a];delete o[a],o[a]=h}})),(async(a,d,h)=>{let c;try{if(!(32&d.i)&&(d.i|=32,c=a.constructor,customElements.whenDefined(a.localName).then((()=>d.i|=128)),c&&c.style)){let g;typeof c.style=="string"&&(g=c.style);const k=$e(h);H.has(k)||((y,b,f)=>{let m=H.get(y);te&&f?(m=m||new CSSStyleSheet,typeof m=="string"?m=b:m.replaceSync(b)):m=b,H.set(y,m)})(k,g,!!(1&h.i))}const p=d.R,u=()=>ge(d,!0);p&&p["s-rc"]?p["s-rc"].push(u):u()}catch(p){T(p,a),d.A&&(d.A(),d.A=void 0),d.L&&d.L(a)}})(o,n,l)}}})(this),r&&r.call(this)},disconnectedCallback(){(async o=>{if(!(1&C.i)){const n=z(o);n?.V&&(n.V.map((l=>l())),n.V=void 0)}q.has(o)&&q.delete(o),o.shadowRoot&&q.has(o.shadowRoot)&&q.delete(o.shadowRoot)})(this),i&&i.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${s.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else dt.call(this,s)}}),Object.defineProperty(e,"is",{value:s.p,configurable:!0}),$t(e,s,3)}catch(r){return T(r),e}},Be=(e,t,s)=>{s&&x.document&&s.map((([r,i,o])=>{const n=jt(x.document,e,r),l=Ot(t,o),a=Et(r);C.ael(n,i,l,a),(t.V=t.V||[]).push((()=>C.rel(n,i,l,a)))}))},Ot=(e,t)=>s=>{try{e.$hostElement$[t](s)}catch(r){T(r,e.$hostElement$)}},jt=(e,t,s)=>8&s?x:t,Et=e=>lt?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function hr(e){return e}function Fe(e){var t,s,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(s=Fe(e[t]))&&(r&&(r+=" "),r+=s)}else for(s in e)e[s]&&(r&&(r+=" "),r+=s);return r}function M(){for(var e,t,s=0,r="",i=arguments.length;s<i;s++)(e=arguments[s])&&(t=Fe(e))&&(r&&(r+=" "),r+=t);return r}const zt=Object.freeze(Object.defineProperty({__proto__:null,getElementVisibility:e=>{const{label:t,supportingText:s}=e,r=typeof t=="string"&&t.trim().length>0,i=typeof s=="string"&&s.trim().length>0;return{hasLabel:r,hasSupportingText:i}}},Symbol.toStringTag,{value:"Module"})),Q=64,He=10,We=Q/2-He/2,Pt=Q/2,me=2*Math.PI*We,qt=`0 0 ${Q} ${Q}`,At=Object.freeze(Object.defineProperty({__proto__:null,calculateStrokeDasharray:(e=0,t)=>{const s=typeof t=="number"&&t>0?t:1,i=Math.max(0,Math.min(s,e))/s*100,o=(me*i/100).toFixed(2),n=(me-parseFloat(o)).toFixed(2);return`${o} ${n}`},centerPosition:Pt,circumference:me,radius:We,thickness:He,viewBox:qt},Symbol.toStringTag,{value:"Module"})),Tt=Object.freeze(Object.defineProperty({__proto__:null,getGidsChartLegendItemClassNames:({seriesType:e,orientation:t},s)=>M("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"},s)},Symbol.toStringTag,{value:"Module"})),Lt=Object.freeze(Object.defineProperty({__proto__:null,getGidsChartLegendClassNames:({orientation:e},t)=>M("gids-chart-legend",{"gids-chart-legend--orientation-vertical":e==="vertical"},t)},Symbol.toStringTag,{value:"Module"})),Dt=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>M("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,getGidsPieChartClassNames:({breakpoint:e},t)=>M("gids-pie-chart",{"gids-pie-chart--breakpoint-mobile":e==="mobile"},t)},Symbol.toStringTag,{value:"Module"})),Mt=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerControlClassNames:({size:e,indeterminate:t,value:s},r)=>M("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},s,r)},Symbol.toStringTag,{value:"Module"})),Rt=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerClassNames:({size:e},t)=>M("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"})),fe=Symbol("defaultPath"),Ue=Symbol("pathSet"),be="gids-asset-paths-set";class Gt extends EventTarget{#r=new Map;constructor(){super()}#e(t,s){this.#r.set(t,s)}#t(t){return this.#r.get(t)??null}#s=()=>{this.dispatchEvent(new Event(be))};haveAssetPathsBeenSet(){return this.#t(Ue)!==null}setAssetPaths(t,s){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(fe,t);else{for(const r in t)this.#e(r,t[r]);s&&this.#e(fe,s)}this.#e(Ue,"true"),setTimeout(this.#s,0)}}getAssetFilePath(t){const s=this.#t(t);if(s===null){const r=this.#t(fe);if(r!==null)return`${r}${r.endsWith("/")?"":"/"}${t}`}return s}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(be,t,{once:!0}),()=>{this.removeEventListener(be,t)}}}const we=Symbol.for("GIDS"),Vt=()=>(globalThis[we]===void 0&&(globalThis[we]={assetPaths:{}}),globalThis[we]),Bt=e=>{const t=Vt().assetPaths;return t[e]===void 0&&(t[e]=new Gt),t[e]};function ye(){return Bt("@ganpatiinfo/gids-web-shared")}function Ft(){return ye().haveAssetPathsBeenSet()}function Ke(e){return ye().getAssetFilePath(e)}function Ht(e){return ye().onAssetPathsSet(e)}let Wt=0;const Ut=(e,t="gids")=>e||`${t}-${Wt++}`,{getGidsSpinnerControlClassNames:Kt}=Mt,{calculateStrokeDasharray:Yt,thickness:Ye,radius:Ze,centerPosition:X,viewBox:Zt}=At,Jt=({size:e,indeterminate:t,value:s,max:r,...i})=>{let o;return t||(o={strokeDashArray:Yt(s,r||0),strokeDashoffset:"0"}),v("svg",{class:Kt({size:e,indeterminate:t,value:s}),viewBox:Zt,...i},v("circle",{class:"gids-spinner-control__track",cx:X,cy:X,r:Ze,"stroke-width":Ye}),v("circle",{style:o,class:"gids-spinner-control__progress",cx:X,cy:X,r:Ze,"stroke-width":Ye}))},{getGidsSpinnerClassNames:Qt}=Rt,{getElementVisibility:Xt}=zt,er=({label:e,supportingText:t,size:s,indeterminate:r,value:i,max:o,class:n,...l})=>{const{hasLabel:a,hasSupportingText:d}=Xt({label:e,supportingText:t});return v("span",{class:Qt({size:s},n),...l},v(Jt,{size:s,indeterminate:r,value:i,max:o}),a&&v("span",{class:"gids-spinner__label"},e),d&&v("span",{class:"gids-spinner__supporting-text"},t))},{getGidsChartLegendClassNames:tr}=Lt,rr=ue(class extends ee{constructor(e){super(),e!==!1&&this.__registerHost(),this.orientation="horizontal"}handleOrientationChange(e){this.orientation=e}render(){const e=tr({orientation:this.orientation});return v("div",{key:"c57dbe65422b2c4588d18bf36a28e4e54ca4259e",class:e},v("slot",{key:"1055b41640de135243f5d912f7245a8d7b282c98"}))}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 Je(){typeof customElements<"u"&&["gids-chart-legend"].forEach((e=>{e==="gids-chart-legend"&&(customElements.get(e)||customElements.define(e,rr))}))}Je();const Qe={"icons-other.svg":["accessibility","add","remove","announcement","approval","archive","audio","backward","banking","battery","bluetooth","bookmark","bulb","calendar","camera","card","cart","chart","chat","cloud","code","compass","desktop","email","emergency","exchange","finance","fingerprint","flag","folder","forward","gift","globe","goals","happy","hashtag","headphones","history","image","insurance","investment","in-progress","key","link","list","location","lock","map","maximise","microphone","minimise","mobile","moon","network","neutral","ai","new","draft","pending","new-chat","pause","percent","placeholder","play","power","rain","refresh","repeat","sad","save","savings","shield","shuffle","side-navigation","snow","speaker","stop","sun","tablet","temperature","thumbs-down","thumbs-up","travel","trend-down","trend-up","unlock","upset","verified","very-happy","video","volume-down","volume-max","volume-min","volume-mute","volume-up","wallet","wealth","wi-fi","wind","acorn","address-book","address-book-tabs","air-traffic-control","airplane","airplane-in-flight","airplane-landing","airplane-takeoff","airplane-taxiing","airplane-tilt","airplay","alarm","alien","align-bottom","align-bottom-simple","align-center-horizontal","align-center-horizontal-simple","align-center-vertical","align-center-vertical-simple","align-left","align-left-simple","align-right","align-right-simple","align-top","align-top-simple","amazon-logo","ambulance","anchor","anchor-simple","android-logo","angle","angular-logo","aperture","app-store-logo","app-window","apple-logo","apple-podcasts-logo","approximate-equals","armchair","arrow-arc-left","arrow-arc-right","arrow-bend-double-up-left","arrow-bend-double-up-right","arrow-bend-down-left","arrow-bend-down-right","arrow-bend-left-down","arrow-bend-left-up","arrow-bend-right-down","arrow-bend-right-up","arrow-bend-up-left","arrow-bend-up-right","arrow-circle-down","arrow-circle-down-left","arrow-circle-down-right","arrow-circle-left","arrow-circle-right","arrow-circle-up","arrow-circle-up-left","arrow-circle-up-right","arrow-clockwise","arrow-counter-clockwise","arrow-down-left","arrow-down-right","arrow-elbow-down-left","arrow-elbow-down-right","arrow-elbow-left","arrow-elbow-left-down","arrow-elbow-left-up","arrow-elbow-right","arrow-elbow-right-down","arrow-elbow-right-up","arrow-elbow-up-left","arrow-elbow-up-right","arrow-fat-down","arrow-fat-left","arrow-fat-line-down","arrow-fat-line-left","arrow-fat-line-right","arrow-fat-line-up","arrow-fat-lines-down","arrow-fat-lines-left","arrow-fat-lines-right","arrow-fat-lines-up","arrow-fat-right","arrow-fat-up","arrow-line-down","arrow-line-down-left","arrow-line-down-right","arrow-line-left","arrow-line-right","arrow-line-up","arrow-line-up-left","arrow-line-up-right","arrow-square-down","arrow-square-down-left","arrow-square-down-right","arrow-square-in","arrow-square-left","arrow-square-out","arrow-square-right","arrow-square-up","arrow-square-up-left","arrow-square-up-right","arrow-u-down-left","arrow-u-down-right","arrow-u-left-down","arrow-u-left-up","arrow-u-right-down","arrow-u-right-up","arrow-u-up-left","arrow-u-up-right","arrow-up-left","arrow-up-right","arrows-clockwise","arrows-counter-clockwise","arrows-down-up","arrows-horizontal","arrows-in","arrows-in-cardinal","arrows-in-line-horizontal","arrows-in-line-vertical","arrows-in-simple","arrows-left-right","arrows-merge","arrows-out","arrows-out-cardinal","arrows-out-line-horizontal","arrows-out-line-vertical","arrows-out-simple","arrows-split","arrows-vertical","article","article-medium","article-ny-times","asclepius","asterisk","asterisk-simple","at","atom","avocado","axe","baby","baby-carriage","backpack","backspace","bag","bag-simple","balloon","bandaids","bank","barbell","barcode","barn","barricade","baseball","baseball-cap","baseball-helmet","basket","basketball","bathtub","battery-charging","battery-charging-vertical","battery-empty","battery-full","battery-high","battery-low","battery-medium","battery-plus","battery-plus-vertical","battery-vertical-empty","battery-vertical-full","battery-vertical-high","battery-vertical-low","battery-vertical-medium","battery-warning","battery-warning-vertical","beach-ball","beanie","bed","beer-bottle","beer-stein","behance-logo","bell","bell-ringing","bell-simple","bell-simple-ringing","bell-simple-slash","bell-simple-z","bell-slash","bell-z","belt","bezier-curve","bicycle","binary","binoculars","biohazard","bird","blueprint","bluetooth-connected","bluetooth-slash","bluetooth-x","boat","bomb","bone","book","book-bookmark","book-open","book-open-text","book-open-user","bookmark-simple","bookmarks","bookmarks-simple","books","boot","boules","bounding-box","bowl-food","bowl-steam","bowling-ball","box-arrow-down","box-arrow-up","boxing-glove","brackets-angle","brackets-curly","brackets-round","brackets-square","brain","brandy","bread","bridge","briefcase","briefcase-metal","broadcast","broom","browser","browsers","bug","bug-beetle","bug-droid","building","building-apartment","building-office","buildings","bulldozer","bus","butterfly","cable-car","cactus","cake","calculator","calendar-blank","calendar-check","calendar-dot","calendar-dots","calendar-heart","calendar-minus","calendar-plus","calendar-slash","calendar-star","calendar-x","call-bell","camera-plus","camera-rotate","camera-slash","campfire","car","car-battery","car-profile","car-simple","cardholder","cards","cards-three","caret-circle-double-down","caret-circle-double-left","caret-circle-double-right","caret-circle-double-up","caret-circle-down","caret-circle-left","caret-circle-right","caret-circle-up","caret-circle-up-down","caret-double-down","caret-double-left","caret-double-right","caret-double-up","caret-down","caret-left","caret-line-down","caret-line-left","caret-line-right","caret-line-up","caret-right","caret-up","caret-up-down","carrot","cash-register","cassette-tape","castle-turret","cat","cell-signal-full","cell-signal-high","cell-signal-low","cell-signal-medium","cell-signal-none","cell-signal-slash","cell-signal-x","cell-tower","certificate","chair","chalkboard","chalkboard-simple","chalkboard-teacher","champagne","charging-station","chart-bar","chart-bar-horizontal","chart-donut","chart-line","chart-line-down","chart-line-up","chart-pie","chart-pie-slice","chart-polar","chart-scatter","chat-centered","chat-centered-dots","chat-centered-slash","chat-centered-text","chat-circle","chat-circle-dots","chat-circle-slash","chat-circle-text","chat-dots","chat-slash","chat-teardrop","chat-teardrop-dots","chat-teardrop-slash","chat-teardrop-text","chat-text","chats","chats-circle","chats-teardrop","check","check-circle","check-fat","check-square","check-square-offset","checkerboard","checks","cheers","cheese","chef-hat","cherries","church","cigarette","cigarette-slash","circle","circle-dashed","circle-half","circle-half-tilt","circle-notch","circles-four","circles-three","circles-three-plus","circuitry","city","clipboard","clipboard-text","clock","clock-afternoon","clock-clockwise","clock-countdown","clock-counter-clockwise","clock-user","closed-captioning","cloud-arrow-down","cloud-arrow-up","cloud-check","cloud-fog","cloud-lightning","cloud-moon","cloud-rain","cloud-slash","cloud-snow","cloud-sun","cloud-warning","cloud-x","clover","club","coat-hanger","coda-logo","code-block","code-simple","codepen-logo","codesandbox-logo","coffee","coffee-bean","coin","coin-vertical","coins","columns","columns-plus-left","columns-plus-right","command","compass-rose","compass-tool","computer-tower","confetti","contactless-payment","control","cookie","cooking-pot","copy-simple","copyleft","copyright","corners-in","corners-out","couch","court-basketball","cow","cowboy-hat","cpu","crane","crane-tower","credit-card","cricket","crop","crosshair","crosshair-simple","crown","crown-cross","crown-simple","cube","cube-focus","cube-transparent","currency-btc","currency-circle-dollar","currency-cny","currency-dollar","currency-dollar-simple","currency-eth","currency-eur","currency-gbp","currency-inr","currency-jpy","currency-krw","currency-kzt","currency-ngn","currency-rub","cursor","cursor-click","cursor-text","cylinder","database","desk","desktop-tower","detective","dev-to-logo","device-mobile","device-mobile-camera","device-mobile-slash","device-mobile-speaker","device-rotate","device-tablet","device-tablet-camera","device-tablet-speaker","devices","diamond","diamonds-four","dice-five","dice-four","dice-one","dice-six","dice-three","dice-two","disc","disco-ball","discord-logo","divide","dna","dog","door","door-open","dot","dot-outline","dots-nine","dots-six","dots-six-vertical","dots-three","dots-three-circle","dots-three-circle-vertical","dots-three-outline","dots-three-outline-vertical","dots-three-vertical","download-simple","dress","dresser","dribbble-logo","drone","drop","drop-half","drop-half-bottom","drop-simple","drop-slash","dropbox-logo","ear","ear-slash","egg","egg-crack","eject","eject-simple","elevator","empty","engine","envelope","envelope-open","envelope-simple","envelope-simple-open","equalizer","equals","eraser","escalator-down","escalator-up","exam","exclamation-mark","exclude","exclude-square","export","eye-closed","eye-slash","eyedropper","eyedropper-sample","eyeglasses","eyes","face-mask","facebook-logo","factory","faders","faders-horizontal","fallout-shelter","fan","farm","fast-forward","fast-forward-circle","feather","fediverse-logo","figma-logo","file","file-archive","file-arrow-down","file-arrow-up","file-audio","file-c","file-c-sharp","file-cloud","file-code","file-cpp","file-css","file-csv","file-dashed","file-doc","file-html","file-image","file-ini","file-jpg","file-js","file-jsx","file-lock","file-magnifying-glass","file-md","file-minus","file-pdf","file-plus","file-png","file-ppt","file-py","file-rs","file-sql","file-svg","file-text","file-ts","file-tsx","file-txt","file-video","file-vue","file-x","file-xls","file-zip","files","film-reel","film-script","film-slate","film-strip","fingerprint-simple","finn-the-human","fire","fire-extinguisher","fire-simple","fire-truck","first-aid","first-aid-kit","fish","fish-simple","flag-banner","flag-banner-fold","flag-checkered","flag-pennant","flame","flashlight","flask","flip-horizontal","flip-vertical","floppy-disk","floppy-disk-back","flow-arrow","flower","flower-lotus","flower-tulip","flying-saucer","folder-dashed","folder-lock","folder-minus","folder-open","folder-plus","folder-simple","folder-simple-dashed","folder-simple-lock","folder-simple-minus","folder-simple-plus","folder-simple-star","folder-simple-user","folder-star","folder-user","folders","football","football-helmet","footprints","fork-knife","four-k","frame-corners","framer-logo","function","funnel","funnel-simple","funnel-simple-x","funnel-x","game-controller","garage","gas-can","gas-pump","gauge","gavel","gear","gear-fine","gear-six","gender-female","gender-intersex","gender-male","gender-neuter","gender-nonbinary","gender-transgender","ghost","gif","git-branch","git-commit","git-diff","git-fork","git-merge","git-pull-request","github-logo","gitlab-logo","gitlab-logo-simple","globe-hemisphere-east","globe-hemisphere-west","globe-simple","globe-simple-x","globe-stand","globe-x","goggles","golf","goodreads-logo","google-cardboard-logo","google-chrome-logo","google-drive-logo","google-logo","google-photos-logo","google-play-logo","google-podcasts-logo","gps","gps-fix","gps-slash","gradient","graduation-cap","grains","grains-slash","graph","graphics-card","greater-than","greater-than-or-equal","grid-four","grid-nine","guitar","hair-dryer","hamburger","hammer","hand","hand-arrow-down","hand-arrow-up","hand-coins","hand-deposit","hand-eye","hand-fist","hand-grabbing","hand-heart","hand-palm","hand-peace","hand-pointing","hand-soap","hand-swipe-left","hand-swipe-right","hand-tap","hand-waving","hand-withdraw","handbag","handbag-simple","hands-clapping","hands-praying","handshake","hard-drive","hard-drives","hard-hat","hash","hash-straight","head-circuit","headlights","headset","heart","heart-break","heart-half","heart-straight","heart-straight-break","heartbeat","hexagon","high-definition","high-heel","highlighter","highlighter-circle","hockey","hoodie","horse","hospital","hourglass","hourglass-high","hourglass-low","hourglass-medium","hourglass-simple","hourglass-simple-high","hourglass-simple-low","hourglass-simple-medium","house","house-line","house-simple","hurricane","ice-cream","identification-badge","identification-card","image-broken","image-square","images","images-square","infinity","info","instagram-logo","intersect","intersect-square","intersect-three","intersection","invoice","island","jar","jar-label","jeep","joystick","kanban","key-return","keyboard","keyhole","knife","ladder","ladder-simple","lamp","lamp-pendant","laptop","lasso","lastfm-logo","layout","leaf","lectern","lego","lego-smiley","less-than","less-than-or-equal","letter-circle-h","letter-circle-p","letter-circle-v","lifebuoy","lightbulb","lightbulb-filament","lighthouse","lightning","lightning-a","lightning-slash","line-segment","line-segments","line-vertical","link-break","link-simple","link-simple-break","link-simple-horizontal","link-simple-horizontal-break","linkedin-logo","linktree-logo","linux-logo","list-bullets","list-checks","list-dashes","list-heart","list-magnifying-glass","list-numbers","list-plus","list-star","lock-key","lock-key-open","lock-laminated","lock-laminated-open","lock-open","lock-simple","lock-simple-open","lockers","log","magic-wand","magnet","magnet-straight","magnifying-glass","magnifying-glass-minus","magnifying-glass-plus","mailbox","map-pin","map-pin-area","map-pin-line","map-pin-plus","map-pin-simple","map-pin-simple-area","map-pin-simple-line","map-trifold","markdown-logo","marker-circle","martini","mask-happy","mask-sad","mastodon-logo","math-operations","matrix-logo","medal","medal-military","medium-logo","megaphone","megaphone-simple","member-of","memory","messenger-logo","meta-logo","meteor","metronome","microphone-slash","microphone-stage","microscope","microsoft-excel-logo","microsoft-outlook-logo","microsoft-powerpoint-logo","microsoft-teams-logo","microsoft-word-logo","minus-circle","minus-square","money","money-wavy","monitor","monitor-arrow-up","monitor-play","moon-stars","moped","moped-front","mosque","motorcycle","mountains","mouse","mouse-left-click","mouse-middle-click","mouse-right-click","mouse-scroll","mouse-simple","music-note","music-note-simple","music-notes","music-notes-minus","music-notes-plus","music-notes-simple","navigation-arrow","needle","network-slash","network-x","newspaper","newspaper-clipping","not-equals","not-member-of","not-subset-of","not-superset-of","notches","note","note-blank","note-pencil","notebook","notepad","notification","notion-logo","nuclear-plant","number-circle-eight","number-circle-five","number-circle-four","number-circle-nine","number-circle-one","number-circle-seven","number-circle-six","number-circle-three","number-circle-two","number-circle-zero","number-eight","number-five","number-four","number-nine","number-one","number-seven","number-six","number-square-eight","number-square-five","number-square-four","number-square-nine","number-square-one","number-square-seven","number-square-six","number-square-three","number-square-two","number-square-zero","number-three","number-two","number-zero","numpad","nut","ny-times-logo","octagon","office-chair","onigiri","open-ai-logo","option","orange","orange-slice","oven","package","paint-brush","paint-brush-broad","paint-brush-household","paint-bucket","paint-roller","palette","panorama","pants","paper-plane","paper-plane-right","paper-plane-tilt","paperclip","paperclip-horizontal","parachute","paragraph","parallelogram","park","password","path","patreon-logo","pause-circle","paw-print","paypal-logo","peace","pen","pen-nib","pen-nib-straight","pencil","pencil-circle","pencil-line","pencil-ruler","pencil-simple","pencil-simple-line","pencil-simple-slash","pencil-slash","pentagon","pentagram","pepper","person","person-arms-spread","person-simple","person-simple-bike","person-simple-circle","person-simple-hike","person-simple-run","person-simple-ski","person-simple-snowboard","person-simple-swim","person-simple-tai-chi","person-simple-throw","person-simple-walk","perspective","phone-call","phone-disconnect","phone-incoming","phone-list","phone-outgoing","phone-pause","phone-plus","phone-slash","phone-transfer","phone-x","phosphor-logo","pi","piano-keys","picnic-table","picture-in-picture","piggy-bank","pill","ping-pong","pint-glass","pinterest-logo","pinwheel","pipe","pipe-wrench","pix-logo","pizza","planet","plant","play-circle","play-pause","playlist","plug","plug-charging","plugs","plugs-connected","plus-circle","plus-minus","plus-square","poker-chip","police-car","polygon","popcorn","popsicle","potted-plant","prescription","presentation","presentation-chart","prohibit","prohibit-inset","projector-screen","projector-screen-chart","pulse","push-pin","push-pin-simple","push-pin-simple-slash","push-pin-slash","puzzle-piece","qr-code","question-mark","queue","quotes","rabbit","racquet","radical","radio","radio-button","radioactive","rainbow","rainbow-cloud","ranking","read-cv-logo","receipt","receipt-x","record","rectangle","rectangle-dashed","recycle","reddit-logo","repeat-once","replit-logo","resize","rewind","rewind-circle","road-horizon","robot","rocket","rocket-launch","rows","rows-plus-bottom","rows-plus-top","rss","rss-simple","rug","ruler","sailboat","scales","scan","scan-smiley","scissors","scooter","screencast","screwdriver","scribble","scribble-loop","scroll","seal","seal-check","seal-percent","seal-question","seal-warning","seat","seatbelt","security-camera","selection","selection-all","selection-background","selection-foreground","selection-inverse","selection-plus","selection-slash","shapes","share-fat","share-network","shield-check","shield-checkered","shield-chevron","shield-plus","shield-slash","shield-star","shield-warning","shipping-container","shirt-folded","shooting-star","shopping-bag","shopping-bag-open","shopping-cart","shopping-cart-simple","shovel","shower","shrimp","shuffle-angular","shuffle-simple","sidebar","sidebar-simple","sigma","sign-in","sign-out","signature","signpost","sim-card","siren","sketch-logo","skip-back","skip-back-circle","skip-forward","skip-forward-circle","skull","skype-logo","slack-logo","sliders","sliders-horizontal","slideshow","smiley","smiley-angry","smiley-blank","smiley-meh","smiley-melting","smiley-nervous","smiley-sad","smiley-sticker","smiley-wink","smiley-x-eyes","snapchat-logo","sneaker","sneaker-move","snowflake","soccer-ball","sock","solar-panel","solar-roof","sort-ascending","sort-descending","soundcloud-logo","spade","sparkle","speaker-hifi","speaker-high","speaker-low","speaker-none","speaker-simple-high","speaker-simple-low","speaker-simple-none","speaker-simple-slash","speaker-simple-x","speaker-slash","speaker-x","speedometer","sphere","spinner","spinner-ball","spinner-gap","spiral","split-horizontal","split-vertical","spotify-logo","spray-bottle","square","square-half","square-half-bottom","square-logo","square-split-horizontal","square-split-vertical","squares-four","stack","stack-minus","stack-overflow-logo","stack-plus","stack-simple","stairs","stamp","standard-definition","star-and-crescent","star-four","star-half","star-of-david","steam-logo","steering-wheel","steps","stethoscope","sticker","stool","stop-circle","storefront","strategy","stripe-logo","student","subset-of","subset-proper-of","subtitles","subtitles-slash","subtract","subtract-square","subway","suitcase","suitcase-rolling","suitcase-simple","sun-dim","sun-horizon","sunglasses","superset-of","superset-proper-of","swap","swatches","swimming-pool","sword","synagogue","syringe","t-shirt","table","tabs","tag","tag-chevron","tag-simple","target","taxi","tea-bag","telegram-logo","television","television-simple","tennis-ball","tent","terminal","terminal-window","test-tube","text-a-underline","text-aa","text-align-center","text-align-justify","text-align-left","text-align-right","text-b","text-columns","text-h","text-h-five","text-h-four","text-h-one","text-h-six","text-h-three","text-h-two","text-indent","text-italic","text-outdent","text-strikethrough","text-subscript","text-superscript","text-t","text-t-slash","text-underline","textbox","thermometer","thermometer-cold","thermometer-hot","thermometer-simple","threads-logo","three-d","ticket","tidal-logo","tiktok-logo","tilde","timer","tip-jar","tipi","tire","toggle-left","toggle-right","toilet","toilet-paper","toolbox","tooth","tornado","tote","tote-simple","towel","tractor","trademark","trademark-registered","traffic-cone","traffic-sign","traffic-signal","train","train-regional","train-simple","tram","translate","trash","trash-simple","tray","tray-arrow-down","tray-arrow-up","treasure-chest","tree","tree-evergreen","tree-palm","tree-structure","tree-view","triangle","triangle-dashed","trolley","trolley-suitcase","trophy","truck","truck-trailer","tumblr-logo","twitch-logo","twitter-logo","umbrella","umbrella-simple","union","unite","unite-square","upload-simple","usb","user-check","user-circle","user-circle-check","user-circle-dashed","user-circle-gear","user-circle-minus","user-circle-plus","user-focus","user-gear","user-list","user-minus","user-plus","user-rectangle","user-sound","user-square","user-switch","users-four","users-three","van","vault","vector-three","vector-two","vibrate","video-camera","video-camera-slash","video-conference","vignette","vinyl-record","virtual-reality","virus","visor","voicemail","volleyball","wall","warehouse","warning-circle","warning-diamond","warning-octagon","washing-machine","watch","wave-sawtooth","wave-sine","wave-square","wave-triangle","waveform","waveform-slash","waves","webcam","webcam-slash","webhooks-logo","wechat-logo","whatsapp-logo","wheelchair","wheelchair-motion","wifi-high","wifi-low","wifi-medium","wifi-none","wifi-slash","wifi-x","windmill","windows-logo","wine","wrench","x","x-circle","x-logo","x-square","yarn","yin-yang","youtube-logo"],"icons-core.svg":["arrow-down","arrow-left","arrow-right","arrow-up","attachment","checkmark","chevron-down","chevron-horizontal","chevron-left","chevron-right","chevron-up","chevron-vertical","copy","cross","danger","dashboard","delete","document","download","drag","edit","external","eye","filter","grid","hide","home","information","log-in","log-out","menu","minus","more","notifications","options","phone","plus","positive","printer","question","search","select","select-all","send","settings","share","star","time","upload","user","users","warning"]},Xe=new Map;for(const e in Qe)for(const t of Qe[e])Xe.set(t,e);function sr(e){return Xe.get(e)}function et(e,t="regular",s){const r=sr(e);let i=r??"";return s&&r&&(i=s(r)??r),`${i}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:ir}=Dt,or=({name:e,size:t,appearance:s,alt:r,class:i,titleId:o,src:n,...l})=>{const a=Ut(o);let d=n;return d===void 0&&Ft()&&(d=et(e,s,Ke)),v("svg",{ref:h=>{d===void 0&&Ht((()=>{(function(c,p,u){if(!c)return;const g=document.createElementNS("http://www.w3.org/2000/svg","use");g.setAttribute("href",et(p,u,Ke)),c.appendChild(g)})(h,e,s)}))},width:"16",height:"16",class:ir({size:t},i),role:"img","aria-hidden":r===""?"true":void 0,"aria-labelledby":r===""?void 0:a,...l},r!==""&&v("title",{id:a},r||e),d!==void 0?v("use",{href:d}):null)},{getGidsChartLegendItemClassNames:ar}=Tt,lr=ue(class extends ee{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!=="",s=ar({seriesType:t?"none":this.seriesType,orientation:this.orientation});return v("div",{key:"4d501b81b39c42c60d7f85cdf8e1227015126c13",class:s},v("div",{key:"0d310b54a5ae0ea0f9519f57cac51ec04b822c29",class:this.orientation==="vertical"?"gids-chart-legend-item__dot-wrapper-vertical":"gids-chart-legend-item__dot-wrapper-horizontal"},v(or,{key:"ca0436979deffdbdc0c57c567684863049736aa1",name:"new",alt:"new_icon",appearance:"filled",style:t?{"--gidsIcon-color":e}:{}})),v("span",{key:"351452aa92a56b612b036e213879758448718e19",class:"gids-chart-legend-item__label"},v("slot",{key:"6a9156e4054f8857208e8bf6159567ae6694de8b"})))}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 tt(){typeof customElements<"u"&&["gids-chart-legend-item"].forEach((e=>{e==="gids-chart-legend-item"&&(customElements.get(e)||customElements.define(e,lr))}))}tt();const{getGidsPieChartClassNames:nr}=It,rt=ue(class extends ee{constructor(e){super(),e!==!1&&this.__registerHost(),this.breakpoint="desktop",this.legendVisible=!1,this.chartData=[],this.size="xxs",this.chartLoaderSize="lg",this.chartLoading=!1,this.width=0,this.height=0}chartDataChanged(){this.updateDimensions()}legendVisibilityChanged(e){this.legendVisible=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:240}render(){if(this.chartLoading)return v("div",{class:"gids-pie-chart__no-data"},v(er,{label:this.chartLoadingTitle,supportingText:this.chartLoadingSupportingText,size:this?.chartLoaderSize??"lg"}));const e=this.chartData.length,t=this.chartData.reduce(((l,a)=>l+(a.value||0)),0);let s=t;e<6&&e>0&&(s=t+t/e*(6-e));const r=s>0?s:1,i=nr({breakpoint:this.breakpoint}),o=2*Math.PI*25;let n=0;return v("div",{class:i},v("div",{class:"gids-pie-chart__main-container"},v("div",{class:"gids-pie-chart__chart-stage-container"},v("div",{class:`gids-pie-chart__svg-wrapper gids-pie-chart__svg-wrapper--size-${this.size}`},v("svg",{viewBox:"0 0 100 100",class:"gids-pie-chart__chart-vector"},v("circle",{cx:"50",cy:"50",r:25,class:"gids-pie-chart__track-background"}),this.chartData.map(((l,a)=>{const d=(l.value||0)/r,h=`${d*o} ${o}`,c=-n*o;return n+=d,v("circle",{key:l.label||a,cx:"50",cy:"50",r:25,class:`gids-pie-chart__segment gids-pie-chart__segment-series-${a+1}`,"stroke-dasharray":h,"stroke-dashoffset":c,transform:"rotate(-90 50 50)"})}))))),this.legendVisible?v("div",{class:"gids-pie-chart__legend-container"},v("gids-chart-legend",{orientation:"vertical"},this.chartData.map(((l,a)=>v("gids-chart-legend-item",{key:l.label,seriesType:`${a+1}`,orientation:"vertical"},l.label))))):null))}get hostElement(){return this}static get watchers(){return{chartData:[{chartDataChanged:0}],legendVisible:[{legendVisibilityChanged:0}]}}static get style(){return":host{display:block;width:100%;height:100%;box-sizing:border-box}.gids-pie-chart{display:flex;flex-direction:column;width:100%;height:100%;box-sizing:border-box}.gids-pie-chart--breakpoint-mobile{max-width:var(--gids-width-xs)}.gids-pie-chart__main-container{display:inline-flex;justify-content:center;gap:var(--gids-gap-200);width:100%;height:100%}.gids-pie-chart__chart-stage-container{display:flex;justify-content:center;align-items:center}.gids-pie-chart{}.gids-pie-chart__svg-wrapper{position:relative;display:block;flex-shrink:0}.gids-pie-chart__svg-wrapper--size-xxs{width:180px;height:180px}.gids-pie-chart__svg-wrapper--size-xs{width:220px;height:220px}.gids-pie-chart__svg-wrapper--size-sm{width:260px;height:260px}.gids-pie-chart__svg-wrapper--size-md{width:300px;height:300px}.gids-pie-chart__svg-wrapper--size-lg{width:340px;height:340px}.gids-pie-chart__chart-vector{display:block;width:100%;height:100%}.gids-pie-chart{}.gids-pie-chart__track-background{fill:none;stroke:var(--gids-color-background-neutral-default);stroke-width:12;}.gids-pie-chart__segment{fill:none;stroke-width:12;stroke-linecap:butt;transition:stroke-dashoffset 0.3s ease;}.gids-pie-chart__segment.gids-pie-chart__segment-series-1{stroke:var(--gids-color-icon-subtle);}.gids-pie-chart__segment.gids-pie-chart__segment-series-2{stroke:var(--gids-color-icon-warning);}.gids-pie-chart__segment.gids-pie-chart__segment-series-3{stroke:var(--gids-color-icon-danger);}.gids-pie-chart__segment.gids-pie-chart__segment-series-4{stroke:var(--gids-color-background-positive-bold-hovered);}.gids-pie-chart__segment.gids-pie-chart__segment-series-5{stroke:var(--gids-color-background-information-bold-default);}.gids-pie-chart__segment.gids-pie-chart__segment-series-6{stroke:rgb(238, 70, 188);}.gids-pie-chart__legend-container{display:inline-flex;align-items:flex-start}.gids-pie-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)}"}},[0,"gids-pie-chart",{breakpoint:[1],legendVisible:[4,"legend-visible"],chartData:[16],size:[1],chartLoaderSize:[1,"chart-loader-size"],chartLoading:[4,"chart-loading"],chartLoadingTitle:[1,"chart-loading-title"],chartLoadingSupportingText:[1,"chart-loading-supporting-text"],width:[32],height:[32]},void 0,{chartData:[{chartDataChanged:0}],legendVisible:[{legendVisibilityChanged:0}]}]);function st(){typeof customElements<"u"&&["gids-pie-chart","gids-chart-legend","gids-chart-legend-item"].forEach((e=>{switch(e){case"gids-pie-chart":customElements.get(e)||customElements.define(e,rt);break;case"gids-chart-legend":customElements.get(e)||Je();break;case"gids-chart-legend-item":customElements.get(e)||tt()}}))}st();const cr=rt,dr=st;A.GidsPieChart=cr,A.defineCustomElement=dr,Object.defineProperty(A,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:(w=>{const m=[];for(let g=0;g<w.length;g++){const y=w[g]["s-nr"]||void 0;y&&y.isConnected&&m.push(y)}return m})(v.childNodes)).forEach((w=>{h===ge(w)&&p.push(w)})),a?p.filter((w=>w.nodeType===1)):p}).bind(u);u.assignedElements=f(!0),u.assignedNodes=f(!1)})(s),c=e&&e.m&&e.m[n],c&&c.O===i.O&&e.S&&Nt(e.S)),s},Nt=e=>{C.i|=1;const t=e.closest(oe.toLowerCase());if(t!=null){const n=Array.from(t.__childNodes||t.childNodes).find((i=>i["s-cr"])),o=Array.from(e.__childNodes||e.childNodes);for(const i of n?o.reverse():o)i["s-sh"]!=null&&(L(t,i,n??null),i["s-sh"]=void 0,Ne=!0)}C.i&=-2},Re=(e,t)=>{C.i|=1;const n=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let o=e;for(;o=o.nextSibling;)o&&o["s-sn"]===e["s-sn"]&&o["s-sh"]===oe&&n.push(o)}for(let o=n.length-1;o>=0;o--){const i=n[o];i["s-hn"]!==oe&&i["s-ol"]&&(L(ve(i).parentNode,i,ve(i)),i["s-ol"].remove(),i["s-ol"]=void 0,i["s-sh"]=void 0,Ne=!0),t&&Re(i,t)}C.i&=-2},Ct=(e,t,n,o,i,s)=>{let l,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===oe&&(c=c.shadowRoot),n.O==="template"&&(c=c.content);i<=s;++i)o[i]&&(l=Ce(null,n,i),l&&(o[i].S=l,L(c,l,ve(t))))},Rt=(e,t,n)=>{for(let o=t;o<=n;++o){const i=e[o];if(i){const s=i.S;Tt(i),s&&(Ae=!0,s["s-ol"]?s["s-ol"].remove():Re(s,!0),s.remove())}}},Pe=(e,t,n=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:n?(n&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),ve=e=>e&&e["s-ol"]||e,ae=(e,t,n=!1)=>{const o=t.S=e.S,i=e.m,s=t.m,l=t.O,c=t.h;let r;c==null?(T=l==="svg"||l!=="foreignObject"&&T,l!=="slot"||ye||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Nt(t.S.parentElement)),Ye(e,t,T),i!==null&&s!==null?((u,f,a,d,p=!1)=>{let h,v,w=0,m=0,g=0,y=0,E=f.length-1,b=f[0],x=f[E],S=d.length-1,A=d[0],N=d[S];const R=a.O==="template"?u.content:u;for(;w<=E&&m<=S;)if(b==null)b=f[++w];else if(x==null)x=f[--E];else if(A==null)A=d[++m];else if(N==null)N=d[--S];else if(Pe(b,A,p))ae(b,A,p),b=f[++w],A=d[++m];else if(Pe(x,N,p))ae(x,N,p),x=f[--E],N=d[--S];else if(Pe(b,N,p))b.O!=="slot"&&N.O!=="slot"||Re(b.S.parentNode,!1),ae(b,N,p),L(R,b.S,x.S.nextSibling),b=f[++w],N=d[--S];else if(Pe(x,A,p))b.O!=="slot"&&N.O!=="slot"||Re(x.S.parentNode,!1),ae(x,A,p),L(R,x.S,b.S),x=f[--E],A=d[++m];else{for(g=-1,y=w;y<=E;++y)if(f[y]&&f[y].$!==null&&f[y].$===A.$){g=y;break}g>=0?(v=f[g],v.O!==A.O?h=Ce(f&&f[m],a,g):(ae(v,A,p),f[g]=void 0,h=v.S),A=d[++m]):(h=Ce(f&&f[m],a,m),A=d[++m]),h&&L(ve(b.S).parentNode,h,ve(b.S))}w>E?Ct(u,d[S+1]==null?null:d[S+1].S,a,d,m,S):m>S&&Rt(f,w,E)})(o,i,t,s,n):s!==null?(e.h!==null&&(o.textContent=""),Ct(o,null,t,s,0,s.length-1)):!n&&i!==null&&Rt(i,0,i.length-1),T&&l==="svg"&&(T=!1)):(r=o["s-cr"])?r.parentNode.textContent=c:e.h!==c&&(o.data=c)},I=[],Pt=e=>{let t,n,o;const i=e.__childNodes||e.childNodes;for(const s of i){if(s["s-sr"]&&(t=s["s-cr"])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;const l=s["s-sn"];for(o=n.length-1;o>=0;o--)if(t=n[o],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===s["s-hn"]||t["s-sh"]&&t["s-sh"]===s["s-hn"]))if(yt(t,l)){let c=I.find((r=>r.k===t));Ae=!0,t["s-sn"]=t["s-sn"]||l,c?(c.k["s-sh"]=s["s-hn"],c.N=s):(t["s-sh"]=s["s-hn"],I.push({N:s,k:t})),t["s-sr"]&&I.map((r=>{yt(r.k,t["s-sn"])&&(c=I.find((u=>u.k===t)),c&&!r.N&&(r.N=c.N))}))}else I.some((c=>c.k===t))||I.push({k:t})}s.nodeType===1&&Pt(s)}},Tt=e=>{e.v&&e.v.ref&&Xe.push((()=>e.v.ref(null))),e.m&&e.m.map(Tt)},vn=(e,t)=>{Ke.push((()=>e(t)))},L=(e,t,n,o)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,n);const{slotNode:i}=(function(s,l){var c;if(!(l=l||((c=s["s-ol"])==null?void 0:c.parentElement)))return{slotNode:null,slotName:""};const r=s["s-sn"]=ge(s)||"";return{slotNode:ze(Be(l,"childNodes"),l.tagName,r)[0],slotName:r}})(t);return i&&!o&&i.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,n):e?.insertBefore(t,n)},wn=(e,t,n=!1)=>{var o,i,s,l,c;const r=e.$hostElement$,u=e.o,f=e.M||Oe(null,null);var a;const d=(a=t)&&a.O===dn?t:X(null,null,t);if(oe=r.tagName,u.C&&(d.v=d.v||{},u.C.forEach((([p,h])=>{d.v[h]=r[p]}))),n&&d.v)for(const p of Object.keys(d.v))r.hasAttribute(p)&&!["key","ref","style","class"].includes(p)&&(d.v[p]=r[p]);if(d.O=null,d.i|=4,e.M=d,d.S=f.S=r.shadowRoot||r,ye=!(!(1&u.i)||128&u.i),Ue=r["s-cr"],Ae=!1,ae(f,d,n),C.i|=1,Ne){Pt(d.S);for(const p of I){const h=p.k;if(!h["s-ol"]&&O.document){const v=O.document.createTextNode("");v["s-nr"]=h,L(h.parentNode,h["s-ol"]=v,h,n)}}for(const p of I){const h=p.k,v=p.N;if(h.nodeType===1&&n&&(h["s-ih"]=(o=h.hidden)!=null&&o),v){const w=v.parentNode;let m=v.nextSibling;if(m&&m.nodeType===1){let g=(i=h["s-ol"])==null?void 0:i.previousSibling;for(;g;){let y=(s=g["s-nr"])!=null?s:null;if(y&&y["s-sn"]===h["s-sn"]&&w===(y.__parentNode||y.parentNode)){for(y=y.nextSibling;y===h||y?.["s-sr"];)y=y?.nextSibling;if(!y||!y["s-nr"]){m=y;break}}g=g.previousSibling}}if((!m&&w!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==m)&&h!==m){if(L(w,h,m,n),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const g=O.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,L(h.parentNode,g,h,n),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(l=h["s-ih"])!=null&&l)}h&&typeof v["s-rf"]=="function"&&v["s-rf"](v)}else h.nodeType===1&&(h.hidden=!0)}}if(Ae&&gt(d.S),C.i&=-2,I.length=0,!ye&&!(1&u.i)&&r["s-cr"]){const p=d.S.__childNodes||d.S.childNodes;for(const h of p)if(h["s-hn"]!==oe&&!h["s-sh"]){if(n&&h["s-ih"]==null&&(h["s-ih"]=(c=h.hidden)!=null&&c),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const v=O.document.createComment("s-nt-"+h.nodeValue);v["s-sn"]=h["s-sn"],L(h.parentNode,v,h,n),h.parentNode.removeChild(h)}}}Ue=void 0,Xe.forEach((p=>p())),Xe.length=0,Ke.forEach((p=>p())),Ke.length=0},kt=(e,t)=>{if(t&&!e.A&&t["s-p"]){const n=t["s-p"].push(new Promise((o=>e.A=()=>{t["s-p"].splice(n-1,1),o()})))}},Ge=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);kt(e,e.R);const n=()=>bn(e,t);if(!t)return an(n);queueMicrotask((()=>{n()}))},bn=(e,t)=>{const n=e.$hostElement$,o=n;if(!o)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return i=we(o,t?"componentWillLoad":"componentWillUpdate",void 0,n),i=_t(i,(()=>we(o,"componentWillRender",void 0,n))),_t(i,(()=>xn(e,o,t)))},_t=(e,t)=>En(e)?e.then(t).catch((n=>{console.error(n),t()})):t(),En=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",xn=async(e,t,n)=>{var o;const i=e.$hostElement$,s=i["s-rc"];n&&(l=>{const c=l.o,r=l.$hostElement$,u=c.i,f=((a,d)=>{var p,h,v;const w=vt(d),m=Se.get(w);if(!O.document)return w;if(a=a.nodeType===11?a:O.document,m)if(typeof m=="string"){let g,y=Y.get(a=a.head||a);if(y||Y.set(a,y=new Set),!y.has(w)){g=O.document.createElement("style"),g.textContent=m;const E=(p=C._)!=null?p:(function(){var b,x,S;return(S=(x=(b=O.document.head)==null?void 0:b.querySelector('meta[name="csp-nonce"]'))==null?void 0:x.getAttribute("content"))!=null?S:void 0})();if(E!=null&&g.setAttribute("nonce",E),!(1&d.i))if(a.nodeName==="HEAD"){const b=a.querySelectorAll("link[rel=preconnect]"),x=b.length>0?b[b.length-1].nextSibling:a.querySelector("style");a.insertBefore(g,x?.parentNode===a?x:null)}else if("host"in a)if(We){const b=new((h=a.defaultView)!=null?h:a.ownerDocument.defaultView).CSSStyleSheet;b.replaceSync(m),je?a.adoptedStyleSheets.unshift(b):a.adoptedStyleSheets=[b,...a.adoptedStyleSheets]}else{const b=a.querySelector("style");b?b.textContent=m+b.textContent:a.prepend(g)}else a.append(g);1&d.i&&a.insertBefore(g,null),4&d.i&&(g.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),y&&y.add(w)}}else{let g=Y.get(a);if(g||Y.set(a,g=new Set),!g.has(w)){const y=(v=a.defaultView)!=null?v:a.ownerDocument.defaultView;let E;if(m.constructor===y.CSSStyleSheet)E=m;else{E=new y.CSSStyleSheet;for(let b=0;b<m.cssRules.length;b++)E.insertRule(m.cssRules[b].cssText,b)}je?a.adoptedStyleSheets.push(E):a.adoptedStyleSheets=[...a.adoptedStyleSheets,E],g.add(w)}}return w})(r.shadowRoot?r.shadowRoot:r.getRootNode(),c);10&u&&(r["s-sc"]=f,r.classList.add(f+"-h"))})(e),Sn(e,t,i,n),s&&(s.map((l=>l())),i["s-rc"]=void 0);{const l=(o=i["s-p"])!=null?o:[],c=()=>On(e);l.length===0?c():(Promise.all(l).then(c).catch(c),e.i|=4,l.length=0)}},Sn=(e,t,n,o)=>{try{t=t.render(),e.i&=-17,e.i|=2,wn(e,t,o)}catch(i){ne(i,e.$hostElement$)}return null},On=e=>{const t=e.$hostElement$,n=t,o=e.R;we(n,"componentDidRender",void 0,t),64&e.i?we(n,"componentDidUpdate",void 0,t):(e.i|=64,Nn(t),we(n,"componentDidLoad",void 0,t),e.L(t),o||An()),e.A&&(e.A(),e.A=void 0),512&e.i&&Ie((()=>Ge(e,!1))),e.i&=-517},An=()=>{Ie((()=>mn(O,"appload",{detail:{namespace:"gids-core-web"}})))},we=(e,t,n,o)=>{if(e&&e[t])try{return e[t](n)}catch(i){ne(i,o)}},Nn=e=>e.classList.add("hydrated"),Lt=(e,t,n,o)=>{const i=H(e);if(!i)return;const s=e,l=i.l.get(t),c=i.i,r=s;n=Et(n,o.t[t][0],!!(64&o.i));const u=Number.isNaN(l)&&Number.isNaN(n);if(n!==l&&!u){if(i.l.set(t,n),o.F){const f=o.F[t];f&&f.map((a=>{try{const[[d,p]]=Object.entries(a);(128&c||1&p)&&(r?r[d](n,l,t):i.T.push((()=>{i.D[d](n,l,t)})))}catch(d){ne(d,s)}}))}if(2&c){if(r.componentShouldUpdate&&r.componentShouldUpdate(n,l,t)===!1&&!(16&c))return;16&c||Ge(i,!1)}}},Cn=(e,t,n)=>{var o,i;const s=e.prototype;64&t.i&&1&n&&ln.forEach((l=>{const c=s[l];Object.defineProperty(s,l,{value(...r){var u;const f=H(this),a=this;a?typeof c=="function"&&c.call(a,...r):(u=f?.H)==null||u.then((d=>{const p=d[l];typeof p=="function"&&p.call(d,...r)}))}})}));{e.watchers&&!t.F&&(t.F=bt(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const l=Object.entries((o=t.t)!=null?o:{});l.map((([c,[r]])=>{if(31&r||32&r){const{get:u,set:f}=ce(s,c)||{};u&&(t.t[c][0]|=2048),f&&(t.t[c][0]|=4096),Object.defineProperty(s,c,{get(){return u?u.apply(this):(a=c,H(this).l.get(a));var a},configurable:!0,enumerable:!0}),Object.defineProperty(s,c,{set(a){const d=H(this);if(d){if(f)return(32&r?this[c]:d.$hostElement$[c])===void 0&&d.l.get(c)&&(a=d.l.get(c)),f.apply(this,[Et(a,r,!!(64&t.i))]),void Lt(this,c,a=32&r?this[c]:d.$hostElement$[c],t);Lt(this,c,a,t)}}})}}));{const c=new Map;s.attributeChangedCallback=function(r,u,f){C.jmp((()=>{var a;const d=c.get(r),p=H(this);if(this.hasOwnProperty(d),s.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==f)return;if(d==null){const g=p?.i;if(p&&g&&!(8&g)&&f!==u){const y=this,E=(a=t.F)==null?void 0:a[r];E?.forEach((b=>{const[[x,S]]=Object.entries(b);y[x]!=null&&(128&g||1&S)&&y[x].call(y,f,u,r)}))}return}const h=l.find((([g])=>g===d)),v=h&&4&h[1][0],w=v&&f===null&&this[d]===void 0;v&&(f=f!==null&&f!=="false");const m=Object.getOwnPropertyDescriptor(s,d);w||f==this[d]||m.get&&!m.set||(this[d]=f)}))},e.observedAttributes=Array.from(new Set([...Object.keys((i=t.F)!=null?i:{}),...l.filter((([r,u])=>31&u[0])).map((([r,u])=>{var f;const a=u[1]||r;return c.set(a,r),512&u[0]&&((f=t.C)==null||f.push([r,a])),a}))]))}}return e},Rn=(e,t)=>{const n={i:t[0],p:t[1]};try{n.t=t[2],n.W=t[3],n.F=bt(e.F),n.P=e.P,n.U=e.U,n.C=[];const o=e.prototype.connectedCallback,i=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((s,l)=>{const c={i:0,$hostElement$:s,o:l,l:new Map,B:new Map};c.H=new Promise((u=>c.L=u)),s["s-p"]=[],s["s-rc"]=[];const r=c;s.__stencil__getHostRef=()=>r,512&l.i&&sn(s,c)})(this,n)},connectedCallback(){if(!this.__hasHostListenerAttached){const s=H(this);if(!s)return;Ft(this,s,n.W),this.__hasHostListenerAttached=!0}(s=>{if(!(1&C.i)){const l=H(s);if(!l)return;const c=l.o;if(1&l.i)Ft(s,l,c.W),l?.D||l?.H&&l.H.then((()=>{}));else{l.i|=1,12&c.i&&(r=>{if(!O.document)return;const u=r["s-cr"]=O.document.createComment("");u["s-cn"]=!0,L(r,u,r.firstChild)})(s);{let r=s;for(;r=r.parentNode||r.host;)if(r["s-p"]){kt(l,l.R=r);break}}c.t&&Object.entries(c.t).map((([r,[u]])=>{if(31&u&&Object.prototype.hasOwnProperty.call(s,r)){const f=s[r];delete s[r],s[r]=f}})),(async(r,u,f)=>{let a;try{if(!(32&u.i)&&(u.i|=32,a=r.constructor,customElements.whenDefined(r.localName).then((()=>u.i|=128)),a&&a.style)){let h;typeof a.style=="string"&&(h=a.style);const v=vt(f);Se.has(v)||((w,m,g)=>{let y=Se.get(w);We&&g?(y=y||new CSSStyleSheet,typeof y=="string"?y=m:y.replaceSync(m)):y=m,Se.set(w,y)})(v,h,!!(1&f.i))}const d=u.R,p=()=>Ge(u,!0);d&&d["s-rc"]?d["s-rc"].push(p):p()}catch(d){ne(d,r),u.A&&(u.A(),u.A=void 0),u.L&&u.L(r)}})(s,l,c)}}})(this),o&&o.call(this)},disconnectedCallback(){(async s=>{if(!(1&C.i)){const l=H(s);l?.V&&(l.V.map((c=>c())),l.V=void 0)}Y.has(s)&&Y.delete(s),s.shadowRoot&&Y.has(s.shadowRoot)&&Y.delete(s.shadowRoot)})(this),i&&i.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${n.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else fn.call(this,n)}}),Object.defineProperty(e,"is",{value:n.p,configurable:!0}),Cn(e,n,3)}catch(o){return ne(o),e}},Pn=(e,t)=>t,Ft=(e,t,n)=>{n&&O.document&&n.map((([o,i,s])=>{const l=kn(O.document,e,o),c=Tn(t,s),r=_n(o);C.ael(l,i,c,r),(t.V=t.V||[]).push((()=>C.rel(l,i,c,r)))}))},Tn=(e,t)=>n=>{try{e.$hostElement$[t](n)}catch(o){ne(o,e.$hostElement$)}},kn=(e,t,n)=>8&n?O:t,_n=e=>rn?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function To(e){return e}const K=Math.min,k=Math.max,Te=Math.round,ke=Math.floor,W=e=>({x:e,y:e}),Ln={left:"right",right:"left",bottom:"top",top:"bottom"};function Ze(e,t,n){return k(e,K(t,n))}function fe(e,t){return typeof e=="function"?e(t):e}function G(e){return e.split("-")[0]}function ue(e){return e.split("-")[1]}function $t(e){return e==="x"?"y":"x"}function Je(e){return e==="y"?"height":"width"}function z(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Qe(e){return $t(z(e))}function Fn(e,t,n){n===void 0&&(n=!1);const o=ue(e),i=Qe(e),s=Je(i);let l=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(l=_e(l)),[l,_e(l)]}function $n(e){const t=_e(e);return[et(e),t,et(t)]}function et(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Dt=["left","right"],Mt=["right","left"],Dn=["top","bottom"],Mn=["bottom","top"];function Wn(e,t,n){switch(e){case"top":case"bottom":return n?t?Mt:Dt:t?Dt:Mt;case"left":case"right":return t?Dn:Mn;default:return[]}}function jn(e,t,n,o){const i=ue(e);let s=Wn(G(e),n==="start",o);return i&&(s=s.map(l=>l+"-"+i),t&&(s=s.concat(s.map(et)))),s}function _e(e){const t=G(e);return Ln[t]+e.slice(t.length)}function Vn(e){return{top:0,right:0,bottom:0,left:0,...e}}function Wt(e){return typeof e!="number"?Vn(e):{top:e,right:e,bottom:e,left:e}}function Le(e){const{x:t,y:n,width:o,height:i}=e;return{width:o,height:i,top:n,left:t,right:t+o,bottom:n+i,x:t,y:n}}function jt(e,t,n){let{reference:o,floating:i}=e;const s=z(t),l=Qe(t),c=Je(l),r=G(t),u=s==="y",f=o.x+o.width/2-i.width/2,a=o.y+o.height/2-i.height/2,d=o[c]/2-i[c]/2;let p;switch(r){case"top":p={x:f,y:o.y-i.height};break;case"bottom":p={x:f,y:o.y+o.height};break;case"right":p={x:o.x+o.width,y:a};break;case"left":p={x:o.x-i.width,y:a};break;default:p={x:o.x,y:o.y}}switch(ue(t)){case"start":p[l]-=d*(n&&u?-1:1);break;case"end":p[l]+=d*(n&&u?-1:1);break}return p}async function Hn(e,t){var n;t===void 0&&(t={});const{x:o,y:i,platform:s,rects:l,elements:c,strategy:r}=e,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:a="floating",altBoundary:d=!1,padding:p=0}=fe(t,e),h=Wt(p),w=c[d?a==="floating"?"reference":"floating":a],m=Le(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(w)))==null||n?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:u,rootBoundary:f,strategy:r})),g=a==="floating"?{x:o,y:i,width:l.floating.width,height:l.floating.height}:l.reference,y=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),E=await(s.isElement==null?void 0:s.isElement(y))?await(s.getScale==null?void 0:s.getScale(y))||{x:1,y:1}:{x:1,y:1},b=Le(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:g,offsetParent:y,strategy:r}):g);return{top:(m.top-b.top+h.top)/E.y,bottom:(b.bottom-m.bottom+h.bottom)/E.y,left:(m.left-b.left+h.left)/E.x,right:(b.right-m.right+h.right)/E.x}}const In=50,zn=async(e,t,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:s=[],platform:l}=n,c=l.detectOverflow?l:{...l,detectOverflow:Hn},r=await(l.isRTL==null?void 0:l.isRTL(t));let u=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:f,y:a}=jt(u,o,r),d=o,p=0;const h={};for(let v=0;v<s.length;v++){const w=s[v];if(!w)continue;const{name:m,fn:g}=w,{x:y,y:E,data:b,reset:x}=await g({x:f,y:a,initialPlacement:o,placement:d,strategy:i,middlewareData:h,rects:u,platform:c,elements:{reference:e,floating:t}});f=y??f,a=E??a,h[m]={...h[m],...b},x&&p<In&&(p++,typeof x=="object"&&(x.placement&&(d=x.placement),x.rects&&(u=x.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:f,y:a}=jt(u,d,r)),v=-1)}return{x:f,y:a,placement:d,strategy:i,middlewareData:h}},Bn=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:i,rects:s,platform:l,elements:c,middlewareData:r}=t,{element:u,padding:f=0}=fe(e,t)||{};if(u==null)return{};const a=Wt(f),d={x:n,y:o},p=Qe(i),h=Je(p),v=await l.getDimensions(u),w=p==="y",m=w?"top":"left",g=w?"bottom":"right",y=w?"clientHeight":"clientWidth",E=s.reference[h]+s.reference[p]-d[p]-s.floating[h],b=d[p]-s.reference[p],x=await(l.getOffsetParent==null?void 0:l.getOffsetParent(u));let S=x?x[y]:0;(!S||!await(l.isElement==null?void 0:l.isElement(x)))&&(S=c.floating[y]||s.floating[h]);const A=E/2-b/2,N=S/2-v[h]/2-1,R=K(a[m],N),J=K(a[g],N),V=R,Q=S-v[h]-J,P=S/2-v[h]/2+A,re=Ze(V,P,Q),q=!r.arrow&&ue(i)!=null&&P!==re&&s.reference[h]/2-(P<V?R:J)-v[h]/2<0,D=q?P<V?P-V:P-Q:0;return{[p]:d[p]+D,data:{[p]:re,centerOffset:P-re-D,...q&&{alignmentOffset:D}},reset:q}}}),Un=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:i,middlewareData:s,rects:l,initialPlacement:c,platform:r,elements:u}=t,{mainAxis:f=!0,crossAxis:a=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:v=!0,...w}=fe(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const m=G(i),g=z(c),y=G(c)===c,E=await(r.isRTL==null?void 0:r.isRTL(u.floating)),b=d||(y||!v?[_e(c)]:$n(c)),x=h!=="none";!d&&x&&b.push(...jn(c,v,h,E));const S=[c,...b],A=await r.detectOverflow(t,w),N=[];let R=((o=s.flip)==null?void 0:o.overflows)||[];if(f&&N.push(A[m]),a){const P=Fn(i,l,E);N.push(A[P[0]],A[P[1]])}if(R=[...R,{placement:i,overflows:N}],!N.every(P=>P<=0)){var J,V;const P=(((J=s.flip)==null?void 0:J.index)||0)+1,re=S[P];if(re&&(!(a==="alignment"?g!==z(re):!1)||R.every(M=>z(M.placement)===g?M.overflows[0]>0:!0)))return{data:{index:P,overflows:R},reset:{placement:re}};let q=(V=R.filter(D=>D.overflows[0]<=0).sort((D,M)=>D.overflows[1]-M.overflows[1])[0])==null?void 0:V.placement;if(!q)switch(p){case"bestFit":{var Q;const D=(Q=R.filter(M=>{if(x){const ee=z(M.placement);return ee===g||ee==="y"}return!0}).map(M=>[M.placement,M.overflows.filter(ee=>ee>0).reduce((ee,Po)=>ee+Po,0)]).sort((M,ee)=>M[1]-ee[1])[0])==null?void 0:Q[0];D&&(q=D);break}case"initialPlacement":q=c;break}if(i!==q)return{reset:{placement:q}}}return{}}}},qn=new Set(["left","top"]);async function Yn(e,t){const{placement:n,platform:o,elements:i}=e,s=await(o.isRTL==null?void 0:o.isRTL(i.floating)),l=G(n),c=ue(n),r=z(n)==="y",u=qn.has(l)?-1:1,f=s&&r?-1:1,a=fe(t,e);let{mainAxis:d,crossAxis:p,alignmentAxis:h}=typeof a=="number"?{mainAxis:a,crossAxis:0,alignmentAxis:null}:{mainAxis:a.mainAxis||0,crossAxis:a.crossAxis||0,alignmentAxis:a.alignmentAxis};return c&&typeof h=="number"&&(p=c==="end"?h*-1:h),r?{x:p*f,y:d*u}:{x:d*u,y:p*f}}const Xn=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:i,y:s,placement:l,middlewareData:c}=t,r=await Yn(t,e);return l===((n=c.offset)==null?void 0:n.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:i+r.x,y:s+r.y,data:{...r,placement:l}}}}},Kn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:i,platform:s}=t,{mainAxis:l=!0,crossAxis:c=!1,limiter:r={fn:m=>{let{x:g,y}=m;return{x:g,y}}},...u}=fe(e,t),f={x:n,y:o},a=await s.detectOverflow(t,u),d=z(G(i)),p=$t(d);let h=f[p],v=f[d];if(l){const m=p==="y"?"top":"left",g=p==="y"?"bottom":"right",y=h+a[m],E=h-a[g];h=Ze(y,h,E)}if(c){const m=d==="y"?"top":"left",g=d==="y"?"bottom":"right",y=v+a[m],E=v-a[g];v=Ze(y,v,E)}const w=r.fn({...t,[p]:h,[d]:v});return{...w,data:{x:w.x-n,y:w.y-o,enabled:{[p]:l,[d]:c}}}}}},Gn=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,o;const{placement:i,rects:s,platform:l,elements:c}=t,{apply:r=()=>{},...u}=fe(e,t),f=await l.detectOverflow(t,u),a=G(i),d=ue(i),p=z(i)==="y",{width:h,height:v}=s.floating;let w,m;a==="top"||a==="bottom"?(w=a,m=d===(await(l.isRTL==null?void 0:l.isRTL(c.floating))?"start":"end")?"left":"right"):(m=a,w=d==="end"?"top":"bottom");const g=v-f.top-f.bottom,y=h-f.left-f.right,E=K(v-f[w],g),b=K(h-f[m],y),x=!t.middlewareData.shift;let S=E,A=b;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(A=y),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(S=g),x&&!d){const R=k(f.left,0),J=k(f.right,0),V=k(f.top,0),Q=k(f.bottom,0);p?A=h-2*(R!==0||J!==0?R+J:k(f.left,f.right)):S=v-2*(V!==0||Q!==0?V+Q:k(f.top,f.bottom))}await r({...t,availableWidth:A,availableHeight:S});const N=await l.getDimensions(c.floating);return h!==N.width||v!==N.height?{reset:{rects:!0}}:{}}}};function Fe(){return typeof window<"u"}function de(e){return Vt(e)?(e.nodeName||"").toLowerCase():"#document"}function _(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function j(e){var t;return(t=(Vt(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Vt(e){return Fe()?e instanceof Node||e instanceof _(e).Node:!1}function F(e){return Fe()?e instanceof Element||e instanceof _(e).Element:!1}function B(e){return Fe()?e instanceof HTMLElement||e instanceof _(e).HTMLElement:!1}function Ht(e){return!Fe()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof _(e).ShadowRoot}function be(e){const{overflow:t,overflowX:n,overflowY:o,display:i}=$(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&i!=="inline"&&i!=="contents"}function Zn(e){return/^(table|td|th)$/.test(de(e))}function $e(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const Jn=/transform|translate|scale|rotate|perspective|filter/,Qn=/paint|layout|strict|content/,ie=e=>!!e&&e!=="none";let tt;function nt(e){const t=F(e)?$(e):e;return ie(t.transform)||ie(t.translate)||ie(t.scale)||ie(t.rotate)||ie(t.perspective)||!ot()&&(ie(t.backdropFilter)||ie(t.filter))||Jn.test(t.willChange||"")||Qn.test(t.contain||"")}function eo(e){let t=Z(e);for(;B(t)&&!he(t);){if(nt(t))return t;if($e(t))return null;t=Z(t)}return null}function ot(){return tt==null&&(tt=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),tt}function he(e){return/^(html|body|#document)$/.test(de(e))}function $(e){return _(e).getComputedStyle(e)}function De(e){return F(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Z(e){if(de(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ht(e)&&e.host||j(e);return Ht(t)?t.host:t}function It(e){const t=Z(e);return he(t)?e.ownerDocument?e.ownerDocument.body:e.body:B(t)&&be(t)?t:It(t)}function Ee(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=It(e),s=i===((o=e.ownerDocument)==null?void 0:o.body),l=_(i);if(s){const c=it(l);return t.concat(l,l.visualViewport||[],be(i)?i:[],c&&n?Ee(c):[])}else return t.concat(i,Ee(i,[],n))}function it(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function zt(e){const t=$(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const i=B(e),s=i?e.offsetWidth:n,l=i?e.offsetHeight:o,c=Te(n)!==s||Te(o)!==l;return c&&(n=s,o=l),{width:n,height:o,$:c}}function st(e){return F(e)?e:e.contextElement}function pe(e){const t=st(e);if(!B(t))return W(1);const n=t.getBoundingClientRect(),{width:o,height:i,$:s}=zt(t);let l=(s?Te(n.width):n.width)/o,c=(s?Te(n.height):n.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!c||!Number.isFinite(c))&&(c=1),{x:l,y:c}}const to=W(0);function Bt(e){const t=_(e);return!ot()||!t.visualViewport?to:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function no(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==_(e)?!1:t}function se(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),s=st(e);let l=W(1);t&&(o?F(o)&&(l=pe(o)):l=pe(e));const c=no(s,n,o)?Bt(s):W(0);let r=(i.left+c.x)/l.x,u=(i.top+c.y)/l.y,f=i.width/l.x,a=i.height/l.y;if(s){const d=_(s),p=o&&F(o)?_(o):o;let h=d,v=it(h);for(;v&&o&&p!==h;){const w=pe(v),m=v.getBoundingClientRect(),g=$(v),y=m.left+(v.clientLeft+parseFloat(g.paddingLeft))*w.x,E=m.top+(v.clientTop+parseFloat(g.paddingTop))*w.y;r*=w.x,u*=w.y,f*=w.x,a*=w.y,r+=y,u+=E,h=_(v),v=it(h)}}return Le({width:f,height:a,x:r,y:u})}function Me(e,t){const n=De(e).scrollLeft;return t?t.left+n:se(j(e)).left+n}function Ut(e,t){const n=e.getBoundingClientRect(),o=n.left+t.scrollLeft-Me(e,n),i=n.top+t.scrollTop;return{x:o,y:i}}function oo(e){let{elements:t,rect:n,offsetParent:o,strategy:i}=e;const s=i==="fixed",l=j(o),c=t?$e(t.floating):!1;if(o===l||c&&s)return n;let r={scrollLeft:0,scrollTop:0},u=W(1);const f=W(0),a=B(o);if((a||!a&&!s)&&((de(o)!=="body"||be(l))&&(r=De(o)),a)){const p=se(o);u=pe(o),f.x=p.x+o.clientLeft,f.y=p.y+o.clientTop}const d=l&&!a&&!s?Ut(l,r):W(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-r.scrollLeft*u.x+f.x+d.x,y:n.y*u.y-r.scrollTop*u.y+f.y+d.y}}function io(e){return Array.from(e.getClientRects())}function so(e){const t=j(e),n=De(e),o=e.ownerDocument.body,i=k(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),s=k(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let l=-n.scrollLeft+Me(e);const c=-n.scrollTop;return $(o).direction==="rtl"&&(l+=k(t.clientWidth,o.clientWidth)-i),{width:i,height:s,x:l,y:c}}const qt=25;function lo(e,t){const n=_(e),o=j(e),i=n.visualViewport;let s=o.clientWidth,l=o.clientHeight,c=0,r=0;if(i){s=i.width,l=i.height;const f=ot();(!f||f&&t==="fixed")&&(c=i.offsetLeft,r=i.offsetTop)}const u=Me(o);if(u<=0){const f=o.ownerDocument,a=f.body,d=getComputedStyle(a),p=f.compatMode==="CSS1Compat"&&parseFloat(d.marginLeft)+parseFloat(d.marginRight)||0,h=Math.abs(o.clientWidth-a.clientWidth-p);h<=qt&&(s-=h)}else u<=qt&&(s+=u);return{width:s,height:l,x:c,y:r}}function ro(e,t){const n=se(e,!0,t==="fixed"),o=n.top+e.clientTop,i=n.left+e.clientLeft,s=B(e)?pe(e):W(1),l=e.clientWidth*s.x,c=e.clientHeight*s.y,r=i*s.x,u=o*s.y;return{width:l,height:c,x:r,y:u}}function Yt(e,t,n){let o;if(t==="viewport")o=lo(e,n);else if(t==="document")o=so(j(e));else if(F(t))o=ro(t,n);else{const i=Bt(e);o={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Le(o)}function Xt(e,t){const n=Z(e);return n===t||!F(n)||he(n)?!1:$(n).position==="fixed"||Xt(n,t)}function co(e,t){const n=t.get(e);if(n)return n;let o=Ee(e,[],!1).filter(c=>F(c)&&de(c)!=="body"),i=null;const s=$(e).position==="fixed";let l=s?Z(e):e;for(;F(l)&&!he(l);){const c=$(l),r=nt(l);!r&&c.position==="fixed"&&(i=null),(s?!r&&!i:!r&&c.position==="static"&&!!i&&(i.position==="absolute"||i.position==="fixed")||be(l)&&!r&&Xt(e,l))?o=o.filter(f=>f!==l):i=c,l=Z(l)}return t.set(e,o),o}function ao(e){let{element:t,boundary:n,rootBoundary:o,strategy:i}=e;const l=[...n==="clippingAncestors"?$e(t)?[]:co(t,this._c):[].concat(n),o],c=Yt(t,l[0],i);let r=c.top,u=c.right,f=c.bottom,a=c.left;for(let d=1;d<l.length;d++){const p=Yt(t,l[d],i);r=k(p.top,r),u=K(p.right,u),f=K(p.bottom,f),a=k(p.left,a)}return{width:u-a,height:f-r,x:a,y:r}}function fo(e){const{width:t,height:n}=zt(e);return{width:t,height:n}}function uo(e,t,n){const o=B(t),i=j(t),s=n==="fixed",l=se(e,!0,s,t);let c={scrollLeft:0,scrollTop:0};const r=W(0);function u(){r.x=Me(i)}if(o||!o&&!s)if((de(t)!=="body"||be(i))&&(c=De(t)),o){const p=se(t,!0,s,t);r.x=p.x+t.clientLeft,r.y=p.y+t.clientTop}else i&&u();s&&!o&&i&&u();const f=i&&!o&&!s?Ut(i,c):W(0),a=l.left+c.scrollLeft-r.x-f.x,d=l.top+c.scrollTop-r.y-f.y;return{x:a,y:d,width:l.width,height:l.height}}function lt(e){return $(e).position==="static"}function Kt(e,t){if(!B(e)||$(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return j(e)===n&&(n=n.ownerDocument.body),n}function Gt(e,t){const n=_(e);if($e(e))return n;if(!B(e)){let i=Z(e);for(;i&&!he(i);){if(F(i)&&!lt(i))return i;i=Z(i)}return n}let o=Kt(e,t);for(;o&&Zn(o)&&lt(o);)o=Kt(o,t);return o&&he(o)&&lt(o)&&!nt(o)?n:o||eo(e)||n}const ho=async function(e){const t=this.getOffsetParent||Gt,n=this.getDimensions,o=await n(e.floating);return{reference:uo(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function po(e){return $(e).direction==="rtl"}const rt={convertOffsetParentRelativeRectToViewportRelativeRect:oo,getDocumentElement:j,getClippingRect:ao,getOffsetParent:Gt,getElementRects:ho,getClientRects:io,getDimensions:fo,getScale:pe,isElement:F,isRTL:po};function Zt(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function mo(e,t){let n=null,o;const i=j(e);function s(){var c;clearTimeout(o),(c=n)==null||c.disconnect(),n=null}function l(c,r){c===void 0&&(c=!1),r===void 0&&(r=1),s();const u=e.getBoundingClientRect(),{left:f,top:a,width:d,height:p}=u;if(c||t(),!d||!p)return;const h=ke(a),v=ke(i.clientWidth-(f+d)),w=ke(i.clientHeight-(a+p)),m=ke(f),y={rootMargin:-h+"px "+-v+"px "+-w+"px "+-m+"px",threshold:k(0,K(1,r))||1};let E=!0;function b(x){const S=x[0].intersectionRatio;if(S!==r){if(!E)return l();S?l(!1,S):o=setTimeout(()=>{l(!1,1e-7)},1e3)}S===1&&!Zt(u,e.getBoundingClientRect())&&l(),E=!1}try{n=new IntersectionObserver(b,{...y,root:i.ownerDocument})}catch{n=new IntersectionObserver(b,y)}n.observe(e)}return l(!0),s}function go(e,t,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:r=!1}=o,u=st(e),f=i||s?[...u?Ee(u):[],...t?Ee(t):[]]:[];f.forEach(m=>{i&&m.addEventListener("scroll",n,{passive:!0}),s&&m.addEventListener("resize",n)});const a=u&&c?mo(u,n):null;let d=-1,p=null;l&&(p=new ResizeObserver(m=>{let[g]=m;g&&g.target===u&&p&&t&&(p.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var y;(y=p)==null||y.observe(t)})),n()}),u&&!r&&p.observe(u),t&&p.observe(t));let h,v=r?se(e):null;r&&w();function w(){const m=se(e);v&&!Zt(v,m)&&n(),v=m,h=requestAnimationFrame(w)}return n(),()=>{var m;f.forEach(g=>{i&&g.removeEventListener("scroll",n),s&&g.removeEventListener("resize",n)}),a?.(),(m=p)==null||m.disconnect(),p=null,r&&cancelAnimationFrame(h)}}const yo=Xn,vo=Kn,wo=Un,Jt=Gn,bo=Bn,Eo=(e,t,n)=>{const o=new Map,i={platform:rt,...n},s={...i.platform,_c:o};return zn(e,t,{...i,platform:s})};function Qt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}const xo=/transform|translate|scale|rotate|perspective|filter/,So=/paint|layout|strict|content/,le=e=>!!e&&e!=="none";let ct;function Oo(e){const t=(n=e,typeof window<"u"&&(n instanceof Element||n instanceof Qt(n).Element)?Qt(o=e).getComputedStyle(o):e);var n,o;return le(t.transform)||le(t.translate)||le(t.scale)||le(t.rotate)||le(t.perspective)||(ct==null&&(ct=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),!ct&&(le(t.backdropFilter)||le(t.filter)))||xo.test(t.willChange||"")||So.test(t.contain||"")}function Ao(e){return(function(t){for(let n=t;n;n=at(n))if(n instanceof Element&&getComputedStyle(n).display==="none")return null;for(let n=at(t);n;n=at(n)){if(!(n instanceof Element))continue;const o=getComputedStyle(n);if(o.display!=="contents"&&(o.position!=="static"||Oo(o)||n.tagName==="BODY"))return n}return null})(e)}function at(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}var xe;(function(e){e.TOOLTIP="tooltip",e.POPOVER="popover",e.FLYOUT_PANEL="flyout-panel"})(xe||(xe={}));let No=(U=class{constructor(t,n){this.el=t,this.config=n,this.offset=10,this.timeDelayBeforeFadingOut=50,this.popoverMainAxisEnabled=!0,this.currentPlacement=n.placement,this.cleanup=null}getRootElement(){return this.el.shadowRoot??this.el}initialize(){this.timeBeforeElementShows=this.config.showWithoutDelay?50:500,this.timeOfAnimation=this.config.showWithoutDelay?50:250;const t=this.getRootElement();this.floatingElement=t.querySelector(this.config.floatingElementSelector),this.floatingElement&&this.applyViewportMaxWidth(),this.arrowEl=this.config.showArrow!==!1&&this.config.arrowElementSelector?t.querySelector(this.config.arrowElementSelector):null,this.anchorElement=this.config.htmlFor?.length>0?document.getElementById(this.config.htmlFor):this.config.getAnchorElement?this.config.getAnchorElement(t):this.el.shadowRoot?this.config.getAnchorElementFromSlot(this.el.shadowRoot):null,this.anchorElement?this.setupPositioning():console.warn("Could not determine the element associated with this floating element."+(this.config.htmlFor?.length>0?`Element with id=${this.config.htmlFor} could not be found on the DOM.`:""))}getAnchorElement(){return this.anchorElement}updateConfig(t){this.config={...this.config,...t},"showWithoutDelay"in t&&(this.timeBeforeElementShows=this.config.showWithoutDelay?50:500,this.timeOfAnimation=this.config.showWithoutDelay?50:250),this.forceUpdate()}getConfig(){return this.config}getCurrentPlacement(){return this.currentPlacement||this.config.placement}reposition(){this.forceUpdate()}forceUpdate(){this.anchorElement&&this.floatingElement&&this.updatePosition()}setupPositioning(){this.anchorElement&&this.updatePosition()}setupAutoUpdate(){!this.cleanup&&this.anchorElement&&(this.cleanup=go(this.anchorElement,this.floatingElement,(()=>{this.updatePosition()}),{ancestorScroll:!0,ancestorResize:!1,elementResize:!0,layoutShift:!0,animationFrame:!1}))}cleanupAutoUpdate(){this.cleanup&&(this.cleanup(),this.cleanup=null)}updatePosition(){if(!this.anchorElement)return;const t=this.config.offset??this.offset,n=[yo(t)],o=this.config.lockToMainAxis??!1,i=this.config.constrainPlacements,s=i&&i.length>0?i.includes(this.config.placement)?this.config.placement:i[0]:this.config.placement,l=wo(i&&i.length>0?{mainAxis:!0,crossAxis:!1,padding:t,fallbackPlacements:i.filter((u=>u!==s)),fallbackAxisSideDirection:"none"}:{mainAxis:!0,crossAxis:!o&&"alignment",fallbackAxisSideDirection:"end",padding:t}),c=this.config.elementType===xe.POPOVER,r=vo({padding:t,mainAxis:this.config.constrainToViewportHeight||this.config.elementType===xe.TOOLTIP||c&&this.popoverMainAxisEnabled,crossAxis:!1});this.config.matchReferenceWidth&&n.push(Jt({apply({elements:u,rects:f}){Object.assign(u.floating.style,{width:`${f.reference.width}px`})}})),s?.includes("-")?n.push(l,r):n.push(r,l),this.config.constrainToViewportHeight&&n.push(Jt({padding:t,apply:({availableHeight:u,elements:f})=>{const a=Array.from(f.floating.children).find((d=>d!==this.arrowEl));a instanceof HTMLElement&&Object.assign(a.style,{maxHeight:`${Math.max(0,u)}px`,overflowY:"auto",overflowX:"hidden"})}})),this.config.showArrow!==!1&&this.arrowEl&&n.push(bo({element:this.arrowEl,padding:t})),Eo(this.anchorElement,this.floatingElement,{placement:s,strategy:"fixed",middleware:n,platform:{...rt,getOffsetParent:u=>rt.getOffsetParent(u,Ao)}}).then((({x:u,y:f,middlewareData:a,placement:d})=>{if(c){const w=d.startsWith("left")||d.startsWith("right"),m=d.startsWith("top")||d.startsWith("bottom"),g=this.isAnchorInViewport(),y=!!m||(w?g:this.popoverMainAxisEnabled);if(y!==this.popoverMainAxisEnabled)return this.popoverMainAxisEnabled=y,void this.updatePosition()}this.currentPlacement=d,Object.assign(this.floatingElement.style,{left:`${u}px`,top:`${f}px`,position:"fixed",transition:`opacity ${this.timeOfAnimation}ms ease`});const p=d.split("-")[0]??"bottom",h={top:"bottom",right:"left",bottom:"top",left:"right"}[p],{arrowZIndex:v}=this.normalizeFloatingElementStacking();if(a.arrow&&this.arrowEl){const w=this.arrowEl.offsetWidth,{x:m,y:g}=a.arrow;this.arrowEl.style.borderRadius=`${["left","right"].includes(p)?"0 ":""}var(--gidsFloatingElement-tip-border-radius, 2px)${["top","bottom"].includes(p)?" 0":""}`,Object.assign(this.arrowEl.style,{left:m!==null?`${m}px`:"",top:g!==null?`${g}px`:"",right:"",bottom:"",[h]:-w/2+"px",transform:"rotate(45deg)",zIndex:`${v}`,background:"var(--gidsFloatingElement-background)"})}}))}applyViewportMaxWidth(){const t=`calc(100vw - ${2*this.offset}px)`;this.floatingElement&&this.floatingElement?.style.maxWidth!==t&&(this.floatingElement.style.maxWidth=t)}normalizeFloatingElementStacking(){const t=this.floatingElement.style.zIndex||(window.getComputedStyle?.(this.floatingElement).zIndex??""),n=Number.parseInt(t,10),o=Number.isNaN(n)?-1:n-1,i=Number.isNaN(n)?o+1:n;return Number.isNaN(i)||(this.floatingElement.style.zIndex=`${i}`),Array.from(this.floatingElement.children).forEach((s=>{if(!(s instanceof HTMLElement)||s===this.arrowEl)return;const l=s.style.zIndex||(window.getComputedStyle?.(s).zIndex??""),c=Number.parseInt(l,10),r=window.getComputedStyle?.(s).position??"";(l===""||l==="auto"||Number.isNaN(c)||c<i)&&(s.style.zIndex=`${i}`,r!==""&&r!=="static"||(s.style.position="relative"))})),{contentZIndex:i,arrowZIndex:o}}hideFloatingElement(){this.floatingElement.classList.remove(this.config.visibilityClass),U.currentFloatingElements.delete(this.config.elementType)}showFloatingElement(){const t=U.currentFloatingElements.get(this.config.elementType);t&&t.hideFloatingElement(),this.floatingElement.classList.add(this.config.visibilityClass),U.currentFloatingElements.set(this.config.elementType,this)}isVisible(){return this.floatingElement.classList.contains(this.config.visibilityClass)}show(){this.setupAutoUpdate(),this.showFloatingElement()}hide(){this.cleanupAutoUpdate(),this.hideFloatingElement()}toggle(){this.isVisible()?this.hide():this.show()}showAfterDelay(){clearTimeout(this.hoverOutTimeout),this.hoverTimeout=setTimeout((()=>{this.show()}),this.timeBeforeElementShows)}hideAfterDelay(){clearTimeout(this.hoverTimeout),this.hoverOutTimeout=setTimeout((()=>{this.hide()}),this.timeDelayBeforeFadingOut)}cancelDelayedActions(){clearTimeout(this.hoverTimeout),clearTimeout(this.hoverOutTimeout)}destroy(){this.cleanupAutoUpdate(),this.cancelDelayedActions()}isAnchorInViewport(){if(!(this.anchorElement&&this.anchorElement instanceof Element))return!1;const t=this.anchorElement.getBoundingClientRect(),n=window.innerHeight||document.documentElement?.clientHeight||0,o=window.innerWidth||document.documentElement?.clientWidth||0,i=t.height/2+2*this.offset;return t.bottom>=i&&t.top<=n-i&&t.right>=0&&t.left<=o}},U.currentFloatingElements=new Map,U);const en=Rn(class extends dt{constructor(e){super(),e!==!1&&this.__registerHost(),this.__attachShadow(),this.placement="bottom",this.previouslyFocusedElement=null,this.focusableElements=[],this.handleToggleEvent=t=>{t.stopPropagation();const n=this.floatingElementManager.isVisible();this.floatingElementManager.toggle(),!n&&this.floatingElementManager.isVisible()?this.onPopoverShow():n&&!this.floatingElementManager.isVisible()&&this.onPopoverHide()},this.handleDocumentClick=t=>{this.floatingElementManager.isVisible()&&!this._el.contains(t.target)&&(this.floatingElementManager.hide(),this.onPopoverHide())},this.handleKeyDown=t=>{if(this.floatingElementManager.isVisible())return t.key==="Escape"?(t.preventDefault(),this.floatingElementManager.hide(),void this.onPopoverHide()):void(t.key==="Tab"&&this.trapFocus(t))}}componentDidLoad(){this.floatingElementManager=new No(this._el,{htmlFor:this.htmlFor,placement:this.placement,showWithoutDelay:!0,floatingElementSelector:"#popover",arrowElementSelector:"#arrow",visibilityClass:"gids-popover--visible",elementType:xe.POPOVER,getAnchorElementFromSlot:e=>e.querySelector('slot[name="anchor"]')?.assignedElements()[0]||null}),this.floatingElementManager.initialize(),this.setupEventListeners()}setupEventListeners(){const e=this.floatingElementManager.getAnchorElement();e&&(e.addEventListener("click",this.handleToggleEvent),document.addEventListener("click",this.handleDocumentClick),document.addEventListener("keydown",this.handleKeyDown))}onPopoverShow(){this.previouslyFocusedElement=document.activeElement,this.updateFocusableElements(),setTimeout((()=>{this.focusableElements.length>0&&this.focusableElements[0]&&this.focusableElements[0].focus()}),50)}onPopoverHide(){this.previouslyFocusedElement&&(this.previouslyFocusedElement.focus(),this.previouslyFocusedElement=null)}updateFocusableElements(){const e=this._el.shadowRoot?.querySelector("#popover");if(!e)return;const t=[],n=nn(e);t.push(...n);const o=this._el.shadowRoot?.querySelector("slot:not([name])");o&&o.assignedElements({flatten:!0}).forEach((i=>{const s=nn(i);t.push(...s)})),this.focusableElements=t.sort(((i,s)=>{const l=i.compareDocumentPosition(s),c=!!(l&Node.DOCUMENT_POSITION_FOLLOWING),r=!!(l&Node.DOCUMENT_POSITION_PRECEDING);return c?-1:r?1:0}))}trapFocus(e){if(this.focusableElements.length===0)return;const t=this.focusableElements[0],n=this.focusableElements[this.focusableElements.length-1];let o=document.activeElement;if(o===this._el){const s=this._el.shadowRoot?.activeElement;s!==null&&(o=s)}const i=this.focusableElements.indexOf(o)!==-1;e.shiftKey?o!==t&&i||(e.preventDefault(),n&&n.focus()):o!==n&&i||(e.preventDefault(),t&&t.focus())}placementChanged(e){this.floatingElementManager?.updateConfig({placement:e}),this.floatingElementManager?.isVisible()&&this.floatingElementManager?.reposition()}htmlForChanged(e){this.floatingElementManager?.updateConfig({htmlFor:e}),this.cleanupEventListeners(),this.floatingElementManager?.initialize(),this.setupEventListeners()}cleanupEventListeners(){const e=this.floatingElementManager?.getAnchorElement();e&&e.removeEventListener("click",this.handleToggleEvent),document.removeEventListener("click",this.handleDocumentClick),document.removeEventListener("keydown",this.handleKeyDown)}render(){return X(Pn,{key:"73497d9ef4f14eebabf001242caef76381b5991d"},X("slot",{key:"7b765462348d7a0c4340bdefd665d5b06149f404",name:"anchor"}),X("div",{key:"c08d46d227c0a7427d6e32f7999cfe0bc4ef7761",id:"popover",part:"popover",role:"dialog","aria-modal":"true",tabindex:"-1"},X("span",{key:"f7d42809d784ac6a83ccf02fc0d3d206429cdd8c",id:"arrow"}),X("div",{key:"869b33ab701c0fe3bd1e9e98e1174366d78a9807"},X("slot",{key:"9c3e5e4d37cc1da657984f1807e8f000011f8161"}))))}disconnectedCallback(){this.cleanupEventListeners(),this.floatingElementManager?.destroy()}get _el(){return this}static get watchers(){return{placement:[{placementChanged:0}],htmlFor:[{htmlForChanged:0}]}}static get style(){return"gids-popover{--gidsPopover-background:var(--gids-elevation-surface-overlay-default);--gidsPopover-text-color:var(--gids-color-text-default);--gidsPopover-padding:var(--gids-padding-vertical-edge-to-element-200) var(--gids-padding-horizontal-edge-to-element-300);--gidsPopover-border-radius:var(--gids-border-radius-lg);--gidsPopover-tip-border-radius:2px;--gidsPopover-tip-size:12px;--gidsPopover-shadow:var(--gids-elevation-shadow-overlay);--gidsFloatingElement-background:var(--gidsPopover-background);--gidsFloatingElement-tip-border-radius:var(--gidsPopover-tip-border-radius)}[part=popover]{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);position:absolute;display:inline-block;background-color:var(--gidsPopover-background);color:var(--gidsPopover-text-color);border-radius:var(--gidsPopover-border-radius);box-shadow:var(--gidsPopover-shadow);z-index:1000;opacity:0;pointer-events:none;outline:none}[part=popover]:focus{outline:none}[part=popover].gids-popover--visible{pointer-events:initial;opacity:1}[part=popover] span#arrow{position:absolute;height:var(--gidsPopover-tip-size);width:var(--gidsPopover-tip-size);background-color:var(--gidsPopover-background)}"}},[257,"gids-popover",{htmlFor:[513,"for"],placement:[513]},void 0,{placement:[{placementChanged:0}],htmlFor:[{htmlForChanged:0}]}]),tn=e=>{if(!(e instanceof dt)||e.tabIndex===-1||e.hasAttribute("disabled"))return!1;const t=getComputedStyle(e);if(t.display==="none"||t.visibility==="hidden"||e.hidden)return!1;try{const n=e.tabIndex;e.tabIndex=-1,e.focus();const o=document.activeElement===e;return e.tabIndex=n,o&&e.blur(),o}catch{return!1}},nn=e=>{const t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:i=>tn(i)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}),n=[];tn(e)&&n.push(e);let o=t.nextNode();for(;o!==null;)n.push(o),o=t.nextNode();return n};function on(){typeof customElements<"u"&&["gids-popover"].forEach((e=>{e==="gids-popover"&&(customElements.get(e)||customElements.define(e,en))}))}on();const Co=en,Ro=on;te.GidsPopover=Co,te.defineCustomElement=Ro,Object.defineProperty(te,Symbol.toStringTag,{value:"Module"})}));
5
+ `);const v=this["s-cr"].parentElement;return(v.__childNodes?v.childNodes:(w=>{const m=[];for(let g=0;g<w.length;g++){const y=w[g]["s-nr"]||void 0;y&&y.isConnected&&m.push(y)}return m})(v.childNodes)).forEach((w=>{h===ge(w)&&p.push(w)})),a?p.filter((w=>w.nodeType===1)):p}).bind(u);u.assignedElements=f(!0),u.assignedNodes=f(!1)})(s),c=e&&e.m&&e.m[n],c&&c.O===i.O&&e.S&&Nt(e.S)),s},Nt=e=>{C.i|=1;const t=e.closest(oe.toLowerCase());if(t!=null){const n=Array.from(t.__childNodes||t.childNodes).find((i=>i["s-cr"])),o=Array.from(e.__childNodes||e.childNodes);for(const i of n?o.reverse():o)i["s-sh"]!=null&&(L(t,i,n??null),i["s-sh"]=void 0,Ne=!0)}C.i&=-2},Re=(e,t)=>{C.i|=1;const n=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let o=e;for(;o=o.nextSibling;)o&&o["s-sn"]===e["s-sn"]&&o["s-sh"]===oe&&n.push(o)}for(let o=n.length-1;o>=0;o--){const i=n[o];i["s-hn"]!==oe&&i["s-ol"]&&(L(ve(i).parentNode,i,ve(i)),i["s-ol"].remove(),i["s-ol"]=void 0,i["s-sh"]=void 0,Ne=!0),t&&Re(i,t)}C.i&=-2},Ct=(e,t,n,o,i,s)=>{let l,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===oe&&(c=c.shadowRoot),n.O==="template"&&(c=c.content);i<=s;++i)o[i]&&(l=Ce(null,n,i),l&&(o[i].S=l,L(c,l,ve(t))))},Rt=(e,t,n)=>{for(let o=t;o<=n;++o){const i=e[o];if(i){const s=i.S;Tt(i),s&&(Ae=!0,s["s-ol"]?s["s-ol"].remove():Re(s,!0),s.remove())}}},Pe=(e,t,n=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:n?(n&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),ve=e=>e&&e["s-ol"]||e,ae=(e,t,n=!1)=>{const o=t.S=e.S,i=e.m,s=t.m,l=t.O,c=t.h;let r;c==null?(T=l==="svg"||l!=="foreignObject"&&T,l!=="slot"||ye||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Nt(t.S.parentElement)),Ye(e,t,T),i!==null&&s!==null?((u,f,a,d,p=!1)=>{let h,v,w=0,m=0,g=0,y=0,E=f.length-1,b=f[0],x=f[E],S=d.length-1,A=d[0],N=d[S];const R=a.O==="template"?u.content:u;for(;w<=E&&m<=S;)if(b==null)b=f[++w];else if(x==null)x=f[--E];else if(A==null)A=d[++m];else if(N==null)N=d[--S];else if(Pe(b,A,p))ae(b,A,p),b=f[++w],A=d[++m];else if(Pe(x,N,p))ae(x,N,p),x=f[--E],N=d[--S];else if(Pe(b,N,p))b.O!=="slot"&&N.O!=="slot"||Re(b.S.parentNode,!1),ae(b,N,p),L(R,b.S,x.S.nextSibling),b=f[++w],N=d[--S];else if(Pe(x,A,p))b.O!=="slot"&&N.O!=="slot"||Re(x.S.parentNode,!1),ae(x,A,p),L(R,x.S,b.S),x=f[--E],A=d[++m];else{for(g=-1,y=w;y<=E;++y)if(f[y]&&f[y].$!==null&&f[y].$===A.$){g=y;break}g>=0?(v=f[g],v.O!==A.O?h=Ce(f&&f[m],a,g):(ae(v,A,p),f[g]=void 0,h=v.S),A=d[++m]):(h=Ce(f&&f[m],a,m),A=d[++m]),h&&L(ve(b.S).parentNode,h,ve(b.S))}w>E?Ct(u,d[S+1]==null?null:d[S+1].S,a,d,m,S):m>S&&Rt(f,w,E)})(o,i,t,s,n):s!==null?(e.h!==null&&(o.textContent=""),Ct(o,null,t,s,0,s.length-1)):!n&&i!==null&&Rt(i,0,i.length-1),T&&l==="svg"&&(T=!1)):(r=o["s-cr"])?r.parentNode.textContent=c:e.h!==c&&(o.data=c)},I=[],Pt=e=>{let t,n,o;const i=e.__childNodes||e.childNodes;for(const s of i){if(s["s-sr"]&&(t=s["s-cr"])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;const l=s["s-sn"];for(o=n.length-1;o>=0;o--)if(t=n[o],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===s["s-hn"]||t["s-sh"]&&t["s-sh"]===s["s-hn"]))if(yt(t,l)){let c=I.find((r=>r.k===t));Ae=!0,t["s-sn"]=t["s-sn"]||l,c?(c.k["s-sh"]=s["s-hn"],c.N=s):(t["s-sh"]=s["s-hn"],I.push({N:s,k:t})),t["s-sr"]&&I.map((r=>{yt(r.k,t["s-sn"])&&(c=I.find((u=>u.k===t)),c&&!r.N&&(r.N=c.N))}))}else I.some((c=>c.k===t))||I.push({k:t})}s.nodeType===1&&Pt(s)}},Tt=e=>{e.v&&e.v.ref&&Xe.push((()=>e.v.ref(null))),e.m&&e.m.map(Tt)},vn=(e,t)=>{Ke.push((()=>e(t)))},L=(e,t,n,o)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,n);const{slotNode:i}=(function(s,l){var c;if(!(l=l||((c=s["s-ol"])==null?void 0:c.parentElement)))return{slotNode:null,slotName:""};const r=s["s-sn"]=ge(s)||"";return{slotNode:ze(Be(l,"childNodes"),l.tagName,r)[0],slotName:r}})(t);return i&&!o&&i.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,n):e?.insertBefore(t,n)},wn=(e,t,n=!1)=>{var o,i,s,l,c;const r=e.$hostElement$,u=e.o,f=e.M||Oe(null,null);var a;const d=(a=t)&&a.O===dn?t:X(null,null,t);if(oe=r.tagName,u.C&&(d.v=d.v||{},u.C.forEach((([p,h])=>{d.v[h]=r[p]}))),n&&d.v)for(const p of Object.keys(d.v))r.hasAttribute(p)&&!["key","ref","style","class"].includes(p)&&(d.v[p]=r[p]);if(d.O=null,d.i|=4,e.M=d,d.S=f.S=r.shadowRoot||r,ye=!(!(1&u.i)||128&u.i),Ue=r["s-cr"],Ae=!1,ae(f,d,n),C.i|=1,Ne){Pt(d.S);for(const p of I){const h=p.k;if(!h["s-ol"]&&O.document){const v=O.document.createTextNode("");v["s-nr"]=h,L(h.parentNode,h["s-ol"]=v,h,n)}}for(const p of I){const h=p.k,v=p.N;if(h.nodeType===1&&n&&(h["s-ih"]=(o=h.hidden)!=null&&o),v){const w=v.parentNode;let m=v.nextSibling;if(m&&m.nodeType===1){let g=(i=h["s-ol"])==null?void 0:i.previousSibling;for(;g;){let y=(s=g["s-nr"])!=null?s:null;if(y&&y["s-sn"]===h["s-sn"]&&w===(y.__parentNode||y.parentNode)){for(y=y.nextSibling;y===h||y?.["s-sr"];)y=y?.nextSibling;if(!y||!y["s-nr"]){m=y;break}}g=g.previousSibling}}if((!m&&w!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==m)&&h!==m){if(L(w,h,m,n),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const g=O.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,L(h.parentNode,g,h,n),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(l=h["s-ih"])!=null&&l)}h&&typeof v["s-rf"]=="function"&&v["s-rf"](v)}else h.nodeType===1&&(h.hidden=!0)}}if(Ae&&gt(d.S),C.i&=-2,I.length=0,!ye&&!(1&u.i)&&r["s-cr"]){const p=d.S.__childNodes||d.S.childNodes;for(const h of p)if(h["s-hn"]!==oe&&!h["s-sh"]){if(n&&h["s-ih"]==null&&(h["s-ih"]=(c=h.hidden)!=null&&c),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const v=O.document.createComment("s-nt-"+h.nodeValue);v["s-sn"]=h["s-sn"],L(h.parentNode,v,h,n),h.parentNode.removeChild(h)}}}Ue=void 0,Xe.forEach((p=>p())),Xe.length=0,Ke.forEach((p=>p())),Ke.length=0},kt=(e,t)=>{if(t&&!e.A&&t["s-p"]){const n=t["s-p"].push(new Promise((o=>e.A=()=>{t["s-p"].splice(n-1,1),o()})))}},Ge=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);kt(e,e.R);const n=()=>bn(e,t);if(!t)return an(n);queueMicrotask((()=>{n()}))},bn=(e,t)=>{const n=e.$hostElement$,o=n;if(!o)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return i=we(o,t?"componentWillLoad":"componentWillUpdate",void 0,n),i=_t(i,(()=>we(o,"componentWillRender",void 0,n))),_t(i,(()=>xn(e,o,t)))},_t=(e,t)=>En(e)?e.then(t).catch((n=>{console.error(n),t()})):t(),En=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",xn=async(e,t,n)=>{var o;const i=e.$hostElement$,s=i["s-rc"];n&&(l=>{const c=l.o,r=l.$hostElement$,u=c.i,f=((a,d)=>{var p,h,v;const w=vt(d),m=Se.get(w);if(!O.document)return w;if(a=a.nodeType===11?a:O.document,m)if(typeof m=="string"){let g,y=Y.get(a=a.head||a);if(y||Y.set(a,y=new Set),!y.has(w)){g=O.document.createElement("style"),g.textContent=m;const E=(p=C._)!=null?p:(function(){var b,x,S;return(S=(x=(b=O.document.head)==null?void 0:b.querySelector('meta[name="csp-nonce"]'))==null?void 0:x.getAttribute("content"))!=null?S:void 0})();if(E!=null&&g.setAttribute("nonce",E),!(1&d.i))if(a.nodeName==="HEAD"){const b=a.querySelectorAll("link[rel=preconnect]"),x=b.length>0?b[b.length-1].nextSibling:a.querySelector("style");a.insertBefore(g,x?.parentNode===a?x:null)}else if("host"in a)if(We){const b=new((h=a.defaultView)!=null?h:a.ownerDocument.defaultView).CSSStyleSheet;b.replaceSync(m),je?a.adoptedStyleSheets.unshift(b):a.adoptedStyleSheets=[b,...a.adoptedStyleSheets]}else{const b=a.querySelector("style");b?b.textContent=m+b.textContent:a.prepend(g)}else a.append(g);1&d.i&&a.insertBefore(g,null),4&d.i&&(g.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),y&&y.add(w)}}else{let g=Y.get(a);if(g||Y.set(a,g=new Set),!g.has(w)){const y=(v=a.defaultView)!=null?v:a.ownerDocument.defaultView;let E;if(m.constructor===y.CSSStyleSheet)E=m;else{E=new y.CSSStyleSheet;for(let b=0;b<m.cssRules.length;b++)E.insertRule(m.cssRules[b].cssText,b)}je?a.adoptedStyleSheets.push(E):a.adoptedStyleSheets=[...a.adoptedStyleSheets,E],g.add(w)}}return w})(r.shadowRoot?r.shadowRoot:r.getRootNode(),c);10&u&&(r["s-sc"]=f,r.classList.add(f+"-h"))})(e),Sn(e,t,i,n),s&&(s.map((l=>l())),i["s-rc"]=void 0);{const l=(o=i["s-p"])!=null?o:[],c=()=>On(e);l.length===0?c():(Promise.all(l).then(c).catch(c),e.i|=4,l.length=0)}},Sn=(e,t,n,o)=>{try{t=t.render(),e.i&=-17,e.i|=2,wn(e,t,o)}catch(i){ne(i,e.$hostElement$)}return null},On=e=>{const t=e.$hostElement$,n=t,o=e.R;we(n,"componentDidRender",void 0,t),64&e.i?we(n,"componentDidUpdate",void 0,t):(e.i|=64,Nn(t),we(n,"componentDidLoad",void 0,t),e.L(t),o||An()),e.A&&(e.A(),e.A=void 0),512&e.i&&Ie((()=>Ge(e,!1))),e.i&=-517},An=()=>{Ie((()=>mn(O,"appload",{detail:{namespace:"gids-core-web"}})))},we=(e,t,n,o)=>{if(e&&e[t])try{return e[t](n)}catch(i){ne(i,o)}},Nn=e=>e.classList.add("hydrated"),Lt=(e,t,n,o)=>{const i=H(e);if(!i)return;const s=e,l=i.l.get(t),c=i.i,r=s;n=Et(n,o.t[t][0],!!(64&o.i));const u=Number.isNaN(l)&&Number.isNaN(n);if(n!==l&&!u){if(i.l.set(t,n),o.F){const f=o.F[t];f&&f.map((a=>{try{const[[d,p]]=Object.entries(a);(128&c||1&p)&&(r?r[d](n,l,t):i.T.push((()=>{i.D[d](n,l,t)})))}catch(d){ne(d,s)}}))}if(2&c){if(r.componentShouldUpdate&&r.componentShouldUpdate(n,l,t)===!1&&!(16&c))return;16&c||Ge(i,!1)}}},Cn=(e,t,n)=>{var o,i;const s=e.prototype;64&t.i&&1&n&&ln.forEach((l=>{const c=s[l];Object.defineProperty(s,l,{value(...r){var u;const f=H(this),a=this;a?typeof c=="function"&&c.call(a,...r):(u=f?.H)==null||u.then((d=>{const p=d[l];typeof p=="function"&&p.call(d,...r)}))}})}));{e.watchers&&!t.F&&(t.F=bt(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const l=Object.entries((o=t.t)!=null?o:{});l.map((([c,[r]])=>{if(31&r||32&r){const{get:u,set:f}=ce(s,c)||{};u&&(t.t[c][0]|=2048),f&&(t.t[c][0]|=4096),Object.defineProperty(s,c,{get(){return u?u.apply(this):(a=c,H(this).l.get(a));var a},configurable:!0,enumerable:!0}),Object.defineProperty(s,c,{set(a){const d=H(this);if(d){if(f)return(32&r?this[c]:d.$hostElement$[c])===void 0&&d.l.get(c)&&(a=d.l.get(c)),f.apply(this,[Et(a,r,!!(64&t.i))]),void Lt(this,c,a=32&r?this[c]:d.$hostElement$[c],t);Lt(this,c,a,t)}}})}}));{const c=new Map;s.attributeChangedCallback=function(r,u,f){C.jmp((()=>{var a;const d=c.get(r),p=H(this);if(this.hasOwnProperty(d),s.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==f)return;if(d==null){const g=p?.i;if(p&&g&&!(8&g)&&f!==u){const y=this,E=(a=t.F)==null?void 0:a[r];E?.forEach((b=>{const[[x,S]]=Object.entries(b);y[x]!=null&&(128&g||1&S)&&y[x].call(y,f,u,r)}))}return}const h=l.find((([g])=>g===d)),v=h&&4&h[1][0],w=v&&f===null&&this[d]===void 0;v&&(f=f!==null&&f!=="false");const m=Object.getOwnPropertyDescriptor(s,d);w||f==this[d]||m.get&&!m.set||(this[d]=f)}))},e.observedAttributes=Array.from(new Set([...Object.keys((i=t.F)!=null?i:{}),...l.filter((([r,u])=>31&u[0])).map((([r,u])=>{var f;const a=u[1]||r;return c.set(a,r),512&u[0]&&((f=t.C)==null||f.push([r,a])),a}))]))}}return e},Rn=(e,t)=>{const n={i:t[0],p:t[1]};try{n.t=t[2],n.W=t[3],n.F=bt(e.F),n.P=e.P,n.U=e.U,n.C=[];const o=e.prototype.connectedCallback,i=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((s,l)=>{const c={i:0,$hostElement$:s,o:l,l:new Map,B:new Map};c.H=new Promise((u=>c.L=u)),s["s-p"]=[],s["s-rc"]=[];const r=c;s.__stencil__getHostRef=()=>r,512&l.i&&sn(s,c)})(this,n)},connectedCallback(){if(!this.__hasHostListenerAttached){const s=H(this);if(!s)return;Ft(this,s,n.W),this.__hasHostListenerAttached=!0}(s=>{if(!(1&C.i)){const l=H(s);if(!l)return;const c=l.o;if(1&l.i)Ft(s,l,c.W),l?.D||l?.H&&l.H.then((()=>{}));else{l.i|=1,12&c.i&&(r=>{if(!O.document)return;const u=r["s-cr"]=O.document.createComment("");u["s-cn"]=!0,L(r,u,r.firstChild)})(s);{let r=s;for(;r=r.parentNode||r.host;)if(r["s-p"]){kt(l,l.R=r);break}}c.t&&Object.entries(c.t).map((([r,[u]])=>{if(31&u&&Object.prototype.hasOwnProperty.call(s,r)){const f=s[r];delete s[r],s[r]=f}})),(async(r,u,f)=>{let a;try{if(!(32&u.i)&&(u.i|=32,a=r.constructor,customElements.whenDefined(r.localName).then((()=>u.i|=128)),a&&a.style)){let h;typeof a.style=="string"&&(h=a.style);const v=vt(f);Se.has(v)||((w,m,g)=>{let y=Se.get(w);We&&g?(y=y||new CSSStyleSheet,typeof y=="string"?y=m:y.replaceSync(m)):y=m,Se.set(w,y)})(v,h,!!(1&f.i))}const d=u.R,p=()=>Ge(u,!0);d&&d["s-rc"]?d["s-rc"].push(p):p()}catch(d){ne(d,r),u.A&&(u.A(),u.A=void 0),u.L&&u.L(r)}})(s,l,c)}}})(this),o&&o.call(this)},disconnectedCallback(){(async s=>{if(!(1&C.i)){const l=H(s);l?.V&&(l.V.map((c=>c())),l.V=void 0)}Y.has(s)&&Y.delete(s),s.shadowRoot&&Y.has(s.shadowRoot)&&Y.delete(s.shadowRoot)})(this),i&&i.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${n.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else fn.call(this,n)}}),Object.defineProperty(e,"is",{value:n.p,configurable:!0}),Cn(e,n,3)}catch(o){return ne(o),e}},Pn=(e,t)=>t,Ft=(e,t,n)=>{n&&O.document&&n.map((([o,i,s])=>{const l=kn(O.document,e,o),c=Tn(t,s),r=_n(o);C.ael(l,i,c,r),(t.V=t.V||[]).push((()=>C.rel(l,i,c,r)))}))},Tn=(e,t)=>n=>{try{e.$hostElement$[t](n)}catch(o){ne(o,e.$hostElement$)}},kn=(e,t,n)=>8&n?O:t,_n=e=>rn?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function To(e){return e}const K=Math.min,k=Math.max,Te=Math.round,ke=Math.floor,W=e=>({x:e,y:e}),Ln={left:"right",right:"left",bottom:"top",top:"bottom"};function Ze(e,t,n){return k(e,K(t,n))}function fe(e,t){return typeof e=="function"?e(t):e}function G(e){return e.split("-")[0]}function ue(e){return e.split("-")[1]}function $t(e){return e==="x"?"y":"x"}function Je(e){return e==="y"?"height":"width"}function z(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Qe(e){return $t(z(e))}function Fn(e,t,n){n===void 0&&(n=!1);const o=ue(e),i=Qe(e),s=Je(i);let l=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(l=_e(l)),[l,_e(l)]}function $n(e){const t=_e(e);return[et(e),t,et(t)]}function et(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Dt=["left","right"],Mt=["right","left"],Dn=["top","bottom"],Mn=["bottom","top"];function Wn(e,t,n){switch(e){case"top":case"bottom":return n?t?Mt:Dt:t?Dt:Mt;case"left":case"right":return t?Dn:Mn;default:return[]}}function jn(e,t,n,o){const i=ue(e);let s=Wn(G(e),n==="start",o);return i&&(s=s.map(l=>l+"-"+i),t&&(s=s.concat(s.map(et)))),s}function _e(e){const t=G(e);return Ln[t]+e.slice(t.length)}function Vn(e){return{top:0,right:0,bottom:0,left:0,...e}}function Wt(e){return typeof e!="number"?Vn(e):{top:e,right:e,bottom:e,left:e}}function Le(e){const{x:t,y:n,width:o,height:i}=e;return{width:o,height:i,top:n,left:t,right:t+o,bottom:n+i,x:t,y:n}}function jt(e,t,n){let{reference:o,floating:i}=e;const s=z(t),l=Qe(t),c=Je(l),r=G(t),u=s==="y",f=o.x+o.width/2-i.width/2,a=o.y+o.height/2-i.height/2,d=o[c]/2-i[c]/2;let p;switch(r){case"top":p={x:f,y:o.y-i.height};break;case"bottom":p={x:f,y:o.y+o.height};break;case"right":p={x:o.x+o.width,y:a};break;case"left":p={x:o.x-i.width,y:a};break;default:p={x:o.x,y:o.y}}switch(ue(t)){case"start":p[l]-=d*(n&&u?-1:1);break;case"end":p[l]+=d*(n&&u?-1:1);break}return p}async function Hn(e,t){var n;t===void 0&&(t={});const{x:o,y:i,platform:s,rects:l,elements:c,strategy:r}=e,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:a="floating",altBoundary:d=!1,padding:p=0}=fe(t,e),h=Wt(p),w=c[d?a==="floating"?"reference":"floating":a],m=Le(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(w)))==null||n?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:u,rootBoundary:f,strategy:r})),g=a==="floating"?{x:o,y:i,width:l.floating.width,height:l.floating.height}:l.reference,y=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),E=await(s.isElement==null?void 0:s.isElement(y))?await(s.getScale==null?void 0:s.getScale(y))||{x:1,y:1}:{x:1,y:1},b=Le(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:g,offsetParent:y,strategy:r}):g);return{top:(m.top-b.top+h.top)/E.y,bottom:(b.bottom-m.bottom+h.bottom)/E.y,left:(m.left-b.left+h.left)/E.x,right:(b.right-m.right+h.right)/E.x}}const In=50,zn=async(e,t,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:s=[],platform:l}=n,c=l.detectOverflow?l:{...l,detectOverflow:Hn},r=await(l.isRTL==null?void 0:l.isRTL(t));let u=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:f,y:a}=jt(u,o,r),d=o,p=0;const h={};for(let v=0;v<s.length;v++){const w=s[v];if(!w)continue;const{name:m,fn:g}=w,{x:y,y:E,data:b,reset:x}=await g({x:f,y:a,initialPlacement:o,placement:d,strategy:i,middlewareData:h,rects:u,platform:c,elements:{reference:e,floating:t}});f=y??f,a=E??a,h[m]={...h[m],...b},x&&p<In&&(p++,typeof x=="object"&&(x.placement&&(d=x.placement),x.rects&&(u=x.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:f,y:a}=jt(u,d,r)),v=-1)}return{x:f,y:a,placement:d,strategy:i,middlewareData:h}},Bn=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:i,rects:s,platform:l,elements:c,middlewareData:r}=t,{element:u,padding:f=0}=fe(e,t)||{};if(u==null)return{};const a=Wt(f),d={x:n,y:o},p=Qe(i),h=Je(p),v=await l.getDimensions(u),w=p==="y",m=w?"top":"left",g=w?"bottom":"right",y=w?"clientHeight":"clientWidth",E=s.reference[h]+s.reference[p]-d[p]-s.floating[h],b=d[p]-s.reference[p],x=await(l.getOffsetParent==null?void 0:l.getOffsetParent(u));let S=x?x[y]:0;(!S||!await(l.isElement==null?void 0:l.isElement(x)))&&(S=c.floating[y]||s.floating[h]);const A=E/2-b/2,N=S/2-v[h]/2-1,R=K(a[m],N),J=K(a[g],N),V=R,Q=S-v[h]-J,P=S/2-v[h]/2+A,re=Ze(V,P,Q),q=!r.arrow&&ue(i)!=null&&P!==re&&s.reference[h]/2-(P<V?R:J)-v[h]/2<0,D=q?P<V?P-V:P-Q:0;return{[p]:d[p]+D,data:{[p]:re,centerOffset:P-re-D,...q&&{alignmentOffset:D}},reset:q}}}),Un=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:i,middlewareData:s,rects:l,initialPlacement:c,platform:r,elements:u}=t,{mainAxis:f=!0,crossAxis:a=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:v=!0,...w}=fe(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const m=G(i),g=z(c),y=G(c)===c,E=await(r.isRTL==null?void 0:r.isRTL(u.floating)),b=d||(y||!v?[_e(c)]:$n(c)),x=h!=="none";!d&&x&&b.push(...jn(c,v,h,E));const S=[c,...b],A=await r.detectOverflow(t,w),N=[];let R=((o=s.flip)==null?void 0:o.overflows)||[];if(f&&N.push(A[m]),a){const P=Fn(i,l,E);N.push(A[P[0]],A[P[1]])}if(R=[...R,{placement:i,overflows:N}],!N.every(P=>P<=0)){var J,V;const P=(((J=s.flip)==null?void 0:J.index)||0)+1,re=S[P];if(re&&(!(a==="alignment"?g!==z(re):!1)||R.every(M=>z(M.placement)===g?M.overflows[0]>0:!0)))return{data:{index:P,overflows:R},reset:{placement:re}};let q=(V=R.filter(D=>D.overflows[0]<=0).sort((D,M)=>D.overflows[1]-M.overflows[1])[0])==null?void 0:V.placement;if(!q)switch(p){case"bestFit":{var Q;const D=(Q=R.filter(M=>{if(x){const ee=z(M.placement);return ee===g||ee==="y"}return!0}).map(M=>[M.placement,M.overflows.filter(ee=>ee>0).reduce((ee,Po)=>ee+Po,0)]).sort((M,ee)=>M[1]-ee[1])[0])==null?void 0:Q[0];D&&(q=D);break}case"initialPlacement":q=c;break}if(i!==q)return{reset:{placement:q}}}return{}}}},qn=new Set(["left","top"]);async function Yn(e,t){const{placement:n,platform:o,elements:i}=e,s=await(o.isRTL==null?void 0:o.isRTL(i.floating)),l=G(n),c=ue(n),r=z(n)==="y",u=qn.has(l)?-1:1,f=s&&r?-1:1,a=fe(t,e);let{mainAxis:d,crossAxis:p,alignmentAxis:h}=typeof a=="number"?{mainAxis:a,crossAxis:0,alignmentAxis:null}:{mainAxis:a.mainAxis||0,crossAxis:a.crossAxis||0,alignmentAxis:a.alignmentAxis};return c&&typeof h=="number"&&(p=c==="end"?h*-1:h),r?{x:p*f,y:d*u}:{x:d*u,y:p*f}}const Xn=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:i,y:s,placement:l,middlewareData:c}=t,r=await Yn(t,e);return l===((n=c.offset)==null?void 0:n.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:i+r.x,y:s+r.y,data:{...r,placement:l}}}}},Kn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:i,platform:s}=t,{mainAxis:l=!0,crossAxis:c=!1,limiter:r={fn:m=>{let{x:g,y}=m;return{x:g,y}}},...u}=fe(e,t),f={x:n,y:o},a=await s.detectOverflow(t,u),d=z(G(i)),p=$t(d);let h=f[p],v=f[d];if(l){const m=p==="y"?"top":"left",g=p==="y"?"bottom":"right",y=h+a[m],E=h-a[g];h=Ze(y,h,E)}if(c){const m=d==="y"?"top":"left",g=d==="y"?"bottom":"right",y=v+a[m],E=v-a[g];v=Ze(y,v,E)}const w=r.fn({...t,[p]:h,[d]:v});return{...w,data:{x:w.x-n,y:w.y-o,enabled:{[p]:l,[d]:c}}}}}},Gn=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,o;const{placement:i,rects:s,platform:l,elements:c}=t,{apply:r=()=>{},...u}=fe(e,t),f=await l.detectOverflow(t,u),a=G(i),d=ue(i),p=z(i)==="y",{width:h,height:v}=s.floating;let w,m;a==="top"||a==="bottom"?(w=a,m=d===(await(l.isRTL==null?void 0:l.isRTL(c.floating))?"start":"end")?"left":"right"):(m=a,w=d==="end"?"top":"bottom");const g=v-f.top-f.bottom,y=h-f.left-f.right,E=K(v-f[w],g),b=K(h-f[m],y),x=!t.middlewareData.shift;let S=E,A=b;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(A=y),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(S=g),x&&!d){const R=k(f.left,0),J=k(f.right,0),V=k(f.top,0),Q=k(f.bottom,0);p?A=h-2*(R!==0||J!==0?R+J:k(f.left,f.right)):S=v-2*(V!==0||Q!==0?V+Q:k(f.top,f.bottom))}await r({...t,availableWidth:A,availableHeight:S});const N=await l.getDimensions(c.floating);return h!==N.width||v!==N.height?{reset:{rects:!0}}:{}}}};function Fe(){return typeof window<"u"}function de(e){return Vt(e)?(e.nodeName||"").toLowerCase():"#document"}function _(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function j(e){var t;return(t=(Vt(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Vt(e){return Fe()?e instanceof Node||e instanceof _(e).Node:!1}function F(e){return Fe()?e instanceof Element||e instanceof _(e).Element:!1}function B(e){return Fe()?e instanceof HTMLElement||e instanceof _(e).HTMLElement:!1}function Ht(e){return!Fe()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof _(e).ShadowRoot}function be(e){const{overflow:t,overflowX:n,overflowY:o,display:i}=$(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&i!=="inline"&&i!=="contents"}function Zn(e){return/^(table|td|th)$/.test(de(e))}function $e(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const Jn=/transform|translate|scale|rotate|perspective|filter/,Qn=/paint|layout|strict|content/,ie=e=>!!e&&e!=="none";let tt;function nt(e){const t=F(e)?$(e):e;return ie(t.transform)||ie(t.translate)||ie(t.scale)||ie(t.rotate)||ie(t.perspective)||!ot()&&(ie(t.backdropFilter)||ie(t.filter))||Jn.test(t.willChange||"")||Qn.test(t.contain||"")}function eo(e){let t=Z(e);for(;B(t)&&!he(t);){if(nt(t))return t;if($e(t))return null;t=Z(t)}return null}function ot(){return tt==null&&(tt=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),tt}function he(e){return/^(html|body|#document)$/.test(de(e))}function $(e){return _(e).getComputedStyle(e)}function De(e){return F(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Z(e){if(de(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ht(e)&&e.host||j(e);return Ht(t)?t.host:t}function It(e){const t=Z(e);return he(t)?e.ownerDocument?e.ownerDocument.body:e.body:B(t)&&be(t)?t:It(t)}function Ee(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=It(e),s=i===((o=e.ownerDocument)==null?void 0:o.body),l=_(i);if(s){const c=it(l);return t.concat(l,l.visualViewport||[],be(i)?i:[],c&&n?Ee(c):[])}else return t.concat(i,Ee(i,[],n))}function it(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function zt(e){const t=$(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const i=B(e),s=i?e.offsetWidth:n,l=i?e.offsetHeight:o,c=Te(n)!==s||Te(o)!==l;return c&&(n=s,o=l),{width:n,height:o,$:c}}function st(e){return F(e)?e:e.contextElement}function pe(e){const t=st(e);if(!B(t))return W(1);const n=t.getBoundingClientRect(),{width:o,height:i,$:s}=zt(t);let l=(s?Te(n.width):n.width)/o,c=(s?Te(n.height):n.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!c||!Number.isFinite(c))&&(c=1),{x:l,y:c}}const to=W(0);function Bt(e){const t=_(e);return!ot()||!t.visualViewport?to:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function no(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==_(e)?!1:t}function se(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),s=st(e);let l=W(1);t&&(o?F(o)&&(l=pe(o)):l=pe(e));const c=no(s,n,o)?Bt(s):W(0);let r=(i.left+c.x)/l.x,u=(i.top+c.y)/l.y,f=i.width/l.x,a=i.height/l.y;if(s){const d=_(s),p=o&&F(o)?_(o):o;let h=d,v=it(h);for(;v&&o&&p!==h;){const w=pe(v),m=v.getBoundingClientRect(),g=$(v),y=m.left+(v.clientLeft+parseFloat(g.paddingLeft))*w.x,E=m.top+(v.clientTop+parseFloat(g.paddingTop))*w.y;r*=w.x,u*=w.y,f*=w.x,a*=w.y,r+=y,u+=E,h=_(v),v=it(h)}}return Le({width:f,height:a,x:r,y:u})}function Me(e,t){const n=De(e).scrollLeft;return t?t.left+n:se(j(e)).left+n}function Ut(e,t){const n=e.getBoundingClientRect(),o=n.left+t.scrollLeft-Me(e,n),i=n.top+t.scrollTop;return{x:o,y:i}}function oo(e){let{elements:t,rect:n,offsetParent:o,strategy:i}=e;const s=i==="fixed",l=j(o),c=t?$e(t.floating):!1;if(o===l||c&&s)return n;let r={scrollLeft:0,scrollTop:0},u=W(1);const f=W(0),a=B(o);if((a||!a&&!s)&&((de(o)!=="body"||be(l))&&(r=De(o)),a)){const p=se(o);u=pe(o),f.x=p.x+o.clientLeft,f.y=p.y+o.clientTop}const d=l&&!a&&!s?Ut(l,r):W(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-r.scrollLeft*u.x+f.x+d.x,y:n.y*u.y-r.scrollTop*u.y+f.y+d.y}}function io(e){return Array.from(e.getClientRects())}function so(e){const t=j(e),n=De(e),o=e.ownerDocument.body,i=k(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),s=k(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let l=-n.scrollLeft+Me(e);const c=-n.scrollTop;return $(o).direction==="rtl"&&(l+=k(t.clientWidth,o.clientWidth)-i),{width:i,height:s,x:l,y:c}}const qt=25;function lo(e,t){const n=_(e),o=j(e),i=n.visualViewport;let s=o.clientWidth,l=o.clientHeight,c=0,r=0;if(i){s=i.width,l=i.height;const f=ot();(!f||f&&t==="fixed")&&(c=i.offsetLeft,r=i.offsetTop)}const u=Me(o);if(u<=0){const f=o.ownerDocument,a=f.body,d=getComputedStyle(a),p=f.compatMode==="CSS1Compat"&&parseFloat(d.marginLeft)+parseFloat(d.marginRight)||0,h=Math.abs(o.clientWidth-a.clientWidth-p);h<=qt&&(s-=h)}else u<=qt&&(s+=u);return{width:s,height:l,x:c,y:r}}function ro(e,t){const n=se(e,!0,t==="fixed"),o=n.top+e.clientTop,i=n.left+e.clientLeft,s=B(e)?pe(e):W(1),l=e.clientWidth*s.x,c=e.clientHeight*s.y,r=i*s.x,u=o*s.y;return{width:l,height:c,x:r,y:u}}function Yt(e,t,n){let o;if(t==="viewport")o=lo(e,n);else if(t==="document")o=so(j(e));else if(F(t))o=ro(t,n);else{const i=Bt(e);o={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Le(o)}function Xt(e,t){const n=Z(e);return n===t||!F(n)||he(n)?!1:$(n).position==="fixed"||Xt(n,t)}function co(e,t){const n=t.get(e);if(n)return n;let o=Ee(e,[],!1).filter(c=>F(c)&&de(c)!=="body"),i=null;const s=$(e).position==="fixed";let l=s?Z(e):e;for(;F(l)&&!he(l);){const c=$(l),r=nt(l);!r&&c.position==="fixed"&&(i=null),(s?!r&&!i:!r&&c.position==="static"&&!!i&&(i.position==="absolute"||i.position==="fixed")||be(l)&&!r&&Xt(e,l))?o=o.filter(f=>f!==l):i=c,l=Z(l)}return t.set(e,o),o}function ao(e){let{element:t,boundary:n,rootBoundary:o,strategy:i}=e;const l=[...n==="clippingAncestors"?$e(t)?[]:co(t,this._c):[].concat(n),o],c=Yt(t,l[0],i);let r=c.top,u=c.right,f=c.bottom,a=c.left;for(let d=1;d<l.length;d++){const p=Yt(t,l[d],i);r=k(p.top,r),u=K(p.right,u),f=K(p.bottom,f),a=k(p.left,a)}return{width:u-a,height:f-r,x:a,y:r}}function fo(e){const{width:t,height:n}=zt(e);return{width:t,height:n}}function uo(e,t,n){const o=B(t),i=j(t),s=n==="fixed",l=se(e,!0,s,t);let c={scrollLeft:0,scrollTop:0};const r=W(0);function u(){r.x=Me(i)}if(o||!o&&!s)if((de(t)!=="body"||be(i))&&(c=De(t)),o){const p=se(t,!0,s,t);r.x=p.x+t.clientLeft,r.y=p.y+t.clientTop}else i&&u();s&&!o&&i&&u();const f=i&&!o&&!s?Ut(i,c):W(0),a=l.left+c.scrollLeft-r.x-f.x,d=l.top+c.scrollTop-r.y-f.y;return{x:a,y:d,width:l.width,height:l.height}}function lt(e){return $(e).position==="static"}function Kt(e,t){if(!B(e)||$(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return j(e)===n&&(n=n.ownerDocument.body),n}function Gt(e,t){const n=_(e);if($e(e))return n;if(!B(e)){let i=Z(e);for(;i&&!he(i);){if(F(i)&&!lt(i))return i;i=Z(i)}return n}let o=Kt(e,t);for(;o&&Zn(o)&&lt(o);)o=Kt(o,t);return o&&he(o)&&lt(o)&&!nt(o)?n:o||eo(e)||n}const ho=async function(e){const t=this.getOffsetParent||Gt,n=this.getDimensions,o=await n(e.floating);return{reference:uo(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function po(e){return $(e).direction==="rtl"}const rt={convertOffsetParentRelativeRectToViewportRelativeRect:oo,getDocumentElement:j,getClippingRect:ao,getOffsetParent:Gt,getElementRects:ho,getClientRects:io,getDimensions:fo,getScale:pe,isElement:F,isRTL:po};function Zt(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function mo(e,t){let n=null,o;const i=j(e);function s(){var c;clearTimeout(o),(c=n)==null||c.disconnect(),n=null}function l(c,r){c===void 0&&(c=!1),r===void 0&&(r=1),s();const u=e.getBoundingClientRect(),{left:f,top:a,width:d,height:p}=u;if(c||t(),!d||!p)return;const h=ke(a),v=ke(i.clientWidth-(f+d)),w=ke(i.clientHeight-(a+p)),m=ke(f),y={rootMargin:-h+"px "+-v+"px "+-w+"px "+-m+"px",threshold:k(0,K(1,r))||1};let E=!0;function b(x){const S=x[0].intersectionRatio;if(S!==r){if(!E)return l();S?l(!1,S):o=setTimeout(()=>{l(!1,1e-7)},1e3)}S===1&&!Zt(u,e.getBoundingClientRect())&&l(),E=!1}try{n=new IntersectionObserver(b,{...y,root:i.ownerDocument})}catch{n=new IntersectionObserver(b,y)}n.observe(e)}return l(!0),s}function go(e,t,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:r=!1}=o,u=st(e),f=i||s?[...u?Ee(u):[],...t?Ee(t):[]]:[];f.forEach(m=>{i&&m.addEventListener("scroll",n,{passive:!0}),s&&m.addEventListener("resize",n)});const a=u&&c?mo(u,n):null;let d=-1,p=null;l&&(p=new ResizeObserver(m=>{let[g]=m;g&&g.target===u&&p&&t&&(p.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var y;(y=p)==null||y.observe(t)})),n()}),u&&!r&&p.observe(u),t&&p.observe(t));let h,v=r?se(e):null;r&&w();function w(){const m=se(e);v&&!Zt(v,m)&&n(),v=m,h=requestAnimationFrame(w)}return n(),()=>{var m;f.forEach(g=>{i&&g.removeEventListener("scroll",n),s&&g.removeEventListener("resize",n)}),a?.(),(m=p)==null||m.disconnect(),p=null,r&&cancelAnimationFrame(h)}}const yo=Xn,vo=Kn,wo=Un,Jt=Gn,bo=Bn,Eo=(e,t,n)=>{const o=new Map,i={platform:rt,...n},s={...i.platform,_c:o};return zn(e,t,{...i,platform:s})};function Qt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}const xo=/transform|translate|scale|rotate|perspective|filter/,So=/paint|layout|strict|content/,le=e=>!!e&&e!=="none";let ct;function Oo(e){const t=(n=e,typeof window<"u"&&(n instanceof Element||n instanceof Qt(n).Element)?Qt(o=e).getComputedStyle(o):e);var n,o;return le(t.transform)||le(t.translate)||le(t.scale)||le(t.rotate)||le(t.perspective)||(ct==null&&(ct=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),!ct&&(le(t.backdropFilter)||le(t.filter)))||xo.test(t.willChange||"")||So.test(t.contain||"")}function Ao(e){return(function(t){for(let n=t;n;n=at(n))if(n instanceof Element&&getComputedStyle(n).display==="none")return null;for(let n=at(t);n;n=at(n)){if(!(n instanceof Element))continue;const o=getComputedStyle(n);if(o.display!=="contents"&&(o.position!=="static"||Oo(o)||n.tagName==="BODY"))return n}return null})(e)}function at(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}var xe;(function(e){e.TOOLTIP="tooltip",e.POPOVER="popover",e.FLYOUT_PANEL="flyout-panel"})(xe||(xe={}));let No=(U=class{constructor(t,n){this.el=t,this.config=n,this.offset=10,this.timeDelayBeforeFadingOut=50,this.popoverMainAxisEnabled=!0,this.currentPlacement=n.placement,this.cleanup=null}getRootElement(){return this.el.shadowRoot??this.el}initialize(){this.timeBeforeElementShows=this.config.showWithoutDelay?50:500,this.timeOfAnimation=this.config.showWithoutDelay?50:250;const t=this.getRootElement();this.floatingElement=t.querySelector(this.config.floatingElementSelector),this.floatingElement&&this.applyViewportMaxWidth(),this.arrowEl=this.config.showArrow!==!1&&this.config.arrowElementSelector?t.querySelector(this.config.arrowElementSelector):null,this.anchorElement=this.config.htmlFor?.length>0?document.getElementById(this.config.htmlFor):this.config.getAnchorElement?this.config.getAnchorElement(t):this.el.shadowRoot?this.config.getAnchorElementFromSlot(this.el.shadowRoot):null,this.anchorElement?this.setupPositioning():console.warn("Could not determine the element associated with this floating element."+(this.config.htmlFor?.length>0?`Element with id=${this.config.htmlFor} could not be found on the DOM.`:""))}getAnchorElement(){return this.anchorElement}updateConfig(t){this.config={...this.config,...t},"showWithoutDelay"in t&&(this.timeBeforeElementShows=this.config.showWithoutDelay?50:500,this.timeOfAnimation=this.config.showWithoutDelay?50:250),this.forceUpdate()}getConfig(){return this.config}getCurrentPlacement(){return this.currentPlacement||this.config.placement}reposition(){this.forceUpdate()}forceUpdate(){this.anchorElement&&this.floatingElement&&this.updatePosition()}setupPositioning(){this.anchorElement&&this.updatePosition()}setupAutoUpdate(){!this.cleanup&&this.anchorElement&&(this.cleanup=go(this.anchorElement,this.floatingElement,(()=>{this.updatePosition()}),{ancestorScroll:!0,ancestorResize:!1,elementResize:!0,layoutShift:!0,animationFrame:!1}))}cleanupAutoUpdate(){this.cleanup&&(this.cleanup(),this.cleanup=null)}updatePosition(){if(!this.anchorElement)return;const t=this.config.offset??this.offset,n=[yo(t)],o=this.config.lockToMainAxis??!1,i=this.config.constrainPlacements,s=i&&i.length>0?i.includes(this.config.placement)?this.config.placement:i[0]:this.config.placement,l=wo(i&&i.length>0?{mainAxis:!0,crossAxis:!1,padding:t,fallbackPlacements:i.filter((u=>u!==s)),fallbackAxisSideDirection:"none"}:{mainAxis:!0,crossAxis:!o&&"alignment",fallbackAxisSideDirection:"end",padding:t}),c=this.config.elementType===xe.POPOVER,r=vo({padding:t,mainAxis:this.config.constrainToViewportHeight||this.config.elementType===xe.TOOLTIP||c&&this.popoverMainAxisEnabled,crossAxis:!1});this.config.matchReferenceWidth&&n.push(Jt({apply({elements:u,rects:f}){Object.assign(u.floating.style,{width:`${f.reference.width}px`})}})),s?.includes("-")?n.push(l,r):n.push(r,l),this.config.constrainToViewportHeight&&n.push(Jt({padding:t,apply:({availableHeight:u,elements:f})=>{const a=Array.from(f.floating.children).find((d=>d!==this.arrowEl));a instanceof HTMLElement&&Object.assign(a.style,{maxHeight:`${Math.max(0,u)}px`,overflowY:"auto",overflowX:"hidden"})}})),this.config.showArrow!==!1&&this.arrowEl&&n.push(bo({element:this.arrowEl,padding:t})),Eo(this.anchorElement,this.floatingElement,{placement:s,strategy:"fixed",middleware:n,platform:{...rt,getOffsetParent:u=>rt.getOffsetParent(u,Ao)}}).then((({x:u,y:f,middlewareData:a,placement:d})=>{if(c){const w=d.startsWith("left")||d.startsWith("right"),m=d.startsWith("top")||d.startsWith("bottom"),g=this.isAnchorInViewport(),y=!!m||(w?g:this.popoverMainAxisEnabled);if(y!==this.popoverMainAxisEnabled)return this.popoverMainAxisEnabled=y,void this.updatePosition()}this.currentPlacement=d,Object.assign(this.floatingElement.style,{left:`${u}px`,top:`${f}px`,position:"fixed",transition:`opacity ${this.timeOfAnimation}ms ease`});const p=d.split("-")[0]??"bottom",h={top:"bottom",right:"left",bottom:"top",left:"right"}[p],{arrowZIndex:v}=this.normalizeFloatingElementStacking();if(a.arrow&&this.arrowEl){const w=this.arrowEl.offsetWidth,{x:m,y:g}=a.arrow;this.arrowEl.style.borderRadius=`${["left","right"].includes(p)?"0 ":""}var(--gidsFloatingElement-tip-border-radius, 2px)${["top","bottom"].includes(p)?" 0":""}`,Object.assign(this.arrowEl.style,{left:m!==null?`${m}px`:"",top:g!==null?`${g}px`:"",right:"",bottom:"",[h]:-w/2+"px",transform:"rotate(45deg)",zIndex:`${v}`,background:"var(--gidsFloatingElement-background)"})}}))}applyViewportMaxWidth(){const t=`calc(100vw - ${2*this.offset}px)`;this.floatingElement&&this.floatingElement?.style.maxWidth!==t&&(this.floatingElement.style.maxWidth=t)}normalizeFloatingElementStacking(){const t=this.floatingElement.style.zIndex||(window.getComputedStyle?.(this.floatingElement).zIndex??""),n=Number.parseInt(t,10),o=Number.isNaN(n)?-1:n-1,i=Number.isNaN(n)?o+1:n;return Number.isNaN(i)||(this.floatingElement.style.zIndex=`${i}`),Array.from(this.floatingElement.children).forEach((s=>{if(!(s instanceof HTMLElement)||s===this.arrowEl)return;const l=s.style.zIndex||(window.getComputedStyle?.(s).zIndex??""),c=Number.parseInt(l,10),r=window.getComputedStyle?.(s).position??"";(l===""||l==="auto"||Number.isNaN(c)||c<i)&&(s.style.zIndex=`${i}`,r!==""&&r!=="static"||(s.style.position="relative"))})),{contentZIndex:i,arrowZIndex:o}}hideFloatingElement(){this.floatingElement.classList.remove(this.config.visibilityClass),U.currentFloatingElements.delete(this.config.elementType)}showFloatingElement(){const t=U.currentFloatingElements.get(this.config.elementType);t&&t.hideFloatingElement(),this.floatingElement.classList.add(this.config.visibilityClass),U.currentFloatingElements.set(this.config.elementType,this)}isVisible(){return this.floatingElement.classList.contains(this.config.visibilityClass)}show(){this.setupAutoUpdate(),this.showFloatingElement()}hide(){this.cleanupAutoUpdate(),this.hideFloatingElement()}toggle(){this.isVisible()?this.hide():this.show()}showAfterDelay(){clearTimeout(this.hoverOutTimeout),this.hoverTimeout=setTimeout((()=>{this.show()}),this.timeBeforeElementShows)}hideAfterDelay(){clearTimeout(this.hoverTimeout),this.hoverOutTimeout=setTimeout((()=>{this.hide()}),this.timeDelayBeforeFadingOut)}cancelDelayedActions(){clearTimeout(this.hoverTimeout),clearTimeout(this.hoverOutTimeout)}destroy(){this.cleanupAutoUpdate(),this.cancelDelayedActions()}isAnchorInViewport(){if(!(this.anchorElement&&this.anchorElement instanceof Element))return!1;const t=this.anchorElement.getBoundingClientRect(),n=window.innerHeight||document.documentElement?.clientHeight||0,o=window.innerWidth||document.documentElement?.clientWidth||0,i=t.height/2+2*this.offset;return t.bottom>=i&&t.top<=n-i&&t.right>=0&&t.left<=o}},U.currentFloatingElements=new Map,U);const en=Rn(class extends dt{constructor(e){super(),e!==!1&&this.__registerHost(),this.__attachShadow(),this.placement="bottom",this.previouslyFocusedElement=null,this.focusableElements=[],this.handleToggleEvent=t=>{t.stopPropagation();const n=this.floatingElementManager.isVisible();this.floatingElementManager.toggle(),!n&&this.floatingElementManager.isVisible()?this.onPopoverShow():n&&!this.floatingElementManager.isVisible()&&this.onPopoverHide()},this.handleDocumentClick=t=>{this.floatingElementManager.isVisible()&&!this._el.contains(t.target)&&(this.floatingElementManager.hide(),this.onPopoverHide())},this.handleKeyDown=t=>{if(this.floatingElementManager.isVisible())return t.key==="Escape"?(t.preventDefault(),this.floatingElementManager.hide(),void this.onPopoverHide()):void(t.key==="Tab"&&this.trapFocus(t))}}componentDidLoad(){this.floatingElementManager=new No(this._el,{htmlFor:this.htmlFor,placement:this.placement,showWithoutDelay:!0,floatingElementSelector:"#popover",arrowElementSelector:"#arrow",visibilityClass:"gids-popover--visible",elementType:xe.POPOVER,getAnchorElementFromSlot:e=>e.querySelector('slot[name="anchor"]')?.assignedElements()[0]||null}),this.floatingElementManager.initialize(),this.setupEventListeners()}setupEventListeners(){const e=this.floatingElementManager.getAnchorElement();e&&(e.addEventListener("click",this.handleToggleEvent),document.addEventListener("click",this.handleDocumentClick),document.addEventListener("keydown",this.handleKeyDown))}onPopoverShow(){this.previouslyFocusedElement=document.activeElement,this.updateFocusableElements(),setTimeout((()=>{this.focusableElements.length>0&&this.focusableElements[0]&&this.focusableElements[0].focus()}),50)}onPopoverHide(){this.previouslyFocusedElement&&(this.previouslyFocusedElement.focus(),this.previouslyFocusedElement=null)}updateFocusableElements(){const e=this._el.shadowRoot?.querySelector("#popover");if(!e)return;const t=[],n=nn(e);t.push(...n);const o=this._el.shadowRoot?.querySelector("slot:not([name])");o&&o.assignedElements({flatten:!0}).forEach((i=>{const s=nn(i);t.push(...s)})),this.focusableElements=t.sort(((i,s)=>{const l=i.compareDocumentPosition(s),c=!!(l&Node.DOCUMENT_POSITION_FOLLOWING),r=!!(l&Node.DOCUMENT_POSITION_PRECEDING);return c?-1:r?1:0}))}trapFocus(e){if(this.focusableElements.length===0)return;const t=this.focusableElements[0],n=this.focusableElements[this.focusableElements.length-1];let o=document.activeElement;if(o===this._el){const s=this._el.shadowRoot?.activeElement;s!==null&&(o=s)}const i=this.focusableElements.indexOf(o)!==-1;e.shiftKey?o!==t&&i||(e.preventDefault(),n&&n.focus()):o!==n&&i||(e.preventDefault(),t&&t.focus())}placementChanged(e){this.floatingElementManager?.updateConfig({placement:e}),this.floatingElementManager?.isVisible()&&this.floatingElementManager?.reposition()}htmlForChanged(e){this.floatingElementManager?.updateConfig({htmlFor:e}),this.cleanupEventListeners(),this.floatingElementManager?.initialize(),this.setupEventListeners()}cleanupEventListeners(){const e=this.floatingElementManager?.getAnchorElement();e&&e.removeEventListener("click",this.handleToggleEvent),document.removeEventListener("click",this.handleDocumentClick),document.removeEventListener("keydown",this.handleKeyDown)}render(){return X(Pn,{key:"3554da5077c5559833eff3e75b879747d5b2e8d9"},X("slot",{key:"a2ff6891af63297a0851a73073d71ff07a43b588",name:"anchor"}),X("div",{key:"2026889b3345cad4e0c9e7f3322e9202989911f5",id:"popover",part:"popover",role:"dialog","aria-modal":"true",tabindex:"-1"},X("span",{key:"5d4a3d2627badbc918b5d1ce165ff9713192255d",id:"arrow"}),X("div",{key:"e7f2c5681fbfe9aa83f45c6c6007384dac051210"},X("slot",{key:"3a7392b090bb697361bc26ee6f3f8d8dbbcd2de5"}))))}disconnectedCallback(){this.cleanupEventListeners(),this.floatingElementManager?.destroy()}get _el(){return this}static get watchers(){return{placement:[{placementChanged:0}],htmlFor:[{htmlForChanged:0}]}}static get style(){return"gids-popover{--gidsPopover-background:var(--gids-elevation-surface-overlay-default);--gidsPopover-text-color:var(--gids-color-text-default);--gidsPopover-padding:var(--gids-padding-vertical-edge-to-element-200) var(--gids-padding-horizontal-edge-to-element-300);--gidsPopover-border-radius:var(--gids-border-radius-lg);--gidsPopover-tip-border-radius:2px;--gidsPopover-tip-size:12px;--gidsPopover-shadow:var(--gids-elevation-shadow-overlay);--gidsFloatingElement-background:var(--gidsPopover-background);--gidsFloatingElement-tip-border-radius:var(--gidsPopover-tip-border-radius)}[part=popover]{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);position:absolute;display:inline-block;background-color:var(--gidsPopover-background);color:var(--gidsPopover-text-color);border-radius:var(--gidsPopover-border-radius);box-shadow:var(--gidsPopover-shadow);z-index:1000;opacity:0;pointer-events:none;outline:none}[part=popover]:focus{outline:none}[part=popover].gids-popover--visible{pointer-events:initial;opacity:1}[part=popover] span#arrow{position:absolute;height:var(--gidsPopover-tip-size);width:var(--gidsPopover-tip-size);background-color:var(--gidsPopover-background)}"}},[257,"gids-popover",{htmlFor:[513,"for"],placement:[513]},void 0,{placement:[{placementChanged:0}],htmlFor:[{htmlForChanged:0}]}]),tn=e=>{if(!(e instanceof dt)||e.tabIndex===-1||e.hasAttribute("disabled"))return!1;const t=getComputedStyle(e);if(t.display==="none"||t.visibility==="hidden"||e.hidden)return!1;try{const n=e.tabIndex;e.tabIndex=-1,e.focus();const o=document.activeElement===e;return e.tabIndex=n,o&&e.blur(),o}catch{return!1}},nn=e=>{const t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:i=>tn(i)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}),n=[];tn(e)&&n.push(e);let o=t.nextNode();for(;o!==null;)n.push(o),o=t.nextNode();return n};function on(){typeof customElements<"u"&&["gids-popover"].forEach((e=>{e==="gids-popover"&&(customElements.get(e)||customElements.define(e,en))}))}on();const Co=en,Ro=on;te.GidsPopover=Co,te.defineCustomElement=Ro,Object.defineProperty(te,Symbol.toStringTag,{value:"Module"})}));