@rijkshuisstijl-community/web-components-stencil 1.0.0-alpha.3 → 1.0.0-alpha.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/{index-97a16ac9.js → index-6abd9e3a.js} +123 -26
- package/dist/cjs/index-6abd9e3a.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/rhc-icon-arrow-right.cjs.entry.js +1 -1
- package/dist/cjs/rhc-icon-calendar.cjs.entry.js +1 -1
- package/dist/cjs/rhc-icon-error.cjs.entry.js +1 -1
- package/dist/cjs/rhc-icon-info_2.cjs.entry.js +1 -1
- package/dist/cjs/rhc-icon-success.cjs.entry.js +1 -1
- package/dist/cjs/rhc-icon-warning.cjs.entry.js +1 -1
- package/dist/cjs/rhc.cjs.js +2 -2
- package/dist/cjs/rhc.cjs.js.map +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/esm/{index-c2d82fd1.js → index-a0c70ca0.js} +123 -26
- package/dist/esm/index-a0c70ca0.js.map +1 -0
- package/dist/esm/loader.js +2 -2
- package/dist/esm/rhc-icon-arrow-right.entry.js +1 -1
- package/dist/esm/rhc-icon-calendar.entry.js +1 -1
- package/dist/esm/rhc-icon-error.entry.js +1 -1
- package/dist/esm/rhc-icon-info_2.entry.js +1 -1
- package/dist/esm/rhc-icon-success.entry.js +1 -1
- package/dist/esm/rhc-icon-warning.entry.js +1 -1
- package/dist/esm/rhc.js +3 -3
- package/dist/esm/rhc.js.map +1 -1
- package/dist/rhc/{p-bab6df1d.entry.js → p-11cacb44.entry.js} +2 -2
- package/dist/rhc/{p-569d82ec.entry.js → p-6ff329f1.entry.js} +2 -2
- package/dist/rhc/p-74d5e7fb.js +3 -0
- package/dist/rhc/p-74d5e7fb.js.map +1 -0
- package/dist/rhc/{p-1849850a.entry.js → p-80f1e438.entry.js} +2 -2
- package/dist/rhc/{p-4378bb06.entry.js → p-c053a5fc.entry.js} +2 -2
- package/dist/rhc/{p-3c963064.entry.js → p-d056e80b.entry.js} +2 -2
- package/dist/rhc/{p-1ddc5ba6.entry.js → p-e7742379.entry.js} +2 -2
- package/dist/rhc/rhc.esm.js +1 -1
- package/dist/rhc/rhc.esm.js.map +1 -1
- package/dist/types/stencil-public-runtime.d.ts +24 -3
- package/package.json +8 -8
- package/dist/cjs/index-97a16ac9.js.map +0 -1
- package/dist/esm/index-c2d82fd1.js.map +0 -1
- package/dist/rhc/p-1f328841.js +0 -3
- package/dist/rhc/p-1f328841.js.map +0 -1
- /package/dist/rhc/{p-bab6df1d.entry.js.map → p-11cacb44.entry.js.map} +0 -0
- /package/dist/rhc/{p-569d82ec.entry.js.map → p-6ff329f1.entry.js.map} +0 -0
- /package/dist/rhc/{p-1849850a.entry.js.map → p-80f1e438.entry.js.map} +0 -0
- /package/dist/rhc/{p-4378bb06.entry.js.map → p-c053a5fc.entry.js.map} +0 -0
- /package/dist/rhc/{p-3c963064.entry.js.map → p-d056e80b.entry.js.map} +0 -0
- /package/dist/rhc/{p-1ddc5ba6.entry.js.map → p-e7742379.entry.js.map} +0 -0
package/dist/esm/rhc.js
CHANGED
@@ -1,8 +1,8 @@
|
|
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-a0c70ca0.js';
|
2
|
+
export { s as setNonce } from './index-a0c70ca0.js';
|
3
3
|
|
4
4
|
/*
|
5
|
-
Stencil Client Patch Browser v4.
|
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;
|
package/dist/esm/rhc.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"file":"rhc.js","mappings":";;;AAAA;AACA;AACA;AAGA,MAAM,YAAY,GAAG,MAAM;
|
1
|
+
{"file":"rhc.js","mappings":";;;AAAA;AACA;AACA;AAGA,MAAM,YAAY,GAAG,MAAM;AAa3B,IAAI,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;AACvC,IAAI,MAAM,IAAI,GAAiE,EAAE,CAAC;AAClF,IAAI,IAAI,UAAU,KAAK,EAAE,EAAE;AAC3B,QAAQ,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC,IAAI,CAAC;AAC1D,KAAK;AACL,IAAI,OAAO,cAAc,CAAC,IAAI,CAAC,CAAC;AAChC,CAAC;;ACpBD,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,IAAI;AAE/B,EAAE,OAAO,aAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;AAC9D,CAAC,CAAC","names":[],"sources":["../../node_modules/.pnpm/@stencil+core@4.7.2/node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.7.2 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, doc, promiseResolve, H } from '@stencil/core';\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n if (importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n return promiseResolve(opts);\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"version":3}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import{r,h as o}from"./p-
|
2
|
-
//# sourceMappingURL=p-
|
1
|
+
import{r,h as o}from"./p-74d5e7fb.js";const e=class{constructor(o){r(this,o)}render(){return o("svg",{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"},o("path",{fill:"currentColor","fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.19522 3.52858C8.45557 3.26823 8.87768 3.26823 9.13803 3.52858L13.138 7.52858C13.3984 7.78892 13.3984 8.21103 13.138 8.47138L9.13803 12.4714C8.87768 12.7317 8.45557 12.7317 8.19522 12.4714C7.93487 12.211 7.93487 11.7889 8.19522 11.5286L11.0571 8.66665H3.33329C2.9651 8.66665 2.66663 8.36817 2.66663 7.99998C2.66663 7.63179 2.9651 7.33331 3.33329 7.33331H11.0571L8.19522 4.47138C7.93487 4.21103 7.93487 3.78892 8.19522 3.52858Z"}))}};export{e as rhc_icon_arrow_right};
|
2
|
+
//# sourceMappingURL=p-11cacb44.entry.js.map
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import{r,h as o}from"./p-
|
2
|
-
//# sourceMappingURL=p-
|
1
|
+
import{r,h as o}from"./p-74d5e7fb.js";const s=class{constructor(o){r(this,o)}render(){return o("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",version:"1.1"},o("defs",null,o("path",{d:"M18.3135565,15.99975 L24.5202524,9.79305408 C25.1592492,9.1540573 25.1592492,8.11824435 24.5202524,7.47924758 C23.8812556,6.84025081 22.8454427,6.84025081 22.2064459,7.47924758 L15.99975,13.6859435 L9.79305408,7.47924758 C9.1540573,6.84025081 8.11824435,6.84025081 7.47924758,7.47924758 C6.84025081,8.11824435 6.84025081,9.1540573 7.47924758,9.79305408 L13.6859435,15.99975 L7.47924758,22.2064459 C6.84025081,22.8454427 6.84025081,23.8812556 7.47924758,24.5202524 C7.79833688,24.8401599 8.21724385,24.9997045 8.63615083,24.9997045 C9.0550578,24.9997045 9.4731466,24.8401599 9.79305408,24.5202524 L15.99975,18.3135565 L22.2064459,24.5202524 C22.5255352,24.8401599 22.9444422,24.9997045 23.3633492,24.9997045 C23.7822561,24.9997045 24.2003449,24.8401599 24.5202524,24.5202524 C25.1592492,23.8812556 25.1592492,22.8454427 24.5202524,22.2064459 L18.3135565,15.99975 Z",id:"path-1"})),o("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},o("path",{d:"M31.3046827,3.47798687 C31.0638074,2.03483589 29.9658643,0.93619256 28.5220131,0.696017505 C24.3480088,0 17.3913348,0 16.0007002,0 C14.6086652,0 7.65269147,0 3.47868709,0.696017505 C2.03483589,0.93619256 0.93619256,2.03483589 0.696017505,3.47798687 C0,7.65199125 0,14.6086652 0,16 C0,17.3913348 0,24.3480088 0.696017505,28.5220131 C0.93619256,29.9651641 2.03483589,31.0638074 3.47868709,31.3039825 C7.65269147,32 14.6086652,32 16.0007002,32 C17.3913348,32 24.3480088,32 28.5220131,31.3039825 C29.9658643,31.0638074 31.0638074,29.9651641 31.3046827,28.5220131 C32,24.3480088 32,17.3913348 32,16 C32,11.823895 32,7.65199125 31.3046827,3.47798687 L31.3046827,3.47798687 Z",id:"Mask"}),o("mask",{id:"mask-2",fill:"var(--logius-icon-accent-color,#fff)"},o("use",{xlinkHref:"#path-1"})),o("use",{id:"Fill-20",fill:"var(--logius-icon-accent-color,#fff)",xlinkHref:"#path-1"})))}};export{s as rhc_icon_error};
|
2
|
+
//# sourceMappingURL=p-6ff329f1.entry.js.map
|
@@ -0,0 +1,3 @@
|
|
1
|
+
const t="rhc";let n;let e;let s=false;let o=false;const l=(t,n="")=>{{return()=>{}}};const c=(t,n)=>{{return()=>{}}};const i="{visibility:hidden}.hydrated{visibility:inherit}";const f="slot-fb{display:contents}slot-fb[hidden]{display:none}";const r="http://www.w3.org/1999/xlink";const u={};const a="http://www.w3.org/2000/svg";const d="http://www.w3.org/1999/xhtml";const h=t=>t!=null;const p=t=>{t=typeof t;return t==="object"||t==="function"};function y(t){var n,e,s;return(s=(e=(n=t.head)===null||n===void 0?void 0:n.querySelector('meta[name="csp-nonce"]'))===null||e===void 0?void 0:e.getAttribute("content"))!==null&&s!==void 0?s:undefined}const w=(t,n,...e)=>{let s=null;let o=false;let l=false;const c=[];const i=n=>{for(let e=0;e<n.length;e++){s=n[e];if(Array.isArray(s)){i(s)}else if(s!=null&&typeof s!=="boolean"){if(o=typeof t!=="function"&&!p(s)){s=String(s)}if(o&&l){c[c.length-1].t+=s}else{c.push(o?v(null,s):s)}l=o}}};i(e);if(n){{const t=n.className||n.class;if(t){n.class=typeof t!=="object"?t:Object.keys(t).filter((n=>t[n])).join(" ")}}}const f=v(t,null);f.o=n;if(c.length>0){f.l=c}return f};const v=(t,n)=>{const e={i:0,u:t,t:n,h:null,l:null};{e.o=null}return e};const $={};const m=t=>t&&t.u===$;const b=(t,n)=>{if(t!=null&&!p(t)){if(n&1){return String(t)}return t}return t};const g=(t,n,e)=>{const s=yt.ce(n,e);t.dispatchEvent(s);return s};const S=new WeakMap;const j=(t,n,e)=>{let s=dt.get(t);if(vt&&e){s=s||new CSSStyleSheet;if(typeof s==="string"){s=n}else{s.replaceSync(n)}}else{s=n}dt.set(t,s)};const O=(t,n,e)=>{var s;const o=M(n);const l=dt.get(o);t=t.nodeType===11?t:pt;if(l){if(typeof l==="string"){t=t.head||t;let e=S.get(t);let c;if(!e){S.set(t,e=new Set)}if(!e.has(o)){{c=pt.createElement("style");c.innerHTML=l;const n=(s=yt.p)!==null&&s!==void 0?s:y(pt);if(n!=null){c.setAttribute("nonce",n)}t.insertBefore(c,t.querySelector("link"))}if(n.i&4){c.innerHTML+=f}if(e){e.add(o)}}}else if(!t.adoptedStyleSheets.includes(l)){t.adoptedStyleSheets=[...t.adoptedStyleSheets,l]}}return o};const k=t=>{const n=t.v;const e=t.$hostElement$;const s=n.i;const o=l("attachStyles",n.$);const c=O(e.shadowRoot?e.shadowRoot:e.getRootNode(),n);if(s&10){e["s-sc"]=c;e.classList.add(c+"-h")}o()};const M=(t,n)=>"sc-"+t.$;const C=(t,n,e,s,o,l)=>{if(e!==s){let c=ft(t,n);let i=n.toLowerCase();if(n==="class"){const n=t.classList;const o=P(e);const l=P(s);n.remove(...o.filter((t=>t&&!l.includes(t))));n.add(...l.filter((t=>t&&!o.includes(t))))}else{const f=p(s);if((c||f&&s!==null)&&!o){try{if(!t.tagName.includes("-")){const o=s==null?"":s;if(n==="list"){c=false}else if(e==null||t[n]!=o){t[n]=o}}else{t[n]=s}}catch(t){}}let u=false;{if(i!==(i=i.replace(/^xlink\:?/,""))){n=i;u=true}}if(s==null||s===false){if(s!==false||t.getAttribute(n)===""){if(u){t.removeAttributeNS(r,n)}else{t.removeAttribute(n)}}}else if((!c||l&4||o)&&!f){s=s===true?"":s;if(u){t.setAttributeNS(r,n,s)}else{t.setAttribute(n,s)}}}}};const x=/\s/;const P=t=>!t?[]:t.split(x);const U=(t,n,e,s)=>{const o=n.h.nodeType===11&&n.h.host?n.h.host:n.h;const l=t&&t.o||u;const c=n.o||u;{for(s in l){if(!(s in c)){C(o,s,l[s],undefined,e,n.i)}}}for(s in c){C(o,s,l[s],c[s],e,n.i)}};const A=(t,e,o,l)=>{const c=e.l[o];let i=0;let f;let r;if(c.t!==null){f=c.h=pt.createTextNode(c.t)}else{if(!s){s=c.u==="svg"}f=c.h=pt.createElementNS(s?a:d,c.u);if(s&&c.u==="foreignObject"){s=false}{U(null,c,s)}if(h(n)&&f["s-si"]!==n){f.classList.add(f["s-si"]=n)}if(c.l){for(i=0;i<c.l.length;++i){r=A(t,c,i);if(r){f.appendChild(r)}}}{if(c.u==="svg"){s=false}else if(f.tagName==="foreignObject"){s=true}}}return f};const E=(t,n,s,o,l,c)=>{let i=t;let f;if(i.shadowRoot&&i.tagName===e){i=i.shadowRoot}for(;l<=c;++l){if(o[l]){f=A(null,s,l);if(f){o[l].h=f;i.insertBefore(f,n)}}}};const N=(t,n,e)=>{for(let s=n;s<=e;++s){const n=t[s];if(n){const t=n.h;if(t){t.remove()}}}};const T=(t,n,e,s)=>{let o=0;let l=0;let c=n.length-1;let i=n[0];let f=n[c];let r=s.length-1;let u=s[0];let a=s[r];let d;while(o<=c&&l<=r){if(i==null){i=n[++o]}else if(f==null){f=n[--c]}else if(u==null){u=s[++l]}else if(a==null){a=s[--r]}else if(L(i,u)){R(i,u);i=n[++o];u=s[++l]}else if(L(f,a)){R(f,a);f=n[--c];a=s[--r]}else if(L(i,a)){R(i,a);t.insertBefore(i.h,f.h.nextSibling);i=n[++o];a=s[--r]}else if(L(f,u)){R(f,u);t.insertBefore(f.h,i.h);f=n[--c];u=s[++l]}else{{d=A(n&&n[l],e,l);u=s[++l]}if(d){{i.h.parentNode.insertBefore(d,i.h)}}}}if(o>c){E(t,s[r+1]==null?null:s[r+1].h,e,s,l,r)}else if(l>r){N(n,o,c)}};const L=(t,n)=>{if(t.u===n.u){return true}return false};const R=(t,n)=>{const e=n.h=t.h;const o=t.l;const l=n.l;const c=n.u;const i=n.t;if(i===null){{s=c==="svg"?true:c==="foreignObject"?false:s}{{U(t,n,s)}}if(o!==null&&l!==null){T(e,o,n,l)}else if(l!==null){if(t.t!==null){e.textContent=""}E(e,null,n,l,0,l.length-1)}else if(o!==null){N(o,0,o.length-1)}if(s&&c==="svg"){s=false}}else if(t.t!==i){e.data=i}};const W=(t,s,o=false)=>{const l=t.$hostElement$;const c=t.m||v(null,null);const i=m(s)?s:w(null,null,s);e=l.tagName;if(o&&i.o){for(const t of Object.keys(i.o)){if(l.hasAttribute(t)&&!["key","ref","style","class"].includes(t)){i.o[t]=l[t]}}}i.u=null;i.i|=4;t.m=i;i.h=c.h=l.shadowRoot||l;{n=l["s-sc"]}R(c,i)};const q=(t,n)=>{if(n&&!t.S&&n["s-p"]){n["s-p"].push(new Promise((n=>t.S=n)))}};const F=(t,n)=>{{t.i|=16}if(t.i&4){t.i|=512;return}q(t,t.j);const e=()=>H(t,n);return Ot(e)};const H=(t,n)=>{const e=l("scheduleUpdate",t.v.$);const s=t.O;let o;e();return I(o,(()=>_(t,s,n)))};const I=(t,n)=>V(t)?t.then(n):n();const V=t=>t instanceof Promise||t&&t.then&&typeof t.then==="function";const _=async(t,n,e)=>{var s;const o=t.$hostElement$;const c=l("update",t.v.$);const i=o["s-rc"];if(e){k(t)}const f=l("render",t.v.$);{z(t,n,o,e)}if(i){i.map((t=>t()));o["s-rc"]=undefined}f();c();{const n=(s=o["s-p"])!==null&&s!==void 0?s:[];const e=()=>B(t);if(n.length===0){e()}else{Promise.all(n).then(e);t.i|=4;n.length=0}}};const z=(t,n,e,s)=>{try{n=n.render();{t.i&=~16}{t.i|=2}{{{W(t,n,s)}}}}catch(n){rt(n,t.$hostElement$)}return null};const B=t=>{const n=t.v.$;const e=t.$hostElement$;const s=l("postUpdate",n);const o=t.j;if(!(t.i&64)){t.i|=64;{G(e)}s();{t.k(e);if(!o){D()}}}else{s()}{if(t.S){t.S();t.S=undefined}if(t.i&512){jt((()=>F(t,false)))}t.i&=~(4|512)}};const D=n=>{{G(pt.documentElement)}jt((()=>g(ht,"appload",{detail:{namespace:t}})))};const G=t=>t.classList.add("hydrated");const J=(t,n)=>lt(t).M.get(n);const K=(t,n,e,s)=>{const o=lt(t);const l=o.M.get(n);const c=o.i;const i=o.O;e=b(e,s.C[n][0]);const f=Number.isNaN(l)&&Number.isNaN(e);const r=e!==l&&!f;if((!(c&8)||l===undefined)&&r){o.M.set(n,e);if(i){if((c&(2|16))===2){F(o,false)}}}};const Q=(t,n,e)=>{var s;if(n.C){const o=Object.entries(n.C);const l=t.prototype;o.map((([t,[s]])=>{if(s&31||e&2&&s&32){Object.defineProperty(l,t,{get(){return J(this,t)},set(e){K(this,t,e,n)},configurable:true,enumerable:true})}}));if(e&1){const e=new Map;l.attributeChangedCallback=function(t,s,o){yt.jmp((()=>{const c=e.get(t);if(this.hasOwnProperty(c)){o=this[c];delete this[c]}else if(l.hasOwnProperty(c)&&typeof this[c]==="number"&&this[c]==o){return}else if(c==null){const e=lt(this);const l=e===null||e===void 0?void 0:e.i;if(!(l&8)&&l&128&&o!==s){const l=e.O;const c=n.P[t];c===null||c===void 0?void 0:c.forEach((n=>{if(l[n]!=null){l[n].call(l,o,s,t)}}))}return}this[c]=o===null&&typeof this[c]==="boolean"?false:o}))};t.observedAttributes=Array.from(new Set([...Object.keys((s=n.P)!==null&&s!==void 0?s:{}),...o.filter((([t,n])=>n[0]&15)).map((([t,n])=>{const s=n[1]||t;e.set(s,t);return s}))]))}}return t};const X=async(t,n,e,s)=>{let o;if((n.i&32)===0){n.i|=32;{o=at(e);if(o.then){const t=c();o=await o;t()}if(!o.isProxied){Q(o,e,2);o.isProxied=true}const t=l("createInstance",e.$);{n.i|=8}try{new o(n)}catch(t){rt(t)}{n.i&=~8}t()}if(o.style){let t=o.style;const n=M(e);if(!dt.has(n)){const s=l("registerStyles",e.$);j(n,t,!!(e.i&1));s()}}}const i=n.j;const f=()=>F(n,true);if(i&&i["s-rc"]){i["s-rc"].push(f)}else{f()}};const Y=t=>{};const Z=t=>{if((yt.i&1)===0){const n=lt(t);const e=n.v;const s=l("connectedCallback",e.$);if(!(n.i&1)){n.i|=1;{let e=t;while(e=e.parentNode||e.host){if(e["s-p"]){q(n,n.j=e);break}}}if(e.C){Object.entries(e.C).map((([n,[e]])=>{if(e&31&&t.hasOwnProperty(n)){const e=t[n];delete t[n];t[n]=e}}))}{X(t,n,e)}}else{if(n===null||n===void 0?void 0:n.O);else if(n===null||n===void 0?void 0:n.U){n.U.then((()=>Y()))}}s()}};const tt=t=>{};const nt=async t=>{if((yt.i&1)===0){const n=lt(t);if(n===null||n===void 0?void 0:n.O);else if(n===null||n===void 0?void 0:n.U){n.U.then((()=>tt()))}}};const et=(t,n={})=>{var e;const s=l();const o=[];const c=n.exclude||[];const r=ht.customElements;const u=pt.head;const a=u.querySelector("meta[charset]");const d=pt.createElement("style");const h=[];let p;let w=true;Object.assign(yt,n);yt.A=new URL(n.resourcesUrl||"./",pt.baseURI).href;let v=false;t.map((t=>{t[1].map((n=>{const e={i:n[0],$:n[1],C:n[2],N:n[3]};if(e.i&4){v=true}{e.C=n[2]}const s=e.$;const l=class extends HTMLElement{constructor(t){super(t);t=this;it(t,e);if(e.i&1){{{t.attachShadow({mode:"open"})}}}}connectedCallback(){if(p){clearTimeout(p);p=null}if(w){h.push(this)}else{yt.jmp((()=>Z(this)))}}disconnectedCallback(){yt.jmp((()=>nt(this)))}componentOnReady(){return lt(this).U}};e.T=t[0];if(!c.includes(s)&&!r.get(s)){o.push(s);r.define(s,Q(l,e,1))}}))}));if(v){d.innerHTML+=f}{d.innerHTML+=o+i}if(d.innerHTML.length){d.setAttribute("data-styles","");u.insertBefore(d,a?a.nextSibling:u.firstChild);const t=(e=yt.p)!==null&&e!==void 0?e:y(pt);if(t!=null){d.setAttribute("nonce",t)}}w=false;if(h.length){h.map((t=>t.connectedCallback()))}else{{yt.jmp((()=>p=setTimeout(D,30)))}}s()};const st=t=>yt.p=t;const ot=new WeakMap;const lt=t=>ot.get(t);const ct=(t,n)=>ot.set(n.O=t,n);const it=(t,n)=>{const e={i:0,$hostElement$:t,v:n,M:new Map};{e.U=new Promise((t=>e.k=t));t["s-p"]=[];t["s-rc"]=[]}return ot.set(t,e)};const ft=(t,n)=>n in t;const rt=(t,n)=>(0,console.error)(t,n);const ut=new Map;const at=(t,n,e)=>{const s=t.$.replace(/-/g,"_");const o=t.T;const l=ut.get(o);if(l){return l[s]}
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${o}.entry.js${""}`).then((t=>{{ut.set(o,t)}return t[s]}),rt)};const dt=new Map;const ht=typeof window!=="undefined"?window:{};const pt=ht.document||{head:{}};const yt={i:0,A:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,s)=>t.addEventListener(n,e,s),rel:(t,n,e,s)=>t.removeEventListener(n,e,s),ce:(t,n)=>new CustomEvent(t,n)};const wt=t=>Promise.resolve(t);const vt=(()=>{try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(t){}return false})();const $t=[];const mt=[];const bt=(t,n)=>e=>{t.push(e);if(!o){o=true;if(n&&yt.i&4){jt(St)}else{yt.raf(St)}}};const gt=t=>{for(let n=0;n<t.length;n++){try{t[n](performance.now())}catch(t){rt(t)}}t.length=0};const St=()=>{gt($t);{gt(mt);if(o=$t.length>0){yt.raf(St)}}};const jt=t=>wt().then(t);const Ot=bt(mt,true);export{et as b,w as h,wt as p,ct as r,st as s};
|
3
|
+
//# sourceMappingURL=p-74d5e7fb.js.map
|