@everymatrix/casino-engagement-suite-jackpot-details 1.56.0 → 1.56.3

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 (29) hide show
  1. package/dist/casino-engagement-suite-jackpot-details/casino-engagement-suite-jackpot-details.esm.js +1 -1
  2. package/dist/casino-engagement-suite-jackpot-details/p-1406eb6b.js +2 -0
  3. package/dist/casino-engagement-suite-jackpot-details/{p-0b530d04.entry.js → p-1c3958d0.entry.js} +1 -1
  4. package/dist/casino-engagement-suite-jackpot-details/p-6e07926a.entry.js +1 -0
  5. package/dist/cjs/casino-engagement-suite-jackpot-details.cjs.entry.js +20 -31
  6. package/dist/cjs/casino-engagement-suite-jackpot-details.cjs.js +2 -2
  7. package/dist/cjs/casino-engagement-suite-progress-bar.cjs.entry.js +8 -26
  8. package/dist/cjs/{index-bf875f95.js → index-dd964ee8.js} +71 -206
  9. package/dist/cjs/loader.cjs.js +1 -1
  10. package/dist/collection/collection-manifest.json +2 -2
  11. package/dist/collection/components/casino-engagement-suite-jackpot-details/casino-engagement-suite-jackpot-details.js +21 -46
  12. package/dist/esm/casino-engagement-suite-jackpot-details.entry.js +20 -31
  13. package/dist/esm/casino-engagement-suite-jackpot-details.js +3 -3
  14. package/dist/esm/casino-engagement-suite-progress-bar.entry.js +8 -26
  15. package/dist/esm/{index-0ce0e283.js → index-9c79c75d.js} +71 -206
  16. package/dist/esm/loader.js +2 -2
  17. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-engagement-suite-jackpot-details/.stencil/packages/stencil/casino-engagement-suite-jackpot-details/stencil.config.d.ts +2 -0
  18. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-engagement-suite-jackpot-details/.stencil/packages/stencil/casino-engagement-suite-jackpot-details/stencil.config.dev.d.ts +2 -0
  19. package/dist/types/components/casino-engagement-suite-jackpot-details/casino-engagement-suite-jackpot-details.d.ts +1 -1
  20. package/dist/types/stencil-public-runtime.d.ts +0 -6
  21. package/package.json +1 -1
  22. package/dist/casino-engagement-suite-jackpot-details/p-9ccbc802.js +0 -2
  23. package/dist/casino-engagement-suite-jackpot-details/p-d318c6b3.entry.js +0 -1
  24. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-engagement-suite-jackpot-details/.stencil/packages/stencil/casino-engagement-suite-jackpot-details/stencil.config.d.ts +0 -2
  25. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-engagement-suite-jackpot-details/.stencil/packages/stencil/casino-engagement-suite-jackpot-details/stencil.config.dev.d.ts +0 -2
  26. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-jackpot-details/.stencil/tools/plugins/index.d.ts +0 -0
  27. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-jackpot-details/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  28. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-jackpot-details/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  29. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-jackpot-details/.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 = 'casino-engagement-suite-jackpot-details';
24
- const BUILD = /* casino-engagement-suite-jackpot-details */ { 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: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: true, 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: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, 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: true, vdomText: true, vdomXlink: false, watchCallback: true };
24
+ const BUILD = /* casino-engagement-suite-jackpot-details */ { 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: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: true, 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: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, 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: true, 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);
@@ -92,22 +87,16 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
92
87
  /* webpackExclude: /\.system\.entry\.js$/ */
93
88
  /* webpackMode: "lazy" */
94
89
  `./${bundleId}.entry.js${""}`
95
- )); }).then(
96
- (importedModule) => {
97
- {
98
- cmpModules.set(bundleId, importedModule);
99
- }
100
- return importedModule[exportName];
101
- },
102
- (e) => {
103
- consoleError(e, hostRef.$hostElement$);
90
+ )); }).then((importedModule) => {
91
+ {
92
+ cmpModules.set(bundleId, importedModule);
104
93
  }
105
- );
94
+ return importedModule[exportName];
95
+ }, consoleError);
106
96
  };
107
97
 
108
98
  // src/client/client-style.ts
109
99
  var styles = /* @__PURE__ */ new Map();
110
- var HYDRATED_STYLE_ID = "sty-id";
111
100
  var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
112
101
  var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
113
102
  var win = typeof window !== "undefined" ? window : {};
