@ganpatiinfo/gids-core-web 18.0.0 → 19.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/dist/css/index.css +160 -17
  2. package/dist/css/index.css.map +1 -1
  3. package/dist/gids-action-bar.d.ts +1 -1
  4. package/dist/gids-activity-gauge.d.ts +1 -1
  5. package/dist/gids-advanced-tooltip.d.ts +1 -1
  6. package/dist/gids-bar-chart.d.ts +1 -1
  7. package/dist/gids-bento-card.d.ts +1 -1
  8. package/dist/gids-bento-card.js +1 -1
  9. package/dist/gids-calendar-header-panel.d.ts +1 -1
  10. package/dist/gids-calendar-month-list.d.ts +1 -1
  11. package/dist/gids-calendar-year-list.d.ts +1 -1
  12. package/dist/gids-calendar.d.ts +1 -1
  13. package/dist/gids-carousel.d.ts +1 -1
  14. package/dist/gids-chart-legend-item.d.ts +1 -1
  15. package/dist/gids-chart-legend.d.ts +1 -1
  16. package/dist/gids-chart.d.ts +1 -1
  17. package/dist/gids-chevron-button.d.ts +1 -1
  18. package/dist/gids-dot.d.ts +1 -1
  19. package/dist/gids-dropdown-field.d.ts +1 -1
  20. package/dist/gids-dropdown-picker.d.ts +1 -1
  21. package/dist/gids-dropdown.d.ts +1 -1
  22. package/dist/gids-expansion-body-list-item.d.ts +1 -1
  23. package/dist/gids-expansion-body-list.d.ts +1 -1
  24. package/dist/gids-expansion-group.d.ts +1 -1
  25. package/dist/gids-expansion.d.ts +1 -1
  26. package/dist/gids-field.d.ts +1 -1
  27. package/dist/gids-filter.d.ts +1 -1
  28. package/dist/gids-flyout-panel.d.ts +1 -1
  29. package/dist/gids-header-navigation-item.d.ts +1 -1
  30. package/dist/gids-header-navigation.d.ts +1 -1
  31. package/dist/gids-icon.d.ts +1 -1
  32. package/dist/gids-input.d.ts +1 -1
  33. package/dist/gids-level-gauge.d.ts +1 -1
  34. package/dist/gids-line-chart.d.ts +1 -1
  35. package/dist/gids-md-table.d.ts +1 -1
  36. package/dist/gids-notification.d.ts +1 -1
  37. package/dist/gids-overflow-container.d.ts +1 -1
  38. package/dist/gids-overlay-provider.d.ts +1 -1
  39. package/dist/gids-password-field.d.ts +1 -1
  40. package/dist/gids-pie-chart.d.ts +1 -1
  41. package/dist/gids-popover.d.ts +1 -1
  42. package/dist/gids-profile-menu-header.d.ts +1 -1
  43. package/dist/gids-profile-menu.d.ts +1 -1
  44. package/dist/gids-profile.d.ts +1 -1
  45. package/dist/gids-progress-circle.d.ts +1 -1
  46. package/dist/gids-scrim.d.ts +1 -1
  47. package/dist/gids-skeleton.d.ts +1 -1
  48. package/dist/gids-snackbar.d.ts +1 -1
  49. package/dist/gids-tab-item.d.ts +1 -1
  50. package/dist/gids-tab.d.ts +1 -1
  51. package/dist/gids-text-field.d.ts +1 -1
  52. package/dist/gids-toggle-button.d.ts +1 -1
  53. package/dist/gids-tooltip.d.ts +1 -1
  54. package/dist/gids-transfer-list.d.ts +1 -1
  55. package/dist/types/components/html/GidsEcosystemCard/GidsEcosystemCard.d.ts +7 -0
  56. package/dist/types/components/html/GidsEcosystemIcon/GidsEcosystemIcon.d.ts +7 -0
  57. package/dist/types/components/html/GidsIconMarker/GidsIconMarker.d.ts +7 -0
  58. package/dist/types/components/webComponents/GidsBentoCard/GidsBentoCard.d.ts +3 -1
  59. package/dist/types/components.d.ts +11 -2
  60. package/dist-bundled/es/gids-bento-card.js +21 -16
  61. package/dist-bundled/umd/gids-bento-card.umd.js +2 -2
  62. package/dist-bundled/umd-complete/gids-core-web.umd.js +4 -4
  63. package/package.json +4 -4
