proto-ikons-wc 0.0.117 → 0.0.119

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-5a0eb06e.js');
5
+ const index = require('./index-59a1ebe3.js');
6
6
 
7
7
  const acuraIkonCss = "";
8
8
 
@@ -47,6 +47,13 @@ const uniqueTime = (key, measureText) => {
47
47
  }
48
48
  };
49
49
  const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
50
+ /**
51
+ * Constant for styles to be globally applied to `slot-fb` elements for pseudo-slot behavior.
52
+ *
53
+ * Two cascading rules must be used instead of a `:not()` selector due to Stencil browser
54
+ * support as of Stencil v4.
55
+ */
56
+ const SLOT_FB_CSS = 'slot-fb{display:contents}slot-fb[hidden]{display:none}';
50
57
  const XLINK_NS = 'http://www.w3.org/1999/xlink';
51
58
  /**
52
59
  * Default style mode id
@@ -275,6 +282,10 @@ const addStyle = (styleContainerNode, cmpMeta, mode) => {
275
282
  }
276
283
  styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
277
284
  }
285
+ // Add styles for `slot-fb` elements if we're using slots outside the Shadow DOM
286
+ if (cmpMeta.$flags$ & 4 /* CMP_FLAGS.hasSlotRelocation */) {
287
+ styleElm.innerHTML += SLOT_FB_CSS;
288
+ }
278
289
  if (appliedStyles) {
279
290
  appliedStyles.add(scopeId);
280
291
  }
@@ -1336,12 +1347,13 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1336
1347
  const customElements = win.customElements;
1337
1348
  const head = doc.head;
1338
1349
  const metaCharset = /*@__PURE__*/ head.querySelector('meta[charset]');
1339
- const visibilityStyle = /*@__PURE__*/ doc.createElement('style');
1350
+ const dataStyles = /*@__PURE__*/ doc.createElement('style');
1340
1351
  const deferredConnectedCallbacks = [];
1341
1352
  let appLoadFallback;
1342
1353
  let isBootstrapping = true;
1343
1354
  Object.assign(plt, options);
1344
1355
  plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
1356
+ let hasSlotRelocation = false;
1345
1357
  lazyBundles.map((lazyBundle) => {
1346
1358
  lazyBundle[1].map((compactMeta) => {
1347
1359
  const cmpMeta = {
@@ -1350,6 +1362,11 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1350
1362
  $members$: compactMeta[2],
1351
1363
  $listeners$: compactMeta[3],
1352
1364
  };
1365
+ // Check if we are using slots outside the shadow DOM in this component.
1366
+ // We'll use this information later to add styles for `slot-fb` elements
1367
+ if (cmpMeta.$flags$ & 4 /* CMP_FLAGS.hasSlotRelocation */) {
1368
+ hasSlotRelocation = true;
1369
+ }
1353
1370
  {
1354
1371
  cmpMeta.$members$ = compactMeta[2];
1355
1372
  }
@@ -1389,15 +1406,23 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1389
1406
  }
1390
1407
  });
1391
1408
  });
1409
+ // Add styles for `slot-fb` elements if any of our components are using slots outside the Shadow DOM
1410
+ if (hasSlotRelocation) {
1411
+ dataStyles.innerHTML += SLOT_FB_CSS;
1412
+ }
1413
+ // Add hydration styles
1392
1414
  {
1393
- visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;
1394
- visibilityStyle.setAttribute('data-styles', '');
1415
+ dataStyles.innerHTML += cmpTags + HYDRATED_CSS;
1416
+ }
1417
+ // If we have styles, add them to the DOM
1418
+ if (dataStyles.innerHTML.length) {
1419
+ dataStyles.setAttribute('data-styles', '');
1420
+ head.insertBefore(dataStyles, metaCharset ? metaCharset.nextSibling : head.firstChild);
1395
1421
  // Apply CSP nonce to the style tag if it exists
1396
1422
  const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
1397
1423
  if (nonce != null) {
1398
- visibilityStyle.setAttribute('nonce', nonce);
1424
+ dataStyles.setAttribute('nonce', nonce);
1399
1425
  }
1400
- head.insertBefore(visibilityStyle, metaCharset ? metaCharset.nextSibling : head.firstChild);
1401
1426
  }
