@everymatrix/casino-engagement-suite-challenges-list 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 (26) hide show
  1. package/dist/casino-engagement-suite-challenges-list/casino-engagement-suite-challenges-list.esm.js +1 -1
  2. package/dist/casino-engagement-suite-challenges-list/p-80282e46.entry.js +1 -0
  3. package/dist/casino-engagement-suite-challenges-list/p-ce3e6c64.js +2 -0
  4. package/dist/cjs/casino-engagement-suite-challenges-list.cjs.js +2 -2
  5. package/dist/cjs/casino-engagement-suite-challenges-list_2.cjs.entry.js +23 -56
  6. package/dist/cjs/{index-c95f18bc.js → index-fde7f5ee.js} +71 -206
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/collection/collection-manifest.json +2 -2
  9. package/dist/collection/components/casino-engagement-suite-challenges-list/casino-engagement-suite-challenges-list.js +16 -47
  10. package/dist/esm/casino-engagement-suite-challenges-list.js +3 -3
  11. package/dist/esm/casino-engagement-suite-challenges-list_2.entry.js +23 -56
  12. package/dist/esm/{index-61dbba4e.js → index-9061ff5d.js} +71 -206
  13. package/dist/esm/loader.js +2 -2
  14. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-engagement-suite-challenges-list/.stencil/packages/stencil/casino-engagement-suite-challenges-list/stencil.config.d.ts +2 -0
  15. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-engagement-suite-challenges-list/.stencil/packages/stencil/casino-engagement-suite-challenges-list/stencil.config.dev.d.ts +2 -0
  16. package/dist/types/components/casino-engagement-suite-challenges-list/casino-engagement-suite-challenges-list.d.ts +3 -3
  17. package/dist/types/stencil-public-runtime.d.ts +0 -6
  18. package/package.json +1 -1
  19. package/dist/casino-engagement-suite-challenges-list/p-12c1c66d.js +0 -2
  20. package/dist/casino-engagement-suite-challenges-list/p-190b420d.entry.js +0 -1
  21. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-engagement-suite-challenges-list/.stencil/packages/stencil/casino-engagement-suite-challenges-list/stencil.config.d.ts +0 -2
  22. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-engagement-suite-challenges-list/.stencil/packages/stencil/casino-engagement-suite-challenges-list/stencil.config.dev.d.ts +0 -2
  23. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-challenges-list/.stencil/tools/plugins/index.d.ts +0 -0
  24. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-challenges-list/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  25. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-challenges-list/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  26. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-challenges-list/.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-challenges-list';
24
- const BUILD = /* casino-engagement-suite-challenges-list */ { 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: false, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: false, watchCallback: true };
24
+ const BUILD = /* casino-engagement-suite-challenges-list */ { 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: false, 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);
@@ -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 : {};
@@ -177,6 +166,12 @@ var flush = () => {
177
166
  };
178
167
  var nextTick = (cb) => promiseResolve().then(cb);
179
168
  var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
169
+
170
+ // src/utils/constants.ts
171
+ var EMPTY_OBJ = {};
172
+
173
+ // src/utils/helpers.ts
174
+ var isDef = (v) => v != null;
180
175
  var isComplexType = (o) => {
181
176
  o = typeof o;
182
177
  return o === "object" || o === "function";
@@ -380,40 +375,13 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
380
375
  }
