@maggioli-design-system/mds-input-range 2.2.0 → 2.3.1

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 (57) hide show
  1. package/dist/cjs/{index-27635fed.js → index-9509a00b.js} +148 -105
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/mds-input-range.cjs.entry.js +2 -2
  4. package/dist/cjs/mds-input-range.cjs.js +2 -2
  5. package/dist/collection/collection-manifest.json +1 -1
  6. package/dist/collection/common/browser.js +7 -0
  7. package/dist/collection/components/mds-input-range/mds-input-range.css +23 -49
  8. package/dist/components/mds-input-range.js +1 -1
  9. package/dist/documentation.json +2 -2
  10. package/dist/esm/{index-c0c11860.js → index-476f378c.js} +148 -105
  11. package/dist/esm/loader.js +2 -2
  12. package/dist/esm/mds-input-range.entry.js +2 -2
  13. package/dist/esm/mds-input-range.js +3 -3
  14. package/dist/esm-es5/index-476f378c.js +1 -0
  15. package/dist/esm-es5/loader.js +1 -1
  16. package/dist/esm-es5/mds-input-range.entry.js +1 -1
  17. package/dist/esm-es5/mds-input-range.js +1 -1
  18. package/dist/mds-input-range/mds-input-range.esm.js +1 -1
  19. package/dist/mds-input-range/mds-input-range.js +1 -1
  20. package/dist/mds-input-range/p-87f42ab7.js +2 -0
  21. package/dist/mds-input-range/p-c22c5274.system.entry.js +1 -0
  22. package/dist/mds-input-range/p-d47766b6.system.js +1 -0
  23. package/dist/mds-input-range/p-e79d51c6.system.js +2 -0
  24. package/dist/mds-input-range/p-e838760a.entry.js +1 -0
  25. package/dist/stats.json +34 -33
  26. package/dist/types/common/browser.d.ts +2 -0
  27. package/dist/types/common/locale.d.ts +1 -1
  28. package/documentation.json +2 -2
  29. package/package.json +4 -4
  30. package/src/common/browser.ts +10 -0
  31. package/src/common/locale.ts +2 -2
  32. package/src/components/mds-input-range/css/mds-input-range-pref-animation.css +13 -20
  33. package/src/components/mds-input-range/css/mds-input-range-pref-contrast.css +5 -13
  34. package/src/components/mds-input-range/css/mds-input-range-pref-theme.css +7 -16
  35. package/src/components/mds-input-range/mds-input-range.css +0 -4
  36. package/src/fixtures/icons.json +2 -0
  37. package/src/fixtures/iconsauce.json +1 -0
  38. package/src/tailwind/components.css +2 -48
  39. package/src/tailwind/index.css +4 -0
  40. package/www/build/mds-input-range.esm.js +1 -1
  41. package/www/build/mds-input-range.js +1 -1
  42. package/www/build/p-87f42ab7.js +2 -0
  43. package/www/build/p-c22c5274.system.entry.js +1 -0
  44. package/www/build/p-d47766b6.system.js +1 -0
  45. package/www/build/p-e79d51c6.system.js +2 -0
  46. package/www/build/p-e838760a.entry.js +1 -0
  47. package/dist/esm-es5/index-c0c11860.js +0 -1
  48. package/dist/mds-input-range/p-71d27af5.system.js +0 -2
  49. package/dist/mds-input-range/p-7a612415.system.js +0 -1
  50. package/dist/mds-input-range/p-88970243.system.entry.js +0 -1
  51. package/dist/mds-input-range/p-ba639fb6.entry.js +0 -1
  52. package/dist/mds-input-range/p-dd7b28fc.js +0 -2
  53. package/www/build/p-71d27af5.system.js +0 -2
  54. package/www/build/p-7a612415.system.js +0 -1
  55. package/www/build/p-88970243.system.entry.js +0 -1
  56. package/www/build/p-ba639fb6.entry.js +0 -1
  57. package/www/build/p-dd7b28fc.js +0 -2
@@ -1,8 +1,8 @@
1
1
  const NAMESPACE = 'mds-input-range';
2
- const BUILD = /* mds-input-range */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: false, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: true, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: true, hydratedClass: false, 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: false, 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 };
2
+ const BUILD = /* mds-input-range */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, constructableCSS: true, cssAnnotations: true, devTools: false, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: true, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: true, hydratedClass: false, 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: false, 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 };
3
3
 
4
4
  /*
5
- Stencil Client Platform v4.25.1 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Platform v4.27.2 | MIT Licensed | https://stenciljs.com
6
6
  */
7
7
  var __defProp = Object.defineProperty;
