@ganpatiinfo/gids-core-web 19.0.0 → 21.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 (232) hide show
  1. package/dist/css/index.css +607 -59
  2. package/dist/css/index.css.map +1 -1
  3. package/dist/gids-action-bar.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-year-list.js +1 -1
  11. package/dist/gids-calendar.js +1 -1
  12. package/dist/gids-chart-legend-item.js +1 -1
  13. package/dist/gids-chart-legend.js +1 -1
  14. package/dist/gids-chart.js +1 -1
  15. package/dist/gids-chevron-button.js +1 -1
  16. package/dist/gids-dot.js +1 -1
  17. package/dist/gids-dropdown-field.js +1 -1
  18. package/dist/gids-dropdown-picker.js +1 -1
  19. package/dist/gids-dropdown.js +1 -1
  20. package/dist/gids-expansion-body-list-item.js +1 -1
  21. package/dist/gids-expansion-body-list.js +1 -1
  22. package/dist/gids-expansion-group.js +1 -1
  23. package/dist/gids-expansion.js +1 -1
  24. package/dist/gids-field.js +1 -1
  25. package/dist/gids-filter.js +1 -1
  26. package/dist/gids-flyout-panel.js +1 -1
  27. package/dist/gids-form.d.ts +11 -0
  28. package/dist/gids-form.js +1 -0
  29. package/dist/gids-header-navigation-item.js +1 -1
  30. package/dist/gids-header-navigation.js +1 -1
  31. package/dist/gids-icon.js +1 -1
  32. package/dist/gids-input.js +1 -1
  33. package/dist/gids-line-chart.js +1 -1
  34. package/dist/gids-md-table.js +1 -1
  35. package/dist/gids-overflow-container.js +1 -1
  36. package/dist/gids-overlay-provider.js +1 -1
  37. package/dist/gids-password-field.js +1 -1
  38. package/dist/gids-pie-chart.js +1 -1
  39. package/dist/gids-popover.js +1 -1
  40. package/dist/gids-profile-menu-header.js +1 -1
  41. package/dist/gids-profile-menu.js +1 -1
  42. package/dist/gids-profile.js +1 -1
  43. package/dist/gids-scrim.js +1 -1
  44. package/dist/gids-sidebar-item.d.ts +11 -0
  45. package/dist/gids-sidebar-item.js +1 -0
  46. package/dist/gids-sidebar-menu.d.ts +11 -0
  47. package/dist/gids-sidebar-menu.js +1 -0
  48. package/dist/gids-sidebar.d.ts +11 -0
  49. package/dist/gids-sidebar.js +1 -0
  50. package/dist/gids-skeleton.js +1 -1
  51. package/dist/gids-tab-item.js +1 -1
  52. package/dist/gids-tab.js +1 -1
  53. package/dist/gids-text-field.js +1 -1
  54. package/dist/gids-toggle-button.js +1 -1
  55. package/dist/gids-tooltip.js +1 -1
  56. package/dist/gids-transfer-list.js +1 -1
  57. package/dist/p--kh67-_Z.js +1 -0
  58. package/dist/{p-DrDadv7P.js → p-B2flLE0s.js} +1 -1
  59. package/dist/{p-jGho9nbS.js → p-BAqWcL0K.js} +1 -1
  60. package/dist/p-BCbovLBE.js +1 -0
  61. package/dist/{p-PcSMc4jQ.js → p-BIxBMTG9.js} +1 -1
  62. package/dist/{p-DgKrPmDn.js → p-BQT5yy5L.js} +1 -1
  63. package/dist/p-BRNvHMdK.js +1 -0
  64. package/dist/{p-CBiu-Vh3.js → p-B_FEFM5I.js} +1 -1
  65. package/dist/{p-Dw_kb9MC.js → p-B_St7yaX.js} +1 -1
  66. package/dist/{p-D0coZTd2.js → p-CAjDiWIc.js} +1 -1
  67. package/dist/{p-DYjV5XrH.js → p-CIjK3iHM.js} +1 -1
  68. package/dist/p-CV1-78HB.js +1 -0
  69. package/dist/{p-BdsUwTgh.js → p-D0RJMGGj.js} +1 -1
  70. package/dist/{p-CH4nrjpL.js → p-DKSnGphd.js} +1 -1
  71. package/dist/{p-CIxuyUAl.js → p-DLRj-mUX.js} +1 -1
  72. package/dist/{p-DKOr5iAk.js → p-DMxvWIj1.js} +1 -1
  73. package/dist/p-DQQhGF5N.js +1 -0
  74. package/dist/p-DZ1ZcTMe.js +1 -0
  75. package/dist/{p-BthkC6NU.js → p-DnRuhvRw.js} +1 -1
  76. package/dist/p-DpvdbdZ-.js +1 -0
  77. package/dist/{p-DZ6xQXis.js → p-DrxfD2yZ.js} +1 -1
  78. package/dist/{p-C6GHG170.js → p-Ds5IzXj3.js} +1 -1
  79. package/dist/{p-j2_DKwBz.js → p-DzOOjiNH.js} +1 -1
  80. package/dist/{p-Cacy0Dji.js → p-E13ycS5K.js} +1 -1
  81. package/dist/{p-Cz9nwmgK.js → p-TfH966_e.js} +1 -1
  82. package/dist/{p-CMW3SjbP.js → p-_W77iniK.js} +1 -1
  83. package/dist/p-bfWlRsx_.js +1 -0
  84. package/dist/p-kWyyLyT3.js +1 -0
  85. package/dist/{p-CrqHKmjy.js → p-mv_7K1EM.js} +1 -1
  86. package/dist/{p-xbqOQZl9.js → p-tEbUT3n3.js} +1 -1
  87. package/dist/types/components/html/GidsSidebarMenuItem/GidsSidebarMenuItem.d.ts +6 -0
  88. package/dist/types/components/shared/GidsFloatingElementManager.d.ts +1 -1
  89. package/dist/types/components/webComponents/GidsFlyoutPanel/GidsFlyoutPanel.d.ts +4 -0
  90. package/dist/types/components/webComponents/GidsForm/GidsForm.d.ts +32 -0
  91. package/dist/types/components/webComponents/GidsProfileMenuHeader/GidsProfileMenuHeader.d.ts +2 -0
  92. package/dist/types/components/webComponents/GidsSidebar/GidsSidebar.d.ts +55 -0
  93. package/dist/types/components/webComponents/GidsSidebarItem/GidsSidebarItem.d.ts +56 -0
  94. package/dist/types/components/webComponents/GidsSidebarMenu/GidsSidebarMenu.d.ts +38 -0
  95. package/dist/types/components.d.ts +462 -2
  96. package/dist-bundled/es/gids-action-bar.js +6 -6
  97. package/dist-bundled/es/gids-activity-gauge.js +3 -3
  98. package/dist-bundled/es/gids-advanced-tooltip.js +1 -1
  99. package/dist-bundled/es/gids-bar-chart.js +3 -3
  100. package/dist-bundled/es/gids-bento-card.js +1 -1
  101. package/dist-bundled/es/gids-calendar-header-panel.js +3 -3
  102. package/dist-bundled/es/gids-calendar-month-list.js +3 -3
  103. package/dist-bundled/es/gids-calendar-year-list.js +1 -1
  104. package/dist-bundled/es/gids-calendar.js +23 -23
  105. package/dist-bundled/es/gids-chart-legend-item.js +3 -3
  106. package/dist-bundled/es/gids-chart-legend.js +4 -4
  107. package/dist-bundled/es/gids-chart.js +21 -21
  108. package/dist-bundled/es/gids-chevron-button.js +3 -3
  109. package/dist-bundled/es/gids-dot.js +1 -1
  110. package/dist-bundled/es/gids-dropdown-field.js +4 -4
  111. package/dist-bundled/es/gids-dropdown-picker.js +4 -4
  112. package/dist-bundled/es/gids-dropdown.js +3 -3
  113. package/dist-bundled/es/gids-expansion-body-list-item.js +3 -3
  114. package/dist-bundled/es/gids-expansion-body-list.js +2 -2
  115. package/dist-bundled/es/gids-expansion-group.js +4 -4
  116. package/dist-bundled/es/gids-expansion.js +6 -6
  117. package/dist-bundled/es/gids-field.js +3 -3
  118. package/dist-bundled/es/gids-filter.js +1 -1
  119. package/dist-bundled/es/gids-flyout-panel.js +4 -108
  120. package/dist-bundled/es/gids-form.js +92 -0
  121. package/dist-bundled/es/gids-header-navigation-item.js +3 -3
  122. package/dist-bundled/es/gids-header-navigation.js +3 -3
  123. package/dist-bundled/es/gids-icon.js +3 -3
  124. package/dist-bundled/es/gids-input.js +1 -1
  125. package/dist-bundled/es/gids-line-chart.js +1 -1
  126. package/dist-bundled/es/gids-md-table.js +53 -53
  127. package/dist-bundled/es/gids-overflow-container.js +4 -4
  128. package/dist-bundled/es/gids-overlay-provider.js +1 -1
  129. package/dist-bundled/es/gids-password-field.js +10 -10
  130. package/dist-bundled/es/gids-pie-chart.js +4 -4
  131. package/dist-bundled/es/gids-popover.js +1 -1
  132. package/dist-bundled/es/gids-profile-menu-header.js +1 -1
  133. package/dist-bundled/es/gids-profile-menu.js +4 -4
  134. package/dist-bundled/es/gids-profile.js +12 -12
  135. package/dist-bundled/es/gids-scrim.js +1 -1
  136. package/dist-bundled/es/gids-sidebar-item.js +6 -0
  137. package/dist-bundled/es/gids-sidebar-menu.js +6 -0
  138. package/dist-bundled/es/gids-sidebar.js +150 -0
  139. package/dist-bundled/es/gids-skeleton.js +1 -1
  140. package/dist-bundled/es/gids-tab-item.js +13 -13
  141. package/dist-bundled/es/gids-tab.js +7 -7
  142. package/dist-bundled/es/gids-text-field.js +3 -3
  143. package/dist-bundled/es/gids-toggle-button.js +1 -1
  144. package/dist-bundled/es/gids-tooltip.js +4 -4
  145. package/dist-bundled/es/gids-transfer-list.js +25 -26
  146. package/dist-bundled/es/{p-Cf3Ny79u-VGT_IyGI.js → p--kh67-_Z-BBhYy4ZX.js} +12 -11
  147. package/dist-bundled/es/{p-DrDadv7P-D4rbSYTr.js → p-B2flLE0s-UXdlvRVr.js} +2 -2
  148. package/dist-bundled/es/{p-jGho9nbS-BDiBvsn2.js → p-BAqWcL0K-DRjKDzoa.js} +8 -8
  149. package/dist-bundled/es/p-BCbovLBE-DfkhIEts.js +102 -0
  150. package/dist-bundled/es/{p-PcSMc4jQ-CzYLaIZr.js → p-BIxBMTG9-Bs6G0Wvv.js} +12 -12
  151. package/dist-bundled/es/{p-DgKrPmDn-C2CSKicX.js → p-BQT5yy5L-DhdgFXTM.js} +3 -3
  152. package/dist-bundled/es/p-BRNvHMdK-CqGtfAsn.js +11 -0
  153. package/dist-bundled/es/{p-CBiu-Vh3-r-McGzCb.js → p-B_FEFM5I-WvEFe7I_.js} +5 -5
  154. package/dist-bundled/es/{p-Dw_kb9MC-BTd0lrGA.js → p-B_St7yaX-Dq9UwiaA.js} +3 -3
  155. package/dist-bundled/es/{p-D0coZTd2-KhJZ57gK.js → p-CAjDiWIc-BieYBjHk.js} +1 -1
  156. package/dist-bundled/es/{p-DYjV5XrH-CI9LfBFx.js → p-CIjK3iHM-DEW8PRM5.js} +7 -7
  157. package/dist-bundled/es/{p-KQxuw_F--BTSoDfF9.js → p-CV1-78HB-DGkn3SPO.js} +18 -23
  158. package/dist-bundled/es/{p-BdsUwTgh-Cc7AQBsx.js → p-D0RJMGGj-DSjGfUhB.js} +3 -3
  159. package/dist-bundled/es/{p-CH4nrjpL-CrEJXTn0.js → p-DKSnGphd-EpxzqjUA.js} +7 -7
  160. package/dist-bundled/es/{p-CIxuyUAl-B2DxRM64.js → p-DLRj-mUX-B_ACFGx6.js} +6 -6
  161. package/dist-bundled/es/{p-DKOr5iAk-DA3Kc4Cn.js → p-DMxvWIj1-DPw-ITMY.js} +11 -11
  162. package/dist-bundled/es/{p-GcC8pCKF-CZJFTFeN.js → p-DQQhGF5N-mCqb5VTE.js} +8 -8
  163. package/dist-bundled/es/p-DZ1ZcTMe-tnPOECry.js +10 -0
  164. package/dist-bundled/es/{p-BthkC6NU-F03MhDw7.js → p-DnRuhvRw-Beh0bANh.js} +2 -2
  165. package/dist-bundled/es/p-DpvdbdZ--C7QlXxK2.js +118 -0
  166. package/dist-bundled/es/{p-DZ6xQXis-XT86MMis.js → p-DrxfD2yZ-Juydw__6.js} +9 -9
  167. package/dist-bundled/es/{p-C6GHG170-Di8lwQkY.js → p-Ds5IzXj3-BC_F0-JJ.js} +13 -13
  168. package/dist-bundled/es/{p-j2_DKwBz-CqyuxxnN.js → p-DzOOjiNH-Wm7KbI3O.js} +5 -5
  169. package/dist-bundled/es/{p-Cacy0Dji-D-D254kT.js → p-E13ycS5K-D-yK6pqz.js} +1 -1
  170. package/dist-bundled/es/{p-Cz9nwmgK-BO8HUAvD.js → p-TfH966_e-tyxLyzL3.js} +7 -7
  171. package/dist-bundled/es/{p-CMW3SjbP-ZYYIF_i6.js → p-_W77iniK-DZ9pVDuI.js} +2 -2
  172. package/dist-bundled/es/p-bfWlRsx_-B9hzkHIt.js +110 -0
  173. package/dist-bundled/es/p-kWyyLyT3-DhHcKhR9.js +267 -0
  174. package/dist-bundled/es/{p-CrqHKmjy-DwSsCofb.js → p-mv_7K1EM-lPgJqpPI.js} +1 -1
  175. package/dist-bundled/es/{p-xbqOQZl9-BK9vjfj7.js → p-tEbUT3n3-CWq8ErgN.js} +10 -10
  176. package/dist-bundled/umd/gids-action-bar.umd.js +3 -3
  177. package/dist-bundled/umd/gids-activity-gauge.umd.js +2 -2
  178. package/dist-bundled/umd/gids-advanced-tooltip.umd.js +2 -2
  179. package/dist-bundled/umd/gids-bar-chart.umd.js +1 -1
  180. package/dist-bundled/umd/gids-bento-card.umd.js +2 -2
  181. package/dist-bundled/umd/gids-calendar-header-panel.umd.js +1 -1
  182. package/dist-bundled/umd/gids-calendar-month-list.umd.js +2 -2
  183. package/dist-bundled/umd/gids-calendar-year-list.umd.js +2 -2
  184. package/dist-bundled/umd/gids-calendar.umd.js +1 -1
  185. package/dist-bundled/umd/gids-chart-legend-item.umd.js +1 -1
  186. package/dist-bundled/umd/gids-chart-legend.umd.js +1 -1
  187. package/dist-bundled/umd/gids-chart.umd.js +1 -1
  188. package/dist-bundled/umd/gids-chevron-button.umd.js +1 -1
  189. package/dist-bundled/umd/gids-dot.umd.js +1 -1
  190. package/dist-bundled/umd/gids-dropdown-field.umd.js +1 -1
  191. package/dist-bundled/umd/gids-dropdown-picker.umd.js +1 -1
  192. package/dist-bundled/umd/gids-dropdown.umd.js +1 -1
  193. package/dist-bundled/umd/gids-expansion-body-list-item.umd.js +1 -1
  194. package/dist-bundled/umd/gids-expansion-body-list.umd.js +1 -1
  195. package/dist-bundled/umd/gids-expansion-group.umd.js +2 -2
  196. package/dist-bundled/umd/gids-expansion.umd.js +1 -1
  197. package/dist-bundled/umd/gids-field.umd.js +2 -2
  198. package/dist-bundled/umd/gids-filter.umd.js +3 -3
  199. package/dist-bundled/umd/gids-flyout-panel.umd.js +2 -2
  200. package/dist-bundled/umd/gids-form.umd.js +5 -0
  201. package/dist-bundled/umd/gids-header-navigation-item.umd.js +2 -2
  202. package/dist-bundled/umd/gids-header-navigation.umd.js +1 -1
  203. package/dist-bundled/umd/gids-icon.umd.js +1 -1
  204. package/dist-bundled/umd/gids-input.umd.js +2 -2
  205. package/dist-bundled/umd/gids-line-chart.umd.js +1 -1
  206. package/dist-bundled/umd/gids-md-table.umd.js +1 -1
  207. package/dist-bundled/umd/gids-overflow-container.umd.js +1 -1
  208. package/dist-bundled/umd/gids-overlay-provider.umd.js +1 -1
  209. package/dist-bundled/umd/gids-password-field.umd.js +1 -1
  210. package/dist-bundled/umd/gids-pie-chart.umd.js +1 -1
  211. package/dist-bundled/umd/gids-popover.umd.js +1 -1
  212. package/dist-bundled/umd/gids-profile-menu-header.umd.js +2 -2
  213. package/dist-bundled/umd/gids-profile-menu.umd.js +2 -2
  214. package/dist-bundled/umd/gids-profile.umd.js +2 -2
  215. package/dist-bundled/umd/gids-scrim.umd.js +1 -1
  216. package/dist-bundled/umd/gids-sidebar-item.umd.js +5 -0
  217. package/dist-bundled/umd/gids-sidebar-menu.umd.js +5 -0
  218. package/dist-bundled/umd/gids-sidebar.umd.js +5 -0
  219. package/dist-bundled/umd/gids-skeleton.umd.js +1 -1
  220. package/dist-bundled/umd/gids-tab-item.umd.js +1 -1
  221. package/dist-bundled/umd/gids-tab.umd.js +1 -1
  222. package/dist-bundled/umd/gids-text-field.umd.js +2 -2
  223. package/dist-bundled/umd/gids-toggle-button.umd.js +2 -2
  224. package/dist-bundled/umd/gids-tooltip.umd.js +2 -2
  225. package/dist-bundled/umd/gids-transfer-list.umd.js +2 -2
  226. package/dist-bundled/umd-complete/gids-core-web.umd.js +4 -4
  227. package/package.json +36 -4
  228. package/dist/p-B0hLXifA.js +0 -1
  229. package/dist/p-Cf3Ny79u.js +0 -1
  230. package/dist/p-GcC8pCKF.js +0 -1
  231. package/dist/p-KQxuw_F-.js +0 -1
  232. package/dist-bundled/es/p-B0hLXifA-CoImnX3T.js +0 -99