381
376
  if (!appliedStyles.has(scopeId2)) {
382
377
  {
383
- styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || doc.createElement("style");
378
+ styleElm = doc.createElement("style");
384
379
  styleElm.innerHTML = style;
385
380
  const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
386
381
  if (nonce != null) {
387
382
  styleElm.setAttribute("nonce", nonce);
388
383
  }
389
- if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
390
- if (styleContainerNode.nodeName === "HEAD") {
391
- const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
392
- const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
393
- styleContainerNode.insertBefore(
394
- styleElm,
395
- (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
396
- );
397
- } else if ("host" in styleContainerNode) {
398
- if (supportsConstructableStylesheets) {
399
- const stylesheet = new CSSStyleSheet();
400
- stylesheet.replaceSync(style);
401
- styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
402
- } else {
403
- const existingStyleContainer = styleContainerNode.querySelector("style");
404
- if (existingStyleContainer) {
405
- existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
406
- } else {
407
- styleContainerNode.prepend(styleElm);
408
- }
409
- }
410
- } else {
411
- styleContainerNode.append(styleElm);
412
- }
413
- }
414
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
415
- styleContainerNode.insertBefore(styleElm, null);
416
- }
384
+ styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
417
385
  }
418
386
  if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
419
387
  styleElm.innerHTML += SLOT_FB_CSS;
@@ -436,25 +404,23 @@ var attachStyles = (hostRef) => {
436
404
  const scopeId2 = addStyle(
437
405
  elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
438
406
  cmpMeta);
439
- if ((flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */ || flags & 128 /* shadowNeedsScopedCss */)) {
407
+ if (flags & 10 /* needsScopedEncapsulation */) {
440
408
  elm["s-sc"] = scopeId2;
441
409
  elm.classList.add(scopeId2 + "-h");
442
410
  }
443
411
  endAttachStyles();
444
412
  };
445
413
  var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
446
- var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
414
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
447
415
  if (oldValue !== newValue) {
448
416
  let isProp = isMemberInElement(elm, memberName);
449
417
  let ln = memberName.toLowerCase();
450
418
  if (memberName === "class") {
451
419
  const classList = elm.classList;
452
420
  const oldClasses = parseClassList(oldValue);
453
- let newClasses = parseClassList(newValue);
454
- {
455
- classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
456
- classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
457
- }
421
+ const newClasses = parseClassList(newValue);
422
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
423
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
458
424
  } else if (memberName === "style") {
459
425
  {
460
426
  for (const prop in oldValue) {
@@ -503,13 +469,9 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
503
469
  if (memberName === "list") {
504
470
  isProp = false;
505
471
  } else if (oldValue == null || elm[memberName] != n) {
506
- if (typeof elm.__lookupSetter__(memberName) === "function") {
507
- elm[memberName] = n;
508
- } else {
509
- elm.setAttribute(memberName, n);
510
- }
472
+ elm[memberName] = n;
511
473
  }
512
- } else if (elm[memberName] !== newValue) {
474
+ } else {
513
475
  elm[memberName] = newValue;
514
476
  }
515
477
  } catch (e) {
@@ -531,44 +493,24 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
531
493
  }
532
494
  };
533
495
  var parseClassListRegex = /\s/;
534
- var parseClassList = (value) => {
535
- if (typeof value === "object" && value && "baseVal" in value) {
536
- value = value.baseVal;
537
- }
538
- if (!value || typeof value !== "string") {
539
- return [];
540
- }
541
- return value.split(parseClassListRegex);
542
- };
496
+ var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
543
497
  var CAPTURE_EVENT_SUFFIX = "Capture";
544
498
  var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
545
499
 
546
500
  // src/runtime/vdom/update-element.ts
547
- var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
501
+ var updateElement = (oldVnode, newVnode, isSvgMode2) => {
548
502
  const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
549
- const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
550
- const newVnodeAttrs = newVnode.$attrs$ || {};
503
+ const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
504
+ const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
551
505
  {
552
506
  for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
553
507
  if (!(memberName in newVnodeAttrs)) {
554
- setAccessor(
555
- elm,
556
- memberName,
557
- oldVnodeAttrs[memberName],
558
- void 0,
559
- isSvgMode2,
560
- newVnode.$flags$);
508
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
561
509
  }
562
510
  }
563
511
  }
564
512
  for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
565
- setAccessor(
566
- elm,
567
- memberName,
568
- oldVnodeAttrs[memberName],
569
- newVnodeAttrs[memberName],
570
- isSvgMode2,
571
- newVnode.$flags$);
513
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
572
514
  }
573
515
  };
