@ganpatiinfo/gids-core-web 4.0.0 → 6.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.
- package/dist/css/index.css +394 -6
- package/dist/css/index.css.map +1 -1
- package/dist/gids-field.d.ts +1 -1
- package/dist/gids-field.js +1 -1
- package/dist/gids-icon.d.ts +1 -1
- package/dist/gids-icon.js +1 -1
- package/dist/gids-input.d.ts +1 -1
- package/dist/gids-input.js +1 -1
- package/dist/gids-notification.d.ts +1 -1
- package/dist/gids-overlay-provider.d.ts +1 -1
- package/dist/gids-overlay-provider.js +1 -1
- package/dist/gids-password-field.d.ts +1 -1
- package/dist/gids-password-field.js +1 -1
- package/dist/gids-scrim.d.ts +11 -0
- package/dist/gids-scrim.js +1 -0
- package/dist/gids-snackbar.d.ts +1 -1
- package/dist/gids-text-field.d.ts +1 -1
- package/dist/gids-text-field.js +1 -1
- package/dist/gids-toggle-button.d.ts +1 -1
- package/dist/gids-toggle-button.js +1 -1
- package/dist/{p-RqpjvEHh.js → p-BVh4zbX4.js} +1 -1
- package/dist/{p-D4xtPT_U.js → p-BplPYg8z.js} +1 -1
- package/dist/types/components/html/GidsHeading/GidsHeading.d.ts +2 -2
- package/dist/types/components/html/GidsSearchBar/GidsSearchBar.d.ts +1 -2
- package/dist/types/components/html/GidsSegmentedControl/GidsSegmentedControl.d.ts +1 -1
- package/dist/types/components/html/GidsSegmentedTabItem/GidsSegmentedTabItem.d.ts +1 -1
- package/dist/types/components/html/GidsSideMenu/GidsSideMenu.d.ts +5 -0
- package/dist/types/components/html/GidsSideMenuHeader/GidsSideMenuHeader.d.ts +8 -0
- package/dist/types/components/html/GidsSideMenuItem/GidsSideMenuItem.d.ts +7 -0
- package/dist/types/components/html/GidsSideNavigation/GidsSideNavigation.d.ts +7 -0
- package/dist/types/components/html/GidsTopNavigation/GidsTopNavigation.d.ts +1 -1
- package/dist/types/components/webComponents/GidsScrim/GidsScrim.d.ts +7 -0
- package/dist/types/components.d.ts +18 -0
- package/dist-bundled/es/gids-field.js +3 -3
- package/dist-bundled/es/gids-icon.js +8 -8
- package/dist-bundled/es/gids-input.js +2 -2
- package/dist-bundled/es/gids-overlay-provider.js +4 -4
- package/dist-bundled/es/gids-password-field.js +28 -28
- package/dist-bundled/es/gids-scrim.js +35 -0
- package/dist-bundled/es/gids-text-field.js +11 -11
- package/dist-bundled/es/gids-toggle-button.js +5 -5
- package/dist-bundled/es/{p-RqpjvEHh-BGGYsIBf.js → p-BVh4zbX4-C4UJ8LPX.js} +6 -6
- package/dist-bundled/es/{p-D4xtPT_U-04HkZiXU.js → p-BplPYg8z-B8uAAfo4.js} +4 -4
- package/dist-bundled/umd/gids-field.umd.js +1 -1
- package/dist-bundled/umd/gids-icon.umd.js +2 -2
- package/dist-bundled/umd/gids-input.umd.js +1 -1
- package/dist-bundled/umd/gids-overlay-provider.umd.js +1 -1
- package/dist-bundled/umd/gids-password-field.umd.js +1 -1
- package/dist-bundled/umd/gids-scrim.umd.js +5 -0
- package/dist-bundled/umd/gids-text-field.umd.js +1 -1
- package/dist-bundled/umd/gids-toggle-button.umd.js +2 -2
- package/dist-bundled/umd-complete/gids-core-web.umd.js +3 -3
- package/package.json +14 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
(function(T,I){typeof exports=="object"&&typeof module<"u"?I(exports):typeof define=="function"&&define.amd?define(["exports"],I):(T=typeof globalThis<"u"?globalThis:T||self,I(T.gidsCoreWebGidsIcon={}))})(this,(function(T){"use strict";function I(e,t,o){const s=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==s;){const n=Object.getOwnPropertyDescriptor(e,t);if(n&&(!o||n.get))return n;e=Object.getPrototypeOf(e)}}var H,Je=(e,t)=>{var o;Object.entries((o=t.o.t)!=null?o:{}).map((([s,[n]])=>{if(31&n||32&n){const r=e[s],l=I(Object.getPrototypeOf(e),s,!0)||Object.getOwnPropertyDescriptor(e,s);l&&Object.defineProperty(e,s,{get(){return l.get.call(this)},set(a){l.set.call(this,a)},configurable:!0,enumerable:!0}),t.l.has(s)?e[s]=t.l.get(s):r!==void 0&&(e[s]=r)}}))},
|
|
1
|
+
(function(T,I){typeof exports=="object"&&typeof module<"u"?I(exports):typeof define=="function"&&define.amd?define(["exports"],I):(T=typeof globalThis<"u"?globalThis:T||self,I(T.gidsCoreWebGidsIcon={}))})(this,(function(T){"use strict";function I(e,t,o){const s=typeof HTMLElement<"u"?HTMLElement.prototype:null;for(;e&&e!==s;){const n=Object.getOwnPropertyDescriptor(e,t);if(n&&(!o||n.get))return n;e=Object.getPrototypeOf(e)}}var H,Je=(e,t)=>{var o;Object.entries((o=t.o.t)!=null?o:{}).map((([s,[n]])=>{if(31&n||32&n){const r=e[s],l=I(Object.getPrototypeOf(e),s,!0)||Object.getOwnPropertyDescriptor(e,s);l&&Object.defineProperty(e,s,{get(){return l.get.call(this)},set(a){l.set.call(this,a)},configurable:!0,enumerable:!0}),t.l.has(s)?e[s]=t.l.get(s):r!==void 0&&(e[s]=r)}}))},x=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},ye=(e,t)=>t in e,L=(e,t)=>(0,console.error)(e,t),V=new Map,ve="http://www.w3.org/1999/xlink",w=typeof window<"u"?window:{},Qe=w.HTMLElement||class{},O={i:0,u:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,o,s)=>e.addEventListener(t,o,s),rel:(e,t,o,s)=>e.removeEventListener(t,o,s),ce:(e,t)=>new CustomEvent(e,t)},Q=(()=>{try{return!!w.document.adoptedStyleSheets&&(new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function")}catch{}return!1})(),X=!!Q&&!!w.document&&Object.getOwnPropertyDescriptor(w.document.adoptedStyleSheets,"length").writable,ee=!1,Se=[],be=[],Xe=(e,t)=>o=>{e.push(o),ee||(ee=!0,4&O.i?se(te):O.raf(te))},we=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(o){L(o)}e.length=0},te=()=>{we(Se),we(be),(ee=Se.length>0)&&O.raf(te)},se=e=>Promise.resolve(void 0).then(e),et=Xe(be);function tt(){const e=this.attachShadow({mode:"open"});H===void 0&&(H=null),H&&(X?e.adoptedStyleSheets.push(H):e.adoptedStyleSheets=[...e.adoptedStyleSheets,H])}var Ne=e=>{const t=ne(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"&&oe(t,e.tagName).forEach((s=>{s.nodeType===1&&s.tagName==="SLOT-FB"&&(s.hidden=!!st(s,W(s),!1).length)}));let o=0;for(o=0;o<t.length;o++){const s=t[o];s.nodeType===1&&ne(s,"childNodes").length&&Ne(s)}};function oe(e,t,o){let s,n=0,r=[];for(;n<e.length;n++){if(s=e[n],s["s-sr"]&&(!t||s["s-hn"]===t)&&(o===void 0||W(s)===o)&&(r.push(s),o!==void 0))return r;r=[...r,...oe(s.childNodes,t,o)]}return r}var st=(e,t,o=!0)=>{const s=[];(o&&e["s-sr"]||!e["s-sr"])&&s.push(e);let n=e;for(;n=n.nextSibling;)W(n)!==t||!o&&n["s-sr"]||s.push(n);return s},_e=(e,t)=>e.nodeType===1?e.getAttribute("slot")===null&&t===""||e.getAttribute("slot")===t:e["s-sn"]===t||t==="",W=e=>typeof e["s-sn"]=="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0;function ne(e,t){if("__"+t in e){const o=e["__"+t];return typeof o!="function"?o:o.bind(e)}return typeof e[t]!="function"?e[t]:e[t].bind(e)}var re,R,P=new WeakMap,Oe=e=>"sc-"+e.p,ie=e=>(e=typeof e)=="object"||e==="function",M=(e,t,...o)=>{let s=null,n=null,r=null,l=!1,a=!1;const i=[],d=c=>{for(let f=0;f<c.length;f++)s=c[f],Array.isArray(s)?d(s):s!=null&&typeof s!="boolean"&&((l=typeof e!="function"&&!ie(s))&&(s=String(s)),l&&a?i[i.length-1].h+=s:i.push(l?q(null,s):s),a=l)};if(d(o),t){t.key&&(n=t.key),t.name&&(r=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,i,nt);const h=q(e,null);return h.v=t,i.length>0&&(h.m=i),h.$=n,h.j=r,h},q=(e,t)=>({i:0,O:e,h:t??null,S:null,m:null,v:null,$:null,j:null}),ot={},nt={forEach:(e,t)=>e.map($e).forEach(t),map:(e,t)=>e.map($e).map(t).map(rt)},$e=e=>({vattrs:e.v,vchildren:e.m,vkey:e.$,vname:e.j,vtag:e.O,vtext:e.h}),rt=e=>{if(typeof e.vtag=="function"){const o={...e.vattrs};return e.vkey&&(o.key=e.vkey),e.vname&&(o.name=e.vname),M(e.vtag,o,...e.vchildren||[])}const t=q(e.vtag,e.vtext);return t.v=e.vattrs,t.m=e.vchildren,t.$=e.vkey,t.j=e.vname,t},Ae=e=>{if(!e)return;const t=Object.keys(e);if(t.length===0)return;let o=!1;for(const n of t){if(o)break;for(const r of e[n])if(typeof r=="string"){o=!0;break}}if(!o)return e;const s={};for(const n of t)s[n]=e[n].map((r=>typeof r=="string"?{[r]:0}:r));return s},ke=(e,t)=>e==null||ie(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,it=(e,t,o)=>{const s=O.ce(t,o);return e.dispatchEvent(s),s},Ee=(e,t,o,s,n,r)=>{if(o===s)return;let l=ye(e,t),a=t.toLowerCase();if(t==="class"){const i=e.classList,d=Ce(o);let h=Ce(s);i.remove(...d.filter((c=>c&&!h.includes(c)))),i.add(...h.filter((c=>c&&!d.includes(c))))}else if(t==="style"){for(const i in o)s&&s[i]!=null||(i.includes("-")?e.style.removeProperty(i):e.style[i]="");for(const i in s)o&&s[i]===o[i]||(i.includes("-")?e.style.setProperty(i,s[i]):e.style[i]=s[i])}else if(t!=="key"){if(t==="ref")s&&ct(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 h=x(e);if(h&&h.o&&h.o.t){const c=h.o.t[i];c&&c[1]&&(d=c[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=ie(s);if((l||i&&s!==null)&&!n)try{if(e.tagName.includes("-"))e[t]!==s&&(e[t]=s);else{const h=s??"";t==="list"?l=!1:o!=null&&e[t]===h||(typeof e.__lookupSetter__(t)=="function"?e[t]=h:e.setAttribute(t,h))}}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(ve,t):e.removeAttribute(t)):(!l||4&r||n)&&!i&&e.nodeType===1&&(s=s===!0?"":s,d?e.setAttributeNS(ve,t,s):e.setAttribute(t,s))}}else if(t=t[2]==="-"?t.slice(3):ye(w,a)?a.slice(2):a[2]+t.slice(3),o||s){const i=t.endsWith(je);t=t.replace(at,""),o&&O.rel(e,t,o,i),s&&O.ael(e,t,s,i)}}},lt=/\s/,Ce=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),e&&typeof e=="string"?e.split(lt):[]),je="Capture",at=new RegExp(je+"$"),le=(e,t,o)=>{const s=t.S.nodeType===11&&t.S.host?t.S.host:t.S,n=e&&e.v||{},r=t.v||{};for(const l of xe(Object.keys(n)))l in r||Ee(s,l,n[l],void 0,o,t.i);for(const l of xe(Object.keys(r)))Ee(s,l,n[l],r[l],o,t.i)};function xe(e){return e.includes("ref")?[...e.filter((t=>t!=="ref")),"ref"]:e}var B=!1,U=!1,K=!1,$=!1,ae=[],ce=[],Y=(e,t,o)=>{var s;const n=t.m[o];let r,l,a,i=0;if(B||(K=!0,n.O==="slot"&&(n.i|=n.m?2:1)),n.h!=null)r=n.S=w.document.createTextNode(n.h);else if(1&n.i)r=n.S=w.document.createTextNode(""),le(null,n,$);else{if($||($=n.O==="svg"),!w.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(r=n.S=w.document.createElementNS($?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!B&&2&n.i?"slot-fb":n.O),$&&n.O==="foreignObject"&&($=!1),le(null,n,$),n.m){const d=n.O==="template"?r.content:r;for(i=0;i<n.m.length;++i)l=Y(e,n,i),l&&d.appendChild(l)}n.O==="svg"?$=!1:r.tagName==="foreignObject"&&($=!0)}return r["s-hn"]=R,3&n.i&&(r["s-sr"]=!0,r["s-cr"]=re,r["s-sn"]=n.j||"",r["s-rf"]=(s=n.v)==null?void 0:s.ref,(function(d){if(d.assignedElements||d.assignedNodes||!d["s-sr"])return;const h=c=>(function(f){const m=[],u=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:(S=>{const y=[];for(let g=0;g<S.length;g++){const p=S[g]["s-nr"]||void 0;p&&p.isConnected&&y.push(p)}return y})(b.childNodes)).forEach((S=>{u===W(S)&&m.push(S)})),c?m.filter((S=>S.nodeType===1)):m}).bind(d);d.assignedElements=h(!0),d.assignedNodes=h(!1)})(r),a=e&&e.m&&e.m[o],a&&a.O===n.O&&e.S&&xe(e.S)),r},xe=e=>{O.i|=1;const t=e.closest(R.toLowerCase());if(t!=null){const o=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const n of o?s.reverse():s)n["s-sh"]!=null&&(E(t,n,o??null),n["s-sh"]=void 0,K=!0)}O.i&=-2},Z=(e,t)=>{O.i|=1;const o=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let s=e;for(;s=s.nextSibling;)s&&s["s-sn"]===e["s-sn"]&&s["s-sh"]===R&&o.push(s)}for(let s=o.length-1;s>=0;s--){const n=o[s];n["s-hn"]!==R&&n["s-ol"]&&(E(z(n).parentNode,n,z(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,K=!0),t&&Z(n,t)}O.i&=-2},Te=(e,t,o,s,n,r)=>{let l,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===R&&(a=a.shadowRoot),o.O==="template"&&(a=a.content);n<=r;++n)s[n]&&(l=Y(null,o,n),l&&(s[n].S=l,E(a,l,z(t))))},Re=(e,t,o)=>{for(let s=t;s<=o;++s){const n=e[s];if(n){const r=n.S;Le(n),r&&(U=!0,r["s-ol"]?r["s-ol"].remove():Z(r,!0),r.remove())}}},J=(e,t,o=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:o?(o&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),z=e=>e&&e["s-ol"]||e,D=(e,t,o=!1)=>{const s=t.S=e.S,n=e.m,r=t.m,l=t.O,a=t.h;let i;a==null?($=l==="svg"||l!=="foreignObject"&&$,l!=="slot"||B||e.j!==t.j&&(t.S["s-sn"]=t.j||"",xe(t.S.parentElement)),le(e,t,$),n!==null&&r!==null?((d,h,c,f,m=!1)=>{let u,b,S=0,y=0,g=0,p=0,_=h.length-1,v=h[0],N=h[_],k=f.length-1,A=f[0],C=f[k];const Ze=c.O==="template"?d.content:d;for(;S<=_&&y<=k;)if(v==null)v=h[++S];else if(N==null)N=h[--_];else if(A==null)A=f[++y];else if(C==null)C=f[--k];else if(J(v,A,m))D(v,A,m),v=h[++S],A=f[++y];else if(J(N,C,m))D(N,C,m),N=h[--_],C=f[--k];else if(J(v,C,m))v.O!=="slot"&&C.O!=="slot"||Z(v.S.parentNode,!1),D(v,C,m),E(Ze,v.S,N.S.nextSibling),v=h[++S],C=f[--k];else if(J(N,A,m))v.O!=="slot"&&C.O!=="slot"||Z(N.S.parentNode,!1),D(N,A,m),E(Ze,N.S,v.S),N=h[--_],A=f[++y];else{for(g=-1,p=S;p<=_;++p)if(h[p]&&h[p].$!==null&&h[p].$===A.$){g=p;break}g>=0?(b=h[g],b.O!==A.O?u=Y(h&&h[y],c,g):(D(b,A,m),h[g]=void 0,u=b.S),A=f[++y]):(u=Y(h&&h[y],c,y),A=f[++y]),u&&E(z(v.S).parentNode,u,z(v.S))}S>_?Te(d,f[k+1]==null?null:f[k+1].S,c,f,y,k):y>k&&Re(h,S,_)})(s,n,t,r,o):r!==null?(e.h!==null&&(s.textContent=""),Te(s,null,t,r,0,r.length-1)):!o&&n!==null&&Re(n,0,n.length-1),$&&l==="svg"&&($=!1)):(i=s["s-cr"])?i.parentNode.textContent=a:e.h!==a&&(s.data=a)},j=[],Ie=e=>{let t,o,s;const n=e.__childNodes||e.childNodes;for(const r of n){if(r["s-sr"]&&(t=r["s-cr"])&&t.parentNode){o=t.parentNode.__childNodes||t.parentNode.childNodes;const l=r["s-sn"];for(s=o.length-1;s>=0;s--)if(t=o[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===r["s-hn"]||t["s-sh"]&&t["s-sh"]===r["s-hn"]))if(_e(t,l)){let a=j.find((i=>i.k===t));U=!0,t["s-sn"]=t["s-sn"]||l,a?(a.k["s-sh"]=r["s-hn"],a.N=r):(t["s-sh"]=r["s-hn"],j.push({N:r,k:t})),t["s-sr"]&&j.map((i=>{_e(i.k,t["s-sn"])&&(a=j.find((d=>d.k===t)),a&&!i.N&&(i.N=a.N))}))}else j.some((a=>a.k===t))||j.push({k:t})}r.nodeType===1&&Ie(r)}},Le=e=>{e.v&&e.v.ref&&ae.push((()=>e.v.ref(null))),e.m&&e.m.map(Le)},ct=(e,t)=>{ce.push((()=>e(t)))},E=(e,t,o,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,o);const{slotNode:n}=(function(r,l){var a;if(!(l=l||((a=r["s-ol"])==null?void 0:a.parentElement)))return{slotNode:null,slotName:""};const i=r["s-sn"]=W(r)||"";return{slotNode:oe(ne(l,"childNodes"),l.tagName,i)[0],slotName:i}})(t);return n&&!s&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,o):e?.insertBefore(t,o)},dt=(e,t,o=!1)=>{var s,n,r,l,a;const i=e.$hostElement$,d=e.o,h=e.M||q(null,null);var c;const f=(c=t)&&c.O===ot?t:M(null,null,t);if(R=i.tagName,d._&&(f.v=f.v||{},d._.forEach((([m,u])=>{f.v[u]=i[m]}))),o&&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=h.S=i.shadowRoot||i,B=!(!(1&d.i)||128&d.i),re=i["s-cr"],U=!1,D(h,f,o),O.i|=1,K){Ie(f.S);for(const m of j){const u=m.k;if(!u["s-ol"]&&w.document){const b=w.document.createTextNode("");b["s-nr"]=u,E(u.parentNode,u["s-ol"]=b,u,o)}}for(const m of j){const u=m.k,b=m.N;if(u.nodeType===1&&o&&(u["s-ih"]=(s=u.hidden)!=null&&s),b){const S=b.parentNode;let y=b.nextSibling;if(y&&y.nodeType===1){let g=(n=u["s-ol"])==null?void 0:n.previousSibling;for(;g;){let p=(r=g["s-nr"])!=null?r:null;if(p&&p["s-sn"]===u["s-sn"]&&S===(p.__parentNode||p.parentNode)){for(p=p.nextSibling;p===u||p?.["s-sr"];)p=p?.nextSibling;if(!p||!p["s-nr"]){y=p;break}}g=g.previousSibling}}if((!y&&S!==(u.__parentNode||u.parentNode)||(u.__nextSibling||u.nextSibling)!==y)&&u!==y){if(E(S,u,y,o),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,E(u.parentNode,g,u,o),u.parentNode.removeChild(u)}u.nodeType===1&&u.tagName!=="SLOT-FB"&&(u.hidden=(l=u["s-ih"])!=null&&l)}u&&typeof b["s-rf"]=="function"&&b["s-rf"](b)}else u.nodeType===1&&(u.hidden=!0)}}if(U&&Ne(f.S),O.i&=-2,j.length=0,!B&&!(1&d.i)&&i["s-cr"]){const m=f.S.__childNodes||f.S.childNodes;for(const u of m)if(u["s-hn"]!==R&&!u["s-sh"]){if(o&&u["s-ih"]==null&&(u["s-ih"]=(a=u.hidden)!=null&&a),u.nodeType===1)u.hidden=!0;else if(u.nodeType===3&&u.nodeValue.trim()){const b=w.document.createComment("s-nt-"+u.nodeValue);b["s-sn"]=u["s-sn"],E(u.parentNode,b,u,o),u.parentNode.removeChild(u)}}}re=void 0,ae.forEach((m=>m())),ae.length=0,ce.forEach((m=>m())),ce.length=0},Me=(e,t)=>{if(t&&!e.A&&t["s-p"]){const o=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(o-1,1),s()})))}},de=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Me(e,e.C);const o=()=>ut(e,t);if(!t)return et(o);queueMicrotask((()=>{o()}))},ut=(e,t)=>{const o=e.$hostElement$,s=o;if(!s)throw new Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let n;return n=F(s,t?"componentWillLoad":"componentWillUpdate",void 0,o),n=De(n,(()=>F(s,"componentWillRender",void 0,o))),De(n,(()=>ft(e,s,t)))},De=(e,t)=>ht(e)?e.then(t).catch((o=>{console.error(o),t()})):t(),ht=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",ft=async(e,t,o)=>{var s;const n=e.$hostElement$,r=n["s-rc"];o&&(l=>{const a=l.o,i=l.$hostElement$,d=a.i,h=((c,f)=>{var m,u,b;const S=Oe(f),y=V.get(S);if(!w.document)return S;if(c=c.nodeType===11?c:w.document,y)if(typeof y=="string"){let g,p=x.get(c=c.head||c);if(p||x.set(c,p=new Set),!p.has(S)){g=w.document.createElement("style"),g.textContent=y;const _=(m=O.L)!=null?m:(function(){var v,N,k;return(k=(N=(v=w.document.head)==null?void 0:v.querySelector('meta[name="csp-nonce"]'))==null?void 0:N.getAttribute("content"))!=null?k:void 0})();if(_!=null&&g.setAttribute("nonce",_),!(1&f.i))if(c.nodeName==="HEAD"){const v=c.querySelectorAll("link[rel=preconnect]"),N=v.length>0?v[v.length-1].nextSibling:c.querySelector("style");c.insertBefore(g,N?.parentNode===c?N:null)}else if("host"in c)if(Q){const v=new((u=c.defaultView)!=null?u:c.ownerDocument.defaultView).CSSStyleSheet;v.replaceSync(y),X?c.adoptedStyleSheets.unshift(v):c.adoptedStyleSheets=[v,...c.adoptedStyleSheets]}else{const v=c.querySelector("style");v?v.textContent=y+v.textContent:c.prepend(g)}else c.append(g);1&f.i&&c.insertBefore(g,null),4&f.i&&(g.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),p&&p.add(S)}}else{let g=x.get(c);if(g||x.set(c,g=new Set),!g.has(S)){const p=(b=c.defaultView)!=null?b:c.ownerDocument.defaultView;let _;if(y.constructor===p.CSSStyleSheet)_=y;else{_=new p.CSSStyleSheet;for(let v=0;v<y.cssRules.length;v++)_.insertRule(y.cssRules[v].cssText,v)}X?c.adoptedStyleSheets.push(_):c.adoptedStyleSheets=[...c.adoptedStyleSheets,_],g.add(S)}}return S})(i.shadowRoot?i.shadowRoot:i.getRootNode(),a);10&d&&(i["s-sc"]=h,i.classList.add(h+"-h"))})(e),pt(e,t,n,o),r&&(r.map((l=>l())),n["s-rc"]=void 0);{const l=(s=n["s-p"])!=null?s:[],a=()=>mt(e);l.length===0?a():(Promise.all(l).then(a).catch(a),e.i|=4,l.length=0)}},pt=(e,t,o,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,dt(e,t,s)}catch(n){L(n,e.$hostElement$)}return null},mt=e=>{const t=e.$hostElement$,o=t,s=e.C;F(o,"componentDidRender",void 0,t),64&e.i?F(o,"componentDidUpdate",void 0,t):(e.i|=64,yt(t),F(o,"componentDidLoad",void 0,t),e.F(t),s||gt()),e.A&&(e.A(),e.A=void 0),512&e.i&&se((()=>de(e,!1))),e.i&=-517},gt=()=>{se((()=>it(w,"appload",{detail:{namespace:"gids-core-web"}})))},F=(e,t,o,s)=>{if(e&&e[t])try{return e[t](o)}catch(n){L(n,s)}},yt=e=>e.classList.add("hydrated"),Ge=(e,t,o,s)=>{const n=P(e);if(!n)return;const r=e,l=n.l.get(t),a=n.i,i=r;o=ke(o,s.t[t][0]);const d=Number.isNaN(l)&&Number.isNaN(o);if(o!==l&&!d){if(n.l.set(t,o),s.R){const h=s.R[t];h&&h.map((c=>{try{const[[f,m]]=Object.entries(c);(128&a||1&m)&&(i?i[f](o,l,t):n.T.push((()=>{n.D[f](o,l,t)})))}catch(f){L(f,r)}}))}if(2&a){if(i.componentShouldUpdate&&i.componentShouldUpdate(o,l,t)===!1&&!(16&a))return;16&a||de(n,!1)}}},vt=(e,t)=>{var o,s;const n=e.prototype;{e.watchers&&!t.R&&(t.R=Ae(e.watchers)),e.deserializers&&!t.H&&(t.H=e.deserializers),e.serializers&&!t.P&&(t.P=e.serializers);const r=Object.entries((o=t.t)!=null?o:{});r.map((([l,[a]])=>{if(31&a||32&a){const{get:i,set:d}=I(n,l)||{};i&&(t.t[l][0]|=2048),d&&(t.t[l][0]|=4096),Object.defineProperty(n,l,{get(){return i?i.apply(this):(h=l,P(this).l.get(h));var h},configurable:!0,enumerable:!0}),Object.defineProperty(n,l,{set(h){const c=P(this);if(c){if(d)return(32&a?this[l]:c.$hostElement$[l])===void 0&&c.l.get(l)&&(h=c.l.get(l)),d.apply(this,[ke(h,a)]),void Ge(this,l,h=32&a?this[l]:c.$hostElement$[l],t);Ge(this,l,h,t)}}})}}));{const l=new Map;n.attributeChangedCallback=function(a,i,d){O.jmp((()=>{var h;const c=l.get(a),f=P(this);if(this.hasOwnProperty(c),n.hasOwnProperty(c)&&typeof this[c]=="number"&&this[c]==d)return;if(c==null){const y=f?.i;if(f&&y&&!(8&y)&&d!==i){const g=this,p=(h=t.R)==null?void 0:h[a];p?.forEach((_=>{const[[v,N]]=Object.entries(_);g[v]!=null&&(128&y||1&N)&&g[v].call(g,d,i,a)}))}return}const m=r.find((([y])=>y===c)),u=m&&4&m[1][0],b=u&&d===null&&this[c]===void 0;u&&(d=d!==null&&d!=="false");const S=Object.getOwnPropertyDescriptor(n,c);b||d==this[c]||S.get&&!S.set||(this[c]=d)}))},e.observedAttributes=Array.from(new Set([...Object.keys((s=t.R)!=null?s:{}),...r.filter((([a,i])=>31&i[0])).map((([a,i])=>{var d;const h=i[1]||a;return l.set(h,a),512&i[0]&&((d=t._)==null||d.push([a,h])),h}))]))}}return e},St=(e,t)=>{const o={i:t[0],p:t[1]};try{o.t=t[2],o.R=Ae(e.R),o.H=e.H,o.P=e.P,o._=[];const s=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((r,l)=>{const a={i:0,$hostElement$:r,o:l,l:new Map,U:new Map};a.W=new Promise((d=>a.F=d)),r["s-p"]=[],r["s-rc"]=[];const i=a;r.__stencil__getHostRef=()=>i,512&l.i&&Je(r,a)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){if(!P(this))return;this.__hasHostListenerAttached=!0}(r=>{if(!(1&O.i)){const l=P(r);if(!l)return;const a=l.o;if(1&l.i)l?.D||l?.W&&l.W.then((()=>{}));else{l.i|=1,12&a.i&&(i=>{if(!w.document)return;const d=i["s-cr"]=w.document.createComment("");d["s-cn"]=!0,E(i,d,i.firstChild)})(r);{let i=r;for(;i=i.parentNode||i.host;)if(i["s-p"]){Me(l,l.C=i);break}}a.t&&Object.entries(a.t).map((([i,[d]])=>{if(31&d&&Object.prototype.hasOwnProperty.call(r,i)){const h=r[i];delete r[i],r[i]=h}})),(async(i,d,h)=>{let c;try{if(!(32&d.i)&&(d.i|=32,c=i.constructor,customElements.whenDefined(i.localName).then((()=>d.i|=128)),c&&c.style)){let u;typeof c.style=="string"&&(u=c.style);const b=Oe(h);V.has(b)||((S,y,g)=>{let p=V.get(S);Q&&g?(p=p||new CSSStyleSheet,typeof p=="string"?p=y:p.replaceSync(y)):p=y,V.set(S,p)})(b,u,!!(1&h.i))}const f=d.C,m=()=>de(d,!0);f&&f["s-rc"]?f["s-rc"].push(m):m()}catch(f){L(f,i),d.A&&(d.A(),d.A=void 0),d.F&&d.F(i)}})(r,l,a)}}})(this),s&&s.call(this)},disconnectedCallback(){(async r=>{1&O.i||P(r),x.has(r)&&x.delete(r),r.shadowRoot&&x.has(r.shadowRoot)&&x.delete(r.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${o.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else tt.call(this,o)}}),Object.defineProperty(e,"is",{value:o.p,configurable:!0}),vt(e,o)}catch(s){return L(s),e}};function It(e){return e}const G=globalThis.CSSStyleSheet!==void 0?new CSSStyleSheet:void 0;let He=!1;G&&document.adoptedStyleSheets?document.adoptedStyleSheets.push(G):console.warn("CSSStyleSheet is not defined. Omitting constructed stylesheet behaviour.");let ue=null;const he=globalThis.MutationObserver!==void 0?new MutationObserver((()=>{We()})):void 0,We=()=>{if(G===void 0)return!1;const e=(()=>{if(G===void 0)return;const t=[];for(let o=0;o<document.styleSheets.length;o++){const s=document.styleSheets.item(o);if(s)try{let n=-1,r=0;for(let l=0;l<s.cssRules.length;l++){const a=s.cssRules.item(l);if(a?.cssText.startsWith("gids-global-styles-start"))n=l;else if(n>-1){if(a?.cssText.startsWith("gids-global-styles-end")){r=l-n+1;break}t.push(a)}}if(n>-1)return{rulesStartIndex:n,originalRulesCount:r,rules:t,styleSheet:s}}catch(n){if(!(n instanceof DOMException))throw n}}})();if(e!==void 0){const t=e.styleSheet.ownerNode;return he!==void 0&&t!==ue&&(ue&&he.disconnect(),t instanceof Element&&he.observe(t,{childList:!0,characterData:!0,subtree:!0}),ue=t),G.replaceSync((o=>o.rules.map((s=>s.cssText)).join(""))(e)),(o=>{const{rulesStartIndex:s,originalRulesCount:n,styleSheet:r}=o;for(let l=0;l<n;l++)r.deleteRule(s)})(e),!0}return console.warn("refreshConstructedGidsStylesheet: Gids stylesheet is not found in document."),!1},bt=()=>(He||(He=We()),G),Be={"icons-other.svg":["accessibility","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","key","link","list","location","lock","map","maximise","microphone","minimise","mobile","moon","network","neutral","new","new-chat","pause","percent","placeholder","play","power","rain","refresh","repeat","sad","save","savings","shield","shuffle","side-navigation","snow","speaker","stop","sun","tablet","temperature","thumbs-down","thumbs-up","travel","trend-down","trend-up","unlock","upset","verified","very-happy","video","volume-down","volume-max","volume-min","volume-mute","volume-up","wallet","wealth","wi-fi","wind"],"icons-core.svg":["arrow-down","arrow-left","arrow-right","arrow-up","attachment","checkmark","chevron-down","chevron-horizontal","chevron-left","chevron-right","chevron-up","chevron-vertical","copy","cross","danger","dashboard","delete","document","download","drag","edit","external","eye","filter","grid","hide","home","information","log-in","log-out","menu","minus","more","notifications","options","phone","plus","positive","printer","question","search","select","select-all","send","settings","share","star","time","upload","user","users","warning"]},ze=new Map;for(const e in Be)for(const t of Be[e])ze.set(t,e);function wt(e){return ze.get(e)}function Fe(e,t="regular",o){const s=wt(e);let n=s??"";return o&&s&&(n=o(s)??s),`${n}#${e}${t==="filled"?"--filled":""}`}function Ve(e){var t,o,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(o=Ve(e[t]))&&(s&&(s+=" "),s+=o)}else for(o in e)e[o]&&(s&&(s+=" "),s+=o);return s}function Nt(){for(var e,t,o=0,s="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=Ve(e))&&(s&&(s+=" "),s+=t);return s}const _t=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>Nt("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"})),fe=Symbol("defaultPath"),qe=Symbol("pathSet"),pe="gids-asset-paths-set";class Ot extends EventTarget{#s=new Map;constructor(){super()}#e(t,o){this.#s.set(t,o)}#t(t){return this.#s.get(t)??null}#o=()=>{this.dispatchEvent(new Event(pe))};haveAssetPathsBeenSet(){return this.#t(qe)!==null}setAssetPaths(t,o){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(fe,t);else{for(const s in t)this.#e(s,t[s]);o&&this.#e(fe,o)}this.#e(qe,"true"),setTimeout(this.#o,0)}}getAssetFilePath(t){const o=this.#t(t);if(o===null){const s=this.#t(fe);if(s!==null)return`${s}${s.endsWith("/")?"":"/"}${t}`}return o}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(pe,t,{once:!0}),()=>{this.removeEventListener(pe,t)}}}const me=Symbol.for("GIDS"),$t=()=>(globalThis[me]===void 0&&(globalThis[me]={assetPaths:{}}),globalThis[me]),At=e=>{const t=$t().assetPaths;return t[e]===void 0&&(t[e]=new Ot),t[e]};function ge(){return At("@ganpatiinfo/gids-web-shared")}function kt(){return ge().haveAssetPathsBeenSet()}function Ue(e){return ge().getAssetFilePath(e)}function Et(e){return ge().onAssetPathsSet(e)}let Ct=0;const jt=(e,t="gids")=>e||`${t}-${Ct++}`,{getGidsIconClassNames:Pt}=_t,xt=({name:e,size:t,appearance:o,alt:s,class:n,titleId:r,src:l,...a})=>{const i=jt(r);let d=l;return d===void 0&&kt()&&(d=Fe(e,o,Ue)),M("svg",{ref:h=>{d===void 0&&Et((()=>{(function(c,f,m){if(!c)return;const u=document.createElementNS("http://www.w3.org/2000/svg","use");u.setAttribute("href",Fe(f,m,Ue)),c.appendChild(u)})(h,e,o)}))},width:"16",height:"16",class:Pt({size:t},n),role:"img","aria-hidden":s===""?"true":void 0,"aria-labelledby":s===""?void 0:i,...a},s!==""&&M("title",{id:i},s||e),d!==void 0?M("use",{href:d}):null)},Ke=St(class extends Qe{constructor(e){super(),e!==!1&&this.__registerHost(),this.__attachShadow()}connectedCallback(){const e=bt();e!==void 0&&this._el.shadowRoot?.adoptedStyleSheets.push(e)}render(){return M(xt,{key:"b3a3cfcc04ab9526dd924d24df2ad992a2018ffc",name:this.name,size:this.size,appearance:this.appearance,alt:this.alt,titleId:this.titleId})}get _el(){return this}static get style(){return".gids-icon{fill:var(--gidsIcon-color, var(--gids-color-icon-default));width:auto;height:var(--gidsIcon-height, 100%)}.gids-icon--xs{--gidsIcon-height:var(--gids-size-120)}.gids-icon--sm{--gidsIcon-height:var(--gids-size-160)}.gids-icon--md{--gidsIcon-height:var(--gids-size-240)}.gids-icon--lg{--gidsIcon-height:var(--gids-size-320)}"}},[1,"gids-icon",{name:[1],size:[1],appearance:[1],alt:[1],titleId:[1,"title-id"]}]);function Ye(){typeof customElements<"u"&&["gids-icon"].forEach((e=>{e==="gids-icon"&&(customElements.get(e)||customElements.define(e,Ke))}))}Ye();const Tt=Ke,Rt=Ye;T.GidsIcon=Tt,T.defineCustomElement=Rt,Object.defineProperty(T,Symbol.toStringTag,{value:"Module"})}));
|
|
5
|
+
`);const b=this["s-cr"].parentElement;return(b.__childNodes?b.childNodes:(S=>{const y=[];for(let g=0;g<S.length;g++){const p=S[g]["s-nr"]||void 0;p&&p.isConnected&&y.push(p)}return y})(b.childNodes)).forEach((S=>{u===W(S)&&m.push(S)})),c?m.filter((S=>S.nodeType===1)):m}).bind(d);d.assignedElements=h(!0),d.assignedNodes=h(!1)})(r),a=e&&e.m&&e.m[o],a&&a.O===n.O&&e.S&&Pe(e.S)),r},Pe=e=>{O.i|=1;const t=e.closest(R.toLowerCase());if(t!=null){const o=Array.from(t.__childNodes||t.childNodes).find((n=>n["s-cr"])),s=Array.from(e.__childNodes||e.childNodes);for(const n of o?s.reverse():s)n["s-sh"]!=null&&(E(t,n,o??null),n["s-sh"]=void 0,K=!0)}O.i&=-2},Z=(e,t)=>{O.i|=1;const o=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let s=e;for(;s=s.nextSibling;)s&&s["s-sn"]===e["s-sn"]&&s["s-sh"]===R&&o.push(s)}for(let s=o.length-1;s>=0;s--){const n=o[s];n["s-hn"]!==R&&n["s-ol"]&&(E(z(n).parentNode,n,z(n)),n["s-ol"].remove(),n["s-ol"]=void 0,n["s-sh"]=void 0,K=!0),t&&Z(n,t)}O.i&=-2},Te=(e,t,o,s,n,r)=>{let l,a=e["s-cr"]&&e["s-cr"].parentNode||e;for(a.shadowRoot&&a.tagName===R&&(a=a.shadowRoot),o.O==="template"&&(a=a.content);n<=r;++n)s[n]&&(l=Y(null,o,n),l&&(s[n].S=l,E(a,l,z(t))))},Re=(e,t,o)=>{for(let s=t;s<=o;++s){const n=e[s];if(n){const r=n.S;Le(n),r&&(U=!0,r["s-ol"]?r["s-ol"].remove():Z(r,!0),r.remove())}}},J=(e,t,o=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:o?(o&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),z=e=>e&&e["s-ol"]||e,D=(e,t,o=!1)=>{const s=t.S=e.S,n=e.m,r=t.m,l=t.O,a=t.h;let i;a==null?($=l==="svg"||l!=="foreignObject"&&$,l!=="slot"||B||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Pe(t.S.parentElement)),le(e,t,$),n!==null&&r!==null?((d,h,c,f,m=!1)=>{let u,b,S=0,y=0,g=0,p=0,_=h.length-1,v=h[0],N=h[_],k=f.length-1,A=f[0],C=f[k];const Ze=c.O==="template"?d.content:d;for(;S<=_&&y<=k;)if(v==null)v=h[++S];else if(N==null)N=h[--_];else if(A==null)A=f[++y];else if(C==null)C=f[--k];else if(J(v,A,m))D(v,A,m),v=h[++S],A=f[++y];else if(J(N,C,m))D(N,C,m),N=h[--_],C=f[--k];else if(J(v,C,m))v.O!=="slot"&&C.O!=="slot"||Z(v.S.parentNode,!1),D(v,C,m),E(Ze,v.S,N.S.nextSibling),v=h[++S],C=f[--k];else if(J(N,A,m))v.O!=="slot"&&C.O!=="slot"||Z(N.S.parentNode,!1),D(N,A,m),E(Ze,N.S,v.S),N=h[--_],A=f[++y];else{for(g=-1,p=S;p<=_;++p)if(h[p]&&h[p].$!==null&&h[p].$===A.$){g=p;break}g>=0?(b=h[g],b.O!==A.O?u=Y(h&&h[y],c,g):(D(b,A,m),h[g]=void 0,u=b.S),A=f[++y]):(u=Y(h&&h[y],c,y),A=f[++y]),u&&E(z(v.S).parentNode,u,z(v.S))}S>_?Te(d,f[k+1]==null?null:f[k+1].S,c,f,y,k):y>k&&Re(h,S,_)})(s,n,t,r,o):r!==null?(e.h!==null&&(s.textContent=""),Te(s,null,t,r,0,r.length-1)):!o&&n!==null&&Re(n,0,n.length-1),$&&l==="svg"&&($=!1)):(i=s["s-cr"])?i.parentNode.textContent=a:e.h!==a&&(s.data=a)},j=[],Ie=e=>{let t,o,s;const n=e.__childNodes||e.childNodes;for(const r of n){if(r["s-sr"]&&(t=r["s-cr"])&&t.parentNode){o=t.parentNode.__childNodes||t.parentNode.childNodes;const l=r["s-sn"];for(s=o.length-1;s>=0;s--)if(t=o[s],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===r["s-hn"]||t["s-sh"]&&t["s-sh"]===r["s-hn"]))if(_e(t,l)){let a=j.find((i=>i.k===t));U=!0,t["s-sn"]=t["s-sn"]||l,a?(a.k["s-sh"]=r["s-hn"],a.N=r):(t["s-sh"]=r["s-hn"],j.push({N:r,k:t})),t["s-sr"]&&j.map((i=>{_e(i.k,t["s-sn"])&&(a=j.find((d=>d.k===t)),a&&!i.N&&(i.N=a.N))}))}else j.some((a=>a.k===t))||j.push({k:t})}r.nodeType===1&&Ie(r)}},Le=e=>{e.v&&e.v.ref&&ae.push((()=>e.v.ref(null))),e.m&&e.m.map(Le)},ct=(e,t)=>{ce.push((()=>e(t)))},E=(e,t,o,s)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,o);const{slotNode:n}=(function(r,l){var a;if(!(l=l||((a=r["s-ol"])==null?void 0:a.parentElement)))return{slotNode:null,slotName:""};const i=r["s-sn"]=W(r)||"";return{slotNode:oe(ne(l,"childNodes"),l.tagName,i)[0],slotName:i}})(t);return n&&!s&&n.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,o):e?.insertBefore(t,o)},dt=(e,t,o=!1)=>{var s,n,r,l,a;const i=e.$hostElement$,d=e.o,h=e.M||q(null,null);var c;const f=(c=t)&&c.O===ot?t:M(null,null,t);if(R=i.tagName,d._&&(f.v=f.v||{},d._.forEach((([m,u])=>{f.v[u]=i[m]}))),o&&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=h.S=i.shadowRoot||i,B=!(!(1&d.i)||128&d.i),re=i["s-cr"],U=!1,D(h,f,o),O.i|=1,K){Ie(f.S);for(const m of j){const u=m.k;if(!u["s-ol"]&&w.document){const b=w.document.createTextNode("");b["s-nr"]=u,E(u.parentNode,u["s-ol"]=b,u,o)}}for(const m of j){const u=m.k,b=m.N;if(u.nodeType===1&&o&&(u["s-ih"]=(s=u.hidden)!=null&&s),b){const S=b.parentNode;let y=b.nextSibling;if(y&&y.nodeType===1){let g=(n=u["s-ol"])==null?void 0:n.previousSibling;for(;g;){let p=(r=g["s-nr"])!=null?r:null;if(p&&p["s-sn"]===u["s-sn"]&&S===(p.__parentNode||p.parentNode)){for(p=p.nextSibling;p===u||p?.["s-sr"];)p=p?.nextSibling;if(!p||!p["s-nr"]){y=p;break}}g=g.previousSibling}}if((!y&&S!==(u.__parentNode||u.parentNode)||(u.__nextSibling||u.nextSibling)!==y)&&u!==y){if(E(S,u,y,o),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,E(u.parentNode,g,u,o),u.parentNode.removeChild(u)}u.nodeType===1&&u.tagName!=="SLOT-FB"&&(u.hidden=(l=u["s-ih"])!=null&&l)}u&&typeof b["s-rf"]=="function"&&b["s-rf"](b)}else u.nodeType===1&&(u.hidden=!0)}}if(U&&Ne(f.S),O.i&=-2,j.length=0,!B&&!(1&d.i)&&i["s-cr"]){const m=f.S.__childNodes||f.S.childNodes;for(const u of m)if(u["s-hn"]!==R&&!u["s-sh"]){if(o&&u["s-ih"]==null&&(u["s-ih"]=(a=u.hidden)!=null&&a),u.nodeType===1)u.hidden=!0;else if(u.nodeType===3&&u.nodeValue.trim()){const b=w.document.createComment("s-nt-"+u.nodeValue);b["s-sn"]=u["s-sn"],E(u.parentNode,b,u,o),u.parentNode.removeChild(u)}}}re=void 0,ae.forEach((m=>m())),ae.length=0,ce.forEach((m=>m())),ce.length=0},Me=(e,t)=>{if(t&&!e.A&&t["s-p"]){const o=t["s-p"].push(new Promise((s=>e.A=()=>{t["s-p"].splice(o-1,1),s()})))}},de=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);Me(e,e.C);const o=()=>ut(e,t);if(!t)return et(o);queueMicrotask((()=>{o()}))},ut=(e,t)=>{const o=e.$hostElement$,s=o;if(!s)throw new Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let n;return n=F(s,t?"componentWillLoad":"componentWillUpdate",void 0,o),n=De(n,(()=>F(s,"componentWillRender",void 0,o))),De(n,(()=>ft(e,s,t)))},De=(e,t)=>ht(e)?e.then(t).catch((o=>{console.error(o),t()})):t(),ht=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",ft=async(e,t,o)=>{var s;const n=e.$hostElement$,r=n["s-rc"];o&&(l=>{const a=l.o,i=l.$hostElement$,d=a.i,h=((c,f)=>{var m,u,b;const S=Oe(f),y=V.get(S);if(!w.document)return S;if(c=c.nodeType===11?c:w.document,y)if(typeof y=="string"){let g,p=P.get(c=c.head||c);if(p||P.set(c,p=new Set),!p.has(S)){g=w.document.createElement("style"),g.textContent=y;const _=(m=O.L)!=null?m:(function(){var v,N,k;return(k=(N=(v=w.document.head)==null?void 0:v.querySelector('meta[name="csp-nonce"]'))==null?void 0:N.getAttribute("content"))!=null?k:void 0})();if(_!=null&&g.setAttribute("nonce",_),!(1&f.i))if(c.nodeName==="HEAD"){const v=c.querySelectorAll("link[rel=preconnect]"),N=v.length>0?v[v.length-1].nextSibling:c.querySelector("style");c.insertBefore(g,N?.parentNode===c?N:null)}else if("host"in c)if(Q){const v=new((u=c.defaultView)!=null?u:c.ownerDocument.defaultView).CSSStyleSheet;v.replaceSync(y),X?c.adoptedStyleSheets.unshift(v):c.adoptedStyleSheets=[v,...c.adoptedStyleSheets]}else{const v=c.querySelector("style");v?v.textContent=y+v.textContent:c.prepend(g)}else c.append(g);1&f.i&&c.insertBefore(g,null),4&f.i&&(g.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),p&&p.add(S)}}else{let g=P.get(c);if(g||P.set(c,g=new Set),!g.has(S)){const p=(b=c.defaultView)!=null?b:c.ownerDocument.defaultView;let _;if(y.constructor===p.CSSStyleSheet)_=y;else{_=new p.CSSStyleSheet;for(let v=0;v<y.cssRules.length;v++)_.insertRule(y.cssRules[v].cssText,v)}X?c.adoptedStyleSheets.push(_):c.adoptedStyleSheets=[...c.adoptedStyleSheets,_],g.add(S)}}return S})(i.shadowRoot?i.shadowRoot:i.getRootNode(),a);10&d&&(i["s-sc"]=h,i.classList.add(h+"-h"))})(e),pt(e,t,n,o),r&&(r.map((l=>l())),n["s-rc"]=void 0);{const l=(s=n["s-p"])!=null?s:[],a=()=>mt(e);l.length===0?a():(Promise.all(l).then(a).catch(a),e.i|=4,l.length=0)}},pt=(e,t,o,s)=>{try{t=t.render(),e.i&=-17,e.i|=2,dt(e,t,s)}catch(n){L(n,e.$hostElement$)}return null},mt=e=>{const t=e.$hostElement$,o=t,s=e.C;F(o,"componentDidRender",void 0,t),64&e.i?F(o,"componentDidUpdate",void 0,t):(e.i|=64,yt(t),F(o,"componentDidLoad",void 0,t),e.F(t),s||gt()),e.A&&(e.A(),e.A=void 0),512&e.i&&se((()=>de(e,!1))),e.i&=-517},gt=()=>{se((()=>it(w,"appload",{detail:{namespace:"gids-core-web"}})))},F=(e,t,o,s)=>{if(e&&e[t])try{return e[t](o)}catch(n){L(n,s)}},yt=e=>e.classList.add("hydrated"),Ge=(e,t,o,s)=>{const n=x(e);if(!n)return;const r=e,l=n.l.get(t),a=n.i,i=r;o=ke(o,s.t[t][0]);const d=Number.isNaN(l)&&Number.isNaN(o);if(o!==l&&!d){if(n.l.set(t,o),s.R){const h=s.R[t];h&&h.map((c=>{try{const[[f,m]]=Object.entries(c);(128&a||1&m)&&(i?i[f](o,l,t):n.T.push((()=>{n.D[f](o,l,t)})))}catch(f){L(f,r)}}))}if(2&a){if(i.componentShouldUpdate&&i.componentShouldUpdate(o,l,t)===!1&&!(16&a))return;16&a||de(n,!1)}}},vt=(e,t)=>{var o,s;const n=e.prototype;{e.watchers&&!t.R&&(t.R=Ae(e.watchers)),e.deserializers&&!t.H&&(t.H=e.deserializers),e.serializers&&!t.P&&(t.P=e.serializers);const r=Object.entries((o=t.t)!=null?o:{});r.map((([l,[a]])=>{if(31&a||32&a){const{get:i,set:d}=I(n,l)||{};i&&(t.t[l][0]|=2048),d&&(t.t[l][0]|=4096),Object.defineProperty(n,l,{get(){return i?i.apply(this):(h=l,x(this).l.get(h));var h},configurable:!0,enumerable:!0}),Object.defineProperty(n,l,{set(h){const c=x(this);if(c){if(d)return(32&a?this[l]:c.$hostElement$[l])===void 0&&c.l.get(l)&&(h=c.l.get(l)),d.apply(this,[ke(h,a)]),void Ge(this,l,h=32&a?this[l]:c.$hostElement$[l],t);Ge(this,l,h,t)}}})}}));{const l=new Map;n.attributeChangedCallback=function(a,i,d){O.jmp((()=>{var h;const c=l.get(a),f=x(this);if(this.hasOwnProperty(c),n.hasOwnProperty(c)&&typeof this[c]=="number"&&this[c]==d)return;if(c==null){const y=f?.i;if(f&&y&&!(8&y)&&d!==i){const g=this,p=(h=t.R)==null?void 0:h[a];p?.forEach((_=>{const[[v,N]]=Object.entries(_);g[v]!=null&&(128&y||1&N)&&g[v].call(g,d,i,a)}))}return}const m=r.find((([y])=>y===c)),u=m&&4&m[1][0],b=u&&d===null&&this[c]===void 0;u&&(d=d!==null&&d!=="false");const S=Object.getOwnPropertyDescriptor(n,c);b||d==this[c]||S.get&&!S.set||(this[c]=d)}))},e.observedAttributes=Array.from(new Set([...Object.keys((s=t.R)!=null?s:{}),...r.filter((([a,i])=>31&i[0])).map((([a,i])=>{var d;const h=i[1]||a;return l.set(h,a),512&i[0]&&((d=t._)==null||d.push([a,h])),h}))]))}}return e},St=(e,t)=>{const o={i:t[0],p:t[1]};try{o.t=t[2],o.R=Ae(e.R),o.H=e.H,o.P=e.P,o._=[];const s=e.prototype.connectedCallback,n=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((r,l)=>{const a={i:0,$hostElement$:r,o:l,l:new Map,U:new Map};a.W=new Promise((d=>a.F=d)),r["s-p"]=[],r["s-rc"]=[];const i=a;r.__stencil__getHostRef=()=>i,512&l.i&&Je(r,a)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){if(!x(this))return;this.__hasHostListenerAttached=!0}(r=>{if(!(1&O.i)){const l=x(r);if(!l)return;const a=l.o;if(1&l.i)l?.D||l?.W&&l.W.then((()=>{}));else{l.i|=1,12&a.i&&(i=>{if(!w.document)return;const d=i["s-cr"]=w.document.createComment("");d["s-cn"]=!0,E(i,d,i.firstChild)})(r);{let i=r;for(;i=i.parentNode||i.host;)if(i["s-p"]){Me(l,l.C=i);break}}a.t&&Object.entries(a.t).map((([i,[d]])=>{if(31&d&&Object.prototype.hasOwnProperty.call(r,i)){const h=r[i];delete r[i],r[i]=h}})),(async(i,d,h)=>{let c;try{if(!(32&d.i)&&(d.i|=32,c=i.constructor,customElements.whenDefined(i.localName).then((()=>d.i|=128)),c&&c.style)){let u;typeof c.style=="string"&&(u=c.style);const b=Oe(h);V.has(b)||((S,y,g)=>{let p=V.get(S);Q&&g?(p=p||new CSSStyleSheet,typeof p=="string"?p=y:p.replaceSync(y)):p=y,V.set(S,p)})(b,u,!!(1&h.i))}const f=d.C,m=()=>de(d,!0);f&&f["s-rc"]?f["s-rc"].push(m):m()}catch(f){L(f,i),d.A&&(d.A(),d.A=void 0),d.F&&d.F(i)}})(r,l,a)}}})(this),s&&s.call(this)},disconnectedCallback(){(async r=>{1&O.i||x(r),P.has(r)&&P.delete(r),r.shadowRoot&&P.has(r.shadowRoot)&&P.delete(r.shadowRoot)})(this),n&&n.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${o.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else tt.call(this,o)}}),Object.defineProperty(e,"is",{value:o.p,configurable:!0}),vt(e,o)}catch(s){return L(s),e}};function It(e){return e}const G=globalThis.CSSStyleSheet!==void 0?new CSSStyleSheet:void 0;let He=!1;G&&document.adoptedStyleSheets?document.adoptedStyleSheets.push(G):console.warn("CSSStyleSheet is not defined. Omitting constructed stylesheet behaviour.");let ue=null;const he=globalThis.MutationObserver!==void 0?new MutationObserver((()=>{We()})):void 0,We=()=>{if(G===void 0)return!1;const e=(()=>{if(G===void 0)return;const t=[];for(let o=0;o<document.styleSheets.length;o++){const s=document.styleSheets.item(o);if(s)try{let n=-1,r=0;for(let l=0;l<s.cssRules.length;l++){const a=s.cssRules.item(l);if(a?.cssText.startsWith("gids-global-styles-start"))n=l;else if(n>-1){if(a?.cssText.startsWith("gids-global-styles-end")){r=l-n+1;break}t.push(a)}}if(n>-1)return{rulesStartIndex:n,originalRulesCount:r,rules:t,styleSheet:s}}catch(n){if(!(n instanceof DOMException))throw n}}})();if(e!==void 0){const t=e.styleSheet.ownerNode;return he!==void 0&&t!==ue&&(ue&&he.disconnect(),t instanceof Element&&he.observe(t,{childList:!0,characterData:!0,subtree:!0}),ue=t),G.replaceSync((o=>o.rules.map((s=>s.cssText)).join(""))(e)),(o=>{const{rulesStartIndex:s,originalRulesCount:n,styleSheet:r}=o;for(let l=0;l<n;l++)r.deleteRule(s)})(e),!0}return console.warn("refreshConstructedGidsStylesheet: Gids stylesheet is not found in document."),!1},bt=()=>(He||(He=We()),G),Be={"icons-other.svg":["accessibility","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","key","link","list","location","lock","map","maximise","microphone","minimise","mobile","moon","network","neutral","new","new-chat","pause","percent","placeholder","play","power","rain","refresh","repeat","sad","save","savings","shield","shuffle","side-navigation","snow","speaker","stop","sun","tablet","temperature","thumbs-down","thumbs-up","travel","trend-down","trend-up","unlock","upset","verified","very-happy","video","volume-down","volume-max","volume-min","volume-mute","volume-up","wallet","wealth","wi-fi","wind"],"icons-core.svg":["arrow-down","arrow-left","arrow-right","arrow-up","attachment","checkmark","chevron-down","chevron-horizontal","chevron-left","chevron-right","chevron-up","chevron-vertical","copy","cross","danger","dashboard","delete","document","download","drag","edit","external","eye","filter","grid","hide","home","information","log-in","log-out","menu","minus","more","notifications","options","phone","plus","positive","printer","question","search","select","select-all","send","settings","share","star","time","upload","user","users","warning"]},ze=new Map;for(const e in Be)for(const t of Be[e])ze.set(t,e);function wt(e){return ze.get(e)}function Fe(e,t="regular",o){const s=wt(e);let n=s??"";return o&&s&&(n=o(s)??s),`${n}#${e}${t==="filled"?"--filled":""}`}function Ve(e){var t,o,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(o=Ve(e[t]))&&(s&&(s+=" "),s+=o)}else for(o in e)e[o]&&(s&&(s+=" "),s+=o);return s}function Nt(){for(var e,t,o=0,s="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=Ve(e))&&(s&&(s+=" "),s+=t);return s}const _t=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>Nt("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"})),fe=Symbol("defaultPath"),qe=Symbol("pathSet"),pe="gids-asset-paths-set";class Ot extends EventTarget{#s=new Map;constructor(){super()}#e(t,o){this.#s.set(t,o)}#t(t){return this.#s.get(t)??null}#o=()=>{this.dispatchEvent(new Event(pe))};haveAssetPathsBeenSet(){return this.#t(qe)!==null}setAssetPaths(t,o){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(fe,t);else{for(const s in t)this.#e(s,t[s]);o&&this.#e(fe,o)}this.#e(qe,"true"),setTimeout(this.#o,0)}}getAssetFilePath(t){const o=this.#t(t);if(o===null){const s=this.#t(fe);if(s!==null)return`${s}${s.endsWith("/")?"":"/"}${t}`}return o}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(pe,t,{once:!0}),()=>{this.removeEventListener(pe,t)}}}const me=Symbol.for("GIDS"),$t=()=>(globalThis[me]===void 0&&(globalThis[me]={assetPaths:{}}),globalThis[me]),At=e=>{const t=$t().assetPaths;return t[e]===void 0&&(t[e]=new Ot),t[e]};function ge(){return At("@ganpatiinfo/gids-web-shared")}function kt(){return ge().haveAssetPathsBeenSet()}function Ue(e){return ge().getAssetFilePath(e)}function Et(e){return ge().onAssetPathsSet(e)}let Ct=0;const jt=(e,t="gids")=>e||`${t}-${Ct++}`,{getGidsIconClassNames:xt}=_t,Pt=({name:e,size:t,appearance:o,alt:s,class:n,titleId:r,src:l,...a})=>{const i=jt(r);let d=l;return d===void 0&&kt()&&(d=Fe(e,o,Ue)),M("svg",{ref:h=>{d===void 0&&Et((()=>{(function(c,f,m){if(!c)return;const u=document.createElementNS("http://www.w3.org/2000/svg","use");u.setAttribute("href",Fe(f,m,Ue)),c.appendChild(u)})(h,e,o)}))},width:"16",height:"16",class:xt({size:t},n),role:"img","aria-hidden":s===""?"true":void 0,"aria-labelledby":s===""?void 0:i,...a},s!==""&&M("title",{id:i},s||e),d!==void 0?M("use",{href:d}):null)},Ke=St(class extends Qe{constructor(e){super(),e!==!1&&this.__registerHost(),this.__attachShadow()}connectedCallback(){const e=bt();e!==void 0&&this._el.shadowRoot?.adoptedStyleSheets.push(e)}render(){return M(Pt,{key:"d1215bf1b178ca6fb73458ecb8370b315239fa5b",name:this.name,size:this.size,appearance:this.appearance,alt:this.alt,titleId:this.titleId})}get _el(){return this}static get style(){return".gids-icon{fill:var(--gidsIcon-color, var(--gids-color-icon-default));width:auto;height:var(--gidsIcon-height, 100%);flex-shrink:0}.gids-icon--xs{--gidsIcon-height:var(--gids-size-120)}.gids-icon--sm{--gidsIcon-height:var(--gids-size-160)}.gids-icon--md{--gidsIcon-height:var(--gids-size-240)}.gids-icon--lg{--gidsIcon-height:var(--gids-size-320)}"}},[1,"gids-icon",{name:[1],size:[1],appearance:[1],alt:[1],titleId:[1,"title-id"]}]);function Ye(){typeof customElements<"u"&&["gids-icon"].forEach((e=>{e==="gids-icon"&&(customElements.get(e)||customElements.define(e,Ke))}))}Ye();const Tt=Ke,Rt=Ye;T.GidsIcon=Tt,T.defineCustomElement=Rt,Object.defineProperty(T,Symbol.toStringTag,{value:"Module"})}));
|
|
@@ -2,4 +2,4 @@
|
|
|
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","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","key","link","list","location","lock","map","maximise","microphone","minimise","mobile","moon","network","neutral","new","new-chat","pause","percent","placeholder","play","power","rain","refresh","repeat","sad","save","savings","shield","shuffle","side-navigation","snow","speaker","stop","sun","tablet","temperature","thumbs-down","thumbs-up","travel","trend-down","trend-up","unlock","upset","verified","very-happy","video","volume-down","volume-max","volume-min","volume-mute","volume-up","wallet","wealth","wi-fi","wind"],"icons-core.svg":["arrow-down","arrow-left","arrow-right","arrow-up","attachment","checkmark","chevron-down","chevron-horizontal","chevron-left","chevron-right","chevron-up","chevron-vertical","copy","cross","danger","dashboard","delete","document","download","drag","edit","external","eye","filter","grid","hide","home","information","log-in","log-out","menu","minus","more","notifications","options","phone","plus","positive","printer","question","search","select","select-all","send","settings","share","star","time","upload","user","users","warning"]},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:"9d1ed3749495c830b3940d4da09056620ccaef1d"},N("slot",{key:"ae4b6e25b50e1b2fc04ff7eb1b2695437b25b974",name:"leadingIcon"}),this.leadingLabel&&N("span",{key:"408038e8921dc443f14b5c57541d8ca74205e193",class:"gids-input__label"},this.leadingLabel),N("slot",{key:"033b3c940545c99f3aa356e08267c77c25c0f89c",name:"leadingAccessory"}),N("input",{key:"d302436fe388ce84e775ee73c83723cd4bfb46b3",...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:"85d41d8a06da0c88a6defe65eae2d6f1e69c3abd",name:"trailingAccessory"}),this.trailingLabel&&N("span",{key:"1fec370bdb270031d6e3cdd9bed84871116be21f",class:"gids-input__label"},this.trailingLabel),N("slot",{key:"65800ff524221d70b659901d440c5459e64975a8",name:"trailingIcon"}),this.status==="incomplete"&&N(Ye,{key:"2bec2513415dad3294abc23ebcdc0493fa44399a",name:"warning",appearance:"filled",class:"gids-input__warning-icon"}),this.status==="complete"&&N(Ye,{key:"2e21e9cb5ccfad300400c97dba89642395f84b04",name:"positive",appearance:"filled",class:"gids-input__positive-icon"}),this.loading&&N(Wt,{key:"5fb23cf0b1e280cf7acd8ccd47c1a8d9611a1f19",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 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","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","key","link","list","location","lock","map","maximise","microphone","minimise","mobile","moon","network","neutral","new","new-chat","pause","percent","placeholder","play","power","rain","refresh","repeat","sad","save","savings","shield","shuffle","side-navigation","snow","speaker","stop","sun","tablet","temperature","thumbs-down","thumbs-up","travel","trend-down","trend-up","unlock","upset","verified","very-happy","video","volume-down","volume-max","volume-min","volume-mute","volume-up","wallet","wealth","wi-fi","wind"],"icons-core.svg":["arrow-down","arrow-left","arrow-right","arrow-up","attachment","checkmark","chevron-down","chevron-horizontal","chevron-left","chevron-right","chevron-up","chevron-vertical","copy","cross","danger","dashboard","delete","document","download","drag","edit","external","eye","filter","grid","hide","home","information","log-in","log-out","menu","minus","more","notifications","options","phone","plus","positive","printer","question","search","select","select-all","send","settings","share","star","time","upload","user","users","warning"]},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:"281c832656cace745109fdd8208fe24b90f2c126"},N("slot",{key:"5f8424a1d9bc196e3efee9d1e5d099bed15ddb4b",name:"leadingIcon"}),this.leadingLabel&&N("span",{key:"2ce161a38f74618d60f38028c646c80e361aeced",class:"gids-input__label"},this.leadingLabel),N("slot",{key:"12383525faf774eef618705cf68338a4fc9c9e55",name:"leadingAccessory"}),N("input",{key:"19de1aa1ad2a47db2979dfcbbf9b8e49d045f5af",...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:"3e0f6ae8c23b2536891ddd0adb7be1215d86ac66",name:"trailingAccessory"}),this.trailingLabel&&N("span",{key:"9b2ac9fbf6c198dd0a4e1decf4631b2b46902587",class:"gids-input__label"},this.trailingLabel),N("slot",{key:"d9848f786ce38136f1ad8c07d685215ede87f157",name:"trailingIcon"}),this.status==="incomplete"&&N(Ye,{key:"bc8bcc01f07bd345b448f4662a37b28d8029a94f",name:"warning",appearance:"filled",class:"gids-input__warning-icon"}),this.status==="complete"&&N(Ye,{key:"cafc44041a1d4eac859face7ec5eea2ced1ca3f5",name:"positive",appearance:"filled",class:"gids-input__positive-icon"}),this.loading&&N(Wt,{key:"0daca638742b098d06da6cd9a7b9cfd6e9c90921",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"})}));
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
Flattening is not supported for Stencil non-shadow slots.
|
|
3
3
|
You can use \`.childNodes\` to nested slot fallback content.
|
|
4
4
|
If you have a particular use case, please open an issue on the Stencil repo.
|
|
5
|
-
`);const w=this["s-cr"].parentElement;return(w.__childNodes?w.childNodes:(S=>{const v=[];for(let g=0;g<S.length;g++){const h=S[g]["s-nr"]||void 0;h&&h.isConnected&&v.push(h)}return v})(w.childNodes)).forEach((S=>{m===Q(S)&&p.push(S)})),d?p.filter((S=>S.nodeType===1)):p}).bind(c);c.assignedElements=u(!0),c.assignedNodes=u(!1)})(i),l=e&&e.m&&e.m[o],l&&l.O===s.O&&e.S&&Ge(e.S)),i},Ge=e=>{N.i|=1;const t=e.closest(R.toLowerCase());if(t!=null){const o=Array.from(t.__childNodes||t.childNodes).find((s=>s["s-cr"])),n=Array.from(e.__childNodes||e.childNodes);for(const s of o?n.reverse():n)s["s-sh"]!=null&&(j(t,s,o??null),s["s-sh"]=void 0,X=!0)}N.i&=-2},K=(e,t)=>{N.i|=1;const o=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let n=e;for(;n=n.nextSibling;)n&&n["s-sn"]===e["s-sn"]&&n["s-sh"]===R&&o.push(n)}for(let n=o.length-1;n>=0;n--){const s=o[n];s["s-hn"]!==R&&s["s-ol"]&&(j(q(s).parentNode,s,q(s)),s["s-ol"].remove(),s["s-ol"]=void 0,s["s-sh"]=void 0,X=!0),t&&K(s,t)}N.i&=-2},Be=(e,t,o,n,s,i)=>{let r,l=e["s-cr"]&&e["s-cr"].parentNode||e;for(l.shadowRoot&&l.tagName===R&&(l=l.shadowRoot),o.O==="template"&&(l=l.content);s<=i;++s)n[s]&&(r=U(null,o,s),r&&(n[s].S=r,j(l,r,q(t))))},De=(e,t,o)=>{for(let n=t;n<=o;++n){const s=e[n];if(s){const i=s.S;He(s),i&&(Y=!0,i["s-ol"]?i["s-ol"].remove():K(i,!0),i.remove())}}},Z=(e,t,o=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:o?(o&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),q=e=>e&&e["s-ol"]||e,G=(e,t,o=!1)=>{const n=t.S=e.S,s=e.m,i=t.m,r=t.O,l=t.h;let a;l==null?(x=r==="svg"||r!=="foreignObject"&&x,r!=="slot"||H||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Ge(t.S.parentElement)),de(e,t,x),s!==null&&i!==null?((c,u,d,f,p=!1)=>{let m,w,S=0,v=0,g=0,h=0,C=u.length-1,b=u[0],k=u[C],$=f.length-1,O=f[0],P=f[$];const dt=d.O==="template"?c.content:c;for(;S<=C&&v<=$;)if(b==null)b=u[++S];else if(k==null)k=u[--C];else if(O==null)O=f[++v];else if(P==null)P=f[--$];else if(Z(b,O,p))G(b,O,p),b=u[++S],O=f[++v];else if(Z(k,P,p))G(k,P,p),k=u[--C],P=f[--$];else if(Z(b,P,p))b.O!=="slot"&&P.O!=="slot"||K(b.S.parentNode,!1),G(b,P,p),j(dt,b.S,k.S.nextSibling),b=u[++S],P=f[--$];else if(Z(k,O,p))b.O!=="slot"&&P.O!=="slot"||K(k.S.parentNode,!1),G(k,O,p),j(dt,k.S,b.S),k=u[--C],O=f[++v];else{for(g=-1,h=S;h<=C;++h)if(u[h]&&u[h].$!==null&&u[h].$===O.$){g=h;break}g>=0?(w=u[g],w.O!==O.O?m=U(u&&u[v],d,g):(G(w,O,p),u[g]=void 0,m=w.S),O=f[++v]):(m=U(u&&u[v],d,v),O=f[++v]),m&&j(q(b.S).parentNode,m,q(b.S))}S>C?Be(c,f[$+1]==null?null:f[$+1].S,d,f,v,$):v>$&&De(u,S,C)})(n,s,t,i,o):i!==null?(e.h!==null&&(n.textContent=""),Be(n,null,t,i,0,i.length-1)):!o&&s!==null&&De(s,0,s.length-1),x&&r==="svg"&&(x=!1)):(a=n["s-cr"])?a.parentNode.textContent=l:e.h!==l&&(n.data=l)},A=[],Qe=e=>{let t,o,n;const s=e.__childNodes||e.childNodes;for(const i of s){if(i["s-sr"]&&(t=i["s-cr"])&&t.parentNode){o=t.parentNode.__childNodes||t.parentNode.childNodes;const r=i["s-sn"];for(n=o.length-1;n>=0;n--)if(t=o[n],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===i["s-hn"]||t["s-sh"]&&t["s-sh"]===i["s-hn"]))if(je(t,r)){let l=A.find((a=>a.k===t));Y=!0,t["s-sn"]=t["s-sn"]||r,l?(l.k["s-sh"]=i["s-hn"],l.N=i):(t["s-sh"]=i["s-hn"],A.push({N:i,k:t})),t["s-sr"]&&A.map((a=>{je(a.k,t["s-sn"])&&(l=A.find((c=>c.k===t)),l&&!a.N&&(a.N=l.N))}))}else A.some((l=>l.k===t))||A.push({k:t})}i.nodeType===1&&Qe(i)}},He=e=>{e.v&&e.v.ref&&ue.push((()=>e.v.ref(null))),e.m&&e.m.map(He)},kt=(e,t)=>{me.push((()=>e(t)))},j=(e,t,o,n)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,o);const{slotNode:s}=(function(i,r){var l;if(!(r=r||((l=i["s-ol"])==null?void 0:l.parentElement)))return{slotNode:null,slotName:""};const a=i["s-sn"]=Q(i)||"";return{slotNode:re(ae(r,"childNodes"),r.tagName,a)[0],slotName:a}})(t);return s&&!n&&s.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,o):e?.insertBefore(t,o)},Ct=(e,t,o=!1)=>{var n,s,i,r,l;const a=e.$hostElement$,c=e.o,u=e.M||V(null,null);var d;const f=(d=t)&&d.O===vt?t:y(null,null,t);if(R=a.tagName,c._&&(f.v=f.v||{},c._.forEach((([p,m])=>{f.v[m]=a[p]}))),o&&f.v)for(const p of Object.keys(f.v))a.hasAttribute(p)&&!["key","ref","style","class"].includes(p)&&(f.v[p]=a[p]);if(f.O=null,f.i|=4,e.M=f,f.S=u.S=a.shadowRoot||a,H=!(!(1&c.i)||128&c.i),le=a["s-cr"],Y=!1,G(u,f,o),N.i|=1,X){Qe(f.S);for(const p of A){const m=p.k;if(!m["s-ol"]&&_.document){const w=_.document.createTextNode("");w["s-nr"]=m,j(m.parentNode,m["s-ol"]=w,m,o)}}for(const p of A){const m=p.k,w=p.N;if(m.nodeType===1&&o&&(m["s-ih"]=(n=m.hidden)!=null&&n),w){const S=w.parentNode;let v=w.nextSibling;if(v&&v.nodeType===1){let g=(s=m["s-ol"])==null?void 0:s.previousSibling;for(;g;){let h=(i=g["s-nr"])!=null?i:null;if(h&&h["s-sn"]===m["s-sn"]&&S===(h.__parentNode||h.parentNode)){for(h=h.nextSibling;h===m||h?.["s-sr"];)h=h?.nextSibling;if(!h||!h["s-nr"]){v=h;break}}g=g.previousSibling}}if((!v&&S!==(m.__parentNode||m.parentNode)||(m.__nextSibling||m.nextSibling)!==v)&&m!==v){if(j(S,m,v,o),m.nodeType===8&&m.nodeValue.startsWith("s-nt-")){const g=_.document.createTextNode(m.nodeValue.replace(/^s-nt-/,""));g["s-hn"]=m["s-hn"],g["s-sn"]=m["s-sn"],g["s-sh"]=m["s-sh"],g["s-sr"]=m["s-sr"],g["s-ol"]=m["s-ol"],g["s-ol"]["s-nr"]=g,j(m.parentNode,g,m,o),m.parentNode.removeChild(m)}m.nodeType===1&&m.tagName!=="SLOT-FB"&&(m.hidden=(r=m["s-ih"])!=null&&r)}m&&typeof w["s-rf"]=="function"&&w["s-rf"](w)}else m.nodeType===1&&(m.hidden=!0)}}if(Y&&$e(f.S),N.i&=-2,A.length=0,!H&&!(1&c.i)&&a["s-cr"]){const p=f.S.__childNodes||f.S.childNodes;for(const m of p)if(m["s-hn"]!==R&&!m["s-sh"]){if(o&&m["s-ih"]==null&&(m["s-ih"]=(l=m.hidden)!=null&&l),m.nodeType===1)m.hidden=!0;else if(m.nodeType===3&&m.nodeValue.trim()){const w=_.document.createComment("s-nt-"+m.nodeValue);w["s-sn"]=m["s-sn"],j(m.parentNode,w,m,o),m.parentNode.removeChild(m)}}}le=void 0,ue.forEach((p=>p())),ue.length=0,me.forEach((p=>p())),me.length=0},qe=(e,t)=>{if(t&&!e.A&&t["s-p"]){const o=t["s-p"].push(new Promise((n=>e.A=()=>{t["s-p"].splice(o-1,1),n()})))}},fe=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);qe(e,e.C);const o=()=>Nt(e,t);if(!t)return pt(o);queueMicrotask((()=>{o()}))},Nt=(e,t)=>{const o=e.$hostElement$,n=o;if(!n)throw new Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let s;return s=F(n,t?"componentWillLoad":"componentWillUpdate",void 0,o),s=Fe(s,(()=>F(n,"componentWillRender",void 0,o))),Fe(s,(()=>Ot(e,n,t)))},Fe=(e,t)=>xt(e)?e.then(t).catch((o=>{console.error(o),t()})):t(),xt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Ot=async(e,t,o)=>{var n;const s=e.$hostElement$,i=s["s-rc"];o&&(r=>{const l=r.o,a=r.$hostElement$,c=l.i,u=((d,f)=>{var p,m,w;const S=Pe(f),v=z.get(S);if(!_.document)return S;if(d=d.nodeType===11?d:_.document,v)if(typeof v=="string"){let g,h=T.get(d=d.head||d);if(h||T.set(d,h=new Set),!h.has(S)){g=_.document.createElement("style"),g.textContent=v;const C=(p=N.L)!=null?p:(function(){var b,k,$;return($=(k=(b=_.document.head)==null?void 0:b.querySelector('meta[name="csp-nonce"]'))==null?void 0:k.getAttribute("content"))!=null?$:void 0})();if(C!=null&&g.setAttribute("nonce",C),!(1&f.i))if(d.nodeName==="HEAD"){const b=d.querySelectorAll("link[rel=preconnect]"),k=b.length>0?b[b.length-1].nextSibling:d.querySelector("style");d.insertBefore(g,k?.parentNode===d?k:null)}else if("host"in d)if(te){const b=new((m=d.defaultView)!=null?m:d.ownerDocument.defaultView).CSSStyleSheet;b.replaceSync(v),ne?d.adoptedStyleSheets.unshift(b):d.adoptedStyleSheets=[b,...d.adoptedStyleSheets]}else{const b=d.querySelector("style");b?b.textContent=v+b.textContent:d.prepend(g)}else d.append(g);1&f.i&&d.insertBefore(g,null),4&f.i&&(g.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),h&&h.add(S)}}else{let g=T.get(d);if(g||T.set(d,g=new Set),!g.has(S)){const h=(w=d.defaultView)!=null?w:d.ownerDocument.defaultView;let C;if(v.constructor===h.CSSStyleSheet)C=v;else{C=new h.CSSStyleSheet;for(let b=0;b<v.cssRules.length;b++)C.insertRule(v.cssRules[b].cssText,b)}ne?d.adoptedStyleSheets.push(C):d.adoptedStyleSheets=[...d.adoptedStyleSheets,C],g.add(S)}}return S})(a.shadowRoot?a.shadowRoot:a.getRootNode(),l);10&c&&(a["s-sc"]=u,a.classList.add(u+"-h"))})(e),$t(e,t,s,o),i&&(i.map((r=>r())),s["s-rc"]=void 0);{const r=(n=s["s-p"])!=null?n:[],l=()=>jt(e);r.length===0?l():(Promise.all(r).then(l).catch(l),e.i|=4,r.length=0)}},$t=(e,t,o,n)=>{try{t=t.render(),e.i&=-17,e.i|=2,Ct(e,t,n)}catch(s){I(s,e.$hostElement$)}return null},jt=e=>{const t=e.$hostElement$,o=t,n=e.C;F(o,"componentDidRender",void 0,t),64&e.i?F(o,"componentDidUpdate",void 0,t):(e.i|=64,At(t),F(o,"componentDidLoad",void 0,t),e.F(t),n||Pt()),e.A&&(e.A(),e.A=void 0),512&e.i&&ie((()=>fe(e,!1))),e.i&=-517},Pt=()=>{ie((()=>St(_,"appload",{detail:{namespace:"gids-core-web"}})))},F=(e,t,o,n)=>{if(e&&e[t])try{return e[t](o)}catch(s){I(s,n)}},At=e=>e.classList.add("hydrated"),We=(e,t,o,n)=>{const s=E(e);if(!s)return;const i=e,r=s.l.get(t),l=s.i,a=i;o=Te(o,n.t[t][0]);const c=Number.isNaN(r)&&Number.isNaN(o);if(o!==r&&!c){if(s.l.set(t,o),n.R){const u=n.R[t];u&&u.map((d=>{try{const[[f,p]]=Object.entries(d);(128&l||1&p)&&(a?a[f](o,r,t):s.T.push((()=>{s.D[f](o,r,t)})))}catch(f){I(f,i)}}))}if(2&l){if(a.componentShouldUpdate&&a.componentShouldUpdate(o,r,t)===!1&&!(16&l))return;16&l||fe(s,!1)}}},Et=(e,t)=>{var o,n;const s=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 i=Object.entries((o=t.t)!=null?o:{});i.map((([r,[l]])=>{if(31&l||32&l){const{get:a,set:c}=L(s,r)||{};a&&(t.t[r][0]|=2048),c&&(t.t[r][0]|=4096),Object.defineProperty(s,r,{get(){return a?a.apply(this):(u=r,E(this).l.get(u));var u},configurable:!0,enumerable:!0}),Object.defineProperty(s,r,{set(u){const d=E(this);if(d){if(c)return(32&l?this[r]:d.$hostElement$[r])===void 0&&d.l.get(r)&&(u=d.l.get(r)),c.apply(this,[Te(u,l)]),void We(this,r,u=32&l?this[r]:d.$hostElement$[r],t);We(this,r,u,t)}}})}}));{const r=new Map;s.attributeChangedCallback=function(l,a,c){N.jmp((()=>{var u;const d=r.get(l),f=E(this);if(this.hasOwnProperty(d),s.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==c)return;if(d==null){const v=f?.i;if(f&&v&&!(8&v)&&c!==a){const g=this,h=(u=t.R)==null?void 0:u[l];h?.forEach((C=>{const[[b,k]]=Object.entries(C);g[b]!=null&&(128&v||1&k)&&g[b].call(g,c,a,l)}))}return}const p=i.find((([v])=>v===d)),m=p&&4&p[1][0],w=m&&c===null&&this[d]===void 0;m&&(c=c!==null&&c!=="false");const S=Object.getOwnPropertyDescriptor(s,d);w||c==this[d]||S.get&&!S.set||(this[d]=c)}))},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.R)!=null?n:{}),...i.filter((([l,a])=>31&a[0])).map((([l,a])=>{var c;const u=a[1]||l;return r.set(u,l),512&a[0]&&((c=t._)==null||c.push([l,u])),u}))]))}}return e},Tt=(e,t)=>{const o={i:t[0],p:t[1]};try{o.t=t[2],o.R=Ee(e.R),o.H=e.H,o.P=e.P,o._=[];const n=e.prototype.connectedCallback,s=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((i,r)=>{const l={i:0,$hostElement$:i,o:r,l:new Map,U:new Map};l.W=new Promise((c=>l.F=c)),i["s-p"]=[],i["s-rc"]=[];const a=l;i.__stencil__getHostRef=()=>a,512&r.i&&ut(i,l)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){if(!E(this))return;this.__hasHostListenerAttached=!0}(i=>{if(!(1&N.i)){const r=E(i);if(!r)return;const l=r.o;if(1&r.i)r?.D||r?.W&&r.W.then((()=>{}));else{r.i|=1,12&l.i&&(a=>{if(!_.document)return;const c=a["s-cr"]=_.document.createComment("");c["s-cn"]=!0,j(a,c,a.firstChild)})(i);{let a=i;for(;a=a.parentNode||a.host;)if(a["s-p"]){qe(r,r.C=a);break}}l.t&&Object.entries(l.t).map((([a,[c]])=>{if(31&c&&Object.prototype.hasOwnProperty.call(i,a)){const u=i[a];delete i[a],i[a]=u}})),(async(a,c,u)=>{let d;try{if(!(32&c.i)&&(c.i|=32,d=a.constructor,customElements.whenDefined(a.localName).then((()=>c.i|=128)),d&&d.style)){let m;typeof d.style=="string"&&(m=d.style);const w=Pe(u);z.has(w)||((S,v,g)=>{let h=z.get(S);te&&g?(h=h||new CSSStyleSheet,typeof h=="string"?h=v:h.replaceSync(v)):h=v,z.set(S,h)})(w,m,!!(1&u.i))}const f=c.C,p=()=>fe(c,!0);f&&f["s-rc"]?f["s-rc"].push(p):p()}catch(f){I(f,a),c.A&&(c.A(),c.A=void 0),c.F&&c.F(a)}})(i,r,l)}}})(this),n&&n.call(this)},disconnectedCallback(){(async i=>{1&N.i||E(i),T.has(i)&&T.delete(i),i.shadowRoot&&T.has(i.shadowRoot)&&T.delete(i.shadowRoot)})(this),s&&s.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${o.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else ht.call(this,o)}}),Object.defineProperty(e,"is",{value:o.p,configurable:!0}),Et(e,o)}catch(n){return I(n),e}},Mt=(e,t)=>t;function vn(e){return e}const B=globalThis.CSSStyleSheet!==void 0?new CSSStyleSheet:void 0;let ze=!1;B&&document.adoptedStyleSheets?document.adoptedStyleSheets.push(B):console.warn("CSSStyleSheet is not defined. Omitting constructed stylesheet behaviour.");let pe=null;const he=globalThis.MutationObserver!==void 0?new MutationObserver((()=>{Ve()})):void 0,Ve=()=>{if(B===void 0)return!1;const e=(()=>{if(B===void 0)return;const t=[];for(let o=0;o<document.styleSheets.length;o++){const n=document.styleSheets.item(o);if(n)try{let s=-1,i=0;for(let r=0;r<n.cssRules.length;r++){const l=n.cssRules.item(r);if(l?.cssText.startsWith("gids-global-styles-start"))s=r;else if(s>-1){if(l?.cssText.startsWith("gids-global-styles-end")){i=r-s+1;break}t.push(l)}}if(s>-1)return{rulesStartIndex:s,originalRulesCount:i,rules:t,styleSheet:n}}catch(s){if(!(s instanceof DOMException))throw s}}})();if(e!==void 0){const t=e.styleSheet.ownerNode;return he!==void 0&&t!==pe&&(pe&&he.disconnect(),t instanceof Element&&he.observe(t,{childList:!0,characterData:!0,subtree:!0}),pe=t),B.replaceSync((o=>o.rules.map((n=>n.cssText)).join(""))(e)),(o=>{const{rulesStartIndex:n,originalRulesCount:s,styleSheet:i}=o;for(let r=0;r<s;r++)i.deleteRule(n)})(e),!0}return console.warn("refreshConstructedGidsStylesheet: Gids stylesheet is not found in document."),!1},Rt=()=>(ze||(ze=Ve()),B),Lt=e=>e===null?null:e?.parentElement?.closest("gids-overlay-provider")||null,Ye=({componentName:e="snackbar",timerInMs:t})=>t&&Number(t)>0?t:(o=>{const n=(()=>{const s=document.querySelector("gids-overlay-provider");if(!s||!s.shadowRoot)return 1;const i=s.shadowRoot.querySelectorAll(".gids-snackbar-container__content"),r=i[i.length-1];if(!r)return 1;const l=r.offsetHeight,a=getComputedStyle(r).lineHeight,c=a.endsWith("px")?parseFloat(a):0;return Math.ceil(c?l/c:1)})();return n===2?o==="snackbar"?5e3:8e3:n>=3?o==="snackbar"?7e3:1e4:o==="snackbar"?3e3:6e3})(e);function Xe(e){var t,o,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(o=Xe(e[t]))&&(n&&(n+=" "),n+=o)}else for(o in e)e[o]&&(n&&(n+=" "),n+=o);return n}function W(){for(var e,t,o=0,n="",s=arguments.length;o<s;o++)(e=arguments[o])&&(t=Xe(e))&&(n&&(n+=" "),n+=t);return n}const It=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerControlClassNames:({size:e,indeterminate:t,value:o},n)=>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},o,n)},Symbol.toStringTag,{value:"Module"})),Gt=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>W("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"})),Bt=Object.freeze(Object.defineProperty({__proto__:null,getGidsButtonClassNames:({appearance:e,size:t,width:o,destructive:n,loading:s},i,r)=>W("gids-button",{"gids-button--primary":e==="primary","gids-button--subtle":e==="subtle","gids-button--xs":t==="xs","gids-button--sm":t==="sm","gids-button--lg":t==="lg","gids-button--full-width":o==="full","gids-button--destructive":n,"gids-button--icon-only":i,"gids-button--loading":s},r)},Symbol.toStringTag,{value:"Module"})),J=64,Ue=10,Ke=J/2-Ue/2,Dt=J/2,ge=2*Math.PI*Ke,Qt=`0 0 ${J} ${J}`,Ht=Object.freeze(Object.defineProperty({__proto__:null,calculateStrokeDasharray:(e=0,t)=>{const o=typeof t=="number"&&t>0?t:1,s=Math.max(0,Math.min(o,e))/o*100,i=(ge*s/100).toFixed(2),r=(ge-parseFloat(i)).toFixed(2);return`${i} ${r}`},centerPosition:Dt,circumference:ge,radius:Ke,thickness:Ue,viewBox:Qt},Symbol.toStringTag,{value:"Module"})),qt=Object.freeze(Object.defineProperty({__proto__:null,getGidsSnackbarContainerClassNames:({appearance:e},t)=>W("gids-snackbar-container",{"gids-snackbar-container--appearance-information":e==="information","gids-snackbar-container--appearance-success":e==="success","gids-snackbar-container--appearance-warning":e==="warning","gids-snackbar-container--appearance-error":e==="error"},t),getSnackbarContainerIconNames:e=>{if(e)switch(e){case"information":return"information";case"warning":return"warning";case"error":return"danger";case"success":return"positive";default:return}}},Symbol.toStringTag,{value:"Module"})),Ze=e=>{switch(e){case"bottom-left":return"component-enter-bottom-left";case"bottom-right":return"component-enter-bottom-right";case"middle-left":return"component-enter-middle-left";case"middle-right":return"component-enter-middle-right";case"top-center":return"component-enter-top-center";case"top-left":return"component-enter-top-left";case"top-right":return"component-enter-top-right";default:return"component-enter-bottom-center"}},Je=e=>{switch(e){case"bottom-left":return"component-exit-bottom-left";case"bottom-right":return"component-exit-bottom-right";case"middle-left":return"component-exit-middle-left";case"middle-right":return"component-exit-middle-right";case"top-center":return"component-exit-top-center";case"top-left":return"component-exit-top-left";case"top-right":return"component-exit-top-right";default:return"component-exit-bottom-center"}},Ft=Object.freeze(Object.defineProperty({__proto__:null,getComponentClasses:({position:e,id:t,exitingComponents:o})=>o.includes(t)?Je(e):Ze(e),getComponentEntryClasses:Ze,getComponentExitClasses:Je,getComponentStackClasses:({position:e})=>{switch(e){case"bottom-left":return"common-component-stack component-stack-bottom-left";case"bottom-right":return"common-component-stack component-stack-bottom-right";case"middle-left":return"common-component-stack component-stack-middle-left";case"middle-right":return"common-component-stack component-stack-middle-right";case"top-center":return"common-component-stack component-stack-top-center";case"top-left":return"common-component-stack component-stack-top-left";case"top-right":return"common-component-stack component-stack-top-right";default:return"common-component-stack component-stack-bottom-center"}}},Symbol.toStringTag,{value:"Module"})),Wt=Object.freeze(Object.defineProperty({__proto__:null,getGidsNotificationContainerClassNames:({appearance:e},t)=>W("gids-notification-container",{"gids-notification-container--appearance-information":e==="information","gids-notification-container--appearance-success":e==="success","gids-notification-container--appearance-warning":e==="warning","gids-notification-container--appearance-error":e==="error"},t),getNotificationContainerIconNames:e=>{if(e)switch(e){case"information":return"information";case"warning":return"warning";case"error":return"danger";case"success":return"positive";default:return}}},Symbol.toStringTag,{value:"Module"})),ve=Symbol("defaultPath"),et=Symbol("pathSet"),be="gids-asset-paths-set";class zt extends EventTarget{#n=new Map;constructor(){super()}#e(t,o){this.#n.set(t,o)}#t(t){return this.#n.get(t)??null}#o=()=>{this.dispatchEvent(new Event(be))};haveAssetPathsBeenSet(){return this.#t(et)!==null}setAssetPaths(t,o){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(ve,t);else{for(const n in t)this.#e(n,t[n]);o&&this.#e(ve,o)}this.#e(et,"true"),setTimeout(this.#o,0)}}getAssetFilePath(t){const o=this.#t(t);if(o===null){const n=this.#t(ve);if(n!==null)return`${n}${n.endsWith("/")?"":"/"}${t}`}return o}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(be,t,{once:!0}),()=>{this.removeEventListener(be,t)}}}const ye=Symbol.for("GIDS"),Vt=()=>(globalThis[ye]===void 0&&(globalThis[ye]={assetPaths:{}}),globalThis[ye]),Yt=e=>{const t=Vt().assetPaths;return t[e]===void 0&&(t[e]=new zt),t[e]};function Se(){return Yt("@ganpatiinfo/gids-web-shared")}function Xt(){return Se().haveAssetPathsBeenSet()}function tt(e){return Se().getAssetFilePath(e)}function Ut(e){return Se().onAssetPathsSet(e)}let Kt=0;const Zt=(e,t="gids")=>e||`${t}-${Kt++}`,nt=e=>e!==void 0&&(!Array.isArray(e)||e.length>0),ot={"icons-other.svg":["accessibility","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","key","link","list","location","lock","map","maximise","microphone","minimise","mobile","moon","network","neutral","new","new-chat","pause","percent","placeholder","play","power","rain","refresh","repeat","sad","save","savings","shield","shuffle","side-navigation","snow","speaker","stop","sun","tablet","temperature","thumbs-down","thumbs-up","travel","trend-down","trend-up","unlock","upset","verified","very-happy","video","volume-down","volume-max","volume-min","volume-mute","volume-up","wallet","wealth","wi-fi","wind"],"icons-core.svg":["arrow-down","arrow-left","arrow-right","arrow-up","attachment","checkmark","chevron-down","chevron-horizontal","chevron-left","chevron-right","chevron-up","chevron-vertical","copy","cross","danger","dashboard","delete","document","download","drag","edit","external","eye","filter","grid","hide","home","information","log-in","log-out","menu","minus","more","notifications","options","phone","plus","positive","printer","question","search","select","select-all","send","settings","share","star","time","upload","user","users","warning"]},st=new Map;for(const e in ot)for(const t of ot[e])st.set(t,e);function Jt(e){return st.get(e)}function it(e,t="regular",o){const n=Jt(e);let s=n??"";return o&&n&&(s=o(n)??n),`${s}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:en}=Gt,we=({name:e,size:t,appearance:o,alt:n,class:s,titleId:i,src:r,...l})=>{const a=Zt(i);let c=r;return c===void 0&&Xt()&&(c=it(e,o,tt)),y("svg",{ref:u=>{c===void 0&&Ut((()=>{(function(d,f,p){if(!d)return;const m=document.createElementNS("http://www.w3.org/2000/svg","use");m.setAttribute("href",it(f,p,tt)),d.appendChild(m)})(u,e,o)}))},width:"16",height:"16",class:en({size:t},s),role:"img","aria-hidden":n===""?"true":void 0,"aria-labelledby":n===""?void 0:a,...l},n!==""&&y("title",{id:a},n||e),c!==void 0?y("use",{href:c}):null)},{getGidsSpinnerControlClassNames:tn}=It,{calculateStrokeDasharray:nn,thickness:rt,radius:at,centerPosition:ee,viewBox:on}=Ht,sn=({size:e,indeterminate:t,value:o,max:n,...s})=>{let i;return t||(i={strokeDashArray:nn(o,n||0),strokeDashoffset:"0"}),y("svg",{class:tn({size:e,indeterminate:t,value:o}),viewBox:on,...s},y("circle",{class:"gids-spinner-control__track",cx:ee,cy:ee,r:at,"stroke-width":rt}),y("circle",{style:i,class:"gids-spinner-control__progress",cx:ee,cy:ee,r:at,"stroke-width":rt}))},{getGidsButtonClassNames:rn}=Bt,_e=({appearance:e,size:t,destructive:o,loading:n,width:s,leadingIcon:i,trailingIcon:r,as:l,disabled:a,class:c,forceIconOnly:u=!1,...d},f)=>{const p=l||"button",m=t==="lg"||t===void 0?"md":t;return p!=="button"||"type"in d||(d.type="button"),y(p,{class:rn({appearance:e,size:t,destructive:o,loading:n,width:s},u||f.length===0&&nt(i)&&!nt(r),c),disabled:p==="button"?a:void 0,...d},y("span",{class:"gids-button__content"},i,f),n&&y(sn,{size:m,indeterminate:!0}),r)},{getGidsSnackbarContainerClassNames:an,getSnackbarContainerIconNames:ln}=qt,cn=({appearance:e="default",children:t,button:o,class:n,...s})=>{const i=ln(e);return y("div",{...s,class:an({appearance:e},n)},y("div",{class:"gids-snackbar-container__content"},e!=="default"&&i!=null?y(we,{name:i,alt:"",appearance:"filled",size:"md",class:"gids-snackbar-container__icon"}):null,typeof t=="string"?y("p",null,t):t),o)},{getGidsNotificationContainerClassNames:dn,getNotificationContainerIconNames:un}=Wt,mn=({notificationTitle:e,children:t,button:o,appearance:n="default",pronunciation:s="standard",onCloseNotificationClick:i,class:r,...l})=>{const a=un(n);return y("div",{class:dn({appearance:n},r),...l},n!=="default"&&a?y("div",{class:"gids-notification-container__leading-icon-wrapper"},y(we,{size:"md",name:a,alt:"",appearance:"filled"})):null,y("div",{class:"gids-notification-container__content-wrapper"},y("div",{class:"gids-notification-container__top-content"},y("div",{class:"gids-notification-container__text-content"},e!=null&&e!==""?y("span",{class:"gids-notification-container__title"},e):null,t?typeof t=="string"?y("p",null,t):t:null),s==="standard"?y("div",{class:"gids-notification-container__cross-btn-wrapper"},y(_e,{size:"sm",appearance:"subtle",width:"intrinsic",leadingIcon:y(we,{name:"cross",size:"md",appearance:"regular"}),onClick:i})):null),o?y("div",{class:"gids-notification-container__bottom-content"},o):null))},{getComponentClasses:fn,getComponentStackClasses:pn}=Ft,lt=Tt(class extends mt{constructor(e){super(),e!==!1&&this.__registerHost(),this.__attachShadow(),this._parentOverlayProvider=null,this._componentQueue=[],this._allowedComponentQueue=[],this._exitingComponents=[],this._renderSnackbar=(t,o)=>{const{id:n,message:s,appearance:i,buttonLabel:r,onButtonClick:l}=t;return console.log("_renderSnackbar_called"),y(cn,{key:n,class:o,children:s,appearance:i,button:r!=null&&r!==""?y(_e,{appearance:"subtle",onClick:l},r):void 0})},this._renderNotification=(t,o)=>{const{id:n,notificationTitle:s,message:i,pronunciation:r,appearance:l,buttonLabel:a,onButtonClick:c,timerInMs:u}=t;return y(mn,{key:n,class:o,notificationTitle:s,children:i,pronunciation:r,appearance:l,onCloseNotificationClick:()=>this.removeComponent(t,u||0,!0),button:a!=null&&a!==""?y(_e,{appearance:"default",size:"sm",onClick:c},a):void 0})},this._renderComponent=t=>{const{componentName:o,position:n="bottom-center",id:s}=t,i=fn({position:n,id:s,exitingComponents:this._exitingComponents});return console.log("_renderComponent_called",o),o==null||o==="snackbar"?this._renderSnackbar(t,i):o==="notification"?this._renderNotification(t,i):null}}connectedCallback(){const e=Rt();e!==void 0&&this._el.shadowRoot?.adoptedStyleSheets.push(e),this._parentOverlayProvider=Lt(this._el)}_isRoot(){return this._parentOverlayProvider===null}async getRootOverlayProvider(){return this._isRoot()?this._el:this._parentOverlayProvider}autoHide(e){return new Promise((t=>{const o=setTimeout((()=>(clearTimeout(o),t({isTimeout:!0}))),e)}))}async _queueSnackbar(e){const{appearance:t,message:o,buttonLabel:n,onButtonClick:s,position:i,componentName:r,...l}=e,a={id:""+(Date.now()+Math.random()),message:o,appearance:t,buttonLabel:n,onButtonClick:s,position:i,componentName:r,...l};console.log("component_1",a),this._componentQueue=[...this._componentQueue,a],this.processSingleComponentQueue()}async _queueNotification(e){const{appearance:t,notificationTitle:o,pronunciation:n,message:s,buttonLabel:i,onButtonClick:r,position:l,componentName:a,...c}=e,u={id:""+(Date.now()+Math.random()),notificationTitle:o,message:s,pronunciation:n,appearance:t,buttonLabel:i,onButtonClick:r,position:l,componentName:a,...c};this._componentQueue=[...this._componentQueue,u],this.processMultiComponentQueue()}async queueComponent(e){if(await this._isRoot()){const{componentName:t}=e;t!=null&&t!=="snackbar"||this._queueSnackbar(e),t==="notification"&&this._queueNotification(e)}else(await this.getRootOverlayProvider()).queueComponent(e)}async removeComponent(e,t,o){return o||await this.autoHide(t),this._exitingComponents=[...this._exitingComponents,e.id],new Promise((n=>{setTimeout((()=>{this._componentQueue=this._componentQueue.filter((s=>s.id!==e.id)),this._exitingComponents=this._exitingComponents.filter((s=>s!==e.id)),this._allowedComponentQueue=[],n()}),500)}))}async processSingleComponentQueue(){if(this._componentQueue.length===0)return;const e=this._componentQueue[0];if(!e)return;this._allowedComponentQueue=[e],await new Promise((o=>requestAnimationFrame((()=>o()))));const t=Ye({componentName:e?.componentName??"snackbar",timerInMs:e?.timerInMs??0});await this.removeComponent(e,t,!1),this.processSingleComponentQueue()}async processMultiComponentQueue(){const e=this._componentQueue;e.length!==0&&(this._allowedComponentQueue=e,await new Promise((t=>requestAnimationFrame((()=>t())))),this._allowedComponentQueue.map((async t=>{const o=Ye({componentName:t?.componentName??"snackbar",timerInMs:t?.timerInMs??0});await this.removeComponent(t,o,!1)})),this.processMultiComponentQueue())}render(){const e=this._allowedComponentQueue[0]?.position||"bottom-center";return y(Mt,{key:"41dc60790fe64bf9e0daa2da5fd6c39f30d8ceac"},y("slot",{key:"a480a4344336cbbf75ac3bc771c9416d27d9d742"}),this._isRoot()?y("div",{class:pn({position:e})},[...this._allowedComponentQueue].reverse().map((t=>this._renderComponent(t)))):null)}get _el(){return this}static get style(){return".common-component-stack{display:flex;flex-direction:column;position:fixed;gap:var(--gids-gap-200);min-width:var(--gids-width-2-xs);max-width:var(--gids-width-md);width:100%}.component-stack-bottom-left{justify-self:left;bottom:var(--gids-padding-vertical-edge-to-element-250);left:var(--gids-padding-vertical-edge-to-element-250)}.component-stack-bottom-right{justify-self:right;bottom:var(--gids-padding-vertical-edge-to-element-250);right:var(--gids-padding-vertical-edge-to-element-250)}.component-stack-middle-left{top:50%;justify-self:left;align-self:center;left:var(--gids-padding-vertical-edge-to-element-250)}.component-stack-middle-right{top:50%;justify-self:right;align-self:center;right:var(--gids-padding-vertical-edge-to-element-250)}.component-stack-top-center{justify-self:center;top:var(--gids-padding-vertical-edge-to-element-250)}.component-stack-top-left{justify-self:left;top:var(--gids-padding-vertical-edge-to-element-250);left:var(--gids-padding-vertical-edge-to-element-250)}.component-stack-top-right{justify-self:right;top:var(--gids-padding-vertical-edge-to-element-250);right:var(--gids-padding-vertical-edge-to-element-250)}.component-stack-bottom-center{justify-self:center;bottom:var(--gids-padding-vertical-edge-to-element-250)}.component-enter-bottom-left{animation-name:left-to-right-visible;animation-duration:0.3s;animation-fill-mode:forwards}.component-enter-bottom-right{animation-name:right-to-left-visible;animation-duration:0.3s;animation-fill-mode:forwards}.component-enter-middle-left{animation-name:left-to-right-visible;animation-duration:0.3s;animation-fill-mode:forwards}.component-enter-middle-right{animation-name:right-to-left-visible;animation-duration:0.3s;animation-fill-mode:forwards}.component-enter-top-center{animation-name:slide-up-invisible;animation-duration:0.3s;animation-fill-mode:forwards}.component-enter-top-left{animation-name:left-to-right-visible;animation-duration:0.3s;animation-fill-mode:forwards}.component-enter-top-right{animation-name:right-to-left-visible;animation-duration:0.3s;animation-fill-mode:forwards}.component-enter-bottom-center{animation-name:slide-up-visible;animation-duration:0.3s;animation-fill-mode:forwards}.component-exit-bottom-left{animation-name:right-to-left-invisible;animation-duration:0.3s;animation-fill-mode:forwards}.component-exit-bottom-right{animation-name:left-to-right-invisible;animation-duration:0.3s;animation-fill-mode:forwards}.component-exit-middle-left{animation-name:right-to-left-invisible;animation-duration:0.3s;animation-fill-mode:forwards}.component-exit-middle-right{animation-name:left-to-right-invisible;animation-duration:0.3s;animation-fill-mode:forwards}.component-exit-top-center{animation-name:slide-down-visible;animation-duration:0.3s;animation-fill-mode:forwards}.component-exit-top-left{animation-name:right-to-left-invisible;animation-duration:0.3s;animation-fill-mode:forwards}.component-exit-top-right{animation-name:left-to-right-invisible;animation-duration:0.3s;animation-fill-mode:forwards}.component-exit-bottom-center{animation-name:slide-down-invisible;animation-duration:0.3s;animation-fill-mode:forwards}@keyframes slide-up-visible{0%{opacity:0;transform:translateY(100%)}100%{opacity:1;transform:translateY(0)}}@keyframes slide-down-invisible{0%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(100%)}}@keyframes slide-up-invisible{0%{opacity:0;transform:translateY(-100%)}100%{opacity:1;transform:translateY(0)}}@keyframes slide-down-visible{0%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(-100%)}}@keyframes left-to-right-visible{0%{opacity:0;transform:translateX(-100%)}100%{opacity:1;transform:translateX(0)}}@keyframes right-to-left-invisible{0%{opacity:1;transform:translateX(0)}100%{opacity:0;transform:translateX(-100%)}}@keyframes right-to-left-visible{0%{opacity:0;transform:translateX(100%)}100%{opacity:1;transform:translateX(0)}}@keyframes left-to-right-invisible{0%{opacity:1;transform:translateX(0)}100%{opacity:0;transform:translateX(100%)}}"}},[257,"gids-overlay-provider",{_componentQueue:[32],_allowedComponentQueue:[32],_exitingComponents:[32],queueComponent:[64]}]);function ct(){typeof customElements<"u"&&["gids-overlay-provider"].forEach((e=>{e==="gids-overlay-provider"&&(customElements.get(e)||customElements.define(e,lt))}))}ct();const hn=lt,gn=ct;M.GidsOverlayProvider=hn,M.defineCustomElement=gn,Object.defineProperty(M,Symbol.toStringTag,{value:"Module"})}));
|
|
5
|
+
`);const w=this["s-cr"].parentElement;return(w.__childNodes?w.childNodes:(S=>{const v=[];for(let g=0;g<S.length;g++){const h=S[g]["s-nr"]||void 0;h&&h.isConnected&&v.push(h)}return v})(w.childNodes)).forEach((S=>{m===Q(S)&&p.push(S)})),d?p.filter((S=>S.nodeType===1)):p}).bind(c);c.assignedElements=u(!0),c.assignedNodes=u(!1)})(i),l=e&&e.m&&e.m[o],l&&l.O===s.O&&e.S&&Ge(e.S)),i},Ge=e=>{N.i|=1;const t=e.closest(R.toLowerCase());if(t!=null){const o=Array.from(t.__childNodes||t.childNodes).find((s=>s["s-cr"])),n=Array.from(e.__childNodes||e.childNodes);for(const s of o?n.reverse():n)s["s-sh"]!=null&&(j(t,s,o??null),s["s-sh"]=void 0,X=!0)}N.i&=-2},K=(e,t)=>{N.i|=1;const o=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]){let n=e;for(;n=n.nextSibling;)n&&n["s-sn"]===e["s-sn"]&&n["s-sh"]===R&&o.push(n)}for(let n=o.length-1;n>=0;n--){const s=o[n];s["s-hn"]!==R&&s["s-ol"]&&(j(q(s).parentNode,s,q(s)),s["s-ol"].remove(),s["s-ol"]=void 0,s["s-sh"]=void 0,X=!0),t&&K(s,t)}N.i&=-2},Be=(e,t,o,n,s,i)=>{let r,l=e["s-cr"]&&e["s-cr"].parentNode||e;for(l.shadowRoot&&l.tagName===R&&(l=l.shadowRoot),o.O==="template"&&(l=l.content);s<=i;++s)n[s]&&(r=U(null,o,s),r&&(n[s].S=r,j(l,r,q(t))))},De=(e,t,o)=>{for(let n=t;n<=o;++n){const s=e[n];if(s){const i=s.S;He(s),i&&(Y=!0,i["s-ol"]?i["s-ol"].remove():K(i,!0),i.remove())}}},Z=(e,t,o=!1)=>e.O===t.O&&(e.O==="slot"?e.j===t.j:o?(o&&!e.$&&t.$&&(e.$=t.$),!0):e.$===t.$),q=e=>e&&e["s-ol"]||e,G=(e,t,o=!1)=>{const n=t.S=e.S,s=e.m,i=t.m,r=t.O,l=t.h;let a;l==null?(x=r==="svg"||r!=="foreignObject"&&x,r!=="slot"||H||e.j!==t.j&&(t.S["s-sn"]=t.j||"",Ge(t.S.parentElement)),de(e,t,x),s!==null&&i!==null?((c,u,d,f,p=!1)=>{let m,w,S=0,v=0,g=0,h=0,C=u.length-1,b=u[0],k=u[C],$=f.length-1,O=f[0],P=f[$];const dt=d.O==="template"?c.content:c;for(;S<=C&&v<=$;)if(b==null)b=u[++S];else if(k==null)k=u[--C];else if(O==null)O=f[++v];else if(P==null)P=f[--$];else if(Z(b,O,p))G(b,O,p),b=u[++S],O=f[++v];else if(Z(k,P,p))G(k,P,p),k=u[--C],P=f[--$];else if(Z(b,P,p))b.O!=="slot"&&P.O!=="slot"||K(b.S.parentNode,!1),G(b,P,p),j(dt,b.S,k.S.nextSibling),b=u[++S],P=f[--$];else if(Z(k,O,p))b.O!=="slot"&&P.O!=="slot"||K(k.S.parentNode,!1),G(k,O,p),j(dt,k.S,b.S),k=u[--C],O=f[++v];else{for(g=-1,h=S;h<=C;++h)if(u[h]&&u[h].$!==null&&u[h].$===O.$){g=h;break}g>=0?(w=u[g],w.O!==O.O?m=U(u&&u[v],d,g):(G(w,O,p),u[g]=void 0,m=w.S),O=f[++v]):(m=U(u&&u[v],d,v),O=f[++v]),m&&j(q(b.S).parentNode,m,q(b.S))}S>C?Be(c,f[$+1]==null?null:f[$+1].S,d,f,v,$):v>$&&De(u,S,C)})(n,s,t,i,o):i!==null?(e.h!==null&&(n.textContent=""),Be(n,null,t,i,0,i.length-1)):!o&&s!==null&&De(s,0,s.length-1),x&&r==="svg"&&(x=!1)):(a=n["s-cr"])?a.parentNode.textContent=l:e.h!==l&&(n.data=l)},A=[],Qe=e=>{let t,o,n;const s=e.__childNodes||e.childNodes;for(const i of s){if(i["s-sr"]&&(t=i["s-cr"])&&t.parentNode){o=t.parentNode.__childNodes||t.parentNode.childNodes;const r=i["s-sn"];for(n=o.length-1;n>=0;n--)if(t=o[n],!(t["s-cn"]||t["s-nr"]||t["s-hn"]===i["s-hn"]||t["s-sh"]&&t["s-sh"]===i["s-hn"]))if(je(t,r)){let l=A.find((a=>a.k===t));Y=!0,t["s-sn"]=t["s-sn"]||r,l?(l.k["s-sh"]=i["s-hn"],l.N=i):(t["s-sh"]=i["s-hn"],A.push({N:i,k:t})),t["s-sr"]&&A.map((a=>{je(a.k,t["s-sn"])&&(l=A.find((c=>c.k===t)),l&&!a.N&&(a.N=l.N))}))}else A.some((l=>l.k===t))||A.push({k:t})}i.nodeType===1&&Qe(i)}},He=e=>{e.v&&e.v.ref&&ue.push((()=>e.v.ref(null))),e.m&&e.m.map(He)},kt=(e,t)=>{me.push((()=>e(t)))},j=(e,t,o,n)=>{if(typeof t["s-sn"]=="string"){e.insertBefore(t,o);const{slotNode:s}=(function(i,r){var l;if(!(r=r||((l=i["s-ol"])==null?void 0:l.parentElement)))return{slotNode:null,slotName:""};const a=i["s-sn"]=Q(i)||"";return{slotNode:re(ae(r,"childNodes"),r.tagName,a)[0],slotName:a}})(t);return s&&!n&&s.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1})),t}return e.__insertBefore?e.__insertBefore(t,o):e?.insertBefore(t,o)},Ct=(e,t,o=!1)=>{var n,s,i,r,l;const a=e.$hostElement$,c=e.o,u=e.M||V(null,null);var d;const f=(d=t)&&d.O===vt?t:y(null,null,t);if(R=a.tagName,c._&&(f.v=f.v||{},c._.forEach((([p,m])=>{f.v[m]=a[p]}))),o&&f.v)for(const p of Object.keys(f.v))a.hasAttribute(p)&&!["key","ref","style","class"].includes(p)&&(f.v[p]=a[p]);if(f.O=null,f.i|=4,e.M=f,f.S=u.S=a.shadowRoot||a,H=!(!(1&c.i)||128&c.i),le=a["s-cr"],Y=!1,G(u,f,o),N.i|=1,X){Qe(f.S);for(const p of A){const m=p.k;if(!m["s-ol"]&&_.document){const w=_.document.createTextNode("");w["s-nr"]=m,j(m.parentNode,m["s-ol"]=w,m,o)}}for(const p of A){const m=p.k,w=p.N;if(m.nodeType===1&&o&&(m["s-ih"]=(n=m.hidden)!=null&&n),w){const S=w.parentNode;let v=w.nextSibling;if(v&&v.nodeType===1){let g=(s=m["s-ol"])==null?void 0:s.previousSibling;for(;g;){let h=(i=g["s-nr"])!=null?i:null;if(h&&h["s-sn"]===m["s-sn"]&&S===(h.__parentNode||h.parentNode)){for(h=h.nextSibling;h===m||h?.["s-sr"];)h=h?.nextSibling;if(!h||!h["s-nr"]){v=h;break}}g=g.previousSibling}}if((!v&&S!==(m.__parentNode||m.parentNode)||(m.__nextSibling||m.nextSibling)!==v)&&m!==v){if(j(S,m,v,o),m.nodeType===8&&m.nodeValue.startsWith("s-nt-")){const g=_.document.createTextNode(m.nodeValue.replace(/^s-nt-/,""));g["s-hn"]=m["s-hn"],g["s-sn"]=m["s-sn"],g["s-sh"]=m["s-sh"],g["s-sr"]=m["s-sr"],g["s-ol"]=m["s-ol"],g["s-ol"]["s-nr"]=g,j(m.parentNode,g,m,o),m.parentNode.removeChild(m)}m.nodeType===1&&m.tagName!=="SLOT-FB"&&(m.hidden=(r=m["s-ih"])!=null&&r)}m&&typeof w["s-rf"]=="function"&&w["s-rf"](w)}else m.nodeType===1&&(m.hidden=!0)}}if(Y&&$e(f.S),N.i&=-2,A.length=0,!H&&!(1&c.i)&&a["s-cr"]){const p=f.S.__childNodes||f.S.childNodes;for(const m of p)if(m["s-hn"]!==R&&!m["s-sh"]){if(o&&m["s-ih"]==null&&(m["s-ih"]=(l=m.hidden)!=null&&l),m.nodeType===1)m.hidden=!0;else if(m.nodeType===3&&m.nodeValue.trim()){const w=_.document.createComment("s-nt-"+m.nodeValue);w["s-sn"]=m["s-sn"],j(m.parentNode,w,m,o),m.parentNode.removeChild(m)}}}le=void 0,ue.forEach((p=>p())),ue.length=0,me.forEach((p=>p())),me.length=0},qe=(e,t)=>{if(t&&!e.A&&t["s-p"]){const o=t["s-p"].push(new Promise((n=>e.A=()=>{t["s-p"].splice(o-1,1),n()})))}},fe=(e,t)=>{if(e.i|=16,4&e.i)return void(e.i|=512);qe(e,e.C);const o=()=>Nt(e,t);if(!t)return pt(o);queueMicrotask((()=>{o()}))},Nt=(e,t)=>{const o=e.$hostElement$,n=o;if(!n)throw new Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let s;return s=F(n,t?"componentWillLoad":"componentWillUpdate",void 0,o),s=Fe(s,(()=>F(n,"componentWillRender",void 0,o))),Fe(s,(()=>Ot(e,n,t)))},Fe=(e,t)=>xt(e)?e.then(t).catch((o=>{console.error(o),t()})):t(),xt=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Ot=async(e,t,o)=>{var n;const s=e.$hostElement$,i=s["s-rc"];o&&(r=>{const l=r.o,a=r.$hostElement$,c=l.i,u=((d,f)=>{var p,m,w;const S=Pe(f),v=z.get(S);if(!_.document)return S;if(d=d.nodeType===11?d:_.document,v)if(typeof v=="string"){let g,h=T.get(d=d.head||d);if(h||T.set(d,h=new Set),!h.has(S)){g=_.document.createElement("style"),g.textContent=v;const C=(p=N.L)!=null?p:(function(){var b,k,$;return($=(k=(b=_.document.head)==null?void 0:b.querySelector('meta[name="csp-nonce"]'))==null?void 0:k.getAttribute("content"))!=null?$:void 0})();if(C!=null&&g.setAttribute("nonce",C),!(1&f.i))if(d.nodeName==="HEAD"){const b=d.querySelectorAll("link[rel=preconnect]"),k=b.length>0?b[b.length-1].nextSibling:d.querySelector("style");d.insertBefore(g,k?.parentNode===d?k:null)}else if("host"in d)if(te){const b=new((m=d.defaultView)!=null?m:d.ownerDocument.defaultView).CSSStyleSheet;b.replaceSync(v),ne?d.adoptedStyleSheets.unshift(b):d.adoptedStyleSheets=[b,...d.adoptedStyleSheets]}else{const b=d.querySelector("style");b?b.textContent=v+b.textContent:d.prepend(g)}else d.append(g);1&f.i&&d.insertBefore(g,null),4&f.i&&(g.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),h&&h.add(S)}}else{let g=T.get(d);if(g||T.set(d,g=new Set),!g.has(S)){const h=(w=d.defaultView)!=null?w:d.ownerDocument.defaultView;let C;if(v.constructor===h.CSSStyleSheet)C=v;else{C=new h.CSSStyleSheet;for(let b=0;b<v.cssRules.length;b++)C.insertRule(v.cssRules[b].cssText,b)}ne?d.adoptedStyleSheets.push(C):d.adoptedStyleSheets=[...d.adoptedStyleSheets,C],g.add(S)}}return S})(a.shadowRoot?a.shadowRoot:a.getRootNode(),l);10&c&&(a["s-sc"]=u,a.classList.add(u+"-h"))})(e),$t(e,t,s,o),i&&(i.map((r=>r())),s["s-rc"]=void 0);{const r=(n=s["s-p"])!=null?n:[],l=()=>jt(e);r.length===0?l():(Promise.all(r).then(l).catch(l),e.i|=4,r.length=0)}},$t=(e,t,o,n)=>{try{t=t.render(),e.i&=-17,e.i|=2,Ct(e,t,n)}catch(s){I(s,e.$hostElement$)}return null},jt=e=>{const t=e.$hostElement$,o=t,n=e.C;F(o,"componentDidRender",void 0,t),64&e.i?F(o,"componentDidUpdate",void 0,t):(e.i|=64,At(t),F(o,"componentDidLoad",void 0,t),e.F(t),n||Pt()),e.A&&(e.A(),e.A=void 0),512&e.i&&ie((()=>fe(e,!1))),e.i&=-517},Pt=()=>{ie((()=>St(_,"appload",{detail:{namespace:"gids-core-web"}})))},F=(e,t,o,n)=>{if(e&&e[t])try{return e[t](o)}catch(s){I(s,n)}},At=e=>e.classList.add("hydrated"),We=(e,t,o,n)=>{const s=E(e);if(!s)return;const i=e,r=s.l.get(t),l=s.i,a=i;o=Te(o,n.t[t][0]);const c=Number.isNaN(r)&&Number.isNaN(o);if(o!==r&&!c){if(s.l.set(t,o),n.R){const u=n.R[t];u&&u.map((d=>{try{const[[f,p]]=Object.entries(d);(128&l||1&p)&&(a?a[f](o,r,t):s.T.push((()=>{s.D[f](o,r,t)})))}catch(f){I(f,i)}}))}if(2&l){if(a.componentShouldUpdate&&a.componentShouldUpdate(o,r,t)===!1&&!(16&l))return;16&l||fe(s,!1)}}},Et=(e,t)=>{var o,n;const s=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 i=Object.entries((o=t.t)!=null?o:{});i.map((([r,[l]])=>{if(31&l||32&l){const{get:a,set:c}=L(s,r)||{};a&&(t.t[r][0]|=2048),c&&(t.t[r][0]|=4096),Object.defineProperty(s,r,{get(){return a?a.apply(this):(u=r,E(this).l.get(u));var u},configurable:!0,enumerable:!0}),Object.defineProperty(s,r,{set(u){const d=E(this);if(d){if(c)return(32&l?this[r]:d.$hostElement$[r])===void 0&&d.l.get(r)&&(u=d.l.get(r)),c.apply(this,[Te(u,l)]),void We(this,r,u=32&l?this[r]:d.$hostElement$[r],t);We(this,r,u,t)}}})}}));{const r=new Map;s.attributeChangedCallback=function(l,a,c){N.jmp((()=>{var u;const d=r.get(l),f=E(this);if(this.hasOwnProperty(d),s.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==c)return;if(d==null){const v=f?.i;if(f&&v&&!(8&v)&&c!==a){const g=this,h=(u=t.R)==null?void 0:u[l];h?.forEach((C=>{const[[b,k]]=Object.entries(C);g[b]!=null&&(128&v||1&k)&&g[b].call(g,c,a,l)}))}return}const p=i.find((([v])=>v===d)),m=p&&4&p[1][0],w=m&&c===null&&this[d]===void 0;m&&(c=c!==null&&c!=="false");const S=Object.getOwnPropertyDescriptor(s,d);w||c==this[d]||S.get&&!S.set||(this[d]=c)}))},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.R)!=null?n:{}),...i.filter((([l,a])=>31&a[0])).map((([l,a])=>{var c;const u=a[1]||l;return r.set(u,l),512&a[0]&&((c=t._)==null||c.push([l,u])),u}))]))}}return e},Tt=(e,t)=>{const o={i:t[0],p:t[1]};try{o.t=t[2],o.R=Ee(e.R),o.H=e.H,o.P=e.P,o._=[];const n=e.prototype.connectedCallback,s=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((i,r)=>{const l={i:0,$hostElement$:i,o:r,l:new Map,U:new Map};l.W=new Promise((c=>l.F=c)),i["s-p"]=[],i["s-rc"]=[];const a=l;i.__stencil__getHostRef=()=>a,512&r.i&&ut(i,l)})(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){if(!E(this))return;this.__hasHostListenerAttached=!0}(i=>{if(!(1&N.i)){const r=E(i);if(!r)return;const l=r.o;if(1&r.i)r?.D||r?.W&&r.W.then((()=>{}));else{r.i|=1,12&l.i&&(a=>{if(!_.document)return;const c=a["s-cr"]=_.document.createComment("");c["s-cn"]=!0,j(a,c,a.firstChild)})(i);{let a=i;for(;a=a.parentNode||a.host;)if(a["s-p"]){qe(r,r.C=a);break}}l.t&&Object.entries(l.t).map((([a,[c]])=>{if(31&c&&Object.prototype.hasOwnProperty.call(i,a)){const u=i[a];delete i[a],i[a]=u}})),(async(a,c,u)=>{let d;try{if(!(32&c.i)&&(c.i|=32,d=a.constructor,customElements.whenDefined(a.localName).then((()=>c.i|=128)),d&&d.style)){let m;typeof d.style=="string"&&(m=d.style);const w=Pe(u);z.has(w)||((S,v,g)=>{let h=z.get(S);te&&g?(h=h||new CSSStyleSheet,typeof h=="string"?h=v:h.replaceSync(v)):h=v,z.set(S,h)})(w,m,!!(1&u.i))}const f=c.C,p=()=>fe(c,!0);f&&f["s-rc"]?f["s-rc"].push(p):p()}catch(f){I(f,a),c.A&&(c.A(),c.A=void 0),c.F&&c.F(a)}})(i,r,l)}}})(this),n&&n.call(this)},disconnectedCallback(){(async i=>{1&N.i||E(i),T.has(i)&&T.delete(i),i.shadowRoot&&T.has(i.shadowRoot)&&T.delete(i.shadowRoot)})(this),s&&s.call(this)},__attachShadow(){if(this.shadowRoot){if(this.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${o.p}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else ht.call(this,o)}}),Object.defineProperty(e,"is",{value:o.p,configurable:!0}),Et(e,o)}catch(n){return I(n),e}},Mt=(e,t)=>t;function vn(e){return e}const B=globalThis.CSSStyleSheet!==void 0?new CSSStyleSheet:void 0;let ze=!1;B&&document.adoptedStyleSheets?document.adoptedStyleSheets.push(B):console.warn("CSSStyleSheet is not defined. Omitting constructed stylesheet behaviour.");let pe=null;const he=globalThis.MutationObserver!==void 0?new MutationObserver((()=>{Ve()})):void 0,Ve=()=>{if(B===void 0)return!1;const e=(()=>{if(B===void 0)return;const t=[];for(let o=0;o<document.styleSheets.length;o++){const n=document.styleSheets.item(o);if(n)try{let s=-1,i=0;for(let r=0;r<n.cssRules.length;r++){const l=n.cssRules.item(r);if(l?.cssText.startsWith("gids-global-styles-start"))s=r;else if(s>-1){if(l?.cssText.startsWith("gids-global-styles-end")){i=r-s+1;break}t.push(l)}}if(s>-1)return{rulesStartIndex:s,originalRulesCount:i,rules:t,styleSheet:n}}catch(s){if(!(s instanceof DOMException))throw s}}})();if(e!==void 0){const t=e.styleSheet.ownerNode;return he!==void 0&&t!==pe&&(pe&&he.disconnect(),t instanceof Element&&he.observe(t,{childList:!0,characterData:!0,subtree:!0}),pe=t),B.replaceSync((o=>o.rules.map((n=>n.cssText)).join(""))(e)),(o=>{const{rulesStartIndex:n,originalRulesCount:s,styleSheet:i}=o;for(let r=0;r<s;r++)i.deleteRule(n)})(e),!0}return console.warn("refreshConstructedGidsStylesheet: Gids stylesheet is not found in document."),!1},Rt=()=>(ze||(ze=Ve()),B),Lt=e=>e===null?null:e?.parentElement?.closest("gids-overlay-provider")||null,Ye=({componentName:e="snackbar",timerInMs:t})=>t&&Number(t)>0?t:(o=>{const n=(()=>{const s=document.querySelector("gids-overlay-provider");if(!s||!s.shadowRoot)return 1;const i=s.shadowRoot.querySelectorAll(".gids-snackbar-container__content"),r=i[i.length-1];if(!r)return 1;const l=r.offsetHeight,a=getComputedStyle(r).lineHeight,c=a.endsWith("px")?parseFloat(a):0;return Math.ceil(c?l/c:1)})();return n===2?o==="snackbar"?5e3:8e3:n>=3?o==="snackbar"?7e3:1e4:o==="snackbar"?3e3:6e3})(e);function Xe(e){var t,o,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(o=Xe(e[t]))&&(n&&(n+=" "),n+=o)}else for(o in e)e[o]&&(n&&(n+=" "),n+=o);return n}function W(){for(var e,t,o=0,n="",s=arguments.length;o<s;o++)(e=arguments[o])&&(t=Xe(e))&&(n&&(n+=" "),n+=t);return n}const It=Object.freeze(Object.defineProperty({__proto__:null,getGidsSpinnerControlClassNames:({size:e,indeterminate:t,value:o},n)=>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},o,n)},Symbol.toStringTag,{value:"Module"})),Gt=Object.freeze(Object.defineProperty({__proto__:null,getGidsIconClassNames:({size:e},t)=>W("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"})),Bt=Object.freeze(Object.defineProperty({__proto__:null,getGidsButtonClassNames:({appearance:e,size:t,width:o,destructive:n,loading:s},i,r)=>W("gids-button",{"gids-button--primary":e==="primary","gids-button--subtle":e==="subtle","gids-button--xs":t==="xs","gids-button--sm":t==="sm","gids-button--lg":t==="lg","gids-button--full-width":o==="full","gids-button--destructive":n,"gids-button--icon-only":i,"gids-button--loading":s},r)},Symbol.toStringTag,{value:"Module"})),J=64,Ue=10,Ke=J/2-Ue/2,Dt=J/2,ge=2*Math.PI*Ke,Qt=`0 0 ${J} ${J}`,Ht=Object.freeze(Object.defineProperty({__proto__:null,calculateStrokeDasharray:(e=0,t)=>{const o=typeof t=="number"&&t>0?t:1,s=Math.max(0,Math.min(o,e))/o*100,i=(ge*s/100).toFixed(2),r=(ge-parseFloat(i)).toFixed(2);return`${i} ${r}`},centerPosition:Dt,circumference:ge,radius:Ke,thickness:Ue,viewBox:Qt},Symbol.toStringTag,{value:"Module"})),qt=Object.freeze(Object.defineProperty({__proto__:null,getGidsSnackbarContainerClassNames:({appearance:e},t)=>W("gids-snackbar-container",{"gids-snackbar-container--appearance-information":e==="information","gids-snackbar-container--appearance-success":e==="success","gids-snackbar-container--appearance-warning":e==="warning","gids-snackbar-container--appearance-error":e==="error"},t),getSnackbarContainerIconNames:e=>{if(e)switch(e){case"information":return"information";case"warning":return"warning";case"error":return"danger";case"success":return"positive";default:return}}},Symbol.toStringTag,{value:"Module"})),Ze=e=>{switch(e){case"bottom-left":return"component-enter-bottom-left";case"bottom-right":return"component-enter-bottom-right";case"middle-left":return"component-enter-middle-left";case"middle-right":return"component-enter-middle-right";case"top-center":return"component-enter-top-center";case"top-left":return"component-enter-top-left";case"top-right":return"component-enter-top-right";default:return"component-enter-bottom-center"}},Je=e=>{switch(e){case"bottom-left":return"component-exit-bottom-left";case"bottom-right":return"component-exit-bottom-right";case"middle-left":return"component-exit-middle-left";case"middle-right":return"component-exit-middle-right";case"top-center":return"component-exit-top-center";case"top-left":return"component-exit-top-left";case"top-right":return"component-exit-top-right";default:return"component-exit-bottom-center"}},Ft=Object.freeze(Object.defineProperty({__proto__:null,getComponentClasses:({position:e,id:t,exitingComponents:o})=>o.includes(t)?Je(e):Ze(e),getComponentEntryClasses:Ze,getComponentExitClasses:Je,getComponentStackClasses:({position:e})=>{switch(e){case"bottom-left":return"common-component-stack component-stack-bottom-left";case"bottom-right":return"common-component-stack component-stack-bottom-right";case"middle-left":return"common-component-stack component-stack-middle-left";case"middle-right":return"common-component-stack component-stack-middle-right";case"top-center":return"common-component-stack component-stack-top-center";case"top-left":return"common-component-stack component-stack-top-left";case"top-right":return"common-component-stack component-stack-top-right";default:return"common-component-stack component-stack-bottom-center"}}},Symbol.toStringTag,{value:"Module"})),Wt=Object.freeze(Object.defineProperty({__proto__:null,getGidsNotificationContainerClassNames:({appearance:e},t)=>W("gids-notification-container",{"gids-notification-container--appearance-information":e==="information","gids-notification-container--appearance-success":e==="success","gids-notification-container--appearance-warning":e==="warning","gids-notification-container--appearance-error":e==="error"},t),getNotificationContainerIconNames:e=>{if(e)switch(e){case"information":return"information";case"warning":return"warning";case"error":return"danger";case"success":return"positive";default:return}}},Symbol.toStringTag,{value:"Module"})),ve=Symbol("defaultPath"),et=Symbol("pathSet"),be="gids-asset-paths-set";class zt extends EventTarget{#n=new Map;constructor(){super()}#e(t,o){this.#n.set(t,o)}#t(t){return this.#n.get(t)??null}#o=()=>{this.dispatchEvent(new Event(be))};haveAssetPathsBeenSet(){return this.#t(et)!==null}setAssetPaths(t,o){if(!this.haveAssetPathsBeenSet()){if(typeof t=="string")this.#e(ve,t);else{for(const n in t)this.#e(n,t[n]);o&&this.#e(ve,o)}this.#e(et,"true"),setTimeout(this.#o,0)}}getAssetFilePath(t){const o=this.#t(t);if(o===null){const n=this.#t(ve);if(n!==null)return`${n}${n.endsWith("/")?"":"/"}${t}`}return o}onAssetPathsSet(t){if(!this.haveAssetPathsBeenSet())return this.addEventListener(be,t,{once:!0}),()=>{this.removeEventListener(be,t)}}}const ye=Symbol.for("GIDS"),Vt=()=>(globalThis[ye]===void 0&&(globalThis[ye]={assetPaths:{}}),globalThis[ye]),Yt=e=>{const t=Vt().assetPaths;return t[e]===void 0&&(t[e]=new zt),t[e]};function Se(){return Yt("@ganpatiinfo/gids-web-shared")}function Xt(){return Se().haveAssetPathsBeenSet()}function tt(e){return Se().getAssetFilePath(e)}function Ut(e){return Se().onAssetPathsSet(e)}let Kt=0;const Zt=(e,t="gids")=>e||`${t}-${Kt++}`,nt=e=>e!==void 0&&(!Array.isArray(e)||e.length>0),ot={"icons-other.svg":["accessibility","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","key","link","list","location","lock","map","maximise","microphone","minimise","mobile","moon","network","neutral","new","new-chat","pause","percent","placeholder","play","power","rain","refresh","repeat","sad","save","savings","shield","shuffle","side-navigation","snow","speaker","stop","sun","tablet","temperature","thumbs-down","thumbs-up","travel","trend-down","trend-up","unlock","upset","verified","very-happy","video","volume-down","volume-max","volume-min","volume-mute","volume-up","wallet","wealth","wi-fi","wind"],"icons-core.svg":["arrow-down","arrow-left","arrow-right","arrow-up","attachment","checkmark","chevron-down","chevron-horizontal","chevron-left","chevron-right","chevron-up","chevron-vertical","copy","cross","danger","dashboard","delete","document","download","drag","edit","external","eye","filter","grid","hide","home","information","log-in","log-out","menu","minus","more","notifications","options","phone","plus","positive","printer","question","search","select","select-all","send","settings","share","star","time","upload","user","users","warning"]},st=new Map;for(const e in ot)for(const t of ot[e])st.set(t,e);function Jt(e){return st.get(e)}function it(e,t="regular",o){const n=Jt(e);let s=n??"";return o&&n&&(s=o(n)??n),`${s}#${e}${t==="filled"?"--filled":""}`}const{getGidsIconClassNames:en}=Gt,we=({name:e,size:t,appearance:o,alt:n,class:s,titleId:i,src:r,...l})=>{const a=Zt(i);let c=r;return c===void 0&&Xt()&&(c=it(e,o,tt)),y("svg",{ref:u=>{c===void 0&&Ut((()=>{(function(d,f,p){if(!d)return;const m=document.createElementNS("http://www.w3.org/2000/svg","use");m.setAttribute("href",it(f,p,tt)),d.appendChild(m)})(u,e,o)}))},width:"16",height:"16",class:en({size:t},s),role:"img","aria-hidden":n===""?"true":void 0,"aria-labelledby":n===""?void 0:a,...l},n!==""&&y("title",{id:a},n||e),c!==void 0?y("use",{href:c}):null)},{getGidsSpinnerControlClassNames:tn}=It,{calculateStrokeDasharray:nn,thickness:rt,radius:at,centerPosition:ee,viewBox:on}=Ht,sn=({size:e,indeterminate:t,value:o,max:n,...s})=>{let i;return t||(i={strokeDashArray:nn(o,n||0),strokeDashoffset:"0"}),y("svg",{class:tn({size:e,indeterminate:t,value:o}),viewBox:on,...s},y("circle",{class:"gids-spinner-control__track",cx:ee,cy:ee,r:at,"stroke-width":rt}),y("circle",{style:i,class:"gids-spinner-control__progress",cx:ee,cy:ee,r:at,"stroke-width":rt}))},{getGidsButtonClassNames:rn}=Bt,_e=({appearance:e,size:t,destructive:o,loading:n,width:s,leadingIcon:i,trailingIcon:r,as:l,disabled:a,class:c,forceIconOnly:u=!1,...d},f)=>{const p=l||"button",m=t==="lg"||t===void 0?"md":t;return p!=="button"||"type"in d||(d.type="button"),y(p,{class:rn({appearance:e,size:t,destructive:o,loading:n,width:s},u||f.length===0&&nt(i)&&!nt(r),c),disabled:p==="button"?a:void 0,...d},y("span",{class:"gids-button__content"},i,f),n&&y(sn,{size:m,indeterminate:!0}),r)},{getGidsSnackbarContainerClassNames:an,getSnackbarContainerIconNames:ln}=qt,cn=({appearance:e="default",children:t,button:o,class:n,...s})=>{const i=ln(e);return y("div",{...s,class:an({appearance:e},n)},y("div",{class:"gids-snackbar-container__content"},e!=="default"&&i!=null?y(we,{name:i,alt:"",appearance:"filled",size:"md",class:"gids-snackbar-container__icon"}):null,typeof t=="string"?y("p",null,t):t),o)},{getGidsNotificationContainerClassNames:dn,getNotificationContainerIconNames:un}=Wt,mn=({notificationTitle:e,children:t,button:o,appearance:n="default",pronunciation:s="standard",onCloseNotificationClick:i,class:r,...l})=>{const a=un(n);return y("div",{class:dn({appearance:n},r),...l},n!=="default"&&a?y("div",{class:"gids-notification-container__leading-icon-wrapper"},y(we,{size:"md",name:a,alt:"",appearance:"filled"})):null,y("div",{class:"gids-notification-container__content-wrapper"},y("div",{class:"gids-notification-container__top-content"},y("div",{class:"gids-notification-container__text-content"},e!=null&&e!==""?y("span",{class:"gids-notification-container__title"},e):null,t?typeof t=="string"?y("p",null,t):t:null),s==="standard"?y("div",{class:"gids-notification-container__cross-btn-wrapper"},y(_e,{size:"sm",appearance:"subtle",width:"intrinsic",leadingIcon:y(we,{name:"cross",size:"md",appearance:"regular"}),onClick:i})):null),o?y("div",{class:"gids-notification-container__bottom-content"},o):null))},{getComponentClasses:fn,getComponentStackClasses:pn}=Ft,lt=Tt(class extends mt{constructor(e){super(),e!==!1&&this.__registerHost(),this.__attachShadow(),this._parentOverlayProvider=null,this._componentQueue=[],this._allowedComponentQueue=[],this._exitingComponents=[],this._renderSnackbar=(t,o)=>{const{id:n,message:s,appearance:i,buttonLabel:r,onButtonClick:l}=t;return y(cn,{key:n,class:o,children:s,appearance:i,button:r!=null&&r!==""?y(_e,{appearance:"subtle",onClick:l},r):void 0})},this._renderNotification=(t,o)=>{const{id:n,notificationTitle:s,message:i,pronunciation:r,appearance:l,buttonLabel:a,onButtonClick:c,timerInMs:u}=t;return y(mn,{key:n,class:o,notificationTitle:s,children:i,pronunciation:r,appearance:l,onCloseNotificationClick:()=>this.removeComponent(t,u||0,!0),button:a!=null&&a!==""?y(_e,{appearance:"default",size:"sm",onClick:c},a):void 0})},this._renderComponent=t=>{const{componentName:o,position:n="bottom-center",id:s}=t,i=fn({position:n,id:s,exitingComponents:this._exitingComponents});return o==null||o==="snackbar"?this._renderSnackbar(t,i):o==="notification"?this._renderNotification(t,i):null}}connectedCallback(){const e=Rt();e!==void 0&&this._el.shadowRoot?.adoptedStyleSheets.push(e),this._parentOverlayProvider=Lt(this._el)}_isRoot(){return this._parentOverlayProvider===null}async getRootOverlayProvider(){return this._isRoot()?this._el:this._parentOverlayProvider}autoHide(e){return new Promise((t=>{const o=setTimeout((()=>(clearTimeout(o),t({isTimeout:!0}))),e)}))}async _queueSnackbar(e){const{appearance:t,message:o,buttonLabel:n,onButtonClick:s,position:i,componentName:r,...l}=e,a={id:""+(Date.now()+Math.random()),message:o,appearance:t,buttonLabel:n,onButtonClick:s,position:i,componentName:r,...l};this._componentQueue=[...this._componentQueue,a],this.processSingleComponentQueue()}async _queueNotification(e){const{appearance:t,notificationTitle:o,pronunciation:n,message:s,buttonLabel:i,onButtonClick:r,position:l,componentName:a,...c}=e,u={id:""+(Date.now()+Math.random()),notificationTitle:o,message:s,pronunciation:n,appearance:t,buttonLabel:i,onButtonClick:r,position:l,componentName:a,...c};this._componentQueue=[...this._componentQueue,u],this.processMultiComponentQueue()}async queueComponent(e){if(await this._isRoot()){const{componentName:t}=e;t!=null&&t!=="snackbar"||this._queueSnackbar(e),t==="notification"&&this._queueNotification(e)}else(await this.getRootOverlayProvider()).queueComponent(e)}async removeComponent(e,t,o){return o||await this.autoHide(t),this._exitingComponents=[...this._exitingComponents,e.id],new Promise((n=>{setTimeout((()=>{this._componentQueue=this._componentQueue.filter((s=>s.id!==e.id)),this._exitingComponents=this._exitingComponents.filter((s=>s!==e.id)),this._allowedComponentQueue=[],n()}),500)}))}async processSingleComponentQueue(){if(this._componentQueue.length===0)return;const e=this._componentQueue[0];if(!e)return;this._allowedComponentQueue=[e],await new Promise((o=>requestAnimationFrame((()=>o()))));const t=Ye({componentName:e?.componentName??"snackbar",timerInMs:e?.timerInMs??0});await this.removeComponent(e,t,!1),this.processSingleComponentQueue()}async processMultiComponentQueue(){const e=this._componentQueue;e.length!==0&&(this._allowedComponentQueue=e,await new Promise((t=>requestAnimationFrame((()=>t())))),this._allowedComponentQueue.map((async t=>{const o=Ye({componentName:t?.componentName??"snackbar",timerInMs:t?.timerInMs??0});await this.removeComponent(t,o,!1)})),this.processMultiComponentQueue())}render(){const e=this._allowedComponentQueue[0]?.position||"bottom-center";return y(Mt,{key:"90aa53804ede45cefeb6439d7d5466fbf3ce9bd9"},y("slot",{key:"5705eaedb944a16514dc3570258ec67d60ad82c2"}),this._isRoot()?y("div",{class:pn({position:e})},[...this._allowedComponentQueue].reverse().map((t=>this._renderComponent(t)))):null)}get _el(){return this}static get style(){return".common-component-stack{display:flex;flex-direction:column;position:fixed;gap:var(--gids-gap-200);min-width:var(--gids-width-2-xs);max-width:var(--gids-width-md);width:100%}.component-stack-bottom-left{justify-self:left;bottom:var(--gids-padding-vertical-edge-to-element-250);left:var(--gids-padding-vertical-edge-to-element-250)}.component-stack-bottom-right{justify-self:right;bottom:var(--gids-padding-vertical-edge-to-element-250);right:var(--gids-padding-vertical-edge-to-element-250)}.component-stack-middle-left{top:50%;justify-self:left;align-self:center;left:var(--gids-padding-vertical-edge-to-element-250)}.component-stack-middle-right{top:50%;justify-self:right;align-self:center;right:var(--gids-padding-vertical-edge-to-element-250)}.component-stack-top-center{justify-self:center;top:var(--gids-padding-vertical-edge-to-element-250)}.component-stack-top-left{justify-self:left;top:var(--gids-padding-vertical-edge-to-element-250);left:var(--gids-padding-vertical-edge-to-element-250)}.component-stack-top-right{justify-self:right;top:var(--gids-padding-vertical-edge-to-element-250);right:var(--gids-padding-vertical-edge-to-element-250)}.component-stack-bottom-center{justify-self:center;bottom:var(--gids-padding-vertical-edge-to-element-250)}.component-enter-bottom-left{animation-name:left-to-right-visible;animation-duration:0.3s;animation-fill-mode:forwards}.component-enter-bottom-right{animation-name:right-to-left-visible;animation-duration:0.3s;animation-fill-mode:forwards}.component-enter-middle-left{animation-name:left-to-right-visible;animation-duration:0.3s;animation-fill-mode:forwards}.component-enter-middle-right{animation-name:right-to-left-visible;animation-duration:0.3s;animation-fill-mode:forwards}.component-enter-top-center{animation-name:slide-up-invisible;animation-duration:0.3s;animation-fill-mode:forwards}.component-enter-top-left{animation-name:left-to-right-visible;animation-duration:0.3s;animation-fill-mode:forwards}.component-enter-top-right{animation-name:right-to-left-visible;animation-duration:0.3s;animation-fill-mode:forwards}.component-enter-bottom-center{animation-name:slide-up-visible;animation-duration:0.3s;animation-fill-mode:forwards}.component-exit-bottom-left{animation-name:right-to-left-invisible;animation-duration:0.3s;animation-fill-mode:forwards}.component-exit-bottom-right{animation-name:left-to-right-invisible;animation-duration:0.3s;animation-fill-mode:forwards}.component-exit-middle-left{animation-name:right-to-left-invisible;animation-duration:0.3s;animation-fill-mode:forwards}.component-exit-middle-right{animation-name:left-to-right-invisible;animation-duration:0.3s;animation-fill-mode:forwards}.component-exit-top-center{animation-name:slide-down-visible;animation-duration:0.3s;animation-fill-mode:forwards}.component-exit-top-left{animation-name:right-to-left-invisible;animation-duration:0.3s;animation-fill-mode:forwards}.component-exit-top-right{animation-name:left-to-right-invisible;animation-duration:0.3s;animation-fill-mode:forwards}.component-exit-bottom-center{animation-name:slide-down-invisible;animation-duration:0.3s;animation-fill-mode:forwards}@keyframes slide-up-visible{0%{opacity:0;transform:translateY(100%)}100%{opacity:1;transform:translateY(0)}}@keyframes slide-down-invisible{0%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(100%)}}@keyframes slide-up-invisible{0%{opacity:0;transform:translateY(-100%)}100%{opacity:1;transform:translateY(0)}}@keyframes slide-down-visible{0%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(-100%)}}@keyframes left-to-right-visible{0%{opacity:0;transform:translateX(-100%)}100%{opacity:1;transform:translateX(0)}}@keyframes right-to-left-invisible{0%{opacity:1;transform:translateX(0)}100%{opacity:0;transform:translateX(-100%)}}@keyframes right-to-left-visible{0%{opacity:0;transform:translateX(100%)}100%{opacity:1;transform:translateX(0)}}@keyframes left-to-right-invisible{0%{opacity:1;transform:translateX(0)}100%{opacity:0;transform:translateX(100%)}}"}},[257,"gids-overlay-provider",{_componentQueue:[32],_allowedComponentQueue:[32],_exitingComponents:[32],queueComponent:[64]}]);function ct(){typeof customElements<"u"&&["gids-overlay-provider"].forEach((e=>{e==="gids-overlay-provider"&&(customElements.get(e)||customElements.define(e,lt))}))}ct();const hn=lt,gn=ct;M.GidsOverlayProvider=hn,M.defineCustomElement=gn,Object.defineProperty(M,Symbol.toStringTag,{value:"Module"})}));
|