@ganpatiinfo/gids-core-web 22.0.0 → 24.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 (273) hide show
  1. package/dist/css/index.css +111 -64
  2. package/dist/css/index.css.map +1 -1
  3. package/dist/gids-action-bar.js +1 -1
  4. package/dist/gids-activity-gauge.js +1 -1
  5. package/dist/gids-advanced-tooltip.js +1 -1
  6. package/dist/gids-bar-chart.js +1 -1
  7. package/dist/gids-bento-card.js +1 -1
  8. package/dist/gids-calendar-header-panel.js +1 -1
  9. package/dist/gids-calendar-month-list.js +1 -1
  10. package/dist/gids-calendar-picker.d.ts +11 -0
  11. package/dist/gids-calendar-picker.js +1 -0
  12. package/dist/gids-calendar-year-list.js +1 -1
  13. package/dist/gids-calendar.js +1 -1
  14. package/dist/gids-chart-legend-item.js +1 -1
  15. package/dist/gids-chart-legend.js +1 -1
  16. package/dist/gids-chart.js +1 -1
  17. package/dist/gids-chevron-button.js +1 -1
  18. package/dist/gids-date-picker-field.d.ts +11 -0
  19. package/dist/gids-date-picker-field.js +1 -0
  20. package/dist/gids-date-picker.d.ts +11 -0
  21. package/dist/gids-date-picker.js +1 -0
  22. package/dist/gids-day-dropdown-picker.d.ts +11 -0
  23. package/dist/gids-day-dropdown-picker.js +1 -0
  24. package/dist/gids-dot.js +1 -1
  25. package/dist/gids-dropdown-field.js +1 -1
  26. package/dist/gids-dropdown-picker.js +1 -1
  27. package/dist/gids-dropdown.js +1 -1
  28. package/dist/gids-expansion-body-list-item.js +1 -1
  29. package/dist/gids-expansion-body-list.js +1 -1
  30. package/dist/gids-expansion-group.js +1 -1
  31. package/dist/gids-expansion.js +1 -1
  32. package/dist/gids-field.js +1 -1
  33. package/dist/gids-filter.js +1 -1
  34. package/dist/gids-flyout-panel.js +1 -1
  35. package/dist/gids-form.js +1 -1
  36. package/dist/gids-header-navigation-item.js +1 -1
  37. package/dist/gids-header-navigation.js +1 -1
  38. package/dist/gids-icon.js +1 -1
  39. package/dist/gids-input.js +1 -1
  40. package/dist/gids-line-chart.js +1 -1
  41. package/dist/gids-md-table.js +1 -1
  42. package/dist/gids-month-dropdown-picker.d.ts +11 -0
  43. package/dist/gids-month-dropdown-picker.js +1 -0
  44. package/dist/gids-overflow-container.js +1 -1
  45. package/dist/gids-overlay-provider.js +1 -1
  46. package/dist/gids-password-field.js +1 -1
  47. package/dist/gids-pie-chart.js +1 -1
  48. package/dist/gids-popover.js +1 -1
  49. package/dist/gids-profile-menu-header.js +1 -1
  50. package/dist/gids-profile-menu.js +1 -1
  51. package/dist/gids-profile.js +1 -1
  52. package/dist/gids-scrim.js +1 -1
  53. package/dist/gids-sidebar-item.js +1 -1
  54. package/dist/gids-sidebar-menu.js +1 -1
  55. package/dist/gids-sidebar.js +1 -1
  56. package/dist/gids-skeleton.js +1 -1
  57. package/dist/gids-tab-item.js +1 -1
  58. package/dist/gids-tab.js +1 -1
  59. package/dist/gids-text-field.js +1 -1
  60. package/dist/gids-toggle-button.js +1 -1
  61. package/dist/gids-tooltip.js +1 -1
  62. package/dist/gids-transfer-list.js +1 -1
  63. package/dist/gids-year-dropdown-picker.d.ts +11 -0
  64. package/dist/gids-year-dropdown-picker.js +1 -0
  65. package/dist/{p-TfH966_e.js → p-3H10HA8U.js} +1 -1
  66. package/dist/{p-_W77iniK.js → p-5SNf54JN.js} +1 -1
  67. package/dist/p-69VXkSHc.js +1 -0
  68. package/dist/{p-B_FEFM5I.js → p-B2CvDGSE.js} +1 -1
  69. package/dist/{p-DLRj-mUX.js → p-B3AB3GQ0.js} +1 -1
  70. package/dist/p-BBlUduEr.js +1 -0
  71. package/dist/p-BGBsQSqM.js +1 -0
  72. package/dist/{p-BIxBMTG9.js → p-BWrCtA6O.js} +1 -1
  73. package/dist/{p-D0RJMGGj.js → p-BZdaC92p.js} +1 -1
  74. package/dist/p-Bbw1WCO7.js +1 -0
  75. package/dist/{p-CIjK3iHM.js → p-Bi-yBBYT.js} +1 -1
  76. package/dist/{p-DQQhGF5N.js → p-BwDi-0yS.js} +1 -1
  77. package/dist/{p-DKSnGphd.js → p-By0R-oJV.js} +1 -1
  78. package/dist/p-CCX8DA2Z.js +1 -0
  79. package/dist/{p-Ds5IzXj3.js → p-CJ1tQlEt.js} +1 -1
  80. package/dist/{p-DnRuhvRw.js → p-CL9pZVrx.js} +1 -1
  81. package/dist/p-CS2U2Mro.js +1 -0
  82. package/dist/p-Cf9ipNLT.js +1 -0
  83. package/dist/{p-B2flLE0s.js → p-Cs-QTqUM.js} +1 -1
  84. package/dist/{p-E13ycS5K.js → p-CytAVtIP.js} +1 -1
  85. package/dist/{p-CV1-78HB.js → p-D2VR17v2.js} +1 -1
  86. package/dist/p-D8vooi3L.js +1 -0
  87. package/dist/{p-DMxvWIj1.js → p-DB0ZJi5J.js} +1 -1
  88. package/dist/{p-BAqWcL0K.js → p-DHOvFnv4.js} +1 -1
  89. package/dist/{p--kh67-_Z.js → p-DIrAYgqX.js} +1 -1
  90. package/dist/p-DJH7wtiu.js +1 -0
  91. package/dist/{p-bfWlRsx_.js → p-DMN5PI18.js} +1 -1
  92. package/dist/p-DdJKIFk0.js +1 -0
  93. package/dist/{p-BCbovLBE.js → p-Dt270JVs.js} +1 -1
  94. package/dist/p-DuonIHDh.js +1 -0
  95. package/dist/{p-DzOOjiNH.js → p-_OVEnTXa.js} +1 -1
  96. package/dist/{p-DrxfD2yZ.js → p-cXOH6OAQ.js} +1 -1
  97. package/dist/p-lVcUFx2e.js +1 -0
  98. package/dist/{p-mv_7K1EM.js → p-peMqbYbz.js} +1 -1
  99. package/dist/p-piTNUZit.js +1 -0
  100. package/dist/types/components/webComponents/GidsCalendar/GidsCalendar.d.ts +4 -2
  101. package/dist/types/components/webComponents/GidsCalendarPicker/GidsCalendarPicker.d.ts +55 -0
  102. package/dist/types/components/webComponents/GidsDatePicker/GidsDatePicker.d.ts +74 -0
  103. package/dist/types/components/webComponents/GidsDatePickerField/GidsDatePickerField.d.ts +75 -0
  104. package/dist/types/components/webComponents/GidsDayDropdownPicker/GidsDayDropdownPicker.d.ts +40 -0
  105. package/dist/types/components/webComponents/GidsDropdown/GidsDropdown.d.ts +10 -8
  106. package/dist/types/components/webComponents/GidsDropdownField/GidsDropdownField.d.ts +5 -1
  107. package/dist/types/components/webComponents/GidsDropdownPicker/GidsDropdownPicker.d.ts +1 -0
  108. package/dist/types/components/webComponents/GidsFlyoutPanel/GidsFlyoutPanel.d.ts +7 -2
  109. package/dist/types/components/webComponents/GidsForm/GidsForm.d.ts +8 -0
  110. package/dist/types/components/webComponents/GidsHeaderNavigation/GidsHeaderNavigation.d.ts +0 -1
  111. package/dist/types/components/webComponents/GidsHeaderNavigationItem/GidsHeaderNavigationItem.d.ts +4 -6
  112. package/dist/types/components/webComponents/GidsMonthDropdownPicker/GidsMonthDropdownPicker.d.ts +40 -0
  113. package/dist/types/components/webComponents/GidsYearDropdownPicker/GidsYearDropdownPicker.d.ts +40 -0
  114. package/dist/types/components.d.ts +894 -70
  115. package/dist-bundled/es/GidsDatePickerSharedUtils-Dh5qFlYA.js +105 -0
  116. package/dist-bundled/es/gids-action-bar.js +17 -17
  117. package/dist-bundled/es/gids-activity-gauge.js +3 -3
  118. package/dist-bundled/es/gids-advanced-tooltip.js +4 -4
  119. package/dist-bundled/es/gids-bar-chart.js +3 -3
  120. package/dist-bundled/es/gids-bento-card.js +1 -1
  121. package/dist-bundled/es/gids-calendar-header-panel.js +1 -1
  122. package/dist-bundled/es/gids-calendar-month-list.js +3 -3
  123. package/dist-bundled/es/gids-calendar-picker.js +6 -0
  124. package/dist-bundled/es/gids-calendar-year-list.js +4 -4
  125. package/dist-bundled/es/gids-calendar.js +4 -151
  126. package/dist-bundled/es/gids-chart-legend-item.js +4 -4
  127. package/dist-bundled/es/gids-chart-legend.js +3 -3
  128. package/dist-bundled/es/gids-chart.js +21 -21
  129. package/dist-bundled/es/gids-chevron-button.js +3 -3
  130. package/dist-bundled/es/gids-date-picker-field.js +181 -0
  131. package/dist-bundled/es/gids-date-picker.js +6 -0
  132. package/dist-bundled/es/gids-day-dropdown-picker.js +6 -0
  133. package/dist-bundled/es/gids-dot.js +1 -1
  134. package/dist-bundled/es/gids-dropdown-field.js +29 -19
  135. package/dist-bundled/es/gids-dropdown-picker.js +2 -2
  136. package/dist-bundled/es/gids-dropdown.js +3 -3
  137. package/dist-bundled/es/gids-expansion-body-list-item.js +1 -1
  138. package/dist-bundled/es/gids-expansion-body-list.js +2 -2
  139. package/dist-bundled/es/gids-expansion-group.js +1 -1
  140. package/dist-bundled/es/gids-expansion.js +8 -8
  141. package/dist-bundled/es/gids-field.js +4 -4
  142. package/dist-bundled/es/gids-filter.js +1 -1
  143. package/dist-bundled/es/gids-flyout-panel.js +1 -1
  144. package/dist-bundled/es/gids-form.js +65 -49
  145. package/dist-bundled/es/gids-header-navigation-item.js +3 -3
  146. package/dist-bundled/es/gids-header-navigation.js +59 -60
  147. package/dist-bundled/es/gids-icon.js +1 -1
  148. package/dist-bundled/es/gids-input.js +4 -4
  149. package/dist-bundled/es/gids-line-chart.js +4 -4
  150. package/dist-bundled/es/gids-md-table.js +60 -60
  151. package/dist-bundled/es/gids-month-dropdown-picker.js +6 -0
  152. package/dist-bundled/es/gids-overflow-container.js +1 -1
  153. package/dist-bundled/es/gids-overlay-provider.js +2 -2
  154. package/dist-bundled/es/gids-password-field.js +25 -25
  155. package/dist-bundled/es/gids-pie-chart.js +1 -1
  156. package/dist-bundled/es/gids-popover.js +1 -1
  157. package/dist-bundled/es/gids-profile-menu-header.js +4 -4
  158. package/dist-bundled/es/gids-profile-menu.js +3 -3
  159. package/dist-bundled/es/gids-profile.js +10 -10
  160. package/dist-bundled/es/gids-scrim.js +1 -1
  161. package/dist-bundled/es/gids-sidebar-item.js +1 -1
  162. package/dist-bundled/es/gids-sidebar-menu.js +1 -1
  163. package/dist-bundled/es/gids-sidebar.js +7 -7
  164. package/dist-bundled/es/gids-skeleton.js +1 -1
  165. package/dist-bundled/es/gids-tab-item.js +1 -1
  166. package/dist-bundled/es/gids-tab.js +4 -4
  167. package/dist-bundled/es/gids-text-field.js +12 -12
  168. package/dist-bundled/es/gids-toggle-button.js +1 -1
  169. package/dist-bundled/es/gids-tooltip.js +4 -4
  170. package/dist-bundled/es/gids-transfer-list.js +8 -8
  171. package/dist-bundled/es/gids-year-dropdown-picker.js +6 -0
  172. package/dist-bundled/es/{p-TfH966_e-BzZRV8Rj.js → p-3H10HA8U-DWG31yfh.js} +9 -9
  173. package/dist-bundled/es/{p-_W77iniK-ChKfEOp3.js → p-5SNf54JN-Dke4QoYK.js} +2 -2
  174. package/dist-bundled/es/{p-kWyyLyT3-VhX9LNzT.js → p-69VXkSHc-vZd5gQWS.js} +28 -28
  175. package/dist-bundled/es/{p-B_FEFM5I-JoBieRfG.js → p-B2CvDGSE-B-50q6JD.js} +5 -5
  176. package/dist-bundled/es/{p-DLRj-mUX-BapdQYpI.js → p-B3AB3GQ0-DdgNC9FJ.js} +5 -5
  177. package/dist-bundled/es/{p-CAjDiWIc-C9dOa7FT.js → p-BBlUduEr-CWdvgBS6.js} +7 -7
  178. package/dist-bundled/es/{p-BQT5yy5L-C1C_zTi-.js → p-BGBsQSqM-DtooH-AA.js} +8 -4
  179. package/dist-bundled/es/{p-BIxBMTG9-Ctr342ff.js → p-BWrCtA6O-DHaJx1bg.js} +3 -3
  180. package/dist-bundled/es/{p-D0RJMGGj-BflZ9l8y.js → p-BZdaC92p-DjVPKyfk.js} +5 -5
  181. package/dist-bundled/es/p-Bbw1WCO7-CJU0y0iF.js +240 -0
  182. package/dist-bundled/es/{p-CIjK3iHM-DEW8PRM5.js → p-Bi-yBBYT-CC0Ktxng.js} +1 -1
  183. package/dist-bundled/es/{p-DQQhGF5N-mCqb5VTE.js → p-BwDi-0yS-vyn3pUko.js} +8 -8
  184. package/dist-bundled/es/{p-DKSnGphd-CZSPfB-N.js → p-By0R-oJV-DkI-JpEG.js} +3 -3
  185. package/dist-bundled/es/p-CCX8DA2Z-D0OkaCKx.js +157 -0
  186. package/dist-bundled/es/{p-Ds5IzXj3-B2o0ML2C.js → p-CJ1tQlEt-B8GYL1we.js} +13 -13
  187. package/dist-bundled/es/{p-DnRuhvRw-Beh0bANh.js → p-CL9pZVrx-BYVOaGDA.js} +8 -8
  188. package/dist-bundled/es/{p-DpvdbdZ--C7QlXxK2.js → p-CS2U2Mro-6wGJ-t9P.js} +31 -19
  189. package/dist-bundled/es/p-Cf9ipNLT-HF4MWnLF.js +86 -0
  190. package/dist-bundled/es/{p-B2flLE0s-SMg7vg1a.js → p-Cs-QTqUM-CcvsSUzr.js} +2 -2
  191. package/dist-bundled/es/{p-E13ycS5K-BBDydae3.js → p-CytAVtIP-IZSm6SZx.js} +1 -1
  192. package/dist-bundled/es/p-D8vooi3L-C5jeoC6H.js +122 -0
  193. package/dist-bundled/es/{p-DMxvWIj1-BxbvrlFL.js → p-DB0ZJi5J-BEYBVVuq.js} +9 -9
  194. package/dist-bundled/es/{p-BAqWcL0K-DNkV1R_C.js → p-DHOvFnv4-DZQmbUn3.js} +2 -2
  195. package/dist-bundled/es/{p--kh67-_Z-B-vf_gng.js → p-DIrAYgqX-BoR42JaL.js} +4 -4
  196. package/dist-bundled/es/p-DJH7wtiu-BDWtYcRw.js +148 -0
  197. package/dist-bundled/es/{p-bfWlRsx_-CNZjBYOE.js → p-DMN5PI18-CiBpBUeE.js} +3 -3
  198. package/dist-bundled/es/{p-Do_VlNHg-Ck03dQOR.js → p-DdJKIFk0-Co3FvR3K.js} +1 -1
  199. package/dist-bundled/es/{p-BCbovLBE-CDxKiOtS.js → p-Dt270JVs-DJODMRWa.js} +1 -1
  200. package/dist-bundled/es/p-DuonIHDh-B6YKWTfP.js +86 -0
  201. package/dist-bundled/es/{p-DzOOjiNH-CqI4E-mj.js → p-_OVEnTXa-q7qjnzI3.js} +2 -2
  202. package/dist-bundled/es/{p-DrxfD2yZ-Cetyr3S9.js → p-cXOH6OAQ-BRmZ0lXm.js} +10 -10
  203. package/dist-bundled/es/p-lVcUFx2e-D6N6qefs.js +86 -0
  204. package/dist-bundled/es/{p-mv_7K1EM-U3yKC45e.js → p-peMqbYbz-BnWVSfKD.js} +1 -1
  205. package/dist-bundled/es/p-piTNUZit-Jq4qQLgn.js +137 -0
  206. package/dist-bundled/umd/gids-action-bar.umd.js +3 -3
  207. package/dist-bundled/umd/gids-activity-gauge.umd.js +1 -1
  208. package/dist-bundled/umd/gids-advanced-tooltip.umd.js +1 -1
  209. package/dist-bundled/umd/gids-bar-chart.umd.js +1 -1
  210. package/dist-bundled/umd/gids-bento-card.umd.js +1 -1
  211. package/dist-bundled/umd/gids-calendar-header-panel.umd.js +1 -1
  212. package/dist-bundled/umd/gids-calendar-month-list.umd.js +1 -1
  213. package/dist-bundled/umd/gids-calendar-picker.umd.js +5 -0
  214. package/dist-bundled/umd/gids-calendar-year-list.umd.js +1 -1
  215. package/dist-bundled/umd/gids-calendar.umd.js +2 -2
  216. package/dist-bundled/umd/gids-chart-legend-item.umd.js +1 -1
  217. package/dist-bundled/umd/gids-chart-legend.umd.js +1 -1
  218. package/dist-bundled/umd/gids-chart.umd.js +1 -1
  219. package/dist-bundled/umd/gids-chevron-button.umd.js +1 -1
  220. package/dist-bundled/umd/gids-date-picker-field.umd.js +5 -0
  221. package/dist-bundled/umd/gids-date-picker.umd.js +5 -0
  222. package/dist-bundled/umd/gids-day-dropdown-picker.umd.js +5 -0
  223. package/dist-bundled/umd/gids-dot.umd.js +1 -1
  224. package/dist-bundled/umd/gids-dropdown-field.umd.js +2 -2
  225. package/dist-bundled/umd/gids-dropdown-picker.umd.js +2 -2
  226. package/dist-bundled/umd/gids-dropdown.umd.js +2 -2
  227. package/dist-bundled/umd/gids-expansion-body-list-item.umd.js +1 -1
  228. package/dist-bundled/umd/gids-expansion-body-list.umd.js +1 -1
  229. package/dist-bundled/umd/gids-expansion-group.umd.js +2 -2
  230. package/dist-bundled/umd/gids-expansion.umd.js +1 -1
  231. package/dist-bundled/umd/gids-field.umd.js +1 -1
  232. package/dist-bundled/umd/gids-filter.umd.js +2 -2
  233. package/dist-bundled/umd/gids-flyout-panel.umd.js +2 -2
  234. package/dist-bundled/umd/gids-form.umd.js +2 -2
  235. package/dist-bundled/umd/gids-header-navigation-item.umd.js +2 -2
  236. package/dist-bundled/umd/gids-header-navigation.umd.js +2 -2
  237. package/dist-bundled/umd/gids-icon.umd.js +2 -2
  238. package/dist-bundled/umd/gids-input.umd.js +1 -1
  239. package/dist-bundled/umd/gids-line-chart.umd.js +1 -1
  240. package/dist-bundled/umd/gids-md-table.umd.js +1 -1
  241. package/dist-bundled/umd/gids-month-dropdown-picker.umd.js +5 -0
  242. package/dist-bundled/umd/gids-overflow-container.umd.js +1 -1
  243. package/dist-bundled/umd/gids-overlay-provider.umd.js +1 -1
  244. package/dist-bundled/umd/gids-password-field.umd.js +1 -1
  245. package/dist-bundled/umd/gids-pie-chart.umd.js +2 -2
  246. package/dist-bundled/umd/gids-popover.umd.js +1 -1
  247. package/dist-bundled/umd/gids-profile-menu-header.umd.js +1 -1
  248. package/dist-bundled/umd/gids-profile-menu.umd.js +1 -1
  249. package/dist-bundled/umd/gids-profile.umd.js +1 -1
  250. package/dist-bundled/umd/gids-scrim.umd.js +1 -1
  251. package/dist-bundled/umd/gids-sidebar-item.umd.js +2 -2
  252. package/dist-bundled/umd/gids-sidebar-menu.umd.js +2 -2
  253. package/dist-bundled/umd/gids-sidebar.umd.js +2 -2
  254. package/dist-bundled/umd/gids-skeleton.umd.js +2 -2
  255. package/dist-bundled/umd/gids-tab-item.umd.js +1 -1
  256. package/dist-bundled/umd/gids-tab.umd.js +1 -1
  257. package/dist-bundled/umd/gids-text-field.umd.js +1 -1
  258. package/dist-bundled/umd/gids-toggle-button.umd.js +2 -2
  259. package/dist-bundled/umd/gids-tooltip.umd.js +2 -2
  260. package/dist-bundled/umd/gids-transfer-list.umd.js +1 -1
  261. package/dist-bundled/umd/gids-year-dropdown-picker.umd.js +5 -0
  262. package/dist-bundled/umd-complete/gids-core-web.umd.js +9 -9
  263. package/package.json +55 -7
  264. package/dist/p-BQT5yy5L.js +0 -1
  265. package/dist/p-B_St7yaX.js +0 -1
  266. package/dist/p-CAjDiWIc.js +0 -1
  267. package/dist/p-Do_VlNHg.js +0 -1
  268. package/dist/p-DpvdbdZ-.js +0 -1
  269. package/dist/p-kWyyLyT3.js +0 -1
  270. package/dist/p-tEbUT3n3.js +0 -1
  271. package/dist-bundled/es/p-B_St7yaX-Da4DWjGh.js +0 -151
  272. package/dist-bundled/es/p-tEbUT3n3-Byef6fQN.js +0 -244
  273. /package/dist-bundled/es/{p-CV1-78HB-C0k_l_CT.js → p-D2VR17v2-C0k_l_CT.js} +0 -0
