@everymatrix/casino-tournament-banner 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 (25) hide show
  1. package/dist/casino-tournament-banner/casino-tournament-banner.esm.js +1 -1
  2. package/dist/casino-tournament-banner/p-6e64cd47.entry.js +9 -0
  3. package/dist/casino-tournament-banner/p-ac8cc1ef.js +2 -0
  4. package/dist/cjs/casino-tournament-banner.cjs.js +2 -2
  5. package/dist/cjs/casino-tournament-banner_2.cjs.entry.js +403 -405
  6. package/dist/cjs/{index-0b07ce8b.js → index-0c7c7ceb.js} +70 -207
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/collection/collection-manifest.json +2 -2
  9. package/dist/collection/components/casino-tournament-banner/casino-tournament-banner.js +26 -82
  10. package/dist/esm/casino-tournament-banner.js +3 -3
  11. package/dist/esm/casino-tournament-banner_2.entry.js +403 -405
  12. package/dist/esm/{index-35b94b68.js → index-4dc9a6b7.js} +70 -207
  13. package/dist/esm/loader.js +2 -2
  14. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-tournament-banner/.stencil/packages/stencil/casino-tournament-banner/stencil.config.d.ts +2 -0
  15. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-tournament-banner/.stencil/packages/stencil/casino-tournament-banner/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/casino-tournament-banner/p-84129bcd.entry.js +0 -9
  19. package/dist/casino-tournament-banner/p-91da2a22.js +0 -2
  20. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-tournament-banner/.stencil/packages/stencil/casino-tournament-banner/stencil.config.d.ts +0 -2
  21. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-tournament-banner/.stencil/packages/stencil/casino-tournament-banner/stencil.config.dev.d.ts +0 -2
  22. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-tournament-banner/.stencil/tools/plugins/index.d.ts +0 -0
  23. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-tournament-banner/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  24. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-tournament-banner/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  25. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-tournament-banner/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -1,25 +1,17 @@
1
1
  const NAMESPACE = 'casino-tournament-banner';
2
- const BUILD = /* casino-tournament-banner */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: 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: false, 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: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: true };
2
+ const BUILD = /* casino-tournament-banner */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: 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: false, 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: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: true };
3
3
 
4
4
  /*
5
- Stencil Client Platform v4.26.0 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Platform v4.19.2 | MIT Licensed | https://stenciljs.com
6
6
  */
7
7
  var __defProp = Object.defineProperty;
8
8
  var __export = (target, all) => {
9
9
  for (var name in all)
10
10
  __defProp(target, name, { get: all[name], enumerable: true });
11
11
  };
12
-
13
- // src/utils/constants.ts
14
- var SVG_NS = "http://www.w3.org/2000/svg";
15
- var HTML_NS = "http://www.w3.org/1999/xhtml";
16
-
17
- // src/client/client-host-ref.ts
18
12
  var hostRefs = /* @__PURE__ */ new WeakMap();
19
13
  var getHostRef = (ref) => hostRefs.get(ref);
20
- var registerInstance = (lazyInstance, hostRef) => {
21
- hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
22
- };
14
+ var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
23
15
  var registerHost = (hostElement, cmpMeta) => {
24
16
  const hostRef = {
25
17
  $flags$: 0,
@@ -32,8 +24,7 @@ var registerHost = (hostElement, cmpMeta) => {
32
24
  hostElement["s-p"] = [];
33
25
  hostElement["s-rc"] = [];
34
26
  }
35
- const ref = hostRefs.set(hostElement, hostRef);
36
- return ref;
27
+ return hostRefs.set(hostElement, hostRef);
37
28
  };
38
29
  var isMemberInElement = (elm, memberName) => memberName in elm;
39
30
  var consoleError = (e, el) => (0, console.error)(e, el);
@@ -70,22 +61,16 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
70
61
  /* webpackExclude: /\.system\.entry\.js$/ */
71
62
  /* webpackMode: "lazy" */
72
63
  `./${bundleId}.entry.js${""}`
73
- ).then(
74
- (importedModule) => {
75
- {
76
- cmpModules.set(bundleId, importedModule);
77
- }
78
- return importedModule[exportName];
79
- },
80
- (e) => {
81
- consoleError(e, hostRef.$hostElement$);
64
+ ).then((importedModule) => {
65
+ {
66
+ cmpModules.set(bundleId, importedModule);
82
67
  }
83
- );
68
+ return importedModule[exportName];
69
+ }, consoleError);
84
70
  };
