@everymatrix/casino-tournament-prizes 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 (25) hide show
  1. package/dist/casino-tournament-prizes/casino-tournament-prizes.esm.js +1 -1
  2. package/dist/casino-tournament-prizes/p-0847d240.js +2 -0
  3. package/dist/casino-tournament-prizes/p-0b1b4c9e.entry.js +1 -0
  4. package/dist/cjs/casino-tournament-prizes.cjs.entry.js +6 -1
  5. package/dist/cjs/casino-tournament-prizes.cjs.js +2 -2
  6. package/dist/cjs/{index-0c084c74.js → index-392c79a4.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-prizes/casino-tournament-prizes.js +5 -18
  10. package/dist/esm/casino-tournament-prizes.entry.js +6 -1
  11. package/dist/esm/casino-tournament-prizes.js +3 -3
  12. package/dist/esm/{index-30effb08.js → index-37898de2.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-prizes/.stencil/packages/stencil/casino-tournament-prizes/stencil.config.d.ts +2 -0
  15. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-tournament-prizes/.stencil/packages/stencil/casino-tournament-prizes/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-prizes/p-dea4ad64.entry.js +0 -1
  19. package/dist/casino-tournament-prizes/p-e83ebab2.js +0 -2
  20. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-tournament-prizes/.stencil/packages/stencil/casino-tournament-prizes/stencil.config.d.ts +0 -2
  21. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-tournament-prizes/.stencil/packages/stencil/casino-tournament-prizes/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-prizes/.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-prizes/.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-prizes/.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-prizes/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -2,8 +2,13 @@ import { h } from "@stencil/core";
2
2
  import { translate } from "../../utils/locale.utils";
3
3
  export class CasinoTournamentPrizes {
4
4
  constructor() {
5
+ this.language = undefined;
5
6
  this.useGroup = false;
6
7
  this.useEvent = false;
8
+ this.endpoint = undefined;
9
+ this.session = undefined;
10
+ this.rawPrizes = undefined;
11
+ this.tournamentId = undefined;
7
12
  this.clientStyling = '';
8
13
  this.clientStylingUrl = '';
9
14
  this.limitStylingAppends = false;
@@ -134,8 +139,6 @@ export class CasinoTournamentPrizes {
134
139
  "tags": [],
135
140
  "text": ""
136
141
  },
137
- "getter": false,
138
- "setter": false,
139
142
  "attribute": "language",
140
143
  "reflect": false
141
144
  },
@@ -153,8 +156,6 @@ export class CasinoTournamentPrizes {
153
156
  "tags": [],
154
157
  "text": ""
155
158
  },
156
- "getter": false,
157
- "setter": false,
158
159
  "attribute": "use-group",
159
160
  "reflect": false,
160
161
  "defaultValue": "false"
@@ -173,8 +174,6 @@ export class CasinoTournamentPrizes {
173
174
  "tags": [],
174
175
  "text": ""
175
176
  },
176
- "getter": false,
177
- "setter": false,
178
177
  "attribute": "use-event",
179
178
  "reflect": false,
180
179
  "defaultValue": "false"
@@ -193,8 +192,6 @@ export class CasinoTournamentPrizes {
193
192
  "tags": [],
194
193
  "text": ""
195
194
  },
196
- "getter": false,
197
- "setter": false,
198
195
  "attribute": "endpoint",
199
196
  "reflect": false
200
197
  },
@@ -212,8 +209,6 @@ export class CasinoTournamentPrizes {
212
209
  "tags": [],
213
210
  "text": ""
214
211
  },
215
- "getter": false,
216
- "setter": false,
217
212
  "attribute": "session",
218
213
  "reflect": false
219
214
  },
@@ -231,8 +226,6 @@ export class CasinoTournamentPrizes {
231
226
  "tags": [],
232
227
  "text": ""
233
228
  },
234
- "getter": false,
235
- "setter": false,
236
229
  "attribute": "raw-prizes",
237
230
  "reflect": false
238
231
  },
@@ -250,8 +243,6 @@ export class CasinoTournamentPrizes {
250
243
  "tags": [],
251
244
  "text": ""
252
245
  },
253
- "getter": false,
254
- "setter": false,
255
246
  "attribute": "tournament-id",
256
247
  "reflect": false
257
248
  },
@@ -269,8 +260,6 @@ export class CasinoTournamentPrizes {
269
260
  "tags": [],
270
261
  "text": ""
271
262
  },
272
- "getter": false,
273
- "setter": false,
274
263
  "attribute": "client-styling",
