proto-tinker-wc 0.1.310 → 0.1.311

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.
@@ -5,7 +5,7 @@ const BUILD = /* proto-tinker-wc */ { allRenderFn: true, appendChildSlotFix: fal
5
5
  const Env = /* proto-tinker-wc */ {};
6
6
 
7
7
  /*
8
- Stencil Client Platform v4.45.2 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Platform v4.45.3 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
 
11
11
  var Build = {
@@ -167,6 +167,7 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
167
167
  /*!__STENCIL_STATIC_IMPORT_SWITCH__*/
168
168
  return import(
169
169
  /* @vite-ignore */
170
+ /* turbopackIgnore: true */
170
171
  /* webpackInclude: /\.entry\.js$/ */
171
172
  /* webpackExclude: /\.system\.entry\.js$/ */
172
173
  /* webpackMode: "lazy" */
@@ -420,6 +421,7 @@ function getHostSlotNodes(childNodes, hostName, slotName) {
420
421
  if (typeof slotName !== "undefined") return slottedNodes;
421
422
  }
422
423
  slottedNodes = [...slottedNodes, ...getHostSlotNodes(internalCall(childNode, "childNodes"), hostName, slotName)];
424
+ if (typeof slotName !== "undefined" && slottedNodes.length) return slottedNodes;
423
425
  }
424
426
  return slottedNodes;
425
427
  }
@@ -527,6 +529,7 @@ var patchPseudoShadowDom = (hostElementPrototype) => {
527
529
  patchSlotInsertAdjacentText(hostElementPrototype);
528
530
  patchInsertBefore(hostElementPrototype);
529
531
  patchTextContent(hostElementPrototype);
532
+ patchInnerContentSetters(hostElementPrototype);
530
533
  patchChildSlotNodes(hostElementPrototype);
531
534
  patchSlotRemoveChild(hostElementPrototype);
532
535
  };
@@ -585,10 +588,13 @@ var patchSlotAppendChild = (HostElementPrototype) => {
585
588
  addSlotRelocateNode(newChild, slotNode);
586
589
  const slotChildNodes = getSlotChildSiblings(slotNode, slotName);
587
590
  const appendAfter = slotChildNodes[slotChildNodes.length - 1];
591
+ const slotWasEmpty = slotChildNodes.every((node) => node["s-sr"]);
588
592
  const parent = internalCall(appendAfter, "parentNode");
589
593
  const insertedNode = internalCall(parent, "insertBefore")(newChild, appendAfter.nextSibling);
590
594
  dispatchSlotChangeEvent(slotNode);
591
- updateFallbackSlotVisibility(this);
595
+ if (slotWasEmpty) {
596
+ updateFallbackSlotVisibility(this);
597
+ }
592
598
  return insertedNode;
593
599
  }
594
600
  return this.__appendChild(newChild);