85
71
 
86
72
  // src/client/client-style.ts
87
73
  var styles = /* @__PURE__ */ new Map();
88
- var HYDRATED_STYLE_ID = "sty-id";
89
74
  var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
90
75
  var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
91
76
  var win = typeof window !== "undefined" ? window : {};
@@ -159,6 +144,14 @@ var flush = () => {
159
144
  };
160
145
  var nextTick = (cb) => promiseResolve().then(cb);
161
146
  var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
147
+
148
+ // src/utils/constants.ts
149
+ var EMPTY_OBJ = {};
150
+ var SVG_NS = "http://www.w3.org/2000/svg";
151
+ var HTML_NS = "http://www.w3.org/1999/xhtml";
152
+
153
+ // src/utils/helpers.ts
154
+ var isDef = (v) => v != null;
162
155
  var isComplexType = (o) => {
163
156
  o = typeof o;
164
157
  return o === "object" || o === "function";
@@ -359,40 +352,13 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
359
352
  }
360
353
  if (!appliedStyles.has(scopeId2)) {
361
354
  {
362
- styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || doc.createElement("style");
355
+ styleElm = doc.createElement("style");
363
356
  styleElm.innerHTML = style;
364
357
  const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
365
358
  if (nonce != null) {
366
359
  styleElm.setAttribute("nonce", nonce);
367
360
  }
368
- if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
369
- if (styleContainerNode.nodeName === "HEAD") {
370
- const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
371
- const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
372
- styleContainerNode.insertBefore(
373
- styleElm,
374
- (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
375
- );
376
- } else if ("host" in styleContainerNode) {
377
- if (supportsConstructableStylesheets) {
378
- const stylesheet = new CSSStyleSheet();
379
- stylesheet.replaceSync(style);
380
- styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
381
- } else {
382
- const existingStyleContainer = styleContainerNode.querySelector("style");
383
- if (existingStyleContainer) {
384
- existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
385
- } else {
386
- styleContainerNode.prepend(styleElm);
387
- }
388
- }
389
- } else {
390
- styleContainerNode.append(styleElm);
391
- }
392
- }
393
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
394
- styleContainerNode.insertBefore(styleElm, null);
395
- }
361
+ styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
396
362
  }
397
363
  if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
398
364
  styleElm.innerHTML += SLOT_FB_CSS;