275
264
  "reflect": false,
276
265
  "defaultValue": "''"
@@ -289,8 +278,6 @@ export class CasinoTournamentPrizes {
289
278
  "tags": [],
290
279
  "text": ""
291
280
  },
292
- "getter": false,
293
- "setter": false,
294
281
  "attribute": "client-styling-url",
295
282
  "reflect": false,
296
283
  "defaultValue": "''"
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, g as getElement } from './index-30effb08.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-37898de2.js';
2
2
 
3
3
  const DEFAULT_LANGUAGE = 'en';
4
4
  const TRANSLATIONS = {
@@ -65,8 +65,13 @@ const CasinoTournamentPrizesStyle0 = casinoTournamentPrizesCss;
65
65
  const CasinoTournamentPrizes = class {
66
66
  constructor(hostRef) {
67
67
  registerInstance(this, hostRef);
68
+ this.language = undefined;
68
69
  this.useGroup = false;
69
70
  this.useEvent = false;
71
+ this.endpoint = undefined;
72
+ this.session = undefined;
73
+ this.rawPrizes = undefined;
74
+ this.tournamentId = undefined;
70
75
  this.clientStyling = '';
71
76
  this.clientStylingUrl = '';
72
77
  this.limitStylingAppends = false;
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-30effb08.js';
2
- export { s as setNonce } from './index-30effb08.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-37898de2.js';
2
+ export { s as setNonce } from './index-37898de2.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.26.0 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.19.2 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  var patchBrowser = () => {
9
9
  const importMeta = import.meta.url;
@@ -1,25 +1,17 @@
1
1
  const NAMESPACE = 'casino-tournament-prizes';
2
- const BUILD = /* casino-tournament-prizes */ { 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: false, 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: false, 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: false, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: false };
2
+ const BUILD = /* casino-tournament-prizes */ { 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: false, 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: false, 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: false, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: false };
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";
@@ -344,40 +337,13 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
344
337
  }
345
338
  if (!appliedStyles.has(scopeId2)) {
346
339
  {
347
- styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || doc.createElement("style");
340
+ styleElm = doc.createElement("style");
348
341
  styleElm.innerHTML = style;
349
342
  const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
350
343
  if (nonce != null) {
351
344
  styleElm.setAttribute("nonce", nonce);
352
345
  }
353
- if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
354
- if (styleContainerNode.nodeName === "HEAD") {
355
- const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
356
- const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
357
- styleContainerNode.insertBefore(
358
- styleElm,
359
- (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
360
- );
361
- } else if ("host" in styleContainerNode) {
362
- if (supportsConstructableStylesheets) {
363
- const stylesheet = new CSSStyleSheet();
364
- stylesheet.replaceSync(style);
365
- styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
366
- } else {
367
- const existingStyleContainer = styleContainerNode.querySelector("style");
368
- if (existingStyleContainer) {
369
- existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
370
- } else {
371
- styleContainerNode.prepend(styleElm);
372
- }
373
- }
374
- } else {
375
- styleContainerNode.append(styleElm);
376
- }
377
- }
378
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
379
- styleContainerNode.insertBefore(styleElm, null);
380
- }
346
+ styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
381
347
  }
382
348
  if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
383
349
  styleElm.innerHTML += SLOT_FB_CSS;
@@ -400,25 +366,23 @@ var attachStyles = (hostRef) => {
400
366
  const scopeId2 = addStyle(
401
367
  elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
402
368
  cmpMeta);
403
- if ((flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */ || flags & 128 /* shadowNeedsScopedCss */)) {
369
+ if (flags & 10 /* needsScopedEncapsulation */) {
404
370
  elm["s-sc"] = scopeId2;
405
371
  elm.classList.add(scopeId2 + "-h");
406
372
  }
407
373
  endAttachStyles();
408
374
  };
409
375
  var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
410
- var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
376
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
411
377
  if (oldValue !== newValue) {
412
378
  let isProp = isMemberInElement(elm, memberName);
413
379
  memberName.toLowerCase();
414
380
  if (memberName === "class") {
415
381
  const classList = elm.classList;
416
382
  const oldClasses = parseClassList(oldValue);
417
- let newClasses = parseClassList(newValue);
418
- {
419
- classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
420
- classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
421
- }
383
+ const newClasses = parseClassList(newValue);
384
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
385
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
422
386
  } else if (memberName === "key") ; else {
423
387
  const isComplex = isComplexType(newValue);
424
388
  if ((isProp || isComplex && newValue !== null) && !isSvg) {
@@ -428,13 +392,9 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
428
392
  if (memberName === "list") {
429
393
  isProp = false;
430
394
  } else if (oldValue == null || elm[memberName] != n) {
431
- if (typeof elm.__lookupSetter__(memberName) === "function") {
432
- elm[memberName] = n;
433
- } else {
434
- elm.setAttribute(memberName, n);
435
- }
395
+ elm[memberName] = n;
436
396
  }
437
- } else if (elm[memberName] !== newValue) {
397
+ } else {
438
398
  elm[memberName] = newValue;
439
399
  }
440
400
  } catch (e) {
@@ -456,42 +416,22 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
456
416
  }
457
417
  };
458
418
  var parseClassListRegex = /\s/;
459
- var parseClassList = (value) => {
460
- if (typeof value === "object" && value && "baseVal" in value) {
461
- value = value.baseVal;
462
- }
463
- if (!value || typeof value !== "string") {
464
- return [];
465
- }
466
- return value.split(parseClassListRegex);
467
- };
419
+ var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
468
420
 
469
421
  // src/runtime/vdom/update-element.ts
470
- var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
422
+ var updateElement = (oldVnode, newVnode, isSvgMode2) => {
471
423
  const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
472
- const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
473
- const newVnodeAttrs = newVnode.$attrs$ || {};
424
+ const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
425
+ const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
474
426
  {
475
427
  for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
476
428
  if (!(memberName in newVnodeAttrs)) {
477
- setAccessor(
478
- elm,
479
- memberName,
480
- oldVnodeAttrs[memberName],
481
- void 0,
482
- isSvgMode2,
483
- newVnode.$flags$);
429
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
484
430
  }
485
431
  }
486
432
  }
487
433
  for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
488
- setAccessor(
489
- elm,
490
- memberName,
491
- oldVnodeAttrs[memberName],
492
- newVnodeAttrs[memberName],
493
- isSvgMode2,
494
- newVnode.$flags$);
434
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
495
435
  }
496
436
  };
497
437
  function sortedAttrNames(attrNames) {
@@ -503,10 +443,13 @@ function sortedAttrNames(attrNames) {
503
443
  attrNames
504
444
  );
505
445
  }
446
+
447
+ // src/runtime/vdom/vdom-render.ts
448
+ var scopeId;
506
449
  var hostTagName;
507
450
  var useNativeShadowDom = false;
508
451
  var isSvgMode = false;
509
- var createElm = (oldParentVNode, newParentVNode, childIndex) => {
452
+ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
510
453
  const newVNode2 = newParentVNode.$children$[childIndex];
511
454
  let i2 = 0;
512
455
  let elm;
@@ -527,6 +470,9 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
527
470
  {
528
471
  updateElement(null, newVNode2, isSvgMode);
529
472
  }
473
+ if (isDef(scopeId) && elm["s-si"] !== scopeId) {
474
+ elm.classList.add(elm["s-si"] = scopeId);
475
+ }
530
476
  if (newVNode2.$children$) {
531
477
  for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
532
478
  childNode = createElm(oldParentVNode, newVNode2, i2);
@@ -662,9 +608,6 @@ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
662
608
  if (!isInitialRender) {
663
609
  return leftVNode.$key$ === rightVNode.$key$;
664
610
  }
665
- if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
666
- leftVNode.$key$ = rightVNode.$key$;
667
- }
668
611
  return true;
669
612
  }
670
613
  return false;
@@ -691,10 +634,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
691
634
  elm.textContent = "";
692
635
  }