@@ -181,6 +170,12 @@ var flush = () => {
181
170
  };
182
171
  var nextTick = (cb) => promiseResolve().then(cb);
183
172
  var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
173
+
174
+ // src/utils/constants.ts
175
+ var EMPTY_OBJ = {};
176
+
177
+ // src/utils/helpers.ts
178
+ var isDef = (v) => v != null;
184
179
  var isComplexType = (o) => {
185
180
  o = typeof o;
186
181
  return o === "object" || o === "function";
@@ -384,40 +379,13 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
384
379
  }
385
380
  if (!appliedStyles.has(scopeId2)) {
386
381
  {
387
- styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || doc.createElement("style");
382
+ styleElm = doc.createElement("style");
388
383
  styleElm.innerHTML = style;
389
384
  const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
390
385
  if (nonce != null) {
391
386
  styleElm.setAttribute("nonce", nonce);
392
387
  }
393
- if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
394
- if (styleContainerNode.nodeName === "HEAD") {
395
- const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
396
- const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
397
- styleContainerNode.insertBefore(
398
- styleElm,
399
- (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
400
- );
401
- } else if ("host" in styleContainerNode) {
402
- if (supportsConstructableStylesheets) {
403
- const stylesheet = new CSSStyleSheet();
404
- stylesheet.replaceSync(style);
405
- styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
406
- } else {
407
- const existingStyleContainer = styleContainerNode.querySelector("style");
408
- if (existingStyleContainer) {
409
- existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
410
- } else {
411
- styleContainerNode.prepend(styleElm);
412
- }
413
- }
414
- } else {
415
- styleContainerNode.append(styleElm);
416
- }
417
- }
418
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
419
- styleContainerNode.insertBefore(styleElm, null);
420
- }
388
+ styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
421
389
  }
422
390
  if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
423
391
  styleElm.innerHTML += SLOT_FB_CSS;
@@ -440,25 +408,23 @@ var attachStyles = (hostRef) => {
440
408
  const scopeId2 = addStyle(
441
409
  elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
442
410
  cmpMeta);
443
- if ((flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */ || flags & 128 /* shadowNeedsScopedCss */)) {
411
+ if (flags & 10 /* needsScopedEncapsulation */) {
444
412
  elm["s-sc"] = scopeId2;
445
413
  elm.classList.add(scopeId2 + "-h");
446
414
  }
447
415
  endAttachStyles();
448
416
  };
449
417
  var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
450
- var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
418
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
451
419
  if (oldValue !== newValue) {
452
420
  let isProp = isMemberInElement(elm, memberName);
453
421
  let ln = memberName.toLowerCase();
454
422
  if (memberName === "class") {
455
423
  const classList = elm.classList;
456
424
  const oldClasses = parseClassList(oldValue);
457
- let newClasses = parseClassList(newValue);
458
- {
459
- classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
460
- classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
461
- }
425
+ const newClasses = parseClassList(newValue);
426
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
427
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
462
428
  } else if (memberName === "style") {
463
429
  {
464
430
  for (const prop in oldValue) {
@@ -511,13 +477,9 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
511
477
  if (memberName === "list") {
512
478
  isProp = false;
513
479
  } else if (oldValue == null || elm[memberName] != n) {
514
- if (typeof elm.__lookupSetter__(memberName) === "function") {
515
- elm[memberName] = n;
516
- } else {
517
- elm.setAttribute(memberName, n);
518
- }
480
+ elm[memberName] = n;
519
481
  }
520
- } else if (elm[memberName] !== newValue) {
482
+ } else {
521
483
  elm[memberName] = newValue;
522
484
  }
523
485
  } catch (e) {
@@ -539,44 +501,24 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
539
501
  }
540
502
  };
541
503
  var parseClassListRegex = /\s/;
542
- var parseClassList = (value) => {
543
- if (typeof value === "object" && value && "baseVal" in value) {
544
- value = value.baseVal;
545
- }
546
- if (!value || typeof value !== "string") {
547
- return [];
548
- }
549
- return value.split(parseClassListRegex);
550
- };
504
+ var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
551
505
  var CAPTURE_EVENT_SUFFIX = "Capture";
552
506
  var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
553
507
 
554
508
  // src/runtime/vdom/update-element.ts
555
- var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
509
+ var updateElement = (oldVnode, newVnode, isSvgMode2) => {
556
510
  const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
557
- const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
558
- const newVnodeAttrs = newVnode.$attrs$ || {};
511
+ const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
512
+ const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
559
513
  {
560
514
  for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
561
515
  if (!(memberName in newVnodeAttrs)) {
562
- setAccessor(
563
- elm,
564
- memberName,
565
- oldVnodeAttrs[memberName],
566
- void 0,
567
- isSvgMode2,
568
- newVnode.$flags$);
516
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
569
517
  }
570
518
  }
571
519
  }
572
520
  for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
573
- setAccessor(
574
- elm,
575
- memberName,
576
- oldVnodeAttrs[memberName],
577
- newVnodeAttrs[memberName],
578
- isSvgMode2,
579
- newVnode.$flags$);
521
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
580
522
  }
581
523
  };