@@ -415,25 +381,23 @@ var attachStyles = (hostRef) => {
415
381
  const scopeId2 = addStyle(
416
382
  elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
417
383
  cmpMeta);
418
- if ((flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */ || flags & 128 /* shadowNeedsScopedCss */)) {
384
+ if (flags & 10 /* needsScopedEncapsulation */) {
419
385
  elm["s-sc"] = scopeId2;
420
386
  elm.classList.add(scopeId2 + "-h");
421
387
  }
422
388
  endAttachStyles();
423
389
  };
424
390
  var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
425
- var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
391
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
426
392
  if (oldValue !== newValue) {
427
393
  let isProp = isMemberInElement(elm, memberName);
428
394
  let ln = memberName.toLowerCase();
429
395
  if (memberName === "class") {
430
396
  const classList = elm.classList;
431
397
  const oldClasses = parseClassList(oldValue);
432
- let newClasses = parseClassList(newValue);
433
- {
434
- classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
435
- classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
436
- }
398
+ const newClasses = parseClassList(newValue);
399
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
400
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
437
401
  } else if (memberName === "key") ; else if ((!isProp ) && memberName[0] === "o" && memberName[1] === "n") {
438
402
  if (memberName[2] === "-") {
439
403
  memberName = memberName.slice(3);
@@ -461,13 +425,9 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
461
425
  if (memberName === "list") {
462
426
  isProp = false;
463
427
  } else if (oldValue == null || elm[memberName] != n) {
464
- if (typeof elm.__lookupSetter__(memberName) === "function") {
465
- elm[memberName] = n;
466
- } else {
467
- elm.setAttribute(memberName, n);
468
- }
428
+ elm[memberName] = n;
469
429
  }
470
- } else if (elm[memberName] !== newValue) {
430
+ } else {
471
431
  elm[memberName] = newValue;
472
432
  }
473
433
  } catch (e) {
@@ -489,44 +449,24 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
489
449
  }
490
450
  };
491
451
  var parseClassListRegex = /\s/;
492
- var parseClassList = (value) => {
493
- if (typeof value === "object" && value && "baseVal" in value) {
494
- value = value.baseVal;
495
- }
496
- if (!value || typeof value !== "string") {
497
- return [];
498
- }
499
- return value.split(parseClassListRegex);
500
- };
452
+ var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
501
453
  var CAPTURE_EVENT_SUFFIX = "Capture";
502
454
  var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
503
455
 
504
456
  // src/runtime/vdom/update-element.ts
505
- var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
457
+ var updateElement = (oldVnode, newVnode, isSvgMode2) => {
506
458
  const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
507
- const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
508
- const newVnodeAttrs = newVnode.$attrs$ || {};
459
+ const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
460
+ const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
509
461
  {
510
462
  for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
511
463
  if (!(memberName in newVnodeAttrs)) {
512
- setAccessor(
513
- elm,
514
- memberName,
515
- oldVnodeAttrs[memberName],
516
- void 0,
517
- isSvgMode2,
518
- newVnode.$flags$);
464
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
519
465
  }
520
466
  }
521
467
  }
522
468
  for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
523
- setAccessor(
524
- elm,
525
- memberName,
526
- oldVnodeAttrs[memberName],
527
- newVnodeAttrs[memberName],
528
- isSvgMode2,
529
- newVnode.$flags$);
469
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
530
470
  }
531
471
  };
532
472
  function sortedAttrNames(attrNames) {
@@ -538,10 +478,13 @@ function sortedAttrNames(attrNames) {
538
478
  attrNames
539
479
  );
540
480
  }
481
+
482
+ // src/runtime/vdom/vdom-render.ts
483
+ var scopeId;
541
484
  var hostTagName;
542
485
  var useNativeShadowDom = false;
543
486
  var isSvgMode = false;
544
- var createElm = (oldParentVNode, newParentVNode, childIndex) => {
487
+ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
545
488
  const newVNode2 = newParentVNode.$children$[childIndex];
546
489
  let i2 = 0;
547
490
  let elm;
@@ -562,6 +505,9 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
562
505
  {
563
506
  updateElement(null, newVNode2, isSvgMode);
564
507
  }
508
+ if (isDef(scopeId) && elm["s-si"] !== scopeId) {
509
+ elm.classList.add(elm["s-si"] = scopeId);
510
+ }
565
511
  if (newVNode2.$children$) {
566
512
  for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
567
513
  childNode = createElm(oldParentVNode, newVNode2, i2);
@@ -697,9 +643,6 @@ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
697
643
  if (!isInitialRender) {
698
644
  return leftVNode.$key$ === rightVNode.$key$;
699
645
  }
700
- if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
701
- leftVNode.$key$ = rightVNode.$key$;
702
- }
703
646
  return true;
704
647
  }
705
648
  return false;
@@ -726,10 +669,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
726
669
  elm.textContent = "";
