@everymatrix/player-sms-verification 1.56.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.
Files changed (24) hide show
  1. package/dist/cjs/{index-2de7dcf7.js → index-c10a634b.js} +69 -204
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/player-sms-verification.cjs.entry.js +9 -17
  4. package/dist/cjs/player-sms-verification.cjs.js +2 -2
  5. package/dist/collection/collection-manifest.json +2 -2
  6. package/dist/collection/components/player-sms-verification/player-sms-verification.js +8 -30
  7. package/dist/esm/{index-3ab66176.js → index-99e378bb.js} +69 -204
  8. package/dist/esm/loader.js +2 -2
  9. package/dist/esm/player-sms-verification.entry.js +9 -17
  10. package/dist/esm/player-sms-verification.js +3 -3
  11. package/dist/player-sms-verification/{p-8b381f95.entry.js → p-58804c28.entry.js} +1 -1
  12. package/dist/player-sms-verification/p-b187e9e6.js +2 -0
  13. package/dist/player-sms-verification/player-sms-verification.esm.js +1 -1
  14. 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
  15. 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
  16. package/dist/types/stencil-public-runtime.d.ts +0 -6
  17. package/package.json +1 -1
  18. package/dist/player-sms-verification/p-e4128523.js +0 -2
  19. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/player-sms-verification/.stencil/packages/stencil/player-sms-verification/stencil.config.d.ts +0 -2
  20. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/player-sms-verification/.stencil/packages/stencil/player-sms-verification/stencil.config.dev.d.ts +0 -2
  21. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/player-sms-verification/.stencil/tools/plugins/index.d.ts +0 -0
  22. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/player-sms-verification/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  23. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/player-sms-verification/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  24. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/player-sms-verification/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -21,23 +21,19 @@ function _interopNamespace(e) {
21
21
  }
22
22
 
23
23
  const NAMESPACE = 'player-sms-verification';
24
- 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: true, 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, modernPropertyDecls: 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 };
24
+ 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: true, 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 };
25
25
 
26
26
  /*
27
- Stencil Client Platform v4.26.0 | MIT Licensed | https://stenciljs.com
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) => {
31
31
  for (var name in all)
32
32
  __defProp(target, name, { get: all[name], enumerable: true });
33
33
  };
34
-
35
- // src/client/client-host-ref.ts
36
34
  var hostRefs = /* @__PURE__ */ new WeakMap();
37
35
  var getHostRef = (ref) => hostRefs.get(ref);
38
- var registerInstance = (lazyInstance, hostRef) => {
39
- hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
40
- };
36
+ var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
41
37
  var registerHost = (hostElement, cmpMeta) => {
42
38
  const hostRef = {
43
39
  $flags$: 0,
@@ -50,8 +46,7 @@ var registerHost = (hostElement, cmpMeta) => {
50
46
  hostElement["s-p"] = [];
51
47
  hostElement["s-rc"] = [];
52
48
  }
53
- const ref = hostRefs.set(hostElement, hostRef);
54
- return ref;
49
+ return hostRefs.set(hostElement, hostRef);
55
50
  };
56
51
  var isMemberInElement = (elm, memberName) => memberName in elm;
57
52
  var consoleError = (e, el) => (0, console.error)(e, el);
@@ -88,22 +83,16 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
88
83
  /* webpackExclude: /\.system\.entry\.js$/ */
89
84
  /* webpackMode: "lazy" */
90
85
  `./${bundleId}.entry.js${""}`
91
- )); }).then(
92
- (importedModule) => {
93
- {
94
- cmpModules.set(bundleId, importedModule);
95
- }
96
- return importedModule[exportName];
97
- },
98
- (e) => {
99
- consoleError(e, hostRef.$hostElement$);
86
+ )); }).then((importedModule) => {
87
+ {
88
+ cmpModules.set(bundleId, importedModule);
100
89
  }
101
- );
90
+ return importedModule[exportName];
91
+ }, consoleError);
102
92
  };
103
93
 
104
94
  // src/client/client-style.ts
105
95
  var styles = /* @__PURE__ */ new Map();
106
- var HYDRATED_STYLE_ID = "sty-id";
107
96
  var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
108
97
  var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
109
98
  var win = typeof window !== "undefined" ? window : {};
@@ -161,6 +150,12 @@ var flush = () => {
161
150
  };
162
151
  var nextTick = (cb) => promiseResolve().then(cb);
163
152
  var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