574
516
  function sortedAttrNames(attrNames) {
@@ -580,10 +522,13 @@ function sortedAttrNames(attrNames) {
580
522
  attrNames
581
523
  );
582
524
  }
525
+
526
+ // src/runtime/vdom/vdom-render.ts
527
+ var scopeId;
583
528
  var hostTagName;
584
529
  var useNativeShadowDom = false;
585
530
  var isSvgMode = false;
586
- var createElm = (oldParentVNode, newParentVNode, childIndex) => {
531
+ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
587
532
  const newVNode2 = newParentVNode.$children$[childIndex];
588
533
  let i2 = 0;
589
534
  let elm;
@@ -597,6 +542,9 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
597
542
  {
598
543
  updateElement(null, newVNode2, isSvgMode);
599
544
  }
545
+ if (isDef(scopeId) && elm["s-si"] !== scopeId) {
546
+ elm.classList.add(elm["s-si"] = scopeId);
547
+ }
600
548
  if (newVNode2.$children$) {
601
549
  for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
602
550
  childNode = createElm(oldParentVNode, newVNode2, i2);
@@ -725,9 +673,6 @@ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
725
673
  if (!isInitialRender) {
726
674
  return leftVNode.$key$ === rightVNode.$key$;
727
675
  }
728
- if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
729
- leftVNode.$key$ = rightVNode.$key$;
730
- }
731
676
  return true;
732
677
  }
733
678
  return false;
@@ -751,10 +696,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
751
696
  elm.textContent = "";
752
697
  }
753
698
  addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
754
- } else if (
755
- // don't do this on initial render as it can cause non-hydrated content to be removed
756
- !isInitialRender && BUILD.updatable && oldChildren !== null
757
- ) {
699
+ } else if (oldChildren !== null) {
758
700
  removeVnodes(oldChildren, 0, oldChildren.length - 1);
759
701
  }
760
702
  } else if (oldVNode.$text$ !== text) {
@@ -762,9 +704,8 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
762
704
  }
763
705
  };
764
706
  var insertBefore = (parent, newNode, reference) => {
765
- {
766
- return parent == null ? void 0 : parent.insertBefore(newNode, reference);
767
- }
707
+ const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
708
+ return inserted;
768
709
  };
769
710
  var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
770
711
  const hostElm = hostRef.$hostElement$;
@@ -789,21 +730,17 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
789
730
  rootVnode.$flags$ |= 4 /* isHost */;
790
731
  hostRef.$vnode$ = rootVnode;
791
732
  rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
792
- useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
733
+ {
734
+ scopeId = hostElm["s-sc"];
735
+ }
736
+ useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
793
737
  patch(oldVNode, rootVnode, isInitialLoad);
794
738
  };
795
739
 
796
740
  // src/runtime/update-component.ts
797
741
  var attachToAncestor = (hostRef, ancestorComponent) => {
798
742
  if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
799
- const index = ancestorComponent["s-p"].push(
800
- new Promise(
801
- (r) => hostRef.$onRenderResolve$ = () => {
802
- ancestorComponent["s-p"].splice(index - 1, 1);
803
- r();
804
- }
805
- )
806
- );
743
+ ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
807
744
  }
808
745
  };
809
746
  var scheduleUpdate = (hostRef, isInitialLoad) => {
@@ -832,12 +769,12 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
832
769
  {
833
770
  hostRef.$flags$ |= 256 /* isListenReady */;
834
771
  if (hostRef.$queuedListeners$) {
835
- hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event, elm));
772
+ hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
836
773
  hostRef.$queuedListeners$ = void 0;
837
774
  }
838
775
  }
839
776
  {
840
- maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
777
+ maybePromise = safeCall(instance, "componentWillLoad");
841
778
  }
842
779
  }
843
780
  endSchedule();
