@everymatrix/bonus-elevate-shop-item 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/bonus-elevate-shop-item/bonus-elevate-shop-item.esm.js +1 -1
  2. package/dist/bonus-elevate-shop-item/p-c1287a22.entry.js +1 -0
  3. package/dist/bonus-elevate-shop-item/p-c581a4f1.js +2 -0
  4. package/dist/cjs/bonus-elevate-shop-assets-slider_3.cjs.entry.js +16 -47
  5. package/dist/cjs/bonus-elevate-shop-item.cjs.js +2 -2
  6. package/dist/cjs/{index-5ee6395c.js → index-0f3e5ac0.js} +138 -291
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/collection/collection-manifest.json +2 -2
  9. package/dist/collection/components/bonus-elevate-shop-item/bonus-elevate-shop-assets-slider.js +5 -22
  10. package/dist/collection/components/bonus-elevate-shop-item/bonus-elevate-shop-item.js +7 -41
  11. package/dist/esm/bonus-elevate-shop-assets-slider_3.entry.js +16 -47
  12. package/dist/esm/bonus-elevate-shop-item.js +3 -3
  13. package/dist/esm/{index-d65aef7f.js → index-7750792f.js} +138 -291
  14. package/dist/esm/loader.js +2 -2
  15. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/bonus-elevate-shop-item/.stencil/packages/stencil/bonus-elevate-shop-item/stencil.config.d.ts +2 -0
  16. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/bonus-elevate-shop-item/.stencil/packages/stencil/bonus-elevate-shop-item/stencil.config.dev.d.ts +2 -0
  17. package/dist/types/stencil-public-runtime.d.ts +0 -6
  18. package/package.json +1 -1
  19. package/dist/bonus-elevate-shop-item/p-649baad8.entry.js +0 -1
  20. package/dist/bonus-elevate-shop-item/p-7e614c16.js +0 -2
  21. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/bonus-elevate-shop-item/.stencil/packages/stencil/bonus-elevate-shop-item/stencil.config.d.ts +0 -2
  22. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/bonus-elevate-shop-item/.stencil/packages/stencil/bonus-elevate-shop-item/stencil.config.dev.d.ts +0 -2
  23. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/bonus-elevate-shop-item/.stencil/tools/plugins/index.d.ts +0 -0
  24. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/bonus-elevate-shop-item/.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/bonus-elevate-shop-item/.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/bonus-elevate-shop-item/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -21,27 +21,19 @@ function _interopNamespace(e) {
21
21
  }
22
22
 
23
23
  const NAMESPACE = 'bonus-elevate-shop-item';
24
- const BUILD = /* bonus-elevate-shop-item */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, modernPropertyDecls: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: false, watchCallback: false };
24
+ const BUILD = /* bonus-elevate-shop-item */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: false, watchCallback: false };
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/utils/constants.ts
36
- var SVG_NS = "http://www.w3.org/2000/svg";
37
- var HTML_NS = "http://www.w3.org/1999/xhtml";
38
-
39
- // src/client/client-host-ref.ts
40
34
  var hostRefs = /* @__PURE__ */ new WeakMap();
41
35
  var getHostRef = (ref) => hostRefs.get(ref);