153
+
154
+ // src/utils/constants.ts
155
+ var EMPTY_OBJ = {};
156
+
157
+ // src/utils/helpers.ts
158
+ var isDef = (v) => v != null;
164
159
  var isComplexType = (o) => {
165
160
  o = typeof o;
166
161
  return o === "object" || o === "function";
@@ -342,40 +337,13 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
342
337
  }
343
338
  if (!appliedStyles.has(scopeId2)) {
344
339
  {
345
- styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || doc.createElement("style");
340
+ styleElm = doc.createElement("style");
346
341
  styleElm.innerHTML = style;
347
342
  const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
348
343
  if (nonce != null) {
349
344
  styleElm.setAttribute("nonce", nonce);
350
345
  }
351
- if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
352
- if (styleContainerNode.nodeName === "HEAD") {
353
- const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
354
- const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
355
- styleContainerNode.insertBefore(
356
- styleElm,
357
- (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
358
- );
359
- } else if ("host" in styleContainerNode) {
360
- if (supportsConstructableStylesheets) {
361
- const stylesheet = new CSSStyleSheet();
362
- stylesheet.replaceSync(style);
363
- styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
364
- } else {
365
- const existingStyleContainer = styleContainerNode.querySelector("style");
366
- if (existingStyleContainer) {
367
- existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
368
- } else {
369
- styleContainerNode.prepend(styleElm);
370
- }
371
- }
372
- } else {
373
- styleContainerNode.append(styleElm);
374
- }
375
- }
376
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
377
- styleContainerNode.insertBefore(styleElm, null);
378
- }
346
+ styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
379
347
  }
380
348
  if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
381
349
  styleElm.innerHTML += SLOT_FB_CSS;
@@ -398,25 +366,23 @@ var attachStyles = (hostRef) => {
398
366
  const scopeId2 = addStyle(
399
367
  elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
400
368
  cmpMeta);
401
- if ((flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */ || flags & 128 /* shadowNeedsScopedCss */)) {
369
+ if (flags & 10 /* needsScopedEncapsulation */) {
402
370
  elm["s-sc"] = scopeId2;
403
371
  elm.classList.add(scopeId2 + "-h");
404
372
  }
405
373
  endAttachStyles();
406
374
  };
407
375
  var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
408
- var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
376
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
409
377
  if (oldValue !== newValue) {
410
378
  let isProp = isMemberInElement(elm, memberName);
411
379
  let ln = memberName.toLowerCase();
412
380
  if (memberName === "class") {
413
381
  const classList = elm.classList;
414
382
  const oldClasses = parseClassList(oldValue);
415
- let newClasses = parseClassList(newValue);
416
- {
417
- classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
418
- classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
419
- }
383
+ const newClasses = parseClassList(newValue);
384
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
385
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
420
386
  } else if (memberName === "key") ; else if (memberName === "ref") {
421
387
  if (newValue) {
422
388
  newValue(elm);
@@ -448,13 +414,9 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
448
414
  if (memberName === "list") {
449
415
  isProp = false;
450
416
  } else if (oldValue == null || elm[memberName] != n) {
451
- if (typeof elm.__lookupSetter__(memberName) === "function") {
452
- elm[memberName] = n;
453
- } else {
454
- elm.setAttribute(memberName, n);
455
- }
417
+ elm[memberName] = n;
456
418
  }
457
- } else if (elm[memberName] !== newValue) {
419
+ } else {
458
420
  elm[memberName] = newValue;
459
421
  }
460
422
  } catch (e) {
@@ -476,44 +438,24 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
476
438
  }
477
439
  };
478
440
  var parseClassListRegex = /\s/;
479
- var parseClassList = (value) => {
480
- if (typeof value === "object" && value && "baseVal" in value) {
481
- value = value.baseVal;
482
- }
483
- if (!value || typeof value !== "string") {
484
- return [];
485
- }
486
- return value.split(parseClassListRegex);
487
- };
441
+ var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
488
442
  var CAPTURE_EVENT_SUFFIX = "Capture";
489
443
  var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
490
444
 
491
445
  // src/runtime/vdom/update-element.ts
492
- var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
446
+ var updateElement = (oldVnode, newVnode, isSvgMode2) => {
493
447
  const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
494
- const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
495
- const newVnodeAttrs = newVnode.$attrs$ || {};
448
+ const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
449
+ const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
496
450
  {
497
451
  for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
498
452
  if (!(memberName in newVnodeAttrs)) {
499
- setAccessor(
500
- elm,
501
- memberName,
502
- oldVnodeAttrs[memberName],
503
- void 0,
504
- isSvgMode2,
505
- newVnode.$flags$);
453
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
506
454
  }
507
455
  }
508
456
  }
509
457
  for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
510
- setAccessor(
511
- elm,
512
- memberName,
513
- oldVnodeAttrs[memberName],
514
- newVnodeAttrs[memberName],
515
- isSvgMode2,
516
- newVnode.$flags$);
458
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
517
459
  }