@@ -906,7 +843,7 @@ var postUpdateComponent = (hostRef) => {
906
843
  const instance = hostRef.$lazyInstance$ ;
907
844
  const ancestorComponent = hostRef.$ancestorComponent$;
908
845
  {
909
- safeCall(instance, "componentDidRender", void 0, elm);
846
+ safeCall(instance, "componentDidRender");
910
847
  }
911
848
  if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
912
849
  hostRef.$flags$ |= 64 /* hasLoadedComponent */;
@@ -935,14 +872,17 @@ var postUpdateComponent = (hostRef) => {
935
872
  }
936
873
  };
937
874
  var appDidLoad = (who) => {
875
+ {
876
+ addHydratedFlag(doc.documentElement);
877
+ }
938
878
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
939
879
  };
940
- var safeCall = (instance, method, arg, elm) => {
880
+ var safeCall = (instance, method, arg) => {
941
881
  if (instance && instance[method]) {
942
882
  try {
943
883
  return instance[method](arg);
944
884
  } catch (e) {
945
- consoleError(e, elm);
885
+ consoleError(e);
946
886
  }
947
887
  }
948
888
  return void 0;
@@ -1001,68 +941,15 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1001
941
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
1002
942
  members.map(([memberName, [memberFlags]]) => {
1003
943
  if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
1004
- const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
1005
- if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
1006
- if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
1007
- if (flags & 1 /* isElementConstructor */ || !origGetter) {
1008
- Object.defineProperty(prototype, memberName, {
1009
- get() {
1010
- {
1011
- if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
1012
- return getValue(this, memberName);
1013
- }
1014
- const ref = getHostRef(this);
1015
- const instance = ref ? ref.$lazyInstance$ : prototype;
1016
- if (!instance) return;
1017
- return instance[memberName];
1018
- }
1019
- },
1020
- configurable: true,
1021
- enumerable: true
1022
- });
1023
- }
1024
944
  Object.defineProperty(prototype, memberName, {
945
+ get() {
946
+ return getValue(this, memberName);
947
+ },
1025
948
  set(newValue) {
1026
- const ref = getHostRef(this);
1027
- if (origSetter) {
1028
- const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1029
- if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
1030
- newValue = ref.$instanceValues$.get(memberName);
1031
- } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
1032
- ref.$instanceValues$.set(memberName, currentValue);
1033
- }
1034
- origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
1035
- newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1036
- setValue(this, memberName, newValue, cmpMeta);
1037
- return;
1038
- }
1039
- {
1040
- if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
1041
- setValue(this, memberName, newValue, cmpMeta);
1042
- if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
1043
- ref.$onReadyPromise$.then(() => {
1044
- if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
1045
- ref.$lazyInstance$[memberName] = newValue;
1046
- }
1047
- });
1048
- }
1049
- return;
1050
- }
1051
- const setterSetVal = () => {
1052
- const currentValue = ref.$lazyInstance$[memberName];
1053
- if (!ref.$instanceValues$.get(memberName) && currentValue) {
1054
- ref.$instanceValues$.set(memberName, currentValue);
1055
- }
1056
- ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
1057
- setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
1058
- };
1059
- if (ref.$lazyInstance$) {
1060
- setterSetVal();
1061
- } else {
1062
- ref.$onReadyPromise$.then(() => setterSetVal());
1063
- }
1064
- }
1065
- }
949
+ setValue(this, memberName, newValue, cmpMeta);
950
+ },
951
+ configurable: true,
952
+ enumerable: true
1066
953
  });
1067
954
  }
1068
955
  });
@@ -1072,11 +959,10 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1072
959
  plt.jmp(() => {
1073
960
  var _a2;
1074
961
  const propName = attrNameToPropName.get(attrName);
1075
- if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
962
+ if (this.hasOwnProperty(propName)) {
1076
963
  newValue = this[propName];
1077
964
  delete this[propName];
1078
- } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
1079
- this[propName] == newValue) {
965
+ } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && this[propName] == newValue) {
1080
966
  return;
1081
967
  } else if (propName == null) {
1082
968
  const hostRef = getHostRef(this);
@@ -1092,11 +978,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1092
978
  }
