@ganpatiinfo/gids-core-web 10.0.0 → 10.2.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 (224) hide show
  1. package/dist/css/index.css +260 -0
  2. package/dist/css/index.css.map +1 -1
  3. package/dist/gids-action-bar.d.ts +11 -0
  4. package/dist/gids-action-bar.js +1 -0
  5. package/dist/gids-activity-gauge.d.ts +1 -1
  6. package/dist/gids-activity-gauge.js +1 -1
  7. package/dist/gids-bar-chart.d.ts +1 -1
  8. package/dist/gids-bar-chart.js +1 -1
  9. package/dist/gids-calendar-header-panel.d.ts +1 -1
  10. package/dist/gids-calendar-header-panel.js +1 -1
  11. package/dist/gids-calendar-month-list.d.ts +1 -1
  12. package/dist/gids-calendar-month-list.js +1 -1
  13. package/dist/gids-calendar-year-list.d.ts +1 -1
  14. package/dist/gids-calendar-year-list.js +1 -1
  15. package/dist/gids-calendar.d.ts +1 -1
  16. package/dist/gids-calendar.js +1 -1
  17. package/dist/gids-chart-legend-item.d.ts +1 -1
  18. package/dist/gids-chart-legend-item.js +1 -1
  19. package/dist/gids-chart-legend.d.ts +1 -1
  20. package/dist/gids-chart-legend.js +1 -1
  21. package/dist/gids-chart.d.ts +1 -1
  22. package/dist/gids-chart.js +1 -1
  23. package/dist/gids-chevron-button.d.ts +1 -1
  24. package/dist/gids-chevron-button.js +1 -1
  25. package/dist/gids-dot.d.ts +1 -1
  26. package/dist/gids-dot.js +1 -1
  27. package/dist/gids-dropdown-field.d.ts +1 -1
  28. package/dist/gids-dropdown-field.js +1 -1
  29. package/dist/gids-dropdown-picker.d.ts +1 -1
  30. package/dist/gids-dropdown-picker.js +1 -1
  31. package/dist/gids-dropdown.d.ts +1 -1
  32. package/dist/gids-dropdown.js +1 -1
  33. package/dist/gids-field.d.ts +1 -1
  34. package/dist/gids-field.js +1 -1
  35. package/dist/gids-filter.d.ts +11 -0
  36. package/dist/gids-filter.js +1 -0
  37. package/dist/gids-icon.d.ts +1 -1
  38. package/dist/gids-icon.js +1 -1
  39. package/dist/gids-input.d.ts +1 -1
  40. package/dist/gids-input.js +1 -1
  41. package/dist/gids-level-gauge.d.ts +1 -1
  42. package/dist/gids-level-gauge.js +1 -1
  43. package/dist/gids-line-chart.d.ts +1 -1
  44. package/dist/gids-line-chart.js +1 -1
  45. package/dist/gids-notification.d.ts +1 -1
  46. package/dist/gids-notification.js +1 -1
  47. package/dist/gids-overflow-container.d.ts +1 -1
  48. package/dist/gids-overflow-container.js +1 -1
  49. package/dist/gids-overlay-provider.d.ts +1 -1
  50. package/dist/gids-overlay-provider.js +1 -1
  51. package/dist/gids-password-field.d.ts +1 -1
  52. package/dist/gids-password-field.js +1 -1
  53. package/dist/gids-pie-chart.d.ts +1 -1
  54. package/dist/gids-pie-chart.js +1 -1
  55. package/dist/gids-popover.d.ts +1 -1
  56. package/dist/gids-popover.js +1 -1
  57. package/dist/gids-progress-circle.d.ts +1 -1
  58. package/dist/gids-progress-circle.js +1 -1
  59. package/dist/gids-scrim.d.ts +1 -1
  60. package/dist/gids-scrim.js +1 -1
  61. package/dist/gids-snackbar.d.ts +1 -1
  62. package/dist/gids-snackbar.js +1 -1
  63. package/dist/gids-tab-item.d.ts +11 -0
  64. package/dist/gids-tab-item.js +1 -0
  65. package/dist/gids-tab.d.ts +11 -0
  66. package/dist/gids-tab.js +1 -0
  67. package/dist/gids-text-field.d.ts +1 -1
  68. package/dist/gids-text-field.js +1 -1
  69. package/dist/gids-toggle-button.d.ts +1 -1
  70. package/dist/gids-toggle-button.js +1 -1
  71. package/dist/gids-tooltip.d.ts +1 -1
  72. package/dist/gids-tooltip.js +1 -1
  73. package/dist/index.js +1 -1
  74. package/dist/{p-h6alWGT8.js → p-5VIPb1eU.js} +1 -1
  75. package/dist/{p-BiPAgxAQ.js → p-8tOn5SjU.js} +1 -1
  76. package/dist/{p-Bmb-HiXg.js → p-B1Jgtjhu.js} +1 -1
  77. package/dist/{p-B81J5HCC.js → p-BYDimyG-.js} +1 -1
  78. package/dist/p-Bf3p-DY2.js +1 -0
  79. package/dist/{p-tyIgTtUC.js → p-BfnzH6wp.js} +1 -1
  80. package/dist/p-Bj28yqMD.js +1 -0
  81. package/dist/{p-CJzporPT.js → p-C-cUL-aA.js} +1 -1
  82. package/dist/{p-BvYnawkJ.js → p-C7ifjRCE.js} +1 -1
  83. package/dist/p-CHGTBObD.js +1 -0
  84. package/dist/{p-D_wcwB7E.js → p-CaauwQNd.js} +1 -1
  85. package/dist/p-Ciw-O9qN.js +1 -0
  86. package/dist/{p-quZYWCxU.js → p-CoS0NuDU.js} +1 -1
  87. package/dist/{p-BnL97lOW.js → p-D4Pimu_8.js} +1 -1
  88. package/dist/p-D6lxqcxP.js +1 -0
  89. package/dist/p-DMNS1d8v.js +1 -0
  90. package/dist/{p-uqSjmNkw.js → p-Degg_WJz.js} +1 -1
  91. package/dist/p-Dg2yoUxw.js +1 -0
  92. package/dist/{p-CIP0xyhD.js → p-DiNad9Px.js} +1 -1
  93. package/dist/{p-D93TNeOt.js → p-DoPuGtJd.js} +1 -1
  94. package/dist/{p-DfFqFdmS.js → p-Doi8Yizl.js} +1 -1
  95. package/dist/{p-9_mrQ7ac.js → p-Jdpe4Sgj.js} +1 -1
  96. package/dist/p-UVmSPzTd.js +1 -0
  97. package/dist/p-UxDcM-C5.js +1 -0
  98. package/dist/{p-CPSHPtGE.js → p-bPPm7cuw.js} +1 -1
  99. package/dist/p-qb1aWgjh.js +1 -0
  100. package/dist/p-qrjEbv6g.js +1 -0
  101. package/dist/p-xITwQAMz.js +1 -0
  102. package/dist/types/components/html/GidsButtonGroup/GidsButtonGroup.d.ts +2 -2
  103. package/dist/types/components/webComponents/GidsActionBar/GidsActionBar.d.ts +59 -0
  104. package/dist/types/components/webComponents/GidsFilter/GidsFilter.d.ts +55 -0
  105. package/dist/types/components/webComponents/GidsTab/GidsTab.d.ts +17 -0
  106. package/dist/types/components/webComponents/GidsTabItem/GidsTabItem.d.ts +29 -0
  107. package/dist/types/components/webComponents/GidsToggleButton/GidsToggleButton.d.ts +5 -3
  108. package/dist/types/components.d.ts +381 -5
  109. package/dist-bundled/es/gids-action-bar.js +177 -0
  110. package/dist-bundled/es/gids-activity-gauge.js +1 -1
  111. package/dist-bundled/es/gids-bar-chart.js +4 -4
  112. package/dist-bundled/es/gids-calendar-header-panel.js +4 -4
  113. package/dist-bundled/es/gids-calendar-month-list.js +3 -3
  114. package/dist-bundled/es/gids-calendar-year-list.js +3 -3
  115. package/dist-bundled/es/gids-calendar.js +34 -34
  116. package/dist-bundled/es/gids-chart-legend-item.js +3 -3
  117. package/dist-bundled/es/gids-chart-legend.js +4 -4
  118. package/dist-bundled/es/gids-chart.js +22 -22
  119. package/dist-bundled/es/gids-chevron-button.js +9 -9
  120. package/dist-bundled/es/gids-dot.js +1 -1
  121. package/dist-bundled/es/gids-dropdown-field.js +9 -9
  122. package/dist-bundled/es/gids-dropdown-picker.js +2 -2
  123. package/dist-bundled/es/gids-dropdown.js +4 -4
  124. package/dist-bundled/es/gids-field.js +1 -1
  125. package/dist-bundled/es/gids-filter.js +6 -0
  126. package/dist-bundled/es/gids-icon.js +4 -4
  127. package/dist-bundled/es/gids-input.js +4 -4
  128. package/dist-bundled/es/gids-level-gauge.js +4 -4
  129. package/dist-bundled/es/gids-line-chart.js +1 -1
  130. package/dist-bundled/es/gids-notification.js +1 -1
  131. package/dist-bundled/es/gids-overflow-container.js +9 -9
  132. package/dist-bundled/es/gids-overlay-provider.js +12 -12
  133. package/dist-bundled/es/gids-password-field.js +48 -48
  134. package/dist-bundled/es/gids-pie-chart.js +3 -3
  135. package/dist-bundled/es/gids-popover.js +5 -5
  136. package/dist-bundled/es/gids-progress-circle.js +1 -1
  137. package/dist-bundled/es/gids-scrim.js +3 -3
  138. package/dist-bundled/es/gids-snackbar.js +1 -1
  139. package/dist-bundled/es/gids-tab-item.js +100 -0
  140. package/dist-bundled/es/gids-tab.js +63 -0
  141. package/dist-bundled/es/gids-text-field.js +17 -17
  142. package/dist-bundled/es/gids-toggle-button.js +4 -44
  143. package/dist-bundled/es/gids-tooltip.js +2 -2
  144. package/dist-bundled/es/index.js +3 -3
  145. package/dist-bundled/es/nonEmpty-B284_5ai.js +4 -0
  146. package/dist-bundled/es/{p-h6alWGT8-CSY2g3c8.js → p-5VIPb1eU-MCAo8JCp.js} +8 -8
  147. package/dist-bundled/es/{p-BiPAgxAQ-BtMBQpJY.js → p-8tOn5SjU-D9rZ28cf.js} +11 -11
  148. package/dist-bundled/es/{p-Bmb-HiXg-MyHWdhpw.js → p-B1Jgtjhu-B_VYp-ZP.js} +15 -15
  149. package/dist-bundled/es/{p-B81J5HCC-Bkt2yXKi.js → p-BYDimyG--DBCLrqDJ.js} +3 -3
  150. package/dist-bundled/es/p-Bf3p-DY2-CPqEc-vc.js +672 -0
  151. package/dist-bundled/es/{p-tyIgTtUC-C8jR4A5G.js → p-BfnzH6wp-BfLC7Nak.js} +4 -4
  152. package/dist-bundled/es/p-Bj28yqMD-Dz1SWSqM.js +44 -0
  153. package/dist-bundled/es/{p-CJzporPT-I_OdjJsQ.js → p-C-cUL-aA-2jsvw-Lr.js} +9 -9
  154. package/dist-bundled/es/{p-BvYnawkJ-DohV9UNG.js → p-C7ifjRCE-CRlorwoN.js} +10 -10
  155. package/dist-bundled/es/{p-DKsrt7dx-ImYLc4xz.js → p-CHGTBObD-EN4cCwtX.js} +3 -3
  156. package/dist-bundled/es/{p-D_wcwB7E-d3jYxfod.js → p-CaauwQNd-D6_PbcRr.js} +1 -1
  157. package/dist-bundled/es/{p-BFHWXEeg-ByjSjz8i.js → p-Ciw-O9qN-DkWfirFu.js} +24 -22
  158. package/dist-bundled/es/{p-quZYWCxU-CPyWW0nv.js → p-CoS0NuDU-CqmDcRWj.js} +9 -9
  159. package/dist-bundled/es/{p-BnL97lOW-BO0p4EdC.js → p-D4Pimu_8-DfEGRQGf.js} +1 -1
  160. package/dist-bundled/es/p-D6lxqcxP-DWrZi1Xi.js +74 -0
  161. package/dist-bundled/es/{p-Dehss-X0-Di5vMgvd.js → p-DMNS1d8v-CHF62UXm.js} +3 -3
  162. package/dist-bundled/es/{p-uqSjmNkw-Cz2T86sC.js → p-Degg_WJz-BLua06el.js} +3 -3
  163. package/dist-bundled/es/{p-CRngHsR7-DL9wz3Z3.js → p-Dg2yoUxw-Cca8ROd_.js} +4 -4
  164. package/dist-bundled/es/{p-CIP0xyhD-D6y5soLj.js → p-DiNad9Px-uOCMHqAq.js} +11 -11
  165. package/dist-bundled/es/{p-D93TNeOt-Vvshbux8.js → p-DoPuGtJd-DYlbhh57.js} +14 -14
  166. package/dist-bundled/es/{p-DfFqFdmS-DjI2pk-0.js → p-Doi8Yizl-BszWK5Dq.js} +5 -5
  167. package/dist-bundled/es/{p-9_mrQ7ac-If6e6cvJ.js → p-Jdpe4Sgj-acwaxLtK.js} +3 -3
  168. package/dist-bundled/es/p-UVmSPzTd-6vjXok6h.js +26 -0
  169. package/dist-bundled/es/{p-DZWWuJac-DNQvnHAr.js → p-UxDcM-C5-Dr5d_WpJ.js} +2 -2
  170. package/dist-bundled/es/{p-CPSHPtGE-C7baJgXR.js → p-bPPm7cuw-B-dtPJF9.js} +6 -6
  171. package/dist-bundled/es/{p-B_HaXpJZ-a2SDgQ0E.js → p-qb1aWgjh-CzmMPIME.js} +2 -2
  172. package/dist-bundled/es/p-qrjEbv6g-ITSp3ky_.js +152 -0
  173. package/dist-bundled/es/{p-BaO-kEWS-ZITkeP-j.js → p-xITwQAMz-BMXjOAAQ.js} +20 -18
  174. package/dist-bundled/umd/gids-action-bar.umd.js +7 -0
  175. package/dist-bundled/umd/gids-activity-gauge.umd.js +2 -2
  176. package/dist-bundled/umd/gids-bar-chart.umd.js +3 -3
  177. package/dist-bundled/umd/gids-calendar-header-panel.umd.js +2 -2
  178. package/dist-bundled/umd/gids-calendar-month-list.umd.js +2 -2
  179. package/dist-bundled/umd/gids-calendar-year-list.umd.js +2 -2
  180. package/dist-bundled/umd/gids-calendar.umd.js +2 -2
  181. package/dist-bundled/umd/gids-chart-legend-item.umd.js +2 -2
  182. package/dist-bundled/umd/gids-chart-legend.umd.js +2 -2
  183. package/dist-bundled/umd/gids-chart.umd.js +3 -3
  184. package/dist-bundled/umd/gids-chevron-button.umd.js +2 -2
  185. package/dist-bundled/umd/gids-dot.umd.js +2 -2
  186. package/dist-bundled/umd/gids-dropdown-field.umd.js +2 -2
  187. package/dist-bundled/umd/gids-dropdown-picker.umd.js +2 -2
  188. package/dist-bundled/umd/gids-dropdown.umd.js +2 -2
  189. package/dist-bundled/umd/gids-field.umd.js +2 -2
  190. package/dist-bundled/umd/gids-filter.umd.js +7 -0
  191. package/dist-bundled/umd/gids-icon.umd.js +2 -2
  192. package/dist-bundled/umd/gids-input.umd.js +2 -2
  193. package/dist-bundled/umd/gids-level-gauge.umd.js +2 -2
  194. package/dist-bundled/umd/gids-line-chart.umd.js +2 -2
  195. package/dist-bundled/umd/gids-notification.umd.js +2 -2
  196. package/dist-bundled/umd/gids-overflow-container.umd.js +2 -2
  197. package/dist-bundled/umd/gids-overlay-provider.umd.js +2 -2
  198. package/dist-bundled/umd/gids-password-field.umd.js +2 -2
  199. package/dist-bundled/umd/gids-pie-chart.umd.js +2 -2
  200. package/dist-bundled/umd/gids-popover.umd.js +2 -2
  201. package/dist-bundled/umd/gids-progress-circle.umd.js +2 -2
  202. package/dist-bundled/umd/gids-scrim.umd.js +2 -2
  203. package/dist-bundled/umd/gids-snackbar.umd.js +2 -2
  204. package/dist-bundled/umd/gids-tab-item.umd.js +5 -0
  205. package/dist-bundled/umd/gids-tab.umd.js +5 -0
  206. package/dist-bundled/umd/gids-text-field.umd.js +2 -2
  207. package/dist-bundled/umd/gids-toggle-button.umd.js +3 -3
  208. package/dist-bundled/umd/gids-tooltip.umd.js +2 -2
  209. package/dist-bundled/umd/index.umd.js +2 -2
  210. package/dist-bundled/umd-complete/gids-core-web.umd.js +8 -8
  211. package/package.json +36 -4
  212. package/dist/p-BFHWXEeg.js +0 -1
  213. package/dist/p-B_HaXpJZ.js +0 -1
  214. package/dist/p-BaO-kEWS.js +0 -1
  215. package/dist/p-CRngHsR7.js +0 -1
  216. package/dist/p-Ct3Ixgvf.js +0 -1
  217. package/dist/p-DKsrt7dx.js +0 -1
  218. package/dist/p-DZWWuJac.js +0 -1
  219. package/dist/p-Dehss-X0.js +0 -1
  220. package/dist/p-KxRqlvSh.js +0 -1
  221. package/dist/p-MgTlrSP_.js +0 -1
  222. package/dist-bundled/es/p-Ct3Ixgvf-CNP_PKwP.js +0 -646
  223. package/dist-bundled/es/p-KxRqlvSh-JOFDmT0B.js +0 -25
  224. package/dist-bundled/es/p-MgTlrSP_-DifRVv94.js +0 -70