518
460
  };
519
461
  function sortedAttrNames(attrNames) {
@@ -525,10 +467,13 @@ function sortedAttrNames(attrNames) {
525
467
  attrNames
526
468
  );
527
469
  }
470
+
471
+ // src/runtime/vdom/vdom-render.ts
472
+ var scopeId;
528
473
  var hostTagName;
529
474
  var useNativeShadowDom = false;
530
475
  var isSvgMode = false;
531
- var createElm = (oldParentVNode, newParentVNode, childIndex) => {
476
+ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
532
477
  const newVNode2 = newParentVNode.$children$[childIndex];
533
478
  let i2 = 0;
534
479
  let elm;
@@ -542,6 +487,9 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
542
487
  {
543
488
  updateElement(null, newVNode2, isSvgMode);
544
489
  }
490
+ if (isDef(scopeId) && elm["s-si"] !== scopeId) {
491
+ elm.classList.add(elm["s-si"] = scopeId);
492
+ }
545
493
  if (newVNode2.$children$) {
546
494
  for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
547
495
  childNode = createElm(oldParentVNode, newVNode2, i2);
@@ -671,9 +619,6 @@ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
671
619
  if (!isInitialRender) {
672
620
  return leftVNode.$key$ === rightVNode.$key$;
673
621
  }
674
- if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
675
- leftVNode.$key$ = rightVNode.$key$;
676
- }
677
622
  return true;
678
623
  }
679
624
  return false;
@@ -696,10 +641,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
696
641
  elm.textContent = "";
697
642
  }
698
643
  addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
699
- } else if (
700
- // don't do this on initial render as it can cause non-hydrated content to be removed
701
- !isInitialRender && BUILD.updatable && oldChildren !== null
702
- ) {
644
+ } else if (oldChildren !== null) {
703
645
  removeVnodes(oldChildren, 0, oldChildren.length - 1);
704
646
  }
705
647
  } else if (oldVNode.$text$ !== text) {
@@ -713,9 +655,8 @@ var nullifyVNodeRefs = (vNode) => {
713
655
  }
714
656
  };
715
657
  var insertBefore = (parent, newNode, reference) => {
716
- {
717
- return parent == null ? void 0 : parent.insertBefore(newNode, reference);
718
- }
658
+ const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
659
+ return inserted;
719
660
  };
720
661
  var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
721
662
  const hostElm = hostRef.$hostElement$;
@@ -740,21 +681,17 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
740
681
  rootVnode.$flags$ |= 4 /* isHost */;
741
682
  hostRef.$vnode$ = rootVnode;
742
683
  rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
743
- useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
684
+ {
685
+ scopeId = hostElm["s-sc"];
686
+ }
687
+ useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
744
688
  patch(oldVNode, rootVnode, isInitialLoad);
745
689
  };
746
690
 
747
691
  // src/runtime/update-component.ts
748
692
  var attachToAncestor = (hostRef, ancestorComponent) => {
749
693
  if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
750
- const index = ancestorComponent["s-p"].push(
751
- new Promise(
752
- (r) => hostRef.$onRenderResolve$ = () => {
753
- ancestorComponent["s-p"].splice(index - 1, 1);
754
- r();
755
- }
756
- )
757
- );
694
+ ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
758
695
  }
759
696
  };
