proto-ikons-wc 0.1.0 → 0.1.2

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.
@@ -0,0 +1,2 @@
1
+ var t=Object.defineProperty,e=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},n=(t,e)=>{t.__stencil__getHostRef=()=>e,e.t=t},o=(t,e)=>(0,console.error)(t,e),l=new Map,i=new Map,s="slot-fb{display:contents}slot-fb[hidden]{display:none}",r="http://www.w3.org/1999/xlink",c="undefined"!=typeof window?window:{},u={o:0,l:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},a=t=>Promise.resolve(t),f=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),d=!1,h=[],p=[],m=(t,e)=>n=>{t.push(n),d||(d=!0,e&&4&u.o?y(w):u.raf(w))},v=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){o(t)}t.length=0},w=()=>{v(h),v(p),(d=h.length>0)&&u.raf(w)},y=t=>a().then(t),b=m(p,!0),$=t=>"object"==(t=typeof t)||"function"===t;function g(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((e,n)=>{for(var o in n)t(e,o,{get:n[o],enumerable:!0})})({},{err:()=>j,map:()=>k,ok:()=>S,unwrap:()=>C,unwrapErr:()=>E});var S=t=>({isOk:!0,isErr:!1,value:t}),j=t=>({isOk:!1,isErr:!0,value:t});function k(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>S(t))):S(n)}if(t.isErr)return j(t.value);throw"should never get here"}var O,C=t=>{if(t.isOk)return t.value;throw t.value},E=t=>{if(t.isErr)return t.value;throw t.value},M=(t,e,...n)=>{let o=null,l=null,i=!1,s=!1;const r=[],c=e=>{for(let n=0;n<e.length;n++)o=e[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof t&&!$(o))&&(o+=""),i&&s?r[r.length-1].i+=o:r.push(i?x(null,o):o),s=i)};if(c(n),e){e.key&&(l=e.key);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}const u=x(t,null);return u.u=e,r.length>0&&(u.h=r),u.p=l,u},x=(t,e)=>({o:0,m:t,i:e,v:null,h:null,u:null,p:null}),P={},D=(t,e)=>null==t||$(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?parseFloat(t):1&e?t+"":t,W=new WeakMap,A=t=>"sc-"+t.$,N=(t,e,n,o,l,i)=>{if(n===o)return;let s=((t,e)=>e in t)(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,l=U(n);let i=U(o);e.remove(...l.filter((t=>t&&!i.includes(t)))),e.add(...i.filter((t=>t&&!l.includes(t))))}else if("key"===e);else{const u=$(o);if((s||u&&null!==o)&&!l)try{if(t.tagName.includes("-"))t[e]!==o&&(t[e]=o);else{const l=null==o?"":o;"list"===e?s=!1:null!=n&&t[e]==l||("function"==typeof t.__lookupSetter__(e)?t[e]=l:t.setAttribute(e,l))}}catch(t){}let a=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(e=c,a=!0),null==o||!1===o?!1===o&&""!==t.getAttribute(e)||(a?t.removeAttributeNS(r,e):t.removeAttribute(e)):(!s||4&i||l)&&!u&&1===t.nodeType&&(o=!0===o?"":o,a?t.setAttributeNS(r,e,o):t.setAttribute(e,o))}},R=/\s/,U=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(R):[]),L=(t,e,n)=>{const o=11===e.v.nodeType&&e.v.host?e.v.host:e.v,l=t&&t.u||{},i=e.u||{};for(const t of T(Object.keys(l)))t in i||N(o,t,l[t],void 0,n,e.o);for(const t of T(Object.keys(i)))N(o,t,l[t],i[t],n,e.o)};function T(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var F=!1,H=(t,e,n)=>{const o=e.h[n];let l,i,s=0;if(null!==o.i)l=o.v=c.document.createTextNode(o.i);else{if(F||(F="svg"===o.m),!c.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(l=o.v=c.document.createElementNS(F?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.m),F&&"foreignObject"===o.m&&(F=!1),L(null,o,F),o.h)for(s=0;s<o.h.length;++s)i=H(t,o,s),i&&l.appendChild(i);"svg"===o.m?F=!1:"foreignObject"===l.tagName&&(F=!0)}return l["s-hn"]=O,l},z=(t,e,n,o,l,i)=>{let s,r=t;for(;l<=i;++l)o[l]&&(s=H(null,n,l),s&&(o[l].v=s,I(r,s,e)))},V=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.v;t&&t.remove()}}},q=(t,e,n=!1)=>t.m===e.m&&(n?(n&&!t.p&&e.p&&(t.p=e.p),!0):t.p===e.p),G=(t,e,n=!1)=>{const o=e.v=t.v,l=t.h,i=e.h,s=e.m,r=e.i;null===r?(L(t,e,F="svg"===s||"foreignObject"!==s&&F),null!==l&&null!==i?((t,e,n,o,l=!1)=>{let i,s,r=0,c=0,u=0,a=0,f=e.length-1,d=e[0],h=e[f],p=o.length-1,m=o[0],v=o[p];for(;r<=f&&c<=p;)if(null==d)d=e[++r];else if(null==h)h=e[--f];else if(null==m)m=o[++c];else if(null==v)v=o[--p];else if(q(d,m,l))G(d,m,l),d=e[++r],m=o[++c];else if(q(h,v,l))G(h,v,l),h=e[--f],v=o[--p];else if(q(d,v,l))G(d,v,l),I(t,d.v,h.v.nextSibling),d=e[++r],v=o[--p];else if(q(h,m,l))G(h,m,l),I(t,h.v,d.v),h=e[--f],m=o[++c];else{for(u=-1,a=r;a<=f;++a)if(e[a]&&null!==e[a].p&&e[a].p===m.p){u=a;break}u>=0?(s=e[u],s.m!==m.m?i=H(e&&e[c],n,u):(G(s,m,l),e[u]=void 0,i=s.v),m=o[++c]):(i=H(e&&e[c],n,c),m=o[++c]),i&&I(d.v.parentNode,i,d.v)}r>f?z(t,null==o[p+1]?null:o[p+1].v,n,o,c,p):c>p&&V(e,r,f)})(o,l,e,i,n):null!==i?(null!==t.i&&(o.textContent=""),z(o,null,e,i,0,i.length-1)):!n&&null!==l&&V(l,0,l.length-1),F&&"svg"===s&&(F=!1)):t.i!==r&&(o.data=r)},I=(t,e,n)=>null==t?void 0:t.insertBefore(e,n),Y=(t,e)=>{if(e&&!t.S&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t.S=()=>{e["s-p"].splice(n-1,1),o()})))}},_=(t,e)=>{if(t.o|=16,!(4&t.o))return Y(t,t.j),b((()=>B(t,e)));t.o|=512},B=(t,e)=>{const n=t.$hostElement$,o=t.t;if(!o)throw 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 l;return l=et(o,e?"componentWillLoad":"componentWillUpdate",void 0,n),l=J(l,(()=>et(o,"componentWillRender",void 0,n))),J(l,(()=>Q(t,o,e)))},J=(t,e)=>K(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),K=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Q=async(t,e,n)=>{var o;const l=t.$hostElement$,r=l["s-rc"];n&&(t=>{const e=t.k;((t,e)=>{var n;const o=A(e),l=i.get(o);if(!c.document)return o;if(t=11===t.nodeType?t:c.document,l)if("string"==typeof l){let i,r=W.get(t=t.head||t);if(r||W.set(t,r=new Set),!r.has(o)){{i=document.querySelector(`[sty-id="${o}"]`)||c.document.createElement("style"),i.innerHTML=l;const s=null!=(n=u.O)?n:g(c.document);if(null!=s&&i.setAttribute("nonce",s),!(1&e.o))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(i,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(f){const e=new CSSStyleSheet;e.replaceSync(l),t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=l+e.innerHTML:t.prepend(i)}else t.append(i);1&e.o&&t.insertBefore(i,null)}4&e.o&&(i.innerHTML+=s),r&&r.add(o)}}else t.adoptedStyleSheets.includes(l)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,l])})(t.$hostElement$.getRootNode(),e)})(t);X(t,e,l,n),r&&(r.map((t=>t())),l["s-rc"]=void 0);{const e=null!=(o=l["s-p"])?o:[],n=()=>Z(t);0===e.length?n():(Promise.all(e).then(n),t.o|=4,e.length=0)}},X=(t,e,n,l)=>{try{e=e.render(),t.o&=-17,t.o|=2,((t,e,n=!1)=>{const o=t.$hostElement$,l=t.C||x(null,null),i=(t=>t&&t.m===P)(e)?e:M(null,null,e);if(O=o.tagName,n&&i.u)for(const t of Object.keys(i.u))o.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(i.u[t]=o[t]);i.m=null,i.o|=4,t.C=i,i.v=l.v=o,G(l,i,n)})(t,e,l)}catch(e){o(e,t.$hostElement$)}return null},Z=t=>{const e=t.$hostElement$,n=t.t,o=t.j;et(n,"componentDidRender",void 0,e),64&t.o?et(n,"componentDidUpdate",void 0,e):(t.o|=64,nt(e),et(n,"componentDidLoad",void 0,e),t.M(e),o||tt()),t.S&&(t.S(),t.S=void 0),512&t.o&&y((()=>_(t,!1))),t.o&=-517},tt=()=>{y((()=>(t=>{const e=u.ce("appload",{detail:{namespace:"proto-ikons-wc"}});return t.dispatchEvent(e),e})(c)))},et=(t,e,n,l)=>{if(t&&t[e])try{return t[e](n)}catch(t){o(t,l)}},nt=t=>t.classList.add("hydrated"),ot=(t,n,o,l)=>{const i=e(t);if(!i)throw Error(`Couldn't find host element for "${l.$}" 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 s=i.P.get(n),r=i.o,c=i.t;if(o=D(o,l.D[n][0]),(!(8&r)||void 0===s)&&o!==s&&(!Number.isNaN(s)||!Number.isNaN(o))&&(i.P.set(n,o),c&&2==(18&r))){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(o,s,n))return;_(i,!1)}},lt=(t,n,o)=>{var l,i;const s=t.prototype;if(n.D){const r=Object.entries(null!=(l=n.D)?l:{});if(r.map((([t,[l]])=>{if(31&l||2&o&&32&l){const{get:i,set:r}=Object.getOwnPropertyDescriptor(s,t)||{};i&&(n.D[t][0]|=2048),r&&(n.D[t][0]|=4096),(1&o||!i)&&Object.defineProperty(s,t,{get(){{if(!(2048&n.D[t][0]))return((t,n)=>e(this).P.get(n))(0,t);const o=e(this),l=o?o.t:s;if(!l)return;return l[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(s,t,{set(i){const s=e(this);if(r){const e=32&l?this[t]:s.$hostElement$[t];return void 0===e&&s.P.get(t)?i=s.P.get(t):!s.P.get(t)&&e&&s.P.set(t,e),r.call(this,D(i,l)),void ot(this,t,i=32&l?this[t]:s.$hostElement$[t],n)}{if(!(1&o&&4096&n.D[t][0]))return ot(this,t,i,n),void(1&o&&!s.t&&s.W.then((()=>{4096&n.D[t][0]&&s.t[t]!==s.P.get(t)&&(s.t[t]=i)})));const e=()=>{const e=s.t[t];!s.P.get(t)&&e&&s.P.set(t,e),s.t[t]=D(i,l),ot(this,t,s.t[t],n)};s.t?e():s.W.then((()=>e()))}}})}})),1&o){const o=new Map;s.attributeChangedCallback=function(t,l,i){u.jmp((()=>{var r;const c=o.get(t);if(this.hasOwnProperty(c))i=this[c],delete this[c];else{if(s.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==i)return;if(null==c){const o=e(this),s=null==o?void 0:o.o;if(s&&!(8&s)&&128&s&&i!==l){const e=o.t,s=null==(r=n.A)?void 0:r[t];null==s||s.forEach((n=>{null!=e[n]&&e[n].call(e,i,l,t)}))}return}}const u=Object.getOwnPropertyDescriptor(s,c);(i=(null!==i||"boolean"!=typeof this[c])&&i)===this[c]||u.get&&!u.set||(this[c]=i)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=n.A)?i:{}),...r.filter((([t,e])=>15&e[0])).map((([t,e])=>{const n=e[1]||t;return o.set(n,t),n}))]))}}return t},it=(t,e)=>{et(t,"connectedCallback",void 0,e)},st=(t,e)=>{et(t,"disconnectedCallback",void 0,e||t)},rt=(t,n={})=>{var r;if(!c.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const a=[],d=n.exclude||[],h=c.customElements,p=c.document.head,m=p.querySelector("meta[charset]"),v=c.document.createElement("style"),w=[];let y,b=!0;Object.assign(u,n),u.l=new URL(n.resourcesUrl||"./",c.document.baseURI).href;let $=!1;if(t.map((t=>{t[1].map((n=>{const s={o:n[0],$:n[1],D:n[2],N:n[3]};4&s.o&&($=!0),s.D=n[2];const r=s.$,c=class extends HTMLElement{constructor(t){super(t),this.hasRegisteredEventListeners=!1,((t,e)=>{const n={o:0,$hostElement$:t,k:e,P:new Map};n.W=new Promise((t=>n.M=t)),t["s-p"]=[],t["s-rc"]=[];const o=n;t.__stencil__getHostRef=()=>o})(t=this,s)}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),y&&(clearTimeout(y),y=null),b?w.push(this):u.jmp((()=>(t=>{if(!(1&u.o)){const n=e(t),s=n.k,r=()=>{};if(1&n.o)(null==n?void 0:n.t)?it(n.t,t):(null==n?void 0:n.W)&&n.W.then((()=>it(n.t,t)));else{n.o|=1;{let e=t;for(;e=e.parentNode||e.host;)if(e["s-p"]){Y(n,n.j=e);break}}s.D&&Object.entries(s.D).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let s;if(!(32&e.o)){if(e.o|=32,n.R){const i=((t,e)=>{const n=t.$.replace(/-/g,"_"),i=t.R;if(!i)return;const s=l.get(i);return s?s[n]:import(`./${i}.entry.js`).then((t=>(l.set(i,t),t[n])),(t=>{o(t,e.$hostElement$)}))
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,e);if(i&&"then"in i){const t=()=>{};s=await i,t()}else s=i;if(!s)throw Error(`Constructor for "${n.$}#${e.U}" was not found`);s.isProxied||(lt(s,n,2),s.isProxied=!0);const r=()=>{};e.o|=8;try{new s(e)}catch(e){o(e,t)}e.o&=-9,r(),it(e.t,t)}else s=t.constructor,customElements.whenDefined(t.localName).then((()=>e.o|=128));if(s&&s.style){let t;"string"==typeof s.style&&(t=s.style);const e=A(n);if(!i.has(e)){const o=()=>{};((t,e,n)=>{let o=i.get(t);f&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,i.set(t,o)})(e,t,!!(1&n.o)),o()}}}const r=e.j,c=()=>_(e,!0);r&&r["s-rc"]?r["s-rc"].push(c):c()})(t,n,s)}r()}})(this)))}disconnectedCallback(){u.jmp((()=>(async t=>{if(!(1&u.o)){const n=e(t);(null==n?void 0:n.t)?st(n.t,t):(null==n?void 0:n.W)&&n.W.then((()=>st(n.t,t)))}W.has(t)&&W.delete(t),t.shadowRoot&&W.has(t.shadowRoot)&&W.delete(t.shadowRoot)})(this))),u.raf((()=>{var t;const n=e(this),o=w.findIndex((t=>t===this));o>-1&&w.splice(o,1),(null==(t=null==n?void 0:n.C)?void 0:t.v)instanceof Node&&!n.C.v.isConnected&&delete n.C.v}))}componentOnReady(){return e(this).W}};s.R=t[0],d.includes(r)||h.get(r)||(a.push(r),h.define(r,lt(c,s,1)))}))})),a.length>0&&($&&(v.textContent+=s),v.textContent+=a.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",v.innerHTML.length)){v.setAttribute("data-styles","");const t=null!=(r=u.O)?r:g(c.document);null!=t&&v.setAttribute("nonce",t),p.insertBefore(v,m?m.nextSibling:p.firstChild)}b=!1,w.length?w.map((t=>t.connectedCallback())):u.jmp((()=>y=setTimeout(tt,30)))},ct=t=>u.O=t;export{rt as b,M as h,a as p,n as r,ct as s}
@@ -1 +1 @@
1
- import{p as e,b as i}from"./p-063ff2f3.js";export{s as setNonce}from"./p-063ff2f3.js";import{g as n}from"./p-e1255160.js";(()=>{const i=import.meta.url,n={};return""!==i&&(n.resourcesUrl=new URL(".",i).href),e(n)})().then((async e=>(await n(),i([["p-f03cde32",[[0,"acura-ikon",{hex:[1],name:[1],size:[2]}],[0,"alfa-romeo-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"alfa-romeo-ikon",{hex:[1],name:[1],size:[2]}],[0,"alien-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"am-general-ikon",{hex:[1],name:[1],size:[2]}],[0,"asterisk-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"aston-martin-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"aston-martin-ikon",{hex:[1],name:[1],size:[2]}],[0,"audi-ikon",{hex:[1],name:[1],size:[2]}],[0,"barcode-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"barcode-scan-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"bash-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"beaker-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"bently-ikon",{hex:[1],name:[1],size:[2]}],[0,"bmw-ikon",{hex:[1],name:[1],size:[2]}],[0,"bugatti-ikon",{hex:[1],name:[1],size:[2]}],[0,"buick-ikon",{hex:[1],name:[1],size:[2]}],[0,"cadillac-ikon",{hex:[1],name:[1],size:[2]}],[0,"chart-bar-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"chart-bubble-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"chart-donut-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"chart-donuts-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"check-icon",{selected:[4],hex:[1],label:[1],name:[1],size:[2]}],[0,"chevrolet-ikon",{hex:[1],name:[1],size:[2]}],[0,"chevron-double-left-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"chrysler-ikon",{hex:[1],name:[1],size:[2]}],[0,"circular-saw-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"citroen-ikon",{hex:[1],name:[1],size:[2]}],[0,"close-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"daewoo-ikon",{hex:[1],name:[1],size:[2]}],[0,"dodge-ikon",{hex:[1],name:[1],size:[2]}],[0,"eagle-ikon",{hex:[1],name:[1],size:[2]}],[0,"ferrari-ikon",{hex:[1],name:[1],size:[2]}],[0,"fiat-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"fiat-ikon",{hex:[1],name:[1],size:[2]}],[0,"fingerprint-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"fire-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"fisker-ikon",{hex:[1],name:[1],size:[2]}],[0,"flask-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"ford-ikon",{hex:[1],name:[1],size:[2]}],[0,"genesis-ikon",{hex:[1],name:[1],size:[2]}],[0,"geo-ikon",{hex:[1],name:[1],size:[2]}],[0,"git-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"gmc-ikon",{hex:[1],name:[1],size:[2]}],[0,"honda-ikon",{hex:[1],name:[1],size:[2]}],[0,"hummer-ikon",{hex:[1],name:[1],size:[2]}],[0,"hyundai-ikon",{hex:[1],name:[1],size:[2]}],[0,"infiniti-ikon",{hex:[1],name:[1],size:[2]}],[0,"isuzu-ikon",{hex:[1],name:[1],size:[2]}],[0,"jaguar-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"jaguar-ikon",{hex:[1],name:[1],size:[2]}],[0,"java-script-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"jeep-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"jeep-ikon",{hex:[1],name:[1],size:[2]}],[0,"kia-ikon",{hex:[1],name:[1],size:[2]}],[0,"lamborghini-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"lamborghini-ikon",{hex:[1],name:[1],size:[2]}],[0,"land-rover-ikon",{hex:[1],name:[1],size:[2]}],[0,"lexus-ikon",{hex:[1],name:[1],size:[2]}],[0,"lincoln-ikon",{hex:[1],name:[1],size:[2]}],[0,"lotus-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"lotus-ikon",{hex:[1],name:[1],size:[2]}],[0,"maserati-ikon",{hex:[1],name:[1],size:[2]}],[0,"maybach-ikon",{hex:[1],name:[1],size:[2]}],[0,"mazda-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"mazda-ikon",{hex:[1],name:[1],size:[2]}],[0,"mclaren-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"mclaren-ikon",{hex:[1],name:[1],size:[2]}],[0,"mercedes-benz-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"mercedes-benz-ikon",{hex:[1],name:[1],size:[2]}],[0,"mercury-ikon",{hex:[1],name:[1],size:[2]}],[0,"mini-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"mini-ikon",{hex:[1],name:[1],size:[2]}],[0,"mitsubishi-ikon",{hex:[1],name:[1],size:[2]}],[0,"nissan-ikon",{hex:[1],name:[1],size:[2]}],[0,"oldsmobile-ikon",{hex:[1],name:[1],size:[2]}],[0,"one-password-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"opel-ikon",{hex:[1],name:[1],size:[2]}],[0,"panoz-ikon",{hex:[1],name:[1],size:[2]}],[0,"paw-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"peugeot-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"peugeot-ikon",{hex:[1],name:[1],size:[2]}],[0,"plymouth-ikon",{hex:[1],name:[1],size:[2]}],[0,"pontiac-ikon",{hex:[1],name:[1],size:[2]}],[0,"porsche-ikon",{hex:[1],name:[1],size:[2]}],[0,"protocol-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"pulse-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"puzzle-icon",{selected:[4],hex:[1],label:[1],name:[1],size:[2]}],[0,"qr-code-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"radio-2-icon",{selected:[4],hex:[1],label:[1],name:[1],size:[2]}],[0,"radio-icon",{selected:[4],hex:[1],label:[1],name:[1],size:[2]}],[0,"ram-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"ram-ikon",{hex:[1],name:[1],size:[2]}],[0,"refresh-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"renault-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"renault-ikon",{hex:[1],name:[1],size:[2]}],[0,"rolls-royce-ikon",{hex:[1],name:[1],size:[2]}],[0,"saab-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"saab-ikon",{hex:[1],name:[1],size:[2]}],[0,"saturn-ikon",{hex:[1],name:[1],size:[2]}],[0,"scion-ikon",{hex:[1],name:[1],size:[2]}],[0,"seat-ikon",{hex:[1],name:[1],size:[2]}],[0,"skoda-ikon",{hex:[1],name:[1],size:[2]}],[0,"slug-icon",{label:[1],name:[1],size:[2]}],[0,"smart-ikon",{hex:[1],name:[1],size:[2]}],[0,"spider-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"spyker-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"spyker-ikon",{hex:[1],name:[1],size:[2]}],[0,"subaru-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"subaru-ikon",{hex:[1],name:[1],size:[2]}],[0,"suzuki-ikon",{hex:[1],name:[1],size:[2]}],[0,"svg-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"tesla-ikon",{hex:[1],name:[1],size:[2]}],[0,"toyota-ikon",{hex:[1],name:[1],size:[2]}],[0,"vector-curve-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"volkswagen-ikon",{hex:[1],name:[1],size:[2]}],[0,"volvo-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"volvo-ikon",{hex:[1],name:[1],size:[2]}],[0,"webhook-icon",{hex:[1],label:[1],name:[1],size:[2]}]]]],e))));
1
+ import{p as e,b as i}from"./p-c5e0683b.js";export{s as setNonce}from"./p-c5e0683b.js";import{g as n}from"./p-e1255160.js";(()=>{const i=import.meta.url,n={};return""!==i&&(n.resourcesUrl=new URL(".",i).href),e(n)})().then((async e=>(await n(),i([["p-99f94268",[[0,"acura-ikon",{hex:[1],name:[1],size:[2]}],[0,"alfa-romeo-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"alfa-romeo-ikon",{hex:[1],name:[1],size:[2]}],[0,"alien-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"am-general-ikon",{hex:[1],name:[1],size:[2]}],[0,"asterisk-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"aston-martin-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"aston-martin-ikon",{hex:[1],name:[1],size:[2]}],[0,"audi-ikon",{hex:[1],name:[1],size:[2]}],[0,"barcode-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"barcode-scan-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"bash-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"beaker-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"bently-ikon",{hex:[1],name:[1],size:[2]}],[0,"bmw-ikon",{hex:[1],name:[1],size:[2]}],[0,"bugatti-ikon",{hex:[1],name:[1],size:[2]}],[0,"buick-ikon",{hex:[1],name:[1],size:[2]}],[0,"cadillac-ikon",{hex:[1],name:[1],size:[2]}],[0,"chart-bar-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"chart-bubble-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"chart-donut-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"chart-donuts-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"check-icon",{selected:[4],hex:[1],label:[1],name:[1],size:[2]}],[0,"chevrolet-ikon",{hex:[1],name:[1],size:[2]}],[0,"chevron-double-left-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"chrysler-ikon",{hex:[1],name:[1],size:[2]}],[0,"circular-saw-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"citroen-ikon",{hex:[1],name:[1],size:[2]}],[0,"close-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"daewoo-ikon",{hex:[1],name:[1],size:[2]}],[0,"dodge-ikon",{hex:[1],name:[1],size:[2]}],[0,"eagle-ikon",{hex:[1],name:[1],size:[2]}],[0,"ferrari-ikon",{hex:[1],name:[1],size:[2]}],[0,"fiat-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"fiat-ikon",{hex:[1],name:[1],size:[2]}],[0,"fingerprint-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"fire-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"fisker-ikon",{hex:[1],name:[1],size:[2]}],[0,"flask-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"ford-ikon",{hex:[1],name:[1],size:[2]}],[0,"genesis-ikon",{hex:[1],name:[1],size:[2]}],[0,"geo-ikon",{hex:[1],name:[1],size:[2]}],[0,"git-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"gmc-ikon",{hex:[1],name:[1],size:[2]}],[0,"honda-ikon",{hex:[1],name:[1],size:[2]}],[0,"hummer-ikon",{hex:[1],name:[1],size:[2]}],[0,"hyundai-ikon",{hex:[1],name:[1],size:[2]}],[0,"infiniti-ikon",{hex:[1],name:[1],size:[2]}],[0,"isuzu-ikon",{hex:[1],name:[1],size:[2]}],[0,"jaguar-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"jaguar-ikon",{hex:[1],name:[1],size:[2]}],[0,"java-script-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"jeep-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"jeep-ikon",{hex:[1],name:[1],size:[2]}],[0,"kia-ikon",{hex:[1],name:[1],size:[2]}],[0,"lamborghini-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"lamborghini-ikon",{hex:[1],name:[1],size:[2]}],[0,"land-rover-ikon",{hex:[1],name:[1],size:[2]}],[0,"lexus-ikon",{hex:[1],name:[1],size:[2]}],[0,"lincoln-ikon",{hex:[1],name:[1],size:[2]}],[0,"lotus-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"lotus-ikon",{hex:[1],name:[1],size:[2]}],[0,"maserati-ikon",{hex:[1],name:[1],size:[2]}],[0,"maybach-ikon",{hex:[1],name:[1],size:[2]}],[0,"mazda-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"mazda-ikon",{hex:[1],name:[1],size:[2]}],[0,"mclaren-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"mclaren-ikon",{hex:[1],name:[1],size:[2]}],[0,"mercedes-benz-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"mercedes-benz-ikon",{hex:[1],name:[1],size:[2]}],[0,"mercury-ikon",{hex:[1],name:[1],size:[2]}],[0,"mini-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"mini-ikon",{hex:[1],name:[1],size:[2]}],[0,"mitsubishi-ikon",{hex:[1],name:[1],size:[2]}],[0,"nissan-ikon",{hex:[1],name:[1],size:[2]}],[0,"oldsmobile-ikon",{hex:[1],name:[1],size:[2]}],[0,"one-password-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"opel-ikon",{hex:[1],name:[1],size:[2]}],[0,"panoz-ikon",{hex:[1],name:[1],size:[2]}],[0,"paw-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"peugeot-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"peugeot-ikon",{hex:[1],name:[1],size:[2]}],[0,"plymouth-ikon",{hex:[1],name:[1],size:[2]}],[0,"pontiac-ikon",{hex:[1],name:[1],size:[2]}],[0,"porsche-ikon",{hex:[1],name:[1],size:[2]}],[0,"protocol-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"pulse-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"puzzle-icon",{selected:[4],hex:[1],label:[1],name:[1],size:[2]}],[0,"qr-code-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"radio-2-icon",{selected:[4],hex:[1],label:[1],name:[1],size:[2]}],[0,"radio-icon",{selected:[4],hex:[1],label:[1],name:[1],size:[2]}],[0,"ram-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"ram-ikon",{hex:[1],name:[1],size:[2]}],[0,"refresh-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"renault-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"renault-ikon",{hex:[1],name:[1],size:[2]}],[0,"rolls-royce-ikon",{hex:[1],name:[1],size:[2]}],[0,"saab-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"saab-ikon",{hex:[1],name:[1],size:[2]}],[0,"saturn-ikon",{hex:[1],name:[1],size:[2]}],[0,"scion-ikon",{hex:[1],name:[1],size:[2]}],[0,"seat-ikon",{hex:[1],name:[1],size:[2]}],[0,"skoda-ikon",{hex:[1],name:[1],size:[2]}],[0,"slug-icon",{label:[1],name:[1],size:[2]}],[0,"smart-ikon",{hex:[1],name:[1],size:[2]}],[0,"spider-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"spyker-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"spyker-ikon",{hex:[1],name:[1],size:[2]}],[0,"subaru-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"subaru-ikon",{hex:[1],name:[1],size:[2]}],[0,"suzuki-ikon",{hex:[1],name:[1],size:[2]}],[0,"svg-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"tesla-ikon",{hex:[1],name:[1],size:[2]}],[0,"toyota-ikon",{hex:[1],name:[1],size:[2]}],[0,"vector-curve-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"volkswagen-ikon",{hex:[1],name:[1],size:[2]}],[0,"volvo-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"volvo-ikon",{hex:[1],name:[1],size:[2]}],[0,"webhook-icon",{hex:[1],label:[1],name:[1],size:[2]}]]]],e))));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "proto-ikons-wc",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Stencil Component Starter",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -27,7 +27,7 @@
27
27
  "format": "prettier --write src cSpell.json"
28
28
  },
29
29
  "dependencies": {
30
- "@stencil/core": "4.26.0"
30
+ "@stencil/core": "4.27.1"
31
31
  },
32
32
  "license": "MIT",
33
33
  "devDependencies": {
@@ -1,2 +0,0 @@
1
- var t=Object.defineProperty,e=new WeakMap,n=t=>e.get(t),l=(t,n)=>{e.set(n.t=t,n)},o=(t,e)=>(0,console.error)(t,e),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:{},f=u.document||{head:{}},a={l:0,o:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,l)=>t.addEventListener(e,n,l),rel:(t,e,n,l)=>t.removeEventListener(e,n,l),ce:(t,e)=>new CustomEvent(t,e)},h=t=>Promise.resolve(t),d=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),p=!1,m=[],y=[],w=(t,e)=>n=>{t.push(n),p||(p=!0,e&&4&a.l?$(b):a.raf(b))},v=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){o(t)}t.length=0},b=()=>{v(m),v(y),(p=m.length>0)&&a.raf(b)},$=t=>h().then(t),g=w(y,!0),S=t=>"object"==(t=typeof t)||"function"===t;function j(t){var e,n,l;return null!=(l=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((e,n)=>{for(var l in n)t(e,l,{get:n[l],enumerable:!0})})({},{err:()=>k,map:()=>E,ok:()=>O,unwrap:()=>M,unwrapErr:()=>x});var O=t=>({isOk:!0,isErr:!1,value:t}),k=t=>({isOk:!1,isErr:!0,value:t});function E(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>O(t))):O(n)}if(t.isErr)return k(t.value);throw"should never get here"}var C,M=t=>{if(t.isOk)return t.value;throw t.value},x=t=>{if(t.isErr)return t.value;throw t.value},P=(t,e,...n)=>{let l=null,o=null,s=!1,i=!1;const r=[],c=e=>{for(let n=0;n<e.length;n++)l=e[n],Array.isArray(l)?c(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof t&&!S(l))&&(l+=""),s&&i?r[r.length-1].i+=l:r.push(s?A(null,l):l),i=s)};if(c(n),e){e.key&&(o=e.key);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}const u=A(t,null);return u.u=e,r.length>0&&(u.h=r),u.p=o,u},A=(t,e)=>({l:0,m:t,i:e,v:null,h:null,u:null,p:null}),N={},T=(t,e)=>null==t||S(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?parseFloat(t):1&e?t+"":t,F=new WeakMap,H=t=>"sc-"+t.$,R=(t,e,n,l,o,s)=>{if(n!==l){let i=((t,e)=>e in t)(t,e),r=e.toLowerCase();if("class"===e){const e=t.classList,o=L(n);let s=L(l);e.remove(...o.filter((t=>t&&!s.includes(t)))),e.add(...s.filter((t=>t&&!o.includes(t))))}else if("key"===e);else{const u=S(l);if((i||u&&null!==l)&&!o)try{if(t.tagName.includes("-"))t[e]!==l&&(t[e]=l);else{const o=null==l?"":l;"list"===e?i=!1:null!=n&&t[e]==o||("function"==typeof t.__lookupSetter__(e)?t[e]=o:t.setAttribute(e,o))}}catch(t){}let f=!1;r!==(r=r.replace(/^xlink\:?/,""))&&(e=r,f=!0),null==l||!1===l?!1===l&&""!==t.getAttribute(e)||(f?t.removeAttributeNS(c,e):t.removeAttribute(e)):(!i||4&s||o)&&!u&&(l=!0===l?"":l,f?t.setAttributeNS(c,e,l):t.setAttribute(e,l))}}},D=/\s/,L=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(D):[]),U=(t,e,n)=>{const l=11===e.v.nodeType&&e.v.host?e.v.host:e.v,o=t&&t.u||{},s=e.u||{};for(const t of V(Object.keys(o)))t in s||R(l,t,o[t],void 0,n,e.l);for(const t of V(Object.keys(s)))R(l,t,o[t],s[t],n,e.l)};function V(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var W=!1,q=(t,e,n)=>{const l=e.h[n];let o,s,i=0;if(null!==l.i)o=l.v=f.createTextNode(l.i);else{if(W||(W="svg"===l.m),o=l.v=f.createElementNS(W?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",l.m),W&&"foreignObject"===l.m&&(W=!1),U(null,l,W),l.h)for(i=0;i<l.h.length;++i)s=q(t,l,i),s&&o.appendChild(s);"svg"===l.m?W=!1:"foreignObject"===o.tagName&&(W=!0)}return o["s-hn"]=C,o},G=(t,e,n,l,o,s)=>{let i,r=t;for(;o<=s;++o)l[o]&&(i=q(null,n,o),i&&(l[o].v=i,I(r,i,e)))},_=(t,e,n)=>{for(let l=e;l<=n;++l){const e=t[l];if(e){const t=e.v;t&&t.remove()}}},z=(t,e,n=!1)=>t.m===e.m&&(n?(n&&!t.p&&e.p&&(t.p=e.p),!0):t.p===e.p),B=(t,e,n=!1)=>{const l=e.v=t.v,o=t.h,s=e.h,i=e.m,r=e.i;null===r?(U(t,e,W="svg"===i||"foreignObject"!==i&&W),null!==o&&null!==s?((t,e,n,l,o=!1)=>{let s,i,r=0,c=0,u=0,f=0,a=e.length-1,h=e[0],d=e[a],p=l.length-1,m=l[0],y=l[p];for(;r<=a&&c<=p;)if(null==h)h=e[++r];else if(null==d)d=e[--a];else if(null==m)m=l[++c];else if(null==y)y=l[--p];else if(z(h,m,o))B(h,m,o),h=e[++r],m=l[++c];else if(z(d,y,o))B(d,y,o),d=e[--a],y=l[--p];else if(z(h,y,o))B(h,y,o),I(t,h.v,d.v.nextSibling),h=e[++r],y=l[--p];else if(z(d,m,o))B(d,m,o),I(t,d.v,h.v),d=e[--a],m=l[++c];else{for(u=-1,f=r;f<=a;++f)if(e[f]&&null!==e[f].p&&e[f].p===m.p){u=f;break}u>=0?(i=e[u],i.m!==m.m?s=q(e&&e[c],n,u):(B(i,m,o),e[u]=void 0,s=i.v),m=l[++c]):(s=q(e&&e[c],n,c),m=l[++c]),s&&I(h.v.parentNode,s,h.v)}r>a?G(t,null==l[p+1]?null:l[p+1].v,n,l,c,p):c>p&&_(e,r,a)})(l,o,e,s,n):null!==s?(null!==t.i&&(l.textContent=""),G(l,null,e,s,0,s.length-1)):!n&&null!==o&&_(o,0,o.length-1),W&&"svg"===i&&(W=!1)):t.i!==r&&(l.data=r)},I=(t,e,n)=>null==t?void 0:t.insertBefore(e,n),J=(t,e)=>{if(e&&!t.S&&e["s-p"]){const n=e["s-p"].push(new Promise((l=>t.S=()=>{e["s-p"].splice(n-1,1),l()})))}},K=(t,e)=>{if(t.l|=16,!(4&t.l))return J(t,t.j),g((()=>Q(t,e)));t.l|=512},Q=(t,e)=>{const n=t.t;if(!n)throw Error(`Can't render component <${t.$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(t,n,e)))},X=(t,e)=>Y(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),Y=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Z=async(t,e,n)=>{var l;const o=t.$hostElement$,s=o["s-rc"];n&&(t=>{const e=t.O;((t,e)=>{var n;const l=H(e),o=i.get(l);if(t=11===t.nodeType?t:f,o)if("string"==typeof o){let s,i=F.get(t=t.head||t);if(i||F.set(t,i=new Set),!i.has(l)){{s=document.querySelector(`[sty-id="${l}"]`)||f.createElement("style"),s.innerHTML=o;const i=null!=(n=a.k)?n:j(f);if(null!=i&&s.setAttribute("nonce",i),!(1&e.l))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(s,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(d){const e=new CSSStyleSheet;e.replaceSync(o),t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=o+e.innerHTML:t.prepend(s)}else t.append(s);1&e.l&&t.insertBefore(s,null)}4&e.l&&(s.innerHTML+=r),i&&i.add(l)}}else t.adoptedStyleSheets.includes(o)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,o])})(t.$hostElement$.getRootNode(),e)})(t);tt(t,e,o,n),s&&(s.map((t=>t())),o["s-rc"]=void 0);{const e=null!=(l=o["s-p"])?l:[],n=()=>et(t);0===e.length?n():(Promise.all(e).then(n),t.l|=4,e.length=0)}},tt=(t,e,n,l)=>{try{e=e.render(),t.l&=-17,t.l|=2,((t,e,n=!1)=>{const l=t.$hostElement$,o=t.C||A(null,null),s=(t=>t&&t.m===N)(e)?e:P(null,null,e);if(C=l.tagName,n&&s.u)for(const t of Object.keys(s.u))l.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(s.u[t]=l[t]);s.m=null,s.l|=4,t.C=s,s.v=o.v=l,B(o,s,n)})(t,e,l)}catch(e){o(e,t.$hostElement$)}return null},et=t=>{const e=t.$hostElement$,n=t.j;64&t.l||(t.l|=64,lt(e),t.M(e),n||nt()),t.S&&(t.S(),t.S=void 0),512&t.l&&$((()=>K(t,!1))),t.l&=-517},nt=()=>{$((()=>(t=>{const e=a.ce("appload",{detail:{namespace:"proto-ikons-wc"}});return t.dispatchEvent(e),e})(u)))},lt=t=>t.classList.add("hydrated"),ot=(t,e,l,o)=>{const s=n(t);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.P.get(e),r=s.l,c=s.t;l=T(l,o.A[e][0]),8&r&&void 0!==i||l===i||Number.isNaN(i)&&Number.isNaN(l)||(s.P.set(e,l),c&&2==(18&r)&&K(s,!1))},st=(t,e,l)=>{var o,s;const i=t.prototype;if(e.A){const r=Object.entries(null!=(o=e.A)?o:{});if(r.map((([t,[o]])=>{if(31&o||2&l&&32&o){const{get:s,set:r}=Object.getOwnPropertyDescriptor(i,t)||{};s&&(e.A[t][0]|=2048),r&&(e.A[t][0]|=4096),(1&l||!s)&&Object.defineProperty(i,t,{get(){{if(!(2048&e.A[t][0]))return((t,e)=>n(this).P.get(e))(0,t);const l=n(this),o=l?l.t:i;if(!o)return;return o[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(i,t,{set(s){const i=n(this);if(r){const n=32&o?this[t]:i.$hostElement$[t];return void 0===n&&i.P.get(t)?s=i.P.get(t):!i.P.get(t)&&n&&i.P.set(t,n),r.call(this,T(s,o)),void ot(this,t,s=32&o?this[t]:i.$hostElement$[t],e)}{if(!(1&l&&4096&e.A[t][0]))return ot(this,t,s,e),void(1&l&&!i.t&&i.N.then((()=>{4096&e.A[t][0]&&i.t[t]!==i.P.get(t)&&(i.t[t]=s)})));const n=()=>{const n=i.t[t];!i.P.get(t)&&n&&i.P.set(t,n),i.t[t]=T(s,o),ot(this,t,i.t[t],e)};i.t?n():i.N.then((()=>n()))}}})}})),1&l){const l=new Map;i.attributeChangedCallback=function(t,o,s){a.jmp((()=>{var r;const c=l.get(t);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=e.T)?void 0:r[t];null==i||i.forEach((e=>{null!=n[e]&&n[e].call(n,s,o,t)}))}return}}const u=Object.getOwnPropertyDescriptor(i,c);(s=(null!==s||"boolean"!=typeof this[c])&&s)===this[c]||u.get&&!u.set||(this[c]=s)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=e.T)?s:{}),...r.filter((([t,e])=>15&e[0])).map((([t,e])=>{const n=e[1]||t;return l.set(n,t),n}))]))}}return t},it=(t,l={})=>{var c;const h=[],p=l.exclude||[],m=u.customElements,y=f.head,w=y.querySelector("meta[charset]"),v=f.createElement("style"),b=[];let $,g=!0;Object.assign(a,l),a.o=new URL(l.resourcesUrl||"./",f.baseURI).href;let S=!1;if(t.map((t=>{t[1].map((l=>{const r={l:l[0],$:l[1],A:l[2],F:l[3]};4&r.l&&(S=!0),r.A=l[2];const c=r.$,u=class extends HTMLElement{constructor(t){super(t),this.hasRegisteredEventListeners=!1,((t,n)=>{const l={l:0,$hostElement$:t,O:n,P:new Map};l.N=new Promise((t=>l.M=t)),t["s-p"]=[],t["s-rc"]=[],e.set(t,l)})(t=this,r)}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),$&&(clearTimeout($),$=null),g?b.push(this):a.jmp((()=>(t=>{if(!(1&a.l)){const e=n(t),l=e.O,r=()=>{};if(1&e.l)(null==e?void 0:e.t)||(null==e?void 0:e.N)&&e.N.then((()=>{}));else{e.l|=1;{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){J(e,e.j=n);break}}l.A&&Object.entries(l.A).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let l;if(!(32&e.l)){if(e.l|=32,n.H){const i=((t,e)=>{const n=t.$.replace(/-/g,"_"),l=t.H;if(!l)return;const i=s.get(l);return i?i[n]:import(`./${l}.entry.js`).then((t=>(s.set(l,t),t[n])),(t=>{o(t,e.$hostElement$)}))
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,e);if(i&&"then"in i){const t=()=>{};l=await i,t()}else l=i;if(!l)throw Error(`Constructor for "${n.$}#${e.R}" was not found`);l.isProxied||(st(l,n,2),l.isProxied=!0);const r=()=>{};e.l|=8;try{new l(e)}catch(e){o(e,t)}e.l&=-9,r()}else l=t.constructor,customElements.whenDefined(t.localName).then((()=>e.l|=128));if(l&&l.style){let t;"string"==typeof l.style&&(t=l.style);const e=H(n);if(!i.has(e)){const l=()=>{};((t,e,n)=>{let l=i.get(t);d&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=e:l.replaceSync(e)):l=e,i.set(t,l)})(e,t,!!(1&n.l)),l()}}}const r=e.j,c=()=>K(e,!0);r&&r["s-rc"]?r["s-rc"].push(c):c()})(t,e,l)}r()}})(this)))}disconnectedCallback(){a.jmp((()=>(async t=>{if(!(1&a.l)){const e=n(t);(null==e?void 0:e.t)||(null==e?void 0:e.N)&&e.N.then((()=>{}))}F.has(t)&&F.delete(t),t.shadowRoot&&F.has(t.shadowRoot)&&F.delete(t.shadowRoot)})(this))),a.raf((()=>{var t;const e=n(this),l=b.findIndex((t=>t===this));l>-1&&b.splice(l,1),(null==(t=null==e?void 0:e.C)?void 0:t.v)instanceof Node&&!e.C.v.isConnected&&delete e.C.v}))}componentOnReady(){return n(this).N}};r.H=t[0],p.includes(c)||m.get(c)||(h.push(c),m.define(c,st(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 t=null!=(c=a.k)?c:j(f);null!=t&&v.setAttribute("nonce",t),y.insertBefore(v,w?w.nextSibling:y.firstChild)}g=!1,b.length?b.map((t=>t.connectedCallback())):a.jmp((()=>$=setTimeout(nt,30)))},rt=t=>a.k=t;export{it as b,P as h,h as p,l as r,rt as s}