@@ -1,5 +1,5 @@
1
- (function(B,D){typeof exports=="object"&&typeof module<"u"?D(exports):typeof define=="function"&&define.amd?define(["exports"],D):(B=typeof globalThis<"u"?globalThis:B||self,D(B.gidsCoreWebGidsBentoCard={}))})(this,(function(B){"use strict";function D(e,t,s){const o=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==o;){const r=Object.getOwnPropertyDescriptor(e,t);if(r&&(!s||r.get))return r;e=Object.getPrototypeOf(e)}}var H,He=(e,t)=>{var s;Object.entries((s=t.o.t)!=null?s:{}).map((([o,[r]])=>{if(31&r||32&r){const a=e[o],i=D(Object.getPrototypeOf(e),o,!0)||Object.getOwnPropertyDescriptor(e,o);i&&Object.defineProperty(e,o,{get(){return i.get.call(this)},set(l){i.set.call(this,l)},configurable:!0,enumerable:!0}),t.l.has(o)?e[o]=t.l.get(o):a!==void 0&&(e[o]=a)}}))},j=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},ce=(e,t)=>t in e,L=(e,t)=>(0,console.error)(e,t),W=new Map,he="http://www.w3.org/1999/xlink",Fe=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],S=typeof window<"u"?window:{},Ve=S.HTMLElement||class{},N={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)},ze=(()=>{var e;let t=!1;try{(e=S.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),J=(()=>{try{return!!S.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),K=!!J&&!!S.document&&Object.getOwnPropertyDescriptor(S.document.adoptedStyleSheets,"length").writable,Q=!1,pe=[],ge=[],Ge=(e,t)=>s=>{e.push(s),Q||(Q=!0,4&N.i?te(ee):N.raf(ee))},fe=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){L(s)}e.length=0},ee=()=>{fe(pe),fe(ge),(Q=pe.length>0)&&N.raf(ee)},te=e=>Promise.resolve(void 0).then(e),We=Ge(ge);function Ue(){const e=this.attachShadow({mode:"open"});H===void 0&&(H=null),H&&(K?e.adoptedStyleSheets.push(H):e.adoptedStyleSheets=[...e.adoptedStyleSheets,H])}var ue=e=>{const t=se(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&oe(t,e.tagName).forEach((o=>{o.nodeType===1&&o.tagName==="SLOT-FB"&&(o.hidden=!!Ie(o,F(o),!1).length)}));let s=0;for(s=0;s<t.length;s++){const o=t[s];o.nodeType===1&&se(o,"childNodes").length&&ue(o)}};function oe(e,t,s){let o,r=0,a=[];for(;r<e.length;r++){if(o=e[r],o["s-sr"]&&(!t||o["s-hn"]===t)&&(s===void 0||F(o)===s)&&(a.push(o),s!==void 0))return a;a=[...a,...oe(o.childNodes,t,s)]}return a}var Ie=(e,t,s=!0)=>{const o=[];(s&&e["s-sr"]||!e["s-sr"])&&o.push(e);let r=e;for(;r=r.nextSibling;)F(r)!==t||!s&&r["s-sr"]||o.push(r);return o},ye=(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 se(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 re,P,R=new WeakMap,me=e=>"sc-"+e.p,ne=e=>(e=typeof e)=="object"||e==="function",w=(e,t,...s)=>{let o=null,r=null,a=null,i=!1,l=!1;const n=[],h=d=>{for(let p=0;p<d.length;p++)o=d[p],Array.isArray(o)?h(o):o!=null&&typeof o!="boolean"&&((i=typeof e!="function"&&!ne(o))&&(o=String(o)),i&&l?n[n.length-1].h+=o:n.push(i?U(null,o):o),l=i)};if(h(s),t){t.key&&(r=t.key),t.name&&(a=t.name);{const d=t.className||t.class;d&&(t.class=typeof d!="object"?d:Object.keys(d).filter((p=>d[p])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,n,qe);const c=U(e,null);return c.v=t,n.length>0&&(c.m=n),c.$=r,c.j=a,c},U=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),be={},qe={forEach:(e,t)=>e.map(ve).forEach(t),map:(e,t)=>e.map(ve).map(t).map(Xe)},ve=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),Xe=e=>{if(typeof e.vtag=="function"){const s={...e.vattrs};return e.vkey&&(s.key=e.vkey),e.vname&&(s.name=e.vname),w(e.vtag,s,...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},_e=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let s=!1;for(const r of t){if(s)break;for(const a of e[r])if(typeof a=="string"){s=!0;break}}if(!s)return e;const o={};for(const r of t)o[r]=e[r].map((a=>typeof a=="string"?{[a]:0}:a));return o},Se=(e,t,s)=>e==null||ne(e)?e:4&t?(s&&typeof e=="string"||e!=="false")&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,Ye=(e,t,s)=>{const o=N.ce(t,s);return e.dispatchEvent(o),o},Ce=(e,t,s,o,r,a)=>{if(s===o)return;let i=ce(e,t),l=t.toLowerCase();if(t==="class"){const n=e.classList,h=xe(s);let c=xe(o);n.remove(...h.filter((d=>d&&!c.includes(d)))),n.add(...c.filter((d=>d&&!h.includes(d))))}else if(t==="style"){for(const n in s)o&&o[n]!=null||(n.includes("-")?e.style.removeProperty(n):e.style[n]="");for(const n in o)s&&o[n]===s[n]||(n.includes("-")?e.style.setProperty(n,o[n]):e.style[n]=o[n])}else if(t!=="key"){if(t==="ref")o&&Ke(o,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const n=t.slice(5);let h;{const c=j(e);if(c&&c.o&&c.o.t){const d=c.o.t[n];d&&d[1]&&(h=d[1])}}return h||(h=n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(o==null||o===!1?o===!1&&e.getAttribute(h)!==""||e.removeAttribute(h):e.setAttribute(h,o===!0?"":o))}if(t[0]==="p"&&t.startsWith("prop:")){const n=t.slice(5);try{e[n]=o}catch{}return}{const n=ne(o);if((i||n&&o!==null)&&!r)try{if(e.tagName.includes("-"))e[t]!==o&&(e[t]=o);else{const c=o??"";t==="list"?i=!1:s!=null&&e[t]===c||(typeof e.__lookupSetter__(t)=="function"?e[t]=c:e.setAttribute(t,c))}}catch{}let h=!1;l!==(l=l.replace(/^xlink\:?/,""))&&(t=l,h=!0),o==null||o===!1?o===!1&&e.getAttribute(t)!==""||(h?e.removeAttributeNS(he,t):e.removeAttribute(t)):(!i||4&a||r)&&!n&&e.nodeType===1&&(o=o===!0?"":o,h?e.setAttributeNS(he,t,o):e.setAttribute(t,o))}}else if(t=t[2]==="-"?t.slice(3):ce(S,l)?l.slice(2):l[2]+t.slice(3),s||o){const n=t.endsWith(Ne);t=t.replace(Je,""),s&&N.rel(e,t,s,n),o&&N.ael(e,t,o,n)}}},Ze=/\s/,xe=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(Ze):[]),Ne="Capture",Je=new RegExp(Ne+"$"),ae=(e,t,s)=>{const o=t.S.nodeType===11&&t.S.host?t.S.host:t.S,r=e&&e.v||{},a=t.v||{};for(const i of we(Object.keys(r)))i in a||Ce(o,i,r[i],void 0,s,t.i);for(const i of we(Object.keys(a)))Ce(o,i,r[i],a[i],s,t.i)};function we(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var V=!1,I=!1,q=!1,T=!1,ie=[],le=[],X=(e,t,s)=>{var o;const r=t.m[s];let a,i,l,n=0;if(V||(q=!0,r.O==="slot"&&(r.i|=r.m?2:1)),r.h!=null)a=r.S=S.document.createTextNode(r.h);else if(1&r.i)a=r.S=S.document.createTextNode(""),ae(null,r,T);else{if(T||(T=r.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=r.S=S.document.createElementNS(T?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!V&&2&r.i?"slot-fb":r.O),T&&r.O==="foreignObject"&&(T=!1),ae(null,r,T),r.m){const h=r.O==="template"?a.content:a;for(n=0;n<r.m.length;++n)i=X(e,r,n),i&&h.appendChild(i)}r.O==="svg"?T=!1:a.tagName==="foreignObject"&&(T=!0)}return a["s-hn"]=P,3&r.i&&(a["s-sr"]=!0,a["s-cr"]=re,a["s-sn"]=r.j||"",a["s-rf"]=(o=r.v)==null?void 0:o.ref,(function(h){if(h.assignedElements||h.assignedNodes||!h["s-sr"])return;const c=d=>(function(p){const u=[],g=this["s-sn"];p?.flatten&&console.error(`
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.gidsCoreWebGidsBentoCard={}))})(this,(function(R){"use strict";function P(e,t,s){const o=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==o;){const r=Object.getOwnPropertyDescriptor(e,t);if(r&&(!s||r.get))return r;e=Object.getPrototypeOf(e)}}var H,Fe=(e,t)=>{var s;Object.entries((s=t.o.t)!=null?s:{}).map((([o,[r]])=>{if(31&r||32&r){const a=e[o],i=P(Object.getPrototypeOf(e),o,!0)||Object.getOwnPropertyDescriptor(e,o);i&&Object.defineProperty(e,o,{get(){return i.get.call(this)},set(l){i.set.call(this,l)},configurable:!0,enumerable:!0}),t.l.has(o)?e[o]=t.l.get(o):a!==void 0&&(e[o]=a)}}))},j=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},ce=(e,t)=>t in e,D=(e,t)=>(0,console.error)(e,t),W=new Map,fe="http://www.w3.org/1999/xlink",Ve=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],S=typeof window<"u"?window:{},ze=S.HTMLElement||class{},w={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)},Ge=(()=>{var e;let t=!1;try{(e=S.document)==null||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),J=(()=>{try{return!!S.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),K=!!J&&!!S.document&&Object.getOwnPropertyDescriptor(S.document.adoptedStyleSheets,"length").writable,Q=!1,he=[],pe=[],We=(e,t)=>s=>{e.push(s),Q||(Q=!0,4&w.i?te(ee):w.raf(ee))},ge=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(s){D(s)}e.length=0},ee=()=>{ge(he),ge(pe),(Q=he.length>0)&&w.raf(ee)},te=e=>Promise.resolve(void 0).then(e),Ue=We(pe);function Ie(){const e=this.attachShadow({mode:"open"});H===void 0&&(H=null),H&&(K?e.adoptedStyleSheets.push(H):e.adoptedStyleSheets=[...e.adoptedStyleSheets,H])}var ue=e=>{const t=se(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&oe(t,e.tagName).forEach((o=>{o.nodeType===1&&o.tagName==="SLOT-FB"&&(o.hidden=!!qe(o,F(o),!1).length)}));let s=0;for(s=0;s<t.length;s++){const o=t[s];o.nodeType===1&&se(o,"childNodes").length&&ue(o)}};function oe(e,t,s){let o,r=0,a=[];for(;r<e.length;r++){if(o=e[r],o["s-sr"]&&(!t||o["s-hn"]===t)&&(s===void 0||F(o)===s)&&(a.push(o),s!==void 0))return a;a=[...a,...oe(o.childNodes,t,s)]}return a}var qe=(e,t,s=!0)=>{const o=[];(s&&e["s-sr"]||!e["s-sr"])&&o.push(e);let r=e;for(;r=r.nextSibling;)F(r)!==t||!s&&r["s-sr"]||o.push(r);return o},ye=(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 se(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 re,L,B=new WeakMap,me=e=>"sc-"+e.p,ne=e=>(e=typeof e)=="object"||e==="function",N=(e,t,...s)=>{let o=null,r=null,a=null,i=!1,l=!1;const n=[],f=d=>{for(let h=0;h<d.length;h++)o=d[h],Array.isArray(o)?f(o):o!=null&&typeof o!="boolean"&&((i=typeof e!="function"&&!ne(o))&&(o=String(o)),i&&l?n[n.length-1].h+=o:n.push(i?U(null,o):o),l=i)};if(f(s),t){t.key&&(r=t.key),t.name&&(a=t.name);{const d=t.className||t.class;d&&(t.class=typeof d!="object"?d:Object.keys(d).filter((h=>d[h])).join(" "))}}if(typeof e=="function")return e(t===null?{}:t,n,Xe);const c=U(e,null);return c.v=t,n.length>0&&(c.m=n),c.$=r,c.j=a,c},U=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),be={},Xe={forEach:(e,t)=>e.map(ve).forEach(t),map:(e,t)=>e.map(ve).map(t).map(Ye)},ve=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),Ye=e=>{if(typeof e.vtag=="function"){const s={...e.vattrs};return e.vkey&&(s.key=e.vkey),e.vname&&(s.name=e.vname),N(e.vtag,s,...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},_e=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let s=!1;for(const r of t){if(s)break;for(const a of e[r])if(typeof a=="string"){s=!0;break}}if(!s)return e;const o={};for(const r of t)o[r]=e[r].map((a=>typeof a=="string"?{[a]:0}:a));return o},Se=(e,t,s)=>e==null||ne(e)?e:4&t?(s&&typeof e=="string"||e!=="false")&&(e===""||!!e):2&t?typeof e=="string"?parseFloat(e):typeof e=="number"?e:NaN:1&t?String(e):e,Ze=(e,t,s)=>{const o=w.ce(t,s);return e.dispatchEvent(o),o},Ce=(e,t,s,o,r,a)=>{if(s===o)return;let i=ce(e,t),l=t.toLowerCase();if(t==="class"){const n=e.classList,f=xe(s);let c=xe(o);n.remove(...f.filter((d=>d&&!c.includes(d)))),n.add(...c.filter((d=>d&&!f.includes(d))))}else if(t==="style"){for(const n in s)o&&o[n]!=null||(n.includes("-")?e.style.removeProperty(n):e.style[n]="");for(const n in o)s&&o[n]===s[n]||(n.includes("-")?e.style.setProperty(n,o[n]):e.style[n]=o[n])}else if(t!=="key"){if(t==="ref")o&&Qe(o,e);else if(e.__lookupSetter__(t)||t[0]!=="o"||t[1]!=="n"){if(t[0]==="a"&&t.startsWith("attr:")){const n=t.slice(5);let f;{const c=j(e);if(c&&c.o&&c.o.t){const d=c.o.t[n];d&&d[1]&&(f=d[1])}}return f||(f=n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(o==null||o===!1?o===!1&&e.getAttribute(f)!==""||e.removeAttribute(f):e.setAttribute(f,o===!0?"":o))}if(t[0]==="p"&&t.startsWith("prop:")){const n=t.slice(5);try{e[n]=o}catch{}return}{const n=ne(o);if((i||n&&o!==null)&&!r)try{if(e.tagName.includes("-"))e[t]!==o&&(e[t]=o);else{const c=o??"";t==="list"?i=!1:s!=null&&e[t]===c||(typeof e.__lookupSetter__(t)=="function"?e[t]=c:e.setAttribute(t,c))}}catch{}let f=!1;l!==(l=l.replace(/^xlink\:?/,""))&&(t=l,f=!0),o==null||o===!1?o===!1&&e.getAttribute(t)!==""||(f?e.removeAttributeNS(fe,t):e.removeAttribute(t)):(!i||4&a||r)&&!n&&e.nodeType===1&&(o=o===!0?"":o,f?e.setAttributeNS(fe,t,o):e.setAttribute(t,o))}}else if(t=t[2]==="-"?t.slice(3):ce(S,l)?l.slice(2):l[2]+t.slice(3),s||o){const n=t.endsWith(we);t=t.replace(Ke,""),s&&w.rel(e,t,s,n),o&&w.ael(e,t,o,n)}}},Je=/\s/,xe=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(Je):[]),we="Capture",Ke=new RegExp(we+"$"),ae=(e,t,s)=>{const o=t.S.nodeType===11&&t.S.host?t.S.host:t.S,r=e&&e.v||{},a=t.v||{};for(const i of Ne(Object.keys(r)))i in a||Ce(o,i,r[i],void 0,s,t.i);for(const i of Ne(Object.keys(a)))Ce(o,i,r[i],a[i],s,t.i)};function Ne(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var V=!1,I=!1,q=!1,T=!1,ie=[],le=[],X=(e,t,s)=>{var o;const r=t.m[s];let a,i,l,n=0;if(V||(q=!0,r.O==="slot"&&(r.i|=r.m?2:1)),r.h!=null)a=r.S=S.document.createTextNode(r.h);else if(1&r.i)a=r.S=S.document.createTextNode(""),ae(null,r,T);else{if(T||(T=r.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=r.S=S.document.createElementNS(T?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!V&&2&r.i?"slot-fb":r.O),T&&r.O==="foreignObject"&&(T=!1),ae(null,r,T),r.m){const f=r.O==="template"?a.content:a;for(n=0;n<r.m.length;++n)i=X(e,r,n),i&&f.appendChild(i)}r.O==="svg"?T=!1:a.tagName==="foreignObject"&&(T=!0)}return a["s-hn"]=L,3&r.i&&(a["s-sr"]=!0,a["s-cr"]=re,a["s-sn"]=r.j||"",a["s-rf"]=(o=r.v)==null?void 0:o.ref,(function(f){if(f.assignedElements||f.assignedNodes||!f["s-sr"])return;const c=d=>(function(h){const u=[],p=this["s-sn"];h?.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 _=this["s-cr"].parentElement;return(_.__childNodes?_.childNodes:(v=>{const m=[];for(let y=0;y<v.length;y++){const f=v[y]["s-nr"]||void 0;f&&f.isConnected&&m.push(f)}return m})(_.childNodes)).forEach((v=>{g===F(v)&&u.push(v)})),d?u.filter((v=>v.nodeType===1)):u}).bind(h);h.assignedElements=c(!0),h.assignedNodes=c(!1)})(a),l=e&&e.m&&e.m[s],l&&l.O===r.O&&e.S&&Te(e.S)),a},Te=e=>{N.i|=1;const t=e.closest(P.toLowerCase());if(t!=null){const s=Array.from(t.__childNodes||t.childNodes).find((r=>r["s-cr"])),o=Array.from(e.__childNodes||e.childNodes);for(const r of s?o.reverse():o)r["s-sh"]!=null&&(E(t,r,s??null),r["s-sh"]=void 0,q=!0)}N.i&=-2},Y=(e,t)=>{N.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 r=s[o];r["s-hn"]!==P&&r["s-ol"]&&(E(z(r).parentNode,r,z(r)),r["s-ol"].remove(),r["s-ol"]=void 0,r["s-sh"]=void 0,q=!0),t&&Y(r,t)}N.i&=-2},Oe=(e,t,s,o,r,a)=>{let i,l=e["s-cr"]&&e["s-cr"].parentNode||e;for(l.shadowRoot&&l.tagName===P&&(l=l.shadowRoot),s.O==="template"&&(l=l.content);r<=a;++r)o[r]&&(i=X(null,s,r),i&&(o[r].S=i,E(l,i,z(t))))},ke=(e,t,s)=>{for(let o=t;o<=s;++o){const r=e[o];if(r){const a=r.S;$e(r),a&&(I=!0,a["s-ol"]?a["s-ol"].remove():Y(a,!0),a.remove())}}},Z=(e,t,s=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:s?(s&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),z=e=>e&&e["s-ol"]||e,M=(e,t,s=!1)=>{const o=t.S=e.S,r=e.m,a=t.m,i=t.O,l=t.h;let n;l==null?(T=i==="svg"||i!=="foreignObject"&&T,i!=="slot"||V||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Te(t.S.parentElement)),ae(e,t,T),r!==null&&a!==null?((h,c,d,p,u=!1)=>{let g,_,v=0,m=0,y=0,f=0,x=c.length-1,b=c[0],C=c[x],O=p.length-1,k=p[0],$=p[O];const Me=d.O==="template"?h.content:h;for(;v<=x&&m<=O;)if(b==null)b=c[++v];else if(C==null)C=c[--x];else if(k==null)k=p[++m];else if($==null)$=p[--O];else if(Z(b,k,u))M(b,k,u),b=c[++v],k=p[++m];else if(Z(C,$,u))M(C,$,u),C=c[--x],$=p[--O];else if(Z(b,$,u))b.O!=="slot"&&$.O!=="slot"||Y(b.S.parentNode,!1),M(b,$,u),E(Me,b.S,C.S.nextSibling),b=c[++v],$=p[--O];else if(Z(C,k,u))b.O!=="slot"&&$.O!=="slot"||Y(C.S.parentNode,!1),M(C,k,u),E(Me,C.S,b.S),C=c[--x],k=p[++m];else{for(y=-1,f=v;f<=x;++f)if(c[f]&&c[f].$!==null&&c[f].$===k.$){y=f;break}y>=0?(_=c[y],_.O!==k.O?g=X(c&&c[m],d,y):(M(_,k,u),c[y]=void 0,g=_.S),k=p[++m]):(g=X(c&&c[m],d,m),k=p[++m]),g&&E(z(b.S).parentNode,g,z(b.S))}v>x?Oe(h,p[O+1]==null?null:p[O+1].S,d,p,m,O):m>O&&ke(c,v,x)})(o,r,t,a,s):a!==null?(e.h!==null&&(o.textContent=""),Oe(o,null,t,a,0,a.length-1)):!s&&r!==null&&ke(r,0,r.length-1),T&&i==="svg"&&(T=!1)):(n=o["s-cr"])?n.parentNode.textContent=l:e.h!==l&&(o.data=l)},A=[],Ee=e=>{let t,s,o;const r=e.__childNodes||e.childNodes;for(const a of r){if(a["s-sr"]&&(t=a["s-cr"])&&t.parentNode){s=t.parentNode.__childNodes||t.parentNode.childNodes;const i=a["s-sn"];for(o=s.length-1;o>=0;o--)if(t=s[o],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===a["s-hn"]||t["s-sh"]&&t["s-sh"]===a["s-hn"]))if(ye(t,i)){let l=A.find((n=>n.k===t));I=!0,t["s-sn"]=t["s-sn"]||i,l?(l.k["s-sh"]=a["s-hn"],l.N=a):(t["s-sh"]=a["s-hn"],A.push({N:a,k:t})),t["s-sr"]&&A.map((n=>{ye(n.k,t["s-sn"])&&(l=A.find((h=>h.k===t)),l&&!n.N&&(n.N=l.N))}))}else A.some((l=>l.k===t))||A.push({k:t})}a.nodeType===1&&Ee(a)}},$e=e=>{e.v&&e.v.ref&&ie.push((()=>e.v.ref(null))),e.m&&e.m.map($e)},Ke=(e,t)=>{le.push((()=>e(t)))},E=(e,t,s,o)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,s);const{slotNode:r}=(function(a,i){var l;if(!(i=i||((l=a["s-ol"])==null?void 0:l.parentElement)))return{slotNode:null,slotName:""};const n=a["s-sn"]=F(a)||"";return{slotNode:oe(se(i,"childNodes"),i.tagName,n)[0],slotName:n}})(t);return r&&!o&&r.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,s):e?.insertBefore(t,s)},Qe=(e,t,s=!1)=>{var o,r,a,i,l;const n=e.$hostElement$,h=e.o,c=e.M||U(null,null);var d;const p=(d=t)&&d.O===be?t:w(null,null,t);if(P=n.tagName,h.C&&(p.v=p.v||{},h.C.forEach((([u,g])=>{p.v[g]=n[u]}))),s&&p.v)for(const u of Object.keys(p.v))n.hasAttribute(u)&&!["key","ref","style","class"].includes(u)&&(p.v[u]=n[u]);if(p.O=null,p.i|=4,e.M=p,p.S=c.S=n.shadowRoot||n,V=!(!(1&h.i)||128&h.i),re=n["s-cr"],I=!1,M(c,p,s),N.i|=1,q){Ee(p.S);for(const u of A){const g=u.k;if(!g["s-ol"]&&S.document){const _=S.document.createTextNode("");_["s-nr"]=g,E(g.parentNode,g["s-ol"]=_,g,s)}}for(const u of A){const g=u.k,_=u.N;if(g.nodeType===1&&s&&(g["s-ih"]=(o=g.hidden)!=null&&o),_){const v=_.parentNode;let m=_.nextSibling;if(m&&m.nodeType===1){let y=(r=g["s-ol"])==null?void 0:r.previousSibling;for(;y;){let f=(a=y["s-nr"])!=null?a:null;if(f&&f["s-sn"]===g["s-sn"]&&v===(f.__parentNode||f.parentNode)){for(f=f.nextSibling;f===g||f?.["s-sr"];)f=f?.nextSibling;if(!f||!f["s-nr"]){m=f;break}}y=y.previousSibling}}if((!m&&v!==(g.__parentNode||g.parentNode)||(g.__nextSibling||g.nextSibling)!==m)&&g!==m){if(E(v,g,m,s),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,E(g.parentNode,y,g,s),g.parentNode.removeChild(g)}g.nodeType===1&&g.tagName!=="SLOT-FB"&&(g.hidden=(i=g["s-ih"])!=null&&i)}g&&typeof _["s-rf"]=="function"&&_["s-rf"](_)}else g.nodeType===1&&(g.hidden=!0)}}if(I&&ue(p.S),N.i&=-2,A.length=0,!V&&!(1&h.i)&&n["s-cr"]){const u=p.S.__childNodes||p.S.childNodes;for(const g of u)if(g["s-hn"]!==P&&!g["s-sh"]){if(s&&g["s-ih"]==null&&(g["s-ih"]=(l=g.hidden)!=null&&l),g.nodeType===1)g.hidden=!0;else if(g.nodeType===3&&g.nodeValue.trim()){const _=S.document.createComment("s-nt-"+g.nodeValue);_["s-sn"]=g["s-sn"],E(g.parentNode,_,g,s),g.parentNode.removeChild(g)}}}re=void 0,ie.forEach((u=>u())),ie.length=0,le.forEach((u=>u())),le.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()})))}},de=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);je(e,e.R);const s=()=>et(e,t);if(!t)return We(s);queueMicrotask((()=>{s()}))},et=(e,t)=>{const s=e.$hostElement$,o=s;if(!o)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let r;return r=G(o,t?"componentWillLoad":"componentWillUpdate",void 0,s),r=Ae(r,(()=>G(o,"componentWillRender",void 0,s))),Ae(r,(()=>ot(e,o,t)))},Ae=(e,t)=>tt(e)?e.then(t).catch((s=>{console.error(s),t()})):t(),tt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",ot=async(e,t,s)=>{var o;const r=e.$hostElement$,a=r["s-rc"];s&&(i=>{const l=i.o,n=i.$hostElement$,h=l.i,c=((d,p)=>{var u,g,_;const v=me(p),m=W.get(v);if(!S.document)return v;if(d=d.nodeType===11?d:S.document,m)if(typeof m=="string"){let y,f=R.get(d=d.head||d);if(f||R.set(d,f=new Set),!f.has(v)){y=S.document.createElement("style"),y.textContent=m;const x=(u=N._)!=null?u:(function(){var b,C,O;return(O=(C=(b=S.document.head)==null?void 0:b.querySelector('meta[name="csp-nonce"]'))==null?void 0:C.getAttribute("content"))!=null?O:void 0})();if(x!=null&&y.setAttribute("nonce",x),!(1&p.i))if(d.nodeName==="HEAD"){const b=d.querySelectorAll("link[rel=preconnect]"),C=b.length>0?b[b.length-1].nextSibling:d.querySelector("style");d.insertBefore(y,C?.parentNode===d?C:null)}else if("host"in d)if(J){const b=new((g=d.defaultView)!=null?g:d.ownerDocument.defaultView).CSSStyleSheet;b.replaceSync(m),K?d.adoptedStyleSheets.unshift(b):d.adoptedStyleSheets=[b,...d.adoptedStyleSheets]}else{const b=d.querySelector("style");b?b.textContent=m+b.textContent:d.prepend(y)}else d.append(y);1&p.i&&d.insertBefore(y,null),4&p.i&&(y.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),f&&f.add(v)}}else{let y=R.get(d);if(y||R.set(d,y=new Set),!y.has(v)){const f=(_=d.defaultView)!=null?_:d.ownerDocument.defaultView;let x;if(m.constructor===f.CSSStyleSheet)x=m;else{x=new f.CSSStyleSheet;for(let b=0;b<m.cssRules.length;b++)x.insertRule(m.cssRules[b].cssText,b)}K?d.adoptedStyleSheets.push(x):d.adoptedStyleSheets=[...d.adoptedStyleSheets,x],y.add(v)}}return v})(n.shadowRoot?n.shadowRoot:n.getRootNode(),l);10&h&&(n["s-sc"]=c,n.classList.add(c+"-h"))})(e),st(e,t,r,s),a&&(a.map((i=>i())),r["s-rc"]=void 0);{const i=(o=r["s-p"])!=null?o:[],l=()=>rt(e);i.length===0?l():(Promise.all(i).then(l).catch(l),e.i|=4,i.length=0)}},st=(e,t,s,o)=>{try{t=t.render(),e.i&=-17,e.i|=2,Qe(e,t,o)}catch(r){L(r,e.$hostElement$)}return null},rt=e=>{const t=e.$hostElement$,s=t,o=e.R;G(s,"componentDidRender",void 0,t),64&e.i?G(s,"componentDidUpdate",void 0,t):(e.i|=64,at(t),G(s,"componentDidLoad",void 0,t),e.L(t),o||nt()),e.A&&(e.A(),e.A=void 0),512&e.i&&te((()=>de(e,!1))),e.i&=-517},nt=()=>{te((()=>Ye(S,"appload",{detail:{namespace:"gids-core-web"}})))},G=(e,t,s,o)=>{if(e&&e[t])try{return e[t](s)}catch(r){L(r,o)}},at=e=>e.classList.add("hydrated"),Re=(e,t,s,o)=>{const r=j(e);if(!r)return;const a=e,i=r.l.get(t),l=r.i,n=a;s=Se(s,o.t[t][0],!!(64&o.i));const h=Number.isNaN(i)&&Number.isNaN(s);if(s!==i&&!h){if(r.l.set(t,s),o.F){const c=o.F[t];c&&c.map((d=>{try{const[[p,u]]=Object.entries(d);(128&l||1&u)&&(n?n[p](s,i,t):r.T.push((()=>{r.D[p](s,i,t)})))}catch(p){L(p,a)}}))}if(2&l){if(n.componentShouldUpdate&&n.componentShouldUpdate(s,i,t)===!1&&!(16&l))return;16&l||de(r,!1)}}},it=(e,t,s)=>{var o,r;const a=e.prototype;64&t.i&&1&s&&Fe.forEach((i=>{const l=a[i];Object.defineProperty(a,i,{value(...n){var h;const c=j(this),d=this;d?typeof l=="function"&&l.call(d,...n):(h=c?.H)==null||h.then((p=>{const u=p[i];typeof u=="function"&&u.call(p,...n)}))}})}));{e.watchers&&!t.F&&(t.F=_e(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const i=Object.entries((o=t.t)!=null?o:{});i.map((([l,[n]])=>{if(31&n||32&n){const{get:h,set:c}=D(a,l)||{};h&&(t.t[l][0]|=2048),c&&(t.t[l][0]|=4096),Object.defineProperty(a,l,{get(){return h?h.apply(this):(d=l,j(this).l.get(d));var d},configurable:!0,enumerable:!0}),Object.defineProperty(a,l,{set(d){const p=j(this);if(p){if(c)return(32&n?this[l]:p.$hostElement$[l])===void 0&&p.l.get(l)&&(d=p.l.get(l)),c.apply(this,[Se(d,n,!!(64&t.i))]),void Re(this,l,d=32&n?this[l]:p.$hostElement$[l],t);Re(this,l,d,t)}}})}}));{const l=new Map;a.attributeChangedCallback=function(n,h,c){N.jmp((()=>{var d;const p=l.get(n),u=j(this);if(this.hasOwnProperty(p),a.hasOwnProperty(p)&&typeof this[p]=="number"&&this[p]==c)return;if(p==null){const y=u?.i;if(u&&y&&!(8&y)&&c!==h){const f=this,x=(d=t.F)==null?void 0:d[n];x?.forEach((b=>{const[[C,O]]=Object.entries(b);f[C]!=null&&(128&y||1&O)&&f[C].call(f,c,h,n)}))}return}const g=i.find((([y])=>y===p)),_=g&&4&g[1][0],v=_&&c===null&&this[p]===void 0;_&&(c=c!==null&&c!=="false");const m=Object.getOwnPropertyDescriptor(a,p);v||c==this[p]||m.get&&!m.set||(this[p]=c)}))},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.F)!=null?r:{}),...i.filter((([n,h])=>31&h[0])).map((([n,h])=>{var c;const d=h[1]||n;return l.set(d,n),512&h[0]&&((c=t.C)==null||c.push([n,d])),d}))]))}}return e},lt=(e,t)=>{const s={i:t[0],p:t[1]};try{s.t=t[2],s.W=t[3],s.F=_e(e.F),s.P=e.P,s.U=e.U,s.C=[];const o=e.prototype.connectedCallback,r=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((a,i)=>{const l={i:0,$hostElement$:a,o:i,l:new Map,B:new Map};l.H=new Promise((h=>l.L=h)),a["s-p"]=[],a["s-rc"]=[];const n=l;a.__stencil__getHostRef=()=>n,512&i.i&&He(a,l)})(this,s)},connectedCallback(){if(!this.__hasHostListenerAttached){const a=j(this);if(!a)return;Be(this,a,s.W),this.__hasHostListenerAttached=!0}(a=>{if(!(1&N.i)){const i=j(a);if(!i)return;const l=i.o;if(1&i.i)Be(a,i,l.W),i?.D||i?.H&&i.H.then((()=>{}));else{i.i|=1,12&l.i&&(n=>{if(!S.document)return;const h=n["s-cr"]=S.document.createComment("");h["s-cn"]=!0,E(n,h,n.firstChild)})(a);{let n=a;for(;n=n.parentNode||n.host;)if(n["s-p"]){je(i,i.R=n);break}}l.t&&Object.entries(l.t).map((([n,[h]])=>{if(31&h&&Object.prototype.hasOwnProperty.call(a,n)){const c=a[n];delete a[n],a[n]=c}})),(async(n,h,c)=>{let d;try{if(!(32&h.i)&&(h.i|=32,d=n.constructor,customElements.whenDefined(n.localName).then((()=>h.i|=128)),d&&d.style)){let g;typeof d.style=="string"&&(g=d.style);const _=me(c);W.has(_)||((v,m,y)=>{let f=W.get(v);J&&y?(f=f||new CSSStyleSheet,typeof f=="string"?f=m:f.replaceSync(m)):f=m,W.set(v,f)})(_,g,!!(1&c.i))}const p=h.R,u=()=>de(h,!0);p&&p["s-rc"]?p["s-rc"].push(u):u()}catch(p){L(p,n),h.A&&(h.A(),h.A=void 0),h.L&&h.L(n)}})(a,i,l)}}})(this),o&&o.call(this)},disconnectedCallback(){(async a=>{if(!(1&N.i)){const i=j(a);i?.V&&(i.V.map((l=>l())),i.V=void 0)}R.has(a)&&R.delete(a),a.shadowRoot&&R.has(a.shadowRoot)&&R.delete(a.shadowRoot)})(this),r&&r.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${s.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Ue.call(this,s)}}),Object.defineProperty(e,"is",{value:s.p,configurable:!0}),it(e,s,3)}catch(o){return L(o),e}},Be=(e,t,s)=>{s&&S.document&&s.map((([o,r,a])=>{const i=ct(S.document,e,o),l=dt(t,a),n=ht(o);N.ael(i,r,l,n),(t.V=t.V||[]).push((()=>N.rel(i,r,l,n)))}))},dt=(e,t)=>s=>{try{e.$hostElement$[t](s)}catch(o){L(o,e.$hostElement$)}},ct=(e,t,s)=>8&s?S:t,ht=e=>ze?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function mt(e){return e}function Le(e){var t,s,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(s=Le(e[t]))&&(o&&(o+=" "),o+=s)}else for(s in e)e[s]&&(o&&(o+=" "),o+=s);return o}function pt(){for(var e,t,s=0,o="",r=arguments.length;s<r;s++)(e=arguments[s])&&(t=Le(e))&&(o&&(o+=" "),o+=t);return o}const gt=Object.freeze(Object.defineProperty({__proto__:null,getGidsBentoCardClassNames:({appearance:e,hasAccessorySlot:t},s)=>pt("gids-bento-card",{"gids-bento-card--appearance-positive":e==="positive","gids-bento-card--appearance-warning":e==="warning","gids-bento-card--appearance-information":e==="information","gids-bento-card--appearance-danger":e==="danger","gids-bento-card--appearance-brand":e==="brand","gids-bento-card--accessory-slot-gapping":t},s)},Symbol.toStringTag,{value:"Module"})),{getGidsBentoCardClassNames:ft}=gt,Pe=lt(class extends Ve{constructor(e){super(),e!==!1&&this.__registerHost(),this.label="",this.appearance="default",this.hasDefaultSlot=!1,this.hasIconSlot=!1,this.hasAccessorySlot=!1}headingChanged(e){this.heading=e}labelChanged(e){this.label=e}supportingTextChanged(e){this.supportingText=e}descriptionChanged(e){this.description=e}appearanceChanged(e){this.appearance=e}bgGradientChanged(e){this.bgGradient=e}primaryTextColorChanged(e){this.primaryTextColor=e}secondaryTextColorChanged(e){this.secondaryTextColor=e}tertiaryTextColorChanged(e){this.tertiaryTextColor=e}connectedCallback(){}componentDidLoad(){this.updateSlotStates()}updateSlotStates(){let e=!1;this.iconSlotRef&&(e=this.iconSlotRef.assignedNodes().some((o=>o.nodeType===Node.ELEMENT_NODE||o.nodeType===Node.TEXT_NODE&&o?.textContent?.trim()!=="")));let t=!1;this.accessorySlotRef&&(t=this.accessorySlotRef.assignedNodes().some((o=>o.nodeType===Node.ELEMENT_NODE||o.nodeType===Node.TEXT_NODE&&o?.textContent?.trim()!=="")));let s=!1;this.defaultSlotRef&&(s=this.defaultSlotRef.assignedNodes().some((o=>o.nodeType===Node.ELEMENT_NODE||o.nodeType===Node.TEXT_NODE&&o?.textContent?.trim()!==""))),this.hasIconSlot!==e&&(this.hasIconSlot=e),this.hasAccessorySlot!==t&&(this.hasAccessorySlot=t),this.hasDefaultSlot!==s&&(this.hasDefaultSlot=s)}render(){const e=this?.heading&&this.heading!==""?this.heading:void 0,t=this?.label&&this.label!==""?this.label:void 0,s=this?.supportingText&&this.supportingText!==""?this.supportingText:void 0,o=this?.description&&this.description!==""?this.description:void 0,r=e||t||s||o,a=this?.appearance??"default",i=this?.hasDefaultSlot??!1,l=this?.hasIconSlot??!1,n=this?.hasAccessorySlot??!1,h=ft({appearance:a,hasAccessorySlot:n});return w(be,{key:"caabd7dfc000267728deae66ca386a35299fa7d8",class:`${h} ${l?"has-icon":""} ${n?"has-accessory":""} ${i?"has-image":""}`,style:{"--gidsBentoCard-bg-gradient":this?.bgGradient??"","--gidsBentoCardText-color-primary":this?.primaryTextColor??"","--gidsBentoCardText-color-secondary":this?.secondaryTextColor??"","--gidsBentoCardText-color-tertiary":this?.tertiaryTextColor??""}},w("div",{key:"cfa9adda2f173d62c54d48898589eb62472ef000",class:i?"gids-bento-card__content gids-bento-card__default-slot-gapping":"gids-bento-card__content"},w("header",{key:"2ac5e6ca4c3b9095172f1a79e6227ab4473ef1e8",class:"gids-bento-card__header"},w("div",{key:"143c9c4283c1488f29417dd01ad3b4d1c82c42bb",class:l?"gids-bento-card__icon":""},w("slot",{key:"7307e12ffecfa8a71d098601bc057162c4ffa465",name:"bentoCardIcon",ref:c=>this.iconSlotRef=c,onSlotchange:()=>this.updateSlotStates()})),r?w("div",{class:"gids-bento-card__texts-wrapper"},e&&w("span",{class:"gids-bento-card__heading"},e),t&&w("h3",{class:"gids-bento-card__title"},t),s&&w("span",{class:"gids-bento-card__supporting"},s),o&&w("p",{class:"gids-bento-card__description"},o)):void 0),w("div",{key:"6451efead1bb0048115c3cc56698d3eed8dc5629",class:i?"gids-bento-card__image-wrapper":""},w("slot",{key:"cbbca1198f2384d9d45c25751c303ce527898a84",ref:c=>this.defaultSlotRef=c,onSlotchange:()=>this.updateSlotStates()}))),w("footer",{key:"e88d91268a6df4ed0a71e3918b78d7cd0e5d3629",class:n?"gids-bento-card__footer":""},w("slot",{key:"5c80cdae77e8085085b77f8efdeed87263a53d31",name:"bentoCardAccessory",ref:c=>this.accessorySlotRef=c,onSlotchange:()=>this.updateSlotStates()})))}get hostElement(){return this}static get watchers(){return{heading:[{headingChanged:0}],label:[{labelChanged:0}],supportingText:[{supportingTextChanged:0}],description:[{descriptionChanged:0}],appearance:[{appearanceChanged:0}],bgGradient:[{bgGradientChanged:0}],primaryTextColor:[{primaryTextColorChanged:0}],secondaryTextColor:[{secondaryTextColorChanged:0}],tertiaryTextColor:[{tertiaryTextColorChanged:0}]}}static get style(){return".gids-bento-card{--gidsBentoCard-bg-gradient:linear-gradient( 210deg, var(--gids-color-background-accent-4-bolder-default) 0%, var(--gids-color-background-accent-4-subtle-default) 100% );--gidsBentoCardText-color-primary:var(--gids-color-text-inverse);--gidsBentoCardText-color-secondary:var(--gids-color-text-inverse);--gidsBentoCardText-color-tertiary:var(--gids-color-text-inverse);display:flex;flex-direction:column;max-width:var(--gids-width-2-xs);padding:var(--gids-padding-vertical-edge-to-element-200) var(--gids-padding-horizontal-edge-to-element-150);background:var(--gidsBentoCard-bg-gradient);border-radius:var(--gids-border-radius-lg);box-shadow:var(--gids-elevation-shadow-overlay)}.gids-bento-card--accessory-slot-gapping{gap:var(--gids-gap-600)}.gids-bento-card__default-slot-gapping{gap:var(--gids-gap-500)}.gids-bento-card__content{display:flex;flex-direction:column}.gids-bento-card__header{display:flex;gap:var(--gids-gap-100)}.gids-bento-card__icon{--gidsIcon-color:var(--gidsBentoCardText-color-primary)}.gids-bento-card__texts-wrapper{display:flex;flex-direction:column;gap:var(--gids-gap-50)}.gids-bento-card__heading{font-family:var(--gids-typography-heading-medium__font-family);font-size:var(--gids-typography-heading-medium__font-size);font-weight:var(--gids-typography-heading-medium__font-weight);letter-spacing:var(--gids-typography-heading-medium__letter-spacing);line-height:var(--gids-typography-heading-medium__line-height);text-transform:var(--gids-typography-heading-medium__text-transform, inherit);font-variant-caps:var(--gids-typography-heading-medium__font-variant-caps, inherit);color:var(--gidsBentoCardText-color-primary)}.gids-bento-card__title{font-family:var(--gids-typography-heading-small__font-family);font-size:var(--gids-typography-heading-small__font-size);font-weight:var(--gids-typography-heading-small__font-weight);letter-spacing:var(--gids-typography-heading-small__letter-spacing);line-height:var(--gids-typography-heading-small__line-height);text-transform:var(--gids-typography-heading-small__text-transform, inherit);font-variant-caps:var(--gids-typography-heading-small__font-variant-caps, inherit);color:var(--gidsBentoCardText-color-primary)}.gids-bento-card__supporting{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);color:var(--gidsBentoCardText-color-secondary);margin-top:var(--gids-padding-vertical-edge-to-element-100)}.gids-bento-card__description{margin:0;font-family:var(--gids-typography-paragraph-small__font-family);font-size:var(--gids-typography-paragraph-small__font-size);font-weight:var(--gids-typography-paragraph-small__font-weight);letter-spacing:var(--gids-typography-paragraph-small__letter-spacing);line-height:var(--gids-typography-paragraph-small__line-height);text-transform:var(--gids-typography-paragraph-small__text-transform, inherit);font-variant-caps:var(--gids-typography-paragraph-small__font-variant-caps, inherit);color:var(--gidsBentoCardText-color-tertiary);margin-top:var(--gids-padding-vertical-edge-to-element-300)}.gids-bento-card__image-wrapper{display:block;width:100%;height:160px}.gids-bento-card__image-wrapper img{display:block;object-fit:contain;width:100%;height:160px}.gids-bento-card__footer{display:flex;flex-direction:column}.gids-bento-card--appearance-positive{--gidsBentoCard-bg-gradient:linear-gradient( 210deg, var(--gids-color-background-accent-1-bolder-default) 0%, var(--gids-color-background-accent-1-subtle-default) 100% )}.gids-bento-card--appearance-warning{--gidsBentoCard-bg-gradient:linear-gradient( 210deg, var(--gids-color-background-accent-2-bolder-default) 0%, var(--gids-color-background-accent-2-subtle-default) 100% )}.gids-bento-card--appearance-information{--gidsBentoCard-bg-gradient:linear-gradient( 210deg, var(--gids-color-background-accent-3-bolder-default) 0%, var(--gids-color-background-accent-3-subtle-default) 100% )}.gids-bento-card--appearance-danger{--gidsBentoCard-bg-gradient:linear-gradient( 210deg, var(--gids-color-background-accent-6-bolder-default) 0%, var(--gids-color-background-accent-6-subtle-default) 100% )}.gids-bento-card--appearance-brand{--gidsBentoCard-bg-gradient:linear-gradient( 210deg, var(--gids-color-background-brand-boldest-default) 0%, var(--gids-color-background-brand-bold-default) 100% )}"}},[260,"gids-bento-card",{heading:[1],label:[1],supportingText:[1,"supporting-text"],description:[1],appearance:[1],bgGradient:[1,"bg-gradient"],primaryTextColor:[1,"primary-text-color"],secondaryTextColor:[1,"secondary-text-color"],tertiaryTextColor:[1,"tertiary-text-color"],hasDefaultSlot:[32],hasIconSlot:[32],hasAccessorySlot:[32]},void 0,{heading:[{headingChanged:0}],label:[{labelChanged:0}],supportingText:[{supportingTextChanged:0}],description:[{descriptionChanged:0}],appearance:[{appearanceChanged:0}],bgGradient:[{bgGradientChanged:0}],primaryTextColor:[{primaryTextColorChanged:0}],secondaryTextColor:[{secondaryTextColorChanged:0}],tertiaryTextColor:[{tertiaryTextColorChanged:0}]}]);function De(){typeof customElements<"u"&&["gids-bento-card"].forEach((e=>{e==="gids-bento-card"&&(customElements.get(e)||customElements.define(e,Pe))}))}De();const ut=Pe,yt=De;B.GidsBentoCard=ut,B.defineCustomElement=yt,Object.defineProperty(B,Symbol.toStringTag,{value:"Module"})}));
5
+ `);const _=this["s-cr"].parentElement;return(_.__childNodes?_.childNodes:(v=>{const m=[];for(let y=0;y<v.length;y++){const g=v[y]["s-nr"]||void 0;g&&g.isConnected&&m.push(g)}return m})(_.childNodes)).forEach((v=>{p===F(v)&&u.push(v)})),d?u.filter((v=>v.nodeType===1)):u}).bind(f);f.assignedElements=c(!0),f.assignedNodes=c(!1)})(a),l=e&&e.m&&e.m[s],l&&l.O===r.O&&e.S&&Te(e.S)),a},Te=e=>{w.i|=1;const t=e.closest(L.toLowerCase());if(t!=null){const s=Array.from(t.__childNodes||t.childNodes).find((r=>r["s-cr"])),o=Array.from(e.__childNodes||e.childNodes);for(const r of s?o.reverse():o)r["s-sh"]!=null&&(E(t,r,s??null),r["s-sh"]=void 0,q=!0)}w.i&=-2},Y=(e,t)=>{w.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 r=s[o];r["s-hn"]!==L&&r["s-ol"]&&(E(z(r).parentNode,r,z(r)),r["s-ol"].remove(),r["s-ol"]=void 0,r["s-sh"]=void 0,q=!0),t&&Y(r,t)}w.i&=-2},Oe=(e,t,s,o,r,a)=>{let i,l=e["s-cr"]&&e["s-cr"].parentNode||e;for(l.shadowRoot&&l.tagName===L&&(l=l.shadowRoot),s.O==="template"&&(l=l.content);r<=a;++r)o[r]&&(i=X(null,s,r),i&&(o[r].S=i,E(l,i,z(t))))},ke=(e,t,s)=>{for(let o=t;o<=s;++o){const r=e[o];if(r){const a=r.S;$e(r),a&&(I=!0,a["s-ol"]?a["s-ol"].remove():Y(a,!0),a.remove())}}},Z=(e,t,s=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:s?(s&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),z=e=>e&&e["s-ol"]||e,M=(e,t,s=!1)=>{const o=t.S=e.S,r=e.m,a=t.m,i=t.O,l=t.h;let n;l==null?(T=i==="svg"||i!=="foreignObject"&&T,i!=="slot"||V||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Te(t.S.parentElement)),ae(e,t,T),r!==null&&a!==null?((f,c,d,h,u=!1)=>{let p,_,v=0,m=0,y=0,g=0,x=c.length-1,b=c[0],C=c[x],O=h.length-1,k=h[0],$=h[O];const He=d.O==="template"?f.content:f;for(;v<=x&&m<=O;)if(b==null)b=c[++v];else if(C==null)C=c[--x];else if(k==null)k=h[++m];else if($==null)$=h[--O];else if(Z(b,k,u))M(b,k,u),b=c[++v],k=h[++m];else if(Z(C,$,u))M(C,$,u),C=c[--x],$=h[--O];else if(Z(b,$,u))b.O!=="slot"&&$.O!=="slot"||Y(b.S.parentNode,!1),M(b,$,u),E(He,b.S,C.S.nextSibling),b=c[++v],$=h[--O];else if(Z(C,k,u))b.O!=="slot"&&$.O!=="slot"||Y(C.S.parentNode,!1),M(C,k,u),E(He,C.S,b.S),C=c[--x],k=h[++m];else{for(y=-1,g=v;g<=x;++g)if(c[g]&&c[g].$!==null&&c[g].$===k.$){y=g;break}y>=0?(_=c[y],_.O!==k.O?p=X(c&&c[m],d,y):(M(_,k,u),c[y]=void 0,p=_.S),k=h[++m]):(p=X(c&&c[m],d,m),k=h[++m]),p&&E(z(b.S).parentNode,p,z(b.S))}v>x?Oe(f,h[O+1]==null?null:h[O+1].S,d,h,m,O):m>O&&ke(c,v,x)})(o,r,t,a,s):a!==null?(e.h!==null&&(o.textContent=""),Oe(o,null,t,a,0,a.length-1)):!s&&r!==null&&ke(r,0,r.length-1),T&&i==="svg"&&(T=!1)):(n=o["s-cr"])?n.parentNode.textContent=l:e.h!==l&&(o.data=l)},A=[],Ee=e=>{let t,s,o;const r=e.__childNodes||e.childNodes;for(const a of r){if(a["s-sr"]&&(t=a["s-cr"])&&t.parentNode){s=t.parentNode.__childNodes||t.parentNode.childNodes;const i=a["s-sn"];for(o=s.length-1;o>=0;o--)if(t=s[o],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===a["s-hn"]||t["s-sh"]&&t["s-sh"]===a["s-hn"]))if(ye(t,i)){let l=A.find((n=>n.k===t));I=!0,t["s-sn"]=t["s-sn"]||i,l?(l.k["s-sh"]=a["s-hn"],l.N=a):(t["s-sh"]=a["s-hn"],A.push({N:a,k:t})),t["s-sr"]&&A.map((n=>{ye(n.k,t["s-sn"])&&(l=A.find((f=>f.k===t)),l&&!n.N&&(n.N=l.N))}))}else A.some((l=>l.k===t))||A.push({k:t})}a.nodeType===1&&Ee(a)}},$e=e=>{e.v&&e.v.ref&&ie.push((()=>e.v.ref(null))),e.m&&e.m.map($e)},Qe=(e,t)=>{le.push((()=>e(t)))},E=(e,t,s,o)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,s);const{slotNode:r}=(function(a,i){var l;if(!(i=i||((l=a["s-ol"])==null?void 0:l.parentElement)))return{slotNode:null,slotName:""};const n=a["s-sn"]=F(a)||"";return{slotNode:oe(se(i,"childNodes"),i.tagName,n)[0],slotName:n}})(t);return r&&!o&&r.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,s):e?.insertBefore(t,s)},et=(e,t,s=!1)=>{var o,r,a,i,l;const n=e.$hostElement$,f=e.o,c=e.M||U(null,null);var d;const h=(d=t)&&d.O===be?t:N(null,null,t);if(L=n.tagName,f.C&&(h.v=h.v||{},f.C.forEach((([u,p])=>{h.v[p]=n[u]}))),s&&h.v)for(const u of Object.keys(h.v))n.hasAttribute(u)&&!["key","ref","style","class"].includes(u)&&(h.v[u]=n[u]);if(h.O=null,h.i|=4,e.M=h,h.S=c.S=n.shadowRoot||n,V=!(!(1&f.i)||128&f.i),re=n["s-cr"],I=!1,M(c,h,s),w.i|=1,q){Ee(h.S);for(const u of A){const p=u.k;if(!p["s-ol"]&&S.document){const _=S.document.createTextNode("");_["s-nr"]=p,E(p.parentNode,p["s-ol"]=_,p,s)}}for(const u of A){const p=u.k,_=u.N;if(p.nodeType===1&&s&&(p["s-ih"]=(o=p.hidden)!=null&&o),_){const v=_.parentNode;let m=_.nextSibling;if(m&&m.nodeType===1){let y=(r=p["s-ol"])==null?void 0:r.previousSibling;for(;y;){let g=(a=y["s-nr"])!=null?a:null;if(g&&g["s-sn"]===p["s-sn"]&&v===(g.__parentNode||g.parentNode)){for(g=g.nextSibling;g===p||g?.["s-sr"];)g=g?.nextSibling;if(!g||!g["s-nr"]){m=g;break}}y=y.previousSibling}}if((!m&&v!==(p.__parentNode||p.parentNode)||(p.__nextSibling||p.nextSibling)!==m)&&p!==m){if(E(v,p,m,s),p.nodeType===8&&p.nodeValue.startsWith("s-nt-")){const y=S.document.createTextNode(p.nodeValue.replace(/^s-nt-/,""));y["s-hn"]=p["s-hn"],y["s-sn"]=p["s-sn"],y["s-sh"]=p["s-sh"],y["s-sr"]=p["s-sr"],y["s-ol"]=p["s-ol"],y["s-ol"]["s-nr"]=y,E(p.parentNode,y,p,s),p.parentNode.removeChild(p)}p.nodeType===1&&p.tagName!=="SLOT-FB"&&(p.hidden=(i=p["s-ih"])!=null&&i)}p&&typeof _["s-rf"]=="function"&&_["s-rf"](_)}else p.nodeType===1&&(p.hidden=!0)}}if(I&&ue(h.S),w.i&=-2,A.length=0,!V&&!(1&f.i)&&n["s-cr"]){const u=h.S.__childNodes||h.S.childNodes;for(const p of u)if(p["s-hn"]!==L&&!p["s-sh"]){if(s&&p["s-ih"]==null&&(p["s-ih"]=(l=p.hidden)!=null&&l),p.nodeType===1)p.hidden=!0;else if(p.nodeType===3&&p.nodeValue.trim()){const _=S.document.createComment("s-nt-"+p.nodeValue);_["s-sn"]=p["s-sn"],E(p.parentNode,_,p,s),p.parentNode.removeChild(p)}}}re=void 0,ie.forEach((u=>u())),ie.length=0,le.forEach((u=>u())),le.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()})))}},de=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);je(e,e.R);const s=()=>tt(e,t);if(!t)return Ue(s);queueMicrotask((()=>{s()}))},tt=(e,t)=>{const s=e.$hostElement$,o=s;if(!o)throw new Error(`Can't render component <${s.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let r;return r=G(o,t?"componentWillLoad":"componentWillUpdate",void 0,s),r=Ae(r,(()=>G(o,"componentWillRender",void 0,s))),Ae(r,(()=>st(e,o,t)))},Ae=(e,t)=>ot(e)?e.then(t).catch((s=>{console.error(s),t()})):t(),ot=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",st=async(e,t,s)=>{var o;const r=e.$hostElement$,a=r["s-rc"];s&&(i=>{const l=i.o,n=i.$hostElement$,f=l.i,c=((d,h)=>{var u,p,_;const v=me(h),m=W.get(v);if(!S.document)return v;if(d=d.nodeType===11?d:S.document,m)if(typeof m=="string"){let y,g=B.get(d=d.head||d);if(g||B.set(d,g=new Set),!g.has(v)){y=S.document.createElement("style"),y.textContent=m;const x=(u=w._)!=null?u:(function(){var b,C,O;return(O=(C=(b=S.document.head)==null?void 0:b.querySelector('meta[name="csp-nonce"]'))==null?void 0:C.getAttribute("content"))!=null?O:void 0})();if(x!=null&&y.setAttribute("nonce",x),!(1&h.i))if(d.nodeName==="HEAD"){const b=d.querySelectorAll("link[rel=preconnect]"),C=b.length>0?b[b.length-1].nextSibling:d.querySelector("style");d.insertBefore(y,C?.parentNode===d?C:null)}else if("host"in d)if(J){const b=new((p=d.defaultView)!=null?p:d.ownerDocument.defaultView).CSSStyleSheet;b.replaceSync(m),K?d.adoptedStyleSheets.unshift(b):d.adoptedStyleSheets=[b,...d.adoptedStyleSheets]}else{const b=d.querySelector("style");b?b.textContent=m+b.textContent:d.prepend(y)}else d.append(y);1&h.i&&d.insertBefore(y,null),4&h.i&&(y.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),g&&g.add(v)}}else{let y=B.get(d);if(y||B.set(d,y=new Set),!y.has(v)){const g=(_=d.defaultView)!=null?_:d.ownerDocument.defaultView;let x;if(m.constructor===g.CSSStyleSheet)x=m;else{x=new g.CSSStyleSheet;for(let b=0;b<m.cssRules.length;b++)x.insertRule(m.cssRules[b].cssText,b)}K?d.adoptedStyleSheets.push(x):d.adoptedStyleSheets=[...d.adoptedStyleSheets,x],y.add(v)}}return v})(n.shadowRoot?n.shadowRoot:n.getRootNode(),l);10&f&&(n["s-sc"]=c,n.classList.add(c+"-h"))})(e),rt(e,t,r,s),a&&(a.map((i=>i())),r["s-rc"]=void 0);{const i=(o=r["s-p"])!=null?o:[],l=()=>nt(e);i.length===0?l():(Promise.all(i).then(l).catch(l),e.i|=4,i.length=0)}},rt=(e,t,s,o)=>{try{t=t.render(),e.i&=-17,e.i|=2,et(e,t,o)}catch(r){D(r,e.$hostElement$)}return null},nt=e=>{const t=e.$hostElement$,s=t,o=e.R;G(s,"componentDidRender",void 0,t),64&e.i?G(s,"componentDidUpdate",void 0,t):(e.i|=64,it(t),G(s,"componentDidLoad",void 0,t),e.L(t),o||at()),e.A&&(e.A(),e.A=void 0),512&e.i&&te((()=>de(e,!1))),e.i&=-517},at=()=>{te((()=>Ze(S,"appload",{detail:{namespace:"gids-core-web"}})))},G=(e,t,s,o)=>{if(e&&e[t])try{return e[t](s)}catch(r){D(r,o)}},it=e=>e.classList.add("hydrated"),Be=(e,t,s,o)=>{const r=j(e);if(!r)return;const a=e,i=r.l.get(t),l=r.i,n=a;s=Se(s,o.t[t][0],!!(64&o.i));const f=Number.isNaN(i)&&Number.isNaN(s);if(s!==i&&!f){if(r.l.set(t,s),o.F){const c=o.F[t];c&&c.map((d=>{try{const[[h,u]]=Object.entries(d);(128&l||1&u)&&(n?n[h](s,i,t):r.T.push((()=>{r.D[h](s,i,t)})))}catch(h){D(h,a)}}))}if(2&l){if(n.componentShouldUpdate&&n.componentShouldUpdate(s,i,t)===!1&&!(16&l))return;16&l||de(r,!1)}}},lt=(e,t,s)=>{var o,r;const a=e.prototype;64&t.i&&1&s&&Ve.forEach((i=>{const l=a[i];Object.defineProperty(a,i,{value(...n){var f;const c=j(this),d=this;d?typeof l=="function"&&l.call(d,...n):(f=c?.H)==null||f.then((h=>{const u=h[i];typeof u=="function"&&u.call(h,...n)}))}})}));{e.watchers&&!t.F&&(t.F=_e(e.watchers)),e.deserializers&&!t.P&&(t.P=e.deserializers),e.serializers&&!t.U&&(t.U=e.serializers);const i=Object.entries((o=t.t)!=null?o:{});i.map((([l,[n]])=>{if(31&n||32&n){const{get:f,set:c}=P(a,l)||{};f&&(t.t[l][0]|=2048),c&&(t.t[l][0]|=4096),Object.defineProperty(a,l,{get(){return f?f.apply(this):(d=l,j(this).l.get(d));var d},configurable:!0,enumerable:!0}),Object.defineProperty(a,l,{set(d){const h=j(this);if(h){if(c)return(32&n?this[l]:h.$hostElement$[l])===void 0&&h.l.get(l)&&(d=h.l.get(l)),c.apply(this,[Se(d,n,!!(64&t.i))]),void Be(this,l,d=32&n?this[l]:h.$hostElement$[l],t);Be(this,l,d,t)}}})}}));{const l=new Map;a.attributeChangedCallback=function(n,f,c){w.jmp((()=>{var d;const h=l.get(n),u=j(this);if(this.hasOwnProperty(h),a.hasOwnProperty(h)&&typeof this[h]=="number"&&this[h]==c)return;if(h==null){const y=u?.i;if(u&&y&&!(8&y)&&c!==f){const g=this,x=(d=t.F)==null?void 0:d[n];x?.forEach((b=>{const[[C,O]]=Object.entries(b);g[C]!=null&&(128&y||1&O)&&g[C].call(g,c,f,n)}))}return}const p=i.find((([y])=>y===h)),_=p&&4&p[1][0],v=_&&c===null&&this[h]===void 0;_&&(c=c!==null&&c!=="false");const m=Object.getOwnPropertyDescriptor(a,h);v||c==this[h]||m.get&&!m.set||(this[h]=c)}))},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.F)!=null?r:{}),...i.filter((([n,f])=>31&f[0])).map((([n,f])=>{var c;const d=f[1]||n;return l.set(d,n),512&f[0]&&((c=t.C)==null||c.push([n,d])),d}))]))}}return e},dt=(e,t)=>{const s={i:t[0],p:t[1]};try{s.t=t[2],s.W=t[3],s.F=_e(e.F),s.P=e.P,s.U=e.U,s.C=[];const o=e.prototype.connectedCallback,r=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((a,i)=>{const l={i:0,$hostElement$:a,o:i,l:new Map,B:new Map};l.H=new Promise((f=>l.L=f)),a["s-p"]=[],a["s-rc"]=[];const n=l;a.__stencil__getHostRef=()=>n,512&i.i&&Fe(a,l)})(this,s)},connectedCallback(){if(!this.__hasHostListenerAttached){const a=j(this);if(!a)return;Re(this,a,s.W),this.__hasHostListenerAttached=!0}(a=>{if(!(1&w.i)){const i=j(a);if(!i)return;const l=i.o;if(1&i.i)Re(a,i,l.W),i?.D||i?.H&&i.H.then((()=>{}));else{i.i|=1,12&l.i&&(n=>{if(!S.document)return;const f=n["s-cr"]=S.document.createComment("");f["s-cn"]=!0,E(n,f,n.firstChild)})(a);{let n=a;for(;n=n.parentNode||n.host;)if(n["s-p"]){je(i,i.R=n);break}}l.t&&Object.entries(l.t).map((([n,[f]])=>{if(31&f&&Object.prototype.hasOwnProperty.call(a,n)){const c=a[n];delete a[n],a[n]=c}})),(async(n,f,c)=>{let d;try{if(!(32&f.i)&&(f.i|=32,d=n.constructor,customElements.whenDefined(n.localName).then((()=>f.i|=128)),d&&d.style)){let p;typeof d.style=="string"&&(p=d.style);const _=me(c);W.has(_)||((v,m,y)=>{let g=W.get(v);J&&y?(g=g||new CSSStyleSheet,typeof g=="string"?g=m:g.replaceSync(m)):g=m,W.set(v,g)})(_,p,!!(1&c.i))}const h=f.R,u=()=>de(f,!0);h&&h["s-rc"]?h["s-rc"].push(u):u()}catch(h){D(h,n),f.A&&(f.A(),f.A=void 0),f.L&&f.L(n)}})(a,i,l)}}})(this),o&&o.call(this)},disconnectedCallback(){(async a=>{if(!(1&w.i)){const i=j(a);i?.V&&(i.V.map((l=>l())),i.V=void 0)}B.has(a)&&B.delete(a),a.shadowRoot&&B.has(a.shadowRoot)&&B.delete(a.shadowRoot)})(this),r&&r.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${s.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Ie.call(this,s)}}),Object.defineProperty(e,"is",{value:s.p,configurable:!0}),lt(e,s,3)}catch(o){return D(o),e}},Re=(e,t,s)=>{s&&S.document&&s.map((([o,r,a])=>{const i=ft(S.document,e,o),l=ct(t,a),n=ht(o);w.ael(i,r,l,n),(t.V=t.V||[]).push((()=>w.rel(i,r,l,n)))}))},ct=(e,t)=>s=>{try{e.$hostElement$[t](s)}catch(o){D(o,e.$hostElement$)}},ft=(e,t,s)=>8&s?S:t,ht=e=>Ge?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e);function vt(e){return e}function De(e){var t,s,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(s=De(e[t]))&&(o&&(o+=" "),o+=s)}else for(s in e)e[s]&&(o&&(o+=" "),o+=s);return o}function pt(){for(var e,t,s=0,o="",r=arguments.length;s<r;s++)(e=arguments[s])&&(t=De(e))&&(o&&(o+=" "),o+=t);return o}const gt=Object.freeze(Object.defineProperty({__proto__:null,getGidsBentoCardClassNames:({appearance:e,hasAccessorySlot:t},s)=>pt("gids-bento-card",{"gids-bento-card--appearance-subtle":e==="subtle","gids-bento-card--appearance-positive":e==="positive","gids-bento-card--appearance-warning":e==="warning","gids-bento-card--appearance-information":e==="information","gids-bento-card--appearance-danger":e==="danger","gids-bento-card--appearance-brand":e==="brand","gids-bento-card--accessory-slot-gapping":t},s)},Symbol.toStringTag,{value:"Module"}));function Le(e){var t,s,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(s=Le(e[t]))&&(o&&(o+=" "),o+=s)}else for(s in e)e[s]&&(o&&(o+=" "),o+=s);return o}function ut(){for(var e,t,s=0,o="",r=arguments.length;s<r;s++)(e=arguments[s])&&(t=Le(e))&&(o&&(o+=" "),o+=t);return o}const{getGidsBentoCardClassNames:yt}=gt,Pe=dt(class extends ze{constructor(e){super(),e!==!1&&this.__registerHost(),this.label="",this.appearance="default",this.iconDirection="column",this.hasDefaultSlot=!1,this.hasIconSlot=!1,this.hasAccessorySlot=!1}headingChanged(e){this.heading=e}labelChanged(e){this.label=e}supportingTextChanged(e){this.supportingText=e}descriptionChanged(e){this.description=e}iconDirectionChanged(e){this.iconDirection=e}appearanceChanged(e){this.appearance=e}bgGradientChanged(e){this.bgGradient=e}primaryTextColorChanged(e){this.primaryTextColor=e}secondaryTextColorChanged(e){this.secondaryTextColor=e}tertiaryTextColorChanged(e){this.tertiaryTextColor=e}connectedCallback(){}componentDidLoad(){this.updateSlotStates()}updateSlotStates(){let e=!1;this.iconSlotRef&&(e=this.iconSlotRef.assignedNodes().some((o=>o.nodeType===Node.ELEMENT_NODE||o.nodeType===Node.TEXT_NODE&&o?.textContent?.trim()!=="")));let t=!1;this.accessorySlotRef&&(t=this.accessorySlotRef.assignedNodes().some((o=>o.nodeType===Node.ELEMENT_NODE||o.nodeType===Node.TEXT_NODE&&o?.textContent?.trim()!=="")));let s=!1;this.defaultSlotRef&&(s=this.defaultSlotRef.assignedNodes().some((o=>o.nodeType===Node.ELEMENT_NODE||o.nodeType===Node.TEXT_NODE&&o?.textContent?.trim()!==""))),this.hasIconSlot!==e&&(this.hasIconSlot=e),this.hasAccessorySlot!==t&&(this.hasAccessorySlot=t),this.hasDefaultSlot!==s&&(this.hasDefaultSlot=s)}render(){const e=this?.heading&&this.heading!==""?this.heading:void 0,t=this?.label&&this.label!==""?this.label:void 0,s=this?.supportingText&&this.supportingText!==""?this.supportingText:void 0,o=this?.description&&this.description!==""?this.description:void 0,r=e||t||s||o,a=this?.appearance??"default",i=this?.hasDefaultSlot??!1,l=this?.hasIconSlot??!1,n=this?.hasAccessorySlot??!1,f=yt({appearance:a,hasAccessorySlot:n});return N(be,{key:"bdb7c4336b65306113812e36c3c5dfea68201d6e",class:`${f} ${l?"has-icon":""} ${n?"has-accessory":""} ${i?"has-image":""}`,style:{"--gidsBentoCard-bg-gradient":this?.bgGradient??"","--gidsBentoCardText-color-primary":this?.primaryTextColor??"","--gidsBentoCardText-color-secondary":this?.secondaryTextColor??"","--gidsBentoCardText-color-tertiary":this?.tertiaryTextColor??""},"data-appearance":a},N("div",{key:"1f384b2b58f296baca67b9d5d79caf470bc1fcea",class:i?"gids-bento-card__content gids-bento-card__default-slot-gapping":"gids-bento-card__content"},N("header",{key:"ff03144a4826c648ea3abf264488ebe0fcde9bce",class:ut("gids-bento-card__header",{"gids-bento-card__header-row":(this?.iconDirection??"column")==="row"})},N("div",{key:"a19fa8db172ce085909b23f2e3a006f73c10716c",class:l?"gids-bento-card__icon":""},N("slot",{key:"0f6d4d135ef9f754b6e0b9b634a8b857cbc2d1dd",name:"bentoCardIcon",ref:c=>this.iconSlotRef=c,onSlotchange:()=>this.updateSlotStates()})),r?N("div",{class:"gids-bento-card__texts-wrapper"},e&&N("span",{class:"gids-bento-card__heading"},e),t&&N("h3",{class:"gids-bento-card__title"},t),s&&N("span",{class:"gids-bento-card__supporting"},s),o&&N("p",{class:"gids-bento-card__description"},o)):void 0),N("div",{key:"3e7313e2f0d4012587155fb20c1f268cc942e21c",class:i?"gids-bento-card__image-wrapper":""},N("slot",{key:"59220c4899ab78741755592c3583d83273235df4",ref:c=>this.defaultSlotRef=c,onSlotchange:()=>this.updateSlotStates()}))),N("footer",{key:"f7ffd4a3555ff78d0193ce0c173ce98ff18cfc70",class:n?"gids-bento-card__footer":""},N("slot",{key:"9a2fe028fabf149502cd29dd5c52913537ba4203",name:"bentoCardAccessory",ref:c=>this.accessorySlotRef=c,onSlotchange:()=>this.updateSlotStates()})))}get hostElement(){return this}static get watchers(){return{heading:[{headingChanged:0}],label:[{labelChanged:0}],supportingText:[{supportingTextChanged:0}],description:[{descriptionChanged:0}],iconDirection:[{iconDirectionChanged:0}],appearance:[{appearanceChanged:0}],bgGradient:[{bgGradientChanged:0}],primaryTextColor:[{primaryTextColorChanged:0}],secondaryTextColor:[{secondaryTextColorChanged:0}],tertiaryTextColor:[{tertiaryTextColorChanged:0}]}}static get style(){return".gids-bento-card{--gidsBentoCard-bg-gradient:linear-gradient( 210deg, var(--gids-color-background-accent-4-bolder-default) 0%, var(--gids-color-background-accent-4-subtle-default) 100% );--gidsBentoCardText-color-primary:var(--gids-color-text-inverse);--gidsBentoCardText-color-secondary:var(--gids-color-text-inverse);--gidsBentoCardText-color-tertiary:var(--gids-color-text-inverse);display:flex;flex-direction:column;max-width:var(--gids-width-2-xs);padding:var(--gids-padding-vertical-edge-to-element-200) var(--gids-padding-horizontal-edge-to-element-150);background:var(--gidsBentoCard-bg-gradient);border-radius:var(--gids-border-radius-lg)}.gids-bento-card:not([data-appearance=subtle]){box-shadow:var(--gids-elevation-shadow-overlay)}.gids-bento-card--accessory-slot-gapping{gap:var(--gids-gap-600)}.gids-bento-card__default-slot-gapping{gap:var(--gids-gap-500)}.gids-bento-card__content{display:flex;flex-direction:column}.gids-bento-card__header{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:var(--gids-gap-100)}.gids-bento-card__header-row{flex-direction:row}.gids-bento-card__icon{--gidsIcon-color:var(--gidsBentoCardText-color-primary)}.gids-bento-card__texts-wrapper{display:flex;flex-direction:column;gap:var(--gids-gap-100)}.gids-bento-card__heading{font-family:var(--gids-typography-heading-x-small__font-family);font-size:var(--gids-typography-heading-x-small__font-size);font-weight:var(--gids-typography-heading-x-small__font-weight);letter-spacing:var(--gids-typography-heading-x-small__letter-spacing);line-height:var(--gids-typography-heading-x-small__line-height);text-transform:var(--gids-typography-heading-x-small__text-transform, inherit);font-variant-caps:var(--gids-typography-heading-x-small__font-variant-caps, inherit);color:var(--gidsBentoCardText-color-primary)}.gids-bento-card__title{font-family:var(--gids-typography-label-medium__font-family);font-size:var(--gids-typography-label-medium__font-size);font-weight:var(--gids-typography-label-medium__font-weight);letter-spacing:var(--gids-typography-label-medium__letter-spacing);line-height:var(--gids-typography-label-medium__line-height);text-transform:var(--gids-typography-label-medium__text-transform, inherit);font-variant-caps:var(--gids-typography-label-medium__font-variant-caps, inherit);color:var(--gidsBentoCardText-color-primary)}.gids-bento-card__supporting{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);color:var(--gidsBentoCardText-color-secondary)}.gids-bento-card__description{margin:0;font-family:var(--gids-typography-paragraph-small__font-family);font-size:var(--gids-typography-paragraph-small__font-size);font-weight:var(--gids-typography-paragraph-small__font-weight);letter-spacing:var(--gids-typography-paragraph-small__letter-spacing);line-height:var(--gids-typography-paragraph-small__line-height);text-transform:var(--gids-typography-paragraph-small__text-transform, inherit);font-variant-caps:var(--gids-typography-paragraph-small__font-variant-caps, inherit);color:var(--gidsBentoCardText-color-tertiary)}.gids-bento-card__image-wrapper{display:block;width:100%;height:160px}.gids-bento-card__image-wrapper img{display:block;object-fit:contain;width:100%;height:160px}.gids-bento-card__footer{display:flex;flex-direction:column}.gids-bento-card--appearance-subtle{--gidsBentoCard-bg-gradient:transparent;--gidsBentoCardText-color-primary:var(--gids-color-text-default);--gidsBentoCardText-color-secondary:var(--gids-color-text-default);--gidsBentoCardText-color-tertiary:var(--gids-color-text-subtlest)}.gids-bento-card--appearance-positive{--gidsBentoCard-bg-gradient:linear-gradient( 210deg, var(--gids-color-background-accent-1-bolder-default) 0%, var(--gids-color-background-accent-1-subtle-default) 100% )}.gids-bento-card--appearance-warning{--gidsBentoCard-bg-gradient:linear-gradient( 210deg, var(--gids-color-background-accent-2-bolder-default) 0%, var(--gids-color-background-accent-2-subtle-default) 100% )}.gids-bento-card--appearance-information{--gidsBentoCard-bg-gradient:linear-gradient( 210deg, var(--gids-color-background-accent-3-bolder-default) 0%, var(--gids-color-background-accent-3-subtle-default) 100% )}.gids-bento-card--appearance-danger{--gidsBentoCard-bg-gradient:linear-gradient( 210deg, var(--gids-color-background-accent-6-bolder-default) 0%, var(--gids-color-background-accent-6-subtle-default) 100% );--gidsBentoCardText-color-tertiary:var(--gids-color-text-subtle)}.gids-bento-card--appearance-brand{--gidsBentoCard-bg-gradient:linear-gradient( 210deg, var(--gids-color-background-brand-boldest-default) 0%, var(--gids-color-background-brand-bold-default) 100% )}"}},[260,"gids-bento-card",{heading:[1],label:[1],supportingText:[1,"supporting-text"],description:[1],appearance:[1],bgGradient:[1,"bg-gradient"],primaryTextColor:[1,"primary-text-color"],secondaryTextColor:[1,"secondary-text-color"],tertiaryTextColor:[1,"tertiary-text-color"],iconDirection:[1,"icon-direction"],hasDefaultSlot:[32],hasIconSlot:[32],hasAccessorySlot:[32]},void 0,{heading:[{headingChanged:0}],label:[{labelChanged:0}],supportingText:[{supportingTextChanged:0}],description:[{descriptionChanged:0}],iconDirection:[{iconDirectionChanged:0}],appearance:[{appearanceChanged:0}],bgGradient:[{bgGradientChanged:0}],primaryTextColor:[{primaryTextColorChanged:0}],secondaryTextColor:[{secondaryTextColorChanged:0}],tertiaryTextColor:[{tertiaryTextColorChanged:0}]}]);function Me(){typeof customElements<"u"&&["gids-bento-card"].forEach((e=>{e==="gids-bento-card"&&(customElements.get(e)||customElements.define(e,Pe))}))}Me();const mt=Pe,bt=Me;R.GidsBentoCard=mt,R.defineCustomElement=bt,Object.defineProperty(R,Symbol.toStringTag,{value:"Module"})}));