582
524
  function sortedAttrNames(attrNames) {
@@ -588,10 +530,13 @@ function sortedAttrNames(attrNames) {
588
530
  attrNames
589
531
  );
590
532
  }
533
+
534
+ // src/runtime/vdom/vdom-render.ts
535
+ var scopeId;
591
536
  var hostTagName;
592
537
  var useNativeShadowDom = false;
593
538
  var isSvgMode = false;
594
- var createElm = (oldParentVNode, newParentVNode, childIndex) => {
539
+ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
595
540
  const newVNode2 = newParentVNode.$children$[childIndex];
596
541
  let i2 = 0;
597
542
  let elm;
@@ -605,6 +550,9 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
605
550
  {
606
551
  updateElement(null, newVNode2, isSvgMode);
607
552
  }
553
+ if (isDef(scopeId) && elm["s-si"] !== scopeId) {
554
+ elm.classList.add(elm["s-si"] = scopeId);
555
+ }
608
556
  if (newVNode2.$children$) {
609
557
  for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
610
558
  childNode = createElm(oldParentVNode, newVNode2, i2);
@@ -734,9 +682,6 @@ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
734
682
  if (!isInitialRender) {
735
683
  return leftVNode.$key$ === rightVNode.$key$;
736
684
  }
737
- if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
738
- leftVNode.$key$ = rightVNode.$key$;
739
- }
740
685
  return true;
741
686
  }
742
687
  return false;
@@ -760,10 +705,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
760
705
  elm.textContent = "";
761
706
  }
762
707
  addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
763
- } else if (
764
- // don't do this on initial render as it can cause non-hydrated content to be removed
765
- !isInitialRender && BUILD.updatable && oldChildren !== null
766
- ) {
708
+ } else if (oldChildren !== null) {
767
709
  removeVnodes(oldChildren, 0, oldChildren.length - 1);
768
710
  }
769
711
  } else if (oldVNode.$text$ !== text) {
@@ -777,9 +719,8 @@ var nullifyVNodeRefs = (vNode) => {
777
719
  }
778
720
  };
779
721
  var insertBefore = (parent, newNode, reference) => {
780
- {
781
- return parent == null ? void 0 : parent.insertBefore(newNode, reference);
782
- }
722
+ const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
723
+ return inserted;
783
724
  };
784
725
  var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
785
726
  const hostElm = hostRef.$hostElement$;
@@ -804,21 +745,17 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
804
745
  rootVnode.$flags$ |= 4 /* isHost */;
805
746
  hostRef.$vnode$ = rootVnode;
806
747
  rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
807
- useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
748
+ {
749
+ scopeId = hostElm["s-sc"];
750
+ }
751
+ useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
808
752
  patch(oldVNode, rootVnode, isInitialLoad);
809
753
  };
810
754
 
811
755
  // src/runtime/update-component.ts
812
756
  var attachToAncestor = (hostRef, ancestorComponent) => {
813
757
  if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
814
- const index = ancestorComponent["s-p"].push(
815
- new Promise(
816
- (r) => hostRef.$onRenderResolve$ = () => {
817
- ancestorComponent["s-p"].splice(index - 1, 1);
818
- r();
819
- }
820
- )
821
- );
758
+ ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
822
759
  }
823
760
  };
824
761
  var scheduleUpdate = (hostRef, isInitialLoad) => {
@@ -847,12 +784,12 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
847
784
  {
848
785
  hostRef.$flags$ |= 256 /* isListenReady */;
849
786
  if (hostRef.$queuedListeners$) {
850
- hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event, elm));
787
+ hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
851
788
  hostRef.$queuedListeners$ = void 0;
852
789
  }