727
670
  }
728
671
  addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
729
- } else if (
730
- // don't do this on initial render as it can cause non-hydrated content to be removed
731
- !isInitialRender && BUILD.updatable && oldChildren !== null
732
- ) {
672
+ } else if (oldChildren !== null) {
733
673
  removeVnodes(oldChildren, 0, oldChildren.length - 1);
734
674
  }
735
675
  if (isSvgMode && tag === "svg") {
@@ -740,9 +680,8 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
740
680
  }
741
681
  };
742
682
  var insertBefore = (parent, newNode, reference) => {
743
- {
744
- return parent == null ? void 0 : parent.insertBefore(newNode, reference);
745
- }
683
+ const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
684
+ return inserted;
746
685
  };
747
686
  var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
748
687
  const hostElm = hostRef.$hostElement$;
@@ -767,21 +706,17 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
767
706
  rootVnode.$flags$ |= 4 /* isHost */;
768
707
  hostRef.$vnode$ = rootVnode;
769
708
  rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
770
- useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
709
+ {
710
+ scopeId = hostElm["s-sc"];
711
+ }
712
+ useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
771
713
  patch(oldVNode, rootVnode, isInitialLoad);
772
714
  };
773
715
 
774
716
  // src/runtime/update-component.ts
775
717
  var attachToAncestor = (hostRef, ancestorComponent) => {
776
718
  if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
777
- const index = ancestorComponent["s-p"].push(
778
- new Promise(
779
- (r) => hostRef.$onRenderResolve$ = () => {
780
- ancestorComponent["s-p"].splice(index - 1, 1);
781
- r();
782
- }
783
- )
784
- );
719
+ ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
785
720
  }
786
721
  };
787
722
  var scheduleUpdate = (hostRef, isInitialLoad) => {
@@ -810,12 +745,12 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
810
745
  {
811
746
  hostRef.$flags$ |= 256 /* isListenReady */;
812
747
  if (hostRef.$queuedListeners$) {
813
- hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event, elm));
748
+ hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
814
749
  hostRef.$queuedListeners$ = void 0;
815
750
  }
816
751
  }
817
752
  {
818
- maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
753
+ maybePromise = safeCall(instance, "componentWillLoad");
819
754
  }
820
755
  }
821
756
  endSchedule();
@@ -884,7 +819,7 @@ var postUpdateComponent = (hostRef) => {
884
819
  const instance = hostRef.$lazyInstance$ ;
885
820
  const ancestorComponent = hostRef.$ancestorComponent$;
886
821
  {
887
- safeCall(instance, "componentDidRender", void 0, elm);
822
+ safeCall(instance, "componentDidRender");
888
823
  }
889
824
  if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
890
825
  hostRef.$flags$ |= 64 /* hasLoadedComponent */;
@@ -913,14 +848,17 @@ var postUpdateComponent = (hostRef) => {
913
848
  }
914
849
  };
915
850
  var appDidLoad = (who) => {
851
+ {
852
+ addHydratedFlag(doc.documentElement);
853
+ }
916
854
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
917
855
  };