42
- var registerInstance = (lazyInstance, hostRef) => {
43
- hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
44
- };
36
+ var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
45
37
  var registerHost = (hostElement, cmpMeta) => {
46
38
  const hostRef = {
47
39
  $flags$: 0,
@@ -54,8 +46,7 @@ var registerHost = (hostElement, cmpMeta) => {
54
46
  hostElement["s-p"] = [];
55
47
  hostElement["s-rc"] = [];
56
48
  }
57
- const ref = hostRefs.set(hostElement, hostRef);
58
- return ref;
49
+ return hostRefs.set(hostElement, hostRef);
59
50
  };
60
51
  var isMemberInElement = (elm, memberName) => memberName in elm;
61
52
  var consoleError = (e, el) => (0, console.error)(e, el);
@@ -92,22 +83,16 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
92
83
  /* webpackExclude: /\.system\.entry\.js$/ */
93
84
  /* webpackMode: "lazy" */
94
85
  `./${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$);
86
+ )); }).then((importedModule) => {
87
+ {
88
+ cmpModules.set(bundleId, importedModule);
104
89
  }
105
- );
90
+ return importedModule[exportName];
91
+ }, consoleError);
106
92
  };
107
93
 
108
94
  // src/client/client-style.ts
109
95
  var styles = /* @__PURE__ */ new Map();
110
- var HYDRATED_STYLE_ID = "sty-id";
111
96
  var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
112
97
  var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
113
98
  var win = typeof window !== "undefined" ? window : {};
@@ -165,6 +150,14 @@ var flush = () => {
165
150
  };
166
151
  var nextTick = (cb) => promiseResolve().then(cb);
167
152
  var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
153
+
154
+ // src/utils/constants.ts
155
+ var EMPTY_OBJ = {};
156
+ var SVG_NS = "http://www.w3.org/2000/svg";
157
+ var HTML_NS = "http://www.w3.org/1999/xhtml";
158
+
159
+ // src/utils/helpers.ts
160
+ var isDef = (v) => v != null;
168
161
  var isComplexType = (o) => {
169
162
  o = typeof o;
170
163
  return o === "object" || o === "function";
@@ -224,63 +217,6 @@ var unwrapErr = (result) => {
224
217
  throw result.value;
225
218
  }
226
219
  };
227
- var updateFallbackSlotVisibility = (elm) => {
228
- const childNodes = elm.__childNodes || elm.childNodes;
229
- if (elm.tagName && elm.tagName.includes("-") && elm["s-cr"] && elm.tagName !== "SLOT-FB") {
230
- getHostSlotNodes(childNodes, elm.tagName).forEach((slotNode) => {
231
- var _a;
232
- if (slotNode.nodeType === 1 /* ElementNode */ && slotNode.tagName === "SLOT-FB") {
233
- if ((_a = getHostSlotChildNodes(slotNode, slotNode["s-sn"], false)) == null ? void 0 : _a.length) {
234
- slotNode.hidden = true;
235
- } else {
236
- slotNode.hidden = false;
237
- }
238
- }
239
- });
240
- }
241
- for (const childNode of childNodes) {
242
- if (childNode.nodeType === 1 /* ElementNode */ && (childNode.__childNodes || childNode.childNodes).length) {
243
- updateFallbackSlotVisibility(childNode);
244
- }
245
- }
246
- };
247
- function getHostSlotNodes(childNodes, hostName, slotName) {
248
- let i2 = 0;
249
- let slottedNodes = [];
250
- let childNode;
251
- for (; i2 < childNodes.length; i2++) {
252
- childNode = childNodes[i2];
253
- if (childNode["s-sr"] && childNode["s-hn"] === hostName && (slotName === void 0 || childNode["s-sn"] === slotName)) {
254
- slottedNodes.push(childNode);
255
- if (typeof slotName !== "undefined") return slottedNodes;
256
- }
257
- slottedNodes = [...slottedNodes, ...getHostSlotNodes(childNode.childNodes, hostName, slotName)];
258
- }
259
- return slottedNodes;
260
- }
261
- var getHostSlotChildNodes = (node, slotName, includeSlot = true) => {
262
- const childNodes = [];
263
- if (includeSlot && node["s-sr"] || !node["s-sr"]) childNodes.push(node);
264
- while ((node = node.nextSibling) && node["s-sn"] === slotName) {
265
- childNodes.push(node);
266
- }
267
- return childNodes;
268
- };
269
- var isNodeLocatedInSlot = (nodeToRelocate, slotName) => {
270
- if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
271
- if (nodeToRelocate.getAttribute("slot") === null && slotName === "") {
272
- return true;
273
- }
274
- if (nodeToRelocate.getAttribute("slot") === slotName) {
275
- return true;
276
- }
277
- return false;
278
- }
279
- if (nodeToRelocate["s-sn"] === slotName) {
280
- return true;
281
- }
282
- return slotName === "";
283
- };
284
220
  var createTime = (fnName, tagName = "") => {
285
221
  {
286
222
  return () => {
@@ -472,40 +408,13 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
472
408
  }
473
409
  if (!appliedStyles.has(scopeId2)) {
474
410
  {
475
- styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || doc.createElement("style");
411
+ styleElm = doc.createElement("style");
476
412
  styleElm.innerHTML = style;
477
413
  const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
478
414
  if (nonce != null) {
479
415
  styleElm.setAttribute("nonce", nonce);
480
416
  }
481
- if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
482
- if (styleContainerNode.nodeName === "HEAD") {
483
- const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
484
- const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
485
- styleContainerNode.insertBefore(
486
- styleElm,
487
- (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
488
- );
489
- } else if ("host" in styleContainerNode) {
490
- if (supportsConstructableStylesheets) {
491
- const stylesheet = new CSSStyleSheet();
492
- stylesheet.replaceSync(style);
493
- styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
494
- } else {
495
- const existingStyleContainer = styleContainerNode.querySelector("style");
496
- if (existingStyleContainer) {
497
- existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
498
- } else {
499
- styleContainerNode.prepend(styleElm);
500
- }
501
- }
502
- } else {
503
- styleContainerNode.append(styleElm);
504
- }
505
- }
506
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
507
- styleContainerNode.insertBefore(styleElm, null);
508
- }
417
+ styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
509
418
  }
510
419
  if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
511
420
  styleElm.innerHTML += SLOT_FB_CSS;
@@ -528,25 +437,23 @@ var attachStyles = (hostRef) => {
528
437
  const scopeId2 = addStyle(
529
438
  elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
530
439
  cmpMeta);
531
- if ((flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */ || flags & 128 /* shadowNeedsScopedCss */)) {
440
+ if (flags & 10 /* needsScopedEncapsulation */) {
532
441
  elm["s-sc"] = scopeId2;
533
442
  elm.classList.add(scopeId2 + "-h");
534
443
  }
535
444
  endAttachStyles();
536
445
  };
537
446
  var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
538
- var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
447
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
539
448
  if (oldValue !== newValue) {
540
449
  let isProp = isMemberInElement(elm, memberName);
541
450
  let ln = memberName.toLowerCase();
542
451
  if (memberName === "class") {
543
452
  const classList = elm.classList;
544
453
  const oldClasses = parseClassList(oldValue);
545
- let newClasses = parseClassList(newValue);
546
- {
547
- classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
548
- classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
549
- }
454
+ const newClasses = parseClassList(newValue);
455
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
456
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
550
457
  } else if (memberName === "style") {
551
458
  {
552
459
  for (const prop in oldValue) {
@@ -599,13 +506,9 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
599
506
  if (memberName === "list") {
600
507
  isProp = false;
601
508
  } else if (oldValue == null || elm[memberName] != n) {
602
- if (typeof elm.__lookupSetter__(memberName) === "function") {
603
- elm[memberName] = n;
604
- } else {
605
- elm.setAttribute(memberName, n);
606
- }
509
+ elm[memberName] = n;
607
510
  }
608
- } else if (elm[memberName] !== newValue) {
511
+ } else {
609
512
  elm[memberName] = newValue;
610
513
  }
611
514
  } catch (e) {
@@ -627,44 +530,24 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
627
530
  }
628
531
  };
629
532
  var parseClassListRegex = /\s/;
630
- var parseClassList = (value) => {
631
- if (typeof value === "object" && value && "baseVal" in value) {
632
- value = value.baseVal;
633
- }
634
- if (!value || typeof value !== "string") {
635
- return [];
636
- }
637
- return value.split(parseClassListRegex);
638
- };
533
+ var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
639
534
  var CAPTURE_EVENT_SUFFIX = "Capture";
640
535
  var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
641
536
 
642
537
  // src/runtime/vdom/update-element.ts
643
- var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
538
+ var updateElement = (oldVnode, newVnode, isSvgMode2) => {
644
539
  const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
645
- const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
646
- const newVnodeAttrs = newVnode.$attrs$ || {};
540
+ const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
541
+ const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
647
542
  {
648
543
  for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
649
544
  if (!(memberName in newVnodeAttrs)) {
650
- setAccessor(
651
- elm,
652
- memberName,
653
- oldVnodeAttrs[memberName],
654
- void 0,
655
- isSvgMode2,
656
- newVnode.$flags$);
545
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
657
546
  }
658
547
  }
659
548
  }
660
549
  for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
661
- setAccessor(
662
- elm,
663
- memberName,
664
- oldVnodeAttrs[memberName],
665
- newVnodeAttrs[memberName],
666
- isSvgMode2,
667
- newVnode.$flags$);
550
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
668
551
  }
669
552
  };
670
553
  function sortedAttrNames(attrNames) {
@@ -676,13 +559,16 @@ function sortedAttrNames(attrNames) {
676
559
  attrNames
677
560
  );
678
561
  }
562
+
563
+ // src/runtime/vdom/vdom-render.ts
564
+ var scopeId;
679
565
  var contentRef;
680
566
  var hostTagName;
681
567
  var useNativeShadowDom = false;
682
568
  var checkSlotFallbackVisibility = false;
683
569
  var checkSlotRelocate = false;
684
570
  var isSvgMode = false;
685
- var createElm = (oldParentVNode, newParentVNode, childIndex) => {
571
+ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
686
572
  var _a;
687
573
  const newVNode2 = newParentVNode.$children$[childIndex];
688
574
  let i2 = 0;
@@ -692,6 +578,9 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
692
578
  if (!useNativeShadowDom) {
693
579
  checkSlotRelocate = true;
694
580
  if (newVNode2.$tag$ === "slot") {
581
+ if (scopeId) {
582
+ parentElm.classList.add(scopeId + "-s");
583
+ }
695
584
  newVNode2.$flags$ |= newVNode2.$children$ ? (
696
585
  // slot element has fallback content
697
586
  // still create an element that "mocks" the slot element
@@ -722,9 +611,12 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
722
611
  {
723
612
  updateElement(null, newVNode2, isSvgMode);
724
613
  }
614
+ if (isDef(scopeId) && elm["s-si"] !== scopeId) {
615
+ elm.classList.add(elm["s-si"] = scopeId);
616
+ }
725
617
  if (newVNode2.$children$) {
726
618
  for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
727
- childNode = createElm(oldParentVNode, newVNode2, i2);
619
+ childNode = createElm(oldParentVNode, newVNode2, i2, elm);
728
620
  if (childNode) {
729
621
  elm.appendChild(childNode);
730
622
  }
@@ -757,7 +649,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
757
649
  };
758
650
  var putBackInOriginalLocation = (parentElm, recursive) => {
759
651
  plt.$flags$ |= 1 /* isTmpDisconnected */;
760
- const oldSlotChildNodes = Array.from(parentElm.__childNodes || parentElm.childNodes);
652
+ const oldSlotChildNodes = Array.from(parentElm.childNodes);
761
653
  if (parentElm["s-sr"] && BUILD.experimentalSlotFixes) {
762
654
  let node = parentElm;
763
655
  while (node = node.nextSibling) {
@@ -769,7 +661,7 @@ var putBackInOriginalLocation = (parentElm, recursive) => {
769
661
  for (let i2 = oldSlotChildNodes.length - 1; i2 >= 0; i2--) {
770
662
  const childNode = oldSlotChildNodes[i2];
771
663
  if (childNode["s-hn"] !== hostTagName && childNode["s-ol"]) {
772
- insertBefore(referenceNode(childNode).parentNode, childNode, referenceNode(childNode));
664
+ insertBefore(parentReferenceNode(childNode), childNode, referenceNode(childNode));
773
665
  childNode["s-ol"].remove();
774
666
  childNode["s-ol"] = void 0;
775
667
  childNode["s-sh"] = void 0;
@@ -789,7 +681,7 @@ var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
789
681
  }
790
682
  for (; startIdx <= endIdx; ++startIdx) {
791
683
  if (vnodes[startIdx]) {
792
- childNode = createElm(null, parentVNode, startIdx);
684
+ childNode = createElm(null, parentVNode, startIdx, parentElm);
793
685
  if (childNode) {
794
686
  vnodes[startIdx].$elm$ = childNode;
795
687
  insertBefore(containerElm, childNode, referenceNode(before) );
@@ -876,7 +768,7 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
876
768
  if (idxInOld >= 0) {
877
769
  elmToMove = oldCh[idxInOld];
878
770
  if (elmToMove.$tag$ !== newStartVnode.$tag$) {
879
- node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld);
771
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld, parentElm);
880
772
  } else {
881
773
  patch(elmToMove, newStartVnode, isInitialRender);
882
774
  oldCh[idxInOld] = void 0;
@@ -884,16 +776,12 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
884
776
  }
885
777
  newStartVnode = newCh[++newStartIdx];
886
778
  } else {
887
- node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx);
779
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx, parentElm);
888
780
  newStartVnode = newCh[++newStartIdx];
889
781
  }
890
782
  if (node) {
891
783
  {
892
- insertBefore(
893
- referenceNode(oldStartVnode.$elm$).parentNode,
894
- node,
895
- referenceNode(oldStartVnode.$elm$)
896
- );
784
+ insertBefore(parentReferenceNode(oldStartVnode.$elm$), node, referenceNode(oldStartVnode.$elm$));
897
785
  }
898
786
  }
899
787
  }
@@ -919,14 +807,14 @@ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
919
807
  if (!isInitialRender) {
920
808
  return leftVNode.$key$ === rightVNode.$key$;
921
809
  }
922
- if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
923
- leftVNode.$key$ = rightVNode.$key$;
924
- }
925
810
  return true;
926
811
  }
927
812
  return false;
928
813
  };
929
- var referenceNode = (node) => node && node["s-ol"] || node;
814
+ var referenceNode = (node) => {
815
+ return node && node["s-ol"] || node;
816
+ };
817
+ var parentReferenceNode = (node) => (node["s-ol"] ? node["s-ol"] : node).parentNode;
930
818
  var patch = (oldVNode, newVNode2, isInitialRender = false) => {
931
819
  const elm = newVNode2.$elm$ = oldVNode.$elm$;
932
820
  const oldChildren = oldVNode.$children$;
@@ -950,10 +838,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
950
838
  elm.textContent = "";
951
839
  }
952
840
  addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
953
- } else if (
954
- // don't do this on initial render as it can cause non-hydrated content to be removed
955
- !isInitialRender && BUILD.updatable && oldChildren !== null
956
- ) {
841
+ } else if (oldChildren !== null) {
957
842
  removeVnodes(oldChildren, 0, oldChildren.length - 1);
958
843
  }
959
844
  if (isSvgMode && tag === "svg") {
@@ -965,15 +850,41 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
965
850
  elm.data = text;
966
851
  }
967
852
  };
853
+ var updateFallbackSlotVisibility = (elm) => {
854
+ const childNodes = elm.childNodes;
855
+ for (const childNode of childNodes) {
856
+ if (childNode.nodeType === 1 /* ElementNode */) {
857
+ if (childNode["s-sr"]) {
858
+ const slotName = childNode["s-sn"];
859
+ childNode.hidden = false;
860
+ for (const siblingNode of childNodes) {
861
+ if (siblingNode !== childNode) {
862
+ if (siblingNode["s-hn"] !== childNode["s-hn"] || slotName !== "") {
863
+ if (siblingNode.nodeType === 1 /* ElementNode */ && (slotName === siblingNode.getAttribute("slot") || slotName === siblingNode["s-sn"]) || siblingNode.nodeType === 3 /* TextNode */ && slotName === siblingNode["s-sn"]) {
864
+ childNode.hidden = true;
865
+ break;
866
+ }
867
+ } else {
868
+ if (siblingNode.nodeType === 1 /* ElementNode */ || siblingNode.nodeType === 3 /* TextNode */ && siblingNode.textContent.trim() !== "") {
869
+ childNode.hidden = true;
870
+ break;
871
+ }
872
+ }
873
+ }
874
+ }
875
+ }
876
+ updateFallbackSlotVisibility(childNode);
877
+ }
878
+ }
879
+ };
968
880
  var relocateNodes = [];
969
881
  var markSlotContentForRelocation = (elm) => {
970
882
  let node;
971
883
  let hostContentNodes;
972
884
  let j;
973
- const children = elm.__childNodes || elm.childNodes;
974
- for (const childNode of children) {
885
+ for (const childNode of elm.childNodes) {
975
886
  if (childNode["s-sr"] && (node = childNode["s-cr"]) && node.parentNode) {
976
- hostContentNodes = node.parentNode.__childNodes || node.parentNode.childNodes;
887
+ hostContentNodes = node.parentNode.childNodes;
977
888
  const slotName = childNode["s-sn"];
978
889
  for (j = hostContentNodes.length - 1; j >= 0; j--) {
979
890
  node = hostContentNodes[j];
@@ -1015,6 +926,21 @@ var markSlotContentForRelocation = (elm) => {
1015
926
  }
1016
927
  }
1017
928
  };
929
+ var isNodeLocatedInSlot = (nodeToRelocate, slotName) => {
930
+ if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
931
+ if (nodeToRelocate.getAttribute("slot") === null && slotName === "") {
932
+ return true;
933
+ }
934
+ if (nodeToRelocate.getAttribute("slot") === slotName) {
935
+ return true;
936
+ }
937
+ return false;
938
+ }
939
+ if (nodeToRelocate["s-sn"] === slotName) {
940
+ return true;
941
+ }
942
+ return slotName === "";
943
+ };
1018
944
  var nullifyVNodeRefs = (vNode) => {
1019
945
  {
1020
946
  vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
@@ -1022,9 +948,8 @@ var nullifyVNodeRefs = (vNode) => {
1022
948
  }
1023
949
  };
1024
950
  var insertBefore = (parent, newNode, reference) => {
1025
- {
1026
- return parent == null ? void 0 : parent.insertBefore(newNode, reference);
1027
- }
951
+ const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
952
+ return inserted;
1028
953
  };
1029
954
  var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
1030
955
  var _a, _b, _c, _d;
@@ -1050,7 +975,10 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
1050
975
  rootVnode.$flags$ |= 4 /* isHost */;
1051
976
  hostRef.$vnode$ = rootVnode;
1052
977
  rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
1053
- useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
978
+ {
979
+ scopeId = hostElm["s-sc"];
980
+ }
981
+ useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
1054
982
  {
1055
983
  contentRef = hostElm["s-cr"];
1056
984
  checkSlotFallbackVisibility = false;
@@ -1078,7 +1006,7 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
1078
1006
  let orgLocationNode = (_a = nodeToRelocate["s-ol"]) == null ? void 0 : _a.previousSibling;
1079
1007
  while (orgLocationNode) {
1080
1008
  let refNode = (_b = orgLocationNode["s-nr"]) != null ? _b : null;
1081
- if (refNode && refNode["s-sn"] === nodeToRelocate["s-sn"] && parentNodeRef === (refNode.__parentNode || refNode.parentNode)) {
1009
+ if (refNode && refNode["s-sn"] === nodeToRelocate["s-sn"] && parentNodeRef === refNode.parentNode) {
1082
1010
  refNode = refNode.nextSibling;
1083
1011
  while (refNode === nodeToRelocate || (refNode == null ? void 0 : refNode["s-sr"])) {
1084
1012
  refNode = refNode == null ? void 0 : refNode.nextSibling;
@@ -1091,15 +1019,13 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
1091
1019
  orgLocationNode = orgLocationNode.previousSibling;
1092
1020
  }
1093
1021
  }
1094
- const parent = nodeToRelocate.__parentNode || nodeToRelocate.parentNode;
1095
- const nextSibling = nodeToRelocate.__nextSibling || nodeToRelocate.nextSibling;
1096
- if (!insertBeforeNode && parentNodeRef !== parent || nextSibling !== insertBeforeNode) {
1022
+ if (!insertBeforeNode && parentNodeRef !== nodeToRelocate.parentNode || nodeToRelocate.nextSibling !== insertBeforeNode) {
1097
1023
  if (nodeToRelocate !== insertBeforeNode) {
1098
1024
  if (!nodeToRelocate["s-hn"] && nodeToRelocate["s-ol"]) {
1099
1025
  nodeToRelocate["s-hn"] = nodeToRelocate["s-ol"].parentNode.nodeName;
1100
1026
  }
1101
1027
  insertBefore(parentNodeRef, nodeToRelocate, insertBeforeNode);
1102
- if (nodeToRelocate.nodeType === 1 /* ElementNode */ && nodeToRelocate.tagName !== "SLOT-FB") {
1028
+ if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
1103
1029
  nodeToRelocate.hidden = (_c = nodeToRelocate["s-ih"]) != null ? _c : false;
1104
1030
  }
1105
1031
  }
@@ -1127,14 +1053,7 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
1127
1053
  // src/runtime/update-component.ts
1128
1054
  var attachToAncestor = (hostRef, ancestorComponent) => {
1129
1055
  if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
1130
- const index = ancestorComponent["s-p"].push(
1131
- new Promise(
1132
- (r) => hostRef.$onRenderResolve$ = () => {
1133
- ancestorComponent["s-p"].splice(index - 1, 1);
1134
- r();
1135
- }
1136
- )
1137
- );
1056
+ ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
1138
1057
  }
1139
1058
  };
1140
1059
  var scheduleUpdate = (hostRef, isInitialLoad) => {
@@ -1161,7 +1080,7 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
1161
1080
  let maybePromise;
1162
1081
  if (isInitialLoad) {
1163
1082
  {
1164
- maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
1083
+ maybePromise = safeCall(instance, "componentWillLoad");
1165
1084
  }
1166
1085
  }
1167
1086
  endSchedule();
@@ -1230,7 +1149,7 @@ var postUpdateComponent = (hostRef) => {
1230
1149
  const instance = hostRef.$lazyInstance$ ;
1231
1150
  const ancestorComponent = hostRef.$ancestorComponent$;
1232
1151
  {
1233
- safeCall(instance, "componentDidRender", void 0, elm);
1152
+ safeCall(instance, "componentDidRender");
1234
1153
  }
1235
1154
  if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
1236
1155
  hostRef.$flags$ |= 64 /* hasLoadedComponent */;
@@ -1238,7 +1157,7 @@ var postUpdateComponent = (hostRef) => {
1238
1157
  addHydratedFlag(elm);
1239
1158
  }
1240
1159
  {
1241
- safeCall(instance, "componentDidLoad", void 0, elm);
1160
+ safeCall(instance, "componentDidLoad");
1242
1161
  }
1243
1162
  endPostUpdate();
1244
1163
  {
@@ -1249,7 +1168,7 @@ var postUpdateComponent = (hostRef) => {
1249
1168
  }
1250
1169
  } else {
1251
1170
  {
1252
- safeCall(instance, "componentDidUpdate", void 0, elm);
1171
+ safeCall(instance, "componentDidUpdate");
1253
1172
  }
1254
1173
  endPostUpdate();
1255
1174
  }
@@ -1265,14 +1184,17 @@ var postUpdateComponent = (hostRef) => {
1265
1184
  }
1266
1185
  };
1267
1186
  var appDidLoad = (who) => {
1187
+ {
1188
+ addHydratedFlag(doc.documentElement);
1189
+ }
1268
1190
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
1269
1191
  };
1270
- var safeCall = (instance, method, arg, elm) => {
1192
+ var safeCall = (instance, method, arg) => {
1271
1193
  if (instance && instance[method]) {
1272
1194
  try {
1273
1195
  return instance[method](arg);
1274
1196
  } catch (e) {
1275
- consoleError(e, elm);
1197
+ consoleError(e);
1276
1198
  }
1277
1199
  }
1278
1200
  return void 0;
@@ -1315,68 +1237,15 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1315
1237
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
1316
1238
  members.map(([memberName, [memberFlags]]) => {
1317
1239
  if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
1318
- const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
1319
- if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
1320
- if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
1321
- if (flags & 1 /* isElementConstructor */ || !origGetter) {
1322
- Object.defineProperty(prototype, memberName, {
1323
- get() {
1324
- {
1325
- if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
1326
- return getValue(this, memberName);
1327
- }
1328
- const ref = getHostRef(this);
1329
- const instance = ref ? ref.$lazyInstance$ : prototype;
1330
- if (!instance) return;
1331
- return instance[memberName];
1332
- }
1333
- },
1334
- configurable: true,
1335
- enumerable: true
1336
- });
1337
- }
1338
1240
  Object.defineProperty(prototype, memberName, {
1241
+ get() {
1242
+ return getValue(this, memberName);
1243
+ },
1339
1244
  set(newValue) {
1340
- const ref = getHostRef(this);
1341
- if (origSetter) {
1342
- const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1343
- if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
1344
- newValue = ref.$instanceValues$.get(memberName);
1345
- } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
1346
- ref.$instanceValues$.set(memberName, currentValue);
1347
- }
1348
- origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
1349
- newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1350
- setValue(this, memberName, newValue, cmpMeta);
1351
- return;
1352
- }
1353
- {
1354
- if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
1355
- setValue(this, memberName, newValue, cmpMeta);
1356
- if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
1357
- ref.$onReadyPromise$.then(() => {
1358
- if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
1359
- ref.$lazyInstance$[memberName] = newValue;
1360
- }
1361
- });
1362
- }
1363
- return;
1364
- }
1365
- const setterSetVal = () => {
1366
- const currentValue = ref.$lazyInstance$[memberName];
1367
- if (!ref.$instanceValues$.get(memberName) && currentValue) {
1368
- ref.$instanceValues$.set(memberName, currentValue);
1369
- }
1370
- ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
1371
- setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
1372
- };
1373
- if (ref.$lazyInstance$) {
1374
- setterSetVal();
1375
- } else {
1376
- ref.$onReadyPromise$.then(() => setterSetVal());
1377
- }
1378
- }
1379
- }
1245
+ setValue(this, memberName, newValue, cmpMeta);
1246
+ },
1247
+ configurable: true,
1248
+ enumerable: true
1380
1249
  });
1381
1250
  }
1382
1251
  });
@@ -1386,11 +1255,10 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1386
1255
  plt.jmp(() => {
1387
1256
  var _a2;
1388
1257
  const propName = attrNameToPropName.get(attrName);
1389
- if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
1258
+ if (this.hasOwnProperty(propName)) {
1390
1259
  newValue = this[propName];
1391
1260
  delete this[propName];
1392
- } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
1393
- this[propName] == newValue) {
1261
+ } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && this[propName] == newValue) {
1394
1262
  return;
1395
1263
  } else if (propName == null) {
1396
1264
  const hostRef = getHostRef(this);
@@ -1406,11 +1274,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1406
1274
  }
1407
1275
  return;
1408
1276
  }
1409
- const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
1410
- newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1411
- if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
1412
- this[propName] = newValue;
1413
- }
1277
+ this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1414
1278
  });
1415
1279
  };
1416
1280
  Cstr.observedAttributes = Array.from(
@@ -1439,7 +1303,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1439
1303
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1440
1304
  const bundleId = cmpMeta.$lazyBundleId$;
1441
1305
  if (bundleId) {
1442
- const CstrImport = loadModule(cmpMeta, hostRef);
1306
+ const CstrImport = loadModule(cmpMeta);
1443
1307
  if (CstrImport && "then" in CstrImport) {
1444
1308
  const endLoad = uniqueTime();
1445
1309
  Cstr = await CstrImport;
@@ -1461,13 +1325,13 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1461
1325
  try {
1462
1326
  new Cstr(hostRef);
1463
1327
  } catch (e) {
1464
- consoleError(e, elm);
1328
+ consoleError(e);
1465
1329
  }
1466
1330
  {
1467
1331
  hostRef.$flags$ &= ~8 /* isConstructingInstance */;
1468
1332
  }
1469
1333
  endNewInstance();
1470
- fireConnectedCallback(hostRef.$lazyInstance$, elm);
1334
+ fireConnectedCallback(hostRef.$lazyInstance$);
1471
1335
  } else {
1472
1336
  Cstr = elm.constructor;
1473
1337
  const cmpTag = elm.localName;
@@ -1494,9 +1358,9 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1494
1358
  schedule();
1495
1359
  }
1496
1360
  };
1497
- var fireConnectedCallback = (instance, elm) => {
1361
+ var fireConnectedCallback = (instance) => {
1498
1362
  {
1499
- safeCall(instance, "connectedCallback", void 0, elm);
1363
+ safeCall(instance, "connectedCallback");
1500
1364
  }
1501
1365
  };
1502
1366
 
@@ -1537,9 +1401,9 @@ var connectedCallback = (elm) => {
1537
1401
  }
1538
1402
  } else {
1539
1403
  if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1540
- fireConnectedCallback(hostRef.$lazyInstance$, elm);
1404
+ fireConnectedCallback(hostRef.$lazyInstance$);
1541
1405
  } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1542
- hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$, elm));
1406
+ hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$));
1543
1407
  }
1544
1408
  }
1545
1409
  endConnected();
@@ -1552,26 +1416,20 @@ var setContentReference = (elm) => {
1552
1416
  contentRefElm["s-cn"] = true;
1553
1417
  insertBefore(elm, contentRefElm, elm.firstChild);
1554
1418
  };
1555
- var disconnectInstance = (instance, elm) => {
1419
+ var disconnectInstance = (instance) => {
1556
1420
  {
1557
- safeCall(instance, "disconnectedCallback", void 0, elm || instance);
1421
+ safeCall(instance, "disconnectedCallback");
1558
1422
  }
1559
1423
  };
1560
1424
  var disconnectedCallback = async (elm) => {
1561
1425
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1562
1426
  const hostRef = getHostRef(elm);
1563
1427
  if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1564
- disconnectInstance(hostRef.$lazyInstance$, elm);
1428
+ disconnectInstance(hostRef.$lazyInstance$);
1565
1429
  } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1566
- hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$, elm));
1430
+ hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$));
1567
1431
  }
1568
1432
  }
1569
- if (rootAppliedStyles.has(elm)) {
1570
- rootAppliedStyles.delete(elm);
1571
- }
1572
- if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
1573
- rootAppliedStyles.delete(elm.shadowRoot);
1574
- }
1575
1433
  };
1576
1434
 
1577
1435
  // src/runtime/bootstrap-lazy.ts
@@ -1648,17 +1506,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1648
1506
  }
1649
1507
  disconnectedCallback() {
1650
1508
  plt.jmp(() => disconnectedCallback(this));
1651
- plt.raf(() => {
1652
- var _a3;
1653
- const hostRef = getHostRef(this);
1654
- const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
1655
- if (i2 > -1) {
1656
- deferredConnectedCallbacks.splice(i2, 1);
1657
- }
1658
- if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
1659
- delete hostRef.$vnode$.$elm$;
1660
- }
1661
- });
1662
1509
  }
1663
1510
  componentOnReady() {
1664
1511
  return getHostRef(this).$onReadyPromise$;