853
790
  }
854
791
  {
855
- maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
792
+ maybePromise = safeCall(instance, "componentWillLoad");
856
793
  }
857
794
  }
858
795
  endSchedule();
@@ -921,7 +858,7 @@ var postUpdateComponent = (hostRef) => {
921
858
  const instance = hostRef.$lazyInstance$ ;
922
859
  const ancestorComponent = hostRef.$ancestorComponent$;
923
860
  {
924
- safeCall(instance, "componentDidRender", void 0, elm);
861
+ safeCall(instance, "componentDidRender");
925
862
  }
926
863
  if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
927
864
  hostRef.$flags$ |= 64 /* hasLoadedComponent */;
@@ -950,14 +887,17 @@ var postUpdateComponent = (hostRef) => {
950
887
  }
951
888
  };
952
889
  var appDidLoad = (who) => {
890
+ {
891
+ addHydratedFlag(doc.documentElement);
892
+ }
953
893
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
954
894
  };
955
- var safeCall = (instance, method, arg, elm) => {
895
+ var safeCall = (instance, method, arg) => {
956
896
  if (instance && instance[method]) {
957
897
  try {
958
898
  return instance[method](arg);
959
899
  } catch (e) {
960
- consoleError(e, elm);
900
+ consoleError(e);
961
901
  }
962
902
  }
963
903
  return void 0;
@@ -1016,68 +956,15 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1016
956
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
1017
957
  members.map(([memberName, [memberFlags]]) => {
1018
958
  if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
1019
- const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
1020
- if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
1021
- if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
1022
- if (flags & 1 /* isElementConstructor */ || !origGetter) {
1023
- Object.defineProperty(prototype, memberName, {
1024
- get() {
1025
- {
1026
- if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
1027
- return getValue(this, memberName);
1028
- }
1029
- const ref = getHostRef(this);
1030
- const instance = ref ? ref.$lazyInstance$ : prototype;
1031
- if (!instance) return;
1032
- return instance[memberName];
1033
- }
1034
- },
1035
- configurable: true,
1036
- enumerable: true
1037
- });
1038
- }
1039
959
  Object.defineProperty(prototype, memberName, {
960
+ get() {
961
+ return getValue(this, memberName);
962
+ },
1040
963
  set(newValue) {
1041
- const ref = getHostRef(this);
1042
- if (origSetter) {
1043
- const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1044
- if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
1045
- newValue = ref.$instanceValues$.get(memberName);
1046
- } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
1047
- ref.$instanceValues$.set(memberName, currentValue);
1048
- }
1049
- origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
1050
- newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1051
- setValue(this, memberName, newValue, cmpMeta);
1052
- return;
1053
- }
1054
- {
1055
- if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
1056
- setValue(this, memberName, newValue, cmpMeta);
1057
- if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
1058
- ref.$onReadyPromise$.then(() => {
1059
- if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
1060
- ref.$lazyInstance$[memberName] = newValue;
1061
- }
1062
- });
1063
- }
1064
- return;
1065
- }
1066
- const setterSetVal = () => {
1067
- const currentValue = ref.$lazyInstance$[memberName];
1068
- if (!ref.$instanceValues$.get(memberName) && currentValue) {
1069
- ref.$instanceValues$.set(memberName, currentValue);
1070
- }
1071
- ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
1072
- setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
1073
- };
1074
- if (ref.$lazyInstance$) {
1075
- setterSetVal();
1076
- } else {
1077
- ref.$onReadyPromise$.then(() => setterSetVal());
1078
- }
1079
- }
1080
- }
964
+ setValue(this, memberName, newValue, cmpMeta);
965
+ },
966
+ configurable: true,
967
+ enumerable: true
1081
968
  });
1082
969
  }
1083
970
  });
@@ -1087,11 +974,10 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1087
974
  plt.jmp(() => {
1088
975
  var _a2;
1089
976
  const propName = attrNameToPropName.get(attrName);
1090
- if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
977
+ if (this.hasOwnProperty(propName)) {
1091
978
  newValue = this[propName];
1092
979
  delete this[propName];
1093
- } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
1094
- this[propName] == newValue) {
980
+ } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && this[propName] == newValue) {
1095
981
  return;
1096
982
  } else if (propName == null) {
1097
983
  const hostRef = getHostRef(this);
@@ -1107,11 +993,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1107
993
  }
1108
994
  return;