@@ -1,5 +1,5 @@
1
- (function(X,ne){typeof exports=="object"&&typeof module<"u"?ne(exports):typeof define=="function"&&define.amd?define(["exports"],ne):(X=typeof globalThis<"u"?globalThis:X||self,ne(X.gidsCoreWebGidsTooltip={}))})(this,(function(X){"use strict";function ne(e,t,o){const n=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==n;){const i=Object.getOwnPropertyDescriptor(e,t);if(i&&(!o||i.get))return i;e=Object.getPrototypeOf(e)}}var de,ln=(e,t)=>{var o;Object.entries((o=t.o.t)!=null?o:{}).map((([n,[i]])=>{if(31&i||32&i){const s=e[n],l=ne(Object.getPrototypeOf(e),n,!0)||Object.getOwnPropertyDescriptor(e,n);l&&Object.defineProperty(e,n,{get(){return l.get.call(this)},set(c){l.set.call(this,c)},configurable:!0,enumerable:!0}),t.l.has(n)?e[n]=t.l.get(n):s!==void 0&&(e[n]=s)}}))},j=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},pt=(e,t)=>t in e,oe=(e,t)=>(0,console.error)(e,t),Oe=new Map,mt="http://www.w3.org/1999/xlink",rn=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],O=typeof window<"u"?window:{},cn=O.HTMLElement||class{},T={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,o,n)=>e.addEventListener(t,o,n),rel:(e,t,o,n)=>e.removeEventListener(t,o,n),ce:(e,t)=>new CustomEvent(e,t)},je=(()=>{try{return!!O.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),Ve=!!je&&!!O.document&&Object.getOwnPropertyDescriptor(O.document.adoptedStyleSheets,"length").writable,He=!1,gt=[],yt=[],an=(e,t)=>o=>{e.push(o),He||(He=!0,4&T.i?Be(ze):T.raf(ze))},wt=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(o){oe(o)}e.length=0},ze=()=>{wt(gt),wt(yt),(He=gt.length>0)&&T.raf(ze)},Be=e=>Promise.resolve(void 0).then(e),fn=an(yt);function un(){const e=this.attachShadow({mode:"open"});de===void 0&&(de=null),de&&(Ve?e.adoptedStyleSheets.push(de):e.adoptedStyleSheets=[...e.adoptedStyleSheets,de])}var vt=e=>{const t=Ue(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&Ie(t,e.tagName).forEach((n=>{n.nodeType===1&&n.tagName==="SLOT-FB"&&(n.hidden=!!dn(n,he(n),!1).length)}));let o=0;for(o=0;o<t.length;o++){const n=t[o];n.nodeType===1&&Ue(n,"childNodes").length&&vt(n)}};function Ie(e,t,o){let n,i=0,s=[];for(;i<e.length;i++){if(n=e[i],n["s-sr"]&&(!t||n["s-hn"]===t)&&(o===void 0||he(n)===o)&&(s.push(n),o!==void 0))return s;s=[...s,...Ie(n.childNodes,t,o)]}return s}var dn=(e,t,o=!0)=>{const n=[];(o&&e["s-sr"]||!e["s-sr"])&&n.push(e);let i=e;for(;i=i.nextSibling;)he(i)!==t||!o&&i["s-sr"]||n.push(i);return n},bt=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",he=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function Ue(e,t){if("__"+t in e){const o=e["__"+t];return typeof o!="function"?o:o.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var qe,Y,B=new WeakMap,xt=e=>"sc-"+e.p,Xe=e=>(e=typeof e)=="object"||e==="function",ie=(e,t,...o)=>{let n=null,i=null,s=null,l=!1,c=!1;const r=[],f=a=>{for(let d=0;d<a.length;d++)n=a[d],Array.isArray(n)?f(n):n!=null&&typeof n!="boolean"&&((l=typeof e!="function"&&!Xe(n))&&(n=String(n)),l&&c?r[r.length-1].h+=n:r.push(l?Ce(null,n):n),c=l)};if(f(o),t){t.key&&(i=t.key),t.name&&(s=t.name);{const a=t.className||t.class;a&&(t.class=typeof a!="object"?a:Object.keys(a).filter((d=>a[d])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,r,pn);const u=Ce(e,null);return u.v=t,r.length>0&&(u.m=r),u.$=i,u.j=s,u},Ce=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),hn={},pn={forEach:(e,t)=>e.map(St).forEach(t),map:(e,t)=>e.map(St).map(t).map(mn)},St=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),mn=e=>{if(typeof e.vtag=="function"){const o={...e.vattrs};return e.vkey&&(o.key=e.vkey),e.vname&&(o.name=e.vname),ie(e.vtag,o,...e.vchildren||[])}const t=Ce(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},Et=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let o=!1;for(const i of t){if(o)break;for(const s of e[i])if(typeof s=="string"){o=!0;break}}if(!o)return e;const n={};for(const i of t)n[i]=e[i].map((s=>typeof s=="string"?{[s]:0}:s));return n},Ot=(e,t,o)=>e==null||Xe(e)?e:4&t?(o&&typeof e=="string"||e!=="false")&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,gn=(e,t,o)=>{const n=T.ce(t,o);return e.dispatchEvent(n),n},Ct=(e,t,o,n,i,s)=>{if(o===n)return;let l=pt(e,t),c=t.toLowerCase();if(t==="class"){const r=e.classList,f=At(o);let u=At(n);r.remove(...f.filter((a=>a&&!u.includes(a)))),r.add(...u.filter((a=>a&&!f.includes(a))))}else if(t==="style"){for(const r in o)n&&n[r]!=null||(r.includes("-")?e.style.removeProperty(r):e.style[r]="");for(const r in n)o&&n[r]===o[r]||(r.includes("-")?e.style.setProperty(r,n[r]):e.style[r]=n[r])}else if(t!=="key"){if(t==="ref")n&&vn(n,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const r=t.slice(5);let f;{const u=j(e);if(u&&u.o&&u.o.t){const a=u.o.t[r];a&&a[1]&&(f=a[1])}}return f||(f=r.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(n==null||n===!1?n===!1&&e.getAttribute(f)!==""||e.removeAttribute(f):e.setAttribute(f,n===!0?"":n))}if(t[0]==="p"&&t.startsWith("prop:")){const r=t.slice(5);try{e[r]=n}catch{}return}{const r=Xe(n);if((l||r&&n!==null)&&!i)try{if(e.tagName.includes("-"))e[t]!==n&&(e[t]=n);else{const u=n??"";t==="list"?l=!1:o!=null&&e[t]===u||(typeof e.__lookupSetter__(t)=="function"?e[t]=u:e.setAttribute(t,u))}}catch{}let f=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,f=!0),n==null||n===!1?n===!1&&e.getAttribute(t)!==""||(f?e.removeAttributeNS(mt,t):e.removeAttribute(t)):(!l||4&s||i)&&!r&&e.nodeType===1&&(n=n===!0?"":n,f?e.setAttributeNS(mt,t,n):e.setAttribute(t,n))}}else if(t=t[2]==="-"?t.slice(3):pt(O,c)?c.slice(2):c[2]+t.slice(3),o||n){const r=t.endsWith(Tt);t=t.replace(wn,""),o&&T.rel(e,t,o,r),n&&T.ael(e,t,n,r)}}},yn=/\s/,At=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(yn):[]),Tt="Capture",wn=new RegExp(Tt+"$"),Ye=(e,t,o)=>{const n=t.S.nodeType===11&&t.S.host?t.S.host:t.S,i=e&&e.v||{},s=t.v||{};for(const l of Nt(Object.keys(i)))l in s||Ct(n,l,i[l],void 0,o,t.i);for(const l of Nt(Object.keys(s)))Ct(n,l,i[l],s[l],o,t.i)};function Nt(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var pe=!1,Ae=!1,Te=!1,R=!1,Ge=[],Ze=[],Ne=(e,t,o)=>{var n;const i=t.m[o];let s,l,c,r=0;if(pe||(Te=!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(""),Ye(null,i,R);else{if(R||(R=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(R?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!pe&&2&i.i?"slot-fb":i.O),R&&i.O==="foreignObject"&&(R=!1),Ye(null,i,R),i.m){const f=i.O==="template"?s.content:s;for(r=0;r<i.m.length;++r)l=Ne(e,i,r),l&&f.appendChild(l)}i.O==="svg"?R=!1:s.tagName==="foreignObject"&&(R=!0)}return s["s-hn"]=Y,3&i.i&&(s["s-sr"]=!0,s["s-cr"]=qe,s["s-sn"]=i.j||"",s["s-rf"]=(n=i.v)==null?void 0:n.ref,(function(f){if(f.assignedElements||f.assignedNodes||!f["s-sr"])return;const u=a=>(function(d){const p=[],h=this["s-sn"];d?.flatten&&console.error(`
1
+ (function(X,oe){typeof exports=="object"&&typeof module<"u"?oe(exports):typeof define=="function"&&define.amd?define(["exports"],oe):(X=typeof globalThis<"u"?globalThis:X||self,oe(X.gidsCoreWebGidsTooltip={}))})(this,(function(X){"use strict";function oe(e,t,o){const n=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==n;){const i=Object.getOwnPropertyDescriptor(e,t);if(i&&(!o||i.get))return i;e=Object.getPrototypeOf(e)}}var de,rn=(e,t)=>{var o;Object.entries((o=t.o.t)!=null?o:{}).map((([n,[i]])=>{if(31&i||32&i){const s=e[n],l=oe(Object.getPrototypeOf(e),n,!0)||Object.getOwnPropertyDescriptor(e,n);l&&Object.defineProperty(e,n,{get(){return l.get.call(this)},set(c){l.set.call(this,c)},configurable:!0,enumerable:!0}),t.l.has(n)?e[n]=t.l.get(n):s!==void 0&&(e[n]=s)}}))},j=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},pt=(e,t)=>t in e,Y=(e,t)=>(0,console.error)(e,t),Oe=new Map,mt="http://www.w3.org/1999/xlink",cn=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],O=typeof window<"u"?window:{},an=O.HTMLElement||class{},C={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,o,n)=>e.addEventListener(t,o,n),rel:(e,t,o,n)=>e.removeEventListener(t,o,n),ce:(e,t)=>new CustomEvent(e,t)},fn=(()=>{var e;let t=!1;try{(e=O.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),je=(()=>{try{return!!O.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),Ve=!!je&&!!O.document&&Object.getOwnPropertyDescriptor(O.document.adoptedStyleSheets,"length").writable,He=!1,gt=[],yt=[],un=(e,t)=>o=>{e.push(o),He||(He=!0,4&C.i?ze(Be):C.raf(Be))},vt=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(o){Y(o)}e.length=0},Be=()=>{vt(gt),vt(yt),(He=gt.length>0)&&C.raf(Be)},ze=e=>Promise.resolve(void 0).then(e),dn=un(yt);function hn(){const e=this.attachShadow({mode:"open"});de===void 0&&(de=null),de&&(Ve?e.adoptedStyleSheets.push(de):e.adoptedStyleSheets=[...e.adoptedStyleSheets,de])}var wt=e=>{const t=Ue(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&Ie(t,e.tagName).forEach((n=>{n.nodeType===1&&n.tagName==="SLOT-FB"&&(n.hidden=!!pn(n,he(n),!1).length)}));let o=0;for(o=0;o<t.length;o++){const n=t[o];n.nodeType===1&&Ue(n,"childNodes").length&&wt(n)}};function Ie(e,t,o){let n,i=0,s=[];for(;i<e.length;i++){if(n=e[i],n["s-sr"]&&(!t||n["s-hn"]===t)&&(o===void 0||he(n)===o)&&(s.push(n),o!==void 0))return s;s=[...s,...Ie(n.childNodes,t,o)]}return s}var pn=(e,t,o=!0)=>{const n=[];(o&&e["s-sr"]||!e["s-sr"])&&n.push(e);let i=e;for(;i=i.nextSibling;)he(i)!==t||!o&&i["s-sr"]||n.push(i);return n},bt=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",he=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function Ue(e,t){if("__"+t in e){const o=e["__"+t];return typeof o!="function"?o:o.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var qe,G,z=new WeakMap,xt=e=>"sc-"+e.p,Xe=e=>(e=typeof e)=="object"||e==="function",ie=(e,t,...o)=>{let n=null,i=null,s=null,l=!1,c=!1;const r=[],f=a=>{for(let d=0;d<a.length;d++)n=a[d],Array.isArray(n)?f(n):n!=null&&typeof n!="boolean"&&((l=typeof e!="function"&&!Xe(n))&&(n=String(n)),l&&c?r[r.length-1].h+=n:r.push(l?Ae(null,n):n),c=l)};if(f(o),t){t.key&&(i=t.key),t.name&&(s=t.name);{const a=t.className||t.class;a&&(t.class=typeof a!="object"?a:Object.keys(a).filter((d=>a[d])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,r,gn);const u=Ae(e,null);return u.v=t,r.length>0&&(u.m=r),u.$=i,u.j=s,u},Ae=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),mn={},gn={forEach:(e,t)=>e.map(St).forEach(t),map:(e,t)=>e.map(St).map(t).map(yn)},St=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),yn=e=>{if(typeof e.vtag=="function"){const o={...e.vattrs};return e.vkey&&(o.key=e.vkey),e.vname&&(o.name=e.vname),ie(e.vtag,o,...e.vchildren||[])}const t=Ae(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},Et=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let o=!1;for(const i of t){if(o)break;for(const s of e[i])if(typeof s=="string"){o=!0;break}}if(!o)return e;const n={};for(const i of t)n[i]=e[i].map((s=>typeof s=="string"?{[s]:0}:s));return n},Ot=(e,t,o)=>e==null||Xe(e)?e:4&t?(o&&typeof e=="string"||e!=="false")&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,vn=(e,t,o)=>{const n=C.ce(t,o);return e.dispatchEvent(n),n},At=(e,t,o,n,i,s)=>{if(o===n)return;let l=pt(e,t),c=t.toLowerCase();if(t==="class"){const r=e.classList,f=Ct(o);let u=Ct(n);r.remove(...f.filter((a=>a&&!u.includes(a)))),r.add(...u.filter((a=>a&&!f.includes(a))))}else if(t==="style"){for(const r in o)n&&n[r]!=null||(r.includes("-")?e.style.removeProperty(r):e.style[r]="");for(const r in n)o&&n[r]===o[r]||(r.includes("-")?e.style.setProperty(r,n[r]):e.style[r]=n[r])}else if(t!=="key"){if(t==="ref")n&&xn(n,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const r=t.slice(5);let f;{const u=j(e);if(u&&u.o&&u.o.t){const a=u.o.t[r];a&&a[1]&&(f=a[1])}}return f||(f=r.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(n==null||n===!1?n===!1&&e.getAttribute(f)!==""||e.removeAttribute(f):e.setAttribute(f,n===!0?"":n))}if(t[0]==="p"&&t.startsWith("prop:")){const r=t.slice(5);try{e[r]=n}catch{}return}{const r=Xe(n);if((l||r&&n!==null)&&!i)try{if(e.tagName.includes("-"))e[t]!==n&&(e[t]=n);else{const u=n??"";t==="list"?l=!1:o!=null&&e[t]===u||(typeof e.__lookupSetter__(t)=="function"?e[t]=u:e.setAttribute(t,u))}}catch{}let f=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,f=!0),n==null||n===!1?n===!1&&e.getAttribute(t)!==""||(f?e.removeAttributeNS(mt,t):e.removeAttribute(t)):(!l||4&s||i)&&!r&&e.nodeType===1&&(n=n===!0?"":n,f?e.setAttributeNS(mt,t,n):e.setAttribute(t,n))}}else if(t=t[2]==="-"?t.slice(3):pt(O,c)?c.slice(2):c[2]+t.slice(3),o||n){const r=t.endsWith(Tt);t=t.replace(bn,""),o&&C.rel(e,t,o,r),n&&C.ael(e,t,n,r)}}},wn=/\s/,Ct=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(wn):[]),Tt="Capture",bn=new RegExp(Tt+"$"),Ye=(e,t,o)=>{const n=t.S.nodeType===11&&t.S.host?t.S.host:t.S,i=e&&e.v||{},s=t.v||{};for(const l of Nt(Object.keys(i)))l in s||At(n,l,i[l],void 0,o,t.i);for(const l of Nt(Object.keys(s)))At(n,l,i[l],s[l],o,t.i)};function Nt(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var pe=!1,Ce=!1,Te=!1,R=!1,Ge=[],Ze=[],Ne=(e,t,o)=>{var n;const i=t.m[o];let s,l,c,r=0;if(pe||(Te=!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(""),Ye(null,i,R);else{if(R||(R=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(R?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!pe&&2&i.i?"slot-fb":i.O),R&&i.O==="foreignObject"&&(R=!1),Ye(null,i,R),i.m){const f=i.O==="template"?s.content:s;for(r=0;r<i.m.length;++r)l=Ne(e,i,r),l&&f.appendChild(l)}i.O==="svg"?R=!1:s.tagName==="foreignObject"&&(R=!0)}return s["s-hn"]=G,3&i.i&&(s["s-sr"]=!0,s["s-cr"]=qe,s["s-sn"]=i.j||"",s["s-rf"]=(n=i.v)==null?void 0:n.ref,(function(f){if(f.assignedElements||f.assignedNodes||!f["s-sr"])return;const u=a=>(function(d){const p=[],h=this["s-sn"];d?.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 g=[];for(let y=0;y<v.length;y++){const m=v[y]["s-nr"]||void 0;m&&m.isConnected&&g.push(m)}return g})(w.childNodes)).forEach((v=>{h===he(v)&&p.push(v)})),a?p.filter((v=>v.nodeType===1)):p}).bind(f);f.assignedElements=u(!0),f.assignedNodes=u(!1)})(s),c=e&&e.m&&e.m[o],c&&c.O===i.O&&e.S&&Rt(e.S)),s},Rt=e=>{T.i|=1;const t=e.closest(Y.toLowerCase());if(t!=null){const o=Array.from(t.__childNodes||t.childNodes).find((i=>i["s-cr"])),n=Array.from(e.__childNodes||e.childNodes);for(const i of o?n.reverse():n)i["s-sh"]!=null&&(_(t,i,o??null),i["s-sh"]=void 0,Te=!0)}T.i&=-2},Re=(e,t)=>{T.i|=1;const o=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let n=e;for(;n=n.nextSibling;)n&&n["s-sn"]===e["s-sn"]&&n["s-sh"]===Y&&o.push(n)}for(let n=o.length-1;n>=0;n--){const i=o[n];i["s-hn"]!==Y&&i["s-ol"]&&(_(me(i).parentNode,i,me(i)),i["s-ol"].remove(),i["s-ol"]=void 0,i["s-sh"]=void 0,Te=!0),t&&Re(i,t)}T.i&=-2},kt=(e,t,o,n,i,s)=>{let l,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===Y&&(c=c.shadowRoot),o.O==="template"&&(c=c.content);i<=s;++i)n[i]&&(l=Ne(null,o,i),l&&(n[i].S=l,_(c,l,me(t))))},Lt=(e,t,o)=>{for(let n=t;n<=o;++n){const i=e[n];if(i){const s=i.S;Pt(i),s&&(Ae=!0,s["s-ol"]?s["s-ol"].remove():Re(s,!0),s.remove())}}},ke=(e,t,o=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:o?(o&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),me=e=>e&&e["s-ol"]||e,se=(e,t,o=!1)=>{const n=t.S=e.S,i=e.m,s=t.m,l=t.O,c=t.h;let r;c==null?(R=l==="svg"||l!=="foreignObject"&&R,l!=="slot"||pe||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Rt(t.S.parentElement)),Ye(e,t,R),i!==null&&s!==null?((f,u,a,d,p=!1)=>{let h,w,v=0,g=0,y=0,m=0,x=u.length-1,b=u[0],S=u[x],E=d.length-1,C=d[0],A=d[E];const L=a.O==="template"?f.content:f;for(;v<=x&&g<=E;)if(b==null)b=u[++v];else if(S==null)S=u[--x];else if(C==null)C=d[++g];else if(A==null)A=d[--E];else if(ke(b,C,p))se(b,C,p),b=u[++v],C=d[++g];else if(ke(S,A,p))se(S,A,p),S=u[--x],A=d[--E];else if(ke(b,A,p))b.O!=="slot"&&A.O!=="slot"||Re(b.S.parentNode,!1),se(b,A,p),_(L,b.S,S.S.nextSibling),b=u[++v],A=d[--E];else if(ke(S,C,p))b.O!=="slot"&&A.O!=="slot"||Re(S.S.parentNode,!1),se(S,C,p),_(L,S.S,b.S),S=u[--x],C=d[++g];else{for(y=-1,m=v;m<=x;++m)if(u[m]&&u[m].$!==null&&u[m].$===C.$){y=m;break}y>=0?(w=u[y],w.O!==C.O?h=Ne(u&&u[g],a,y):(se(w,C,p),u[y]=void 0,h=w.S),C=d[++g]):(h=Ne(u&&u[g],a,g),C=d[++g]),h&&_(me(b.S).parentNode,h,me(b.S))}v>x?kt(f,d[E+1]==null?null:d[E+1].S,a,d,g,E):g>E&&Lt(u,v,x)})(n,i,t,s,o):s!==null?(e.h!==null&&(n.textContent=""),kt(n,null,t,s,0,s.length-1)):!o&&i!==null&&Lt(i,0,i.length-1),R&&l==="svg"&&(R=!1)):(r=n["s-cr"])?r.parentNode.textContent=c:e.h!==c&&(n.data=c)},V=[],_t=e=>{let t,o,n;const i=e.__childNodes||e.childNodes;for(const s of i){if(s["s-sr"]&&(t=s["s-cr"])&&t.parentNode){o=t.parentNode.__childNodes||t.parentNode.childNodes;const l=s["s-sn"];for(n=o.length-1;n>=0;n--)if(t=o[n],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===s["s-hn"]||t["s-sh"]&&t["s-sh"]===s["s-hn"]))if(bt(t,l)){let c=V.find((r=>r.k===t));Ae=!0,t["s-sn"]=t["s-sn"]||l,c?(c.k["s-sh"]=s["s-hn"],c.N=s):(t["s-sh"]=s["s-hn"],V.push({N:s,k:t})),t["s-sr"]&&V.map((r=>{bt(r.k,t["s-sn"])&&(c=V.find((f=>f.k===t)),c&&!r.N&&(r.N=c.N))}))}else V.some((c=>c.k===t))||V.push({k:t})}s.nodeType===1&&_t(s)}},Pt=e=>{e.v&&e.v.ref&&Ge.push((()=>e.v.ref(null))),e.m&&e.m.map(Pt)},vn=(e,t)=>{Ze.push((()=>e(t)))},_=(e,t,o,n)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,o);const{slotNode:i}=(function(s,l){var c;if(!(l=l||((c=s["s-ol"])==null?void 0:c.parentElement)))return{slotNode:null,slotName:""};const r=s["s-sn"]=he(s)||"";return{slotNode:Ie(Ue(l,"childNodes"),l.tagName,r)[0],slotName:r}})(t);return i&&!n&&i.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,o):e?.insertBefore(t,o)},bn=(e,t,o=!1)=>{var n,i,s,l,c;const r=e.$hostElement$,f=e.o,u=e.M||Ce(null,null);var a;const d=(a=t)&&a.O===hn?t:ie(null,null,t);if(Y=r.tagName,f.C&&(d.v=d.v||{},f.C.forEach((([p,h])=>{d.v[h]=r[p]}))),o&&d.v)for(const p of Object.keys(d.v))r.hasAttribute(p)&&!["key","ref","style","class"].includes(p)&&(d.v[p]=r[p]);if(d.O=null,d.i|=4,e.M=d,d.S=u.S=r.shadowRoot||r,pe=!(!(1&f.i)||128&f.i),qe=r["s-cr"],Ae=!1,se(u,d,o),T.i|=1,Te){_t(d.S);for(const p of V){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,o)}}for(const p of V){const h=p.k,w=p.N;if(h.nodeType===1&&o&&(h["s-ih"]=(n=h.hidden)!=null&&n),w){const v=w.parentNode;let g=w.nextSibling;if(g&&g.nodeType===1){let y=(i=h["s-ol"])==null?void 0:i.previousSibling;for(;y;){let m=(s=y["s-nr"])!=null?s:null;if(m&&m["s-sn"]===h["s-sn"]&&v===(m.__parentNode||m.parentNode)){for(m=m.nextSibling;m===h||m?.["s-sr"];)m=m?.nextSibling;if(!m||!m["s-nr"]){g=m;break}}y=y.previousSibling}}if((!g&&v!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==g)&&h!==g){if(_(v,h,g,o),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const y=O.document.createTextNode(h.nodeValue.replace(/^s-nt-/,""));y["s-hn"]=h["s-hn"],y["s-sn"]=h["s-sn"],y["s-sh"]=h["s-sh"],y["s-sr"]=h["s-sr"],y["s-ol"]=h["s-ol"],y["s-ol"]["s-nr"]=y,_(h.parentNode,y,h,o),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(Ae&&vt(d.S),T.i&=-2,V.length=0,!pe&&!(1&f.i)&&r["s-cr"]){const p=d.S.__childNodes||d.S.childNodes;for(const h of p)if(h["s-hn"]!==Y&&!h["s-sh"]){if(o&&h["s-ih"]==null&&(h["s-ih"]=(c=h.hidden)!=null&&c),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const w=O.document.createComment("s-nt-"+h.nodeValue);w["s-sn"]=h["s-sn"],_(h.parentNode,w,h,o),h.parentNode.removeChild(h)}}}qe=void 0,Ge.forEach((p=>p())),Ge.length=0,Ze.forEach((p=>p())),Ze.length=0},$t=(e,t)=>{if(t&&!e.A&&t["s-p"]){const o=t["s-p"].push(new Promise((n=>e.A=()=>{t["s-p"].splice(o-1,1),n()})))}},Ke=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);$t(e,e.R);const o=()=>xn(e,t);if(!t)return fn(o);queueMicrotask((()=>{o()}))},xn=(e,t)=>{const o=e.$hostElement$,n=o;if(!n)throw new Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return i=ge(n,t?"componentWillLoad":"componentWillUpdate",void 0,o),i=Dt(i,(()=>ge(n,"componentWillRender",void 0,o))),Dt(i,(()=>En(e,n,t)))},Dt=(e,t)=>Sn(e)?e.then(t).catch((o=>{console.error(o),t()})):t(),Sn=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",En=async(e,t,o)=>{var n;const i=e.$hostElement$,s=i["s-rc"];o&&(l=>{const c=l.o,r=l.$hostElement$,f=c.i,u=((a,d)=>{var p,h,w;const v=xt(d),g=Oe.get(v);if(!O.document)return v;if(a=a.nodeType===11?a:O.document,g)if(typeof g=="string"){let y,m=B.get(a=a.head||a);if(m||B.set(a,m=new Set),!m.has(v)){y=O.document.createElement("style"),y.textContent=g;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&&y.setAttribute("nonce",x),!(1&d.i))if(a.nodeName==="HEAD"){const b=a.querySelectorAll("link[rel=preconnect]"),S=b.length>0?b[b.length-1].nextSibling:a.querySelector("style");a.insertBefore(y,S?.parentNode===a?S:null)}else if("host"in a)if(je){const b=new((h=a.defaultView)!=null?h:a.ownerDocument.defaultView).CSSStyleSheet;b.replaceSync(g),Ve?a.adoptedStyleSheets.unshift(b):a.adoptedStyleSheets=[b,...a.adoptedStyleSheets]}else{const b=a.querySelector("style");b?b.textContent=g+b.textContent:a.prepend(y)}else a.append(y);1&d.i&&a.insertBefore(y,null),4&d.i&&(y.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),m&&m.add(v)}}else{let y=B.get(a);if(y||B.set(a,y=new Set),!y.has(v)){const m=(w=a.defaultView)!=null?w:a.ownerDocument.defaultView;let x;if(g.constructor===m.CSSStyleSheet)x=g;else{x=new m.CSSStyleSheet;for(let b=0;b<g.cssRules.length;b++)x.insertRule(g.cssRules[b].cssText,b)}Ve?a.adoptedStyleSheets.push(x):a.adoptedStyleSheets=[...a.adoptedStyleSheets,x],y.add(v)}}return v})(r.shadowRoot?r.shadowRoot:r.getRootNode(),c);10&f&&(r["s-sc"]=u,r.classList.add(u+"-h"))})(e),On(e,t,i,o),s&&(s.map((l=>l())),i["s-rc"]=void 0);{const l=(n=i["s-p"])!=null?n:[],c=()=>Cn(e);l.length===0?c():(Promise.all(l).then(c).catch(c),e.i|=4,l.length=0)}},On=(e,t,o,n)=>{try{t=t.render(),e.i&=-17,e.i|=2,bn(e,t,n)}catch(i){oe(i,e.$hostElement$)}return null},Cn=e=>{const t=e.$hostElement$,o=t,n=e.R;ge(o,"componentDidRender",void 0,t),64&e.i?ge(o,"componentDidUpdate",void 0,t):(e.i|=64,Tn(t),ge(o,"componentDidLoad",void 0,t),e.L(t),n||An()),e.A&&(e.A(),e.A=void 0),512&e.i&&Be((()=>Ke(e,!1))),e.i&=-517},An=()=>{Be((()=>gn(O,"appload",{detail:{namespace:"gids-core-web"}})))},ge=(e,t,o,n)=>{if(e&&e[t])try{return e[t](o)}catch(i){oe(i,n)}},Tn=e=>e.classList.add("hydrated"),Mt=(e,t,o,n)=>{const i=j(e);if(!i)return;const s=e,l=i.l.get(t),c=i.i,r=s;o=Ot(o,n.t[t][0],!!(64&n.i));const f=Number.isNaN(l)&&Number.isNaN(o);if(o!==l&&!f){if(i.l.set(t,o),n.F){const u=n.F[t];u&&u.map((a=>{try{const[[d,p]]=Object.entries(a);(128&c||1&p)&&(r?r[d](o,l,t):i.T.push((()=>{i.D[d](o,l,t)})))}catch(d){oe(d,s)}}))}if(2&c){if(r.componentShouldUpdate&&r.componentShouldUpdate(o,l,t)===!1&&!(16&c))return;16&c||Ke(i,!1)}}},Nn=(e,t,o)=>{var n,i;const s=e.prototype;64&t.i&&1&o&&rn.forEach((l=>{const c=s[l];Object.defineProperty(s,l,{value(...r){var f;const u=j(this),a=this;a?typeof c=="function"&&c.call(a,...r):(f=u?.H)==null||f.then((d=>{const p=d[l];typeof p=="function"&&p.call(d,...r)}))}})}));{e.watchers&&!t.F&&(t.F=Et(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const l=Object.entries((n=t.t)!=null?n:{});l.map((([c,[r]])=>{if(31&r||32&r){const{get:f,set:u}=ne(s,c)||{};f&&(t.t[c][0]|=2048),u&&(t.t[c][0]|=4096),Object.defineProperty(s,c,{get(){return f?f.apply(this):(a=c,j(this).l.get(a));var a},configurable:!0,enumerable:!0}),Object.defineProperty(s,c,{set(a){const d=j(this);if(d){if(u)return(32&r?this[c]:d.$hostElement$[c])===void 0&&d.l.get(c)&&(a=d.l.get(c)),u.apply(this,[Ot(a,r,!!(64&t.i))]),void Mt(this,c,a=32&r?this[c]:d.$hostElement$[c],t);Mt(this,c,a,t)}}})}}));{const c=new Map;s.attributeChangedCallback=function(r,f,u){T.jmp((()=>{var a;const d=c.get(r),p=j(this);if(this.hasOwnProperty(d),s.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==u)return;if(d==null){const y=p?.i;if(p&&y&&!(8&y)&&u!==f){const m=this,x=(a=t.F)==null?void 0:a[r];x?.forEach((b=>{const[[S,E]]=Object.entries(b);m[S]!=null&&(128&y||1&E)&&m[S].call(m,u,f,r)}))}return}const h=l.find((([y])=>y===d)),w=h&&4&h[1][0],v=w&&u===null&&this[d]===void 0;w&&(u=u!==null&&u!=="false");const g=Object.getOwnPropertyDescriptor(s,d);v||u==this[d]||g.get&&!g.set||(this[d]=u)}))},e.observedAttributes=Array.from(new Set([...Object.keys((i=t.F)!=null?i:{}),...l.filter((([r,f])=>31&f[0])).map((([r,f])=>{var u;const a=f[1]||r;return c.set(a,r),512&f[0]&&((u=t.C)==null||u.push([r,a])),a}))]))}}return e},Rn=(e,t)=>{const o={i:t[0],p:t[1]};try{o.t=t[2],o.F=Et(e.F),o.P=e.P,o.U=e.U,o.C=[];const n=e.prototype.connectedCallback,i=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((s,l)=>{const c={i:0,$hostElement$:s,o:l,l:new Map,W:new Map};c.H=new Promise((f=>c.L=f)),s["s-p"]=[],s["s-rc"]=[];const r=c;s.__stencil__getHostRef=()=>r,512&l.i&&ln(s,c)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){if(!j(this))return;this.__hasHostListenerAttached=!0}(s=>{if(!(1&T.i)){const l=j(s);if(!l)return;const c=l.o;if(1&l.i)l?.D||l?.H&&l.H.then((()=>{}));else{l.i|=1,12&c.i&&(r=>{if(!O.document)return;const f=r["s-cr"]=O.document.createComment("");f["s-cn"]=!0,_(r,f,r.firstChild)})(s);{let r=s;for(;r=r.parentNode||r.host;)if(r["s-p"]){$t(l,l.R=r);break}}c.t&&Object.entries(c.t).map((([r,[f]])=>{if(31&f&&Object.prototype.hasOwnProperty.call(s,r)){const u=s[r];delete s[r],s[r]=u}})),(async(r,f,u)=>{let a;try{if(!(32&f.i)&&(f.i|=32,a=r.constructor,customElements.whenDefined(r.localName).then((()=>f.i|=128)),a&&a.style)){let h;typeof a.style=="string"&&(h=a.style);const w=xt(u);Oe.has(w)||((v,g,y)=>{let m=Oe.get(v);je&&y?(m=m||new CSSStyleSheet,typeof m=="string"?m=g:m.replaceSync(g)):m=g,Oe.set(v,m)})(w,h,!!(1&u.i))}const d=f.R,p=()=>Ke(f,!0);d&&d["s-rc"]?d["s-rc"].push(p):p()}catch(d){oe(d,r),f.A&&(f.A(),f.A=void 0),f.L&&f.L(r)}})(s,l,c)}}})(this),n&&n.call(this)},disconnectedCallback(){(async s=>{1&T.i||j(s),B.has(s)&&B.delete(s),s.shadowRoot&&B.has(s.shadowRoot)&&B.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 ${o.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else un.call(this,o)}}),Object.defineProperty(e,"is",{value:o.p,configurable:!0}),Nn(e,o,3)}catch(n){return oe(n),e}},kn=(e,t)=>t;function To(e){return e}const le=Math.min,G=Math.max,Le=Math.round,_e=Math.floor,F=e=>({x:e,y:e}),Ln={left:"right",right:"left",bottom:"top",top:"bottom"};function Je(e,t,o){return G(e,le(t,o))}function ye(e,t){return typeof e=="function"?e(t):e}function Z(e){return e.split("-")[0]}function we(e){return e.split("-")[1]}function Ft(e){return e==="x"?"y":"x"}function Qe(e){return e==="y"?"height":"width"}function I(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function et(e){return Ft(I(e))}function _n(e,t,o){o===void 0&&(o=!1);const n=we(e),i=et(e),s=Qe(i);let l=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(l=Pe(l)),[l,Pe(l)]}function Pn(e){const t=Pe(e);return[tt(e),t,tt(t)]}function tt(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Wt=["left","right"],jt=["right","left"],$n=["top","bottom"],Dn=["bottom","top"];function Mn(e,t,o){switch(e){case"top":case"bottom":return o?t?jt:Wt:t?Wt:jt;case"left":case"right":return t?$n:Dn;default:return[]}}function Fn(e,t,o,n){const i=we(e);let s=Mn(Z(e),o==="start",n);return i&&(s=s.map(l=>l+"-"+i),t&&(s=s.concat(s.map(tt)))),s}function Pe(e){const t=Z(e);return Ln[t]+e.slice(t.length)}function Wn(e){return{top:0,right:0,bottom:0,left:0,...e}}function Vt(e){return typeof e!="number"?Wn(e):{top:e,right:e,bottom:e,left:e}}function $e(e){const{x:t,y:o,width:n,height:i}=e;return{width:n,height:i,top:o,left:t,right:t+n,bottom:o+i,x:t,y:o}}function Ht(e,t,o){let{reference:n,floating:i}=e;const s=I(t),l=et(t),c=Qe(l),r=Z(t),f=s==="y",u=n.x+n.width/2-i.width/2,a=n.y+n.height/2-i.height/2,d=n[c]/2-i[c]/2;let p;switch(r){case"top":p={x:u,y:n.y-i.height};break;case"bottom":p={x:u,y:n.y+n.height};break;case"right":p={x:n.x+n.width,y:a};break;case"left":p={x:n.x-i.width,y:a};break;default:p={x:n.x,y:n.y}}switch(we(t)){case"start":p[l]-=d*(o&&f?-1:1);break;case"end":p[l]+=d*(o&&f?-1:1);break}return p}async function jn(e,t){var o;t===void 0&&(t={});const{x:n,y:i,platform:s,rects:l,elements:c,strategy:r}=e,{boundary:f="clippingAncestors",rootBoundary:u="viewport",elementContext:a="floating",altBoundary:d=!1,padding:p=0}=ye(t,e),h=Vt(p),v=c[d?a==="floating"?"reference":"floating":a],g=$e(await s.getClippingRect({element:(o=await(s.isElement==null?void 0:s.isElement(v)))==null||o?v:v.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:f,rootBoundary:u,strategy:r})),y=a==="floating"?{x:n,y:i,width:l.floating.width,height:l.floating.height}:l.reference,m=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),x=await(s.isElement==null?void 0:s.isElement(m))?await(s.getScale==null?void 0:s.getScale(m))||{x:1,y:1}:{x:1,y:1},b=$e(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:y,offsetParent:m,strategy:r}):y);return{top:(g.top-b.top+h.top)/x.y,bottom:(b.bottom-g.bottom+h.bottom)/x.y,left:(g.left-b.left+h.left)/x.x,right:(b.right-g.right+h.right)/x.x}}const Vn=50,Hn=async(e,t,o)=>{const{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:l}=o,c=l.detectOverflow?l:{...l,detectOverflow:jn},r=await(l.isRTL==null?void 0:l.isRTL(t));let f=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:a}=Ht(f,n,r),d=n,p=0;const h={};for(let w=0;w<s.length;w++){const v=s[w];if(!v)continue;const{name:g,fn:y}=v,{x:m,y:x,data:b,reset:S}=await y({x:u,y:a,initialPlacement:n,placement:d,strategy:i,middlewareData:h,rects:f,platform:c,elements:{reference:e,floating:t}});u=m??u,a=x??a,h[g]={...h[g],...b},S&&p<Vn&&(p++,typeof S=="object"&&(S.placement&&(d=S.placement),S.rects&&(f=S.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:i}):S.rects),{x:u,y:a}=Ht(f,d,r)),w=-1)}return{x:u,y:a,placement:d,strategy:i,middlewareData:h}},zn=e=>({name:"arrow",options:e,async fn(t){const{x:o,y:n,placement:i,rects:s,platform:l,elements:c,middlewareData:r}=t,{element:f,padding:u=0}=ye(e,t)||{};if(f==null)return{};const a=Vt(u),d={x:o,y:n},p=et(i),h=Qe(p),w=await l.getDimensions(f),v=p==="y",g=v?"top":"left",y=v?"bottom":"right",m=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(f));let E=S?S[m]:0;(!E||!await(l.isElement==null?void 0:l.isElement(S)))&&(E=c.floating[m]||s.floating[h]);const C=x/2-b/2,A=E/2-w[h]/2-1,L=le(a[g],A),Se=le(a[y],A),ee=L,Ee=E-w[h]-Se,N=E/2-w[h]/2+C,te=Je(ee,N,Ee),z=!r.arrow&&we(i)!=null&&N!==te&&s.reference[h]/2-(N<ee?L:Se)-w[h]/2<0,D=z?N<ee?N-ee:N-Ee:0;return{[p]:d[p]+D,data:{[p]:te,centerOffset:N-te-D,...z&&{alignmentOffset:D}},reset:z}}}),Bn=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var o,n;const{placement:i,middlewareData:s,rects:l,initialPlacement:c,platform:r,elements:f}=t,{mainAxis:u=!0,crossAxis:a=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:w=!0,...v}=ye(e,t);if((o=s.arrow)!=null&&o.alignmentOffset)return{};const g=Z(i),y=I(c),m=Z(c)===c,x=await(r.isRTL==null?void 0:r.isRTL(f.floating)),b=d||(m||!w?[Pe(c)]:Pn(c)),S=h!=="none";!d&&S&&b.push(...Fn(c,w,h,x));const E=[c,...b],C=await r.detectOverflow(t,v),A=[];let L=((n=s.flip)==null?void 0:n.overflows)||[];if(u&&A.push(C[g]),a){const N=_n(i,l,x);A.push(C[N[0]],C[N[1]])}if(L=[...L,{placement:i,overflows:A}],!A.every(N=>N<=0)){var Se,ee;const N=(((Se=s.flip)==null?void 0:Se.index)||0)+1,te=E[N];if(te&&(!(a==="alignment"?y!==I(te):!1)||L.every(M=>I(M.placement)===y?M.overflows[0]>0:!0)))return{data:{index:N,overflows:L},reset:{placement:te}};let z=(ee=L.filter(D=>D.overflows[0]<=0).sort((D,M)=>D.overflows[1]-M.overflows[1])[0])==null?void 0:ee.placement;if(!z)switch(p){case"bestFit":{var Ee;const D=(Ee=L.filter(M=>{if(S){const q=I(M.placement);return q===y||q==="y"}return!0}).map(M=>[M.placement,M.overflows.filter(q=>q>0).reduce((q,Ao)=>q+Ao,0)]).sort((M,q)=>M[1]-q[1])[0])==null?void 0:Ee[0];D&&(z=D);break}case"initialPlacement":z=c;break}if(i!==z)return{reset:{placement:z}}}return{}}}},In=new Set(["left","top"]);async function Un(e,t){const{placement:o,platform:n,elements:i}=e,s=await(n.isRTL==null?void 0:n.isRTL(i.floating)),l=Z(o),c=we(o),r=I(o)==="y",f=In.has(l)?-1:1,u=s&&r?-1:1,a=ye(t,e);let{mainAxis:d,crossAxis:p,alignmentAxis:h}=typeof a=="number"?{mainAxis:a,crossAxis:0,alignmentAxis:null}:{mainAxis:a.mainAxis||0,crossAxis:a.crossAxis||0,alignmentAxis:a.alignmentAxis};return c&&typeof h=="number"&&(p=c==="end"?h*-1:h),r?{x:p*u,y:d*f}:{x:d*f,y:p*u}}const qn=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var o,n;const{x:i,y:s,placement:l,middlewareData:c}=t,r=await Un(t,e);return l===((o=c.offset)==null?void 0:o.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:i+r.x,y:s+r.y,data:{...r,placement:l}}}}},Xn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:o,y:n,placement:i,platform:s}=t,{mainAxis:l=!0,crossAxis:c=!1,limiter:r={fn:g=>{let{x:y,y:m}=g;return{x:y,y:m}}},...f}=ye(e,t),u={x:o,y:n},a=await s.detectOverflow(t,f),d=I(Z(i)),p=Ft(d);let h=u[p],w=u[d];if(l){const g=p==="y"?"top":"left",y=p==="y"?"bottom":"right",m=h+a[g],x=h-a[y];h=Je(m,h,x)}if(c){const g=d==="y"?"top":"left",y=d==="y"?"bottom":"right",m=w+a[g],x=w-a[y];w=Je(m,w,x)}const v=r.fn({...t,[p]:h,[d]:w});return{...v,data:{x:v.x-o,y:v.y-n,enabled:{[p]:l,[d]:c}}}}}};function De(){return typeof window<"u"}function re(e){return zt(e)?(e.nodeName||"").toLowerCase():"#document"}function k(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function W(e){var t;return(t=(zt(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function zt(e){return De()?e instanceof Node||e instanceof k(e).Node:!1}function P(e){return De()?e instanceof Element||e instanceof k(e).Element:!1}function H(e){return De()?e instanceof HTMLElement||e instanceof k(e).HTMLElement:!1}function Bt(e){return!De()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof k(e).ShadowRoot}function ve(e){const{overflow:t,overflowX:o,overflowY:n,display:i}=$(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&i!=="inline"&&i!=="contents"}function Yn(e){return/^(table|td|th)$/.test(re(e))}function Me(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const Gn=/transform|translate|scale|rotate|perspective|filter/,Zn=/paint|layout|strict|content/,K=e=>!!e&&e!=="none";let nt;function ot(e){const t=P(e)?$(e):e;return K(t.transform)||K(t.translate)||K(t.scale)||K(t.rotate)||K(t.perspective)||!it()&&(K(t.backdropFilter)||K(t.filter))||Gn.test(t.willChange||"")||Zn.test(t.contain||"")}function Kn(e){let t=U(e);for(;H(t)&&!ce(t);){if(ot(t))return t;if(Me(t))return null;t=U(t)}return null}function it(){return nt==null&&(nt=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),nt}function ce(e){return/^(html|body|#document)$/.test(re(e))}function $(e){return k(e).getComputedStyle(e)}function Fe(e){return P(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function U(e){if(re(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Bt(e)&&e.host||W(e);return Bt(t)?t.host:t}function It(e){const t=U(e);return ce(t)?e.ownerDocument?e.ownerDocument.body:e.body:H(t)&&ve(t)?t:It(t)}function be(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);const i=It(e),s=i===((n=e.ownerDocument)==null?void 0:n.body),l=k(i);if(s){const c=st(l);return t.concat(l,l.visualViewport||[],ve(i)?i:[],c&&o?be(c):[])}else return t.concat(i,be(i,[],o))}function st(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ut(e){const t=$(e);let o=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const i=H(e),s=i?e.offsetWidth:o,l=i?e.offsetHeight:n,c=Le(o)!==s||Le(n)!==l;return c&&(o=s,n=l),{width:o,height:n,$:c}}function lt(e){return P(e)?e:e.contextElement}function ae(e){const t=lt(e);if(!H(t))return F(1);const o=t.getBoundingClientRect(),{width:n,height:i,$:s}=Ut(t);let l=(s?Le(o.width):o.width)/n,c=(s?Le(o.height):o.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!c||!Number.isFinite(c))&&(c=1),{x:l,y:c}}const Jn=F(0);function qt(e){const t=k(e);return!it()||!t.visualViewport?Jn:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Qn(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==k(e)?!1:t}function J(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);const i=e.getBoundingClientRect(),s=lt(e);let l=F(1);t&&(n?P(n)&&(l=ae(n)):l=ae(e));const c=Qn(s,o,n)?qt(s):F(0);let r=(i.left+c.x)/l.x,f=(i.top+c.y)/l.y,u=i.width/l.x,a=i.height/l.y;if(s){const d=k(s),p=n&&P(n)?k(n):n;let h=d,w=st(h);for(;w&&n&&p!==h;){const v=ae(w),g=w.getBoundingClientRect(),y=$(w),m=g.left+(w.clientLeft+parseFloat(y.paddingLeft))*v.x,x=g.top+(w.clientTop+parseFloat(y.paddingTop))*v.y;r*=v.x,f*=v.y,u*=v.x,a*=v.y,r+=m,f+=x,h=k(w),w=st(h)}}return $e({width:u,height:a,x:r,y:f})}function We(e,t){const o=Fe(e).scrollLeft;return t?t.left+o:J(W(e)).left+o}function Xt(e,t){const o=e.getBoundingClientRect(),n=o.left+t.scrollLeft-We(e,o),i=o.top+t.scrollTop;return{x:n,y:i}}function eo(e){let{elements:t,rect:o,offsetParent:n,strategy:i}=e;const s=i==="fixed",l=W(n),c=t?Me(t.floating):!1;if(n===l||c&&s)return o;let r={scrollLeft:0,scrollTop:0},f=F(1);const u=F(0),a=H(n);if((a||!a&&!s)&&((re(n)!=="body"||ve(l))&&(r=Fe(n)),a)){const p=J(n);f=ae(n),u.x=p.x+n.clientLeft,u.y=p.y+n.clientTop}const d=l&&!a&&!s?Xt(l,r):F(0);return{width:o.width*f.x,height:o.height*f.y,x:o.x*f.x-r.scrollLeft*f.x+u.x+d.x,y:o.y*f.y-r.scrollTop*f.y+u.y+d.y}}function to(e){return Array.from(e.getClientRects())}function no(e){const t=W(e),o=Fe(e),n=e.ownerDocument.body,i=G(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),s=G(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let l=-o.scrollLeft+We(e);const c=-o.scrollTop;return $(n).direction==="rtl"&&(l+=G(t.clientWidth,n.clientWidth)-i),{width:i,height:s,x:l,y:c}}const Yt=25;function oo(e,t){const o=k(e),n=W(e),i=o.visualViewport;let s=n.clientWidth,l=n.clientHeight,c=0,r=0;if(i){s=i.width,l=i.height;const u=it();(!u||u&&t==="fixed")&&(c=i.offsetLeft,r=i.offsetTop)}const f=We(n);if(f<=0){const u=n.ownerDocument,a=u.body,d=getComputedStyle(a),p=u.compatMode==="CSS1Compat"&&parseFloat(d.marginLeft)+parseFloat(d.marginRight)||0,h=Math.abs(n.clientWidth-a.clientWidth-p);h<=Yt&&(s-=h)}else f<=Yt&&(s+=f);return{width:s,height:l,x:c,y:r}}function io(e,t){const o=J(e,!0,t==="fixed"),n=o.top+e.clientTop,i=o.left+e.clientLeft,s=H(e)?ae(e):F(1),l=e.clientWidth*s.x,c=e.clientHeight*s.y,r=i*s.x,f=n*s.y;return{width:l,height:c,x:r,y:f}}function Gt(e,t,o){let n;if(t==="viewport")n=oo(e,o);else if(t==="document")n=no(W(e));else if(P(t))n=io(t,o);else{const i=qt(e);n={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return $e(n)}function Zt(e,t){const o=U(e);return o===t||!P(o)||ce(o)?!1:$(o).position==="fixed"||Zt(o,t)}function so(e,t){const o=t.get(e);if(o)return o;let n=be(e,[],!1).filter(c=>P(c)&&re(c)!=="body"),i=null;const s=$(e).position==="fixed";let l=s?U(e):e;for(;P(l)&&!ce(l);){const c=$(l),r=ot(l);!r&&c.position==="fixed"&&(i=null),(s?!r&&!i:!r&&c.position==="static"&&!!i&&(i.position==="absolute"||i.position==="fixed")||ve(l)&&!r&&Zt(e,l))?n=n.filter(u=>u!==l):i=c,l=U(l)}return t.set(e,n),n}function lo(e){let{element:t,boundary:o,rootBoundary:n,strategy:i}=e;const l=[...o==="clippingAncestors"?Me(t)?[]:so(t,this._c):[].concat(o),n],c=Gt(t,l[0],i);let r=c.top,f=c.right,u=c.bottom,a=c.left;for(let d=1;d<l.length;d++){const p=Gt(t,l[d],i);r=G(p.top,r),f=le(p.right,f),u=le(p.bottom,u),a=G(p.left,a)}return{width:f-a,height:u-r,x:a,y:r}}function ro(e){const{width:t,height:o}=Ut(e);return{width:t,height:o}}function co(e,t,o){const n=H(t),i=W(t),s=o==="fixed",l=J(e,!0,s,t);let c={scrollLeft:0,scrollTop:0};const r=F(0);function f(){r.x=We(i)}if(n||!n&&!s)if((re(t)!=="body"||ve(i))&&(c=Fe(t)),n){const p=J(t,!0,s,t);r.x=p.x+t.clientLeft,r.y=p.y+t.clientTop}else i&&f();s&&!n&&i&&f();const u=i&&!n&&!s?Xt(i,c):F(0),a=l.left+c.scrollLeft-r.x-u.x,d=l.top+c.scrollTop-r.y-u.y;return{x:a,y:d,width:l.width,height:l.height}}function rt(e){return $(e).position==="static"}function Kt(e,t){if(!H(e)||$(e).position==="fixed")return null;if(t)return t(e);let o=e.offsetParent;return W(e)===o&&(o=o.ownerDocument.body),o}function Jt(e,t){const o=k(e);if(Me(e))return o;if(!H(e)){let i=U(e);for(;i&&!ce(i);){if(P(i)&&!rt(i))return i;i=U(i)}return o}let n=Kt(e,t);for(;n&&Yn(n)&&rt(n);)n=Kt(n,t);return n&&ce(n)&&rt(n)&&!ot(n)?o:n||Kn(e)||o}const ao=async function(e){const t=this.getOffsetParent||Jt,o=this.getDimensions,n=await o(e.floating);return{reference:co(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function fo(e){return $(e).direction==="rtl"}const ct={convertOffsetParentRelativeRectToViewportRelativeRect:eo,getDocumentElement:W,getClippingRect:lo,getOffsetParent:Jt,getElementRects:ao,getClientRects:to,getDimensions:ro,getScale:ae,isElement:P,isRTL:fo};function Qt(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function uo(e,t){let o=null,n;const i=W(e);function s(){var c;clearTimeout(n),(c=o)==null||c.disconnect(),o=null}function l(c,r){c===void 0&&(c=!1),r===void 0&&(r=1),s();const f=e.getBoundingClientRect(),{left:u,top:a,width:d,height:p}=f;if(c||t(),!d||!p)return;const h=_e(a),w=_e(i.clientWidth-(u+d)),v=_e(i.clientHeight-(a+p)),g=_e(u),m={rootMargin:-h+"px "+-w+"px "+-v+"px "+-g+"px",threshold:G(0,le(1,r))||1};let x=!0;function b(S){const E=S[0].intersectionRatio;if(E!==r){if(!x)return l();E?l(!1,E):n=setTimeout(()=>{l(!1,1e-7)},1e3)}E===1&&!Qt(f,e.getBoundingClientRect())&&l(),x=!1}try{o=new IntersectionObserver(b,{...m,root:i.ownerDocument})}catch{o=new IntersectionObserver(b,m)}o.observe(e)}return l(!0),s}function ho(e,t,o,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:r=!1}=n,f=lt(e),u=i||s?[...f?be(f):[],...t?be(t):[]]:[];u.forEach(g=>{i&&g.addEventListener("scroll",o,{passive:!0}),s&&g.addEventListener("resize",o)});const a=f&&c?uo(f,o):null;let d=-1,p=null;l&&(p=new ResizeObserver(g=>{let[y]=g;y&&y.target===f&&p&&t&&(p.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var m;(m=p)==null||m.observe(t)})),o()}),f&&!r&&p.observe(f),t&&p.observe(t));let h,w=r?J(e):null;r&&v();function v(){const g=J(e);w&&!Qt(w,g)&&o(),w=g,h=requestAnimationFrame(v)}return o(),()=>{var g;u.forEach(y=>{i&&y.removeEventListener("scroll",o),s&&y.removeEventListener("resize",o)}),a?.(),(g=p)==null||g.disconnect(),p=null,r&&cancelAnimationFrame(h)}}const po=qn,mo=Xn,go=Bn,yo=zn,wo=(e,t,o)=>{const n=new Map,i={platform:ct,...o},s={...i.platform,_c:n};return Hn(e,t,{...i,platform:s})};var xe;(function(e){e.TOOLTIP="tooltip",e.POPOVER="popover"})(xe||(xe={}));function en(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}const vo=/transform|translate|scale|rotate|perspective|filter/,bo=/paint|layout|strict|content/,Q=e=>!!e&&e!=="none";let at;function xo(e){const t=(o=e,typeof window<"u"&&(o instanceof Element||o instanceof en(o).Element)?en(n=e).getComputedStyle(n):e);var o,n;return Q(t.transform)||Q(t.translate)||Q(t.scale)||Q(t.rotate)||Q(t.perspective)||(at==null&&(at=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),!at&&(Q(t.backdropFilter)||Q(t.filter)))||vo.test(t.willChange||"")||bo.test(t.contain||"")}function So(e){return(function(t){for(let o=t;o;o=ft(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=ft(t);o;o=ft(o)){if(!(o instanceof Element))continue;const n=getComputedStyle(o);if(n.display!=="contents"&&(n.position!=="static"||xo(n)||o.tagName==="BODY"))return o}return null})(e)}function ft(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}const ue=class ue{constructor(t,o){this.el=t,this.config=o,this.offset=10,this.timeDelayBeforeFadingOut=50,this.popoverMainAxisEnabled=!0,this.currentPlacement=o.placement,this.cleanup=null}setCommonTimingConfig(){this.timeBeforeElementShows=this.config.showWithoutDelay?50:500,this.timeOfAnimation=this.config.showWithoutDelay?50:250}initialize(){this.setCommonTimingConfig(),this.floatingElement=this.el.shadowRoot?.querySelector(this.config.floatingElementSelector),this.floatingElement&&this.applyViewportMaxWidth(),this.arrowEl=this.config.showArrow!==!1&&this.config.arrowElementSelector?this.el.shadowRoot?.querySelector(this.config.arrowElementSelector):null,this.anchorElement=this.config.htmlFor?.length>0?document.getElementById(this.config.htmlFor):this.config.getAnchorElementFromSlot(this.el.shadowRoot),this.anchorElement?this.setupPositioning():console.warn("Could not determine the element associated with this floating element."+(this.config.htmlFor?.length>0?`Element with id=${this.config.htmlFor} could not be found on the DOM.`:""))}getAnchorElement(){return this.anchorElement}updateConfig(t){this.config={...this.config,...t},"showWithoutDelay"in t&&this.setCommonTimingConfig(),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=ho(this.anchorElement,this.floatingElement,(()=>{this.updatePosition()}),{ancestorScroll:!0,ancestorResize:!1,elementResize:!0,layoutShift:!0,animationFrame:!1}))}cleanupAutoUpdate(){this.cleanup&&(this.cleanup(),this.cleanup=null)}updatePosition(){if(!this.anchorElement)return;const t=[po(this.offset)],o=go({mainAxis:!0,crossAxis:!this.config.lockToMainAxis&&"alignment",fallbackAxisSideDirection:"end",padding:this.offset}),n=this.config.elementType===xe.POPOVER,i=mo({padding:this.offset,mainAxis:this.config.elementType===xe.TOOLTIP||n&&this.popoverMainAxisEnabled,crossAxis:!1});this.config.placement.includes("-")?t.push(o,i):t.push(i,o),this.config.showArrow!==!1&&this.arrowEl&&t.push(yo({element:this.arrowEl,padding:this.offset})),wo(this.anchorElement,this.floatingElement,{placement:this.config.placement,strategy:"fixed",middleware:t,platform:{...ct,getOffsetParent:s=>ct.getOffsetParent(s,So)}}).then((({x:s,y:l,middlewareData:c,placement:r})=>{if(n){const d=r.startsWith("left")||r.startsWith("right"),p=r.startsWith("top")||r.startsWith("bottom"),h=this.isAnchorInViewport(),w=!!p||(d?h:this.popoverMainAxisEnabled);if(w!==this.popoverMainAxisEnabled)return this.popoverMainAxisEnabled=w,void this.updatePosition()}this.currentPlacement=r,Object.assign(this.floatingElement.style,{left:`${s}px`,top:`${l}px`,position:"fixed",transition:`opacity ${this.timeOfAnimation}ms ease`});const f=r.split("-")[0]??"bottom",u={top:"bottom",right:"left",bottom:"top",left:"right"}[f],{arrowZIndex:a}=this.normalizeFloatingElementStacking();if(c.arrow&&this.arrowEl){const d=this.arrowEl.offsetWidth,{x:p,y:h}=c.arrow;this.arrowEl.style.borderRadius=`${["left","right"].includes(f)?"0 ":""}var(--gidsFloatingElement-tip-border-radius, 2px)${["top","bottom"].includes(f)?" 0":""}`,Object.assign(this.arrowEl.style,{left:p!==null?`${p}px`:"",top:h!==null?`${h}px`:"",right:"",bottom:"",[u]:-d/2+"px",transform:"rotate(45deg)",zIndex:`${a}`,background:"var(--gidsFloatingElement-background)"})}}))}applyViewportMaxWidth(){const t=`calc(100vw - ${2*this.offset}px)`;this.floatingElement?.style.maxWidth!==t&&(this.floatingElement.style.maxWidth=t)}normalizeFloatingElementStacking(){const t=this.floatingElement.style.zIndex||(window.getComputedStyle?.(this.floatingElement).zIndex??""),o=Number.parseInt(t,10),n=Number.isNaN(o)?-1:o-1,i=Number.isNaN(o)?n+1:o;return Number.isNaN(i)||(this.floatingElement.style.zIndex=`${i}`),Array.from(this.floatingElement.children).forEach((s=>{if(!(s instanceof HTMLElement)||s===this.arrowEl)return;const l=s.style.zIndex||(window.getComputedStyle?.(s).zIndex??""),c=Number.parseInt(l,10),r=window.getComputedStyle?.(s).position??"";(l===""||l==="auto"||Number.isNaN(c)||c<i)&&(s.style.zIndex=`${i}`,r!==""&&r!=="static"||(s.style.position="relative"))})),{contentZIndex:i,arrowZIndex:n}}hideFloatingElement(){this.floatingElement.classList.remove(this.config.visibilityClass),ue.currentFloatingElements.delete(this.config.elementType)}showFloatingElement(){const t=ue.currentFloatingElements.get(this.config.elementType);t&&t.hideFloatingElement(),this.floatingElement.classList.add(this.config.visibilityClass),ue.currentFloatingElements.set(this.config.elementType,this)}isVisible(){return this.floatingElement.classList.contains(this.config.visibilityClass)}show(){this.setupAutoUpdate(),this.showFloatingElement()}hide(){this.cleanupAutoUpdate(),this.hideFloatingElement()}toggle(){this.isVisible()?this.hide():this.show()}showAfterDelay(){clearTimeout(this.hoverOutTimeout),this.hoverTimeout=setTimeout((()=>{this.show()}),this.timeBeforeElementShows)}hideAfterDelay(){clearTimeout(this.hoverTimeout),this.hoverOutTimeout=setTimeout((()=>{this.hide()}),this.timeDelayBeforeFadingOut)}cancelDelayedActions(){clearTimeout(this.hoverTimeout),clearTimeout(this.hoverOutTimeout)}destroy(){this.cleanupAutoUpdate(),this.cancelDelayedActions()}isAnchorInViewport(){if(!(this.anchorElement&&this.anchorElement instanceof Element))return!1;const t=this.anchorElement.getBoundingClientRect(),o=window.innerHeight||document.documentElement?.clientHeight||0,n=window.innerWidth||document.documentElement?.clientWidth||0,i=t.height/2+2*this.offset;return t.bottom>=i&&t.top<=o-i&&t.right>=0&&t.left<=n}};ue.currentFloatingElements=new Map;let ut=ue;const fe=globalThis.CSSStyleSheet!==void 0?new CSSStyleSheet:void 0;let tn=!1;fe&&document.adoptedStyleSheets?document.adoptedStyleSheets.push(fe):console.warn("CSSStyleSheet is not defined. Omitting constructed stylesheet behaviour.");let dt=null;const ht=globalThis.MutationObserver!==void 0?new MutationObserver((()=>{nn()})):void 0,nn=()=>{if(fe===void 0)return!1;const e=(()=>{if(fe===void 0)return;const t=[];for(let o=0;o<document.styleSheets.length;o++){const n=document.styleSheets.item(o);if(n)try{let i=-1,s=0;for(let l=0;l<n.cssRules.length;l++){const c=n.cssRules.item(l);if(c?.cssText.startsWith("gids-global-styles-start"))i=l;else if(i>-1){if(c?.cssText.startsWith("gids-global-styles-end")){s=l-i+1;break}t.push(c)}}if(i>-1)return{rulesStartIndex:i,originalRulesCount:s,rules:t,styleSheet:n}}catch(i){if(!(i instanceof DOMException))throw i}}})();if(e!==void 0){const t=e.styleSheet.ownerNode;return ht!==void 0&&t!==dt&&(dt&&ht.disconnect(),t instanceof Element&&ht.observe(t,{childList:!0,characterData:!0,subtree:!0}),dt=t),fe.replaceSync((o=>o.rules.map((n=>n.cssText)).join(""))(e)),(o=>{const{rulesStartIndex:n,originalRulesCount:i,styleSheet:s}=o;for(let l=0;l<i;l++)s.deleteRule(n)})(e),!0}return console.warn("refreshConstructedGidsStylesheet: Gids stylesheet is not found in document."),!1},Eo=()=>(tn||(tn=nn()),fe),on=Rn(class extends cn{constructor(e){super(),e!==!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 e=Eo();e!==void 0&&this._el.shadowRoot?.adoptedStyleSheets.push(e)}componentDidLoad(){this.floatingElementManager=new ut(this._el,{htmlFor:this.htmlFor,placement:this.placement,showWithoutDelay:this.showWithoutDelay,lockToMainAxis:this.lockToMainAxis,floatingElementSelector:"#tooltip",arrowElementSelector:"#arrow",visibilityClass:"gids-tooltip--visible",elementType:xe.TOOLTIP,getAnchorElementFromSlot:e=>e.querySelector("slot")?.assignedElements()[0]||null}),this.floatingElementManager.initialize(),this.setupEventListeners()}setupEventListeners(){const e=this.floatingElementManager.getAnchorElement();e&&(e.addEventListener("mouseenter",this.handleShowEvent),e.addEventListener("focus",this.handleShowEvent),e.addEventListener("mouseleave",this.handleHideEvent),e.addEventListener("blur",this.handleHideEvent))}placementChanged(e){this.floatingElementManager?.updateConfig({placement:e}),this.floatingElementManager?.isVisible()&&this.floatingElementManager?.reposition()}showWithoutDelayChanged(e){this.floatingElementManager?.updateConfig({showWithoutDelay:e})}lockToMainAxisChanged(e){this.floatingElementManager?.updateConfig({lockToMainAxis:e})}htmlForChanged(e){this.floatingElementManager?.updateConfig({htmlFor:e}),this.cleanupEventListeners(),this.floatingElementManager?.initialize(),this.setupEventListeners()}cleanupEventListeners(){const e=this.floatingElementManager?.getAnchorElement();e&&(e.removeEventListener("mouseenter",this.handleShowEvent),e.removeEventListener("focus",this.handleShowEvent),e.removeEventListener("mouseleave",this.handleHideEvent),e.removeEventListener("blur",this.handleHideEvent))}render(){return ie(kn,{key:"f9e6c76e1f2b3faa2c2ed5b1f5c28c4b11878819"},ie("slot",{key:"1c36da89ba7d6a20f0e5204d5c079dbc64226d56"}),ie("span",{key:"ac4972259978f2e52fc15545a28dc2375ef370cd",id:"tooltip",part:"tooltip",role:"tooltip"},ie("span",{key:"49a7b319f5f0a87befe6e5d355d846dae12a9644",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 sn(){typeof customElements<"u"&&["gids-tooltip"].forEach((e=>{e==="gids-tooltip"&&(customElements.get(e)||customElements.define(e,on))}))}sn();const Oo=on,Co=sn;X.GidsTooltip=Oo,X.defineCustomElement=Co,Object.defineProperty(X,Symbol.toStringTag,{value:"Module"})}));
5
+ `);const v=this["s-cr"].parentElement;return(v.__childNodes?v.childNodes:(w=>{const g=[];for(let y=0;y<w.length;y++){const m=w[y]["s-nr"]||void 0;m&&m.isConnected&&g.push(m)}return g})(v.childNodes)).forEach((w=>{h===he(w)&&p.push(w)})),a?p.filter((w=>w.nodeType===1)):p}).bind(f);f.assignedElements=u(!0),f.assignedNodes=u(!1)})(s),c=e&&e.m&&e.m[o],c&&c.O===i.O&&e.S&&Rt(e.S)),s},Rt=e=>{C.i|=1;const t=e.closest(G.toLowerCase());if(t!=null){const o=Array.from(t.__childNodes||t.childNodes).find((i=>i["s-cr"])),n=Array.from(e.__childNodes||e.childNodes);for(const i of o?n.reverse():n)i["s-sh"]!=null&&(_(t,i,o??null),i["s-sh"]=void 0,Te=!0)}C.i&=-2},Re=(e,t)=>{C.i|=1;const o=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let n=e;for(;n=n.nextSibling;)n&&n["s-sn"]===e["s-sn"]&&n["s-sh"]===G&&o.push(n)}for(let n=o.length-1;n>=0;n--){const i=o[n];i["s-hn"]!==G&&i["s-ol"]&&(_(me(i).parentNode,i,me(i)),i["s-ol"].remove(),i["s-ol"]=void 0,i["s-sh"]=void 0,Te=!0),t&&Re(i,t)}C.i&=-2},kt=(e,t,o,n,i,s)=>{let l,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===G&&(c=c.shadowRoot),o.O==="template"&&(c=c.content);i<=s;++i)n[i]&&(l=Ne(null,o,i),l&&(n[i].S=l,_(c,l,me(t))))},Lt=(e,t,o)=>{for(let n=t;n<=o;++n){const i=e[n];if(i){const s=i.S;$t(i),s&&(Ce=!0,s["s-ol"]?s["s-ol"].remove():Re(s,!0),s.remove())}}},ke=(e,t,o=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:o?(o&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),me=e=>e&&e["s-ol"]||e,se=(e,t,o=!1)=>{const n=t.S=e.S,i=e.m,s=t.m,l=t.O,c=t.h;let r;c==null?(R=l==="svg"||l!=="foreignObject"&&R,l!=="slot"||pe||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Rt(t.S.parentElement)),Ye(e,t,R),i!==null&&s!==null?((f,u,a,d,p=!1)=>{let h,v,w=0,g=0,y=0,m=0,x=u.length-1,b=u[0],S=u[x],E=d.length-1,A=d[0],T=d[E];const L=a.O==="template"?f.content:f;for(;w<=x&&g<=E;)if(b==null)b=u[++w];else if(S==null)S=u[--x];else if(A==null)A=d[++g];else if(T==null)T=d[--E];else if(ke(b,A,p))se(b,A,p),b=u[++w],A=d[++g];else if(ke(S,T,p))se(S,T,p),S=u[--x],T=d[--E];else if(ke(b,T,p))b.O!=="slot"&&T.O!=="slot"||Re(b.S.parentNode,!1),se(b,T,p),_(L,b.S,S.S.nextSibling),b=u[++w],T=d[--E];else if(ke(S,A,p))b.O!=="slot"&&T.O!=="slot"||Re(S.S.parentNode,!1),se(S,A,p),_(L,S.S,b.S),S=u[--x],A=d[++g];else{for(y=-1,m=w;m<=x;++m)if(u[m]&&u[m].$!==null&&u[m].$===A.$){y=m;break}y>=0?(v=u[y],v.O!==A.O?h=Ne(u&&u[g],a,y):(se(v,A,p),u[y]=void 0,h=v.S),A=d[++g]):(h=Ne(u&&u[g],a,g),A=d[++g]),h&&_(me(b.S).parentNode,h,me(b.S))}w>x?kt(f,d[E+1]==null?null:d[E+1].S,a,d,g,E):g>E&&Lt(u,w,x)})(n,i,t,s,o):s!==null?(e.h!==null&&(n.textContent=""),kt(n,null,t,s,0,s.length-1)):!o&&i!==null&&Lt(i,0,i.length-1),R&&l==="svg"&&(R=!1)):(r=n["s-cr"])?r.parentNode.textContent=c:e.h!==c&&(n.data=c)},V=[],_t=e=>{let t,o,n;const i=e.__childNodes||e.childNodes;for(const s of i){if(s["s-sr"]&&(t=s["s-cr"])&&t.parentNode){o=t.parentNode.__childNodes||t.parentNode.childNodes;const l=s["s-sn"];for(n=o.length-1;n>=0;n--)if(t=o[n],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===s["s-hn"]||t["s-sh"]&&t["s-sh"]===s["s-hn"]))if(bt(t,l)){let c=V.find((r=>r.k===t));Ce=!0,t["s-sn"]=t["s-sn"]||l,c?(c.k["s-sh"]=s["s-hn"],c.N=s):(t["s-sh"]=s["s-hn"],V.push({N:s,k:t})),t["s-sr"]&&V.map((r=>{bt(r.k,t["s-sn"])&&(c=V.find((f=>f.k===t)),c&&!r.N&&(r.N=c.N))}))}else V.some((c=>c.k===t))||V.push({k:t})}s.nodeType===1&&_t(s)}},$t=e=>{e.v&&e.v.ref&&Ge.push((()=>e.v.ref(null))),e.m&&e.m.map($t)},xn=(e,t)=>{Ze.push((()=>e(t)))},_=(e,t,o,n)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,o);const{slotNode:i}=(function(s,l){var c;if(!(l=l||((c=s["s-ol"])==null?void 0:c.parentElement)))return{slotNode:null,slotName:""};const r=s["s-sn"]=he(s)||"";return{slotNode:Ie(Ue(l,"childNodes"),l.tagName,r)[0],slotName:r}})(t);return i&&!n&&i.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,o):e?.insertBefore(t,o)},Sn=(e,t,o=!1)=>{var n,i,s,l,c;const r=e.$hostElement$,f=e.o,u=e.M||Ae(null,null);var a;const d=(a=t)&&a.O===mn?t:ie(null,null,t);if(G=r.tagName,f.C&&(d.v=d.v||{},f.C.forEach((([p,h])=>{d.v[h]=r[p]}))),o&&d.v)for(const p of Object.keys(d.v))r.hasAttribute(p)&&!["key","ref","style","class"].includes(p)&&(d.v[p]=r[p]);if(d.O=null,d.i|=4,e.M=d,d.S=u.S=r.shadowRoot||r,pe=!(!(1&f.i)||128&f.i),qe=r["s-cr"],Ce=!1,se(u,d,o),C.i|=1,Te){_t(d.S);for(const p of V){const h=p.k;if(!h["s-ol"]&&O.document){const v=O.document.createTextNode("");v["s-nr"]=h,_(h.parentNode,h["s-ol"]=v,h,o)}}for(const p of V){const h=p.k,v=p.N;if(h.nodeType===1&&o&&(h["s-ih"]=(n=h.hidden)!=null&&n),v){const w=v.parentNode;let g=v.nextSibling;if(g&&g.nodeType===1){let y=(i=h["s-ol"])==null?void 0:i.previousSibling;for(;y;){let m=(s=y["s-nr"])!=null?s:null;if(m&&m["s-sn"]===h["s-sn"]&&w===(m.__parentNode||m.parentNode)){for(m=m.nextSibling;m===h||m?.["s-sr"];)m=m?.nextSibling;if(!m||!m["s-nr"]){g=m;break}}y=y.previousSibling}}if((!g&&w!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==g)&&h!==g){if(_(w,h,g,o),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const y=O.document.createTextNode(h.nodeValue.replace(/^s-nt-/,""));y["s-hn"]=h["s-hn"],y["s-sn"]=h["s-sn"],y["s-sh"]=h["s-sh"],y["s-sr"]=h["s-sr"],y["s-ol"]=h["s-ol"],y["s-ol"]["s-nr"]=y,_(h.parentNode,y,h,o),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(l=h["s-ih"])!=null&&l)}h&&typeof v["s-rf"]=="function"&&v["s-rf"](v)}else h.nodeType===1&&(h.hidden=!0)}}if(Ce&&wt(d.S),C.i&=-2,V.length=0,!pe&&!(1&f.i)&&r["s-cr"]){const p=d.S.__childNodes||d.S.childNodes;for(const h of p)if(h["s-hn"]!==G&&!h["s-sh"]){if(o&&h["s-ih"]==null&&(h["s-ih"]=(c=h.hidden)!=null&&c),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const v=O.document.createComment("s-nt-"+h.nodeValue);v["s-sn"]=h["s-sn"],_(h.parentNode,v,h,o),h.parentNode.removeChild(h)}}}qe=void 0,Ge.forEach((p=>p())),Ge.length=0,Ze.forEach((p=>p())),Ze.length=0},Pt=(e,t)=>{if(t&&!e.A&&t["s-p"]){const o=t["s-p"].push(new Promise((n=>e.A=()=>{t["s-p"].splice(o-1,1),n()})))}},Ke=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Pt(e,e.R);const o=()=>En(e,t);if(!t)return dn(o);queueMicrotask((()=>{o()}))},En=(e,t)=>{const o=e.$hostElement$,n=o;if(!n)throw new Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return i=ge(n,t?"componentWillLoad":"componentWillUpdate",void 0,o),i=Dt(i,(()=>ge(n,"componentWillRender",void 0,o))),Dt(i,(()=>An(e,n,t)))},Dt=(e,t)=>On(e)?e.then(t).catch((o=>{console.error(o),t()})):t(),On=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",An=async(e,t,o)=>{var n;const i=e.$hostElement$,s=i["s-rc"];o&&(l=>{const c=l.o,r=l.$hostElement$,f=c.i,u=((a,d)=>{var p,h,v;const w=xt(d),g=Oe.get(w);if(!O.document)return w;if(a=a.nodeType===11?a:O.document,g)if(typeof g=="string"){let y,m=z.get(a=a.head||a);if(m||z.set(a,m=new Set),!m.has(w)){y=O.document.createElement("style"),y.textContent=g;const x=(p=C._)!=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&&y.setAttribute("nonce",x),!(1&d.i))if(a.nodeName==="HEAD"){const b=a.querySelectorAll("link[rel=preconnect]"),S=b.length>0?b[b.length-1].nextSibling:a.querySelector("style");a.insertBefore(y,S?.parentNode===a?S:null)}else if("host"in a)if(je){const b=new((h=a.defaultView)!=null?h:a.ownerDocument.defaultView).CSSStyleSheet;b.replaceSync(g),Ve?a.adoptedStyleSheets.unshift(b):a.adoptedStyleSheets=[b,...a.adoptedStyleSheets]}else{const b=a.querySelector("style");b?b.textContent=g+b.textContent:a.prepend(y)}else a.append(y);1&d.i&&a.insertBefore(y,null),4&d.i&&(y.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),m&&m.add(w)}}else{let y=z.get(a);if(y||z.set(a,y=new Set),!y.has(w)){const m=(v=a.defaultView)!=null?v:a.ownerDocument.defaultView;let x;if(g.constructor===m.CSSStyleSheet)x=g;else{x=new m.CSSStyleSheet;for(let b=0;b<g.cssRules.length;b++)x.insertRule(g.cssRules[b].cssText,b)}Ve?a.adoptedStyleSheets.push(x):a.adoptedStyleSheets=[...a.adoptedStyleSheets,x],y.add(w)}}return w})(r.shadowRoot?r.shadowRoot:r.getRootNode(),c);10&f&&(r["s-sc"]=u,r.classList.add(u+"-h"))})(e),Cn(e,t,i,o),s&&(s.map((l=>l())),i["s-rc"]=void 0);{const l=(n=i["s-p"])!=null?n:[],c=()=>Tn(e);l.length===0?c():(Promise.all(l).then(c).catch(c),e.i|=4,l.length=0)}},Cn=(e,t,o,n)=>{try{t=t.render(),e.i&=-17,e.i|=2,Sn(e,t,n)}catch(i){Y(i,e.$hostElement$)}return null},Tn=e=>{const t=e.$hostElement$,o=t,n=e.R;ge(o,"componentDidRender",void 0,t),64&e.i?ge(o,"componentDidUpdate",void 0,t):(e.i|=64,Rn(t),ge(o,"componentDidLoad",void 0,t),e.L(t),n||Nn()),e.A&&(e.A(),e.A=void 0),512&e.i&&ze((()=>Ke(e,!1))),e.i&=-517},Nn=()=>{ze((()=>vn(O,"appload",{detail:{namespace:"gids-core-web"}})))},ge=(e,t,o,n)=>{if(e&&e[t])try{return e[t](o)}catch(i){Y(i,n)}},Rn=e=>e.classList.add("hydrated"),Mt=(e,t,o,n)=>{const i=j(e);if(!i)return;const s=e,l=i.l.get(t),c=i.i,r=s;o=Ot(o,n.t[t][0],!!(64&n.i));const f=Number.isNaN(l)&&Number.isNaN(o);if(o!==l&&!f){if(i.l.set(t,o),n.F){const u=n.F[t];u&&u.map((a=>{try{const[[d,p]]=Object.entries(a);(128&c||1&p)&&(r?r[d](o,l,t):i.T.push((()=>{i.D[d](o,l,t)})))}catch(d){Y(d,s)}}))}if(2&c){if(r.componentShouldUpdate&&r.componentShouldUpdate(o,l,t)===!1&&!(16&c))return;16&c||Ke(i,!1)}}},kn=(e,t,o)=>{var n,i;const s=e.prototype;64&t.i&&1&o&&cn.forEach((l=>{const c=s[l];Object.defineProperty(s,l,{value(...r){var f;const u=j(this),a=this;a?typeof c=="function"&&c.call(a,...r):(f=u?.H)==null||f.then((d=>{const p=d[l];typeof p=="function"&&p.call(d,...r)}))}})}));{e.watchers&&!t.F&&(t.F=Et(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const l=Object.entries((n=t.t)!=null?n:{});l.map((([c,[r]])=>{if(31&r||32&r){const{get:f,set:u}=oe(s,c)||{};f&&(t.t[c][0]|=2048),u&&(t.t[c][0]|=4096),Object.defineProperty(s,c,{get(){return f?f.apply(this):(a=c,j(this).l.get(a));var a},configurable:!0,enumerable:!0}),Object.defineProperty(s,c,{set(a){const d=j(this);if(d){if(u)return(32&r?this[c]:d.$hostElement$[c])===void 0&&d.l.get(c)&&(a=d.l.get(c)),u.apply(this,[Ot(a,r,!!(64&t.i))]),void Mt(this,c,a=32&r?this[c]:d.$hostElement$[c],t);Mt(this,c,a,t)}}})}}));{const c=new Map;s.attributeChangedCallback=function(r,f,u){C.jmp((()=>{var a;const d=c.get(r),p=j(this);if(this.hasOwnProperty(d),s.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==u)return;if(d==null){const y=p?.i;if(p&&y&&!(8&y)&&u!==f){const m=this,x=(a=t.F)==null?void 0:a[r];x?.forEach((b=>{const[[S,E]]=Object.entries(b);m[S]!=null&&(128&y||1&E)&&m[S].call(m,u,f,r)}))}return}const h=l.find((([y])=>y===d)),v=h&&4&h[1][0],w=v&&u===null&&this[d]===void 0;v&&(u=u!==null&&u!=="false");const g=Object.getOwnPropertyDescriptor(s,d);w||u==this[d]||g.get&&!g.set||(this[d]=u)}))},e.observedAttributes=Array.from(new Set([...Object.keys((i=t.F)!=null?i:{}),...l.filter((([r,f])=>31&f[0])).map((([r,f])=>{var u;const a=f[1]||r;return c.set(a,r),512&f[0]&&((u=t.C)==null||u.push([r,a])),a}))]))}}return e},Ln=(e,t)=>{const o={i:t[0],p:t[1]};try{o.t=t[2],o.W=t[3],o.F=Et(e.F),o.P=e.P,o.U=e.U,o.C=[];const n=e.prototype.connectedCallback,i=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((s,l)=>{const c={i:0,$hostElement$:s,o:l,l:new Map,B:new Map};c.H=new Promise((f=>c.L=f)),s["s-p"]=[],s["s-rc"]=[];const r=c;s.__stencil__getHostRef=()=>r,512&l.i&&rn(s,c)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const s=j(this);if(!s)return;Ft(this,s,o.W),this.__hasHostListenerAttached=!0}(s=>{if(!(1&C.i)){const l=j(s);if(!l)return;const c=l.o;if(1&l.i)Ft(s,l,c.W),l?.D||l?.H&&l.H.then((()=>{}));else{l.i|=1,12&c.i&&(r=>{if(!O.document)return;const f=r["s-cr"]=O.document.createComment("");f["s-cn"]=!0,_(r,f,r.firstChild)})(s);{let r=s;for(;r=r.parentNode||r.host;)if(r["s-p"]){Pt(l,l.R=r);break}}c.t&&Object.entries(c.t).map((([r,[f]])=>{if(31&f&&Object.prototype.hasOwnProperty.call(s,r)){const u=s[r];delete s[r],s[r]=u}})),(async(r,f,u)=>{let a;try{if(!(32&f.i)&&(f.i|=32,a=r.constructor,customElements.whenDefined(r.localName).then((()=>f.i|=128)),a&&a.style)){let h;typeof a.style=="string"&&(h=a.style);const v=xt(u);Oe.has(v)||((w,g,y)=>{let m=Oe.get(w);je&&y?(m=m||new CSSStyleSheet,typeof m=="string"?m=g:m.replaceSync(g)):m=g,Oe.set(w,m)})(v,h,!!(1&u.i))}const d=f.R,p=()=>Ke(f,!0);d&&d["s-rc"]?d["s-rc"].push(p):p()}catch(d){Y(d,r),f.A&&(f.A(),f.A=void 0),f.L&&f.L(r)}})(s,l,c)}}})(this),n&&n.call(this)},disconnectedCallback(){(async s=>{if(!(1&C.i)){const l=j(s);l?.V&&(l.V.map((c=>c())),l.V=void 0)}z.has(s)&&z.delete(s),s.shadowRoot&&z.has(s.shadowRoot)&&z.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 ${o.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else hn.call(this,o)}}),Object.defineProperty(e,"is",{value:o.p,configurable:!0}),kn(e,o,3)}catch(n){return Y(n),e}},_n=(e,t)=>t,Ft=(e,t,o)=>{o&&O.document&&o.map((([n,i,s])=>{const l=Pn(O.document,e,n),c=$n(t,s),r=Dn(n);C.ael(l,i,c,r),(t.V=t.V||[]).push((()=>C.rel(l,i,c,r)))}))},$n=(e,t)=>o=>{try{e.$hostElement$[t](o)}catch(n){Y(n,e.$hostElement$)}},Pn=(e,t,o)=>8&o?O:t,Dn=e=>fn?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function _o(e){return e}const le=Math.min,Z=Math.max,Le=Math.round,_e=Math.floor,F=e=>({x:e,y:e}),Mn={left:"right",right:"left",bottom:"top",top:"bottom"};function Je(e,t,o){return Z(e,le(t,o))}function ye(e,t){return typeof e=="function"?e(t):e}function K(e){return e.split("-")[0]}function ve(e){return e.split("-")[1]}function Wt(e){return e==="x"?"y":"x"}function Qe(e){return e==="y"?"height":"width"}function I(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function et(e){return Wt(I(e))}function Fn(e,t,o){o===void 0&&(o=!1);const n=ve(e),i=et(e),s=Qe(i);let l=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(l=$e(l)),[l,$e(l)]}function Wn(e){const t=$e(e);return[tt(e),t,tt(t)]}function tt(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const jt=["left","right"],Vt=["right","left"],jn=["top","bottom"],Vn=["bottom","top"];function Hn(e,t,o){switch(e){case"top":case"bottom":return o?t?Vt:jt:t?jt:Vt;case"left":case"right":return t?jn:Vn;default:return[]}}function Bn(e,t,o,n){const i=ve(e);let s=Hn(K(e),o==="start",n);return i&&(s=s.map(l=>l+"-"+i),t&&(s=s.concat(s.map(tt)))),s}function $e(e){const t=K(e);return Mn[t]+e.slice(t.length)}function zn(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ht(e){return typeof e!="number"?zn(e):{top:e,right:e,bottom:e,left:e}}function Pe(e){const{x:t,y:o,width:n,height:i}=e;return{width:n,height:i,top:o,left:t,right:t+n,bottom:o+i,x:t,y:o}}function Bt(e,t,o){let{reference:n,floating:i}=e;const s=I(t),l=et(t),c=Qe(l),r=K(t),f=s==="y",u=n.x+n.width/2-i.width/2,a=n.y+n.height/2-i.height/2,d=n[c]/2-i[c]/2;let p;switch(r){case"top":p={x:u,y:n.y-i.height};break;case"bottom":p={x:u,y:n.y+n.height};break;case"right":p={x:n.x+n.width,y:a};break;case"left":p={x:n.x-i.width,y:a};break;default:p={x:n.x,y:n.y}}switch(ve(t)){case"start":p[l]-=d*(o&&f?-1:1);break;case"end":p[l]+=d*(o&&f?-1:1);break}return p}async function In(e,t){var o;t===void 0&&(t={});const{x:n,y:i,platform:s,rects:l,elements:c,strategy:r}=e,{boundary:f="clippingAncestors",rootBoundary:u="viewport",elementContext:a="floating",altBoundary:d=!1,padding:p=0}=ye(t,e),h=Ht(p),w=c[d?a==="floating"?"reference":"floating":a],g=Pe(await s.getClippingRect({element:(o=await(s.isElement==null?void 0:s.isElement(w)))==null||o?w:w.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:f,rootBoundary:u,strategy:r})),y=a==="floating"?{x:n,y:i,width:l.floating.width,height:l.floating.height}:l.reference,m=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),x=await(s.isElement==null?void 0:s.isElement(m))?await(s.getScale==null?void 0:s.getScale(m))||{x:1,y:1}:{x:1,y:1},b=Pe(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:y,offsetParent:m,strategy:r}):y);return{top:(g.top-b.top+h.top)/x.y,bottom:(b.bottom-g.bottom+h.bottom)/x.y,left:(g.left-b.left+h.left)/x.x,right:(b.right-g.right+h.right)/x.x}}const Un=50,qn=async(e,t,o)=>{const{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:l}=o,c=l.detectOverflow?l:{...l,detectOverflow:In},r=await(l.isRTL==null?void 0:l.isRTL(t));let f=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:a}=Bt(f,n,r),d=n,p=0;const h={};for(let v=0;v<s.length;v++){const w=s[v];if(!w)continue;const{name:g,fn:y}=w,{x:m,y:x,data:b,reset:S}=await y({x:u,y:a,initialPlacement:n,placement:d,strategy:i,middlewareData:h,rects:f,platform:c,elements:{reference:e,floating:t}});u=m??u,a=x??a,h[g]={...h[g],...b},S&&p<Un&&(p++,typeof S=="object"&&(S.placement&&(d=S.placement),S.rects&&(f=S.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:i}):S.rects),{x:u,y:a}=Bt(f,d,r)),v=-1)}return{x:u,y:a,placement:d,strategy:i,middlewareData:h}},Xn=e=>({name:"arrow",options:e,async fn(t){const{x:o,y:n,placement:i,rects:s,platform:l,elements:c,middlewareData:r}=t,{element:f,padding:u=0}=ye(e,t)||{};if(f==null)return{};const a=Ht(u),d={x:o,y:n},p=et(i),h=Qe(p),v=await l.getDimensions(f),w=p==="y",g=w?"top":"left",y=w?"bottom":"right",m=w?"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(f));let E=S?S[m]:0;(!E||!await(l.isElement==null?void 0:l.isElement(S)))&&(E=c.floating[m]||s.floating[h]);const A=x/2-b/2,T=E/2-v[h]/2-1,L=le(a[g],T),Se=le(a[y],T),te=L,Ee=E-v[h]-Se,N=E/2-v[h]/2+A,ne=Je(te,N,Ee),B=!r.arrow&&ve(i)!=null&&N!==ne&&s.reference[h]/2-(N<te?L:Se)-v[h]/2<0,D=B?N<te?N-te:N-Ee:0;return{[p]:d[p]+D,data:{[p]:ne,centerOffset:N-ne-D,...B&&{alignmentOffset:D}},reset:B}}}),Yn=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var o,n;const{placement:i,middlewareData:s,rects:l,initialPlacement:c,platform:r,elements:f}=t,{mainAxis:u=!0,crossAxis:a=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:v=!0,...w}=ye(e,t);if((o=s.arrow)!=null&&o.alignmentOffset)return{};const g=K(i),y=I(c),m=K(c)===c,x=await(r.isRTL==null?void 0:r.isRTL(f.floating)),b=d||(m||!v?[$e(c)]:Wn(c)),S=h!=="none";!d&&S&&b.push(...Bn(c,v,h,x));const E=[c,...b],A=await r.detectOverflow(t,w),T=[];let L=((n=s.flip)==null?void 0:n.overflows)||[];if(u&&T.push(A[g]),a){const N=Fn(i,l,x);T.push(A[N[0]],A[N[1]])}if(L=[...L,{placement:i,overflows:T}],!T.every(N=>N<=0)){var Se,te;const N=(((Se=s.flip)==null?void 0:Se.index)||0)+1,ne=E[N];if(ne&&(!(a==="alignment"?y!==I(ne):!1)||L.every(M=>I(M.placement)===y?M.overflows[0]>0:!0)))return{data:{index:N,overflows:L},reset:{placement:ne}};let B=(te=L.filter(D=>D.overflows[0]<=0).sort((D,M)=>D.overflows[1]-M.overflows[1])[0])==null?void 0:te.placement;if(!B)switch(p){case"bestFit":{var Ee;const D=(Ee=L.filter(M=>{if(S){const q=I(M.placement);return q===y||q==="y"}return!0}).map(M=>[M.placement,M.overflows.filter(q=>q>0).reduce((q,Lo)=>q+Lo,0)]).sort((M,q)=>M[1]-q[1])[0])==null?void 0:Ee[0];D&&(B=D);break}case"initialPlacement":B=c;break}if(i!==B)return{reset:{placement:B}}}return{}}}},Gn=new Set(["left","top"]);async function Zn(e,t){const{placement:o,platform:n,elements:i}=e,s=await(n.isRTL==null?void 0:n.isRTL(i.floating)),l=K(o),c=ve(o),r=I(o)==="y",f=Gn.has(l)?-1:1,u=s&&r?-1:1,a=ye(t,e);let{mainAxis:d,crossAxis:p,alignmentAxis:h}=typeof a=="number"?{mainAxis:a,crossAxis:0,alignmentAxis:null}:{mainAxis:a.mainAxis||0,crossAxis:a.crossAxis||0,alignmentAxis:a.alignmentAxis};return c&&typeof h=="number"&&(p=c==="end"?h*-1:h),r?{x:p*u,y:d*f}:{x:d*f,y:p*u}}const Kn=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var o,n;const{x:i,y:s,placement:l,middlewareData:c}=t,r=await Zn(t,e);return l===((o=c.offset)==null?void 0:o.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:i+r.x,y:s+r.y,data:{...r,placement:l}}}}},Jn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:o,y:n,placement:i,platform:s}=t,{mainAxis:l=!0,crossAxis:c=!1,limiter:r={fn:g=>{let{x:y,y:m}=g;return{x:y,y:m}}},...f}=ye(e,t),u={x:o,y:n},a=await s.detectOverflow(t,f),d=I(K(i)),p=Wt(d);let h=u[p],v=u[d];if(l){const g=p==="y"?"top":"left",y=p==="y"?"bottom":"right",m=h+a[g],x=h-a[y];h=Je(m,h,x)}if(c){const g=d==="y"?"top":"left",y=d==="y"?"bottom":"right",m=v+a[g],x=v-a[y];v=Je(m,v,x)}const w=r.fn({...t,[p]:h,[d]:v});return{...w,data:{x:w.x-o,y:w.y-n,enabled:{[p]:l,[d]:c}}}}}};function De(){return typeof window<"u"}function re(e){return zt(e)?(e.nodeName||"").toLowerCase():"#document"}function k(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function W(e){var t;return(t=(zt(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function zt(e){return De()?e instanceof Node||e instanceof k(e).Node:!1}function $(e){return De()?e instanceof Element||e instanceof k(e).Element:!1}function H(e){return De()?e instanceof HTMLElement||e instanceof k(e).HTMLElement:!1}function It(e){return!De()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof k(e).ShadowRoot}function we(e){const{overflow:t,overflowX:o,overflowY:n,display:i}=P(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&i!=="inline"&&i!=="contents"}function Qn(e){return/^(table|td|th)$/.test(re(e))}function Me(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const eo=/transform|translate|scale|rotate|perspective|filter/,to=/paint|layout|strict|content/,J=e=>!!e&&e!=="none";let nt;function ot(e){const t=$(e)?P(e):e;return J(t.transform)||J(t.translate)||J(t.scale)||J(t.rotate)||J(t.perspective)||!it()&&(J(t.backdropFilter)||J(t.filter))||eo.test(t.willChange||"")||to.test(t.contain||"")}function no(e){let t=U(e);for(;H(t)&&!ce(t);){if(ot(t))return t;if(Me(t))return null;t=U(t)}return null}function it(){return nt==null&&(nt=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),nt}function ce(e){return/^(html|body|#document)$/.test(re(e))}function P(e){return k(e).getComputedStyle(e)}function Fe(e){return $(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function U(e){if(re(e)==="html")return e;const t=e.assignedSlot||e.parentNode||It(e)&&e.host||W(e);return It(t)?t.host:t}function Ut(e){const t=U(e);return ce(t)?e.ownerDocument?e.ownerDocument.body:e.body:H(t)&&we(t)?t:Ut(t)}function be(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);const i=Ut(e),s=i===((n=e.ownerDocument)==null?void 0:n.body),l=k(i);if(s){const c=st(l);return t.concat(l,l.visualViewport||[],we(i)?i:[],c&&o?be(c):[])}else return t.concat(i,be(i,[],o))}function st(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function qt(e){const t=P(e);let o=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const i=H(e),s=i?e.offsetWidth:o,l=i?e.offsetHeight:n,c=Le(o)!==s||Le(n)!==l;return c&&(o=s,n=l),{width:o,height:n,$:c}}function lt(e){return $(e)?e:e.contextElement}function ae(e){const t=lt(e);if(!H(t))return F(1);const o=t.getBoundingClientRect(),{width:n,height:i,$:s}=qt(t);let l=(s?Le(o.width):o.width)/n,c=(s?Le(o.height):o.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!c||!Number.isFinite(c))&&(c=1),{x:l,y:c}}const oo=F(0);function Xt(e){const t=k(e);return!it()||!t.visualViewport?oo:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function io(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==k(e)?!1:t}function Q(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);const i=e.getBoundingClientRect(),s=lt(e);let l=F(1);t&&(n?$(n)&&(l=ae(n)):l=ae(e));const c=io(s,o,n)?Xt(s):F(0);let r=(i.left+c.x)/l.x,f=(i.top+c.y)/l.y,u=i.width/l.x,a=i.height/l.y;if(s){const d=k(s),p=n&&$(n)?k(n):n;let h=d,v=st(h);for(;v&&n&&p!==h;){const w=ae(v),g=v.getBoundingClientRect(),y=P(v),m=g.left+(v.clientLeft+parseFloat(y.paddingLeft))*w.x,x=g.top+(v.clientTop+parseFloat(y.paddingTop))*w.y;r*=w.x,f*=w.y,u*=w.x,a*=w.y,r+=m,f+=x,h=k(v),v=st(h)}}return Pe({width:u,height:a,x:r,y:f})}function We(e,t){const o=Fe(e).scrollLeft;return t?t.left+o:Q(W(e)).left+o}function Yt(e,t){const o=e.getBoundingClientRect(),n=o.left+t.scrollLeft-We(e,o),i=o.top+t.scrollTop;return{x:n,y:i}}function so(e){let{elements:t,rect:o,offsetParent:n,strategy:i}=e;const s=i==="fixed",l=W(n),c=t?Me(t.floating):!1;if(n===l||c&&s)return o;let r={scrollLeft:0,scrollTop:0},f=F(1);const u=F(0),a=H(n);if((a||!a&&!s)&&((re(n)!=="body"||we(l))&&(r=Fe(n)),a)){const p=Q(n);f=ae(n),u.x=p.x+n.clientLeft,u.y=p.y+n.clientTop}const d=l&&!a&&!s?Yt(l,r):F(0);return{width:o.width*f.x,height:o.height*f.y,x:o.x*f.x-r.scrollLeft*f.x+u.x+d.x,y:o.y*f.y-r.scrollTop*f.y+u.y+d.y}}function lo(e){return Array.from(e.getClientRects())}function ro(e){const t=W(e),o=Fe(e),n=e.ownerDocument.body,i=Z(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),s=Z(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let l=-o.scrollLeft+We(e);const c=-o.scrollTop;return P(n).direction==="rtl"&&(l+=Z(t.clientWidth,n.clientWidth)-i),{width:i,height:s,x:l,y:c}}const Gt=25;function co(e,t){const o=k(e),n=W(e),i=o.visualViewport;let s=n.clientWidth,l=n.clientHeight,c=0,r=0;if(i){s=i.width,l=i.height;const u=it();(!u||u&&t==="fixed")&&(c=i.offsetLeft,r=i.offsetTop)}const f=We(n);if(f<=0){const u=n.ownerDocument,a=u.body,d=getComputedStyle(a),p=u.compatMode==="CSS1Compat"&&parseFloat(d.marginLeft)+parseFloat(d.marginRight)||0,h=Math.abs(n.clientWidth-a.clientWidth-p);h<=Gt&&(s-=h)}else f<=Gt&&(s+=f);return{width:s,height:l,x:c,y:r}}function ao(e,t){const o=Q(e,!0,t==="fixed"),n=o.top+e.clientTop,i=o.left+e.clientLeft,s=H(e)?ae(e):F(1),l=e.clientWidth*s.x,c=e.clientHeight*s.y,r=i*s.x,f=n*s.y;return{width:l,height:c,x:r,y:f}}function Zt(e,t,o){let n;if(t==="viewport")n=co(e,o);else if(t==="document")n=ro(W(e));else if($(t))n=ao(t,o);else{const i=Xt(e);n={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Pe(n)}function Kt(e,t){const o=U(e);return o===t||!$(o)||ce(o)?!1:P(o).position==="fixed"||Kt(o,t)}function fo(e,t){const o=t.get(e);if(o)return o;let n=be(e,[],!1).filter(c=>$(c)&&re(c)!=="body"),i=null;const s=P(e).position==="fixed";let l=s?U(e):e;for(;$(l)&&!ce(l);){const c=P(l),r=ot(l);!r&&c.position==="fixed"&&(i=null),(s?!r&&!i:!r&&c.position==="static"&&!!i&&(i.position==="absolute"||i.position==="fixed")||we(l)&&!r&&Kt(e,l))?n=n.filter(u=>u!==l):i=c,l=U(l)}return t.set(e,n),n}function uo(e){let{element:t,boundary:o,rootBoundary:n,strategy:i}=e;const l=[...o==="clippingAncestors"?Me(t)?[]:fo(t,this._c):[].concat(o),n],c=Zt(t,l[0],i);let r=c.top,f=c.right,u=c.bottom,a=c.left;for(let d=1;d<l.length;d++){const p=Zt(t,l[d],i);r=Z(p.top,r),f=le(p.right,f),u=le(p.bottom,u),a=Z(p.left,a)}return{width:f-a,height:u-r,x:a,y:r}}function ho(e){const{width:t,height:o}=qt(e);return{width:t,height:o}}function po(e,t,o){const n=H(t),i=W(t),s=o==="fixed",l=Q(e,!0,s,t);let c={scrollLeft:0,scrollTop:0};const r=F(0);function f(){r.x=We(i)}if(n||!n&&!s)if((re(t)!=="body"||we(i))&&(c=Fe(t)),n){const p=Q(t,!0,s,t);r.x=p.x+t.clientLeft,r.y=p.y+t.clientTop}else i&&f();s&&!n&&i&&f();const u=i&&!n&&!s?Yt(i,c):F(0),a=l.left+c.scrollLeft-r.x-u.x,d=l.top+c.scrollTop-r.y-u.y;return{x:a,y:d,width:l.width,height:l.height}}function rt(e){return P(e).position==="static"}function Jt(e,t){if(!H(e)||P(e).position==="fixed")return null;if(t)return t(e);let o=e.offsetParent;return W(e)===o&&(o=o.ownerDocument.body),o}function Qt(e,t){const o=k(e);if(Me(e))return o;if(!H(e)){let i=U(e);for(;i&&!ce(i);){if($(i)&&!rt(i))return i;i=U(i)}return o}let n=Jt(e,t);for(;n&&Qn(n)&&rt(n);)n=Jt(n,t);return n&&ce(n)&&rt(n)&&!ot(n)?o:n||no(e)||o}const mo=async function(e){const t=this.getOffsetParent||Qt,o=this.getDimensions,n=await o(e.floating);return{reference:po(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function go(e){return P(e).direction==="rtl"}const ct={convertOffsetParentRelativeRectToViewportRelativeRect:so,getDocumentElement:W,getClippingRect:uo,getOffsetParent:Qt,getElementRects:mo,getClientRects:lo,getDimensions:ho,getScale:ae,isElement:$,isRTL:go};function en(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function yo(e,t){let o=null,n;const i=W(e);function s(){var c;clearTimeout(n),(c=o)==null||c.disconnect(),o=null}function l(c,r){c===void 0&&(c=!1),r===void 0&&(r=1),s();const f=e.getBoundingClientRect(),{left:u,top:a,width:d,height:p}=f;if(c||t(),!d||!p)return;const h=_e(a),v=_e(i.clientWidth-(u+d)),w=_e(i.clientHeight-(a+p)),g=_e(u),m={rootMargin:-h+"px "+-v+"px "+-w+"px "+-g+"px",threshold:Z(0,le(1,r))||1};let x=!0;function b(S){const E=S[0].intersectionRatio;if(E!==r){if(!x)return l();E?l(!1,E):n=setTimeout(()=>{l(!1,1e-7)},1e3)}E===1&&!en(f,e.getBoundingClientRect())&&l(),x=!1}try{o=new IntersectionObserver(b,{...m,root:i.ownerDocument})}catch{o=new IntersectionObserver(b,m)}o.observe(e)}return l(!0),s}function vo(e,t,o,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:r=!1}=n,f=lt(e),u=i||s?[...f?be(f):[],...t?be(t):[]]:[];u.forEach(g=>{i&&g.addEventListener("scroll",o,{passive:!0}),s&&g.addEventListener("resize",o)});const a=f&&c?yo(f,o):null;let d=-1,p=null;l&&(p=new ResizeObserver(g=>{let[y]=g;y&&y.target===f&&p&&t&&(p.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var m;(m=p)==null||m.observe(t)})),o()}),f&&!r&&p.observe(f),t&&p.observe(t));let h,v=r?Q(e):null;r&&w();function w(){const g=Q(e);v&&!en(v,g)&&o(),v=g,h=requestAnimationFrame(w)}return o(),()=>{var g;u.forEach(y=>{i&&y.removeEventListener("scroll",o),s&&y.removeEventListener("resize",o)}),a?.(),(g=p)==null||g.disconnect(),p=null,r&&cancelAnimationFrame(h)}}const wo=Kn,bo=Jn,xo=Yn,So=Xn,Eo=(e,t,o)=>{const n=new Map,i={platform:ct,...o},s={...i.platform,_c:n};return qn(e,t,{...i,platform:s})};var xe;(function(e){e.TOOLTIP="tooltip",e.POPOVER="popover"})(xe||(xe={}));function tn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}const Oo=/transform|translate|scale|rotate|perspective|filter/,Ao=/paint|layout|strict|content/,ee=e=>!!e&&e!=="none";let at;function Co(e){const t=(o=e,typeof window<"u"&&(o instanceof Element||o instanceof tn(o).Element)?tn(n=e).getComputedStyle(n):e);var o,n;return ee(t.transform)||ee(t.translate)||ee(t.scale)||ee(t.rotate)||ee(t.perspective)||(at==null&&(at=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),!at&&(ee(t.backdropFilter)||ee(t.filter)))||Oo.test(t.willChange||"")||Ao.test(t.contain||"")}function To(e){return(function(t){for(let o=t;o;o=ft(o))if(o instanceof Element&&getComputedStyle(o).display==="none")return null;for(let o=ft(t);o;o=ft(o)){if(!(o instanceof Element))continue;const n=getComputedStyle(o);if(n.display!=="contents"&&(n.position!=="static"||Co(n)||o.tagName==="BODY"))return o}return null})(e)}function ft(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}const ue=class ue{constructor(t,o){this.el=t,this.config=o,this.offset=10,this.timeDelayBeforeFadingOut=50,this.popoverMainAxisEnabled=!0,this.currentPlacement=o.placement,this.cleanup=null}setCommonTimingConfig(){this.timeBeforeElementShows=this.config.showWithoutDelay?50:500,this.timeOfAnimation=this.config.showWithoutDelay?50:250}initialize(){this.setCommonTimingConfig(),this.floatingElement=this.el.shadowRoot?.querySelector(this.config.floatingElementSelector),this.floatingElement&&this.applyViewportMaxWidth(),this.arrowEl=this.config.showArrow!==!1&&this.config.arrowElementSelector?this.el.shadowRoot?.querySelector(this.config.arrowElementSelector):null,this.anchorElement=this.config.htmlFor?.length>0?document.getElementById(this.config.htmlFor):this.config.getAnchorElementFromSlot(this.el.shadowRoot),this.anchorElement?this.setupPositioning():console.warn("Could not determine the element associated with this floating element."+(this.config.htmlFor?.length>0?`Element with id=${this.config.htmlFor} could not be found on the DOM.`:""))}getAnchorElement(){return this.anchorElement}updateConfig(t){this.config={...this.config,...t},"showWithoutDelay"in t&&this.setCommonTimingConfig(),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=vo(this.anchorElement,this.floatingElement,(()=>{this.updatePosition()}),{ancestorScroll:!0,ancestorResize:!1,elementResize:!0,layoutShift:!0,animationFrame:!1}))}cleanupAutoUpdate(){this.cleanup&&(this.cleanup(),this.cleanup=null)}updatePosition(){if(!this.anchorElement)return;const t=[wo(this.offset)],o=xo({mainAxis:!0,crossAxis:!this.config.lockToMainAxis&&"alignment",fallbackAxisSideDirection:"end",padding:this.offset}),n=this.config.elementType===xe.POPOVER,i=bo({padding:this.offset,mainAxis:this.config.elementType===xe.TOOLTIP||n&&this.popoverMainAxisEnabled,crossAxis:!1});this.config.placement.includes("-")?t.push(o,i):t.push(i,o),this.config.showArrow!==!1&&this.arrowEl&&t.push(So({element:this.arrowEl,padding:this.offset})),Eo(this.anchorElement,this.floatingElement,{placement:this.config.placement,strategy:"fixed",middleware:t,platform:{...ct,getOffsetParent:s=>ct.getOffsetParent(s,To)}}).then((({x:s,y:l,middlewareData:c,placement:r})=>{if(n){const d=r.startsWith("left")||r.startsWith("right"),p=r.startsWith("top")||r.startsWith("bottom"),h=this.isAnchorInViewport(),v=!!p||(d?h:this.popoverMainAxisEnabled);if(v!==this.popoverMainAxisEnabled)return this.popoverMainAxisEnabled=v,void this.updatePosition()}this.currentPlacement=r,Object.assign(this.floatingElement.style,{left:`${s}px`,top:`${l}px`,position:"fixed",transition:`opacity ${this.timeOfAnimation}ms ease`});const f=r.split("-")[0]??"bottom",u={top:"bottom",right:"left",bottom:"top",left:"right"}[f],{arrowZIndex:a}=this.normalizeFloatingElementStacking();if(c.arrow&&this.arrowEl){const d=this.arrowEl.offsetWidth,{x:p,y:h}=c.arrow;this.arrowEl.style.borderRadius=`${["left","right"].includes(f)?"0 ":""}var(--gidsFloatingElement-tip-border-radius, 2px)${["top","bottom"].includes(f)?" 0":""}`,Object.assign(this.arrowEl.style,{left:p!==null?`${p}px`:"",top:h!==null?`${h}px`:"",right:"",bottom:"",[u]:-d/2+"px",transform:"rotate(45deg)",zIndex:`${a}`,background:"var(--gidsFloatingElement-background)"})}}))}applyViewportMaxWidth(){const t=`calc(100vw - ${2*this.offset}px)`;this.floatingElement?.style.maxWidth!==t&&(this.floatingElement.style.maxWidth=t)}normalizeFloatingElementStacking(){const t=this.floatingElement.style.zIndex||(window.getComputedStyle?.(this.floatingElement).zIndex??""),o=Number.parseInt(t,10),n=Number.isNaN(o)?-1:o-1,i=Number.isNaN(o)?n+1:o;return Number.isNaN(i)||(this.floatingElement.style.zIndex=`${i}`),Array.from(this.floatingElement.children).forEach((s=>{if(!(s instanceof HTMLElement)||s===this.arrowEl)return;const l=s.style.zIndex||(window.getComputedStyle?.(s).zIndex??""),c=Number.parseInt(l,10),r=window.getComputedStyle?.(s).position??"";(l===""||l==="auto"||Number.isNaN(c)||c<i)&&(s.style.zIndex=`${i}`,r!==""&&r!=="static"||(s.style.position="relative"))})),{contentZIndex:i,arrowZIndex:n}}hideFloatingElement(){this.floatingElement.classList.remove(this.config.visibilityClass),ue.currentFloatingElements.delete(this.config.elementType)}showFloatingElement(){const t=ue.currentFloatingElements.get(this.config.elementType);t&&t.hideFloatingElement(),this.floatingElement.classList.add(this.config.visibilityClass),ue.currentFloatingElements.set(this.config.elementType,this)}isVisible(){return this.floatingElement.classList.contains(this.config.visibilityClass)}show(){this.setupAutoUpdate(),this.showFloatingElement()}hide(){this.cleanupAutoUpdate(),this.hideFloatingElement()}toggle(){this.isVisible()?this.hide():this.show()}showAfterDelay(){clearTimeout(this.hoverOutTimeout),this.hoverTimeout=setTimeout((()=>{this.show()}),this.timeBeforeElementShows)}hideAfterDelay(){clearTimeout(this.hoverTimeout),this.hoverOutTimeout=setTimeout((()=>{this.hide()}),this.timeDelayBeforeFadingOut)}cancelDelayedActions(){clearTimeout(this.hoverTimeout),clearTimeout(this.hoverOutTimeout)}destroy(){this.cleanupAutoUpdate(),this.cancelDelayedActions()}isAnchorInViewport(){if(!(this.anchorElement&&this.anchorElement instanceof Element))return!1;const t=this.anchorElement.getBoundingClientRect(),o=window.innerHeight||document.documentElement?.clientHeight||0,n=window.innerWidth||document.documentElement?.clientWidth||0,i=t.height/2+2*this.offset;return t.bottom>=i&&t.top<=o-i&&t.right>=0&&t.left<=n}};ue.currentFloatingElements=new Map;let ut=ue;const fe=globalThis.CSSStyleSheet!==void 0?new CSSStyleSheet:void 0;let nn=!1;fe&&document.adoptedStyleSheets?document.adoptedStyleSheets.push(fe):console.warn("CSSStyleSheet is not defined. Omitting constructed stylesheet behaviour.");let dt=null;const ht=globalThis.MutationObserver!==void 0?new MutationObserver((()=>{on()})):void 0,on=()=>{if(fe===void 0)return!1;const e=(()=>{if(fe===void 0)return;const t=[];for(let o=0;o<document.styleSheets.length;o++){const n=document.styleSheets.item(o);if(n)try{let i=-1,s=0;for(let l=0;l<n.cssRules.length;l++){const c=n.cssRules.item(l);if(c?.cssText.startsWith("gids-global-styles-start"))i=l;else if(i>-1){if(c?.cssText.startsWith("gids-global-styles-end")){s=l-i+1;break}t.push(c)}}if(i>-1)return{rulesStartIndex:i,originalRulesCount:s,rules:t,styleSheet:n}}catch(i){if(!(i instanceof DOMException))throw i}}})();if(e!==void 0){const t=e.styleSheet.ownerNode;return ht!==void 0&&t!==dt&&(dt&&ht.disconnect(),t instanceof Element&&ht.observe(t,{childList:!0,characterData:!0,subtree:!0}),dt=t),fe.replaceSync((o=>o.rules.map((n=>n.cssText)).join(""))(e)),(o=>{const{rulesStartIndex:n,originalRulesCount:i,styleSheet:s}=o;for(let l=0;l<i;l++)s.deleteRule(n)})(e),!0}return console.warn("refreshConstructedGidsStylesheet: Gids stylesheet is not found in document."),!1},No=()=>(nn||(nn=on()),fe),sn=Ln(class extends an{constructor(e){super(),e!==!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 e=No();e!==void 0&&this._el.shadowRoot?.adoptedStyleSheets.push(e)}componentDidLoad(){this.floatingElementManager=new ut(this._el,{htmlFor:this.htmlFor,placement:this.placement,showWithoutDelay:this.showWithoutDelay,lockToMainAxis:this.lockToMainAxis,floatingElementSelector:"#tooltip",arrowElementSelector:"#arrow",visibilityClass:"gids-tooltip--visible",elementType:xe.TOOLTIP,getAnchorElementFromSlot:e=>e.querySelector("slot")?.assignedElements()[0]||null}),this.floatingElementManager.initialize(),this.setupEventListeners()}setupEventListeners(){const e=this.floatingElementManager.getAnchorElement();e&&(e.addEventListener("mouseenter",this.handleShowEvent),e.addEventListener("focus",this.handleShowEvent),e.addEventListener("mouseleave",this.handleHideEvent),e.addEventListener("blur",this.handleHideEvent))}placementChanged(e){this.floatingElementManager?.updateConfig({placement:e}),this.floatingElementManager?.isVisible()&&this.floatingElementManager?.reposition()}showWithoutDelayChanged(e){this.floatingElementManager?.updateConfig({showWithoutDelay:e})}lockToMainAxisChanged(e){this.floatingElementManager?.updateConfig({lockToMainAxis:e})}htmlForChanged(e){this.floatingElementManager?.updateConfig({htmlFor:e}),this.cleanupEventListeners(),this.floatingElementManager?.initialize(),this.setupEventListeners()}cleanupEventListeners(){const e=this.floatingElementManager?.getAnchorElement();e&&(e.removeEventListener("mouseenter",this.handleShowEvent),e.removeEventListener("focus",this.handleShowEvent),e.removeEventListener("mouseleave",this.handleHideEvent),e.removeEventListener("blur",this.handleHideEvent))}render(){return ie(_n,{key:"b1339ba783e86f33840b20038f900b09ba70e61f"},ie("slot",{key:"1103b8056a880282cad202905f8a606ffd8ed119"}),ie("span",{key:"ad2f4fc135f7d26d7224e134149f2075f66bed4e",id:"tooltip",part:"tooltip",role:"tooltip"},ie("span",{key:"c1edf194581bd0696b32b92657a59bc6f876774d",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 ln(){typeof customElements<"u"&&["gids-tooltip"].forEach((e=>{e==="gids-tooltip"&&(customElements.get(e)||customElements.define(e,sn))}))}ln();const Ro=sn,ko=ln;X.GidsTooltip=Ro,X.defineCustomElement=ko,Object.defineProperty(X,Symbol.toStringTag,{value:"Module"})}));
@@ -1,5 +1,5 @@
1
- (function(y,R){typeof exports=="object"&&typeof module<"u"?R(exports):typeof define=="function"&&define.amd?define(["exports"],R):(y=typeof globalThis<"u"?globalThis:y||self,R(y.gidsCoreWebIndex={}))})(this,(function(y){"use strict";var R=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},oe=(e,t)=>t in e,le="http://www.w3.org/1999/xlink",A=typeof window<"u"?window:{},w={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)};(()=>{try{return!!A.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})();var Te=e=>{const t=new URL(e,w.u);return t.origin!==A.location.origin?t.href:t.pathname},_e=e=>w.u=e,ie=e=>{const t=K(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&H(t,e.tagName).forEach((s=>{s.nodeType===1&&s.tagName==="SLOT-FB"&&(s.hidden=!!we(s,L(s),!1).length)}));let n=0;for(n=0;n<t.length;n++){const s=t[n];s.nodeType===1&&K(s,"childNodes").length&&ie(s)}};function H(e,t,n){let s,o=0,l=[];for(;o<e.length;o++){if(s=e[o],s["s-sr"]&&(!t||s["s-hn"]===t)&&(n===void 0||L(s)===n)&&(l.push(s),n!==void 0))return l;l=[...l,...H(s.childNodes,t,n)]}return l}var we=(e,t,n=!0)=>{const s=[];(n&&e["s-sr"]||!e["s-sr"])&&s.push(e);let o=e;for(;o=o.nextSibling;)L(o)!==t||!n&&o["s-sr"]||s.push(o);return s},re=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",L=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function K(e,t){if("__"+t in e){const n=e["__"+t];return typeof n!="function"?n:n.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var J,k,ae=e=>(e=typeof e)=="object"||e==="function",Ae=(e,t,...n)=>{let s=null,o=null,l=null,a=!1,d=!1;const r=[],u=m=>{for(let f=0;f<m.length;f++)s=m[f],Array.isArray(s)?u(s):s!=null&&typeof s!="boolean"&&((a=!ae(s))&&(s=String(s)),a&&d?r[r.length-1].h+=s:r.push(a?X(null,s):s),d=a)};u(n);const c=X(e,null);return c.v=t,r.length>0&&(c.m=r),c.$=o,c.j=l,c},X=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),Oe={},de=(e,t,n,s,o,l)=>{if(n===s)return;let a=oe(e,t),d=t.toLowerCase();if(t==="class"){const r=e.classList,u=ce(n);let c=ce(s);r.remove(...u.filter((m=>m&&!c.includes(m)))),r.add(...c.filter((m=>m&&!u.includes(m))))}else if(t==="style"){for(const r in n)s&&s[r]!=null||(r.includes("-")?e.style.removeProperty(r):e.style[r]="");for(const r in s)n&&s[r]===n[r]||(r.includes("-")?e.style.setProperty(r,s[r]):e.style[r]=s[r])}else if(t!=="key"){if(t==="ref")s&&Ce(s,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const r=t.slice(5);let u;{const c=R(e);if(c&&c.o&&c.o.t){const m=c.o.t[r];m&&m[1]&&(u=m[1])}}return u||(u=r.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(s==null||s===!1?s===!1&&e.getAttribute(u)!==""||e.removeAttribute(u):e.setAttribute(u,s===!0?"":s))}if(t[0]==="p"&&t.startsWith("prop:")){const r=t.slice(5);try{e[r]=s}catch{}return}{const r=ae(s);if((a||r&&s!==null)&&!o)try{if(e.tagName.includes("-"))e[t]!==s&&(e[t]=s);else{const c=s??"";t==="list"?a=!1:n!=null&&e[t]===c||(typeof e.__lookupSetter__(t)=="function"?e[t]=c:e.setAttribute(t,c))}}catch{}let u=!1;d!==(d=d.replace(/^xlink\:?/,""))&&(t=d,u=!0),s==null||s===!1?s===!1&&e.getAttribute(t)!==""||(u?e.removeAttributeNS(le,t):e.removeAttribute(t)):(!a||4&l||o)&&!r&&e.nodeType===1&&(s=s===!0?"":s,u?e.setAttributeNS(le,t,s):e.setAttribute(t,s))}}else if(t=t[2]==="-"?t.slice(3):oe(A,d)?d.slice(2):d[2]+t.slice(3),n||s){const r=t.endsWith(ue);t=t.replace($e,""),n&&w.rel(e,t,n,r),s&&w.ael(e,t,s,r)}}},Ee=/\s/,ce=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(Ee):[]),ue="Capture",$e=new RegExp(ue+"$"),Y=(e,t,n)=>{const s=t.S.nodeType===11&&t.S.host?t.S.host:t.S,o=e&&e.v||{},l=t.v||{};for(const a of fe(Object.keys(o)))a in l||de(s,a,o[a],void 0,n,t.i);for(const a of fe(Object.keys(l)))de(s,a,o[a],l[a],n,t.i)};function fe(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var B=!1,I=!1,V=!1,T=!1,Z=[],q=[],W=(e,t,n)=>{var s;const o=t.m[n];let l,a,d,r=0;if(B||(V=!0,o.O==="slot"&&(o.i|=o.m?2:1)),o.h!=null)l=o.S=A.document.createTextNode(o.h);else if(1&o.i)l=o.S=A.document.createTextNode(""),Y(null,o,T);else{if(T||(T=o.O==="svg"),!A.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(l=o.S=A.document.createElementNS(T?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!B&&2&o.i?"slot-fb":o.O),T&&o.O==="foreignObject"&&(T=!1),Y(null,o,T),o.m){const u=o.O==="template"?l.content:l;for(r=0;r<o.m.length;++r)a=W(e,o,r),a&&u.appendChild(a)}o.O==="svg"?T=!1:l.tagName==="foreignObject"&&(T=!0)}return l["s-hn"]=k,3&o.i&&(l["s-sr"]=!0,l["s-cr"]=J,l["s-sn"]=o.j||"",l["s-rf"]=(s=o.v)==null?void 0:s.ref,(function(u){if(u.assignedElements||u.assignedNodes||!u["s-sr"])return;const c=m=>(function(f){const h=[],i=this["s-sn"];f?.flatten&&console.error(`
1
+ (function(y,L){typeof exports=="object"&&typeof module<"u"?L(exports):typeof define=="function"&&define.amd?define(["exports"],L):(y=typeof globalThis<"u"?globalThis:y||self,L(y.gidsCoreWebIndex={}))})(this,(function(y){"use strict";var L=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},oe=(e,t)=>t in e,le="http://www.w3.org/1999/xlink",w=typeof window<"u"?window:{},A={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)};(()=>{var e;let t=!1;try{(e=w.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),(()=>{try{return!!w.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})();var _e=e=>{const t=new URL(e,A.u);return t.origin!==w.location.origin?t.href:t.pathname},Te=e=>A.u=e,ie=e=>{const t=K(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&H(t,e.tagName).forEach((s=>{s.nodeType===1&&s.tagName==="SLOT-FB"&&(s.hidden=!!we(s,R(s),!1).length)}));let n=0;for(n=0;n<t.length;n++){const s=t[n];s.nodeType===1&&K(s,"childNodes").length&&ie(s)}};function H(e,t,n){let s,o=0,l=[];for(;o<e.length;o++){if(s=e[o],s["s-sr"]&&(!t||s["s-hn"]===t)&&(n===void 0||R(s)===n)&&(l.push(s),n!==void 0))return l;l=[...l,...H(s.childNodes,t,n)]}return l}var we=(e,t,n=!0)=>{const s=[];(n&&e["s-sr"]||!e["s-sr"])&&s.push(e);let o=e;for(;o=o.nextSibling;)R(o)!==t||!n&&o["s-sr"]||s.push(o);return s},re=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",R=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function K(e,t){if("__"+t in e){const n=e["__"+t];return typeof n!="function"?n:n.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var J,k,ae=e=>(e=typeof e)=="object"||e==="function",Ae=(e,t,...n)=>{let s=null,o=null,l=null,a=!1,d=!1;const r=[],u=m=>{for(let f=0;f<m.length;f++)s=m[f],Array.isArray(s)?u(s):s!=null&&typeof s!="boolean"&&((a=!ae(s))&&(s=String(s)),a&&d?r[r.length-1].h+=s:r.push(a?X(null,s):s),d=a)};u(n);const c=X(e,null);return c.v=t,r.length>0&&(c.m=r),c.$=o,c.j=l,c},X=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),Oe={},de=(e,t,n,s,o,l)=>{if(n===s)return;let a=oe(e,t),d=t.toLowerCase();if(t==="class"){const r=e.classList,u=ce(n);let c=ce(s);r.remove(...u.filter((m=>m&&!c.includes(m)))),r.add(...c.filter((m=>m&&!u.includes(m))))}else if(t==="style"){for(const r in n)s&&s[r]!=null||(r.includes("-")?e.style.removeProperty(r):e.style[r]="");for(const r in s)n&&s[r]===n[r]||(r.includes("-")?e.style.setProperty(r,s[r]):e.style[r]=s[r])}else if(t!=="key"){if(t==="ref")s&&Pe(s,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const r=t.slice(5);let u;{const c=L(e);if(c&&c.o&&c.o.t){const m=c.o.t[r];m&&m[1]&&(u=m[1])}}return u||(u=r.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(s==null||s===!1?s===!1&&e.getAttribute(u)!==""||e.removeAttribute(u):e.setAttribute(u,s===!0?"":s))}if(t[0]==="p"&&t.startsWith("prop:")){const r=t.slice(5);try{e[r]=s}catch{}return}{const r=ae(s);if((a||r&&s!==null)&&!o)try{if(e.tagName.includes("-"))e[t]!==s&&(e[t]=s);else{const c=s??"";t==="list"?a=!1:n!=null&&e[t]===c||(typeof e.__lookupSetter__(t)=="function"?e[t]=c:e.setAttribute(t,c))}}catch{}let u=!1;d!==(d=d.replace(/^xlink\:?/,""))&&(t=d,u=!0),s==null||s===!1?s===!1&&e.getAttribute(t)!==""||(u?e.removeAttributeNS(le,t):e.removeAttribute(t)):(!a||4&l||o)&&!r&&e.nodeType===1&&(s=s===!0?"":s,u?e.setAttributeNS(le,t,s):e.setAttribute(t,s))}}else if(t=t[2]==="-"?t.slice(3):oe(w,d)?d.slice(2):d[2]+t.slice(3),n||s){const r=t.endsWith(ue);t=t.replace($e,""),n&&A.rel(e,t,n,r),s&&A.ael(e,t,s,r)}}},Ee=/\s/,ce=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(Ee):[]),ue="Capture",$e=new RegExp(ue+"$"),U=(e,t,n)=>{const s=t.S.nodeType===11&&t.S.host?t.S.host:t.S,o=e&&e.v||{},l=t.v||{};for(const a of fe(Object.keys(o)))a in l||de(s,a,o[a],void 0,n,t.i);for(const a of fe(Object.keys(l)))de(s,a,o[a],l[a],n,t.i)};function fe(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var B=!1,V=!1,W=!1,_=!1,Y=[],Z=[],I=(e,t,n)=>{var s;const o=t.m[n];let l,a,d,r=0;if(B||(W=!0,o.O==="slot"&&(o.i|=o.m?2:1)),o.h!=null)l=o.S=w.document.createTextNode(o.h);else if(1&o.i)l=o.S=w.document.createTextNode(""),U(null,o,_);else{if(_||(_=o.O==="svg"),!w.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(l=o.S=w.document.createElementNS(_?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!B&&2&o.i?"slot-fb":o.O),_&&o.O==="foreignObject"&&(_=!1),U(null,o,_),o.m){const u=o.O==="template"?l.content:l;for(r=0;r<o.m.length;++r)a=I(e,o,r),a&&u.appendChild(a)}o.O==="svg"?_=!1:l.tagName==="foreignObject"&&(_=!0)}return l["s-hn"]=k,3&o.i&&(l["s-sr"]=!0,l["s-cr"]=J,l["s-sn"]=o.j||"",l["s-rf"]=(s=o.v)==null?void 0:s.ref,(function(u){if(u.assignedElements||u.assignedNodes||!u["s-sr"])return;const c=m=>(function(f){const h=[],i=this["s-sn"];f?.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 v=this["s-cr"].parentElement;return(v.__childNodes?v.childNodes:(b=>{const S=[];for(let g=0;g<b.length;g++){const p=b[g]["s-nr"]||void 0;p&&p.isConnected&&S.push(p)}return S})(v.childNodes)).forEach((b=>{i===L(b)&&h.push(b)})),m?h.filter((b=>b.nodeType===1)):h}).bind(u);u.assignedElements=c(!0),u.assignedNodes=c(!1)})(l),d=e&&e.m&&e.m[n],d&&d.O===o.O&&e.S&&he(e.S)),l},he=e=>{w.i|=1;const t=e.closest(k.toLowerCase());if(t!=null){const n=Array.from(t.__childNodes||t.childNodes).find((o=>o["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const o of n?s.reverse():s)o["s-sh"]!=null&&(E(t,o,n??null),o["s-sh"]=void 0,V=!0)}w.i&=-2},F=(e,t)=>{w.i|=1;const n=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let s=e;for(;s=s.nextSibling;)s&&s["s-sn"]===e["s-sn"]&&s["s-sh"]===k&&n.push(s)}for(let s=n.length-1;s>=0;s--){const o=n[s];o["s-hn"]!==k&&o["s-ol"]&&(E(M(o).parentNode,o,M(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,V=!0),t&&F(o,t)}w.i&=-2},pe=(e,t,n,s,o,l)=>{let a,d=e["s-cr"]&&e["s-cr"].parentNode||e;for(d.shadowRoot&&d.tagName===k&&(d=d.shadowRoot),n.O==="template"&&(d=d.content);o<=l;++o)s[o]&&(a=W(null,n,o),a&&(s[o].S=a,E(d,a,M(t))))},ge=(e,t,n)=>{for(let s=t;s<=n;++s){const o=e[s];if(o){const l=o.S;Se(o),l&&(I=!0,l["s-ol"]?l["s-ol"].remove():F(l,!0),l.remove())}}},D=(e,t,n=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:n?(n&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),M=e=>e&&e["s-ol"]||e,G=(e,t,n=!1)=>{const s=t.S=e.S,o=e.m,l=t.m,a=t.O,d=t.h;let r;d==null?(T=a==="svg"||a!=="foreignObject"&&T,a!=="slot"||B||e.j!==t.j&&(t.S["s-sn"]=t.j||"",he(t.S.parentElement)),Y(e,t,T),o!==null&&l!==null?((u,c,m,f,h=!1)=>{let i,v,b=0,S=0,g=0,p=0,j=c.length-1,N=c[0],O=c[j],P=f.length-1,_=f[0],$=f[P];const Ne=m.O==="template"?u.content:u;for(;b<=j&&S<=P;)if(N==null)N=c[++b];else if(O==null)O=c[--j];else if(_==null)_=f[++S];else if($==null)$=f[--P];else if(D(N,_,h))G(N,_,h),N=c[++b],_=f[++S];else if(D(O,$,h))G(O,$,h),O=c[--j],$=f[--P];else if(D(N,$,h))N.O!=="slot"&&$.O!=="slot"||F(N.S.parentNode,!1),G(N,$,h),E(Ne,N.S,O.S.nextSibling),N=c[++b],$=f[--P];else if(D(O,_,h))N.O!=="slot"&&$.O!=="slot"||F(O.S.parentNode,!1),G(O,_,h),E(Ne,O.S,N.S),O=c[--j],_=f[++S];else{for(g=-1,p=b;p<=j;++p)if(c[p]&&c[p].$!==null&&c[p].$===_.$){g=p;break}g>=0?(v=c[g],v.O!==_.O?i=W(c&&c[S],m,g):(G(v,_,h),c[g]=void 0,i=v.S),_=f[++S]):(i=W(c&&c[S],m,S),_=f[++S]),i&&E(M(N.S).parentNode,i,M(N.S))}b>j?pe(u,f[P+1]==null?null:f[P+1].S,m,f,S,P):S>P&&ge(c,b,j)})(s,o,t,l,n):l!==null?(e.h!==null&&(s.textContent=""),pe(s,null,t,l,0,l.length-1)):!n&&o!==null&&ge(o,0,o.length-1),T&&a==="svg"&&(T=!1)):(r=s["s-cr"])?r.parentNode.textContent=d:e.h!==d&&(s.data=d)},C=[],me=e=>{let t,n,s;const o=e.__childNodes||e.childNodes;for(const l of o){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;const a=l["s-sn"];for(s=n.length-1;s>=0;s--)if(t=n[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===l["s-hn"]||t["s-sh"]&&t["s-sh"]===l["s-hn"]))if(re(t,a)){let d=C.find((r=>r.k===t));I=!0,t["s-sn"]=t["s-sn"]||a,d?(d.k["s-sh"]=l["s-hn"],d.N=l):(t["s-sh"]=l["s-hn"],C.push({N:l,k:t})),t["s-sr"]&&C.map((r=>{re(r.k,t["s-sn"])&&(d=C.find((u=>u.k===t)),d&&!r.N&&(r.N=d.N))}))}else C.some((d=>d.k===t))||C.push({k:t})}l.nodeType===1&&me(l)}},Se=e=>{e.v&&e.v.ref&&Z.push((()=>e.v.ref(null))),e.m&&e.m.map(Se)},Ce=(e,t)=>{q.push((()=>e(t)))},E=(e,t,n,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,n);const{slotNode:o}=(function(l,a){var d;if(!(a=a||((d=l["s-ol"])==null?void 0:d.parentElement)))return{slotNode:null,slotName:""};const r=l["s-sn"]=L(l)||"";return{slotNode:H(K(a,"childNodes"),a.tagName,r)[0],slotName:r}})(t);return o&&!s&&o.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,n):e?.insertBefore(t,n)},Pe=(e,t,n=!1)=>{var s,o,l,a,d;const r=e.$hostElement$,u=e.o,c=e.M||X(null,null);var m;const f=(m=t)&&m.O===Oe?t:Ae(null,null,t);if(k=r.tagName,u.C&&(f.v=f.v||{},u.C.forEach((([h,i])=>{f.v[i]=r[h]}))),n&&f.v)for(const h of Object.keys(f.v))r.hasAttribute(h)&&!["key","ref","style","class"].includes(h)&&(f.v[h]=r[h]);if(f.O=null,f.i|=4,e.M=f,f.S=c.S=r.shadowRoot||r,B=!(!(1&u.i)||128&u.i),J=r["s-cr"],I=!1,G(c,f,n),w.i|=1,V){me(f.S);for(const h of C){const i=h.k;if(!i["s-ol"]&&A.document){const v=A.document.createTextNode("");v["s-nr"]=i,E(i.parentNode,i["s-ol"]=v,i,n)}}for(const h of C){const i=h.k,v=h.N;if(i.nodeType===1&&n&&(i["s-ih"]=(s=i.hidden)!=null&&s),v){const b=v.parentNode;let S=v.nextSibling;if(S&&S.nodeType===1){let g=(o=i["s-ol"])==null?void 0:o.previousSibling;for(;g;){let p=(l=g["s-nr"])!=null?l:null;if(p&&p["s-sn"]===i["s-sn"]&&b===(p.__parentNode||p.parentNode)){for(p=p.nextSibling;p===i||p?.["s-sr"];)p=p?.nextSibling;if(!p||!p["s-nr"]){S=p;break}}g=g.previousSibling}}if((!S&&b!==(i.__parentNode||i.parentNode)||(i.__nextSibling||i.nextSibling)!==S)&&i!==S){if(E(b,i,S,n),i.nodeType===8&&i.nodeValue.startsWith("s-nt-")){const g=A.document.createTextNode(i.nodeValue.replace(/^s-nt-/,""));g["s-hn"]=i["s-hn"],g["s-sn"]=i["s-sn"],g["s-sh"]=i["s-sh"],g["s-sr"]=i["s-sr"],g["s-ol"]=i["s-ol"],g["s-ol"]["s-nr"]=g,E(i.parentNode,g,i,n),i.parentNode.removeChild(i)}i.nodeType===1&&i.tagName!=="SLOT-FB"&&(i.hidden=(a=i["s-ih"])!=null&&a)}i&&typeof v["s-rf"]=="function"&&v["s-rf"](v)}else i.nodeType===1&&(i.hidden=!0)}}if(I&&ie(f.S),w.i&=-2,C.length=0,!B&&!(1&u.i)&&r["s-cr"]){const h=f.S.__childNodes||f.S.childNodes;for(const i of h)if(i["s-hn"]!==k&&!i["s-sh"]){if(n&&i["s-ih"]==null&&(i["s-ih"]=(d=i.hidden)!=null&&d),i.nodeType===1)i.hidden=!0;else if(i.nodeType===3&&i.nodeValue.trim()){const v=A.document.createComment("s-nt-"+i.nodeValue);v["s-sn"]=i["s-sn"],E(i.parentNode,v,i,n),i.parentNode.removeChild(i)}}}J=void 0,Z.forEach((h=>h())),Z.length=0,q.forEach((h=>h())),q.length=0},je=e=>w._=e,ke=e=>Object.assign(w,e),ve=new WeakMap;function Ge(e,t){let n=ve.get(t);n||(n={i:0,o:{i:0,p:t.tagName},$hostElement$:t},ve.set(t,n)),Pe(n,e)}const x=globalThis.CSSStyleSheet!==void 0?new CSSStyleSheet:void 0;let ye=!1;x&&document.adoptedStyleSheets?document.adoptedStyleSheets.push(x):console.warn("CSSStyleSheet is not defined. Omitting constructed stylesheet behaviour.");let z=null;const Q=globalThis.MutationObserver!==void 0?new MutationObserver((()=>{U()})):void 0,U=()=>{if(x===void 0)return!1;const e=(()=>{if(x===void 0)return;const t=[];for(let n=0;n<document.styleSheets.length;n++){const s=document.styleSheets.item(n);if(s)try{let o=-1,l=0;for(let a=0;a<s.cssRules.length;a++){const d=s.cssRules.item(a);if(d?.cssText.startsWith("gids-global-styles-start"))o=a;else if(o>-1){if(d?.cssText.startsWith("gids-global-styles-end")){l=a-o+1;break}t.push(d)}}if(o>-1)return{rulesStartIndex:o,originalRulesCount:l,rules:t,styleSheet:s}}catch(o){if(!(o instanceof DOMException))throw o}}})();if(e!==void 0){const t=e.styleSheet.ownerNode;return Q!==void 0&&t!==z&&(z&&Q.disconnect(),t instanceof Element&&Q.observe(t,{childList:!0,characterData:!0,subtree:!0}),z=t),x.replaceSync((n=>n.rules.map((s=>s.cssText)).join(""))(e)),(n=>{const{rulesStartIndex:s,originalRulesCount:o,styleSheet:l}=n;for(let a=0;a<o;a++)l.deleteRule(s)})(e),!0}return console.warn("refreshConstructedGidsStylesheet: Gids stylesheet is not found in document."),!1},xe=()=>(ye||(ye=U()),x),ee=Symbol("defaultPath"),be=Symbol("pathSet"),te="gids-asset-paths-set";class Re extends EventTarget{#s=new Map;constructor(){super()}#e(t,n){this.#s.set(t,n)}#t(t){return this.#s.get(t)??null}#n=()=>{this.dispatchEvent(new Event(te))};haveAssetPathsBeenSet(){return this.#t(be)!==null}setAssetPaths(t,n){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(ee,t);else{for(const s in t)this.#e(s,t[s]);n&&this.#e(ee,n)}this.#e(be,"true"),setTimeout(this.#n,0)}}getAssetFilePath(t){const n=this.#t(t);if(n===null){const s=this.#t(ee);if(s!==null)return`${s}${s.endsWith("/")?"":"/"}${t}`}return n}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(te,t,{once:!0}),()=>{this.removeEventListener(te,t)}}}const se=Symbol.for("GIDS"),Le=()=>(globalThis[se]===void 0&&(globalThis[se]={assetPaths:{}}),globalThis[se]),Be=e=>{const t=Le().assetPaths;return t[e]===void 0&&(t[e]=new Re),t[e]};function Me(){return Be("@ganpatiinfo/gids-web-shared")}function Ie(e,t){Me().setAssetPaths(e,t)}y.GidsFloatingElementType=void 0,(function(e){e.TOOLTIP="tooltip",e.POPOVER="popover"})(y.GidsFloatingElementType||(y.GidsFloatingElementType={}));function ne(e,t){Ie(e,t)}const Ve=e=>{ne(e)},We=e=>{ne(e)},Fe=({children:e,classNameToBeValidated:t,childrenToBeValidated:n,currentComponentName:s})=>{if(e!=null){const o=Array.isArray(e)?e:[e];for(const l of o){if(!l||typeof l!="object"||!("vtag"in l))throw Error(`HTML/JSX Render Error: Invalid child type passed to ${s}. Expected ${n}.`);{const a=l.vtag;if(a!==t&&a!==n)throw Error(`HTML/JSX Render Error: <${s}> only accepts <${n}> as direct children. Received element tag: "${typeof a=="function"?a.name:a}".`)}}}};y.getAssetPath=Te,y.getConstructedGidsStylesheet=xe,y.refreshConstructedGidsStylesheet=U,y.render=Ge,y.setAssetPath=_e,y.setGidsAssetFilePaths=Ve,y.setGidsAssetPaths=ne,y.setGidsDefaultAssetDirPath=We,y.setNonce=je,y.setPlatformOptions=ke,y.testHtmlChildrenValidity=Fe,Object.defineProperty(y,Symbol.toStringTag,{value:"Module"})}));
5
+ `);const v=this["s-cr"].parentElement;return(v.__childNodes?v.childNodes:(b=>{const S=[];for(let g=0;g<b.length;g++){const p=b[g]["s-nr"]||void 0;p&&p.isConnected&&S.push(p)}return S})(v.childNodes)).forEach((b=>{i===R(b)&&h.push(b)})),m?h.filter((b=>b.nodeType===1)):h}).bind(u);u.assignedElements=c(!0),u.assignedNodes=c(!1)})(l),d=e&&e.m&&e.m[n],d&&d.O===o.O&&e.S&&he(e.S)),l},he=e=>{A.i|=1;const t=e.closest(k.toLowerCase());if(t!=null){const n=Array.from(t.__childNodes||t.childNodes).find((o=>o["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const o of n?s.reverse():s)o["s-sh"]!=null&&(E(t,o,n??null),o["s-sh"]=void 0,W=!0)}A.i&=-2},D=(e,t)=>{A.i|=1;const n=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let s=e;for(;s=s.nextSibling;)s&&s["s-sn"]===e["s-sn"]&&s["s-sh"]===k&&n.push(s)}for(let s=n.length-1;s>=0;s--){const o=n[s];o["s-hn"]!==k&&o["s-ol"]&&(E(M(o).parentNode,o,M(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,W=!0),t&&D(o,t)}A.i&=-2},pe=(e,t,n,s,o,l)=>{let a,d=e["s-cr"]&&e["s-cr"].parentNode||e;for(d.shadowRoot&&d.tagName===k&&(d=d.shadowRoot),n.O==="template"&&(d=d.content);o<=l;++o)s[o]&&(a=I(null,n,o),a&&(s[o].S=a,E(d,a,M(t))))},ge=(e,t,n)=>{for(let s=t;s<=n;++s){const o=e[s];if(o){const l=o.S;Se(o),l&&(V=!0,l["s-ol"]?l["s-ol"].remove():D(l,!0),l.remove())}}},F=(e,t,n=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:n?(n&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),M=e=>e&&e["s-ol"]||e,G=(e,t,n=!1)=>{const s=t.S=e.S,o=e.m,l=t.m,a=t.O,d=t.h;let r;d==null?(_=a==="svg"||a!=="foreignObject"&&_,a!=="slot"||B||e.j!==t.j&&(t.S["s-sn"]=t.j||"",he(t.S.parentElement)),U(e,t,_),o!==null&&l!==null?((u,c,m,f,h=!1)=>{let i,v,b=0,S=0,g=0,p=0,j=c.length-1,N=c[0],O=c[j],C=f.length-1,T=f[0],$=f[C];const Ne=m.O==="template"?u.content:u;for(;b<=j&&S<=C;)if(N==null)N=c[++b];else if(O==null)O=c[--j];else if(T==null)T=f[++S];else if($==null)$=f[--C];else if(F(N,T,h))G(N,T,h),N=c[++b],T=f[++S];else if(F(O,$,h))G(O,$,h),O=c[--j],$=f[--C];else if(F(N,$,h))N.O!=="slot"&&$.O!=="slot"||D(N.S.parentNode,!1),G(N,$,h),E(Ne,N.S,O.S.nextSibling),N=c[++b],$=f[--C];else if(F(O,T,h))N.O!=="slot"&&$.O!=="slot"||D(O.S.parentNode,!1),G(O,T,h),E(Ne,O.S,N.S),O=c[--j],T=f[++S];else{for(g=-1,p=b;p<=j;++p)if(c[p]&&c[p].$!==null&&c[p].$===T.$){g=p;break}g>=0?(v=c[g],v.O!==T.O?i=I(c&&c[S],m,g):(G(v,T,h),c[g]=void 0,i=v.S),T=f[++S]):(i=I(c&&c[S],m,S),T=f[++S]),i&&E(M(N.S).parentNode,i,M(N.S))}b>j?pe(u,f[C+1]==null?null:f[C+1].S,m,f,S,C):S>C&&ge(c,b,j)})(s,o,t,l,n):l!==null?(e.h!==null&&(s.textContent=""),pe(s,null,t,l,0,l.length-1)):!n&&o!==null&&ge(o,0,o.length-1),_&&a==="svg"&&(_=!1)):(r=s["s-cr"])?r.parentNode.textContent=d:e.h!==d&&(s.data=d)},P=[],me=e=>{let t,n,s;const o=e.__childNodes||e.childNodes;for(const l of o){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;const a=l["s-sn"];for(s=n.length-1;s>=0;s--)if(t=n[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===l["s-hn"]||t["s-sh"]&&t["s-sh"]===l["s-hn"]))if(re(t,a)){let d=P.find((r=>r.k===t));V=!0,t["s-sn"]=t["s-sn"]||a,d?(d.k["s-sh"]=l["s-hn"],d.N=l):(t["s-sh"]=l["s-hn"],P.push({N:l,k:t})),t["s-sr"]&&P.map((r=>{re(r.k,t["s-sn"])&&(d=P.find((u=>u.k===t)),d&&!r.N&&(r.N=d.N))}))}else P.some((d=>d.k===t))||P.push({k:t})}l.nodeType===1&&me(l)}},Se=e=>{e.v&&e.v.ref&&Y.push((()=>e.v.ref(null))),e.m&&e.m.map(Se)},Pe=(e,t)=>{Z.push((()=>e(t)))},E=(e,t,n,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,n);const{slotNode:o}=(function(l,a){var d;if(!(a=a||((d=l["s-ol"])==null?void 0:d.parentElement)))return{slotNode:null,slotName:""};const r=l["s-sn"]=R(l)||"";return{slotNode:H(K(a,"childNodes"),a.tagName,r)[0],slotName:r}})(t);return o&&!s&&o.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,n):e?.insertBefore(t,n)},Ce=(e,t,n=!1)=>{var s,o,l,a,d;const r=e.$hostElement$,u=e.o,c=e.M||X(null,null);var m;const f=(m=t)&&m.O===Oe?t:Ae(null,null,t);if(k=r.tagName,u.C&&(f.v=f.v||{},u.C.forEach((([h,i])=>{f.v[i]=r[h]}))),n&&f.v)for(const h of Object.keys(f.v))r.hasAttribute(h)&&!["key","ref","style","class"].includes(h)&&(f.v[h]=r[h]);if(f.O=null,f.i|=4,e.M=f,f.S=c.S=r.shadowRoot||r,B=!(!(1&u.i)||128&u.i),J=r["s-cr"],V=!1,G(c,f,n),A.i|=1,W){me(f.S);for(const h of P){const i=h.k;if(!i["s-ol"]&&w.document){const v=w.document.createTextNode("");v["s-nr"]=i,E(i.parentNode,i["s-ol"]=v,i,n)}}for(const h of P){const i=h.k,v=h.N;if(i.nodeType===1&&n&&(i["s-ih"]=(s=i.hidden)!=null&&s),v){const b=v.parentNode;let S=v.nextSibling;if(S&&S.nodeType===1){let g=(o=i["s-ol"])==null?void 0:o.previousSibling;for(;g;){let p=(l=g["s-nr"])!=null?l:null;if(p&&p["s-sn"]===i["s-sn"]&&b===(p.__parentNode||p.parentNode)){for(p=p.nextSibling;p===i||p?.["s-sr"];)p=p?.nextSibling;if(!p||!p["s-nr"]){S=p;break}}g=g.previousSibling}}if((!S&&b!==(i.__parentNode||i.parentNode)||(i.__nextSibling||i.nextSibling)!==S)&&i!==S){if(E(b,i,S,n),i.nodeType===8&&i.nodeValue.startsWith("s-nt-")){const g=w.document.createTextNode(i.nodeValue.replace(/^s-nt-/,""));g["s-hn"]=i["s-hn"],g["s-sn"]=i["s-sn"],g["s-sh"]=i["s-sh"],g["s-sr"]=i["s-sr"],g["s-ol"]=i["s-ol"],g["s-ol"]["s-nr"]=g,E(i.parentNode,g,i,n),i.parentNode.removeChild(i)}i.nodeType===1&&i.tagName!=="SLOT-FB"&&(i.hidden=(a=i["s-ih"])!=null&&a)}i&&typeof v["s-rf"]=="function"&&v["s-rf"](v)}else i.nodeType===1&&(i.hidden=!0)}}if(V&&ie(f.S),A.i&=-2,P.length=0,!B&&!(1&u.i)&&r["s-cr"]){const h=f.S.__childNodes||f.S.childNodes;for(const i of h)if(i["s-hn"]!==k&&!i["s-sh"]){if(n&&i["s-ih"]==null&&(i["s-ih"]=(d=i.hidden)!=null&&d),i.nodeType===1)i.hidden=!0;else if(i.nodeType===3&&i.nodeValue.trim()){const v=w.document.createComment("s-nt-"+i.nodeValue);v["s-sn"]=i["s-sn"],E(i.parentNode,v,i,n),i.parentNode.removeChild(i)}}}J=void 0,Y.forEach((h=>h())),Y.length=0,Z.forEach((h=>h())),Z.length=0},je=e=>A._=e,ke=e=>Object.assign(A,e),ve=new WeakMap;function Ge(e,t){let n=ve.get(t);n||(n={i:0,o:{i:0,p:t.tagName},$hostElement$:t},ve.set(t,n)),Ce(n,e)}const x=globalThis.CSSStyleSheet!==void 0?new CSSStyleSheet:void 0;let ye=!1;x&&document.adoptedStyleSheets?document.adoptedStyleSheets.push(x):console.warn("CSSStyleSheet is not defined. Omitting constructed stylesheet behaviour.");let q=null;const z=globalThis.MutationObserver!==void 0?new MutationObserver((()=>{Q()})):void 0,Q=()=>{if(x===void 0)return!1;const e=(()=>{if(x===void 0)return;const t=[];for(let n=0;n<document.styleSheets.length;n++){const s=document.styleSheets.item(n);if(s)try{let o=-1,l=0;for(let a=0;a<s.cssRules.length;a++){const d=s.cssRules.item(a);if(d?.cssText.startsWith("gids-global-styles-start"))o=a;else if(o>-1){if(d?.cssText.startsWith("gids-global-styles-end")){l=a-o+1;break}t.push(d)}}if(o>-1)return{rulesStartIndex:o,originalRulesCount:l,rules:t,styleSheet:s}}catch(o){if(!(o instanceof DOMException))throw o}}})();if(e!==void 0){const t=e.styleSheet.ownerNode;return z!==void 0&&t!==q&&(q&&z.disconnect(),t instanceof Element&&z.observe(t,{childList:!0,characterData:!0,subtree:!0}),q=t),x.replaceSync((n=>n.rules.map((s=>s.cssText)).join(""))(e)),(n=>{const{rulesStartIndex:s,originalRulesCount:o,styleSheet:l}=n;for(let a=0;a<o;a++)l.deleteRule(s)})(e),!0}return console.warn("refreshConstructedGidsStylesheet: Gids stylesheet is not found in document."),!1},xe=()=>(ye||(ye=Q()),x),ee=Symbol("defaultPath"),be=Symbol("pathSet"),te="gids-asset-paths-set";class Le extends EventTarget{#s=new Map;constructor(){super()}#e(t,n){this.#s.set(t,n)}#t(t){return this.#s.get(t)??null}#n=()=>{this.dispatchEvent(new Event(te))};haveAssetPathsBeenSet(){return this.#t(be)!==null}setAssetPaths(t,n){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(ee,t);else{for(const s in t)this.#e(s,t[s]);n&&this.#e(ee,n)}this.#e(be,"true"),setTimeout(this.#n,0)}}getAssetFilePath(t){const n=this.#t(t);if(n===null){const s=this.#t(ee);if(s!==null)return`${s}${s.endsWith("/")?"":"/"}${t}`}return n}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(te,t,{once:!0}),()=>{this.removeEventListener(te,t)}}}const se=Symbol.for("GIDS"),Re=()=>(globalThis[se]===void 0&&(globalThis[se]={assetPaths:{}}),globalThis[se]),Be=e=>{const t=Re().assetPaths;return t[e]===void 0&&(t[e]=new Le),t[e]};function Me(){return Be("@ganpatiinfo/gids-web-shared")}function Ve(e,t){Me().setAssetPaths(e,t)}y.GidsFloatingElementType=void 0,(function(e){e.TOOLTIP="tooltip",e.POPOVER="popover"})(y.GidsFloatingElementType||(y.GidsFloatingElementType={}));function ne(e,t){Ve(e,t)}const We=e=>{ne(e)},Ie=e=>{ne(e)},De=({children:e,classNameToBeValidated:t,childrenToBeValidated:n,currentComponentName:s})=>{if(e!=null){const o=Array.isArray(e)?e:[e];for(const l of o){if(!l||typeof l!="object"||!("vtag"in l))throw Error(`HTML/JSX Render Error: Invalid child type passed to ${s}. Expected ${n}.`);{const a=l.vtag;if(a!==t&&a!==n)throw Error(`HTML/JSX Render Error: <${s}> only accepts <${n}> as direct children. Received element tag: "${typeof a=="function"?a.name:a}".`)}}}};y.getAssetPath=_e,y.getConstructedGidsStylesheet=xe,y.refreshConstructedGidsStylesheet=Q,y.render=Ge,y.setAssetPath=Te,y.setGidsAssetFilePaths=We,y.setGidsAssetPaths=ne,y.setGidsDefaultAssetDirPath=Ie,y.setNonce=je,y.setPlatformOptions=ke,y.testHtmlChildrenValidity=De,Object.defineProperty(y,Symbol.toStringTag,{value:"Module"})}));