8
8
  var __export = (target, all) => {
@@ -11,10 +11,15 @@ var __export = (target, all) => {
11
11
  };
12
12
 
13
13
  // src/client/client-host-ref.ts
14
- var hostRefs = /* @__PURE__ */ new WeakMap();
15
- var getHostRef = (ref) => hostRefs.get(ref);
14
+ var getHostRef = (ref) => {
15
+ if (ref.__stencil__getHostRef) {
16
+ return ref.__stencil__getHostRef();
17
+ }
18
+ return void 0;
19
+ };
16
20
  var registerInstance = (lazyInstance, hostRef) => {
17
- hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
21
+ lazyInstance.__stencil__getHostRef = () => hostRef;
22
+ hostRef.$lazyInstance$ = lazyInstance;
18
23
  };
19
24
  var registerHost = (hostElement, cmpMeta) => {
20
25
  const hostRef = {
@@ -28,7 +33,8 @@ var registerHost = (hostElement, cmpMeta) => {
28
33
  hostElement["s-p"] = [];
29
34
  hostElement["s-rc"] = [];
30
35
  }
31
- const ref = hostRefs.set(hostElement, hostRef);
36
+ const ref = hostRef;
37
+ hostElement.__stencil__getHostRef = () => ref;
32
38
  return ref;
33
39
  };
34
40
  var isMemberInElement = (elm, memberName) => memberName in elm;
@@ -91,7 +97,6 @@ var FORM_ASSOCIATED_CUSTOM_ELEMENT_CALLBACKS = [
91
97
  "formStateRestoreCallback"
92
98
  ];
93
99
  var win = typeof window !== "undefined" ? window : {};
94
- var doc = win.document || { head: {} };
95
100
  var plt = {
96
101
  $flags$: 0,
97
102
  $resourcesUrl$: "",
@@ -151,9 +156,9 @@ var isComplexType = (o) => {
151
156
  };
152
157
 
153
158
  // src/utils/query-nonce-meta-tag-content.ts
154
- function queryNonceMetaTagContent(doc2) {
159
+ function queryNonceMetaTagContent(doc) {
155
160
  var _a, _b, _c;
156
- return (_c = (_b = (_a = doc2.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
161
+ return (_c = (_b = (_a = doc.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
157
162
  }
158
163
 
159
164
  // src/utils/result.ts
@@ -334,7 +339,10 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
334
339
  var _a;
335
340
  const scopeId2 = getScopeId(cmpMeta);
336
341
  const style = styles.get(scopeId2);
337
- styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
342
+ if (!win.document) {
343
+ return scopeId2;
344
+ }
345
+ styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : win.document;
338
346
  if (style) {
339
347
  if (typeof style === "string") {
340
348
  styleContainerNode = styleContainerNode.head || styleContainerNode;
@@ -345,9 +353,9 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
345
353
  }
346
354
  if (!appliedStyles.has(scopeId2)) {
347
355
  {
348
- styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || doc.createElement("style");
356
+ styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || win.document.createElement("style");
349
357
  styleElm.innerHTML = style;
350
- const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
358
+ const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
351
359
  if (nonce != null) {
352
360
  styleElm.setAttribute("nonce", nonce);
353
361
  }
@@ -376,7 +384,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
376
384
  styleContainerNode.append(styleElm);
377
385
  }
378
386
  }
379
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
387
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
380
388
  styleContainerNode.insertBefore(styleElm, null);
381
389
  }
382
390
  }
@@ -401,7 +409,7 @@ var attachStyles = (hostRef) => {
401
409
  const scopeId2 = addStyle(
402
410
  elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
403
411
  cmpMeta);
404
- if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
412
+ if ((flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */ || flags & 128 /* shadowNeedsScopedCss */)) {
405
413
  elm["s-sc"] = scopeId2;
406
414
  elm.classList.add(scopeId2 + "-h");
407
415
  }
@@ -409,89 +417,90 @@ var attachStyles = (hostRef) => {
409
417
  };
410
418
  var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
411
419
  var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
412
- if (oldValue !== newValue) {
413
- let isProp = isMemberInElement(elm, memberName);
414
- let ln = memberName.toLowerCase();
415
- if (memberName === "class") {
416
- const classList = elm.classList;
417
- const oldClasses = parseClassList(oldValue);
418
- let newClasses = parseClassList(newValue);
419
- {
420
- classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
421
- classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
422
- }
423
- } else if (memberName === "style") {
424
- {
425
- for (const prop in oldValue) {
426
- if (!newValue || newValue[prop] == null) {
427
- if (prop.includes("-")) {
428
- elm.style.removeProperty(prop);
429
- } else {
430
- elm.style[prop] = "";
431
- }
432
- }
433
- }
434
- }
435
- for (const prop in newValue) {
436
- if (!oldValue || newValue[prop] !== oldValue[prop]) {
420
+ if (oldValue === newValue) {
421
+ return;
422
+ }
423
+ let isProp = isMemberInElement(elm, memberName);
424
+ let ln = memberName.toLowerCase();
425
+ if (memberName === "class") {
426
+ const classList = elm.classList;
427
+ const oldClasses = parseClassList(oldValue);
428
+ let newClasses = parseClassList(newValue);
429
+ {
430
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
431
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
432
+ }
433
+ } else if (memberName === "style") {
434
+ {
435
+ for (const prop in oldValue) {
436
+ if (!newValue || newValue[prop] == null) {
437
437
  if (prop.includes("-")) {
438
- elm.style.setProperty(prop, newValue[prop]);
438
+ elm.style.removeProperty(prop);
439
439
  } else {
440
- elm.style[prop] = newValue[prop];
440
+ elm.style[prop] = "";
441
441
  }
442
442
  }
443
443
  }
444
- } else if (memberName === "key") ; else if ((!isProp ) && memberName[0] === "o" && memberName[1] === "n") {
445
- if (memberName[2] === "-") {
446
- memberName = memberName.slice(3);
447
- } else if (isMemberInElement(win, ln)) {
448
- memberName = ln.slice(2);
449
- } else {
450
- memberName = ln[2] + memberName.slice(3);
451
- }
452
- if (oldValue || newValue) {
453
- const capture = memberName.endsWith(CAPTURE_EVENT_SUFFIX);
454
- memberName = memberName.replace(CAPTURE_EVENT_REGEX, "");
455
- if (oldValue) {
456
- plt.rel(elm, memberName, oldValue, capture);
457
- }
458
- if (newValue) {
459
- plt.ael(elm, memberName, newValue, capture);
444
+ }
445
+ for (const prop in newValue) {
446
+ if (!oldValue || newValue[prop] !== oldValue[prop]) {
447
+ if (prop.includes("-")) {
448
+ elm.style.setProperty(prop, newValue[prop]);
449
+ } else {
450
+ elm.style[prop] = newValue[prop];
460
451
  }
461
452
  }
453
+ }
454
+ } else if (memberName === "key") ; else if ((!isProp ) && memberName[0] === "o" && memberName[1] === "n") {
455
+ if (memberName[2] === "-") {
456
+ memberName = memberName.slice(3);
457
+ } else if (isMemberInElement(win, ln)) {
458
+ memberName = ln.slice(2);
462
459
  } else {
463
- const isComplex = isComplexType(newValue);
464
- if ((isProp || isComplex && newValue !== null) && !isSvg) {
465
- try {
466
- if (!elm.tagName.includes("-")) {
467
- const n = newValue == null ? "" : newValue;
468
- if (memberName === "list") {
469
- isProp = false;
470
- } else if (oldValue == null || elm[memberName] != n) {
471
- if (typeof elm.__lookupSetter__(memberName) === "function") {
472
- elm[memberName] = n;
473
- } else {
474
- elm.setAttribute(memberName, n);
475
- }
460
+ memberName = ln[2] + memberName.slice(3);
461
+ }
462
+ if (oldValue || newValue) {
463
+ const capture = memberName.endsWith(CAPTURE_EVENT_SUFFIX);
464
+ memberName = memberName.replace(CAPTURE_EVENT_REGEX, "");
465
+ if (oldValue) {
466
+ plt.rel(elm, memberName, oldValue, capture);
467
+ }
468
+ if (newValue) {
469
+ plt.ael(elm, memberName, newValue, capture);
470
+ }
471
+ }
472
+ } else {
473
+ const isComplex = isComplexType(newValue);
474
+ if ((isProp || isComplex && newValue !== null) && !isSvg) {
475
+ try {
476
+ if (!elm.tagName.includes("-")) {
477
+ const n = newValue == null ? "" : newValue;
478
+ if (memberName === "list") {
479
+ isProp = false;
480
+ } else if (oldValue == null || elm[memberName] != n) {
481
+ if (typeof elm.__lookupSetter__(memberName) === "function") {
482
+ elm[memberName] = n;
483
+ } else {
484
+ elm.setAttribute(memberName, n);
476
485
  }
477
- } else if (elm[memberName] !== newValue) {
478
- elm[memberName] = newValue;
479
486
  }
480
- } catch (e) {
487
+ } else if (elm[memberName] !== newValue) {
488
+ elm[memberName] = newValue;
481
489
  }
490
+ } catch (e) {
482
491
  }
483
- if (newValue == null || newValue === false) {
484
- if (newValue !== false || elm.getAttribute(memberName) === "") {
485
- {
486
- elm.removeAttribute(memberName);
487
- }
488
- }
489
- } else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex) {
490
- newValue = newValue === true ? "" : newValue;
492
+ }
493
+ if (newValue == null || newValue === false) {
494
+ if (newValue !== false || elm.getAttribute(memberName) === "") {
491
495
  {
492
- elm.setAttribute(memberName, newValue);
496
+ elm.removeAttribute(memberName);
493
497
  }
494
498
  }
499
+ } else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex && elm.nodeType === 1 /* ElementNode */) {
500
+ newValue = newValue === true ? "" : newValue;
501
+ {
502
+ elm.setAttribute(memberName, newValue);
503
+ }
495
504
  }
496
505
  }
497
506
  };
@@ -554,9 +563,14 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
554
563
  let elm;
555
564
  let childNode;
556
565
  if (newVNode2.$text$ !== null) {
557
- elm = newVNode2.$elm$ = doc.createTextNode(newVNode2.$text$);
566
+ elm = newVNode2.$elm$ = win.document.createTextNode(newVNode2.$text$);
558
567
  } else {
559
- elm = newVNode2.$elm$ = doc.createElement(
568
+ if (!win.document) {
569
+ throw new Error(
570
+ "You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component."
571
+ );
572
+ }
573
+ elm = newVNode2.$elm$ = win.document.createElement(
560
574
  !useNativeShadowDom && BUILD.slotRelocation && newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
561
575
  );
562
576
  {
@@ -701,13 +715,10 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
701
715
  const elm = newVNode2.$elm$ = oldVNode.$elm$;
702
716
  const oldChildren = oldVNode.$children$;
703
717
  const newChildren = newVNode2.$children$;
704
- const tag = newVNode2.$tag$;
705
718
  const text = newVNode2.$text$;
706
719
  if (text === null) {
707
720
  {
708
- if (tag === "slot" && !useNativeShadowDom) ; else {
709
- updateElement(oldVNode, newVNode2, isSvgMode);
710
- }
721
+ updateElement(oldVNode, newVNode2, isSvgMode);
711
722
  }
712
723
  if (oldChildren !== null && newChildren !== null) {
713
724
  updateChildren(elm, oldChildren, newVNode2, newChildren, isInitialRender);
@@ -754,7 +765,7 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
754
765
  rootVnode.$flags$ |= 4 /* isHost */;
755
766
  hostRef.$vnode$ = rootVnode;
756
767
  rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
757
- useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
768
+ useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
758
769
  patch(oldVNode, rootVnode, isInitialLoad);
759
770
  };
760
771
 
@@ -793,6 +804,12 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
793
804
  );
794
805
  }
795
806
  let maybePromise;
807
+ if (isInitialLoad) {
808
+ maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
809
+ } else {
810
+ maybePromise = safeCall(instance, "componentWillUpdate", void 0, elm);
811
+ }
812
+ maybePromise = enqueue(maybePromise, () => safeCall(instance, "componentWillRender", void 0, elm));
796
813
  endSchedule();
797
814
  return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
798
815
  };
@@ -858,14 +875,13 @@ var postUpdateComponent = (hostRef) => {
858
875
  const endPostUpdate = createTime("postUpdate", tagName);
859
876
  const instance = hostRef.$lazyInstance$ ;
860
877
  const ancestorComponent = hostRef.$ancestorComponent$;
878
+ safeCall(instance, "componentDidRender", void 0, elm);
861
879
  if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
862
880
  hostRef.$flags$ |= 64 /* hasLoadedComponent */;
863
881
  {
864
882
  addHydratedFlag(elm);
865
883
  }
866
- {
867
- safeCall(instance, "componentDidLoad", void 0, elm);
868
- }
884
+ safeCall(instance, "componentDidLoad", void 0, elm);
869
885
  endPostUpdate();
870
886
  {
871
887
  hostRef.$onReadyResolve$(elm);
@@ -874,6 +890,7 @@ var postUpdateComponent = (hostRef) => {
874
890
  }
875
891
  }
876
892
  } else {
893
+ safeCall(instance, "componentDidUpdate", void 0, elm);
877
894
  endPostUpdate();
878
895
  }
879
896
  {
@@ -888,9 +905,6 @@ var postUpdateComponent = (hostRef) => {
888
905
  }
889
906
  };
890
907
  var appDidLoad = (who) => {
891
- {
892
- addHydratedFlag(doc.documentElement);
893
- }
894
908
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
895
909
  };
896
910
  var safeCall = (instance, method, arg, elm) => {
@@ -914,7 +928,7 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
914
928
  const hostRef = getHostRef(ref);
915
929
  if (!hostRef) {
916
930
  throw new Error(
917
- `Couldn't find host element for "${cmpMeta.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`
931
+ `Couldn't find host element for "${cmpMeta.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`
918
932
  );
919
933
  }
920
934
  const elm = hostRef.$hostElement$ ;
@@ -940,6 +954,11 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
940
954
  }
941
955
  }
942
956
  if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
957
+ if (instance.componentShouldUpdate) {
958
+ if (instance.componentShouldUpdate(newVal, oldVal, propName) === false) {
959
+ return;
960
+ }
961
+ }
943
962
  scheduleUpdate(hostRef, false);
944
963
  }
945
964
  }
@@ -1098,7 +1117,8 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1098
1117
  let Cstr;
1099
1118
  if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
1100
1119
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1101
- {
1120
+ const bundleId = cmpMeta.$lazyBundleId$;
1121
+ if (bundleId) {
1102
1122
  const CstrImport = loadModule(cmpMeta, hostRef);
1103
1123
  if (CstrImport && "then" in CstrImport) {
1104
1124
  const endLoad = uniqueTime();
@@ -1133,6 +1153,11 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1133
1153
  hostRef.$flags$ |= 128 /* isWatchReady */;
1134
1154
  }
1135
1155
  endNewInstance();
1156
+ fireConnectedCallback(hostRef.$lazyInstance$, elm);
1157
+ } else {
1158
+ Cstr = elm.constructor;
1159
+ const cmpTag = elm.localName;
1160
+ customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
1136
1161
  }
1137
1162
  if (Cstr && Cstr.style) {
1138
1163
  let style;
@@ -1156,6 +1181,9 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1156
1181
  }
1157
1182
  };
1158
1183
  var fireConnectedCallback = (instance, elm) => {
1184
+ {
1185
+ safeCall(instance, "connectedCallback", void 0, elm);
1186
+ }
1159
1187
  };
1160
1188
 
1161
1189
  // src/runtime/connected-callback.ts
@@ -1188,20 +1216,27 @@ var connectedCallback = (elm) => {
1188
1216
  initializeComponent(elm, hostRef, cmpMeta);
1189
1217
  }
1190
1218
  } else {
1191
- if (hostRef == null ? void 0 : hostRef.$lazyInstance$) ; else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1192
- hostRef.$onReadyPromise$.then(() => fireConnectedCallback());
1219
+ if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1220
+ fireConnectedCallback(hostRef.$lazyInstance$, elm);
1221
+ } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1222
+ hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$, elm));
1193
1223
  }
1194
1224
  }
1195
1225
  endConnected();
1196
1226
  }
1197
1227
  };
1198
1228
  var disconnectInstance = (instance, elm) => {
1229
+ {
1230
+ safeCall(instance, "disconnectedCallback", void 0, elm || instance);
1231
+ }
1199
1232
  };
1200
1233
  var disconnectedCallback = async (elm) => {
1201
1234
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1202
1235
  const hostRef = getHostRef(elm);
1203
- if (hostRef == null ? void 0 : hostRef.$lazyInstance$) ; else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1204
- hostRef.$onReadyPromise$.then(() => disconnectInstance());
1236
+ if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1237
+ disconnectInstance(hostRef.$lazyInstance$, elm);
1238
+ } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1239
+ hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$, elm));
1205
1240
  }
1206
1241
  }
1207
1242
  if (rootAppliedStyles.has(elm)) {
@@ -1215,18 +1250,22 @@ var disconnectedCallback = async (elm) => {
1215
1250
  // src/runtime/bootstrap-lazy.ts
1216
1251
  var bootstrapLazy = (lazyBundles, options = {}) => {
1217
1252
  var _a;
1253
+ if (!win.document) {
1254
+ console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");
1255
+ return;
1256
+ }
1218
1257
  const endBootstrap = createTime();
1219
1258
  const cmpTags = [];
1220
1259
  const exclude = options.exclude || [];
1221
1260
  const customElements2 = win.customElements;
1222
- const head = doc.head;
1261
+ const head = win.document.head;
1223
1262
  const metaCharset = /* @__PURE__ */ head.querySelector("meta[charset]");
1224
- const dataStyles = /* @__PURE__ */ doc.createElement("style");
1263
+ const dataStyles = /* @__PURE__ */ win.document.createElement("style");
1225
1264
  const deferredConnectedCallbacks = [];
1226
1265
  let appLoadFallback;
1227
1266
  let isBootstrapping = true;
1228
1267
  Object.assign(plt, options);
1229
- plt.$resourcesUrl$ = new URL(options.resourcesUrl || "./", doc.baseURI).href;
1268
+ plt.$resourcesUrl$ = new URL(options.resourcesUrl || "./", win.document.baseURI).href;
1230
1269
  let hasSlotRelocation = false;
1231
1270
  lazyBundles.map((lazyBundle) => {
1232
1271
  lazyBundle[1].map((compactMeta) => {
@@ -1293,6 +1332,10 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1293
1332
  plt.raf(() => {
1294
1333
  var _a3;
1295
1334
  const hostRef = getHostRef(this);
1335
+ const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
1336
+ if (i2 > -1) {
1337
+ deferredConnectedCallbacks.splice(i2, 1);
1338
+ }
1296
1339
  if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
1297
1340
  delete hostRef.$vnode$.$elm$;
1298
1341
  }
@@ -1324,7 +1367,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1324
1367
  }
1325
1368
  if (dataStyles.innerHTML.length) {
1326
1369
  dataStyles.setAttribute("data-styles", "");
1327
- const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
1370
+ const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
1328
1371
  if (nonce != null) {
1329
1372
  dataStyles.setAttribute("nonce", nonce);
1330
1373
  }
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-c0c11860.js';
2
- export { s as setNonce } from './index-c0c11860.js';
1
+ import { b as bootstrapLazy } from './index-476f378c.js';
2
+ export { s as setNonce } from './index-476f378c.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-c0c11860.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-476f378c.js';
2
2
 
3
- const mdsInputRangeCss = "@-webkit-keyframes focus-bounce {\n 0%, 75%, 100% {\n outline-offset: var(--magma-outline-focus-offset, 6px);\n }\n\n 50% {\n outline-offset: var(--magma-outline-blur-offset, 2px);\n }\n}\n\n@keyframes focus-bounce {\n 0%, 75%, 100% {\n outline-offset: var(--magma-outline-focus-offset, 6px);\n }\n\n 50% {\n outline-offset: var(--magma-outline-blur-offset, 2px);\n }\n}\n\n@tailwind components;\n@tailwind utilities;\n\n/**\n * @prop --mds-input-range-thumb-size: Sets the thumb width and height of the component\n * @prop --mds-input-range-thumb-background:\n * @prop --mds-input-range-track-background:\n * @prop --mds-input-range-track-size:\n * @prop --mds-input-range-track-progress-background:\n */\n\n:host {\n\n --mds-input-range-thumb-size: 1rem;\n --mds-input-range-thumb-background: rgb(var(--variant-primary-04));\n --mds-input-range-thumb-shadow: 0 0 0 2px rgb(var(--tone-neutral));\n --mds-input-range-track-background: rgb(var(--tone-neutral-08));\n --mds-input-range-track-size: 0.5rem;\n --mds-input-range-track-progress-background: rgb(var(--variant-primary-03));\n --mds-input-range-thumb-background-disabled: rgb(var(--tone-neutral-06));\n --mds-input-range-track-background-disabled: rgb(var(--tone-neutral-08));\n --mds-input-range-track-progress-background-disabled: rgb(var(--tone-neutral-06));\n gap: 0.25rem;\n -webkit-transition-duration: 300ms;\n transition-duration: 300ms;\n -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n display: grid;\n -webkit-transition-property: color;\n transition-property: color;\n}\n\n.header {\n gap: 0.5rem;\n\n display: -ms-flexbox;\n\n display: flex;\n}\n\n.label {\n min-width: 0rem;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.value {\n margin-left: auto;\n}\n\n.range {\n -ms-flex-align: center;\n align-items: center;\n display: -ms-flexbox;\n display: flex;\n height: var(--mds-input-range-thumb-size);\n position: relative;\n}\n\n.track {\n width: 100%;\n\n --margin: calc(var(--mds-input-range-track-size) / 2);\n\n -webkit-box-sizing: border-box;\n\n box-sizing: border-box;\n padding: 0 var(--margin);\n position: absolute;\n}\n\n.field {\n -webkit-animation-duration: var(--magma-outline-animation-duration, 1s);\n animation-duration: var(--magma-outline-animation-duration, 1s);\n -webkit-animation-fill-mode: forwards;\n animation-fill-mode: forwards;\n -webkit-animation-iteration-count: infinite;\n animation-iteration-count: infinite;\n -webkit-animation-name: focus-bounce;\n animation-name: focus-bounce;\n -webkit-animation-play-state: paused;\n animation-play-state: paused;\n -webkit-animation-timing-function: cubic-bezier(0, 0, 0.2, 1);\n animation-timing-function: cubic-bezier(0, 0, 0.2, 1);\n outline: var(--magma-outline-blur);\n -webkit-transition-duration: 200ms;\n transition-duration: 200ms;\n -webkit-transition-property: background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;\n transition-property: background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;\n transition-property: background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;\n transition-property: background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform, -webkit-box-shadow, -webkit-transform;\n -webkit-transition-timing-function: ease-in-out;\n transition-timing-function: ease-in-out;\n }\n\n.field:focus-visible {\n\n --magma-outline-blur: var(--magma-outline-focus);\n\n -webkit-animation-play-state: running;\n\n animation-play-state: running;\n }\n\n.field {\n z-index: 20;\n height: 1rem;\n\n -webkit-appearance: none;\n\n -moz-appearance: none;\n\n appearance: none;\n background-color: transparent;\n border-radius: 1000px;\n -ms-flex-positive: 1;\n flex-grow: 1;\n margin: 0;\n}\n\n.field:focus-visible {\n\n --magma-outline-blur: var(--magma-outline-focus);\n\n -webkit-animation-play-state: running;\n\n animation-play-state: running;\n }\n\n.field::-webkit-slider-thumb {\n -webkit-transition-duration: 300ms;\n transition-duration: 300ms;\n -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n -webkit-appearance: none;\n\n appearance: none;\n background-color: var(--mds-input-range-thumb-background);\n border: 0;\n border-radius: var(--mds-input-range-thumb-size);\n -webkit-box-shadow: var(--mds-input-range-thumb-shadow);\n box-shadow: var(--mds-input-range-thumb-shadow);\n cursor: -webkit-grab;\n cursor: grab;\n height: var(--mds-input-range-thumb-size);\n line-height: 0;\n -webkit-transform: translate(0, -50%);\n transform: translate(0, -50%);\n -webkit-transition-property: background-color, box-shadow;\n -webkit-transition-property: background-color, -webkit-box-shadow;\n transition-property: background-color, -webkit-box-shadow;\n transition-property: background-color, box-shadow;\n transition-property: background-color, box-shadow, -webkit-box-shadow;\n width: var(--mds-input-range-thumb-size);\n}\n\n.field::-webkit-slider-runnable-track {\n -webkit-appearance: none;\n appearance: none;\n border: 0;\n height: 0;\n width: 100%;\n}\n\n.track-progress {\n -webkit-transition-duration: 300ms;\n transition-duration: 300ms;\n -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n background-color: var(--mds-input-range-track-progress-background);\n display: -ms-flexbox;\n display: flex;\n height: var(--mds-input-range-track-size);\n -webkit-transition-property: background-color;\n transition-property: background-color;\n}\n\n.track-total {\n -webkit-transition-duration: 300ms;\n transition-duration: 300ms;\n -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n background-color: var(--mds-input-range-track-background);\n border-radius: var(--mds-input-range-track-size);\n display: -ms-flexbox;\n display: flex;\n height: var(--mds-input-range-track-size);\n overflow: hidden;\n -webkit-transition-property: background-color;\n transition-property: background-color;\n width: 100%;\n}\n\n.contrast-area {\n margin-left: 0.25rem;\n margin-right: 0.25rem;\n\n border-radius: var(--mds-input-range-track-size);\n}\n\n:host([disabled]:not([disabled=\"false\"])) {\n --mds-input-range-thumb-background: var(--mds-input-range-thumb-background-disabled);\n --mds-input-range-track-background: var(--mds-input-range-track-background-disabled);\n --mds-input-range-track-progress-background: var(--mds-input-range-track-progress-background-disabled);\n}\n\n:host([disabled]:not([disabled=\"false\"])) .field::-webkit-slider-thumb {\n cursor: not-allowed;\n}\n\n@tailwind utilities;\n\n@container style(--magma-pref-animation: reduce) {\n :host,\n .field::-webkit-slider-thumb,\n .field::-webkit-slider-runnable-track,\n .track-progress,\n .track-total {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n\n@container style(--magma-pref-animation: system) {\n\n @media (prefers-reduced-motion) {\n :host,\n .field::-webkit-slider-thumb,\n .field::-webkit-slider-runnable-track,\n .track-progress,\n .track-total {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n }\n}\n\n@tailwind utilities;\n\n@container style(--magma-pref-theme: dark) {\n :host {\n\n --mds-input-range-thumb-background: rgb(var(--variant-primary-04));\n --mds-input-range-track-background: rgb(var(--tone-neutral-07));\n --mds-input-range-track-progress-background: rgb(var(--variant-primary-05));\n }\n}\n\n@container style(--magma-pref-theme: system) {\n\n @media (prefers-color-scheme: dark) {\n :host {\n\n --mds-input-range-thumb-background: rgb(var(--variant-primary-04));\n --mds-input-range-track-background: rgb(var(--tone-neutral-07));\n --mds-input-range-track-progress-background: rgb(var(--variant-primary-05));\n }\n }\n}\n\n@container style(--magma-pref-contrast: more) {\n :host {\n color: rgb(var(--tone-neutral-01));\n }\n}\n\n@container style(--magma-pref-contrast: system) {\n\n @media (prefers-contrast: more) {\n :host {\n color: rgb(var(--tone-neutral-01));\n }\n }\n}\n\n\n:host(:not(:is([hydrated], .hydrated))) {\n -webkit-animation-duration: 0s;\n animation-duration: 0s;\n border-color: transparent;\n -webkit-box-shadow: 0 0 0 transparent;\n box-shadow: 0 0 0 transparent;\n opacity: 0;\n outline-color: transparent;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n visibility: hidden;\n}\n\n/* TODO refact(stencil): Uses only used selector from parent shadowDOM component */\n\nmds-accordion:not(:is([hydrated], .hydrated)),\nmds-accordion-item:not(:is([hydrated], .hydrated)),\nmds-accordion-timer:not(:is([hydrated], .hydrated)),\nmds-accordion-timer-item:not(:is([hydrated], .hydrated)),\nmds-author:not(:is([hydrated], .hydrated)),\nmds-avatar:not(:is([hydrated], .hydrated)),\nmds-badge:not(:is([hydrated], .hydrated)),\nmds-banner:not(:is([hydrated], .hydrated)),\nmds-benchmark-bar:not(:is([hydrated], .hydrated)),\nmds-bibliography:not(:is([hydrated], .hydrated)),\nmds-breadcrumb:not(:is([hydrated], .hydrated)),\nmds-breadcrumb-item:not(:is([hydrated], .hydrated)),\nmds-button:not(:is([hydrated], .hydrated)),\nmds-card:not(:is([hydrated], .hydrated)),\nmds-card-content:not(:is([hydrated], .hydrated)),\nmds-card-footer:not(:is([hydrated], .hydrated)),\nmds-card-header:not(:is([hydrated], .hydrated)),\nmds-card-media:not(:is([hydrated], .hydrated)),\nmds-chip:not(:is([hydrated], .hydrated)),\nmds-details:not(:is([hydrated], .hydrated)),\nmds-dropdown:not(:is([hydrated], .hydrated)),\nmds-entity:not(:is([hydrated], .hydrated)),\nmds-file:not(:is([hydrated], .hydrated)),\nmds-file-preview:not(:is([hydrated], .hydrated)),\nmds-filter:not(:is([hydrated], .hydrated)),\nmds-filter-item:not(:is([hydrated], .hydrated)),\nmds-header:not(:is([hydrated], .hydrated)),\nmds-header-bar:not(:is([hydrated], .hydrated)),\nmds-help:not(:is([hydrated], .hydrated)),\nmds-horizontal-scroll:not(:is([hydrated], .hydrated)),\nmds-hr:not(:is([hydrated], .hydrated)),\nmds-icon:not(:is([hydrated], .hydrated)),\nmds-img:not(:is([hydrated], .hydrated)),\nmds-input:not(:is([hydrated], .hydrated)),\nmds-input-field:not(:is([hydrated], .hydrated)),\nmds-input-range:not(:is([hydrated], .hydrated)),\nmds-input-select:not(:is([hydrated], .hydrated)),\nmds-input-switch:not(:is([hydrated], .hydrated)),\nmds-input-tip:not(:is([hydrated], .hydrated)),\nmds-input-tip-item:not(:is([hydrated], .hydrated)),\nmds-input-upload:not(:is([hydrated], .hydrated)),\nmds-keyboard:not(:is([hydrated], .hydrated)),\nmds-keyboard-key:not(:is([hydrated], .hydrated)),\nmds-kpi:not(:is([hydrated], .hydrated)),\nmds-kpi-item:not(:is([hydrated], .hydrated)),\nmds-label:not(:is([hydrated], .hydrated)),\nmds-list:not(:is([hydrated], .hydrated)),\nmds-list-item:not(:is([hydrated], .hydrated)),\nmds-modal:not(:is([hydrated], .hydrated)),\nmds-note:not(:is([hydrated], .hydrated)),\nmds-notification:not(:is([hydrated], .hydrated)),\nmds-paginator:not(:is([hydrated], .hydrated)),\nmds-paginator-item:not(:is([hydrated], .hydrated)),\nmds-pref:not(:is([hydrated], .hydrated)),\nmds-pref-animation:not(:is([hydrated], .hydrated)),\nmds-pref-consumption:not(:is([hydrated], .hydrated)),\nmds-pref-contrast:not(:is([hydrated], .hydrated)),\nmds-pref-language:not(:is([hydrated], .hydrated)),\nmds-pref-language-item:not(:is([hydrated], .hydrated)),\nmds-pref-theme:not(:is([hydrated], .hydrated)),\nmds-price-table:not(:is([hydrated], .hydrated)),\nmds-price-table-features:not(:is([hydrated], .hydrated)),\nmds-price-table-features-cell:not(:is([hydrated], .hydrated)),\nmds-price-table-features-row:not(:is([hydrated], .hydrated)),\nmds-price-table-header:not(:is([hydrated], .hydrated)),\nmds-price-table-list:not(:is([hydrated], .hydrated)),\nmds-price-table-list-item:not(:is([hydrated], .hydrated)),\nmds-progress:not(:is([hydrated], .hydrated)),\nmds-push-notification:not(:is([hydrated], .hydrated)),\nmds-push-notifications:not(:is([hydrated], .hydrated)),\nmds-quote:not(:is([hydrated], .hydrated)),\nmds-separator:not(:is([hydrated], .hydrated)),\nmds-spinner:not(:is([hydrated], .hydrated)),\nmds-stepper-bar:not(:is([hydrated], .hydrated)),\nmds-stepper-bar-item:not(:is([hydrated], .hydrated)),\nmds-tab:not(:is([hydrated], .hydrated)),\nmds-tab-bar:not(:is([hydrated], .hydrated)),\nmds-tab-bar-item:not(:is([hydrated], .hydrated)),\nmds-tab-item:not(:is([hydrated], .hydrated)),\nmds-table:not(:is([hydrated], .hydrated)),\nmds-table-body:not(:is([hydrated], .hydrated)),\nmds-table-cell:not(:is([hydrated], .hydrated)),\nmds-table-footer:not(:is([hydrated], .hydrated)),\nmds-table-header:not(:is([hydrated], .hydrated)),\nmds-table-header-cell:not(:is([hydrated], .hydrated)),\nmds-table-row:not(:is([hydrated], .hydrated)),\nmds-text:not(:is([hydrated], .hydrated)),\nmds-toast:not(:is([hydrated], .hydrated)),\nmds-tooltip:not(:is([hydrated], .hydrated)),\nmds-tree:not(:is([hydrated], .hydrated)),\nmds-tree-item:not(:is([hydrated], .hydrated)),\nmds-url-view:not(:is([hydrated], .hydrated)),\nmds-usage:not(:is([hydrated], .hydrated)),\nmds-video-wall:not(:is([hydrated], .hydrated)),\nmds-zero:not(:is([hydrated], .hydrated))\n{\n -webkit-animation-duration: 0s;\n animation-duration: 0s;\n border-color: transparent;\n -webkit-box-shadow: 0 0 0 transparent;\n box-shadow: 0 0 0 transparent;\n opacity: 0;\n outline-color: transparent;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n visibility: hidden;\n}\n\n";
3
+ const mdsInputRangeCss = "@-webkit-keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset, 6px)}50%{outline-offset:var(--magma-outline-blur-offset, 2px)}}@keyframes focus-bounce{0%,75%,100%{outline-offset:var(--magma-outline-focus-offset, 6px)}50%{outline-offset:var(--magma-outline-blur-offset, 2px)}}@tailwind components; :host{--mds-input-range-thumb-size:1rem;--mds-input-range-thumb-background:rgb(var(--variant-primary-04));--mds-input-range-thumb-shadow:0 0 0 2px rgb(var(--tone-neutral));--mds-input-range-track-background:rgb(var(--tone-neutral-08));--mds-input-range-track-size:0.5rem;--mds-input-range-track-progress-background:rgb(var(--variant-primary-03));--mds-input-range-thumb-background-disabled:rgb(var(--tone-neutral-06));--mds-input-range-track-background-disabled:rgb(var(--tone-neutral-08));--mds-input-range-track-progress-background-disabled:rgb(var(--tone-neutral-06));gap:0.25rem;-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);display:grid;-webkit-transition-property:color;transition-property:color}.header{gap:0.5rem;display:-ms-flexbox;display:flex}.label{min-width:0rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.value{margin-left:auto}.range{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;height:var(--mds-input-range-thumb-size);position:relative}.track{width:100%;--margin:calc(var(--mds-input-range-track-size) / 2);-webkit-box-sizing:border-box;box-sizing:border-box;padding:0 var(--margin);position:absolute}.field{-webkit-animation-duration:var(--magma-outline-animation-duration, 1s);animation-duration:var(--magma-outline-animation-duration, 1s);-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-name:focus-bounce;animation-name:focus-bounce;-webkit-animation-play-state:paused;animation-play-state:paused;-webkit-animation-timing-function:cubic-bezier(0, 0, 0.2, 1);animation-timing-function:cubic-bezier(0, 0, 0.2, 1);outline:var(--magma-outline-blur);-webkit-transition-duration:200ms;transition-duration:200ms;-webkit-transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;transition-property:background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform, -webkit-box-shadow, -webkit-transform;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out}.field:focus-visible{--magma-outline-blur:var(--magma-outline-focus);-webkit-animation-play-state:running;animation-play-state:running}.field{z-index:20;height:1rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border-radius:1000px;-ms-flex-positive:1;flex-grow:1;margin:0}.field:focus-visible{--magma-outline-blur:var(--magma-outline-focus);-webkit-animation-play-state:running;animation-play-state:running}.field::-webkit-slider-thumb{-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-appearance:none;appearance:none;background-color:var(--mds-input-range-thumb-background);border:0;border-radius:var(--mds-input-range-thumb-size);-webkit-box-shadow:var(--mds-input-range-thumb-shadow);box-shadow:var(--mds-input-range-thumb-shadow);cursor:-webkit-grab;cursor:grab;height:var(--mds-input-range-thumb-size);line-height:0;-webkit-transform:translate(0, -50%);transform:translate(0, -50%);-webkit-transition-property:background-color, box-shadow;-webkit-transition-property:background-color, -webkit-box-shadow;transition-property:background-color, -webkit-box-shadow;transition-property:background-color, box-shadow;transition-property:background-color, box-shadow, -webkit-box-shadow;width:var(--mds-input-range-thumb-size)}.field::-webkit-slider-runnable-track{-webkit-appearance:none;appearance:none;border:0;height:0;width:100%}.track-progress{-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mds-input-range-track-progress-background);display:-ms-flexbox;display:flex;height:var(--mds-input-range-track-size);-webkit-transition-property:background-color;transition-property:background-color}.track-total{-webkit-transition-duration:300ms;transition-duration:300ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mds-input-range-track-background);border-radius:var(--mds-input-range-track-size);display:-ms-flexbox;display:flex;height:var(--mds-input-range-track-size);overflow:hidden;-webkit-transition-property:background-color;transition-property:background-color;width:100%}.contrast-area{margin-left:0.25rem;margin-right:0.25rem;border-radius:var(--mds-input-range-track-size)}:host([disabled]:not([disabled=\"false\"])){--mds-input-range-thumb-background:var(--mds-input-range-thumb-background-disabled);--mds-input-range-track-background:var(--mds-input-range-track-background-disabled);--mds-input-range-track-progress-background:var(--mds-input-range-track-progress-background-disabled)}:host([disabled]:not([disabled=\"false\"])) .field::-webkit-slider-thumb{cursor:not-allowed}:host-context(.pref-animation-reduce),:host-context(.pref-animation-reduce) .field::-webkit-slider-thumb,:host-context(.pref-animation-reduce) .field::-webkit-slider-runnable-track,:host-context(.pref-animation-reduce) .track-progress,:host-context(.pref-animation-reduce) .track-total{-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system),:host-context(.pref-animation-system) .field::-webkit-slider-thumb,:host-context(.pref-animation-system) .field::-webkit-slider-runnable-track,:host-context(.pref-animation-system) .track-progress,:host-context(.pref-animation-system) .track-total{-webkit-transition-duration:0s;transition-duration:0s}}:host-context(.pref-theme-dark){--mds-input-range-thumb-background:rgb(var(--variant-primary-04));--mds-input-range-track-background:rgb(var(--tone-neutral-07));--mds-input-range-track-progress-background:rgb(var(--variant-primary-05))}@media (prefers-color-scheme: dark){:host-context(.pref-theme-system){--mds-input-range-thumb-background:rgb(var(--variant-primary-04));--mds-input-range-track-background:rgb(var(--tone-neutral-07));--mds-input-range-track-progress-background:rgb(var(--variant-primary-05))}}:host-context(.pref-contrast-more){color:rgb(var(--tone-neutral-01))}@media (prefers-contrast: more){:host-context(.pref-contrast-system){color:rgb(var(--tone-neutral-01))}}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}";
4
4
  const MdsInputRangeStyle0 = mdsInputRangeCss;
5
5
 
6
6
  const MdsInputRange = class {
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-c0c11860.js';
2
- export { s as setNonce } from './index-c0c11860.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-476f378c.js';
2
+ export { s as setNonce } from './index-476f378c.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.25.1 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.27.2 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  var patchBrowser = () => {
9
9
  const importMeta = import.meta.url;
@@ -0,0 +1 @@
1
+ var __extends=this&&this.__extends||function(){var e=function(r,t){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)if(Object.prototype.hasOwnProperty.call(r,t))e[t]=r[t]};return e(r,t)};return function(r,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();var __awaiter=this&&this.__awaiter||function(e,r,t,n){function a(e){return e instanceof t?e:new t((function(r){r(e)}))}return new(t||(t=Promise))((function(t,i){function o(e){try{u(n.next(e))}catch(e){i(e)}}function s(e){try{u(n["throw"](e))}catch(e){i(e)}}function u(e){e.done?t(e.value):a(e.value).then(o,s)}u((n=n.apply(e,r||[])).next())}))};var __generator=this&&this.__generator||function(e,r){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(r){return u([e,r])}}function u(s){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(t=0)),t)try{if(n=1,a&&(i=s[0]&2?a["return"]:s[0]?a["throw"]||((i=a["return"])&&i.call(a),0):a.next)&&!(i=i.call(a,s[1])).done)return i;if(a=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:t.label++;return{value:s[1],done:false};case 5:t.label++;a=s[1];s=[0];continue;case 7:s=t.ops.pop();t.trys.pop();continue;default:if(!(i=t.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){t=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){t.label=s[1];break}if(s[0]===6&&t.label<i[1]){t.label=i[1];i=s;break}if(i&&t.label<i[2]){t.label=i[2];t.ops.push(s);break}if(i[2])t.ops.pop();t.trys.pop();continue}s=r.call(e,t)}catch(e){s=[6,e];a=0}finally{n=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,r,t){if(t||arguments.length===2)for(var n=0,a=r.length,i;n<a;n++){if(i||!(n in r)){if(!i)i=Array.prototype.slice.call(r,0,n);i[n]=r[n]}}return e.concat(i||Array.prototype.slice.call(r))};var NAMESPACE="mds-input-range";var BUILD={allRenderFn:true,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,constructableCSS:true,cssAnnotations:true,devTools:false,element:false,event:true,experimentalScopedSlotChanges:false,experimentalSlotFixes:false,formAssociated:true,hasRenderFn:true,hostListener:false,hostListenerTarget:false,hostListenerTargetBody:false,hostListenerTargetDocument:false,hostListenerTargetParent:false,hostListenerTargetWindow:false,hotModuleReplacement:false,hydrateClientSide:false,hydrateServerSide:false,hydratedAttribute:true,hydratedClass:false,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:false,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};var __defProp=Object.defineProperty;var __export=function(e,r){for(var t in r)__defProp(e,t,{get:r[t],enumerable:true})};var getHostRef=function(e){if(e.__stencil__getHostRef){return e.__stencil__getHostRef()}return void 0};var registerInstance=function(e,r){e.__stencil__getHostRef=function(){return r};r.t=e};var registerHost=function(e,r){var t={i:0,$hostElement$:e,o:r,u:new Map};{t.l=new Promise((function(e){return t.v=e}));e["s-p"]=[];e["s-rc"]=[]}var n=t;e.__stencil__getHostRef=function(){return n};return n};var isMemberInElement=function(e,r){return r in e};var consoleError=function(e,r){return(0,console.error)(e,r)};var cmpModules=new Map;var loadModule=function(e,r,t){var n=e.p.replace(/-/g,"_");var a=e.m;if(!a){return void 0}var i=cmpModules.get(a);if(i){return i[n]}if(!t||!BUILD.hotModuleReplacement){var o=function(e){cmpModules.set(a,e);return e[n]};switch(a){case"mds-input-range":return import("./mds-input-range.entry.js").then(o,consoleError)}}return import("./".concat(a,".entry.js").concat("")).then((function(e){{cmpModules.set(a,e)}return e[n]}),(function(e){consoleError(e,r.$hostElement$)}))};var styles=new Map;var HYDRATED_STYLE_ID="sty-id";var HYDRATED_CSS="{visibility:hidden}[hydrated]{visibility:inherit}";var SLOT_FB_CSS="slot-fb{display:contents}slot-fb[hidden]{display:none}";var FORM_ASSOCIATED_CUSTOM_ELEMENT_CALLBACKS=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"];var win=typeof window!=="undefined"?window:{};var plt={i:0,h:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,r,t,n){return e.addEventListener(r,t,n)},rel:function(e,r,t,n){return e.removeEventListener(r,t,n)},ce:function(e,r){return new CustomEvent(e,r)}};var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructableStylesheets=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var queuePending=false;var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,r){return function(t){e.push(t);if(!queuePending){queuePending=true;if(r&&plt.i&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var r=0;r<e.length;r++){try{e[r](performance.now())}catch(e){consoleError(e)}}e.length=0};var flush=function(){consume(queueDomReads);{consume(queueDomWrites);if(queuePending=queueDomReads.length>0){plt.raf(flush)}}};var nextTick=function(e){return promiseResolve().then(e)};var writeTask=queueTask(queueDomWrites,true);var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};function queryNonceMetaTagContent(e){var r,t,n;return(n=(t=(r=e.head)==null?void 0:r.querySelector('meta[name="csp-nonce"]'))==null?void 0:t.getAttribute("content"))!=null?n:void 0}var result_exports={};__export(result_exports,{err:function(){return err},map:function(){return map},ok:function(){return ok},unwrap:function(){return unwrap},unwrapErr:function(){return unwrapErr}});var ok=function(e){return{isOk:true,isErr:false,value:e}};var err=function(e){return{isOk:false,isErr:true,value:e}};function map(e,r){if(e.isOk){var t=r(e.value);if(t instanceof Promise){return t.then((function(e){return ok(e)}))}else{return ok(t)}}if(e.isErr){var n=e.value;return err(n)}throw"should never get here"}var unwrap=function(e){if(e.isOk){return e.value}else{throw e.value}};var unwrapErr=function(e){if(e.isErr){return e.value}else{throw e.value}};var createTime=function(e,r){if(r===void 0){r=""}{return function(){return}}};var uniqueTime=function(e,r){{return function(){return}}};var h=function(e,r){var t=[];for(var n=2;n<arguments.length;n++){t[n-2]=arguments[n]}var a=null;var i=null;var o=false;var s=false;var u=[];var l=function(r){for(var t=0;t<r.length;t++){a=r[t];if(Array.isArray(a)){l(a)}else if(a!=null&&typeof a!=="boolean"){if(o=typeof e!=="function"&&!isComplexType(a)){a=String(a)}if(o&&s){u[u.length-1].S+=a}else{u.push(o?newVNode(null,a):a)}s=o}}};l(t);if(r){if(r.key){i=r.key}{var f=r.className||r.class;if(f){r.class=typeof f!=="object"?f:Object.keys(f).filter((function(e){return f[e]})).join(" ")}}}var c=newVNode(e,null);c.C=r;if(u.length>0){c._=u}{c.T=i}return c};var newVNode=function(e,r){var t={i:0,A:e,S:r,k:null,_:null};{t.C=null}{t.T=null}return t};var Host={};var isHost=function(e){return e&&e.A===Host};var parsePropertyValue=function(e,r){if(e!=null&&!isComplexType(e)){if(r&4){return e==="false"?false:e===""||!!e}if(r&2){return parseFloat(e)}return e}return e};var getElement=function(e){return getHostRef(e).$hostElement$};var createEvent=function(e,r,t){var n=getElement(e);return{emit:function(e){return emitEvent(n,r,{bubbles:!!(t&4),composed:!!(t&2),cancelable:!!(t&1),detail:e})}}};var emitEvent=function(e,r,t){var n=plt.ce(r,t);e.dispatchEvent(n);return n};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,r,t){var n=styles.get(e);if(supportsConstructableStylesheets&&t){n=n||new CSSStyleSheet;if(typeof n==="string"){n=r}else{n.replaceSync(r)}}else{n=r}styles.set(e,n)};var addStyle=function(e,r,t){var n;var a=getScopeId(r);var i=styles.get(a);if(!win.document){return a}e=e.nodeType===11?e:win.document;if(i){if(typeof i==="string"){e=e.head||e;var o=rootAppliedStyles.get(e);var s=void 0;if(!o){rootAppliedStyles.set(e,o=new Set)}if(!o.has(a)){{s=document.querySelector("[".concat(HYDRATED_STYLE_ID,'="').concat(a,'"]'))||win.document.createElement("style");s.innerHTML=i;var u=(n=plt.R)!=null?n:queryNonceMetaTagContent(win.document);if(u!=null){s.setAttribute("nonce",u)}if(!(r.i&1)){if(e.nodeName==="HEAD"){var l=e.querySelectorAll("link[rel=preconnect]");var f=l.length>0?l[l.length-1].nextSibling:e.querySelector("style");e.insertBefore(s,(f==null?void 0:f.parentNode)===e?f:null)}else if("host"in e){if(supportsConstructableStylesheets){var c=new CSSStyleSheet;c.replaceSync(i);e.adoptedStyleSheets=__spreadArray([c],e.adoptedStyleSheets,true)}else{var v=e.querySelector("style");if(v){v.innerHTML=i+v.innerHTML}else{e.prepend(s)}}}else{e.append(s)}}if(r.i&1){e.insertBefore(s,null)}}if(r.i&4){s.innerHTML+=SLOT_FB_CSS}if(o){o.add(a)}}}else if(!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[i],false)}}return a};var attachStyles=function(e){var r=e.o;var t=e.$hostElement$;var n=r.i;var a=createTime("attachStyles",r.p);var i=addStyle(t.shadowRoot?t.shadowRoot:t.getRootNode(),r);if(n&10&&n&2||n&128){t["s-sc"]=i;t.classList.add(i+"-h")}a()};var getScopeId=function(e,r){return"sc-"+e.p};var setAccessor=function(e,r,t,n,a,i,o){if(t===n){return}var s=isMemberInElement(e,r);var u=r.toLowerCase();if(r==="class"){var l=e.classList;var f=parseClassList(t);var c=parseClassList(n);{l.remove.apply(l,f.filter((function(e){return e&&!c.includes(e)})));l.add.apply(l,c.filter((function(e){return e&&!f.includes(e)})))}}else if(r==="style"){{for(var v in t){if(!n||n[v]==null){if(v.includes("-")){e.style.removeProperty(v)}else{e.style[v]=""}}}}for(var v in n){if(!t||n[v]!==t[v]){if(v.includes("-")){e.style.setProperty(v,n[v])}else{e.style[v]=n[v]}}}}else if(r==="key");else if(!s&&r[0]==="o"&&r[1]==="n"){if(r[2]==="-"){r=r.slice(3)}else if(isMemberInElement(win,u)){r=u.slice(2)}else{r=u[2]+r.slice(3)}if(t||n){var d=r.endsWith(CAPTURE_EVENT_SUFFIX);r=r.replace(CAPTURE_EVENT_REGEX,"");if(t){plt.rel(e,r,t,d)}if(n){plt.ael(e,r,n,d)}}}else{var p=isComplexType(n);if((s||p&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var m=n==null?"":n;if(r==="list"){s=false}else if(t==null||e[r]!=m){if(typeof e.__lookupSetter__(r)==="function"){e[r]=m}else{e.setAttribute(r,m)}}}else if(e[r]!==n){e[r]=n}}catch(e){}}if(n==null||n===false){if(n!==false||e.getAttribute(r)===""){{e.removeAttribute(r)}}}else if((!s||i&4||a)&&!p&&e.nodeType===1){n=n===true?"":n;{e.setAttribute(r,n)}}}};var parseClassListRegex=/\s/;var parseClassList=function(e){if(typeof e==="object"&&e&&"baseVal"in e){e=e.baseVal}if(!e||typeof e!=="string"){return[]}return e.split(parseClassListRegex)};var CAPTURE_EVENT_SUFFIX="Capture";var CAPTURE_EVENT_REGEX=new RegExp(CAPTURE_EVENT_SUFFIX+"$");var updateElement=function(e,r,t,n){var a=r.k.nodeType===11&&r.k.host?r.k.host:r.k;var i=e&&e.C||{};var o=r.C||{};{for(var s=0,u=sortedAttrNames(Object.keys(i));s<u.length;s++){var l=u[s];if(!(l in o)){setAccessor(a,l,i[l],void 0,t,r.i)}}}for(var f=0,c=sortedAttrNames(Object.keys(o));f<c.length;f++){var l=c[f];setAccessor(a,l,i[l],o[l],t,r.i)}};function sortedAttrNames(e){return e.includes("ref")?__spreadArray(__spreadArray([],e.filter((function(e){return e!=="ref"})),true),["ref"],false):e}var hostTagName;var useNativeShadowDom=false;var isSvgMode=false;var createElm=function(e,r,t){var n=r._[t];var a=0;var i;var o;if(n.S!==null){i=n.k=win.document.createTextNode(n.S)}else{if(!win.document){throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.")}i=n.k=win.document.createElement(!useNativeShadowDom&&BUILD.slotRelocation&&n.i&2?"slot-fb":n.A);{updateElement(null,n,isSvgMode)}if(n._){for(a=0;a<n._.length;++a){o=createElm(e,n,a);if(o){i.appendChild(o)}}}}i["s-hn"]=hostTagName;return i};var addVnodes=function(e,r,t,n,a,i){var o=e;var s;if(o.shadowRoot&&o.tagName===hostTagName){o=o.shadowRoot}for(;a<=i;++a){if(n[a]){s=createElm(null,t,a);if(s){n[a].k=s;insertBefore(o,s,r)}}}};var removeVnodes=function(e,r,t){for(var n=r;n<=t;++n){var a=e[n];if(a){var i=a.k;if(i){i.remove()}}}};var updateChildren=function(e,r,t,n,a){if(a===void 0){a=false}var i=0;var o=0;var s=0;var u=0;var l=r.length-1;var f=r[0];var c=r[l];var v=n.length-1;var d=n[0];var p=n[v];var m;var h;while(i<=l&&o<=v){if(f==null){f=r[++i]}else if(c==null){c=r[--l]}else if(d==null){d=n[++o]}else if(p==null){p=n[--v]}else if(isSameVnode(f,d,a)){patch(f,d,a);f=r[++i];d=n[++o]}else if(isSameVnode(c,p,a)){patch(c,p,a);c=r[--l];p=n[--v]}else if(isSameVnode(f,p,a)){patch(f,p,a);insertBefore(e,f.k,c.k.nextSibling);f=r[++i];p=n[--v]}else if(isSameVnode(c,d,a)){patch(c,d,a);insertBefore(e,c.k,f.k);c=r[--l];d=n[++o]}else{s=-1;{for(u=i;u<=l;++u){if(r[u]&&r[u].T!==null&&r[u].T===d.T){s=u;break}}}if(s>=0){h=r[s];if(h.A!==d.A){m=createElm(r&&r[o],t,s)}else{patch(h,d,a);r[s]=void 0;m=h.k}d=n[++o]}else{m=createElm(r&&r[o],t,o);d=n[++o]}if(m){{insertBefore(f.k.parentNode,m,f.k)}}}}if(i>l){addVnodes(e,n[v+1]==null?null:n[v+1].k,t,n,o,v)}else if(o>v){removeVnodes(r,i,l)}};var isSameVnode=function(e,r,t){if(t===void 0){t=false}if(e.A===r.A){if(!t){return e.T===r.T}if(t&&!e.T&&r.T){e.T=r.T}return true}return false};var patch=function(e,r,t){if(t===void 0){t=false}var n=r.k=e.k;var a=e._;var i=r._;var o=r.S;if(o===null){{updateElement(e,r,isSvgMode)}if(a!==null&&i!==null){updateChildren(n,a,r,i,t)}else if(i!==null){if(e.S!==null){n.textContent=""}addVnodes(n,null,r,i,0,i.length-1)}else if(!t&&BUILD.updatable&&a!==null){removeVnodes(a,0,a.length-1)}}else if(e.S!==o){n.data=o}};var insertBefore=function(e,r,t){{return e==null?void 0:e.insertBefore(r,t)}};var renderVdom=function(e,r,t){if(t===void 0){t=false}var n=e.$hostElement$;var a=e.o;var i=e.D||newVNode(null,null);var o=isHost(r)?r:h(null,null,r);hostTagName=n.tagName;if(a.L){o.C=o.C||{};a.L.map((function(e){var r=e[0],t=e[1];return o.C[t]=n[r]}))}if(t&&o.C){for(var s=0,u=Object.keys(o.C);s<u.length;s++){var l=u[s];if(n.hasAttribute(l)&&!["key","ref","style","class"].includes(l)){o.C[l]=n[l]}}}o.A=null;o.i|=4;e.D=o;o.k=i.k=n.shadowRoot||n;useNativeShadowDom=!!(a.i&1)&&!(a.i&128);patch(i,o,t)};var attachToAncestor=function(e,r){if(r&&!e.N&&r["s-p"]){var t=r["s-p"].push(new Promise((function(n){return e.N=function(){r["s-p"].splice(t-1,1);n()}})))}};var scheduleUpdate=function(e,r){{e.i|=16}if(e.i&4){e.i|=512;return}attachToAncestor(e,e.M);var t=function(){return dispatchHooks(e,r)};return writeTask(t)};var dispatchHooks=function(e,r){var t=e.$hostElement$;var n=createTime("scheduleUpdate",e.o.p);var a=e.t;if(!a){throw new Error("Can't render component <".concat(t.tagName.toLowerCase()," /> with invalid Stencil runtime! Make sure this imported component is compiled with a `externalRuntime: true` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime"))}var i;if(r){i=safeCall(a,"componentWillLoad",void 0,t)}else{i=safeCall(a,"componentWillUpdate",void 0,t)}i=enqueue(i,(function(){return safeCall(a,"componentWillRender",void 0,t)}));n();return enqueue(i,(function(){return updateComponent(e,a,r)}))};var enqueue=function(e,r){return isPromisey(e)?e.then(r).catch((function(e){console.error(e);r()})):r()};var isPromisey=function(e){return e instanceof Promise||e&&e.then&&typeof e.then==="function"};var updateComponent=function(e,r,t){return __awaiter(void 0,void 0,void 0,(function(){var n,a,i,o,s,u,l;return __generator(this,(function(f){a=e.$hostElement$;i=createTime("update",e.o.p);o=a["s-rc"];if(t){attachStyles(e)}s=createTime("render",e.o.p);{callRender(e,r,a,t)}if(o){o.map((function(e){return e()}));a["s-rc"]=void 0}s();i();{u=(n=a["s-p"])!=null?n:[];l=function(){return postUpdateComponent(e)};if(u.length===0){l()}else{Promise.all(u).then(l);e.i|=4;u.length=0}}return[2]}))}))};var callRender=function(e,r,t,n){try{r=r.render();{e.i&=~16}{e.i|=2}{{{renderVdom(e,r,n)}}}}catch(r){consoleError(r,e.$hostElement$)}return null};var postUpdateComponent=function(e){var r=e.o.p;var t=e.$hostElement$;var n=createTime("postUpdate",r);var a=e.t;var i=e.M;safeCall(a,"componentDidRender",void 0,t);if(!(e.i&64)){e.i|=64;{addHydratedFlag(t)}safeCall(a,"componentDidLoad",void 0,t);n();{e.v(t);if(!i){appDidLoad()}}}else{safeCall(a,"componentDidUpdate",void 0,t);n()}{if(e.N){e.N();e.N=void 0}if(e.i&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.i&=~(4|512)}};var appDidLoad=function(e){nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var safeCall=function(e,r,t,n){if(e&&e[r]){try{return e[r](t)}catch(e){consoleError(e,n)}}return void 0};var addHydratedFlag=function(e){var r;return e.setAttribute((r=BUILD.hydratedSelectorName)!=null?r:"hydrated","")};var getValue=function(e,r){return getHostRef(e).u.get(r)};var setValue=function(e,r,t,n){var a=getHostRef(e);if(!a){throw new Error("Couldn't find host element for \"".concat(n.p,'" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).'))}var i=a.$hostElement$;var o=a.u.get(r);var s=a.i;var u=a.t;t=parsePropertyValue(t,n.V[r][0]);var l=Number.isNaN(o)&&Number.isNaN(t);var f=t!==o&&!l;if((!(s&8)||o===void 0)&&f){a.u.set(r,t);if(u){if(n.H&&s&128){var c=n.H[r];if(c){c.map((function(e){try{u[e](t,o,r)}catch(e){consoleError(e,i)}}))}}if((s&(2|16))===2){if(u.componentShouldUpdate){if(u.componentShouldUpdate(t,o,r)===false){return}}scheduleUpdate(a,false)}}}};var proxyComponent=function(e,r,t){var n,a;var i=e.prototype;if(r.i&64&&t&1){FORM_ASSOCIATED_CUSTOM_ELEMENT_CALLBACKS.forEach((function(e){Object.defineProperty(i,e,{value:function(){var r=[];for(var t=0;t<arguments.length;t++){r[t]=arguments[t]}var n=getHostRef(this);var a=n.t;if(!a){n.l.then((function(t){var n=t[e];typeof n==="function"&&n.call.apply(n,__spreadArray([t],r,false))}))}else{var i=a[e];typeof i==="function"&&i.call.apply(i,__spreadArray([a],r,false))}}})}))}if(r.V||(r.H||e.watchers)){if(e.watchers&&!r.H){r.H=e.watchers}var o=Object.entries((n=r.V)!=null?n:{});o.map((function(e){var n=e[0],a=e[1][0];if(a&31||t&2&&a&32){var o=Object.getOwnPropertyDescriptor(i,n)||{},s=o.get,u=o.set;if(s)r.V[n][0]|=2048;if(u)r.V[n][0]|=4096;if(t&1||!s){Object.defineProperty(i,n,{get:function(){{if((r.V[n][0]&2048)===0){return getValue(this,n)}var e=getHostRef(this);var t=e?e.t:i;if(!t)return;return t[n]}},configurable:true,enumerable:true})}Object.defineProperty(i,n,{set:function(e){var i=this;var o=getHostRef(this);if(u){var s=a&32?this[n]:o.$hostElement$[n];if(typeof s==="undefined"&&o.u.get(n)){e=o.u.get(n)}else if(!o.u.get(n)&&s){o.u.set(n,s)}u.apply(this,[parsePropertyValue(e,a)]);e=a&32?this[n]:o.$hostElement$[n];setValue(this,n,e,r);return}{if((t&1)===0||(r.V[n][0]&4096)===0){setValue(this,n,e,r);if(t&1&&!o.t){o.l.then((function(){if(r.V[n][0]&4096&&o.t[n]!==o.u.get(n)){o.t[n]=e}}))}return}var l=function(){var t=o.t[n];if(!o.u.get(n)&&t){o.u.set(n,t)}o.t[n]=parsePropertyValue(e,a);setValue(i,n,o.t[n],r)};if(o.t){l()}else{o.l.then((function(){return l()}))}}}})}}));if(t&1){var s=new Map;i.attributeChangedCallback=function(e,t,n){var a=this;plt.jmp((function(){var o;var u=s.get(e);if(a.hasOwnProperty(u)&&BUILD.lazyLoad){n=a[u];delete a[u]}else if(i.hasOwnProperty(u)&&typeof a[u]==="number"&&a[u]==n){return}else if(u==null){var l=getHostRef(a);var f=l==null?void 0:l.i;if(f&&!(f&8)&&f&128&&n!==t){var c=l.t;var v=(o=r.H)==null?void 0:o[e];v==null?void 0:v.forEach((function(r){if(c[r]!=null){c[r].call(c,n,t,e)}}))}return}var d=Object.getOwnPropertyDescriptor(i,u);n=n===null&&typeof a[u]==="boolean"?false:n;if(n!==a[u]&&(!d.get||!!d.set)){a[u]=n}}))};e.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((a=r.H)!=null?a:{}),true),o.filter((function(e){var r=e[0],t=e[1];return t[0]&15})).map((function(e){var t=e[0],n=e[1];var a;var i=n[1]||t;s.set(i,t);if(n[0]&512){(a=r.L)==null?void 0:a.push([t,i])}return i})),true)))}}return e};var initializeComponent=function(e,r,t,n){return __awaiter(void 0,void 0,void 0,(function(){var n,a,i,o,s,u,l,f,c,v,d;return __generator(this,(function(p){switch(p.label){case 0:if(!((r.i&32)===0))return[3,6];r.i|=32;a=t.m;if(!a)return[3,4];i=loadModule(t,r);if(!(i&&"then"in i))return[3,2];o=uniqueTime();return[4,i];case 1:n=p.sent();o();return[3,3];case 2:n=i;p.label=3;case 3:if(!n){throw new Error('Constructor for "'.concat(t.p,"#").concat(r.O,'" was not found'))}if(!n.isProxied){{t.H=n.watchers}proxyComponent(n,t,2);n.isProxied=true}s=createTime("createInstance",t.p);{r.i|=8}try{new n(r)}catch(r){consoleError(r,e)}{r.i&=~8}{r.i|=128}s();fireConnectedCallback(r.t,e);return[3,5];case 4:n=e.constructor;u=e.localName;customElements.whenDefined(u).then((function(){return r.i|=128}));p.label=5;case 5:if(n&&n.style){l=void 0;if(typeof n.style==="string"){l=n.style}f=getScopeId(t);if(!styles.has(f)){c=createTime("registerStyles",t.p);registerStyle(f,l,!!(t.i&1));c()}}p.label=6;case 6:v=r.M;d=function(){return scheduleUpdate(r,true)};if(v&&v["s-rc"]){v["s-rc"].push(d)}else{d()}return[2]}}))}))};var fireConnectedCallback=function(e,r){{safeCall(e,"connectedCallback",void 0,r)}};var connectedCallback=function(e){if((plt.i&1)===0){var r=getHostRef(e);var t=r.o;var n=createTime("connectedCallback",t.p);if(!(r.i&1)){r.i|=1;{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){attachToAncestor(r,r.M=a);break}}}if(t.V){Object.entries(t.V).map((function(r){var t=r[0],n=r[1][0];if(n&31&&e.hasOwnProperty(t)){var a=e[t];delete e[t];e[t]=a}}))}{initializeComponent(e,r,t)}}else{if(r==null?void 0:r.t){fireConnectedCallback(r.t,e)}else if(r==null?void 0:r.l){r.l.then((function(){return fireConnectedCallback(r.t,e)}))}}n()}};var disconnectInstance=function(e,r){{safeCall(e,"disconnectedCallback",void 0,r||e)}};var disconnectedCallback=function(e){return __awaiter(void 0,void 0,void 0,(function(){var r;return __generator(this,(function(t){if((plt.i&1)===0){r=getHostRef(e);if(r==null?void 0:r.t){disconnectInstance(r.t,e)}else if(r==null?void 0:r.l){r.l.then((function(){return disconnectInstance(r.t,e)}))}}if(rootAppliedStyles.has(e)){rootAppliedStyles.delete(e)}if(e.shadowRoot&&rootAppliedStyles.has(e.shadowRoot)){rootAppliedStyles.delete(e.shadowRoot)}return[2]}))}))};var bootstrapLazy=function(e,r){if(r===void 0){r={}}var t;if(!win.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}var n=createTime();var a=[];var i=r.exclude||[];var o=win.customElements;var s=win.document.head;var u=s.querySelector("meta[charset]");var l=win.document.createElement("style");var f=[];var c;var v=true;Object.assign(plt,r);plt.h=new URL(r.resourcesUrl||"./",win.document.baseURI).href;var d=false;e.map((function(e){e[1].map((function(r){var t;var n={i:r[0],p:r[1],V:r[2],P:r[3]};if(n.i&4){d=true}{n.V=r[2]}{n.L=[]}{n.H=(t=r[4])!=null?t:{}}var s=n.p;var u=function(e){__extends(r,e);function r(r){var t=e.call(this,r)||this;t.hasRegisteredEventListeners=false;r=t;registerHost(r,n);if(n.i&1){{if(!r.shadowRoot){{r.attachShadow({mode:"open"})}}else{if(r.shadowRoot.mode!=="open"){throw new Error("Unable to re-use existing shadow root for ".concat(n.p,"! Mode is set to ").concat(r.shadowRoot.mode," but Stencil only supports open shadow roots."))}}}}return t}r.prototype.connectedCallback=function(){var e=this;getHostRef(this);if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true}if(c){clearTimeout(c);c=null}if(v){f.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};r.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}));plt.raf((function(){var r;var t=getHostRef(e);var n=f.findIndex((function(r){return r===e}));if(n>-1){f.splice(n,1)}if(((r=t==null?void 0:t.D)==null?void 0:r.k)instanceof Node&&!t.D.k.isConnected){delete t.D.k}}))};r.prototype.componentOnReady=function(){return getHostRef(this).l};return r}(HTMLElement);if(n.i&64){u.formAssociated=true}n.m=e[0];if(!i.includes(s)&&!o.get(s)){a.push(s);o.define(s,proxyComponent(u,n,1))}}))}));if(a.length>0){if(d){l.textContent+=SLOT_FB_CSS}{l.textContent+=a.sort()+HYDRATED_CSS}if(l.innerHTML.length){l.setAttribute("data-styles","");var p=(t=plt.R)!=null?t:queryNonceMetaTagContent(win.document);if(p!=null){l.setAttribute("nonce",p)}s.insertBefore(l,u?u.nextSibling:s.firstChild)}}v=false;if(f.length){f.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return c=setTimeout(appDidLoad,30)}))}}n()};var setNonce=function(e){return plt.R=e};export{Host as H,bootstrapLazy as b,createEvent as c,getElement as g,h,promiseResolve as p,registerInstance as r,setNonce as s};