@@ -1,5 +1,5 @@
1
- (function(D,P){typeof exports=="object"&&typeof module<"u"?P(exports):typeof define=="function"&&define.amd?define(["exports"],P):(D=typeof globalThis<"u"?globalThis:D||self,P(D.gidsCoreWebGidsDropdownField={}))})(this,(function(D){"use strict";function P(e,t,s){const i=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==i;){const o=Object.getOwnPropertyDescriptor(e,t);if(o&&(!s||o.get))return o;e=Object.getPrototypeOf(e)}}var R,bt=(e,t)=>{var s;Object.entries((s=t.o.t)!=null?s:{}).map((([i,[o]])=>{if(31&o||32&o){const r=e[i],a=P(Object.getPrototypeOf(e),i,!0)||Object.getOwnPropertyDescriptor(e,i);a&&Object.defineProperty(e,i,{get(){return a.get.call(this)},set(l){a.set.call(this,l)},configurable:!0,enumerable:!0}),t.l.has(i)?e[i]=t.l.get(i):r!==void 0&&(e[i]=r)}}))},N=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},Ce=(e,t)=>t in e,O=(e,t)=>(0,console.error)(e,t),W=new Map,Ie="http://www.w3.org/1999/xlink",vt=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],k=typeof window<"u"?window:{},U=k.HTMLElement||class{},E={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,i)=>e.addEventListener(t,s,i),rel:(e,t,s,i)=>e.removeEventListener(t,s,i),ce:(e,t)=>new CustomEvent(e,t)},yt=(()=>{var e;let t=!1;try{(e=k.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),oe=(()=>{try{return!!k.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),re=!!oe&&!!k.document&&Object.getOwnPropertyDescriptor(k.document.adoptedStyleSheets,"length").writable,ne=!1,Le=[],Te=[],wt=(e,t)=>s=>{e.push(s),ne||(ne=!0,4&E.i?le(ae):E.raf(ae))},Ae=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){O(s)}e.length=0},ae=()=>{Ae(Le),Ae(Te),(ne=Le.length>0)&&E.raf(ae)},le=e=>Promise.resolve(void 0).then(e),_t=wt(Te);function kt(){const e=this.attachShadow({mode:"open"});R===void 0&&(R=null),R&&(re?e.adoptedStyleSheets.push(R):e.adoptedStyleSheets=[...e.adoptedStyleSheets,R])}var Ne=e=>{const t=de(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&ce(t,e.tagName).forEach((i=>{i.nodeType===1&&i.tagName==="SLOT-FB"&&(i.hidden=!!xt(i,z(i),!1).length)}));let s=0;for(s=0;s<t.length;s++){const i=t[s];i.nodeType===1&&de(i,"childNodes").length&&Ne(i)}};function ce(e,t,s){let i,o=0,r=[];for(;o<e.length;o++){if(i=e[o],i["s-sr"]&&(!t||i["s-hn"]===t)&&(s===void 0||z(i)===s)&&(r.push(i),s!==void 0))return r;r=[...r,...ce(i.childNodes,t,s)]}return r}var xt=(e,t,s=!0)=>{const i=[];(s&&e["s-sr"]||!e["s-sr"])&&i.push(e);let o=e;for(;o=o.nextSibling;)z(o)!==t||!s&&o["s-sr"]||i.push(o);return i},Ve=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",z=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function de(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 he,F,$=new WeakMap,$e=e=>"sc-"+e.p,ue=e=>(e=typeof e)=="object"||e==="function",g=(e,t,...s)=>{let i=null,o=null,r=null,a=!1,l=!1;const n=[],d=c=>{for(let u=0;u<c.length;u++)i=c[u],Array.isArray(i)?d(i):i!=null&&typeof i!="boolean"&&((a=typeof e!="function"&&!ue(i))&&(i=String(i)),a&&l?n[n.length-1].h+=i:n.push(a?K(null,i):i),l=a)};if(d(s),t){t.key&&(o=t.key),t.name&&(r=t.name);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter((u=>c[u])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,n,St);const h=K(e,null);return h.v=t,n.length>0&&(h.m=n),h.$=o,h.j=r,h},K=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),De={},St={forEach:(e,t)=>e.map(Oe).forEach(t),map:(e,t)=>e.map(Oe).map(t).map(Et)},Oe=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),Et=e=>{if(typeof e.vtag=="function"){const s={...e.vattrs};return e.vkey&&(s.key=e.vkey),e.vname&&(s.name=e.vname),g(e.vtag,s,...e.vchildren||[])}const t=K(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},Fe=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let s=!1;for(const o of t){if(s)break;for(const r of e[o])if(typeof r=="string"){s=!0;break}}if(!s)return e;const i={};for(const o of t)i[o]=e[o].map((r=>typeof r=="string"?{[r]:0}:r));return i},Pe=(e,t,s)=>e==null||ue(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,Ct=(e,t,s)=>{const i=E.ce(t,s);return e.dispatchEvent(i),i},qe=(e,t,s,i,o,r)=>{if(s===i)return;let a=Ce(e,t),l=t.toLowerCase();if(t==="class"){const n=e.classList,d=Me(s);let h=Me(i);n.remove(...d.filter((c=>c&&!h.includes(c)))),n.add(...h.filter((c=>c&&!d.includes(c))))}else if(t==="style"){for(const n in s)i&&i[n]!=null||(n.includes("-")?e.style.removeProperty(n):e.style[n]="");for(const n in i)s&&i[n]===s[n]||(n.includes("-")?e.style.setProperty(n,i[n]):e.style[n]=i[n])}else if(t!=="key"){if(t==="ref")i&&Tt(i,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const n=t.slice(5);let d;{const h=N(e);if(h&&h.o&&h.o.t){const c=h.o.t[n];c&&c[1]&&(d=c[1])}}return d||(d=n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(i==null||i===!1?i===!1&&e.getAttribute(d)!==""||e.removeAttribute(d):e.setAttribute(d,i===!0?"":i))}if(t[0]==="p"&&t.startsWith("prop:")){const n=t.slice(5);try{e[n]=i}catch{}return}{const n=ue(i);if((a||n&&i!==null)&&!o)try{if(e.tagName.includes("-"))e[t]!==i&&(e[t]=i);else{const h=i??"";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;l!==(l=l.replace(/^xlink\:?/,""))&&(t=l,d=!0),i==null||i===!1?i===!1&&e.getAttribute(t)!==""||(d?e.removeAttributeNS(Ie,t):e.removeAttribute(t)):(!a||4&r||o)&&!n&&e.nodeType===1&&(i=i===!0?"":i,d?e.setAttributeNS(Ie,t,i):e.setAttribute(t,i))}}else if(t=t[2]==="-"?t.slice(3):Ce(k,l)?l.slice(2):l[2]+t.slice(3),s||i){const n=t.endsWith(je);t=t.replace(Lt,""),s&&E.rel(e,t,s,n),i&&E.ael(e,t,i,n)}}},It=/\s/,Me=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(It):[]),je="Capture",Lt=new RegExp(je+"$"),pe=(e,t,s)=>{const i=t.S.nodeType===11&&t.S.host?t.S.host:t.S,o=e&&e.v||{},r=t.v||{};for(const a of Re(Object.keys(o)))a in r||qe(i,a,o[a],void 0,s,t.i);for(const a of Re(Object.keys(r)))qe(i,a,o[a],r[a],s,t.i)};function Re(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var B=!1,Y=!1,J=!1,C=!1,ge=[],fe=[],X=(e,t,s)=>{var i;const o=t.m[s];let r,a,l,n=0;if(B||(J=!0,o.O==="slot"&&(o.i|=o.m?2:1)),o.h!=null)r=o.S=k.document.createTextNode(o.h);else if(1&o.i)r=o.S=k.document.createTextNode(""),pe(null,o,C);else{if(C||(C=o.O==="svg"),!k.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(r=o.S=k.document.createElementNS(C?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!B&&2&o.i?"slot-fb":o.O),C&&o.O==="foreignObject"&&(C=!1),pe(null,o,C),o.m){const d=o.O==="template"?r.content:r;for(n=0;n<o.m.length;++n)a=X(e,o,n),a&&d.appendChild(a)}o.O==="svg"?C=!1:r.tagName==="foreignObject"&&(C=!0)}return r["s-hn"]=F,3&o.i&&(r["s-sr"]=!0,r["s-cr"]=he,r["s-sn"]=o.j||"",r["s-rf"]=(i=o.v)==null?void 0:i.ref,(function(d){if(d.assignedElements||d.assignedNodes||!d["s-sr"])return;const h=c=>(function(u){const f=[],p=this["s-sn"];u?.flatten&&console.error(`
1
+ (function(te,ae){typeof exports=="object"&&typeof module<"u"?ae(exports):typeof define=="function"&&define.amd?define(["exports"],ae):(te=typeof globalThis<"u"?globalThis:te||self,ae(te.gidsCoreWebGidsDropdownField={}))})(this,(function(te){"use strict";var G;function ae(e,t,n){const i=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==i;){const s=Object.getOwnPropertyDescriptor(e,t);if(s&&(!n||s.get))return s;e=Object.getPrototypeOf(e)}}var ye,qn=(e,t)=>{var n;Object.entries((n=t.o.t)!=null?n:{}).map((([i,[s]])=>{if(31&s||32&s){const o=e[i],r=ae(Object.getPrototypeOf(e),i,!0)||Object.getOwnPropertyDescriptor(e,i);r&&Object.defineProperty(e,i,{get(){return r.get.call(this)},set(l){r.set.call(this,l)},configurable:!0,enumerable:!0}),t.l.has(i)?e[i]=t.l.get(i):o!==void 0&&(e[i]=o)}}))},z=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},Pt=(e,t)=>t in e,ne=(e,t)=>(0,console.error)(e,t),Pe=new Map,At="http://www.w3.org/1999/xlink",jn=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],S=typeof window<"u"?window:{},ce=S.HTMLElement||class{},A={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,i)=>e.addEventListener(t,n,i),rel:(e,t,n,i)=>e.removeEventListener(t,n,i),ce:(e,t)=>new CustomEvent(e,t)},zn=(()=>{var e;let t=!1;try{(e=S.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),He=(()=>{try{return!!S.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),Ge=!!He&&!!S.document&&Object.getOwnPropertyDescriptor(S.document.adoptedStyleSheets,"length").writable,Ue=!1,Tt=[],Lt=[],Bn=(e,t)=>n=>{e.push(n),Ue||(Ue=!0,4&A.i?Ye(Ke):A.raf(Ke))},Ot=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){ne(n)}e.length=0},Ke=()=>{Ot(Tt),Ot(Lt),(Ue=Tt.length>0)&&A.raf(Ke)},Ye=e=>Promise.resolve(void 0).then(e),Wn=Bn(Lt);function Hn(){const e=this.attachShadow({mode:"open"});ye===void 0&&(ye=null),ye&&(Ge?e.adoptedStyleSheets.push(ye):e.adoptedStyleSheets=[...e.adoptedStyleSheets,ye])}var Ft=e=>{const t=Ze(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&Xe(t,e.tagName).forEach((i=>{i.nodeType===1&&i.tagName==="SLOT-FB"&&(i.hidden=!!Gn(i,ve(i),!1).length)}));let n=0;for(n=0;n<t.length;n++){const i=t[n];i.nodeType===1&&Ze(i,"childNodes").length&&Ft(i)}};function Xe(e,t,n){let i,s=0,o=[];for(;s<e.length;s++){if(i=e[s],i["s-sr"]&&(!t||i["s-hn"]===t)&&(n===void 0||ve(i)===n)&&(o.push(i),n!==void 0))return o;o=[...o,...Xe(i.childNodes,t,n)]}return o}var Gn=(e,t,n=!0)=>{const i=[];(n&&e["s-sr"]||!e["s-sr"])&&i.push(e);let s=e;for(;s=s.nextSibling;)ve(s)!==t||!n&&s["s-sr"]||i.push(s);return i},It=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",ve=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function Ze(e,t){if("__"+t in e){const n=e["__"+t];return typeof n!="function"?n:n.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var Je,ie,K=new WeakMap,Nt=e=>"sc-"+e.p,Qe=e=>(e=typeof e)=="object"||e==="function",x=(e,t,...n)=>{let i=null,s=null,o=null,r=!1,l=!1;const a=[],d=c=>{for(let u=0;u<c.length;u++)i=c[u],Array.isArray(i)?d(i):i!=null&&typeof i!="boolean"&&((r=typeof e!="function"&&!Qe(i))&&(i=String(i)),r&&l?a[a.length-1].h+=i:a.push(r?Ae(null,i):i),l=r)};if(d(n),t){t.key&&(s=t.key),t.name&&(o=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,a,Un);const h=Ae(e,null);return h.v=t,a.length>0&&(h.m=a),h.$=s,h.j=o,h},Ae=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),Dt={},Un={forEach:(e,t)=>e.map(Vt).forEach(t),map:(e,t)=>e.map(Vt).map(t).map(Kn)},Vt=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),Kn=e=>{if(typeof e.vtag=="function"){const n={...e.vattrs};return e.vkey&&(n.key=e.vkey),e.vname&&(n.name=e.vname),x(e.vtag,n,...e.vchildren||[])}const t=Ae(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},Rt=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let n=!1;for(const s of t){if(n)break;for(const o of e[s])if(typeof o=="string"){n=!0;break}}if(!n)return e;const i={};for(const s of t)i[s]=e[s].map((o=>typeof o=="string"?{[o]:0}:o));return i},$t=(e,t,n)=>e==null||Qe(e)?e:4&t?(n&&typeof e=="string"||e!=="false")&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,Yn=(e,t,n)=>{const i=A.ce(t,n);return e.dispatchEvent(i),i},Mt=(e,t,n,i,s,o)=>{if(n===i)return;let r=Pt(e,t),l=t.toLowerCase();if(t==="class"){const a=e.classList,d=qt(n);let h=qt(i);a.remove(...d.filter((c=>c&&!h.includes(c)))),a.add(...h.filter((c=>c&&!d.includes(c))))}else if(t==="style"){for(const a in n)i&&i[a]!=null||(a.includes("-")?e.style.removeProperty(a):e.style[a]="");for(const a in i)n&&i[a]===n[a]||(a.includes("-")?e.style.setProperty(a,i[a]):e.style[a]=i[a])}else if(t!=="key"){if(t==="ref")i&&Jn(i,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const a=t.slice(5);let d;{const h=z(e);if(h&&h.o&&h.o.t){const c=h.o.t[a];c&&c[1]&&(d=c[1])}}return d||(d=a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(i==null||i===!1?i===!1&&e.getAttribute(d)!==""||e.removeAttribute(d):e.setAttribute(d,i===!0?"":i))}if(t[0]==="p"&&t.startsWith("prop:")){const a=t.slice(5);try{e[a]=i}catch{}return}{const a=Qe(i);if((r||a&&i!==null)&&!s)try{if(e.tagName.includes("-"))e[t]!==i&&(e[t]=i);else{const h=i??"";t==="list"?r=!1:n!=null&&e[t]===h||(typeof e.__lookupSetter__(t)=="function"?e[t]=h:e.setAttribute(t,h))}}catch{}let d=!1;l!==(l=l.replace(/^xlink\:?/,""))&&(t=l,d=!0),i==null||i===!1?i===!1&&e.getAttribute(t)!==""||(d?e.removeAttributeNS(At,t):e.removeAttribute(t)):(!r||4&o||s)&&!a&&e.nodeType===1&&(i=i===!0?"":i,d?e.setAttributeNS(At,t,i):e.setAttribute(t,i))}}else if(t=t[2]==="-"?t.slice(3):Pt(S,l)?l.slice(2):l[2]+t.slice(3),n||i){const a=t.endsWith(jt);t=t.replace(Zn,""),n&&A.rel(e,t,n,a),i&&A.ael(e,t,i,a)}}},Xn=/\s/,qt=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(Xn):[]),jt="Capture",Zn=new RegExp(jt+"$"),et=(e,t,n)=>{const i=t.S.nodeType===11&&t.S.host?t.S.host:t.S,s=e&&e.v||{},o=t.v||{};for(const r of zt(Object.keys(s)))r in o||Mt(i,r,s[r],void 0,n,t.i);for(const r of zt(Object.keys(o)))Mt(i,r,s[r],o[r],n,t.i)};function zt(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var we=!1,Te=!1,Le=!1,O=!1,tt=[],nt=[],Oe=(e,t,n)=>{var i;const s=t.m[n];let o,r,l,a=0;if(we||(Le=!0,s.O==="slot"&&(s.i|=s.m?2:1)),s.h!=null)o=s.S=S.document.createTextNode(s.h);else if(1&s.i)o=s.S=S.document.createTextNode(""),et(null,s,O);else{if(O||(O=s.O==="svg"),!S.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(o=s.S=S.document.createElementNS(O?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!we&&2&s.i?"slot-fb":s.O),O&&s.O==="foreignObject"&&(O=!1),et(null,s,O),s.m){const d=s.O==="template"?o.content:o;for(a=0;a<s.m.length;++a)r=Oe(e,s,a),r&&d.appendChild(r)}s.O==="svg"?O=!1:o.tagName==="foreignObject"&&(O=!0)}return o["s-hn"]=ie,3&s.i&&(o["s-sr"]=!0,o["s-cr"]=Je,o["s-sn"]=s.j||"",o["s-rf"]=(i=s.v)==null?void 0:i.ref,(function(d){if(d.assignedElements||d.assignedNodes||!d["s-sr"])return;const h=c=>(function(u){const p=[],f=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 _=this["s-cr"].parentElement;return(_.__childNodes?_.childNodes:(w=>{const v=[];for(let b=0;b<w.length;b++){const m=w[b]["s-nr"]||void 0;m&&m.isConnected&&v.push(m)}return v})(_.childNodes)).forEach((w=>{p===z(w)&&f.push(w)})),c?f.filter((w=>w.nodeType===1)):f}).bind(d);d.assignedElements=h(!0),d.assignedNodes=h(!1)})(r),l=e&&e.m&&e.m[s],l&&l.O===o.O&&e.S&&ze(e.S)),r},ze=e=>{E.i|=1;const t=e.closest(F.toLowerCase());if(t!=null){const s=Array.from(t.__childNodes||t.childNodes).find((o=>o["s-cr"])),i=Array.from(e.__childNodes||e.childNodes);for(const o of s?i.reverse():i)o["s-sh"]!=null&&(T(t,o,s??null),o["s-sh"]=void 0,J=!0)}E.i&=-2},Z=(e,t)=>{E.i|=1;const s=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let i=e;for(;i=i.nextSibling;)i&&i["s-sn"]===e["s-sn"]&&i["s-sh"]===F&&s.push(i)}for(let i=s.length-1;i>=0;i--){const o=s[i];o["s-hn"]!==F&&o["s-ol"]&&(T(H(o).parentNode,o,H(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,J=!0),t&&Z(o,t)}E.i&=-2},Be=(e,t,s,i,o,r)=>{let a,l=e["s-cr"]&&e["s-cr"].parentNode||e;for(l.shadowRoot&&l.tagName===F&&(l=l.shadowRoot),s.O==="template"&&(l=l.content);o<=r;++o)i[o]&&(a=X(null,s,o),a&&(i[o].S=a,T(l,a,H(t))))},He=(e,t,s)=>{for(let i=t;i<=s;++i){const o=e[i];if(o){const r=o.S;We(o),r&&(Y=!0,r["s-ol"]?r["s-ol"].remove():Z(r,!0),r.remove())}}},Q=(e,t,s=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:s?(s&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),H=e=>e&&e["s-ol"]||e,q=(e,t,s=!1)=>{const i=t.S=e.S,o=e.m,r=t.m,a=t.O,l=t.h;let n;l==null?(C=a==="svg"||a!=="foreignObject"&&C,a!=="slot"||B||e.j!==t.j&&(t.S["s-sn"]=t.j||"",ze(t.S.parentElement)),pe(e,t,C),o!==null&&r!==null?((d,h,c,u,f=!1)=>{let p,_,w=0,v=0,b=0,m=0,S=h.length-1,y=h[0],x=h[S],I=u.length-1,L=u[0],A=u[I];const mt=c.O==="template"?d.content:d;for(;w<=S&&v<=I;)if(y==null)y=h[++w];else if(x==null)x=h[--S];else if(L==null)L=u[++v];else if(A==null)A=u[--I];else if(Q(y,L,f))q(y,L,f),y=h[++w],L=u[++v];else if(Q(x,A,f))q(x,A,f),x=h[--S],A=u[--I];else if(Q(y,A,f))y.O!=="slot"&&A.O!=="slot"||Z(y.S.parentNode,!1),q(y,A,f),T(mt,y.S,x.S.nextSibling),y=h[++w],A=u[--I];else if(Q(x,L,f))y.O!=="slot"&&A.O!=="slot"||Z(x.S.parentNode,!1),q(x,L,f),T(mt,x.S,y.S),x=h[--S],L=u[++v];else{for(b=-1,m=w;m<=S;++m)if(h[m]&&h[m].$!==null&&h[m].$===L.$){b=m;break}b>=0?(_=h[b],_.O!==L.O?p=X(h&&h[v],c,b):(q(_,L,f),h[b]=void 0,p=_.S),L=u[++v]):(p=X(h&&h[v],c,v),L=u[++v]),p&&T(H(y.S).parentNode,p,H(y.S))}w>S?Be(d,u[I+1]==null?null:u[I+1].S,c,u,v,I):v>I&&He(h,w,S)})(i,o,t,r,s):r!==null?(e.h!==null&&(i.textContent=""),Be(i,null,t,r,0,r.length-1)):!s&&o!==null&&He(o,0,o.length-1),C&&a==="svg"&&(C=!1)):(n=i["s-cr"])?n.parentNode.textContent=l:e.h!==l&&(i.data=l)},V=[],Ge=e=>{let t,s,i;const o=e.__childNodes||e.childNodes;for(const r of o){if(r["s-sr"]&&(t=r["s-cr"])&&t.parentNode){s=t.parentNode.__childNodes||t.parentNode.childNodes;const a=r["s-sn"];for(i=s.length-1;i>=0;i--)if(t=s[i],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===r["s-hn"]||t["s-sh"]&&t["s-sh"]===r["s-hn"]))if(Ve(t,a)){let l=V.find((n=>n.k===t));Y=!0,t["s-sn"]=t["s-sn"]||a,l?(l.k["s-sh"]=r["s-hn"],l.N=r):(t["s-sh"]=r["s-hn"],V.push({N:r,k:t})),t["s-sr"]&&V.map((n=>{Ve(n.k,t["s-sn"])&&(l=V.find((d=>d.k===t)),l&&!n.N&&(n.N=l.N))}))}else V.some((l=>l.k===t))||V.push({k:t})}r.nodeType===1&&Ge(r)}},We=e=>{e.v&&e.v.ref&&ge.push((()=>e.v.ref(null))),e.m&&e.m.map(We)},Tt=(e,t)=>{fe.push((()=>e(t)))},T=(e,t,s,i)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,s);const{slotNode:o}=(function(r,a){var l;if(!(a=a||((l=r["s-ol"])==null?void 0:l.parentElement)))return{slotNode:null,slotName:""};const n=r["s-sn"]=z(r)||"";return{slotNode:ce(de(a,"childNodes"),a.tagName,n)[0],slotName:n}})(t);return o&&!i&&o.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,s):e?.insertBefore(t,s)},At=(e,t,s=!1)=>{var i,o,r,a,l;const n=e.$hostElement$,d=e.o,h=e.M||K(null,null);var c;const u=(c=t)&&c.O===De?t:g(null,null,t);if(F=n.tagName,d.C&&(u.v=u.v||{},d.C.forEach((([f,p])=>{u.v[p]=n[f]}))),s&&u.v)for(const f of Object.keys(u.v))n.hasAttribute(f)&&!["key","ref","style","class"].includes(f)&&(u.v[f]=n[f]);if(u.O=null,u.i|=4,e.M=u,u.S=h.S=n.shadowRoot||n,B=!(!(1&d.i)||128&d.i),he=n["s-cr"],Y=!1,q(h,u,s),E.i|=1,J){Ge(u.S);for(const f of V){const p=f.k;if(!p["s-ol"]&&k.document){const _=k.document.createTextNode("");_["s-nr"]=p,T(p.parentNode,p["s-ol"]=_,p,s)}}for(const f of V){const p=f.k,_=f.N;if(p.nodeType===1&&s&&(p["s-ih"]=(i=p.hidden)!=null&&i),_){const w=_.parentNode;let v=_.nextSibling;if(v&&v.nodeType===1){let b=(o=p["s-ol"])==null?void 0:o.previousSibling;for(;b;){let m=(r=b["s-nr"])!=null?r:null;if(m&&m["s-sn"]===p["s-sn"]&&w===(m.__parentNode||m.parentNode)){for(m=m.nextSibling;m===p||m?.["s-sr"];)m=m?.nextSibling;if(!m||!m["s-nr"]){v=m;break}}b=b.previousSibling}}if((!v&&w!==(p.__parentNode||p.parentNode)||(p.__nextSibling||p.nextSibling)!==v)&&p!==v){if(T(w,p,v,s),p.nodeType===8&&p.nodeValue.startsWith("s-nt-")){const b=k.document.createTextNode(p.nodeValue.replace(/^s-nt-/,""));b["s-hn"]=p["s-hn"],b["s-sn"]=p["s-sn"],b["s-sh"]=p["s-sh"],b["s-sr"]=p["s-sr"],b["s-ol"]=p["s-ol"],b["s-ol"]["s-nr"]=b,T(p.parentNode,b,p,s),p.parentNode.removeChild(p)}p.nodeType===1&&p.tagName!=="SLOT-FB"&&(p.hidden=(a=p["s-ih"])!=null&&a)}p&&typeof _["s-rf"]=="function"&&_["s-rf"](_)}else p.nodeType===1&&(p.hidden=!0)}}if(Y&&Ne(u.S),E.i&=-2,V.length=0,!B&&!(1&d.i)&&n["s-cr"]){const f=u.S.__childNodes||u.S.childNodes;for(const p of f)if(p["s-hn"]!==F&&!p["s-sh"]){if(s&&p["s-ih"]==null&&(p["s-ih"]=(l=p.hidden)!=null&&l),p.nodeType===1)p.hidden=!0;else if(p.nodeType===3&&p.nodeValue.trim()){const _=k.document.createComment("s-nt-"+p.nodeValue);_["s-sn"]=p["s-sn"],T(p.parentNode,_,p,s),p.parentNode.removeChild(p)}}}he=void 0,ge.forEach((f=>f())),ge.length=0,fe.forEach((f=>f())),fe.length=0},Ue=(e,t)=>{if(t&&!e.A&&t["s-p"]){const s=t["s-p"].push(new Promise((i=>e.A=()=>{t["s-p"].splice(s-1,1),i()})))}},me=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Ue(e,e.R);const s=()=>Nt(e,t);if(!t)return _t(s);queueMicrotask((()=>{s()}))},Nt=(e,t)=>{const s=e.$hostElement$,i=s;if(!i)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 o;return o=G(i,t?"componentWillLoad":"componentWillUpdate",void 0,s),o=Ke(o,(()=>G(i,"componentWillRender",void 0,s))),Ke(o,(()=>$t(e,i,t)))},Ke=(e,t)=>Vt(e)?e.then(t).catch((s=>{console.error(s),t()})):t(),Vt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",$t=async(e,t,s)=>{var i;const o=e.$hostElement$,r=o["s-rc"];s&&(a=>{const l=a.o,n=a.$hostElement$,d=l.i,h=((c,u)=>{var f,p,_;const w=$e(u),v=W.get(w);if(!k.document)return w;if(c=c.nodeType===11?c:k.document,v)if(typeof v=="string"){let b,m=$.get(c=c.head||c);if(m||$.set(c,m=new Set),!m.has(w)){b=k.document.createElement("style"),b.textContent=v;const S=(f=E._)!=null?f:(function(){var y,x,I;return(I=(x=(y=k.document.head)==null?void 0:y.querySelector('meta[name="csp-nonce"]'))==null?void 0:x.getAttribute("content"))!=null?I:void 0})();if(S!=null&&b.setAttribute("nonce",S),!(1&u.i))if(c.nodeName==="HEAD"){const y=c.querySelectorAll("link[rel=preconnect]"),x=y.length>0?y[y.length-1].nextSibling:c.querySelector("style");c.insertBefore(b,x?.parentNode===c?x:null)}else if("host"in c)if(oe){const y=new((p=c.defaultView)!=null?p:c.ownerDocument.defaultView).CSSStyleSheet;y.replaceSync(v),re?c.adoptedStyleSheets.unshift(y):c.adoptedStyleSheets=[y,...c.adoptedStyleSheets]}else{const y=c.querySelector("style");y?y.textContent=v+y.textContent:c.prepend(b)}else c.append(b);1&u.i&&c.insertBefore(b,null),4&u.i&&(b.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),m&&m.add(w)}}else{let b=$.get(c);if(b||$.set(c,b=new Set),!b.has(w)){const m=(_=c.defaultView)!=null?_:c.ownerDocument.defaultView;let S;if(v.constructor===m.CSSStyleSheet)S=v;else{S=new m.CSSStyleSheet;for(let y=0;y<v.cssRules.length;y++)S.insertRule(v.cssRules[y].cssText,y)}re?c.adoptedStyleSheets.push(S):c.adoptedStyleSheets=[...c.adoptedStyleSheets,S],b.add(w)}}return w})(n.shadowRoot?n.shadowRoot:n.getRootNode(),l);10&d&&(n["s-sc"]=h,n.classList.add(h+"-h"))})(e),Dt(e,t,o,s),r&&(r.map((a=>a())),o["s-rc"]=void 0);{const a=(i=o["s-p"])!=null?i:[],l=()=>Ot(e);a.length===0?l():(Promise.all(a).then(l).catch(l),e.i|=4,a.length=0)}},Dt=(e,t,s,i)=>{try{t=t.render(),e.i&=-17,e.i|=2,At(e,t,i)}catch(o){O(o,e.$hostElement$)}return null},Ot=e=>{const t=e.$hostElement$,s=t,i=e.R;G(s,"componentDidRender",void 0,t),64&e.i?G(s,"componentDidUpdate",void 0,t):(e.i|=64,Pt(t),G(s,"componentDidLoad",void 0,t),e.L(t),i||Ft()),e.A&&(e.A(),e.A=void 0),512&e.i&&le((()=>me(e,!1))),e.i&=-517},Ft=()=>{le((()=>Ct(k,"appload",{detail:{namespace:"gids-core-web"}})))},G=(e,t,s,i)=>{if(e&&e[t])try{return e[t](s)}catch(o){O(o,i)}},Pt=e=>e.classList.add("hydrated"),Ye=(e,t,s,i)=>{const o=N(e);if(!o)return;const r=e,a=o.l.get(t),l=o.i,n=r;s=Pe(s,i.t[t][0],!!(64&i.i));const d=Number.isNaN(a)&&Number.isNaN(s);if(s!==a&&!d){if(o.l.set(t,s),i.F){const h=i.F[t];h&&h.map((c=>{try{const[[u,f]]=Object.entries(c);(128&l||1&f)&&(n?n[u](s,a,t):o.T.push((()=>{o.D[u](s,a,t)})))}catch(u){O(u,r)}}))}if(2&l){if(n.componentShouldUpdate&&n.componentShouldUpdate(s,a,t)===!1&&!(16&l))return;16&l||me(o,!1)}}},qt=(e,t,s)=>{var i,o;const r=e.prototype;64&t.i&&1&s&&vt.forEach((a=>{const l=r[a];Object.defineProperty(r,a,{value(...n){var d;const h=N(this),c=this;c?typeof l=="function"&&l.call(c,...n):(d=h?.H)==null||d.then((u=>{const f=u[a];typeof f=="function"&&f.call(u,...n)}))}})}));{e.watchers&&!t.F&&(t.F=Fe(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const a=Object.entries((i=t.t)!=null?i:{});a.map((([l,[n]])=>{if(31&n||32&n){const{get:d,set:h}=P(r,l)||{};d&&(t.t[l][0]|=2048),h&&(t.t[l][0]|=4096),Object.defineProperty(r,l,{get(){return d?d.apply(this):(c=l,N(this).l.get(c));var c},configurable:!0,enumerable:!0}),Object.defineProperty(r,l,{set(c){const u=N(this);if(u){if(h)return(32&n?this[l]:u.$hostElement$[l])===void 0&&u.l.get(l)&&(c=u.l.get(l)),h.apply(this,[Pe(c,n,!!(64&t.i))]),void Ye(this,l,c=32&n?this[l]:u.$hostElement$[l],t);Ye(this,l,c,t)}}})}}));{const l=new Map;r.attributeChangedCallback=function(n,d,h){E.jmp((()=>{var c;const u=l.get(n),f=N(this);if(this.hasOwnProperty(u),r.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==h)return;if(u==null){const b=f?.i;if(f&&b&&!(8&b)&&h!==d){const m=this,S=(c=t.F)==null?void 0:c[n];S?.forEach((y=>{const[[x,I]]=Object.entries(y);m[x]!=null&&(128&b||1&I)&&m[x].call(m,h,d,n)}))}return}const p=a.find((([b])=>b===u)),_=p&&4&p[1][0],w=_&&h===null&&this[u]===void 0;_&&(h=h!==null&&h!=="false");const v=Object.getOwnPropertyDescriptor(r,u);w||h==this[u]||v.get&&!v.set||(this[u]=h)}))},e.observedAttributes=Array.from(new Set([...Object.keys((o=t.F)!=null?o:{}),...a.filter((([n,d])=>31&d[0])).map((([n,d])=>{var h;const c=d[1]||n;return l.set(c,n),512&d[0]&&((h=t.C)==null||h.push([n,c])),c}))]))}}return e},ee=(e,t)=>{const s={i:t[0],p:t[1]};try{s.t=t[2],s.W=t[3],s.F=Fe(e.F),s.P=e.P,s.U=e.U,s.C=[];const i=e.prototype.connectedCallback,o=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((r,a)=>{const l={i:0,$hostElement$:r,o:a,l:new Map,B:new Map};l.H=new Promise((d=>l.L=d)),r["s-p"]=[],r["s-rc"]=[];const n=l;r.__stencil__getHostRef=()=>n,512&a.i&&bt(r,l)})(this,s)},connectedCallback(){if(!this.__hasHostListenerAttached){const r=N(this);if(!r)return;Je(this,r,s.W),this.__hasHostListenerAttached=!0}(r=>{if(!(1&E.i)){const a=N(r);if(!a)return;const l=a.o;if(1&a.i)Je(r,a,l.W),a?.D||a?.H&&a.H.then((()=>{}));else{a.i|=1,12&l.i&&(n=>{if(!k.document)return;const d=n["s-cr"]=k.document.createComment("");d["s-cn"]=!0,T(n,d,n.firstChild)})(r);{let n=r;for(;n=n.parentNode||n.host;)if(n["s-p"]){Ue(a,a.R=n);break}}l.t&&Object.entries(l.t).map((([n,[d]])=>{if(31&d&&Object.prototype.hasOwnProperty.call(r,n)){const h=r[n];delete r[n],r[n]=h}})),(async(n,d,h)=>{let c;try{if(!(32&d.i)&&(d.i|=32,c=n.constructor,customElements.whenDefined(n.localName).then((()=>d.i|=128)),c&&c.style)){let p;typeof c.style=="string"&&(p=c.style);const _=$e(h);W.has(_)||((w,v,b)=>{let m=W.get(w);oe&&b?(m=m||new CSSStyleSheet,typeof m=="string"?m=v:m.replaceSync(v)):m=v,W.set(w,m)})(_,p,!!(1&h.i))}const u=d.R,f=()=>me(d,!0);u&&u["s-rc"]?u["s-rc"].push(f):f()}catch(u){O(u,n),d.A&&(d.A(),d.A=void 0),d.L&&d.L(n)}})(r,a,l)}}})(this),i&&i.call(this)},disconnectedCallback(){(async r=>{if(!(1&E.i)){const a=N(r);a?.V&&(a.V.map((l=>l())),a.V=void 0)}$.has(r)&&$.delete(r),r.shadowRoot&&$.has(r.shadowRoot)&&$.delete(r.shadowRoot)})(this),o&&o.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${s.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else kt.call(this,s)}}),Object.defineProperty(e,"is",{value:s.p,configurable:!0}),qt(e,s,3)}catch(i){return O(i),e}},Mt=(e,t)=>t,Je=(e,t,s)=>{s&&k.document&&s.map((([i,o,r])=>{const a=Rt(k.document,e,i),l=jt(t,r),n=zt(i);E.ael(a,o,l,n),(t.V=t.V||[]).push((()=>E.rel(a,o,l,n)))}))},jt=(e,t)=>s=>{try{e.$hostElement$[t](s)}catch(i){O(i,e.$hostElement$)}},Rt=(e,t,s)=>8&s?k:t,zt=e=>yt?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function Cs(e){return e}function Xe(e){var t,s,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(s=Xe(e[t]))&&(i&&(i+=" "),i+=s)}else for(s in e)e[s]&&(i&&(i+=" "),i+=s);return i}function M(){for(var e,t,s=0,i="",o=arguments.length;s<o;s++)(e=arguments[s])&&(t=Xe(e))&&(i&&(i+=" "),i+=t);return i}const Ze=e=>{const t=Array.isArray(e)?e[e.length-1]:e;return typeof t=="string"&&t.trim().endsWith(".")},Bt=/\w/,Ht=e=>e.replace(Bt,t=>t.toLocaleUpperCase()),Qe=(e,t)=>typeof e=="function"?e(t):t?Ht(e):e,Gt=Object.freeze(Object.defineProperty({__proto__:null,getIndicatorText:({children:e,fieldRequirement:t,fieldRequirementOptionalText:s,fieldRequirementRequiredText:i,isLabelSentence:o})=>{const r=o?o(e):Ze(e);if(t==="required")return Qe(i&&i.length>0?i:"(required)",r);if(t==="optional")return Qe(s&&s.length>0?s:"(optional)",r)},isSentence:Ze},Symbol.toStringTag,{value:"Module"})),te=64,et=10,tt=te/2-et/2,Wt=te/2,be=2*Math.PI*tt,Ut=`0 0 ${te} ${te}`,Kt=Object.freeze(Object.defineProperty({__proto__:null,calculateStrokeDasharray:(e=0,t)=>{const s=typeof t=="number"&&t>0?t:1,o=Math.max(0,Math.min(s,e))/s*100,r=(be*o/100).toFixed(2),a=(be-parseFloat(r)).toFixed(2);return`${r} ${a}`},centerPosition:Wt,circumference:be,radius:tt,thickness:et,viewBox:Ut},Symbol.toStringTag,{value:"Module"})),Yt=Object.freeze(Object.defineProperty({__proto__:null,getGidsChevronButtonControlClassNames:({size:e},t)=>M("gids-chevron-button-control",{"gids-chevron-button-control--small":e==="sm","gids-chevron-button-control--large":e==="lg"},t),getGidsDropdownClassNames:({expanded:e},t)=>M("gids-dropdown",{"gids-dropdown--expanded":e},t)},Symbol.toStringTag,{value:"Module"})),Jt=Object.freeze(Object.defineProperty({__proto__:null,getGidsFieldClassNames:e=>M("gids-field",e)},Symbol.toStringTag,{value:"Module"})),Xt=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>M("gids-icon",{"gids-icon--xs":e==="xs","gids-icon--sm":e==="sm","gids-icon--md":e==="md","gids-icon--lg":e==="lg"},t)},Symbol.toStringTag,{value:"Module"})),Zt=Object.freeze(Object.defineProperty({__proto__:null,getGidsLabelClassNames:({disabled:e},t)=>M("gids-label",{"gids-label--disabled":e},t)},Symbol.toStringTag,{value:"Module"})),Qt=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerControlClassNames:({size:e,indeterminate:t,value:s},i)=>M("gids-spinner-control",{"gids-spinner-control--xs":e==="xs","gids-spinner-control--sm":e==="sm","gids-spinner-control--lg":e==="lg","gids-spinner-control--xl":e==="xl","gids-spinner-control--2xl":e==="2xl","gids-spinner-control--determinate":t===!1},s,i)},Symbol.toStringTag,{value:"Module"})),ve=Symbol("defaultPath"),st=Symbol("pathSet"),ye="gids-asset-paths-set";class es extends EventTarget{#e=new Map;constructor(){super()}#t(t,s){this.#e.set(t,s)}#s(t){return this.#e.get(t)??null}#i=()=>{this.dispatchEvent(new Event(ye))};haveAssetPathsBeenSet(){return this.#s(st)!==null}setAssetPaths(t,s){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#t(ve,t);else{for(const i in t)this.#t(i,t[i]);s&&this.#t(ve,s)}this.#t(st,"true"),setTimeout(this.#i,0)}}getAssetFilePath(t){const s=this.#s(t);if(s===null){const i=this.#s(ve);if(i!==null)return`${i}${i.endsWith("/")?"":"/"}${t}`}return s}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(ye,t,{once:!0}),()=>{this.removeEventListener(ye,t)}}}const we=Symbol.for("GIDS"),ts=()=>(globalThis[we]===void 0&&(globalThis[we]={assetPaths:{}}),globalThis[we]),ss=e=>{const t=ts().assetPaths;return t[e]===void 0&&(t[e]=new es),t[e]};function _e(){return ss("@ganpatiinfo/gids-web-shared")}function is(){return _e().haveAssetPathsBeenSet()}function it(e){return _e().getAssetFilePath(e)}function os(e){return _e().onAssetPathsSet(e)}let rs=0;const ot=(e,t="gids")=>e||`${t}-${rs++}`,ns=e=>e.type==="hidden",as=e=>{if(!(e instanceof HTMLElement))return!1;const{nodeName:t}=e;return!!(["BUTTON","DETAILS","EMBED","IFRAME","KEYGEN","LABEL","SELECT","TEXTAREA"].includes(t)||t==="A"&&e.hasAttribute("href")||e instanceof HTMLInputElement&&!ns(e)||["AUDIO","VIDEO"].includes(t)&&e.hasAttribute("controls")||["IMG","OBJECT"].includes(t)&&e.hasAttribute("usemap")||e.hasAttribute("tabindex")&&e.tabIndex>-1)},{getIndicatorText:ls}=Gt,{getGidsLabelClassNames:cs}=Zt,ds=({disabled:e,fieldRequirement:t,fieldRequirementOptionalText:s,fieldRequirementRequiredText:i,info:o,htmlFor:r,labelId:a,class:l,isLabelSentence:n,...d},h)=>{const c=ls({children:h,fieldRequirement:t,fieldRequirementOptionalText:s,fieldRequirementRequiredText:i,isLabelSentence:n});return g("div",{class:cs({disabled:e},l),...d},g("label",{htmlFor:r,id:a},h,c&&g("span",{class:"gids-label__field-requirement"},c)),o)},rt={"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"]},nt=new Map;for(const e in rt)for(const t of rt[e])nt.set(t,e);function hs(e){return nt.get(e)}function at(e,t="regular",s){const i=hs(e);let o=i??"";return s&&i&&(o=s(i)??i),`${o}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:us}=Xt,se=({name:e,size:t,appearance:s,alt:i,class:o,titleId:r,src:a,...l})=>{const n=ot(r);let d=a;return d===void 0&&is()&&(d=at(e,s,it)),g("svg",{ref:h=>{d===void 0&&os((()=>{(function(c,u,f){if(!c)return;const p=document.createElementNS("http://www.w3.org/2000/svg","use");p.setAttribute("href",at(u,f,it)),c.appendChild(p)})(h,e,s)}))},width:"16",height:"16",class:us({size:t},o),role:"img","aria-hidden":i===""?"true":void 0,"aria-labelledby":i===""?void 0:n,...l},i!==""&&g("title",{id:n},i||e),d!==void 0?g("use",{href:d}):null)},{getGidsSpinnerControlClassNames:ps}=Qt,{calculateStrokeDasharray:gs,thickness:lt,radius:ct,centerPosition:ie,viewBox:fs}=Kt,ms=({size:e,indeterminate:t,value:s,max:i,...o})=>{let r;return t||(r={strokeDashArray:gs(s,i||0),strokeDashoffset:"0"}),g("svg",{class:ps({size:e,indeterminate:t,value:s}),viewBox:fs,...o},g("circle",{class:"gids-spinner-control__track",cx:ie,cy:ie,r:ct,"stroke-width":lt}),g("circle",{style:r,class:"gids-spinner-control__progress",cx:ie,cy:ie,r:ct,"stroke-width":lt}))},bs=ee(class extends U{constructor(e){super(),e!==!1&&this.__registerHost(),this.#t={},this._focusInput=t=>{const s=t.target;s===this.#e||this._isWithinInteractiveElement(s)||this.#e?.focus()},this._handleInputFocusAndBlur=t=>{this._el.dispatchEvent(new FocusEvent(t.type,{relatedTarget:t.relatedTarget}))}}get defaultValue(){return this.#e?.defaultValue??this.#t.defaultValue??""}set defaultValue(e){this.#e?this.#e.defaultValue=e:this.#t.defaultValue=e}get value(){return this.#e?.value??this.#t.value??this.#t.defaultValue??""}set value(e){this.#e?this.#e.value=e:this.#t.value=e}#e;#t;_isWithinInteractiveElement(e){if(e===null||e===this._el||!this._el.contains(e))return!1;if(as(e))return!0;{const t=e.parentElement;if(t)return this._isWithinInteractiveElement(t)}return!1}connectedCallback(){this._el.addEventListener("click",this._focusInput)}disconnectedCallback(){this._el.removeEventListener("click",this._focusInput)}render(){return g(Mt,{key:"2c544e40744c4f3f264117a0f863bf594b520ea0"},g("slot",{key:"a0f0ee09eefbb1a10f5b07dd96a2edb2278fe661",name:"leadingIcon"}),this.leadingLabel&&g("span",{key:"d7f1c22c9b7dca4ddb16b54e1f6d8df54c9cea41",class:"gids-input__label"},this.leadingLabel),g("slot",{key:"55edf5a87aa0ec574f2324dfa5f46fcc2a7d6bf6",name:"leadingAccessory"}),g("input",{key:"b7aed46c782dcd4da796dca7e43bf6974bb5ba53",...this.inputProps,ref:e=>{this.#e=e,this.#t.value!==void 0&&(this.#e.value=this.#t.value,delete this.#t.value),this.#t.defaultValue!==void 0&&(this.#e.defaultValue=this.#t.defaultValue,delete this.#t.defaultValue)},class:"gids-input__control",name:this.name,disabled:this.disabled,readOnly:this.readOnly,required:this.required,onFocus:this._handleInputFocusAndBlur,onBlur:this._handleInputFocusAndBlur}),g("slot",{key:"f2b11319075c8efdee53f410c9be6a366eb96a53",name:"trailingAccessory"}),this.trailingLabel&&g("span",{key:"be6891ba9714f58c5245cdaaac2b80d5362f96c6",class:"gids-input__label"},this.trailingLabel),g("slot",{key:"a277264aff77c51c41d43d4b6eab2cf2072979c4",name:"trailingIcon"}),this.status==="incomplete"&&g(se,{key:"e108c8b0ecbe509e1aee59172b46c5eb258d4eb6",name:"warning",appearance:"filled",class:"gids-input__warning-icon"}),this.status==="complete"&&g(se,{key:"3a9b1fc10f99588a23a13a2abf6648bfcba02eff",name:"positive",appearance:"filled",class:"gids-input__positive-icon"}),this.loading&&g(ms,{key:"372490f8eb6f0902c4fd729dc3829edda9270514",size:"md",indeterminate:!0}))}get _el(){return this}},[260,"gids-input",{appearance:[513],defaultValue:[6657,"default-value"],disabled:[516],inputProps:[16],leadingLabel:[513,"leading-label"],trailingLabel:[513,"trailing-label"],loading:[516],name:[513],readOnly:[516,"readonly"],required:[516],status:[513],value:[6145]}]);function ke(){typeof customElements<"u"&&["gids-input"].forEach((e=>{e==="gids-input"&&(customElements.get(e)||customElements.define(e,bs))}))}ke();const{getGidsDropdownClassNames:vs,getGidsChevronButtonControlClassNames:ys}=Yt,xe="gids-dropdown-item--active",ws=ee(class extends U{constructor(e){super(),e!==!1&&this.__registerHost(),this.appearance="default",this.expanded=!1,this.filterValue="",this.isFilterEditing=!1,this.hasLeadingIcon=!1,this.hasLeadingAccessory=!1,this.activeIndex=-1,this.hasItemListener=!1,this.suppressNextMenuClickSelection=!1,this.hasDocumentListeners=!1,this.hasPendingControlRevalidation=!1,this.handleDropdownItemSelect=t=>{const{value:s,title:i,disabled:o,id:r,isPlaceholderItem:a}=t.detail;o||typeof s!="string"||(this.suppressNextMenuClickSelection=!0,queueMicrotask((()=>{this.suppressNextMenuClickSelection=!1})),this.applySelection({id:r,value:s,title:i,disabled:!1,originalEvent:t,isPlaceholderItem:a}))},this.handleMenuClick=t=>{if(this.suppressNextMenuClickSelection)return;const s=t.target;if(!(s instanceof Element))return;const i=s.closest(".gids-dropdown-item");if(!i||!this.hostElement.contains(i)||i.hasAttribute("disabled")||i.getAttribute("aria-disabled")==="true")return;const o=i instanceof HTMLButtonElement?i.value:i.getAttribute("value")||"";if(typeof o!="string"||o.length===0)return;const r=i instanceof HTMLButtonElement?i.id:i.getAttribute("id")??"";if(typeof r!="string"||r.length===0)return;const a=i.getAttribute("is-placeholder-item")??"";let l=i.textContent?.trim()??"";l.endsWith("checkmark")&&(l=l.slice(0,-9).trim()),this.applySelection({id:r,value:o,title:l.trim(),disabled:!1,originalEvent:t,isPlaceholderItem:!(!a||a!=="true")})},this.handleFilterInput=t=>{const s=t.target;this.filterValue=s?.value??"",this.isFilterEditing=!0,this.clearActive(),this.expanded||this.setExpandedState(!0,t),this.applyFilter()},this.handleInputKeyDown=t=>{if(!this.isInteractive())return;const s=t.key,i=s==="ArrowDown";if((i||s==="ArrowUp")&&!t.metaKey&&!t.ctrlKey)return t.preventDefault(),this.expanded||this.setExpandedState(!0,t),void this.moveActive(i?1:-1);if(s==="Home"&&this.expanded)return t.preventDefault(),void this.setActiveByIndex(0);if(s==="End"&&this.expanded)return t.preventDefault(),void this.setActiveByIndex(this.getVisibleEnabledItems().length-1);if(s==="Enter"){if(!this.expanded)return t.preventDefault(),this.setExpandedState(!0,t),void this.setActiveByIndex(0);this.selectActive()&&t.preventDefault()}},this.handleTriggerToggle=t=>{this.isInteractive()&&this.setExpandedState(!this.expanded,t)},this.handleInputFocusAndBlur=t=>{this.hostElement.dispatchEvent(new FocusEvent(t.type,{relatedTarget:t.relatedTarget}))},this.handleInputClickToggle=t=>{t.defaultPrevented||this.handleTriggerToggle(t)},this.handleChevronClickToggle=t=>{t.defaultPrevented||(t.stopPropagation(),this.handleTriggerToggle(t))},this.handleDocumentPointerDown=t=>{t.button!==2&&this.expanded&&((typeof t.composedPath=="function"?t.composedPath():[]).includes(this.hostElement)||this.hostElement.contains(t.target)||this.setExpandedState(!1,t))},this.handleDocumentKeyDown=t=>{if(!this.expanded)return;const s=t.key;if(s==="Escape"||s==="Esc")return t.preventDefault(),void this.setExpandedState(!1,t);s==="Tab"&&this.setExpandedState(!1,t)},this.handleFormReset=()=>{this.value=this.initialValue,this.selectedItemTitle=void 0,this.isFilterEditing=!1,this.filterValue="",this.setExpandedState(!1)}}handleExpandedChange(e){e&&!this.isInteractive()&&(this.expanded=!1)}handleInteractivityChange(){!this.isInteractive()&&this.expanded&&this.setExpandedState(!1)}connectedCallback(){this.initialValue=this.value,this.attachItemListener(),this.attachDocumentListeners(),this.attachFormListener()}disconnectedCallback(){this.detachItemListener(),this.detachDocumentListeners(),this.detachFormListener()}componentWillLoad(){this.checkSlots()}componentWillUpdate(){this.checkSlots()}checkSlots(){this.hasLeadingIcon=!!this.hostElement.querySelector('[slot="leadingIconDropdown"]'),this.hasLeadingAccessory=!!this.hostElement.querySelector('[slot="leadingAccessoryDropdown"]')}getItemElements(){return Array.from(this.hostElement.querySelectorAll(".gids-dropdown-item"))}getVisibleEnabledItems(){return this.getItemElements().filter((e=>e.style.display!=="none"&&!e.hasAttribute("disabled")&&e.getAttribute("aria-disabled")!=="true"))}attachItemListener(){this.hasItemListener||(this.hostElement.addEventListener("onPressDropdownItem",this.handleDropdownItemSelect),this.hasItemListener=!0)}detachItemListener(){this.hasItemListener&&(this.hostElement.removeEventListener("onPressDropdownItem",this.handleDropdownItemSelect),this.hasItemListener=!1)}applySelection(e){this.value=e.value,this.selectedItemTitle=typeof e.title=="string"?e.title:void 0,this.isFilterEditing=!1,this.filterValue="",this.clearActive(),this.emitNativeSelectionEvents(this.selectedItemTitle??""),this.setExpandedState(!1,this.coerceEvent(e.originalEvent)),this.onSelectionChange?.(e),this.hostElement.dispatchEvent(new CustomEvent("gidsDropdownChange",{bubbles:!0,composed:!0,detail:e}))}getInputControl(){return this.hostElement.querySelector(".gids-input__control")}emitNativeSelectionEvents(e){const t=this.getInputControl();t&&(t.value=e,t.dispatchEvent(new Event("input",{bubbles:!0,composed:!0})),t.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))}clearActive(){this.activeIndex=-1,this.getItemElements().forEach((e=>e.classList.remove(xe))),this.setActiveDescendant(void 0)}setActiveByIndex(e){const t=this.getVisibleEnabledItems();if(this.getItemElements().forEach((o=>o.classList.remove(xe))),t.length===0)return this.activeIndex=-1,void this.setActiveDescendant(void 0);const s=Math.max(0,Math.min(e,t.length-1)),i=t[s];if(!i)return this.activeIndex=-1,void this.setActiveDescendant(void 0);this.activeIndex=s,i.classList.add(xe),i.scrollIntoView({block:"nearest"}),this.setActiveDescendant(i.id||void 0)}moveActive(e){const t=this.getVisibleEnabledItems();t.length!==0?this.setActiveByIndex(this.activeIndex===-1?e>0?0:t.length-1:(this.activeIndex+e+t.length)%t.length):this.clearActive()}selectActive(){const e=this.getVisibleEnabledItems();if(e.length===0)return!1;const t=this.activeIndex>=0?e[this.activeIndex]:e[0];return!!t&&(t.click(),this.getInputControl()?.focus(),!0)}applyFilter(){const e=this.filterValue.trim().toLowerCase();this.getItemElements().forEach((t=>{const s=(t.textContent??"").toLowerCase(),i=e.length===0||s.includes(e);t.style.display=i?"":"none"}))}setActiveDescendant(e){const t=this.getInputControl();t&&(e?t.setAttribute("aria-activedescendant",e):t.removeAttribute("aria-activedescendant"))}setExpandedState(e,t){const s=!!e;s&&!this.isInteractive()||this.expanded!==s&&(this.expanded=s,s||(this.isFilterEditing=!1,this.filterValue="",this.clearActive(),this.applyFilter(),this.syncInputDisplayValue()),this.hostElement.dispatchEvent(new CustomEvent("gidsDropdownToggle",{bubbles:!0,composed:!0,detail:{expanded:s,originalEvent:t}})))}syncInputDisplayValue(){const e=this.getInputControl();e&&e.value!==(this.selectedItemTitle??"")&&(e.value=this.selectedItemTitle??"")}attachDocumentListeners(){this.hasDocumentListeners||typeof document>"u"||(document.addEventListener("pointerdown",this.handleDocumentPointerDown),document.addEventListener("keydown",this.handleDocumentKeyDown),this.hasDocumentListeners=!0)}detachDocumentListeners(){this.hasDocumentListeners&&typeof document<"u"&&(document.removeEventListener("pointerdown",this.handleDocumentPointerDown),document.removeEventListener("keydown",this.handleDocumentKeyDown),this.hasDocumentListeners=!1)}attachFormListener(){const e=this.hostElement.closest("form");this.patternForm!==e&&(this.patternForm&&this.patternForm.removeEventListener("reset",this.handleFormReset),this.patternForm=e??void 0,this.patternForm?.addEventListener("reset",this.handleFormReset))}detachFormListener(){this.patternForm&&(this.patternForm.removeEventListener("reset",this.handleFormReset),this.patternForm=void 0)}get form(){return this.getInputControl()?.form??this.patternForm??null}get validity(){return this.getInputControl()?.validity??{}}get validationMessage(){return this.getInputControl()?.validationMessage??""}get willValidate(){return this.getInputControl()?.willValidate??!1}async checkValidity(){return this.getInputControl()?.checkValidity()??!0}async reportValidity(){return this.getInputControl()?.reportValidity()??!0}async setCustomValidity(e){return this.getInputControl()?.setCustomValidity(e)}isInteractive(){return!(this.disabled||this.readOnly)}coerceEvent(e){if(typeof Event<"u"&&e!==null)return e instanceof Event?e:void 0}scheduleControlRevalidation(){if(this.hasPendingControlRevalidation)return;this.hasPendingControlRevalidation=!0;const e=()=>{this.hasPendingControlRevalidation=!1,this.checkValidity()};typeof requestAnimationFrame!="function"?e():requestAnimationFrame(e)}getEnhancedInputProps(){const e={...this.inputProps??{}};typeof e.autoComplete=="string"&&e?.autoComplete?.trim?.()?.length!==0||(e.autoComplete="off");const t=e.onInput;e.onInput=o=>{t?.(o),this.handleFilterInput(o)};const s=e.onBlur;e.onBlur=o=>{s?.(o),this.scheduleControlRevalidation()};const i=e.onKeyDown;return e.onKeyDown=o=>{i?.(o),o.defaultPrevented||this.handleInputKeyDown(o)},e}render(){const e=this.expanded&&this.isInteractive(),t=vs({expanded:e}),s=this.getEnhancedInputProps(),i=typeof s.id=="string"?s.id:void 0,o=i?`${i}__menu`:void 0;s.role="combobox",s["aria-expanded"]=e?"true":"false",s["aria-haspopup"]="listbox",s["aria-autocomplete"]="list",o&&(s["aria-controls"]=o);const r=this.isFilterEditing?this.filterValue:this.selectedItemTitle??this.value??"",a=e?"true":"false",l=g("button",{key:"ef56b4d650c7ede283ac956e1bb3fdb99f0464b9",class:ys({size:"lg"}),slot:"trailingAccessory",type:"button",onClick:this.handleChevronClickToggle,"aria-label":e?"Collapse options":"Expanded options","aria-expanded":a,"aria-haspopup":"listbox","aria-controls":o,disabled:this.disabled||this.readOnly,tabIndex:-1},g("span",{key:"3707be6a0a5b247f6c624486c3ff5f69add5991c",class:"gids-button__content"},g(se,{key:"b36624f20725a6093fbe786dd34ae70131035b1d",name:"chevron-vertical",alt:""})));return g("div",{key:"07368ce8b66a08e4f874e9335a774a305d07b709",class:t},g("gids-input",{key:"13f996dabaf673f24ccb3752f5239a6461d8612e",appearance:this.appearance,loading:this.loading,disabled:this.disabled,readOnly:this.readOnly,required:this.required,value:r,name:this.name,inputProps:s,onClick:this.handleInputClickToggle,onFocus:this.handleInputFocusAndBlur,onBlur:this.handleInputFocusAndBlur},this.hasLeadingIcon&&g("slot",{key:"7ec0577f5a08094ca8caf73882dd5fee142f8229",name:"leadingIconDropdown",slot:"leadingIcon"}),this.hasLeadingAccessory&&g("slot",{key:"41a33c1e726a203c096de11b82ce4bd7e39b4641",name:"leadingAccessoryDropdown",slot:"leadingAccessory"}),l),g("div",{key:"c59f22dec8e5ca68bfa4bee0ba5ffc7150602468",class:"gids-dropdown__menu",id:o,role:"listbox",onClick:this.handleMenuClick},g("slot",{key:"93bb68248f925d570f01533382d71044079ee786"})))}get hostElement(){return this}static get watchers(){return{expanded:[{handleExpandedChange:0}],disabled:[{handleInteractivityChange:0}],readOnly:[{handleInteractivityChange:0}]}}static get style(){return'@charset "UTF-8";.gids-dropdown{position:relative}.gids-dropdown__menu{position:absolute;inset-inline:0;top:calc(100% + var(--gids-gap-050));z-index:3;display:none;flex-direction:column;min-height:55px;max-height:20rem;overflow-x:hidden;overflow-y:auto;background-color:var(--gids-elevation-surface-overlay-default);box-shadow:var(--gids-elevation-shadow-overlay);border-radius:var(--gids-border-radius-lg)}.gids-dropdown__menu>*{flex-shrink:0}.gids-dropdown--expanded .gids-dropdown__menu{display:flex}.gids-dropdown__leading-icon{display:flex;align-items:center}.gids-dropdown__accessory{display:flex;align-items:center}'}},[260,"gids-dropdown",{appearance:[1],expanded:[1540],inputProps:[16],disabled:[516],readOnly:[516,"read-only"],loading:[516],value:[513],name:[1],onSelectionChange:[16],required:[4],filterValue:[32],isFilterEditing:[32],selectedItemTitle:[32],hasLeadingIcon:[32],hasLeadingAccessory:[32],checkValidity:[64],reportValidity:[64],setCustomValidity:[64]},void 0,{expanded:[{handleExpandedChange:0}],disabled:[{handleInteractivityChange:0}],readOnly:[{handleInteractivityChange:0}]}]);function dt(){typeof customElements<"u"&&["gids-dropdown","gids-input"].forEach((e=>{switch(e){case"gids-dropdown":customElements.get(e)||customElements.define(e,ws);break;case"gids-input":customElements.get(e)||ke()}}))}dt();const j=globalThis.CSSStyleSheet!==void 0?new CSSStyleSheet:void 0;let ht=!1;j&&document.adoptedStyleSheets?document.adoptedStyleSheets.push(j):console.warn("CSSStyleSheet is not defined. Omitting constructed stylesheet behaviour.");let Se=null;const Ee=globalThis.MutationObserver!==void 0?new MutationObserver((()=>{ut()})):void 0,ut=()=>{if(j===void 0)return!1;const e=(()=>{if(j===void 0)return;const t=[];for(let s=0;s<document.styleSheets.length;s++){const i=document.styleSheets.item(s);if(i)try{let o=-1,r=0;for(let a=0;a<i.cssRules.length;a++){const l=i.cssRules.item(a);if(l?.cssText.startsWith("gids-global-styles-start"))o=a;else if(o>-1){if(l?.cssText.startsWith("gids-global-styles-end")){r=a-o+1;break}t.push(l)}}if(o>-1)return{rulesStartIndex:o,originalRulesCount:r,rules:t,styleSheet:i}}catch(o){if(!(o instanceof DOMException))throw o}}})();if(e!==void 0){const t=e.styleSheet.ownerNode;return Ee!==void 0&&t!==Se&&(Se&&Ee.disconnect(),t instanceof Element&&Ee.observe(t,{childList:!0,characterData:!0,subtree:!0}),Se=t),j.replaceSync((s=>s.rules.map((i=>i.cssText)).join(""))(e)),(s=>{const{rulesStartIndex:i,originalRulesCount:o,styleSheet:r}=s;for(let a=0;a<o;a++)r.deleteRule(i)})(e),!0}return console.warn("refreshConstructedGidsStylesheet: Gids stylesheet is not found in document."),!1},_s=()=>(ht||(ht=ut()),j),{getGidsFieldClassNames:ks}=Jt,xs=ee(class extends U{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=_s();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(),i=["gids-field__status-text"];if(e){const o=this._getStatusModifierClass(s,"gids-field__status-text");o!=null&&i.push(o)}return g(De,{key:"a7eb8d9404ca5e3d4e965d9a5c6496572b0d1240"},g("div",{key:"8578998418e9012e5d2f537dcad0f835e0341829",class:ks()},g("div",{key:"f96cbfc7c87b5551c8167a13afe0de5dfc927b44",class:"gids-field__header",hidden:!this._hasLabelContent()},g("slot",{key:"5165b9dc75b397b17e7adad373596c2d9a991879",ref:this._setLabelSlot,name:"label",onSlotchange:this._handleControlSlotChange}),g("div",{key:"21e87c9692e9b5f41770eafe34b49bfaedc58af7",class:"gids-field__count","aria-live":"polite"},this.count)),g("div",{key:"fcf2e25a96163fd0abccf422832af553c81b2360",class:"gids-field__control"},g("slot",{key:"fa40cebb1ad7cb516e69865d416f76a833c18adb",ref:this._setControlSlot,onSlotchange:this._handleControlSlotChange})),g("p",{key:"dea14f1ef4c172050eaeee03f1e934cba3f5b3e8",class:"gids-field__supporting-text",hidden:!this._shouldShowHelperText()},this.helperText),e?g("p",{class:i.join(" "),role:"status","aria-live":"polite"},this._renderStatusIcon(s),t!==void 0?g("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"],i=this._getStatusModifierClass(e,"gids-field__status-icon");i!=null&&s.push(i);let o=e;return e==="error"&&(o="danger"),e==="success"&&(o="positive"),g(se,{appearance:"filled",size:"sm",alt:"",name:t,class:s.join(" "),style:{"--gidsIcon-color":`var(--gids-color-icon-${o})`}})}_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 i=Array.from(s).filter((o=>o instanceof HTMLInputElement&&o.type==="radio"&&this._el.contains(o)));if(i.length>0)return i}}if(e.name!=null){const s=`input[type="radio"][name="${CSS.escape(e.name)}"]`,i=Array.from(this._el.querySelectorAll(s));if(i.length>0)return i}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,i=this._asTextControl(s);if(i!==null)return i;const o=s.querySelector("input, textarea");if(o instanceof HTMLInputElement||o instanceof HTMLTextAreaElement)return o}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 pt(){typeof customElements<"u"&&["gids-field"].forEach((e=>{e==="gids-field"&&(customElements.get(e)||customElements.define(e,xs))}))}pt();const gt=ee(class extends U{constructor(e){super(),e!==!1&&this.__registerHost(),this.internals=this.attachInternals(),this.appearance="default",this.expanded=!1,this.#e=ot(),this.handleSelectionChange=t=>{this.value=t.value,this.syncFormValue(t.value),this.onSelectionChange?.(t)},this.handleDropdownFocusAndBlur=t=>{this.hostElement.dispatchEvent(new FocusEvent(t.type,{relatedTarget:t.relatedTarget}))}}#e;componentWillLoad(){this.syncFormValue(this.value)}handleValueChange(e){this.syncFormValue(e)}syncFormValue(e){this.internals.setFormValue(e??"")}getDropdownControl(){return this.hostElement.querySelector("gids-dropdown")}get form(){return this.getDropdownControl()?.form??null}get validity(){return this.getDropdownControl()?.validity??{}}get validationMessage(){return this.getDropdownControl()?.validationMessage??""}get willValidate(){return this.getDropdownControl()?.willValidate??!1}async checkValidity(){const e=this.getDropdownControl();return!e?.checkValidity||await e.checkValidity()}async reportValidity(){const e=this.getDropdownControl();return!e?.reportValidity||await e.reportValidity()}async setCustomValidity(e){const t=this.getDropdownControl();if(t?.setCustomValidity)return await t.setCustomValidity(e)}render(){const e=this.inputProps?.id??this.#e,t={...this.inputProps,id:e,placeholder:this.inputProps?.placeholder??"Please select an option"};return g("gids-field",{key:"2b1c115bfc0d826fff61b1a6af00e670c06faffc",disabled:this.disabled,helperText:this.helperText,statusText:this.statusText,status:this.status},this.label!==void 0?g(ds,{slot:"label",disabled:this.disabled,htmlFor:e,fieldRequirement:this.required?"required":void 0},this.label):null,g("gids-dropdown",{key:"ad124b57aed7f03b844a75f2fcf043cb87195792",appearance:this.appearance,expanded:this.expanded,inputProps:t,disabled:this.disabled,readOnly:this.readOnly,loading:this.loading,value:this.value,name:this.name,onSelectionChange:this.handleSelectionChange,onFocus:this.handleDropdownFocusAndBlur,onBlur:this.handleDropdownFocusAndBlur,required:this.required},g("slot",{key:"be64253e8780c045b16ee268bc2a9032259fdfad",name:"leadingIconDropdown"}),g("slot",{key:"281185f172cccae8a87fba6d62db56a5e95f8796",name:"leadingAccessoryDropdown"}),g("slot",{key:"c3f6ff2bb50363e0d5d165d41f9280b862dbc892"})))}static get formAssociated(){return!0}get hostElement(){return this}static get watchers(){return{value:[{handleValueChange:0}]}}},[324,"gids-dropdown-field",{label:[513],helperText:[513,"helper-text"],statusText:[513,"status-text"],status:[513],appearance:[513],expanded:[516],readOnly:[516,"readonly"],disabled:[516],loading:[516],inputProps:[16],value:[1025],name:[513],onSelectionChange:[16],required:[516],checkValidity:[64],reportValidity:[64],setCustomValidity:[64]},void 0,{value:[{handleValueChange:0}]}]);function ft(){typeof customElements<"u"&&["gids-dropdown-field","gids-dropdown","gids-field","gids-input"].forEach((e=>{switch(e){case"gids-dropdown-field":customElements.get(e)||customElements.define(e,gt);break;case"gids-dropdown":customElements.get(e)||dt();break;case"gids-field":customElements.get(e)||pt();break;case"gids-input":customElements.get(e)||ke()}}))}ft();const Ss=gt,Es=ft;D.GidsDropdownField=Ss,D.defineCustomElement=Es,Object.defineProperty(D,Symbol.toStringTag,{value:"Module"})}));
5
+ `);const y=this["s-cr"].parentElement;return(y.__childNodes?y.childNodes:(v=>{const m=[];for(let g=0;g<v.length;g++){const b=v[g]["s-nr"]||void 0;b&&b.isConnected&&m.push(b)}return m})(y.childNodes)).forEach((v=>{f===ve(v)&&p.push(v)})),c?p.filter((v=>v.nodeType===1)):p}).bind(d);d.assignedElements=h(!0),d.assignedNodes=h(!1)})(o),l=e&&e.m&&e.m[n],l&&l.O===s.O&&e.S&&Bt(e.S)),o},Bt=e=>{A.i|=1;const t=e.closest(ie.toLowerCase());if(t!=null){const n=Array.from(t.__childNodes||t.childNodes).find((s=>s["s-cr"])),i=Array.from(e.__childNodes||e.childNodes);for(const s of n?i.reverse():i)s["s-sh"]!=null&&(N(t,s,n??null),s["s-sh"]=void 0,Le=!0)}A.i&=-2},Fe=(e,t)=>{A.i|=1;const n=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let i=e;for(;i=i.nextSibling;)i&&i["s-sn"]===e["s-sn"]&&i["s-sh"]===ie&&n.push(i)}for(let i=n.length-1;i>=0;i--){const s=n[i];s["s-hn"]!==ie&&s["s-ol"]&&(N(xe(s).parentNode,s,xe(s)),s["s-ol"].remove(),s["s-ol"]=void 0,s["s-sh"]=void 0,Le=!0),t&&Fe(s,t)}A.i&=-2},Wt=(e,t,n,i,s,o)=>{let r,l=e["s-cr"]&&e["s-cr"].parentNode||e;for(l.shadowRoot&&l.tagName===ie&&(l=l.shadowRoot),n.O==="template"&&(l=l.content);s<=o;++s)i[s]&&(r=Oe(null,n,s),r&&(i[s].S=r,N(l,r,xe(t))))},Ht=(e,t,n)=>{for(let i=t;i<=n;++i){const s=e[i];if(s){const o=s.S;Ut(s),o&&(Te=!0,o["s-ol"]?o["s-ol"].remove():Fe(o,!0),o.remove())}}},Ie=(e,t,n=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:n?(n&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),xe=e=>e&&e["s-ol"]||e,de=(e,t,n=!1)=>{const i=t.S=e.S,s=e.m,o=t.m,r=t.O,l=t.h;let a;l==null?(O=r==="svg"||r!=="foreignObject"&&O,r!=="slot"||we||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Bt(t.S.parentElement)),et(e,t,O),s!==null&&o!==null?((d,h,c,u,p=!1)=>{let f,y,v=0,m=0,g=0,b=0,E=h.length-1,w=h[0],_=h[E],k=u.length-1,C=u[0],P=u[k];const T=c.O==="template"?d.content:d;for(;v<=E&&m<=k;)if(w==null)w=h[++v];else if(_==null)_=h[--E];else if(C==null)C=u[++m];else if(P==null)P=u[--k];else if(Ie(w,C,p))de(w,C,p),w=h[++v],C=u[++m];else if(Ie(_,P,p))de(_,P,p),_=h[--E],P=u[--k];else if(Ie(w,P,p))w.O!=="slot"&&P.O!=="slot"||Fe(w.S.parentNode,!1),de(w,P,p),N(T,w.S,_.S.nextSibling),w=h[++v],P=u[--k];else if(Ie(_,C,p))w.O!=="slot"&&P.O!=="slot"||Fe(_.S.parentNode,!1),de(_,C,p),N(T,_.S,w.S),_=h[--E],C=u[++m];else{for(g=-1,b=v;b<=E;++b)if(h[b]&&h[b].$!==null&&h[b].$===C.$){g=b;break}g>=0?(y=h[g],y.O!==C.O?f=Oe(h&&h[m],c,g):(de(y,C,p),h[g]=void 0,f=y.S),C=u[++m]):(f=Oe(h&&h[m],c,m),C=u[++m]),f&&N(xe(w.S).parentNode,f,xe(w.S))}v>E?Wt(d,u[k+1]==null?null:u[k+1].S,c,u,m,k):m>k&&Ht(h,v,E)})(i,s,t,o,n):o!==null?(e.h!==null&&(i.textContent=""),Wt(i,null,t,o,0,o.length-1)):!n&&s!==null&&Ht(s,0,s.length-1),O&&r==="svg"&&(O=!1)):(a=i["s-cr"])?a.parentNode.textContent=l:e.h!==l&&(i.data=l)},B=[],Gt=e=>{let t,n,i;const s=e.__childNodes||e.childNodes;for(const o of s){if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;const r=o["s-sn"];for(i=n.length-1;i>=0;i--)if(t=n[i],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===o["s-hn"]||t["s-sh"]&&t["s-sh"]===o["s-hn"]))if(It(t,r)){let l=B.find((a=>a.k===t));Te=!0,t["s-sn"]=t["s-sn"]||r,l?(l.k["s-sh"]=o["s-hn"],l.N=o):(t["s-sh"]=o["s-hn"],B.push({N:o,k:t})),t["s-sr"]&&B.map((a=>{It(a.k,t["s-sn"])&&(l=B.find((d=>d.k===t)),l&&!a.N&&(a.N=l.N))}))}else B.some((l=>l.k===t))||B.push({k:t})}o.nodeType===1&&Gt(o)}},Ut=e=>{e.v&&e.v.ref&&tt.push((()=>e.v.ref(null))),e.m&&e.m.map(Ut)},Jn=(e,t)=>{nt.push((()=>e(t)))},N=(e,t,n,i)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,n);const{slotNode:s}=(function(o,r){var l;if(!(r=r||((l=o["s-ol"])==null?void 0:l.parentElement)))return{slotNode:null,slotName:""};const a=o["s-sn"]=ve(o)||"";return{slotNode:Xe(Ze(r,"childNodes"),r.tagName,a)[0],slotName:a}})(t);return s&&!i&&s.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,n):e?.insertBefore(t,n)},Qn=(e,t,n=!1)=>{var i,s,o,r,l;const a=e.$hostElement$,d=e.o,h=e.M||Ae(null,null);var c;const u=(c=t)&&c.O===Dt?t:x(null,null,t);if(ie=a.tagName,d.C&&(u.v=u.v||{},d.C.forEach((([p,f])=>{u.v[f]=a[p]}))),n&&u.v)for(const p of Object.keys(u.v))a.hasAttribute(p)&&!["key","ref","style","class"].includes(p)&&(u.v[p]=a[p]);if(u.O=null,u.i|=4,e.M=u,u.S=h.S=a.shadowRoot||a,we=!(!(1&d.i)||128&d.i),Je=a["s-cr"],Te=!1,de(h,u,n),A.i|=1,Le){Gt(u.S);for(const p of B){const f=p.k;if(!f["s-ol"]&&S.document){const y=S.document.createTextNode("");y["s-nr"]=f,N(f.parentNode,f["s-ol"]=y,f,n)}}for(const p of B){const f=p.k,y=p.N;if(f.nodeType===1&&n&&(f["s-ih"]=(i=f.hidden)!=null&&i),y){const v=y.parentNode;let m=y.nextSibling;if(m&&m.nodeType===1){let g=(s=f["s-ol"])==null?void 0:s.previousSibling;for(;g;){let b=(o=g["s-nr"])!=null?o:null;if(b&&b["s-sn"]===f["s-sn"]&&v===(b.__parentNode||b.parentNode)){for(b=b.nextSibling;b===f||b?.["s-sr"];)b=b?.nextSibling;if(!b||!b["s-nr"]){m=b;break}}g=g.previousSibling}}if((!m&&v!==(f.__parentNode||f.parentNode)||(f.__nextSibling||f.nextSibling)!==m)&&f!==m){if(N(v,f,m,n),f.nodeType===8&&f.nodeValue.startsWith("s-nt-")){const g=S.document.createTextNode(f.nodeValue.replace(/^s-nt-/,""));g["s-hn"]=f["s-hn"],g["s-sn"]=f["s-sn"],g["s-sh"]=f["s-sh"],g["s-sr"]=f["s-sr"],g["s-ol"]=f["s-ol"],g["s-ol"]["s-nr"]=g,N(f.parentNode,g,f,n),f.parentNode.removeChild(f)}f.nodeType===1&&f.tagName!=="SLOT-FB"&&(f.hidden=(r=f["s-ih"])!=null&&r)}f&&typeof y["s-rf"]=="function"&&y["s-rf"](y)}else f.nodeType===1&&(f.hidden=!0)}}if(Te&&Ft(u.S),A.i&=-2,B.length=0,!we&&!(1&d.i)&&a["s-cr"]){const p=u.S.__childNodes||u.S.childNodes;for(const f of p)if(f["s-hn"]!==ie&&!f["s-sh"]){if(n&&f["s-ih"]==null&&(f["s-ih"]=(l=f.hidden)!=null&&l),f.nodeType===1)f.hidden=!0;else if(f.nodeType===3&&f.nodeValue.trim()){const y=S.document.createComment("s-nt-"+f.nodeValue);y["s-sn"]=f["s-sn"],N(f.parentNode,y,f,n),f.parentNode.removeChild(f)}}}Je=void 0,tt.forEach((p=>p())),tt.length=0,nt.forEach((p=>p())),nt.length=0},Kt=(e,t)=>{if(t&&!e.A&&t["s-p"]){const n=t["s-p"].push(new Promise((i=>e.A=()=>{t["s-p"].splice(n-1,1),i()})))}},it=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Kt(e,e.R);const n=()=>ei(e,t);if(!t)return Wn(n);queueMicrotask((()=>{n()}))},ei=(e,t)=>{const n=e.$hostElement$,i=n;if(!i)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let s;return s=Ee(i,t?"componentWillLoad":"componentWillUpdate",void 0,n),s=Yt(s,(()=>Ee(i,"componentWillRender",void 0,n))),Yt(s,(()=>ni(e,i,t)))},Yt=(e,t)=>ti(e)?e.then(t).catch((n=>{console.error(n),t()})):t(),ti=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",ni=async(e,t,n)=>{var i;const s=e.$hostElement$,o=s["s-rc"];n&&(r=>{const l=r.o,a=r.$hostElement$,d=l.i,h=((c,u)=>{var p,f,y;const v=Nt(u),m=Pe.get(v);if(!S.document)return v;if(c=c.nodeType===11?c:S.document,m)if(typeof m=="string"){let g,b=K.get(c=c.head||c);if(b||K.set(c,b=new Set),!b.has(v)){g=S.document.createElement("style"),g.textContent=m;const E=(p=A._)!=null?p:(function(){var w,_,k;return(k=(_=(w=S.document.head)==null?void 0:w.querySelector('meta[name="csp-nonce"]'))==null?void 0:_.getAttribute("content"))!=null?k:void 0})();if(E!=null&&g.setAttribute("nonce",E),!(1&u.i))if(c.nodeName==="HEAD"){const w=c.querySelectorAll("link[rel=preconnect]"),_=w.length>0?w[w.length-1].nextSibling:c.querySelector("style");c.insertBefore(g,_?.parentNode===c?_:null)}else if("host"in c)if(He){const w=new((f=c.defaultView)!=null?f:c.ownerDocument.defaultView).CSSStyleSheet;w.replaceSync(m),Ge?c.adoptedStyleSheets.unshift(w):c.adoptedStyleSheets=[w,...c.adoptedStyleSheets]}else{const w=c.querySelector("style");w?w.textContent=m+w.textContent:c.prepend(g)}else c.append(g);1&u.i&&c.insertBefore(g,null),4&u.i&&(g.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),b&&b.add(v)}}else{let g=K.get(c);if(g||K.set(c,g=new Set),!g.has(v)){const b=(y=c.defaultView)!=null?y:c.ownerDocument.defaultView;let E;if(m.constructor===b.CSSStyleSheet)E=m;else{E=new b.CSSStyleSheet;for(let w=0;w<m.cssRules.length;w++)E.insertRule(m.cssRules[w].cssText,w)}Ge?c.adoptedStyleSheets.push(E):c.adoptedStyleSheets=[...c.adoptedStyleSheets,E],g.add(v)}}return v})(a.shadowRoot?a.shadowRoot:a.getRootNode(),l);10&d&&(a["s-sc"]=h,a.classList.add(h+"-h"))})(e),ii(e,t,s,n),o&&(o.map((r=>r())),s["s-rc"]=void 0);{const r=(i=s["s-p"])!=null?i:[],l=()=>si(e);r.length===0?l():(Promise.all(r).then(l).catch(l),e.i|=4,r.length=0)}},ii=(e,t,n,i)=>{try{t=t.render(),e.i&=-17,e.i|=2,Qn(e,t,i)}catch(s){ne(s,e.$hostElement$)}return null},si=e=>{const t=e.$hostElement$,n=t,i=e.R;Ee(n,"componentDidRender",void 0,t),64&e.i?Ee(n,"componentDidUpdate",void 0,t):(e.i|=64,ri(t),Ee(n,"componentDidLoad",void 0,t),e.L(t),i||oi()),e.A&&(e.A(),e.A=void 0),512&e.i&&Ye((()=>it(e,!1))),e.i&=-517},oi=()=>{Ye((()=>Yn(S,"appload",{detail:{namespace:"gids-core-web"}})))},Ee=(e,t,n,i)=>{if(e&&e[t])try{return e[t](n)}catch(s){ne(s,i)}},ri=e=>e.classList.add("hydrated"),Xt=(e,t,n,i)=>{const s=z(e);if(!s)return;const o=e,r=s.l.get(t),l=s.i,a=o;n=$t(n,i.t[t][0],!!(64&i.i));const d=Number.isNaN(r)&&Number.isNaN(n);if(n!==r&&!d){if(s.l.set(t,n),i.F){const h=i.F[t];h&&h.map((c=>{try{const[[u,p]]=Object.entries(c);(128&l||1&p)&&(a?a[u](n,r,t):s.T.push((()=>{s.D[u](n,r,t)})))}catch(u){ne(u,o)}}))}if(2&l){if(a.componentShouldUpdate&&a.componentShouldUpdate(n,r,t)===!1&&!(16&l))return;16&l||it(s,!1)}}},li=(e,t,n)=>{var i,s;const o=e.prototype;64&t.i&&1&n&&jn.forEach((r=>{const l=o[r];Object.defineProperty(o,r,{value(...a){var d;const h=z(this),c=this;c?typeof l=="function"&&l.call(c,...a):(d=h?.H)==null||d.then((u=>{const p=u[r];typeof p=="function"&&p.call(u,...a)}))}})}));{e.watchers&&!t.F&&(t.F=Rt(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const r=Object.entries((i=t.t)!=null?i:{});r.map((([l,[a]])=>{if(31&a||32&a){const{get:d,set:h}=ae(o,l)||{};d&&(t.t[l][0]|=2048),h&&(t.t[l][0]|=4096),Object.defineProperty(o,l,{get(){return d?d.apply(this):(c=l,z(this).l.get(c));var c},configurable:!0,enumerable:!0}),Object.defineProperty(o,l,{set(c){const u=z(this);if(u){if(h)return(32&a?this[l]:u.$hostElement$[l])===void 0&&u.l.get(l)&&(c=u.l.get(l)),h.apply(this,[$t(c,a,!!(64&t.i))]),void Xt(this,l,c=32&a?this[l]:u.$hostElement$[l],t);Xt(this,l,c,t)}}})}}));{const l=new Map;o.attributeChangedCallback=function(a,d,h){A.jmp((()=>{var c;const u=l.get(a),p=z(this);if(this.hasOwnProperty(u),o.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==h)return;if(u==null){const g=p?.i;if(p&&g&&!(8&g)&&h!==d){const b=this,E=(c=t.F)==null?void 0:c[a];E?.forEach((w=>{const[[_,k]]=Object.entries(w);b[_]!=null&&(128&g||1&k)&&b[_].call(b,h,d,a)}))}return}const f=r.find((([g])=>g===u)),y=f&&4&f[1][0],v=y&&h===null&&this[u]===void 0;y&&(h=h!==null&&h!=="false");const m=Object.getOwnPropertyDescriptor(o,u);v||h==this[u]||m.get&&!m.set||(this[u]=h)}))},e.observedAttributes=Array.from(new Set([...Object.keys((s=t.F)!=null?s:{}),...r.filter((([a,d])=>31&d[0])).map((([a,d])=>{var h;const c=d[1]||a;return l.set(c,a),512&d[0]&&((h=t.C)==null||h.push([a,c])),c}))]))}}return e},_e=(e,t)=>{const n={i:t[0],p:t[1]};try{n.t=t[2],n.W=t[3],n.F=Rt(e.F),n.P=e.P,n.U=e.U,n.C=[];const i=e.prototype.connectedCallback,s=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((o,r)=>{const l={i:0,$hostElement$:o,o:r,l:new Map,B:new Map};l.H=new Promise((d=>l.L=d)),o["s-p"]=[],o["s-rc"]=[];const a=l;o.__stencil__getHostRef=()=>a,512&r.i&&qn(o,l)})(this,n)},connectedCallback(){if(!this.__hasHostListenerAttached){const o=z(this);if(!o)return;Jt(this,o,n.W),this.__hasHostListenerAttached=!0}(o=>{if(!(1&A.i)){const r=z(o);if(!r)return;const l=r.o;if(1&r.i)Jt(o,r,l.W),r?.D||r?.H&&r.H.then((()=>{}));else{r.i|=1,12&l.i&&(a=>{if(!S.document)return;const d=a["s-cr"]=S.document.createComment("");d["s-cn"]=!0,N(a,d,a.firstChild)})(o);{let a=o;for(;a=a.parentNode||a.host;)if(a["s-p"]){Kt(r,r.R=a);break}}l.t&&Object.entries(l.t).map((([a,[d]])=>{if(31&d&&Object.prototype.hasOwnProperty.call(o,a)){const h=o[a];delete o[a],o[a]=h}})),(async(a,d,h)=>{let c;try{if(!(32&d.i)&&(d.i|=32,c=a.constructor,customElements.whenDefined(a.localName).then((()=>d.i|=128)),c&&c.style)){let f;typeof c.style=="string"&&(f=c.style);const y=Nt(h);Pe.has(y)||((v,m,g)=>{let b=Pe.get(v);He&&g?(b=b||new CSSStyleSheet,typeof b=="string"?b=m:b.replaceSync(m)):b=m,Pe.set(v,b)})(y,f,!!(1&h.i))}const u=d.R,p=()=>it(d,!0);u&&u["s-rc"]?u["s-rc"].push(p):p()}catch(u){ne(u,a),d.A&&(d.A(),d.A=void 0),d.L&&d.L(a)}})(o,r,l)}}})(this),i&&i.call(this)},disconnectedCallback(){(async o=>{if(!(1&A.i)){const r=z(o);r?.V&&(r.V.map((l=>l())),r.V=void 0)}K.has(o)&&K.delete(o),o.shadowRoot&&K.has(o.shadowRoot)&&K.delete(o.shadowRoot)})(this),s&&s.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${n.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Hn.call(this,n)}}),Object.defineProperty(e,"is",{value:n.p,configurable:!0}),li(e,n,3)}catch(i){return ne(i),e}},Zt=(e,t)=>t,Jt=(e,t,n)=>{n&&S.document&&n.map((([i,s,o])=>{const r=ci(S.document,e,i),l=ai(t,o),a=di(i);A.ael(r,s,l,a),(t.V=t.V||[]).push((()=>A.rel(r,s,l,a)))}))},ai=(e,t)=>n=>{try{e.$hostElement$[t](n)}catch(i){ne(i,e.$hostElement$)}},ci=(e,t,n)=>8&n?S:t,di=e=>zn?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function Bs(e){return e}function Qt(e){var t,n,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(n=Qt(e[t]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}function he(){for(var e,t,n=0,i="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=Qt(e))&&(i&&(i+=" "),i+=t);return i}const en=e=>{const t=Array.isArray(e)?e[e.length-1]:e;return typeof t=="string"&&t.trim().endsWith(".")},hi=/\w/,ui=e=>e.replace(hi,t=>t.toLocaleUpperCase()),tn=(e,t)=>typeof e=="function"?e(t):t?ui(e):e,fi=Object.freeze(Object.defineProperty({__proto__:null,getIndicatorText:({children:e,fieldRequirement:t,fieldRequirementOptionalText:n,fieldRequirementRequiredText:i,isLabelSentence:s})=>{const o=s?s(e):en(e);if(t==="required")return tn(i&&i.length>0?i:"(required)",o);if(t==="optional")return tn(n&&n.length>0?n:"(optional)",o)},isSentence:en},Symbol.toStringTag,{value:"Module"})),Ne=64,nn=10,sn=Ne/2-nn/2,pi=Ne/2,st=2*Math.PI*sn,mi=`0 0 ${Ne} ${Ne}`,gi=Object.freeze(Object.defineProperty({__proto__:null,calculateStrokeDasharray:(e=0,t)=>{const n=typeof t=="number"&&t>0?t:1,s=Math.max(0,Math.min(n,e))/n*100,o=(st*s/100).toFixed(2),r=(st-parseFloat(o)).toFixed(2);return`${o} ${r}`},centerPosition:pi,circumference:st,radius:sn,thickness:nn,viewBox:mi},Symbol.toStringTag,{value:"Module"})),bi=Object.freeze(Object.defineProperty({__proto__:null,getGidsChevronButtonControlClassNames:({size:e},t)=>he("gids-chevron-button-control",{"gids-chevron-button-control--small":e==="sm","gids-chevron-button-control--large":e==="lg"},t),getGidsDropdownClassNames:e=>he("gids-dropdown",e)},Symbol.toStringTag,{value:"Module"})),yi=Object.freeze(Object.defineProperty({__proto__:null,getGidsFieldClassNames:e=>he("gids-field",e)},Symbol.toStringTag,{value:"Module"})),vi=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>he("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"})),wi=Object.freeze(Object.defineProperty({__proto__:null,getGidsLabelClassNames:({disabled:e},t)=>he("gids-label",{"gids-label--disabled":e},t)},Symbol.toStringTag,{value:"Module"})),xi=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerControlClassNames:({size:e,indeterminate:t,value:n},i)=>he("gids-spinner-control",{"gids-spinner-control--xs":e==="xs","gids-spinner-control--sm":e==="sm","gids-spinner-control--lg":e==="lg","gids-spinner-control--xl":e==="xl","gids-spinner-control--2xl":e==="2xl","gids-spinner-control--determinate":t===!1},n,i)},Symbol.toStringTag,{value:"Module"})),ot=Symbol("defaultPath"),on=Symbol("pathSet"),rt="gids-asset-paths-set";class Ei extends EventTarget{#e=new Map;constructor(){super()}#t(t,n){this.#e.set(t,n)}#n(t){return this.#e.get(t)??null}#i=()=>{this.dispatchEvent(new Event(rt))};haveAssetPathsBeenSet(){return this.#n(on)!==null}setAssetPaths(t,n){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#t(ot,t);else{for(const i in t)this.#t(i,t[i]);n&&this.#t(ot,n)}this.#t(on,"true"),setTimeout(this.#i,0)}}getAssetFilePath(t){const n=this.#n(t);if(n===null){const i=this.#n(ot);if(i!==null)return`${i}${i.endsWith("/")?"":"/"}${t}`}return n}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(rt,t,{once:!0}),()=>{this.removeEventListener(rt,t)}}}const lt=Symbol.for("GIDS"),_i=()=>(globalThis[lt]===void 0&&(globalThis[lt]={assetPaths:{}}),globalThis[lt]),ki=e=>{const t=_i().assetPaths;return t[e]===void 0&&(t[e]=new Ei),t[e]};function at(){return ki("@ganpatiinfo/gids-web-shared")}function Si(){return at().haveAssetPathsBeenSet()}function rn(e){return at().getAssetFilePath(e)}function Ci(e){return at().onAssetPathsSet(e)}let Pi=0;const ln=(e,t="gids")=>e||`${t}-${Pi++}`,Ai=e=>e.type==="hidden",Ti=e=>{if(!(e instanceof HTMLElement))return!1;const{nodeName:t}=e;return!!(["BUTTON","DETAILS","EMBED","IFRAME","KEYGEN","LABEL","SELECT","TEXTAREA"].includes(t)||t==="A"&&e.hasAttribute("href")||e instanceof HTMLInputElement&&!Ai(e)||["AUDIO","VIDEO"].includes(t)&&e.hasAttribute("controls")||["IMG","OBJECT"].includes(t)&&e.hasAttribute("usemap")||e.hasAttribute("tabindex")&&e.tabIndex>-1)},{getIndicatorText:Li}=fi,{getGidsLabelClassNames:Oi}=wi,Fi=({disabled:e,fieldRequirement:t,fieldRequirementOptionalText:n,fieldRequirementRequiredText:i,info:s,htmlFor:o,labelId:r,class:l,isLabelSentence:a,...d},h)=>{const c=Li({children:h,fieldRequirement:t,fieldRequirementOptionalText:n,fieldRequirementRequiredText:i,isLabelSentence:a});return x("div",{class:Oi({disabled:e},l),...d},x("label",{htmlFor:o,id:r},h,c&&x("span",{class:"gids-label__field-requirement"},c)),s)},an={"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"]},cn=new Map;for(const e in an)for(const t of an[e])cn.set(t,e);function Ii(e){return cn.get(e)}function dn(e,t="regular",n){const i=Ii(e);let s=i??"";return n&&i&&(s=n(i)??i),`${s}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:Ni}=vi,De=({name:e,size:t,appearance:n,alt:i,class:s,titleId:o,src:r,...l})=>{const a=ln(o);let d=r;return d===void 0&&Si()&&(d=dn(e,n,rn)),x("svg",{ref:h=>{d===void 0&&Ci((()=>{(function(c,u,p){if(!c)return;const f=document.createElementNS("http://www.w3.org/2000/svg","use");f.setAttribute("href",dn(u,p,rn)),c.appendChild(f)})(h,e,n)}))},width:"16",height:"16",class:Ni({size:t},s),role:"img","aria-hidden":i===""?"true":void 0,"aria-labelledby":i===""?void 0:a,...l},i!==""&&x("title",{id:a},i||e),d!==void 0?x("use",{href:d}):null)},Y=Math.min,F=Math.max,Ve=Math.round,Re=Math.floor,M=e=>({x:e,y:e}),Di={left:"right",right:"left",bottom:"top",top:"bottom"};function ct(e,t,n){return F(e,Y(t,n))}function ue(e,t){return typeof e=="function"?e(t):e}function X(e){return e.split("-")[0]}function fe(e){return e.split("-")[1]}function hn(e){return e==="x"?"y":"x"}function dt(e){return e==="y"?"height":"width"}function W(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function ht(e){return hn(W(e))}function Vi(e,t,n){n===void 0&&(n=!1);const i=fe(e),s=ht(e),o=dt(s);let r=s==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(r=$e(r)),[r,$e(r)]}function Ri(e){const t=$e(e);return[ut(e),t,ut(t)]}function ut(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const un=["left","right"],fn=["right","left"],$i=["top","bottom"],Mi=["bottom","top"];function qi(e,t,n){switch(e){case"top":case"bottom":return n?t?fn:un:t?un:fn;case"left":case"right":return t?$i:Mi;default:return[]}}function ji(e,t,n,i){const s=fe(e);let o=qi(X(e),n==="start",i);return s&&(o=o.map(r=>r+"-"+s),t&&(o=o.concat(o.map(ut)))),o}function $e(e){const t=X(e);return Di[t]+e.slice(t.length)}function zi(e){return{top:0,right:0,bottom:0,left:0,...e}}function pn(e){return typeof e!="number"?zi(e):{top:e,right:e,bottom:e,left:e}}function Me(e){const{x:t,y:n,width:i,height:s}=e;return{width:i,height:s,top:n,left:t,right:t+i,bottom:n+s,x:t,y:n}}function mn(e,t,n){let{reference:i,floating:s}=e;const o=W(t),r=ht(t),l=dt(r),a=X(t),d=o==="y",h=i.x+i.width/2-s.width/2,c=i.y+i.height/2-s.height/2,u=i[l]/2-s[l]/2;let p;switch(a){case"top":p={x:h,y:i.y-s.height};break;case"bottom":p={x:h,y:i.y+i.height};break;case"right":p={x:i.x+i.width,y:c};break;case"left":p={x:i.x-s.width,y:c};break;default:p={x:i.x,y:i.y}}switch(fe(t)){case"start":p[r]-=u*(n&&d?-1:1);break;case"end":p[r]+=u*(n&&d?-1:1);break}return p}async function Bi(e,t){var n;t===void 0&&(t={});const{x:i,y:s,platform:o,rects:r,elements:l,strategy:a}=e,{boundary:d="clippingAncestors",rootBoundary:h="viewport",elementContext:c="floating",altBoundary:u=!1,padding:p=0}=ue(t,e),f=pn(p),v=l[u?c==="floating"?"reference":"floating":c],m=Me(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(v)))==null||n?v:v.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(l.floating)),boundary:d,rootBoundary:h,strategy:a})),g=c==="floating"?{x:i,y:s,width:r.floating.width,height:r.floating.height}:r.reference,b=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l.floating)),E=await(o.isElement==null?void 0:o.isElement(b))?await(o.getScale==null?void 0:o.getScale(b))||{x:1,y:1}:{x:1,y:1},w=Me(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:g,offsetParent:b,strategy:a}):g);return{top:(m.top-w.top+f.top)/E.y,bottom:(w.bottom-m.bottom+f.bottom)/E.y,left:(m.left-w.left+f.left)/E.x,right:(w.right-m.right+f.right)/E.x}}const Wi=50,Hi=async(e,t,n)=>{const{placement:i="bottom",strategy:s="absolute",middleware:o=[],platform:r}=n,l=r.detectOverflow?r:{...r,detectOverflow:Bi},a=await(r.isRTL==null?void 0:r.isRTL(t));let d=await r.getElementRects({reference:e,floating:t,strategy:s}),{x:h,y:c}=mn(d,i,a),u=i,p=0;const f={};for(let y=0;y<o.length;y++){const v=o[y];if(!v)continue;const{name:m,fn:g}=v,{x:b,y:E,data:w,reset:_}=await g({x:h,y:c,initialPlacement:i,placement:u,strategy:s,middlewareData:f,rects:d,platform:l,elements:{reference:e,floating:t}});h=b??h,c=E??c,f[m]={...f[m],...w},_&&p<Wi&&(p++,typeof _=="object"&&(_.placement&&(u=_.placement),_.rects&&(d=_.rects===!0?await r.getElementRects({reference:e,floating:t,strategy:s}):_.rects),{x:h,y:c}=mn(d,u,a)),y=-1)}return{x:h,y:c,placement:u,strategy:s,middlewareData:f}},Gi=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:i,placement:s,rects:o,platform:r,elements:l,middlewareData:a}=t,{element:d,padding:h=0}=ue(e,t)||{};if(d==null)return{};const c=pn(h),u={x:n,y:i},p=ht(s),f=dt(p),y=await r.getDimensions(d),v=p==="y",m=v?"top":"left",g=v?"bottom":"right",b=v?"clientHeight":"clientWidth",E=o.reference[f]+o.reference[p]-u[p]-o.floating[f],w=u[p]-o.reference[p],_=await(r.getOffsetParent==null?void 0:r.getOffsetParent(d));let k=_?_[b]:0;(!k||!await(r.isElement==null?void 0:r.isElement(_)))&&(k=l.floating[b]||o.floating[f]);const C=E/2-w/2,P=k/2-y[f]/2-1,T=Y(c[m],P),J=Y(c[g],P),j=T,Q=k-y[f]-J,L=k/2-y[f]/2+C,le=ct(j,L,Q),U=!a.arrow&&fe(s)!=null&&L!==le&&o.reference[f]/2-(L<j?T:J)-y[f]/2<0,R=U?L<j?L-j:L-Q:0;return{[p]:u[p]+R,data:{[p]:le,centerOffset:L-le-R,...U&&{alignmentOffset:R}},reset:U}}}),Ui=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,i;const{placement:s,middlewareData:o,rects:r,initialPlacement:l,platform:a,elements:d}=t,{mainAxis:h=!0,crossAxis:c=!0,fallbackPlacements:u,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:y=!0,...v}=ue(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const m=X(s),g=W(l),b=X(l)===l,E=await(a.isRTL==null?void 0:a.isRTL(d.floating)),w=u||(b||!y?[$e(l)]:Ri(l)),_=f!=="none";!u&&_&&w.push(...ji(l,y,f,E));const k=[l,...w],C=await a.detectOverflow(t,v),P=[];let T=((i=o.flip)==null?void 0:i.overflows)||[];if(h&&P.push(C[m]),c){const L=Vi(s,r,E);P.push(C[L[0]],C[L[1]])}if(T=[...T,{placement:s,overflows:P}],!P.every(L=>L<=0)){var J,j;const L=(((J=o.flip)==null?void 0:J.index)||0)+1,le=k[L];if(le&&(!(c==="alignment"?g!==W(le):!1)||T.every($=>W($.placement)===g?$.overflows[0]>0:!0)))return{data:{index:L,overflows:T},reset:{placement:le}};let U=(j=T.filter(R=>R.overflows[0]<=0).sort((R,$)=>R.overflows[1]-$.overflows[1])[0])==null?void 0:j.placement;if(!U)switch(p){case"bestFit":{var Q;const R=(Q=T.filter($=>{if(_){const ee=W($.placement);return ee===g||ee==="y"}return!0}).map($=>[$.placement,$.overflows.filter(ee=>ee>0).reduce((ee,zs)=>ee+zs,0)]).sort(($,ee)=>$[1]-ee[1])[0])==null?void 0:Q[0];R&&(U=R);break}case"initialPlacement":U=l;break}if(s!==U)return{reset:{placement:U}}}return{}}}},Ki=new Set(["left","top"]);async function Yi(e,t){const{placement:n,platform:i,elements:s}=e,o=await(i.isRTL==null?void 0:i.isRTL(s.floating)),r=X(n),l=fe(n),a=W(n)==="y",d=Ki.has(r)?-1:1,h=o&&a?-1:1,c=ue(t,e);let{mainAxis:u,crossAxis:p,alignmentAxis:f}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:c.mainAxis||0,crossAxis:c.crossAxis||0,alignmentAxis:c.alignmentAxis};return l&&typeof f=="number"&&(p=l==="end"?f*-1:f),a?{x:p*h,y:u*d}:{x:u*d,y:p*h}}const Xi=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,i;const{x:s,y:o,placement:r,middlewareData:l}=t,a=await Yi(t,e);return r===((n=l.offset)==null?void 0:n.placement)&&(i=l.arrow)!=null&&i.alignmentOffset?{}:{x:s+a.x,y:o+a.y,data:{...a,placement:r}}}}},Zi=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:i,placement:s,platform:o}=t,{mainAxis:r=!0,crossAxis:l=!1,limiter:a={fn:m=>{let{x:g,y:b}=m;return{x:g,y:b}}},...d}=ue(e,t),h={x:n,y:i},c=await o.detectOverflow(t,d),u=W(X(s)),p=hn(u);let f=h[p],y=h[u];if(r){const m=p==="y"?"top":"left",g=p==="y"?"bottom":"right",b=f+c[m],E=f-c[g];f=ct(b,f,E)}if(l){const m=u==="y"?"top":"left",g=u==="y"?"bottom":"right",b=y+c[m],E=y-c[g];y=ct(b,y,E)}const v=a.fn({...t,[p]:f,[u]:y});return{...v,data:{x:v.x-n,y:v.y-i,enabled:{[p]:r,[u]:l}}}}}},Ji=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,i;const{placement:s,rects:o,platform:r,elements:l}=t,{apply:a=()=>{},...d}=ue(e,t),h=await r.detectOverflow(t,d),c=X(s),u=fe(s),p=W(s)==="y",{width:f,height:y}=o.floating;let v,m;c==="top"||c==="bottom"?(v=c,m=u===(await(r.isRTL==null?void 0:r.isRTL(l.floating))?"start":"end")?"left":"right"):(m=c,v=u==="end"?"top":"bottom");const g=y-h.top-h.bottom,b=f-h.left-h.right,E=Y(y-h[v],g),w=Y(f-h[m],b),_=!t.middlewareData.shift;let k=E,C=w;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(C=b),(i=t.middlewareData.shift)!=null&&i.enabled.y&&(k=g),_&&!u){const T=F(h.left,0),J=F(h.right,0),j=F(h.top,0),Q=F(h.bottom,0);p?C=f-2*(T!==0||J!==0?T+J:F(h.left,h.right)):k=y-2*(j!==0||Q!==0?j+Q:F(h.top,h.bottom))}await a({...t,availableWidth:C,availableHeight:k});const P=await r.getDimensions(l.floating);return f!==P.width||y!==P.height?{reset:{rects:!0}}:{}}}};function qe(){return typeof window<"u"}function pe(e){return gn(e)?(e.nodeName||"").toLowerCase():"#document"}function I(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function q(e){var t;return(t=(gn(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function gn(e){return qe()?e instanceof Node||e instanceof I(e).Node:!1}function D(e){return qe()?e instanceof Element||e instanceof I(e).Element:!1}function H(e){return qe()?e instanceof HTMLElement||e instanceof I(e).HTMLElement:!1}function bn(e){return!qe()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof I(e).ShadowRoot}function ke(e){const{overflow:t,overflowX:n,overflowY:i,display:s}=V(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&s!=="inline"&&s!=="contents"}function Qi(e){return/^(table|td|th)$/.test(pe(e))}function je(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const es=/transform|translate|scale|rotate|perspective|filter/,ts=/paint|layout|strict|content/,se=e=>!!e&&e!=="none";let ft;function pt(e){const t=D(e)?V(e):e;return se(t.transform)||se(t.translate)||se(t.scale)||se(t.rotate)||se(t.perspective)||!mt()&&(se(t.backdropFilter)||se(t.filter))||es.test(t.willChange||"")||ts.test(t.contain||"")}function ns(e){let t=Z(e);for(;H(t)&&!me(t);){if(pt(t))return t;if(je(t))return null;t=Z(t)}return null}function mt(){return ft==null&&(ft=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),ft}function me(e){return/^(html|body|#document)$/.test(pe(e))}function V(e){return I(e).getComputedStyle(e)}function ze(e){return D(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Z(e){if(pe(e)==="html")return e;const t=e.assignedSlot||e.parentNode||bn(e)&&e.host||q(e);return bn(t)?t.host:t}function yn(e){const t=Z(e);return me(t)?e.ownerDocument?e.ownerDocument.body:e.body:H(t)&&ke(t)?t:yn(t)}function Se(e,t,n){var i;t===void 0&&(t=[]),n===void 0&&(n=!0);const s=yn(e),o=s===((i=e.ownerDocument)==null?void 0:i.body),r=I(s);if(o){const l=gt(r);return t.concat(r,r.visualViewport||[],ke(s)?s:[],l&&n?Se(l):[])}else return t.concat(s,Se(s,[],n))}function gt(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function vn(e){const t=V(e);let n=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const s=H(e),o=s?e.offsetWidth:n,r=s?e.offsetHeight:i,l=Ve(n)!==o||Ve(i)!==r;return l&&(n=o,i=r),{width:n,height:i,$:l}}function bt(e){return D(e)?e:e.contextElement}function ge(e){const t=bt(e);if(!H(t))return M(1);const n=t.getBoundingClientRect(),{width:i,height:s,$:o}=vn(t);let r=(o?Ve(n.width):n.width)/i,l=(o?Ve(n.height):n.height)/s;return(!r||!Number.isFinite(r))&&(r=1),(!l||!Number.isFinite(l))&&(l=1),{x:r,y:l}}const is=M(0);function wn(e){const t=I(e);return!mt()||!t.visualViewport?is:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ss(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==I(e)?!1:t}function oe(e,t,n,i){t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),o=bt(e);let r=M(1);t&&(i?D(i)&&(r=ge(i)):r=ge(e));const l=ss(o,n,i)?wn(o):M(0);let a=(s.left+l.x)/r.x,d=(s.top+l.y)/r.y,h=s.width/r.x,c=s.height/r.y;if(o){const u=I(o),p=i&&D(i)?I(i):i;let f=u,y=gt(f);for(;y&&i&&p!==f;){const v=ge(y),m=y.getBoundingClientRect(),g=V(y),b=m.left+(y.clientLeft+parseFloat(g.paddingLeft))*v.x,E=m.top+(y.clientTop+parseFloat(g.paddingTop))*v.y;a*=v.x,d*=v.y,h*=v.x,c*=v.y,a+=b,d+=E,f=I(y),y=gt(f)}}return Me({width:h,height:c,x:a,y:d})}function Be(e,t){const n=ze(e).scrollLeft;return t?t.left+n:oe(q(e)).left+n}function xn(e,t){const n=e.getBoundingClientRect(),i=n.left+t.scrollLeft-Be(e,n),s=n.top+t.scrollTop;return{x:i,y:s}}function os(e){let{elements:t,rect:n,offsetParent:i,strategy:s}=e;const o=s==="fixed",r=q(i),l=t?je(t.floating):!1;if(i===r||l&&o)return n;let a={scrollLeft:0,scrollTop:0},d=M(1);const h=M(0),c=H(i);if((c||!c&&!o)&&((pe(i)!=="body"||ke(r))&&(a=ze(i)),c)){const p=oe(i);d=ge(i),h.x=p.x+i.clientLeft,h.y=p.y+i.clientTop}const u=r&&!c&&!o?xn(r,a):M(0);return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-a.scrollLeft*d.x+h.x+u.x,y:n.y*d.y-a.scrollTop*d.y+h.y+u.y}}function rs(e){return Array.from(e.getClientRects())}function ls(e){const t=q(e),n=ze(e),i=e.ownerDocument.body,s=F(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),o=F(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight);let r=-n.scrollLeft+Be(e);const l=-n.scrollTop;return V(i).direction==="rtl"&&(r+=F(t.clientWidth,i.clientWidth)-s),{width:s,height:o,x:r,y:l}}const En=25;function as(e,t){const n=I(e),i=q(e),s=n.visualViewport;let o=i.clientWidth,r=i.clientHeight,l=0,a=0;if(s){o=s.width,r=s.height;const h=mt();(!h||h&&t==="fixed")&&(l=s.offsetLeft,a=s.offsetTop)}const d=Be(i);if(d<=0){const h=i.ownerDocument,c=h.body,u=getComputedStyle(c),p=h.compatMode==="CSS1Compat"&&parseFloat(u.marginLeft)+parseFloat(u.marginRight)||0,f=Math.abs(i.clientWidth-c.clientWidth-p);f<=En&&(o-=f)}else d<=En&&(o+=d);return{width:o,height:r,x:l,y:a}}function cs(e,t){const n=oe(e,!0,t==="fixed"),i=n.top+e.clientTop,s=n.left+e.clientLeft,o=H(e)?ge(e):M(1),r=e.clientWidth*o.x,l=e.clientHeight*o.y,a=s*o.x,d=i*o.y;return{width:r,height:l,x:a,y:d}}function _n(e,t,n){let i;if(t==="viewport")i=as(e,n);else if(t==="document")i=ls(q(e));else if(D(t))i=cs(t,n);else{const s=wn(e);i={x:t.x-s.x,y:t.y-s.y,width:t.width,height:t.height}}return Me(i)}function kn(e,t){const n=Z(e);return n===t||!D(n)||me(n)?!1:V(n).position==="fixed"||kn(n,t)}function ds(e,t){const n=t.get(e);if(n)return n;let i=Se(e,[],!1).filter(l=>D(l)&&pe(l)!=="body"),s=null;const o=V(e).position==="fixed";let r=o?Z(e):e;for(;D(r)&&!me(r);){const l=V(r),a=pt(r);!a&&l.position==="fixed"&&(s=null),(o?!a&&!s:!a&&l.position==="static"&&!!s&&(s.position==="absolute"||s.position==="fixed")||ke(r)&&!a&&kn(e,r))?i=i.filter(h=>h!==r):s=l,r=Z(r)}return t.set(e,i),i}function hs(e){let{element:t,boundary:n,rootBoundary:i,strategy:s}=e;const r=[...n==="clippingAncestors"?je(t)?[]:ds(t,this._c):[].concat(n),i],l=_n(t,r[0],s);let a=l.top,d=l.right,h=l.bottom,c=l.left;for(let u=1;u<r.length;u++){const p=_n(t,r[u],s);a=F(p.top,a),d=Y(p.right,d),h=Y(p.bottom,h),c=F(p.left,c)}return{width:d-c,height:h-a,x:c,y:a}}function us(e){const{width:t,height:n}=vn(e);return{width:t,height:n}}function fs(e,t,n){const i=H(t),s=q(t),o=n==="fixed",r=oe(e,!0,o,t);let l={scrollLeft:0,scrollTop:0};const a=M(0);function d(){a.x=Be(s)}if(i||!i&&!o)if((pe(t)!=="body"||ke(s))&&(l=ze(t)),i){const p=oe(t,!0,o,t);a.x=p.x+t.clientLeft,a.y=p.y+t.clientTop}else s&&d();o&&!i&&s&&d();const h=s&&!i&&!o?xn(s,l):M(0),c=r.left+l.scrollLeft-a.x-h.x,u=r.top+l.scrollTop-a.y-h.y;return{x:c,y:u,width:r.width,height:r.height}}function yt(e){return V(e).position==="static"}function Sn(e,t){if(!H(e)||V(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return q(e)===n&&(n=n.ownerDocument.body),n}function Cn(e,t){const n=I(e);if(je(e))return n;if(!H(e)){let s=Z(e);for(;s&&!me(s);){if(D(s)&&!yt(s))return s;s=Z(s)}return n}let i=Sn(e,t);for(;i&&Qi(i)&&yt(i);)i=Sn(i,t);return i&&me(i)&&yt(i)&&!pt(i)?n:i||ns(e)||n}const ps=async function(e){const t=this.getOffsetParent||Cn,n=this.getDimensions,i=await n(e.floating);return{reference:fs(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function ms(e){return V(e).direction==="rtl"}const vt={convertOffsetParentRelativeRectToViewportRelativeRect:os,getDocumentElement:q,getClippingRect:hs,getOffsetParent:Cn,getElementRects:ps,getClientRects:rs,getDimensions:us,getScale:ge,isElement:D,isRTL:ms};function Pn(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function gs(e,t){let n=null,i;const s=q(e);function o(){var l;clearTimeout(i),(l=n)==null||l.disconnect(),n=null}function r(l,a){l===void 0&&(l=!1),a===void 0&&(a=1),o();const d=e.getBoundingClientRect(),{left:h,top:c,width:u,height:p}=d;if(l||t(),!u||!p)return;const f=Re(c),y=Re(s.clientWidth-(h+u)),v=Re(s.clientHeight-(c+p)),m=Re(h),b={rootMargin:-f+"px "+-y+"px "+-v+"px "+-m+"px",threshold:F(0,Y(1,a))||1};let E=!0;function w(_){const k=_[0].intersectionRatio;if(k!==a){if(!E)return r();k?r(!1,k):i=setTimeout(()=>{r(!1,1e-7)},1e3)}k===1&&!Pn(d,e.getBoundingClientRect())&&r(),E=!1}try{n=new IntersectionObserver(w,{...b,root:s.ownerDocument})}catch{n=new IntersectionObserver(w,b)}n.observe(e)}return r(!0),o}function bs(e,t,n,i){i===void 0&&(i={});const{ancestorScroll:s=!0,ancestorResize:o=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:a=!1}=i,d=bt(e),h=s||o?[...d?Se(d):[],...t?Se(t):[]]:[];h.forEach(m=>{s&&m.addEventListener("scroll",n,{passive:!0}),o&&m.addEventListener("resize",n)});const c=d&&l?gs(d,n):null;let u=-1,p=null;r&&(p=new ResizeObserver(m=>{let[g]=m;g&&g.target===d&&p&&t&&(p.unobserve(t),cancelAnimationFrame(u),u=requestAnimationFrame(()=>{var b;(b=p)==null||b.observe(t)})),n()}),d&&!a&&p.observe(d),t&&p.observe(t));let f,y=a?oe(e):null;a&&v();function v(){const m=oe(e);y&&!Pn(y,m)&&n(),y=m,f=requestAnimationFrame(v)}return n(),()=>{var m;h.forEach(g=>{s&&g.removeEventListener("scroll",n),o&&g.removeEventListener("resize",n)}),c?.(),(m=p)==null||m.disconnect(),p=null,a&&cancelAnimationFrame(f)}}const ys=Xi,vs=Zi,ws=Ui,An=Ji,xs=Gi,Es=(e,t,n)=>{const i=new Map,s={platform:vt,...n},o={...s.platform,_c:i};return Hi(e,t,{...s,platform:o})};function Tn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}const _s=/transform|translate|scale|rotate|perspective|filter/,ks=/paint|layout|strict|content/,re=e=>!!e&&e!=="none";let wt;function Ss(e){const t=(n=e,typeof window<"u"&&(n instanceof Element||n instanceof Tn(n).Element)?Tn(i=e).getComputedStyle(i):e);var n,i;return re(t.transform)||re(t.translate)||re(t.scale)||re(t.rotate)||re(t.perspective)||(wt==null&&(wt=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),!wt&&(re(t.backdropFilter)||re(t.filter)))||_s.test(t.willChange||"")||ks.test(t.contain||"")}function Cs(e){return(function(t){for(let n=t;n;n=xt(n))if(n instanceof Element&&getComputedStyle(n).display==="none")return null;for(let n=xt(t);n;n=xt(n)){if(!(n instanceof Element))continue;const i=getComputedStyle(n);if(i.display!=="contents"&&(i.position!=="static"||Ss(i)||n.tagName==="BODY"))return n}return null})(e)}function xt(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}var Ce;(function(e){e.TOOLTIP="tooltip",e.POPOVER="popover",e.FLYOUT_PANEL="flyout-panel"})(Ce||(Ce={}));let Ps=(G=class{constructor(t,n){this.el=t,this.config=n,this.offset=10,this.timeDelayBeforeFadingOut=50,this.popoverMainAxisEnabled=!0,this.currentPlacement=n.placement,this.cleanup=null}getRootElement(){return this.el.shadowRoot??this.el}initialize(){this.timeBeforeElementShows=this.config.showWithoutDelay?50:500,this.timeOfAnimation=this.config.showWithoutDelay?50:250;const t=this.getRootElement();this.floatingElement=t.querySelector(this.config.floatingElementSelector),this.floatingElement&&this.applyViewportMaxWidth(),this.arrowEl=this.config.showArrow!==!1&&this.config.arrowElementSelector?t.querySelector(this.config.arrowElementSelector):null,this.anchorElement=this.config.htmlFor?.length>0?document.getElementById(this.config.htmlFor):this.config.getAnchorElement?this.config.getAnchorElement(t):this.el.shadowRoot?this.config.getAnchorElementFromSlot(this.el.shadowRoot):null,this.anchorElement?this.setupPositioning():console.warn("Could not determine the element associated with this floating element."+(this.config.htmlFor?.length>0?`Element with id=${this.config.htmlFor} could not be found on the DOM.`:""))}getAnchorElement(){return this.anchorElement}updateConfig(t){this.config={...this.config,...t},"showWithoutDelay"in t&&(this.timeBeforeElementShows=this.config.showWithoutDelay?50:500,this.timeOfAnimation=this.config.showWithoutDelay?50:250),this.forceUpdate()}getConfig(){return this.config}getCurrentPlacement(){return this.currentPlacement||this.config.placement}reposition(){this.forceUpdate()}forceUpdate(){this.anchorElement&&this.floatingElement&&this.updatePosition()}setupPositioning(){this.anchorElement&&this.updatePosition()}setupAutoUpdate(){!this.cleanup&&this.anchorElement&&(this.cleanup=bs(this.anchorElement,this.floatingElement,(()=>{this.updatePosition()}),{ancestorScroll:!0,ancestorResize:!1,elementResize:!0,layoutShift:!0,animationFrame:!1}))}cleanupAutoUpdate(){this.cleanup&&(this.cleanup(),this.cleanup=null)}updatePosition(){if(!this.anchorElement)return;const t=this.config.offset??this.offset,n=[ys(t)],i=this.config.lockToMainAxis??!1,s=this.config.constrainPlacements,o=s&&s.length>0?s.includes(this.config.placement)?this.config.placement:s[0]:this.config.placement,r=ws(s&&s.length>0?{mainAxis:!0,crossAxis:!1,padding:t,fallbackPlacements:s.filter((d=>d!==o)),fallbackAxisSideDirection:"none"}:{mainAxis:!0,crossAxis:!i&&"alignment",fallbackAxisSideDirection:"end",padding:t}),l=this.config.elementType===Ce.POPOVER,a=vs({padding:t,mainAxis:this.config.constrainToViewportHeight||this.config.elementType===Ce.TOOLTIP||l&&this.popoverMainAxisEnabled,crossAxis:!1});this.config.matchReferenceWidth&&n.push(An({apply({elements:d,rects:h}){Object.assign(d.floating.style,{width:`${h.reference.width}px`})}})),o?.includes("-")?n.push(r,a):n.push(a,r),this.config.constrainToViewportHeight&&n.push(An({padding:t,apply:({availableHeight:d,elements:h})=>{const c=Array.from(h.floating.children).find((u=>u!==this.arrowEl));c instanceof HTMLElement&&Object.assign(c.style,{maxHeight:`${Math.max(0,d)}px`,overflowY:"auto",overflowX:"hidden"})}})),this.config.showArrow!==!1&&this.arrowEl&&n.push(xs({element:this.arrowEl,padding:t})),Es(this.anchorElement,this.floatingElement,{placement:o,strategy:"fixed",middleware:n,platform:{...vt,getOffsetParent:d=>vt.getOffsetParent(d,Cs)}}).then((({x:d,y:h,middlewareData:c,placement:u})=>{if(l){const v=u.startsWith("left")||u.startsWith("right"),m=u.startsWith("top")||u.startsWith("bottom"),g=this.isAnchorInViewport(),b=!!m||(v?g:this.popoverMainAxisEnabled);if(b!==this.popoverMainAxisEnabled)return this.popoverMainAxisEnabled=b,void this.updatePosition()}this.currentPlacement=u,Object.assign(this.floatingElement.style,{left:`${d}px`,top:`${h}px`,position:"fixed",transition:`opacity ${this.timeOfAnimation}ms ease`});const p=u.split("-")[0]??"bottom",f={top:"bottom",right:"left",bottom:"top",left:"right"}[p],{arrowZIndex:y}=this.normalizeFloatingElementStacking();if(c.arrow&&this.arrowEl){const v=this.arrowEl.offsetWidth,{x:m,y:g}=c.arrow;this.arrowEl.style.borderRadius=`${["left","right"].includes(p)?"0 ":""}var(--gidsFloatingElement-tip-border-radius, 2px)${["top","bottom"].includes(p)?" 0":""}`,Object.assign(this.arrowEl.style,{left:m!==null?`${m}px`:"",top:g!==null?`${g}px`:"",right:"",bottom:"",[f]:-v/2+"px",transform:"rotate(45deg)",zIndex:`${y}`,background:"var(--gidsFloatingElement-background)"})}}))}applyViewportMaxWidth(){const t=`calc(100vw - ${2*this.offset}px)`;this.floatingElement&&this.floatingElement?.style.maxWidth!==t&&(this.floatingElement.style.maxWidth=t)}normalizeFloatingElementStacking(){const t=this.floatingElement.style.zIndex||(window.getComputedStyle?.(this.floatingElement).zIndex??""),n=Number.parseInt(t,10),i=Number.isNaN(n)?-1:n-1,s=Number.isNaN(n)?i+1:n;return Number.isNaN(s)||(this.floatingElement.style.zIndex=`${s}`),Array.from(this.floatingElement.children).forEach((o=>{if(!(o instanceof HTMLElement)||o===this.arrowEl)return;const r=o.style.zIndex||(window.getComputedStyle?.(o).zIndex??""),l=Number.parseInt(r,10),a=window.getComputedStyle?.(o).position??"";(r===""||r==="auto"||Number.isNaN(l)||l<s)&&(o.style.zIndex=`${s}`,a!==""&&a!=="static"||(o.style.position="relative"))})),{contentZIndex:s,arrowZIndex:i}}hideFloatingElement(){this.floatingElement.classList.remove(this.config.visibilityClass),G.currentFloatingElements.delete(this.config.elementType)}showFloatingElement(){const t=G.currentFloatingElements.get(this.config.elementType);t&&t.hideFloatingElement(),this.floatingElement.classList.add(this.config.visibilityClass),G.currentFloatingElements.set(this.config.elementType,this)}isVisible(){return this.floatingElement.classList.contains(this.config.visibilityClass)}show(){this.setupAutoUpdate(),this.showFloatingElement()}hide(){this.cleanupAutoUpdate(),this.hideFloatingElement()}toggle(){this.isVisible()?this.hide():this.show()}showAfterDelay(){clearTimeout(this.hoverOutTimeout),this.hoverTimeout=setTimeout((()=>{this.show()}),this.timeBeforeElementShows)}hideAfterDelay(){clearTimeout(this.hoverTimeout),this.hoverOutTimeout=setTimeout((()=>{this.hide()}),this.timeDelayBeforeFadingOut)}cancelDelayedActions(){clearTimeout(this.hoverTimeout),clearTimeout(this.hoverOutTimeout)}destroy(){this.cleanupAutoUpdate(),this.cancelDelayedActions()}isAnchorInViewport(){if(!(this.anchorElement&&this.anchorElement instanceof Element))return!1;const t=this.anchorElement.getBoundingClientRect(),n=window.innerHeight||document.documentElement?.clientHeight||0,i=window.innerWidth||document.documentElement?.clientWidth||0,s=t.height/2+2*this.offset;return t.bottom>=s&&t.top<=n-s&&t.right>=0&&t.left<=i}},G.currentFloatingElements=new Map,G);const As=_e(class extends ce{constructor(e){super(),e!==!1&&this.__registerHost(),this.__attachShadow(),this.placement="bottom",this.constrainPlacements=["bottom","top"],this.matchReferenceWidth=!0,this.previouslyFocusedElement=null,this.focusableElements=[],this.handleToggleEvent=t=>{t.stopPropagation();const n=this.floatingElementManager.isVisible();this.floatingElementManager.toggle(),!n&&this.floatingElementManager.isVisible()?this.onFlyoutPanelShow():n&&!this.floatingElementManager.isVisible()&&this.onFlyoutPanelHide()},this.handleDocumentClick=t=>{this.floatingElementManager.isVisible()&&!this._el.contains(t.target)&&(this.floatingElementManager.hide(),this.onFlyoutPanelHide())},this.handleKeyDown=t=>{if(this.floatingElementManager.isVisible())return t.key==="Escape"?(t.preventDefault(),this.floatingElementManager.hide(),void this.onFlyoutPanelHide()):void(t.key==="Tab"&&this.trapFocus(t))}}componentDidLoad(){this.floatingElementManager=new Ps(this._el,{htmlFor:this.htmlFor,placement:this.placement,showWithoutDelay:!0,floatingElementSelector:"#flyout-panel",showArrow:!1,visibilityClass:"gids-flyout-panel--visible",elementType:Ce.FLYOUT_PANEL,constrainPlacements:this?.constrainPlacements??["bottom","top"],constrainToViewportHeight:!0,matchReferenceWidth:this?.matchReferenceWidth??!0,getAnchorElementFromSlot:e=>e.querySelector('slot[name="anchor"]')?.assignedElements()[0]||null}),this.floatingElementManager.initialize(),this.setupEventListeners()}setupEventListeners(){const e=this.floatingElementManager.getAnchorElement();e&&(e.addEventListener("click",this.handleToggleEvent),document.addEventListener("click",this.handleDocumentClick),document.addEventListener("keydown",this.handleKeyDown))}onFlyoutPanelShow(){this.previouslyFocusedElement=document.activeElement,this.updateFocusableElements(),setTimeout((()=>{this.focusableElements.length>0&&this.focusableElements[0]&&this.focusableElements[0].focus()}),50)}onFlyoutPanelHide(){this.previouslyFocusedElement&&(this.previouslyFocusedElement.focus(),this.previouslyFocusedElement=null)}updateFocusableElements(){const e=this._el.shadowRoot?.querySelector("#flyout-panel");if(!e)return;const t=[],n=On(e);t.push(...n);const i=this._el.shadowRoot?.querySelector("slot:not([name])");i&&i.assignedElements({flatten:!0}).forEach((s=>{const o=On(s);t.push(...o)})),this.focusableElements=t.sort(((s,o)=>{const r=s.compareDocumentPosition(o),l=!!(r&Node.DOCUMENT_POSITION_FOLLOWING),a=!!(r&Node.DOCUMENT_POSITION_PRECEDING);return l?-1:a?1:0}))}trapFocus(e){if(this.focusableElements.length===0)return;const t=this.focusableElements[0],n=this.focusableElements[this.focusableElements.length-1];let i=document.activeElement;if(i===this._el){const o=this._el.shadowRoot?.activeElement;o!==null&&(i=o)}const s=this.focusableElements.indexOf(i)!==-1;e.shiftKey?i!==t&&s||(e.preventDefault(),n&&n.focus()):i!==n&&s||(e.preventDefault(),t&&t.focus())}placementChanged(e){this.floatingElementManager?.updateConfig({placement:e}),this.floatingElementManager?.isVisible()&&this.floatingElementManager?.reposition()}constrainPlacementsChanged(e){this.floatingElementManager?.updateConfig({constrainPlacements:e}),this.floatingElementManager?.isVisible()&&this.floatingElementManager?.reposition()}htmlForChanged(e){this.floatingElementManager?.updateConfig({htmlFor:e}),this.cleanupEventListeners(),this.floatingElementManager?.initialize(),this.setupEventListeners()}cleanupEventListeners(){const e=this.floatingElementManager?.getAnchorElement();e&&e.removeEventListener("click",this.handleToggleEvent),document.removeEventListener("click",this.handleDocumentClick),document.removeEventListener("keydown",this.handleKeyDown)}flyoutPanelVisible(){return!!this.floatingElementManager.isVisible()}openPanel(e){this.floatingElementManager.isVisible()||this.handleToggleEvent(e)}closePanel(e){this.floatingElementManager.isVisible()&&this.handleToggleEvent(e)}async isFlyoutPanelVisible(){return this.flyoutPanelVisible()}async openFlyoutPanel(e){this.openPanel(e)}async closeFlyoutPanel(e){this.closePanel(e)}render(){return x(Zt,{key:"4f711c96e1936b3c8d3df3104ff9e68a808fa408"},x("slot",{key:"5dc834a55ca7751741965b3e68eb9a8747c00120",name:"anchor"}),x("div",{key:"91b24cf0544a267569762ff9a3d7b8c83faa9d20",id:"flyout-panel",part:"flyout-panel",role:"dialog","aria-modal":"true",tabindex:"-1"},x("div",{key:"4d4d5b25c4a191f862ad226d7c1c7d8c7c21d006"},x("slot",{key:"5fcf60039e76fa3b2c4fca9b2769f24ff8878102"}))))}disconnectedCallback(){this.cleanupEventListeners(),this.floatingElementManager?.destroy()}get _el(){return this}static get watchers(){return{placement:[{placementChanged:0}],constrainPlacements:[{constrainPlacementsChanged:0}],htmlFor:[{htmlForChanged:0}]}}static get style(){return"gids-flyout-panel{--gidsFlyoutPanel-background:var(--gids-elevation-surface-overlay-default);--gidsFlyoutPanel-text-color:var(--gids-color-text-default);--gidsFlyoutPanel-padding:var(--gids-padding-vertical-edge-to-element-200) var(--gids-padding-horizontal-edge-to-element-300);--gidsFlyoutPanel-border-radius:var(--gids-border-radius-lg);--gidsFlyoutPanel-shadow:var(--gids-elevation-shadow-overlay);--gidsFloatingElement-background:var(--gidsFlyoutPanel-background)}[part=flyout-panel]{font-family:var(--gids-typography-label-small__font-family);font-size:var(--gids-typography-label-small__font-size);font-weight:var(--gids-typography-label-small__font-weight);letter-spacing:var(--gids-typography-label-small__letter-spacing);line-height:var(--gids-typography-label-small__line-height);text-transform:var(--gids-typography-label-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-small__font-variant-caps, inherit);position:absolute;display:inline-block;background-color:var(--gidsFlyoutPanel-background);color:var(--gidsFlyoutPanel-text-color);border-radius:var(--gidsFlyoutPanel-border-radius);box-shadow:var(--gidsFlyoutPanel-shadow);z-index:1000;opacity:0;pointer-events:none;outline:none}[part=flyout-panel]:focus{outline:none}[part=flyout-panel].gids-flyout-panel--visible{pointer-events:initial;opacity:1}"}},[257,"gids-flyout-panel",{htmlFor:[513,"for"],placement:[513],constrainPlacements:[16],matchReferenceWidth:[516,"match-reference-width"],isFlyoutPanelVisible:[64],openFlyoutPanel:[64],closeFlyoutPanel:[64]},void 0,{placement:[{placementChanged:0}],constrainPlacements:[{constrainPlacementsChanged:0}],htmlFor:[{htmlForChanged:0}]}]),Ln=e=>{if(!(e instanceof ce)||e.tabIndex===-1||e.hasAttribute("disabled"))return!1;const t=getComputedStyle(e);if(t.display==="none"||t.visibility==="hidden"||e.hidden)return!1;try{const n=e.tabIndex;e.tabIndex=-1,e.focus();const i=document.activeElement===e;return e.tabIndex=n,i&&e.blur(),i}catch{return!1}},On=e=>{const t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:s=>Ln(s)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}),n=[];Ln(e)&&n.push(e);let i=t.nextNode();for(;i!==null;)n.push(i),i=t.nextNode();return n};function Et(){typeof customElements<"u"&&["gids-flyout-panel"].forEach((e=>{e==="gids-flyout-panel"&&(customElements.get(e)||customElements.define(e,As))}))}Et();const{getGidsSpinnerControlClassNames:Ts}=xi,{calculateStrokeDasharray:Ls,thickness:Fn,radius:In,centerPosition:We,viewBox:Os}=gi,Fs=({size:e,indeterminate:t,value:n,max:i,...s})=>{let o;return t||(o={strokeDashArray:Ls(n,i||0),strokeDashoffset:"0"}),x("svg",{class:Ts({size:e,indeterminate:t,value:n}),viewBox:Os,...s},x("circle",{class:"gids-spinner-control__track",cx:We,cy:We,r:In,"stroke-width":Fn}),x("circle",{style:o,class:"gids-spinner-control__progress",cx:We,cy:We,r:In,"stroke-width":Fn}))},Is=_e(class extends ce{constructor(e){super(),e!==!1&&this.__registerHost(),this.#t={},this._focusInput=t=>{const n=t.target;n===this.#e||this._isWithinInteractiveElement(n)||this.#e?.focus()},this._handleInputFocusAndBlur=t=>{this._el.dispatchEvent(new FocusEvent(t.type,{relatedTarget:t.relatedTarget}))}}get defaultValue(){return this.#e?.defaultValue??this.#t.defaultValue??""}set defaultValue(e){this.#e?this.#e.defaultValue=e:this.#t.defaultValue=e}get value(){return this.#e?.value??this.#t.value??this.#t.defaultValue??""}set value(e){this.#e?this.#e.value=e:this.#t.value=e}#e;#t;_isWithinInteractiveElement(e){if(e===null||e===this._el||!this._el.contains(e))return!1;if(Ti(e))return!0;{const t=e.parentElement;if(t)return this._isWithinInteractiveElement(t)}return!1}connectedCallback(){this._el.addEventListener("click",this._focusInput)}disconnectedCallback(){this._el.removeEventListener("click",this._focusInput)}render(){return x(Zt,{key:"fb7b4c0ef80c583f3507ce4d37db29d24ca2b562"},x("slot",{key:"d8afd829fa9fbc074538b11d16f313da70edfd41",name:"leadingIcon"}),this.leadingLabel&&x("span",{key:"7a1502d42be08f757dfef5e2749562a0d0abc7f0",class:"gids-input__label"},this.leadingLabel),x("slot",{key:"3ad00b2a862b3a99fbaaef28af9a8228e23f6088",name:"leadingAccessory"}),x("input",{key:"1aa8cce113b2584ac9eee246db731c851dc10b83",...this.inputProps,ref:e=>{this.#e=e,this.#t.value!==void 0&&(this.#e.value=this.#t.value,delete this.#t.value),this.#t.defaultValue!==void 0&&(this.#e.defaultValue=this.#t.defaultValue,delete this.#t.defaultValue)},class:"gids-input__control",name:this.name,disabled:this.disabled,readOnly:this.readOnly,required:this.required,onFocus:this._handleInputFocusAndBlur,onBlur:this._handleInputFocusAndBlur}),x("slot",{key:"dff99e9155afe94cdd7c7cd3229f8c802ca2534f",name:"trailingAccessory"}),this.trailingLabel&&x("span",{key:"ace6d5236a1b0ab3446befbb9f4461405fae2070",class:"gids-input__label"},this.trailingLabel),x("slot",{key:"c0d3c25ff0386ecb237a6747d2f578570de80f82",name:"trailingIcon"}),this.status==="incomplete"&&x(De,{key:"c95bac733d0938c4ac2735c6aed6c8d4b8245d14",name:"warning",appearance:"filled",class:"gids-input__warning-icon"}),this.status==="complete"&&x(De,{key:"0741fdf7121d191ecde85afa1119171752454d62",name:"positive",appearance:"filled",class:"gids-input__positive-icon"}),this.loading&&x(Fs,{key:"5364733f911f6e1aad02d09084d1ffead9b7fac2",size:"md",indeterminate:!0}))}get _el(){return this}},[260,"gids-input",{appearance:[513],defaultValue:[6657,"default-value"],disabled:[516],inputProps:[16],leadingLabel:[513,"leading-label"],trailingLabel:[513,"trailing-label"],loading:[516],name:[513],readOnly:[516,"readonly"],required:[516],status:[513],value:[6145]}]);function _t(){typeof customElements<"u"&&["gids-input"].forEach((e=>{e==="gids-input"&&(customElements.get(e)||customElements.define(e,Is))}))}_t();const{getGidsDropdownClassNames:Ns,getGidsChevronButtonControlClassNames:Ds}=bi,kt="gids-dropdown-item--active",Vs=_e(class extends ce{constructor(e){super(),e!==!1&&this.__registerHost(),this.appearance="default",this.menuPlacement="bottom",this.menuConstrainPlacements=["bottom","top"],this.filterValue="",this.isFilterEditing=!1,this.hasLeadingIcon=!1,this.hasLeadingAccessory=!1,this.activeIndex=-1,this.hasItemListener=!1,this.suppressNextMenuClickSelection=!1,this.hasDocumentListeners=!1,this.hasPendingControlRevalidation=!1,this.suppressNextFilterInput=!1,this.handleDropdownItemSelect=t=>{const{value:n,title:i,disabled:s,id:o,isPlaceholderItem:r}=t.detail;s||typeof n!="string"||(this.suppressNextMenuClickSelection=!0,queueMicrotask((()=>{this.suppressNextMenuClickSelection=!1})),this.applySelection({id:o,value:n,title:i,disabled:!1,originalEvent:t,isPlaceholderItem:r}))},this.handleMenuClick=t=>{if(this.suppressNextMenuClickSelection)return;const n=t.target;if(!(n instanceof Element))return;const i=n.closest(".gids-dropdown-item");if(!i||!this.hostElement.contains(i)||i.hasAttribute("disabled")||i.getAttribute("aria-disabled")==="true")return;const s=i instanceof HTMLButtonElement?i.value:i.getAttribute("value")||"";if(typeof s!="string"||s.length===0)return;const o=i instanceof HTMLButtonElement?i.id:i.getAttribute("id")??"";if(typeof o!="string"||o.length===0)return;const r=i.getAttribute("is-placeholder-item")??"";let l=i.textContent?.trim()??"";l.endsWith("checkmark")&&(l=l.slice(0,-9).trim()),this.applySelection({id:o,value:s,title:l.trim(),disabled:!1,originalEvent:t,isPlaceholderItem:!(!r||r!=="true")})},this.handleFilterInput=t=>{if(this.suppressNextFilterInput)return void(this.suppressNextFilterInput=!1);const n=t.target;this.filterValue=n?.value??"",this.isFilterEditing=!0,this.clearActive(),this.applyFilter()},this.handleInputKeyDown=t=>{if(!this.isInteractive())return;const n=t.key,i=n==="ArrowDown";return!i&&n!=="ArrowUp"||t.metaKey||t.ctrlKey?n==="Home"?(t.preventDefault(),void this.setActiveByIndex(0)):n==="End"?(t.preventDefault(),void this.setActiveByIndex(this.getVisibleEnabledItems().length-1)):void(n==="Enter"&&this.selectActive()&&t.preventDefault()):(t.preventDefault(),void this.moveActive(i?1:-1))},this.handleInputFocusAndBlur=t=>{this.hostElement.dispatchEvent(new FocusEvent(t.type,{relatedTarget:t.relatedTarget}))},this.handleInputClickToggle=()=>{},this.handleChevronClickToggle=t=>{t.defaultPrevented||(t.stopPropagation(),this.disabled||this.readOnly||this.flyoutPanelElement?.isFlyoutPanelVisible().then((n=>{n?this.flyoutPanelElement?.closeFlyoutPanel(t):this.flyoutPanelElement?.openFlyoutPanel(t)})))},this.handleDocumentPointerDown=t=>{t.button!==2&&!(typeof t.composedPath=="function"?t.composedPath():[]).includes(this.hostElement)&&this.hostElement.contains(t.target)},this.handleDocumentKeyDown=t=>{const n=t.key;n!=="Escape"&&n!=="Esc"||t.preventDefault()},this.handleFormReset=()=>{this.value=this.initialValue,this.selectedItemTitle=void 0,this.isFilterEditing=!1,this.filterValue=""}}handleInteractivityChange(e){this.disabled=e,this.readOnly=e}menuPlacementChanged(e){this.menuPlacement=e}menuConstrainPlacementsChanged(e){this.menuConstrainPlacements=e}connectedCallback(){this.initialValue=this.value,this.attachItemListener(),this.attachDocumentListeners(),this.attachFormListener()}disconnectedCallback(){this.detachItemListener(),this.detachDocumentListeners(),this.detachFormListener()}componentWillLoad(){this.checkSlots()}componentWillUpdate(){this.checkSlots()}componentDidRender(){this.flyoutPanelElement=this.hostElement.querySelector("gids-flyout-panel")??void 0}checkSlots(){this.hasLeadingIcon=!!this.hostElement.querySelector('[slot="leadingIconDropdown"]'),this.hasLeadingAccessory=!!this.hostElement.querySelector('[slot="leadingAccessoryDropdown"]')}getItemElements(){return Array.from(this.hostElement.querySelectorAll(".gids-dropdown-item"))}getVisibleEnabledItems(){return this.getItemElements().filter((e=>e.style.display!=="none"&&!e.hasAttribute("disabled")&&e.getAttribute("aria-disabled")!=="true"))}attachItemListener(){this.hasItemListener||(this.hostElement.addEventListener("onPressDropdownItem",this.handleDropdownItemSelect),this.hasItemListener=!0)}detachItemListener(){this.hasItemListener&&(this.hostElement.removeEventListener("onPressDropdownItem",this.handleDropdownItemSelect),this.hasItemListener=!1)}applySelection(e){this.value=e.value,this.selectedItemTitle=typeof e.title=="string"?e.title:void 0,this.isFilterEditing=!1,this.filterValue="",this.clearActive(),this.emitNativeSelectionEvents(this.selectedItemTitle??""),this.resetItemVisibility(),this.onSelectionChange?.(e);const t=new CustomEvent("gidsDropdownChange",{bubbles:!0,composed:!0,detail:e});this.hostElement.dispatchEvent(t),this.disabled||this.readOnly||this.flyoutPanelElement?.isFlyoutPanelVisible().then((n=>{n?this.flyoutPanelElement?.closeFlyoutPanel(t):this.flyoutPanelElement?.openFlyoutPanel(t)}))}getInputControl(){return this.hostElement.querySelector(".gids-input__control")}emitNativeSelectionEvents(e){const t=this.getInputControl();t&&(t.value=e,this.suppressNextFilterInput=!0,t.dispatchEvent(new Event("input",{bubbles:!0,composed:!0})),t.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})),this.suppressNextFilterInput&&(this.suppressNextFilterInput=!1))}clearActive(){this.activeIndex=-1,this.getItemElements().forEach((e=>e.classList.remove(kt))),this.setActiveDescendant(void 0)}setActiveByIndex(e){const t=this.getVisibleEnabledItems();if(this.getItemElements().forEach((s=>s.classList.remove(kt))),t.length===0)return this.activeIndex=-1,void this.setActiveDescendant(void 0);const n=Math.max(0,Math.min(e,t.length-1)),i=t[n];if(!i)return this.activeIndex=-1,void this.setActiveDescendant(void 0);this.activeIndex=n,i.classList.add(kt),i.scrollIntoView({block:"nearest"}),this.setActiveDescendant(i.id||void 0)}moveActive(e){const t=this.getVisibleEnabledItems();t.length!==0?this.setActiveByIndex(this.activeIndex===-1?e>0?0:t.length-1:(this.activeIndex+e+t.length)%t.length):this.clearActive()}selectActive(){const e=this.getVisibleEnabledItems();if(e.length===0)return!1;const t=this.activeIndex>=0?e[this.activeIndex]:e[0];return!!t&&(t.click(),this.getInputControl()?.focus(),!0)}applyFilter(){const e=this.filterValue.trim().toLowerCase();this.getItemElements().forEach((t=>{const n=(t.textContent??"").toLowerCase();e.length===0||n.includes(e)?t.style.removeProperty("display"):t.style.display="none"}))}resetItemVisibility(){this.getItemElements().forEach((e=>{e.style.removeProperty("display")}))}setActiveDescendant(e){const t=this.getInputControl();t&&(e?t.setAttribute("aria-activedescendant",e):t.removeAttribute("aria-activedescendant"))}attachDocumentListeners(){this.hasDocumentListeners||typeof document>"u"||(document.addEventListener("pointerdown",this.handleDocumentPointerDown),document.addEventListener("keydown",this.handleDocumentKeyDown),this.hasDocumentListeners=!0)}detachDocumentListeners(){this.hasDocumentListeners&&typeof document<"u"&&(document.removeEventListener("pointerdown",this.handleDocumentPointerDown),document.removeEventListener("keydown",this.handleDocumentKeyDown),this.hasDocumentListeners=!1)}attachFormListener(){const e=this.hostElement.closest("form");this.patternForm!==e&&(this.patternForm&&this.patternForm.removeEventListener("reset",this.handleFormReset),this.patternForm=e??void 0,this.patternForm?.addEventListener("reset",this.handleFormReset))}detachFormListener(){this.patternForm&&(this.patternForm.removeEventListener("reset",this.handleFormReset),this.patternForm=void 0)}get form(){return this.getInputControl()?.form??this.patternForm??null}get validity(){return this.getInputControl()?.validity??{}}get validationMessage(){return this.getInputControl()?.validationMessage??""}get willValidate(){return this.getInputControl()?.willValidate??!1}async checkValidity(){return this.getInputControl()?.checkValidity()??!0}async reportValidity(){return this.getInputControl()?.reportValidity()??!0}async setCustomValidity(e){return this.getInputControl()?.setCustomValidity(e)}isInteractive(){return!(this.disabled||this.readOnly)}scheduleControlRevalidation(){if(this.hasPendingControlRevalidation)return;this.hasPendingControlRevalidation=!0;const e=()=>{this.hasPendingControlRevalidation=!1,this.checkValidity()};typeof requestAnimationFrame!="function"?e():requestAnimationFrame(e)}getEnhancedInputProps(){const e={...this.inputProps??{}};typeof e.autoComplete=="string"&&e?.autoComplete?.trim?.()?.length!==0||(e.autoComplete="off");const t=e.onInput;e.onInput=s=>{t?.(s),this.handleFilterInput(s)};const n=e.onBlur;e.onBlur=s=>{n?.(s),this.scheduleControlRevalidation()};const i=e.onKeyDown;return e.onKeyDown=s=>{i?.(s),s.defaultPrevented||this.handleInputKeyDown(s)},e}render(){const e=Ns(),t=this.getEnhancedInputProps(),n=typeof t.id=="string"?t.id:void 0,i=n?`${n}__menu`:void 0,s=this.isFilterEditing?this.filterValue:this.selectedItemTitle??this.value??"",o=this.disabled||this.readOnly?"":`dropdown-${i}`,r=x("button",{key:"d3fc5400d7f2cccf92b5be848748ae9d71b16bb8",class:Ds({size:"lg"}),slot:"trailingAccessory",type:"button",onClick:l=>this.handleChevronClickToggle(l),"aria-haspopup":"listbox","aria-controls":i,disabled:this.disabled||this.readOnly,tabIndex:-1},x("span",{key:"4f2640fcd482a0616b65702eb9bcd1a16baacdee",class:"gids-button__content"},x(De,{key:"933d0766b0655aef2102f8b8908b8cbdd6178ff9",name:"chevron-vertical",alt:""})));return x("div",{key:"5cff063e1c1c42cf0d0b8d0e26d3134a6134cabf",class:e},x("gids-input",{key:"8d5b379dae8f65e6049a0d4d1d6ac9833f93d378",appearance:this.appearance,loading:this.loading,disabled:this.disabled,readOnly:this.readOnly,required:this.required,value:s,name:this.name,inputProps:t,onClick:this.handleInputClickToggle,onFocus:this.handleInputFocusAndBlur,onBlur:this.handleInputFocusAndBlur,id:o},this.hasLeadingIcon&&x("slot",{key:"94d6d5adfb4f50133a7db2b33369ca544c134501",name:"leadingIconDropdown",slot:"leadingIcon"}),this.hasLeadingAccessory&&x("slot",{key:"8de475c3d539311d3f9b2ee77c132e584f4aebee",name:"leadingAccessoryDropdown",slot:"leadingAccessory"}),r),x("gids-flyout-panel",{key:"06548f4c906e8977a77f697a5b8a691937fa4f58",placement:this?.menuPlacement??"bottom",constrainPlacements:this?.menuConstrainPlacements??["bottom","top"],onClick:this.handleMenuClick,htmlFor:o},x("slot",{key:"7e44848855366367c21960554e18e77cc4dd71d2"})))}get hostElement(){return this}static get watchers(){return{disabled:[{handleInteractivityChange:0}],readOnly:[{handleInteractivityChange:0}],menuPlacement:[{menuPlacementChanged:0}],menuConstrainPlacements:[{menuConstrainPlacementsChanged:0}]}}static get style(){return".gids-dropdown{position:relative}.gids-dropdown__leading-icon{display:flex;align-items:center}.gids-dropdown__accessory{display:flex;align-items:center}"}},[260,"gids-dropdown",{appearance:[1],inputProps:[16],disabled:[516],readOnly:[516,"read-only"],loading:[516],value:[513],name:[1],onSelectionChange:[16],required:[4],menuPlacement:[1,"menu-placement"],menuConstrainPlacements:[16],filterValue:[32],isFilterEditing:[32],selectedItemTitle:[32],hasLeadingIcon:[32],hasLeadingAccessory:[32],checkValidity:[64],reportValidity:[64],setCustomValidity:[64]},void 0,{disabled:[{handleInteractivityChange:0}],readOnly:[{handleInteractivityChange:0}],menuPlacement:[{menuPlacementChanged:0}],menuConstrainPlacements:[{menuConstrainPlacementsChanged:0}]}]);function Nn(){typeof customElements<"u"&&["gids-dropdown","gids-flyout-panel","gids-input"].forEach((e=>{switch(e){case"gids-dropdown":customElements.get(e)||customElements.define(e,Vs);break;case"gids-flyout-panel":customElements.get(e)||Et();break;case"gids-input":customElements.get(e)||_t()}}))}Nn();const be=globalThis.CSSStyleSheet!==void 0?new CSSStyleSheet:void 0;let Dn=!1;be&&document.adoptedStyleSheets?document.adoptedStyleSheets.push(be):console.warn("CSSStyleSheet is not defined. Omitting constructed stylesheet behaviour.");let St=null;const Ct=globalThis.MutationObserver!==void 0?new MutationObserver((()=>{Vn()})):void 0,Vn=()=>{if(be===void 0)return!1;const e=(()=>{if(be===void 0)return;const t=[];for(let n=0;n<document.styleSheets.length;n++){const i=document.styleSheets.item(n);if(i)try{let s=-1,o=0;for(let r=0;r<i.cssRules.length;r++){const l=i.cssRules.item(r);if(l?.cssText.startsWith("gids-global-styles-start"))s=r;else if(s>-1){if(l?.cssText.startsWith("gids-global-styles-end")){o=r-s+1;break}t.push(l)}}if(s>-1)return{rulesStartIndex:s,originalRulesCount:o,rules:t,styleSheet:i}}catch(s){if(!(s instanceof DOMException))throw s}}})();if(e!==void 0){const t=e.styleSheet.ownerNode;return Ct!==void 0&&t!==St&&(St&&Ct.disconnect(),t instanceof Element&&Ct.observe(t,{childList:!0,characterData:!0,subtree:!0}),St=t),be.replaceSync((n=>n.rules.map((i=>i.cssText)).join(""))(e)),(n=>{const{rulesStartIndex:i,originalRulesCount:s,styleSheet:o}=n;for(let r=0;r<s;r++)o.deleteRule(i)})(e),!0}return console.warn("refreshConstructedGidsStylesheet: Gids stylesheet is not found in document."),!1},Rs=()=>(Dn||(Dn=Vn()),be),{getGidsFieldClassNames:$s}=yi,Ms=_e(class extends ce{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})??[],n=this._findTextControl(t);this._attachControlElement(n)},this._handleControlValueInput=t=>{if(!this._controlTouched){const n=t.target;n instanceof HTMLInputElement&&(n.type==="checkbox"||n.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=Rs();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,n=this._getCurrentStatus(),i=["gids-field__status-text"];if(e){const s=this._getStatusModifierClass(n,"gids-field__status-text");s!=null&&i.push(s)}return x(Dt,{key:"08955cbc6fa2aa3d1fb77b9adf0f4032b9cf988b"},x("div",{key:"0c06dde5a88b24f8fa67981ee5a7c811b83ab1e7",class:$s()},x("div",{key:"5692ca38df0daa2b433494395e65281d7bcbf5b3",class:"gids-field__header",hidden:!this._hasLabelContent()},x("slot",{key:"e87ee4f029ab59859e49b279ee7cefcee96656d5",ref:this._setLabelSlot,name:"label",onSlotchange:this._handleControlSlotChange}),x("div",{key:"77a08b54fd4e03cb9a3a4b4e1477d33aeb3b94f1",class:"gids-field__count","aria-live":"polite"},this.count)),x("div",{key:"f129ee9336c06ec9cc5ff57c31ea6ab991dda68e",class:"gids-field__control"},x("slot",{key:"3e41e194c7f1d7a3b0b9e10a039cf3b0475d4185",ref:this._setControlSlot,onSlotchange:this._handleControlSlotChange})),x("p",{key:"3fa1b008ac769f3b43162e616945be51a00b3f7b",class:"gids-field__supporting-text",hidden:!this._shouldShowHelperText()},this.helperText),e?x("p",{class:i.join(" "),role:"status","aria-live":"polite"},this._renderStatusIcon(n),t!==void 0?x("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 n=["gids-field__status-icon"],i=this._getStatusModifierClass(e,"gids-field__status-icon");i!=null&&n.push(i);let s=e;return e==="error"&&(s="danger"),e==="success"&&(s="positive"),x(De,{appearance:"filled",size:"sm",alt:"",name:t,class:n.join(" "),style:{"--gidsIcon-color":`var(--gids-color-icon-${s})`}})}_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((n=>{n.addEventListener("input",this._handleControlValueInput),n.addEventListener("change",this._handleControlValueInput),n.addEventListener("blur",this._handleControlBlur,!0),n.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 n=t.elements.namedItem(e.name);if(n instanceof RadioNodeList){const i=Array.from(n).filter((s=>s instanceof HTMLInputElement&&s.type==="radio"&&this._el.contains(s)));if(i.length>0)return i}}if(e.name!=null){const n=`input[type="radio"][name="${CSS.escape(e.name)}"]`,i=Array.from(this._el.querySelectorAll(n));if(i.length>0)return i}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 n=t,i=this._asTextControl(n);if(i!==null)return i;const s=n.querySelector("input, textarea");if(s instanceof HTMLInputElement||s instanceof HTMLTextAreaElement)return s}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 Rn(){typeof customElements<"u"&&["gids-field"].forEach((e=>{e==="gids-field"&&(customElements.get(e)||customElements.define(e,Ms))}))}Rn();const $n=_e(class extends ce{constructor(e){super(),e!==!1&&this.__registerHost(),this.internals=this.attachInternals(),this.appearance="default",this.expanded=!1,this.menuPlacement="bottom",this.menuConstrainPlacements=["bottom","top"],this.#e=ln(),this.handleSelectionChange=t=>{this.value=t.value,this.syncFormValue(t.value),this.onSelectionChange?.(t)},this.handleDropdownFocusAndBlur=t=>{this.hostElement.dispatchEvent(new FocusEvent(t.type,{relatedTarget:t.relatedTarget}))}}#e;componentWillLoad(){this.syncFormValue(this.value)}handleValueChange(e){this.syncFormValue(e)}menuPlacementChanged(e){this.menuPlacement=e}menuConstrainPlacementsChanged(e){this.menuConstrainPlacements=e}syncFormValue(e){this.internals.setFormValue(e??"")}getDropdownControl(){return this.hostElement.querySelector("gids-dropdown")}get form(){return this.getDropdownControl()?.form??null}get validity(){return this.getDropdownControl()?.validity??{}}get validationMessage(){return this.getDropdownControl()?.validationMessage??""}get willValidate(){return this.getDropdownControl()?.willValidate??!1}async checkValidity(){const e=this.getDropdownControl();return!e?.checkValidity||await e.checkValidity()}async reportValidity(){const e=this.getDropdownControl();return!e?.reportValidity||await e.reportValidity()}async setCustomValidity(e){const t=this.getDropdownControl();if(t?.setCustomValidity)return await t.setCustomValidity(e)}render(){const e=this.inputProps?.id??this.#e,t={...this.inputProps,id:e,placeholder:this.inputProps?.placeholder??"Please select an option"};return x("gids-field",{key:"c7225a7a06c8e2e7afef5863d3095fc775a65c22",disabled:this.disabled,helperText:this.helperText,statusText:this.statusText,status:this.status},this.label!==void 0?x(Fi,{slot:"label",disabled:this.disabled,htmlFor:e,fieldRequirement:this.required?"required":void 0},this.label):null,x("gids-dropdown",{key:"65299431ff0ac0a67174b76878f2e356253a41e9",appearance:this.appearance,inputProps:t,disabled:this.disabled,readOnly:this.readOnly,loading:this.loading,value:this.value,name:this.name,onSelectionChange:this.handleSelectionChange,onFocus:this.handleDropdownFocusAndBlur,onBlur:this.handleDropdownFocusAndBlur,required:this.required},x("slot",{key:"baf3a9444f1f3acd22cca6df2634589a54a272f0",name:"leadingIconDropdown"}),x("slot",{key:"825ce4c000c2958ca130932aa3855e5daa7024dc",name:"leadingAccessoryDropdown"}),x("slot",{key:"6eb411a20f7b61c0bf6d269a2ad0f9d73eba41f8"})))}static get formAssociated(){return!0}get hostElement(){return this}static get watchers(){return{value:[{handleValueChange:0}],menuPlacement:[{menuPlacementChanged:0}],menuConstrainPlacements:[{menuConstrainPlacementsChanged:0}]}}},[324,"gids-dropdown-field",{label:[513],helperText:[513,"helper-text"],statusText:[513,"status-text"],status:[513],appearance:[513],expanded:[516],readOnly:[516,"readonly"],disabled:[516],loading:[516],inputProps:[16],value:[1025],name:[513],menuPlacement:[1,"menu-placement"],menuConstrainPlacements:[16],onSelectionChange:[16],required:[516],checkValidity:[64],reportValidity:[64],setCustomValidity:[64]},void 0,{value:[{handleValueChange:0}],menuPlacement:[{menuPlacementChanged:0}],menuConstrainPlacements:[{menuConstrainPlacementsChanged:0}]}]);function Mn(){typeof customElements<"u"&&["gids-dropdown-field","gids-dropdown","gids-field","gids-flyout-panel","gids-input"].forEach((e=>{switch(e){case"gids-dropdown-field":customElements.get(e)||customElements.define(e,$n);break;case"gids-dropdown":customElements.get(e)||Nn();break;case"gids-field":customElements.get(e)||Rn();break;case"gids-flyout-panel":customElements.get(e)||Et();break;case"gids-input":customElements.get(e)||_t()}}))}Mn();const qs=$n,js=Mn;te.GidsDropdownField=qs,te.defineCustomElement=js,Object.defineProperty(te,Symbol.toStringTag,{value:"Module"})}));