1093
979
  return;
1094
980
  }
1095
- const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
1096
- newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1097
- if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
1098
- this[propName] = newValue;
1099
- }
981
+ this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1100
982
  });
1101
983
  };
1102
984
  Cstr.observedAttributes = Array.from(
@@ -1125,7 +1007,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1125
1007
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1126
1008
  const bundleId = cmpMeta.$lazyBundleId$;
1127
1009
  if (bundleId) {
1128
- const CstrImport = loadModule(cmpMeta, hostRef);
1010
+ const CstrImport = loadModule(cmpMeta);
1129
1011
  if (CstrImport && "then" in CstrImport) {
1130
1012
  const endLoad = uniqueTime();
1131
1013
  Cstr = await CstrImport;
@@ -1150,7 +1032,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1150
1032
  try {
1151
1033
  new Cstr(hostRef);
1152
1034
  } catch (e) {
1153
- consoleError(e, elm);
1035
+ consoleError(e);
1154
1036
  }
1155
1037
  {
1156
1038
  hostRef.$flags$ &= ~8 /* isConstructingInstance */;
@@ -1185,7 +1067,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1185
1067
  schedule();
1186
1068
  }
1187
1069
  };
1188
- var fireConnectedCallback = (instance, elm) => {
1070
+ var fireConnectedCallback = (instance) => {
1189
1071
  };
1190
1072
 
1191
1073
  // src/runtime/connected-callback.ts
@@ -1226,9 +1108,9 @@ var connectedCallback = (elm) => {
1226
1108
  endConnected();
1227
1109
  }
1228
1110
  };
1229
- var disconnectInstance = (instance, elm) => {
1111
+ var disconnectInstance = (instance) => {
1230
1112
  {
1231
- safeCall(instance, "disconnectedCallback", void 0, elm || instance);
1113
+ safeCall(instance, "disconnectedCallback");
1232
1114
  }
1233
1115
  };
1234
1116
  var disconnectedCallback = async (elm) => {
@@ -1241,17 +1123,11 @@ var disconnectedCallback = async (elm) => {
1241
1123
  }
1242
1124
  }
1243
1125
  if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1244
- disconnectInstance(hostRef.$lazyInstance$, elm);
1126
+ disconnectInstance(hostRef.$lazyInstance$);
1245
1127
  } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1246
- hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$, elm));
1128
+ hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$));
1247
1129
  }
1248
1130
  }
1249
- if (rootAppliedStyles.has(elm)) {
1250
- rootAppliedStyles.delete(elm);
1251
- }
1252
- if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
1253
- rootAppliedStyles.delete(elm.shadowRoot);
1254
- }
1255
1131
  };
1256
1132
 
1257
1133
  // src/runtime/bootstrap-lazy.ts
@@ -1336,17 +1212,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1336
1212
  }
1337
1213
  disconnectedCallback() {
1338
1214
  plt.jmp(() => disconnectedCallback(this));
1339
- plt.raf(() => {
1340
- var _a3;
1341
- const hostRef = getHostRef(this);
1342
- const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
1343
- if (i2 > -1) {
1344
- deferredConnectedCallbacks.splice(i2, 1);
1345
- }
1346
- if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
1347
- delete hostRef.$vnode$.$elm$;
1348
- }
1349
- });
1350
1215
  }
1351
1216
  componentOnReady() {
1352
1217
  return getHostRef(this).$onReadyPromise$;
@@ -1410,7 +1275,7 @@ var hostListenerProxy = (hostRef, methodName) => (ev) => {
1410
1275
  }
1411
1276
  }
1412
1277
  } catch (e) {
1413
- consoleError(e, hostRef.$hostElement$);
1278
+ consoleError(e);
1414
1279
  }
1415
1280
  };
1416
1281
  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-c95f18bc.js');
5
+ const index = require('./index-fde7f5ee.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
  {