1109
995
  }
1110
- const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
1111
- newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1112
- if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
1113
- this[propName] = newValue;
1114
- }
996
+ this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1115
997
  });
1116
998
  };
1117
999
  Cstr.observedAttributes = Array.from(
@@ -1140,7 +1022,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1140
1022
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1141
1023
  const bundleId = cmpMeta.$lazyBundleId$;
1142
1024
  if (bundleId) {
1143
- const CstrImport = loadModule(cmpMeta, hostRef);
1025
+ const CstrImport = loadModule(cmpMeta);
1144
1026
  if (CstrImport && "then" in CstrImport) {
1145
1027
  const endLoad = uniqueTime();
1146
1028
  Cstr = await CstrImport;
@@ -1165,7 +1047,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1165
1047
  try {
1166
1048
  new Cstr(hostRef);
1167
1049
  } catch (e) {
1168
- consoleError(e, elm);
1050
+ consoleError(e);
1169
1051
  }
1170
1052
  {
1171
1053
  hostRef.$flags$ &= ~8 /* isConstructingInstance */;
@@ -1200,7 +1082,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1200
1082
  schedule();
1201
1083
  }
1202
1084
  };
1203
- var fireConnectedCallback = (instance, elm) => {
1085
+ var fireConnectedCallback = (instance) => {
1204
1086
  };
1205
1087
 
1206
1088
  // src/runtime/connected-callback.ts
@@ -1241,9 +1123,9 @@ var connectedCallback = (elm) => {
1241
1123
  endConnected();
1242
1124
  }
1243
1125
  };
1244
- var disconnectInstance = (instance, elm) => {
1126
+ var disconnectInstance = (instance) => {
1245
1127
  {
1246
- safeCall(instance, "disconnectedCallback", void 0, elm || instance);
1128
+ safeCall(instance, "disconnectedCallback");
1247
1129
  }
1248
1130
  };
1249
1131
  var disconnectedCallback = async (elm) => {
@@ -1256,17 +1138,11 @@ var disconnectedCallback = async (elm) => {
1256
1138
  }
1257
1139
  }
1258
1140
  if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1259
- disconnectInstance(hostRef.$lazyInstance$, elm);
1141
+ disconnectInstance(hostRef.$lazyInstance$);
1260
1142
  } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1261
- hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$, elm));
1143
+ hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$));
1262
1144
  }
1263
1145
  }
1264
- if (rootAppliedStyles.has(elm)) {
1265
- rootAppliedStyles.delete(elm);
1266
- }
1267
- if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
1268
- rootAppliedStyles.delete(elm.shadowRoot);
1269
- }
1270
1146
  };
1271
1147
 
1272
1148
  // src/runtime/bootstrap-lazy.ts
@@ -1351,17 +1227,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1351
1227
  }
1352
1228
  disconnectedCallback() {
1353
1229
  plt.jmp(() => disconnectedCallback(this));
1354
- plt.raf(() => {
1355
- var _a3;
1356
- const hostRef = getHostRef(this);
1357
- const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
1358
- if (i2 > -1) {
1359
- deferredConnectedCallbacks.splice(i2, 1);
1360
- }
1361
- if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
1362
- delete hostRef.$vnode$.$elm$;
1363
- }
1364
- });
1365
1230
  }
1366
1231
  componentOnReady() {
1367
1232
  return getHostRef(this).$onReadyPromise$;
@@ -1425,7 +1290,7 @@ var hostListenerProxy = (hostRef, methodName) => (ev) => {
1425
1290
  }
1426
1291
  }
1427
1292
  } catch (e) {
1428
- consoleError(e, hostRef.$hostElement$);
1293
+ consoleError(e);
1429
1294
  }
1430
1295
  };
