@ganpatiinfo/gids-core-web 23.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 (239) hide show
  1. package/dist/css/index.css +28 -30
  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.js +1 -1
  11. package/dist/gids-calendar-year-list.js +1 -1
  12. package/dist/gids-calendar.js +1 -1
  13. package/dist/gids-chart-legend-item.js +1 -1
  14. package/dist/gids-chart-legend.js +1 -1
  15. package/dist/gids-chart.js +1 -1
  16. package/dist/gids-chevron-button.js +1 -1
  17. package/dist/gids-date-picker-field.js +1 -1
  18. package/dist/gids-date-picker.js +1 -1
  19. package/dist/gids-day-dropdown-picker.js +1 -1
  20. package/dist/gids-dot.js +1 -1
  21. package/dist/gids-dropdown-field.js +1 -1
  22. package/dist/gids-dropdown-picker.js +1 -1
  23. package/dist/gids-dropdown.js +1 -1
  24. package/dist/gids-expansion-body-list-item.js +1 -1
  25. package/dist/gids-expansion-body-list.js +1 -1
  26. package/dist/gids-expansion-group.js +1 -1
  27. package/dist/gids-expansion.js +1 -1
  28. package/dist/gids-field.js +1 -1
  29. package/dist/gids-filter.js +1 -1
  30. package/dist/gids-flyout-panel.js +1 -1
  31. package/dist/gids-form.js +1 -1
  32. package/dist/gids-header-navigation-item.js +1 -1
  33. package/dist/gids-header-navigation.js +1 -1
  34. package/dist/gids-icon.js +1 -1
  35. package/dist/gids-input.js +1 -1
  36. package/dist/gids-line-chart.js +1 -1
  37. package/dist/gids-md-table.js +1 -1
  38. package/dist/gids-month-dropdown-picker.js +1 -1
  39. package/dist/gids-overflow-container.js +1 -1
  40. package/dist/gids-overlay-provider.js +1 -1
  41. package/dist/gids-password-field.js +1 -1
  42. package/dist/gids-pie-chart.js +1 -1
  43. package/dist/gids-popover.js +1 -1
  44. package/dist/gids-profile-menu-header.js +1 -1
  45. package/dist/gids-profile-menu.js +1 -1
  46. package/dist/gids-profile.js +1 -1
  47. package/dist/gids-scrim.js +1 -1
  48. package/dist/gids-sidebar-item.js +1 -1
  49. package/dist/gids-sidebar-menu.js +1 -1
  50. package/dist/gids-sidebar.js +1 -1
  51. package/dist/gids-skeleton.js +1 -1
  52. package/dist/gids-tab-item.js +1 -1
  53. package/dist/gids-tab.js +1 -1
  54. package/dist/gids-text-field.js +1 -1
  55. package/dist/gids-toggle-button.js +1 -1
  56. package/dist/gids-tooltip.js +1 -1
  57. package/dist/gids-transfer-list.js +1 -1
  58. package/dist/gids-year-dropdown-picker.js +1 -1
  59. package/dist/{p-vz4tzbld.js → p-3H10HA8U.js} +1 -1
  60. package/dist/{p-iEUyQs9t.js → p-5SNf54JN.js} +1 -1
  61. package/dist/{p-B2YjHZsu.js → p-69VXkSHc.js} +1 -1
  62. package/dist/{p-B18yNcA0.js → p-B2CvDGSE.js} +1 -1
  63. package/dist/{p-DOiDD7cS.js → p-BGBsQSqM.js} +1 -1
  64. package/dist/{p-CueywyHC.js → p-BWrCtA6O.js} +1 -1
  65. package/dist/{p-DLX-l0-L.js → p-BZdaC92p.js} +1 -1
  66. package/dist/{p-BcXumkjZ.js → p-Bbw1WCO7.js} +1 -1
  67. package/dist/{p-FSv82P6v.js → p-Bi-yBBYT.js} +1 -1
  68. package/dist/{p-DjnREsH0.js → p-BwDi-0yS.js} +1 -1
  69. package/dist/{p-C88Z_F_m.js → p-By0R-oJV.js} +1 -1
  70. package/dist/{p-MaJDBE6u.js → p-CCX8DA2Z.js} +1 -1
  71. package/dist/{p-B4d07GWP.js → p-CJ1tQlEt.js} +1 -1
  72. package/dist/{p-x1tVOUSt.js → p-CL9pZVrx.js} +1 -1
  73. package/dist/{p-CxfmNDsm.js → p-CS2U2Mro.js} +1 -1
  74. package/dist/{p-lvArnlBV.js → p-Cf9ipNLT.js} +1 -1
  75. package/dist/{p-DXlBK8TS.js → p-Cs-QTqUM.js} +1 -1
  76. package/dist/{p-DYKcsBzA.js → p-CytAVtIP.js} +1 -1
  77. package/dist/{p-fE-MdTCH.js → p-D8vooi3L.js} +1 -1
  78. package/dist/{p-DKe6orSY.js → p-DB0ZJi5J.js} +1 -1
  79. package/dist/{p-BNW2xgxF.js → p-DHOvFnv4.js} +1 -1
  80. package/dist/{p-D_mszaeq.js → p-DIrAYgqX.js} +1 -1
  81. package/dist/{p-XVlT5H5q.js → p-DJH7wtiu.js} +1 -1
  82. package/dist/{p-CKj2Ru6e.js → p-DMN5PI18.js} +1 -1
  83. package/dist/{p-jtpLLxuw.js → p-Dt270JVs.js} +1 -1
  84. package/dist/{p-DiX4HaE6.js → p-DuonIHDh.js} +1 -1
  85. package/dist/{p-CZgH5rZs.js → p-_OVEnTXa.js} +1 -1
  86. package/dist/{p-CSXuAs_X.js → p-cXOH6OAQ.js} +1 -1
  87. package/dist/{p-62akP0Ad.js → p-lVcUFx2e.js} +1 -1
  88. package/dist/{p-gK9DvcL8.js → p-peMqbYbz.js} +1 -1
  89. package/dist/p-piTNUZit.js +1 -0
  90. package/dist/types/components/webComponents/GidsHeaderNavigation/GidsHeaderNavigation.d.ts +0 -1
  91. package/dist/types/components/webComponents/GidsHeaderNavigationItem/GidsHeaderNavigationItem.d.ts +4 -6
  92. package/dist/types/components.d.ts +24 -7
  93. package/dist-bundled/es/gids-action-bar.js +16 -16
  94. package/dist-bundled/es/gids-activity-gauge.js +1 -1
  95. package/dist-bundled/es/gids-advanced-tooltip.js +4 -4
  96. package/dist-bundled/es/gids-bar-chart.js +3 -3
  97. package/dist-bundled/es/gids-bento-card.js +1 -1
  98. package/dist-bundled/es/gids-calendar-header-panel.js +1 -1
  99. package/dist-bundled/es/gids-calendar-month-list.js +1 -1
  100. package/dist-bundled/es/gids-calendar-picker.js +1 -1
  101. package/dist-bundled/es/gids-calendar-year-list.js +4 -4
  102. package/dist-bundled/es/gids-calendar.js +2 -2
  103. package/dist-bundled/es/gids-chart-legend-item.js +4 -4
  104. package/dist-bundled/es/gids-chart-legend.js +4 -4
  105. package/dist-bundled/es/gids-chart.js +21 -21
  106. package/dist-bundled/es/gids-chevron-button.js +5 -5
  107. package/dist-bundled/es/gids-date-picker-field.js +21 -21
  108. package/dist-bundled/es/gids-date-picker.js +4 -4
  109. package/dist-bundled/es/gids-day-dropdown-picker.js +3 -3
  110. package/dist-bundled/es/gids-dot.js +1 -1
  111. package/dist-bundled/es/gids-dropdown-field.js +11 -11
  112. package/dist-bundled/es/gids-dropdown-picker.js +1 -1
  113. package/dist-bundled/es/gids-dropdown.js +3 -3
  114. package/dist-bundled/es/gids-expansion-body-list-item.js +1 -1
  115. package/dist-bundled/es/gids-expansion-body-list.js +2 -2
  116. package/dist-bundled/es/gids-expansion-group.js +5 -5
  117. package/dist-bundled/es/gids-expansion.js +1 -1
  118. package/dist-bundled/es/gids-field.js +2 -2
  119. package/dist-bundled/es/gids-filter.js +1 -1
  120. package/dist-bundled/es/gids-flyout-panel.js +3 -3
  121. package/dist-bundled/es/gids-form.js +4 -4
  122. package/dist-bundled/es/gids-header-navigation-item.js +4 -4
  123. package/dist-bundled/es/gids-header-navigation.js +59 -60
  124. package/dist-bundled/es/gids-icon.js +3 -3
  125. package/dist-bundled/es/gids-input.js +4 -4
  126. package/dist-bundled/es/gids-line-chart.js +3 -3
  127. package/dist-bundled/es/gids-md-table.js +60 -60
  128. package/dist-bundled/es/gids-month-dropdown-picker.js +4 -4
  129. package/dist-bundled/es/gids-overflow-container.js +9 -9
  130. package/dist-bundled/es/gids-overlay-provider.js +1 -1
  131. package/dist-bundled/es/gids-password-field.js +10 -10
  132. package/dist-bundled/es/gids-pie-chart.js +1 -1
  133. package/dist-bundled/es/gids-popover.js +1 -1
  134. package/dist-bundled/es/gids-profile-menu-header.js +4 -4
  135. package/dist-bundled/es/gids-profile-menu.js +3 -3
  136. package/dist-bundled/es/gids-profile.js +3 -3
  137. package/dist-bundled/es/gids-scrim.js +3 -3
  138. package/dist-bundled/es/gids-sidebar-item.js +1 -1
  139. package/dist-bundled/es/gids-sidebar-menu.js +1 -1
  140. package/dist-bundled/es/gids-sidebar.js +9 -9
  141. package/dist-bundled/es/gids-skeleton.js +8 -8
  142. package/dist-bundled/es/gids-tab-item.js +6 -6
  143. package/dist-bundled/es/gids-tab.js +4 -4
  144. package/dist-bundled/es/gids-text-field.js +8 -8
  145. package/dist-bundled/es/gids-toggle-button.js +1 -1
  146. package/dist-bundled/es/gids-tooltip.js +3 -3
  147. package/dist-bundled/es/gids-transfer-list.js +2 -2
  148. package/dist-bundled/es/gids-year-dropdown-picker.js +1 -1
  149. package/dist-bundled/es/{p-vz4tzbld-BYJRjHJw.js → p-3H10HA8U-DWG31yfh.js} +9 -9
  150. package/dist-bundled/es/{p-iEUyQs9t-BUXXVuwz.js → p-5SNf54JN-Dke4QoYK.js} +2 -2
  151. package/dist-bundled/es/{p-B2YjHZsu-DxdrSYcE.js → p-69VXkSHc-vZd5gQWS.js} +2 -2
  152. package/dist-bundled/es/{p-B18yNcA0-BaaXQYM_.js → p-B2CvDGSE-B-50q6JD.js} +5 -5
  153. package/dist-bundled/es/{p-DOiDD7cS-j1RR9K9r.js → p-BGBsQSqM-DtooH-AA.js} +3 -3
  154. package/dist-bundled/es/{p-CueywyHC-CsEetdha.js → p-BWrCtA6O-DHaJx1bg.js} +3 -3
  155. package/dist-bundled/es/{p-DLX-l0-L-gumz4bOG.js → p-BZdaC92p-DjVPKyfk.js} +5 -5
  156. package/dist-bundled/es/{p-BcXumkjZ-zNpzLmjI.js → p-Bbw1WCO7-CJU0y0iF.js} +7 -7
  157. package/dist-bundled/es/{p-FSv82P6v-C6jFH7Zo.js → p-Bi-yBBYT-CC0Ktxng.js} +1 -1
  158. package/dist-bundled/es/{p-DjnREsH0-Cm8vBvIX.js → p-BwDi-0yS-vyn3pUko.js} +5 -5
  159. package/dist-bundled/es/{p-C88Z_F_m-wMA27lx_.js → p-By0R-oJV-DkI-JpEG.js} +3 -3
  160. package/dist-bundled/es/{p-MaJDBE6u-DjtEX6-I.js → p-CCX8DA2Z-D0OkaCKx.js} +25 -25
  161. package/dist-bundled/es/{p-B4d07GWP-DLyo7HQ9.js → p-CJ1tQlEt-B8GYL1we.js} +11 -11
  162. package/dist-bundled/es/{p-x1tVOUSt-CdB8Szfe.js → p-CL9pZVrx-BYVOaGDA.js} +8 -8
  163. package/dist-bundled/es/{p-CxfmNDsm-JHseL2it.js → p-CS2U2Mro-6wGJ-t9P.js} +2 -2
  164. package/dist-bundled/es/{p-lvArnlBV-BxkIAxHG.js → p-Cf9ipNLT-HF4MWnLF.js} +10 -10
  165. package/dist-bundled/es/{p-DXlBK8TS-DazOvEm2.js → p-Cs-QTqUM-CcvsSUzr.js} +2 -2
  166. package/dist-bundled/es/{p-DYKcsBzA-BcupA9sw.js → p-CytAVtIP-IZSm6SZx.js} +6 -6
  167. package/dist-bundled/es/{p-fE-MdTCH-CDvG1Xn1.js → p-D8vooi3L-C5jeoC6H.js} +30 -30
  168. package/dist-bundled/es/{p-DKe6orSY-D1kYOeuX.js → p-DB0ZJi5J-BEYBVVuq.js} +10 -10
  169. package/dist-bundled/es/{p-BNW2xgxF-DWKLliyn.js → p-DHOvFnv4-DZQmbUn3.js} +5 -5
  170. package/dist-bundled/es/{p-D_mszaeq-ndcXN34-.js → p-DIrAYgqX-BoR42JaL.js} +2 -2
  171. package/dist-bundled/es/{p-XVlT5H5q-CFIMyrM3.js → p-DJH7wtiu-BDWtYcRw.js} +21 -21
  172. package/dist-bundled/es/{p-CKj2Ru6e-B-Nk5B_P.js → p-DMN5PI18-CiBpBUeE.js} +3 -3
  173. package/dist-bundled/es/{p-jtpLLxuw-BlEPhjmU.js → p-Dt270JVs-DJODMRWa.js} +1 -1
  174. package/dist-bundled/es/{p-DiX4HaE6-C35K492C.js → p-DuonIHDh-B6YKWTfP.js} +8 -8
  175. package/dist-bundled/es/{p-CZgH5rZs-Clk0qfHN.js → p-_OVEnTXa-q7qjnzI3.js} +3 -3
  176. package/dist-bundled/es/{p-CSXuAs_X-Hw6bT-8r.js → p-cXOH6OAQ-BRmZ0lXm.js} +11 -11
  177. package/dist-bundled/es/{p-62akP0Ad-D4pJ0a_I.js → p-lVcUFx2e-D6N6qefs.js} +11 -11
  178. package/dist-bundled/es/{p-gK9DvcL8-Chw-ya2Q.js → p-peMqbYbz-BnWVSfKD.js} +1 -1
  179. package/dist-bundled/es/p-piTNUZit-Jq4qQLgn.js +137 -0
  180. package/dist-bundled/umd/gids-action-bar.umd.js +3 -3
  181. package/dist-bundled/umd/gids-activity-gauge.umd.js +1 -1
  182. package/dist-bundled/umd/gids-advanced-tooltip.umd.js +1 -1
  183. package/dist-bundled/umd/gids-bar-chart.umd.js +1 -1
  184. package/dist-bundled/umd/gids-bento-card.umd.js +1 -1
  185. package/dist-bundled/umd/gids-calendar-header-panel.umd.js +1 -1
  186. package/dist-bundled/umd/gids-calendar-month-list.umd.js +1 -1
  187. package/dist-bundled/umd/gids-calendar-picker.umd.js +1 -1
  188. package/dist-bundled/umd/gids-calendar-year-list.umd.js +1 -1
  189. package/dist-bundled/umd/gids-calendar.umd.js +2 -2
  190. package/dist-bundled/umd/gids-chart-legend-item.umd.js +1 -1
  191. package/dist-bundled/umd/gids-chart-legend.umd.js +1 -1
  192. package/dist-bundled/umd/gids-chart.umd.js +1 -1
  193. package/dist-bundled/umd/gids-chevron-button.umd.js +1 -1
  194. package/dist-bundled/umd/gids-date-picker-field.umd.js +2 -2
  195. package/dist-bundled/umd/gids-date-picker.umd.js +1 -1
  196. package/dist-bundled/umd/gids-day-dropdown-picker.umd.js +2 -2
  197. package/dist-bundled/umd/gids-dot.umd.js +1 -1
  198. package/dist-bundled/umd/gids-dropdown-field.umd.js +1 -1
  199. package/dist-bundled/umd/gids-dropdown-picker.umd.js +1 -1
  200. package/dist-bundled/umd/gids-dropdown.umd.js +1 -1
  201. package/dist-bundled/umd/gids-expansion-body-list-item.umd.js +1 -1
  202. package/dist-bundled/umd/gids-expansion-body-list.umd.js +1 -1
  203. package/dist-bundled/umd/gids-expansion-group.umd.js +1 -1
  204. package/dist-bundled/umd/gids-expansion.umd.js +1 -1
  205. package/dist-bundled/umd/gids-field.umd.js +1 -1
  206. package/dist-bundled/umd/gids-filter.umd.js +2 -2
  207. package/dist-bundled/umd/gids-flyout-panel.umd.js +1 -1
  208. package/dist-bundled/umd/gids-form.umd.js +1 -1
  209. package/dist-bundled/umd/gids-header-navigation-item.umd.js +2 -2
  210. package/dist-bundled/umd/gids-header-navigation.umd.js +2 -2
  211. package/dist-bundled/umd/gids-icon.umd.js +2 -2
  212. package/dist-bundled/umd/gids-input.umd.js +1 -1
  213. package/dist-bundled/umd/gids-line-chart.umd.js +1 -1
  214. package/dist-bundled/umd/gids-md-table.umd.js +1 -1
  215. package/dist-bundled/umd/gids-month-dropdown-picker.umd.js +2 -2
  216. package/dist-bundled/umd/gids-overflow-container.umd.js +1 -1
  217. package/dist-bundled/umd/gids-overlay-provider.umd.js +1 -1
  218. package/dist-bundled/umd/gids-password-field.umd.js +1 -1
  219. package/dist-bundled/umd/gids-pie-chart.umd.js +1 -1
  220. package/dist-bundled/umd/gids-popover.umd.js +1 -1
  221. package/dist-bundled/umd/gids-profile-menu-header.umd.js +1 -1
  222. package/dist-bundled/umd/gids-profile-menu.umd.js +2 -2
  223. package/dist-bundled/umd/gids-profile.umd.js +2 -2
  224. package/dist-bundled/umd/gids-scrim.umd.js +1 -1
  225. package/dist-bundled/umd/gids-sidebar-item.umd.js +1 -1
  226. package/dist-bundled/umd/gids-sidebar-menu.umd.js +1 -1
  227. package/dist-bundled/umd/gids-sidebar.umd.js +2 -2
  228. package/dist-bundled/umd/gids-skeleton.umd.js +2 -2
  229. package/dist-bundled/umd/gids-tab-item.umd.js +1 -1
  230. package/dist-bundled/umd/gids-tab.umd.js +1 -1
  231. package/dist-bundled/umd/gids-text-field.umd.js +1 -1
  232. package/dist-bundled/umd/gids-toggle-button.umd.js +2 -2
  233. package/dist-bundled/umd/gids-tooltip.umd.js +2 -2
  234. package/dist-bundled/umd/gids-transfer-list.umd.js +1 -1
  235. package/dist-bundled/umd/gids-year-dropdown-picker.umd.js +2 -2
  236. package/dist-bundled/umd-complete/gids-core-web.umd.js +9 -9
  237. package/package.json +4 -4
  238. package/dist/p-COsSHfdc.js +0 -1
  239. package/dist-bundled/es/p-COsSHfdc-DfDYoLSS.js +0 -151
