@ganpatiinfo/gids-core-web 9.0.0 → 10.1.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 (218) hide show
  1. package/dist/css/index.css +1504 -1
  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 +11 -0
  6. package/dist/gids-activity-gauge.js +1 -0
  7. package/dist/gids-bar-chart.d.ts +11 -0
  8. package/dist/gids-bar-chart.js +1 -0
  9. package/dist/gids-calendar-header-panel.d.ts +11 -0
  10. package/dist/gids-calendar-header-panel.js +1 -0
  11. package/dist/gids-calendar-month-list.d.ts +11 -0
  12. package/dist/gids-calendar-month-list.js +1 -0
  13. package/dist/gids-calendar-year-list.d.ts +11 -0
  14. package/dist/gids-calendar-year-list.js +1 -0
  15. package/dist/gids-calendar.d.ts +11 -0
  16. package/dist/gids-calendar.js +1 -0
  17. package/dist/gids-chart-legend-item.d.ts +11 -0
  18. package/dist/gids-chart-legend-item.js +1 -0
  19. package/dist/gids-chart-legend.d.ts +11 -0
  20. package/dist/gids-chart-legend.js +1 -0
  21. package/dist/gids-chart.d.ts +11 -0
  22. package/dist/gids-chart.js +1 -0
  23. package/dist/gids-chevron-button.d.ts +11 -0
  24. package/dist/gids-chevron-button.js +1 -0
  25. package/dist/gids-dot.d.ts +11 -0
  26. package/dist/gids-dot.js +1 -0
  27. package/dist/gids-dropdown-field.d.ts +11 -0
  28. package/dist/gids-dropdown-field.js +1 -0
  29. package/dist/gids-dropdown-picker.d.ts +11 -0
  30. package/dist/gids-dropdown-picker.js +1 -0
  31. package/dist/gids-dropdown.d.ts +11 -0
  32. package/dist/gids-dropdown.js +1 -0
  33. package/dist/gids-field.js +1 -1
  34. package/dist/gids-filter.d.ts +11 -0
  35. package/dist/gids-filter.js +1 -0
  36. package/dist/gids-icon.js +1 -1
  37. package/dist/gids-input.js +1 -1
  38. package/dist/gids-level-gauge.d.ts +11 -0
  39. package/dist/gids-level-gauge.js +1 -0
  40. package/dist/gids-line-chart.d.ts +11 -0
  41. package/dist/gids-line-chart.js +1 -0
  42. package/dist/gids-notification.js +1 -1
  43. package/dist/gids-overflow-container.js +1 -1
  44. package/dist/gids-overlay-provider.js +1 -1
  45. package/dist/gids-password-field.js +1 -1
  46. package/dist/gids-pie-chart.d.ts +11 -0
  47. package/dist/gids-pie-chart.js +1 -0
  48. package/dist/gids-popover.js +1 -1
  49. package/dist/gids-progress-circle.d.ts +11 -0
  50. package/dist/gids-progress-circle.js +1 -0
  51. package/dist/gids-scrim.js +1 -1
  52. package/dist/gids-snackbar.js +1 -1
  53. package/dist/gids-text-field.js +1 -1
  54. package/dist/gids-toggle-button.js +1 -1
  55. package/dist/gids-tooltip.js +1 -1
  56. package/dist/index.js +1 -1
  57. package/dist/{p-DvoHLz_5.js → p-BQ-ZnlnH.js} +1 -1
  58. package/dist/p-BZCJlqVe.js +1 -0
  59. package/dist/p-Bf3p-DY2.js +1 -0
  60. package/dist/p-BpQB6ncp.js +1 -0
  61. package/dist/{p-DybsMR13.js → p-CHGTBObD.js} +1 -1
  62. package/dist/p-CP1wz2PI.js +1 -0
  63. package/dist/p-CQH7eAs3.js +1 -0
  64. package/dist/p-CW7tw1Fb.js +1 -0
  65. package/dist/p-CaauwQNd.js +1 -0
  66. package/dist/p-Cn3-K5eR.js +1 -0
  67. package/dist/p-CoS0NuDU.js +1 -0
  68. package/dist/{p-veoOgDXg.js → p-D4Pimu_8.js} +1 -1
  69. package/dist/p-D6lxqcxP.js +1 -0
  70. package/dist/p-DMNS1d8v.js +1 -0
  71. package/dist/{p-iCAclJND.js → p-DNTv2BQ5.js} +1 -1
  72. package/dist/p-DPIK2ayL.js +1 -0
  73. package/dist/p-Db62Pz3n.js +1 -0
  74. package/dist/p-Degg_WJz.js +1 -0
  75. package/dist/p-DfxTsSdZ.js +1 -0
  76. package/dist/p-Dg2yoUxw.js +1 -0
  77. package/dist/p-DmLoB2Dn.js +1 -0
  78. package/dist/p-DoCwI_bx.js +1 -0
  79. package/dist/p-H1JIMJ2t.js +1 -0
  80. package/dist/p-JjN8U9B5.js +1 -0
  81. package/dist/p-UVmSPzTd.js +1 -0
  82. package/dist/p-UxDcM-C5.js +1 -0
  83. package/dist/p-V48JyMbP.js +1 -0
  84. package/dist/p-mZJdpfOo.js +1 -0
  85. package/dist/types/components/html/GidsButtonGroup/GidsButtonGroup.d.ts +2 -2
  86. package/dist/types/components/html/GidsCalendarCell/GidsCalendarCell.d.ts +7 -0
  87. package/dist/types/components/html/GidsCalendarDayCell/GidsCalendarDayCell.d.ts +4 -0
  88. package/dist/types/components/html/GidsDropdownItem/GidsDropdownItem.d.ts +1 -1
  89. package/dist/types/components/html/GidsDropdownMenu/GidsDropdownMenu.d.ts +1 -1
  90. package/dist/types/components/html/GidsDropdownMenuGroup/GidsDropdownMenuGroup.d.ts +1 -1
  91. package/dist/types/components/html/GidsListItem/GidsListItem.d.ts +2 -2
  92. package/dist/types/components/html/GidsPageTitle/GidsPageTitle.d.ts +4 -0
  93. package/dist/types/components/webComponents/GidsActionBar/GidsActionBar.d.ts +59 -0
  94. package/dist/types/components/webComponents/GidsActivityGauge/GidsActivityGauge.d.ts +23 -0
  95. package/dist/types/components/webComponents/GidsBarChart/GidsBarChart.d.ts +27 -0
  96. package/dist/types/components/webComponents/GidsCalendar/GidsCalendar.d.ts +34 -0
  97. package/dist/types/components/webComponents/GidsCalendarHeaderPanel/GidsCalendarHeaderPanel.d.ts +67 -0
  98. package/dist/types/components/webComponents/GidsCalendarMonthList/GidsCalendarMonthList.d.ts +26 -0
  99. package/dist/types/components/webComponents/GidsCalendarYearList/GidsCalendarYearList.d.ts +31 -0
  100. package/dist/types/components/webComponents/GidsChart/GidsChart.d.ts +19 -0
  101. package/dist/types/components/webComponents/GidsChartLegend/GidsChartLegend.d.ts +7 -0
  102. package/dist/types/components/webComponents/GidsChartLegendItem/GidsChartLegendItem.d.ts +9 -0
  103. package/dist/types/components/webComponents/GidsChevronButton/GidsChevronButton.d.ts +21 -0
  104. package/dist/types/components/webComponents/GidsDot/GidsDot.d.ts +17 -0
  105. package/dist/types/components/webComponents/GidsDropdown/GidsDropdown.d.ts +78 -0
  106. package/dist/types/components/webComponents/GidsDropdownField/GidsDropdownField.d.ts +37 -0
  107. package/dist/types/components/webComponents/GidsDropdownPicker/GidsDropdownPicker.d.ts +52 -0
  108. package/dist/types/components/webComponents/GidsFilter/GidsFilter.d.ts +55 -0
  109. package/dist/types/components/webComponents/GidsLevelGauge/GidsLevelGauge.d.ts +22 -0
  110. package/dist/types/components/webComponents/GidsLineChart/GidsLineChart.d.ts +27 -0
  111. package/dist/types/components/webComponents/GidsPieChart/GidsPieChart.d.ts +23 -0
  112. package/dist/types/components/webComponents/GidsProgressCircle/GidsProgressCircle.d.ts +24 -0
  113. package/dist/types/components/webComponents/GidsToggleButton/GidsToggleButton.d.ts +5 -3
  114. package/dist/types/components.d.ts +1585 -49
  115. package/dist/types/utils/childrenValidityUtils.d.ts +1 -1
  116. package/dist-bundled/es/gids-action-bar.js +177 -0
  117. package/dist-bundled/es/gids-activity-gauge.js +6 -0
  118. package/dist-bundled/es/gids-bar-chart.js +6 -0
  119. package/dist-bundled/es/gids-calendar-header-panel.js +6 -0
  120. package/dist-bundled/es/gids-calendar-month-list.js +6 -0
  121. package/dist-bundled/es/gids-calendar-year-list.js +6 -0
  122. package/dist-bundled/es/gids-calendar.js +153 -0
  123. package/dist-bundled/es/gids-chart-legend-item.js +6 -0
  124. package/dist-bundled/es/gids-chart-legend.js +6 -0
  125. package/dist-bundled/es/gids-chart.js +108 -0
  126. package/dist-bundled/es/gids-chevron-button.js +56 -0
  127. package/dist-bundled/es/gids-dot.js +6 -0
  128. package/dist-bundled/es/gids-dropdown-field.js +88 -0
  129. package/dist-bundled/es/gids-dropdown-picker.js +6 -0
  130. package/dist-bundled/es/gids-dropdown.js +6 -0
  131. package/dist-bundled/es/gids-field.js +1 -1
  132. package/dist-bundled/es/gids-filter.js +6 -0
  133. package/dist-bundled/es/gids-icon.js +3 -29
  134. package/dist-bundled/es/gids-input.js +4 -4
  135. package/dist-bundled/es/gids-level-gauge.js +6 -0
  136. package/dist-bundled/es/gids-line-chart.js +6 -0
  137. package/dist-bundled/es/gids-notification.js +1 -1
  138. package/dist-bundled/es/gids-overflow-container.js +6 -6
  139. package/dist-bundled/es/gids-overlay-provider.js +17 -17
  140. package/dist-bundled/es/gids-password-field.js +39 -38
  141. package/dist-bundled/es/gids-pie-chart.js +6 -0
  142. package/dist-bundled/es/gids-popover.js +10 -10
  143. package/dist-bundled/es/gids-progress-circle.js +6 -0
  144. package/dist-bundled/es/gids-scrim.js +8 -8
  145. package/dist-bundled/es/gids-snackbar.js +1 -1
  146. package/dist-bundled/es/gids-text-field.js +15 -14
  147. package/dist-bundled/es/gids-toggle-button.js +4 -44
  148. package/dist-bundled/es/gids-tooltip.js +2 -2
  149. package/dist-bundled/es/index.js +3 -3
  150. package/dist-bundled/es/{p-DvoHLz_5-C5EvA91N.js → p-BQ-ZnlnH-CUVdDHzX.js} +5 -5
  151. package/dist-bundled/es/p-BZCJlqVe-BcSwze-q.js +71 -0
  152. package/dist-bundled/es/p-Bf3p-DY2-CPqEc-vc.js +672 -0
  153. package/dist-bundled/es/p-BpQB6ncp-C2AWddf-.js +180 -0
  154. package/dist-bundled/es/{p-DybsMR13-DpmsG3Q1.js → p-CHGTBObD-EN4cCwtX.js} +3 -3
  155. package/dist-bundled/es/p-CP1wz2PI-DhVAsHFS.js +115 -0
  156. package/dist-bundled/es/p-CQH7eAs3-BVowyVGn.js +88 -0
  157. package/dist-bundled/es/p-CW7tw1Fb-DtJ5TwCU.js +92 -0
  158. package/dist-bundled/es/p-CaauwQNd-D6_PbcRr.js +20 -0
  159. package/dist-bundled/es/p-Cn3-K5eR-tQ1EOnDF.js +243 -0
  160. package/dist-bundled/es/p-CoS0NuDU-CqmDcRWj.js +56 -0
  161. package/dist-bundled/es/{p-veoOgDXg-fRinub-C.js → p-D4Pimu_8-DfEGRQGf.js} +9 -9
  162. package/dist-bundled/es/p-D6lxqcxP-DWrZi1Xi.js +74 -0
  163. package/dist-bundled/es/p-DMNS1d8v-CHF62UXm.js +29 -0
  164. package/dist-bundled/es/{p-iCAclJND-Bmsvd-W1.js → p-DNTv2BQ5-Bwgd30mM.js} +6 -6
  165. package/dist-bundled/es/p-DPIK2ayL-DPEbctqo.js +71 -0
  166. package/dist-bundled/es/p-Db62Pz3n-DpQjwBYb.js +31 -0
  167. package/dist-bundled/es/p-Degg_WJz-BLua06el.js +55 -0
  168. package/dist-bundled/es/p-DfxTsSdZ-C2Afv1lS.js +67 -0
  169. package/dist-bundled/es/p-Dg2yoUxw-Cca8ROd_.js +25 -0
  170. package/dist-bundled/es/p-DmLoB2Dn-D-FSoCvI.js +44 -0
  171. package/dist-bundled/es/p-DoCwI_bx-BXHlZI7-.js +37 -0
  172. package/dist-bundled/es/p-H1JIMJ2t-DEXp7M4I.js +152 -0
  173. package/dist-bundled/es/p-JjN8U9B5-GeWjfJBY.js +135 -0
  174. package/dist-bundled/es/{p-CFw4_-5A-Dzvju3VE.js → p-UVmSPzTd-DiTxS9kW.js} +9 -9
  175. package/dist-bundled/es/p-UxDcM-C5-Dr5d_WpJ.js +15 -0
  176. package/dist-bundled/es/p-V48JyMbP-Bx-0od-Z.js +80 -0
  177. package/dist-bundled/es/p-mZJdpfOo-DicbKil0.js +47 -0
  178. package/dist-bundled/umd/gids-action-bar.umd.js +7 -0
  179. package/dist-bundled/umd/gids-activity-gauge.umd.js +5 -0
  180. package/dist-bundled/umd/gids-bar-chart.umd.js +13 -0
  181. package/dist-bundled/umd/gids-calendar-header-panel.umd.js +5 -0
  182. package/dist-bundled/umd/gids-calendar-month-list.umd.js +5 -0
  183. package/dist-bundled/umd/gids-calendar-year-list.umd.js +5 -0
  184. package/dist-bundled/umd/gids-calendar.umd.js +5 -0
  185. package/dist-bundled/umd/gids-chart-legend-item.umd.js +5 -0
  186. package/dist-bundled/umd/gids-chart-legend.umd.js +5 -0
  187. package/dist-bundled/umd/gids-chart.umd.js +13 -0
  188. package/dist-bundled/umd/gids-chevron-button.umd.js +5 -0
  189. package/dist-bundled/umd/gids-dot.umd.js +5 -0
  190. package/dist-bundled/umd/gids-dropdown-field.umd.js +5 -0
  191. package/dist-bundled/umd/gids-dropdown-picker.umd.js +5 -0
  192. package/dist-bundled/umd/gids-dropdown.umd.js +5 -0
  193. package/dist-bundled/umd/gids-field.umd.js +2 -2
  194. package/dist-bundled/umd/gids-filter.umd.js +7 -0
  195. package/dist-bundled/umd/gids-icon.umd.js +2 -2
  196. package/dist-bundled/umd/gids-input.umd.js +2 -2
  197. package/dist-bundled/umd/gids-level-gauge.umd.js +5 -0
  198. package/dist-bundled/umd/gids-line-chart.umd.js +5 -0
  199. package/dist-bundled/umd/gids-notification.umd.js +2 -2
  200. package/dist-bundled/umd/gids-overflow-container.umd.js +2 -2
  201. package/dist-bundled/umd/gids-overlay-provider.umd.js +2 -2
  202. package/dist-bundled/umd/gids-password-field.umd.js +2 -2
  203. package/dist-bundled/umd/gids-pie-chart.umd.js +5 -0
  204. package/dist-bundled/umd/gids-popover.umd.js +2 -2
  205. package/dist-bundled/umd/gids-progress-circle.umd.js +5 -0
  206. package/dist-bundled/umd/gids-scrim.umd.js +2 -2
  207. package/dist-bundled/umd/gids-snackbar.umd.js +2 -2
  208. package/dist-bundled/umd/gids-text-field.umd.js +2 -2
  209. package/dist-bundled/umd/gids-toggle-button.umd.js +3 -3
  210. package/dist-bundled/umd/gids-tooltip.umd.js +2 -2
  211. package/dist-bundled/umd/index.umd.js +2 -2
  212. package/dist-bundled/umd-complete/gids-core-web.umd.js +11 -3
  213. package/package.json +164 -4
  214. package/dist/p-CFw4_-5A.js +0 -1
  215. package/dist/p-DijVkS9b.js +0 -1
  216. package/dist/p-ibikYq-w.js +0 -1
  217. package/dist-bundled/es/p-DijVkS9b-CeV1i4T-.js +0 -35
  218. package/dist-bundled/es/p-ibikYq-w-BsGxk8ro.js +0 -635