1402
1427
  // Process deferred connectedCallbacks now all components have been registered
1403
1428
  isBootstrapping = false;
@@ -1549,7 +1574,7 @@ const flush = () => {
1549
1574
  }
1550
1575
  }
1551
1576
  };
1552
- const nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);
1577
+ const nextTick = (cb) => promiseResolve().then(cb);
1553
1578
  const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
1554
1579
 
1555
1580
  exports.bootstrapLazy = bootstrapLazy;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-5a0eb06e.js');
5
+ const index = require('./index-59a1ebe3.js');
6
6
 
7
7
  const defineCustomElements = (win, options) => {
8
8
  if (typeof window === 'undefined') return undefined;
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-5a0eb06e.js');
5
+ const index = require('./index-59a1ebe3.js');
6
6
 
7
7
  /*
8
- Stencil Client Patch Browser v4.7.0 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Browser v4.7.2 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
  const patchBrowser = () => {
11
11
  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.7.0",
125
+ "version": "4.7.2",
126
126
  "typescriptVersion": "5.2.2"
127
127
  },
128
128
  "collections": [],
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-ca9b9204.js';
1
+ import { r as registerInstance, h } from './index-5b706c14.js';
2
2
 
3
3
  const acuraIkonCss = "";
4
4
 
@@ -25,6 +25,13 @@ const uniqueTime = (key, measureText) => {
25
25
  }
26
26
  };
27
27
  const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
28
+ /**
29
+ * Constant for styles to be globally applied to `slot-fb` elements for pseudo-slot behavior.
30
+ *
31
+ * Two cascading rules must be used instead of a `:not()` selector due to Stencil browser
32
+ * support as of Stencil v4.
33
+ */
34
+ const SLOT_FB_CSS = 'slot-fb{display:contents}slot-fb[hidden]{display:none}';
28
35
  const XLINK_NS = 'http://www.w3.org/1999/xlink';
29
36
  /**
30
37
  * Default style mode id
@@ -253,6 +260,10 @@ const addStyle = (styleContainerNode, cmpMeta, mode) => {
253
260
  }
254
261
  styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
255
262
  }
263
+ // Add styles for `slot-fb` elements if we're using slots outside the Shadow DOM
264
+ if (cmpMeta.$flags$ & 4 /* CMP_FLAGS.hasSlotRelocation */) {
265
+ styleElm.innerHTML += SLOT_FB_CSS;
266
+ }
256
267
  if (appliedStyles) {
257
268
  appliedStyles.add(scopeId);
258
269
  }
@@ -1314,12 +1325,13 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1314
1325
  const customElements = win.customElements;
1315
1326
  const head = doc.head;
1316
1327
  const metaCharset = /*@__PURE__*/ head.querySelector('meta[charset]');
1317
- const visibilityStyle = /*@__PURE__*/ doc.createElement('style');
1328
+ const dataStyles = /*@__PURE__*/ doc.createElement('style');
1318
1329
  const deferredConnectedCallbacks = [];
1319
1330
  let appLoadFallback;
1320
1331
  let isBootstrapping = true;
1321
1332
  Object.assign(plt, options);
1322
1333
  plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
1334
+ let hasSlotRelocation = false;
1323
1335
  lazyBundles.map((lazyBundle) => {
1324
1336
  lazyBundle[1].map((compactMeta) => {
1325
1337
  const cmpMeta = {
@@ -1328,6 +1340,11 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1328
1340
  $members$: compactMeta[2],
1329
1341
  $listeners$: compactMeta[3],
1330
1342
  };
1343
+ // Check if we are using slots outside the shadow DOM in this component.
1344
+ // We'll use this information later to add styles for `slot-fb` elements
1345
+ if (cmpMeta.$flags$ & 4 /* CMP_FLAGS.hasSlotRelocation */) {
1346
+ hasSlotRelocation = true;
1347
+ }
1331
1348
  {
1332
1349
  cmpMeta.$members$ = compactMeta[2];
1333
1350
  }
@@ -1367,15 +1384,23 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1367
1384
  }
1368
1385
  });
1369
1386
  });
