@everymatrix/player-sms-verification 1.54.11 → 1.55.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/cjs/{index-b3d161e5.js → index-1ab65bbf.js} +66 -167
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/player-sms-verification.cjs.entry.js +11 -20
- package/dist/cjs/player-sms-verification.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/player-sms-verification/player-sms-verification.js +10 -31
- package/dist/esm/{index-36c69749.js → index-2261775b.js} +66 -167
- package/dist/esm/loader.js +2 -2
- package/dist/esm/player-sms-verification.entry.js +11 -20
- package/dist/esm/player-sms-verification.js +3 -3
- package/dist/player-sms-verification/p-3e6eb9ea.js +2 -0
- package/dist/player-sms-verification/{p-a03171e7.entry.js → p-9cdfa3fa.entry.js} +1 -1
- package/dist/player-sms-verification/player-sms-verification.esm.js +1 -1
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/player-sms-verification/.stencil/packages/stencil/player-sms-verification/stencil.config.d.ts +2 -0
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/player-sms-verification/.stencil/packages/stencil/player-sms-verification/stencil.config.dev.d.ts +2 -0
- package/package.json +1 -1
- package/dist/player-sms-verification/p-30f94a36.js +0 -2
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-sms-verification/.stencil/packages/stencil/player-sms-verification/stencil.config.d.ts +0 -2
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/player-sms-verification/.stencil/packages/stencil/player-sms-verification/stencil.config.dev.d.ts +0 -2
- /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/player-sms-verification/.stencil/tools/plugins/index.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/player-sms-verification/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/player-sms-verification/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/player-sms-verification/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
const NAMESPACE = 'player-sms-verification';
|
|
2
|
-
const BUILD = /* player-sms-verification */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, 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,
|
|
2
|
+
const BUILD = /* player-sms-verification */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, 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: true, propNumber: false, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: true };
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Platform v4.
|
|
5
|
+
Stencil Client Platform v4.22.3 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
var __defProp = Object.defineProperty;
|
|
8
8
|
var __export = (target, all) => {
|
|
9
9
|
for (var name in all)
|
|
10
10
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
11
|
};
|
|
12
|
-
|
|
13
|
-
// src/client/client-host-ref.ts
|
|
14
12
|
var hostRefs = /* @__PURE__ */ new WeakMap();
|
|
15
13
|
var getHostRef = (ref) => hostRefs.get(ref);
|
|
16
|
-
var registerInstance = (lazyInstance, hostRef) =>
|
|
17
|
-
hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
|
|
18
|
-
};
|
|
14
|
+
var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
|
|
19
15
|
var registerHost = (hostElement, cmpMeta) => {
|
|
20
16
|
const hostRef = {
|
|
21
17
|
$flags$: 0,
|
|
@@ -28,8 +24,7 @@ var registerHost = (hostElement, cmpMeta) => {
|
|
|
28
24
|
hostElement["s-p"] = [];
|
|
29
25
|
hostElement["s-rc"] = [];
|
|
30
26
|
}
|
|
31
|
-
|
|
32
|
-
return ref;
|
|
27
|
+
return hostRefs.set(hostElement, hostRef);
|
|
33
28
|
};
|
|
34
29
|
var isMemberInElement = (elm, memberName) => memberName in elm;
|
|
35
30
|
var consoleError = (e, el) => (0, console.error)(e, el);
|
|
@@ -66,22 +61,16 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
66
61
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
67
62
|
/* webpackMode: "lazy" */
|
|
68
63
|
`./${bundleId}.entry.js${""}`
|
|
69
|
-
).then(
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
cmpModules.set(bundleId, importedModule);
|
|
73
|
-
}
|
|
74
|
-
return importedModule[exportName];
|
|
75
|
-
},
|
|
76
|
-
(e) => {
|
|
77
|
-
consoleError(e, hostRef.$hostElement$);
|
|
64
|
+
).then((importedModule) => {
|
|
65
|
+
{
|
|
66
|
+
cmpModules.set(bundleId, importedModule);
|
|
78
67
|
}
|
|
79
|
-
|
|
68
|
+
return importedModule[exportName];
|
|
69
|
+
}, consoleError);
|
|
80
70
|
};
|
|
81
71
|
|
|
82
72
|
// src/client/client-style.ts
|
|
83
73
|
var styles = /* @__PURE__ */ new Map();
|
|
84
|
-
var HYDRATED_STYLE_ID = "sty-id";
|
|
85
74
|
var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
|
|
86
75
|
var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
|
|
87
76
|
var win = typeof window !== "undefined" ? window : {};
|
|
@@ -139,6 +128,12 @@ var flush = () => {
|
|
|
139
128
|
};
|
|
140
129
|
var nextTick = (cb) => promiseResolve().then(cb);
|
|
141
130
|
var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
|
|
131
|
+
|
|
132
|
+
// src/utils/constants.ts
|
|
133
|
+
var EMPTY_OBJ = {};
|
|
134
|
+
|
|
135
|
+
// src/utils/helpers.ts
|
|
136
|
+
var isDef = (v) => v != null;
|
|
142
137
|
var isComplexType = (o) => {
|
|
143
138
|
o = typeof o;
|
|
144
139
|
return o === "object" || o === "function";
|
|
@@ -320,7 +315,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
320
315
|
}
|
|
321
316
|
if (!appliedStyles.has(scopeId2)) {
|
|
322
317
|
{
|
|
323
|
-
styleElm =
|
|
318
|
+
styleElm = doc.createElement("style");
|
|
324
319
|
styleElm.innerHTML = style;
|
|
325
320
|
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
|
|
326
321
|
if (nonce != null) {
|
|
@@ -330,10 +325,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
330
325
|
if (styleContainerNode.nodeName === "HEAD") {
|
|
331
326
|
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
332
327
|
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
333
|
-
styleContainerNode.insertBefore(
|
|
334
|
-
styleElm,
|
|
335
|
-
(referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
|
|
336
|
-
);
|
|
328
|
+
styleContainerNode.insertBefore(styleElm, referenceNode2);
|
|
337
329
|
} else if ("host" in styleContainerNode) {
|
|
338
330
|
if (supportsConstructableStylesheets) {
|
|
339
331
|
const stylesheet = new CSSStyleSheet();
|
|
@@ -351,7 +343,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
351
343
|
styleContainerNode.append(styleElm);
|
|
352
344
|
}
|
|
353
345
|
}
|
|
354
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
346
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
|
|
355
347
|
styleContainerNode.insertBefore(styleElm, null);
|
|
356
348
|
}
|
|
357
349
|
}
|
|
@@ -376,25 +368,23 @@ var attachStyles = (hostRef) => {
|
|
|
376
368
|
const scopeId2 = addStyle(
|
|
377
369
|
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
378
370
|
cmpMeta);
|
|
379
|
-
if (
|
|
371
|
+
if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
|
|
380
372
|
elm["s-sc"] = scopeId2;
|
|
381
373
|
elm.classList.add(scopeId2 + "-h");
|
|
382
374
|
}
|
|
383
375
|
endAttachStyles();
|
|
384
376
|
};
|
|
385
377
|
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
|
386
|
-
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags
|
|
378
|
+
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
387
379
|
if (oldValue !== newValue) {
|
|
388
380
|
let isProp = isMemberInElement(elm, memberName);
|
|
389
381
|
let ln = memberName.toLowerCase();
|
|
390
382
|
if (memberName === "class") {
|
|
391
383
|
const classList = elm.classList;
|
|
392
384
|
const oldClasses = parseClassList(oldValue);
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
397
|
-
}
|
|
385
|
+
const newClasses = parseClassList(newValue);
|
|
386
|
+
classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
|
|
387
|
+
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
398
388
|
} else if (memberName === "key") ; else if (memberName === "ref") {
|
|
399
389
|
if (newValue) {
|
|
400
390
|
newValue(elm);
|
|
@@ -432,7 +422,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
432
422
|
elm.setAttribute(memberName, n);
|
|
433
423
|
}
|
|
434
424
|
}
|
|
435
|
-
} else
|
|
425
|
+
} else {
|
|
436
426
|
elm[memberName] = newValue;
|
|
437
427
|
}
|
|
438
428
|
} catch (e) {
|
|
@@ -454,44 +444,24 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
454
444
|
}
|
|
455
445
|
};
|
|
456
446
|
var parseClassListRegex = /\s/;
|
|
457
|
-
var parseClassList = (value) =>
|
|
458
|
-
if (typeof value === "object" && value && "baseVal" in value) {
|
|
459
|
-
value = value.baseVal;
|
|
460
|
-
}
|
|
461
|
-
if (!value || typeof value !== "string") {
|
|
462
|
-
return [];
|
|
463
|
-
}
|
|
464
|
-
return value.split(parseClassListRegex);
|
|
465
|
-
};
|
|
447
|
+
var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
|
|
466
448
|
var CAPTURE_EVENT_SUFFIX = "Capture";
|
|
467
449
|
var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
|
|
468
450
|
|
|
469
451
|
// src/runtime/vdom/update-element.ts
|
|
470
|
-
var updateElement = (oldVnode, newVnode, isSvgMode2
|
|
452
|
+
var updateElement = (oldVnode, newVnode, isSvgMode2) => {
|
|
471
453
|
const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
|
|
472
|
-
const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ ||
|
|
473
|
-
const newVnodeAttrs = newVnode.$attrs$ ||
|
|
454
|
+
const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
|
|
455
|
+
const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
|
|
474
456
|
{
|
|
475
457
|
for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
|
|
476
458
|
if (!(memberName in newVnodeAttrs)) {
|
|
477
|
-
setAccessor(
|
|
478
|
-
elm,
|
|
479
|
-
memberName,
|
|
480
|
-
oldVnodeAttrs[memberName],
|
|
481
|
-
void 0,
|
|
482
|
-
isSvgMode2,
|
|
483
|
-
newVnode.$flags$);
|
|
459
|
+
setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
|
|
484
460
|
}
|
|
485
461
|
}
|
|
486
462
|
}
|
|
487
463
|
for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
|
|
488
|
-
setAccessor(
|
|
489
|
-
elm,
|
|
490
|
-
memberName,
|
|
491
|
-
oldVnodeAttrs[memberName],
|
|
492
|
-
newVnodeAttrs[memberName],
|
|
493
|
-
isSvgMode2,
|
|
494
|
-
newVnode.$flags$);
|
|
464
|
+
setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
|
|
495
465
|
}
|
|
496
466
|
};
|
|
497
467
|
function sortedAttrNames(attrNames) {
|
|
@@ -503,10 +473,13 @@ function sortedAttrNames(attrNames) {
|
|
|
503
473
|
attrNames
|
|
504
474
|
);
|
|
505
475
|
}
|
|
476
|
+
|
|
477
|
+
// src/runtime/vdom/vdom-render.ts
|
|
478
|
+
var scopeId;
|
|
506
479
|
var hostTagName;
|
|
507
480
|
var useNativeShadowDom = false;
|
|
508
481
|
var isSvgMode = false;
|
|
509
|
-
var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
482
|
+
var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
510
483
|
const newVNode2 = newParentVNode.$children$[childIndex];
|
|
511
484
|
let i2 = 0;
|
|
512
485
|
let elm;
|
|
@@ -520,6 +493,11 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
520
493
|
{
|
|
521
494
|
updateElement(null, newVNode2, isSvgMode);
|
|
522
495
|
}
|
|
496
|
+
const rootNode = elm.getRootNode();
|
|
497
|
+
const isElementWithinShadowRoot = !rootNode.querySelector("body");
|
|
498
|
+
if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
|
|
499
|
+
elm.classList.add(elm["s-si"] = scopeId);
|
|
500
|
+
}
|
|
523
501
|
if (newVNode2.$children$) {
|
|
524
502
|
for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
|
|
525
503
|
childNode = createElm(oldParentVNode, newVNode2, i2);
|
|
@@ -649,9 +627,6 @@ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
|
|
|
649
627
|
if (!isInitialRender) {
|
|
650
628
|
return leftVNode.$key$ === rightVNode.$key$;
|
|
651
629
|
}
|
|
652
|
-
if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
|
|
653
|
-
leftVNode.$key$ = rightVNode.$key$;
|
|
654
|
-
}
|
|
655
630
|
return true;
|
|
656
631
|
}
|
|
657
632
|
return false;
|
|
@@ -691,9 +666,8 @@ var nullifyVNodeRefs = (vNode) => {
|
|
|
691
666
|
}
|
|
692
667
|
};
|
|
693
668
|
var insertBefore = (parent, newNode, reference) => {
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
}
|
|
669
|
+
const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
|
|
670
|
+
return inserted;
|
|
697
671
|
};
|
|
698
672
|
var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
699
673
|
const hostElm = hostRef.$hostElement$;
|
|
@@ -718,21 +692,17 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
718
692
|
rootVnode.$flags$ |= 4 /* isHost */;
|
|
719
693
|
hostRef.$vnode$ = rootVnode;
|
|
720
694
|
rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
|
|
721
|
-
|
|
695
|
+
{
|
|
696
|
+
scopeId = hostElm["s-sc"];
|
|
697
|
+
}
|
|
698
|
+
useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
|
|
722
699
|
patch(oldVNode, rootVnode, isInitialLoad);
|
|
723
700
|
};
|
|
724
701
|
|
|
725
702
|
// src/runtime/update-component.ts
|
|
726
703
|
var attachToAncestor = (hostRef, ancestorComponent) => {
|
|
727
704
|
if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
|
|
728
|
-
|
|
729
|
-
new Promise(
|
|
730
|
-
(r) => hostRef.$onRenderResolve$ = () => {
|
|
731
|
-
ancestorComponent["s-p"].splice(index - 1, 1);
|
|
732
|
-
r();
|
|
733
|
-
}
|
|
734
|
-
)
|
|
735
|
-
);
|
|
705
|
+
ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
|
|
736
706
|
}
|
|
737
707
|
};
|
|
738
708
|
var scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
@@ -759,7 +729,7 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
759
729
|
let maybePromise;
|
|
760
730
|
if (isInitialLoad) {
|
|
761
731
|
{
|
|
762
|
-
maybePromise = safeCall(instance, "componentWillLoad"
|
|
732
|
+
maybePromise = safeCall(instance, "componentWillLoad");
|
|
763
733
|
}
|
|
764
734
|
}
|
|
765
735
|
endSchedule();
|
|
@@ -833,7 +803,7 @@ var postUpdateComponent = (hostRef) => {
|
|
|
833
803
|
addHydratedFlag(elm);
|
|
834
804
|
}
|
|
835
805
|
{
|
|
836
|
-
safeCall(instance, "componentDidLoad"
|
|
806
|
+
safeCall(instance, "componentDidLoad");
|
|
837
807
|
}
|
|
838
808
|
endPostUpdate();
|
|
839
809
|
{
|
|
@@ -857,14 +827,17 @@ var postUpdateComponent = (hostRef) => {
|
|
|
857
827
|
}
|
|
858
828
|
};
|
|
859
829
|
var appDidLoad = (who) => {
|
|
830
|
+
{
|
|
831
|
+
addHydratedFlag(doc.documentElement);
|
|
832
|
+
}
|
|
860
833
|
nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
|
|
861
834
|
};
|
|
862
|
-
var safeCall = (instance, method, arg
|
|
835
|
+
var safeCall = (instance, method, arg) => {
|
|
863
836
|
if (instance && instance[method]) {
|
|
864
837
|
try {
|
|
865
838
|
return instance[method](arg);
|
|
866
839
|
} catch (e) {
|
|
867
|
-
consoleError(e
|
|
840
|
+
consoleError(e);
|
|
868
841
|
}
|
|
869
842
|
}
|
|
870
843
|
return void 0;
|
|
@@ -923,68 +896,15 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
923
896
|
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
924
897
|
members.map(([memberName, [memberFlags]]) => {
|
|
925
898
|
if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
|
|
926
|
-
const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
|
|
927
|
-
if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
|
|
928
|
-
if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
|
|
929
|
-
if (flags & 1 /* isElementConstructor */ || !origGetter) {
|
|
930
|
-
Object.defineProperty(prototype, memberName, {
|
|
931
|
-
get() {
|
|
932
|
-
{
|
|
933
|
-
if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
|
|
934
|
-
return getValue(this, memberName);
|
|
935
|
-
}
|
|
936
|
-
const ref = getHostRef(this);
|
|
937
|
-
const instance = ref ? ref.$lazyInstance$ : prototype;
|
|
938
|
-
if (!instance) return;
|
|
939
|
-
return instance[memberName];
|
|
940
|
-
}
|
|
941
|
-
},
|
|
942
|
-
configurable: true,
|
|
943
|
-
enumerable: true
|
|
944
|
-
});
|
|
945
|
-
}
|
|
946
899
|
Object.defineProperty(prototype, memberName, {
|
|
900
|
+
get() {
|
|
901
|
+
return getValue(this, memberName);
|
|
902
|
+
},
|
|
947
903
|
set(newValue) {
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
newValue = ref.$instanceValues$.get(memberName);
|
|
953
|
-
} else if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
954
|
-
ref.$instanceValues$.set(memberName, currentValue);
|
|
955
|
-
}
|
|
956
|
-
origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
|
|
957
|
-
newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
|
|
958
|
-
setValue(this, memberName, newValue, cmpMeta);
|
|
959
|
-
return;
|
|
960
|
-
}
|
|
961
|
-
{
|
|
962
|
-
if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
|
|
963
|
-
setValue(this, memberName, newValue, cmpMeta);
|
|
964
|
-
if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
|
|
965
|
-
ref.$onReadyPromise$.then(() => {
|
|
966
|
-
if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
|
|
967
|
-
ref.$lazyInstance$[memberName] = newValue;
|
|
968
|
-
}
|
|
969
|
-
});
|
|
970
|
-
}
|
|
971
|
-
return;
|
|
972
|
-
}
|
|
973
|
-
const setterSetVal = () => {
|
|
974
|
-
const currentValue = ref.$lazyInstance$[memberName];
|
|
975
|
-
if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
976
|
-
ref.$instanceValues$.set(memberName, currentValue);
|
|
977
|
-
}
|
|
978
|
-
ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
|
|
979
|
-
setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
|
|
980
|
-
};
|
|
981
|
-
if (ref.$lazyInstance$) {
|
|
982
|
-
setterSetVal();
|
|
983
|
-
} else {
|
|
984
|
-
ref.$onReadyPromise$.then(() => setterSetVal());
|
|
985
|
-
}
|
|
986
|
-
}
|
|
987
|
-
}
|
|
904
|
+
setValue(this, memberName, newValue, cmpMeta);
|
|
905
|
+
},
|
|
906
|
+
configurable: true,
|
|
907
|
+
enumerable: true
|
|
988
908
|
});
|
|
989
909
|
}
|
|
990
910
|
});
|
|
@@ -994,7 +914,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
994
914
|
plt.jmp(() => {
|
|
995
915
|
var _a2;
|
|
996
916
|
const propName = attrNameToPropName.get(attrName);
|
|
997
|
-
if (this.hasOwnProperty(propName)
|
|
917
|
+
if (this.hasOwnProperty(propName)) {
|
|
998
918
|
newValue = this[propName];
|
|
999
919
|
delete this[propName];
|
|
1000
920
|
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
|
|
@@ -1014,11 +934,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1014
934
|
}
|
|
1015
935
|
return;
|
|
1016
936
|
}
|
|
1017
|
-
|
|
1018
|
-
newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
|
|
1019
|
-
if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
|
|
1020
|
-
this[propName] = newValue;
|
|
1021
|
-
}
|
|
937
|
+
this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
|
|
1022
938
|
});
|
|
1023
939
|
};
|
|
1024
940
|
Cstr.observedAttributes = Array.from(
|
|
@@ -1047,7 +963,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1047
963
|
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
|
1048
964
|
const bundleId = cmpMeta.$lazyBundleId$;
|
|
1049
965
|
if (bundleId) {
|
|
1050
|
-
const CstrImport = loadModule(cmpMeta
|
|
966
|
+
const CstrImport = loadModule(cmpMeta);
|
|
1051
967
|
if (CstrImport && "then" in CstrImport) {
|
|
1052
968
|
const endLoad = uniqueTime();
|
|
1053
969
|
Cstr = await CstrImport;
|
|
@@ -1072,7 +988,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1072
988
|
try {
|
|
1073
989
|
new Cstr(hostRef);
|
|
1074
990
|
} catch (e) {
|
|
1075
|
-
consoleError(e
|
|
991
|
+
consoleError(e);
|
|
1076
992
|
}
|
|
1077
993
|
{
|
|
1078
994
|
hostRef.$flags$ &= ~8 /* isConstructingInstance */;
|
|
@@ -1107,7 +1023,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1107
1023
|
schedule();
|
|
1108
1024
|
}
|
|
1109
1025
|
};
|
|
1110
|
-
var fireConnectedCallback = (instance
|
|
1026
|
+
var fireConnectedCallback = (instance) => {
|
|
1111
1027
|
};
|
|
1112
1028
|
|
|
1113
1029
|
// src/runtime/connected-callback.ts
|
|
@@ -1147,7 +1063,7 @@ var connectedCallback = (elm) => {
|
|
|
1147
1063
|
endConnected();
|
|
1148
1064
|
}
|
|
1149
1065
|
};
|
|
1150
|
-
var disconnectInstance = (instance
|
|
1066
|
+
var disconnectInstance = (instance) => {
|
|
1151
1067
|
};
|
|
1152
1068
|
var disconnectedCallback = async (elm) => {
|
|
1153
1069
|
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
|
@@ -1156,12 +1072,6 @@ var disconnectedCallback = async (elm) => {
|
|
|
1156
1072
|
hostRef.$onReadyPromise$.then(() => disconnectInstance());
|
|
1157
1073
|
}
|
|
1158
1074
|
}
|
|
1159
|
-
if (rootAppliedStyles.has(elm)) {
|
|
1160
|
-
rootAppliedStyles.delete(elm);
|
|
1161
|
-
}
|
|
1162
|
-
if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
|
|
1163
|
-
rootAppliedStyles.delete(elm.shadowRoot);
|
|
1164
|
-
}
|
|
1165
1075
|
};
|
|
1166
1076
|
|
|
1167
1077
|
// src/runtime/bootstrap-lazy.ts
|
|
@@ -1242,17 +1152,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1242
1152
|
}
|
|
1243
1153
|
disconnectedCallback() {
|
|
1244
1154
|
plt.jmp(() => disconnectedCallback(this));
|
|
1245
|
-
plt.raf(() => {
|
|
1246
|
-
var _a3;
|
|
1247
|
-
const hostRef = getHostRef(this);
|
|
1248
|
-
const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
|
|
1249
|
-
if (i2 > -1) {
|
|
1250
|
-
deferredConnectedCallbacks.splice(i2, 1);
|
|
1251
|
-
}
|
|
1252
|
-
if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
|
|
1253
|
-
delete hostRef.$vnode$.$elm$;
|
|
1254
|
-
}
|
|
1255
|
-
});
|
|
1256
1155
|
}
|
|
1257
1156
|
componentOnReady() {
|
|
1258
1157
|
return getHostRef(this).$onReadyPromise$;
|
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-2261775b.js';
|
|
2
|
+
export { s as setNonce } from './index-2261775b.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-2261775b.js';
|
|
2
2
|
|
|
3
3
|
const DEFAULT_LANGUAGE = 'en';
|
|
4
4
|
const TRANSLATIONS = {
|
|
@@ -196,25 +196,6 @@ const PlayerSmsVerificationStyle0 = playerSmsVerificationCss;
|
|
|
196
196
|
const PlayerSmsVerification = class {
|
|
197
197
|
constructor(hostRef) {
|
|
198
198
|
registerInstance(this, hostRef);
|
|
199
|
-
/**
|
|
200
|
-
* Currently selected language
|
|
201
|
-
*/
|
|
202
|
-
this.lang = 'en';
|
|
203
|
-
/**
|
|
204
|
-
* Client custom styling via inline styles
|
|
205
|
-
*/
|
|
206
|
-
this.clientStyling = '';
|
|
207
|
-
/**
|
|
208
|
-
* Client custom styling via url
|
|
209
|
-
*/
|
|
210
|
-
this.clientStylingUrl = '';
|
|
211
|
-
/**
|
|
212
|
-
* Translations via URL
|
|
213
|
-
*/
|
|
214
|
-
this.translationUrl = '';
|
|
215
|
-
this.code = '';
|
|
216
|
-
this.errMsg = '';
|
|
217
|
-
this.msgEnterCode = '';
|
|
218
199
|
// Other variables
|
|
219
200
|
this.btnResendCount = 60;
|
|
220
201
|
this.isCodeSentOnce = false;
|
|
@@ -237,6 +218,16 @@ const PlayerSmsVerification = class {
|
|
|
237
218
|
console.log('error ', err);
|
|
238
219
|
});
|
|
239
220
|
};
|
|
221
|
+
this.endpoint = undefined;
|
|
222
|
+
this.userId = undefined;
|
|
223
|
+
this.lang = 'en';
|
|
224
|
+
this.clientStyling = '';
|
|
225
|
+
this.clientStylingUrl = '';
|
|
226
|
+
this.translationUrl = '';
|
|
227
|
+
this.tempBtnResendCount = undefined;
|
|
228
|
+
this.code = '';
|
|
229
|
+
this.errMsg = '';
|
|
230
|
+
this.msgEnterCode = '';
|
|
240
231
|
}
|
|
241
232
|
updateClientStyling() {
|
|
242
233
|
if (this.clientStyling)
|
|
@@ -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-2261775b.js';
|
|
2
|
+
export { s as setNonce } from './index-2261775b.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.22.3 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
var patchBrowser = () => {
|
|
9
9
|
const importMeta = import.meta.url;
|
|
@@ -0,0 +1,2 @@
|
|
|
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)=>t in e,s=(e,t)=>(0,console.error)(e,t),i=new Map,r=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="undefined"!=typeof window?window:{},a=u.document||{head:{}},f={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)},h=e=>Promise.resolve(e),p=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),m=!1,d=[],y=[],$=(e,t)=>n=>{e.push(n),m||(m=!0,t&&4&f.l?b(v):f.raf(v))},w=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){s(e)}e.length=0},v=()=>{w(d),w(y),(m=d.length>0)&&f.raf(v)},b=e=>h().then(e),S=$(y,!0),g={},j=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:()=>C,ok:()=>E,unwrap:()=>x,unwrapErr:()=>P});var E=e=>({isOk:!0,isErr:!1,value:e}),O=e=>({isOk:!1,isErr:!0,value:e});function C(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>E(e))):E(n)}if(e.isErr)return O(e.value);throw"should never get here"}var M,x=e=>{if(e.isOk)return e.value;throw e.value},P=e=>{if(e.isErr)return e.value;throw e.value},A=(e,t,...n)=>{let l=null,o=null,s=!1,i=!1;const r=[],c=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?c(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof e&&!j(l))&&(l+=""),s&&i?r[r.length-1].i+=l:r.push(s?D(null,l):l),i=s)};if(c(n),t){t.key&&(o=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}const u=D(e,null);return u.u=t,r.length>0&&(u.h=r),u.p=o,u},D=(e,t)=>({l:0,m:e,i:t,$:null,h:null,u:null,p:null}),H={},L=new WeakMap,R=e=>"sc-"+e.v,T=(e,t,n,l,s,i)=>{if(n!==l){let r=o(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,o=U(n),s=U(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("key"===t);else if("ref"===t)l&&l(e);else if(r||"o"!==t[0]||"n"!==t[1]){const o=j(l);if((r||o&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?r=!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):(!r||4&i||s)&&!o&&e.setAttribute(t,l=!0===l?"":l)}else if(t="-"===t[2]?t.slice(3):o(u,c)?c.slice(2):c[2]+t.slice(3),n||l){const o=t.endsWith(W);t=t.replace(F,""),n&&f.rel(e,t,n,o),l&&f.ael(e,t,l,o)}}},N=/\s/,U=e=>e?e.split(N):[],W="Capture",F=RegExp(W+"$"),q=(e,t,n)=>{const l=11===t.$.nodeType&&t.$.host?t.$.host:t.$,o=e&&e.u||g,s=t.u||g;for(const e of G(Object.keys(o)))e in s||T(l,e,o[e],void 0,n,t.l);for(const e of G(Object.keys(s)))T(l,e,o[e],s[e],n,t.l)};function G(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var V=!1,_=(e,t,n)=>{const l=t.h[n];let o,s,i=0;if(null!==l.i)o=l.$=a.createTextNode(l.i);else if(o=l.$=a.createElement(l.m),q(null,l,V),o.getRootNode().querySelector("body"),l.h)for(i=0;i<l.h.length;++i)s=_(e,l,i),s&&o.appendChild(s);return o["s-hn"]=M,o},z=(e,t,n,l,o,s)=>{let i,r=e;for(r.shadowRoot&&r.tagName===M&&(r=r.shadowRoot);o<=s;++o)l[o]&&(i=_(null,n,o),i&&(l[o].$=i,Q(r,i,t)))},B=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.$;K(t),e&&e.remove()}}},I=(e,t,n=!1)=>e.m===t.m&&(!!n||e.p===t.p),J=(e,t,n=!1)=>{const l=t.$=e.$,o=e.h,s=t.h,i=t.i;null===i?(q(e,t,V),null!==o&&null!==s?((e,t,n,l,o=!1)=>{let s,i,r=0,c=0,u=0,a=0,f=t.length-1,h=t[0],p=t[f],m=l.length-1,d=l[0],y=l[m];for(;r<=f&&c<=m;)if(null==h)h=t[++r];else if(null==p)p=t[--f];else if(null==d)d=l[++c];else if(null==y)y=l[--m];else if(I(h,d,o))J(h,d,o),h=t[++r],d=l[++c];else if(I(p,y,o))J(p,y,o),p=t[--f],y=l[--m];else if(I(h,y,o))J(h,y,o),Q(e,h.$,p.$.nextSibling),h=t[++r],y=l[--m];else if(I(p,d,o))J(p,d,o),Q(e,p.$,h.$),p=t[--f],d=l[++c];else{for(u=-1,a=r;a<=f;++a)if(t[a]&&null!==t[a].p&&t[a].p===d.p){u=a;break}u>=0?(i=t[u],i.m!==d.m?s=_(t&&t[c],n,u):(J(i,d,o),t[u]=void 0,s=i.$),d=l[++c]):(s=_(t&&t[c],n,c),d=l[++c]),s&&Q(h.$.parentNode,s,h.$)}r>f?z(e,null==l[m+1]?null:l[m+1].$,n,l,c,m):c>m&&B(t,r,f)})(l,o,t,s,n):null!==s?(null!==e.i&&(l.textContent=""),z(l,null,t,s,0,s.length-1)):!n&&null!==o&&B(o,0,o.length-1)):e.i!==i&&(l.data=i)},K=e=>{e.u&&e.u.ref&&e.u.ref(null),e.h&&e.h.map(K)},Q=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),X=(e,t)=>{t&&!e.S&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.S=t)))},Y=(e,t)=>{if(e.l|=16,!(4&e.l))return X(e,e.j),S((()=>Z(e,t)));e.l|=512},Z=(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=ie(n,"componentWillLoad")),ee(l,(()=>ne(e,n,t)))},ee=(e,t)=>te(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),te=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,ne=async(e,t,n)=>{var l;const o=e.$hostElement$,s=o["s-rc"];n&&(e=>{const t=e.k,n=e.$hostElement$,l=t.l,o=((e,t)=>{var n;const l=R(t),o=r.get(l);if(e=11===e.nodeType?e:a,o)if("string"==typeof o){let s,i=L.get(e=e.head||e);if(i||L.set(e,i=new Set),!i.has(l)){{s=a.createElement("style"),s.innerHTML=o;const l=null!=(n=f.O)?n:k(a);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(p){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+=c),i&&i.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return l})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&2&l&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(e);le(e,t,o,n),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=null!=(l=o["s-p"])?l:[],n=()=>oe(e);0===t.length?n():(Promise.all(t).then(n),e.l|=4,t.length=0)}},le=(e,t,n,l)=>{try{t=t.render(),e.l&=-17,e.l|=2,((e,t,n=!1)=>{const l=e.$hostElement$,o=e.k,s=e.C||D(null,null),i=(e=>e&&e.m===H)(t)?t:A(null,null,t);if(M=l.tagName,o.M&&(i.u=i.u||{},o.M.map((([e,t])=>i.u[t]=l[e]))),n&&i.u)for(const e of Object.keys(i.u))l.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(i.u[e]=l[e]);i.m=null,i.l|=4,e.C=i,i.$=s.$=l.shadowRoot||l,J(s,i,n)})(e,t,l)}catch(t){s(t,e.$hostElement$)}return null},oe=e=>{const t=e.$hostElement$,n=e.t,l=e.j;64&e.l||(e.l|=64,re(t),ie(n,"componentDidLoad"),e.P(t),l||se()),e.S&&(e.S(),e.S=void 0),512&e.l&&b((()=>Y(e,!1))),e.l&=-517},se=()=>{re(a.documentElement),b((()=>(e=>{const t=f.ce("appload",{detail:{namespace:"player-sms-verification"}});return e.dispatchEvent(t),t})(u)))},ie=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){s(e)}},re=e=>e.classList.add("hydrated"),ce=(e,t,l)=>{var o,i;const r=e.prototype;if(t.A||t.D||e.watchers){e.watchers&&!t.D&&(t.D=e.watchers);const c=Object.entries(null!=(o=t.A)?o:{});if(c.map((([e,[o]])=>{(31&o||2&l&&32&o)&&Object.defineProperty(r,e,{get(){return((e,t)=>n(this).H.get(t))(0,e)},set(l){((e,t,l,o)=>{const i=n(e);if(!i)throw Error(`Couldn't find host element for "${o.v}" 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 r=i.$hostElement$,c=i.H.get(t),u=i.l,a=i.t;if(l=((e,t)=>null==e||j(e)?e:1&t?e+"":e)(l,o.A[t][0]),(!(8&u)||void 0===c)&&l!==c&&(!Number.isNaN(c)||!Number.isNaN(l))&&(i.H.set(t,l),a)){if(o.D&&128&u){const e=o.D[t];e&&e.map((e=>{try{a[e](l,c,t)}catch(e){s(e,r)}}))}2==(18&u)&&Y(i,!1)}})(this,e,l,t)},configurable:!0,enumerable:!0})})),1&l){const l=new Map;r.attributeChangedCallback=function(e,o,s){f.jmp((()=>{var i;const c=l.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(r.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const l=n(this),r=null==l?void 0:l.l;if(r&&!(8&r)&&128&r&&s!==o){const n=l.t,r=null==(i=t.D)?void 0:i[e];null==r||r.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!=(i=t.D)?i:{}),...c.filter((([e,t])=>15&t[0])).map((([e,n])=>{var o;const s=n[1]||e;return l.set(s,e),512&n[0]&&(null==(o=t.M)||o.push([e,s])),s}))]))}}return e},ue=(e,l={})=>{var o;const h=[],m=l.exclude||[],d=u.customElements,y=a.head,$=y.querySelector("meta[charset]"),w=a.createElement("style"),v=[];let b,S=!0;Object.assign(f,l),f.o=new URL(l.resourcesUrl||"./",a.baseURI).href;let g=!1;if(e.map((e=>{e[1].map((l=>{var o;const c={l:l[0],v:l[1],A:l[2],L:l[3]};4&c.l&&(g=!0),c.A=l[2],c.M=[],c.D=null!=(o=l[4])?o:{};const u=c.v,a=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,n)=>{const l={l:0,$hostElement$:e,k:n,H:new Map};l.R=new Promise((e=>l.P=e)),e["s-p"]=[],e["s-rc"]=[],t.set(e,l)})(e=this,c),1&c.l)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.v}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),b&&(clearTimeout(b),b=null),S?v.push(this):f.jmp((()=>(e=>{if(!(1&f.l)){const t=n(e),l=t.k,o=()=>{};if(1&t.l)(null==t?void 0:t.t)||(null==t?void 0:t.R)&&t.R.then((()=>{}));else{t.l|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){X(t,t.j=n);break}}l.A&&Object.entries(l.A).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.T){const e=(e=>{const t=e.v.replace(/-/g,"_"),n=e.T;if(!n)return;const l=i.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(i.set(n,e),e[t])),s)
|
|
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.v}#${t.N}" was not found`);l.isProxied||(n.D=l.watchers,ce(l,n,2),l.isProxied=!0);const o=()=>{};t.l|=8;try{new l(t)}catch(e){s(e)}t.l&=-9,t.l|=128,o()}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=R(n);if(!r.has(t)){const l=()=>{};((e,t,n)=>{let l=r.get(e);p&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,r.set(e,l)})(t,e,!!(1&n.l)),l()}}}const o=t.j,c=()=>Y(t,!0);o&&o["s-rc"]?o["s-rc"].push(c):c()})(e,t,l)}o()}})(this)))}disconnectedCallback(){f.jmp((()=>(async()=>{if(!(1&f.l)){const e=n(this);(null==e?void 0:e.t)||(null==e?void 0:e.R)&&e.R.then((()=>{}))}})()))}componentOnReady(){return n(this).R}};c.T=e[0],m.includes(u)||d.get(u)||(h.push(u),d.define(u,ce(a,c,1)))}))})),h.length>0&&(g&&(w.textContent+=c),w.textContent+=h.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",w.innerHTML.length)){w.setAttribute("data-styles","");const e=null!=(o=f.O)?o:k(a);null!=e&&w.setAttribute("nonce",e),y.insertBefore(w,$?$.nextSibling:y.firstChild)}S=!1,v.length?v.map((e=>e.connectedCallback())):f.jmp((()=>b=setTimeout(se,30)))},ae=e=>f.O=e;export{ue as b,A as h,h as p,l as r,ae as s}
|