@@ -1,5 +1,5 @@
1
- (function(L,R){typeof exports=="object"&&typeof module<"u"?R(exports):typeof define=="function"&&define.amd?define(["exports"],R):(L=typeof globalThis<"u"?globalThis:L||self,R(L.gidsCoreWebGidsInput={}))})(this,(function(L){"use strict";function R(e,t,n){const s=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==s;){const o=Object.getOwnPropertyDescriptor(e,t);if(o&&(!n||o.get))return o;e=Object.getPrototypeOf(e)}}var D,tt=(e,t)=>{var n;Object.entries((n=t.o.t)!=null?n:{}).map((([s,[o]])=>{if(31&o||32&o){const r=e[s],l=R(Object.getPrototypeOf(e),s,!0)||Object.getOwnPropertyDescriptor(e,s);l&&Object.defineProperty(e,s,{get(){return l.get.call(this)},set(c){l.set.call(this,c)},configurable:!0,enumerable:!0}),t.l.has(s)?e[s]=t.l.get(s):r!==void 0&&(e[s]=r)}}))},j=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},ve=(e,t)=>t in e,M=(e,t)=>(0,console.error)(e,t),W=new Map,ye="http://www.w3.org/1999/xlink",w=typeof window<"u"?window:{},st=w.HTMLElement||class{},A={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},Q=(()=>{try{return!!w.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),ee=!!Q&&!!w.document&&Object.getOwnPropertyDescriptor(w.document.adoptedStyleSheets,"length").writable,te=!1,be=[],Se=[],nt=(e,t)=>n=>{e.push(n),te||(te=!0,4&A.i?ne(se):A.raf(se))},we=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){M(n)}e.length=0},se=()=>{we(be),we(Se),(te=be.length>0)&&A.raf(se)},ne=e=>Promise.resolve(void 0).then(e),ot=nt(Se);function rt(){const e=this.attachShadow({mode:"open"});D===void 0&&(D=null),D&&(ee?e.adoptedStyleSheets.push(D):e.adoptedStyleSheets=[...e.adoptedStyleSheets,D])}var _e=e=>{const t=re(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=!!it(s,V(s),!1).length)}));let n=0;for(n=0;n<t.length;n++){const s=t[n];s.nodeType===1&&re(s,"childNodes").length&&_e(s)}};function oe(e,t,n){let s,o=0,r=[];for(;o<e.length;o++){if(s=e[o],s["s-sr"]&&(!t||s["s-hn"]===t)&&(n===void 0||V(s)===n)&&(r.push(s),n!==void 0))return r;r=[...r,...oe(s.childNodes,t,n)]}return r}var it=(e,t,n=!0)=>{const s=[];(n&&e["s-sr"]||!e["s-sr"])&&s.push(e);let o=e;for(;o=o.nextSibling;)V(o)!==t||!n&&o["s-sr"]||s.push(o);return s},Ne=(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 re(e,t){if("__"+t in e){const n=e["__"+t];return typeof n!="function"?n:n.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var ie,I,T=new WeakMap,ke=e=>"sc-"+e.p,le=e=>(e=typeof e)=="object"||e==="function",N=(e,t,...n)=>{let s=null,o=null,r=null,l=!1,c=!1;const i=[],d=a=>{for(let h=0;h<a.length;h++)s=a[h],Array.isArray(s)?d(s):s!=null&&typeof s!="boolean"&&((l=typeof e!="function"&&!le(s))&&(s=String(s)),l&&c?i[i.length-1].h+=s:i.push(l?q(null,s):s),c=l)};if(d(n),t){t.key&&(o=t.key),t.name&&(r=t.name);{const a=t.className||t.class;a&&(t.class=typeof a!="object"?a:Object.keys(a).filter((h=>a[h])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,i,at);const f=q(e,null);return f.v=t,i.length>0&&(f.m=i),f.$=o,f.j=r,f},q=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),lt={},at={forEach:(e,t)=>e.map(Ae).forEach(t),map:(e,t)=>e.map(Ae).map(t).map(ct)},Ae=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),ct=e=>{if(typeof e.vtag=="function"){const n={...e.vattrs};return e.vkey&&(n.key=e.vkey),e.vname&&(n.name=e.vname),N(e.vtag,n,...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},Ee=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let n=!1;for(const o of t){if(n)break;for(const r of e[o])if(typeof r=="string"){n=!0;break}}if(!n)return e;const s={};for(const o of t)s[o]=e[o].map((r=>typeof r=="string"?{[r]:0}:r));return s},Oe=(e,t)=>e==null||le(e)?e:4&t?e!=="false"&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,dt=(e,t,n)=>{const s=A.ce(t,n);return e.dispatchEvent(s),s},$e=(e,t,n,s,o,r)=>{if(n===s)return;let l=ve(e,t),c=t.toLowerCase();if(t==="class"){const i=e.classList,d=xe(n);let f=xe(s);i.remove(...d.filter((a=>a&&!f.includes(a)))),i.add(...f.filter((a=>a&&!d.includes(a))))}else if(t==="style"){for(const i in n)s&&s[i]!=null||(i.includes("-")?e.style.removeProperty(i):e.style[i]="");for(const i in s)n&&s[i]===n[i]||(i.includes("-")?e.style.setProperty(i,s[i]):e.style[i]=s[i])}else if(t!=="key"){if(t==="ref")s&&ht(s,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const i=t.slice(5);let d;{const f=j(e);if(f&&f.o&&f.o.t){const a=f.o.t[i];a&&a[1]&&(d=a[1])}}return d||(d=i.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 i=t.slice(5);try{e[i]=s}catch{}return}{const i=le(s);if((l||i&&s!==null)&&!o)try{if(e.tagName.includes("-"))e[t]!==s&&(e[t]=s);else{const f=s??"";t==="list"?l=!1:n!=null&&e[t]===f||(typeof e.__lookupSetter__(t)=="function"?e[t]=f:e.setAttribute(t,f))}}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(ye,t):e.removeAttribute(t)):(!l||4&r||o)&&!i&&e.nodeType===1&&(s=s===!0?"":s,d?e.setAttributeNS(ye,t,s):e.setAttribute(t,s))}}else if(t=t[2]==="-"?t.slice(3):ve(w,c)?c.slice(2):c[2]+t.slice(3),n||s){const i=t.endsWith(Pe);t=t.replace(ft,""),n&&A.rel(e,t,n,i),s&&A.ael(e,t,s,i)}}},ut=/\s/,xe=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(ut):[]),Pe="Capture",ft=new RegExp(Pe+"$"),ae=(e,t,n)=>{const s=t.S.nodeType===11&&t.S.host?t.S.host:t.S,o=e&&e.v||{},r=t.v||{};for(const l of Ce(Object.keys(o)))l in r||$e(s,l,o[l],void 0,n,t.i);for(const l of Ce(Object.keys(r)))$e(s,l,o[l],r[l],n,t.i)};function Ce(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var F=!1,U=!1,z=!1,E=!1,ce=[],de=[],K=(e,t,n)=>{var s;const o=t.m[n];let r,l,c,i=0;if(F||(z=!0,o.O==="slot"&&(o.i|=o.m?2:1)),o.h!=null)r=o.S=w.document.createTextNode(o.h);else if(1&o.i)r=o.S=w.document.createTextNode(""),ae(null,o,E);else{if(E||(E=o.O==="svg"),!w.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(r=o.S=w.document.createElementNS(E?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!F&&2&o.i?"slot-fb":o.O),E&&o.O==="foreignObject"&&(E=!1),ae(null,o,E),o.m){const d=o.O==="template"?r.content:r;for(i=0;i<o.m.length;++i)l=K(e,o,i),l&&d.appendChild(l)}o.O==="svg"?E=!1:r.tagName==="foreignObject"&&(E=!0)}return r["s-hn"]=I,3&o.i&&(r["s-sr"]=!0,r["s-cr"]=ie,r["s-sn"]=o.j||"",r["s-rf"]=(s=o.v)==null?void 0:s.ref,(function(d){if(d.assignedElements||d.assignedNodes||!d["s-sr"])return;const f=a=>(function(h){const m=[],u=this["s-sn"];h?.flatten&&console.error(`
1
+ (function(L,R){typeof exports=="object"&&typeof module<"u"?R(exports):typeof define=="function"&&define.amd?define(["exports"],R):(L=typeof globalThis<"u"?globalThis:L||self,R(L.gidsCoreWebGidsInput={}))})(this,(function(L){"use strict";function R(e,t,n){const s=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==s;){const o=Object.getOwnPropertyDescriptor(e,t);if(o&&(!n||o.get))return o;e=Object.getPrototypeOf(e)}}var D,st=(e,t)=>{var n;Object.entries((n=t.o.t)!=null?n:{}).map((([s,[o]])=>{if(31&o||32&o){const l=e[s],i=R(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)}}))},x=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},ve=(e,t)=>t in e,I=(e,t)=>(0,console.error)(e,t),W=new Map,ye="http://www.w3.org/1999/xlink",nt=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],w=typeof window<"u"?window:{},ot=w.HTMLElement||class{},E={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},lt=(()=>{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})(),ee=!!Q&&!!w.document&&Object.getOwnPropertyDescriptor(w.document.adoptedStyleSheets,"length").writable,te=!1,be=[],Se=[],rt=(e,t)=>n=>{e.push(n),te||(te=!0,4&E.i?ne(se):E.raf(se))},we=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){I(n)}e.length=0},se=()=>{we(be),we(Se),(te=be.length>0)&&E.raf(se)},ne=e=>Promise.resolve(void 0).then(e),it=rt(Se);function at(){const e=this.attachShadow({mode:"open"});D===void 0&&(D=null),D&&(ee?e.adoptedStyleSheets.push(D):e.adoptedStyleSheets=[...e.adoptedStyleSheets,D])}var _e=e=>{const t=le(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=!!ct(s,B(s),!1).length)}));let n=0;for(n=0;n<t.length;n++){const s=t[n];s.nodeType===1&&le(s,"childNodes").length&&_e(s)}};function oe(e,t,n){let s,o=0,l=[];for(;o<e.length;o++){if(s=e[o],s["s-sr"]&&(!t||s["s-hn"]===t)&&(n===void 0||B(s)===n)&&(l.push(s),n!==void 0))return l;l=[...l,...oe(s.childNodes,t,n)]}return l}var ct=(e,t,n=!0)=>{const s=[];(n&&e["s-sr"]||!e["s-sr"])&&s.push(e);let o=e;for(;o=o.nextSibling;)B(o)!==t||!n&&o["s-sr"]||s.push(o);return s},Ne=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",B=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function le(e,t){if("__"+t in e){const n=e["__"+t];return typeof n!="function"?n:n.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var re,M,T=new WeakMap,ke=e=>"sc-"+e.p,ie=e=>(e=typeof e)=="object"||e==="function",k=(e,t,...n)=>{let s=null,o=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"&&!ie(s))&&(s=String(s)),i&&a?r[r.length-1].h+=s:r.push(i?q(null,s):s),a=i)};if(d(n),t){t.key&&(o=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,ut);const u=q(e,null);return u.v=t,r.length>0&&(u.m=r),u.$=o,u.j=l,u},q=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),dt={},ut={forEach:(e,t)=>e.map(Ee).forEach(t),map:(e,t)=>e.map(Ee).map(t).map(ft)},Ee=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),ft=e=>{if(typeof e.vtag=="function"){const n={...e.vattrs};return e.vkey&&(n.key=e.vkey),e.vname&&(n.name=e.vname),k(e.vtag,n,...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},Ae=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let n=!1;for(const o of t){if(n)break;for(const l of e[o])if(typeof l=="string"){n=!0;break}}if(!n)return e;const s={};for(const o of t)s[o]=e[o].map((l=>typeof l=="string"?{[l]:0}:l));return s},Oe=(e,t,n)=>e==null||ie(e)?e:4&t?(n&&typeof e=="string"||e!=="false")&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,ht=(e,t,n)=>{const s=E.ce(t,n);return e.dispatchEvent(s),s},$e=(e,t,n,s,o,l)=>{if(n===s)return;let i=ve(e,t),a=t.toLowerCase();if(t==="class"){const r=e.classList,d=Pe(n);let u=Pe(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 n)s&&s[r]!=null||(r.includes("-")?e.style.removeProperty(r):e.style[r]="");for(const r in s)n&&s[r]===n[r]||(r.includes("-")?e.style.setProperty(r,s[r]):e.style[r]=s[r])}else if(t!=="key"){if(t==="ref")s&&gt(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 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=ie(s);if((i||r&&s!==null)&&!o)try{if(e.tagName.includes("-"))e[t]!==s&&(e[t]=s);else{const u=s??"";t==="list"?i=!1:n!=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(ye,t):e.removeAttribute(t)):(!i||4&l||o)&&!r&&e.nodeType===1&&(s=s===!0?"":s,d?e.setAttributeNS(ye,t,s):e.setAttribute(t,s))}}else if(t=t[2]==="-"?t.slice(3):ve(w,a)?a.slice(2):a[2]+t.slice(3),n||s){const r=t.endsWith(Ce);t=t.replace(mt,""),n&&E.rel(e,t,n,r),s&&E.ael(e,t,s,r)}}},pt=/\s/,Pe=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(pt):[]),Ce="Capture",mt=new RegExp(Ce+"$"),ae=(e,t,n)=>{const s=t.S.nodeType===11&&t.S.host?t.S.host:t.S,o=e&&e.v||{},l=t.v||{};for(const i of xe(Object.keys(o)))i in l||$e(s,i,o[i],void 0,n,t.i);for(const i of xe(Object.keys(l)))$e(s,i,o[i],l[i],n,t.i)};function xe(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var F=!1,U=!1,z=!1,A=!1,ce=[],de=[],K=(e,t,n)=>{var s;const o=t.m[n];let l,i,a,r=0;if(F||(z=!0,o.O==="slot"&&(o.i|=o.m?2:1)),o.h!=null)l=o.S=w.document.createTextNode(o.h);else if(1&o.i)l=o.S=w.document.createTextNode(""),ae(null,o,A);else{if(A||(A=o.O==="svg"),!w.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(l=o.S=w.document.createElementNS(A?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!F&&2&o.i?"slot-fb":o.O),A&&o.O==="foreignObject"&&(A=!1),ae(null,o,A),o.m){const d=o.O==="template"?l.content:l;for(r=0;r<o.m.length;++r)i=K(e,o,r),i&&d.appendChild(i)}o.O==="svg"?A=!1:l.tagName==="foreignObject"&&(A=!0)}return l["s-hn"]=M,3&o.i&&(l["s-sr"]=!0,l["s-cr"]=re,l["s-sn"]=o.j||"",l["s-rf"]=(s=o.v)==null?void 0:s.ref,(function(d){if(d.assignedElements||d.assignedNodes||!d["s-sr"])return;const u=c=>(function(f){const p=[],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 S=this["s-cr"].parentElement;return(S.__childNodes?S.childNodes:(b=>{const v=[];for(let g=0;g<b.length;g++){const p=b[g]["s-nr"]||void 0;p&&p.isConnected&&v.push(p)}return v})(S.childNodes)).forEach((b=>{u===V(b)&&m.push(b)})),a?m.filter((b=>b.nodeType===1)):m}).bind(d);d.assignedElements=f(!0),d.assignedNodes=f(!1)})(r),c=e&&e.m&&e.m[n],c&&c.O===o.O&&e.S&&je(e.S)),r},je=e=>{A.i|=1;const t=e.closest(I.toLowerCase());if(t!=null){const n=Array.from(t.__childNodes||t.childNodes).find((o=>o["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const o of n?s.reverse():s)o["s-sh"]!=null&&(x(t,o,n??null),o["s-sh"]=void 0,z=!0)}A.i&=-2},Y=(e,t)=>{A.i|=1;const n=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let s=e;for(;s=s.nextSibling;)s&&s["s-sn"]===e["s-sn"]&&s["s-sh"]===I&&n.push(s)}for(let s=n.length-1;s>=0;s--){const o=n[s];o["s-hn"]!==I&&o["s-ol"]&&(x(G(o).parentNode,o,G(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,z=!0),t&&Y(o,t)}A.i&=-2},Te=(e,t,n,s,o,r)=>{let l,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===I&&(c=c.shadowRoot),n.O==="template"&&(c=c.content);o<=r;++o)s[o]&&(l=K(null,n,o),l&&(s[o].S=l,x(c,l,G(t))))},Le=(e,t,n)=>{for(let s=t;s<=n;++s){const o=e[s];if(o){const r=o.S;Re(o),r&&(U=!0,r["s-ol"]?r["s-ol"].remove():Y(r,!0),r.remove())}}},J=(e,t,n=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:n?(n&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),G=e=>e&&e["s-ol"]||e,B=(e,t,n=!1)=>{const s=t.S=e.S,o=e.m,r=t.m,l=t.O,c=t.h;let i;c==null?(E=l==="svg"||l!=="foreignObject"&&E,l!=="slot"||F||e.j!==t.j&&(t.S["s-sn"]=t.j||"",je(t.S.parentElement)),ae(e,t,E),o!==null&&r!==null?((d,f,a,h,m=!1)=>{let u,S,b=0,v=0,g=0,p=0,k=f.length-1,y=f[0],_=f[k],$=h.length-1,O=h[0],P=h[$];const et=a.O==="template"?d.content:d;for(;b<=k&&v<=$;)if(y==null)y=f[++b];else if(_==null)_=f[--k];else if(O==null)O=h[++v];else if(P==null)P=h[--$];else if(J(y,O,m))B(y,O,m),y=f[++b],O=h[++v];else if(J(_,P,m))B(_,P,m),_=f[--k],P=h[--$];else if(J(y,P,m))y.O!=="slot"&&P.O!=="slot"||Y(y.S.parentNode,!1),B(y,P,m),x(et,y.S,_.S.nextSibling),y=f[++b],P=h[--$];else if(J(_,O,m))y.O!=="slot"&&P.O!=="slot"||Y(_.S.parentNode,!1),B(_,O,m),x(et,_.S,y.S),_=f[--k],O=h[++v];else{for(g=-1,p=b;p<=k;++p)if(f[p]&&f[p].$!==null&&f[p].$===O.$){g=p;break}g>=0?(S=f[g],S.O!==O.O?u=K(f&&f[v],a,g):(B(S,O,m),f[g]=void 0,u=S.S),O=h[++v]):(u=K(f&&f[v],a,v),O=h[++v]),u&&x(G(y.S).parentNode,u,G(y.S))}b>k?Te(d,h[$+1]==null?null:h[$+1].S,a,h,v,$):v>$&&Le(f,b,k)})(s,o,t,r,n):r!==null?(e.h!==null&&(s.textContent=""),Te(s,null,t,r,0,r.length-1)):!n&&o!==null&&Le(o,0,o.length-1),E&&l==="svg"&&(E=!1)):(i=s["s-cr"])?i.parentNode.textContent=c:e.h!==c&&(s.data=c)},C=[],Ie=e=>{let t,n,s;const o=e.__childNodes||e.childNodes;for(const r of o){if(r["s-sr"]&&(t=r["s-cr"])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;const l=r["s-sn"];for(s=n.length-1;s>=0;s--)if(t=n[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===r["s-hn"]||t["s-sh"]&&t["s-sh"]===r["s-hn"]))if(Ne(t,l)){let c=C.find((i=>i.k===t));U=!0,t["s-sn"]=t["s-sn"]||l,c?(c.k["s-sh"]=r["s-hn"],c.N=r):(t["s-sh"]=r["s-hn"],C.push({N:r,k:t})),t["s-sr"]&&C.map((i=>{Ne(i.k,t["s-sn"])&&(c=C.find((d=>d.k===t)),c&&!i.N&&(i.N=c.N))}))}else C.some((c=>c.k===t))||C.push({k:t})}r.nodeType===1&&Ie(r)}},Re=e=>{e.v&&e.v.ref&&ce.push((()=>e.v.ref(null))),e.m&&e.m.map(Re)},ht=(e,t)=>{de.push((()=>e(t)))},x=(e,t,n,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,n);const{slotNode:o}=(function(r,l){var c;if(!(l=l||((c=r["s-ol"])==null?void 0:c.parentElement)))return{slotNode:null,slotName:""};const i=r["s-sn"]=V(r)||"";return{slotNode:oe(re(l,"childNodes"),l.tagName,i)[0],slotName:i}})(t);return o&&!s&&o.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,n):e?.insertBefore(t,n)},pt=(e,t,n=!1)=>{var s,o,r,l,c;const i=e.$hostElement$,d=e.o,f=e.M||q(null,null);var a;const h=(a=t)&&a.O===lt?t:N(null,null,t);if(I=i.tagName,d._&&(h.v=h.v||{},d._.forEach((([m,u])=>{h.v[u]=i[m]}))),n&&h.v)for(const m of Object.keys(h.v))i.hasAttribute(m)&&!["key","ref","style","class"].includes(m)&&(h.v[m]=i[m]);if(h.O=null,h.i|=4,e.M=h,h.S=f.S=i.shadowRoot||i,F=!(!(1&d.i)||128&d.i),ie=i["s-cr"],U=!1,B(f,h,n),A.i|=1,z){Ie(h.S);for(const m of C){const u=m.k;if(!u["s-ol"]&&w.document){const S=w.document.createTextNode("");S["s-nr"]=u,x(u.parentNode,u["s-ol"]=S,u,n)}}for(const m of C){const u=m.k,S=m.N;if(u.nodeType===1&&n&&(u["s-ih"]=(s=u.hidden)!=null&&s),S){const b=S.parentNode;let v=S.nextSibling;if(v&&v.nodeType===1){let g=(o=u["s-ol"])==null?void 0:o.previousSibling;for(;g;){let p=(r=g["s-nr"])!=null?r:null;if(p&&p["s-sn"]===u["s-sn"]&&b===(p.__parentNode||p.parentNode)){for(p=p.nextSibling;p===u||p?.["s-sr"];)p=p?.nextSibling;if(!p||!p["s-nr"]){v=p;break}}g=g.previousSibling}}if((!v&&b!==(u.__parentNode||u.parentNode)||(u.__nextSibling||u.nextSibling)!==v)&&u!==v){if(x(b,u,v,n),u.nodeType===8&&u.nodeValue.startsWith("s-nt-")){const g=w.document.createTextNode(u.nodeValue.replace(/^s-nt-/,""));g["s-hn"]=u["s-hn"],g["s-sn"]=u["s-sn"],g["s-sh"]=u["s-sh"],g["s-sr"]=u["s-sr"],g["s-ol"]=u["s-ol"],g["s-ol"]["s-nr"]=g,x(u.parentNode,g,u,n),u.parentNode.removeChild(u)}u.nodeType===1&&u.tagName!=="SLOT-FB"&&(u.hidden=(l=u["s-ih"])!=null&&l)}u&&typeof S["s-rf"]=="function"&&S["s-rf"](S)}else u.nodeType===1&&(u.hidden=!0)}}if(U&&_e(h.S),A.i&=-2,C.length=0,!F&&!(1&d.i)&&i["s-cr"]){const m=h.S.__childNodes||h.S.childNodes;for(const u of m)if(u["s-hn"]!==I&&!u["s-sh"]){if(n&&u["s-ih"]==null&&(u["s-ih"]=(c=u.hidden)!=null&&c),u.nodeType===1)u.hidden=!0;else if(u.nodeType===3&&u.nodeValue.trim()){const S=w.document.createComment("s-nt-"+u.nodeValue);S["s-sn"]=u["s-sn"],x(u.parentNode,S,u,n),u.parentNode.removeChild(u)}}}ie=void 0,ce.forEach((m=>m())),ce.length=0,de.forEach((m=>m())),de.length=0},Me=(e,t)=>{if(t&&!e.A&&t["s-p"]){const n=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(n-1,1),s()})))}},ue=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Me(e,e.C);const n=()=>mt(e,t);if(!t)return ot(n);queueMicrotask((()=>{n()}))},mt=(e,t)=>{const n=e.$hostElement$,s=n;if(!s)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let o;return o=H(s,t?"componentWillLoad":"componentWillUpdate",void 0,n),o=Be(o,(()=>H(s,"componentWillRender",void 0,n))),Be(o,(()=>vt(e,s,t)))},Be=(e,t)=>gt(e)?e.then(t).catch((n=>{console.error(n),t()})):t(),gt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",vt=async(e,t,n)=>{var s;const o=e.$hostElement$,r=o["s-rc"];n&&(l=>{const c=l.o,i=l.$hostElement$,d=c.i,f=((a,h)=>{var m,u,S;const b=ke(h),v=W.get(b);if(!w.document)return b;if(a=a.nodeType===11?a:w.document,v)if(typeof v=="string"){let g,p=T.get(a=a.head||a);if(p||T.set(a,p=new Set),!p.has(b)){g=w.document.createElement("style"),g.textContent=v;const k=(m=A.L)!=null?m:(function(){var y,_,$;return($=(_=(y=w.document.head)==null?void 0:y.querySelector('meta[name="csp-nonce"]'))==null?void 0:_.getAttribute("content"))!=null?$:void 0})();if(k!=null&&g.setAttribute("nonce",k),!(1&h.i))if(a.nodeName==="HEAD"){const y=a.querySelectorAll("link[rel=preconnect]"),_=y.length>0?y[y.length-1].nextSibling:a.querySelector("style");a.insertBefore(g,_?.parentNode===a?_:null)}else if("host"in a)if(Q){const y=new((u=a.defaultView)!=null?u:a.ownerDocument.defaultView).CSSStyleSheet;y.replaceSync(v),ee?a.adoptedStyleSheets.unshift(y):a.adoptedStyleSheets=[y,...a.adoptedStyleSheets]}else{const y=a.querySelector("style");y?y.textContent=v+y.textContent:a.prepend(g)}else a.append(g);1&h.i&&a.insertBefore(g,null),4&h.i&&(g.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),p&&p.add(b)}}else{let g=T.get(a);if(g||T.set(a,g=new Set),!g.has(b)){const p=(S=a.defaultView)!=null?S:a.ownerDocument.defaultView;let k;if(v.constructor===p.CSSStyleSheet)k=v;else{k=new p.CSSStyleSheet;for(let y=0;y<v.cssRules.length;y++)k.insertRule(v.cssRules[y].cssText,y)}ee?a.adoptedStyleSheets.push(k):a.adoptedStyleSheets=[...a.adoptedStyleSheets,k],g.add(b)}}return b})(i.shadowRoot?i.shadowRoot:i.getRootNode(),c);10&d&&(i["s-sc"]=f,i.classList.add(f+"-h"))})(e),yt(e,t,o,n),r&&(r.map((l=>l())),o["s-rc"]=void 0);{const l=(s=o["s-p"])!=null?s:[],c=()=>bt(e);l.length===0?c():(Promise.all(l).then(c).catch(c),e.i|=4,l.length=0)}},yt=(e,t,n,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,pt(e,t,s)}catch(o){M(o,e.$hostElement$)}return null},bt=e=>{const t=e.$hostElement$,n=t,s=e.C;H(n,"componentDidRender",void 0,t),64&e.i?H(n,"componentDidUpdate",void 0,t):(e.i|=64,wt(t),H(n,"componentDidLoad",void 0,t),e.F(t),s||St()),e.A&&(e.A(),e.A=void 0),512&e.i&&ne((()=>ue(e,!1))),e.i&=-517},St=()=>{ne((()=>dt(w,"appload",{detail:{namespace:"gids-core-web"}})))},H=(e,t,n,s)=>{if(e&&e[t])try{return e[t](n)}catch(o){M(o,s)}},wt=e=>e.classList.add("hydrated"),De=(e,t,n,s)=>{const o=j(e);if(!o)return;const r=e,l=o.l.get(t),c=o.i,i=r;n=Oe(n,s.t[t][0]);const d=Number.isNaN(l)&&Number.isNaN(n);if(n!==l&&!d){if(o.l.set(t,n),s.R){const f=s.R[t];f&&f.map((a=>{try{const[[h,m]]=Object.entries(a);(128&c||1&m)&&(i?i[h](n,l,t):o.T.push((()=>{o.D[h](n,l,t)})))}catch(h){M(h,r)}}))}if(2&c){if(i.componentShouldUpdate&&i.componentShouldUpdate(n,l,t)===!1&&!(16&c))return;16&c||ue(o,!1)}}},_t=(e,t)=>{var n,s;const o=e.prototype;{e.watchers&&!t.R&&(t.R=Ee(e.watchers)),e.deserializers&&!t.H&&(t.H=e.deserializers),e.serializers&&!t.P&&(t.P=e.serializers);const r=Object.entries((n=t.t)!=null?n:{});r.map((([l,[c]])=>{if(31&c||32&c){const{get:i,set:d}=R(o,l)||{};i&&(t.t[l][0]|=2048),d&&(t.t[l][0]|=4096),Object.defineProperty(o,l,{get(){return i?i.apply(this):(f=l,j(this).l.get(f));var f},configurable:!0,enumerable:!0}),Object.defineProperty(o,l,{set(f){const a=j(this);if(a){if(d)return(32&c?this[l]:a.$hostElement$[l])===void 0&&a.l.get(l)&&(f=a.l.get(l)),d.apply(this,[Oe(f,c)]),void De(this,l,f=32&c?this[l]:a.$hostElement$[l],t);De(this,l,f,t)}}})}}));{const l=new Map;o.attributeChangedCallback=function(c,i,d){A.jmp((()=>{var f;const a=l.get(c),h=j(this);if(this.hasOwnProperty(a),o.hasOwnProperty(a)&&typeof this[a]=="number"&&this[a]==d)return;if(a==null){const v=h?.i;if(h&&v&&!(8&v)&&d!==i){const g=this,p=(f=t.R)==null?void 0:f[c];p?.forEach((k=>{const[[y,_]]=Object.entries(k);g[y]!=null&&(128&v||1&_)&&g[y].call(g,d,i,c)}))}return}const m=r.find((([v])=>v===a)),u=m&&4&m[1][0],S=u&&d===null&&this[a]===void 0;u&&(d=d!==null&&d!=="false");const b=Object.getOwnPropertyDescriptor(o,a);S||d==this[a]||b.get&&!b.set||(this[a]=d)}))},e.observedAttributes=Array.from(new Set([...Object.keys((s=t.R)!=null?s:{}),...r.filter((([c,i])=>31&i[0])).map((([c,i])=>{var d;const f=i[1]||c;return l.set(f,c),512&i[0]&&((d=t._)==null||d.push([c,f])),f}))]))}}return e},Nt=(e,t)=>{const n={i:t[0],p:t[1]};try{n.t=t[2],n.R=Ee(e.R),n.H=e.H,n.P=e.P,n._=[];const s=e.prototype.connectedCallback,o=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((r,l)=>{const c={i:0,$hostElement$:r,o:l,l:new Map,U:new Map};c.W=new Promise((d=>c.F=d)),r["s-p"]=[],r["s-rc"]=[];const i=c;r.__stencil__getHostRef=()=>i,512&l.i&&tt(r,c)})(this,n)},connectedCallback(){if(!this.__hasHostListenerAttached){if(!j(this))return;this.__hasHostListenerAttached=!0}(r=>{if(!(1&A.i)){const l=j(r);if(!l)return;const c=l.o;if(1&l.i)l?.D||l?.W&&l.W.then((()=>{}));else{l.i|=1,12&c.i&&(i=>{if(!w.document)return;const d=i["s-cr"]=w.document.createComment("");d["s-cn"]=!0,x(i,d,i.firstChild)})(r);{let i=r;for(;i=i.parentNode||i.host;)if(i["s-p"]){Me(l,l.C=i);break}}c.t&&Object.entries(c.t).map((([i,[d]])=>{if(31&d&&Object.prototype.hasOwnProperty.call(r,i)){const f=r[i];delete r[i],r[i]=f}})),(async(i,d,f)=>{let a;try{if(!(32&d.i)&&(d.i|=32,a=i.constructor,customElements.whenDefined(i.localName).then((()=>d.i|=128)),a&&a.style)){let u;typeof a.style=="string"&&(u=a.style);const S=ke(f);W.has(S)||((b,v,g)=>{let p=W.get(b);Q&&g?(p=p||new CSSStyleSheet,typeof p=="string"?p=v:p.replaceSync(v)):p=v,W.set(b,p)})(S,u,!!(1&f.i))}const h=d.C,m=()=>ue(d,!0);h&&h["s-rc"]?h["s-rc"].push(m):m()}catch(h){M(h,i),d.A&&(d.A(),d.A=void 0),d.F&&d.F(i)}})(r,l,c)}}})(this),s&&s.call(this)},disconnectedCallback(){(async r=>{1&A.i||j(r),T.has(r)&&T.delete(r),r.shadowRoot&&T.has(r.shadowRoot)&&T.delete(r.shadowRoot)})(this),o&&o.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${n.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else rt.call(this,n)}}),Object.defineProperty(e,"is",{value:n.p,configurable:!0}),_t(e,n)}catch(s){return M(s),e}},kt=(e,t)=>t;function zt(e){return e}function Ve(e){var t,n,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Ve(e[t]))&&(s&&(s+=" "),s+=n)}else for(n in e)e[n]&&(s&&(s+=" "),s+=n);return s}function Fe(){for(var e,t,n=0,s="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Ve(e))&&(s&&(s+=" "),s+=t);return s}const At=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerControlClassNames:({size:e,indeterminate:t,value:n},s)=>Fe("gids-spinner-control",{"gids-spinner-control--xs":e==="xs","gids-spinner-control--sm":e==="sm","gids-spinner-control--lg":e==="lg","gids-spinner-control--xl":e==="xl","gids-spinner-control--2xl":e==="2xl","gids-spinner-control--determinate":t===!1},n,s)},Symbol.toStringTag,{value:"Module"})),Et=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>Fe("gids-icon",{"gids-icon--xs":e==="xs","gids-icon--sm":e==="sm","gids-icon--md":e==="md","gids-icon--lg":e==="lg"},t)},Symbol.toStringTag,{value:"Module"})),X=64,Ge=10,He=X/2-Ge/2,Ot=X/2,fe=2*Math.PI*He,$t=`0 0 ${X} ${X}`,xt=Object.freeze(Object.defineProperty({__proto__:null,calculateStrokeDasharray:(e=0,t)=>{const n=typeof t=="number"&&t>0?t:1,o=Math.max(0,Math.min(n,e))/n*100,r=(fe*o/100).toFixed(2),l=(fe-parseFloat(r)).toFixed(2);return`${r} ${l}`},centerPosition:Ot,circumference:fe,radius:He,thickness:Ge,viewBox:$t},Symbol.toStringTag,{value:"Module"})),he=Symbol("defaultPath"),We=Symbol("pathSet"),pe="gids-asset-paths-set";class Pt extends EventTarget{#t=new Map;constructor(){super()}#e(t,n){this.#t.set(t,n)}#s(t){return this.#t.get(t)??null}#n=()=>{this.dispatchEvent(new Event(pe))};haveAssetPathsBeenSet(){return this.#s(We)!==null}setAssetPaths(t,n){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(he,t);else{for(const s in t)this.#e(s,t[s]);n&&this.#e(he,n)}this.#e(We,"true"),setTimeout(this.#n,0)}}getAssetFilePath(t){const n=this.#s(t);if(n===null){const s=this.#s(he);if(s!==null)return`${s}${s.endsWith("/")?"":"/"}${t}`}return n}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(pe,t,{once:!0}),()=>{this.removeEventListener(pe,t)}}}const me=Symbol.for("GIDS"),Ct=()=>(globalThis[me]===void 0&&(globalThis[me]={assetPaths:{}}),globalThis[me]),jt=e=>{const t=Ct().assetPaths;return t[e]===void 0&&(t[e]=new Pt),t[e]};function ge(){return jt("@ganpatiinfo/gids-web-shared")}function Tt(){return ge().haveAssetPathsBeenSet()}function qe(e){return ge().getAssetFilePath(e)}function Lt(e){return ge().onAssetPathsSet(e)}let It=0;const Rt=(e,t="gids")=>e||`${t}-${It++}`,Mt=e=>e.type==="hidden",Bt=e=>{if(!(e instanceof HTMLElement))return!1;const{nodeName:t}=e;return!!(["BUTTON","DETAILS","EMBED","IFRAME","KEYGEN","LABEL","SELECT","TEXTAREA"].includes(t)||t==="A"&&e.hasAttribute("href")||e instanceof HTMLInputElement&&!Mt(e)||["AUDIO","VIDEO"].includes(t)&&e.hasAttribute("controls")||["IMG","OBJECT"].includes(t)&&e.hasAttribute("usemap")||e.hasAttribute("tabindex")&&e.tabIndex>-1)},Ue={"icons-other.svg":["accessibility","add","remove","announcement","approval","archive","audio","backward","banking","battery","bluetooth","bookmark","bulb","calendar","camera","card","cart","chart","chat","cloud","code","compass","desktop","email","emergency","exchange","finance","fingerprint","flag","folder","forward","gift","globe","goals","happy","hashtag","headphones","history","image","insurance","investment","in-progress","key","link","list","location","lock","map","maximise","microphone","minimise","mobile","moon","network","neutral","ai","new","draft","pending","new-chat","pause","percent","placeholder","play","power","rain","refresh","repeat","sad","save","savings","shield","shuffle","side-navigation","snow","speaker","stop","sun","tablet","temperature","thumbs-down","thumbs-up","travel","trend-down","trend-up","unlock","upset","verified","very-happy","video","volume-down","volume-max","volume-min","volume-mute","volume-up","wallet","wealth","wi-fi","wind"],"icons-core.svg":["arrow-down","arrow-left","arrow-right","arrow-up","attachment","checkmark","chevron-down","chevron-horizontal","chevron-left","chevron-right","chevron-up","chevron-vertical","copy","cross","danger","dashboard","delete","document","download","drag","edit","external","eye","filter","grid","hide","home","information","log-in","log-out","menu","minus","more","notifications","options","phone","plus","positive","printer","question","syncing","search","select","select-all","send","settings","share","star","time","upload","user","users","warning"]},ze=new Map;for(const e in Ue)for(const t of Ue[e])ze.set(t,e);function Dt(e){return ze.get(e)}function Ke(e,t="regular",n){const s=Dt(e);let o=s??"";return n&&s&&(o=n(s)??s),`${o}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:Vt}=Et,Ye=({name:e,size:t,appearance:n,alt:s,class:o,titleId:r,src:l,...c})=>{const i=Rt(r);let d=l;return d===void 0&&Tt()&&(d=Ke(e,n,qe)),N("svg",{ref:f=>{d===void 0&&Lt((()=>{(function(a,h,m){if(!a)return;const u=document.createElementNS("http://www.w3.org/2000/svg","use");u.setAttribute("href",Ke(h,m,qe)),a.appendChild(u)})(f,e,n)}))},width:"16",height:"16",class:Vt({size:t},o),role:"img","aria-hidden":s===""?"true":void 0,"aria-labelledby":s===""?void 0:i,...c},s!==""&&N("title",{id:i},s||e),d!==void 0?N("use",{href:d}):null)},{getGidsSpinnerControlClassNames:Ft}=At,{calculateStrokeDasharray:Gt,thickness:Je,radius:Xe,centerPosition:Z,viewBox:Ht}=xt,Wt=({size:e,indeterminate:t,value:n,max:s,...o})=>{let r;return t||(r={strokeDashArray:Gt(n,s||0),strokeDashoffset:"0"}),N("svg",{class:Ft({size:e,indeterminate:t,value:n}),viewBox:Ht,...o},N("circle",{class:"gids-spinner-control__track",cx:Z,cy:Z,r:Xe,"stroke-width":Je}),N("circle",{style:r,class:"gids-spinner-control__progress",cx:Z,cy:Z,r:Xe,"stroke-width":Je}))},Ze=Nt(class extends st{constructor(e){super(),e!==!1&&this.__registerHost(),this.#e={},this._focusInput=t=>{const n=t.target;n===this.#t||this._isWithinInteractiveElement(n)||this.#t?.focus()},this._handleInputFocusAndBlur=t=>{this._el.dispatchEvent(new FocusEvent(t.type,{relatedTarget:t.relatedTarget}))}}get defaultValue(){return this.#t?.defaultValue??this.#e.defaultValue??""}set defaultValue(e){this.#t?this.#t.defaultValue=e:this.#e.defaultValue=e}get value(){return this.#t?.value??this.#e.value??this.#e.defaultValue??""}set value(e){this.#t?this.#t.value=e:this.#e.value=e}#t;#e;_isWithinInteractiveElement(e){if(e===null||e===this._el||!this._el.contains(e))return!1;if(Bt(e))return!0;{const t=e.parentElement;if(t)return this._isWithinInteractiveElement(t)}return!1}connectedCallback(){this._el.addEventListener("click",this._focusInput)}disconnectedCallback(){this._el.removeEventListener("click",this._focusInput)}render(){return N(kt,{key:"c1e035111a8a80ef0b442bc0298785f0c7445113"},N("slot",{key:"49bd52d5bbc7c9b962b27f6404ca9817de699b31",name:"leadingIcon"}),this.leadingLabel&&N("span",{key:"2863a61da1f009b7287af508d9809d66787ddaf7",class:"gids-input__label"},this.leadingLabel),N("slot",{key:"f74e8993fb8b1dd186a53c4557ceffac681f2881",name:"leadingAccessory"}),N("input",{key:"2bc7f84858a8533f33c66834ad212c38ad698075",...this.inputProps,ref:e=>{this.#t=e,this.#e.value!==void 0&&(this.#t.value=this.#e.value,delete this.#e.value),this.#e.defaultValue!==void 0&&(this.#t.defaultValue=this.#e.defaultValue,delete this.#e.defaultValue)},class:"gids-input__control",name:this.name,disabled:this.disabled,readOnly:this.readOnly,required:this.required,onFocus:this._handleInputFocusAndBlur,onBlur:this._handleInputFocusAndBlur}),N("slot",{key:"2116db712ac02853ae4974b4ad618b5eee372b3f",name:"trailingAccessory"}),this.trailingLabel&&N("span",{key:"35dc9b1c2bd2ef493b0ce1a602688f41854c922d",class:"gids-input__label"},this.trailingLabel),N("slot",{key:"6cc1b37e9a0b979f04de753d8527aaae2970762c",name:"trailingIcon"}),this.status==="incomplete"&&N(Ye,{key:"8c963877cee9bc941b1236a6b647fc1790a41cdc",name:"warning",appearance:"filled",class:"gids-input__warning-icon"}),this.status==="complete"&&N(Ye,{key:"a2c401261ff8defa2802b5bbc336a6b4cc177ff4",name:"positive",appearance:"filled",class:"gids-input__positive-icon"}),this.loading&&N(Wt,{key:"4dd22cd62d87ff444794fc8f1c4f0cc78e14738a",size:"md",indeterminate:!0}))}get _el(){return this}},[260,"gids-input",{appearance:[513],defaultValue:[6657,"default-value"],disabled:[516],inputProps:[16],leadingLabel:[513,"leading-label"],trailingLabel:[513,"trailing-label"],loading:[516],name:[513],readOnly:[516,"readonly"],required:[516],status:[513],value:[6145]}]);function Qe(){typeof customElements<"u"&&["gids-input"].forEach((e=>{e==="gids-input"&&(customElements.get(e)||customElements.define(e,Ze))}))}Qe();const qt=Ze,Ut=Qe;L.GidsInput=qt,L.defineCustomElement=Ut,Object.defineProperty(L,Symbol.toStringTag,{value:"Module"})}));
5
+ `);const S=this["s-cr"].parentElement;return(S.__childNodes?S.childNodes:(b=>{const v=[];for(let g=0;g<b.length;g++){const m=b[g]["s-nr"]||void 0;m&&m.isConnected&&v.push(m)}return v})(S.childNodes)).forEach((b=>{h===B(b)&&p.push(b)})),c?p.filter((b=>b.nodeType===1)):p}).bind(d);d.assignedElements=u(!0),d.assignedNodes=u(!1)})(l),a=e&&e.m&&e.m[n],a&&a.O===o.O&&e.S&&je(e.S)),l},je=e=>{E.i|=1;const t=e.closest(M.toLowerCase());if(t!=null){const n=Array.from(t.__childNodes||t.childNodes).find((o=>o["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const o of n?s.reverse():s)o["s-sh"]!=null&&(P(t,o,n??null),o["s-sh"]=void 0,z=!0)}E.i&=-2},Y=(e,t)=>{E.i|=1;const n=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let s=e;for(;s=s.nextSibling;)s&&s["s-sn"]===e["s-sn"]&&s["s-sh"]===M&&n.push(s)}for(let s=n.length-1;s>=0;s--){const o=n[s];o["s-hn"]!==M&&o["s-ol"]&&(P(G(o).parentNode,o,G(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,z=!0),t&&Y(o,t)}E.i&=-2},Te=(e,t,n,s,o,l)=>{let i,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===M&&(a=a.shadowRoot),n.O==="template"&&(a=a.content);o<=l;++o)s[o]&&(i=K(null,n,o),i&&(s[o].S=i,P(a,i,G(t))))},Le=(e,t,n)=>{for(let s=t;s<=n;++s){const o=e[s];if(o){const l=o.S;Me(o),l&&(U=!0,l["s-ol"]?l["s-ol"].remove():Y(l,!0),l.remove())}}},J=(e,t,n=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:n?(n&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),G=e=>e&&e["s-ol"]||e,V=(e,t,n=!1)=>{const s=t.S=e.S,o=e.m,l=t.m,i=t.O,a=t.h;let r;a==null?(A=i==="svg"||i!=="foreignObject"&&A,i!=="slot"||F||e.j!==t.j&&(t.S["s-sn"]=t.j||"",je(t.S.parentElement)),ae(e,t,A),o!==null&&l!==null?((d,u,c,f,p=!1)=>{let h,S,b=0,v=0,g=0,m=0,N=u.length-1,y=u[0],_=u[N],O=f.length-1,$=f[0],C=f[O];const tt=c.O==="template"?d.content:d;for(;b<=N&&v<=O;)if(y==null)y=u[++b];else if(_==null)_=u[--N];else if($==null)$=f[++v];else if(C==null)C=f[--O];else if(J(y,$,p))V(y,$,p),y=u[++b],$=f[++v];else if(J(_,C,p))V(_,C,p),_=u[--N],C=f[--O];else if(J(y,C,p))y.O!=="slot"&&C.O!=="slot"||Y(y.S.parentNode,!1),V(y,C,p),P(tt,y.S,_.S.nextSibling),y=u[++b],C=f[--O];else if(J(_,$,p))y.O!=="slot"&&C.O!=="slot"||Y(_.S.parentNode,!1),V(_,$,p),P(tt,_.S,y.S),_=u[--N],$=f[++v];else{for(g=-1,m=b;m<=N;++m)if(u[m]&&u[m].$!==null&&u[m].$===$.$){g=m;break}g>=0?(S=u[g],S.O!==$.O?h=K(u&&u[v],c,g):(V(S,$,p),u[g]=void 0,h=S.S),$=f[++v]):(h=K(u&&u[v],c,v),$=f[++v]),h&&P(G(y.S).parentNode,h,G(y.S))}b>N?Te(d,f[O+1]==null?null:f[O+1].S,c,f,v,O):v>O&&Le(u,b,N)})(s,o,t,l,n):l!==null?(e.h!==null&&(s.textContent=""),Te(s,null,t,l,0,l.length-1)):!n&&o!==null&&Le(o,0,o.length-1),A&&i==="svg"&&(A=!1)):(r=s["s-cr"])?r.parentNode.textContent=a:e.h!==a&&(s.data=a)},j=[],Ie=e=>{let t,n,s;const o=e.__childNodes||e.childNodes;for(const l of o){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){n=t.parentNode.__childNodes||t.parentNode.childNodes;const i=l["s-sn"];for(s=n.length-1;s>=0;s--)if(t=n[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===l["s-hn"]||t["s-sh"]&&t["s-sh"]===l["s-hn"]))if(Ne(t,i)){let a=j.find((r=>r.k===t));U=!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"],j.push({N:l,k:t})),t["s-sr"]&&j.map((r=>{Ne(r.k,t["s-sn"])&&(a=j.find((d=>d.k===t)),a&&!r.N&&(r.N=a.N))}))}else j.some((a=>a.k===t))||j.push({k:t})}l.nodeType===1&&Ie(l)}},Me=e=>{e.v&&e.v.ref&&ce.push((()=>e.v.ref(null))),e.m&&e.m.map(Me)},gt=(e,t)=>{de.push((()=>e(t)))},P=(e,t,n,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,n);const{slotNode:o}=(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"]=B(l)||"";return{slotNode:oe(le(i,"childNodes"),i.tagName,r)[0],slotName:r}})(t);return o&&!s&&o.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,n):e?.insertBefore(t,n)},vt=(e,t,n=!1)=>{var s,o,l,i,a;const r=e.$hostElement$,d=e.o,u=e.M||q(null,null);var c;const f=(c=t)&&c.O===dt?t:k(null,null,t);if(M=r.tagName,d.C&&(f.v=f.v||{},d.C.forEach((([p,h])=>{f.v[h]=r[p]}))),n&&f.v)for(const p of Object.keys(f.v))r.hasAttribute(p)&&!["key","ref","style","class"].includes(p)&&(f.v[p]=r[p]);if(f.O=null,f.i|=4,e.M=f,f.S=u.S=r.shadowRoot||r,F=!(!(1&d.i)||128&d.i),re=r["s-cr"],U=!1,V(u,f,n),E.i|=1,z){Ie(f.S);for(const p of j){const h=p.k;if(!h["s-ol"]&&w.document){const S=w.document.createTextNode("");S["s-nr"]=h,P(h.parentNode,h["s-ol"]=S,h,n)}}for(const p of j){const h=p.k,S=p.N;if(h.nodeType===1&&n&&(h["s-ih"]=(s=h.hidden)!=null&&s),S){const b=S.parentNode;let v=S.nextSibling;if(v&&v.nodeType===1){let g=(o=h["s-ol"])==null?void 0:o.previousSibling;for(;g;){let m=(l=g["s-nr"])!=null?l:null;if(m&&m["s-sn"]===h["s-sn"]&&b===(m.__parentNode||m.parentNode)){for(m=m.nextSibling;m===h||m?.["s-sr"];)m=m?.nextSibling;if(!m||!m["s-nr"]){v=m;break}}g=g.previousSibling}}if((!v&&b!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==v)&&h!==v){if(P(b,h,v,n),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,P(h.parentNode,g,h,n),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(U&&_e(f.S),E.i&=-2,j.length=0,!F&&!(1&d.i)&&r["s-cr"]){const p=f.S.__childNodes||f.S.childNodes;for(const h of p)if(h["s-hn"]!==M&&!h["s-sh"]){if(n&&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"],P(h.parentNode,S,h,n),h.parentNode.removeChild(h)}}}re=void 0,ce.forEach((p=>p())),ce.length=0,de.forEach((p=>p())),de.length=0},Re=(e,t)=>{if(t&&!e.A&&t["s-p"]){const n=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(n-1,1),s()})))}},ue=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Re(e,e.R);const n=()=>yt(e,t);if(!t)return it(n);queueMicrotask((()=>{n()}))},yt=(e,t)=>{const n=e.$hostElement$,s=n;if(!s)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let o;return o=H(s,t?"componentWillLoad":"componentWillUpdate",void 0,n),o=Ve(o,(()=>H(s,"componentWillRender",void 0,n))),Ve(o,(()=>St(e,s,t)))},Ve=(e,t)=>bt(e)?e.then(t).catch((n=>{console.error(n),t()})):t(),bt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",St=async(e,t,n)=>{var s;const o=e.$hostElement$,l=o["s-rc"];n&&(i=>{const a=i.o,r=i.$hostElement$,d=a.i,u=((c,f)=>{var p,h,S;const b=ke(f),v=W.get(b);if(!w.document)return b;if(c=c.nodeType===11?c:w.document,v)if(typeof v=="string"){let g,m=T.get(c=c.head||c);if(m||T.set(c,m=new Set),!m.has(b)){g=w.document.createElement("style"),g.textContent=v;const N=(p=E._)!=null?p:(function(){var y,_,O;return(O=(_=(y=w.document.head)==null?void 0:y.querySelector('meta[name="csp-nonce"]'))==null?void 0:_.getAttribute("content"))!=null?O:void 0})();if(N!=null&&g.setAttribute("nonce",N),!(1&f.i))if(c.nodeName==="HEAD"){const y=c.querySelectorAll("link[rel=preconnect]"),_=y.length>0?y[y.length-1].nextSibling:c.querySelector("style");c.insertBefore(g,_?.parentNode===c?_:null)}else if("host"in c)if(Q){const y=new((h=c.defaultView)!=null?h:c.ownerDocument.defaultView).CSSStyleSheet;y.replaceSync(v),ee?c.adoptedStyleSheets.unshift(y):c.adoptedStyleSheets=[y,...c.adoptedStyleSheets]}else{const y=c.querySelector("style");y?y.textContent=v+y.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}"),m&&m.add(b)}}else{let g=T.get(c);if(g||T.set(c,g=new Set),!g.has(b)){const m=(S=c.defaultView)!=null?S:c.ownerDocument.defaultView;let N;if(v.constructor===m.CSSStyleSheet)N=v;else{N=new m.CSSStyleSheet;for(let y=0;y<v.cssRules.length;y++)N.insertRule(v.cssRules[y].cssText,y)}ee?c.adoptedStyleSheets.push(N):c.adoptedStyleSheets=[...c.adoptedStyleSheets,N],g.add(b)}}return b})(r.shadowRoot?r.shadowRoot:r.getRootNode(),a);10&d&&(r["s-sc"]=u,r.classList.add(u+"-h"))})(e),wt(e,t,o,n),l&&(l.map((i=>i())),o["s-rc"]=void 0);{const i=(s=o["s-p"])!=null?s:[],a=()=>_t(e);i.length===0?a():(Promise.all(i).then(a).catch(a),e.i|=4,i.length=0)}},wt=(e,t,n,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,vt(e,t,s)}catch(o){I(o,e.$hostElement$)}return null},_t=e=>{const t=e.$hostElement$,n=t,s=e.R;H(n,"componentDidRender",void 0,t),64&e.i?H(n,"componentDidUpdate",void 0,t):(e.i|=64,kt(t),H(n,"componentDidLoad",void 0,t),e.L(t),s||Nt()),e.A&&(e.A(),e.A=void 0),512&e.i&&ne((()=>ue(e,!1))),e.i&=-517},Nt=()=>{ne((()=>ht(w,"appload",{detail:{namespace:"gids-core-web"}})))},H=(e,t,n,s)=>{if(e&&e[t])try{return e[t](n)}catch(o){I(o,s)}},kt=e=>e.classList.add("hydrated"),De=(e,t,n,s)=>{const o=x(e);if(!o)return;const l=e,i=o.l.get(t),a=o.i,r=l;n=Oe(n,s.t[t][0],!!(64&s.i));const d=Number.isNaN(i)&&Number.isNaN(n);if(n!==i&&!d){if(o.l.set(t,n),s.F){const u=s.F[t];u&&u.map((c=>{try{const[[f,p]]=Object.entries(c);(128&a||1&p)&&(r?r[f](n,i,t):o.T.push((()=>{o.D[f](n,i,t)})))}catch(f){I(f,l)}}))}if(2&a){if(r.componentShouldUpdate&&r.componentShouldUpdate(n,i,t)===!1&&!(16&a))return;16&a||ue(o,!1)}}},Et=(e,t,n)=>{var s,o;const l=e.prototype;64&t.i&&1&n&&nt.forEach((i=>{const a=l[i];Object.defineProperty(l,i,{value(...r){var d;const u=x(this),c=this;c?typeof a=="function"&&a.call(c,...r):(d=u?.H)==null||d.then((f=>{const p=f[i];typeof p=="function"&&p.call(f,...r)}))}})}));{e.watchers&&!t.F&&(t.F=Ae(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}=R(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,x(this).l.get(c));var c},configurable:!0,enumerable:!0}),Object.defineProperty(l,a,{set(c){const f=x(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,[Oe(c,r,!!(64&t.i))]),void De(this,a,c=32&r?this[a]:f.$hostElement$[a],t);De(this,a,c,t)}}})}}));{const a=new Map;l.attributeChangedCallback=function(r,d,u){E.jmp((()=>{var c;const f=a.get(r),p=x(this);if(this.hasOwnProperty(f),l.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==u)return;if(f==null){const g=p?.i;if(p&&g&&!(8&g)&&u!==d){const m=this,N=(c=t.F)==null?void 0:c[r];N?.forEach((y=>{const[[_,O]]=Object.entries(y);m[_]!=null&&(128&g||1&O)&&m[_].call(m,u,d,r)}))}return}const h=i.find((([g])=>g===f)),S=h&&4&h[1][0],b=S&&u===null&&this[f]===void 0;S&&(u=u!==null&&u!=="false");const v=Object.getOwnPropertyDescriptor(l,f);b||u==this[f]||v.get&&!v.set||(this[f]=u)}))},e.observedAttributes=Array.from(new Set([...Object.keys((o=t.F)!=null?o:{}),...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 n={i:t[0],p:t[1]};try{n.t=t[2],n.W=t[3],n.F=Ae(e.F),n.P=e.P,n.U=e.U,n.C=[];const s=e.prototype.connectedCallback,o=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&&st(l,a)})(this,n)},connectedCallback(){if(!this.__hasHostListenerAttached){const l=x(this);if(!l)return;Be(this,l,n.W),this.__hasHostListenerAttached=!0}(l=>{if(!(1&E.i)){const i=x(l);if(!i)return;const a=i.o;if(1&i.i)Be(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,P(r,d,r.firstChild)})(l);{let r=l;for(;r=r.parentNode||r.host;)if(r["s-p"]){Re(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=ke(u);W.has(S)||((b,v,g)=>{let m=W.get(b);Q&&g?(m=m||new CSSStyleSheet,typeof m=="string"?m=v:m.replaceSync(v)):m=v,W.set(b,m)})(S,h,!!(1&u.i))}const f=d.R,p=()=>ue(d,!0);f&&f["s-rc"]?f["s-rc"].push(p):p()}catch(f){I(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&E.i)){const i=x(l);i?.V&&(i.V.map((a=>a())),i.V=void 0)}T.has(l)&&T.delete(l),l.shadowRoot&&T.has(l.shadowRoot)&&T.delete(l.shadowRoot)})(this),o&&o.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${n.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else at.call(this,n)}}),Object.defineProperty(e,"is",{value:n.p,configurable:!0}),Et(e,n,3)}catch(s){return I(s),e}},Ot=(e,t)=>t,Be=(e,t,n)=>{n&&w.document&&n.map((([s,o,l])=>{const i=Pt(w.document,e,s),a=$t(t,l),r=Ct(s);E.ael(i,o,a,r),(t.V=t.V||[]).push((()=>E.rel(i,o,a,r)))}))},$t=(e,t)=>n=>{try{e.$hostElement$[t](n)}catch(s){I(s,e.$hostElement$)}},Pt=(e,t,n)=>8&n?w:t,Ct=e=>lt?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function Qt(e){return e}function Fe(e){var t,n,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Fe(e[t]))&&(s&&(s+=" "),s+=n)}else for(n in e)e[n]&&(s&&(s+=" "),s+=n);return s}function Ge(){for(var e,t,n=0,s="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Fe(e))&&(s&&(s+=" "),s+=t);return s}const xt=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerControlClassNames:({size:e,indeterminate:t,value:n},s)=>Ge("gids-spinner-control",{"gids-spinner-control--xs":e==="xs","gids-spinner-control--sm":e==="sm","gids-spinner-control--lg":e==="lg","gids-spinner-control--xl":e==="xl","gids-spinner-control--2xl":e==="2xl","gids-spinner-control--determinate":t===!1},n,s)},Symbol.toStringTag,{value:"Module"})),jt=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>Ge("gids-icon",{"gids-icon--xs":e==="xs","gids-icon--sm":e==="sm","gids-icon--md":e==="md","gids-icon--lg":e==="lg"},t)},Symbol.toStringTag,{value:"Module"})),X=64,He=10,We=X/2-He/2,Tt=X/2,fe=2*Math.PI*We,Lt=`0 0 ${X} ${X}`,It=Object.freeze(Object.defineProperty({__proto__:null,calculateStrokeDasharray:(e=0,t)=>{const n=typeof t=="number"&&t>0?t:1,o=Math.max(0,Math.min(n,e))/n*100,l=(fe*o/100).toFixed(2),i=(fe-parseFloat(l)).toFixed(2);return`${l} ${i}`},centerPosition:Tt,circumference:fe,radius:We,thickness:He,viewBox:Lt},Symbol.toStringTag,{value:"Module"})),he=Symbol("defaultPath"),qe=Symbol("pathSet"),pe="gids-asset-paths-set";class Mt extends EventTarget{#t=new Map;constructor(){super()}#e(t,n){this.#t.set(t,n)}#s(t){return this.#t.get(t)??null}#n=()=>{this.dispatchEvent(new Event(pe))};haveAssetPathsBeenSet(){return this.#s(qe)!==null}setAssetPaths(t,n){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(he,t);else{for(const s in t)this.#e(s,t[s]);n&&this.#e(he,n)}this.#e(qe,"true"),setTimeout(this.#n,0)}}getAssetFilePath(t){const n=this.#s(t);if(n===null){const s=this.#s(he);if(s!==null)return`${s}${s.endsWith("/")?"":"/"}${t}`}return n}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(pe,t,{once:!0}),()=>{this.removeEventListener(pe,t)}}}const me=Symbol.for("GIDS"),Rt=()=>(globalThis[me]===void 0&&(globalThis[me]={assetPaths:{}}),globalThis[me]),Vt=e=>{const t=Rt().assetPaths;return t[e]===void 0&&(t[e]=new Mt),t[e]};function ge(){return Vt("@ganpatiinfo/gids-web-shared")}function Dt(){return ge().haveAssetPathsBeenSet()}function Ue(e){return ge().getAssetFilePath(e)}function Bt(e){return ge().onAssetPathsSet(e)}let Ft=0;const Gt=(e,t="gids")=>e||`${t}-${Ft++}`,Ht=e=>e.type==="hidden",Wt=e=>{if(!(e instanceof HTMLElement))return!1;const{nodeName:t}=e;return!!(["BUTTON","DETAILS","EMBED","IFRAME","KEYGEN","LABEL","SELECT","TEXTAREA"].includes(t)||t==="A"&&e.hasAttribute("href")||e instanceof HTMLInputElement&&!Ht(e)||["AUDIO","VIDEO"].includes(t)&&e.hasAttribute("controls")||["IMG","OBJECT"].includes(t)&&e.hasAttribute("usemap")||e.hasAttribute("tabindex")&&e.tabIndex>-1)},ze={"icons-other.svg":["accessibility","add","remove","announcement","approval","archive","audio","backward","banking","battery","bluetooth","bookmark","bulb","calendar","camera","card","cart","chart","chat","cloud","code","compass","desktop","email","emergency","exchange","finance","fingerprint","flag","folder","forward","gift","globe","goals","happy","hashtag","headphones","history","image","insurance","investment","in-progress","key","link","list","location","lock","map","maximise","microphone","minimise","mobile","moon","network","neutral","ai","new","draft","pending","new-chat","pause","percent","placeholder","play","power","rain","refresh","repeat","sad","save","savings","shield","shuffle","side-navigation","snow","speaker","stop","sun","tablet","temperature","thumbs-down","thumbs-up","travel","trend-down","trend-up","unlock","upset","verified","very-happy","video","volume-down","volume-max","volume-min","volume-mute","volume-up","wallet","wealth","wi-fi","wind"],"icons-core.svg":["arrow-down","arrow-left","arrow-right","arrow-up","attachment","checkmark","chevron-down","chevron-horizontal","chevron-left","chevron-right","chevron-up","chevron-vertical","copy","cross","danger","dashboard","delete","document","download","drag","edit","external","eye","filter","grid","hide","home","information","log-in","log-out","menu","minus","more","notifications","options","phone","plus","positive","printer","question","syncing","search","select","select-all","send","settings","share","star","time","upload","user","users","warning"]},Ke=new Map;for(const e in ze)for(const t of ze[e])Ke.set(t,e);function qt(e){return Ke.get(e)}function Ye(e,t="regular",n){const s=qt(e);let o=s??"";return n&&s&&(o=n(s)??s),`${o}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:Ut}=jt,Je=({name:e,size:t,appearance:n,alt:s,class:o,titleId:l,src:i,...a})=>{const r=Gt(l);let d=i;return d===void 0&&Dt()&&(d=Ye(e,n,Ue)),k("svg",{ref:u=>{d===void 0&&Bt((()=>{(function(c,f,p){if(!c)return;const h=document.createElementNS("http://www.w3.org/2000/svg","use");h.setAttribute("href",Ye(f,p,Ue)),c.appendChild(h)})(u,e,n)}))},width:"16",height:"16",class:Ut({size:t},o),role:"img","aria-hidden":s===""?"true":void 0,"aria-labelledby":s===""?void 0:r,...a},s!==""&&k("title",{id:r},s||e),d!==void 0?k("use",{href:d}):null)},{getGidsSpinnerControlClassNames:zt}=xt,{calculateStrokeDasharray:Kt,thickness:Xe,radius:Ze,centerPosition:Z,viewBox:Yt}=It,Jt=({size:e,indeterminate:t,value:n,max:s,...o})=>{let l;return t||(l={strokeDashArray:Kt(n,s||0),strokeDashoffset:"0"}),k("svg",{class:zt({size:e,indeterminate:t,value:n}),viewBox:Yt,...o},k("circle",{class:"gids-spinner-control__track",cx:Z,cy:Z,r:Ze,"stroke-width":Xe}),k("circle",{style:l,class:"gids-spinner-control__progress",cx:Z,cy:Z,r:Ze,"stroke-width":Xe}))},Qe=At(class extends ot{constructor(e){super(),e!==!1&&this.__registerHost(),this.#e={},this._focusInput=t=>{const n=t.target;n===this.#t||this._isWithinInteractiveElement(n)||this.#t?.focus()},this._handleInputFocusAndBlur=t=>{this._el.dispatchEvent(new FocusEvent(t.type,{relatedTarget:t.relatedTarget}))}}get defaultValue(){return this.#t?.defaultValue??this.#e.defaultValue??""}set defaultValue(e){this.#t?this.#t.defaultValue=e:this.#e.defaultValue=e}get value(){return this.#t?.value??this.#e.value??this.#e.defaultValue??""}set value(e){this.#t?this.#t.value=e:this.#e.value=e}#t;#e;_isWithinInteractiveElement(e){if(e===null||e===this._el||!this._el.contains(e))return!1;if(Wt(e))return!0;{const t=e.parentElement;if(t)return this._isWithinInteractiveElement(t)}return!1}connectedCallback(){this._el.addEventListener("click",this._focusInput)}disconnectedCallback(){this._el.removeEventListener("click",this._focusInput)}render(){return k(Ot,{key:"013d4a68291d4a3897246142cd611a2bc442d6a3"},k("slot",{key:"97f0d9030c5061b219cc35c409820b81e3d4098a",name:"leadingIcon"}),this.leadingLabel&&k("span",{key:"2f8726384a877b0bee51579661f66f6e3da811e1",class:"gids-input__label"},this.leadingLabel),k("slot",{key:"4843ddf9a10afba03ec0a552fd61cfddd3470749",name:"leadingAccessory"}),k("input",{key:"657559522ac7908ebb5dc27992cb50eb69d1fbd8",...this.inputProps,ref:e=>{this.#t=e,this.#e.value!==void 0&&(this.#t.value=this.#e.value,delete this.#e.value),this.#e.defaultValue!==void 0&&(this.#t.defaultValue=this.#e.defaultValue,delete this.#e.defaultValue)},class:"gids-input__control",name:this.name,disabled:this.disabled,readOnly:this.readOnly,required:this.required,onFocus:this._handleInputFocusAndBlur,onBlur:this._handleInputFocusAndBlur}),k("slot",{key:"c80c3ce3bf17f60e8f773b9c2f5dc25dacdf5446",name:"trailingAccessory"}),this.trailingLabel&&k("span",{key:"f9ba8d097b660cdeaeacc0ac1ba970d3fa839fcc",class:"gids-input__label"},this.trailingLabel),k("slot",{key:"35116e82425db12c08580460ac9c84f89faec71e",name:"trailingIcon"}),this.status==="incomplete"&&k(Je,{key:"2634986e80dfbbfb98b5a4dd95829e6af3b229a0",name:"warning",appearance:"filled",class:"gids-input__warning-icon"}),this.status==="complete"&&k(Je,{key:"63ab6b357df47d2d96ad6d3d33f22ab7864f395e",name:"positive",appearance:"filled",class:"gids-input__positive-icon"}),this.loading&&k(Jt,{key:"1eb7af66b5005a6f8dea895c00f100e7cc6e7548",size:"md",indeterminate:!0}))}get _el(){return this}},[260,"gids-input",{appearance:[513],defaultValue:[6657,"default-value"],disabled:[516],inputProps:[16],leadingLabel:[513,"leading-label"],trailingLabel:[513,"trailing-label"],loading:[516],name:[513],readOnly:[516,"readonly"],required:[516],status:[513],value:[6145]}]);function et(){typeof customElements<"u"&&["gids-input"].forEach((e=>{e==="gids-input"&&(customElements.get(e)||customElements.define(e,Qe))}))}et();const Xt=Qe,Zt=et;L.GidsInput=Xt,L.defineCustomElement=Zt,Object.defineProperty(L,Symbol.toStringTag,{value:"Module"})}));
@@ -0,0 +1,5 @@
1
+ (function(A,M){typeof exports=="object"&&typeof module<"u"?M(exports):typeof define=="function"&&define.amd?define(["exports"],M):(A=typeof globalThis<"u"?globalThis:A||self,M(A.gidsCoreWebGidsLevelGauge={}))})(this,(function(A){"use strict";function M(e,t,l){const s=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==s;){const i=Object.getOwnPropertyDescriptor(e,t);if(i&&(!l||i.get))return i;e=Object.getPrototypeOf(e)}}var V,Ie=(e,t)=>{var l;Object.entries((l=t.o.t)!=null?l:{}).map((([s,[i]])=>{if(31&i||32&i){const a=e[s],n=M(Object.getPrototypeOf(e),s,!0)||Object.getOwnPropertyDescriptor(e,s);n&&Object.defineProperty(e,s,{get(){return n.get.call(this)},set(r){n.set.call(this,r)},configurable:!0,enumerable:!0}),t.l.has(s)?e[s]=t.l.get(s):a!==void 0&&(e[s]=a)}}))},L=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},ue=(e,t)=>t in e,P=(e,t)=>(0,console.error)(e,t),U=new Map,fe="http://www.w3.org/1999/xlink",qe=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],S=typeof window<"u"?window:{},Xe=S.HTMLElement||class{},N={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,l,s)=>e.addEventListener(t,l,s),rel:(e,t,l,s)=>e.removeEventListener(t,l,s),ce:(e,t)=>new CustomEvent(e,t)},Ye=(()=>{var e;let t=!1;try{(e=S.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),ee=(()=>{try{return!!S.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),te=!!ee&&!!S.document&&Object.getOwnPropertyDescriptor(S.document.adoptedStyleSheets,"length").writable,se=!1,me=[],ye=[],Ze=(e,t)=>l=>{e.push(l),se||(se=!0,4&N.i?ie(le):N.raf(le))},ve=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(l){P(l)}e.length=0},le=()=>{ve(me),ve(ye),(se=me.length>0)&&N.raf(le)},ie=e=>Promise.resolve(void 0).then(e),Je=Ze(ye);function Ke(){const e=this.attachShadow({mode:"open"});V===void 0&&(V=null),V&&(te?e.adoptedStyleSheets.push(V):e.adoptedStyleSheets=[...e.adoptedStyleSheets,V])}var _e=e=>{const t=oe(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&ae(t,e.tagName).forEach((s=>{s.nodeType===1&&s.tagName==="SLOT-FB"&&(s.hidden=!!Qe(s,F(s),!1).length)}));let l=0;for(l=0;l<t.length;l++){const s=t[l];s.nodeType===1&&oe(s,"childNodes").length&&_e(s)}};function ae(e,t,l){let s,i=0,a=[];for(;i<e.length;i++){if(s=e[i],s["s-sr"]&&(!t||s["s-hn"]===t)&&(l===void 0||F(s)===l)&&(a.push(s),l!==void 0))return a;a=[...a,...ae(s.childNodes,t,l)]}return a}var Qe=(e,t,l=!0)=>{const s=[];(l&&e["s-sr"]||!e["s-sr"])&&s.push(e);let i=e;for(;i=i.nextSibling;)F(i)!==t||!l&&i["s-sr"]||s.push(i);return s},be=(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 l=e["__"+t];return typeof l!="function"?l:l.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var ne,R,z=new WeakMap,xe=e=>"sc-"+e.p,re=e=>(e=typeof e)=="object"||e==="function",_=(e,t,...l)=>{let s=null,i=null,a=null,n=!1,r=!1;const o=[],d=c=>{for(let p=0;p<c.length;p++)s=c[p],Array.isArray(s)?d(s):s!=null&&typeof s!="boolean"&&((n=typeof e!="function"&&!re(s))&&(s=String(s)),n&&r?o[o.length-1].h+=s:o.push(n?I(null,s):s),r=n)};if(d(l),t){t.key&&(i=t.key),t.name&&(a=t.name);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter((p=>c[p])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,o,tt);const g=I(e,null);return g.v=t,o.length>0&&(g.m=o),g.$=i,g.j=a,g},I=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),et={},tt={forEach:(e,t)=>e.map(Se).forEach(t),map:(e,t)=>e.map(Se).map(t).map(st)},Se=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),st=e=>{if(typeof e.vtag=="function"){const l={...e.vattrs};return e.vkey&&(l.key=e.vkey),e.vname&&(l.name=e.vname),_(e.vtag,l,...e.vchildren||[])}const t=I(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},we=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let l=!1;for(const i of t){if(l)break;for(const a of e[i])if(typeof a=="string"){l=!0;break}}if(!l)return e;const s={};for(const i of t)s[i]=e[i].map((a=>typeof a=="string"?{[a]:0}:a));return s},ke=(e,t,l)=>e==null||re(e)?e:4&t?(l&&typeof e=="string"||e!=="false")&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,lt=(e,t,l)=>{const s=N.ce(t,l);return e.dispatchEvent(s),s},Ne=(e,t,l,s,i,a)=>{if(l===s)return;let n=ue(e,t),r=t.toLowerCase();if(t==="class"){const o=e.classList,d=Oe(l);let g=Oe(s);o.remove(...d.filter((c=>c&&!g.includes(c)))),o.add(...g.filter((c=>c&&!d.includes(c))))}else if(t==="style"){for(const o in l)s&&s[o]!=null||(o.includes("-")?e.style.removeProperty(o):e.style[o]="");for(const o in s)l&&s[o]===l[o]||(o.includes("-")?e.style.setProperty(o,s[o]):e.style[o]=s[o])}else if(t!=="key"){if(t==="ref")s&&ot(s,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const o=t.slice(5);let d;{const g=L(e);if(g&&g.o&&g.o.t){const c=g.o.t[o];c&&c[1]&&(d=c[1])}}return d||(d=o.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 o=t.slice(5);try{e[o]=s}catch{}return}{const o=re(s);if((n||o&&s!==null)&&!i)try{if(e.tagName.includes("-"))e[t]!==s&&(e[t]=s);else{const g=s??"";t==="list"?n=!1:l!=null&&e[t]===g||(typeof e.__lookupSetter__(t)=="function"?e[t]=g:e.setAttribute(t,g))}}catch{}let d=!1;r!==(r=r.replace(/^xlink\:?/,""))&&(t=r,d=!0),s==null||s===!1?s===!1&&e.getAttribute(t)!==""||(d?e.removeAttributeNS(fe,t):e.removeAttribute(t)):(!n||4&a||i)&&!o&&e.nodeType===1&&(s=s===!0?"":s,d?e.setAttributeNS(fe,t,s):e.setAttribute(t,s))}}else if(t=t[2]==="-"?t.slice(3):ue(S,r)?r.slice(2):r[2]+t.slice(3),l||s){const o=t.endsWith($e);t=t.replace(at,""),l&&N.rel(e,t,l,o),s&&N.ael(e,t,s,o)}}},it=/\s/,Oe=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(it):[]),$e="Capture",at=new RegExp($e+"$"),ce=(e,t,l)=>{const s=t.S.nodeType===11&&t.S.host?t.S.host:t.S,i=e&&e.v||{},a=t.v||{};for(const n of Ce(Object.keys(i)))n in a||Ne(s,n,i[n],void 0,l,t.i);for(const n of Ce(Object.keys(a)))Ne(s,n,i[n],a[n],l,t.i)};function Ce(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var G=!1,q=!1,X=!1,O=!1,de=[],ge=[],Y=(e,t,l)=>{var s;const i=t.m[l];let a,n,r,o=0;if(G||(X=!0,i.O==="slot"&&(i.i|=i.m?2:1)),i.h!=null)a=i.S=S.document.createTextNode(i.h);else if(1&i.i)a=i.S=S.document.createTextNode(""),ce(null,i,O);else{if(O||(O=i.O==="svg"),!S.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(a=i.S=S.document.createElementNS(O?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!G&&2&i.i?"slot-fb":i.O),O&&i.O==="foreignObject"&&(O=!1),ce(null,i,O),i.m){const d=i.O==="template"?a.content:a;for(o=0;o<i.m.length;++o)n=Y(e,i,o),n&&d.appendChild(n)}i.O==="svg"?O=!1:a.tagName==="foreignObject"&&(O=!0)}return a["s-hn"]=R,3&i.i&&(a["s-sr"]=!0,a["s-cr"]=ne,a["s-sn"]=i.j||"",a["s-rf"]=(s=i.v)==null?void 0:s.ref,(function(d){if(d.assignedElements||d.assignedNodes||!d["s-sr"])return;const g=c=>(function(p){const f=[],h=this["s-sn"];p?.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 x=this["s-cr"].parentElement;return(x.__childNodes?x.childNodes:(b=>{const y=[];for(let m=0;m<b.length;m++){const u=b[m]["s-nr"]||void 0;u&&u.isConnected&&y.push(u)}return y})(x.childNodes)).forEach((b=>{h===F(b)&&f.push(b)})),c?f.filter((b=>b.nodeType===1)):f}).bind(d);d.assignedElements=g(!0),d.assignedNodes=g(!1)})(a),r=e&&e.m&&e.m[l],r&&r.O===i.O&&e.S&&je(e.S)),a},je=e=>{N.i|=1;const t=e.closest(R.toLowerCase());if(t!=null){const l=Array.from(t.__childNodes||t.childNodes).find((i=>i["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const i of l?s.reverse():s)i["s-sh"]!=null&&(j(t,i,l??null),i["s-sh"]=void 0,X=!0)}N.i&=-2},Z=(e,t)=>{N.i|=1;const l=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"]===R&&l.push(s)}for(let s=l.length-1;s>=0;s--){const i=l[s];i["s-hn"]!==R&&i["s-ol"]&&(j(B(i).parentNode,i,B(i)),i["s-ol"].remove(),i["s-ol"]=void 0,i["s-sh"]=void 0,X=!0),t&&Z(i,t)}N.i&=-2},Ee=(e,t,l,s,i,a)=>{let n,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===R&&(r=r.shadowRoot),l.O==="template"&&(r=r.content);i<=a;++i)s[i]&&(n=Y(null,l,i),n&&(s[i].S=n,j(r,n,B(t))))},Le=(e,t,l)=>{for(let s=t;s<=l;++s){const i=e[s];if(i){const a=i.S;ze(i),a&&(q=!0,a["s-ol"]?a["s-ol"].remove():Z(a,!0),a.remove())}}},J=(e,t,l=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:l?(l&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),B=e=>e&&e["s-ol"]||e,D=(e,t,l=!1)=>{const s=t.S=e.S,i=e.m,a=t.m,n=t.O,r=t.h;let o;r==null?(O=n==="svg"||n!=="foreignObject"&&O,n!=="slot"||G||e.j!==t.j&&(t.S["s-sn"]=t.j||"",je(t.S.parentElement)),ce(e,t,O),i!==null&&a!==null?((d,g,c,p,f=!1)=>{let h,x,b=0,y=0,m=0,u=0,k=g.length-1,v=g[0],w=g[k],$=p.length-1,C=p[0],E=p[$];const Ue=c.O==="template"?d.content:d;for(;b<=k&&y<=$;)if(v==null)v=g[++b];else if(w==null)w=g[--k];else if(C==null)C=p[++y];else if(E==null)E=p[--$];else if(J(v,C,f))D(v,C,f),v=g[++b],C=p[++y];else if(J(w,E,f))D(w,E,f),w=g[--k],E=p[--$];else if(J(v,E,f))v.O!=="slot"&&E.O!=="slot"||Z(v.S.parentNode,!1),D(v,E,f),j(Ue,v.S,w.S.nextSibling),v=g[++b],E=p[--$];else if(J(w,C,f))v.O!=="slot"&&E.O!=="slot"||Z(w.S.parentNode,!1),D(w,C,f),j(Ue,w.S,v.S),w=g[--k],C=p[++y];else{for(m=-1,u=b;u<=k;++u)if(g[u]&&g[u].$!==null&&g[u].$===C.$){m=u;break}m>=0?(x=g[m],x.O!==C.O?h=Y(g&&g[y],c,m):(D(x,C,f),g[m]=void 0,h=x.S),C=p[++y]):(h=Y(g&&g[y],c,y),C=p[++y]),h&&j(B(v.S).parentNode,h,B(v.S))}b>k?Ee(d,p[$+1]==null?null:p[$+1].S,c,p,y,$):y>$&&Le(g,b,k)})(s,i,t,a,l):a!==null?(e.h!==null&&(s.textContent=""),Ee(s,null,t,a,0,a.length-1)):!l&&i!==null&&Le(i,0,i.length-1),O&&n==="svg"&&(O=!1)):(o=s["s-cr"])?o.parentNode.textContent=r:e.h!==r&&(s.data=r)},T=[],Te=e=>{let t,l,s;const i=e.__childNodes||e.childNodes;for(const a of i){if(a["s-sr"]&&(t=a["s-cr"])&&t.parentNode){l=t.parentNode.__childNodes||t.parentNode.childNodes;const n=a["s-sn"];for(s=l.length-1;s>=0;s--)if(t=l[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===a["s-hn"]||t["s-sh"]&&t["s-sh"]===a["s-hn"]))if(be(t,n)){let r=T.find((o=>o.k===t));q=!0,t["s-sn"]=t["s-sn"]||n,r?(r.k["s-sh"]=a["s-hn"],r.N=a):(t["s-sh"]=a["s-hn"],T.push({N:a,k:t})),t["s-sr"]&&T.map((o=>{be(o.k,t["s-sn"])&&(r=T.find((d=>d.k===t)),r&&!o.N&&(o.N=r.N))}))}else T.some((r=>r.k===t))||T.push({k:t})}a.nodeType===1&&Te(a)}},ze=e=>{e.v&&e.v.ref&&de.push((()=>e.v.ref(null))),e.m&&e.m.map(ze)},ot=(e,t)=>{ge.push((()=>e(t)))},j=(e,t,l,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,l);const{slotNode:i}=(function(a,n){var r;if(!(n=n||((r=a["s-ol"])==null?void 0:r.parentElement)))return{slotNode:null,slotName:""};const o=a["s-sn"]=F(a)||"";return{slotNode:ae(oe(n,"childNodes"),n.tagName,o)[0],slotName:o}})(t);return i&&!s&&i.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,l):e?.insertBefore(t,l)},nt=(e,t,l=!1)=>{var s,i,a,n,r;const o=e.$hostElement$,d=e.o,g=e.M||I(null,null);var c;const p=(c=t)&&c.O===et?t:_(null,null,t);if(R=o.tagName,d.C&&(p.v=p.v||{},d.C.forEach((([f,h])=>{p.v[h]=o[f]}))),l&&p.v)for(const f of Object.keys(p.v))o.hasAttribute(f)&&!["key","ref","style","class"].includes(f)&&(p.v[f]=o[f]);if(p.O=null,p.i|=4,e.M=p,p.S=g.S=o.shadowRoot||o,G=!(!(1&d.i)||128&d.i),ne=o["s-cr"],q=!1,D(g,p,l),N.i|=1,X){Te(p.S);for(const f of T){const h=f.k;if(!h["s-ol"]&&S.document){const x=S.document.createTextNode("");x["s-nr"]=h,j(h.parentNode,h["s-ol"]=x,h,l)}}for(const f of T){const h=f.k,x=f.N;if(h.nodeType===1&&l&&(h["s-ih"]=(s=h.hidden)!=null&&s),x){const b=x.parentNode;let y=x.nextSibling;if(y&&y.nodeType===1){let m=(i=h["s-ol"])==null?void 0:i.previousSibling;for(;m;){let u=(a=m["s-nr"])!=null?a:null;if(u&&u["s-sn"]===h["s-sn"]&&b===(u.__parentNode||u.parentNode)){for(u=u.nextSibling;u===h||u?.["s-sr"];)u=u?.nextSibling;if(!u||!u["s-nr"]){y=u;break}}m=m.previousSibling}}if((!y&&b!==(h.__parentNode||h.parentNode)||(h.__nextSibling||h.nextSibling)!==y)&&h!==y){if(j(b,h,y,l),h.nodeType===8&&h.nodeValue.startsWith("s-nt-")){const m=S.document.createTextNode(h.nodeValue.replace(/^s-nt-/,""));m["s-hn"]=h["s-hn"],m["s-sn"]=h["s-sn"],m["s-sh"]=h["s-sh"],m["s-sr"]=h["s-sr"],m["s-ol"]=h["s-ol"],m["s-ol"]["s-nr"]=m,j(h.parentNode,m,h,l),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(n=h["s-ih"])!=null&&n)}h&&typeof x["s-rf"]=="function"&&x["s-rf"](x)}else h.nodeType===1&&(h.hidden=!0)}}if(q&&_e(p.S),N.i&=-2,T.length=0,!G&&!(1&d.i)&&o["s-cr"]){const f=p.S.__childNodes||p.S.childNodes;for(const h of f)if(h["s-hn"]!==R&&!h["s-sh"]){if(l&&h["s-ih"]==null&&(h["s-ih"]=(r=h.hidden)!=null&&r),h.nodeType===1)h.hidden=!0;else if(h.nodeType===3&&h.nodeValue.trim()){const x=S.document.createComment("s-nt-"+h.nodeValue);x["s-sn"]=h["s-sn"],j(h.parentNode,x,h,l),h.parentNode.removeChild(h)}}}ne=void 0,de.forEach((f=>f())),de.length=0,ge.forEach((f=>f())),ge.length=0},Ae=(e,t)=>{if(t&&!e.A&&t["s-p"]){const l=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(l-1,1),s()})))}},pe=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Ae(e,e.R);const l=()=>rt(e,t);if(!t)return Je(l);queueMicrotask((()=>{l()}))},rt=(e,t)=>{const l=e.$hostElement$,s=l;if(!s)throw new Error(`Can't render component <${l.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return i=H(s,t?"componentWillLoad":"componentWillUpdate",void 0,l),i=Pe(i,(()=>H(s,"componentWillRender",void 0,l))),Pe(i,(()=>dt(e,s,t)))},Pe=(e,t)=>ct(e)?e.then(t).catch((l=>{console.error(l),t()})):t(),ct=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",dt=async(e,t,l)=>{var s;const i=e.$hostElement$,a=i["s-rc"];l&&(n=>{const r=n.o,o=n.$hostElement$,d=r.i,g=((c,p)=>{var f,h,x;const b=xe(p),y=U.get(b);if(!S.document)return b;if(c=c.nodeType===11?c:S.document,y)if(typeof y=="string"){let m,u=z.get(c=c.head||c);if(u||z.set(c,u=new Set),!u.has(b)){m=S.document.createElement("style"),m.textContent=y;const k=(f=N._)!=null?f:(function(){var v,w,$;return($=(w=(v=S.document.head)==null?void 0:v.querySelector('meta[name="csp-nonce"]'))==null?void 0:w.getAttribute("content"))!=null?$:void 0})();if(k!=null&&m.setAttribute("nonce",k),!(1&p.i))if(c.nodeName==="HEAD"){const v=c.querySelectorAll("link[rel=preconnect]"),w=v.length>0?v[v.length-1].nextSibling:c.querySelector("style");c.insertBefore(m,w?.parentNode===c?w:null)}else if("host"in c)if(ee){const v=new((h=c.defaultView)!=null?h:c.ownerDocument.defaultView).CSSStyleSheet;v.replaceSync(y),te?c.adoptedStyleSheets.unshift(v):c.adoptedStyleSheets=[v,...c.adoptedStyleSheets]}else{const v=c.querySelector("style");v?v.textContent=y+v.textContent:c.prepend(m)}else c.append(m);1&p.i&&c.insertBefore(m,null),4&p.i&&(m.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),u&&u.add(b)}}else{let m=z.get(c);if(m||z.set(c,m=new Set),!m.has(b)){const u=(x=c.defaultView)!=null?x:c.ownerDocument.defaultView;let k;if(y.constructor===u.CSSStyleSheet)k=y;else{k=new u.CSSStyleSheet;for(let v=0;v<y.cssRules.length;v++)k.insertRule(y.cssRules[v].cssText,v)}te?c.adoptedStyleSheets.push(k):c.adoptedStyleSheets=[...c.adoptedStyleSheets,k],m.add(b)}}return b})(o.shadowRoot?o.shadowRoot:o.getRootNode(),r);10&d&&(o["s-sc"]=g,o.classList.add(g+"-h"))})(e),gt(e,t,i,l),a&&(a.map((n=>n())),i["s-rc"]=void 0);{const n=(s=i["s-p"])!=null?s:[],r=()=>pt(e);n.length===0?r():(Promise.all(n).then(r).catch(r),e.i|=4,n.length=0)}},gt=(e,t,l,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,nt(e,t,s)}catch(i){P(i,e.$hostElement$)}return null},pt=e=>{const t=e.$hostElement$,l=t,s=e.R;H(l,"componentDidRender",void 0,t),64&e.i?H(l,"componentDidUpdate",void 0,t):(e.i|=64,ut(t),H(l,"componentDidLoad",void 0,t),e.L(t),s||ht()),e.A&&(e.A(),e.A=void 0),512&e.i&&ie((()=>pe(e,!1))),e.i&=-517},ht=()=>{ie((()=>lt(S,"appload",{detail:{namespace:"gids-core-web"}})))},H=(e,t,l,s)=>{if(e&&e[t])try{return e[t](l)}catch(i){P(i,s)}},ut=e=>e.classList.add("hydrated"),Re=(e,t,l,s)=>{const i=L(e);if(!i)return;const a=e,n=i.l.get(t),r=i.i,o=a;l=ke(l,s.t[t][0],!!(64&s.i));const d=Number.isNaN(n)&&Number.isNaN(l);if(l!==n&&!d){if(i.l.set(t,l),s.F){const g=s.F[t];g&&g.map((c=>{try{const[[p,f]]=Object.entries(c);(128&r||1&f)&&(o?o[p](l,n,t):i.T.push((()=>{i.D[p](l,n,t)})))}catch(p){P(p,a)}}))}if(2&r){if(o.componentShouldUpdate&&o.componentShouldUpdate(l,n,t)===!1&&!(16&r))return;16&r||pe(i,!1)}}},ft=(e,t,l)=>{var s,i;const a=e.prototype;64&t.i&&1&l&&qe.forEach((n=>{const r=a[n];Object.defineProperty(a,n,{value(...o){var d;const g=L(this),c=this;c?typeof r=="function"&&r.call(c,...o):(d=g?.H)==null||d.then((p=>{const f=p[n];typeof f=="function"&&f.call(p,...o)}))}})}));{e.watchers&&!t.F&&(t.F=we(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const n=Object.entries((s=t.t)!=null?s:{});n.map((([r,[o]])=>{if(31&o||32&o){const{get:d,set:g}=M(a,r)||{};d&&(t.t[r][0]|=2048),g&&(t.t[r][0]|=4096),Object.defineProperty(a,r,{get(){return d?d.apply(this):(c=r,L(this).l.get(c));var c},configurable:!0,enumerable:!0}),Object.defineProperty(a,r,{set(c){const p=L(this);if(p){if(g)return(32&o?this[r]:p.$hostElement$[r])===void 0&&p.l.get(r)&&(c=p.l.get(r)),g.apply(this,[ke(c,o,!!(64&t.i))]),void Re(this,r,c=32&o?this[r]:p.$hostElement$[r],t);Re(this,r,c,t)}}})}}));{const r=new Map;a.attributeChangedCallback=function(o,d,g){N.jmp((()=>{var c;const p=r.get(o),f=L(this);if(this.hasOwnProperty(p),a.hasOwnProperty(p)&&typeof this[p]=="number"&&this[p]==g)return;if(p==null){const m=f?.i;if(f&&m&&!(8&m)&&g!==d){const u=this,k=(c=t.F)==null?void 0:c[o];k?.forEach((v=>{const[[w,$]]=Object.entries(v);u[w]!=null&&(128&m||1&$)&&u[w].call(u,g,d,o)}))}return}const h=n.find((([m])=>m===p)),x=h&&4&h[1][0],b=x&&g===null&&this[p]===void 0;x&&(g=g!==null&&g!=="false");const y=Object.getOwnPropertyDescriptor(a,p);b||g==this[p]||y.get&&!y.set||(this[p]=g)}))},e.observedAttributes=Array.from(new Set([...Object.keys((i=t.F)!=null?i:{}),...n.filter((([o,d])=>31&d[0])).map((([o,d])=>{var g;const c=d[1]||o;return r.set(c,o),512&d[0]&&((g=t.C)==null||g.push([o,c])),c}))]))}}return e},mt=(e,t)=>{const l={i:t[0],p:t[1]};try{l.t=t[2],l.W=t[3],l.F=we(e.F),l.P=e.P,l.U=e.U,l.C=[];const s=e.prototype.connectedCallback,i=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((a,n)=>{const r={i:0,$hostElement$:a,o:n,l:new Map,B:new Map};r.H=new Promise((d=>r.L=d)),a["s-p"]=[],a["s-rc"]=[];const o=r;a.__stencil__getHostRef=()=>o,512&n.i&&Ie(a,r)})(this,l)},connectedCallback(){if(!this.__hasHostListenerAttached){const a=L(this);if(!a)return;Me(this,a,l.W),this.__hasHostListenerAttached=!0}(a=>{if(!(1&N.i)){const n=L(a);if(!n)return;const r=n.o;if(1&n.i)Me(a,n,r.W),n?.D||n?.H&&n.H.then((()=>{}));else{n.i|=1,12&r.i&&(o=>{if(!S.document)return;const d=o["s-cr"]=S.document.createComment("");d["s-cn"]=!0,j(o,d,o.firstChild)})(a);{let o=a;for(;o=o.parentNode||o.host;)if(o["s-p"]){Ae(n,n.R=o);break}}r.t&&Object.entries(r.t).map((([o,[d]])=>{if(31&d&&Object.prototype.hasOwnProperty.call(a,o)){const g=a[o];delete a[o],a[o]=g}})),(async(o,d,g)=>{let c;try{if(!(32&d.i)&&(d.i|=32,c=o.constructor,customElements.whenDefined(o.localName).then((()=>d.i|=128)),c&&c.style)){let h;typeof c.style=="string"&&(h=c.style);const x=xe(g);U.has(x)||((b,y,m)=>{let u=U.get(b);ee&&m?(u=u||new CSSStyleSheet,typeof u=="string"?u=y:u.replaceSync(y)):u=y,U.set(b,u)})(x,h,!!(1&g.i))}const p=d.R,f=()=>pe(d,!0);p&&p["s-rc"]?p["s-rc"].push(f):f()}catch(p){P(p,o),d.A&&(d.A(),d.A=void 0),d.L&&d.L(o)}})(a,n,r)}}})(this),s&&s.call(this)},disconnectedCallback(){(async a=>{if(!(1&N.i)){const n=L(a);n?.V&&(n.V.map((r=>r())),n.V=void 0)}z.has(a)&&z.delete(a),a.shadowRoot&&z.has(a.shadowRoot)&&z.delete(a.shadowRoot)})(this),i&&i.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${l.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Ke.call(this,l)}}),Object.defineProperty(e,"is",{value:l.p,configurable:!0}),ft(e,l,3)}catch(s){return P(s),e}},Me=(e,t,l)=>{l&&S.document&&l.map((([s,i,a])=>{const n=vt(S.document,e,s),r=yt(t,a),o=_t(s);N.ael(n,i,r,o),(t.V=t.V||[]).push((()=>N.rel(n,i,r,o)))}))},yt=(e,t)=>l=>{try{e.$hostElement$[t](l)}catch(s){P(s,e.$hostElement$)}},vt=(e,t,l)=>8&l?S:t,_t=e=>Ye?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function It(e){return e}function De(e){var t,l,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(l=De(e[t]))&&(s&&(s+=" "),s+=l)}else for(l in e)e[l]&&(s&&(s+=" "),s+=l);return s}function W(){for(var e,t,l=0,s="",i=arguments.length;l<i;l++)(e=arguments[l])&&(t=De(e))&&(s&&(s+=" "),s+=t);return s}const bt=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerControlClassNames:({size:e,indeterminate:t,value:l},s)=>W("gids-spinner-control",{"gids-spinner-control--xs":e==="xs","gids-spinner-control--sm":e==="sm","gids-spinner-control--lg":e==="lg","gids-spinner-control--xl":e==="xl","gids-spinner-control--2xl":e==="2xl","gids-spinner-control--determinate":t===!1},l,s)},Symbol.toStringTag,{value:"Module"})),xt=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerClassNames:({size:e},t)=>W("gids-spinner",{"gids-spinner--xs":e==="xs","gids-spinner--sm":e==="sm","gids-spinner--lg":e==="lg","gids-spinner--xl":e==="xl","gids-spinner--2xl":e==="2xl"},t)},Symbol.toStringTag,{value:"Module"})),St=Object.freeze(Object.defineProperty({__proto__:null,getElementVisibility:e=>{const{label:t,supportingText:l}=e,s=typeof t=="string"&&t.trim().length>0,i=typeof l=="string"&&l.trim().length>0;return{hasLabel:s,hasSupportingText:i}}},Symbol.toStringTag,{value:"Module"})),K=64,Ve=10,Fe=K/2-Ve/2,wt=K/2,he=2*Math.PI*Fe,kt=`0 0 ${K} ${K}`,Nt=Object.freeze(Object.defineProperty({__proto__:null,calculateStrokeDasharray:(e=0,t)=>{const l=typeof t=="number"&&t>0?t:1,i=Math.max(0,Math.min(l,e))/l*100,a=(he*i/100).toFixed(2),n=(he-parseFloat(a)).toFixed(2);return`${a} ${n}`},centerPosition:wt,circumference:he,radius:Fe,thickness:Ve,viewBox:kt},Symbol.toStringTag,{value:"Module"})),Ot=100,$t="Invalid Progress Value!",Ct=e=>`The provided progress value is invalid or exceeds the maximum(${e}%) allowed capacity configuration bounds for this specific layout shape profile.`,jt=Object.freeze(Object.defineProperty({__proto__:null,getGidsButtonDockClassNames:e=>W("gids-button-dock",e)},Symbol.toStringTag,{value:"Module"})),Et=Object.freeze(Object.defineProperty({__proto__:null,getGidsFeedbackBlockClassNames:e=>W("gids-feedback-block",e)},Symbol.toStringTag,{value:"Module"})),Lt=Object.freeze(Object.defineProperty({__proto__:null,getGidsLevelGaugeClassNames:({breakpoint:e},t)=>W("gids-level-gauge",{"gids-level-gauge--breakpoint-mobile":e==="mobile"},t)},Symbol.toStringTag,{value:"Module"})),{getGidsButtonDockClassNames:Tt}=jt,zt=({class:e,primaryChildren:t,secondaryChildren:l,...s})=>_("div",{class:Tt(e),...s},_("div",{class:"gids-button-dock__secondary-area"},l),_("div",{class:"gids-button-dock__primary-area"},t)),{getGidsFeedbackBlockClassNames:At}=Et,Pt=({title:e,supportingText:t,image:l,children:s})=>_("div",{class:At()},_("div",{class:"gids-feedback-block__inner-container"},l&&_("div",{class:"gids-feedback-block__image-container"},l),_("p",{class:"gids-feedback-block__title"},_("strong",null,e)),_("div",{class:"gids-feedback-block__supporting-text"},t),s&&_(zt,{primaryChildren:s}))),{getGidsSpinnerControlClassNames:Rt}=bt,{calculateStrokeDasharray:Mt,thickness:Ge,radius:Be,centerPosition:Q,viewBox:Dt}=Nt,Vt=({size:e,indeterminate:t,value:l,max:s,...i})=>{let a;return t||(a={strokeDashArray:Mt(l,s||0),strokeDashoffset:"0"}),_("svg",{class:Rt({size:e,indeterminate:t,value:l}),viewBox:Dt,...i},_("circle",{class:"gids-spinner-control__track",cx:Q,cy:Q,r:Be,"stroke-width":Ge}),_("circle",{style:a,class:"gids-spinner-control__progress",cx:Q,cy:Q,r:Be,"stroke-width":Ge}))},{getGidsSpinnerClassNames:Ft}=xt,{getElementVisibility:Gt}=St,Bt=({label:e,supportingText:t,size:l,indeterminate:s,value:i,max:a,class:n,...r})=>{const{hasLabel:o,hasSupportingText:d}=Gt({label:e,supportingText:t});return _("span",{class:Ft({size:l},n),...r},_(Vt,{size:l,indeterminate:s,value:i,max:a}),o&&_("span",{class:"gids-spinner__label"},e),d&&_("span",{class:"gids-spinner__supporting-text"},t))},{getGidsLevelGaugeClassNames:Ht}=Lt,He=mt(class extends Xe{constructor(e){super(),e!==!1&&this.__registerHost(),this.breakpoint="desktop",this.value=0,this.label="Completed",this.size="xxs",this.color="amber",this.chartLoaderSize="lg",this.chartLoading=!1,this.width=0,this.height=0}valueChanged(){this.updateDimensions()}componentDidLoad(){this.updateDimensions(),this.resizeObserver=new ResizeObserver((()=>this.updateDimensions())),this.hostElement.parentElement&&this.resizeObserver.observe(this.hostElement.parentElement)}disconnectedCallback(){this.resizeObserver&&this.resizeObserver.disconnect()}updateDimensions(){const e=this.hostElement.getBoundingClientRect();this.width=e.width,this.height=e.height>0?e.height:240}render(){if(this.chartLoading)return _("div",{class:"gids-level-gauge__no-data"},_(Bt,{label:this.chartLoadingTitle,supportingText:this.chartLoadingSupportingText,size:this?.chartLoaderSize??"lg"}));let e=0;typeof this.value=="number"&&!isNaN(this.value)&&(e=this.value);const t=Ot;if(!(typeof this.value=="number"&&!isNaN(this.value)&&this.value<=t&&this.value>=0))return _("div",{class:"gids-level-gauge__no-data"},_(Pt,{title:$t,supportingText:Ct(100),image:_("slot",{name:"chartFeedbackBlockImage"})}));const l=Math.min(Math.max(e/t,0),1),s=`${Math.round(100*l)}%`,i=Ht({breakpoint:this.breakpoint}),a=2*Math.PI*40,n=`${l*a} ${a}`,r=this.size==="xxs";return _("div",{class:i},_("div",{class:`gids-level-gauge__main-container gids-level-gauge__main-container--variant-${this.color}`},_("div",{class:`gids-level-gauge__svg-wrapper gids-level-gauge__svg-wrapper--size-${this.size}`},_("svg",{viewBox:"0 0 100 100",class:"gids-level-gauge__chart-vector"},_("circle",{cx:"50",cy:"50",r:40,class:"gids-level-gauge__track-background"}),_("circle",{cx:"50",cy:"50",r:40,class:`gids-level-gauge__segment gids-level-gauge__segment--variant-${this.color}`,"stroke-dasharray":n,"stroke-dashoffset":"0",transform:"rotate(-90 50 50)"})),_("div",{class:"gids-level-gauge__center-content"},r?null:_("span",{class:`gids-level-gauge__label-common gids-level-gauge__label-${this.size}`},this.label),_("span",{class:`gids-level-gauge__percentage-common gids-level-gauge__percentage-${this.size}`},s))),r?_("div",{class:"gids-level-gauge__bottom-content"},_("span",{class:`gids-level-gauge__label-common gids-level-gauge__label-${this.size}`},this.label)):null))}get hostElement(){return this}static get watchers(){return{value:[{valueChanged:0}],max:[{valueChanged:0}]}}static get style(){return":host{display:block;box-sizing:border-box}.gids-level-gauge{display:block;box-sizing:border-box}.gids-level-gauge--breakpoint-mobile{max-width:var(--gids-width-xs)}.gids-level-gauge__main-container{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%}.gids-level-gauge{}.gids-level-gauge__svg-wrapper{position:relative;display:block;flex-shrink:0}.gids-level-gauge__svg-wrapper--size-xxs{width:180px;height:180px}.gids-level-gauge__svg-wrapper--size-xs{width:220px;height:220px}.gids-level-gauge__svg-wrapper--size-sm{width:260px;height:260px}.gids-level-gauge__svg-wrapper--size-md{width:300px;height:300px}.gids-level-gauge__svg-wrapper--size-lg{width:340px;height:340px}.gids-level-gauge__chart-vector{display:block;width:100%;height:100%}.gids-level-gauge{}.gids-level-gauge__main-container{display:flex;flex-direction:column;gap:var(--gids-gap-050)}.gids-level-gauge__main-container--variant-amber .gids-level-gauge__track-background{stroke:rgb(248, 248, 248)}.gids-level-gauge__main-container--variant-burgundy .gids-level-gauge__track-background{stroke:rgb(246, 243, 243)}.gids-level-gauge__main-container--variant-teal .gids-level-gauge__track-background{stroke:rgb(232, 245, 250)}.gids-level-gauge__track-background{fill:none;stroke-width:6}.gids-level-gauge__segment{fill:none;stroke-width:6;stroke-linecap:round;transition:stroke-dasharray 0.4s ease-out}.gids-level-gauge__segment--variant-amber{stroke:rgb(80, 82, 88)}.gids-level-gauge__segment--variant-burgundy{stroke:rgb(132, 84, 95)}.gids-level-gauge__segment--variant-teal{stroke:rgb(23, 60, 102)}.gids-level-gauge{}.gids-level-gauge__center-content{position:absolute;top:0;bottom:0;left:0;right:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;pointer-events:none;gap:var(--gids-gap-025)}.gids-level-gauge__label-xxs{font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit)}.gids-level-gauge__label-xs{font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit)}.gids-level-gauge__label-sm{font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit)}.gids-level-gauge__label-md{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)}.gids-level-gauge__label-lg{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)}.gids-level-gauge__label-common{color:var(--gids-color-text-subtlest)}.gids-level-gauge__percentage-xxs{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)}.gids-level-gauge__percentage-xs{font-family:var(--gids-typography-display-x-small__font-family);font-size:var(--gids-typography-display-x-small__font-size);font-weight:var(--gids-typography-display-x-small__font-weight);letter-spacing:var(--gids-typography-display-x-small__letter-spacing);line-height:var(--gids-typography-display-x-small__line-height);text-transform:var(--gids-typography-display-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-display-x-small__font-variant-caps, inherit)}.gids-level-gauge__percentage-sm{font-family:var(--gids-typography-display-x-small__font-family);font-size:var(--gids-typography-display-x-small__font-size);font-weight:var(--gids-typography-display-x-small__font-weight);letter-spacing:var(--gids-typography-display-x-small__letter-spacing);line-height:var(--gids-typography-display-x-small__line-height);text-transform:var(--gids-typography-display-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-display-x-small__font-variant-caps, inherit)}.gids-level-gauge__percentage-md{font-family:var(--gids-typography-display-small__font-family);font-size:var(--gids-typography-display-small__font-size);font-weight:var(--gids-typography-display-small__font-weight);letter-spacing:var(--gids-typography-display-small__letter-spacing);line-height:var(--gids-typography-display-small__line-height);text-transform:var(--gids-typography-display-small__text-transform, inherit);font-variant-caps:var(--gids-typography-display-small__font-variant-caps, inherit)}.gids-level-gauge__percentage-lg{font-family:var(--gids-typography-display-small__font-family);font-size:var(--gids-typography-display-small__font-size);font-weight:var(--gids-typography-display-small__font-weight);letter-spacing:var(--gids-typography-display-small__letter-spacing);line-height:var(--gids-typography-display-small__line-height);text-transform:var(--gids-typography-display-small__text-transform, inherit);font-variant-caps:var(--gids-typography-display-small__font-variant-caps, inherit)}.gids-level-gauge__percentage-common{color:var(--gids-color-text-default)}.gids-level-gauge{}.gids-level-gauge__bottom-content{display:flex;justify-content:center;text-align:center}.gids-level-gauge__no-data{display:flex;align-items:center;justify-content:center;padding:var(--gids-padding-vertical-edge-to-element-300) var(--gids-padding-horizontal-edge-to-element-100);width:100%;height:100%;min-height:200px;color:var(--gids-color-text-subtlest);border:var(--gids-border-width-thin) dashed var(--gids-color-border-default);border-radius:var(--gids-border-radius-md)}"}},[260,"gids-level-gauge",{breakpoint:[1],value:[2],label:[1],size:[1],color:[1],chartLoaderSize:[1,"chart-loader-size"],chartLoading:[4,"chart-loading"],chartLoadingTitle:[1,"chart-loading-title"],chartLoadingSupportingText:[1,"chart-loading-supporting-text"],width:[32],height:[32]},void 0,{value:[{valueChanged:0}],max:[{valueChanged:0}]}]);function We(){typeof customElements<"u"&&["gids-level-gauge"].forEach((e=>{e==="gids-level-gauge"&&(customElements.get(e)||customElements.define(e,He))}))}We();const Wt=He,Ut=We;A.GidsLevelGauge=Wt,A.defineCustomElement=Ut,Object.defineProperty(A,Symbol.toStringTag,{value:"Module"})}));
@@ -0,0 +1,5 @@
1
+ (function(T,M){typeof exports=="object"&&typeof module<"u"?M(exports):typeof define=="function"&&define.amd?define(["exports"],M):(T=typeof globalThis<"u"?globalThis:T||self,M(T.gidsCoreWebGidsLineChart={}))})(this,(function(T){"use strict";function M(e,t,i){const s=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==s;){const n=Object.getOwnPropertyDescriptor(e,t);if(n&&(!i||n.get))return n;e=Object.getPrototypeOf(e)}}var R,rt=(e,t)=>{var i;Object.entries((i=t.o.t)!=null?i:{}).map((([s,[n]])=>{if(31&n||32&n){const r=e[s],l=M(Object.getPrototypeOf(e),s,!0)||Object.getOwnPropertyDescriptor(e,s);l&&Object.defineProperty(e,s,{get(){return l.get.call(this)},set(c){l.set.call(this,c)},configurable:!0,enumerable:!0}),t.l.has(s)?e[s]=t.l.get(s):r!==void 0&&(e[s]=r)}}))},P=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},_e=(e,t)=>t in e,z=(e,t)=>(0,console.error)(e,t),W=new Map,xe="http://www.w3.org/1999/xlink",ot=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],S=typeof window<"u"?window:{},ee=S.HTMLElement||class{},C={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,i,s)=>e.addEventListener(t,i,s),rel:(e,t,i,s)=>e.removeEventListener(t,i,s),ce:(e,t)=>new CustomEvent(e,t)},at=(()=>{var e;let t=!1;try{(e=S.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),te=(()=>{try{return!!S.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),se=!!te&&!!S.document&&Object.getOwnPropertyDescriptor(S.document.adoptedStyleSheets,"length").writable,ie=!1,Se=[],we=[],lt=(e,t)=>i=>{e.push(i),ie||(ie=!0,4&C.i?re(ne):C.raf(ne))},ke=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(i){z(i)}e.length=0},ne=()=>{ke(Se),ke(we),(ie=Se.length>0)&&C.raf(ne)},re=e=>Promise.resolve(void 0).then(e),ct=lt(we);function dt(){const e=this.attachShadow({mode:"open"});R===void 0&&(R=null),R&&(se?e.adoptedStyleSheets.push(R):e.adoptedStyleSheets=[...e.adoptedStyleSheets,R])}var Ce=e=>{const t=ae(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=!!ht(s,V(s),!1).length)}));let i=0;for(i=0;i<t.length;i++){const s=t[i];s.nodeType===1&&ae(s,"childNodes").length&&Ce(s)}};function oe(e,t,i){let s,n=0,r=[];for(;n<e.length;n++){if(s=e[n],s["s-sr"]&&(!t||s["s-hn"]===t)&&(i===void 0||V(s)===i)&&(r.push(s),i!==void 0))return r;r=[...r,...oe(s.childNodes,t,i)]}return r}var ht=(e,t,i=!0)=>{const s=[];(i&&e["s-sr"]||!e["s-sr"])&&s.push(e);let n=e;for(;n=n.nextSibling;)V(n)!==t||!i&&n["s-sr"]||s.push(n);return s},Ne=(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 ae(e,t){if("__"+t in e){const i=e["__"+t];return typeof i!="function"?i:i.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var le,D,L=new WeakMap,$e=e=>"sc-"+e.p,ce=e=>(e=typeof e)=="object"||e==="function",m=(e,t,...i)=>{let s=null,n=null,r=null,l=!1,c=!1;const o=[],h=d=>{for(let a=0;a<d.length;a++)s=d[a],Array.isArray(s)?h(s):s!=null&&typeof s!="boolean"&&((l=typeof e!="function"&&!ce(s))&&(s=String(s)),l&&c?o[o.length-1].h+=s:o.push(l?U(null,s):s),c=l)};if(h(i),t){t.key&&(n=t.key),t.name&&(r=t.name);{const d=t.className||t.class;d&&(t.class=typeof d!="object"?d:Object.keys(d).filter((a=>d[a])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,o,pt);const p=U(e,null);return p.v=t,o.length>0&&(p.m=o),p.$=n,p.j=r,p},U=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),gt={},pt={forEach:(e,t)=>e.map(Oe).forEach(t),map:(e,t)=>e.map(Oe).map(t).map(ut)},Oe=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),ut=e=>{if(typeof e.vtag=="function"){const i={...e.vattrs};return e.vkey&&(i.key=e.vkey),e.vname&&(i.name=e.vname),m(e.vtag,i,...e.vchildren||[])}const t=U(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},Ae=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let i=!1;for(const n of t){if(i)break;for(const r of e[n])if(typeof r=="string"){i=!0;break}}if(!i)return e;const s={};for(const n of t)s[n]=e[n].map((r=>typeof r=="string"?{[r]:0}:r));return s},Ee=(e,t,i)=>e==null||ce(e)?e:4&t?(i&&typeof e=="string"||e!=="false")&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,ft=(e,t,i)=>{const s=C.ce(t,i);return e.dispatchEvent(s),s},Pe=(e,t,i,s,n,r)=>{if(i===s)return;let l=_e(e,t),c=t.toLowerCase();if(t==="class"){const o=e.classList,h=je(i);let p=je(s);o.remove(...h.filter((d=>d&&!p.includes(d)))),o.add(...p.filter((d=>d&&!h.includes(d))))}else if(t==="style"){for(const o in i)s&&s[o]!=null||(o.includes("-")?e.style.removeProperty(o):e.style[o]="");for(const o in s)i&&s[o]===i[o]||(o.includes("-")?e.style.setProperty(o,s[o]):e.style[o]=s[o])}else if(t!=="key"){if(t==="ref")s&&vt(s,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const o=t.slice(5);let h;{const p=P(e);if(p&&p.o&&p.o.t){const d=p.o.t[o];d&&d[1]&&(h=d[1])}}return h||(h=o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(s==null||s===!1?s===!1&&e.getAttribute(h)!==""||e.removeAttribute(h):e.setAttribute(h,s===!0?"":s))}if(t[0]==="p"&&t.startsWith("prop:")){const o=t.slice(5);try{e[o]=s}catch{}return}{const o=ce(s);if((l||o&&s!==null)&&!n)try{if(e.tagName.includes("-"))e[t]!==s&&(e[t]=s);else{const p=s??"";t==="list"?l=!1:i!=null&&e[t]===p||(typeof e.__lookupSetter__(t)=="function"?e[t]=p:e.setAttribute(t,p))}}catch{}let h=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,h=!0),s==null||s===!1?s===!1&&e.getAttribute(t)!==""||(h?e.removeAttributeNS(xe,t):e.removeAttribute(t)):(!l||4&r||n)&&!o&&e.nodeType===1&&(s=s===!0?"":s,h?e.setAttributeNS(xe,t,s):e.setAttribute(t,s))}}else if(t=t[2]==="-"?t.slice(3):_e(S,c)?c.slice(2):c[2]+t.slice(3),i||s){const o=t.endsWith(Le);t=t.replace(yt,""),i&&C.rel(e,t,i,o),s&&C.ael(e,t,s,o)}}},mt=/\s/,je=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(mt):[]),Le="Capture",yt=new RegExp(Le+"$"),de=(e,t,i)=>{const s=t.S.nodeType===11&&t.S.host?t.S.host:t.S,n=e&&e.v||{},r=t.v||{};for(const l of Te(Object.keys(n)))l in r||Pe(s,l,n[l],void 0,i,t.i);for(const l of Te(Object.keys(r)))Pe(s,l,n[l],r[l],i,t.i)};function Te(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var B=!1,q=!1,K=!1,N=!1,he=[],ge=[],Y=(e,t,i)=>{var s;const n=t.m[i];let r,l,c,o=0;if(B||(K=!0,n.O==="slot"&&(n.i|=n.m?2:1)),n.h!=null)r=n.S=S.document.createTextNode(n.h);else if(1&n.i)r=n.S=S.document.createTextNode(""),de(null,n,N);else{if(N||(N=n.O==="svg"),!S.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(r=n.S=S.document.createElementNS(N?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!B&&2&n.i?"slot-fb":n.O),N&&n.O==="foreignObject"&&(N=!1),de(null,n,N),n.m){const h=n.O==="template"?r.content:r;for(o=0;o<n.m.length;++o)l=Y(e,n,o),l&&h.appendChild(l)}n.O==="svg"?N=!1:r.tagName==="foreignObject"&&(N=!0)}return r["s-hn"]=D,3&n.i&&(r["s-sr"]=!0,r["s-cr"]=le,r["s-sn"]=n.j||"",r["s-rf"]=(s=n.v)==null?void 0:s.ref,(function(h){if(h.assignedElements||h.assignedNodes||!h["s-sr"])return;const p=d=>(function(a){const u=[],g=this["s-sn"];a?.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 x=this["s-cr"].parentElement;return(x.__childNodes?x.childNodes:(_=>{const v=[];for(let y=0;y<_.length;y++){const f=_[y]["s-nr"]||void 0;f&&f.isConnected&&v.push(f)}return v})(x.childNodes)).forEach((_=>{g===V(_)&&u.push(_)})),d?u.filter((_=>_.nodeType===1)):u}).bind(h);h.assignedElements=p(!0),h.assignedNodes=p(!1)})(r),c=e&&e.m&&e.m[i],c&&c.O===n.O&&e.S&&ze(e.S)),r},ze=e=>{C.i|=1;const t=e.closest(D.toLowerCase());if(t!=null){const i=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const n of i?s.reverse():s)n["s-sh"]!=null&&(A(t,n,i??null),n["s-sh"]=void 0,K=!0)}C.i&=-2},Z=(e,t)=>{C.i|=1;const i=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"]===D&&i.push(s)}for(let s=i.length-1;s>=0;s--){const n=i[s];n["s-hn"]!==D&&n["s-ol"]&&(A(F(n).parentNode,n,F(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,K=!0),t&&Z(n,t)}C.i&=-2},De=(e,t,i,s,n,r)=>{let l,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===D&&(c=c.shadowRoot),i.O==="template"&&(c=c.content);n<=r;++n)s[n]&&(l=Y(null,i,n),l&&(s[n].S=l,A(c,l,F(t))))},Me=(e,t,i)=>{for(let s=t;s<=i;++s){const n=e[s];if(n){const r=n.S;Ie(n),r&&(q=!0,r["s-ol"]?r["s-ol"].remove():Z(r,!0),r.remove())}}},J=(e,t,i=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:i?(i&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),F=e=>e&&e["s-ol"]||e,G=(e,t,i=!1)=>{const s=t.S=e.S,n=e.m,r=t.m,l=t.O,c=t.h;let o;c==null?(N=l==="svg"||l!=="foreignObject"&&N,l!=="slot"||B||e.j!==t.j&&(t.S["s-sn"]=t.j||"",ze(t.S.parentElement)),de(e,t,N),n!==null&&r!==null?((h,p,d,a,u=!1)=>{let g,x,_=0,v=0,y=0,f=0,k=p.length-1,b=p[0],w=p[k],$=a.length-1,O=a[0],E=a[$];const nt=d.O==="template"?h.content:h;for(;_<=k&&v<=$;)if(b==null)b=p[++_];else if(w==null)w=p[--k];else if(O==null)O=a[++v];else if(E==null)E=a[--$];else if(J(b,O,u))G(b,O,u),b=p[++_],O=a[++v];else if(J(w,E,u))G(w,E,u),w=p[--k],E=a[--$];else if(J(b,E,u))b.O!=="slot"&&E.O!=="slot"||Z(b.S.parentNode,!1),G(b,E,u),A(nt,b.S,w.S.nextSibling),b=p[++_],E=a[--$];else if(J(w,O,u))b.O!=="slot"&&E.O!=="slot"||Z(w.S.parentNode,!1),G(w,O,u),A(nt,w.S,b.S),w=p[--k],O=a[++v];else{for(y=-1,f=_;f<=k;++f)if(p[f]&&p[f].$!==null&&p[f].$===O.$){y=f;break}y>=0?(x=p[y],x.O!==O.O?g=Y(p&&p[v],d,y):(G(x,O,u),p[y]=void 0,g=x.S),O=a[++v]):(g=Y(p&&p[v],d,v),O=a[++v]),g&&A(F(b.S).parentNode,g,F(b.S))}_>k?De(h,a[$+1]==null?null:a[$+1].S,d,a,v,$):v>$&&Me(p,_,k)})(s,n,t,r,i):r!==null?(e.h!==null&&(s.textContent=""),De(s,null,t,r,0,r.length-1)):!i&&n!==null&&Me(n,0,n.length-1),N&&l==="svg"&&(N=!1)):(o=s["s-cr"])?o.parentNode.textContent=c:e.h!==c&&(s.data=c)},j=[],Ge=e=>{let t,i,s;const n=e.__childNodes||e.childNodes;for(const r of n){if(r["s-sr"]&&(t=r["s-cr"])&&t.parentNode){i=t.parentNode.__childNodes||t.parentNode.childNodes;const l=r["s-sn"];for(s=i.length-1;s>=0;s--)if(t=i[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===r["s-hn"]||t["s-sh"]&&t["s-sh"]===r["s-hn"]))if(Ne(t,l)){let c=j.find((o=>o.k===t));q=!0,t["s-sn"]=t["s-sn"]||l,c?(c.k["s-sh"]=r["s-hn"],c.N=r):(t["s-sh"]=r["s-hn"],j.push({N:r,k:t})),t["s-sr"]&&j.map((o=>{Ne(o.k,t["s-sn"])&&(c=j.find((h=>h.k===t)),c&&!o.N&&(o.N=c.N))}))}else j.some((c=>c.k===t))||j.push({k:t})}r.nodeType===1&&Ge(r)}},Ie=e=>{e.v&&e.v.ref&&he.push((()=>e.v.ref(null))),e.m&&e.m.map(Ie)},vt=(e,t)=>{ge.push((()=>e(t)))},A=(e,t,i,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,i);const{slotNode:n}=(function(r,l){var c;if(!(l=l||((c=r["s-ol"])==null?void 0:c.parentElement)))return{slotNode:null,slotName:""};const o=r["s-sn"]=V(r)||"";return{slotNode:oe(ae(l,"childNodes"),l.tagName,o)[0],slotName:o}})(t);return n&&!s&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,i):e?.insertBefore(t,i)},bt=(e,t,i=!1)=>{var s,n,r,l,c;const o=e.$hostElement$,h=e.o,p=e.M||U(null,null);var d;const a=(d=t)&&d.O===gt?t:m(null,null,t);if(D=o.tagName,h.C&&(a.v=a.v||{},h.C.forEach((([u,g])=>{a.v[g]=o[u]}))),i&&a.v)for(const u of Object.keys(a.v))o.hasAttribute(u)&&!["key","ref","style","class"].includes(u)&&(a.v[u]=o[u]);if(a.O=null,a.i|=4,e.M=a,a.S=p.S=o.shadowRoot||o,B=!(!(1&h.i)||128&h.i),le=o["s-cr"],q=!1,G(p,a,i),C.i|=1,K){Ge(a.S);for(const u of j){const g=u.k;if(!g["s-ol"]&&S.document){const x=S.document.createTextNode("");x["s-nr"]=g,A(g.parentNode,g["s-ol"]=x,g,i)}}for(const u of j){const g=u.k,x=u.N;if(g.nodeType===1&&i&&(g["s-ih"]=(s=g.hidden)!=null&&s),x){const _=x.parentNode;let v=x.nextSibling;if(v&&v.nodeType===1){let y=(n=g["s-ol"])==null?void 0:n.previousSibling;for(;y;){let f=(r=y["s-nr"])!=null?r:null;if(f&&f["s-sn"]===g["s-sn"]&&_===(f.__parentNode||f.parentNode)){for(f=f.nextSibling;f===g||f?.["s-sr"];)f=f?.nextSibling;if(!f||!f["s-nr"]){v=f;break}}y=y.previousSibling}}if((!v&&_!==(g.__parentNode||g.parentNode)||(g.__nextSibling||g.nextSibling)!==v)&&g!==v){if(A(_,g,v,i),g.nodeType===8&&g.nodeValue.startsWith("s-nt-")){const y=S.document.createTextNode(g.nodeValue.replace(/^s-nt-/,""));y["s-hn"]=g["s-hn"],y["s-sn"]=g["s-sn"],y["s-sh"]=g["s-sh"],y["s-sr"]=g["s-sr"],y["s-ol"]=g["s-ol"],y["s-ol"]["s-nr"]=y,A(g.parentNode,y,g,i),g.parentNode.removeChild(g)}g.nodeType===1&&g.tagName!=="SLOT-FB"&&(g.hidden=(l=g["s-ih"])!=null&&l)}g&&typeof x["s-rf"]=="function"&&x["s-rf"](x)}else g.nodeType===1&&(g.hidden=!0)}}if(q&&Ce(a.S),C.i&=-2,j.length=0,!B&&!(1&h.i)&&o["s-cr"]){const u=a.S.__childNodes||a.S.childNodes;for(const g of u)if(g["s-hn"]!==D&&!g["s-sh"]){if(i&&g["s-ih"]==null&&(g["s-ih"]=(c=g.hidden)!=null&&c),g.nodeType===1)g.hidden=!0;else if(g.nodeType===3&&g.nodeValue.trim()){const x=S.document.createComment("s-nt-"+g.nodeValue);x["s-sn"]=g["s-sn"],A(g.parentNode,x,g,i),g.parentNode.removeChild(g)}}}le=void 0,he.forEach((u=>u())),he.length=0,ge.forEach((u=>u())),ge.length=0},Re=(e,t)=>{if(t&&!e.A&&t["s-p"]){const i=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(i-1,1),s()})))}},pe=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Re(e,e.R);const i=()=>_t(e,t);if(!t)return ct(i);queueMicrotask((()=>{i()}))},_t=(e,t)=>{const i=e.$hostElement$,s=i;if(!s)throw new Error(`Can't render component <${i.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=H(s,t?"componentWillLoad":"componentWillUpdate",void 0,i),n=Ve(n,(()=>H(s,"componentWillRender",void 0,i))),Ve(n,(()=>St(e,s,t)))},Ve=(e,t)=>xt(e)?e.then(t).catch((i=>{console.error(i),t()})):t(),xt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",St=async(e,t,i)=>{var s;const n=e.$hostElement$,r=n["s-rc"];i&&(l=>{const c=l.o,o=l.$hostElement$,h=c.i,p=((d,a)=>{var u,g,x;const _=$e(a),v=W.get(_);if(!S.document)return _;if(d=d.nodeType===11?d:S.document,v)if(typeof v=="string"){let y,f=L.get(d=d.head||d);if(f||L.set(d,f=new Set),!f.has(_)){y=S.document.createElement("style"),y.textContent=v;const k=(u=C._)!=null?u:(function(){var b,w,$;return($=(w=(b=S.document.head)==null?void 0:b.querySelector('meta[name="csp-nonce"]'))==null?void 0:w.getAttribute("content"))!=null?$:void 0})();if(k!=null&&y.setAttribute("nonce",k),!(1&a.i))if(d.nodeName==="HEAD"){const b=d.querySelectorAll("link[rel=preconnect]"),w=b.length>0?b[b.length-1].nextSibling:d.querySelector("style");d.insertBefore(y,w?.parentNode===d?w:null)}else if("host"in d)if(te){const b=new((g=d.defaultView)!=null?g:d.ownerDocument.defaultView).CSSStyleSheet;b.replaceSync(v),se?d.adoptedStyleSheets.unshift(b):d.adoptedStyleSheets=[b,...d.adoptedStyleSheets]}else{const b=d.querySelector("style");b?b.textContent=v+b.textContent:d.prepend(y)}else d.append(y);1&a.i&&d.insertBefore(y,null),4&a.i&&(y.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),f&&f.add(_)}}else{let y=L.get(d);if(y||L.set(d,y=new Set),!y.has(_)){const f=(x=d.defaultView)!=null?x:d.ownerDocument.defaultView;let k;if(v.constructor===f.CSSStyleSheet)k=v;else{k=new f.CSSStyleSheet;for(let b=0;b<v.cssRules.length;b++)k.insertRule(v.cssRules[b].cssText,b)}se?d.adoptedStyleSheets.push(k):d.adoptedStyleSheets=[...d.adoptedStyleSheets,k],y.add(_)}}return _})(o.shadowRoot?o.shadowRoot:o.getRootNode(),c);10&h&&(o["s-sc"]=p,o.classList.add(p+"-h"))})(e),wt(e,t,n,i),r&&(r.map((l=>l())),n["s-rc"]=void 0);{const l=(s=n["s-p"])!=null?s:[],c=()=>kt(e);l.length===0?c():(Promise.all(l).then(c).catch(c),e.i|=4,l.length=0)}},wt=(e,t,i,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,bt(e,t,s)}catch(n){z(n,e.$hostElement$)}return null},kt=e=>{const t=e.$hostElement$,i=t,s=e.R;H(i,"componentDidRender",void 0,t),64&e.i?H(i,"componentDidUpdate",void 0,t):(e.i|=64,Nt(t),H(i,"componentDidLoad",void 0,t),e.L(t),s||Ct()),e.A&&(e.A(),e.A=void 0),512&e.i&&re((()=>pe(e,!1))),e.i&=-517},Ct=()=>{re((()=>ft(S,"appload",{detail:{namespace:"gids-core-web"}})))},H=(e,t,i,s)=>{if(e&&e[t])try{return e[t](i)}catch(n){z(n,s)}},Nt=e=>e.classList.add("hydrated"),Be=(e,t,i,s)=>{const n=P(e);if(!n)return;const r=e,l=n.l.get(t),c=n.i,o=r;i=Ee(i,s.t[t][0],!!(64&s.i));const h=Number.isNaN(l)&&Number.isNaN(i);if(i!==l&&!h){if(n.l.set(t,i),s.F){const p=s.F[t];p&&p.map((d=>{try{const[[a,u]]=Object.entries(d);(128&c||1&u)&&(o?o[a](i,l,t):n.T.push((()=>{n.D[a](i,l,t)})))}catch(a){z(a,r)}}))}if(2&c){if(o.componentShouldUpdate&&o.componentShouldUpdate(i,l,t)===!1&&!(16&c))return;16&c||pe(n,!1)}}},$t=(e,t,i)=>{var s,n;const r=e.prototype;64&t.i&&1&i&&ot.forEach((l=>{const c=r[l];Object.defineProperty(r,l,{value(...o){var h;const p=P(this),d=this;d?typeof c=="function"&&c.call(d,...o):(h=p?.H)==null||h.then((a=>{const u=a[l];typeof u=="function"&&u.call(a,...o)}))}})}));{e.watchers&&!t.F&&(t.F=Ae(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const l=Object.entries((s=t.t)!=null?s:{});l.map((([c,[o]])=>{if(31&o||32&o){const{get:h,set:p}=M(r,c)||{};h&&(t.t[c][0]|=2048),p&&(t.t[c][0]|=4096),Object.defineProperty(r,c,{get(){return h?h.apply(this):(d=c,P(this).l.get(d));var d},configurable:!0,enumerable:!0}),Object.defineProperty(r,c,{set(d){const a=P(this);if(a){if(p)return(32&o?this[c]:a.$hostElement$[c])===void 0&&a.l.get(c)&&(d=a.l.get(c)),p.apply(this,[Ee(d,o,!!(64&t.i))]),void Be(this,c,d=32&o?this[c]:a.$hostElement$[c],t);Be(this,c,d,t)}}})}}));{const c=new Map;r.attributeChangedCallback=function(o,h,p){C.jmp((()=>{var d;const a=c.get(o),u=P(this);if(this.hasOwnProperty(a),r.hasOwnProperty(a)&&typeof this[a]=="number"&&this[a]==p)return;if(a==null){const y=u?.i;if(u&&y&&!(8&y)&&p!==h){const f=this,k=(d=t.F)==null?void 0:d[o];k?.forEach((b=>{const[[w,$]]=Object.entries(b);f[w]!=null&&(128&y||1&$)&&f[w].call(f,p,h,o)}))}return}const g=l.find((([y])=>y===a)),x=g&&4&g[1][0],_=x&&p===null&&this[a]===void 0;x&&(p=p!==null&&p!=="false");const v=Object.getOwnPropertyDescriptor(r,a);_||p==this[a]||v.get&&!v.set||(this[a]=p)}))},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.F)!=null?n:{}),...l.filter((([o,h])=>31&h[0])).map((([o,h])=>{var p;const d=h[1]||o;return c.set(d,o),512&h[0]&&((p=t.C)==null||p.push([o,d])),d}))]))}}return e},ue=(e,t)=>{const i={i:t[0],p:t[1]};try{i.t=t[2],i.W=t[3],i.F=Ae(e.F),i.P=e.P,i.U=e.U,i.C=[];const s=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((r,l)=>{const c={i:0,$hostElement$:r,o:l,l:new Map,B:new Map};c.H=new Promise((h=>c.L=h)),r["s-p"]=[],r["s-rc"]=[];const o=c;r.__stencil__getHostRef=()=>o,512&l.i&&rt(r,c)})(this,i)},connectedCallback(){if(!this.__hasHostListenerAttached){const r=P(this);if(!r)return;Fe(this,r,i.W),this.__hasHostListenerAttached=!0}(r=>{if(!(1&C.i)){const l=P(r);if(!l)return;const c=l.o;if(1&l.i)Fe(r,l,c.W),l?.D||l?.H&&l.H.then((()=>{}));else{l.i|=1,12&c.i&&(o=>{if(!S.document)return;const h=o["s-cr"]=S.document.createComment("");h["s-cn"]=!0,A(o,h,o.firstChild)})(r);{let o=r;for(;o=o.parentNode||o.host;)if(o["s-p"]){Re(l,l.R=o);break}}c.t&&Object.entries(c.t).map((([o,[h]])=>{if(31&h&&Object.prototype.hasOwnProperty.call(r,o)){const p=r[o];delete r[o],r[o]=p}})),(async(o,h,p)=>{let d;try{if(!(32&h.i)&&(h.i|=32,d=o.constructor,customElements.whenDefined(o.localName).then((()=>h.i|=128)),d&&d.style)){let g;typeof d.style=="string"&&(g=d.style);const x=$e(p);W.has(x)||((_,v,y)=>{let f=W.get(_);te&&y?(f=f||new CSSStyleSheet,typeof f=="string"?f=v:f.replaceSync(v)):f=v,W.set(_,f)})(x,g,!!(1&p.i))}const a=h.R,u=()=>pe(h,!0);a&&a["s-rc"]?a["s-rc"].push(u):u()}catch(a){z(a,o),h.A&&(h.A(),h.A=void 0),h.L&&h.L(o)}})(r,l,c)}}})(this),s&&s.call(this)},disconnectedCallback(){(async r=>{if(!(1&C.i)){const l=P(r);l?.V&&(l.V.map((c=>c())),l.V=void 0)}L.has(r)&&L.delete(r),r.shadowRoot&&L.has(r.shadowRoot)&&L.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 ${i.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else dt.call(this,i)}}),Object.defineProperty(e,"is",{value:i.p,configurable:!0}),$t(e,i,3)}catch(s){return z(s),e}},Fe=(e,t,i)=>{i&&S.document&&i.map((([s,n,r])=>{const l=At(S.document,e,s),c=Ot(t,r),o=Et(s);C.ael(l,n,c,o),(t.V=t.V||[]).push((()=>C.rel(l,n,c,o)))}))},Ot=(e,t)=>i=>{try{e.$hostElement$[t](i)}catch(s){z(s,e.$hostElement$)}},At=(e,t,i)=>8&i?S:t,Et=e=>at?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function hs(e){return e}function He(e){var t,i,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]&&(i=He(e[t]))&&(s&&(s+=" "),s+=i)}else for(i in e)e[i]&&(s&&(s+=" "),s+=i);return s}function I(){for(var e,t,i=0,s="",n=arguments.length;i<n;i++)(e=arguments[i])&&(t=He(e))&&(s&&(s+=" "),s+=t);return s}const Pt=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerControlClassNames:({size:e,indeterminate:t,value:i},s)=>I("gids-spinner-control",{"gids-spinner-control--xs":e==="xs","gids-spinner-control--sm":e==="sm","gids-spinner-control--lg":e==="lg","gids-spinner-control--xl":e==="xl","gids-spinner-control--2xl":e==="2xl","gids-spinner-control--determinate":t===!1},i,s)},Symbol.toStringTag,{value:"Module"})),jt=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerClassNames:({size:e},t)=>I("gids-spinner",{"gids-spinner--xs":e==="xs","gids-spinner--sm":e==="sm","gids-spinner--lg":e==="lg","gids-spinner--xl":e==="xl","gids-spinner--2xl":e==="2xl"},t)},Symbol.toStringTag,{value:"Module"})),Lt=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>I("gids-icon",{"gids-icon--xs":e==="xs","gids-icon--sm":e==="sm","gids-icon--md":e==="md","gids-icon--lg":e==="lg"},t)},Symbol.toStringTag,{value:"Module"})),Tt=Object.freeze(Object.defineProperty({__proto__:null,getElementVisibility:e=>{const{label:t,supportingText:i}=e,s=typeof t=="string"&&t.trim().length>0,n=typeof i=="string"&&i.trim().length>0;return{hasLabel:s,hasSupportingText:n}}},Symbol.toStringTag,{value:"Module"})),Q=64,We=10,Ue=Q/2-We/2,zt=Q/2,fe=2*Math.PI*Ue,Dt=`0 0 ${Q} ${Q}`,Mt=Object.freeze(Object.defineProperty({__proto__:null,calculateStrokeDasharray:(e=0,t)=>{const i=typeof t=="number"&&t>0?t:1,n=Math.max(0,Math.min(i,e))/i*100,r=(fe*n/100).toFixed(2),l=(fe-parseFloat(r)).toFixed(2);return`${r} ${l}`},centerPosition:zt,circumference:fe,radius:Ue,thickness:We,viewBox:Dt},Symbol.toStringTag,{value:"Module"})),Gt=Object.freeze(Object.defineProperty({__proto__:null,getGidsChartLegendItemClassNames:({seriesType:e,orientation:t},i)=>I("gids-chart-legend-item",{"gids-chart-legend-item--series-2":e==="2","gids-chart-legend-item--series-3":e==="3","gids-chart-legend-item--series-4":e==="4","gids-chart-legend-item--series-5":e==="5","gids-chart-legend-item--series-6":e==="6","gids-chart-legend-item--orientation-vertical":t==="vertical"},i)},Symbol.toStringTag,{value:"Module"})),It=Object.freeze(Object.defineProperty({__proto__:null,getGidsChartLegendClassNames:({orientation:e},t)=>I("gids-chart-legend",{"gids-chart-legend--orientation-vertical":e==="vertical"},t)},Symbol.toStringTag,{value:"Module"})),Rt=Object.freeze(Object.defineProperty({__proto__:null,getGidsLineChartClassNames:({breakpoint:e},t)=>I("gids-line-chart",{"gids-line-chart--breakpoint-mobile":e==="mobile"},t)},Symbol.toStringTag,{value:"Module"})),me=Symbol("defaultPath"),qe=Symbol("pathSet"),ye="gids-asset-paths-set";class Vt extends EventTarget{#s=new Map;constructor(){super()}#e(t,i){this.#s.set(t,i)}#t(t){return this.#s.get(t)??null}#i=()=>{this.dispatchEvent(new Event(ye))};haveAssetPathsBeenSet(){return this.#t(qe)!==null}setAssetPaths(t,i){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(me,t);else{for(const s in t)this.#e(s,t[s]);i&&this.#e(me,i)}this.#e(qe,"true"),setTimeout(this.#i,0)}}getAssetFilePath(t){const i=this.#t(t);if(i===null){const s=this.#t(me);if(s!==null)return`${s}${s.endsWith("/")?"":"/"}${t}`}return i}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(ye,t,{once:!0}),()=>{this.removeEventListener(ye,t)}}}const ve=Symbol.for("GIDS"),Bt=()=>(globalThis[ve]===void 0&&(globalThis[ve]={assetPaths:{}}),globalThis[ve]),Ft=e=>{const t=Bt().assetPaths;return t[e]===void 0&&(t[e]=new Vt),t[e]};function be(){return Ft("@ganpatiinfo/gids-web-shared")}function Ht(){return be().haveAssetPathsBeenSet()}function Ke(e){return be().getAssetFilePath(e)}function Wt(e){return be().onAssetPathsSet(e)}let Ut=0;const qt=(e,t="gids")=>e||`${t}-${Ut++}`,{getGidsSpinnerControlClassNames:Kt}=Pt,{calculateStrokeDasharray:Yt,thickness:Ye,radius:Ze,centerPosition:X,viewBox:Zt}=Mt,Jt=({size:e,indeterminate:t,value:i,max:s,...n})=>{let r;return t||(r={strokeDashArray:Yt(i,s||0),strokeDashoffset:"0"}),m("svg",{class:Kt({size:e,indeterminate:t,value:i}),viewBox:Zt,...n},m("circle",{class:"gids-spinner-control__track",cx:X,cy:X,r:Ze,"stroke-width":Ye}),m("circle",{style:r,class:"gids-spinner-control__progress",cx:X,cy:X,r:Ze,"stroke-width":Ye}))},{getGidsSpinnerClassNames:Qt}=jt,{getElementVisibility:Xt}=Tt,es=({label:e,supportingText:t,size:i,indeterminate:s,value:n,max:r,class:l,...c})=>{const{hasLabel:o,hasSupportingText:h}=Xt({label:e,supportingText:t});return m("span",{class:Qt({size:i},l),...c},m(Jt,{size:i,indeterminate:s,value:n,max:r}),o&&m("span",{class:"gids-spinner__label"},e),h&&m("span",{class:"gids-spinner__supporting-text"},t))},{getGidsChartLegendClassNames:ts}=It,ss=ue(class extends ee{constructor(e){super(),e!==!1&&this.__registerHost(),this.orientation="horizontal"}handleOrientationChange(e){this.orientation=e}render(){const e=ts({orientation:this.orientation});return m("div",{key:"91b00cc799a723fe520513e41dc67df2b19c871e",class:e},m("slot",{key:"83968874a18a0fb86706516b4083d6582a3341fb"}))}static get watchers(){return{orientation:[{handleOrientationChange:0}]}}static get style(){return".gids-chart-legend{display:inline-flex;align-items:flex-start;gap:var(--gids-gap-150)}.gids-chart-legend--orientation-vertical{flex-direction:column;gap:var(--gids-gap-050)}"}},[260,"gids-chart-legend",{orientation:[1]},void 0,{orientation:[{handleOrientationChange:0}]}]);function Je(){typeof customElements<"u"&&["gids-chart-legend"].forEach((e=>{e==="gids-chart-legend"&&(customElements.get(e)||customElements.define(e,ss))}))}Je();const Qe={"icons-other.svg":["accessibility","add","remove","announcement","approval","archive","audio","backward","banking","battery","bluetooth","bookmark","bulb","calendar","camera","card","cart","chart","chat","cloud","code","compass","desktop","email","emergency","exchange","finance","fingerprint","flag","folder","forward","gift","globe","goals","happy","hashtag","headphones","history","image","insurance","investment","in-progress","key","link","list","location","lock","map","maximise","microphone","minimise","mobile","moon","network","neutral","ai","new","draft","pending","new-chat","pause","percent","placeholder","play","power","rain","refresh","repeat","sad","save","savings","shield","shuffle","side-navigation","snow","speaker","stop","sun","tablet","temperature","thumbs-down","thumbs-up","travel","trend-down","trend-up","unlock","upset","verified","very-happy","video","volume-down","volume-max","volume-min","volume-mute","volume-up","wallet","wealth","wi-fi","wind"],"icons-core.svg":["arrow-down","arrow-left","arrow-right","arrow-up","attachment","checkmark","chevron-down","chevron-horizontal","chevron-left","chevron-right","chevron-up","chevron-vertical","copy","cross","danger","dashboard","delete","document","download","drag","edit","external","eye","filter","grid","hide","home","information","log-in","log-out","menu","minus","more","notifications","options","phone","plus","positive","printer","question","syncing","search","select","select-all","send","settings","share","star","time","upload","user","users","warning"]},Xe=new Map;for(const e in Qe)for(const t of Qe[e])Xe.set(t,e);function is(e){return Xe.get(e)}function et(e,t="regular",i){const s=is(e);let n=s??"";return i&&s&&(n=i(s)??s),`${n}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:ns}=Lt,rs=({name:e,size:t,appearance:i,alt:s,class:n,titleId:r,src:l,...c})=>{const o=qt(r);let h=l;return h===void 0&&Ht()&&(h=et(e,i,Ke)),m("svg",{ref:p=>{h===void 0&&Wt((()=>{(function(d,a,u){if(!d)return;const g=document.createElementNS("http://www.w3.org/2000/svg","use");g.setAttribute("href",et(a,u,Ke)),d.appendChild(g)})(p,e,i)}))},width:"16",height:"16",class:ns({size:t},n),role:"img","aria-hidden":s===""?"true":void 0,"aria-labelledby":s===""?void 0:o,...c},s!==""&&m("title",{id:o},s||e),h!==void 0?m("use",{href:h}):null)},{getGidsChartLegendItemClassNames:os}=Gt,as=ue(class extends ee{constructor(e){super(),e!==!1&&this.__registerHost(),this.orientation="horizontal",this.seriesType="1"}handleOrientationChange(e){this.orientation=e}handleSeriesTypeChange(e){this.seriesType=e}render(){const e=os({seriesType:this.seriesType,orientation:this.orientation});return m("div",{key:"a168968003ccd7216f5c69beac50898a1f176dc7",class:e},m("div",{key:"995b46947af3677386a2c67a7b7fa469483a8745",class:this.orientation==="vertical"?"gids-chart-legend-item__dot-wrapper-vertical":"gids-chart-legend-item__dot-wrapper-horizontal"},m(rs,{key:"6b8b0a267e30a77f8c6d4ae18db2f4dfcf4041e7",name:"new",alt:"new_icon",appearance:"filled"})),m("span",{key:"c9e38851fd89a20e06e111fe2ca4faf3211f03fa",class:"gids-chart-legend-item__label"},m("slot",{key:"aa30a8f07ef92ff658f76fe1dce2d10dbfb636c1"})))}static get watchers(){return{orientation:[{handleOrientationChange:0}],seriesType:[{handleSeriesTypeChange:0}]}}static get style(){return".gids-chart-legend-item{display:flex;align-items:center;gap:var(--gids-gap-100);--gidsChartLegendItemIcon-color:var(--gids-color-icon-subtle);--gidsIcon-color:var(--gidsChartLegendItemIcon-color);--gidsIcon-height:var(--gids-size-080)}.gids-chart-legend-item--orientation-vertical{display:flex}.gids-chart-legend-item--series-2{--gidsChartLegendItemIcon-color:var(--gids-color-icon-warning)}.gids-chart-legend-item--series-3{--gidsChartLegendItemIcon-color:var(--gids-color-icon-danger)}.gids-chart-legend-item--series-4{--gidsChartLegendItemIcon-color:var(--gids-color-background-positive-bold-hovered)}.gids-chart-legend-item--series-5{--gidsChartLegendItemIcon-color:var(--gids-color-background-information-bold-default)}.gids-chart-legend-item--series-6{--gidsChartLegendItemIcon-color:rgb(238, 70, 188)}.gids-chart-legend-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);text-align:left;color:var(--gids-color-text-subtlest)}.gids-chart-legend-item__dot-wrapper-vertical{display:flex;padding-top:var(--gids-padding-vertical-edge-to-element-075)}.gids-chart-legend-item__dot-wrapper-horizontal{display:flex;align-items:center}"}},[260,"gids-chart-legend-item",{orientation:[1],seriesType:[1,"series-type"]},void 0,{orientation:[{handleOrientationChange:0}],seriesType:[{handleSeriesTypeChange:0}]}]);function tt(){typeof customElements<"u"&&["gids-chart-legend-item"].forEach((e=>{e==="gids-chart-legend-item"&&(customElements.get(e)||customElements.define(e,as))}))}tt();const{getGidsLineChartClassNames:ls}=Rt,st=ue(class extends ee{constructor(e){super(),e!==!1&&this.__registerHost(),this.breakpoint="desktop",this.legend="none",this.chartData=[],this.yAxisVisible=!1,this.dataPoints=[],this.chartLoaderSize="lg",this.chartLoading=!1,this.width=0,this.height=0}chartDataChanged(){this.updateDimensions()}dataPointsChanged(e){this.dataPoints=e}legendChanged(e){this.legend=e}yAxisVisibilityChanged(e){this.yAxisVisible=e}componentDidLoad(){this.updateDimensions(),this.resizeObserver=new ResizeObserver((()=>this.updateDimensions())),this.hostElement.parentElement&&this.resizeObserver.observe(this.hostElement.parentElement)}disconnectedCallback(){this.resizeObserver&&this.resizeObserver.disconnect()}updateDimensions(){const e=this.hostElement.getBoundingClientRect();this.width=e.width,this.height=e.height>0?e.height:300}render(){if(this.chartLoading)return m("div",{class:"gids-line-chart__no-data"},m(es,{label:this.chartLoadingTitle,supportingText:this.chartLoadingSupportingText,size:this?.chartLoaderSize??"lg"}));const e=this.chartData.flatMap((a=>Array.isArray(a?.data)?a.data.map((u=>u.value)):[])),t=e.length>0?Math.max(...e):10,i=Math.pow(10,Math.floor(Math.log10(t||1)));let s=i;t/i<=2?s=i/5:t/i<=5&&(s=i/2);const n=Math.ceil(t/s)*s;let r=[];if(Array.isArray(this.dataPoints)&&this.dataPoints.length>0)r=[...this.dataPoints].sort(((a,u)=>a-u));else{const u=n/4;for(let g=0;g<5;g++)r.push(Math.round(0+g*u))}const l=Math.max(...r,n)-0||1,c=this?.chartData?.[0]?.data?.map((a=>a.label))??[],o=c.length,h=ls({breakpoint:this.breakpoint});let p=!1,d=!1;return this.breakpoint==="mobile"?this.legend!=="none"&&(p=!0):this.legend==="top"?p=!0:this.legend==="right"&&(d=!0),m("div",{class:h},p?m("div",{class:"gids-line-chart__header"},m("gids-chart-legend",{orientation:"horizontal"},this.chartData.map(((a,u)=>m("gids-chart-legend-item",{key:a.label,seriesType:`${u+1}`,orientation:"horizontal"},a.label))))):null,m("div",{class:"gids-line-chart__main-container"},m("div",{class:"gids-line-chart__grid-layout"},m("span",{class:"gids-line-chart__y-axis-label"},this.yAxisLabel),m("div",{class:"gids-line-chart__chart-stage-container"},this.yAxisVisible?m("div",{class:"gids-line-chart__y-axis-scale-container"},r.map((a=>m("span",{class:"gids-line-chart__scale-text gids-line-chart__y-axis-scale-value",key:a,style:{bottom:(a-0)/l*100+"%"}},a)))):null,m("div",{class:"gids-line-chart__chart-stage"},m("svg",{viewBox:"0 0 100 100",class:"gids-line-chart__chart-vector",preserveAspectRatio:"none"},m("defs",null,this.chartData.map(((a,u)=>m("linearGradient",{id:`areaGradient-${u}`,x1:"0",y1:"0",x2:"0",y2:"1",key:u},m("stop",{offset:"0%",class:`gids-line-chart__gradient-start-${u}`}),m("stop",{offset:"100%",class:`gids-line-chart__gradient-end-${u}`}))))),r.map((a=>{const u=100-(a-0)/l*100;return m("line",{x1:"0",y1:u,x2:"100",y2:u,class:"gids-line-chart__grid-line",key:a})})),this.chartData.map(((a,u)=>{if(!Array.isArray(a.data)||a.data.length<2)return null;const g=a.data.map(((x,_)=>`${_===0?"M":"L"} ${_/(o-1)*100} ${100-(x.value-0)/l*100}`)).join(" ");return m("g",{key:a.label||u},m("path",{d:`${g} L 100 100 L 0 100 Z`,fill:`url(#areaGradient-${u})`,class:"gids-line-chart__chart-area"}),m("path",{d:g,class:`gids-line-chart__chart-line gids-line-chart__series-line-${u+1}`}))}))))),m("div",{class:"gids-line-chart__x-axis-scale-container"},c.map(((a,u)=>m("span",{class:"gids-line-chart__scale-text",key:u},a)))),m("span",{class:"gids-line-chart__x-axis-label"},this.xAxisLabel)),d?m("gids-chart-legend",{orientation:"vertical"},this.chartData.map(((a,u)=>m("gids-chart-legend-item",{key:a.label,seriesType:`${u+1}`,orientation:"vertical"},a.label)))):null))}get hostElement(){return this}static get watchers(){return{chartData:[{chartDataChanged:0}],dataPoints:[{dataPointsChanged:0}],legend:[{legendChanged:0}],yAxisVisible:[{yAxisVisibilityChanged:0}]}}static get style(){return":host{display:block;width:100%;height:100%;box-sizing:border-box}.gids-line-chart{display:flex;flex-direction:column;width:100%;height:100%;box-sizing:border-box}.gids-line-chart--breakpoint-mobile{max-width:var(--gids-width-xs)}.gids-line-chart__main-container{display:flex;gap:var(--gids-gap-200)}.gids-line-chart__header{display:flex;justify-content:flex-end;align-items:center;width:100%;margin-bottom:var(--gids-padding-vertical-edge-to-element-200)}.gids-line-chart__grid-layout{display:grid;grid-template-columns:auto 1fr;grid-template-rows:minmax(180px, 280px) auto auto;flex:1;width:100%;height:100%;box-sizing:border-box}.gids-line-chart__y-axis-label{grid-column:1;grid-row:1;display:flex;align-items:center;justify-content:center;margin-right:var(--gids-padding-horizontal-edge-to-element-150);font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit);color:var(--gids-color-text-subtlest);writing-mode:vertical-rl;transform:rotate(180deg);white-space:nowrap}.gids-line-chart__chart-stage-container{grid-column:2;grid-row:1;position:relative;width:100%;height:100%;padding-left:var(--gids-container-padding-desktop);box-sizing:border-box}.gids-line-chart__y-axis-scale-container{position:absolute;top:0;bottom:0;left:0;width:calc(var(--gids-container-padding-desktop) - var(--gids-padding-horizontal-edge-to-element-100));pointer-events:none}.gids-line-chart__y-axis-scale-value{position:absolute;right:0;transform:translateY(50%)}.gids-line-chart__chart-stage{position:relative;width:100%;height:100%;border-bottom:var(--gids-border-width-thin) solid var(--gids-color-border-default);box-sizing:border-box}.gids-line-chart__chart-vector{display:block;width:100%;height:100%;overflow:visible}.gids-line-chart__grid-line{stroke:var(--gids-color-border-default);stroke-width:0.5;fill:none}.gids-line-chart__chart-area{stroke:none}.gids-line-chart__chart-line{fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.gids-line-chart__chart-line.gids-line-chart__series-line-1{stroke:var(--gids-color-icon-subtle)}.gids-line-chart__chart-line.gids-line-chart__series-line-2{stroke:var(--gids-color-icon-warning)}.gids-line-chart__chart-line.gids-line-chart__series-line-3{stroke:var(--gids-color-icon-danger)}.gids-line-chart__gradient-start-0{stop-color:rgba(127, 86, 217, 0.09);stop-opacity:1}.gids-line-chart__gradient-end-0{stop-color:rgba(127, 86, 217, 0.09);stop-opacity:0}.gids-line-chart__gradient-start-1{stop-color:rgba(127, 86, 217, 0.1);stop-opacity:1}.gids-line-chart__gradient-end-1{stop-color:rgba(127, 86, 217, 0.1);stop-opacity:0}.gids-line-chart__gradient-start-2{stop-color:rgba(127, 86, 217, 0.12);stop-opacity:1}.gids-line-chart__gradient-end-2{stop-color:rgba(127, 86, 217, 0.12);stop-opacity:0}.gids-line-chart__x-axis-scale-container{display:flex;grid-column:2;grid-row:2;justify-content:space-between;align-items:center;padding-left:var(--gids-container-padding-desktop);padding-top:var(--gids-padding-vertical-edge-to-element-100);box-sizing:border-box}.gids-line-chart__x-axis-label{grid-column:2;grid-row:3;display:flex;justify-content:center;align-items:center;padding-top:var(--gids-padding-vertical-edge-to-element-100);font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit);color:var(--gids-color-text-subtlest);white-space:nowrap}.gids-line-chart__scale-text{font-family:var(--gids-typography-label-x-small__font-family);font-size:var(--gids-typography-label-x-small__font-size);font-weight:var(--gids-typography-label-x-small__font-weight);letter-spacing:var(--gids-typography-label-x-small__letter-spacing);line-height:var(--gids-typography-label-x-small__line-height);text-transform:var(--gids-typography-label-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-label-x-small__font-variant-caps, inherit);color:var(--gids-color-text-subtlest);user-select:none;white-space:nowrap}.gids-line-chart__no-data{display:flex;align-items:center;justify-content:center;padding:var(--gids-padding-vertical-edge-to-element-300) var(--gids-padding-horizontal-edge-to-element-100);width:100%;height:100%;min-height:200px;color:var(--gids-color-text-subtlest);border:var(--gids-border-width-thin) dashed var(--gids-color-border-default);border-radius:var(--gids-border-radius-md)}"}},[0,"gids-line-chart",{breakpoint:[1],legend:[1],chartData:[16],yAxisVisible:[4,"y-axis-visible"],xAxisLabel:[1,"x-axis-label"],yAxisLabel:[1,"y-axis-label"],dataPoints:[16],chartLoaderSize:[1,"chart-loader-size"],chartLoading:[4,"chart-loading"],chartLoadingTitle:[1,"chart-loading-title"],chartLoadingSupportingText:[1,"chart-loading-supporting-text"],width:[32],height:[32]},void 0,{chartData:[{chartDataChanged:0}],dataPoints:[{dataPointsChanged:0}],legend:[{legendChanged:0}],yAxisVisible:[{yAxisVisibilityChanged:0}]}]);function it(){typeof customElements<"u"&&["gids-line-chart","gids-chart-legend","gids-chart-legend-item"].forEach((e=>{switch(e){case"gids-line-chart":customElements.get(e)||customElements.define(e,st);break;case"gids-chart-legend":customElements.get(e)||Je();break;case"gids-chart-legend-item":customElements.get(e)||tt()}}))}it();const cs=st,ds=it;T.GidsLineChart=cs,T.defineCustomElement=ds,Object.defineProperty(T,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.gidsCoreWebGidsNotification={}))})(this,(function(R){"use strict";function P(e,t,s){const o=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==o;){const n=Object.getOwnPropertyDescriptor(e,t);if(n&&(!s||n.get))return n;e=Object.getPrototypeOf(e)}}var D,Le=(e,t)=>{var s;Object.entries((s=t.o.t)!=null?s:{}).map((([o,[n]])=>{if(31&n||32&n){const i=e[o],r=P(Object.getPrototypeOf(e),o,!0)||Object.getOwnPropertyDescriptor(e,o);r&&Object.defineProperty(e,o,{get(){return r.get.call(this)},set(c){r.set.call(this,c)},configurable:!0,enumerable:!0}),t.l.has(o)?e[o]=t.l.get(o):i!==void 0&&(e[o]=i)}}))},T=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},ae=(e,t)=>t in e,M=(e,t)=>(0,console.error)(e,t),q=new Map,ue="http://www.w3.org/1999/xlink",N=typeof window<"u"?window:{},Pe=N.HTMLElement||class{},O={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)},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=[],Me=(e,t)=>s=>{e.push(s),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(s){M(s)}e.length=0},K=()=>{he(de),he(fe),(J=de.length>0)&&O.raf(K)},X=e=>Promise.resolve(void 0).then(e),He=Me(fe);function De(){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((o=>{o.nodeType===1&&o.tagName==="SLOT-FB"&&(o.hidden=!!Be(o,B(o),!1).length)}));let s=0;for(s=0;s<t.length;s++){const o=t[s];o.nodeType===1&&te(o,"childNodes").length&&pe(o)}};function ee(e,t,s){let o,n=0,i=[];for(;n<e.length;n++){if(o=e[n],o["s-sr"]&&(!t||o["s-hn"]===t)&&(s===void 0||B(o)===s)&&(i.push(o),s!==void 0))return i;i=[...i,...ee(o.childNodes,t,s)]}return i}var Be=(e,t,s=!0)=>{const o=[];(s&&e["s-sr"]||!e["s-sr"])&&o.push(e);let n=e;for(;n=n.nextSibling;)B(n)!==t||!s&&n["s-sr"]||o.push(n);return o},me=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",B=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 s=e["__"+t];return typeof s!="function"?s:s.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var oe,L,x=new WeakMap,ge=e=>"sc-"+e.p,se=e=>(e=typeof e)=="object"||e==="function",We=(e,t,...s)=>{let o=null,n=null,i=null,r=!1,c=!1;const l=[],a=u=>{for(let h=0;h<u.length;h++)o=u[h],Array.isArray(o)?a(o):o!=null&&typeof o!="boolean"&&((r=!se(o))&&(o=String(o)),r&&c?l[l.length-1].h+=o:l.push(r?ne(null,o):o),c=r)};a(s);const f=ne(e,null);return f.v=t,l.length>0&&(f.m=l),f.$=n,f.j=i,f},ne=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),Fe={},ye=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let s=!1;for(const n of t){if(s)break;for(const i of e[n])if(typeof i=="string"){s=!0;break}}if(!s)return e;const o={};for(const n of t)o[n]=e[n].map((i=>typeof i=="string"?{[i]:0}:i));return o},Se=(e,t)=>e==null||se(e)?e:4&t?e!=="false"&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,Ve=(e,t,s)=>{const o=O.ce(t,s);return e.dispatchEvent(o),o},ve=(e,t,s,o,n,i)=>{if(s===o)return;let r=ae(e,t),c=t.toLowerCase();if(t==="class"){const l=e.classList,a=be(s);let f=be(o);l.remove(...a.filter((u=>u&&!f.includes(u)))),l.add(...f.filter((u=>u&&!a.includes(u))))}else if(t==="style"){for(const l in s)o&&o[l]!=null||(l.includes("-")?e.style.removeProperty(l):e.style[l]="");for(const l in o)s&&o[l]===s[l]||(l.includes("-")?e.style.setProperty(l,o[l]):e.style[l]=o[l])}else if(t!=="key"){if(t==="ref")o&&Ue(o,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 a;{const f=T(e);if(f&&f.o&&f.o.t){const u=f.o.t[l];u&&u[1]&&(a=u[1])}}return a||(a=l.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(o==null||o===!1?o===!1&&e.getAttribute(a)!==""||e.removeAttribute(a):e.setAttribute(a,o===!0?"":o))}if(t[0]==="p"&&t.startsWith("prop:")){const l=t.slice(5);try{e[l]=o}catch{}return}{const l=se(o);if((r||l&&o!==null)&&!n)try{if(e.tagName.includes("-"))e[t]!==o&&(e[t]=o);else{const f=o??"";t==="list"?r=!1:s!=null&&e[t]===f||(typeof e.__lookupSetter__(t)=="function"?e[t]=f:e.setAttribute(t,f))}}catch{}let a=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,a=!0),o==null||o===!1?o===!1&&e.getAttribute(t)!==""||(a?e.removeAttributeNS(ue,t):e.removeAttribute(t)):(!r||4&i||n)&&!l&&e.nodeType===1&&(o=o===!0?"":o,a?e.setAttributeNS(ue,t,o):e.setAttribute(t,o))}}else if(t=t[2]==="-"?t.slice(3):ae(N,c)?c.slice(2):c[2]+t.slice(3),s||o){const l=t.endsWith(Ne);t=t.replace(ze,""),s&&O.rel(e,t,s,l),o&&O.ael(e,t,o,l)}}},qe=/\s/,be=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(qe):[]),Ne="Capture",ze=new RegExp(Ne+"$"),le=(e,t,s)=>{const o=t.S.nodeType===11&&t.S.host?t.S.host:t.S,n=e&&e.v||{},i=t.v||{};for(const r of we(Object.keys(n)))r in i||ve(o,r,n[r],void 0,s,t.i);for(const r of we(Object.keys(i)))ve(o,r,n[r],i[r],s,t.i)};function we(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var W=!1,z=!1,U=!1,C=!1,ie=[],re=[],I=(e,t,s)=>{var o;const n=t.m[s];let i,r,c,l=0;if(W||(U=!0,n.O==="slot"&&(n.i|=n.m?2:1)),n.h!=null)i=n.S=N.document.createTextNode(n.h);else if(1&n.i)i=n.S=N.document.createTextNode(""),le(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(i=n.S=N.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),le(null,n,C),n.m){const a=n.O==="template"?i.content:i;for(l=0;l<n.m.length;++l)r=I(e,n,l),r&&a.appendChild(r)}n.O==="svg"?C=!1:i.tagName==="foreignObject"&&(C=!0)}return i["s-hn"]=L,3&n.i&&(i["s-sr"]=!0,i["s-cr"]=oe,i["s-sn"]=n.j||"",i["s-rf"]=(o=n.v)==null?void 0:o.ref,(function(a){if(a.assignedElements||a.assignedNodes||!a["s-sr"])return;const f=u=>(function(h){const g=[],d=this["s-sn"];h?.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.gidsCoreWebGidsNotification={}))})(this,(function(L){"use strict";function M(e,t,s){const o=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==o;){const n=Object.getOwnPropertyDescriptor(e,t);if(n&&(!s||n.get))return n;e=Object.getPrototypeOf(e)}}var D,Pe=(e,t)=>{var s;Object.entries((s=t.o.t)!=null?s:{}).map((([o,[n]])=>{if(31&n||32&n){const l=e[o],r=M(Object.getPrototypeOf(e),o,!0)||Object.getOwnPropertyDescriptor(e,o);r&&Object.defineProperty(e,o,{get(){return r.get.call(this)},set(c){r.set.call(this,c)},configurable:!0,enumerable:!0}),t.l.has(o)?e[o]=t.l.get(o):l!==void 0&&(e[o]=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"],N=typeof window<"u"?window:{},He=N.HTMLElement||class{},O={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)},De=(()=>{var e;let t=!1;try{(e=N.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return 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=[],Fe=(e,t)=>s=>{e.push(s),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(s){R(s)}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((o=>{o.nodeType===1&&o.tagName==="SLOT-FB"&&(o.hidden=!!We(o,F(o),!1).length)}));let s=0;for(s=0;s<t.length;s++){const o=t[s];o.nodeType===1&&te(o,"childNodes").length&&pe(o)}};function ee(e,t,s){let o,n=0,l=[];for(;n<e.length;n++){if(o=e[n],o["s-sr"]&&(!t||o["s-hn"]===t)&&(s===void 0||F(o)===s)&&(l.push(o),s!==void 0))return l;l=[...l,...ee(o.childNodes,t,s)]}return l}var We=(e,t,s=!0)=>{const o=[];(s&&e["s-sr"]||!e["s-sr"])&&o.push(e);let n=e;for(;n=n.nextSibling;)F(n)!==t||!s&&n["s-sr"]||o.push(n);return o},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 s=e["__"+t];return typeof s!="function"?s:s.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var oe,P,x=new WeakMap,ye=e=>"sc-"+e.p,se=e=>(e=typeof e)=="object"||e==="function",qe=(e,t,...s)=>{let o=null,n=null,l=null,r=!1,c=!1;const i=[],u=a=>{for(let f=0;f<a.length;f++)o=a[f],Array.isArray(o)?u(o):o!=null&&typeof o!="boolean"&&((r=!se(o))&&(o=String(o)),r&&c?i[i.length-1].h+=o:i.push(r?ne(null,o):o),c=r)};u(s);const d=ne(e,null);return d.v=t,i.length>0&&(d.m=i),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 s=!1;for(const n of t){if(s)break;for(const l of e[n])if(typeof l=="string"){s=!0;break}}if(!s)return e;const o={};for(const n of t)o[n]=e[n].map((l=>typeof l=="string"?{[l]:0}:l));return o},Se=(e,t,s)=>e==null||se(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,ze=(e,t,s)=>{const o=O.ce(t,s);return e.dispatchEvent(o),o},ve=(e,t,s,o,n,l)=>{if(s===o)return;let r=ae(e,t),c=t.toLowerCase();if(t==="class"){const i=e.classList,u=be(s);let d=be(o);i.remove(...u.filter((a=>a&&!d.includes(a)))),i.add(...d.filter((a=>a&&!u.includes(a))))}else if(t==="style"){for(const i in s)o&&o[i]!=null||(i.includes("-")?e.style.removeProperty(i):e.style[i]="");for(const i in o)s&&o[i]===s[i]||(i.includes("-")?e.style.setProperty(i,o[i]):e.style[i]=o[i])}else if(t!=="key"){if(t==="ref")o&&Ge(o,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const i=t.slice(5);let u;{const d=A(e);if(d&&d.o&&d.o.t){const a=d.o.t[i];a&&a[1]&&(u=a[1])}}return u||(u=i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(o==null||o===!1?o===!1&&e.getAttribute(u)!==""||e.removeAttribute(u):e.setAttribute(u,o===!0?"":o))}if(t[0]==="p"&&t.startsWith("prop:")){const i=t.slice(5);try{e[i]=o}catch{}return}{const i=se(o);if((r||i&&o!==null)&&!n)try{if(e.tagName.includes("-"))e[t]!==o&&(e[t]=o);else{const d=o??"";t==="list"?r=!1:s!=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),o==null||o===!1?o===!1&&e.getAttribute(t)!==""||(u?e.removeAttributeNS(ue,t):e.removeAttribute(t)):(!r||4&l||n)&&!i&&e.nodeType===1&&(o=o===!0?"":o,u?e.setAttributeNS(ue,t,o):e.setAttribute(t,o))}}else if(t=t[2]==="-"?t.slice(3):ae(N,c)?c.slice(2):c[2]+t.slice(3),s||o){const i=t.endsWith(Ne);t=t.replace(Qe,""),s&&O.rel(e,t,s,i),o&&O.ael(e,t,o,i)}}},Ie=/\s/,be=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(Ie):[]),Ne="Capture",Qe=new RegExp(Ne+"$"),le=(e,t,s)=>{const o=t.S.nodeType===11&&t.S.host?t.S.host:t.S,n=e&&e.v||{},l=t.v||{};for(const r of we(Object.keys(n)))r in l||ve(o,r,n[r],void 0,s,t.i);for(const r of we(Object.keys(l)))ve(o,r,n[r],l[r],s,t.i)};function we(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var V=!1,U=!1,z=!1,E=!1,ie=[],re=[],I=(e,t,s)=>{var o;const n=t.m[s];let l,r,c,i=0;if(V||(z=!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(""),le(null,n,E);else{if(E||(E=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(E?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!V&&2&n.i?"slot-fb":n.O),E&&n.O==="foreignObject"&&(E=!1),le(null,n,E),n.m){const u=n.O==="template"?l.content:l;for(i=0;i<n.m.length;++i)r=I(e,n,i),r&&u.appendChild(r)}n.O==="svg"?E=!1:l.tagName==="foreignObject"&&(E=!0)}return l["s-hn"]=P,3&n.i&&(l["s-sr"]=!0,l["s-cr"]=oe,l["s-sn"]=n.j||"",l["s-rf"]=(o=n.v)==null?void 0:o.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 b=this["s-cr"].parentElement;return(b.__childNodes?b.childNodes:(v=>{const y=[];for(let m=0;m<v.length;m++){const p=v[m]["s-nr"]||void 0;p&&p.isConnected&&y.push(p)}return y})(b.childNodes)).forEach((v=>{d===B(v)&&g.push(v)})),u?g.filter((v=>v.nodeType===1)):g}).bind(a);a.assignedElements=f(!0),a.assignedNodes=f(!1)})(i),c=e&&e.m&&e.m[s],c&&c.O===n.O&&e.S&&_e(e.S)),i},_e=e=>{O.i|=1;const t=e.closest(L.toLowerCase());if(t!=null){const s=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),o=Array.from(e.__childNodes||e.childNodes);for(const n of s?o.reverse():o)n["s-sh"]!=null&&(j(t,n,s??null),n["s-sh"]=void 0,U=!0)}O.i&=-2},Q=(e,t)=>{O.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"]===L&&s.push(o)}for(let o=s.length-1;o>=0;o--){const n=s[o];n["s-hn"]!==L&&n["s-ol"]&&(j(F(n).parentNode,n,F(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,U=!0),t&&Q(n,t)}O.i&=-2},Oe=(e,t,s,o,n,i)=>{let r,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===L&&(c=c.shadowRoot),s.O==="template"&&(c=c.content);n<=i;++n)o[n]&&(r=I(null,s,n),r&&(o[n].S=r,j(c,r,F(t))))},Ce=(e,t,s)=>{for(let o=t;o<=s;++o){const n=e[o];if(n){const i=n.S;$e(n),i&&(z=!0,i["s-ol"]?i["s-ol"].remove():Q(i,!0),i.remove())}}},G=(e,t,s=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:s?(s&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),F=e=>e&&e["s-ol"]||e,H=(e,t,s=!1)=>{const o=t.S=e.S,n=e.m,i=t.m,r=t.O,c=t.h;let l;c==null?(C=r==="svg"||r!=="foreignObject"&&C,r!=="slot"||W||e.j!==t.j&&(t.S["s-sn"]=t.j||"",_e(t.S.parentElement)),le(e,t,C),n!==null&&i!==null?((a,f,u,h,g=!1)=>{let d,b,v=0,y=0,m=0,p=0,_=f.length-1,S=f[0],w=f[_],$=h.length-1,E=h[0],k=h[$];const Re=u.O==="template"?a.content:a;for(;v<=_&&y<=$;)if(S==null)S=f[++v];else if(w==null)w=f[--_];else if(E==null)E=h[++y];else if(k==null)k=h[--$];else if(G(S,E,g))H(S,E,g),S=f[++v],E=h[++y];else if(G(w,k,g))H(w,k,g),w=f[--_],k=h[--$];else if(G(S,k,g))S.O!=="slot"&&k.O!=="slot"||Q(S.S.parentNode,!1),H(S,k,g),j(Re,S.S,w.S.nextSibling),S=f[++v],k=h[--$];else if(G(w,E,g))S.O!=="slot"&&k.O!=="slot"||Q(w.S.parentNode,!1),H(w,E,g),j(Re,w.S,S.S),w=f[--_],E=h[++y];else{for(m=-1,p=v;p<=_;++p)if(f[p]&&f[p].$!==null&&f[p].$===E.$){m=p;break}m>=0?(b=f[m],b.O!==E.O?d=I(f&&f[y],u,m):(H(b,E,g),f[m]=void 0,d=b.S),E=h[++y]):(d=I(f&&f[y],u,y),E=h[++y]),d&&j(F(S.S).parentNode,d,F(S.S))}v>_?Oe(a,h[$+1]==null?null:h[$+1].S,u,h,y,$):y>$&&Ce(f,v,_)})(o,n,t,i,s):i!==null?(e.h!==null&&(o.textContent=""),Oe(o,null,t,i,0,i.length-1)):!s&&n!==null&&Ce(n,0,n.length-1),C&&r==="svg"&&(C=!1)):(l=o["s-cr"])?l.parentNode.textContent=c:e.h!==c&&(o.data=c)},A=[],Ee=e=>{let t,s,o;const n=e.__childNodes||e.childNodes;for(const i of n){if(i["s-sr"]&&(t=i["s-cr"])&&t.parentNode){s=t.parentNode.__childNodes||t.parentNode.childNodes;const r=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,r)){let c=A.find((l=>l.k===t));z=!0,t["s-sn"]=t["s-sn"]||r,c?(c.k["s-sh"]=i["s-hn"],c.N=i):(t["s-sh"]=i["s-hn"],A.push({N:i,k:t})),t["s-sr"]&&A.map((l=>{me(l.k,t["s-sn"])&&(c=A.find((a=>a.k===t)),c&&!l.N&&(l.N=c.N))}))}else A.some((c=>c.k===t))||A.push({k:t})}i.nodeType===1&&Ee(i)}},$e=e=>{e.v&&e.v.ref&&ie.push((()=>e.v.ref(null))),e.m&&e.m.map($e)},Ue=(e,t)=>{re.push((()=>e(t)))},j=(e,t,s,o)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,s);const{slotNode:n}=(function(i,r){var c;if(!(r=r||((c=i["s-ol"])==null?void 0:c.parentElement)))return{slotNode:null,slotName:""};const l=i["s-sn"]=B(i)||"";return{slotNode:ee(te(r,"childNodes"),r.tagName,l)[0],slotName:l}})(t);return n&&!o&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,s):e?.insertBefore(t,s)},Ie=(e,t,s=!1)=>{var o,n,i,r,c;const l=e.$hostElement$,a=e.o,f=e.M||ne(null,null);var u;const h=(u=t)&&u.O===Fe?t:We(null,null,t);if(L=l.tagName,a._&&(h.v=h.v||{},a._.forEach((([g,d])=>{h.v[d]=l[g]}))),s&&h.v)for(const g of Object.keys(h.v))l.hasAttribute(g)&&!["key","ref","style","class"].includes(g)&&(h.v[g]=l[g]);if(h.O=null,h.i|=4,e.M=h,h.S=f.S=l.shadowRoot||l,W=!(!(1&a.i)||128&a.i),oe=l["s-cr"],z=!1,H(f,h,s),O.i|=1,U){Ee(h.S);for(const g of A){const d=g.k;if(!d["s-ol"]&&N.document){const b=N.document.createTextNode("");b["s-nr"]=d,j(d.parentNode,d["s-ol"]=b,d,s)}}for(const g of A){const d=g.k,b=g.N;if(d.nodeType===1&&s&&(d["s-ih"]=(o=d.hidden)!=null&&o),b){const v=b.parentNode;let y=b.nextSibling;if(y&&y.nodeType===1){let m=(n=d["s-ol"])==null?void 0:n.previousSibling;for(;m;){let p=(i=m["s-nr"])!=null?i:null;if(p&&p["s-sn"]===d["s-sn"]&&v===(p.__parentNode||p.parentNode)){for(p=p.nextSibling;p===d||p?.["s-sr"];)p=p?.nextSibling;if(!p||!p["s-nr"]){y=p;break}}m=m.previousSibling}}if((!y&&v!==(d.__parentNode||d.parentNode)||(d.__nextSibling||d.nextSibling)!==y)&&d!==y){if(j(v,d,y,s),d.nodeType===8&&d.nodeValue.startsWith("s-nt-")){const m=N.document.createTextNode(d.nodeValue.replace(/^s-nt-/,""));m["s-hn"]=d["s-hn"],m["s-sn"]=d["s-sn"],m["s-sh"]=d["s-sh"],m["s-sr"]=d["s-sr"],m["s-ol"]=d["s-ol"],m["s-ol"]["s-nr"]=m,j(d.parentNode,m,d,s),d.parentNode.removeChild(d)}d.nodeType===1&&d.tagName!=="SLOT-FB"&&(d.hidden=(r=d["s-ih"])!=null&&r)}d&&typeof b["s-rf"]=="function"&&b["s-rf"](b)}else d.nodeType===1&&(d.hidden=!0)}}if(z&&pe(h.S),O.i&=-2,A.length=0,!W&&!(1&a.i)&&l["s-cr"]){const g=h.S.__childNodes||h.S.childNodes;for(const d of g)if(d["s-hn"]!==L&&!d["s-sh"]){if(s&&d["s-ih"]==null&&(d["s-ih"]=(c=d.hidden)!=null&&c),d.nodeType===1)d.hidden=!0;else if(d.nodeType===3&&d.nodeValue.trim()){const b=N.document.createComment("s-nt-"+d.nodeValue);b["s-sn"]=d["s-sn"],j(d.parentNode,b,d,s),d.parentNode.removeChild(d)}}}oe=void 0,ie.forEach((g=>g())),ie.length=0,re.forEach((g=>g())),re.length=0},je=(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);je(e,e.C);const s=()=>Qe(e,t);if(!t)return He(s);queueMicrotask((()=>{s()}))},Qe=(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 n;return n=V(o,t?"componentWillLoad":"componentWillUpdate",void 0,s),n=ke(n,(()=>V(o,"componentWillRender",void 0,s))),ke(n,(()=>Ye(e,o,t)))},ke=(e,t)=>Ge(e)?e.then(t).catch((s=>{console.error(s),t()})):t(),Ge=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Ye=async(e,t,s)=>{var o;const n=e.$hostElement$,i=n["s-rc"];s&&(r=>{const c=r.o,l=r.$hostElement$,a=c.i,f=((u,h)=>{var g,d,b;const v=ge(h),y=q.get(v);if(!N.document)return v;if(u=u.nodeType===11?u:N.document,y)if(typeof y=="string"){let m,p=x.get(u=u.head||u);if(p||x.set(u,p=new Set),!p.has(v)){m=N.document.createElement("style"),m.textContent=y;const _=(g=O.L)!=null?g:(function(){var S,w,$;return($=(w=(S=N.document.head)==null?void 0:S.querySelector('meta[name="csp-nonce"]'))==null?void 0:w.getAttribute("content"))!=null?$:void 0})();if(_!=null&&m.setAttribute("nonce",_),!(1&h.i))if(u.nodeName==="HEAD"){const S=u.querySelectorAll("link[rel=preconnect]"),w=S.length>0?S[S.length-1].nextSibling:u.querySelector("style");u.insertBefore(m,w?.parentNode===u?w:null)}else if("host"in u)if(Y){const S=new((d=u.defaultView)!=null?d:u.ownerDocument.defaultView).CSSStyleSheet;S.replaceSync(y),Z?u.adoptedStyleSheets.unshift(S):u.adoptedStyleSheets=[S,...u.adoptedStyleSheets]}else{const S=u.querySelector("style");S?S.textContent=y+S.textContent:u.prepend(m)}else u.append(m);1&h.i&&u.insertBefore(m,null),4&h.i&&(m.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),p&&p.add(v)}}else{let m=x.get(u);if(m||x.set(u,m=new Set),!m.has(v)){const p=(b=u.defaultView)!=null?b:u.ownerDocument.defaultView;let _;if(y.constructor===p.CSSStyleSheet)_=y;else{_=new p.CSSStyleSheet;for(let S=0;S<y.cssRules.length;S++)_.insertRule(y.cssRules[S].cssText,S)}Z?u.adoptedStyleSheets.push(_):u.adoptedStyleSheets=[...u.adoptedStyleSheets,_],m.add(v)}}return v})(l.shadowRoot?l.shadowRoot:l.getRootNode(),c);10&a&&(l["s-sc"]=f,l.classList.add(f+"-h"))})(e),Ze(e,t,n,s),i&&(i.map((r=>r())),n["s-rc"]=void 0);{const r=(o=n["s-p"])!=null?o:[],c=()=>Je(e);r.length===0?c():(Promise.all(r).then(c).catch(c),e.i|=4,r.length=0)}},Ze=(e,t,s,o)=>{try{t=t.render(),e.i&=-17,e.i|=2,Ie(e,t,o)}catch(n){M(n,e.$hostElement$)}return null},Je=e=>{const t=e.$hostElement$,s=t,o=e.C;V(s,"componentDidRender",void 0,t),64&e.i?V(s,"componentDidUpdate",void 0,t):(e.i|=64,Xe(t),V(s,"componentDidLoad",void 0,t),e.F(t),o||Ke()),e.A&&(e.A(),e.A=void 0),512&e.i&&X((()=>ce(e,!1))),e.i&=-517},Ke=()=>{X((()=>Ve(N,"appload",{detail:{namespace:"gids-core-web"}})))},V=(e,t,s,o)=>{if(e&&e[t])try{return e[t](s)}catch(n){M(n,o)}},Xe=e=>e.classList.add("hydrated"),Ae=(e,t,s,o)=>{const n=T(e);if(!n)return;const i=e,r=n.l.get(t),c=n.i,l=i;s=Se(s,o.t[t][0]);const a=Number.isNaN(r)&&Number.isNaN(s);if(s!==r&&!a){if(n.l.set(t,s),o.R){const f=o.R[t];f&&f.map((u=>{try{const[[h,g]]=Object.entries(u);(128&c||1&g)&&(l?l[h](s,r,t):n.T.push((()=>{n.D[h](s,r,t)})))}catch(h){M(h,i)}}))}if(2&c){if(l.componentShouldUpdate&&l.componentShouldUpdate(s,r,t)===!1&&!(16&c))return;16&c||ce(n,!1)}}},et=(e,t)=>{var s,o;const n=e.prototype;{e.watchers&&!t.R&&(t.R=ye(e.watchers)),e.deserializers&&!t.H&&(t.H=e.deserializers),e.serializers&&!t.P&&(t.P=e.serializers);const i=Object.entries((s=t.t)!=null?s:{});i.map((([r,[c]])=>{if(31&c||32&c){const{get:l,set:a}=P(n,r)||{};l&&(t.t[r][0]|=2048),a&&(t.t[r][0]|=4096),Object.defineProperty(n,r,{get(){return l?l.apply(this):(f=r,T(this).l.get(f));var f},configurable:!0,enumerable:!0}),Object.defineProperty(n,r,{set(f){const u=T(this);if(u){if(a)return(32&c?this[r]:u.$hostElement$[r])===void 0&&u.l.get(r)&&(f=u.l.get(r)),a.apply(this,[Se(f,c)]),void Ae(this,r,f=32&c?this[r]:u.$hostElement$[r],t);Ae(this,r,f,t)}}})}}));{const r=new Map;n.attributeChangedCallback=function(c,l,a){O.jmp((()=>{var f;const u=r.get(c),h=T(this);if(this.hasOwnProperty(u),n.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==a)return;if(u==null){const y=h?.i;if(h&&y&&!(8&y)&&a!==l){const m=this,p=(f=t.R)==null?void 0:f[c];p?.forEach((_=>{const[[S,w]]=Object.entries(_);m[S]!=null&&(128&y||1&w)&&m[S].call(m,a,l,c)}))}return}const g=i.find((([y])=>y===u)),d=g&&4&g[1][0],b=d&&a===null&&this[u]===void 0;d&&(a=a!==null&&a!=="false");const v=Object.getOwnPropertyDescriptor(n,u);b||a==this[u]||v.get&&!v.set||(this[u]=a)}))},e.observedAttributes=Array.from(new Set([...Object.keys((o=t.R)!=null?o:{}),...i.filter((([c,l])=>31&l[0])).map((([c,l])=>{var a;const f=l[1]||c;return r.set(f,c),512&l[0]&&((a=t._)==null||a.push([c,f])),f}))]))}}return e},tt=(e,t)=>{const s={i:t[0],p:t[1]};try{s.t=t[2],s.R=ye(e.R),s.H=e.H,s.P=e.P,s._=[];const o=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((i,r)=>{const c={i:0,$hostElement$:i,o:r,l:new Map,U:new Map};c.W=new Promise((a=>c.F=a)),i["s-p"]=[],i["s-rc"]=[];const l=c;i.__stencil__getHostRef=()=>l,512&r.i&&Le(i,c)})(this,s)},connectedCallback(){if(!this.__hasHostListenerAttached){if(!T(this))return;this.__hasHostListenerAttached=!0}(i=>{if(!(1&O.i)){const r=T(i);if(!r)return;const c=r.o;if(1&r.i)r?.D||r?.W&&r.W.then((()=>{}));else{r.i|=1,12&c.i&&(l=>{if(!N.document)return;const a=l["s-cr"]=N.document.createComment("");a["s-cn"]=!0,j(l,a,l.firstChild)})(i);{let l=i;for(;l=l.parentNode||l.host;)if(l["s-p"]){je(r,r.C=l);break}}c.t&&Object.entries(c.t).map((([l,[a]])=>{if(31&a&&Object.prototype.hasOwnProperty.call(i,l)){const f=i[l];delete i[l],i[l]=f}})),(async(l,a,f)=>{let u;try{if(!(32&a.i)&&(a.i|=32,u=l.constructor,customElements.whenDefined(l.localName).then((()=>a.i|=128)),u&&u.style)){let d;typeof u.style=="string"&&(d=u.style);const b=ge(f);q.has(b)||((v,y,m)=>{let p=q.get(v);Y&&m?(p=p||new CSSStyleSheet,typeof p=="string"?p=y:p.replaceSync(y)):p=y,q.set(v,p)})(b,d,!!(1&f.i))}const h=a.C,g=()=>ce(a,!0);h&&h["s-rc"]?h["s-rc"].push(g):g()}catch(h){M(h,l),a.A&&(a.A(),a.A=void 0),a.F&&a.F(l)}})(i,r,c)}}})(this),o&&o.call(this)},disconnectedCallback(){(async i=>{1&O.i||T(i),x.has(i)&&x.delete(i),i.shadowRoot&&x.has(i.shadowRoot)&&x.delete(i.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${s.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else De.call(this,s)}}),Object.defineProperty(e,"is",{value:s.p,configurable:!0}),et(e,s)}catch(o){return M(o),e}};function lt(e){return e}const ot=e=>e===null?null:e?.parentElement?.closest("gids-overlay-provider")||null,Te=tt(class extends Pe{constructor(e){super(),e!==!1&&this.__registerHost(),this.__attachShadow(),this.pronunciation="standard",this.appearance="default",this.show=!1,this.position="top-right"}async showNotification(){const e=ot(this._el);e&&this.show&&e.queueComponent({notificationTitle:this.notificationTitle,message:this.message,pronunciation:this.pronunciation,appearance:this.appearance,buttonLabel:this.buttonLabel,onButtonClick:this.onButtonClick,position:this.position,componentName:"notification",timerInMs:this.timerInMs}),this.onQueueNotification&&this.onQueueNotification(),this.show=!1}render(){return null}get _el(){return this}static get watchers(){return{show:[{showNotification:0}]}}},[1,"gids-notification",{notificationTitle:[513,"notification-title"],message:[513],pronunciation:[513],appearance:[513],show:[516],onQueueNotification:[16],buttonLabel:[513,"button-label"],position:[513],timerInMs:[514,"timer-in-ms"],onButtonClick:[16]},void 0,{show:[{showNotification:0}]}]);function xe(){typeof customElements<"u"&&["gids-notification"].forEach((e=>{e==="gids-notification"&&(customElements.get(e)||customElements.define(e,Te))}))}xe();const st=Te,nt=xe;R.GidsNotification=st,R.defineCustomElement=nt,Object.defineProperty(R,Symbol.toStringTag,{value:"Module"})}));
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===F(v)&&m.push(v)})),a?m.filter((v=>v.nodeType===1)):m}).bind(u);u.assignedElements=d(!0),u.assignedNodes=d(!1)})(l),c=e&&e.m&&e.m[s],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 s=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),o=Array.from(e.__childNodes||e.childNodes);for(const n of s?o.reverse():o)n["s-sh"]!=null&&(j(t,n,s??null),n["s-sh"]=void 0,z=!0)}O.i&=-2},Q=(e,t)=>{O.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"]===P&&s.push(o)}for(let o=s.length-1;o>=0;o--){const n=s[o];n["s-hn"]!==P&&n["s-ol"]&&(j(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,s,o,n,l)=>{let r,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(c.shadowRoot&&c.tagName===P&&(c=c.shadowRoot),s.O==="template"&&(c=c.content);n<=l;++n)o[n]&&(r=I(null,s,n),r&&(o[n].S=r,j(c,r,B(t))))},Ee=(e,t,s)=>{for(let o=t;o<=s;++o){const n=e[o];if(n){const l=n.S;$e(n),l&&(U=!0,l["s-ol"]?l["s-ol"].remove():Q(l,!0),l.remove())}}},G=(e,t,s=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:s?(s&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),B=e=>e&&e["s-ol"]||e,H=(e,t,s=!1)=>{const o=t.S=e.S,n=e.m,l=t.m,r=t.O,c=t.h;let i;c==null?(E=r==="svg"||r!=="foreignObject"&&E,r!=="slot"||V||e.j!==t.j&&(t.S["s-sn"]=t.j||"",_e(t.S.parentElement)),le(e,t,E),n!==null&&l!==null?((u,d,a,f,m=!1)=>{let h,b,v=0,g=0,y=0,p=0,_=d.length-1,S=d[0],w=d[_],C=f.length-1,$=f[0],k=f[C];const Re=a.O==="template"?u.content:u;for(;v<=_&&g<=C;)if(S==null)S=d[++v];else if(w==null)w=d[--_];else if($==null)$=f[++g];else if(k==null)k=f[--C];else if(G(S,$,m))H(S,$,m),S=d[++v],$=f[++g];else if(G(w,k,m))H(w,k,m),w=d[--_],k=f[--C];else if(G(S,k,m))S.O!=="slot"&&k.O!=="slot"||Q(S.S.parentNode,!1),H(S,k,m),j(Re,S.S,w.S.nextSibling),S=d[++v],k=f[--C];else if(G(w,$,m))S.O!=="slot"&&k.O!=="slot"||Q(w.S.parentNode,!1),H(w,$,m),j(Re,w.S,S.S),w=d[--_],$=f[++g];else{for(y=-1,p=v;p<=_;++p)if(d[p]&&d[p].$!==null&&d[p].$===$.$){y=p;break}y>=0?(b=d[y],b.O!==$.O?h=I(d&&d[g],a,y):(H(b,$,m),d[y]=void 0,h=b.S),$=f[++g]):(h=I(d&&d[g],a,g),$=f[++g]),h&&j(B(S.S).parentNode,h,B(S.S))}v>_?Oe(u,f[C+1]==null?null:f[C+1].S,a,f,g,C):g>C&&Ee(d,v,_)})(o,n,t,l,s):l!==null?(e.h!==null&&(o.textContent=""),Oe(o,null,t,l,0,l.length-1)):!s&&n!==null&&Ee(n,0,n.length-1),E&&r==="svg"&&(E=!1)):(i=o["s-cr"])?i.parentNode.textContent=c:e.h!==c&&(o.data=c)},T=[],Ce=e=>{let t,s,o;const n=e.__childNodes||e.childNodes;for(const l of n){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){s=t.parentNode.__childNodes||t.parentNode.childNodes;const r=l["s-sn"];for(o=s.length-1;o>=0;o--)if(t=s[o],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===l["s-hn"]||t["s-sh"]&&t["s-sh"]===l["s-hn"]))if(me(t,r)){let c=T.find((i=>i.k===t));U=!0,t["s-sn"]=t["s-sn"]||r,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((i=>{me(i.k,t["s-sn"])&&(c=T.find((u=>u.k===t)),c&&!i.N&&(i.N=c.N))}))}else T.some((c=>c.k===t))||T.push({k:t})}l.nodeType===1&&Ce(l)}},$e=e=>{e.v&&e.v.ref&&ie.push((()=>e.v.ref(null))),e.m&&e.m.map($e)},Ge=(e,t)=>{re.push((()=>e(t)))},j=(e,t,s,o)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,s);const{slotNode:n}=(function(l,r){var c;if(!(r=r||((c=l["s-ol"])==null?void 0:c.parentElement)))return{slotNode:null,slotName:""};const i=l["s-sn"]=F(l)||"";return{slotNode:ee(te(r,"childNodes"),r.tagName,i)[0],slotName:i}})(t);return n&&!o&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,s):e?.insertBefore(t,s)},Ye=(e,t,s=!1)=>{var o,n,l,r,c;const i=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=i.tagName,u.C&&(f.v=f.v||{},u.C.forEach((([m,h])=>{f.v[h]=i[m]}))),s&&f.v)for(const m of Object.keys(f.v))i.hasAttribute(m)&&!["key","ref","style","class"].includes(m)&&(f.v[m]=i[m]);if(f.O=null,f.i|=4,e.M=f,f.S=d.S=i.shadowRoot||i,V=!(!(1&u.i)||128&u.i),oe=i["s-cr"],U=!1,H(d,f,s),O.i|=1,z){Ce(f.S);for(const m of T){const h=m.k;if(!h["s-ol"]&&N.document){const b=N.document.createTextNode("");b["s-nr"]=h,j(h.parentNode,h["s-ol"]=b,h,s)}}for(const m of T){const h=m.k,b=m.N;if(h.nodeType===1&&s&&(h["s-ih"]=(o=h.hidden)!=null&&o),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(j(v,h,g,s),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,s),h.parentNode.removeChild(h)}h.nodeType===1&&h.tagName!=="SLOT-FB"&&(h.hidden=(r=h["s-ih"])!=null&&r)}h&&typeof b["s-rf"]=="function"&&b["s-rf"](b)}else h.nodeType===1&&(h.hidden=!0)}}if(U&&pe(f.S),O.i&=-2,T.length=0,!V&&!(1&u.i)&&i["s-cr"]){const m=f.S.__childNodes||f.S.childNodes;for(const h of m)if(h["s-hn"]!==P&&!h["s-sh"]){if(s&&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"],j(h.parentNode,b,h,s),h.parentNode.removeChild(h)}}}oe=void 0,ie.forEach((m=>m())),ie.length=0,re.forEach((m=>m())),re.length=0},je=(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);je(e,e.R);const s=()=>Ze(e,t);if(!t)return Ve(s);queueMicrotask((()=>{s()}))},Ze=(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 n;return n=W(o,t?"componentWillLoad":"componentWillUpdate",void 0,s),n=ke(n,(()=>W(o,"componentWillRender",void 0,s))),ke(n,(()=>Ke(e,o,t)))},ke=(e,t)=>Je(e)?e.then(t).catch((s=>{console.error(s),t()})):t(),Je=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Ke=async(e,t,s)=>{var o;const n=e.$hostElement$,l=n["s-rc"];s&&(r=>{const c=r.o,i=r.$hostElement$,u=c.i,d=((a,f)=>{var m,h,b;const v=ye(f),g=q.get(v);if(!N.document)return v;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(v)){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(v)}}else{let y=x.get(a);if(y||x.set(a,y=new Set),!y.has(v)){const p=(b=a.defaultView)!=null?b: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(v)}}return v})(i.shadowRoot?i.shadowRoot:i.getRootNode(),c);10&u&&(i["s-sc"]=d,i.classList.add(d+"-h"))})(e),Xe(e,t,n,s),l&&(l.map((r=>r())),n["s-rc"]=void 0);{const r=(o=n["s-p"])!=null?o:[],c=()=>et(e);r.length===0?c():(Promise.all(r).then(c).catch(c),e.i|=4,r.length=0)}},Xe=(e,t,s,o)=>{try{t=t.render(),e.i&=-17,e.i|=2,Ye(e,t,o)}catch(n){R(n,e.$hostElement$)}return null},et=e=>{const t=e.$hostElement$,s=t,o=e.R;W(s,"componentDidRender",void 0,t),64&e.i?W(s,"componentDidUpdate",void 0,t):(e.i|=64,ot(t),W(s,"componentDidLoad",void 0,t),e.L(t),o||tt()),e.A&&(e.A(),e.A=void 0),512&e.i&&X((()=>ce(e,!1))),e.i&=-517},tt=()=>{X((()=>ze(N,"appload",{detail:{namespace:"gids-core-web"}})))},W=(e,t,s,o)=>{if(e&&e[t])try{return e[t](s)}catch(n){R(n,o)}},ot=e=>e.classList.add("hydrated"),Ae=(e,t,s,o)=>{const n=A(e);if(!n)return;const l=e,r=n.l.get(t),c=n.i,i=l;s=Se(s,o.t[t][0],!!(64&o.i));const u=Number.isNaN(r)&&Number.isNaN(s);if(s!==r&&!u){if(n.l.set(t,s),o.F){const d=o.F[t];d&&d.map((a=>{try{const[[f,m]]=Object.entries(a);(128&c||1&m)&&(i?i[f](s,r,t):n.T.push((()=>{n.D[f](s,r,t)})))}catch(f){R(f,l)}}))}if(2&c){if(i.componentShouldUpdate&&i.componentShouldUpdate(s,r,t)===!1&&!(16&c))return;16&c||ce(n,!1)}}},st=(e,t,s)=>{var o,n;const l=e.prototype;64&t.i&&1&s&&Me.forEach((r=>{const c=l[r];Object.defineProperty(l,r,{value(...i){var u;const d=A(this),a=this;a?typeof c=="function"&&c.call(a,...i):(u=d?.H)==null||u.then((f=>{const m=f[r];typeof m=="function"&&m.call(f,...i)}))}})}));{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 r=Object.entries((o=t.t)!=null?o:{});r.map((([c,[i]])=>{if(31&i||32&i){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&i?this[c]:f.$hostElement$[c])===void 0&&f.l.get(c)&&(a=f.l.get(c)),d.apply(this,[Se(a,i,!!(64&t.i))]),void Ae(this,c,a=32&i?this[c]:f.$hostElement$[c],t);Ae(this,c,a,t)}}})}}));{const c=new Map;l.attributeChangedCallback=function(i,u,d){O.jmp((()=>{var a;const f=c.get(i),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[i];_?.forEach((S=>{const[[w,C]]=Object.entries(S);p[w]!=null&&(128&y||1&C)&&p[w].call(p,d,u,i)}))}return}const h=r.find((([y])=>y===f)),b=h&&4&h[1][0],v=b&&d===null&&this[f]===void 0;b&&(d=d!==null&&d!=="false");const g=Object.getOwnPropertyDescriptor(l,f);v||d==this[f]||g.get&&!g.set||(this[f]=d)}))},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.F)!=null?n:{}),...r.filter((([i,u])=>31&u[0])).map((([i,u])=>{var d;const a=u[1]||i;return c.set(a,i),512&u[0]&&((d=t.C)==null||d.push([i,a])),a}))]))}}return e},nt=(e,t)=>{const s={i:t[0],p:t[1]};try{s.t=t[2],s.W=t[3],s.F=ge(e.F),s.P=e.P,s.U=e.U,s.C=[];const o=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((l,r)=>{const c={i:0,$hostElement$:l,o:r,l:new Map,B:new Map};c.H=new Promise((u=>c.L=u)),l["s-p"]=[],l["s-rc"]=[];const i=c;l.__stencil__getHostRef=()=>i,512&r.i&&Pe(l,c)})(this,s)},connectedCallback(){if(!this.__hasHostListenerAttached){const l=A(this);if(!l)return;Te(this,l,s.W),this.__hasHostListenerAttached=!0}(l=>{if(!(1&O.i)){const r=A(l);if(!r)return;const c=r.o;if(1&r.i)Te(l,r,c.W),r?.D||r?.H&&r.H.then((()=>{}));else{r.i|=1,12&c.i&&(i=>{if(!N.document)return;const u=i["s-cr"]=N.document.createComment("");u["s-cn"]=!0,j(i,u,i.firstChild)})(l);{let i=l;for(;i=i.parentNode||i.host;)if(i["s-p"]){je(r,r.R=i);break}}c.t&&Object.entries(c.t).map((([i,[u]])=>{if(31&u&&Object.prototype.hasOwnProperty.call(l,i)){const d=l[i];delete l[i],l[i]=d}})),(async(i,u,d)=>{let a;try{if(!(32&u.i)&&(u.i|=32,a=i.constructor,customElements.whenDefined(i.localName).then((()=>u.i|=128)),a&&a.style)){let h;typeof a.style=="string"&&(h=a.style);const b=ye(d);q.has(b)||((v,g,y)=>{let p=q.get(v);Y&&y?(p=p||new CSSStyleSheet,typeof p=="string"?p=g:p.replaceSync(g)):p=g,q.set(v,p)})(b,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,i),u.A&&(u.A(),u.A=void 0),u.L&&u.L(i)}})(l,r,c)}}})(this),o&&o.call(this)},disconnectedCallback(){(async l=>{if(!(1&O.i)){const r=A(l);r?.V&&(r.V.map((c=>c())),r.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 ${s.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Be.call(this,s)}}),Object.defineProperty(e,"is",{value:s.p,configurable:!0}),st(e,s,3)}catch(o){return R(o),e}},Te=(e,t,s)=>{s&&N.document&&s.map((([o,n,l])=>{const r=it(N.document,e,o),c=lt(t,l),i=rt(o);O.ael(r,n,c,i),(t.V=t.V||[]).push((()=>O.rel(r,n,c,i)))}))},lt=(e,t)=>s=>{try{e.$hostElement$[t](s)}catch(o){R(o,e.$hostElement$)}},it=(e,t,s)=>8&s?N:t,rt=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.pronunciation="standard",this.appearance="default",this.show=!1,this.position="top-right"}async showNotification(){const e=ct(this._el);e&&this.show&&e.queueComponent({notificationTitle:this.notificationTitle,message:this.message,pronunciation:this.pronunciation,appearance:this.appearance,buttonLabel:this.buttonLabel,onButtonClick:this.onButtonClick,position:this.position,componentName:"notification",timerInMs:this.timerInMs}),this.onQueueNotification&&this.onQueueNotification(),this.show=!1}render(){return null}get _el(){return this}static get watchers(){return{show:[{showNotification:0}]}}},[1,"gids-notification",{notificationTitle:[513,"notification-title"],message:[513],pronunciation:[513],appearance:[513],show:[516],onQueueNotification:[16],buttonLabel:[513,"button-label"],position:[513],timerInMs:[514,"timer-in-ms"],onButtonClick:[16]},void 0,{show:[{showNotification:0}]}]);function Le(){typeof customElements<"u"&&["gids-notification"].forEach((e=>{e==="gids-notification"&&(customElements.get(e)||customElements.define(e,xe))}))}Le();const at=xe,ut=Le;L.GidsNotification=at,L.defineCustomElement=ut,Object.defineProperty(L,Symbol.toStringTag,{value:"Module"})}));