693
636
  addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
694
- } else if (
695
- // don't do this on initial render as it can cause non-hydrated content to be removed
696
- !isInitialRender && BUILD.updatable && oldChildren !== null
697
- ) {
637
+ } else if (oldChildren !== null) {
698
638
  removeVnodes(oldChildren, 0, oldChildren.length - 1);
699
639
  }
700
640
  if (isSvgMode && tag === "svg") {
@@ -705,9 +645,8 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
705
645
  }
706
646
  };
707
647
  var insertBefore = (parent, newNode, reference) => {
708
- {
709
- return parent == null ? void 0 : parent.insertBefore(newNode, reference);
710
- }
648
+ const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
649
+ return inserted;
711
650
  };
712
651
  var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
713
652
  const hostElm = hostRef.$hostElement$;
@@ -726,21 +665,17 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
726
665
  rootVnode.$flags$ |= 4 /* isHost */;
727
666
  hostRef.$vnode$ = rootVnode;
728
667
  rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
729
- useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
668
+ {
669
+ scopeId = hostElm["s-sc"];
670
+ }
671
+ useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
730
672
  patch(oldVNode, rootVnode, isInitialLoad);
731
673
  };
732
674
 
733
675
  // src/runtime/update-component.ts
734
676
  var attachToAncestor = (hostRef, ancestorComponent) => {
735
677
  if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
736
- const index = ancestorComponent["s-p"].push(
737
- new Promise(
738
- (r) => hostRef.$onRenderResolve$ = () => {
739
- ancestorComponent["s-p"].splice(index - 1, 1);
740
- r();
741
- }
742
- )
743
- );
678
+ ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
744
679
  }