760
697
  var scheduleUpdate = (hostRef, isInitialLoad) => {
@@ -781,7 +718,7 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
781
718
  let maybePromise;
782
719
  if (isInitialLoad) {
783
720
  {
784
- maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
721
+ maybePromise = safeCall(instance, "componentWillLoad");
785
722
  }
786
723
  }
787
724
  endSchedule();
@@ -855,7 +792,7 @@ var postUpdateComponent = (hostRef) => {
855
792
  addHydratedFlag(elm);
856
793
  }
857
794
  {
858
- safeCall(instance, "componentDidLoad", void 0, elm);
795
+ safeCall(instance, "componentDidLoad");
859
796
  }
860
797
  endPostUpdate();
861
798
  {
@@ -879,14 +816,17 @@ var postUpdateComponent = (hostRef) => {
879
816
  }
880
817
  };
881
818
  var appDidLoad = (who) => {
819
+ {
820
+ addHydratedFlag(doc.documentElement);
821
+ }
882
822
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
883
823
  };
884
- var safeCall = (instance, method, arg, elm) => {
824
+ var safeCall = (instance, method, arg) => {
885
825
  if (instance && instance[method]) {
886
826
  try {
887
827
  return instance[method](arg);
888
828
  } catch (e) {
889
- consoleError(e, elm);
829
+ consoleError(e);
890
830
  }
891
831
  }
892
832
  return void 0;
@@ -945,68 +885,15 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
945
885
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
946
886
  members.map(([memberName, [memberFlags]]) => {
947
887
  if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
948
- const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
949
- if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
950
- if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
951
- if (flags & 1 /* isElementConstructor */ || !origGetter) {
952
- Object.defineProperty(prototype, memberName, {
953
- get() {
954
- {
955
- if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
956
- return getValue(this, memberName);
957
- }
958
- const ref = getHostRef(this);
959
- const instance = ref ? ref.$lazyInstance$ : prototype;
960
- if (!instance) return;
961
- return instance[memberName];
962
- }
963
- },
964
- configurable: true,
965
- enumerable: true
966
- });
967
- }
968
888
  Object.defineProperty(prototype, memberName, {
889
+ get() {
890
+ return getValue(this, memberName);
891
+ },
969
892
  set(newValue) {
970
- const ref = getHostRef(this);
971
- if (origSetter) {
972
- const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
973
- if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
974
- newValue = ref.$instanceValues$.get(memberName);
975
- } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
976
- ref.$instanceValues$.set(memberName, currentValue);
977
- }
978
- origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
979
- newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
980
- setValue(this, memberName, newValue, cmpMeta);
981
- return;
982
- }
983
- {
984
- if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
985
- setValue(this, memberName, newValue, cmpMeta);
986
- if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
987
- ref.$onReadyPromise$.then(() => {
988
- if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
989
- ref.$lazyInstance$[memberName] = newValue;
990
- }
991
- });
992
- }
993
- return;
994
- }
995
- const setterSetVal = () => {
996
- const currentValue = ref.$lazyInstance$[memberName];
997
- if (!ref.$instanceValues$.get(memberName) && currentValue) {
998
- ref.$instanceValues$.set(memberName, currentValue);
999
- }
1000
- ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
1001
- setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
1002
- };
1003
- if (ref.$lazyInstance$) {
1004
- setterSetVal();
1005
- } else {
1006
- ref.$onReadyPromise$.then(() => setterSetVal());
1007
- }
1008
- }
1009
- }
893
+ setValue(this, memberName, newValue, cmpMeta);
894
+ },
895
+ configurable: true,
896
+ enumerable: true
1010
897
  });
1011
898
  }
1012
899
  });
@@ -1016,11 +903,10 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1016
903
  plt.jmp(() => {
1017
904
  var _a2;
1018
905
  const propName = attrNameToPropName.get(attrName);
1019
- if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
906
+ if (this.hasOwnProperty(propName)) {
1020
907
  newValue = this[propName];
1021
908
  delete this[propName];
1022
- } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
1023
- this[propName] == newValue) {
909
+ } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && this[propName] == newValue) {
1024
910
  return;
1025
911
  } else if (propName == null) {
1026
912
  const hostRef = getHostRef(this);
@@ -1036,11 +922,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1036
922
  }
1037
923
  return;
1038
924
  }
1039
- const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
1040
- newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1041
- if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
1042
- this[propName] = newValue;
1043
- }
925
+ this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1044
926
  });
1045
927
  };