918
- var safeCall = (instance, method, arg, elm) => {
856
+ var safeCall = (instance, method, arg) => {
919
857
  if (instance && instance[method]) {
920
858
  try {
921
859
  return instance[method](arg);
922
860
  } catch (e) {
923
- consoleError(e, elm);
861
+ consoleError(e);
924
862
  }
925
863
  }
926
864
  return void 0;
@@ -979,68 +917,15 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
979
917
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
980
918
  members.map(([memberName, [memberFlags]]) => {
981
919
  if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
982
- const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
983
- if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
984
- if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
985
- if (flags & 1 /* isElementConstructor */ || !origGetter) {
986
- Object.defineProperty(prototype, memberName, {
987
- get() {
988
- {
989
- if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
990
- return getValue(this, memberName);
991
- }
992
- const ref = getHostRef(this);
993
- const instance = ref ? ref.$lazyInstance$ : prototype;
994
- if (!instance) return;
995
- return instance[memberName];
996
- }
997
- },
998
- configurable: true,
999
- enumerable: true
1000
- });
1001
- }
1002
920
  Object.defineProperty(prototype, memberName, {
921
+ get() {
922
+ return getValue(this, memberName);
923
+ },
1003
924
  set(newValue) {
1004
- const ref = getHostRef(this);
1005
- if (origSetter) {
1006
- const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1007
- if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
1008
- newValue = ref.$instanceValues$.get(memberName);
1009
- } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
1010
- ref.$instanceValues$.set(memberName, currentValue);
1011
- }
1012
- origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
1013
- newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1014
- setValue(this, memberName, newValue, cmpMeta);
1015
- return;
1016
- }
1017
- {
1018
- if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
1019
- setValue(this, memberName, newValue, cmpMeta);
1020
- if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
1021
- ref.$onReadyPromise$.then(() => {
1022
- if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
1023
- ref.$lazyInstance$[memberName] = newValue;
1024
- }
1025
- });
1026
- }
1027
- return;
1028
- }
1029
- const setterSetVal = () => {
1030
- const currentValue = ref.$lazyInstance$[memberName];
1031
- if (!ref.$instanceValues$.get(memberName) && currentValue) {
1032
- ref.$instanceValues$.set(memberName, currentValue);
1033
- }
1034
- ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
1035
- setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
1036
- };
1037
- if (ref.$lazyInstance$) {
1038
- setterSetVal();
1039
- } else {
1040
- ref.$onReadyPromise$.then(() => setterSetVal());
1041
- }
1042
- }
1043
- }
925
+ setValue(this, memberName, newValue, cmpMeta);
926
+ },
927
+ configurable: true,
928
+ enumerable: true
1044
929
  });
1045
930
  }
1046
931
  });
@@ -1050,11 +935,10 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1050
935
  plt.jmp(() => {
1051
936
  var _a2;
1052
937
  const propName = attrNameToPropName.get(attrName);
1053
- if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
938
+ if (this.hasOwnProperty(propName)) {
1054
939
  newValue = this[propName];
1055
940
  delete this[propName];
1056
- } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
1057
- this[propName] == newValue) {
941
+ } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && this[propName] == newValue) {
1058
942
  return;
1059
943
  } else if (propName == null) {
1060
944
  const hostRef = getHostRef(this);
@@ -1070,11 +954,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1070
954
  }
1071
955
  return;
1072
956
  }
1073
- const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
1074
- newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1075
- if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
1076
- this[propName] = newValue;
1077
- }
957
+ this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1078
958
  });
1079
959
  };
1080
960
  Cstr.observedAttributes = Array.from(
@@ -1103,7 +983,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1103
983
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1104
984
  const bundleId = cmpMeta.$lazyBundleId$;
1105
985
  if (bundleId) {
1106
- const CstrImport = loadModule(cmpMeta, hostRef);
986
+ const CstrImport = loadModule(cmpMeta);
1107
987
  if (CstrImport && "then" in CstrImport) {
1108
988
  const endLoad = uniqueTime();
1109
989
  Cstr = await CstrImport;
@@ -1128,7 +1008,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1128
1008
  try {
1129
1009
  new Cstr(hostRef);
1130
1010
  } catch (e) {
1131
- consoleError(e, elm);
1011
+ consoleError(e);
1132
1012
  }
1133
1013
  {
1134
1014
  hostRef.$flags$ &= ~8 /* isConstructingInstance */;
@@ -1163,7 +1043,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1163
1043
  schedule();
1164
1044
  }
1165
1045
  };
1166
- var fireConnectedCallback = (instance, elm) => {
1046
+ var fireConnectedCallback = (instance) => {
1167
1047
  };
1168
1048
 
1169
1049
  // src/runtime/connected-callback.ts
@@ -1204,7 +1084,7 @@ var connectedCallback = (elm) => {
1204
1084
  endConnected();
1205
1085
  }
1206
1086
  };
1207
- var disconnectInstance = (instance, elm) => {
1087
+ var disconnectInstance = (instance) => {
1208
1088
  };
1209
1089
  var disconnectedCallback = async (elm) => {
1210
1090
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
@@ -1219,12 +1099,6 @@ var disconnectedCallback = async (elm) => {
1219
1099
  hostRef.$onReadyPromise$.then(() => disconnectInstance());
1220
1100
  }
1221
1101
  }
1222
- if (rootAppliedStyles.has(elm)) {
1223
- rootAppliedStyles.delete(elm);
1224
- }
1225
- if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
1226
- rootAppliedStyles.delete(elm.shadowRoot);
1227
- }
1228
1102
  };
1229
1103
 
1230
1104
  // src/runtime/bootstrap-lazy.ts
@@ -1309,17 +1183,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1309
1183
  }