1387
+ // Add styles for `slot-fb` elements if any of our components are using slots outside the Shadow DOM
1388
+ if (hasSlotRelocation) {
1389
+ dataStyles.innerHTML += SLOT_FB_CSS;
1390
+ }
1391
+ // Add hydration styles
1370
1392
  {
1371
- visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;
1372
- visibilityStyle.setAttribute('data-styles', '');
1393
+ dataStyles.innerHTML += cmpTags + HYDRATED_CSS;
1394
+ }
1395
+ // If we have styles, add them to the DOM
1396
+ if (dataStyles.innerHTML.length) {
1397
+ dataStyles.setAttribute('data-styles', '');
1398
+ head.insertBefore(dataStyles, metaCharset ? metaCharset.nextSibling : head.firstChild);
1373
1399
  // Apply CSP nonce to the style tag if it exists
1374
1400
  const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
1375
1401
  if (nonce != null) {
1376
- visibilityStyle.setAttribute('nonce', nonce);
1402
+ dataStyles.setAttribute('nonce', nonce);
1377
1403
  }
1378
- head.insertBefore(visibilityStyle, metaCharset ? metaCharset.nextSibling : head.firstChild);
1379
1404
  }
1380
1405
  // Process deferred connectedCallbacks now all components have been registered
1381
1406
  isBootstrapping = false;
@@ -1527,7 +1552,7 @@ const flush = () => {
1527
1552
  }
1528
1553
  }
1529
1554
  };
1530
- const nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);
1555
+ const nextTick = (cb) => promiseResolve().then(cb);
1531
1556
  const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
1532
1557
 
1533
1558
  export { bootstrapLazy as b, h, promiseResolve as p, registerInstance as r, setNonce as s };
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-ca9b9204.js';
2
- export { s as setNonce } from './index-ca9b9204.js';
1
+ import { b as bootstrapLazy } from './index-5b706c14.js';
2
+ export { s as setNonce } from './index-5b706c14.js';
3
3
 