@@ -600,7 +606,7 @@ var patchSlotRemoveChild = (ElementPrototype) => {
600
606
  ElementPrototype.removeChild = function(toRemove) {
601
607
  if (toRemove && typeof toRemove["s-sn"] !== "undefined") {
602
608
  const childNodes = this.__childNodes || this.childNodes;
603
- const slotNode = getHostSlotNodes(childNodes, this.tagName, toRemove["s-sn"]);
609
+ const slotNode = getHostSlotNodes(childNodes, this.tagName, toRemove["s-sn"])[0];
604
610
  if (slotNode && toRemove.isConnected) {
605
611
  toRemove.remove();
606
612
  updateFallbackSlotVisibility(this);
@@ -682,26 +688,23 @@ var patchInsertBefore = (HostElementPrototype) => {
682
688
  eleProto.__insertBefore = HostElementPrototype.insertBefore;
683
689
  HostElementPrototype.insertBefore = function(newChild, currentChild) {
684
690
  const { slotName, slotNode } = findSlotFromSlottedNode(newChild, this);
685
- const slottedNodes = this.__childNodes ? this.childNodes : getSlottedChildNodes(this.childNodes);
686
691
  if (slotNode) {
687
- let found = false;
688
- slottedNodes.forEach((childNode) => {
689
- if (childNode === currentChild || currentChild === null) {
690
- found = true;
691
- if (currentChild === null || slotName !== currentChild["s-sn"]) {
692
- this.appendChild(newChild);
693
- return;
694
- }
695
- if (slotName === currentChild["s-sn"]) {
696
- addSlotRelocateNode(newChild, slotNode);
697
- const parent = internalCall(currentChild, "parentNode");
698
- internalCall(parent, "insertBefore")(newChild, currentChild);
699
- dispatchSlotChangeEvent(slotNode);
700
- }
701
- return;
692
+ if (currentChild === null) {
693
+ this.appendChild(newChild);
694
+ return newChild;
695
+ }
696
+ const slottedNodes = this.__childNodes ? this.childNodes : getSlottedChildNodes(this.childNodes);
697
+ if (slottedNodes.includes(currentChild)) {
698
+ if (slotName !== currentChild["s-sn"]) {
699
+ this.appendChild(newChild);
700
+ } else {
701
+ addSlotRelocateNode(newChild, slotNode);
702
+ const parent = internalCall(currentChild, "parentNode");
703
+ internalCall(parent, "insertBefore")(newChild, currentChild);
704
+ dispatchSlotChangeEvent(slotNode);
702
705
  }
703
- });
704
- if (found) return newChild;
706
+ return newChild;
707
+ }
705
708
  }
706
709
  const parentNode = currentChild == null ? void 0 : currentChild.__parentNode;
707
710
  if (parentNode && !this.isSameNode(parentNode)) {
@@ -737,15 +740,38 @@ var patchTextContent = (hostElementPrototype) => {
737
740
  return text;
738
741
  },
739
742
  set: function(value) {
740
- const childNodes = this.__childNodes ? this.childNodes : getSlottedChildNodes(this.childNodes);
741
- childNodes.forEach((node) => {
742
- if (node["s-ol"]) node["s-ol"].remove();
743
- node.remove();
744
- });
743
+ removeSlottedNodes(this);
745
744
  this.insertAdjacentHTML("beforeend", value);
746
745
  }
747
746
  });
748
747
  };
748
+ var patchInnerContentSetters = (hostElementPrototype) => {
749
+ if (!globalThis.HTMLElement) return;
750
+ const patchSetter = (proto, name, insert) => {
751
+ var _a;
752
+ const get = (_a = Object.getOwnPropertyDescriptor(proto, name)) == null ? void 0 : _a.get;
753
+ if (!get) return;
754
+ Object.defineProperty(hostElementPrototype, name, {
755
+ get,
756
+ set: function(value) {
757
+ removeSlottedNodes(this);
758
+ Array.from(internalCall(this, "childNodes")).forEach((node) => {
759
+ if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== this.tagName) node.remove();
760
+ });
761
+ insert(this, value != null ? value : "");
762
+ }
763
+ });
764
+ };
765
+ patchSetter(Element.prototype, "innerHTML", (host, value) => host.insertAdjacentHTML("beforeend", value));
766
+ patchSetter(HTMLElement.prototype, "innerText", (host, value) => host.append(value));
767
+ };
768
+ var removeSlottedNodes = (host) => {
769
+ const childNodes = host.__childNodes ? host.childNodes : getSlottedChildNodes(host.childNodes);
770
+ childNodes.forEach((node) => {
771
+ if (node["s-ol"]) node["s-ol"].remove();
772
+ node.remove();
773
+ });
774
+ };
749
775
  var patchChildSlotNodes = (elm) => {
750
776
  class FakeNodeList extends Array {
751
777
  item(n) {
@@ -1028,7 +1054,10 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
1028
1054
  }
1029
1055
  const existingStyleElm = (BUILD.hydrateClientSide || BUILD.hotModuleReplacement) && styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`);
1030
1056
  if (existingStyleElm) {
1031
- existingStyleElm.textContent = style;
1057
+ if (BUILD.hotModuleReplacement) {
1058
+ existingStyleElm.textContent = style;
1059
+ }
1060
+ appliedStyles.add(scopeId2);
1032
1061
  } else if (!appliedStyles.has(scopeId2)) {
1033
1062
  styleElm = win.document.createElement("style");
1034
1063
  styleElm.textContent = style;
@@ -1036,7 +1065,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
1036
1065
  if (nonce != null) {
1037
1066
  styleElm.setAttribute("nonce", nonce);
1038
1067
  }
1039
- if ((BUILD.hydrateServerSide || BUILD.hotModuleReplacement) && (cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */ || cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */ || cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
1068
+ if (BUILD.hydrateServerSide || BUILD.hotModuleReplacement) {
1040
1069
  styleElm.setAttribute(HYDRATED_STYLE_ID, scopeId2);
1041
1070
  }
1042
1071
  if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
@@ -1130,14 +1159,21 @@ var attachStyles = (hostRef) => {
1130
1159
  };
1131
1160
  var getScopeId = (cmp, mode) => "sc-" + (BUILD.mode && mode && cmp.$flags$ & 32 /* hasMode */ ? cmp.$tagName$ + "-" + mode : cmp.$tagName$);
1132
1161
  var convertScopedToShadow = (css) => css.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g, "$1{");
1133
- var hydrateScopedToShadow = () => {
1162
+ var hydrateScopedToShadow = (cmpMetas) => {
1134
1163
  if (!win.document) {
1135
1164
  return;
1136
1165
  }
1137
- const styles2 = win.document.querySelectorAll(`[${HYDRATED_STYLE_ID}]`);
1166
+ const styleElms = win.document.querySelectorAll(`[${HYDRATED_STYLE_ID}]`);
1138
1167
  let i2 = 0;
1139
- for (; i2 < styles2.length; i2++) {
1140
- registerStyle(styles2[i2].getAttribute(HYDRATED_STYLE_ID), convertScopedToShadow(styles2[i2].innerHTML), true);
1168
+ for (; i2 < styleElms.length; i2++) {
1169
+ const scopeId2 = styleElms[i2].getAttribute(HYDRATED_STYLE_ID);
1170
+ const isShadowCmpStyle = cmpMetas.some((cmpMeta) => {
1171
+ const cmpScopeId = "sc-" + cmpMeta.$tagName$;
1172
+ return cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && (scopeId2 === cmpScopeId || BUILD.mode && cmpMeta.$flags$ & 32 /* hasMode */ && scopeId2.startsWith(cmpScopeId + "-"));
1173
+ });
1174
+ if (isShadowCmpStyle) {
1175
+ registerStyle(scopeId2, convertScopedToShadow(styleElms[i2].innerHTML), true);
1176
+ }
1141
1177
  }
1142
1178
  };
1143
1179
 
@@ -1464,7 +1500,7 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
1464
1500
  const scopeId2 = hostElm["s-sc"];
1465
1501
  if (node.nodeType === 1 /* ElementNode */) {
1466
1502
  childNodeType = node.getAttribute(HYDRATE_CHILD_ID);
1467
- if (childNodeType) {
1503
+ if (childNodeType && node !== hostElm) {
1468
1504
  childIdSplt = childNodeType.split(".");
1469
1505
  if (childIdSplt[0] === hostId || childIdSplt[0] === "0") {
1470
1506
  childVNode = createSimpleVNode({
@@ -3763,7 +3799,7 @@ More information: https://stenciljs.com/docs/properties#prop-mutability`
3763
3799
  const entry = (_a2 = cmpMeta.$watchers$) == null ? void 0 : _a2[attrName];
3764
3800
  entry == null ? void 0 : entry.forEach((watcher) => {
3765
3801
  const [[watchMethodName, watcherFlags]] = Object.entries(watcher);
3766
- if (instance[watchMethodName] != null && (flags2 & 128 /* isWatchReady */ || watcherFlags & 1 /* Immediate */)) {
3802
+ if ((instance == null ? void 0 : instance[watchMethodName]) != null && (flags2 & 128 /* isWatchReady */ || watcherFlags & 1 /* Immediate */)) {
3767
3803
  instance[watchMethodName].call(instance, newValue, oldValue, attrName);
3768
3804
  }
3769
3805
  });
@@ -3784,7 +3820,8 @@ More information: https://stenciljs.com/docs/properties#prop-mutability`
3784
3820
  newValue = newValue === null || newValue === "false" && !isFormAssociated ? false : true;
3785
3821
  }
3786
3822
  const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
3787
- if (!isSpuriousBooleanRemoval && newValue != this[propName] && (!propDesc.get || !!propDesc.set)) {
3823
+ const isUnchanged = newValue === this[propName] || newValue == null && this[propName] == null;
3824
+ if (!isSpuriousBooleanRemoval && !isUnchanged && (!propDesc.get || !!propDesc.set)) {
3788
3825
  this[propName] = newValue;
3789
3826
  }
3790
3827
  });
@@ -4088,7 +4125,7 @@ var proxyCustomElement = (Cstr, compactMeta) => {
4088
4125
  patchCloneNode(Cstr.prototype);
4089
4126
  }
4090
4127
  if (BUILD.hydrateClientSide && BUILD.shadowDom) {
4091
- hydrateScopedToShadow();
4128
+ hydrateScopedToShadow([cmpMeta]);
4092
4129
  }
4093
4130
  const originalConnectedCallback = Cstr.prototype.connectedCallback;
4094
4131
  const originalDisconnectedCallback = Cstr.prototype.disconnectedCallback;
@@ -4208,7 +4245,9 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
4208
4245
  plt.$flags$ |= 2 /* appLoaded */;
4209
4246
  }
4210
4247
  if (BUILD.hydrateClientSide && BUILD.shadowDom) {
4211
- hydrateScopedToShadow();
4248
+ const cmpMetas = [];
4249
+ lazyBundles.map((lazyBundle) => lazyBundle[1].map(([$flags$, $tagName$]) => cmpMetas.push({ $flags$, $tagName$ })));
4250
+ hydrateScopedToShadow(cmpMetas);
4212
4251
  }
4213
4252
  let hasSlotRelocation = false;
4214
4253
  lazyBundles.map((lazyBundle) => {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bm3KkTQW.js');
3
+ var index = require('./index-Ds_lnL4I.js');
4
4
  var appGlobals = require('./app-globals-V2Kpy_OQ.js');
5
5
 
6
6
  const defineCustomElements = async (win, options) => {
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bm3KkTQW.js');
3
+ var index = require('./index-Ds_lnL4I.js');
4
4
  var appGlobals = require('./app-globals-V2Kpy_OQ.js');
5
5
 
6
6
  var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
7
7
  /*
8
- Stencil Client Patch Browser v4.45.2 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Browser v4.45.3 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
 
11
11
  var patchBrowser = () => {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-Bm3KkTQW.js');
3
+ var index = require('./index-Ds_lnL4I.js');
4
4
 
5
5
  const Radio = props => {
6
6
  const hex = props.hex || 'currentColor';
@@ -488,7 +488,8 @@ const shadowCss = () => ` @layer properties; @layer theme, base, components, uti
488
488
 
489
489
  const ProtoTinker = class {
490
490
  constructor(hostRef) {
491
- index.registerInstance(this, hostRef);
491
+ if (new.target === ProtoTinker)
492
+ index.registerInstance(this, hostRef);
492
493
  this.tag = 'proto-tinker';
493
494
  }
494
495
  componentDidLoad() {
@@ -5,7 +5,7 @@
5
5
  "mixins": [],
6
6
  "compiler": {
7
7
  "name": "@stencil/core",
8
- "version": "4.45.2",
8
+ "version": "4.45.3",
9
9
  "typescriptVersion": "5.8.3"
10
10
  },
11
11
  "collections": [],
@@ -3,7 +3,7 @@ const BUILD = /* proto-tinker-wc */ { allRenderFn: true, appendChildSlotFix: fal
3
3
  const Env = /* proto-tinker-wc */ {};
4
4
 
5
5
  /*
6
- Stencil Client Platform v4.45.2 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Platform v4.45.3 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
 
9
9
  var Build = {
@@ -165,6 +165,7 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
165
165
  /*!__STENCIL_STATIC_IMPORT_SWITCH__*/
166
166
  return import(
167
167
  /* @vite-ignore */
168
+ /* turbopackIgnore: true */
168
169
  /* webpackInclude: /\.entry\.js$/ */
169
170
  /* webpackExclude: /\.system\.entry\.js$/ */
170
171
  /* webpackMode: "lazy" */
@@ -418,6 +419,7 @@ function getHostSlotNodes(childNodes, hostName, slotName) {
418
419
  if (typeof slotName !== "undefined") return slottedNodes;
419
420
  }
420
421
  slottedNodes = [...slottedNodes, ...getHostSlotNodes(internalCall(childNode, "childNodes"), hostName, slotName)];
422
+ if (typeof slotName !== "undefined" && slottedNodes.length) return slottedNodes;
421
423
  }
422
424
  return slottedNodes;
423
425
  }
@@ -525,6 +527,7 @@ var patchPseudoShadowDom = (hostElementPrototype) => {
525
527
  patchSlotInsertAdjacentText(hostElementPrototype);
526
528
  patchInsertBefore(hostElementPrototype);
527
529
  patchTextContent(hostElementPrototype);
530
+ patchInnerContentSetters(hostElementPrototype);
528
531
  patchChildSlotNodes(hostElementPrototype);
529
532
  patchSlotRemoveChild(hostElementPrototype);
530
533
  };
@@ -583,10 +586,13 @@ var patchSlotAppendChild = (HostElementPrototype) => {
583
586
  addSlotRelocateNode(newChild, slotNode);
584
587
  const slotChildNodes = getSlotChildSiblings(slotNode, slotName);
585
588
  const appendAfter = slotChildNodes[slotChildNodes.length - 1];
589
+ const slotWasEmpty = slotChildNodes.every((node) => node["s-sr"]);
586
590
  const parent = internalCall(appendAfter, "parentNode");
587
591
  const insertedNode = internalCall(parent, "insertBefore")(newChild, appendAfter.nextSibling);
588
592
  dispatchSlotChangeEvent(slotNode);
589
- updateFallbackSlotVisibility(this);
593
+ if (slotWasEmpty) {
594
+ updateFallbackSlotVisibility(this);
595
+ }
590
596
  return insertedNode;
591
597
  }
592
598
  return this.__appendChild(newChild);
@@ -598,7 +604,7 @@ var patchSlotRemoveChild = (ElementPrototype) => {
598
604
  ElementPrototype.removeChild = function(toRemove) {
599
605
  if (toRemove && typeof toRemove["s-sn"] !== "undefined") {
600
606
  const childNodes = this.__childNodes || this.childNodes;
601
- const slotNode = getHostSlotNodes(childNodes, this.tagName, toRemove["s-sn"]);
607
+ const slotNode = getHostSlotNodes(childNodes, this.tagName, toRemove["s-sn"])[0];
602
608
  if (slotNode && toRemove.isConnected) {
603
609
  toRemove.remove();
604
610
  updateFallbackSlotVisibility(this);
@@ -680,26 +686,23 @@ var patchInsertBefore = (HostElementPrototype) => {
680
686
  eleProto.__insertBefore = HostElementPrototype.insertBefore;
681
687
  HostElementPrototype.insertBefore = function(newChild, currentChild) {
682
688
  const { slotName, slotNode } = findSlotFromSlottedNode(newChild, this);
683
- const slottedNodes = this.__childNodes ? this.childNodes : getSlottedChildNodes(this.childNodes);
684
689
  if (slotNode) {
685
- let found = false;
686
- slottedNodes.forEach((childNode) => {
687
- if (childNode === currentChild || currentChild === null) {
688
- found = true;
689
- if (currentChild === null || slotName !== currentChild["s-sn"]) {
690
- this.appendChild(newChild);
691
- return;
692
- }
693
- if (slotName === currentChild["s-sn"]) {
694
- addSlotRelocateNode(newChild, slotNode);
695
- const parent = internalCall(currentChild, "parentNode");
696
- internalCall(parent, "insertBefore")(newChild, currentChild);
697
- dispatchSlotChangeEvent(slotNode);
698
- }
699
- return;
690
+ if (currentChild === null) {
691
+ this.appendChild(newChild);
692
+ return newChild;
693
+ }
694
+ const slottedNodes = this.__childNodes ? this.childNodes : getSlottedChildNodes(this.childNodes);
695
+ if (slottedNodes.includes(currentChild)) {
696
+ if (slotName !== currentChild["s-sn"]) {
697
+ this.appendChild(newChild);
698
+ } else {
699
+ addSlotRelocateNode(newChild, slotNode);
700
+ const parent = internalCall(currentChild, "parentNode");
701
+ internalCall(parent, "insertBefore")(newChild, currentChild);
702
+ dispatchSlotChangeEvent(slotNode);
700
703
  }
701
- });
702
- if (found) return newChild;
704
+ return newChild;
705
+ }
703
706
  }
704
707
  const parentNode = currentChild == null ? void 0 : currentChild.__parentNode;
705
708
  if (parentNode && !this.isSameNode(parentNode)) {
@@ -735,15 +738,38 @@ var patchTextContent = (hostElementPrototype) => {
735
738
  return text;
736
739
  },
737
740
  set: function(value) {
738
- const childNodes = this.__childNodes ? this.childNodes : getSlottedChildNodes(this.childNodes);
739
- childNodes.forEach((node) => {
740
- if (node["s-ol"]) node["s-ol"].remove();
741
- node.remove();
742
- });
741
+ removeSlottedNodes(this);
743
742
  this.insertAdjacentHTML("beforeend", value);
744
743
  }
745
744
  });
746
745
  };
746
+ var patchInnerContentSetters = (hostElementPrototype) => {
747
+ if (!globalThis.HTMLElement) return;
748
+ const patchSetter = (proto, name, insert) => {
749
+ var _a;
750
+ const get = (_a = Object.getOwnPropertyDescriptor(proto, name)) == null ? void 0 : _a.get;
751
+ if (!get) return;
752
+ Object.defineProperty(hostElementPrototype, name, {
753
+ get,
754
+ set: function(value) {
755
+ removeSlottedNodes(this);
756
+ Array.from(internalCall(this, "childNodes")).forEach((node) => {
757
+ if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== this.tagName) node.remove();
758
+ });
759
+ insert(this, value != null ? value : "");
760
+ }
761
+ });
762
+ };
763
+ patchSetter(Element.prototype, "innerHTML", (host, value) => host.insertAdjacentHTML("beforeend", value));
764
+ patchSetter(HTMLElement.prototype, "innerText", (host, value) => host.append(value));
765
+ };
766
+ var removeSlottedNodes = (host) => {
767
+ const childNodes = host.__childNodes ? host.childNodes : getSlottedChildNodes(host.childNodes);
768
+ childNodes.forEach((node) => {
769
+ if (node["s-ol"]) node["s-ol"].remove();
770
+ node.remove();
771
+ });
772
+ };
747
773
  var patchChildSlotNodes = (elm) => {
748
774
  class FakeNodeList extends Array {
749
775
  item(n) {
@@ -1026,7 +1052,10 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
1026
1052
  }
1027
1053
  const existingStyleElm = (BUILD.hydrateClientSide || BUILD.hotModuleReplacement) && styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`);
1028
1054
  if (existingStyleElm) {
1029
- existingStyleElm.textContent = style;
1055
+ if (BUILD.hotModuleReplacement) {
1056
+ existingStyleElm.textContent = style;
1057
+ }
1058
+ appliedStyles.add(scopeId2);
1030
1059
  } else if (!appliedStyles.has(scopeId2)) {
1031
1060
  styleElm = win.document.createElement("style");
1032
1061
  styleElm.textContent = style;
@@ -1034,7 +1063,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
1034
1063
  if (nonce != null) {
1035
1064
  styleElm.setAttribute("nonce", nonce);
1036
1065
  }
1037
- if ((BUILD.hydrateServerSide || BUILD.hotModuleReplacement) && (cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */ || cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */ || cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
1066
+ if (BUILD.hydrateServerSide || BUILD.hotModuleReplacement) {
1038
1067
  styleElm.setAttribute(HYDRATED_STYLE_ID, scopeId2);
1039
1068
  }
1040
1069
  if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
@@ -1128,14 +1157,21 @@ var attachStyles = (hostRef) => {
1128
1157
  };
1129
1158
  var getScopeId = (cmp, mode) => "sc-" + (BUILD.mode && mode && cmp.$flags$ & 32 /* hasMode */ ? cmp.$tagName$ + "-" + mode : cmp.$tagName$);
1130
1159
  var convertScopedToShadow = (css) => css.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g, "$1{");
1131
- var hydrateScopedToShadow = () => {
1160
+ var hydrateScopedToShadow = (cmpMetas) => {
1132
1161
  if (!win.document) {
1133
1162
  return;
1134
1163
  }
1135
- const styles2 = win.document.querySelectorAll(`[${HYDRATED_STYLE_ID}]`);
1164
+ const styleElms = win.document.querySelectorAll(`[${HYDRATED_STYLE_ID}]`);
1136
1165
  let i2 = 0;
1137
- for (; i2 < styles2.length; i2++) {
1138
- registerStyle(styles2[i2].getAttribute(HYDRATED_STYLE_ID), convertScopedToShadow(styles2[i2].innerHTML), true);
1166
+ for (; i2 < styleElms.length; i2++) {
1167
+ const scopeId2 = styleElms[i2].getAttribute(HYDRATED_STYLE_ID);
1168
+ const isShadowCmpStyle = cmpMetas.some((cmpMeta) => {
1169
+ const cmpScopeId = "sc-" + cmpMeta.$tagName$;
1170
+ return cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && (scopeId2 === cmpScopeId || BUILD.mode && cmpMeta.$flags$ & 32 /* hasMode */ && scopeId2.startsWith(cmpScopeId + "-"));
1171
+ });
1172
+ if (isShadowCmpStyle) {
1173
+ registerStyle(scopeId2, convertScopedToShadow(styleElms[i2].innerHTML), true);
1174
+ }
1139
1175
  }
1140
1176
  };
1141
1177
 
@@ -1462,7 +1498,7 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
1462
1498
  const scopeId2 = hostElm["s-sc"];
1463
1499
  if (node.nodeType === 1 /* ElementNode */) {
1464
1500
  childNodeType = node.getAttribute(HYDRATE_CHILD_ID);
1465
- if (childNodeType) {
1501
+ if (childNodeType && node !== hostElm) {
1466
1502
  childIdSplt = childNodeType.split(".");
1467
1503
  if (childIdSplt[0] === hostId || childIdSplt[0] === "0") {
1468
1504
  childVNode = createSimpleVNode({
@@ -3761,7 +3797,7 @@ More information: https://stenciljs.com/docs/properties#prop-mutability`
3761
3797
  const entry = (_a2 = cmpMeta.$watchers$) == null ? void 0 : _a2[attrName];
3762
3798
  entry == null ? void 0 : entry.forEach((watcher) => {
3763
3799
  const [[watchMethodName, watcherFlags]] = Object.entries(watcher);
3764
- if (instance[watchMethodName] != null && (flags2 & 128 /* isWatchReady */ || watcherFlags & 1 /* Immediate */)) {
3800
+ if ((instance == null ? void 0 : instance[watchMethodName]) != null && (flags2 & 128 /* isWatchReady */ || watcherFlags & 1 /* Immediate */)) {
3765
3801
  instance[watchMethodName].call(instance, newValue, oldValue, attrName);
3766
3802
  }
3767
3803
  });
@@ -3782,7 +3818,8 @@ More information: https://stenciljs.com/docs/properties#prop-mutability`
3782
3818
  newValue = newValue === null || newValue === "false" && !isFormAssociated ? false : true;
3783
3819
  }
3784
3820
  const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
3785
- if (!isSpuriousBooleanRemoval && newValue != this[propName] && (!propDesc.get || !!propDesc.set)) {
3821
+ const isUnchanged = newValue === this[propName] || newValue == null && this[propName] == null;
3822
+ if (!isSpuriousBooleanRemoval && !isUnchanged && (!propDesc.get || !!propDesc.set)) {
3786
3823
  this[propName] = newValue;
3787
3824
  }
3788
3825
  });
@@ -4086,7 +4123,7 @@ var proxyCustomElement = (Cstr, compactMeta) => {
4086
4123
  patchCloneNode(Cstr.prototype);
4087
4124
  }
4088
4125
  if (BUILD.hydrateClientSide && BUILD.shadowDom) {
4089
- hydrateScopedToShadow();
4126
+ hydrateScopedToShadow([cmpMeta]);
4090
4127
  }
4091
4128
  const originalConnectedCallback = Cstr.prototype.connectedCallback;
4092
4129
  const originalDisconnectedCallback = Cstr.prototype.disconnectedCallback;
@@ -4206,7 +4243,9 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
4206
4243
  plt.$flags$ |= 2 /* appLoaded */;
4207
4244
  }
4208
4245
  if (BUILD.hydrateClientSide && BUILD.shadowDom) {
4209
- hydrateScopedToShadow();
4246
+ const cmpMetas = [];
4247
+ lazyBundles.map((lazyBundle) => lazyBundle[1].map(([$flags$, $tagName$]) => cmpMetas.push({ $flags$, $tagName$ })));
4248
+ hydrateScopedToShadow(cmpMetas);
4210
4249
  }
4211
4250
  let hasSlotRelocation = false;
4212
4251
  lazyBundles.map((lazyBundle) => {
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-BqfyFa96.js';
2
- export { s as setNonce } from './index-BqfyFa96.js';
1
+ import { b as bootstrapLazy } from './index-NY9qHH5e.js';
2
+ export { s as setNonce } from './index-NY9qHH5e.js';
3
3
  import { g as globalScripts } from './app-globals-DQuL1Twl.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, B as BUILD, c as consoleDevInfo, w as win, N as NAMESPACE, H, b as bootstrapLazy } from './index-BqfyFa96.js';
2
- export { s as setNonce } from './index-BqfyFa96.js';
1
+ import { p as promiseResolve, B as BUILD, c as consoleDevInfo, w as win, N as NAMESPACE, H, b as bootstrapLazy } from './index-NY9qHH5e.js';
2
+ export { s as setNonce } from './index-NY9qHH5e.js';
3
3
  import { g as globalScripts } from './app-globals-DQuL1Twl.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.45.2 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.45.3 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
 
9
9
  var patchBrowser = () => {
@@ -1,4 +1,4 @@
1
- import { h, S as StencilCore, r as registerInstance } from './index-BqfyFa96.js';
1
+ import { h, S as StencilCore, r as registerInstance } from './index-NY9qHH5e.js';
2
2
 
3
3
  const Radio = props => {
4
4
  const hex = props.hex || 'currentColor';
@@ -486,7 +486,8 @@ const shadowCss = () => ` @layer properties; @layer theme, base, components, uti
486
486
 
487
487
  const ProtoTinker = class {
488
488
  constructor(hostRef) {
489
- registerInstance(this, hostRef);
489
+ if (new.target === ProtoTinker)
490
+ registerInstance(this, hostRef);
490
491
  this.tag = 'proto-tinker';
491
492
  }
492
493
  componentDidLoad() {
@@ -1 +1 @@
1
- import{h as t,S as e,r as a}from"./p-BqfyFa96.js";const r=e=>{const a=e.hex||"currentColor",r=e.selected||!1,l=e.size||24;return t("svg",{class:e.class,width:l,height:l,viewBox:"0 0 24 24",role:"img","aria-label":"title"},t("title",null,e.label||"radio")," ",t("g",{fill:a},t("path",r?{d:"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"})),t("path",{d:"M0 0h24v24H0z",fill:"none"}))},l=[{id:1,height:400,width:100,x:10,y:10,drop:20},{id:2,height:356,width:100,x:120,y:32,drop:20},{id:3,height:312,width:100,x:230,y:54,drop:20},{id:4,height:268,width:100,x:340,y:76,drop:20},{id:5,height:224,width:100,x:450,y:98,drop:20}].map((()=>0)),o={bada55:"#bada55",navy:"#001f3f",blue:"#0074d9",aqua:"#7fdbff",teal:"#39cccc",olive:"#3d9970",green:"#2ecc40",lime:"#01ff70",yellow:"#ffdc00",orange:"#ff851b",red:"#ff4136",maroon:"#85144b",fuchsia:"#f012be",purple:"#b10dc9",black:"#111111",gray:"#aaaaaa",silver:"#dddddd"},n={slate:"#708090",slate4:"#4e5964",white:"#ffffff"},s=Object.keys(o),i=(()=>{let t;return(...e)=>{t&&clearTimeout(t),t=setTimeout((()=>{t=0,(t=>{t.forEach(((e,a)=>{const r=new Set;e.forEach((t=>{const e=t.deref();var a;e&&(!("isConnected"in(a=e))||a.isConnected)&&r.add(t)})),t.set(a,r)}))})(...e)}),2e3)}})(),c=e.forceUpdate,d=e.getRenderingRef,f=(t,e)=>{const a=t.indexOf(e);a>=0&&(t[a]=t[t.length-1],t.length--)},p="proto-tinker-wc::app-data",h=(()=>{const t=((t,e=(t,e)=>t!==e)=>{const a=()=>{return("function"==typeof(e=t)?e():e)??{};var e},r=a();let l=new Map(Object.entries(r));const o="undefined"!=typeof Proxy,n=o?null:{},s={dispose:[],get:[],set:[],reset:[]},i=new Map,c=()=>{l=new Map(Object.entries(a())),o||v(),s.reset.forEach((t=>t()))},d=t=>(s.get.forEach((e=>e(t))),l.get(t)),p=(t,a)=>{const r=l.get(t);e(a,r,t)&&(l.set(t,a),o||b(t),s.set.forEach((e=>e(t,a,r))))},h=o?new Proxy(r,{get:(t,e)=>d(e),ownKeys:()=>Array.from(l.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(t,e)=>l.has(e),set:(t,e,a)=>(p(e,a),!0)}):(v(),n),g=(t,e)=>(s[t].push(e),()=>{f(s[t],e)});function b(t){!o&&n&&(Object.prototype.hasOwnProperty.call(n,t)||Object.defineProperty(n,t,{configurable:!0,enumerable:!0,get:()=>d(t),set(e){p(t,e)}}))}function v(){if(o||!n)return;const t=new Set(l.keys());for(const e of Object.keys(n))t.has(e)||delete n[e];for(const e of t)b(e)}return{state:h,get:d,set:p,on:g,onChange:(t,e)=>{const r=(a,r)=>{a===t&&e(r)},l=()=>{const r=a();e(r[t])},o=g("set",r),n=g("reset",l);return i.set(e,{setHandler:r,resetHandler:l,propName:t}),()=>{o(),n(),i.delete(e)}},use:(...t)=>{const e=t.reduce(((t,e)=>(e.set&&t.push(g("set",e.set)),e.get&&t.push(g("get",e.get)),e.reset&&t.push(g("reset",e.reset)),e.dispose&&t.push(g("dispose",e.dispose)),t)),[]);return()=>e.forEach((t=>t()))},dispose:()=>{s.dispose.forEach((t=>t())),c()},reset:c,forceUpdate:t=>{const e=l.get(t);s.set.forEach((a=>a(t,e,e)))},removeListener:(t,e)=>{const a=i.get(e);a&&a.propName===t&&(f(s.set,a.setHandler),f(s.reset,a.resetHandler),i.delete(e))}}})({count:0,pick:"bada55",values:[...l]},void 0);return t.use((()=>{if("function"!=typeof d||"function"!=typeof c)return{};const t=c,e=d,a=new WeakMap,r=new Map;return{dispose:()=>r.clear(),get:t=>{const l=e();l&&((t,e,a,r)=>{let l=e.get(r);l||(l=new WeakRef(r),e.set(r,l));let o=t.get(a);o||(o=new Set,t.set(a,o)),o.add(l)})(r,a,t,l)},set:e=>{const a=r.get(e);if(a){const l=new Set;a.forEach((e=>{const a=e.deref();a&&t(a)&&l.add(e)})),r.set(e,l)}i(r)},reset:()=>{r.forEach((e=>{e.forEach((e=>{const a=e.deref();a&&t(a)}))})),i(r)}}})()),t})(),{state:g}=h,b=()=>{const{count:t,pick:e,values:a}=g;(t=>{const e=JSON.stringify(t);localStorage.setItem(p,e)})({count:t,pick:e,values:a})},v={initApp:()=>{const t=(()=>{const t=localStorage.getItem(p);return t?JSON.parse(t):void 0})();if(t){const{count:e,pick:a,values:r}=t;g.count=e,g.pick=a,g.values=r}},refresh:()=>{const t=l.map((()=>Math.floor(100*Math.random())));g.count=g.count+1,g.values=t,b()},reset:()=>{g.count=0,g.values=[...l],b()},updatePick:t=>{g.pick=t,b()}},u=e=>{const{actions:a,state:l}=e,{pick:i}=l;return t("div",{id:"toolbar",class:"flex flex-wrap",role:"radiogroup"},s.map((e=>{const l=(t=>o[t]||n[t])(e),s=i===e;return t("div",{"aria-label":e,"aria-checked":s?"true":"false",role:"radio",onClick:()=>{a.updatePick(e)}},t(r,{hex:l,selected:s,label:e}))})))},x=e=>{const a=e.hex||"currentColor",r=e.size||24;return t("svg",{class:e.class,width:r,height:r,viewBox:"0 0 24 24",role:"img","aria-label":"title"},t("title",null,e.label||"chevron-double-left"),t("g",{fill:a},t("path",{d:"M18.41,7.41L17,6L11,12L17,18L18.41,16.59L13.83,12L18.41,7.41M12.41,7.41L11,6L5,12L11,18L12.41,16.59L7.83,12L12.41,7.41Z"})),t("path",{d:"M0 0h24v24H0z",fill:"none"}))},m=e=>{const a=e.hex||"currentColor",r=e.size||24;return t("svg",{class:e.class,width:r,height:r,viewBox:"0 0 24 24",role:"img","aria-label":"title"},t("title",null,e.label||"close"),t("g",{fill:a},t("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})),t("path",{d:"M0 0h24v24H0z",fill:"none"}))},w=e=>{const a=e.hex||"currentColor",r=e.size||24;return t("svg",{class:e.class,width:r,height:r,viewBox:"0 0 24 24",role:"img","aria-label":"title"},t("title",null,e.label||"refresh"),t("g",{fill:a},t("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99\n 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65\n 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35\n 2.35z"})),t("path",{d:"M0 0h24v24H0z",fill:"none"}))},C=e=>{const{actions:a,state:r}=e,{count:l}=r;return t("div",{class:"mb-10px mt-3 flex items-center"},t("button",{"aria-label":"Refresh",class:"ds1-button data-button bg-clrs-blue",onClick:()=>{a.refresh()}},t(w,{label:"Refresh"})),t("button",{"aria-label":"Reset",class:"ds1-button data-button bg-clrs-red",onClick:()=>{a.reset()}},t(m,{label:"Reset"})),t("span",{class:"flex items-center"},t(x,{size:28}),t("span",{class:"italic"},"click a button... ",t("sup",null,l))))},y=()=>t("label",{class:"ml-auto align-top text-xs italic text-clrs-slate4"},"Tailwind ","4.3.5"),k=e=>{const{state:a}=e,{values:r,pick:l,count:o}=a;return t("div",{class:"flex"},t("div",{class:"flex flex-col"},t("div",{class:"flex"},t("span",{class:"mr-10px font-bold"},"color:"),t("span",{class:"italic text-clrs-slate4"},l)),t("div",{class:"mt-5px flex"},t("span",{class:"mr-10px font-bold"},"sample:"),t("span",{class:"italic text-clrs-slate4"},`${o>0?r:"..."}`))),t(y,null))},M=e=>{const a=e.hex||"currentColor",r=e.size||24;return t("svg",{class:e.class,width:r,height:r,viewBox:"0 0 24 24",role:"img","aria-label":"title"},t("title",null,e.label||"fingerprint"),t("g",{fill:a},t("path",{d:"M17.81,4.47C17.73,4.47 17.65,4.45 17.58,4.41C15.66,3.42 14,3\n 12,3C10.03,3 8.15,3.47 6.44,4.41C6.2,4.54 5.9,4.45 5.76,4.21C5.63,3.97\n 5.72,3.66 5.96,3.53C7.82,2.5 9.86,2 12,2C14.14,2 16,2.47\n 18.04,3.5C18.29,3.65 18.38,3.95 18.25,4.19C18.16,4.37 18,4.47\n 17.81,4.47M3.5,9.72C3.4,9.72 3.3,9.69 3.21,9.63C3,9.47 2.93,9.16\n 3.09,8.93C4.08,7.53 5.34,6.43 6.84,5.66C10,4.04 14,4.03\n 17.15,5.65C18.65,6.42 19.91,7.5 20.9,8.9C21.06,9.12 21,9.44\n 20.78,9.6C20.55,9.76 20.24,9.71 20.08,9.5C19.18,8.22 18.04,7.23\n 16.69,6.54C13.82,5.07 10.15,5.07 7.29,6.55C5.93,7.25 4.79,8.25\n 3.89,9.5C3.81,9.65 3.66,9.72 3.5,9.72M9.75,21.79C9.62,21.79 9.5,21.74\n 9.4,21.64C8.53,20.77 8.06,20.21 7.39,19C6.7,17.77 6.34,16.27\n 6.34,14.66C6.34,11.69 8.88,9.27 12,9.27C15.12,9.27 17.66,11.69\n 17.66,14.66A0.5,0.5 0 0,1 17.16,15.16A0.5,0.5 0 0,1\n 16.66,14.66C16.66,12.24 14.57,10.27 12,10.27C9.43,10.27 7.34,12.24\n 7.34,14.66C7.34,16.1 7.66,17.43 8.27,18.5C8.91,19.66 9.35,20.15\n 10.12,20.93C10.31,21.13 10.31,21.44 10.12,21.64C10,21.74 9.88,21.79\n 9.75,21.79M16.92,19.94C15.73,19.94 14.68,19.64 13.82,19.05C12.33,18.04\n 11.44,16.4 11.44,14.66A0.5,0.5 0 0,1 11.94,14.16A0.5,0.5 0 0,1\n 12.44,14.66C12.44,16.07 13.16,17.4 14.38,18.22C15.09,18.7 15.92,18.93\n 16.92,18.93C17.16,18.93 17.56,18.9 17.96,18.83C18.23,18.78 18.5,18.96\n 18.54,19.24C18.59,19.5 18.41,19.77 18.13,19.82C17.56,19.93 17.06,19.94\n 16.92,19.94M14.91,22C14.87,22 14.82,22 14.78,22C13.19,21.54 12.15,20.95\n 11.06,19.88C9.66,18.5 8.89,16.64 8.89,14.66C8.89,13.04 10.27,11.72\n 11.97,11.72C13.67,11.72 15.05,13.04 15.05,14.66C15.05,15.73 16,16.6\n 17.13,16.6C18.28,16.6 19.21,15.73 19.21,14.66C19.21,10.89 15.96,7.83\n 11.96,7.83C9.12,7.83 6.5,9.41 5.35,11.86C4.96,12.67 4.76,13.62\n 4.76,14.66C4.76,15.44 4.83,16.67 5.43,18.27C5.53,18.53 5.4,18.82\n 5.14,18.91C4.88,19 4.59,18.87 4.5,18.62C4,17.31 3.77,16\n 3.77,14.66C3.77,13.46 4,12.37 4.45,11.42C5.78,8.63 8.73,6.82\n 11.96,6.82C16.5,6.82 20.21,10.33 20.21,14.65C20.21,16.27 18.83,17.59\n 17.13,17.59C15.43,17.59 14.05,16.27 14.05,14.65C14.05,13.58 13.12,12.71\n 11.97,12.71C10.82,12.71 9.89,13.58 9.89,14.65C9.89,16.36 10.55,17.96\n 11.76,19.16C12.71,20.1 13.62,20.62 15.03,21C15.3,21.08 15.45,21.36\n 15.38,21.62C15.33,21.85 15.12,22 14.91,22Z"})),t("path",{d:"M0 0h24v24H0z",fill:"none"}))},S="eswat2",z=()=>t("a",{class:"absolute right-8 top-8 text-clrs-gray hover:text-clrs-navy",href:"https://eswat2.dev","aria-label":S,target:"blank",title:S},t(M,{label:"eswat2"})),L=e=>t("h1",{class:"mb-11 ml-0 mr-0 mt-11 text-center text-6xl font-thin uppercase text-clrs-red"},e.label),j=class{constructor(t){a(this,t),this.tag="proto-tinker"}componentDidLoad(){v.initApp()}render(){return t("div",{key:"8ce0faa12c39b5b7ebc87c2f8d00dade936e3ded",id:"app",class:"ds1-main relative"},t(L,{key:"d1a5aba6e4221c2f233f8675a4d5cd81aab4d93d",label:"tinker wc"}),t(z,{key:"919ca01768ea309609ec6be67fede120434d723e"}),t(C,{key:"e8220f685b6b44e3d7ccd1bf644d3f98219d7310",actions:v,state:g}),t(u,{key:"463901312bdd5ee72715de3e2fc47ad364902f40",actions:v,state:g}),t("hr",{key:"35ba2812a3b068b21b5252c5f07d0b5dc2f18527",class:"ml-0 mr-0"}),t(k,{key:"df047e0968a8267a031b87fd733c454911771fe0",state:g}))}};j.style=" @layer properties; @layer theme, base, components, utilities; @layer theme { :root, :host { --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; --spacing: 0.25rem; --text-xs: 0.75rem; --text-xs--line-height: calc(1 / 0.75); --text-6xl: 3.75rem; --text-6xl--line-height: 1; --font-weight-thin: 100; --font-weight-bold: 700; } } @layer utilities { .absolute { position: absolute; } .relative { position: relative; } .top-8 { top: calc(var(--spacing) * 8); } .right-8 { right: calc(var(--spacing) * 8); } .mt-3 { margin-top: calc(var(--spacing) * 3); } .mt-5px { margin-top: 5px; } .mt-11 { margin-top: calc(var(--spacing) * 11); } .mr-0 { margin-right: 0px; } .mr-10px { margin-right: 10px; } .mb-10px { margin-bottom: 10px; } .mb-11 { margin-bottom: calc(var(--spacing) * 11); } .ml-0 { margin-left: 0px; } .ml-auto { margin-left: auto; } .contents { display: contents; } .flex { display: flex; } .flex-col { flex-direction: column; } .flex-wrap { flex-wrap: wrap; } .items-center { align-items: center; } .border-solid { --tw-border-style: solid; border-style: solid; } .border-clrs-slate { border-color: var(--clrs-slate, #708090); } .bg-clrs-blue { background-color: var(--clrs-blue, #0074d9); } .bg-clrs-red { background-color: var(--clrs-red, #ff4136); } .p-4 { padding: calc(var(--spacing) * 4); } .text-center { text-align: center; } .align-top { vertical-align: top; } .font-sans { font-family: var(--font-sans); } .text-6xl { font-size: var(--text-6xl); line-height: var(--tw-leading, var(--text-6xl--line-height)); } .text-xs { font-size: var(--text-xs); line-height: var(--tw-leading, var(--text-xs--line-height)); } .font-bold { --tw-font-weight: var(--font-weight-bold); font-weight: var(--font-weight-bold); } .font-thin { --tw-font-weight: var(--font-weight-thin); font-weight: var(--font-weight-thin); } .text-clrs-gray { color: var(--clrs-gray, #aaaaaa); } .text-clrs-navy { color: var(--clrs-navy, #001f3f); } .text-clrs-red { color: var(--clrs-red, #ff4136); } .text-clrs-slate4 { color: var(--clrs-slate4, #4e5964); } .text-clrs-white { color: var(--clrs-white, #ffffff); } .uppercase { text-transform: uppercase; } .italic { font-style: italic; } .shadow { --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)); box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow); } @media (hover: hover) { .hover\\:text-clrs-navy:hover { color: var(--clrs-navy, #001f3f); } } .active\\:bg-clrs-gray:active { background-color: var(--clrs-gray, #aaaaaa); } } @layer components { .ds1-main { display: flex; flex-direction: column; padding: calc(var(--spacing) * 4); font-family: var(--font-sans); color: var(--clrs-navy, #001f3f); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .ds1-button { display: flex; align-items: center; --tw-border-style: solid; border-style: solid; border-color: var(--clrs-slate, #708090); color: var(--clrs-white, #ffffff); &:active { background-color: var(--clrs-gray, #aaaaaa); } &:active { color: var(--clrs-navy, #001f3f); } } } .data-button { border-radius: 5px; border-width: 1px; padding: 5px; margin: 0px; margin-right: 5px; cursor: pointer; } ";export{j as proto_tinker}
1
+ import{h as t,S as e,r as a}from"./p-NY9qHH5e.js";const r=e=>{const a=e.hex||"currentColor",r=e.selected||!1,l=e.size||24;return t("svg",{class:e.class,width:l,height:l,viewBox:"0 0 24 24",role:"img","aria-label":"title"},t("title",null,e.label||"radio")," ",t("g",{fill:a},t("path",r?{d:"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"})),t("path",{d:"M0 0h24v24H0z",fill:"none"}))},l=[{id:1,height:400,width:100,x:10,y:10,drop:20},{id:2,height:356,width:100,x:120,y:32,drop:20},{id:3,height:312,width:100,x:230,y:54,drop:20},{id:4,height:268,width:100,x:340,y:76,drop:20},{id:5,height:224,width:100,x:450,y:98,drop:20}].map((()=>0)),o={bada55:"#bada55",navy:"#001f3f",blue:"#0074d9",aqua:"#7fdbff",teal:"#39cccc",olive:"#3d9970",green:"#2ecc40",lime:"#01ff70",yellow:"#ffdc00",orange:"#ff851b",red:"#ff4136",maroon:"#85144b",fuchsia:"#f012be",purple:"#b10dc9",black:"#111111",gray:"#aaaaaa",silver:"#dddddd"},n={slate:"#708090",slate4:"#4e5964",white:"#ffffff"},s=Object.keys(o),i=(()=>{let t;return(...e)=>{t&&clearTimeout(t),t=setTimeout((()=>{t=0,(t=>{t.forEach(((e,a)=>{const r=new Set;e.forEach((t=>{const e=t.deref();var a;e&&(!("isConnected"in(a=e))||a.isConnected)&&r.add(t)})),t.set(a,r)}))})(...e)}),2e3)}})(),c=e.forceUpdate,d=e.getRenderingRef,f=(t,e)=>{const a=t.indexOf(e);a>=0&&(t[a]=t[t.length-1],t.length--)},p="proto-tinker-wc::app-data",h=(()=>{const t=((t,e=(t,e)=>t!==e)=>{const a=()=>{return("function"==typeof(e=t)?e():e)??{};var e},r=a();let l=new Map(Object.entries(r));const o="undefined"!=typeof Proxy,n=o?null:{},s={dispose:[],get:[],set:[],reset:[]},i=new Map,c=()=>{l=new Map(Object.entries(a())),o||v(),s.reset.forEach((t=>t()))},d=t=>(s.get.forEach((e=>e(t))),l.get(t)),p=(t,a)=>{const r=l.get(t);e(a,r,t)&&(l.set(t,a),o||b(t),s.set.forEach((e=>e(t,a,r))))},h=o?new Proxy(r,{get:(t,e)=>d(e),ownKeys:()=>Array.from(l.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(t,e)=>l.has(e),set:(t,e,a)=>(p(e,a),!0)}):(v(),n),g=(t,e)=>(s[t].push(e),()=>{f(s[t],e)});function b(t){!o&&n&&(Object.prototype.hasOwnProperty.call(n,t)||Object.defineProperty(n,t,{configurable:!0,enumerable:!0,get:()=>d(t),set(e){p(t,e)}}))}function v(){if(o||!n)return;const t=new Set(l.keys());for(const e of Object.keys(n))t.has(e)||delete n[e];for(const e of t)b(e)}return{state:h,get:d,set:p,on:g,onChange:(t,e)=>{const r=(a,r)=>{a===t&&e(r)},l=()=>{const r=a();e(r[t])},o=g("set",r),n=g("reset",l);return i.set(e,{setHandler:r,resetHandler:l,propName:t}),()=>{o(),n(),i.delete(e)}},use:(...t)=>{const e=t.reduce(((t,e)=>(e.set&&t.push(g("set",e.set)),e.get&&t.push(g("get",e.get)),e.reset&&t.push(g("reset",e.reset)),e.dispose&&t.push(g("dispose",e.dispose)),t)),[]);return()=>e.forEach((t=>t()))},dispose:()=>{s.dispose.forEach((t=>t())),c()},reset:c,forceUpdate:t=>{const e=l.get(t);s.set.forEach((a=>a(t,e,e)))},removeListener:(t,e)=>{const a=i.get(e);a&&a.propName===t&&(f(s.set,a.setHandler),f(s.reset,a.resetHandler),i.delete(e))}}})({count:0,pick:"bada55",values:[...l]},void 0);return t.use((()=>{if("function"!=typeof d||"function"!=typeof c)return{};const t=c,e=d,a=new WeakMap,r=new Map;return{dispose:()=>r.clear(),get:t=>{const l=e();l&&((t,e,a,r)=>{let l=e.get(r);l||(l=new WeakRef(r),e.set(r,l));let o=t.get(a);o||(o=new Set,t.set(a,o)),o.add(l)})(r,a,t,l)},set:e=>{const a=r.get(e);if(a){const l=new Set;a.forEach((e=>{const a=e.deref();a&&t(a)&&l.add(e)})),r.set(e,l)}i(r)},reset:()=>{r.forEach((e=>{e.forEach((e=>{const a=e.deref();a&&t(a)}))})),i(r)}}})()),t})(),{state:g}=h,b=()=>{const{count:t,pick:e,values:a}=g;(t=>{const e=JSON.stringify(t);localStorage.setItem(p,e)})({count:t,pick:e,values:a})},v={initApp:()=>{const t=(()=>{const t=localStorage.getItem(p);return t?JSON.parse(t):void 0})();if(t){const{count:e,pick:a,values:r}=t;g.count=e,g.pick=a,g.values=r}},refresh:()=>{const t=l.map((()=>Math.floor(100*Math.random())));g.count=g.count+1,g.values=t,b()},reset:()=>{g.count=0,g.values=[...l],b()},updatePick:t=>{g.pick=t,b()}},u=e=>{const{actions:a,state:l}=e,{pick:i}=l;return t("div",{id:"toolbar",class:"flex flex-wrap",role:"radiogroup"},s.map((e=>{const l=(t=>o[t]||n[t])(e),s=i===e;return t("div",{"aria-label":e,"aria-checked":s?"true":"false",role:"radio",onClick:()=>{a.updatePick(e)}},t(r,{hex:l,selected:s,label:e}))})))},x=e=>{const a=e.hex||"currentColor",r=e.size||24;return t("svg",{class:e.class,width:r,height:r,viewBox:"0 0 24 24",role:"img","aria-label":"title"},t("title",null,e.label||"chevron-double-left"),t("g",{fill:a},t("path",{d:"M18.41,7.41L17,6L11,12L17,18L18.41,16.59L13.83,12L18.41,7.41M12.41,7.41L11,6L5,12L11,18L12.41,16.59L7.83,12L12.41,7.41Z"})),t("path",{d:"M0 0h24v24H0z",fill:"none"}))},m=e=>{const a=e.hex||"currentColor",r=e.size||24;return t("svg",{class:e.class,width:r,height:r,viewBox:"0 0 24 24",role:"img","aria-label":"title"},t("title",null,e.label||"close"),t("g",{fill:a},t("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})),t("path",{d:"M0 0h24v24H0z",fill:"none"}))},w=e=>{const a=e.hex||"currentColor",r=e.size||24;return t("svg",{class:e.class,width:r,height:r,viewBox:"0 0 24 24",role:"img","aria-label":"title"},t("title",null,e.label||"refresh"),t("g",{fill:a},t("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99\n 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65\n 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35\n 2.35z"})),t("path",{d:"M0 0h24v24H0z",fill:"none"}))},C=e=>{const{actions:a,state:r}=e,{count:l}=r;return t("div",{class:"mb-10px mt-3 flex items-center"},t("button",{"aria-label":"Refresh",class:"ds1-button data-button bg-clrs-blue",onClick:()=>{a.refresh()}},t(w,{label:"Refresh"})),t("button",{"aria-label":"Reset",class:"ds1-button data-button bg-clrs-red",onClick:()=>{a.reset()}},t(m,{label:"Reset"})),t("span",{class:"flex items-center"},t(x,{size:28}),t("span",{class:"italic"},"click a button... ",t("sup",null,l))))},y=()=>t("label",{class:"ml-auto align-top text-xs italic text-clrs-slate4"},"Tailwind ","4.3.5"),k=e=>{const{state:a}=e,{values:r,pick:l,count:o}=a;return t("div",{class:"flex"},t("div",{class:"flex flex-col"},t("div",{class:"flex"},t("span",{class:"mr-10px font-bold"},"color:"),t("span",{class:"italic text-clrs-slate4"},l)),t("div",{class:"mt-5px flex"},t("span",{class:"mr-10px font-bold"},"sample:"),t("span",{class:"italic text-clrs-slate4"},`${o>0?r:"..."}`))),t(y,null))},M=e=>{const a=e.hex||"currentColor",r=e.size||24;return t("svg",{class:e.class,width:r,height:r,viewBox:"0 0 24 24",role:"img","aria-label":"title"},t("title",null,e.label||"fingerprint"),t("g",{fill:a},t("path",{d:"M17.81,4.47C17.73,4.47 17.65,4.45 17.58,4.41C15.66,3.42 14,3\n 12,3C10.03,3 8.15,3.47 6.44,4.41C6.2,4.54 5.9,4.45 5.76,4.21C5.63,3.97\n 5.72,3.66 5.96,3.53C7.82,2.5 9.86,2 12,2C14.14,2 16,2.47\n 18.04,3.5C18.29,3.65 18.38,3.95 18.25,4.19C18.16,4.37 18,4.47\n 17.81,4.47M3.5,9.72C3.4,9.72 3.3,9.69 3.21,9.63C3,9.47 2.93,9.16\n 3.09,8.93C4.08,7.53 5.34,6.43 6.84,5.66C10,4.04 14,4.03\n 17.15,5.65C18.65,6.42 19.91,7.5 20.9,8.9C21.06,9.12 21,9.44\n 20.78,9.6C20.55,9.76 20.24,9.71 20.08,9.5C19.18,8.22 18.04,7.23\n 16.69,6.54C13.82,5.07 10.15,5.07 7.29,6.55C5.93,7.25 4.79,8.25\n 3.89,9.5C3.81,9.65 3.66,9.72 3.5,9.72M9.75,21.79C9.62,21.79 9.5,21.74\n 9.4,21.64C8.53,20.77 8.06,20.21 7.39,19C6.7,17.77 6.34,16.27\n 6.34,14.66C6.34,11.69 8.88,9.27 12,9.27C15.12,9.27 17.66,11.69\n 17.66,14.66A0.5,0.5 0 0,1 17.16,15.16A0.5,0.5 0 0,1\n 16.66,14.66C16.66,12.24 14.57,10.27 12,10.27C9.43,10.27 7.34,12.24\n 7.34,14.66C7.34,16.1 7.66,17.43 8.27,18.5C8.91,19.66 9.35,20.15\n 10.12,20.93C10.31,21.13 10.31,21.44 10.12,21.64C10,21.74 9.88,21.79\n 9.75,21.79M16.92,19.94C15.73,19.94 14.68,19.64 13.82,19.05C12.33,18.04\n 11.44,16.4 11.44,14.66A0.5,0.5 0 0,1 11.94,14.16A0.5,0.5 0 0,1\n 12.44,14.66C12.44,16.07 13.16,17.4 14.38,18.22C15.09,18.7 15.92,18.93\n 16.92,18.93C17.16,18.93 17.56,18.9 17.96,18.83C18.23,18.78 18.5,18.96\n 18.54,19.24C18.59,19.5 18.41,19.77 18.13,19.82C17.56,19.93 17.06,19.94\n 16.92,19.94M14.91,22C14.87,22 14.82,22 14.78,22C13.19,21.54 12.15,20.95\n 11.06,19.88C9.66,18.5 8.89,16.64 8.89,14.66C8.89,13.04 10.27,11.72\n 11.97,11.72C13.67,11.72 15.05,13.04 15.05,14.66C15.05,15.73 16,16.6\n 17.13,16.6C18.28,16.6 19.21,15.73 19.21,14.66C19.21,10.89 15.96,7.83\n 11.96,7.83C9.12,7.83 6.5,9.41 5.35,11.86C4.96,12.67 4.76,13.62\n 4.76,14.66C4.76,15.44 4.83,16.67 5.43,18.27C5.53,18.53 5.4,18.82\n 5.14,18.91C4.88,19 4.59,18.87 4.5,18.62C4,17.31 3.77,16\n 3.77,14.66C3.77,13.46 4,12.37 4.45,11.42C5.78,8.63 8.73,6.82\n 11.96,6.82C16.5,6.82 20.21,10.33 20.21,14.65C20.21,16.27 18.83,17.59\n 17.13,17.59C15.43,17.59 14.05,16.27 14.05,14.65C14.05,13.58 13.12,12.71\n 11.97,12.71C10.82,12.71 9.89,13.58 9.89,14.65C9.89,16.36 10.55,17.96\n 11.76,19.16C12.71,20.1 13.62,20.62 15.03,21C15.3,21.08 15.45,21.36\n 15.38,21.62C15.33,21.85 15.12,22 14.91,22Z"})),t("path",{d:"M0 0h24v24H0z",fill:"none"}))},S="eswat2",z=()=>t("a",{class:"absolute right-8 top-8 text-clrs-gray hover:text-clrs-navy",href:"https://eswat2.dev","aria-label":S,target:"blank",title:S},t(M,{label:"eswat2"})),L=e=>t("h1",{class:"mb-11 ml-0 mr-0 mt-11 text-center text-6xl font-thin uppercase text-clrs-red"},e.label),j=class{constructor(t){new.target===j&&a(this,t),this.tag="proto-tinker"}componentDidLoad(){v.initApp()}render(){return t("div",{key:"8ce0faa12c39b5b7ebc87c2f8d00dade936e3ded",id:"app",class:"ds1-main relative"},t(L,{key:"d1a5aba6e4221c2f233f8675a4d5cd81aab4d93d",label:"tinker wc"}),t(z,{key:"919ca01768ea309609ec6be67fede120434d723e"}),t(C,{key:"e8220f685b6b44e3d7ccd1bf644d3f98219d7310",actions:v,state:g}),t(u,{key:"463901312bdd5ee72715de3e2fc47ad364902f40",actions:v,state:g}),t("hr",{key:"35ba2812a3b068b21b5252c5f07d0b5dc2f18527",class:"ml-0 mr-0"}),t(k,{key:"df047e0968a8267a031b87fd733c454911771fe0",state:g}))}};j.style=" @layer properties; @layer theme, base, components, utilities; @layer theme { :root, :host { --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; --spacing: 0.25rem; --text-xs: 0.75rem; --text-xs--line-height: calc(1 / 0.75); --text-6xl: 3.75rem; --text-6xl--line-height: 1; --font-weight-thin: 100; --font-weight-bold: 700; } } @layer utilities { .absolute { position: absolute; } .relative { position: relative; } .top-8 { top: calc(var(--spacing) * 8); } .right-8 { right: calc(var(--spacing) * 8); } .mt-3 { margin-top: calc(var(--spacing) * 3); } .mt-5px { margin-top: 5px; } .mt-11 { margin-top: calc(var(--spacing) * 11); } .mr-0 { margin-right: 0px; } .mr-10px { margin-right: 10px; } .mb-10px { margin-bottom: 10px; } .mb-11 { margin-bottom: calc(var(--spacing) * 11); } .ml-0 { margin-left: 0px; } .ml-auto { margin-left: auto; } .contents { display: contents; } .flex { display: flex; } .flex-col { flex-direction: column; } .flex-wrap { flex-wrap: wrap; } .items-center { align-items: center; } .border-solid { --tw-border-style: solid; border-style: solid; } .border-clrs-slate { border-color: var(--clrs-slate, #708090); } .bg-clrs-blue { background-color: var(--clrs-blue, #0074d9); } .bg-clrs-red { background-color: var(--clrs-red, #ff4136); } .p-4 { padding: calc(var(--spacing) * 4); } .text-center { text-align: center; } .align-top { vertical-align: top; } .font-sans { font-family: var(--font-sans); } .text-6xl { font-size: var(--text-6xl); line-height: var(--tw-leading, var(--text-6xl--line-height)); } .text-xs { font-size: var(--text-xs); line-height: var(--tw-leading, var(--text-xs--line-height)); } .font-bold { --tw-font-weight: var(--font-weight-bold); font-weight: var(--font-weight-bold); } .font-thin { --tw-font-weight: var(--font-weight-thin); font-weight: var(--font-weight-thin); } .text-clrs-gray { color: var(--clrs-gray, #aaaaaa); } .text-clrs-navy { color: var(--clrs-navy, #001f3f); } .text-clrs-red { color: var(--clrs-red, #ff4136); } .text-clrs-slate4 { color: var(--clrs-slate4, #4e5964); } .text-clrs-white { color: var(--clrs-white, #ffffff); } .uppercase { text-transform: uppercase; } .italic { font-style: italic; } .shadow { --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)); box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow); } @media (hover: hover) { .hover\\:text-clrs-navy:hover { color: var(--clrs-navy, #001f3f); } } .active\\:bg-clrs-gray:active { background-color: var(--clrs-gray, #aaaaaa); } } @layer components { .ds1-main { display: flex; flex-direction: column; padding: calc(var(--spacing) * 4); font-family: var(--font-sans); color: var(--clrs-navy, #001f3f); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .ds1-button { display: flex; align-items: center; --tw-border-style: solid; border-style: solid; border-color: var(--clrs-slate, #708090); color: var(--clrs-white, #ffffff); &:active { background-color: var(--clrs-gray, #aaaaaa); } &:active { color: var(--clrs-navy, #001f3f); } } } .data-button { border-radius: 5px; border-width: 1px; padding: 5px; margin: 0px; margin-right: 5px; cursor: pointer; } ";export{j as proto_tinker}
@@ -0,0 +1,3 @@
1
+ const t="proto-tinker-wc",e={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,constructableCSS:!0,cssAnnotations:!0,deserializer:!1,devTools:!1,element:!1,event:!1,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!1,hostListenerTarget:!1,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!1,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!1,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!1,propChangeCallback:!1,propMutable:!1,propNumber:!1,propString:!0,reflect:!1,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,serializer:!1,shadowDelegatesFocus:!1,shadowDom:!0,shadowSlotAssignmentManual:!1,slot:!1,slotChildNodesFix:!1,slotRelocation:!1,state:!1,style:!0,svg:!0,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!1,vdomRender:!0,vdomStyle:!1,vdomText:!0,vdomXlink:!1};var n={isDev:!!e.isDev,isBrowser:!0,isServer:!1,isTesting:!!e.isTesting},o=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(o||{}),s=(t=>(t.Array="array",t.Date="date",t.Map="map",t.Object="object",t.RegularExpression="regexp",t.Set="set",t.Channel="channel",t.Symbol="symbol",t))(s||{}),r="type",l="value",i="serialized:";function c(t,e,n){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,e);if(o&&(!n||o.get))return o;t=Object.getPrototypeOf(t)}}var a,u,f=(t,n)=>{var o;Object.entries(null!=(o=n.o.t)?o:{}).map((([o,[s]])=>{if((e.state||e.prop)&&(31&s||32&s)){const e=t[o],s=c(Object.getPrototypeOf(t),o,!0)||Object.getOwnPropertyDescriptor(t,o);s&&Object.defineProperty(t,o,{get(){return s.get.call(this)},set(t){s.set.call(this,t)},configurable:!0,enumerable:!0}),n.l.has(o)?t[o]=n.l.get(o):void 0!==e&&(t[o]=e)}}))},d=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},h=(t,n)=>{n&&(t.__stencil__getHostRef=()=>n,n.i=t,512&n.o.u&&(e.state||e.prop)&&f(t,n))},p=(t,n)=>{const o={u:0,$hostElement$:t,o:n,l:new Map,p:new Map};e.isDev&&(o.m=0),e.method&&e.lazyLoad&&(o.v=new Promise((t=>o.$=t))),e.asyncLoading&&(o.S=new Promise((t=>o.j=t)),t["s-p"]=[],t["s-rc"]=[]),e.lazyLoad&&(o.O=[]);const s=o;return t.__stencil__getHostRef=()=>s,!e.lazyLoad&&512&n.u&&(e.state||e.prop)&&f(t,o),s},m=(t,e)=>e in t,v=(t,e)=>(a||console.error)(t,e),g=e.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"],$=(...t)=>console.error(...g,...t),b=(...t)=>console.warn(...g,...t),y=(...t)=>console.info(...g,...t),w=new Map,S=new Map,j=(t,n,o)=>{var s;const r=t.C.replace(/-/g,"_"),l=t._;if(e.isDev&&"string"!=typeof l)return void $(`Trying to lazily load component <${t.C}> with style mode "${n.T}", but it does not exist.`);if(!l)return;const i=!e.hotModuleReplacement&&w.get(l);if(i)return i[r];const c=null!=(s=S.get(l))?s:0,a=[c>0?"s-retry="+c:"",e.hotModuleReplacement&&o?"s-hmr="+o:""].filter(Boolean).join("&");
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/
3
+ return import(`./${l}.entry.js${a?"?"+a:""}`).then((t=>(e.hotModuleReplacement||(S.delete(l),w.set(l,t)),t[r])),(t=>{S.set(l,c+1),v(t,n.$hostElement$)}))},O=new Map,x=[],C="s-id",E="sty-id",_="c-id",T="_stencilDocData",k={hostIds:0,rootLevelIds:0,staticComponents:new Set},N="slot-fb{display:contents}slot-fb[hidden]{display:none}",L="http://www.w3.org/1999/xlink",R=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],M="undefined"!=typeof window?window:{},A=M.HTMLElement||class{},D={u:0,k:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},I=e.shadowDom,H=t=>Promise.resolve(t),P=!!e.constructableCSS&&(()=>{try{return!!M.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),F=!!P&&(()=>!!M.document&&Object.getOwnPropertyDescriptor(M.document.adoptedStyleSheets,"length").writable)(),U=0,B=!1,z=[],V=[],W=[],Y=()=>{var t;return(null==(t=M.document)?void 0:t.hidden)?setTimeout(K,16):D.raf(K)},J=(t,e)=>n=>{t.push(n),B||(B=!0,e&&4&D.u?Q(K):Y())},X=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){v(t)}t.length=0},q=(t,e)=>{let n=0,o=0;for(;n<t.length&&(o=performance.now())<e;)try{t[n++](o)}catch(t){v(t)}n===t.length?t.length=0:0!==n&&t.splice(0,n)},K=()=>{if(e.asyncQueue&&U++,X(z),e.asyncQueue){const t=2==(6&D.u)?performance.now()+14*Math.ceil(.1*U):1/0;q(V,t),q(W,t),V.length>0&&(W.push(...V),V.length=0),(B=z.length+V.length+W.length>0)?Y():U=0}else X(V),(B=z.length>0)&&Y()},Q=t=>H().then(t),G=J(z,!1),Z=J(V,!0);function tt(t){const n={mode:"open"};e.shadowDelegatesFocus&&(n.delegatesFocus=!!(16&t.u)),e.shadowSlotAssignmentManual&&1024&t.u&&(n.slotAssignment="manual");const o=this.attachShadow(n);void 0===u&&(u=null),u&&(F?o.adoptedStyleSheets.push(u):o.adoptedStyleSheets=[...o.adoptedStyleSheets,u])}var et=t=>{const e=Mt(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&ot(e,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!st(t,it(t),!1).length)}));let n=0;for(n=0;n<e.length;n++){const t=e[n];1===t.nodeType&&Mt(t,"childNodes").length&&et(t)}},nt=t=>{const e=[];for(let n=0;n<t.length;n++){const o=t[n]["s-nr"]||void 0;o&&o.isConnected&&e.push(o)}return e};function ot(t,e,n){let o,s=0,r=[];for(;s<t.length;s++){if(o=t[s],o["s-sr"]&&(!e||o["s-hn"]===e)&&(void 0===n||it(o)===n)&&(r.push(o),void 0!==n))return r;if(r=[...r,...ot(Mt(o,"childNodes"),e,n)],void 0!==n&&r.length)return r}return r}var st=(t,e,n=!0)=>{const o=[];(n&&t["s-sr"]||!t["s-sr"])&&o.push(t);let s=t;for(;s=s.nextSibling;)it(s)!==e||!n&&s["s-sr"]||o.push(s);return o},rt=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,lt=(t,n,o,s)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const r=document.createTextNode("");if(r["s-nr"]=t,!n["s-cr"]||!n["s-cr"].parentNode)return;const l=n["s-cr"].parentNode,i=Mt(l,o?"prepend":"appendChild");if(e.hydrateClientSide&&void 0!==s){r["s-oo"]=s;const t=Mt(l,"childNodes"),e=[r];t.forEach((t=>{t["s-nr"]&&e.push(t)})),e.sort(((t,e)=>!t["s-oo"]||t["s-oo"]<(e["s-oo"]||0)?-1:!e["s-oo"]||e["s-oo"]<t["s-oo"]?1:0)),e.forEach((t=>i.call(l,t)))}else i.call(l,r);t["s-ol"]=r,t["s-sh"]=n["s-hn"]},it=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function ct(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const e=e=>function(t){const n=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const s=this["s-cr"].parentElement;return(s.__childNodes?s.childNodes:nt(s.childNodes)).forEach((t=>{o===it(t)&&n.push(t)})),e?n.filter((t=>1===t.nodeType)):n}.bind(t);t.assignedElements=e(!0),t.assignedNodes=e(!1)}function at(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function ut(t,e){var n;if(!(e=e||(null==(n=t["s-ol"])?void 0:n.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=it(t)||"";return{slotNode:ot(Mt(e,"childNodes"),e.tagName,o)[0],slotName:o}}var ft=t=>{dt(t),ht(t),vt(t),mt(t),yt(t),gt(t),$t(t),bt(t),wt(t),St(t),Ot(t),pt(t)},dt=t=>{if(t.__cloneNode)return;const n=t.__cloneNode=t.cloneNode;t.cloneNode=function(t){const o=!!e.shadowDom&&this.shadowRoot&&I,s=n.call(this,!!o&&t);if(e.slot&&!o&&t){let t,n,o=0;const r=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"],l=this.__childNodes||this.childNodes;for(;o<l.length;o++)t=l[o]["s-nr"],n=r.every((t=>!l[o][t])),t&&(e.appendChildSlotFix&&s.__appendChild?s.__appendChild(t.cloneNode(!0)):s.appendChild(t.cloneNode(!0))),n&&s.appendChild(l[o].cloneNode(!0))}return s}},ht=t=>{t.__appendChild||(t.__appendChild=t.appendChild,t.appendChild=function(t){const{slotName:e,slotNode:n}=ut(t,this);if(n){lt(t,n);const o=st(n,e),s=o[o.length-1],r=o.every((t=>t["s-sr"])),l=Mt(s,"parentNode"),i=Mt(l,"insertBefore")(t,s.nextSibling);return at(n),r&&et(this),i}return this.__appendChild(t)})},pt=t=>{t.__removeChild||(t.__removeChild=t.removeChild,t.removeChild=function(t){return t&&void 0!==t["s-sn"]&&ot(this.__childNodes||this.childNodes,this.tagName,t["s-sn"])[0]&&t.isConnected?(t.remove(),void et(this)):this.__removeChild(t)})},mt=t=>{t.__prepend||(t.__prepend=t.prepend,t.prepend=function(...e){e.forEach((e=>{"string"==typeof e&&(e=this.ownerDocument.createTextNode(e));const n=(e["s-sn"]=it(e))||"",o=ot(Mt(this,"childNodes"),this.tagName,n)[0];if(o){lt(e,o,!0);const t=st(o,n)[0],s=Mt(t,"parentNode"),r=Mt(s,"insertBefore")(e,Mt(t,"nextSibling"));return at(o),r}return 1===e.nodeType&&e.getAttribute("slot")&&(e.hidden=!0),t.__prepend(e)}))})},vt=t=>{t.__append||(t.__append=t.append,t.append=function(...t){t.forEach((t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t)),this.appendChild(t)}))})},gt=t=>{if(t.__insertAdjacentHTML)return;const e=t.insertAdjacentHTML;t.insertAdjacentHTML=function(t,n){if("afterbegin"!==t&&"beforeend"!==t)return e.call(this,t,n);const o=this.ownerDocument.createElement("_");let s;if(o.innerHTML=n,"afterbegin"===t)for(;s=o.firstChild;)this.prepend(s);else if("beforeend"===t)for(;s=o.firstChild;)this.append(s)}},$t=t=>{t.insertAdjacentText=function(t,e){this.insertAdjacentHTML(t,e)}},bt=t=>{t.__insertBefore||t.__insertBefore||(t.__insertBefore=t.insertBefore,t.insertBefore=function(t,e){const{slotName:n,slotNode:o}=ut(t,this);if(o){if(null===e)return this.appendChild(t),t;if((this.__childNodes?this.childNodes:nt(this.childNodes)).includes(e)){if(n!==e["s-sn"])this.appendChild(t);else{lt(t,o);const n=Mt(e,"parentNode");Mt(n,"insertBefore")(t,e),at(o)}return t}}const s=null==e?void 0:e.__parentNode;return s&&!this.isSameNode(s)?this.appendChild(t):this.__insertBefore(t,e)})},yt=t=>{if(t.__insertAdjacentElement)return;const e=t.insertAdjacentElement;t.insertAdjacentElement=function(t,n){return"afterbegin"!==t&&"beforeend"!==t?e.call(this,t,n):"afterbegin"===t?(this.prepend(n),n):"beforeend"===t?(this.append(n),n):n}},wt=t=>{Rt("textContent",t),Object.defineProperty(t,"textContent",{get:function(){let t="";return(this.__childNodes?this.childNodes:nt(this.childNodes)).forEach((e=>t+=e.textContent||"")),t},set:function(t){jt(this),this.insertAdjacentHTML("beforeend",t)}})},St=t=>{if(!globalThis.HTMLElement)return;const e=(e,n,o)=>{var s;const r=null==(s=Object.getOwnPropertyDescriptor(e,n))?void 0:s.get;r&&Object.defineProperty(t,n,{get:r,set:function(t){jt(this),Array.from(Mt(this,"childNodes")).forEach((t=>{t["s-cn"]||t["s-nr"]||t["s-hn"]===this.tagName||t.remove()})),o(this,null!=t?t:"")}})};e(Element.prototype,"innerHTML",((t,e)=>t.insertAdjacentHTML("beforeend",e))),e(HTMLElement.prototype,"innerText",((t,e)=>t.append(e)))},jt=t=>{(t.__childNodes?t.childNodes:nt(t.childNodes)).forEach((t=>{t["s-ol"]&&t["s-ol"].remove(),t.remove()}))},Ot=t=>{class e extends Array{item(t){return this[t]}}Rt("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),Rt("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]||null}}),Rt("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]||null}}),Rt("childNodes",t),Object.defineProperty(t,"childNodes",{get(){const t=new e;return t.push(...nt(this.__childNodes)),t}})},xt=t=>{t&&void 0===t.__nextSibling&&globalThis.Node&&(Ct(t),_t(t),kt(t),t.nodeType===Node.ELEMENT_NODE&&(Et(t),Tt(t)))},Ct=t=>{t&&!t.__nextSibling&&(Rt("nextSibling",t),Object.defineProperty(t,"nextSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.childNodes,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n+1]||null:this.__nextSibling}}))},Et=t=>{t&&!t.__nextElementSibling&&(Rt("nextElementSibling",t),Object.defineProperty(t,"nextElementSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.children,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n+1]||null:this.__nextElementSibling}}))},_t=t=>{t&&!t.__previousSibling&&(Rt("previousSibling",t),Object.defineProperty(t,"previousSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.childNodes,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n-1]||null:this.__previousSibling}}))},Tt=t=>{t&&!t.__previousElementSibling&&(Rt("previousElementSibling",t),Object.defineProperty(t,"previousElementSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.children,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n-1]||null:this.__previousElementSibling}}))},kt=t=>{t&&!t.__parentNode&&(Rt("parentNode",t),Object.defineProperty(t,"parentNode",{get:function(){var t;return(null==(t=this["s-ol"])?void 0:t.parentNode)||this.__parentNode},set:function(t){this.__parentNode=t}}))},Nt=["children","nextElementSibling","previousElementSibling"],Lt=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function Rt(t,e){if(!globalThis.Node||!globalThis.Element)return;let n;Nt.includes(t)?n=Object.getOwnPropertyDescriptor(Element.prototype,t):Lt.includes(t)&&(n=Object.getOwnPropertyDescriptor(Node.prototype,t)),n||(n=Object.getOwnPropertyDescriptor(e,t)),n&&Object.defineProperty(e,"__"+t,n)}function Mt(t,e){if("__"+e in t){const n=t["__"+e];return"function"!=typeof n?n:n.bind(t)}return"function"!=typeof t[e]?t[e]:t[e].bind(t)}var At=0,Dt=(t,n="")=>{if(e.profile&&performance.mark){const e=`st:${t}:${n}:${At++}`;return performance.mark(e),()=>performance.measure(`[Stencil] ${t}() <${n}>`,e)}return()=>{}};function It(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}var Ht=new WeakMap,Pt=(t,e,n)=>{let o=O.get(t);P&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,O.set(t,o)},Ft=(t,n,o)=>{var s,r,l;const i=Bt(n,o),c=O.get(i);if(!e.attachStyles||!M.document)return i;if(t=11===t.nodeType?t:M.document,c)if("string"==typeof c){let o,l=Ht.get(t=t.head||t);l||Ht.set(t,l=new Set);const a=(e.hydrateClientSide||e.hotModuleReplacement)&&t.querySelector(`[${E}="${i}"]`);if(a)e.hotModuleReplacement&&(a.textContent=c),l.add(i);else if(!l.has(i)){o=M.document.createElement("style"),o.textContent=c;const a=null!=(s=D.N)?s:It(M.document);if(null!=a&&o.setAttribute("nonce",a),(e.hydrateServerSide||e.hotModuleReplacement)&&o.setAttribute(E,i),!(1&n.u))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(o,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(P){const e=new(null!=(r=t.defaultView)?r:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(c),F?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const n=t.querySelector("style");n&&!e.hotModuleReplacement?n.textContent=c+n.textContent:t.prepend(o)}else t.append(o);1&n.u&&t.insertBefore(o,null),4&n.u&&(o.textContent+=N),l&&l.add(i)}}else if(e.constructableCSS){let n=Ht.get(t);if(n||Ht.set(t,n=new Set),!n.has(i)){const o=null!=(l=t.defaultView)?l:t.ownerDocument.defaultView;let s;if(c.constructor===o.CSSStyleSheet)s=c;else{s=new o.CSSStyleSheet;for(let t=0;t<c.cssRules.length;t++)s.insertRule(c.cssRules[t].cssText,t)}if(F?t.adoptedStyleSheets.push(s):t.adoptedStyleSheets=[...t.adoptedStyleSheets,s],n.add(i),e.hydrateClientSide&&"host"in t){const e=t.querySelector(`[${E}="${i}"]`);e&&Z((()=>e.remove()))}}}return i},Ut=t=>{const n=t.o,o=t.$hostElement$,s=n.u,r=Dt("attachStyles",n.C),l=Ft(e.shadowDom&&I&&o.shadowRoot?o.shadowRoot:o.getRootNode(),n,t.T);(e.shadowDom||e.scoped)&&e.cssAnnotations&&10&s&&(o["s-sc"]=l,o.classList.add(l+"-h")),r()},Bt=(t,n)=>"sc-"+(e.mode&&n&&32&t.u?t.C+"-"+n:t.C),zt=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Vt=t=>{if(!M.document)return;const n=M.document.querySelectorAll(`[${E}]`);let o=0;for(;o<n.length;o++){const s=n[o].getAttribute(E);t.some((t=>{const n="sc-"+t.C;return 1&t.u&&(s===n||e.mode&&32&t.u&&s.startsWith(n+"-"))}))&&Pt(s,zt(n[o].innerHTML),!0)}},Wt=t=>"object"==(t=typeof t)||"function"===t,Yt=(t,n,...o)=>{"string"==typeof t&&(t=ro(t));let s=null,r=null,l=null,i=!1,c=!1;const a=[],u=n=>{for(let o=0;o<n.length;o++)if(s=n[o],Array.isArray(s))u(s);else if(null!=s&&"boolean"!=typeof s){if(i="function"!=typeof t&&!Wt(s))s+="";else if("function"!=typeof t&&void 0===s.u){e.isDev?$("vNode passed as children has unexpected type.\nMake sure it's using the correct h() function.\nEmpty objects can also be the cause, look for JSX comments that became objects."):v("Invalid vNode child");continue}i&&c?a[a.length-1].L+=s:a.push(i?Jt(null,s):s),c=i}};if(u(o),n&&(e.isDev&&"input"===t&&Zt(n),e.vdomKey&&n.key&&(r=n.key),e.slotRelocation&&n.name&&(l=n.name),e.vdomClass)){const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}if(e.isDev&&a.some(qt)&&$("The <Host> must be the single root component. Make sure:\n- You are NOT using hostData() and <Host> in the same component.\n- <Host> is used once, and it's the single root component of the render() function."),e.vdomFunctional&&"function"==typeof t)return t(null===n?{}:n,a,Kt);const f=Jt(t,null);return f.R=n,a.length>0&&(f.M=a),e.vdomKey&&(f.A=r),e.slotRelocation&&(f.D=l),f},Jt=(t,n)=>{const o={u:0,I:t,L:null!=n?n:null,P:null,M:null};return e.vdomAttribute&&(o.R=null),e.vdomKey&&(o.A=null),e.slotRelocation&&(o.D=null),o},Xt={},qt=t=>t&&t.I===Xt,Kt={forEach:(t,e)=>t.map(Qt).forEach(e),map:(t,e)=>t.map(Qt).map(e).map(Gt)},Qt=t=>({vattrs:t.R,vchildren:t.M,vkey:t.A,vname:t.D,vtag:t.I,vtext:t.L}),Gt=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),Yt(t.vtag,e,...t.vchildren||[])}const e=Jt(t.vtag,t.vtext);return e.R=t.vattrs,e.M=t.vchildren,e.A=t.vkey,e.D=t.vname,e},Zt=t=>{const e=Object.keys(t),n=e.indexOf("value");if(-1===n)return;const o=e.indexOf("type"),s=e.indexOf("min"),r=e.indexOf("max"),l=e.indexOf("step");(n<o||n<s||n<r||n<l)&&b('The "value" prop of <input> should be set after "min", "max", "type" and "step"')},te=(t,n,o,s,r,l,i,c=[])=>{let a,u,f,d;const h=r["s-sc"];if(1===l.nodeType){if(a=l.getAttribute(_),a&&l!==r&&(u=a.split("."),u[0]===i||"0"===u[0])){f=ne({u:0,F:u[0],U:u[1],B:u[2],V:u[3],I:l.tagName.toLowerCase(),P:l,R:{class:l.className||""}}),n.push(f),l.removeAttribute(_),t.M||(t.M=[]),e.scoped&&h&&u[0]===i&&(l["s-si"]=h,f.R.class+=" "+h);const r=f.P.getAttribute("s-sn");"string"==typeof r&&("slot-fb"===f.I&&(oe(r,u[2],f,l,t,n,o,s,c),e.scoped&&h&&l.classList.add(h)),f.P["s-sn"]=r,f.P.removeAttribute("s-sn")),void 0!==f.V&&(t.M[f.V]=f),t=f,s&&"0"===f.B&&(s[f.V]=f.P)}if(l.shadowRoot)for(d=l.shadowRoot.childNodes.length-1;d>=0;d--)te(t,n,o,s,r,l.shadowRoot.childNodes[d],i,c);const p=l.__childNodes||l.childNodes;for(d=p.length-1;d>=0;d--)te(t,n,o,s,r,p[d],i,c)}else if(8===l.nodeType)u=l.nodeValue.split("."),(u[1]===i||"0"===u[1])&&(a=u[0],f=ne({F:u[1],U:u[2],B:u[3],V:u[4]||"0",P:l,R:null,M:null,A:null,D:null,I:null,L:null}),"t"===a?(f.P=re(l,3),f.P&&3===f.P.nodeType&&(f.L=f.P.textContent,n.push(f),l.remove(),i===f.F&&(t.M||(t.M=[]),t.M[f.V]=f),s&&"0"===f.B&&(s[f.V]=f.P))):"c"===a?(f.P=re(l,8),f.P&&8===f.P.nodeType&&(n.push(f),l.remove())):f.F===i&&("s"===a?oe(l["s-sn"]=u[5]||"",u[2],f,l,t,n,o,s,c):"r"===a&&(e.shadowDom&&s?l.remove():e.slotRelocation&&(r["s-cr"]=l,l["s-cn"]=!0))));else if(t&&"style"===t.I){const e=Jt(null,l.textContent);e.P=l,e.V="0",t.M=[e]}return t},ee=(t,e)=>{if(1===t.nodeType){const n=t[C]||t.getAttribute(C);n&&e.set(n,t);let o=0;if(t.shadowRoot)for(;o<t.shadowRoot.childNodes.length;o++)ee(t.shadowRoot.childNodes[o],e);const s=t.__childNodes||t.childNodes;for(o=0;o<s.length;o++)ee(s[o],e)}else if(8===t.nodeType){const n=t.nodeValue.split(".");"o"===n[0]&&(e.set(n[1]+"."+n[2],t),t.nodeValue="",t["s-en"]=n[3])}},ne=t=>({u:0,F:null,U:null,B:null,V:"0",P:null,R:null,M:null,A:null,D:null,I:null,L:null,...t});function oe(t,n,o,s,r,l,i,c,a){s["s-sr"]=!0,o.D=t||null,o.I="slot";const u=(null==r?void 0:r.P)?r.P["s-id"]||r.P.getAttribute("s-id"):"";if(e.shadowDom&&c&&M.document){const e=o.P=M.document.createElement(o.I);o.D&&o.P.setAttribute("name",t),r.P.shadowRoot&&u&&u!==o.F?Mt(r.P,"insertBefore")(e,Mt(r.P,"children")[0]):Mt(Mt(s,"parentNode"),"insertBefore")(e,s),se(a,n,t,s,o.F),s.remove(),"0"===o.B&&(c[o.V]=o.P)}else{const e=o.P,l=u&&u!==o.F&&r.P.shadowRoot;se(a,n,t,s,l?u:o.F),ct(s),l&&r.P.insertBefore(e,r.P.children[0])}l.push(o),i.push(o),r.M||(r.M=[]),r.M[o.V]=o}var se=(t,e,n,o,s)=>{var r,l;let i=o.nextSibling;if(t[e]=t[e]||[],i&&!(null==(r=i.nodeValue)?void 0:r.startsWith("s.")))do{!i||(i.getAttribute&&i.getAttribute("slot")||i["s-sn"])!==n&&(""!==n||i["s-sn"]||i.getAttribute&&i.getAttribute("slot")||8!==i.nodeType&&3!==i.nodeType)||(i["s-sn"]=n,t[e].push({slot:o,node:i,hostId:s})),i=null==i?void 0:i.nextSibling}while(i&&!(null==(l=i.nodeValue)?void 0:l.startsWith("s.")))},re=(t,e)=>{let n=t;do{n=n.nextSibling}while(n&&(n.nodeType!==e||!n.nodeValue));return n},le=t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),ie="-shadowcsshost",ce="-shadowcssslotted",ae="-shadowcsscontext",ue=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",fe=RegExp("("+ie+ue,"gim"),de=RegExp("("+ae+ue,"gim"),he=RegExp("("+ce+ue,"gim"),pe=ie+"-no-combinator",me=/-shadowcsshost-no-combinator([^\s]*)/,ve=[/::shadow/g,/::content/g],ge=/__part-(\d+)__/g,$e=/-shadowcsshost/gim,be=t=>{const e=le(t);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${e}))(${e}\\b)`,"g")},ye=/\/\*\s*[\s\S]*?\*\//g,we=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,Se=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,je=/([{}])/g,Oe=/(^.*?[^\\])??((:+)(.*)|$)/,xe="%BLOCK%",Ce=(t,e)=>{const n=Ee(t);let o=0;return n.escapedString.replace(Se,((...t)=>{const s=t[2];let r="",l=t[4],i="";l&&l.startsWith("{"+xe)&&(r=n.blocks[o++],l=l.substring(8),i="{");const c=e({selector:s,content:r});return`${t[1]}${c.selector}${t[3]}${i}${c.content}${l}`}))},Ee=t=>{const e=t.split(je),n=[],o=[];let s=0,r=[];for(let t=0;t<e.length;t++){const l=e[t];"}"===l&&s--,s>0?r.push(l):(r.length>0&&(o.push(r.join("")),n.push(xe),r=[]),n.push(l)),"{"===l&&s++}return r.length>0&&(o.push(r.join("")),n.push(xe)),{escapedString:n.join(""),blocks:o}},_e=(t,e,n)=>t.replace(e,((...t)=>{if(t[2]){const e=t[2].split(","),o=[];for(let s=0;s<e.length;s++){const r=e[s].trim();if(!r)break;o.push(n(pe,r,t[3]))}return o.join(",")}return pe+t[3]})),Te=(t,e,n)=>t+e.replace(ie,"")+n,ke=(t,e,n)=>e.indexOf(ie)>-1?Te(t,e,n):t+e+n+", "+e+" "+t+n,Ne=(t,e)=>t.replace(Oe,((t,n="",o,s="",r="")=>n+e+s+r)),Le=t=>t.startsWith("@media")||t.startsWith("@supports")||t.startsWith("@page")||t.startsWith("@document")||t.startsWith("@layer")||t.startsWith("@container"),Re=(t,e,n,o)=>Ce(t,(t=>{let s=t.selector,r=t.content;return"@"!==t.selector[0]?s=((t,e,n,o)=>t.split(",").map((t=>o&&t.indexOf("."+o)>-1?t.trim():((t,e)=>!(t=>(t=t.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),RegExp("^("+t+")([>\\s~+[.,{:][\\s\\S]*)?$","m")))(e).test(t))(t,e)?((t,e,n)=>{const o="."+(e=e.replace(/\[is=([^\]]*)\]/g,((t,...e)=>e[0]))),s=t=>{let s=t.trim();if(!s)return"";if(t.indexOf(pe)>-1)s=((t,e,n)=>{if($e.lastIndex=0,$e.test(t)){const e="."+n;return t.replace(me,((t,n)=>Ne(n,e))).replace($e,e+" ")}return e+" "+t})(t,e,n);else{const e=t.replace($e,"");e.length>0&&(s=Ne(e,o))}return s},r=(t=>{const e=[];let n=0;return{content:(t=(t=t.replace(/(\[\s*part~=\s*("[^"]*"|'[^']*')\s*\])/g,((t,o)=>{const s=`__part-${n}__`;return e.push(o),n++,s}))).replace(/(\[[^\]]*\])/g,((t,o)=>{const s=`__ph-${n}__`;return e.push(o),n++,s}))).replace(/(:nth-[-\w]+)(\([^)]+\))/g,((t,o,s)=>{const r=`__ph-${n}__`;return e.push(s),n++,o+r})),placeholders:e}})(t);let l,i="",c=0;const a=/( |>|\+|~(?!=))(?=(?:[^()]*\([^()]*\))*[^()]*$)\s*/g;let u=!((t=r.content).indexOf(pe)>-1);for(;null!==(l=a.exec(t));){const e=l[1],n=t.slice(c,l.index).trim();u=u||n.indexOf(pe)>-1,i+=`${u?s(n):n} ${e} `,c=a.lastIndex}const f=t.substring(c);return u=!f.match(ge)&&(u||f.indexOf(pe)>-1),i+=u?s(f):f,((t,e)=>(e=e.replace(/__part-(\d+)__/g,((e,n)=>t[+n]))).replace(/__ph-(\d+)__/g,((e,n)=>t[+n])))(r.placeholders,i)})(t,e,n).trim():t.trim())).join(", "))(t.selector,e,n,o):Le(t.selector)&&(r=Re(t.content,e,n,o)),{selector:s.replace(/\s{2,}/g," ").trim(),content:r}})),Me=(t,e)=>t.replace(/-shadowcsshost-no-combinator/g,"."+e),Ae=(t,e)=>{const n=e+"-h",o=e+"-s",s=(t=>t.match(we)||[])(t);t=(t=>t.replace(ye,""))(t);const r=[];{const e=t=>{const e=`/*!@___${r.length}___*/`;return r.push({placeholder:e,comment:`/*!@${t.selector}*/`}),t.selector=e+t.selector,t},n=t=>Ce(t,(t=>"@"!==t.selector[0]?e(t):(Le(t.selector)&&(t.content=n(t.content)),t)));t=n(t)}const l=((t,e,n,o)=>{const s=((t,e)=>{const n="."+e+" > ",o=[];return t=t.replace(he,((...t)=>{if(t[2]){const e=t[2].trim(),s=n+e+t[3];let r="";for(let e=t[4]-1;e>=0;e--){const n=t[5][e];if("}"===n||","===n)break;r=n+r}const l=(r+s).trim(),i=`${r.trimEnd()}${s.trim()}`.trim();return l!==i&&o.push({orgSelector:l,updatedSelector:`${i}, ${l}`}),s}return pe+t[3]})),{selectors:o,cssText:t}})(t=(t=>_e(t,de,ke))(t=(t=>_e(t,fe,Te))(t=(t=>{const e=[];t=t.replace(/@supports\s+selector\s*\(\s*([^)]*)\s*\)/g,((t,n)=>{const o=`__supports_${e.length}__`;return e.push(n),`@supports selector(${o})`}));const n=be("::slotted"),o=be(":host"),s=be(":host-context");return t=t.replace(s,"$1"+ae).replace(o,"$1"+ie).replace(n,"$1"+ce),e.forEach(((e,n)=>{t=t.replace(`__supports_${n}__`,e)})),t})(t))),o);return t=(t=>ve.reduce(((t,e)=>t.replace(e," ")),t))(t=s.cssText),e&&(t=Re(t,e,n,o)),{cssText:(t=(t=Me(t,n)).replace(/>\s*\*\s+([^{, ]+)/gm," $1 ")).trim(),slottedSelectors:s.selectors.map((t=>({orgSelector:Me(t.orgSelector,n),updatedSelector:Me(t.updatedSelector,n)})))}})(t,e,n,o);return t=[l.cssText,...s].join("\n"),r.forEach((({placeholder:e,comment:n})=>{t=t.replace(e,n)})),l.slottedSelectors.forEach((e=>{const n=RegExp(le(e.orgSelector)+"(?=\\s*[,{]|$)","g");t=t.replace(n,e.updatedSelector)})),t=(t=>{const e=/([^\s,{][^,{]*?)::part\(\s*([^)]+?)\s*\)((?:[:.][^,{]*)*)/g;return Ce(t,(t=>{if("@"===t.selector[0])return t;const n=t.selector.split(",").map((n=>{const o=[n.trim()];let s;for(;null!==(s=e.exec(n));){const e=s[1].trimEnd(),r=s[2].trim().split(/\s+/),l=s[3]||"",i=r.flatMap((e=>t.selector.includes(`[part~="${e}"]`)?[]:[`[part~="${e}"]`])).join(""),c=`${e} ${i}${l}`;i&&c!==n.trim()&&o.push(c)}return o.join(", ")}));return t.selector=n.join(", "),t}))})(t)},De=t=>x.map((e=>e(t))).find((t=>!!t)),Ie=t=>{if(!t)return;const e=Object.keys(t);if(0===e.length)return;let n=!1;for(const o of e){if(n)break;for(const e of t[o])if("string"==typeof e){n=!0;break}}if(!n)return t;const o={};for(const n of e)o[n]=t[n].map((t=>"string"==typeof t?{[t]:0}:t));return o},He=class t{static fromLocalValue(e){const n=e[r],o=l in e?e[l]:void 0;switch(n){case"string":case"boolean":return o;case"bigint":return BigInt(o);case"undefined":return;case"null":return null;case"number":return"NaN"===o?NaN:"-0"===o?-0:"Infinity"===o?1/0:"-Infinity"===o?-1/0:o;case"array":return o.map((e=>t.fromLocalValue(e)));case"date":return new Date(o);case"map":const e=new Map;for(const[n,s]of o){const o="object"==typeof n&&null!==n?t.fromLocalValue(n):n,r=t.fromLocalValue(s);e.set(o,r)}return e;case"object":const s={};for(const[e,n]of o)s[e]=t.fromLocalValue(n);return s;case"regexp":const{pattern:r,flags:l}=o;return RegExp(r,l);case"set":const i=new Set;for(const e of o)i.add(t.fromLocalValue(e));return i;case"symbol":return Symbol(o);default:throw Error("Unsupported type: "+n)}}static fromLocalValueArray(e){return e.map((e=>t.fromLocalValue(e)))}static isLocalValueObject(t){if("object"!=typeof t||null===t)return!1;if(!t.hasOwnProperty(r))return!1;const e=t[r];return!!Object.values({...o,...s}).includes(e)&&("null"===e||"undefined"===e||t.hasOwnProperty(l))}};var Pe,Fe,Ue,Be=(t,n,o)=>(e.hydrateClientSide||e.hydrateServerSide)&&"string"==typeof t&&t.startsWith(i)?t=function(t){return"string"==typeof t&&t.startsWith(i)?He.fromLocalValue(JSON.parse(function(t){const e=atob(t),n=new Uint8Array(e.length);for(let t=0;t<e.length;t++)n[t]=e.charCodeAt(t);return(new TextDecoder).decode(n)}(t.slice(11)))):t}(t):null==t||Wt(t)?t:e.propBoolean&&4&n?(e.formAssociated&&o&&"string"==typeof t||"false"!==t)&&(""===t||!!t):e.propNumber&&2&n?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:e.propString&&1&n?t+"":t,ze=t=>{var n;return e.lazyLoad?null==(n=d(t))?void 0:n.$hostElement$:t},Ve=(t,e,n)=>{const o=D.ce(e,n);return t.dispatchEvent(o),o},We=(t,n,o,s,r,l,i)=>{if(o===s)return;let c=m(t,n),a=n.toLowerCase();if(e.vdomClass&&"class"===n){const n=t.classList,r=Ke(o);let c=Ke(s);if(e.hydrateClientSide&&(t["s-si"]||t["s-sc"])&&i){const e=t["s-sc"]||t["s-si"];c.push(e),r.forEach((t=>{t.startsWith(e)&&c.push(t)})),c=[...new Set(c)].filter((t=>t)),n.add(...c)}else{let o=r.filter((t=>t&&!c.includes(t)));if(e.hydrateClientSide&&i&&!(4&l)){const e=qe(t);o=o.filter((t=>!e.includes(t)))}n.remove(...o),n.add(...c.filter((t=>t&&!r.includes(t))))}}else if(e.vdomStyle&&"style"===n){if(e.updatable)for(const n in o)s&&null!=s[n]||(!e.hydrateServerSide&&n.includes("-")?t.style.removeProperty(n):t.style[n]="");for(const n in s)o&&s[n]===o[n]||(!e.hydrateServerSide&&n.includes("-")?t.style.setProperty(n,s[n]):t.style[n]=s[n])}else if(e.vdomKey&&"key"===n);else if(e.vdomRef&&"ref"===n)s&&bn(s,t);else if(!e.vdomListener||(e.lazyLoad?c:t.__lookupSetter__(n))||"o"!==n[0]||"n"!==n[1]){if(e.vdomPropOrAttr&&"a"===n[0]&&n.startsWith("attr:")){const o=n.slice(5);let r;if(e.member){const e=d(t);if(e&&e.o&&e.o.t){const t=e.o.t[o];t&&t[1]&&(r=t[1])}}return r||(r=o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==s||!1===s?!1===s&&""!==t.getAttribute(r)||t.removeAttribute(r):t.setAttribute(r,!0===s?"":s))}if(e.vdomPropOrAttr&&"p"===n[0]&&n.startsWith("prop:")){const e=n.slice(5);try{t[e]=s}catch(t){}return}if(e.vdomPropOrAttr){const i=Wt(s);if((c||i&&null!==s)&&!r)try{if(t.tagName.includes("-"))t[n]!==s&&(t[n]=s);else{const e=null==s?"":s;"list"===n?c=!1:null!=o&&t[n]===e||("function"==typeof t.__lookupSetter__(n)?t[n]=e:t.setAttribute(n,e))}}catch(t){}let u=!1;e.vdomXlink&&a!==(a=a.replace(/^xlink\:?/,""))&&(n=a,u=!0),null==s||!1===s?(!1!==s||""===t.getAttribute(n)||4&l&&!Je(n))&&(e.vdomXlink&&u?t.removeAttributeNS(L,n):t.removeAttribute(n)):(!c||4&l||r)&&!i&&1===t.nodeType&&(s=!0===s?"":s,e.vdomXlink&&u?t.setAttributeNS(L,n,s):t.setAttribute(n,s))}}else if(n="-"===n[2]?n.slice(3):m(M,a)?a.slice(2):a[2]+n.slice(3),o||s){const e=n.endsWith(Qe);n=n.replace(Ge,""),o&&D.rel(t,n,o,e),s&&D.ael(t,n,s,e)}},Ye=new Set(["draggable","contenteditable","spellcheck"]),Je=t=>Ye.has(t)||t.startsWith("aria-"),Xe=/\s/,qe=t=>{var n,o,s;const r=d(t);if(!(r&&2&r.u))return[];const l=Ke(null==(o=null==(n=r.W)?void 0:n.R)?void 0:o.class);return e.hydratedClass&&l.push(null!=(s=e.hydratedSelectorName)?s:"hydrated"),l},Ke=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(Xe):[]),Qe="Capture",Ge=RegExp(Qe+"$"),Ze=(t,n,o,s)=>{const r=11===n.P.nodeType&&n.P.host?n.P.host:n.P,l=t&&t.R||{},i=n.R||{};if(e.updatable)for(const t of tn(Object.keys(l)))t in i||We(r,t,l[t],void 0,o,n.u,s);for(const t of tn(Object.keys(i)))We(r,t,l[t],i[t],o,n.u,s)};function tn(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var en=!1,nn=!1,on=!1,sn=!1,rn=[],ln=[],cn=(t,n,o)=>{var s;const r=n.M[o];let l,i,c,a=0;if(e.slotRelocation&&!en&&(on=!0,"slot"===r.I&&(r.u|=r.M?2:1)),e.isDev&&r.P&&$(`The JSX ${null!==r.L?`"${r.L}" text`:`"${r.I}" element`} node should not be shared within the same renderer. The renderer caches element lookups in order to improve performance. However, a side effect from this is that the exact same JSX node should not be reused. For more information please see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes`),e.vdomText&&null!=r.L)l=r.P=M.document.createTextNode(r.L);else if(e.slotRelocation&&1&r.u)l=r.P=e.isDebug||e.hydrateServerSide?jn(r):M.document.createTextNode(""),e.vdomAttribute&&Ze(null,r,sn);else{if(e.svg&&!sn&&(sn="svg"===r.I),!M.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(l=r.P=e.svg?M.document.createElementNS(sn?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!en&&e.slotRelocation&&2&r.u?"slot-fb":r.I):M.document.createElement(!en&&e.slotRelocation&&2&r.u?"slot-fb":r.I),e.svg&&sn&&"foreignObject"===r.I&&(sn=!1),e.vdomAttribute&&Ze(null,r,sn),(e.scoped||e.hydrateServerSide)&&null!=Pe&&void 0!==Pe&&l["s-si"]!==Pe&&l.classList.add(l["s-si"]=Pe),r.M){const e="template"===r.I?l.content:l;for(a=0;a<r.M.length;++a)i=cn(t,r,a),i&&e.appendChild(i)}e.svg&&("svg"===r.I?sn=!1:"foreignObject"===l.tagName&&(sn=!0))}return l["s-hn"]=Ue,e.slotRelocation&&3&r.u&&(l["s-sr"]=!0,l["s-cr"]=Fe,l["s-sn"]=r.D||"",l["s-rf"]=null==(s=r.R)?void 0:s.ref,ct(l),c=t&&t.M&&t.M[o],c&&c.I===r.I&&t.P&&an(t.P),(e.scoped||e.hydrateServerSide)&&wn(Fe,l,n.P,null==t?void 0:t.P)),l},an=t=>{D.u|=1;const e=t.closest(Ue.toLowerCase());if(null!=e){const n=Array.from(e.__childNodes||e.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of n?o.reverse():o)null!=t["s-sh"]&&(yn(e,t,null!=n?n:null),t["s-sh"]=void 0,on=!0)}D.u&=-2},un=(t,e)=>{D.u|=1;const n=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let e=t;for(;e=e.nextSibling;)e&&e["s-sn"]===t["s-sn"]&&e["s-sh"]===Ue&&n.push(e)}for(let t=n.length-1;t>=0;t--){const o=n[t];o["s-hn"]!==Ue&&o["s-ol"]&&(yn(pn(o).parentNode,o,pn(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,on=!0),e&&un(o,e)}D.u&=-2},fn=(t,n,o,s,r,l)=>{let i,c=e.slotRelocation&&t["s-cr"]&&t["s-cr"].parentNode||t;for(e.shadowDom&&c.shadowRoot&&c.tagName===Ue&&(c=c.shadowRoot),"template"===o.I&&(c=c.content);r<=l;++r)s[r]&&(i=cn(null,o,r),i&&(s[r].P=i,yn(c,i,e.slotRelocation?pn(n):n)))},dn=(t,n,o)=>{for(let s=n;s<=o;++s){const n=t[s];if(n){const t=n.P;$n(n),t&&(e.slotRelocation&&(nn=!0,t["s-ol"]?t["s-ol"].remove():un(t,!0)),t.remove())}}},hn=(t,n,o=!1)=>t.I===n.I&&(e.slotRelocation&&"slot"===t.I?t.D===n.D:e.vdomKey&&!o?t.A===n.A:(o&&!t.A&&n.A&&(t.A=n.A),!0)),pn=t=>t&&t["s-ol"]||t,mn=(t,n,o=!1)=>{const s=n.P=t.P,r=t.M,l=n.M,i=n.I,c=n.L;let a;e.vdomText&&null!=c?e.vdomText&&e.slotRelocation&&(a=s["s-cr"])?a.parentNode.textContent=c:e.vdomText&&t.L!==c&&(s.data=c):(e.svg&&(sn="svg"===i||"foreignObject"!==i&&sn),(e.vdomAttribute||e.reflect)&&(e.slot&&"slot"===i&&!en&&t.D!==n.D&&(n.P["s-sn"]=n.D||"",an(n.P.parentElement)),Ze(t,n,sn,o)),e.updatable&&null!==r&&null!==l?((t,n,o,s,r=!1)=>{let l,i,c=0,a=0,u=0,f=0,d=n.length-1,h=n[0],p=n[d],m=s.length-1,v=s[0],g=s[m];const $="template"===o.I?t.content:t;for(;c<=d&&a<=m;)if(null==h)h=n[++c];else if(null==p)p=n[--d];else if(null==v)v=s[++a];else if(null==g)g=s[--m];else if(hn(h,v,r))mn(h,v,r),h=n[++c],v=s[++a];else if(hn(p,g,r))mn(p,g,r),p=n[--d],g=s[--m];else if(hn(h,g,r))!e.slotRelocation||"slot"!==h.I&&"slot"!==g.I||un(h.P.parentNode,!1),mn(h,g,r),yn($,h.P,p.P.nextSibling),h=n[++c],g=s[--m];else if(hn(p,v,r))!e.slotRelocation||"slot"!==h.I&&"slot"!==g.I||un(p.P.parentNode,!1),mn(p,v,r),yn($,p.P,h.P),p=n[--d],v=s[++a];else{if(u=-1,e.vdomKey)for(f=c;f<=d;++f)if(n[f]&&null!==n[f].A&&n[f].A===v.A){u=f;break}e.vdomKey&&u>=0?(i=n[u],i.I!==v.I?l=cn(n&&n[a],o,a):(mn(i,v,r),n[u]=void 0,l=i.P),v=s[++a]):(l=cn(n&&n[a],o,a),v=s[++a]),l&&(e.slotRelocation?yn(pn(h.P).parentNode,l,pn(h.P)):yn(h.P.parentNode,l,h.P))}c>d?fn(t,null==s[m+1]?null:s[m+1].P,o,s,a,m):e.updatable&&a>m&&dn(n,c,d)})(s,r,n,l,o):null!==l?(e.updatable&&e.vdomText&&null!==t.L&&(s.textContent=""),fn(s,null,n,l,0,l.length-1)):!o&&e.updatable&&null!==r?dn(r,0,r.length-1):e.hydrateClientSide&&o&&e.updatable&&null!==r&&null===l&&(n.M=r),e.svg&&sn&&"svg"===i&&(sn=!1))},vn=[],gn=t=>{let e,n,o;const s=t.__childNodes||t.childNodes;for(const t of s){if(t["s-sr"]&&(e=t["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;const s=t["s-sn"];for(o=n.length-1;o>=0;o--)if(e=n[o],!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==t["s-hn"]&&(!e["s-sh"]||e["s-sh"]!==t["s-hn"]||""!==s&&it(e)===s))if(rt(e,s)){let n=vn.find((t=>t.Y===e));nn=!0,e["s-sn"]=e["s-sn"]||s,n?(n.Y["s-sh"]=t["s-hn"],n.J=t):(e["s-sh"]=t["s-hn"],vn.push({J:t,Y:e})),e["s-sr"]&&vn.map((t=>{rt(t.Y,e["s-sn"])&&(n=vn.find((t=>t.Y===e)),n&&!t.J&&(t.J=n.J))}))}else vn.some((t=>t.Y===e))||vn.push({Y:e})}1===t.nodeType&&gn(t)}},$n=t=>{e.vdomRef&&(t.R&&t.R.ref&&rn.push((()=>t.R.ref(null))),t.M&&t.M.map($n))},bn=(t,n)=>{e.vdomRef&&ln.push((()=>t(n)))},yn=(t,n,o,s)=>{if(e.slotRelocation)if(e.scoped&&"string"==typeof n["s-sn"]&&n["s-sr"]&&n["s-cr"])wn(n["s-cr"],n,t,n.parentElement);else if("string"==typeof n["s-sn"]){e.experimentalSlotFixes&&11!==t.getRootNode().nodeType&&kt(n),t.insertBefore(n,o);const{slotNode:r}=ut(n);return r&&!s&&at(r),n}return e.slotRelocation&&(null==t?void 0:t.__insertBefore)?t.__insertBefore(n,o):null==t?void 0:t.insertBefore(n,o)};function wn(t,e,n,o){var s,r;let l;if(t&&"string"==typeof e["s-sn"]&&e["s-sr"]&&t.parentNode&&t.parentNode["s-sc"]&&(l=e["s-si"]||t.parentNode["s-sc"])){const t=e["s-sn"],i=e["s-hn"];if(null==(s=n.classList)||s.add(l+"-s"),o&&(null==(r=o.classList)?void 0:r.contains(l+"-s"))){let e=(o.__childNodes||o.childNodes)[0],n=!1;for(;e;){if(e["s-sn"]!==t&&e["s-hn"]===i&&e["s-sr"]){n=!0;break}e=e.nextSibling}n||o.classList.remove(l+"-s")}}}var Sn=(t,n,o=!1)=>{var s,r,l,i,c;const a=t.$hostElement$,u=t.o,f=t.W||Jt(null,null),d=qt(n)?n:Yt(null,null,n);if(Ue=a.tagName,e.isDev&&Array.isArray(n)&&n.some(qt))throw Error(`The <Host> must be the single root component.\nLooks like the render() function of "${Ue.toLowerCase()}" is returning an array that contains the <Host>.\n\nThe render() function should look like this instead:\n\nrender() {\n // Do not return an array\n return (\n <Host>{content}</Host>\n );\n}\n `);if(e.reflect&&u.X&&(d.R=d.R||{},u.X.forEach((([n,o])=>{d.R[o]=e.serializer&&t.p.has(n)?t.p.get(n):a[n]}))),o&&d.R)for(const t of Object.keys(d.R))a.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(d.R[t]=a[t]);if(d.I=null,d.u|=4,t.W=d,d.P=f.P=e.shadowDom&&a.shadowRoot||a,(e.scoped||e.shadowDom)&&(Pe=a["s-sc"]),en=I&&!!(1&u.u)&&!(128&u.u),e.slotRelocation&&(Fe=a["s-cr"],nn=!1),mn(f,d,o),e.slotRelocation){if(D.u|=1,on){gn(d.P);for(const t of vn){const n=t.Y;if(!n["s-ol"]&&M.document){const t=e.isDebug||e.hydrateServerSide?On(n):M.document.createTextNode("");t["s-nr"]=n,yn(n.parentNode,n["s-ol"]=t,n,o)}}for(const t of vn){const n=t.Y,c=t.J;if(1===n.nodeType&&o&&(n["s-ih"]=null!=(s=n.hidden)&&s),c){const t=c.parentNode;let s=c.nextSibling;if(!e.hydrateServerSide&&s&&1===s.nodeType){let e=null==(r=n["s-ol"])?void 0:r.previousSibling;for(;e;){let o=null!=(l=e["s-nr"])?l:null;if(o&&o["s-sn"]===n["s-sn"]&&t===(o.__parentNode||o.parentNode)){for(o=o.nextSibling;o===n||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){s=o;break}}e=e.previousSibling}}if((!s&&t!==(n.__parentNode||n.parentNode)||(n.__nextSibling||n.nextSibling)!==s)&&n!==s){if(yn(t,n,s,o),8===n.nodeType&&n.nodeValue.startsWith("s-nt-")){const t=M.document.createTextNode(n.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=n["s-hn"],t["s-sn"]=n["s-sn"],t["s-sh"]=n["s-sh"],t["s-sr"]=n["s-sr"],t["s-ol"]=n["s-ol"],t["s-ol"]["s-nr"]=t,yn(n.parentNode,t,n,o),n.parentNode.removeChild(n)}1===n.nodeType&&"SLOT-FB"!==n.tagName&&(n.hidden=null!=(i=n["s-ih"])&&i)}n&&"function"==typeof c["s-rf"]&&c["s-rf"](c)}else 1===n.nodeType&&(n.hidden=!0)}}nn&&et(d.P),D.u&=-2,vn.length=0}if(e.slotRelocation&&!en&&!(1&u.u)&&a["s-cr"]){const t=d.P.__childNodes||d.P.childNodes;for(const e of t)if(e["s-hn"]!==Ue&&!e["s-sh"])if(o&&null==e["s-ih"]&&(e["s-ih"]=null!=(c=e.hidden)&&c),1===e.nodeType)e.hidden=!0;else if(3===e.nodeType&&e.nodeValue.trim()){const t=M.document.createComment("s-nt-"+e.nodeValue);t["s-sn"]=e["s-sn"],yn(e.parentNode,t,e,o),e.parentNode.removeChild(e)}}Fe=void 0,e.vdomRef&&(rn.forEach((t=>t())),rn.length=0,ln.forEach((t=>t())),ln.length=0)},jn=t=>{var e;return null==(e=M.document)?void 0:e.createComment(`<slot${t.D?' name="'+t.D+'"':""}> (host=${Ue.toLowerCase()})`)},On=t=>{var e;return null==(e=M.document)?void 0:e.createComment("org-location for "+(t.localName?`<${t.localName}> (host=${t["s-hn"]})`:`[${t.textContent}]`))},xn=(t,n)=>{if(e.asyncLoading&&n&&!t.q&&n["s-p"]){const e=n["s-p"].push(new Promise((o=>t.q=()=>{n["s-p"].splice(e-1,1),o()})))}},Cn=(t,n)=>{if(e.updatable&&(t.u|=16),e.asyncLoading&&4&t.u)return void(t.u|=512);xn(t,t.K);const o=()=>En(t,n);if(!n)return e.taskQueue?Z(o):o();queueMicrotask((()=>{o()}))},En=(t,n)=>{const o=t.$hostElement$,s=Dt("scheduleUpdate",t.o.C),r=e.lazyLoad?t.i:o;if(!r)throw Error(`Can't render component <${o.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`);let l;return n?(e.lazyLoad&&(e.slotRelocation&&t.G&&(t.G=!1,Dn(r,"connectedCallback",void 0,o)),e.hostListener&&(t.u|=256,t.Z&&(t.Z.map((([t,e])=>Dn(r,t,e,o))),t.Z=void 0)),t.O.length&&t.O.forEach((t=>t(o)))),In(o,"componentWillLoad"),l=Dn(r,"componentWillLoad",void 0,o)):(In(o,"componentWillUpdate"),l=Dn(r,"componentWillUpdate",void 0,o)),In(o,"componentWillRender"),l=_n(l,(()=>Dn(r,"componentWillRender",void 0,o))),s(),_n(l,(()=>kn(t,r,n)))},_n=(t,e)=>Tn(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),Tn=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,kn=async(t,n,o)=>{var s;const r=t.$hostElement$,l=Dt("update",t.o.C),i=r["s-rc"];e.style&&o&&Ut(t);const c=Dt("render",t.o.C);if(e.isDev&&(t.u|=2048),e.hydrateServerSide?await Ln(t,n,r,o):Ln(t,n,r,o),e.isDev&&(t.m=void 0===t.m?1:t.m+1,t.u&=-2049),e.hydrateServerSide)try{Pn(r),o&&(1&t.o.u?r["s-en"]="":2&t.o.u&&(r["s-en"]="c"))}catch(t){v(t,r)}if(e.asyncLoading&&i&&(i.map((t=>t())),r["s-rc"]=void 0),c(),l(),e.asyncLoading){const e=null!=(s=r["s-p"])?s:[],n=()=>Rn(t);0===e.length?n():(Promise.all(e).then(n).catch(n),t.u|=4,e.length=0)}else Rn(t)},Nn=null,Ln=(t,n,o,s)=>{const r=!!e.allRenderFn,l=!!e.lazyLoad,i=!!e.updatable;try{if(Nn=n,n=(r||n.render)&&n.render(),i&&(t.u&=-17),(i||l)&&(t.u|=2),e.hasRenderFn||e.reflect)if(e.vdomRender||e.reflect){if(e.hydrateServerSide)return Promise.resolve(n).then((e=>Sn(t,e,s)));Sn(t,n,s)}else 1&t.o.u?o.shadowRoot.textContent=n:o.textContent=n}catch(e){v(e,t.$hostElement$)}return Nn=null,null},Rn=t=>{const n=t.o.C,o=t.$hostElement$,s=Dt("postUpdate",n),r=e.lazyLoad?t.i:o,l=t.K;e.isDev&&(t.u|=2048),Dn(r,"componentDidRender",void 0,o),e.isDev&&(t.u&=-2049),In(o,"componentDidRender"),64&t.u?(e.isDev&&(t.u|=2048),Dn(r,"componentDidUpdate",void 0,o),e.isDev&&(t.u&=-2049),In(o,"componentDidUpdate"),s()):(t.u|=64,e.asyncLoading&&e.cssAnnotations&&Hn(o),e.isDev&&(t.u|=4096),Dn(r,"componentDidLoad",void 0,o),e.isDev&&(t.u&=-4097),In(o,"componentDidLoad"),s(),e.asyncLoading&&(t.j(o),l||An(n))),e.method&&e.lazyLoad&&t.$(o),e.asyncLoading&&(t.q&&(t.q(),t.q=void 0),512&t.u&&Q((()=>Cn(t,!1))),t.u&=-517)},Mn=t=>{var o;if(e.updatable&&(n.isBrowser||n.isTesting)){const e=d(t),n=null==(o=null==e?void 0:e.$hostElement$)?void 0:o.isConnected;return n&&2==(18&e.u)&&Cn(e,!1),n}return!1},An=n=>{var o;e.asyncQueue&&(D.u|=2),Q((()=>Ve(M,"appload",{detail:{namespace:t}}))),e.hydrateClientSide&&(null==(o=D.tt)?void 0:o.size)&&D.tt.clear(),e.profile&&performance.measure&&performance.measure(`[Stencil] ${t} initial load (by ${n})`,"st:app:start")},Dn=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){v(t,o)}},In=(n,o)=>{e.lifecycleDOMEvents&&Ve(n,"stencil_"+o,{bubbles:!0,composed:!0,detail:{namespace:t}})},Hn=t=>{var n,o;return e.hydratedClass?t.classList.add(null!=(n=e.hydratedSelectorName)?n:"hydrated"):e.hydratedAttribute?t.setAttribute(null!=(o=e.hydratedSelectorName)?o:"hydrated",""):void 0},Pn=t=>{const e=t.children;if(null!=e)for(let t=0,n=e.length;t<n;t++){const n=e[t];"function"==typeof n.connectedCallback&&n.connectedCallback(),Pn(n)}},Fn=(t,e)=>d(t).l.get(e),Un=(t,n,o,s)=>{const r=d(t);if(!r)return;if(e.lazyLoad&&!r)throw Error(`Couldn't find host element for "${s.C}" 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).`);if(e.serializer&&r.p.has(n)&&r.p.get(n)===o)return;const l=e.lazyLoad?r.$hostElement$:t,i=r.l.get(n),c=r.u,a=e.lazyLoad?r.i:l;if(o=Be(o,s.t[n][0],e.formAssociated&&!!(64&s.u)),!(e.lazyLoad&&8&c&&void 0!==i||o===i||Number.isNaN(i)&&Number.isNaN(o))){if(r.l.set(n,o),e.serializer&&e.reflect&&s.X&&s.et&&s.et[n]){const t=t=>{let e=o;for(const o of s.et[n]){const[[s]]=Object.entries(o);e=t[s](e,n)}r.p.set(n,e)};a?t(a):r.O.push((()=>{t(r.i)}))}if(e.isDev&&(2048&r.u?b(`The state/prop "${n}" changed during rendering. This can potentially lead to infinite-loops and other bugs.`,"\nElement",l,"\nNew value",o,"\nOld value",i):4096&r.u&&b(`The state/prop "${n}" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"`,"\nElement",l,"\nNew value",o,"\nOld value",i)),e.propChangeCallback&&s.nt){const t=s.nt[n];t&&t.map((t=>{try{const[[e,s]]=Object.entries(t);(128&c||1&s)&&(a?a[e](o,i,n):r.O.push((()=>{r.i[e](o,i,n)})))}catch(t){v(t,l)}}))}if(e.updatable&&2&c){if(a.componentShouldUpdate&&!1===a.componentShouldUpdate(o,i,n)&&!(16&c))return;16&c||Cn(r,!1)}}},Bn=(t,n,o)=>{var s,r;const l=t.prototype;if(e.isTesting){if(l.__stencilAugmented)return;l.__stencilAugmented=!0}if(e.formAssociated&&64&n.u&&1&o&&R.forEach((t=>{const n=l[t];Object.defineProperty(l,t,{value(...o){var s;const r=d(this),l=e.lazyLoad?null==r?void 0:r.i:this;if(l){const s=e.lazyLoad?l[t]:n;"function"==typeof s&&s.call(l,...o)}else null==(s=null==r?void 0:r.S)||s.then((e=>{const n=e[t];"function"==typeof n&&n.call(e,...o)}))}})})),e.member&&n.t||e.propChangeCallback){e.propChangeCallback&&(t.watchers&&!n.nt&&(n.nt=Ie(t.watchers)),t.deserializers&&!n.ot&&(n.ot=t.deserializers),t.serializers&&!n.et&&(n.et=t.serializers));const i=Object.entries(null!=(s=n.t)?s:{});if(i.map((([t,[s]])=>{if((e.prop||e.state)&&(31&s||(!e.lazyLoad||2&o)&&32&s)){const{get:r,set:i}=c(l,t)||{};r&&(n.t[t][0]|=2048),i&&(n.t[t][0]|=4096),(1&o||!r)&&Object.defineProperty(l,t,{get(){if(e.lazyLoad){if(!(2048&n.t[t][0]))return Fn(this,t);const e=d(this);return e?e.i?e.i[t]:Fn(this,t):l[t]}if(!e.lazyLoad)return r?r.apply(this):Fn(this,t)},configurable:!0,enumerable:!0}),Object.defineProperty(l,t,{set(r){const l=d(this);if(l){if(e.isDev&&(1&o||4096&n.t[t][0]||0!==(l&&8&l.u)||!(31&s)||1024&s||b(`@Prop() "${t}" on <${n.C}> is immutable but was modified from within the component.\nMore information: https://stenciljs.com/docs/properties#prop-mutability`)),i)return void 0===(32&s?this[t]:l.$hostElement$[t])&&l.l.get(t)&&(r=l.l.get(t)),i.call(this,Be(r,s,e.formAssociated&&!!(64&n.u))),void Un(this,t,r=32&s?this[t]:l.$hostElement$[t],n);if(e.lazyLoad){if(e.lazyLoad){if(!(1&o&&4096&n.t[t][0]))return void Un(this,t,r,n);const i=Be(r,s,e.formAssociated&&!!(64&n.u));if(l.i){const e=l.i[t];!l.l.get(t)&&e&&l.l.set(t,e),l.i[t]=i,Un(this,t,l.i[t],n)}else l.l.set(t,i)}}else Un(this,t,r,n)}}})}else e.lazyLoad&&e.method&&1&o&&64&s&&Object.defineProperty(l,t,{value(...e){var n;const o=d(this);return null==(n=null==o?void 0:o.v)?void 0:n.then((()=>{var n;return null==(n=o.i)?void 0:n[t](...e)}))}})})),e.observeAttribute&&(!e.lazyLoad||1&o)){const o=new Map;l.attributeChangedCallback=function(t,s,r){D.jmp((()=>{var c;const a=o.get(t),u=d(this);if(e.serializer&&u.p.has(a)&&u.p.get(a)===r)return;if(this.hasOwnProperty(a)&&e.lazyLoad&&(r=this[a],delete this[a]),e.deserializer&&n.ot&&n.ot[a]){const t=(t,e)=>{const n=null==e?void 0:e[t](r,a);n!==this[a]&&(this[a]=n)};for(const o of n.ot[a]){const[[n]]=Object.entries(o);e.lazyLoad?u.i?t(n,u.i):u.O.push((()=>{t(n,u.i)})):t(n,this)}return}if(l.hasOwnProperty(a)&&"number"==typeof this[a]&&this[a]==r)return;if(null==a){const o=null==u?void 0:u.u;if(u&&o&&!(8&o)&&r!==s){const l=e.lazyLoad?u.i:e.lazyLoad?u.$hostElement$:this,i=null==(c=n.nt)?void 0:c[t];null==i||i.forEach((e=>{const[[n,i]]=Object.entries(e);null!=(null==l?void 0:l[n])&&(128&o||1&i)&&l[n].call(l,r,s,t)}))}return}const f=i.find((([t])=>t===a)),h=f?f[1][0]:0,p=4&h;if(e.reflect&&512&h&&8&h&&!Wt(this[a])&&(t=>null==t||!1===t?null:!0===t?"":t+"")(this[a])===r)return;const m=p&&null===r&&void 0===this[a];p&&(r=!(null===r||"false"===r&&!(e.formAssociated&&64&n.u)));const v=Object.getOwnPropertyDescriptor(l,a);m||r===this[a]||null==r&&null==this[a]||v.get&&!v.set||(this[a]=r)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(r=n.nt)?r:{}),...i.filter((([t,e])=>31&e[0])).map((([t,s])=>{var r;const l=s[1]||t;return o.set(l,t),e.reflect&&512&s[0]&&(null==(r=n.X)||r.push([t,l])),l}))]))}}return t},zn=async(t,n,o,s)=>{var r;let l;try{if(!(32&n.u)){if(n.u|=32,n.u&=-1025,e.lazyLoad&&o._){const i=j(o,n,s);if(i&&"then"in i){const t=((t,n)=>e.profile&&performance.mark?(0===performance.getEntriesByName(t,"mark").length&&performance.mark(t),()=>{0===performance.getEntriesByName(n,"measure").length&&performance.measure(n,t)}):()=>{})(`st:load:${o.C}:${n.T}`,`[Stencil] Load module for <${o.C}>`);l=await i,t()}else l=i;if(!l)throw n.u&=-33,n.st=(null!=(r=n.st)?r:0)+1,n.st<3&&(n.u|=1024),Error(`Constructor for "${o.C}#${n.T}" was not found`);e.member&&!l.isProxied&&(e.propChangeCallback&&(o.nt=Ie(l.watchers),o.et=l.serializers,o.ot=l.deserializers),Bn(l,o,2),l.isProxied=!0);const c=Dt("createInstance",o.C);e.member&&(n.u|=8);try{new l(n)}catch(e){v(e,t)}e.member&&(n.u&=-9,((t,e)=>{var n;const o=t.i;if(o)for(const[s,[r]]of Object.entries(null!=(n=e.t)?n:{}))if(4096&r&&t.l.has(s)){const e=t.l.get(s);o[s]!==e&&(o[s]=e)}})(n,o)),e.propChangeCallback&&(n.u|=128),c(),e.slotRelocation&&4&o.u?n.G=!0:Vn(n.i,t)}else l=t.constructor,customElements.whenDefined(t.localName).then((()=>n.u|=128));if(e.style&&l&&l.style){let r;"string"==typeof l.style?r=l.style:e.mode&&"string"!=typeof l.style&&(n.T=De(t),n.T&&(r=l.style[n.T]),e.hydrateServerSide&&n.T&&t.setAttribute("s-mode",n.T));const i=Bt(o,n.T);if(!O.has(i)||e.hotModuleReplacement&&s){const t=Dt("registerStyles",o.C);e.hydrateServerSide&&e.shadowDom&&128&o.u&&(r=Ae(r,i)),Pt(i,r,!!(1&o.u)),t()}}}const i=n.K,c=()=>Cn(n,!0);e.asyncLoading&&i&&i["s-rc"]?i["s-rc"].push(c):c()}catch(o){v(o,t),e.asyncLoading&&n.q&&(n.q(),n.q=void 0),!e.asyncLoading||!n.j||1024&n.u||n.j(t)}},Vn=(t,n)=>{e.lazyLoad&&Dn(t,"connectedCallback",void 0,n)},Wn=t=>{if(!(1&D.u)){const n=d(t);if(!n)return;const o=n.o,s=Dt("connectedCallback",o.C);if(e.hostListenerTargetParent&&Qn(t,n,o.rt,!0),1&n.u)Qn(t,n,o.rt,!1),(null==n?void 0:n.i)?Vn(n.i,t):1024&n.u?setTimeout((()=>zn(t,n,o)),1e3):(null==n?void 0:n.S)&&n.S.then((()=>Vn(n.i,t)));else{let s;if(n.u|=1,e.hydrateClientSide&&(s=t.getAttribute(C),s)){if(e.shadowDom&&I&&1&o.u){const n=e.mode?Ft(t.shadowRoot,o,t.getAttribute("s-mode")):Ft(t.shadowRoot,o);t.classList.remove(n+"-h",n+"-s")}else if(e.scoped&&2&o.u){const n=Bt(o,e.mode?t.getAttribute("s-mode"):void 0);t["s-sc"]=n}((t,n,o,s)=>{var r,l,i,c;const a=Dt("hydrateClient",n),u=t.shadowRoot,f=[],h=[],p=[],m=e.shadowDom&&u?[]:null,v=Jt(n,null);let g;if(v.P=t,e.scoped){const e=s.o;e&&10&e.u&&t["s-sc"]?(g=t["s-sc"],t.classList.add(g+"-h")):t["s-sc"]&&delete t["s-sc"]}!M.document||D.tt&&D.tt.size||ee(M.document.body,D.tt=new Map),t[C]=o,t.removeAttribute(C),s.W=te(v,f,h,m,t,t,o,p);let $=0;const b=f.length;let y;for(;$<b;$++){y=f[$];const o=y.F+"."+y.U,s=D.tt.get(o),l=y.P;if(u){if((null==(r=y.I)?void 0:(""+r).includes("-"))&&"slot-fb"!==y.I&&!y.P.shadowRoot){const t=d(y.P);if(t){const n=Bt(t.o,e.mode?y.P.getAttribute("s-mode"):void 0),o=M.document.querySelector(`style[sty-id="${n}"]`);o&&m.unshift(o.cloneNode(!0))}}}else l["s-hn"]=ro(n).toUpperCase(),"slot"===y.I&&(l["s-cr"]=t["s-cr"]);"slot"===y.I&&(y.D=y.P["s-sn"]||y.P.name||null,y.M?(y.u|=2,y.P.childNodes.length||y.M.forEach((t=>{y.P.appendChild(t.P)}))):y.u|=1),s&&s.isConnected&&(s.parentElement.shadowRoot&&""===s["s-en"]&&s.parentNode.insertBefore(l,s.nextSibling),s.parentNode.removeChild(s),u||(l["s-oo"]=parseInt(y.U))),s&&!s["s-id"]&&D.tt.delete(o)}const w=[],S=p.length;let j,O,x,E,_=0,T=0;for(;_<S;_++)if(j=p[_],j&&j.length)for(x=j.length,O=0;O<x;O++){if(E=j[O],w[E.hostId]||(w[E.hostId]=D.tt.get(E.hostId)),!w[E.hostId])continue;const t=w[E.hostId];t.shadowRoot&&E.node.parentElement!==t&&t.insertBefore(E.node,null==(i=null==(l=j[O-1])?void 0:l.node)?void 0:i.nextSibling),t.shadowRoot&&u||(E.slot["s-cr"]||(E.slot["s-cr"]=t["s-cr"],E.slot["s-cr"]=!E.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0]),lt(E.node,E.slot,!1,E.node["s-oo"]||T),(null==(c=E.node.parentElement)?void 0:c.shadowRoot)&&E.node.getAttribute&&E.node.getAttribute("slot")&&E.node.removeAttribute("slot"),e.experimentalSlotFixes&&xt(E.node)),T=(E.node["s-oo"]||T)+1}if(e.scoped&&g&&h.length&&h.forEach((t=>{t.P.parentElement.classList.add(g+"-s")})),e.shadowDom&&u&&!u.childNodes.length){let e=0;const n=m.length;if(n){for(;e<n;e++){const t=m[e];t&&u.appendChild(t)}Array.from(t.childNodes).forEach((t=>{"string"!=typeof t["s-en"]&&"string"!=typeof t["s-sn"]&&(1===t.nodeType&&t.slot&&t.hidden?t.removeAttribute("hidden"):8!==t.nodeType||t.nodeValue||t.parentNode.removeChild(t))}))}}s.$hostElement$=t,a()})(t,o.C,s,n)}if(e.slotRelocation&&!s&&(e.hydrateServerSide||(e.slot||e.shadowDom)&&12&o.u)&&Yn(t),e.asyncLoading){let o=t;for(;o=o.parentNode||o.host;)if(e.hydrateClientSide&&1===o.nodeType&&o.hasAttribute("s-id")&&o["s-p"]||o["s-p"]){xn(n,n.K=o);break}}e.prop&&!e.hydrateServerSide&&o.t&&Object.entries(o.t).map((([e,[n]])=>{if(31&n&&Object.prototype.hasOwnProperty.call(t,e)){const n=t[e];delete t[e],t[e]=n}})),e.initializeNextTick?Q((()=>zn(t,n,o))):zn(t,n,o)}s()}},Yn=t=>{if(!M.document)return;const n=t["s-cr"]=M.document.createComment(e.isDebug?`content-ref (host=${t.localName})`:"");n["s-cn"]=!0,yn(t,n,t.firstChild)},Jn=(t,n)=>{e.lazyLoad&&Dn(t,"disconnectedCallback",void 0,n||t)},Xn=async t=>{if(!(1&D.u)){const n=d(t);e.hostListener&&(null==n?void 0:n.lt)&&(n.lt.map((t=>t())),n.lt=void 0),e.lazyLoad?(null==n?void 0:n.i)?Jn(n.i,t):(null==n?void 0:n.S)&&n.S.then((()=>Jn(n.i,t))):Jn(t)}Ht.has(t)&&Ht.delete(t),t.shadowRoot&&Ht.has(t.shadowRoot)&&Ht.delete(t.shadowRoot)},qn=(t,n)=>{e.profile&&performance.mark&&0===performance.getEntriesByName("st:app:start","mark").length&&performance.mark("st:app:start");const o={u:n[0],C:n[1]};try{e.member&&(o.t=n[2]),e.hostListener&&(o.rt=n[3]),e.propChangeCallback&&(o.nt=Ie(t.nt),o.ot=t.ot,o.et=t.et),e.reflect&&(o.X=[]),e.shadowDom&&!I&&1&o.u&&(o.u|=8),!(1&o.u)&&256&o.u?e.experimentalSlotFixes?ft(t.prototype):(e.slotChildNodesFix&&Ot(t.prototype),e.cloneNodeFix&&dt(t.prototype),e.appendChildSlotFix&&ht(t.prototype),e.scopedSlotTextContentFix&&2&o.u&&wt(t.prototype)):e.cloneNodeFix&&dt(t.prototype),e.hydrateClientSide&&e.shadowDom&&Vt([o]);const s=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){p(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const t=d(this);if(!t)return;Qn(this,t,o.rt,!1),this.__hasHostListenerAttached=!0}Wn(this),s&&s.call(this)},disconnectedCallback(){Xn(this),r&&r.call(this)},__attachShadow(){if(I)if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${o.C}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else tt.call(this,o);else this.shadowRoot=this}}),Object.defineProperty(t,"is",{value:o.C,configurable:!0}),Bn(t,o,3)}catch(e){return v(e),t}},Kn=(t,n={})=>{var o;if(e.profile&&performance.mark&&performance.mark("st:app:start"),(()=>{if(e.devTools){const t=M.stencil=M.stencil||{},e=t.inspect;t.inspect=t=>{let n=(t=>{const e=d(t);if(!e)return;const n=e.u,o=e.$hostElement$;return{renderCount:e.m,flags:{hasRendered:!!(2&n),hasConnected:!!(1&n),isWaitingForChildren:!!(4&n),isConstructingInstance:!!(8&n),isQueuedForUpdate:!!(16&n),hasInitializedComponent:!!(32&n),hasLoadedComponent:!!(64&n),isWatchReady:!!(128&n),isListenReady:!!(256&n),needsRerender:!!(512&n)},instanceValues:e.l,serializerValues:e.p,ancestorComponent:e.K,hostElement:o,lazyInstance:e.i,vnode:e.W,modeName:e.T,fetchedCbList:e.O,onReadyPromise:e.S,onReadyResolve:e.j,onInstancePromise:e.v,onInstanceResolve:e.$,onRenderResolve:e.q,queuedListeners:e.Z,rmListeners:e.lt,"s-id":o["s-id"],"s-cr":o["s-cr"],"s-lr":o["s-lr"],"s-p":o["s-p"],"s-rc":o["s-rc"],"s-sc":o["s-sc"]}})(t);return n||"function"!=typeof e||(n=e(t)),n}}})(),!M.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const s=Dt("bootstrapLazy"),r=[],l=n.exclude||[],i=M.customElements,c=M.document.head,a=c.querySelector("meta[charset]"),u=M.document.createElement("style"),f=[];let h,m=!0;if(Object.assign(D,n),D.k=new URL(n.resourcesUrl||"./",M.document.baseURI).href,e.asyncQueue&&n.syncQueue&&(D.u|=4),e.hydrateClientSide&&(D.u|=2),e.hydrateClientSide&&e.shadowDom){const e=[];t.map((t=>t[1].map((([t,n])=>e.push({u:t,C:n}))))),Vt(e)}let v=!1;if(t.map((t=>{t[1].map((o=>{var s,c;const a={u:o[0],C:o[1],t:o[2],rt:o[3]};4&a.u&&(v=!0),e.member&&(a.t=o[2]),e.hostListener&&(a.rt=o[3]),e.reflect&&(a.X=[]),e.propChangeCallback&&(a.nt=Ie(o[4]),a.et=null!=(s=o[5])?s:{},a.ot=null!=(c=o[6])?c:{}),e.shadowDom&&!I&&1&a.u&&(a.u|=8);const u=e.transformTagName&&n.transformTagName?n.transformTagName(a.C):ro(a.C),g=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){if(super(t),p(t=this,a),e.shadowDom&&1&a.u)if(I)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${a.C}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else tt.call(t,a);else e.hydrateServerSide||"shadowRoot"in t||(t.shadowRoot=t)}connectedCallback(){const t=d(this);t&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Qn(this,t,a.rt,!1)),h&&(clearTimeout(h),h=null),m?f.push(this):D.jmp((()=>Wn(this))))}disconnectedCallback(){D.jmp((()=>Xn(this))),Q((()=>{var t;const e=d(this);if(!e)return;const n=f.findIndex((t=>t===this));n>-1&&f.splice(n,1),(null==(t=null==e?void 0:e.W)?void 0:t.P)instanceof Node&&!e.W.P.isConnected&&delete e.W.P}))}componentOnReady(){var t;return null==(t=d(this))?void 0:t.S}};!(1&a.u)&&256&a.u?e.experimentalSlotFixes?ft(g.prototype):(e.slotChildNodesFix&&Ot(g.prototype),e.cloneNodeFix&&dt(g.prototype),e.appendChildSlotFix&&ht(g.prototype),e.scopedSlotTextContentFix&&2&a.u&&wt(g.prototype)):e.cloneNodeFix&&dt(g.prototype),e.formAssociated&&64&a.u&&(g.formAssociated=!0),e.hotModuleReplacement&&(g.prototype["s-hmr"]=function(t){((t,e,n)=>{const o=d(t);o&&(o.u=1,zn(t,o,e,n))})(this,a,t)}),a._=t[0],l.includes(u)||i.get(u)||(r.push(u),i.define(u,Bn(g,a,1)))}))})),r.length>0&&(e.slotRelocation&&v&&(u.textContent+=N),e.invisiblePrehydration&&(e.hydratedClass||e.hydratedAttribute)&&(u.textContent+=r.sort()+"{visibility:hidden}.hydrated{visibility:inherit}"),u.innerHTML.length)){u.setAttribute("data-styles","");const t=null!=(o=D.N)?o:It(M.document);null!=t&&u.setAttribute("nonce",t),c.insertBefore(u,a?a.nextSibling:c.firstChild)}m=!1,f.length?f.map((t=>t.connectedCallback())):D.jmp(e.profile?()=>h=setTimeout(An,30,"timeout"):()=>h=setTimeout(An,30)),s()},Qn=(t,n,o,s)=>{e.hostListener&&o&&M.document&&(e.hostListenerTargetParent&&(o=o.filter(s?([t])=>32&t:([t])=>!(32&t))),o.map((([o,s,r])=>{const l=e.hostListenerTarget?Zn(M.document,t,o):t,i=Gn(n,r),c=to(o);D.ael(l,s,i,c),(n.lt=n.lt||[]).push((()=>D.rel(l,s,i,c)))})))},Gn=(t,n)=>o=>{var s;try{e.lazyLoad?256&t.u?null==(s=t.i)||s[n](o):(t.Z=t.Z||[]).push([n,o]):t.$hostElement$[n](o)}catch(e){v(e,t.$hostElement$)}},Zn=(t,n,o)=>e.hostListenerTargetDocument&&4&o?t:e.hostListenerTargetWindow&&8&o?M:e.hostListenerTargetBody&&16&o?t.body:e.hostListenerTargetParent&&32&o&&n.parentElement?n.parentElement:n,to=t=>({passive:!!(1&t),capture:!!(2&t)}),eo=e.lazyLoad?class{}:globalThis.HTMLElement||class{},no=t=>D.N=t,oo=new WeakMap,so=void 0;function ro(t){return so?so(t):t}function lo(t,e,n){const o=e||{},{children:s,...r}=o;let l=r;return void 0===n||"key"in r||(l={...r,key:n}),l&&0===Object.keys(l).length&&(l=null),void 0!==s?Array.isArray(s)?Yt(t,l,...s):Yt(t,l,s):Yt(t,l)}var io=(t,e,n,o)=>{var s;null!=e&&(null!=e["s-nr"]&&o.push(e),1===e.nodeType)&&[...Array.from(e.childNodes),...Array.from((null==(s=e.shadowRoot)?void 0:s.childNodes)||[])].forEach((e=>{const s=d(e);null==s||n.staticComponents.has(e.nodeName.toLowerCase())||co(t,e,s.W,n,{nodeIds:0}),io(t,e,n,o)}))},co=(t,e,n,o,s)=>{if(null!=n){const r=++o.hostIds;if(e.setAttribute(C,r),null!=e["s-cr"]&&(e["s-cr"].nodeValue="r."+r),null!=n.M){const e=0;n.M.forEach(((n,o)=>{ao(t,n,s,r,e,o)}))}if(e&&n&&n.P&&!e.hasAttribute(_)){const t=e.parentElement;if(t&&t.childNodes){const o=Array.from(t.childNodes),s=o.find((t=>8===t.nodeType&&t["s-sr"]));if(s){const t=o.indexOf(e)-1;n.P.setAttribute(_,`${s["s-host-id"]}.${s["s-node-id"]}.0.${t}`)}}}}},ao=(t,e,n,o,s,r)=>{const l=e.P;if(null==l)return;const i=n.nodeIds++,c=`${o}.${i}.${s}.${r}`;if(l["s-host-id"]=o,l["s-node-id"]=i,1===l.nodeType)l.setAttribute(_,c),"string"!=typeof l["s-sn"]||l.getAttribute("slot")||l.setAttribute("s-sn",l["s-sn"]);else if(3===l.nodeType){const e=l.parentNode,n=null==e?void 0:e.nodeName;if("STYLE"!==n&&"SCRIPT"!==n){const n=t.createComment("t."+c);yn(e,n,l)}}else 8===l.nodeType&&l["s-sr"]&&(l.nodeValue=`s.${c}.${l["s-sn"]||""}`);if(null!=e.M){const r=s+1;e.M.forEach(((e,s)=>{ao(t,e,n,o,r,s)}))}},uo=Object.freeze({__proto__:null,BUILD:e,Build:n,Env:{},Fragment:(t,e)=>e,H:A,HTMLElement:A,HYDRATED_STYLE_ID:E,Host:Xt,Mixin:function(...t){return t.reduceRight(((t,e)=>e(t)),eo)},NAMESPACE:t,STENCIL_DEV_MODE:g,addHostEventListeners:Qn,bootstrapLazy:Kn,cmpModules:w,connectedCallback:Wn,consoleDevError:$,consoleDevInfo:y,consoleDevWarn:b,consoleError:v,createEvent:(t,n,o)=>{const s=ze(t);return{emit:t=>(e.isDev&&!s.isConnected&&b(`The "${n}" event was emitted, but the dispatcher node is no longer connected to the dom.`),Ve(s,n,{bubbles:!!(4&o),composed:!!(2&o),cancelable:!!(1&o),detail:t}))}},defineCustomElement:(t,e)=>{customElements.define(ro(e[1]),qn(t,e))},disconnectedCallback:Xn,forceModeUpdate:t=>{if(e.style&&e.mode&&!e.lazyLoad){const e=De(t),n=d(t);if(n&&n.T!==e){const o=n.o,s=t["s-sc"],r=Bt(o,e),l=t.constructor.style[e],i=o.u;l&&(O.has(r)||Pt(r,l,!!(1&i)),n.T=e,t.classList.remove(s+"-h",s+"-s"),Ut(n),Mn(t))}}},forceUpdate:Mn,getAssetPath:t=>{const e=new URL(t,D.k);return e.origin!==M.location.origin?e.href:e.pathname},getElement:ze,getHostRef:d,getMode:t=>{var e;return null==(e=d(t))?void 0:e.T},getRenderingRef:()=>Nn,getValue:Fn,h:Yt,insertVdomAnnotations:(t,e)=>{if(null!=t){const n=T in t?t[T]:{...k};n.staticComponents=new Set(e);const o=[];io(t,t.body,n,o),o.forEach((e=>{var o;if(null!=e&&e["s-nr"]){const s=e["s-nr"];let r=s["s-host-id"],l=s["s-node-id"],i=`${r}.${l}`;if(null==r)if(r=0,n.rootLevelIds++,l=n.rootLevelIds,i=`${r}.${l}`,1===s.nodeType)s.setAttribute(_,i),"string"!=typeof s["s-sn"]||s.getAttribute("slot")||s.setAttribute("s-sn",s["s-sn"]);else if(3===s.nodeType){if(0===r&&""===(null==(o=s.nodeValue)?void 0:o.trim()))return void e.remove();const n=t.createComment(i);n.nodeValue="t."+i,yn(s.parentNode,n,s)}else if(8===s.nodeType){const e=t.createComment(i);e.nodeValue="c."+i,s.parentNode.insertBefore(e,s)}let c="o."+i;const a=e.parentElement;a&&(""===a["s-en"]?c+=".":"c"===a["s-en"]&&(c+=".c")),e.nodeValue=c}}))}},isMemberInElement:m,jsx:lo,jsxDEV:function(t,e,n){const o=e||{},{children:s,...r}=o;let l=r;return void 0===n||"key"in r||(l={...r,key:n}),l&&0===Object.keys(l).length&&(l=null),void 0!==s?Array.isArray(s)?Yt(t,l,...s):Yt(t,l,s):Yt(t,l)},jsxs:function(t,e,n){return lo(t,e,n)},loadModule:j,modeResolver:x,needsScopedSSR:()=>!1,nextTick:Q,normalizeWatchers:Ie,parsePropertyValue:Be,plt:D,postUpdateComponent:Rn,promiseResolve:H,proxyComponent:Bn,proxyCustomElement:qn,readTask:G,registerHost:p,registerInstance:h,render:function(t,e){let n=oo.get(e);n||(n={u:0,o:{u:0,C:e.tagName},$hostElement$:e},oo.set(e,n)),Sn(n,t)},renderVdom:Sn,setAssetPath:t=>D.k=t,setErrorHandler:t=>a=t,setMode:t=>{x.length=0,x.push(t)},setNonce:no,setPlatformHelpers:t=>{Object.assign(D,t)},setPlatformOptions:t=>Object.assign(D,t),setScopedSSR:()=>{},setTagTransformer:function(t){so&&console.warn("\n A tagTransformer has already been set. \n Overwriting it may lead to error and unexpected results if your components have already been defined.\n "),so=t},setValue:Un,styles:O,supportsConstructableStylesheets:P,supportsListenerOptions:!0,supportsMutableAdoptedStyleSheets:F,supportsShadow:I,transformTag:ro,win:M,writeTask:Z});export{e as B,A as H,t as N,uo as S,Kn as b,y as c,Yt as h,H as p,h as r,no as s,M as w}
@@ -1 +1 @@
1
- import{p as t,B as a,c as e,w as n,N as r,H as o,b as i}from"./p-BqfyFa96.js";export{s as setNonce}from"./p-BqfyFa96.js";import{g as p}from"./p-DQuL1Twl.js";var m=s=>{const t=s.cloneNode;s.cloneNode=function(s){if("TEMPLATE"===this.nodeName)return t.call(this,s);const a=t.call(this,!1),e=this.childNodes;if(s)for(let s=0;s<e.length;s++)2!==e[s].nodeType&&a.appendChild(e[s].cloneNode(!0));return a}};(()=>{a.isDev&&!a.isTesting&&e("Running in development mode."),a.cloneNodeFix&&m(o.prototype);const s=a.scriptDataOpts?n.document&&Array.from(n.document.querySelectorAll("script")).find((s=>new RegExp(`/${r}(\\.esm)?\\.js($|\\?|#)`).test(s.src)||s.getAttribute("data-stencil-namespace")===r)):null,i=import.meta.url,p=a.scriptDataOpts&&(s||{})["data-opts"]||{};return""!==i&&(p.resourcesUrl=new URL(".",i).href),t(p)})().then((async s=>(await p(),i([["p-5435ab1e",[[1,"proto-tinker",{tag:[1]}]]]],s))));
1
+ import{p as t,B as e,c as n,w as r,N as a,H as o,b as i}from"./p-NY9qHH5e.js";export{s as setNonce}from"./p-NY9qHH5e.js";import{g as p}from"./p-DQuL1Twl.js";var m=s=>{const t=s.cloneNode;s.cloneNode=function(s){if("TEMPLATE"===this.nodeName)return t.call(this,s);const e=t.call(this,!1),n=this.childNodes;if(s)for(let s=0;s<n.length;s++)2!==n[s].nodeType&&e.appendChild(n[s].cloneNode(!0));return e}};(()=>{e.isDev&&!e.isTesting&&n("Running in development mode."),e.cloneNodeFix&&m(o.prototype);const s=e.scriptDataOpts?r.document&&Array.from(r.document.querySelectorAll("script")).find((s=>new RegExp(`/${a}(\\.esm)?\\.js($|\\?|#)`).test(s.src)||s.getAttribute("data-stencil-namespace")===a)):null,i=import.meta.url,p=e.scriptDataOpts&&(s||{})["data-opts"]||{};return""!==i&&(p.resourcesUrl=new URL(".",i).href),t(p)})().then((async s=>(await p(),i([["p-2beeb171",[[1,"proto-tinker",{tag:[1]}]]]],s))));
@@ -1402,7 +1402,7 @@ export declare namespace JSXBase {
1402
1402
  contextmenu?: string;
1403
1403
  dir?: string;
1404
1404
  draggable?: boolean;
1405
- hidden?: boolean;
1405
+ hidden?: boolean | 'until-found';
1406
1406
  id?: string;
1407
1407
  inert?: boolean;
1408
1408
  lang?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "proto-tinker-wc",
3
- "version": "0.1.310",
3
+ "version": "0.1.311",
4
4
  "description": "prototype - simple demo built from Stencil & Tailwind",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -29,7 +29,7 @@
29
29
  "format": "prettier --write src"
30
30
  },
31
31
  "dependencies": {
32
- "@stencil/core": "4.45.2",
32
+ "@stencil/core": "4.45.3",
33
33
  "@stencil/store": "2.2.5"
34
34
  },
35
35
  "devDependencies": {
@@ -40,7 +40,7 @@
40
40
  "eslint": "10.14.0",
41
41
  "only-allow": "1.2.2",
42
42
  "postcss": "8.5.32",
43
- "prettier": "3.9.10",
43
+ "prettier": "3.10.0",
44
44
  "prettier-plugin-tailwindcss": "0.8.1",
45
45
  "proto-tailwindcss-clrs": "0.0.577",
46
46
  "tailwindcss": "4.3.5",
@@ -1,3 +0,0 @@
1
- const t="proto-tinker-wc",e={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,constructableCSS:!0,cssAnnotations:!0,deserializer:!1,devTools:!1,element:!1,event:!1,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!1,hostListenerTarget:!1,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!1,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!1,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!1,propChangeCallback:!1,propMutable:!1,propNumber:!1,propString:!0,reflect:!1,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,serializer:!1,shadowDelegatesFocus:!1,shadowDom:!0,shadowSlotAssignmentManual:!1,slot:!1,slotChildNodesFix:!1,slotRelocation:!1,state:!1,style:!0,svg:!0,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!1,vdomRender:!0,vdomStyle:!1,vdomText:!0,vdomXlink:!1};var n={isDev:!!e.isDev,isBrowser:!0,isServer:!1,isTesting:!!e.isTesting},o=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(o||{}),s=(t=>(t.Array="array",t.Date="date",t.Map="map",t.Object="object",t.RegularExpression="regexp",t.Set="set",t.Channel="channel",t.Symbol="symbol",t))(s||{}),r="type",l="value",i="serialized:";function c(t,e,n){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,e);if(o&&(!n||o.get))return o;t=Object.getPrototypeOf(t)}}var a,u,f=(t,n)=>{var o;Object.entries(null!=(o=n.o.t)?o:{}).map((([o,[s]])=>{if((e.state||e.prop)&&(31&s||32&s)){const e=t[o],s=c(Object.getPrototypeOf(t),o,!0)||Object.getOwnPropertyDescriptor(t,o);s&&Object.defineProperty(t,o,{get(){return s.get.call(this)},set(t){s.set.call(this,t)},configurable:!0,enumerable:!0}),n.l.has(o)?t[o]=n.l.get(o):void 0!==e&&(t[o]=e)}}))},d=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},h=(t,n)=>{n&&(t.__stencil__getHostRef=()=>n,n.i=t,512&n.o.u&&(e.state||e.prop)&&f(t,n))},p=(t,n)=>{const o={u:0,$hostElement$:t,o:n,l:new Map,p:new Map};e.isDev&&(o.m=0),e.method&&e.lazyLoad&&(o.v=new Promise((t=>o.$=t))),e.asyncLoading&&(o.S=new Promise((t=>o.j=t)),t["s-p"]=[],t["s-rc"]=[]),e.lazyLoad&&(o.O=[]);const s=o;return t.__stencil__getHostRef=()=>s,!e.lazyLoad&&512&n.u&&(e.state||e.prop)&&f(t,o),s},m=(t,e)=>e in t,v=(t,e)=>(a||console.error)(t,e),g=e.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"],$=(...t)=>console.error(...g,...t),b=(...t)=>console.warn(...g,...t),y=(...t)=>console.info(...g,...t),w=new Map,S=new Map,j=(t,n,o)=>{var s;const r=t.C.replace(/-/g,"_"),l=t._;if(e.isDev&&"string"!=typeof l)return void $(`Trying to lazily load component <${t.C}> with style mode "${n.k}", but it does not exist.`);if(!l)return;const i=!e.hotModuleReplacement&&w.get(l);if(i)return i[r];const c=null!=(s=S.get(l))?s:0,a=[c>0?"s-retry="+c:"",e.hotModuleReplacement&&o?"s-hmr="+o:""].filter(Boolean).join("&");
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/
3
- return import(`./${l}.entry.js${a?"?"+a:""}`).then((t=>(e.hotModuleReplacement||(S.delete(l),w.set(l,t)),t[r])),(t=>{S.set(l,c+1),v(t,n.$hostElement$)}))},x=new Map,O=[],C="s-id",_="sty-id",k="c-id",E="_stencilDocData",N={hostIds:0,rootLevelIds:0,staticComponents:new Set},T="slot-fb{display:contents}slot-fb[hidden]{display:none}",L="http://www.w3.org/1999/xlink",R=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],M="undefined"!=typeof window?window:{},A=M.HTMLElement||class{},D={u:0,N:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},I=e.shadowDom,H=t=>Promise.resolve(t),P=!!e.constructableCSS&&(()=>{try{return!!M.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),F=!!P&&(()=>!!M.document&&Object.getOwnPropertyDescriptor(M.document.adoptedStyleSheets,"length").writable)(),U=0,B=!1,z=[],V=[],W=[],Y=()=>{var t;return(null==(t=M.document)?void 0:t.hidden)?setTimeout(K,16):D.raf(K)},J=(t,e)=>n=>{t.push(n),B||(B=!0,e&&4&D.u?Q(K):Y())},X=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){v(t)}t.length=0},q=(t,e)=>{let n=0,o=0;for(;n<t.length&&(o=performance.now())<e;)try{t[n++](o)}catch(t){v(t)}n===t.length?t.length=0:0!==n&&t.splice(0,n)},K=()=>{if(e.asyncQueue&&U++,X(z),e.asyncQueue){const t=2==(6&D.u)?performance.now()+14*Math.ceil(.1*U):1/0;q(V,t),q(W,t),V.length>0&&(W.push(...V),V.length=0),(B=z.length+V.length+W.length>0)?Y():U=0}else X(V),(B=z.length>0)&&Y()},Q=t=>H().then(t),G=J(z,!1),Z=J(V,!0);function tt(t){const n={mode:"open"};e.shadowDelegatesFocus&&(n.delegatesFocus=!!(16&t.u)),e.shadowSlotAssignmentManual&&1024&t.u&&(n.slotAssignment="manual");const o=this.attachShadow(n);void 0===u&&(u=null),u&&(F?o.adoptedStyleSheets.push(u):o.adoptedStyleSheets=[...o.adoptedStyleSheets,u])}var et=t=>{const e=Lt(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&ot(e,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!st(t,it(t),!1).length)}));let n=0;for(n=0;n<e.length;n++){const t=e[n];1===t.nodeType&&Lt(t,"childNodes").length&&et(t)}},nt=t=>{const e=[];for(let n=0;n<t.length;n++){const o=t[n]["s-nr"]||void 0;o&&o.isConnected&&e.push(o)}return e};function ot(t,e,n){let o,s=0,r=[];for(;s<t.length;s++){if(o=t[s],o["s-sr"]&&(!e||o["s-hn"]===e)&&(void 0===n||it(o)===n)&&(r.push(o),void 0!==n))return r;r=[...r,...ot(Lt(o,"childNodes"),e,n)]}return r}var st=(t,e,n=!0)=>{const o=[];(n&&t["s-sr"]||!t["s-sr"])&&o.push(t);let s=t;for(;s=s.nextSibling;)it(s)!==e||!n&&s["s-sr"]||o.push(s);return o},rt=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,lt=(t,n,o,s)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const r=document.createTextNode("");if(r["s-nr"]=t,!n["s-cr"]||!n["s-cr"].parentNode)return;const l=n["s-cr"].parentNode,i=Lt(l,o?"prepend":"appendChild");if(e.hydrateClientSide&&void 0!==s){r["s-oo"]=s;const t=Lt(l,"childNodes"),e=[r];t.forEach((t=>{t["s-nr"]&&e.push(t)})),e.sort(((t,e)=>!t["s-oo"]||t["s-oo"]<(e["s-oo"]||0)?-1:!e["s-oo"]||e["s-oo"]<t["s-oo"]?1:0)),e.forEach((t=>i.call(l,t)))}else i.call(l,r);t["s-ol"]=r,t["s-sh"]=n["s-hn"]},it=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function ct(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const e=e=>function(t){const n=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const s=this["s-cr"].parentElement;return(s.__childNodes?s.childNodes:nt(s.childNodes)).forEach((t=>{o===it(t)&&n.push(t)})),e?n.filter((t=>1===t.nodeType)):n}.bind(t);t.assignedElements=e(!0),t.assignedNodes=e(!1)}function at(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function ut(t,e){var n;if(!(e=e||(null==(n=t["s-ol"])?void 0:n.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=it(t)||"";return{slotNode:ot(Lt(e,"childNodes"),e.tagName,o)[0],slotName:o}}var ft=t=>{dt(t),ht(t),vt(t),mt(t),yt(t),gt(t),$t(t),bt(t),wt(t),St(t),pt(t)},dt=t=>{if(t.__cloneNode)return;const n=t.__cloneNode=t.cloneNode;t.cloneNode=function(t){const o=!!e.shadowDom&&this.shadowRoot&&I,s=n.call(this,!!o&&t);if(e.slot&&!o&&t){let t,n,o=0;const r=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"],l=this.__childNodes||this.childNodes;for(;o<l.length;o++)t=l[o]["s-nr"],n=r.every((t=>!l[o][t])),t&&(e.appendChildSlotFix&&s.__appendChild?s.__appendChild(t.cloneNode(!0)):s.appendChild(t.cloneNode(!0))),n&&s.appendChild(l[o].cloneNode(!0))}return s}},ht=t=>{t.__appendChild||(t.__appendChild=t.appendChild,t.appendChild=function(t){const{slotName:e,slotNode:n}=ut(t,this);if(n){lt(t,n);const o=st(n,e),s=o[o.length-1],r=Lt(s,"parentNode"),l=Lt(r,"insertBefore")(t,s.nextSibling);return at(n),et(this),l}return this.__appendChild(t)})},pt=t=>{t.__removeChild||(t.__removeChild=t.removeChild,t.removeChild=function(t){return t&&void 0!==t["s-sn"]&&ot(this.__childNodes||this.childNodes,this.tagName,t["s-sn"])&&t.isConnected?(t.remove(),void et(this)):this.__removeChild(t)})},mt=t=>{t.__prepend||(t.__prepend=t.prepend,t.prepend=function(...e){e.forEach((e=>{"string"==typeof e&&(e=this.ownerDocument.createTextNode(e));const n=(e["s-sn"]=it(e))||"",o=ot(Lt(this,"childNodes"),this.tagName,n)[0];if(o){lt(e,o,!0);const t=st(o,n)[0],s=Lt(t,"parentNode"),r=Lt(s,"insertBefore")(e,Lt(t,"nextSibling"));return at(o),r}return 1===e.nodeType&&e.getAttribute("slot")&&(e.hidden=!0),t.__prepend(e)}))})},vt=t=>{t.__append||(t.__append=t.append,t.append=function(...t){t.forEach((t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t)),this.appendChild(t)}))})},gt=t=>{if(t.__insertAdjacentHTML)return;const e=t.insertAdjacentHTML;t.insertAdjacentHTML=function(t,n){if("afterbegin"!==t&&"beforeend"!==t)return e.call(this,t,n);const o=this.ownerDocument.createElement("_");let s;if(o.innerHTML=n,"afterbegin"===t)for(;s=o.firstChild;)this.prepend(s);else if("beforeend"===t)for(;s=o.firstChild;)this.append(s)}},$t=t=>{t.insertAdjacentText=function(t,e){this.insertAdjacentHTML(t,e)}},bt=t=>{t.__insertBefore||t.__insertBefore||(t.__insertBefore=t.insertBefore,t.insertBefore=function(t,e){const{slotName:n,slotNode:o}=ut(t,this),s=this.__childNodes?this.childNodes:nt(this.childNodes);if(o){let r=!1;if(s.forEach((s=>{if(s!==e&&null!==e);else{if(r=!0,null===e||n!==e["s-sn"])return void this.appendChild(t);if(n===e["s-sn"]){lt(t,o);const n=Lt(e,"parentNode");Lt(n,"insertBefore")(t,e),at(o)}}})),r)return t}const r=null==e?void 0:e.__parentNode;return r&&!this.isSameNode(r)?this.appendChild(t):this.__insertBefore(t,e)})},yt=t=>{if(t.__insertAdjacentElement)return;const e=t.insertAdjacentElement;t.insertAdjacentElement=function(t,n){return"afterbegin"!==t&&"beforeend"!==t?e.call(this,t,n):"afterbegin"===t?(this.prepend(n),n):"beforeend"===t?(this.append(n),n):n}},wt=t=>{Tt("textContent",t),Object.defineProperty(t,"textContent",{get:function(){let t="";return(this.__childNodes?this.childNodes:nt(this.childNodes)).forEach((e=>t+=e.textContent||"")),t},set:function(t){(this.__childNodes?this.childNodes:nt(this.childNodes)).forEach((t=>{t["s-ol"]&&t["s-ol"].remove(),t.remove()})),this.insertAdjacentHTML("beforeend",t)}})},St=t=>{class e extends Array{item(t){return this[t]}}Tt("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),Tt("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]||null}}),Tt("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]||null}}),Tt("childNodes",t),Object.defineProperty(t,"childNodes",{get(){const t=new e;return t.push(...nt(this.__childNodes)),t}})},jt=t=>{t&&void 0===t.__nextSibling&&globalThis.Node&&(xt(t),Ct(t),kt(t),t.nodeType===Node.ELEMENT_NODE&&(Ot(t),_t(t)))},xt=t=>{t&&!t.__nextSibling&&(Tt("nextSibling",t),Object.defineProperty(t,"nextSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.childNodes,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n+1]||null:this.__nextSibling}}))},Ot=t=>{t&&!t.__nextElementSibling&&(Tt("nextElementSibling",t),Object.defineProperty(t,"nextElementSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.children,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n+1]||null:this.__nextElementSibling}}))},Ct=t=>{t&&!t.__previousSibling&&(Tt("previousSibling",t),Object.defineProperty(t,"previousSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.childNodes,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n-1]||null:this.__previousSibling}}))},_t=t=>{t&&!t.__previousElementSibling&&(Tt("previousElementSibling",t),Object.defineProperty(t,"previousElementSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.children,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n-1]||null:this.__previousElementSibling}}))},kt=t=>{t&&!t.__parentNode&&(Tt("parentNode",t),Object.defineProperty(t,"parentNode",{get:function(){var t;return(null==(t=this["s-ol"])?void 0:t.parentNode)||this.__parentNode},set:function(t){this.__parentNode=t}}))},Et=["children","nextElementSibling","previousElementSibling"],Nt=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function Tt(t,e){if(!globalThis.Node||!globalThis.Element)return;let n;Et.includes(t)?n=Object.getOwnPropertyDescriptor(Element.prototype,t):Nt.includes(t)&&(n=Object.getOwnPropertyDescriptor(Node.prototype,t)),n||(n=Object.getOwnPropertyDescriptor(e,t)),n&&Object.defineProperty(e,"__"+t,n)}function Lt(t,e){if("__"+e in t){const n=t["__"+e];return"function"!=typeof n?n:n.bind(t)}return"function"!=typeof t[e]?t[e]:t[e].bind(t)}var Rt=0,Mt=(t,n="")=>{if(e.profile&&performance.mark){const e=`st:${t}:${n}:${Rt++}`;return performance.mark(e),()=>performance.measure(`[Stencil] ${t}() <${n}>`,e)}return()=>{}};function At(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}var Dt=new WeakMap,It=(t,e,n)=>{let o=x.get(t);P&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,x.set(t,o)},Ht=(t,n,o)=>{var s,r,l;const i=Ft(n,o),c=x.get(i);if(!e.attachStyles||!M.document)return i;if(t=11===t.nodeType?t:M.document,c)if("string"==typeof c){let o,l=Dt.get(t=t.head||t);l||Dt.set(t,l=new Set);const a=(e.hydrateClientSide||e.hotModuleReplacement)&&t.querySelector(`[${_}="${i}"]`);if(a)a.textContent=c;else if(!l.has(i)){o=M.document.createElement("style"),o.textContent=c;const a=null!=(s=D.T)?s:At(M.document);if(null!=a&&o.setAttribute("nonce",a),(e.hydrateServerSide||e.hotModuleReplacement)&&(2&n.u||128&n.u||1&n.u)&&o.setAttribute(_,i),!(1&n.u))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(o,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(P){const e=new(null!=(r=t.defaultView)?r:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(c),F?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const n=t.querySelector("style");n&&!e.hotModuleReplacement?n.textContent=c+n.textContent:t.prepend(o)}else t.append(o);1&n.u&&t.insertBefore(o,null),4&n.u&&(o.textContent+=T),l&&l.add(i)}}else if(e.constructableCSS){let n=Dt.get(t);if(n||Dt.set(t,n=new Set),!n.has(i)){const o=null!=(l=t.defaultView)?l:t.ownerDocument.defaultView;let s;if(c.constructor===o.CSSStyleSheet)s=c;else{s=new o.CSSStyleSheet;for(let t=0;t<c.cssRules.length;t++)s.insertRule(c.cssRules[t].cssText,t)}if(F?t.adoptedStyleSheets.push(s):t.adoptedStyleSheets=[...t.adoptedStyleSheets,s],n.add(i),e.hydrateClientSide&&"host"in t){const e=t.querySelector(`[${_}="${i}"]`);e&&Z((()=>e.remove()))}}}return i},Pt=t=>{const n=t.o,o=t.$hostElement$,s=n.u,r=Mt("attachStyles",n.C),l=Ht(e.shadowDom&&I&&o.shadowRoot?o.shadowRoot:o.getRootNode(),n,t.k);(e.shadowDom||e.scoped)&&e.cssAnnotations&&10&s&&(o["s-sc"]=l,o.classList.add(l+"-h")),r()},Ft=(t,n)=>"sc-"+(e.mode&&n&&32&t.u?t.C+"-"+n:t.C),Ut=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Bt=()=>{if(!M.document)return;const t=M.document.querySelectorAll(`[${_}]`);let e=0;for(;e<t.length;e++)It(t[e].getAttribute(_),Ut(t[e].innerHTML),!0)},zt=t=>"object"==(t=typeof t)||"function"===t,Vt=(t,n,...o)=>{"string"==typeof t&&(t=oo(t));let s=null,r=null,l=null,i=!1,c=!1;const a=[],u=n=>{for(let o=0;o<n.length;o++)if(s=n[o],Array.isArray(s))u(s);else if(null!=s&&"boolean"!=typeof s){if(i="function"!=typeof t&&!zt(s))s+="";else if("function"!=typeof t&&void 0===s.u){e.isDev?$("vNode passed as children has unexpected type.\nMake sure it's using the correct h() function.\nEmpty objects can also be the cause, look for JSX comments that became objects."):v("Invalid vNode child");continue}i&&c?a[a.length-1].L+=s:a.push(i?Wt(null,s):s),c=i}};if(u(o),n&&(e.isDev&&"input"===t&&Qt(n),e.vdomKey&&n.key&&(r=n.key),e.slotRelocation&&n.name&&(l=n.name),e.vdomClass)){const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}if(e.isDev&&a.some(Jt)&&$("The <Host> must be the single root component. Make sure:\n- You are NOT using hostData() and <Host> in the same component.\n- <Host> is used once, and it's the single root component of the render() function."),e.vdomFunctional&&"function"==typeof t)return t(null===n?{}:n,a,Xt);const f=Wt(t,null);return f.R=n,a.length>0&&(f.M=a),e.vdomKey&&(f.A=r),e.slotRelocation&&(f.D=l),f},Wt=(t,n)=>{const o={u:0,I:t,L:null!=n?n:null,P:null,M:null};return e.vdomAttribute&&(o.R=null),e.vdomKey&&(o.A=null),e.slotRelocation&&(o.D=null),o},Yt={},Jt=t=>t&&t.I===Yt,Xt={forEach:(t,e)=>t.map(qt).forEach(e),map:(t,e)=>t.map(qt).map(e).map(Kt)},qt=t=>({vattrs:t.R,vchildren:t.M,vkey:t.A,vname:t.D,vtag:t.I,vtext:t.L}),Kt=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),Vt(t.vtag,e,...t.vchildren||[])}const e=Wt(t.vtag,t.vtext);return e.R=t.vattrs,e.M=t.vchildren,e.A=t.vkey,e.D=t.vname,e},Qt=t=>{const e=Object.keys(t),n=e.indexOf("value");if(-1===n)return;const o=e.indexOf("type"),s=e.indexOf("min"),r=e.indexOf("max"),l=e.indexOf("step");(n<o||n<s||n<r||n<l)&&b('The "value" prop of <input> should be set after "min", "max", "type" and "step"')},Gt=(t,n,o,s,r,l,i,c=[])=>{let a,u,f,d;const h=r["s-sc"];if(1===l.nodeType){if(a=l.getAttribute(k),a&&(u=a.split("."),u[0]===i||"0"===u[0])){f=te({u:0,F:u[0],U:u[1],B:u[2],V:u[3],I:l.tagName.toLowerCase(),P:l,R:{class:l.className||""}}),n.push(f),l.removeAttribute(k),t.M||(t.M=[]),e.scoped&&h&&u[0]===i&&(l["s-si"]=h,f.R.class+=" "+h);const r=f.P.getAttribute("s-sn");"string"==typeof r&&("slot-fb"===f.I&&(ee(r,u[2],f,l,t,n,o,s,c),e.scoped&&h&&l.classList.add(h)),f.P["s-sn"]=r,f.P.removeAttribute("s-sn")),void 0!==f.V&&(t.M[f.V]=f),t=f,s&&"0"===f.B&&(s[f.V]=f.P)}if(l.shadowRoot)for(d=l.shadowRoot.childNodes.length-1;d>=0;d--)Gt(t,n,o,s,r,l.shadowRoot.childNodes[d],i,c);const p=l.__childNodes||l.childNodes;for(d=p.length-1;d>=0;d--)Gt(t,n,o,s,r,p[d],i,c)}else if(8===l.nodeType)u=l.nodeValue.split("."),(u[1]===i||"0"===u[1])&&(a=u[0],f=te({F:u[1],U:u[2],B:u[3],V:u[4]||"0",P:l,R:null,M:null,A:null,D:null,I:null,L:null}),"t"===a?(f.P=oe(l,3),f.P&&3===f.P.nodeType&&(f.L=f.P.textContent,n.push(f),l.remove(),i===f.F&&(t.M||(t.M=[]),t.M[f.V]=f),s&&"0"===f.B&&(s[f.V]=f.P))):"c"===a?(f.P=oe(l,8),f.P&&8===f.P.nodeType&&(n.push(f),l.remove())):f.F===i&&("s"===a?ee(l["s-sn"]=u[5]||"",u[2],f,l,t,n,o,s,c):"r"===a&&(e.shadowDom&&s?l.remove():e.slotRelocation&&(r["s-cr"]=l,l["s-cn"]=!0))));else if(t&&"style"===t.I){const e=Wt(null,l.textContent);e.P=l,e.V="0",t.M=[e]}return t},Zt=(t,e)=>{if(1===t.nodeType){const n=t[C]||t.getAttribute(C);n&&e.set(n,t);let o=0;if(t.shadowRoot)for(;o<t.shadowRoot.childNodes.length;o++)Zt(t.shadowRoot.childNodes[o],e);const s=t.__childNodes||t.childNodes;for(o=0;o<s.length;o++)Zt(s[o],e)}else if(8===t.nodeType){const n=t.nodeValue.split(".");"o"===n[0]&&(e.set(n[1]+"."+n[2],t),t.nodeValue="",t["s-en"]=n[3])}},te=t=>({u:0,F:null,U:null,B:null,V:"0",P:null,R:null,M:null,A:null,D:null,I:null,L:null,...t});function ee(t,n,o,s,r,l,i,c,a){s["s-sr"]=!0,o.D=t||null,o.I="slot";const u=(null==r?void 0:r.P)?r.P["s-id"]||r.P.getAttribute("s-id"):"";if(e.shadowDom&&c&&M.document){const e=o.P=M.document.createElement(o.I);o.D&&o.P.setAttribute("name",t),r.P.shadowRoot&&u&&u!==o.F?Lt(r.P,"insertBefore")(e,Lt(r.P,"children")[0]):Lt(Lt(s,"parentNode"),"insertBefore")(e,s),ne(a,n,t,s,o.F),s.remove(),"0"===o.B&&(c[o.V]=o.P)}else{const e=o.P,l=u&&u!==o.F&&r.P.shadowRoot;ne(a,n,t,s,l?u:o.F),ct(s),l&&r.P.insertBefore(e,r.P.children[0])}l.push(o),i.push(o),r.M||(r.M=[]),r.M[o.V]=o}var ne=(t,e,n,o,s)=>{var r,l;let i=o.nextSibling;if(t[e]=t[e]||[],i&&!(null==(r=i.nodeValue)?void 0:r.startsWith("s.")))do{!i||(i.getAttribute&&i.getAttribute("slot")||i["s-sn"])!==n&&(""!==n||i["s-sn"]||i.getAttribute&&i.getAttribute("slot")||8!==i.nodeType&&3!==i.nodeType)||(i["s-sn"]=n,t[e].push({slot:o,node:i,hostId:s})),i=null==i?void 0:i.nextSibling}while(i&&!(null==(l=i.nodeValue)?void 0:l.startsWith("s.")))},oe=(t,e)=>{let n=t;do{n=n.nextSibling}while(n&&(n.nodeType!==e||!n.nodeValue));return n},se=t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),re="-shadowcsshost",le="-shadowcssslotted",ie="-shadowcsscontext",ce=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",ae=RegExp("("+re+ce,"gim"),ue=RegExp("("+ie+ce,"gim"),fe=RegExp("("+le+ce,"gim"),de=re+"-no-combinator",he=/-shadowcsshost-no-combinator([^\s]*)/,pe=[/::shadow/g,/::content/g],me=/__part-(\d+)__/g,ve=/-shadowcsshost/gim,ge=t=>{const e=se(t);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${e}))(${e}\\b)`,"g")},$e=/\/\*\s*[\s\S]*?\*\//g,be=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,ye=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,we=/([{}])/g,Se=/(^.*?[^\\])??((:+)(.*)|$)/,je="%BLOCK%",xe=(t,e)=>{const n=Oe(t);let o=0;return n.escapedString.replace(ye,((...t)=>{const s=t[2];let r="",l=t[4],i="";l&&l.startsWith("{"+je)&&(r=n.blocks[o++],l=l.substring(8),i="{");const c=e({selector:s,content:r});return`${t[1]}${c.selector}${t[3]}${i}${c.content}${l}`}))},Oe=t=>{const e=t.split(we),n=[],o=[];let s=0,r=[];for(let t=0;t<e.length;t++){const l=e[t];"}"===l&&s--,s>0?r.push(l):(r.length>0&&(o.push(r.join("")),n.push(je),r=[]),n.push(l)),"{"===l&&s++}return r.length>0&&(o.push(r.join("")),n.push(je)),{escapedString:n.join(""),blocks:o}},Ce=(t,e,n)=>t.replace(e,((...t)=>{if(t[2]){const e=t[2].split(","),o=[];for(let s=0;s<e.length;s++){const r=e[s].trim();if(!r)break;o.push(n(de,r,t[3]))}return o.join(",")}return de+t[3]})),_e=(t,e,n)=>t+e.replace(re,"")+n,ke=(t,e,n)=>e.indexOf(re)>-1?_e(t,e,n):t+e+n+", "+e+" "+t+n,Ee=(t,e)=>t.replace(Se,((t,n="",o,s="",r="")=>n+e+s+r)),Ne=t=>t.startsWith("@media")||t.startsWith("@supports")||t.startsWith("@page")||t.startsWith("@document")||t.startsWith("@layer")||t.startsWith("@container"),Te=(t,e,n,o)=>xe(t,(t=>{let s=t.selector,r=t.content;return"@"!==t.selector[0]?s=((t,e,n,o)=>t.split(",").map((t=>o&&t.indexOf("."+o)>-1?t.trim():((t,e)=>!(t=>(t=t.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),RegExp("^("+t+")([>\\s~+[.,{:][\\s\\S]*)?$","m")))(e).test(t))(t,e)?((t,e,n)=>{const o="."+(e=e.replace(/\[is=([^\]]*)\]/g,((t,...e)=>e[0]))),s=t=>{let s=t.trim();if(!s)return"";if(t.indexOf(de)>-1)s=((t,e,n)=>{if(ve.lastIndex=0,ve.test(t)){const e="."+n;return t.replace(he,((t,n)=>Ee(n,e))).replace(ve,e+" ")}return e+" "+t})(t,e,n);else{const e=t.replace(ve,"");e.length>0&&(s=Ee(e,o))}return s},r=(t=>{const e=[];let n=0;return{content:(t=(t=t.replace(/(\[\s*part~=\s*("[^"]*"|'[^']*')\s*\])/g,((t,o)=>{const s=`__part-${n}__`;return e.push(o),n++,s}))).replace(/(\[[^\]]*\])/g,((t,o)=>{const s=`__ph-${n}__`;return e.push(o),n++,s}))).replace(/(:nth-[-\w]+)(\([^)]+\))/g,((t,o,s)=>{const r=`__ph-${n}__`;return e.push(s),n++,o+r})),placeholders:e}})(t);let l,i="",c=0;const a=/( |>|\+|~(?!=))(?=(?:[^()]*\([^()]*\))*[^()]*$)\s*/g;let u=!((t=r.content).indexOf(de)>-1);for(;null!==(l=a.exec(t));){const e=l[1],n=t.slice(c,l.index).trim();u=u||n.indexOf(de)>-1,i+=`${u?s(n):n} ${e} `,c=a.lastIndex}const f=t.substring(c);return u=!f.match(me)&&(u||f.indexOf(de)>-1),i+=u?s(f):f,((t,e)=>(e=e.replace(/__part-(\d+)__/g,((e,n)=>t[+n]))).replace(/__ph-(\d+)__/g,((e,n)=>t[+n])))(r.placeholders,i)})(t,e,n).trim():t.trim())).join(", "))(t.selector,e,n,o):Ne(t.selector)&&(r=Te(t.content,e,n,o)),{selector:s.replace(/\s{2,}/g," ").trim(),content:r}})),Le=(t,e)=>t.replace(/-shadowcsshost-no-combinator/g,"."+e),Re=(t,e)=>{const n=e+"-h",o=e+"-s",s=(t=>t.match(be)||[])(t);t=(t=>t.replace($e,""))(t);const r=[];{const e=t=>{const e=`/*!@___${r.length}___*/`;return r.push({placeholder:e,comment:`/*!@${t.selector}*/`}),t.selector=e+t.selector,t},n=t=>xe(t,(t=>"@"!==t.selector[0]?e(t):(Ne(t.selector)&&(t.content=n(t.content)),t)));t=n(t)}const l=((t,e,n,o)=>{const s=((t,e)=>{const n="."+e+" > ",o=[];return t=t.replace(fe,((...t)=>{if(t[2]){const e=t[2].trim(),s=n+e+t[3];let r="";for(let e=t[4]-1;e>=0;e--){const n=t[5][e];if("}"===n||","===n)break;r=n+r}const l=(r+s).trim(),i=`${r.trimEnd()}${s.trim()}`.trim();return l!==i&&o.push({orgSelector:l,updatedSelector:`${i}, ${l}`}),s}return de+t[3]})),{selectors:o,cssText:t}})(t=(t=>Ce(t,ue,ke))(t=(t=>Ce(t,ae,_e))(t=(t=>{const e=[];t=t.replace(/@supports\s+selector\s*\(\s*([^)]*)\s*\)/g,((t,n)=>{const o=`__supports_${e.length}__`;return e.push(n),`@supports selector(${o})`}));const n=ge("::slotted"),o=ge(":host"),s=ge(":host-context");return t=t.replace(s,"$1"+ie).replace(o,"$1"+re).replace(n,"$1"+le),e.forEach(((e,n)=>{t=t.replace(`__supports_${n}__`,e)})),t})(t))),o);return t=(t=>pe.reduce(((t,e)=>t.replace(e," ")),t))(t=s.cssText),e&&(t=Te(t,e,n,o)),{cssText:(t=(t=Le(t,n)).replace(/>\s*\*\s+([^{, ]+)/gm," $1 ")).trim(),slottedSelectors:s.selectors.map((t=>({orgSelector:Le(t.orgSelector,n),updatedSelector:Le(t.updatedSelector,n)})))}})(t,e,n,o);return t=[l.cssText,...s].join("\n"),r.forEach((({placeholder:e,comment:n})=>{t=t.replace(e,n)})),l.slottedSelectors.forEach((e=>{const n=RegExp(se(e.orgSelector)+"(?=\\s*[,{]|$)","g");t=t.replace(n,e.updatedSelector)})),t=(t=>{const e=/([^\s,{][^,{]*?)::part\(\s*([^)]+?)\s*\)((?:[:.][^,{]*)*)/g;return xe(t,(t=>{if("@"===t.selector[0])return t;const n=t.selector.split(",").map((n=>{const o=[n.trim()];let s;for(;null!==(s=e.exec(n));){const e=s[1].trimEnd(),r=s[2].trim().split(/\s+/),l=s[3]||"",i=r.flatMap((e=>t.selector.includes(`[part~="${e}"]`)?[]:[`[part~="${e}"]`])).join(""),c=`${e} ${i}${l}`;i&&c!==n.trim()&&o.push(c)}return o.join(", ")}));return t.selector=n.join(", "),t}))})(t)},Me=t=>O.map((e=>e(t))).find((t=>!!t)),Ae=t=>{if(!t)return;const e=Object.keys(t);if(0===e.length)return;let n=!1;for(const o of e){if(n)break;for(const e of t[o])if("string"==typeof e){n=!0;break}}if(!n)return t;const o={};for(const n of e)o[n]=t[n].map((t=>"string"==typeof t?{[t]:0}:t));return o},De=class t{static fromLocalValue(e){const n=e[r],o=l in e?e[l]:void 0;switch(n){case"string":case"boolean":return o;case"bigint":return BigInt(o);case"undefined":return;case"null":return null;case"number":return"NaN"===o?NaN:"-0"===o?-0:"Infinity"===o?1/0:"-Infinity"===o?-1/0:o;case"array":return o.map((e=>t.fromLocalValue(e)));case"date":return new Date(o);case"map":const e=new Map;for(const[n,s]of o){const o="object"==typeof n&&null!==n?t.fromLocalValue(n):n,r=t.fromLocalValue(s);e.set(o,r)}return e;case"object":const s={};for(const[e,n]of o)s[e]=t.fromLocalValue(n);return s;case"regexp":const{pattern:r,flags:l}=o;return RegExp(r,l);case"set":const i=new Set;for(const e of o)i.add(t.fromLocalValue(e));return i;case"symbol":return Symbol(o);default:throw Error("Unsupported type: "+n)}}static fromLocalValueArray(e){return e.map((e=>t.fromLocalValue(e)))}static isLocalValueObject(t){if("object"!=typeof t||null===t)return!1;if(!t.hasOwnProperty(r))return!1;const e=t[r];return!!Object.values({...o,...s}).includes(e)&&("null"===e||"undefined"===e||t.hasOwnProperty(l))}};var Ie,He,Pe,Fe=(t,n,o)=>(e.hydrateClientSide||e.hydrateServerSide)&&"string"==typeof t&&t.startsWith(i)?t=function(t){return"string"==typeof t&&t.startsWith(i)?De.fromLocalValue(JSON.parse(function(t){const e=atob(t),n=new Uint8Array(e.length);for(let t=0;t<e.length;t++)n[t]=e.charCodeAt(t);return(new TextDecoder).decode(n)}(t.slice(11)))):t}(t):null==t||zt(t)?t:e.propBoolean&&4&n?(e.formAssociated&&o&&"string"==typeof t||"false"!==t)&&(""===t||!!t):e.propNumber&&2&n?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:e.propString&&1&n?t+"":t,Ue=t=>{var n;return e.lazyLoad?null==(n=d(t))?void 0:n.$hostElement$:t},Be=(t,e,n)=>{const o=D.ce(e,n);return t.dispatchEvent(o),o},ze=(t,n,o,s,r,l,i)=>{if(o===s)return;let c=m(t,n),a=n.toLowerCase();if(e.vdomClass&&"class"===n){const n=t.classList,r=Xe(o);let c=Xe(s);if(e.hydrateClientSide&&(t["s-si"]||t["s-sc"])&&i){const e=t["s-sc"]||t["s-si"];c.push(e),r.forEach((t=>{t.startsWith(e)&&c.push(t)})),c=[...new Set(c)].filter((t=>t)),n.add(...c)}else{let o=r.filter((t=>t&&!c.includes(t)));if(e.hydrateClientSide&&i&&!(4&l)){const e=Je(t);o=o.filter((t=>!e.includes(t)))}n.remove(...o),n.add(...c.filter((t=>t&&!r.includes(t))))}}else if(e.vdomStyle&&"style"===n){if(e.updatable)for(const n in o)s&&null!=s[n]||(!e.hydrateServerSide&&n.includes("-")?t.style.removeProperty(n):t.style[n]="");for(const n in s)o&&s[n]===o[n]||(!e.hydrateServerSide&&n.includes("-")?t.style.setProperty(n,s[n]):t.style[n]=s[n])}else if(e.vdomKey&&"key"===n);else if(e.vdomRef&&"ref"===n)s&&gn(s,t);else if(!e.vdomListener||(e.lazyLoad?c:t.__lookupSetter__(n))||"o"!==n[0]||"n"!==n[1]){if(e.vdomPropOrAttr&&"a"===n[0]&&n.startsWith("attr:")){const o=n.slice(5);let r;if(e.member){const e=d(t);if(e&&e.o&&e.o.t){const t=e.o.t[o];t&&t[1]&&(r=t[1])}}return r||(r=o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==s||!1===s?!1===s&&""!==t.getAttribute(r)||t.removeAttribute(r):t.setAttribute(r,!0===s?"":s))}if(e.vdomPropOrAttr&&"p"===n[0]&&n.startsWith("prop:")){const e=n.slice(5);try{t[e]=s}catch(t){}return}if(e.vdomPropOrAttr){const i=zt(s);if((c||i&&null!==s)&&!r)try{if(t.tagName.includes("-"))t[n]!==s&&(t[n]=s);else{const e=null==s?"":s;"list"===n?c=!1:null!=o&&t[n]===e||("function"==typeof t.__lookupSetter__(n)?t[n]=e:t.setAttribute(n,e))}}catch(t){}let u=!1;e.vdomXlink&&a!==(a=a.replace(/^xlink\:?/,""))&&(n=a,u=!0),null==s||!1===s?(!1!==s||""===t.getAttribute(n)||4&l&&!We(n))&&(e.vdomXlink&&u?t.removeAttributeNS(L,n):t.removeAttribute(n)):(!c||4&l||r)&&!i&&1===t.nodeType&&(s=!0===s?"":s,e.vdomXlink&&u?t.setAttributeNS(L,n,s):t.setAttribute(n,s))}}else if(n="-"===n[2]?n.slice(3):m(M,a)?a.slice(2):a[2]+n.slice(3),o||s){const e=n.endsWith(qe);n=n.replace(Ke,""),o&&D.rel(t,n,o,e),s&&D.ael(t,n,s,e)}},Ve=new Set(["draggable","contenteditable","spellcheck"]),We=t=>Ve.has(t)||t.startsWith("aria-"),Ye=/\s/,Je=t=>{var n,o,s;const r=d(t);if(!(r&&2&r.u))return[];const l=Xe(null==(o=null==(n=r.W)?void 0:n.R)?void 0:o.class);return e.hydratedClass&&l.push(null!=(s=e.hydratedSelectorName)?s:"hydrated"),l},Xe=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(Ye):[]),qe="Capture",Ke=RegExp(qe+"$"),Qe=(t,n,o,s)=>{const r=11===n.P.nodeType&&n.P.host?n.P.host:n.P,l=t&&t.R||{},i=n.R||{};if(e.updatable)for(const t of Ge(Object.keys(l)))t in i||ze(r,t,l[t],void 0,o,n.u,s);for(const t of Ge(Object.keys(i)))ze(r,t,l[t],i[t],o,n.u,s)};function Ge(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var Ze=!1,tn=!1,en=!1,nn=!1,on=[],sn=[],rn=(t,n,o)=>{var s;const r=n.M[o];let l,i,c,a=0;if(e.slotRelocation&&!Ze&&(en=!0,"slot"===r.I&&(r.u|=r.M?2:1)),e.isDev&&r.P&&$(`The JSX ${null!==r.L?`"${r.L}" text`:`"${r.I}" element`} node should not be shared within the same renderer. The renderer caches element lookups in order to improve performance. However, a side effect from this is that the exact same JSX node should not be reused. For more information please see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes`),e.vdomText&&null!=r.L)l=r.P=M.document.createTextNode(r.L);else if(e.slotRelocation&&1&r.u)l=r.P=e.isDebug||e.hydrateServerSide?wn(r):M.document.createTextNode(""),e.vdomAttribute&&Qe(null,r,nn);else{if(e.svg&&!nn&&(nn="svg"===r.I),!M.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(l=r.P=e.svg?M.document.createElementNS(nn?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!Ze&&e.slotRelocation&&2&r.u?"slot-fb":r.I):M.document.createElement(!Ze&&e.slotRelocation&&2&r.u?"slot-fb":r.I),e.svg&&nn&&"foreignObject"===r.I&&(nn=!1),e.vdomAttribute&&Qe(null,r,nn),(e.scoped||e.hydrateServerSide)&&null!=Ie&&void 0!==Ie&&l["s-si"]!==Ie&&l.classList.add(l["s-si"]=Ie),r.M){const e="template"===r.I?l.content:l;for(a=0;a<r.M.length;++a)i=rn(t,r,a),i&&e.appendChild(i)}e.svg&&("svg"===r.I?nn=!1:"foreignObject"===l.tagName&&(nn=!0))}return l["s-hn"]=Pe,e.slotRelocation&&3&r.u&&(l["s-sr"]=!0,l["s-cr"]=He,l["s-sn"]=r.D||"",l["s-rf"]=null==(s=r.R)?void 0:s.ref,ct(l),c=t&&t.M&&t.M[o],c&&c.I===r.I&&t.P&&ln(t.P),(e.scoped||e.hydrateServerSide)&&bn(He,l,n.P,null==t?void 0:t.P)),l},ln=t=>{D.u|=1;const e=t.closest(Pe.toLowerCase());if(null!=e){const n=Array.from(e.__childNodes||e.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of n?o.reverse():o)null!=t["s-sh"]&&($n(e,t,null!=n?n:null),t["s-sh"]=void 0,en=!0)}D.u&=-2},cn=(t,e)=>{D.u|=1;const n=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let e=t;for(;e=e.nextSibling;)e&&e["s-sn"]===t["s-sn"]&&e["s-sh"]===Pe&&n.push(e)}for(let t=n.length-1;t>=0;t--){const o=n[t];o["s-hn"]!==Pe&&o["s-ol"]&&($n(dn(o).parentNode,o,dn(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,en=!0),e&&cn(o,e)}D.u&=-2},an=(t,n,o,s,r,l)=>{let i,c=e.slotRelocation&&t["s-cr"]&&t["s-cr"].parentNode||t;for(e.shadowDom&&c.shadowRoot&&c.tagName===Pe&&(c=c.shadowRoot),"template"===o.I&&(c=c.content);r<=l;++r)s[r]&&(i=rn(null,o,r),i&&(s[r].P=i,$n(c,i,e.slotRelocation?dn(n):n)))},un=(t,n,o)=>{for(let s=n;s<=o;++s){const n=t[s];if(n){const t=n.P;vn(n),t&&(e.slotRelocation&&(tn=!0,t["s-ol"]?t["s-ol"].remove():cn(t,!0)),t.remove())}}},fn=(t,n,o=!1)=>t.I===n.I&&(e.slotRelocation&&"slot"===t.I?t.D===n.D:e.vdomKey&&!o?t.A===n.A:(o&&!t.A&&n.A&&(t.A=n.A),!0)),dn=t=>t&&t["s-ol"]||t,hn=(t,n,o=!1)=>{const s=n.P=t.P,r=t.M,l=n.M,i=n.I,c=n.L;let a;e.vdomText&&null!=c?e.vdomText&&e.slotRelocation&&(a=s["s-cr"])?a.parentNode.textContent=c:e.vdomText&&t.L!==c&&(s.data=c):(e.svg&&(nn="svg"===i||"foreignObject"!==i&&nn),(e.vdomAttribute||e.reflect)&&(e.slot&&"slot"===i&&!Ze&&t.D!==n.D&&(n.P["s-sn"]=n.D||"",ln(n.P.parentElement)),Qe(t,n,nn,o)),e.updatable&&null!==r&&null!==l?((t,n,o,s,r=!1)=>{let l,i,c=0,a=0,u=0,f=0,d=n.length-1,h=n[0],p=n[d],m=s.length-1,v=s[0],g=s[m];const $="template"===o.I?t.content:t;for(;c<=d&&a<=m;)if(null==h)h=n[++c];else if(null==p)p=n[--d];else if(null==v)v=s[++a];else if(null==g)g=s[--m];else if(fn(h,v,r))hn(h,v,r),h=n[++c],v=s[++a];else if(fn(p,g,r))hn(p,g,r),p=n[--d],g=s[--m];else if(fn(h,g,r))!e.slotRelocation||"slot"!==h.I&&"slot"!==g.I||cn(h.P.parentNode,!1),hn(h,g,r),$n($,h.P,p.P.nextSibling),h=n[++c],g=s[--m];else if(fn(p,v,r))!e.slotRelocation||"slot"!==h.I&&"slot"!==g.I||cn(p.P.parentNode,!1),hn(p,v,r),$n($,p.P,h.P),p=n[--d],v=s[++a];else{if(u=-1,e.vdomKey)for(f=c;f<=d;++f)if(n[f]&&null!==n[f].A&&n[f].A===v.A){u=f;break}e.vdomKey&&u>=0?(i=n[u],i.I!==v.I?l=rn(n&&n[a],o,a):(hn(i,v,r),n[u]=void 0,l=i.P),v=s[++a]):(l=rn(n&&n[a],o,a),v=s[++a]),l&&(e.slotRelocation?$n(dn(h.P).parentNode,l,dn(h.P)):$n(h.P.parentNode,l,h.P))}c>d?an(t,null==s[m+1]?null:s[m+1].P,o,s,a,m):e.updatable&&a>m&&un(n,c,d)})(s,r,n,l,o):null!==l?(e.updatable&&e.vdomText&&null!==t.L&&(s.textContent=""),an(s,null,n,l,0,l.length-1)):!o&&e.updatable&&null!==r?un(r,0,r.length-1):e.hydrateClientSide&&o&&e.updatable&&null!==r&&null===l&&(n.M=r),e.svg&&nn&&"svg"===i&&(nn=!1))},pn=[],mn=t=>{let e,n,o;const s=t.__childNodes||t.childNodes;for(const t of s){if(t["s-sr"]&&(e=t["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;const s=t["s-sn"];for(o=n.length-1;o>=0;o--)if(e=n[o],!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==t["s-hn"]&&(!e["s-sh"]||e["s-sh"]!==t["s-hn"]||""!==s&&it(e)===s))if(rt(e,s)){let n=pn.find((t=>t.Y===e));tn=!0,e["s-sn"]=e["s-sn"]||s,n?(n.Y["s-sh"]=t["s-hn"],n.J=t):(e["s-sh"]=t["s-hn"],pn.push({J:t,Y:e})),e["s-sr"]&&pn.map((t=>{rt(t.Y,e["s-sn"])&&(n=pn.find((t=>t.Y===e)),n&&!t.J&&(t.J=n.J))}))}else pn.some((t=>t.Y===e))||pn.push({Y:e})}1===t.nodeType&&mn(t)}},vn=t=>{e.vdomRef&&(t.R&&t.R.ref&&on.push((()=>t.R.ref(null))),t.M&&t.M.map(vn))},gn=(t,n)=>{e.vdomRef&&sn.push((()=>t(n)))},$n=(t,n,o,s)=>{if(e.slotRelocation)if(e.scoped&&"string"==typeof n["s-sn"]&&n["s-sr"]&&n["s-cr"])bn(n["s-cr"],n,t,n.parentElement);else if("string"==typeof n["s-sn"]){e.experimentalSlotFixes&&11!==t.getRootNode().nodeType&&kt(n),t.insertBefore(n,o);const{slotNode:r}=ut(n);return r&&!s&&at(r),n}return e.slotRelocation&&(null==t?void 0:t.__insertBefore)?t.__insertBefore(n,o):null==t?void 0:t.insertBefore(n,o)};function bn(t,e,n,o){var s,r;let l;if(t&&"string"==typeof e["s-sn"]&&e["s-sr"]&&t.parentNode&&t.parentNode["s-sc"]&&(l=e["s-si"]||t.parentNode["s-sc"])){const t=e["s-sn"],i=e["s-hn"];if(null==(s=n.classList)||s.add(l+"-s"),o&&(null==(r=o.classList)?void 0:r.contains(l+"-s"))){let e=(o.__childNodes||o.childNodes)[0],n=!1;for(;e;){if(e["s-sn"]!==t&&e["s-hn"]===i&&e["s-sr"]){n=!0;break}e=e.nextSibling}n||o.classList.remove(l+"-s")}}}var yn=(t,n,o=!1)=>{var s,r,l,i,c;const a=t.$hostElement$,u=t.o,f=t.W||Wt(null,null),d=Jt(n)?n:Vt(null,null,n);if(Pe=a.tagName,e.isDev&&Array.isArray(n)&&n.some(Jt))throw Error(`The <Host> must be the single root component.\nLooks like the render() function of "${Pe.toLowerCase()}" is returning an array that contains the <Host>.\n\nThe render() function should look like this instead:\n\nrender() {\n // Do not return an array\n return (\n <Host>{content}</Host>\n );\n}\n `);if(e.reflect&&u.X&&(d.R=d.R||{},u.X.forEach((([n,o])=>{d.R[o]=e.serializer&&t.p.has(n)?t.p.get(n):a[n]}))),o&&d.R)for(const t of Object.keys(d.R))a.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(d.R[t]=a[t]);if(d.I=null,d.u|=4,t.W=d,d.P=f.P=e.shadowDom&&a.shadowRoot||a,(e.scoped||e.shadowDom)&&(Ie=a["s-sc"]),Ze=I&&!!(1&u.u)&&!(128&u.u),e.slotRelocation&&(He=a["s-cr"],tn=!1),hn(f,d,o),e.slotRelocation){if(D.u|=1,en){mn(d.P);for(const t of pn){const n=t.Y;if(!n["s-ol"]&&M.document){const t=e.isDebug||e.hydrateServerSide?Sn(n):M.document.createTextNode("");t["s-nr"]=n,$n(n.parentNode,n["s-ol"]=t,n,o)}}for(const t of pn){const n=t.Y,c=t.J;if(1===n.nodeType&&o&&(n["s-ih"]=null!=(s=n.hidden)&&s),c){const t=c.parentNode;let s=c.nextSibling;if(!e.hydrateServerSide&&s&&1===s.nodeType){let e=null==(r=n["s-ol"])?void 0:r.previousSibling;for(;e;){let o=null!=(l=e["s-nr"])?l:null;if(o&&o["s-sn"]===n["s-sn"]&&t===(o.__parentNode||o.parentNode)){for(o=o.nextSibling;o===n||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){s=o;break}}e=e.previousSibling}}if((!s&&t!==(n.__parentNode||n.parentNode)||(n.__nextSibling||n.nextSibling)!==s)&&n!==s){if($n(t,n,s,o),8===n.nodeType&&n.nodeValue.startsWith("s-nt-")){const t=M.document.createTextNode(n.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=n["s-hn"],t["s-sn"]=n["s-sn"],t["s-sh"]=n["s-sh"],t["s-sr"]=n["s-sr"],t["s-ol"]=n["s-ol"],t["s-ol"]["s-nr"]=t,$n(n.parentNode,t,n,o),n.parentNode.removeChild(n)}1===n.nodeType&&"SLOT-FB"!==n.tagName&&(n.hidden=null!=(i=n["s-ih"])&&i)}n&&"function"==typeof c["s-rf"]&&c["s-rf"](c)}else 1===n.nodeType&&(n.hidden=!0)}}tn&&et(d.P),D.u&=-2,pn.length=0}if(e.slotRelocation&&!Ze&&!(1&u.u)&&a["s-cr"]){const t=d.P.__childNodes||d.P.childNodes;for(const e of t)if(e["s-hn"]!==Pe&&!e["s-sh"])if(o&&null==e["s-ih"]&&(e["s-ih"]=null!=(c=e.hidden)&&c),1===e.nodeType)e.hidden=!0;else if(3===e.nodeType&&e.nodeValue.trim()){const t=M.document.createComment("s-nt-"+e.nodeValue);t["s-sn"]=e["s-sn"],$n(e.parentNode,t,e,o),e.parentNode.removeChild(e)}}He=void 0,e.vdomRef&&(on.forEach((t=>t())),on.length=0,sn.forEach((t=>t())),sn.length=0)},wn=t=>{var e;return null==(e=M.document)?void 0:e.createComment(`<slot${t.D?' name="'+t.D+'"':""}> (host=${Pe.toLowerCase()})`)},Sn=t=>{var e;return null==(e=M.document)?void 0:e.createComment("org-location for "+(t.localName?`<${t.localName}> (host=${t["s-hn"]})`:`[${t.textContent}]`))},jn=(t,n)=>{if(e.asyncLoading&&n&&!t.q&&n["s-p"]){const e=n["s-p"].push(new Promise((o=>t.q=()=>{n["s-p"].splice(e-1,1),o()})))}},xn=(t,n)=>{if(e.updatable&&(t.u|=16),e.asyncLoading&&4&t.u)return void(t.u|=512);jn(t,t.K);const o=()=>On(t,n);if(!n)return e.taskQueue?Z(o):o();queueMicrotask((()=>{o()}))},On=(t,n)=>{const o=t.$hostElement$,s=Mt("scheduleUpdate",t.o.C),r=e.lazyLoad?t.i:o;if(!r)throw Error(`Can't render component <${o.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`);let l;return n?(e.lazyLoad&&(e.slotRelocation&&t.G&&(t.G=!1,Mn(r,"connectedCallback",void 0,o)),e.hostListener&&(t.u|=256,t.Z&&(t.Z.map((([t,e])=>Mn(r,t,e,o))),t.Z=void 0)),t.O.length&&t.O.forEach((t=>t(o)))),An(o,"componentWillLoad"),l=Mn(r,"componentWillLoad",void 0,o)):(An(o,"componentWillUpdate"),l=Mn(r,"componentWillUpdate",void 0,o)),An(o,"componentWillRender"),l=Cn(l,(()=>Mn(r,"componentWillRender",void 0,o))),s(),Cn(l,(()=>kn(t,r,n)))},Cn=(t,e)=>_n(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),_n=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,kn=async(t,n,o)=>{var s;const r=t.$hostElement$,l=Mt("update",t.o.C),i=r["s-rc"];e.style&&o&&Pt(t);const c=Mt("render",t.o.C);if(e.isDev&&(t.u|=2048),e.hydrateServerSide?await Nn(t,n,r,o):Nn(t,n,r,o),e.isDev&&(t.m=void 0===t.m?1:t.m+1,t.u&=-2049),e.hydrateServerSide)try{In(r),o&&(1&t.o.u?r["s-en"]="":2&t.o.u&&(r["s-en"]="c"))}catch(t){v(t,r)}if(e.asyncLoading&&i&&(i.map((t=>t())),r["s-rc"]=void 0),c(),l(),e.asyncLoading){const e=null!=(s=r["s-p"])?s:[],n=()=>Tn(t);0===e.length?n():(Promise.all(e).then(n).catch(n),t.u|=4,e.length=0)}else Tn(t)},En=null,Nn=(t,n,o,s)=>{const r=!!e.allRenderFn,l=!!e.lazyLoad,i=!!e.updatable;try{if(En=n,n=(r||n.render)&&n.render(),i&&(t.u&=-17),(i||l)&&(t.u|=2),e.hasRenderFn||e.reflect)if(e.vdomRender||e.reflect){if(e.hydrateServerSide)return Promise.resolve(n).then((e=>yn(t,e,s)));yn(t,n,s)}else 1&t.o.u?o.shadowRoot.textContent=n:o.textContent=n}catch(e){v(e,t.$hostElement$)}return En=null,null},Tn=t=>{const n=t.o.C,o=t.$hostElement$,s=Mt("postUpdate",n),r=e.lazyLoad?t.i:o,l=t.K;e.isDev&&(t.u|=2048),Mn(r,"componentDidRender",void 0,o),e.isDev&&(t.u&=-2049),An(o,"componentDidRender"),64&t.u?(e.isDev&&(t.u|=2048),Mn(r,"componentDidUpdate",void 0,o),e.isDev&&(t.u&=-2049),An(o,"componentDidUpdate"),s()):(t.u|=64,e.asyncLoading&&e.cssAnnotations&&Dn(o),e.isDev&&(t.u|=4096),Mn(r,"componentDidLoad",void 0,o),e.isDev&&(t.u&=-4097),An(o,"componentDidLoad"),s(),e.asyncLoading&&(t.j(o),l||Rn(n))),e.method&&e.lazyLoad&&t.$(o),e.asyncLoading&&(t.q&&(t.q(),t.q=void 0),512&t.u&&Q((()=>xn(t,!1))),t.u&=-517)},Ln=t=>{var o;if(e.updatable&&(n.isBrowser||n.isTesting)){const e=d(t),n=null==(o=null==e?void 0:e.$hostElement$)?void 0:o.isConnected;return n&&2==(18&e.u)&&xn(e,!1),n}return!1},Rn=n=>{var o;e.asyncQueue&&(D.u|=2),Q((()=>Be(M,"appload",{detail:{namespace:t}}))),e.hydrateClientSide&&(null==(o=D.tt)?void 0:o.size)&&D.tt.clear(),e.profile&&performance.measure&&performance.measure(`[Stencil] ${t} initial load (by ${n})`,"st:app:start")},Mn=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){v(t,o)}},An=(n,o)=>{e.lifecycleDOMEvents&&Be(n,"stencil_"+o,{bubbles:!0,composed:!0,detail:{namespace:t}})},Dn=t=>{var n,o;return e.hydratedClass?t.classList.add(null!=(n=e.hydratedSelectorName)?n:"hydrated"):e.hydratedAttribute?t.setAttribute(null!=(o=e.hydratedSelectorName)?o:"hydrated",""):void 0},In=t=>{const e=t.children;if(null!=e)for(let t=0,n=e.length;t<n;t++){const n=e[t];"function"==typeof n.connectedCallback&&n.connectedCallback(),In(n)}},Hn=(t,e)=>d(t).l.get(e),Pn=(t,n,o,s)=>{const r=d(t);if(!r)return;if(e.lazyLoad&&!r)throw Error(`Couldn't find host element for "${s.C}" 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).`);if(e.serializer&&r.p.has(n)&&r.p.get(n)===o)return;const l=e.lazyLoad?r.$hostElement$:t,i=r.l.get(n),c=r.u,a=e.lazyLoad?r.i:l;if(o=Fe(o,s.t[n][0],e.formAssociated&&!!(64&s.u)),!(e.lazyLoad&&8&c&&void 0!==i||o===i||Number.isNaN(i)&&Number.isNaN(o))){if(r.l.set(n,o),e.serializer&&e.reflect&&s.X&&s.et&&s.et[n]){const t=t=>{let e=o;for(const o of s.et[n]){const[[s]]=Object.entries(o);e=t[s](e,n)}r.p.set(n,e)};a?t(a):r.O.push((()=>{t(r.i)}))}if(e.isDev&&(2048&r.u?b(`The state/prop "${n}" changed during rendering. This can potentially lead to infinite-loops and other bugs.`,"\nElement",l,"\nNew value",o,"\nOld value",i):4096&r.u&&b(`The state/prop "${n}" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"`,"\nElement",l,"\nNew value",o,"\nOld value",i)),e.propChangeCallback&&s.nt){const t=s.nt[n];t&&t.map((t=>{try{const[[e,s]]=Object.entries(t);(128&c||1&s)&&(a?a[e](o,i,n):r.O.push((()=>{r.i[e](o,i,n)})))}catch(t){v(t,l)}}))}if(e.updatable&&2&c){if(a.componentShouldUpdate&&!1===a.componentShouldUpdate(o,i,n)&&!(16&c))return;16&c||xn(r,!1)}}},Fn=(t,n,o)=>{var s,r;const l=t.prototype;if(e.isTesting){if(l.__stencilAugmented)return;l.__stencilAugmented=!0}if(e.formAssociated&&64&n.u&&1&o&&R.forEach((t=>{const n=l[t];Object.defineProperty(l,t,{value(...o){var s;const r=d(this),l=e.lazyLoad?null==r?void 0:r.i:this;if(l){const s=e.lazyLoad?l[t]:n;"function"==typeof s&&s.call(l,...o)}else null==(s=null==r?void 0:r.S)||s.then((e=>{const n=e[t];"function"==typeof n&&n.call(e,...o)}))}})})),e.member&&n.t||e.propChangeCallback){e.propChangeCallback&&(t.watchers&&!n.nt&&(n.nt=Ae(t.watchers)),t.deserializers&&!n.ot&&(n.ot=t.deserializers),t.serializers&&!n.et&&(n.et=t.serializers));const i=Object.entries(null!=(s=n.t)?s:{});if(i.map((([t,[s]])=>{if((e.prop||e.state)&&(31&s||(!e.lazyLoad||2&o)&&32&s)){const{get:r,set:i}=c(l,t)||{};r&&(n.t[t][0]|=2048),i&&(n.t[t][0]|=4096),(1&o||!r)&&Object.defineProperty(l,t,{get(){if(e.lazyLoad){if(!(2048&n.t[t][0]))return Hn(this,t);const e=d(this);return e?e.i?e.i[t]:Hn(this,t):l[t]}if(!e.lazyLoad)return r?r.apply(this):Hn(this,t)},configurable:!0,enumerable:!0}),Object.defineProperty(l,t,{set(r){const l=d(this);if(l){if(e.isDev&&(1&o||4096&n.t[t][0]||0!==(l&&8&l.u)||!(31&s)||1024&s||b(`@Prop() "${t}" on <${n.C}> is immutable but was modified from within the component.\nMore information: https://stenciljs.com/docs/properties#prop-mutability`)),i)return void 0===(32&s?this[t]:l.$hostElement$[t])&&l.l.get(t)&&(r=l.l.get(t)),i.call(this,Fe(r,s,e.formAssociated&&!!(64&n.u))),void Pn(this,t,r=32&s?this[t]:l.$hostElement$[t],n);if(e.lazyLoad){if(e.lazyLoad){if(!(1&o&&4096&n.t[t][0]))return void Pn(this,t,r,n);const i=Fe(r,s,e.formAssociated&&!!(64&n.u));if(l.i){const e=l.i[t];!l.l.get(t)&&e&&l.l.set(t,e),l.i[t]=i,Pn(this,t,l.i[t],n)}else l.l.set(t,i)}}else Pn(this,t,r,n)}}})}else e.lazyLoad&&e.method&&1&o&&64&s&&Object.defineProperty(l,t,{value(...e){var n;const o=d(this);return null==(n=null==o?void 0:o.v)?void 0:n.then((()=>{var n;return null==(n=o.i)?void 0:n[t](...e)}))}})})),e.observeAttribute&&(!e.lazyLoad||1&o)){const o=new Map;l.attributeChangedCallback=function(t,s,r){D.jmp((()=>{var c;const a=o.get(t),u=d(this);if(e.serializer&&u.p.has(a)&&u.p.get(a)===r)return;if(this.hasOwnProperty(a)&&e.lazyLoad&&(r=this[a],delete this[a]),e.deserializer&&n.ot&&n.ot[a]){const t=(t,e)=>{const n=null==e?void 0:e[t](r,a);n!==this[a]&&(this[a]=n)};for(const o of n.ot[a]){const[[n]]=Object.entries(o);e.lazyLoad?u.i?t(n,u.i):u.O.push((()=>{t(n,u.i)})):t(n,this)}return}if(l.hasOwnProperty(a)&&"number"==typeof this[a]&&this[a]==r)return;if(null==a){const o=null==u?void 0:u.u;if(u&&o&&!(8&o)&&r!==s){const l=e.lazyLoad?u.i:e.lazyLoad?u.$hostElement$:this,i=null==(c=n.nt)?void 0:c[t];null==i||i.forEach((e=>{const[[n,i]]=Object.entries(e);null!=l[n]&&(128&o||1&i)&&l[n].call(l,r,s,t)}))}return}const f=i.find((([t])=>t===a)),h=f?f[1][0]:0,p=4&h;if(e.reflect&&512&h&&8&h&&!zt(this[a])&&(t=>null==t||!1===t?null:!0===t?"":t+"")(this[a])===r)return;const m=p&&null===r&&void 0===this[a];p&&(r=!(null===r||"false"===r&&!(e.formAssociated&&64&n.u)));const v=Object.getOwnPropertyDescriptor(l,a);m||r==this[a]||v.get&&!v.set||(this[a]=r)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(r=n.nt)?r:{}),...i.filter((([t,e])=>31&e[0])).map((([t,s])=>{var r;const l=s[1]||t;return o.set(l,t),e.reflect&&512&s[0]&&(null==(r=n.X)||r.push([t,l])),l}))]))}}return t},Un=async(t,n,o,s)=>{var r;let l;try{if(!(32&n.u)){if(n.u|=32,n.u&=-1025,e.lazyLoad&&o._){const i=j(o,n,s);if(i&&"then"in i){const t=((t,n)=>e.profile&&performance.mark?(0===performance.getEntriesByName(t,"mark").length&&performance.mark(t),()=>{0===performance.getEntriesByName(n,"measure").length&&performance.measure(n,t)}):()=>{})(`st:load:${o.C}:${n.k}`,`[Stencil] Load module for <${o.C}>`);l=await i,t()}else l=i;if(!l)throw n.u&=-33,n.st=(null!=(r=n.st)?r:0)+1,n.st<3&&(n.u|=1024),Error(`Constructor for "${o.C}#${n.k}" was not found`);e.member&&!l.isProxied&&(e.propChangeCallback&&(o.nt=Ae(l.watchers),o.et=l.serializers,o.ot=l.deserializers),Fn(l,o,2),l.isProxied=!0);const c=Mt("createInstance",o.C);e.member&&(n.u|=8);try{new l(n)}catch(e){v(e,t)}e.member&&(n.u&=-9,((t,e)=>{var n;const o=t.i;if(o)for(const[s,[r]]of Object.entries(null!=(n=e.t)?n:{}))if(4096&r&&t.l.has(s)){const e=t.l.get(s);o[s]!==e&&(o[s]=e)}})(n,o)),e.propChangeCallback&&(n.u|=128),c(),e.slotRelocation&&4&o.u?n.G=!0:Bn(n.i,t)}else l=t.constructor,customElements.whenDefined(t.localName).then((()=>n.u|=128));if(e.style&&l&&l.style){let r;"string"==typeof l.style?r=l.style:e.mode&&"string"!=typeof l.style&&(n.k=Me(t),n.k&&(r=l.style[n.k]),e.hydrateServerSide&&n.k&&t.setAttribute("s-mode",n.k));const i=Ft(o,n.k);if(!x.has(i)||e.hotModuleReplacement&&s){const t=Mt("registerStyles",o.C);e.hydrateServerSide&&e.shadowDom&&128&o.u&&(r=Re(r,i)),It(i,r,!!(1&o.u)),t()}}}const i=n.K,c=()=>xn(n,!0);e.asyncLoading&&i&&i["s-rc"]?i["s-rc"].push(c):c()}catch(o){v(o,t),e.asyncLoading&&n.q&&(n.q(),n.q=void 0),!e.asyncLoading||!n.j||1024&n.u||n.j(t)}},Bn=(t,n)=>{e.lazyLoad&&Mn(t,"connectedCallback",void 0,n)},zn=t=>{if(!(1&D.u)){const n=d(t);if(!n)return;const o=n.o,s=Mt("connectedCallback",o.C);if(e.hostListenerTargetParent&&qn(t,n,o.rt,!0),1&n.u)qn(t,n,o.rt,!1),(null==n?void 0:n.i)?Bn(n.i,t):1024&n.u?setTimeout((()=>Un(t,n,o)),1e3):(null==n?void 0:n.S)&&n.S.then((()=>Bn(n.i,t)));else{let s;if(n.u|=1,e.hydrateClientSide&&(s=t.getAttribute(C),s)){if(e.shadowDom&&I&&1&o.u){const n=e.mode?Ht(t.shadowRoot,o,t.getAttribute("s-mode")):Ht(t.shadowRoot,o);t.classList.remove(n+"-h",n+"-s")}else if(e.scoped&&2&o.u){const n=Ft(o,e.mode?t.getAttribute("s-mode"):void 0);t["s-sc"]=n}((t,n,o,s)=>{var r,l,i,c;const a=Mt("hydrateClient",n),u=t.shadowRoot,f=[],h=[],p=[],m=e.shadowDom&&u?[]:null,v=Wt(n,null);let g;if(v.P=t,e.scoped){const e=s.o;e&&10&e.u&&t["s-sc"]?(g=t["s-sc"],t.classList.add(g+"-h")):t["s-sc"]&&delete t["s-sc"]}!M.document||D.tt&&D.tt.size||Zt(M.document.body,D.tt=new Map),t[C]=o,t.removeAttribute(C),s.W=Gt(v,f,h,m,t,t,o,p);let $=0;const b=f.length;let y;for(;$<b;$++){y=f[$];const o=y.F+"."+y.U,s=D.tt.get(o),l=y.P;if(u){if((null==(r=y.I)?void 0:(""+r).includes("-"))&&"slot-fb"!==y.I&&!y.P.shadowRoot){const t=d(y.P);if(t){const n=Ft(t.o,e.mode?y.P.getAttribute("s-mode"):void 0),o=M.document.querySelector(`style[sty-id="${n}"]`);o&&m.unshift(o.cloneNode(!0))}}}else l["s-hn"]=oo(n).toUpperCase(),"slot"===y.I&&(l["s-cr"]=t["s-cr"]);"slot"===y.I&&(y.D=y.P["s-sn"]||y.P.name||null,y.M?(y.u|=2,y.P.childNodes.length||y.M.forEach((t=>{y.P.appendChild(t.P)}))):y.u|=1),s&&s.isConnected&&(s.parentElement.shadowRoot&&""===s["s-en"]&&s.parentNode.insertBefore(l,s.nextSibling),s.parentNode.removeChild(s),u||(l["s-oo"]=parseInt(y.U))),s&&!s["s-id"]&&D.tt.delete(o)}const w=[],S=p.length;let j,x,O,_,k=0,E=0;for(;k<S;k++)if(j=p[k],j&&j.length)for(O=j.length,x=0;x<O;x++){if(_=j[x],w[_.hostId]||(w[_.hostId]=D.tt.get(_.hostId)),!w[_.hostId])continue;const t=w[_.hostId];t.shadowRoot&&_.node.parentElement!==t&&t.insertBefore(_.node,null==(i=null==(l=j[x-1])?void 0:l.node)?void 0:i.nextSibling),t.shadowRoot&&u||(_.slot["s-cr"]||(_.slot["s-cr"]=t["s-cr"],_.slot["s-cr"]=!_.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0]),lt(_.node,_.slot,!1,_.node["s-oo"]||E),(null==(c=_.node.parentElement)?void 0:c.shadowRoot)&&_.node.getAttribute&&_.node.getAttribute("slot")&&_.node.removeAttribute("slot"),e.experimentalSlotFixes&&jt(_.node)),E=(_.node["s-oo"]||E)+1}if(e.scoped&&g&&h.length&&h.forEach((t=>{t.P.parentElement.classList.add(g+"-s")})),e.shadowDom&&u&&!u.childNodes.length){let e=0;const n=m.length;if(n){for(;e<n;e++){const t=m[e];t&&u.appendChild(t)}Array.from(t.childNodes).forEach((t=>{"string"!=typeof t["s-en"]&&"string"!=typeof t["s-sn"]&&(1===t.nodeType&&t.slot&&t.hidden?t.removeAttribute("hidden"):8!==t.nodeType||t.nodeValue||t.parentNode.removeChild(t))}))}}s.$hostElement$=t,a()})(t,o.C,s,n)}if(e.slotRelocation&&!s&&(e.hydrateServerSide||(e.slot||e.shadowDom)&&12&o.u)&&Vn(t),e.asyncLoading){let o=t;for(;o=o.parentNode||o.host;)if(e.hydrateClientSide&&1===o.nodeType&&o.hasAttribute("s-id")&&o["s-p"]||o["s-p"]){jn(n,n.K=o);break}}e.prop&&!e.hydrateServerSide&&o.t&&Object.entries(o.t).map((([e,[n]])=>{if(31&n&&Object.prototype.hasOwnProperty.call(t,e)){const n=t[e];delete t[e],t[e]=n}})),e.initializeNextTick?Q((()=>Un(t,n,o))):Un(t,n,o)}s()}},Vn=t=>{if(!M.document)return;const n=t["s-cr"]=M.document.createComment(e.isDebug?`content-ref (host=${t.localName})`:"");n["s-cn"]=!0,$n(t,n,t.firstChild)},Wn=(t,n)=>{e.lazyLoad&&Mn(t,"disconnectedCallback",void 0,n||t)},Yn=async t=>{if(!(1&D.u)){const n=d(t);e.hostListener&&(null==n?void 0:n.lt)&&(n.lt.map((t=>t())),n.lt=void 0),e.lazyLoad?(null==n?void 0:n.i)?Wn(n.i,t):(null==n?void 0:n.S)&&n.S.then((()=>Wn(n.i,t))):Wn(t)}Dt.has(t)&&Dt.delete(t),t.shadowRoot&&Dt.has(t.shadowRoot)&&Dt.delete(t.shadowRoot)},Jn=(t,n)=>{e.profile&&performance.mark&&0===performance.getEntriesByName("st:app:start","mark").length&&performance.mark("st:app:start");const o={u:n[0],C:n[1]};try{e.member&&(o.t=n[2]),e.hostListener&&(o.rt=n[3]),e.propChangeCallback&&(o.nt=Ae(t.nt),o.ot=t.ot,o.et=t.et),e.reflect&&(o.X=[]),e.shadowDom&&!I&&1&o.u&&(o.u|=8),!(1&o.u)&&256&o.u?e.experimentalSlotFixes?ft(t.prototype):(e.slotChildNodesFix&&St(t.prototype),e.cloneNodeFix&&dt(t.prototype),e.appendChildSlotFix&&ht(t.prototype),e.scopedSlotTextContentFix&&2&o.u&&wt(t.prototype)):e.cloneNodeFix&&dt(t.prototype),e.hydrateClientSide&&e.shadowDom&&Bt();const s=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){p(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const t=d(this);if(!t)return;qn(this,t,o.rt,!1),this.__hasHostListenerAttached=!0}zn(this),s&&s.call(this)},disconnectedCallback(){Yn(this),r&&r.call(this)},__attachShadow(){if(I)if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${o.C}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else tt.call(this,o);else this.shadowRoot=this}}),Object.defineProperty(t,"is",{value:o.C,configurable:!0}),Fn(t,o,3)}catch(e){return v(e),t}},Xn=(t,n={})=>{var o;if(e.profile&&performance.mark&&performance.mark("st:app:start"),(()=>{if(e.devTools){const t=M.stencil=M.stencil||{},e=t.inspect;t.inspect=t=>{let n=(t=>{const e=d(t);if(!e)return;const n=e.u,o=e.$hostElement$;return{renderCount:e.m,flags:{hasRendered:!!(2&n),hasConnected:!!(1&n),isWaitingForChildren:!!(4&n),isConstructingInstance:!!(8&n),isQueuedForUpdate:!!(16&n),hasInitializedComponent:!!(32&n),hasLoadedComponent:!!(64&n),isWatchReady:!!(128&n),isListenReady:!!(256&n),needsRerender:!!(512&n)},instanceValues:e.l,serializerValues:e.p,ancestorComponent:e.K,hostElement:o,lazyInstance:e.i,vnode:e.W,modeName:e.k,fetchedCbList:e.O,onReadyPromise:e.S,onReadyResolve:e.j,onInstancePromise:e.v,onInstanceResolve:e.$,onRenderResolve:e.q,queuedListeners:e.Z,rmListeners:e.lt,"s-id":o["s-id"],"s-cr":o["s-cr"],"s-lr":o["s-lr"],"s-p":o["s-p"],"s-rc":o["s-rc"],"s-sc":o["s-sc"]}})(t);return n||"function"!=typeof e||(n=e(t)),n}}})(),!M.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const s=Mt("bootstrapLazy"),r=[],l=n.exclude||[],i=M.customElements,c=M.document.head,a=c.querySelector("meta[charset]"),u=M.document.createElement("style"),f=[];let h,m=!0;Object.assign(D,n),D.N=new URL(n.resourcesUrl||"./",M.document.baseURI).href,e.asyncQueue&&n.syncQueue&&(D.u|=4),e.hydrateClientSide&&(D.u|=2),e.hydrateClientSide&&e.shadowDom&&Bt();let v=!1;if(t.map((t=>{t[1].map((o=>{var s,c;const a={u:o[0],C:o[1],t:o[2],rt:o[3]};4&a.u&&(v=!0),e.member&&(a.t=o[2]),e.hostListener&&(a.rt=o[3]),e.reflect&&(a.X=[]),e.propChangeCallback&&(a.nt=Ae(o[4]),a.et=null!=(s=o[5])?s:{},a.ot=null!=(c=o[6])?c:{}),e.shadowDom&&!I&&1&a.u&&(a.u|=8);const u=e.transformTagName&&n.transformTagName?n.transformTagName(a.C):oo(a.C),g=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){if(super(t),p(t=this,a),e.shadowDom&&1&a.u)if(I)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${a.C}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else tt.call(t,a);else e.hydrateServerSide||"shadowRoot"in t||(t.shadowRoot=t)}connectedCallback(){const t=d(this);t&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,qn(this,t,a.rt,!1)),h&&(clearTimeout(h),h=null),m?f.push(this):D.jmp((()=>zn(this))))}disconnectedCallback(){D.jmp((()=>Yn(this))),Q((()=>{var t;const e=d(this);if(!e)return;const n=f.findIndex((t=>t===this));n>-1&&f.splice(n,1),(null==(t=null==e?void 0:e.W)?void 0:t.P)instanceof Node&&!e.W.P.isConnected&&delete e.W.P}))}componentOnReady(){var t;return null==(t=d(this))?void 0:t.S}};!(1&a.u)&&256&a.u?e.experimentalSlotFixes?ft(g.prototype):(e.slotChildNodesFix&&St(g.prototype),e.cloneNodeFix&&dt(g.prototype),e.appendChildSlotFix&&ht(g.prototype),e.scopedSlotTextContentFix&&2&a.u&&wt(g.prototype)):e.cloneNodeFix&&dt(g.prototype),e.formAssociated&&64&a.u&&(g.formAssociated=!0),e.hotModuleReplacement&&(g.prototype["s-hmr"]=function(t){((t,e,n)=>{const o=d(t);o&&(o.u=1,Un(t,o,e,n))})(this,a,t)}),a._=t[0],l.includes(u)||i.get(u)||(r.push(u),i.define(u,Fn(g,a,1)))}))})),r.length>0&&(e.slotRelocation&&v&&(u.textContent+=T),e.invisiblePrehydration&&(e.hydratedClass||e.hydratedAttribute)&&(u.textContent+=r.sort()+"{visibility:hidden}.hydrated{visibility:inherit}"),u.innerHTML.length)){u.setAttribute("data-styles","");const t=null!=(o=D.T)?o:At(M.document);null!=t&&u.setAttribute("nonce",t),c.insertBefore(u,a?a.nextSibling:c.firstChild)}m=!1,f.length?f.map((t=>t.connectedCallback())):D.jmp(e.profile?()=>h=setTimeout(Rn,30,"timeout"):()=>h=setTimeout(Rn,30)),s()},qn=(t,n,o,s)=>{e.hostListener&&o&&M.document&&(e.hostListenerTargetParent&&(o=o.filter(s?([t])=>32&t:([t])=>!(32&t))),o.map((([o,s,r])=>{const l=e.hostListenerTarget?Qn(M.document,t,o):t,i=Kn(n,r),c=Gn(o);D.ael(l,s,i,c),(n.lt=n.lt||[]).push((()=>D.rel(l,s,i,c)))})))},Kn=(t,n)=>o=>{var s;try{e.lazyLoad?256&t.u?null==(s=t.i)||s[n](o):(t.Z=t.Z||[]).push([n,o]):t.$hostElement$[n](o)}catch(e){v(e,t.$hostElement$)}},Qn=(t,n,o)=>e.hostListenerTargetDocument&&4&o?t:e.hostListenerTargetWindow&&8&o?M:e.hostListenerTargetBody&&16&o?t.body:e.hostListenerTargetParent&&32&o&&n.parentElement?n.parentElement:n,Gn=t=>({passive:!!(1&t),capture:!!(2&t)}),Zn=e.lazyLoad?class{}:globalThis.HTMLElement||class{},to=t=>D.T=t,eo=new WeakMap,no=void 0;function oo(t){return no?no(t):t}function so(t,e,n){const o=e||{},{children:s,...r}=o;let l=r;return void 0===n||"key"in r||(l={...r,key:n}),l&&0===Object.keys(l).length&&(l=null),void 0!==s?Array.isArray(s)?Vt(t,l,...s):Vt(t,l,s):Vt(t,l)}var ro=(t,e,n,o)=>{var s;null!=e&&(null!=e["s-nr"]&&o.push(e),1===e.nodeType)&&[...Array.from(e.childNodes),...Array.from((null==(s=e.shadowRoot)?void 0:s.childNodes)||[])].forEach((e=>{const s=d(e);null==s||n.staticComponents.has(e.nodeName.toLowerCase())||lo(t,e,s.W,n,{nodeIds:0}),ro(t,e,n,o)}))},lo=(t,e,n,o,s)=>{if(null!=n){const r=++o.hostIds;if(e.setAttribute(C,r),null!=e["s-cr"]&&(e["s-cr"].nodeValue="r."+r),null!=n.M){const e=0;n.M.forEach(((n,o)=>{io(t,n,s,r,e,o)}))}if(e&&n&&n.P&&!e.hasAttribute(k)){const t=e.parentElement;if(t&&t.childNodes){const o=Array.from(t.childNodes),s=o.find((t=>8===t.nodeType&&t["s-sr"]));if(s){const t=o.indexOf(e)-1;n.P.setAttribute(k,`${s["s-host-id"]}.${s["s-node-id"]}.0.${t}`)}}}}},io=(t,e,n,o,s,r)=>{const l=e.P;if(null==l)return;const i=n.nodeIds++,c=`${o}.${i}.${s}.${r}`;if(l["s-host-id"]=o,l["s-node-id"]=i,1===l.nodeType)l.setAttribute(k,c),"string"!=typeof l["s-sn"]||l.getAttribute("slot")||l.setAttribute("s-sn",l["s-sn"]);else if(3===l.nodeType){const e=l.parentNode,n=null==e?void 0:e.nodeName;if("STYLE"!==n&&"SCRIPT"!==n){const n=t.createComment("t."+c);$n(e,n,l)}}else 8===l.nodeType&&l["s-sr"]&&(l.nodeValue=`s.${c}.${l["s-sn"]||""}`);if(null!=e.M){const r=s+1;e.M.forEach(((e,s)=>{io(t,e,n,o,r,s)}))}},co=Object.freeze({__proto__:null,BUILD:e,Build:n,Env:{},Fragment:(t,e)=>e,H:A,HTMLElement:A,HYDRATED_STYLE_ID:_,Host:Yt,Mixin:function(...t){return t.reduceRight(((t,e)=>e(t)),Zn)},NAMESPACE:t,STENCIL_DEV_MODE:g,addHostEventListeners:qn,bootstrapLazy:Xn,cmpModules:w,connectedCallback:zn,consoleDevError:$,consoleDevInfo:y,consoleDevWarn:b,consoleError:v,createEvent:(t,n,o)=>{const s=Ue(t);return{emit:t=>(e.isDev&&!s.isConnected&&b(`The "${n}" event was emitted, but the dispatcher node is no longer connected to the dom.`),Be(s,n,{bubbles:!!(4&o),composed:!!(2&o),cancelable:!!(1&o),detail:t}))}},defineCustomElement:(t,e)=>{customElements.define(oo(e[1]),Jn(t,e))},disconnectedCallback:Yn,forceModeUpdate:t=>{if(e.style&&e.mode&&!e.lazyLoad){const e=Me(t),n=d(t);if(n&&n.k!==e){const o=n.o,s=t["s-sc"],r=Ft(o,e),l=t.constructor.style[e],i=o.u;l&&(x.has(r)||It(r,l,!!(1&i)),n.k=e,t.classList.remove(s+"-h",s+"-s"),Pt(n),Ln(t))}}},forceUpdate:Ln,getAssetPath:t=>{const e=new URL(t,D.N);return e.origin!==M.location.origin?e.href:e.pathname},getElement:Ue,getHostRef:d,getMode:t=>{var e;return null==(e=d(t))?void 0:e.k},getRenderingRef:()=>En,getValue:Hn,h:Vt,insertVdomAnnotations:(t,e)=>{if(null!=t){const n=E in t?t[E]:{...N};n.staticComponents=new Set(e);const o=[];ro(t,t.body,n,o),o.forEach((e=>{var o;if(null!=e&&e["s-nr"]){const s=e["s-nr"];let r=s["s-host-id"],l=s["s-node-id"],i=`${r}.${l}`;if(null==r)if(r=0,n.rootLevelIds++,l=n.rootLevelIds,i=`${r}.${l}`,1===s.nodeType)s.setAttribute(k,i),"string"!=typeof s["s-sn"]||s.getAttribute("slot")||s.setAttribute("s-sn",s["s-sn"]);else if(3===s.nodeType){if(0===r&&""===(null==(o=s.nodeValue)?void 0:o.trim()))return void e.remove();const n=t.createComment(i);n.nodeValue="t."+i,$n(s.parentNode,n,s)}else if(8===s.nodeType){const e=t.createComment(i);e.nodeValue="c."+i,s.parentNode.insertBefore(e,s)}let c="o."+i;const a=e.parentElement;a&&(""===a["s-en"]?c+=".":"c"===a["s-en"]&&(c+=".c")),e.nodeValue=c}}))}},isMemberInElement:m,jsx:so,jsxDEV:function(t,e,n){const o=e||{},{children:s,...r}=o;let l=r;return void 0===n||"key"in r||(l={...r,key:n}),l&&0===Object.keys(l).length&&(l=null),void 0!==s?Array.isArray(s)?Vt(t,l,...s):Vt(t,l,s):Vt(t,l)},jsxs:function(t,e,n){return so(t,e,n)},loadModule:j,modeResolver:O,needsScopedSSR:()=>!1,nextTick:Q,normalizeWatchers:Ae,parsePropertyValue:Fe,plt:D,postUpdateComponent:Tn,promiseResolve:H,proxyComponent:Fn,proxyCustomElement:Jn,readTask:G,registerHost:p,registerInstance:h,render:function(t,e){let n=eo.get(e);n||(n={u:0,o:{u:0,C:e.tagName},$hostElement$:e},eo.set(e,n)),yn(n,t)},renderVdom:yn,setAssetPath:t=>D.N=t,setErrorHandler:t=>a=t,setMode:t=>{O.length=0,O.push(t)},setNonce:to,setPlatformHelpers:t=>{Object.assign(D,t)},setPlatformOptions:t=>Object.assign(D,t),setScopedSSR:()=>{},setTagTransformer:function(t){no&&console.warn("\n A tagTransformer has already been set. \n Overwriting it may lead to error and unexpected results if your components have already been defined.\n "),no=t},setValue:Pn,styles:x,supportsConstructableStylesheets:P,supportsListenerOptions:!0,supportsMutableAdoptedStyleSheets:F,supportsShadow:I,transformTag:oo,win:M,writeTask:Z});export{e as B,A as H,t as N,co as S,Xn as b,y as c,Vt as h,H as p,h as r,to as s,M as w}