proto-ikons-wc 0.0.151 → 0.0.153

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.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-92de18bc.js');
5
+ const index = require('./index-7aaad24e.js');
6
6
 
7
7
  const acuraIkonCss = "";
8
8
  const AcuraIkonStyle0 = acuraIkonCss;
@@ -21,9 +21,10 @@ function _interopNamespace(e) {
21
21
  }
22
22
 
23
23
  const NAMESPACE = 'proto-ikons-wc';
24
+ const BUILD = /* proto-ikons-wc */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: false, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: false, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: true, propString: true, reflect: false, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: false, slot: false, slotChildNodesFix: false, slotRelocation: false, state: false, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: false, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: true, watchCallback: false };
24
25
 
25
26
  /*
26
- Stencil Client Platform v4.18.1 | MIT Licensed | https://stenciljs.com
27
+ Stencil Client Platform v4.18.3 | MIT Licensed | https://stenciljs.com
27
28
  */
28
29
  var __defProp = Object.defineProperty;
29
30
  var __export = (target, all) => {
@@ -570,8 +571,14 @@ var scheduleUpdate = (hostRef, isInitialLoad) => {
570
571
  return writeTask(dispatch) ;
571
572
  };
572
573
  var dispatchHooks = (hostRef, isInitialLoad) => {
574
+ const elm = hostRef.$hostElement$;
573
575
  const endSchedule = createTime("scheduleUpdate", hostRef.$cmpMeta$.$tagName$);
574
576
  const instance = hostRef.$lazyInstance$ ;
577
+ if (!instance) {
578
+ throw new Error(
579
+ `Can't render component <${elm.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`
580
+ );
581
+ }
575
582
  let maybePromise;
576
583
  endSchedule();
577
584
  return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
@@ -666,7 +673,10 @@ var appDidLoad = (who) => {
666
673
  }
667
674
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
668
675
  };
669
- var addHydratedFlag = (elm) => elm.classList.add("hydrated") ;
676
+ var addHydratedFlag = (elm) => {
677
+ var _a;
678
+ return elm.classList.add((_a = BUILD.hydratedSelectorName) != null ? _a : "hydrated") ;
679
+ };
670
680
 
671
681
  // src/runtime/set-value.ts
672
682
  var getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
@@ -763,11 +773,16 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
763
773
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
764
774
  const bundleId = cmpMeta.$lazyBundleId$;
765
775
  if (bundleId) {
766
- Cstr = loadModule(cmpMeta);
767
- if (Cstr.then) {
776
+ const CstrImport = loadModule(cmpMeta);
777
+ if (CstrImport && "then" in CstrImport) {
768
778
  const endLoad = uniqueTime();
769
- Cstr = await Cstr;
779
+ Cstr = await CstrImport;
770
780
  endLoad();
781
+ } else {
782
+ Cstr = CstrImport;
783
+ }
784
+ if (!Cstr) {
785
+ throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
771
786
  }
772
787
  if (!Cstr.isProxied) {
773
788
  proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
@@ -788,9 +803,10 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
788
803
  endNewInstance();
789
804
  } else {
790
805
  Cstr = elm.constructor;
791
- customElements.whenDefined(cmpMeta.$tagName$).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
806
+ const cmpTag = elm.localName;
807
+ customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
792
808
  }
793
- if (Cstr.style) {
809
+ if (Cstr && Cstr.style) {
794
810
  let style = Cstr.style;
795
811
  const scopeId2 = getScopeId(cmpMeta);
796
812
  if (!styles.has(scopeId2)) {
@@ -981,6 +997,9 @@ var cmpModules = /* @__PURE__ */ new Map();
981
997
  var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
982
998
  const exportName = cmpMeta.$tagName$.replace(/-/g, "_");
983
999
  const bundleId = cmpMeta.$lazyBundleId$;
1000
+ if (!bundleId) {
1001
+ return void 0;
1002
+ }
984
1003
  const module = cmpModules.get(bundleId) ;
985
1004
  if (module) {
986
1005
  return module[exportName];
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-92de18bc.js');
5
+ const index = require('./index-7aaad24e.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  const defineCustomElements = async (win, options) => {
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-92de18bc.js');
5
+ const index = require('./index-7aaad24e.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  /*
9
- Stencil Client Patch Browser v4.18.1 | MIT Licensed | https://stenciljs.com
9
+ Stencil Client Patch Browser v4.18.3 | MIT Licensed | https://stenciljs.com
10
10
  */
11
11
  var patchBrowser = () => {
12
12
  const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('proto-ikons-wc.cjs.js', document.baseURI).href));
@@ -122,7 +122,7 @@
122
122
  ],
123
123
  "compiler": {
124
124
  "name": "@stencil/core",
125
- "version": "4.18.1",
125
+ "version": "4.18.3",
126
126
  "typescriptVersion": "5.4.5"
127
127
  },
128
128
  "collections": [],
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-420ab443.js';
1
+ import { r as registerInstance, h } from './index-d0e98f9d.js';
2
2
 
3
3
  const acuraIkonCss = "";
4
4
  const AcuraIkonStyle0 = acuraIkonCss;
@@ -1,7 +1,8 @@
1
1
  const NAMESPACE = 'proto-ikons-wc';
2
+ const BUILD = /* proto-ikons-wc */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: false, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: false, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: true, propString: true, reflect: false, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: false, slot: false, slotChildNodesFix: false, slotRelocation: false, state: false, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: false, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: true, watchCallback: false };
2
3
 
3
4
  /*
4
- Stencil Client Platform v4.18.1 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Platform v4.18.3 | MIT Licensed | https://stenciljs.com
5
6
  */
6
7
  var __defProp = Object.defineProperty;
7
8
  var __export = (target, all) => {
@@ -548,8 +549,14 @@ var scheduleUpdate = (hostRef, isInitialLoad) => {
548
549
  return writeTask(dispatch) ;
549
550
  };
550
551
  var dispatchHooks = (hostRef, isInitialLoad) => {
552
+ const elm = hostRef.$hostElement$;
551
553
  const endSchedule = createTime("scheduleUpdate", hostRef.$cmpMeta$.$tagName$);
552
554
  const instance = hostRef.$lazyInstance$ ;
555
+ if (!instance) {
556
+ throw new Error(
557
+ `Can't render component <${elm.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`
558
+ );
559
+ }
553
560
  let maybePromise;
554
561
  endSchedule();
555
562
  return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
@@ -644,7 +651,10 @@ var appDidLoad = (who) => {
644
651
  }
645
652
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
646
653
  };
647
- var addHydratedFlag = (elm) => elm.classList.add("hydrated") ;
654
+ var addHydratedFlag = (elm) => {
655
+ var _a;
656
+ return elm.classList.add((_a = BUILD.hydratedSelectorName) != null ? _a : "hydrated") ;
657
+ };
648
658
 
649
659
  // src/runtime/set-value.ts
650
660
  var getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
@@ -741,11 +751,16 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
741
751
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
742
752
  const bundleId = cmpMeta.$lazyBundleId$;
743
753
  if (bundleId) {
744
- Cstr = loadModule(cmpMeta);
745
- if (Cstr.then) {
754
+ const CstrImport = loadModule(cmpMeta);
755
+ if (CstrImport && "then" in CstrImport) {
746
756
  const endLoad = uniqueTime();
747
- Cstr = await Cstr;
757
+ Cstr = await CstrImport;
748
758
  endLoad();
759
+ } else {
760
+ Cstr = CstrImport;
761
+ }
762
+ if (!Cstr) {
763
+ throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
749
764
  }
750
765
  if (!Cstr.isProxied) {
751
766
  proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
@@ -766,9 +781,10 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
766
781
  endNewInstance();
767
782
  } else {
768
783
  Cstr = elm.constructor;
769
- customElements.whenDefined(cmpMeta.$tagName$).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
784
+ const cmpTag = elm.localName;
785
+ customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
770
786
  }
771
- if (Cstr.style) {
787
+ if (Cstr && Cstr.style) {
772
788
  let style = Cstr.style;
773
789
  const scopeId2 = getScopeId(cmpMeta);
774
790
  if (!styles.has(scopeId2)) {
@@ -959,6 +975,9 @@ var cmpModules = /* @__PURE__ */ new Map();
959
975
  var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
960
976
  const exportName = cmpMeta.$tagName$.replace(/-/g, "_");
961
977
  const bundleId = cmpMeta.$lazyBundleId$;
978
+ if (!bundleId) {
979
+ return void 0;
980
+ }
962
981
  const module = cmpModules.get(bundleId) ;
963
982
  if (module) {
964
983
  return module[exportName];
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-420ab443.js';
2
- export { s as setNonce } from './index-420ab443.js';
1
+ import { b as bootstrapLazy } from './index-d0e98f9d.js';
2
+ export { s as setNonce } from './index-d0e98f9d.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-420ab443.js';
2
- export { s as setNonce } from './index-420ab443.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-d0e98f9d.js';
2
+ export { s as setNonce } from './index-d0e98f9d.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.18.1 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.18.3 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  var patchBrowser = () => {
9
9
  const importMeta = import.meta.url;
@@ -0,0 +1,2 @@
1
+ var e=Object.defineProperty,t={},n=e=>"object"==(e=typeof e)||"function"===e;function l(e){var t,n,l;return null!=(l=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((t,n)=>{for(var l in n)e(t,l,{get:n[l],enumerable:!0})})({},{err:()=>s,map:()=>r,ok:()=>o,unwrap:()=>c,unwrapErr:()=>u});var o=e=>({isOk:!0,isErr:!1,value:e}),s=e=>({isOk:!1,isErr:!0,value:e});function r(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>o(e))):o(n)}if(e.isErr)return s(e.value);throw"should never get here"}var i,c=e=>{if(e.isOk)return e.value;throw e.value},u=e=>{if(e.isErr)return e.value;throw e.value},a="slot-fb{display:contents}slot-fb[hidden]{display:none}",f="http://www.w3.org/1999/xlink",h=(e,t,...l)=>{let o=null,s=null,r=!1,i=!1;const c=[],u=t=>{for(let l=0;l<t.length;l++)o=t[l],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((r="function"!=typeof e&&!n(o))&&(o+=""),r&&i?c[c.length-1].t+=o:c.push(r?m(null,o):o),i=r)};if(u(l),t){t.key&&(s=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}const a=m(e,null);return a.l=t,c.length>0&&(a.o=c),a.i=s,a},m=(e,t)=>({u:0,h:e,t,m:null,o:null,l:null,i:null}),p={},d=new WeakMap,w=e=>"sc-"+e.p,y=(e,t,l,o,s,r)=>{if(l!==o){let i=B(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,n=$(l),s=$(o);t.remove(...n.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!n.includes(e))))}else if("key"===t);else{const u=n(o);if((i||u&&null!==o)&&!s)try{if(e.tagName.includes("-"))e[t]=o;else{const n=null==o?"":o;"list"===t?i=!1:null!=l&&e[t]==n||(e[t]=n)}}catch(e){}let a=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,a=!0),null==o||!1===o?!1===o&&""!==e.getAttribute(t)||(a?e.removeAttributeNS(f,t):e.removeAttribute(t)):(!i||4&r||s)&&!u&&(o=!0===o?"":o,a?e.setAttributeNS(f,t,o):e.setAttribute(t,o))}}},v=/\s/,$=e=>e?e.split(v):[],b=(e,n,l)=>{const o=11===n.m.nodeType&&n.m.host?n.m.host:n.m,s=e&&e.l||t,r=n.l||t;for(const e of g(Object.keys(s)))e in r||y(o,e,s[e],void 0,l,n.u);for(const e of g(Object.keys(r)))y(o,e,s[e],r[e],l,n.u)};function g(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var S=!1,j=(e,t,n)=>{const l=t.o[n];let o,s,r=0;if(null!==l.t)o=l.m=Y.createTextNode(l.t);else{if(S||(S="svg"===l.h),o=l.m=Y.createElementNS(S?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",l.h),S&&"foreignObject"===l.h&&(S=!1),b(null,l,S),l.o)for(r=0;r<l.o.length;++r)s=j(e,l,r),s&&o.appendChild(s);"svg"===l.h?S=!1:"foreignObject"===o.tagName&&(S=!0)}return o["s-hn"]=i,o},k=(e,t,n,l,o,s)=>{let r,i=e;for(;o<=s;++o)l[o]&&(r=j(null,n,o),r&&(l[o].m=r,M(i,r,t)))},O=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.m;e&&e.remove()}}},E=(e,t,n=!1)=>e.h===t.h&&(!!n||e.i===t.i),C=(e,t,n=!1)=>{const l=t.m=e.m,o=e.o,s=t.o,r=t.h,i=t.t;null===i?(b(e,t,S="svg"===r||"foreignObject"!==r&&S),null!==o&&null!==s?((e,t,n,l,o=!1)=>{let s,r,i=0,c=0,u=0,a=0,f=t.length-1,h=t[0],m=t[f],p=l.length-1,d=l[0],w=l[p];for(;i<=f&&c<=p;)if(null==h)h=t[++i];else if(null==m)m=t[--f];else if(null==d)d=l[++c];else if(null==w)w=l[--p];else if(E(h,d,o))C(h,d,o),h=t[++i],d=l[++c];else if(E(m,w,o))C(m,w,o),m=t[--f],w=l[--p];else if(E(h,w,o))C(h,w,o),M(e,h.m,m.m.nextSibling),h=t[++i],w=l[--p];else if(E(m,d,o))C(m,d,o),M(e,m.m,h.m),m=t[--f],d=l[++c];else{for(u=-1,a=i;a<=f;++a)if(t[a]&&null!==t[a].i&&t[a].i===d.i){u=a;break}u>=0?(r=t[u],r.h!==d.h?s=j(t&&t[c],n,u):(C(r,d,o),t[u]=void 0,s=r.m),d=l[++c]):(s=j(t&&t[c],n,c),d=l[++c]),s&&M(h.m.parentNode,s,h.m)}i>f?k(e,null==l[p+1]?null:l[p+1].m,n,l,c,p):c>p&&O(t,i,f)})(l,o,t,s,n):null!==s?(null!==e.t&&(l.textContent=""),k(l,null,t,s,0,s.length-1)):null!==o&&O(o,0,o.length-1),S&&"svg"===r&&(S=!1)):e.t!==i&&(l.data=i)},M=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),x=(e,t)=>{t&&!e.v&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.v=t)))},P=(e,t)=>{if(e.u|=16,!(4&e.u))return x(e,e.$),ue((()=>T(e,t)));e.u|=512},T=(e,t)=>{const n=e.S;if(!n)throw Error(`Can't render component <${e.$hostElement$.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`);return A(void 0,(()=>N(e,n,t)))},A=(e,t)=>F(e)?e.then(t):t(),F=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,N=async(e,t,n)=>{var o;const s=e.$hostElement$,r=s["s-rc"];n&&(e=>{const t=e.j;((e,t)=>{var n;const o=w(t),s=Q.get(o);if(e=11===e.nodeType?e:Y,s)if("string"==typeof s){let r,i=d.get(e=e.head||e);if(i||d.set(e,i=new Set),!i.has(o)){{r=Y.createElement("style"),r.innerHTML=s;const t=null!=(n=Z.k)?n:l(Y);null!=t&&r.setAttribute("nonce",t),e.insertBefore(r,e.querySelector("link"))}4&t.u&&(r.innerHTML+=a),i&&i.add(o)}}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s])})(e.$hostElement$.getRootNode(),t)})(e);R(e,t,s,n),r&&(r.map((e=>e())),s["s-rc"]=void 0);{const t=null!=(o=s["s-p"])?o:[],n=()=>H(e);0===t.length?n():(Promise.all(t).then(n),e.u|=4,t.length=0)}},R=(e,t,n,l)=>{try{t=t.render(),e.u&=-17,e.u|=2,((e,t,n=!1)=>{const l=e.$hostElement$,o=e.O||m(null,null),s=(e=>e&&e.h===p)(t)?t:h(null,null,t);if(i=l.tagName,n&&s.l)for(const e of Object.keys(s.l))l.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(s.l[e]=l[e]);s.h=null,s.u|=4,e.O=s,s.m=o.m=l,C(o,s,n)})(e,t,l)}catch(t){I(t,e.$hostElement$)}return null},H=e=>{const t=e.$hostElement$,n=e.$;64&e.u||(e.u|=64,U(t),e.C(t),n||L()),e.v&&(e.v(),e.v=void 0),512&e.u&&ce((()=>P(e,!1))),e.u&=-517},L=()=>{U(Y.documentElement),ce((()=>(e=>{const t=Z.ce("appload",{detail:{namespace:"proto-ikons-wc"}});return e.dispatchEvent(t),t})(X)))},U=e=>e.classList.add(("hydrated","hydrated")),W=(e,t,l)=>{var o;const s=e.prototype;if(t.M){const r=Object.entries(t.M);if(r.map((([e,[o]])=>{(31&o||2&l&&32&o)&&Object.defineProperty(s,e,{get(){return((e,t)=>V(this).P.get(t))(0,e)},set(l){((e,t,l,o)=>{const s=V(e);if(!s)throw Error(`Couldn't find host element for "${o.p}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const r=s.P.get(t),i=s.u,c=s.S;l=((e,t)=>null==e||n(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(l,o.M[t][0]),8&i&&void 0!==r||l===r||Number.isNaN(r)&&Number.isNaN(l)||(s.P.set(t,l),c&&2==(18&i)&&P(s,!1))})(this,e,l,t)},configurable:!0,enumerable:!0})})),1&l){const n=new Map;s.attributeChangedCallback=function(e,l,o){Z.jmp((()=>{var r;const i=n.get(e);if(this.hasOwnProperty(i))o=this[i],delete this[i];else{if(s.hasOwnProperty(i)&&"number"==typeof this[i]&&this[i]==o)return;if(null==i){const n=V(this),s=null==n?void 0:n.u;if(s&&!(8&s)&&128&s&&o!==l){const s=n.S,i=null==(r=t.T)?void 0:r[e];null==i||i.forEach((t=>{null!=s[t]&&s[t].call(s,o,l,e)}))}return}}this[i]=(null!==o||"boolean"!=typeof this[i])&&o}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(o=t.T)?o:{}),...r.filter((([e,t])=>15&t[0])).map((([e,t])=>{const l=t[1]||e;return n.set(l,e),l}))]))}}return e},q=(e,t={})=>{var n;const o=[],s=t.exclude||[],r=X.customElements,i=Y.head,c=i.querySelector("meta[charset]"),u=Y.createElement("style"),f=[];let h,m=!0;Object.assign(Z,t),Z.A=new URL(t.resourcesUrl||"./",Y.baseURI).href;let p=!1;if(e.map((e=>{e[1].map((t=>{const n={u:t[0],p:t[1],M:t[2],F:t[3]};4&n.u&&(p=!0),n.M=t[2];const l=n.p,i=class extends HTMLElement{constructor(e){super(e),z(e=this,n)}connectedCallback(){h&&(clearTimeout(h),h=null),m?f.push(this):Z.jmp((()=>(e=>{if(!(1&Z.u)){const t=V(e),n=t.j,l=()=>{};if(1&t.u)(null==t?void 0:t.S)||(null==t?void 0:t.N)&&t.N.then((()=>{}));else{t.u|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){x(t,t.$=n);break}}n.M&&Object.entries(n.M).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let l;if(!(32&t.u)){if(t.u|=32,n.R){const e=K(n);if(e&&"then"in e){const t=()=>{};l=await e,t()}else l=e;if(!l)throw Error(`Constructor for "${n.p}#${t.H}" was not found`);l.isProxied||(W(l,n,2),l.isProxied=!0);const o=()=>{};t.u|=8;try{new l(t)}catch(e){I(e)}t.u&=-9,o()}else l=e.constructor,customElements.whenDefined(e.localName).then((()=>t.u|=128));if(l&&l.style){let e=l.style;const t=w(n);if(!Q.has(t)){const l=()=>{};((e,t,n)=>{let l=Q.get(e);te&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,Q.set(e,l)})(t,e,!!(1&n.u)),l()}}}const o=t.$,s=()=>P(t,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(e,t,n)}l()}})(this)))}disconnectedCallback(){Z.jmp((()=>(async()=>{if(!(1&Z.u)){const e=V(this);(null==e?void 0:e.S)||(null==e?void 0:e.N)&&e.N.then((()=>{}))}})()))}componentOnReady(){return V(this).N}};n.R=e[0],s.includes(l)||r.get(l)||(o.push(l),r.define(l,W(i,n,1)))}))})),o.length>0&&(p&&(u.textContent+=a),u.textContent+=o+"{visibility:hidden}.hydrated{visibility:inherit}",u.innerHTML.length)){u.setAttribute("data-styles","");const e=null!=(n=Z.k)?n:l(Y);null!=e&&u.setAttribute("nonce",e),i.insertBefore(u,c?c.nextSibling:i.firstChild)}m=!1,f.length?f.map((e=>e.connectedCallback())):Z.jmp((()=>h=setTimeout(L,30)))},D=e=>Z.k=e,G=new WeakMap,V=e=>G.get(e),_=(e,t)=>G.set(t.S=e,t),z=(e,t)=>{const n={u:0,$hostElement$:e,j:t,P:new Map};return n.N=new Promise((e=>n.C=e)),e["s-p"]=[],e["s-rc"]=[],G.set(e,n)},B=(e,t)=>t in e,I=(e,t)=>(0,console.error)(e,t),J=new Map,K=e=>{const t=e.p.replace(/-/g,"_"),n=e.R;if(!n)return;const l=J.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(J.set(n,e),e[t])),I)
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},Q=new Map,X="undefined"!=typeof window?window:{},Y=X.document||{head:{}},Z={u:0,A:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},ee=e=>Promise.resolve(e),te=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),ne=!1,le=[],oe=[],se=(e,t)=>n=>{e.push(n),ne||(ne=!0,t&&4&Z.u?ce(ie):Z.raf(ie))},re=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){I(e)}e.length=0},ie=()=>{re(le),re(oe),(ne=le.length>0)&&Z.raf(ie)},ce=e=>ee().then(e),ue=se(oe,!0);export{q as b,h,ee as p,_ as r,D as s}