@@ -1,5 +1,5 @@
1
- (function(Q,lt){typeof exports=="object"&&typeof module<"u"?lt(exports):typeof define=="function"&&define.amd?define(["exports"],lt):(Q=typeof globalThis<"u"?globalThis:Q||self,lt(Q.gidsCoreWebGidsTooltip={}))})(this,(function(Q){"use strict";function lt(t,e,n){const o=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;t&&t!==o;){const i=Object.getOwnPropertyDescriptor(t,e);if(i&&(!n||i.get))return i;t=Object.getPrototypeOf(t)}}var gt,an=(t,e)=>{var n;Object.entries((n=e.o.t)!=null?n:{}).map((([o,[i]])=>{if(31&i||32&i){const s=t[o],l=lt(Object.getPrototypeOf(t),o,!0)||Object.getOwnPropertyDescriptor(t,o);l&&Object.defineProperty(t,o,{get(){return l.get.call(this)},set(r){l.set.call(this,r)},configurable:!0,enumerable:!0}),e.l.has(o)?t[o]=e.l.get(o):s!==void 0&&(t[o]=s)}}))},V=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},pe=(t,e)=>e in t,tt=(t,e)=>(0,console.error)(t,e),Ot=new Map,me="http://www.w3.org/1999/xlink",cn=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],O=typeof window<"u"?window:{},fn=O.HTMLElement||class{},T={i:0,u:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},un=(()=>{var t;let e=!1;try{(t=O.document)==null||t.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch{}return e})(),jt=(()=>{try{return!!O.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),Ht=!!jt&&!!O.document&&Object.getOwnPropertyDescriptor(O.document.adoptedStyleSheets,"length").writable,Vt=!1,ge=[],ye=[],dn=(t,e)=>n=>{t.push(n),Vt||(Vt=!0,4&T.i?Bt(zt):T.raf(zt))},we=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(n){tt(n)}t.length=0},zt=()=>{we(ge),we(ye),(Vt=ge.length>0)&&T.raf(zt)},Bt=t=>Promise.resolve(void 0).then(t),hn=dn(ye);function pn(){const t=this.attachShadow({mode:"open"});gt===void 0&&(gt=null),gt&&(Ht?t.adoptedStyleSheets.push(gt):t.adoptedStyleSheets=[...t.adoptedStyleSheets,gt])}var ve=t=>{const e=Ut(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&t.tagName!=="SLOT-FB"&&It(e,t.tagName).forEach((o=>{o.nodeType===1&&o.tagName==="SLOT-FB"&&(o.hidden=!!mn(o,yt(o),!1).length)}));let n=0;for(n=0;n<e.length;n++){const o=e[n];o.nodeType===1&&Ut(o,"childNodes").length&&ve(o)}};function It(t,e,n){let o,i=0,s=[];for(;i<t.length;i++){if(o=t[i],o["s-sr"]&&(!e||o["s-hn"]===e)&&(n===void 0||yt(o)===n)&&(s.push(o),n!==void 0))return s;s=[...s,...It(o.childNodes,e,n)]}return s}var mn=(t,e,n=!0)=>{const o=[];(n&&t["s-sr"]||!t["s-sr"])&&o.push(t);let i=t;for(;i=i.nextSibling;)yt(i)!==e||!n&&i["s-sr"]||o.push(i);return o},be=(t,e)=>t.nodeType===1?t.getAttribute("slot")===null&&e===""||t.getAttribute("slot")===e:t["s-sn"]===e||e==="",yt=t=>typeof t["s-sn"]=="string"?t["s-sn"]:t.nodeType===1&&t.getAttribute("slot")||void 0;function Ut(t,e){if("__"+e in t){const n=t["__"+e];return typeof n!="function"?n:n.bind(t)}return typeof t[e]!="function"?t[e]:t[e].bind(t)}var qt,et,q=new WeakMap,xe=t=>"sc-"+t.p,Yt=t=>(t=typeof t)=="object"||t==="function",rt=(t,e,...n)=>{let o=null,i=null,s=null,l=!1,r=!1;const a=[],u=c=>{for(let d=0;d<c.length;d++)o=c[d],Array.isArray(o)?u(o):o!=null&&typeof o!="boolean"&&((l=typeof t!="function"&&!Yt(o))&&(o=String(o)),l&&r?a[a.length-1].h+=o:a.push(l?At(null,o):o),r=l)};if(u(n),e){e.key&&(i=e.key),e.name&&(s=e.name);{const c=e.className||e.class;c&&(e.class=typeof c!="object"?c:Object.keys(c).filter((d=>c[d])).join(" "))}}if(typeof t=="function")return t(e===null?{}:e,a,yn);const f=At(t,null);return f.v=e,a.length>0&&(f.m=a),f.$=i,f.j=s,f},At=(t,e)=>({i:0,O:t,h:e??null,S:null,m:null,v:null,$:null,j:null}),gn={},yn={forEach:(t,e)=>t.map(Se).forEach(e),map:(t,e)=>t.map(Se).map(e).map(wn)},Se=t=>({vattrs:t.v,vchildren:t.m,vkey:t.$,vname:t.j,vtag:t.O,vtext:t.h}),wn=t=>{if(typeof t.vtag=="function"){const n={...t.vattrs};return t.vkey&&(n.key=t.vkey),t.vname&&(n.name=t.vname),rt(t.vtag,n,...t.vchildren||[])}const e=At(t.vtag,t.vtext);return e.v=t.vattrs,e.m=t.vchildren,e.$=t.vkey,e.j=t.vname,e},Ee=t=>{if(!t)return;const e=Object.keys(t);if(e.length===0)return;let n=!1;for(const i of e){if(n)break;for(const s of t[i])if(typeof s=="string"){n=!0;break}}if(!n)return t;const o={};for(const i of e)o[i]=t[i].map((s=>typeof s=="string"?{[s]:0}:s));return o},Oe=(t,e,n)=>t==null||Yt(t)?t:4&e?(n&&typeof t=="string"||t!=="false")&&(t===""||!!t):2&e?typeof t=="string"?parseFloat(t):typeof t=="number"?t:NaN:1&e?String(t):t,vn=(t,e,n)=>{const o=T.ce(e,n);return t.dispatchEvent(o),o},Ae=(t,e,n,o,i,s)=>{if(n===o)return;let l=pe(t,e),r=e.toLowerCase();if(e==="class"){const a=t.classList,u=Ce(n);let f=Ce(o);a.remove(...u.filter((c=>c&&!f.includes(c)))),a.add(...f.filter((c=>c&&!u.includes(c))))}else if(e==="style"){for(const a in n)o&&o[a]!=null||(a.includes("-")?t.style.removeProperty(a):t.style[a]="");for(const a in o)n&&o[a]===n[a]||(a.includes("-")?t.style.setProperty(a,o[a]):t.style[a]=o[a])}else if(e!=="key"){if(e==="ref")o&&Sn(o,t);else if(t.__lookupSetter__(e)||e[0]!=="o"||e[1]!=="n"){if(e[0]==="a"&&e.startsWith("attr:")){const a=e.slice(5);let u;{const f=V(t);if(f&&f.o&&f.o.t){const c=f.o.t[a];c&&c[1]&&(u=c[1])}}return u||(u=a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(o==null||o===!1?o===!1&&t.getAttribute(u)!==""||t.removeAttribute(u):t.setAttribute(u,o===!0?"":o))}if(e[0]==="p"&&e.startsWith("prop:")){const a=e.slice(5);try{t[a]=o}catch{}return}{const a=Yt(o);if((l||a&&o!==null)&&!i)try{if(t.tagName.includes("-"))t[e]!==o&&(t[e]=o);else{const f=o??"";e==="list"?l=!1:n!=null&&t[e]===f||(typeof t.__lookupSetter__(e)=="function"?t[e]=f:t.setAttribute(e,f))}}catch{}let u=!1;r!==(r=r.replace(/^xlink\:?/,""))&&(e=r,u=!0),o==null||o===!1?o===!1&&t.getAttribute(e)!==""||(u?t.removeAttributeNS(me,e):t.removeAttribute(e)):(!l||4&s||i)&&!a&&t.nodeType===1&&(o=o===!0?"":o,u?t.setAttributeNS(me,e,o):t.setAttribute(e,o))}}else if(e=e[2]==="-"?e.slice(3):pe(O,r)?r.slice(2):r[2]+e.slice(3),n||o){const a=e.endsWith(Te);e=e.replace(xn,""),n&&T.rel(t,e,n,a),o&&T.ael(t,e,o,a)}}},bn=/\s/,Ce=t=>(typeof t=="object"&&t&&"baseVal"in t&&(t=t.baseVal),t&&typeof t=="string"?t.split(bn):[]),Te="Capture",xn=new RegExp(Te+"$"),Xt=(t,e,n)=>{const o=e.S.nodeType===11&&e.S.host?e.S.host:e.S,i=t&&t.v||{},s=e.v||{};for(const l of Ne(Object.keys(i)))l in s||Ae(o,l,i[l],void 0,n,e.i);for(const l of Ne(Object.keys(s)))Ae(o,l,i[l],s[l],n,e.i)};function Ne(t){return t.includes("ref")?[...t.filter((e=>e!=="ref")),"ref"]:t}var wt=!1,Ct=!1,Tt=!1,k=!1,Gt=[],Zt=[],Nt=(t,e,n)=>{var o;const i=e.m[n];let s,l,r,a=0;if(wt||(Tt=!0,i.O==="slot"&&(i.i|=i.m?2:1)),i.h!=null)s=i.S=O.document.createTextNode(i.h);else if(1&i.i)s=i.S=O.document.createTextNode(""),Xt(null,i,k);else{if(k||(k=i.O==="svg"),!O.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(s=i.S=O.document.createElementNS(k?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!wt&&2&i.i?"slot-fb":i.O),k&&i.O==="foreignObject"&&(k=!1),Xt(null,i,k),i.m){const u=i.O==="template"?s.content:s;for(a=0;a<i.m.length;++a)l=Nt(t,i,a),l&&u.appendChild(l)}i.O==="svg"?k=!1:s.tagName==="foreignObject"&&(k=!0)}return s["s-hn"]=et,3&i.i&&(s["s-sr"]=!0,s["s-cr"]=qt,s["s-sn"]=i.j||"",s["s-rf"]=(o=i.v)==null?void 0:o.ref,(function(u){if(u.assignedElements||u.assignedNodes||!u["s-sr"])return;const f=c=>(function(d){const p=[],h=this["s-sn"];d?.flatten&&console.error(`
1
+ (function(Q,lt){typeof exports=="object"&&typeof module<"u"?lt(exports):typeof define=="function"&&define.amd?define(["exports"],lt):(Q=typeof globalThis<"u"?globalThis:Q||self,lt(Q.gidsCoreWebGidsTooltip={}))})(this,(function(Q){"use strict";function lt(t,e,n){const o=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;t&&t!==o;){const i=Object.getOwnPropertyDescriptor(t,e);if(i&&(!n||i.get))return i;t=Object.getPrototypeOf(t)}}var gt,an=(t,e)=>{var n;Object.entries((n=e.o.t)!=null?n:{}).map((([o,[i]])=>{if(31&i||32&i){const s=t[o],l=lt(Object.getPrototypeOf(t),o,!0)||Object.getOwnPropertyDescriptor(t,o);l&&Object.defineProperty(t,o,{get(){return l.get.call(this)},set(r){l.set.call(this,r)},configurable:!0,enumerable:!0}),e.l.has(o)?t[o]=e.l.get(o):s!==void 0&&(t[o]=s)}}))},V=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},pe=(t,e)=>e in t,tt=(t,e)=>(0,console.error)(t,e),Ot=new Map,me="http://www.w3.org/1999/xlink",cn=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],O=typeof window<"u"?window:{},fn=O.HTMLElement||class{},T={i:0,u:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},dn=(()=>{var t;let e=!1;try{(t=O.document)==null||t.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=!0}}))}catch{}return e})(),jt=(()=>{try{return!!O.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),Ht=!!jt&&!!O.document&&Object.getOwnPropertyDescriptor(O.document.adoptedStyleSheets,"length").writable,Vt=!1,ge=[],ye=[],un=(t,e)=>n=>{t.push(n),Vt||(Vt=!0,4&T.i?Bt(zt):T.raf(zt))},we=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(n){tt(n)}t.length=0},zt=()=>{we(ge),we(ye),(Vt=ge.length>0)&&T.raf(zt)},Bt=t=>Promise.resolve(void 0).then(t),hn=un(ye);function pn(){const t=this.attachShadow({mode:"open"});gt===void 0&&(gt=null),gt&&(Ht?t.adoptedStyleSheets.push(gt):t.adoptedStyleSheets=[...t.adoptedStyleSheets,gt])}var ve=t=>{const e=Ut(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&t.tagName!=="SLOT-FB"&&It(e,t.tagName).forEach((o=>{o.nodeType===1&&o.tagName==="SLOT-FB"&&(o.hidden=!!mn(o,yt(o),!1).length)}));let n=0;for(n=0;n<e.length;n++){const o=e[n];o.nodeType===1&&Ut(o,"childNodes").length&&ve(o)}};function It(t,e,n){let o,i=0,s=[];for(;i<t.length;i++){if(o=t[i],o["s-sr"]&&(!e||o["s-hn"]===e)&&(n===void 0||yt(o)===n)&&(s.push(o),n!==void 0))return s;s=[...s,...It(o.childNodes,e,n)]}return s}var mn=(t,e,n=!0)=>{const o=[];(n&&t["s-sr"]||!t["s-sr"])&&o.push(t);let i=t;for(;i=i.nextSibling;)yt(i)!==e||!n&&i["s-sr"]||o.push(i);return o},be=(t,e)=>t.nodeType===1?t.getAttribute("slot")===null&&e===""||t.getAttribute("slot")===e:t["s-sn"]===e||e==="",yt=t=>typeof t["s-sn"]=="string"?t["s-sn"]:t.nodeType===1&&t.getAttribute("slot")||void 0;function Ut(t,e){if("__"+e in t){const n=t["__"+e];return typeof n!="function"?n:n.bind(t)}return typeof t[e]!="function"?t[e]:t[e].bind(t)}var qt,et,q=new WeakMap,xe=t=>"sc-"+t.p,Yt=t=>(t=typeof t)=="object"||t==="function",rt=(t,e,...n)=>{let o=null,i=null,s=null,l=!1,r=!1;const a=[],d=c=>{for(let u=0;u<c.length;u++)o=c[u],Array.isArray(o)?d(o):o!=null&&typeof o!="boolean"&&((l=typeof t!="function"&&!Yt(o))&&(o=String(o)),l&&r?a[a.length-1].h+=o:a.push(l?At(null,o):o),r=l)};if(d(n),e){e.key&&(i=e.key),e.name&&(s=e.name);{const c=e.className||e.class;c&&(e.class=typeof c!="object"?c:Object.keys(c).filter((u=>c[u])).join(" "))}}if(typeof t=="function")return t(e===null?{}:e,a,yn);const f=At(t,null);return f.v=e,a.length>0&&(f.m=a),f.$=i,f.j=s,f},At=(t,e)=>({i:0,O:t,h:e??null,S:null,m:null,v:null,$:null,j:null}),gn={},yn={forEach:(t,e)=>t.map(Se).forEach(e),map:(t,e)=>t.map(Se).map(e).map(wn)},Se=t=>({vattrs:t.v,vchildren:t.m,vkey:t.$,vname:t.j,vtag:t.O,vtext:t.h}),wn=t=>{if(typeof t.vtag=="function"){const n={...t.vattrs};return t.vkey&&(n.key=t.vkey),t.vname&&(n.name=t.vname),rt(t.vtag,n,...t.vchildren||[])}const e=At(t.vtag,t.vtext);return e.v=t.vattrs,e.m=t.vchildren,e.$=t.vkey,e.j=t.vname,e},Ee=t=>{if(!t)return;const e=Object.keys(t);if(e.length===0)return;let n=!1;for(const i of e){if(n)break;for(const s of t[i])if(typeof s=="string"){n=!0;break}}if(!n)return t;const o={};for(const i of e)o[i]=t[i].map((s=>typeof s=="string"?{[s]:0}:s));return o},Oe=(t,e,n)=>t==null||Yt(t)?t:4&e?(n&&typeof t=="string"||t!=="false")&&(t===""||!!t):2&e?typeof t=="string"?parseFloat(t):typeof t=="number"?t:NaN:1&e?String(t):t,vn=(t,e,n)=>{const o=T.ce(e,n);return t.dispatchEvent(o),o},Ae=(t,e,n,o,i,s)=>{if(n===o)return;let l=pe(t,e),r=e.toLowerCase();if(e==="class"){const a=t.classList,d=Ce(n);let f=Ce(o);a.remove(...d.filter((c=>c&&!f.includes(c)))),a.add(...f.filter((c=>c&&!d.includes(c))))}else if(e==="style"){for(const a in n)o&&o[a]!=null||(a.includes("-")?t.style.removeProperty(a):t.style[a]="");for(const a in o)n&&o[a]===n[a]||(a.includes("-")?t.style.setProperty(a,o[a]):t.style[a]=o[a])}else if(e!=="key"){if(e==="ref")o&&Sn(o,t);else if(t.__lookupSetter__(e)||e[0]!=="o"||e[1]!=="n"){if(e[0]==="a"&&e.startsWith("attr:")){const a=e.slice(5);let d;{const f=V(t);if(f&&f.o&&f.o.t){const c=f.o.t[a];c&&c[1]&&(d=c[1])}}return d||(d=a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(o==null||o===!1?o===!1&&t.getAttribute(d)!==""||t.removeAttribute(d):t.setAttribute(d,o===!0?"":o))}if(e[0]==="p"&&e.startsWith("prop:")){const a=e.slice(5);try{t[a]=o}catch{}return}{const a=Yt(o);if((l||a&&o!==null)&&!i)try{if(t.tagName.includes("-"))t[e]!==o&&(t[e]=o);else{const f=o??"";e==="list"?l=!1:n!=null&&t[e]===f||(typeof t.__lookupSetter__(e)=="function"?t[e]=f:t.setAttribute(e,f))}}catch{}let d=!1;r!==(r=r.replace(/^xlink\:?/,""))&&(e=r,d=!0),o==null||o===!1?o===!1&&t.getAttribute(e)!==""||(d?t.removeAttributeNS(me,e):t.removeAttribute(e)):(!l||4&s||i)&&!a&&t.nodeType===1&&(o=o===!0?"":o,d?t.setAttributeNS(me,e,o):t.setAttribute(e,o))}}else if(e=e[2]==="-"?e.slice(3):pe(O,r)?r.slice(2):r[2]+e.slice(3),n||o){const a=e.endsWith(Te);e=e.replace(xn,""),n&&T.rel(t,e,n,a),o&&T.ael(t,e,o,a)}}},bn=/\s/,Ce=t=>(typeof t=="object"&&t&&"baseVal"in t&&(t=t.baseVal),t&&typeof t=="string"?t.split(bn):[]),Te="Capture",xn=new RegExp(Te+"$"),Xt=(t,e,n)=>{const o=e.S.nodeType===11&&e.S.host?e.S.host:e.S,i=t&&t.v||{},s=e.v||{};for(const l of Ne(Object.keys(i)))l in s||Ae(o,l,i[l],void 0,n,e.i);for(const l of Ne(Object.keys(s)))Ae(o,l,i[l],s[l],n,e.i)};function Ne(t){return t.includes("ref")?[...t.filter((e=>e!=="ref")),"ref"]:t}var wt=!1,Ct=!1,Tt=!1,k=!1,Gt=[],Zt=[],Nt=(t,e,n)=>{var o;const i=e.m[n];let s,l,r,a=0;if(wt||(Tt=!0,i.O==="slot"&&(i.i|=i.m?2:1)),i.h!=null)s=i.S=O.document.createTextNode(i.h);else if(1&i.i)s=i.S=O.document.createTextNode(""),Xt(null,i,k);else{if(k||(k=i.O==="svg"),!O.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(s=i.S=O.document.createElementNS(k?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!wt&&2&i.i?"slot-fb":i.O),k&&i.O==="foreignObject"&&(k=!1),Xt(null,i,k),i.m){const d=i.O==="template"?s.content:s;for(a=0;a<i.m.length;++a)l=Nt(t,i,a),l&&d.appendChild(l)}i.O==="svg"?k=!1:s.tagName==="foreignObject"&&(k=!0)}return s["s-hn"]=et,3&i.i&&(s["s-sr"]=!0,s["s-cr"]=qt,s["s-sn"]=i.j||"",s["s-rf"]=(o=i.v)==null?void 0:o.ref,(function(d){if(d.assignedElements||d.assignedNodes||!d["s-sr"])return;const f=c=>(function(u){const p=[],h=this["s-sn"];u?.flatten&&console.error(`
2
2
  Flattening is not supported for Stencil non-shadow slots.
3
3
  You can use \`.childNodes\` to nested slot fallback content.
4
4
  If you have a particular use case, please open an issue on the Stencil repo.
5
- `);const w=this["s-cr"].parentElement;return(w.__childNodes?w.childNodes:(v=>{const m=[];for(let g=0;g<v.length;g++){const y=v[g]["s-nr"]||void 0;y&&y.isConnected&&m.push(y)}return m})(w.childNodes)).forEach((v=>{h===yt(v)&&p.push(v)})),c?p.filter((v=>v.nodeType===1)):p}).bind(u);u.assignedElements=f(!0),u.assignedNodes=f(!1)})(s),r=t&&t.m&&t.m[n],r&&r.O===i.O&&t.S&&Re(t.S)),s},Re=t=>{T.i|=1;const e=t.closest(et.toLowerCase());if(e!=null){const n=Array.from(e.__childNodes||e.childNodes).find((i=>i["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const i of n?o.reverse():o)i["s-sh"]!=null&&($(e,i,n??null),i["s-sh"]=void 0,Tt=!0)}T.i&=-2},Rt=(t,e)=>{T.i|=1;const n=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let o=t;for(;o=o.nextSibling;)o&&o["s-sn"]===t["s-sn"]&&o["s-sh"]===et&&n.push(o)}for(let o=n.length-1;o>=0;o--){const i=n[o];i["s-hn"]!==et&&i["s-ol"]&&($(vt(i).parentNode,i,vt(i)),i["s-ol"].remove(),i["s-ol"]=void 0,i["s-sh"]=void 0,Tt=!0),e&&Rt(i,e)}T.i&=-2},ke=(t,e,n,o,i,s)=>{let l,r=t["s-cr"]&&t["s-cr"].parentNode||t;for(r.shadowRoot&&r.tagName===et&&(r=r.shadowRoot),n.O==="template"&&(r=r.content);i<=s;++i)o[i]&&(l=Nt(null,n,i),l&&(o[i].S=l,$(r,l,vt(e))))},Le=(t,e,n)=>{for(let o=e;o<=n;++o){const i=t[o];if(i){const s=i.S;$e(i),s&&(Ct=!0,s["s-ol"]?s["s-ol"].remove():Rt(s,!0),s.remove())}}},kt=(t,e,n=!1)=>t.O===e.O&&(t.O==="slot"?t.j===e.j:n?(n&&!t.$&&e.$&&(t.$=e.$),!0):t.$===e.$),vt=t=>t&&t["s-ol"]||t,at=(t,e,n=!1)=>{const o=e.S=t.S,i=t.m,s=e.m,l=e.O,r=e.h;let a;r==null?(k=l==="svg"||l!=="foreignObject"&&k,l!=="slot"||wt||t.j!==e.j&&(e.S["s-sn"]=e.j||"",Re(e.S.parentElement)),Xt(t,e,k),i!==null&&s!==null?((u,f,c,d,p=!1)=>{let h,w,v=0,m=0,g=0,y=0,x=f.length-1,b=f[0],S=f[x],E=d.length-1,A=d[0],C=d[E];const N=c.O==="template"?u.content:u;for(;v<=x&&m<=E;)if(b==null)b=f[++v];else if(S==null)S=f[--x];else if(A==null)A=d[++m];else if(C==null)C=d[--E];else if(kt(b,A,p))at(b,A,p),b=f[++v],A=d[++m];else if(kt(S,C,p))at(S,C,p),S=f[--x],C=d[--E];else if(kt(b,C,p))b.O!=="slot"&&C.O!=="slot"||Rt(b.S.parentNode,!1),at(b,C,p),$(N,b.S,S.S.nextSibling),b=f[++v],C=d[--E];else if(kt(S,A,p))b.O!=="slot"&&C.O!=="slot"||Rt(S.S.parentNode,!1),at(S,A,p),$(N,S.S,b.S),S=f[--x],A=d[++m];else{for(g=-1,y=v;y<=x;++y)if(f[y]&&f[y].$!==null&&f[y].$===A.$){g=y;break}g>=0?(w=f[g],w.O!==A.O?h=Nt(f&&f[m],c,g):(at(w,A,p),f[g]=void 0,h=w.S),A=d[++m]):(h=Nt(f&&f[m],c,m),A=d[++m]),h&&$(vt(b.S).parentNode,h,vt(b.S))}v>x?ke(u,d[E+1]==null?null:d[E+1].S,c,d,m,E):m>E&&Le(f,v,x)})(o,i,e,s,n):s!==null?(t.h!==null&&(o.textContent=""),ke(o,null,e,s,0,s.length-1)):!n&&i!==null&&Le(i,0,i.length-1),k&&l==="svg"&&(k=!1)):(a=o["s-cr"])?a.parentNode.textContent=r:t.h!==r&&(o.data=r)},z=[],_e=t=>{let e,n,o;const i=t.__childNodes||t.childNodes;for(const s of i){if(s["s-sr"]&&(e=s["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;const l=s["s-sn"];for(o=n.length-1;o>=0;o--)if(e=n[o],!(e["s-cn"]||e["s-nr"]||e["s-hn"]===s["s-hn"]||e["s-sh"]&&e["s-sh"]===s["s-hn"]))if(be(e,l)){let r=z.find((a=>a.k===e));Ct=!0,e["s-sn"]=e["s-sn"]||l,r?(r.k["s-sh"]=s["s-hn"],r.N=s):(e["s-sh"]=s["s-hn"],z.push({N:s,k:e})),e["s-sr"]&&z.map((a=>{be(a.k,e["s-sn"])&&(r=z.find((u=>u.k===e)),r&&!a.N&&(a.N=r.N))}))}else z.some((r=>r.k===e))||z.push({k:e})}s.nodeType===1&&_e(s)}},$e=t=>{t.v&&t.v.ref&&Gt.push((()=>t.v.ref(null))),t.m&&t.m.map($e)},Sn=(t,e)=>{Zt.push((()=>t(e)))},$=(t,e,n,o)=>{if(typeof e["s-sn"]=="string"){t.insertBefore(e,n);const{slotNode:i}=(function(s,l){var r;if(!(l=l||((r=s["s-ol"])==null?void 0:r.parentElement)))return{slotNode:null,slotName:""};const a=s["s-sn"]=yt(s)||"";return{slotNode:It(Ut(l,"childNodes"),l.tagName,a)[0],slotName:a}})(e);return i&&!o&&i.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),e}return t.__insertBefore?t.__insertBefore(e,n):t?.insertBefore(e,n)},En=(t,e,n=!1)=>{var o,i,s,l,r;const a=t.$hostElement$,u=t.o,f=t.M||At(null,null);var c;const d=(c=e)&&c.O===gn?e:rt(null,null,e);if(et=a.tagName,u.C&&(d.v=d.v||{},u.C.forEach((([p,h])=>{d.v[h]=a[p]}))),n&&d.v)for(const p of Object.keys(d.v))a.hasAttribute(p)&&!["key","ref","style","class"].includes(p)&&(d.v[p]=a[p]);if(d.O=null,d.i|=4,t.M=d,d.S=f.S=a.shadowRoot||a,wt=!(!(1&u.i)||128&u.i),qt=a["s-cr"],Ct=!1,at(f,d,n),T.i|=1,Tt){_e(d.S);for(const p of z){const h=p.k;if(!h["s-ol"]&&O.document){const w=O.document.createTextNode("");w["s-nr"]=h,$(h.parentNode,h["s-ol"]=w,h,n)}}for(const p of z){const h=p.k,w=p.N;if(h.nodeType===1&&n&&(h["s-ih"]=(o=h.hidden)!=null&&o),w){const v=w.parentNode;let m=w.nextSibling;if(m&&m.nodeType===1){let g=(i=h["s-ol"])==null?void 0:i.previousSibling;for(;g;){let y=(s=g["s-nr"])!=null?s:null;if(y&&y["s-sn"]===h["s-sn"]&&v===(y.__parentNode||y.parentNode)){for(y=y.nextSibling;y===h||y?.["s-sr"];)y=y?.nextSibling;if(!y||!y["s-nr"]){m=y;break}}g=g.previousSibling}}if((!m&&v!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==m)&&h!==m){if($(v,h,m,n),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const g=O.document.createTextNode(h.nodeValue.replace(/^s-nt-/,""));g["s-hn"]=h["s-hn"],g["s-sn"]=h["s-sn"],g["s-sh"]=h["s-sh"],g["s-sr"]=h["s-sr"],g["s-ol"]=h["s-ol"],g["s-ol"]["s-nr"]=g,$(h.parentNode,g,h,n),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(l=h["s-ih"])!=null&&l)}h&&typeof w["s-rf"]=="function"&&w["s-rf"](w)}else h.nodeType===1&&(h.hidden=!0)}}if(Ct&&ve(d.S),T.i&=-2,z.length=0,!wt&&!(1&u.i)&&a["s-cr"]){const p=d.S.__childNodes||d.S.childNodes;for(const h of p)if(h["s-hn"]!==et&&!h["s-sh"]){if(n&&h["s-ih"]==null&&(h["s-ih"]=(r=h.hidden)!=null&&r),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const w=O.document.createComment("s-nt-"+h.nodeValue);w["s-sn"]=h["s-sn"],$(h.parentNode,w,h,n),h.parentNode.removeChild(h)}}}qt=void 0,Gt.forEach((p=>p())),Gt.length=0,Zt.forEach((p=>p())),Zt.length=0},De=(t,e)=>{if(e&&!t.A&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t.A=()=>{e["s-p"].splice(n-1,1),o()})))}},Kt=(t,e)=>{if(t.i|=16,4&t.i)return void(t.i|=512);De(t,t.R);const n=()=>On(t,e);if(!e)return hn(n);queueMicrotask((()=>{n()}))},On=(t,e)=>{const n=t.$hostElement$,o=n;if(!o)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return i=bt(o,e?"componentWillLoad":"componentWillUpdate",void 0,n),i=Pe(i,(()=>bt(o,"componentWillRender",void 0,n))),Pe(i,(()=>Cn(t,o,e)))},Pe=(t,e)=>An(t)?t.then(e).catch((n=>{console.error(n),e()})):e(),An=t=>t instanceof Promise||t&&t.then&&typeof t.then=="function",Cn=async(t,e,n)=>{var o;const i=t.$hostElement$,s=i["s-rc"];n&&(l=>{const r=l.o,a=l.$hostElement$,u=r.i,f=((c,d)=>{var p,h,w;const v=xe(d),m=Ot.get(v);if(!O.document)return v;if(c=c.nodeType===11?c:O.document,m)if(typeof m=="string"){let g,y=q.get(c=c.head||c);if(y||q.set(c,y=new Set),!y.has(v)){g=O.document.createElement("style"),g.textContent=m;const x=(p=T._)!=null?p:(function(){var b,S,E;return(E=(S=(b=O.document.head)==null?void 0:b.querySelector('meta[name="csp-nonce"]'))==null?void 0:S.getAttribute("content"))!=null?E:void 0})();if(x!=null&&g.setAttribute("nonce",x),!(1&d.i))if(c.nodeName==="HEAD"){const b=c.querySelectorAll("link[rel=preconnect]"),S=b.length>0?b[b.length-1].nextSibling:c.querySelector("style");c.insertBefore(g,S?.parentNode===c?S:null)}else if("host"in c)if(jt){const b=new((h=c.defaultView)!=null?h:c.ownerDocument.defaultView).CSSStyleSheet;b.replaceSync(m),Ht?c.adoptedStyleSheets.unshift(b):c.adoptedStyleSheets=[b,...c.adoptedStyleSheets]}else{const b=c.querySelector("style");b?b.textContent=m+b.textContent:c.prepend(g)}else c.append(g);1&d.i&&c.insertBefore(g,null),4&d.i&&(g.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),y&&y.add(v)}}else{let g=q.get(c);if(g||q.set(c,g=new Set),!g.has(v)){const y=(w=c.defaultView)!=null?w:c.ownerDocument.defaultView;let x;if(m.constructor===y.CSSStyleSheet)x=m;else{x=new y.CSSStyleSheet;for(let b=0;b<m.cssRules.length;b++)x.insertRule(m.cssRules[b].cssText,b)}Ht?c.adoptedStyleSheets.push(x):c.adoptedStyleSheets=[...c.adoptedStyleSheets,x],g.add(v)}}return v})(a.shadowRoot?a.shadowRoot:a.getRootNode(),r);10&u&&(a["s-sc"]=f,a.classList.add(f+"-h"))})(t),Tn(t,e,i,n),s&&(s.map((l=>l())),i["s-rc"]=void 0);{const l=(o=i["s-p"])!=null?o:[],r=()=>Nn(t);l.length===0?r():(Promise.all(l).then(r).catch(r),t.i|=4,l.length=0)}},Tn=(t,e,n,o)=>{try{e=e.render(),t.i&=-17,t.i|=2,En(t,e,o)}catch(i){tt(i,t.$hostElement$)}return null},Nn=t=>{const e=t.$hostElement$,n=e,o=t.R;bt(n,"componentDidRender",void 0,e),64&t.i?bt(n,"componentDidUpdate",void 0,e):(t.i|=64,kn(e),bt(n,"componentDidLoad",void 0,e),t.L(e),o||Rn()),t.A&&(t.A(),t.A=void 0),512&t.i&&Bt((()=>Kt(t,!1))),t.i&=-517},Rn=()=>{Bt((()=>vn(O,"appload",{detail:{namespace:"gids-core-web"}})))},bt=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(i){tt(i,o)}},kn=t=>t.classList.add("hydrated"),Me=(t,e,n,o)=>{const i=V(t);if(!i)return;const s=t,l=i.l.get(e),r=i.i,a=s;n=Oe(n,o.t[e][0],!!(64&o.i));const u=Number.isNaN(l)&&Number.isNaN(n);if(n!==l&&!u){if(i.l.set(e,n),o.F){const f=o.F[e];f&&f.map((c=>{try{const[[d,p]]=Object.entries(c);(128&r||1&p)&&(a?a[d](n,l,e):i.T.push((()=>{i.D[d](n,l,e)})))}catch(d){tt(d,s)}}))}if(2&r){if(a.componentShouldUpdate&&a.componentShouldUpdate(n,l,e)===!1&&!(16&r))return;16&r||Kt(i,!1)}}},Ln=(t,e,n)=>{var o,i;const s=t.prototype;64&e.i&&1&n&&cn.forEach((l=>{const r=s[l];Object.defineProperty(s,l,{value(...a){var u;const f=V(this),c=this;c?typeof r=="function"&&r.call(c,...a):(u=f?.H)==null||u.then((d=>{const p=d[l];typeof p=="function"&&p.call(d,...a)}))}})}));{t.watchers&&!e.F&&(e.F=Ee(t.watchers)),t.deserializers&&!e.P&&(e.P=t.deserializers),t.serializers&&!e.U&&(e.U=t.serializers);const l=Object.entries((o=e.t)!=null?o:{});l.map((([r,[a]])=>{if(31&a||32&a){const{get:u,set:f}=lt(s,r)||{};u&&(e.t[r][0]|=2048),f&&(e.t[r][0]|=4096),Object.defineProperty(s,r,{get(){return u?u.apply(this):(c=r,V(this).l.get(c));var c},configurable:!0,enumerable:!0}),Object.defineProperty(s,r,{set(c){const d=V(this);if(d){if(f)return(32&a?this[r]:d.$hostElement$[r])===void 0&&d.l.get(r)&&(c=d.l.get(r)),f.apply(this,[Oe(c,a,!!(64&e.i))]),void Me(this,r,c=32&a?this[r]:d.$hostElement$[r],e);Me(this,r,c,e)}}})}}));{const r=new Map;s.attributeChangedCallback=function(a,u,f){T.jmp((()=>{var c;const d=r.get(a),p=V(this);if(this.hasOwnProperty(d),s.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==f)return;if(d==null){const g=p?.i;if(p&&g&&!(8&g)&&f!==u){const y=this,x=(c=e.F)==null?void 0:c[a];x?.forEach((b=>{const[[S,E]]=Object.entries(b);y[S]!=null&&(128&g||1&E)&&y[S].call(y,f,u,a)}))}return}const h=l.find((([g])=>g===d)),w=h&&4&h[1][0],v=w&&f===null&&this[d]===void 0;w&&(f=f!==null&&f!=="false");const m=Object.getOwnPropertyDescriptor(s,d);v||f==this[d]||m.get&&!m.set||(this[d]=f)}))},t.observedAttributes=Array.from(new Set([...Object.keys((i=e.F)!=null?i:{}),...l.filter((([a,u])=>31&u[0])).map((([a,u])=>{var f;const c=u[1]||a;return r.set(c,a),512&u[0]&&((f=e.C)==null||f.push([a,c])),c}))]))}}return t},_n=(t,e)=>{const n={i:e[0],p:e[1]};try{n.t=e[2],n.W=e[3],n.F=Ee(t.F),n.P=t.P,n.U=t.U,n.C=[];const o=t.prototype.connectedCallback,i=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){((s,l)=>{const r={i:0,$hostElement$:s,o:l,l:new Map,B:new Map};r.H=new Promise((u=>r.L=u)),s["s-p"]=[],s["s-rc"]=[];const a=r;s.__stencil__getHostRef=()=>a,512&l.i&&an(s,r)})(this,n)},connectedCallback(){if(!this.__hasHostListenerAttached){const s=V(this);if(!s)return;Fe(this,s,n.W),this.__hasHostListenerAttached=!0}(s=>{if(!(1&T.i)){const l=V(s);if(!l)return;const r=l.o;if(1&l.i)Fe(s,l,r.W),l?.D||l?.H&&l.H.then((()=>{}));else{l.i|=1,12&r.i&&(a=>{if(!O.document)return;const u=a["s-cr"]=O.document.createComment("");u["s-cn"]=!0,$(a,u,a.firstChild)})(s);{let a=s;for(;a=a.parentNode||a.host;)if(a["s-p"]){De(l,l.R=a);break}}r.t&&Object.entries(r.t).map((([a,[u]])=>{if(31&u&&Object.prototype.hasOwnProperty.call(s,a)){const f=s[a];delete s[a],s[a]=f}})),(async(a,u,f)=>{let c;try{if(!(32&u.i)&&(u.i|=32,c=a.constructor,customElements.whenDefined(a.localName).then((()=>u.i|=128)),c&&c.style)){let h;typeof c.style=="string"&&(h=c.style);const w=xe(f);Ot.has(w)||((v,m,g)=>{let y=Ot.get(v);jt&&g?(y=y||new CSSStyleSheet,typeof y=="string"?y=m:y.replaceSync(m)):y=m,Ot.set(v,y)})(w,h,!!(1&f.i))}const d=u.R,p=()=>Kt(u,!0);d&&d["s-rc"]?d["s-rc"].push(p):p()}catch(d){tt(d,a),u.A&&(u.A(),u.A=void 0),u.L&&u.L(a)}})(s,l,r)}}})(this),o&&o.call(this)},disconnectedCallback(){(async s=>{if(!(1&T.i)){const l=V(s);l?.V&&(l.V.map((r=>r())),l.V=void 0)}q.has(s)&&q.delete(s),s.shadowRoot&&q.has(s.shadowRoot)&&q.delete(s.shadowRoot)})(this),i&&i.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${n.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else pn.call(this,n)}}),Object.defineProperty(t,"is",{value:n.p,configurable:!0}),Ln(t,n,3)}catch(o){return tt(o),t}},$n=(t,e)=>e,Fe=(t,e,n)=>{n&&O.document&&n.map((([o,i,s])=>{const l=Pn(O.document,t,o),r=Dn(e,s),a=Mn(o);T.ael(l,i,r,a),(e.V=e.V||[]).push((()=>T.rel(l,i,r,a)))}))},Dn=(t,e)=>n=>{try{t.$hostElement$[e](n)}catch(o){tt(o,t.$hostElement$)}},Pn=(t,e,n)=>8&n?O:e,Mn=t=>un?{passive:!!(1&t),capture:!!(2&t)}:!!(2&t);function Do(t){return t}const Y=Math.min,L=Math.max,Lt=Math.round,_t=Math.floor,W=t=>({x:t,y:t}),Fn={left:"right",right:"left",bottom:"top",top:"bottom"};function Jt(t,e,n){return L(t,Y(e,n))}function ct(t,e){return typeof t=="function"?t(e):t}function X(t){return t.split("-")[0]}function ft(t){return t.split("-")[1]}function We(t){return t==="x"?"y":"x"}function Qt(t){return t==="y"?"height":"width"}function B(t){const e=t[0];return e==="t"||e==="b"?"y":"x"}function te(t){return We(B(t))}function Wn(t,e,n){n===void 0&&(n=!1);const o=ft(t),i=te(t),s=Qt(i);let l=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(l=$t(l)),[l,$t(l)]}function jn(t){const e=$t(t);return[ee(t),e,ee(e)]}function ee(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const je=["left","right"],He=["right","left"],Hn=["top","bottom"],Vn=["bottom","top"];function zn(t,e,n){switch(t){case"top":case"bottom":return n?e?He:je:e?je:He;case"left":case"right":return e?Hn:Vn;default:return[]}}function Bn(t,e,n,o){const i=ft(t);let s=zn(X(t),n==="start",o);return i&&(s=s.map(l=>l+"-"+i),e&&(s=s.concat(s.map(ee)))),s}function $t(t){const e=X(t);return Fn[e]+t.slice(e.length)}function In(t){return{top:0,right:0,bottom:0,left:0,...t}}function Ve(t){return typeof t!="number"?In(t):{top:t,right:t,bottom:t,left:t}}function Dt(t){const{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function ze(t,e,n){let{reference:o,floating:i}=t;const s=B(e),l=te(e),r=Qt(l),a=X(e),u=s==="y",f=o.x+o.width/2-i.width/2,c=o.y+o.height/2-i.height/2,d=o[r]/2-i[r]/2;let p;switch(a){case"top":p={x:f,y:o.y-i.height};break;case"bottom":p={x:f,y:o.y+o.height};break;case"right":p={x:o.x+o.width,y:c};break;case"left":p={x:o.x-i.width,y:c};break;default:p={x:o.x,y:o.y}}switch(ft(e)){case"start":p[l]-=d*(n&&u?-1:1);break;case"end":p[l]+=d*(n&&u?-1:1);break}return p}async function Un(t,e){var n;e===void 0&&(e={});const{x:o,y:i,platform:s,rects:l,elements:r,strategy:a}=t,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:c="floating",altBoundary:d=!1,padding:p=0}=ct(e,t),h=Ve(p),v=r[d?c==="floating"?"reference":"floating":c],m=Dt(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(v)))==null||n?v:v.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(r.floating)),boundary:u,rootBoundary:f,strategy:a})),g=c==="floating"?{x:o,y:i,width:l.floating.width,height:l.floating.height}:l.reference,y=await(s.getOffsetParent==null?void 0:s.getOffsetParent(r.floating)),x=await(s.isElement==null?void 0:s.isElement(y))?await(s.getScale==null?void 0:s.getScale(y))||{x:1,y:1}:{x:1,y:1},b=Dt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:r,rect:g,offsetParent:y,strategy:a}):g);return{top:(m.top-b.top+h.top)/x.y,bottom:(b.bottom-m.bottom+h.bottom)/x.y,left:(m.left-b.left+h.left)/x.x,right:(b.right-m.right+h.right)/x.x}}const qn=50,Yn=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:s=[],platform:l}=n,r=l.detectOverflow?l:{...l,detectOverflow:Un},a=await(l.isRTL==null?void 0:l.isRTL(e));let u=await l.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:c}=ze(u,o,a),d=o,p=0;const h={};for(let w=0;w<s.length;w++){const v=s[w];if(!v)continue;const{name:m,fn:g}=v,{x:y,y:x,data:b,reset:S}=await g({x:f,y:c,initialPlacement:o,placement:d,strategy:i,middlewareData:h,rects:u,platform:r,elements:{reference:t,floating:e}});f=y??f,c=x??c,h[m]={...h[m],...b},S&&p<qn&&(p++,typeof S=="object"&&(S.placement&&(d=S.placement),S.rects&&(u=S.rects===!0?await l.getElementRects({reference:t,floating:e,strategy:i}):S.rects),{x:f,y:c}=ze(u,d,a)),w=-1)}return{x:f,y:c,placement:d,strategy:i,middlewareData:h}},Xn=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:i,rects:s,platform:l,elements:r,middlewareData:a}=e,{element:u,padding:f=0}=ct(t,e)||{};if(u==null)return{};const c=Ve(f),d={x:n,y:o},p=te(i),h=Qt(p),w=await l.getDimensions(u),v=p==="y",m=v?"top":"left",g=v?"bottom":"right",y=v?"clientHeight":"clientWidth",x=s.reference[h]+s.reference[p]-d[p]-s.floating[h],b=d[p]-s.reference[p],S=await(l.getOffsetParent==null?void 0:l.getOffsetParent(u));let E=S?S[y]:0;(!E||!await(l.isElement==null?void 0:l.isElement(S)))&&(E=r.floating[y]||s.floating[h]);const A=x/2-b/2,C=E/2-w[h]/2-1,N=Y(c[m],C),Z=Y(c[g],C),H=N,K=E-w[h]-Z,R=E/2-w[h]/2+A,st=Jt(H,R,K),U=!a.arrow&&ft(i)!=null&&R!==st&&s.reference[h]/2-(R<H?N:Z)-w[h]/2<0,M=U?R<H?R-H:R-K:0;return{[p]:d[p]+M,data:{[p]:st,centerOffset:R-st-M,...U&&{alignmentOffset:M}},reset:U}}}),Gn=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:i,middlewareData:s,rects:l,initialPlacement:r,platform:a,elements:u}=e,{mainAxis:f=!0,crossAxis:c=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:w=!0,...v}=ct(t,e);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const m=X(i),g=B(r),y=X(r)===r,x=await(a.isRTL==null?void 0:a.isRTL(u.floating)),b=d||(y||!w?[$t(r)]:jn(r)),S=h!=="none";!d&&S&&b.push(...Bn(r,w,h,x));const E=[r,...b],A=await a.detectOverflow(e,v),C=[];let N=((o=s.flip)==null?void 0:o.overflows)||[];if(f&&C.push(A[m]),c){const R=Wn(i,l,x);C.push(A[R[0]],A[R[1]])}if(N=[...N,{placement:i,overflows:C}],!C.every(R=>R<=0)){var Z,H;const R=(((Z=s.flip)==null?void 0:Z.index)||0)+1,st=E[R];if(st&&(!(c==="alignment"?g!==B(st):!1)||N.every(F=>B(F.placement)===g?F.overflows[0]>0:!0)))return{data:{index:R,overflows:N},reset:{placement:st}};let U=(H=N.filter(M=>M.overflows[0]<=0).sort((M,F)=>M.overflows[1]-F.overflows[1])[0])==null?void 0:H.placement;if(!U)switch(p){case"bestFit":{var K;const M=(K=N.filter(F=>{if(S){const J=B(F.placement);return J===g||J==="y"}return!0}).map(F=>[F.placement,F.overflows.filter(J=>J>0).reduce((J,$o)=>J+$o,0)]).sort((F,J)=>F[1]-J[1])[0])==null?void 0:K[0];M&&(U=M);break}case"initialPlacement":U=r;break}if(i!==U)return{reset:{placement:U}}}return{}}}},Zn=new Set(["left","top"]);async function Kn(t,e){const{placement:n,platform:o,elements:i}=t,s=await(o.isRTL==null?void 0:o.isRTL(i.floating)),l=X(n),r=ft(n),a=B(n)==="y",u=Zn.has(l)?-1:1,f=s&&a?-1:1,c=ct(e,t);let{mainAxis:d,crossAxis:p,alignmentAxis:h}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:c.mainAxis||0,crossAxis:c.crossAxis||0,alignmentAxis:c.alignmentAxis};return r&&typeof h=="number"&&(p=r==="end"?h*-1:h),a?{x:p*f,y:d*u}:{x:d*u,y:p*f}}const Jn=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:i,y:s,placement:l,middlewareData:r}=e,a=await Kn(e,t);return l===((n=r.offset)==null?void 0:n.placement)&&(o=r.arrow)!=null&&o.alignmentOffset?{}:{x:i+a.x,y:s+a.y,data:{...a,placement:l}}}}},Qn=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:i,platform:s}=e,{mainAxis:l=!0,crossAxis:r=!1,limiter:a={fn:m=>{let{x:g,y}=m;return{x:g,y}}},...u}=ct(t,e),f={x:n,y:o},c=await s.detectOverflow(e,u),d=B(X(i)),p=We(d);let h=f[p],w=f[d];if(l){const m=p==="y"?"top":"left",g=p==="y"?"bottom":"right",y=h+c[m],x=h-c[g];h=Jt(y,h,x)}if(r){const m=d==="y"?"top":"left",g=d==="y"?"bottom":"right",y=w+c[m],x=w-c[g];w=Jt(y,w,x)}const v=a.fn({...e,[p]:h,[d]:w});return{...v,data:{x:v.x-n,y:v.y-o,enabled:{[p]:l,[d]:r}}}}}},to=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,o;const{placement:i,rects:s,platform:l,elements:r}=e,{apply:a=()=>{},...u}=ct(t,e),f=await l.detectOverflow(e,u),c=X(i),d=ft(i),p=B(i)==="y",{width:h,height:w}=s.floating;let v,m;c==="top"||c==="bottom"?(v=c,m=d===(await(l.isRTL==null?void 0:l.isRTL(r.floating))?"start":"end")?"left":"right"):(m=c,v=d==="end"?"top":"bottom");const g=w-f.top-f.bottom,y=h-f.left-f.right,x=Y(w-f[v],g),b=Y(h-f[m],y),S=!e.middlewareData.shift;let E=x,A=b;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(A=y),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(E=g),S&&!d){const N=L(f.left,0),Z=L(f.right,0),H=L(f.top,0),K=L(f.bottom,0);p?A=h-2*(N!==0||Z!==0?N+Z:L(f.left,f.right)):E=w-2*(H!==0||K!==0?H+K:L(f.top,f.bottom))}await a({...e,availableWidth:A,availableHeight:E});const C=await l.getDimensions(r.floating);return h!==C.width||w!==C.height?{reset:{rects:!0}}:{}}}};function Pt(){return typeof window<"u"}function ut(t){return Be(t)?(t.nodeName||"").toLowerCase():"#document"}function _(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function j(t){var e;return(e=(Be(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Be(t){return Pt()?t instanceof Node||t instanceof _(t).Node:!1}function D(t){return Pt()?t instanceof Element||t instanceof _(t).Element:!1}function I(t){return Pt()?t instanceof HTMLElement||t instanceof _(t).HTMLElement:!1}function Ie(t){return!Pt()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof _(t).ShadowRoot}function xt(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=P(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&i!=="inline"&&i!=="contents"}function eo(t){return/^(table|td|th)$/.test(ut(t))}function Mt(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}const no=/transform|translate|scale|rotate|perspective|filter/,oo=/paint|layout|strict|content/,nt=t=>!!t&&t!=="none";let ne;function oe(t){const e=D(t)?P(t):t;return nt(e.transform)||nt(e.translate)||nt(e.scale)||nt(e.rotate)||nt(e.perspective)||!ie()&&(nt(e.backdropFilter)||nt(e.filter))||no.test(e.willChange||"")||oo.test(e.contain||"")}function io(t){let e=G(t);for(;I(e)&&!dt(e);){if(oe(e))return e;if(Mt(e))return null;e=G(e)}return null}function ie(){return ne==null&&(ne=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),ne}function dt(t){return/^(html|body|#document)$/.test(ut(t))}function P(t){return _(t).getComputedStyle(t)}function Ft(t){return D(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function G(t){if(ut(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Ie(t)&&t.host||j(t);return Ie(e)?e.host:e}function Ue(t){const e=G(t);return dt(e)?t.ownerDocument?t.ownerDocument.body:t.body:I(e)&&xt(e)?e:Ue(e)}function St(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=Ue(t),s=i===((o=t.ownerDocument)==null?void 0:o.body),l=_(i);if(s){const r=se(l);return e.concat(l,l.visualViewport||[],xt(i)?i:[],r&&n?St(r):[])}else return e.concat(i,St(i,[],n))}function se(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function qe(t){const e=P(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=I(t),s=i?t.offsetWidth:n,l=i?t.offsetHeight:o,r=Lt(n)!==s||Lt(o)!==l;return r&&(n=s,o=l),{width:n,height:o,$:r}}function le(t){return D(t)?t:t.contextElement}function ht(t){const e=le(t);if(!I(e))return W(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:s}=qe(e);let l=(s?Lt(n.width):n.width)/o,r=(s?Lt(n.height):n.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!r||!Number.isFinite(r))&&(r=1),{x:l,y:r}}const so=W(0);function Ye(t){const e=_(t);return!ie()||!e.visualViewport?so:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function lo(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==_(t)?!1:e}function ot(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),s=le(t);let l=W(1);e&&(o?D(o)&&(l=ht(o)):l=ht(t));const r=lo(s,n,o)?Ye(s):W(0);let a=(i.left+r.x)/l.x,u=(i.top+r.y)/l.y,f=i.width/l.x,c=i.height/l.y;if(s){const d=_(s),p=o&&D(o)?_(o):o;let h=d,w=se(h);for(;w&&o&&p!==h;){const v=ht(w),m=w.getBoundingClientRect(),g=P(w),y=m.left+(w.clientLeft+parseFloat(g.paddingLeft))*v.x,x=m.top+(w.clientTop+parseFloat(g.paddingTop))*v.y;a*=v.x,u*=v.y,f*=v.x,c*=v.y,a+=y,u+=x,h=_(w),w=se(h)}}return Dt({width:f,height:c,x:a,y:u})}function Wt(t,e){const n=Ft(t).scrollLeft;return e?e.left+n:ot(j(t)).left+n}function Xe(t,e){const n=t.getBoundingClientRect(),o=n.left+e.scrollLeft-Wt(t,n),i=n.top+e.scrollTop;return{x:o,y:i}}function ro(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const s=i==="fixed",l=j(o),r=e?Mt(e.floating):!1;if(o===l||r&&s)return n;let a={scrollLeft:0,scrollTop:0},u=W(1);const f=W(0),c=I(o);if((c||!c&&!s)&&((ut(o)!=="body"||xt(l))&&(a=Ft(o)),c)){const p=ot(o);u=ht(o),f.x=p.x+o.clientLeft,f.y=p.y+o.clientTop}const d=l&&!c&&!s?Xe(l,a):W(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-a.scrollLeft*u.x+f.x+d.x,y:n.y*u.y-a.scrollTop*u.y+f.y+d.y}}function ao(t){return Array.from(t.getClientRects())}function co(t){const e=j(t),n=Ft(t),o=t.ownerDocument.body,i=L(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),s=L(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let l=-n.scrollLeft+Wt(t);const r=-n.scrollTop;return P(o).direction==="rtl"&&(l+=L(e.clientWidth,o.clientWidth)-i),{width:i,height:s,x:l,y:r}}const Ge=25;function fo(t,e){const n=_(t),o=j(t),i=n.visualViewport;let s=o.clientWidth,l=o.clientHeight,r=0,a=0;if(i){s=i.width,l=i.height;const f=ie();(!f||f&&e==="fixed")&&(r=i.offsetLeft,a=i.offsetTop)}const u=Wt(o);if(u<=0){const f=o.ownerDocument,c=f.body,d=getComputedStyle(c),p=f.compatMode==="CSS1Compat"&&parseFloat(d.marginLeft)+parseFloat(d.marginRight)||0,h=Math.abs(o.clientWidth-c.clientWidth-p);h<=Ge&&(s-=h)}else u<=Ge&&(s+=u);return{width:s,height:l,x:r,y:a}}function uo(t,e){const n=ot(t,!0,e==="fixed"),o=n.top+t.clientTop,i=n.left+t.clientLeft,s=I(t)?ht(t):W(1),l=t.clientWidth*s.x,r=t.clientHeight*s.y,a=i*s.x,u=o*s.y;return{width:l,height:r,x:a,y:u}}function Ze(t,e,n){let o;if(e==="viewport")o=fo(t,n);else if(e==="document")o=co(j(t));else if(D(e))o=uo(e,n);else{const i=Ye(t);o={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return Dt(o)}function Ke(t,e){const n=G(t);return n===e||!D(n)||dt(n)?!1:P(n).position==="fixed"||Ke(n,e)}function ho(t,e){const n=e.get(t);if(n)return n;let o=St(t,[],!1).filter(r=>D(r)&&ut(r)!=="body"),i=null;const s=P(t).position==="fixed";let l=s?G(t):t;for(;D(l)&&!dt(l);){const r=P(l),a=oe(l);!a&&r.position==="fixed"&&(i=null),(s?!a&&!i:!a&&r.position==="static"&&!!i&&(i.position==="absolute"||i.position==="fixed")||xt(l)&&!a&&Ke(t,l))?o=o.filter(f=>f!==l):i=r,l=G(l)}return e.set(t,o),o}function po(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const l=[...n==="clippingAncestors"?Mt(e)?[]:ho(e,this._c):[].concat(n),o],r=Ze(e,l[0],i);let a=r.top,u=r.right,f=r.bottom,c=r.left;for(let d=1;d<l.length;d++){const p=Ze(e,l[d],i);a=L(p.top,a),u=Y(p.right,u),f=Y(p.bottom,f),c=L(p.left,c)}return{width:u-c,height:f-a,x:c,y:a}}function mo(t){const{width:e,height:n}=qe(t);return{width:e,height:n}}function go(t,e,n){const o=I(e),i=j(e),s=n==="fixed",l=ot(t,!0,s,e);let r={scrollLeft:0,scrollTop:0};const a=W(0);function u(){a.x=Wt(i)}if(o||!o&&!s)if((ut(e)!=="body"||xt(i))&&(r=Ft(e)),o){const p=ot(e,!0,s,e);a.x=p.x+e.clientLeft,a.y=p.y+e.clientTop}else i&&u();s&&!o&&i&&u();const f=i&&!o&&!s?Xe(i,r):W(0),c=l.left+r.scrollLeft-a.x-f.x,d=l.top+r.scrollTop-a.y-f.y;return{x:c,y:d,width:l.width,height:l.height}}function re(t){return P(t).position==="static"}function Je(t,e){if(!I(t)||P(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return j(t)===n&&(n=n.ownerDocument.body),n}function Qe(t,e){const n=_(t);if(Mt(t))return n;if(!I(t)){let i=G(t);for(;i&&!dt(i);){if(D(i)&&!re(i))return i;i=G(i)}return n}let o=Je(t,e);for(;o&&eo(o)&&re(o);)o=Je(o,e);return o&&dt(o)&&re(o)&&!oe(o)?n:o||io(t)||n}const yo=async function(t){const e=this.getOffsetParent||Qe,n=this.getDimensions,o=await n(t.floating);return{reference:go(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function wo(t){return P(t).direction==="rtl"}const ae={convertOffsetParentRelativeRectToViewportRelativeRect:ro,getDocumentElement:j,getClippingRect:po,getOffsetParent:Qe,getElementRects:yo,getClientRects:ao,getDimensions:mo,getScale:ht,isElement:D,isRTL:wo};function tn(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function vo(t,e){let n=null,o;const i=j(t);function s(){var r;clearTimeout(o),(r=n)==null||r.disconnect(),n=null}function l(r,a){r===void 0&&(r=!1),a===void 0&&(a=1),s();const u=t.getBoundingClientRect(),{left:f,top:c,width:d,height:p}=u;if(r||e(),!d||!p)return;const h=_t(c),w=_t(i.clientWidth-(f+d)),v=_t(i.clientHeight-(c+p)),m=_t(f),y={rootMargin:-h+"px "+-w+"px "+-v+"px "+-m+"px",threshold:L(0,Y(1,a))||1};let x=!0;function b(S){const E=S[0].intersectionRatio;if(E!==a){if(!x)return l();E?l(!1,E):o=setTimeout(()=>{l(!1,1e-7)},1e3)}E===1&&!tn(u,t.getBoundingClientRect())&&l(),x=!1}try{n=new IntersectionObserver(b,{...y,root:i.ownerDocument})}catch{n=new IntersectionObserver(b,y)}n.observe(t)}return l(!0),s}function bo(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:r=typeof IntersectionObserver=="function",animationFrame:a=!1}=o,u=le(t),f=i||s?[...u?St(u):[],...e?St(e):[]]:[];f.forEach(m=>{i&&m.addEventListener("scroll",n,{passive:!0}),s&&m.addEventListener("resize",n)});const c=u&&r?vo(u,n):null;let d=-1,p=null;l&&(p=new ResizeObserver(m=>{let[g]=m;g&&g.target===u&&p&&e&&(p.unobserve(e),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var y;(y=p)==null||y.observe(e)})),n()}),u&&!a&&p.observe(u),e&&p.observe(e));let h,w=a?ot(t):null;a&&v();function v(){const m=ot(t);w&&!tn(w,m)&&n(),w=m,h=requestAnimationFrame(v)}return n(),()=>{var m;f.forEach(g=>{i&&g.removeEventListener("scroll",n),s&&g.removeEventListener("resize",n)}),c?.(),(m=p)==null||m.disconnect(),p=null,a&&cancelAnimationFrame(h)}}const xo=Jn,So=Qn,Eo=Gn,en=to,Oo=Xn,Ao=(t,e,n)=>{const o=new Map,i={platform:ae,...n},s={...i.platform,_c:o};return Yn(t,e,{...i,platform:s})};function nn(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}const Co=/transform|translate|scale|rotate|perspective|filter/,To=/paint|layout|strict|content/,it=t=>!!t&&t!=="none";let ce;function No(t){const e=(n=t,typeof window<"u"&&(n instanceof Element||n instanceof nn(n).Element)?nn(o=t).getComputedStyle(o):t);var n,o;return it(e.transform)||it(e.translate)||it(e.scale)||it(e.rotate)||it(e.perspective)||(ce==null&&(ce=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),!ce&&(it(e.backdropFilter)||it(e.filter)))||Co.test(e.willChange||"")||To.test(e.contain||"")}function Ro(t){return(function(e){for(let n=e;n;n=fe(n))if(n instanceof Element&&getComputedStyle(n).display==="none")return null;for(let n=fe(e);n;n=fe(n)){if(!(n instanceof Element))continue;const o=getComputedStyle(n);if(o.display!=="contents"&&(o.position!=="static"||No(o)||n.tagName==="BODY"))return n}return null})(t)}function fe(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Et;(function(t){t.TOOLTIP="tooltip",t.POPOVER="popover",t.FLYOUT_PANEL="flyout-panel"})(Et||(Et={}));const mt=class mt{constructor(e,n){this.el=e,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 e=this.getRootElement();this.floatingElement=e.querySelector(this.config.floatingElementSelector),this.floatingElement&&this.applyViewportMaxWidth(),this.arrowEl=this.config.showArrow!==!1&&this.config.arrowElementSelector?e.querySelector(this.config.arrowElementSelector):null,this.anchorElement=this.config.htmlFor?.length>0?document.getElementById(this.config.htmlFor):this.config.getAnchorElement?this.config.getAnchorElement(e):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(e){this.config={...this.config,...e},"showWithoutDelay"in e&&(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=bo(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 e=this.config.offset??this.offset,n=[xo(e)],o=this.config.lockToMainAxis??!1,i=this.config.constrainPlacements,s=i&&i.length>0?i.includes(this.config.placement)?this.config.placement:i[0]:this.config.placement,l=Eo(i&&i.length>0?{mainAxis:!0,crossAxis:!1,padding:e,fallbackPlacements:i.filter((u=>u!==s)),fallbackAxisSideDirection:"none"}:{mainAxis:!0,crossAxis:!o&&"alignment",fallbackAxisSideDirection:"end",padding:e}),r=this.config.elementType===Et.POPOVER,a=So({padding:e,mainAxis:this.config.constrainToViewportHeight||this.config.elementType===Et.TOOLTIP||r&&this.popoverMainAxisEnabled,crossAxis:!1});this.config.matchReferenceWidth&&n.push(en({apply({elements:u,rects:f}){Object.assign(u.floating.style,{width:`${f.reference.width}px`})}})),s?.includes("-")?n.push(l,a):n.push(a,l),this.config.constrainToViewportHeight&&n.push(en({padding:e,apply:({availableHeight:u,elements:f})=>{const c=Array.from(f.floating.children).find((d=>d!==this.arrowEl));c instanceof HTMLElement&&Object.assign(c.style,{maxHeight:`${Math.max(0,u)}px`,overflowY:"auto",overflowX:"hidden"})}})),this.config.showArrow!==!1&&this.arrowEl&&n.push(Oo({element:this.arrowEl,padding:e})),Ao(this.anchorElement,this.floatingElement,{placement:s,strategy:"fixed",middleware:n,platform:{...ae,getOffsetParent:u=>ae.getOffsetParent(u,Ro)}}).then((({x:u,y:f,middlewareData:c,placement:d})=>{if(r){const v=d.startsWith("left")||d.startsWith("right"),m=d.startsWith("top")||d.startsWith("bottom"),g=this.isAnchorInViewport(),y=!!m||(v?g:this.popoverMainAxisEnabled);if(y!==this.popoverMainAxisEnabled)return this.popoverMainAxisEnabled=y,void this.updatePosition()}this.currentPlacement=d,Object.assign(this.floatingElement.style,{left:`${u}px`,top:`${f}px`,position:"fixed",transition:`opacity ${this.timeOfAnimation}ms ease`});const p=d.split("-")[0]??"bottom",h={top:"bottom",right:"left",bottom:"top",left:"right"}[p],{arrowZIndex:w}=this.normalizeFloatingElementStacking();if(c.arrow&&this.arrowEl){const v=this.arrowEl.offsetWidth,{x:m,y:g}=c.arrow;this.arrowEl.style.borderRadius=`${["left","right"].includes(p)?"0 ":""}var(--gidsFloatingElement-tip-border-radius, 2px)${["top","bottom"].includes(p)?" 0":""}`,Object.assign(this.arrowEl.style,{left:m!==null?`${m}px`:"",top:g!==null?`${g}px`:"",right:"",bottom:"",[h]:-v/2+"px",transform:"rotate(45deg)",zIndex:`${w}`,background:"var(--gidsFloatingElement-background)"})}}))}applyViewportMaxWidth(){const e=`calc(100vw - ${2*this.offset}px)`;this.floatingElement&&this.floatingElement?.style.maxWidth!==e&&(this.floatingElement.style.maxWidth=e)}normalizeFloatingElementStacking(){const e=this.floatingElement.style.zIndex||(window.getComputedStyle?.(this.floatingElement).zIndex??""),n=Number.parseInt(e,10),o=Number.isNaN(n)?-1:n-1,i=Number.isNaN(n)?o+1:n;return Number.isNaN(i)||(this.floatingElement.style.zIndex=`${i}`),Array.from(this.floatingElement.children).forEach((s=>{if(!(s instanceof HTMLElement)||s===this.arrowEl)return;const l=s.style.zIndex||(window.getComputedStyle?.(s).zIndex??""),r=Number.parseInt(l,10),a=window.getComputedStyle?.(s).position??"";(l===""||l==="auto"||Number.isNaN(r)||r<i)&&(s.style.zIndex=`${i}`,a!==""&&a!=="static"||(s.style.position="relative"))})),{contentZIndex:i,arrowZIndex:o}}hideFloatingElement(){this.floatingElement.classList.remove(this.config.visibilityClass),mt.currentFloatingElements.delete(this.config.elementType)}showFloatingElement(){const e=mt.currentFloatingElements.get(this.config.elementType);e&&e.hideFloatingElement(),this.floatingElement.classList.add(this.config.visibilityClass),mt.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 e=this.anchorElement.getBoundingClientRect(),n=window.innerHeight||document.documentElement?.clientHeight||0,o=window.innerWidth||document.documentElement?.clientWidth||0,i=e.height/2+2*this.offset;return e.bottom>=i&&e.top<=n-i&&e.right>=0&&e.left<=o}};mt.currentFloatingElements=new Map;let ue=mt;const pt=globalThis.CSSStyleSheet!==void 0?new CSSStyleSheet:void 0;let on=!1;pt&&document.adoptedStyleSheets?document.adoptedStyleSheets.push(pt):console.warn("CSSStyleSheet is not defined. Omitting constructed stylesheet behaviour.");let de=null;const he=globalThis.MutationObserver!==void 0?new MutationObserver((()=>{sn()})):void 0,sn=()=>{if(pt===void 0)return!1;const t=(()=>{if(pt===void 0)return;const e=[];for(let n=0;n<document.styleSheets.length;n++){const o=document.styleSheets.item(n);if(o)try{let i=-1,s=0;for(let l=0;l<o.cssRules.length;l++){const r=o.cssRules.item(l);if(r?.cssText.startsWith("gids-global-styles-start"))i=l;else if(i>-1){if(r?.cssText.startsWith("gids-global-styles-end")){s=l-i+1;break}e.push(r)}}if(i>-1)return{rulesStartIndex:i,originalRulesCount:s,rules:e,styleSheet:o}}catch(i){if(!(i instanceof DOMException))throw i}}})();if(t!==void 0){const e=t.styleSheet.ownerNode;return he!==void 0&&e!==de&&(de&&he.disconnect(),e instanceof Element&&he.observe(e,{childList:!0,characterData:!0,subtree:!0}),de=e),pt.replaceSync((n=>n.rules.map((o=>o.cssText)).join(""))(t)),(n=>{const{rulesStartIndex:o,originalRulesCount:i,styleSheet:s}=n;for(let l=0;l<i;l++)s.deleteRule(o)})(t),!0}return console.warn("refreshConstructedGidsStylesheet: Gids stylesheet is not found in document."),!1},ko=()=>(on||(on=sn()),pt),ln=_n(class extends fn{constructor(t){super(),t!==!1&&this.__registerHost(),this.__attachShadow(),this.placement="bottom",this.showWithoutDelay=!1,this.lockToMainAxis=!1,this.handleShowEvent=()=>{this.floatingElementManager.showAfterDelay()},this.handleHideEvent=()=>{this.floatingElementManager.hideAfterDelay()}}connectedCallback(){const t=ko();t!==void 0&&this._el.shadowRoot?.adoptedStyleSheets.push(t)}componentDidLoad(){this.floatingElementManager=new ue(this._el,{htmlFor:this.htmlFor,placement:this.placement,showWithoutDelay:this.showWithoutDelay,lockToMainAxis:this.lockToMainAxis,floatingElementSelector:"#tooltip",arrowElementSelector:"#arrow",visibilityClass:"gids-tooltip--visible",elementType:Et.TOOLTIP,getAnchorElementFromSlot:t=>t.querySelector("slot")?.assignedElements()[0]||null}),this.floatingElementManager.initialize(),this.setupEventListeners()}setupEventListeners(){const t=this.floatingElementManager.getAnchorElement();t&&(t.addEventListener("mouseenter",this.handleShowEvent),t.addEventListener("focus",this.handleShowEvent),t.addEventListener("mouseleave",this.handleHideEvent),t.addEventListener("blur",this.handleHideEvent))}placementChanged(t){this.floatingElementManager?.updateConfig({placement:t}),this.floatingElementManager?.isVisible()&&this.floatingElementManager?.reposition()}showWithoutDelayChanged(t){this.floatingElementManager?.updateConfig({showWithoutDelay:t})}lockToMainAxisChanged(t){this.floatingElementManager?.updateConfig({lockToMainAxis:t})}htmlForChanged(t){this.floatingElementManager?.updateConfig({htmlFor:t}),this.cleanupEventListeners(),this.floatingElementManager?.initialize(),this.setupEventListeners()}cleanupEventListeners(){const t=this.floatingElementManager?.getAnchorElement();t&&(t.removeEventListener("mouseenter",this.handleShowEvent),t.removeEventListener("focus",this.handleShowEvent),t.removeEventListener("mouseleave",this.handleHideEvent),t.removeEventListener("blur",this.handleHideEvent))}render(){return rt($n,{key:"56a3589fce74458f3c72d17dfcd79b464bdf7712"},rt("slot",{key:"bb5599494aafa6efa4ce280cbf2dfdd39affda98"}),rt("span",{key:"1d9cbcb72a293a465ea8158282f99d71d46c08c4",id:"tooltip",part:"tooltip",role:"tooltip"},rt("span",{key:"b4e274e4ba08a0033d0af4a4d0a4a511961a80ab",id:"arrow"}),this.tooltipText))}disconnectedCallback(){this.cleanupEventListeners(),this.floatingElementManager?.destroy()}get _el(){return this}static get watchers(){return{placement:[{placementChanged:0}],showWithoutDelay:[{showWithoutDelayChanged:0}],lockToMainAxis:[{lockToMainAxisChanged:0}],htmlFor:[{htmlForChanged:0}]}}static get style(){return"gids-tooltip{--gidsTooltip-background:var(--gids-color-background-neutral-bold-default);--gidsTooltip-text-color:var(--gids-color-text-inverse);--gidsTooltip-padding:var(--gids-padding-vertical-edge-to-element-100) var(--gids-padding-horizontal-edge-to-element-200);--gidsTooltip-border-radius:var(--gids-border-radius-sm);--gidsTooltip-tip-border-radius:2px;--gidsTooltip-tip-size:12px;--gidsFloatingElement-background:var(--gidsTooltip-background);--gidsFloatingElement-tip-border-radius:var(--gidsTooltip-tip-border-radius)}[part=tooltip]{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;hyphens:auto;background-color:var(--gidsTooltip-background);color:var(--gidsTooltip-text-color);padding:var(--gidsTooltip-padding);border-radius:var(--gidsTooltip-border-radius);z-index:1000;opacity:0;pointer-events:none}[part=tooltip].gids-tooltip--visible{pointer-events:initial;opacity:1}[part=tooltip] span#arrow{position:absolute;height:var(--gidsTooltip-tip-size);width:var(--gidsTooltip-tip-size)}"}},[257,"gids-tooltip",{htmlFor:[513,"for"],tooltipText:[513,"tooltip-text"],placement:[513],showWithoutDelay:[516,"show-without-delay"],lockToMainAxis:[4,"lock-to-main-axis"]},void 0,{placement:[{placementChanged:0}],showWithoutDelay:[{showWithoutDelayChanged:0}],lockToMainAxis:[{lockToMainAxisChanged:0}],htmlFor:[{htmlForChanged:0}]}]);function rn(){typeof customElements<"u"&&["gids-tooltip"].forEach((t=>{t==="gids-tooltip"&&(customElements.get(t)||customElements.define(t,ln))}))}rn();const Lo=ln,_o=rn;Q.GidsTooltip=Lo,Q.defineCustomElement=_o,Object.defineProperty(Q,Symbol.toStringTag,{value:"Module"})}));
5
+ `);const w=this["s-cr"].parentElement;return(w.__childNodes?w.childNodes:(v=>{const m=[];for(let g=0;g<v.length;g++){const y=v[g]["s-nr"]||void 0;y&&y.isConnected&&m.push(y)}return m})(w.childNodes)).forEach((v=>{h===yt(v)&&p.push(v)})),c?p.filter((v=>v.nodeType===1)):p}).bind(d);d.assignedElements=f(!0),d.assignedNodes=f(!1)})(s),r=t&&t.m&&t.m[n],r&&r.O===i.O&&t.S&&Re(t.S)),s},Re=t=>{T.i|=1;const e=t.closest(et.toLowerCase());if(e!=null){const n=Array.from(e.__childNodes||e.childNodes).find((i=>i["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const i of n?o.reverse():o)i["s-sh"]!=null&&($(e,i,n??null),i["s-sh"]=void 0,Tt=!0)}T.i&=-2},Rt=(t,e)=>{T.i|=1;const n=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let o=t;for(;o=o.nextSibling;)o&&o["s-sn"]===t["s-sn"]&&o["s-sh"]===et&&n.push(o)}for(let o=n.length-1;o>=0;o--){const i=n[o];i["s-hn"]!==et&&i["s-ol"]&&($(vt(i).parentNode,i,vt(i)),i["s-ol"].remove(),i["s-ol"]=void 0,i["s-sh"]=void 0,Tt=!0),e&&Rt(i,e)}T.i&=-2},ke=(t,e,n,o,i,s)=>{let l,r=t["s-cr"]&&t["s-cr"].parentNode||t;for(r.shadowRoot&&r.tagName===et&&(r=r.shadowRoot),n.O==="template"&&(r=r.content);i<=s;++i)o[i]&&(l=Nt(null,n,i),l&&(o[i].S=l,$(r,l,vt(e))))},Le=(t,e,n)=>{for(let o=e;o<=n;++o){const i=t[o];if(i){const s=i.S;$e(i),s&&(Ct=!0,s["s-ol"]?s["s-ol"].remove():Rt(s,!0),s.remove())}}},kt=(t,e,n=!1)=>t.O===e.O&&(t.O==="slot"?t.j===e.j:n?(n&&!t.$&&e.$&&(t.$=e.$),!0):t.$===e.$),vt=t=>t&&t["s-ol"]||t,at=(t,e,n=!1)=>{const o=e.S=t.S,i=t.m,s=e.m,l=e.O,r=e.h;let a;r==null?(k=l==="svg"||l!=="foreignObject"&&k,l!=="slot"||wt||t.j!==e.j&&(e.S["s-sn"]=e.j||"",Re(e.S.parentElement)),Xt(t,e,k),i!==null&&s!==null?((d,f,c,u,p=!1)=>{let h,w,v=0,m=0,g=0,y=0,x=f.length-1,b=f[0],S=f[x],E=u.length-1,A=u[0],C=u[E];const N=c.O==="template"?d.content:d;for(;v<=x&&m<=E;)if(b==null)b=f[++v];else if(S==null)S=f[--x];else if(A==null)A=u[++m];else if(C==null)C=u[--E];else if(kt(b,A,p))at(b,A,p),b=f[++v],A=u[++m];else if(kt(S,C,p))at(S,C,p),S=f[--x],C=u[--E];else if(kt(b,C,p))b.O!=="slot"&&C.O!=="slot"||Rt(b.S.parentNode,!1),at(b,C,p),$(N,b.S,S.S.nextSibling),b=f[++v],C=u[--E];else if(kt(S,A,p))b.O!=="slot"&&C.O!=="slot"||Rt(S.S.parentNode,!1),at(S,A,p),$(N,S.S,b.S),S=f[--x],A=u[++m];else{for(g=-1,y=v;y<=x;++y)if(f[y]&&f[y].$!==null&&f[y].$===A.$){g=y;break}g>=0?(w=f[g],w.O!==A.O?h=Nt(f&&f[m],c,g):(at(w,A,p),f[g]=void 0,h=w.S),A=u[++m]):(h=Nt(f&&f[m],c,m),A=u[++m]),h&&$(vt(b.S).parentNode,h,vt(b.S))}v>x?ke(d,u[E+1]==null?null:u[E+1].S,c,u,m,E):m>E&&Le(f,v,x)})(o,i,e,s,n):s!==null?(t.h!==null&&(o.textContent=""),ke(o,null,e,s,0,s.length-1)):!n&&i!==null&&Le(i,0,i.length-1),k&&l==="svg"&&(k=!1)):(a=o["s-cr"])?a.parentNode.textContent=r:t.h!==r&&(o.data=r)},z=[],_e=t=>{let e,n,o;const i=t.__childNodes||t.childNodes;for(const s of i){if(s["s-sr"]&&(e=s["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;const l=s["s-sn"];for(o=n.length-1;o>=0;o--)if(e=n[o],!(e["s-cn"]||e["s-nr"]||e["s-hn"]===s["s-hn"]||e["s-sh"]&&e["s-sh"]===s["s-hn"]))if(be(e,l)){let r=z.find((a=>a.k===e));Ct=!0,e["s-sn"]=e["s-sn"]||l,r?(r.k["s-sh"]=s["s-hn"],r.N=s):(e["s-sh"]=s["s-hn"],z.push({N:s,k:e})),e["s-sr"]&&z.map((a=>{be(a.k,e["s-sn"])&&(r=z.find((d=>d.k===e)),r&&!a.N&&(a.N=r.N))}))}else z.some((r=>r.k===e))||z.push({k:e})}s.nodeType===1&&_e(s)}},$e=t=>{t.v&&t.v.ref&&Gt.push((()=>t.v.ref(null))),t.m&&t.m.map($e)},Sn=(t,e)=>{Zt.push((()=>t(e)))},$=(t,e,n,o)=>{if(typeof e["s-sn"]=="string"){t.insertBefore(e,n);const{slotNode:i}=(function(s,l){var r;if(!(l=l||((r=s["s-ol"])==null?void 0:r.parentElement)))return{slotNode:null,slotName:""};const a=s["s-sn"]=yt(s)||"";return{slotNode:It(Ut(l,"childNodes"),l.tagName,a)[0],slotName:a}})(e);return i&&!o&&i.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),e}return t.__insertBefore?t.__insertBefore(e,n):t?.insertBefore(e,n)},En=(t,e,n=!1)=>{var o,i,s,l,r;const a=t.$hostElement$,d=t.o,f=t.M||At(null,null);var c;const u=(c=e)&&c.O===gn?e:rt(null,null,e);if(et=a.tagName,d.C&&(u.v=u.v||{},d.C.forEach((([p,h])=>{u.v[h]=a[p]}))),n&&u.v)for(const p of Object.keys(u.v))a.hasAttribute(p)&&!["key","ref","style","class"].includes(p)&&(u.v[p]=a[p]);if(u.O=null,u.i|=4,t.M=u,u.S=f.S=a.shadowRoot||a,wt=!(!(1&d.i)||128&d.i),qt=a["s-cr"],Ct=!1,at(f,u,n),T.i|=1,Tt){_e(u.S);for(const p of z){const h=p.k;if(!h["s-ol"]&&O.document){const w=O.document.createTextNode("");w["s-nr"]=h,$(h.parentNode,h["s-ol"]=w,h,n)}}for(const p of z){const h=p.k,w=p.N;if(h.nodeType===1&&n&&(h["s-ih"]=(o=h.hidden)!=null&&o),w){const v=w.parentNode;let m=w.nextSibling;if(m&&m.nodeType===1){let g=(i=h["s-ol"])==null?void 0:i.previousSibling;for(;g;){let y=(s=g["s-nr"])!=null?s:null;if(y&&y["s-sn"]===h["s-sn"]&&v===(y.__parentNode||y.parentNode)){for(y=y.nextSibling;y===h||y?.["s-sr"];)y=y?.nextSibling;if(!y||!y["s-nr"]){m=y;break}}g=g.previousSibling}}if((!m&&v!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==m)&&h!==m){if($(v,h,m,n),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const g=O.document.createTextNode(h.nodeValue.replace(/^s-nt-/,""));g["s-hn"]=h["s-hn"],g["s-sn"]=h["s-sn"],g["s-sh"]=h["s-sh"],g["s-sr"]=h["s-sr"],g["s-ol"]=h["s-ol"],g["s-ol"]["s-nr"]=g,$(h.parentNode,g,h,n),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(l=h["s-ih"])!=null&&l)}h&&typeof w["s-rf"]=="function"&&w["s-rf"](w)}else h.nodeType===1&&(h.hidden=!0)}}if(Ct&&ve(u.S),T.i&=-2,z.length=0,!wt&&!(1&d.i)&&a["s-cr"]){const p=u.S.__childNodes||u.S.childNodes;for(const h of p)if(h["s-hn"]!==et&&!h["s-sh"]){if(n&&h["s-ih"]==null&&(h["s-ih"]=(r=h.hidden)!=null&&r),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const w=O.document.createComment("s-nt-"+h.nodeValue);w["s-sn"]=h["s-sn"],$(h.parentNode,w,h,n),h.parentNode.removeChild(h)}}}qt=void 0,Gt.forEach((p=>p())),Gt.length=0,Zt.forEach((p=>p())),Zt.length=0},De=(t,e)=>{if(e&&!t.A&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t.A=()=>{e["s-p"].splice(n-1,1),o()})))}},Kt=(t,e)=>{if(t.i|=16,4&t.i)return void(t.i|=512);De(t,t.R);const n=()=>On(t,e);if(!e)return hn(n);queueMicrotask((()=>{n()}))},On=(t,e)=>{const n=t.$hostElement$,o=n;if(!o)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return i=bt(o,e?"componentWillLoad":"componentWillUpdate",void 0,n),i=Pe(i,(()=>bt(o,"componentWillRender",void 0,n))),Pe(i,(()=>Cn(t,o,e)))},Pe=(t,e)=>An(t)?t.then(e).catch((n=>{console.error(n),e()})):e(),An=t=>t instanceof Promise||t&&t.then&&typeof t.then=="function",Cn=async(t,e,n)=>{var o;const i=t.$hostElement$,s=i["s-rc"];n&&(l=>{const r=l.o,a=l.$hostElement$,d=r.i,f=((c,u)=>{var p,h,w;const v=xe(u),m=Ot.get(v);if(!O.document)return v;if(c=c.nodeType===11?c:O.document,m)if(typeof m=="string"){let g,y=q.get(c=c.head||c);if(y||q.set(c,y=new Set),!y.has(v)){g=O.document.createElement("style"),g.textContent=m;const x=(p=T._)!=null?p:(function(){var b,S,E;return(E=(S=(b=O.document.head)==null?void 0:b.querySelector('meta[name="csp-nonce"]'))==null?void 0:S.getAttribute("content"))!=null?E:void 0})();if(x!=null&&g.setAttribute("nonce",x),!(1&u.i))if(c.nodeName==="HEAD"){const b=c.querySelectorAll("link[rel=preconnect]"),S=b.length>0?b[b.length-1].nextSibling:c.querySelector("style");c.insertBefore(g,S?.parentNode===c?S:null)}else if("host"in c)if(jt){const b=new((h=c.defaultView)!=null?h:c.ownerDocument.defaultView).CSSStyleSheet;b.replaceSync(m),Ht?c.adoptedStyleSheets.unshift(b):c.adoptedStyleSheets=[b,...c.adoptedStyleSheets]}else{const b=c.querySelector("style");b?b.textContent=m+b.textContent:c.prepend(g)}else c.append(g);1&u.i&&c.insertBefore(g,null),4&u.i&&(g.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),y&&y.add(v)}}else{let g=q.get(c);if(g||q.set(c,g=new Set),!g.has(v)){const y=(w=c.defaultView)!=null?w:c.ownerDocument.defaultView;let x;if(m.constructor===y.CSSStyleSheet)x=m;else{x=new y.CSSStyleSheet;for(let b=0;b<m.cssRules.length;b++)x.insertRule(m.cssRules[b].cssText,b)}Ht?c.adoptedStyleSheets.push(x):c.adoptedStyleSheets=[...c.adoptedStyleSheets,x],g.add(v)}}return v})(a.shadowRoot?a.shadowRoot:a.getRootNode(),r);10&d&&(a["s-sc"]=f,a.classList.add(f+"-h"))})(t),Tn(t,e,i,n),s&&(s.map((l=>l())),i["s-rc"]=void 0);{const l=(o=i["s-p"])!=null?o:[],r=()=>Nn(t);l.length===0?r():(Promise.all(l).then(r).catch(r),t.i|=4,l.length=0)}},Tn=(t,e,n,o)=>{try{e=e.render(),t.i&=-17,t.i|=2,En(t,e,o)}catch(i){tt(i,t.$hostElement$)}return null},Nn=t=>{const e=t.$hostElement$,n=e,o=t.R;bt(n,"componentDidRender",void 0,e),64&t.i?bt(n,"componentDidUpdate",void 0,e):(t.i|=64,kn(e),bt(n,"componentDidLoad",void 0,e),t.L(e),o||Rn()),t.A&&(t.A(),t.A=void 0),512&t.i&&Bt((()=>Kt(t,!1))),t.i&=-517},Rn=()=>{Bt((()=>vn(O,"appload",{detail:{namespace:"gids-core-web"}})))},bt=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(i){tt(i,o)}},kn=t=>t.classList.add("hydrated"),Me=(t,e,n,o)=>{const i=V(t);if(!i)return;const s=t,l=i.l.get(e),r=i.i,a=s;n=Oe(n,o.t[e][0],!!(64&o.i));const d=Number.isNaN(l)&&Number.isNaN(n);if(n!==l&&!d){if(i.l.set(e,n),o.F){const f=o.F[e];f&&f.map((c=>{try{const[[u,p]]=Object.entries(c);(128&r||1&p)&&(a?a[u](n,l,e):i.T.push((()=>{i.D[u](n,l,e)})))}catch(u){tt(u,s)}}))}if(2&r){if(a.componentShouldUpdate&&a.componentShouldUpdate(n,l,e)===!1&&!(16&r))return;16&r||Kt(i,!1)}}},Ln=(t,e,n)=>{var o,i;const s=t.prototype;64&e.i&&1&n&&cn.forEach((l=>{const r=s[l];Object.defineProperty(s,l,{value(...a){var d;const f=V(this),c=this;c?typeof r=="function"&&r.call(c,...a):(d=f?.H)==null||d.then((u=>{const p=u[l];typeof p=="function"&&p.call(u,...a)}))}})}));{t.watchers&&!e.F&&(e.F=Ee(t.watchers)),t.deserializers&&!e.P&&(e.P=t.deserializers),t.serializers&&!e.U&&(e.U=t.serializers);const l=Object.entries((o=e.t)!=null?o:{});l.map((([r,[a]])=>{if(31&a||32&a){const{get:d,set:f}=lt(s,r)||{};d&&(e.t[r][0]|=2048),f&&(e.t[r][0]|=4096),Object.defineProperty(s,r,{get(){return d?d.apply(this):(c=r,V(this).l.get(c));var c},configurable:!0,enumerable:!0}),Object.defineProperty(s,r,{set(c){const u=V(this);if(u){if(f)return(32&a?this[r]:u.$hostElement$[r])===void 0&&u.l.get(r)&&(c=u.l.get(r)),f.apply(this,[Oe(c,a,!!(64&e.i))]),void Me(this,r,c=32&a?this[r]:u.$hostElement$[r],e);Me(this,r,c,e)}}})}}));{const r=new Map;s.attributeChangedCallback=function(a,d,f){T.jmp((()=>{var c;const u=r.get(a),p=V(this);if(this.hasOwnProperty(u),s.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==f)return;if(u==null){const g=p?.i;if(p&&g&&!(8&g)&&f!==d){const y=this,x=(c=e.F)==null?void 0:c[a];x?.forEach((b=>{const[[S,E]]=Object.entries(b);y[S]!=null&&(128&g||1&E)&&y[S].call(y,f,d,a)}))}return}const h=l.find((([g])=>g===u)),w=h&&4&h[1][0],v=w&&f===null&&this[u]===void 0;w&&(f=f!==null&&f!=="false");const m=Object.getOwnPropertyDescriptor(s,u);v||f==this[u]||m.get&&!m.set||(this[u]=f)}))},t.observedAttributes=Array.from(new Set([...Object.keys((i=e.F)!=null?i:{}),...l.filter((([a,d])=>31&d[0])).map((([a,d])=>{var f;const c=d[1]||a;return r.set(c,a),512&d[0]&&((f=e.C)==null||f.push([a,c])),c}))]))}}return t},_n=(t,e)=>{const n={i:e[0],p:e[1]};try{n.t=e[2],n.W=e[3],n.F=Ee(t.F),n.P=t.P,n.U=t.U,n.C=[];const o=t.prototype.connectedCallback,i=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){((s,l)=>{const r={i:0,$hostElement$:s,o:l,l:new Map,B:new Map};r.H=new Promise((d=>r.L=d)),s["s-p"]=[],s["s-rc"]=[];const a=r;s.__stencil__getHostRef=()=>a,512&l.i&&an(s,r)})(this,n)},connectedCallback(){if(!this.__hasHostListenerAttached){const s=V(this);if(!s)return;Fe(this,s,n.W),this.__hasHostListenerAttached=!0}(s=>{if(!(1&T.i)){const l=V(s);if(!l)return;const r=l.o;if(1&l.i)Fe(s,l,r.W),l?.D||l?.H&&l.H.then((()=>{}));else{l.i|=1,12&r.i&&(a=>{if(!O.document)return;const d=a["s-cr"]=O.document.createComment("");d["s-cn"]=!0,$(a,d,a.firstChild)})(s);{let a=s;for(;a=a.parentNode||a.host;)if(a["s-p"]){De(l,l.R=a);break}}r.t&&Object.entries(r.t).map((([a,[d]])=>{if(31&d&&Object.prototype.hasOwnProperty.call(s,a)){const f=s[a];delete s[a],s[a]=f}})),(async(a,d,f)=>{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 h;typeof c.style=="string"&&(h=c.style);const w=xe(f);Ot.has(w)||((v,m,g)=>{let y=Ot.get(v);jt&&g?(y=y||new CSSStyleSheet,typeof y=="string"?y=m:y.replaceSync(m)):y=m,Ot.set(v,y)})(w,h,!!(1&f.i))}const u=d.R,p=()=>Kt(d,!0);u&&u["s-rc"]?u["s-rc"].push(p):p()}catch(u){tt(u,a),d.A&&(d.A(),d.A=void 0),d.L&&d.L(a)}})(s,l,r)}}})(this),o&&o.call(this)},disconnectedCallback(){(async s=>{if(!(1&T.i)){const l=V(s);l?.V&&(l.V.map((r=>r())),l.V=void 0)}q.has(s)&&q.delete(s),s.shadowRoot&&q.has(s.shadowRoot)&&q.delete(s.shadowRoot)})(this),i&&i.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${n.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else pn.call(this,n)}}),Object.defineProperty(t,"is",{value:n.p,configurable:!0}),Ln(t,n,3)}catch(o){return tt(o),t}},$n=(t,e)=>e,Fe=(t,e,n)=>{n&&O.document&&n.map((([o,i,s])=>{const l=Pn(O.document,t,o),r=Dn(e,s),a=Mn(o);T.ael(l,i,r,a),(e.V=e.V||[]).push((()=>T.rel(l,i,r,a)))}))},Dn=(t,e)=>n=>{try{t.$hostElement$[e](n)}catch(o){tt(o,t.$hostElement$)}},Pn=(t,e,n)=>8&n?O:e,Mn=t=>dn?{passive:!!(1&t),capture:!!(2&t)}:!!(2&t);function Do(t){return t}const Y=Math.min,L=Math.max,Lt=Math.round,_t=Math.floor,W=t=>({x:t,y:t}),Fn={left:"right",right:"left",bottom:"top",top:"bottom"};function Jt(t,e,n){return L(t,Y(e,n))}function ct(t,e){return typeof t=="function"?t(e):t}function X(t){return t.split("-")[0]}function ft(t){return t.split("-")[1]}function We(t){return t==="x"?"y":"x"}function Qt(t){return t==="y"?"height":"width"}function B(t){const e=t[0];return e==="t"||e==="b"?"y":"x"}function te(t){return We(B(t))}function Wn(t,e,n){n===void 0&&(n=!1);const o=ft(t),i=te(t),s=Qt(i);let l=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(l=$t(l)),[l,$t(l)]}function jn(t){const e=$t(t);return[ee(t),e,ee(e)]}function ee(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const je=["left","right"],He=["right","left"],Hn=["top","bottom"],Vn=["bottom","top"];function zn(t,e,n){switch(t){case"top":case"bottom":return n?e?He:je:e?je:He;case"left":case"right":return e?Hn:Vn;default:return[]}}function Bn(t,e,n,o){const i=ft(t);let s=zn(X(t),n==="start",o);return i&&(s=s.map(l=>l+"-"+i),e&&(s=s.concat(s.map(ee)))),s}function $t(t){const e=X(t);return Fn[e]+t.slice(e.length)}function In(t){return{top:0,right:0,bottom:0,left:0,...t}}function Ve(t){return typeof t!="number"?In(t):{top:t,right:t,bottom:t,left:t}}function Dt(t){const{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function ze(t,e,n){let{reference:o,floating:i}=t;const s=B(e),l=te(e),r=Qt(l),a=X(e),d=s==="y",f=o.x+o.width/2-i.width/2,c=o.y+o.height/2-i.height/2,u=o[r]/2-i[r]/2;let p;switch(a){case"top":p={x:f,y:o.y-i.height};break;case"bottom":p={x:f,y:o.y+o.height};break;case"right":p={x:o.x+o.width,y:c};break;case"left":p={x:o.x-i.width,y:c};break;default:p={x:o.x,y:o.y}}switch(ft(e)){case"start":p[l]-=u*(n&&d?-1:1);break;case"end":p[l]+=u*(n&&d?-1:1);break}return p}async function Un(t,e){var n;e===void 0&&(e={});const{x:o,y:i,platform:s,rects:l,elements:r,strategy:a}=t,{boundary:d="clippingAncestors",rootBoundary:f="viewport",elementContext:c="floating",altBoundary:u=!1,padding:p=0}=ct(e,t),h=Ve(p),v=r[u?c==="floating"?"reference":"floating":c],m=Dt(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(v)))==null||n?v:v.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(r.floating)),boundary:d,rootBoundary:f,strategy:a})),g=c==="floating"?{x:o,y:i,width:l.floating.width,height:l.floating.height}:l.reference,y=await(s.getOffsetParent==null?void 0:s.getOffsetParent(r.floating)),x=await(s.isElement==null?void 0:s.isElement(y))?await(s.getScale==null?void 0:s.getScale(y))||{x:1,y:1}:{x:1,y:1},b=Dt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:r,rect:g,offsetParent:y,strategy:a}):g);return{top:(m.top-b.top+h.top)/x.y,bottom:(b.bottom-m.bottom+h.bottom)/x.y,left:(m.left-b.left+h.left)/x.x,right:(b.right-m.right+h.right)/x.x}}const qn=50,Yn=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:s=[],platform:l}=n,r=l.detectOverflow?l:{...l,detectOverflow:Un},a=await(l.isRTL==null?void 0:l.isRTL(e));let d=await l.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:c}=ze(d,o,a),u=o,p=0;const h={};for(let w=0;w<s.length;w++){const v=s[w];if(!v)continue;const{name:m,fn:g}=v,{x:y,y:x,data:b,reset:S}=await g({x:f,y:c,initialPlacement:o,placement:u,strategy:i,middlewareData:h,rects:d,platform:r,elements:{reference:t,floating:e}});f=y??f,c=x??c,h[m]={...h[m],...b},S&&p<qn&&(p++,typeof S=="object"&&(S.placement&&(u=S.placement),S.rects&&(d=S.rects===!0?await l.getElementRects({reference:t,floating:e,strategy:i}):S.rects),{x:f,y:c}=ze(d,u,a)),w=-1)}return{x:f,y:c,placement:u,strategy:i,middlewareData:h}},Xn=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:i,rects:s,platform:l,elements:r,middlewareData:a}=e,{element:d,padding:f=0}=ct(t,e)||{};if(d==null)return{};const c=Ve(f),u={x:n,y:o},p=te(i),h=Qt(p),w=await l.getDimensions(d),v=p==="y",m=v?"top":"left",g=v?"bottom":"right",y=v?"clientHeight":"clientWidth",x=s.reference[h]+s.reference[p]-u[p]-s.floating[h],b=u[p]-s.reference[p],S=await(l.getOffsetParent==null?void 0:l.getOffsetParent(d));let E=S?S[y]:0;(!E||!await(l.isElement==null?void 0:l.isElement(S)))&&(E=r.floating[y]||s.floating[h]);const A=x/2-b/2,C=E/2-w[h]/2-1,N=Y(c[m],C),Z=Y(c[g],C),H=N,K=E-w[h]-Z,R=E/2-w[h]/2+A,st=Jt(H,R,K),U=!a.arrow&&ft(i)!=null&&R!==st&&s.reference[h]/2-(R<H?N:Z)-w[h]/2<0,M=U?R<H?R-H:R-K:0;return{[p]:u[p]+M,data:{[p]:st,centerOffset:R-st-M,...U&&{alignmentOffset:M}},reset:U}}}),Gn=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:i,middlewareData:s,rects:l,initialPlacement:r,platform:a,elements:d}=e,{mainAxis:f=!0,crossAxis:c=!0,fallbackPlacements:u,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:w=!0,...v}=ct(t,e);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const m=X(i),g=B(r),y=X(r)===r,x=await(a.isRTL==null?void 0:a.isRTL(d.floating)),b=u||(y||!w?[$t(r)]:jn(r)),S=h!=="none";!u&&S&&b.push(...Bn(r,w,h,x));const E=[r,...b],A=await a.detectOverflow(e,v),C=[];let N=((o=s.flip)==null?void 0:o.overflows)||[];if(f&&C.push(A[m]),c){const R=Wn(i,l,x);C.push(A[R[0]],A[R[1]])}if(N=[...N,{placement:i,overflows:C}],!C.every(R=>R<=0)){var Z,H;const R=(((Z=s.flip)==null?void 0:Z.index)||0)+1,st=E[R];if(st&&(!(c==="alignment"?g!==B(st):!1)||N.every(F=>B(F.placement)===g?F.overflows[0]>0:!0)))return{data:{index:R,overflows:N},reset:{placement:st}};let U=(H=N.filter(M=>M.overflows[0]<=0).sort((M,F)=>M.overflows[1]-F.overflows[1])[0])==null?void 0:H.placement;if(!U)switch(p){case"bestFit":{var K;const M=(K=N.filter(F=>{if(S){const J=B(F.placement);return J===g||J==="y"}return!0}).map(F=>[F.placement,F.overflows.filter(J=>J>0).reduce((J,$o)=>J+$o,0)]).sort((F,J)=>F[1]-J[1])[0])==null?void 0:K[0];M&&(U=M);break}case"initialPlacement":U=r;break}if(i!==U)return{reset:{placement:U}}}return{}}}},Zn=new Set(["left","top"]);async function Kn(t,e){const{placement:n,platform:o,elements:i}=t,s=await(o.isRTL==null?void 0:o.isRTL(i.floating)),l=X(n),r=ft(n),a=B(n)==="y",d=Zn.has(l)?-1:1,f=s&&a?-1:1,c=ct(e,t);let{mainAxis:u,crossAxis:p,alignmentAxis:h}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:c.mainAxis||0,crossAxis:c.crossAxis||0,alignmentAxis:c.alignmentAxis};return r&&typeof h=="number"&&(p=r==="end"?h*-1:h),a?{x:p*f,y:u*d}:{x:u*d,y:p*f}}const Jn=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:i,y:s,placement:l,middlewareData:r}=e,a=await Kn(e,t);return l===((n=r.offset)==null?void 0:n.placement)&&(o=r.arrow)!=null&&o.alignmentOffset?{}:{x:i+a.x,y:s+a.y,data:{...a,placement:l}}}}},Qn=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:i,platform:s}=e,{mainAxis:l=!0,crossAxis:r=!1,limiter:a={fn:m=>{let{x:g,y}=m;return{x:g,y}}},...d}=ct(t,e),f={x:n,y:o},c=await s.detectOverflow(e,d),u=B(X(i)),p=We(u);let h=f[p],w=f[u];if(l){const m=p==="y"?"top":"left",g=p==="y"?"bottom":"right",y=h+c[m],x=h-c[g];h=Jt(y,h,x)}if(r){const m=u==="y"?"top":"left",g=u==="y"?"bottom":"right",y=w+c[m],x=w-c[g];w=Jt(y,w,x)}const v=a.fn({...e,[p]:h,[u]:w});return{...v,data:{x:v.x-n,y:v.y-o,enabled:{[p]:l,[u]:r}}}}}},to=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,o;const{placement:i,rects:s,platform:l,elements:r}=e,{apply:a=()=>{},...d}=ct(t,e),f=await l.detectOverflow(e,d),c=X(i),u=ft(i),p=B(i)==="y",{width:h,height:w}=s.floating;let v,m;c==="top"||c==="bottom"?(v=c,m=u===(await(l.isRTL==null?void 0:l.isRTL(r.floating))?"start":"end")?"left":"right"):(m=c,v=u==="end"?"top":"bottom");const g=w-f.top-f.bottom,y=h-f.left-f.right,x=Y(w-f[v],g),b=Y(h-f[m],y),S=!e.middlewareData.shift;let E=x,A=b;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(A=y),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(E=g),S&&!u){const N=L(f.left,0),Z=L(f.right,0),H=L(f.top,0),K=L(f.bottom,0);p?A=h-2*(N!==0||Z!==0?N+Z:L(f.left,f.right)):E=w-2*(H!==0||K!==0?H+K:L(f.top,f.bottom))}await a({...e,availableWidth:A,availableHeight:E});const C=await l.getDimensions(r.floating);return h!==C.width||w!==C.height?{reset:{rects:!0}}:{}}}};function Pt(){return typeof window<"u"}function dt(t){return Be(t)?(t.nodeName||"").toLowerCase():"#document"}function _(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function j(t){var e;return(e=(Be(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Be(t){return Pt()?t instanceof Node||t instanceof _(t).Node:!1}function D(t){return Pt()?t instanceof Element||t instanceof _(t).Element:!1}function I(t){return Pt()?t instanceof HTMLElement||t instanceof _(t).HTMLElement:!1}function Ie(t){return!Pt()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof _(t).ShadowRoot}function xt(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=P(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&i!=="inline"&&i!=="contents"}function eo(t){return/^(table|td|th)$/.test(dt(t))}function Mt(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}const no=/transform|translate|scale|rotate|perspective|filter/,oo=/paint|layout|strict|content/,nt=t=>!!t&&t!=="none";let ne;function oe(t){const e=D(t)?P(t):t;return nt(e.transform)||nt(e.translate)||nt(e.scale)||nt(e.rotate)||nt(e.perspective)||!ie()&&(nt(e.backdropFilter)||nt(e.filter))||no.test(e.willChange||"")||oo.test(e.contain||"")}function io(t){let e=G(t);for(;I(e)&&!ut(e);){if(oe(e))return e;if(Mt(e))return null;e=G(e)}return null}function ie(){return ne==null&&(ne=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),ne}function ut(t){return/^(html|body|#document)$/.test(dt(t))}function P(t){return _(t).getComputedStyle(t)}function Ft(t){return D(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function G(t){if(dt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Ie(t)&&t.host||j(t);return Ie(e)?e.host:e}function Ue(t){const e=G(t);return ut(e)?t.ownerDocument?t.ownerDocument.body:t.body:I(e)&&xt(e)?e:Ue(e)}function St(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=Ue(t),s=i===((o=t.ownerDocument)==null?void 0:o.body),l=_(i);if(s){const r=se(l);return e.concat(l,l.visualViewport||[],xt(i)?i:[],r&&n?St(r):[])}else return e.concat(i,St(i,[],n))}function se(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function qe(t){const e=P(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=I(t),s=i?t.offsetWidth:n,l=i?t.offsetHeight:o,r=Lt(n)!==s||Lt(o)!==l;return r&&(n=s,o=l),{width:n,height:o,$:r}}function le(t){return D(t)?t:t.contextElement}function ht(t){const e=le(t);if(!I(e))return W(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:s}=qe(e);let l=(s?Lt(n.width):n.width)/o,r=(s?Lt(n.height):n.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!r||!Number.isFinite(r))&&(r=1),{x:l,y:r}}const so=W(0);function Ye(t){const e=_(t);return!ie()||!e.visualViewport?so:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function lo(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==_(t)?!1:e}function ot(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),s=le(t);let l=W(1);e&&(o?D(o)&&(l=ht(o)):l=ht(t));const r=lo(s,n,o)?Ye(s):W(0);let a=(i.left+r.x)/l.x,d=(i.top+r.y)/l.y,f=i.width/l.x,c=i.height/l.y;if(s){const u=_(s),p=o&&D(o)?_(o):o;let h=u,w=se(h);for(;w&&o&&p!==h;){const v=ht(w),m=w.getBoundingClientRect(),g=P(w),y=m.left+(w.clientLeft+parseFloat(g.paddingLeft))*v.x,x=m.top+(w.clientTop+parseFloat(g.paddingTop))*v.y;a*=v.x,d*=v.y,f*=v.x,c*=v.y,a+=y,d+=x,h=_(w),w=se(h)}}return Dt({width:f,height:c,x:a,y:d})}function Wt(t,e){const n=Ft(t).scrollLeft;return e?e.left+n:ot(j(t)).left+n}function Xe(t,e){const n=t.getBoundingClientRect(),o=n.left+e.scrollLeft-Wt(t,n),i=n.top+e.scrollTop;return{x:o,y:i}}function ro(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const s=i==="fixed",l=j(o),r=e?Mt(e.floating):!1;if(o===l||r&&s)return n;let a={scrollLeft:0,scrollTop:0},d=W(1);const f=W(0),c=I(o);if((c||!c&&!s)&&((dt(o)!=="body"||xt(l))&&(a=Ft(o)),c)){const p=ot(o);d=ht(o),f.x=p.x+o.clientLeft,f.y=p.y+o.clientTop}const u=l&&!c&&!s?Xe(l,a):W(0);return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-a.scrollLeft*d.x+f.x+u.x,y:n.y*d.y-a.scrollTop*d.y+f.y+u.y}}function ao(t){return Array.from(t.getClientRects())}function co(t){const e=j(t),n=Ft(t),o=t.ownerDocument.body,i=L(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),s=L(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let l=-n.scrollLeft+Wt(t);const r=-n.scrollTop;return P(o).direction==="rtl"&&(l+=L(e.clientWidth,o.clientWidth)-i),{width:i,height:s,x:l,y:r}}const Ge=25;function fo(t,e){const n=_(t),o=j(t),i=n.visualViewport;let s=o.clientWidth,l=o.clientHeight,r=0,a=0;if(i){s=i.width,l=i.height;const f=ie();(!f||f&&e==="fixed")&&(r=i.offsetLeft,a=i.offsetTop)}const d=Wt(o);if(d<=0){const f=o.ownerDocument,c=f.body,u=getComputedStyle(c),p=f.compatMode==="CSS1Compat"&&parseFloat(u.marginLeft)+parseFloat(u.marginRight)||0,h=Math.abs(o.clientWidth-c.clientWidth-p);h<=Ge&&(s-=h)}else d<=Ge&&(s+=d);return{width:s,height:l,x:r,y:a}}function uo(t,e){const n=ot(t,!0,e==="fixed"),o=n.top+t.clientTop,i=n.left+t.clientLeft,s=I(t)?ht(t):W(1),l=t.clientWidth*s.x,r=t.clientHeight*s.y,a=i*s.x,d=o*s.y;return{width:l,height:r,x:a,y:d}}function Ze(t,e,n){let o;if(e==="viewport")o=fo(t,n);else if(e==="document")o=co(j(t));else if(D(e))o=uo(e,n);else{const i=Ye(t);o={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return Dt(o)}function Ke(t,e){const n=G(t);return n===e||!D(n)||ut(n)?!1:P(n).position==="fixed"||Ke(n,e)}function ho(t,e){const n=e.get(t);if(n)return n;let o=St(t,[],!1).filter(r=>D(r)&&dt(r)!=="body"),i=null;const s=P(t).position==="fixed";let l=s?G(t):t;for(;D(l)&&!ut(l);){const r=P(l),a=oe(l);!a&&r.position==="fixed"&&(i=null),(s?!a&&!i:!a&&r.position==="static"&&!!i&&(i.position==="absolute"||i.position==="fixed")||xt(l)&&!a&&Ke(t,l))?o=o.filter(f=>f!==l):i=r,l=G(l)}return e.set(t,o),o}function po(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const l=[...n==="clippingAncestors"?Mt(e)?[]:ho(e,this._c):[].concat(n),o],r=Ze(e,l[0],i);let a=r.top,d=r.right,f=r.bottom,c=r.left;for(let u=1;u<l.length;u++){const p=Ze(e,l[u],i);a=L(p.top,a),d=Y(p.right,d),f=Y(p.bottom,f),c=L(p.left,c)}return{width:d-c,height:f-a,x:c,y:a}}function mo(t){const{width:e,height:n}=qe(t);return{width:e,height:n}}function go(t,e,n){const o=I(e),i=j(e),s=n==="fixed",l=ot(t,!0,s,e);let r={scrollLeft:0,scrollTop:0};const a=W(0);function d(){a.x=Wt(i)}if(o||!o&&!s)if((dt(e)!=="body"||xt(i))&&(r=Ft(e)),o){const p=ot(e,!0,s,e);a.x=p.x+e.clientLeft,a.y=p.y+e.clientTop}else i&&d();s&&!o&&i&&d();const f=i&&!o&&!s?Xe(i,r):W(0),c=l.left+r.scrollLeft-a.x-f.x,u=l.top+r.scrollTop-a.y-f.y;return{x:c,y:u,width:l.width,height:l.height}}function re(t){return P(t).position==="static"}function Je(t,e){if(!I(t)||P(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return j(t)===n&&(n=n.ownerDocument.body),n}function Qe(t,e){const n=_(t);if(Mt(t))return n;if(!I(t)){let i=G(t);for(;i&&!ut(i);){if(D(i)&&!re(i))return i;i=G(i)}return n}let o=Je(t,e);for(;o&&eo(o)&&re(o);)o=Je(o,e);return o&&ut(o)&&re(o)&&!oe(o)?n:o||io(t)||n}const yo=async function(t){const e=this.getOffsetParent||Qe,n=this.getDimensions,o=await n(t.floating);return{reference:go(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function wo(t){return P(t).direction==="rtl"}const ae={convertOffsetParentRelativeRectToViewportRelativeRect:ro,getDocumentElement:j,getClippingRect:po,getOffsetParent:Qe,getElementRects:yo,getClientRects:ao,getDimensions:mo,getScale:ht,isElement:D,isRTL:wo};function tn(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function vo(t,e){let n=null,o;const i=j(t);function s(){var r;clearTimeout(o),(r=n)==null||r.disconnect(),n=null}function l(r,a){r===void 0&&(r=!1),a===void 0&&(a=1),s();const d=t.getBoundingClientRect(),{left:f,top:c,width:u,height:p}=d;if(r||e(),!u||!p)return;const h=_t(c),w=_t(i.clientWidth-(f+u)),v=_t(i.clientHeight-(c+p)),m=_t(f),y={rootMargin:-h+"px "+-w+"px "+-v+"px "+-m+"px",threshold:L(0,Y(1,a))||1};let x=!0;function b(S){const E=S[0].intersectionRatio;if(E!==a){if(!x)return l();E?l(!1,E):o=setTimeout(()=>{l(!1,1e-7)},1e3)}E===1&&!tn(d,t.getBoundingClientRect())&&l(),x=!1}try{n=new IntersectionObserver(b,{...y,root:i.ownerDocument})}catch{n=new IntersectionObserver(b,y)}n.observe(t)}return l(!0),s}function bo(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:r=typeof IntersectionObserver=="function",animationFrame:a=!1}=o,d=le(t),f=i||s?[...d?St(d):[],...e?St(e):[]]:[];f.forEach(m=>{i&&m.addEventListener("scroll",n,{passive:!0}),s&&m.addEventListener("resize",n)});const c=d&&r?vo(d,n):null;let u=-1,p=null;l&&(p=new ResizeObserver(m=>{let[g]=m;g&&g.target===d&&p&&e&&(p.unobserve(e),cancelAnimationFrame(u),u=requestAnimationFrame(()=>{var y;(y=p)==null||y.observe(e)})),n()}),d&&!a&&p.observe(d),e&&p.observe(e));let h,w=a?ot(t):null;a&&v();function v(){const m=ot(t);w&&!tn(w,m)&&n(),w=m,h=requestAnimationFrame(v)}return n(),()=>{var m;f.forEach(g=>{i&&g.removeEventListener("scroll",n),s&&g.removeEventListener("resize",n)}),c?.(),(m=p)==null||m.disconnect(),p=null,a&&cancelAnimationFrame(h)}}const xo=Jn,So=Qn,Eo=Gn,en=to,Oo=Xn,Ao=(t,e,n)=>{const o=new Map,i={platform:ae,...n},s={...i.platform,_c:o};return Yn(t,e,{...i,platform:s})};function nn(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}const Co=/transform|translate|scale|rotate|perspective|filter/,To=/paint|layout|strict|content/,it=t=>!!t&&t!=="none";let ce;function No(t){const e=(n=t,typeof window<"u"&&(n instanceof Element||n instanceof nn(n).Element)?nn(o=t).getComputedStyle(o):t);var n,o;return it(e.transform)||it(e.translate)||it(e.scale)||it(e.rotate)||it(e.perspective)||(ce==null&&(ce=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),!ce&&(it(e.backdropFilter)||it(e.filter)))||Co.test(e.willChange||"")||To.test(e.contain||"")}function Ro(t){return(function(e){for(let n=e;n;n=fe(n))if(n instanceof Element&&getComputedStyle(n).display==="none")return null;for(let n=fe(e);n;n=fe(n)){if(!(n instanceof Element))continue;const o=getComputedStyle(n);if(o.display!=="contents"&&(o.position!=="static"||No(o)||n.tagName==="BODY"))return n}return null})(t)}function fe(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Et;(function(t){t.TOOLTIP="tooltip",t.POPOVER="popover",t.FLYOUT_PANEL="flyout-panel"})(Et||(Et={}));const mt=class mt{constructor(e,n){this.el=e,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 e=this.getRootElement();this.floatingElement=e.querySelector(this.config.floatingElementSelector),this.floatingElement&&this.applyViewportMaxWidth(),this.arrowEl=this.config.showArrow!==!1&&this.config.arrowElementSelector?e.querySelector(this.config.arrowElementSelector):null,this.anchorElement=this.config.htmlFor?.length>0?document.getElementById(this.config.htmlFor):this.config.getAnchorElement?this.config.getAnchorElement(e):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(e){this.config={...this.config,...e},"showWithoutDelay"in e&&(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=bo(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 e=this.config.offset??this.offset,n=[xo(e)],o=this.config.lockToMainAxis??!1,i=this.config.constrainPlacements,s=i&&i.length>0?i.includes(this.config.placement)?this.config.placement:i[0]:this.config.placement,l=Eo(i&&i.length>0?{mainAxis:!0,crossAxis:!1,padding:e,fallbackPlacements:i.filter((d=>d!==s)),fallbackAxisSideDirection:"none"}:{mainAxis:!0,crossAxis:!o&&"alignment",fallbackAxisSideDirection:"end",padding:e}),r=this.config.elementType===Et.POPOVER,a=So({padding:e,mainAxis:this.config.constrainToViewportHeight||this.config.elementType===Et.TOOLTIP||r&&this.popoverMainAxisEnabled,crossAxis:!1});this.config.matchReferenceWidth&&n.push(en({apply({elements:d,rects:f}){Object.assign(d.floating.style,{width:`${f.reference.width}px`})}})),s?.includes("-")?n.push(l,a):n.push(a,l),this.config.constrainToViewportHeight&&n.push(en({padding:e,apply:({availableHeight:d,elements:f})=>{const c=Array.from(f.floating.children).find((u=>u!==this.arrowEl));c instanceof HTMLElement&&Object.assign(c.style,{maxHeight:`${Math.max(0,d)}px`,overflowY:"auto",overflowX:"hidden"})}})),this.config.showArrow!==!1&&this.arrowEl&&n.push(Oo({element:this.arrowEl,padding:e})),Ao(this.anchorElement,this.floatingElement,{placement:s,strategy:"fixed",middleware:n,platform:{...ae,getOffsetParent:d=>ae.getOffsetParent(d,Ro)}}).then((({x:d,y:f,middlewareData:c,placement:u})=>{if(r){const v=u.startsWith("left")||u.startsWith("right"),m=u.startsWith("top")||u.startsWith("bottom"),g=this.isAnchorInViewport(),y=!!m||(v?g:this.popoverMainAxisEnabled);if(y!==this.popoverMainAxisEnabled)return this.popoverMainAxisEnabled=y,void this.updatePosition()}this.currentPlacement=u,Object.assign(this.floatingElement.style,{left:`${d}px`,top:`${f}px`,position:"fixed",transition:`opacity ${this.timeOfAnimation}ms ease`});const p=u.split("-")[0]??"bottom",h={top:"bottom",right:"left",bottom:"top",left:"right"}[p],{arrowZIndex:w}=this.normalizeFloatingElementStacking();if(c.arrow&&this.arrowEl){const v=this.arrowEl.offsetWidth,{x:m,y:g}=c.arrow;this.arrowEl.style.borderRadius=`${["left","right"].includes(p)?"0 ":""}var(--gidsFloatingElement-tip-border-radius, 2px)${["top","bottom"].includes(p)?" 0":""}`,Object.assign(this.arrowEl.style,{left:m!==null?`${m}px`:"",top:g!==null?`${g}px`:"",right:"",bottom:"",[h]:-v/2+"px",transform:"rotate(45deg)",zIndex:`${w}`,background:"var(--gidsFloatingElement-background)"})}}))}applyViewportMaxWidth(){const e=`calc(100vw - ${2*this.offset}px)`;this.floatingElement&&this.floatingElement?.style.maxWidth!==e&&(this.floatingElement.style.maxWidth=e)}normalizeFloatingElementStacking(){const e=this.floatingElement.style.zIndex||(window.getComputedStyle?.(this.floatingElement).zIndex??""),n=Number.parseInt(e,10),o=Number.isNaN(n)?-1:n-1,i=Number.isNaN(n)?o+1:n;return Number.isNaN(i)||(this.floatingElement.style.zIndex=`${i}`),Array.from(this.floatingElement.children).forEach((s=>{if(!(s instanceof HTMLElement)||s===this.arrowEl)return;const l=s.style.zIndex||(window.getComputedStyle?.(s).zIndex??""),r=Number.parseInt(l,10),a=window.getComputedStyle?.(s).position??"";(l===""||l==="auto"||Number.isNaN(r)||r<i)&&(s.style.zIndex=`${i}`,a!==""&&a!=="static"||(s.style.position="relative"))})),{contentZIndex:i,arrowZIndex:o}}hideFloatingElement(){this.floatingElement.classList.remove(this.config.visibilityClass),mt.currentFloatingElements.delete(this.config.elementType)}showFloatingElement(){const e=mt.currentFloatingElements.get(this.config.elementType);e&&e.hideFloatingElement(),this.floatingElement.classList.add(this.config.visibilityClass),mt.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 e=this.anchorElement.getBoundingClientRect(),n=window.innerHeight||document.documentElement?.clientHeight||0,o=window.innerWidth||document.documentElement?.clientWidth||0,i=e.height/2+2*this.offset;return e.bottom>=i&&e.top<=n-i&&e.right>=0&&e.left<=o}};mt.currentFloatingElements=new Map;let de=mt;const pt=globalThis.CSSStyleSheet!==void 0?new CSSStyleSheet:void 0;let on=!1;pt&&document.adoptedStyleSheets?document.adoptedStyleSheets.push(pt):console.warn("CSSStyleSheet is not defined. Omitting constructed stylesheet behaviour.");let ue=null;const he=globalThis.MutationObserver!==void 0?new MutationObserver((()=>{sn()})):void 0,sn=()=>{if(pt===void 0)return!1;const t=(()=>{if(pt===void 0)return;const e=[];for(let n=0;n<document.styleSheets.length;n++){const o=document.styleSheets.item(n);if(o)try{let i=-1,s=0;for(let l=0;l<o.cssRules.length;l++){const r=o.cssRules.item(l);if(r?.cssText.startsWith("gids-global-styles-start"))i=l;else if(i>-1){if(r?.cssText.startsWith("gids-global-styles-end")){s=l-i+1;break}e.push(r)}}if(i>-1)return{rulesStartIndex:i,originalRulesCount:s,rules:e,styleSheet:o}}catch(i){if(!(i instanceof DOMException))throw i}}})();if(t!==void 0){const e=t.styleSheet.ownerNode;return he!==void 0&&e!==ue&&(ue&&he.disconnect(),e instanceof Element&&he.observe(e,{childList:!0,characterData:!0,subtree:!0}),ue=e),pt.replaceSync((n=>n.rules.map((o=>o.cssText)).join(""))(t)),(n=>{const{rulesStartIndex:o,originalRulesCount:i,styleSheet:s}=n;for(let l=0;l<i;l++)s.deleteRule(o)})(t),!0}return console.warn("refreshConstructedGidsStylesheet: Gids stylesheet is not found in document."),!1},ko=()=>(on||(on=sn()),pt),ln=_n(class extends fn{constructor(t){super(),t!==!1&&this.__registerHost(),this.__attachShadow(),this.placement="bottom",this.showWithoutDelay=!1,this.lockToMainAxis=!1,this.handleShowEvent=()=>{this.floatingElementManager.showAfterDelay()},this.handleHideEvent=()=>{this.floatingElementManager.hideAfterDelay()}}connectedCallback(){const t=ko();t!==void 0&&this._el.shadowRoot?.adoptedStyleSheets.push(t)}componentDidLoad(){this.floatingElementManager=new de(this._el,{htmlFor:this.htmlFor,placement:this.placement,showWithoutDelay:this.showWithoutDelay,lockToMainAxis:this.lockToMainAxis,floatingElementSelector:"#tooltip",arrowElementSelector:"#arrow",visibilityClass:"gids-tooltip--visible",elementType:Et.TOOLTIP,getAnchorElementFromSlot:t=>t.querySelector("slot")?.assignedElements()[0]||null}),this.floatingElementManager.initialize(),this.setupEventListeners()}setupEventListeners(){const t=this.floatingElementManager.getAnchorElement();t&&(t.addEventListener("mouseenter",this.handleShowEvent),t.addEventListener("focus",this.handleShowEvent),t.addEventListener("mouseleave",this.handleHideEvent),t.addEventListener("blur",this.handleHideEvent))}placementChanged(t){this.floatingElementManager?.updateConfig({placement:t}),this.floatingElementManager?.isVisible()&&this.floatingElementManager?.reposition()}showWithoutDelayChanged(t){this.floatingElementManager?.updateConfig({showWithoutDelay:t})}lockToMainAxisChanged(t){this.floatingElementManager?.updateConfig({lockToMainAxis:t})}htmlForChanged(t){this.floatingElementManager?.updateConfig({htmlFor:t}),this.cleanupEventListeners(),this.floatingElementManager?.initialize(),this.setupEventListeners()}cleanupEventListeners(){const t=this.floatingElementManager?.getAnchorElement();t&&(t.removeEventListener("mouseenter",this.handleShowEvent),t.removeEventListener("focus",this.handleShowEvent),t.removeEventListener("mouseleave",this.handleHideEvent),t.removeEventListener("blur",this.handleHideEvent))}render(){return rt($n,{key:"63a9538c744df31313d565a43be58265727b82c4"},rt("slot",{key:"b0dde46d056180195e88ddada52f8a17acea240f"}),rt("span",{key:"38a92b280905177d3fa03edf406d7d1a88edb425",id:"tooltip",part:"tooltip",role:"tooltip"},rt("span",{key:"2c84d414edd57bb4799a3def4987d98aa4e9de93",id:"arrow"}),this.tooltipText))}disconnectedCallback(){this.cleanupEventListeners(),this.floatingElementManager?.destroy()}get _el(){return this}static get watchers(){return{placement:[{placementChanged:0}],showWithoutDelay:[{showWithoutDelayChanged:0}],lockToMainAxis:[{lockToMainAxisChanged:0}],htmlFor:[{htmlForChanged:0}]}}static get style(){return"gids-tooltip{--gidsTooltip-background:var(--gids-color-background-neutral-bold-default);--gidsTooltip-text-color:var(--gids-color-text-inverse);--gidsTooltip-padding:var(--gids-padding-vertical-edge-to-element-100) var(--gids-padding-horizontal-edge-to-element-200);--gidsTooltip-border-radius:var(--gids-border-radius-sm);--gidsTooltip-tip-border-radius:2px;--gidsTooltip-tip-size:12px;--gidsFloatingElement-background:var(--gidsTooltip-background);--gidsFloatingElement-tip-border-radius:var(--gidsTooltip-tip-border-radius)}[part=tooltip]{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;hyphens:auto;background-color:var(--gidsTooltip-background);color:var(--gidsTooltip-text-color);padding:var(--gidsTooltip-padding);border-radius:var(--gidsTooltip-border-radius);z-index:1000;opacity:0;pointer-events:none}[part=tooltip].gids-tooltip--visible{pointer-events:initial;opacity:1}[part=tooltip] span#arrow{position:absolute;height:var(--gidsTooltip-tip-size);width:var(--gidsTooltip-tip-size)}"}},[257,"gids-tooltip",{htmlFor:[513,"for"],tooltipText:[513,"tooltip-text"],placement:[513],showWithoutDelay:[516,"show-without-delay"],lockToMainAxis:[4,"lock-to-main-axis"]},void 0,{placement:[{placementChanged:0}],showWithoutDelay:[{showWithoutDelayChanged:0}],lockToMainAxis:[{lockToMainAxisChanged:0}],htmlFor:[{htmlForChanged:0}]}]);function rn(){typeof customElements<"u"&&["gids-tooltip"].forEach((t=>{t==="gids-tooltip"&&(customElements.get(t)||customElements.define(t,ln))}))}rn();const Lo=ln,_o=rn;Q.GidsTooltip=Lo,Q.defineCustomElement=_o,Object.defineProperty(Q,Symbol.toStringTag,{value:"Module"})}));
@@ -1,5 +1,5 @@
1
- (function(M,R){typeof exports=="object"&&typeof module<"u"?R(exports):typeof define=="function"&&define.amd?define(["exports"],R):(M=typeof globalThis<"u"?globalThis:M||self,R(M.gidsCoreWebGidsTransferList={}))})(this,(function(M){"use strict";function R(e,t,s){const i=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==i;){const n=Object.getOwnPropertyDescriptor(e,t);if(n&&(!s||n.get))return n;e=Object.getPrototypeOf(e)}}var D,gt=(e,t)=>{var s;Object.entries((s=t.o.t)!=null?s:{}).map((([i,[n]])=>{if(31&n||32&n){const l=e[i],o=R(Object.getPrototypeOf(e),i,!0)||Object.getOwnPropertyDescriptor(e,i);o&&Object.defineProperty(e,i,{get(){return o.get.call(this)},set(r){o.set.call(this,r)},configurable:!0,enumerable:!0}),t.l.has(i)?e[i]=t.l.get(i):l!==void 0&&(e[i]=l)}}))},A=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},_e=(e,t)=>t in e,G=(e,t)=>(0,console.error)(e,t),U=new Map,Le="http://www.w3.org/1999/xlink",ut=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],I=typeof window<"u"?window:{},mt=I.HTMLElement||class{},C={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,i)=>e.addEventListener(t,s,i),rel:(e,t,s,i)=>e.removeEventListener(t,s,i),ce:(e,t)=>new CustomEvent(e,t)},ft=(()=>{var e;let t=!1;try{(e=I.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),se=(()=>{try{return!!I.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),ie=!!se&&!!I.document&&Object.getOwnPropertyDescriptor(I.document.adoptedStyleSheets,"length").writable,ne=!1,Ie=[],xe=[],pt=(e,t)=>s=>{e.push(s),ne||(ne=!0,4&C.i?oe(le):C.raf(le))},we=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){G(s)}e.length=0},le=()=>{we(Ie),we(xe),(ne=Ie.length>0)&&C.raf(le)},oe=e=>Promise.resolve(void 0).then(e),vt=pt(xe);function yt(){const e=this.attachShadow({mode:"open"});D===void 0&&(D=null),D&&(ie?e.adoptedStyleSheets.push(D):e.adoptedStyleSheets=[...e.adoptedStyleSheets,D])}var Te=e=>{const t=ae(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&re(t,e.tagName).forEach((i=>{i.nodeType===1&&i.tagName==="SLOT-FB"&&(i.hidden=!!St(i,z(i),!1).length)}));let s=0;for(s=0;s<t.length;s++){const i=t[s];i.nodeType===1&&ae(i,"childNodes").length&&Te(i)}};function re(e,t,s){let i,n=0,l=[];for(;n<e.length;n++){if(i=e[n],i["s-sr"]&&(!t||i["s-hn"]===t)&&(s===void 0||z(i)===s)&&(l.push(i),s!==void 0))return l;l=[...l,...re(i.childNodes,t,s)]}return l}var St=(e,t,s=!0)=>{const i=[];(s&&e["s-sr"]||!e["s-sr"])&&i.push(e);let n=e;for(;n=n.nextSibling;)z(n)!==t||!s&&n["s-sr"]||i.push(n);return i},Ce=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",z=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function ae(e,t){if("__"+t in e){const s=e["__"+t];return typeof s!="function"?s:s.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var de,H,E=new WeakMap,Ne=e=>"sc-"+e.p,ce=e=>(e=typeof e)=="object"||e==="function",h=(e,t,...s)=>{let i=null,n=null,l=null,o=!1,r=!1;const a=[],d=c=>{for(let u=0;u<c.length;u++)i=c[u],Array.isArray(i)?d(i):i!=null&&typeof i!="boolean"&&((o=typeof e!="function"&&!ce(i))&&(i=String(i)),o&&r?a[a.length-1].h+=i:a.push(o?q(null,i):i),r=o)};if(d(s),t){t.key&&(n=t.key),t.name&&(l=t.name);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter((u=>c[u])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,a,bt);const g=q(e,null);return g.v=t,a.length>0&&(g.m=a),g.$=n,g.j=l,g},q=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),$e={},bt={forEach:(e,t)=>e.map(ke).forEach(t),map:(e,t)=>e.map(ke).map(t).map(_t)},ke=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),_t=e=>{if(typeof e.vtag=="function"){const s={...e.vattrs};return e.vkey&&(s.key=e.vkey),e.vname&&(s.name=e.vname),h(e.vtag,s,...e.vchildren||[])}const t=q(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},Oe=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let s=!1;for(const n of t){if(s)break;for(const l of e[n])if(typeof l=="string"){s=!0;break}}if(!s)return e;const i={};for(const n of t)i[n]=e[n].map((l=>typeof l=="string"?{[l]:0}:l));return i},Ae=(e,t,s)=>e==null||ce(e)?e:4&t?(s&&typeof e=="string"||e!=="false")&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,Lt=(e,t,s)=>{const i=C.ce(t,s);return e.dispatchEvent(i),i},je=(e,t,s,i,n,l)=>{if(s===i)return;let o=_e(e,t),r=t.toLowerCase();if(t==="class"){const a=e.classList,d=Pe(s);let g=Pe(i);a.remove(...d.filter((c=>c&&!g.includes(c)))),a.add(...g.filter((c=>c&&!d.includes(c))))}else if(t==="style"){for(const a in s)i&&i[a]!=null||(a.includes("-")?e.style.removeProperty(a):e.style[a]="");for(const a in i)s&&i[a]===s[a]||(a.includes("-")?e.style.setProperty(a,i[a]):e.style[a]=i[a])}else if(t!=="key"){if(t==="ref")i&&wt(i,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const a=t.slice(5);let d;{const g=A(e);if(g&&g.o&&g.o.t){const c=g.o.t[a];c&&c[1]&&(d=c[1])}}return d||(d=a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(i==null||i===!1?i===!1&&e.getAttribute(d)!==""||e.removeAttribute(d):e.setAttribute(d,i===!0?"":i))}if(t[0]==="p"&&t.startsWith("prop:")){const a=t.slice(5);try{e[a]=i}catch{}return}{const a=ce(i);if((o||a&&i!==null)&&!n)try{if(e.tagName.includes("-"))e[t]!==i&&(e[t]=i);else{const g=i??"";t==="list"?o=!1:s!=null&&e[t]===g||(typeof e.__lookupSetter__(t)=="function"?e[t]=g:e.setAttribute(t,g))}}catch{}let d=!1;r!==(r=r.replace(/^xlink\:?/,""))&&(t=r,d=!0),i==null||i===!1?i===!1&&e.getAttribute(t)!==""||(d?e.removeAttributeNS(Le,t):e.removeAttribute(t)):(!o||4&l||n)&&!a&&e.nodeType===1&&(i=i===!0?"":i,d?e.setAttributeNS(Le,t,i):e.setAttribute(t,i))}}else if(t=t[2]==="-"?t.slice(3):_e(I,r)?r.slice(2):r[2]+t.slice(3),s||i){const a=t.endsWith(Ee);t=t.replace(xt,""),s&&C.rel(e,t,s,a),i&&C.ael(e,t,i,a)}}},It=/\s/,Pe=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(It):[]),Ee="Capture",xt=new RegExp(Ee+"$"),he=(e,t,s)=>{const i=t.S.nodeType===11&&t.S.host?t.S.host:t.S,n=e&&e.v||{},l=t.v||{};for(const o of Me(Object.keys(n)))o in l||je(i,o,n[o],void 0,s,t.i);for(const o of Me(Object.keys(l)))je(i,o,n[o],l[o],s,t.i)};function Me(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var V=!1,K=!1,Y=!1,N=!1,ge=[],ue=[],Z=(e,t,s)=>{var i;const n=t.m[s];let l,o,r,a=0;if(V||(Y=!0,n.O==="slot"&&(n.i|=n.m?2:1)),n.h!=null)l=n.S=I.document.createTextNode(n.h);else if(1&n.i)l=n.S=I.document.createTextNode(""),he(null,n,N);else{if(N||(N=n.O==="svg"),!I.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(l=n.S=I.document.createElementNS(N?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!V&&2&n.i?"slot-fb":n.O),N&&n.O==="foreignObject"&&(N=!1),he(null,n,N),n.m){const d=n.O==="template"?l.content:l;for(a=0;a<n.m.length;++a)o=Z(e,n,a),o&&d.appendChild(o)}n.O==="svg"?N=!1:l.tagName==="foreignObject"&&(N=!0)}return l["s-hn"]=H,3&n.i&&(l["s-sr"]=!0,l["s-cr"]=de,l["s-sn"]=n.j||"",l["s-rf"]=(i=n.v)==null?void 0:i.ref,(function(d){if(d.assignedElements||d.assignedNodes||!d["s-sr"])return;const g=c=>(function(u){const f=[],m=this["s-sn"];u?.flatten&&console.error(`
1
+ (function(M,R){typeof exports=="object"&&typeof module<"u"?R(exports):typeof define=="function"&&define.amd?define(["exports"],R):(M=typeof globalThis<"u"?globalThis:M||self,R(M.gidsCoreWebGidsTransferList={}))})(this,(function(M){"use strict";function R(e,t,s){const i=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==i;){const n=Object.getOwnPropertyDescriptor(e,t);if(n&&(!s||n.get))return n;e=Object.getPrototypeOf(e)}}var D,gt=(e,t)=>{var s;Object.entries((s=t.o.t)!=null?s:{}).map((([i,[n]])=>{if(31&n||32&n){const l=e[i],o=R(Object.getPrototypeOf(e),i,!0)||Object.getOwnPropertyDescriptor(e,i);o&&Object.defineProperty(e,i,{get(){return o.get.call(this)},set(r){o.set.call(this,r)},configurable:!0,enumerable:!0}),t.l.has(i)?e[i]=t.l.get(i):l!==void 0&&(e[i]=l)}}))},A=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},_e=(e,t)=>t in e,G=(e,t)=>(0,console.error)(e,t),U=new Map,Le="http://www.w3.org/1999/xlink",ut=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],I=typeof window<"u"?window:{},mt=I.HTMLElement||class{},C={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,i)=>e.addEventListener(t,s,i),rel:(e,t,s,i)=>e.removeEventListener(t,s,i),ce:(e,t)=>new CustomEvent(e,t)},ft=(()=>{var e;let t=!1;try{(e=I.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),se=(()=>{try{return!!I.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),ie=!!se&&!!I.document&&Object.getOwnPropertyDescriptor(I.document.adoptedStyleSheets,"length").writable,ne=!1,Ie=[],xe=[],pt=(e,t)=>s=>{e.push(s),ne||(ne=!0,4&C.i?oe(le):C.raf(le))},we=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){G(s)}e.length=0},le=()=>{we(Ie),we(xe),(ne=Ie.length>0)&&C.raf(le)},oe=e=>Promise.resolve(void 0).then(e),vt=pt(xe);function yt(){const e=this.attachShadow({mode:"open"});D===void 0&&(D=null),D&&(ie?e.adoptedStyleSheets.push(D):e.adoptedStyleSheets=[...e.adoptedStyleSheets,D])}var Te=e=>{const t=ae(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&re(t,e.tagName).forEach((i=>{i.nodeType===1&&i.tagName==="SLOT-FB"&&(i.hidden=!!St(i,z(i),!1).length)}));let s=0;for(s=0;s<t.length;s++){const i=t[s];i.nodeType===1&&ae(i,"childNodes").length&&Te(i)}};function re(e,t,s){let i,n=0,l=[];for(;n<e.length;n++){if(i=e[n],i["s-sr"]&&(!t||i["s-hn"]===t)&&(s===void 0||z(i)===s)&&(l.push(i),s!==void 0))return l;l=[...l,...re(i.childNodes,t,s)]}return l}var St=(e,t,s=!0)=>{const i=[];(s&&e["s-sr"]||!e["s-sr"])&&i.push(e);let n=e;for(;n=n.nextSibling;)z(n)!==t||!s&&n["s-sr"]||i.push(n);return i},Ce=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",z=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function ae(e,t){if("__"+t in e){const s=e["__"+t];return typeof s!="function"?s:s.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var de,H,E=new WeakMap,Ne=e=>"sc-"+e.p,ce=e=>(e=typeof e)=="object"||e==="function",h=(e,t,...s)=>{let i=null,n=null,l=null,o=!1,r=!1;const a=[],d=c=>{for(let u=0;u<c.length;u++)i=c[u],Array.isArray(i)?d(i):i!=null&&typeof i!="boolean"&&((o=typeof e!="function"&&!ce(i))&&(i=String(i)),o&&r?a[a.length-1].h+=i:a.push(o?q(null,i):i),r=o)};if(d(s),t){t.key&&(n=t.key),t.name&&(l=t.name);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter((u=>c[u])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,a,bt);const g=q(e,null);return g.v=t,a.length>0&&(g.m=a),g.$=n,g.j=l,g},q=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),ke={},bt={forEach:(e,t)=>e.map($e).forEach(t),map:(e,t)=>e.map($e).map(t).map(_t)},$e=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),_t=e=>{if(typeof e.vtag=="function"){const s={...e.vattrs};return e.vkey&&(s.key=e.vkey),e.vname&&(s.name=e.vname),h(e.vtag,s,...e.vchildren||[])}const t=q(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},Oe=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let s=!1;for(const n of t){if(s)break;for(const l of e[n])if(typeof l=="string"){s=!0;break}}if(!s)return e;const i={};for(const n of t)i[n]=e[n].map((l=>typeof l=="string"?{[l]:0}:l));return i},Ae=(e,t,s)=>e==null||ce(e)?e:4&t?(s&&typeof e=="string"||e!=="false")&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,Lt=(e,t,s)=>{const i=C.ce(t,s);return e.dispatchEvent(i),i},je=(e,t,s,i,n,l)=>{if(s===i)return;let o=_e(e,t),r=t.toLowerCase();if(t==="class"){const a=e.classList,d=Pe(s);let g=Pe(i);a.remove(...d.filter((c=>c&&!g.includes(c)))),a.add(...g.filter((c=>c&&!d.includes(c))))}else if(t==="style"){for(const a in s)i&&i[a]!=null||(a.includes("-")?e.style.removeProperty(a):e.style[a]="");for(const a in i)s&&i[a]===s[a]||(a.includes("-")?e.style.setProperty(a,i[a]):e.style[a]=i[a])}else if(t!=="key"){if(t==="ref")i&&wt(i,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const a=t.slice(5);let d;{const g=A(e);if(g&&g.o&&g.o.t){const c=g.o.t[a];c&&c[1]&&(d=c[1])}}return d||(d=a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(i==null||i===!1?i===!1&&e.getAttribute(d)!==""||e.removeAttribute(d):e.setAttribute(d,i===!0?"":i))}if(t[0]==="p"&&t.startsWith("prop:")){const a=t.slice(5);try{e[a]=i}catch{}return}{const a=ce(i);if((o||a&&i!==null)&&!n)try{if(e.tagName.includes("-"))e[t]!==i&&(e[t]=i);else{const g=i??"";t==="list"?o=!1:s!=null&&e[t]===g||(typeof e.__lookupSetter__(t)=="function"?e[t]=g:e.setAttribute(t,g))}}catch{}let d=!1;r!==(r=r.replace(/^xlink\:?/,""))&&(t=r,d=!0),i==null||i===!1?i===!1&&e.getAttribute(t)!==""||(d?e.removeAttributeNS(Le,t):e.removeAttribute(t)):(!o||4&l||n)&&!a&&e.nodeType===1&&(i=i===!0?"":i,d?e.setAttributeNS(Le,t,i):e.setAttribute(t,i))}}else if(t=t[2]==="-"?t.slice(3):_e(I,r)?r.slice(2):r[2]+t.slice(3),s||i){const a=t.endsWith(Ee);t=t.replace(xt,""),s&&C.rel(e,t,s,a),i&&C.ael(e,t,i,a)}}},It=/\s/,Pe=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(It):[]),Ee="Capture",xt=new RegExp(Ee+"$"),he=(e,t,s)=>{const i=t.S.nodeType===11&&t.S.host?t.S.host:t.S,n=e&&e.v||{},l=t.v||{};for(const o of Me(Object.keys(n)))o in l||je(i,o,n[o],void 0,s,t.i);for(const o of Me(Object.keys(l)))je(i,o,n[o],l[o],s,t.i)};function Me(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var V=!1,K=!1,Y=!1,N=!1,ge=[],ue=[],Z=(e,t,s)=>{var i;const n=t.m[s];let l,o,r,a=0;if(V||(Y=!0,n.O==="slot"&&(n.i|=n.m?2:1)),n.h!=null)l=n.S=I.document.createTextNode(n.h);else if(1&n.i)l=n.S=I.document.createTextNode(""),he(null,n,N);else{if(N||(N=n.O==="svg"),!I.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(l=n.S=I.document.createElementNS(N?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!V&&2&n.i?"slot-fb":n.O),N&&n.O==="foreignObject"&&(N=!1),he(null,n,N),n.m){const d=n.O==="template"?l.content:l;for(a=0;a<n.m.length;++a)o=Z(e,n,a),o&&d.appendChild(o)}n.O==="svg"?N=!1:l.tagName==="foreignObject"&&(N=!0)}return l["s-hn"]=H,3&n.i&&(l["s-sr"]=!0,l["s-cr"]=de,l["s-sn"]=n.j||"",l["s-rf"]=(i=n.v)==null?void 0:i.ref,(function(d){if(d.assignedElements||d.assignedNodes||!d["s-sr"])return;const g=c=>(function(u){const f=[],m=this["s-sn"];u?.flatten&&console.error(`
2
2
  Flattening is not supported for Stencil non-shadow slots.
3
3
  You can use \`.childNodes\` to nested slot fallback content.
4
4
  If you have a particular use case, please open an issue on the Stencil repo.
5
- `);const b=this["s-cr"].parentElement;return(b.__childNodes?b.childNodes:(_=>{const y=[];for(let v=0;v<_.length;v++){const p=_[v]["s-nr"]||void 0;p&&p.isConnected&&y.push(p)}return y})(b.childNodes)).forEach((_=>{m===z(_)&&f.push(_)})),c?f.filter((_=>_.nodeType===1)):f}).bind(d);d.assignedElements=g(!0),d.assignedNodes=g(!1)})(l),r=e&&e.m&&e.m[s],r&&r.O===n.O&&e.S&&Ge(e.S)),l},Ge=e=>{C.i|=1;const t=e.closest(H.toLowerCase());if(t!=null){const s=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),i=Array.from(e.__childNodes||e.childNodes);for(const n of s?i.reverse():i)n["s-sh"]!=null&&(O(t,n,s??null),n["s-sh"]=void 0,Y=!0)}C.i&=-2},J=(e,t)=>{C.i|=1;const s=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let i=e;for(;i=i.nextSibling;)i&&i["s-sn"]===e["s-sn"]&&i["s-sh"]===H&&s.push(i)}for(let i=s.length-1;i>=0;i--){const n=s[i];n["s-hn"]!==H&&n["s-ol"]&&(O(F(n).parentNode,n,F(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,Y=!0),t&&J(n,t)}C.i&=-2},He=(e,t,s,i,n,l)=>{let o,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===H&&(r=r.shadowRoot),s.O==="template"&&(r=r.content);n<=l;++n)i[n]&&(o=Z(null,s,n),o&&(i[n].S=o,O(r,o,F(t))))},Re=(e,t,s)=>{for(let i=t;i<=s;++i){const n=e[i];if(n){const l=n.S;De(n),l&&(K=!0,l["s-ol"]?l["s-ol"].remove():J(l,!0),l.remove())}}},Q=(e,t,s=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:s?(s&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),F=e=>e&&e["s-ol"]||e,B=(e,t,s=!1)=>{const i=t.S=e.S,n=e.m,l=t.m,o=t.O,r=t.h;let a;r==null?(N=o==="svg"||o!=="foreignObject"&&N,o!=="slot"||V||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Ge(t.S.parentElement)),he(e,t,N),n!==null&&l!==null?((d,g,c,u,f=!1)=>{let m,b,_=0,y=0,v=0,p=0,w=g.length-1,S=g[0],L=g[w],T=u.length-1,x=u[0],k=u[T];const ht=c.O==="template"?d.content:d;for(;_<=w&&y<=T;)if(S==null)S=g[++_];else if(L==null)L=g[--w];else if(x==null)x=u[++y];else if(k==null)k=u[--T];else if(Q(S,x,f))B(S,x,f),S=g[++_],x=u[++y];else if(Q(L,k,f))B(L,k,f),L=g[--w],k=u[--T];else if(Q(S,k,f))S.O!=="slot"&&k.O!=="slot"||J(S.S.parentNode,!1),B(S,k,f),O(ht,S.S,L.S.nextSibling),S=g[++_],k=u[--T];else if(Q(L,x,f))S.O!=="slot"&&k.O!=="slot"||J(L.S.parentNode,!1),B(L,x,f),O(ht,L.S,S.S),L=g[--w],x=u[++y];else{for(v=-1,p=_;p<=w;++p)if(g[p]&&g[p].$!==null&&g[p].$===x.$){v=p;break}v>=0?(b=g[v],b.O!==x.O?m=Z(g&&g[y],c,v):(B(b,x,f),g[v]=void 0,m=b.S),x=u[++y]):(m=Z(g&&g[y],c,y),x=u[++y]),m&&O(F(S.S).parentNode,m,F(S.S))}_>w?He(d,u[T+1]==null?null:u[T+1].S,c,u,y,T):y>T&&Re(g,_,w)})(i,n,t,l,s):l!==null?(e.h!==null&&(i.textContent=""),He(i,null,t,l,0,l.length-1)):!s&&n!==null&&Re(n,0,n.length-1),N&&o==="svg"&&(N=!1)):(a=i["s-cr"])?a.parentNode.textContent=r:e.h!==r&&(i.data=r)},j=[],Be=e=>{let t,s,i;const n=e.__childNodes||e.childNodes;for(const l of n){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){s=t.parentNode.__childNodes||t.parentNode.childNodes;const o=l["s-sn"];for(i=s.length-1;i>=0;i--)if(t=s[i],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===l["s-hn"]||t["s-sh"]&&t["s-sh"]===l["s-hn"]))if(Ce(t,o)){let r=j.find((a=>a.k===t));K=!0,t["s-sn"]=t["s-sn"]||o,r?(r.k["s-sh"]=l["s-hn"],r.N=l):(t["s-sh"]=l["s-hn"],j.push({N:l,k:t})),t["s-sr"]&&j.map((a=>{Ce(a.k,t["s-sn"])&&(r=j.find((d=>d.k===t)),r&&!a.N&&(a.N=r.N))}))}else j.some((r=>r.k===t))||j.push({k:t})}l.nodeType===1&&Be(l)}},De=e=>{e.v&&e.v.ref&&ge.push((()=>e.v.ref(null))),e.m&&e.m.map(De)},wt=(e,t)=>{ue.push((()=>e(t)))},O=(e,t,s,i)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,s);const{slotNode:n}=(function(l,o){var r;if(!(o=o||((r=l["s-ol"])==null?void 0:r.parentElement)))return{slotNode:null,slotName:""};const a=l["s-sn"]=z(l)||"";return{slotNode:re(ae(o,"childNodes"),o.tagName,a)[0],slotName:a}})(t);return n&&!i&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,s):e?.insertBefore(t,s)},Tt=(e,t,s=!1)=>{var i,n,l,o,r;const a=e.$hostElement$,d=e.o,g=e.M||q(null,null);var c;const u=(c=t)&&c.O===$e?t:h(null,null,t);if(H=a.tagName,d.C&&(u.v=u.v||{},d.C.forEach((([f,m])=>{u.v[m]=a[f]}))),s&&u.v)for(const f of Object.keys(u.v))a.hasAttribute(f)&&!["key","ref","style","class"].includes(f)&&(u.v[f]=a[f]);if(u.O=null,u.i|=4,e.M=u,u.S=g.S=a.shadowRoot||a,V=!(!(1&d.i)||128&d.i),de=a["s-cr"],K=!1,B(g,u,s),C.i|=1,Y){Be(u.S);for(const f of j){const m=f.k;if(!m["s-ol"]&&I.document){const b=I.document.createTextNode("");b["s-nr"]=m,O(m.parentNode,m["s-ol"]=b,m,s)}}for(const f of j){const m=f.k,b=f.N;if(m.nodeType===1&&s&&(m["s-ih"]=(i=m.hidden)!=null&&i),b){const _=b.parentNode;let y=b.nextSibling;if(y&&y.nodeType===1){let v=(n=m["s-ol"])==null?void 0:n.previousSibling;for(;v;){let p=(l=v["s-nr"])!=null?l:null;if(p&&p["s-sn"]===m["s-sn"]&&_===(p.__parentNode||p.parentNode)){for(p=p.nextSibling;p===m||p?.["s-sr"];)p=p?.nextSibling;if(!p||!p["s-nr"]){y=p;break}}v=v.previousSibling}}if((!y&&_!==(m.__parentNode||m.parentNode)||(m.__nextSibling||m.nextSibling)!==y)&&m!==y){if(O(_,m,y,s),m.nodeType===8&&m.nodeValue.startsWith("s-nt-")){const v=I.document.createTextNode(m.nodeValue.replace(/^s-nt-/,""));v["s-hn"]=m["s-hn"],v["s-sn"]=m["s-sn"],v["s-sh"]=m["s-sh"],v["s-sr"]=m["s-sr"],v["s-ol"]=m["s-ol"],v["s-ol"]["s-nr"]=v,O(m.parentNode,v,m,s),m.parentNode.removeChild(m)}m.nodeType===1&&m.tagName!=="SLOT-FB"&&(m.hidden=(o=m["s-ih"])!=null&&o)}m&&typeof b["s-rf"]=="function"&&b["s-rf"](b)}else m.nodeType===1&&(m.hidden=!0)}}if(K&&Te(u.S),C.i&=-2,j.length=0,!V&&!(1&d.i)&&a["s-cr"]){const f=u.S.__childNodes||u.S.childNodes;for(const m of f)if(m["s-hn"]!==H&&!m["s-sh"]){if(s&&m["s-ih"]==null&&(m["s-ih"]=(r=m.hidden)!=null&&r),m.nodeType===1)m.hidden=!0;else if(m.nodeType===3&&m.nodeValue.trim()){const b=I.document.createComment("s-nt-"+m.nodeValue);b["s-sn"]=m["s-sn"],O(m.parentNode,b,m,s),m.parentNode.removeChild(m)}}}de=void 0,ge.forEach((f=>f())),ge.length=0,ue.forEach((f=>f())),ue.length=0},ze=(e,t)=>{if(t&&!e.A&&t["s-p"]){const s=t["s-p"].push(new Promise((i=>e.A=()=>{t["s-p"].splice(s-1,1),i()})))}},me=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);ze(e,e.R);const s=()=>Ct(e,t);if(!t)return vt(s);queueMicrotask((()=>{s()}))},Ct=(e,t)=>{const s=e.$hostElement$,i=s;if(!i)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let n;return n=W(i,t?"componentWillLoad":"componentWillUpdate",void 0,s),n=Ve(n,(()=>W(i,"componentWillRender",void 0,s))),Ve(n,(()=>$t(e,i,t)))},Ve=(e,t)=>Nt(e)?e.then(t).catch((s=>{console.error(s),t()})):t(),Nt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",$t=async(e,t,s)=>{var i;const n=e.$hostElement$,l=n["s-rc"];s&&(o=>{const r=o.o,a=o.$hostElement$,d=r.i,g=((c,u)=>{var f,m,b;const _=Ne(u),y=U.get(_);if(!I.document)return _;if(c=c.nodeType===11?c:I.document,y)if(typeof y=="string"){let v,p=E.get(c=c.head||c);if(p||E.set(c,p=new Set),!p.has(_)){v=I.document.createElement("style"),v.textContent=y;const w=(f=C._)!=null?f:(function(){var S,L,T;return(T=(L=(S=I.document.head)==null?void 0:S.querySelector('meta[name="csp-nonce"]'))==null?void 0:L.getAttribute("content"))!=null?T:void 0})();if(w!=null&&v.setAttribute("nonce",w),!(1&u.i))if(c.nodeName==="HEAD"){const S=c.querySelectorAll("link[rel=preconnect]"),L=S.length>0?S[S.length-1].nextSibling:c.querySelector("style");c.insertBefore(v,L?.parentNode===c?L:null)}else if("host"in c)if(se){const S=new((m=c.defaultView)!=null?m:c.ownerDocument.defaultView).CSSStyleSheet;S.replaceSync(y),ie?c.adoptedStyleSheets.unshift(S):c.adoptedStyleSheets=[S,...c.adoptedStyleSheets]}else{const S=c.querySelector("style");S?S.textContent=y+S.textContent:c.prepend(v)}else c.append(v);1&u.i&&c.insertBefore(v,null),4&u.i&&(v.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),p&&p.add(_)}}else{let v=E.get(c);if(v||E.set(c,v=new Set),!v.has(_)){const p=(b=c.defaultView)!=null?b:c.ownerDocument.defaultView;let w;if(y.constructor===p.CSSStyleSheet)w=y;else{w=new p.CSSStyleSheet;for(let S=0;S<y.cssRules.length;S++)w.insertRule(y.cssRules[S].cssText,S)}ie?c.adoptedStyleSheets.push(w):c.adoptedStyleSheets=[...c.adoptedStyleSheets,w],v.add(_)}}return _})(a.shadowRoot?a.shadowRoot:a.getRootNode(),r);10&d&&(a["s-sc"]=g,a.classList.add(g+"-h"))})(e),kt(e,t,n,s),l&&(l.map((o=>o())),n["s-rc"]=void 0);{const o=(i=n["s-p"])!=null?i:[],r=()=>Ot(e);o.length===0?r():(Promise.all(o).then(r).catch(r),e.i|=4,o.length=0)}},kt=(e,t,s,i)=>{try{t=t.render(),e.i&=-17,e.i|=2,Tt(e,t,i)}catch(n){G(n,e.$hostElement$)}return null},Ot=e=>{const t=e.$hostElement$,s=t,i=e.R;W(s,"componentDidRender",void 0,t),64&e.i?W(s,"componentDidUpdate",void 0,t):(e.i|=64,jt(t),W(s,"componentDidLoad",void 0,t),e.L(t),i||At()),e.A&&(e.A(),e.A=void 0),512&e.i&&oe((()=>me(e,!1))),e.i&=-517},At=()=>{oe((()=>Lt(I,"appload",{detail:{namespace:"gids-core-web"}})))},W=(e,t,s,i)=>{if(e&&e[t])try{return e[t](s)}catch(n){G(n,i)}},jt=e=>e.classList.add("hydrated"),Fe=(e,t,s,i)=>{const n=A(e);if(!n)return;const l=e,o=n.l.get(t),r=n.i,a=l;s=Ae(s,i.t[t][0],!!(64&i.i));const d=Number.isNaN(o)&&Number.isNaN(s);if(s!==o&&!d){if(n.l.set(t,s),i.F){const g=i.F[t];g&&g.map((c=>{try{const[[u,f]]=Object.entries(c);(128&r||1&f)&&(a?a[u](s,o,t):n.T.push((()=>{n.D[u](s,o,t)})))}catch(u){G(u,l)}}))}if(2&r){if(a.componentShouldUpdate&&a.componentShouldUpdate(s,o,t)===!1&&!(16&r))return;16&r||me(n,!1)}}},Pt=(e,t,s)=>{var i,n;const l=e.prototype;64&t.i&&1&s&&ut.forEach((o=>{const r=l[o];Object.defineProperty(l,o,{value(...a){var d;const g=A(this),c=this;c?typeof r=="function"&&r.call(c,...a):(d=g?.H)==null||d.then((u=>{const f=u[o];typeof f=="function"&&f.call(u,...a)}))}})}));{e.watchers&&!t.F&&(t.F=Oe(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const o=Object.entries((i=t.t)!=null?i:{});o.map((([r,[a]])=>{if(31&a||32&a){const{get:d,set:g}=R(l,r)||{};d&&(t.t[r][0]|=2048),g&&(t.t[r][0]|=4096),Object.defineProperty(l,r,{get(){return d?d.apply(this):(c=r,A(this).l.get(c));var c},configurable:!0,enumerable:!0}),Object.defineProperty(l,r,{set(c){const u=A(this);if(u){if(g)return(32&a?this[r]:u.$hostElement$[r])===void 0&&u.l.get(r)&&(c=u.l.get(r)),g.apply(this,[Ae(c,a,!!(64&t.i))]),void Fe(this,r,c=32&a?this[r]:u.$hostElement$[r],t);Fe(this,r,c,t)}}})}}));{const r=new Map;l.attributeChangedCallback=function(a,d,g){C.jmp((()=>{var c;const u=r.get(a),f=A(this);if(this.hasOwnProperty(u),l.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==g)return;if(u==null){const v=f?.i;if(f&&v&&!(8&v)&&g!==d){const p=this,w=(c=t.F)==null?void 0:c[a];w?.forEach((S=>{const[[L,T]]=Object.entries(S);p[L]!=null&&(128&v||1&T)&&p[L].call(p,g,d,a)}))}return}const m=o.find((([v])=>v===u)),b=m&&4&m[1][0],_=b&&g===null&&this[u]===void 0;b&&(g=g!==null&&g!=="false");const y=Object.getOwnPropertyDescriptor(l,u);_||g==this[u]||y.get&&!y.set||(this[u]=g)}))},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.F)!=null?n:{}),...o.filter((([a,d])=>31&d[0])).map((([a,d])=>{var g;const c=d[1]||a;return r.set(c,a),512&d[0]&&((g=t.C)==null||g.push([a,c])),c}))]))}}return e},Et=(e,t)=>{const s={i:t[0],p:t[1]};try{s.t=t[2],s.W=t[3],s.F=Oe(e.F),s.P=e.P,s.U=e.U,s.C=[];const i=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((l,o)=>{const r={i:0,$hostElement$:l,o,l:new Map,B:new Map};r.H=new Promise((d=>r.L=d)),l["s-p"]=[],l["s-rc"]=[];const a=r;l.__stencil__getHostRef=()=>a,512&o.i&&gt(l,r)})(this,s)},connectedCallback(){if(!this.__hasHostListenerAttached){const l=A(this);if(!l)return;Ue(this,l,s.W),this.__hasHostListenerAttached=!0}(l=>{if(!(1&C.i)){const o=A(l);if(!o)return;const r=o.o;if(1&o.i)Ue(l,o,r.W),o?.D||o?.H&&o.H.then((()=>{}));else{o.i|=1,12&r.i&&(a=>{if(!I.document)return;const d=a["s-cr"]=I.document.createComment("");d["s-cn"]=!0,O(a,d,a.firstChild)})(l);{let a=l;for(;a=a.parentNode||a.host;)if(a["s-p"]){ze(o,o.R=a);break}}r.t&&Object.entries(r.t).map((([a,[d]])=>{if(31&d&&Object.prototype.hasOwnProperty.call(l,a)){const g=l[a];delete l[a],l[a]=g}})),(async(a,d,g)=>{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 m;typeof c.style=="string"&&(m=c.style);const b=Ne(g);U.has(b)||((_,y,v)=>{let p=U.get(_);se&&v?(p=p||new CSSStyleSheet,typeof p=="string"?p=y:p.replaceSync(y)):p=y,U.set(_,p)})(b,m,!!(1&g.i))}const u=d.R,f=()=>me(d,!0);u&&u["s-rc"]?u["s-rc"].push(f):f()}catch(u){G(u,a),d.A&&(d.A(),d.A=void 0),d.L&&d.L(a)}})(l,o,r)}}})(this),i&&i.call(this)},disconnectedCallback(){(async l=>{if(!(1&C.i)){const o=A(l);o?.V&&(o.V.map((r=>r())),o.V=void 0)}E.has(l)&&E.delete(l),l.shadowRoot&&E.has(l.shadowRoot)&&E.delete(l.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${s.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else yt.call(this,s)}}),Object.defineProperty(e,"is",{value:s.p,configurable:!0}),Pt(e,s,3)}catch(i){return G(i),e}},We=(e,t)=>t,Ue=(e,t,s)=>{s&&I.document&&s.map((([i,n,l])=>{const o=Gt(I.document,e,i),r=Mt(t,l),a=Ht(i);C.ael(o,n,r,a),(t.V=t.V||[]).push((()=>C.rel(o,n,r,a)))}))},Mt=(e,t)=>s=>{try{e.$hostElement$[t](s)}catch(i){G(i,e.$hostElement$)}},Gt=(e,t,s)=>8&s?I:t,Ht=e=>ft?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function js(e){return e}function qe(e){var t,s,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(s=qe(e[t]))&&(i&&(i+=" "),i+=s)}else for(s in e)e[s]&&(i&&(i+=" "),i+=s);return i}function $(){for(var e,t,s=0,i="",n=arguments.length;s<n;s++)(e=arguments[s])&&(t=qe(e))&&(i&&(i+=" "),i+=t);return i}const Rt=Object.freeze(Object.defineProperty({__proto__:null,getElementVisibility:e=>{const{label:t,supportingText:s}=e,i=typeof t=="string"&&t.trim().length>0,n=typeof s=="string"&&s.trim().length>0;return{hasLabel:i,hasSupportingText:n}}},Symbol.toStringTag,{value:"Module"})),X=64,Ke=10,Ye=X/2-Ke/2,Bt=X/2,fe=2*Math.PI*Ye,Dt=`0 0 ${X} ${X}`,zt=Object.freeze(Object.defineProperty({__proto__:null,calculateStrokeDasharray:(e=0,t)=>{const s=typeof t=="number"&&t>0?t:1,n=Math.max(0,Math.min(s,e))/s*100,l=(fe*n/100).toFixed(2),o=(fe-parseFloat(l)).toFixed(2);return`${l} ${o}`},centerPosition:Bt,circumference:fe,radius:Ye,thickness:Ke,viewBox:Dt},Symbol.toStringTag,{value:"Module"})),Vt=Object.freeze(Object.defineProperty({__proto__:null,getGidsButtonGroupClassNames:({layout:e},t)=>$("gids-button-group",{"gids-button-group--scroll":e==="scroll"},t)},Symbol.toStringTag,{value:"Module"})),Ft=Object.freeze(Object.defineProperty({__proto__:null,getGidsButtonClassNames:({appearance:e,size:t,width:s,destructive:i,positive:n,loading:l},o,r)=>$("gids-button",{"gids-button--primary":e==="primary","gids-button--subtle":e==="subtle","gids-button--xs":t==="xs","gids-button--sm":t==="sm","gids-button--lg":t==="lg","gids-button--full-width":s==="full","gids-button--destructive":i&&!n,"gids-button--positive":n&&!i,"gids-button--icon-only":o,"gids-button--loading":l},r)},Symbol.toStringTag,{value:"Module"})),Wt=Object.freeze(Object.defineProperty({__proto__:null,getGidsCheckboxControlClassNames:e=>$("gids-checkbox-control",e)},Symbol.toStringTag,{value:"Module"})),Ut=Object.freeze(Object.defineProperty({__proto__:null,getGidsDividerClassNames:({orientation:e},t)=>$("gids-divider",{"gids-divider--vertical":e==="vertical"},t)},Symbol.toStringTag,{value:"Module"})),qt=Object.freeze(Object.defineProperty({__proto__:null,getGidsEditButtonClassNames:({size:e},t)=>$("gids-edit-button",{"gids-edit-button--xs":e==="xs","gids-edit-button--sm":e==="sm","gids-edit-button--lg":e==="lg"},t)},Symbol.toStringTag,{value:"Module"})),Kt=Object.freeze(Object.defineProperty({__proto__:null,getGidsHeadingClassNames:e=>$("gids-heading",e),getGidsHeadingSupportingTextTypographyClass:e=>e&&e.toString()!==""&&e!=="(none)"?`gids-typography-${e}`:""},Symbol.toStringTag,{value:"Module"})),Yt=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>$("gids-icon",{"gids-icon--xs":e==="xs","gids-icon--sm":e==="sm","gids-icon--md":e==="md","gids-icon--lg":e==="lg"},t)},Symbol.toStringTag,{value:"Module"})),Zt=Object.freeze(Object.defineProperty({__proto__:null,getGidsListItemClassNames:({disabled:e,selected:t},s)=>$("gids-list-item",{"gids-list-item--selected":t,"gids-list-item--disabled":e},s)},Symbol.toStringTag,{value:"Module"})),Jt=Object.freeze(Object.defineProperty({__proto__:null,getGidsMenuGroupClassNames:({type:e},t)=>$("gids-menu-group",{"gids-menu-group--default":e==="default","gids-menu-group--no-options":e==="no-options","gids-menu-group--loading":e==="loading"},t)},Symbol.toStringTag,{value:"Module"})),Qt=Object.freeze(Object.defineProperty({__proto__:null,getGidsMenuClassNames:e=>$("gids-menu",e)},Symbol.toStringTag,{value:"Module"})),Xt=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerControlClassNames:({size:e,indeterminate:t,value:s},i)=>$("gids-spinner-control",{"gids-spinner-control--xs":e==="xs","gids-spinner-control--sm":e==="sm","gids-spinner-control--lg":e==="lg","gids-spinner-control--xl":e==="xl","gids-spinner-control--2xl":e==="2xl","gids-spinner-control--determinate":t===!1},s,i)},Symbol.toStringTag,{value:"Module"})),es=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerClassNames:({size:e},t)=>$("gids-spinner",{"gids-spinner--xs":e==="xs","gids-spinner--sm":e==="sm","gids-spinner--lg":e==="lg","gids-spinner--xl":e==="xl","gids-spinner--2xl":e==="2xl"},t)},Symbol.toStringTag,{value:"Module"})),ts=Object.freeze(Object.defineProperty({__proto__:null,getGidsTransferListClassNames:e=>$("gids-transfer-list",e)},Symbol.toStringTag,{value:"Module"})),pe=Symbol("defaultPath"),Ze=Symbol("pathSet"),ve="gids-asset-paths-set";class ss extends EventTarget{#s=new Map;constructor(){super()}#e(t,s){this.#s.set(t,s)}#t(t){return this.#s.get(t)??null}#i=()=>{this.dispatchEvent(new Event(ve))};haveAssetPathsBeenSet(){return this.#t(Ze)!==null}setAssetPaths(t,s){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(pe,t);else{for(const i in t)this.#e(i,t[i]);s&&this.#e(pe,s)}this.#e(Ze,"true"),setTimeout(this.#i,0)}}getAssetFilePath(t){const s=this.#t(t);if(s===null){const i=this.#t(pe);if(i!==null)return`${i}${i.endsWith("/")?"":"/"}${t}`}return s}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(ve,t,{once:!0}),()=>{this.removeEventListener(ve,t)}}}const ye=Symbol.for("GIDS"),is=()=>(globalThis[ye]===void 0&&(globalThis[ye]={assetPaths:{}}),globalThis[ye]),ns=e=>{const t=is().assetPaths;return t[e]===void 0&&(t[e]=new ss),t[e]};function Se(){return ns("@ganpatiinfo/gids-web-shared")}function ls(){return Se().haveAssetPathsBeenSet()}function Je(e){return Se().getAssetFilePath(e)}function os(e){return Se().onAssetPathsSet(e)}let rs=0;const as=(e,t="gids")=>e||`${t}-${rs++}`,Qe=e=>e!==void 0&&(!Array.isArray(e)||e.length>0),{getGidsSpinnerControlClassNames:ds}=Xt,{calculateStrokeDasharray:cs,thickness:Xe,radius:et,centerPosition:ee,viewBox:hs}=zt,tt=({size:e,indeterminate:t,value:s,max:i,...n})=>{let l;return t||(l={strokeDashArray:cs(s,i||0),strokeDashoffset:"0"}),h("svg",{class:ds({size:e,indeterminate:t,value:s}),viewBox:hs,...n},h("circle",{class:"gids-spinner-control__track",cx:ee,cy:ee,r:et,"stroke-width":Xe}),h("circle",{style:l,class:"gids-spinner-control__progress",cx:ee,cy:ee,r:et,"stroke-width":Xe}))},{getGidsSpinnerClassNames:gs}=es,{getElementVisibility:us}=Rt,ms=({label:e,supportingText:t,size:s,indeterminate:i,value:n,max:l,class:o,...r})=>{const{hasLabel:a,hasSupportingText:d}=us({label:e,supportingText:t});return h("span",{class:gs({size:s},o),...r},h(tt,{size:s,indeterminate:i,value:n,max:l}),a&&h("span",{class:"gids-spinner__label"},e),d&&h("span",{class:"gids-spinner__supporting-text"},t))},st={"icons-other.svg":["accessibility","add","remove","announcement","approval","archive","audio","backward","banking","battery","bluetooth","bookmark","bulb","calendar","camera","card","cart","chart","chat","cloud","code","compass","desktop","email","emergency","exchange","finance","fingerprint","flag","folder","forward","gift","globe","goals","happy","hashtag","headphones","history","image","insurance","investment","in-progress","key","link","list","location","lock","map","maximise","microphone","minimise","mobile","moon","network","neutral","ai","new","draft","pending","new-chat","pause","percent","placeholder","play","power","rain","refresh","repeat","sad","save","savings","shield","shuffle","side-navigation","snow","speaker","stop","sun","tablet","temperature","thumbs-down","thumbs-up","travel","trend-down","trend-up","unlock","upset","verified","very-happy","video","volume-down","volume-max","volume-min","volume-mute","volume-up","wallet","wealth","wi-fi","wind"],"icons-core.svg":["arrow-down","arrow-left","arrow-right","arrow-up","attachment","checkmark","chevron-down","chevron-horizontal","chevron-left","chevron-right","chevron-up","chevron-vertical","copy","cross","danger","dashboard","delete","document","download","drag","edit","external","eye","filter","grid","hide","home","information","log-in","log-out","menu","minus","more","notifications","options","phone","plus","positive","printer","question","search","select","select-all","send","settings","share","star","time","upload","user","users","warning"]},it=new Map;for(const e in st)for(const t of st[e])it.set(t,e);function fs(e){return it.get(e)}function nt(e,t="regular",s){const i=fs(e);let n=i??"";return s&&i&&(n=s(i)??i),`${n}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:ps}=Yt,P=({name:e,size:t,appearance:s,alt:i,class:n,titleId:l,src:o,...r})=>{const a=as(l);let d=o;return d===void 0&&ls()&&(d=nt(e,s,Je)),h("svg",{ref:g=>{d===void 0&&os((()=>{(function(c,u,f){if(!c)return;const m=document.createElementNS("http://www.w3.org/2000/svg","use");m.setAttribute("href",nt(u,f,Je)),c.appendChild(m)})(g,e,s)}))},width:"16",height:"16",class:ps({size:t},n),role:"img","aria-hidden":i===""?"true":void 0,"aria-labelledby":i===""?void 0:a,...r},i!==""&&h("title",{id:a},i||e),d!==void 0?h("use",{href:d}):null)},{getGidsButtonGroupClassNames:vs}=Vt,ys=({layout:e,class:t},s)=>h("span",{class:vs({layout:e},t)},s),{getGidsHeadingClassNames:Ss,getGidsHeadingSupportingTextTypographyClass:bs}=Kt,_s=({heading:e,supportingText:t,level:s="section",children:i,supportingTextTypography:n,class:l})=>h("div",{class:Ss(l)},h("div",{class:"gids-heading__content-container"},e!=null&&e!==""?typeof e=="string"?e!==""?h("span",{class:s==="section"?"gids-heading__heading-text-section":"gids-heading__heading-text-group"},e):null:e:null,t!=null&&t!==""?typeof t=="string"?t!==""?h("span",{class:`${s==="section"?"gids-heading__supporting-text-section":"gids-heading__supporting-text-group"} ${bs(n)}`},t):null:t:null),i?h(ys,{layout:"wrap"},i):null),{getGidsEditButtonClassNames:Ls}=qt,Is=({disabled:e,children:t,size:s="md",editButtonType:i="add",onPressEditButton:n,class:l,...o})=>h("button",{class:Ls({size:s},l),...o,onClick:n,disabled:e},i==="custom"&&t?h("div",null,t):i==="add"?h("div",{class:e?"gids-edit-button__add gids-edit-button__disabled":"gids-edit-button__add"},h(P,{name:"add",appearance:"filled",size:s})):i==="remove"?h("div",{class:e?"gids-edit-button__remove gids-edit-button__disabled":"gids-edit-button__remove"},h(P,{appearance:"filled",name:"remove",size:s})):void 0),{getGidsDividerClassNames:xs}=Ut,lt=({orientation:e})=>h("hr",{class:xs({orientation:e})}),{getGidsListItemClassNames:ws}=Zt,ot=({id:e,value:t,index:s,defaultSelected:i,disabled:n,selected:l,editButton:o,onPressEditButton:r,onPressListItem:a,leadingAccessory:d,leadingSupport:g,leadingParagraph:c,trailingContent:u,trailingAccessory:f,trailingSupport:m,trailingParagraph:b,divider:_,role:y="list-item-option",isPlaceholderItem:v,class:p,...w},S)=>{const L=l||i;return h("button",{type:"button",id:e,class:ws({selected:L,disabled:n},p),role:y,"aria-selected":L?"true":"false",disabled:n,value:(()=>{if(typeof t=="string"&&t.trim()!=="")return t;const T=S;return T?(Array.isArray(T)?T:[T]).map((x=>typeof x=="string"||typeof x=="number"?String(x):x&&typeof x=="object"&&"text"in x?x.text??"":"")).join("").trim():""})(),tabIndex:s,onClick:T=>{const x=T.currentTarget;if(!x||T.defaultPrevented||x.disabled)return;const k=new CustomEvent("onPressListItem",{bubbles:!0,composed:!0,detail:{selectedIndex:s,defaultSelected:i,isPlaceholderItem:v}});a?.(k)},"is-placeholder-item":v?"true":"false",...w},h("div",{class:"gids-list-item__main-container"},o==null||o==="none"||n?null:h(Is,{size:"md",editButtonType:o,onPressEditButton:r}),d!=null?h("div",{class:n?"gids-list-item__leading-accessory-container gids-list-item__accessory-content-disabled":"gids-list-item__leading-accessory-container"},d):null,h("div",{class:"gids-list-item__middle-content-container"},h("div",{class:"gids-list-item__leading-content-container"},h(We,null,S!=null?h("span",{class:n?"gids-list-item__leading-content-label gids-list-item__text-content-disabled":"gids-list-item__leading-content-label"},S):null,h("div",{class:"gids-list-item__leading-support-content"},g!=null?typeof g=="string"?h("p",{class:n?"gids-list-item__leading-content-supporting-text gids-list-item__text-content-disabled":"gids-list-item__leading-content-supporting-text"},g):g:null,c!=null?typeof c=="string"?h("p",{class:n?"gids-list-item__leading-content-paragraph-text gids-list-item__text-content-disabled":"gids-list-item__leading-content-paragraph-text"},c):c:null))),h("div",{class:"gids-list-item__trailing-content-container"},h(We,null,u!=null?typeof u=="string"?h("span",{class:n?"gids-list-item__trailing-content-label gids-list-item__text-content-disabled":"gids-list-item__trailing-content-label"},u):u:null,h("div",{class:"gids-list-item__trailing-support-content"},m!=null?typeof m=="string"?h("p",{class:n?"gids-list-item__trailing-content-supporting-text gids-list-item__text-content-disabled":"gids-list-item__trailing-content-supporting-text"},m):m:null,b!=null?typeof b=="string"?h("p",{class:n?"gids-list-item__trailing-content-paragraph-text gids-list-item__text-content-disabled":"gids-list-item__trailing-content-paragraph-text"},b):b:null)))),L?h("div",{class:n?"gids-list-item__trailing-accessory-container gids-list-item__accessory-content-disabled":"gids-list-item__trailing-accessory-container"},h(P,{name:"checkmark",size:"md",appearance:"regular"})):null,L||f==null?null:h("div",{class:n?"gids-list-item__trailing-accessory-container gids-list-item__accessory-content-disabled":"gids-list-item__trailing-accessory-container"},f)),_&&!L?h("div",{class:"gids-list-item__divider"},h(lt,{orientation:"horizontal"})):null)},{getGidsButtonClassNames:Ts}=Ft,te=({appearance:e,size:t,destructive:s,positive:i,loading:n,width:l,leadingIcon:o,trailingIcon:r,as:a,disabled:d,class:g,forceIconOnly:c=!1,...u},f)=>{const m=a||"button",b=t==="lg"||t===void 0?"md":t;return m!=="button"||"type"in u||(u.type="button"),h(m,{class:Ts({appearance:e,size:t,destructive:s,loading:n,width:l,positive:i},c||f.length===0&&Qe(o)&&!Qe(r),g),disabled:m==="button"?d:void 0,...u},h("span",{class:"gids-button__content"},o,f),n&&h(tt,{size:b,indeterminate:!0}),r)},{getGidsMenuGroupClassNames:Cs}=Jt,rt=({type:e="no-options",supportingText:t="No options",class:s,...i},n)=>h("div",{class:Cs({type:e},s),...i},e==="loading"?h(ms,{indeterminate:!0,size:"md"}):null,e==="no-options"?h("span",null,t):null,e==="default"&&n!=null?n:null),{getGidsMenuClassNames:Ns}=Qt,at=({heading:e,supportingText:t,level:s,supportingTextTypography:i,isHeaderDividerVisible:n=!1,class:l,...o},r)=>h("div",{class:Ns(l),...o},e!=null&&e!==""||t!=null&&t!==""?h(_s,{heading:e,supportingText:t,level:s,supportingTextTypography:i??"eyebrow-medium"}):null,n?h("div",{class:"gids-menu__header-divider"},h(lt,{orientation:"horizontal"})):void 0,r!=null?h("div",{class:"gids-menu__children"},r):null),{getGidsCheckboxControlClassNames:$s}=Wt,be=({checked:e,defaultChecked:t,disabled:s,indeterminate:i,inputId:n,name:l,value:o,required:r,onChange:a,class:d,...g})=>h("span",{class:$s(d),...g},h("input",{class:"gids-checkbox-control__input",type:"checkbox",disabled:s,checked:e,defaultChecked:t,required:r,indeterminate:i,value:o,id:n,name:l,onChange:a}),h(P,{class:"gids-checkbox-control__check",name:"checkmark",alt:"",size:"sm"}),h(P,{class:"gids-checkbox-control__minus",name:"minus",alt:"",size:"sm"})),{getGidsTransferListClassNames:ks}=ts,dt=Et(class extends mt{constructor(e){super(),e!==!1&&this.__registerHost(),this.leftListHeading="Choices",this.rightListHeading="Choosen",this.moveAllVisible=!1,this.transferListType="basic",this.leftListItems=[],this.rightListItems=[],this.listsMaxHeight="200px",this.leftListItemsState=[],this.rightListItemsState=[],this.tempLeftListItemsState=[],this.tempRightListItemsState=[]}handleListsMaxHeightChange(e){this.listsMaxHeight=e}handleLeftListHeadingChange(e){this.leftListHeading=e}handleRightListHeadingChange(e){this.rightListHeading=e}handleMoveAllVisibilityChange(e){this.moveAllVisible=e}handleTransferListTypeChange(e){this.transferListType=e}handleLeftListItemsChange(e){this.leftListItems=e,this.setListItemsStates()}handleRightListItemsChange(e){this.rightListItems=e,this.setListItemsStates()}componentDidLoad(){this.setListItemsStates()}setListItemsStates(){this.leftListItemsState=this.leftListItems,this.rightListItemsState=this.rightListItems}getListHeading(e){return e==="left"?this.leftListHeading:this.rightListHeading}getListSupportingText(e){let t=this?.tempLeftListItemsState??[],s=this?.leftListItemsState??[];return e==="right"&&(t=this?.tempRightListItemsState??[],s=this?.rightListItemsState??[]),`${t.length} of ${s.length} selected`}isAllItemsSelectedInList({listSide:e}){const t=this.getStateListsItemsArr(e),s=this.getTempListsItemsArr(e);return t.length>0&&t.length===s.length}isAtleastOneItemSelectedInList({listSide:e}){const t=this.getStateListsItemsArr(e),s=this.getTempListsItemsArr(e);return s.length>0&&s.length<t.length}renderListHeading(e){if((this?.transferListType??"basic")!=="basic"){const t=this.isAllItemsSelectedInList({listSide:e}),s=this.isAtleastOneItemSelectedInList({listSide:e});return h("div",{class:"gids-transfer-list__menu-heading-container"},h(be,{checked:t||s,onChange:i=>this.selectUnselectAllItems({event:i,listSide:e}),indeterminate:s}),h("div",{class:"gids-transfer-list__menu-heading-text-content-container"},h("span",{class:"gids-transfer-list__heading-text"},this.getListHeading(e)),h("span",{class:"gids-transfer-list__heading-support-text"},this.getListSupportingText(e))))}}listItemSelection({event:e,pressedIndex:t,listSide:s}){this.selectUnselectListItem({event:e,pressedIndex:t,listSide:s})}onPressingListItem({event:e,pressedIndex:t,listSide:s}){this.listItemSelection({event:e,pressedIndex:t,listSide:s})}selectUnselectListItem({event:e,pressedIndex:t,listSide:s}){const i=this.getStateListsItemsArr(s)[t];let n=!1;if(s==="left"&&i){const l=this?.tempLeftListItemsState??[],o=l.findIndex((r=>r?.id===i?.id));o!=null&&o!==-1?(l.splice(o,1),n=!1):(l.push(i),n=!0),this.tempLeftListItemsState=l,this.leftListItemsState=this?.leftListItemsState?[...this.leftListItemsState]:[]}else if(s==="right"&&i){const l=this?.tempRightListItemsState??[],o=l.findIndex((r=>r?.id===i?.id));o!=null&&o!==-1?(l.splice(o,1),n=!1):(l.push(i),n=!0),this.tempRightListItemsState=l,this.rightListItemsState=this?.rightListItemsState?[...this.rightListItemsState]:[]}this.callOnTransferListSelectFunc({event:e,isSelected:n,listSide:s,selectedIndexes:[t],selectionType:"single"})}isItemSelected({id:e,listSide:t}){const s=this.getTempListsItemsArr(t);return s.length>0&&!!s.find((i=>i?.id===e))}getStateListsItemsArr(e){let t=this?.leftListItemsState??[];return e==="right"&&(t=this?.rightListItemsState??[]),t}getTempListsItemsArr(e){let t=this?.tempLeftListItemsState??[];return e==="right"&&(t=this?.tempRightListItemsState??[]),t}selectUnselectAllItems({event:e,listSide:t}){const s=this.getStateListsItemsArr(t),i=this.isAllItemsSelectedInList({listSide:t}),n=this.isAtleastOneItemSelectedInList({listSide:t});t==="left"?this.tempLeftListItemsState=i||n?[]:[...s]:this.tempRightListItemsState=i||n?[]:[...s];const l=[];i||n||s.map(((o,r)=>{l.push(r)})),this.callOnTransferListSelectFunc({event:e,isSelected:!i&&!n,listSide:t,selectedIndexes:l,selectionType:"all"})}callOnTransferListSelectFunc({event:e,isSelected:t,listSide:s,selectedIndexes:i,selectionType:n}){this.onTransferListSelect&&this.onTransferListSelect({originalEvent:e,originalLeftListItems:this?.leftListItems??[],originalRightListItems:this?.rightListItems??[],currentLeftListItems:this?.leftListItemsState??[],currentRightListItems:this?.rightListItemsState??[],leftListSelectedItems:this?.tempLeftListItemsState??[],rightListSelectedItems:this?.tempRightListItemsState??[],selectedIndexes:i,selectionType:n,listSide:s,isSelected:t})}movementButtonDisabled({listSide:e,movementType:t}){if(e==="left"){const s=this?.leftListItemsState&&this.leftListItemsState.length>0?this.leftListItemsState.length:0;if(t==="move-single")return!(s>0&&(this?.tempLeftListItemsState&&this.tempLeftListItemsState.length>0?this.tempLeftListItemsState.length:0)>0);if(t==="move-all")return!(s>0)}else if(e==="right"){const s=this?.rightListItemsState&&this.rightListItemsState.length>0?this.rightListItemsState.length:0;if(t==="move-single")return!(s>0&&(this?.tempRightListItemsState&&this.tempRightListItemsState.length>0?this.tempRightListItemsState.length:0)>0);if(t==="move-all")return!(s>0)}return!0}callOnTransferAction({transferTo:e,transferFrom:t,movementType:s,newTransferredItems:i}){this.onTransferAction&&this.onTransferAction({transferTo:e,transferFrom:t,originalLeftListItems:this?.leftListItems??[],originalRightListItems:this?.rightListItems??[],currentLeftListItems:this?.leftListItemsState??[],currentRightListItems:this?.rightListItemsState??[],leftListSelectedItems:this?.tempLeftListItemsState??[],rightListSelectedItems:this?.tempRightListItemsState??[],newTransferredItems:i,movementType:s})}clearListSystem({event:e,listSide:t,movementType:s}){if(console.log("event",e),console.log("listSide",t),console.log("movementType",s),!this.movementButtonDisabled({listSide:t,movementType:s})){if(t==="left")if(s==="move-single"){const i=this?.tempLeftListItemsState??[],n=this?.leftListItemsState??[];if(n.length>0){const l=[];n.map((o=>{i.find((r=>r?.id===o?.id))||l.push(o)})),this.leftListItemsState=[...l]}this.tempLeftListItemsState=[]}else s==="move-all"&&(this.leftListItemsState=[],this.tempLeftListItemsState=[]);else if(t==="right")if(s==="move-single"){const i=this?.tempRightListItemsState??[],n=this?.rightListItemsState??[];if(n.length>0){const l=[];n.map((o=>{i.find((r=>r?.id===o?.id))||l.push(o)})),this.rightListItemsState=[...l]}this.tempRightListItemsState=[]}else s==="move-all"&&(this.rightListItemsState=[],this.tempRightListItemsState=[])}}moveListItems({event:e,listSide:t,movementType:s}){if(!this.movementButtonDisabled({listSide:t,movementType:s})){const i=this?.leftListItemsState??[],n=this?.rightListItemsState??[],l=this?.tempLeftListItemsState??[],o=this?.tempRightListItemsState??[];let r=[];t==="left"?s==="move-single"?(this.rightListItemsState=[...l,...n],r=[...l]):s==="move-all"&&(this.rightListItemsState=[...i,...n],r=[...i]):t==="right"&&(s==="move-single"?(this.leftListItemsState=[...o,...i],r=[...o]):s==="move-all"&&(this.leftListItemsState=[...n,...i],r=[...n])),this.clearListSystem({event:e,listSide:t,movementType:s}),this.callOnTransferAction({transferTo:t==="left"?"right":"left",transferFrom:t,movementType:s,newTransferredItems:r})}}onItemsMovement({event:e,listSide:t,movementType:s}){this.moveListItems({event:e,listSide:t,movementType:s})}render(){const e=ks(),t=this?.leftListItemsState??[],s=this?.rightListItemsState??[],i=this.listsMaxHeight,n=this?.transferListType??"basic";return h($e,{key:"f6d27883de92122e98bd43c004ecc71cb04b2bfd",class:e},h("div",{key:"6cee295abcfa7a1e0238e11fefe61784b30e1af2",class:"gids-transfer-list__left-container"},h(rt,{key:"3ef75b241090fb7cdfe00e56019d71cc9e390201",type:t.length>0?"default":"no-options"},h(at,{key:"b176f73704f65bb733e4a6eff81ea6a0afbb9983",heading:this.renderListHeading("left"),style:{"--gidsMenuChildren-max-height":i},isHeaderDividerVisible:n!=="basic"},t.map(((l,o)=>{const r=l?.id?l.id:""+(o+1),a=this.isItemSelected({id:r,listSide:"left"});return h(ot,{id:""+r,index:o,leadingAccessory:h(be,{checked:a}),selected:a,onPressListItem:d=>this.onPressingListItem({event:d,pressedIndex:o,listSide:"left"})},l?.listLabel)}))))),h("div",{key:"954bb5d1328adb1058e26d04d5c60c71aa417a33",class:"gids-transfer-list__middle-container"},h(te,{key:"77bd61dbf02106e8a5372c5afa01138ad1791a91",leadingIcon:h(P,{name:"forward"}),appearance:"default",size:"sm",width:"full",disabled:this.movementButtonDisabled({listSide:"left",movementType:"move-all"}),onClick:l=>this.onItemsMovement({event:l,listSide:"left",movementType:"move-all"})}),h(te,{key:"eecbbaa63c5acbdf1ea2c2a5f4546b6e1247b6a3",leadingIcon:h(P,{name:"chevron-right"}),appearance:"default",size:"sm",width:"full",disabled:this.movementButtonDisabled({listSide:"left",movementType:"move-single"}),onClick:l=>this.onItemsMovement({event:l,listSide:"left",movementType:"move-single"})}),h(te,{key:"72d8f5b58abfc18ab365d822e5460d4dbf332329",leadingIcon:h(P,{name:"chevron-left"}),appearance:"default",size:"sm",width:"full",disabled:this.movementButtonDisabled({listSide:"right",movementType:"move-single"}),onClick:l=>this.onItemsMovement({event:l,listSide:"right",movementType:"move-single"})}),h(te,{key:"73dfa4e3104ec15b79d1bfda52db59fe8ba03e8b",leadingIcon:h(P,{name:"backward"}),appearance:"default",size:"sm",width:"full",disabled:this.movementButtonDisabled({listSide:"right",movementType:"move-all"}),onClick:l=>this.onItemsMovement({event:l,listSide:"right",movementType:"move-all"})})),h("div",{key:"5ac78a3c3704fda5e7c92cbb52d6a5cde45312f7",class:"gids-transfer-list__right-container"},h(rt,{key:"4c0e727d5452d11e48917ee0a8fa0d1462295771",type:s.length>0?"default":"no-options"},h(at,{key:"83f6e5578ccbcc6fe0dfac56b738e6c88498224a",heading:this.renderListHeading("right"),style:{"--gidsMenuChildren-max-height":i},isHeaderDividerVisible:n!=="basic"},s.map(((l,o)=>{const r=l?.id?l.id:""+(o+1),a=this.isItemSelected({id:r,listSide:"right"});return h(ot,{id:""+r,index:o,selected:a,leadingAccessory:h(be,{checked:a}),onPressListItem:d=>this.onPressingListItem({event:d,pressedIndex:o,listSide:"right"})},l?.listLabel)}))))))}get hostElement(){return this}static get watchers(){return{listsMaxHeight:[{handleListsMaxHeightChange:0}],leftListHeading:[{handleLeftListHeadingChange:0}],rightListHeading:[{handleRightListHeadingChange:0}],moveAllVisible:[{handleMoveAllVisibilityChange:0}],transferListType:[{handleTransferListTypeChange:0}],leftListItems:[{handleLeftListItemsChange:0}],rightListItems:[{handleRightListItemsChange:0}]}}static get style(){return".gids-transfer-list{display:flex;align-items:center;justify-content:center;gap:var(--gids-gap-500)}.gids-transfer-list .gids-menu__children{max-height:var(--gidsMenuChildren-max-height);overflow:auto}.gids-transfer-list__left-container{display:flex;width:100%;flex-direction:column}.gids-transfer-list__middle-container{display:flex;width:15%;flex-direction:column;gap:var(--gids-gap-150)}.gids-transfer-list__right-container{display:flex;width:100%;flex-direction:column}.gids-transfer-list__menu-heading-container{display:flex;align-items:flex-start;justify-content:flex-start;gap:var(--gids-gap-100)}.gids-transfer-list__menu-heading-text-content-container{display:flex;flex-direction:column}.gids-transfer-list__heading-text{font-family:var(--gids-typography-heading-x-small__font-family);font-size:var(--gids-typography-heading-x-small__font-size);font-weight:var(--gids-typography-heading-x-small__font-weight);letter-spacing:var(--gids-typography-heading-x-small__letter-spacing);line-height:var(--gids-typography-heading-x-small__line-height);text-transform:var(--gids-typography-heading-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-heading-x-small__font-variant-caps, inherit);color:var(--gids-color-text-subtle)}.gids-transfer-list__heading-support-text{font-family:var(--gids-typography-paragraph-medium__font-family);font-size:var(--gids-typography-paragraph-medium__font-size);font-weight:var(--gids-typography-paragraph-medium__font-weight);letter-spacing:var(--gids-typography-paragraph-medium__letter-spacing);line-height:var(--gids-typography-paragraph-medium__line-height);text-transform:var(--gids-typography-paragraph-medium__text-transform, inherit);font-variant-caps:var(--gids-typography-paragraph-medium__font-variant-caps, inherit);color:var(--gids-color-text-subtlest)}"}},[0,"gids-transfer-list",{leftListHeading:[1,"left-list-heading"],rightListHeading:[1,"right-list-heading"],moveAllVisible:[4,"move-all-visible"],transferListType:[1,"transfer-list-type"],leftListItems:[16],rightListItems:[16],listsMaxHeight:[1,"lists-max-height"],onTransferAction:[16],onTransferListSelect:[16],leftListItemsState:[32],rightListItemsState:[32],tempLeftListItemsState:[32],tempRightListItemsState:[32]},void 0,{listsMaxHeight:[{handleListsMaxHeightChange:0}],leftListHeading:[{handleLeftListHeadingChange:0}],rightListHeading:[{handleRightListHeadingChange:0}],moveAllVisible:[{handleMoveAllVisibilityChange:0}],transferListType:[{handleTransferListTypeChange:0}],leftListItems:[{handleLeftListItemsChange:0}],rightListItems:[{handleRightListItemsChange:0}]}]);function ct(){typeof customElements<"u"&&["gids-transfer-list"].forEach((e=>{e==="gids-transfer-list"&&(customElements.get(e)||customElements.define(e,dt))}))}ct();const Os=dt,As=ct;M.GidsTransferList=Os,M.defineCustomElement=As,Object.defineProperty(M,Symbol.toStringTag,{value:"Module"})}));
5
+ `);const b=this["s-cr"].parentElement;return(b.__childNodes?b.childNodes:(_=>{const y=[];for(let v=0;v<_.length;v++){const p=_[v]["s-nr"]||void 0;p&&p.isConnected&&y.push(p)}return y})(b.childNodes)).forEach((_=>{m===z(_)&&f.push(_)})),c?f.filter((_=>_.nodeType===1)):f}).bind(d);d.assignedElements=g(!0),d.assignedNodes=g(!1)})(l),r=e&&e.m&&e.m[s],r&&r.O===n.O&&e.S&&Ge(e.S)),l},Ge=e=>{C.i|=1;const t=e.closest(H.toLowerCase());if(t!=null){const s=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),i=Array.from(e.__childNodes||e.childNodes);for(const n of s?i.reverse():i)n["s-sh"]!=null&&(O(t,n,s??null),n["s-sh"]=void 0,Y=!0)}C.i&=-2},J=(e,t)=>{C.i|=1;const s=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let i=e;for(;i=i.nextSibling;)i&&i["s-sn"]===e["s-sn"]&&i["s-sh"]===H&&s.push(i)}for(let i=s.length-1;i>=0;i--){const n=s[i];n["s-hn"]!==H&&n["s-ol"]&&(O(F(n).parentNode,n,F(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,Y=!0),t&&J(n,t)}C.i&=-2},He=(e,t,s,i,n,l)=>{let o,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===H&&(r=r.shadowRoot),s.O==="template"&&(r=r.content);n<=l;++n)i[n]&&(o=Z(null,s,n),o&&(i[n].S=o,O(r,o,F(t))))},Re=(e,t,s)=>{for(let i=t;i<=s;++i){const n=e[i];if(n){const l=n.S;De(n),l&&(K=!0,l["s-ol"]?l["s-ol"].remove():J(l,!0),l.remove())}}},Q=(e,t,s=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:s?(s&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),F=e=>e&&e["s-ol"]||e,B=(e,t,s=!1)=>{const i=t.S=e.S,n=e.m,l=t.m,o=t.O,r=t.h;let a;r==null?(N=o==="svg"||o!=="foreignObject"&&N,o!=="slot"||V||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Ge(t.S.parentElement)),he(e,t,N),n!==null&&l!==null?((d,g,c,u,f=!1)=>{let m,b,_=0,y=0,v=0,p=0,w=g.length-1,S=g[0],L=g[w],T=u.length-1,x=u[0],$=u[T];const ht=c.O==="template"?d.content:d;for(;_<=w&&y<=T;)if(S==null)S=g[++_];else if(L==null)L=g[--w];else if(x==null)x=u[++y];else if($==null)$=u[--T];else if(Q(S,x,f))B(S,x,f),S=g[++_],x=u[++y];else if(Q(L,$,f))B(L,$,f),L=g[--w],$=u[--T];else if(Q(S,$,f))S.O!=="slot"&&$.O!=="slot"||J(S.S.parentNode,!1),B(S,$,f),O(ht,S.S,L.S.nextSibling),S=g[++_],$=u[--T];else if(Q(L,x,f))S.O!=="slot"&&$.O!=="slot"||J(L.S.parentNode,!1),B(L,x,f),O(ht,L.S,S.S),L=g[--w],x=u[++y];else{for(v=-1,p=_;p<=w;++p)if(g[p]&&g[p].$!==null&&g[p].$===x.$){v=p;break}v>=0?(b=g[v],b.O!==x.O?m=Z(g&&g[y],c,v):(B(b,x,f),g[v]=void 0,m=b.S),x=u[++y]):(m=Z(g&&g[y],c,y),x=u[++y]),m&&O(F(S.S).parentNode,m,F(S.S))}_>w?He(d,u[T+1]==null?null:u[T+1].S,c,u,y,T):y>T&&Re(g,_,w)})(i,n,t,l,s):l!==null?(e.h!==null&&(i.textContent=""),He(i,null,t,l,0,l.length-1)):!s&&n!==null&&Re(n,0,n.length-1),N&&o==="svg"&&(N=!1)):(a=i["s-cr"])?a.parentNode.textContent=r:e.h!==r&&(i.data=r)},j=[],Be=e=>{let t,s,i;const n=e.__childNodes||e.childNodes;for(const l of n){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){s=t.parentNode.__childNodes||t.parentNode.childNodes;const o=l["s-sn"];for(i=s.length-1;i>=0;i--)if(t=s[i],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===l["s-hn"]||t["s-sh"]&&t["s-sh"]===l["s-hn"]))if(Ce(t,o)){let r=j.find((a=>a.k===t));K=!0,t["s-sn"]=t["s-sn"]||o,r?(r.k["s-sh"]=l["s-hn"],r.N=l):(t["s-sh"]=l["s-hn"],j.push({N:l,k:t})),t["s-sr"]&&j.map((a=>{Ce(a.k,t["s-sn"])&&(r=j.find((d=>d.k===t)),r&&!a.N&&(a.N=r.N))}))}else j.some((r=>r.k===t))||j.push({k:t})}l.nodeType===1&&Be(l)}},De=e=>{e.v&&e.v.ref&&ge.push((()=>e.v.ref(null))),e.m&&e.m.map(De)},wt=(e,t)=>{ue.push((()=>e(t)))},O=(e,t,s,i)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,s);const{slotNode:n}=(function(l,o){var r;if(!(o=o||((r=l["s-ol"])==null?void 0:r.parentElement)))return{slotNode:null,slotName:""};const a=l["s-sn"]=z(l)||"";return{slotNode:re(ae(o,"childNodes"),o.tagName,a)[0],slotName:a}})(t);return n&&!i&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,s):e?.insertBefore(t,s)},Tt=(e,t,s=!1)=>{var i,n,l,o,r;const a=e.$hostElement$,d=e.o,g=e.M||q(null,null);var c;const u=(c=t)&&c.O===ke?t:h(null,null,t);if(H=a.tagName,d.C&&(u.v=u.v||{},d.C.forEach((([f,m])=>{u.v[m]=a[f]}))),s&&u.v)for(const f of Object.keys(u.v))a.hasAttribute(f)&&!["key","ref","style","class"].includes(f)&&(u.v[f]=a[f]);if(u.O=null,u.i|=4,e.M=u,u.S=g.S=a.shadowRoot||a,V=!(!(1&d.i)||128&d.i),de=a["s-cr"],K=!1,B(g,u,s),C.i|=1,Y){Be(u.S);for(const f of j){const m=f.k;if(!m["s-ol"]&&I.document){const b=I.document.createTextNode("");b["s-nr"]=m,O(m.parentNode,m["s-ol"]=b,m,s)}}for(const f of j){const m=f.k,b=f.N;if(m.nodeType===1&&s&&(m["s-ih"]=(i=m.hidden)!=null&&i),b){const _=b.parentNode;let y=b.nextSibling;if(y&&y.nodeType===1){let v=(n=m["s-ol"])==null?void 0:n.previousSibling;for(;v;){let p=(l=v["s-nr"])!=null?l:null;if(p&&p["s-sn"]===m["s-sn"]&&_===(p.__parentNode||p.parentNode)){for(p=p.nextSibling;p===m||p?.["s-sr"];)p=p?.nextSibling;if(!p||!p["s-nr"]){y=p;break}}v=v.previousSibling}}if((!y&&_!==(m.__parentNode||m.parentNode)||(m.__nextSibling||m.nextSibling)!==y)&&m!==y){if(O(_,m,y,s),m.nodeType===8&&m.nodeValue.startsWith("s-nt-")){const v=I.document.createTextNode(m.nodeValue.replace(/^s-nt-/,""));v["s-hn"]=m["s-hn"],v["s-sn"]=m["s-sn"],v["s-sh"]=m["s-sh"],v["s-sr"]=m["s-sr"],v["s-ol"]=m["s-ol"],v["s-ol"]["s-nr"]=v,O(m.parentNode,v,m,s),m.parentNode.removeChild(m)}m.nodeType===1&&m.tagName!=="SLOT-FB"&&(m.hidden=(o=m["s-ih"])!=null&&o)}m&&typeof b["s-rf"]=="function"&&b["s-rf"](b)}else m.nodeType===1&&(m.hidden=!0)}}if(K&&Te(u.S),C.i&=-2,j.length=0,!V&&!(1&d.i)&&a["s-cr"]){const f=u.S.__childNodes||u.S.childNodes;for(const m of f)if(m["s-hn"]!==H&&!m["s-sh"]){if(s&&m["s-ih"]==null&&(m["s-ih"]=(r=m.hidden)!=null&&r),m.nodeType===1)m.hidden=!0;else if(m.nodeType===3&&m.nodeValue.trim()){const b=I.document.createComment("s-nt-"+m.nodeValue);b["s-sn"]=m["s-sn"],O(m.parentNode,b,m,s),m.parentNode.removeChild(m)}}}de=void 0,ge.forEach((f=>f())),ge.length=0,ue.forEach((f=>f())),ue.length=0},ze=(e,t)=>{if(t&&!e.A&&t["s-p"]){const s=t["s-p"].push(new Promise((i=>e.A=()=>{t["s-p"].splice(s-1,1),i()})))}},me=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);ze(e,e.R);const s=()=>Ct(e,t);if(!t)return vt(s);queueMicrotask((()=>{s()}))},Ct=(e,t)=>{const s=e.$hostElement$,i=s;if(!i)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let n;return n=W(i,t?"componentWillLoad":"componentWillUpdate",void 0,s),n=Ve(n,(()=>W(i,"componentWillRender",void 0,s))),Ve(n,(()=>kt(e,i,t)))},Ve=(e,t)=>Nt(e)?e.then(t).catch((s=>{console.error(s),t()})):t(),Nt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",kt=async(e,t,s)=>{var i;const n=e.$hostElement$,l=n["s-rc"];s&&(o=>{const r=o.o,a=o.$hostElement$,d=r.i,g=((c,u)=>{var f,m,b;const _=Ne(u),y=U.get(_);if(!I.document)return _;if(c=c.nodeType===11?c:I.document,y)if(typeof y=="string"){let v,p=E.get(c=c.head||c);if(p||E.set(c,p=new Set),!p.has(_)){v=I.document.createElement("style"),v.textContent=y;const w=(f=C._)!=null?f:(function(){var S,L,T;return(T=(L=(S=I.document.head)==null?void 0:S.querySelector('meta[name="csp-nonce"]'))==null?void 0:L.getAttribute("content"))!=null?T:void 0})();if(w!=null&&v.setAttribute("nonce",w),!(1&u.i))if(c.nodeName==="HEAD"){const S=c.querySelectorAll("link[rel=preconnect]"),L=S.length>0?S[S.length-1].nextSibling:c.querySelector("style");c.insertBefore(v,L?.parentNode===c?L:null)}else if("host"in c)if(se){const S=new((m=c.defaultView)!=null?m:c.ownerDocument.defaultView).CSSStyleSheet;S.replaceSync(y),ie?c.adoptedStyleSheets.unshift(S):c.adoptedStyleSheets=[S,...c.adoptedStyleSheets]}else{const S=c.querySelector("style");S?S.textContent=y+S.textContent:c.prepend(v)}else c.append(v);1&u.i&&c.insertBefore(v,null),4&u.i&&(v.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),p&&p.add(_)}}else{let v=E.get(c);if(v||E.set(c,v=new Set),!v.has(_)){const p=(b=c.defaultView)!=null?b:c.ownerDocument.defaultView;let w;if(y.constructor===p.CSSStyleSheet)w=y;else{w=new p.CSSStyleSheet;for(let S=0;S<y.cssRules.length;S++)w.insertRule(y.cssRules[S].cssText,S)}ie?c.adoptedStyleSheets.push(w):c.adoptedStyleSheets=[...c.adoptedStyleSheets,w],v.add(_)}}return _})(a.shadowRoot?a.shadowRoot:a.getRootNode(),r);10&d&&(a["s-sc"]=g,a.classList.add(g+"-h"))})(e),$t(e,t,n,s),l&&(l.map((o=>o())),n["s-rc"]=void 0);{const o=(i=n["s-p"])!=null?i:[],r=()=>Ot(e);o.length===0?r():(Promise.all(o).then(r).catch(r),e.i|=4,o.length=0)}},$t=(e,t,s,i)=>{try{t=t.render(),e.i&=-17,e.i|=2,Tt(e,t,i)}catch(n){G(n,e.$hostElement$)}return null},Ot=e=>{const t=e.$hostElement$,s=t,i=e.R;W(s,"componentDidRender",void 0,t),64&e.i?W(s,"componentDidUpdate",void 0,t):(e.i|=64,jt(t),W(s,"componentDidLoad",void 0,t),e.L(t),i||At()),e.A&&(e.A(),e.A=void 0),512&e.i&&oe((()=>me(e,!1))),e.i&=-517},At=()=>{oe((()=>Lt(I,"appload",{detail:{namespace:"gids-core-web"}})))},W=(e,t,s,i)=>{if(e&&e[t])try{return e[t](s)}catch(n){G(n,i)}},jt=e=>e.classList.add("hydrated"),Fe=(e,t,s,i)=>{const n=A(e);if(!n)return;const l=e,o=n.l.get(t),r=n.i,a=l;s=Ae(s,i.t[t][0],!!(64&i.i));const d=Number.isNaN(o)&&Number.isNaN(s);if(s!==o&&!d){if(n.l.set(t,s),i.F){const g=i.F[t];g&&g.map((c=>{try{const[[u,f]]=Object.entries(c);(128&r||1&f)&&(a?a[u](s,o,t):n.T.push((()=>{n.D[u](s,o,t)})))}catch(u){G(u,l)}}))}if(2&r){if(a.componentShouldUpdate&&a.componentShouldUpdate(s,o,t)===!1&&!(16&r))return;16&r||me(n,!1)}}},Pt=(e,t,s)=>{var i,n;const l=e.prototype;64&t.i&&1&s&&ut.forEach((o=>{const r=l[o];Object.defineProperty(l,o,{value(...a){var d;const g=A(this),c=this;c?typeof r=="function"&&r.call(c,...a):(d=g?.H)==null||d.then((u=>{const f=u[o];typeof f=="function"&&f.call(u,...a)}))}})}));{e.watchers&&!t.F&&(t.F=Oe(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const o=Object.entries((i=t.t)!=null?i:{});o.map((([r,[a]])=>{if(31&a||32&a){const{get:d,set:g}=R(l,r)||{};d&&(t.t[r][0]|=2048),g&&(t.t[r][0]|=4096),Object.defineProperty(l,r,{get(){return d?d.apply(this):(c=r,A(this).l.get(c));var c},configurable:!0,enumerable:!0}),Object.defineProperty(l,r,{set(c){const u=A(this);if(u){if(g)return(32&a?this[r]:u.$hostElement$[r])===void 0&&u.l.get(r)&&(c=u.l.get(r)),g.apply(this,[Ae(c,a,!!(64&t.i))]),void Fe(this,r,c=32&a?this[r]:u.$hostElement$[r],t);Fe(this,r,c,t)}}})}}));{const r=new Map;l.attributeChangedCallback=function(a,d,g){C.jmp((()=>{var c;const u=r.get(a),f=A(this);if(this.hasOwnProperty(u),l.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==g)return;if(u==null){const v=f?.i;if(f&&v&&!(8&v)&&g!==d){const p=this,w=(c=t.F)==null?void 0:c[a];w?.forEach((S=>{const[[L,T]]=Object.entries(S);p[L]!=null&&(128&v||1&T)&&p[L].call(p,g,d,a)}))}return}const m=o.find((([v])=>v===u)),b=m&&4&m[1][0],_=b&&g===null&&this[u]===void 0;b&&(g=g!==null&&g!=="false");const y=Object.getOwnPropertyDescriptor(l,u);_||g==this[u]||y.get&&!y.set||(this[u]=g)}))},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.F)!=null?n:{}),...o.filter((([a,d])=>31&d[0])).map((([a,d])=>{var g;const c=d[1]||a;return r.set(c,a),512&d[0]&&((g=t.C)==null||g.push([a,c])),c}))]))}}return e},Et=(e,t)=>{const s={i:t[0],p:t[1]};try{s.t=t[2],s.W=t[3],s.F=Oe(e.F),s.P=e.P,s.U=e.U,s.C=[];const i=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((l,o)=>{const r={i:0,$hostElement$:l,o,l:new Map,B:new Map};r.H=new Promise((d=>r.L=d)),l["s-p"]=[],l["s-rc"]=[];const a=r;l.__stencil__getHostRef=()=>a,512&o.i&&gt(l,r)})(this,s)},connectedCallback(){if(!this.__hasHostListenerAttached){const l=A(this);if(!l)return;Ue(this,l,s.W),this.__hasHostListenerAttached=!0}(l=>{if(!(1&C.i)){const o=A(l);if(!o)return;const r=o.o;if(1&o.i)Ue(l,o,r.W),o?.D||o?.H&&o.H.then((()=>{}));else{o.i|=1,12&r.i&&(a=>{if(!I.document)return;const d=a["s-cr"]=I.document.createComment("");d["s-cn"]=!0,O(a,d,a.firstChild)})(l);{let a=l;for(;a=a.parentNode||a.host;)if(a["s-p"]){ze(o,o.R=a);break}}r.t&&Object.entries(r.t).map((([a,[d]])=>{if(31&d&&Object.prototype.hasOwnProperty.call(l,a)){const g=l[a];delete l[a],l[a]=g}})),(async(a,d,g)=>{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 m;typeof c.style=="string"&&(m=c.style);const b=Ne(g);U.has(b)||((_,y,v)=>{let p=U.get(_);se&&v?(p=p||new CSSStyleSheet,typeof p=="string"?p=y:p.replaceSync(y)):p=y,U.set(_,p)})(b,m,!!(1&g.i))}const u=d.R,f=()=>me(d,!0);u&&u["s-rc"]?u["s-rc"].push(f):f()}catch(u){G(u,a),d.A&&(d.A(),d.A=void 0),d.L&&d.L(a)}})(l,o,r)}}})(this),i&&i.call(this)},disconnectedCallback(){(async l=>{if(!(1&C.i)){const o=A(l);o?.V&&(o.V.map((r=>r())),o.V=void 0)}E.has(l)&&E.delete(l),l.shadowRoot&&E.has(l.shadowRoot)&&E.delete(l.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${s.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else yt.call(this,s)}}),Object.defineProperty(e,"is",{value:s.p,configurable:!0}),Pt(e,s,3)}catch(i){return G(i),e}},We=(e,t)=>t,Ue=(e,t,s)=>{s&&I.document&&s.map((([i,n,l])=>{const o=Gt(I.document,e,i),r=Mt(t,l),a=Ht(i);C.ael(o,n,r,a),(t.V=t.V||[]).push((()=>C.rel(o,n,r,a)))}))},Mt=(e,t)=>s=>{try{e.$hostElement$[t](s)}catch(i){G(i,e.$hostElement$)}},Gt=(e,t,s)=>8&s?I:t,Ht=e=>ft?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function js(e){return e}function qe(e){var t,s,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(s=qe(e[t]))&&(i&&(i+=" "),i+=s)}else for(s in e)e[s]&&(i&&(i+=" "),i+=s);return i}function k(){for(var e,t,s=0,i="",n=arguments.length;s<n;s++)(e=arguments[s])&&(t=qe(e))&&(i&&(i+=" "),i+=t);return i}const Rt=Object.freeze(Object.defineProperty({__proto__:null,getElementVisibility:e=>{const{label:t,supportingText:s}=e,i=typeof t=="string"&&t.trim().length>0,n=typeof s=="string"&&s.trim().length>0;return{hasLabel:i,hasSupportingText:n}}},Symbol.toStringTag,{value:"Module"})),X=64,Ke=10,Ye=X/2-Ke/2,Bt=X/2,fe=2*Math.PI*Ye,Dt=`0 0 ${X} ${X}`,zt=Object.freeze(Object.defineProperty({__proto__:null,calculateStrokeDasharray:(e=0,t)=>{const s=typeof t=="number"&&t>0?t:1,n=Math.max(0,Math.min(s,e))/s*100,l=(fe*n/100).toFixed(2),o=(fe-parseFloat(l)).toFixed(2);return`${l} ${o}`},centerPosition:Bt,circumference:fe,radius:Ye,thickness:Ke,viewBox:Dt},Symbol.toStringTag,{value:"Module"})),Vt=Object.freeze(Object.defineProperty({__proto__:null,getGidsButtonGroupClassNames:({layout:e},t)=>k("gids-button-group",{"gids-button-group--scroll":e==="scroll"},t)},Symbol.toStringTag,{value:"Module"})),Ft=Object.freeze(Object.defineProperty({__proto__:null,getGidsButtonClassNames:({appearance:e,size:t,width:s,destructive:i,positive:n,loading:l},o,r)=>k("gids-button",{"gids-button--primary":e==="primary","gids-button--subtle":e==="subtle","gids-button--xs":t==="xs","gids-button--sm":t==="sm","gids-button--lg":t==="lg","gids-button--full-width":s==="full","gids-button--destructive":i&&!n,"gids-button--positive":n&&!i,"gids-button--icon-only":o,"gids-button--loading":l},r)},Symbol.toStringTag,{value:"Module"})),Wt=Object.freeze(Object.defineProperty({__proto__:null,getGidsCheckboxControlClassNames:e=>k("gids-checkbox-control",e)},Symbol.toStringTag,{value:"Module"})),Ut=Object.freeze(Object.defineProperty({__proto__:null,getGidsDividerClassNames:({orientation:e},t)=>k("gids-divider",{"gids-divider--vertical":e==="vertical"},t)},Symbol.toStringTag,{value:"Module"})),qt=Object.freeze(Object.defineProperty({__proto__:null,getGidsEditButtonClassNames:({size:e},t)=>k("gids-edit-button",{"gids-edit-button--xs":e==="xs","gids-edit-button--sm":e==="sm","gids-edit-button--lg":e==="lg"},t)},Symbol.toStringTag,{value:"Module"})),Kt=Object.freeze(Object.defineProperty({__proto__:null,getGidsHeadingClassNames:e=>k("gids-heading",e),getGidsHeadingSupportingTextTypographyClass:e=>e&&e.toString()!==""&&e!=="(none)"?`gids-typography-${e}`:""},Symbol.toStringTag,{value:"Module"})),Yt=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>k("gids-icon",{"gids-icon--xs":e==="xs","gids-icon--sm":e==="sm","gids-icon--md":e==="md","gids-icon--lg":e==="lg"},t)},Symbol.toStringTag,{value:"Module"})),Zt=Object.freeze(Object.defineProperty({__proto__:null,getGidsListItemClassNames:({disabled:e,selected:t},s)=>k("gids-list-item",{"gids-list-item--selected":t,"gids-list-item--disabled":e},s)},Symbol.toStringTag,{value:"Module"})),Jt=Object.freeze(Object.defineProperty({__proto__:null,getGidsMenuGroupClassNames:({type:e},t)=>k("gids-menu-group",{"gids-menu-group--default":e==="default","gids-menu-group--no-options":e==="no-options","gids-menu-group--loading":e==="loading"},t)},Symbol.toStringTag,{value:"Module"})),Qt=Object.freeze(Object.defineProperty({__proto__:null,getGidsMenuClassNames:e=>k("gids-menu",e)},Symbol.toStringTag,{value:"Module"})),Xt=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerControlClassNames:({size:e,indeterminate:t,value:s},i)=>k("gids-spinner-control",{"gids-spinner-control--xs":e==="xs","gids-spinner-control--sm":e==="sm","gids-spinner-control--lg":e==="lg","gids-spinner-control--xl":e==="xl","gids-spinner-control--2xl":e==="2xl","gids-spinner-control--determinate":t===!1},s,i)},Symbol.toStringTag,{value:"Module"})),es=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerClassNames:({size:e},t)=>k("gids-spinner",{"gids-spinner--xs":e==="xs","gids-spinner--sm":e==="sm","gids-spinner--lg":e==="lg","gids-spinner--xl":e==="xl","gids-spinner--2xl":e==="2xl"},t)},Symbol.toStringTag,{value:"Module"})),ts=Object.freeze(Object.defineProperty({__proto__:null,getGidsTransferListClassNames:e=>k("gids-transfer-list",e)},Symbol.toStringTag,{value:"Module"})),pe=Symbol("defaultPath"),Ze=Symbol("pathSet"),ve="gids-asset-paths-set";class ss extends EventTarget{#s=new Map;constructor(){super()}#e(t,s){this.#s.set(t,s)}#t(t){return this.#s.get(t)??null}#i=()=>{this.dispatchEvent(new Event(ve))};haveAssetPathsBeenSet(){return this.#t(Ze)!==null}setAssetPaths(t,s){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(pe,t);else{for(const i in t)this.#e(i,t[i]);s&&this.#e(pe,s)}this.#e(Ze,"true"),setTimeout(this.#i,0)}}getAssetFilePath(t){const s=this.#t(t);if(s===null){const i=this.#t(pe);if(i!==null)return`${i}${i.endsWith("/")?"":"/"}${t}`}return s}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(ve,t,{once:!0}),()=>{this.removeEventListener(ve,t)}}}const ye=Symbol.for("GIDS"),is=()=>(globalThis[ye]===void 0&&(globalThis[ye]={assetPaths:{}}),globalThis[ye]),ns=e=>{const t=is().assetPaths;return t[e]===void 0&&(t[e]=new ss),t[e]};function Se(){return ns("@ganpatiinfo/gids-web-shared")}function ls(){return Se().haveAssetPathsBeenSet()}function Je(e){return Se().getAssetFilePath(e)}function os(e){return Se().onAssetPathsSet(e)}let rs=0;const as=(e,t="gids")=>e||`${t}-${rs++}`,Qe=e=>e!==void 0&&(!Array.isArray(e)||e.length>0),{getGidsSpinnerControlClassNames:ds}=Xt,{calculateStrokeDasharray:cs,thickness:Xe,radius:et,centerPosition:ee,viewBox:hs}=zt,tt=({size:e,indeterminate:t,value:s,max:i,...n})=>{let l;return t||(l={strokeDashArray:cs(s,i||0),strokeDashoffset:"0"}),h("svg",{class:ds({size:e,indeterminate:t,value:s}),viewBox:hs,...n},h("circle",{class:"gids-spinner-control__track",cx:ee,cy:ee,r:et,"stroke-width":Xe}),h("circle",{style:l,class:"gids-spinner-control__progress",cx:ee,cy:ee,r:et,"stroke-width":Xe}))},{getGidsSpinnerClassNames:gs}=es,{getElementVisibility:us}=Rt,ms=({label:e,supportingText:t,size:s,indeterminate:i,value:n,max:l,class:o,...r})=>{const{hasLabel:a,hasSupportingText:d}=us({label:e,supportingText:t});return h("span",{class:gs({size:s},o),...r},h(tt,{size:s,indeterminate:i,value:n,max:l}),a&&h("span",{class:"gids-spinner__label"},e),d&&h("span",{class:"gids-spinner__supporting-text"},t))},st={"icons-other.svg":["accessibility","add","remove","announcement","approval","archive","audio","backward","banking","battery","bluetooth","bookmark","bulb","calendar","camera","card","cart","chart","chat","cloud","code","compass","desktop","email","emergency","exchange","finance","fingerprint","flag","folder","forward","gift","globe","goals","happy","hashtag","headphones","history","image","insurance","investment","in-progress","key","link","list","location","lock","map","maximise","microphone","minimise","mobile","moon","network","neutral","ai","new","draft","pending","new-chat","pause","percent","placeholder","play","power","rain","refresh","repeat","sad","save","savings","shield","shuffle","side-navigation","snow","speaker","stop","sun","tablet","temperature","thumbs-down","thumbs-up","travel","trend-down","trend-up","unlock","upset","verified","very-happy","video","volume-down","volume-max","volume-min","volume-mute","volume-up","wallet","wealth","wi-fi","wind"],"icons-core.svg":["arrow-down","arrow-left","arrow-right","arrow-up","attachment","checkmark","chevron-down","chevron-horizontal","chevron-left","chevron-right","chevron-up","chevron-vertical","copy","cross","danger","dashboard","delete","document","download","drag","edit","external","eye","filter","grid","hide","home","information","log-in","log-out","menu","minus","more","notifications","options","phone","plus","positive","printer","question","search","select","select-all","send","settings","share","star","time","upload","user","users","warning"]},it=new Map;for(const e in st)for(const t of st[e])it.set(t,e);function fs(e){return it.get(e)}function nt(e,t="regular",s){const i=fs(e);let n=i??"";return s&&i&&(n=s(i)??i),`${n}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:ps}=Yt,P=({name:e,size:t,appearance:s,alt:i,class:n,titleId:l,src:o,...r})=>{const a=as(l);let d=o;return d===void 0&&ls()&&(d=nt(e,s,Je)),h("svg",{ref:g=>{d===void 0&&os((()=>{(function(c,u,f){if(!c)return;const m=document.createElementNS("http://www.w3.org/2000/svg","use");m.setAttribute("href",nt(u,f,Je)),c.appendChild(m)})(g,e,s)}))},width:"16",height:"16",class:ps({size:t},n),role:"img","aria-hidden":i===""?"true":void 0,"aria-labelledby":i===""?void 0:a,...r},i!==""&&h("title",{id:a},i||e),d!==void 0?h("use",{href:d}):null)},{getGidsDividerClassNames:vs}=Ut,lt=({orientation:e})=>h("hr",{class:vs({orientation:e})}),{getGidsButtonGroupClassNames:ys}=Vt,Ss=({layout:e,class:t},s)=>h("span",{class:ys({layout:e},t)},s),{getGidsHeadingClassNames:bs,getGidsHeadingSupportingTextTypographyClass:_s}=Kt,Ls=({heading:e,supportingText:t,level:s="section",children:i,supportingTextTypography:n,class:l})=>h("div",{class:bs(l)},h("div",{class:"gids-heading__content-container"},e!=null&&e!==""?typeof e=="string"?e!==""?h("span",{class:s==="section"?"gids-heading__heading-text-section":"gids-heading__heading-text-group"},e):null:e:null,t!=null&&t!==""?typeof t=="string"?t!==""?h("span",{class:`${s==="section"?"gids-heading__supporting-text-section":"gids-heading__supporting-text-group"} ${_s(n)}`},t):null:t:null),i?h(Ss,{layout:"wrap"},i):null),{getGidsEditButtonClassNames:Is}=qt,xs=({disabled:e,children:t,size:s="md",editButtonType:i="add",onPressEditButton:n,class:l,...o})=>h("button",{class:Is({size:s},l),...o,onClick:n,disabled:e},i==="custom"&&t?h("div",null,t):i==="add"?h("div",{class:e?"gids-edit-button__add gids-edit-button__disabled":"gids-edit-button__add"},h(P,{name:"add",appearance:"filled",size:s})):i==="remove"?h("div",{class:e?"gids-edit-button__remove gids-edit-button__disabled":"gids-edit-button__remove"},h(P,{appearance:"filled",name:"remove",size:s})):void 0),{getGidsListItemClassNames:ws}=Zt,ot=({id:e,value:t,index:s,defaultSelected:i,disabled:n,selected:l,editButton:o,onPressEditButton:r,onPressListItem:a,leadingAccessory:d,leadingSupport:g,leadingParagraph:c,trailingContent:u,trailingAccessory:f,trailingSupport:m,trailingParagraph:b,divider:_,role:y="list-item-option",isPlaceholderItem:v,class:p,...w},S)=>{const L=l||i;return h("button",{type:"button",id:e,class:ws({selected:L,disabled:n},p),role:y,"aria-selected":L?"true":"false",disabled:n,value:(()=>{if(typeof t=="string"&&t.trim()!=="")return t;const T=S;return T?(Array.isArray(T)?T:[T]).map((x=>typeof x=="string"||typeof x=="number"?String(x):x&&typeof x=="object"&&"text"in x?x.text??"":"")).join("").trim():""})(),tabIndex:s,onClick:T=>{const x=T.currentTarget;if(!x||T.defaultPrevented||x.disabled)return;const $=new CustomEvent("onPressListItem",{bubbles:!0,composed:!0,detail:{selectedIndex:s,defaultSelected:i,isPlaceholderItem:v}});a?.($)},"is-placeholder-item":v?"true":"false",...w},h("div",{class:"gids-list-item__main-container"},o==null||o==="none"||n?null:h(xs,{size:"md",editButtonType:o,onPressEditButton:r}),d!=null?h("div",{class:n?"gids-list-item__leading-accessory-container gids-list-item__accessory-content-disabled":"gids-list-item__leading-accessory-container"},d):null,h("div",{class:"gids-list-item__middle-content-container"},h("div",{class:"gids-list-item__leading-content-container"},h(We,null,S!=null?h("span",{class:n?"gids-list-item__leading-content-label gids-list-item__text-content-disabled":"gids-list-item__leading-content-label"},S):null,h("div",{class:"gids-list-item__leading-support-content"},g!=null?typeof g=="string"?h("p",{class:n?"gids-list-item__leading-content-supporting-text gids-list-item__text-content-disabled":"gids-list-item__leading-content-supporting-text"},g):g:null,c!=null?typeof c=="string"?h("p",{class:n?"gids-list-item__leading-content-paragraph-text gids-list-item__text-content-disabled":"gids-list-item__leading-content-paragraph-text"},c):c:null))),h("div",{class:"gids-list-item__trailing-content-container"},h(We,null,u!=null?typeof u=="string"?h("span",{class:n?"gids-list-item__trailing-content-label gids-list-item__text-content-disabled":"gids-list-item__trailing-content-label"},u):u:null,h("div",{class:"gids-list-item__trailing-support-content"},m!=null?typeof m=="string"?h("p",{class:n?"gids-list-item__trailing-content-supporting-text gids-list-item__text-content-disabled":"gids-list-item__trailing-content-supporting-text"},m):m:null,b!=null?typeof b=="string"?h("p",{class:n?"gids-list-item__trailing-content-paragraph-text gids-list-item__text-content-disabled":"gids-list-item__trailing-content-paragraph-text"},b):b:null)))),L?h("div",{class:n?"gids-list-item__trailing-accessory-container gids-list-item__accessory-content-disabled":"gids-list-item__trailing-accessory-container"},h(P,{name:"checkmark",size:"md",appearance:"regular"})):null,L||f==null?null:h("div",{class:n?"gids-list-item__trailing-accessory-container gids-list-item__accessory-content-disabled":"gids-list-item__trailing-accessory-container"},f)),_&&!L?h("div",{class:"gids-list-item__divider"},h(lt,{orientation:"horizontal"})):null)},{getGidsCheckboxControlClassNames:Ts}=Wt,be=({checked:e,defaultChecked:t,disabled:s,indeterminate:i,inputId:n,name:l,value:o,required:r,onChange:a,class:d,...g})=>h("span",{class:Ts(d),...g},h("input",{class:"gids-checkbox-control__input",type:"checkbox",disabled:s,checked:e,defaultChecked:t,required:r,indeterminate:i,value:o,id:n,name:l,onChange:a}),h(P,{class:"gids-checkbox-control__check",name:"checkmark",alt:"",size:"sm"}),h(P,{class:"gids-checkbox-control__minus",name:"minus",alt:"",size:"sm"})),{getGidsButtonClassNames:Cs}=Ft,te=({appearance:e,size:t,destructive:s,positive:i,loading:n,width:l,leadingIcon:o,trailingIcon:r,as:a,disabled:d,class:g,forceIconOnly:c=!1,...u},f)=>{const m=a||"button",b=t==="lg"||t===void 0?"md":t;return m!=="button"||"type"in u||(u.type="button"),h(m,{class:Cs({appearance:e,size:t,destructive:s,loading:n,width:l,positive:i},c||f.length===0&&Qe(o)&&!Qe(r),g),disabled:m==="button"?d:void 0,...u},h("span",{class:"gids-button__content"},o,f),n&&h(tt,{size:b,indeterminate:!0}),r)},{getGidsMenuGroupClassNames:Ns}=Jt,rt=({type:e="no-options",supportingText:t="No options",class:s,...i},n)=>h("div",{class:Ns({type:e},s),...i},e==="loading"?h(ms,{indeterminate:!0,size:"md"}):null,e==="no-options"?h("span",null,t):null,e==="default"&&n!=null?n:null),{getGidsMenuClassNames:ks}=Qt,at=({heading:e,supportingText:t,level:s,supportingTextTypography:i,isHeaderDividerVisible:n=!1,class:l,...o},r)=>h("div",{class:ks(l),...o},e!=null&&e!==""||t!=null&&t!==""?h(Ls,{heading:e,supportingText:t,level:s,supportingTextTypography:i??"eyebrow-medium"}):null,n?h("div",{class:"gids-menu__header-divider"},h(lt,{orientation:"horizontal"})):void 0,r!=null?h("div",{class:"gids-menu__children"},r):null),{getGidsTransferListClassNames:$s}=ts,dt=Et(class extends mt{constructor(e){super(),e!==!1&&this.__registerHost(),this.leftListHeading="Choices",this.rightListHeading="Choosen",this.moveAllVisible=!1,this.transferListType="basic",this.leftListItems=[],this.rightListItems=[],this.listsMaxHeight="200px",this.leftListItemsState=[],this.rightListItemsState=[],this.tempLeftListItemsState=[],this.tempRightListItemsState=[]}handleListsMaxHeightChange(e){this.listsMaxHeight=e}handleLeftListHeadingChange(e){this.leftListHeading=e}handleRightListHeadingChange(e){this.rightListHeading=e}handleMoveAllVisibilityChange(e){this.moveAllVisible=e}handleTransferListTypeChange(e){this.transferListType=e}handleLeftListItemsChange(e){this.leftListItems=e,this.setListItemsStates()}handleRightListItemsChange(e){this.rightListItems=e,this.setListItemsStates()}componentDidLoad(){this.setListItemsStates()}setListItemsStates(){this.leftListItemsState=this.leftListItems,this.rightListItemsState=this.rightListItems}getListHeading(e){return e==="left"?this.leftListHeading:this.rightListHeading}getListSupportingText(e){let t=this?.tempLeftListItemsState??[],s=this?.leftListItemsState??[];return e==="right"&&(t=this?.tempRightListItemsState??[],s=this?.rightListItemsState??[]),`${t.length} of ${s.length} selected`}isAllItemsSelectedInList({listSide:e}){const t=this.getStateListsItemsArr(e),s=this.getTempListsItemsArr(e);return t.length>0&&t.length===s.length}isAtleastOneItemSelectedInList({listSide:e}){const t=this.getStateListsItemsArr(e),s=this.getTempListsItemsArr(e);return s.length>0&&s.length<t.length}renderListHeading(e){if((this?.transferListType??"basic")!=="basic"){const t=this.isAllItemsSelectedInList({listSide:e}),s=this.isAtleastOneItemSelectedInList({listSide:e});return h("div",{class:"gids-transfer-list__menu-heading-container"},h(be,{checked:t||s,onChange:i=>this.selectUnselectAllItems({event:i,listSide:e}),indeterminate:s}),h("div",{class:"gids-transfer-list__menu-heading-text-content-container"},h("span",{class:"gids-transfer-list__heading-text"},this.getListHeading(e)),h("span",{class:"gids-transfer-list__heading-support-text"},this.getListSupportingText(e))))}}listItemSelection({event:e,pressedIndex:t,listSide:s}){this.selectUnselectListItem({event:e,pressedIndex:t,listSide:s})}onPressingListItem({event:e,pressedIndex:t,listSide:s}){this.listItemSelection({event:e,pressedIndex:t,listSide:s})}selectUnselectListItem({event:e,pressedIndex:t,listSide:s}){const i=this.getStateListsItemsArr(s)[t];let n=!1;if(s==="left"&&i){const l=this?.tempLeftListItemsState??[],o=l.findIndex((r=>r?.id===i?.id));o!=null&&o!==-1?(l.splice(o,1),n=!1):(l.push(i),n=!0),this.tempLeftListItemsState=l,this.leftListItemsState=this?.leftListItemsState?[...this.leftListItemsState]:[]}else if(s==="right"&&i){const l=this?.tempRightListItemsState??[],o=l.findIndex((r=>r?.id===i?.id));o!=null&&o!==-1?(l.splice(o,1),n=!1):(l.push(i),n=!0),this.tempRightListItemsState=l,this.rightListItemsState=this?.rightListItemsState?[...this.rightListItemsState]:[]}this.callOnTransferListSelectFunc({event:e,isSelected:n,listSide:s,selectedIndexes:[t],selectionType:"single"})}isItemSelected({id:e,listSide:t}){const s=this.getTempListsItemsArr(t);return s.length>0&&!!s.find((i=>i?.id===e))}getStateListsItemsArr(e){let t=this?.leftListItemsState??[];return e==="right"&&(t=this?.rightListItemsState??[]),t}getTempListsItemsArr(e){let t=this?.tempLeftListItemsState??[];return e==="right"&&(t=this?.tempRightListItemsState??[]),t}selectUnselectAllItems({event:e,listSide:t}){const s=this.getStateListsItemsArr(t),i=this.isAllItemsSelectedInList({listSide:t}),n=this.isAtleastOneItemSelectedInList({listSide:t});t==="left"?this.tempLeftListItemsState=i||n?[]:[...s]:this.tempRightListItemsState=i||n?[]:[...s];const l=[];i||n||s.map(((o,r)=>{l.push(r)})),this.callOnTransferListSelectFunc({event:e,isSelected:!i&&!n,listSide:t,selectedIndexes:l,selectionType:"all"})}callOnTransferListSelectFunc({event:e,isSelected:t,listSide:s,selectedIndexes:i,selectionType:n}){this.onTransferListSelect&&this.onTransferListSelect({originalEvent:e,originalLeftListItems:this?.leftListItems??[],originalRightListItems:this?.rightListItems??[],currentLeftListItems:this?.leftListItemsState??[],currentRightListItems:this?.rightListItemsState??[],leftListSelectedItems:this?.tempLeftListItemsState??[],rightListSelectedItems:this?.tempRightListItemsState??[],selectedIndexes:i,selectionType:n,listSide:s,isSelected:t})}movementButtonDisabled({listSide:e,movementType:t}){if(e==="left"){const s=this?.leftListItemsState&&this.leftListItemsState.length>0?this.leftListItemsState.length:0;if(t==="move-single")return!(s>0&&(this?.tempLeftListItemsState&&this.tempLeftListItemsState.length>0?this.tempLeftListItemsState.length:0)>0);if(t==="move-all")return!(s>0)}else if(e==="right"){const s=this?.rightListItemsState&&this.rightListItemsState.length>0?this.rightListItemsState.length:0;if(t==="move-single")return!(s>0&&(this?.tempRightListItemsState&&this.tempRightListItemsState.length>0?this.tempRightListItemsState.length:0)>0);if(t==="move-all")return!(s>0)}return!0}callOnTransferAction({transferTo:e,transferFrom:t,movementType:s,newTransferredItems:i}){this.onTransferAction&&this.onTransferAction({transferTo:e,transferFrom:t,originalLeftListItems:this?.leftListItems??[],originalRightListItems:this?.rightListItems??[],currentLeftListItems:this?.leftListItemsState??[],currentRightListItems:this?.rightListItemsState??[],leftListSelectedItems:this?.tempLeftListItemsState??[],rightListSelectedItems:this?.tempRightListItemsState??[],newTransferredItems:i,movementType:s})}clearListSystem({event:e,listSide:t,movementType:s}){if(console.log("event",e),console.log("listSide",t),console.log("movementType",s),!this.movementButtonDisabled({listSide:t,movementType:s})){if(t==="left")if(s==="move-single"){const i=this?.tempLeftListItemsState??[],n=this?.leftListItemsState??[];if(n.length>0){const l=[];n.map((o=>{i.find((r=>r?.id===o?.id))||l.push(o)})),this.leftListItemsState=[...l]}this.tempLeftListItemsState=[]}else s==="move-all"&&(this.leftListItemsState=[],this.tempLeftListItemsState=[]);else if(t==="right")if(s==="move-single"){const i=this?.tempRightListItemsState??[],n=this?.rightListItemsState??[];if(n.length>0){const l=[];n.map((o=>{i.find((r=>r?.id===o?.id))||l.push(o)})),this.rightListItemsState=[...l]}this.tempRightListItemsState=[]}else s==="move-all"&&(this.rightListItemsState=[],this.tempRightListItemsState=[])}}moveListItems({event:e,listSide:t,movementType:s}){if(!this.movementButtonDisabled({listSide:t,movementType:s})){const i=this?.leftListItemsState??[],n=this?.rightListItemsState??[],l=this?.tempLeftListItemsState??[],o=this?.tempRightListItemsState??[];let r=[];t==="left"?s==="move-single"?(this.rightListItemsState=[...l,...n],r=[...l]):s==="move-all"&&(this.rightListItemsState=[...i,...n],r=[...i]):t==="right"&&(s==="move-single"?(this.leftListItemsState=[...o,...i],r=[...o]):s==="move-all"&&(this.leftListItemsState=[...n,...i],r=[...n])),this.clearListSystem({event:e,listSide:t,movementType:s}),this.callOnTransferAction({transferTo:t==="left"?"right":"left",transferFrom:t,movementType:s,newTransferredItems:r})}}onItemsMovement({event:e,listSide:t,movementType:s}){this.moveListItems({event:e,listSide:t,movementType:s})}render(){const e=$s(),t=this?.leftListItemsState??[],s=this?.rightListItemsState??[],i=this.listsMaxHeight,n=this?.transferListType??"basic";return h(ke,{key:"8e423fc11b33c0221541fcdd160550523d0d09f6",class:e},h("div",{key:"221d92966d78f1e2f4efb9b36366d7002ef53061",class:"gids-transfer-list__left-container"},h(rt,{key:"9dc87d0694bcf93f262a0a474c1c021b12fc90f6",type:t.length>0?"default":"no-options"},h(at,{key:"6f682bf9f733e11028cb2baa106b1609d01123c3",heading:this.renderListHeading("left"),style:{"--gidsMenuChildren-max-height":i},isHeaderDividerVisible:n!=="basic"},t.map(((l,o)=>{const r=l?.id?l.id:""+(o+1),a=this.isItemSelected({id:r,listSide:"left"});return h(ot,{id:""+r,index:o,leadingAccessory:h(be,{checked:a}),selected:a,onPressListItem:d=>this.onPressingListItem({event:d,pressedIndex:o,listSide:"left"})},l?.listLabel)}))))),h("div",{key:"55f4165f5e9ccf1f1e9255061beb9712945187f5",class:"gids-transfer-list__middle-container"},h(te,{key:"02a0d11e2810aeab2753504944d68fdf51a0be5c",leadingIcon:h(P,{name:"forward"}),appearance:"default",size:"sm",width:"full",disabled:this.movementButtonDisabled({listSide:"left",movementType:"move-all"}),onClick:l=>this.onItemsMovement({event:l,listSide:"left",movementType:"move-all"})}),h(te,{key:"849d07570396824492897c3dbd347bb8fb2c353d",leadingIcon:h(P,{name:"chevron-right"}),appearance:"default",size:"sm",width:"full",disabled:this.movementButtonDisabled({listSide:"left",movementType:"move-single"}),onClick:l=>this.onItemsMovement({event:l,listSide:"left",movementType:"move-single"})}),h(te,{key:"9eb9747b5764a75bf7c4433c89fcc6b2dc31870d",leadingIcon:h(P,{name:"chevron-left"}),appearance:"default",size:"sm",width:"full",disabled:this.movementButtonDisabled({listSide:"right",movementType:"move-single"}),onClick:l=>this.onItemsMovement({event:l,listSide:"right",movementType:"move-single"})}),h(te,{key:"6558100625834f9936aaba67be1c554f53f5fcb3",leadingIcon:h(P,{name:"backward"}),appearance:"default",size:"sm",width:"full",disabled:this.movementButtonDisabled({listSide:"right",movementType:"move-all"}),onClick:l=>this.onItemsMovement({event:l,listSide:"right",movementType:"move-all"})})),h("div",{key:"838f2a0f22827f350fc383ffd246ed25fe880cc9",class:"gids-transfer-list__right-container"},h(rt,{key:"39597530e1dcd657dfcfbe8677d346099f8fcfae",type:s.length>0?"default":"no-options"},h(at,{key:"25ac5e481024b4a8fd34b6e6a017e1c5eca25b34",heading:this.renderListHeading("right"),style:{"--gidsMenuChildren-max-height":i},isHeaderDividerVisible:n!=="basic"},s.map(((l,o)=>{const r=l?.id?l.id:""+(o+1),a=this.isItemSelected({id:r,listSide:"right"});return h(ot,{id:""+r,index:o,selected:a,leadingAccessory:h(be,{checked:a}),onPressListItem:d=>this.onPressingListItem({event:d,pressedIndex:o,listSide:"right"})},l?.listLabel)}))))))}get hostElement(){return this}static get watchers(){return{listsMaxHeight:[{handleListsMaxHeightChange:0}],leftListHeading:[{handleLeftListHeadingChange:0}],rightListHeading:[{handleRightListHeadingChange:0}],moveAllVisible:[{handleMoveAllVisibilityChange:0}],transferListType:[{handleTransferListTypeChange:0}],leftListItems:[{handleLeftListItemsChange:0}],rightListItems:[{handleRightListItemsChange:0}]}}static get style(){return".gids-transfer-list{display:flex;align-items:center;justify-content:center;gap:var(--gids-gap-500)}.gids-transfer-list .gids-menu__children{max-height:var(--gidsMenuChildren-max-height);overflow:auto}.gids-transfer-list__left-container{display:flex;width:100%;flex-direction:column}.gids-transfer-list__middle-container{display:flex;width:15%;flex-direction:column;gap:var(--gids-gap-150)}.gids-transfer-list__right-container{display:flex;width:100%;flex-direction:column}.gids-transfer-list__menu-heading-container{display:flex;align-items:flex-start;justify-content:flex-start;gap:var(--gids-gap-100)}.gids-transfer-list__menu-heading-text-content-container{display:flex;flex-direction:column}.gids-transfer-list__heading-text{font-family:var(--gids-typography-heading-x-small__font-family);font-size:var(--gids-typography-heading-x-small__font-size);font-weight:var(--gids-typography-heading-x-small__font-weight);letter-spacing:var(--gids-typography-heading-x-small__letter-spacing);line-height:var(--gids-typography-heading-x-small__line-height);text-transform:var(--gids-typography-heading-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-heading-x-small__font-variant-caps, inherit);color:var(--gids-color-text-subtle)}.gids-transfer-list__heading-support-text{font-family:var(--gids-typography-paragraph-medium__font-family);font-size:var(--gids-typography-paragraph-medium__font-size);font-weight:var(--gids-typography-paragraph-medium__font-weight);letter-spacing:var(--gids-typography-paragraph-medium__letter-spacing);line-height:var(--gids-typography-paragraph-medium__line-height);text-transform:var(--gids-typography-paragraph-medium__text-transform, inherit);font-variant-caps:var(--gids-typography-paragraph-medium__font-variant-caps, inherit);color:var(--gids-color-text-subtlest)}"}},[0,"gids-transfer-list",{leftListHeading:[1,"left-list-heading"],rightListHeading:[1,"right-list-heading"],moveAllVisible:[4,"move-all-visible"],transferListType:[1,"transfer-list-type"],leftListItems:[16],rightListItems:[16],listsMaxHeight:[1,"lists-max-height"],onTransferAction:[16],onTransferListSelect:[16],leftListItemsState:[32],rightListItemsState:[32],tempLeftListItemsState:[32],tempRightListItemsState:[32]},void 0,{listsMaxHeight:[{handleListsMaxHeightChange:0}],leftListHeading:[{handleLeftListHeadingChange:0}],rightListHeading:[{handleRightListHeadingChange:0}],moveAllVisible:[{handleMoveAllVisibilityChange:0}],transferListType:[{handleTransferListTypeChange:0}],leftListItems:[{handleLeftListItemsChange:0}],rightListItems:[{handleRightListItemsChange:0}]}]);function ct(){typeof customElements<"u"&&["gids-transfer-list"].forEach((e=>{e==="gids-transfer-list"&&(customElements.get(e)||customElements.define(e,dt))}))}ct();const Os=dt,As=ct;M.GidsTransferList=Os,M.defineCustomElement=As,Object.defineProperty(M,Symbol.toStringTag,{value:"Module"})}));