@everymatrix/general-styling-wrapper 1.55.0 → 1.56.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.
- package/dist/cjs/general-styling-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/general-styling-wrapper.cjs.js +2 -2
- package/dist/cjs/{index-d32e7de6.js → index-0608126f.js} +5 -57
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/esm/general-styling-wrapper.entry.js +1 -1
- package/dist/esm/general-styling-wrapper.js +3 -3
- package/dist/esm/{index-1d219aa0.js → index-5d1b44a7.js} +5 -57
- package/dist/esm/loader.js +2 -2
- package/dist/general-styling-wrapper/general-styling-wrapper.esm.js +1 -1
- package/dist/general-styling-wrapper/p-8f5d4d70.js +2 -0
- package/dist/general-styling-wrapper/{p-ac93b3a6.entry.js → p-cbc56d10.entry.js} +1 -1
- package/dist/types/stencil-public-runtime.d.ts +0 -6
- package/package.json +1 -1
- package/dist/general-styling-wrapper/p-0dd4160b.js +0 -2
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-0608126f.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
|
-
Stencil Client Patch Browser v4.
|
|
9
|
+
Stencil Client Patch Browser v4.19.2 | MIT Licensed | https://stenciljs.com
|
|
10
10
|
*/
|
|
11
11
|
var patchBrowser = () => {
|
|
12
12
|
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('general-styling-wrapper.cjs.js', document.baseURI).href));
|
|
@@ -24,7 +24,7 @@ const NAMESPACE = 'general-styling-wrapper';
|
|
|
24
24
|
const BUILD = /* general-styling-wrapper */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: false, propMutable: false, propNumber: false, propString: true, reflect: false, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: false, slot: true, slotChildNodesFix: false, slotRelocation: true, state: false, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: false, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: false, vdomXlink: false, watchCallback: false };
|
|
25
25
|
|
|
26
26
|
/*
|
|
27
|
-
Stencil Client Platform v4.
|
|
27
|
+
Stencil Client Platform v4.19.2 | MIT Licensed | https://stenciljs.com
|
|
28
28
|
*/
|
|
29
29
|
var __defProp = Object.defineProperty;
|
|
30
30
|
var __export = (target, all) => {
|
|
@@ -154,9 +154,6 @@ var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
|
|
|
154
154
|
|
|
155
155
|
// src/utils/constants.ts
|
|
156
156
|
var EMPTY_OBJ = {};
|
|
157
|
-
|
|
158
|
-
// src/utils/helpers.ts
|
|
159
|
-
var isDef = (v) => v != null;
|
|
160
157
|
var isComplexType = (o) => {
|
|
161
158
|
o = typeof o;
|
|
162
159
|
return o === "object" || o === "function";
|
|
@@ -355,31 +352,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
355
352
|
if (nonce != null) {
|
|
356
353
|
styleElm.setAttribute("nonce", nonce);
|
|
357
354
|
}
|
|
358
|
-
|
|
359
|
-
if (styleContainerNode.nodeName === "HEAD") {
|
|
360
|
-
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
361
|
-
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
362
|
-
styleContainerNode.insertBefore(styleElm, referenceNode2);
|
|
363
|
-
} else if ("host" in styleContainerNode) {
|
|
364
|
-
if (supportsConstructableStylesheets) {
|
|
365
|
-
const stylesheet = new CSSStyleSheet();
|
|
366
|
-
stylesheet.replaceSync(style);
|
|
367
|
-
styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
|
|
368
|
-
} else {
|
|
369
|
-
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
370
|
-
if (existingStyleContainer) {
|
|
371
|
-
existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
|
|
372
|
-
} else {
|
|
373
|
-
styleContainerNode.prepend(styleElm);
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
} else {
|
|
377
|
-
styleContainerNode.append(styleElm);
|
|
378
|
-
}
|
|
379
|
-
}
|
|
380
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
|
|
381
|
-
styleContainerNode.insertBefore(styleElm, null);
|
|
382
|
-
}
|
|
355
|
+
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
|
|
383
356
|
}
|
|
384
357
|
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
385
358
|
styleElm.innerHTML += SLOT_FB_CSS;
|
|
@@ -423,11 +396,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
423
396
|
if (memberName === "list") {
|
|
424
397
|
isProp = false;
|
|
425
398
|
} else if (oldValue == null || elm[memberName] != n) {
|
|
426
|
-
|
|
427
|
-
elm[memberName] = n;
|
|
428
|
-
} else {
|
|
429
|
-
elm.setAttribute(memberName, n);
|
|
430
|
-
}
|
|
399
|
+
elm[memberName] = n;
|
|
431
400
|
}
|
|
432
401
|
} else {
|
|
433
402
|
elm[memberName] = newValue;
|
|
@@ -478,9 +447,6 @@ function sortedAttrNames(attrNames) {
|
|
|
478
447
|
attrNames
|
|
479
448
|
);
|
|
480
449
|
}
|
|
481
|
-
|
|
482
|
-
// src/runtime/vdom/vdom-render.ts
|
|
483
|
-
var scopeId;
|
|
484
450
|
var contentRef;
|
|
485
451
|
var hostTagName;
|
|
486
452
|
var useNativeShadowDom = false;
|
|
@@ -518,11 +484,6 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
518
484
|
{
|
|
519
485
|
updateElement(null, newVNode2, isSvgMode);
|
|
520
486
|
}
|
|
521
|
-
const rootNode = elm.getRootNode();
|
|
522
|
-
const isElementWithinShadowRoot = !rootNode.querySelector("body");
|
|
523
|
-
if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
|
|
524
|
-
elm.classList.add(elm["s-si"] = scopeId);
|
|
525
|
-
}
|
|
526
487
|
if (newVNode2.$children$) {
|
|
527
488
|
for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
|
|
528
489
|
childNode = createElm(oldParentVNode, newVNode2, i2);
|
|
@@ -700,15 +661,6 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
|
|
|
700
661
|
var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
|
|
701
662
|
if (leftVNode.$tag$ === rightVNode.$tag$) {
|
|
702
663
|
if (leftVNode.$tag$ === "slot") {
|
|
703
|
-
if (
|
|
704
|
-
// The component gets hydrated and no VDOM has been initialized.
|
|
705
|
-
// Here the comparison can't happen as $name$ property is not set for `leftNode`.
|
|
706
|
-
"$nodeId$" in leftVNode && isInitialRender && // `leftNode` is not from type HTMLComment which would cause many
|
|
707
|
-
// hydration comments to be removed
|
|
708
|
-
leftVNode.$elm$.nodeType !== 8
|
|
709
|
-
) {
|
|
710
|
-
return false;
|
|
711
|
-
}
|
|
712
664
|
return leftVNode.$name$ === rightVNode.$name$;
|
|
713
665
|
}
|
|
714
666
|
if (!isInitialRender) {
|
|
@@ -737,10 +689,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
|
737
689
|
updateChildren(elm, oldChildren, newVNode2, newChildren, isInitialRender);
|
|
738
690
|
} else if (newChildren !== null) {
|
|
739
691
|
addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
|
|
740
|
-
} else if (
|
|
741
|
-
// don't do this on initial render as it can cause non-hydrated content to be removed
|
|
742
|
-
!isInitialRender && BUILD.updatable && oldChildren !== null
|
|
743
|
-
) {
|
|
692
|
+
} else if (oldChildren !== null) {
|
|
744
693
|
removeVnodes(oldChildren, 0, oldChildren.length - 1);
|
|
745
694
|
}
|
|
746
695
|
}
|
|
@@ -1131,8 +1080,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1131
1080
|
if (this.hasOwnProperty(propName)) {
|
|
1132
1081
|
newValue = this[propName];
|
|
1133
1082
|
delete this[propName];
|
|
1134
|
-
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" &&
|
|
1135
|
-
this[propName] == newValue) {
|
|
1083
|
+
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && this[propName] == newValue) {
|
|
1136
1084
|
return;
|
|
1137
1085
|
} else if (propName == null) {
|
|
1138
1086
|
const hostRef = getHostRef(this);
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-0608126f.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
const defineCustomElements = async (win, options) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-5d1b44a7.js';
|
|
2
|
+
export { s as setNonce } from './index-5d1b44a7.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v4.
|
|
6
|
+
Stencil Client Patch Browser v4.19.2 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
var patchBrowser = () => {
|
|
9
9
|
const importMeta = import.meta.url;
|
|
@@ -2,7 +2,7 @@ const NAMESPACE = 'general-styling-wrapper';
|
|
|
2
2
|
const BUILD = /* general-styling-wrapper */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: false, propMutable: false, propNumber: false, propString: true, reflect: false, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: false, slot: true, slotChildNodesFix: false, slotRelocation: true, state: false, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: false, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: false, vdomXlink: false, watchCallback: false };
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Platform v4.
|
|
5
|
+
Stencil Client Platform v4.19.2 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
var __defProp = Object.defineProperty;
|
|
8
8
|
var __export = (target, all) => {
|
|
@@ -132,9 +132,6 @@ var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
|
|
|
132
132
|
|
|
133
133
|
// src/utils/constants.ts
|
|
134
134
|
var EMPTY_OBJ = {};
|
|
135
|
-
|
|
136
|
-
// src/utils/helpers.ts
|
|
137
|
-
var isDef = (v) => v != null;
|
|
138
135
|
var isComplexType = (o) => {
|
|
139
136
|
o = typeof o;
|
|
140
137
|
return o === "object" || o === "function";
|
|
@@ -333,31 +330,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
333
330
|
if (nonce != null) {
|
|
334
331
|
styleElm.setAttribute("nonce", nonce);
|
|
335
332
|
}
|
|
336
|
-
|
|
337
|
-
if (styleContainerNode.nodeName === "HEAD") {
|
|
338
|
-
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
339
|
-
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
340
|
-
styleContainerNode.insertBefore(styleElm, referenceNode2);
|
|
341
|
-
} else if ("host" in styleContainerNode) {
|
|
342
|
-
if (supportsConstructableStylesheets) {
|
|
343
|
-
const stylesheet = new CSSStyleSheet();
|
|
344
|
-
stylesheet.replaceSync(style);
|
|
345
|
-
styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
|
|
346
|
-
} else {
|
|
347
|
-
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
348
|
-
if (existingStyleContainer) {
|
|
349
|
-
existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
|
|
350
|
-
} else {
|
|
351
|
-
styleContainerNode.prepend(styleElm);
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
} else {
|
|
355
|
-
styleContainerNode.append(styleElm);
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
|
|
359
|
-
styleContainerNode.insertBefore(styleElm, null);
|
|
360
|
-
}
|
|
333
|
+
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
|
|
361
334
|
}
|
|
362
335
|
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
363
336
|
styleElm.innerHTML += SLOT_FB_CSS;
|
|
@@ -401,11 +374,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
401
374
|
if (memberName === "list") {
|
|
402
375
|
isProp = false;
|
|
403
376
|
} else if (oldValue == null || elm[memberName] != n) {
|
|
404
|
-
|
|
405
|
-
elm[memberName] = n;
|
|
406
|
-
} else {
|
|
407
|
-
elm.setAttribute(memberName, n);
|
|
408
|
-
}
|
|
377
|
+
elm[memberName] = n;
|
|
409
378
|
}
|
|
410
379
|
} else {
|
|
411
380
|
elm[memberName] = newValue;
|
|
@@ -456,9 +425,6 @@ function sortedAttrNames(attrNames) {
|
|
|
456
425
|
attrNames
|
|
457
426
|
);
|
|
458
427
|
}
|
|
459
|
-
|
|
460
|
-
// src/runtime/vdom/vdom-render.ts
|
|
461
|
-
var scopeId;
|
|
462
428
|
var contentRef;
|
|
463
429
|
var hostTagName;
|
|
464
430
|
var useNativeShadowDom = false;
|
|
@@ -496,11 +462,6 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
496
462
|
{
|
|
497
463
|
updateElement(null, newVNode2, isSvgMode);
|
|
498
464
|
}
|
|
499
|
-
const rootNode = elm.getRootNode();
|
|
500
|
-
const isElementWithinShadowRoot = !rootNode.querySelector("body");
|
|
501
|
-
if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
|
|
502
|
-
elm.classList.add(elm["s-si"] = scopeId);
|
|
503
|
-
}
|
|
504
465
|
if (newVNode2.$children$) {
|
|
505
466
|
for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
|
|
506
467
|
childNode = createElm(oldParentVNode, newVNode2, i2);
|
|
@@ -678,15 +639,6 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
|
|
|
678
639
|
var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
|
|
679
640
|
if (leftVNode.$tag$ === rightVNode.$tag$) {
|
|
680
641
|
if (leftVNode.$tag$ === "slot") {
|
|
681
|
-
if (
|
|
682
|
-
// The component gets hydrated and no VDOM has been initialized.
|
|
683
|
-
// Here the comparison can't happen as $name$ property is not set for `leftNode`.
|
|
684
|
-
"$nodeId$" in leftVNode && isInitialRender && // `leftNode` is not from type HTMLComment which would cause many
|
|
685
|
-
// hydration comments to be removed
|
|
686
|
-
leftVNode.$elm$.nodeType !== 8
|
|
687
|
-
) {
|
|
688
|
-
return false;
|
|
689
|
-
}
|
|
690
642
|
return leftVNode.$name$ === rightVNode.$name$;
|
|
691
643
|
}
|
|
692
644
|
if (!isInitialRender) {
|
|
@@ -715,10 +667,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
|
715
667
|
updateChildren(elm, oldChildren, newVNode2, newChildren, isInitialRender);
|
|
716
668
|
} else if (newChildren !== null) {
|
|
717
669
|
addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
|
|
718
|
-
} else if (
|
|
719
|
-
// don't do this on initial render as it can cause non-hydrated content to be removed
|
|
720
|
-
!isInitialRender && BUILD.updatable && oldChildren !== null
|
|
721
|
-
) {
|
|
670
|
+
} else if (oldChildren !== null) {
|
|
722
671
|
removeVnodes(oldChildren, 0, oldChildren.length - 1);
|
|
723
672
|
}
|
|
724
673
|
}
|
|
@@ -1109,8 +1058,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1109
1058
|
if (this.hasOwnProperty(propName)) {
|
|
1110
1059
|
newValue = this[propName];
|
|
1111
1060
|
delete this[propName];
|
|
1112
|
-
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" &&
|
|
1113
|
-
this[propName] == newValue) {
|
|
1061
|
+
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && this[propName] == newValue) {
|
|
1114
1062
|
return;
|
|
1115
1063
|
} else if (propName == null) {
|
|
1116
1064
|
const hostRef = getHostRef(this);
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { b as bootstrapLazy } from './index-5d1b44a7.js';
|
|
2
|
+
export { s as setNonce } from './index-5d1b44a7.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,b as n}from"./p-
|
|
1
|
+
import{p as t,b as n}from"./p-8f5d4d70.js";export{s as setNonce}from"./p-8f5d4d70.js";import{g as r}from"./p-e1255160.js";(()=>{const n=import.meta.url,r={};return""!==n&&(r.resourcesUrl=new URL(".",n).href),t(r)})().then((async t=>(await r(),n([["p-cbc56d10",[[4,"general-styling-wrapper",{clientStyling:[1,"client-styling"],clientStylingUrl:[1,"client-styling-url"],translationUrl:[1,"translation-url"],targetTranslations:[16]}]]]],t))));
|
|
@@ -0,0 +1,2 @@
|
|
|
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="undefined"!=typeof window?window:{},f=c.document||{head:{}},u={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)},a=t=>Promise.resolve(t),d=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),h=!1,m=[],p=[],y=(t,e)=>n=>{t.push(n),h||(h=!0,e&&4&u.l?b(v):u.raf(v))},$=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){o(t)}t.length=0},v=()=>{$(m),$(p),(h=m.length>0)&&u.raf(v)},b=t=>a().then(t),w=y(p,!0),g={},S=t=>"object"==(t=typeof t)||"function"===t;function k(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:()=>O,map:()=>E,ok:()=>j,unwrap:()=>P,unwrapErr:()=>R});var j=t=>({isOk:!0,isErr:!1,value:t}),O=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=>j(t))):j(n)}if(t.isErr)return O(t.value);throw"should never get here"}var C,M,P=t=>{if(t.isOk)return t.value;throw t.value},R=t=>{if(t.isErr)return t.value;throw t.value},T=(t,e,...n)=>{let l=null,o=null,s=null,i=!1,r=!1;const c=[],f=e=>{for(let n=0;n<e.length;n++)l=e[n],Array.isArray(l)?f(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof t&&!S(l))&&(l+=""),i&&r?c[c.length-1].i+=l:c.push(i?x(null,l):l),r=i)};if(f(n),e){e.key&&(o=e.key),e.name&&(s=e.name);{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,c.length>0&&(u.h=c),u.m=o,u.p=s,u},x=(t,e)=>({l:0,$:t,i:e,v:null,h:null,u:null,m:null,p:null}),A={},N=t=>n(t).$hostElement$,L=new WeakMap,W=t=>"sc-"+t.S,D=(t,e,n,l,o,s)=>{if(n!==l){let i=((t,e)=>e in t)(t,e);if(e.toLowerCase(),"class"===e){const e=t.classList,o=H(n),s=H(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 r=S(l);if((i||r&&null!==l)&&!o)try{if(t.tagName.includes("-"))t[e]=l;else{const o=null==l?"":l;"list"===e?i=!1:null!=n&&t[e]==o||(t[e]=o)}}catch(t){}null==l||!1===l?!1===l&&""!==t.getAttribute(e)||t.removeAttribute(e):(!i||4&s||o)&&!r&&t.setAttribute(e,l=!0===l?"":l)}}},F=/\s/,H=t=>t?t.split(F):[],U=(t,e,n)=>{const l=11===e.v.nodeType&&e.v.host?e.v.host:e.v,o=t&&t.u||g,s=e.u||g;for(const t of q(Object.keys(o)))t in s||D(l,t,o[t],void 0,n,e.l);for(const t of q(Object.keys(s)))D(l,t,o[t],s[t],n,e.l)};function q(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var G=!1,V=!1,_=!1,z=!1,B=(t,e,n)=>{var l;const o=e.h[n];let s,i,r,c=0;if(G||(_=!0,"slot"===o.$&&(o.l|=o.h?2:1)),1&o.l)s=o.v=f.createTextNode("");else if(s=o.v=f.createElement(!G&&2&o.l?"slot-fb":o.$),U(null,o,z),o.h)for(c=0;c<o.h.length;++c)i=B(t,o,c),i&&s.appendChild(i);return s["s-hn"]=M,3&o.l&&(s["s-sr"]=!0,s["s-cr"]=C,s["s-sn"]=o.p||"",s["s-rf"]=null==(l=o.u)?void 0:l.ref,r=t&&t.h&&t.h[n],r&&r.$===o.$&&t.v&&I(t.v,!1)),s},I=(t,e)=>{u.l|=1;const n=Array.from(t.childNodes);for(let t=n.length-1;t>=0;t--){const l=n[t];l["s-hn"]!==M&&l["s-ol"]&&(ot(Y(l),l,X(l)),l["s-ol"].remove(),l["s-ol"]=void 0,l["s-sh"]=void 0,_=!0),e&&I(l,e)}u.l&=-2},J=(t,e,n,l,o,s)=>{let i,r=t["s-cr"]&&t["s-cr"].parentNode||t;for(;o<=s;++o)l[o]&&(i=B(null,n,o),i&&(l[o].v=i,ot(r,i,X(e))))},K=(t,e,n)=>{for(let l=e;l<=n;++l){const e=t[l];if(e){const t=e.v;t&&(V=!0,t["s-ol"]?t["s-ol"].remove():I(t,!0),t.remove())}}},Q=(t,e,n=!1)=>t.$===e.$&&("slot"===t.$?t.p===e.p:!!n||t.m===e.m),X=t=>t&&t["s-ol"]||t,Y=t=>(t["s-ol"]?t["s-ol"]:t).parentNode,Z=(t,e,n=!1)=>{const l=e.v=t.v,o=t.h,s=e.h;("slot"!==e.$||G)&&U(t,e,z),null!==o&&null!==s?((t,e,n,l,o=!1)=>{let s,i,r=0,c=0,f=0,u=0,a=e.length-1,d=e[0],h=e[a],m=l.length-1,p=l[0],y=l[m];for(;r<=a&&c<=m;)if(null==d)d=e[++r];else if(null==h)h=e[--a];else if(null==p)p=l[++c];else if(null==y)y=l[--m];else if(Q(d,p,o))Z(d,p,o),d=e[++r],p=l[++c];else if(Q(h,y,o))Z(h,y,o),h=e[--a],y=l[--m];else if(Q(d,y,o))"slot"!==d.$&&"slot"!==y.$||I(d.v.parentNode,!1),Z(d,y,o),ot(t,d.v,h.v.nextSibling),d=e[++r],y=l[--m];else if(Q(h,p,o))"slot"!==d.$&&"slot"!==y.$||I(h.v.parentNode,!1),Z(h,p,o),ot(t,h.v,d.v),h=e[--a],p=l[++c];else{for(f=-1,u=r;u<=a;++u)if(e[u]&&null!==e[u].m&&e[u].m===p.m){f=u;break}f>=0?(i=e[f],i.$!==p.$?s=B(e&&e[c],n,f):(Z(i,p,o),e[f]=void 0,s=i.v),p=l[++c]):(s=B(e&&e[c],n,c),p=l[++c]),s&&ot(Y(d.v),s,X(d.v))}r>a?J(t,null==l[m+1]?null:l[m+1].v,n,l,c,m):c>m&&K(e,r,a)})(l,o,e,s,n):null!==s?J(l,null,e,s,0,s.length-1):null!==o&&K(o,0,o.length-1)},tt=t=>{const e=t.childNodes;for(const t of e)if(1===t.nodeType){if(t["s-sr"]){const n=t["s-sn"];t.hidden=!1;for(const l of e)if(l!==t)if(l["s-hn"]!==t["s-hn"]||""!==n){if(1===l.nodeType&&(n===l.getAttribute("slot")||n===l["s-sn"])||3===l.nodeType&&n===l["s-sn"]){t.hidden=!0;break}}else if(1===l.nodeType||3===l.nodeType&&""!==l.textContent.trim()){t.hidden=!0;break}}tt(t)}},et=[],nt=t=>{let e,n,l;for(const o of t.childNodes){if(o["s-sr"]&&(e=o["s-cr"])&&e.parentNode){n=e.parentNode.childNodes;const t=o["s-sn"];for(l=n.length-1;l>=0;l--)if(e=n[l],!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==o["s-hn"])if(lt(e,t)){let n=et.find((t=>t.k===e));V=!0,e["s-sn"]=e["s-sn"]||t,n?(n.k["s-sh"]=o["s-hn"],n.j=o):(e["s-sh"]=o["s-hn"],et.push({j:o,k:e})),e["s-sr"]&&et.map((t=>{lt(t.k,e["s-sn"])&&(n=et.find((t=>t.k===e)),n&&!t.j&&(t.j=n.j))}))}else et.some((t=>t.k===e))||et.push({k:e})}1===o.nodeType&&nt(o)}},lt=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,ot=(t,e,n)=>null==t?void 0:t.insertBefore(e,n),st=(t,e)=>{e&&!t.O&&e["s-p"]&&e["s-p"].push(new Promise((e=>t.O=e)))},it=(t,e)=>{if(t.l|=16,!(4&t.l))return st(t,t.C),w((()=>rt(t,e)));t.l|=512},rt=(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`);let l;return e&&(l=mt(n,"componentWillLoad")),ct(l,(()=>ut(t,n,e)))},ct=(t,e)=>ft(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),ft=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,ut=async(t,e,n)=>{var l;const o=t.$hostElement$,s=o["s-rc"];n&&(t=>{const e=t.M;((t,e)=>{var n;const l=W(e),o=i.get(l);if(t=11===t.nodeType?t:f,o)if("string"==typeof o){let s,i=L.get(t=t.head||t);if(i||L.set(t,i=new Set),!i.has(l)){{s=f.createElement("style"),s.innerHTML=o;const e=null!=(n=u.P)?n:k(f);null!=e&&s.setAttribute("nonce",e),t.insertBefore(s,t.querySelector("link"))}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);at(t,e,o,n),s&&(s.map((t=>t())),o["s-rc"]=void 0);{const e=null!=(l=o["s-p"])?l:[],n=()=>dt(t);0===e.length?n():(Promise.all(e).then(n),t.l|=4,e.length=0)}},at=(t,e,n,l)=>{try{e=e.render(),t.l&=-17,t.l|=2,((t,e,n=!1)=>{var l,o,s,i;const r=t.$hostElement$,c=t.R||x(null,null),a=(t=>t&&t.$===A)(e)?e:T(null,null,e);if(M=r.tagName,n&&a.u)for(const t of Object.keys(a.u))r.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(a.u[t]=r[t]);if(a.$=null,a.l|=4,t.R=a,a.v=c.v=r,G=!1,C=r["s-cr"],V=!1,Z(c,a,n),u.l|=1,_){nt(a.v);for(const t of et){const e=t.k;if(!e["s-ol"]){const t=f.createTextNode("");t["s-nr"]=e,ot(e.parentNode,e["s-ol"]=t,e)}}for(const t of et){const e=t.k,r=t.j;if(r){const t=r.parentNode;let n=r.nextSibling;{let s=null==(l=e["s-ol"])?void 0:l.previousSibling;for(;s;){let l=null!=(o=s["s-nr"])?o:null;if(l&&l["s-sn"]===e["s-sn"]&&t===l.parentNode){for(l=l.nextSibling;l===e||(null==l?void 0:l["s-sr"]);)l=null==l?void 0:l.nextSibling;if(!l||!l["s-nr"]){n=l;break}}s=s.previousSibling}}(!n&&t!==e.parentNode||e.nextSibling!==n)&&e!==n&&(!e["s-hn"]&&e["s-ol"]&&(e["s-hn"]=e["s-ol"].parentNode.nodeName),ot(t,e,n),1===e.nodeType&&(e.hidden=null!=(s=e["s-ih"])&&s)),e&&"function"==typeof r["s-rf"]&&r["s-rf"](e)}else 1===e.nodeType&&(n&&(e["s-ih"]=null!=(i=e.hidden)&&i),e.hidden=!0)}}V&&tt(a.v),u.l&=-2,et.length=0,C=void 0})(t,e,l)}catch(e){o(e,t.$hostElement$)}return null},dt=t=>{const e=t.$hostElement$,n=t.C;mt(t.t,"componentDidRender"),64&t.l||(t.l|=64,pt(e),t.T(e),n||ht()),t.O&&(t.O(),t.O=void 0),512&t.l&&b((()=>it(t,!1))),t.l&=-517},ht=()=>{pt(f.documentElement),b((()=>(t=>{const e=u.ce("appload",{detail:{namespace:"general-styling-wrapper"}});return t.dispatchEvent(e),e})(c)))},mt=(t,e,n)=>{if(t&&t[e])try{return t[e](n)}catch(t){o(t)}},pt=t=>t.classList.add("hydrated"),yt=(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]])=>{(31&o||2&l&&32&o)&&Object.defineProperty(i,t,{get(){return((t,e)=>n(this).N.get(e))(0,t)},set(l){((t,e,l,o)=>{const s=n(t);if(!s)throw Error(`Couldn't find host element for "${o.S}" 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.N.get(e),r=s.l,c=s.t;l=((t,e)=>null==t||S(t)?t:1&e?t+"":t)(l,o.A[e][0]),8&r&&void 0!==i||l===i||Number.isNaN(i)&&Number.isNaN(l)||(s.N.set(e,l),c&&2==(18&r)&&it(s,!1))})(this,t,l,e)},configurable:!0,enumerable:!0})})),1&l){const l=new Map;i.attributeChangedCallback=function(t,o,s){u.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.L)?void 0:r[t];null==i||i.forEach((e=>{null!=n[e]&&n[e].call(n,s,o,t)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=e.L)?s:{}),...r.filter((([t,e])=>15&e[0])).map((([t,e])=>{const n=e[1]||t;return l.set(n,t),n}))]))}}return t},$t=(t,l={})=>{var a;const h=[],m=l.exclude||[],p=c.customElements,y=f.head,$=y.querySelector("meta[charset]"),v=f.createElement("style"),b=[];let w,g=!0;Object.assign(u,l),u.o=new URL(l.resourcesUrl||"./",f.baseURI).href;let S=!1;if(t.map((t=>{t[1].map((l=>{const r={l:l[0],S:l[1],A:l[2],W:l[3]};4&r.l&&(S=!0),r.A=l[2];const c=r.S,a=class extends HTMLElement{constructor(t){super(t),this.hasRegisteredEventListeners=!1,((t,n)=>{const l={l:0,$hostElement$:t,M:n,N:new Map};l.D=new Promise((t=>l.T=t)),t["s-p"]=[],t["s-rc"]=[],e.set(t,l)})(t=this,r)}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),w&&(clearTimeout(w),w=null),g?b.push(this):u.jmp((()=>(t=>{if(!(1&u.l)){const e=n(t),l=e.M,r=()=>{};if(1&e.l)(null==e?void 0:e.t)||(null==e?void 0:e.D)&&e.D.then((()=>{}));else{e.l|=1,12&l.l&&(t=>{const e=t["s-cr"]=f.createComment("");e["s-cn"]=!0,ot(t,e,t.firstChild)})(t);{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){st(e,e.C=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.F){const t=(t=>{const e=t.S.replace(/-/g,"_"),n=t.F;if(!n)return;const l=s.get(n);return l?l[e]:import(`./${n}.entry.js`).then((t=>(s.set(n,t),t[e])),o)
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(t&&"then"in t){const e=()=>{};l=await t,e()}else l=t;if(!l)throw Error(`Constructor for "${n.S}#${e.H}" was not found`);l.isProxied||(yt(l,n,2),l.isProxied=!0);const i=()=>{};e.l|=8;try{new l(e)}catch(t){o(t)}e.l&=-9,i()}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=W(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.C,c=()=>it(e,!0);r&&r["s-rc"]?r["s-rc"].push(c):c()})(t,e,l)}r()}})(this)))}disconnectedCallback(){u.jmp((()=>(async()=>{if(!(1&u.l)){const t=n(this);(null==t?void 0:t.t)||(null==t?void 0:t.D)&&t.D.then((()=>{}))}})()))}componentOnReady(){return n(this).D}};r.F=t[0],m.includes(c)||p.get(c)||(h.push(c),p.define(c,yt(a,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!=(a=u.P)?a:k(f);null!=t&&v.setAttribute("nonce",t),y.insertBefore(v,$?$.nextSibling:y.firstChild)}g=!1,b.length?b.map((t=>t.connectedCallback())):u.jmp((()=>w=setTimeout(ht,30)))},vt=t=>u.P=t;export{$t as b,N as g,T as h,a as p,l as r,vt as s}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as s,g as e}from"./p-
|
|
1
|
+
import{r as t,h as s,g as e}from"./p-8f5d4d70.js";const i=class{constructor(s){t(this,s),this.stylingAppends=!1,this.setClientStyling=()=>{let t=document.createElement("style");t.innerHTML=this.clientStyling,this.el.prepend(t)},this.setClientStylingURL=()=>{let t=new URL(this.clientStylingUrl),s=document.createElement("style");fetch(t.href).then((t=>t.text())).then((t=>{s.innerHTML=t,setTimeout((()=>{this.el.prepend(s)}),1)})).catch((t=>{console.log("error ",t)}))},this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.targetTranslations=void 0}componentDidRender(){this.stylingAppends||(this.clientStyling&&this.setClientStyling(),this.clientStylingUrl&&this.setClientStylingURL(),this.stylingAppends=!0)}async componentWillLoad(){const t=[];if(this.translationUrl){const i=(s=this.translationUrl,e=this.targetTranslations,new Promise((t=>{fetch(s).then((t=>t.json())).then((s=>{Object.keys(s).forEach((t=>{e[t]=e[t]?e[t]:{};for(let i in s[t])e[t][i]=s[t][i]})),t(!0)}))})));t.push(i)}var s,e;return await Promise.all(t)}render(){return s("div",{key:"4d3414408c7662f88331dbe655966237f74d6958",class:"StyleShell"},s("slot",{key:"1d004644d84602c4314bdf5dfc26b55b160f57df",name:"mainContent"}))}get el(){return e(this)}};i.style=":host{display:block}";export{i as general_styling_wrapper}
|
|
@@ -1015,8 +1015,6 @@ export declare namespace JSXBase {
|
|
|
1015
1015
|
autoPlay?: boolean;
|
|
1016
1016
|
autoplay?: boolean | string;
|
|
1017
1017
|
controls?: boolean;
|
|
1018
|
-
controlslist?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
|
|
1019
|
-
controlsList?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
|
|
1020
1018
|
crossOrigin?: string;
|
|
1021
1019
|
crossorigin?: string;
|
|
1022
1020
|
loop?: boolean;
|
|
@@ -1566,10 +1564,6 @@ export declare namespace JSXBase {
|
|
|
1566
1564
|
onSubmitCapture?: (event: Event) => void;
|
|
1567
1565
|
onInvalid?: (event: Event) => void;
|
|
1568
1566
|
onInvalidCapture?: (event: Event) => void;
|
|
1569
|
-
onBeforeToggle?: (event: Event) => void;
|
|
1570
|
-
onBeforeToggleCapture?: (event: Event) => void;
|
|
1571
|
-
onToggle?: (event: Event) => void;
|
|
1572
|
-
onToggleCapture?: (event: Event) => void;
|
|
1573
1567
|
onLoad?: (event: Event) => void;
|
|
1574
1568
|
onLoadCapture?: (event: Event) => void;
|
|
1575
1569
|
onError?: (event: Event) => void;
|
package/package.json
CHANGED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var e=Object.defineProperty,t=new WeakMap,n=e=>t.get(e),l=(e,n)=>t.set(n.t=e,n),o=(e,t)=>(0,console.error)(e,t),s=new Map,i=new Map,r="slot-fb{display:contents}slot-fb[hidden]{display:none}",c="undefined"!=typeof window?window:{},f=c.document||{head:{}},u={l:0,o:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},a=e=>Promise.resolve(e),d=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),h=!1,m=[],p=[],y=(e,t)=>n=>{e.push(n),h||(h=!0,t&&4&u.l?b(v):u.raf(v))},$=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){o(e)}e.length=0},v=()=>{$(m),$(p),(h=m.length>0)&&u.raf(v)},b=e=>a().then(e),w=y(p,!0),S={},g=e=>"object"==(e=typeof e)||"function"===e;function k(e){var t,n,l;return null!=(l=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((t,n)=>{for(var l in n)e(t,l,{get:n[l],enumerable:!0})})({},{err:()=>O,map:()=>E,ok:()=>j,unwrap:()=>P,unwrapErr:()=>R});var j=e=>({isOk:!0,isErr:!1,value:e}),O=e=>({isOk:!1,isErr:!0,value:e});function E(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>j(e))):j(n)}if(e.isErr)return O(e.value);throw"should never get here"}var C,M,P=e=>{if(e.isOk)return e.value;throw e.value},R=e=>{if(e.isErr)return e.value;throw e.value},A=(e,t,...n)=>{let l=null,o=null,s=null,i=!1,r=!1;const c=[],f=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?f(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof e&&!g(l))&&(l+=""),i&&r?c[c.length-1].i+=l:c.push(i?T(null,l):l),r=i)};if(f(n),t){t.key&&(o=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}const u=T(e,null);return u.u=t,c.length>0&&(u.h=c),u.m=o,u.p=s,u},T=(e,t)=>({l:0,$:e,i:t,v:null,h:null,u:null,m:null,p:null}),x={},D=e=>n(e).$hostElement$,H=new WeakMap,N=e=>"sc-"+e.S,L=(e,t,n,l,o,s)=>{if(n!==l){let i=((e,t)=>t in e)(e,t);if(t.toLowerCase(),"class"===t){const t=e.classList,o=F(n),s=F(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("key"===t);else{const r=g(l);if((i||r&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==o||("function"==typeof e.__lookupSetter__(t)?e[t]=o:e.setAttribute(t,o))}}catch(e){}null==l||!1===l?!1===l&&""!==e.getAttribute(t)||e.removeAttribute(t):(!i||4&s||o)&&!r&&e.setAttribute(t,l=!0===l?"":l)}}},W=/\s/,F=e=>e?e.split(W):[],U=(e,t,n)=>{const l=11===t.v.nodeType&&t.v.host?t.v.host:t.v,o=e&&e.u||S,s=t.u||S;for(const e of q(Object.keys(o)))e in s||L(l,e,o[e],void 0,n,t.l);for(const e of q(Object.keys(s)))L(l,e,o[e],s[e],n,t.l)};function q(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var G=!1,I=!1,V=!1,_=!1,z=(e,t,n)=>{var l;const o=t.h[n];let s,i,r,c=0;if(G||(V=!0,"slot"===o.$&&(o.l|=o.h?2:1)),1&o.l)s=o.v=f.createTextNode("");else if(s=o.v=f.createElement(!G&&2&o.l?"slot-fb":o.$),U(null,o,_),s.getRootNode().querySelector("body"),o.h)for(c=0;c<o.h.length;++c)i=z(e,o,c),i&&s.appendChild(i);return s["s-hn"]=M,3&o.l&&(s["s-sr"]=!0,s["s-cr"]=C,s["s-sn"]=o.p||"",s["s-rf"]=null==(l=o.u)?void 0:l.ref,r=e&&e.h&&e.h[n],r&&r.$===o.$&&e.v&&B(e.v,!1)),s},B=(e,t)=>{u.l|=1;const n=Array.from(e.childNodes);for(let e=n.length-1;e>=0;e--){const l=n[e];l["s-hn"]!==M&&l["s-ol"]&&(oe(Y(l),l,X(l)),l["s-ol"].remove(),l["s-ol"]=void 0,l["s-sh"]=void 0,V=!0),t&&B(l,t)}u.l&=-2},J=(e,t,n,l,o,s)=>{let i,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(;o<=s;++o)l[o]&&(i=z(null,n,o),i&&(l[o].v=i,oe(r,i,X(t))))},K=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.v;e&&(I=!0,e["s-ol"]?e["s-ol"].remove():B(e,!0),e.remove())}}},Q=(e,t,n=!1)=>!(e.$!==t.$||("slot"===e.$?"k"in e&&n&&8!==e.v.nodeType||e.p!==t.p:!n&&e.m!==t.m)),X=e=>e&&e["s-ol"]||e,Y=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,Z=(e,t,n=!1)=>{const l=t.v=e.v,o=e.h,s=t.h;("slot"!==t.$||G)&&U(e,t,_),null!==o&&null!==s?((e,t,n,l,o=!1)=>{let s,i,r=0,c=0,f=0,u=0,a=t.length-1,d=t[0],h=t[a],m=l.length-1,p=l[0],y=l[m];for(;r<=a&&c<=m;)if(null==d)d=t[++r];else if(null==h)h=t[--a];else if(null==p)p=l[++c];else if(null==y)y=l[--m];else if(Q(d,p,o))Z(d,p,o),d=t[++r],p=l[++c];else if(Q(h,y,o))Z(h,y,o),h=t[--a],y=l[--m];else if(Q(d,y,o))"slot"!==d.$&&"slot"!==y.$||B(d.v.parentNode,!1),Z(d,y,o),oe(e,d.v,h.v.nextSibling),d=t[++r],y=l[--m];else if(Q(h,p,o))"slot"!==d.$&&"slot"!==y.$||B(h.v.parentNode,!1),Z(h,p,o),oe(e,h.v,d.v),h=t[--a],p=l[++c];else{for(f=-1,u=r;u<=a;++u)if(t[u]&&null!==t[u].m&&t[u].m===p.m){f=u;break}f>=0?(i=t[f],i.$!==p.$?s=z(t&&t[c],n,f):(Z(i,p,o),t[f]=void 0,s=i.v),p=l[++c]):(s=z(t&&t[c],n,c),p=l[++c]),s&&oe(Y(d.v),s,X(d.v))}r>a?J(e,null==l[m+1]?null:l[m+1].v,n,l,c,m):c>m&&K(t,r,a)})(l,o,t,s,n):null!==s?J(l,null,t,s,0,s.length-1):!n&&null!==o&&K(o,0,o.length-1)},ee=e=>{const t=e.childNodes;for(const e of t)if(1===e.nodeType){if(e["s-sr"]){const n=e["s-sn"];e.hidden=!1;for(const l of t)if(l!==e)if(l["s-hn"]!==e["s-hn"]||""!==n){if(1===l.nodeType&&(n===l.getAttribute("slot")||n===l["s-sn"])||3===l.nodeType&&n===l["s-sn"]){e.hidden=!0;break}}else if(1===l.nodeType||3===l.nodeType&&""!==l.textContent.trim()){e.hidden=!0;break}}ee(e)}},te=[],ne=e=>{let t,n,l;for(const o of e.childNodes){if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){n=t.parentNode.childNodes;const e=o["s-sn"];for(l=n.length-1;l>=0;l--)if(t=n[l],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==o["s-hn"])if(le(t,e)){let n=te.find((e=>e.j===t));I=!0,t["s-sn"]=t["s-sn"]||e,n?(n.j["s-sh"]=o["s-hn"],n.O=o):(t["s-sh"]=o["s-hn"],te.push({O:o,j:t})),t["s-sr"]&&te.map((e=>{le(e.j,t["s-sn"])&&(n=te.find((e=>e.j===t)),n&&!e.O&&(e.O=n.O))}))}else te.some((e=>e.j===t))||te.push({j:t})}1===o.nodeType&&ne(o)}},le=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,oe=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),se=(e,t)=>{t&&!e.C&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.C=t)))},ie=(e,t)=>{if(e.l|=16,!(4&e.l))return se(e,e.M),w((()=>re(e,t)));e.l|=512},re=(e,t)=>{const n=e.t;if(!n)throw Error(`Can't render component <${e.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return t&&(l=me(n,"componentWillLoad")),ce(l,(()=>ue(e,n,t)))},ce=(e,t)=>fe(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),fe=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,ue=async(e,t,n)=>{var l;const o=e.$hostElement$,s=o["s-rc"];n&&(e=>{const t=e.P;((e,t)=>{var n;const l=N(t),o=i.get(l);if(e=11===e.nodeType?e:f,o)if("string"==typeof o){let s,i=H.get(e=e.head||e);if(i||H.set(e,i=new Set),!i.has(l)){{s=f.createElement("style"),s.innerHTML=o;const l=null!=(n=u.R)?n:k(f);if(null!=l&&s.setAttribute("nonce",l),!(1&t.l))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(s,n)}else if("host"in e)if(d){const t=new CSSStyleSheet;t.replaceSync(o),e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=o+t.innerHTML:e.prepend(s)}else e.append(s);1&t.l&&"HEAD"!==e.nodeName&&e.insertBefore(s,null)}4&t.l&&(s.innerHTML+=r),i&&i.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o])})(e.$hostElement$.getRootNode(),t)})(e);ae(e,t,o,n),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=null!=(l=o["s-p"])?l:[],n=()=>de(e);0===t.length?n():(Promise.all(t).then(n),e.l|=4,t.length=0)}},ae=(e,t,n,l)=>{try{t=t.render(),e.l&=-17,e.l|=2,((e,t,n=!1)=>{var l,o,s,i;const r=e.$hostElement$,c=e.A||T(null,null),a=(e=>e&&e.$===x)(t)?t:A(null,null,t);if(M=r.tagName,n&&a.u)for(const e of Object.keys(a.u))r.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(a.u[e]=r[e]);if(a.$=null,a.l|=4,e.A=a,a.v=c.v=r,G=!1,C=r["s-cr"],I=!1,Z(c,a,n),u.l|=1,V){ne(a.v);for(const e of te){const t=e.j;if(!t["s-ol"]){const e=f.createTextNode("");e["s-nr"]=t,oe(t.parentNode,t["s-ol"]=e,t)}}for(const e of te){const t=e.j,r=e.O;if(r){const e=r.parentNode;let n=r.nextSibling;{let s=null==(l=t["s-ol"])?void 0:l.previousSibling;for(;s;){let l=null!=(o=s["s-nr"])?o:null;if(l&&l["s-sn"]===t["s-sn"]&&e===l.parentNode){for(l=l.nextSibling;l===t||(null==l?void 0:l["s-sr"]);)l=null==l?void 0:l.nextSibling;if(!l||!l["s-nr"]){n=l;break}}s=s.previousSibling}}(!n&&e!==t.parentNode||t.nextSibling!==n)&&t!==n&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),oe(e,t,n),1===t.nodeType&&(t.hidden=null!=(s=t["s-ih"])&&s)),t&&"function"==typeof r["s-rf"]&&r["s-rf"](t)}else 1===t.nodeType&&(n&&(t["s-ih"]=null!=(i=t.hidden)&&i),t.hidden=!0)}}I&&ee(a.v),u.l&=-2,te.length=0,C=void 0})(e,t,l)}catch(t){o(t,e.$hostElement$)}return null},de=e=>{const t=e.$hostElement$,n=e.M;me(e.t,"componentDidRender"),64&e.l||(e.l|=64,pe(t),e.T(t),n||he()),e.C&&(e.C(),e.C=void 0),512&e.l&&b((()=>ie(e,!1))),e.l&=-517},he=()=>{pe(f.documentElement),b((()=>(e=>{const t=u.ce("appload",{detail:{namespace:"general-styling-wrapper"}});return e.dispatchEvent(t),t})(c)))},me=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){o(e)}},pe=e=>e.classList.add("hydrated"),ye=(e,t,l)=>{var o,s;const i=e.prototype;if(t.D){const r=Object.entries(null!=(o=t.D)?o:{});if(r.map((([e,[o]])=>{(31&o||2&l&&32&o)&&Object.defineProperty(i,e,{get(){return((e,t)=>n(this).H.get(t))(0,e)},set(l){((e,t,l,o)=>{const s=n(e);if(!s)throw Error(`Couldn't find host element for "${o.S}" 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.H.get(t),r=s.l,c=s.t;l=((e,t)=>null==e||g(e)?e:1&t?e+"":e)(l,o.D[t][0]),8&r&&void 0!==i||l===i||Number.isNaN(i)&&Number.isNaN(l)||(s.H.set(t,l),c&&2==(18&r)&&ie(s,!1))})(this,e,l,t)},configurable:!0,enumerable:!0})})),1&l){const l=new Map;i.attributeChangedCallback=function(e,o,s){u.jmp((()=>{var r;const c=l.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const l=n(this),i=null==l?void 0:l.l;if(i&&!(8&i)&&128&i&&s!==o){const n=l.t,i=null==(r=t.N)?void 0:r[e];null==i||i.forEach((t=>{null!=n[t]&&n[t].call(n,s,o,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=t.N)?s:{}),...r.filter((([e,t])=>15&t[0])).map((([e,t])=>{const n=t[1]||e;return l.set(n,e),n}))]))}}return e},$e=(e,l={})=>{var a;const h=[],m=l.exclude||[],p=c.customElements,y=f.head,$=y.querySelector("meta[charset]"),v=f.createElement("style"),b=[];let w,S=!0;Object.assign(u,l),u.o=new URL(l.resourcesUrl||"./",f.baseURI).href;let g=!1;if(e.map((e=>{e[1].map((l=>{const r={l:l[0],S:l[1],D:l[2],L:l[3]};4&r.l&&(g=!0),r.D=l[2];const c=r.S,a=class extends HTMLElement{constructor(e){super(e),this.hasRegisteredEventListeners=!1,((e,n)=>{const l={l:0,$hostElement$:e,P:n,H:new Map};l.W=new Promise((e=>l.T=e)),e["s-p"]=[],e["s-rc"]=[],t.set(e,l)})(e=this,r)}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),w&&(clearTimeout(w),w=null),S?b.push(this):u.jmp((()=>(e=>{if(!(1&u.l)){const t=n(e),l=t.P,r=()=>{};if(1&t.l)(null==t?void 0:t.t)||(null==t?void 0:t.W)&&t.W.then((()=>{}));else{t.l|=1,12&l.l&&(e=>{const t=e["s-cr"]=f.createComment("");t["s-cn"]=!0,oe(e,t,e.firstChild)})(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){se(t,t.M=n);break}}l.D&&Object.entries(l.D).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let l;if(!(32&t.l)){if(t.l|=32,n.F){const e=(e=>{const t=e.S.replace(/-/g,"_"),n=e.F;if(!n)return;const l=s.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(s.set(n,e),e[t])),o)
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};l=await e,t()}else l=e;if(!l)throw Error(`Constructor for "${n.S}#${t.U}" was not found`);l.isProxied||(ye(l,n,2),l.isProxied=!0);const i=()=>{};t.l|=8;try{new l(t)}catch(e){o(e)}t.l&=-9,i()}else l=e.constructor,customElements.whenDefined(e.localName).then((()=>t.l|=128));if(l&&l.style){let e;"string"==typeof l.style&&(e=l.style);const t=N(n);if(!i.has(t)){const l=()=>{};((e,t,n)=>{let l=i.get(e);d&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,i.set(e,l)})(t,e,!!(1&n.l)),l()}}}const r=t.M,c=()=>ie(t,!0);r&&r["s-rc"]?r["s-rc"].push(c):c()})(e,t,l)}r()}})(this)))}disconnectedCallback(){u.jmp((()=>(async()=>{if(!(1&u.l)){const e=n(this);(null==e?void 0:e.t)||(null==e?void 0:e.W)&&e.W.then((()=>{}))}})()))}componentOnReady(){return n(this).W}};r.F=e[0],m.includes(c)||p.get(c)||(h.push(c),p.define(c,ye(a,r,1)))}))})),h.length>0&&(g&&(v.textContent+=r),v.textContent+=h.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",v.innerHTML.length)){v.setAttribute("data-styles","");const e=null!=(a=u.R)?a:k(f);null!=e&&v.setAttribute("nonce",e),y.insertBefore(v,$?$.nextSibling:y.firstChild)}S=!1,b.length?b.map((e=>e.connectedCallback())):u.jmp((()=>w=setTimeout(he,30)))},ve=e=>u.R=e;export{$e as b,D as g,A as h,a as p,l as r,ve as s}
|