proto-ikons-wc 0.0.158 → 0.0.160
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/cjs/acura-ikon_119.cjs.entry.js +1 -1
- package/dist/cjs/{index-23672262.js → index-9460388e.js} +37 -5
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/proto-ikons-wc.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/esm/acura-ikon_119.entry.js +1 -1
- package/dist/esm/{index-0cd045e9.js → index-6e3b3881.js} +37 -5
- package/dist/esm/loader.js +2 -2
- package/dist/esm/proto-ikons-wc.js +3 -3
- package/dist/proto-ikons-wc/p-2c8a2a2f.js +2 -0
- package/dist/proto-ikons-wc/{p-98e70022.entry.js → p-f79b3e5b.entry.js} +1 -1
- package/dist/proto-ikons-wc/proto-ikons-wc.esm.js +1 -1
- package/package.json +2 -2
- package/dist/proto-ikons-wc/p-10233945.js +0 -2
|
@@ -24,7 +24,7 @@ const NAMESPACE = 'proto-ikons-wc';
|
|
|
24
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 };
|
|
25
25
|
|
|
26
26
|
/*
|
|
27
|
-
Stencil Client Platform v4.
|
|
27
|
+
Stencil Client Platform v4.21.0 | MIT Licensed | https://stenciljs.com
|
|
28
28
|
*/
|
|
29
29
|
var __defProp = Object.defineProperty;
|
|
30
30
|
var __export = (target, all) => {
|
|
@@ -144,6 +144,9 @@ var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
|
|
|
144
144
|
var EMPTY_OBJ = {};
|
|
145
145
|
var SVG_NS = "http://www.w3.org/2000/svg";
|
|
146
146
|
var HTML_NS = "http://www.w3.org/1999/xhtml";
|
|
147
|
+
|
|
148
|
+
// src/utils/helpers.ts
|
|
149
|
+
var isDef = (v) => v != null;
|
|
147
150
|
var isComplexType = (o) => {
|
|
148
151
|
o = typeof o;
|
|
149
152
|
return o === "object" || o === "function";
|
|
@@ -337,7 +340,20 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
337
340
|
if (nonce != null) {
|
|
338
341
|
styleElm.setAttribute("nonce", nonce);
|
|
339
342
|
}
|
|
340
|
-
|
|
343
|
+
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
|
344
|
+
if (styleContainerNode.nodeName === "HEAD") {
|
|
345
|
+
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
346
|
+
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : document.querySelector("style");
|
|
347
|
+
styleContainerNode.insertBefore(styleElm, referenceNode2);
|
|
348
|
+
} else if ("host" in styleContainerNode) {
|
|
349
|
+
styleContainerNode.prepend(styleElm);
|
|
350
|
+
} else {
|
|
351
|
+
styleContainerNode.append(styleElm);
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
|
|
355
|
+
styleContainerNode.insertBefore(styleElm, null);
|
|
356
|
+
}
|
|
341
357
|
}
|
|
342
358
|
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
343
359
|
styleElm.innerHTML += SLOT_FB_CSS;
|
|
@@ -381,7 +397,11 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
381
397
|
if (memberName === "list") {
|
|
382
398
|
isProp = false;
|
|
383
399
|
} else if (oldValue == null || elm[memberName] != n) {
|
|
384
|
-
elm
|
|
400
|
+
if (typeof elm.__lookupSetter__(memberName) === "function") {
|
|
401
|
+
elm[memberName] = n;
|
|
402
|
+
} else {
|
|
403
|
+
elm.setAttribute(memberName, n);
|
|
404
|
+
}
|
|
385
405
|
}
|
|
386
406
|
} else {
|
|
387
407
|
elm[memberName] = newValue;
|
|
@@ -443,6 +463,9 @@ function sortedAttrNames(attrNames) {
|
|
|
443
463
|
attrNames
|
|
444
464
|
);
|
|
445
465
|
}
|
|
466
|
+
|
|
467
|
+
// src/runtime/vdom/vdom-render.ts
|
|
468
|
+
var scopeId;
|
|
446
469
|
var hostTagName;
|
|
447
470
|
var useNativeShadowDom = false;
|
|
448
471
|
var isSvgMode = false;
|
|
@@ -467,6 +490,11 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
467
490
|
{
|
|
468
491
|
updateElement(null, newVNode2, isSvgMode);
|
|
469
492
|
}
|
|
493
|
+
const rootNode = elm.getRootNode();
|
|
494
|
+
const isElementWithinShadowRoot = !rootNode.querySelector("body");
|
|
495
|
+
if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
|
|
496
|
+
elm.classList.add(elm["s-si"] = scopeId);
|
|
497
|
+
}
|
|
470
498
|
if (newVNode2.$children$) {
|
|
471
499
|
for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
|
|
472
500
|
childNode = createElm(oldParentVNode, newVNode2, i2);
|
|
@@ -625,7 +653,10 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
|
625
653
|
elm.textContent = "";
|
|
626
654
|
}
|
|
627
655
|
addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
|
|
628
|
-
} else if (
|
|
656
|
+
} else if (
|
|
657
|
+
// don't do this on initial render as it can cause non-hydrated content to be removed
|
|
658
|
+
!isInitialRender && BUILD.updatable && oldChildren !== null
|
|
659
|
+
) {
|
|
629
660
|
removeVnodes(oldChildren, 0, oldChildren.length - 1);
|
|
630
661
|
}
|
|
631
662
|
if (isSvgMode && tag === "svg") {
|
|
@@ -842,7 +873,8 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
842
873
|
if (this.hasOwnProperty(propName)) {
|
|
843
874
|
newValue = this[propName];
|
|
844
875
|
delete this[propName];
|
|
845
|
-
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" &&
|
|
876
|
+
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
|
|
877
|
+
this[propName] == newValue) {
|
|
846
878
|
return;
|
|
847
879
|
} else if (propName == null) {
|
|
848
880
|
const hostRef = getHostRef(this);
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-9460388e.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-
|
|
5
|
+
const index = require('./index-9460388e.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
|
-
Stencil Client Patch Browser v4.
|
|
9
|
+
Stencil Client Patch Browser v4.21.0 | 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));
|
|
@@ -2,7 +2,7 @@ const NAMESPACE = 'proto-ikons-wc';
|
|
|
2
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 };
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Platform v4.
|
|
5
|
+
Stencil Client Platform v4.21.0 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
var __defProp = Object.defineProperty;
|
|
8
8
|
var __export = (target, all) => {
|
|
@@ -122,6 +122,9 @@ var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
|
|
|
122
122
|
var EMPTY_OBJ = {};
|
|
123
123
|
var SVG_NS = "http://www.w3.org/2000/svg";
|
|
124
124
|
var HTML_NS = "http://www.w3.org/1999/xhtml";
|
|
125
|
+
|
|
126
|
+
// src/utils/helpers.ts
|
|
127
|
+
var isDef = (v) => v != null;
|
|
125
128
|
var isComplexType = (o) => {
|
|
126
129
|
o = typeof o;
|
|
127
130
|
return o === "object" || o === "function";
|
|
@@ -315,7 +318,20 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
315
318
|
if (nonce != null) {
|
|
316
319
|
styleElm.setAttribute("nonce", nonce);
|
|
317
320
|
}
|
|
318
|
-
|
|
321
|
+
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
|
322
|
+
if (styleContainerNode.nodeName === "HEAD") {
|
|
323
|
+
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
324
|
+
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : document.querySelector("style");
|
|
325
|
+
styleContainerNode.insertBefore(styleElm, referenceNode2);
|
|
326
|
+
} else if ("host" in styleContainerNode) {
|
|
327
|
+
styleContainerNode.prepend(styleElm);
|
|
328
|
+
} else {
|
|
329
|
+
styleContainerNode.append(styleElm);
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
|
|
333
|
+
styleContainerNode.insertBefore(styleElm, null);
|
|
334
|
+
}
|
|
319
335
|
}
|
|
320
336
|
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
321
337
|
styleElm.innerHTML += SLOT_FB_CSS;
|
|
@@ -359,7 +375,11 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
359
375
|
if (memberName === "list") {
|
|
360
376
|
isProp = false;
|
|
361
377
|
} else if (oldValue == null || elm[memberName] != n) {
|
|
362
|
-
elm
|
|
378
|
+
if (typeof elm.__lookupSetter__(memberName) === "function") {
|
|
379
|
+
elm[memberName] = n;
|
|
380
|
+
} else {
|
|
381
|
+
elm.setAttribute(memberName, n);
|
|
382
|
+
}
|
|
363
383
|
}
|
|
364
384
|
} else {
|
|
365
385
|
elm[memberName] = newValue;
|
|
@@ -421,6 +441,9 @@ function sortedAttrNames(attrNames) {
|
|
|
421
441
|
attrNames
|
|
422
442
|
);
|
|
423
443
|
}
|
|
444
|
+
|
|
445
|
+
// src/runtime/vdom/vdom-render.ts
|
|
446
|
+
var scopeId;
|
|
424
447
|
var hostTagName;
|
|
425
448
|
var useNativeShadowDom = false;
|
|
426
449
|
var isSvgMode = false;
|
|
@@ -445,6 +468,11 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
445
468
|
{
|
|
446
469
|
updateElement(null, newVNode2, isSvgMode);
|
|
447
470
|
}
|
|
471
|
+
const rootNode = elm.getRootNode();
|
|
472
|
+
const isElementWithinShadowRoot = !rootNode.querySelector("body");
|
|
473
|
+
if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
|
|
474
|
+
elm.classList.add(elm["s-si"] = scopeId);
|
|
475
|
+
}
|
|
448
476
|
if (newVNode2.$children$) {
|
|
449
477
|
for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
|
|
450
478
|
childNode = createElm(oldParentVNode, newVNode2, i2);
|
|
@@ -603,7 +631,10 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
|
603
631
|
elm.textContent = "";
|
|
604
632
|
}
|
|
605
633
|
addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
|
|
606
|
-
} else if (
|
|
634
|
+
} else if (
|
|
635
|
+
// don't do this on initial render as it can cause non-hydrated content to be removed
|
|
636
|
+
!isInitialRender && BUILD.updatable && oldChildren !== null
|
|
637
|
+
) {
|
|
607
638
|
removeVnodes(oldChildren, 0, oldChildren.length - 1);
|
|
608
639
|
}
|
|
609
640
|
if (isSvgMode && tag === "svg") {
|
|
@@ -820,7 +851,8 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
820
851
|
if (this.hasOwnProperty(propName)) {
|
|
821
852
|
newValue = this[propName];
|
|
822
853
|
delete this[propName];
|
|
823
|
-
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" &&
|
|
854
|
+
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
|
|
855
|
+
this[propName] == newValue) {
|
|
824
856
|
return;
|
|
825
857
|
} else if (propName == null) {
|
|
826
858
|
const hostRef = getHostRef(this);
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { b as bootstrapLazy } from './index-6e3b3881.js';
|
|
2
|
+
export { s as setNonce } from './index-6e3b3881.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-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-6e3b3881.js';
|
|
2
|
+
export { s as setNonce } from './index-6e3b3881.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v4.
|
|
6
|
+
Stencil Client Patch Browser v4.21.0 | 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=new WeakMap,n=e=>t.get(e),l=(e,n)=>t.set(n.t=e,n),o=(e,t)=>(0,console.error)(e,t),s=new Map,i=new Map,r="slot-fb{display:contents}slot-fb[hidden]{display:none}",c="http://www.w3.org/1999/xlink",u="undefined"!=typeof window?window:{},a=u.document||{head:{}},f={l:0,o:"",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)},h=e=>Promise.resolve(e),m=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),p=!1,d=[],w=[],y=(e,t)=>n=>{e.push(n),p||(p=!0,t&&4&f.l?b($):f.raf($))},v=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){o(e)}e.length=0},$=()=>{v(d),v(w),(p=d.length>0)&&f.raf($)},b=e=>h().then(e),g=y(w,!0),S={},j=e=>"object"==(e=typeof e)||"function"===e;function k(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:()=>E,map:()=>C,ok:()=>O,unwrap:()=>x,unwrapErr:()=>P});var O=e=>({isOk:!0,isErr:!1,value:e}),E=e=>({isOk:!1,isErr:!0,value:e});function C(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 E(e.value);throw"should never get here"}var M,x=e=>{if(e.isOk)return e.value;throw e.value},P=e=>{if(e.isErr)return e.value;throw e.value},A=(e,t,...n)=>{let l=null,o=null,s=!1,i=!1;const r=[],c=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?c(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof e&&!j(l))&&(l+=""),s&&i?r[r.length-1].i+=l:r.push(s?H(null,l):l),i=s)};if(c(n),t){t.key&&(o=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}const u=H(e,null);return u.u=t,r.length>0&&(u.h=r),u.m=o,u},H=(e,t)=>({l:0,p:e,i:t,v:null,h:null,u:null,m:null}),T={},D=new WeakMap,F=e=>"sc-"+e.$,N=(e,t,n,l,o,s)=>{if(n!==l){let i=((e,t)=>t in e)(e,t),r=t.toLowerCase();if("class"===t){const t=e.classList,o=L(n),s=L(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("key"===t);else{const u=j(l);if((i||u&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==o||("function"==typeof e.__lookupSetter__(t)?e[t]=o:e.setAttribute(t,o))}}catch(e){}let a=!1;r!==(r=r.replace(/^xlink\:?/,""))&&(t=r,a=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(a?e.removeAttributeNS(c,t):e.removeAttribute(t)):(!i||4&s||o)&&!u&&(l=!0===l?"":l,a?e.setAttributeNS(c,t,l):e.setAttribute(t,l))}}},R=/\s/,L=e=>e?e.split(R):[],U=(e,t,n)=>{const l=11===t.v.nodeType&&t.v.host?t.v.host:t.v,o=e&&e.u||S,s=t.u||S;for(const e of W(Object.keys(o)))e in s||N(l,e,o[e],void 0,n,t.l);for(const e of W(Object.keys(s)))N(l,e,o[e],s[e],n,t.l)};function W(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var q=!1,G=(e,t,n)=>{const l=t.h[n];let o,s,i=0;if(null!==l.i)o=l.v=a.createTextNode(l.i);else{if(q||(q="svg"===l.p),o=l.v=a.createElementNS(q?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",l.p),q&&"foreignObject"===l.p&&(q=!1),U(null,l,q),o.getRootNode().querySelector("body"),l.h)for(i=0;i<l.h.length;++i)s=G(e,l,i),s&&o.appendChild(s);"svg"===l.p?q=!1:"foreignObject"===o.tagName&&(q=!0)}return o["s-hn"]=M,o},V=(e,t,n,l,o,s)=>{let i,r=e;for(;o<=s;++o)l[o]&&(i=G(null,n,o),i&&(l[o].v=i,I(r,i,t)))},_=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.v;e&&e.remove()}}},z=(e,t,n=!1)=>e.p===t.p&&(!!n||e.m===t.m),B=(e,t,n=!1)=>{const l=t.v=e.v,o=e.h,s=t.h,i=t.p,r=t.i;null===r?(U(e,t,q="svg"===i||"foreignObject"!==i&&q),null!==o&&null!==s?((e,t,n,l,o=!1)=>{let s,i,r=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(;r<=f&&c<=p;)if(null==h)h=t[++r];else if(null==m)m=t[--f];else if(null==d)d=l[++c];else if(null==w)w=l[--p];else if(z(h,d,o))B(h,d,o),h=t[++r],d=l[++c];else if(z(m,w,o))B(m,w,o),m=t[--f],w=l[--p];else if(z(h,w,o))B(h,w,o),I(e,h.v,m.v.nextSibling),h=t[++r],w=l[--p];else if(z(m,d,o))B(m,d,o),I(e,m.v,h.v),m=t[--f],d=l[++c];else{for(u=-1,a=r;a<=f;++a)if(t[a]&&null!==t[a].m&&t[a].m===d.m){u=a;break}u>=0?(i=t[u],i.p!==d.p?s=G(t&&t[c],n,u):(B(i,d,o),t[u]=void 0,s=i.v),d=l[++c]):(s=G(t&&t[c],n,c),d=l[++c]),s&&I(h.v.parentNode,s,h.v)}r>f?V(e,null==l[p+1]?null:l[p+1].v,n,l,c,p):c>p&&_(t,r,f)})(l,o,t,s,n):null!==s?(null!==e.i&&(l.textContent=""),V(l,null,t,s,0,s.length-1)):!n&&null!==o&&_(o,0,o.length-1),q&&"svg"===i&&(q=!1)):e.i!==r&&(l.data=r)},I=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),J=(e,t)=>{t&&!e.S&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.S=t)))},K=(e,t)=>{if(e.l|=16,!(4&e.l))return J(e,e.j),g((()=>Q(e,t)));e.l|=512},Q=(e,t)=>{const n=e.t;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 X(void 0,(()=>Z(e,n,t)))},X=(e,t)=>Y(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),Y=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,Z=async(e,t,n)=>{var l;const o=e.$hostElement$,s=o["s-rc"];n&&(e=>{const t=e.k;((e,t)=>{var n;const l=F(t),o=i.get(l);if(e=11===e.nodeType?e:a,o)if("string"==typeof o){let s,i=D.get(e=e.head||e);if(i||D.set(e,i=new Set),!i.has(l)){{s=a.createElement("style"),s.innerHTML=o;const l=null!=(n=f.O)?n:k(a);if(null!=l&&s.setAttribute("nonce",l),!(1&t.l))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),n=t.length>0?t[t.length-1].nextSibling:document.querySelector("style");e.insertBefore(s,n)}else"host"in e?e.prepend(s):e.append(s);1&t.l&&"HEAD"!==e.nodeName&&e.insertBefore(s,null)}4&t.l&&(s.innerHTML+=r),i&&i.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o])})(e.$hostElement$.getRootNode(),t)})(e);ee(e,t,o,n),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=null!=(l=o["s-p"])?l:[],n=()=>te(e);0===t.length?n():(Promise.all(t).then(n),e.l|=4,t.length=0)}},ee=(e,t,n,l)=>{try{t=t.render(),e.l&=-17,e.l|=2,((e,t,n=!1)=>{const l=e.$hostElement$,o=e.C||H(null,null),s=(e=>e&&e.p===T)(t)?t:A(null,null,t);if(M=l.tagName,n&&s.u)for(const e of Object.keys(s.u))l.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(s.u[e]=l[e]);s.p=null,s.l|=4,e.C=s,s.v=o.v=l,B(o,s,n)})(e,t,l)}catch(t){o(t,e.$hostElement$)}return null},te=e=>{const t=e.$hostElement$,n=e.j;64&e.l||(e.l|=64,le(t),e.M(t),n||ne()),e.S&&(e.S(),e.S=void 0),512&e.l&&b((()=>K(e,!1))),e.l&=-517},ne=()=>{le(a.documentElement),b((()=>(e=>{const t=f.ce("appload",{detail:{namespace:"proto-ikons-wc"}});return e.dispatchEvent(t),t})(u)))},le=e=>e.classList.add("hydrated"),oe=(e,t,l)=>{var o,s;const i=e.prototype;if(t.P){const r=Object.entries(null!=(o=t.P)?o:{});if(r.map((([e,[o]])=>{(31&o||2&l&&32&o)&&Object.defineProperty(i,e,{get(){return((e,t)=>n(this).A.get(t))(0,e)},set(l){((e,t,l,o)=>{const s=n(e);if(!s)throw Error(`Couldn't find host element for "${o.$}" 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 i=s.A.get(t),r=s.l,c=s.t;l=((e,t)=>null==e||j(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(l,o.P[t][0]),8&r&&void 0!==i||l===i||Number.isNaN(i)&&Number.isNaN(l)||(s.A.set(t,l),c&&2==(18&r)&&K(s,!1))})(this,e,l,t)},configurable:!0,enumerable:!0})})),1&l){const l=new Map;i.attributeChangedCallback=function(e,o,s){f.jmp((()=>{var r;const c=l.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const l=n(this),i=null==l?void 0:l.l;if(i&&!(8&i)&&128&i&&s!==o){const n=l.t,i=null==(r=t.H)?void 0:r[e];null==i||i.forEach((t=>{null!=n[t]&&n[t].call(n,s,o,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=t.H)?s:{}),...r.filter((([e,t])=>15&t[0])).map((([e,t])=>{const n=t[1]||e;return l.set(n,e),n}))]))}}return e},se=(e,l={})=>{var c;const h=[],p=l.exclude||[],d=u.customElements,w=a.head,y=w.querySelector("meta[charset]"),v=a.createElement("style"),$=[];let b,g=!0;Object.assign(f,l),f.o=new URL(l.resourcesUrl||"./",a.baseURI).href;let S=!1;if(e.map((e=>{e[1].map((l=>{const r={l:l[0],$:l[1],P:l[2],T:l[3]};4&r.l&&(S=!0),r.P=l[2];const c=r.$,u=class extends HTMLElement{constructor(e){super(e),this.hasRegisteredEventListeners=!1,((e,n)=>{const l={l:0,$hostElement$:e,k:n,A:new Map};l.D=new Promise((e=>l.M=e)),e["s-p"]=[],e["s-rc"]=[],t.set(e,l)})(e=this,r)}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),b&&(clearTimeout(b),b=null),g?$.push(this):f.jmp((()=>(e=>{if(!(1&f.l)){const t=n(e),l=t.k,r=()=>{};if(1&t.l)(null==t?void 0:t.t)||(null==t?void 0:t.D)&&t.D.then((()=>{}));else{t.l|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){J(t,t.j=n);break}}l.P&&Object.entries(l.P).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.l)){if(t.l|=32,n.F){const e=(e=>{const t=e.$.replace(/-/g,"_"),n=e.F;if(!n)return;const l=s.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(s.set(n,e),e[t])),o)
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};l=await e,t()}else l=e;if(!l)throw Error(`Constructor for "${n.$}#${t.N}" was not found`);l.isProxied||(oe(l,n,2),l.isProxied=!0);const i=()=>{};t.l|=8;try{new l(t)}catch(e){o(e)}t.l&=-9,i()}else l=e.constructor,customElements.whenDefined(e.localName).then((()=>t.l|=128));if(l&&l.style){let e;"string"==typeof l.style&&(e=l.style);const t=F(n);if(!i.has(t)){const l=()=>{};((e,t,n)=>{let l=i.get(e);m&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,i.set(e,l)})(t,e,!!(1&n.l)),l()}}}const r=t.j,c=()=>K(t,!0);r&&r["s-rc"]?r["s-rc"].push(c):c()})(e,t,l)}r()}})(this)))}disconnectedCallback(){f.jmp((()=>(async()=>{if(!(1&f.l)){const e=n(this);(null==e?void 0:e.t)||(null==e?void 0:e.D)&&e.D.then((()=>{}))}})()))}componentOnReady(){return n(this).D}};r.F=e[0],p.includes(c)||d.get(c)||(h.push(c),d.define(c,oe(u,r,1)))}))})),h.length>0&&(S&&(v.textContent+=r),v.textContent+=h.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",v.innerHTML.length)){v.setAttribute("data-styles","");const e=null!=(c=f.O)?c:k(a);null!=e&&v.setAttribute("nonce",e),w.insertBefore(v,y?y.nextSibling:w.firstChild)}g=!1,$.length?$.map((e=>e.connectedCallback())):f.jmp((()=>b=setTimeout(ne,30)))},ie=e=>f.O=e;export{se as b,A as h,h as p,l as r,ie as s}
|