@biggive/components 202402051215.0.0 → 202402061444.0.0
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/biggive/biggive.esm.js +1 -1
- package/dist/biggive/biggive.esm.js.map +1 -1
- package/dist/biggive/{p-791b4c01.entry.js → p-0241f047.entry.js} +2 -2
- package/dist/biggive/{p-af362e65.entry.js → p-0523710d.entry.js} +2 -2
- package/dist/biggive/p-174a82d5.js +3 -0
- package/dist/biggive/p-174a82d5.js.map +1 -0
- package/dist/biggive/{p-d4b1d29a.entry.js → p-1c09161f.entry.js} +2 -2
- package/dist/biggive/{p-14952f1c.entry.js → p-30fdfbff.entry.js} +2 -2
- package/dist/biggive/{p-5961e0e4.entry.js → p-5cf505f5.entry.js} +2 -2
- package/dist/biggive/{p-203a1472.entry.js → p-63ec9849.entry.js} +2 -2
- package/dist/biggive/{p-7c120b4f.entry.js → p-64eb7367.entry.js} +2 -2
- package/dist/biggive/{p-dad6036b.entry.js → p-81d341a9.entry.js} +2 -2
- package/dist/biggive/p-960a41e1.entry.js +2 -0
- package/dist/biggive/{p-08327d67.entry.js → p-98fb5ca8.entry.js} +2 -2
- package/dist/biggive/{p-c3e1a2e2.entry.js → p-bf5c0872.entry.js} +2 -2
- package/dist/biggive/{p-49d371ef.entry.js → p-bfe4bbd6.entry.js} +2 -2
- package/dist/biggive/{p-dd7f7885.entry.js → p-e002059e.entry.js} +2 -2
- package/dist/cjs/biggive-accordion_42.cjs.entry.js +1 -1
- package/dist/cjs/biggive-basic-card.cjs.entry.js +1 -1
- package/dist/cjs/biggive-beneficiary-icon.cjs.entry.js +1 -1
- package/dist/cjs/biggive-boxed-content.cjs.entry.js +1 -1
- package/dist/cjs/biggive-category-icon.cjs.entry.js +1 -1
- package/dist/cjs/biggive-cookie-banner.cjs.entry.js +1 -1
- package/dist/cjs/biggive-form.cjs.entry.js +1 -1
- package/dist/cjs/biggive-icon-group.cjs.entry.js +1 -1
- package/dist/cjs/biggive-image-card.cjs.entry.js +1 -1
- package/dist/cjs/biggive-nav-group.cjs.entry.js +1 -1
- package/dist/cjs/biggive-nav-item.cjs.entry.js +1 -1
- package/dist/cjs/biggive-table.cjs.entry.js +1 -1
- package/dist/cjs/biggive-video.cjs.entry.js +1 -1
- package/dist/cjs/biggive.cjs.js +2 -2
- package/dist/cjs/biggive.cjs.js.map +1 -1
- package/dist/cjs/{index-e9de07ad.js → index-bd6f44f7.js} +36 -24
- package/dist/cjs/index-bd6f44f7.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/esm/biggive-accordion_42.entry.js +1 -1
- package/dist/esm/biggive-basic-card.entry.js +1 -1
- package/dist/esm/biggive-beneficiary-icon.entry.js +1 -1
- package/dist/esm/biggive-boxed-content.entry.js +1 -1
- package/dist/esm/biggive-category-icon.entry.js +1 -1
- package/dist/esm/biggive-cookie-banner.entry.js +1 -1
- package/dist/esm/biggive-form.entry.js +1 -1
- package/dist/esm/biggive-icon-group.entry.js +1 -1
- package/dist/esm/biggive-image-card.entry.js +1 -1
- package/dist/esm/biggive-nav-group.entry.js +1 -1
- package/dist/esm/biggive-nav-item.entry.js +1 -1
- package/dist/esm/biggive-table.entry.js +1 -1
- package/dist/esm/biggive-video.entry.js +1 -1
- package/dist/esm/biggive.js +3 -3
- package/dist/esm/biggive.js.map +1 -1
- package/dist/esm/{index-4982713c.js → index-6e045def.js} +36 -24
- package/dist/esm/index-6e045def.js.map +1 -0
- package/dist/esm/loader.js +2 -2
- package/hydrate/index.js +89 -11
- package/package.json +1 -1
- package/dist/biggive/p-7c49e91e.entry.js +0 -2
- package/dist/biggive/p-90a8c144.js +0 -3
- package/dist/biggive/p-90a8c144.js.map +0 -1
- package/dist/cjs/index-e9de07ad.js.map +0 -1
- package/dist/esm/index-4982713c.js.map +0 -1
- /package/dist/biggive/{p-791b4c01.entry.js.map → p-0241f047.entry.js.map} +0 -0
- /package/dist/biggive/{p-af362e65.entry.js.map → p-0523710d.entry.js.map} +0 -0
- /package/dist/biggive/{p-d4b1d29a.entry.js.map → p-1c09161f.entry.js.map} +0 -0
- /package/dist/biggive/{p-14952f1c.entry.js.map → p-30fdfbff.entry.js.map} +0 -0
- /package/dist/biggive/{p-5961e0e4.entry.js.map → p-5cf505f5.entry.js.map} +0 -0
- /package/dist/biggive/{p-203a1472.entry.js.map → p-63ec9849.entry.js.map} +0 -0
- /package/dist/biggive/{p-7c120b4f.entry.js.map → p-64eb7367.entry.js.map} +0 -0
- /package/dist/biggive/{p-dad6036b.entry.js.map → p-81d341a9.entry.js.map} +0 -0
- /package/dist/biggive/{p-7c49e91e.entry.js.map → p-960a41e1.entry.js.map} +0 -0
- /package/dist/biggive/{p-08327d67.entry.js.map → p-98fb5ca8.entry.js.map} +0 -0
- /package/dist/biggive/{p-c3e1a2e2.entry.js.map → p-bf5c0872.entry.js.map} +0 -0
- /package/dist/biggive/{p-49d371ef.entry.js.map → p-bfe4bbd6.entry.js.map} +0 -0
- /package/dist/biggive/{p-dd7f7885.entry.js.map → p-e002059e.entry.js.map} +0 -0
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-6e045def.js';
|
|
2
|
+
export { s as setNonce } from './index-6e045def.js';
|
|
3
3
|
|
|
4
4
|
const defineCustomElements = (win, options) => {
|
|
5
5
|
if (typeof window === 'undefined') return undefined;
|
package/hydrate/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
/*!
|
|
6
|
-
Stencil Mock Doc v4.12.
|
|
6
|
+
Stencil Mock Doc v4.12.1 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
const CONTENT_REF_ID = 'r';
|
|
9
9
|
const ORG_LOCATION_ID = 'o';
|
|
@@ -2630,16 +2630,95 @@ const jQuery = /*!
|
|
|
2630
2630
|
return jQuery;
|
|
2631
2631
|
});
|
|
2632
2632
|
|
|
2633
|
+
/**
|
|
2634
|
+
* Check whether an element of interest matches a given selector.
|
|
2635
|
+
*
|
|
2636
|
+
* @param selector the selector of interest
|
|
2637
|
+
* @param elm an element within which to find matching elements
|
|
2638
|
+
* @returns whether the element matches the selector
|
|
2639
|
+
*/
|
|
2633
2640
|
function matches(selector, elm) {
|
|
2634
|
-
|
|
2635
|
-
|
|
2641
|
+
try {
|
|
2642
|
+
const r = jQuery.find(selector, undefined, undefined, [elm]);
|
|
2643
|
+
return r.length > 0;
|
|
2644
|
+
}
|
|
2645
|
+
catch (e) {
|
|
2646
|
+
updateSelectorError(selector, e);
|
|
2647
|
+
throw e;
|
|
2648
|
+
}
|
|
2636
2649
|
}
|
|
2650
|
+
/**
|
|
2651
|
+
* Select the first element that matches a given selector
|
|
2652
|
+
*
|
|
2653
|
+
* @param selector the selector of interest
|
|
2654
|
+
* @param elm the element within which to find a matching element
|
|
2655
|
+
* @returns the first matching element, or null if none is found
|
|
2656
|
+
*/
|
|
2637
2657
|
function selectOne(selector, elm) {
|
|
2638
|
-
|
|
2639
|
-
|
|
2658
|
+
try {
|
|
2659
|
+
const r = jQuery.find(selector, elm, undefined, undefined);
|
|
2660
|
+
return r[0] || null;
|
|
2661
|
+
}
|
|
2662
|
+
catch (e) {
|
|
2663
|
+
updateSelectorError(selector, e);
|
|
2664
|
+
throw e;
|
|
2665
|
+
}
|
|
2640
2666
|
}
|
|
2667
|
+
/**
|
|
2668
|
+
* Select all elements that match a given selector
|
|
2669
|
+
*
|
|
2670
|
+
* @param selector the selector of interest
|
|
2671
|
+
* @param elm an element within which to find matching elements
|
|
2672
|
+
* @returns all matching elements
|
|
2673
|
+
*/
|
|
2641
2674
|
function selectAll(selector, elm) {
|
|
2642
|
-
|
|
2675
|
+
try {
|
|
2676
|
+
return jQuery.find(selector, elm, undefined, undefined);
|
|
2677
|
+
}
|
|
2678
|
+
catch (e) {
|
|
2679
|
+
updateSelectorError(selector, e);
|
|
2680
|
+
throw e;
|
|
2681
|
+
}
|
|
2682
|
+
}
|
|
2683
|
+
/**
|
|
2684
|
+
* A manifest of selectors which are known to be problematic in jQuery. See
|
|
2685
|
+
* here to track implementation and support:
|
|
2686
|
+
* https://github.com/jquery/jquery/issues/5111
|
|
2687
|
+
*/
|
|
2688
|
+
const PROBLEMATIC_SELECTORS = [':scope', ':where', ':is'];
|
|
2689
|
+
/**
|
|
2690
|
+
* Given a selector and an error object thrown by jQuery, annotate the
|
|
2691
|
+
* error's message to add some context as to the probable reason for the error.
|
|
2692
|
+
* In particular, if the selector includes a selector which is known to be
|
|
2693
|
+
* unsupported in jQuery, then we know that was likely the cause of the
|
|
2694
|
+
* error.
|
|
2695
|
+
*
|
|
2696
|
+
* @param selector our selector of interest
|
|
2697
|
+
* @param e an error object that was thrown in the course of using jQuery
|
|
2698
|
+
*/
|
|
2699
|
+
function updateSelectorError(selector, e) {
|
|
2700
|
+
const selectorsPresent = PROBLEMATIC_SELECTORS.filter((s) => selector.includes(s));
|
|
2701
|
+
if (selectorsPresent.length > 0 && e.message) {
|
|
2702
|
+
e.message =
|
|
2703
|
+
`At present jQuery does not support the ${humanReadableList(selectorsPresent)} ${selectorsPresent.length === 1 ? 'selector' : 'selectors'}.
|
|
2704
|
+
If you need this in your test, consider writing an end-to-end test instead.\n` + e.message;
|
|
2705
|
+
}
|
|
2706
|
+
}
|
|
2707
|
+
/**
|
|
2708
|
+
* Format a list of strings in a 'human readable' way.
|
|
2709
|
+
*
|
|
2710
|
+
* - If one string (['string']), return 'string'
|
|
2711
|
+
* - If two strings (['a', 'b']), return 'a and b'
|
|
2712
|
+
* - If three or more (['a', 'b', 'c']), return 'a, b and c'
|
|
2713
|
+
*
|
|
2714
|
+
* @param items a list of strings to format
|
|
2715
|
+
* @returns a formatted string
|
|
2716
|
+
*/
|
|
2717
|
+
function humanReadableList(items) {
|
|
2718
|
+
if (items.length <= 1) {
|
|
2719
|
+
return items.join('');
|
|
2720
|
+
}
|
|
2721
|
+
return `${items.slice(0, items.length - 1).join(', ')} and ${items[items.length - 1]}`;
|
|
2643
2722
|
}
|
|
2644
2723
|
|
|
2645
2724
|
function serializeNodeToHtml(elm, opts = {}) {
|
|
@@ -7069,8 +7148,7 @@ const createElm = (e, t, o, n) => {
|
|
|
7069
7148
|
const n = t.$elm$ = e.$elm$, s = e.$children$, l = t.$children$, a = t.$tag$, r = t.$text$;
|
|
7070
7149
|
let i;
|
|
7071
7150
|
null !== r ? (i = n["s-cr"]) ? i.parentNode.textContent = r : e.$text$ !== r && (n.data = r) : ((isSvgMode = "svg" === a || "foreignObject" !== a && isSvgMode),
|
|
7072
|
-
("slot" === a
|
|
7073
|
-
null !== s && null !== l ? ((e, t, o, n, s = !1) => {
|
|
7151
|
+
("slot" === a && !useNativeShadowDom ? BUILD.experimentalSlotFixes : updateElement(e, t, isSvgMode)), null !== s && null !== l ? ((e, t, o, n, s = !1) => {
|
|
7074
7152
|
let l, a, r = 0, i = 0, d = 0, c = 0, $ = t.length - 1, m = t[0], p = t[$], h = n.length - 1, f = n[0], u = n[h];
|
|
7075
7153
|
for (;r <= $ && i <= h; ) if (null == m) m = t[++r]; else if (null == p) p = t[--$]; else if (null == f) f = n[++i]; else if (null == u) u = n[--h]; else if (isSameVnode(m, f, s)) patch(m, f, s),
|
|
7076
7154
|
m = t[++r], f = n[++i]; else if (isSameVnode(p, u, s)) patch(p, u, s), p = t[--$],
|
|
@@ -7137,9 +7215,9 @@ const createElm = (e, t, o, n) => {
|
|
|
7137
7215
|
if (hostTagName = i.tagName, BUILD.isDev ) ;
|
|
7138
7216
|
if (o && $.$attrs$) for (const e of Object.keys($.$attrs$)) i.hasAttribute(e) && ![ "key", "ref", "style", "class" ].includes(e) && ($.$attrs$[e] = i[e]);
|
|
7139
7217
|
if ($.$tag$ = null, $.$flags$ |= 4, e.$vnode$ = $, $.$elm$ = c.$elm$ = i.shadowRoot || i,
|
|
7140
|
-
(scopeId = i["s-sc"]),
|
|
7141
|
-
|
|
7142
|
-
BUILD.slotRelocation) {
|
|
7218
|
+
(scopeId = i["s-sc"]), useNativeShadowDom = supportsShadow,
|
|
7219
|
+
(contentRef = i["s-cr"], checkSlotFallbackVisibility = !1),
|
|
7220
|
+
patch(c, $, o), BUILD.slotRelocation) {
|
|
7143
7221
|
if (plt.$flags$ |= 1, checkSlotRelocate) {
|
|
7144
7222
|
markSlotContentForRelocation($.$elm$);
|
|
7145
7223
|
for (const e of relocateNodes) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@biggive/components",
|
|
3
3
|
"_comment": "Version number below is automatically replaced during CircleCI build.",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "202402061444.0.0",
|
|
5
5
|
"description": "Big Give Components",
|
|
6
6
|
"main": "dist/index.cjs.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as s,h as e,d as o}from"./p-90a8c144.js";const c=":host{display:block}";const r=c;const t=class{constructor(e){s(this,e)}render(){return e(o,{key:"61e42ef8d247441ac261f691293eb1dbf4717c68"},e("slot",{key:"2ba931b696edce24a081e1118075a9fd5f3fb0dd"}))}};t.style=r;export{t as biggive_form};
|
|
2
|
-
//# sourceMappingURL=p-7c49e91e.entry.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
const t="biggive";let e;let n;let s;let l=false;let o=false;let i=false;let f=false;let c=false;const r=t=>{const e=new URL(t,Kt.t);return e.origin!==Bt.location.origin?e.href:e.pathname};const u=(t,e="")=>{{return()=>{}}};const a=(t,e)=>{{return()=>{}}};const d="r";const $="o";const v="s";const h="t";const p="s-id";const y="sty-id";const m="c-id";const b="{visibility:hidden}.hydrated{visibility:inherit}";const w="slot-fb{display:contents}slot-fb[hidden]{display:none}";const g={};const S="http://www.w3.org/2000/svg";const j="http://www.w3.org/1999/xhtml";const k=t=>t!=null;const O=t=>{t=typeof t;return t==="object"||t==="function"};function x(t){var e,n,s;return(s=(n=(e=t.head)===null||e===void 0?void 0:e.querySelector('meta[name="csp-nonce"]'))===null||n===void 0?void 0:n.getAttribute("content"))!==null&&s!==void 0?s:undefined}const C=(t,e,...n)=>{let s=null;let l=null;let o=null;let i=false;let f=false;const c=[];const r=e=>{for(let n=0;n<e.length;n++){s=e[n];if(Array.isArray(s)){r(s)}else if(s!=null&&typeof s!=="boolean"){if(i=typeof t!=="function"&&!O(s)){s=String(s)}if(i&&f){c[c.length-1].l+=s}else{c.push(i?M(null,s):s)}f=i}}};r(n);if(e){if(e.key){l=e.key}if(e.name){o=e.name}{const t=e.className||e.class;if(t){e.class=typeof t!=="object"?t:Object.keys(t).filter((e=>t[e])).join(" ")}}}if(typeof t==="function"){return t(e===null?{}:e,c,E)}const u=M(t,null);u.o=e;if(c.length>0){u.i=c}{u.u=l}{u.$=o}return u};const M=(t,e)=>{const n={v:0,h:t,l:e,p:null,i:null};{n.o=null}{n.u=null}{n.$=null}return n};const R={};const P=t=>t&&t.h===R;const E={forEach:(t,e)=>t.map(I).forEach(e),map:(t,e)=>t.map(I).map(e).map(L)};const I=t=>({vattrs:t.o,vchildren:t.i,vkey:t.u,vname:t.$,vtag:t.h,vtext:t.l});const L=t=>{if(typeof t.vtag==="function"){const e=Object.assign({},t.vattrs);if(t.vkey){e.key=t.vkey}if(t.vname){e.name=t.vname}return C(t.vtag,e,...t.vchildren||[])}const e=M(t.vtag,t.vtext);e.o=t.vattrs;e.i=t.vchildren;e.u=t.vkey;e.$=t.vname;return e};const T=(t,e,n,s)=>{const l=u("hydrateClient",e);const o=t.shadowRoot;const i=[];const f=[];const c=o?[]:null;const r=s.m=M(e,null);if(!Kt.S){A(Gt.body,Kt.S=new Map)}t[p]=n;t.removeAttribute(p);U(r,i,f,c,t,t,n);i.map((t=>{const n=t.j+"."+t.k;const s=Kt.S.get(n);const l=t.p;if(s&&Qt&&s["s-en"]===""){s.parentNode.insertBefore(l,s.nextSibling)}if(!o){l["s-hn"]=e;if(s){l["s-ol"]=s;l["s-ol"]["s-nr"]=l}}Kt.S.delete(n)}));if(o){c.map((t=>{if(t){o.appendChild(t)}}))}l()};const U=(t,e,n,s,l,o,i)=>{let f;let c;let r;let u;if(o.nodeType===1){f=o.getAttribute(m);if(f){c=f.split(".");if(c[0]===i||c[0]==="0"){r={v:0,j:c[0],k:c[1],O:c[2],C:c[3],h:o.tagName.toLowerCase(),p:o,o:null,i:null,u:null,$:null,l:null};e.push(r);o.removeAttribute(m);if(!t.i){t.i=[]}t.i[r.C]=r;t=r;if(s&&r.O==="0"){s[r.C]=r.p}}}for(u=o.childNodes.length-1;u>=0;u--){U(t,e,n,s,l,o.childNodes[u],i)}if(o.shadowRoot){for(u=o.shadowRoot.childNodes.length-1;u>=0;u--){U(t,e,n,s,l,o.shadowRoot.childNodes[u],i)}}}else if(o.nodeType===8){c=o.nodeValue.split(".");if(c[1]===i||c[1]==="0"){f=c[0];r={v:0,j:c[1],k:c[2],O:c[3],C:c[4],p:o,o:null,i:null,u:null,$:null,h:null,l:null};if(f===h){r.p=o.nextSibling;if(r.p&&r.p.nodeType===3){r.l=r.p.textContent;e.push(r);o.remove();if(!t.i){t.i=[]}t.i[r.C]=r;if(s&&r.O==="0"){s[r.C]=r.p}}}else if(r.j===i){if(f===v){r.h="slot";if(c[5]){o["s-sn"]=r.$=c[5]}else{o["s-sn"]=""}o["s-sr"]=true;if(s){r.p=Gt.createElement(r.h);if(r.$){r.p.setAttribute("name",r.$)}o.parentNode.insertBefore(r.p,o);o.remove();if(r.O==="0"){s[r.C]=r.p}}n.push(r);if(!t.i){t.i=[]}t.i[r.C]=r}else if(f===d){if(s){o.remove()}else{l["s-cr"]=o;o["s-cn"]=true}}}}}else if(t&&t.h==="style"){const e=M(null,o.textContent);e.p=o;e.C="0";t.i=[e]}};const A=(t,e)=>{if(t.nodeType===1){let n=0;for(;n<t.childNodes.length;n++){A(t.childNodes[n],e)}if(t.shadowRoot){for(n=0;n<t.shadowRoot.childNodes.length;n++){A(t.shadowRoot.childNodes[n],e)}}}else if(t.nodeType===8){const n=t.nodeValue.split(".");if(n[0]===$){e.set(n[1]+"."+n[2],t);t.nodeValue="";t["s-en"]=n[3]}}};const N=(t,e)=>{if(t!=null&&!O(t)){if(e&4){return t==="false"?false:t===""||!!t}if(e&2){return parseFloat(t)}if(e&1){return String(t)}return t}return t};const W=t=>Wt(t).$hostElement$;const D=(t,e,n)=>{const s=W(t);return{emit:t=>F(s,e,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:t})}};const F=(t,e,n)=>{const s=Kt.ce(e,n);t.dispatchEvent(s);return s};const q=new WeakMap;const H=(t,e,n)=>{let s=zt.get(t);if(Yt&&n){s=s||new CSSStyleSheet;if(typeof s==="string"){s=e}else{s.replaceSync(e)}}else{s=e}zt.set(t,s)};const V=(t,e,n)=>{var s;const l=z(e);const o=zt.get(l);t=t.nodeType===11?t:Gt;if(o){if(typeof o==="string"){t=t.head||t;let n=q.get(t);let i;if(!n){q.set(t,n=new Set)}if(!n.has(l)){if(t.host&&(i=t.querySelector(`[${y}="${l}"]`))){i.innerHTML=o}else{i=Gt.createElement("style");i.innerHTML=o;const e=(s=Kt.M)!==null&&s!==void 0?s:x(Gt);if(e!=null){i.setAttribute("nonce",e)}t.insertBefore(i,t.querySelector("link"))}if(e.v&4){i.innerHTML+=w}if(n){n.add(l)}}}else if(!t.adoptedStyleSheets.includes(o)){t.adoptedStyleSheets=[...t.adoptedStyleSheets,o]}}return l};const _=t=>{const e=t.R;const n=t.$hostElement$;const s=e.v;const l=u("attachStyles",e.P);const o=V(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);if(s&10){n["s-sc"]=o;n.classList.add(o+"-h")}l()};const z=(t,e)=>"sc-"+t.P;const B=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{");const G=(t,e,n,s,l,o)=>{if(n!==s){let i=qt(t,e);let f=e.toLowerCase();if(e==="class"){const e=t.classList;const l=K(n);const o=K(s);e.remove(...l.filter((t=>t&&!o.includes(t))));e.add(...o.filter((t=>t&&!l.includes(t))))}else if(e==="style"){{for(const e in n){if(!s||s[e]==null){if(e.includes("-")){t.style.removeProperty(e)}else{t.style[e]=""}}}}for(const e in s){if(!n||s[e]!==n[e]){if(e.includes("-")){t.style.setProperty(e,s[e])}else{t.style[e]=s[e]}}}}else if(e==="key");else if(e==="ref"){if(s){s(t)}}else if(!i&&e[0]==="o"&&e[1]==="n"){if(e[2]==="-"){e=e.slice(3)}else if(qt(Bt,f)){e=f.slice(2)}else{e=f[2]+e.slice(3)}if(n||s){const l=e.endsWith(Q);e=e.replace(X,"");if(n){Kt.rel(t,e,n,l)}if(s){Kt.ael(t,e,s,l)}}}else{const f=O(s);if((i||f&&s!==null)&&!l){try{if(!t.tagName.includes("-")){const l=s==null?"":s;if(e==="list"){i=false}else if(n==null||t[e]!=l){t[e]=l}}else{t[e]=s}}catch(t){}}if(s==null||s===false){if(s!==false||t.getAttribute(e)===""){{t.removeAttribute(e)}}}else if((!i||o&4||l)&&!f){s=s===true?"":s;{t.setAttribute(e,s)}}}}};const J=/\s/;const K=t=>!t?[]:t.split(J);const Q="Capture";const X=new RegExp(Q+"$");const Y=(t,e,n,s)=>{const l=e.p.nodeType===11&&e.p.host?e.p.host:e.p;const o=t&&t.o||g;const i=e.o||g;{for(s in o){if(!(s in i)){G(l,s,o[s],undefined,n,e.v)}}}for(s in i){G(l,s,o[s],i[s],n,e.v)}};const Z=(t,o,c,r)=>{const u=o.i[c];let a=0;let d;let $;let v;if(!l){i=true;if(u.h==="slot"){if(e){r.classList.add(e+"-s")}u.v|=u.i?2:1}}if(u.l!==null){d=u.p=Gt.createTextNode(u.l)}else if(u.v&1){d=u.p=Gt.createTextNode("")}else{if(!f){f=u.h==="svg"}d=u.p=Gt.createElementNS(f?S:j,u.v&2?"slot-fb":u.h);if(f&&u.h==="foreignObject"){f=false}{Y(null,u,f)}if(k(e)&&d["s-si"]!==e){d.classList.add(d["s-si"]=e)}if(u.i){for(a=0;a<u.i.length;++a){$=Z(t,u,a,d);if($){d.appendChild($)}}}{if(u.h==="svg"){f=false}else if(d.tagName==="foreignObject"){f=true}}}d["s-hn"]=s;{if(u.v&(2|1)){d["s-sr"]=true;d["s-cr"]=n;d["s-sn"]=u.$||"";v=t&&t.i&&t.i[c];if(v&&v.h===u.h&&t.p){{tt(t.p)}}}}return d};const tt=t=>{Kt.v|=1;const e=t.closest(s.toLowerCase());if(e!=null){for(const n of Array.from(t.childNodes)){if(n["s-sh"]!=null){e.insertBefore(n,null);n["s-sh"]=undefined;i=true}}}Kt.v&=~1};const et=(t,e)=>{Kt.v|=1;const n=t.childNodes;for(let t=n.length-1;t>=0;t--){const l=n[t];if(l["s-hn"]!==s&&l["s-ol"]){ft(l).insertBefore(l,it(l));l["s-ol"].remove();l["s-ol"]=undefined;l["s-sh"]=undefined;i=true}if(e){et(l,e)}}Kt.v&=~1};const nt=(t,e,n,l,o,i)=>{let f=t["s-cr"]&&t["s-cr"].parentNode||t;let c;if(f.shadowRoot&&f.tagName===s){f=f.shadowRoot}for(;o<=i;++o){if(l[o]){c=Z(null,n,o,t);if(c){l[o].p=c;f.insertBefore(c,it(e))}}}};const st=(t,e,n)=>{for(let s=e;s<=n;++s){const e=t[s];if(e){const t=e.p;$t(e);if(t){{o=true;if(t["s-ol"]){t["s-ol"].remove()}else{et(t,true)}}t.remove()}}}};const lt=(t,e,n,s,l=false)=>{let o=0;let i=0;let f=0;let c=0;let r=e.length-1;let u=e[0];let a=e[r];let d=s.length-1;let $=s[0];let v=s[d];let h;let p;while(o<=r&&i<=d){if(u==null){u=e[++o]}else if(a==null){a=e[--r]}else if($==null){$=s[++i]}else if(v==null){v=s[--d]}else if(ot(u,$,l)){ct(u,$,l);u=e[++o];$=s[++i]}else if(ot(a,v,l)){ct(a,v,l);a=e[--r];v=s[--d]}else if(ot(u,v,l)){if(u.h==="slot"||v.h==="slot"){et(u.p.parentNode,false)}ct(u,v,l);t.insertBefore(u.p,a.p.nextSibling);u=e[++o];v=s[--d]}else if(ot(a,$,l)){if(u.h==="slot"||v.h==="slot"){et(a.p.parentNode,false)}ct(a,$,l);t.insertBefore(a.p,u.p);a=e[--r];$=s[++i]}else{f=-1;{for(c=o;c<=r;++c){if(e[c]&&e[c].u!==null&&e[c].u===$.u){f=c;break}}}if(f>=0){p=e[f];if(p.h!==$.h){h=Z(e&&e[i],n,f,t)}else{ct(p,$,l);e[f]=undefined;h=p.p}$=s[++i]}else{h=Z(e&&e[i],n,i,t);$=s[++i]}if(h){{ft(u.p).insertBefore(h,it(u.p))}}}}if(o>r){nt(t,s[d+1]==null?null:s[d+1].p,n,s,i,d)}else if(i>d){st(e,o,r)}};const ot=(t,e,n=false)=>{if(t.h===e.h){if(t.h==="slot"){return t.$===e.$}if(!n){return t.u===e.u}return true}return false};const it=t=>t&&t["s-ol"]||t;const ft=t=>(t["s-ol"]?t["s-ol"]:t).parentNode;const ct=(t,e,n=false)=>{const s=e.p=t.p;const l=t.i;const o=e.i;const i=e.h;const c=e.l;let r;if(c===null){{f=i==="svg"?true:i==="foreignObject"?false:f}{if(i==="slot");else{Y(t,e,f)}}if(l!==null&&o!==null){lt(s,l,e,o,n)}else if(o!==null){if(t.l!==null){s.textContent=""}nt(s,null,e,o,0,o.length-1)}else if(l!==null){st(l,0,l.length-1)}if(f&&i==="svg"){f=false}}else if(r=s["s-cr"]){r.parentNode.textContent=c}else if(t.l!==c){s.data=c}};const rt=t=>{const e=t.childNodes;for(const t of e){if(t.nodeType===1){if(t["s-sr"]){const n=t["s-sn"];t.hidden=false;for(const s of e){if(s!==t){if(s["s-hn"]!==t["s-hn"]||n!==""){if(s.nodeType===1&&(n===s.getAttribute("slot")||n===s["s-sn"])){t.hidden=true;break}}else{if(s.nodeType===1||s.nodeType===3&&s.textContent.trim()!==""){t.hidden=true;break}}}}}rt(t)}}};const ut=[];const at=t=>{let e;let n;let s;for(const l of t.childNodes){if(l["s-sr"]&&(e=l["s-cr"])&&e.parentNode){n=e.parentNode.childNodes;const t=l["s-sn"];for(s=n.length-1;s>=0;s--){e=n[s];if(!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==l["s-hn"]&&(!e["s-sh"]||e["s-sh"]!==l["s-hn"])){if(dt(e,t)){let n=ut.find((t=>t.I===e));o=true;e["s-sn"]=e["s-sn"]||t;if(n){n.I["s-sh"]=l["s-hn"];n.L=l}else{e["s-sh"]=l["s-hn"];ut.push({L:l,I:e})}if(e["s-sr"]){ut.map((t=>{if(dt(t.I,e["s-sn"])){n=ut.find((t=>t.I===e));if(n&&!t.L){t.L=n.L}}}))}}else if(!ut.some((t=>t.I===e))){ut.push({I:e})}}}}if(l.nodeType===1){at(l)}}};const dt=(t,e)=>{if(t.nodeType===1){if(t.getAttribute("slot")===null&&e===""){return true}if(t.getAttribute("slot")===e){return true}return false}if(t["s-sn"]===e){return true}return e===""};const $t=t=>{{t.o&&t.o.ref&&t.o.ref(null);t.i&&t.i.map($t)}};const vt=(t,f,c=false)=>{var r,u,a,d;const $=t.$hostElement$;const v=t.R;const h=t.m||M(null,null);const p=P(f)?f:C(null,null,f);s=$.tagName;if(c&&p.o){for(const t of Object.keys(p.o)){if($.hasAttribute(t)&&!["key","ref","style","class"].includes(t)){p.o[t]=$[t]}}}p.h=null;p.v|=4;t.m=p;p.p=h.p=$.shadowRoot||$;{e=$["s-sc"]}{n=$["s-cr"];l=(v.v&1)!==0;o=false}ct(h,p,c);{Kt.v|=1;if(i){at(p.p);for(const t of ut){const e=t.I;if(!e["s-ol"]){const t=Gt.createTextNode("");t["s-nr"]=e;e.parentNode.insertBefore(e["s-ol"]=t,e)}}for(const t of ut){const e=t.I;const n=t.L;if(n){const t=n.parentNode;let s=n.nextSibling;if(s&&s.nodeType===1){let n=(r=e["s-ol"])===null||r===void 0?void 0:r.previousSibling;while(n){let l=(u=n["s-nr"])!==null&&u!==void 0?u:null;if(l&&l["s-sn"]===e["s-sn"]&&t===l.parentNode){l=l.nextSibling;if(!l||!l["s-nr"]){s=l;break}}n=n.previousSibling}}if(!s&&t!==e.parentNode||e.nextSibling!==s){if(e!==s){t.insertBefore(e,s);if(e.nodeType===1){e.hidden=(a=e["s-ih"])!==null&&a!==void 0?a:false}}}}else{if(e.nodeType===1){if(c){e["s-ih"]=(d=e.hidden)!==null&&d!==void 0?d:false}e.hidden=true}}}}if(o){rt(p.p)}Kt.v&=~1;ut.length=0}n=undefined};const ht=(t,e)=>{if(e&&!t.T&&e["s-p"]){e["s-p"].push(new Promise((e=>t.T=e)))}};const pt=(t,e)=>{{t.v|=16}if(t.v&4){t.v|=512;return}ht(t,t.U);const n=()=>yt(t,e);return oe(n)};const yt=(t,e)=>{const n=u("scheduleUpdate",t.R.P);const s=t.A;let l;if(e){{l=kt(s,"componentWillLoad")}}{l=mt(l,(()=>kt(s,"componentWillRender")))}n();return mt(l,(()=>wt(t,s,e)))};const mt=(t,e)=>bt(t)?t.then(e):e();const bt=t=>t instanceof Promise||t&&t.then&&typeof t.then==="function";const wt=async(t,e,n)=>{var s;const l=t.$hostElement$;const o=u("update",t.R.P);const i=l["s-rc"];if(n){_(t)}const f=u("render",t.R.P);{gt(t,e,l,n)}if(i){i.map((t=>t()));l["s-rc"]=undefined}f();o();{const e=(s=l["s-p"])!==null&&s!==void 0?s:[];const n=()=>St(t);if(e.length===0){n()}else{Promise.all(e).then(n);t.v|=4;e.length=0}}};const gt=(t,e,n,s)=>{try{e=e.render();{t.v&=~16}{t.v|=2}{{{vt(t,e,s)}}}}catch(e){Ht(e,t.$hostElement$)}return null};const St=t=>{const e=t.R.P;const n=t.$hostElement$;const s=u("postUpdate",e);const l=t.A;const o=t.U;{kt(l,"componentDidRender")}if(!(t.v&64)){t.v|=64;{Ot(n)}{kt(l,"componentDidLoad")}s();{t.N(n);if(!o){jt()}}}else{s()}{t.W(n)}{if(t.T){t.T();t.T=undefined}if(t.v&512){le((()=>pt(t,false)))}t.v&=~(4|512)}};const jt=e=>{{Ot(Gt.documentElement)}le((()=>F(Bt,"appload",{detail:{namespace:t}})))};const kt=(t,e,n)=>{if(t&&t[e]){try{return t[e](n)}catch(t){Ht(t)}}return undefined};const Ot=t=>t.classList.add("hydrated");const xt=(t,e)=>Wt(t).D.get(e);const Ct=(t,e,n,s)=>{const l=Wt(t);const o=l.D.get(e);const i=l.v;const f=l.A;n=N(n,s.F[e][0]);const c=Number.isNaN(o)&&Number.isNaN(n);const r=n!==o&&!c;if((!(i&8)||o===undefined)&&r){l.D.set(e,n);if(f){if((i&(2|16))===2){pt(l,false)}}}};const Mt=(t,e,n)=>{var s;const l=t.prototype;if(e.F){const o=Object.entries(e.F);o.map((([t,[s]])=>{if(s&31||n&2&&s&32){Object.defineProperty(l,t,{get(){return xt(this,t)},set(n){Ct(this,t,n,e)},configurable:true,enumerable:true})}else if(n&1&&s&64){Object.defineProperty(l,t,{value(...e){var n;const s=Wt(this);return(n=s===null||s===void 0?void 0:s.q)===null||n===void 0?void 0:n.then((()=>{var n;return(n=s.A)===null||n===void 0?void 0:n[t](...e)}))}})}}));if(n&1){const n=new Map;l.attributeChangedCallback=function(t,s,o){Kt.jmp((()=>{var i;const f=n.get(t);if(this.hasOwnProperty(f)){o=this[f];delete this[f]}else if(l.hasOwnProperty(f)&&typeof this[f]==="number"&&this[f]==o){return}else if(f==null){const n=Wt(this);const l=n===null||n===void 0?void 0:n.v;if(l&&!(l&8)&&l&128&&o!==s){const l=n.A;const f=(i=e.H)===null||i===void 0?void 0:i[t];f===null||f===void 0?void 0:f.forEach((e=>{if(l[e]!=null){l[e].call(l,o,s,t)}}))}return}this[f]=o===null&&typeof this[f]==="boolean"?false:o}))};t.observedAttributes=Array.from(new Set([...Object.keys((s=e.H)!==null&&s!==void 0?s:{}),...o.filter((([t,e])=>e[0]&15)).map((([t,e])=>{const s=e[1]||t;n.set(s,t);return s}))]))}}return t};const Rt=async(t,e,n,s)=>{let l;if((e.v&32)===0){e.v|=32;{l=_t(n);if(l.then){const t=a();l=await l;t()}if(!l.isProxied){Mt(l,n,2);l.isProxied=true}const t=u("createInstance",n.P);{e.v|=8}try{new l(e)}catch(t){Ht(t)}{e.v&=~8}t()}if(l.style){let t=l.style;const e=z(n);if(!zt.has(e)){const s=u("registerStyles",n.P);H(e,t,!!(n.v&1));s()}}}const o=e.U;const i=()=>pt(e,true);if(o&&o["s-rc"]){o["s-rc"].push(i)}else{i()}};const Pt=t=>{};const Et=t=>{if((Kt.v&1)===0){const e=Wt(t);const n=e.R;const s=u("connectedCallback",n.P);if(!(e.v&1)){e.v|=1;let s;{s=t.getAttribute(p);if(s){if(n.v&1){const e=V(t.shadowRoot,n);t.classList.remove(e+"-h",e+"-s")}T(t,n.P,s,e)}}if(!s){if(n.v&(4|8)){It(t)}}{let n=t;while(n=n.parentNode||n.host){if(n.nodeType===1&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){ht(e,e.U=n);break}}}if(n.F){Object.entries(n.F).map((([e,[n]])=>{if(n&31&&t.hasOwnProperty(e)){const n=t[e];delete t[e];t[e]=n}}))}{Rt(t,e,n)}}else{if(e===null||e===void 0?void 0:e.A);else if(e===null||e===void 0?void 0:e.V){e.V.then((()=>Pt()))}}s()}};const It=t=>{const e=t["s-cr"]=Gt.createComment("");e["s-cn"]=true;t.insertBefore(e,t.firstChild)};const Lt=t=>{};const Tt=async t=>{if((Kt.v&1)===0){const e=Wt(t);if(e===null||e===void 0?void 0:e.A);else if(e===null||e===void 0?void 0:e.V){e.V.then((()=>Lt()))}}};const Ut=(t,e={})=>{var n;const s=u();const l=[];const o=e.exclude||[];const i=Bt.customElements;const f=Gt.head;const c=f.querySelector("meta[charset]");const r=Gt.createElement("style");const a=[];const d=Gt.querySelectorAll(`[${y}]`);let $;let v=true;let h=0;Object.assign(Kt,e);Kt.t=new URL(e.resourcesUrl||"./",Gt.baseURI).href;{Kt.v|=2}{for(;h<d.length;h++){H(d[h].getAttribute(y),B(d[h].innerHTML),true)}}let p=false;t.map((t=>{t[1].map((e=>{const n={v:e[0],P:e[1],F:e[2],_:e[3]};if(n.v&4){p=true}{n.F=e[2]}const s=n.P;const f=class extends HTMLElement{constructor(t){super(t);t=this;Ft(t,n);if(n.v&1){{{t.attachShadow({mode:"open"})}}}}connectedCallback(){if($){clearTimeout($);$=null}if(v){a.push(this)}else{Kt.jmp((()=>Et(this)))}}disconnectedCallback(){Kt.jmp((()=>Tt(this)))}componentOnReady(){return Wt(this).V}};n.B=t[0];if(!o.includes(s)&&!i.get(s)){l.push(s);i.define(s,Mt(f,n,1))}}))}));if(p){r.innerHTML+=w}{r.innerHTML+=l+b}if(r.innerHTML.length){r.setAttribute("data-styles","");const t=(n=Kt.M)!==null&&n!==void 0?n:x(Gt);if(t!=null){r.setAttribute("nonce",t)}f.insertBefore(r,c?c.nextSibling:f.firstChild)}v=false;if(a.length){a.map((t=>t.connectedCallback()))}else{{Kt.jmp((()=>$=setTimeout(jt,30)))}}s()};const At=t=>Kt.M=t;const Nt=new WeakMap;const Wt=t=>Nt.get(t);const Dt=(t,e)=>Nt.set(e.A=t,e);const Ft=(t,e)=>{const n={v:0,$hostElement$:t,R:e,D:new Map};{n.q=new Promise((t=>n.W=t))}{n.V=new Promise((t=>n.N=t));t["s-p"]=[];t["s-rc"]=[]}return Nt.set(t,n)};const qt=(t,e)=>e in t;const Ht=(t,e)=>(0,console.error)(t,e);const Vt=new Map;const _t=(t,e,n)=>{const s=t.P.replace(/-/g,"_");const l=t.B;const o=Vt.get(l);if(o){return o[s]}
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${l}.entry.js${""}`).then((t=>{{Vt.set(l,t)}return t[s]}),Ht)};const zt=new Map;const Bt=typeof window!=="undefined"?window:{};const Gt=Bt.document||{head:{}};const Jt=Bt.HTMLElement||class{};const Kt={v:0,t:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,s)=>t.addEventListener(e,n,s),rel:(t,e,n,s)=>t.removeEventListener(e,n,s),ce:(t,e)=>new CustomEvent(t,e)};const Qt=true;const Xt=t=>Promise.resolve(t);const Yt=(()=>{try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(t){}return false})();const Zt=[];const te=[];const ee=(t,e)=>n=>{t.push(n);if(!c){c=true;if(e&&Kt.v&4){le(se)}else{Kt.raf(se)}}};const ne=t=>{for(let e=0;e<t.length;e++){try{t[e](performance.now())}catch(t){Ht(t)}}t.length=0};const se=()=>{ne(Zt);{ne(te);if(c=Zt.length>0){Kt.raf(se)}}};const le=t=>Xt().then(t);const oe=ee(te,true);export{Jt as H,r as a,Ut as b,D as c,R as d,W as g,C as h,Xt as p,Dt as r,At as s};
|
|
3
|
-
//# sourceMappingURL=p-90a8c144.js.map
|