1431
1296
  var getHostListenerTarget = (elm, flags) => {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-bf875f95.js');
5
+ const index = require('./index-dd964ee8.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  const defineCustomElements = async (win, options) => {
@@ -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
  {
@@ -5,36 +5,6 @@ import "../../../../../casino-engagement-suite-progress-bar/dist/types/index";
5
5
  import { formatBalance } from "../../utils";
6
6
  export class CasinoEngagementSuiteJackpotDetails {
7
7
  constructor() {
8
- /**
9
- * Client custom styling via string
10
- */
11
- this.clientStyling = '';
12
- /**
13
- * Client custom styling via url
14
- */
15
- this.clientStylingUrl = '';
16
- /**
17
- * Language of the widget
18
- */
19
- this.language = 'en';
20
- /**
21
- * Current game slug
22
- */
23
- this.gameSlug = '';
24
- /**
25
- * User's device type
26
- */
27
- this.device = 'Mobile';
28
- this.limitStylingAppends = false;
29
- this.timer = '';
30
- this.disabledStatus = '';
31
- this.activeTab = 1;
32
- this.visibleGames = [];
33
- this.enabled = false;
34
- this.showDetails = false;
35
- this.jackpotEndTime = '';
36
- this.tooltip = '';
37
- this.partialWins = '';
38
8
  this.maxVisibleGames = 0;
39
9
  this.handleTabChange = (e) => {
40
10
  this.activeTab = +(e.target.getAttribute('data-index'));
@@ -91,6 +61,25 @@ export class CasinoEngagementSuiteJackpotDetails {
91
61
  });
92
62
  }
93
63
  };
64
+ this.clientStyling = '';
65
+ this.clientStylingUrl = '';
66
+ this.jackpot = undefined;
67
+ this.jackpotChangeStatusRequest = undefined;
68
+ this.language = 'en';
69
+ this.gameSlug = '';
70
+ this.device = 'Mobile';
71
+ this.limitStylingAppends = false;
72
+ this.timer = '';
73
+ this.disabledStatus = '';
74
+ this.activeTab = 1;
75
+ this.visibleGames = [];
76
+ this.enabled = false;
77
+ this.balance = undefined;
78
+ this.winBalance = undefined;
79
+ this.showDetails = false;
80
+ this.jackpotEndTime = '';
81
+ this.tooltip = '';
82
+ this.partialWins = '';
94
83
  }
95
84
  handleEvent(e) {
96
85
  const { type, data } = e === null || e === void 0 ? void 0 : e.data;
@@ -313,8 +302,6 @@ export class CasinoEngagementSuiteJackpotDetails {
313
302
  "tags": [],
314
303
  "text": "Client custom styling via string"
315
304
  },
316
- "getter": false,
317
- "setter": false,
318
305
  "attribute": "client-styling",
319
306
  "reflect": true,
320
307
  "defaultValue": "''"
@@ -333,8 +320,6 @@ export class CasinoEngagementSuiteJackpotDetails {
333
320
  "tags": [],
334
321
  "text": "Client custom styling via url"
335
322
  },
336
- "getter": false,
337
- "setter": false,
338
323
  "attribute": "client-styling-url",
339
324
  "reflect": true,
340
325
  "defaultValue": "''"
@@ -358,9 +343,7 @@ export class CasinoEngagementSuiteJackpotDetails {
358
343
  "docs": {
359
344
  "tags": [],
360
345
  "text": "Selected jackpot"
361
- },
362
- "getter": false,
363
- "setter": false
346
+ }
364
347
  },
365
348
  "jackpotChangeStatusRequest": {
366
349
  "type": "unknown",
@@ -380,9 +363,7 @@ export class CasinoEngagementSuiteJackpotDetails {
380
363
  "docs": {
381
364
  "tags": [],
382
365
  "text": "Change jackpot status"
383
- },
384
- "getter": false,
385
- "setter": false
366
+ }
386
367
  },
387
368
  "language": {
388
369
  "type": "string",
@@ -398,8 +379,6 @@ export class CasinoEngagementSuiteJackpotDetails {
398
379
  "tags": [],
399
380
  "text": "Language of the widget"
400
381
  },
401
- "getter": false,
402
- "setter": false,
403
382
  "attribute": "language",
404
383
  "reflect": false,
405
384
  "defaultValue": "'en'"
@@ -418,8 +397,6 @@ export class CasinoEngagementSuiteJackpotDetails {
418
397
  "tags": [],
419
398
  "text": "Current game slug"
420
399
  },
421
- "getter": false,
422
- "setter": false,
423
400
  "attribute": "game-slug",
424
401
  "reflect": false,
425
402
  "defaultValue": "''"
@@ -438,8 +415,6 @@ export class CasinoEngagementSuiteJackpotDetails {
438
415
  "tags": [],
439
416
  "text": "User's device type"
440
417
  },
441
- "getter": false,
442
- "setter": false,
443
418
  "attribute": "device",
444
419
  "reflect": false,
445
420
  "defaultValue": "'Mobile' as 'Mobile' | 'Tablet' | 'Desktop'"