proto-ikons-wc 0.1.91 → 0.1.93

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.
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-C7Z2vWEf.js');
3
+ var index = require('./index-BVa383JM.js');
4
4
 
5
5
  const acuraIkonCss = () => ``;
6
6
 
@@ -4,7 +4,7 @@ const NAMESPACE = 'proto-ikons-wc';
4
4
  const BUILD = /* proto-ikons-wc */ { hotModuleReplacement: false, hydratedSelectorName: "hydrated", lazyLoad: true, prop: true, propChangeCallback: false, updatable: true};
5
5
 
6
6
  /*
7
- Stencil Client Platform v4.44.0 | MIT Licensed | https://stenciljs.com
7
+ Stencil Client Platform v4.44.1 | MIT Licensed | https://stenciljs.com
8
8
  */
9
9
 
10
10
 
@@ -514,7 +514,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
514
514
  }
515
515
  }
516
516
  if (newValue == null || newValue === false) {
517
- if (newValue !== false || elm.getAttribute(memberName) === "") {
517
+ if (newValue !== false || elm.getAttribute(memberName) === "" || flags & 4 /* isHost */ && !isEnumeratedAttribute(memberName)) {
518
518
  if (xlink) {
519
519
  elm.removeAttributeNS(XLINK_NS, memberName);
520
520
  } else {
@@ -531,6 +531,8 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
531
531
  }
532
532
  }
533
533
  };
534
+ var ENUMERATED_ATTRIBUTES = /* @__PURE__ */ new Set(["draggable", "contenteditable", "spellcheck"]);
535
+ var isEnumeratedAttribute = (attrName) => ENUMERATED_ATTRIBUTES.has(attrName) || attrName.startsWith("aria-");
534
536
  var parseClassListRegex = /\s/;
535
537
  var parseClassList = (value) => {
536
538
  if (typeof value === "object" && value && "baseVal" in value) {
@@ -783,9 +785,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
783
785
  }
784
786
  };
785
787
  var insertBefore = (parent, newNode, reference, isInitialLoad) => {
786
- if (parent.__insertBefore) {
787
- return parent.__insertBefore(newNode, reference);
788
- } else {
788
+ {
789
789
  return parent == null ? void 0 : parent.insertBefore(newNode, reference);
790
790
  }
791
791
  };
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-C7Z2vWEf.js');
3
+ var index = require('./index-BVa383JM.js');
4
4
  var appGlobals = require('./app-globals-V2Kpy_OQ.js');
5
5
 
6
6
  const defineCustomElements = async (win, options) => {
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-C7Z2vWEf.js');
3
+ var index = require('./index-BVa383JM.js');
4
4
  var appGlobals = require('./app-globals-V2Kpy_OQ.js');
5
5
 
6
6
  var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
7
7
  /*
8
- Stencil Client Patch Browser v4.44.0 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Browser v4.44.1 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
 
11
11
  var patchBrowser = () => {
@@ -123,7 +123,7 @@
123
123
  "mixins": [],
124
124
  "compiler": {
125
125
  "name": "@stencil/core",
126
- "version": "4.44.0",
126
+ "version": "4.44.1",
127
127
  "typescriptVersion": "5.8.3"
128
128
  },
129
129
  "collections": [],
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-UEzmC9ci.js';
1
+ import { r as registerInstance, h } from './index-Bg4J1hBP.js';
2
2
 
3
3
  const acuraIkonCss = () => ``;
4
4
 
@@ -2,7 +2,7 @@ const NAMESPACE = 'proto-ikons-wc';
2
2
  const BUILD = /* proto-ikons-wc */ { hotModuleReplacement: false, hydratedSelectorName: "hydrated", lazyLoad: true, prop: true, propChangeCallback: false, updatable: true};
3
3
 
4
4
  /*
5
- Stencil Client Platform v4.44.0 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Platform v4.44.1 | MIT Licensed | https://stenciljs.com
6
6
  */
7
7
 
8
8
 
@@ -512,7 +512,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
512
512
  }
513
513
  }
514
514
  if (newValue == null || newValue === false) {
515
- if (newValue !== false || elm.getAttribute(memberName) === "") {
515
+ if (newValue !== false || elm.getAttribute(memberName) === "" || flags & 4 /* isHost */ && !isEnumeratedAttribute(memberName)) {
516
516
  if (xlink) {
517
517
  elm.removeAttributeNS(XLINK_NS, memberName);
518
518
  } else {
@@ -529,6 +529,8 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
529
529
  }
530
530
  }
531
531
  };
532
+ var ENUMERATED_ATTRIBUTES = /* @__PURE__ */ new Set(["draggable", "contenteditable", "spellcheck"]);
533
+ var isEnumeratedAttribute = (attrName) => ENUMERATED_ATTRIBUTES.has(attrName) || attrName.startsWith("aria-");
532
534
  var parseClassListRegex = /\s/;
533
535
  var parseClassList = (value) => {
534
536
  if (typeof value === "object" && value && "baseVal" in value) {
@@ -781,9 +783,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
781
783
  }
782
784
  };
783
785
  var insertBefore = (parent, newNode, reference, isInitialLoad) => {
784
- if (parent.__insertBefore) {
785
- return parent.__insertBefore(newNode, reference);
786
- } else {
786
+ {
787
787
  return parent == null ? void 0 : parent.insertBefore(newNode, reference);
788
788
  }
789
789
  };
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-UEzmC9ci.js';
2
- export { s as setNonce } from './index-UEzmC9ci.js';
1
+ import { b as bootstrapLazy } from './index-Bg4J1hBP.js';
2
+ export { s as setNonce } from './index-Bg4J1hBP.js';
3
3
  import { g as globalScripts } from './app-globals-DQuL1Twl.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-UEzmC9ci.js';
2
- export { s as setNonce } from './index-UEzmC9ci.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-Bg4J1hBP.js';
2
+ export { s as setNonce } from './index-Bg4J1hBP.js';
3
3
  import { g as globalScripts } from './app-globals-DQuL1Twl.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.44.0 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.44.1 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
 
9
9
  var patchBrowser = () => {
@@ -0,0 +1,3 @@
1
+ function t(t,e,n){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,e);if(o&&(!n||o.get))return o;t=Object.getPrototypeOf(t)}}var e=(e,n)=>{var o;Object.entries(null!=(o=n.o.t)?o:{}).map((([o,[l]])=>{if(31&l||32&l){const l=e[o],i=t(Object.getPrototypeOf(e),o,!0)||Object.getOwnPropertyDescriptor(e,o);i&&Object.defineProperty(e,o,{get(){return i.get.call(this)},set(t){i.set.call(this,t)},configurable:!0,enumerable:!0}),n.l.has(o)?e[o]=n.l.get(o):void 0!==l&&(e[o]=l)}}))},n=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},o=(t,n)=>{n&&(t.__stencil__getHostRef=()=>n,n.i=t,512&n.o.u&&e(t,n))},l=(t,e)=>(0,console.error)(t,e),i=new Map,s=new Map,r=new Map,c="http://www.w3.org/1999/xlink",u="undefined"!=typeof window?window:{},a={u:0,p:"",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)},f=t=>Promise.resolve(t),d=(()=>{try{return!!u.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),p=!!d&&(()=>!!u.document&&Object.getOwnPropertyDescriptor(u.document.adoptedStyleSheets,"length").writable)(),h=!1,m=[],v=[],y=()=>{var t;return(null==(t=u.document)?void 0:t.hidden)?g($):a.raf($)},b=(t,e)=>n=>{t.push(n),h||(h=!0,e&&4&a.u?g($):y())},w=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){l(t)}t.length=0},$=()=>{w(m),w(v),(h=m.length>0)&&y()},g=t=>f().then(t),j=b(v,!0);function O(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}var S,k=new WeakMap,M=t=>"sc-"+t.h,E=t=>"object"==(t=typeof t)||"function"===t,C=(t,e,...n)=>{let o=null,i=null,s=!1,r=!1;const c=[],u=e=>{for(let n=0;n<e.length;n++)if(o=e[n],Array.isArray(o))u(o);else if(null!=o&&"boolean"!=typeof o){if(s="function"!=typeof t&&!E(o))o+="";else if("function"!=typeof t&&void 0===o.u){l("Invalid vNode child");continue}s&&r?c[c.length-1].m+=o:c.push(s?x(null,o):o),r=s}};if(u(n),e){e.key&&(i=e.key);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}const a=x(t,null);return a.v=e,c.length>0&&(a.$=c),a.j=i,a},x=(t,e)=>({u:0,O:t,m:null!=e?e:null,S:null,$:null,v:null,j:null}),N={},L=(t,e)=>null==t||E(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&e?t+"":t,T=(t,e,o,l,i,s)=>{if(o===l)return;let r=((t,e)=>e in t)(t,e),u=e.toLowerCase();if("class"===e){const e=t.classList,n=A(o);let i=A(l);e.remove(...n.filter((t=>t&&!i.includes(t)))),e.add(...i.filter((t=>t&&!n.includes(t))))}else if("key"===e);else{if("a"===e[0]&&e.startsWith("attr:")){const o=e.slice(5);let i;{const e=n(t);if(e&&e.o&&e.o.t){const t=e.o.t[o];t&&t[1]&&(i=t[1])}}return i||(i=o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==l||!1===l?!1===l&&""!==t.getAttribute(i)||t.removeAttribute(i):t.setAttribute(i,!0===l?"":l))}if("p"===e[0]&&e.startsWith("prop:")){const n=e.slice(5);try{t[n]=l}catch(t){}return}{const n=E(l);if((r||n&&null!==l)&&!i)try{if(t.tagName.includes("-"))t[e]!==l&&(t[e]=l);else{const n=null==l?"":l;"list"===e?r=!1:null!=o&&t[e]===n||("function"==typeof t.__lookupSetter__(e)?t[e]=n:t.setAttribute(e,n))}}catch(t){}let a=!1;u!==(u=u.replace(/^xlink\:?/,""))&&(e=u,a=!0),null==l||!1===l?(!1!==l||""===t.getAttribute(e)||4&s&&!P(e))&&(a?t.removeAttributeNS(c,e):t.removeAttribute(e)):(!r||4&s||i)&&!n&&1===t.nodeType&&(l=!0===l?"":l,a?t.setAttributeNS(c,e,l):t.setAttribute(e,l))}}},D=new Set(["draggable","contenteditable","spellcheck"]),P=t=>D.has(t)||t.startsWith("aria-"),R=/\s/,A=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(R):[]),H=(t,e,n)=>{const o=11===e.S.nodeType&&e.S.host?e.S.host:e.S,l=t&&t.v||{},i=e.v||{};for(const t of U(Object.keys(l)))t in i||T(o,t,l[t],void 0,n,e.u);for(const t of U(Object.keys(i)))T(o,t,l[t],i[t],n,e.u)};function U(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var W=!1,z=(t,e,n)=>{const o=e.$[n];let l,i,s=0;if(null!=o.m)l=o.S=u.document.createTextNode(o.m);else{if(W||(W="svg"===o.O),!u.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(l=o.S=u.document.createElementNS(W?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.O),W&&"foreignObject"===o.O&&(W=!1),H(null,o,W),o.$){const e="template"===o.O?l.content:l;for(s=0;s<o.$.length;++s)i=z(t,o,s),i&&e.appendChild(i)}"svg"===o.O?W=!1:"foreignObject"===l.tagName&&(W=!0)}return l["s-hn"]=S,l},F=(t,e,n,o,l,i)=>{let s,r=t;for("template"===n.O&&(r=r.content);l<=i;++l)o[l]&&(s=z(null,n,l),s&&(o[l].S=s,G(r,s,e)))},V=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.S;t&&t.remove()}}},q=(t,e,n=!1)=>t.O===e.O&&(n?(n&&!t.j&&e.j&&(t.j=e.j),!0):t.j===e.j),B=(t,e,n=!1)=>{const o=e.S=t.S,l=t.$,i=e.$,s=e.O,r=e.m;null==r?(H(t,e,W="svg"===s||"foreignObject"!==s&&W),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],p=e[f],h=o.length-1,m=o[0],v=o[h];const y="template"===n.O?t.content:t;for(;r<=f&&c<=h;)if(null==d)d=e[++r];else if(null==p)p=e[--f];else if(null==m)m=o[++c];else if(null==v)v=o[--h];else if(q(d,m,l))B(d,m,l),d=e[++r],m=o[++c];else if(q(p,v,l))B(p,v,l),p=e[--f],v=o[--h];else if(q(d,v,l))B(d,v,l),G(y,d.S,p.S.nextSibling),d=e[++r],v=o[--h];else if(q(p,m,l))B(p,m,l),G(y,p.S,d.S),p=e[--f],m=o[++c];else{for(u=-1,a=r;a<=f;++a)if(e[a]&&null!==e[a].j&&e[a].j===m.j){u=a;break}u>=0?(s=e[u],s.O!==m.O?i=z(e&&e[c],n,u):(B(s,m,l),e[u]=void 0,i=s.S),m=o[++c]):(i=z(e&&e[c],n,c),m=o[++c]),i&&G(d.S.parentNode,i,d.S)}r>f?F(t,null==o[h+1]?null:o[h+1].S,n,o,c,h):c>h&&V(e,r,f)})(o,l,e,i,n):null!==i?(null!==t.m&&(o.textContent=""),F(o,null,e,i,0,i.length-1)):!n&&null!==l&&V(l,0,l.length-1),W&&"svg"===s&&(W=!1)):t.m!==r&&(o.data=r)},G=(t,e,n)=>null==t?void 0:t.insertBefore(e,n),I=(t,e)=>{if(e&&!t.k&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t.k=()=>{e["s-p"].splice(n-1,1),o()})))}},Y=(t,e)=>{if(t.u|=16,4&t.u)return void(t.u|=512);I(t,t.M);const n=()=>Z(t,e);if(!e)return j(n);queueMicrotask((()=>{n()}))},Z=(t,e)=>{const n=t.$hostElement$,o=t.i;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 e?(t.C.length&&t.C.forEach((t=>t(n))),l=et(o,"componentWillLoad",void 0,n)):l=et(o,"componentWillUpdate",void 0,n),l=_(l,(()=>et(o,"componentWillRender",void 0,n))),_(l,(()=>K(t,o,e)))},_=(t,e)=>J(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),J=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,K=async(t,e,n)=>{var o;const l=t.$hostElement$,i=l["s-rc"];n&&(t=>{const e=t.o;((t,e)=>{var n,o,l;const i=M(e),s=r.get(i);if(!u.document)return i;if(t=11===t.nodeType?t:u.document,s)if("string"==typeof s){let l,r=k.get(t=t.head||t);if(r||k.set(t,r=new Set),!r.has(i)){l=u.document.createElement("style"),l.textContent=s;const c=null!=(n=a.N)?n:O(u.document);if(null!=c&&l.setAttribute("nonce",c),!(1&e.u))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(l,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(d){const e=new(null!=(o=t.defaultView)?o:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(s),p?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.textContent=s+e.textContent:t.prepend(l)}else t.append(l);1&e.u&&t.insertBefore(l,null),4&e.u&&(l.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),r&&r.add(i)}}else{let e=k.get(t);if(e||k.set(t,e=new Set),!e.has(i)){const n=null!=(l=t.defaultView)?l:t.ownerDocument.defaultView;let o;if(s.constructor===n.CSSStyleSheet)o=s;else{o=new n.CSSStyleSheet;for(let t=0;t<s.cssRules.length;t++)o.insertRule(s.cssRules[t].cssText,t)}p?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],e.add(i)}}})(t.$hostElement$.getRootNode(),e)})(t);Q(t,e,l,n),i&&(i.map((t=>t())),l["s-rc"]=void 0);{const e=null!=(o=l["s-p"])?o:[],n=()=>X(t);0===e.length?n():(Promise.all(e).then(n).catch(n),t.u|=4,e.length=0)}},Q=(t,e,n,o)=>{try{e=e.render(),t.u&=-17,t.u|=2,((t,e,n=!1)=>{const o=t.$hostElement$,l=t.L||x(null,null),i=(t=>t&&t.O===N)(e)?e:C(null,null,e);if(S=o.tagName,n&&i.v)for(const t of Object.keys(i.v))o.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(i.v[t]=o[t]);i.O=null,i.u|=4,t.L=i,i.S=l.S=o,B(l,i,n)})(t,e,o)}catch(e){l(e,t.$hostElement$)}return null},X=t=>{const e=t.$hostElement$,n=t.i,o=t.M;et(n,"componentDidRender",void 0,e),64&t.u?et(n,"componentDidUpdate",void 0,e):(t.u|=64,nt(e),et(n,"componentDidLoad",void 0,e),t.T(e),o||tt()),t.k&&(t.k(),t.k=void 0),512&t.u&&g((()=>Y(t,!1))),t.u&=-517},tt=()=>{g((()=>(t=>{const e=a.ce("appload",{detail:{namespace:"proto-ikons-wc"}});return t.dispatchEvent(e),e})(u)))},et=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){l(t,o)}},nt=t=>t.classList.add("hydrated"),ot=(t,e,o,l)=>{const i=n(t);if(!i)return;if(!i)throw Error(`Couldn't find host element for "${l.h}" 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/stenciljs/core/issues/5457).`);const s=i.l.get(e),r=i.u,c=i.i;if(o=L(o,l.t[e][0]),(!(8&r)||void 0===s)&&o!==s&&(!Number.isNaN(s)||!Number.isNaN(o))&&(i.l.set(e,o),2&r)){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(o,s,e)&&!(16&r))return;16&r||Y(i,!1)}},lt=(e,o,l)=>{var i,s;const r=e.prototype;if(o.t){const c=Object.entries(null!=(i=o.t)?i:{});if(c.map((([e,[i]])=>{if(31&i||2&l&&32&i){const{get:s,set:c}=t(r,e)||{};s&&(o.t[e][0]|=2048),c&&(o.t[e][0]|=4096),(1&l||!s)&&Object.defineProperty(r,e,{get(){{if(!(2048&o.t[e][0]))return((t,e)=>n(this).l.get(e))(0,e);const t=n(this),l=t?t.i:r;if(!l)return;return l[e]}},configurable:!0,enumerable:!0}),Object.defineProperty(r,e,{set(t){const s=n(this);if(s){if(c)return void 0===(32&i?this[e]:s.$hostElement$[e])&&s.l.get(e)&&(t=s.l.get(e)),c.call(this,L(t,i)),void ot(this,e,t=32&i?this[e]:s.$hostElement$[e],o);{if(!(1&l&&4096&o.t[e][0]))return ot(this,e,t,o),void(1&l&&!s.i&&s.C.push((()=>{4096&o.t[e][0]&&s.i[e]!==s.l.get(e)&&(s.i[e]=t)})));const n=()=>{const n=s.i[e];!s.l.get(e)&&n&&s.l.set(e,n),s.i[e]=L(t,i),ot(this,e,s.i[e],o)};s.i?n():s.C.push((()=>{n()}))}}}})}})),1&l){const t=new Map;r.attributeChangedCallback=function(e,l,i){a.jmp((()=>{var s;const u=t.get(e),a=n(this);if(this.hasOwnProperty(u)&&(i=this[u],delete this[u]),r.hasOwnProperty(u)&&"number"==typeof this[u]&&this[u]==i)return;if(null==u){const t=null==a?void 0:a.u;if(a&&t&&!(8&t)&&i!==l){const n=a.i,r=null==(s=o.D)?void 0:s[e];null==r||r.forEach((o=>{const[[s,r]]=Object.entries(o);null!=n[s]&&(128&t||1&r)&&n[s].call(n,i,l,e)}))}return}const f=c.find((([t])=>t===u)),d=f&&4&f[1][0],p=d&&null===i&&void 0===this[u];d&&(i=null!==i&&"false"!==i);const h=Object.getOwnPropertyDescriptor(r,u);p||i==this[u]||h.get&&!h.set||(this[u]=i)}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=o.D)?s:{}),...c.filter((([t,e])=>31&e[0])).map((([e,n])=>{const o=n[1]||e;return t.set(o,e),o}))]))}}return e},it=async(t,e,n)=>{var o;let c;try{if(!(32&e.u)){if(e.u|=32,e.u&=-1025,n.P){const r=((t,e)=>{var n;const o=t.h.replace(/-/g,"_"),r=t.P;if(!r)return;const c=i.get(r);if(c)return c[o];const u=null!=(n=s.get(r))?n:0,a=[u>0?"s-retry="+u:"",""].filter(Boolean).join("&");
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/
3
+ return import(`./${r}.entry.js${a?"?"+a:""}`).then((t=>(s.delete(r),i.set(r,t),t[o])),(t=>{s.set(r,u+1),l(t,e.$hostElement$)}))})(n,e);if(r&&"then"in r){const t=()=>{};c=await r,t()}else c=r;if(!c)throw e.u&=-33,e.R=(null!=(o=e.R)?o:0)+1,e.R<3&&(e.u|=1024),Error(`Constructor for "${n.h}#${e.A}" was not found`);c.isProxied||(lt(c,n,2),c.isProxied=!0);const u=()=>{};e.u|=8;try{new c(e)}catch(e){l(e,t)}e.u&=-9,u(),st(e.i,t)}else c=t.constructor,customElements.whenDefined(t.localName).then((()=>e.u|=128));if(c&&c.style){let t;"string"==typeof c.style&&(t=c.style);const e=M(n);if(!r.has(e)){const o=()=>{};((t,e,n)=>{let o=r.get(t);d&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,r.set(t,o)})(e,t,!!(1&n.u)),o()}}}const u=e.M,a=()=>Y(e,!0);u&&u["s-rc"]?u["s-rc"].push(a):a()}catch(n){l(n,t),e.k&&(e.k(),e.k=void 0),!e.T||1024&e.u||e.T(t)}},st=(t,e)=>{et(t,"connectedCallback",void 0,e)},rt=(t,e)=>{et(t,"disconnectedCallback",void 0,e||t)},ct=(t,e={})=>{var o;if(!u.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const l=[],i=e.exclude||[],s=u.customElements,r=u.document.head,c=r.querySelector("meta[charset]"),f=u.document.createElement("style"),d=[];let p,h=!0;if(Object.assign(a,e),a.p=new URL(e.resourcesUrl||"./",u.document.baseURI).href,t.map((t=>{t[1].map((e=>{const o={u:e[0],h:e[1],t:e[2],H:e[3]};o.t=e[2];const r=o.h,c=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){super(t),((t,e)=>{const n={u:0,$hostElement$:t,o:e,l:new Map,U:new Map};n.W=new Promise((t=>n.T=t)),t["s-p"]=[],t["s-rc"]=[],n.C=[];const o=n;t.__stencil__getHostRef=()=>o})(t=this,o)}connectedCallback(){n(this)&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),p&&(clearTimeout(p),p=null),h?d.push(this):a.jmp((()=>(t=>{if(!(1&a.u)){const e=n(t);if(!e)return;const o=e.o,l=()=>{};if(1&e.u)(null==e?void 0:e.i)?st(e.i,t):1024&e.u?setTimeout((()=>it(t,e,o)),1e3):(null==e?void 0:e.W)&&e.W.then((()=>st(e.i,t)));else{e.u|=1;{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){I(e,e.M=n);break}}o.t&&Object.entries(o.t).map((([e,[n]])=>{if(31&n&&Object.prototype.hasOwnProperty.call(t,e)){const n=t[e];delete t[e],t[e]=n}})),it(t,e,o)}l()}})(this))))}disconnectedCallback(){a.jmp((()=>(async t=>{if(!(1&a.u)){const e=n(t);(null==e?void 0:e.i)?rt(e.i,t):(null==e?void 0:e.W)&&e.W.then((()=>rt(e.i,t)))}k.has(t)&&k.delete(t),t.shadowRoot&&k.has(t.shadowRoot)&&k.delete(t.shadowRoot)})(this))),g((()=>{var t;const e=n(this);if(!e)return;const o=d.findIndex((t=>t===this));o>-1&&d.splice(o,1),(null==(t=null==e?void 0:e.L)?void 0:t.S)instanceof Node&&!e.L.S.isConnected&&delete e.L.S}))}componentOnReady(){var t;return null==(t=n(this))?void 0:t.W}};o.P=t[0],i.includes(r)||s.get(r)||(l.push(r),s.define(r,lt(c,o,1)))}))})),l.length>0&&(f.textContent+=l.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",f.innerHTML.length)){f.setAttribute("data-styles","");const t=null!=(o=a.N)?o:O(u.document);null!=t&&f.setAttribute("nonce",t),r.insertBefore(f,c?c.nextSibling:r.firstChild)}h=!1,d.length?d.map((t=>t.connectedCallback())):a.jmp((()=>p=setTimeout(tt,30)))},ut=t=>a.N=t;export{ct as b,C as h,f as p,o as r,ut as s}