1310
1184
  disconnectedCallback() {
1311
1185
  plt.jmp(() => disconnectedCallback(this));
1312
- plt.raf(() => {
1313
- var _a3;
1314
- const hostRef = getHostRef(this);
1315
- const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
1316
- if (i2 > -1) {
1317
- deferredConnectedCallbacks.splice(i2, 1);
1318
- }
1319
- if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
1320
- delete hostRef.$vnode$.$elm$;
1321
- }
1322
- });
1323
1186
  }
1324
1187
  componentOnReady() {
1325
1188
  return getHostRef(this).$onReadyPromise$;
@@ -1383,7 +1246,7 @@ var hostListenerProxy = (hostRef, methodName) => (ev) => {
1383
1246
  }
1384
1247
  }
1385
1248
  } catch (e) {
1386
- consoleError(e, hostRef.$hostElement$);
1249
+ consoleError(e);
1387
1250
  }
1388
1251
  };
1389
1252
  var getHostListenerTarget = (elm, flags) => {
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-35b94b68.js';
2
- export { s as setNonce } from './index-35b94b68.js';
1
+ import { b as bootstrapLazy } from './index-4dc9a6b7.js';
2
+ export { s as setNonce } from './index-4dc9a6b7.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
@@ -0,0 +1,2 @@
1
+ import { Config } from '../../../../../../../../../../../stencil-public-runtime';
2
+ export declare const config: Config;
@@ -0,0 +1,2 @@
1
+ import { Config } from '../../../../../../../../../../../stencil-public-runtime';
2
+ export declare const config: Config;
@@ -1015,8 +1015,6 @@ export declare namespace JSXBase {
1015
1015
  autoPlay?: boolean;
1016
1016
  autoplay?: boolean | string;
1017
1017
  controls?: boolean;
1018
- controlslist?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
1019
- controlsList?: 'nodownload' | 'nofullscreen' | 'noremoteplayback';
1020
1018
  crossOrigin?: string;
1021
1019
  crossorigin?: string;
1022
1020
  loop?: boolean;
@@ -1566,10 +1564,6 @@ export declare namespace JSXBase {
1566
1564
  onSubmitCapture?: (event: Event) => void;
1567
1565
  onInvalid?: (event: Event) => void;
1568
1566
  onInvalidCapture?: (event: Event) => void;
1569
- onBeforeToggle?: (event: Event) => void;
1570
- onBeforeToggleCapture?: (event: Event) => void;
1571
- onToggle?: (event: Event) => void;
1572
- onToggleCapture?: (event: Event) => void;
1573
1567
  onLoad?: (event: Event) => void;
1574
1568
  onLoadCapture?: (event: Event) => void;
1575
1569
  onError?: (event: Event) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-tournament-banner",
3
- "version": "1.56.0",
3
+ "version": "1.56.2",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.js",
6
6
  "es2015": "./dist/esm/index.mjs",