@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(R,L){typeof exports=="object"&&typeof module<"u"?L(exports):typeof define=="function"&&define.amd?define(["exports"],L):(R=typeof globalThis<"u"?globalThis:R||self,L(R.gidsCoreWebGidsScrim={}))})(this,(function(R){"use strict";function L(e,t,o){const s=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==s;){const n=Object.getOwnPropertyDescriptor(e,t);if(n&&(!o||n.get))return n;e=Object.getPrototypeOf(e)}}var F,Ue=(e,t)=>{var o;Object.entries((o=t.o.t)!=null?o:{}).map((([s,[n]])=>{if(31&n||32&n){const l=e[s],i=L(Object.getPrototypeOf(e),s,!0)||Object.getOwnPropertyDescriptor(e,s);i&&Object.defineProperty(e,s,{get(){return i.get.call(this)},set(c){i.set.call(this,c)},configurable:!0,enumerable:!0}),t.l.has(s)?e[s]=t.l.get(s):l!==void 0&&(e[s]=l)}}))},x=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},he=(e,t)=>t in e,M=(e,t)=>(0,console.error)(e,t),z=new Map,pe="http://www.w3.org/1999/xlink",ze=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],N=typeof window<"u"?window:{},Ge=N.HTMLElement||class{},_={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,o,s)=>e.addEventListener(t,o,s),rel:(e,t,o,s)=>e.removeEventListener(t,o,s),ce:(e,t)=>new CustomEvent(e,t)},Q=(()=>{try{return!!N.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),X=!!Q&&!!N.document&&Object.getOwnPropertyDescriptor(N.document.adoptedStyleSheets,"length").writable,ee=!1,me=[],ye=[],qe=(e,t)=>o=>{e.push(o),ee||(ee=!0,4&_.i?se(te):_.raf(te))},ge=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(o){M(o)}e.length=0},te=()=>{ge(me),ge(ye),(ee=me.length>0)&&_.raf(te)},se=e=>Promise.resolve(void 0).then(e),Ie=qe(ye);function Ye(){const e=this.attachShadow({mode:"open"});F===void 0&&(F=null),F&&(X?e.adoptedStyleSheets.push(F):e.adoptedStyleSheets=[...e.adoptedStyleSheets,F])}var Se=e=>{const t=ne(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&oe(t,e.tagName).forEach((s=>{s.nodeType===1&&s.tagName==="SLOT-FB"&&(s.hidden=!!Ze(s,W(s),!1).length)}));let o=0;for(o=0;o<t.length;o++){const s=t[o];s.nodeType===1&&ne(s,"childNodes").length&&Se(s)}};function oe(e,t,o){let s,n=0,l=[];for(;n<e.length;n++){if(s=e[n],s["s-sr"]&&(!t||s["s-hn"]===t)&&(o===void 0||W(s)===o)&&(l.push(s),o!==void 0))return l;l=[...l,...oe(s.childNodes,t,o)]}return l}var Ze=(e,t,o=!0)=>{const s=[];(o&&e["s-sr"]||!e["s-sr"])&&s.push(e);let n=e;for(;n=n.nextSibling;)W(n)!==t||!o&&n["s-sr"]||s.push(n);return s},ve=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",W=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function ne(e,t){if("__"+t in e){const o=e["__"+t];return typeof o!="function"?o:o.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var le,P,T=new WeakMap,be=e=>"sc-"+e.p,re=e=>(e=typeof e)=="object"||e==="function",G=(e,t,...o)=>{let s=null,n=null,l=null,i=!1,c=!1;const r=[],d=a=>{for(let f=0;f<a.length;f++)s=a[f],Array.isArray(s)?d(s):s!=null&&typeof s!="boolean"&&((i=typeof e!="function"&&!re(s))&&(s=String(s)),i&&c?r[r.length-1].h+=s:r.push(i?q(null,s):s),c=i)};if(d(o),t){t.key&&(n=t.key),t.name&&(l=t.name);{const a=t.className||t.class;a&&(t.class=typeof a!="object"?a:Object.keys(a).filter((f=>a[f])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,r,Ke);const u=q(e,null);return u.v=t,r.length>0&&(u.m=r),u.$=n,u.j=l,u},q=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),Je={},Ke={forEach:(e,t)=>e.map(we).forEach(t),map:(e,t)=>e.map(we).map(t).map(Qe)},we=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),Qe=e=>{if(typeof e.vtag=="function"){const o={...e.vattrs};return e.vkey&&(o.key=e.vkey),e.vname&&(o.name=e.vname),G(e.vtag,o,...e.vchildren||[])}const t=q(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},Ne=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let o=!1;for(const n of t){if(o)break;for(const l of e[n])if(typeof l=="string"){o=!0;break}}if(!o)return e;const s={};for(const n of t)s[n]=e[n].map((l=>typeof l=="string"?{[l]:0}:l));return s},Oe=(e,t,o)=>e==null||re(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,Xe=(e,t,o)=>{const s=_.ce(t,o);return e.dispatchEvent(s),s},_e=(e,t,o,s,n,l)=>{if(o===s)return;let i=he(e,t),c=t.toLowerCase();if(t==="class"){const r=e.classList,d=Ce(o);let u=Ce(s);r.remove(...d.filter((a=>a&&!u.includes(a)))),r.add(...u.filter((a=>a&&!d.includes(a))))}else if(t==="style"){for(const r in o)s&&s[r]!=null||(r.includes("-")?e.style.removeProperty(r):e.style[r]="");for(const r in s)o&&s[r]===o[r]||(r.includes("-")?e.style.setProperty(r,s[r]):e.style[r]=s[r])}else if(t!=="key"){if(t==="ref")s&&st(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 d;{const u=x(e);if(u&&u.o&&u.o.t){const a=u.o.t[r];a&&a[1]&&(d=a[1])}}return d||(d=r.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(s==null||s===!1?s===!1&&e.getAttribute(d)!==""||e.removeAttribute(d):e.setAttribute(d,s===!0?"":s))}if(t[0]==="p"&&t.startsWith("prop:")){const r=t.slice(5);try{e[r]=s}catch{}return}{const r=re(s);if((i||r&&s!==null)&&!n)try{if(e.tagName.includes("-"))e[t]!==s&&(e[t]=s);else{const u=s??"";t==="list"?i=!1:o!=null&&e[t]===u||(typeof e.__lookupSetter__(t)=="function"?e[t]=u:e.setAttribute(t,u))}}catch{}let d=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,d=!0),s==null||s===!1?s===!1&&e.getAttribute(t)!==""||(d?e.removeAttributeNS(pe,t):e.removeAttribute(t)):(!i||4&l||n)&&!r&&e.nodeType===1&&(s=s===!0?"":s,d?e.setAttributeNS(pe,t,s):e.setAttribute(t,s))}}else if(t=t[2]==="-"?t.slice(3):he(N,c)?c.slice(2):c[2]+t.slice(3),o||s){const r=t.endsWith(ke);t=t.replace(tt,""),o&&_.rel(e,t,o,r),s&&_.ael(e,t,s,r)}}},et=/\s/,Ce=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(et):[]),ke="Capture",tt=new RegExp(ke+"$"),ie=(e,t,o)=>{const s=t.S.nodeType===11&&t.S.host?t.S.host:t.S,n=e&&e.v||{},l=t.v||{};for(const i of je(Object.keys(n)))i in l||_e(s,i,n[i],void 0,o,t.i);for(const i of je(Object.keys(l)))_e(s,i,n[i],l[i],o,t.i)};function je(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var V=!1,I=!1,Y=!1,C=!1,ce=[],ae=[],Z=(e,t,o)=>{var s;const n=t.m[o];let l,i,c,r=0;if(V||(Y=!0,n.O==="slot"&&(n.i|=n.m?2:1)),n.h!=null)l=n.S=N.document.createTextNode(n.h);else if(1&n.i)l=n.S=N.document.createTextNode(""),ie(null,n,C);else{if(C||(C=n.O==="svg"),!N.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(l=n.S=N.document.createElementNS(C?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!V&&2&n.i?"slot-fb":n.O),C&&n.O==="foreignObject"&&(C=!1),ie(null,n,C),n.m){const d=n.O==="template"?l.content:l;for(r=0;r<n.m.length;++r)i=Z(e,n,r),i&&d.appendChild(i)}n.O==="svg"?C=!1:l.tagName==="foreignObject"&&(C=!0)}return l["s-hn"]=P,3&n.i&&(l["s-sr"]=!0,l["s-cr"]=le,l["s-sn"]=n.j||"",l["s-rf"]=(s=n.v)==null?void 0:s.ref,(function(d){if(d.assignedElements||d.assignedNodes||!d["s-sr"])return;const u=a=>(function(f){const m=[],h=this["s-sn"];f?.flatten&&console.error(`
1
+ (function(R,M){typeof exports=="object"&&typeof module<"u"?M(exports):typeof define=="function"&&define.amd?define(["exports"],M):(R=typeof globalThis<"u"?globalThis:R||self,M(R.gidsCoreWebGidsScrim={}))})(this,(function(R){"use strict";function M(e,t,o){const s=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==s;){const n=Object.getOwnPropertyDescriptor(e,t);if(n&&(!o||n.get))return n;e=Object.getPrototypeOf(e)}}var F,qe=(e,t)=>{var o;Object.entries((o=t.o.t)!=null?o:{}).map((([s,[n]])=>{if(31&n||32&n){const l=e[s],i=M(Object.getPrototypeOf(e),s,!0)||Object.getOwnPropertyDescriptor(e,s);i&&Object.defineProperty(e,s,{get(){return i.get.call(this)},set(c){i.set.call(this,c)},configurable:!0,enumerable:!0}),t.l.has(s)?e[s]=t.l.get(s):l!==void 0&&(e[s]=l)}}))},x=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},he=(e,t)=>t in e,P=(e,t)=>(0,console.error)(e,t),q=new Map,pe="http://www.w3.org/1999/xlink",Ge=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],w=typeof window<"u"?window:{},ze=w.HTMLElement||class{},_={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,o,s)=>e.addEventListener(t,o,s),rel:(e,t,o,s)=>e.removeEventListener(t,o,s),ce:(e,t)=>new CustomEvent(e,t)},Ie=(()=>{var e;let t=!1;try{(e=w.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),Q=(()=>{try{return!!w.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),X=!!Q&&!!w.document&&Object.getOwnPropertyDescriptor(w.document.adoptedStyleSheets,"length").writable,ee=!1,me=[],ye=[],Ye=(e,t)=>o=>{e.push(o),ee||(ee=!0,4&_.i?se(te):_.raf(te))},ge=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(o){P(o)}e.length=0},te=()=>{ge(me),ge(ye),(ee=me.length>0)&&_.raf(te)},se=e=>Promise.resolve(void 0).then(e),Ze=Ye(ye);function Je(){const e=this.attachShadow({mode:"open"});F===void 0&&(F=null),F&&(X?e.adoptedStyleSheets.push(F):e.adoptedStyleSheets=[...e.adoptedStyleSheets,F])}var ve=e=>{const t=ne(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&oe(t,e.tagName).forEach((s=>{s.nodeType===1&&s.tagName==="SLOT-FB"&&(s.hidden=!!Ke(s,V(s),!1).length)}));let o=0;for(o=0;o<t.length;o++){const s=t[o];s.nodeType===1&&ne(s,"childNodes").length&&ve(s)}};function oe(e,t,o){let s,n=0,l=[];for(;n<e.length;n++){if(s=e[n],s["s-sr"]&&(!t||s["s-hn"]===t)&&(o===void 0||V(s)===o)&&(l.push(s),o!==void 0))return l;l=[...l,...oe(s.childNodes,t,o)]}return l}var Ke=(e,t,o=!0)=>{const s=[];(o&&e["s-sr"]||!e["s-sr"])&&s.push(e);let n=e;for(;n=n.nextSibling;)V(n)!==t||!o&&n["s-sr"]||s.push(n);return s},Se=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",V=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function ne(e,t){if("__"+t in e){const o=e["__"+t];return typeof o!="function"?o:o.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var le,L,T=new WeakMap,be=e=>"sc-"+e.p,re=e=>(e=typeof e)=="object"||e==="function",G=(e,t,...o)=>{let s=null,n=null,l=null,i=!1,c=!1;const r=[],d=a=>{for(let f=0;f<a.length;f++)s=a[f],Array.isArray(s)?d(s):s!=null&&typeof s!="boolean"&&((i=typeof e!="function"&&!re(s))&&(s=String(s)),i&&c?r[r.length-1].h+=s:r.push(i?z(null,s):s),c=i)};if(d(o),t){t.key&&(n=t.key),t.name&&(l=t.name);{const a=t.className||t.class;a&&(t.class=typeof a!="object"?a:Object.keys(a).filter((f=>a[f])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,r,Xe);const u=z(e,null);return u.v=t,r.length>0&&(u.m=r),u.$=n,u.j=l,u},z=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),Qe={},Xe={forEach:(e,t)=>e.map(we).forEach(t),map:(e,t)=>e.map(we).map(t).map(et)},we=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),et=e=>{if(typeof e.vtag=="function"){const o={...e.vattrs};return e.vkey&&(o.key=e.vkey),e.vname&&(o.name=e.vname),G(e.vtag,o,...e.vchildren||[])}const t=z(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},Ne=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let o=!1;for(const n of t){if(o)break;for(const l of e[n])if(typeof l=="string"){o=!0;break}}if(!o)return e;const s={};for(const n of t)s[n]=e[n].map((l=>typeof l=="string"?{[l]:0}:l));return s},Oe=(e,t,o)=>e==null||re(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,tt=(e,t,o)=>{const s=_.ce(t,o);return e.dispatchEvent(s),s},_e=(e,t,o,s,n,l)=>{if(o===s)return;let i=he(e,t),c=t.toLowerCase();if(t==="class"){const r=e.classList,d=Ce(o);let u=Ce(s);r.remove(...d.filter((a=>a&&!u.includes(a)))),r.add(...u.filter((a=>a&&!d.includes(a))))}else if(t==="style"){for(const r in o)s&&s[r]!=null||(r.includes("-")?e.style.removeProperty(r):e.style[r]="");for(const r in s)o&&s[r]===o[r]||(r.includes("-")?e.style.setProperty(r,s[r]):e.style[r]=s[r])}else if(t!=="key"){if(t==="ref")s&&nt(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 d;{const u=x(e);if(u&&u.o&&u.o.t){const a=u.o.t[r];a&&a[1]&&(d=a[1])}}return d||(d=r.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(s==null||s===!1?s===!1&&e.getAttribute(d)!==""||e.removeAttribute(d):e.setAttribute(d,s===!0?"":s))}if(t[0]==="p"&&t.startsWith("prop:")){const r=t.slice(5);try{e[r]=s}catch{}return}{const r=re(s);if((i||r&&s!==null)&&!n)try{if(e.tagName.includes("-"))e[t]!==s&&(e[t]=s);else{const u=s??"";t==="list"?i=!1:o!=null&&e[t]===u||(typeof e.__lookupSetter__(t)=="function"?e[t]=u:e.setAttribute(t,u))}}catch{}let d=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,d=!0),s==null||s===!1?s===!1&&e.getAttribute(t)!==""||(d?e.removeAttributeNS(pe,t):e.removeAttribute(t)):(!i||4&l||n)&&!r&&e.nodeType===1&&(s=s===!0?"":s,d?e.setAttributeNS(pe,t,s):e.setAttribute(t,s))}}else if(t=t[2]==="-"?t.slice(3):he(w,c)?c.slice(2):c[2]+t.slice(3),o||s){const r=t.endsWith(ke);t=t.replace(ot,""),o&&_.rel(e,t,o,r),s&&_.ael(e,t,s,r)}}},st=/\s/,Ce=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(st):[]),ke="Capture",ot=new RegExp(ke+"$"),ie=(e,t,o)=>{const s=t.S.nodeType===11&&t.S.host?t.S.host:t.S,n=e&&e.v||{},l=t.v||{};for(const i of $e(Object.keys(n)))i in l||_e(s,i,n[i],void 0,o,t.i);for(const i of $e(Object.keys(l)))_e(s,i,n[i],l[i],o,t.i)};function $e(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var W=!1,I=!1,Y=!1,C=!1,ce=[],ae=[],Z=(e,t,o)=>{var s;const n=t.m[o];let l,i,c,r=0;if(W||(Y=!0,n.O==="slot"&&(n.i|=n.m?2:1)),n.h!=null)l=n.S=w.document.createTextNode(n.h);else if(1&n.i)l=n.S=w.document.createTextNode(""),ie(null,n,C);else{if(C||(C=n.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=n.S=w.document.createElementNS(C?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!W&&2&n.i?"slot-fb":n.O),C&&n.O==="foreignObject"&&(C=!1),ie(null,n,C),n.m){const d=n.O==="template"?l.content:l;for(r=0;r<n.m.length;++r)i=Z(e,n,r),i&&d.appendChild(i)}n.O==="svg"?C=!1:l.tagName==="foreignObject"&&(C=!0)}return l["s-hn"]=L,3&n.i&&(l["s-sr"]=!0,l["s-cr"]=le,l["s-sn"]=n.j||"",l["s-rf"]=(s=n.v)==null?void 0:s.ref,(function(d){if(d.assignedElements||d.assignedNodes||!d["s-sr"])return;const u=a=>(function(f){const m=[],h=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 b=this["s-cr"].parentElement;return(b.__childNodes?b.childNodes:(v=>{const g=[];for(let y=0;y<v.length;y++){const p=v[y]["s-nr"]||void 0;p&&p.isConnected&&g.push(p)}return g})(b.childNodes)).forEach((v=>{h===W(v)&&m.push(v)})),a?m.filter((v=>v.nodeType===1)):m}).bind(d);d.assignedElements=u(!0),d.assignedNodes=u(!1)})(l),c=e&&e.m&&e.m[o],c&&c.O===n.O&&e.S&&Ee(e.S)),l},Ee=e=>{_.i|=1;const t=e.closest(P.toLowerCase());if(t!=null){const o=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const n of o?s.reverse():s)n["s-sh"]!=null&&(E(t,n,o??null),n["s-sh"]=void 0,Y=!0)}_.i&=-2},J=(e,t)=>{_.i|=1;const o=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let s=e;for(;s=s.nextSibling;)s&&s["s-sn"]===e["s-sn"]&&s["s-sh"]===P&&o.push(s)}for(let s=o.length-1;s>=0;s--){const n=o[s];n["s-hn"]!==P&&n["s-ol"]&&(E(B(n).parentNode,n,B(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,Y=!0),t&&J(n,t)}_.i&=-2},$e=(e,t,o,s,n,l)=>{let i,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===P&&(c=c.shadowRoot),o.O==="template"&&(c=c.content);n<=l;++n)s[n]&&(i=Z(null,o,n),i&&(s[n].S=i,E(c,i,B(t))))},xe=(e,t,o)=>{for(let s=t;s<=o;++s){const n=e[s];if(n){const l=n.S;Te(n),l&&(I=!0,l["s-ol"]?l["s-ol"].remove():J(l,!0),l.remove())}}},K=(e,t,o=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:o?(o&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),B=e=>e&&e["s-ol"]||e,D=(e,t,o=!1)=>{const s=t.S=e.S,n=e.m,l=t.m,i=t.O,c=t.h;let r;c==null?(C=i==="svg"||i!=="foreignObject"&&C,i!=="slot"||V||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Ee(t.S.parentElement)),ie(e,t,C),n!==null&&l!==null?((d,u,a,f,m=!1)=>{let h,b,v=0,g=0,y=0,p=0,O=u.length-1,S=u[0],w=u[O],k=f.length-1,j=f[0],$=f[k];const Be=a.O==="template"?d.content:d;for(;v<=O&&g<=k;)if(S==null)S=u[++v];else if(w==null)w=u[--O];else if(j==null)j=f[++g];else if($==null)$=f[--k];else if(K(S,j,m))D(S,j,m),S=u[++v],j=f[++g];else if(K(w,$,m))D(w,$,m),w=u[--O],$=f[--k];else if(K(S,$,m))S.O!=="slot"&&$.O!=="slot"||J(S.S.parentNode,!1),D(S,$,m),E(Be,S.S,w.S.nextSibling),S=u[++v],$=f[--k];else if(K(w,j,m))S.O!=="slot"&&$.O!=="slot"||J(w.S.parentNode,!1),D(w,j,m),E(Be,w.S,S.S),w=u[--O],j=f[++g];else{for(y=-1,p=v;p<=O;++p)if(u[p]&&u[p].$!==null&&u[p].$===j.$){y=p;break}y>=0?(b=u[y],b.O!==j.O?h=Z(u&&u[g],a,y):(D(b,j,m),u[y]=void 0,h=b.S),j=f[++g]):(h=Z(u&&u[g],a,g),j=f[++g]),h&&E(B(S.S).parentNode,h,B(S.S))}v>O?$e(d,f[k+1]==null?null:f[k+1].S,a,f,g,k):g>k&&xe(u,v,O)})(s,n,t,l,o):l!==null?(e.h!==null&&(s.textContent=""),$e(s,null,t,l,0,l.length-1)):!o&&n!==null&&xe(n,0,n.length-1),C&&i==="svg"&&(C=!1)):(r=s["s-cr"])?r.parentNode.textContent=c:e.h!==c&&(s.data=c)},A=[],Ae=e=>{let t,o,s;const n=e.__childNodes||e.childNodes;for(const l of n){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){o=t.parentNode.__childNodes||t.parentNode.childNodes;const i=l["s-sn"];for(s=o.length-1;s>=0;s--)if(t=o[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===l["s-hn"]||t["s-sh"]&&t["s-sh"]===l["s-hn"]))if(ve(t,i)){let c=A.find((r=>r.k===t));I=!0,t["s-sn"]=t["s-sn"]||i,c?(c.k["s-sh"]=l["s-hn"],c.N=l):(t["s-sh"]=l["s-hn"],A.push({N:l,k:t})),t["s-sr"]&&A.map((r=>{ve(r.k,t["s-sn"])&&(c=A.find((d=>d.k===t)),c&&!r.N&&(r.N=c.N))}))}else A.some((c=>c.k===t))||A.push({k:t})}l.nodeType===1&&Ae(l)}},Te=e=>{e.v&&e.v.ref&&ce.push((()=>e.v.ref(null))),e.m&&e.m.map(Te)},st=(e,t)=>{ae.push((()=>e(t)))},E=(e,t,o,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,o);const{slotNode:n}=(function(l,i){var c;if(!(i=i||((c=l["s-ol"])==null?void 0:c.parentElement)))return{slotNode:null,slotName:""};const r=l["s-sn"]=W(l)||"";return{slotNode:oe(ne(i,"childNodes"),i.tagName,r)[0],slotName:r}})(t);return n&&!s&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,o):e?.insertBefore(t,o)},ot=(e,t,o=!1)=>{var s,n,l,i,c;const r=e.$hostElement$,d=e.o,u=e.M||q(null,null);var a;const f=(a=t)&&a.O===Je?t:G(null,null,t);if(P=r.tagName,d.C&&(f.v=f.v||{},d.C.forEach((([m,h])=>{f.v[h]=r[m]}))),o&&f.v)for(const m of Object.keys(f.v))r.hasAttribute(m)&&!["key","ref","style","class"].includes(m)&&(f.v[m]=r[m]);if(f.O=null,f.i|=4,e.M=f,f.S=u.S=r.shadowRoot||r,V=!(!(1&d.i)||128&d.i),le=r["s-cr"],I=!1,D(u,f,o),_.i|=1,Y){Ae(f.S);for(const m of A){const h=m.k;if(!h["s-ol"]&&N.document){const b=N.document.createTextNode("");b["s-nr"]=h,E(h.parentNode,h["s-ol"]=b,h,o)}}for(const m of A){const h=m.k,b=m.N;if(h.nodeType===1&&o&&(h["s-ih"]=(s=h.hidden)!=null&&s),b){const v=b.parentNode;let g=b.nextSibling;if(g&&g.nodeType===1){let y=(n=h["s-ol"])==null?void 0:n.previousSibling;for(;y;){let p=(l=y["s-nr"])!=null?l:null;if(p&&p["s-sn"]===h["s-sn"]&&v===(p.__parentNode||p.parentNode)){for(p=p.nextSibling;p===h||p?.["s-sr"];)p=p?.nextSibling;if(!p||!p["s-nr"]){g=p;break}}y=y.previousSibling}}if((!g&&v!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==g)&&h!==g){if(E(v,h,g,o),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const y=N.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,E(h.parentNode,y,h,o),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(i=h["s-ih"])!=null&&i)}h&&typeof b["s-rf"]=="function"&&b["s-rf"](b)}else h.nodeType===1&&(h.hidden=!0)}}if(I&&Se(f.S),_.i&=-2,A.length=0,!V&&!(1&d.i)&&r["s-cr"]){const m=f.S.__childNodes||f.S.childNodes;for(const h of m)if(h["s-hn"]!==P&&!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 b=N.document.createComment("s-nt-"+h.nodeValue);b["s-sn"]=h["s-sn"],E(h.parentNode,b,h,o),h.parentNode.removeChild(h)}}}le=void 0,ce.forEach((m=>m())),ce.length=0,ae.forEach((m=>m())),ae.length=0},Re=(e,t)=>{if(t&&!e.A&&t["s-p"]){const o=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(o-1,1),s()})))}},de=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Re(e,e.R);const o=()=>nt(e,t);if(!t)return Ie(o);queueMicrotask((()=>{o()}))},nt=(e,t)=>{const o=e.$hostElement$,s=o;if(!s)throw new Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let n;return n=U(s,t?"componentWillLoad":"componentWillUpdate",void 0,o),n=Pe(n,(()=>U(s,"componentWillRender",void 0,o))),Pe(n,(()=>rt(e,s,t)))},Pe=(e,t)=>lt(e)?e.then(t).catch((o=>{console.error(o),t()})):t(),lt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",rt=async(e,t,o)=>{var s;const n=e.$hostElement$,l=n["s-rc"];o&&(i=>{const c=i.o,r=i.$hostElement$,d=c.i,u=((a,f)=>{var m,h,b;const v=be(f),g=z.get(v);if(!N.document)return v;if(a=a.nodeType===11?a:N.document,g)if(typeof g=="string"){let y,p=T.get(a=a.head||a);if(p||T.set(a,p=new Set),!p.has(v)){y=N.document.createElement("style"),y.textContent=g;const O=(m=_._)!=null?m:(function(){var S,w,k;return(k=(w=(S=N.document.head)==null?void 0:S.querySelector('meta[name="csp-nonce"]'))==null?void 0:w.getAttribute("content"))!=null?k:void 0})();if(O!=null&&y.setAttribute("nonce",O),!(1&f.i))if(a.nodeName==="HEAD"){const S=a.querySelectorAll("link[rel=preconnect]"),w=S.length>0?S[S.length-1].nextSibling:a.querySelector("style");a.insertBefore(y,w?.parentNode===a?w:null)}else if("host"in a)if(Q){const S=new((h=a.defaultView)!=null?h:a.ownerDocument.defaultView).CSSStyleSheet;S.replaceSync(g),X?a.adoptedStyleSheets.unshift(S):a.adoptedStyleSheets=[S,...a.adoptedStyleSheets]}else{const S=a.querySelector("style");S?S.textContent=g+S.textContent:a.prepend(y)}else a.append(y);1&f.i&&a.insertBefore(y,null),4&f.i&&(y.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),p&&p.add(v)}}else{let y=T.get(a);if(y||T.set(a,y=new Set),!y.has(v)){const p=(b=a.defaultView)!=null?b:a.ownerDocument.defaultView;let O;if(g.constructor===p.CSSStyleSheet)O=g;else{O=new p.CSSStyleSheet;for(let S=0;S<g.cssRules.length;S++)O.insertRule(g.cssRules[S].cssText,S)}X?a.adoptedStyleSheets.push(O):a.adoptedStyleSheets=[...a.adoptedStyleSheets,O],y.add(v)}}return v})(r.shadowRoot?r.shadowRoot:r.getRootNode(),c);10&d&&(r["s-sc"]=u,r.classList.add(u+"-h"))})(e),it(e,t,n,o),l&&(l.map((i=>i())),n["s-rc"]=void 0);{const i=(s=n["s-p"])!=null?s:[],c=()=>ct(e);i.length===0?c():(Promise.all(i).then(c).catch(c),e.i|=4,i.length=0)}},it=(e,t,o,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,ot(e,t,s)}catch(n){M(n,e.$hostElement$)}return null},ct=e=>{const t=e.$hostElement$,o=t,s=e.R;U(o,"componentDidRender",void 0,t),64&e.i?U(o,"componentDidUpdate",void 0,t):(e.i|=64,dt(t),U(o,"componentDidLoad",void 0,t),e.L(t),s||at()),e.A&&(e.A(),e.A=void 0),512&e.i&&se((()=>de(e,!1))),e.i&=-517},at=()=>{se((()=>Xe(N,"appload",{detail:{namespace:"gids-core-web"}})))},U=(e,t,o,s)=>{if(e&&e[t])try{return e[t](o)}catch(n){M(n,s)}},dt=e=>e.classList.add("hydrated"),Le=(e,t,o,s)=>{const n=x(e);if(!n)return;const l=e,i=n.l.get(t),c=n.i,r=l;o=Oe(o,s.t[t][0],!!(64&s.i));const d=Number.isNaN(i)&&Number.isNaN(o);if(o!==i&&!d){if(n.l.set(t,o),s.F){const u=s.F[t];u&&u.map((a=>{try{const[[f,m]]=Object.entries(a);(128&c||1&m)&&(r?r[f](o,i,t):n.T.push((()=>{n.D[f](o,i,t)})))}catch(f){M(f,l)}}))}if(2&c){if(r.componentShouldUpdate&&r.componentShouldUpdate(o,i,t)===!1&&!(16&c))return;16&c||de(n,!1)}}},ut=(e,t,o)=>{var s,n;const l=e.prototype;64&t.i&&1&o&&ze.forEach((i=>{const c=l[i];Object.defineProperty(l,i,{value(...r){var d;const u=x(this),a=this;a?typeof c=="function"&&c.call(a,...r):(d=u?.H)==null||d.then((f=>{const m=f[i];typeof m=="function"&&m.call(f,...r)}))}})}));{e.watchers&&!t.F&&(t.F=Ne(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const i=Object.entries((s=t.t)!=null?s:{});i.map((([c,[r]])=>{if(31&r||32&r){const{get:d,set:u}=L(l,c)||{};d&&(t.t[c][0]|=2048),u&&(t.t[c][0]|=4096),Object.defineProperty(l,c,{get(){return d?d.apply(this):(a=c,x(this).l.get(a));var a},configurable:!0,enumerable:!0}),Object.defineProperty(l,c,{set(a){const f=x(this);if(f){if(u)return(32&r?this[c]:f.$hostElement$[c])===void 0&&f.l.get(c)&&(a=f.l.get(c)),u.apply(this,[Oe(a,r,!!(64&t.i))]),void Le(this,c,a=32&r?this[c]:f.$hostElement$[c],t);Le(this,c,a,t)}}})}}));{const c=new Map;l.attributeChangedCallback=function(r,d,u){_.jmp((()=>{var a;const f=c.get(r),m=x(this);if(this.hasOwnProperty(f),l.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==u)return;if(f==null){const y=m?.i;if(m&&y&&!(8&y)&&u!==d){const p=this,O=(a=t.F)==null?void 0:a[r];O?.forEach((S=>{const[[w,k]]=Object.entries(S);p[w]!=null&&(128&y||1&k)&&p[w].call(p,u,d,r)}))}return}const h=i.find((([y])=>y===f)),b=h&&4&h[1][0],v=b&&u===null&&this[f]===void 0;b&&(u=u!==null&&u!=="false");const g=Object.getOwnPropertyDescriptor(l,f);v||u==this[f]||g.get&&!g.set||(this[f]=u)}))},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.F)!=null?n:{}),...i.filter((([r,d])=>31&d[0])).map((([r,d])=>{var u;const a=d[1]||r;return c.set(a,r),512&d[0]&&((u=t.C)==null||u.push([r,a])),a}))]))}}return e},ft=(e,t)=>{const o={i:t[0],p:t[1]};try{o.t=t[2],o.F=Ne(e.F),o.P=e.P,o.U=e.U,o.C=[];const s=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((l,i)=>{const c={i:0,$hostElement$:l,o:i,l:new Map,W:new Map};c.H=new Promise((d=>c.L=d)),l["s-p"]=[],l["s-rc"]=[];const r=c;l.__stencil__getHostRef=()=>r,512&i.i&&Ue(l,c)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){if(!x(this))return;this.__hasHostListenerAttached=!0}(l=>{if(!(1&_.i)){const i=x(l);if(!i)return;const c=i.o;if(1&i.i)i?.D||i?.H&&i.H.then((()=>{}));else{i.i|=1,12&c.i&&(r=>{if(!N.document)return;const d=r["s-cr"]=N.document.createComment("");d["s-cn"]=!0,E(r,d,r.firstChild)})(l);{let r=l;for(;r=r.parentNode||r.host;)if(r["s-p"]){Re(i,i.R=r);break}}c.t&&Object.entries(c.t).map((([r,[d]])=>{if(31&d&&Object.prototype.hasOwnProperty.call(l,r)){const u=l[r];delete l[r],l[r]=u}})),(async(r,d,u)=>{let a;try{if(!(32&d.i)&&(d.i|=32,a=r.constructor,customElements.whenDefined(r.localName).then((()=>d.i|=128)),a&&a.style)){let h;typeof a.style=="string"&&(h=a.style);const b=be(u);z.has(b)||((v,g,y)=>{let p=z.get(v);Q&&y?(p=p||new CSSStyleSheet,typeof p=="string"?p=g:p.replaceSync(g)):p=g,z.set(v,p)})(b,h,!!(1&u.i))}const f=d.R,m=()=>de(d,!0);f&&f["s-rc"]?f["s-rc"].push(m):m()}catch(f){M(f,r),d.A&&(d.A(),d.A=void 0),d.L&&d.L(r)}})(l,i,c)}}})(this),s&&s.call(this)},disconnectedCallback(){(async l=>{1&_.i||x(l),T.has(l)&&T.delete(l),l.shadowRoot&&T.has(l.shadowRoot)&&T.delete(l.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${o.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Ye.call(this,o)}}),Object.defineProperty(e,"is",{value:o.p,configurable:!0}),ut(e,o,3)}catch(s){return M(s),e}};function St(e){return e}const H=globalThis.CSSStyleSheet!==void 0?new CSSStyleSheet:void 0;let Me=!1;H&&document.adoptedStyleSheets?document.adoptedStyleSheets.push(H):console.warn("CSSStyleSheet is not defined. Omitting constructed stylesheet behaviour.");let ue=null;const fe=globalThis.MutationObserver!==void 0?new MutationObserver((()=>{De()})):void 0,De=()=>{if(H===void 0)return!1;const e=(()=>{if(H===void 0)return;const t=[];for(let o=0;o<document.styleSheets.length;o++){const s=document.styleSheets.item(o);if(s)try{let n=-1,l=0;for(let i=0;i<s.cssRules.length;i++){const c=s.cssRules.item(i);if(c?.cssText.startsWith("gids-global-styles-start"))n=i;else if(n>-1){if(c?.cssText.startsWith("gids-global-styles-end")){l=i-n+1;break}t.push(c)}}if(n>-1)return{rulesStartIndex:n,originalRulesCount:l,rules:t,styleSheet:s}}catch(n){if(!(n instanceof DOMException))throw n}}})();if(e!==void 0){const t=e.styleSheet.ownerNode;return fe!==void 0&&t!==ue&&(ue&&fe.disconnect(),t instanceof Element&&fe.observe(t,{childList:!0,characterData:!0,subtree:!0}),ue=t),H.replaceSync((o=>o.rules.map((s=>s.cssText)).join(""))(e)),(o=>{const{rulesStartIndex:s,originalRulesCount:n,styleSheet:l}=o;for(let i=0;i<n;i++)l.deleteRule(s)})(e),!0}return console.warn("refreshConstructedGidsStylesheet: Gids stylesheet is not found in document."),!1},ht=()=>(Me||(Me=De()),H);function He(e){var t,o,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(o=He(e[t]))&&(s&&(s+=" "),s+=o)}else for(o in e)e[o]&&(s&&(s+=" "),s+=o);return s}function pt(){for(var e,t,o=0,s="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=He(e))&&(s&&(s+=" "),s+=t);return s}const mt=Object.freeze(Object.defineProperty({__proto__:null,getGidsScrimClassNames:e=>pt("gids-scrim",e)},Symbol.toStringTag,{value:"Module"})),{getGidsScrimClassNames:Fe}=mt,We=ft(class extends Ge{constructor(e){super(),e!==!1&&this.__registerHost(),this.__attachShadow(),this.activeClasses=""}handleExtraClassesChange(e){this.activeClasses=Fe(e)}connectedCallback(){const e=ht();e!==void 0&&this._el.shadowRoot?.adoptedStyleSheets.push(e),this.activeClasses=Fe(this.extraClasses)}render(){return G("div",{key:"bb28bc59d4522f27c3637774153603462d628be0",class:this.activeClasses,part:"root"},G("slot",{key:"24becefcfa3a4842163b62a255266d71dd27d765"}))}get _el(){return this}static get watchers(){return{extraClasses:[{handleExtraClassesChange:0}]}}static get style(){return".gids-scrim{display:flex;flex-direction:column;background-color:var(--gids-color-background-scrim);height:100vh !important;position:absolute;top:0;bottom:0;left:0;right:0;z-index:1001;align-items:center;justify-content:center;backdrop-filter:blur(12)}"}},[257,"gids-scrim",{extraClasses:[513,"extra-classes"],activeClasses:[32]},void 0,{extraClasses:[{handleExtraClassesChange:0}]}]);function Ve(){typeof customElements<"u"&&["gids-scrim"].forEach((e=>{e==="gids-scrim"&&(customElements.get(e)||customElements.define(e,We))}))}Ve();const yt=We,gt=Ve;R.GidsScrim=yt,R.defineCustomElement=gt,Object.defineProperty(R,Symbol.toStringTag,{value:"Module"})}));
5
+ `);const b=this["s-cr"].parentElement;return(b.__childNodes?b.childNodes:(S=>{const g=[];for(let y=0;y<S.length;y++){const p=S[y]["s-nr"]||void 0;p&&p.isConnected&&g.push(p)}return g})(b.childNodes)).forEach((S=>{h===V(S)&&m.push(S)})),a?m.filter((S=>S.nodeType===1)):m}).bind(d);d.assignedElements=u(!0),d.assignedNodes=u(!1)})(l),c=e&&e.m&&e.m[o],c&&c.O===n.O&&e.S&&Ee(e.S)),l},Ee=e=>{_.i|=1;const t=e.closest(L.toLowerCase());if(t!=null){const o=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const n of o?s.reverse():s)n["s-sh"]!=null&&(E(t,n,o??null),n["s-sh"]=void 0,Y=!0)}_.i&=-2},J=(e,t)=>{_.i|=1;const o=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let s=e;for(;s=s.nextSibling;)s&&s["s-sn"]===e["s-sn"]&&s["s-sh"]===L&&o.push(s)}for(let s=o.length-1;s>=0;s--){const n=o[s];n["s-hn"]!==L&&n["s-ol"]&&(E(B(n).parentNode,n,B(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,Y=!0),t&&J(n,t)}_.i&=-2},je=(e,t,o,s,n,l)=>{let i,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===L&&(c=c.shadowRoot),o.O==="template"&&(c=c.content);n<=l;++n)s[n]&&(i=Z(null,o,n),i&&(s[n].S=i,E(c,i,B(t))))},xe=(e,t,o)=>{for(let s=t;s<=o;++s){const n=e[s];if(n){const l=n.S;Te(n),l&&(I=!0,l["s-ol"]?l["s-ol"].remove():J(l,!0),l.remove())}}},K=(e,t,o=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:o?(o&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),B=e=>e&&e["s-ol"]||e,D=(e,t,o=!1)=>{const s=t.S=e.S,n=e.m,l=t.m,i=t.O,c=t.h;let r;c==null?(C=i==="svg"||i!=="foreignObject"&&C,i!=="slot"||W||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Ee(t.S.parentElement)),ie(e,t,C),n!==null&&l!==null?((d,u,a,f,m=!1)=>{let h,b,S=0,g=0,y=0,p=0,O=u.length-1,v=u[0],N=u[O],k=f.length-1,$=f[0],j=f[k];const Ue=a.O==="template"?d.content:d;for(;S<=O&&g<=k;)if(v==null)v=u[++S];else if(N==null)N=u[--O];else if($==null)$=f[++g];else if(j==null)j=f[--k];else if(K(v,$,m))D(v,$,m),v=u[++S],$=f[++g];else if(K(N,j,m))D(N,j,m),N=u[--O],j=f[--k];else if(K(v,j,m))v.O!=="slot"&&j.O!=="slot"||J(v.S.parentNode,!1),D(v,j,m),E(Ue,v.S,N.S.nextSibling),v=u[++S],j=f[--k];else if(K(N,$,m))v.O!=="slot"&&j.O!=="slot"||J(N.S.parentNode,!1),D(N,$,m),E(Ue,N.S,v.S),N=u[--O],$=f[++g];else{for(y=-1,p=S;p<=O;++p)if(u[p]&&u[p].$!==null&&u[p].$===$.$){y=p;break}y>=0?(b=u[y],b.O!==$.O?h=Z(u&&u[g],a,y):(D(b,$,m),u[y]=void 0,h=b.S),$=f[++g]):(h=Z(u&&u[g],a,g),$=f[++g]),h&&E(B(v.S).parentNode,h,B(v.S))}S>O?je(d,f[k+1]==null?null:f[k+1].S,a,f,g,k):g>k&&xe(u,S,O)})(s,n,t,l,o):l!==null?(e.h!==null&&(s.textContent=""),je(s,null,t,l,0,l.length-1)):!o&&n!==null&&xe(n,0,n.length-1),C&&i==="svg"&&(C=!1)):(r=s["s-cr"])?r.parentNode.textContent=c:e.h!==c&&(s.data=c)},A=[],Ae=e=>{let t,o,s;const n=e.__childNodes||e.childNodes;for(const l of n){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){o=t.parentNode.__childNodes||t.parentNode.childNodes;const i=l["s-sn"];for(s=o.length-1;s>=0;s--)if(t=o[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===l["s-hn"]||t["s-sh"]&&t["s-sh"]===l["s-hn"]))if(Se(t,i)){let c=A.find((r=>r.k===t));I=!0,t["s-sn"]=t["s-sn"]||i,c?(c.k["s-sh"]=l["s-hn"],c.N=l):(t["s-sh"]=l["s-hn"],A.push({N:l,k:t})),t["s-sr"]&&A.map((r=>{Se(r.k,t["s-sn"])&&(c=A.find((d=>d.k===t)),c&&!r.N&&(r.N=c.N))}))}else A.some((c=>c.k===t))||A.push({k:t})}l.nodeType===1&&Ae(l)}},Te=e=>{e.v&&e.v.ref&&ce.push((()=>e.v.ref(null))),e.m&&e.m.map(Te)},nt=(e,t)=>{ae.push((()=>e(t)))},E=(e,t,o,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,o);const{slotNode:n}=(function(l,i){var c;if(!(i=i||((c=l["s-ol"])==null?void 0:c.parentElement)))return{slotNode:null,slotName:""};const r=l["s-sn"]=V(l)||"";return{slotNode:oe(ne(i,"childNodes"),i.tagName,r)[0],slotName:r}})(t);return n&&!s&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,o):e?.insertBefore(t,o)},lt=(e,t,o=!1)=>{var s,n,l,i,c;const r=e.$hostElement$,d=e.o,u=e.M||z(null,null);var a;const f=(a=t)&&a.O===Qe?t:G(null,null,t);if(L=r.tagName,d.C&&(f.v=f.v||{},d.C.forEach((([m,h])=>{f.v[h]=r[m]}))),o&&f.v)for(const m of Object.keys(f.v))r.hasAttribute(m)&&!["key","ref","style","class"].includes(m)&&(f.v[m]=r[m]);if(f.O=null,f.i|=4,e.M=f,f.S=u.S=r.shadowRoot||r,W=!(!(1&d.i)||128&d.i),le=r["s-cr"],I=!1,D(u,f,o),_.i|=1,Y){Ae(f.S);for(const m of A){const h=m.k;if(!h["s-ol"]&&w.document){const b=w.document.createTextNode("");b["s-nr"]=h,E(h.parentNode,h["s-ol"]=b,h,o)}}for(const m of A){const h=m.k,b=m.N;if(h.nodeType===1&&o&&(h["s-ih"]=(s=h.hidden)!=null&&s),b){const S=b.parentNode;let g=b.nextSibling;if(g&&g.nodeType===1){let y=(n=h["s-ol"])==null?void 0:n.previousSibling;for(;y;){let p=(l=y["s-nr"])!=null?l:null;if(p&&p["s-sn"]===h["s-sn"]&&S===(p.__parentNode||p.parentNode)){for(p=p.nextSibling;p===h||p?.["s-sr"];)p=p?.nextSibling;if(!p||!p["s-nr"]){g=p;break}}y=y.previousSibling}}if((!g&&S!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==g)&&h!==g){if(E(S,h,g,o),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const y=w.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,E(h.parentNode,y,h,o),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(i=h["s-ih"])!=null&&i)}h&&typeof b["s-rf"]=="function"&&b["s-rf"](b)}else h.nodeType===1&&(h.hidden=!0)}}if(I&&ve(f.S),_.i&=-2,A.length=0,!W&&!(1&d.i)&&r["s-cr"]){const m=f.S.__childNodes||f.S.childNodes;for(const h of m)if(h["s-hn"]!==L&&!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 b=w.document.createComment("s-nt-"+h.nodeValue);b["s-sn"]=h["s-sn"],E(h.parentNode,b,h,o),h.parentNode.removeChild(h)}}}le=void 0,ce.forEach((m=>m())),ce.length=0,ae.forEach((m=>m())),ae.length=0},Re=(e,t)=>{if(t&&!e.A&&t["s-p"]){const o=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(o-1,1),s()})))}},de=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Re(e,e.R);const o=()=>rt(e,t);if(!t)return Ze(o);queueMicrotask((()=>{o()}))},rt=(e,t)=>{const o=e.$hostElement$,s=o;if(!s)throw new Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let n;return n=U(s,t?"componentWillLoad":"componentWillUpdate",void 0,o),n=Pe(n,(()=>U(s,"componentWillRender",void 0,o))),Pe(n,(()=>ct(e,s,t)))},Pe=(e,t)=>it(e)?e.then(t).catch((o=>{console.error(o),t()})):t(),it=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",ct=async(e,t,o)=>{var s;const n=e.$hostElement$,l=n["s-rc"];o&&(i=>{const c=i.o,r=i.$hostElement$,d=c.i,u=((a,f)=>{var m,h,b;const S=be(f),g=q.get(S);if(!w.document)return S;if(a=a.nodeType===11?a:w.document,g)if(typeof g=="string"){let y,p=T.get(a=a.head||a);if(p||T.set(a,p=new Set),!p.has(S)){y=w.document.createElement("style"),y.textContent=g;const O=(m=_._)!=null?m:(function(){var v,N,k;return(k=(N=(v=w.document.head)==null?void 0:v.querySelector('meta[name="csp-nonce"]'))==null?void 0:N.getAttribute("content"))!=null?k:void 0})();if(O!=null&&y.setAttribute("nonce",O),!(1&f.i))if(a.nodeName==="HEAD"){const v=a.querySelectorAll("link[rel=preconnect]"),N=v.length>0?v[v.length-1].nextSibling:a.querySelector("style");a.insertBefore(y,N?.parentNode===a?N:null)}else if("host"in a)if(Q){const v=new((h=a.defaultView)!=null?h:a.ownerDocument.defaultView).CSSStyleSheet;v.replaceSync(g),X?a.adoptedStyleSheets.unshift(v):a.adoptedStyleSheets=[v,...a.adoptedStyleSheets]}else{const v=a.querySelector("style");v?v.textContent=g+v.textContent:a.prepend(y)}else a.append(y);1&f.i&&a.insertBefore(y,null),4&f.i&&(y.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),p&&p.add(S)}}else{let y=T.get(a);if(y||T.set(a,y=new Set),!y.has(S)){const p=(b=a.defaultView)!=null?b:a.ownerDocument.defaultView;let O;if(g.constructor===p.CSSStyleSheet)O=g;else{O=new p.CSSStyleSheet;for(let v=0;v<g.cssRules.length;v++)O.insertRule(g.cssRules[v].cssText,v)}X?a.adoptedStyleSheets.push(O):a.adoptedStyleSheets=[...a.adoptedStyleSheets,O],y.add(S)}}return S})(r.shadowRoot?r.shadowRoot:r.getRootNode(),c);10&d&&(r["s-sc"]=u,r.classList.add(u+"-h"))})(e),at(e,t,n,o),l&&(l.map((i=>i())),n["s-rc"]=void 0);{const i=(s=n["s-p"])!=null?s:[],c=()=>dt(e);i.length===0?c():(Promise.all(i).then(c).catch(c),e.i|=4,i.length=0)}},at=(e,t,o,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,lt(e,t,s)}catch(n){P(n,e.$hostElement$)}return null},dt=e=>{const t=e.$hostElement$,o=t,s=e.R;U(o,"componentDidRender",void 0,t),64&e.i?U(o,"componentDidUpdate",void 0,t):(e.i|=64,ft(t),U(o,"componentDidLoad",void 0,t),e.L(t),s||ut()),e.A&&(e.A(),e.A=void 0),512&e.i&&se((()=>de(e,!1))),e.i&=-517},ut=()=>{se((()=>tt(w,"appload",{detail:{namespace:"gids-core-web"}})))},U=(e,t,o,s)=>{if(e&&e[t])try{return e[t](o)}catch(n){P(n,s)}},ft=e=>e.classList.add("hydrated"),Le=(e,t,o,s)=>{const n=x(e);if(!n)return;const l=e,i=n.l.get(t),c=n.i,r=l;o=Oe(o,s.t[t][0],!!(64&s.i));const d=Number.isNaN(i)&&Number.isNaN(o);if(o!==i&&!d){if(n.l.set(t,o),s.F){const u=s.F[t];u&&u.map((a=>{try{const[[f,m]]=Object.entries(a);(128&c||1&m)&&(r?r[f](o,i,t):n.T.push((()=>{n.D[f](o,i,t)})))}catch(f){P(f,l)}}))}if(2&c){if(r.componentShouldUpdate&&r.componentShouldUpdate(o,i,t)===!1&&!(16&c))return;16&c||de(n,!1)}}},ht=(e,t,o)=>{var s,n;const l=e.prototype;64&t.i&&1&o&&Ge.forEach((i=>{const c=l[i];Object.defineProperty(l,i,{value(...r){var d;const u=x(this),a=this;a?typeof c=="function"&&c.call(a,...r):(d=u?.H)==null||d.then((f=>{const m=f[i];typeof m=="function"&&m.call(f,...r)}))}})}));{e.watchers&&!t.F&&(t.F=Ne(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const i=Object.entries((s=t.t)!=null?s:{});i.map((([c,[r]])=>{if(31&r||32&r){const{get:d,set:u}=M(l,c)||{};d&&(t.t[c][0]|=2048),u&&(t.t[c][0]|=4096),Object.defineProperty(l,c,{get(){return d?d.apply(this):(a=c,x(this).l.get(a));var a},configurable:!0,enumerable:!0}),Object.defineProperty(l,c,{set(a){const f=x(this);if(f){if(u)return(32&r?this[c]:f.$hostElement$[c])===void 0&&f.l.get(c)&&(a=f.l.get(c)),u.apply(this,[Oe(a,r,!!(64&t.i))]),void Le(this,c,a=32&r?this[c]:f.$hostElement$[c],t);Le(this,c,a,t)}}})}}));{const c=new Map;l.attributeChangedCallback=function(r,d,u){_.jmp((()=>{var a;const f=c.get(r),m=x(this);if(this.hasOwnProperty(f),l.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==u)return;if(f==null){const y=m?.i;if(m&&y&&!(8&y)&&u!==d){const p=this,O=(a=t.F)==null?void 0:a[r];O?.forEach((v=>{const[[N,k]]=Object.entries(v);p[N]!=null&&(128&y||1&k)&&p[N].call(p,u,d,r)}))}return}const h=i.find((([y])=>y===f)),b=h&&4&h[1][0],S=b&&u===null&&this[f]===void 0;b&&(u=u!==null&&u!=="false");const g=Object.getOwnPropertyDescriptor(l,f);S||u==this[f]||g.get&&!g.set||(this[f]=u)}))},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.F)!=null?n:{}),...i.filter((([r,d])=>31&d[0])).map((([r,d])=>{var u;const a=d[1]||r;return c.set(a,r),512&d[0]&&((u=t.C)==null||u.push([r,a])),a}))]))}}return e},pt=(e,t)=>{const o={i:t[0],p:t[1]};try{o.t=t[2],o.W=t[3],o.F=Ne(e.F),o.P=e.P,o.U=e.U,o.C=[];const s=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((l,i)=>{const c={i:0,$hostElement$:l,o:i,l:new Map,B:new Map};c.H=new Promise((d=>c.L=d)),l["s-p"]=[],l["s-rc"]=[];const r=c;l.__stencil__getHostRef=()=>r,512&i.i&&qe(l,c)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const l=x(this);if(!l)return;Me(this,l,o.W),this.__hasHostListenerAttached=!0}(l=>{if(!(1&_.i)){const i=x(l);if(!i)return;const c=i.o;if(1&i.i)Me(l,i,c.W),i?.D||i?.H&&i.H.then((()=>{}));else{i.i|=1,12&c.i&&(r=>{if(!w.document)return;const d=r["s-cr"]=w.document.createComment("");d["s-cn"]=!0,E(r,d,r.firstChild)})(l);{let r=l;for(;r=r.parentNode||r.host;)if(r["s-p"]){Re(i,i.R=r);break}}c.t&&Object.entries(c.t).map((([r,[d]])=>{if(31&d&&Object.prototype.hasOwnProperty.call(l,r)){const u=l[r];delete l[r],l[r]=u}})),(async(r,d,u)=>{let a;try{if(!(32&d.i)&&(d.i|=32,a=r.constructor,customElements.whenDefined(r.localName).then((()=>d.i|=128)),a&&a.style)){let h;typeof a.style=="string"&&(h=a.style);const b=be(u);q.has(b)||((S,g,y)=>{let p=q.get(S);Q&&y?(p=p||new CSSStyleSheet,typeof p=="string"?p=g:p.replaceSync(g)):p=g,q.set(S,p)})(b,h,!!(1&u.i))}const f=d.R,m=()=>de(d,!0);f&&f["s-rc"]?f["s-rc"].push(m):m()}catch(f){P(f,r),d.A&&(d.A(),d.A=void 0),d.L&&d.L(r)}})(l,i,c)}}})(this),s&&s.call(this)},disconnectedCallback(){(async l=>{if(!(1&_.i)){const i=x(l);i?.V&&(i.V.map((c=>c())),i.V=void 0)}T.has(l)&&T.delete(l),l.shadowRoot&&T.has(l.shadowRoot)&&T.delete(l.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${o.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Je.call(this,o)}}),Object.defineProperty(e,"is",{value:o.p,configurable:!0}),ht(e,o,3)}catch(s){return P(s),e}},Me=(e,t,o)=>{o&&w.document&&o.map((([s,n,l])=>{const i=yt(w.document,e,s),c=mt(t,l),r=gt(s);_.ael(i,n,c,r),(t.V=t.V||[]).push((()=>_.rel(i,n,c,r)))}))},mt=(e,t)=>o=>{try{e.$hostElement$[t](o)}catch(s){P(s,e.$hostElement$)}},yt=(e,t,o)=>8&o?w:t,gt=e=>Ie?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function Ot(e){return e}const H=globalThis.CSSStyleSheet!==void 0?new CSSStyleSheet:void 0;let De=!1;H&&document.adoptedStyleSheets?document.adoptedStyleSheets.push(H):console.warn("CSSStyleSheet is not defined. Omitting constructed stylesheet behaviour.");let ue=null;const fe=globalThis.MutationObserver!==void 0?new MutationObserver((()=>{He()})):void 0,He=()=>{if(H===void 0)return!1;const e=(()=>{if(H===void 0)return;const t=[];for(let o=0;o<document.styleSheets.length;o++){const s=document.styleSheets.item(o);if(s)try{let n=-1,l=0;for(let i=0;i<s.cssRules.length;i++){const c=s.cssRules.item(i);if(c?.cssText.startsWith("gids-global-styles-start"))n=i;else if(n>-1){if(c?.cssText.startsWith("gids-global-styles-end")){l=i-n+1;break}t.push(c)}}if(n>-1)return{rulesStartIndex:n,originalRulesCount:l,rules:t,styleSheet:s}}catch(n){if(!(n instanceof DOMException))throw n}}})();if(e!==void 0){const t=e.styleSheet.ownerNode;return fe!==void 0&&t!==ue&&(ue&&fe.disconnect(),t instanceof Element&&fe.observe(t,{childList:!0,characterData:!0,subtree:!0}),ue=t),H.replaceSync((o=>o.rules.map((s=>s.cssText)).join(""))(e)),(o=>{const{rulesStartIndex:s,originalRulesCount:n,styleSheet:l}=o;for(let i=0;i<n;i++)l.deleteRule(s)})(e),!0}return console.warn("refreshConstructedGidsStylesheet: Gids stylesheet is not found in document."),!1},vt=()=>(De||(De=He()),H);function Fe(e){var t,o,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(o=Fe(e[t]))&&(s&&(s+=" "),s+=o)}else for(o in e)e[o]&&(s&&(s+=" "),s+=o);return s}function St(){for(var e,t,o=0,s="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=Fe(e))&&(s&&(s+=" "),s+=t);return s}const bt=Object.freeze(Object.defineProperty({__proto__:null,getGidsScrimClassNames:e=>St("gids-scrim",e)},Symbol.toStringTag,{value:"Module"})),{getGidsScrimClassNames:Ve}=bt,We=pt(class extends ze{constructor(e){super(),e!==!1&&this.__registerHost(),this.__attachShadow(),this.activeClasses=""}handleExtraClassesChange(e){this.activeClasses=Ve(e)}connectedCallback(){const e=vt();e!==void 0&&this._el.shadowRoot?.adoptedStyleSheets.push(e),this.activeClasses=Ve(this.extraClasses)}render(){return G("div",{key:"f9bf11077e7b7141816116d1cace7a87d9dfa652",class:this.activeClasses,part:"root"},G("slot",{key:"221cacbb0a57c9c356d20988b02e7730e74b4430"}))}get _el(){return this}static get watchers(){return{extraClasses:[{handleExtraClassesChange:0}]}}static get style(){return".gids-scrim{display:flex;flex-direction:column;background-color:var(--gids-color-background-scrim);height:100vh !important;position:absolute;top:0;bottom:0;left:0;right:0;z-index:1001;align-items:center;justify-content:center;backdrop-filter:blur(12)}"}},[257,"gids-scrim",{extraClasses:[513,"extra-classes"],activeClasses:[32]},void 0,{extraClasses:[{handleExtraClassesChange:0}]}]);function Be(){typeof customElements<"u"&&["gids-scrim"].forEach((e=>{e==="gids-scrim"&&(customElements.get(e)||customElements.define(e,We))}))}Be();const wt=We,Nt=Be;R.GidsScrim=wt,R.defineCustomElement=Nt,Object.defineProperty(R,Symbol.toStringTag,{value:"Module"})}));
@@ -1,5 +1,5 @@
1
- (function(R,P){typeof exports=="object"&&typeof module<"u"?P(exports):typeof define=="function"&&define.amd?define(["exports"],P):(R=typeof globalThis<"u"?globalThis:R||self,P(R.gidsCoreWebGidsSnackbar={}))})(this,(function(R){"use strict";function P(e,t,o){const s=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==s;){const n=Object.getOwnPropertyDescriptor(e,t);if(n&&(!o||n.get))return n;e=Object.getPrototypeOf(e)}}var D,Le=(e,t)=>{var o;Object.entries((o=t.o.t)!=null?o:{}).map((([s,[n]])=>{if(31&n||32&n){const r=e[s],c=P(Object.getPrototypeOf(e),s,!0)||Object.getOwnPropertyDescriptor(e,s);c&&Object.defineProperty(e,s,{get(){return c.get.call(this)},set(i){c.set.call(this,i)},configurable:!0,enumerable:!0}),t.l.has(s)?e[s]=t.l.get(s):r!==void 0&&(e[s]=r)}}))},A=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},ae=(e,t)=>t in e,M=(e,t)=>(0,console.error)(e,t),U=new Map,ue="http://www.w3.org/1999/xlink",Pe=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],N=typeof window<"u"?window:{},Me=N.HTMLElement||class{},O={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,o,s)=>e.addEventListener(t,o,s),rel:(e,t,o,s)=>e.removeEventListener(t,o,s),ce:(e,t)=>new CustomEvent(e,t)},Y=(()=>{try{return!!N.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),Z=!!Y&&!!N.document&&Object.getOwnPropertyDescriptor(N.document.adoptedStyleSheets,"length").writable,J=!1,de=[],fe=[],He=(e,t)=>o=>{e.push(o),J||(J=!0,4&O.i?X(K):O.raf(K))},he=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(o){M(o)}e.length=0},K=()=>{he(de),he(fe),(J=de.length>0)&&O.raf(K)},X=e=>Promise.resolve(void 0).then(e),De=He(fe);function Fe(){const e=this.attachShadow({mode:"open"});D===void 0&&(D=null),D&&(Z?e.adoptedStyleSheets.push(D):e.adoptedStyleSheets=[...e.adoptedStyleSheets,D])}var pe=e=>{const t=te(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&ee(t,e.tagName).forEach((s=>{s.nodeType===1&&s.tagName==="SLOT-FB"&&(s.hidden=!!Be(s,F(s),!1).length)}));let o=0;for(o=0;o<t.length;o++){const s=t[o];s.nodeType===1&&te(s,"childNodes").length&&pe(s)}};function ee(e,t,o){let s,n=0,r=[];for(;n<e.length;n++){if(s=e[n],s["s-sr"]&&(!t||s["s-hn"]===t)&&(o===void 0||F(s)===o)&&(r.push(s),o!==void 0))return r;r=[...r,...ee(s.childNodes,t,o)]}return r}var Be=(e,t,o=!0)=>{const s=[];(o&&e["s-sr"]||!e["s-sr"])&&s.push(e);let n=e;for(;n=n.nextSibling;)F(n)!==t||!o&&n["s-sr"]||s.push(n);return s},me=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",F=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function te(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 se,L,x=new WeakMap,ye=e=>"sc-"+e.p,oe=e=>(e=typeof e)=="object"||e==="function",Ve=(e,t,...o)=>{let s=null,n=null,r=null,c=!1,i=!1;const l=[],u=a=>{for(let f=0;f<a.length;f++)s=a[f],Array.isArray(s)?u(s):s!=null&&typeof s!="boolean"&&((c=!oe(s))&&(s=String(s)),c&&i?l[l.length-1].h+=s:l.push(c?ne(null,s):s),i=c)};u(o);const d=ne(e,null);return d.v=t,l.length>0&&(d.m=l),d.$=n,d.j=r,d},ne=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),We={},ge=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let o=!1;for(const n of t){if(o)break;for(const r of e[n])if(typeof r=="string"){o=!0;break}}if(!o)return e;const s={};for(const n of t)s[n]=e[n].map((r=>typeof r=="string"?{[r]:0}:r));return s},Se=(e,t,o)=>e==null||oe(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,Ue=(e,t,o)=>{const s=O.ce(t,o);return e.dispatchEvent(s),s},be=(e,t,o,s,n,r)=>{if(o===s)return;let c=ae(e,t),i=t.toLowerCase();if(t==="class"){const l=e.classList,u=ve(o);let d=ve(s);l.remove(...u.filter((a=>a&&!d.includes(a)))),l.add(...d.filter((a=>a&&!u.includes(a))))}else if(t==="style"){for(const l in o)s&&s[l]!=null||(l.includes("-")?e.style.removeProperty(l):e.style[l]="");for(const l in s)o&&s[l]===o[l]||(l.includes("-")?e.style.setProperty(l,s[l]):e.style[l]=s[l])}else if(t!=="key"){if(t==="ref")s&&Ie(s,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const l=t.slice(5);let u;{const d=A(e);if(d&&d.o&&d.o.t){const a=d.o.t[l];a&&a[1]&&(u=a[1])}}return u||(u=l.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 l=t.slice(5);try{e[l]=s}catch{}return}{const l=oe(s);if((c||l&&s!==null)&&!n)try{if(e.tagName.includes("-"))e[t]!==s&&(e[t]=s);else{const d=s??"";t==="list"?c=!1:o!=null&&e[t]===d||(typeof e.__lookupSetter__(t)=="function"?e[t]=d:e.setAttribute(t,d))}}catch{}let u=!1;i!==(i=i.replace(/^xlink\:?/,""))&&(t=i,u=!0),s==null||s===!1?s===!1&&e.getAttribute(t)!==""||(u?e.removeAttributeNS(ue,t):e.removeAttribute(t)):(!c||4&r||n)&&!l&&e.nodeType===1&&(s=s===!0?"":s,u?e.setAttributeNS(ue,t,s):e.setAttribute(t,s))}}else if(t=t[2]==="-"?t.slice(3):ae(N,i)?i.slice(2):i[2]+t.slice(3),o||s){const l=t.endsWith(we);t=t.replace(ze,""),o&&O.rel(e,t,o,l),s&&O.ael(e,t,s,l)}}},qe=/\s/,ve=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(qe):[]),we="Capture",ze=new RegExp(we+"$"),le=(e,t,o)=>{const s=t.S.nodeType===11&&t.S.host?t.S.host:t.S,n=e&&e.v||{},r=t.v||{};for(const c of Ne(Object.keys(n)))c in r||be(s,c,n[c],void 0,o,t.i);for(const c of Ne(Object.keys(r)))be(s,c,n[c],r[c],o,t.i)};function Ne(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var B=!1,q=!1,z=!1,k=!1,re=[],ie=[],I=(e,t,o)=>{var s;const n=t.m[o];let r,c,i,l=0;if(B||(z=!0,n.O==="slot"&&(n.i|=n.m?2:1)),n.h!=null)r=n.S=N.document.createTextNode(n.h);else if(1&n.i)r=n.S=N.document.createTextNode(""),le(null,n,k);else{if(k||(k=n.O==="svg"),!N.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(r=n.S=N.document.createElementNS(k?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!B&&2&n.i?"slot-fb":n.O),k&&n.O==="foreignObject"&&(k=!1),le(null,n,k),n.m){const u=n.O==="template"?r.content:r;for(l=0;l<n.m.length;++l)c=I(e,n,l),c&&u.appendChild(c)}n.O==="svg"?k=!1:r.tagName==="foreignObject"&&(k=!0)}return r["s-hn"]=L,3&n.i&&(r["s-sr"]=!0,r["s-cr"]=se,r["s-sn"]=n.j||"",r["s-rf"]=(s=n.v)==null?void 0:s.ref,(function(u){if(u.assignedElements||u.assignedNodes||!u["s-sr"])return;const d=a=>(function(f){const m=[],h=this["s-sn"];f?.flatten&&console.error(`
1
+ (function(L,M){typeof exports=="object"&&typeof module<"u"?M(exports):typeof define=="function"&&define.amd?define(["exports"],M):(L=typeof globalThis<"u"?globalThis:L||self,M(L.gidsCoreWebGidsSnackbar={}))})(this,(function(L){"use strict";function M(e,t,o){const s=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==s;){const n=Object.getOwnPropertyDescriptor(e,t);if(n&&(!o||n.get))return n;e=Object.getPrototypeOf(e)}}var D,Pe=(e,t)=>{var o;Object.entries((o=t.o.t)!=null?o:{}).map((([s,[n]])=>{if(31&n||32&n){const l=e[s],i=M(Object.getPrototypeOf(e),s,!0)||Object.getOwnPropertyDescriptor(e,s);i&&Object.defineProperty(e,s,{get(){return i.get.call(this)},set(c){i.set.call(this,c)},configurable:!0,enumerable:!0}),t.l.has(s)?e[s]=t.l.get(s):l!==void 0&&(e[s]=l)}}))},A=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},ae=(e,t)=>t in e,R=(e,t)=>(0,console.error)(e,t),q=new Map,ue="http://www.w3.org/1999/xlink",Me=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],w=typeof window<"u"?window:{},He=w.HTMLElement||class{},O={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,o,s)=>e.addEventListener(t,o,s),rel:(e,t,o,s)=>e.removeEventListener(t,o,s),ce:(e,t)=>new CustomEvent(e,t)},De=(()=>{var e;let t=!1;try{(e=w.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),Y=(()=>{try{return!!w.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),Z=!!Y&&!!w.document&&Object.getOwnPropertyDescriptor(w.document.adoptedStyleSheets,"length").writable,J=!1,de=[],fe=[],Fe=(e,t)=>o=>{e.push(o),J||(J=!0,4&O.i?X(K):O.raf(K))},he=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(o){R(o)}e.length=0},K=()=>{he(de),he(fe),(J=de.length>0)&&O.raf(K)},X=e=>Promise.resolve(void 0).then(e),Ve=Fe(fe);function Be(){const e=this.attachShadow({mode:"open"});D===void 0&&(D=null),D&&(Z?e.adoptedStyleSheets.push(D):e.adoptedStyleSheets=[...e.adoptedStyleSheets,D])}var pe=e=>{const t=te(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&ee(t,e.tagName).forEach((s=>{s.nodeType===1&&s.tagName==="SLOT-FB"&&(s.hidden=!!We(s,F(s),!1).length)}));let o=0;for(o=0;o<t.length;o++){const s=t[o];s.nodeType===1&&te(s,"childNodes").length&&pe(s)}};function ee(e,t,o){let s,n=0,l=[];for(;n<e.length;n++){if(s=e[n],s["s-sr"]&&(!t||s["s-hn"]===t)&&(o===void 0||F(s)===o)&&(l.push(s),o!==void 0))return l;l=[...l,...ee(s.childNodes,t,o)]}return l}var We=(e,t,o=!0)=>{const s=[];(o&&e["s-sr"]||!e["s-sr"])&&s.push(e);let n=e;for(;n=n.nextSibling;)F(n)!==t||!o&&n["s-sr"]||s.push(n);return s},me=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",F=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function te(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 se,P,x=new WeakMap,ye=e=>"sc-"+e.p,oe=e=>(e=typeof e)=="object"||e==="function",qe=(e,t,...o)=>{let s=null,n=null,l=null,i=!1,c=!1;const r=[],u=a=>{for(let f=0;f<a.length;f++)s=a[f],Array.isArray(s)?u(s):s!=null&&typeof s!="boolean"&&((i=!oe(s))&&(s=String(s)),i&&c?r[r.length-1].h+=s:r.push(i?ne(null,s):s),c=i)};u(o);const d=ne(e,null);return d.v=t,r.length>0&&(d.m=r),d.$=n,d.j=l,d},ne=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),Ue={},ge=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let o=!1;for(const n of t){if(o)break;for(const l of e[n])if(typeof l=="string"){o=!0;break}}if(!o)return e;const s={};for(const n of t)s[n]=e[n].map((l=>typeof l=="string"?{[l]:0}:l));return s},Se=(e,t,o)=>e==null||oe(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,ze=(e,t,o)=>{const s=O.ce(t,o);return e.dispatchEvent(s),s},be=(e,t,o,s,n,l)=>{if(o===s)return;let i=ae(e,t),c=t.toLowerCase();if(t==="class"){const r=e.classList,u=ve(o);let d=ve(s);r.remove(...u.filter((a=>a&&!d.includes(a)))),r.add(...d.filter((a=>a&&!u.includes(a))))}else if(t==="style"){for(const r in o)s&&s[r]!=null||(r.includes("-")?e.style.removeProperty(r):e.style[r]="");for(const r in s)o&&s[r]===o[r]||(r.includes("-")?e.style.setProperty(r,s[r]):e.style[r]=s[r])}else if(t!=="key"){if(t==="ref")s&&Ge(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 d=A(e);if(d&&d.o&&d.o.t){const a=d.o.t[r];a&&a[1]&&(u=a[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=oe(s);if((i||r&&s!==null)&&!n)try{if(e.tagName.includes("-"))e[t]!==s&&(e[t]=s);else{const d=s??"";t==="list"?i=!1:o!=null&&e[t]===d||(typeof e.__lookupSetter__(t)=="function"?e[t]=d:e.setAttribute(t,d))}}catch{}let u=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,u=!0),s==null||s===!1?s===!1&&e.getAttribute(t)!==""||(u?e.removeAttributeNS(ue,t):e.removeAttribute(t)):(!i||4&l||n)&&!r&&e.nodeType===1&&(s=s===!0?"":s,u?e.setAttributeNS(ue,t,s):e.setAttribute(t,s))}}else if(t=t[2]==="-"?t.slice(3):ae(w,c)?c.slice(2):c[2]+t.slice(3),o||s){const r=t.endsWith(we);t=t.replace(Qe,""),o&&O.rel(e,t,o,r),s&&O.ael(e,t,s,r)}}},Ie=/\s/,ve=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(Ie):[]),we="Capture",Qe=new RegExp(we+"$"),le=(e,t,o)=>{const s=t.S.nodeType===11&&t.S.host?t.S.host:t.S,n=e&&e.v||{},l=t.v||{};for(const i of Ne(Object.keys(n)))i in l||be(s,i,n[i],void 0,o,t.i);for(const i of Ne(Object.keys(l)))be(s,i,n[i],l[i],o,t.i)};function Ne(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var V=!1,U=!1,z=!1,k=!1,re=[],ie=[],I=(e,t,o)=>{var s;const n=t.m[o];let l,i,c,r=0;if(V||(z=!0,n.O==="slot"&&(n.i|=n.m?2:1)),n.h!=null)l=n.S=w.document.createTextNode(n.h);else if(1&n.i)l=n.S=w.document.createTextNode(""),le(null,n,k);else{if(k||(k=n.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=n.S=w.document.createElementNS(k?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!V&&2&n.i?"slot-fb":n.O),k&&n.O==="foreignObject"&&(k=!1),le(null,n,k),n.m){const u=n.O==="template"?l.content:l;for(r=0;r<n.m.length;++r)i=I(e,n,r),i&&u.appendChild(i)}n.O==="svg"?k=!1:l.tagName==="foreignObject"&&(k=!0)}return l["s-hn"]=P,3&n.i&&(l["s-sr"]=!0,l["s-cr"]=se,l["s-sn"]=n.j||"",l["s-rf"]=(s=n.v)==null?void 0:s.ref,(function(u){if(u.assignedElements||u.assignedNodes||!u["s-sr"])return;const d=a=>(function(f){const m=[],h=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 g=[];for(let y=0;y<b.length;y++){const p=b[y]["s-nr"]||void 0;p&&p.isConnected&&g.push(p)}return g})(v.childNodes)).forEach((b=>{h===F(b)&&m.push(b)})),a?m.filter((b=>b.nodeType===1)):m}).bind(u);u.assignedElements=d(!0),u.assignedNodes=d(!1)})(r),i=e&&e.m&&e.m[o],i&&i.O===n.O&&e.S&&_e(e.S)),r},_e=e=>{O.i|=1;const t=e.closest(L.toLowerCase());if(t!=null){const o=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const n of o?s.reverse():s)n["s-sh"]!=null&&(j(t,n,o??null),n["s-sh"]=void 0,z=!0)}O.i&=-2},Q=(e,t)=>{O.i|=1;const o=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let s=e;for(;s=s.nextSibling;)s&&s["s-sn"]===e["s-sn"]&&s["s-sh"]===L&&o.push(s)}for(let s=o.length-1;s>=0;s--){const n=o[s];n["s-hn"]!==L&&n["s-ol"]&&(j(V(n).parentNode,n,V(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,z=!0),t&&Q(n,t)}O.i&=-2},Oe=(e,t,o,s,n,r)=>{let c,i=e["s-cr"]&&e["s-cr"].parentNode||e;for(i.shadowRoot&&i.tagName===L&&(i=i.shadowRoot),o.O==="template"&&(i=i.content);n<=r;++n)s[n]&&(c=I(null,o,n),c&&(s[n].S=c,j(i,c,V(t))))},ke=(e,t,o)=>{for(let s=t;s<=o;++s){const n=e[s];if(n){const r=n.S;Ee(n),r&&(q=!0,r["s-ol"]?r["s-ol"].remove():Q(r,!0),r.remove())}}},G=(e,t,o=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:o?(o&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),V=e=>e&&e["s-ol"]||e,H=(e,t,o=!1)=>{const s=t.S=e.S,n=e.m,r=t.m,c=t.O,i=t.h;let l;i==null?(k=c==="svg"||c!=="foreignObject"&&k,c!=="slot"||B||e.j!==t.j&&(t.S["s-sn"]=t.j||"",_e(t.S.parentElement)),le(e,t,k),n!==null&&r!==null?((u,d,a,f,m=!1)=>{let h,v,b=0,g=0,y=0,p=0,_=d.length-1,S=d[0],w=d[_],C=f.length-1,E=f[0],$=f[C];const Re=a.O==="template"?u.content:u;for(;b<=_&&g<=C;)if(S==null)S=d[++b];else if(w==null)w=d[--_];else if(E==null)E=f[++g];else if($==null)$=f[--C];else if(G(S,E,m))H(S,E,m),S=d[++b],E=f[++g];else if(G(w,$,m))H(w,$,m),w=d[--_],$=f[--C];else if(G(S,$,m))S.O!=="slot"&&$.O!=="slot"||Q(S.S.parentNode,!1),H(S,$,m),j(Re,S.S,w.S.nextSibling),S=d[++b],$=f[--C];else if(G(w,E,m))S.O!=="slot"&&$.O!=="slot"||Q(w.S.parentNode,!1),H(w,E,m),j(Re,w.S,S.S),w=d[--_],E=f[++g];else{for(y=-1,p=b;p<=_;++p)if(d[p]&&d[p].$!==null&&d[p].$===E.$){y=p;break}y>=0?(v=d[y],v.O!==E.O?h=I(d&&d[g],a,y):(H(v,E,m),d[y]=void 0,h=v.S),E=f[++g]):(h=I(d&&d[g],a,g),E=f[++g]),h&&j(V(S.S).parentNode,h,V(S.S))}b>_?Oe(u,f[C+1]==null?null:f[C+1].S,a,f,g,C):g>C&&ke(d,b,_)})(s,n,t,r,o):r!==null?(e.h!==null&&(s.textContent=""),Oe(s,null,t,r,0,r.length-1)):!o&&n!==null&&ke(n,0,n.length-1),k&&c==="svg"&&(k=!1)):(l=s["s-cr"])?l.parentNode.textContent=i:e.h!==i&&(s.data=i)},T=[],Ce=e=>{let t,o,s;const n=e.__childNodes||e.childNodes;for(const r of n){if(r["s-sr"]&&(t=r["s-cr"])&&t.parentNode){o=t.parentNode.__childNodes||t.parentNode.childNodes;const c=r["s-sn"];for(s=o.length-1;s>=0;s--)if(t=o[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===r["s-hn"]||t["s-sh"]&&t["s-sh"]===r["s-hn"]))if(me(t,c)){let i=T.find((l=>l.k===t));q=!0,t["s-sn"]=t["s-sn"]||c,i?(i.k["s-sh"]=r["s-hn"],i.N=r):(t["s-sh"]=r["s-hn"],T.push({N:r,k:t})),t["s-sr"]&&T.map((l=>{me(l.k,t["s-sn"])&&(i=T.find((u=>u.k===t)),i&&!l.N&&(l.N=i.N))}))}else T.some((i=>i.k===t))||T.push({k:t})}r.nodeType===1&&Ce(r)}},Ee=e=>{e.v&&e.v.ref&&re.push((()=>e.v.ref(null))),e.m&&e.m.map(Ee)},Ie=(e,t)=>{ie.push((()=>e(t)))},j=(e,t,o,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,o);const{slotNode:n}=(function(r,c){var i;if(!(c=c||((i=r["s-ol"])==null?void 0:i.parentElement)))return{slotNode:null,slotName:""};const l=r["s-sn"]=F(r)||"";return{slotNode:ee(te(c,"childNodes"),c.tagName,l)[0],slotName:l}})(t);return n&&!s&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,o):e?.insertBefore(t,o)},Qe=(e,t,o=!1)=>{var s,n,r,c,i;const l=e.$hostElement$,u=e.o,d=e.M||ne(null,null);var a;const f=(a=t)&&a.O===We?t:Ve(null,null,t);if(L=l.tagName,u.C&&(f.v=f.v||{},u.C.forEach((([m,h])=>{f.v[h]=l[m]}))),o&&f.v)for(const m of Object.keys(f.v))l.hasAttribute(m)&&!["key","ref","style","class"].includes(m)&&(f.v[m]=l[m]);if(f.O=null,f.i|=4,e.M=f,f.S=d.S=l.shadowRoot||l,B=!(!(1&u.i)||128&u.i),se=l["s-cr"],q=!1,H(d,f,o),O.i|=1,z){Ce(f.S);for(const m of T){const h=m.k;if(!h["s-ol"]&&N.document){const v=N.document.createTextNode("");v["s-nr"]=h,j(h.parentNode,h["s-ol"]=v,h,o)}}for(const m of T){const h=m.k,v=m.N;if(h.nodeType===1&&o&&(h["s-ih"]=(s=h.hidden)!=null&&s),v){const b=v.parentNode;let g=v.nextSibling;if(g&&g.nodeType===1){let y=(n=h["s-ol"])==null?void 0:n.previousSibling;for(;y;){let p=(r=y["s-nr"])!=null?r:null;if(p&&p["s-sn"]===h["s-sn"]&&b===(p.__parentNode||p.parentNode)){for(p=p.nextSibling;p===h||p?.["s-sr"];)p=p?.nextSibling;if(!p||!p["s-nr"]){g=p;break}}y=y.previousSibling}}if((!g&&b!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==g)&&h!==g){if(j(b,h,g,o),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const y=N.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,j(h.parentNode,y,h,o),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(c=h["s-ih"])!=null&&c)}h&&typeof v["s-rf"]=="function"&&v["s-rf"](v)}else h.nodeType===1&&(h.hidden=!0)}}if(q&&pe(f.S),O.i&=-2,T.length=0,!B&&!(1&u.i)&&l["s-cr"]){const m=f.S.__childNodes||f.S.childNodes;for(const h of m)if(h["s-hn"]!==L&&!h["s-sh"]){if(o&&h["s-ih"]==null&&(h["s-ih"]=(i=h.hidden)!=null&&i),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const v=N.document.createComment("s-nt-"+h.nodeValue);v["s-sn"]=h["s-sn"],j(h.parentNode,v,h,o),h.parentNode.removeChild(h)}}}se=void 0,re.forEach((m=>m())),re.length=0,ie.forEach((m=>m())),ie.length=0},je=(e,t)=>{if(t&&!e.A&&t["s-p"]){const o=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(o-1,1),s()})))}},ce=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);je(e,e.R);const o=()=>Ge(e,t);if(!t)return De(o);queueMicrotask((()=>{o()}))},Ge=(e,t)=>{const o=e.$hostElement$,s=o;if(!s)throw new Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let n;return n=W(s,t?"componentWillLoad":"componentWillUpdate",void 0,o),n=$e(n,(()=>W(s,"componentWillRender",void 0,o))),$e(n,(()=>Ze(e,s,t)))},$e=(e,t)=>Ye(e)?e.then(t).catch((o=>{console.error(o),t()})):t(),Ye=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Ze=async(e,t,o)=>{var s;const n=e.$hostElement$,r=n["s-rc"];o&&(c=>{const i=c.o,l=c.$hostElement$,u=i.i,d=((a,f)=>{var m,h,v;const b=ye(f),g=U.get(b);if(!N.document)return b;if(a=a.nodeType===11?a:N.document,g)if(typeof g=="string"){let y,p=x.get(a=a.head||a);if(p||x.set(a,p=new Set),!p.has(b)){y=N.document.createElement("style"),y.textContent=g;const _=(m=O._)!=null?m:(function(){var S,w,C;return(C=(w=(S=N.document.head)==null?void 0:S.querySelector('meta[name="csp-nonce"]'))==null?void 0:w.getAttribute("content"))!=null?C:void 0})();if(_!=null&&y.setAttribute("nonce",_),!(1&f.i))if(a.nodeName==="HEAD"){const S=a.querySelectorAll("link[rel=preconnect]"),w=S.length>0?S[S.length-1].nextSibling:a.querySelector("style");a.insertBefore(y,w?.parentNode===a?w:null)}else if("host"in a)if(Y){const S=new((h=a.defaultView)!=null?h:a.ownerDocument.defaultView).CSSStyleSheet;S.replaceSync(g),Z?a.adoptedStyleSheets.unshift(S):a.adoptedStyleSheets=[S,...a.adoptedStyleSheets]}else{const S=a.querySelector("style");S?S.textContent=g+S.textContent:a.prepend(y)}else a.append(y);1&f.i&&a.insertBefore(y,null),4&f.i&&(y.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),p&&p.add(b)}}else{let y=x.get(a);if(y||x.set(a,y=new Set),!y.has(b)){const p=(v=a.defaultView)!=null?v:a.ownerDocument.defaultView;let _;if(g.constructor===p.CSSStyleSheet)_=g;else{_=new p.CSSStyleSheet;for(let S=0;S<g.cssRules.length;S++)_.insertRule(g.cssRules[S].cssText,S)}Z?a.adoptedStyleSheets.push(_):a.adoptedStyleSheets=[...a.adoptedStyleSheets,_],y.add(b)}}return b})(l.shadowRoot?l.shadowRoot:l.getRootNode(),i);10&u&&(l["s-sc"]=d,l.classList.add(d+"-h"))})(e),Je(e,t,n,o),r&&(r.map((c=>c())),n["s-rc"]=void 0);{const c=(s=n["s-p"])!=null?s:[],i=()=>Ke(e);c.length===0?i():(Promise.all(c).then(i).catch(i),e.i|=4,c.length=0)}},Je=(e,t,o,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,Qe(e,t,s)}catch(n){M(n,e.$hostElement$)}return null},Ke=e=>{const t=e.$hostElement$,o=t,s=e.R;W(o,"componentDidRender",void 0,t),64&e.i?W(o,"componentDidUpdate",void 0,t):(e.i|=64,et(t),W(o,"componentDidLoad",void 0,t),e.L(t),s||Xe()),e.A&&(e.A(),e.A=void 0),512&e.i&&X((()=>ce(e,!1))),e.i&=-517},Xe=()=>{X((()=>Ue(N,"appload",{detail:{namespace:"gids-core-web"}})))},W=(e,t,o,s)=>{if(e&&e[t])try{return e[t](o)}catch(n){M(n,s)}},et=e=>e.classList.add("hydrated"),Ae=(e,t,o,s)=>{const n=A(e);if(!n)return;const r=e,c=n.l.get(t),i=n.i,l=r;o=Se(o,s.t[t][0],!!(64&s.i));const u=Number.isNaN(c)&&Number.isNaN(o);if(o!==c&&!u){if(n.l.set(t,o),s.F){const d=s.F[t];d&&d.map((a=>{try{const[[f,m]]=Object.entries(a);(128&i||1&m)&&(l?l[f](o,c,t):n.T.push((()=>{n.D[f](o,c,t)})))}catch(f){M(f,r)}}))}if(2&i){if(l.componentShouldUpdate&&l.componentShouldUpdate(o,c,t)===!1&&!(16&i))return;16&i||ce(n,!1)}}},tt=(e,t,o)=>{var s,n;const r=e.prototype;64&t.i&&1&o&&Pe.forEach((c=>{const i=r[c];Object.defineProperty(r,c,{value(...l){var u;const d=A(this),a=this;a?typeof i=="function"&&i.call(a,...l):(u=d?.H)==null||u.then((f=>{const m=f[c];typeof m=="function"&&m.call(f,...l)}))}})}));{e.watchers&&!t.F&&(t.F=ge(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const c=Object.entries((s=t.t)!=null?s:{});c.map((([i,[l]])=>{if(31&l||32&l){const{get:u,set:d}=P(r,i)||{};u&&(t.t[i][0]|=2048),d&&(t.t[i][0]|=4096),Object.defineProperty(r,i,{get(){return u?u.apply(this):(a=i,A(this).l.get(a));var a},configurable:!0,enumerable:!0}),Object.defineProperty(r,i,{set(a){const f=A(this);if(f){if(d)return(32&l?this[i]:f.$hostElement$[i])===void 0&&f.l.get(i)&&(a=f.l.get(i)),d.apply(this,[Se(a,l,!!(64&t.i))]),void Ae(this,i,a=32&l?this[i]:f.$hostElement$[i],t);Ae(this,i,a,t)}}})}}));{const i=new Map;r.attributeChangedCallback=function(l,u,d){O.jmp((()=>{var a;const f=i.get(l),m=A(this);if(this.hasOwnProperty(f),r.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==d)return;if(f==null){const y=m?.i;if(m&&y&&!(8&y)&&d!==u){const p=this,_=(a=t.F)==null?void 0:a[l];_?.forEach((S=>{const[[w,C]]=Object.entries(S);p[w]!=null&&(128&y||1&C)&&p[w].call(p,d,u,l)}))}return}const h=c.find((([y])=>y===f)),v=h&&4&h[1][0],b=v&&d===null&&this[f]===void 0;v&&(d=d!==null&&d!=="false");const g=Object.getOwnPropertyDescriptor(r,f);b||d==this[f]||g.get&&!g.set||(this[f]=d)}))},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.F)!=null?n:{}),...c.filter((([l,u])=>31&u[0])).map((([l,u])=>{var d;const a=u[1]||l;return i.set(a,l),512&u[0]&&((d=t.C)==null||d.push([l,a])),a}))]))}}return e},st=(e,t)=>{const o={i:t[0],p:t[1]};try{o.t=t[2],o.F=ge(e.F),o.P=e.P,o.U=e.U,o.C=[];const s=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((r,c)=>{const i={i:0,$hostElement$:r,o:c,l:new Map,W:new Map};i.H=new Promise((u=>i.L=u)),r["s-p"]=[],r["s-rc"]=[];const l=i;r.__stencil__getHostRef=()=>l,512&c.i&&Le(r,i)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){if(!A(this))return;this.__hasHostListenerAttached=!0}(r=>{if(!(1&O.i)){const c=A(r);if(!c)return;const i=c.o;if(1&c.i)c?.D||c?.H&&c.H.then((()=>{}));else{c.i|=1,12&i.i&&(l=>{if(!N.document)return;const u=l["s-cr"]=N.document.createComment("");u["s-cn"]=!0,j(l,u,l.firstChild)})(r);{let l=r;for(;l=l.parentNode||l.host;)if(l["s-p"]){je(c,c.R=l);break}}i.t&&Object.entries(i.t).map((([l,[u]])=>{if(31&u&&Object.prototype.hasOwnProperty.call(r,l)){const d=r[l];delete r[l],r[l]=d}})),(async(l,u,d)=>{let a;try{if(!(32&u.i)&&(u.i|=32,a=l.constructor,customElements.whenDefined(l.localName).then((()=>u.i|=128)),a&&a.style)){let h;typeof a.style=="string"&&(h=a.style);const v=ye(d);U.has(v)||((b,g,y)=>{let p=U.get(b);Y&&y?(p=p||new CSSStyleSheet,typeof p=="string"?p=g:p.replaceSync(g)):p=g,U.set(b,p)})(v,h,!!(1&d.i))}const f=u.R,m=()=>ce(u,!0);f&&f["s-rc"]?f["s-rc"].push(m):m()}catch(f){M(f,l),u.A&&(u.A(),u.A=void 0),u.L&&u.L(l)}})(r,c,i)}}})(this),s&&s.call(this)},disconnectedCallback(){(async r=>{1&O.i||A(r),x.has(r)&&x.delete(r),r.shadowRoot&&x.has(r.shadowRoot)&&x.delete(r.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${o.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Fe.call(this,o)}}),Object.defineProperty(e,"is",{value:o.p,configurable:!0}),tt(e,o,3)}catch(s){return M(s),e}};function rt(e){return e}const ot=e=>e===null?null:e?.parentElement?.closest("gids-overlay-provider")||null,Te=st(class extends Me{constructor(e){super(),e!==!1&&this.__registerHost(),this.__attachShadow(),this.appearance="default",this.show=!1,this.position="bottom-center"}async showSnackbar(){const e=ot(this._el);e&&this.show&&e.queueComponent({message:this.message,appearance:this.appearance,buttonLabel:this.buttonLabel,onButtonClick:this.onButtonClick,position:this.position,componentName:"snackbar",timerInMs:this.timerInMs}),this.onQueueSnackbar&&this.onQueueSnackbar(),this.show=!1}render(){return null}get _el(){return this}static get watchers(){return{show:[{showSnackbar:0}]}}},[1,"gids-snackbar",{message:[513],appearance:[513],show:[516],onQueueSnackbar:[16],buttonLabel:[513,"button-label"],position:[513],timerInMs:[514,"timer-in-ms"],onButtonClick:[16]},void 0,{show:[{showSnackbar:0}]}]);function xe(){typeof customElements<"u"&&["gids-snackbar"].forEach((e=>{e==="gids-snackbar"&&(customElements.get(e)||customElements.define(e,Te))}))}xe();const nt=Te,lt=xe;R.GidsSnackbar=nt,R.defineCustomElement=lt,Object.defineProperty(R,Symbol.toStringTag,{value:"Module"})}));
5
+ `);const v=this["s-cr"].parentElement;return(v.__childNodes?v.childNodes:(b=>{const g=[];for(let y=0;y<b.length;y++){const p=b[y]["s-nr"]||void 0;p&&p.isConnected&&g.push(p)}return g})(v.childNodes)).forEach((b=>{h===F(b)&&m.push(b)})),a?m.filter((b=>b.nodeType===1)):m}).bind(u);u.assignedElements=d(!0),u.assignedNodes=d(!1)})(l),c=e&&e.m&&e.m[o],c&&c.O===n.O&&e.S&&_e(e.S)),l},_e=e=>{O.i|=1;const t=e.closest(P.toLowerCase());if(t!=null){const o=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const n of o?s.reverse():s)n["s-sh"]!=null&&($(t,n,o??null),n["s-sh"]=void 0,z=!0)}O.i&=-2},Q=(e,t)=>{O.i|=1;const o=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let s=e;for(;s=s.nextSibling;)s&&s["s-sn"]===e["s-sn"]&&s["s-sh"]===P&&o.push(s)}for(let s=o.length-1;s>=0;s--){const n=o[s];n["s-hn"]!==P&&n["s-ol"]&&($(B(n).parentNode,n,B(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,z=!0),t&&Q(n,t)}O.i&=-2},Oe=(e,t,o,s,n,l)=>{let i,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===P&&(c=c.shadowRoot),o.O==="template"&&(c=c.content);n<=l;++n)s[n]&&(i=I(null,o,n),i&&(s[n].S=i,$(c,i,B(t))))},ke=(e,t,o)=>{for(let s=t;s<=o;++s){const n=e[s];if(n){const l=n.S;Ce(n),l&&(U=!0,l["s-ol"]?l["s-ol"].remove():Q(l,!0),l.remove())}}},G=(e,t,o=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:o?(o&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),B=e=>e&&e["s-ol"]||e,H=(e,t,o=!1)=>{const s=t.S=e.S,n=e.m,l=t.m,i=t.O,c=t.h;let r;c==null?(k=i==="svg"||i!=="foreignObject"&&k,i!=="slot"||V||e.j!==t.j&&(t.S["s-sn"]=t.j||"",_e(t.S.parentElement)),le(e,t,k),n!==null&&l!==null?((u,d,a,f,m=!1)=>{let h,v,b=0,g=0,y=0,p=0,_=d.length-1,S=d[0],N=d[_],E=f.length-1,C=f[0],j=f[E];const Re=a.O==="template"?u.content:u;for(;b<=_&&g<=E;)if(S==null)S=d[++b];else if(N==null)N=d[--_];else if(C==null)C=f[++g];else if(j==null)j=f[--E];else if(G(S,C,m))H(S,C,m),S=d[++b],C=f[++g];else if(G(N,j,m))H(N,j,m),N=d[--_],j=f[--E];else if(G(S,j,m))S.O!=="slot"&&j.O!=="slot"||Q(S.S.parentNode,!1),H(S,j,m),$(Re,S.S,N.S.nextSibling),S=d[++b],j=f[--E];else if(G(N,C,m))S.O!=="slot"&&j.O!=="slot"||Q(N.S.parentNode,!1),H(N,C,m),$(Re,N.S,S.S),N=d[--_],C=f[++g];else{for(y=-1,p=b;p<=_;++p)if(d[p]&&d[p].$!==null&&d[p].$===C.$){y=p;break}y>=0?(v=d[y],v.O!==C.O?h=I(d&&d[g],a,y):(H(v,C,m),d[y]=void 0,h=v.S),C=f[++g]):(h=I(d&&d[g],a,g),C=f[++g]),h&&$(B(S.S).parentNode,h,B(S.S))}b>_?Oe(u,f[E+1]==null?null:f[E+1].S,a,f,g,E):g>E&&ke(d,b,_)})(s,n,t,l,o):l!==null?(e.h!==null&&(s.textContent=""),Oe(s,null,t,l,0,l.length-1)):!o&&n!==null&&ke(n,0,n.length-1),k&&i==="svg"&&(k=!1)):(r=s["s-cr"])?r.parentNode.textContent=c:e.h!==c&&(s.data=c)},T=[],Ee=e=>{let t,o,s;const n=e.__childNodes||e.childNodes;for(const l of n){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){o=t.parentNode.__childNodes||t.parentNode.childNodes;const i=l["s-sn"];for(s=o.length-1;s>=0;s--)if(t=o[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===l["s-hn"]||t["s-sh"]&&t["s-sh"]===l["s-hn"]))if(me(t,i)){let c=T.find((r=>r.k===t));U=!0,t["s-sn"]=t["s-sn"]||i,c?(c.k["s-sh"]=l["s-hn"],c.N=l):(t["s-sh"]=l["s-hn"],T.push({N:l,k:t})),t["s-sr"]&&T.map((r=>{me(r.k,t["s-sn"])&&(c=T.find((u=>u.k===t)),c&&!r.N&&(r.N=c.N))}))}else T.some((c=>c.k===t))||T.push({k:t})}l.nodeType===1&&Ee(l)}},Ce=e=>{e.v&&e.v.ref&&re.push((()=>e.v.ref(null))),e.m&&e.m.map(Ce)},Ge=(e,t)=>{ie.push((()=>e(t)))},$=(e,t,o,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,o);const{slotNode:n}=(function(l,i){var c;if(!(i=i||((c=l["s-ol"])==null?void 0:c.parentElement)))return{slotNode:null,slotName:""};const r=l["s-sn"]=F(l)||"";return{slotNode:ee(te(i,"childNodes"),i.tagName,r)[0],slotName:r}})(t);return n&&!s&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,o):e?.insertBefore(t,o)},Ye=(e,t,o=!1)=>{var s,n,l,i,c;const r=e.$hostElement$,u=e.o,d=e.M||ne(null,null);var a;const f=(a=t)&&a.O===Ue?t:qe(null,null,t);if(P=r.tagName,u.C&&(f.v=f.v||{},u.C.forEach((([m,h])=>{f.v[h]=r[m]}))),o&&f.v)for(const m of Object.keys(f.v))r.hasAttribute(m)&&!["key","ref","style","class"].includes(m)&&(f.v[m]=r[m]);if(f.O=null,f.i|=4,e.M=f,f.S=d.S=r.shadowRoot||r,V=!(!(1&u.i)||128&u.i),se=r["s-cr"],U=!1,H(d,f,o),O.i|=1,z){Ee(f.S);for(const m of T){const h=m.k;if(!h["s-ol"]&&w.document){const v=w.document.createTextNode("");v["s-nr"]=h,$(h.parentNode,h["s-ol"]=v,h,o)}}for(const m of T){const h=m.k,v=m.N;if(h.nodeType===1&&o&&(h["s-ih"]=(s=h.hidden)!=null&&s),v){const b=v.parentNode;let g=v.nextSibling;if(g&&g.nodeType===1){let y=(n=h["s-ol"])==null?void 0:n.previousSibling;for(;y;){let p=(l=y["s-nr"])!=null?l:null;if(p&&p["s-sn"]===h["s-sn"]&&b===(p.__parentNode||p.parentNode)){for(p=p.nextSibling;p===h||p?.["s-sr"];)p=p?.nextSibling;if(!p||!p["s-nr"]){g=p;break}}y=y.previousSibling}}if((!g&&b!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==g)&&h!==g){if($(b,h,g,o),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const y=w.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=(i=h["s-ih"])!=null&&i)}h&&typeof v["s-rf"]=="function"&&v["s-rf"](v)}else h.nodeType===1&&(h.hidden=!0)}}if(U&&pe(f.S),O.i&=-2,T.length=0,!V&&!(1&u.i)&&r["s-cr"]){const m=f.S.__childNodes||f.S.childNodes;for(const h of m)if(h["s-hn"]!==P&&!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=w.document.createComment("s-nt-"+h.nodeValue);v["s-sn"]=h["s-sn"],$(h.parentNode,v,h,o),h.parentNode.removeChild(h)}}}se=void 0,re.forEach((m=>m())),re.length=0,ie.forEach((m=>m())),ie.length=0},$e=(e,t)=>{if(t&&!e.A&&t["s-p"]){const o=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(o-1,1),s()})))}},ce=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);$e(e,e.R);const o=()=>Ze(e,t);if(!t)return Ve(o);queueMicrotask((()=>{o()}))},Ze=(e,t)=>{const o=e.$hostElement$,s=o;if(!s)throw new Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let n;return n=W(s,t?"componentWillLoad":"componentWillUpdate",void 0,o),n=je(n,(()=>W(s,"componentWillRender",void 0,o))),je(n,(()=>Ke(e,s,t)))},je=(e,t)=>Je(e)?e.then(t).catch((o=>{console.error(o),t()})):t(),Je=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Ke=async(e,t,o)=>{var s;const n=e.$hostElement$,l=n["s-rc"];o&&(i=>{const c=i.o,r=i.$hostElement$,u=c.i,d=((a,f)=>{var m,h,v;const b=ye(f),g=q.get(b);if(!w.document)return b;if(a=a.nodeType===11?a:w.document,g)if(typeof g=="string"){let y,p=x.get(a=a.head||a);if(p||x.set(a,p=new Set),!p.has(b)){y=w.document.createElement("style"),y.textContent=g;const _=(m=O._)!=null?m:(function(){var S,N,E;return(E=(N=(S=w.document.head)==null?void 0:S.querySelector('meta[name="csp-nonce"]'))==null?void 0:N.getAttribute("content"))!=null?E:void 0})();if(_!=null&&y.setAttribute("nonce",_),!(1&f.i))if(a.nodeName==="HEAD"){const S=a.querySelectorAll("link[rel=preconnect]"),N=S.length>0?S[S.length-1].nextSibling:a.querySelector("style");a.insertBefore(y,N?.parentNode===a?N:null)}else if("host"in a)if(Y){const S=new((h=a.defaultView)!=null?h:a.ownerDocument.defaultView).CSSStyleSheet;S.replaceSync(g),Z?a.adoptedStyleSheets.unshift(S):a.adoptedStyleSheets=[S,...a.adoptedStyleSheets]}else{const S=a.querySelector("style");S?S.textContent=g+S.textContent:a.prepend(y)}else a.append(y);1&f.i&&a.insertBefore(y,null),4&f.i&&(y.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),p&&p.add(b)}}else{let y=x.get(a);if(y||x.set(a,y=new Set),!y.has(b)){const p=(v=a.defaultView)!=null?v:a.ownerDocument.defaultView;let _;if(g.constructor===p.CSSStyleSheet)_=g;else{_=new p.CSSStyleSheet;for(let S=0;S<g.cssRules.length;S++)_.insertRule(g.cssRules[S].cssText,S)}Z?a.adoptedStyleSheets.push(_):a.adoptedStyleSheets=[...a.adoptedStyleSheets,_],y.add(b)}}return b})(r.shadowRoot?r.shadowRoot:r.getRootNode(),c);10&u&&(r["s-sc"]=d,r.classList.add(d+"-h"))})(e),Xe(e,t,n,o),l&&(l.map((i=>i())),n["s-rc"]=void 0);{const i=(s=n["s-p"])!=null?s:[],c=()=>et(e);i.length===0?c():(Promise.all(i).then(c).catch(c),e.i|=4,i.length=0)}},Xe=(e,t,o,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,Ye(e,t,s)}catch(n){R(n,e.$hostElement$)}return null},et=e=>{const t=e.$hostElement$,o=t,s=e.R;W(o,"componentDidRender",void 0,t),64&e.i?W(o,"componentDidUpdate",void 0,t):(e.i|=64,st(t),W(o,"componentDidLoad",void 0,t),e.L(t),s||tt()),e.A&&(e.A(),e.A=void 0),512&e.i&&X((()=>ce(e,!1))),e.i&=-517},tt=()=>{X((()=>ze(w,"appload",{detail:{namespace:"gids-core-web"}})))},W=(e,t,o,s)=>{if(e&&e[t])try{return e[t](o)}catch(n){R(n,s)}},st=e=>e.classList.add("hydrated"),Ae=(e,t,o,s)=>{const n=A(e);if(!n)return;const l=e,i=n.l.get(t),c=n.i,r=l;o=Se(o,s.t[t][0],!!(64&s.i));const u=Number.isNaN(i)&&Number.isNaN(o);if(o!==i&&!u){if(n.l.set(t,o),s.F){const d=s.F[t];d&&d.map((a=>{try{const[[f,m]]=Object.entries(a);(128&c||1&m)&&(r?r[f](o,i,t):n.T.push((()=>{n.D[f](o,i,t)})))}catch(f){R(f,l)}}))}if(2&c){if(r.componentShouldUpdate&&r.componentShouldUpdate(o,i,t)===!1&&!(16&c))return;16&c||ce(n,!1)}}},ot=(e,t,o)=>{var s,n;const l=e.prototype;64&t.i&&1&o&&Me.forEach((i=>{const c=l[i];Object.defineProperty(l,i,{value(...r){var u;const d=A(this),a=this;a?typeof c=="function"&&c.call(a,...r):(u=d?.H)==null||u.then((f=>{const m=f[i];typeof m=="function"&&m.call(f,...r)}))}})}));{e.watchers&&!t.F&&(t.F=ge(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const i=Object.entries((s=t.t)!=null?s:{});i.map((([c,[r]])=>{if(31&r||32&r){const{get:u,set:d}=M(l,c)||{};u&&(t.t[c][0]|=2048),d&&(t.t[c][0]|=4096),Object.defineProperty(l,c,{get(){return u?u.apply(this):(a=c,A(this).l.get(a));var a},configurable:!0,enumerable:!0}),Object.defineProperty(l,c,{set(a){const f=A(this);if(f){if(d)return(32&r?this[c]:f.$hostElement$[c])===void 0&&f.l.get(c)&&(a=f.l.get(c)),d.apply(this,[Se(a,r,!!(64&t.i))]),void Ae(this,c,a=32&r?this[c]:f.$hostElement$[c],t);Ae(this,c,a,t)}}})}}));{const c=new Map;l.attributeChangedCallback=function(r,u,d){O.jmp((()=>{var a;const f=c.get(r),m=A(this);if(this.hasOwnProperty(f),l.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==d)return;if(f==null){const y=m?.i;if(m&&y&&!(8&y)&&d!==u){const p=this,_=(a=t.F)==null?void 0:a[r];_?.forEach((S=>{const[[N,E]]=Object.entries(S);p[N]!=null&&(128&y||1&E)&&p[N].call(p,d,u,r)}))}return}const h=i.find((([y])=>y===f)),v=h&&4&h[1][0],b=v&&d===null&&this[f]===void 0;v&&(d=d!==null&&d!=="false");const g=Object.getOwnPropertyDescriptor(l,f);b||d==this[f]||g.get&&!g.set||(this[f]=d)}))},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.F)!=null?n:{}),...i.filter((([r,u])=>31&u[0])).map((([r,u])=>{var d;const a=u[1]||r;return c.set(a,r),512&u[0]&&((d=t.C)==null||d.push([r,a])),a}))]))}}return e},nt=(e,t)=>{const o={i:t[0],p:t[1]};try{o.t=t[2],o.W=t[3],o.F=ge(e.F),o.P=e.P,o.U=e.U,o.C=[];const s=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((l,i)=>{const c={i:0,$hostElement$:l,o:i,l:new Map,B:new Map};c.H=new Promise((u=>c.L=u)),l["s-p"]=[],l["s-rc"]=[];const r=c;l.__stencil__getHostRef=()=>r,512&i.i&&Pe(l,c)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const l=A(this);if(!l)return;Te(this,l,o.W),this.__hasHostListenerAttached=!0}(l=>{if(!(1&O.i)){const i=A(l);if(!i)return;const c=i.o;if(1&i.i)Te(l,i,c.W),i?.D||i?.H&&i.H.then((()=>{}));else{i.i|=1,12&c.i&&(r=>{if(!w.document)return;const u=r["s-cr"]=w.document.createComment("");u["s-cn"]=!0,$(r,u,r.firstChild)})(l);{let r=l;for(;r=r.parentNode||r.host;)if(r["s-p"]){$e(i,i.R=r);break}}c.t&&Object.entries(c.t).map((([r,[u]])=>{if(31&u&&Object.prototype.hasOwnProperty.call(l,r)){const d=l[r];delete l[r],l[r]=d}})),(async(r,u,d)=>{let a;try{if(!(32&u.i)&&(u.i|=32,a=r.constructor,customElements.whenDefined(r.localName).then((()=>u.i|=128)),a&&a.style)){let h;typeof a.style=="string"&&(h=a.style);const v=ye(d);q.has(v)||((b,g,y)=>{let p=q.get(b);Y&&y?(p=p||new CSSStyleSheet,typeof p=="string"?p=g:p.replaceSync(g)):p=g,q.set(b,p)})(v,h,!!(1&d.i))}const f=u.R,m=()=>ce(u,!0);f&&f["s-rc"]?f["s-rc"].push(m):m()}catch(f){R(f,r),u.A&&(u.A(),u.A=void 0),u.L&&u.L(r)}})(l,i,c)}}})(this),s&&s.call(this)},disconnectedCallback(){(async l=>{if(!(1&O.i)){const i=A(l);i?.V&&(i.V.map((c=>c())),i.V=void 0)}x.has(l)&&x.delete(l),l.shadowRoot&&x.has(l.shadowRoot)&&x.delete(l.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${o.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Be.call(this,o)}}),Object.defineProperty(e,"is",{value:o.p,configurable:!0}),ot(e,o,3)}catch(s){return R(s),e}},Te=(e,t,o)=>{o&&w.document&&o.map((([s,n,l])=>{const i=rt(w.document,e,s),c=lt(t,l),r=it(s);O.ael(i,n,c,r),(t.V=t.V||[]).push((()=>O.rel(i,n,c,r)))}))},lt=(e,t)=>o=>{try{e.$hostElement$[t](o)}catch(s){R(s,e.$hostElement$)}},rt=(e,t,o)=>8&o?w:t,it=e=>De?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function dt(e){return e}const ct=e=>e===null?null:e?.parentElement?.closest("gids-overlay-provider")||null,xe=nt(class extends He{constructor(e){super(),e!==!1&&this.__registerHost(),this.__attachShadow(),this.appearance="default",this.show=!1,this.position="bottom-center"}async showSnackbar(){const e=ct(this._el);e&&this.show&&e.queueComponent({message:this.message,appearance:this.appearance,buttonLabel:this.buttonLabel,onButtonClick:this.onButtonClick,position:this.position,componentName:"snackbar",timerInMs:this.timerInMs}),this.onQueueSnackbar&&this.onQueueSnackbar(),this.show=!1}render(){return null}get _el(){return this}static get watchers(){return{show:[{showSnackbar:0}]}}},[1,"gids-snackbar",{message:[513],appearance:[513],show:[516],onQueueSnackbar:[16],buttonLabel:[513,"button-label"],position:[513],timerInMs:[514,"timer-in-ms"],onButtonClick:[16]},void 0,{show:[{showSnackbar:0}]}]);function Le(){typeof customElements<"u"&&["gids-snackbar"].forEach((e=>{e==="gids-snackbar"&&(customElements.get(e)||customElements.define(e,xe))}))}Le();const at=xe,ut=Le;L.GidsSnackbar=at,L.defineCustomElement=ut,Object.defineProperty(L,Symbol.toStringTag,{value:"Module"})}));
@@ -0,0 +1,5 @@
1
+ (function(P,V){typeof exports=="object"&&typeof module<"u"?V(exports):typeof define=="function"&&define.amd?define(["exports"],V):(P=typeof globalThis<"u"?globalThis:P||self,V(P.gidsCoreWebGidsTabItem={}))})(this,(function(P){"use strict";function V(e,t,s){const o=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==o;){const r=Object.getOwnPropertyDescriptor(e,t);if(r&&(!s||r.get))return r;e=Object.getPrototypeOf(e)}}var D,Fe=(e,t)=>{var s;Object.entries((s=t.o.t)!=null?s:{}).map((([o,[r]])=>{if(31&r||32&r){const i=e[o],l=V(Object.getPrototypeOf(e),o,!0)||Object.getOwnPropertyDescriptor(e,o);l&&Object.defineProperty(e,o,{get(){return l.get.call(this)},set(a){l.set.call(this,a)},configurable:!0,enumerable:!0}),t.l.has(o)?e[o]=t.l.get(o):i!==void 0&&(e[o]=i)}}))},$=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},ue=(e,t)=>t in e,L=(e,t)=>(0,console.error)(e,t),G=new Map,ge="http://www.w3.org/1999/xlink",Ge=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],k=typeof window<"u"?window:{},ze=k.HTMLElement||class{},_={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,s,o)=>e.addEventListener(t,s,o),rel:(e,t,s,o)=>e.removeEventListener(t,s,o),ce:(e,t)=>new CustomEvent(e,t)},Ue=(()=>{var e;let t=!1;try{(e=k.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),Q=(()=>{try{return!!k.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),X=!!Q&&!!k.document&&Object.getOwnPropertyDescriptor(k.document.adoptedStyleSheets,"length").writable,ee=!1,he=[],fe=[],qe=(e,t)=>s=>{e.push(s),ee||(ee=!0,4&_.i?oe(te):_.raf(te))},be=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){L(s)}e.length=0},te=()=>{be(he),be(fe),(ee=he.length>0)&&_.raf(te)},oe=e=>Promise.resolve(void 0).then(e),Ye=qe(fe);function Ze(){const e=this.attachShadow({mode:"open"});D===void 0&&(D=null),D&&(X?e.adoptedStyleSheets.push(D):e.adoptedStyleSheets=[...e.adoptedStyleSheets,D])}var pe=e=>{const t=re(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&se(t,e.tagName).forEach((o=>{o.nodeType===1&&o.tagName==="SLOT-FB"&&(o.hidden=!!Je(o,H(o),!1).length)}));let s=0;for(s=0;s<t.length;s++){const o=t[s];o.nodeType===1&&re(o,"childNodes").length&&pe(o)}};function se(e,t,s){let o,r=0,i=[];for(;r<e.length;r++){if(o=e[r],o["s-sr"]&&(!t||o["s-hn"]===t)&&(s===void 0||H(o)===s)&&(i.push(o),s!==void 0))return i;i=[...i,...se(o.childNodes,t,s)]}return i}var Je=(e,t,s=!0)=>{const o=[];(s&&e["s-sr"]||!e["s-sr"])&&o.push(e);let r=e;for(;r=r.nextSibling;)H(r)!==t||!s&&r["s-sr"]||o.push(r);return o},me=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",H=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function re(e,t){if("__"+t in e){const s=e["__"+t];return typeof s!="function"?s:s.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var ie,R,I=new WeakMap,ve=e=>"sc-"+e.p,ne=e=>(e=typeof e)=="object"||e==="function",x=(e,t,...s)=>{let o=null,r=null,i=null,l=!1,a=!1;const n=[],c=d=>{for(let g=0;g<d.length;g++)o=d[g],Array.isArray(o)?c(o):o!=null&&typeof o!="boolean"&&((l=typeof e!="function"&&!ne(o))&&(o=String(o)),l&&a?n[n.length-1].h+=o:n.push(l?z(null,o):o),a=l)};if(c(s),t){t.key&&(r=t.key),t.name&&(i=t.name);{const d=t.className||t.class;d&&(t.class=typeof d!="object"?d:Object.keys(d).filter((g=>d[g])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,n,Ke);const u=z(e,null);return u.v=t,n.length>0&&(u.m=n),u.$=r,u.j=i,u},z=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),ye={},Ke={forEach:(e,t)=>e.map(Se).forEach(t),map:(e,t)=>e.map(Se).map(t).map(Qe)},Se=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),Qe=e=>{if(typeof e.vtag=="function"){const s={...e.vattrs};return e.vkey&&(s.key=e.vkey),e.vname&&(s.name=e.vname),x(e.vtag,s,...e.vchildren||[])}const t=z(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},ke=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let s=!1;for(const r of t){if(s)break;for(const i of e[r])if(typeof i=="string"){s=!0;break}}if(!s)return e;const o={};for(const r of t)o[r]=e[r].map((i=>typeof i=="string"?{[i]:0}:i));return o},we=(e,t,s)=>e==null||ne(e)?e:4&t?(s&&typeof e=="string"||e!=="false")&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,Xe=(e,t,s)=>{const o=_.ce(t,s);return e.dispatchEvent(o),o},Ne=(e,t,s,o,r,i)=>{if(s===o)return;let l=ue(e,t),a=t.toLowerCase();if(t==="class"){const n=e.classList,c=_e(s);let u=_e(o);n.remove(...c.filter((d=>d&&!u.includes(d)))),n.add(...u.filter((d=>d&&!c.includes(d))))}else if(t==="style"){for(const n in s)o&&o[n]!=null||(n.includes("-")?e.style.removeProperty(n):e.style[n]="");for(const n in o)s&&o[n]===s[n]||(n.includes("-")?e.style.setProperty(n,o[n]):e.style[n]=o[n])}else if(t!=="key"){if(t==="ref")o&&ot(o,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const n=t.slice(5);let c;{const u=$(e);if(u&&u.o&&u.o.t){const d=u.o.t[n];d&&d[1]&&(c=d[1])}}return c||(c=n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(o==null||o===!1?o===!1&&e.getAttribute(c)!==""||e.removeAttribute(c):e.setAttribute(c,o===!0?"":o))}if(t[0]==="p"&&t.startsWith("prop:")){const n=t.slice(5);try{e[n]=o}catch{}return}{const n=ne(o);if((l||n&&o!==null)&&!r)try{if(e.tagName.includes("-"))e[t]!==o&&(e[t]=o);else{const u=o??"";t==="list"?l=!1:s!=null&&e[t]===u||(typeof e.__lookupSetter__(t)=="function"?e[t]=u:e.setAttribute(t,u))}}catch{}let c=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,c=!0),o==null||o===!1?o===!1&&e.getAttribute(t)!==""||(c?e.removeAttributeNS(ge,t):e.removeAttribute(t)):(!l||4&i||r)&&!n&&e.nodeType===1&&(o=o===!0?"":o,c?e.setAttributeNS(ge,t,o):e.setAttribute(t,o))}}else if(t=t[2]==="-"?t.slice(3):ue(k,a)?a.slice(2):a[2]+t.slice(3),s||o){const n=t.endsWith(Ce);t=t.replace(tt,""),s&&_.rel(e,t,s,n),o&&_.ael(e,t,o,n)}}},et=/\s/,_e=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(et):[]),Ce="Capture",tt=new RegExp(Ce+"$"),ae=(e,t,s)=>{const o=t.S.nodeType===11&&t.S.host?t.S.host:t.S,r=e&&e.v||{},i=t.v||{};for(const l of Oe(Object.keys(r)))l in i||Ne(o,l,r[l],void 0,s,t.i);for(const l of Oe(Object.keys(i)))Ne(o,l,r[l],i[l],s,t.i)};function Oe(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var M=!1,U=!1,q=!1,C=!1,le=[],de=[],Y=(e,t,s)=>{var o;const r=t.m[s];let i,l,a,n=0;if(M||(q=!0,r.O==="slot"&&(r.i|=r.m?2:1)),r.h!=null)i=r.S=k.document.createTextNode(r.h);else if(1&r.i)i=r.S=k.document.createTextNode(""),ae(null,r,C);else{if(C||(C=r.O==="svg"),!k.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(i=r.S=k.document.createElementNS(C?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!M&&2&r.i?"slot-fb":r.O),C&&r.O==="foreignObject"&&(C=!1),ae(null,r,C),r.m){const c=r.O==="template"?i.content:i;for(n=0;n<r.m.length;++n)l=Y(e,r,n),l&&c.appendChild(l)}r.O==="svg"?C=!1:i.tagName==="foreignObject"&&(C=!0)}return i["s-hn"]=R,3&r.i&&(i["s-sr"]=!0,i["s-cr"]=ie,i["s-sn"]=r.j||"",i["s-rf"]=(o=r.v)==null?void 0:o.ref,(function(c){if(c.assignedElements||c.assignedNodes||!c["s-sr"])return;const u=d=>(function(g){const b=[],h=this["s-sn"];g?.flatten&&console.error(`
2
+ Flattening is not supported for Stencil non-shadow slots.
3
+ You can use \`.childNodes\` to nested slot fallback content.
4
+ If you have a particular use case, please open an issue on the Stencil repo.
5
+ `);const S=this["s-cr"].parentElement;return(S.__childNodes?S.childNodes:(y=>{const m=[];for(let p=0;p<y.length;p++){const f=y[p]["s-nr"]||void 0;f&&f.isConnected&&m.push(f)}return m})(S.childNodes)).forEach((y=>{h===H(y)&&b.push(y)})),d?b.filter((y=>y.nodeType===1)):b}).bind(c);c.assignedElements=u(!0),c.assignedNodes=u(!1)})(i),a=e&&e.m&&e.m[s],a&&a.O===r.O&&e.S&&Te(e.S)),i},Te=e=>{_.i|=1;const t=e.closest(R.toLowerCase());if(t!=null){const s=Array.from(t.__childNodes||t.childNodes).find((r=>r["s-cr"])),o=Array.from(e.__childNodes||e.childNodes);for(const r of s?o.reverse():o)r["s-sh"]!=null&&(A(t,r,s??null),r["s-sh"]=void 0,q=!0)}_.i&=-2},Z=(e,t)=>{_.i|=1;const s=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let o=e;for(;o=o.nextSibling;)o&&o["s-sn"]===e["s-sn"]&&o["s-sh"]===R&&s.push(o)}for(let o=s.length-1;o>=0;o--){const r=s[o];r["s-hn"]!==R&&r["s-ol"]&&(A(W(r).parentNode,r,W(r)),r["s-ol"].remove(),r["s-ol"]=void 0,r["s-sh"]=void 0,q=!0),t&&Z(r,t)}_.i&=-2},Ae=(e,t,s,o,r,i)=>{let l,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===R&&(a=a.shadowRoot),s.O==="template"&&(a=a.content);r<=i;++r)o[r]&&(l=Y(null,s,r),l&&(o[r].S=l,A(a,l,W(t))))},xe=(e,t,s)=>{for(let o=t;o<=s;++o){const r=e[o];if(r){const i=r.S;$e(r),i&&(U=!0,i["s-ol"]?i["s-ol"].remove():Z(i,!0),i.remove())}}},J=(e,t,s=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:s?(s&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),W=e=>e&&e["s-ol"]||e,B=(e,t,s=!1)=>{const o=t.S=e.S,r=e.m,i=t.m,l=t.O,a=t.h;let n;a==null?(C=l==="svg"||l!=="foreignObject"&&C,l!=="slot"||M||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Te(t.S.parentElement)),ae(e,t,C),r!==null&&i!==null?((c,u,d,g,b=!1)=>{let h,S,y=0,m=0,p=0,f=0,N=u.length-1,v=u[0],w=u[N],O=g.length-1,T=g[0],j=g[O];const We=d.O==="template"?c.content:c;for(;y<=N&&m<=O;)if(v==null)v=u[++y];else if(w==null)w=u[--N];else if(T==null)T=g[++m];else if(j==null)j=g[--O];else if(J(v,T,b))B(v,T,b),v=u[++y],T=g[++m];else if(J(w,j,b))B(w,j,b),w=u[--N],j=g[--O];else if(J(v,j,b))v.O!=="slot"&&j.O!=="slot"||Z(v.S.parentNode,!1),B(v,j,b),A(We,v.S,w.S.nextSibling),v=u[++y],j=g[--O];else if(J(w,T,b))v.O!=="slot"&&j.O!=="slot"||Z(w.S.parentNode,!1),B(w,T,b),A(We,w.S,v.S),w=u[--N],T=g[++m];else{for(p=-1,f=y;f<=N;++f)if(u[f]&&u[f].$!==null&&u[f].$===T.$){p=f;break}p>=0?(S=u[p],S.O!==T.O?h=Y(u&&u[m],d,p):(B(S,T,b),u[p]=void 0,h=S.S),T=g[++m]):(h=Y(u&&u[m],d,m),T=g[++m]),h&&A(W(v.S).parentNode,h,W(v.S))}y>N?Ae(c,g[O+1]==null?null:g[O+1].S,d,g,m,O):m>O&&xe(u,y,N)})(o,r,t,i,s):i!==null?(e.h!==null&&(o.textContent=""),Ae(o,null,t,i,0,i.length-1)):!s&&r!==null&&xe(r,0,r.length-1),C&&l==="svg"&&(C=!1)):(n=o["s-cr"])?n.parentNode.textContent=a:e.h!==a&&(o.data=a)},E=[],je=e=>{let t,s,o;const r=e.__childNodes||e.childNodes;for(const i of r){if(i["s-sr"]&&(t=i["s-cr"])&&t.parentNode){s=t.parentNode.__childNodes||t.parentNode.childNodes;const l=i["s-sn"];for(o=s.length-1;o>=0;o--)if(t=s[o],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===i["s-hn"]||t["s-sh"]&&t["s-sh"]===i["s-hn"]))if(me(t,l)){let a=E.find((n=>n.k===t));U=!0,t["s-sn"]=t["s-sn"]||l,a?(a.k["s-sh"]=i["s-hn"],a.N=i):(t["s-sh"]=i["s-hn"],E.push({N:i,k:t})),t["s-sr"]&&E.map((n=>{me(n.k,t["s-sn"])&&(a=E.find((c=>c.k===t)),a&&!n.N&&(n.N=a.N))}))}else E.some((a=>a.k===t))||E.push({k:t})}i.nodeType===1&&je(i)}},$e=e=>{e.v&&e.v.ref&&le.push((()=>e.v.ref(null))),e.m&&e.m.map($e)},ot=(e,t)=>{de.push((()=>e(t)))},A=(e,t,s,o)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,s);const{slotNode:r}=(function(i,l){var a;if(!(l=l||((a=i["s-ol"])==null?void 0:a.parentElement)))return{slotNode:null,slotName:""};const n=i["s-sn"]=H(i)||"";return{slotNode:se(re(l,"childNodes"),l.tagName,n)[0],slotName:n}})(t);return r&&!o&&r.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,s):e?.insertBefore(t,s)},st=(e,t,s=!1)=>{var o,r,i,l,a;const n=e.$hostElement$,c=e.o,u=e.M||z(null,null);var d;const g=(d=t)&&d.O===ye?t:x(null,null,t);if(R=n.tagName,c.C&&(g.v=g.v||{},c.C.forEach((([b,h])=>{g.v[h]=n[b]}))),s&&g.v)for(const b of Object.keys(g.v))n.hasAttribute(b)&&!["key","ref","style","class"].includes(b)&&(g.v[b]=n[b]);if(g.O=null,g.i|=4,e.M=g,g.S=u.S=n.shadowRoot||n,M=!(!(1&c.i)||128&c.i),ie=n["s-cr"],U=!1,B(u,g,s),_.i|=1,q){je(g.S);for(const b of E){const h=b.k;if(!h["s-ol"]&&k.document){const S=k.document.createTextNode("");S["s-nr"]=h,A(h.parentNode,h["s-ol"]=S,h,s)}}for(const b of E){const h=b.k,S=b.N;if(h.nodeType===1&&s&&(h["s-ih"]=(o=h.hidden)!=null&&o),S){const y=S.parentNode;let m=S.nextSibling;if(m&&m.nodeType===1){let p=(r=h["s-ol"])==null?void 0:r.previousSibling;for(;p;){let f=(i=p["s-nr"])!=null?i:null;if(f&&f["s-sn"]===h["s-sn"]&&y===(f.__parentNode||f.parentNode)){for(f=f.nextSibling;f===h||f?.["s-sr"];)f=f?.nextSibling;if(!f||!f["s-nr"]){m=f;break}}p=p.previousSibling}}if((!m&&y!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==m)&&h!==m){if(A(y,h,m,s),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const p=k.document.createTextNode(h.nodeValue.replace(/^s-nt-/,""));p["s-hn"]=h["s-hn"],p["s-sn"]=h["s-sn"],p["s-sh"]=h["s-sh"],p["s-sr"]=h["s-sr"],p["s-ol"]=h["s-ol"],p["s-ol"]["s-nr"]=p,A(h.parentNode,p,h,s),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(l=h["s-ih"])!=null&&l)}h&&typeof S["s-rf"]=="function"&&S["s-rf"](S)}else h.nodeType===1&&(h.hidden=!0)}}if(U&&pe(g.S),_.i&=-2,E.length=0,!M&&!(1&c.i)&&n["s-cr"]){const b=g.S.__childNodes||g.S.childNodes;for(const h of b)if(h["s-hn"]!==R&&!h["s-sh"]){if(s&&h["s-ih"]==null&&(h["s-ih"]=(a=h.hidden)!=null&&a),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const S=k.document.createComment("s-nt-"+h.nodeValue);S["s-sn"]=h["s-sn"],A(h.parentNode,S,h,s),h.parentNode.removeChild(h)}}}ie=void 0,le.forEach((b=>b())),le.length=0,de.forEach((b=>b())),de.length=0},Ee=(e,t)=>{if(t&&!e.A&&t["s-p"]){const s=t["s-p"].push(new Promise((o=>e.A=()=>{t["s-p"].splice(s-1,1),o()})))}},ce=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Ee(e,e.R);const s=()=>rt(e,t);if(!t)return Ye(s);queueMicrotask((()=>{s()}))},rt=(e,t)=>{const s=e.$hostElement$,o=s;if(!o)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let r;return r=F(o,t?"componentWillLoad":"componentWillUpdate",void 0,s),r=Ie(r,(()=>F(o,"componentWillRender",void 0,s))),Ie(r,(()=>nt(e,o,t)))},Ie=(e,t)=>it(e)?e.then(t).catch((s=>{console.error(s),t()})):t(),it=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",nt=async(e,t,s)=>{var o;const r=e.$hostElement$,i=r["s-rc"];s&&(l=>{const a=l.o,n=l.$hostElement$,c=a.i,u=((d,g)=>{var b,h,S;const y=ve(g),m=G.get(y);if(!k.document)return y;if(d=d.nodeType===11?d:k.document,m)if(typeof m=="string"){let p,f=I.get(d=d.head||d);if(f||I.set(d,f=new Set),!f.has(y)){p=k.document.createElement("style"),p.textContent=m;const N=(b=_._)!=null?b:(function(){var v,w,O;return(O=(w=(v=k.document.head)==null?void 0:v.querySelector('meta[name="csp-nonce"]'))==null?void 0:w.getAttribute("content"))!=null?O:void 0})();if(N!=null&&p.setAttribute("nonce",N),!(1&g.i))if(d.nodeName==="HEAD"){const v=d.querySelectorAll("link[rel=preconnect]"),w=v.length>0?v[v.length-1].nextSibling:d.querySelector("style");d.insertBefore(p,w?.parentNode===d?w:null)}else if("host"in d)if(Q){const v=new((h=d.defaultView)!=null?h:d.ownerDocument.defaultView).CSSStyleSheet;v.replaceSync(m),X?d.adoptedStyleSheets.unshift(v):d.adoptedStyleSheets=[v,...d.adoptedStyleSheets]}else{const v=d.querySelector("style");v?v.textContent=m+v.textContent:d.prepend(p)}else d.append(p);1&g.i&&d.insertBefore(p,null),4&g.i&&(p.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),f&&f.add(y)}}else{let p=I.get(d);if(p||I.set(d,p=new Set),!p.has(y)){const f=(S=d.defaultView)!=null?S:d.ownerDocument.defaultView;let N;if(m.constructor===f.CSSStyleSheet)N=m;else{N=new f.CSSStyleSheet;for(let v=0;v<m.cssRules.length;v++)N.insertRule(m.cssRules[v].cssText,v)}X?d.adoptedStyleSheets.push(N):d.adoptedStyleSheets=[...d.adoptedStyleSheets,N],p.add(y)}}return y})(n.shadowRoot?n.shadowRoot:n.getRootNode(),a);10&c&&(n["s-sc"]=u,n.classList.add(u+"-h"))})(e),at(e,t,r,s),i&&(i.map((l=>l())),r["s-rc"]=void 0);{const l=(o=r["s-p"])!=null?o:[],a=()=>lt(e);l.length===0?a():(Promise.all(l).then(a).catch(a),e.i|=4,l.length=0)}},at=(e,t,s,o)=>{try{t=t.render(),e.i&=-17,e.i|=2,st(e,t,o)}catch(r){L(r,e.$hostElement$)}return null},lt=e=>{const t=e.$hostElement$,s=t,o=e.R;F(s,"componentDidRender",void 0,t),64&e.i?F(s,"componentDidUpdate",void 0,t):(e.i|=64,ct(t),F(s,"componentDidLoad",void 0,t),e.L(t),o||dt()),e.A&&(e.A(),e.A=void 0),512&e.i&&oe((()=>ce(e,!1))),e.i&=-517},dt=()=>{oe((()=>Xe(k,"appload",{detail:{namespace:"gids-core-web"}})))},F=(e,t,s,o)=>{if(e&&e[t])try{return e[t](s)}catch(r){L(r,o)}},ct=e=>e.classList.add("hydrated"),Pe=(e,t,s,o)=>{const r=$(e);if(!r)return;const i=e,l=r.l.get(t),a=r.i,n=i;s=we(s,o.t[t][0],!!(64&o.i));const c=Number.isNaN(l)&&Number.isNaN(s);if(s!==l&&!c){if(r.l.set(t,s),o.F){const u=o.F[t];u&&u.map((d=>{try{const[[g,b]]=Object.entries(d);(128&a||1&b)&&(n?n[g](s,l,t):r.T.push((()=>{r.D[g](s,l,t)})))}catch(g){L(g,i)}}))}if(2&a){if(n.componentShouldUpdate&&n.componentShouldUpdate(s,l,t)===!1&&!(16&a))return;16&a||ce(r,!1)}}},ut=(e,t,s)=>{var o,r;const i=e.prototype;64&t.i&&1&s&&Ge.forEach((l=>{const a=i[l];Object.defineProperty(i,l,{value(...n){var c;const u=$(this),d=this;d?typeof a=="function"&&a.call(d,...n):(c=u?.H)==null||c.then((g=>{const b=g[l];typeof b=="function"&&b.call(g,...n)}))}})}));{e.watchers&&!t.F&&(t.F=ke(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const l=Object.entries((o=t.t)!=null?o:{});l.map((([a,[n]])=>{if(31&n||32&n){const{get:c,set:u}=V(i,a)||{};c&&(t.t[a][0]|=2048),u&&(t.t[a][0]|=4096),Object.defineProperty(i,a,{get(){return c?c.apply(this):(d=a,$(this).l.get(d));var d},configurable:!0,enumerable:!0}),Object.defineProperty(i,a,{set(d){const g=$(this);if(g){if(u)return(32&n?this[a]:g.$hostElement$[a])===void 0&&g.l.get(a)&&(d=g.l.get(a)),u.apply(this,[we(d,n,!!(64&t.i))]),void Pe(this,a,d=32&n?this[a]:g.$hostElement$[a],t);Pe(this,a,d,t)}}})}}));{const a=new Map;i.attributeChangedCallback=function(n,c,u){_.jmp((()=>{var d;const g=a.get(n),b=$(this);if(this.hasOwnProperty(g),i.hasOwnProperty(g)&&typeof this[g]=="number"&&this[g]==u)return;if(g==null){const p=b?.i;if(b&&p&&!(8&p)&&u!==c){const f=this,N=(d=t.F)==null?void 0:d[n];N?.forEach((v=>{const[[w,O]]=Object.entries(v);f[w]!=null&&(128&p||1&O)&&f[w].call(f,u,c,n)}))}return}const h=l.find((([p])=>p===g)),S=h&&4&h[1][0],y=S&&u===null&&this[g]===void 0;S&&(u=u!==null&&u!=="false");const m=Object.getOwnPropertyDescriptor(i,g);y||u==this[g]||m.get&&!m.set||(this[g]=u)}))},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.F)!=null?r:{}),...l.filter((([n,c])=>31&c[0])).map((([n,c])=>{var u;const d=c[1]||n;return a.set(d,n),512&c[0]&&((u=t.C)==null||u.push([n,d])),d}))]))}}return e},gt=(e,t)=>{const s={i:t[0],p:t[1]};try{s.t=t[2],s.W=t[3],s.F=ke(e.F),s.P=e.P,s.U=e.U,s.C=[];const o=e.prototype.connectedCallback,r=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((i,l)=>{const a={i:0,$hostElement$:i,o:l,l:new Map,B:new Map};a.H=new Promise((c=>a.L=c)),i["s-p"]=[],i["s-rc"]=[];const n=a;i.__stencil__getHostRef=()=>n,512&l.i&&Fe(i,a)})(this,s)},connectedCallback(){if(!this.__hasHostListenerAttached){const i=$(this);if(!i)return;Le(this,i,s.W),this.__hasHostListenerAttached=!0}(i=>{if(!(1&_.i)){const l=$(i);if(!l)return;const a=l.o;if(1&l.i)Le(i,l,a.W),l?.D||l?.H&&l.H.then((()=>{}));else{l.i|=1,12&a.i&&(n=>{if(!k.document)return;const c=n["s-cr"]=k.document.createComment("");c["s-cn"]=!0,A(n,c,n.firstChild)})(i);{let n=i;for(;n=n.parentNode||n.host;)if(n["s-p"]){Ee(l,l.R=n);break}}a.t&&Object.entries(a.t).map((([n,[c]])=>{if(31&c&&Object.prototype.hasOwnProperty.call(i,n)){const u=i[n];delete i[n],i[n]=u}})),(async(n,c,u)=>{let d;try{if(!(32&c.i)&&(c.i|=32,d=n.constructor,customElements.whenDefined(n.localName).then((()=>c.i|=128)),d&&d.style)){let h;typeof d.style=="string"&&(h=d.style);const S=ve(u);G.has(S)||((y,m,p)=>{let f=G.get(y);Q&&p?(f=f||new CSSStyleSheet,typeof f=="string"?f=m:f.replaceSync(m)):f=m,G.set(y,f)})(S,h,!!(1&u.i))}const g=c.R,b=()=>ce(c,!0);g&&g["s-rc"]?g["s-rc"].push(b):b()}catch(g){L(g,n),c.A&&(c.A(),c.A=void 0),c.L&&c.L(n)}})(i,l,a)}}})(this),o&&o.call(this)},disconnectedCallback(){(async i=>{if(!(1&_.i)){const l=$(i);l?.V&&(l.V.map((a=>a())),l.V=void 0)}I.has(i)&&I.delete(i),i.shadowRoot&&I.has(i.shadowRoot)&&I.delete(i.shadowRoot)})(this),r&&r.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${s.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Ze.call(this,s)}}),Object.defineProperty(e,"is",{value:s.p,configurable:!0}),ut(e,s,3)}catch(o){return L(o),e}},Le=(e,t,s)=>{s&&k.document&&s.map((([o,r,i])=>{const l=ft(k.document,e,o),a=ht(t,i),n=bt(o);_.ael(l,r,a,n),(t.V=t.V||[]).push((()=>_.rel(l,r,a,n)))}))},ht=(e,t)=>s=>{try{e.$hostElement$[t](s)}catch(o){L(o,e.$hostElement$)}},ft=(e,t,s)=>8&s?k:t,bt=e=>Ue?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function Ct(e){return e}function Re(e){var t,s,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(s=Re(e[t]))&&(o&&(o+=" "),o+=s)}else for(s in e)e[s]&&(o&&(o+=" "),o+=s);return o}function Ve(){for(var e,t,s=0,o="",r=arguments.length;s<r;s++)(e=arguments[s])&&(t=Re(e))&&(o&&(o+=" "),o+=t);return o}const pt=Object.freeze(Object.defineProperty({__proto__:null,getGidsBadgeClassNames:({appearance:e,type:t,outline:s},o)=>Ve("gids-badge",{"gids-badge--danger":e==="danger","gids-badge--positive":e==="positive","gids-badge--warning":e==="warning","gids-badge--inverse":e==="inverse"},{"gids-badge--dot":t==="dot"},{"gids-badge--outline":s},o)},Symbol.toStringTag,{value:"Module"})),K=99,mt=Object.freeze(Object.defineProperty({__proto__:null,getDisplayContent:(e,t)=>e===void 0?t??"":e>K?`${K}+`:e.toString(),maxCount:K,shouldIncludeA11yText:(e,t,s)=>e==="dot"||t!==void 0&&t>K||s},Symbol.toStringTag,{value:"Module"})),vt=Object.freeze(Object.defineProperty({__proto__:null,getGidsTabItemClassNames:({appearance:e,width:t="intrinsic",active:s},o)=>Ve("gids-tab-item",{"gids-tab-item--full":t==="full","gids-tab-item--active-default":e==="default"&&s,"gids-tab-item--active-primary":e==="primary"&&s,"gids-tab-item--active-bordered":e==="bordered"&&s,"gids-tab-item--active-underlined":e==="underlined"&&s,"gids-tab-item--active-subtle":e==="subtle"&&s,"gids-tab-item--default":e==="default"&&!s,"gids-tab-item--primary":e==="primary"&&!s,"gids-tab-item--bordered":e==="bordered"&&!s,"gids-tab-item--underlined":e==="underlined"&&!s,"gids-tab-item--subtle":e==="subtle"&&!s},o)},Symbol.toStringTag,{value:"Module"})),Be=e=>e!==void 0&&(!Array.isArray(e)||e.length>0),{getDisplayContent:De,shouldIncludeA11yText:yt}=mt,{getGidsBadgeClassNames:St}=pt,kt=({appearance:e,type:t,count:s,accessibleText:o,outline:r,class:i,...l})=>{const a=yt(t,s,Be(o));return x("span",{class:St({appearance:e,type:t,outline:r},i),...l},a&&x("span",{class:"gids-visually-hidden"},Be(o)?o:s),t==="notification"?a?x("span",{"aria-hidden":"true"},De(s,o)):De(s,o):null)},{getGidsTabItemClassNames:wt}=vt,He=gt(class extends ze{constructor(e){super(),e!==!1&&this.__registerHost(),this.active=!1,this.width="intrinsic",this.appearance="default",this.badgeVisible=!1,this.badgeAppearance="information",this.badgeType="dot",this.hasLeadingIcon=!1,this.hasTrailingIcon=!1,this.handleHostClick=()=>{this.onPressGidsTabItem&&this.onPressGidsTabItem({itemId:this.itemId,label:this?.label??"",active:this?.active??!1,appearance:this?.appearance??"default",name:this?.name,badgeCount:this?.badgeCount??0})}}handleWidthChange(e){this.width=e}handleAppearanceChange(e){this.appearance=e}handleBadgeVisibilityChange(e){this.badgeVisible=e}handleBadgeAppearanceChange(e){this.badgeAppearance=e}handleBadgeTypeChange(e){this.badgeType=e}handleActiveChange(e){this.active=e}componentWillLoad(){this.checkSlots()}componentWillUpdate(){this.checkSlots()}checkSlots(){this.hasLeadingIcon=!!this.hostElement.querySelector('[slot="leadingIconTabItem"]'),this.hasTrailingIcon=!!this.hostElement.querySelector('[slot="trailingIconTabItem"]')}render(){const e=wt({appearance:this.appearance,width:this.width,active:this.active}),t=this.hasTrailingIcon,s=this.badgeVisible,o=this.appearance==="primary"&&this.active?"inverse":this.badgeAppearance??"information",r=this.label;return x(ye,{key:"111117f9953d07da3af26834ab19352c9334a36a",class:e,onClick:this.handleHostClick},this.hasLeadingIcon?x("slot",{name:"leadingIconTabItem"}):void 0,r&&r!==""?x("span",{class:"gids-tab-item__label"},r&&r!==""?r:void 0,s?x(kt,{appearance:o,type:this.badgeType,count:this.badgeCount}):void 0):void 0,t?x("slot",{name:"trailingIconTabItem"}):void 0)}get hostElement(){return this}static get watchers(){return{width:[{handleWidthChange:0}],appearance:[{handleAppearanceChange:0}],badgeVisible:[{handleBadgeVisibilityChange:0}],badgeAppearance:[{handleBadgeAppearanceChange:0}],badgeType:[{handleBadgeTypeChange:0}],active:[{handleActiveChange:0}]}}static get style(){return".gids-tab-item{margin:0;padding:0;appearance:none;border:none;background:none;display:inline-flex;justify-content:center;align-items:center;gap:var(--gids-gap-100);padding:var(--gids-padding-vertical-edge-to-element-150) var(--gids-padding-horizontal-edge-to-element-150);color:var(--gids-color-text-accent-5);cursor:pointer}.gids-tab-item .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-5)}.gids-tab-item__label{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);display:flex;justify-content:center;align-items:center;gap:var(--gids-gap-150)}.gids-tab-item--full{display:flex}.gids-tab-item--default{border-radius:var(--gids-border-radius-md)}.gids-tab-item--default:hover{background-color:var(--gids-color-background-accent-4-subtler-hovered);color:var(--gids-color-text-accent-4)}.gids-tab-item--default:hover .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--default:active{background-color:var(--gids-color-background-accent-4-subtler-pressed);color:var(--gids-color-text-accent-4)}.gids-tab-item--default:active .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--primary{border-radius:var(--gids-border-radius-md)}.gids-tab-item--primary:hover{background-color:var(--gids-color-background-accent-4-bolder-hovered);color:var(--gids-color-text-inverse)}.gids-tab-item--primary:hover .gids-icon{--gidsIcon-color:var(--gids-color-icon-inverse)}.gids-tab-item--primary:active{background-color:var(--gids-color-background-accent-4-bolder-pressed);color:var(--gids-color-text-inverse)}.gids-tab-item--primary:active .gids-icon{--gidsIcon-color:var(--gids-color-icon-inverse)}.gids-tab-item--bordered{border-radius:var(--gids-border-radius-full)}.gids-tab-item--bordered:hover{background-color:var(--gids-color-background-accent-4-subtlest-hovered);color:var(--gids-color-text-accent-4);border:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4)}.gids-tab-item--bordered:hover .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--bordered:active{background-color:var(--gids-color-background-accent-4-subtlest-pressed);color:var(--gids-color-text-accent-4);border:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4)}.gids-tab-item--bordered:active .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--underlined{border-bottom:var(--gids-border-width-thick) solid var(--gids-color-border-input)}.gids-tab-item--underlined:hover{background-color:var(--gids-color-background-accent-4-subtlest-hovered);border-bottom:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4);border-top-left-radius:var(--gids-border-radius-md);border-top-right-radius:var(--gids-border-radius-md);color:var(--gids-color-text-accent-4)}.gids-tab-item--underlined:active{background-color:var(--gids-color-background-accent-4-subtlest-pressed);border-bottom:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4);border-top-left-radius:var(--gids-border-radius-md);border-top-right-radius:var(--gids-border-radius-md);color:var(--gids-color-text-accent-4)}.gids-tab-item--subtle:hover{color:var(--gids-color-text-accent-4)}.gids-tab-item--subtle:hover .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--subtle:active{color:var(--gids-color-text-accent-4)}.gids-tab-item--subtle:active .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--active-default{border-radius:var(--gids-border-radius-md);background-color:var(--gids-color-background-accent-4-subtler-default);color:var(--gids-color-text-accent-4)}.gids-tab-item--active-default .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--active-default:hover{background-color:var(--gids-color-background-accent-4-subtler-hovered)}.gids-tab-item--active-default:active{background-color:var(--gids-color-background-accent-4-subtler-pressed)}.gids-tab-item--active-primary{border-radius:var(--gids-border-radius-md);background-color:var(--gids-color-background-accent-4-bolder-default);color:var(--gids-color-text-inverse)}.gids-tab-item--active-primary .gids-icon{--gidsIcon-color:var(--gids-color-icon-inverse)}.gids-tab-item--active-primary:hover{background-color:var(--gids-color-background-accent-4-bolder-hovered)}.gids-tab-item--active-primary:active{background-color:var(--gids-color-background-accent-4-bolder-pressed)}.gids-tab-item--active-bordered{border-radius:var(--gids-border-radius-full);border:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4);background-color:var(--gids-color-background-accent-4-subtlest-default);color:var(--gids-color-text-accent-4)}.gids-tab-item--active-bordered .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--active-bordered:hover{background-color:var(--gids-color-background-accent-4-subtlest-hovered)}.gids-tab-item--active-bordered:active{background-color:var(--gids-color-background-accent-4-subtlest-pressed)}.gids-tab-item--active-underlined{border-bottom:var(--gids-border-width-thick) solid var(--gids-color-border-accent-4);border-top-left-radius:var(--gids-border-radius-md);border-top-right-radius:var(--gids-border-radius-md);color:var(--gids-color-text-accent-4);background-color:var(--gids-color-background-accent-4-subtlest-default)}.gids-tab-item--active-underlined .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}.gids-tab-item--active-underlined:hover{background-color:var(--gids-color-background-accent-4-subtlest-hovered)}.gids-tab-item--active-underlined:active{background-color:var(--gids-color-background-accent-4-subtlest-pressed)}.gids-tab-item--active-subtle{color:var(--gids-color-text-accent-4)}.gids-tab-item--active-subtle .gids-icon{--gidsIcon-color:var(--gids-color-icon-accent-4)}"}},[260,"gids-tab-item",{itemId:[1,"item-id"],label:[1],active:[4],name:[1],width:[1],appearance:[1],badgeVisible:[4,"badge-visible"],badgeAppearance:[1,"badge-appearance"],badgeCount:[2,"badge-count"],badgeType:[1,"badge-type"],onPressGidsTabItem:[16],hasLeadingIcon:[32],hasTrailingIcon:[32]},void 0,{width:[{handleWidthChange:0}],appearance:[{handleAppearanceChange:0}],badgeVisible:[{handleBadgeVisibilityChange:0}],badgeAppearance:[{handleBadgeAppearanceChange:0}],badgeType:[{handleBadgeTypeChange:0}],active:[{handleActiveChange:0}]}]);function Me(){typeof customElements<"u"&&["gids-tab-item"].forEach((e=>{e==="gids-tab-item"&&(customElements.get(e)||customElements.define(e,He))}))}Me();const Nt=He,_t=Me;P.GidsTabItem=Nt,P.defineCustomElement=_t,Object.defineProperty(P,Symbol.toStringTag,{value:"Module"})}));
@@ -0,0 +1,5 @@
1
+ (function(x,D){typeof exports=="object"&&typeof module<"u"?D(exports):typeof define=="function"&&define.amd?define(["exports"],D):(x=typeof globalThis<"u"?globalThis:x||self,D(x.gidsCoreWebGidsTab={}))})(this,(function(x){"use strict";function D(e,t,o){const s=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==s;){const n=Object.getOwnPropertyDescriptor(e,t);if(n&&(!o||n.get))return n;e=Object.getPrototypeOf(e)}}var M,Fe=(e,t)=>{var o;Object.entries((o=t.o.t)!=null?o:{}).map((([s,[n]])=>{if(31&n||32&n){const l=e[s],i=D(Object.getPrototypeOf(e),s,!0)||Object.getOwnPropertyDescriptor(e,s);i&&Object.defineProperty(e,s,{get(){return i.get.call(this)},set(a){i.set.call(this,a)},configurable:!0,enumerable:!0}),t.l.has(s)?e[s]=t.l.get(s):l!==void 0&&(e[s]=l)}}))},A=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},de=(e,t)=>t in e,R=(e,t)=>(0,console.error)(e,t),B=new Map,ue="http://www.w3.org/1999/xlink",Ve=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],w=typeof window<"u"?window:{},We=w.HTMLElement||class{},_={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,o,s)=>e.addEventListener(t,o,s),rel:(e,t,o,s)=>e.removeEventListener(t,o,s),ce:(e,t)=>new CustomEvent(e,t)},Ie=(()=>{var e;let t=!1;try{(e=w.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),K=(()=>{try{return!!w.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),Q=!!K&&!!w.document&&Object.getOwnPropertyDescriptor(w.document.adoptedStyleSheets,"length").writable,X=!1,fe=[],he=[],Be=(e,t)=>o=>{e.push(o),X||(X=!0,4&_.i?te(ee):_.raf(ee))},pe=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(o){R(o)}e.length=0},ee=()=>{pe(fe),pe(he),(X=fe.length>0)&&_.raf(ee)},te=e=>Promise.resolve(void 0).then(e),Ue=Be(he);function Ge(){const e=this.attachShadow({mode:"open"});M===void 0&&(M=null),M&&(Q?e.adoptedStyleSheets.push(M):e.adoptedStyleSheets=[...e.adoptedStyleSheets,M])}var me=e=>{const t=oe(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&se(t,e.tagName).forEach((s=>{s.nodeType===1&&s.tagName==="SLOT-FB"&&(s.hidden=!!qe(s,F(s),!1).length)}));let o=0;for(o=0;o<t.length;o++){const s=t[o];s.nodeType===1&&oe(s,"childNodes").length&&me(s)}};function se(e,t,o){let s,n=0,l=[];for(;n<e.length;n++){if(s=e[n],s["s-sr"]&&(!t||s["s-hn"]===t)&&(o===void 0||F(s)===o)&&(l.push(s),o!==void 0))return l;l=[...l,...se(s.childNodes,t,o)]}return l}var qe=(e,t,o=!0)=>{const s=[];(o&&e["s-sr"]||!e["s-sr"])&&s.push(e);let n=e;for(;n=n.nextSibling;)F(n)!==t||!o&&n["s-sr"]||s.push(n);return s},ge=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",F=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function oe(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 ne,L,P=new WeakMap,ye=e=>"sc-"+e.p,le=e=>(e=typeof e)=="object"||e==="function",U=(e,t,...o)=>{let s=null,n=null,l=null,i=!1,a=!1;const r=[],d=c=>{for(let f=0;f<c.length;f++)s=c[f],Array.isArray(s)?d(s):s!=null&&typeof s!="boolean"&&((i=typeof e!="function"&&!le(s))&&(s=String(s)),i&&a?r[r.length-1].h+=s:r.push(i?G(null,s):s),a=i)};if(d(o),t){t.key&&(n=t.key),t.name&&(l=t.name);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter((f=>c[f])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,r,ze);const u=G(e,null);return u.v=t,r.length>0&&(u.m=r),u.$=n,u.j=l,u},G=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),be={},ze={forEach:(e,t)=>e.map(ve).forEach(t),map:(e,t)=>e.map(ve).map(t).map(Ye)},ve=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),Ye=e=>{if(typeof e.vtag=="function"){const o={...e.vattrs};return e.vkey&&(o.key=e.vkey),e.vname&&(o.name=e.vname),U(e.vtag,o,...e.vchildren||[])}const t=G(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},Se=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let o=!1;for(const n of t){if(o)break;for(const l of e[n])if(typeof l=="string"){o=!0;break}}if(!o)return e;const s={};for(const n of t)s[n]=e[n].map((l=>typeof l=="string"?{[l]:0}:l));return s},we=(e,t,o)=>e==null||le(e)?e:4&t?(o&&typeof e=="string"||e!=="false")&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,Ze=(e,t,o)=>{const s=_.ce(t,o);return e.dispatchEvent(s),s},Ne=(e,t,o,s,n,l)=>{if(o===s)return;let i=de(e,t),a=t.toLowerCase();if(t==="class"){const r=e.classList,d=Oe(o);let u=Oe(s);r.remove(...d.filter((c=>c&&!u.includes(c)))),r.add(...u.filter((c=>c&&!d.includes(c))))}else if(t==="style"){for(const r in o)s&&s[r]!=null||(r.includes("-")?e.style.removeProperty(r):e.style[r]="");for(const r in s)o&&s[r]===o[r]||(r.includes("-")?e.style.setProperty(r,s[r]):e.style[r]=s[r])}else if(t!=="key"){if(t==="ref")s&&Qe(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 d;{const u=A(e);if(u&&u.o&&u.o.t){const c=u.o.t[r];c&&c[1]&&(d=c[1])}}return d||(d=r.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(s==null||s===!1?s===!1&&e.getAttribute(d)!==""||e.removeAttribute(d):e.setAttribute(d,s===!0?"":s))}if(t[0]==="p"&&t.startsWith("prop:")){const r=t.slice(5);try{e[r]=s}catch{}return}{const r=le(s);if((i||r&&s!==null)&&!n)try{if(e.tagName.includes("-"))e[t]!==s&&(e[t]=s);else{const u=s??"";t==="list"?i=!1:o!=null&&e[t]===u||(typeof e.__lookupSetter__(t)=="function"?e[t]=u:e.setAttribute(t,u))}}catch{}let d=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,d=!0),s==null||s===!1?s===!1&&e.getAttribute(t)!==""||(d?e.removeAttributeNS(ue,t):e.removeAttribute(t)):(!i||4&l||n)&&!r&&e.nodeType===1&&(s=s===!0?"":s,d?e.setAttributeNS(ue,t,s):e.setAttribute(t,s))}}else if(t=t[2]==="-"?t.slice(3):de(w,a)?a.slice(2):a[2]+t.slice(3),o||s){const r=t.endsWith(_e);t=t.replace(Ke,""),o&&_.rel(e,t,o,r),s&&_.ael(e,t,s,r)}}},Je=/\s/,Oe=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(Je):[]),_e="Capture",Ke=new RegExp(_e+"$"),re=(e,t,o)=>{const s=t.S.nodeType===11&&t.S.host?t.S.host:t.S,n=e&&e.v||{},l=t.v||{};for(const i of Ce(Object.keys(n)))i in l||Ne(s,i,n[i],void 0,o,t.i);for(const i of Ce(Object.keys(l)))Ne(s,i,n[i],l[i],o,t.i)};function Ce(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var V=!1,q=!1,z=!1,C=!1,ie=[],ae=[],Y=(e,t,o)=>{var s;const n=t.m[o];let l,i,a,r=0;if(V||(z=!0,n.O==="slot"&&(n.i|=n.m?2:1)),n.h!=null)l=n.S=w.document.createTextNode(n.h);else if(1&n.i)l=n.S=w.document.createTextNode(""),re(null,n,C);else{if(C||(C=n.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=n.S=w.document.createElementNS(C?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!V&&2&n.i?"slot-fb":n.O),C&&n.O==="foreignObject"&&(C=!1),re(null,n,C),n.m){const d=n.O==="template"?l.content:l;for(r=0;r<n.m.length;++r)i=Y(e,n,r),i&&d.appendChild(i)}n.O==="svg"?C=!1:l.tagName==="foreignObject"&&(C=!0)}return l["s-hn"]=L,3&n.i&&(l["s-sr"]=!0,l["s-cr"]=ne,l["s-sn"]=n.j||"",l["s-rf"]=(s=n.v)==null?void 0:s.ref,(function(d){if(d.assignedElements||d.assignedNodes||!d["s-sr"])return;const u=c=>(function(f){const m=[],h=this["s-sn"];f?.flatten&&console.error(`
2
+ Flattening is not supported for Stencil non-shadow slots.
3
+ You can use \`.childNodes\` to nested slot fallback content.
4
+ If you have a particular use case, please open an issue on the Stencil repo.
5
+ `);const S=this["s-cr"].parentElement;return(S.__childNodes?S.childNodes:(v=>{const y=[];for(let g=0;g<v.length;g++){const p=v[g]["s-nr"]||void 0;p&&p.isConnected&&y.push(p)}return y})(S.childNodes)).forEach((v=>{h===F(v)&&m.push(v)})),c?m.filter((v=>v.nodeType===1)):m}).bind(d);d.assignedElements=u(!0),d.assignedNodes=u(!1)})(l),a=e&&e.m&&e.m[o],a&&a.O===n.O&&e.S&&Te(e.S)),l},Te=e=>{_.i|=1;const t=e.closest(L.toLowerCase());if(t!=null){const o=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const n of o?s.reverse():s)n["s-sh"]!=null&&(j(t,n,o??null),n["s-sh"]=void 0,z=!0)}_.i&=-2},Z=(e,t)=>{_.i|=1;const o=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let s=e;for(;s=s.nextSibling;)s&&s["s-sn"]===e["s-sn"]&&s["s-sh"]===L&&o.push(s)}for(let s=o.length-1;s>=0;s--){const n=o[s];n["s-hn"]!==L&&n["s-ol"]&&(j(W(n).parentNode,n,W(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,z=!0),t&&Z(n,t)}_.i&=-2},Ee=(e,t,o,s,n,l)=>{let i,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===L&&(a=a.shadowRoot),o.O==="template"&&(a=a.content);n<=l;++n)s[n]&&(i=Y(null,o,n),i&&(s[n].S=i,j(a,i,W(t))))},je=(e,t,o)=>{for(let s=t;s<=o;++s){const n=e[s];if(n){const l=n.S;Ae(n),l&&(q=!0,l["s-ol"]?l["s-ol"].remove():Z(l,!0),l.remove())}}},J=(e,t,o=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:o?(o&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),W=e=>e&&e["s-ol"]||e,H=(e,t,o=!1)=>{const s=t.S=e.S,n=e.m,l=t.m,i=t.O,a=t.h;let r;a==null?(C=i==="svg"||i!=="foreignObject"&&C,i!=="slot"||V||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Te(t.S.parentElement)),re(e,t,C),n!==null&&l!==null?((d,u,c,f,m=!1)=>{let h,S,v=0,y=0,g=0,p=0,O=u.length-1,b=u[0],N=u[O],T=f.length-1,E=f[0],k=f[T];const Me=c.O==="template"?d.content:d;for(;v<=O&&y<=T;)if(b==null)b=u[++v];else if(N==null)N=u[--O];else if(E==null)E=f[++y];else if(k==null)k=f[--T];else if(J(b,E,m))H(b,E,m),b=u[++v],E=f[++y];else if(J(N,k,m))H(N,k,m),N=u[--O],k=f[--T];else if(J(b,k,m))b.O!=="slot"&&k.O!=="slot"||Z(b.S.parentNode,!1),H(b,k,m),j(Me,b.S,N.S.nextSibling),b=u[++v],k=f[--T];else if(J(N,E,m))b.O!=="slot"&&k.O!=="slot"||Z(N.S.parentNode,!1),H(N,E,m),j(Me,N.S,b.S),N=u[--O],E=f[++y];else{for(g=-1,p=v;p<=O;++p)if(u[p]&&u[p].$!==null&&u[p].$===E.$){g=p;break}g>=0?(S=u[g],S.O!==E.O?h=Y(u&&u[y],c,g):(H(S,E,m),u[g]=void 0,h=S.S),E=f[++y]):(h=Y(u&&u[y],c,y),E=f[++y]),h&&j(W(b.S).parentNode,h,W(b.S))}v>O?Ee(d,f[T+1]==null?null:f[T+1].S,c,f,y,T):y>T&&je(u,v,O)})(s,n,t,l,o):l!==null?(e.h!==null&&(s.textContent=""),Ee(s,null,t,l,0,l.length-1)):!o&&n!==null&&je(n,0,n.length-1),C&&i==="svg"&&(C=!1)):(r=s["s-cr"])?r.parentNode.textContent=a:e.h!==a&&(s.data=a)},$=[],ke=e=>{let t,o,s;const n=e.__childNodes||e.childNodes;for(const l of n){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){o=t.parentNode.__childNodes||t.parentNode.childNodes;const i=l["s-sn"];for(s=o.length-1;s>=0;s--)if(t=o[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===l["s-hn"]||t["s-sh"]&&t["s-sh"]===l["s-hn"]))if(ge(t,i)){let a=$.find((r=>r.k===t));q=!0,t["s-sn"]=t["s-sn"]||i,a?(a.k["s-sh"]=l["s-hn"],a.N=l):(t["s-sh"]=l["s-hn"],$.push({N:l,k:t})),t["s-sr"]&&$.map((r=>{ge(r.k,t["s-sn"])&&(a=$.find((d=>d.k===t)),a&&!r.N&&(r.N=a.N))}))}else $.some((a=>a.k===t))||$.push({k:t})}l.nodeType===1&&ke(l)}},Ae=e=>{e.v&&e.v.ref&&ie.push((()=>e.v.ref(null))),e.m&&e.m.map(Ae)},Qe=(e,t)=>{ae.push((()=>e(t)))},j=(e,t,o,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,o);const{slotNode:n}=(function(l,i){var a;if(!(i=i||((a=l["s-ol"])==null?void 0:a.parentElement)))return{slotNode:null,slotName:""};const r=l["s-sn"]=F(l)||"";return{slotNode:se(oe(i,"childNodes"),i.tagName,r)[0],slotName:r}})(t);return n&&!s&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,o):e?.insertBefore(t,o)},Xe=(e,t,o=!1)=>{var s,n,l,i,a;const r=e.$hostElement$,d=e.o,u=e.M||G(null,null);var c;const f=(c=t)&&c.O===be?t:U(null,null,t);if(L=r.tagName,d.C&&(f.v=f.v||{},d.C.forEach((([m,h])=>{f.v[h]=r[m]}))),o&&f.v)for(const m of Object.keys(f.v))r.hasAttribute(m)&&!["key","ref","style","class"].includes(m)&&(f.v[m]=r[m]);if(f.O=null,f.i|=4,e.M=f,f.S=u.S=r.shadowRoot||r,V=!(!(1&d.i)||128&d.i),ne=r["s-cr"],q=!1,H(u,f,o),_.i|=1,z){ke(f.S);for(const m of $){const h=m.k;if(!h["s-ol"]&&w.document){const S=w.document.createTextNode("");S["s-nr"]=h,j(h.parentNode,h["s-ol"]=S,h,o)}}for(const m of $){const h=m.k,S=m.N;if(h.nodeType===1&&o&&(h["s-ih"]=(s=h.hidden)!=null&&s),S){const v=S.parentNode;let y=S.nextSibling;if(y&&y.nodeType===1){let g=(n=h["s-ol"])==null?void 0:n.previousSibling;for(;g;){let p=(l=g["s-nr"])!=null?l:null;if(p&&p["s-sn"]===h["s-sn"]&&v===(p.__parentNode||p.parentNode)){for(p=p.nextSibling;p===h||p?.["s-sr"];)p=p?.nextSibling;if(!p||!p["s-nr"]){y=p;break}}g=g.previousSibling}}if((!y&&v!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==y)&&h!==y){if(j(v,h,y,o),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const g=w.document.createTextNode(h.nodeValue.replace(/^s-nt-/,""));g["s-hn"]=h["s-hn"],g["s-sn"]=h["s-sn"],g["s-sh"]=h["s-sh"],g["s-sr"]=h["s-sr"],g["s-ol"]=h["s-ol"],g["s-ol"]["s-nr"]=g,j(h.parentNode,g,h,o),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(i=h["s-ih"])!=null&&i)}h&&typeof S["s-rf"]=="function"&&S["s-rf"](S)}else h.nodeType===1&&(h.hidden=!0)}}if(q&&me(f.S),_.i&=-2,$.length=0,!V&&!(1&d.i)&&r["s-cr"]){const m=f.S.__childNodes||f.S.childNodes;for(const h of m)if(h["s-hn"]!==L&&!h["s-sh"]){if(o&&h["s-ih"]==null&&(h["s-ih"]=(a=h.hidden)!=null&&a),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const S=w.document.createComment("s-nt-"+h.nodeValue);S["s-sn"]=h["s-sn"],j(h.parentNode,S,h,o),h.parentNode.removeChild(h)}}}ne=void 0,ie.forEach((m=>m())),ie.length=0,ae.forEach((m=>m())),ae.length=0},$e=(e,t)=>{if(t&&!e.A&&t["s-p"]){const o=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(o-1,1),s()})))}},ce=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);$e(e,e.R);const o=()=>et(e,t);if(!t)return Ue(o);queueMicrotask((()=>{o()}))},et=(e,t)=>{const o=e.$hostElement$,s=o;if(!s)throw new Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let n;return n=I(s,t?"componentWillLoad":"componentWillUpdate",void 0,o),n=Pe(n,(()=>I(s,"componentWillRender",void 0,o))),Pe(n,(()=>st(e,s,t)))},Pe=(e,t)=>tt(e)?e.then(t).catch((o=>{console.error(o),t()})):t(),tt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",st=async(e,t,o)=>{var s;const n=e.$hostElement$,l=n["s-rc"];o&&(i=>{const a=i.o,r=i.$hostElement$,d=a.i,u=((c,f)=>{var m,h,S;const v=ye(f),y=B.get(v);if(!w.document)return v;if(c=c.nodeType===11?c:w.document,y)if(typeof y=="string"){let g,p=P.get(c=c.head||c);if(p||P.set(c,p=new Set),!p.has(v)){g=w.document.createElement("style"),g.textContent=y;const O=(m=_._)!=null?m:(function(){var b,N,T;return(T=(N=(b=w.document.head)==null?void 0:b.querySelector('meta[name="csp-nonce"]'))==null?void 0:N.getAttribute("content"))!=null?T:void 0})();if(O!=null&&g.setAttribute("nonce",O),!(1&f.i))if(c.nodeName==="HEAD"){const b=c.querySelectorAll("link[rel=preconnect]"),N=b.length>0?b[b.length-1].nextSibling:c.querySelector("style");c.insertBefore(g,N?.parentNode===c?N:null)}else if("host"in c)if(K){const b=new((h=c.defaultView)!=null?h:c.ownerDocument.defaultView).CSSStyleSheet;b.replaceSync(y),Q?c.adoptedStyleSheets.unshift(b):c.adoptedStyleSheets=[b,...c.adoptedStyleSheets]}else{const b=c.querySelector("style");b?b.textContent=y+b.textContent:c.prepend(g)}else c.append(g);1&f.i&&c.insertBefore(g,null),4&f.i&&(g.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),p&&p.add(v)}}else{let g=P.get(c);if(g||P.set(c,g=new Set),!g.has(v)){const p=(S=c.defaultView)!=null?S:c.ownerDocument.defaultView;let O;if(y.constructor===p.CSSStyleSheet)O=y;else{O=new p.CSSStyleSheet;for(let b=0;b<y.cssRules.length;b++)O.insertRule(y.cssRules[b].cssText,b)}Q?c.adoptedStyleSheets.push(O):c.adoptedStyleSheets=[...c.adoptedStyleSheets,O],g.add(v)}}return v})(r.shadowRoot?r.shadowRoot:r.getRootNode(),a);10&d&&(r["s-sc"]=u,r.classList.add(u+"-h"))})(e),ot(e,t,n,o),l&&(l.map((i=>i())),n["s-rc"]=void 0);{const i=(s=n["s-p"])!=null?s:[],a=()=>nt(e);i.length===0?a():(Promise.all(i).then(a).catch(a),e.i|=4,i.length=0)}},ot=(e,t,o,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,Xe(e,t,s)}catch(n){R(n,e.$hostElement$)}return null},nt=e=>{const t=e.$hostElement$,o=t,s=e.R;I(o,"componentDidRender",void 0,t),64&e.i?I(o,"componentDidUpdate",void 0,t):(e.i|=64,rt(t),I(o,"componentDidLoad",void 0,t),e.L(t),s||lt()),e.A&&(e.A(),e.A=void 0),512&e.i&&te((()=>ce(e,!1))),e.i&=-517},lt=()=>{te((()=>Ze(w,"appload",{detail:{namespace:"gids-core-web"}})))},I=(e,t,o,s)=>{if(e&&e[t])try{return e[t](o)}catch(n){R(n,s)}},rt=e=>e.classList.add("hydrated"),xe=(e,t,o,s)=>{const n=A(e);if(!n)return;const l=e,i=n.l.get(t),a=n.i,r=l;o=we(o,s.t[t][0],!!(64&s.i));const d=Number.isNaN(i)&&Number.isNaN(o);if(o!==i&&!d){if(n.l.set(t,o),s.F){const u=s.F[t];u&&u.map((c=>{try{const[[f,m]]=Object.entries(c);(128&a||1&m)&&(r?r[f](o,i,t):n.T.push((()=>{n.D[f](o,i,t)})))}catch(f){R(f,l)}}))}if(2&a){if(r.componentShouldUpdate&&r.componentShouldUpdate(o,i,t)===!1&&!(16&a))return;16&a||ce(n,!1)}}},it=(e,t,o)=>{var s,n;const l=e.prototype;64&t.i&&1&o&&Ve.forEach((i=>{const a=l[i];Object.defineProperty(l,i,{value(...r){var d;const u=A(this),c=this;c?typeof a=="function"&&a.call(c,...r):(d=u?.H)==null||d.then((f=>{const m=f[i];typeof m=="function"&&m.call(f,...r)}))}})}));{e.watchers&&!t.F&&(t.F=Se(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const i=Object.entries((s=t.t)!=null?s:{});i.map((([a,[r]])=>{if(31&r||32&r){const{get:d,set:u}=D(l,a)||{};d&&(t.t[a][0]|=2048),u&&(t.t[a][0]|=4096),Object.defineProperty(l,a,{get(){return d?d.apply(this):(c=a,A(this).l.get(c));var c},configurable:!0,enumerable:!0}),Object.defineProperty(l,a,{set(c){const f=A(this);if(f){if(u)return(32&r?this[a]:f.$hostElement$[a])===void 0&&f.l.get(a)&&(c=f.l.get(a)),u.apply(this,[we(c,r,!!(64&t.i))]),void xe(this,a,c=32&r?this[a]:f.$hostElement$[a],t);xe(this,a,c,t)}}})}}));{const a=new Map;l.attributeChangedCallback=function(r,d,u){_.jmp((()=>{var c;const f=a.get(r),m=A(this);if(this.hasOwnProperty(f),l.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==u)return;if(f==null){const g=m?.i;if(m&&g&&!(8&g)&&u!==d){const p=this,O=(c=t.F)==null?void 0:c[r];O?.forEach((b=>{const[[N,T]]=Object.entries(b);p[N]!=null&&(128&g||1&T)&&p[N].call(p,u,d,r)}))}return}const h=i.find((([g])=>g===f)),S=h&&4&h[1][0],v=S&&u===null&&this[f]===void 0;S&&(u=u!==null&&u!=="false");const y=Object.getOwnPropertyDescriptor(l,f);v||u==this[f]||y.get&&!y.set||(this[f]=u)}))},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.F)!=null?n:{}),...i.filter((([r,d])=>31&d[0])).map((([r,d])=>{var u;const c=d[1]||r;return a.set(c,r),512&d[0]&&((u=t.C)==null||u.push([r,c])),c}))]))}}return e},at=(e,t)=>{const o={i:t[0],p:t[1]};try{o.t=t[2],o.W=t[3],o.F=Se(e.F),o.P=e.P,o.U=e.U,o.C=[];const s=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((l,i)=>{const a={i:0,$hostElement$:l,o:i,l:new Map,B:new Map};a.H=new Promise((d=>a.L=d)),l["s-p"]=[],l["s-rc"]=[];const r=a;l.__stencil__getHostRef=()=>r,512&i.i&&Fe(l,a)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const l=A(this);if(!l)return;Re(this,l,o.W),this.__hasHostListenerAttached=!0}(l=>{if(!(1&_.i)){const i=A(l);if(!i)return;const a=i.o;if(1&i.i)Re(l,i,a.W),i?.D||i?.H&&i.H.then((()=>{}));else{i.i|=1,12&a.i&&(r=>{if(!w.document)return;const d=r["s-cr"]=w.document.createComment("");d["s-cn"]=!0,j(r,d,r.firstChild)})(l);{let r=l;for(;r=r.parentNode||r.host;)if(r["s-p"]){$e(i,i.R=r);break}}a.t&&Object.entries(a.t).map((([r,[d]])=>{if(31&d&&Object.prototype.hasOwnProperty.call(l,r)){const u=l[r];delete l[r],l[r]=u}})),(async(r,d,u)=>{let c;try{if(!(32&d.i)&&(d.i|=32,c=r.constructor,customElements.whenDefined(r.localName).then((()=>d.i|=128)),c&&c.style)){let h;typeof c.style=="string"&&(h=c.style);const S=ye(u);B.has(S)||((v,y,g)=>{let p=B.get(v);K&&g?(p=p||new CSSStyleSheet,typeof p=="string"?p=y:p.replaceSync(y)):p=y,B.set(v,p)})(S,h,!!(1&u.i))}const f=d.R,m=()=>ce(d,!0);f&&f["s-rc"]?f["s-rc"].push(m):m()}catch(f){R(f,r),d.A&&(d.A(),d.A=void 0),d.L&&d.L(r)}})(l,i,a)}}})(this),s&&s.call(this)},disconnectedCallback(){(async l=>{if(!(1&_.i)){const i=A(l);i?.V&&(i.V.map((a=>a())),i.V=void 0)}P.has(l)&&P.delete(l),l.shadowRoot&&P.has(l.shadowRoot)&&P.delete(l.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${o.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Ge.call(this,o)}}),Object.defineProperty(e,"is",{value:o.p,configurable:!0}),it(e,o,3)}catch(s){return R(s),e}},Re=(e,t,o)=>{o&&w.document&&o.map((([s,n,l])=>{const i=dt(w.document,e,s),a=ct(t,l),r=ut(s);_.ael(i,n,a,r),(t.V=t.V||[]).push((()=>_.rel(i,n,a,r)))}))},ct=(e,t)=>o=>{try{e.$hostElement$[t](o)}catch(s){R(s,e.$hostElement$)}},dt=(e,t,o)=>8&o?w:t,ut=e=>Ie?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function yt(e){return e}function Le(e){var t,o,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(o=Le(e[t]))&&(s&&(s+=" "),s+=o)}else for(o in e)e[o]&&(s&&(s+=" "),s+=o);return s}function ft(){for(var e,t,o=0,s="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=Le(e))&&(s&&(s+=" "),s+=t);return s}const ht=Object.freeze(Object.defineProperty({__proto__:null,getGidsTabClassNames:({width:e,appearance:t},o)=>ft("gids-tab",{"gids-tab--full":e==="full","gids-tab--item-subtle":t==="subtle","gids-tab--item-underlined":t==="underlined"},o)},Symbol.toStringTag,{value:"Module"})),{getGidsTabClassNames:pt}=ht,De=at(class extends We{constructor(e){super(),e!==!1&&this.__registerHost(),this.width="intrinsic",this.appearance="default"}handleWidthChange(e){this.width=e}handleAppearanceChange(e){this.appearance=e}handleActiveTabIdChange(e){this.activeTabId=e}componentDidLoad(){this.syncPropsToChildren(),this.hostElement.addEventListener("slotchange",(()=>this.syncPropsToChildren()))}componentDidUpdate(){this.syncPropsToChildren()}syncPropsToChildren(){this.hostElement.querySelectorAll("gids-tab-item").forEach((e=>{e&&(e.appearance=this.appearance,e.width=this.width,e.active=this.isTabActive(e.itemId),e.onPressGidsTabItem=t=>{this.activeTabId=t?.itemId,this.onPressGidsTab&&this.onPressGidsTab(t),this.syncPropsToChildren()})}))}isTabActive(e){return e===this.activeTabId}render(){const e=pt({width:this.width,appearance:this.appearance});return U(be,{key:"cc7d6cde876ed48c224b7226f750bb5e4bb4cbf1",class:e},U("slot",{key:"bb499ecb3dfd5cba0fb59b1f22ec135fe435b28c"}))}get hostElement(){return this}static get watchers(){return{width:[{handleWidthChange:0}],appearance:[{handleAppearanceChange:0}],activeTabId:[{handleActiveTabIdChange:0}]}}static get style(){return".gids-tab{display:inline-flex;align-items:center;justify-content:flex-start;gap:var(--gids-gap-150)}.gids-tab--full{display:flex}.gids-tab--item-subtle{gap:0}.gids-tab--item-underlined{gap:0}"}},[260,"gids-tab",{width:[1],appearance:[1],activeTabId:[1,"active-tab-id"],onPressGidsTab:[16]},void 0,{width:[{handleWidthChange:0}],appearance:[{handleAppearanceChange:0}],activeTabId:[{handleActiveTabIdChange:0}]}]);function He(){typeof customElements<"u"&&["gids-tab"].forEach((e=>{e==="gids-tab"&&(customElements.get(e)||customElements.define(e,De))}))}He();const mt=De,gt=He;x.GidsTab=mt,x.defineCustomElement=gt,Object.defineProperty(x,Symbol.toStringTag,{value:"Module"})}));