@@ -2,4 +2,4 @@
2
2
  Flattening is not supported for Stencil non-shadow slots.
3
3
  You can use \`.childNodes\` to nested slot fallback content.
4
4
  If you have a particular use case, please open an issue on the Stencil repo.
5
- `);const y=this["s-cr"].parentElement;return(y.__childNodes?y.childNodes:(w=>{const m=[];for(let g=0;g<w.length;g++){const b=w[g]["s-nr"]||void 0;b&&b.isConnected&&m.push(b)}return m})(y.childNodes)).forEach((w=>{f===ge(w)&&p.push(w)})),c?p.filter((w=>w.nodeType===1)):p}).bind(d);d.assignedElements=u(!0),d.assignedNodes=u(!1)})(s),l=e&&e.m&&e.m[n],l&&l.O===o.O&&e.S&&$t(e.S)),s},$t=e=>{O.i|=1;const t=e.closest(ie.toLowerCase());if(t!=null){const n=Array.from(t.__childNodes||t.childNodes).find((o=>o["s-cr"])),i=Array.from(e.__childNodes||e.childNodes);for(const o of n?i.reverse():i)o["s-sh"]!=null&&(T(t,o,n??null),o["s-sh"]=void 0,Pe=!0)}O.i&=-2},Fe=(e,t)=>{O.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 o=n[i];o["s-hn"]!==ie&&o["s-ol"]&&(T(ye(o).parentNode,o,ye(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,Pe=!0),t&&Fe(o,t)}O.i&=-2},Mt=(e,t,n,i,o,s)=>{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);o<=s;++o)i[o]&&(r=Oe(null,n,o),r&&(i[o].S=r,T(l,r,ye(t))))},Vt=(e,t,n)=>{for(let i=t;i<=n;++i){const o=e[i];if(o){const s=o.S;jt(o),s&&(Ae=!0,s["s-ol"]?s["s-ol"].remove():Fe(s,!0),s.remove())}}},Ne=(e,t,n=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:n?(n&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),ye=e=>e&&e["s-ol"]||e,ce=(e,t,n=!1)=>{const i=t.S=e.S,o=e.m,s=t.m,r=t.O,l=t.h;let a;l==null?(L=r==="svg"||r!=="foreignObject"&&L,r!=="slot"||be||e.j!==t.j&&(t.S["s-sn"]=t.j||"",$t(t.S.parentElement)),Ze(e,t,L),o!==null&&s!==null?((d,u,c,h,p=!1)=>{let f,y,w=0,m=0,g=0,b=0,x=u.length-1,v=u[0],k=u[x],S=h.length-1,A=h[0],P=h[S];const F=c.O==="template"?d.content:d;for(;w<=x&&m<=S;)if(v==null)v=u[++w];else if(k==null)k=u[--x];else if(A==null)A=h[++m];else if(P==null)P=h[--S];else if(Ne(v,A,p))ce(v,A,p),v=u[++w],A=h[++m];else if(Ne(k,P,p))ce(k,P,p),k=u[--x],P=h[--S];else if(Ne(v,P,p))v.O!=="slot"&&P.O!=="slot"||Fe(v.S.parentNode,!1),ce(v,P,p),T(F,v.S,k.S.nextSibling),v=u[++w],P=h[--S];else if(Ne(k,A,p))v.O!=="slot"&&P.O!=="slot"||Fe(k.S.parentNode,!1),ce(k,A,p),T(F,k.S,v.S),k=u[--x],A=h[++m];else{for(g=-1,b=w;b<=x;++b)if(u[b]&&u[b].$!==null&&u[b].$===A.$){g=b;break}g>=0?(y=u[g],y.O!==A.O?f=Oe(u&&u[m],c,g):(ce(y,A,p),u[g]=void 0,f=y.S),A=h[++m]):(f=Oe(u&&u[m],c,m),A=h[++m]),f&&T(ye(v.S).parentNode,f,ye(v.S))}w>x?Mt(d,h[S+1]==null?null:h[S+1].S,c,h,m,S):m>S&&Vt(u,w,x)})(i,o,t,s,n):s!==null?(e.h!==null&&(i.textContent=""),Mt(i,null,t,s,0,s.length-1)):!n&&o!==null&&Vt(o,0,o.length-1),L&&r==="svg"&&(L=!1)):(a=i["s-cr"])?a.parentNode.textContent=l:e.h!==l&&(i.data=l)},z=[],qt=e=>{let t,n,i;const o=e.__childNodes||e.childNodes;for(const s of o){if(s["s-sr"]&&(t=s["s-cr"])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;const r=s["s-sn"];for(i=n.length-1;i>=0;i--)if(t=n[i],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===s["s-hn"]||t["s-sh"]&&t["s-sh"]===s["s-hn"]))if(Ot(t,r)){let l=z.find((a=>a.k===t));Ae=!0,t["s-sn"]=t["s-sn"]||r,l?(l.k["s-sh"]=s["s-hn"],l.N=s):(t["s-sh"]=s["s-hn"],z.push({N:s,k:t})),t["s-sr"]&&z.map((a=>{Ot(a.k,t["s-sn"])&&(l=z.find((d=>d.k===t)),l&&!a.N&&(a.N=l.N))}))}else z.some((l=>l.k===t))||z.push({k:t})}s.nodeType===1&&qt(s)}},jt=e=>{e.v&&e.v.ref&&Je.push((()=>e.v.ref(null))),e.m&&e.m.map(jt)},Wn=(e,t)=>{Qe.push((()=>e(t)))},T=(e,t,n,i)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,n);const{slotNode:o}=(function(s,r){var l;if(!(r=r||((l=s["s-ol"])==null?void 0:l.parentElement)))return{slotNode:null,slotName:""};const a=s["s-sn"]=ge(s)||"";return{slotNode:Ue(Ke(r,"childNodes"),r.tagName,a)[0],slotName:a}})(t);return o&&!i&&o.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,n):e?.insertBefore(t,n)},zn=(e,t,n=!1)=>{var i,o,s,r,l;const a=e.$hostElement$,d=e.o,u=e.M||Ce(null,null);var c;const h=(c=t)&&c.O===Rn?t:E(null,null,t);if(ie=a.tagName,d.C&&(h.v=h.v||{},d.C.forEach((([p,f])=>{h.v[f]=a[p]}))),n&&h.v)for(const p of Object.keys(h.v))a.hasAttribute(p)&&!["key","ref","style","class"].includes(p)&&(h.v[p]=a[p]);if(h.O=null,h.i|=4,e.M=h,h.S=u.S=a.shadowRoot||a,be=!(!(1&d.i)||128&d.i),Ye=a["s-cr"],Ae=!1,ce(u,h,n),O.i|=1,Pe){qt(h.S);for(const p of z){const f=p.k;if(!f["s-ol"]&&C.document){const y=C.document.createTextNode("");y["s-nr"]=f,T(f.parentNode,f["s-ol"]=y,f,n)}}for(const p of z){const f=p.k,y=p.N;if(f.nodeType===1&&n&&(f["s-ih"]=(i=f.hidden)!=null&&i),y){const w=y.parentNode;let m=y.nextSibling;if(m&&m.nodeType===1){let g=(o=f["s-ol"])==null?void 0:o.previousSibling;for(;g;){let b=(s=g["s-nr"])!=null?s:null;if(b&&b["s-sn"]===f["s-sn"]&&w===(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&&w!==(f.__parentNode||f.parentNode)||(f.__nextSibling||f.nextSibling)!==m)&&f!==m){if(T(w,f,m,n),f.nodeType===8&&f.nodeValue.startsWith("s-nt-")){const g=C.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,T(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(Ae&&Pt(h.S),O.i&=-2,z.length=0,!be&&!(1&d.i)&&a["s-cr"]){const p=h.S.__childNodes||h.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=C.document.createComment("s-nt-"+f.nodeValue);y["s-sn"]=f["s-sn"],T(f.parentNode,y,f,n),f.parentNode.removeChild(f)}}}Ye=void 0,Je.forEach((p=>p())),Je.length=0,Qe.forEach((p=>p())),Qe.length=0},Wt=(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()})))}},et=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Wt(e,e.R);const n=()=>Bn(e,t);if(!t)return In(n);queueMicrotask((()=>{n()}))},Bn=(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 o;return o=we(i,t?"componentWillLoad":"componentWillUpdate",void 0,n),o=zt(o,(()=>we(i,"componentWillRender",void 0,n))),zt(o,(()=>Gn(e,i,t)))},zt=(e,t)=>Hn(e)?e.then(t).catch((n=>{console.error(n),t()})):t(),Hn=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Gn=async(e,t,n)=>{var i;const o=e.$hostElement$,s=o["s-rc"];n&&(r=>{const l=r.o,a=r.$hostElement$,d=l.i,u=((c,h)=>{var p,f,y;const w=Ft(h),m=Ee.get(w);if(!C.document)return w;if(c=c.nodeType===11?c:C.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(w)){g=C.document.createElement("style"),g.textContent=m;const x=(p=O._)!=null?p:(function(){var v,k,S;return(S=(k=(v=C.document.head)==null?void 0:v.querySelector('meta[name="csp-nonce"]'))==null?void 0:k.getAttribute("content"))!=null?S:void 0})();if(x!=null&&g.setAttribute("nonce",x),!(1&h.i))if(c.nodeName==="HEAD"){const v=c.querySelectorAll("link[rel=preconnect]"),k=v.length>0?v[v.length-1].nextSibling:c.querySelector("style");c.insertBefore(g,k?.parentNode===c?k:null)}else if("host"in c)if(We){const v=new((f=c.defaultView)!=null?f:c.ownerDocument.defaultView).CSSStyleSheet;v.replaceSync(m),ze?c.adoptedStyleSheets.unshift(v):c.adoptedStyleSheets=[v,...c.adoptedStyleSheets]}else{const v=c.querySelector("style");v?v.textContent=m+v.textContent:c.prepend(g)}else c.append(g);1&h.i&&c.insertBefore(g,null),4&h.i&&(g.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),b&&b.add(w)}}else{let g=K.get(c);if(g||K.set(c,g=new Set),!g.has(w)){const b=(y=c.defaultView)!=null?y:c.ownerDocument.defaultView;let x;if(m.constructor===b.CSSStyleSheet)x=m;else{x=new b.CSSStyleSheet;for(let v=0;v<m.cssRules.length;v++)x.insertRule(m.cssRules[v].cssText,v)}ze?c.adoptedStyleSheets.push(x):c.adoptedStyleSheets=[...c.adoptedStyleSheets,x],g.add(w)}}return w})(a.shadowRoot?a.shadowRoot:a.getRootNode(),l);10&d&&(a["s-sc"]=u,a.classList.add(u+"-h"))})(e),Un(e,t,o,n),s&&(s.map((r=>r())),o["s-rc"]=void 0);{const r=(i=o["s-p"])!=null?i:[],l=()=>Kn(e);r.length===0?l():(Promise.all(r).then(l).catch(l),e.i|=4,r.length=0)}},Un=(e,t,n,i)=>{try{t=t.render(),e.i&=-17,e.i|=2,zn(e,t,i)}catch(o){ne(o,e.$hostElement$)}return null},Kn=e=>{const t=e.$hostElement$,n=t,i=e.R;we(n,"componentDidRender",void 0,t),64&e.i?we(n,"componentDidUpdate",void 0,t):(e.i|=64,Xn(t),we(n,"componentDidLoad",void 0,t),e.L(t),i||Yn()),e.A&&(e.A(),e.A=void 0),512&e.i&&Ge((()=>et(e,!1))),e.i&=-517},Yn=()=>{Ge((()=>Vn(C,"appload",{detail:{namespace:"gids-core-web"}})))},we=(e,t,n,i)=>{if(e&&e[t])try{return e[t](n)}catch(o){ne(o,i)}},Xn=e=>e.classList.add("hydrated"),Bt=(e,t,n,i)=>{const o=W(e);if(!o)return;const s=e,r=o.l.get(t),l=o.i,a=s;n=_t(n,i.t[t][0],!!(64&i.i));const d=Number.isNaN(r)&&Number.isNaN(n);if(n!==r&&!d){if(o.l.set(t,n),i.F){const u=i.F[t];u&&u.map((c=>{try{const[[h,p]]=Object.entries(c);(128&l||1&p)&&(a?a[h](n,r,t):o.T.push((()=>{o.D[h](n,r,t)})))}catch(h){ne(h,s)}}))}if(2&l){if(a.componentShouldUpdate&&a.componentShouldUpdate(n,r,t)===!1&&!(16&l))return;16&l||et(o,!1)}}},Zn=(e,t,n)=>{var i,o;const s=e.prototype;64&t.i&&1&n&&Nn.forEach((r=>{const l=s[r];Object.defineProperty(s,r,{value(...a){var d;const u=W(this),c=this;c?typeof l=="function"&&l.call(c,...a):(d=u?.H)==null||d.then((h=>{const p=h[r];typeof p=="function"&&p.call(h,...a)}))}})}));{e.watchers&&!t.F&&(t.F=Lt(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:u}=ae(s,l)||{};d&&(t.t[l][0]|=2048),u&&(t.t[l][0]|=4096),Object.defineProperty(s,l,{get(){return d?d.apply(this):(c=l,W(this).l.get(c));var c},configurable:!0,enumerable:!0}),Object.defineProperty(s,l,{set(c){const h=W(this);if(h){if(u)return(32&a?this[l]:h.$hostElement$[l])===void 0&&h.l.get(l)&&(c=h.l.get(l)),u.apply(this,[_t(c,a,!!(64&t.i))]),void Bt(this,l,c=32&a?this[l]:h.$hostElement$[l],t);Bt(this,l,c,t)}}})}}));{const l=new Map;s.attributeChangedCallback=function(a,d,u){O.jmp((()=>{var c;const h=l.get(a),p=W(this);if(this.hasOwnProperty(h),s.hasOwnProperty(h)&&typeof this[h]=="number"&&this[h]==u)return;if(h==null){const g=p?.i;if(p&&g&&!(8&g)&&u!==d){const b=this,x=(c=t.F)==null?void 0:c[a];x?.forEach((v=>{const[[k,S]]=Object.entries(v);b[k]!=null&&(128&g||1&S)&&b[k].call(b,u,d,a)}))}return}const f=r.find((([g])=>g===h)),y=f&&4&f[1][0],w=y&&u===null&&this[h]===void 0;y&&(u=u!==null&&u!=="false");const m=Object.getOwnPropertyDescriptor(s,h);w||u==this[h]||m.get&&!m.set||(this[h]=u)}))},e.observedAttributes=Array.from(new Set([...Object.keys((o=t.F)!=null?o:{}),...r.filter((([a,d])=>31&d[0])).map((([a,d])=>{var u;const c=d[1]||a;return l.set(c,a),512&d[0]&&((u=t.C)==null||u.push([a,c])),c}))]))}}return e},tt=(e,t)=>{const n={i:t[0],p:t[1]};try{n.t=t[2],n.W=t[3],n.F=Lt(e.F),n.P=e.P,n.U=e.U,n.C=[];const i=e.prototype.connectedCallback,o=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((s,r)=>{const l={i:0,$hostElement$:s,o:r,l:new Map,B:new Map};l.H=new Promise((d=>l.L=d)),s["s-p"]=[],s["s-rc"]=[];const a=l;s.__stencil__getHostRef=()=>a,512&r.i&&Fn(s,l)})(this,n)},connectedCallback(){if(!this.__hasHostListenerAttached){const s=W(this);if(!s)return;Gt(this,s,n.W),this.__hasHostListenerAttached=!0}(s=>{if(!(1&O.i)){const r=W(s);if(!r)return;const l=r.o;if(1&r.i)Gt(s,r,l.W),r?.D||r?.H&&r.H.then((()=>{}));else{r.i|=1,12&l.i&&(a=>{if(!C.document)return;const d=a["s-cr"]=C.document.createComment("");d["s-cn"]=!0,T(a,d,a.firstChild)})(s);{let a=s;for(;a=a.parentNode||a.host;)if(a["s-p"]){Wt(r,r.R=a);break}}l.t&&Object.entries(l.t).map((([a,[d]])=>{if(31&d&&Object.prototype.hasOwnProperty.call(s,a)){const u=s[a];delete s[a],s[a]=u}})),(async(a,d,u)=>{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=Ft(u);Ee.has(y)||((w,m,g)=>{let b=Ee.get(w);We&&g?(b=b||new CSSStyleSheet,typeof b=="string"?b=m:b.replaceSync(m)):b=m,Ee.set(w,b)})(y,f,!!(1&u.i))}const h=d.R,p=()=>et(d,!0);h&&h["s-rc"]?h["s-rc"].push(p):p()}catch(h){ne(h,a),d.A&&(d.A(),d.A=void 0),d.L&&d.L(a)}})(s,r,l)}}})(this),i&&i.call(this)},disconnectedCallback(){(async s=>{if(!(1&O.i)){const r=W(s);r?.V&&(r.V.map((l=>l())),r.V=void 0)}K.has(s)&&K.delete(s),s.shadowRoot&&K.has(s.shadowRoot)&&K.delete(s.shadowRoot)})(this),o&&o.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${n.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Tn.call(this,n)}}),Object.defineProperty(e,"is",{value:n.p,configurable:!0}),Zn(e,n,3)}catch(i){return ne(i),e}},Ht=(e,t)=>t,Gt=(e,t,n)=>{n&&C.document&&n.map((([i,o,s])=>{const r=Qn(C.document,e,i),l=Jn(t,s),a=ei(i);O.ael(r,o,l,a),(t.V=t.V||[]).push((()=>O.rel(r,o,l,a)))}))},Jn=(e,t)=>n=>{try{e.$hostElement$[t](n)}catch(i){ne(i,e.$hostElement$)}},Qn=(e,t,n)=>8&n?C:t,ei=e=>Ln?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function Eo(e){return e}function Ut(e){var t,n,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]&&(n=Ut(e[t]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}function Le(){for(var e,t,n=0,i="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Ut(e))&&(i&&(i+=" "),i+=t);return i}const _e=64,Kt=10,Yt=_e/2-Kt/2,ti=_e/2,nt=2*Math.PI*Yt,ni=`0 0 ${_e} ${_e}`,ii=Object.freeze(Object.defineProperty({__proto__:null,calculateStrokeDasharray:(e=0,t)=>{const n=typeof t=="number"&&t>0?t:1,o=Math.max(0,Math.min(n,e))/n*100,s=(nt*o/100).toFixed(2),r=(nt-parseFloat(s)).toFixed(2);return`${s} ${r}`},centerPosition:ti,circumference:nt,radius:Yt,thickness:Kt,viewBox:ni},Symbol.toStringTag,{value:"Module"})),oi=Object.freeze(Object.defineProperty({__proto__:null,getGidsChevronButtonControlClassNames:({size:e},t)=>Le("gids-chevron-button-control",{"gids-chevron-button-control--small":e==="sm","gids-chevron-button-control--large":e==="lg"},t),getGidsDropdownClassNames:e=>Le("gids-dropdown",e)},Symbol.toStringTag,{value:"Module"})),si=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>Le("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"})),ri=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerControlClassNames:({size:e,indeterminate:t,value:n},i)=>Le("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"})),it=Symbol("defaultPath"),Xt=Symbol("pathSet"),ot="gids-asset-paths-set";class li extends EventTarget{#t=new Map;constructor(){super()}#e(t,n){this.#t.set(t,n)}#n(t){return this.#t.get(t)??null}#i=()=>{this.dispatchEvent(new Event(ot))};haveAssetPathsBeenSet(){return this.#n(Xt)!==null}setAssetPaths(t,n){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(it,t);else{for(const i in t)this.#e(i,t[i]);n&&this.#e(it,n)}this.#e(Xt,"true"),setTimeout(this.#i,0)}}getAssetFilePath(t){const n=this.#n(t);if(n===null){const i=this.#n(it);if(i!==null)return`${i}${i.endsWith("/")?"":"/"}${t}`}return n}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(ot,t,{once:!0}),()=>{this.removeEventListener(ot,t)}}}const st=Symbol.for("GIDS"),ai=()=>(globalThis[st]===void 0&&(globalThis[st]={assetPaths:{}}),globalThis[st]),ci=e=>{const t=ai().assetPaths;return t[e]===void 0&&(t[e]=new li),t[e]};function rt(){return ci("@ganpatiinfo/gids-web-shared")}function di(){return rt().haveAssetPathsBeenSet()}function Zt(e){return rt().getAssetFilePath(e)}function ui(e){return rt().onAssetPathsSet(e)}let hi=0;const fi=(e,t="gids")=>e||`${t}-${hi++}`,pi=e=>e.type==="hidden",mi=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&&!pi(e)||["AUDIO","VIDEO"].includes(t)&&e.hasAttribute("controls")||["IMG","OBJECT"].includes(t)&&e.hasAttribute("usemap")||e.hasAttribute("tabindex")&&e.tabIndex>-1)},Jt={"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"]},Qt=new Map;for(const e in Jt)for(const t of Jt[e])Qt.set(t,e);function gi(e){return Qt.get(e)}function en(e,t="regular",n){const i=gi(e);let o=i??"";return n&&i&&(o=n(i)??i),`${o}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:bi}=si,lt=({name:e,size:t,appearance:n,alt:i,class:o,titleId:s,src:r,...l})=>{const a=fi(s);let d=r;return d===void 0&&di()&&(d=en(e,n,Zt)),E("svg",{ref:u=>{d===void 0&&ui((()=>{(function(c,h,p){if(!c)return;const f=document.createElementNS("http://www.w3.org/2000/svg","use");f.setAttribute("href",en(h,p,Zt)),c.appendChild(f)})(u,e,n)}))},width:"16",height:"16",class:bi({size:t},o),role:"img","aria-hidden":i===""?"true":void 0,"aria-labelledby":i===""?void 0:a,...l},i!==""&&E("title",{id:a},i||e),d!==void 0?E("use",{href:d}):null)},Y=Math.min,_=Math.max,Ie=Math.round,Te=Math.floor,V=e=>({x:e,y:e}),yi={left:"right",right:"left",bottom:"top",top:"bottom"};function at(e,t,n){return _(e,Y(t,n))}function de(e,t){return typeof e=="function"?e(t):e}function X(e){return e.split("-")[0]}function ue(e){return e.split("-")[1]}function tn(e){return e==="x"?"y":"x"}function ct(e){return e==="y"?"height":"width"}function B(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function dt(e){return tn(B(e))}function wi(e,t,n){n===void 0&&(n=!1);const i=ue(e),o=dt(e),s=ct(o);let r=o==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(r=De(r)),[r,De(r)]}function vi(e){const t=De(e);return[ut(e),t,ut(t)]}function ut(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const nn=["left","right"],on=["right","left"],xi=["top","bottom"],ki=["bottom","top"];function Ei(e,t,n){switch(e){case"top":case"bottom":return n?t?on:nn:t?nn:on;case"left":case"right":return t?xi:ki;default:return[]}}function Si(e,t,n,i){const o=ue(e);let s=Ei(X(e),n==="start",i);return o&&(s=s.map(r=>r+"-"+o),t&&(s=s.concat(s.map(ut)))),s}function De(e){const t=X(e);return yi[t]+e.slice(t.length)}function Ci(e){return{top:0,right:0,bottom:0,left:0,...e}}function sn(e){return typeof e!="number"?Ci(e):{top:e,right:e,bottom:e,left:e}}function Re(e){const{x:t,y:n,width:i,height:o}=e;return{width:i,height:o,top:n,left:t,right:t+i,bottom:n+o,x:t,y:n}}function rn(e,t,n){let{reference:i,floating:o}=e;const s=B(t),r=dt(t),l=ct(r),a=X(t),d=s==="y",u=i.x+i.width/2-o.width/2,c=i.y+i.height/2-o.height/2,h=i[l]/2-o[l]/2;let p;switch(a){case"top":p={x:u,y:i.y-o.height};break;case"bottom":p={x:u,y:i.y+i.height};break;case"right":p={x:i.x+i.width,y:c};break;case"left":p={x:i.x-o.width,y:c};break;default:p={x:i.x,y:i.y}}switch(ue(t)){case"start":p[r]-=h*(n&&d?-1:1);break;case"end":p[r]+=h*(n&&d?-1:1);break}return p}async function Ai(e,t){var n;t===void 0&&(t={});const{x:i,y:o,platform:s,rects:r,elements:l,strategy:a}=e,{boundary:d="clippingAncestors",rootBoundary:u="viewport",elementContext:c="floating",altBoundary:h=!1,padding:p=0}=de(t,e),f=sn(p),w=l[h?c==="floating"?"reference":"floating":c],m=Re(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(w)))==null||n?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:d,rootBoundary:u,strategy:a})),g=c==="floating"?{x:i,y:o,width:r.floating.width,height:r.floating.height}:r.reference,b=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),x=await(s.isElement==null?void 0:s.isElement(b))?await(s.getScale==null?void 0:s.getScale(b))||{x:1,y:1}:{x:1,y:1},v=Re(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:g,offsetParent:b,strategy:a}):g);return{top:(m.top-v.top+f.top)/x.y,bottom:(v.bottom-m.bottom+f.bottom)/x.y,left:(m.left-v.left+f.left)/x.x,right:(v.right-m.right+f.right)/x.x}}const Pi=50,Oi=async(e,t,n)=>{const{placement:i="bottom",strategy:o="absolute",middleware:s=[],platform:r}=n,l=r.detectOverflow?r:{...r,detectOverflow:Ai},a=await(r.isRTL==null?void 0:r.isRTL(t));let d=await r.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:c}=rn(d,i,a),h=i,p=0;const f={};for(let y=0;y<s.length;y++){const w=s[y];if(!w)continue;const{name:m,fn:g}=w,{x:b,y:x,data:v,reset:k}=await g({x:u,y:c,initialPlacement:i,placement:h,strategy:o,middlewareData:f,rects:d,platform:l,elements:{reference:e,floating:t}});u=b??u,c=x??c,f[m]={...f[m],...v},k&&p<Pi&&(p++,typeof k=="object"&&(k.placement&&(h=k.placement),k.rects&&(d=k.rects===!0?await r.getElementRects({reference:e,floating:t,strategy:o}):k.rects),{x:u,y:c}=rn(d,h,a)),y=-1)}return{x:u,y:c,placement:h,strategy:o,middlewareData:f}},Fi=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:i,placement:o,rects:s,platform:r,elements:l,middlewareData:a}=t,{element:d,padding:u=0}=de(e,t)||{};if(d==null)return{};const c=sn(u),h={x:n,y:i},p=dt(o),f=ct(p),y=await r.getDimensions(d),w=p==="y",m=w?"top":"left",g=w?"bottom":"right",b=w?"clientHeight":"clientWidth",x=s.reference[f]+s.reference[p]-h[p]-s.floating[f],v=h[p]-s.reference[p],k=await(r.getOffsetParent==null?void 0:r.getOffsetParent(d));let S=k?k[b]:0;(!S||!await(r.isElement==null?void 0:r.isElement(k)))&&(S=l.floating[b]||s.floating[f]);const A=x/2-v/2,P=S/2-y[f]/2-1,F=Y(c[m],P),J=Y(c[g],P),j=F,Q=S-y[f]-J,N=S/2-y[f]/2+A,le=at(j,N,Q),U=!a.arrow&&ue(o)!=null&&N!==le&&s.reference[f]/2-(N<j?F:J)-y[f]/2<0,$=U?N<j?N-j:N-Q:0;return{[p]:h[p]+$,data:{[p]:le,centerOffset:N-le-$,...U&&{alignmentOffset:$}},reset:U}}}),Ni=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,i;const{placement:o,middlewareData:s,rects:r,initialPlacement:l,platform:a,elements:d}=t,{mainAxis:u=!0,crossAxis:c=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:y=!0,...w}=de(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const m=X(o),g=B(l),b=X(l)===l,x=await(a.isRTL==null?void 0:a.isRTL(d.floating)),v=h||(b||!y?[De(l)]:vi(l)),k=f!=="none";!h&&k&&v.push(...Si(l,y,f,x));const S=[l,...v],A=await a.detectOverflow(t,w),P=[];let F=((i=s.flip)==null?void 0:i.overflows)||[];if(u&&P.push(A[m]),c){const N=wi(o,r,x);P.push(A[N[0]],A[N[1]])}if(F=[...F,{placement:o,overflows:P}],!P.every(N=>N<=0)){var J,j;const N=(((J=s.flip)==null?void 0:J.index)||0)+1,le=S[N];if(le&&(!(c==="alignment"?g!==B(le):!1)||F.every(M=>B(M.placement)===g?M.overflows[0]>0:!0)))return{data:{index:N,overflows:F},reset:{placement:le}};let U=(j=F.filter($=>$.overflows[0]<=0).sort(($,M)=>$.overflows[1]-M.overflows[1])[0])==null?void 0:j.placement;if(!U)switch(p){case"bestFit":{var Q;const $=(Q=F.filter(M=>{if(k){const ee=B(M.placement);return ee===g||ee==="y"}return!0}).map(M=>[M.placement,M.overflows.filter(ee=>ee>0).reduce((ee,ko)=>ee+ko,0)]).sort((M,ee)=>M[1]-ee[1])[0])==null?void 0:Q[0];$&&(U=$);break}case"initialPlacement":U=l;break}if(o!==U)return{reset:{placement:U}}}return{}}}},Li=new Set(["left","top"]);async function _i(e,t){const{placement:n,platform:i,elements:o}=e,s=await(i.isRTL==null?void 0:i.isRTL(o.floating)),r=X(n),l=ue(n),a=B(n)==="y",d=Li.has(r)?-1:1,u=s&&a?-1:1,c=de(t,e);let{mainAxis:h,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*u,y:h*d}:{x:h*d,y:p*u}}const Ii=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,i;const{x:o,y:s,placement:r,middlewareData:l}=t,a=await _i(t,e);return r===((n=l.offset)==null?void 0:n.placement)&&(i=l.arrow)!=null&&i.alignmentOffset?{}:{x:o+a.x,y:s+a.y,data:{...a,placement:r}}}}},Ti=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:i,placement:o,platform:s}=t,{mainAxis:r=!0,crossAxis:l=!1,limiter:a={fn:m=>{let{x:g,y:b}=m;return{x:g,y:b}}},...d}=de(e,t),u={x:n,y:i},c=await s.detectOverflow(t,d),h=B(X(o)),p=tn(h);let f=u[p],y=u[h];if(r){const m=p==="y"?"top":"left",g=p==="y"?"bottom":"right",b=f+c[m],x=f-c[g];f=at(b,f,x)}if(l){const m=h==="y"?"top":"left",g=h==="y"?"bottom":"right",b=y+c[m],x=y-c[g];y=at(b,y,x)}const w=a.fn({...t,[p]:f,[h]:y});return{...w,data:{x:w.x-n,y:w.y-i,enabled:{[p]:r,[h]:l}}}}}},Di=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,i;const{placement:o,rects:s,platform:r,elements:l}=t,{apply:a=()=>{},...d}=de(e,t),u=await r.detectOverflow(t,d),c=X(o),h=ue(o),p=B(o)==="y",{width:f,height:y}=s.floating;let w,m;c==="top"||c==="bottom"?(w=c,m=h===(await(r.isRTL==null?void 0:r.isRTL(l.floating))?"start":"end")?"left":"right"):(m=c,w=h==="end"?"top":"bottom");const g=y-u.top-u.bottom,b=f-u.left-u.right,x=Y(y-u[w],g),v=Y(f-u[m],b),k=!t.middlewareData.shift;let S=x,A=v;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(A=b),(i=t.middlewareData.shift)!=null&&i.enabled.y&&(S=g),k&&!h){const F=_(u.left,0),J=_(u.right,0),j=_(u.top,0),Q=_(u.bottom,0);p?A=f-2*(F!==0||J!==0?F+J:_(u.left,u.right)):S=y-2*(j!==0||Q!==0?j+Q:_(u.top,u.bottom))}await a({...t,availableWidth:A,availableHeight:S});const P=await r.getDimensions(l.floating);return f!==P.width||y!==P.height?{reset:{rects:!0}}:{}}}};function $e(){return typeof window<"u"}function he(e){return ln(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=(ln(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ln(e){return $e()?e instanceof Node||e instanceof I(e).Node:!1}function D(e){return $e()?e instanceof Element||e instanceof I(e).Element:!1}function H(e){return $e()?e instanceof HTMLElement||e instanceof I(e).HTMLElement:!1}function an(e){return!$e()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof I(e).ShadowRoot}function ve(e){const{overflow:t,overflowX:n,overflowY:i,display:o}=R(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&o!=="inline"&&o!=="contents"}function Ri(e){return/^(table|td|th)$/.test(he(e))}function Me(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const $i=/transform|translate|scale|rotate|perspective|filter/,Mi=/paint|layout|strict|content/,oe=e=>!!e&&e!=="none";let ht;function ft(e){const t=D(e)?R(e):e;return oe(t.transform)||oe(t.translate)||oe(t.scale)||oe(t.rotate)||oe(t.perspective)||!pt()&&(oe(t.backdropFilter)||oe(t.filter))||$i.test(t.willChange||"")||Mi.test(t.contain||"")}function Vi(e){let t=Z(e);for(;H(t)&&!fe(t);){if(ft(t))return t;if(Me(t))return null;t=Z(t)}return null}function pt(){return ht==null&&(ht=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),ht}function fe(e){return/^(html|body|#document)$/.test(he(e))}function R(e){return I(e).getComputedStyle(e)}function Ve(e){return D(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Z(e){if(he(e)==="html")return e;const t=e.assignedSlot||e.parentNode||an(e)&&e.host||q(e);return an(t)?t.host:t}function cn(e){const t=Z(e);return fe(t)?e.ownerDocument?e.ownerDocument.body:e.body:H(t)&&ve(t)?t:cn(t)}function xe(e,t,n){var i;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=cn(e),s=o===((i=e.ownerDocument)==null?void 0:i.body),r=I(o);if(s){const l=mt(r);return t.concat(r,r.visualViewport||[],ve(o)?o:[],l&&n?xe(l):[])}else return t.concat(o,xe(o,[],n))}function mt(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function dn(e){const t=R(e);let n=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const o=H(e),s=o?e.offsetWidth:n,r=o?e.offsetHeight:i,l=Ie(n)!==s||Ie(i)!==r;return l&&(n=s,i=r),{width:n,height:i,$:l}}function gt(e){return D(e)?e:e.contextElement}function pe(e){const t=gt(e);if(!H(t))return V(1);const n=t.getBoundingClientRect(),{width:i,height:o,$:s}=dn(t);let r=(s?Ie(n.width):n.width)/i,l=(s?Ie(n.height):n.height)/o;return(!r||!Number.isFinite(r))&&(r=1),(!l||!Number.isFinite(l))&&(l=1),{x:r,y:l}}const qi=V(0);function un(e){const t=I(e);return!pt()||!t.visualViewport?qi:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ji(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==I(e)?!1:t}function se(e,t,n,i){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),s=gt(e);let r=V(1);t&&(i?D(i)&&(r=pe(i)):r=pe(e));const l=ji(s,n,i)?un(s):V(0);let a=(o.left+l.x)/r.x,d=(o.top+l.y)/r.y,u=o.width/r.x,c=o.height/r.y;if(s){const h=I(s),p=i&&D(i)?I(i):i;let f=h,y=mt(f);for(;y&&i&&p!==f;){const w=pe(y),m=y.getBoundingClientRect(),g=R(y),b=m.left+(y.clientLeft+parseFloat(g.paddingLeft))*w.x,x=m.top+(y.clientTop+parseFloat(g.paddingTop))*w.y;a*=w.x,d*=w.y,u*=w.x,c*=w.y,a+=b,d+=x,f=I(y),y=mt(f)}}return Re({width:u,height:c,x:a,y:d})}function qe(e,t){const n=Ve(e).scrollLeft;return t?t.left+n:se(q(e)).left+n}function hn(e,t){const n=e.getBoundingClientRect(),i=n.left+t.scrollLeft-qe(e,n),o=n.top+t.scrollTop;return{x:i,y:o}}function Wi(e){let{elements:t,rect:n,offsetParent:i,strategy:o}=e;const s=o==="fixed",r=q(i),l=t?Me(t.floating):!1;if(i===r||l&&s)return n;let a={scrollLeft:0,scrollTop:0},d=V(1);const u=V(0),c=H(i);if((c||!c&&!s)&&((he(i)!=="body"||ve(r))&&(a=Ve(i)),c)){const p=se(i);d=pe(i),u.x=p.x+i.clientLeft,u.y=p.y+i.clientTop}const h=r&&!c&&!s?hn(r,a):V(0);return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-a.scrollLeft*d.x+u.x+h.x,y:n.y*d.y-a.scrollTop*d.y+u.y+h.y}}function zi(e){return Array.from(e.getClientRects())}function Bi(e){const t=q(e),n=Ve(e),i=e.ownerDocument.body,o=_(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),s=_(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight);let r=-n.scrollLeft+qe(e);const l=-n.scrollTop;return R(i).direction==="rtl"&&(r+=_(t.clientWidth,i.clientWidth)-o),{width:o,height:s,x:r,y:l}}const fn=25;function Hi(e,t){const n=I(e),i=q(e),o=n.visualViewport;let s=i.clientWidth,r=i.clientHeight,l=0,a=0;if(o){s=o.width,r=o.height;const u=pt();(!u||u&&t==="fixed")&&(l=o.offsetLeft,a=o.offsetTop)}const d=qe(i);if(d<=0){const u=i.ownerDocument,c=u.body,h=getComputedStyle(c),p=u.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,f=Math.abs(i.clientWidth-c.clientWidth-p);f<=fn&&(s-=f)}else d<=fn&&(s+=d);return{width:s,height:r,x:l,y:a}}function Gi(e,t){const n=se(e,!0,t==="fixed"),i=n.top+e.clientTop,o=n.left+e.clientLeft,s=H(e)?pe(e):V(1),r=e.clientWidth*s.x,l=e.clientHeight*s.y,a=o*s.x,d=i*s.y;return{width:r,height:l,x:a,y:d}}function pn(e,t,n){let i;if(t==="viewport")i=Hi(e,n);else if(t==="document")i=Bi(q(e));else if(D(t))i=Gi(t,n);else{const o=un(e);i={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Re(i)}function mn(e,t){const n=Z(e);return n===t||!D(n)||fe(n)?!1:R(n).position==="fixed"||mn(n,t)}function Ui(e,t){const n=t.get(e);if(n)return n;let i=xe(e,[],!1).filter(l=>D(l)&&he(l)!=="body"),o=null;const s=R(e).position==="fixed";let r=s?Z(e):e;for(;D(r)&&!fe(r);){const l=R(r),a=ft(r);!a&&l.position==="fixed"&&(o=null),(s?!a&&!o:!a&&l.position==="static"&&!!o&&(o.position==="absolute"||o.position==="fixed")||ve(r)&&!a&&mn(e,r))?i=i.filter(u=>u!==r):o=l,r=Z(r)}return t.set(e,i),i}function Ki(e){let{element:t,boundary:n,rootBoundary:i,strategy:o}=e;const r=[...n==="clippingAncestors"?Me(t)?[]:Ui(t,this._c):[].concat(n),i],l=pn(t,r[0],o);let a=l.top,d=l.right,u=l.bottom,c=l.left;for(let h=1;h<r.length;h++){const p=pn(t,r[h],o);a=_(p.top,a),d=Y(p.right,d),u=Y(p.bottom,u),c=_(p.left,c)}return{width:d-c,height:u-a,x:c,y:a}}function Yi(e){const{width:t,height:n}=dn(e);return{width:t,height:n}}function Xi(e,t,n){const i=H(t),o=q(t),s=n==="fixed",r=se(e,!0,s,t);let l={scrollLeft:0,scrollTop:0};const a=V(0);function d(){a.x=qe(o)}if(i||!i&&!s)if((he(t)!=="body"||ve(o))&&(l=Ve(t)),i){const p=se(t,!0,s,t);a.x=p.x+t.clientLeft,a.y=p.y+t.clientTop}else o&&d();s&&!i&&o&&d();const u=o&&!i&&!s?hn(o,l):V(0),c=r.left+l.scrollLeft-a.x-u.x,h=r.top+l.scrollTop-a.y-u.y;return{x:c,y:h,width:r.width,height:r.height}}function bt(e){return R(e).position==="static"}function gn(e,t){if(!H(e)||R(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return q(e)===n&&(n=n.ownerDocument.body),n}function bn(e,t){const n=I(e);if(Me(e))return n;if(!H(e)){let o=Z(e);for(;o&&!fe(o);){if(D(o)&&!bt(o))return o;o=Z(o)}return n}let i=gn(e,t);for(;i&&Ri(i)&&bt(i);)i=gn(i,t);return i&&fe(i)&&bt(i)&&!ft(i)?n:i||Vi(e)||n}const Zi=async function(e){const t=this.getOffsetParent||bn,n=this.getDimensions,i=await n(e.floating);return{reference:Xi(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function Ji(e){return R(e).direction==="rtl"}const yt={convertOffsetParentRelativeRectToViewportRelativeRect:Wi,getDocumentElement:q,getClippingRect:Ki,getOffsetParent:bn,getElementRects:Zi,getClientRects:zi,getDimensions:Yi,getScale:pe,isElement:D,isRTL:Ji};function yn(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Qi(e,t){let n=null,i;const o=q(e);function s(){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),s();const d=e.getBoundingClientRect(),{left:u,top:c,width:h,height:p}=d;if(l||t(),!h||!p)return;const f=Te(c),y=Te(o.clientWidth-(u+h)),w=Te(o.clientHeight-(c+p)),m=Te(u),b={rootMargin:-f+"px "+-y+"px "+-w+"px "+-m+"px",threshold:_(0,Y(1,a))||1};let x=!0;function v(k){const S=k[0].intersectionRatio;if(S!==a){if(!x)return r();S?r(!1,S):i=setTimeout(()=>{r(!1,1e-7)},1e3)}S===1&&!yn(d,e.getBoundingClientRect())&&r(),x=!1}try{n=new IntersectionObserver(v,{...b,root:o.ownerDocument})}catch{n=new IntersectionObserver(v,b)}n.observe(e)}return r(!0),s}function eo(e,t,n,i){i===void 0&&(i={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:a=!1}=i,d=gt(e),u=o||s?[...d?xe(d):[],...t?xe(t):[]]:[];u.forEach(m=>{o&&m.addEventListener("scroll",n,{passive:!0}),s&&m.addEventListener("resize",n)});const c=d&&l?Qi(d,n):null;let h=-1,p=null;r&&(p=new ResizeObserver(m=>{let[g]=m;g&&g.target===d&&p&&t&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var b;(b=p)==null||b.observe(t)})),n()}),d&&!a&&p.observe(d),t&&p.observe(t));let f,y=a?se(e):null;a&&w();function w(){const m=se(e);y&&!yn(y,m)&&n(),y=m,f=requestAnimationFrame(w)}return n(),()=>{var m;u.forEach(g=>{o&&g.removeEventListener("scroll",n),s&&g.removeEventListener("resize",n)}),c?.(),(m=p)==null||m.disconnect(),p=null,a&&cancelAnimationFrame(f)}}const to=Ii,no=Ti,io=Ni,wn=Di,oo=Fi,so=(e,t,n)=>{const i=new Map,o={platform:yt,...n},s={...o.platform,_c:i};return Oi(e,t,{...o,platform:s})};function vn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}const ro=/transform|translate|scale|rotate|perspective|filter/,lo=/paint|layout|strict|content/,re=e=>!!e&&e!=="none";let wt;function ao(e){const t=(n=e,typeof window<"u"&&(n instanceof Element||n instanceof vn(n).Element)?vn(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)))||ro.test(t.willChange||"")||lo.test(t.contain||"")}function co(e){return(function(t){for(let n=t;n;n=vt(n))if(n instanceof Element&&getComputedStyle(n).display==="none")return null;for(let n=vt(t);n;n=vt(n)){if(!(n instanceof Element))continue;const i=getComputedStyle(n);if(i.display!=="contents"&&(i.position!=="static"||ao(i)||n.tagName==="BODY"))return n}return null})(e)}function vt(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}var ke;(function(e){e.TOOLTIP="tooltip",e.POPOVER="popover",e.FLYOUT_PANEL="flyout-panel"})(ke||(ke={}));let uo=(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=eo(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=[to(t)],i=this.config.lockToMainAxis??!1,o=this.config.constrainPlacements,s=o&&o.length>0?o.includes(this.config.placement)?this.config.placement:o[0]:this.config.placement,r=io(o&&o.length>0?{mainAxis:!0,crossAxis:!1,padding:t,fallbackPlacements:o.filter((d=>d!==s)),fallbackAxisSideDirection:"none"}:{mainAxis:!0,crossAxis:!i&&"alignment",fallbackAxisSideDirection:"end",padding:t}),l=this.config.elementType===ke.POPOVER,a=no({padding:t,mainAxis:this.config.constrainToViewportHeight||this.config.elementType===ke.TOOLTIP||l&&this.popoverMainAxisEnabled,crossAxis:!1});this.config.matchReferenceWidth&&n.push(wn({apply({elements:d,rects:u}){Object.assign(d.floating.style,{width:`${u.reference.width}px`})}})),s?.includes("-")?n.push(r,a):n.push(a,r),this.config.constrainToViewportHeight&&n.push(wn({padding:t,apply:({availableHeight:d,elements:u})=>{const c=Array.from(u.floating.children).find((h=>h!==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(oo({element:this.arrowEl,padding:t})),so(this.anchorElement,this.floatingElement,{placement:s,strategy:"fixed",middleware:n,platform:{...yt,getOffsetParent:d=>yt.getOffsetParent(d,co)}}).then((({x:d,y:u,middlewareData:c,placement:h})=>{if(l){const w=h.startsWith("left")||h.startsWith("right"),m=h.startsWith("top")||h.startsWith("bottom"),g=this.isAnchorInViewport(),b=!!m||(w?g:this.popoverMainAxisEnabled);if(b!==this.popoverMainAxisEnabled)return this.popoverMainAxisEnabled=b,void this.updatePosition()}this.currentPlacement=h,Object.assign(this.floatingElement.style,{left:`${d}px`,top:`${u}px`,position:"fixed",transition:`opacity ${this.timeOfAnimation}ms ease`});const p=h.split("-")[0]??"bottom",f={top:"bottom",right:"left",bottom:"top",left:"right"}[p],{arrowZIndex:y}=this.normalizeFloatingElementStacking();if(c.arrow&&this.arrowEl){const w=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]:-w/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,o=Number.isNaN(n)?i+1:n;return Number.isNaN(o)||(this.floatingElement.style.zIndex=`${o}`),Array.from(this.floatingElement.children).forEach((s=>{if(!(s instanceof HTMLElement)||s===this.arrowEl)return;const r=s.style.zIndex||(window.getComputedStyle?.(s).zIndex??""),l=Number.parseInt(r,10),a=window.getComputedStyle?.(s).position??"";(r===""||r==="auto"||Number.isNaN(l)||l<o)&&(s.style.zIndex=`${o}`,a!==""&&a!=="static"||(s.style.position="relative"))})),{contentZIndex:o,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,o=t.height/2+2*this.offset;return t.bottom>=o&&t.top<=n-o&&t.right>=0&&t.left<=i}},G.currentFloatingElements=new Map,G);const ho=tt(class extends Se{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 uo(this._el,{htmlFor:this.htmlFor,placement:this.placement,showWithoutDelay:!0,floatingElementSelector:"#flyout-panel",showArrow:!1,visibilityClass:"gids-flyout-panel--visible",elementType:ke.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=kn(e);t.push(...n);const i=this._el.shadowRoot?.querySelector("slot:not([name])");i&&i.assignedElements({flatten:!0}).forEach((o=>{const s=kn(o);t.push(...s)})),this.focusableElements=t.sort(((o,s)=>{const r=o.compareDocumentPosition(s),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 s=this._el.shadowRoot?.activeElement;s!==null&&(i=s)}const o=this.focusableElements.indexOf(i)!==-1;e.shiftKey?i!==t&&o||(e.preventDefault(),n&&n.focus()):i!==n&&o||(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 E(Ht,{key:"5c1652a168d27045c28c7cae5d56fe3c3b43457f"},E("slot",{key:"dbadbb0e93053a04d647fd7af31c2363813c46c9",name:"anchor"}),E("div",{key:"ca341b9babdf1c8d5862e0517814892743f27a07",id:"flyout-panel",part:"flyout-panel",role:"dialog","aria-modal":"true",tabindex:"-1"},E("div",{key:"b7bd390c78988bd35673c6d7aee4fb122bc0d9e5"},E("slot",{key:"c989d0ac0497f350d2403aa075c6bc46c9821f2a"}))))}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}]}]),xn=e=>{if(!(e instanceof Se)||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}},kn=e=>{const t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>xn(o)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}),n=[];xn(e)&&n.push(e);let i=t.nextNode();for(;i!==null;)n.push(i),i=t.nextNode();return n};function En(){typeof customElements<"u"&&["gids-flyout-panel"].forEach((e=>{e==="gids-flyout-panel"&&(customElements.get(e)||customElements.define(e,ho))}))}En();const{getGidsSpinnerControlClassNames:fo}=ri,{calculateStrokeDasharray:po,thickness:Sn,radius:Cn,centerPosition:je,viewBox:mo}=ii,go=({size:e,indeterminate:t,value:n,max:i,...o})=>{let s;return t||(s={strokeDashArray:po(n,i||0),strokeDashoffset:"0"}),E("svg",{class:fo({size:e,indeterminate:t,value:n}),viewBox:mo,...o},E("circle",{class:"gids-spinner-control__track",cx:je,cy:je,r:Cn,"stroke-width":Sn}),E("circle",{style:s,class:"gids-spinner-control__progress",cx:je,cy:je,r:Cn,"stroke-width":Sn}))},bo=tt(class extends Se{constructor(e){super(),e!==!1&&this.__registerHost(),this.#e={},this._focusInput=t=>{const n=t.target;n===this.#t||this._isWithinInteractiveElement(n)||this.#t?.focus()},this._handleInputFocusAndBlur=t=>{this._el.dispatchEvent(new FocusEvent(t.type,{relatedTarget:t.relatedTarget}))}}get defaultValue(){return this.#t?.defaultValue??this.#e.defaultValue??""}set defaultValue(e){this.#t?this.#t.defaultValue=e:this.#e.defaultValue=e}get value(){return this.#t?.value??this.#e.value??this.#e.defaultValue??""}set value(e){this.#t?this.#t.value=e:this.#e.value=e}#t;#e;_isWithinInteractiveElement(e){if(e===null||e===this._el||!this._el.contains(e))return!1;if(mi(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 E(Ht,{key:"571ed3a5815c1cef82a0115634d4d181a73e0515"},E("slot",{key:"50188a10937675d31a93e46070fd2ce7709a0763",name:"leadingIcon"}),this.leadingLabel&&E("span",{key:"37aa8f33f1490ef0ca77f6ae7fabc0abb88ad749",class:"gids-input__label"},this.leadingLabel),E("slot",{key:"d1482ff4d6b9f2a0da0cedc45a738eeae6ee969d",name:"leadingAccessory"}),E("input",{key:"ba004d40d2feee851187e3c7d778b423976817d6",...this.inputProps,ref:e=>{this.#t=e,this.#e.value!==void 0&&(this.#t.value=this.#e.value,delete this.#e.value),this.#e.defaultValue!==void 0&&(this.#t.defaultValue=this.#e.defaultValue,delete this.#e.defaultValue)},class:"gids-input__control",name:this.name,disabled:this.disabled,readOnly:this.readOnly,required:this.required,onFocus:this._handleInputFocusAndBlur,onBlur:this._handleInputFocusAndBlur}),E("slot",{key:"b74721099ecf423895c306e63d42d6ae5ddbf8d2",name:"trailingAccessory"}),this.trailingLabel&&E("span",{key:"2ffdc81450931d653f76948961a4f55559df9010",class:"gids-input__label"},this.trailingLabel),E("slot",{key:"806cae677da57a02924ff0d0166a2bf16c5a9e15",name:"trailingIcon"}),this.status==="incomplete"&&E(lt,{key:"a238cdac45fc718976cce8ca022e32a946d9fe1a",name:"warning",appearance:"filled",class:"gids-input__warning-icon"}),this.status==="complete"&&E(lt,{key:"2ce2f8354b5f1c1d2d2376fae1b672e6361cd504",name:"positive",appearance:"filled",class:"gids-input__positive-icon"}),this.loading&&E(go,{key:"1d93199143a67f7a1a0b1e9a96dc698974248a61",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 An(){typeof customElements<"u"&&["gids-input"].forEach((e=>{e==="gids-input"&&(customElements.get(e)||customElements.define(e,bo))}))}An();const{getGidsDropdownClassNames:yo,getGidsChevronButtonControlClassNames:wo}=oi,xt="gids-dropdown-item--active",Pn=tt(class extends Se{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:o,id:s,isPlaceholderItem:r}=t.detail;o||typeof n!="string"||(this.suppressNextMenuClickSelection=!0,queueMicrotask((()=>{this.suppressNextMenuClickSelection=!1})),this.applySelection({id:s,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 o=i instanceof HTMLButtonElement?i.value:i.getAttribute("value")||"";if(typeof o!="string"||o.length===0)return;const s=i instanceof HTMLButtonElement?i.id:i.getAttribute("id")??"";if(typeof s!="string"||s.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:s,value:o,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(xt))),this.setActiveDescendant(void 0)}setActiveByIndex(e){const t=this.getVisibleEnabledItems();if(this.getItemElements().forEach((o=>o.classList.remove(xt))),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(xt),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=o=>{t?.(o),this.handleFilterInput(o)};const n=e.onBlur;e.onBlur=o=>{n?.(o),this.scheduleControlRevalidation()};const i=e.onKeyDown;return e.onKeyDown=o=>{i?.(o),o.defaultPrevented||this.handleInputKeyDown(o)},e}render(){const e=yo(),t=this.getEnhancedInputProps(),n=typeof t.id=="string"?t.id:void 0,i=n?`${n}__menu`:void 0,o=this.isFilterEditing?this.filterValue:this.selectedItemTitle??this.value??"",s=this.disabled||this.readOnly?"":`dropdown-${i}`,r=E("button",{key:"7ea973413d842a50076beefa4c7e44e690ce64ca",class:wo({size:"lg"}),slot:"trailingAccessory",type:"button",onClick:l=>this.handleChevronClickToggle(l),"aria-haspopup":"listbox","aria-controls":i,disabled:this.disabled||this.readOnly,tabIndex:-1},E("span",{key:"1579fc5f3c7e582619754aef7830ea7079f38963",class:"gids-button__content"},E(lt,{key:"e2781f65e2eab2ea398070eca03855d89343870e",name:"chevron-vertical",alt:""})));return E("div",{key:"9c55513535108fb289d6011102ecd7ef9f217c79",class:e},E("gids-input",{key:"5c5be9280f69ef3b031a34f50927e1f649c4911e",appearance:this.appearance,loading:this.loading,disabled:this.disabled,readOnly:this.readOnly,required:this.required,value:o,name:this.name,inputProps:t,onClick:this.handleInputClickToggle,onFocus:this.handleInputFocusAndBlur,onBlur:this.handleInputFocusAndBlur,id:s},this.hasLeadingIcon&&E("slot",{key:"502e234e0fb147df023d1e969975167975b4dd7f",name:"leadingIconDropdown",slot:"leadingIcon"}),this.hasLeadingAccessory&&E("slot",{key:"f447253a177d9a724d4c60f63c30232dc23add11",name:"leadingAccessoryDropdown",slot:"leadingAccessory"}),r),E("gids-flyout-panel",{key:"905193245274409ea826af63a658c98de1e8966d",placement:this?.menuPlacement??"bottom",constrainPlacements:this?.menuConstrainPlacements??["bottom","top"],onClick:this.handleMenuClick,htmlFor:s},E("slot",{key:"b398ffd22d450277271a51fce7f52164b2f76229"})))}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 On(){typeof customElements<"u"&&["gids-dropdown","gids-flyout-panel","gids-input"].forEach((e=>{switch(e){case"gids-dropdown":customElements.get(e)||customElements.define(e,Pn);break;case"gids-flyout-panel":customElements.get(e)||En();break;case"gids-input":customElements.get(e)||An()}}))}On();const vo=Pn,xo=On;te.GidsDropdown=vo,te.defineCustomElement=xo,Object.defineProperty(te,Symbol.toStringTag,{value:"Module"})}));
5
+ `);const y=this["s-cr"].parentElement;return(y.__childNodes?y.childNodes:(w=>{const m=[];for(let g=0;g<w.length;g++){const b=w[g]["s-nr"]||void 0;b&&b.isConnected&&m.push(b)}return m})(y.childNodes)).forEach((w=>{f===ge(w)&&p.push(w)})),c?p.filter((w=>w.nodeType===1)):p}).bind(d);d.assignedElements=u(!0),d.assignedNodes=u(!1)})(s),l=e&&e.m&&e.m[n],l&&l.O===o.O&&e.S&&$t(e.S)),s},$t=e=>{O.i|=1;const t=e.closest(ie.toLowerCase());if(t!=null){const n=Array.from(t.__childNodes||t.childNodes).find((o=>o["s-cr"])),i=Array.from(e.__childNodes||e.childNodes);for(const o of n?i.reverse():i)o["s-sh"]!=null&&(T(t,o,n??null),o["s-sh"]=void 0,Pe=!0)}O.i&=-2},Fe=(e,t)=>{O.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 o=n[i];o["s-hn"]!==ie&&o["s-ol"]&&(T(ye(o).parentNode,o,ye(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,Pe=!0),t&&Fe(o,t)}O.i&=-2},Mt=(e,t,n,i,o,s)=>{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);o<=s;++o)i[o]&&(r=Oe(null,n,o),r&&(i[o].S=r,T(l,r,ye(t))))},Vt=(e,t,n)=>{for(let i=t;i<=n;++i){const o=e[i];if(o){const s=o.S;jt(o),s&&(Ae=!0,s["s-ol"]?s["s-ol"].remove():Fe(s,!0),s.remove())}}},Ne=(e,t,n=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:n?(n&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),ye=e=>e&&e["s-ol"]||e,ce=(e,t,n=!1)=>{const i=t.S=e.S,o=e.m,s=t.m,r=t.O,l=t.h;let a;l==null?(L=r==="svg"||r!=="foreignObject"&&L,r!=="slot"||be||e.j!==t.j&&(t.S["s-sn"]=t.j||"",$t(t.S.parentElement)),Ze(e,t,L),o!==null&&s!==null?((d,u,c,h,p=!1)=>{let f,y,w=0,m=0,g=0,b=0,x=u.length-1,v=u[0],k=u[x],S=h.length-1,A=h[0],P=h[S];const F=c.O==="template"?d.content:d;for(;w<=x&&m<=S;)if(v==null)v=u[++w];else if(k==null)k=u[--x];else if(A==null)A=h[++m];else if(P==null)P=h[--S];else if(Ne(v,A,p))ce(v,A,p),v=u[++w],A=h[++m];else if(Ne(k,P,p))ce(k,P,p),k=u[--x],P=h[--S];else if(Ne(v,P,p))v.O!=="slot"&&P.O!=="slot"||Fe(v.S.parentNode,!1),ce(v,P,p),T(F,v.S,k.S.nextSibling),v=u[++w],P=h[--S];else if(Ne(k,A,p))v.O!=="slot"&&P.O!=="slot"||Fe(k.S.parentNode,!1),ce(k,A,p),T(F,k.S,v.S),k=u[--x],A=h[++m];else{for(g=-1,b=w;b<=x;++b)if(u[b]&&u[b].$!==null&&u[b].$===A.$){g=b;break}g>=0?(y=u[g],y.O!==A.O?f=Oe(u&&u[m],c,g):(ce(y,A,p),u[g]=void 0,f=y.S),A=h[++m]):(f=Oe(u&&u[m],c,m),A=h[++m]),f&&T(ye(v.S).parentNode,f,ye(v.S))}w>x?Mt(d,h[S+1]==null?null:h[S+1].S,c,h,m,S):m>S&&Vt(u,w,x)})(i,o,t,s,n):s!==null?(e.h!==null&&(i.textContent=""),Mt(i,null,t,s,0,s.length-1)):!n&&o!==null&&Vt(o,0,o.length-1),L&&r==="svg"&&(L=!1)):(a=i["s-cr"])?a.parentNode.textContent=l:e.h!==l&&(i.data=l)},z=[],qt=e=>{let t,n,i;const o=e.__childNodes||e.childNodes;for(const s of o){if(s["s-sr"]&&(t=s["s-cr"])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;const r=s["s-sn"];for(i=n.length-1;i>=0;i--)if(t=n[i],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===s["s-hn"]||t["s-sh"]&&t["s-sh"]===s["s-hn"]))if(Ot(t,r)){let l=z.find((a=>a.k===t));Ae=!0,t["s-sn"]=t["s-sn"]||r,l?(l.k["s-sh"]=s["s-hn"],l.N=s):(t["s-sh"]=s["s-hn"],z.push({N:s,k:t})),t["s-sr"]&&z.map((a=>{Ot(a.k,t["s-sn"])&&(l=z.find((d=>d.k===t)),l&&!a.N&&(a.N=l.N))}))}else z.some((l=>l.k===t))||z.push({k:t})}s.nodeType===1&&qt(s)}},jt=e=>{e.v&&e.v.ref&&Je.push((()=>e.v.ref(null))),e.m&&e.m.map(jt)},Wn=(e,t)=>{Qe.push((()=>e(t)))},T=(e,t,n,i)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,n);const{slotNode:o}=(function(s,r){var l;if(!(r=r||((l=s["s-ol"])==null?void 0:l.parentElement)))return{slotNode:null,slotName:""};const a=s["s-sn"]=ge(s)||"";return{slotNode:Ue(Ke(r,"childNodes"),r.tagName,a)[0],slotName:a}})(t);return o&&!i&&o.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,n):e?.insertBefore(t,n)},zn=(e,t,n=!1)=>{var i,o,s,r,l;const a=e.$hostElement$,d=e.o,u=e.M||Ce(null,null);var c;const h=(c=t)&&c.O===Rn?t:E(null,null,t);if(ie=a.tagName,d.C&&(h.v=h.v||{},d.C.forEach((([p,f])=>{h.v[f]=a[p]}))),n&&h.v)for(const p of Object.keys(h.v))a.hasAttribute(p)&&!["key","ref","style","class"].includes(p)&&(h.v[p]=a[p]);if(h.O=null,h.i|=4,e.M=h,h.S=u.S=a.shadowRoot||a,be=!(!(1&d.i)||128&d.i),Ye=a["s-cr"],Ae=!1,ce(u,h,n),O.i|=1,Pe){qt(h.S);for(const p of z){const f=p.k;if(!f["s-ol"]&&C.document){const y=C.document.createTextNode("");y["s-nr"]=f,T(f.parentNode,f["s-ol"]=y,f,n)}}for(const p of z){const f=p.k,y=p.N;if(f.nodeType===1&&n&&(f["s-ih"]=(i=f.hidden)!=null&&i),y){const w=y.parentNode;let m=y.nextSibling;if(m&&m.nodeType===1){let g=(o=f["s-ol"])==null?void 0:o.previousSibling;for(;g;){let b=(s=g["s-nr"])!=null?s:null;if(b&&b["s-sn"]===f["s-sn"]&&w===(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&&w!==(f.__parentNode||f.parentNode)||(f.__nextSibling||f.nextSibling)!==m)&&f!==m){if(T(w,f,m,n),f.nodeType===8&&f.nodeValue.startsWith("s-nt-")){const g=C.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,T(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(Ae&&Pt(h.S),O.i&=-2,z.length=0,!be&&!(1&d.i)&&a["s-cr"]){const p=h.S.__childNodes||h.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=C.document.createComment("s-nt-"+f.nodeValue);y["s-sn"]=f["s-sn"],T(f.parentNode,y,f,n),f.parentNode.removeChild(f)}}}Ye=void 0,Je.forEach((p=>p())),Je.length=0,Qe.forEach((p=>p())),Qe.length=0},Wt=(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()})))}},et=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Wt(e,e.R);const n=()=>Bn(e,t);if(!t)return In(n);queueMicrotask((()=>{n()}))},Bn=(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 o;return o=we(i,t?"componentWillLoad":"componentWillUpdate",void 0,n),o=zt(o,(()=>we(i,"componentWillRender",void 0,n))),zt(o,(()=>Gn(e,i,t)))},zt=(e,t)=>Hn(e)?e.then(t).catch((n=>{console.error(n),t()})):t(),Hn=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Gn=async(e,t,n)=>{var i;const o=e.$hostElement$,s=o["s-rc"];n&&(r=>{const l=r.o,a=r.$hostElement$,d=l.i,u=((c,h)=>{var p,f,y;const w=Ft(h),m=Ee.get(w);if(!C.document)return w;if(c=c.nodeType===11?c:C.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(w)){g=C.document.createElement("style"),g.textContent=m;const x=(p=O._)!=null?p:(function(){var v,k,S;return(S=(k=(v=C.document.head)==null?void 0:v.querySelector('meta[name="csp-nonce"]'))==null?void 0:k.getAttribute("content"))!=null?S:void 0})();if(x!=null&&g.setAttribute("nonce",x),!(1&h.i))if(c.nodeName==="HEAD"){const v=c.querySelectorAll("link[rel=preconnect]"),k=v.length>0?v[v.length-1].nextSibling:c.querySelector("style");c.insertBefore(g,k?.parentNode===c?k:null)}else if("host"in c)if(We){const v=new((f=c.defaultView)!=null?f:c.ownerDocument.defaultView).CSSStyleSheet;v.replaceSync(m),ze?c.adoptedStyleSheets.unshift(v):c.adoptedStyleSheets=[v,...c.adoptedStyleSheets]}else{const v=c.querySelector("style");v?v.textContent=m+v.textContent:c.prepend(g)}else c.append(g);1&h.i&&c.insertBefore(g,null),4&h.i&&(g.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),b&&b.add(w)}}else{let g=K.get(c);if(g||K.set(c,g=new Set),!g.has(w)){const b=(y=c.defaultView)!=null?y:c.ownerDocument.defaultView;let x;if(m.constructor===b.CSSStyleSheet)x=m;else{x=new b.CSSStyleSheet;for(let v=0;v<m.cssRules.length;v++)x.insertRule(m.cssRules[v].cssText,v)}ze?c.adoptedStyleSheets.push(x):c.adoptedStyleSheets=[...c.adoptedStyleSheets,x],g.add(w)}}return w})(a.shadowRoot?a.shadowRoot:a.getRootNode(),l);10&d&&(a["s-sc"]=u,a.classList.add(u+"-h"))})(e),Un(e,t,o,n),s&&(s.map((r=>r())),o["s-rc"]=void 0);{const r=(i=o["s-p"])!=null?i:[],l=()=>Kn(e);r.length===0?l():(Promise.all(r).then(l).catch(l),e.i|=4,r.length=0)}},Un=(e,t,n,i)=>{try{t=t.render(),e.i&=-17,e.i|=2,zn(e,t,i)}catch(o){ne(o,e.$hostElement$)}return null},Kn=e=>{const t=e.$hostElement$,n=t,i=e.R;we(n,"componentDidRender",void 0,t),64&e.i?we(n,"componentDidUpdate",void 0,t):(e.i|=64,Xn(t),we(n,"componentDidLoad",void 0,t),e.L(t),i||Yn()),e.A&&(e.A(),e.A=void 0),512&e.i&&Ge((()=>et(e,!1))),e.i&=-517},Yn=()=>{Ge((()=>Vn(C,"appload",{detail:{namespace:"gids-core-web"}})))},we=(e,t,n,i)=>{if(e&&e[t])try{return e[t](n)}catch(o){ne(o,i)}},Xn=e=>e.classList.add("hydrated"),Bt=(e,t,n,i)=>{const o=W(e);if(!o)return;const s=e,r=o.l.get(t),l=o.i,a=s;n=_t(n,i.t[t][0],!!(64&i.i));const d=Number.isNaN(r)&&Number.isNaN(n);if(n!==r&&!d){if(o.l.set(t,n),i.F){const u=i.F[t];u&&u.map((c=>{try{const[[h,p]]=Object.entries(c);(128&l||1&p)&&(a?a[h](n,r,t):o.T.push((()=>{o.D[h](n,r,t)})))}catch(h){ne(h,s)}}))}if(2&l){if(a.componentShouldUpdate&&a.componentShouldUpdate(n,r,t)===!1&&!(16&l))return;16&l||et(o,!1)}}},Zn=(e,t,n)=>{var i,o;const s=e.prototype;64&t.i&&1&n&&Nn.forEach((r=>{const l=s[r];Object.defineProperty(s,r,{value(...a){var d;const u=W(this),c=this;c?typeof l=="function"&&l.call(c,...a):(d=u?.H)==null||d.then((h=>{const p=h[r];typeof p=="function"&&p.call(h,...a)}))}})}));{e.watchers&&!t.F&&(t.F=Lt(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:u}=ae(s,l)||{};d&&(t.t[l][0]|=2048),u&&(t.t[l][0]|=4096),Object.defineProperty(s,l,{get(){return d?d.apply(this):(c=l,W(this).l.get(c));var c},configurable:!0,enumerable:!0}),Object.defineProperty(s,l,{set(c){const h=W(this);if(h){if(u)return(32&a?this[l]:h.$hostElement$[l])===void 0&&h.l.get(l)&&(c=h.l.get(l)),u.apply(this,[_t(c,a,!!(64&t.i))]),void Bt(this,l,c=32&a?this[l]:h.$hostElement$[l],t);Bt(this,l,c,t)}}})}}));{const l=new Map;s.attributeChangedCallback=function(a,d,u){O.jmp((()=>{var c;const h=l.get(a),p=W(this);if(this.hasOwnProperty(h),s.hasOwnProperty(h)&&typeof this[h]=="number"&&this[h]==u)return;if(h==null){const g=p?.i;if(p&&g&&!(8&g)&&u!==d){const b=this,x=(c=t.F)==null?void 0:c[a];x?.forEach((v=>{const[[k,S]]=Object.entries(v);b[k]!=null&&(128&g||1&S)&&b[k].call(b,u,d,a)}))}return}const f=r.find((([g])=>g===h)),y=f&&4&f[1][0],w=y&&u===null&&this[h]===void 0;y&&(u=u!==null&&u!=="false");const m=Object.getOwnPropertyDescriptor(s,h);w||u==this[h]||m.get&&!m.set||(this[h]=u)}))},e.observedAttributes=Array.from(new Set([...Object.keys((o=t.F)!=null?o:{}),...r.filter((([a,d])=>31&d[0])).map((([a,d])=>{var u;const c=d[1]||a;return l.set(c,a),512&d[0]&&((u=t.C)==null||u.push([a,c])),c}))]))}}return e},tt=(e,t)=>{const n={i:t[0],p:t[1]};try{n.t=t[2],n.W=t[3],n.F=Lt(e.F),n.P=e.P,n.U=e.U,n.C=[];const i=e.prototype.connectedCallback,o=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((s,r)=>{const l={i:0,$hostElement$:s,o:r,l:new Map,B:new Map};l.H=new Promise((d=>l.L=d)),s["s-p"]=[],s["s-rc"]=[];const a=l;s.__stencil__getHostRef=()=>a,512&r.i&&Fn(s,l)})(this,n)},connectedCallback(){if(!this.__hasHostListenerAttached){const s=W(this);if(!s)return;Gt(this,s,n.W),this.__hasHostListenerAttached=!0}(s=>{if(!(1&O.i)){const r=W(s);if(!r)return;const l=r.o;if(1&r.i)Gt(s,r,l.W),r?.D||r?.H&&r.H.then((()=>{}));else{r.i|=1,12&l.i&&(a=>{if(!C.document)return;const d=a["s-cr"]=C.document.createComment("");d["s-cn"]=!0,T(a,d,a.firstChild)})(s);{let a=s;for(;a=a.parentNode||a.host;)if(a["s-p"]){Wt(r,r.R=a);break}}l.t&&Object.entries(l.t).map((([a,[d]])=>{if(31&d&&Object.prototype.hasOwnProperty.call(s,a)){const u=s[a];delete s[a],s[a]=u}})),(async(a,d,u)=>{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=Ft(u);Ee.has(y)||((w,m,g)=>{let b=Ee.get(w);We&&g?(b=b||new CSSStyleSheet,typeof b=="string"?b=m:b.replaceSync(m)):b=m,Ee.set(w,b)})(y,f,!!(1&u.i))}const h=d.R,p=()=>et(d,!0);h&&h["s-rc"]?h["s-rc"].push(p):p()}catch(h){ne(h,a),d.A&&(d.A(),d.A=void 0),d.L&&d.L(a)}})(s,r,l)}}})(this),i&&i.call(this)},disconnectedCallback(){(async s=>{if(!(1&O.i)){const r=W(s);r?.V&&(r.V.map((l=>l())),r.V=void 0)}K.has(s)&&K.delete(s),s.shadowRoot&&K.has(s.shadowRoot)&&K.delete(s.shadowRoot)})(this),o&&o.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${n.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Tn.call(this,n)}}),Object.defineProperty(e,"is",{value:n.p,configurable:!0}),Zn(e,n,3)}catch(i){return ne(i),e}},Ht=(e,t)=>t,Gt=(e,t,n)=>{n&&C.document&&n.map((([i,o,s])=>{const r=Qn(C.document,e,i),l=Jn(t,s),a=ei(i);O.ael(r,o,l,a),(t.V=t.V||[]).push((()=>O.rel(r,o,l,a)))}))},Jn=(e,t)=>n=>{try{e.$hostElement$[t](n)}catch(i){ne(i,e.$hostElement$)}},Qn=(e,t,n)=>8&n?C:t,ei=e=>Ln?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function Eo(e){return e}function Ut(e){var t,n,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]&&(n=Ut(e[t]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}function Le(){for(var e,t,n=0,i="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Ut(e))&&(i&&(i+=" "),i+=t);return i}const _e=64,Kt=10,Yt=_e/2-Kt/2,ti=_e/2,nt=2*Math.PI*Yt,ni=`0 0 ${_e} ${_e}`,ii=Object.freeze(Object.defineProperty({__proto__:null,calculateStrokeDasharray:(e=0,t)=>{const n=typeof t=="number"&&t>0?t:1,o=Math.max(0,Math.min(n,e))/n*100,s=(nt*o/100).toFixed(2),r=(nt-parseFloat(s)).toFixed(2);return`${s} ${r}`},centerPosition:ti,circumference:nt,radius:Yt,thickness:Kt,viewBox:ni},Symbol.toStringTag,{value:"Module"})),oi=Object.freeze(Object.defineProperty({__proto__:null,getGidsChevronButtonControlClassNames:({size:e},t)=>Le("gids-chevron-button-control",{"gids-chevron-button-control--small":e==="sm","gids-chevron-button-control--large":e==="lg"},t),getGidsDropdownClassNames:e=>Le("gids-dropdown",e)},Symbol.toStringTag,{value:"Module"})),si=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>Le("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"})),ri=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerControlClassNames:({size:e,indeterminate:t,value:n},i)=>Le("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"})),it=Symbol("defaultPath"),Xt=Symbol("pathSet"),ot="gids-asset-paths-set";class li extends EventTarget{#t=new Map;constructor(){super()}#e(t,n){this.#t.set(t,n)}#n(t){return this.#t.get(t)??null}#i=()=>{this.dispatchEvent(new Event(ot))};haveAssetPathsBeenSet(){return this.#n(Xt)!==null}setAssetPaths(t,n){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(it,t);else{for(const i in t)this.#e(i,t[i]);n&&this.#e(it,n)}this.#e(Xt,"true"),setTimeout(this.#i,0)}}getAssetFilePath(t){const n=this.#n(t);if(n===null){const i=this.#n(it);if(i!==null)return`${i}${i.endsWith("/")?"":"/"}${t}`}return n}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(ot,t,{once:!0}),()=>{this.removeEventListener(ot,t)}}}const st=Symbol.for("GIDS"),ai=()=>(globalThis[st]===void 0&&(globalThis[st]={assetPaths:{}}),globalThis[st]),ci=e=>{const t=ai().assetPaths;return t[e]===void 0&&(t[e]=new li),t[e]};function rt(){return ci("@ganpatiinfo/gids-web-shared")}function di(){return rt().haveAssetPathsBeenSet()}function Zt(e){return rt().getAssetFilePath(e)}function ui(e){return rt().onAssetPathsSet(e)}let hi=0;const fi=(e,t="gids")=>e||`${t}-${hi++}`,pi=e=>e.type==="hidden",mi=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&&!pi(e)||["AUDIO","VIDEO"].includes(t)&&e.hasAttribute("controls")||["IMG","OBJECT"].includes(t)&&e.hasAttribute("usemap")||e.hasAttribute("tabindex")&&e.tabIndex>-1)},Jt={"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"]},Qt=new Map;for(const e in Jt)for(const t of Jt[e])Qt.set(t,e);function gi(e){return Qt.get(e)}function en(e,t="regular",n){const i=gi(e);let o=i??"";return n&&i&&(o=n(i)??i),`${o}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:bi}=si,lt=({name:e,size:t,appearance:n,alt:i,class:o,titleId:s,src:r,...l})=>{const a=fi(s);let d=r;return d===void 0&&di()&&(d=en(e,n,Zt)),E("svg",{ref:u=>{d===void 0&&ui((()=>{(function(c,h,p){if(!c)return;const f=document.createElementNS("http://www.w3.org/2000/svg","use");f.setAttribute("href",en(h,p,Zt)),c.appendChild(f)})(u,e,n)}))},width:"16",height:"16",class:bi({size:t},o),role:"img","aria-hidden":i===""?"true":void 0,"aria-labelledby":i===""?void 0:a,...l},i!==""&&E("title",{id:a},i||e),d!==void 0?E("use",{href:d}):null)},Y=Math.min,_=Math.max,Ie=Math.round,Te=Math.floor,V=e=>({x:e,y:e}),yi={left:"right",right:"left",bottom:"top",top:"bottom"};function at(e,t,n){return _(e,Y(t,n))}function de(e,t){return typeof e=="function"?e(t):e}function X(e){return e.split("-")[0]}function ue(e){return e.split("-")[1]}function tn(e){return e==="x"?"y":"x"}function ct(e){return e==="y"?"height":"width"}function B(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function dt(e){return tn(B(e))}function wi(e,t,n){n===void 0&&(n=!1);const i=ue(e),o=dt(e),s=ct(o);let r=o==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(r=De(r)),[r,De(r)]}function vi(e){const t=De(e);return[ut(e),t,ut(t)]}function ut(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const nn=["left","right"],on=["right","left"],xi=["top","bottom"],ki=["bottom","top"];function Ei(e,t,n){switch(e){case"top":case"bottom":return n?t?on:nn:t?nn:on;case"left":case"right":return t?xi:ki;default:return[]}}function Si(e,t,n,i){const o=ue(e);let s=Ei(X(e),n==="start",i);return o&&(s=s.map(r=>r+"-"+o),t&&(s=s.concat(s.map(ut)))),s}function De(e){const t=X(e);return yi[t]+e.slice(t.length)}function Ci(e){return{top:0,right:0,bottom:0,left:0,...e}}function sn(e){return typeof e!="number"?Ci(e):{top:e,right:e,bottom:e,left:e}}function Re(e){const{x:t,y:n,width:i,height:o}=e;return{width:i,height:o,top:n,left:t,right:t+i,bottom:n+o,x:t,y:n}}function rn(e,t,n){let{reference:i,floating:o}=e;const s=B(t),r=dt(t),l=ct(r),a=X(t),d=s==="y",u=i.x+i.width/2-o.width/2,c=i.y+i.height/2-o.height/2,h=i[l]/2-o[l]/2;let p;switch(a){case"top":p={x:u,y:i.y-o.height};break;case"bottom":p={x:u,y:i.y+i.height};break;case"right":p={x:i.x+i.width,y:c};break;case"left":p={x:i.x-o.width,y:c};break;default:p={x:i.x,y:i.y}}switch(ue(t)){case"start":p[r]-=h*(n&&d?-1:1);break;case"end":p[r]+=h*(n&&d?-1:1);break}return p}async function Ai(e,t){var n;t===void 0&&(t={});const{x:i,y:o,platform:s,rects:r,elements:l,strategy:a}=e,{boundary:d="clippingAncestors",rootBoundary:u="viewport",elementContext:c="floating",altBoundary:h=!1,padding:p=0}=de(t,e),f=sn(p),w=l[h?c==="floating"?"reference":"floating":c],m=Re(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(w)))==null||n?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:d,rootBoundary:u,strategy:a})),g=c==="floating"?{x:i,y:o,width:r.floating.width,height:r.floating.height}:r.reference,b=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),x=await(s.isElement==null?void 0:s.isElement(b))?await(s.getScale==null?void 0:s.getScale(b))||{x:1,y:1}:{x:1,y:1},v=Re(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:g,offsetParent:b,strategy:a}):g);return{top:(m.top-v.top+f.top)/x.y,bottom:(v.bottom-m.bottom+f.bottom)/x.y,left:(m.left-v.left+f.left)/x.x,right:(v.right-m.right+f.right)/x.x}}const Pi=50,Oi=async(e,t,n)=>{const{placement:i="bottom",strategy:o="absolute",middleware:s=[],platform:r}=n,l=r.detectOverflow?r:{...r,detectOverflow:Ai},a=await(r.isRTL==null?void 0:r.isRTL(t));let d=await r.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:c}=rn(d,i,a),h=i,p=0;const f={};for(let y=0;y<s.length;y++){const w=s[y];if(!w)continue;const{name:m,fn:g}=w,{x:b,y:x,data:v,reset:k}=await g({x:u,y:c,initialPlacement:i,placement:h,strategy:o,middlewareData:f,rects:d,platform:l,elements:{reference:e,floating:t}});u=b??u,c=x??c,f[m]={...f[m],...v},k&&p<Pi&&(p++,typeof k=="object"&&(k.placement&&(h=k.placement),k.rects&&(d=k.rects===!0?await r.getElementRects({reference:e,floating:t,strategy:o}):k.rects),{x:u,y:c}=rn(d,h,a)),y=-1)}return{x:u,y:c,placement:h,strategy:o,middlewareData:f}},Fi=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:i,placement:o,rects:s,platform:r,elements:l,middlewareData:a}=t,{element:d,padding:u=0}=de(e,t)||{};if(d==null)return{};const c=sn(u),h={x:n,y:i},p=dt(o),f=ct(p),y=await r.getDimensions(d),w=p==="y",m=w?"top":"left",g=w?"bottom":"right",b=w?"clientHeight":"clientWidth",x=s.reference[f]+s.reference[p]-h[p]-s.floating[f],v=h[p]-s.reference[p],k=await(r.getOffsetParent==null?void 0:r.getOffsetParent(d));let S=k?k[b]:0;(!S||!await(r.isElement==null?void 0:r.isElement(k)))&&(S=l.floating[b]||s.floating[f]);const A=x/2-v/2,P=S/2-y[f]/2-1,F=Y(c[m],P),J=Y(c[g],P),j=F,Q=S-y[f]-J,N=S/2-y[f]/2+A,le=at(j,N,Q),U=!a.arrow&&ue(o)!=null&&N!==le&&s.reference[f]/2-(N<j?F:J)-y[f]/2<0,$=U?N<j?N-j:N-Q:0;return{[p]:h[p]+$,data:{[p]:le,centerOffset:N-le-$,...U&&{alignmentOffset:$}},reset:U}}}),Ni=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,i;const{placement:o,middlewareData:s,rects:r,initialPlacement:l,platform:a,elements:d}=t,{mainAxis:u=!0,crossAxis:c=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:y=!0,...w}=de(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const m=X(o),g=B(l),b=X(l)===l,x=await(a.isRTL==null?void 0:a.isRTL(d.floating)),v=h||(b||!y?[De(l)]:vi(l)),k=f!=="none";!h&&k&&v.push(...Si(l,y,f,x));const S=[l,...v],A=await a.detectOverflow(t,w),P=[];let F=((i=s.flip)==null?void 0:i.overflows)||[];if(u&&P.push(A[m]),c){const N=wi(o,r,x);P.push(A[N[0]],A[N[1]])}if(F=[...F,{placement:o,overflows:P}],!P.every(N=>N<=0)){var J,j;const N=(((J=s.flip)==null?void 0:J.index)||0)+1,le=S[N];if(le&&(!(c==="alignment"?g!==B(le):!1)||F.every(M=>B(M.placement)===g?M.overflows[0]>0:!0)))return{data:{index:N,overflows:F},reset:{placement:le}};let U=(j=F.filter($=>$.overflows[0]<=0).sort(($,M)=>$.overflows[1]-M.overflows[1])[0])==null?void 0:j.placement;if(!U)switch(p){case"bestFit":{var Q;const $=(Q=F.filter(M=>{if(k){const ee=B(M.placement);return ee===g||ee==="y"}return!0}).map(M=>[M.placement,M.overflows.filter(ee=>ee>0).reduce((ee,ko)=>ee+ko,0)]).sort((M,ee)=>M[1]-ee[1])[0])==null?void 0:Q[0];$&&(U=$);break}case"initialPlacement":U=l;break}if(o!==U)return{reset:{placement:U}}}return{}}}},Li=new Set(["left","top"]);async function _i(e,t){const{placement:n,platform:i,elements:o}=e,s=await(i.isRTL==null?void 0:i.isRTL(o.floating)),r=X(n),l=ue(n),a=B(n)==="y",d=Li.has(r)?-1:1,u=s&&a?-1:1,c=de(t,e);let{mainAxis:h,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*u,y:h*d}:{x:h*d,y:p*u}}const Ii=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,i;const{x:o,y:s,placement:r,middlewareData:l}=t,a=await _i(t,e);return r===((n=l.offset)==null?void 0:n.placement)&&(i=l.arrow)!=null&&i.alignmentOffset?{}:{x:o+a.x,y:s+a.y,data:{...a,placement:r}}}}},Ti=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:i,placement:o,platform:s}=t,{mainAxis:r=!0,crossAxis:l=!1,limiter:a={fn:m=>{let{x:g,y:b}=m;return{x:g,y:b}}},...d}=de(e,t),u={x:n,y:i},c=await s.detectOverflow(t,d),h=B(X(o)),p=tn(h);let f=u[p],y=u[h];if(r){const m=p==="y"?"top":"left",g=p==="y"?"bottom":"right",b=f+c[m],x=f-c[g];f=at(b,f,x)}if(l){const m=h==="y"?"top":"left",g=h==="y"?"bottom":"right",b=y+c[m],x=y-c[g];y=at(b,y,x)}const w=a.fn({...t,[p]:f,[h]:y});return{...w,data:{x:w.x-n,y:w.y-i,enabled:{[p]:r,[h]:l}}}}}},Di=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,i;const{placement:o,rects:s,platform:r,elements:l}=t,{apply:a=()=>{},...d}=de(e,t),u=await r.detectOverflow(t,d),c=X(o),h=ue(o),p=B(o)==="y",{width:f,height:y}=s.floating;let w,m;c==="top"||c==="bottom"?(w=c,m=h===(await(r.isRTL==null?void 0:r.isRTL(l.floating))?"start":"end")?"left":"right"):(m=c,w=h==="end"?"top":"bottom");const g=y-u.top-u.bottom,b=f-u.left-u.right,x=Y(y-u[w],g),v=Y(f-u[m],b),k=!t.middlewareData.shift;let S=x,A=v;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(A=b),(i=t.middlewareData.shift)!=null&&i.enabled.y&&(S=g),k&&!h){const F=_(u.left,0),J=_(u.right,0),j=_(u.top,0),Q=_(u.bottom,0);p?A=f-2*(F!==0||J!==0?F+J:_(u.left,u.right)):S=y-2*(j!==0||Q!==0?j+Q:_(u.top,u.bottom))}await a({...t,availableWidth:A,availableHeight:S});const P=await r.getDimensions(l.floating);return f!==P.width||y!==P.height?{reset:{rects:!0}}:{}}}};function $e(){return typeof window<"u"}function he(e){return ln(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=(ln(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ln(e){return $e()?e instanceof Node||e instanceof I(e).Node:!1}function D(e){return $e()?e instanceof Element||e instanceof I(e).Element:!1}function H(e){return $e()?e instanceof HTMLElement||e instanceof I(e).HTMLElement:!1}function an(e){return!$e()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof I(e).ShadowRoot}function ve(e){const{overflow:t,overflowX:n,overflowY:i,display:o}=R(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&o!=="inline"&&o!=="contents"}function Ri(e){return/^(table|td|th)$/.test(he(e))}function Me(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const $i=/transform|translate|scale|rotate|perspective|filter/,Mi=/paint|layout|strict|content/,oe=e=>!!e&&e!=="none";let ht;function ft(e){const t=D(e)?R(e):e;return oe(t.transform)||oe(t.translate)||oe(t.scale)||oe(t.rotate)||oe(t.perspective)||!pt()&&(oe(t.backdropFilter)||oe(t.filter))||$i.test(t.willChange||"")||Mi.test(t.contain||"")}function Vi(e){let t=Z(e);for(;H(t)&&!fe(t);){if(ft(t))return t;if(Me(t))return null;t=Z(t)}return null}function pt(){return ht==null&&(ht=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),ht}function fe(e){return/^(html|body|#document)$/.test(he(e))}function R(e){return I(e).getComputedStyle(e)}function Ve(e){return D(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Z(e){if(he(e)==="html")return e;const t=e.assignedSlot||e.parentNode||an(e)&&e.host||q(e);return an(t)?t.host:t}function cn(e){const t=Z(e);return fe(t)?e.ownerDocument?e.ownerDocument.body:e.body:H(t)&&ve(t)?t:cn(t)}function xe(e,t,n){var i;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=cn(e),s=o===((i=e.ownerDocument)==null?void 0:i.body),r=I(o);if(s){const l=mt(r);return t.concat(r,r.visualViewport||[],ve(o)?o:[],l&&n?xe(l):[])}else return t.concat(o,xe(o,[],n))}function mt(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function dn(e){const t=R(e);let n=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const o=H(e),s=o?e.offsetWidth:n,r=o?e.offsetHeight:i,l=Ie(n)!==s||Ie(i)!==r;return l&&(n=s,i=r),{width:n,height:i,$:l}}function gt(e){return D(e)?e:e.contextElement}function pe(e){const t=gt(e);if(!H(t))return V(1);const n=t.getBoundingClientRect(),{width:i,height:o,$:s}=dn(t);let r=(s?Ie(n.width):n.width)/i,l=(s?Ie(n.height):n.height)/o;return(!r||!Number.isFinite(r))&&(r=1),(!l||!Number.isFinite(l))&&(l=1),{x:r,y:l}}const qi=V(0);function un(e){const t=I(e);return!pt()||!t.visualViewport?qi:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ji(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==I(e)?!1:t}function se(e,t,n,i){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),s=gt(e);let r=V(1);t&&(i?D(i)&&(r=pe(i)):r=pe(e));const l=ji(s,n,i)?un(s):V(0);let a=(o.left+l.x)/r.x,d=(o.top+l.y)/r.y,u=o.width/r.x,c=o.height/r.y;if(s){const h=I(s),p=i&&D(i)?I(i):i;let f=h,y=mt(f);for(;y&&i&&p!==f;){const w=pe(y),m=y.getBoundingClientRect(),g=R(y),b=m.left+(y.clientLeft+parseFloat(g.paddingLeft))*w.x,x=m.top+(y.clientTop+parseFloat(g.paddingTop))*w.y;a*=w.x,d*=w.y,u*=w.x,c*=w.y,a+=b,d+=x,f=I(y),y=mt(f)}}return Re({width:u,height:c,x:a,y:d})}function qe(e,t){const n=Ve(e).scrollLeft;return t?t.left+n:se(q(e)).left+n}function hn(e,t){const n=e.getBoundingClientRect(),i=n.left+t.scrollLeft-qe(e,n),o=n.top+t.scrollTop;return{x:i,y:o}}function Wi(e){let{elements:t,rect:n,offsetParent:i,strategy:o}=e;const s=o==="fixed",r=q(i),l=t?Me(t.floating):!1;if(i===r||l&&s)return n;let a={scrollLeft:0,scrollTop:0},d=V(1);const u=V(0),c=H(i);if((c||!c&&!s)&&((he(i)!=="body"||ve(r))&&(a=Ve(i)),c)){const p=se(i);d=pe(i),u.x=p.x+i.clientLeft,u.y=p.y+i.clientTop}const h=r&&!c&&!s?hn(r,a):V(0);return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-a.scrollLeft*d.x+u.x+h.x,y:n.y*d.y-a.scrollTop*d.y+u.y+h.y}}function zi(e){return Array.from(e.getClientRects())}function Bi(e){const t=q(e),n=Ve(e),i=e.ownerDocument.body,o=_(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),s=_(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight);let r=-n.scrollLeft+qe(e);const l=-n.scrollTop;return R(i).direction==="rtl"&&(r+=_(t.clientWidth,i.clientWidth)-o),{width:o,height:s,x:r,y:l}}const fn=25;function Hi(e,t){const n=I(e),i=q(e),o=n.visualViewport;let s=i.clientWidth,r=i.clientHeight,l=0,a=0;if(o){s=o.width,r=o.height;const u=pt();(!u||u&&t==="fixed")&&(l=o.offsetLeft,a=o.offsetTop)}const d=qe(i);if(d<=0){const u=i.ownerDocument,c=u.body,h=getComputedStyle(c),p=u.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,f=Math.abs(i.clientWidth-c.clientWidth-p);f<=fn&&(s-=f)}else d<=fn&&(s+=d);return{width:s,height:r,x:l,y:a}}function Gi(e,t){const n=se(e,!0,t==="fixed"),i=n.top+e.clientTop,o=n.left+e.clientLeft,s=H(e)?pe(e):V(1),r=e.clientWidth*s.x,l=e.clientHeight*s.y,a=o*s.x,d=i*s.y;return{width:r,height:l,x:a,y:d}}function pn(e,t,n){let i;if(t==="viewport")i=Hi(e,n);else if(t==="document")i=Bi(q(e));else if(D(t))i=Gi(t,n);else{const o=un(e);i={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Re(i)}function mn(e,t){const n=Z(e);return n===t||!D(n)||fe(n)?!1:R(n).position==="fixed"||mn(n,t)}function Ui(e,t){const n=t.get(e);if(n)return n;let i=xe(e,[],!1).filter(l=>D(l)&&he(l)!=="body"),o=null;const s=R(e).position==="fixed";let r=s?Z(e):e;for(;D(r)&&!fe(r);){const l=R(r),a=ft(r);!a&&l.position==="fixed"&&(o=null),(s?!a&&!o:!a&&l.position==="static"&&!!o&&(o.position==="absolute"||o.position==="fixed")||ve(r)&&!a&&mn(e,r))?i=i.filter(u=>u!==r):o=l,r=Z(r)}return t.set(e,i),i}function Ki(e){let{element:t,boundary:n,rootBoundary:i,strategy:o}=e;const r=[...n==="clippingAncestors"?Me(t)?[]:Ui(t,this._c):[].concat(n),i],l=pn(t,r[0],o);let a=l.top,d=l.right,u=l.bottom,c=l.left;for(let h=1;h<r.length;h++){const p=pn(t,r[h],o);a=_(p.top,a),d=Y(p.right,d),u=Y(p.bottom,u),c=_(p.left,c)}return{width:d-c,height:u-a,x:c,y:a}}function Yi(e){const{width:t,height:n}=dn(e);return{width:t,height:n}}function Xi(e,t,n){const i=H(t),o=q(t),s=n==="fixed",r=se(e,!0,s,t);let l={scrollLeft:0,scrollTop:0};const a=V(0);function d(){a.x=qe(o)}if(i||!i&&!s)if((he(t)!=="body"||ve(o))&&(l=Ve(t)),i){const p=se(t,!0,s,t);a.x=p.x+t.clientLeft,a.y=p.y+t.clientTop}else o&&d();s&&!i&&o&&d();const u=o&&!i&&!s?hn(o,l):V(0),c=r.left+l.scrollLeft-a.x-u.x,h=r.top+l.scrollTop-a.y-u.y;return{x:c,y:h,width:r.width,height:r.height}}function bt(e){return R(e).position==="static"}function gn(e,t){if(!H(e)||R(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return q(e)===n&&(n=n.ownerDocument.body),n}function bn(e,t){const n=I(e);if(Me(e))return n;if(!H(e)){let o=Z(e);for(;o&&!fe(o);){if(D(o)&&!bt(o))return o;o=Z(o)}return n}let i=gn(e,t);for(;i&&Ri(i)&&bt(i);)i=gn(i,t);return i&&fe(i)&&bt(i)&&!ft(i)?n:i||Vi(e)||n}const Zi=async function(e){const t=this.getOffsetParent||bn,n=this.getDimensions,i=await n(e.floating);return{reference:Xi(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function Ji(e){return R(e).direction==="rtl"}const yt={convertOffsetParentRelativeRectToViewportRelativeRect:Wi,getDocumentElement:q,getClippingRect:Ki,getOffsetParent:bn,getElementRects:Zi,getClientRects:zi,getDimensions:Yi,getScale:pe,isElement:D,isRTL:Ji};function yn(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Qi(e,t){let n=null,i;const o=q(e);function s(){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),s();const d=e.getBoundingClientRect(),{left:u,top:c,width:h,height:p}=d;if(l||t(),!h||!p)return;const f=Te(c),y=Te(o.clientWidth-(u+h)),w=Te(o.clientHeight-(c+p)),m=Te(u),b={rootMargin:-f+"px "+-y+"px "+-w+"px "+-m+"px",threshold:_(0,Y(1,a))||1};let x=!0;function v(k){const S=k[0].intersectionRatio;if(S!==a){if(!x)return r();S?r(!1,S):i=setTimeout(()=>{r(!1,1e-7)},1e3)}S===1&&!yn(d,e.getBoundingClientRect())&&r(),x=!1}try{n=new IntersectionObserver(v,{...b,root:o.ownerDocument})}catch{n=new IntersectionObserver(v,b)}n.observe(e)}return r(!0),s}function eo(e,t,n,i){i===void 0&&(i={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:a=!1}=i,d=gt(e),u=o||s?[...d?xe(d):[],...t?xe(t):[]]:[];u.forEach(m=>{o&&m.addEventListener("scroll",n,{passive:!0}),s&&m.addEventListener("resize",n)});const c=d&&l?Qi(d,n):null;let h=-1,p=null;r&&(p=new ResizeObserver(m=>{let[g]=m;g&&g.target===d&&p&&t&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var b;(b=p)==null||b.observe(t)})),n()}),d&&!a&&p.observe(d),t&&p.observe(t));let f,y=a?se(e):null;a&&w();function w(){const m=se(e);y&&!yn(y,m)&&n(),y=m,f=requestAnimationFrame(w)}return n(),()=>{var m;u.forEach(g=>{o&&g.removeEventListener("scroll",n),s&&g.removeEventListener("resize",n)}),c?.(),(m=p)==null||m.disconnect(),p=null,a&&cancelAnimationFrame(f)}}const to=Ii,no=Ti,io=Ni,wn=Di,oo=Fi,so=(e,t,n)=>{const i=new Map,o={platform:yt,...n},s={...o.platform,_c:i};return Oi(e,t,{...o,platform:s})};function vn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}const ro=/transform|translate|scale|rotate|perspective|filter/,lo=/paint|layout|strict|content/,re=e=>!!e&&e!=="none";let wt;function ao(e){const t=(n=e,typeof window<"u"&&(n instanceof Element||n instanceof vn(n).Element)?vn(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)))||ro.test(t.willChange||"")||lo.test(t.contain||"")}function co(e){return(function(t){for(let n=t;n;n=vt(n))if(n instanceof Element&&getComputedStyle(n).display==="none")return null;for(let n=vt(t);n;n=vt(n)){if(!(n instanceof Element))continue;const i=getComputedStyle(n);if(i.display!=="contents"&&(i.position!=="static"||ao(i)||n.tagName==="BODY"))return n}return null})(e)}function vt(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}var ke;(function(e){e.TOOLTIP="tooltip",e.POPOVER="popover",e.FLYOUT_PANEL="flyout-panel"})(ke||(ke={}));let uo=(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=eo(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=[to(t)],i=this.config.lockToMainAxis??!1,o=this.config.constrainPlacements,s=o&&o.length>0?o.includes(this.config.placement)?this.config.placement:o[0]:this.config.placement,r=io(o&&o.length>0?{mainAxis:!0,crossAxis:!1,padding:t,fallbackPlacements:o.filter((d=>d!==s)),fallbackAxisSideDirection:"none"}:{mainAxis:!0,crossAxis:!i&&"alignment",fallbackAxisSideDirection:"end",padding:t}),l=this.config.elementType===ke.POPOVER,a=no({padding:t,mainAxis:this.config.constrainToViewportHeight||this.config.elementType===ke.TOOLTIP||l&&this.popoverMainAxisEnabled,crossAxis:!1});this.config.matchReferenceWidth&&n.push(wn({apply({elements:d,rects:u}){Object.assign(d.floating.style,{width:`${u.reference.width}px`})}})),s?.includes("-")?n.push(r,a):n.push(a,r),this.config.constrainToViewportHeight&&n.push(wn({padding:t,apply:({availableHeight:d,elements:u})=>{const c=Array.from(u.floating.children).find((h=>h!==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(oo({element:this.arrowEl,padding:t})),so(this.anchorElement,this.floatingElement,{placement:s,strategy:"fixed",middleware:n,platform:{...yt,getOffsetParent:d=>yt.getOffsetParent(d,co)}}).then((({x:d,y:u,middlewareData:c,placement:h})=>{if(l){const w=h.startsWith("left")||h.startsWith("right"),m=h.startsWith("top")||h.startsWith("bottom"),g=this.isAnchorInViewport(),b=!!m||(w?g:this.popoverMainAxisEnabled);if(b!==this.popoverMainAxisEnabled)return this.popoverMainAxisEnabled=b,void this.updatePosition()}this.currentPlacement=h,Object.assign(this.floatingElement.style,{left:`${d}px`,top:`${u}px`,position:"fixed",transition:`opacity ${this.timeOfAnimation}ms ease`});const p=h.split("-")[0]??"bottom",f={top:"bottom",right:"left",bottom:"top",left:"right"}[p],{arrowZIndex:y}=this.normalizeFloatingElementStacking();if(c.arrow&&this.arrowEl){const w=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]:-w/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,o=Number.isNaN(n)?i+1:n;return Number.isNaN(o)||(this.floatingElement.style.zIndex=`${o}`),Array.from(this.floatingElement.children).forEach((s=>{if(!(s instanceof HTMLElement)||s===this.arrowEl)return;const r=s.style.zIndex||(window.getComputedStyle?.(s).zIndex??""),l=Number.parseInt(r,10),a=window.getComputedStyle?.(s).position??"";(r===""||r==="auto"||Number.isNaN(l)||l<o)&&(s.style.zIndex=`${o}`,a!==""&&a!=="static"||(s.style.position="relative"))})),{contentZIndex:o,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,o=t.height/2+2*this.offset;return t.bottom>=o&&t.top<=n-o&&t.right>=0&&t.left<=i}},G.currentFloatingElements=new Map,G);const ho=tt(class extends Se{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 uo(this._el,{htmlFor:this.htmlFor,placement:this.placement,showWithoutDelay:!0,floatingElementSelector:"#flyout-panel",showArrow:!1,visibilityClass:"gids-flyout-panel--visible",elementType:ke.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=kn(e);t.push(...n);const i=this._el.shadowRoot?.querySelector("slot:not([name])");i&&i.assignedElements({flatten:!0}).forEach((o=>{const s=kn(o);t.push(...s)})),this.focusableElements=t.sort(((o,s)=>{const r=o.compareDocumentPosition(s),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 s=this._el.shadowRoot?.activeElement;s!==null&&(i=s)}const o=this.focusableElements.indexOf(i)!==-1;e.shiftKey?i!==t&&o||(e.preventDefault(),n&&n.focus()):i!==n&&o||(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 E(Ht,{key:"4f711c96e1936b3c8d3df3104ff9e68a808fa408"},E("slot",{key:"5dc834a55ca7751741965b3e68eb9a8747c00120",name:"anchor"}),E("div",{key:"91b24cf0544a267569762ff9a3d7b8c83faa9d20",id:"flyout-panel",part:"flyout-panel",role:"dialog","aria-modal":"true",tabindex:"-1"},E("div",{key:"4d4d5b25c4a191f862ad226d7c1c7d8c7c21d006"},E("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}]}]),xn=e=>{if(!(e instanceof Se)||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}},kn=e=>{const t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>xn(o)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}),n=[];xn(e)&&n.push(e);let i=t.nextNode();for(;i!==null;)n.push(i),i=t.nextNode();return n};function En(){typeof customElements<"u"&&["gids-flyout-panel"].forEach((e=>{e==="gids-flyout-panel"&&(customElements.get(e)||customElements.define(e,ho))}))}En();const{getGidsSpinnerControlClassNames:fo}=ri,{calculateStrokeDasharray:po,thickness:Sn,radius:Cn,centerPosition:je,viewBox:mo}=ii,go=({size:e,indeterminate:t,value:n,max:i,...o})=>{let s;return t||(s={strokeDashArray:po(n,i||0),strokeDashoffset:"0"}),E("svg",{class:fo({size:e,indeterminate:t,value:n}),viewBox:mo,...o},E("circle",{class:"gids-spinner-control__track",cx:je,cy:je,r:Cn,"stroke-width":Sn}),E("circle",{style:s,class:"gids-spinner-control__progress",cx:je,cy:je,r:Cn,"stroke-width":Sn}))},bo=tt(class extends Se{constructor(e){super(),e!==!1&&this.__registerHost(),this.#e={},this._focusInput=t=>{const n=t.target;n===this.#t||this._isWithinInteractiveElement(n)||this.#t?.focus()},this._handleInputFocusAndBlur=t=>{this._el.dispatchEvent(new FocusEvent(t.type,{relatedTarget:t.relatedTarget}))}}get defaultValue(){return this.#t?.defaultValue??this.#e.defaultValue??""}set defaultValue(e){this.#t?this.#t.defaultValue=e:this.#e.defaultValue=e}get value(){return this.#t?.value??this.#e.value??this.#e.defaultValue??""}set value(e){this.#t?this.#t.value=e:this.#e.value=e}#t;#e;_isWithinInteractiveElement(e){if(e===null||e===this._el||!this._el.contains(e))return!1;if(mi(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 E(Ht,{key:"fb7b4c0ef80c583f3507ce4d37db29d24ca2b562"},E("slot",{key:"d8afd829fa9fbc074538b11d16f313da70edfd41",name:"leadingIcon"}),this.leadingLabel&&E("span",{key:"7a1502d42be08f757dfef5e2749562a0d0abc7f0",class:"gids-input__label"},this.leadingLabel),E("slot",{key:"3ad00b2a862b3a99fbaaef28af9a8228e23f6088",name:"leadingAccessory"}),E("input",{key:"1aa8cce113b2584ac9eee246db731c851dc10b83",...this.inputProps,ref:e=>{this.#t=e,this.#e.value!==void 0&&(this.#t.value=this.#e.value,delete this.#e.value),this.#e.defaultValue!==void 0&&(this.#t.defaultValue=this.#e.defaultValue,delete this.#e.defaultValue)},class:"gids-input__control",name:this.name,disabled:this.disabled,readOnly:this.readOnly,required:this.required,onFocus:this._handleInputFocusAndBlur,onBlur:this._handleInputFocusAndBlur}),E("slot",{key:"dff99e9155afe94cdd7c7cd3229f8c802ca2534f",name:"trailingAccessory"}),this.trailingLabel&&E("span",{key:"ace6d5236a1b0ab3446befbb9f4461405fae2070",class:"gids-input__label"},this.trailingLabel),E("slot",{key:"c0d3c25ff0386ecb237a6747d2f578570de80f82",name:"trailingIcon"}),this.status==="incomplete"&&E(lt,{key:"c95bac733d0938c4ac2735c6aed6c8d4b8245d14",name:"warning",appearance:"filled",class:"gids-input__warning-icon"}),this.status==="complete"&&E(lt,{key:"0741fdf7121d191ecde85afa1119171752454d62",name:"positive",appearance:"filled",class:"gids-input__positive-icon"}),this.loading&&E(go,{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 An(){typeof customElements<"u"&&["gids-input"].forEach((e=>{e==="gids-input"&&(customElements.get(e)||customElements.define(e,bo))}))}An();const{getGidsDropdownClassNames:yo,getGidsChevronButtonControlClassNames:wo}=oi,xt="gids-dropdown-item--active",Pn=tt(class extends Se{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:o,id:s,isPlaceholderItem:r}=t.detail;o||typeof n!="string"||(this.suppressNextMenuClickSelection=!0,queueMicrotask((()=>{this.suppressNextMenuClickSelection=!1})),this.applySelection({id:s,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 o=i instanceof HTMLButtonElement?i.value:i.getAttribute("value")||"";if(typeof o!="string"||o.length===0)return;const s=i instanceof HTMLButtonElement?i.id:i.getAttribute("id")??"";if(typeof s!="string"||s.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:s,value:o,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(xt))),this.setActiveDescendant(void 0)}setActiveByIndex(e){const t=this.getVisibleEnabledItems();if(this.getItemElements().forEach((o=>o.classList.remove(xt))),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(xt),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=o=>{t?.(o),this.handleFilterInput(o)};const n=e.onBlur;e.onBlur=o=>{n?.(o),this.scheduleControlRevalidation()};const i=e.onKeyDown;return e.onKeyDown=o=>{i?.(o),o.defaultPrevented||this.handleInputKeyDown(o)},e}render(){const e=yo(),t=this.getEnhancedInputProps(),n=typeof t.id=="string"?t.id:void 0,i=n?`${n}__menu`:void 0,o=this.isFilterEditing?this.filterValue:this.selectedItemTitle??this.value??"",s=this.disabled||this.readOnly?"":`dropdown-${i}`,r=E("button",{key:"d3fc5400d7f2cccf92b5be848748ae9d71b16bb8",class:wo({size:"lg"}),slot:"trailingAccessory",type:"button",onClick:l=>this.handleChevronClickToggle(l),"aria-haspopup":"listbox","aria-controls":i,disabled:this.disabled||this.readOnly,tabIndex:-1},E("span",{key:"4f2640fcd482a0616b65702eb9bcd1a16baacdee",class:"gids-button__content"},E(lt,{key:"933d0766b0655aef2102f8b8908b8cbdd6178ff9",name:"chevron-vertical",alt:""})));return E("div",{key:"5cff063e1c1c42cf0d0b8d0e26d3134a6134cabf",class:e},E("gids-input",{key:"8d5b379dae8f65e6049a0d4d1d6ac9833f93d378",appearance:this.appearance,loading:this.loading,disabled:this.disabled,readOnly:this.readOnly,required:this.required,value:o,name:this.name,inputProps:t,onClick:this.handleInputClickToggle,onFocus:this.handleInputFocusAndBlur,onBlur:this.handleInputFocusAndBlur,id:s},this.hasLeadingIcon&&E("slot",{key:"94d6d5adfb4f50133a7db2b33369ca544c134501",name:"leadingIconDropdown",slot:"leadingIcon"}),this.hasLeadingAccessory&&E("slot",{key:"8de475c3d539311d3f9b2ee77c132e584f4aebee",name:"leadingAccessoryDropdown",slot:"leadingAccessory"}),r),E("gids-flyout-panel",{key:"06548f4c906e8977a77f697a5b8a691937fa4f58",placement:this?.menuPlacement??"bottom",constrainPlacements:this?.menuConstrainPlacements??["bottom","top"],onClick:this.handleMenuClick,htmlFor:s},E("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 On(){typeof customElements<"u"&&["gids-dropdown","gids-flyout-panel","gids-input"].forEach((e=>{switch(e){case"gids-dropdown":customElements.get(e)||customElements.define(e,Pn);break;case"gids-flyout-panel":customElements.get(e)||En();break;case"gids-input":customElements.get(e)||An()}}))}On();const vo=Pn,xo=On;te.GidsDropdown=vo,te.defineCustomElement=xo,Object.defineProperty(te,Symbol.toStringTag,{value:"Module"})}));