4
4
  const defineCustomElements = (win, options) => {
5
5
  if (typeof window === 'undefined') return undefined;
@@ -1,8 +1,8 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-ca9b9204.js';
2
- export { s as setNonce } from './index-ca9b9204.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-5b706c14.js';
2
+ export { s as setNonce } from './index-5b706c14.js';
3
3
 
4
4
  /*
5
- Stencil Client Patch Browser v4.7.0 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Patch Browser v4.7.2 | MIT Licensed | https://stenciljs.com
6
6
  */
7
7
  const patchBrowser = () => {
8
8
  const importMeta = import.meta.url;
@@ -0,0 +1,2 @@
1
+ let n=!1,t=!1;const e="slot-fb{display:contents}slot-fb[hidden]{display:none}",l="http://www.w3.org/1999/xlink",o={},s=n=>"object"==(n=typeof n)||"function"===n;function i(n){var t,e,l;return null!==(l=null===(e=null===(t=n.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===e?void 0:e.getAttribute("content"))&&void 0!==l?l:void 0}const c=(n,t,...e)=>{let l=null,o=!1,i=!1;const c=[],u=t=>{for(let e=0;e<t.length;e++)l=t[e],Array.isArray(l)?u(l):null!=l&&"boolean"!=typeof l&&((o="function"!=typeof n&&!s(l))&&(l+=""),o&&i?c[c.length-1].t+=l:c.push(o?r(null,l):l),i=o)};if(u(e),t){const n=t.className||t.class;n&&(t.class="object"!=typeof n?n:Object.keys(n).filter((t=>n[t])).join(" "))}const a=r(n,null);return a.l=t,c.length>0&&(a.o=c),a},r=(n,t)=>({i:0,u:n,t,h:null,o:null,l:null}),u={},a=new WeakMap,f=n=>"sc-"+n.p,d=(n,t,e,o,i,c)=>{if(e!==o){let r=W(n,t),u=t.toLowerCase();if("class"===t){const t=n.classList,l=h(e),s=h(o);t.remove(...l.filter((n=>n&&!s.includes(n)))),t.add(...s.filter((n=>n&&!l.includes(n))))}else{const a=s(o);if((r||a&&null!==o)&&!i)try{if(n.tagName.includes("-"))n[t]=o;else{const l=null==o?"":o;"list"===t?r=!1:null!=e&&n[t]==l||(n[t]=l)}}catch(n){}let f=!1;u!==(u=u.replace(/^xlink\:?/,""))&&(t=u,f=!0),null==o||!1===o?!1===o&&""!==n.getAttribute(t)||(f?n.removeAttributeNS(l,t):n.removeAttribute(t)):(!r||4&c||i)&&!a&&(o=!0===o?"":o,f?n.setAttributeNS(l,t,o):n.setAttribute(t,o))}}},y=/\s/,h=n=>n?n.split(y):[],p=(n,t,e,l)=>{const s=11===t.h.nodeType&&t.h.host?t.h.host:t.h,i=n&&n.l||o,c=t.l||o;for(l in i)l in c||d(s,l,i[l],void 0,e,t.i);for(l in c)d(s,l,i[l],c[l],e,t.i)},w=(t,e,l)=>{const o=e.o[l];let s,i,c=0;if(null!==o.t)s=o.h=B.createTextNode(o.t);else{if(n||(n="svg"===o.u),s=o.h=B.createElementNS(n?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.u),n&&"foreignObject"===o.u&&(n=!1),p(null,o,n),o.o)for(c=0;c<o.o.length;++c)i=w(t,o,c),i&&s.appendChild(i);"svg"===o.u?n=!1:"foreignObject"===s.tagName&&(n=!0)}return s},v=(n,t,e,l,o,s)=>{let i,c=n;for(;o<=s;++o)l[o]&&(i=w(null,e,o),i&&(l[o].h=i,c.insertBefore(i,t)))},$=(n,t,e)=>{for(let l=t;l<=e;++l){const t=n[l];if(t){const n=t.h;n&&n.remove()}}},m=(n,t)=>n.u===t.u,b=(t,e)=>{const l=e.h=t.h,o=t.o,s=e.o,i=e.u,c=e.t;null===c?(n="svg"===i||"foreignObject"!==i&&n,p(t,e,n),null!==o&&null!==s?((n,t,e,l)=>{let o,s=0,i=0,c=t.length-1,r=t[0],u=t[c],a=l.length-1,f=l[0],d=l[a];for(;s<=c&&i<=a;)null==r?r=t[++s]:null==u?u=t[--c]:null==f?f=l[++i]:null==d?d=l[--a]:m(r,f)?(b(r,f),r=t[++s],f=l[++i]):m(u,d)?(b(u,d),u=t[--c],d=l[--a]):m(r,d)?(b(r,d),n.insertBefore(r.h,u.h.nextSibling),r=t[++s],d=l[--a]):m(u,f)?(b(u,f),n.insertBefore(u.h,r.h),u=t[--c],f=l[++i]):(o=w(t&&t[i],e,i),f=l[++i],o&&r.h.parentNode.insertBefore(o,r.h));s>c?v(n,null==l[a+1]?null:l[a+1].h,e,l,i,a):i>a&&$(t,s,c)})(l,o,e,s):null!==s?(null!==t.t&&(l.textContent=""),v(l,null,e,s,0,s.length-1)):null!==o&&$(o,0,o.length-1),n&&"svg"===i&&(n=!1)):t.t!==c&&(l.data=c)},g=(n,t)=>{t&&!n.v&&t["s-p"]&&t["s-p"].push(new Promise((t=>n.v=t)))},j=(n,t)=>{if(n.i|=16,!(4&n.i))return g(n,n.$),nn((()=>S(n,t)));n.i|=512},S=(n,t)=>{const e=n.m;return O(void 0,(()=>M(n,e,t)))},O=(n,t)=>k(n)?n.then(t):t(),k=n=>n instanceof Promise||n&&n.then&&"function"==typeof n.then,M=async(n,t,l)=>{var o;const s=n.$hostElement$,c=s["s-rc"];l&&(n=>{const t=n.j;((n,t)=>{var l;const o=f(t),s=_.get(o);if(n=11===n.nodeType?n:B,s)if("string"==typeof s){let c,r=a.get(n=n.head||n);if(r||a.set(n,r=new Set),!r.has(o)){{c=B.createElement("style"),c.innerHTML=s;const t=null!==(l=D.S)&&void 0!==l?l:i(B);null!=t&&c.setAttribute("nonce",t),n.insertBefore(c,n.querySelector("link"))}4&t.i&&(c.innerHTML+=e),r&&r.add(o)}}else n.adoptedStyleSheets.includes(s)||(n.adoptedStyleSheets=[...n.adoptedStyleSheets,s])})(n.$hostElement$.getRootNode(),t)})(n);x(n,t,s,l),c&&(c.map((n=>n())),s["s-rc"]=void 0);{const t=null!==(o=s["s-p"])&&void 0!==o?o:[],e=()=>C(n);0===t.length?e():(Promise.all(t).then(e),n.i|=4,t.length=0)}},x=(n,t,e,l)=>{try{t=t.render(),n.i&=-17,n.i|=2,((n,t,e=!1)=>{const l=n.$hostElement$,o=n.O||r(null,null),s=(n=>n&&n.u===u)(t)?t:c(null,null,t);if(e&&s.l)for(const n of Object.keys(s.l))l.hasAttribute(n)&&!["key","ref","style","class"].includes(n)&&(s.l[n]=l[n]);s.u=null,s.i|=4,n.O=s,s.h=o.h=l,b(o,s)})(n,t,l)}catch(t){q(t,n.$hostElement$)}return null},C=n=>{const t=n.$hostElement$,e=n.$;64&n.i||(n.i|=64,A(t),n.k(t),e||P()),n.v&&(n.v(),n.v=void 0),512&n.i&&Z((()=>j(n,!1))),n.i&=-517},P=()=>{A(B.documentElement),Z((()=>(n=>{const t=D.ce("appload",{detail:{namespace:"proto-ikons-wc"}});return n.dispatchEvent(t),t})(z)))},A=n=>n.classList.add("hydrated"),E=(n,t,e)=>{var l;if(t.M){const o=Object.entries(t.M),i=n.prototype;if(o.map((([n,[l]])=>{(31&l||2&e&&32&l)&&Object.defineProperty(i,n,{get(){return((n,t)=>L(this).C.get(t))(0,n)},set(e){((n,t,e,l)=>{const o=L(n),i=o.C.get(t),c=o.i,r=o.m;e=((n,t)=>null==n||s(n)?n:4&t?"false"!==n&&(""===n||!!n):2&t?parseFloat(n):1&t?n+"":n)(e,l.M[t][0]),8&c&&void 0!==i||e===i||Number.isNaN(i)&&Number.isNaN(e)||(o.C.set(t,e),r&&2==(18&c)&&j(o,!1))})(this,n,e,t)},configurable:!0,enumerable:!0})})),1&e){const e=new Map;i.attributeChangedCallback=function(n,l,o){D.jmp((()=>{const s=e.get(n);if(this.hasOwnProperty(s))o=this[s],delete this[s];else{if(i.hasOwnProperty(s)&&"number"==typeof this[s]&&this[s]==o)return;if(null==s){const e=L(this),s=null==e?void 0:e.i;if(!(8&s)&&128&s&&o!==l){const s=e.m,i=t.P[n];null==i||i.forEach((t=>{null!=s[t]&&s[t].call(s,o,l,n)}))}return}}this[s]=(null!==o||"boolean"!=typeof this[s])&&o}))},n.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=t.P)&&void 0!==l?l:{}),...o.filter((([n,t])=>15&t[0])).map((([n,t])=>{const l=t[1]||n;return e.set(l,n),l}))]))}}return n},N=(n,t={})=>{var l;const o=[],s=t.exclude||[],c=z.customElements,r=B.head,u=r.querySelector("meta[charset]"),a=B.createElement("style"),d=[];let y,h=!0;Object.assign(D,t),D.A=new URL(t.resourcesUrl||"./",B.baseURI).href;let p=!1;if(n.map((n=>{n[1].map((t=>{const e={i:t[0],p:t[1],M:t[2],N:t[3]};4&e.i&&(p=!0),e.M=t[2];const l=e.p,i=class extends HTMLElement{constructor(n){super(n),U(n=this,e)}connectedCallback(){y&&(clearTimeout(y),y=null),h?d.push(this):D.jmp((()=>(n=>{if(0==(1&D.i)){const t=L(n),e=t.j,l=()=>{};if(1&t.i)(null==t?void 0:t.m)||(null==t?void 0:t.T)&&t.T.then((()=>{}));else{t.i|=1;{let e=n;for(;e=e.parentNode||e.host;)if(e["s-p"]){g(t,t.$=e);break}}e.M&&Object.entries(e.M).map((([t,[e]])=>{if(31&e&&n.hasOwnProperty(t)){const e=n[t];delete n[t],n[t]=e}})),(async(n,t,e)=>{let l;if(0==(32&t.i)){t.i|=32;{if(l=V(e),l.then){const n=()=>{};l=await l,n()}l.isProxied||(E(l,e,2),l.isProxied=!0);const n=()=>{};t.i|=8;try{new l(t)}catch(n){q(n)}t.i&=-9,n()}if(l.style){let n=l.style;const t=f(e);if(!_.has(t)){const l=()=>{};((n,t,e)=>{let l=_.get(n);I&&e?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,_.set(n,l)})(t,n,!!(1&e.i)),l()}}}const o=t.$,s=()=>j(t,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,t,e)}l()}})(this)))}disconnectedCallback(){D.jmp((()=>(async()=>{if(0==(1&D.i)){const n=L(this);(null==n?void 0:n.m)||(null==n?void 0:n.T)&&n.T.then((()=>{}))}})()))}componentOnReady(){return L(this).T}};e.F=n[0],s.includes(l)||c.get(l)||(o.push(l),c.define(l,E(i,e,1)))}))})),p&&(a.innerHTML+=e),a.innerHTML+=o+"{visibility:hidden}.hydrated{visibility:inherit}",a.innerHTML.length){a.setAttribute("data-styles",""),r.insertBefore(a,u?u.nextSibling:r.firstChild);const n=null!==(l=D.S)&&void 0!==l?l:i(B);null!=n&&a.setAttribute("nonce",n)}h=!1,d.length?d.map((n=>n.connectedCallback())):D.jmp((()=>y=setTimeout(P,30)))},T=n=>D.S=n,F=new WeakMap,L=n=>F.get(n),R=(n,t)=>F.set(t.m=n,t),U=(n,t)=>{const e={i:0,$hostElement$:n,j:t,C:new Map};return e.T=new Promise((n=>e.k=n)),n["s-p"]=[],n["s-rc"]=[],F.set(n,e)},W=(n,t)=>t in n,q=(n,t)=>(0,console.error)(n,t),H=new Map,V=n=>{const t=n.p.replace(/-/g,"_"),e=n.F,l=H.get(e);return l?l[t]:import(`./${e}.entry.js`).then((n=>(H.set(e,n),n[t])),q)
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},_=new Map,z="undefined"!=typeof window?window:{},B=z.document||{head:{}},D={i:0,A:"",jmp:n=>n(),raf:n=>requestAnimationFrame(n),ael:(n,t,e,l)=>n.addEventListener(t,e,l),rel:(n,t,e,l)=>n.removeEventListener(t,e,l),ce:(n,t)=>new CustomEvent(n,t)},G=n=>Promise.resolve(n),I=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(n){}return!1})(),J=[],K=[],Q=(n,e)=>l=>{n.push(l),t||(t=!0,e&&4&D.i?Z(Y):D.raf(Y))},X=n=>{for(let t=0;t<n.length;t++)try{n[t](performance.now())}catch(n){q(n)}n.length=0},Y=()=>{X(J),X(K),(t=J.length>0)&&D.raf(Y)},Z=n=>G().then(n),nn=Q(K,!0);export{N as b,c as h,G as p,R as r,T as s}