@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(M,R){typeof exports=="object"&&typeof module<"u"?R(exports):typeof define=="function"&&define.amd?define(["exports"],R):(M=typeof globalThis<"u"?globalThis:M||self,R(M.gidsCoreWebGidsField={}))})(this,(function(M){"use strict";function R(e,t,o){const s=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==s;){const n=Object.getOwnPropertyDescriptor(e,t);if(n&&(!o||n.get))return n;e=Object.getPrototypeOf(e)}}var H,et=(e,t)=>{var o;Object.entries((o=t.o.t)!=null?o:{}).map((([s,[n]])=>{if(31&n||32&n){const i=e[s],r=R(Object.getPrototypeOf(e),s,!0)||Object.getOwnPropertyDescriptor(e,s);r&&Object.defineProperty(e,s,{get(){return r.get.call(this)},set(a){r.set.call(this,a)},configurable:!0,enumerable:!0}),t.l.has(s)?e[s]=t.l.get(s):i!==void 0&&(e[s]=i)}}))},O=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},_e=(e,t)=>t in e,P=(e,t)=>(0,console.error)(e,t),z=new Map,ve="http://www.w3.org/1999/xlink",tt=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],b=typeof window<"u"?window:{},st=b.HTMLElement||class{},C={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,o,s)=>e.addEventListener(t,o,s),rel:(e,t,o,s)=>e.removeEventListener(t,o,s),ce:(e,t)=>new CustomEvent(e,t)},ot=(()=>{var e;let t=!1;try{(e=b.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),Q=(()=>{try{return!!b.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),X=!!Q&&!!b.document&&Object.getOwnPropertyDescriptor(b.document.adoptedStyleSheets,"length").writable,ee=!1,ye=[],Se=[],nt=(e,t)=>o=>{e.push(o),ee||(ee=!0,4&C.i?se(te):C.raf(te))},be=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(o){P(o)}e.length=0},te=()=>{be(ye),be(Se),(ee=ye.length>0)&&C.raf(te)},se=e=>Promise.resolve(void 0).then(e),it=nt(Se);function lt(){const e=this.attachShadow({mode:"open"});H===void 0&&(H=null),H&&(X?e.adoptedStyleSheets.push(H):e.adoptedStyleSheets=[...e.adoptedStyleSheets,H])}var xe=e=>{const t=ne(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&oe(t,e.tagName).forEach((s=>{s.nodeType===1&&s.tagName==="SLOT-FB"&&(s.hidden=!!rt(s,G(s),!1).length)}));let o=0;for(o=0;o<t.length;o++){const s=t[o];s.nodeType===1&&ne(s,"childNodes").length&&xe(s)}};function oe(e,t,o){let s,n=0,i=[];for(;n<e.length;n++){if(s=e[n],s["s-sr"]&&(!t||s["s-hn"]===t)&&(o===void 0||G(s)===o)&&(i.push(s),o!==void 0))return i;i=[...i,...oe(s.childNodes,t,o)]}return i}var rt=(e,t,o=!0)=>{const s=[];(o&&e["s-sr"]||!e["s-sr"])&&s.push(e);let n=e;for(;n=n.nextSibling;)G(n)!==t||!o&&n["s-sr"]||s.push(n);return s},we=(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 ne(e,t){if("__"+t in e){const o=e["__"+t];return typeof o!="function"?o:o.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var ie,V,j=new WeakMap,Ce=e=>"sc-"+e.p,le=e=>(e=typeof e)=="object"||e==="function",E=(e,t,...o)=>{let s=null,n=null,i=null,r=!1,a=!1;const l=[],c=d=>{for(let u=0;u<d.length;u++)s=d[u],Array.isArray(s)?c(s):s!=null&&typeof s!="boolean"&&((r=typeof e!="function"&&!le(s))&&(s=String(s)),r&&a?l[l.length-1].h+=s:l.push(r?q(null,s):s),a=r)};if(c(o),t){t.key&&(n=t.key),t.name&&(i=t.name);{const d=t.className||t.class;d&&(t.class=typeof d!="object"?d:Object.keys(d).filter((u=>d[u])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,l,at);const h=q(e,null);return h.v=t,l.length>0&&(h.m=l),h.$=n,h.j=i,h},q=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),Ee={},at={forEach:(e,t)=>e.map(Ne).forEach(t),map:(e,t)=>e.map(Ne).map(t).map(dt)},Ne=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),dt=e=>{if(typeof e.vtag=="function"){const o={...e.vattrs};return e.vkey&&(o.key=e.vkey),e.vname&&(o.name=e.vname),E(e.vtag,o,...e.vchildren||[])}const t=q(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},Te=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let o=!1;for(const n of t){if(o)break;for(const i of e[n])if(typeof i=="string"){o=!0;break}}if(!o)return e;const s={};for(const n of t)s[n]=e[n].map((i=>typeof i=="string"?{[i]:0}:i));return s},Le=(e,t,o)=>e==null||le(e)?e:4&t?(o&&typeof e=="string"||e!=="false")&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,ct=(e,t,o)=>{const s=C.ce(t,o);return e.dispatchEvent(s),s},$e=(e,t,o,s,n,i)=>{if(o===s)return;let r=_e(e,t),a=t.toLowerCase();if(t==="class"){const l=e.classList,c=ke(o);let h=ke(s);l.remove(...c.filter((d=>d&&!h.includes(d)))),l.add(...h.filter((d=>d&&!c.includes(d))))}else if(t==="style"){for(const l in o)s&&s[l]!=null||(l.includes("-")?e.style.removeProperty(l):e.style[l]="");for(const l in s)o&&s[l]===o[l]||(l.includes("-")?e.style.setProperty(l,s[l]):e.style[l]=s[l])}else if(t!=="key"){if(t==="ref")s&&ft(s,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const l=t.slice(5);let c;{const h=O(e);if(h&&h.o&&h.o.t){const d=h.o.t[l];d&&d[1]&&(c=d[1])}}return c||(c=l.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(s==null||s===!1?s===!1&&e.getAttribute(c)!==""||e.removeAttribute(c):e.setAttribute(c,s===!0?"":s))}if(t[0]==="p"&&t.startsWith("prop:")){const l=t.slice(5);try{e[l]=s}catch{}return}{const l=le(s);if((r||l&&s!==null)&&!n)try{if(e.tagName.includes("-"))e[t]!==s&&(e[t]=s);else{const h=s??"";t==="list"?r=!1:o!=null&&e[t]===h||(typeof e.__lookupSetter__(t)=="function"?e[t]=h:e.setAttribute(t,h))}}catch{}let c=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,c=!0),s==null||s===!1?s===!1&&e.getAttribute(t)!==""||(c?e.removeAttributeNS(ve,t):e.removeAttribute(t)):(!r||4&i||n)&&!l&&e.nodeType===1&&(s=s===!0?"":s,c?e.setAttributeNS(ve,t,s):e.setAttribute(t,s))}}else if(t=t[2]==="-"?t.slice(3):_e(b,a)?a.slice(2):a[2]+t.slice(3),o||s){const l=t.endsWith(Oe);t=t.replace(ut,""),o&&C.rel(e,t,o,l),s&&C.ael(e,t,s,l)}}},ht=/\s/,ke=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(ht):[]),Oe="Capture",ut=new RegExp(Oe+"$"),re=(e,t,o)=>{const s=t.S.nodeType===11&&t.S.host?t.S.host:t.S,n=e&&e.v||{},i=t.v||{};for(const r of Ae(Object.keys(n)))r in i||$e(s,r,n[r],void 0,o,t.i);for(const r of Ae(Object.keys(i)))$e(s,r,n[r],i[r],o,t.i)};function Ae(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var D=!1,U=!1,K=!1,N=!1,ae=[],de=[],Y=(e,t,o)=>{var s;const n=t.m[o];let i,r,a,l=0;if(D||(K=!0,n.O==="slot"&&(n.i|=n.m?2:1)),n.h!=null)i=n.S=b.document.createTextNode(n.h);else if(1&n.i)i=n.S=b.document.createTextNode(""),re(null,n,N);else{if(N||(N=n.O==="svg"),!b.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(i=n.S=b.document.createElementNS(N?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!D&&2&n.i?"slot-fb":n.O),N&&n.O==="foreignObject"&&(N=!1),re(null,n,N),n.m){const c=n.O==="template"?i.content:i;for(l=0;l<n.m.length;++l)r=Y(e,n,l),r&&c.appendChild(r)}n.O==="svg"?N=!1:i.tagName==="foreignObject"&&(N=!0)}return i["s-hn"]=V,3&n.i&&(i["s-sr"]=!0,i["s-cr"]=ie,i["s-sn"]=n.j||"",i["s-rf"]=(s=n.v)==null?void 0:s.ref,(function(c){if(c.assignedElements||c.assignedNodes||!c["s-sr"])return;const h=d=>(function(u){const p=[],f=this["s-sn"];u?.flatten&&console.error(`
1
+ (function(A,V){typeof exports=="object"&&typeof module<"u"?V(exports):typeof define=="function"&&define.amd?define(["exports"],V):(A=typeof globalThis<"u"?globalThis:A||self,V(A.gidsCoreWebGidsField={}))})(this,(function(A){"use strict";function V(e,t,s){const o=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==o;){const r=Object.getOwnPropertyDescriptor(e,t);if(r&&(!s||r.get))return r;e=Object.getPrototypeOf(e)}}var I,et=(e,t)=>{var s;Object.entries((s=t.o.t)!=null?s:{}).map((([o,[r]])=>{if(31&r||32&r){const i=e[o],a=V(Object.getPrototypeOf(e),o,!0)||Object.getOwnPropertyDescriptor(e,o);a&&Object.defineProperty(e,o,{get(){return a.get.call(this)},set(n){a.set.call(this,n)},configurable:!0,enumerable:!0}),t.l.has(o)?e[o]=t.l.get(o):i!==void 0&&(e[o]=i)}}))},O=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},be=(e,t)=>t in e,M=(e,t)=>(0,console.error)(e,t),B=new Map,we="http://www.w3.org/1999/xlink",tt=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],_=typeof window<"u"?window:{},ot=_.HTMLElement||class{},x={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,o)=>e.addEventListener(t,s,o),rel:(e,t,s,o)=>e.removeEventListener(t,s,o),ce:(e,t)=>new CustomEvent(e,t)},st=(()=>{var e;let t=!1;try{(e=_.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),Q=(()=>{try{return!!_.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),X=!!Q&&!!_.document&&Object.getOwnPropertyDescriptor(_.document.adoptedStyleSheets,"length").writable,ee=!1,ye=[],ve=[],rt=(e,t)=>s=>{e.push(s),ee||(ee=!0,4&x.i?oe(te):x.raf(te))},_e=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){M(s)}e.length=0},te=()=>{_e(ye),_e(ve),(ee=ye.length>0)&&x.raf(te)},oe=e=>Promise.resolve(void 0).then(e),it=rt(ve);function lt(){const e=this.attachShadow({mode:"open"});I===void 0&&(I=null),I&&(X?e.adoptedStyleSheets.push(I):e.adoptedStyleSheets=[...e.adoptedStyleSheets,I])}var ke=e=>{const t=re(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&se(t,e.tagName).forEach((o=>{o.nodeType===1&&o.tagName==="SLOT-FB"&&(o.hidden=!!at(o,F(o),!1).length)}));let s=0;for(s=0;s<t.length;s++){const o=t[s];o.nodeType===1&&re(o,"childNodes").length&&ke(o)}};function se(e,t,s){let o,r=0,i=[];for(;r<e.length;r++){if(o=e[r],o["s-sr"]&&(!t||o["s-hn"]===t)&&(s===void 0||F(o)===s)&&(i.push(o),s!==void 0))return i;i=[...i,...se(o.childNodes,t,s)]}return i}var at=(e,t,s=!0)=>{const o=[];(s&&e["s-sr"]||!e["s-sr"])&&o.push(e);let r=e;for(;r=r.nextSibling;)F(r)!==t||!s&&r["s-sr"]||o.push(r);return o},Se=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",F=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function re(e,t){if("__"+t in e){const s=e["__"+t];return typeof s!="function"?s:s.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var ie,P,q=new WeakMap,xe=e=>"sc-"+e.p,le=e=>(e=typeof e)=="object"||e==="function",C=(e,t,...s)=>{let o=null,r=null,i=null,a=!1,n=!1;const l=[],d=c=>{for(let u=0;u<c.length;u++)o=c[u],Array.isArray(o)?d(o):o!=null&&typeof o!="boolean"&&((a=typeof e!="function"&&!le(o))&&(o=String(o)),a&&n?l[l.length-1].h+=o:l.push(a?W(null,o):o),n=a)};if(d(s),t){t.key&&(r=t.key),t.name&&(i=t.name);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter((u=>c[u])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,l,nt);const h=W(e,null);return h.v=t,l.length>0&&(h.m=l),h.$=r,h.j=i,h},W=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),Ce={},nt={forEach:(e,t)=>e.map(Ee).forEach(t),map:(e,t)=>e.map(Ee).map(t).map(ct)},Ee=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),ct=e=>{if(typeof e.vtag=="function"){const s={...e.vattrs};return e.vkey&&(s.key=e.vkey),e.vname&&(s.name=e.vname),C(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},Ne=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let s=!1;for(const r of t){if(s)break;for(const i of e[r])if(typeof i=="string"){s=!0;break}}if(!s)return e;const o={};for(const r of t)o[r]=e[r].map((i=>typeof i=="string"?{[i]:0}:i));return o},Te=(e,t,s)=>e==null||le(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,dt=(e,t,s)=>{const o=x.ce(t,s);return e.dispatchEvent(o),o},Le=(e,t,s,o,r,i)=>{if(s===o)return;let a=be(e,t),n=t.toLowerCase();if(t==="class"){const l=e.classList,d=$e(s);let h=$e(o);l.remove(...d.filter((c=>c&&!h.includes(c)))),l.add(...h.filter((c=>c&&!d.includes(c))))}else if(t==="style"){for(const l in s)o&&o[l]!=null||(l.includes("-")?e.style.removeProperty(l):e.style[l]="");for(const l in o)s&&o[l]===s[l]||(l.includes("-")?e.style.setProperty(l,o[l]):e.style[l]=o[l])}else if(t!=="key"){if(t==="ref")o&&pt(o,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const l=t.slice(5);let d;{const h=O(e);if(h&&h.o&&h.o.t){const c=h.o.t[l];c&&c[1]&&(d=c[1])}}return d||(d=l.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(o==null||o===!1?o===!1&&e.getAttribute(d)!==""||e.removeAttribute(d):e.setAttribute(d,o===!0?"":o))}if(t[0]==="p"&&t.startsWith("prop:")){const l=t.slice(5);try{e[l]=o}catch{}return}{const l=le(o);if((a||l&&o!==null)&&!r)try{if(e.tagName.includes("-"))e[t]!==o&&(e[t]=o);else{const h=o??"";t==="list"?a=!1:s!=null&&e[t]===h||(typeof e.__lookupSetter__(t)=="function"?e[t]=h:e.setAttribute(t,h))}}catch{}let d=!1;n!==(n=n.replace(/^xlink\:?/,""))&&(t=n,d=!0),o==null||o===!1?o===!1&&e.getAttribute(t)!==""||(d?e.removeAttributeNS(we,t):e.removeAttribute(t)):(!a||4&i||r)&&!l&&e.nodeType===1&&(o=o===!0?"":o,d?e.setAttributeNS(we,t,o):e.setAttribute(t,o))}}else if(t=t[2]==="-"?t.slice(3):be(_,n)?n.slice(2):n[2]+t.slice(3),s||o){const l=t.endsWith(Oe);t=t.replace(ut,""),s&&x.rel(e,t,s,l),o&&x.ael(e,t,o,l)}}},ht=/\s/,$e=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(ht):[]),Oe="Capture",ut=new RegExp(Oe+"$"),ae=(e,t,s)=>{const o=t.S.nodeType===11&&t.S.host?t.S.host:t.S,r=e&&e.v||{},i=t.v||{};for(const a of je(Object.keys(r)))a in i||Le(o,a,r[a],void 0,s,t.i);for(const a of je(Object.keys(i)))Le(o,a,r[a],i[a],s,t.i)};function je(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var H=!1,U=!1,K=!1,E=!1,ne=[],ce=[],Y=(e,t,s)=>{var o;const r=t.m[s];let i,a,n,l=0;if(H||(K=!0,r.O==="slot"&&(r.i|=r.m?2:1)),r.h!=null)i=r.S=_.document.createTextNode(r.h);else if(1&r.i)i=r.S=_.document.createTextNode(""),ae(null,r,E);else{if(E||(E=r.O==="svg"),!_.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(i=r.S=_.document.createElementNS(E?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!H&&2&r.i?"slot-fb":r.O),E&&r.O==="foreignObject"&&(E=!1),ae(null,r,E),r.m){const d=r.O==="template"?i.content:i;for(l=0;l<r.m.length;++l)a=Y(e,r,l),a&&d.appendChild(a)}r.O==="svg"?E=!1:i.tagName==="foreignObject"&&(E=!0)}return i["s-hn"]=P,3&r.i&&(i["s-sr"]=!0,i["s-cr"]=ie,i["s-sn"]=r.j||"",i["s-rf"]=(o=r.v)==null?void 0:o.ref,(function(d){if(d.assignedElements||d.assignedNodes||!d["s-sr"])return;const h=c=>(function(u){const g=[],p=this["s-sn"];u?.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:(y=>{const _=[];for(let m=0;m<y.length;m++){const g=y[m]["s-nr"]||void 0;g&&g.isConnected&&_.push(g)}return _})(S.childNodes)).forEach((y=>{f===G(y)&&p.push(y)})),d?p.filter((y=>y.nodeType===1)):p}).bind(c);c.assignedElements=h(!0),c.assignedNodes=h(!1)})(i),a=e&&e.m&&e.m[o],a&&a.O===n.O&&e.S&&je(e.S)),i},je=e=>{C.i|=1;const t=e.closest(V.toLowerCase());if(t!=null){const o=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const n of o?s.reverse():s)n["s-sh"]!=null&&($(t,n,o??null),n["s-sh"]=void 0,K=!0)}C.i&=-2},Z=(e,t)=>{C.i|=1;const o=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let s=e;for(;s=s.nextSibling;)s&&s["s-sn"]===e["s-sn"]&&s["s-sh"]===V&&o.push(s)}for(let s=o.length-1;s>=0;s--){const n=o[s];n["s-hn"]!==V&&n["s-ol"]&&($(B(n).parentNode,n,B(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,K=!0),t&&Z(n,t)}C.i&=-2},Me=(e,t,o,s,n,i)=>{let r,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===V&&(a=a.shadowRoot),o.O==="template"&&(a=a.content);n<=i;++n)s[n]&&(r=Y(null,o,n),r&&(s[n].S=r,$(a,r,B(t))))},Pe=(e,t,o)=>{for(let s=t;s<=o;++s){const n=e[s];if(n){const i=n.S;Re(n),i&&(U=!0,i["s-ol"]?i["s-ol"].remove():Z(i,!0),i.remove())}}},J=(e,t,o=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:o?(o&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),B=e=>e&&e["s-ol"]||e,I=(e,t,o=!1)=>{const s=t.S=e.S,n=e.m,i=t.m,r=t.O,a=t.h;let l;a==null?(N=r==="svg"||r!=="foreignObject"&&N,r!=="slot"||D||e.j!==t.j&&(t.S["s-sn"]=t.j||"",je(t.S.parentElement)),re(e,t,N),n!==null&&i!==null?((c,h,d,u,p=!1)=>{let f,S,y=0,_=0,m=0,g=0,w=h.length-1,v=h[0],x=h[w],T=u.length-1,L=u[0],k=u[T];const Xe=d.O==="template"?c.content:c;for(;y<=w&&_<=T;)if(v==null)v=h[++y];else if(x==null)x=h[--w];else if(L==null)L=u[++_];else if(k==null)k=u[--T];else if(J(v,L,p))I(v,L,p),v=h[++y],L=u[++_];else if(J(x,k,p))I(x,k,p),x=h[--w],k=u[--T];else if(J(v,k,p))v.O!=="slot"&&k.O!=="slot"||Z(v.S.parentNode,!1),I(v,k,p),$(Xe,v.S,x.S.nextSibling),v=h[++y],k=u[--T];else if(J(x,L,p))v.O!=="slot"&&k.O!=="slot"||Z(x.S.parentNode,!1),I(x,L,p),$(Xe,x.S,v.S),x=h[--w],L=u[++_];else{for(m=-1,g=y;g<=w;++g)if(h[g]&&h[g].$!==null&&h[g].$===L.$){m=g;break}m>=0?(S=h[m],S.O!==L.O?f=Y(h&&h[_],d,m):(I(S,L,p),h[m]=void 0,f=S.S),L=u[++_]):(f=Y(h&&h[_],d,_),L=u[++_]),f&&$(B(v.S).parentNode,f,B(v.S))}y>w?Me(c,u[T+1]==null?null:u[T+1].S,d,u,_,T):_>T&&Pe(h,y,w)})(s,n,t,i,o):i!==null?(e.h!==null&&(s.textContent=""),Me(s,null,t,i,0,i.length-1)):!o&&n!==null&&Pe(n,0,n.length-1),N&&r==="svg"&&(N=!1)):(l=s["s-cr"])?l.parentNode.textContent=a:e.h!==a&&(s.data=a)},A=[],Ve=e=>{let t,o,s;const n=e.__childNodes||e.childNodes;for(const i of n){if(i["s-sr"]&&(t=i["s-cr"])&&t.parentNode){o=t.parentNode.__childNodes||t.parentNode.childNodes;const r=i["s-sn"];for(s=o.length-1;s>=0;s--)if(t=o[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===i["s-hn"]||t["s-sh"]&&t["s-sh"]===i["s-hn"]))if(we(t,r)){let a=A.find((l=>l.k===t));U=!0,t["s-sn"]=t["s-sn"]||r,a?(a.k["s-sh"]=i["s-hn"],a.N=i):(t["s-sh"]=i["s-hn"],A.push({N:i,k:t})),t["s-sr"]&&A.map((l=>{we(l.k,t["s-sn"])&&(a=A.find((c=>c.k===t)),a&&!l.N&&(l.N=a.N))}))}else A.some((a=>a.k===t))||A.push({k:t})}i.nodeType===1&&Ve(i)}},Re=e=>{e.v&&e.v.ref&&ae.push((()=>e.v.ref(null))),e.m&&e.m.map(Re)},ft=(e,t)=>{de.push((()=>e(t)))},$=(e,t,o,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,o);const{slotNode:n}=(function(i,r){var a;if(!(r=r||((a=i["s-ol"])==null?void 0:a.parentElement)))return{slotNode:null,slotName:""};const l=i["s-sn"]=G(i)||"";return{slotNode:oe(ne(r,"childNodes"),r.tagName,l)[0],slotName:l}})(t);return n&&!s&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,o):e?.insertBefore(t,o)},pt=(e,t,o=!1)=>{var s,n,i,r,a;const l=e.$hostElement$,c=e.o,h=e.M||q(null,null);var d;const u=(d=t)&&d.O===Ee?t:E(null,null,t);if(V=l.tagName,c.C&&(u.v=u.v||{},c.C.forEach((([p,f])=>{u.v[f]=l[p]}))),o&&u.v)for(const p of Object.keys(u.v))l.hasAttribute(p)&&!["key","ref","style","class"].includes(p)&&(u.v[p]=l[p]);if(u.O=null,u.i|=4,e.M=u,u.S=h.S=l.shadowRoot||l,D=!(!(1&c.i)||128&c.i),ie=l["s-cr"],U=!1,I(h,u,o),C.i|=1,K){Ve(u.S);for(const p of A){const f=p.k;if(!f["s-ol"]&&b.document){const S=b.document.createTextNode("");S["s-nr"]=f,$(f.parentNode,f["s-ol"]=S,f,o)}}for(const p of A){const f=p.k,S=p.N;if(f.nodeType===1&&o&&(f["s-ih"]=(s=f.hidden)!=null&&s),S){const y=S.parentNode;let _=S.nextSibling;if(_&&_.nodeType===1){let m=(n=f["s-ol"])==null?void 0:n.previousSibling;for(;m;){let g=(i=m["s-nr"])!=null?i:null;if(g&&g["s-sn"]===f["s-sn"]&&y===(g.__parentNode||g.parentNode)){for(g=g.nextSibling;g===f||g?.["s-sr"];)g=g?.nextSibling;if(!g||!g["s-nr"]){_=g;break}}m=m.previousSibling}}if((!_&&y!==(f.__parentNode||f.parentNode)||(f.__nextSibling||f.nextSibling)!==_)&&f!==_){if($(y,f,_,o),f.nodeType===8&&f.nodeValue.startsWith("s-nt-")){const m=b.document.createTextNode(f.nodeValue.replace(/^s-nt-/,""));m["s-hn"]=f["s-hn"],m["s-sn"]=f["s-sn"],m["s-sh"]=f["s-sh"],m["s-sr"]=f["s-sr"],m["s-ol"]=f["s-ol"],m["s-ol"]["s-nr"]=m,$(f.parentNode,m,f,o),f.parentNode.removeChild(f)}f.nodeType===1&&f.tagName!=="SLOT-FB"&&(f.hidden=(r=f["s-ih"])!=null&&r)}f&&typeof S["s-rf"]=="function"&&S["s-rf"](S)}else f.nodeType===1&&(f.hidden=!0)}}if(U&&xe(u.S),C.i&=-2,A.length=0,!D&&!(1&c.i)&&l["s-cr"]){const p=u.S.__childNodes||u.S.childNodes;for(const f of p)if(f["s-hn"]!==V&&!f["s-sh"]){if(o&&f["s-ih"]==null&&(f["s-ih"]=(a=f.hidden)!=null&&a),f.nodeType===1)f.hidden=!0;else if(f.nodeType===3&&f.nodeValue.trim()){const S=b.document.createComment("s-nt-"+f.nodeValue);S["s-sn"]=f["s-sn"],$(f.parentNode,S,f,o),f.parentNode.removeChild(f)}}}ie=void 0,ae.forEach((p=>p())),ae.length=0,de.forEach((p=>p())),de.length=0},Ie=(e,t)=>{if(t&&!e.A&&t["s-p"]){const o=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(o-1,1),s()})))}},ce=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Ie(e,e.R);const o=()=>gt(e,t);if(!t)return it(o);queueMicrotask((()=>{o()}))},gt=(e,t)=>{const o=e.$hostElement$,s=o;if(!s)throw new Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let n;return n=W(s,t?"componentWillLoad":"componentWillUpdate",void 0,o),n=Fe(n,(()=>W(s,"componentWillRender",void 0,o))),Fe(n,(()=>_t(e,s,t)))},Fe=(e,t)=>mt(e)?e.then(t).catch((o=>{console.error(o),t()})):t(),mt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",_t=async(e,t,o)=>{var s;const n=e.$hostElement$,i=n["s-rc"];o&&(r=>{const a=r.o,l=r.$hostElement$,c=a.i,h=((d,u)=>{var p,f,S;const y=Ce(u),_=z.get(y);if(!b.document)return y;if(d=d.nodeType===11?d:b.document,_)if(typeof _=="string"){let m,g=j.get(d=d.head||d);if(g||j.set(d,g=new Set),!g.has(y)){m=b.document.createElement("style"),m.textContent=_;const w=(p=C._)!=null?p:(function(){var v,x,T;return(T=(x=(v=b.document.head)==null?void 0:v.querySelector('meta[name="csp-nonce"]'))==null?void 0:x.getAttribute("content"))!=null?T:void 0})();if(w!=null&&m.setAttribute("nonce",w),!(1&u.i))if(d.nodeName==="HEAD"){const v=d.querySelectorAll("link[rel=preconnect]"),x=v.length>0?v[v.length-1].nextSibling:d.querySelector("style");d.insertBefore(m,x?.parentNode===d?x:null)}else if("host"in d)if(Q){const v=new((f=d.defaultView)!=null?f:d.ownerDocument.defaultView).CSSStyleSheet;v.replaceSync(_),X?d.adoptedStyleSheets.unshift(v):d.adoptedStyleSheets=[v,...d.adoptedStyleSheets]}else{const v=d.querySelector("style");v?v.textContent=_+v.textContent:d.prepend(m)}else d.append(m);1&u.i&&d.insertBefore(m,null),4&u.i&&(m.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),g&&g.add(y)}}else{let m=j.get(d);if(m||j.set(d,m=new Set),!m.has(y)){const g=(S=d.defaultView)!=null?S:d.ownerDocument.defaultView;let w;if(_.constructor===g.CSSStyleSheet)w=_;else{w=new g.CSSStyleSheet;for(let v=0;v<_.cssRules.length;v++)w.insertRule(_.cssRules[v].cssText,v)}X?d.adoptedStyleSheets.push(w):d.adoptedStyleSheets=[...d.adoptedStyleSheets,w],m.add(y)}}return y})(l.shadowRoot?l.shadowRoot:l.getRootNode(),a);10&c&&(l["s-sc"]=h,l.classList.add(h+"-h"))})(e),vt(e,t,n,o),i&&(i.map((r=>r())),n["s-rc"]=void 0);{const r=(s=n["s-p"])!=null?s:[],a=()=>yt(e);r.length===0?a():(Promise.all(r).then(a).catch(a),e.i|=4,r.length=0)}},vt=(e,t,o,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,pt(e,t,s)}catch(n){P(n,e.$hostElement$)}return null},yt=e=>{const t=e.$hostElement$,o=t,s=e.R;W(o,"componentDidRender",void 0,t),64&e.i?W(o,"componentDidUpdate",void 0,t):(e.i|=64,bt(t),W(o,"componentDidLoad",void 0,t),e.L(t),s||St()),e.A&&(e.A(),e.A=void 0),512&e.i&&se((()=>ce(e,!1))),e.i&=-517},St=()=>{se((()=>ct(b,"appload",{detail:{namespace:"gids-core-web"}})))},W=(e,t,o,s)=>{if(e&&e[t])try{return e[t](o)}catch(n){P(n,s)}},bt=e=>e.classList.add("hydrated"),He=(e,t,o,s)=>{const n=O(e);if(!n)return;const i=e,r=n.l.get(t),a=n.i,l=i;o=Le(o,s.t[t][0],!!(64&s.i));const c=Number.isNaN(r)&&Number.isNaN(o);if(o!==r&&!c){if(n.l.set(t,o),s.F){const h=s.F[t];h&&h.map((d=>{try{const[[u,p]]=Object.entries(d);(128&a||1&p)&&(l?l[u](o,r,t):n.T.push((()=>{n.D[u](o,r,t)})))}catch(u){P(u,i)}}))}if(2&a){if(l.componentShouldUpdate&&l.componentShouldUpdate(o,r,t)===!1&&!(16&a))return;16&a||ce(n,!1)}}},xt=(e,t,o)=>{var s,n;const i=e.prototype;64&t.i&&1&o&&tt.forEach((r=>{const a=i[r];Object.defineProperty(i,r,{value(...l){var c;const h=O(this),d=this;d?typeof a=="function"&&a.call(d,...l):(c=h?.H)==null||c.then((u=>{const p=u[r];typeof p=="function"&&p.call(u,...l)}))}})}));{e.watchers&&!t.F&&(t.F=Te(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const r=Object.entries((s=t.t)!=null?s:{});r.map((([a,[l]])=>{if(31&l||32&l){const{get:c,set:h}=R(i,a)||{};c&&(t.t[a][0]|=2048),h&&(t.t[a][0]|=4096),Object.defineProperty(i,a,{get(){return c?c.apply(this):(d=a,O(this).l.get(d));var d},configurable:!0,enumerable:!0}),Object.defineProperty(i,a,{set(d){const u=O(this);if(u){if(h)return(32&l?this[a]:u.$hostElement$[a])===void 0&&u.l.get(a)&&(d=u.l.get(a)),h.apply(this,[Le(d,l,!!(64&t.i))]),void He(this,a,d=32&l?this[a]:u.$hostElement$[a],t);He(this,a,d,t)}}})}}));{const a=new Map;i.attributeChangedCallback=function(l,c,h){C.jmp((()=>{var d;const u=a.get(l),p=O(this);if(this.hasOwnProperty(u),i.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==h)return;if(u==null){const m=p?.i;if(p&&m&&!(8&m)&&h!==c){const g=this,w=(d=t.F)==null?void 0:d[l];w?.forEach((v=>{const[[x,T]]=Object.entries(v);g[x]!=null&&(128&m||1&T)&&g[x].call(g,h,c,l)}))}return}const f=r.find((([m])=>m===u)),S=f&&4&f[1][0],y=S&&h===null&&this[u]===void 0;S&&(h=h!==null&&h!=="false");const _=Object.getOwnPropertyDescriptor(i,u);y||h==this[u]||_.get&&!_.set||(this[u]=h)}))},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.F)!=null?n:{}),...r.filter((([l,c])=>31&c[0])).map((([l,c])=>{var h;const d=c[1]||l;return a.set(d,l),512&c[0]&&((h=t.C)==null||h.push([l,d])),d}))]))}}return e},wt=(e,t)=>{const o={i:t[0],p:t[1]};try{o.t=t[2],o.W=t[3],o.F=Te(e.F),o.P=e.P,o.U=e.U,o.C=[];const s=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((i,r)=>{const a={i:0,$hostElement$:i,o:r,l:new Map,B:new Map};a.H=new Promise((c=>a.L=c)),i["s-p"]=[],i["s-rc"]=[];const l=a;i.__stencil__getHostRef=()=>l,512&r.i&&et(i,a)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const i=O(this);if(!i)return;Ge(this,i,o.W),this.__hasHostListenerAttached=!0}(i=>{if(!(1&C.i)){const r=O(i);if(!r)return;const a=r.o;if(1&r.i)Ge(i,r,a.W),r?.D||r?.H&&r.H.then((()=>{}));else{r.i|=1,12&a.i&&(l=>{if(!b.document)return;const c=l["s-cr"]=b.document.createComment("");c["s-cn"]=!0,$(l,c,l.firstChild)})(i);{let l=i;for(;l=l.parentNode||l.host;)if(l["s-p"]){Ie(r,r.R=l);break}}a.t&&Object.entries(a.t).map((([l,[c]])=>{if(31&c&&Object.prototype.hasOwnProperty.call(i,l)){const h=i[l];delete i[l],i[l]=h}})),(async(l,c,h)=>{let d;try{if(!(32&c.i)&&(c.i|=32,d=l.constructor,customElements.whenDefined(l.localName).then((()=>c.i|=128)),d&&d.style)){let f;typeof d.style=="string"&&(f=d.style);const S=Ce(h);z.has(S)||((y,_,m)=>{let g=z.get(y);Q&&m?(g=g||new CSSStyleSheet,typeof g=="string"?g=_:g.replaceSync(_)):g=_,z.set(y,g)})(S,f,!!(1&h.i))}const u=c.R,p=()=>ce(c,!0);u&&u["s-rc"]?u["s-rc"].push(p):p()}catch(u){P(u,l),c.A&&(c.A(),c.A=void 0),c.L&&c.L(l)}})(i,r,a)}}})(this),s&&s.call(this)},disconnectedCallback(){(async i=>{if(!(1&C.i)){const r=O(i);r?.V&&(r.V.map((a=>a())),r.V=void 0)}j.has(i)&&j.delete(i),i.shadowRoot&&j.has(i.shadowRoot)&&j.delete(i.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${o.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else lt.call(this,o)}}),Object.defineProperty(e,"is",{value:o.p,configurable:!0}),xt(e,o,3)}catch(s){return P(s),e}},Ge=(e,t,o)=>{o&&b.document&&o.map((([s,n,i])=>{const r=Et(b.document,e,s),a=Ct(t,i),l=Nt(s);C.ael(r,n,a,l),(t.V=t.V||[]).push((()=>C.rel(r,n,a,l)))}))},Ct=(e,t)=>o=>{try{e.$hostElement$[t](o)}catch(s){P(s,e.$hostElement$)}},Et=(e,t,o)=>8&o?b:t,Nt=e=>ot?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function Bt(e){return e}function De(e){var t,o,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(o=De(e[t]))&&(s&&(s+=" "),s+=o)}else for(o in e)e[o]&&(s&&(s+=" "),s+=o);return s}function Be(){for(var e,t,o=0,s="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=De(e))&&(s&&(s+=" "),s+=t);return s}const Tt=Object.freeze(Object.defineProperty({__proto__:null,getGidsFieldClassNames:e=>Be("gids-field",e)},Symbol.toStringTag,{value:"Module"})),Lt=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>Be("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"})),he=Symbol("defaultPath"),We=Symbol("pathSet"),ue="gids-asset-paths-set";class $t extends EventTarget{#s=new Map;constructor(){super()}#e(t,o){this.#s.set(t,o)}#t(t){return this.#s.get(t)??null}#o=()=>{this.dispatchEvent(new Event(ue))};haveAssetPathsBeenSet(){return this.#t(We)!==null}setAssetPaths(t,o){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(he,t);else{for(const s in t)this.#e(s,t[s]);o&&this.#e(he,o)}this.#e(We,"true"),setTimeout(this.#o,0)}}getAssetFilePath(t){const o=this.#t(t);if(o===null){const s=this.#t(he);if(s!==null)return`${s}${s.endsWith("/")?"":"/"}${t}`}return o}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(ue,t,{once:!0}),()=>{this.removeEventListener(ue,t)}}}const fe=Symbol.for("GIDS"),kt=()=>(globalThis[fe]===void 0&&(globalThis[fe]={assetPaths:{}}),globalThis[fe]),Ot=e=>{const t=kt().assetPaths;return t[e]===void 0&&(t[e]=new $t),t[e]};function pe(){return Ot("@ganpatiinfo/gids-web-shared")}function At(){return pe().haveAssetPathsBeenSet()}function ze(e){return pe().getAssetFilePath(e)}function jt(e){return pe().onAssetPathsSet(e)}let Mt=0;const Pt=(e,t="gids")=>e||`${t}-${Mt++}`,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"]},Ue=new Map;for(const e in qe)for(const t of qe[e])Ue.set(t,e);function Vt(e){return Ue.get(e)}function Ke(e,t="regular",o){const s=Vt(e);let n=s??"";return o&&s&&(n=o(s)??s),`${n}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:Rt}=Lt,It=({name:e,size:t,appearance:o,alt:s,class:n,titleId:i,src:r,...a})=>{const l=Pt(i);let c=r;return c===void 0&&At()&&(c=Ke(e,o,ze)),E("svg",{ref:h=>{c===void 0&&jt((()=>{(function(d,u,p){if(!d)return;const f=document.createElementNS("http://www.w3.org/2000/svg","use");f.setAttribute("href",Ke(u,p,ze)),d.appendChild(f)})(h,e,o)}))},width:"16",height:"16",class:Rt({size:t},n),role:"img","aria-hidden":s===""?"true":void 0,"aria-labelledby":s===""?void 0:l,...a},s!==""&&E("title",{id:l},s||e),c!==void 0?E("use",{href:c}):null)},F=globalThis.CSSStyleSheet!==void 0?new CSSStyleSheet:void 0;let Ye=!1;F&&document.adoptedStyleSheets?document.adoptedStyleSheets.push(F):console.warn("CSSStyleSheet is not defined. Omitting constructed stylesheet behaviour.");let ge=null;const me=globalThis.MutationObserver!==void 0?new MutationObserver((()=>{Ze()})):void 0,Ze=()=>{if(F===void 0)return!1;const e=(()=>{if(F===void 0)return;const t=[];for(let o=0;o<document.styleSheets.length;o++){const s=document.styleSheets.item(o);if(s)try{let n=-1,i=0;for(let r=0;r<s.cssRules.length;r++){const a=s.cssRules.item(r);if(a?.cssText.startsWith("gids-global-styles-start"))n=r;else if(n>-1){if(a?.cssText.startsWith("gids-global-styles-end")){i=r-n+1;break}t.push(a)}}if(n>-1)return{rulesStartIndex:n,originalRulesCount:i,rules:t,styleSheet:s}}catch(n){if(!(n instanceof DOMException))throw n}}})();if(e!==void 0){const t=e.styleSheet.ownerNode;return me!==void 0&&t!==ge&&(ge&&me.disconnect(),t instanceof Element&&me.observe(t,{childList:!0,characterData:!0,subtree:!0}),ge=t),F.replaceSync((o=>o.rules.map((s=>s.cssText)).join(""))(e)),(o=>{const{rulesStartIndex:s,originalRulesCount:n,styleSheet:i}=o;for(let r=0;r<n;r++)i.deleteRule(s)})(e),!0}return console.warn("refreshConstructedGidsStylesheet: Gids stylesheet is not found in document."),!1},Ft=()=>(Ye||(Ye=Ze()),F),{getGidsFieldClassNames:Ht}=Tt,Je=wt(class extends st{constructor(e){super(),e!==!1&&this.__registerHost(),this.__attachShadow(),this.status="implicit",this._hasLabel=!1,this._controlListenerTargets=[],this._controlTouched=!1,this._handleLabelSlotChange=()=>{this._hasLabel=(this._labelSlot?.assignedElements()?.length??0)>0},this._setLabelSlot=t=>{this._labelSlot=t??void 0,this._handleLabelSlotChange()},this._setControlSlot=t=>{this._controlSlot=t??void 0,this._handleControlSlotChange()},this._handleControlSlotChange=()=>{const t=this._controlSlot?.assignedNodes({flatten:!0})??[],o=this._findTextControl(t);this._attachControlElement(o)},this._handleControlValueInput=t=>{if(!this._controlTouched){const o=t.target;o instanceof HTMLInputElement&&(o.type==="checkbox"||o.type==="radio")&&(this._controlTouched=!0)}this._updateControlValidationState()},this._handleControlBlur=()=>{this._controlTouched=!0,this._updateControlValidationState()},this._handleControlInvalid=()=>{this._controlTouched=!0,this._updateControlValidationState()},this._handleFormReset=()=>{this._controlTouched=!1,this._updateControlValidationState()},this._handleFormSubmit=()=>{this._controlTouched=!0,this._updateControlValidationState()}}_handleStatusChange(){this._isImplicitStatus()||this._controlValidationMessage===void 0?this._updateControlValidationState():this._controlValidationMessage=void 0}connectedCallback(){const e=Ft();e!==void 0&&this._el.shadowRoot?.adoptedStyleSheets.push(e)}componentDidLoad(){setTimeout((()=>{this._handleControlSlotChange(),this._handleLabelSlotChange()}))}async reScanControl(){this._handleControlSlotChange()}disconnectedCallback(){this._detachControlElement(),this._detachFormListeners()}render(){const e=this._hasStatusText(),t=this._controlValidationMessage!==void 0?this._controlValidationMessage:this._shouldRenderExplicitStatusText()?this.statusText:void 0,o=this._getCurrentStatus(),s=["gids-field__status-text"];if(e){const n=this._getStatusModifierClass(o,"gids-field__status-text");n!=null&&s.push(n)}return E(Ee,{key:"b296d1365e6b518d7aafb6af439c73a01ee05973"},E("div",{key:"0713bc4c4e6d2d78f41e7383e03a5a2e670f374d",class:Ht()},E("div",{key:"060131205bf2563cc9a73cadc1bfa0aaa2782dc4",class:"gids-field__header",hidden:!this._hasLabelContent()},E("slot",{key:"24d91f471b0d18a286352aeddd1f6f621ee18c96",ref:this._setLabelSlot,name:"label",onSlotchange:this._handleControlSlotChange}),E("div",{key:"82395d9990fbb76ff2036f326a825ded78e74ae8",class:"gids-field__count","aria-live":"polite"},this.count)),E("div",{key:"6240db77a53290a25b0cdba34cdb37615956b9d7",class:"gids-field__control"},E("slot",{key:"975c677a1f88761e3841e4027fdb65e3c711016b",ref:this._setControlSlot,onSlotchange:this._handleControlSlotChange})),E("p",{key:"404f4c44b9b32209ccdcde586bd688693b2d6022",class:"gids-field__supporting-text",hidden:!this._shouldShowHelperText()},this.helperText),e?E("p",{class:s.join(" "),role:"status","aria-live":"polite"},this._renderStatusIcon(o),t!==void 0?E("span",null,t):null):null))}_hasLabelContent(){return this._hasLabel}_hasHelperText(){return this._hasText(this.helperText)}_shouldShowHelperText(){return!!this._hasHelperText()&&!this._hasStatusText()}_hasStatusText(){return this._isImplicitStatus()?this._controlValidationMessage!==void 0:this._shouldRenderExplicitStatusText()}_shouldRenderExplicitStatusText(){return!this._isImplicitStatus()&&this.status!=="default"&&this._hasText(this.statusText)}_renderStatusIcon(e){if(!this._hasStatusText())return;const t=this._getStatusIconName(e);if(t===void 0)return;const o=["gids-field__status-icon"],s=this._getStatusModifierClass(e,"gids-field__status-icon");s!=null&&o.push(s);let n=e;return e==="error"&&(n="danger"),e==="success"&&(n="positive"),E(It,{appearance:"filled",size:"sm",alt:"",name:t,class:o.join(" "),style:{"--gidsIcon-color":`var(--gids-color-icon-${n})`}})}_getCurrentStatus(){return this._isImplicitStatus()&&this._controlValidationMessage!=null?"error":this.status??"implicit"}_getStatusIconName(e){if(e!=="implicit")return e==="success"?"positive":e==="error"?"danger":void 0}_isImplicitStatus(){return this.status==="implicit"||this.status===void 0}_hasText(e){return typeof e=="string"&&e.trim().length>0}_getStatusModifierClass(e,t){if(e!=="implicit")return`${t}--${e}`}_attachControlElement(e){if(this._controlElement===e)return this._updateControlValidationState(),void this._attachFormListeners(e?.form??this._el.closest("form"));if(this._detachControlElement(),this._controlElement=e,this._resetControlValidationState(),this._controlListenerTargets=[],e){const t=this._getControlListenerTargets(e);this._controlListenerTargets=t,t.forEach((o=>{o.addEventListener("input",this._handleControlValueInput),o.addEventListener("change",this._handleControlValueInput),o.addEventListener("blur",this._handleControlBlur,!0),o.addEventListener("invalid",this._handleControlInvalid)})),this._attachFormListeners(e.form??this._el.closest("form"))}this._updateControlValidationState()}_detachControlElement(){this._controlListenerTargets.length>0&&(this._controlListenerTargets?.forEach((e=>{e.removeEventListener("input",this._handleControlValueInput),e.removeEventListener("change",this._handleControlValueInput),e.removeEventListener("blur",this._handleControlBlur,!0),e.removeEventListener("invalid",this._handleControlInvalid)})),this._controlListenerTargets=[]),this._controlElement=null,this._resetControlValidationState(),this._detachFormListeners()}_getControlListenerTargets(e){return e instanceof HTMLInputElement&&e.type==="radio"&&e.name!=null?this._getRadioGroupControls(e):[e]}_getRadioGroupControls(e){const t=e.form;if(t&&e.name!=null){const o=t.elements.namedItem(e.name);if(o instanceof RadioNodeList){const s=Array.from(o).filter((n=>n instanceof HTMLInputElement&&n.type==="radio"&&this._el.contains(n)));if(s.length>0)return s}}if(e.name!=null){const o=`input[type="radio"][name="${CSS.escape(e.name)}"]`,s=Array.from(this._el.querySelectorAll(o));if(s.length>0)return s}return[e]}_attachFormListeners(e){e!==void 0&&(e!==null?e!==this._formElement&&(this._detachFormListeners(),this._formElement=e,this._formElement.addEventListener("reset",this._handleFormReset),this._formElement.addEventListener("submit",this._handleFormSubmit)):this._detachFormListeners())}_detachFormListeners(){this._formElement&&(this._formElement.removeEventListener("reset",this._handleFormReset),this._formElement.removeEventListener("submit",this._handleFormSubmit),this._formElement=null)}_findTextControl(e){for(const t of e){if(t.nodeType!==Node.ELEMENT_NODE)continue;const o=t,s=this._asTextControl(o);if(s!==null)return s;const n=o.querySelector("input, textarea");if(n instanceof HTMLInputElement||n instanceof HTMLTextAreaElement)return n}return null}_asTextControl(e){return e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement?e:null}_resetControlValidationState(){this._controlTouched=!1,this._controlValidationMessage!==void 0&&(this._controlValidationMessage=void 0)}_updateControlValidationState(){if(!this._isImplicitStatus())return void(this._controlValidationMessage!==void 0&&(this._controlValidationMessage=void 0));const e=this._controlElement;if(!e||e.disabled)return void(this._controlValidationMessage!==void 0&&(this._controlValidationMessage=void 0));const t=e.validationMessage?.trim()??"";this._controlTouched&&e.matches(":user-invalid")&&t.length>0?this._controlValidationMessage!==t&&(this._controlValidationMessage=t):this._controlValidationMessage!==void 0&&(this._controlValidationMessage=void 0)}get _el(){return this}static get watchers(){return{status:[{_handleStatusChange:0}]}}static get style(){return".gids-field{display:flex;flex-direction:column;gap:var(--gids-gap-075)}.gids-field__header{display:flex;gap:var(--gids-gap-100);align-items:flex-start}.gids-field__header[hidden]{display:none}.gids-field__count{margin-left:auto;color:var(--gids-color-text-subtle);text-align:right;white-space:nowrap;font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit)}:host([disabled]) .gids-field__count{color:var(--gids-color-text-disabled)}.gids-field__control{display:flex;flex-direction:column;gap:var(--gids-gap-050)}.gids-field__supporting-text,.gids-field__status-text{margin:0;padding-top:var(--gids-padding-vertical-edge-to-element-050);font-family:var(--gids-typography-paragraph-x-small__font-family);font-size:var(--gids-typography-paragraph-x-small__font-size);font-weight:var(--gids-typography-paragraph-x-small__font-weight);letter-spacing:var(--gids-typography-paragraph-x-small__letter-spacing);line-height:var(--gids-typography-paragraph-x-small__line-height);text-transform:var(--gids-typography-paragraph-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-paragraph-x-small__font-variant-caps, inherit)}.gids-field__supporting-text{color:var(--gids-color-text-subtlest)}.gids-field__status-text{display:flex;align-items:flex-start;gap:var(--gids-gap-050)}.gids-field__status-text .gids-field__status-icon{margin-top:max(0px, -1 * (var(--gids-size-160) - var(--gids-typograpy-paragraph-x-small__line-height) * var(--gids-typograpy-paragraph-x-small__font-size)) / 2)}.gids-field__status-text>span{margin-top:max(0px, (var(--gids-size-160) - var(--gids-typograpy-paragraph-x-small__line-height) * var(--gids-typograpy-paragraph-x-small__font-size)) / 2)}.gids-field__status-icon{flex-shrink:0}.gids-field__status-text--information{color:var(--gids-color-text-information);--gids-field-status-icon-color:$icon-color}.gids-field__status-icon--information{--gidsIcon-color:$icon-color}.gids-field__status-text--success{color:var(--gids-color-text-positive);--gids-field-status-icon-color:$icon-color}.gids-field__status-icon--success{--gidsIcon-color:$icon-color}.gids-field__status-text--warning{color:var(--gids-color-text-warning);--gids-field-status-icon-color:$icon-color}.gids-field__status-icon--warning{--gidsIcon-color:$icon-color}.gids-field__status-text--error{color:var(--gids-color-text-danger);--gids-field-status-icon-color:$icon-color}.gids-field__status-icon--error{--gidsIcon-color:$icon-color}"}},[257,"gids-field",{disabled:[516],count:[513],helperText:[513,"helper-text"],statusText:[513,"status-text"],status:[513],_controlValidationMessage:[32],_hasLabel:[32],reScanControl:[64]},void 0,{status:[{_handleStatusChange:0}]}]);function Qe(){typeof customElements<"u"&&["gids-field"].forEach((e=>{e==="gids-field"&&(customElements.get(e)||customElements.define(e,Je))}))}Qe();const Gt=Je,Dt=Qe;M.GidsField=Gt,M.defineCustomElement=Dt,Object.defineProperty(M,Symbol.toStringTag,{value:"Module"})}));
5
+ `);const v=this["s-cr"].parentElement;return(v.__childNodes?v.childNodes:(y=>{const b=[];for(let m=0;m<y.length;m++){const f=y[m]["s-nr"]||void 0;f&&f.isConnected&&b.push(f)}return b})(v.childNodes)).forEach((y=>{p===F(y)&&g.push(y)})),c?g.filter((y=>y.nodeType===1)):g}).bind(d);d.assignedElements=h(!0),d.assignedNodes=h(!1)})(i),n=e&&e.m&&e.m[s],n&&n.O===r.O&&e.S&&qe(e.S)),i},qe=e=>{x.i|=1;const t=e.closest(P.toLowerCase());if(t!=null){const s=Array.from(t.__childNodes||t.childNodes).find((r=>r["s-cr"])),o=Array.from(e.__childNodes||e.childNodes);for(const r of s?o.reverse():o)r["s-sh"]!=null&&(L(t,r,s??null),r["s-sh"]=void 0,K=!0)}x.i&=-2},Z=(e,t)=>{x.i|=1;const s=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let o=e;for(;o=o.nextSibling;)o&&o["s-sn"]===e["s-sn"]&&o["s-sh"]===P&&s.push(o)}for(let o=s.length-1;o>=0;o--){const r=s[o];r["s-hn"]!==P&&r["s-ol"]&&(L(G(r).parentNode,r,G(r)),r["s-ol"].remove(),r["s-ol"]=void 0,r["s-sh"]=void 0,K=!0),t&&Z(r,t)}x.i&=-2},Ae=(e,t,s,o,r,i)=>{let a,n=e["s-cr"]&&e["s-cr"].parentNode||e;for(n.shadowRoot&&n.tagName===P&&(n=n.shadowRoot),s.O==="template"&&(n=n.content);r<=i;++r)o[r]&&(a=Y(null,s,r),a&&(o[r].S=a,L(n,a,G(t))))},Me=(e,t,s)=>{for(let o=t;o<=s;++o){const r=e[o];if(r){const i=r.S;Ve(r),i&&(U=!0,i["s-ol"]?i["s-ol"].remove():Z(i,!0),i.remove())}}},J=(e,t,s=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:s?(s&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),G=e=>e&&e["s-ol"]||e,z=(e,t,s=!1)=>{const o=t.S=e.S,r=e.m,i=t.m,a=t.O,n=t.h;let l;n==null?(E=a==="svg"||a!=="foreignObject"&&E,a!=="slot"||H||e.j!==t.j&&(t.S["s-sn"]=t.j||"",qe(t.S.parentElement)),ae(e,t,E),r!==null&&i!==null?((d,h,c,u,g=!1)=>{let p,v,y=0,b=0,m=0,f=0,S=h.length-1,w=h[0],k=h[S],N=u.length-1,T=u[0],$=u[N];const Xe=c.O==="template"?d.content:d;for(;y<=S&&b<=N;)if(w==null)w=h[++y];else if(k==null)k=h[--S];else if(T==null)T=u[++b];else if($==null)$=u[--N];else if(J(w,T,g))z(w,T,g),w=h[++y],T=u[++b];else if(J(k,$,g))z(k,$,g),k=h[--S],$=u[--N];else if(J(w,$,g))w.O!=="slot"&&$.O!=="slot"||Z(w.S.parentNode,!1),z(w,$,g),L(Xe,w.S,k.S.nextSibling),w=h[++y],$=u[--N];else if(J(k,T,g))w.O!=="slot"&&$.O!=="slot"||Z(k.S.parentNode,!1),z(k,T,g),L(Xe,k.S,w.S),k=h[--S],T=u[++b];else{for(m=-1,f=y;f<=S;++f)if(h[f]&&h[f].$!==null&&h[f].$===T.$){m=f;break}m>=0?(v=h[m],v.O!==T.O?p=Y(h&&h[b],c,m):(z(v,T,g),h[m]=void 0,p=v.S),T=u[++b]):(p=Y(h&&h[b],c,b),T=u[++b]),p&&L(G(w.S).parentNode,p,G(w.S))}y>S?Ae(d,u[N+1]==null?null:u[N+1].S,c,u,b,N):b>N&&Me(h,y,S)})(o,r,t,i,s):i!==null?(e.h!==null&&(o.textContent=""),Ae(o,null,t,i,0,i.length-1)):!s&&r!==null&&Me(r,0,r.length-1),E&&a==="svg"&&(E=!1)):(l=o["s-cr"])?l.parentNode.textContent=n:e.h!==n&&(o.data=n)},j=[],Pe=e=>{let t,s,o;const r=e.__childNodes||e.childNodes;for(const i of r){if(i["s-sr"]&&(t=i["s-cr"])&&t.parentNode){s=t.parentNode.__childNodes||t.parentNode.childNodes;const a=i["s-sn"];for(o=s.length-1;o>=0;o--)if(t=s[o],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===i["s-hn"]||t["s-sh"]&&t["s-sh"]===i["s-hn"]))if(Se(t,a)){let n=j.find((l=>l.k===t));U=!0,t["s-sn"]=t["s-sn"]||a,n?(n.k["s-sh"]=i["s-hn"],n.N=i):(t["s-sh"]=i["s-hn"],j.push({N:i,k:t})),t["s-sr"]&&j.map((l=>{Se(l.k,t["s-sn"])&&(n=j.find((d=>d.k===t)),n&&!l.N&&(l.N=n.N))}))}else j.some((n=>n.k===t))||j.push({k:t})}i.nodeType===1&&Pe(i)}},Ve=e=>{e.v&&e.v.ref&&ne.push((()=>e.v.ref(null))),e.m&&e.m.map(Ve)},pt=(e,t)=>{ce.push((()=>e(t)))},L=(e,t,s,o)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,s);const{slotNode:r}=(function(i,a){var n;if(!(a=a||((n=i["s-ol"])==null?void 0:n.parentElement)))return{slotNode:null,slotName:""};const l=i["s-sn"]=F(i)||"";return{slotNode:se(re(a,"childNodes"),a.tagName,l)[0],slotName:l}})(t);return r&&!o&&r.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,s):e?.insertBefore(t,s)},gt=(e,t,s=!1)=>{var o,r,i,a,n;const l=e.$hostElement$,d=e.o,h=e.M||W(null,null);var c;const u=(c=t)&&c.O===Ce?t:C(null,null,t);if(P=l.tagName,d.C&&(u.v=u.v||{},d.C.forEach((([g,p])=>{u.v[p]=l[g]}))),s&&u.v)for(const g of Object.keys(u.v))l.hasAttribute(g)&&!["key","ref","style","class"].includes(g)&&(u.v[g]=l[g]);if(u.O=null,u.i|=4,e.M=u,u.S=h.S=l.shadowRoot||l,H=!(!(1&d.i)||128&d.i),ie=l["s-cr"],U=!1,z(h,u,s),x.i|=1,K){Pe(u.S);for(const g of j){const p=g.k;if(!p["s-ol"]&&_.document){const v=_.document.createTextNode("");v["s-nr"]=p,L(p.parentNode,p["s-ol"]=v,p,s)}}for(const g of j){const p=g.k,v=g.N;if(p.nodeType===1&&s&&(p["s-ih"]=(o=p.hidden)!=null&&o),v){const y=v.parentNode;let b=v.nextSibling;if(b&&b.nodeType===1){let m=(r=p["s-ol"])==null?void 0:r.previousSibling;for(;m;){let f=(i=m["s-nr"])!=null?i:null;if(f&&f["s-sn"]===p["s-sn"]&&y===(f.__parentNode||f.parentNode)){for(f=f.nextSibling;f===p||f?.["s-sr"];)f=f?.nextSibling;if(!f||!f["s-nr"]){b=f;break}}m=m.previousSibling}}if((!b&&y!==(p.__parentNode||p.parentNode)||(p.__nextSibling||p.nextSibling)!==b)&&p!==b){if(L(y,p,b,s),p.nodeType===8&&p.nodeValue.startsWith("s-nt-")){const m=_.document.createTextNode(p.nodeValue.replace(/^s-nt-/,""));m["s-hn"]=p["s-hn"],m["s-sn"]=p["s-sn"],m["s-sh"]=p["s-sh"],m["s-sr"]=p["s-sr"],m["s-ol"]=p["s-ol"],m["s-ol"]["s-nr"]=m,L(p.parentNode,m,p,s),p.parentNode.removeChild(p)}p.nodeType===1&&p.tagName!=="SLOT-FB"&&(p.hidden=(a=p["s-ih"])!=null&&a)}p&&typeof v["s-rf"]=="function"&&v["s-rf"](v)}else p.nodeType===1&&(p.hidden=!0)}}if(U&&ke(u.S),x.i&=-2,j.length=0,!H&&!(1&d.i)&&l["s-cr"]){const g=u.S.__childNodes||u.S.childNodes;for(const p of g)if(p["s-hn"]!==P&&!p["s-sh"]){if(s&&p["s-ih"]==null&&(p["s-ih"]=(n=p.hidden)!=null&&n),p.nodeType===1)p.hidden=!0;else if(p.nodeType===3&&p.nodeValue.trim()){const v=_.document.createComment("s-nt-"+p.nodeValue);v["s-sn"]=p["s-sn"],L(p.parentNode,v,p,s),p.parentNode.removeChild(p)}}}ie=void 0,ne.forEach((g=>g())),ne.length=0,ce.forEach((g=>g())),ce.length=0},ze=(e,t)=>{if(t&&!e.A&&t["s-p"]){const s=t["s-p"].push(new Promise((o=>e.A=()=>{t["s-p"].splice(s-1,1),o()})))}},de=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);ze(e,e.R);const s=()=>ft(e,t);if(!t)return it(s);queueMicrotask((()=>{s()}))},ft=(e,t)=>{const s=e.$hostElement$,o=s;if(!o)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let r;return r=D(o,t?"componentWillLoad":"componentWillUpdate",void 0,s),r=Re(r,(()=>D(o,"componentWillRender",void 0,s))),Re(r,(()=>bt(e,o,t)))},Re=(e,t)=>mt(e)?e.then(t).catch((s=>{console.error(s),t()})):t(),mt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",bt=async(e,t,s)=>{var o;const r=e.$hostElement$,i=r["s-rc"];s&&(a=>{const n=a.o,l=a.$hostElement$,d=n.i,h=((c,u)=>{var g,p,v;const y=xe(u),b=B.get(y);if(!_.document)return y;if(c=c.nodeType===11?c:_.document,b)if(typeof b=="string"){let m,f=q.get(c=c.head||c);if(f||q.set(c,f=new Set),!f.has(y)){m=_.document.createElement("style"),m.textContent=b;const S=(g=x._)!=null?g:(function(){var w,k,N;return(N=(k=(w=_.document.head)==null?void 0:w.querySelector('meta[name="csp-nonce"]'))==null?void 0:k.getAttribute("content"))!=null?N:void 0})();if(S!=null&&m.setAttribute("nonce",S),!(1&u.i))if(c.nodeName==="HEAD"){const w=c.querySelectorAll("link[rel=preconnect]"),k=w.length>0?w[w.length-1].nextSibling:c.querySelector("style");c.insertBefore(m,k?.parentNode===c?k:null)}else if("host"in c)if(Q){const w=new((p=c.defaultView)!=null?p:c.ownerDocument.defaultView).CSSStyleSheet;w.replaceSync(b),X?c.adoptedStyleSheets.unshift(w):c.adoptedStyleSheets=[w,...c.adoptedStyleSheets]}else{const w=c.querySelector("style");w?w.textContent=b+w.textContent:c.prepend(m)}else c.append(m);1&u.i&&c.insertBefore(m,null),4&u.i&&(m.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),f&&f.add(y)}}else{let m=q.get(c);if(m||q.set(c,m=new Set),!m.has(y)){const f=(v=c.defaultView)!=null?v:c.ownerDocument.defaultView;let S;if(b.constructor===f.CSSStyleSheet)S=b;else{S=new f.CSSStyleSheet;for(let w=0;w<b.cssRules.length;w++)S.insertRule(b.cssRules[w].cssText,w)}X?c.adoptedStyleSheets.push(S):c.adoptedStyleSheets=[...c.adoptedStyleSheets,S],m.add(y)}}return y})(l.shadowRoot?l.shadowRoot:l.getRootNode(),n);10&d&&(l["s-sc"]=h,l.classList.add(h+"-h"))})(e),wt(e,t,r,s),i&&(i.map((a=>a())),r["s-rc"]=void 0);{const a=(o=r["s-p"])!=null?o:[],n=()=>yt(e);a.length===0?n():(Promise.all(a).then(n).catch(n),e.i|=4,a.length=0)}},wt=(e,t,s,o)=>{try{t=t.render(),e.i&=-17,e.i|=2,gt(e,t,o)}catch(r){M(r,e.$hostElement$)}return null},yt=e=>{const t=e.$hostElement$,s=t,o=e.R;D(s,"componentDidRender",void 0,t),64&e.i?D(s,"componentDidUpdate",void 0,t):(e.i|=64,_t(t),D(s,"componentDidLoad",void 0,t),e.L(t),o||vt()),e.A&&(e.A(),e.A=void 0),512&e.i&&oe((()=>de(e,!1))),e.i&=-517},vt=()=>{oe((()=>dt(_,"appload",{detail:{namespace:"gids-core-web"}})))},D=(e,t,s,o)=>{if(e&&e[t])try{return e[t](s)}catch(r){M(r,o)}},_t=e=>e.classList.add("hydrated"),Ie=(e,t,s,o)=>{const r=O(e);if(!r)return;const i=e,a=r.l.get(t),n=r.i,l=i;s=Te(s,o.t[t][0],!!(64&o.i));const d=Number.isNaN(a)&&Number.isNaN(s);if(s!==a&&!d){if(r.l.set(t,s),o.F){const h=o.F[t];h&&h.map((c=>{try{const[[u,g]]=Object.entries(c);(128&n||1&g)&&(l?l[u](s,a,t):r.T.push((()=>{r.D[u](s,a,t)})))}catch(u){M(u,i)}}))}if(2&n){if(l.componentShouldUpdate&&l.componentShouldUpdate(s,a,t)===!1&&!(16&n))return;16&n||de(r,!1)}}},kt=(e,t,s)=>{var o,r;const i=e.prototype;64&t.i&&1&s&&tt.forEach((a=>{const n=i[a];Object.defineProperty(i,a,{value(...l){var d;const h=O(this),c=this;c?typeof n=="function"&&n.call(c,...l):(d=h?.H)==null||d.then((u=>{const g=u[a];typeof g=="function"&&g.call(u,...l)}))}})}));{e.watchers&&!t.F&&(t.F=Ne(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const a=Object.entries((o=t.t)!=null?o:{});a.map((([n,[l]])=>{if(31&l||32&l){const{get:d,set:h}=V(i,n)||{};d&&(t.t[n][0]|=2048),h&&(t.t[n][0]|=4096),Object.defineProperty(i,n,{get(){return d?d.apply(this):(c=n,O(this).l.get(c));var c},configurable:!0,enumerable:!0}),Object.defineProperty(i,n,{set(c){const u=O(this);if(u){if(h)return(32&l?this[n]:u.$hostElement$[n])===void 0&&u.l.get(n)&&(c=u.l.get(n)),h.apply(this,[Te(c,l,!!(64&t.i))]),void Ie(this,n,c=32&l?this[n]:u.$hostElement$[n],t);Ie(this,n,c,t)}}})}}));{const n=new Map;i.attributeChangedCallback=function(l,d,h){x.jmp((()=>{var c;const u=n.get(l),g=O(this);if(this.hasOwnProperty(u),i.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==h)return;if(u==null){const m=g?.i;if(g&&m&&!(8&m)&&h!==d){const f=this,S=(c=t.F)==null?void 0:c[l];S?.forEach((w=>{const[[k,N]]=Object.entries(w);f[k]!=null&&(128&m||1&N)&&f[k].call(f,h,d,l)}))}return}const p=a.find((([m])=>m===u)),v=p&&4&p[1][0],y=v&&h===null&&this[u]===void 0;v&&(h=h!==null&&h!=="false");const b=Object.getOwnPropertyDescriptor(i,u);y||h==this[u]||b.get&&!b.set||(this[u]=h)}))},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.F)!=null?r:{}),...a.filter((([l,d])=>31&d[0])).map((([l,d])=>{var h;const c=d[1]||l;return n.set(c,l),512&d[0]&&((h=t.C)==null||h.push([l,c])),c}))]))}}return e},St=(e,t)=>{const s={i:t[0],p:t[1]};try{s.t=t[2],s.W=t[3],s.F=Ne(e.F),s.P=e.P,s.U=e.U,s.C=[];const o=e.prototype.connectedCallback,r=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((i,a)=>{const n={i:0,$hostElement$:i,o:a,l:new Map,B:new Map};n.H=new Promise((d=>n.L=d)),i["s-p"]=[],i["s-rc"]=[];const l=n;i.__stencil__getHostRef=()=>l,512&a.i&&et(i,n)})(this,s)},connectedCallback(){if(!this.__hasHostListenerAttached){const i=O(this);if(!i)return;Fe(this,i,s.W),this.__hasHostListenerAttached=!0}(i=>{if(!(1&x.i)){const a=O(i);if(!a)return;const n=a.o;if(1&a.i)Fe(i,a,n.W),a?.D||a?.H&&a.H.then((()=>{}));else{a.i|=1,12&n.i&&(l=>{if(!_.document)return;const d=l["s-cr"]=_.document.createComment("");d["s-cn"]=!0,L(l,d,l.firstChild)})(i);{let l=i;for(;l=l.parentNode||l.host;)if(l["s-p"]){ze(a,a.R=l);break}}n.t&&Object.entries(n.t).map((([l,[d]])=>{if(31&d&&Object.prototype.hasOwnProperty.call(i,l)){const h=i[l];delete i[l],i[l]=h}})),(async(l,d,h)=>{let c;try{if(!(32&d.i)&&(d.i|=32,c=l.constructor,customElements.whenDefined(l.localName).then((()=>d.i|=128)),c&&c.style)){let p;typeof c.style=="string"&&(p=c.style);const v=xe(h);B.has(v)||((y,b,m)=>{let f=B.get(y);Q&&m?(f=f||new CSSStyleSheet,typeof f=="string"?f=b:f.replaceSync(b)):f=b,B.set(y,f)})(v,p,!!(1&h.i))}const u=d.R,g=()=>de(d,!0);u&&u["s-rc"]?u["s-rc"].push(g):g()}catch(u){M(u,l),d.A&&(d.A(),d.A=void 0),d.L&&d.L(l)}})(i,a,n)}}})(this),o&&o.call(this)},disconnectedCallback(){(async i=>{if(!(1&x.i)){const a=O(i);a?.V&&(a.V.map((n=>n())),a.V=void 0)}q.has(i)&&q.delete(i),i.shadowRoot&&q.has(i.shadowRoot)&&q.delete(i.shadowRoot)})(this),r&&r.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${s.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else lt.call(this,s)}}),Object.defineProperty(e,"is",{value:s.p,configurable:!0}),kt(e,s,3)}catch(o){return M(o),e}},Fe=(e,t,s)=>{s&&_.document&&s.map((([o,r,i])=>{const a=Ct(_.document,e,o),n=xt(t,i),l=Et(o);x.ael(a,r,n,l),(t.V=t.V||[]).push((()=>x.rel(a,r,n,l)))}))},xt=(e,t)=>s=>{try{e.$hostElement$[t](s)}catch(o){M(o,e.$hostElement$)}},Ct=(e,t,s)=>8&s?_:t,Et=e=>st?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function Gt(e){return e}function He(e){var t,s,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(s=He(e[t]))&&(o&&(o+=" "),o+=s)}else for(s in e)e[s]&&(o&&(o+=" "),o+=s);return o}function Ge(){for(var e,t,s=0,o="",r=arguments.length;s<r;s++)(e=arguments[s])&&(t=He(e))&&(o&&(o+=" "),o+=t);return o}const Nt=Object.freeze(Object.defineProperty({__proto__:null,getGidsFieldClassNames:e=>Ge("gids-field",e)},Symbol.toStringTag,{value:"Module"})),Tt=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>Ge("gids-icon",{"gids-icon--xs":e==="xs","gids-icon--sm":e==="sm","gids-icon--md":e==="md","gids-icon--lg":e==="lg"},t)},Symbol.toStringTag,{value:"Module"})),he=Symbol("defaultPath"),De=Symbol("pathSet"),ue="gids-asset-paths-set";class Lt extends EventTarget{#o=new Map;constructor(){super()}#e(t,s){this.#o.set(t,s)}#t(t){return this.#o.get(t)??null}#s=()=>{this.dispatchEvent(new Event(ue))};haveAssetPathsBeenSet(){return this.#t(De)!==null}setAssetPaths(t,s){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(he,t);else{for(const o in t)this.#e(o,t[o]);s&&this.#e(he,s)}this.#e(De,"true"),setTimeout(this.#s,0)}}getAssetFilePath(t){const s=this.#t(t);if(s===null){const o=this.#t(he);if(o!==null)return`${o}${o.endsWith("/")?"":"/"}${t}`}return s}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(ue,t,{once:!0}),()=>{this.removeEventListener(ue,t)}}}const pe=Symbol.for("GIDS"),$t=()=>(globalThis[pe]===void 0&&(globalThis[pe]={assetPaths:{}}),globalThis[pe]),Ot=e=>{const t=$t().assetPaths;return t[e]===void 0&&(t[e]=new Lt),t[e]};function ge(){return Ot("@ganpatiinfo/gids-web-shared")}function jt(){return ge().haveAssetPathsBeenSet()}function Be(e){return ge().getAssetFilePath(e)}function qt(e){return ge().onAssetPathsSet(e)}let At=0;const Mt=(e,t="gids")=>e||`${t}-${At++}`,We={"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"]},Ue=new Map;for(const e in We)for(const t of We[e])Ue.set(t,e);function Pt(e){return Ue.get(e)}function Ke(e,t="regular",s){const o=Pt(e);let r=o??"";return s&&o&&(r=s(o)??o),`${r}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:Vt}=Tt,zt=({name:e,size:t,appearance:s,alt:o,class:r,titleId:i,src:a,...n})=>{const l=Mt(i);let d=a;return d===void 0&&jt()&&(d=Ke(e,s,Be)),C("svg",{ref:h=>{d===void 0&&qt((()=>{(function(c,u,g){if(!c)return;const p=document.createElementNS("http://www.w3.org/2000/svg","use");p.setAttribute("href",Ke(u,g,Be)),c.appendChild(p)})(h,e,s)}))},width:"16",height:"16",class:Vt({size:t},r),role:"img","aria-hidden":o===""?"true":void 0,"aria-labelledby":o===""?void 0:l,...n},o!==""&&C("title",{id:l},o||e),d!==void 0?C("use",{href:d}):null)},R=globalThis.CSSStyleSheet!==void 0?new CSSStyleSheet:void 0;let Ye=!1;R&&document.adoptedStyleSheets?document.adoptedStyleSheets.push(R):console.warn("CSSStyleSheet is not defined. Omitting constructed stylesheet behaviour.");let fe=null;const me=globalThis.MutationObserver!==void 0?new MutationObserver((()=>{Ze()})):void 0,Ze=()=>{if(R===void 0)return!1;const e=(()=>{if(R===void 0)return;const t=[];for(let s=0;s<document.styleSheets.length;s++){const o=document.styleSheets.item(s);if(o)try{let r=-1,i=0;for(let a=0;a<o.cssRules.length;a++){const n=o.cssRules.item(a);if(n?.cssText.startsWith("gids-global-styles-start"))r=a;else if(r>-1){if(n?.cssText.startsWith("gids-global-styles-end")){i=a-r+1;break}t.push(n)}}if(r>-1)return{rulesStartIndex:r,originalRulesCount:i,rules:t,styleSheet:o}}catch(r){if(!(r instanceof DOMException))throw r}}})();if(e!==void 0){const t=e.styleSheet.ownerNode;return me!==void 0&&t!==fe&&(fe&&me.disconnect(),t instanceof Element&&me.observe(t,{childList:!0,characterData:!0,subtree:!0}),fe=t),R.replaceSync((s=>s.rules.map((o=>o.cssText)).join(""))(e)),(s=>{const{rulesStartIndex:o,originalRulesCount:r,styleSheet:i}=s;for(let a=0;a<r;a++)i.deleteRule(o)})(e),!0}return console.warn("refreshConstructedGidsStylesheet: Gids stylesheet is not found in document."),!1},Rt=()=>(Ye||(Ye=Ze()),R),{getGidsFieldClassNames:It}=Nt,Je=St(class extends ot{constructor(e){super(),e!==!1&&this.__registerHost(),this.__attachShadow(),this.status="implicit",this._hasLabel=!1,this._controlListenerTargets=[],this._controlTouched=!1,this._handleLabelSlotChange=()=>{this._hasLabel=(this._labelSlot?.assignedElements()?.length??0)>0},this._setLabelSlot=t=>{this._labelSlot=t??void 0,this._handleLabelSlotChange()},this._setControlSlot=t=>{this._controlSlot=t??void 0,this._handleControlSlotChange()},this._handleControlSlotChange=()=>{const t=this._controlSlot?.assignedNodes({flatten:!0})??[],s=this._findTextControl(t);this._attachControlElement(s)},this._handleControlValueInput=t=>{if(!this._controlTouched){const s=t.target;s instanceof HTMLInputElement&&(s.type==="checkbox"||s.type==="radio")&&(this._controlTouched=!0)}this._updateControlValidationState()},this._handleControlBlur=()=>{this._controlTouched=!0,this._updateControlValidationState()},this._handleControlInvalid=()=>{this._controlTouched=!0,this._updateControlValidationState()},this._handleFormReset=()=>{this._controlTouched=!1,this._updateControlValidationState()},this._handleFormSubmit=()=>{this._controlTouched=!0,this._updateControlValidationState()}}_handleStatusChange(){this._isImplicitStatus()||this._controlValidationMessage===void 0?this._updateControlValidationState():this._controlValidationMessage=void 0}connectedCallback(){const e=Rt();e!==void 0&&this._el.shadowRoot?.adoptedStyleSheets.push(e)}componentDidLoad(){setTimeout((()=>{this._handleControlSlotChange(),this._handleLabelSlotChange()}))}async reScanControl(){this._handleControlSlotChange()}disconnectedCallback(){this._detachControlElement(),this._detachFormListeners()}render(){const e=this._hasStatusText(),t=this._controlValidationMessage!==void 0?this._controlValidationMessage:this._shouldRenderExplicitStatusText()?this.statusText:void 0,s=this._getCurrentStatus(),o=["gids-field__status-text"];if(e){const r=this._getStatusModifierClass(s,"gids-field__status-text");r!=null&&o.push(r)}return C(Ce,{key:"a7eb8d9404ca5e3d4e965d9a5c6496572b0d1240"},C("div",{key:"8578998418e9012e5d2f537dcad0f835e0341829",class:It()},C("div",{key:"f96cbfc7c87b5551c8167a13afe0de5dfc927b44",class:"gids-field__header",hidden:!this._hasLabelContent()},C("slot",{key:"5165b9dc75b397b17e7adad373596c2d9a991879",ref:this._setLabelSlot,name:"label",onSlotchange:this._handleControlSlotChange}),C("div",{key:"21e87c9692e9b5f41770eafe34b49bfaedc58af7",class:"gids-field__count","aria-live":"polite"},this.count)),C("div",{key:"fcf2e25a96163fd0abccf422832af553c81b2360",class:"gids-field__control"},C("slot",{key:"fa40cebb1ad7cb516e69865d416f76a833c18adb",ref:this._setControlSlot,onSlotchange:this._handleControlSlotChange})),C("p",{key:"dea14f1ef4c172050eaeee03f1e934cba3f5b3e8",class:"gids-field__supporting-text",hidden:!this._shouldShowHelperText()},this.helperText),e?C("p",{class:o.join(" "),role:"status","aria-live":"polite"},this._renderStatusIcon(s),t!==void 0?C("span",null,t):null):null))}_hasLabelContent(){return this._hasLabel}_hasHelperText(){return this._hasText(this.helperText)}_shouldShowHelperText(){return!!this._hasHelperText()&&!this._hasStatusText()}_hasStatusText(){return this._isImplicitStatus()?this._controlValidationMessage!==void 0:this._shouldRenderExplicitStatusText()}_shouldRenderExplicitStatusText(){return!this._isImplicitStatus()&&this.status!=="default"&&this._hasText(this.statusText)}_renderStatusIcon(e){if(!this._hasStatusText())return;const t=this._getStatusIconName(e);if(t===void 0)return;const s=["gids-field__status-icon"],o=this._getStatusModifierClass(e,"gids-field__status-icon");o!=null&&s.push(o);let r=e;return e==="error"&&(r="danger"),e==="success"&&(r="positive"),C(zt,{appearance:"filled",size:"sm",alt:"",name:t,class:s.join(" "),style:{"--gidsIcon-color":`var(--gids-color-icon-${r})`}})}_getCurrentStatus(){return this._isImplicitStatus()&&this._controlValidationMessage!=null?"error":this.status??"implicit"}_getStatusIconName(e){if(e!=="implicit")return e==="success"?"positive":e==="error"?"danger":void 0}_isImplicitStatus(){return this.status==="implicit"||this.status===void 0}_hasText(e){return typeof e=="string"&&e.trim().length>0}_getStatusModifierClass(e,t){if(e!=="implicit")return`${t}--${e}`}_attachControlElement(e){if(this._controlElement===e)return this._updateControlValidationState(),void this._attachFormListeners(e?.form??this._el.closest("form"));if(this._detachControlElement(),this._controlElement=e,this._resetControlValidationState(),this._controlListenerTargets=[],e){const t=this._getControlListenerTargets(e);this._controlListenerTargets=t,t.forEach((s=>{s.addEventListener("input",this._handleControlValueInput),s.addEventListener("change",this._handleControlValueInput),s.addEventListener("blur",this._handleControlBlur,!0),s.addEventListener("invalid",this._handleControlInvalid)})),this._attachFormListeners(e.form??this._el.closest("form"))}this._updateControlValidationState()}_detachControlElement(){this._controlListenerTargets.length>0&&(this._controlListenerTargets?.forEach((e=>{e.removeEventListener("input",this._handleControlValueInput),e.removeEventListener("change",this._handleControlValueInput),e.removeEventListener("blur",this._handleControlBlur,!0),e.removeEventListener("invalid",this._handleControlInvalid)})),this._controlListenerTargets=[]),this._controlElement=null,this._resetControlValidationState(),this._detachFormListeners()}_getControlListenerTargets(e){return e instanceof HTMLInputElement&&e.type==="radio"&&e.name!=null?this._getRadioGroupControls(e):[e]}_getRadioGroupControls(e){const t=e.form;if(t&&e.name!=null){const s=t.elements.namedItem(e.name);if(s instanceof RadioNodeList){const o=Array.from(s).filter((r=>r instanceof HTMLInputElement&&r.type==="radio"&&this._el.contains(r)));if(o.length>0)return o}}if(e.name!=null){const s=`input[type="radio"][name="${CSS.escape(e.name)}"]`,o=Array.from(this._el.querySelectorAll(s));if(o.length>0)return o}return[e]}_attachFormListeners(e){e!==void 0&&(e!==null?e!==this._formElement&&(this._detachFormListeners(),this._formElement=e,this._formElement.addEventListener("reset",this._handleFormReset),this._formElement.addEventListener("submit",this._handleFormSubmit)):this._detachFormListeners())}_detachFormListeners(){this._formElement&&(this._formElement.removeEventListener("reset",this._handleFormReset),this._formElement.removeEventListener("submit",this._handleFormSubmit),this._formElement=null)}_findTextControl(e){for(const t of e){if(t.nodeType!==Node.ELEMENT_NODE)continue;const s=t,o=this._asTextControl(s);if(o!==null)return o;const r=s.querySelector("input, textarea");if(r instanceof HTMLInputElement||r instanceof HTMLTextAreaElement)return r}return null}_asTextControl(e){return e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement?e:null}_resetControlValidationState(){this._controlTouched=!1,this._controlValidationMessage!==void 0&&(this._controlValidationMessage=void 0)}_updateControlValidationState(){if(!this._isImplicitStatus())return void(this._controlValidationMessage!==void 0&&(this._controlValidationMessage=void 0));const e=this._controlElement;if(!e||e.disabled)return void(this._controlValidationMessage!==void 0&&(this._controlValidationMessage=void 0));const t=e.validationMessage?.trim()??"";this._controlTouched&&e.matches(":user-invalid")&&t.length>0?this._controlValidationMessage!==t&&(this._controlValidationMessage=t):this._controlValidationMessage!==void 0&&(this._controlValidationMessage=void 0)}get _el(){return this}static get watchers(){return{status:[{_handleStatusChange:0}]}}static get style(){return".gids-field{display:flex;flex-direction:column;gap:var(--gids-gap-075)}.gids-field__header{display:flex;gap:var(--gids-gap-100);align-items:flex-start}.gids-field__header[hidden]{display:none}.gids-field__count{margin-left:auto;color:var(--gids-color-text-subtle);text-align:right;white-space:nowrap;font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit)}:host([disabled]) .gids-field__count{color:var(--gids-color-text-disabled)}.gids-field__control{display:flex;flex-direction:column;gap:var(--gids-gap-050)}.gids-field__supporting-text,.gids-field__status-text{margin:0;padding-top:var(--gids-padding-vertical-edge-to-element-050);font-family:var(--gids-typography-paragraph-x-small__font-family);font-size:var(--gids-typography-paragraph-x-small__font-size);font-weight:var(--gids-typography-paragraph-x-small__font-weight);letter-spacing:var(--gids-typography-paragraph-x-small__letter-spacing);line-height:var(--gids-typography-paragraph-x-small__line-height);text-transform:var(--gids-typography-paragraph-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-paragraph-x-small__font-variant-caps, inherit)}.gids-field__supporting-text{color:var(--gids-color-text-subtlest)}.gids-field__status-text{display:flex;align-items:flex-start;gap:var(--gids-gap-050)}.gids-field__status-text .gids-field__status-icon{margin-top:max(0px, -1 * (var(--gids-size-160) - var(--gids-typograpy-paragraph-x-small__line-height) * var(--gids-typograpy-paragraph-x-small__font-size)) / 2)}.gids-field__status-text>span{margin-top:max(0px, (var(--gids-size-160) - var(--gids-typograpy-paragraph-x-small__line-height) * var(--gids-typograpy-paragraph-x-small__font-size)) / 2)}.gids-field__status-icon{flex-shrink:0}.gids-field__status-text--information{color:var(--gids-color-text-information);--gids-field-status-icon-color:$icon-color}.gids-field__status-icon--information{--gidsIcon-color:$icon-color}.gids-field__status-text--success{color:var(--gids-color-text-positive);--gids-field-status-icon-color:$icon-color}.gids-field__status-icon--success{--gidsIcon-color:$icon-color}.gids-field__status-text--warning{color:var(--gids-color-text-warning);--gids-field-status-icon-color:$icon-color}.gids-field__status-icon--warning{--gidsIcon-color:$icon-color}.gids-field__status-text--error{color:var(--gids-color-text-danger);--gids-field-status-icon-color:$icon-color}.gids-field__status-icon--error{--gidsIcon-color:$icon-color}"}},[257,"gids-field",{disabled:[516],count:[513],helperText:[513,"helper-text"],statusText:[513,"status-text"],status:[513],_controlValidationMessage:[32],_hasLabel:[32],reScanControl:[64]},void 0,{status:[{_handleStatusChange:0}]}]);function Qe(){typeof customElements<"u"&&["gids-field"].forEach((e=>{e==="gids-field"&&(customElements.get(e)||customElements.define(e,Je))}))}Qe();const Ft=Je,Ht=Qe;A.GidsField=Ft,A.defineCustomElement=Ht,Object.defineProperty(A,Symbol.toStringTag,{value:"Module"})}));