745
680
  };
746
681
  var scheduleUpdate = (hostRef, isInitialLoad) => {
@@ -769,12 +704,12 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
769
704
  {
770
705
  hostRef.$flags$ |= 256 /* isListenReady */;
771
706
  if (hostRef.$queuedListeners$) {
772
- hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event, elm));
707
+ hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
773
708
  hostRef.$queuedListeners$ = void 0;
774
709
  }
775
710
  }
776
711
  {
777
- maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
712
+ maybePromise = safeCall(instance, "componentWillLoad");
778
713
  }
779
714
  }
780
715
  endSchedule();
@@ -843,7 +778,7 @@ var postUpdateComponent = (hostRef) => {
843
778
  const instance = hostRef.$lazyInstance$ ;
844
779
  const ancestorComponent = hostRef.$ancestorComponent$;
845
780
  {
846
- safeCall(instance, "componentDidRender", void 0, elm);
781
+ safeCall(instance, "componentDidRender");
847
782
  }
848
783
  if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
849
784
  hostRef.$flags$ |= 64 /* hasLoadedComponent */;
@@ -872,14 +807,17 @@ var postUpdateComponent = (hostRef) => {
872
807
  }
873
808
  };
874
809
  var appDidLoad = (who) => {
810
+ {
811
+ addHydratedFlag(doc.documentElement);
812
+ }
875
813
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
876
814
  };
877
- var safeCall = (instance, method, arg, elm) => {
815
+ var safeCall = (instance, method, arg) => {
878
816
  if (instance && instance[method]) {
879
817
  try {
880
818
  return instance[method](arg);
881
819
  } catch (e) {
882
- consoleError(e, elm);
820
+ consoleError(e);
883
821
  }
884
822
  }
885
823
  return void 0;
@@ -922,68 +860,15 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
922
860
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
923
861
  members.map(([memberName, [memberFlags]]) => {
924
862
  if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
925
- const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
926
- if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
927
- if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
928
- if (flags & 1 /* isElementConstructor */ || !origGetter) {
929
- Object.defineProperty(prototype, memberName, {
930
- get() {
931
- {
932
- if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
933
- return getValue(this, memberName);
934
- }
935
- const ref = getHostRef(this);
936
- const instance = ref ? ref.$lazyInstance$ : prototype;
937
- if (!instance) return;
938
- return instance[memberName];
939
- }
940
- },
941
- configurable: true,
942
- enumerable: true
943
- });
944
- }
945
863
  Object.defineProperty(prototype, memberName, {
864
+ get() {
865
+ return getValue(this, memberName);
866
+ },
946
867
  set(newValue) {
947
- const ref = getHostRef(this);
948
- if (origSetter) {
949
- const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
950
- if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
951
- newValue = ref.$instanceValues$.get(memberName);
952
- } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
953
- ref.$instanceValues$.set(memberName, currentValue);
954
- }
955
- origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
956
- newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
957
- setValue(this, memberName, newValue, cmpMeta);
958
- return;
959
- }
960
- {
961
- if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
962
- setValue(this, memberName, newValue, cmpMeta);
963
- if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
964
- ref.$onReadyPromise$.then(() => {
965
- if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
966
- ref.$lazyInstance$[memberName] = newValue;
967
- }
968
- });
969
- }
970
- return;
971
- }
972
- const setterSetVal = () => {
973
- const currentValue = ref.$lazyInstance$[memberName];
974
- if (!ref.$instanceValues$.get(memberName) && currentValue) {
975
- ref.$instanceValues$.set(memberName, currentValue);
976
- }
977
- ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
978
- setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
979
- };
980
- if (ref.$lazyInstance$) {
981
- setterSetVal();
982
- } else {
983
- ref.$onReadyPromise$.then(() => setterSetVal());
984
- }
985
- }
986
- }
868
+ setValue(this, memberName, newValue, cmpMeta);
869
+ },
870
+ configurable: true,
871
+ enumerable: true
987
872
  });