1046
928
  Cstr.observedAttributes = Array.from(
@@ -1069,7 +951,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1069
951
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1070
952
  const bundleId = cmpMeta.$lazyBundleId$;
1071
953
  if (bundleId) {
1072
- const CstrImport = loadModule(cmpMeta, hostRef);
954
+ const CstrImport = loadModule(cmpMeta);
1073
955
  if (CstrImport && "then" in CstrImport) {
1074
956
  const endLoad = uniqueTime();
1075
957
  Cstr = await CstrImport;
@@ -1094,7 +976,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1094
976
  try {
1095
977
  new Cstr(hostRef);
1096
978
  } catch (e) {
1097
- consoleError(e, elm);
979
+ consoleError(e);
1098
980
  }
1099
981
  {
1100
982
  hostRef.$flags$ &= ~8 /* isConstructingInstance */;
@@ -1129,7 +1011,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1129
1011
  schedule();
1130
1012
  }
1131
1013
  };
1132
- var fireConnectedCallback = (instance, elm) => {
1014
+ var fireConnectedCallback = (instance) => {
1133
1015
  };
1134
1016
 
1135
1017
  // src/runtime/connected-callback.ts
@@ -1169,26 +1051,20 @@ var connectedCallback = (elm) => {
1169
1051
  endConnected();
1170
1052
  }
1171
1053
  };
1172
- var disconnectInstance = (instance, elm) => {
1054
+ var disconnectInstance = (instance) => {
1173
1055
  {
1174
- safeCall(instance, "disconnectedCallback", void 0, elm || instance);
1056
+ safeCall(instance, "disconnectedCallback");
1175
1057
  }
1176
1058
  };
1177
1059
  var disconnectedCallback = async (elm) => {
1178
1060
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1179
1061
  const hostRef = getHostRef(elm);
1180
1062
  if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1181
- disconnectInstance(hostRef.$lazyInstance$, elm);
1063
+ disconnectInstance(hostRef.$lazyInstance$);
1182
1064
  } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1183
- hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$, elm));
1065
+ hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$));
1184
1066
  }
1185
1067
  }
1186
- if (rootAppliedStyles.has(elm)) {
1187
- rootAppliedStyles.delete(elm);
1188
- }
1189
- if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
1190
- rootAppliedStyles.delete(elm.shadowRoot);
1191
- }
1192
1068
  };
1193
1069
 
1194
1070
  // src/runtime/bootstrap-lazy.ts
@@ -1269,17 +1145,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1269
1145
  }
1270
1146
  disconnectedCallback() {
1271
1147
  plt.jmp(() => disconnectedCallback(this));
1272
- plt.raf(() => {
1273
- var _a3;
1274
- const hostRef = getHostRef(this);
1275
- const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
1276
- if (i2 > -1) {
1277
- deferredConnectedCallbacks.splice(i2, 1);
1278
- }
1279
- if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
1280
- delete hostRef.$vnode$.$elm$;
1281
- }
1282
- });
1283
1148
  }
1284
1149
  componentOnReady() {
1285
1150
  return getHostRef(this).$onReadyPromise$;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-2de7dcf7.js');
5
+ const index = require('./index-c10a634b.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  const defineCustomElements = async (win, options) => {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-2de7dcf7.js');
5
+ const index = require('./index-c10a634b.js');
6
6
 
7
7
  const DEFAULT_LANGUAGE = 'en';
8
8
  const TRANSLATIONS = {
@@ -257,29 +257,21 @@ const PlayerSmsVerificationStyle0 = playerSmsVerificationCss;
257
257
  const PlayerSmsVerification = class {
258
258
  constructor(hostRef) {
259
259
  index.registerInstance(this, hostRef);
260
- /**
261
- * Currently selected language
262
- */
260
+ // Other variables
261
+ this.btnResendCount = 60;
262
+ this.isCodeSentOnce = false;
263
+ this.isBtnSendAvailable = true;
264
+ this.endpoint = undefined;
265
+ this.userId = undefined;
263
266
  this.lang = 'en';
264
- /**
265
- * Client custom styling via inline styles
266
- */
267
267
  this.clientStyling = '';
268
- /**
269
- * Client custom styling via url
270
- */
271
268
  this.clientStylingUrl = '';
272
- /**
273
- * Translations via URL
274
- */
269
+ this.mbSource = undefined;
275
270
  this.translationUrl = '';
271
+ this.tempBtnResendCount = undefined;
276
272
  this.code = '';
277
273
  this.errMsg = '';
278
274
  this.msgEnterCode = '';
279
- // Other variables
280
- this.btnResendCount = 60;
281
- this.isCodeSentOnce = false;
282
- this.isBtnSendAvailable = true;
283
275
  }
284
276
  handleClientStylingChange(newValue, oldValue) {
285
277
  if (newValue != oldValue) {
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-2de7dcf7.js');
5
+ const index = require('./index-c10a634b.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  /*
9
- Stencil Client Patch Browser v4.26.0 | MIT Licensed | https://stenciljs.com
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('player-sms-verification.cjs.js', document.baseURI).href));
@@ -4,8 +4,8 @@
4
4
  ],
5
5
  "compiler": {
6
6
  "name": "@stencil/core",
7
- "version": "4.26.0",
8
- "typescriptVersion": "5.5.4"
7
+ "version": "4.19.2",
8
+ "typescriptVersion": "5.4.5"
9
9
  },
10
10
  "collections": [],
11
11
  "bundles": []