988
873
  }
989
874
  });
@@ -993,11 +878,10 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
993
878
  plt.jmp(() => {
994
879
  var _a2;
995
880
  const propName = attrNameToPropName.get(attrName);
996
- if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
881
+ if (this.hasOwnProperty(propName)) {
997
882
  newValue = this[propName];
998
883
  delete this[propName];
999
- } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
1000
- this[propName] == newValue) {
884
+ } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && this[propName] == newValue) {
1001
885
  return;
1002
886
  } else if (propName == null) {
1003
887
  const hostRef = getHostRef(this);
@@ -1013,11 +897,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1013
897
  }
1014
898
  return;
1015
899
  }
1016
- const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
1017
- newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1018
- if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
1019
- this[propName] = newValue;
1020
- }
900
+ this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1021
901
  });
1022
902
  };
1023
903
  Cstr.observedAttributes = Array.from(
@@ -1042,7 +922,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1042
922
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1043
923
  const bundleId = cmpMeta.$lazyBundleId$;
1044
924
  if (bundleId) {
1045
- const CstrImport = loadModule(cmpMeta, hostRef);
925
+ const CstrImport = loadModule(cmpMeta);
1046
926
  if (CstrImport && "then" in CstrImport) {
1047
927
  const endLoad = uniqueTime();
1048
928
  Cstr = await CstrImport;
@@ -1064,7 +944,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1064
944
  try {
1065
945
  new Cstr(hostRef);
1066
946
  } catch (e) {
1067
- consoleError(e, elm);
947
+ consoleError(e);
1068
948
  }
1069
949
  {
1070
950
  hostRef.$flags$ &= ~8 /* isConstructingInstance */;
@@ -1096,7 +976,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1096
976
  schedule();
1097
977
  }
1098
978
  };
1099
- var fireConnectedCallback = (instance, elm) => {
979
+ var fireConnectedCallback = (instance) => {
1100
980
  };
1101
981
 
1102
982
  // src/runtime/connected-callback.ts
@@ -1137,7 +1017,7 @@ var connectedCallback = (elm) => {
1137
1017
  endConnected();
1138
1018
  }
1139
1019
  };
1140
- var disconnectInstance = (instance, elm) => {
1020
+ var disconnectInstance = (instance) => {
1141
1021
  };
1142
1022
  var disconnectedCallback = async (elm) => {
1143
1023
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
@@ -1152,12 +1032,6 @@ var disconnectedCallback = async (elm) => {
1152
1032
  hostRef.$onReadyPromise$.then(() => disconnectInstance());
1153
1033
  }
1154
1034
  }
1155
- if (rootAppliedStyles.has(elm)) {
1156
- rootAppliedStyles.delete(elm);
1157
- }
1158
- if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
1159
- rootAppliedStyles.delete(elm.shadowRoot);
1160
- }
1161
1035
  };
1162
1036
 
1163
1037
  // src/runtime/bootstrap-lazy.ts
@@ -1235,17 +1109,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1235
1109
  }
1236
1110
  disconnectedCallback() {
1237
1111
  plt.jmp(() => disconnectedCallback(this));
1238
- plt.raf(() => {
1239
- var _a3;
1240
- const hostRef = getHostRef(this);
1241
- const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
1242
- if (i2 > -1) {
1243
- deferredConnectedCallbacks.splice(i2, 1);
1244
- }
1245
- if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
1246
- delete hostRef.$vnode$.$elm$;
1247
- }
1248
- });
1249
1112
  }
1250
1113
  componentOnReady() {
1251
1114
  return getHostRef(this).$onReadyPromise$;
@@ -1309,7 +1172,7 @@ var hostListenerProxy = (hostRef, methodName) => (ev) => {
1309
1172
  }
1310
1173
  }
1311
1174
  } catch (e) {
1312
- consoleError(e, hostRef.$hostElement$);
1175
+ consoleError(e);
1313
1176
  }
1314
1177
  };
1315
1178
  var getHostListenerTarget = (elm, flags) => {
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-30effb08.js';
2
- export { s as setNonce } from './index-30effb08.js';
1
+ import { b as bootstrapLazy } from './index-37898de2.js';
2
+ export { s as setNonce } from './index-37898de2.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;